vendor: 4,220 bytes, lines 1-9
1var jm=e=>{throw TypeError(e)};var ME=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Mu=(e,t,n)=>t.has(e)||jm("Cannot "+n);var C=(e,t,n)=>(Mu(e,t,"read from private field"),n?n.call(e):t.get(e)),X=(e,t,n)=>t.has(e)?jm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),B=(e,t,n,r)=>(Mu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ae=(e,t,n)=>(Mu(e,t,"access private method"),n);var Wa=(e,t,n,r)=>({set _(s){B(e,t,s,n)},get _(){return C(e,t,r)}});var wF=ME((Tt,Ct)=>{function FE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const o=Object.getOwnPropertyDescriptor(r,s);o&&Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>r[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function kc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var X0={exports:{}},_c={},Z0={exports:{}},ie={};/** 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 wa=Symbol.for("react.element"),$E=Symbol.for("react.portal"),DE=Symbol.for("react.fragment"),LE=Symbol.for("react.strict_mode"),zE=Symbol.for("react.profiler"),UE=Symbol.for("react.provider"),BE=Symbol.for("react.context"),WE=Symbol.for("react.forward_ref"),VE=Symbol.for("react.suspense"),HE=Symbol.for("react.memo"),qE=Symbol.for("react.lazy"),Tm=Symbol.iterator;function KE(e){return e===null||typeof e!="object"?null:(e=Tm&&e[Tm]||e["@@iterator"],typeof e=="function"?e:null)}var J0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ev=Object.assign,tv={};function Qo(e,t,n){this.props=e,this.context=t,this.refs=tv,this.updater=n||J0}Qo.prototype.isReactComponent={};Qo.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")};Qo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function nv(){}nv.prototype=Qo.prototype;function _p(e,t,n){this.props=e,this.context=t,this.refs=tv,this.updater=n||J0}var Rp=_p.prototype=new nv;Rp.constructor=_p;ev(Rp,Qo.prototype);Rp.isPureReactComponent=!0;var Cm=Array.isArray,rv=Object.prototype.hasOwnProperty,Pp={current:null},sv={key:!0,ref:!0,__self:!0,__source:!0};function ov(e,t,n){var r,s={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)rv.call(t,r)&&!sv.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:wa,type:e,key:o,ref:i,props:s,_owner:Pp.current}}function GE(e,t){return{$$typeof:wa,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ap(e){return typeof e=="object"&&e!==null&&e.$$typeof===wa}function QE(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Nm=/\/+/g;function Fu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?QE(""+e.key):t.toString(36)}
vendor: 4,786 bytes, lines 9-17
9function bl(e,t,n,r,s){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case wa:case $E:i=!0}}if(i)return i=e,s=s(i),e=r===""?"."+Fu(i,0):r,Cm(s)?(n="",e!=null&&(n=e.replace(Nm,"$&/")+"/"),bl(s,t,n,"",function(u){return u})):s!=null&&(Ap(s)&&(s=GE(s,n+(!s.key||i&&i.key===s.key?"":(""+s.key).replace(Nm,"$&/")+"/")+e)),t.push(s)),1;if(i=0,r=r===""?".":r+":",Cm(e))for(var a=0;a<e.length;a++){o=e[a];var c=r+Fu(o,a);i+=bl(o,t,n,c,s)}else if(c=KE(e),typeof c=="function")for(e=c.call(e),a=0;!(o=e.next()).done;)o=o.value,c=r+Fu(o,a++),i+=bl(o,t,n,c,s);else if(o==="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 Va(e,t,n){if(e==null)return e;var r=[],s=0;return bl(e,r,"","",function(o){return t.call(n,o,s++)}),r}function YE(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 lt={current:null},El={transition:null},XE={ReactCurrentDispatcher:lt,ReactCurrentBatchConfig:El,ReactCurrentOwner:Pp};function iv(){throw Error("act(...) is not supported in production builds of React.")}ie.Children={map:Va,forEach:function(e,t,n){Va(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Va(e,function(){t++}),t},toArray:function(e){return Va(e,function(t){return t})||[]},only:function(e){if(!Ap(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ie.Component=Qo;ie.Fragment=DE;ie.Profiler=zE;ie.PureComponent=_p;ie.StrictMode=LE;ie.Suspense=VE;ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=XE;ie.act=iv;ie.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=ev({},e.props),s=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=Pp.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(c in t)rv.call(t,c)&&!sv.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:wa,type:e.type,key:s,ref:o,props:r,_owner:i}};ie.createContext=function(e){return e={$$typeof:BE,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:UE,_context:e},e.Consumer=e};ie.createElement=ov;ie.createFactory=function(e){var t=ov.bind(null,e);return t.type=e,t};ie.createRef=function(){return{current:null}};ie.forwardRef=function(e){return{$$typeof:WE,render:e}};ie.isValidElement=Ap;ie.lazy=function(e){return{$$typeof:qE,_payload:{_status:-1,_result:e},_init:YE}};ie.memo=function(e,t){return{$$typeof:HE,type:e,compare:t===void 0?null:t}};ie.startTransition=function(e){var t=El.transition;El.transition={};try{e()}finally{El.transition=t}};ie.unstable_act=iv;ie.useCallback=function(e,t){return lt.current.useCallback(e,t)};ie.useContext=function(e){return lt.current.useContext(e)};ie.useDebugValue=function(){};ie.useDeferredValue=function(e){return lt.current.useDeferredValue(e)};ie.useEffect=function(e,t){return lt.current.useEffect(e,t)};ie.useId=function(){return lt.current.useId()};ie.useImperativeHandle=function(e,t,n){return lt.current.useImperativeHandle(e,t,n)};ie.useInsertionEffect=function(e,t){return lt.current.useInsertionEffect(e,t)};ie.useLayoutEffect=function(e,t){return lt.current.useLayoutEffect(e,t)};ie.useMemo=function(e,t){return lt.current.useMemo(e,t)};ie.useReducer=function(e,t,n){return lt.current.useReducer(e,t,n)};ie.useRef=function(e){return lt.current.useRef(e)};ie.useState=function(e){return lt.current.useState(e)};ie.useSyncExternalStore=function(e,t,n){return lt.current.useSyncExternalStore(e,t,n)};ie.useTransition=function(){return lt.current.useTransition()};ie.version="18.3.1";Z0.exports=ie;var v=Z0.exports;const P=kc(v),Op=FE({__proto__:null,default:P},[v]);/** 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 ZE=v,JE=Symbol.for("react.element"),eS=Symbol.for("react.fragment"),tS=Object.prototype.hasOwnProperty,nS=ZE.__SECRET_INT
vendor: 8,831 bytes, lines 17-33
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,rS={key:!0,ref:!0,__self:!0,__source:!0};function av(e,t,n){var r,s={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)tS.call(t,r)&&!rS.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:JE,type:e,key:o,ref:i,props:s,_owner:nS.current}}_c.Fragment=eS;_c.jsx=av;_c.jsxs=av;X0.exports=_c;var l=X0.exports,lv={exports:{}},Rt={},cv={exports:{}},uv={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(R,O){var z=R.length;R.push(O);e:for(;0<z;){var K=z-1>>>1,W=R[K];if(0<s(W,O))R[K]=O,R[z]=W,z=K;else break e}}function n(R){return R.length===0?null:R[0]}function r(R){if(R.length===0)return null;var O=R[0],z=R.pop();if(z!==O){R[0]=z;e:for(var K=0,W=R.length,ee=W>>>1;K<ee;){var J=2*(K+1)-1,fe=R[J],$e=J+1,ue=R[$e];if(0>s(fe,z))$e<W&&0>s(ue,fe)?(R[K]=ue,R[$e]=z,K=$e):(R[K]=fe,R[J]=z,K=J);else if($e<W&&0>s(ue,z))R[K]=ue,R[$e]=z,K=$e;else break e}}return O}function s(R,O){var z=R.sortIndex-O.sortIndex;return z!==0?z:R.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var c=[],u=[],d=1,f=null,p=3,h=!1,b=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(R){for(var O=n(u);O!==null;){if(O.callback===null)r(u);else if(O.startTime<=R)r(u),O.sortIndex=O.expirationTime,t(c,O);else break;O=n(u)}}function E(R){if(g=!1,w(R),!b)if(n(c)!==null)b=!0,H(S);else{var O=n(u);O!==null&&Q(E,O.startTime-R)}}function S(R,O){b=!1,g&&(g=!1,y(N),N=-1),h=!0;var z=p;try{for(w(O),f=n(c);f!==null&&(!(f.expirationTime>O)||R&&!$());){var K=f.callback;if(typeof K=="function"){f.callback=null,p=f.priorityLevel;var W=K(f.expirationTime<=O);O=e.unstable_now(),typeof W=="function"?f.callback=W:f===n(c)&&r(c),w(O)}else r(c);f=n(c)}if(f!==null)var ee=!0;else{var J=n(u);J!==null&&Q(E,J.startTime-O),ee=!1}return ee}finally{f=null,p=z,h=!1}}var T=!1,j=null,N=-1,I=5,A=-1;function $(){return!(e.unstable_now()-A<I)}function F(){if(j!==null){var R=e.unstable_now();A=R;var O=!0;try{O=j(!0,R)}finally{O?U():(T=!1,j=null)}}else T=!1}var U;if(typeof m=="function")U=function(){m(F)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,Z=D.port2;D.port1.onmessage=F,U=function(){Z.postMessage(null)}}else U=function(){x(F,0)};function H(R){j=R,T||(T=!0,U())}function Q(R,O){N=x(function(){R(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){b||h||(b=!0,H(S))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(R){switch(p){case 1:case 2:case 3:var O=3;break;default:O=p}var z=p;p=O;try{return R()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,O){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var z=p;p=R;try{return O()}finally{p=z}},e.unstable_scheduleCallback=function(R,O,z){var K=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?K+z:K):z=K,R){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=z+W,R={id:d++,callback:O,priorityLevel:R,startTime:z,expirationTime:W,sortIndex:-1},z>K?(R.sortIndex=z,t(u,R),n(c)===null&&R===n(u)&&(g?(y(N),N=-1):g=!0,Q(E,z-K))):(R.sortIndex=W,t(c,R),b||h||(b=!0,H(S))),R},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(R){var O=p;return function(){var z=p;p=O;try{return R.apply(this,arguments)}finally{p=z}}}})(uv);cv.exports=uv;var sS=cv.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 oS=v,_t=sS;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var dv=new Set,Ui={};function Os(e,t){$o(e,t),$o(e+"Capture",t)}function $o(e,t){for(Ui[e]=t,e=0;e<t.length;e++)dv.add(t[e])}var Gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ad=Object.prototype.hasOwnProperty,iS=/^[: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]*$/,km={},_m={};function aS(e){return Ad.call(_m,e)?!0:Ad.call(km,e)?!1:iS.test(e)?_m[e]=!0:(km[e]=!0,!1)}function lS(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 cS(e,t,n,r){if(t===null||typeof t>"u"||lS(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 ct(e,t,n,r,s,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var Qe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Qe[e]=new ct(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Qe[t]=new ct(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Qe[e]=new ct(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Qe[e]=new ct(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){Qe[e]=new ct(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Qe[e]=new ct(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Qe[e]=new ct(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Qe[e]=new ct(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Qe[e]=new ct(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ip=/[\-:]([a-z])/g;function Mp(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ip,Mp);Qe[t]=new ct(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(Ip,Mp);Qe[t]=new ct(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(Ip,Mp);Qe[t]=new ct(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Qe[e]=new ct(e,1,!1,e.toLowerCase(),null,!1,!1)});Qe.xlinkHref=new ct("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Qe[e]=new ct(e,1,!1,e.toLowerCase(),null,!0,!0)});function Fp(e,t,n,r){var s=Qe.hasOwnProperty(t)?Qe[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(cS(t,n,s,r)&&(n=null),r||s===null?aS(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var tr=oS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ha=Symbol.for("react.element"),no=Symbol.for("react.portal"),ro=Symbol.for("react.fragment"),$p=Symbol.for("react.strict_mode"),Od=Symbol.for("react.profiler"),fv=Symbol.for("react.provider"),pv=Symbol.for("react.context"),Dp=Symbol.for("react.forward_ref"),Id=Symbol.for("react.suspense"),Md=Symbol.for("react.suspense_list"),Lp=Symbol.for("react.memo"),hr=Symbol.for("react.lazy"),hv=Symbol.for("react.offscreen"),Rm=Symbol.iterator;function ci(e){return e===null||typeof e!="object"?null:(e=Rm&&e[Rm]||e["@@iterator"],typeof e=="function"?e:null)}var Re=Object.assign,$u;function Ei(e){if($u===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$u=t&&t[1]||""}return` 34`+$u+e}var Du=!1;function Lu(e,t){if(!e||Du)return"";Du=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(` 35`),o=r.stack.split(` 36`),i=s.length-1,a=o.length-1;1<=i&&0<=a&&s[i]!==o[a];)a--;for(;1<=i&&0<=a;i--,a--)if(s[i]!==o[a]){if(i!==1||a!==1)do if(i--,a--,0>a||s[i]!==o[a]){var c=` 37`+s[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{Du=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ei(e):""}function uS(e){switch(e.tag){case 5:return Ei(e.type);case 16:return Ei("Lazy");case 13:return Ei("Suspense");case 19:return Ei("SuspenseList");case 0:case 2:case 15:return e=Lu(e.type,!1),e;case 11:return e=Lu(e.type.render,!1),e;case 1:return e=Lu(e.type,!0),e;default:return""}}function Fd(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ro:return"Fragment";case no:return"Portal";case Od:return"Profiler";case $p:return"StrictMode";case Id:return"Suspense";case Md:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pv:return(e.displayName||"Context")+".Consumer";case fv:return(e._context.displayName||"Context")+".Provider";case Dp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lp:return t=e.displayName||null,t!==null?t:Fd(e.type)||"Memo";case hr:t=e._payload,e=e._init;try{return Fd(e(t))}catch{}}return null}function dS(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 Fd(t);case 8:return t===$p?"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 zr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fS(e){var t=mv(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 s=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(i){r=""+i,o.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 qa(e){e._valueTracker||(e._valueTracker=fS(e))}
vendor: 11,584 bytes, line 37
37function gv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wl(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 $d(e,t){var n=t.checked;return Re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Pm(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=zr(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 yv(e,t){t=t.checked,t!=null&&Fp(e,"checked",t,!1)}function Dd(e,t){yv(e,t);var n=zr(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")?Ld(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ld(e,t.type,zr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Am(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 Ld(e,t,n){(t!=="number"||Wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Si=Array.isArray;function go(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+zr(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function zd(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return Re({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Om(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(Si(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:zr(n)}}function vv(e,t){var n=zr(t.value),r=zr(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 Im(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function xv(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 Ud(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?xv(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ka,wv=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ka=Ka||document.createElement("div"),Ka.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ka.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Bi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ki={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},pS=["Webkit","ms","Moz","O"];Object.keys(ki).forEach(function(e){pS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ki[t]=ki[e]})});function bv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ki.hasOwnProperty(e)&&ki[e]?(""+t).trim():t+"px"}function Ev(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=bv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var hS=Re({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 Bd(e,t){if(t){if(hS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Wd(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 Vd=null;function zp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Hd=null,yo=null,vo=null;function Mm(e){if(e=Sa(e)){if(typeof Hd!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Ic(t),Hd(e.stateNode,e.type,t))}}function Sv(e){yo?vo?vo.push(e):vo=[e]:yo=e}function jv(){if(yo){var e=yo,t=vo;if(vo=yo=null,Mm(e),t)for(e=0;e<t.length;e++)Mm(t[e])}}function Tv(e,t){return e(t)}function Cv(){}var zu=!1;function Nv(e,t,n){if(zu)return e(t,n);zu=!0;try{return Tv(e,t,n)}finally{zu=!1,(yo!==null||vo!==null)&&(Cv(),jv())}}function Wi(e,t){var n=e.stateNode;if(n===null)return null;var r=Ic(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(M(231,t,typeof n));return n}var qd=!1;if(Gn)try{var ui={};Object.defineProperty(ui,"passive",{get:function(){qd=!0}}),window.addEventListener("test",ui,ui),window.removeEventListener("test",ui,ui)}catch{qd=!1}function mS(e,t,n,r,s,o,i,a,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var _i=!1,Vl=null,Hl=!1,Kd=null,gS={onError:function(e){_i=!0,Vl=e}};function yS(e,t,n,r,s,o,i,a,c){_i=!1,Vl=null,mS.apply(gS,arguments)}function vS(e,t,n,r,s,o,i,a,c){if(yS.apply(this,arguments),_i){if(_i){var u=Vl;_i=!1,Vl=null}else throw Error(M(198));Hl||(Hl=!0,Kd=u)}}function Is(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 kv(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Fm(e){if(Is(e)!==e)throw Error(M(188))}function xS(e){var t=e.alternate;if(!t){if(t=Is(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var o=s.alternate;if(o===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===n)return Fm(s),e;if(o===r)return Fm(s),t;o=o.sibling}throw Error(M(188))}if(n.return!==r.return)n=s,r=o;else{for(var i=!1,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){for(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)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function _v(e){return e=xS(e),e!==null?Rv(e):null}function Rv(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Rv(e);if(t!==null)return t;e=e.sibling}return null}var Pv=_t.unstable_scheduleCallback,$m=_t.unstable_cancelCallback,wS=_t.unstable_shouldYield,bS=_t.unstable_requestPaint,Ie=_t.unstable_now,ES=_t.unstable_getCurrentPriorityLevel,Up=_t.unstable_ImmediatePriority,Av=_t.unstable_UserBlockingPriority,ql=_t.unstable_NormalPriority,SS=_t.unstable_LowPriority,Ov=_t.unstable_IdlePriority,Rc=null,Cn=null;function jS(e){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{Cn.onCommitFiberRoot(Rc,e,void 0,(e.current.flags&128)===128)}catch{}}var on=Math.clz32?Math.clz32:NS,TS=Math.log,CS=Math.LN2;function NS(e){return e>>>=0,e===0?32:31-(TS(e)/CS|0)|0}var Ga=64,Qa=4194304;function ji(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 Kl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~s;a!==0?r=ji(a):(o&=i,o!==0&&(r=ji(o)))}else i=n&~s,i!==0?r=ji(i):o!==0&&(r=ji(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,o=t&-t,s>=o||s===16&&(o&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-on(t),s=1<<n,r|=e[n],t&=~s;return r}function kS(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 _S(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-on(o),a=1<<i,c=s[i];c===-1?(!(a&n)||a&r)&&(s[i]=kS(a,t)):c<=t&&(e.expiredLanes|=a),o&=~a}}function Gd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Iv(){var e=Ga;return Ga<<=1,!(Ga&4194240)&&(Ga=64),e}function Uu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ba(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-on(t),e[t]=n}function RS(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 s=31-on(n),o=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~o}}function Bp(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-on(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var he=0;function Mv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}
vendor: 13,900 bytes, line 37
37var Fv,Wp,$v,Dv,Lv,Qd=!1,Ya=[],_r=null,Rr=null,Pr=null,Vi=new Map,Hi=new Map,gr=[],PS="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 Dm(e,t){switch(e){case"focusin":case"focusout":_r=null;break;case"dragenter":case"dragleave":Rr=null;break;case"mouseover":case"mouseout":Pr=null;break;case"pointerover":case"pointerout":Vi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hi.delete(t.pointerId)}}function di(e,t,n,r,s,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[s]},t!==null&&(t=Sa(t),t!==null&&Wp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function AS(e,t,n,r,s){switch(t){case"focusin":return _r=di(_r,e,t,n,r,s),!0;case"dragenter":return Rr=di(Rr,e,t,n,r,s),!0;case"mouseover":return Pr=di(Pr,e,t,n,r,s),!0;case"pointerover":var o=s.pointerId;return Vi.set(o,di(Vi.get(o)||null,e,t,n,r,s)),!0;case"gotpointercapture":return o=s.pointerId,Hi.set(o,di(Hi.get(o)||null,e,t,n,r,s)),!0}return!1}function zv(e){var t=ns(e.target);if(t!==null){var n=Is(t);if(n!==null){if(t=n.tag,t===13){if(t=kv(n),t!==null){e.blockedOn=t,Lv(e.priority,function(){$v(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 Sl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Vd=r,n.target.dispatchEvent(r),Vd=null}else return t=Sa(n),t!==null&&Wp(t),e.blockedOn=n,!1;t.shift()}return!0}function Lm(e,t,n){Sl(e)&&n.delete(t)}function OS(){Qd=!1,_r!==null&&Sl(_r)&&(_r=null),Rr!==null&&Sl(Rr)&&(Rr=null),Pr!==null&&Sl(Pr)&&(Pr=null),Vi.forEach(Lm),Hi.forEach(Lm)}function fi(e,t){e.blockedOn===t&&(e.blockedOn=null,Qd||(Qd=!0,_t.unstable_scheduleCallback(_t.unstable_NormalPriority,OS)))}function qi(e){function t(s){return fi(s,e)}if(0<Ya.length){fi(Ya[0],e);for(var n=1;n<Ya.length;n++){var r=Ya[n];r.blockedOn===e&&(r.blockedOn=null)}}for(_r!==null&&fi(_r,e),Rr!==null&&fi(Rr,e),Pr!==null&&fi(Pr,e),Vi.forEach(t),Hi.forEach(t),n=0;n<gr.length;n++)r=gr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<gr.length&&(n=gr[0],n.blockedOn===null);)zv(n),n.blockedOn===null&&gr.shift()}var xo=tr.ReactCurrentBatchConfig,Gl=!0;function IS(e,t,n,r){var s=he,o=xo.transition;xo.transition=null;try{he=1,Vp(e,t,n,r)}finally{he=s,xo.transition=o}}function MS(e,t,n,r){var s=he,o=xo.transition;xo.transition=null;try{he=4,Vp(e,t,n,r)}finally{he=s,xo.transition=o}}function Vp(e,t,n,r){if(Gl){var s=Yd(e,t,n,r);if(s===null)Xu(e,t,r,Ql,n),Dm(e,r);else if(AS(s,e,t,n,r))r.stopPropagation();else if(Dm(e,r),t&4&&-1<PS.indexOf(e)){for(;s!==null;){var o=Sa(s);if(o!==null&&Fv(o),o=Yd(e,t,n,r),o===null&&Xu(e,t,r,Ql,n),o===s)break;s=o}s!==null&&r.stopPropagation()}else Xu(e,t,r,null,n)}}var Ql=null;function Yd(e,t,n,r){if(Ql=null,e=zp(r),e=ns(e),e!==null)if(t=Is(e),t===null)e=null;else if(n=t.tag,n===13){if(e=kv(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 Ql=e,null}function Uv(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(ES()){case Up:return 1;case Av:return 4;case ql:case SS:return 16;case Ov:return 536870912;default:return 16}default:return 16}}var Cr=null,Hp=null,jl=null;function Bv(){if(jl)return jl;var e,t=Hp,n=t.length,r,s="value"in Cr?Cr.value:Cr.textContent,o=s.length;for(e=0;e<n&&t[e]===s[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===s[o-r];r++);return jl=s.slice(e,1<r?1-r:void 0)}function Tl(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 Xa(){return!0}function zm(){return!1}function Pt(e){function t(n,r,s,o,i){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Xa:zm,this.isPropagationStopped=zm,this}return Re(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=Xa)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Xa)},persist:function(){},isPersistent:Xa}),t}var Yo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qp=Pt(Yo),Ea=Re({},Yo,{view:0,detail:0}),FS=Pt(Ea),Bu,Wu,pi,Pc=Re({},Ea,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kp,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!==pi&&(pi&&e.type==="mousemove"?(Bu=e.screenX-pi.screenX,Wu=e.screenY-pi.screenY):Wu=Bu=0,pi=e),Bu)},movementY:function(e){return"movementY"in e?e.movementY:Wu}}),Um=Pt(Pc),$S=Re({},Pc,{dataTransfer:0}),DS=Pt($S),LS=Re({},Ea,{relatedTarget:0}),Vu=Pt(LS),zS=Re({},Yo,{animationName:0,elapsedTime:0,pseudoElement:0}),US=Pt(zS),BS=Re({},Yo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),WS=Pt(BS),VS=Re({},Yo,{data:0}),Bm=Pt(VS),HS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qS={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"},KS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function GS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=KS[e])?!!t[e]:!1}function Kp(){return GS}var QS=Re({},Ea,{key:function(e){if(e.key){var t=HS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Tl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?qS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kp,charCode:function(e){return e.type==="keypress"?Tl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Tl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),YS=Pt(QS),XS=Re({},Pc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wm=Pt(XS),ZS=Re({},Ea,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kp}),JS=Pt(ZS),ej=Re({},Yo,{propertyName:0,elapsedTime:0,pseudoElement:0}),tj=Pt(ej),nj=Re({},Pc,{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}),rj=Pt(nj),sj=[9,13,27,32],Gp=Gn&&"CompositionEvent"in window,Ri=null;Gn&&"documentMode"in document&&(Ri=document.documentMode);var oj=Gn&&"TextEvent"in window&&!Ri,Wv=Gn&&(!Gp||Ri&&8<Ri&&11>=Ri),Vm=" ",Hm=!1;function Vv(e,t){switch(e){case"keyup":return sj.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var so=!1;function ij(e,t){switch(e){case"compositionend":return Hv(t);case"keypress":return t.which!==32?null:(Hm=!0,Vm);case"textInput":return e=t.data,e===Vm&&Hm?null:e;default:return null}}function aj(e,t){if(so)return e==="compositionend"||!Gp&&Vv(e,t)?(e=Bv(),jl=Hp=Cr=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 Wv&&t.locale!=="ko"?null:t.data;default:return null}}var lj={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 qm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!lj[e.type]:t==="textarea"}function qv(e,t,n,r){Sv(r),t=Yl(t,"onChange"),0<t.length&&(n=new qp("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Pi=null,Ki=null;function cj(e){rx(e,0)}function Ac(e){var t=ao(e);if(gv(t))return e}function uj(e,t){if(e==="change")return t}var Kv=!1;if(Gn){var Hu;if(Gn){var qu="oninput"in document;if(!qu){var Km=document.createElement("div");Km.setAttribute("oninput","return;"),qu=typeof Km.oninput=="function"}Hu=qu}else Hu=!1;Kv=Hu&&(!document.documentMode||9<document.documentMode)}function Gm(){Pi&&(Pi.detachEvent("onpropertychange",Gv),Ki=Pi=null)}function Gv(e){if(e.propertyName==="value"&&Ac(Ki)){var t=[];qv(t,Ki,e,zp(e)),Nv(cj,t)}}function dj(e,t,n){e==="focusin"?(Gm(),Pi=t,Ki=n,Pi.attachEvent("onpropertychange",Gv)):e==="focusout"&&Gm()}function fj(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ac(Ki)}function pj(e,t){if(e==="click")return Ac(t)}function hj(e,t){if(e==="input"||e==="change")return Ac(t)}function mj(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ln=typeof Object.is=="function"?Object.is:mj;function Gi(e,t){if(ln(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 s=n[r];if(!Ad.call(t,s)||!ln(e[s],t[s]))return!1}return!0}function Qm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ym(e,t){var n=Qm(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=Qm(n)}}function Qv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yv(){for(var e=window,t=Wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wl(e.document)}return t}function Qp(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 gj(e){var t=Yv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Qv(n.ownerDocument.documentElement,n)){if(r!==null&&Qp(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 s=n.textContent.length,o=Math.min(r.start,s);r=r.end===void 0?o:Math.min(r.end,s),!e.extend&&o>r&&(s=r,r=o,o=s),s=Ym(n,o);var i=Ym(n,r);s&&i&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),o>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 yj=Gn&&"documentMode"in document&&11>=document.documentMode,oo=null,Xd=null,Ai=null,Zd=!1;function Xm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Zd||oo==null||oo!==Wl(r)||(r=oo,"selectionStart"in r&&Qp(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,352 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Ai&&Gi(Ai,r)||(Ai=r,r=Yl(Xd,"onSelect"),0<r.length&&(t=new qp("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=oo)))}function Za(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var io={animationend:Za("Animation","AnimationEnd"),animationiteration:Za("Animation","AnimationIteration"),animationstart:Za("Animation","AnimationStart"),transitionend:Za("Transition","TransitionEnd")},Ku={},Xv={};Gn&&(Xv=document.createElement("div").style,"AnimationEvent"in window||(delete io.animationend.animation,delete io.animationiteration.animation,delete io.animationstart.animation),"TransitionEvent"in window||delete io.transitionend.transition);function Oc(e){if(Ku[e])return Ku[e];if(!io[e])return e;var t=io[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Xv)return Ku[e]=t[n];return e}var Zv=Oc("animationend"),Jv=Oc("animationiteration"),ex=Oc("animationstart"),tx=Oc("transitionend"),nx=new Map,Zm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Hr(e,t){nx.set(e,t),Os(t,[e])}for(var Gu=0;Gu<Zm.length;Gu++){var Qu=Zm[Gu],vj=Qu.toLowerCase(),xj=Qu[0].toUpperCase()+Qu.slice(1);Hr(vj,"on"+xj)}Hr(Zv,"onAnimationEnd");Hr(Jv,"onAnimationIteration");Hr(ex,"onAnimationStart");Hr("dblclick","onDoubleClick");Hr("focusin","onFocus");Hr("focusout","onBlur");Hr(tx,"onTransitionEnd");$o("onMouseEnter",["mouseout","mouseover"]);$o("onMouseLeave",["mouseout","mouseover"]);$o("onPointerEnter",["pointerout","pointerover"]);$o("onPointerLeave",["pointerout","pointerover"]);Os("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Os("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Os("onBeforeInput",["compositionend","keypress","textInput","paste"]);Os("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Os("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Os("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ti="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(" "),wj=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ti));function Jm(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,vS(r,t,void 0,e),e.currentTarget=null}function rx(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var o=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!==o&&s.isPropagationStopped())break e;Jm(s,a,u),o=c}else for(i=0;i<r.length;i++){if(a=r[i],c=a.instance,u=a.currentTarget,a=a.listener,c!==o&&s.isPropagationStopped())break e;Jm(s,a,u),o=c}}}if(Hl)throw e=Kd,Hl=!1,Kd=null,e}function be(e,t){var n=t[rf];n===void 0&&(n=t[rf]=new Set);var r=e+"__bubble";n.has(r)||(sx(t,e,2,!1),n.add(r))}function Yu(e,t,n){var r=0;t&&(r|=4),sx(n,e,r,t)}var Ja="_reactListening"+Math.random().toString(36).slice(2);function Qi(e){if(!e[Ja]){e[Ja]=!0,dv.forEach(function(n){n!=="selectionchange"&&(wj.has(n)||Yu(n,!1,e),Yu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ja]||(t[Ja]=!0,Yu("selectionchange",!1,t))}}function sx(e,t,n,r){switch(Uv(t)){case 1:var s=IS;break;case 4:s=MS;break;default:s=Vp}n=s.bind(null,t,n,e),s=void 0,!qd||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}
vendor: 2,676 bytes, line 37
37function Xu(e,t,n,r,s){var o=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;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(i===4)for(i=r.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;i=i.return}for(;a!==null;){if(i=ns(a),i===null)return;if(c=i.tag,c===5||c===6){r=o=i;continue e}a=a.parentNode}}r=r.return}Nv(function(){var u=o,d=zp(n),f=[];e:{var p=nx.get(e);if(p!==void 0){var h=qp,b=e;switch(e){case"keypress":if(Tl(n)===0)break e;case"keydown":case"keyup":h=YS;break;case"focusin":b="focus",h=Vu;break;case"focusout":b="blur",h=Vu;break;case"beforeblur":case"afterblur":h=Vu;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=Um;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=DS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=JS;break;case Zv:case Jv:case ex:h=US;break;case tx:h=tj;break;case"scroll":h=FS;break;case"wheel":h=rj;break;case"copy":case"cut":case"paste":h=WS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Wm}var g=(t&4)!==0,x=!g&&e==="scroll",y=g?p!==null?p+"Capture":null:p;g=[];for(var m=u,w;m!==null;){w=m;var E=w.stateNode;if(w.tag===5&&E!==null&&(w=E,y!==null&&(E=Wi(m,y),E!=null&&g.push(Yi(m,E,w)))),x)break;m=m.return}0<g.length&&(p=new h(p,b,null,n,d),f.push({event:p,listeners:g}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&n!==Vd&&(b=n.relatedTarget||n.fromElement)&&(ns(b)||b[Qn]))break e;if((h||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,h?(b=n.relatedTarget||n.toElement,h=u,b=b?ns(b):null,b!==null&&(x=Is(b),b!==x||b.tag!==5&&b.tag!==6)&&(b=null)):(h=null,b=u),h!==b)){if(g=Um,E="onMouseLeave",y="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(g=Wm,E="onPointerLeave",y="onPointerEnter",m="pointer"),x=h==null?p:ao(h),w=b==null?p:ao(b),p=new g(E,m+"leave",h,n,d),p.target=x,p.relatedTarget=w,E=null,ns(d)===u&&(g=new g(y,m+"enter",b,n,d),g.target=w,g.relatedTarget=x,E=g),x=E,h&&b)t:{for(g=h,y=b,m=0,w=g;w;w=Qs(w))m++;for(w=0,E=y;E;E=Qs(E))w++;for(;0<m-w;)g=Qs(g),m--;for(;0<w-m;)y=Qs(y),w--;for(;m--;){if(g===y||y!==null&&g===y.alternate)break t;g=Qs(g),y=Qs(y)}g=null}else g=null;h!==null&&eg(f,p,h,g,!1),b!==null&&x!==null&&eg(f,x,b,g,!0)}}
vendor: 4,435 bytes, lines 37-38
37e:{if(p=u?ao(u):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var S=uj;else if(qm(p))if(Kv)S=hj;else{S=fj;var T=dj}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(S=pj);if(S&&(S=S(e,u))){qv(f,S,n,d);break e}T&&T(e,p,u),e==="focusout"&&(T=p._wrapperState)&&T.controlled&&p.type==="number"&&Ld(p,"number",p.value)}switch(T=u?ao(u):window,e){case"focusin":(qm(T)||T.contentEditable==="true")&&(oo=T,Xd=u,Ai=null);break;case"focusout":Ai=Xd=oo=null;break;case"mousedown":Zd=!0;break;case"contextmenu":case"mouseup":case"dragend":Zd=!1,Xm(f,n,d);break;case"selectionchange":if(yj)break;case"keydown":case"keyup":Xm(f,n,d)}var j;if(Gp)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else so?Vv(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(Wv&&n.locale!=="ko"&&(so||N!=="onCompositionStart"?N==="onCompositionEnd"&&so&&(j=Bv()):(Cr=d,Hp="value"in Cr?Cr.value:Cr.textContent,so=!0)),T=Yl(u,N),0<T.length&&(N=new Bm(N,e,null,n,d),f.push({event:N,listeners:T}),j?N.data=j:(j=Hv(n),j!==null&&(N.data=j)))),(j=oj?ij(e,n):aj(e,n))&&(u=Yl(u,"onBeforeInput"),0<u.length&&(d=new Bm("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=j))}rx(f,t)})}function Yi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Yl(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,o=s.stateNode;s.tag===5&&o!==null&&(s=o,o=Wi(e,n),o!=null&&r.unshift(Yi(e,o,s)),o=Wi(e,t),o!=null&&r.push(Yi(e,o,s))),e=e.return}return r}function Qs(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function eg(e,t,n,r,s){for(var o=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,s?(c=Wi(n,o),c!=null&&i.unshift(Yi(n,c,a))):s||(c=Wi(n,o),c!=null&&i.push(Yi(n,c,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var bj=/\r\n?/g,Ej=/\u0000|\uFFFD/g;function tg(e){return(typeof e=="string"?e:""+e).replace(bj,` 38`).replace(Ej,"")}function el(e,t,n){if(t=tg(t),tg(e)!==t&&n)throw Error(M(425))}function Xl(){}var Jd=null,ef=null;function tf(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 nf=typeof setTimeout=="function"?setTimeout:void 0,Sj=typeof clearTimeout=="function"?clearTimeout:void 0,ng=typeof Promise=="function"?Promise:void 0,jj=typeof queueMicrotask=="function"?queueMicrotask:typeof ng<"u"?function(e){return ng.resolve(null).then(e).catch(Tj)}:nf;function Tj(e){setTimeout(function(){throw e})}function Zu(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),qi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);qi(t)}function Ar(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 rg(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 Xo=Math.random().toString(36).slice(2),Sn="__reactFiber$"+Xo,Xi="__reactProps$"+Xo,Qn="__reactContainer$"+Xo,rf="__reactEvents$"+Xo,Cj="__reactListeners$"+Xo,Nj="__reactHandles$"+Xo;function ns(e){var t=e[Sn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Qn]||n[Sn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=rg(e);e!==null;){if(n=e[Sn])return n;e=rg(e)}return t}e=n,n=e.parentNode}return null}function Sa(e){return e=e[Sn]||e[Qn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ao(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function Ic(e){return e[Xi]||null}var sf=[],lo=-1;function qr(e){return{current:e}}function Se(e){0>lo||(e.current=sf[lo],sf[lo]=null,lo--)}function xe(e,t){lo++,sf[lo]=e.current,e.current=t}var Ur={},tt=qr(Ur),gt=qr(!1),Es=Ur;function Do(e,t){var n=e.type.contextTypes;if(!n)return Ur;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},o;
vendor: 6,837 bytes, line 38
38for(o in n)s[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function yt(e){return e=e.childContextTypes,e!=null}function Zl(){Se(gt),Se(tt)}function sg(e,t,n){if(tt.current!==Ur)throw Error(M(168));xe(tt,t),xe(gt,n)}function ox(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(M(108,dS(e)||"Unknown",s));return Re({},n,r)}function Jl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ur,Es=tt.current,xe(tt,e),xe(gt,gt.current),!0}function og(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=ox(e,t,Es),r.__reactInternalMemoizedMergedChildContext=e,Se(gt),Se(tt),xe(tt,e)):Se(gt),xe(gt,n)}var zn=null,Mc=!1,Ju=!1;function ix(e){zn===null?zn=[e]:zn.push(e)}function kj(e){Mc=!0,ix(e)}function Kr(){if(!Ju&&zn!==null){Ju=!0;var e=0,t=he;try{var n=zn;for(he=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}zn=null,Mc=!1}catch(s){throw zn!==null&&(zn=zn.slice(e+1)),Pv(Up,Kr),s}finally{he=t,Ju=!1}}return null}var co=[],uo=0,ec=null,tc=0,Dt=[],Lt=0,Ss=null,Vn=1,Hn="";function Jr(e,t){co[uo++]=tc,co[uo++]=ec,ec=e,tc=t}function ax(e,t,n){Dt[Lt++]=Vn,Dt[Lt++]=Hn,Dt[Lt++]=Ss,Ss=e;var r=Vn;e=Hn;var s=32-on(r)-1;r&=~(1<<s),n+=1;var o=32-on(t)+s;if(30<o){var i=s-s%5;o=(r&(1<<i)-1).toString(32),r>>=i,s-=i,Vn=1<<32-on(t)+s|n<<s|r,Hn=o+e}else Vn=1<<o|n<<s|r,Hn=e}function Yp(e){e.return!==null&&(Jr(e,1),ax(e,1,0))}function Xp(e){for(;e===ec;)ec=co[--uo],co[uo]=null,tc=co[--uo],co[uo]=null;for(;e===Ss;)Ss=Dt[--Lt],Dt[Lt]=null,Hn=Dt[--Lt],Dt[Lt]=null,Vn=Dt[--Lt],Dt[Lt]=null}var Nt=null,jt=null,Ne=!1,sn=null;function lx(e,t){var n=zt(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 ig(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,Nt=e,jt=Ar(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Nt=e,jt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ss!==null?{id:Vn,overflow:Hn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=zt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Nt=e,jt=null,!0):!1;default:return!1}}function of(e){return(e.mode&1)!==0&&(e.flags&128)===0}function af(e){if(Ne){var t=jt;if(t){var n=t;if(!ig(e,t)){if(of(e))throw Error(M(418));t=Ar(n.nextSibling);var r=Nt;t&&ig(e,t)?lx(r,n):(e.flags=e.flags&-4097|2,Ne=!1,Nt=e)}}else{if(of(e))throw Error(M(418));e.flags=e.flags&-4097|2,Ne=!1,Nt=e}}}function ag(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Nt=e}function tl(e){if(e!==Nt)return!1;if(!Ne)return ag(e),Ne=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!tf(e.type,e.memoizedProps)),t&&(t=jt)){if(of(e))throw cx(),Error(M(418));for(;t;)lx(e,t),t=Ar(t.nextSibling)}if(ag(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){jt=Ar(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}jt=null}}else jt=Nt?Ar(e.stateNode.nextSibling):null;return!0}function cx(){for(var e=jt;e;)e=Ar(e.nextSibling)}function Lo(){jt=Nt=null,Ne=!1}function Zp(e){sn===null?sn=[e]:sn.push(e)}var _j=tr.ReactCurrentBatchConfig;function hi(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var s=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(i){var a=s.refs;i===null?delete a[o]:a[o]=i},t._stringRef=o,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function nl(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function lg(e){var t=e._init;return t(e._payload)}function ux(e){function t(y,m){if(e){var w=y.deletions;w===null?(y.deletions=[m],y.flags|=16):w.push(m)}}function n(y,m){if(!e)return null;for(;m!==null;)t(y,m),m=m.sibling;return null}function r(y,m){for(y=new Map;m!==null;)m.key!==null?y.set(m.key,m):y.set(m.index,m),m=m.sibling;return y}function s(y,m){return y=Fr(y,m),y.index=0,y.sibling=null,y}function o(y,m,w){return y.index=w,e?(w=y.alternate,w!==null?(w=w.index,w<m?(y.flags|=2,m):w):(y.flags|=2,m)):(y.flags|=1048576,m)}function i(y){return e&&y.alternate===null&&(y.flags|=2),y}function a(y,m,w,E){return m===null||m.tag!==6?(m=id(w,y.mode,E),m.return=y,m):(m=s(m,w),m.return=y,m)}function c(y,m,w,E){var S=w.type;return S===ro?d(y,m,w.props.children,E,w.key):m!==null&&(m.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===hr&&lg(S)===m.type)?(E=s(m,w.props),E.ref=hi(y,m,w),E.return=y,E):(E=Al(w.type,w.key,w.props,null,y.mode,E),E.ref=hi(y,m,w),E.return=y,E)}function u(y,m,w,E){return m===null||m.tag!==4||m.stateNode.containerInfo!==w.containerInfo||m.stateNode.implementation!==w.implementation?(m=ad(w,y.mode,E),m.return=y,m):(m=s(m,w.children||[]),m.return=y,m)}function d(y,m,w,E,S){return m===null||m.tag!==7?(m=vs(w,y.mode,E,S),m.return=y,m):(m=s(m,w),m.return=y,m)}function f(y,m,w){if(typeof m=="string"&&m!==""||typeof m=="number")return m=id(""+m,y.mode,w),m.return=y,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Ha:return w=Al(m.type,m.key,m.props,null,y.mode,w),w.ref=hi(y,null,m),w.return=y,w;case no:return m=ad(m,y.mode,w),m.return=y,m;case hr:var E=m._init;return f(y,E(m._payload),w)}if(Si(m)||ci(m))return m=vs(m,y.mode,w,null),m.return=y,m;nl(y,m)}return null}function p(y,m,w,E){var S=m!==null?m.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return S!==null?null:a(y,m,""+w,E);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Ha:return w.key===S?c(y,m,w,E):null;case no:return w.key===S?u(y,m,w,E):null;case hr:return S=w._init,p(y,m,S(w._payload),E)}if(Si(w)||ci(w))return S!==null?null:d(y,m,w,E,null);nl(y,w)}return null}function h(y,m,w,E,S){if(typeof E=="string"&&E!==""||typeof E=="number")return y=y.get(w)||null,a(m,y,""+E,S);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Ha:return y=y.get(E.key===null?w:E.key)||null,c(m,y,E,S);case no:return y=y.get(E.key===null?w:E.key)||null,u(m,y,E,S);case hr:var T=E._init;return h(y,m,w,T(E._payload),S)}if(Si(E)||ci(E))return y=y.get(w)||null,d(m,y,E,S,null);nl(m,E)}return null}function b(y,m,w,E){for(var S=null,T=null,j=m,N=m=0,I=null;j!==null&&N<w.length;N++){j.index>N?(I=j,j=null):I=j.sibling;var A=p(y,j,w[N],E);if(A===null){j===null&&(j=I);break}
vendor: 1,137 bytes, line 38
38e&&j&&A.alternate===null&&t(y,j),m=o(A,m,N),T===null?S=A:T.sibling=A,T=A,j=I}if(N===w.length)return n(y,j),Ne&&Jr(y,N),S;if(j===null){for(;N<w.length;N++)j=f(y,w[N],E),j!==null&&(m=o(j,m,N),T===null?S=j:T.sibling=j,T=j);return Ne&&Jr(y,N),S}for(j=r(y,j);N<w.length;N++)I=h(j,y,N,w[N],E),I!==null&&(e&&I.alternate!==null&&j.delete(I.key===null?N:I.key),m=o(I,m,N),T===null?S=I:T.sibling=I,T=I);return e&&j.forEach(function($){return t(y,$)}),Ne&&Jr(y,N),S}function g(y,m,w,E){var S=ci(w);if(typeof S!="function")throw Error(M(150));if(w=S.call(w),w==null)throw Error(M(151));for(var T=S=null,j=m,N=m=0,I=null,A=w.next();j!==null&&!A.done;N++,A=w.next()){j.index>N?(I=j,j=null):I=j.sibling;var $=p(y,j,A.value,E);if($===null){j===null&&(j=I);break}e&&j&&$.alternate===null&&t(y,j),m=o($,m,N),T===null?S=$:T.sibling=$,T=$,j=I}if(A.done)return n(y,j),Ne&&Jr(y,N),S;if(j===null){for(;!A.done;N++,A=w.next())A=f(y,A.value,E),A!==null&&(m=o(A,m,N),T===null?S=A:T.sibling=A,T=A);return Ne&&Jr(y,N),S}for(j=r(y,j);!A.done;N++,A=w.next())A=h(j,y,N,A.value,E),A!==null&&(e&&A.alternate!==null&&j.delete(A.key===null?N:A.key),m=o(A,m,N),T===null?S=A
vendor: 7,589 bytes, line 38
38:T.sibling=A,T=A);return e&&j.forEach(function(F){return t(y,F)}),Ne&&Jr(y,N),S}function x(y,m,w,E){if(typeof w=="object"&&w!==null&&w.type===ro&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Ha:e:{for(var S=w.key,T=m;T!==null;){if(T.key===S){if(S=w.type,S===ro){if(T.tag===7){n(y,T.sibling),m=s(T,w.props.children),m.return=y,y=m;break e}}else if(T.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===hr&&lg(S)===T.type){n(y,T.sibling),m=s(T,w.props),m.ref=hi(y,T,w),m.return=y,y=m;break e}n(y,T);break}else t(y,T);T=T.sibling}w.type===ro?(m=vs(w.props.children,y.mode,E,w.key),m.return=y,y=m):(E=Al(w.type,w.key,w.props,null,y.mode,E),E.ref=hi(y,m,w),E.return=y,y=E)}return i(y);case no:e:{for(T=w.key;m!==null;){if(m.key===T)if(m.tag===4&&m.stateNode.containerInfo===w.containerInfo&&m.stateNode.implementation===w.implementation){n(y,m.sibling),m=s(m,w.children||[]),m.return=y,y=m;break e}else{n(y,m);break}else t(y,m);m=m.sibling}m=ad(w,y.mode,E),m.return=y,y=m}return i(y);case hr:return T=w._init,x(y,m,T(w._payload),E)}if(Si(w))return b(y,m,w,E);if(ci(w))return g(y,m,w,E);nl(y,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,m!==null&&m.tag===6?(n(y,m.sibling),m=s(m,w),m.return=y,y=m):(n(y,m),m=id(w,y.mode,E),m.return=y,y=m),i(y)):n(y,m)}return x}var zo=ux(!0),dx=ux(!1),nc=qr(null),rc=null,fo=null,Jp=null;function eh(){Jp=fo=rc=null}function th(e){var t=nc.current;Se(nc),e._currentValue=t}function lf(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 wo(e,t){rc=e,Jp=fo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(mt=!0),e.firstContext=null)}function Bt(e){var t=e._currentValue;if(Jp!==e)if(e={context:e,memoizedValue:t,next:null},fo===null){if(rc===null)throw Error(M(308));fo=e,rc.dependencies={lanes:0,firstContext:e}}else fo=fo.next=e;return t}var rs=null;function nh(e){rs===null?rs=[e]:rs.push(e)}function fx(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,nh(t)):(n.next=s.next,s.next=n),t.interleaved=n,Yn(e,r)}function Yn(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 mr=!1;function rh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function px(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 qn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Or(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,de&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Yn(e,n)}return s=r.interleaved,s===null?(t.next=t,nh(r)):(t.next=s.next,s.next=t),r.interleaved=t,Yn(e,n)}function Cl(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,Bp(e,n)}}function cg(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,o=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};o===null?s=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?s=o=t:o=o.next=t}else s=o=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:o,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 sc(e,t,n,r){var s=e.updateQueue;mr=!1;var o=s.firstBaseUpdate,i=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var c=a,u=c.next;c.next=null,i===null?o=u:i.next=u,i=c;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==i&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=c))}if(o!==null){var f=s.baseState;i=0,d=u=c=null,a=o;do{var p=a.lane,h=a.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var b=e,g=a;switch(p=t,h=n,g.tag){case 1:if(b=g.payload,typeof b=="function"){f=b.call(h,f,p);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=g.payload,p=typeof b=="function"?b.call(h,f,p):b,p==null)break e;f=Re({},f,p);break e;case 2:mr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=s.effects,p===null?s.effects=[a]:p.push(a))}else h={eventTime:h,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=h,c=f):d=d.next=h,i|=p;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;p=a,a=p.next,p.next=null,s.lastBaseUpdate=p,s.shared.pending=null}}while(!0);if(d===null&&(c=f),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do i|=s.lane,s=s.next;while(s!==t)}else o===null&&(s.shared.lanes=0);Ts|=i,e.lanes=i,e.memoizedState=f}}function ug(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(M(191,s));s.call(r)}}}var ja={},Nn=qr(ja),Zi=qr(ja),Ji=qr(ja);function ss(e){if(e===ja)throw Error(M(174));return e}function sh(e,t){switch(xe(Ji,t),xe(Zi,e),xe(Nn,ja),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ud(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ud(t,e)}Se(Nn),xe(Nn,t)}function Uo(){Se(Nn),Se(Zi),Se(Ji)}function hx(e){ss(Ji.current);var t=ss(Nn.current),n=Ud(t,e.type);t!==n&&(xe(Zi,e),xe(Nn,n))}function oh(e){Zi.current===e&&(Se(Nn),Se(Zi))}var ke=qr(0);function oc(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 ed=[];function ih(){for(var e=0;e<ed.length;e++)ed[e]._workInProgressVersionPrimary=null;ed.length=0}var Nl=tr.ReactCurrentDispatcher,td=tr.ReactCurrentBatchConfig,js=0,_e=null,De=null,Be=null,ic=!1,Oi=!1,ea=0,Rj=0;function Xe(){throw Error(M(321))}function ah(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ln(e[n],t[n]))return!1;return!0}function lh(e,t,n,r,s,o){if(js=o,_e=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Nl.current=e===null||e.memoizedState===null?Ij:Mj,e=n(r,s),Oi){o=0;do{if(Oi=!1,ea=0,25<=o)throw Error(M(301));o+=1,Be=De=null,t.updateQueue=null,Nl.current=Fj,e=n(r,s)}while(Oi)}if(Nl.current=ac,t=De!==null&&De.next!==null,js=0,Be=De=_e=null,ic=!1,t)throw Error(M(300));return e}function ch(){var e=ea!==0;return ea=0,e}function vn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Be===null?_e.memoizedState=Be=e:Be=Be.next=e,Be}function Wt(){if(De===null){var e=_e.alternate;e=e!==null?e.memoizedState:null}else e=De.next;var t=Be===null?_e.memoizedState:Be.next;if(t!==null)Be=t,De=e;else{if(e===null)throw Error(M(310));De=e,e={memoizedState:De.memoizedState,baseState:De.baseState,baseQueue:De.baseQueue,queue:De.queue,next:null},Be===null?_e.memoizedState=Be=e:Be=Be.next=e}return Be}function ta(e,t){return typeof t=="function"?t(e):t}
vendor: 5,780 bytes, line 38
38function nd(e){var t=Wt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=De,s=r.baseQueue,o=n.pending;if(o!==null){if(s!==null){var i=s.next;s.next=o.next,o.next=i}r.baseQueue=s=o,n.pending=null}if(s!==null){o=s.next,r=r.baseState;var a=i=null,c=null,u=o;do{var d=u.lane;if((js&d)===d)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 f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(a=c=f,i=r):c=c.next=f,_e.lanes|=d,Ts|=d}u=u.next}while(u!==null&&u!==o);c===null?i=r:c.next=a,ln(r,t.memoizedState)||(mt=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do o=s.lane,_e.lanes|=o,Ts|=o,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function rd(e){var t=Wt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,o=t.memoizedState;if(s!==null){n.pending=null;var i=s=s.next;do o=e(o,i.action),i=i.next;while(i!==s);ln(o,t.memoizedState)||(mt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function mx(){}function gx(e,t){var n=_e,r=Wt(),s=t(),o=!ln(r.memoizedState,s);if(o&&(r.memoizedState=s,mt=!0),r=r.queue,uh(xx.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Be!==null&&Be.memoizedState.tag&1){if(n.flags|=2048,na(9,vx.bind(null,n,r,s,t),void 0,null),We===null)throw Error(M(349));js&30||yx(n,t,s)}return s}function yx(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=_e.updateQueue,t===null?(t={lastEffect:null,stores:null},_e.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function vx(e,t,n,r){t.value=n,t.getSnapshot=r,wx(t)&&bx(e)}function xx(e,t,n){return n(function(){wx(t)&&bx(e)})}function wx(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ln(e,n)}catch{return!0}}function bx(e){var t=Yn(e,1);t!==null&&an(t,e,1,-1)}function dg(e){var t=vn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ta,lastRenderedState:e},t.queue=e,e=e.dispatch=Oj.bind(null,_e,e),[t.memoizedState,e]}function na(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=_e.updateQueue,t===null?(t={lastEffect:null,stores:null},_e.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Ex(){return Wt().memoizedState}function kl(e,t,n,r){var s=vn();_e.flags|=e,s.memoizedState=na(1|t,n,void 0,r===void 0?null:r)}function Fc(e,t,n,r){var s=Wt();r=r===void 0?null:r;var o=void 0;if(De!==null){var i=De.memoizedState;if(o=i.destroy,r!==null&&ah(r,i.deps)){s.memoizedState=na(t,n,o,r);return}}_e.flags|=e,s.memoizedState=na(1|t,n,o,r)}function fg(e,t){return kl(8390656,8,e,t)}function uh(e,t){return Fc(2048,8,e,t)}function Sx(e,t){return Fc(4,2,e,t)}function jx(e,t){return Fc(4,4,e,t)}function Tx(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 Cx(e,t,n){return n=n!=null?n.concat([e]):null,Fc(4,4,Tx.bind(null,t,e),n)}function dh(){}function Nx(e,t){var n=Wt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ah(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function kx(e,t){var n=Wt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ah(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _x(e,t,n){return js&21?(ln(n,t)||(n=Iv(),_e.lanes|=n,Ts|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,mt=!0),e.memoizedState=n)}function Pj(e,t){var n=he;he=n!==0&&4>n?n:4,e(!0);var r=td.transition;td.transition={};try{e(!1),t()}finally{he=n,td.transition=r}}function Rx(){return Wt().memoizedState}function Aj(e,t,n){var r=Mr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Px(e))Ax(t,n);else if(n=fx(e,t,n,r),n!==null){var s=at();an(n,e,r,s),Ox(n,t,r)}}function Oj(e,t,n){var r=Mr(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Px(e))Ax(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,a=o(i,n);if(s.hasEagerState=!0,s.eagerState=a,ln(a,i)){var c=t.interleaved;c===null?(s.next=s,nh(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=fx(e,t,s,r),n!==null&&(s=at(),an(n,e,r,s),Ox(n,t,r))}}function Px(e){var t=e.alternate;return e===_e||t!==null&&t===_e}function Ax(e,t){Oi=ic=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ox(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Bp(e,n)}}var ac={readContext:Bt,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useInsertionEffect:Xe,useLayoutEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useMutableSource:Xe,useSyncExternalStore:Xe,useId:Xe,unstable_isNewReconciler:!1},Ij={readContext:Bt,useCallback:function(e,t){return vn().memoizedState=[e,t===void 0?null:t],e},useContext:Bt,useEffect:fg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,kl(4194308,4,Tx.bind(null,t,e),n)},useLayoutEffect:function(e,t){return kl(4194308,4,e,t)},useInsertionEffect:function(e,t){return kl(4,2,e,t)},useMemo:function(e,t){var n=vn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vn();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=Aj.bind(null,_e,e),[r.memoizedState,e]}
vendor: 4,632 bytes, lines 38-40
38,useRef:function(e){var t=vn();return e={current:e},t.memoizedState=e},useState:dg,useDebugValue:dh,useDeferredValue:function(e){return vn().memoizedState=e},useTransition:function(){var e=dg(!1),t=e[0];return e=Pj.bind(null,e[1]),vn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=_e,s=vn();if(Ne){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),We===null)throw Error(M(349));js&30||yx(r,t,n)}s.memoizedState=n;var o={value:n,getSnapshot:t};return s.queue=o,fg(xx.bind(null,r,o,e),[e]),r.flags|=2048,na(9,vx.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=vn(),t=We.identifierPrefix;if(Ne){var n=Hn,r=Vn;n=(r&~(1<<32-on(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ea++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Rj++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Mj={readContext:Bt,useCallback:Nx,useContext:Bt,useEffect:uh,useImperativeHandle:Cx,useInsertionEffect:Sx,useLayoutEffect:jx,useMemo:kx,useReducer:nd,useRef:Ex,useState:function(){return nd(ta)},useDebugValue:dh,useDeferredValue:function(e){var t=Wt();return _x(t,De.memoizedState,e)},useTransition:function(){var e=nd(ta)[0],t=Wt().memoizedState;return[e,t]},useMutableSource:mx,useSyncExternalStore:gx,useId:Rx,unstable_isNewReconciler:!1},Fj={readContext:Bt,useCallback:Nx,useContext:Bt,useEffect:uh,useImperativeHandle:Cx,useInsertionEffect:Sx,useLayoutEffect:jx,useMemo:kx,useReducer:rd,useRef:Ex,useState:function(){return rd(ta)},useDebugValue:dh,useDeferredValue:function(e){var t=Wt();return De===null?t.memoizedState=e:_x(t,De.memoizedState,e)},useTransition:function(){var e=rd(ta)[0],t=Wt().memoizedState;return[e,t]},useMutableSource:mx,useSyncExternalStore:gx,useId:Rx,unstable_isNewReconciler:!1};function en(e,t){if(e&&e.defaultProps){t=Re({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function cf(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Re({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var $c={isMounted:function(e){return(e=e._reactInternals)?Is(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=at(),s=Mr(e),o=qn(r,s);o.payload=t,n!=null&&(o.callback=n),t=Or(e,o,s),t!==null&&(an(t,e,s,r),Cl(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=at(),s=Mr(e),o=qn(r,s);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Or(e,o,s),t!==null&&(an(t,e,s,r),Cl(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=at(),r=Mr(e),s=qn(n,r);s.tag=2,t!=null&&(s.callback=t),t=Or(e,s,r),t!==null&&(an(t,e,r,n),Cl(t,e,r))}};function pg(e,t,n,r,s,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,i):t.prototype&&t.prototype.isPureReactComponent?!Gi(n,r)||!Gi(s,o):!0}function Ix(e,t,n){var r=!1,s=Ur,o=t.contextType;return typeof o=="object"&&o!==null?o=Bt(o):(s=yt(t)?Es:tt.current,r=t.contextTypes,o=(r=r!=null)?Do(e,s):Ur),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=$c,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=o),t}function hg(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&&$c.enqueueReplaceState(t,t.state,null)}function uf(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},rh(e);var o=t.contextType;typeof o=="object"&&o!==null?s.context=Bt(o):(o=yt(t)?Es:tt.current,s.context=Do(e,o)),s.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(cf(e,t,o,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&$c.enqueueReplaceState(s,s.state,null),sc(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Bo(e,t){try{var n="",r=t;do n+=uS(r),r=r.return;while(r);var s=n}catch(o){s=` 39Error generating stack: `+o.message+` 40`+o.stack}return{value:e,source:t,stack:s,digest:null}}function sd(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function df(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var $j=typeof WeakMap=="function"?WeakMap:Map;
vendor: 11,071 bytes, line 40
40function Mx(e,t,n){n=qn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){cc||(cc=!0,bf=r),df(e,t)},n}function Fx(e,t,n){n=qn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){df(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){df(e,t),typeof r!="function"&&(Ir===null?Ir=new Set([this]):Ir.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function mg(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $j;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=Xj.bind(null,e,t,n),t.then(e,e))}function gg(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 yg(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,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=qn(-1,1),t.tag=2,Or(n,t,1))),n.lanes|=1),e)}var Dj=tr.ReactCurrentOwner,mt=!1;function st(e,t,n,r){t.child=e===null?dx(t,null,n,r):zo(t,e.child,n,r)}function vg(e,t,n,r,s){n=n.render;var o=t.ref;return wo(t,s),r=lh(e,t,n,r,o,s),n=ch(),e!==null&&!mt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Xn(e,t,s)):(Ne&&n&&Yp(t),t.flags|=1,st(e,t,r,s),t.child)}function xg(e,t,n,r,s){if(e===null){var o=n.type;return typeof o=="function"&&!xh(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,$x(e,t,o,r,s)):(e=Al(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&s)){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:Gi,n(i,r)&&e.ref===t.ref)return Xn(e,t,s)}return t.flags|=1,e=Fr(o,r),e.ref=t.ref,e.return=t,t.child=e}function $x(e,t,n,r,s){if(e!==null){var o=e.memoizedProps;if(Gi(o,r)&&e.ref===t.ref)if(mt=!1,t.pendingProps=r=o,(e.lanes&s)!==0)e.flags&131072&&(mt=!0);else return t.lanes=e.lanes,Xn(e,t,s)}return ff(e,t,n,r,s)}function Dx(e,t,n){var r=t.pendingProps,s=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},xe(ho,Et),Et|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,xe(ho,Et),Et|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,xe(ho,Et),Et|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,xe(ho,Et),Et|=r;return st(e,t,s,n),t.child}function Lx(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ff(e,t,n,r,s){var o=yt(n)?Es:tt.current;return o=Do(t,o),wo(t,s),n=lh(e,t,n,r,o,s),r=ch(),e!==null&&!mt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Xn(e,t,s)):(Ne&&r&&Yp(t),t.flags|=1,st(e,t,n,s),t.child)}function wg(e,t,n,r,s){if(yt(n)){var o=!0;Jl(t)}else o=!1;if(wo(t,s),t.stateNode===null)_l(e,t),Ix(t,n,r),uf(t,n,r,s),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=Bt(u):(u=yt(n)?Es:tt.current,u=Do(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||c!==u)&&hg(t,i,r,u),mr=!1;var p=t.memoizedState;i.state=p,sc(t,r,i,s),c=t.memoizedState,a!==r||p!==c||gt.current||mr?(typeof d=="function"&&(cf(t,n,d,r),c=t.memoizedState),(a=mr||pg(t,n,a,r,p,c,u))?(f||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,px(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:en(t.type,a),i.props=u,f=t.pendingProps,p=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=Bt(c):(c=yt(n)?Es:tt.current,c=Do(t,c));var h=n.getDerivedStateFromProps;(d=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==f||p!==c)&&hg(t,i,r,c),mr=!1,p=t.memoizedState,i.state=p,sc(t,r,i,s);var b=t.memoizedState;a!==f||p!==b||gt.current||mr?(typeof h=="function"&&(cf(t,n,h,r),b=t.memoizedState),(u=mr||pg(t,n,u,r,p,b,c)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,b,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,b,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),i.props=r,i.state=b,i.context=c,r=u):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return pf(e,t,n,r,o,s)}function pf(e,t,n,r,s,o){Lx(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return s&&og(t,n,!1),Xn(e,t,o);r=t.stateNode,Dj.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=zo(t,e.child,null,o),t.child=zo(t,null,a,o)):st(e,t,a,o),t.memoizedState=r.state,s&&og(t,n,!0),t.child}function zx(e){var t=e.stateNode;t.pendingContext?sg(e,t.pendingContext,t.pendingContext!==t.context):t.context&&sg(e,t.context,!1),sh(e,t.containerInfo)}function bg(e,t,n,r,s){return Lo(),Zp(s),t.flags|=256,st(e,t,n,r),t.child}var hf={dehydrated:null,treeContext:null,retryLane:0};function mf(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ux(e,t,n){var r=t.pendingProps,s=ke.current,o=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),xe(ke,s&1),e===null)return af(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,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=zc(i,r,0,null),e=vs(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=mf(n),t.memoizedState=hf,e):fh(t,i));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return Lj(e,t,i,r,a,s,n);if(o){o=r.fallback,i=t.mode,s=e.child,a=s.sibling;var c={mode:"hidden",children:r.children};return!(i&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Fr(s,c),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?o=Fr(a,o):(o=vs(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?mf(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=hf,r}return o=e.child,e=o.sibling,r=Fr(o,{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 fh(e,t){return t=zc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function rl(e,t,n,r){return r!==null&&Zp(r),zo(t,e.child,null,n),e=fh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Lj(e,t,n,r,s,o,i){if(n)return t.flags&256?(t.flags&=-257,r=sd(Error(M(422))),rl(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,s=t.mode,r=zc({mode:"visible",children:r.children},s,0,null),o=vs(o,s,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&zo(t,e.child,null,i),t.child.memoizedState=mf(i),t.memoizedState=hf,o);if(!(t.mode&1))return rl(e,t,i,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(M(419)),r=sd(o,r,void 0),rl(e,t,i,r)}if(a=(i&e.childLanes)!==0,mt||a){if(r=We,r!==null){switch(i&-i){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|i)?0:s,s!==0&&s!==o.retryLane&&(o.retryLane=s,Yn(e,s),an(r,e,s,-1))}return vh(),r=sd(Error(M(421))),rl(e,t,i,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=Zj.bind(null,e),s._reactRetry=t,null):(e=o.treeContext,jt=Ar(s.nextSibling),Nt=t,Ne=!0,sn=null,e!==null&&(Dt[Lt++]=Vn,Dt[Lt++]=Hn,Dt[Lt++]=Ss,Vn=e.id,Hn=e.overflow,Ss=t),t=fh(t,r.children),t.flags|=4096,t)}function Eg(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),lf(e.return,t,n)}function od(e,t,n,r,s){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=s)}function Bx(e,t,n){var r=t.pendingProps,s=r.revealOrder,o=r.tail;if(st(e,t,r.children,n),r=ke.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&&Eg(e,n,t);else if(e.tag===19)Eg(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(xe(ke,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&oc(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),od(t,!1,s,n,o);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&oc(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}od(t,!0,n,null,o);break;case"together":od(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function _l(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Xn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ts|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=Fr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;
vendor: 4,652 bytes, line 40
40)e=e.sibling,n=n.sibling=Fr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function zj(e,t,n){switch(t.tag){case 3:zx(t),Lo();break;case 5:hx(t);break;case 1:yt(t.type)&&Jl(t);break;case 4:sh(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;xe(nc,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(xe(ke,ke.current&1),t.flags|=128,null):n&t.child.childLanes?Ux(e,t,n):(xe(ke,ke.current&1),e=Xn(e,t,n),e!==null?e.sibling:null);xe(ke,ke.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Bx(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),xe(ke,ke.current),r)break;return null;case 22:case 23:return t.lanes=0,Dx(e,t,n)}return Xn(e,t,n)}var Wx,gf,Vx,Hx;Wx=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}};gf=function(){};Vx=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,ss(Nn.current);var o=null;switch(n){case"input":s=$d(e,s),r=$d(e,r),o=[];break;case"select":s=Re({},s,{value:void 0}),r=Re({},r,{value:void 0}),o=[];break;case"textarea":s=zd(e,s),r=zd(e,r),o=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Xl)}Bd(n,r);var i;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var a=s[u];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ui.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var c=r[u];if(a=s!=null?s[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||(o||(o=[]),o.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,a=a?a.__html:void 0,c!=null&&a!==c&&(o=o||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(o=o||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ui.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&be("scroll",e),o||a===c||(o=[])):(o=o||[]).push(u,c))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};Hx=function(e,t,n,r){n!==r&&(t.flags|=4)};function mi(e,t){if(!Ne)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 Ze(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Uj(e,t,n){var r=t.pendingProps;switch(Xp(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ze(t),null;case 1:return yt(t.type)&&Zl(),Ze(t),null;case 3:return r=t.stateNode,Uo(),Se(gt),Se(tt),ih(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(tl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,sn!==null&&(jf(sn),sn=null))),gf(e,t),Ze(t),null;case 5:oh(t);var s=ss(Ji.current);if(n=t.type,e!==null&&t.stateNode!=null)Vx(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return Ze(t),null}if(e=ss(Nn.current),tl(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Sn]=t,r[Xi]=o,e=(t.mode&1)!==0,n){case"dialog":be("cancel",r),be("close",r);break;case"iframe":case"object":case"embed":be("load",r);break;case"video":case"audio":for(s=0;s<Ti.length;s++)be(Ti[s],r);break;case"source":be("error",r);break;case"img":case"image":case"link":be("error",r),be("load",r);break;case"details":be("toggle",r);break;case"input":Pm(r,o),be("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},be("invalid",r);break;case"textarea":Om(r,o),be("invalid",r)}Bd(n,o),s=null;for(var i in o)if(o.hasOwnProperty(i)){var a=o[i];
vendor: 28,400 bytes, line 40
40i==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&el(r.textContent,a,e),s=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&el(r.textContent,a,e),s=["children",""+a]):Ui.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&be("scroll",r)}switch(n){case"input":qa(r),Am(r,o,!0);break;case"textarea":qa(r),Im(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Xl)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=xv(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[Sn]=t,e[Xi]=r,Wx(e,t,!1,!1),t.stateNode=e;e:{switch(i=Wd(n,r),n){case"dialog":be("cancel",e),be("close",e),s=r;break;case"iframe":case"object":case"embed":be("load",e),s=r;break;case"video":case"audio":for(s=0;s<Ti.length;s++)be(Ti[s],e);s=r;break;case"source":be("error",e),s=r;break;case"img":case"image":case"link":be("error",e),be("load",e),s=r;break;case"details":be("toggle",e),s=r;break;case"input":Pm(e,r),s=$d(e,r),be("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=Re({},r,{value:void 0}),be("invalid",e);break;case"textarea":Om(e,r),s=zd(e,r),be("invalid",e);break;default:s=r}Bd(n,s),a=s;for(o in a)if(a.hasOwnProperty(o)){var c=a[o];o==="style"?Ev(e,c):o==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&wv(e,c)):o==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Bi(e,c):typeof c=="number"&&Bi(e,""+c):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ui.hasOwnProperty(o)?c!=null&&o==="onScroll"&&be("scroll",e):c!=null&&Fp(e,o,c,i))}switch(n){case"input":qa(e),Am(e,r,!1);break;case"textarea":qa(e),Im(e);break;case"option":r.value!=null&&e.setAttribute("value",""+zr(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?go(e,!!r.multiple,o,!1):r.defaultValue!=null&&go(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Xl)}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 Ze(t),null;case 6:if(e&&t.stateNode!=null)Hx(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=ss(Ji.current),ss(Nn.current),tl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Sn]=t,(o=r.nodeValue!==n)&&(e=Nt,e!==null))switch(e.tag){case 3:el(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&el(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Sn]=t,t.stateNode=r}return Ze(t),null;case 13:if(Se(ke),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ne&&jt!==null&&t.mode&1&&!(t.flags&128))cx(),Lo(),t.flags|=98560,o=!1;else if(o=tl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(M(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(M(317));o[Sn]=t}else Lo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ze(t),o=!1}else sn!==null&&(jf(sn),sn=null),o=!0;if(!o)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||ke.current&1?Le===0&&(Le=3):vh())),t.updateQueue!==null&&(t.flags|=4),Ze(t),null);case 4:return Uo(),gf(e,t),e===null&&Qi(t.stateNode.containerInfo),Ze(t),null;case 10:return th(t.type._context),Ze(t),null;case 17:return yt(t.type)&&Zl(),Ze(t),null;case 19:if(Se(ke),o=t.memoizedState,o===null)return Ze(t),null;if(r=(t.flags&128)!==0,i=o.rendering,i===null)if(r)mi(o,!1);else{if(Le!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=oc(e),i!==null){for(t.flags|=128,mi(o,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return xe(ke,ke.current&1|2),t.child}e=e.sibling}o.tail!==null&&Ie()>Wo&&(t.flags|=128,r=!0,mi(o,!1),t.lanes=4194304)}else{if(!r)if(e=oc(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),mi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!Ne)return Ze(t),null}else 2*Ie()-o.renderingStartTime>Wo&&n!==1073741824&&(t.flags|=128,r=!0,mi(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ie(),t.sibling=null,n=ke.current,xe(ke,r?n&1|2:n&1),t):(Ze(t),null);case 22:case 23:return yh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Et&1073741824&&(Ze(t),t.subtreeFlags&6&&(t.flags|=8192)):Ze(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function Bj(e,t){switch(Xp(t),t.tag){case 1:return yt(t.type)&&Zl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Uo(),Se(gt),Se(tt),ih(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return oh(t),null;case 13:if(Se(ke),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Lo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Se(ke),null;case 4:return Uo(),null;case 10:return th(t.type._context),null;case 22:case 23:return yh(),null;case 24:return null;default:return null}}var sl=!1,Je=!1,Wj=typeof WeakSet=="function"?WeakSet:Set,V=null;function po(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ae(e,t,r)}else n.current=null}function yf(e,t,n){try{n()}catch(r){Ae(e,t,r)}}var Sg=!1;function Vj(e,t){if(Jd=Gl,e=Yv(),Qp(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 s=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,a=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||s!==0&&f.nodeType!==3||(a=i+s),f!==o||r!==0&&f.nodeType!==3||(c=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(h=f.firstChild)!==null;)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===s&&(a=i),p===o&&++d===r&&(c=i),(h=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=h}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ef={focusedElem:e,selectionRange:n},Gl=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var g=b.memoizedProps,x=b.memoizedState,y=t.stateNode,m=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:en(t.type,g),x);y.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(E){Ae(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return b=Sg,Sg=!1,b}function Ii(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var o=s.destroy;s.destroy=void 0,o!==void 0&&yf(t,n,o)}s=s.next}while(s!==r)}}function Dc(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 vf(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 qx(e){var t=e.alternate;t!==null&&(e.alternate=null,qx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Sn],delete t[Xi],delete t[rf],delete t[Cj],delete t[Nj])),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 Kx(e){return e.tag===5||e.tag===3||e.tag===4}function jg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Kx(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 xf(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=Xl));else if(r!==4&&(e=e.child,e!==null))for(xf(e,t,n),e=e.sibling;e!==null;)xf(e,t,n),e=e.sibling}function wf(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(wf(e,t,n),e=e.sibling;e!==null;)wf(e,t,n),e=e.sibling}var qe=null,rn=!1;function cr(e,t,n){for(n=n.child;n!==null;)Gx(e,t,n),n=n.sibling}function Gx(e,t,n){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Rc,n)}catch{}switch(n.tag){case 5:Je||po(n,t);case 6:var r=qe,s=rn;qe=null,cr(e,t,n),qe=r,rn=s,qe!==null&&(rn?(e=qe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):qe.removeChild(n.stateNode));break;case 18:qe!==null&&(rn?(e=qe,n=n.stateNode,e.nodeType===8?Zu(e.parentNode,n):e.nodeType===1&&Zu(e,n),qi(e)):Zu(qe,n.stateNode));break;case 4:r=qe,s=rn,qe=n.stateNode.containerInfo,rn=!0,cr(e,t,n),qe=r,rn=s;break;case 0:case 11:case 14:case 15:if(!Je&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var o=s,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&yf(n,t,i),s=s.next}while(s!==r)}cr(e,t,n);break;case 1:if(!Je&&(po(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ae(n,t,a)}cr(e,t,n);break;case 21:cr(e,t,n);break;case 22:n.mode&1?(Je=(r=Je)||n.memoizedState!==null,cr(e,t,n),Je=r):cr(e,t,n);break;default:cr(e,t,n)}}function Tg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Wj),t.forEach(function(r){var s=Jj.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function Yt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var o=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:qe=a.stateNode,rn=!1;break e;case 3:qe=a.stateNode.containerInfo,rn=!0;break e;case 4:qe=a.stateNode.containerInfo,rn=!0;break e}a=a.return}if(qe===null)throw Error(M(160));Gx(o,i,s),qe=null,rn=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){Ae(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Qx(t,e),t=t.sibling}function Qx(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Yt(t,e),gn(e),r&4){try{Ii(3,e,e.return),Dc(3,e)}catch(g){Ae(e,e.return,g)}try{Ii(5,e,e.return)}catch(g){Ae(e,e.return,g)}}break;case 1:Yt(t,e),gn(e),r&512&&n!==null&&po(n,n.return);break;case 5:if(Yt(t,e),gn(e),r&512&&n!==null&&po(n,n.return),e.flags&32){var s=e.stateNode;try{Bi(s,"")}catch(g){Ae(e,e.return,g)}}if(r&4&&(s=e.stateNode,s!=null)){var o=e.memoizedProps,i=n!==null?n.memoizedProps:o,a=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&yv(s,o),Wd(a,i);var u=Wd(a,o);for(i=0;i<c.length;i+=2){var d=c[i],f=c[i+1];d==="style"?Ev(s,f):d==="dangerouslySetInnerHTML"?wv(s,f):d==="children"?Bi(s,f):Fp(s,d,f,u)}switch(a){case"input":Dd(s,o);break;case"textarea":vv(s,o);break;case"select":var p=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!o.multiple;var h=o.value;h!=null?go(s,!!o.multiple,h,!1):p!==!!o.multiple&&(o.defaultValue!=null?go(s,!!o.multiple,o.defaultValue,!0):go(s,!!o.multiple,o.multiple?[]:"",!1))}s[Xi]=o}catch(g){Ae(e,e.return,g)}}break;case 6:if(Yt(t,e),gn(e),r&4){if(e.stateNode===null)throw Error(M(162));s=e.stateNode,o=e.memoizedProps;try{s.nodeValue=o}catch(g){Ae(e,e.return,g)}}break;case 3:if(Yt(t,e),gn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{qi(t.containerInfo)}catch(g){Ae(e,e.return,g)}break;case 4:Yt(t,e),gn(e);break;case 13:Yt(t,e),gn(e),s=e.child,s.flags&8192&&(o=s.memoizedState!==null,s.stateNode.isHidden=o,!o||s.alternate!==null&&s.alternate.memoizedState!==null||(mh=Ie())),r&4&&Tg(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Je=(u=Je)||d,Yt(t,e),Je=u):Yt(t,e),gn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(V=e,d=e.child;d!==null;){for(f=V=d;V!==null;){switch(p=V,h=p.child,p.tag){case 0:case 11:case 14:case 15:Ii(4,p,p.return);break;case 1:po(p,p.return);var b=p.stateNode;if(typeof b.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(g){Ae(r,n,g)}}break;case 5:po(p,p.return);break;case 22:if(p.memoizedState!==null){Ng(f);continue}}h!==null?(h.return=p,V=h):Ng(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{s=f.stateNode,u?(o=s.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,c=f.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=bv("display",i))}catch(g){Ae(e,e.return,g)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(g){Ae(e,e.return,g)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Yt(t,e),gn(e),r&4&&Tg(e);break;case 21:break;default:Yt(t,e),gn(e)}}function gn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Kx(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Bi(s,""),r.flags&=-33);var o=jg(e);wf(e,o,s);break;case 3:case 4:var i=r.stateNode.containerInfo,a=jg(e);xf(e,a,i);break;default:throw Error(M(161))}}catch(c){Ae(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Hj(e,t,n){V=e,Yx(e)}function Yx(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var s=V,o=s.child;if(s.tag===22&&r){var i=s.memoizedState!==null||sl;if(!i){var a=s.alternate,c=a!==null&&a.memoizedState!==null||Je;a=sl;var u=Je;if(sl=i,(Je=c)&&!u)for(V=s;V!==null;)i=V,c=i.child,i.tag===22&&i.memoizedState!==null?kg(s):c!==null?(c.return=i,V=c):kg(s);for(;o!==null;)V=o,Yx(o),o=o.sibling;V=s,sl=a,Je=u}Cg(e)}else s.subtreeFlags&8772&&o!==null?(o.return=s,V=o):Cg(e)}}function Cg(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Je||Dc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Je)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:en(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&ug(t,o,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}ug(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 d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&qi(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}Je||t.flags&512&&vf(t)}catch(p){Ae(t,t.return,p)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function Ng(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function kg(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Dc(4,t)}catch(c){Ae(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(c){Ae(t,s,c)}}var o=t.return;try{vf(t)}catch(c){Ae(t,o,c)}break;case 5:var i=t.return;try{vf(t)}catch(c){Ae(t,i,c)}}}catch(c){Ae(t,t.return,c)}if(t===e){V=null;break}var a=t.sibling;if(a!==null){a.return=t.return,V=a;break}V=t.return}}var qj=Math.ceil,lc=tr.ReactCurrentDispatcher,ph=tr.ReactCurrentOwner,Ut=tr.ReactCurrentBatchConfig,de=0,We=null,Me=null,Ge=0,Et=0,ho=qr(0),Le=0,ra=null,Ts=0,Lc=0,hh=0,Mi=null,ht=null,mh=0,Wo=1/0,Ln=null,cc=!1,bf=null,Ir=null,ol=!1,Nr=null,uc=0,Fi=0,Ef=null,Rl=-1,Pl=0;function at(){return de&6?Ie():Rl!==-1?Rl:Rl=Ie()}function Mr(e){return e.mode&1?de&2&&Ge!==0?Ge&-Ge:_j.transition!==null?(Pl===0&&(Pl=Iv()),Pl):(e=he,e!==0||(e=window.event,e=e===void 0?16:Uv(e.type)),e):1}function an(e,t,n,r){if(50<Fi)throw Fi=0,Ef=null,Error(M(185));ba(e,n,r),(!(de&2)||e!==We)&&(e===We&&(!(de&2)&&(Lc|=n),Le===4&&yr(e,Ge)),vt(e,r),n===1&&de===0&&!(t.mode&1)&&(Wo=Ie()+500,Mc&&Kr()))}function vt(e,t){var n=e.callbackNode;_S(e,t);var r=Kl(e,e===We?Ge:0);if(r===0)n!==null&&$m(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&$m(n),t===1)e.tag===0?kj(_g.bind(null,e)):ix(_g.bind(null,e)),jj(function(){!(de&6)&&Kr()}),n=null;else{switch(Mv(r)){case 1:n=Up;break;case 4:n=Av;break;case 16:n=ql;break;case 536870912:n=Ov;break;default:n=ql}n=s1(n,Xx.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Xx(e,t){if(Rl=-1,Pl=0,de&6)throw Error(M(327));var n=e.callbackNode;if(bo()&&e.callbackNode!==n)return null;var r=Kl(e,e===We?Ge:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=dc(e,r);else{t=r;var s=de;de|=2;var o=Jx();(We!==e||Ge!==t)&&(Ln=null,Wo=Ie()+500,ys(e,t));do try{Qj();break}catch(a){Zx(e,a)}while(!0);eh(),lc.current=o,de=s,Me!==null?t=0:(We=null,Ge=0,t=Le)}if(t!==0){if(t===2&&(s=Gd(e),s!==0&&(r=s,t=Sf(e,s))),t===1)throw n=ra,ys(e,0),yr(e,r),vt(e,Ie()),n;if(t===6)yr(e,r);else{if(s=e.current.alternate,!(r&30)&&!Kj(s)&&(t=dc(e,r),t===2&&(o=Gd(e),o!==0&&(r=o,t=Sf(e,o))),t===1))throw n=ra,ys(e,0),yr(e,r),vt(e,Ie()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:es(e,ht,Ln);break;case 3:if(yr(e,r),(r&130023424)===r&&(t=mh+500-Ie(),10<t)){if(Kl(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){at(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=nf(es.bind(null,e,ht,Ln),t);break}es(e,ht,Ln);break;case 4:if(yr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var i=31-on(r);o=1<<i,i=t[i],i>s&&(s=i),r&=~o}if(r=s,r=Ie()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qj(r/1960))-r,10<r){e.timeoutHandle=nf(es.bind(null,e,ht,Ln),r);break}es(e,ht,Ln);break;case 5:es(e,ht,Ln);break;default:throw Error(M(329))}}}return vt(e,Ie()),e.callbackNode===n?Xx.bind(null,e):null}function Sf(e,t){var n=Mi;return e.current.memoizedState.isDehydrated&&(ys(e,t).flags|=256),e=dc(e,t),e!==2&&(t=ht,ht=n,t!==null&&jf(t)),e}function jf(e){ht===null?ht=e:ht.push.apply(ht,e)}function Kj(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 s=n[r],o=s.getSnapshot;s=s.value;try{if(!ln(o(),s))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 yr(e,t){for(t&=~hh,t&=~Lc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-on(t),r=1<<n;e[n]=-1,t&=~r}}function _g(e){if(de&6)throw Error(M(327));bo();var t=Kl(e,0);if(!(t&1))return vt(e,Ie()),null;var n=dc(e,t);if(e.tag!==0&&n===2){var r=Gd(e);r!==0&&(t=r,n=Sf(e,r))}if(n===1)throw n=ra,ys(e,0),yr(e,t),vt(e,Ie()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,es(e,ht,Ln),vt(e,Ie()),null}function gh(e,t){var n=de;de|=1;try{return e(t)}finally{de=n,de===0&&(Wo=Ie()+500,Mc&&Kr())}}function Cs(e){Nr!==null&&Nr.tag===0&&!(de&6)&&bo();var t=de;de|=1;var n=Ut.transition,r=he;try{if(Ut.transition=null,he=1,e)return e()}finally{he=r,Ut.transition=n,de=t,!(de&6)&&Kr()}}function yh(){Et=ho.current,Se(ho)}function ys(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Sj(n)),Me!==null)for(n=Me.return;n!==null;){var r=n;switch(Xp(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Zl();break;case 3:Uo(),Se(gt),Se(tt),ih();break;case 5:oh(r);break;case 4:Uo();break;case 13:Se(ke);break;case 19:Se(ke);break;case 10:th(r.type._context);break;case 22:case 23:yh()}n=n.return}if(We=e,Me=e=Fr(e.current,null),Ge=Et=t,Le=0,ra=null,hh=Lc=Ts=0,ht=Mi=null,rs!==null){for(t=0;t<rs.length;t++)if(n=rs[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,o=n.pending;if(o!==null){var i=o.next;o.next=s,r.next=i}n.pending=r}rs=null}return e}function Zx(e,t){do{var n=Me;try{if(eh(),Nl.current=ac,ic){for(var r=_e.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}ic=!1}if(js=0,Be=De=_e=null,Oi=!1,ea=0,ph.current=null,n===null||n.return===null){Le=1,ra=t,Me=null;break}e:{var o=e,i=n.return,a=n,c=t;if(t=Ge,a.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=a,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gg(i);if(h!==null){h.flags&=-257,yg(h,i,a,o,t),h.mode&1&&mg(o,u,t),t=h,c=u;var b=t.updateQueue;if(b===null){var g=new Set;g.add(c),t.updateQueue=g}else b.add(c);break e}else{if(!(t&1)){mg(o,u,t),vh();break e}c=Error(M(426))}}else if(Ne&&a.mode&1){var x=gg(i);if(x!==null){!(x.flags&65536)&&(x.flags|=256),yg(x,i,a,o,t),Zp(Bo(c,a));break e}}o=c=Bo(c,a),Le!==4&&(Le=2),Mi===null?Mi=[o]:Mi.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var y=Mx(o,c,t);cg(o,y);break e;case 1:a=c;var m=o.type,w=o.stateNode;if(!(o.flags&128)&&(typeof m.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Ir===null||!Ir.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t;var E=Fx(o,a,t);cg(o,E);break e}}o=o.return}while(o!==null)}t1(n)}catch(S){t=S,Me===n&&n!==null&&(Me=n=n.return);continue}break}while(!0)}function Jx(){var e=lc.current;return lc.current=ac,e===null?ac:e}function vh(){(Le===0||Le===3||Le===2)&&(Le=4),We===null||!(Ts&268435455)&&!(Lc&268435455)||yr(We,Ge)}function dc(e,t){var n=de;de|=2;var r=Jx();(We!==e||Ge!==t)&&(Ln=null,ys(e,t));do try{Gj();break}catch(s){Zx(e,s)}while(!0);if(eh(),de=n,lc.current=r,Me!==null)throw Error(M(261));return We=null,Ge=0,Le}function Gj(){for(;Me!==null;)e1(Me)}function Qj(){for(;Me!==null&&!wS();)e1(Me)}function e1(e){var t=r1(e.alternate,e,Et);e.memoizedProps=e.pendingProps,t===null?t1(e):Me=t,ph.current=null}function t1(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Bj(n,t),n!==null){n.flags&=32767,Me=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Le=6,Me=null;return}}else if(n=Uj(n,t,Et),n!==null){Me=n;return}if(t=t.sibling,t!==null){Me=t;return}Me=t=e}while(t!==null);Le===0&&(Le=5)}function es(e,t,n){var r=he,s=Ut.transition;try{Ut.transition=null,he=1,Yj(e,t,n,r)}finally{Ut.transition=s,he=r}return null}function Yj(e,t,n,r){do bo();while(Nr!==null);if(de&6)throw Error(M(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(RS(e,o),e===We&&(Me=We=null,Ge=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ol||(ol=!0,s1(ql,function(){return bo(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Ut.transition,Ut.transition=null;var i=he;he=1;var a=de;de|=4,ph.current=null,Vj(e,n),Qx(n,e),gj(ef),Gl=!!Jd,ef=Jd=null,e.current=n,Hj(n),bS(),de=a,he=i,Ut.transition=o}else e.current=n;if(ol&&(ol=!1,Nr=e,uc=s),o=e.pendingLanes,o===0&&(Ir=null),jS(n.stateNode),vt(e,Ie()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(cc)throw cc=!1,e=bf,bf=null,e;return uc&1&&e.tag!==0&&bo(),o=e.pendingLanes,o&1?e===Ef?Fi++:(Fi=0,Ef=e):Fi=0,Kr(),null}function bo(){if(Nr!==null){var e=Mv(uc),t=Ut.transition,n=he;try{if(Ut.transition=null,he=16>e?16:e,Nr===null)var r=!1;else{if(e=Nr,Nr=null,uc=0,de&6)throw Error(M(331));var s=de;for(de|=4,V=e.current;V!==null;){var o=V,i=o.child;if(V.flags&16){var a=o.deletions;if(a!==null){for(var c=0;c<a.length;c++){var u=a[c];for(V=u;V!==null;){var d=V;switch(d.tag){case 0:case 11:case 15:Ii(8,d,o)}var f=d.child;if(f!==null)f.return=d,V=f;else for(;V!==null;){d=V;var p=d.sibling,h=d.return;if(qx(d),d===u){V=null;break}if(p!==null){p.return=h,V=p;break}V=h}}}var b=o.alternate;if(b!==null){var g=b.child;if(g!==null){b.child=null;do{var x=g.sibling;g.sibling=null,g=x}while(g!==null)}}V=o}}if(o.subtreeFlags&2064&&i!==null)i.return=o,V=i;else e:for(;V!==null;){if(o=V,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ii(9,o,o.return)}var y=o.sibling;if(y!==null){y.return=o.return,V=y;break e}V=o.return}}var m=e.current;for(V=m;V!==null;){i=V;var w=i.child;if(i.subtreeFlags&2064&&w!==null)w.return=i,V=w;else e:for(i=m;V!==null;){if(a=V,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Dc(9,a)}}catch(S){Ae(a,a.return,S)}if(a===i){V=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,V=E;break e}V=a.return}}if(de=s,Kr(),Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Rc,e)}catch{}r=!0}return r}finally{he=n,Ut.transition=t}}return!1}function Rg(e,t,n){t=Bo(n,t),t=Mx(e,t,1),e=Or(e,t,1),t=at(),e!==null&&(ba(e,1,t),vt(e,t))}function Ae(e,t,n){if(e.tag===3)Rg(e,e,n);else for(;t!==null;){if(t.tag===3){Rg(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ir===null||!Ir.has(r))){e=Bo(n,e),e=Fx(t,e,1),t=Or(t,e,1),e=at(),t!==null&&(ba(t,1,e),vt(t,e));break}}t=t.return}}function Xj(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=at(),e.pingedLanes|=e.suspendedLanes&n,We===e&&(Ge&n)===n&&(Le===4||Le===3&&(Ge&130023424)===Ge&&500>Ie()-mh?ys(e,0):hh|=n),vt(e,t)}function n1(e,t){t===0&&(e.mode&1?(t=Qa,Qa<<=1,!(Qa&130023424)&&(Qa=4194304)):t=1);var n=at();e=Yn(e,t),e!==null&&(ba(e,t,n),vt(e,n))}function Zj(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),n1(e,n)}function Jj(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),n1(e,n)}var r1;r1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||gt.current)mt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return mt=!1,zj(e,t,n);mt=!!(e.flags&131072)}else mt=!1,Ne&&t.flags&1048576&&ax(t,tc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;_l(e,t),e=t.pendingProps;var s=Do(t,tt.current);wo(t,n),s=lh(null,t,r,e,s,n);var o=ch();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,yt(r)?(o=!0,Jl(t)):o=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,rh(t),s.updater=$c,t.stateNode=s,s._reactInternals=t,uf(t,r,e,n),t=pf(null,t,r,!0,o,n)):(t.tag=0,Ne&&o&&Yp(t),st(null,t,s,n),t=t.child),t;case 16:r=t.elementType;
vendor: 4,230 bytes, line 40
40e:{switch(_l(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=tT(r),e=en(r,e),s){case 0:t=ff(null,t,r,e,n);break e;case 1:t=wg(null,t,r,e,n);break e;case 11:t=vg(null,t,r,e,n);break e;case 14:t=xg(null,t,r,en(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:en(r,s),ff(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:en(r,s),wg(e,t,r,s,n);case 3:e:{if(zx(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,s=o.element,px(e,t),sc(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){s=Bo(Error(M(423)),t),t=bg(e,t,r,n,s);break e}else if(r!==s){s=Bo(Error(M(424)),t),t=bg(e,t,r,n,s);break e}else for(jt=Ar(t.stateNode.containerInfo.firstChild),Nt=t,Ne=!0,sn=null,n=dx(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Lo(),r===s){t=Xn(e,t,n);break e}st(e,t,r,n)}t=t.child}return t;case 5:return hx(t),e===null&&af(t),r=t.type,s=t.pendingProps,o=e!==null?e.memoizedProps:null,i=s.children,tf(r,s)?i=null:o!==null&&tf(r,o)&&(t.flags|=32),Lx(e,t),st(e,t,i,n),t.child;case 6:return e===null&&af(t),null;case 13:return Ux(e,t,n);case 4:return sh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=zo(t,null,r,n):st(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:en(r,s),vg(e,t,r,s,n);case 7:return st(e,t,t.pendingProps,n),t.child;case 8:return st(e,t,t.pendingProps.children,n),t.child;case 12:return st(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,o=t.memoizedProps,i=s.value,xe(nc,r._currentValue),r._currentValue=i,o!==null)if(ln(o.value,i)){if(o.children===s.children&&!gt.current){t=Xn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){i=o.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=qn(-1,n&-n),c.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),lf(o.return,n,t),a.lanes|=n;break}c=c.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(M(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),lf(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}st(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,wo(t,n),s=Bt(s),r=r(s),t.flags|=1,st(e,t,r,n),t.child;case 14:return r=t.type,s=en(r,t.pendingProps),s=en(r.type,s),xg(e,t,r,s,n);case 15:return $x(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:en(r,s),_l(e,t),t.tag=1,yt(r)?(e=!0,Jl(t)):e=!1,wo(t,n),Ix(t,r,s),uf(t,r,s,n),pf(null,t,r,!0,e,n);case 19:return Bx(e,t,n);case 22:return Dx(e,t,n)}throw Error(M(156,t.tag))};function s1(e,t){return Pv(e,t)}function eT(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 zt(e,t,n,r){return new eT(e,t,n,r)}function xh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tT(e){if(typeof e=="function")return xh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Dp)return 11;if(e===Lp)return 14}return 2}function Fr(e,t){var n=e.alternate;return n===null?(n=zt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.depen
vendor: 4,128 bytes, line 40
40dencies,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 Al(e,t,n,r,s,o){var i=2;if(r=e,typeof e=="function")xh(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ro:return vs(n.children,s,o,t);case $p:i=8,s|=8;break;case Od:return e=zt(12,n,t,s|2),e.elementType=Od,e.lanes=o,e;case Id:return e=zt(13,n,t,s),e.elementType=Id,e.lanes=o,e;case Md:return e=zt(19,n,t,s),e.elementType=Md,e.lanes=o,e;case hv:return zc(n,s,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fv:i=10;break e;case pv:i=9;break e;case Dp:i=11;break e;case Lp:i=14;break e;case hr:i=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=zt(i,n,t,s),t.elementType=e,t.type=r,t.lanes=o,t}function vs(e,t,n,r){return e=zt(7,e,r,t),e.lanes=n,e}function zc(e,t,n,r){return e=zt(22,e,r,t),e.elementType=hv,e.lanes=n,e.stateNode={isHidden:!1},e}function id(e,t,n){return e=zt(6,e,null,t),e.lanes=n,e}function ad(e,t,n){return t=zt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function nT(e,t,n,r,s){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=Uu(0),this.expirationTimes=Uu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Uu(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function wh(e,t,n,r,s,o,i,a,c){return e=new nT(e,t,n,a,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=zt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},rh(o),e}function rT(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:no,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function o1(e){if(!e)return Ur;e=e._reactInternals;e:{if(Is(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(yt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(yt(n))return ox(e,n,t)}return t}function i1(e,t,n,r,s,o,i,a,c){return e=wh(n,r,!0,e,s,o,i,a,c),e.context=o1(null),n=e.current,r=at(),s=Mr(n),o=qn(r,s),o.callback=t??null,Or(n,o,s),e.current.lanes=s,ba(e,s,r),vt(e,r),e}function Uc(e,t,n,r){var s=t.current,o=at(),i=Mr(s);return n=o1(n),t.context===null?t.context=n:t.pendingContext=n,t=qn(o,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Or(s,t,i),e!==null&&(an(e,s,i,o),Cl(e,s,i)),i}function fc(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 Pg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function bh(e,t){Pg(e,t),(e=e.alternate)&&Pg(e,t)}function sT(){return null}var a1=typeof reportError=="function"?reportError:function(e){console.error(e)};function Eh(e){this._internalRoot=e}Bc.prototype.render=Eh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));Uc(e,t,null,null)};Bc.prototype.unmount=Eh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Cs(function(){Uc(null,e,null,null)}),t[Qn]=null}};function Bc(e){this._internalRoot=e}Bc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Dv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<gr.length&&t!==0&&t<gr[n].priority;n++);gr.splice(n,0,e),n===0&&zv(e)}};function Sh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Wc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ag(){}
vendor: 5,144 bytes, line 40
40function oT(e,t,n,r,s){if(s){if(typeof r=="function"){var o=r;r=function(){var u=fc(i);o.call(u)}}var i=i1(t,r,e,0,null,!1,!1,"",Ag);return e._reactRootContainer=i,e[Qn]=i.current,Qi(e.nodeType===8?e.parentNode:e),Cs(),i}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var a=r;r=function(){var u=fc(c);a.call(u)}}var c=wh(e,0,!1,null,null,!1,!1,"",Ag);return e._reactRootContainer=c,e[Qn]=c.current,Qi(e.nodeType===8?e.parentNode:e),Cs(function(){Uc(t,c,n,r)}),c}function Vc(e,t,n,r,s){var o=n._reactRootContainer;if(o){var i=o;if(typeof s=="function"){var a=s;s=function(){var c=fc(i);a.call(c)}}Uc(t,i,e,s)}else i=oT(n,t,e,s,r);return fc(i)}Fv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ji(t.pendingLanes);n!==0&&(Bp(t,n|1),vt(t,Ie()),!(de&6)&&(Wo=Ie()+500,Kr()))}break;case 13:Cs(function(){var r=Yn(e,1);if(r!==null){var s=at();an(r,e,1,s)}}),bh(e,1)}};Wp=function(e){if(e.tag===13){var t=Yn(e,134217728);if(t!==null){var n=at();an(t,e,134217728,n)}bh(e,134217728)}};$v=function(e){if(e.tag===13){var t=Mr(e),n=Yn(e,t);if(n!==null){var r=at();an(n,e,t,r)}bh(e,t)}};Dv=function(){return he};Lv=function(e,t){var n=he;try{return he=e,t()}finally{he=n}};Hd=function(e,t,n){switch(t){case"input":if(Dd(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 s=Ic(r);if(!s)throw Error(M(90));gv(r),Dd(r,s)}}}break;case"textarea":vv(e,n);break;case"select":t=n.value,t!=null&&go(e,!!n.multiple,t,!1)}};Tv=gh;Cv=Cs;var iT={usingClientEntryPoint:!1,Events:[Sa,ao,Ic,Sv,jv,gh]},gi={findFiberByHostInstance:ns,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},aT={bundleType:gi.bundleType,version:gi.version,rendererPackageName:gi.rendererPackageName,rendererConfig:gi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:tr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=_v(e),e===null?null:e.stateNode},findFiberByHostInstance:gi.findFiberByHostInstance||sT,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 il=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!il.isDisabled&&il.supportsFiber)try{Rc=il.inject(aT),Cn=il}catch{}}Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=iT;Rt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Sh(t))throw Error(M(200));return rT(e,t,null,n)};Rt.createRoot=function(e,t){if(!Sh(e))throw Error(M(299));var n=!1,r="",s=a1;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=wh(e,1,!1,null,null,n,!1,r,s),e[Qn]=t.current,Qi(e.nodeType===8?e.parentNode:e),new Eh(t)};Rt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=_v(t),e=e===null?null:e.stateNode,e};Rt.flushSync=function(e){return Cs(e)};Rt.hydrate=function(e,t,n){if(!Wc(t))throw Error(M(200));return Vc(null,e,t,!0,n)};Rt.hydrateRoot=function(e,t,n){if(!Sh(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,s=!1,o="",i=a1;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=i1(t,null,e,1,n??null,s,!1,o,i),e[Qn]=t.current,Qi(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new Bc(t)};Rt.render=function(e,t,n){if(!Wc(t))throw Error(M(200));return Vc(null,e,t,!1,n)};Rt.unmountComponentAtNode=function(e){if(!Wc(e))throw Error(M(40));return e._reactRootContainer?(Cs(function(){Vc(null,null,e,!1,function(){e._reactRootContainer=null,e[Qn]=null})}),!0):!1};Rt.unstable_batchedUpdates=gh;Rt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Wc(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return Vc(e,t,n,!1,r)};Rt.version="18.3.1-next-f1338f8080-20240426";function l1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l1)}catch(e){console.error(e)}}l1(),lv.exports=Rt;var Zo=lv.exports;const c1=kc(Zo);var u1,Og=Zo;u1=Og.createRoot,Og.hydrateRoot;const lT=1,cT=1e6;let ld=0;function uT(){return ld=(ld+1)%Number.MAX_SAFE_INTEGER,ld.toString()}const cd=new Map,Ig=e=>{if(cd.has(e))return;const t=setTimeout(()=>{cd.delete(e),$i({type:"REMOVE_TOAST",toastId:e})},cT);cd.set(e,t)}
40,dT=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,lT)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Ig(n):e.toasts.forEach(r=>{Ig(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)}}},Ol=[];let Il={toasts:[]};function $i(e){Il=dT(Il,e),Ol.forEach(t=>{t(Il)})}function fT({...e}){const t=uT(),n=s=>$i({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>$i({type:"DISMISS_TOAST",toastId:t});return $i({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function pT(){const[e,t]=v.useState(Il);return v.useEffect(()=>(Ol.push(t),()=>{const n=Ol.indexOf(t);n>-1&&Ol.splice(n,1)}),[e]),{...e,toast:fT,dismiss:n=>$i({type:"DISMISS_TOAST",toastId:n})}}function ve(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function Mg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function d1(...e){return t=>{let n=!1;const r=e.map(s=>{const o=Mg(s,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let s=0;s<r.length;s++){const o=r[s];typeof o=="function"?o():Mg(e[s],null)}}}}function Ye(...e){return v.useCallback(d1(...e),e)}function hT(e,t){const n=v.createContext(t),r=o=>{const{children:i,...a}=o,c=v.useMemo(()=>a,Object.values(a));return l.jsx(n.Provider,{value:c,children:i})};r.displayName=e+"Provider";function s(o){const i=v.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,s]}function Ms(e,t=[]){let n=[];function r(o,i){const a=v.createContext(i),c=n.length;n=[...n,i];const u=f=>{var y;const{scope:p,children:h,...b}=f,g=((y=p==null?void 0:p[e])==null?void 0:y[c])||a,x=v.useMemo(()=>b,Object.values(b));return l.jsx(g.Provider,{value:x,children:h})};u.displayName=o+"Provider";function d(f,p){var g;const h=((g=p==null?void 0:p[e])==null?void 0:g[c])||a,b=v.useContext(h);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[u,d]}const s=()=>{const o=n.map(i=>v.createContext(i));return function(a){const c=(a==null?void 0:a[e])||o;return v.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return s.scopeName=e,[r,mT(s,...t)]}function mT(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(o){const i=r.reduce((a,{useScope:c,scopeName:u})=>{const f=c(o)[`__scope${u}`];return{...a,...f}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function sa(e){const t=yT(e),n=v.forwardRef((r,s)=>{const{children:o,...i}=r,a=v.Children.toArray(o),c=a.find(xT);if(c){const u=c.props.children,d=a.map(f=>f===c?v.Children.count(u)>1?v.Children.only(null):v.isValidElement(u)?u.props.children:null:f);return l.jsx(t,{...i,ref:s,children:v.isValidElement(u)?v.cloneElement(u,void 0,d):null})}return l.jsx(t,{...i,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}var gT=sa("Slot");function yT(e){const t=v.forwardRef((n,r)=>{const{children:s,...o}=n;if(v.isValidElement(s)){const i=bT(s),a=wT(o,s.props);return s.type!==v.Fragment&&(a.ref=r?d1(r,i):i),v.cloneElement(s,a)}return v.Children.count(s)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var f1=Symbol("radix.slottable");function vT(e){const t=({children:n})=>l.jsx(l.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=f1,t}function xT(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===f1}function wT(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...a)=>{const c=o(...a);return s(...a),c}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function bT(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function p1(e){const t=e+"CollectionProvider",[n,r]=Ms(t),[s,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=g=>{const{scope:x,children:y}=g,m=P.useRef(null),w=P.useRef(new Map).current;return l.jsx(s,{scope:x,itemMap:w,collectionRef:m,children:y})};i.displayName=t;const a=e+"CollectionSlot",c=sa(a),u=P.forwardRef((g,x)=>{const{scope:y,children:m}=g,w=o(a,y),E=Ye(x,w.collectionRef);return l.jsx(c,{ref:E,children:m})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=sa(d),h=P.forwardRef((g,x)=>{const{scope:y,children:m,...w}=g,E=P.useRef(null),S=Ye(x,E),T=o(d,y);return P.useEffect(()=>(T.itemMap.set(E,{ref:E,...w}),()=>
vendor: 9,177 bytes, line 40
40void T.itemMap.delete(E))),l.jsx(p,{[f]:"",ref:S,children:m})});h.displayName=d;function b(g){const x=o(e+"CollectionConsumer",g);return P.useCallback(()=>{const m=x.collectionRef.current;if(!m)return[];const w=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(x.itemMap.values()).sort((T,j)=>w.indexOf(T.ref.current)-w.indexOf(j.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:u,ItemSlot:h},b,r]}var ET=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],je=ET.reduce((e,t)=>{const n=sa(`Primitive.${t}`),r=v.forwardRef((s,o)=>{const{asChild:i,...a}=s,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function h1(e,t){e&&Zo.flushSync(()=>e.dispatchEvent(t))}function _n(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ST(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e);v.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var jT="DismissableLayer",Tf="dismissableLayer.update",TT="dismissableLayer.pointerDownOutside",CT="dismissableLayer.focusOutside",Fg,m1=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Hc=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:i,onDismiss:a,...c}=e,u=v.useContext(m1),[d,f]=v.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=v.useState({}),b=Ye(t,j=>f(j)),g=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(x),m=d?g.indexOf(d):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,E=m>=y,S=kT(j=>{const N=j.target,I=[...u.branches].some(A=>A.contains(N));!E||I||(s==null||s(j),i==null||i(j),j.defaultPrevented||a==null||a())},p),T=_T(j=>{const N=j.target;[...u.branches].some(A=>A.contains(N))||(o==null||o(j),i==null||i(j),j.defaultPrevented||a==null||a())},p);return ST(j=>{m===u.layers.size-1&&(r==null||r(j),!j.defaultPrevented&&a&&(j.preventDefault(),a()))},p),v.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Fg=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),$g(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Fg)}},[d,p,n,u]),v.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),$g())},[d,u]),v.useEffect(()=>{const j=()=>h({});return document.addEventListener(Tf,j),()=>document.removeEventListener(Tf,j)},[]),l.jsx(je.div,{...c,ref:b,style:{pointerEvents:w?E?"auto":"none":void 0,...e.style},onFocusCapture:ve(e.onFocusCapture,T.onFocusCapture),onBlurCapture:ve(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:ve(e.onPointerDownCapture,S.onPointerDownCapture)})});Hc.displayName=jT;var NT="DismissableLayerBranch",g1=v.forwardRef((e,t)=>{const n=v.useContext(m1),r=v.useRef(null),s=Ye(t,r);return v.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),l.jsx(je.div,{...e,ref:s})});g1.displayName=NT;function kT(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e),r=v.useRef(!1),s=v.useRef(()=>{});return v.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let c=function(){y1(TT,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function _T(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e),r=v.useRef(!1);return v.useEffect(()=>{const s=o=>{o.target&&!r.current&&y1(CT,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function $g(){const e=new CustomEvent(Tf);document.dispatchEvent(e)}function y1(e,t,n,{discrete:r}){const s=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?h1(s,o):s.dispatchEvent(o)}var RT=Hc,PT=g1,Rn=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},AT="Portal",jh=v.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[s,o]=v.useState(!1);Rn(()=>o(!0),[]);const i=n||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?c1.createPortal(l.jsx(je.div,{...r,ref:t}),i):null});jh.displayName=AT;function OT(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var Fs=e=>{const{present:t,children:n}=e,r=IT(t),s=typeof n=="function"?n({present:r.isPresent}):v.Children.only(n),o=Ye(r.ref,MT(s));return typeof n=="function"||r.isPresent?v.cloneElement(s,{ref:o}):null};Fs.displayName="Presence";function IT(e){const[t,n]=v.useState(),r=v.useRef(null),s=v.useRef(e),o=v.useRef("none"),i=e?"mounted":"unmounted",[a,c]=OT(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const u=al(r.current);o.current=a==="mounted"?u:"none"},[a]),Rn(()=>{const u=r.current,d=s.current;if(d!==e){const p=o.current,h=al(u);e?c("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&p!==h?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),Rn(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=h=>{const g=al(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&g&&(c("ANIMATION_END"),!s.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},p=h=>{h.target===t&&(o.current=al(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:v.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function al(e){return(e==null?void 0:e.animationName)||"none"}function MT(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var FT=Op[" useInsertionEffect ".trim().toString()]||Rn;function Ta({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,o,i]=$T({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:s;{const d=v.useRef(e!==void 0);v.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,r])}const u=v.useCallback(d=>{var f;if(a){const p=DT(d)?d(e):d;p!==e&&((f=i.current)==null||f.call(i,p))}else o(d)},[a,e,o,i]);return[c,u]}function $T({defaultProp:e,onChange:t}){const[n,r]=v.useState(e),s=v.useRef(n),o=v.useRef(t);return FT(()=>{o.current=t},[t]),v.useEffect(()=>{var i;s.current!==n&&((i=o.current)==null||i.call(o,n),s.current=n)},[n,s]),[n,r,o]}function DT(e){return typeof e=="function"}var LT=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),zT="VisuallyHidden",qc=v.forwardRef((e,t)=>l.jsx(je.span,{...e,ref:t,style:{...LT,...e.style}}));qc.displayName=zT;var UT=qc,Th="ToastProvider",[Ch,BT,WT]=p1("Toast"),[v1]=Ms("Toast",[WT]),[VT,Kc]=v1(Th),x1=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:o=50,children:i}=e,[a,c]=v.useState(null),[u,d]=v.useState(0),f=v.useRef(!1),p=v.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Th}\`. Expected non-empty \`string\`.`),l.jsx(Ch.Provider,{scope:t,children:l.jsx(VT,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:o,toastCount:u,viewport:a,onViewportChange:c,onToastAdd:v.useCallback(()=>d(h=>h+1),[]),onToastRemove:v.useCallback(()=>d(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:i})})};x1.displayName=Th;var w1="ToastViewport",HT=["F8"],Cf="toast.viewportPause",Nf="toast.viewportResume",b1=v.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=HT,label:s="Notifications ({hotkey})",...o}=e,i=Kc(w1,n),a=BT(n),c=v.useRef(null),u=v.useRef(null),d=v.useRef(null),f=v.useRef(null),p=Ye(t,f,i.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;v.useEffect(()=>{const x=y=>{var w;r.length!==0&&r.every(E=>y[E]||y.code===E)&&((w=f.current)==null||w.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),v.useEffect(()=>{const x=c.current,y=f.current;if(b&&x&&y){const m=()=>{if(!i.isClosePausedRef.current){const T=new CustomEvent(Cf);y.dispatchEvent(T),i.isClosePausedRef.current=!0}},w=()=>{if(i.isClosePausedRef.current){const T=new CustomEvent(Nf);y.dispatchEvent(T),i.isClosePausedRef.current=!1}},E=T=>{!x.contains(T.relatedTarget)&&w()},S=()=>{x.contains(document.activeElement)||w()};return x.addEventListener("focusin",m),x.addEventListener("focusout",E),x.addEventListener("pointermove",m),x.addEventListener("pointerleave",S),window.addEventListener("blur",m),window.addEventListener("focus",w),()=>{x.removeEventListener("focusin",m),x.removeEventListener("focusout",E),x.removeEventListener("pointermove",m),x.removeEventListener("pointerleave",S),window.removeEventListener("blur",m),window.removeEventListener("focus",w)}}},[b,i.isClosePausedRef]);const g=v.useCallback(({tabbingDirection:x})=>{const m=a().map(w=>{const E=w.ref.current,S=[E,...sC(E)];return x==="forwards"?S:S.reverse()});return(x==="forwards"?m.reverse():m).flat()},[a]);return v.useEffect(()=>{const x=f.current;if(x){const y=m=>{var S,T,j;const w=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!w){const N=document.activeElement,I=m.shiftKey;if(m.target===x&&I){(S=u.current)==null||S.focus();return}const F=g({tabbingDirection:I?"backwards":"forwards"}),U=F.findIndex(D=>D===N);ud(F.slice(U+1))?m.preventDefault():I?(T=u.current)==null||T.focus():(j=d.current)==null||j.focus()}};return x.addEventListener("keydown",y),()=>x.removeEventListener("keydown",y)}},[a,g]),l.jsxs(PT,{ref:c,role:"region","aria-label":s.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&l.jsx(kf,{ref:u,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"forwards"});ud(x)}}),l.jsx(Ch.Slot,{scope:n,children:l.jsx(je.ol,{tabIndex:-1,...o,ref:p})}),b&&l.jsx(kf,{ref:d,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"backwards"});ud(x)}})]})});b1.displayName=w1;var E1="ToastFocusProxy",kf=v.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,o=Kc(E1,n);return l.jsx(qc,{tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const a=i.relatedTarget;!((u=o.viewport)!=null&&u.contains(a))&&r()}})});kf.displayName=E1;var Ca="Toast",qT="toast.swipeStart",KT="toast.swipeMove",GT="toast.swipeCancel",QT="toast.swipeEnd",S1=v.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:o,...i}=e,[a,c]=Ta({prop:r,defaultProp:s??!0,onChange:o,caller:Ca});return l.jsx(Fs,{present:n||a,children:l.jsx(ZT,{open:a,...i,ref:t,onClose:()=>c(!1),onPause:_n(e.onPause),onResume:_n(e.onResume),onSwipeStart:ve(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ve(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:ve(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ve(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});S1.displayName=Ca;var[YT,XT]=v1(Ca,{onClose(){}}),ZT=v.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:s,open:o,onClose:i,onEscapeKeyDown:a,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:h,...b}=e,g=Kc(Ca,n),[x,y]=v.useState(null),m=Ye(t,D=>y(D)),w=v.useRef(null),E=v.useRef(null),S=s||g.duration,T=v.useRef(0),j=v.useRef(S),N=v.useRef(0),{onToastAdd:I,onToastRemove:A}=g,$=_n(()=>{var Z;(x==null?void 0:x.contains(document.activeElement))&&((Z=g.viewport)==null||Z.focus()),i()}),F=v.useCallback(D=>{!D||D===1/0||(window.clearTimeout(N.current),T.current=new Date().getTime(),N.current=window.setTimeout($,D))},[$]);v.useEffect(()=>{const D=g.viewport;if(D){const Z=()=>{F(j.current),u==null||u()},H=()=>{const Q=new Date().getTime()-T.current;j.current=j.current-Q,window.clearTimeout(N.current),c==null||c()};return D.addEventListener(Cf,H),D.addEventListener(Nf,Z),()=>{D.removeEventListener(Cf,H),D.removeEventListener(Nf,Z)}}},[g.viewport,S,c,u,F]),v.useEffect(()=>{o&&!g.isClosePausedRef.current&&F(S)},[o,S,g.isClosePausedRef,F]),v.useEffect(()=>(I(),()=>A()),[I,A]);const U=v.useMemo(()=>x?R1(x):null,[x]);return g.viewport?l.jsxs(l.Fragment,{children:[U&&l.jsx(JT,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:U}),l.jsx(YT,{scope:n,onClose:$,children:Zo.createPortal(l.jsx(Ch.ItemSlot,{scope:n,children:l.jsx(RT,{asChild:!0,onEscapeKeyDown:ve(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||$(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(je.li,{tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":g.swipeDirection,...b,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ve(e.onKeyDown,D=>{D.key==="Escape"&&(a==null||a(D.nativeEvent),D.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:ve(e.onPointerDown,D=>{D.button===0&&(w.current={x:D.clientX,y:D.clientY})}),onPointerMove:ve(e.onPointerMove,D=>{if(!w.current)return;const Z=D.clientX-w.current.x,H=D.clientY-w.current.y,Q=!!E.current,R=["left","right"].includes(g.swipeDirection),O=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,z=R?O(0,Z):0,K=R?0:O(0,H),W=D.pointerType==="touch"?10:2,ee={x:z,y:K},J={originalEvent:D,delta:ee};Q?(E.current=ee,ll(KT,f,J,{discrete:!1})):Dg(ee,g.swipeDirection,W)?(E.current=ee,ll(qT,d,J,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(Z)>W||Math.abs(H)>W)&&(w.current=null)}),onPointerUp:ve(e.onPointerUp,D=>{const Z=E.current,H=D.target;if(H.hasPointerCapture(D.pointerId)&&H.releasePointerCapture(D.pointerId),E.current=null,w.current=null,Z){const Q=D.currentTarget,R={originalEvent:D,delta:Z};Dg(Z,g.swipeDirection,g.swipeThreshold)?ll(QT,h,R,{discrete:!0}):ll(GT,p,R,{discrete:!0}),Q.addEventListener("click",O=>O.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),JT=e=>{const{__scopeToast:t,children:n,...r}=e,s=Kc(Ca,t),[o,i]=v.useState(!1),[a,c]=v.useState(!1);return nC(()=>i(!0)),v.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(jh,{asChild:!0,children:l.jsx(qc,{...r,children:o&&l.jsxs(l.Fragment,{children:[s.label," ",n]})})})},eC="ToastTitle",j1=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(je.div,{...r,ref:t})});j1.displayName=eC;var tC="ToastDescription",T1=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(je.div,{...r,ref:t})});T1.displayName=tC;var C1="ToastAction",N1=v.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?l.jsx(_1,{altText:n,asChild:!0,children:l.jsx(Nh,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${C1}\`. Expected non-empty \`string\`.`),null)});N1.displayName=C1;var k1="ToastClose",Nh=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=XT(k1,n);return l.jsx(_1,{asChild:!0,children:l.jsx(je.button,{type:"button",...r,ref:t,onClick:ve(e.onClick,s.onClose)})})});Nh.displayName=k1;var _1=v.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return l.jsx(je.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function R1(e){const t=[];
vendor: 4,279 bytes, lines 40-65
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),rC(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!s)if(o){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...R1(r))}}),t}function ll(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?h1(s,o):s.dispatchEvent(o)}var Dg=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),o=r>s;return t==="left"||t==="right"?o&&r>n:!o&&s>n};function nC(e=()=>{}){const t=_n(e);Rn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function rC(e){return e.nodeType===e.ELEMENT_NODE}function sC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ud(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var oC=x1,P1=b1,A1=S1,O1=j1,I1=T1,M1=N1,F1=Nh;function $1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=$1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Kn(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=$1(e))&&(r&&(r+=" "),r+=t);return r}const Lg=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,zg=Kn,D1=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return zg(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:o}=t,i=Object.keys(s).map(u=>{const d=n==null?void 0:n[u],f=o==null?void 0:o[u];if(d===null)return null;const p=Lg(d)||Lg(f);return s[u][p]}),a=n&&Object.entries(n).reduce((u,d)=>{let[f,p]=d;return p===void 0||(u[f]=p),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:p,...h}=d;return Object.entries(h).every(b=>{let[g,x]=b;return Array.isArray(x)?x.includes({...o,...a}[g]):{...o,...a}[g]===x})?[...u,f,p]:u},[]);return zg(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 iC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),L1=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var aC={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 lC=v.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:o,iconNode:i,...a},c)=>v.createElement("svg",{ref:c,...aC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:L1("lucide",s),...a},[...i.map(([u,d])=>v.createElement(u,d)),...Array.isArray(o)?o:[o]]));/** 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 ne=(e,t)=>{const n=v.forwardRef(({className:r,...s},o)=>v.createElement(lC,{ref:o,iconNode:t,className:L1(`lucide-${iC(e)}`,r),...s}));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 cC=ne("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
65-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/** 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 uC=ne("ArrowRightLeft",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);/** 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 dC=ne("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 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 Ug=ne("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/** 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 fC=ne("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/** 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 pC=ne("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/** 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 hC=ne("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/** 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 mC=ne("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 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 gC=ne("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/** 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 z1=ne("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 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 Bg=ne("Fingerprint",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}
115],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]);/** 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 yC=ne("Fuel",[["line",{x1:"3",x2:"15",y1:"22",y2:"22",key:"xegly4"}],["line",{x1:"4",x2:"14",y1:"9",y2:"9",key:"xcnuvu"}],["path",{d:"M14 22V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v18",key:"16j0yd"}],["path",{d:"M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 2 2a2 2 0 0 0 2-2V9.83a2 2 0 0 0-.59-1.42L18 5",key:"7cu91f"}]]);/** 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 vC=ne("Gem",[["path",{d:"M6 3h12l4 6-10 13L2 9Z",key:"1pcd5k"}],["path",{d:"M11 3 8 9l4 13 4-13-3-6",key:"1fcu3u"}],["path",{d:"M2 9h20",key:"16fsjt"}]]);/** 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 xC=ne("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** 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 wC=ne("Laptop",[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]]);/** 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 bC=ne("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 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 Wg=ne("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** 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 EC=ne("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"}]]);/** 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 U1=ne("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"}]]);/** 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 SC=ne("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"}]]);/** 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 jC=ne("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** 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 TC=ne("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/** 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 CC=ne("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** 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 NC=ne("PanelsTopLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);/** 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 kC=ne("Percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]);/** 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 _C=ne("Puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);/** 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 RC=ne("Rss",[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]]);/** 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 PC=ne("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** 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 AC=ne("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
205y:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/** 206 * @license lucide-react v0.462.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const _f=ne("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 211 * @license lucide-react v0.462.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const Na=ne("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"}]]);/** 216 * @license lucide-react v0.462.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const kh=ne("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** 221 * @license lucide-react v0.462.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const _h=ne("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"}]]);/** 226 * @license lucide-react v0.462.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const OC=ne("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** 231 * @license lucide-react v0.462.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */const Vg=ne("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/** 236 * @license lucide-react v0.462.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree. 240 */const Rf=ne("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** 241 * @license lucide-react v0.462.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree. 245 */const B1=ne("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/** 246 * @license lucide-react v0.462.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const IC=ne("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/** 251 * @license lucide-react v0.462.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const W1=ne("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}
vendor: 8,865 bytes, lines 255-275
255],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/** 256 * @license lucide-react v0.462.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const MC=ne("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);/** 261 * @license lucide-react v0.462.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const FC=ne("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"}]]);/** 266 * @license lucide-react v0.462.0 - ISC 267 * 268 * This source code is licensed under the ISC license. 269 * See the LICENSE file in the root directory of this source tree. 270 */const pc=ne("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 271 * @license lucide-react v0.462.0 - ISC 272 * 273 * This source code is licensed under the ISC license. 274 * See the LICENSE file in the root directory of this source tree. 275 */const Gc=ne("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Rh="-",$C=e=>{const t=LC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(Rh);return a[0]===""&&a.length!==1&&a.shift(),V1(a,t)||DC(i)},getConflictingClassGroupIds:(i,a)=>{const c=n[i]||[];return a&&r[i]?[...c,...r[i]]:c}}},V1=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?V1(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const o=e.join(Rh);return(i=t.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},Hg=/^\[(.+)\]$/,DC=e=>{if(Hg.test(e)){const t=Hg.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},LC=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return UC(Object.entries(e.classGroups),n).forEach(([o,i])=>{Pf(i,r,o,t)}),r},Pf=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const o=s===""?t:qg(t,s);o.classGroupId=n;return}if(typeof s=="function"){if(zC(s)){Pf(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([o,i])=>{Pf(i,qg(t,o),n,r)})})},qg=(e,t)=>{let n=e;return t.split(Rh).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},zC=e=>e.isThemeGetter,UC=(e,t)=>t?e.map(([n,r])=>{const s=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[t+i,a])):o);return[n,s]}):e,BC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let i=n.get(o);if(i!==void 0)return i;if((i=r.get(o))!==void 0)return s(o,i),i},set(o,i){n.has(o)?n.set(o,i):s(o,i)}}},H1="!",WC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],o=t.length,i=a=>{const c=[];let u=0,d=0,f;for(let x=0;x<a.length;x++){let y=a[x];if(u===0){if(y===s&&(r||a.slice(x,x+o)===t)){c.push(a.slice(d,x)),d=x+o;continue}if(y==="/"){f=x;continue}}y==="["?u++:y==="]"&&u--}const p=c.length===0?a:a.substring(d),h=p.startsWith(H1),b=h?p.substring(1):p,g=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:i}):i},VC=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},HC=e=>({cache:BC(e.cacheSize),parseClassName:WC(e),...$C(e)}),qC=/\s+/,KC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(qC);let a="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:h}=n(u);let b=!!h,g=r(b?p.substring(0,h):p);if(!g){if(!b){a=u+(a.length>0?" "+a:a);continue}if(g=r(p),!g){a=u+(a.length>0?" "+a:a);continue}b=!1}const x=VC(d).join(":"),y=f?x+H1:x,m=y+g;if(o.includes(m))continue;o.push(m);const w=s(g,b);for(let E=0;E<w.length;++E){const S=w[E];o.push(y+S)}a=u+(a.length>0?" "+a:a)}return a};function GC(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=q1(t))&&(r&&(r+=" "),r+=n);return r}const q1=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=q1(e[r]))&&(n&&(n+=" "),n+=t);return n};function QC(e,...t){let n,r,s,o=i;function i(c){const u=t.reduce((d,f)=>f(d),e());return n=HC(u),r=n.cache.get,s=n.cache.set,o=a,a(c)}function a(c){const u=r(c);if(u)return u;const d=KC(c,n);return s(c,d),d}return function(){return o(GC.apply(null,arguments))}}const we=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},K1=/^\[(?:([a-z-]+):)?(.+)\]$/i,YC=/^\d+\/\d+$/,XC=new Set(["px","full","screen"]),ZC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,JC=/\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$/,eN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,tN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Fn=e=>Eo(e)||XC.has(e)||YC.test(e),ur=e=>Jo(e,"length",uN),Eo=e=>!!e&&!Number.isNaN(Number(e)),dd=e=>Jo(e,"number",Eo),yi=e=>!!e&&Number.isInteger(Number(e)),rN=e=>e.endsWith("%")&&Eo(e.slice(0,-1)),se=e=>K1.test(e),dr=e=>ZC.test(e),sN=new Set(["length","size","percentage"]),oN=e=>Jo(e,sN,G1),iN=e=>Jo(e,"position",G1),aN=new Set(["image","url"]),lN=e=>Jo(e,aN,fN),cN=e=>Jo(e,"",dN),vi=()=>!0,Jo=(e,t,n)=>{const r=K1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},uN=e=>JC.test(e)&&!eN.test(e),G1=()=>!1,dN=e=>tN.test(e),fN=e=>nN.test(e),pN=()=>{const e=we("colors"),t=we("spacing"),n=we("blur"),r=we("brightness"),s=we("borderColor"),o=we("borderRadius"),i=we("borderSpacing"),a=we("borderWidth"),c=we("contrast"),u=we("grayscale"),d=we("hueRotate"),f=we("invert"),p=we("gap"),h=we("gradientColorStops"),b=we("gradientColorStopPositions"),g=we("inset"),x=we("margin"),y=we("opacity"),m=we("padding"),w=we("saturate"),E=we("scale"),S=we("sepia"),T=we("skew"),j=we("space"),N=we("translate"),I=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",se,t],F=()=>[se,t],U=()=>["",Fn,ur],D=()=>["auto",Eo,se],Z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",se],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[Eo,se];return{cacheSize:500,separator:":",theme:{colors:[vi],spacing:[Fn,ur],blur:["none","",dr,se],brightness:K(),borderColor:[e],borderRadius:["none","","full",dr,se],borderSpacing:F(),borderWidth:U(),contrast:K(),grayscale:O(),hueRotate:K(),invert:O(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[rN,ur],inset:$(),margin:$(),opacity:K(),padding:F(),saturate:K(),scale:K(),sepia:O(),skew:K(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",se]}],container:["container"],columns:[{columns:[dr]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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:[...Z(),se]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}
vendor: 10,413 bytes, line 275
275],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",yi,se]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",se]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",yi,se]}],"grid-cols":[{"grid-cols":[vi]}],"col-start-end":[{col:["auto",{span:["full",yi,se]},se]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[vi]}],"row-start-end":[{row:["auto",{span:[yi,se]},se]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",se]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",se]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",se,t]}],"min-w":[{"min-w":[se,t,"min","max","fit"]}],"max-w":[{"max-w":[se,t,"none","full","min","max","fit","prose",{screen:[dr]},dr]}],h:[{h:[se,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[se,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[se,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[se,t,"auto","min","max","fit"]}],"font-size":[{text:["base",dr,ur]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",dd]}],"font-family":[{font:[vi]}],"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",se]}],"line-clamp":[{"line-clamp":["none",Eo,dd]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fn,se]}],"list-image":[{"list-image":["none",se]}],"list-style-type":[{list:["none","disc","decimal",se]}],"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:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Fn,ur]}],"underline-offset":[{"underline-offset":["auto",Fn,se]}],"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:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",se]}],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",se]}],"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:[...Z(),iN]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",oN]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},lN]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"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:[...H(),"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]}],"divide-style":[{divide:H()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[Fn,se]}],"outline-w":[{outline:[Fn,ur]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Fn,ur]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",dr,cN]}],"shadow-color":[{shadow:[vi]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...Q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",dr,se]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[w]}],sepia:[{sepia:[S]}],"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":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"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",se]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",se]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",se]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[yi,se]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",se]}],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",se]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"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",se]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Fn,ur,dd]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
275none"]}]},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"]}}},hN=QC(pN);function Te(...e){return hN(Kn(e))}const mN=oC,Q1=v.forwardRef(({className:e,...t},n)=>l.jsx(P1,{ref:n,className:Te("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}));Q1.displayName=P1.displayName;const gN=D1("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"}}),Y1=v.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(A1,{ref:r,className:Te(gN({variant:t}),e),...n}));Y1.displayName=A1.displayName;const yN=v.forwardRef(({className:e,...t},n)=>l.jsx(M1,{ref:n,className:Te("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 hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));yN.displayName=M1.displayName;const X1=v.forwardRef(({className:e,...t},n)=>l.jsx(F1,{ref:n,className:Te("absolute right-2 top-2 rounded-md p-1 text-foreground
275/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(pc,{className:"h-4 w-4"})}));X1.displayName=F1.displayName;const Z1=v.forwardRef(({className:e,...t},n)=>l.jsx(O1,{ref:n,className:Te("text-sm font-semibold",e),...t}));Z1.displayName=O1.displayName;const J1=v.forwardRef(({className:e,...t},n)=>l.jsx(I1,{ref:n,className:Te("text-sm opacity-90",e),...t}));J1.displayName=I1.displayName;function vN(){const{toasts:e}=pT();return l.jsxs(mN,{children:[e.map(function({id:t,title:n,description:r,action:s,...o}){return l.jsxs(Y1,{...o,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(Z1,{children:n}),r&&l.jsx(J1,{children:r})]}),s,l.jsx(X1,{})]},t)}),l.jsx(Q1,{})]})}var Kg=["light","dark"],xN="(prefers-color-scheme: dark)",wN=v.createContext(void 0),bN={setTheme:e=>{},themes:[]},EN=()=>{var e;return(e=v.useContext(wN))!=null?e:bN};v.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:o,value:i,attrs:a,nonce:c})=>{let u=o==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=s?Kg.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(b,g=!1,x=!0)=>{let y=i?i[b]:b,m=g?b+"|| ''":`'${y}'`,w="";return s&&x&&!g&&Kg.includes(b)&&(w+=`d.style.colorScheme = '${b}';`),n==="class"?g||y?w+=`c.add(${m})`:w+="null":y&&(w+=`d[s](n,${m})`),w},h=e?`!function(){${d}${p(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${xN}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${p(i?"x[e]":"e",!0)}}${u?"":"else{"+p(o,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${p(i?"x[e]":"e",!0)}}else{${p(o,!1,!1)};}${f}}catch(t){}}();`;return v.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:h}})});var SN=e=>{switch(e){case"success":return CN;case"info":return kN;case"warning":return NN;case"error":return _N;default:return null}},jN=Array(12).fill(0),TN=({visible:e,className:t})=>P.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},P.createElement("div",{className:"sonner-spinner"},jN.map((n,r)=>P.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),CN=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},P.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"})),NN=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},P.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"})),kN=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},P.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"})),_N=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},P.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"})),RN=P.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"},P.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),P.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),PN=()=>{let[e,t]=P.useState(document.hidden);return P.useEffect(()=>{let n=()=>{t(document.hidden)};
275return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Af=1,AN=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;let{message:r,...s}=t,o=typeof(t==null?void 0:t.id)=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:Af++,i=this.toasts.find(c=>c.id===o),a=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(c=>c.id===o?(this.publish({...c,...t,id:o,title:r}),{...c,...t,id:o,dismissible:a,title:r}):c):this.addToast({title:r,...s,dismissible:a,id:o}),o},this.dismiss=t=>(this.dismissedToasts.add(t),t||this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),this.subscribers.forEach(n=>n({id:t,dismiss:!0})),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));let s=t instanceof Promise?t:t(),o=r!==void 0,i,a=s.then(async u=>{if(i=["resolve",u],P.isValidElement(u))o=!1,this.create({id:r,type:"default",message:u});else if(IN(u)&&!u.ok){o=!1;let d=typeof n.error=="function"?await n.error(`HTTP error! status: ${u.status}`):n.error,f=typeof n.description=="function"?await n.description(`HTTP error! status: ${u.status}`):n.description;this.create({id:r,type:"error",message:d,description:f})}else if(n.success!==void 0){o=!1;let d=typeof n.success=="function"?await n.success(u):n.success,f=typeof n.description=="function"?await n.description(u):n.description;this.create({id:r,type:"success",message:d,description:f})}}).catch(async u=>{if(i=["reject",u],n.error!==void 0){o=!1;let d=typeof n.error=="function"?await n.error(u):n.error,f=typeof n.description=="function"?await n.description(u):n.description;this.create({id:r,type:"error",message:d,description:f})}}).finally(()=>{var u;o&&(this.dismiss(r),r=void 0),(u=n.finally)==null||u.call(n)}),c=()=>new Promise((u,d)=>a.then(()=>i[0]==="reject"?d(i[1]):u(i[1])).catch(d));return typeof r!="string"&&typeof r!="number"?{unwrap:c}:Object.assign(r,{unwrap:c})},this.custom=(t,n)=>{let r=(n==null?void 0:n.id)||Af++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},ft=new AN,ON=(e,t)=>{let n=(t==null?void 0:t.id)||Af++;return ft.addToast({title:e,...t,id:n}),n},IN=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",MN=ON,FN=()=>ft.toasts,$N=()=>ft.getActiveToasts();Object.assign(MN,{success:ft.success,info:ft.info,warning:ft.warning,error:ft.error,custom:ft.custom,message:ft.message,promise:ft.promise,dismiss:ft.dismiss,loading:ft.loading},{getHistory:FN,getToasts:$N});function DN(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))}DN(`: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;
275left: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}
275: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%);
275--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%)} 276`);function cl(e){return e.label!==void 0}var LN=3,zN="32px",UN="16px",Gg=4e3,BN=356,WN=14,VN=20,HN=200;function Xt(...e){return e.filter(Boolean).join(" ")}function qN(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var KN=e=>{var t,n,r,s,o,i,a,c,u,d,f;let{invert:p,toast:h,unstyled:b,interacting:g,setHeights:x,visibleToasts:y,heights:m,index:w,toasts:E,expanded:S,removeToast:T,defaultRichColors:j,closeButton:N,style:I,cancelButtonStyle:A,actionButtonStyle:$,className:F="",descriptionClassName:U="",duration:D,position:Z,gap:H,loadingIcon:Q,expandByDefault:R,classNames:O,icons:z,closeButtonAriaLabel:K="Close toast",pauseWhenPageIsHidden:W}=e,[ee,J]=P.useState(null),[fe,$e]=P.useState(null),[ue,Mn]=P.useState(!1),[Vt,hn]=P.useState(!1),[Ot,rr]=P.useState(!1),[Ht,Hs]=P.useState(!1),[ii,qs]=P.useState(!1),[ai,Qr]=P.useState(0),[mn,Ua]=P.useState(0),Yr=P.useRef(h.duration||D||Gg),_=P.useRef(null),L=P.useRef(null),q=w===0,G=w+1<=y,Y=h.type,oe=h.dismissible!==!1,He=h.className||"",qt=h.descriptionClassName||"",sr=P.useMemo(()=>m.findIndex(te=>te.toastId===h.id)||0,[m,h.id]),li=P.useMemo(()=>{var te;return(te=h.closeButton)!=null?te:N},[h.closeButton,N]),Ba=P.useMemo(()=>h.duration||D||Gg,[h.duration,D]),Ks=P.useRef(0),or=P.useRef(0),bm=P.useRef(0),Gs=P.useRef(null),[PE,AE]=Z.split("-"),Em=P.useMemo(()=>m.reduce((te,ge,Ce)=>Ce>=sr?te:te+ge.height,0),[m,sr]),Sm=PN(),OE=h.invert||p,Iu=Y==="loading";or.current=P.useMemo(()=>
276sr*H+Em,[sr,Em]),P.useEffect(()=>{Yr.current=Ba},[Ba]),P.useEffect(()=>{Mn(!0)},[]),P.useEffect(()=>{let te=L.current;if(te){let ge=te.getBoundingClientRect().height;return Ua(ge),x(Ce=>[{toastId:h.id,height:ge,position:h.position},...Ce]),()=>x(Ce=>Ce.filter(Kt=>Kt.toastId!==h.id))}},[x,h.id]),P.useLayoutEffect(()=>{if(!ue)return;let te=L.current,ge=te.style.height;te.style.height="auto";let Ce=te.getBoundingClientRect().height;te.style.height=ge,Ua(Ce),x(Kt=>Kt.find(Gt=>Gt.toastId===h.id)?Kt.map(Gt=>Gt.toastId===h.id?{...Gt,height:Ce}:Gt):[{toastId:h.id,height:Ce,position:h.position},...Kt])},[ue,h.title,h.description,x,h.id]);let ir=P.useCallback(()=>{hn(!0),Qr(or.current),x(te=>te.filter(ge=>ge.toastId!==h.id)),setTimeout(()=>{T(h)},HN)},[h,T,x,or]);P.useEffect(()=>{if(h.promise&&Y==="loading"||h.duration===1/0||h.type==="loading")return;let te;return S||g||W&&Sm?(()=>{if(bm.current<Ks.current){let ge=new Date().getTime()-Ks.current;Yr.current=Yr.current-ge}bm.current=new Date().getTime()})():Yr.current!==1/0&&(Ks.current=new Date().getTime(),te=setTimeout(()=>{var ge;(ge=h.onAutoClose)==null||ge.call(h,h),ir()},Yr.current)),()=>clearTimeout(te)},[S,g,h,Y,W,Sm,ir]),P.useEffect(()=>{h.delete&&ir()},[ir,h.delete]);function IE(){var te,ge,Ce;return z!=null&&z.loading?P.createElement("div",{className:Xt(O==null?void 0:O.loader,(te=h==null?void 0:h.classNames)==null?void 0:te.loader,"sonner-loader"),"data-visible":Y==="loading"},z.loading):Q?P.createElement("div",{className:Xt(O==null?void 0:O.loader,(ge=h==null?void 0:h.classNames)==null?void 0:ge.loader,"sonner-loader"),"data-visible":Y==="loading"},Q):P.createElement(TN,{className:Xt(O==null?void 0:O.loader,(Ce=h==null?void 0:h.classNames)==null?void 0:Ce.loader),visible:Y==="loading"})}return P.createElement("li",{tabIndex:0,ref:L,className:Xt(F,He,O==null?void 0:O.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,O==null?void 0:O.default,O==null?void 0:O[Y],(n=h==null?void 0:h.classNames)==null?void 0:n[Y]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:j,"data-styled":!(h.jsx||h.unstyled||b),"data-mounted":ue,"data-promise":!!h.promise,"data-swiped":ii,"data-removed":Vt,"data-visible":G,"data-y-position":PE,"data-x-position":AE,"data-index":w,"data-front":q,"data-swiping":Ot,"data-dismissible":oe,"data-type":Y,"data-invert":OE,"data-swipe-out":Ht,"data-swipe-direction":fe,"data-expanded":!!(S||R&&ue),style:{"--index":w,"--toasts-before":w,"--z-index":E.length-w,"--offset":`${Vt?ai:or.current}px`,"--initial-height":R?"auto":`${mn}px`,...I,...h.style},onDragEnd:()=>{rr(!1),J(null),Gs.current=null},onPointerDown:te=>{Iu||!oe||(_.current=new Date,Qr(or.current),te.target.setPointerCapture(te.pointerId),te.target.tagName!=="BUTTON"&&(rr(!0),Gs.current={x:te.clientX,y:te.clientY}))},onPointerUp:()=>{var te,ge,Ce,Kt;if(Ht||!oe)return;Gs.current=null;let Gt=Number(((te=L.current)==null?void 0:te.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ar=Number(((ge=L.current)==null?void 0:ge.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Xr=new Date().getTime()-((Ce=_.current)==null?void 0:Ce.getTime()),Qt=ee==="x"?Gt:ar,lr=Math.abs(Qt)/Xr;if(Math.abs(Qt)>=VN||lr>.11){Qr(or.current),(Kt=h.onDismiss)==null||Kt.call(h,h),$e(ee==="x"?Gt>0?"right":"left":ar>0?"down":"up"),ir(),Hs(!0),qs(!1);return}rr(!1),J(null)},onPointerMove:te=>{var ge,Ce,Kt,Gt;if(!Gs.current||!oe||((ge=window.getSelection())==null?void 0:ge.toString().length)>0)return;let ar=te.clientY-Gs.current.y,Xr=te.clientX-Gs.current.x,Qt=(Ce=e.swipeDirections)!=null?Ce:qN(Z);!ee&&(Math.abs(Xr)>1||Math.abs(ar)>1)&&J(Math.abs(Xr)>Math.abs(ar)?"x":"y");let lr={x:0,y:0};ee==="y"?(Qt.includes("top")||Qt.includes("bottom"))&&(Qt.includes("top")&&ar<0||Qt.includes("bottom")&&ar>0)&&(lr.y=ar):ee==="x"&&(Qt.includes("left")||Qt.includes("right"))&&(Qt.includes("left")&&Xr<0||Qt.includes("right")&&Xr>0)&&(lr.x=Xr),(Math.abs(lr.x)>0||Math.abs(lr.y)>0)&&qs(!0),(Kt=L.current)==null||Kt.style.setProperty("--swipe-amount-x",`${lr.x}px`),(Gt=L.current)==null||Gt.style.setProperty("--swipe-amount-y",`${lr.y}px`)}},li&&!h.jsx?P.createElement("button",{"aria-label":K,"data-disabled":Iu,"data-close-button":!0,onClick:Iu||!oe?()=>{}:()=>{var te;ir(),(te=h.onDismiss)==null||te.call(h,h)},className:Xt(O==null?void 0:O.closeButton,(s=h==null?void 0:h.classNames)==null?void 0:s.closeButton)},(o=z==null?void 0:z.close)!=null?o:RN):null,h.jsx||v.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:P.createElement(P.Fragment,null,Y||h.icon||h.promise?P.createElement("div",{"data-icon":"",className:Xt(O==null?void 0:O.icon,(i=h==null?void 0:h.classNames)==null?void 0:i.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||IE():null,h.type!=="loading"?h.icon||(z==null?void 0:z[Y])||SN(Y):null):null,P.createElement("div",{"data-content":"",className:Xt(O==null?void 0:O.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},P.createElement("div",{"data-title":"",className:Xt(O==null?void 0:O.title,(c=h==null?void 0:h.classNames)==null?void 0:c.title)},typeof h.title=="function"?h.title():h.title),h.description?P.createElement("div",{"data-description":"",className:Xt(U,qt,O==null?void 0:O.de
276scription,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),v.isValidElement(h.cancel)?h.cancel:h.cancel&&cl(h.cancel)?P.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||A,onClick:te=>{var ge,Ce;cl(h.cancel)&&oe&&((Ce=(ge=h.cancel).onClick)==null||Ce.call(ge,te),ir())},className:Xt(O==null?void 0:O.cancelButton,(d=h==null?void 0:h.classNames)==null?void 0:d.cancelButton)},h.cancel.label):null,v.isValidElement(h.action)?h.action:h.action&&cl(h.action)?P.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||$,onClick:te=>{var ge,Ce;cl(h.action)&&((Ce=(ge=h.action).onClick)==null||Ce.call(ge,te),!te.defaultPrevented&&ir())},className:Xt(O==null?void 0:O.actionButton,(f=h==null?void 0:h.classNames)==null?void 0:f.actionButton)},h.action.label):null))};function Qg(){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 GN(e,t){let n={};return[e,t].forEach((r,s)=>{let o=s===1,i=o?"--mobile-offset":"--offset",a=o?UN:zN;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${i}-${d}`]=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 QN=v.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:o,closeButton:i,className:a,offset:c,mobileOffset:u,theme:d="light",richColors:f,duration:p,style:h,visibleToasts:b=LN,toastOptions:g,dir:x=Qg(),gap:y=WN,loadingIcon:m,icons:w,containerAriaLabel:E="Notifications",pauseWhenPageIsHidden:S}=e,[T,j]=P.useState([]),N=P.useMemo(()=>Array.from(new Set([r].concat(T.filter(W=>W.position).map(W=>W.position)))),[T,r]),[I,A]=P.useState([]),[$,F]=P.useState(!1),[U,D]=P.useState(!1),[Z,H]=P.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Q=P.useRef(null),R=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),O=P.useRef(null),z=P.useRef(!1),K=P.useCallback(W=>{j(ee=>{var J;return(J=ee.find(fe=>fe.id===W.id))!=null&&J.delete||ft.dismiss(W.id),ee.filter(({id:fe})=>fe!==W.id)})},[]);return P.useEffect(()=>ft.subscribe(W=>{if(W.dismiss){j(ee=>ee.map(J=>J.id===W.id?{...J,delete:!0}:J));return}setTimeout(()=>{c1.flushSync(()=>{j(ee=>{let J=ee.findIndex(fe=>fe.id===W.id);return J!==-1?[...ee.slice(0,J),{...ee[J],...W},...ee.slice(J+1)]:[W,...ee]})})})}),[]),P.useEffect(()=>{if(d!=="system"){H(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light")),typeof window>"u")return;let W=window.matchMedia("(prefers-color-scheme: dark)");try{W.addEventListener("change",({matches:ee})=>{H(ee?"dark":"light")})}catch{W.addListener(({matches:J})=>{try{H(J?"dark":"light")}catch(fe){console.error(fe)}})}},[d]),P.useEffect(()=>{T.length<=1&&F(!1)},[T]),P.useEffect(()=>{let W=ee=>{var J,fe;s.every($e=>ee[$e]||ee.code===$e)&&(F(!0),(J=Q.current)==null||J.focus()),ee.code==="Escape"&&(document.activeElement===Q.current||(fe=Q.current)!=null&&fe.contains(document.activeElement))&&F(!1)};return document.addEventListener("keydown",W),()=>document.removeEventListener("keydown",W)},[s]),P.useEffect(()=>{if(Q.current)return()=>{O.current&&(O.current.focus({preventScroll:!0}),O.current=null,z.current=!1)}},[Q.current]),P.createElement("section",{ref:t,"aria-label":`${E} ${R}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},N.map((W,ee)=>{var J;let[fe,$e]=W.split("-");return T.length?P.createElement("ol",{key:W,dir:x==="auto"?Qg():x,tabIndex:-1,ref:Q,className:a,"data-sonner-toaster":!0,"data-theme":Z,"data-y-position":fe,"data-lifted":$&&T.length>1&&!o,"data-x-position":$e,style:{"--front-toast-height":`${((J=I[0])==null?void 0:J.height)||0}px`,"--width":`${BN}px`,"--gap":`${y}px`,...h,...GN(c,u)},onBlur:ue=>{z.current&&!ue.currentTarget.contains(ue.relatedTarget)&&(z.current=!1,O.current&&(O.current.focus({preventScroll:!0}),O.current=null))},onFocus:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||z.current||(z.current=!0,O.current=ue.relatedTarget)},onMouseEnter:()=>F(!0),onMouseMove:()=>F(!0),onMouseLeave:()=>{U||F(!1)},onDragEnd:()=>F(!1),onPointerDown:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||D(!0)},onPointerUp:()=>D(!1)},T.filter(ue=>!ue.position&&ee===0||ue.position===W).map((ue,Mn)=>{var Vt,hn;return P.createElement(KN,{key:ue.id,icons:w,index:Mn,toast:ue,defaultRichColors:f,duration:(Vt=g==null?void 0:g.duration)!=null?Vt:p,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:b,closeButton:(hn=g==null?void 0:g.closeButton)!=null?hn:i,interacting:U,position:W,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:K,toasts:T.filter(Ot=>Ot.position==ue.position),heights:I.filter(Ot=>Ot.position==ue.position),setHeights:A,expandByDefault:o,gap:y,loadingIcon:m,expanded:$,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const YN=({...e})=>{const{theme:t="system"}=EN();return l.jsx(QN,{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 XN=Op[" useId ".trim().toString()]||(()=>{}),ZN=0;function Di(e){const[t,n]=v.useState(XN());return Rn(()=>{n(r=>r??String(ZN++))},[e]),t?`radix-${t}`:""}const JN=["top","right","bottom","left"],Br=Math.min,St=Math.max,hc=Math.round,ul=Math.floor,kn=e=>({x:e,y:e}
vendor: 27,970 bytes, line 276
276),e4={left:"right",right:"left",bottom:"top",top:"bottom"},t4={start:"end",end:"start"};function Of(e,t,n){return St(e,Br(t,n))}function Zn(e,t){return typeof e=="function"?e(t):e}function Jn(e){return e.split("-")[0]}function ei(e){return e.split("-")[1]}function Ph(e){return e==="x"?"y":"x"}function Ah(e){return e==="y"?"height":"width"}const n4=new Set(["top","bottom"]);function Tn(e){return n4.has(Jn(e))?"y":"x"}function Oh(e){return Ph(Tn(e))}function r4(e,t,n){n===void 0&&(n=!1);const r=ei(e),s=Oh(e),o=Ah(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=mc(i)),[i,mc(i)]}function s4(e){const t=mc(e);return[If(e),t,If(t)]}function If(e){return e.replace(/start|end/g,t=>t4[t])}const Yg=["left","right"],Xg=["right","left"],o4=["top","bottom"],i4=["bottom","top"];function a4(e,t,n){switch(e){case"top":case"bottom":return n?t?Xg:Yg:t?Yg:Xg;case"left":case"right":return t?o4:i4;default:return[]}}function l4(e,t,n,r){const s=ei(e);let o=a4(Jn(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(If)))),o}function mc(e){return e.replace(/left|right|bottom|top/g,t=>e4[t])}function c4(e){return{top:0,right:0,bottom:0,left:0,...e}}function ew(e){return typeof e!="number"?c4(e):{top:e,right:e,bottom:e,left:e}}function gc(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function Zg(e,t,n){let{reference:r,floating:s}=e;const o=Tn(t),i=Oh(t),a=Ah(i),c=Jn(t),u=o==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,p=r[a]/2-s[a]/2;let h;switch(c){case"top":h={x:d,y:r.y-s.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-s.width,y:f};break;default:h={x:r.x,y:r.y}}switch(ei(t)){case"start":h[i]-=p*(n&&u?-1:1);break;case"end":h[i]+=p*(n&&u?-1:1);break}return h}const u4=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=Zg(u,r,c),p=r,h={},b=0;for(let g=0;g<a.length;g++){const{name:x,fn:y}=a[g],{x:m,y:w,data:E,reset:S}=await y({x:d,y:f,initialPlacement:r,placement:p,strategy:s,middlewareData:h,rects:u,platform:i,elements:{reference:e,floating:t}});d=m??d,f=w??f,h={...h,[x]:{...h[x],...E}},S&&b<=50&&(b++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(u=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:d,y:f}=Zg(u,p,c)),g=-1)}return{x:d,y:f,placement:p,strategy:s,middlewareData:h}};async function oa(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=Zn(t,e),b=ew(h),x=a[p?f==="floating"?"reference":"floating":f],y=gc(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:c})),m=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,w=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),E=await(o.isElement==null?void 0:o.isElement(w))?await(o.getScale==null?void 0:o.getScale(w))||{x:1,y:1}:{x:1,y:1},S=gc(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:w,strategy:c}):m);return{top:(y.top-S.top+b.top)/E.y,bottom:(S.bottom-y.bottom+b.bottom)/E.y,left:(y.left-S.left+b.left)/E.x,right:(S.right-y.right+b.right)/E.x}}const d4=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a,middlewareData:c}=t,{element:u,padding:d=0}=Zn(e,t)||{};if(u==null)return{};const f=ew(d),p={x:n,y:r},h=Oh(s),b=Ah(h),g=await i.getDimensions(u),x=h==="y",y=x?"top":"left",m=x?"bottom":"right",w=x?"clientHeight":"clientWidth",E=o.reference[b]+o.reference[h]-p[h]-o.floating[b],S=p[h]-o.reference[h],T=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let j=T?T[w]:0;(!j||!await(i.isElement==null?void 0:i.isElement(T)))&&(j=a.floating[w]||o.floating[b]);const N=E/2-S/2,I=j/2-g[b]/2-1,A=Br(f[y],I),$=Br(f[m],I),F=A,U=j-g[b]-$,D=j/2-g[b]/2+N,Z=Of(F,D,U),H=!c.arrow&&ei(s)!=null&&D!==Z&&o.reference[b]/2-(D<F?A:$)-g[b]/2<0,Q=H?D<F?D-F:D-U:0;return{[h]:p[h]+Q,data:{[h]:Z,centerOffset:D-Z-Q,...H&&{alignmentOffset:Q}},reset:H}}}),f4=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...x}=Zn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const y=Jn(s),m=Tn(a),w=Jn(a)===a,E=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=p||(w||!g?[mc(a)]:s4(a)),T=b!=="none";!p&&T&&S.push(...l4(a,g,b,E));const j=[a,...S],N=await oa(t,x),I=[];let A=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&I.push(N[y]),f){const D=r4(s,i,E);I.push(N[D[0]],N[D[1]])}if(A=[...A,{placement:s,overflows:I}],!I.every(D=>D<=0)){var $,F;const D=((($=o.flip)==null?void 0:$.index)||0)+1,Z=j[D];if(Z&&(!(f==="alignment"?m!==Tn(Z):!1)||A.every(R=>Tn(R.placement)===m?R.overflows[0]>0:!0)))return{data:{index:D,overflows:A},reset:{placement:Z}};let H=(F=A.filter(Q=>Q.overflows[0]<=0).sort((Q,R)=>Q.overflows[1]-R.overflows[1])[0])==null?void 0:F.placement;if(!H)switch(h){case"bestFit":{var U;const Q=(U=A.filter(R=>{if(T){const O=Tn(R.placement);return O===m||O==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(O=>O>0).reduce((O,z)=>O+z,0)]).sort((R,O)=>R[1]-O[1])[0])==null?void 0:U[0];Q&&(H=Q);break}case"initialPlacement":H=a;break}if(s!==H)return{reset:{placement:H}}}return{}}}};function Jg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ey(e){return JN.some(t=>e[t]>=0)}const p4=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=Zn(e,t);switch(r){case"referenceHidden":{const o=await oa(t,{...s,elementContext:"reference"}),i=Jg(o,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:ey(i)}}}case"escaped":{const o=await oa(t,{...s,altBoundary:!0}),i=Jg(o,n.floating);return{data:{escapedOffsets:i,escaped:ey(i)}}}default:return{}}}}},tw=new Set(["left","top"]);async function h4(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=Jn(n),a=ei(n),c=Tn(n)==="y",u=tw.has(i)?-1:1,d=o&&c?-1:1,f=Zn(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof b=="number"&&(h=a==="end"?b*-1:b),c?{x:h*d,y:p*u}:{x:p*u,y:h*d}}const m4=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:a}=t,c=await h4(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:o+c.y,data:{...c,placement:i}}}}},g4=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:x=>{let{x:y,y:m}=x;return{x:y,y:m}}},...c}=Zn(e,t),u={x:n,y:r},d=await oa(t,c),f=Tn(Jn(s)),p=Ph(f);let h=u[p],b=u[f];if(o){const x=p==="y"?"top":"left",y=p==="y"?"bottom":"right",m=h+d[x],w=h-d[y];h=Of(m,h,w)}if(i){const x=f==="y"?"top":"left",y=f==="y"?"bottom":"right",m=b+d[x],w=b-d[y];b=Of(m,b,w)}const g=a.fn({...t,[p]:h,[f]:b});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:i}}}}}},y4=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:i}=t,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=Zn(e,t),d={x:n,y:r},f=Tn(s),p=Ph(f);let h=d[p],b=d[f];const g=Zn(a,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const w=p==="y"?"height":"width",E=o.reference[p]-o.floating[w]+x.mainAxis,S=o.reference[p]+o.reference[w]-x.mainAxis;h<E?h=E:h>S&&(h=S)}if(u){var y,m;const w=p==="y"?"width":"height",E=tw.has(Jn(s)),S=o.reference[f]-o.floating[w]+(E&&((y=i.offset)==null?void 0:y[f])||0)+(E?0:x.crossAxis),T=o.reference[f]+o.reference[w]+(E?0:((m=i.offset)==null?void 0:m[f])||0)-(E?x.crossAxis:0);b<S?b=S:b>T&&(b=T)}return{[p]:h,[f]:b}}}},v4=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:c=()=>{},...u}=Zn(e,t),d=await oa(t,u),f=Jn(s),p=ei(s),h=Tn(s)==="y",{width:b,height:g}=o.floating;let x,y;f==="top"||f==="bottom"?(x=f,y=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=f,x=p==="end"?"top":"bottom");const m=g-d.top-d.bottom,w=b-d.left-d.right,E=Br(g-d[x],m),S=Br(b-d[y],w),T=!t.middlewareData.shift;let j=E,N=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(j=m),T&&!p){const A=St(d.left,0),$=St(d.right,0),F=St(d.top,0),U=St(d.bottom,0);h?N=b-2*(A!==0||$!==0?A+$:St(d.left,d.right)):j=g-2*(F!==0||U!==0?F+U:St(d.top,d.bottom))}await c({...t,availableWidth:N,availableHeight:j});const I=await i.getDimensions(a.floating);return b!==I.width||g!==I.height?{reset:{rects:!0}}:{}}}};function Qc(){return typeof window<"u"}function ti(e){return nw(e)?(e.nodeName||"").toLowerCase():"#document"}function kt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function On(e){var t;return(t=(nw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function nw(e){return Qc()?e instanceof Node||e instanceof kt(e).Node:!1}function cn(e){return Qc()?e instanceof Element||e instanceof kt(e).Element:!1}function Pn(e){return Qc()?e instanceof HTMLElement||e instanceof kt(e).HTMLElement:!1}function ty(e){return!Qc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof kt(e).ShadowRoot}const x4=new Set(["inline","contents"]);function ka(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=un(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!x4.has(s)}const w4=new Set(["table","td","th"]);function b4(e){return w4.has(ti(e))}const E4=[":popover-open",":modal"];function Yc(e){return E4.some(t=>{try{return e.matches(t)}catch{return!1}})}const S4=["transform","translate","scale","rotate","perspective"],j4=["transform","translate","scale","rotate","perspective","filter"],T4=["paint","layout","strict","content"];function Ih(e){const t=Mh(),n=cn(e)?un(e):e;return S4.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||j4.some(r=>(n.willChange||"").includes(r))||T4.some(r=>(n.contain||"").includes(r))}function C4(e){let t=Wr(e);for(;Pn(t)&&!Vo(t);){if(Ih(t))return t;if(Yc(t))return null;t=Wr(t)}return null}function Mh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const N4=new Set(["html","body","#document"]);function Vo(e){return N4.has(ti(e))}function un(e){return kt(e).getComputedStyle(e)}function Xc(e){return cn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Wr(e){if(ti(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ty(e)&&e.host||On(e);return ty(t)?t.host:t}function rw(e){const t=Wr(e);return Vo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Pn(t)&&ka(t)?t:rw(t)}function ia(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=rw(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),i=kt(s);if(o){const a=Mf(i);return t.concat(i,i.visualViewport||[],ka(s)?s:[],a&&n?ia(a):[])}return t.concat(s,ia(s,[],n))}function Mf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sw(e){const t=un(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=Pn(e),o=s?e.offsetWidth:n,i=s?e.offsetHeight:r,a=hc(n)!==o||hc(r)!==i;return a&&(n=o,r=i),{width:n,height:r,$:a}}function Fh(e){return cn(e)?e:e.contextElement}function So(e){const t=Fh(e);if(!Pn(t))return kn(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=sw(t);let i=(o?hc(n.width):n.width)/r,a=(o?hc(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const k4=kn(0);function ow(e){const t=kt(e);return!Mh()||!t.visualViewport?k4:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _4(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==kt(e)?!1:t}function Ns(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=Fh(e);let i=kn(1);t&&(r?cn(r)&&(i=So(r)):i=So(e));const a=_4(o,n,r)?ow(o):kn(0);let c=(s.left+a.x)/i.x,u=(s.top+a.y)/i.y,d=s.width/i.x,f=s.height/i.y;if(o){const p=kt(o),h=r&&cn(r)?kt(r):r;let b=p,g=Mf(b);for(;g&&r&&h!==b;){const x=So(g),y=g.getBoundingClientRect(),m=un(g),w=y.left+(g.clientLeft+parseFloat(m.paddingLeft))*x.x,E=y.top+(g.clientTop+parseFloat(m.paddingTop))*x.y;c*=x.x,u*=x.y,d*=x.x,f*=x.y,c+=w,u+=E,b=kt(g),g=Mf(b)}}return gc({width:d,height:f,x:c,y:u})}function Zc(e,t){const n=Xc(e).scrollLeft;return t?t.left+n:Ns(On(e)).left+n}function iw(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Zc(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function R4(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",i=On(r),a=t?Yc(t.floating):!1;if(r===i||a&&o)return n;let c={scrollLeft:0,scrollTop:0},u=kn(1);const d=kn(0),f=Pn(r);if((f||!f&&!o)&&((ti(r)!=="body"||ka(i))&&(c=Xc(r)),Pn(r))){const h=Ns(r);u=So(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const p=i&&!f&&!o?iw(i,c):kn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-c.scrollTop*u.y+d.y+p.y}}function P4(e){return Array.from(e.getClientRects())}function A4(e){const t=On(e),n=Xc(e),r=e.ownerDocument.body,s=St(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=St(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Zc(e);const a=-n.scrollTop;return un(r).direction==="rtl"&&(i+=St(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:i,y:a}}const ny=25;function O4(e,t){const n=kt(e),r=On(e),s=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,a=0,c=0;if(s){o=s.width,i=s.height;const d=Mh();(!d||d&&t==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}const u=Zc(r);if(u<=0){const d=r.ownerDocument,f=d.body,p=getComputedStyle(f),h=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,b=Math.abs(r.clientWidth-f.clientWidth-h);b<=ny&&(o-=b)}else u<=ny&&(o+=u);return{width:o,height:i,x:a,y:c}}const I4=new Set(["absolute","fixed"]);function M4(e,t){const n=Ns(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=Pn(e)?So(e):kn(1),i=e.clientWidth*o.x,a=e.clientHeight*o.y,c=s*o.x,u=r*o.y;return{width:i,height:a,x:c,y:u}}function ry(e,t,n){let r;if(t==="viewport")r=O4(e,n);else if(t==="document")r=A4(On(e));else if(cn(t))r=M4(t,n);else{const s=ow(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return gc(r)}function aw(e,t){const n=Wr(e);return n===t||!cn(n)||Vo(n)?!1:un(n).position==="fixed"||aw(n,t)}function F4(e,t){const n=t.get(e);if(n)return n;let r=ia(e,[],!1).filter(a=>cn(a)&&ti(a)!=="body"),s=null;const o=un(e).position==="fixed";let i=o?Wr(e):e;for(;cn(i)&&!Vo(i);){const a=un(i),c=Ih(i);!c&&a.position==="fixed"&&(s=null),(o?!c&&!s:!c&&a.position==="static"&&!!s&&I4.has(s.position)||ka(i)&&!c&&aw(e,i))?r=r.filter(d=>d!==i):s=a,i=Wr(i)}return t.set(e,r),r}function $4(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?Yc(t)?[]:F4(t,this._c):[].concat(n),r],a=i[0],c=i.reduce((u,d)=>{const f=ry(t,d,s);return u.top=St(f.top,u.top),u.right=Br(f.right,u.right),u.bottom=Br(f.bottom,u.bottom),u.left=St(f.left,u.left),u},ry(t,a,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function D4(e){const{width:t,height:n}=sw(e);return{width:t,height:n}}function L4(e,t,n){const r=Pn(t),s=On(t),o=n==="fixed",i=Ns(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const c=kn(0);function u(){c.x=Zc(s)}if(r||!r&&!o)if((ti(t)!=="body"||ka(s))&&(a=Xc(t)),r){const h=Ns(t,!0,o,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else s&&u();o&&!r&&s&&u();const d=s&&!r&&!o?iw(s,a):kn(0),f=i.left+a.scrollLeft-c.x-d.x,p=i.top+a.scrollTop-c.y-d.y;return{x:f,y:p,width:i.width,height:i.height}}function fd(e){return un(e).position==="static"}function sy(e,t){if(!Pn(e)||un(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return On(e)===n&&(n=n.ownerDocument.body),n}function lw(e,t){const n=kt(e);if(Yc(e))return n;if(!Pn(e)){let s=Wr(e);for(;s&&!Vo(s);){if(cn(s)&&!fd(s))return s;s=Wr(s)}return n}let r=sy(e,t);for(;r&&b4(r)&&fd(r);)r=sy(r,t);return r&&Vo(r)&&fd(r)&&!Ih(r)?n:r||C4(e)||n}const z4=async function(e){const t=this.getOffsetParent||lw,n=this.getDimensions,r=await n(e.floating);return{reference:L4(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function U4(e){return un(e).direction==="rtl"}const B4={convertOffsetParentRelativeRectToViewportRelativeRect:R4,getDocumentElement:On,getClippingRect:$4,getOffsetParent:lw,getElementRects:z4,getClientRects:P4,getDimensions:D4,getScale:So,isElement:cn,isRTL:U4};function cw(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function W4(e,t){let n=null,r;const s=On(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),o();const u=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=u;if(a||t(),!p||!h)return;const b=ul(f),g=ul(s.clientWidth-(d+p)),x=ul(s.clientHeight-(f+h)),y=ul(d),w={rootMargin:-b+"px "+-g+"px "+-x+"px "+-y+"px",threshold:St(0,Br(1,c))||1};let E=!0;function S(T){const j=T[0].intersectionRatio;if(j!==c){if(!E)return i();j?i(!1,j):r=setTimeout(()=>{i(!1,1e-7)},1e3)}j===1&&!cw(u,e.getBoundingClientRect())&&i(),E=!1}try{n=new IntersectionObserver(S,{...w,root:s.ownerDocument})}catch{n=new IntersectionObserver(S,w)}n.observe(e)}return i(!0),o}function V4(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Fh(e),d=s||o?[...u?ia(u):[],...ia(t)]:[];d.forEach(y=>{s&&y.addEventListener("scroll",n,{passive:!0}),o&&y.addEventListener("resize",n)});const f=u&&a?W4(u,n):null;let p=-1,h=null;i&&(h=new ResizeObserver(y=>{let[m]=y;m&&m.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=h)==null||w.observe(t)})),n()}),u&&!c&&h.observe(u),h.observe(t));let b,g=c?Ns(e):null;c&&x();function x(){const y=Ns(e);g&&!cw(g,y)&&n(),g=y,b=requestAnimationFrame(x)}return n(),()=>{var y;d.forEach(m=>{s&&m.removeEventListener("scroll",n),o&&m.removeEventListener("resize",n)}),f==null||f(),(y=h)==null||y.disconnect(),h=null,c&&cancelAnimationFrame(b)}}const H4=m4,q4=g4,K4=f4,G4=v4,Q4=p4,oy=d4,Y4=y4,X4=(e,t,n)=>{const r=new Map,s={platform:B4,...n},o={...s.platform,_c:r};return u4(e,t,{...s,platform:o})};var Z4=typeof document<"u",J4=function(){},Ml=Z4?v.useLayoutEffect:J4;function yc(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,s;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(!yc(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const o=s[r];if(!(o==="_owner"&&e.$$typeof)&&!yc(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function uw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function iy(e,t){const n=uw(e);return Math.round(t*n)/n}function pd(e){const t=v.useRef(e);return Ml(()=>{t.current=e}),t}function ek(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:o,floating:i}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[d,f]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=v.useState(r);yc(p,r)||h(r);const[b,g]=v.useState(null),[x,y]=v.useState(null),m=v.useCallback(R=>{R!==T.current&&(T.current=R,g(R))},[]),w=v.useCallback(R=>{R!==j.current&&(j.current=R,y(R))},[]),E=o||b,S=i||x,T=v.useRef(null),j=v.useRef(null),N=v.useRef(d),I=c!=null,A=pd(c),$=pd(s),F=pd(u),U=v.useCallback(()=>{if(!T.current||!j.current)return;const R={placement:t,strategy:n,middleware:p};$.current&&(R.platform=$.current),X4(T.current,j.current,R).then(O=>{const z={...O,isPositioned:F.current!==!1};D.current&&!yc(N.current,z)&&(N.current=z,Zo.flushSync(()=>{f(z)}))})},[p,t,n,$,F]);Ml(()=>{u===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,f(R=>({...R,isPositioned:!1})))},[u]);const D=v.useRef(!1);Ml(()=>(D.current=!0,()=>{D.current=!1}),[]),Ml(()=>{if(E&&(T.current=E),S&&(j.current=S),E&&S){if(A.current)return A.current(E,S,U);U()}},[E,S,U,A,I]);const Z=v.useMemo(()=>({reference:T,floating:j,setReference:m,setFloating:w}),[m,w]),H=v.useMemo(()=>({reference:E,floating:S}),[E,S]),Q=v.useMemo(()=>{const R={position:n,left:0,top:0};if(!H.floating)return R;const O=iy(H.floating,d.x),z=iy(H.floating,d.y);return a?{...R,transform:"translate("+O+"px, "+z+"px)",...uw(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:O,top:z}},[n,a,H.floating,d.x,d.y]);return v.useMemo(()=>({...d,update:U,refs:Z,elements:H,floatingStyles:Q}),[d,U,Z,H,Q])}const tk=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?oy({element:r.current,padding:s}).fn(n):{}:r?oy({element:r,padding:s}).fn(n):{}}}},nk=(e,t)=>({...H4(e),options:[e,t]}),rk=(e,t)=>({...q4(e),options:[e,t]}),sk=(e,t)=>({...Y4(e),options:[e,t]}),ok=(e,t)=>({...K4(e),options:[e,t]}),ik=(e,t)=>({...G4(e),options:[e,t]}),ak=(e,t)=>({...Q4(e),options:[e,t]}),lk=(e,t)=>({...tk(e),options:[e,t]});var ck="Arrow",dw=v.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...o}=e;return l.jsx(je.svg,{...o,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});dw.displayName=ck;var uk=dw;function dk(e){const[t,n]=v.useState(void 0);return Rn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const o=s[0];let i,a;if("borderBoxSize"in o){const c=o.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}var fw="Popper",[pw,hw]=Ms(fw),[SF,mw]=pw(fw),gw="PopperAnchor",yw=v.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,o=mw(gw,n),i=v.useRef(null),a=Ye(t,i),c=v.useRef(null);return v.useEffect(()=>{const u=c.current;c.current=(r==null?void 0:r.current)||i.current,u!==c.current&&o.onAnchorChange(c.current)}),r?null:l.jsx(je.div,{...s,ref:a})});yw.displayName=gw;var $h="PopperContent",[fk,pk]=pw($h),vw=v.forwardRef((e,t)=>{var ue,Mn,Vt,hn,Ot,rr;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:o="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:b,...g}=e,x=mw($h,n),[y,m]=v.useState(null),w=Ye(t,Ht=>m(Ht)),[E,S]=v.useState(null),T=dk(E),j=(T==null?void 0:T.width)??0,N=(T==null?void 0:T.height)??0,I=r+(o!=="center"?"-"+o:""),A=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},$=Array.isArray(u)?u:[u],F=$.length>0,U={padding:A,boundary:$.filter(mk),altBoundary:F},{refs:D,floatingStyles:Z,placement:H,isPositioned:Q,middlewareData:R}=ek({strategy:"fixed",placement:I,whileElementsMounted:(...Ht)=>V4(...Ht,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[nk({mainAxis:s+N,alignmentAxis:i}),c&&rk({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?sk():void 0,...U}),c&&ok({...U}),ik({...U,apply:({elements:Ht,rects:Hs,availableWidth:ii,availableHeight:qs})=>{const{width:ai,height:Qr}=Hs.reference,mn=Ht.floating.style;mn.setProperty("--radix-popper-available-width",`${ii}px`),mn.setProperty("--radix-popper-available-height",`${qs}px`),mn.setProperty("--radix-popper-anchor-width",`${ai}px`),mn.setProperty("--radix-popper-anchor-height",`${Qr}px`)}}),E&&lk({element:E,padding:a}),gk({arrowWidth:j,arrowHeight:N}),p&&ak({strategy:"referenceHidden",...U})]}),[O,z]=bw(H),K=_n(b);Rn(()=>{Q&&(K==null||K())},[Q,K]);const W=(ue=R.arrow)==null?void 0:ue.x,ee=(Mn=R.arrow)==null?void 0:Mn.y,J=((Vt=R.arrow)==null?void 0:Vt.centerOffset)!==0,[fe,$e]=v.useState();return Rn(()=>{y&&$e(window.getComputedStyle(y).zIndex)},[y]),l.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:Q?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:fe,"--radix-popper-transform-origin":[(hn=R.transformOrigin)==null?void 0:hn.x,(Ot=R.transformOrigin)==null?void 0:Ot.y].join(" "),...((rr=R.hide)==null?void 0:rr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(fk,{scope:n,placedSide:O,onArrowChange:S,arrowX:W,arrowY:ee,shouldHideArrow:J,children:l.jsx(je.div,{"data-side":O,"data-align":z,...g,ref:w,style:{...g.style,animation:Q?void 0:"none"}})})})});vw.displayName=$h;var xw="PopperArrow",hk={top:"bottom",right:"left",bottom:"top",left:"right"},ww=v.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,o=pk(xw,r),i=hk[o.placedSide];return l.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:l.jsx(uk,{...s,ref:n,style:{...s.style,display:"block"}})})});ww.displayName=xw;function mk(e){return e!==null}var gk=e=>({name:"transformOrigin",options:e,fn(t){var x,y,m;const{placement:n,rects:r,middlewareData:s}=t,i=((x=s.arrow)==null?void 0:x.centerOffset)!==0,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,d]=bw(n),f={start:"0%",center:"50%",end:"100%"}[d],p=(((y=s.arrow)==null?void 0:y.x)??0)+a/2,h=(((m=s.arrow)==null?void 0:m.y)??0)+c/2;let b="",g="";return u==="bottom"?(b=i?f:`${p}px`,g=`${-c}px`):u==="top"?(b=i?f:`${p}px`,g=`${r.floating.height+c}px`):u==="right"?(b=`${-c}px`,g=i?f:`${h}px`):u==="left"&&(b=`${r.floating.width+c}px`,g=i?f:`${h}px`),{data:{x:b,y:g}}}});function bw(e){const[t,n="center"]=e.split("-");return[t,n]}var yk=yw,vk=vw,xk=ww,[Jc]=Ms("Tooltip",[hw]),Dh=hw(),Ew="TooltipProvider",wk=700,ay="tooltip.open",[bk,Sw]=Jc(Ew),jw=e=>{const{__scopeTooltip:t,delayDuration:n=wk,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:o}=e,i=v.useRef(!0),a=v.useRef(!1),c=v.useRef(0);return v.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),l.jsx(bk,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:v.useCallback(()=>{window.clearTimeout(c.current),i.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:v.useCallback(u=>{a.current=u},[]),disableHoverableContent:s,children:o})};jw.displayName=Ew;
vendor: 5,674 bytes, line 276
276var Tw="Tooltip",[jF,eu]=Jc(Tw),Ff="TooltipTrigger",Ek=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=eu(Ff,n),o=Sw(Ff,n),i=Dh(n),a=v.useRef(null),c=Ye(t,a,s.onTriggerChange),u=v.useRef(!1),d=v.useRef(!1),f=v.useCallback(()=>u.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.jsx(yk,{asChild:!0,...i,children:l.jsx(je.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:c,onPointerMove:ve(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!o.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:ve(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:ve(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ve(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:ve(e.onBlur,s.onClose),onClick:ve(e.onClick,s.onClose)})})});Ek.displayName=Ff;var Sk="TooltipPortal",[TF,jk]=Jc(Sk,{forceMount:void 0}),Ho="TooltipContent",Cw=v.forwardRef((e,t)=>{const n=jk(Ho,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...o}=e,i=eu(Ho,e.__scopeTooltip);return l.jsx(Fs,{present:r||i.open,children:i.disableHoverableContent?l.jsx(Nw,{side:s,...o,ref:t}):l.jsx(Tk,{side:s,...o,ref:t})})}),Tk=v.forwardRef((e,t)=>{const n=eu(Ho,e.__scopeTooltip),r=Sw(Ho,e.__scopeTooltip),s=v.useRef(null),o=Ye(t,s),[i,a]=v.useState(null),{trigger:c,onClose:u}=n,d=s.current,{onPointerInTransitChange:f}=r,p=v.useCallback(()=>{a(null),f(!1)},[f]),h=v.useCallback((b,g)=>{const x=b.currentTarget,y={x:b.clientX,y:b.clientY},m=Rk(y,x.getBoundingClientRect()),w=Pk(y,m),E=Ak(g.getBoundingClientRect()),S=Ik([...w,...E]);a(S),f(!0)},[f]);return v.useEffect(()=>()=>p(),[p]),v.useEffect(()=>{if(c&&d){const b=x=>h(x,d),g=x=>h(x,c);return c.addEventListener("pointerleave",b),d.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",g)}}},[c,d,h,p]),v.useEffect(()=>{if(i){const b=g=>{const x=g.target,y={x:g.clientX,y:g.clientY},m=(c==null?void 0:c.contains(x))||(d==null?void 0:d.contains(x)),w=!Ok(y,i);m?p():w&&(p(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,d,i,u,p]),l.jsx(Nw,{...e,ref:o})}),[Ck,Nk]=Jc(Tw,{isInside:!1}),kk=vT("TooltipContent"),Nw=v.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:i,...a}=e,c=eu(Ho,n),u=Dh(n),{onClose:d}=c;return v.useEffect(()=>(document.addEventListener(ay,d),()=>document.removeEventListener(ay,d)),[d]),v.useEffect(()=>{if(c.trigger){const f=p=>{const h=p.target;h!=null&&h.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),l.jsx(Hc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:l.jsxs(vk,{"data-state":c.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(kk,{children:r}),l.jsx(Ck,{scope:n,isInside:!0,children:l.jsx(UT,{id:c.contentId,role:"tooltip",children:s||r})})]})})});Cw.displayName=Ho;var kw="TooltipArrow",_k=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Dh(n);return Nk(kw,n).isInside?null:l.jsx(xk,{...s,...r,ref:t})});_k.displayName=kw;function Rk(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,s,o)){case o:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Pk(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Ak(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function Ok(e,t){const{x:n,y:r}=e;let s=!1;for(let o=0,i=t.length-1;o<t.length;i=o++){const a=t[o],c=t[i],u=a.x,d=a.y,f=c.x,p=c.y;d>r!=p>r&&n<(f-u)*(r-d)/(p-d)+u&&(s=!s)}return s}function Ik(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),Mk(t)}function Mk(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const o=t[t.length-1],i=t[t.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const o=n[n.length-1],i=n[n.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))n.pop();else break}n.push(s)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Fk=jw,_w=Cw;const $k=Fk,Dk=v.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(_w,{ref:r,sideOffset:t,className:Te("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
276de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));Dk.displayName=_w.displayName;var _a=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(){}},Lk={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},vr,kp,U0,zk=(U0=class{constructor(){X(this,vr,Lk);X(this,kp,!1)}setTimeoutProvider(e){B(this,vr,e)}setTimeout(e,t){return C(this,vr).setTimeout(e,t)}clearTimeout(e){C(this,vr).clearTimeout(e)}setInterval(e,t){return C(this,vr).setInterval(e,t)}clearInterval(e){C(this,vr).clearInterval(e)}},vr=new WeakMap,kp=new WeakMap,U0),os=new zk;function Uk(e){setTimeout(e,0)}var ks=typeof window>"u"||"Deno"in globalThis;function pt(){}function Bk(e,t){return typeof e=="function"?e(t):e}function $f(e){return typeof e=="number"&&e>=0&&e!==1/0}function Rw(e,t){return Math.max(e+(t||0)-Date.now(),0)}function $r(e,t){return typeof e=="function"?e(t):e}function $t(e,t){return typeof e=="function"?e(t):e}function ly(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:o,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==Lh(i,t.options))return!1}else if(!la(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||s&&s!==t.state.fetchStatus||o&&!o(t))}function cy(e,t){const{exact:n,status:r,predicate:s,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(aa(t.options.mutationKey)!==aa(o))return!1}else if(!la(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Lh(e,t){return((t==null?void 0:t.queryKeyHashFn)||aa)(e)}function aa(e){return JSON.stringify(e,(t,n)=>Lf(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function la(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>la(e[n],t[n])):!1}var Wk=Object.prototype.hasOwnProperty;function Pw(e,t){if(e===t)return e;const n=uy(e)&&uy(t);if(!n&&!(Lf(e)&&Lf(t)))return t;const s=(n?e:Object.keys(e)).length,o=n?t:Object.keys(t),i=o.length,a=n?new Array(i):{};let c=0;for(let u=0;u<i;u++){const d=n?u:o[u],f=e[d],p=t[d];if(f===p){a[d]=f,(n?u<s:Wk.call(e,d))&&c++;continue}if(f===null||p===null||typeof f!="object"||typeof p!="object"){a[d]=p;continue}const h=Pw(f,p);a[d]=h,h===f&&c++}return s===i&&c===s?e:a}function Df(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function uy(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Lf(e){if(!dy(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!dy(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function dy(e){return Object.prototype.toString.call(e)==="[object Object]"}function Vk(e){return new Promise(t=>{os.setTimeout(t,e)})}function zf(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Pw(e,t):t}function Hk(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function qk(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var zh=Symbol();function Aw(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===zh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Kk(e,t){return typeof e=="function"?e(...t):!!e}var ls,xr,To,B0,Gk=(B0=class extends _a{constructor(){super();X(this,ls);X(this,xr);X(this,To);B(this,To,t=>{if(!ks&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,xr)||this.setEventListener(C(this,To))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,xr))==null||t.call(this),B(this,xr,void 0))}setEventListener(t){var n;B(this,To,t),(n=C(this,xr))==null||n.call(this),B(this,xr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){C(this,ls)!==t&&(B(this,ls,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,670 bytes, line 276
276this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,ls)=="boolean"?C(this,ls):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ls=new WeakMap,xr=new WeakMap,To=new WeakMap,B0),Uh=new Gk;function Uf(){let e,t;const n=new Promise((s,o)=>{e=s,t=o});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}var Qk=Uk;function Yk(){let e=[],t=0,n=a=>{a()},r=a=>{a()},s=Qk;const o=a=>{t?e.push(a):s(()=>{n(a)})},i=()=>{const a=e;e=[],a.length&&s(()=>{r(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||i()}return c},batchCalls:a=>(...c)=>{o(()=>{a(...c)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var Ke=Yk(),Co,wr,No,W0,Xk=(W0=class extends _a{constructor(){super();X(this,Co,!0);X(this,wr);X(this,No);B(this,No,t=>{if(!ks&&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(){C(this,wr)||this.setEventListener(C(this,No))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,wr))==null||t.call(this),B(this,wr,void 0))}setEventListener(t){var n;B(this,No,t),(n=C(this,wr))==null||n.call(this),B(this,wr,t(this.setOnline.bind(this)))}setOnline(t){C(this,Co)!==t&&(B(this,Co,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return C(this,Co)}},Co=new WeakMap,wr=new WeakMap,No=new WeakMap,W0),vc=new Xk;function Zk(e){return Math.min(1e3*2**e,3e4)}function Ow(e){return(e??"online")==="online"?vc.isOnline():!0}var Bf=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Iw(e){let t=!1,n=0,r;const s=Uf(),o=()=>s.status!=="pending",i=g=>{var x;if(!o()){const y=new Bf(g);p(y),(x=e.onCancel)==null||x.call(e,y)}},a=()=>{t=!0},c=()=>{t=!1},u=()=>Uh.isFocused()&&(e.networkMode==="always"||vc.isOnline())&&e.canRun(),d=()=>Ow(e.networkMode)&&e.canRun(),f=g=>{o()||(r==null||r(),s.resolve(g))},p=g=>{o()||(r==null||r(),s.reject(g))},h=()=>new Promise(g=>{var x;r=y=>{(o()||u())&&g(y)},(x=e.onPause)==null||x.call(e)}).then(()=>{var g;r=void 0,o()||(g=e.onContinue)==null||g.call(e)}),b=()=>{if(o())return;let g;const x=n===0?e.initialPromise:void 0;try{g=x??e.fn()}catch(y){g=Promise.reject(y)}Promise.resolve(g).then(f).catch(y=>{var T;if(o())return;const m=e.retry??(ks?0:3),w=e.retryDelay??Zk,E=typeof w=="function"?w(n,y):w,S=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,y);if(t||!S){p(y);return}n++,(T=e.onFail)==null||T.call(e,n,y),Vk(E).then(()=>u()?void 0:h()).then(()=>{t?p(y):b()})})};return{promise:s,status:()=>s.status,cancel:i,continue:()=>(r==null||r(),s),cancelRetry:a,continueRetry:c,canStart:d,start:()=>(d()?b():h().then(b),s)}}var cs,V0,Mw=(V0=class{constructor(){X(this,cs)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$f(this.gcTime)&&B(this,cs,os.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ks?1/0:5*60*1e3))}clearGcTimeout(){C(this,cs)&&(os.clearTimeout(C(this,cs)),B(this,cs,void 0))}},cs=new WeakMap,V0),us,ko,Ft,ds,ze,ma,fs,tn,Dn,H0,Jk=(H0=class extends Mw{constructor(t){super();X(this,tn);X(this,us);X(this,ko);X(this,Ft);X(this,ds);X(this,ze);X(this,ma);X(this,fs);B(this,fs,!1),B(this,ma,t.defaultOptions),this.setOptions(t.options),this.observers=[],B(this,ds,t.client),B(this,Ft,C(this,ds).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,B(this,us,fy(this.options)),this.state=t.state??C(this,us),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,ze))==null?void 0:t.promise}setOptions(t){if(this.options={...C(this,ma),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=fy(this.options);n.data!==void 0&&(this.setData(n.data,{updatedAt:n.dataUpdatedAt,manual:!0}),B(this,us,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,Ft).remove(this)}setData(t,n){const r=zf(this.state.data,t,this.options);return ae(this,tn,Dn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){ae(this,tn,Dn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=C(this,ze))==null?void 0:r.promise;return(s=C(this,ze))==null||s.cancel(t),n?n.then(pt).catch(pt):Prom
276ise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(C(this,us))}isActive(){return this.observers.some(t=>$t(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===zh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>$r(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:!Rw(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,ze))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,ze))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),C(this,Ft).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(C(this,ze)&&(C(this,fs)?C(this,ze).cancel({revert:!0}):C(this,ze).cancelRetry()),this.scheduleGc()),C(this,Ft).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ae(this,tn,Dn).call(this,{type:"invalidate"})}async fetch(t,n){var c,u,d,f,p,h,b,g,x,y,m,w;if(this.state.fetchStatus!=="idle"&&((c=C(this,ze))==null?void 0:c.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(C(this,ze))return C(this,ze).continueRetry(),C(this,ze).promise}if(t&&this.setOptions(t),!this.options.queryFn){const E=this.observers.find(S=>S.options.queryFn);E&&this.setOptions(E.options)}const r=new AbortController,s=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(B(this,fs,!0),r.signal)})},o=()=>{const E=Aw(this.options,n),T=(()=>{const j={client:C(this,ds),queryKey:this.queryKey,meta:this.meta};return s(j),j})();return B(this,fs,!1),this.options.persister?this.options.persister(E,T,this):E(T)},a=(()=>{const E={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:C(this,ds),state:this.state,fetchFn:o};return s(E),E})();(u=this.options.behavior)==null||u.onFetch(a,this),B(this,ko,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&ae(this,tn,Dn).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta}),B(this,ze,Iw({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,onCancel:E=>{E instanceof Bf&&E.revert&&this.setState({...C(this,ko),fetchStatus:"idle"}),r.abort()},onFail:(E,S)=>{ae(this,tn,Dn).call(this,{type:"failed",failureCount:E,error:S})},onPause:()=>{ae(this,tn,Dn).call(this,{type:"pause"})},onContinue:()=>{ae(this,tn,Dn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{const E=await C(this,ze).start();if(E===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(E),(h=(p=C(this,Ft).config).onSuccess)==null||h.call(p,E,this),(g=(b=C(this,Ft).config).onSettled)==null||g.call(b,E,this.state.error,this),E}catch(E){if(E instanceof Bf){if(E.silent)return C(this,ze).promise;if(E.revert){if(this.state.data===void 0)throw E;return this.state.data}}throw ae(this,tn,Dn).call(this,{type:"error",error:E}),(y=(x=C(this,Ft).config).onError)==null||y.call(x,E,this),(w=(m=C(this,Ft).config).onSettled)==null||w.call(m,this.state.data,E,this),E}finally{this.scheduleGc()}}},us=new WeakMap,ko=new WeakMap,Ft=new WeakMap,ds=new WeakMap,ze=new WeakMap,ma=new WeakMap,fs=new WeakMap,tn=new WeakSet,Dn=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,...Fw(r.data,this.options),fetchMeta:t.meta??null};case"success":const s={...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return B(this,ko,t.manual?s:void 0),s;case"error":const o=t.error;
vendor: 13,705 bytes, line 276
276return{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ke.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),C(this,Ft).notify({query:this,type:"updated",action:t})})},H0);function Fw(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ow(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function fy(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 dt,le,ga,nt,ps,_o,Bn,br,ya,Ro,Po,hs,ms,Er,Ao,pe,Ci,Wf,Vf,Hf,qf,Kf,Gf,Qf,$w,q0,e_=(q0=class extends _a{constructor(t,n){super();X(this,pe);X(this,dt);X(this,le);X(this,ga);X(this,nt);X(this,ps);X(this,_o);X(this,Bn);X(this,br);X(this,ya);X(this,Ro);X(this,Po);X(this,hs);X(this,ms);X(this,Er);X(this,Ao,new Set);this.options=n,B(this,dt,t),B(this,br,null),B(this,Bn,Uf()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(C(this,le).addObserver(this),py(C(this,le),this.options)?ae(this,pe,Ci).call(this):this.updateResult(),ae(this,pe,qf).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Yf(C(this,le),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Yf(C(this,le),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ae(this,pe,Kf).call(this),ae(this,pe,Gf).call(this),C(this,le).removeObserver(this)}setOptions(t){const n=this.options,r=C(this,le);if(this.options=C(this,dt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof $t(this.options.enabled,C(this,le))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ae(this,pe,Qf).call(this),C(this,le).setOptions(this.options),n._defaulted&&!Df(this.options,n)&&C(this,dt).getQueryCache().notify({type:"observerOptionsUpdated",query:C(this,le),observer:this});const s=this.hasListeners();s&&hy(C(this,le),r,this.options,n)&&ae(this,pe,Ci).call(this),this.updateResult(),s&&(C(this,le)!==r||$t(this.options.enabled,C(this,le))!==$t(n.enabled,C(this,le))||$r(this.options.staleTime,C(this,le))!==$r(n.staleTime,C(this,le)))&&ae(this,pe,Wf).call(this);const o=ae(this,pe,Vf).call(this);s&&(C(this,le)!==r||$t(this.options.enabled,C(this,le))!==$t(n.enabled,C(this,le))||o!==C(this,Er))&&ae(this,pe,Hf).call(this,o)}getOptimisticResult(t){const n=C(this,dt).getQueryCache().build(C(this,dt),t),r=this.createResult(n,t);return n_(this,r)&&(B(this,nt,r),B(this,_o,this.options),B(this,ps,C(this,le).state)),r}getCurrentResult(){return C(this,nt)}trackResult(t,n){return new Proxy(t,{get:(r,s)=>(this.trackProp(s),n==null||n(s),s==="promise"&&!this.options.experimental_prefetchInRender&&C(this,Bn).status==="pending"&&C(this,Bn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(r,s))})}trackProp(t){C(this,Ao).add(t)}getCurrentQuery(){return C(this,le)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=C(this,dt).defaultQueryOptions(t),r=C(this,dt).getQueryCache().build(C(this,dt),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return ae(this,pe,Ci).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),C(this,nt)))}createResult(t,n){var I;const r=C(this,le),s=this.options,o=C(this,nt),i=C(this,ps),a=C(this,_o),u=t!==r?t.state:C(this,ga),{state:d}=t;let f={...d},p=!1,h;if(n._optimisticResults){const A=this.hasListeners(),$=!A&&py(t,n),F=A&&hy(t,r,n,s);($||F)&&(f={...f,...Fw(d.data,t.options)}),n._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:b,errorUpdatedAt:g,status:x}=f;h=f.data;let y=!1;if(n.placeholderData!==void 0&&h===void 0&&x==="pending"){let A;o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData)?(A=o.data,y=!0):A=typeof n.placeholderData=="function"?n.placeholderData((I=C(this,Po))==null?void 0:I.state.data,C(this,Po)):n.placeholderData,A!==void 0&&(x="success",h=zf(o==null?void 0:o.data,A,n),p=!0)}if(n.select&&h!==void 0&&!y)if(o&&h===(i==null?void 0:i.data)&&n.select===C(this,ya))h=C(this,Ro);else try{B(this,ya,n.select),h=n.select(h),h=zf(o==null?void 0:o.data,h,n),B(this,Ro,h),B(this,br,null)}catch(A){B(this,br,A)}C(this,br)&&(b=C(this,br),h=C(this,Ro),g=Date.now(),x="error");const m=f.fetchStatus==="fetching",w=x==="pending",E=x==="error",S=w&&m,T=h!==void 0,N={status:x,fetchStatus:f.fetchStatus,isPending:w,isSuccess:x==="success",isError:E,isInitialLoading:S,isLoading:S,data:h,dataUpdatedAt:f.dataUpdatedAt,error:b,errorUpdatedAt:g,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>u.dataUpdateCount||f.errorUpdateCount>u.errorUpdateCount,isFetching:m,isRefetching:m&&!w,isLoadingError:E&&!T,isPaused:f.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:E&&T,isStale:Bh(t,n),refetch:this.refetch,promise:C(this,Bn),isEnabled:$t(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const A=U=>{N.status==="error"?U.reject(N.error):N.data!==void 0&&U.resolve(N.data)},$=()=>{const U=B(this,Bn,N.promise=Uf());A(U)},F=C(this,Bn);switch(F.status){case"pending":t.queryHash===r.queryHash&&A(F);break;case"fulfilled":(N.status==="error"||N.data!==F.value)&&$();break;case"rejected":(N.status!=="error"||N.error!==F.reason)&&$();break}}return N}updateResult(){const t=C(this,nt),n=this.createResult(C(this,le),this.options);if(B(this,ps,C(this,le).state),B(this,_o,this.options),C(this,ps).data!==void 0&&B(this,Po,C(this,le)),Df(n,t))return;B(this,nt,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:s}=this.options,o=typeof s=="function"?s():s;if(o==="all"||!o&&!C(this,Ao).size)return!0;const i=new Set(o??C(this,Ao));return this.options.throwOnError&&i.add("error"),Object.keys(C(this,nt)).some(a=>{const c=a;return C(this,nt)[c]!==t[c]&&i.has(c)})};ae(this,pe,$w).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ae(this,pe,qf).call(this)}},dt=new WeakMap,le=new WeakMap,ga=new WeakMap,nt=new WeakMap,ps=new WeakMap,_o=new WeakMap,Bn=new WeakMap,br=new WeakMap,ya=new WeakMap,Ro=new WeakMap,Po=new WeakMap,hs=new WeakMap,ms=new WeakMap,Er=new WeakMap,Ao=new WeakMap,pe=new WeakSet,Ci=function(t){ae(this,pe,Qf).call(this);let n=C(this,le).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(pt)),n},Wf=function(){ae(this,pe,Kf).call(this);const t=$r(this.options.staleTime,C(this,le));if(ks||C(this,nt).isStale||!$f(t))return;const r=Rw(C(this,nt).dataUpdatedAt,t)+1;B(this,hs,os.setTimeout(()=>{C(this,nt).isStale||this.updateResult()},r))},Vf=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(C(this,le)):this.options.refetchInterval)??!1},Hf=function(t){ae(this,pe,Gf).call(this),B(this,Er,t),!(ks||$t(this.options.enabled,C(this,le))===!1||!$f(C(this,Er))||C(this,Er)===0)&&B(this,ms,os.setInterval(()=>{(this.options.refetchIntervalInBackground||Uh.isFocused())&&ae(this,pe,Ci).call(this)},C(this,Er)))},qf=function(){ae(this,pe,Wf).call(this),ae(this,pe,Hf).call(this,ae(this,pe,Vf).call(this))},Kf=function(){C(this,hs)&&(os.clearTimeout(C(this,hs)),B(this,hs,void 0))},Gf=function(){C(this,ms)&&(os.clearInterval(C(this,ms)),B(this,ms,void 0))},Qf=function(){const t=C(this,dt).getQueryCache().build(C(this,dt),this.options);if(t===C(this,le))return;const n=C(this,le);B(this,le,t),B(this,ga,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},$w=function(t){Ke.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(C(this,nt))}),C(this,dt).getQueryCache().notify({query:C(this,le),type:"observerResultsUpdated"})})},q0);function t_(e,t){return $t(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function py(e,t){return t_(e,t)||e.state.data!==void 0&&Yf(e,t,t.refetchOnMount)}function Yf(e,t,n){if($t(t.enabled,e)!==!1&&$r(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Bh(e,t)}return!1}function hy(e,t,n,r){return(e!==t||$t(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Bh(e,n)}function Bh(e,t){return $t(t.enabled,e)!==!1&&e.isStaleByTime($r(t.staleTime,e))}function n_(e,t){return!Df(e.getCurrentResult(),t)}function my(e){return{onFetch:(t,n)=>{var d,f,p,h,b;const r=t.options,s=(p=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,o=((h=t.state.data)==null?void 0:h.pages)||[],i=((b=t.state.data)==null?void 0:b.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const u=async()=>{let g=!1;const x=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},y=Aw(t.options,t.fetchOptions),m=async(w,E,S)=>{if(g)return Promise.reject();if(E==null&&w.pages.length)return Promise.resolve(w);const j=(()=>{const $={client:t.client,queryKey:t.queryKey,pageParam:E,direction:S?"backward":"forward",meta:t.options.meta};return x($),$})(),N=await y(j),{maxPages:I}=t.options,A=S?qk:Hk;return{pages:A(w.pages,N,I),pageParams:A(w.pageParams,E,I)}};if(s&&o.length){const w=s==="backward",E=w?r_:gy,S={pages:o,pageParams:i},T=E(r,S);a=await m(S,T,w)}else{const w=e??o.length;do{const E=c===0?i[0]??r.initialPageParam:gy(r,a);if(c>0&&E==null)break;a=await m(a,E),c++}while(c<w)}return a};t.options.persister?t.fetchFn=()=>{var g,x;return(x=(g=t.options).persister)==null?void 0:x.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function gy(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 r_(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 va,wn,rt,gs,bn,fr,K0,s_=(K0=class extends Mw{constructor(t){super();X(this,bn);X(this,va);X(this,wn);X(this,rt);X(this,gs);B(this,va,t.client),this.mutationId=t.mutationId,B(this,rt,t.mutationCache),B(this,wn,[]),this.state=t.state||o_(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){C(this,wn).includes(t)||(C(this,wn).push(t),this.clearGcTimeout(),C(this,rt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){B(this,wn,C(this,wn).filter(n=>n!==t)),this.scheduleGc(),C(this,rt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,wn).length||(this.state.status==="pending"?this.scheduleGc():C(this,rt).remove(this))}continue(){var t;return((t=C(this,gs))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,a,c,u,d,f,p,h,b,g,x,y,m,w,E,S,T,j,N,I;const n=()=>{ae(this,bn,fr).call(this,{type:"continue"})},r={client:C(this,va),meta:this.options.meta,mutationKey:this.options.mutationKey};B(this,gs,Iw({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(A,$)=>{ae(this,bn,fr).call(this,{type:"failed",failureCount:A,error:$})},onPause:()=>{ae(this,bn,fr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,rt).canRun(this)}));const s=this.state.status==="pending",o=!C(this,gs).canStart();try{if(s)n();else{ae(this,bn,fr).call(this,{type:"pending",variables:t,isPaused:o}),await((a=(i=C(this,rt).config).onMutate)==null?void 0:a.call(i,t,this,r));const $=await((u=(c=this.options).onMutate)==null?void 0:u.call(c,t,r));$!==this.state.context&&ae(this,bn,fr).call(this,{type:"pending",context:$,variables:t,isPaused:o})}const A=await C(this,gs).start();return await((f=(d=C(this,rt).config).onSuccess)==null?void 0:f.call(d,A,t,this.state.context,this,r)),await((h=(p=this.options).onSuccess)==null?void 0:h.call(p,A,t,this.state.context,r)),await((g=(b=C(this,rt).config).onSettled)==null?void 0:g.call(b,A,null,this.state.variables,this.state.context,this,r)),await((y=(x=this.options).onSettled)==null?void 0:y.call(x,A,null,t,this.state.context,r)),ae(this,bn,fr).call(this,{type:"success",data:A}),A}catch(A){try{throw await((w=(m=C(this,rt).config).onError)==null?void 0:w.call(m,A,t,this.state.context,this,r)),await((S=(E=this.options).onError)==null?void 0:S.call(E,A,t,this.state.context,r)),await((j=(T=C(this,rt).config).onSettled)==null?void 0:j.call(T,void 0,A,this.state.variables,this.state.context,this,r)),await((I=(N=this.options).onSettled)==null?void 0:I.call(N,void 0,A,t,this.state.context,r)),A}finally{ae(this,bn,fr).call(this,{type:"error",error:A})}}finally{C(this,rt).runNext(this)}}},va=new WeakMap,wn=new WeakMap,rt=new WeakMap,gs=new WeakMap,bn=new WeakSet,fr=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};
276case"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),Ke.batch(()=>{C(this,wn).forEach(r=>{r.onMutationUpdate(t)}),C(this,rt).notify({mutation:this,type:"updated",action:t})})},K0);function o_(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Wn,nn,xa,G0,i_=(G0=class extends _a{constructor(t={}){super();X(this,Wn);X(this,nn);X(this,xa);this.config=t,B(this,Wn,new Set),B(this,nn,new Map),B(this,xa,0)}build(t,n,r){const s=new s_({client:t,mutationCache:this,mutationId:++Wa(this,xa)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){C(this,Wn).add(t);const n=dl(t);if(typeof n=="string"){const r=C(this,nn).get(n);r?r.push(t):C(this,nn).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(C(this,Wn).delete(t)){const n=dl(t);if(typeof n=="string"){const r=C(this,nn).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&C(this,nn).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=dl(t);if(typeof n=="string"){const r=C(this,nn).get(n),s=r==null?void 0:r.find(o=>o.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=dl(t);if(typeof n=="string"){const s=(r=C(this,nn).get(n))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ke.batch(()=>{C(this,Wn).forEach(t=>{this.notify({type:"removed",mutation:t})}),C(this,Wn).clear(),C(this,nn).clear()})}getAll(){return Array.from(C(this,Wn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>cy(n,r))}findAll(t={}){return this.getAll().filter(n=>cy(t,n))}notify(t){Ke.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ke.batch(()=>Promise.all(t.map(n=>n.continue().catch(pt))))}},Wn=new WeakMap,nn=new WeakMap,xa=new WeakMap,G0);function dl(e){var t;return(t=e.options.scope)==null?void 0:t.id}var En,Q0,a_=(Q0=class extends _a{constructor(t={}){super();X(this,En);this.config=t,B(this,En,new Map)}build(t,n,r){const s=n.queryKey,o=n.queryHash??Lh(s,n);let i=this.get(o);return i||(i=new Jk({client:t,queryKey:s,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(i)),i}add(t){C(this,En).has(t.queryHash)||(C(this,En).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,En).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,En).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ke.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,En).get(t)}getAll(){return[...C(this,En).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>ly(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>ly(t,r)):n}notify(t){Ke.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ke.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ke.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},En=new WeakMap,Q0),Pe,Sr,jr,Oo,Io,Tr,Mo,Fo,Y0,l_=(Y0=class{constructor(e={}){X(this,Pe);X(this,Sr);X(this,jr);X(this,Oo);X(this,Io);X(this,Tr);X(this,Mo);X(this,Fo);B(this,Pe,e.queryCache||new a_),B(this,Sr,e.mutationCache||new i_),B(this,jr,e.defaultOptions||{}),B(this,Oo,new Map),B(this,Io,new Map),B(this,Tr,0)}mount(){Wa(this,Tr)._++,C(this,Tr)===1&&(B(this,Mo,Uh.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Pe).onFocus())})),B(this,Fo,vc.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Pe).onOnline())})))}unmount(){var e,t;Wa(this,Tr)._--,C(this,Tr)===0&&((e=C(this,Mo))==null||e.call(this),B(this,Mo,void 0),(t=C(this,Fo))==null||t.call(this),B(this,Fo,void 0))}isFetching(e){return C(this,Pe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,Sr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Pe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=C(this,Pe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime($r(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return C(this,Pe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=C(this,Pe).get(r.queryHash),o=s==null?void 0:s.state.data,i=Bk(t,o);if(i!==void 0)return C(this,Pe).build(this,r).setData(i,{...n,manual:!0})}
276setQueriesData(e,t,n){return Ke.batch(()=>C(this,Pe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Pe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,Pe);Ke.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,Pe);return Ke.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ke.batch(()=>C(this,Pe).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(pt).catch(pt)}invalidateQueries(e,t={}){return Ke.batch(()=>(C(this,Pe).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ke.batch(()=>C(this,Pe).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let o=s.fetch(void 0,n);return n.throwOnError||(o=o.catch(pt)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(pt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=C(this,Pe).build(this,t);return n.isStaleByTime($r(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(pt).catch(pt)}fetchInfiniteQuery(e){return e.behavior=my(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(pt).catch(pt)}ensureInfiniteQueryData(e){return e.behavior=my(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return vc.isOnline()?C(this,Sr).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,Pe)}getMutationCache(){return C(this,Sr)}getDefaultOptions(){return C(this,jr)}setDefaultOptions(e){B(this,jr,e)}setQueryDefaults(e,t){C(this,Oo).set(aa(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,Oo).values()],n={};return t.forEach(r=>{la(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){C(this,Io).set(aa(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,Io).values()],n={};return t.forEach(r=>{la(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,jr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Lh(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===zh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,jr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,Pe).clear(),C(this,Sr).clear()}},Pe=new WeakMap,Sr=new WeakMap,jr=new WeakMap,Oo=new WeakMap,Io=new WeakMap,Tr=new WeakMap,Mo=new WeakMap,Fo=new WeakMap,Y0),Dw=v.createContext(void 0),Lw=e=>{const t=v.useContext(Dw);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},c_=({client:e,children:t})=>(v.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(Dw.Provider,{value:e,children:t})),zw=v.createContext(!1),u_=()=>v.useContext(zw);zw.Provider;function d_(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var f_=v.createContext(d_()),p_=()=>v.useContext(f_),h_=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},m_=e=>{v.useEffect(()=>{e.clearReset()},[e])},g_=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(s&&e.data===void 0||Kk(n,[e.error,r])),y_=e=>{if(e.suspense){const n=s=>s==="static"?s:Math.max(s??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...s)=>n(r(...s)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},v_=(e,t)=>
276e.isLoading&&e.isFetching&&!t,x_=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,yy=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function w_(e,t,n){var f,p,h,b,g;const r=u_(),s=p_(),o=Lw(),i=o.defaultQueryOptions(e);(p=(f=o.getDefaultOptions().queries)==null?void 0:f._experimental_beforeQuery)==null||p.call(f,i),i._optimisticResults=r?"isRestoring":"optimistic",y_(i),h_(i,s),m_(s);const a=!o.getQueryCache().get(i.queryHash),[c]=v.useState(()=>new t(o,i)),u=c.getOptimisticResult(i),d=!r&&e.subscribed!==!1;if(v.useSyncExternalStore(v.useCallback(x=>{const y=d?c.subscribe(Ke.batchCalls(x)):pt;return c.updateResult(),y},[c,d]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),v.useEffect(()=>{c.setOptions(i)},[i,c]),x_(i,u))throw yy(i,c,s);if(g_({result:u,errorResetBoundary:s,throwOnError:i.throwOnError,query:o.getQueryCache().get(i.queryHash),suspense:i.suspense}))throw u.error;if((b=(h=o.getDefaultOptions().queries)==null?void 0:h._experimental_afterQuery)==null||b.call(h,i,u),i.experimental_prefetchInRender&&!ks&&v_(u,r)){const x=a?yy(i,c,s):(g=o.getQueryCache().get(i.queryHash))==null?void 0:g.promise;x==null||x.catch(pt).finally(()=>{c.updateResult()})}return i.notifyOnChangeProps?u:c.trackResult(u)}function Uw(e,t){return w_(e,e_)}/** 277 * @remix-run/router v1.23.0 278 * 279 * Copyright (c) Remix Software Inc. 280 * 281 * This source code is licensed under the MIT license found in the 282 * LICENSE.md file in the root directory of this source tree. 283 * 284 * @license MIT 285 */function ca(){return ca=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ca.apply(this,arguments)}var kr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(kr||(kr={}));const vy="popstate";function b_(e){e===void 0&&(e={});function t(r,s){let{pathname:o,search:i,hash:a}=r.location;return Xf("",{pathname:o,search:i,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:xc(s)}return S_(t,n,null,e)}function Fe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Bw(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function E_(){return Math.random().toString(36).substr(2,8)}function xy(e,t){return{usr:e.state,key:e.key,idx:t}}function Xf(e,t,n,r){return n===void 0&&(n=null),ca({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ni(t):t,{state:n,key:t&&t.key||r||E_()})}function xc(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 ni(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 S_(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:o=!1}=r,i=s.history,a=kr.Pop,c=null,u=d();u==null&&(u=0,i.replaceState(ca({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){a=kr.Pop;let x=d(),y=x==null?null:x-u;u=x,c&&c({action:a,location:g.location,delta:y})}function p(x,y){a=kr.Push;let m=Xf(g.location,x,y);u=d()+1;let w=xy(m,u),E=g.createHref(m);try{i.pushState(w,"",E)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;s.location.assign(E)}o&&c&&c({action:a,location:g.location,delta:1})}function h(x,y){a=kr.Replace;let m=Xf(g.location,x,y);u=d();let w=xy(m,u),E=g.createHref(m);i.replaceState(w,"",E),o&&c&&c({action:a,location:g.location,delta:0})}function b(x){let y=s.location.origin!=="null"?s.location.origin:s.location.href,m=typeof x=="string"?x:xc(x);return m=m.replace(/ $/,"%20"),Fe(y,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,y)}let g={get action(){return a},get location(){return e(s,i)}
vendor: 2,616 bytes, line 285
285,listen(x){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(vy,f),c=x,()=>{s.removeEventListener(vy,f),c=null}},createHref(x){return t(s,x)},createURL:b,encodeLocation(x){let y=b(x);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:h,go(x){return i.go(x)}};return g}var wy;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(wy||(wy={}));function j_(e,t,n){return n===void 0&&(n="/"),T_(e,t,n)}function T_(e,t,n,r){let s=typeof t=="string"?ni(t):t,o=Wh(s.pathname||"/",n);if(o==null)return null;let i=Ww(e);C_(i);let a=null;for(let c=0;a==null&&c<i.length;++c){let u=D_(o);a=M_(i[c],u)}return a}function Ww(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(o,i,a)=>{let c={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};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=Dr([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(Fe(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Ww(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:O_(u,o.index),routesMeta:d})};return e.forEach((o,i)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))s(o,i);else for(let c of Vw(o.path))s(o,i,c)}),t}function Vw(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return s?[o,""]:[o];let i=Vw(r.join("/")),a=[];return a.push(...i.map(c=>c===""?o:[o,c].join("/"))),s&&a.push(...i),a.map(c=>e.startsWith("/")&&c===""?"/":c)}function C_(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:I_(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const N_=/^:[\w-]+$/,k_=3,__=2,R_=1,P_=10,A_=-2,by=e=>e==="*";function O_(e,t){let n=e.split("/"),r=n.length;return n.some(by)&&(r+=A_),t&&(r+=__),n.filter(s=>!by(s)).reduce((s,o)=>s+(N_.test(o)?k_:o===""?R_:P_),r)}function I_(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function M_(e,t,n){let{routesMeta:r}=e,s={},o="/",i=[];for(let a=0;a<r.length;++a){let c=r[a],u=a===r.length-1,d=o==="/"?t:t.slice(o.length)||"/",f=F_({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),p=c.route;if(!f)return null;
vendor: 6,834 bytes, lines 285-294
285Object.assign(s,f.params),i.push({params:s,pathname:Dr([o,f.pathname]),pathnameBase:B_(Dr([o,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(o=Dr([o,f.pathnameBase]))}return i}function F_(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=$_(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let o=s[0],i=o.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:p,isOptional:h}=d;if(p==="*"){let g=a[f]||"";i=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const b=a[f];return h&&!b?u[p]=void 0:u[p]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:i,pattern:e}}function $_(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Bw(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=[],s="^"+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:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function D_(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Bw(!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 Wh(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 L_(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?ni(e):e;return{pathname:n?n.startsWith("/")?n:z_(n,t):t,search:W_(r),hash:V_(s)}}function z_(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function hd(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 U_(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Hw(e,t){let n=U_(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function qw(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=ni(e):(s=ca({},e),Fe(!s.pathname||!s.pathname.includes("?"),hd("?","pathname","search",s)),Fe(!s.pathname||!s.pathname.includes("#"),hd("#","pathname","hash",s)),Fe(!s.search||!s.search.includes("#"),hd("#","search","hash",s)));let o=e===""||s.pathname==="",i=o?"/":s.pathname,a;if(i==null)a=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),f-=1;s.pathname=p.join("/")}a=f>=0?t[f]:"/"}let c=L_(s,a),u=i&&i!=="/"&&i.endsWith("/"),d=(o||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const Dr=e=>e.join("/").replace(/\/\/+/g,"/"),B_=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),W_=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,V_=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function H_(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Kw=["post","put","patch","delete"];new Set(Kw);const q_=["get",...Kw];new Set(q_);/** 286 * React Router v6.30.1 287 * 288 * Copyright (c) Remix Software Inc. 289 * 290 * This source code is licensed under the MIT license found in the 291 * LICENSE.md file in the root directory of this source tree. 292 * 293 * @license MIT 294 */function ua(){return ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ua.apply(this,arguments)}const Vh=v.createContext(null),K_=v.createContext(null),$s=v.createContext(null),tu=v.createContext(null),Ds=v.createContext({outlet:null,matches:[],isDataRoute:!1}),Gw=v.createContext(null);function G_(e,t){let{relative:n}=t===void 0?{}:t;Ra()||Fe(!1);let{basename:r,navigator:s}=v.useContext($s),{hash:o,pathname:i,search:a}=Yw(e,{relative:n}),c=i;return r!=="/"&&(c=i==="/"?r:Dr([r,i])),s.createHref({pathname:c,search:a,hash:o})}function Ra(){return v.useContext(tu)!=null}function Pa(){return Ra()||Fe(!1),v.useContext(tu).location}function Qw(e){v.useContext($s).static||v.useLayoutEffect(e)}function Q_(){let{isDataRoute:e}=v.useContext(Ds);return e?l3():Y_()}function Y_(){Ra()||Fe(!1);let e=v.useContext(Vh),{basename:t,future:n,navigator:r}=v.useContext($s),{matches:s}=v.useContext(Ds),{pathname:o}=Pa(),i=JSON.stringify(Hw(s,n.v7_relativeSplatPath)),a=v.useRef(!1);return Qw(()=>{a.current=!0}),v.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=qw(u,JSON.parse(i),o,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Dr([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,o,e])}function Yw(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=v.useContext($s),{matches:s}=v.useContext(Ds),{pathname:o}=Pa(),i=JSON.stringify(Hw(s,r.v7_relativeSplatPath));return v.useMemo(()=>qw(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function X_(e,t){return Z_(e,t)}function Z_(e,t,n,r){Ra()||Fe(!1);let{navigator:s}=v.useContext($s),{matches:o}=v.useContext(Ds),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=Pa(),d;if(t){var f;let x=typeof t=="string"?ni(t):t;c==="/"||(f=x.pathname)!=null&&f.startsWith(c)||Fe(!1),d=x}else d=u;let p=d.pathname||"/",h=p;if(c!=="/"){let x=c.replace(/^\//,"").split("/");h="/"+p.replace(/^\//,"").split("/").slice(x.length).join("/")}let b=j_(e,{pathname:h}),g=r3(b&&b.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:Dr([c,s.encodeLocation?s.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?c:Dr([c,s.encodeLocation?s.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&g?v.createElement(tu.Provider,{value:{location:ua({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:kr.Pop}},g):g}function J_(){let e=a3(),t=H_(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application
294Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:s},n):null,null)}const e3=v.createElement(J_,null);class t3 extends v.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?v.createElement(Ds.Provider,{value:this.props.routeContext},v.createElement(Gw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function n3(e){let{routeContext:t,match:n,children:r}=e,s=v.useContext(Vh);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(Ds.Provider,{value:t},r)}function r3(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=(s=n)==null?void 0:s.errors;if(a!=null){let d=i.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||Fe(!1),i=i.slice(0,Math.min(i.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:p,errors:h}=n,b=f.route.loader&&p[f.route.id]===void 0&&(!h||h[f.route.id]===void 0);if(f.route.lazy||b){c=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,f,p)=>{let h,b=!1,g=null,x=null;n&&(h=a&&f.route.id?a[f.route.id]:void 0,g=f.route.errorElement||e3,c&&(u<0&&p===0?(c3("route-fallback"),b=!0,x=null):u===p&&(b=!0,x=f.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,p+1)),m=()=>{let w;return h?w=g:b?w=x:f.route.Component?w=v.createElement(f.route.Component,null):f.route.element?w=f.route.element:w=d,v.createElement(n3,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:n!=null},children:w})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?v.createElement(t3,{location:n.location,revalidation:n.revalidation,component:g,error:h,children:m(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):m()},null)}var Xw=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Xw||{}),Zw=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}(Zw||{});function s3(e){let t=v.useContext(Vh);return t||Fe(!1),t}function o3(e){let t=v.useContext(K_);return t||Fe(!1),t}function i3(e){let t=v.useContext(Ds);return t||Fe(!1),t}function Jw(e){let t=i3(),n=t.matches[t.matches.length-1];return n.route.id||Fe(!1),n.route.id}function a3(){var e;let t=v.useContext(Gw),n=o3(),r=Jw();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function l3(){let{router:e}=s3(Xw.UseNavigateStable),t=Jw(Zw.UseNavigateStable),n=v.useRef(!1);return Qw(()=>{n.current=!0}),v.useCallback(function(s,o){o===void 0&&(o={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,ua({fromRouteId:t},o)))},[e,t])}const Ey={};function c3(e,t,n){Ey[e]||(Ey[e]=!0)}function u3(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Zt(e){Fe(!1)}function d3(e){let{basename:t="/",children:n=null,location:r,navigationType:s=kr.Pop,navigator:o,static:i=!1,future:a}=e;Ra()&&Fe(!1);let c=t.replace(/^\/*/,"/"),u=v.useMemo(()=>({basename:c,navigator:o,static:i,future:ua({v7_relativeSplatPath:!1},a)}),[c,a,o,i]);typeof r=="string"&&(r=ni(r));let{pathname:d="/",search:f="",hash:p="",state:h=null,key:b="default"}=r,g=v.useMemo(()=>{let x=Wh(d,c);return x==null?null:{location:{pathname:x,search:f,hash:p,state:h,key:b},navigationType:s}},[c,d,f,p,h,b,s]);return g==null?null:v.createElement($s.Provider,{value:u},v.createElement(tu.Provider,{children:n,value:g}))}function f3(e){let{children:t,location:n}=e;return X_(Zf(t),n)}new Promise(()=>{});function Zf(e,t){t===void 0&&(t=[]);let n=[];
294return v.Children.forEach(e,(r,s)=>{if(!v.isValidElement(r))return;let o=[...t,s];if(r.type===v.Fragment){n.push.apply(n,Zf(r.props.children,o));return}r.type!==Zt&&Fe(!1),!r.props.index||!r.props.children||Fe(!1);let i={id:r.props.id||o.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=Zf(r.props.children,o)),n.push(i)}),n}/** 295 * React Router DOM v6.30.1 296 * 297 * Copyright (c) Remix Software Inc. 298 * 299 * This source code is licensed under the MIT license found in the 300 * LICENSE.md file in the root directory of this source tree. 301 * 302 * @license MIT 303 */function Jf(){return Jf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jf.apply(this,arguments)}function p3(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function h3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function m3(e,t){return e.button===0&&(!t||t==="_self")&&!h3(e)}const g3=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],y3="6";try{window.__reactRouterVersion=y3}catch{}const v3="startTransition",Sy=Op[v3];function x3(e){let{basename:t,children:n,future:r,window:s}=e,o=v.useRef();o.current==null&&(o.current=b_({window:s,v5Compat:!0}));let i=o.current,[a,c]=v.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},d=v.useCallback(f=>{u&&Sy?Sy(()=>c(f)):c(f)},[c,u]);return v.useLayoutEffect(()=>i.listen(d),[i,d]),v.useEffect(()=>u3(r),[r]),v.createElement(d3,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i,future:r})}const w3=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",b3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ep=v.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:o,replace:i,state:a,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,p=p3(t,g3),{basename:h}=v.useContext($s),b,g=!1;if(typeof u=="string"&&b3.test(u)&&(b=u,w3))try{let w=new URL(window.location.href),E=u.startsWith("//")?new URL(w.protocol+u):new URL(u),S=Wh(E.pathname,h);E.origin===w.origin&&S!=null?u=S+E.search+E.hash:g=!0}catch{}let x=G_(u,{relative:s}),y=E3(u,{replace:i,state:a,target:c,preventScrollReset:d,relative:s,viewTransition:f});function m(w){r&&r(w),w.defaultPrevented||y(w)}return v.createElement("a",Jf({},p,{href:b||x,onClick:g||o?r:m,ref:n,target:c}))});var jy;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(jy||(jy={}));var Ty;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ty||(Ty={}));function E3(e,t){let{target:n,replace:r,state:s,preventScrollReset:o,relative:i,viewTransition:a}=t===void 0?{}:t,c=Q_(),u=Pa(),d=Yw(e,{relative:i});return v.useCallback(f=>{if(m3(f,n)){f.preventDefault();let p=r!==void 0?r:xc(u)===xc(d);c(e,{replace:p,state:s,preventScrollReset:o,relative:i,viewTransition:a})}},[u,c,d,r,s,n,e,o,i,a])}const fl="h-6 w-6",S3={google:l.jsx("img",{src:"/store-badges/google-play-icon.svg",alt:"",className:fl}),apple:l.jsx("svg",{viewBox:"0 0 24 24",className:fl,"aria-hidden":"true",children:l.jsx("path",{fill:"#111",d:"M16.37 1.43c0 1.14-.5 2.27-1.18 3.08-.74.9-1.99 1.57-2.99 1.57-.12 0-.23-.02-.3-.03-.01-.06-.04-.22-.04-.39 0-1.15.57-2.27 1.2-2.98.81-.94 2.15-1.64 3.25-1.68.03.13.06.28.06.43zm4.56 15.71c-.03.07-.46 1.58-1.52 3.12-.94 1.34-1.94 2.71-3.43 2.71-1.52 0-1.9-.88-3.63-.88-1.7 0-2.3.91-3.67.91-1.38 0-2.33-1.26-3.43-2.8-1.29-1.82-2.32-4.63-2.32-7.28 0-4.28 2.8-6.55 5.55-6.55 1.45 0 2.68.95 3.6.95.88 0 2.25-1.01 3.9-1.01.61 0 2.89.06 4.38 2.19-.13.09-2.39 1.37-2.39 4.19 0 3.26 2.86 4.42 2.96 4.45z"})}),chrome:l.jsx("img",{src:"/store-badges/chrome-icon.svg",alt:"",className:fl}),microsoft:l.jsxs("svg",{viewBox:"0 0 24 24",className:fl,"aria-hidden":"true",children:[l.jsx("path",{fill:"#F25022",d:"M3 3h8.2v8.2H3z"}),l.jsx("path",{fill:"#7FBA00",d:"M12.8 3H21v8.2h-8.2z"}),l.jsx("path",{fill:"#00A4EF",d:"M3 12.8h8.2V21H3z"}),l.jsx("path",{fill:"#FFB900",d:"M12.8 12.8H21V21h-8.2z"})]})},Cy=({id:e})=>S3[e],tp=[{id:"google",href:"https://play.google.com/store/apps/details?id=com.tajir.wallet.app&pli=1",src:"/store-badges/google-play.png",label:"Get it on Google Play"},{id:"apple",href:"https://apps.apple.com/pk/app/tajir-wallet/id6749449673",src:"/store-badges/app-store.png",label:"Download on the App Store"},{id:"chrome",href:"https://chromewebstore.google.com/detail/tajir-wallet/lfbobhllejnegkgdlblkimaojamdmehc",src:"/store-badges/chrome-web-store.png",label:"Available in the Chrome Web Store"},{id:"microsoft",href:"https://apps.microsoft.com/detail/9P7BQ621PKTB?hl=en-u
303s&gl=US&ocid=pdpshare",src:"/store-badges/microsoft.png",label:"Download from the Microsoft Store"}],nu=()=>{const[e,t]=v.useState(!1);return v.useEffect(()=>(document.body.style.overflow=e?"hidden":"",()=>{document.body.style.overflow=""}),[e]),l.jsxs("header",{className:"fixed top-0 left-0 right-0 z-50 glass border-b border-white/20",children:[l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:l.jsxs("div",{className:"flex justify-between items-center h-20",children:[l.jsxs("div",{className:"flex items-center space-x-3 group animate-slide-in-left",children:[l.jsx("div",{className:"w-12 h-12 flex items-center justify-center transform group-hover:rotate-12 group-hover:animate-wiggle transition-transform duration-300",children:l.jsx("img",{src:"/lovable-uploads/Tajir wallet.png",alt:"Tajir Wallet Logo",className:"w-10 h-10"})}),l.jsxs("div",{className:"flex flex-col",children:[l.jsx("span",{className:"text-2xl font-bold text-shimmer",children:"Tajir Wallet"}),l.jsx("span",{className:"text-xs text-black -mt-1",children:"Secure Crypto Wallet"})]})]}),l.jsx("nav",{className:"hidden md:flex items-center space-x-1 animate-fade-in stagger-2",children:["Features","Ecosystem","Security","Assets","Support"].map((n,r)=>{let s=`/#${n.toLowerCase()}`;return n.toLowerCase()==="ecosystem"&&(s="/#rewards"),n.toLowerCase()==="support"&&(s="/support"),l.jsxs("a",{href:s,className:`px-4 py-2 text-black hover:text-[#1B60E7] rounded-xl transition-all duration-300 hover:bg-white/20 interactive-element relative group animate-slide-in-up stagger-${r+1}`,children:[n,l.jsx("span",{className:"absolute inset-x-0 bottom-0 h-0.5 bg-gradient-to-r from-transparent via-[#1B60E7] to-transparent transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300"})]},n)})}),l.jsx("div",{className:"hidden xl:flex items-center gap-2 animate-slide-in-right",children:tp.map(n=>l.jsx("a",{href:n.href,target:"_blank",rel:"noopener noreferrer","aria-label":n.label,className:"flex h-10 w-10 items-center justify-center rounded-xl bg-white transition-transform duration-200 hover:scale-105",children:l.jsx(Cy,{id:n.id})},n.id))}),l.jsx("button",{className:"xl:hidden p-3 rounded-xl hover:bg-white/20 transition-colors interactive-element group animate-slide-in-right",onClick:()=>t(!e),children:e?l.jsx(pc,{className:"w-6 h-6 group-hover:animate-wiggle"}):l.jsx(SC,{className:"w-6 h-6 group-hover:animate-wiggle"})})]})}),e&&Zo.createPortal(l.jsxs("div",{className:"xl:hidden fixed inset-0 z-[60] flex flex-col bg-white",children:[l.jsxs("div",{className:"flex h-20 items-center justify-between px-4",children:[l.jsxs("div",{className:"flex items-center space-x-3",children:[l.jsx("img",{src:"/lovable-uploads/Tajir wallet.png",alt:"Tajir Wallet Logo",className:"h-10 w-10"}),l.jsxs("div",{className:"flex flex-col",children:[l.jsx("span",{className:"text-2xl font-bold text-shimmer",children:"Tajir Wallet"}),l.jsx("span",{className:"text-xs text-black -mt-1",children:"Secure Crypto Wallet"})]})]}),l.jsx("button",{className:"p-3 rounded-xl hover:bg-gray-100",onClick:()=>t(!1),"aria-label":"Close menu",children:l.jsx(pc,{className:"w-6 h-6"})})]}),l.jsxs("nav",{className:"flex flex-1 flex-col overflow-y-auto px-6 pb-8",children:[["Features","Ecosystem","Security","Assets","Support"].map((n,r)=>{let s=`/#${n.toLowerCase()}`;return n.toLowerCase()==="ecosystem"&&(s="/#rewards"),n.toLowerCase()==="support"&&(s="/support"),l.jsxs("a",{href:s,onClick:()=>t(!1),className:`relative px-4 py-3 text-gray-800 hover:text-[#1B60E7] rounded-xl transition-all duration-300 hover:bg-white/20 interactive-element group animate-slide-in-left stagger-${r+1}`,children:[n,l.jsx("span",{className:"absolute inset-x-0 bottom-0 h-0.5 bg-gradient-to-r from-transparent via-[#1B60E7] to-transparent transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300"})]},n)}),l.jsx("div",{className:"mt-auto flex items-center justify-center gap-3 border-t border-gray-100 pt-6",children:tp.map(n=>l.jsx("a",{href:n.href,target:"_blank",rel:"noopener noreferrer","aria-label":n.label,onClick:()=>t(!1),className:"flex h-12 w-12 items-center justify-center rounded-xl border border-[#A6A6A6] bg-white",children:l.jsx(Cy,{id:n.id})},n.id))})]})]}),document.body)]})},j3=()=>l.jsxs("section",{className:"min-h-screen pt-24 pb-20 relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 gradient-mesh opacity-60"}),l.jsx("div",{className:"absolute top-20 left-10 w-32 h-32 bg-gradient-to-r from-blue-400/20 to-purple-400/20 rounded-full animate-morphing-blob"}),l.jsx("div",{className:"absolute bottom-40 right-20 w-24 h-24 bg-gradient-to-r from-purple-400/20 to-pink-400/20 rounded-full animate-bounce-gentle"}),l.jsx("div",{className:"absolute top-1/2 left-1/4 w-16 h-16 bg-gradient-to-r from-green-400/20 to-blue-400/20 rounded-full animate-rotate-slow"}),l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center min-h-[80vh]",children:[l.jsxs("div",{className:"animate-slide-in-left space-y-8",children:[l.jsxs("div",{className:"space-y-6",children:[l.jsxs("h1",{className:"text-6xl lg:text-7xl font-bold leading-tight",children:[l.jsx("span",{className:"block text-gray-900 animate-slide-in-up stagger-1",children:"The Intelligent"}),l.jsx("span",{className:"block text-shimmer animate-slide-in-up stagger-2",children:"Web3 Ecosystem"}),l.jsx("span",{className:"block text-gray-700 text-4xl lg:text-5xl mt-2 animate-slide-in-up stagger-3",children:"With AI & Rewards"})]}),l.jsx("p",{className:"text-xl text-gray-600 max-w-xl leading-relaxed animate-fade-in stagger-4",children:"Tajir Wallet is more than just a multi-chain wallet. It's an AI-powered ecosystem that protects your trades, rewards your loyalty, and connects you with the global Web3 community through secure chat and digital identity."})]}),l.jsx("div",{className:"grid w-fit grid-cols-2 gap-3 animate-slide-in-up stagger-5",children:tp.map(e=>l.jsx("a",{href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":e.label,className:"inline-flex h-[48px] w-[150px] items-center justify-center transition-transform duration-200 hover:scale-[1.03]",children:l.jsx("img",{src:e.src,alt:"",className:"h-full w-full object-contain"})},e.label))}),l.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-6 pt-8",children:[{value:"10K+",label:"Active Users",icon:Rf},{value:"2K+",label:"Crypto Assets",icon:Gc},{value:"99.9%",label:"Uptime",icon:Na},{value:"A+",label:"Security Rating",icon:_h}
303].map((e,t)=>l.jsxs("div",{className:`glass-card p-4 rounded-2xl text-center group hover:bg-white/25 transition-all duration-300 interactive-element animate-card-hover animate-slide-in-up stagger-${t+1}`,children:[l.jsx(e.icon,{className:"w-6 h-6 mx-auto mb-2 text-[#201743] group-hover:scale-110 group-hover:animate-wiggle transition-transform"}),l.jsx("div",{className:"text-2xl font-bold text-[#201743]",children:e.value}),l.jsx("div",{className:"text-sm text-gray-600",children:e.label})]},t))})]}),l.jsx("div",{className:"relative lg:ml-16 animate-slide-in-right flex justify-evenly",children:l.jsxs("div",{className:"relative group",children:[l.jsx("div",{className:"absolute max-w-[20rem] -inset-4 bg-gradient-to-r from-[#1B60E7]/20 to-[#0B0A2F]/20 rounded-3xl blur-2xl opacity-70 group-hover:opacity-100 transition-opacity duration-700 animate-pulse-glow"}),l.jsx("div",{className:"relative max-w-[21rem] bg-white/10 backdrop-blur-xl rounded-3xl p-0 shadow-2xl hover:scale-105 transition-all duration-700 animate-float",children:l.jsx("img",{src:"/lovable-uploads/updated.png",alt:"Tajir Wallet App Interface",className:"w-full max-w-[20rem] h-auto rounded-2xl"})})]})})]})})]}),T3=[{icon:AC,title:"Safe Swap",description:"Trade with confidence. Our intelligent risk engine simulates transactions, detects scam contracts, and provides real-time risk scoring before you execute any swap.",color:"from-rose-500 to-red-600",interactive:!0},{icon:yC,title:"Gas Optimizer",description:"Never overpay for gas again. Automatically route your transactions through the cheapest networks and chains. Built-in support for ERC-4337 gasless transactions.",color:"from-orange-400 to-amber-600",interactive:!0},{icon:MC,title:"Tajir ID",description:'Web3 simplified. Replace complex hex addresses with a human-readable identity like "ali.tajir". Your unified ID for sending, receiving, and social interactions.',color:"from-blue-500 to-indigo-600",interactive:!0},{icon:z1,title:"Follow Mode",description:"Socially-driven trading. Follow successful public wallets, monitor their activity in a clean social feed, and gain insights into winning portfolio strategies.",color:"from-purple-500 to-fuchsia-600",interactive:!0},{icon:U1,title:"Geo Offers",description:"Real-world crypto utility. Discover nearby merchants that accept crypto and unlock exclusive discounts, cashback, and NFT coupons based on your location.",color:"from-emerald-500 to-teal-600",interactive:!0},{icon:hC,title:"Subscription Tracker",description:"Stay ahead of expirations. Automatically monitor your ENS domains, NFT passes, and recurring Web3 memberships with timely renewal alerts.",color:"from-cyan-500 to-blue-600",interactive:!0}],C3=()=>l.jsxs("section",{id:"features",className:"py-24 relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-blue-50/50 via-purple-50/30 to-pink-50/50"}),l.jsx("div",{className:"absolute top-10 right-10 w-20 h-20 bg-gradient-to-r from-blue-400/10 to-purple-400/10 rounded-full animate-morphing-blob"}),l.jsx("div",{className:"absolute bottom-20 left-10 w-32 h-32 bg-gradient-to-r from-purple-400/10 to-pink-400/10 rounded-full animate-bounce-gentle"}),l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[l.jsxs("div",{className:"text-center mb-20 animate-slide-in-up",children:[l.jsx("div",{className:"inline-block glass-card px-6 py-3 rounded-full mb-6 animate-scale-pulse",children:l.jsx("span",{className:"text-sm font-semibold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent",children:"⨠Cutting-Edge Features"})}),l.jsxs("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold mb-6 animate-slide-in-up stagger-1",children:["Purpose-Built for the Evolving World of"," ",l.jsx("span",{className:"text-shimmer whitespace-nowrap",children:"Decentralized Trading"})]}),l.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto leading-relaxed animate-fade-in stagger-2",children:"A powerful decentralized exchange and asset management platform built for performance, security, and adaptability. Whether you're new to crypto or a seasoned trader, Tajir Wallet empowers every step of your Web3 journey."})]}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:T3.map((e,t)=>{const n=e.icon;return l.jsxs("div",{className:`group glass-card rounded-3xl p-8 hover:bg-white/25 transition-all duration-500 animate-card-hover interactive-element cursor-pointer animate-slide-in-up stagger-${t%6+1}`,children:[l.jsxs("div",{className:"relative mb-8",children:[l.jsx("div",{className:`w-16 h-16 bg-gradient-to-r ${e.color} rounded-2xl flex items-center justify-center group-hover:scale-110 group-hover:rotate-6 group-hover:animate-wiggle transition-all duration-300 shadow-lg`,children:l.jsx(n,{className:"w-8 h-8 text-white"})}),l.jsx("div",{className:"absolute -top-2 -right-2 w-6 h-6 bg-yellow-400 rounded-full opacity-0 group-hover:opacity-100 group-hover:animate-bounce-gentle transition-opacity duration-300 flex items-center justify-center",children:l.jsx("span",{className:"text-xs",children:"â¨"})})]}),l.jsx("h3",{className:"text-2xl font-bold mb-4 text-gray-900 group-hover:text-[#201743] transition-colors",children:e.title}),l.jsx("p",{className:"text-gray-600 leading-relaxed group-hover:text-gray-700 transition-colors",children:e.description})]},t)})})]})]}),N3=D1("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"}}),qo=v.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},o)=>{const i=r?gT:"button";return l.jsx(i,{className:Te(N3({variant:t,size:n,className:e})),ref:o,...s})});qo.displayName="Button";var md="focusScope.autoFocusOnMount",gd="focusScope.autoFocusOnUnmount",Ny={bubbles:!1,cancelable:!0},k3="FocusScope",eb=v.forwardRef((e,t)=>
vendor: 5,004 bytes, line 303
303{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:o,...i}=e,[a,c]=v.useState(null),u=_n(s),d=_n(o),f=v.useRef(null),p=Ye(t,g=>c(g)),h=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(r){let g=function(w){if(h.paused||!a)return;const E=w.target;a.contains(E)?f.current=E:pr(f.current,{select:!0})},x=function(w){if(h.paused||!a)return;const E=w.relatedTarget;E!==null&&(a.contains(E)||pr(f.current,{select:!0}))},y=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&pr(a)};document.addEventListener("focusin",g),document.addEventListener("focusout",x);const m=new MutationObserver(y);return a&&m.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",x),m.disconnect()}}},[r,a,h.paused]),v.useEffect(()=>{if(a){_y.add(h);const g=document.activeElement;if(!a.contains(g)){const y=new CustomEvent(md,Ny);a.addEventListener(md,u),a.dispatchEvent(y),y.defaultPrevented||(_3(I3(tb(a)),{select:!0}),document.activeElement===g&&pr(a))}return()=>{a.removeEventListener(md,u),setTimeout(()=>{const y=new CustomEvent(gd,Ny);a.addEventListener(gd,d),a.dispatchEvent(y),y.defaultPrevented||pr(g??document.body,{select:!0}),a.removeEventListener(gd,d),_y.remove(h)},0)}}},[a,u,d,h]);const b=v.useCallback(g=>{if(!n&&!r||h.paused)return;const x=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(x&&y){const m=g.currentTarget,[w,E]=R3(m);w&&E?!g.shiftKey&&y===E?(g.preventDefault(),n&&pr(w,{select:!0})):g.shiftKey&&y===w&&(g.preventDefault(),n&&pr(E,{select:!0})):y===m&&g.preventDefault()}},[n,r,h.paused]);return l.jsx(je.div,{tabIndex:-1,...i,ref:p,onKeyDown:b})});eb.displayName=k3;function _3(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(pr(r,{select:t}),document.activeElement!==n)return}function R3(e){const t=tb(e),n=ky(t,e),r=ky(t.reverse(),e);return[n,r]}function tb(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ky(e,t){for(const n of e)if(!P3(n,{upTo:t}))return n}function P3(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function A3(e){return e instanceof HTMLInputElement&&"select"in e}function pr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&A3(e)&&t&&e.select()}}var _y=O3();function O3(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Ry(e,t),e.unshift(t)},remove(t){var n;e=Ry(e,t),(n=e[0])==null||n.resume()}}}function Ry(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function I3(e){return e.filter(t=>t.tagName!=="A")}var yd=0;function M3(){v.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Py()),document.body.insertAdjacentElement("beforeend",e[1]??Py()),yd++,()=>{yd===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),yd--}},[])}function Py(){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}var jn=function(){return jn=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},jn.apply(this,arguments)};function nb(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 s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function F3(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,o;r<s;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var Fl="right-scroll-bar-position",$l="width-before-scroll-bar",$3="with-scroll-bars-hidden",D3="--removed-body-scroll-bar-size";function vd(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function L3(e,t){var n=v.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=t,n.facade}var z3=typeof window<"u"?v.useLayoutEffect:v.useEffect,Ay=new WeakMap;function U3(e,t){var n=L3(null,function(r){return e.forEach(function(s){return vd(s,r)})});return z3(function(){var r=Ay.get(n);if(r){var s=new Set(r),o=new Set(e),i=n.current;
vendor: 4,196 bytes, lines 303-318
303s.forEach(function(a){o.has(a)||vd(a,null)}),o.forEach(function(a){s.has(a)||vd(a,i)})}Ay.set(n,e)},[e]),n}function B3(e){return e}function W3(e,t){t===void 0&&(t=B3);var n=[],r=!1,s={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(o){var i=t(o,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(o){for(r=!0;n.length;){var i=n;n=[],i.forEach(o)}n={push:function(a){return o(a)},filter:function(){return n}}},assignMedium:function(o){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(o),i=n}var c=function(){var d=i;i=[],d.forEach(o)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(d){i.push(d),u()},filter:function(d){return i=i.filter(d),n}}}};return s}function V3(e){e===void 0&&(e={});var t=W3(null);return t.options=jn({async:!0,ssr:!1},e),t}var rb=function(e){var t=e.sideCar,n=nb(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 v.createElement(r,jn({},n))};rb.isSideCarExport=!0;function H3(e,t){return e.useMedium(t),rb}var sb=V3(),xd=function(){},ru=v.forwardRef(function(e,t){var n=v.useRef(null),r=v.useState({onScrollCapture:xd,onWheelCapture:xd,onTouchMoveCapture:xd}),s=r[0],o=r[1],i=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noRelative,b=e.noIsolation,g=e.inert,x=e.allowPinchZoom,y=e.as,m=y===void 0?"div":y,w=e.gapMode,E=nb(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=p,T=U3([n,t]),j=jn(jn({},E),s);return v.createElement(v.Fragment,null,d&&v.createElement(S,{sideCar:sb,removeScrollBar:u,shards:f,noRelative:h,noIsolation:b,inert:g,setCallbacks:o,allowPinchZoom:!!x,lockRef:n,gapMode:w}),i?v.cloneElement(v.Children.only(a),jn(jn({},j),{ref:T})):v.createElement(m,jn({},j,{className:c,ref:T}),a))});ru.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ru.classNames={fullWidth:$l,zeroRight:Fl};var q3=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function K3(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=q3();return t&&e.setAttribute("nonce",t),e}function G3(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Q3(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Y3=function(){var e=0,t=null;return{add:function(n){e==0&&(t=K3())&&(G3(t,n),Q3(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},X3=function(){var e=Y3();return function(t,n){v.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ob=function(){var e=X3(),t=function(n){var r=n.styles,s=n.dynamic;return e(r,s),null};return t},Z3={left:0,top:0,right:0,gap:0},wd=function(e){return parseInt(e||"",10)||0},J3=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[wd(n),wd(r),wd(s)]},eR=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Z3;var t=J3(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])}},tR=ob(),jo="data-scroll-locked",nR=function(e,t,n,r){var s=e.left,o=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),` 304 .`.concat($3,` { 305 overflow: hidden `).concat(r,`; 306 padding-right: `).concat(a,"px ").concat(r,`; 307 } 308 body[`).concat(jo,`] { 309 overflow: hidden `).concat(r,`; 310 overscroll-behavior: contain; 311 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 312 padding-left: `.concat(s,`px; 313 padding-top: `).concat(o,`px; 314 padding-right: `).concat(i,`px; 315 margin-left:0; 316 margin-top:0; 317 margin-right: `).concat(a,"px ").concat(r,`; 318 `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
318")].filter(Boolean).join(""),` 319 } 320 321 .`).concat(Fl,` { 322 right: `).concat(a,"px ").concat(r,`; 323 } 324 325 .`).concat($l,` { 326 margin-right: `).concat(a,"px ").concat(r,`; 327 } 328 329 .`).concat(Fl," .").concat(Fl,` { 330 right: 0 `).concat(r,`; 331 } 332 333 .`).concat($l," .").concat($l,` { 334 margin-right: 0 `).concat(r,`; 335 } 336 337 body[`).concat(jo,`] { 338 `).concat(D3,": ").concat(a,`px; 339 } 340`)},Oy=function(){var e=parseInt(document.body.getAttribute(jo)||"0",10);return isFinite(e)?e:0},rR=function(){v.useEffect(function(){return document.body.setAttribute(jo,(Oy()+1).toString()),function(){var e=Oy()-1;e<=0?document.body.removeAttribute(jo):document.body.setAttribute(jo,e.toString())}},[])},sR=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;rR();var o=v.useMemo(function(){return eR(s)},[s]);return v.createElement(tR,{styles:nR(o,!t,s,n?"":"!important")})},np=!1;if(typeof window<"u")try{var pl=Object.defineProperty({},"passive",{get:function(){return np=!0,!0}});window.addEventListener("test",pl,pl),window.removeEventListener("test",pl,pl)}catch{np=!1}var Ys=np?{passive:!1}:!1,oR=function(e){return e.tagName==="TEXTAREA"},ib=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!oR(e)&&n[t]==="visible")},iR=function(e){return ib(e,"overflowY")},aR=function(e){return ib(e,"overflowX")},Iy=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=ab(e,r);if(s){var o=lb(e,r),i=o[1],a=o[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},lR=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},cR=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},ab=function(e,t){return e==="v"?iR(t):aR(t)},lb=function(e,t){return e==="v"?lR(t):cR(t)},uR=function(e,t){return e==="h"&&t==="rtl"?-1:1},dR=function(e,t,n,r,s){var o=uR(e,window.getComputedStyle(t).direction),i=o*r,a=n.target,c=t.contains(a),u=!1,d=i>0,f=0,p=0;do{if(!a)break;var h=lb(e,a),b=h[0],g=h[1],x=h[2],y=g-x-o*b;(b||y)&&ab(e,a)&&(f+=y,p+=b);var m=a.parentNode;a=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(d&&Math.abs(f)<1||!d&&Math.abs(p)<1)&&(u=!0),u},hl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},My=function(e){return[e.deltaX,e.deltaY]},Fy=function(e){return e&&"current"in e?e.current:e},fR=function(e,t){return e[0]===t[0]&&e[1]===t[1]},pR=function(e){return` 341 .block-interactivity-`.concat(e,` {pointer-events: none;} 342 .allow-interactivity-`).concat(e,` {pointer-events: all;} 343`)},hR=0,Xs=[];function mR(e){var t=v.useRef([]),n=v.useRef([0,0]),r=v.useRef(),s=v.useState(hR++)[0],o=v.useState(ob)[0],i=v.useRef(e);v.useEffect(function(){i.current=e},[e]),v.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var g=F3([e.lockRef.current],(e.shards||[]).map(Fy),!0).filter(Boolean);return g.forEach(function(x){return x.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),g.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var a=v.useCallback(function(g,x){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var y=hl(g),m=n.current,w="deltaX"in g?g.deltaX:m[0]-y[0],E="deltaY"in g?g.deltaY:m[1]-y[1],S,T=g.target,j=Math.abs(w)>Math.abs(E)?"h":"v";if("touches"in g&&j==="h"&&T.type==="range")return!1;var N=Iy(j,T);if(!N)return!0;if(N?S=j:(S=j==="v"?"h":"v",N=Iy(j,T)),!N)return!1;if(!r.current&&"changedTouches"in g&&(w||E)&&(r.current=S),!S)return!0;var I=r.current||S;return dR(I,x,g,I==="h"?w:E)},[]),c=v.useCallback(function(g){var x=g;if(!(!Xs.length||Xs[Xs.length-1]!==o)){var y="deltaY"in x?My(x):hl(x),m=t.current.filter(function(S){return S.name===x.type&&(S.target===x.target||x.target===S.shadowParent)&&fR(S.delta,y)})[0];if(m&&m.should){x.cancelable&&x.preventDefault();return}
vendor: 4,338 bytes, line 343
343if(!m){var w=(i.current.shards||[]).map(Fy).filter(Boolean).filter(function(S){return S.contains(x.target)}),E=w.length>0?a(x,w[0]):!i.current.noIsolation;E&&x.cancelable&&x.preventDefault()}}},[]),u=v.useCallback(function(g,x,y,m){var w={name:g,delta:x,target:y,should:m,shadowParent:gR(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(E){return E!==w})},1)},[]),d=v.useCallback(function(g){n.current=hl(g),r.current=void 0},[]),f=v.useCallback(function(g){u(g.type,My(g),g.target,a(g,e.lockRef.current))},[]),p=v.useCallback(function(g){u(g.type,hl(g),g.target,a(g,e.lockRef.current))},[]);v.useEffect(function(){return Xs.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Ys),document.addEventListener("touchmove",c,Ys),document.addEventListener("touchstart",d,Ys),function(){Xs=Xs.filter(function(g){return g!==o}),document.removeEventListener("wheel",c,Ys),document.removeEventListener("touchmove",c,Ys),document.removeEventListener("touchstart",d,Ys)}},[]);var h=e.removeScrollBar,b=e.inert;return v.createElement(v.Fragment,null,b?v.createElement(o,{styles:pR(s)}):null,h?v.createElement(sR,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function gR(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const yR=H3(sb,mR);var cb=v.forwardRef(function(e,t){return v.createElement(ru,jn({},e,{ref:t,sideCar:yR}))});cb.classNames=ru.classNames;var vR=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Zs=new WeakMap,ml=new WeakMap,gl={},bd=0,ub=function(e){return e&&(e.host||ub(e.parentNode))},xR=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ub(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})},wR=function(e,t,n,r){var s=xR(t,Array.isArray(e)?e:[e]);gl[n]||(gl[n]=new WeakMap);var o=gl[n],i=[],a=new Set,c=new Set(s),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};s.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(p){if(a.has(p))d(p);else try{var h=p.getAttribute(r),b=h!==null&&h!=="false",g=(Zs.get(p)||0)+1,x=(o.get(p)||0)+1;Zs.set(p,g),o.set(p,x),i.push(p),g===1&&b&&ml.set(p,!0),x===1&&p.setAttribute(n,"true"),b||p.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return d(t),a.clear(),bd++,function(){i.forEach(function(f){var p=Zs.get(f)-1,h=o.get(f)-1;Zs.set(f,p),o.set(f,h),p||(ml.has(f)||f.removeAttribute(r),ml.delete(f)),h||f.removeAttribute(n)}),bd--,bd||(Zs=new WeakMap,Zs=new WeakMap,ml=new WeakMap,gl={})}},bR=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=vR(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live], script"))),wR(r,s,n,"aria-hidden")):function(){return null}},su="Dialog",[db]=Ms(su),[ER,dn]=db(su),fb=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:o,modal:i=!0}=e,a=v.useRef(null),c=v.useRef(null),[u,d]=Ta({prop:r,defaultProp:s??!1,onChange:o,caller:su});return l.jsx(ER,{scope:t,triggerRef:a,contentRef:c,contentId:Di(),titleId:Di(),descriptionId:Di(),open:u,onOpenChange:d,onOpenToggle:v.useCallback(()=>d(f=>!f),[d]),modal:i,children:n})};fb.displayName=su;var pb="DialogTrigger",hb=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=dn(pb,n),o=Ye(t,s.triggerRef);return l.jsx(je.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":Kh(s.open),...r,ref:o,onClick:ve(e.onClick,s.onOpenToggle)})});hb.displayName=pb;var Hh="DialogPortal",[SR,mb]=db(Hh,{forceMount:void 0}),gb=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,o=dn(Hh,t);return l.jsx(SR,{scope:t,forceMount:n,children:v.Children.map(r,i=>l.jsx(Fs,{present:n||o.open,children:l.jsx(jh,{asChild:!0,container:s,children:i})}))})};gb.displayName=Hh;var wc="DialogOverlay",yb=v.forwardRef((e,t)=>{const n=mb(wc,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=dn(wc,e.__scopeDialog);return o.modal?l.jsx(Fs,{present:r||o.open,children:l.jsx(TR,{...s,ref:t})}):null});yb.displayName=wc;var jR=sa("DialogOverlay.RemoveScroll"),TR=v.forwardRef((e,t)=>
vendor: 4,641 bytes, lines 343-347
343{const{__scopeDialog:n,...r}=e,s=dn(wc,n);return l.jsx(cb,{as:jR,allowPinchZoom:!0,shards:[s.contentRef],children:l.jsx(je.div,{"data-state":Kh(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),_s="DialogContent",vb=v.forwardRef((e,t)=>{const n=mb(_s,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=dn(_s,e.__scopeDialog);return l.jsx(Fs,{present:r||o.open,children:o.modal?l.jsx(CR,{...s,ref:t}):l.jsx(NR,{...s,ref:t})})});vb.displayName=_s;var CR=v.forwardRef((e,t)=>{const n=dn(_s,e.__scopeDialog),r=v.useRef(null),s=Ye(t,n.contentRef,r);return v.useEffect(()=>{const o=r.current;if(o)return bR(o)},[]),l.jsx(xb,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ve(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=n.triggerRef.current)==null||i.focus()}),onPointerDownOutside:ve(e.onPointerDownOutside,o=>{const i=o.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&o.preventDefault()}),onFocusOutside:ve(e.onFocusOutside,o=>o.preventDefault())})}),NR=v.forwardRef((e,t)=>{const n=dn(_s,e.__scopeDialog),r=v.useRef(!1),s=v.useRef(!1);return l.jsx(xb,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i,a;(i=e.onCloseAutoFocus)==null||i.call(e,o),o.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),o.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:o=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const i=o.target;((u=n.triggerRef.current)==null?void 0:u.contains(i))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),xb=v.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:o,...i}=e,a=dn(_s,n),c=v.useRef(null),u=Ye(t,c);return M3(),l.jsxs(l.Fragment,{children:[l.jsx(eb,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:o,children:l.jsx(Hc,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Kh(a.open),...i,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),l.jsxs(l.Fragment,{children:[l.jsx(kR,{titleId:a.titleId}),l.jsx(RR,{contentRef:c,descriptionId:a.descriptionId})]})]})}),qh="DialogTitle",wb=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=dn(qh,n);return l.jsx(je.h2,{id:s.titleId,...r,ref:t})});wb.displayName=qh;var bb="DialogDescription",Eb=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=dn(bb,n);return l.jsx(je.p,{id:s.descriptionId,...r,ref:t})});Eb.displayName=bb;var Sb="DialogClose",jb=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=dn(Sb,n);return l.jsx(je.button,{type:"button",...r,ref:t,onClick:ve(e.onClick,()=>s.onOpenChange(!1))})});jb.displayName=Sb;function Kh(e){return e?"open":"closed"}var Tb="DialogTitleWarning",[CF,Cb]=hT(Tb,{contentName:_s,titleName:qh,docsSlug:"dialog"}),kR=({titleId:e})=>{const t=Cb(Tb),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 344 345If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 346 347For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return v.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},_R="DialogDescriptionWarning",RR=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Cb(_R).contentName}}.`;return v.useEffect(()=>{var o;const s=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},PR=fb,AR=hb,OR=gb,Nb=yb,kb=vb,_b=wb,Rb=Eb,IR=jb;const MR=PR,FR=AR,$R=OR,Pb=v.forwardRef(({className:e,...t},n)=>l.jsx(Nb,{ref:n,className:Te("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}));Pb.displayName=Nb.displayName;const Ab=v.forwardRef(({className:e,children:t,...n},r)=>l.jsxs($R,{children:[l.jsx(Pb,{}),l.jsxs(kb,{ref:r,className:Te("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:rou
347nded-lg",e),...n,children:[t,l.jsxs(IR,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[l.jsx(pc,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ab.displayName=kb.displayName;const Ob=({className:e,...t})=>l.jsx("div",{className:Te("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Ob.displayName="DialogHeader";const Ib=v.forwardRef(({className:e,...t},n)=>l.jsx(_b,{ref:n,className:Te("text-lg font-semibold leading-none tracking-tight",e),...t}));Ib.displayName=_b.displayName;const Mb=v.forwardRef(({className:e,...t},n)=>l.jsx(Rb,{ref:n,className:Te("text-sm text-muted-foreground",e),...t}));Mb.displayName=Rb.displayName;var Fb={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},$y=P.createContext&&P.createContext(Fb),DR=["attr","size","title"];function LR(e,t){if(e==null)return{};var n=zR(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zR(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bc.apply(this,arguments)}function Dy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Ec(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Dy(Object(n),!0).forEach(function(r){UR(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dy(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function UR(e,t,n){return t=BR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function BR(e){var t=WR(e,"string");return typeof t=="symbol"?t:t+""}function WR(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $b(e){return e&&e.map((t,n)=>P.createElement(t.tag,Ec({key:n},t.attr),$b(t.child)))}function Aa(e){return t=>P.createElement(VR,bc({attr:Ec({},e.attr)},t),$b(e.child))}function VR(e){var t=n=>{var{attr:r,size:s,title:o}=e,i=LR(e,DR),a=s||n.size||"1em",c;return n.className&&(c=n.className),e.className&&(c=(c?c+" ":"")+e.className),P.createElement("svg",bc({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,i,{className:c,style:Ec(Ec({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&P.createElement("title",null,o),e.children)};return $y!==void 0?P.createElement($y.Consumer,null,n=>t(n)):t(Fb)}function HR(e){return Aa({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"},child:[]}]})(e)}function qR(e){return Aa({attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M131.5 217.5L55.1 100.1c47.6-59.2 119-91.8 192-92.1 42.3-.3 85.5 10.5 124.8 33.2 43.4 25.2 76.4 61.4 97.4 103L264 133.4c-58.1-3.4-113.4 29.3-132.5 84.1zm32.9 38.5c0 46.2 37.4 83.6 83.6 83.6s83.6-37.4 83.6-83.6-37.4-83.6-83.6-83.6-83.6 37.3-83.6 83.6zm314.9-89.2L339.6 174c37.9 44.3 38.5 108.2 6.6 157.2L234.1 503.6c46.5 2.5 94.4-7.7 137.8-32.9 107.4-62 150.9-192 107.4-303.9zM133.7 303.6L40.4 120.1C14.9 159.1 0 205.9 0 256c0 124 90.8 226.7 209.5 244.9l63.7-124.8c-57.6 10.8-113.2-20.8-139.5-72.5z"},child:[]}]})(e)}function KR(e){return Aa({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M189.37,152.86Zm-58.74-29.37C130.79,123.5,130.71,
347123.5,130.63,123.49Zm351.42,45.35c-10.61-25.5-32.08-53-48.94-61.73,13.72,26.89,21.67,53.88,24.7,74,0,0,0,.14.05.41-27.58-68.75-74.35-96.47-112.55-156.83-1.93-3.05-3.86-6.11-5.74-9.33-1-1.65-1.86-3.34-2.69-5.05A44.88,44.88,0,0,1,333.24.69a.63.63,0,0,0-.55-.66.9.9,0,0,0-.46,0l-.12.07-.18.1.1-.14c-54.23,31.77-76.72,87.38-82.5,122.78a130,130,0,0,0-48.33,12.33,6.25,6.25,0,0,0-3.09,7.75,6.13,6.13,0,0,0,7.79,3.79l.52-.21a117.84,117.84,0,0,1,42.11-11l1.42-.1c2-.12,4-.2,6-.22A122.61,122.61,0,0,1,291,140c.67.2,1.32.42,2,.63,1.89.57,3.76,1.2,5.62,1.87,1.36.5,2.71,1,4.05,1.58,1.09.44,2.18.88,3.25,1.35q2.52,1.13,5,2.35c.75.37,1.5.74,2.25,1.13q2.4,1.26,4.74,2.63,1.51.87,3,1.8a124.89,124.89,0,0,1,42.66,44.13c-13-9.15-36.35-18.19-58.82-14.28,87.74,43.86,64.18,194.9-57.39,189.2a108.43,108.43,0,0,1-31.74-6.12c-2.42-.91-4.8-1.89-7.16-2.93-1.38-.63-2.76-1.27-4.12-2C174.5,346,149.9,316.92,146.83,281.59c0,0,11.25-41.95,80.62-41.95,7.5,0,28.93-20.92,29.33-27-.09-2-42.54-18.87-59.09-35.18-8.85-8.71-13.05-12.91-16.77-16.06a69.58,69.58,0,0,0-6.31-4.77A113.05,113.05,0,0,1,173.92,97c-25.06,11.41-44.55,29.45-58.71,45.37h-.12c-9.67-12.25-9-52.65-8.43-61.08-.12-.53-7.22,3.68-8.15,4.31a178.54,178.54,0,0,0-23.84,20.43A214,214,0,0,0,51.9,133.36l0,0a.08.08,0,0,1,0,0,205.84,205.84,0,0,0-32.73,73.9c-.06.27-2.33,10.21-4,22.48q-.42,2.87-.78,5.74c-.57,3.69-1,7.71-1.44,14,0,.24,0,.48-.05.72-.18,2.71-.34,5.41-.49,8.12,0,.41,0,.82,0,1.24,0,134.7,109.21,243.89,243.92,243.89,120.64,0,220.82-87.58,240.43-202.62.41-3.12.74-6.26,1.11-9.41,4.85-41.83-.54-85.79-15.82-122.55Z"},child:[]}]})(e)}const GR="https://chromewebstore.google.com/detail/tajir-wallet/lfbobhllejnegkgdlblkimaojamdmehc",QR=[{icon:_C,title:"One-Click DApp Connection",description:"Connect to any Web3 application instantly. Our extension handles the complex handshake so you can focus on trading."},{icon:Na,title:"Simple & Secure",description:"A focused, lightweight wallet for your desktop. Your keys never leave your device, and everything is encrypted with AES-256."},{icon:Gc,title:"Instant Synchronization",description:"Easily import your mobile wallet or create a new one. All your assets and identities stay in sync across devices."}],YR=()=>l.jsx("section",{id:"extension",className:"py-24 relative overflow-hidden bg-slate-50",children:l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs("div",{className:"animate-slide-in-left",children:[l.jsx("div",{className:"inline-block glass-card px-6 py-3 rounded-full mb-6 border-blue-100",children:l.jsx("span",{className:"text-sm font-semibold bg-gradient-to-r from-blue-600 to-indigo-600 bg-clip-text text-transparent",children:"ð¥ï¸ Desktop Companion"})}),l.jsxs("h2",{className:"text-5xl font-bold mb-8 text-gray-900 leading-tight",children:["Tajir Wallet for ",l.jsx("br",{}),l.jsx("span",{className:"text-shimmer",children:"Your Browser"})]}),l.jsx("p",{className:"text-xl text-gray-600 mb-12 leading-relaxed",children:"Experience the power of Tajir Wallet on your desktop. Our browser extension provides a simple, essential Web3 interface for Chrome, Brave, and Edgeâperfect for deep DeFi interactions and DApp connectivity."}),l.jsx("div",{className:"space-y-8 mb-12",children:QR.map((e,t)=>l.jsxs("div",{className:"flex items-start space-x-4",children:[l.jsx("div",{className:"w-10 h-10 bg-blue-100 rounded-xl flex items-center justify-center flex-shrink-0",children:l.jsx(e.icon,{className:"w-5 h-5 text-blue-600"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-bold text-lg mb-1",children:e.title}),l.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:e.description})]})]},t))}),l.jsxs("div",{className:"flex flex-wrap gap-4",children:[l.jsxs(MR,{children:[l.jsx(FR,{asChild:!0,children:l.jsxs(qo,{className:"gradient-primary text-white rounded-2xl px-8 py-4 h-auto font-semibold group shadow-lg",children:["Install E
347xtension ",l.jsx(dC,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})}),l.jsxs(Ab,{className:"sm:max-w-[440px] overflow-hidden rounded-3xl border-0 p-0 shadow-2xl [&>button]:rounded-full [&>button]:bg-white/15 [&>button]:p-1.5 [&>button]:text-white [&>button]:opacity-100 [&>button]:ring-offset-0 [&>button]:hover:bg-white/25 [&>button]:hover:opacity-100 [&>button]:focus:ring-white/40",children:[l.jsxs("div",{className:"relative overflow-hidden bg-gradient-to-br from-[#0B0A2F] via-[#1B60E7] to-[#4F8CFF] px-8 pb-10 pt-10 text-center",children:[l.jsx("div",{className:"absolute -right-10 -top-10 h-32 w-32 rounded-full bg-white/10 blur-2xl"}),l.jsx("div",{className:"absolute -bottom-8 -left-8 h-28 w-28 rounded-full bg-white/10 blur-2xl"}),l.jsx("div",{className:"relative mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-white/15 backdrop-blur-sm ring-1 ring-white/25",children:l.jsx("img",{src:"/lovable-uploads/Tajir wallet.png",alt:"Tajir Wallet",className:"h-9 w-9"})}),l.jsxs(Ob,{className:"relative space-y-2",children:[l.jsx(Ib,{className:"text-center text-2xl font-bold text-white",children:"Install Extension"}),l.jsx(Mb,{className:"text-center text-sm text-blue-100/90",children:"Pick your browser to get Tajir Wallet on desktop."})]})]}),l.jsxs("div",{className:"grid grid-cols-2 gap-4 bg-white px-6 pb-8 pt-6",children:[l.jsxs("a",{href:GR,target:"_blank",rel:"noopener noreferrer",className:"group relative flex flex-col items-center gap-3 rounded-2xl border border-blue-100 bg-gradient-to-b from-blue-50/80 to-white p-6 shadow-sm transition-all duration-300 hover:-translate-y-1 hover:border-[#1B60E7]/40 hover:shadow-xl hover:shadow-blue-500/15",children:[l.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-white shadow-md ring-1 ring-blue-100 transition-transform duration-300 group-hover:scale-110",children:l.jsx(qR,{className:"h-9 w-9 text-[#4285F4]"})}),l.jsxs("div",{className:"text-center",children:[l.jsx("span",{className:"block font-bold text-gray-900",children:"Google"}),l.jsx("span",{className:"mt-1 block text-xs font-medium text-[#1B60E7]",children:"Available now"})]}),l.jsx("span",{className:"absolute right-3 top-3 rounded-full bg-[#1B60E7]/10 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-[#1B60E7] opacity-0 transition-opacity group-hover:opacity-100",children:"Open"})]}),l.jsxs("div",{className:"relative flex flex-col items-center gap-3 rounded-2xl border border-dashed border-gray-200 bg-gradient-to-b from-gray-50 to-white p-6 opacity-80",title:"Coming soon",children:[l.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-white shadow-sm ring-1 ring-gray-100 grayscale",children:l.jsx(KR,{className:"h-9 w-9 text-[#FF7139]"})}),l.jsxs("div",{className:"text-center",children:[l.jsx("span",{className:"block font-bold text-gray-700",children:"Firefox"}),l.jsx("span",{className:"mt-1 inline-flex items-center rounded-full bg-amber-50 px-2.5 py-0.5 text-xs font-semibold text-amber-600 ring-1 ring-amber-100",children:"Coming soon"})]})]})]})]})]}),l.jsxs("div",{className:"flex items-center space-x-3 text-sm text-gray-500 font-medium",children:[l.jsx("span",{children:"Chrome"}),l.jsx("span",{className:"w-1 h-1 bg-gray-300 rounded-full"}),l.jsx("span",{children:"Brave"}),l.jsx("span",{className:"w-1 h-1 bg-gray-300 rounded-full"}),l.jsx("span",{children:"Edge"})]})]})]}),l.jsx("div",{className:"relative animate-slide-in-right",children:l.jsxs("div",{className:"glass-card rounded-3xl p-8 bg-white/80 shadow-2xl relative group",children:[l.jsxs("div",{className:"w-full max-w-[320px] mx-auto bg-white rounded-2xl shadow-xl overflow-hidden border border-gray-100 transition-transform group-hover:scale-[1.02] duration-500",children:[l.jsxs("div",{className:"p-4 border-b border-gray-100 flex justify-between items-center bg-gray-50/50",children:[l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx("img",{src:"/lovable-uploads/Tajir wallet.png",alt:"Tajir",className:"w-6 h-6"}),l.jsx("span",{className:"font-bold text-sm",children:"Tajir Wallet"})]}),l.jsx("div",{className:"w-2 h-2 rounded-full bg-green-500"})]}),l.jsxs("div",{className:"p-6 text-center",children:[l.jsx("div",{className:"text-gray-500 text-xs mb-1 uppercase tracking-wider font-bold",children:"Total Balance"}),l.jsx("div",{className:"text-3xl font-bold mb-6",children:"$1,240.50"}),l.jsx("div",{className:"grid grid-cols-3 gap-4 mb-8",children:["Send","Receive","Swap"].map(e=>l.jsxs("div",{className:"flex flex-col items-center",children:[l.jsx("div",{className:"w-10 h-10 bg-blue-50 rounded-full flex items-center justify-center mb-2",children:l.jsx("div",{className:"w-5 h-5 bg-blue-600 rounded-sm"})}),l.jsx("span",{className:"text-[10px] font-bold text-gray-600",children:e})]},e))}),l.jsxs("div",{className:"space-y-3 text-left",children:[l.jsxs("div",{className:"p-3 bg-gray-50 rounded-xl flex justify-between items-center",children:[l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx("div",{className:"w-6 h-6 bg-orange-100 rounded-full"}),l.jsx("span",{className:"text-xs font-bold",children:"Bitcoin"})]}),l.jsx("span",{className:"text-xs font-bold",children:"$94,200"})]}),l.jsxs("div",{className:"p-3 bg-gray-50 rounded-xl flex justify-between items-center",children:[l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx("div",{className:"w-6 h-6 bg-blue-100 rounded-full"}),l.jsx("span",{className:"text-xs font-bold",children:"Ethereum"})]}),l.jsx("span",{className:"text-xs font-bold",children:"$3,450"})]})]})]})]}),l.jsx("div",{className:"absolute -top-6 -right-6 glass p-4 rounded-2xl shadow-xl animate-float-gentle",children:l.jsx(xC,{className:"w-8 h-8 text-blue-600"})}),l.jsx("div",{className:"absolute -bottom-6 -left-6 glass p-4 rounded-2xl shadow-xl animate-bounce-gentle",children:l.jsx(Gc,{
347className:"w-8 h-8 text-yellow-500"})})]})})]})})}),XR=[{icon:TC,title:"Transaction Explanation",description:"No more cryptic hex data. Our AI translates complex smart contract interactions into plain, human-readable English so you always know exactly what you are signing."},{icon:cC,title:"Portfolio Health Score",description:'Get an intelligent assessment of your holdings. Our AI analyzes risk, volatility, and diversification to give you a "Health Score" and actionable improvement tips.'},{icon:kh,title:"Smart Optimization",description:"Receive proactive suggestions for gas savings and better swap routes. The AI assistant monitors the network 24/7 to ensure you get the best possible value."},{icon:_f,title:"Risk Analysis",description:"Identify potential vulnerabilities in your portfolio or specific tokens before they become problems. Intelligent auditing at your fingertips."}],ZR=()=>l.jsxs("section",{id:"ai",className:"py-24 relative overflow-hidden bg-[#0B0A2F]",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",children:l.jsx("div",{className:"absolute top-0 left-0 w-full h-full bg-[radial-gradient(circle_at_50%_50%,#4F46E5,transparent_50%)]"})}),l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs("div",{className:"animate-slide-in-left",children:[l.jsx("div",{className:"inline-block glass px-6 py-3 rounded-full mb-8 border-blue-500/30",children:l.jsxs("span",{className:"text-sm font-semibold text-blue-300 flex items-center",children:[l.jsx(pC,{className:"w-4 h-4 mr-2"}),"Intelligent Trading Layer"]})}),l.jsxs("h2",{className:"text-5xl lg:text-6xl font-bold mb-8 text-white leading-tight",children:["Trade Smarter with ",l.jsx("br",{}),l.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-400 via-indigo-400 to-purple-400",children:"AI Assistance"})]}),l.jsx("p",{className:"text-xl text-blue-100/80 mb-12 leading-relaxed max-w-xl",children:"Tajir Wallet integrates a powerful, locally-processed AI layer that interprets on-chain data in real-time. It's like having a senior blockchain analyst built right into your wallet."}),l.jsx("div",{className:"space-y-6",children:l.jsxs("div",{className:"glass p-6 rounded-2xl border-blue-500/20 hover:border-blue-500/40 transition-all group",children:[l.jsxs("div",{className:"flex items-center space-x-4 mb-4",children:[l.jsx("div",{className:"w-10 h-10 bg-blue-500/20 rounded-lg flex items-center justify-center text-blue-400 group-hover:bg-blue-500 group-hover:text-white transition-all",children:l.jsx(fC,{className:"w-6 h-6"})}),l.jsx("h3",{className:"text-xl font-bold text-white",children:"Ask your wallet anything"})]}),l.jsx("div",{className:"bg-white/5 rounded-xl p-4 border border-white/10 italic text-blue-200",children:'"How can I earn more XP this week?"'}),l.jsx("div",{className:"mt-4 text-blue-300 text-sm",children:'â AI: "Earn up to 300 XP by completing a $50 swap and inviting 2 new users."'})]})})]}),l.jsx("div",{className:"grid sm:grid-cols-2 gap-6 animate-slide-in-right",children:XR.map((e,t)=>l.jsxs("div",{className:"glass p-8 rounded-3xl border-white/10 hover:bg-white/5 transition-all duration-300 group",children:[l.jsx("div",{className:"w-12 h-12 bg-gradient-to-br from-blue-500/20 to-purple-500/20 rounded-2xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:l.jsx(e.icon,{className:"w-6 h-6 text-blue-400"})}),l.jsx("h3",{className:"text-xl font-bold text-white mb-4",children:e.title}),l.jsx("p",{className:"text-blue-100/60 leading-relaxed text-sm",children:e.description})]},e.title))})]})})]}),JR=[{name:"Bronze",color:"from-orange-400 to-orange-700",discount:"5%"},{name:"Silver",color:"from-slate-300 to-slate-500",discount:"10%"},{name:"Gold",color:"from-yellow-300 to-yellow-600",discount:"15%"},{name:"Platinum",color:"from-cyan-300 to-blue-500",discount:"20%"},{name:"Diamond",color:"from-purple-400 to-indigo-600",discount:"25%"}],e5=[{icon:NC,title:"Swaps",description:"Earn XP for every successful trade on any supp
347orted chain."},{icon:FC,title:"Referrals",description:"Invite friends and earn multipliers on your XP accumulation."},{icon:B1,title:"Quests",description:"Complete daily and weekly challenges to earn bonus rewards."},{icon:_h,title:"Achievements",description:"Unlock rare NFT badges for reaching platform milestones."}],t5=()=>l.jsxs("section",{id:"rewards",className:"py-24 relative overflow-hidden bg-slate-50",children:[l.jsx("div",{className:"absolute top-0 right-0 w-1/2 h-full bg-gradient-to-l from-purple-100/50 to-transparent pointer-events-none"}),l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[l.jsxs("div",{className:"text-center mb-20",children:[l.jsx("div",{className:"inline-block glass-card px-6 py-3 rounded-full mb-6 border-purple-100",children:l.jsx("span",{className:"text-sm font-semibold bg-gradient-to-r from-purple-600 to-blue-600 bg-clip-text text-transparent",children:"ð Loyalty & Rewards"})}),l.jsxs("h2",{className:"text-5xl font-bold mb-6",children:["The More You Trade, ",l.jsx("span",{className:"text-shimmer",children:"The More You Earn"})]}),l.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto leading-relaxed",children:"Join the Tajir ecosystem and unlock a world of exclusive benefits through our 5-tier loyalty program. Earn XP for every action and level up to unlock deep fee discounts and rare NFT rewards."})]}),l.jsx("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-4 mb-20",children:JR.map((e,t)=>l.jsxs("div",{className:"glass-card rounded-2xl p-6 text-center group hover:scale-105 transition-all duration-300 animate-slide-in-up",style:{animationDelay:`${t*100}ms`},children:[l.jsx("div",{className:`w-16 h-16 rounded-full bg-gradient-to-br ${e.color} mx-auto mb-4 flex items-center justify-center shadow-lg group-hover:rotate-12 transition-transform`,children:l.jsx(B1,{className:"w-8 h-8 text-white"})}),l.jsx("h3",{className:"font-bold text-lg mb-1",children:e.name}),l.jsxs("div",{className:"flex items-center justify-center text-purple-600 font-semibold",children:[l.jsx(kC,{className:"w-4 h-4 mr-1"}),e.discount," Off Fees"]})]},e.name))}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:e5.map((e,t)=>l.jsxs("div",{className:"glass-card rounded-3xl p-8 hover:bg-white transition-all duration-300 group",children:[l.jsx("div",{className:"w-12 h-12 bg-purple-100 rounded-xl flex items-center justify-center mb-6 group-hover:bg-purple-600 transition-colors",children:l.jsx(e.icon,{className:"w-6 h-6 text-purple-600 group-hover:text-white transition-colors"})}),l.jsx("h3",{className:"text-xl font-bold mb-3",children:e.title}),l.jsx("p",{className:"text-gray-600",children:e.description})]},e.title))}),l.jsxs("div",{className:"mt-20 bg-gradient-to-r from-[#201743] to-[#1B60E7] rounded-3xl p-12 text-white relative overflow-hidden",children:[l.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-white/5 rounded-full -mr-32 -mt-32 animate-pulse"}),l.jsxs("div",{className:"relative z-10 grid lg:grid-cols-2 gap-12 items-center",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-3xl font-bold mb-6",children:"Gamified Trading Experience"}),l.jsx("p",{className:"text-blue-100 text-lg mb-8 leading-relaxed",children:"Stay engaged with daily streaks, seasonal events, and community quests. Unlock limited-edition themes and NFT badges that show off your status in the Web3 world."}),l.jsxs("div",{className:"flex flex-wrap gap-4",children:[l.jsx("span",{className:"glass px-4 py-2 rounded-lg text-sm font-medium",children:"Daily Streaks"}),l.jsx("span",{className:"glass px-4 py-2 rounded-lg text-sm font-medium",children:"Community Quests"}),l.jsx("span",{className:"glass px-4 py-2 rounded-lg text-sm font-medium",children:"Seasonal Events"}),l.jsx("span",{className:"glass px-4 py-2 rounded-lg text-sm font-medium",children:"Theme Store"})]})]}),l.jsx("div",{className:"flex justify-center",children:l.jsxs("div",{className:"relative",children:[l.jsx("div",{className:"w-48 h-48 bg-gradient-to-r from-yellow-400 to-orange-500 rounded-full flex items-center justify-center animate-glow-pulse",children:l.jsx(_h,{className:"w-24 h-24 text-white animate-wiggle"})}),l.jsx("div",{className:"absolute -top-4 -right-4 glass rounded-2xl p-4 animate-bounce-gentle",children:l.jsx(Gc,{
347className:"w-8 h-8 text-yellow-400"})})]})})]})]})]})]}),n5=[{name:"Classic Dark",icon:CC,desc:"Deep slates and indigo accents for high-focus trading."},{name:"Crystal Light",icon:OC,desc:"Clean, airy interface with maximum readability."},{name:"Ramadan Glow",icon:kh,desc:"Seasonal teal and gold accents with traditional motifs."},{name:"Cyberpunk",icon:wC,desc:"Neon pinks and cyans for the ultimate Web3 aesthetic."}],r5=()=>l.jsxs("section",{id:"themes",className:"py-24 relative overflow-hidden bg-white",children:[l.jsx("div",{className:"absolute bottom-0 left-0 w-full h-1/2 bg-gradient-to-t from-blue-50 to-transparent pointer-events-none"}),l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs("div",{className:"order-2 lg:order-1 animate-slide-in-left",children:[l.jsx("div",{className:"grid grid-cols-2 gap-4",children:n5.map((e,t)=>l.jsxs("div",{className:"glass-card rounded-2xl p-6 hover:shadow-xl transition-all duration-500 group cursor-default",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl bg-gray-100 flex items-center justify-center mb-4 group-hover:bg-indigo-600 transition-colors",children:l.jsx(e.icon,{className:"w-5 h-5 text-gray-600 group-hover:text-white transition-colors"})}),l.jsx("h4",{className:"font-bold text-gray-900 mb-2",children:e.name}),l.jsx("p",{className:"text-xs text-gray-500",children:e.desc})]},e.name))}),l.jsxs("div",{className:"mt-6 glass-card rounded-3xl p-8 border-indigo-100 bg-gradient-to-r from-indigo-50 to-white flex items-center justify-between group",children:[l.jsxs("div",{className:"flex items-center space-x-4",children:[l.jsx("div",{className:"w-12 h-12 bg-indigo-600 rounded-2xl flex items-center justify-center shadow-lg",children:l.jsx(vC,{className:"w-6 h-6 text-white"})}),l.jsxs("div",{children:[l.jsx("h4",{className:"font-bold text-indigo-900",children:"NFT-Gated Themes"}),l.jsx("p",{className:"text-sm text-indigo-600",children:"Exclusive skins for Diamond tier & NFT holders."})]})]}),l.jsx(kh,{className:"w-6 h-6 text-indigo-400 group-hover:animate-wiggle"})]})]}),l.jsxs("div",{className:"order-1 lg:order-2 animate-slide-in-right",children:[l.jsx("div",{className:"inline-block glass-card px-6 py-3 rounded-full mb-6 border-indigo-100",children:l.jsx("span",{className:"text-sm font-semibold bg-gradient-to-r from-indigo-600 to-blue-600 bg-clip-text text-transparent",children:"ð¨ Personalization & Privacy"})}),l.jsxs("h2",{className:"text-5xl font-bold mb-8 text-gray-900 leading-tight",children:["A Wallet That ",l.jsx("br",{}),l.jsx("span",{className:"text-shimmer",children:"Reflects You"})]}),l.jsx("p",{className:"text-xl text-gray-600 mb-12 leading-relaxed",children:"Why settle for a standard look? Tajir Wallet features a comprehensive Theme Store allowing you to switch between Light, Dark, Seasonal, and Premium skins instantly across the entire app."}),l.jsxs("div",{className:"glass p-8 rounded-3xl border-rose-100 bg-rose-50/30",children:[l.jsxs("div",{className:"flex items-center space-x-4 mb-4",children:[l.jsx("div",{className:"w-12 h-12 bg-rose-500 rounded-2xl flex items-center justify-center shadow-lg text-white",children:l.jsx(gC,{className:"w-6 h-6"})}),l.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:"Travel Mode"})]}),l.jsx("p",{className:"text-gray-600 leading-relaxed mb-4",children:"Keep your finances private while on the move. Travel Mode hides your portfolio balances on all screens
347with a single toggle, ensuring your data stays yours, even in public."}),l.jsxs("div",{className:"flex items-center text-rose-600 font-semibold text-sm",children:[l.jsx(Na,{className:"w-4 h-4 mr-2"}),"Privacy-first asset management"]})]})]})]})})]}),s5=[{icon:jC,title:"Wallet Chat",description:"Secure, end-to-end encrypted messaging powered by XMTP. Chat with any wallet address or Tajir ID directly from your interface."},{icon:W1,title:"Tajir ID",description:'Your human-readable identity in Web3. Register a username like "sara.tajir" and use it for all your social and financial interactions.'},{icon:RC,title:"Follow Feed",description:"Gain insights by following successful traders. Monitor real-time swaps, transfers, and portfolio updates in a social-style activity feed."},{icon:uC,title:"In-Chat Payments",description:"Send and receive funds or request payments directly within your conversation threads. Crypto as easy as texting."}],o5=()=>l.jsx("section",{id:"social",className:"py-24 relative overflow-hidden bg-white",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[l.jsxs("div",{className:"text-center mb-20",children:[l.jsx("div",{className:"inline-block glass-card px-6 py-3 rounded-full mb-6 border-indigo-100",children:l.jsx("span",{className:"text-sm font-semibold bg-gradient-to-r from-indigo-600 to-purple-600 bg-clip-text text-transparent",children:"ð¤ Social & Identity"})}),l.jsxs("h2",{className:"text-5xl font-bold mb-6 text-gray-900",children:["The Social Layer of ",l.jsx("span",{className:"text-shimmer",children:"Web3"})]}),l.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto leading-relaxed",children:"Tajir Wallet bridges the gap between finance and social interaction. Connect with other users, follow top traders, and manage your Web3 identity with ease."})]}),l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsx("div",{className:"relative animate-slide-in-left",children:l.jsxs("div",{className:"glass-card rounded-[3rem] p-4 shadow-2xl bg-gray-50 border-gray-200/50 max-w-[280px] mx-auto relative group",children:[l.jsxs("div",{className:"bg-white rounded-[2.5rem] overflow-hidden border border-gray-100 h-[500px] flex flex-col",children:[l.jsxs("div",{className:"p-4 border-b border-gray-100 bg-white flex items-center space-x-3",children:[l.jsx("div",{className:"w-10 h-10 rounded-full bg-indigo-600 flex items-center justify-center text-white font-bold",children:"A"}),l.jsxs("div",{children:[l.jsx("div",{className:"font-bold text-sm",children:"ali.tajir"}),l.jsxs("div",{className:"text-[10px] text-green-500 flex items-center",children:[l.jsx("span",{className:"w-1.5 h-1.5 bg-green-500 rounded-full mr-1"}),"Online"]})]})]}),l.jsxs("div",{className:"flex-1 p-4 space-y-4 overflow-y-auto bg-gray-50/50",children:[l.jsx("div",{className:"bg-white p-3 rounded-2xl rounded-tl-none shadow-sm text-sm max-w-[80%]",children:"Hey! Did you see the latest swap route for TJRM?"}),l.jsx("div",{className:"bg-indigo-600 p-3 rounded-2xl rounded-tr-none shadow-sm text-sm text-white max-w-[80%] ml-auto",children:"Yeah, the AI suggested a route through Polygon for 30% lower gas."}),l.jsx("div",{className:"bg-white p-3 rounded-2xl rounded-tl-none shadow-sm text-sm max-w-[80%]",children:"Nice! Sending you the 100 USDT now."}),l.jsxs("div",{className:"glass border-indigo-200 p-3 rounded-2xl shadow-sm text-sm flex items-center justify-between",children:[l.jsx("span",{className:"font-semibold text-indigo-700",children:"Payment Received"}),l.jsx("span",{className:"text-indigo-600 font-bold",children:"100 USDT"})]})]})]}),l.jsx("div",{className:"absolute -right-8 top-1/4 glass p-4 rounded-2xl shadow-xl animate-float-gentle",children:l.jsx(Na,{className:"w-6 h-6 text-indigo-600"})}),l.jsx("div",{className:"absolute -left-8 bottom-1/4 glass p-4 rounded-2xl shadow-xl animate-bounce-gentle",children:l.jsx(W1,{className:"w-6 h-6 text-purple-600"})})]})}),l.jsx("div",{className:"grid gap-8 animate-slide-in-right",children:s5.map((e,t)=>l.jsxs("div",{className:"flex items-start space-x-6 group",children:[l.jsx("div",{className:"w-14 h-14 bg-indigo-50 rounded-2xl flex items-center justify-center flex-shrink-0 group-hover:bg-indigo-600 transition-all duration-300",children:l.jsx(e.icon,{className:"w-7 h-7 text-indigo-600 group-hover:text-white transition-colors"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2 group-hover:text-indigo-600 transition-colors",children:e.title}),l.jsx("p",{className:"text-gray-600 leading-relaxed",children:e.description})]})]},e.title))})]})]})}),i5=()=>l.jsxs("section",{id:"security",className:"py-24 relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 gradient-primary"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/20 via-trans
347parent to-black/20"}),l.jsx("div",{className:"absolute top-20 left-20 w-24 h-24 bg-white/5 rounded-full animate-morphing-blob"}),l.jsx("div",{className:"absolute bottom-40 right-40 w-16 h-16 bg-white/10 rounded-full animate-bounce-gentle"}),l.jsx("div",{className:"absolute top-1/2 right-20 w-12 h-12 bg-blue-400/20 rounded-full animate-rotate-slow"}),l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs("div",{className:"animate-slide-in-left text-white",children:[l.jsx("div",{className:"inline-block glass px-6 py-3 rounded-full mb-8 animate-scale-pulse",children:l.jsx("span",{className:"text-sm font-semibold text-blue-100",children:"ð Bank-Level Security"})}),l.jsxs("h2",{className:"text-5xl lg:text-6xl font-bold mb-8 leading-tight animate-slide-in-up stagger-1",children:["Engineered For ",l.jsx("br",{}),l.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-200 to-white animate-gradient-shift",children:"Uncompromising Security"})]}),l.jsx("p",{className:"text-xl mb-12 text-blue-100 leading-relaxed animate-fade-in stagger-2",children:"Security isn't optional â it's the core of Tajir Wallet. From non-custodial architecture to military-grade encryption, every layer is built to protect your assets and privacy in the decentralized world."}),l.jsx("div",{className:"space-y-8 mb-12",children:[{icon:Wg,title:"End-to-End Encryption",description:"our private keys and recovery phrases are secured using AES-256 encryption â the same gold standard trusted by banks and governments. No backdoors. No compromise."},{icon:z1,title:"Advanced Biometric Authentication",description:"Biometric security through Face ID and Touch ID ensures that only you can access your wallet and trading interface on your device."},{icon:Bg,title:"True Non-Custodial Architecture",description:"You own your keys. Your funds and assets never touch our servers. Full control, full ownership â the way decentralized systems should be."},{icon:_f,title:"Smart Recovery System",description:"Never lose access. Nominate trusted guardians to help you recover your wallet through decentralized multi-sig confirmation and secure timelocked inheritance."}].map((e,t)=>l.jsxs("div",{className:`flex items-start space-x-6 group interactive-element animate-slide-in-left stagger-${t+3}`,children:[l.jsx("div",{className:"w-12 h-12 glass rounded-2xl flex items-center justify-center flex-shrink-0 group-hover:bg-white/20 group-hover:animate-scale-pulse transition-all duration-300",children:l.jsx(e.icon,{className:"w-6 h-6 text-blue-200 group-hover:text-white group-hover:scale-110 group-hover:animate-wiggle transition-all duration-300"})}),l.jsxs("div",{className:"group-hover:translate-x-2 transition-transform duration-300",children:[l.jsx("h3",{className:"font-bold text-lg mb-2 group-hover:text-blue-200 transition-colors",children:e.title}),l.jsx("p",{className:"text-blue-100/80 leading-relaxed group-hover:text-blue-100 transition-colors",children:e.description})]})]},t))}),l.jsxs(qo,{size:"lg",variant:"outline",className:"border-2 border-white/30 hover:bg-white text-[#201743] hover:text-[#201743] rounded-2xl px-8 py-4 text-lg font-semibold interactive-element group animate-glow-pulse sm:w-auto w-full",children:[l.jsx(_f,{className:"w-6 h-6 mr-3 group-hover:animate-bounce-gentle"}),"View Security Audit"]})]}),l.jsx("div",{className:"relative lg:ml-12 animate-slide-in-right",children:l.jsxs("div",{className:"relative animate-float-gentle",children:[l.jsxs("div",{className:"glass rounded-3xl p-8 max-w-md mx-auto relative overflow-hidden animate-glow-pulse",children:[l.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-gradient-to-br from-blue-400/20 to-purple-400/20 rounded-full -mr-16 -mt-16 animate-rotate-slow"}),l.jsxs("div",{className:"text-center mb-8 relative z-10",children:[l.jsx("div",{className:"w-20 h-20 bg-gradient-to-r from-green-400 to-emerald-500 rounded-full flex items-center justify-center mx-auto mb-6 animate-scale-pulse",children:l.jsx(Na,{className:"w-10 h-10 text-white animate-wiggle"})}),l.jsx("h3",{className:"text-2xl font-bold text-white mb-3 animate-slide-in-up stagger-1",children:"Security Score"}),l.jsx("div",{className:"text-4xl font-bold text-green-400 mb-2 animate-slide-in-up stagger-2",children:"98.7%"}),l.jsx("p",{className:"text-blue-100 text-sm animate-fade-in stagger-3",children:"Industry Leading"})]}),l.jsx("div",{className:"space-y-4 relative z-10",children:[{label:"Encryption Strength",value:"100%",color:"bg-green-400"},{label:"Audit Coverage",value:"95%",color:"bg-blue-400"},{label:"Uptime Guarantee",value:"99.9%",color:"bg-purple-400"}].map((e,t)=>l.jsxs("div",{className:`glass rounded-xl p-4 animate-slide-in-up stagger-${t+4}`,children:[l.jsxs("div",{className:"flex justify-between items-center mb-2",children:[l.jsx("span",{className:"text-white text-sm font-medium",children:e.label}),l.jsx("span",{className:"text-white font-bold",children:e.value})]}),l.jsx("div",{className:"w-full bg-white/20 rounded-full h-2",children:l.jsx("div",{className:`h-full ${e.color} rounded-full transition-all duration-1000 ease-out animate-gradient-shift`,style:{width:e.value}})})]},t))})]}),l.jsx("div",{className:"absolute -top-4 -left-4 glass rounded-2xl p-4 animate-bounce-gentle stagger-1",children:l.jsx(Wg,{className:"w-6 h-6 text-blue-200 animate-wiggle"})}),l.jsx("div",{className:"absolute -bottom-4 -right-4 glass rounded-2xl p-4 animate-bounce-gentle stagger-2",children:l.jsx(Bg,{className:"w-6 h-6 text-purple-200 animate-scale-pulse"})})]})})]})})]});function Db(e,t){return function(){return e.apply(t,arguments)}}const{toString:a5}=Object.prototype,{getPrototypeOf:Gh}=Object,{iterator:ou,toStringTag:Lb}=Symbol,iu=(e=>t=>{const n=a5.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fn=e=>(e=e.toLowerCase(),t=>iu(t)===e),au=e=>t=>typeof t===e,{isArray:ri}=Array,Ko=au("undefined");function Oa(e){return e!==null&&!Ko(e)&&e.constructor!==null&&!Ko(e.constructor)&&xt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zb=fn("ArrayBuffer");function l5(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&zb(e.buffer),t}const c5=au("string"),xt=au("function"),Ub=au("number"),Ia=e=>e!==null&&typeof e=="object",u5=e=>e===!0||e===!1,Dl=e=>{if(iu(e)!=="object")return!1;const t=Gh(e);
vendor: 4,500 bytes, line 347
347return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Lb in e)&&!(ou in e)},d5=e=>{if(!Ia(e)||Oa(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},f5=fn("Date"),p5=fn("File"),h5=fn("Blob"),m5=fn("FileList"),g5=e=>Ia(e)&&xt(e.pipe),y5=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xt(e.append)&&((t=iu(e))==="formdata"||t==="object"&&xt(e.toString)&&e.toString()==="[object FormData]"))},v5=fn("URLSearchParams"),[x5,w5,b5,E5]=["ReadableStream","Request","Response","Headers"].map(fn),S5=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ma(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),ri(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{if(Oa(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Bb(e,t){if(Oa(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Wb=e=>!Ko(e)&&e!==is;function rp(){const{caseless:e,skipUndefined:t}=Wb(this)&&this||{},n={},r=(s,o)=>{const i=e&&Bb(n,o)||o;Dl(n[i])&&Dl(s)?n[i]=rp(n[i],s):Dl(s)?n[i]=rp({},s):ri(s)?n[i]=s.slice():(!t||!Ko(s))&&(n[i]=s)};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&Ma(arguments[s],r);return n}const j5=(e,t,n,{allOwnKeys:r}={})=>(Ma(t,(s,o)=>{n&&xt(s)?e[o]=Db(s,n):e[o]=s},{allOwnKeys:r}),e),T5=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),C5=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},N5=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Gh(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},k5=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},_5=e=>{if(!e)return null;if(ri(e))return e;let t=e.length;if(!Ub(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},R5=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Gh(Uint8Array)),P5=(e,t)=>{const r=(e&&e[ou]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},A5=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},O5=fn("HTMLFormElement"),I5=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ly=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),M5=fn("RegExp"),Vb=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ma(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},F5=e=>{Vb(e,(t,n)=>{if(xt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(xt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},$5=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return ri(e)?r(e):r(String(e).split(t)),n},D5=()=>{},L5=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function z5(e){return!!(e&&xt(e.append)&&e[Lb]==="FormData"&&e[ou])}const U5=e=>{const t=new Array(10),n=(r,s)=>{if(Ia(r)){if(t.indexOf(r)>=0)return;if(Oa(r))return r;if(!("toJSON"in r)){t[s]=r;const o=ri(r)?[]:{};return Ma(r,(i,a)=>{const c=n(i,s+1);!Ko(c)&&(o[a]=c)}),t[s]=void 0,o}}return r};return n(e,0)},B5=fn("AsyncFunction"),W5=e=>e&&(Ia(e)||xt(e))&&xt(e.then)&&xt(e.catch),Hb=((e,t)=>e?setImmediate:t?((n,r)=>(is.addEventListener("message",({source:s,data:o})=>{s===is&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),is.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",xt(is.postMessage)),V5=typeof queueMicrotask<"u"?queueMicrotask.bind(is):typeof process<"u"&&process.nextTick||Hb,H5=e=>e!=null&&xt(e[ou]),k={isArray:ri,isArrayBuffer:zb,isBuffer:Oa,isFormData:y5,isArrayBufferView:l5,isString:c5,isNumber:Ub,isBoolean:u5,isObject:Ia,isPlainObject:Dl,isEmptyObject:d5,isReadableStream:x5,isRequest:w5,isResponse:b5,isHeaders:E5,isUndefined:Ko,isDate:f5,isFile:p5,isBlob:h5,isRegExp:M5,isFunction:xt,isStream:g5,isURLSearchParams:v5,isTypedArray:R5,isFileList:m5,forEach:Ma,merge:rp,extend:j5,trim:S
vendor: 4,687 bytes, line 347
3475,stripBOM:T5,inherits:C5,toFlatObject:N5,kindOf:iu,kindOfTest:fn,endsWith:k5,toArray:_5,forEachEntry:P5,matchAll:A5,isHTMLForm:O5,hasOwnProperty:Ly,hasOwnProp:Ly,reduceDescriptors:Vb,freezeMethods:F5,toObjectSet:$5,toCamelCase:I5,noop:D5,toFiniteNumber:L5,findKey:Bb,global:is,isContextDefined:Wb,isSpecCompliantForm:z5,toJSONObject:U5,isAsyncFn:B5,isThenable:W5,setImmediate:Hb,asap:V5,isIterable:H5};function re(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}k.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:k.toJSONObject(this.config),code:this.code,status:this.status}}});const qb=re.prototype,Kb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Kb[e]={value:e}});Object.defineProperties(re,Kb);Object.defineProperty(qb,"isAxiosError",{value:!0});re.from=(e,t,n,r,s,o)=>{const i=Object.create(qb);k.toFlatObject(e,i,function(d){return d!==Error.prototype},u=>u!=="isAxiosError");const a=e&&e.message?e.message:"Error",c=t==null&&e?e.code:t;return re.call(i,a,c,n,r,s),e&&i.cause==null&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",o&&Object.assign(i,o),i};const q5=null;function sp(e){return k.isPlainObject(e)||k.isArray(e)}function Gb(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function zy(e,t,n){return e?e.concat(t).map(function(s,o){return s=Gb(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function K5(e){return k.isArray(e)&&!e.some(sp)}const G5=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function lu(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,x){return!k.isUndefined(x[g])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(s))throw new TypeError("visitor must be a function");function u(b){if(b===null)return"";if(k.isDate(b))return b.toISOString();if(k.isBoolean(b))return b.toString();if(!c&&k.isBlob(b))throw new re("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(b)||k.isTypedArray(b)?c&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,g,x){let y=b;if(b&&!x&&typeof b=="object"){if(k.endsWith(g,"{}"))g=r?g:g.slice(0,-2),b=JSON.stringify(b);else if(k.isArray(b)&&K5(b)||(k.isFileList(b)||k.endsWith(g,"[]"))&&(y=k.toArray(b)))return g=Gb(g),y.forEach(function(w,E){!(k.isUndefined(w)||w===null)&&t.append(i===!0?zy([g],E,o):i===null?g:g+"[]",u(w))}),!1}return sp(b)?!0:(t.append(zy(x,g,o),u(b)),!1)}const f=[],p=Object.assign(G5,{defaultVisitor:d,convertValue:u,isVisitable:sp});function h(b,g){if(!k.isUndefined(b)){if(f.indexOf(b)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(b),k.forEach(b,function(y,m){(!(k.isUndefined(y)||y===null)&&s.call(t,y,k.isString(m)?m.trim():m,g,p))===!0&&h(y,g?g.concat(m):[m])}),f.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Uy(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Qh(e,t){this._pairs=[],e&&lu(e,this,t)}const Qb=Qh.prototype;Qb.append=function(t,n){this._pairs.push([t,n])};Qb.toString=function(t){const n=t?function(r){return t.call(this,r,Uy)}:Uy;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Q5(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Yb(e,t,n){if(!t)return e;const r=n&&n.encode||Q5;k.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=k.isURLSearchParams(t)?t.toString():new Qh(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class By{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}
vendor: 4,231 bytes, lines 347-348
347forEach(t){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Xb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Y5=typeof URLSearchParams<"u"?URLSearchParams:Qh,X5=typeof FormData<"u"?FormData:null,Z5=typeof Blob<"u"?Blob:null,J5={isBrowser:!0,classes:{URLSearchParams:Y5,FormData:X5,Blob:Z5},protocols:["http","https","file","blob","url","data"]},Yh=typeof window<"u"&&typeof document<"u",op=typeof navigator=="object"&&navigator||void 0,eP=Yh&&(!op||["ReactNative","NativeScript","NS"].indexOf(op.product)<0),tP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",nP=Yh&&window.location.href||"http://localhost",rP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yh,hasStandardBrowserEnv:eP,hasStandardBrowserWebWorkerEnv:tP,navigator:op,origin:nP},Symbol.toStringTag,{value:"Module"})),et={...rP,...J5};function sP(e,t){return lu(e,new et.classes.URLSearchParams,{visitor:function(n,r,s,o){return et.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function oP(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function iP(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function Zb(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),c=o>=n.length;return i=!i&&k.isArray(s)?s.length:i,c?(k.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!k.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&k.isArray(s[i])&&(s[i]=iP(s[i])),!a)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,s)=>{t(oP(r),s,n,0)}),n}return null}function aP(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Fa={transitional:Xb,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=k.isObject(t);if(o&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return s?JSON.stringify(Zb(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return sP(t,this.formSerializer).toString();if((a=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return lu(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),aP(t)):t}],transformResponse:[function(t){const n=this.transitional||Fa.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,this.parseReviver)}catch(a){if(i)throw a.name==="SyntaxError"?re.from(a,re.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:et.classes.FormData,Blob:et.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{Fa.headers[e]={}});const lP=k.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cP=e=>{const t={};let n,r,s;return e&&e.split(` 348`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&lP[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Wy=Symbol("internals");function xi(e){return e&&String(e).trim().toLowerCase()}function Ll(e){return e===!1||e==null?e:k.isArray(e)?e.map(Ll):String(e)}function uP(e){const t=Object.create(null),n=/([^\s,;
348=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const dP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ed(e,t,n,r,s){if(k.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!k.isString(t)){if(k.isString(r))return t.indexOf(r)!==-1;if(k.isRegExp(r))return r.test(t)}}function fP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function pP(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}let wt=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,c,u){const d=xi(c);if(!d)throw new Error("header name must be a non-empty string");const f=k.findKey(s,d);(!f||s[f]===void 0||u===!0||u===void 0&&s[f]!==!1)&&(s[f||c]=Ll(a))}const i=(a,c)=>k.forEach(a,(u,d)=>o(u,d,c));if(k.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(k.isString(t)&&(t=t.trim())&&!dP(t))i(cP(t),n);else if(k.isObject(t)&&k.isIterable(t)){let a={},c,u;for(const d of t){if(!k.isArray(d))throw TypeError("Object iterator must return a key-value pair");a[u=d[0]]=(c=a[u])?k.isArray(c)?[...c,d[1]]:[c,d[1]]:d[1]}i(a,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=xi(t),t){const r=k.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return uP(s);if(k.isFunction(n))return n.call(this,s,r);if(k.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=xi(t),t){const r=k.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ed(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=xi(i),i){const a=k.findKey(r,i);a&&(!n||Ed(r,r[a],a,n))&&(delete r[a],s=!0)}}return k.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Ed(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return k.forEach(this,(s,o)=>{const i=k.findKey(r,o);if(i){n[i]=Ll(s),delete n[o];return}const a=t?fP(o):String(o).trim();a!==o&&delete n[o],n[a]=Ll(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&k.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` 349`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Wy]=this[Wy]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=xi(i);r[a]||(pP(s,i),r[a]=!0)}return k.isArray(t)?t.forEach(o):o(t),this}};wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(wt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});k.freezeMethods(wt);function Sd(e,t){const n=this||Fa,r=t||n,s=wt.from(r.headers);let o=r.data;return k.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Jb(e){return!!(e&&e.__CANCEL__)}function si(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(si,re,{__CANCEL__:!0});function e2(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function hP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function mP(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),d=r[o];i||(i=u),n[s]=c,r[s]=u;let f=o,p=0;for(;f!==s;)p+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const h=d&&u-d;return h?Math.round(p*1e3/h):void 0}}function gP(e,t){let n=0,r=1e3/t,s,o;const i=(u,d=Date.now())=>{n=d,s=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=r?i(u,d):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},r-f)))},()=>s&&i(s)]}const Sc=(e,t,n=3)=>{let r=0;const s=mP(50,250);return gP(o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,c=i-r,u=s(c),d=i<=a;r=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&d?(a-i)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Vy=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Hy=e=>(...t)=>k.asap(()=>e(...t)),yP=et.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,et.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(et.origin),et.navigator&&/(msie|trident)/i.test(et.navigator.userAgent)):()=>!0,vP=et.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),k.isString(r)&&i.push("path="+r),k.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function xP(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function wP(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function t2(e,t,n){let r=!xP(t);return e&&(r||n==!1)?wP(e,t):t}const qy=e=>e instanceof wt?{...e}:e;function Rs(e,t){t=t||{};const n={};function r(u,d,f,p){return k.isPlainObject(u)&&k.isPlainObject(d)?k.merge.call({caseless:p},u,d):k.isPlainObject(d)?k.merge({},d):k.isArray(d)?d.slice():d}function s(u,d,f,p){if(k.isUndefined(d)){if(!k.isUndefined(u))return r(void 0,u,f,p)}else return r(u,d,f,p)}function o(u,d){if(!k.isUndefined(d))return r(void 0,d)}function i(u,d){if(k.isUndefined(d)){if(!k.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,d,f)=>s(qy(u),qy(d),f,!0)};
vendor: 11,777 bytes, lines 349-352
349return k.forEach(Object.keys({...e,...t}),function(d){const f=c[d]||s,p=f(e[d],t[d],d);k.isUndefined(p)&&f!==a||(n[d]=p)}),n}const n2=e=>{const t=Rs({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:a}=t;if(t.headers=i=wt.from(i),t.url=Yb(t2(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),k.isFormData(n)){if(et.hasStandardBrowserEnv||et.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(k.isFunction(n.getHeaders)){const c=n.getHeaders(),u=["content-type","content-length"];Object.entries(c).forEach(([d,f])=>{u.includes(d.toLowerCase())&&i.set(d,f)})}}if(et.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(t)),r||r!==!1&&yP(t.url))){const c=s&&o&&vP.read(o);c&&i.set(s,c)}return t},bP=typeof XMLHttpRequest<"u",EP=bP&&function(e){return new Promise(function(n,r){const s=n2(e);let o=s.data;const i=wt.from(s.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=s,d,f,p,h,b;function g(){h&&h(),b&&b(),s.cancelToken&&s.cancelToken.unsubscribe(d),s.signal&&s.signal.removeEventListener("abort",d)}let x=new XMLHttpRequest;x.open(s.method.toUpperCase(),s.url,!0),x.timeout=s.timeout;function y(){if(!x)return;const w=wt.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:w,config:e,request:x};e2(function(j){n(j),g()},function(j){r(j),g()},S),x=null}"onloadend"in x?x.onloadend=y:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(y)},x.onabort=function(){x&&(r(new re("Request aborted",re.ECONNABORTED,e,x)),x=null)},x.onerror=function(E){const S=E&&E.message?E.message:"Network Error",T=new re(S,re.ERR_NETWORK,e,x);T.event=E||null,r(T),x=null},x.ontimeout=function(){let E=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const S=s.transitional||Xb;s.timeoutErrorMessage&&(E=s.timeoutErrorMessage),r(new re(E,S.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,x)),x=null},o===void 0&&i.setContentType(null),"setRequestHeader"in x&&k.forEach(i.toJSON(),function(E,S){x.setRequestHeader(S,E)}),k.isUndefined(s.withCredentials)||(x.withCredentials=!!s.withCredentials),a&&a!=="json"&&(x.responseType=s.responseType),u&&([p,b]=Sc(u,!0),x.addEventListener("progress",p)),c&&x.upload&&([f,h]=Sc(c),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",h)),(s.cancelToken||s.signal)&&(d=w=>{x&&(r(!w||w.type?new si(null,e,x):w),x.abort(),x=null)},s.cancelToken&&s.cancelToken.subscribe(d),s.signal&&(s.signal.aborted?d():s.signal.addEventListener("abort",d)));const m=hP(s.url);if(m&&et.protocols.indexOf(m)===-1){r(new re("Unsupported protocol "+m+":",re.ERR_BAD_REQUEST,e));return}x.send(o||null)})},SP=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(u){if(!s){s=!0,a();const d=u instanceof Error?u:this.reason;r.abort(d instanceof re?d:new si(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,o(new re(`timeout ${t} of ms exceeded`,re.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:c}=r;return c.unsubscribe=()=>k.asap(a),c}},jP=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},TP=async function*(e,t){for await(const n of CP(e))yield*jP(n,t)},CP=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Ky=(e,t,n,r)=>{const s=TP(e,t);let o=0,i,a=c=>{i||(i=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await s.next();if(u){a(),c.close();return}let f=d.byteLength;if(n){let p=o+=f;n(p)}c.enqueue(new Uint8Array(d))}catch(u){throw a(u),u}},cancel(c){return a(c),s.return()}},{highWaterMark:2})},Gy=64*1024,{isFunction:yl}=k,NP=(({Request:e,Response:t})=>({Request:e,Response:t}))(k.global),{ReadableStream:Qy,TextEncoder:Yy}=k.global,Xy=(e,...t)=>{try{return!!e(...t)}catch{return!1}},kP=e=>{e=k.merge.call({skipUndefined:!0},NP,e);const{fetch:t,Request:n,Response:r}=e,s=t?yl(t):typeof fetch=="function",o=yl(n),i=yl(r);if(!s)return!1;const a=s&&yl(Qy),c=s&&(typeof Yy=="function"?(b=>g=>b.encode(g))(new Yy):async b=>new Uint8Array(await new n(b).arrayBuffer())),u=o&&a&&Xy(()=>{let b=!1;const g=new n(et.origin,{body:new Qy,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return b&&!g}),d=i&&a&&Xy(()=>k.isReadableStream(new r("").body)),f={stream:d&&(b=>b.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!f[b]&&(f[b]=(g,x)=>{let y=g&&g[b];if(y)return y.call(g);throw new re(`Response type '${b}' is not supported`,re.ERR_NOT_SUPPORT,x)})});const p=async b=>{if(b==null)return 0;if(k.isBlob(b))return b.size;if(k.isSpecCompliantForm(b))return(await new n(et.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(k.isArrayBufferView(b)||k.isArrayBuffer(b))return b.byteLength;if(k.isURLSearchParams(b)&&(b=b+""),k.isString(b))return(await c(b)).byteLength},h=async(b,g)=>{const x=k.toFiniteNumber(b.getContentLength());return x??p(g)};return async b=>{let{url:g,method:x,data:y,signal:m,cancelToken:w,timeout:E,onDownloadProgress:S,onUploadProgress:T,responseType:j,headers:N,withCredentials:I="same-origin",fetchOptions:A}=n2(b),$=t||fetch;j=j?(j+"").toLowerCase():"text";let F=SP([m,w&&w.toAbortSignal()],E),U=null;const D=F&&F.unsubscribe&&(()=>{F.unsubscribe()});let Z;try{if(T&&u&&x!=="get"&&x!=="head"&&(Z=await h(N,y))!==0){let K=new n(g,{method:"POST",body:y,duplex:"half"}),W;if(k.isFormData(y)&&(W=K.headers.get("content-type"))&&N.setContentType(W),K.body){const[ee,J]=Vy(Z,Sc(Hy(T)));y=Ky(K.body,Gy,ee,J)}}k.isString(I)||(I=I?"include":"omit");const H=o&&"credentials"in n.prototype,Q={...A,signal:F,method:x.toUpperCase(),headers:N.normalize().toJSON(),body:y,duplex:"half",credentials:H?I:void 0};U=o&&new n(g,Q);let R=await(o?$(U,A):$(g,Q));const O=d&&(j==="stream"||j==="response");if(d&&(S||O&&D)){const K={};["status","statusText","headers"].forEach(fe=>{K[fe]=R[fe]});const W=k.toFiniteNumber(R.headers.get("content-length")),[ee,J]=S&&Vy(W,Sc(Hy(S),!0))||[];R=new r(Ky(R.body,Gy,ee,()=>{J&&J(),D&&D()}),K)}j=j||"text";let z=await f[k.findKey(f,j)||"text"](R,b);return!O&&D&&D(),await new Promise((K,W)=>{e2(K,W,{data:z,headers:wt.from(R.headers),status:R.status,statusText:R.statusText,config:b,request:U})})}catch(H){throw D&&D(),H&&H.name==="TypeError"&&/Load failed|fetch/i.test(H.message)?Object.assign(new re("Network Error",re.ERR_NETWORK,b,U),{cause:H.cause||H}):re.from(H,H&&H.code,b,U)}}},_P=new Map,r2=e=>{let t=e?e.env:{};const{fetch:n,Request:r,Response:s}=t,o=[r,s,n];let i=o.length,a=i,c,u,d=_P;for(;a--;)c=o[a],u=d.get(c),u===void 0&&d.set(c,u=a?new Map:kP(t)),d=u;return u};r2();const ip={http:q5,xhr:EP,fetch:{get:r2}};k.forEach(ip,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Zy=e=>`- ${e}`,RP=e=>k.isFunction(e)||e===null||e===!1,s2={getAdapter:(e,t)=>{e=k.isArray(e)?e:[e];const{length:n}=e;let r,s;const o={};for(let i=0;i<n;i++){r=e[i];let a;if(s=r,!RP(r)&&(s=ip[(a=String(r)).toLowerCase()],s===void 0))throw new re(`Unknown adapter '${a}'`);if(s&&(k.isFunction(s)||(s=s.get(t))))break;o[a||"#"+i]=s}if(!s){const i=Object.entries(o).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=n?i.length>1?`since : 350`+i.map(Zy).join(` 351`):" "+Zy(i[0]):"as no adapter specified";throw new re("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:ip};function jd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new si(null,e)}function Jy(e){return jd(e),e.headers=wt.from(e.headers),e.data=Sd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),s2.getAdapter(e.adapter||Fa.adapter,e)(e).then(function(r){return jd(e),r.data=Sd.call(e,e.transformResponse,r),r.headers=wt.from(r.headers),r},function(r){return Jb(r)||(jd(e),r&&r.response&&(r.response.data=Sd.call(e,e.transformResponse,r.response),r.response.headers=wt.from(r.response.headers))),Promise.reject(r)})}const o2="1.12.2",cu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{cu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const e0={};cu.transitional=function(t,n,r){function s(o,i){return"[Axios v"+o2+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new re(s(i," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!e0[i]&&(e0[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};cu.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function PP(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const a=e[o],c=a===void 0||i(a,o,e);if(c!==!0)throw new re("option "+o+" must be "+c,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+o,re.ERR_BAD_OPTION)}}const zl={assertOptions:PP,validators:cu},yn=zl.validators;let xs=class{constructor(t){this.defaults=t||{},this.interceptors={request:new By,response:new By}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` 352`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rs(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&zl.assertOptions(r,{silentJSONParsing:yn.transitional(yn.boolean),forcedJSONParsing:yn.transitional(yn.boolean),clarifyTimeoutError:yn.transitional(yn.boolean)},!1),s!=null&&(k.isFunction(s)?n.paramsSerializer={serialize:s}:zl.assertOptions(s,{encode:yn.function,serialize:yn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),zl.assertOptions(n,{baseUrl:yn.spelling("baseURL"),withXsrfToken:yn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&k.merge(o.common,o[n.method]);o&&k.forEach(["delete","get","head","post","put","patch","common"],b=>{delete o[b]}),n.headers=wt.concat(i,o);const a=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let d,f=0,p;if(!c){const b=[Jy.bind(this),void 0];for(b.unshift(...a),b.push(...u),p=b.length,d=Promise.resolve(n);f<p;)d=d.then(b[f++],b[f++]);return d}p=a.length;let h=n;for(;f<p;){const b=a[f++],g=a[f++];try{h=b(h)}catch(x){g.call(this,x);break}}try{d=Jy.call(this,h)}catch(b){return Promise.reject(b)}for(f=0,p=u.length;f<p;)d=d.then(u[f++],u[f++]);return d}getUri(t){t=Rs(this.defaults,t);const n=t2(t.baseURL,t.url,t.allowAbsoluteUrls);return Yb(n,t.params,t.paramsSerializer)}};
vendor: 1,665 bytes, line 352
352k.forEach(["delete","get","head","options"],function(t){xs.prototype[t]=function(n,r){return this.request(Rs(r||{},{method:t,url:n,data:(r||{}).data}))}});k.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(Rs(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}xs.prototype[t]=n(),xs.prototype[t+"Form"]=n(!0)});let AP=class i2{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new si(o,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new i2(function(s){t=s}),cancel:t}}};function OP(e){return function(n){return e.apply(null,n)}}function IP(e){return k.isObject(e)&&e.isAxiosError===!0}const ap={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
352alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ap).forEach(([e,t])=>{ap[t]=e});function a2(e){const t=new xs(e),n=Db(xs.prototype.request,t);return k.extend(n,xs.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return a2(Rs(e,s))},n}const Oe=a2(Fa);Oe.Axios=xs;Oe.CanceledError=si;Oe.CancelToken=AP;Oe.isCancel=Jb;Oe.VERSION=o2;Oe.toFormData=lu;Oe.AxiosError=re;Oe.Cancel=Oe.CanceledError;Oe.all=function(t){return Promise.all(t)};Oe.spread=OP;Oe.isAxiosError=IP;Oe.mergeConfig=Rs;Oe.AxiosHeaders=wt;Oe.formToJSON=e=>Zb(k.isHTMLForm(e)?new FormData(e):e);Oe.getAdapter=s2.getAdapter;Oe.HttpStatusCode=ap;Oe.default=Oe;const{Axios:_F,AxiosError:RF,CanceledError:PF,isCancel:AF,CancelToken:OF,VERSION:IF,all:MF,Cancel:FF,isAxiosError:$F,spread:DF,toFormData:LF,AxiosHeaders:zF,HttpStatusCode:UF,formToJSON:BF,getAdapter:WF,mergeConfig:VF}=Oe;function MP(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}MP(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);
352-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}
352.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}
352}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} 353`);var $a=e=>typeof e=="number"&&!isNaN(e),Ps=e=>typeof e=="string",er=e=>typeof e=="function",FP=e=>Ps(e)||$a(e),lp=e=>Ps(e)||er(e)?e:null,$P=(e,t)=>e===!1||$a(e)&&e>0?e:t,cp=e=>v.isValidElement(e)||Ps(e)||er(e)||$a(e);function DP(e,t,n=300){let{scrollHeight:r,style:s}=e;requestAnimationFrame(()=>{s.minHeight="initial",s.height=r+"px",s.transition=`all ${n}ms`,requestAnimationFrame(()=>{s.height="0",s.padding="0",s.margin="0",setTimeout(t,n)})})}function LP({enter:e,exit:t,appendPosition:n=!1,collapse:r=!0,collapseDuration:s=300}){return function({children:o,position:i,preventExitTransition:a,done:c,nodeRef:u,isIn:d,playToast:f}){let p=n?`${e}--${i}`:e,h=n?`${t}--${i}`:t,b=v.useRef(0);return v.useLayoutEffect(()=>{let g=u.current,x=p.split(" "),y=m=>{m.target===u.current&&(f(),g.removeEventListener("animationend",y),g.removeEventListener("animationcancel",y),b.current===0&&m.type!=="animationcancel"&&g.classList.remove(...x))};g.classList.add(...x),g.addEventListener("animationend",y),g.addEventListener("animationcancel",y)},[]),v.useEffect(()=>{let g=u.current,x=()=>{g.removeEventListener("animationend",x),r?DP(g,c,s):c()};d||(a?x():(b.current=1,g.className+=` ${h}`,g.addEventListener("animationend",x)))},[d]),P.createElement(P.Fragment,null,o)}}function t0(e,t){return{content:l2(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function l2(e,t,n=!1){return v.isValidElement(e)&&!Ps(e.type)?v.cloneElement(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):er(e)?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):e}function zP({closeToast:e,theme:t,ariaLabel:n="close"}){return P.createElement("button",{className:`Toastify__close-button Toastify__close-button--${t}`,type:"button",onClick:r=>{r.stopPropagation(),e(!0)},"aria-label":n},P.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},P.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function UP({delay:e,isRunning:t,closeToast:n,type:r="default",hide:s,className:o,controlledProgress:i,progress:a,rtl:c,isIn:u,theme:d}){let f=s||i&&a===0,p={animationDuration:`${e}ms`,animationPlayState:t?"running":"paused"};
vendor: 3,184 bytes, line 353
353i&&(p.transform=`scaleX(${a})`);let h=Kn("Toastify__progress-bar",i?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${d}`,`Toastify__progress-bar--${r}`,{"Toastify__progress-bar--rtl":c}),b=er(o)?o({rtl:c,type:r,defaultClassName:h}):Kn(h,o),g={[i&&a>=1?"onTransitionEnd":"onAnimationEnd"]:i&&a<1?null:()=>{u&&n()}};return P.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":f},P.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${d} Toastify__progress-bar--${r}`}),P.createElement("div",{role:"progressbar","aria-hidden":f?"true":"false","aria-label":"notification timer",className:b,style:p,...g}))}var BP=1,c2=()=>`${BP++}`;function WP(e,t,n){let r=1,s=0,o=[],i=[],a=t,c=new Map,u=new Set,d=m=>(u.add(m),()=>u.delete(m)),f=()=>{i=Array.from(c.values()),u.forEach(m=>m())},p=({containerId:m,toastId:w,updateId:E})=>{let S=m?m!==e:e!==1,T=c.has(w)&&E==null;return S||T},h=(m,w)=>{c.forEach(E=>{var S;(w==null||w===E.props.toastId)&&((S=E.toggle)==null||S.call(E,m))})},b=m=>{var w,E;(E=(w=m.props)==null?void 0:w.onClose)==null||E.call(w,m.removalReason),m.isActive=!1},g=m=>{if(m==null)c.forEach(b);else{let w=c.get(m);w&&b(w)}f()},x=()=>{s-=o.length,o=[]},y=m=>{var w,E;let{toastId:S,updateId:T}=m.props,j=T==null;m.staleId&&c.delete(m.staleId),m.isActive=!0,c.set(S,m),f(),n(t0(m,j?"added":"updated")),j&&((E=(w=m.props).onOpen)==null||E.call(w))};return{id:e,props:a,observe:d,toggle:h,removeToast:g,toasts:c,clearQueue:x,buildToast:(m,w)=>{if(p(w))return;let{toastId:E,updateId:S,data:T,staleId:j,delay:N}=w,I=S==null;I&&s++;let A={...a,style:a.toastStyle,key:r++,...Object.fromEntries(Object.entries(w).filter(([F,U])=>U!=null)),toastId:E,updateId:S,data:T,isIn:!1,className:lp(w.className||a.toastClassName),progressClassName:lp(w.progressClassName||a.progressClassName),autoClose:w.isLoading?!1:$P(w.autoClose,a.autoClose),closeToast(F){c.get(E).removalReason=F,g(E)},deleteToast(){let F=c.get(E);if(F!=null){if(n(t0(F,"removed")),c.delete(E),s--,s<0&&(s=0),o.length>0){y(o.shift());return}f()}}};A.closeButton=a.closeButton,w.closeButton===!1||cp(w.closeButton)?A.closeButton=w.closeButton:w.closeButton===!0&&(A.closeButton=cp(a.closeButton)?a.closeButton:!0);let $={content:m,props:A,staleId:j};a.limit&&a.limit>0&&s>a.limit&&I?o.push($):$a(N)?setTimeout(()=>{y($)},N):y($)},setProps(m){a=m},setToggle:(m,w)=>{let E=c.get(m);E&&(E.toggle=w)},isToastActive:m=>{var w;return(w=c.get(m))==null?void 0:w.isActive},getSnapshot:()=>i}}var it=new Map,da=[],up=new Set,VP=e=>up.forEach(t=>t(e)),u2=()=>it.size>0;function HP(){da.forEach(e=>f2(e.content,e.options)),da=[]}var qP=(e,{containerId:t})=>{var n;return(n=it.get(t||1))==null?void 0:n.toasts.get(e)};function d2(e,t){var n;if(t)return!!((n=it.get(t))!=null&&n.isToastActive(e));let r=!1;return it.forEach(s=>{s.isToastActive(e)&&(r=!0)}),r}function KP(e){if(!u2()){da=da.filter(t=>e!=null&&t.options.toastId!==e);return}if(e==null||FP(e))it.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=it.get(e.containerId);t?t.removeToast(e.id):it.forEach(n=>{n.removeToast(e.id)})}}
vendor: 2,151 bytes, line 353
353var GP=(e={})=>{it.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})};function f2(e,t){cp(e)&&(u2()||da.push({content:e,options:t}),it.forEach(n=>{n.buildToast(e,t)}))}function QP(e){var t;(t=it.get(e.containerId||1))==null||t.setToggle(e.id,e.fn)}function p2(e,t){it.forEach(n=>{(t==null||!(t!=null&&t.containerId)||(t==null?void 0:t.containerId)===n.id)&&n.toggle(e,t==null?void 0:t.id)})}function YP(e){let t=e.containerId||1;return{subscribe(n){let r=WP(t,e,VP);it.set(t,r);let s=r.observe(n);return HP(),()=>{s(),it.delete(t)}},setProps(n){var r;(r=it.get(t))==null||r.setProps(n)},getSnapshot(){var n;return(n=it.get(t))==null?void 0:n.getSnapshot()}}}function XP(e){return up.add(e),()=>{up.delete(e)}}function ZP(e){return e&&(Ps(e.toastId)||$a(e.toastId))?e.toastId:c2()}function Da(e,t){return f2(e,t),t.toastId}function uu(e,t){return{...t,type:t&&t.type||e,toastId:ZP(t)}}function du(e){return(t,n)=>Da(t,uu(e,n))}function ce(e,t){return Da(e,uu("default",t))}ce.loading=(e,t)=>Da(e,uu("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t}));function JP(e,{pending:t,error:n,success:r},s){let o;t&&(o=Ps(t)?ce.loading(t,s):ce.loading(t.render,{...s,...t}));let i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},a=(u,d,f)=>{if(d==null){ce.dismiss(o);return}let p={type:u,...i,...s,data:f},h=Ps(d)?{render:d}:d;return o?ce.update(o,{...p,...h}):ce(h.render,{...p,...h}),f},c=er(e)?e():e;return c.then(u=>a("success",r,u)).catch(u=>a("error",n,u)),c}ce.promise=JP;ce.success=du("success");ce.info=du("info");ce.error=du("error");ce.warning=du("warning");ce.warn=ce.warning;ce.dark=(e,t)=>Da(e,uu("default",{theme:"dark",...t}));function eA(e){KP(e)}ce.dismiss=eA;ce.clearWaitingQueue=GP;ce.isActive=d2;ce.update=(e,t={})=>{let n=qP(e,t);if(n){let{props:r,content:s}=n,o={delay:100,...r,...t,toastId:t.toastId||e,updateId:c2()};o.toastId!==e&&(o.staleId=e);let i=o.render||s;delete o.render,Da(i,o)}};ce.done=e=>{ce.update(e,{progress:1})};ce.onChange=XP;ce.play=e=>p2(!0,e);ce.pause=e=>p2(!1,e);function tA(e){var t;let{subscribe:n,getSnapsh
vendor: 5,837 bytes, line 353
353ot:r,setProps:s}=v.useRef(YP(e)).current;s(e);let o=(t=v.useSyncExternalStore(n,r,r))==null?void 0:t.slice();function i(a){if(!o)return[];let c=new Map;return e.newestOnTop&&o.reverse(),o.forEach(u=>{let{position:d}=u.props;c.has(d)||c.set(d,[]),c.get(d).push(u)}),Array.from(c,u=>a(u[0],u[1]))}return{getToastToRender:i,isToastActive:d2,count:o==null?void 0:o.length}}function nA(e){let[t,n]=v.useState(!1),[r,s]=v.useState(!1),o=v.useRef(null),i=v.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:a,pauseOnHover:c,closeToast:u,onClick:d,closeOnClick:f}=e;QP({id:e.toastId,containerId:e.containerId,fn:n}),v.useEffect(()=>{if(e.pauseOnFocusLoss)return p(),()=>{h()}},[e.pauseOnFocusLoss]);function p(){document.hasFocus()||y(),window.addEventListener("focus",x),window.addEventListener("blur",y)}function h(){window.removeEventListener("focus",x),window.removeEventListener("blur",y)}function b(j){if(e.draggable===!0||e.draggable===j.pointerType){m();let N=o.current;i.canCloseOnClick=!0,i.canDrag=!0,N.style.transition="none",e.draggableDirection==="x"?(i.start=j.clientX,i.removalDistance=N.offsetWidth*(e.draggablePercent/100)):(i.start=j.clientY,i.removalDistance=N.offsetHeight*(e.draggablePercent===80?e.draggablePercent*1.5:e.draggablePercent)/100)}}function g(j){let{top:N,bottom:I,left:A,right:$}=o.current.getBoundingClientRect();j.nativeEvent.type!=="touchend"&&e.pauseOnHover&&j.clientX>=A&&j.clientX<=$&&j.clientY>=N&&j.clientY<=I?y():x()}function x(){n(!0)}function y(){n(!1)}function m(){i.didMove=!1,document.addEventListener("pointermove",E),document.addEventListener("pointerup",S)}function w(){document.removeEventListener("pointermove",E),document.removeEventListener("pointerup",S)}function E(j){let N=o.current;if(i.canDrag&&N){i.didMove=!0,t&&y(),e.draggableDirection==="x"?i.delta=j.clientX-i.start:i.delta=j.clientY-i.start,i.start!==j.clientX&&(i.canCloseOnClick=!1);let I=e.draggableDirection==="x"?`${i.delta}px, var(--y)`:`0, calc(${i.delta}px + var(--y))`;N.style.transform=`translate3d(${I},0)`,N.style.opacity=`${1-Math.abs(i.delta/i.removalDistance)}`}}function S(){w();let j=o.current;if(i.canDrag&&i.didMove&&j){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance){s(!0),e.closeToast(!0),e.collapseAll();return}j.style.transition="transform 0.2s, opacity 0.2s",j.style.removeProperty("transform"),j.style.removeProperty("opacity")}}let T={onPointerDown:b,onPointerUp:g};return a&&c&&(T.onMouseEnter=y,e.stacked||(T.onMouseLeave=x)),f&&(T.onClick=j=>{d&&d(j),i.canCloseOnClick&&u(!0)}),{playToast:x,pauseToast:y,isRunning:t,preventExitTransition:r,toastRef:o,eventHandlers:T}}var rA=typeof window<"u"?v.useLayoutEffect:v.useEffect,fu=({theme:e,type:t,isLoading:n,...r})=>P.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${t})`,...r});function sA(e){return P.createElement(fu,{...e},P.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))}function oA(e){return P.createElement(fu,{...e},P.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))}function iA(e){return P.createElement(fu,{...e},P.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))}function aA(e){return P.createElement(fu,{...e},P.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))}function lA(){return P.createElement("div",{className:"Toastify__spinner"})}var dp={info:oA,warning:sA,success:iA,error:aA,spinner:lA},cA=e=>e in dp;function uA({theme:e,type:t,isLoading:n,icon:r}){let s=null,o={theme:e,type:t};return r===!1||(er(r)?s=r({...o,isLoading:n}):v.isValidElement(r)?s=v.cloneElement(r,o):n?s=dp.spinner():cA(t)&&(s=dp[t](o))),s}var dA=e=>{let{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:s,playToast:o}=nA(e),{closeButton:i,children:a,autoClose:c,onClick:u,type:d,hideProgressBar:f,closeToast:p,transition:h,position:b,className:g,style:x,progressClassName:y,updateId:m,role:w,progress:E,rtl:S,toastId:T,deleteToast:j,isIn:N,isLoading:I,closeOnClick:A,theme:$,ariaLabel:F}=e,U=Kn("Toastify__toast",`Toastify__toast-theme--${$}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":S},{"Toastify__toast--close-on-click":A}),D=er(g)?g({rtl:S,position:b,type:d,defaultClassName:U}):Kn(U,g),Z=uA(e),H=!!E||!c,Q={closeToast:p,type:d,theme:$},R=null;return i===!1||(er(i)?R=i(Q):v.isValidElement(i)?R=v.cloneElement(i,Q):R=zP(Q)),P.createElement(h,{isIn:N,done:j,position:b,preventExitTransition:n,nodeRef:r,playToast:o},P.createElement("div",{id:T,tabIndex:0,onClick:u,"data-in":N,className:D,...s,style:x,ref:r,...N&&{role:w,"aria-label":F}},Z!=null&&P.createElement("div",{className:Kn("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter"
353:!I})},Z),l2(a,e,!t),R,!e.customProgressBar&&P.createElement(UP,{...m&&!H?{key:`p-${m}`}:{},rtl:S,theme:$,delay:c,isRunning:t,isIn:N,closeToast:p,hide:f,type:d,className:y,controlledProgress:H,progress:E||0})))},fA=(e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}),pA=LP(fA("bounce",!0)),hA={position:"top-right",transition:pA,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&e.code==="KeyT"};function mA(e){let t={...hA,...e},n=e.stacked,[r,s]=v.useState(!0),o=v.useRef(null),{getToastToRender:i,isToastActive:a,count:c}=tA(t),{className:u,style:d,rtl:f,containerId:p,hotKeys:h}=t;function b(x){let y=Kn("Toastify__toast-container",`Toastify__toast-container--${x}`,{"Toastify__toast-container--rtl":f});return er(u)?u({position:x,rtl:f,defaultClassName:y}):Kn(y,lp(u))}function g(){n&&(s(!0),ce.play())}return rA(()=>{var x;if(n){let y=o.current.querySelectorAll('[data-in="true"]'),m=12,w=(x=t.position)==null?void 0:x.includes("top"),E=0,S=0;Array.from(y).reverse().forEach((T,j)=>{let N=T;N.classList.add("Toastify__toast--stacked"),j>0&&(N.dataset.collapsed=`${r}`),N.dataset.pos||(N.dataset.pos=w?"top":"bot");let I=E*(r?.2:1)+(r?0:m*j);N.style.setProperty("--y",`${w?I:I*-1}px`),N.style.setProperty("--g",`${m}`),N.style.setProperty("--s",`${1-(r?S:0)}`),E+=N.offsetHeight,S+=.025})}},[r,c,n]),v.useEffect(()=>{function x(y){var m;let w=o.current;h(y)&&((m=w.querySelector('[tabIndex="0"]'))==null||m.focus(),s(!1),ce.pause()),y.key==="Escape"&&(document.activeElement===w||w!=null&&w.contains(document.activeElement))&&(s(!0),ce.play())}return document.addEventListener("keydown",x),()=>{document.removeEventListener("keydown",x)}},[h]),P.createElement("section",{ref:o,className:"Toastify",id:p,onMouseEnter:()=>{n&&(s(!1),ce.pause())},onMouseLeave:g,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},i((x,y)=>{let m=y.length?{...d}:{...d,pointerEvents:"none"};return P.createElement("div",{tabIndex:-1,className:b(x),"data-stacked":n,style:m,key:`c-${x}`},y.map(({content:w,props:E})=>P.createElement(dA,{...E,stacked:n,collapseAll:g,isIn:a(E.toastId,E.containerId),key:`t-${E.key}`},w)))}))}function gA(e){var r,s;const t=(r=e.response)==null?void 0:r.data,n=((s=t==null?void 0:t.error)==null?void 0:s.message)||(t==null?void 0:t.message);ce.error(Array.isArray(n)?n[0]||"Bad Request.":n||"Bad Request.")}function yA(e){var r,s;const t=(r=e.response)==null?void 0:r.data,n=((s=t==null?void 0:t.error)==null?void 0:s.message)||(t==null?void 0:t.message);ce.error(Array.isArray(n)?n[0]||"Bad Request.":n||"Bad Request.")}function vA(e){var n,r;const t=(r=(n=e.response)==null?void 0:n.data)==null?void 0:r.message;ce.error(Array.isArray(t)?(t==null?void 0:t[0])||"Bad Request.":t||"Bad Request.")}function xA(e){var n,r;const t=(r=(n=e.response)==null?void 0:n.data)==null?void 0:r.message;ce.error(Array.isArray(t)?(t==null?void 0:t[0])||"Bad Request.":t||"Bad Request.")}function wA(e){var n,r;const t=(r=(n=e.response)==null?void 0:n.data)==null?void 0:r.message;ce.error(Array.isArray(t)?(t==null?void 0:t[0])||"Bad Request.":t||"Bad Request.")}function bA(e){}function Td(e){var r;if((e==null?void 0:e.code)==="ERR_NETWORK")return ce.error("Either the server is down or you are not connected to the internet!");const t=(r=e.response)==null?void 0:r.status;return{400:gA,401:vA,403:xA,404:wA,500:yA,413:bA}[t](e)||void 0}const h2=()=>{const e=Lw(),t=Oe.create({baseURL:"https://dex-wallet.tajirtechhub.com/api",headers:{Authorization:"Bearer"}});let n=!1;t.interceptors.response.use(a=>a,a=>{var c,u;if(a.response&&(a.response.status===401||a.response.status===403)){const d=(u=(c=a.config)==null?void 0:c.method)==null?void 0:u.toUpperCase();if(!n)return n=!0,d==="GET"&&ce.error("Session has been expired!"),e.clear(),Promise.reject(a)}return Promise.reject(a)});const r=(a,c,u={})=>{try{return Uw({queryKey:[c??a,a],queryFn:()=>t.get(a).then(d=>d.data),...u})}catch(d){Td(d)}},s=Oe.create({baseURL:"https://api.tajirtechhub.com"});return s.interceptors.request.use(a=>(a.headers.Authorization="Bearer ",a),a=>Promise.reject(a)),{get:async a=>{const{url:c,config:u,errorHandlerCallback:d}=a;try{return(await s.get(c,u)).data}catch(f){typeof d=="function"?d(f):Td(f)}},post:async a=>{const{url:c,data:u,config:d,errorHandlerCallback:f}=a;try{return(await s.post(c,u,d)).data}catch(p){typeof f=="function"?f(p):Td(p)}},useGetRequest:r}},m2="0x9d98c61d1136cfa2ac263be355350c97ca41c110",wi={name:"TJR",symbol:"TJR",icon:"/assets/tjr.png",explorerUrl:`https://etherscan.io/token/${m2}`};function Js(e){if(typeof e=="number"&&Number.isFinite(e))return e;if(typeof e=="string"){const t=Number.parseFloat(e);return Number.isFinite(t)?t:null}return null}async function EA(){var i,a,c;const e=await fetch(`https://api.dexscreener.com/tokens/v1/ethereum/${m2}`,{headers:{Accept:"application/json"}});if(!e.ok)return null;const t=await e.json();if(!Array.isArray(t)||t.length===0)return null;let n=null,r=-1;for(const u of t){if(!u||typeof u!="object")continue;const d=u,f=Js((i=d.liquidity)==null?void 0:i.usd)??0;f>r&&(r=f,n=d)}const s=Js(n==null?void 0:n.priceUsd),o=n==null?void 0:n.pairAddress;return!n||s==null||typeof o!="string"?null:{priceUsd:s,pairAddress:o,marketCapUsd:Js(n.marketCap),fdvUsd:Js(n.fdv),priceChangePercentage24h:Js((a=n.priceChange)==null?void 0:a.h24),volume24hUsd:Js((c=n.volume)==null?void 0:c.h24)}}function SA(e){if(e>
353=1)return`$${e.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})}`;const t=e>=.01?4:6;return`$${e.toFixed(t)}`}function It({className:e,...t}){return l.jsx("div",{className:Te("animate-pulse rounded-md bg-muted",e),...t})}const jA=()=>{const{useGetRequest:e}=h2(),{data:t,isLoading:n}=e("/users/coingecko/latest","Rates"),{data:r,isLoading:s}=Uw({queryKey:["tjr-dex-market"],queryFn:EA,staleTime:3e4,refetchInterval:6e4}),o=["Bitcoin","Ethereum","Solana","Tajir Tech Hub","POL (ex-MATIC)"],i=(t==null?void 0:t.filter(u=>o==null?void 0:o.includes(u==null?void 0:u.name)).map(u=>({...u})))||[],a=u=>{const d="https://www.coingecko.com/en/coins/";(u==null?void 0:u.name)==="Bitcoin"?window.open(`${d}bitcoin`,"_blank"):(u==null?void 0:u.name)==="Ethereum"?window.open(`${d}ethereum`,"_blank"):(u==null?void 0:u.name)==="Solana"?window.open(`${d}solana`,"_blank"):(u==null?void 0:u.name)==="Tajir Tech Hub"?window.open(`${d}tajir-tech-hub`,"_blank"):(u==null?void 0:u.name)==="POL (ex-MATIC)"&&window.open(`${d}polygon`,"_blank")};function c(u){switch(u){case"bitcoin":return"/assets/bitcoin.png";case"ethereum":return"/assets/ethereum.png";case"solana":return"/assets/solana.png";case"tajir-tech-hub":return"/assets/tjrm.png";case"polygon-ecosystem-token":return"/assets/pol.png";default:return"/assets/default-crypto.png"}}return l.jsxs("section",{id:"assets",className:"py-24 relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-indigo-900 via-purple-900 to-pink-900"}),l.jsx("div",{className:"absolute inset-0 bg-black/40"}),l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[l.jsxs("div",{className:"text-center mb-20 text-white",children:[l.jsx("div",{className:"inline-block glass px-6 py-3 rounded-full mb-6",children:l.jsx("span",{className:"text-sm font-semibold text-blue-200",children:"ð° Asset Management"})}),l.jsxs("h2",{className:"text-5xl lg:text-6xl font-bold mb-6",children:["Trade"," ",l.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-300 via-purple-300 to-pink-300",children:"Everything"})]}),l.jsx("p",{className:"text-xl text-blue-100 max-w-3xl mx-auto leading-relaxed",children:"Access 500+ cryptocurrencies across 100+ blockchains. From Bitcoin to the latest DeFi tokens, everything you need is at your fingertips."})]}),l.jsx("div",{className:"flex justify-center mb-16",children:l.jsx("div",{className:"w-full max-w-4xl",children:l.jsxs("div",{className:"glass-card rounded-3xl p-8 h-full",children:[l.jsx("div",{className:"flex justify-between items-center mb-8",children:l.jsxs("div",{children:[l.jsx("h3",{className:"text-2xl font-bold text-white mb-2",children:"Your Portfolio"}),l.jsx("p",{className:"text-blue-200",children:"Real-time market data"})]})}),l.jsxs("div",{className:"space-y-4",children:[n?Array.from({length:5}).map((u,d)=>l.jsxs("div",{className:"glass rounded-2xl p-6 flex justify-between items-center",children:[l.jsxs("div",{className:"flex items-center space-x-4 w-[150px]",children:[l.jsx(It,{className:"w-12 h-12 rounded-2xl"}),l.jsxs("div",{children:[l.jsx(It,{className:"h-4 w-24 mb-2"}),l.jsx(It,{className:"h-3 w-12"})]})]}),l.jsxs("div",{className:"text-right",children:[l.jsx(It,{className:"h-4 w-20 mb-2"}),l.jsx(It,{className:"h-3 w-10"})]}),l.jsx(It,{className:"w-5 h-5 rounded-full"})]},d)):i.map(u=>{var h,b,g,x;const d=u.id==="tajir-tech-hub"?`$${(h=u==null?void 0:u.current_price)==null?void 0:h.toFixed(4).toLocaleString()}`:`$${(b=u==null?void 0:u.current_price)==null?void 0:b.toLocaleString()}`,f=((g=u==null?void 0:u.price_change_percentage_24h)==null?void 0:g.toFixed(2))+"%",p=(u==null?void 0:u.price_change_percentage_24h)>0;return l.jsxs("div",{className:"glass rounded-2xl p-6 hover:bg-white/10 transition-all duration-300 flex justify-between items-center",children:[l.jsxs("div",{className:"flex items-center space-x-4 w-[150px]",children:[l.jsx("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center",children:l.jsx("img",{src:c(u==null?void 0:u.id),alt:u==null?void 0:u.symbol,className:(u==null?void 0:u.name)==="Ethereum"?"w-12 h-12":"w-8 h-8 rounded-xl"})}),l.jsxs("div",{children:[l.jsx("div",{className:"font-bold text-white text-lg",children:(u==null?void 0:u.name)==="Tajir Tech Hub"?"Tajir":(u==null?void 0:u.name)==="POL (ex-MATIC)"?"Polygon":u==null?void 0:u.name}),l.jsx("div",{className:"text-blue-200 text-sm",children:(x=u==null?void 0:u.symbol)==null?void 0:x.toUpperCase()})]})]}),l.jsxs("div",{className:"text-right",children:[l.jsx("div",{className:"font-bold text-white text-lg",children:d}),l.jsxs("div",{className:`flex justify-end items-center text-sm font-medium ${p?"text-green-400":"text-red-400"}
353`,children:[p?l.jsx(Rf,{className:"w-4 h-4 mr-1"}):l.jsx(Vg,{className:"w-4 h-4 mr-1"}),f]})]}),l.jsx(Ug,{className:"w-5 h-5 text-white/60 !cursor-pointer",onClick:()=>a(u)})]},u==null?void 0:u.id)}),s?l.jsxs("div",{className:"glass rounded-2xl p-6 flex justify-between items-center",children:[l.jsxs("div",{className:"flex items-center space-x-4 w-[150px]",children:[l.jsx(It,{className:"w-12 h-12 rounded-2xl"}),l.jsxs("div",{children:[l.jsx(It,{className:"h-4 w-24 mb-2"}),l.jsx(It,{className:"h-3 w-12"})]})]}),l.jsxs("div",{className:"text-right",children:[l.jsx(It,{className:"h-4 w-20 mb-2"}),l.jsx(It,{className:"h-3 w-10"})]}),l.jsx(It,{className:"w-5 h-5 rounded-full"})]}):l.jsxs("div",{className:"glass rounded-2xl p-6 hover:bg-white/10 transition-all duration-300 flex justify-between items-center",children:[l.jsxs("div",{className:"flex items-center space-x-4 w-[150px]",children:[l.jsx("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center",children:l.jsx("img",{src:wi.icon,alt:wi.symbol,className:"w-10 h-10 rounded-xl"})}),l.jsxs("div",{children:[l.jsx("div",{className:"font-bold text-white text-lg",children:wi.name}),l.jsx("div",{className:"text-blue-200 text-sm",children:wi.symbol})]})]}),l.jsxs("div",{className:"text-right",children:[l.jsx("div",{className:"font-bold text-white text-lg",children:r?SA(r.priceUsd):"â"}),(r==null?void 0:r.priceChangePercentage24h)!=null&&l.jsxs("div",{className:`flex justify-end items-center text-sm font-medium ${r.priceChangePercentage24h>0?"text-green-400":"text-red-400"}`,children:[r.priceChangePercentage24h>0?l.jsx(Rf,{className:"w-4 h-4 mr-1"}):l.jsx(Vg,{className:"w-4 h-4 mr-1"}),r.priceChangePercentage24h.toFixed(2),"%"]})]}),l.jsx("button",{type:"button","aria-label":"View TJR on Etherscan",className:"text-white/60 hover:text-white",onClick:()=>window.open(wi.explorerUrl,"_blank","noopener,noreferrer"),children:l.jsx(Ug,{className:"w-5 h-5 cursor-pointer"})})]})]})]})})}),l.jsx("div",{className:"text-center",id:"community",children:l.jsxs("div",{className:"glass-card rounded-3xl p-12 max-w-2xl mx-auto",children:[l.jsx("h3",{className:"text-3xl font-bold text-white mb-4",children:"Start Trading Today"}),l.jsx("p",{className:"text-blue-200 text-lg mb-8",children:"Join millions of traders and investors using Tajir Wallet"}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(qo,{size:"lg",className:"bg-gradient-to-r from-green-500 to-emerald-600 hover:from-green-600 hover:to-emerald-700 text-white rounded-2xl px-8 py-4",children:"Start Trading"}),l.jsx(qo,{size:"lg",variant:"outline",className:"border-white/30 text-black hover:bg-white hover:text-purple-700 rounded-2xl px-8 py-4",children:"Learn More"})]})]})})]})]})},pu=()=>l.jsxs("footer",{className:"relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-gray-900 via-[#0B0A2F] to-purple-900"}),l.jsx("div",{className:"absolute inset-0 bg-black/50"}),l.jsx("div",{className:"absolute top-10 right-10 w-20 h-20 bg-white/5 rounded-full animate-morphing-blob"}),l.jsx("div",{className:"absolute bottom-10 left-10 w-16 h-16 bg-purple-400/10 rounded-full animate-bounce-gentle"}),l.jsx("div",{className:"relative z-10 text-white py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-start mb-12",children:[l.jsxs("div",{className:"mb-8 md:mb-0 animate-slide-in-left",children:[l.jsxs("div",{className:"flex items-center space-x-3 mb-6 group",children:[l.jsx("div",{className:"w-12 h-12 flex items-center justify-center group-hover:rotate-12 group-hover:animate-wiggle transition-transform duration-300",children:l.jsx("img",{src:"/lovable-uploads/Tajir wallet.png",alt:"Tajir Wallet Logo",className:"w-10 h-10 "})}),l.jsxs("div",{children:[l.jsx("span",{className:"text-2xl font-bold text-shimmer",children:"Tajir Wallet"}),l.jsx("div",{className:"text-sm text-blue-200 -mt-1",children:"Secure Crypto Wallet"})]})]}),l.jsx("p",{className:"text-gray-300 leading-relaxed max-w-md animate-fade-in stagger-1",children:"The most trusted multi-chain crypto wallet for secure digital asset management."})]}),l.jsxs("div",{className:"animate-slide-in-right",children:[l.jsx("h3",{className:"font-bold text-lg mb-4 text-blue-200",children:"Connect With Us"}),l.jsx("div",{className:"flex space-x-3",children:[{icon:IC,label:"Twitter",href:"https://x.com/tajirwallet?s=21"}].map((e,t)=>l.jsx("a",{href:e.href,target:"_blank",className:`w-10 h-10 glass-card rounded-xl flex items-center justify-center hover:bg-white/20 transition-all duration-300 interactive-element group animate-scale-pulse stagger-${t+1}`,"aria-label":e.label,children:l.jsx(e.icon,{className:"w-4 h-4 group-hover:scale-110 group-hover:animate-wiggle transition-transform"})},t))})]})]}),l.jsx("div",{className:"border-t border-b-gray-500 pt-8 animate-fade-in stagger-2",children:l.jsxs("div",{className:"flex flex-col lg:flex-row justify-between items-center space-y-4 lg:space-y-0",children:[l.jsxs("div",{className:"text-center lg:text-left",children:[l.jsx("p",{className:"text-gray-300 text-sm mb-2",children:"© 2026 Tajir Web3 LTD. All rights reserved."}),l.jsxs("p",{className:"text-gray-400 text-xs",children:["Office A, RAKDAO Business Center RAK Bank ROC Office, Ground Floor Al Riffa, ",l.jsx("br",{})," Sheikh Mohammed Bin Zayed Road Ras Al Khaimah, UAE"]})]}),l.jsxs("div",{className:"flex space-x-6 text-gray-300 text-sm",children:[l.jsx(ep,{to:"/privacy-policy",className:"hover:text-white transition-colors interactive-element",children:"Privacy Policy"}),l.jsx(ep,{to:"/terms-conditions",className:"hover:text-white transition-colors interactive-element",children:"Terms & Conditions"})]})]})})]})})]}),TA=()=>(v.useEffect(()=>{if(window.location.hash){const e=document.querySelector(window.location.hash);e&&e.scrollIntoView({behavior:"smooth"})}},[]),l.jsxs("div",{className:"min-h-screen",children:[l.jsx(nu,{}),l.jsx(j3,{}),l.jsx(C3,{}),l.jsx(YR,{}),l.jsx(ZR,{}),l.jsx(t5,{}),l.jsx(r5,{}),l.jsx(o5,{}),l.jsx(i5,{}),l.jsx(jA,{}),l.jsx(pu,{})]})),n0=()=>l.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-white via-blue-50/30 to-purple-50/20",children:[l.jsx(nu,{}),l.jsx("main",{className:"pt-24 pb-16",children:l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:l.jsxs("div",{className:"rounded-3xl p-8 md:p-12 animate-slide-in-up ",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-8 h-[55px] text-shimmer",children:"Privacy Policy"}),l.jsx("p",{className:"text-gray-600 mb-8",children:"Effective Date: August 4, 2025"}),l.jsxs("div",{className:"space-y-8 text-gray-700",children:[l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"Company Information"}
353),l.jsxs("p",{children:["Tajir Web3 Ltd",l.jsx("br",{}),"Office A, RAKDAO Business Center",l.jsx("br",{}),"RAK Bank ROC Office, Ground Floor",l.jsx("br",{}),"Al Riffa, Sheikh Mohammed Bin Zayed Road",l.jsx("br",{}),"Ras Al Khaimah, UAE",l.jsx("br",{}),"Company Number: 07010655"]})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"What Data We Collect"}),l.jsx("p",{className:"mb-4",children:"Tajir Wallet is non-custodial and does not collect or store any personally identifiable information (PII) directly through the wallet. However, when you interact with our website or customer support, we may collect the following types of data:"}),l.jsx("ul",{className:" list-disc list-inside space-y-2",children:l.jsx("li",{children:"Automatically Collected Data (via Website):"})}),l.jsx("br",{}),l.jsxs("ul",{className:" list-inside space-y-1",children:[l.jsx("li",{children:"- IP address"}),l.jsx("li",{children:"- Device type"}),l.jsx("li",{children:"- Operating system"}),l.jsx("li",{children:"- Browser type"}),l.jsx("li",{children:"- Usage data (e.g., page views, clicks)"}),l.jsx("li",{children:"- Email (when contacting support)"}),l.jsx("li",{children:"- Any voluntarily submitted form data"})]}),l.jsx("br",{}),l.jsx("ul",{className:" list-disc list-inside space-y-1",children:l.jsx("li",{children:"Voluntarily Provided Data"})}),l.jsx("br",{}),l.jsxs("ul",{className:" list-inside space-y-1 ",children:[l.jsx("li",{children:"- Your email (when contacting support)"}),l.jsx("li",{children:"- Any information you voluntarily submit via forms or inquiries"})]}),l.jsx("br",{}),l.jsx("ul",{className:" list-disc list-inside space-y-1",children:l.jsx("li",{children:"Tajir Wallet Mobile Application"})}),l.jsx("br",{}),l.jsx("p",{children:"The Tajir Wallet mobile application is a non-custodial wallet. It does not collect or store any personal, financial, or identifiable user data on our servers. All sensitive information, including private keys and wallet credentials, is stored locally on the user's device and never transmitted."}),l.jsx("p",{className:"mt-3",children:"To provide users with real-time transaction data and improve performance, the app connects to our centralized server, which acts as a proxy to third-party blockchain APIs. This server helps manage API rate limits and optimize data delivery. While this may involve routing blockchain data through our infrastructure, we do not log or associate this information with any individual users or devices."})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"How We Use Your Data"}),l.jsx("p",{children:"We use your data for the following purposes: "}),l.jsxs("ul",{className:"list-inside space-y-2 ",children:[l.jsx("li",{children:"- To operate and improve our website"}),l.jsx("li",{children:"- To analyze trends and user behavior"}),l.jsx("li",{children:"- To respond to customer inquiries"}),l.jsx("li",{children:"- To comply with legal obligations"})]}),l.jsx("p",{className:"mt-4",children:"We do not use your data for targeted advertising."})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"Cookies & Tracking Technologies"}),l.jsx("p",{className:"mb-4",children:"We use cookies to enhance user experience, perform analytics, and ensure compliance with privacy regulations."}),l.jsx("ul",{className:" list-disc list-inside space-y-2",children:l.jsx("li",{children:"Types of Cookies:"})}),l.jsx("br",{}),l.jsxs("ul",{className:" list-inside space-y-1",children:[l.jsx("li",{children:"- Essential Cookies: Required for the website to function properly"}),l.jsx("li",{children:"- Analytics Cookies: Used to analyze site traffic and user interactions (e.g., Google Analytics)"}),l.jsx("li",{children:"- Consent Management Cookies: Used to store your cookie preferences (via Usercentrics)"}),l.jsx("li",{children:"- Cookies and tracking technologies apply only to our website, not the Tajir Wallet mobile app."})]}),l.jsx("br",{}),l.jsx("ul",{className:" list-disc list-inside space-y-2",children:l.jsx("li",{children:"Cookie Consent:"})}),l.jsx("br",{}),l.jsx("p",{children:"We use Usercentrics to manage cookie consent in compliance with the GDPR and ePrivacy Directive. When you visit our website, you can accept, reject, or customize your cookie preferences via the banner or privacy settings."}),l.jsx("br",{}),l.jsx("ul",{className:" list-disc list-inside space-y-2",children:l.jsx("li",{children:"Google Analytics:"})}),l.jsx("br",{}),l.jsx("p",{children:"We use Google Analytics to understand user behavior. Google may collect data such as:"}),l.jsxs("ul",{className:" list-inside space-y-1",children:[l.jsx("li",{children:"- Device and browser information"}),l.jsx("li",{children:"- IP address (anonymized in the EU)"})]}),l.jsxs("p",{className:"mt-4",children:["You can opt out by visiting:"," ",l.jsx("a",{href:"https://tools.google.com/dlpage/gaoptout",className:"text-blue-600",target:"_blank",rel:"noopener noreferrer",children:"https://tools.google.com/dlpage/gaoptout"})]})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"Third-Party Services"}),l.jsx("p",{children:"We may share limited data with third-party services as needed to operate our platform:"}),l.jsxs("ul",{className:" list-inside space-y-1",children:[l.jsx("li",{children:"- Google Analytics (Analytics) "}),l.jsx("li",{children:"- Usercentrics (Cookie consent management)"}),l.jsx("li",{children:"- Customer support tools (only if you voluntarily contact us)"})]}),l.jsx("p",{className:"mt-4",children:"We do not sell or share your data for advertising purposes."})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"Wallet & Blockchain Data"}
353),l.jsx("p",{children:"Tajir Wallet is a non-custodial app. We do not have access to your private keys, seed phrases, or wallet credentials. Blockchain transactions are public and stored on decentralized ledgers; we do not control, process, or store this data."})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"Your Rights (Under GDPR)"}),l.jsx("p",{children:"If you are located in the EU or EEA, you have the following rights:"}),l.jsxs("ul",{className:"list-inside space-y-1",children:[l.jsx("li",{children:"- Right to access your personal data"}),l.jsx("li",{children:"- Right to rectification"}),l.jsx("li",{children:'- Right to erasure ("right to be forgotten")'}),l.jsx("li",{children:"- Right to restrict processing"}),l.jsx("li",{children:"- Right to data portability"}),l.jsx("li",{children:"- Right to object"})]}),l.jsxs("p",{className:"mt-4",children:["To exercise your rights, contact:"," ",l.jsx("a",{href:"mailto:[email protected]",className:"text-blue-600 ",children:"[email protected]"})]})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"Data Security"}),l.jsx("p",{children:"We implement appropriate technical and organizational measures to secure your data, including encryption, limited access, and regular security reviews. However, no online transmission is ever 100% secure."})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"Children's Privacy"}),l.jsx("p",{children:"Tajir Wallet is not intended for individuals under the age of 18. We do not knowingly collect data from children."})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"Terms and Conditions"}),l.jsx("p",{children:"Use of the Tajir Wallet mobile application and website is also governed by our Terms and Conditions. We encourage you to read them carefully to understand your responsibilities and rights when using our services."}),l.jsxs("p",{className:"mt-3",children:["You can view our Terms and Conditions at:",l.jsx("br",{}),l.jsx("a",{href:"https://tajirwallet.io/terms-conditions",target:"_blank",className:"text-blue-600",children:"https://tajirwallet.io/terms-conditions"})]})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"Changes to This Policy"}),l.jsx("p",{children:"We may update this Privacy Policy to reflect changes in laws, technology, or business operations. We encourage you to review it periodically."})]}),l.jsxs("section",{children:[l.jsx("h2",{className:"text-2xl font-bold text-gray-900",children:"Contact Us"}),l.jsx("p",{className:"mb-4",children:"If you have questions or requests regarding this Privacy Policy, please contact us:"}),l.jsxs("p",{children:["Tajir Web3 Ltd",l.jsx("br",{}),"Email: ",l.jsx("a",{href:"mailto:[email protected]",className:"text-blue-600",children:"[email protected]"}),l.jsx("br",{}),"Office A, RAKDAO Business Center",l.jsx("br",{}),"RAK Bank ROC Office, Ground Floor",l.jsx("br",{}),"Al Riffa, Sheikh Mohammed Bin Zayed Road",l.jsx("br",{}),"Ras Al Khaimah, UAE"]})]})]})]})})}),l.jsx(pu,{})]});function CA(e){return Aa({attr:{version:"1.1",viewBox:"0 0 17 17"},child:[{tag:"g",attr:{},child:[]},{tag:"path",attr:{d:"M0 2v13h17v-13h-17zM8.494 9.817l-6.896-6.817h13.82l-6.924 6.817zM5.755 8.516l-4.755 4.682v-9.383l4.755 4.701zM6.466 9.219l2.026 2.003 1.996-1.966 4.8 4.744h-13.677l4.855-4.781zM11.201 8.555l4.799-4.725v9.467l-4.799-4.742z"},child:[]}]})(e)}const r0=()=>l.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-white via-blue-50/30 to-purple-50/20",children:[l.jsx(nu,{}),l.jsx("main",{className:"pt-24 pb-16",children:l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:l.jsxs("div",{className:"rounded-3xl p-8 md:p-12 animate-slide-in-up",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-8 text-shimmer",children:"Terms & Conditions"}),l.jsxs("p",{className:"text-gray-600 ",children:[l.jsx("b",{children:"Effective Date:"})," August 4, 2025"]}),l.jsxs("p",{className:"text-gray-600 mb-8",children:[l.jsx("b",{children:"Last Updated:"})," August 4, 2025"]}),l.jsxs("div",{className:"space-y-8 text-gray-700",children:[l.jsxs("section",{className:"border-b-2 pb-2",children:[l.jsxs("p",{className:"mb-4 -mt-4",children:["Welcome to ",l.jsx("b",{children:"Tajir Wallet"}),', a decentralized, non-custodial application ("DApp") developed by ',l.jsx("b",{children:"Tajir Web3 Ltd"}),', a company registered in the United Arab Emirates under company number 07010655. These Terms and Conditions ("Terms") govern your use of the Tajir Wallet mobile application and website (collectively, the âServicesâ).']}),l.jsx("p",{className:"mb-4",children:"By accessing or using our Services, you agree to be bound by these Terms. If you do not agree, you must not use our Services."})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"1. Company Information"}),l.jsxs("p",{children:[l.jsx("b",{children:"Tajir Web3 Ltd "}),l.jsx("br",{}),"Office A, RAKDAO Business Center",l.jsx("br",{}),"RAK Bank ROC Office, Ground Floor",l.jsx("br",{}),"Al Riffa, Sheikh Mohammed Bin Zayed Road",l.jsx("br",{}),"Ras Al Khaimah, UAE",l.jsx("br",{}),"Contact: ",l.jsx("a",{href:"mailto:[email protected]",className:"text-blue-600",children:"[email protected]"})]})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"2. Non-Custodial Nature"}
353),l.jsx("p",{className:"mb-4",children:"Tajir Wallet is a non-custodial wallet, meaning:"}),l.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[l.jsx("li",{children:"We do not store your private keys, seed phrases, passwords, or wallet addresses."}),l.jsx("li",{children:"You are solely responsible for safeguarding your access credentials."}),l.jsxs("li",{children:["Losing your seed phrase may result in ",l.jsx("b",{children:"permanent loss "}),"of access to your assets."]})]})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"3. Eligibility"}),l.jsx("p",{className:"mb-4",children:"To use the Services, you must:"}),l.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[l.jsx("li",{children:"Be at least 18 years old or the age of majority in your jurisdiction."}),l.jsx("li",{children:"Not be subject to any sanctions or laws that prohibit the use of blockchain or cryptocurrencies in your country."})]})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"4. User Responsibilities"}),l.jsx("p",{className:"mb-4",children:"You agree to:"}),l.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[l.jsxs("li",{children:["Use the Services ",l.jsx("b",{children:"at your own risk."})]}),l.jsx("li",{children:"Comply with all applicable laws and regulations."}),l.jsx("li",{children:"Never use the app for illegal, fraudulent, or malicious purposes."})]}),l.jsx("p",{className:"mt-4",children:"You are fully responsible for your blockchain transactions, including gas fees, smart contract risks, and third-party DApps you connect to."})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"5. No Financial or Legal Advice"}),l.jsxs("p",{children:["Tajir Wallet does ",l.jsx("b",{children:"not provide financial, investment, or legal advice."})," All content and features are provided for informational and utility purposes only."]}),l.jsx("p",{className:"mt-3",children:"We recommend consulting a professional before making any financial decisions."})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"6. Third-Party Services"}),l.jsxs("p",{className:"mb-4",children:["The Wallet may enable connections to third-party services (e.g., DApps, DeFi protocols, NFT platforms). Tajir is ",l.jsx("b",{children:"not responsible"})," for"]}),l.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[l.jsx("li",{children:"Their content, practices, or availability"}),l.jsx("li",{children:"Losses or damages arising from their use"})]}),l.jsxs("p",{className:"mt-4",children:["Use third-party services ",l.jsx("b",{children:"at your own risk."})]})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"7. Limitation of Liability"}),l.jsxs("p",{className:"mb-4",children:["To the maximum extent permitted by law, ",l.jsx("b",{children:"Tajir Web3 Ltd."})," is ",l.jsx("b",{children:"not liable"})," for:"]}),l.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[l.jsx("li",{children:"Loss of digital assets"}),l.jsx("li",{children:"Software bugs or vulnerabilities"}),l.jsx("li",{children:"Unauthorized access"}),l.jsx("li",{children:"Blockchain network failures"}),l.jsx("li",{children:"Any indirect, incidental, or consequential damages"})]}),l.jsxs("p",{className:"mt-4",children:["Use of the Services is ",l.jsx("b",{children:'"as is" and at your own risk.'})]})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"8. No Warranties"}),l.jsxs("p",{children:["We make ",l.jsx("b",{children:"no warranties or representations,"})," express or implied, about the reliability, availability, or accuracy of the Services. The blockchain ecosystem is inherently experimental and volatile."]})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"9. Intellectual Property"}),l.jsxs("p",{children:["All intellectual property related to the Services, including branding, logos, design, and content, is owned by ",l.jsx("b",{children:"Tajir Web3 Ltd."})," or its licensors. Unauthorized use is strictly prohibited. "]})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"10. Privacy"}),l.jsxs("p",{children:["Please review our"," ",l.jsx(ep,{to:"/privacy-policy",className:"text-blue-600",children:"Privacy Policy"}
353)," ","to understand how we collect, use, and protect your information when you visit our website or contact support."]})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"11. Modifications to Terms"}),l.jsx("p",{children:"We reserve the right to modify these Terms at any time."}),l.jsx("p",{className:"mt-3",children:"Your continued use of the Services constitutes acceptance of the revised Terms."})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"12. Governing Law"}),l.jsxs("p",{children:["These Terms are governed by and construed in accordance with the laws of the ",l.jsx("b",{children:"United Arab Emirates (UAE),"})," specifically the laws applicable in the ",l.jsx("b",{children:"Emirate of Ras Al Khaimah,"})," without regard to its conflict of law principles. Any disputes shall be resolved exclusively in the competent courts of ",l.jsx("b",{children:"Ras Al Khaimah, UAE."})]})]}),l.jsxs("section",{className:"border-b-2 pb-8",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4 text-gray-900",children:"13. Contact Us"}),l.jsxs("p",{children:["If you have questions or concerns about these Terms, please contact: "," ",l.jsx("br",{}),l.jsxs("div",{className:"flex gap-x-1 items-center ",children:[l.jsxs("svg",{className:"mt-3",width:"20px",height:"20px",viewBox:"0 0 24 24",children:[l.jsx("defs",{children:l.jsxs("linearGradient",{id:"emailGradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[l.jsx("stop",{offset:"0%",stopColor:"#1B60E7"})," ",l.jsx("stop",{offset:"100%",stopColor:"#8b5cf6"})," "]})}),l.jsx(CA,{style:{fill:"url(#emailGradient)",width:"20px",height:"20px"}})]}),l.jsx("a",{href:"mailto:[email protected]",className:"text-blue-600",children:"[email protected]"})]})]})]}),l.jsx("p",{children:"Let me know if you'd like help formatting it for web or app presentation."})]})]})})}),l.jsx(pu,{})]}),NA=()=>{const e=Pa();return v.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),l.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:l.jsxs("div",{className:"text-center",children:[l.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),l.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),l.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},Ni=v.forwardRef(({className:e,type:t,...n},r)=>l.jsx("input",{type:t,className:Te("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}));Ni.displayName="Input";const g2=v.forwardRef(({className:e,...t},n)=>l.jsx("textarea",{className:Te("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
353ing-offset-background 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",e),ref:n,...t}));g2.displayName="Textarea";const fp=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Te("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));fp.displayName="Card";const pp=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Te("flex flex-col space-y-1.5 p-6",e),...t}));pp.displayName="CardHeader";const hp=v.forwardRef(({className:e,...t},n)=>l.jsx("h3",{ref:n,className:Te("text-2xl font-semibold leading-none tracking-tight",e),...t}));hp.displayName="CardTitle";const mp=v.forwardRef(({className:e,...t},n)=>l.jsx("p",{ref:n,className:Te("text-sm text-muted-foreground",e),...t}));mp.displayName="CardDescription";const gp=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Te("p-6 pt-0",e),...t}));gp.displayName="CardContent";const kA=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Te("flex items-center p-6 pt-0",e),...t}));kA.displayName="CardFooter";var hu="Collapsible",[_A,y2]=Ms(hu),[RA,Xh]=_A(hu),v2=v.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:s,disabled:o,onOpenChange:i,...a}=e,[c,u]=Ta({prop:r,defaultProp:s??!1,onChange:i,caller:hu});return l.jsx(RA,{scope:n,disabled:o,contentId:Di(),open:c,onOpenToggle:v.useCallback(()=>u(d=>!d),[u]),children:l.jsx(je.div,{"data-state":Jh(c),"data-disabled":o?"":void 0,...a,ref:t})})});v2.displayName=hu;var x2="CollapsibleTrigger",w2=v.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,s=Xh(x2,n);return l.jsx(je.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":Jh(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:t,onClick:ve(e.onClick,s.onOpenToggle)})});w2.displayName=x2;var Zh="CollapsibleContent",b2=v.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=Xh(Zh,e.__scopeCollapsible);return l.jsx(Fs,{present:n||s.open,children:({present:o})=>l.jsx(PA,{...r,ref:t,present:o})})});b2.displayName=Zh;var PA=v.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:s,...o}=e,i=Xh(Zh,n),[a,c]=v.useState(r),u=v.useRef(null),d=Ye(t,u),f=v.useRef(0),p=f.current,h=v.useRef(0),b=h.current,g=i.open||a,x=v.useRef(g),y=v.useRef(void 0);return v.useEffect(()=>{const m=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(m)},[]),Rn(()=>{const m=u.current;if(m){y.current=y.current||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const w=m.getBoundingClientRect();f.current=w.height,h.current=w.width,x.current||(m.style.transitionDuration=y.current.transitionDuration,m.style.animationName=y.current.animationName),c(r)}},[i.open,r]),l.jsx(je.div,{"data-state":Jh(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!g,...o,ref:d,style:{"--radix-collapsible-content-height":p?`${p}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:g&&s})});function Jh(e){return e?"open":"closed"}var AA=v2,OA=w2,IA=b2,MA=v.createContext(void 0);function FA(e){const t=v.useContext(MA);return e||t||"ltr"}var pn="Accordion",$A=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[em,DA,LA]=p1(pn),[mu]=Ms(pn,[LA,y2]),tm=y2(),E2=P.forwardRef((e,t)=>{const{type:n,...r}=e,s=r,o=r;return l.jsx(em.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?l.jsx(WA,{...o,ref:t}):l.jsx(BA,{...s,ref:t})})});E2.displayName=pn;var[S2,zA]=mu(pn),[j2,UA]=mu(pn,{collapsible:!1}),BA=P.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},collapsible:o=!1,...i}=e,[a,c]=Ta({prop:n,defaultProp:r??"",onChange:s,caller:pn});return l.jsx(S2,{scope:e.__scopeAccordion,value:P.useMemo(()=>a?[a]:[],[a]),onItemOpen:c,onItemClose:P.useCallback(()=>o&&c(""),[o,c]),children:l.jsx(j2,{scope:e.__scopeAccordion,collapsible:o,children:l.jsx(T2,{...i,ref:t})})})}),WA=P.forwardRef((e,t)=>
353{const{value:n,defaultValue:r,onValueChange:s=()=>{},...o}=e,[i,a]=Ta({prop:n,defaultProp:r??[],onChange:s,caller:pn}),c=P.useCallback(d=>a((f=[])=>[...f,d]),[a]),u=P.useCallback(d=>a((f=[])=>f.filter(p=>p!==d)),[a]);return l.jsx(S2,{scope:e.__scopeAccordion,value:i,onItemOpen:c,onItemClose:u,children:l.jsx(j2,{scope:e.__scopeAccordion,collapsible:!0,children:l.jsx(T2,{...o,ref:t})})})}),[VA,gu]=mu(pn),T2=P.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:s,orientation:o="vertical",...i}=e,a=P.useRef(null),c=Ye(a,t),u=DA(n),f=FA(s)==="ltr",p=ve(e.onKeyDown,h=>{var N;if(!$A.includes(h.key))return;const b=h.target,g=u().filter(I=>{var A;return!((A=I.ref.current)!=null&&A.disabled)}),x=g.findIndex(I=>I.ref.current===b),y=g.length;if(x===-1)return;h.preventDefault();let m=x;const w=0,E=y-1,S=()=>{m=x+1,m>E&&(m=w)},T=()=>{m=x-1,m<w&&(m=E)};switch(h.key){case"Home":m=w;break;case"End":m=E;break;case"ArrowRight":o==="horizontal"&&(f?S():T());break;case"ArrowDown":o==="vertical"&&S();break;case"ArrowLeft":o==="horizontal"&&(f?T():S());break;case"ArrowUp":o==="vertical"&&T();break}const j=m%y;(N=g[j].ref.current)==null||N.focus()});return l.jsx(VA,{scope:n,disabled:r,direction:s,orientation:o,children:l.jsx(em.Slot,{scope:n,children:l.jsx(je.div,{...i,"data-orientation":o,ref:c,onKeyDown:r?void 0:p})})})}),jc="AccordionItem",[HA,nm]=mu(jc),C2=P.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...s}=e,o=gu(jc,n),i=zA(jc,n),a=tm(n),c=Di(),u=r&&i.value.includes(r)||!1,d=o.disabled||e.disabled;return l.jsx(HA,{scope:n,open:u,disabled:d,triggerId:c,children:l.jsx(AA,{"data-orientation":o.orientation,"data-state":A2(u),...a,...s,ref:t,disabled:d,open:u,onOpenChange:f=>{f?i.onItemOpen(r):i.onItemClose(r)}})})});C2.displayName=jc;var N2="AccordionHeader",k2=P.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=gu(pn,n),o=nm(N2,n);return l.jsx(je.h3,{"data-orientation":s.orientation,"data-state":A2(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});k2.displayName=N2;var yp="AccordionTrigger",_2=P.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=gu(pn,n),o=nm(yp,n),i=UA(yp,n),a=tm(n);return l.jsx(em.ItemSlot,{scope:n,children:l.jsx(OA,{"aria-disabled":o.open&&!i.collapsible||void 0,"data-orientation":s.orientation,id:o.triggerId,...a,...r,ref:t})})});_2.displayName=yp;var R2="AccordionContent",P2=P.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=gu(pn,n),o=nm(R2,n),i=tm(n);return l.jsx(IA,{role:"region","aria-labelledby":o.triggerId,"data-orientation":s.orientation,...i,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});P2.displayName=R2;function A2(e){return e?"open":"closed"}var qA=E2,KA=C2,GA=k2,O2=_2,I2=P2;const QA=qA,M2=v.forwardRef(({className:e,...t},n)=>l.jsx(KA,{ref:n,className:Te("border-b",e),...t}));M2.displayName="AccordionItem";const F2=v.forwardRef(({className:e,children:t,...n},r)=>l.jsx(GA,{className:"flex",children:l.jsxs(O2,{ref:r,className:Te("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(mC,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));
vendor: 13,964 bytes, line 353
353F2.displayName=O2.displayName;const $2=v.forwardRef(({className:e,children:t,...n},r)=>l.jsx(I2,{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:Te("pb-4 pt-0",e),children:t})}));$2.displayName=I2.displayName;var YA=function(t){return XA(t)&&!ZA(t)};function XA(e){return!!e&&typeof e=="object"}function ZA(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||tO(e)}var JA=typeof Symbol=="function"&&Symbol.for,eO=JA?Symbol.for("react.element"):60103;function tO(e){return e.$$typeof===eO}function nO(e){return Array.isArray(e)?[]:{}}function Tc(e,t){return t.clone!==!1&&t.isMergeableObject(e)?fa(nO(e),e,t):e}function rO(e,t,n){return e.concat(t).map(function(r){return Tc(r,n)})}function sO(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(s){r[s]=Tc(e[s],n)}),Object.keys(t).forEach(function(s){!n.isMergeableObject(t[s])||!e[s]?r[s]=Tc(t[s],n):r[s]=fa(e[s],t[s],n)}),r}function fa(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||rO,n.isMergeableObject=n.isMergeableObject||YA;var r=Array.isArray(t),s=Array.isArray(e),o=r===s;return o?r?n.arrayMerge(e,t,n):sO(e,t,n):Tc(t,n)}fa.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,s){return fa(r,s,n)},{})};var vp=fa,D2=typeof global=="object"&&global&&global.Object===Object&&global,oO=typeof self=="object"&&self&&self.Object===Object&&self,In=D2||oO||Function("return this")(),Vr=In.Symbol,L2=Object.prototype,iO=L2.hasOwnProperty,aO=L2.toString,bi=Vr?Vr.toStringTag:void 0;function lO(e){var t=iO.call(e,bi),n=e[bi];try{e[bi]=void 0;var r=!0}catch{}var s=aO.call(e);return r&&(t?e[bi]=n:delete e[bi]),s}var cO=Object.prototype,uO=cO.toString;function dO(e){return uO.call(e)}var fO="[object Null]",pO="[object Undefined]",s0=Vr?Vr.toStringTag:void 0;function Ls(e){return e==null?e===void 0?pO:fO:s0&&s0 in Object(e)?lO(e):dO(e)}function z2(e,t){return function(n){return e(t(n))}}var rm=z2(Object.getPrototypeOf,Object);function zs(e){return e!=null&&typeof e=="object"}var hO="[object Object]",mO=Function.prototype,gO=Object.prototype,U2=mO.toString,yO=gO.hasOwnProperty,vO=U2.call(Object);function o0(e){if(!zs(e)||Ls(e)!=hO)return!1;var t=rm(e);if(t===null)return!0;var n=yO.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&U2.call(n)==vO}function xO(){this.__data__=[],this.size=0}function B2(e,t){return e===t||e!==e&&t!==t}function yu(e,t){for(var n=e.length;n--;)if(B2(e[n][0],t))return n;return-1}var wO=Array.prototype,bO=wO.splice;function EO(e){var t=this.__data__,n=yu(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():bO.call(t,n,1),--this.size,!0}function SO(e){var t=this.__data__,n=yu(t,e);return n<0?void 0:t[n][1]}function jO(e){return yu(this.__data__,e)>-1}function TO(e,t){var n=this.__data__,r=yu(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function nr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}nr.prototype.clear=xO;nr.prototype.delete=EO;nr.prototype.get=SO;nr.prototype.has=jO;nr.prototype.set=TO;function CO(){this.__data__=new nr,this.size=0}function NO(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function kO(e){return this.__data__.get(e)}function _O(e){return this.__data__.has(e)}function La(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var RO="[object AsyncFunction]",PO="[object Function]",AO="[object GeneratorFunction]",OO="[object Proxy]";function W2(e){if(!La(e))return!1;var t=Ls(e);return t==PO||t==AO||t==RO||t==OO}var Cd=In["__core-js_shared__"],i0=function(){var e=/[^.]+$/.exec(Cd&&Cd.keys&&Cd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function IO(e){return!!i0&&i0 in e}var MO=Function.prototype,FO=MO.toString;function Us(e){if(e!=null){try{return FO.call(e)}catch{}try{return e+""}catch{}}return""}var $O=/[\\^$.*+?()[\]{}|]/g,DO=/^\[object .+?Constructor\]$/,LO=Function.prototype,zO=Object.prototype,UO=LO.toString,BO=zO.hasOwnProperty,WO=RegExp("^"+UO.call(BO).replace($O,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function VO(e){if(!La(e)||IO(e))return!1;var t=W2(e)?WO:DO;return t.test(Us(e))}function HO(e,t){return e==null?void 0:e[t]}function Bs(e,t){var n=HO(e,t);return VO(n)?n:void 0}var pa=Bs(In,"Map"),ha=Bs(Object,"create");function qO(){this.__data__=ha?ha(null):{},this.size=0}function KO(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var GO="__lodash_hash_undefined__",QO=Object.prototype,YO=QO.hasOwnProperty;function XO(e){var t=this.__data__;if(ha){var n=t[e];return n===GO?void 0:n}return YO.call(t,e)?t[e]:void 0}var ZO=Object.prototype,JO=ZO.hasOwnProperty;function e6(e){var t=this.__data__;return ha?t[e]!==void 0:JO.call(t,e)}var t6="__lodash_hash_undefined__";function n6(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ha&&t===void 0?t6:t,this}function As(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}As.prototype.clear=qO;As.prototype.delete=KO;As.prototype.get=XO;As.prototype.has=e6;As.prototype.set=n6;function r6(){this.size=0,this.__data__={hash:new As,map:new(pa||nr),string:new As}}function s6(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function vu(e,t){var n=e.__data__;return s6(t)?n[typeof t=="string"?"string":"hash"]:n.map}function o6(e){var t=vu(this,e).delete(e);return this.size-=t?1:0,t}function i6(e){return vu(this,e).get(e)}function a6(e){return vu(this,e).has(e)}function l6(e,t){var n=vu(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Gr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Gr.prototype.clear=r6;Gr.prototype.delete=o6;Gr.prototype.get=i6;Gr.prototype.has=a6;Gr.prototype.set=l6;var c6=200;function u6(e,t){var n=this.__data__;if(n instanceof nr){var r=n.__data__;if(!pa||r.length<c6-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gr(r)}return n.set(e,t),this.size=n.size,this}function oi(e){var t=this.__data__=new nr(e);this.size=t.size}oi.prototype.clear=CO;oi.prototype.delete=NO;oi.prototype.get=kO;oi.prototype.has=_O;oi.prototype.set=u6;function d6(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var a0=function(){try{var e=Bs(Object,"defineProperty");return e({},"",{}),e}catch{}}();function V2(e,t,n){t=="__proto__"&&a0?a0(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var f6=Object.prototype,p6=f6.hasOwnProperty;function H2(e,t,n){var r=e[t];(!(p6.call(e,t)&&B2(r,n))||n===void 0&&!(t in e))&&V2(e,t,n)}function xu(e,t,n,r){var s=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],c=void 0;c===void 0&&(c=e[a]),s?V2(n,a,c):H2(n,a,c)}return n}function h6(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var m6="[object Arguments]";function l0(e){return zs(e)&&Ls(e)==m6}var q2=Object.prototype,g6=q2.hasOwnProperty,y6=q2.propertyIsEnumerable,v6=l0(function(){return arguments}())?l0:function(e){return zs(e)&&g6.call(e,"callee")&&!y6.call(e,"callee")},za=Array.isArray;function x6(){return!1}var K2=typeof Tt=="object"&&Tt&&!Tt.nodeType&&Tt,c0=K2&&typeof Ct=="object"&&Ct&&!Ct.nodeType&&Ct,w6=c0&&c0.exports===K2,u0=w6?In.Buffer:void 0,b6=u0?u0.isBuffer:void 0,G2=b6||x6,E6=9007199254740991,S6=/^(?:0|[1-9]\d*)$/;function j6(e,t){var n=typeof e;return t=t??E6,!!t&&(n=="number"||n!="symbol"&&S6.test(e))&&e>-1&&e%1==0&&e<t}var T6=9007199254740991;function Q2(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=T6}var C6="[object Arguments]",N6="[object Array]",k6="[object Boolean]",_6="[object Date]",R6="[object Error]",P6="[object Function]",A6="[object Map]",O6="[object Number]",I6="[object Object]",M6="[object RegExp]",F6="[object Set]",$6="[object String]",D6="[object WeakMap]",L6="[object ArrayBuffer]",z6="[object DataView]",U6="[object Float32Array]",B6="[object Float64Array]",W6="[object Int8Array]",V6="[object Int16Array]",H6="[object Int32Array]",q6="[object Uint8Array]",K6="[object Uint8ClampedArray]",G6="[object Uint16Array]",Q6="[object Uint32Array]",Ee={};Ee[U6]=Ee[B6]=Ee[W6]=Ee[V6]=Ee[H6]=Ee[q6]=Ee[K6]=Ee[G6]=Ee[Q6]=!0;Ee[C6]=Ee[N6]=Ee[L6]=Ee[k6]=Ee[z6]=Ee[_6]=Ee[R6]=Ee[P6]=Ee[A6]=Ee[O6]=Ee[I6]=Ee[M6]=Ee[F6]=Ee[$6]=Ee[D6]=!1;function Y6(e){return zs(e)&&Q2(e.length)&&!!Ee[Ls(e)]}function sm(e){return function(t){return e(t)}}var Y2=typeof Tt=="object"&&Tt&&!Tt.nodeType&&Tt,Li=Y2&&typeof Ct=="object"&&Ct&&!Ct.nodeType&&Ct,X6=Li&&Li.exports===Y2,Nd=X6&&D2.process,Go=function(){try{var e=Li&&Li.require&&Li.require("util").types;return e||Nd&&Nd.binding&&Nd.binding("util")}catch{}}(),d0=Go&&Go.isTypedArray,Z6=d0?sm(d0):Y6,J6=Object.prototype,e8=J6.hasOwnProperty;function X2(e,t){var n=za(e),r=!n&&v6(e),s=!n&&!r&&G2(e),o=!n&&!r&&!s&&Z6(e),i=n||r||s||o,a=i?h6(e.length,String):[],c=a.length;for(var u in e)(t||e8.call(e,u))&&!(i&&(u=="length"||s&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||j6(u,c)))&&a.push(u);return a}var t8=Object.prototype;function om(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||t8;return e===n}var n8=z2(Object.keys,Object),r8=Object.prototype,s8=r8.hasOwnProperty;function o8(e){if(!om(e))return n8(e);var t=[];for(var n in Object(e))s8.call(e,n)&&n!="constructor"&&t.push(n);return t}function Z2(e){return e!=null&&Q2(e.length)&&!W2(e)}function im(e){return Z2(e)?X2(e):o8(e)}function i8(e,t){return e&&xu(t,im(t),e)}function a8(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var l8=Object.prototype,c8=l8.hasOwnProperty;function u8(e){if(!La(e))return a8(e);var t=om(e),n=[];for(var r in e)r=="constructor"&&(t||!c8.call(e,r))||n.push(r);return n}function am(e){return Z2(e)?X2(e,!0):u8(e)}function d8(e,t){return e&&xu(t,am(t),e)}var J2=typeof Tt=="object"&&Tt&&!Tt.nodeType&&Tt,f0=J2&&typeof Ct=="object"&&Ct&&!Ct.nodeType&&Ct,f8=f0&&f0.exports===J2,p0=f8?In.Buffer:void 0,h0=p0?p0.allocUnsafe:void 0;function p8(e,t){if(t)return e.slice();var n=e.length,r=h0?h0(n):new e.constructor(n);return e.copy(r),r}function eE(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function h8(e,t){for(var n=-1,r=e==null?0:e.length,s=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[s++]=i)}return o}function tE(){return[]}var m8=Object.prototype,g8=m8.propertyIsEnumerable,m0=Object.getOwnPropertySymbols,lm=m0?function(e){return e==null?[]:(e=Object(e),h8(m0(e),function(t){return g8.call(e,t)}))}:tE;function y8(e,t){return xu(e,lm(e),t)}function nE(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}var v8=Object.getOwnPropertySymbols,rE=v8?function(e){for(var t=[];e;)nE(t,lm(e)),e=rm(e);return t}:tE;function x8(e,t){return xu(e,rE(e),t)}function sE(e,t,n){var r=t(e);return za(e)?r:nE(r,n(e))}function w8(e){return sE(e,im,lm)}function b8(e){return sE(e,am,rE)}var xp=Bs(In,"DataView"),wp=Bs(In,"Promise"),bp=Bs(In,"Set"),Ep=Bs(In,"WeakMap"),g0="[object Map]",E8="[object Object]",y0="[object Promise]",v0="[object Set]",x0="[object WeakMap]",w0="[object DataView]",S8=Us(xp),j8=Us(pa),T8=Us(wp),C8=Us(bp),N8=Us(Ep),Un=Ls;(xp&&Un(new xp(new ArrayBuffer(1)))!=w0||pa&&Un(new pa)!=g0||wp&&Un(wp.resolve())!=y0||bp&&Un(new bp)!=v0||Ep&&Un(new Ep)!=x0)&&(Un=function(e){var t=Ls(e),n=t==E8?e.constructor:void 0,r=n?Us(n):"";if(r)switch(r){case S8:return w0;case j8:return g0;case T8:return y0;case C8:return v0;case N8:return x0}return t});var k8=Object.prototype,_8=k8.hasOwnProperty;function R8(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&_8.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var b0=In.Uint8Array;function cm(e){var t=new e.constructor(e.byteLength);return new b0(t).set(new b0(e)),t}function P8(e,t){var n=t?cm(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var A8=/\w*$/;function O8(e){var t=new e.constructor(e.source,A8.exec(e));return t.lastIndex=e.lastIndex,t}var E0=Vr?Vr.prototype:void 0,S0=E0?E0.valueOf:void 0;function I8(e){return S0?Object(S0.call(e)):{}}function M8(e,t){var n=t?cm(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var F8="[object Boolean]",$8="[object Date]",D8="[object Map]",L8="[object Number]",z8="[object RegExp]",U8="[object Set]",B8="[object String]",W8="[object Symbol]",V8="[object ArrayBuffer]",H8="[object DataView]",q8="[object Float32Array]",K8="[object Float64Array]",G8="[object Int8Array]",Q8="[object Int16Array]",Y8="[object Int32Array]",X8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",J8="[object Uint16Array]",eI="[object Uint32Array]";function tI(e,t,n){var r=e.constructor;switch(t){case V8:return cm(e);case F8:case $8:return new r(+e);case H8:return P8(e,n);case q8:case K8:case G8:case Q8:case Y8:case X8:case Z8:case J8:case eI:return M8(e,n);case D8:return new r;case L8:case B8:return new r(e);case z8:return O8(e);case U8:return new r;case W8:return I8(e)}}var j0=Object.create,nI=function(){function e(){}return function(t){if(!La(t))return{};if(j0)return j0(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function rI(e){return typeof e.constructor=="function"&&!om(e)?nI(rm(e)):{}}var sI="[object Map]";function oI(e){return zs(e)&&Un(e)==sI}var T0=Go&&Go.isMap,iI=T0?sm(T0):oI,aI="[object Set]";function lI(e){return zs(e)&&Un(e)==aI}var C0=Go&&Go.isSet,cI=C0?sm(C0):lI,uI=1,dI=2,fI=4,oE="[object Arguments]",pI="[object Array]",hI="[object Boolean]",mI="[object Date]",gI="[object Error]",iE="[object Function]",yI="[object GeneratorFunction]",vI="[object Map]",xI="[object Number]",aE="[object Object]",wI="[object RegExp]",bI="[object Set]",EI="[object String]",SI="[object Symbol]",jI="[object WeakMap]",TI="[object ArrayBuffer]",CI="[object DataView]",NI="[object Float32Array]",kI="[object Float64Array
353]",_I="[object Int8Array]",RI="[object Int16Array]",PI="[object Int32Array]",AI="[object Uint8Array]",OI="[object Uint8ClampedArray]",II="[object Uint16Array]",MI="[object Uint32Array]",ye={};ye[oE]=ye[pI]=ye[TI]=ye[CI]=ye[hI]=ye[mI]=ye[NI]=ye[kI]=ye[_I]=ye[RI]=ye[PI]=ye[vI]=ye[xI]=ye[aE]=ye[wI]=ye[bI]=ye[EI]=ye[SI]=ye[AI]=ye[OI]=ye[II]=ye[MI]=!0;ye[gI]=ye[iE]=ye[jI]=!1;function zi(e,t,n,r,s,o){var i,a=t&uI,c=t&dI,u=t&fI;if(i!==void 0)return i;if(!La(e))return e;var d=za(e);if(d){if(i=R8(e),!a)return eE(e,i)}else{var f=Un(e),p=f==iE||f==yI;if(G2(e))return p8(e,a);if(f==aE||f==oE||p&&!s){if(i=c||p?{}:rI(e),!a)return c?x8(e,d8(i,e)):y8(e,i8(i,e))}else{if(!ye[f])return s?e:{};i=tI(e,f,a)}}o||(o=new oi);var h=o.get(e);if(h)return h;o.set(e,i),cI(e)?e.forEach(function(x){i.add(zi(x,t,n,x,e,o))}):iI(e)&&e.forEach(function(x,y){i.set(y,zi(x,t,n,y,e,o))});var b=u?c?b8:w8:c?am:im,g=d?void 0:b(e);return d6(g||e,function(x,y){g&&(y=x,x=e[y]),H2(i,y,zi(x,t,n,y,e,o))}),i}var FI=1,$I=4;function vl(e){return zi(e,FI|$I)}var N0=Array.isArray,k0=Object.keys,DI=Object.prototype.hasOwnProperty,LI=typeof Element<"u";function Sp(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var n=N0(e),r=N0(t),s,o,i;if(n&&r){if(o=e.length,o!=t.length)return!1;for(s=o;s--!==0;)if(!Sp(e[s],t[s]))return!1;return!0}if(n!=r)return!1;var a=e instanceof Date,c=t instanceof Date;if(a!=c)return!1;if(a&&c)return e.getTime()==t.getTime();var u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();var f=k0(e);if(o=f.length,o!==k0(t).length)return!1;for(s=o;s--!==0;)if(!DI.call(t,f[s]))return!1;if(LI&&e instanceof Element&&t instanceof Element)return e===t;for(s=o;s--!==0;)if(i=f[s],!(i==="_owner"&&e.$$typeof)&&!Sp(e[i],t[i]))return!1;return!0}return e!==e&&t!==t}var zI=function(t,n){try{return Sp(t,n)}catch(r){if(r.message&&r.message.match(/stack|recursion/i)||r.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}};const ts=kc(zI);var UI=4;function _0(e){return zi(e,UI)}function lE(e,t){for(var n=-1,r=e==null?0:e.length,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s}var BI="[object Symbol]";function um(e){return typeof e=="symbol"||zs(e)&&Ls(e)==BI}var WI="Expected a function";function dm(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(WI);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],o=n.cache;if(o.has(s))return o.get(s);var i=e.apply(this,r);return n.cache=o.set(s,i)||o,i};return n.cache=new(dm.Cache||Gr),n}dm.Cache=Gr;var VI=500;function HI(e){var t=dm(e,function(r){return n.size===VI&&n.clear(),r}),n=t.cache;return t}var qI=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,KI=/\\(\\)?/g,GI=HI(function(e){var t=[];
vendor: 31,017 bytes, lines 353-360
353return e.charCodeAt(0)===46&&t.push(""),e.replace(qI,function(n,r,s,o){t.push(s?o.replace(KI,"$1"):r||n)}),t});function QI(e){if(typeof e=="string"||um(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var R0=Vr?Vr.prototype:void 0,P0=R0?R0.toString:void 0;function cE(e){if(typeof e=="string")return e;if(za(e))return lE(e,cE)+"";if(um(e))return P0?P0.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function YI(e){return e==null?"":cE(e)}function uE(e){return za(e)?lE(e,QI):um(e)?[e]:eE(GI(YI(e)))}var dE={exports:{}},me={};/** @license React v16.13.1 354 * react-is.production.min.js 355 * 356 * Copyright (c) Facebook, Inc. and its affiliates. 357 * 358 * This source code is licensed under the MIT license found in the 359 * LICENSE file in the root directory of this source tree. 360 */var Ve=typeof Symbol=="function"&&Symbol.for,fm=Ve?Symbol.for("react.element"):60103,pm=Ve?Symbol.for("react.portal"):60106,wu=Ve?Symbol.for("react.fragment"):60107,bu=Ve?Symbol.for("react.strict_mode"):60108,Eu=Ve?Symbol.for("react.profiler"):60114,Su=Ve?Symbol.for("react.provider"):60109,ju=Ve?Symbol.for("react.context"):60110,hm=Ve?Symbol.for("react.async_mode"):60111,Tu=Ve?Symbol.for("react.concurrent_mode"):60111,Cu=Ve?Symbol.for("react.forward_ref"):60112,Nu=Ve?Symbol.for("react.suspense"):60113,XI=Ve?Symbol.for("react.suspense_list"):60120,ku=Ve?Symbol.for("react.memo"):60115,_u=Ve?Symbol.for("react.lazy"):60116,ZI=Ve?Symbol.for("react.block"):60121,JI=Ve?Symbol.for("react.fundamental"):60117,eM=Ve?Symbol.for("react.responder"):60118,tM=Ve?Symbol.for("react.scope"):60119;function At(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case fm:switch(e=e.type,e){case hm:case Tu:case wu:case Eu:case bu:case Nu:return e;default:switch(e=e&&e.$$typeof,e){case ju:case Cu:case _u:case ku:case Su:return e;default:return t}}case pm:return t}}}function fE(e){return At(e)===Tu}me.AsyncMode=hm;me.ConcurrentMode=Tu;me.ContextConsumer=ju;me.ContextProvider=Su;me.Element=fm;me.ForwardRef=Cu;me.Fragment=wu;me.Lazy=_u;me.Memo=ku;me.Portal=pm;me.Profiler=Eu;me.StrictMode=bu;me.Suspense=Nu;me.isAsyncMode=function(e){return fE(e)||At(e)===hm};me.isConcurrentMode=fE;me.isContextConsumer=function(e){return At(e)===ju};me.isContextProvider=function(e){return At(e)===Su};me.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===fm};me.isForwardRef=function(e){return At(e)===Cu};me.isFragment=function(e){return At(e)===wu};me.isLazy=function(e){return At(e)===_u};me.isMemo=function(e){return At(e)===ku};me.isPortal=function(e){return At(e)===pm};me.isProfiler=function(e){return At(e)===Eu};me.isStrictMode=function(e){return At(e)===bu};me.isSuspense=function(e){return At(e)===Nu};me.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===wu||e===Tu||e===Eu||e===bu||e===Nu||e===XI||typeof e=="object"&&e!==null&&(e.$$typeof===_u||e.$$typeof===ku||e.$$typeof===Su||e.$$typeof===ju||e.$$typeof===Cu||e.$$typeof===JI||e.$$typeof===eM||e.$$typeof===tM||e.$$typeof===ZI)};me.typeOf=At;dE.exports=me;var nM=dE.exports,pE=nM,rM={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},sM={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hE={};hE[pE.ForwardRef]=rM;hE[pE.Memo]=sM;function Ue(){return Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ue.apply(this,arguments)}function mE(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}var Ru=v.createContext(void 0);Ru.displayName="FormikContext";Ru.Provider;Ru.Consumer;function oM(){var e=v.useContext(Ru);return e}var Jt=function(t){return typeof t=="function"},Pu=function(t){return t!==null&&typeof t=="object"},iM=function(t){return String(Math.floor(Number(t)))===t},kd=function(t){return Object.prototype.toString.call(t)==="[object String]"},_d=function(t){return Pu(t)&&Jt(t.then)};function bt(e,t,n,r){r===void 0&&(r=0);for(var s=uE(t);e&&r<s.length;)e=e[s[r++]];return r!==s.length&&!e||e===void 0?n:e}function ws(e,t,n){for(var r=_0(e),s=r,o=0,i=uE(t);o<i.length-1;o++){var a=i[o],c=bt(e,i.slice(0,o+1));if(c&&(Pu(c)||Array.isArray(c)))s=s[a]=_0(c);else{var u=i[o+1];s=s[a]=iM(u)&&Number(u)>=0?[]:{}}}return(o===0?e:s)[i[o]]===n?e:(n===void 0?delete s[i[o]]:s[i[o]]=n,o===0&&n===void 0&&delete r[i[o]],r)}function gE(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var s=0,o=Object.keys(e);s<o.length;s++){var i=o[s],a=e[i];Pu(a)?n.get(a)||(n.set(a,!0),r[i]=Array.isArray(a)?[]:{},gE(a,t,n,r[i])):r[i]=t}return r}function aM(e,t){switch(t.type){case"SET_VALUES":return Ue({},e,{values:t.payload});case"SET_TOUCHED":return Ue({},e,{touched:t.payload});case"SET_ERRORS":return ts(e.errors,t.payload)?e:Ue({},e,{errors:t.payload});case"SET_STATUS":return Ue({},e,{status:t.payload});case"SET_ISSUBMITTING":return Ue({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Ue({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Ue({},e,{values:ws(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Ue({},e,{touched:ws(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Ue({},e,{errors:ws(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Ue({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Ue({},e,{touched:gE(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Ue({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Ue({},e,{isSubmitting:!1});default:return e}}var Zr={},xl={};function lM(e){var t=e.validateOnChange,n=t===void 0?!0:t,r=e.validateOnBlur,s=r===void 0?!0:r,o=e.validateOnMount,i=o===void 0?!1:o,a=e.isInitialValid,c=e.enableReinitialize,u=c===void 0?!1:c,d=e.onSubmit,f=mE(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=Ue({validateOnChange:n,validateOnBlur:s,validateOnMount:i,onSubmit:d},f),h=v.useRef(p.initialValues),b=v.useRef(p.initialErrors||Zr),g=v.useRef(p.initialTouched||xl),x=v.useRef(p.initialStatus),y=v.useRef(!1),m=v.useRef({});v.useEffect(function(){return y.current=!0,function(){y.current=!1}},[]);var w=v.useState(0),E=w[1],S=v.useRef({values:vl(p.initialValues),errors:vl(p.initialErrors)||Zr,touched:vl(p.initialTouched)||xl,status:vl(p.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),T=S.current,j=v.useCallback(function(_){var L=S.current;S.current=aM(L,_),L!==S.current&&E(function(q){return q+1})},[]),N=v.useCallback(function(_,L){return new Promise(function(q,G){var Y=p.validate(_,L);Y==null?q(Zr):_d(Y)?Y.then(function(oe){q(oe||Zr)},function(oe){G(oe)}):q(Y)})},[p.validate]),I=v.useCallback(function(_,L){var q=p.validationSchema,G=Jt(q)?q(L):q,Y=L&&G.validateAt?G.validateAt(L,_):uM(_,G);return new Promise(function(oe,He){Y.then(function(){oe(Zr)},function(qt){qt.name==="ValidationError"?oe(cM(qt)):He(qt)})})},[p.validationSchema]),A=v.useCallback(function(_,L){return new Promise(function(q){return q(m.current[_].validate(L))})},[]),$=v.useCallback(function(_){var L=Object.keys(m.current).filter(function(G){return Jt(m.current[G].validate)}),q=L.length>0?L.map(function(G){return A(G,bt(_,G))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(q).then(function(G){return G.reduce(function(Y,oe,He){return oe==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||oe&&(Y=ws(Y,L[He],oe)),Y},{})})},[A]),F=v.useCallback(function(_){return Promise.all([$(_),p.validationSchema?I(_):{},p.validate?N(_):{}]).then(function(L){var q=L[0],G=L[1],Y=L[2],oe=vp.all([q,G,Y],{arrayMerge:dM});return oe})},[p.validate,p.validationSchema,$,N,I]),U=Mt(function(_){return _===void 0&&(_=T.values),j({type:"SET_ISVALIDATING",payload:!0}),F(_).then(function(L){return y.current&&(j({type:"SET_ISVALIDATING",payload:!1}),j({type:"SET_ERRORS",payload:L})),L})});v.useEffect(function(){i&&y.current===!0&&ts(h.current,p.initialValues)&&U(h.current)},[i,U]);var D=v.useCallback(function(_){var L=_&&_.values?_.values:h.current,q=_&&_.errors?_.errors:b.current?b.current:p.initialErrors||{},G=_&&_.touched?_.touched:g.current?g.current:p.initialTouched||{},Y=_&&_.status?_.status:x.current?x.current:p.initialStatus;h.current=L,b.current=q,g.current=G,x.current=Y;var oe=function(){j({type:"RESET_FORM",payload:{isSubmitting:!!_&&!!_.isSubmitting,errors:q,touched:G,status:Y,values:L,isValidating:!!_&&!!_.isValidating,submitCount:_&&_.submitCount&&typeof _.submitCount=="number"?_.submitCount:0}})};if(p.onReset){var He=p.onReset(T.values,Ht);_d(He)?He.then(oe):oe()}else oe()},[p.initialErrors,p.initialStatus,p.initialTouched,p.onReset]);v.useEffect(function(){y.current===!0&&!ts(h.current,p.initialValues)&&u&&(h.current=p.initialValues,D(),i&&U(h.current))},[u,p.initialValues,D,i,U]),v.useEffect(function(){u&&y.current===!0&&!ts(b.current,p.initialErrors)&&(b.current=p.initialErrors||Zr,j({type:"SET_ERRORS",payload:p.initialErrors||Zr}))},[u,p.initialErrors]),v.useEffect(function(){u&&y.current===!0&&!ts(g.current,p.initialTouched)&&(g.current=p.initialTouched||xl,j({type:"SET_TOUCHED",payload:p.initialTouched||xl}))},[u,p.initialTouched]),v.useEffect(function(){u&&y.current===!0&&!ts(x.current,p.initialStatus)&&(x.current=p.initialStatus,j({type:"SET_STATUS",payload:p.initialStatus}))},[u,p.initialStatus,p.initialTouched]);var Z=Mt(function(_){if(m.current[_]&&Jt(m.current[_].validate)){var L=bt(T.values,_),q=m.current[_].validate(L);return _d(q)?(j({type:"SET_ISVALIDATING",payload:!0}),q.then(function(G){return G}).then(function(G){j({type:"SET_FIELD_ERROR",payload:{field:_,value:G}}),j({type:"SET_ISVALIDATING",payload:!1})})):(j({type:"SET_FIELD_ERROR",payload:{field:_,value:q}}),Promise.resolve(q))}else if(p.validationSchema)return j({type:"SET_ISVALIDATING",payload:!0}),I(T.values,_).then(function(G){return G}).then(function(G){j({type:"SET_FIELD_ERROR",payload:{field:_,value:bt(G,_)}}),j({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),H=v.useCallback(function(_,L){var q=L.validate;m.current[_]={validate:q}},[]),Q=v.useCallback(function(_){delete m.current[_]},[]),R=Mt(function(_,L){j({type:"SET_TOUCHED",payload:_});var q=L===void 0?s:L;return q?U(T.values):Promise.resolve()}),O=v.useCallback(function(_){j({type:"SET_ERRORS",payload:_})},[]),z=Mt(function(_,L){var q=Jt(_)?_(T.values):_;j({type:"SET_VALUES",payload:q});var G=L===void 0?n:L;return G?U(q):Promise.resolve()}),K=v.useCallback(function(_,L){j({type:"SET_FIELD_ERROR",payload:{field:_,value:L}})},[]),W=Mt(function(_,L,q){j({type:"SET_FIELD_VALUE",payload:{field:_,value:L}});var G=q===void 0?n:q;return G?U(ws(T.values,_,L)):Promise.resolve()}),ee=v.useCallback(function(_,L){var q=L,G=_,Y;if(!kd(_)){_.persist&&_.persist();var oe=_.target?_.target:_.currentTarget,He=oe.type,qt=oe.name,sr=oe.id,li=oe.value,Ba=oe.checked;oe.outerHTML;var Ks=oe.options,or=oe.multiple;q=L||qt||sr,G=/number|range/.test(He)?(Y=parseFloat(li),isNaN(Y)?"":Y):/checkbox/.test(He)?pM(bt(T.values,q),Ba,li):Ks&&or?fM(Ks):li}q&&W(q,G)},[W,T.values]),J=Mt(function(_){if(kd(_))return function(L){return ee(L,_)};ee(_)}),fe=Mt(function(_,L,q){L===void 0&&(L=!0),j({type:"SET_FIELD_TOUCHED",payload:{field:_,value:L}});var G=q===void 0?s:q;return G?U(T.values):Promise.resolve()}),$e=v.useCallback(function(_,L){_.persist&&_.persist();var q=_.target,G=q.name,Y=q.id;q.outerHTML;var oe=L||G||Y;fe(oe,!0)},[fe]),ue=Mt(function(_){if(kd(_))return function(L){return $e(L,_)};$e(_)}),Mn=v.useCallback(function(_){Jt(_)?j({type:"SET_FORMIK_STATE",payload:_}):j({type:"SET_FORMIK_STATE",payload:function(){return _}})},[]),Vt=v.useCallback(function(_){j({type:"SET_STATUS",payload:_})},[]),hn=v.useCallback(function(_){j({type:"SET_ISSUBMITTING",payload:_})},[]),Ot=Mt(function(){return j({type:"SUBMIT_ATTEMPT"}),U().then(function(_){var L=_ instanceof Error,q=!L&&Object.keys(_).length===0;if(q){var G;try{if(G=Hs(),G===void 0)return}catch(Y){throw Y}return Promise.resolve(G).then(function(Y){return y.current&&j({type:"SUBMIT_SUCCESS"}),Y}).catch(function(Y){if(y.current)throw j({type:"SUBMIT_FAILURE"}),Y})}else if(y.current&&(j({type:"SUBMIT_FAILURE"}),L))throw _})}),rr=Mt(function(_){_&&_.preventDefault&&Jt(_.preventDefault)&&_.preventDefault(),_&&_.stopPropagation&&Jt(_.stopPropagation)&&_.stopPropagation(),Ot().catch(function(L){console.warn("Warning: An unhandled error was caught from submitForm()",L)})}),Ht={resetForm:D,validateForm:U,validateField:Z,setErrors:O,setFieldError:K,setFieldTouched:fe,setFieldValue:W,setStatus:Vt,setSubmitting:hn,setTouched:R,setValues:z,setFormikState:Mn,submitForm:Ot},Hs=Mt(function(){return d(T.values,Ht)}),ii=Mt(function(_){_&&_.preventDefault&&Jt(_.preventDefault)&&_.preventDefault(),_&&_.stopPropagation&&Jt(_.stopPropagation)&&_.stopPropagation(),D()}),qs=v.useCallback(function(_){return{value:bt(T.values,_),error:bt(T.errors,_),touched:!!bt(T.touched,_),initialValue:bt(h.current,_),initialTouched:!!bt(g.current,_),initialError:bt(b.current,_)}},[T.errors,T.touched,T.values]),ai=v.useCallback(function(_){return{setValue:function(q,G){return W(_,q,G)},setTouched:function(q,G){return fe(_,q,G)},setError:function(q){return K(_,q)}}},[W,fe,K]),Qr=v.useCallback(function(_){var L=Pu(_),q=L?_.name:_,G=bt(T.values,q),Y={name:q,value:G,onChange:J,onBlur:ue};if(L){var oe=_.type,He=_.value,qt=_.as,sr=_.multiple;oe==="checkbox"?He===void 0?Y.checked=!!G:(Y.checked=!!(Array.isArray(G)&&~G.indexOf(He)),Y.value=He):oe==="radio"?(Y.checked=G===He,Y.value=He):qt==="select"&&sr&&(Y.value=Y.value||[],Y.multiple=!0)}return Y},[ue,J,T.values]),mn=v.useMemo(function(){return!ts(h.current,T.values)},[h.current,T.values]),Ua=v.useMemo(function(){return typeof a<"u"?mn?T.errors&&Object.keys(T.errors).length===0:a!==!1&&Jt(a)?a(p):a:T.errors&&Object.keys(T.errors).length===0},[a,mn,T.errors,p]),Yr=Ue({},T,{initialValues:h.current,initialErrors:b.current,initialTouched:g.current,initialStatus:x.current,handleBlur:ue,handleChange:J,handleReset:ii,handleSubmit:rr,resetForm:D,setErrors:O,setFormikState:Mn,setFieldTouched:fe,setFieldValue:W,setFieldError:K,setStatus:Vt,setSubmitting:hn,setTouched:R,setValues:z,submitForm:Ot,validateForm:U,validateField:Z,isValid:Ua,dirty:mn,unregisterField:Q,registerField:H,getFieldProps:Qr,getFieldMeta:qs,getFieldHelpers:ai,validateOnBlur:s,validateOnChange:n,validateOnMount:i});return Yr}function cM(e){var t={};if(e.inner){if(e.inner.length===0)return ws(t,e.path,e.message);for(var s=e.inner,n=Array.isArray(s),r=0,s=n?s:s[Symbol.iterator]();;){var o;if(n){if(r>=s.length)break;o=s[r++]}else{if(r=s.next(),r.done)break;o=r.value}var i=o;bt(t,i.path)||(t=ws(t,i.path,i.message))}}return t}function uM(e,t,n,r){n===void 0&&(n=!1);var s=jp(e);return t[n?"validateSync":"validate"](s,{abortEarly:!1,context:s})}function jp(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(s){return Array.isArray(s)===!0||o0(s)?jp(s):s!==""?s:void 0}):o0(e[r])?t[r]=jp(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function dM(e,t,n){var r=e.slice();return t.forEach(function(o,i){if(typeof r[i]>"u"){var a=n.clone!==!1,c=a&&n.isMergeableObject(o);r[i]=c?vp(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[i]=vp(e[i],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function fM(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function pM(e,t,n){if(typeof e=="boolean")return!!t;var r=[],s=!1,o=-1;if(Array.isArray(e))r=e,o=e.indexOf(n),s=o>=0;else if(!n||n=="true"||n=="false")return!!t;return t&&n&&!s?r.concat(n):s?r.slice(0,o).concat(r.slice(o+1)):r}var hM=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?v.useLayoutEffect:v.useEffect;function Mt(e){var t=v.useRef(e);return hM(function(){t.current=e}),v.useCallback(function(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return t.current.apply(void 0,r)},[])}var mM=v.forwardRef(function(e,t){var n=e.action,r=mE(e,["action"]),s=n??"#",o=oM(),i=o.handleReset,a=o.handleSubmit;return v.createElement("form",Ue({onSubmit:a,ref:t,onReset:i,action:s},r))});mM.displayName="Form";function Ws(e){this._maxSize=e,this.clear()}Ws.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Ws.prototype.get=function(e){return this._values[e]};Ws.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var gM=/[^.^\]^[]+|(?=\[\]|\.\.)/g,yE=/^\d+$/,yM=/^\d/,vM=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,xM=/^\s*(['"]?)(.*?)(\1)\s*$/,mm=512,A0=new Ws(mm),O0=new Ws(mm),I0=new Ws(mm),bs={Cache:Ws,split:Tp,normalizePath:Rd,setter:function(e){var t=Rd(e);return O0.get(e)||O0.set(e,function(r,s){for(var o=0,i=t.length,a=r;o<i-1;){var c=t[o];if(c==="__proto__"||c==="constructor"||c==="prototype")return r;a=a[t[o++]]}a[t[o]]=s})},getter:function(e,t){var n=Rd(e);return I0.get(e)||I0.set(e,function(s){for(var o=0,i=n.length;o<i;)if(s!=null||!t)s=s[n[o++]];else return;return s})},join:function(e){return e.reduce(function(t,n){return t+(gm(n)||yE.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){wM(Array.isArray(e)?e:Tp(e),t,n)}};function Rd(e){return A0.get(e)||A0.set(e,Tp(e).map(function(t){return t.replace(xM,"$2")}))}function Tp(e){return e.match(gM)||[""]}function wM(e,t,n){var r=e.length,s,o,i,a;for(o=0;o<r;o++)s=e[o],s&&(SM(s)&&(s='"'+s+'"'),a=gm(s),i=!a&&/^\d+$/.test(s),t.call(n,s,a,i,o,e))}function gm(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function bM(e){return e.match(yM)&&!e.match(yE)}function EM(e){return vM.test(e)}function SM(e){return!gm(e)&&(bM(e)||EM(e))}const jM=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['â](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['â](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,Au=e=>e.match(jM)||[],Ou=e=>e[0].toUpperCase()+e.slice(1),ym=(e,t)=>Au(e).join(t).toLowerCase(),vE=e=>Au(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),TM=e=>Ou(vE(e)),CM=e=>ym(e,"_"),NM=e=>ym(e,"-"),kM=e=>Ou(ym(e," ")),_M=e=>Au(e).map(Ou).join(" ");var Pd={words:Au,upperFirst:Ou,camelCase:vE,pascalCase:TM,snakeCase:CM,kebabCase:NM,sentenceCase:kM,titleCase:_M},vm={exports:{}};vm.exports=function(e){return xE(RM(e),e)};vm.exports.array=xE;function xE(e,t){var n=e.length,r=new Array(n),s={},o=n,i=PM(t),a=AM(e);for(t.forEach(function(u){if(!a.has(u[0])||!a.has(u[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});o--;)s[o]||c(e[o],o,new Set);return r;function c(u,d,f){if(f.has(u)){var p;try{p=", node was:"+JSON.stringify(u)}catch{p=""}throw new Error("Cyclic dependency"+p)}if(!a.has(u))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(u));if(!s[d]){s[d]=!0;var h=i.get(u)||new Set;if(h=Array.from(h),d=h.length){f.add(u);do{var b=h[--d];c(b,a.get(b),f)}while(d);f.delete(u)}r[--n]=u}}}function RM(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var s=e[n];t.add(s[0]),t.add(s[1])}return Array.from(t)}function PM(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var s=e[n];t.has(s[0])||t.set(s[0],new Set),t.has(s[1])||t.set(s[1],new Set),t.get(s[0]).add(s[1])}return t}function AM(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var OM=vm.exports;const IM=kc(OM),MM=Object.prototype.toString,FM=Error.prototype.toString,$M=RegExp.prototype.toString,DM=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",LM=/^Symbol\((.*)\)(.*)$/;function zM(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function M0(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return zM(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return DM.call(e).replace(LM,"Symbol($1)");const r=MM.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+FM.call(e)+"]":r==="RegExp"?$M.call(e):null}function Lr(e,t){let n=M0(e,t);return n!==null?n:JSON.stringify(e,function(r,s){let o=M0(this[r],t);return o!==null?o:s},2)}function wE(e){return e==null?[]:[].concat(e)}let bE,EE,SE,UM=/\$\{\s*(\w+)\s*\}/g;bE=Symbol.toStringTag;class F0{constructor(t,n,r,s){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[bE]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=s,this.errors=[],this.inner=[],wE(t).forEach(o=>{if(ot.isError(o)){this.errors.push(...o.errors);const i=o.inner.length?o.inner:[o];this.inner.push(...i)}else this.errors.push(o)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}EE=Symbol.hasInstance;SE=Symbol.toStringTag;class ot extends Error{static formatError(t,n){const r=n.label||n.path||"this";return n=Object.assign({},n,{path:r,originalPath:n.path}),typeof t=="string"?t.replace(UM,(s,o)=>Lr(n[o])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,s,o){const i=new F0(t,n,r,s);if(o)return i;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[SE]="Error",this.name=i.name,this.message=i.message,this.type=i.type,this.value=i.value,this.path=i.path,this.errors=i.errors,this.inner=i.inner,Error.captureStackTrace&&Error.captureStackTrace(this,ot)}static[EE](t){return F0[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let xn={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const s=r!=null&&r!==n?` (cast from the value \`${Lr(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Lr(n,!0)}\``+s:`${e} must match the configured type. The validated value was: \`${Lr(n,!0)}\``+s}},ut={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},BM={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Cp={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},WM={isValue:"${path} field must be ${value}"},Ul={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},VM={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},HM={notType:e=>{const{path:t,value:n,spec:r}=e,s=r.types.length;if(Array.isArray(n)){if(n.length<s)return`${t} tuple value has too few items, expected a length of ${s} but got ${n.length} for value: \`${Lr(n,!0)}\``;if(n.length>s)return`${t} tuple value has too many items, expected a length of ${s} but got ${n.length} for value: \`${Lr(n,!0)}\``}return ot.formatError(xn.notType,e)}};Object.assign(Object.create(null),{mixed:xn,string:ut,number:BM,date:Cp,object:Ul,array:VM,boolean:WM,tuple:HM});const xm=e=>e&&e.__isYupSchema__;class Cc{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:s,otherwise:o}=n,i=typeof r=="function"?r:(...a)=>a.every(c=>c===r);return new Cc(t,(a,c)=>{var u;let d=i(...a)?s:o;return(u=d==null?void 0:d(c))!=null?u:c})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(o=>o.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),s=this.fn(r,t,n);if(s===void 0||s===t)return t;if(!xm(s))throw new TypeError("conditions must return a schema object");return s.resolve(n)}}const wl={context:"$",value:"."};class Vs{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===wl.context,this.isValue=this.key[0]===wl.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?wl.context:this.isValue?wl.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&bs.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let s=this.isContext?r:this.isValue?t:n;return this.getter&&(s=this.getter(s||{})),this.map&&(s=this.map(s)),s}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}Vs.prototype.__isYupRef=!0;const as=e=>e==null;function eo(e){function t({value:n,path:r="",options:s,originalValue:o,schema:i},a,c){const{name:u,test:d,params:f,message:p,skipAbsent:h}=e;let{parent:b,context:g,abortEarly:x=i.spec.abortEarly,disableStackTrace:y=i.spec.disableStackTrace}=s;const m={value:n,parent:b,context:g};function w($={}){const F=jE(Object.assign({value:n,originalValue:o,label:i.spec.label,path:$.path||r,spec:i.spec,disableStackTrace:$.disableStackTrace||y},f,$.params),m),U=new ot(ot.formatError($.message||p,F),n,F.path,$.type||u,F.disableStackTrace);return U.params=F,U}const E=x?a:c;let S={path:r,parent:b,type:u,from:s.from,createError:w,resolve($){return TE($,m)},options:s,originalValue:o,schema:i};const T=$=>{ot.isError($)?E($):$?c(null):E(w())},j=$=>{ot.isError($)?E($):a($)};if(h&&as(n))return T(!0);let I;try{var A;if(I=d.call(S,n,S),typeof((A=I)==null?void 0:A.then)=="function"){if(s.sync)throw new Error(`Validation test of type: "${S.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(I).then(T,j)}}catch($){j($);return}T(I)}return t.OPTIONS=e,t}function jE(e,t){if(!e)return e;for(const n of Object.keys(e))e[n]=TE(e[n],t);return e}function TE(e,t){return Vs.isRef(e)?e.getValue(t.value,t.parent,t.context):e}function qM(e,t,n,r=n){let s,o,i;return t?(bs.forEach(t,(a,c,u)=>{let d=c?a.slice(1,a.length-1):a;e=e.resolve({context:r,parent:s,value:n});let f=e.type==="tuple",p=u?parseInt(d,10):0;if(e.innerType||f){if(f&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${i}" must contain an index to the tuple element, e.g. "${i}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${t}. because there is no value at that index. `);s=n,n=n&&n[p],e=f?e.spec.types[p]:e.innerType}if(!u){if(!e.fields||!e.fields[d])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${i} which is a type: "${e.type}")`);s=n,n=n&&n[d],e=e.fields[d]}o=d,i=c?"["+a+"]":"."+a}),{schema:e,parent:s,parentPath:o}):{parent:s,parentPath:t,schema:e}}class Nc extends Set{describe(){const t=[];for(const n of this.values())t.push(Vs.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new Nc(this.values())}merge(t,n){const r=this.clone();return t.forEach(s=>r.add(s)),n.forEach(s=>r.delete(s)),r}}function mo(e,t=new Map){if(xm(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=mo(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,s]of e.entries())n.set(r,mo(s,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(mo(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,s]of Object.entries(e))n[r]=mo(s,t)}else throw Error(`Unable to clone ${e}`);return n}function KM(e){if(!(e!=null&&e.length))return;const t=[];let n="",r=!1,s=!1;for(let o=0;o<e.length;o++){const i=e[o];
360if(i==="["&&!s){n&&(t.push(...n.split(".").filter(Boolean)),n=""),r=!0;continue}if(i==="]"&&!s){n&&(/^\d+$/.test(n)?t.push(n):t.push(n.replace(/^"|"$/g,"")),n=""),r=!1;continue}if(i==='"'){s=!s;continue}if(i==="."&&!r&&!s){n&&(t.push(n),n="");continue}n+=i}return n&&t.push(...n.split(".").filter(Boolean)),t}function GM(e,t){const n=t?`${t}.${e.path}`:e.path;return e.errors.map(r=>({message:r,path:KM(n)}))}function CE(e,t){var n;if(!((n=e.inner)!=null&&n.length)&&e.errors.length)return GM(e,t);const r=t?`${t}.${e.path}`:e.path;return e.inner.flatMap(s=>CE(s,r))}class An{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Nc,this._blacklist=new Nc,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(xn.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));
vendor: 6,071 bytes, lines 360-363
360return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=mo(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const s=Object.assign({},n.spec,r.spec);return r.spec=s,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(o=>{t.tests.forEach(i=>{o.test(i.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((s,o)=>o.resolve(s,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,s,o;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(s=t.recursive)!=null?s:this.spec.recursive,disableStackTrace:(o=t.disableStackTrace)!=null?o:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({},n,{value:t})),s=n.assert==="ignore-optionality",o=r._cast(t,n);if(n.assert!==!1&&!r.isType(o)){if(s&&as(o))return o;let i=Lr(t),a=Lr(o);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}". 361 362attempted value: ${i} 363`+(a!==i?`result of cast: ${a}`:""))}return o}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((s,o)=>o.call(this,s,t,this,n),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,s){let{path:o,originalValue:i=t,strict:a=this.spec.strict}=n,c=t;a||(c=this._cast(c,Object.assign({assert:!1},n)));let u=[];for(let d of Object.values(this.internalTests))d&&u.push(d);this.runTests({path:o,value:c,originalValue:i,options:n,tests:u},r,d=>{if(d.length)return s(d,c);this.runTests({path:o,value:c,originalValue:i,options:n,tests:this.tests},r,s)})}runTests(t,n,r){let s=!1,{tests:o,value:i,originalValue:a,path:c,options:u}=t,d=g=>{s||(s=!0,n(g,i))},f=g=>{s||(s=!0,r(g,i))},p=o.length,h=[];if(!p)return f([]);let b={value:i,originalValue:a,path:c,options:u,schema:this};for(let g=0;g<o.length;g++){const x=o[g];x(b,d,function(m){m&&(Array.isArray(m)?h.push(...m):h.push(m)),--p<=0&&f(h)})}}asNestedTest({key:t,index:n,parent:r,parentPath:s,originalParent:o,options:i}){const a=t??n;if(a==null)throw TypeError("Must include `key` or `index` for nested validations");const c=typeof a=="number";let u=r[a];const d=Object.assign({},i,{strict:!0,parent:r,value:u,originalValue:o[a],key:void 0,[c?"index":"key"]:a,path:c||a.includes(".")?`${s||""}[${c?a:`"${a}"`}]`:(s?`${s}.`:"")+t});return(f,p,h)=>this.resolve(d)._validate(u,d,p,h)}validate(t,n){var r;let s=this.resolve(Object.assign({},n,{value:t})),o=(r=n==null?void 0:n.disableStackTrace)!=null?r:s.spec.disableStackTrace;return new Promise((i,a)=>s._validate(t,n,(c,u)=>{ot.isError(c)&&(c.value=u),a(c)},(c,u)=>{c.length?a(new ot(c,u,void 0,void 0,o)):i(u)}))}validateSync(t,n){var r;let s=this.resolve(Object.assign({},n,{value:t})),o,i=(r=n==null?void 0:n.disableStackTrace)!=null?r:s.spec.disableStackTrace;return s._validate(t,Object.assign({},n,{sync:!0}),(a,c)=>{throw ot.isError(a)&&(a.value=c),a},(a,c)=>{if(a.length)throw new ot(a,t,void 0,void 0,i);o=c}),o}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(ot.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(ot.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):mo(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=eo({message:n,name:"nullable",test(s){return s===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=eo({message:n,name:"optionality",test(s){return s===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=xn.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=xn.notNull){return this.nullability(!1,t)}required(t=xn.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=xn.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),s=eo(n),o=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(i=>!(i.OPTIONS.name===n.name&&(o||i.OPTIONS.test===s.OPTIONS.test))),r.tests.push(s),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),s=wE(t).map(o=>new Vs(o));
363return s.forEach(o=>{o.isSibling&&r.deps.push(o.key)}),r.conditions.push(typeof n=="function"?new Cc(s,n):Cc.fromOptions(s,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=eo({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=xn.oneOf){let r=this.clone();return t.forEach(s=>{r._whitelist.add(s),r._blacklist.delete(s)}),r.internalTests.whiteList=eo({message:n,name:"oneOf",skipAbsent:!0,test(s){let o=this.schema._whitelist,i=o.resolveAll(this.resolve);return i.includes(s)?!0:this.createError({params:{values:Array.from(o).join(", "),resolved:i}})}}),r}notOneOf(t,n=xn.notOneOf){let r=this.clone();return t.forEach(s=>{r._blacklist.add(s),r._whitelist.delete(s)}),r.internalTests.blacklist=eo({message:n,name:"notOneOf",test(s){let o=this.schema._blacklist,i=o.resolveAll(this.resolve);return i.includes(s)?this.createError({params:{values:Array.from(o).join(", "),resolved:i}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:s,optional:o,nullable:i}=n.spec;return{meta:s,label:r,optional:o,nullable:i,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.filter((c,u,d)=>d.findIndex(f=>f.OPTIONS.name===c.OPTIONS.name)===u).map(c=>{const u=c.OPTIONS.params&&t?jE(Object.assign({},c.OPTIONS.params),t):c.OPTIONS.params;return{name:c.OPTIONS.name,params:u}})}}get"~standard"(){const t=this;return{version:1,vendor:"yup",async validate(r){try{return{value:await t.validate(r,{abortEarly:!1})}}catch(s){if(s instanceof ot)return{issues:CE(s)};throw s}}}}}An.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])An.prototype[`${e}At`]=function(t,n,r={}){const{parent:s,parentPath:o,schema:i}=qM(this,t,n,r.context);return i[e](s&&s[o],Object.assign({},r,{parent:s,path:t}))};for(const e of["equals","is"])An.prototype[e]=An.prototype.oneOf;for(const e of["not","nope"])An.prototype[e]=An.prototype.notOneOf;const QM=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function YM(e){const t=Np(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(n=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}function Np(e){var t,n;const r=QM.exec(e);return r?{year:$n(r[1]),month:$n(r[2],1)-1,day:$n(r[3],1),hour:$n(r[4]),minute:$n(r[5]),second:$n(r[6]),millisecond:r[7]?$n(r[7].substring(0,3)):0,precision:(t=(n=r[7])==null?void 0:n.length)!=null?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:$n(r[10]),minuteOffset:$n(r[11
vendor: 10,493 bytes, line 363
363])}:null}function $n(e,t=0){return Number(e)||t}let XM=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ZM=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,JM=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,eF="^\\d{4}-\\d{2}-\\d{2}",tF="\\d{2}:\\d{2}:\\d{2}",nF="(([+-]\\d{2}(:?\\d{2})?)|Z)",rF=new RegExp(`${eF}T${tF}(\\.\\d+)?${nF}$`),sF=e=>as(e)||e===e.trim(),oF={}.toString();function to(){return new NE}class NE extends An{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n)=>{if(!this.spec.coerce||this.isType(t)||Array.isArray(t))return t;const r=t!=null&&t.toString?t.toString():t;return r===oF?t:r})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||xn.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=ut.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=ut.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=ut.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,s,o;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:s,name:o}=n:s=n),this.test({name:o||"matches",message:s||ut.matches,params:{regex:t},skipAbsent:!0,test:i=>i===""&&r||i.search(t)!==-1})}email(t=ut.email){return this.matches(XM,{name:"email",message:t,excludeEmptyString:!0})}url(t=ut.url){return this.matches(ZM,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=ut.uuid){return this.matches(JM,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let n="",r,s;return t&&(typeof t=="object"?{message:n="",allowOffset:r=!1,precision:s=void 0}=t:n=t),this.matches(rF,{name:"datetime",message:n||ut.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||ut.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:o=>{if(!o||r)return!0;const i=Np(o);return i?!!i.z:!1}}).test({name:"datetime_precision",message:n||ut.datetime_precision,params:{precision:s},skipAbsent:!0,test:o=>{if(!o||s==null)return!0;const i=Np(o);return i?i.precision===s:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=ut.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:sF})}lowercase(t=ut.lowercase){return this.transform(n=>as(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>as(n)||n===n.toLowerCase()})}uppercase(t=ut.uppercase){return this.transform(n=>as(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>as(n)||n===n.toUpperCase()})}}to.prototype=NE.prototype;let iF=new Date(""),aF=e=>Object.prototype.toString.call(e)==="[object Date]";class wm extends An{constructor(){super({type:"date",check(t){return aF(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n)=>!this.spec.coerce||this.isType(t)||t===null?t:(t=YM(t),isNaN(t)?wm.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Vs.isRef(t))r=t;else{let s=this.cast(t);if(!this._typeCheck(s))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=s}return r}min(t,n=Cp.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(s){return s>=this.resolve(r)}})}max(t,n=Cp.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(s){return s<=this.resolve(r)}})}}wm.INVALID_DATE=iF;function lF(e,t=[]){let n=[],r=new Set,s=new Set(t.map(([i,a])=>`${i}-${a}`));function o(i,a){let c=bs.split(i)[0];r.add(c),s.has(`${a}-${c}`)||n.push([a,c])}for(const i of Object.keys(e)){let a=e[i];r.add(i),Vs.isRef(a)&&a.isSibling?o(a.path,i):xm(a)&&"deps"in a&&a.deps.forEach(c=>o(c,i))}return IM.array(Array.from(r),n).reverse()}function $0(e,t){let n=1/0;return e.some((r,s)=>{var o;if((o=t.path)!=null&&o.includes(r))return n=s,!0}),n}function kE(e){return(t,n)=>$0(e,t)-$0(e,n)}const cF=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function Bl(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Bl(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Bl(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Bl)}):"optional"in e?e.optional():e}const uF=(e,t)=>{const n=[...bs.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),s=bs.getter(bs.join(n),!0)(e);return!!(s&&r in s)};let D0=e=>Object.prototype.toString.call(e)==="[object Object]";function L0(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const dF=kE([]);function _E(e){return new RE(e)}class RE extends An{constructor(t){super({type:"object",check(n){return D0(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=dF,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let s=super._cast(t,n);if(s===void 0)return this.getDefault(n);if(!this._typeCheck(s))return s;let o=this.fields,i=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(s).filter(f=>!this._nodes.includes(f))),c={},u=Object.assign({},n,{parent:c,__validating:n.__validating||!1}),d=!1;for(const f of a){let p=o[f],h=f in s,b=s[f];if(p){let g;u.path=(n.path?`${n.path}.`:"")+f,p=p.resolve({value:b,context:n.context,parent:c});let x=p instanceof An?p.spec:void 0,y=x==null?void 0:x.strict;if(x!=null&&x.strip){d=d||f in s;continue}g=!n.__validating||!y?p.cast(b,u):b,g!==void 0&&(c[f]=g)}else h&&!i&&(c[f]=b);(h!==f in c||c[f]!==b)&&(d=!0)}return d?c:s}_validate(t,n={},r,s){let{from:o=[],originalValue:i=t,recursive:a=this.spec.recursive}=n;n.from=[{schema:this,value:i},...o],n.__validating=!0,n.originalValue=i,super._validate(t,n,r,(c,u)=>{if(!a||!D0(u)){s(c,u);return}i=i||u;let d=[];for(let f of this._nodes){let p=this.fields[f];!p||Vs.isRef(p)||d.push(p.asNestedTest({options:n,key:f,parent:u,parentPath:n.path,originalParent:i}))}this.runTests({tests:d,value:u,originalValue:i,options:n},r,f=>{s(f.sort(this._sortErrors).concat(c),u)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[s,o]of Object.entries(this.fields)){const i=r[s];r[s]=i===void 0?o:i}return n.withMutation(s=>s.setFields(r,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let n={};return this._nodes.forEach(r=>{var s;const o=this.fields[r];let i=t;(s=i)!=null&&s.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[r]})),n[r]=o&&"getDefault"in o?o.getDefault(i):void 0}),n}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=lF(t,n),r._sortErrors=kE(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let s=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),s=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),s)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return Bl(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n,this._excludedEdges.filter(([r,s])=>t.includes(r)&&t.includes(s)))}omit(t){const n=[];for(const r of Object.keys(this.fields))t.includes(r)||n.push(r);return this.pick(n)}from(t,n,r){let s=bs.getter(t,!0);return this.transform(o=>{if(!o)return o;let i=o;return uF(o,t)&&(i=Object.assign({},o),r||delete i[t],i[n]=s(o)),i})}json(){return this.transform(cF)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||Ul.exact,test(n){if(n==null)return!0;const r=L0(this.schema,n);return r.length===0||this.createError({params:{properties:r.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,n=Ul.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(s){if(s==null)return!0;const o=L0(this.schema,s);return!t||o.length===0||this.createError({params:{unknown:o.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Ul.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const s of Object.keys(n))r[t(s)]=n[s];return r})}camelCase(){return this.transformKeys(Pd.camelCase)}snakeCase(){return this.transformKeys(Pd.snakeCase)}constantCase(){return this.transformKeys(t=>Pd.snakeCase(t).toUpperCase())}describe(t){const n=(t?this.resolve(t):this).clone(),r=super.describe(t);r.fields={};for(const[o,i]of Object.entries(n.fields)){var s;let a=t;
363(s=a)!=null&&s.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[o]})),r.fields[o]=i.describe(a)}return r}}_E.prototype=RE.prototype;const fF=_E().shape({firstName:to().required("First name is required").min(2,"First name must be at least 2 characters"),lastName:to().required("Last name is required").min(2,"Last name must be at least 2 characters"),email:to().email("Invalid email address").required("Email is required"),phone:to().matches(/^[0-9]+$/,"Phone number must contain only digits").min(10,"Phone number must be at least 10 digits").required("Phone number is required"),message:to().required("Message is required").min(10,"Message must be at least 10 characters")}),pF={firstName:"",lastName:"",email:"",phone:"",message:""},hF=()=>{const e=h2(),t=lM({initialValues:pF,validationSchema:fF,onSubmit:async(n,{resetForm:r})=>{const s={...n,website:"Wallet"},o=await e.post({url:"/cms/submit-contact-form",data:s});o&&(ce.success(o.message),r())}});return{formik:t,values:t.values,errors:t.errors,touched:t.touched,handleChange:t.handleChange,handleBlur:t.handleBlur,handleSubmit:t.handleSubmit,isSubmitting:t.isSubmitting}},mF=()=>{const{values:e,errors:t,touched:n,handleChange:r,handleBlur:s,handleSubmit:o,isSubmitting:i}=hF(),a=[{title:"General Questions",badge:"Getting Started",questions:[{question:"What is Tajir Wallet?",answer:"Tajir Wallet is a decentralized exchange that allows you to create, import, and manage cryptocurrency wallets, buy and sell assets, and swap tokens securely without relying on a central authority. All transactions happen directly on the blockchain."},{question:"How is Tajir Wallet different from centralized exchanges?",answer:"Unlike centralized exchanges, Tajir Wallet does not hold your funds. You have full control over your private keys, and trades happen directly between users via smart contracts."},{question:"Which blockchain networks does Tajir DEX support?",answer:l.jsxs("div",{className:"space-y-2",children:[l.jsx("p",{children:l.jsx("strong",{children:"Tajir DEX currently supports:"})}),l.jsxs("ul",{className:"list-disc list-inside space-y-1",children:[l.jsxs("li",{children:[l.jsx("strong",{className:"font-bold",children:"EVM-compatible chains"})," (such as Ethereum, Binance Smart Chain, Polygon, Avalanche, etc.)"]}),l.jsx("li",{children:l.jsx("strong",{className:"font-bold",children:"Solana blockchain"})}),l.jsxs("li",{children:[" We are continuously evaluating additional network integrations based on ",l.jsx("strong",{children:"security"}),", ",l.jsx("strong",{children:"user demand"}),", and ",l.jsx("strong",{children:"regulatory compliance"}),"."]})]})]})}]},{title:"Wallet Management",badge:"Wallets",questions:[{question:"How do I create a new wallet on Tajir Wallet?",answer:`You can create a new wallet by selecting "Create Wallet" in the app. You'll receive a recovery phrase (seed phrase) â store it securely as it is the only way to restore your wallet if you lose access.`},{question:"Can I import an existing wallet?",answer:'Yes. Use the "Import Wallet" option and enter your existing recovery phrase or private key to access your current wallet and funds.'},{question:"How can I view my wallet assets?",answer:'After creating or importing a wallet, you can see all your token balances and asset details in the "Wallet Assets" section.'}]},{title:"Buying and Selling Assets",badge:"Trading",questions:[{question:"How do I buy assets on Tajir Wallet?",answer:"Choose the asset you want to purchase, specify the amount, and follow the on-screen instructions. You'll need a sufficient balance of supported tokens or stablecoins to complete the transaction."},{question:"How do I sell assets?",answer:"Select the token you want to sell, enter the amount, and confirm the trade. The proceeds will be credited to your wallet instantly after the transaction is confirmed on the blockchain."}]},{title:"Buying Crypto with MoonPay",badge:"Fiat Purchase",questions:[{question:"What is MoonPay integration?",answer:"Tajir Wallet integrates with MoonPay to allow you to purchase cryptocurrencies directly with your credit card, debit card, or bank transfer. This makes it easy to get started with crypto without needing to use external exchanges."},{question:"How do I buy crypto with fiat currency?",answer:'Go to the "Buy Crypto" section in Tajir Wallet, select MoonPay as your payment provider, choose the cryptocurrency you want to buy, enter the amount, and follow the payment instructions. The crypto will be deposited directly into your wallet.'},{question:"What payment methods does MoonPay support?",answer:"MoonPay supports various payment methods including credit cards (Visa, Mastercard), debit cards, bank transfers, and other local payment methods depending on your region."},{question:"Are there fees for buying crypto through MoonPay?",answer:"Yes, MoonPay charges processing fees for fiat-to-crypto purchases. These fees vary depending on the payment method and amount. You'll see the exact fees before confirming your purchase."},{question:"What cryptocurrencies can I buy through MoonPay?",answer:"You can purchase popular cryptocurrencies like Bitcoin (BTC), Ethereum (ETH), USDC, USDT, and many other supported tokens. The available cryptocurrencies may vary based on your location."}]}
363,{title:"Swapping Assets (ChangeNOW Integration)",badge:"Swaps",questions:[{question:"What is the Swap feature?",answer:"The Swap feature allows you to instantly exchange one cryptocurrency for another without going through a traditional buy/sell process. Tajir Wallet uses ChangeNOW to provide fast, secure swaps at competitive rates."},{question:"How do I swap assets?",answer:"Go to Swap, select the token you want to exchange and the token you want to receive, enter the amount, and confirm. Your assets will be swapped directly into your wallet after blockchain confirmation."},{question:"Are there any fees for swapping?",answer:"Tajir Wallet does not charge extra fees for swaps, but blockchain network fees and ChangeNOW service fees may apply."}]},{title:"Security and Privacy",badge:"Security",questions:[{question:"Does Tajir Wallet store my private keys?",answer:"No. Your private keys and recovery phrases are stored only on your device. We never have access to them."},{question:"What happens if I lose my recovery phrase?",answer:"If you lose your recovery phrase, there is no way to restore your wallet or access your funds. Always store it in a safe, offline location."},{question:"Is KYC required to use Tajir Wallet?",answer:"Tajir Wallet itself is fully decentralized and does not require KYC. However, when using MoonPay for fiat purchases, KYC verification may be required depending on your location and purchase amount."}]},{title:"Troubleshooting",badge:"Support",questions:[{question:"My transaction is stuck. What should I do?",answer:"Sometimes blockchain congestion can delay transactions. You can check the transaction status on a blockchain explorer. If it's pending for too long, you may need to adjust gas fees and try again."},{question:"Why can't I see a newly bought token in my wallet?",answer:"You may need to manually add the token contract address in your wallet to see it. This is common with new or less-known tokens."},{question:"My MoonPay purchase failed. What should I do?",answer:"If your MoonPay purchase fails, check your payment method details and ensure you have sufficient funds. You can also contact MoonPay support directly through their platform for payment-related issues."}]}];return l.jsxs("div",{className:"min-h-screen pt-24",children:[l.jsx(nu,{}),l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16",children:[l.jsxs("div",{className:"text-center mb-16",children:[l.jsxs("h1",{className:"text-5xl font-bold mb-6",children:["Help & ",l.jsx("span",{className:"text-shimmer",children:"Support"})]}),l.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Find answers to common questions or get in touch with our support team."})]}),l.jsxs("div",{className:"mb-20",children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsxs("h2",{className:"text-4xl font-bold mb-4",children:["Frequently Asked ",l.jsx("span",{className:"text-shimmer",children:"Questions"})]}),l.jsx("p",{className:"text-lg text-gray-600",children:"Everything you need to know about Tajir Wallet"})]}),l.jsx("div",{className:"max-w-4xl mx-auto space-y-8",children:a.map((c,u)=>l.jsxs("div",{className:"glass-card rounded-3xl p-4 sm:p-8",children:[l.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[l.jsx("h3",{className:"text-2xl font-bold",children:c.title}),l.jsx("div",{className:"inline-flex items-center justify-center px-3 py-1 w-[140px] sm:w-auto rounded-full bg-gradient-to-r from-blue-500 to-purple-600 text-white text-[10px] sm:text-[12px] font-medium shadow-md",children:l.jsx("span",{className:"text-center",children:c.badge})})]}),l.jsx(QA,{type:"single",collapsible:!0,className:"space-y-4",children:c.questions.map((d,f)=>l.jsxs(M2,{value:`section-${u}-item-${f}`,className:"border border-white/20 rounded-xl px-6 bg-white/5 hover:bg-white/10 transition-colors",children:[l.jsx(F2,{className:"text-left hover:no-underline py-6",children:l.jsx("span",{className:"font-semibold text-lg",children:d.question})}),l.jsx($2,{className:"pb-6 text-gray-600 leading-relaxed",children:d.answer})]},f))})]},u))})]}),l.jsxs("div",{id:"contact",className:"grid lg:grid-cols-3 gap-12",children:[l.jsxs("div",{className:"lg:col-span-3 text-center mb-12",children:[l.jsxs("h2",{className:"text-4xl font-bold mb-4",children:["Get in ",l.jsx("span",{className:"text-shimmer",children:"Touch"})]}),l.jsx("p",{className:"text-lg text-gray-600",children:"Still have questions? We're here to help."})]}),l.jsx("div",{className:"lg:col-span-1 space-y-8",children:l.jsxs(fp,{className:"glass-card border-0",children:[l.jsxs(pp,{children:[l.jsx(hp,{className:"text-2xl font-bold",children:"Contact Information"}),l.jsx(mp,{children:"Get in touch with our team"})]}),l.jsxs(gp,{className:"space-y-6",children:[l.jsxs("div",{className:"flex items-start space-x-4",children:[l.jsx("div",{className:"min-w-12 min-h-12 bg-gradient-to-r from-blue-500 to-purple-600 rounded-lg flex items-center justify-center",children:l.jsx(U1,{className:"w-6 h-6 text-white"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Headquarters"}),l.jsx("p",{className:"text-gray-600 leading-relaxed",children:"Office A, RAKDAO Business Center RAK Bank ROC Office, Ground Floor Al Riffa, Sheikh Mohammed Bin Zayed Road Ras Al Khaimah, UAE"})]})]}),l.jsxs("div",{className:"flex items-start space-x-4",children:[l.jsx("div",{className:"w-12 h-12 bg-gradient-to-r from-green-500 to-emerald-600 rounded-lg flex items-center justify-center",children:l.jsx(EC,{className:"w-6 h-6 text-white"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Email"}),l.jsx("p",{className:"text-gray-600",children:"[email protected]"})]})]})]})]})}),l.jsx("div",{className:"lg:col-span-2",children:l.jsxs(fp,{className:"glass-card border-0",children:[l.jsxs(pp,{children:[l.jsx(hp,{className:"text-2xl font-bold",children:"Send us a Message"}),l.jsx(mp,{children:"We'll get back to you within 24 hours"})]}),l.jsx(gp,{children:l.jsxs("form",{onSubmit:o,className:"space-y-6",children:[l.jsxs("div",{className:"grid sm:grid-cols-2 gap-6",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"firstName",className:"block text-sm font-medium mb-2",children:"First Name *"}),l.jsx(Ni,{id:"firstName",name:"firstName",type:"text",required:!0,value:e.firstName,onChange:r,onBlur:s,placeholder:"Enter your first name",className:"rounded-xl"}),n.firstName&&t.firstName&&l.jsx("div",{className:"text-red-500 text-xs",children:t.firstName})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"lastName",className:"block text-sm font-medium mb-2",children:"Last Name *"}),l.jsx(Ni,{id:"lastName",name:"lastName",type:"text",required:!0,value:e.lastName,onChange:r,onBlur:s,placeholder:"Enter your last name",className:"rounded-xl"}),n.lastName&&t.lastName&&l.jsx("div",{className:"text-red-500 text-xs",children:t.lastName})]})]}),l.jsxs("div",{className:"grid sm:grid-cols-2 gap-6",children:[l.jsxs("div",{children:[l.jsx("label",{htmlFor:"email",className:"block text-sm font-medium mb-2",children:"Email Address *"}),l.jsx(Ni,{id:"email",name:"email",type:"email",required:!0,value:e.email,onChange:r,onBlur:s,placeholder:"Enter your email",className:"rounded-xl"}),n.email&&t.email&&l.jsx("div",{className:"text-red-500 text-xs",children:t.email})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"phone",className:"block text-sm font-medium mb-2",children:"Phone Number *"}),l.jsx(Ni,{id:"phone",name:"phone",type:"tel",required:!0,value:e.phone,onChange:r,onBlur:s,placeholder:"Enter your phone",className:"rounded-xl"}),n.phone&&t.phone&&l.jsx("div",{className:"text-red-500 text-xs",children:t.phone})]})]}),l.jsxs("div",{children:[l.jsx("label",{htmlFor:"message",className:"block text-sm font-medium mb-2",children:"Message *"}),l.jsx(g2,{id:"message",name:"message",required:!0,value:e.message,onChange:r,onBlur:s,placeholder:"Message...",className:"rounded-xl min-h-[120px] outline-none right-0 hover:ring-0 focus:ring-0"}),n.message&&t.message&&l.jsx("div",{className:"text-red-500 text-xs",children:t.message})]}),l.jsxs(qo,{type:"submit",size:"lg",disabled:i,className:"w-full gradient-primary text-white rounded-xl group",children:[l.jsx(PC,{className:"w-5 h-5 mr-2 group-hover:animate-pulse"}),i?"Sending...":"Send Message"]})]})})]})})]})]}),l.jsx(pu,{})]})},gF=()=>(v.useEffect(()=>{const e=navigator.userAgent||navigator.vendor||window.opera,t=/iPad|iPhone|iPod/.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1;/android/i.test(e)?window.location.href="https://play.google.com/store/apps/details?id=com.tajir.wallet.app":t?window.location.href="https://apps.apple.com/ae/app/tajir-wallet/id6749449673":window.location.href="https://www.tajirwallet.io"},[]),l.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:l.jsxs("div",{className:"text-center",children:[l.jsx("h1",{className:"text-4xl font-bold mb-4",children:"Redirecting..."}),l.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Please wait while we take you to the right place"})]})}));function yF(e){return Aa({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"m10.213 1.471.691-1.26q.069-.124-.048-.192-.128-.057-.195.058l-.7 1.27A4.8 4.8 0 0 0 8.005.941q-1.032 0-1.956.404l-.7-1.27Q5.281-.037 5.154.02q-.117.069-.049.193l.691 1.259a4.25 4.25 0 0 0-1.673 1.476A3.7 3.7 0 0 0 3.5 5.02h9q0-1.125-.623-2.072a4.27 4.27 0 0 0-1.664-1.476ZM6.22 3.303a.37.37 0 0 1-.267.11.35.35 0 0 1-.263-.11.37.37 0 0 1-.107-.264.37.37 0 0 1 .107-.265.35.35 0 0 1 .263-.11q.155 0 .267.11a.36.36 0 0 1 .112.265.36.36 0 0 1-.112.264m4.101 0a.35.35 0 0 1-.262.11.37.37 0 0 1-.268-.11.36.36 0 0 1-.112-.264q0-.154.112-.265a.37.37 0 0 1 .268-.11q.155 0 .262.11a.37.37 0 0 1 .107.265q0 .153-.107.264M3.5 11.77q0 .441.311.75.311.306.76.307h.758l.01 2.182q0 .414.292.703a.96.96 0 0 0 .7.288.97.97 0 0 0 .71-.288.95.95 0 0 0 .292-.703v-2.182h1.343v2.182q0 .414.292.703a.97.97 0 0 0 .71.288.97.97 0 0 0 .71-.288.95.95 0 0 0 .292-.703v-2.182h.76q.436 0 .749-.308.31-.307.311-.75V5.365h-9zm10.495-6.587a.98.98 0 0 0-.702.278.9.9 0 0 0-.293.685v4.063q0 .406.293.69a.97.97 0 0 0 .702.284q.42 0 .712-.284a.92.92 0 0 0 .293-.69V6.146a.9.9 0 0 0-.293-.685 1 1 0 0 0-.712-.278m-12.702.283a1 1 0 0 1 .712-.283q.41 0 .702.283a.9.9 0 0 1 .293.68v4.063a.93.93 0 0 1-.288.69.97.97 0 0 1-.707.284 1 1 0 0 1-.712-.284.92.92 0 0 1-.293-.69V6.146q0-.396.293-.68"},child:[]}]})(e)}const z0=()=>{const e=()=>{const t=window.location.search,n=window.location.pathname,s=`tajirwallet://${n.startsWith("/")?n.substring(1):n}${t}`;window.location.href=s};return v.useEffect(()=>{const t=setTimeout(()=>{e()},500);return()=>clearTimeout(t)},[]),l.jsxs("div",{className:"min-h-screen w-full relative flex flex-col items-center justify-center overflow-hidden bg-gradient-to-br from-slate-50 via-blue-50/30 to-purple-50/50 px-4 sm:px-6 py-12",children:[l.jsx("div",{className:"absolute inset-0 gradient-mesh opacity-60 pointer-events-none"}),l.jsx("div",{className:"absolute top-10 left-10 w-32 h-32 bg-gradient-to-r from-blue-400/20 to-purple-400/20 rounded-full animate-morphing-blob pointer-events-none"}),l.jsx("div",{className:"absolute bottom-20 right-10 w-28 h-28 bg-gradient-to-r from-purple-400/20 to-pink-400/20 rounded-full animate-bounce-gentle pointer-events-none"}),l.jsx("div",{className:"absolute top-1/2 left-1/4 w-16 h-16 bg-gradient-to-r from-green-400/20 to-blue-400/20 rounded-full animate-rotate-slow pointer-events-none"}),l.jsxs("div",{className:"w-full max-w-md bg-white/40 backdrop-blur-xl border border-white/40 rounded-3xl p-8 shadow-2xl relative z-10 text-center animate-slide-in-up",children:[l.jsx("div",{className:"absolute -top-12 left-1/2 transform -translate-x-1/2 w-24 h-24 bg-gradient-to-r from-[#1B60E7]/30 to-purple-500/30 rounded-full blur-xl opacity-75"}),l.jsx("div",{className:"relative flex justify-center mb-8",children:l.jsxs("div",{className:"relative",children:[l.jsx("div",{className:"absolute inset-0 rounded-3xl bg-[#1B60E7]/10 animate-ping opacity-75"}),l.jsx("div",{className:"absolute -inset-2 rounded-3xl bg-gradient-to-r from-[#1B60E7]/20 to-purple-500/20 blur-md animate-pulse-glow"}),l.jsx("div",{className:"relative w-24 h-24 bg-white/95 rounded-3xl shadow-xl flex items-center justify-center p-5 border border-white/60 animate-float-gentle",children:l.jsx("img",{src:"/lovable-uploads/Tajir wallet.png",alt:"Tajir Wallet Logo",className:"w-14 h-14 object-contain"})})]})}),l.jsxs("div",{className:"space-y-4 mb-8",children:[l.jsxs("h1",{className:"text-3xl font-extrabold tracking-tight text-gray-900",children:["Tajir ",l.jsx("span",{className:"text-shimmer",children:"Wallet"})]}),l.jsxs("div",{className:"inline-flex items-center space-x-2 bg-[#1B60E7]/15 border border-[#1B60E7]/20 px-4 py-1.5 rounded-full text-xs font-bold text-[#1B60E7] animate-pulse",children:[l.jsx(bC,{className:"w-3.5 h-3.5 animate-spin mr-1 text-[#1B60E7]"}),l.jsx("span",{children:"App is opening"})]}),l.jsx("p",{className:"text-gray-800 text-lg font-bold mt-2 px-2",children:"Hold tight. We're launching Tajir Wallet."}),l.jsx("p",{className:"text-gray-500 text-sm px-4",children:"Please make sure you have the Tajir Wallet app installed."})]}),l.jsx("div",{className:"space-y-4",children:l.jsxs("div",{className:"pt-2 flex flex-col items-center gap-3",children:[l.jsx("span",{className:"text-xs font-bold text-gray-500 uppercase tracking-wider",children:"Download Tajir Wallet"}),l.jsxs("div",{className:"flex gap-3 w-full",children:[l.jsxs("button",{onClick:()=>window.open("https://apps.apple.com/pk/app/tajir-wallet/id6749449673","_blank"),className:"flex-1 border-2 border-[#1B60E7] text-[#1B60E7] bg-white/40 hover:bg-[#1B60E7] hover:text-white rounded-2xl py-3 text-sm font-bold transition-all duration-300 interactive-element flex items-center justify-center shadow-sm",children:[l.jsx(HR,{className:"w-4 h-4 mr-2"}),"App Store"]}),l.jsxs("button",{onClick:()=>window.open("https://play.google.com/store/apps/details?id=com.tajir.wallet.app&pli=1","_blank"),className:"flex-1 border-2 border-[#1B60E7] text-[#1B60E7] bg-white/40 hover:bg-[#1B60E7] hover:text-white rounded-2xl py-3 text-sm font-bold transition-all duration-300 interactive-element flex items-center justify-center shadow-sm",children:[l.jsx(yF,{className:"w-4 h-4 mr-2"}),"Google Play"]})]})]})})]}),l.jsx("div",{className:"mt-8 text-center text-xs text-gray-500 font-medium z-10",children:l.jsxs("p",{children:["© ",new Date().getFullYear()," Tajir Wallet. Secure & Trusted Gateway to Web3."]})})]})},vF=new l_,xF=()=>l.jsxs(c_,{client:vF,children:[l.jsx(mA,{position:"bottom-right",autoClose:4e3,style:{zIndex:9999},hideProgressBar:!0,newestOnTop:!1,rtl:!1,closeOnClick:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0,theme:"dark"}),l.jsxs($k,{children:[l.jsx(vN,{}),l.jsx(YN,{}),l.jsx(x3,{children:l.jsxs(f3,{children:[l.jsx(Zt,{path:"/",element:l.jsx(TA,{})}),l.jsx(Zt,{path:"/privacy-policy",element:l.jsx(n0,{})}),l.jsx(Zt,{path:"/privacy-policy/",element:l.jsx(n0,{})}),l.jsx(Zt,{path:"/terms-conditions",element:l.jsx(r0,{})}),l.jsx(Zt,{path:"/terms-conditions/",element:l.jsx(r0,{})}),l.jsx(Zt,{path:"/support",element:l.jsx(mF,{})}),l.jsx(Zt,{path:"/download",element:l.jsx(gF,{})}),l.jsx(Zt,{path:"/referral",element:l.jsx(z0,{})}),l.jsx(Zt,{path:"/inviteLink",element:l.jsx(z0,{})}),l.jsx(Zt,{path:"*",element:l.jsx(NA,{})})]})})]})]});u1(document.getElementById("root")).render(l.jsx(xF,{}))});export default wF();
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.