PageSourceSearch

https://swift-docs-kit.lovable.app/assets/index-BE3EXcA0.js

js swift-docs-kit.lovable.app collected 2026-10-03 03:39:52 UTC 469,057 bytes, 1,284 lines download raw bytes

vendor: 8,324 bytes, lines 1-9
1var Bd=e=>{throw TypeError(e)};var rl=(e,t,n)=>t.has(e)||Bd("Cannot "+n);var R=(e,t,n)=>(rl(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?Bd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Q=(e,t,n,r)=>(rl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Re=(e,t,n)=>(rl(e,t,"access private method"),n);var Hs=(e,t,n,r)=>({set _(o){Q(e,t,o,n)},get _(){return R(e,t,r)}});function e0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();var Ud=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function uc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rh={exports:{}},wa={},oh={exports:{}},X={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var js=Symbol.for("react.element"),t0=Symbol.for("react.portal"),n0=Symbol.for("react.fragment"),r0=Symbol.for("react.strict_mode"),o0=Symbol.for("react.profiler"),s0=Symbol.for("react.provider"),i0=Symbol.for("react.context"),a0=Symbol.for("react.forward_ref"),l0=Symbol.for("react.suspense"),u0=Symbol.for("react.memo"),c0=Symbol.for("react.lazy"),Wd=Symbol.iterator;function d0(e){return e===null||typeof e!="object"?null:(e=Wd&&e[Wd]||e["@@iterator"],typeof e=="function"?e:null)}var sh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ih=Object.assign,ah={};function Eo(e,t,n){this.props=e,this.context=t,this.refs=ah,this.updater=n||sh}Eo.prototype.isReactComponent={};Eo.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")};Eo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function lh(){}lh.prototype=Eo.prototype;function cc(e,t,n){this.props=e,this.context=t,this.refs=ah,this.updater=n||sh}var dc=cc.prototype=new lh;dc.constructor=cc;ih(dc,Eo.prototype);dc.isPureReactComponent=!0;var Hd=Array.isArray,uh=Object.prototype.hasOwnProperty,fc={current:null},ch={key:!0,ref:!0,__self:!0,__source:!0};function dh(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)uh.call(t,r)&&!ch.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:js,type:e,key:s,ref:i,props:o,_owner:fc.current}}function f0(e,t){return{$$typeof:js,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function pc(e){return typeof e=="object"&&e!==null&&e.$$typeof===js}function p0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Vd=/\/+/g;function ol(e,t){return typeof e=="object"&&e!==null&&e.key!=null?p0(""+e.key):t.toString(36)}function xi(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case js:case t0:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+ol(i,0):r,Hd(o)?(n="",e!=null&&(n=e.replace(Vd,"$&/")+"/"),xi(o,t,n,"",function(u){return u})):o!=null&&(pc(o)&&(o=f0(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Vd,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",Hd(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+ol(s,a);i+=xi(s,t,n,l,o)}else if(l=d0(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+ol(s,a++),i+=xi(s,t,n,l,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Vs(e,t,n){if(e==null)return e;var r=[],o=0;return xi(e,r,"","",function(s){return t.call(n,s,o++)}),r}function h0(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 Ue={current:null},wi={transition:null},m0={ReactCurrentDispatcher:Ue,ReactCurrentBatchConfig:wi,ReactCurrentOwner:fc};function fh(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:Vs,forEach:function(e,t,n){Vs(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Vs(e,function(){t++}),t},toArray:function(e){return Vs(e,function(t){return t})||[]},only:function(e){if(!pc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=Eo;X.Fragment=n0;X.Profiler=o0;X.PureComponent=cc;X.StrictMode=r0;X.Suspense=l0;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=m0;X.act=fh;X.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ih({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=fc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)uh.call(t,l)&&!ch.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:js,type:e.type,key:o,ref:s,props:r,_owner:i}};X.createContext=function(e){return e={$$typeof:i0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:s0,_context:e},e.Consumer=e};X.createElement=dh;X.createFactory=function(e){var t=dh.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:a0,render:e}};X.isValidElement=pc;X.lazy=function(e){return{$$typeof:c0,_payload:{_status:-1,_result:e},_init:h0}};X.memo=function(e,t){return{$$typeof:u0,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=wi.transition;wi.transition={};try{e()}finally{wi.transition=t}};X.unstable_act=fh;X.useCallback=function(e,t){return Ue.current.useCallback(e,t)};X.useContext=function(e){return Ue.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return Ue.current.useDeferredValue(e)};X.useEffect=function(e,t){return Ue.current.useEffect(e,t)};X.useId=function(){return Ue.current.useId()};X.useImperativeHandle=function(e,t,n){return Ue.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return Ue.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return Ue.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return Ue.current.useMemo(e,t)};X.useReducer=function(e,t,n){return Ue.current.useReducer(e,t,n)};X.useRef=function(e){return Ue.current.useRef(e)};
vendor: 4,883 bytes, lines 9-25
9X.useState=function(e){return Ue.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return Ue.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return Ue.current.useTransition()};X.version="18.3.1";oh.exports=X;var x=oh.exports;const F=uc(x),hc=e0({__proto__:null,default:F},[x]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var g0=x,v0=Symbol.for("react.element"),y0=Symbol.for("react.fragment"),x0=Object.prototype.hasOwnProperty,w0=g0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,b0={key:!0,ref:!0,__self:!0,__source:!0};function ph(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)x0.call(t,r)&&!b0.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:v0,type:e,key:s,ref:i,props:o,_owner:w0.current}}wa.Fragment=y0;wa.jsx=ph;wa.jsxs=ph;rh.exports=wa;var g=rh.exports,hh={exports:{}},ot={},mh={exports:{}},gh={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(T,_){var O=T.length;T.push(_);e:for(;0<O;){var V=O-1>>>1,$=T[V];if(0<o($,_))T[V]=_,T[O]=$,O=V;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var _=T[0],O=T.pop();if(O!==_){T[0]=O;e:for(var V=0,$=T.length,Y=$>>>1;V<Y;){var G=2*(V+1)-1,re=T[G],we=G+1,Z=T[we];if(0>o(re,O))we<$&&0>o(Z,re)?(T[V]=Z,T[we]=O,V=we):(T[V]=re,T[G]=O,V=G);else if(we<$&&0>o(Z,O))T[V]=Z,T[we]=O,V=we;else break e}}return _}function o(T,_){var O=T.sortIndex-_.sortIndex;return O!==0?O:T.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var l=[],u=[],c=1,f=null,m=3,p=!1,S=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(T){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=T)r(u),_.sortIndex=_.expirationTime,t(l,_);else break;_=n(u)}}function b(T){if(v=!1,h(T),!S)if(n(l)!==null)S=!0,z(E);else{var _=n(u);_!==null&&H(b,_.startTime-T)}}function E(T,_){S=!1,v&&(v=!1,y(A),A=-1),p=!0;var O=m;try{for(h(_),f=n(l);f!==null&&(!(f.expirationTime>_)||T&&!D());){var V=f.callback;if(typeof V=="function"){f.callback=null,m=f.priorityLevel;var $=V(f.expirationTime<=_);_=e.unstable_now(),typeof $=="function"?f.callback=$:f===n(l)&&r(l),h(_)}else r(l);f=n(l)}if(f!==null)var Y=!0;else{var G=n(u);G!==null&&H(b,G.startTime-_),Y=!1}return Y}finally{f=null,m=O,p=!1}}var C=!1,k=null,A=-1,P=5,N=-1;function D(){return!(e.unstable_now()-N<P)}function I(){if(k!==null){var T=e.unstable_now();N=T;var _=!0;try{_=k(!0,T)}finally{_?U():(C=!1,k=null)}}else C=!1}var U;if(typeof d=="function")U=function(){d(I)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,B=M.port2;M.port1.onmessage=I,U=function(){B.postMessage(null)}}else U=function(){w(I,0)};function z(T){k=T,C||(C=!0,U())}function H(T,_){A=w(function(){T(e.unstable_now())},_)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){S||p||(S=!0,z(E))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(T){switch(m){case 1:case 2:case 3:var _=3;break;default:_=m}var O=m;m=_;try{return T()}finally{m=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,_){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var O=m;m=T;try{return _()}finally{m=O}},e.unstable_scheduleCallback=function(T,_,O){var V=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?V+O:V):O=V,T){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}
vendor: 4,614 bytes, lines 25-33
25return $=O+$,T={id:c++,callback:_,priorityLevel:T,startTime:O,expirationTime:$,sortIndex:-1},O>V?(T.sortIndex=O,t(u,T),n(l)===null&&T===n(u)&&(v?(y(A),A=-1):v=!0,H(b,O-V))):(T.sortIndex=$,t(l,T),S||p||(S=!0,z(E))),T},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(T){var _=m;return function(){var O=m;m=_;try{return T.apply(this,arguments)}finally{m=O}}}})(gh);mh.exports=gh;var S0=mh.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 E0=x,rt=S0;function j(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 vh=new Set,os={};function Ar(e,t){po(e,t),po(e+"Capture",t)}function po(e,t){for(os[e]=t,e=0;e<t.length;e++)vh.add(t[e])}var rn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gl=Object.prototype.hasOwnProperty,C0=/^[: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]*$/,Gd={},Kd={};function k0(e){return Gl.call(Kd,e)?!0:Gl.call(Gd,e)?!1:C0.test(e)?Kd[e]=!0:(Gd[e]=!0,!1)}function A0(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 P0(e,t,n,r){if(t===null||typeof t>"u"||A0(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 We(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var Ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ne[e]=new We(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ne[t]=new We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ne[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ne[e]=new We(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){Ne[e]=new We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ne[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ne[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ne[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ne[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var mc=/[\-:]([a-z])/g;function gc(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(mc,gc);Ne[t]=new We(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(mc,gc);Ne[t]=new We(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(mc,gc);Ne[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ne[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});Ne.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ne[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function vc(e,t,n,r){var o=Ne.hasOwnProperty(t)?Ne[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(P0(t,n,o,r)&&(n=null),r||o===null?k0(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var cn=E0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Gs=Symbol.for("react.element"),Dr=Symbol.for("react.portal"),Lr=Symbol.for("react.fragment"),yc=Symbol.for("react.strict_mode"),Kl=Symbol.for("react.profiler"),yh=Symbol.for("react.provider"),xh=Symbol.for("react.context"),xc=Symbol.for("react.forward_ref"),Ql=Symbol.for("react.suspense"),ql=Symbol.for("react.suspense_list"),wc=Symbol.for("react.memo"),wn=Symbol.for("react.lazy"),wh=Symbol.for("react.offscreen"),Qd=Symbol.iterator;function Fo(e){return e===null||typeof e!="object"?null:(e=Qd&&e[Qd]||e["@@iterator"],typeof e=="function"?e:null)}var he=Object.assign,sl;function Wo(e){if(sl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);sl=t&&t[1]||""}return`
34`+sl+e}var il=!1;function al(e,t){if(!e||il)return"";il=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),s=r.stack.split(`
36`),i=o.length-1,a=s.length-1;1<=i&&0<=a&&o[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(o[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||o[i]!==s[a]){var l=`
37`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{il=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wo(e):""}function T0(e){switch(e.tag){case 5:return Wo(e.type);case 16:return Wo("Lazy");case 13:return Wo("Suspense");case 19:return Wo("SuspenseList");case 0:case 2:case 15:return e=al(e.type,!1),e;case 11:return e=al(e.type.render,!1),e;case 1:return e=al(e.type,!0),e;default:return""}}function Yl(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 Lr:return"Fragment";case Dr:return"Portal";case Kl:return"Profiler";case yc:return"StrictMode";case Ql:return"Suspense";case ql:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xh:return(e.displayName||"Context")+".Consumer";case yh:return(e._context.displayName||"Context")+".Provider";case xc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wc:return t=e.displayName||null,t!==null?t:Yl(e.type)||"Memo";case wn:t=e._payload,e=e._init;try{return Yl(e(t))}catch{}}return null}function N0(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 Yl(t);case 8:return t===yc?"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 Un(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function R0(e){var t=bh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ks(e){e._valueTracker||(e._valueTracker=R0(e))}function Sh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=bh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Li(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 Xl(e,t){var n=t.checked;return he({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Un(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}}
vendor: 4,651 bytes, line 37
37function Eh(e,t){t=t.checked,t!=null&&vc(e,"checked",t,!1)}function Zl(e,t){Eh(e,t);var n=Un(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")?Jl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Jl(e,t.type,Un(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Yd(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 Jl(e,t,n){(t!=="number"||Li(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ho=Array.isArray;function qr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Un(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function eu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return he({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Xd(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(Ho(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Un(n)}}function Ch(e,t){var n=Un(t.value),r=Un(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 Zd(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function kh(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 tu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?kh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Qs,Ah=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Qs=Qs||document.createElement("div"),Qs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Qs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ss(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qo={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},_0=["Webkit","ms","Moz","O"];Object.keys(Qo).forEach(function(e){_0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qo[t]=Qo[e]})});function Ph(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qo.hasOwnProperty(e)&&Qo[e]?(""+t).trim():t+"px"}function Th(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Ph(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var j0=he({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function nu(e,t){if(t){if(j0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function ru(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ou=null;function bc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var su=null,Yr=null,Xr=null;function Jd(e){if(e=Ms(e)){if(typeof su!="function")throw Error(j(280));var t=e.stateNode;t&&(t=ka(t),su(e.stateNode,e.type,t))}}function Nh(e){Yr?Xr?Xr.push(e):Xr=[e]:Yr=e}function Rh(){if(Yr){var e=Yr,t=Xr;if(Xr=Yr=null,Jd(e),t)for(e=0;e<t.length;e++)Jd(t[e])}}function _h(e,t){return e(t)}function jh(){}var ll=!1;function Fh(e,t,n){if(ll)return e(t,n);ll=!0;try{return _h(e,t,n)}finally{ll=!1,(Yr!==null||Xr!==null)&&(jh(),Rh())}}function is(e,t){var n=e.stateNode;if(n===null)return null;var r=ka(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(j(231,t,typeof n));return n}var iu=!1;if(rn)try{var Io={};Object.defineProperty(Io,"passive",{get:function(){iu=!0}}),window.addEventListener("test",Io,Io),window.removeEventListener("test",Io,Io)}catch{iu=!1}function F0(e,t,n,r,o,s,i,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var qo=!1,$i=null,zi=!1,au=null,I0={onError:function(e){qo=!0,$i=e}};function M0(e,t,n,r,o,s,i,a,l){qo=!1,$i=null,F0.apply(I0,arguments)}function O0(e,t,n,r,o,s,i,a,l){if(M0.apply(this,arguments),qo){if(qo){var u=$i;qo=!1,$i=null}else throw Error(j(198));zi||(zi=!0,au=u)}}function Pr(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 Ih(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 ef(e){if(Pr(e)!==e)throw Error(j(188))}function D0(e){var t=e.alternate;if(!t){if(t=Pr(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return ef(o),e;if(s===r)return ef(o),t;s=s.sibling}throw Error(j(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,a=o.child;a;){if(a===n){i=!0,n=o,r=s;break}if(a===r){i=!0,r=o,n=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===n){i=!0,n=s,r=o;break}if(a===r){i=!0,r=s,n=o;break}a=a.sibling}if(!i)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function Mh(e){return e=D0(e),e!==null?Oh(e):null}function Oh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Oh(e);if(t!==null)return t;e=e.sibling}return null}var Dh=rt.unstable_scheduleCallback,tf=rt.unstable_cancelCallback,L0=rt.unstable_shouldYield,$0=rt.unstable_requestPaint,be=rt.unstable_now,z0=rt.unstable_getCurrentPriorityLevel,Sc=rt.unstable_ImmediatePriority,Lh=rt.unstable_UserBlockingPriority,Bi=rt.unstable_NormalPriority,B0=rt.unstable_LowPriority,$h=rt.unstable_IdlePriority,ba=null,Wt=null;function U0(e){if(Wt&&typeof Wt.onCommitFiberRoot=="function")try{Wt.onCommitFiberRoot(ba,e,void 0,(e.current.flags&128)===128)}catch{}}var Nt=Math.clz32?Math.clz32:V0,W0=Math.log,H0=Math.LN2;function V0(e){return e>>>=0,e===0?32:31-(W0(e)/H0|0)|0}var qs=64,Ys=4194304;function Vo(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 Ui(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~o;a!==0?r=Vo(a):(s&=i,s!==0&&(r=Vo(s)))}else i=n&~o,i!==0?r=Vo(i):s!==0&&(r=Vo(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Nt(t),o=1<<n,r|=e[n],t&=~o;return r}function G0(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 K0(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-Nt(s),a=1<<i,l=o[i];l===-1?(!(a&n)||a&r)&&(o[i]=G0(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function lu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zh(){var e=qs;return qs<<=1,!(qs&4194240)&&(qs=64),e}function ul(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Fs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Nt(t),e[t]=n}function Q0(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Nt(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function Ec(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Nt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var te=0;function Bh(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Uh,Cc,Wh,Hh,Vh,uu=!1,Xs=[],jn=null,Fn=null,In=null,as=new Map,ls=new Map,Sn=[],q0="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 nf(e,t){switch(e){case"focusin":case"focusout":jn=null;break;case"dragenter":case"dragleave":Fn=null;break;case"mouseover":case"mouseout":In=null;break;case"pointerover":case"pointerout":as.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ls.delete(t.pointerId)}}function Mo(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Ms(t),t!==null&&Cc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Y0(e,t,n,r,o){switch(t){case"focusin":return jn=Mo(jn,e,t,n,r,o),!0;case"dragenter":return Fn=Mo(Fn,e,t,n,r,o),!0;case"mouseover":return In=Mo(In,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return as.set(s,Mo(as.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,ls.set(s,Mo(ls.get(s)||null,e,t,n,r,o)),!0}return!1}function Gh(e){var t=lr(e.target);if(t!==null){var n=Pr(t);if(n!==null){if(t=n.tag,t===13){if(t=Ih(n),t!==null){e.blockedOn=t,Vh(e.priority,function(){Wh(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 bi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=cu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ou=r,n.target.dispatchEvent(r),ou=null}else return t=Ms(n),t!==null&&Cc(t),e.blockedOn=n,!1;t.shift()}return!0}function rf(e,t,n){bi(e)&&n.delete(t)}function X0(){uu=!1,jn!==null&&bi(jn)&&(jn=null),Fn!==null&&bi(Fn)&&(Fn=null),In!==null&&bi(In)&&(In=null),as.forEach(rf),ls.forEac
vendor: 9,276 bytes, line 37
37h(rf)}function Oo(e,t){e.blockedOn===t&&(e.blockedOn=null,uu||(uu=!0,rt.unstable_scheduleCallback(rt.unstable_NormalPriority,X0)))}function us(e){function t(o){return Oo(o,e)}if(0<Xs.length){Oo(Xs[0],e);for(var n=1;n<Xs.length;n++){var r=Xs[n];r.blockedOn===e&&(r.blockedOn=null)}}for(jn!==null&&Oo(jn,e),Fn!==null&&Oo(Fn,e),In!==null&&Oo(In,e),as.forEach(t),ls.forEach(t),n=0;n<Sn.length;n++)r=Sn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Sn.length&&(n=Sn[0],n.blockedOn===null);)Gh(n),n.blockedOn===null&&Sn.shift()}var Zr=cn.ReactCurrentBatchConfig,Wi=!0;function Z0(e,t,n,r){var o=te,s=Zr.transition;Zr.transition=null;try{te=1,kc(e,t,n,r)}finally{te=o,Zr.transition=s}}function J0(e,t,n,r){var o=te,s=Zr.transition;Zr.transition=null;try{te=4,kc(e,t,n,r)}finally{te=o,Zr.transition=s}}function kc(e,t,n,r){if(Wi){var o=cu(e,t,n,r);if(o===null)xl(e,t,r,Hi,n),nf(e,r);else if(Y0(o,e,t,n,r))r.stopPropagation();else if(nf(e,r),t&4&&-1<q0.indexOf(e)){for(;o!==null;){var s=Ms(o);if(s!==null&&Uh(s),s=cu(e,t,n,r),s===null&&xl(e,t,r,Hi,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else xl(e,t,r,null,n)}}var Hi=null;function cu(e,t,n,r){if(Hi=null,e=bc(r),e=lr(e),e!==null)if(t=Pr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ih(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 Hi=e,null}function Kh(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(z0()){case Sc:return 1;case Lh:return 4;case Bi:case B0:return 16;case $h:return 536870912;default:return 16}default:return 16}}var Nn=null,Ac=null,Si=null;function Qh(){if(Si)return Si;var e,t=Ac,n=t.length,r,o="value"in Nn?Nn.value:Nn.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[s-r];r++);return Si=o.slice(e,1<r?1-r:void 0)}function Ei(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 Zs(){return!0}function of(){return!1}function st(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Zs:of,this.isPropagationStopped=of,this}return he(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Zs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Zs)},persist:function(){},isPersistent:Zs}),t}var Co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pc=st(Co),Is=he({},Co,{view:0,detail:0}),ex=st(Is),cl,dl,Do,Sa=he({},Is,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tc,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!==Do&&(Do&&e.type==="mousemove"?(cl=e.screenX-Do.screenX,dl=e.screenY-Do.screenY):dl=cl=0,Do=e),cl)},movementY:function(e){return"movementY"in e?e.movementY:dl}}),sf=st(Sa),tx=he({},Sa,{dataTransfer:0}),nx=st(tx),rx=he({},Is,{relatedTarget:0}),fl=st(rx),ox=he({},Co,{animationName:0,elapsedTime:0,pseudoElement:0}),sx=st(ox),ix=he({},Co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ax=st(ix),lx=he({},Co,{data:0}),af=st(lx),ux={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cx={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"},dx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=dx[e])?!!t[e]:!1}function Tc(){return fx}var px=he({},Is,{key:function(e){if(e.key){var t=ux[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ei(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?cx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tc,charCode:function(e){return e.type==="keypress"?Ei(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ei(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),hx=st(px),mx=he({},Sa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lf=st(mx),gx=he({},Is,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tc}),vx=st(gx),yx=he({},Co,{propertyName:0,elapsedTime:0,pseudoElement:0}),xx=st(yx),wx=he({},Sa,{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}),bx=st(wx),Sx=[9,13,27,32],Nc=rn&&"CompositionEvent"in window,Yo=null;rn&&"documentMode"in document&&(Yo=document.documentMode);var Ex=rn&&"TextEvent"in window&&!Yo,qh=rn&&(!Nc||Yo&&8<Yo&&11>=Yo),uf=" ",cf=!1;function Yh(e,t){switch(e){case"keyup":return Sx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $r=!1;function Cx(e,t){switch(e){case"compositionend":return Xh(t);case"keypress":return t.which!==32?null:(cf=!0,uf);case"textInput":return e=t.data,e===uf&&cf?null:e;default:return null}}function kx(e,t){if($r)return e==="compositionend"||!Nc&&Yh(e,t)?(e=Qh(),Si=Ac=Nn=null,$r=!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 qh&&t.locale!=="ko"?null:t.data;default:return null}}var Ax={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 df(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ax[e.type]:t==="textarea"}function Zh(e,t,n,r){Nh(r),t=Vi(t,"onChange"),0<t.length&&(n=new Pc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Xo=null,cs=null;function Px(e){um(e,0)}function Ea(e){var t=Ur(e);if(Sh(t))return e}function Tx(e,t){if(e==="change")return t}var Jh=!1;if(rn){var pl;if(rn){var hl="oninput"in document;if(!hl){var ff=document.createElement("div");ff.setAttribute("oninput","return;"),hl=typeof ff.oninput=="function"}pl=hl}else pl=!1;Jh=pl&&(!document.documentMode||9<document.documentMode)}function pf(){Xo&&(Xo.detachEvent("onpropertychange",em),cs=Xo=null)}function em(e){if(e.propertyName==="value"&&Ea(cs)){var t=[];Zh(t,cs,e,bc(e)),Fh(Px,t)}}function Nx(e,t,n){e==="focusin"?(pf(),Xo=t,cs=n,Xo.attachEvent("onpropertychange",em)):e==="focusout"&&pf()}function Rx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ea(cs)}function _x(e,t){if(e==="click")return Ea(t)}function jx(e,t){if(e==="input"||e==="change")return Ea(t)}function Fx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:Fx;function ds(e,t){if(_t(e,t))return!0;
vendor: 4,808 bytes, line 37
37if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Gl.call(t,o)||!_t(e[o],t[o]))return!1}return!0}function hf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function mf(e,t){var n=hf(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=hf(n)}}function tm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nm(){for(var e=window,t=Li();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Li(e.document)}return t}function Rc(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 Ix(e){var t=nm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tm(n.ownerDocument.documentElement,n)){if(r!==null&&Rc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=mf(n,s);var i=mf(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Mx=rn&&"documentMode"in document&&11>=document.documentMode,zr=null,du=null,Zo=null,fu=!1;function gf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;fu||zr==null||zr!==Li(r)||(r=zr,"selectionStart"in r&&Rc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Zo&&ds(Zo,r)||(Zo=r,r=Vi(du,"onSelect"),0<r.length&&(t=new Pc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=zr)))}function Js(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Br={animationend:Js("Animation","AnimationEnd"),animationiteration:Js("Animation","AnimationIteration"),animationstart:Js("Animation","AnimationStart"),transitionend:Js("Transition","TransitionEnd")},ml={},rm={};rn&&(rm=document.createElement("div").style,"AnimationEvent"in window||(delete Br.animationend.animation,delete Br.animationiteration.animation,delete Br.animationstart.animation),"TransitionEvent"in window||delete Br.transitionend.transition);function Ca(e){if(ml[e])return ml[e];if(!Br[e])return e;var t=Br[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in rm)return ml[e]=t[n];return e}var om=Ca("animationend"),sm=Ca("animationiteration"),im=Ca("animationstart"),am=Ca("transitionend"),lm=new Map,vf="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 Qn(e,t){lm.set(e,t),Ar(t,[e])}for(var gl=0;gl<vf.length;gl++){var vl=vf[gl],Ox=vl.toLowerCase(),Dx=vl[0].toUpperCase()+vl.slice(1);Qn(Ox,"on"+Dx)}Qn(om,"onAnimationEnd");Qn(sm,"onAnimationIteration");Qn(im,"onAnimationStart");Qn("dblclick","onDoubleClick");Qn("focusin","onFocus");Qn("focusout","onBlur");Qn(am,"onTransitionEnd");po("onMouseEnter",["mouseout","mouseover"]);po("onMouseLeave",["mouseout","mouseover"]);po("onPointerEnter",["pointerout","pointerover"]);po("onPointerLeave",["pointerout","pointerover"]);Ar("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 4,388 bytes, line 37
37Ar("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ar("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ar("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ar("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ar("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Go="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(" "),Lx=new Set("cancel close invalid load scroll toggle".split(" ").concat(Go));function yf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,O0(r,t,void 0,e),e.currentTarget=null}function um(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var a=r[i],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&o.isPropagationStopped())break e;yf(o,a,u),s=l}else for(i=0;i<r.length;i++){if(a=r[i],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&o.isPropagationStopped())break e;yf(o,a,u),s=l}}}if(zi)throw e=au,zi=!1,au=null,e}function ae(e,t){var n=t[vu];n===void 0&&(n=t[vu]=new Set);var r=e+"__bubble";n.has(r)||(cm(t,e,2,!1),n.add(r))}function yl(e,t,n){var r=0;t&&(r|=4),cm(n,e,r,t)}var ei="_reactListening"+Math.random().toString(36).slice(2);function fs(e){if(!e[ei]){e[ei]=!0,vh.forEach(function(n){n!=="selectionchange"&&(Lx.has(n)||yl(n,!1,e),yl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ei]||(t[ei]=!0,yl("selectionchange",!1,t))}}function cm(e,t,n,r){switch(Kh(t)){case 1:var o=Z0;break;case 4:o=J0;break;default:o=kc}n=o.bind(null,t,n,e),o=void 0,!iu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function xl(e,t,n,r,o){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;i=i.return}for(;a!==null;){if(i=lr(a),i===null)return;if(l=i.tag,l===5||l===6){r=s=i;continue e}a=a.parentNode}}r=r.return}Fh(function(){var u=s,c=bc(n),f=[];e:{var m=lm.get(e);if(m!==void 0){var p=Pc,S=e;switch(e){case"keypress":if(Ei(n)===0)break e;case"keydown":case"keyup":p=hx;break;case"focusin":S="focus",p=fl;break;case"focusout":S="blur",p=fl;break;case"beforeblur":case"afterblur":p=fl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=sf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=nx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=vx;break;case om:case sm:case im:p=sx;break;case am:p=xx;break;case"scroll":p=ex;break;case"wheel":p=bx;break;case"copy":case"cut":case"paste":p=ax;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=lf}var v=(t&4)!==0,w=!v&&e==="scroll",y=v?m!==null?m+"Capture":null:m;v=[];for(var d=u,h;d!==null;){h=d;var b=h.stateNode;if(h.tag===5&&b!==null&&(h=b,y!==null&&(b=is(d,y),b!=null&&v.push(ps(d,b,h)))),w)break;d=d.return}0<v.length&&(m=new p(m,S,null,n,c),f.push({event:m,listeners:v}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",m&&n!==ou&&(S=n.relatedTarget||n.fromElement)&&(lr(S)||S[on]))break e;if((p||m)&&(m=c.window===c?c:(m=c.ownerDocument)?m.defaultView||m.parentWindow:window,p?(S=n.relatedTarget||n.toElement,p=u,S=S?lr(S):null,S!==null&&(w=Pr(S),S!==w||S.tag!==5&&S.tag!==6)&&(S=null)):(p=null,S=u),p!==S)){if(v=sf,b="onMouseLeave",y="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(v=lf,b="onPointerLeave",y="onPointerEnter",d="pointer"),w=p==null?m:Ur(p),h=S==null?m:Ur(S),m=new v(b,d+"leave",p,n,c
vendor: 5,696 bytes, lines 37-38
37),m.target=w,m.relatedTarget=h,b=null,lr(c)===u&&(v=new v(y,d+"enter",S,n,c),v.target=h,v.relatedTarget=w,b=v),w=b,p&&S)t:{for(v=p,y=S,d=0,h=v;h;h=Fr(h))d++;for(h=0,b=y;b;b=Fr(b))h++;for(;0<d-h;)v=Fr(v),d--;for(;0<h-d;)y=Fr(y),h--;for(;d--;){if(v===y||y!==null&&v===y.alternate)break t;v=Fr(v),y=Fr(y)}v=null}else v=null;p!==null&&xf(f,m,p,v,!1),S!==null&&w!==null&&xf(f,w,S,v,!0)}}e:{if(m=u?Ur(u):window,p=m.nodeName&&m.nodeName.toLowerCase(),p==="select"||p==="input"&&m.type==="file")var E=Tx;else if(df(m))if(Jh)E=jx;else{E=Rx;var C=Nx}else(p=m.nodeName)&&p.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(E=_x);if(E&&(E=E(e,u))){Zh(f,E,n,c);break e}C&&C(e,m,u),e==="focusout"&&(C=m._wrapperState)&&C.controlled&&m.type==="number"&&Jl(m,"number",m.value)}switch(C=u?Ur(u):window,e){case"focusin":(df(C)||C.contentEditable==="true")&&(zr=C,du=u,Zo=null);break;case"focusout":Zo=du=zr=null;break;case"mousedown":fu=!0;break;case"contextmenu":case"mouseup":case"dragend":fu=!1,gf(f,n,c);break;case"selectionchange":if(Mx)break;case"keydown":case"keyup":gf(f,n,c)}var k;if(Nc)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else $r?Yh(e,n)&&(A="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(A="onCompositionStart");A&&(qh&&n.locale!=="ko"&&($r||A!=="onCompositionStart"?A==="onCompositionEnd"&&$r&&(k=Qh()):(Nn=c,Ac="value"in Nn?Nn.value:Nn.textContent,$r=!0)),C=Vi(u,A),0<C.length&&(A=new af(A,e,null,n,c),f.push({event:A,listeners:C}),k?A.data=k:(k=Xh(n),k!==null&&(A.data=k)))),(k=Ex?Cx(e,n):kx(e,n))&&(u=Vi(u,"onBeforeInput"),0<u.length&&(c=new af("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=k))}um(f,t)})}function ps(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vi(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=is(e,n),s!=null&&r.unshift(ps(e,s,o)),s=is(e,t),s!=null&&r.push(ps(e,s,o))),e=e.return}return r}function Fr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function xf(e,t,n,r,o){for(var s=t._reactName,i=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=is(n,s),l!=null&&i.unshift(ps(n,l,a))):o||(l=is(n,s),l!=null&&i.push(ps(n,l,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var $x=/\r\n?/g,zx=/\u0000|\uFFFD/g;function wf(e){return(typeof e=="string"?e:""+e).replace($x,`
38`).replace(zx,"")}function ti(e,t,n){if(t=wf(t),wf(e)!==t&&n)throw Error(j(425))}function Gi(){}var pu=null,hu=null;function mu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var gu=typeof setTimeout=="function"?setTimeout:void 0,Bx=typeof clearTimeout=="function"?clearTimeout:void 0,bf=typeof Promise=="function"?Promise:void 0,Ux=typeof queueMicrotask=="function"?queueMicrotask:typeof bf<"u"?function(e){return bf.resolve(null).then(e).catch(Wx)}:gu;function Wx(e){setTimeout(function(){throw e})}function wl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),us(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);us(t)}function Mn(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 Sf(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 ko=Math.random().toString(36).slice(2),Bt="__reactFiber$"+ko,hs="__reactProps$"+ko,on="__reactContainer$"+ko,vu="__reactEvents$"+ko,Hx="__reactListeners$"+ko,Vx="__reactHandles$"+ko;function lr(e){var t=e[Bt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[on]||n[Bt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Sf(e);e!==null;){if(n=e[Bt])return n;e=Sf(e)}return t}e=n,n=e.parentNode}return null}function Ms(e){return e=e[Bt]||e[on],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ur(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function ka(e){return e[hs]||null}var yu=[],Wr=-1;function qn(e){return{current:e}}function ue(e){0>Wr||(e.current=yu[Wr],yu[Wr]=null,Wr--)}function oe(e,t){Wr++,yu[Wr]=e.current,e.current=t}var Wn={},Me=qn(Wn),Qe=qn(!1),xr=Wn;function ho(e,t){var n=e.type.contextTypes;if(!n)return Wn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function qe(e){return e=e.childContextTypes,e!=null}function Ki(){ue(Qe),ue(Me)}function Ef(e,t,n){if(Me.current!==Wn)throw Error(j(168));oe(Me,t),oe(Qe,n)}function dm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(j(108,N0(e)||"Unknown",o));return he({},n,r)}function Qi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wn,xr=Me.current,oe(Me,e),oe(Qe,Qe.current),!0}function Cf(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=dm(e,t,xr),r.__reactInternalMemoizedMergedChildContext=e,ue(Qe),ue(Me),oe(Me,e)):ue(Qe),oe(Qe,n)}var Zt=null,Aa=!1,bl=!1;function fm(e){Zt===null?Zt=[e]:Zt.push(e)}
vendor: 14,849 bytes, line 38
38function Gx(e){Aa=!0,fm(e)}function Yn(){if(!bl&&Zt!==null){bl=!0;var e=0,t=te;try{var n=Zt;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Zt=null,Aa=!1}catch(o){throw Zt!==null&&(Zt=Zt.slice(e+1)),Dh(Sc,Yn),o}finally{te=t,bl=!1}}return null}var Hr=[],Vr=0,qi=null,Yi=0,ut=[],ct=0,wr=null,en=1,tn="";function sr(e,t){Hr[Vr++]=Yi,Hr[Vr++]=qi,qi=e,Yi=t}function pm(e,t,n){ut[ct++]=en,ut[ct++]=tn,ut[ct++]=wr,wr=e;var r=en;e=tn;var o=32-Nt(r)-1;r&=~(1<<o),n+=1;var s=32-Nt(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,en=1<<32-Nt(t)+o|n<<o|r,tn=s+e}else en=1<<s|n<<o|r,tn=e}function _c(e){e.return!==null&&(sr(e,1),pm(e,1,0))}function jc(e){for(;e===qi;)qi=Hr[--Vr],Hr[Vr]=null,Yi=Hr[--Vr],Hr[Vr]=null;for(;e===wr;)wr=ut[--ct],ut[ct]=null,tn=ut[--ct],ut[ct]=null,en=ut[--ct],ut[ct]=null}var tt=null,et=null,de=!1,Pt=null;function hm(e,t){var n=dt(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 kf(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,tt=e,et=Mn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,tt=e,et=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=wr!==null?{id:en,overflow:tn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=dt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,tt=e,et=null,!0):!1;default:return!1}}function xu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function wu(e){if(de){var t=et;if(t){var n=t;if(!kf(e,t)){if(xu(e))throw Error(j(418));t=Mn(n.nextSibling);var r=tt;t&&kf(e,t)?hm(r,n):(e.flags=e.flags&-4097|2,de=!1,tt=e)}}else{if(xu(e))throw Error(j(418));e.flags=e.flags&-4097|2,de=!1,tt=e}}}function Af(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;tt=e}function ni(e){if(e!==tt)return!1;if(!de)return Af(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!mu(e.type,e.memoizedProps)),t&&(t=et)){if(xu(e))throw mm(),Error(j(418));for(;t;)hm(e,t),t=Mn(t.nextSibling)}if(Af(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){et=Mn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}et=null}}else et=tt?Mn(e.stateNode.nextSibling):null;return!0}function mm(){for(var e=et;e;)e=Mn(e.nextSibling)}function mo(){et=tt=null,de=!1}function Fc(e){Pt===null?Pt=[e]:Pt.push(e)}var Kx=cn.ReactCurrentBatchConfig;function Lo(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(j(309));var r=n.stateNode}if(!r)throw Error(j(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=o.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function ri(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Pf(e){var t=e._init;return t(e._payload)}function gm(e){function t(y,d){if(e){var h=y.deletions;h===null?(y.deletions=[d],y.flags|=16):h.push(d)}}function n(y,d){if(!e)return null;for(;d!==null;)t(y,d),d=d.sibling;return null}function r(y,d){for(y=new Map;d!==null;)d.key!==null?y.set(d.key,d):y.set(d.index,d),d=d.sibling;return y}function o(y,d){return y=$n(y,d),y.index=0,y.sibling=null,y}function s(y,d,h){return y.index=h,e?(h=y.alternate,h!==null?(h=h.index,h<d?(y.flags|=2,d):h):(y.flags|=2,d)):(y.flags|=1048576,d)}function i(y){return e&&y.alternate===null&&(y.flags|=2),y}function a(y,d,h,b){return d===null||d.tag!==6?(d=Tl(h,y.mode,b),d.return=y,d):(d=o(d,h),d.return=y,d)}function l(y,d,h,b){var E=h.type;return E===Lr?c(y,d,h.props.children,b,h.key):d!==null&&(d.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===wn&&Pf(E)===d.type)?(b=o(d,h.props),b.ref=Lo(y,d,h),b.return=y,b):(b=Ri(h.type,h.key,h.props,null,y.mode,b),b.ref=Lo(y,d,h),b.return=y,b)}function u(y,d,h,b){return d===null||d.tag!==4||d.stateNode.containerInfo!==h.containerInfo||d.stateNode.implementation!==h.implementation?(d=Nl(h,y.mode,b),d.return=y,d):(d=o(d,h.children||[]),d.return=y,d)}function c(y,d,h,b,E){return d===null||d.tag!==7?(d=yr(h,y.mode,b,E),d.return=y,d):(d=o(d,h),d.return=y,d)}function f(y,d,h){if(typeof d=="string"&&d!==""||typeof d=="number")return d=Tl(""+d,y.mode,h),d.return=y,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Gs:return h=Ri(d.type,d.key,d.props,null,y.mode,h),h.ref=Lo(y,null,d),h.return=y,h;case Dr:return d=Nl(d,y.mode,h),d.return=y,d;case wn:var b=d._init;return f(y,b(d._payload),h)}if(Ho(d)||Fo(d))return d=yr(d,y.mode,h,null),d.return=y,d;ri(y,d)}return null}function m(y,d,h,b){var E=d!==null?d.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return E!==null?null:a(y,d,""+h,b);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Gs:return h.key===E?l(y,d,h,b):null;case Dr:return h.key===E?u(y,d,h,b):null;case wn:return E=h._init,m(y,d,E(h._payload),b)}if(Ho(h)||Fo(h))return E!==null?null:c(y,d,h,b,null);ri(y,h)}return null}function p(y,d,h,b,E){if(typeof b=="string"&&b!==""||typeof b=="number")return y=y.get(h)||null,a(d,y,""+b,E);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Gs:return y=y.get(b.key===null?h:b.key)||null,l(d,y,b,E);case Dr:return y=y.get(b.key===null?h:b.key)||null,u(d,y,b,E);case wn:var C=b._init;return p(y,d,h,C(b._payload),E)}if(Ho(b)||Fo(b))return y=y.get(h)||null,c(d,y,b,E,null);ri(d,b)}return null}function S(y,d,h,b){for(var E=null,C=null,k=d,A=d=0,P=null;k!==null&&A<h.length;A++){k.index>A?(P=k,k=null):P=k.sibling;var N=m(y,k,h[A],b);if(N===null){k===null&&(k=P);break}e&&k&&N.alternate===null&&t(y,k),d=s(N,d,A),C===null?E=N:C.sibling=N,C=N,k=P}if(A===h.length)return n(y,k),de&&sr(y,A),E;if(k===null){for(;A<h.length;A++)k=f(y,h[A],b),k!==null&&(d=s(k,d,A),C===null?E=k:C.sibling=k,C=k);return de&&sr(y,A),E}for(k=r(y,k);A<h.length;A++)P=p(k,y,A,h[A],b),P!==null&&(e&&P.alternate!==null&&k.delete(P.key===null?A:P.key),d=s(P,d,A),C===null?E=P:C.sibling=P,C=P);return e&&k.forEach(function(D){return t(y,D)}),de&&sr(y,A),E}function v(y,d,h,b){var E=Fo(h);if(typeof E!="function")throw Error(j(150));if(h=E.call(h),h==null)throw Error(j(151));for(var C=E=null,k=d,A=d=0,P=null,N=h.next();k!==null&&!N.done;A++,N=h.next()){k.index>A?(P=k,k=null):P=k.sibling;var D=m(y,k,N.value,b);if(D===null){k===null&&(k=P);break}e&&k&&D.alternate===null&&t(y,k),d=s(D,d,A),C===null?E=D:C.sibling=D,C=D,k=P}if(N.done)return n(y,k),de&&sr(y,A),E;if(k===null){for(;!N.done;A++,N=h.next())N=f(y,N.value,b),N!==null&&(d=s(N,d,A),C===null?E=N:C.sibling=N,C=N);return de&&sr(y,A),E}for(k=r(y,k);!N.done;A++,N=h.next())N=p(k,y,A,N.value,b),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?A:N.key),d=s(N,d,A),C===null?E=N:C.sibling=N,C=N);return e&&k.forEach(function(I){return t(y,I)}),de&&sr(y,A),E}function w(y,d,h,b){if(typeof h=="object"&&h!==null&&h.type===Lr&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Gs:e:{for(var E=h.key,C=d;C!==null;){if(C.key===E){if(E=h.type,E===Lr){if(C.tag===7){n(y,C.sibling),d=o(C,h.props.children),d.return=y,y=d;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===wn&&Pf(E)===C.type){n(y,C.sibling),d=o(C,h.props),d.ref=Lo(y,C,h),d.return=y,y=d;break e}n(y,C);break}else t(y,C);C=C.sibling}h.type===Lr?(d=yr(h.props.children,y.mode,b,h.key),d.return=y,y=d):(b=Ri(h.type,h.key,h.props,null,y.mode,b),b.ref=Lo(y,d,h),b.return=y,y=b)}return i(y);case Dr:e:{for(C=h.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===h.containerInfo&&d.stateNode.implementation===h.implementation){n(y,d.sibling),d=o(d,h.children||[]),d.return=y,y=d;break e}else{n(y,d);break}else t(y,d);d=d.sibling}d=Nl(h,y.mode,b),d.return=y,y=d}return i(y);case wn:return C=h._init,w(y,d,C(h._payload),b)}if(Ho(h))return S(y,d,h,b);if(Fo(h))return v(y,d,h,b);ri(y,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,d!==null&&d.tag===6?(n(y,d.sibling),d=o(d,h),d.return=y,y=d):(n(y,d),d=Tl(h,y.mode,b),d.return=y,y=d),i(y)):n(y,d)}return w}var go=gm(!0),vm=gm(!1),Xi=qn(null),Zi=null,Gr=null,Ic=null;function Mc(){Ic=Gr=Zi=null}function Oc(e){var t=Xi.current;ue(Xi),e._currentValue=t}function bu(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 Jr(e,t){Zi=e,Ic=Gr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ke=!0),e.firstContext=null)}function pt(e){var t=e._currentValue;if(Ic!==e)if(e={context:e,memoizedValue:t,next:null},Gr===null){if(Zi===null)throw Error(j(308));Gr=e,Zi.dependencies={lanes:0,firstContext:e}}else Gr=Gr.next=e;return t}var ur=null;function Dc(e){ur===null?ur=[e]:ur.push(e)}function ym(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Dc(t)):(n.next=o.next,o.next=n),t.interleaved=n,sn(e,r)}function sn(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 bn=!1;function Lc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function xm(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 nn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function On(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,sn(e,n)}return o=r.interleaved,o===null?(t.next=t,Dc(r)):(t.next=o.next,o.next=t),r.interleaved=t,sn(e,n)}function Ci(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,Ec(e,n)}}function Tf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ji(e,t,n,r){var o=e.updateQueue;bn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,i===null?s=u:i.next=u,i=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==i&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(s!==null){var f=o.baseState;i=0,c=u=l=null,a=s;do{var m=a.lane,p=a.eventTime;if((r&m)===m){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var S=e,v=a;switch(m=t,p=n,v.tag){case 1:if(S=v.payload,typeof S=="function"){f=S.call(p,f,m);break e}f=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=v.payload,m=typeof S=="function"?S.call(p,f,m):S,m==null)break e;f=he({},f,m);break e;case 2:bn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[a]:m.push(a))}else p={eventTime:p,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=p,l=f):c=c.next=p,i|=m;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;m=a,a=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(c===null&&(l=f),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);Sr|=i,e.lanes=i,e.memoizedState=f}}function Nf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(j(191,o));o.call(r)}}}var Os={},Ht=qn(Os),ms=qn(Os),gs=qn(Os);function cr(e){if(e===Os)throw Error(j(174));return e}function $c(e,t){switch(oe(gs,t),oe(ms,e),oe(Ht,Os),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:tu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=tu(t,e)}ue(Ht),oe(Ht,t)}function vo(){ue(Ht),ue(ms),ue(gs)}function wm(e){cr(gs.current);var t=cr(Ht.current),n=tu(t,e.type);t!==n&&(oe(ms,e),oe(Ht,n))}function zc(e){ms.current===e&&(ue(Ht),ue(ms))}var fe=qn(0);function ea(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Sl=[];function Bc(){for(var e=0;e<Sl.length;e++)Sl[e]._workInProgressVersionPrimary=null;Sl.length=0}var ki=cn.ReactCurrentDispatcher,El=cn.ReactCurrentBatchConfig,br=0,pe=null,Ee=null,ke=null,ta=!1,Jo=!1,vs=0,Qx=0;function _e(){throw Error(j(321))}function Uc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!_t(e[n],t[n]))return!1;return!0}function Wc(e,t,n,r,o,s){if(br=s,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ki.current=e===null||e.memoizedState===null?Zx:Jx,e=n(r,o),Jo){s=0;do{if(Jo=!1,vs=0,25<=s)throw Error(j(301));s+=1,ke=Ee=null,t.updateQueue=null,ki.current=e1,e=n(r,o)}while(Jo)}if(ki.current=na,t=Ee!==null&&Ee.next!==null,br=0,ke=Ee=pe=null,ta=!1,t)throw Error(j(300));return e}function Hc(){var e=vs!==0;return vs=0,e}function Dt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ke===null?pe.memoizedState=ke=e:ke=ke.next=e,ke}function ht(){if(Ee===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=ke===null?pe.memoizedState:ke.next;if(t!==null)ke=t,Ee=e;else{if(e===null)throw Error(j(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},ke===null?pe.memoizedState=ke=e:ke=ke.next=e}return ke}function ys(e,t){return typeof t=="function"?t(e):t}function Cl(e){var t=ht(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=Ee,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;
vendor: 5,614 bytes, line 38
38o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var a=i=null,l=null,u=s;do{var c=u.lane;if((br&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,i=r):l=l.next=f,pe.lanes|=c,Sr|=c}u=u.next}while(u!==null&&u!==s);l===null?i=r:l.next=a,_t(r,t.memoizedState)||(Ke=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,pe.lanes|=s,Sr|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function kl(e){var t=ht(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);_t(s,t.memoizedState)||(Ke=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function bm(){}function Sm(e,t){var n=pe,r=ht(),o=t(),s=!_t(r.memoizedState,o);if(s&&(r.memoizedState=o,Ke=!0),r=r.queue,Vc(km.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||ke!==null&&ke.memoizedState.tag&1){if(n.flags|=2048,xs(9,Cm.bind(null,n,r,o,t),void 0,null),Ae===null)throw Error(j(349));br&30||Em(n,t,o)}return o}function Em(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Cm(e,t,n,r){t.value=n,t.getSnapshot=r,Am(t)&&Pm(e)}function km(e,t,n){return n(function(){Am(t)&&Pm(e)})}function Am(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_t(e,n)}catch{return!0}}function Pm(e){var t=sn(e,1);t!==null&&Rt(t,e,1,-1)}function Rf(e){var t=Dt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ys,lastRenderedState:e},t.queue=e,e=e.dispatch=Xx.bind(null,pe,e),[t.memoizedState,e]}function xs(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Tm(){return ht().memoizedState}function Ai(e,t,n,r){var o=Dt();pe.flags|=e,o.memoizedState=xs(1|t,n,void 0,r===void 0?null:r)}function Pa(e,t,n,r){var o=ht();r=r===void 0?null:r;var s=void 0;if(Ee!==null){var i=Ee.memoizedState;if(s=i.destroy,r!==null&&Uc(r,i.deps)){o.memoizedState=xs(t,n,s,r);return}}pe.flags|=e,o.memoizedState=xs(1|t,n,s,r)}function _f(e,t){return Ai(8390656,8,e,t)}function Vc(e,t){return Pa(2048,8,e,t)}function Nm(e,t){return Pa(4,2,e,t)}function Rm(e,t){return Pa(4,4,e,t)}function _m(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 jm(e,t,n){return n=n!=null?n.concat([e]):null,Pa(4,4,_m.bind(null,t,e),n)}function Gc(){}function Fm(e,t){var n=ht();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Uc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Im(e,t){var n=ht();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Uc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Mm(e,t,n){return br&21?(_t(n,t)||(n=zh(),pe.lanes|=n,Sr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ke=!0),e.memoizedState=n)}function qx(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=El.transition;El.transition={};try{e(!1),t()}finally{te=n,El.transition=r}}function Om(){return ht().memoizedState}function Yx(e,t,n){var r=Ln(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Dm(e))Lm(t,n);else if(n=ym(e,t,n,r),n!==null){var o=Be();Rt(n,e,r,o),$m(n,t,r)}}function Xx(e,t,n){var r=Ln(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Dm(e))Lm(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,n);if(o.hasEagerState=!0,o.eagerState=a,_t(a,i)){var l=t.interleaved;l===null?(o.next=o,Dc(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=ym(e,t,o,r),n!==null&&(o=Be(),Rt(n,e,r,o),$m(n,t,r))}}function Dm(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function Lm(e,t){Jo=ta=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $m(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ec(e,n)}}var na={readContext:pt,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useInsertionEffect:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useSyncExternalStore:_e,useId:_e,unstable_isNewReconciler:!1},Zx={readContext:pt,useCallback:function(e,t){return Dt().memoizedState=[e,t===void 0?null:t],e},useContext:pt,useEffect:_f,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ai(4194308,4,_m.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ai(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ai(4,2,e,t)},useMemo:function(e,t){var n=Dt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Dt();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=Yx.bind(null,pe,e),[r.memoizedState,e]}
vendor: 6,263 bytes, lines 38-40
38,useRef:function(e){var t=Dt();return e={current:e},t.memoizedState=e},useState:Rf,useDebugValue:Gc,useDeferredValue:function(e){return Dt().memoizedState=e},useTransition:function(){var e=Rf(!1),t=e[0];return e=qx.bind(null,e[1]),Dt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,o=Dt();if(de){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),Ae===null)throw Error(j(349));br&30||Em(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,_f(km.bind(null,r,s,e),[e]),r.flags|=2048,xs(9,Cm.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Dt(),t=Ae.identifierPrefix;if(de){var n=tn,r=en;n=(r&~(1<<32-Nt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Qx++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Jx={readContext:pt,useCallback:Fm,useContext:pt,useEffect:Vc,useImperativeHandle:jm,useInsertionEffect:Nm,useLayoutEffect:Rm,useMemo:Im,useReducer:Cl,useRef:Tm,useState:function(){return Cl(ys)},useDebugValue:Gc,useDeferredValue:function(e){var t=ht();return Mm(t,Ee.memoizedState,e)},useTransition:function(){var e=Cl(ys)[0],t=ht().memoizedState;return[e,t]},useMutableSource:bm,useSyncExternalStore:Sm,useId:Om,unstable_isNewReconciler:!1},e1={readContext:pt,useCallback:Fm,useContext:pt,useEffect:Vc,useImperativeHandle:jm,useInsertionEffect:Nm,useLayoutEffect:Rm,useMemo:Im,useReducer:kl,useRef:Tm,useState:function(){return kl(ys)},useDebugValue:Gc,useDeferredValue:function(e){var t=ht();return Ee===null?t.memoizedState=e:Mm(t,Ee.memoizedState,e)},useTransition:function(){var e=kl(ys)[0],t=ht().memoizedState;return[e,t]},useMutableSource:bm,useSyncExternalStore:Sm,useId:Om,unstable_isNewReconciler:!1};function St(e,t){if(e&&e.defaultProps){t=he({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Su(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:he({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ta={isMounted:function(e){return(e=e._reactInternals)?Pr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Be(),o=Ln(e),s=nn(r,o);s.payload=t,n!=null&&(s.callback=n),t=On(e,s,o),t!==null&&(Rt(t,e,o,r),Ci(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Be(),o=Ln(e),s=nn(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=On(e,s,o),t!==null&&(Rt(t,e,o,r),Ci(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Be(),r=Ln(e),o=nn(n,r);o.tag=2,t!=null&&(o.callback=t),t=On(e,o,r),t!==null&&(Rt(t,e,r,n),Ci(t,e,r))}};function jf(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!ds(n,r)||!ds(o,s):!0}function zm(e,t,n){var r=!1,o=Wn,s=t.contextType;return typeof s=="object"&&s!==null?s=pt(s):(o=qe(t)?xr:Me.current,r=t.contextTypes,s=(r=r!=null)?ho(e,o):Wn),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ta,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function Ff(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&&Ta.enqueueReplaceState(t,t.state,null)}function Eu(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Lc(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=pt(s):(s=qe(t)?xr:Me.current,o.context=ho(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Su(e,t,s,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Ta.enqueueReplaceState(o,o.state,null),Ji(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function yo(e,t){try{var n="",r=t;do n+=T0(r),r=r.return;while(r);var o=n}catch(s){o=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:o,digest:null}}function Al(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Cu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var t1=typeof WeakMap=="function"?WeakMap:Map;function Bm(e,t,n){n=nn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){oa||(oa=!0,Iu=r),Cu(e,t)},n}function Um(e,t,n){n=nn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Cu(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Cu(e,t),typeof r!="function"&&(Dn===null?Dn=new Set([this]):Dn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function If(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new t1;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=m1.bind(null,e,t,n),t.then(e,e))}function Mf(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 Of(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=nn(-1,1),t.tag=2,On(n,t,1))),n.lanes|=1),e)}var n1=cn.ReactCurrentOwner,Ke=!1;function Le(e,t,n,r){t.child=e===null?vm(t,null,n,r):go(t,e.child,n,r)}function Df(e,t,n,r,o){n=n.render;var s=t.ref;return Jr(t,o),r=Wc(e,t,n,r,s,o),n=Hc(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,an(e,t,o)):(de&&n&&_c(t),t.flags|=1,Le(e,t,r,o),t.child)}function Lf(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!ed(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Wm
vendor: 11,327 bytes, line 40
40(e,t,s,r,o)):(e=Ri(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:ds,n(i,r)&&e.ref===t.ref)return an(e,t,o)}return t.flags|=1,e=$n(s,r),e.ref=t.ref,e.return=t,t.child=e}function Wm(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(ds(s,r)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(Ke=!0);else return t.lanes=e.lanes,an(e,t,o)}return ku(e,t,n,r,o)}function Hm(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oe(Qr,Ze),Ze|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oe(Qr,Ze),Ze|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,oe(Qr,Ze),Ze|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,oe(Qr,Ze),Ze|=r;return Le(e,t,o,n),t.child}function Vm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ku(e,t,n,r,o){var s=qe(n)?xr:Me.current;return s=ho(t,s),Jr(t,o),n=Wc(e,t,n,r,s,o),r=Hc(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,an(e,t,o)):(de&&r&&_c(t),t.flags|=1,Le(e,t,n,o),t.child)}function $f(e,t,n,r,o){if(qe(n)){var s=!0;Qi(t)}else s=!1;if(Jr(t,o),t.stateNode===null)Pi(e,t),zm(t,n,r),Eu(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=pt(u):(u=qe(n)?xr:Me.current,u=ho(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Ff(t,i,r,u),bn=!1;var m=t.memoizedState;i.state=m,Ji(t,r,i,o),l=t.memoizedState,a!==r||m!==l||Qe.current||bn?(typeof c=="function"&&(Su(t,n,c,r),l=t.memoizedState),(a=bn||jf(t,n,a,r,m,l,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=l),i.props=r,i.state=l,i.context=u,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,xm(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:St(t.type,a),i.props=u,f=t.pendingProps,m=i.context,l=n.contextType,typeof l=="object"&&l!==null?l=pt(l):(l=qe(n)?xr:Me.current,l=ho(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==f||m!==l)&&Ff(t,i,r,l),bn=!1,m=t.memoizedState,i.state=m,Ji(t,r,i,o);var S=t.memoizedState;a!==f||m!==S||Qe.current||bn?(typeof p=="function"&&(Su(t,n,p,r),S=t.memoizedState),(u=bn||jf(t,n,u,r,m,S,l)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,S,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,S,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=S),i.props=r,i.state=S,i.context=l,r=u):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Au(e,t,n,r,s,o)}function Au(e,t,n,r,o,s){Vm(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&Cf(t,n,!1),an(e,t,s);r=t.stateNode,n1.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=go(t,e.child,null,s),t.child=go(t,null,a,s)):Le(e,t,a,s),t.memoizedState=r.state,o&&Cf(t,n,!0),t.child}function Gm(e){var t=e.stateNode;t.pendingContext?Ef(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ef(e,t.context,!1),$c(e,t.containerInfo)}function zf(e,t,n,r,o){return mo(),Fc(o),t.flags|=256,Le(e,t,n,r),t.child}var Pu={dehydrated:null,treeContext:null,retryLane:0};function Tu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Km(e,t,n){var r=t.pendingProps,o=fe.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),oe(fe,o&1),e===null)return wu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=_a(i,r,0,null),e=yr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Tu(n),t.memoizedState=Pu,e):Kc(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return r1(e,t,i,r,a,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=$n(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?s=$n(a,s):(s=yr(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?Tu(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Pu,r}return s=e.child,e=s.sibling,r=$n(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Kc(e,t){return t=_a({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function oi(e,t,n,r){return r!==null&&Fc(r),go(t,e.child,null,n),e=Kc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function r1(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=Al(Error(j(422))),oi(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=_a({mode:"visible",children:r.children},o,0,null),s=yr(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&go(t,e.child,null,i),t.child.memoizedState=Tu(i),t.memoizedState=Pu,s);if(!(t.mode&1))return oi(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(j(419)),r=Al(s,r,void 0),oi(e,t,i,r)}if(a=(i&e.childLanes)!==0,Ke||a){if(r=Ae,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,sn(e,o),Rt(r,e,o,-1))}return Jc(),r=Al(Error(j(421))),oi(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=g1.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,et=Mn(o.nextSibling),tt=t,de=!0,Pt=null,e!==null&&(ut[ct++]=en,ut[ct++]=tn,ut[ct++]=wr,en=e.id,tn=e.overflow,wr=t),t=Kc(t,r.children),t.flags|=4096,t)}function Bf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),bu(e.return,t,n)}function Pl(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function Qm(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(Le(e,t,r.children,n),r=fe.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&&Bf(e,n,t);else if(e.tag===19)Bf(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(oe(fe,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&ea(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Pl(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ea(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Pl(t,!0,n,null,s);break;case"together":Pl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Pi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function an(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Sr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=$n(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=$n(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function o1(e,t,n){switch(t.tag){case 3:Gm(t),mo();break;case 5:wm(t);break;case 1:qe(t.type)&&Qi(t);break;case 4:$c(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;oe(Xi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(oe(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?Km(e,t,n):(oe(fe,fe.current&1),e=an(e,t,n),e!==null?e.sibling:null);oe(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Qm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),oe(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,Hm(e,t,n)}return an(e,t,n)}var qm,Nu,Ym,Xm;qm=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}};Nu=function(){};Ym=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,cr(Ht.current);var s=null;switch(n){case"input":o=Xl(e,o),r=Xl(e,r),s=[];break;case"select":o=he({},o,{value:void 0}),r=he({},r,{value:void 0}),s=[];break;case"textarea":o=eu(e,o),r=eu(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Gi)}nu(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(os.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];
vendor: 5,266 bytes, line 40
40if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(i in a)!a.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&a[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(os.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ae("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Xm=function(e,t,n,r){n!==r&&(t.flags|=4)};function $o(e,t){if(!de)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 je(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function s1(e,t,n){var r=t.pendingProps;switch(jc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return je(t),null;case 1:return qe(t.type)&&Ki(),je(t),null;case 3:return r=t.stateNode,vo(),ue(Qe),ue(Me),Bc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ni(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Pt!==null&&(Du(Pt),Pt=null))),Nu(e,t),je(t),null;case 5:zc(t);var o=cr(gs.current);if(n=t.type,e!==null&&t.stateNode!=null)Ym(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return je(t),null}if(e=cr(Ht.current),ni(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Bt]=t,r[hs]=s,e=(t.mode&1)!==0,n){case"dialog":ae("cancel",r),ae("close",r);break;case"iframe":case"object":case"embed":ae("load",r);break;case"video":case"audio":for(o=0;o<Go.length;o++)ae(Go[o],r);break;case"source":ae("error",r);break;case"img":case"image":case"link":ae("error",r),ae("load",r);break;case"details":ae("toggle",r);break;case"input":qd(r,s),ae("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ae("invalid",r);break;case"textarea":Xd(r,s),ae("invalid",r)}nu(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];i==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&ti(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&ti(r.textContent,a,e),o=["children",""+a]):os.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&ae("scroll",r)}switch(n){case"input":Ks(r),Yd(r,s,!0);break;case"textarea":Ks(r),Zd(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Gi)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=kh(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[Bt]=t,e[hs]=r,qm(e,t,!1,!1),t.stateNode=e;e:{switch(i=ru(n,r),n){case"dialog":ae("cancel",e),ae("close",e),o=r;break;case"iframe":case"object":case"embed":ae("load",e),o=r;break;case"video":case"audio":for(o=0;o<Go.length;o++)ae(Go[o],e);o=r;break;case"source":ae("error",e),o=r;break;case"img":case"image":case"link":ae("error",e),ae("load",e),o=r;break;case"details":ae("toggle",e),o=r;break;case"input":qd(e,r),o=Xl(e,r),ae("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=he({},r,{value:void 0}),ae("invalid",e);break;case"textarea":Xd(e,r),o=eu(e,r),ae("invalid",e);break;default:o=r}nu(n,o),a=o;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?Th(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Ah(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ss(e,l):typeof l=="number"&&ss(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(os.hasOwnProperty(s)?l!=null&&s==="onScroll"&&ae("scroll",e):l!=null&&vc(e,s,l,i))}switch(n){case"input":Ks(e),Yd(e,r,!1);break;case"textarea":Ks(e),Zd(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Un(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?qr(e,!!r.multiple,s,!1):r.defaultValue!=null&&qr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Gi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}
vendor: 29,903 bytes, line 40
40return je(t),null;case 6:if(e&&t.stateNode!=null)Xm(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=cr(gs.current),cr(Ht.current),ni(t)){if(r=t.stateNode,n=t.memoizedProps,r[Bt]=t,(s=r.nodeValue!==n)&&(e=tt,e!==null))switch(e.tag){case 3:ti(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ti(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Bt]=t,t.stateNode=r}return je(t),null;case 13:if(ue(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&&et!==null&&t.mode&1&&!(t.flags&128))mm(),mo(),t.flags|=98560,s=!1;else if(s=ni(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(j(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(j(317));s[Bt]=t}else mo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;je(t),s=!1}else Pt!==null&&(Du(Pt),Pt=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||fe.current&1?Ce===0&&(Ce=3):Jc())),t.updateQueue!==null&&(t.flags|=4),je(t),null);case 4:return vo(),Nu(e,t),e===null&&fs(t.stateNode.containerInfo),je(t),null;case 10:return Oc(t.type._context),je(t),null;case 17:return qe(t.type)&&Ki(),je(t),null;case 19:if(ue(fe),s=t.memoizedState,s===null)return je(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)$o(s,!1);else{if(Ce!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=ea(e),i!==null){for(t.flags|=128,$o(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return oe(fe,fe.current&1|2),t.child}e=e.sibling}s.tail!==null&&be()>xo&&(t.flags|=128,r=!0,$o(s,!1),t.lanes=4194304)}else{if(!r)if(e=ea(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$o(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!de)return je(t),null}else 2*be()-s.renderingStartTime>xo&&n!==1073741824&&(t.flags|=128,r=!0,$o(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=be(),t.sibling=null,n=fe.current,oe(fe,r?n&1|2:n&1),t):(je(t),null);case 22:case 23:return Zc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ze&1073741824&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function i1(e,t){switch(jc(t),t.tag){case 1:return qe(t.type)&&Ki(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vo(),ue(Qe),ue(Me),Bc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zc(t),null;case 13:if(ue(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));mo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(fe),null;case 4:return vo(),null;case 10:return Oc(t.type._context),null;case 22:case 23:return Zc(),null;case 24:return null;default:return null}}var si=!1,Ie=!1,a1=typeof WeakSet=="function"?WeakSet:Set,L=null;function Kr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function Ru(e,t,n){try{n()}catch(r){ye(e,t,r)}}var Uf=!1;function l1(e,t){if(pu=Wi,e=nm(),Rc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,a=-1,l=-1,u=0,c=0,f=e,m=null;t:for(;;){for(var p;f!==n||o!==0&&f.nodeType!==3||(a=i+o),f!==s||r!==0&&f.nodeType!==3||(l=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(p=f.firstChild)!==null;)m=f,f=p;for(;;){if(f===e)break t;if(m===n&&++u===o&&(a=i),m===s&&++c===r&&(l=i),(p=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(hu={focusedElem:e,selectionRange:n},Wi=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var v=S.memoizedProps,w=S.memoizedState,y=t.stateNode,d=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:St(t.type,v),w);y.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(b){ye(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return S=Uf,Uf=!1,S}function es(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&Ru(t,n,s)}o=o.next}while(o!==r)}}function Na(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 _u(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 Zm(e){var t=e.alternate;t!==null&&(e.alternate=null,Zm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Bt],delete t[hs],delete t[vu],delete t[Hx],delete t[Vx])),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 Jm(e){return e.tag===5||e.tag===3||e.tag===4}function Wf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jm(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 ju(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=Gi));else if(r!==4&&(e=e.child,e!==null))for(ju(e,t,n),e=e.sibling;e!==null;)ju(e,t,n),e=e.sibling}function Fu(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(Fu(e,t,n),e=e.sibling;e!==null;)Fu(e,t,n),e=e.sibling}var Pe=null,At=!1;function mn(e,t,n){for(n=n.child;n!==null;)eg(e,t,n),n=n.sibling}function eg(e,t,n){if(Wt&&typeof Wt.onCommitFiberUnmount=="function")try{Wt.onCommitFiberUnmount(ba,n)}catch{}switch(n.tag){case 5:Ie||Kr(n,t);case 6:var r=Pe,o=At;Pe=null,mn(e,t,n),Pe=r,At=o,Pe!==null&&(At?(e=Pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Pe.removeChild(n.stateNode));break;case 18:Pe!==null&&(At?(e=Pe,n=n.stateNode,e.nodeType===8?wl(e.parentNode,n):e.nodeType===1&&wl(e,n),us(e)):wl(Pe,n.stateNode));break;case 4:r=Pe,o=At,Pe=n.stateNode.containerInfo,At=!0,mn(e,t,n),Pe=r,At=o;break;case 0:case 11:case 14:case 15:if(!Ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Ru(n,t,i),o=o.next}while(o!==r)}mn(e,t,n);break;case 1:if(!Ie&&(Kr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ye(n,t,a)}mn(e,t,n);break;case 21:mn(e,t,n);break;case 22:n.mode&1?(Ie=(r=Ie)||n.memoizedState!==null,mn(e,t,n),Ie=r):mn(e,t,n);break;default:mn(e,t,n)}}function Hf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new a1),t.forEach(function(r){var o=v1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function wt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:Pe=a.stateNode,At=!1;break e;case 3:Pe=a.stateNode.containerInfo,At=!0;break e;case 4:Pe=a.stateNode.containerInfo,At=!0;break e}a=a.return}if(Pe===null)throw Error(j(160));eg(s,i,o),Pe=null,At=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){ye(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)tg(t,e),t=t.sibling}function tg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(wt(t,e),Ot(e),r&4){try{es(3,e,e.return),Na(3,e)}catch(v){ye(e,e.return,v)}try{es(5,e,e.return)}catch(v){ye(e,e.return,v)}}break;case 1:wt(t,e),Ot(e),r&512&&n!==null&&Kr(n,n.return);break;case 5:if(wt(t,e),Ot(e),r&512&&n!==null&&Kr(n,n.return),e.flags&32){var o=e.stateNode;try{ss(o,"")}catch(v){ye(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Eh(o,s),ru(a,i);var u=ru(a,s);for(i=0;i<l.length;i+=2){var c=l[i],f=l[i+1];c==="style"?Th(o,f):c==="dangerouslySetInnerHTML"?Ah(o,f):c==="children"?ss(o,f):vc(o,c,f,u)}switch(a){case"input":Zl(o,s);break;case"textarea":Ch(o,s);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?qr(o,!!s.multiple,p,!1):m!==!!s.multiple&&(s.defaultValue!=null?qr(o,!!s.multiple,s.defaultValue,!0):qr(o,!!s.multiple,s.multiple?[]:"",!1))}o[hs]=s}catch(v){ye(e,e.return,v)}}break;case 6:if(wt(t,e),Ot(e),r&4){if(e.stateNode===null)throw Error(j(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(v){ye(e,e.return,v)}}break;case 3:if(wt(t,e),Ot(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{us(t.containerInfo)}catch(v){ye(e,e.return,v)}break;case 4:wt(t,e),Ot(e);break;case 13:wt(t,e),Ot(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(Yc=be())),r&4&&Hf(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Ie=(u=Ie)||c,wt(t,e),Ie=u):wt(t,e),Ot(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(L=e,c=e.child;c!==null;){for(f=L=c;L!==null;){switch(m=L,p=m.child,m.tag){case 0:case 11:case 14:case 15:es(4,m,m.return);break;case 1:Kr(m,m.return);var S=m.stateNode;if(typeof S.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,S.props=t.memoizedProps,S.state=t.memoizedState,S.componentWillUnmount()}catch(v){ye(r,n,v)}}break;case 5:Kr(m,m.return);break;case 22:if(m.memoizedState!==null){Gf(f);continue}}p!==null?(p.return=m,L=p):Gf(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{o=f.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,l=f.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Ph("display",i))}catch(v){ye(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){ye(e,e.return,v)}}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;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:wt(t,e),Ot(e),r&4&&Hf(e);break;case 21:break;default:wt(t,e),Ot(e)}}function Ot(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Jm(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(ss(o,""),r.flags&=-33);var s=Wf(e);Fu(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,a=Wf(e);ju(e,a,i);break;default:throw Error(j(161))}}catch(l){ye(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function u1(e,t,n){L=e,ng(e)}function ng(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var o=L,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||si;if(!i){var a=o.alternate,l=a!==null&&a.memoizedState!==null||Ie;a=si;var u=Ie;if(si=i,(Ie=l)&&!u)for(L=o;L!==null;)i=L,l=i.child,i.tag===22&&i.memoizedState!==null?Kf(o):l!==null?(l.return=i,L=l):Kf(o);for(;s!==null;)L=s,ng(s),s=s.sibling;L=o,si=a,Ie=u}Vf(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,L=s):Vf(e)}}function Vf(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ie||Na(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ie)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:St(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Nf(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Nf(t,i,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&us(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}Ie||t.flags&512&&_u(t)}catch(m){ye(t,t.return,m)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function Gf(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function Kf(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Na(4,t)}catch(l){ye(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){ye(t,o,l)}}var s=t.return;try{_u(t)}catch(l){ye(t,s,l)}break;case 5:var i=t.return;try{_u(t)}catch(l){ye(t,i,l)}}}catch(l){ye(t,t.return,l)}if(t===e){L=null;break}var a=t.sibling;if(a!==null){a.return=t.return,L=a;break}L=t.return}}var c1=Math.ceil,ra=cn.ReactCurrentDispatcher,Qc=cn.ReactCurrentOwner,ft=cn.ReactCurrentBatchConfig,J=0,Ae=null,Se=null,Te=0,Ze=0,Qr=qn(0),Ce=0,ws=null,Sr=0,Ra=0,qc=0,ts=null,Ve=null,Yc=0,xo=1/0,Xt=null,oa=!1,Iu=null,Dn=null,ii=!1,Rn=null,sa=0,ns=0,Mu=null,Ti=-1,Ni=0;function Be(){return J&6?be():Ti!==-1?Ti:Ti=be()}function Ln(e){return e.mode&1?J&2&&Te!==0?Te&-Te:Kx.transition!==null?(Ni===0&&(Ni=zh()),Ni):(e=te,e!==0||(e=window.event,e=e===void 0?16:Kh(e.type)),e):1}function Rt(e,t,n,r){if(50<ns)throw ns=0,Mu=null,Error(j(185));Fs(e,n,r),(!(J&2)||e!==Ae)&&(e===Ae&&(!(J&2)&&(Ra|=n),Ce===4&&En(e,Te)),Ye(e,r),n===1&&J===0&&!(t.mode&1)&&(xo=be()+500,Aa&&Yn()))}function Ye(e,t){var n=e.callbackNode;K0(e,t);var r=Ui(e,e===Ae?Te:0);if(r===0)n!==null&&tf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&tf(n),t===1)e.tag===0?Gx(Qf.bind(null,e)):fm(Qf.bind(null,e)),Ux(function(){!(J&6)&&Yn()}),n=null;else{switch(Bh(r)){case 1:n=Sc;break;case 4:n=Lh;break;case 16:n=Bi;break;case 536870912:n=$h;break;default:n=Bi}n=cg(n,rg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rg(e,t){if(Ti=-1,Ni=0,J&6)throw Error(j(327));var n=e.callbackNode;if(eo()&&e.callbackNode!==n)return null;var r=Ui(e,e===Ae?Te:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ia(e,r);else{t=r;var o=J;J|=2;var s=sg();(Ae!==e||Te!==t)&&(Xt=null,xo=be()+500,vr(e,t));do try{p1();break}catch(a){og(e,a)}while(!0);Mc(),ra.current=s,J=o,Se!==null?t=0:(Ae=null,Te=0,t=Ce)}if(t!==0){if(t===2&&(o=lu(e),o!==0&&(r=o,t=Ou(e,o))),t===1)throw n=ws,vr(e,0),En(e,r),Ye(e,be()),n;if(t===6)En(e,r);else{if(o=e.current.alternate,!(r&30)&&!d1(o)&&(t=ia(e,r),t===2&&(s=lu(e),s!==0&&(r=s,t=Ou(e,s))),t===1))throw n=ws,vr(e,0),En(e,r),Ye(e,be()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:ir(e,Ve,Xt);break;case 3:if(En(e,r),(r&130023424)===r&&(t=Yc+500-be(),10<t)){if(Ui(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Be(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=gu(ir.bind(null,e,Ve,Xt),t);break}ir(e,Ve,Xt);break;case 4:if(En(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-Nt(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=be()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*c1(r/1960))-r,10<r){e.timeoutHandle=gu(ir.bind(null,e,Ve,Xt),r);break}ir(e,Ve,Xt);break;case 5:ir(e,Ve,Xt);break;default:throw Error(j(329))}}}return Ye(e,be()),e.callbackNode===n?rg.bind(null,e):null}function Ou(e,t){var n=ts;return e.current.memoizedState.isDehydrated&&(vr(e,t).flags|=256),e=ia(e,t),e!==2&&(t=Ve,Ve=n,t!==null&&Du(t)),e}function Du(e){Ve===null?Ve=e:Ve.push.apply(Ve,e)}function d1(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],s=o.getSnapshot;o=o.value;try{if(!_t(s(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function En(e,t){for(t&=~qc,t&=~Ra,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Nt(t),r=1<<n;e[n]=-1,t&=~r}}function Qf(e){if(J&6)throw Error(j(327));eo();var t=Ui(e,0);if(!(t&1))return Ye(e,be()),null;var n=ia(e,t);if(e.tag!==0&&n===2){var r=lu(e);r!==0&&(t=r,n=Ou(e,r))}if(n===1)throw n=ws,vr(e,0),En(e,t),Ye(e,be()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ir(e,Ve,Xt),Ye(e,be()),null}function Xc(e,t){var n=J;J|=1;try{return e(t)}finally{J=n,J===0&&(xo=be()+500,Aa&&Yn())}}function Er(e){Rn!==null&&Rn.tag===0&&!(J&6)&&eo();var t=J;J|=1;var n=ft.transition,r=te;try{if(ft.transition=null,te=1,e)return e()}finally{te=r,ft.transition=n,J=t,!(J&6)&&Yn()}}function Zc(){Ze=Qr.current,ue(Qr)}function vr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Bx(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(jc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ki();break;case 3:vo(),ue(Qe),ue(Me),Bc();break;case 5:zc(r);break;case 4:vo();break;case 13:ue(fe);break;case 19:ue(fe);break;case 10:Oc(r.type._context);break;case 22:case 23:Zc()}n=n.return}if(Ae=e,Se=e=$n(e.current,null),Te=Ze=t,Ce=0,ws=null,qc=Ra=Sr=0,Ve=ts=null,ur!==null){for(t=0;t<ur.length;t++)if(n=ur[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}ur=null}return e}function og(e,t){do{var n=Se;try{if(Mc(),ki.current=na,ta){for(var r=pe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ta=!1}if(br=0,ke=Ee=pe=null,Jo=!1,vs=0,Qc.current=null,n===null||n.return===null){Ce=1,ws=t,Se=null;break}e:{var s=e,i=n.return,a=n,l=t;if(t=Te,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var m=c.alternate;m?(c.updateQueue=m.updateQueue,c.memoizedState=m.memoizedState,c.lanes=m.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=Mf(i);if(p!==null){p.flags&=-257,Of(p,i,a,s,t),p.mode&1&&If(s,u,t),t=p,l=u;var S=t.updateQueue;if(S===null){var v=new Set;v.add(l),t.updateQueue=v}else S.add(l);break e}else{if(!(t&1)){If(s,u,t),Jc();break e}l=Error(j(426))}}else if(de&&a.mode&1){var w=Mf(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Of(w,i,a,s,t),Fc(yo(l,a));break e}}s=l=yo(l,a),Ce!==4&&(Ce=2),ts===null?ts=[s]:ts.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var y=Bm(s,l,t);Tf(s,y);break e;case 1:a=l;var d=s.type,h=s.stateNode;if(!(s.flags&128)&&(typeof d.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Dn===null||!Dn.has(h)))){s.flags|=65536,t&=-t,s.lanes|=t;var b=Um(s,a,t);Tf(s,b);break e}}s=s.return}while(s!==null)}ag(n)}catch(E){t=E,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function sg(){var e=ra.current;return ra.current=na,e===null?na:e}function Jc(){(Ce===0||Ce===3||Ce===2)&&(Ce=4),Ae===null||!(Sr&268435455)&&!(Ra&268435455)||En(Ae,Te)}function ia(e,t){var n=J;J|=2;var r=sg();(Ae!==e||Te!==t)&&(Xt=null,vr(e,t));do try{f1();break}catch(o){og(e,o)}while(!0);if(Mc(),J=n,ra.current=r,Se!==null)throw Error(j(261));return Ae=null,Te=0,Ce}function f1(){for(;Se!==null;)ig(Se)}function p1(){for(;Se!==null&&!L0();)ig(Se)}function ig(e){var t=ug(e.alternate,e,Ze);e.memoizedProps=e.pendingProps,t===null?ag(e):Se=t,Qc.current=null}function ag(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=i1(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ce=6,Se=null;return}}else if(n=s1(n,t,Ze),n!==null){Se=n;return}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Ce===0&&(Ce=5)}function ir(e,t,n){var r=te,o=ft.transition;try{ft.transition=null,te=1,h1(e,t,n,r)}finally{ft.transition=o,te=r}return null}function h1(e,t,n,r){do eo();while(Rn!==null);if(J&6)throw Error(j(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(j(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Q0(e,s),e===Ae&&(Se=Ae=null,Te=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ii||(ii=!0,cg(Bi,function(){return eo(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=ft.transition,ft.transition=null;var i=te;te=1;var a=J;J|=4,Qc.current=null,l1(e,n),tg(n,e),Ix(hu),Wi=!!pu,hu=pu=null,e.current=n,u1(n),$0(),J=a,te=i,ft.transition=s}else e.current=n;if(ii&&(ii=!1,Rn=e,sa=o),s=e.pendingLanes,s===0&&(Dn=null),U0(n.stateNode),Ye(e,be()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(oa)throw oa=!1,e=Iu,Iu=null,e;return sa&1&&e.tag!==0&&eo(),s=e.pendingLanes,s&1?e===Mu?ns++:(ns=0,Mu=e):ns=0,Yn(),null}function eo(){if(Rn!==null){var e=Bh(sa),t=ft.transition,n=te;try{if(ft.transition=null,te=16>e?16:e,Rn===null)var r=!1;else{if(e=Rn,Rn=null,sa=0,J&6)throw Error(j(331));var o=J;for(J|=4,L=e.current;L!==null;){var s=L,i=s.child;if(L.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(L=u;L!==null;){var c=L;switch(c.tag){case 0:case 11:case 15:es(8,c,s)}var f=c.child;if(f!==null)f.return=c,L=f;else for(;L!==null;){c=L;var m=c.sibling,p=c.return;if(Zm(c),c===u){L=null;break}if(m!==null){m.return=p,L=m;break}L=p}}}var S=s.alternate;if(S!==null){var v=S.child;if(v!==null){S.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}L=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,L=i;else e:for(;L!==null;){if(s=L,s.flags&2048)switch(s.tag){case 0:case 11:case 15:es(9,s,s.return)}var y=s.sibling;if(y!==null){y.return=s.return,L=y;break e}L=s.return}}var d=e.current;for(L=d;L!==null;){i=L;var h=i.child;if(i.subtreeFlags&2064&&h!==null)h.return=i,L=h;else e:for(i=d;L!==null;){if(a=L,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Na(9,a)}}catch(E){ye(a,a.return,E)}if(a===i){L=null;break e}var b=a.sibling;if(b!==null){b.return=a.return,L=b;break e}L=a.return}}if(J=o,Yn(),Wt&&typeof Wt.onPostCommitFiberRoot=="function")try{Wt.onPostCommitFiberRoot(ba,e)}catch{}r=!0}return r}finally{te=n,ft.transition=t}}return!1}function qf(e,t,n){t=yo(n,t),t=Bm(e,t,1),e=On(e,t,1),t=Be(),e!==null&&(Fs(e,1,t),Ye(e,t))}function ye(e,t,n){if(e.tag===3)qf(e,e,n);else for(;t!==null;){if(t.tag===3){qf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Dn===null||!Dn.has(r))){e=yo(n,e),e=Um(t,e,1),t=On(t,e,1),e=Be(),t!==null&&(Fs(t,1,e),Ye(t,e));break}}t=t.return}}function m1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Be(),e.pingedLanes|=e.suspendedLanes&n,Ae===e&&(Te&n)===n&&(Ce===4||Ce===3&&(Te&130023424)===Te&&500>be()-Yc?vr(e,0):qc|=n),Ye(e,t)}function lg(e,t){t===0&&(e.mode&1?(t=Ys,Ys<<=1,!(Ys&130023424)&&(Ys=4194304)):t=1);var n=Be();e=sn(e,t),e!==null&&(Fs(e,t,n),Ye(e,n))}function g1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),lg(e,n)}function v1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),lg(e,n)}var ug;ug=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qe.current)Ke=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ke=!1,o1(e,t,n);Ke=!!(e.flags&131072)}else Ke=!1,de&&t.flags&1048576&&pm(t,Yi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Pi(e,t),e=t.pendingProps;var o=ho(t,Me.current);Jr(t,n),o=Wc(null,t,r,e,o,n);var s=Hc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,qe(r)?(s=!0,Qi(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Lc(t),o.updater=Ta,t.stateNode=o,o._reactInternals=t,Eu(t,r,e,n),t=Au(null,t,r,!0,s,n)):(t.tag=0,de&&s&&_c(t),Le(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Pi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=x1(r),e=St(r,e),o){case 0:t=ku(null,t,r,e,n);break e;case 1:t=$f(null,t,r,e,n);break e;case 11:t=Df(null,t,r,e,n);break e;case 14:t=Lf(null,t,r,St(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:St(r,o),ku(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:St(r,o),$f(e,t,r,o,n);case 3:e:{if(Gm(t),e===null)throw Error(j(387));r=t.pendingProps,s=t.memoizedState,o=s.element,xm(e,t),Ji(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=yo(Error(j(423)),t),t=zf(e,t,r,n,o);break e}else if(r!==o){o=yo(Error(j(424)),t),t=zf(e,t,r,n,o);break e}else for(et=Mn(t.stateNode.containerInfo.firstChild),tt=t,de=!0,Pt=null,n=vm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mo(),r===o){t=an(e,t,n);break e}Le(e,t,r,n)}t=t.child}return t;case 5:return wm(t),e===null&&wu(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,mu(r,o)?i=null:s!==null&&mu(r,s)&&(t.flags|=32),Vm(e,t),Le(e,t,i,n),t.child;case 6:return e===null&&wu(t),null;case 13:return Km(e,t,n);case 4:return $c(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=go(t,null,r,n):Le(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:St(r,o),Df(e,t,r,o,n);case 7:return Le(e,t,t.pendingProps,n),t.child;case 8:return Le(e,t,t.pendingProps.children,n),t.child;case 12:return Le(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,oe(Xi,r._currentValue),r._currentValue=i,s!==null)if(_t(s.value,i)){if(s.children===o.children&&!Qe.current){t=an(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=nn(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),bu(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(j(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),bu(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Le(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Jr(t,n),o=pt(o),r=r(o),t.flags|=1,Le(e,t,r,n),t.child;case 14:return r=t.type,o=St(r,t.pendingProps),o=St(r.type,o),Lf(e,t,r,o,n);case 15:return Wm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:St(r,o),Pi(e,t),t.tag=1,qe(r)?(e=!0,Qi(t)):e=!1,Jr(t,n),zm(t,r,o),Eu(t,r,o,n),Au(null,t,r,!0,e,n);case 19:return Qm(e,t,n);case 22:return Hm(e,t,n)}throw Error(j(156,t.tag))};function cg(e,t){return Dh(e,t)}function y1(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 dt(e,t,n,r){return new y1(e,t,n,r)}function ed(e){return e=e.prototype,!(!e||!e.isReactComponent)}function x1(e){if(typeof e=="function")return ed(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xc)return 11;if(e===wc)return 14}return 2}function $n(e,t){var n=e.alternate;return n===null?(n=dt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deleti
vendor: 4,548 bytes, line 40
40ons=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ri(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")ed(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Lr:return yr(n.children,o,s,t);case yc:i=8,o|=8;break;case Kl:return e=dt(12,n,t,o|2),e.elementType=Kl,e.lanes=s,e;case Ql:return e=dt(13,n,t,o),e.elementType=Ql,e.lanes=s,e;case ql:return e=dt(19,n,t,o),e.elementType=ql,e.lanes=s,e;case wh:return _a(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yh:i=10;break e;case xh:i=9;break e;case xc:i=11;break e;case wc:i=14;break e;case wn:i=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=dt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function yr(e,t,n,r){return e=dt(7,e,r,t),e.lanes=n,e}function _a(e,t,n,r){return e=dt(22,e,r,t),e.elementType=wh,e.lanes=n,e.stateNode={isHidden:!1},e}function Tl(e,t,n){return e=dt(6,e,null,t),e.lanes=n,e}function Nl(e,t,n){return t=dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function w1(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ul(0),this.expirationTimes=ul(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ul(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function td(e,t,n,r,o,s,i,a,l){return e=new w1(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=dt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lc(s),e}function b1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Dr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function dg(e){if(!e)return Wn;e=e._reactInternals;e:{if(Pr(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(qe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(qe(n))return dm(e,n,t)}return t}function fg(e,t,n,r,o,s,i,a,l){return e=td(n,r,!0,e,o,s,i,a,l),e.context=dg(null),n=e.current,r=Be(),o=Ln(n),s=nn(r,o),s.callback=t??null,On(n,s,o),e.current.lanes=o,Fs(e,o,r),Ye(e,r),e}function ja(e,t,n,r){var o=t.current,s=Be(),i=Ln(o);return n=dg(n),t.context===null?t.context=n:t.pendingContext=n,t=nn(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=On(o,t,i),e!==null&&(Rt(e,o,i,s),Ci(e,o,i)),i}function aa(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 Yf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function nd(e,t){Yf(e,t),(e=e.alternate)&&Yf(e,t)}function S1(){return null}var pg=typeof reportError=="function"?reportError:function(e){console.error(e)};function rd(e){this._internalRoot=e}Fa.prototype.render=rd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));ja(e,t,null,null)};Fa.prototype.unmount=rd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Er(function(){ja(null,e,null,null)}),t[on]=null}};function Fa(e){this._internalRoot=e}Fa.prototype.unstable_scheduleHydration=function(e){if(e){var t=Hh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sn.length&&t!==0&&t<Sn[n].priority;n++);Sn.splice(n,0,e),n===0&&Gh(e)}};function od(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ia(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Xf(){}function E1(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=aa(i);s.call(u)}}var i=fg(t,r,e,0,null,!1,!1,"",Xf);return e._reactRootContainer=i,e[on]=i.current,fs(e.nodeType===8?e.parentNode:e),Er(),i}for(;
vendor: 5,148 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=aa(l);a.call(u)}}var l=td(e,0,!1,null,null,!1,!1,"",Xf);return e._reactRootContainer=l,e[on]=l.current,fs(e.nodeType===8?e.parentNode:e),Er(function(){ja(t,l,n,r)}),l}function Ma(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var a=o;o=function(){var l=aa(i);a.call(l)}}ja(t,i,e,o)}else i=E1(n,t,e,o,r);return aa(i)}Uh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Vo(t.pendingLanes);n!==0&&(Ec(t,n|1),Ye(t,be()),!(J&6)&&(xo=be()+500,Yn()))}break;case 13:Er(function(){var r=sn(e,1);if(r!==null){var o=Be();Rt(r,e,1,o)}}),nd(e,1)}};Cc=function(e){if(e.tag===13){var t=sn(e,134217728);if(t!==null){var n=Be();Rt(t,e,134217728,n)}nd(e,134217728)}};Wh=function(e){if(e.tag===13){var t=Ln(e),n=sn(e,t);if(n!==null){var r=Be();Rt(n,e,t,r)}nd(e,t)}};Hh=function(){return te};Vh=function(e,t){var n=te;try{return te=e,t()}finally{te=n}};su=function(e,t,n){switch(t){case"input":if(Zl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ka(r);if(!o)throw Error(j(90));Sh(r),Zl(r,o)}}}break;case"textarea":Ch(e,n);break;case"select":t=n.value,t!=null&&qr(e,!!n.multiple,t,!1)}};_h=Xc;jh=Er;var C1={usingClientEntryPoint:!1,Events:[Ms,Ur,ka,Nh,Rh,Xc]},zo={findFiberByHostInstance:lr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},k1={bundleType:zo.bundleType,version:zo.version,rendererPackageName:zo.rendererPackageName,rendererConfig:zo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:cn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Mh(e),e===null?null:e.stateNode},findFiberByHostInstance:zo.findFiberByHostInstance||S1,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 ai=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ai.isDisabled&&ai.supportsFiber)try{ba=ai.inject(k1),Wt=ai}catch{}}ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=C1;ot.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!od(t))throw Error(j(200));return b1(e,t,null,n)};ot.createRoot=function(e,t){if(!od(e))throw Error(j(299));var n=!1,r="",o=pg;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=td(e,1,!1,null,null,n,!1,r,o),e[on]=t.current,fs(e.nodeType===8?e.parentNode:e),new rd(t)};ot.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(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=Mh(t),e=e===null?null:e.stateNode,e};ot.flushSync=function(e){return Er(e)};ot.hydrate=function(e,t,n){if(!Ia(t))throw Error(j(200));return Ma(null,e,t,!0,n)};ot.hydrateRoot=function(e,t,n){if(!od(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=pg;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=fg(t,null,e,1,n??null,o,!1,s,i),e[on]=t.current,fs(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Fa(t)};ot.render=function(e,t,n){if(!Ia(t))throw Error(j(200));return Ma(null,e,t,!1,n)};ot.unmountComponentAtNode=function(e){if(!Ia(e))throw Error(j(40));return e._reactRootContainer?(Er(function(){Ma(null,null,e,!1,function(){e._reactRootContainer=null,e[on]=null})}),!0):!1};ot.unstable_batchedUpdates=Xc;ot.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ia(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Ma(e,t,n,!1,r)};ot.version="18.3.1-next-f1338f8080-20240426";function hg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hg)}catch(e){console.error(e)}}hg(),hh.exports=ot;var Ds=hh.exports;const mg=uc(Ds);var gg,Zf=Ds;gg=Zf.createRoot,Zf.hydrateRoot;const A1=1,P1=1e6;let Rl=0;function T1(){return Rl=(Rl+1)%Number.MAX_SAFE_INTEGER,Rl.toString()}const _l=new Map,Jf=e=>{if(_l.has(e))return;const t=setTimeout(()=>{_l.delete(e),rs({type:"REMOVE_TOAST",toastId:e})},P1);_l.set(e,t)},N1=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,A1)};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;
vendor: 12,569 bytes, line 40
40return n?Jf(n):e.toasts.forEach(r=>{Jf(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)}}},_i=[];let ji={toasts:[]};function rs(e){ji=N1(ji,e),_i.forEach(t=>{t(ji)})}function R1({...e}){const t=T1(),n=o=>rs({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>rs({type:"DISMISS_TOAST",toastId:t});return rs({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function _1(){const[e,t]=x.useState(ji);return x.useEffect(()=>(_i.push(t),()=>{const n=_i.indexOf(t);n>-1&&_i.splice(n,1)}),[e]),{...e,toast:R1,dismiss:n=>rs({type:"DISMISS_TOAST",toastId:n})}}function le(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function ep(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function vg(...e){return t=>{let n=!1;const r=e.map(o=>{const s=ep(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():ep(e[o],null)}}}}function Oe(...e){return x.useCallback(vg(...e),e)}function j1(e,t){const n=x.createContext(t),r=s=>{const{children:i,...a}=s,l=x.useMemo(()=>a,Object.values(a));return g.jsx(n.Provider,{value:l,children:i})};r.displayName=e+"Provider";function o(s){const i=x.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,o]}function Ao(e,t=[]){let n=[];function r(s,i){const a=x.createContext(i),l=n.length;n=[...n,i];const u=f=>{var y;const{scope:m,children:p,...S}=f,v=((y=m==null?void 0:m[e])==null?void 0:y[l])||a,w=x.useMemo(()=>S,Object.values(S));return g.jsx(v.Provider,{value:w,children:p})};u.displayName=s+"Provider";function c(f,m){var v;const p=((v=m==null?void 0:m[e])==null?void 0:v[l])||a,S=x.useContext(p);if(S)return S;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,c]}const o=()=>{const s=n.map(i=>x.createContext(i));return function(a){const l=(a==null?void 0:a[e])||s;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,F1(o,...t)]}function F1(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(s)[`__scope${u}`];return{...a,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function bs(e){const t=M1(e),n=x.forwardRef((r,o)=>{const{children:s,...i}=r,a=x.Children.toArray(s),l=a.find(D1);if(l){const u=l.props.children,c=a.map(f=>f===l?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:f);return g.jsx(t,{...i,ref:o,children:x.isValidElement(u)?x.cloneElement(u,void 0,c):null})}return g.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var I1=bs("Slot");function M1(e){const t=x.forwardRef((n,r)=>{const{children:o,...s}=n;if(x.isValidElement(o)){const i=$1(o),a=L1(s,o.props);return o.type!==x.Fragment&&(a.ref=r?vg(r,i):i),x.cloneElement(o,a)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var yg=Symbol("radix.slottable");function O1(e){const t=({children:n})=>g.jsx(g.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=yg,t}function D1(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===yg}function L1(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function $1(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function z1(e){const t=e+"CollectionProvider",[n,r]=Ao(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:w,children:y}=v,d=F.useRef(null),h=F.useRef(new Map).current;return g.jsx(o,{scope:w,itemMap:h,collectionRef:d,children:y})};i.displayName=t;const a=e+"CollectionSlot",l=bs(a),u=F.forwardRef((v,w)=>{const{scope:y,children:d}=v,h=s(a,y),b=Oe(w,h.collectionRef);return g.jsx(l,{ref:b,children:d})});u.displayName=a;const c=e+"CollectionItemSlot",f="data-radix-collection-item",m=bs(c),p=F.forwardRef((v,w)=>{const{scope:y,children:d,...h}=v,b=F.useRef(null),E=Oe(w,b),C=s(c,y);return F.useEffect(()=>(C.itemMap.set(b,{ref:b,...h}),()=>void C.itemMap.delete(b))),g.jsx(m,{[f]:"",ref:E,children:d})});p.displayName=c;function S(v){const w=s(e+"CollectionConsumer",v);return F.useCallback(()=>{const d=w.collectionRef.current;if(!d)return[];const h=Array.from(d.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((C,k)=>h.indexOf(C.ref.current)-h.indexOf(k.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},S,r]}var B1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],me=B1.reduce((e,t)=>{const n=bs(`Primitive.${t}`),r=x.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function xg(e,t){e&&Ds.flushSync(()=>e.dispatchEvent(t))}function Vt(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function U1(e,t=globalThis==null?void 0:globalThis.document){const n=Vt(e);x.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var W1="DismissableLayer",Lu="dismissableLayer.update",H1="dismissableLayer.pointerDownOutside",V1="dismissableLayer.focusOutside",tp,wg=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Oa=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,u=x.useContext(wg),[c,f]=x.useState(null),m=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=x.useState({}),S=Oe(t,k=>f(k)),v=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(w),d=c?v.indexOf(c):-1,h=u.layersWithOutsidePointerEventsDisabled.size>0,b=d>=y,E=K1(k=>{const A=k.target,P=[...u.branches].some(N=>N.contains(A));!b||P||(o==null||o(k),i==null||i(k),k.defaultPrevented||a==null||a())},m),C=Q1(k=>{const A=k.target;[...u.branches].some(N=>N.contains(A))||(s==null||s(k),i==null||i(k),k.defaultPrevented||a==null||a())},m);return U1(k=>{d===u.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&a&&(k.preventDefault(),a()))},m),x.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(tp=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),np(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=tp)}},[c,m,n,u]),x.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),np())},[c,u]),x.useEffect(()=>{const k=()=>p({});return document.addEventListener(Lu,k),()=>document.removeEventListener(Lu,k)},[]),g.jsx(me.div,{...l,ref:S,style:{pointerEvents:h?b?"auto":"none":void 0,...e.style},onFocusCapture:le(e.onFocusCapture,C.onFocusCapture),onBlurCapture:le(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:le(e.onPointerDownCapture,E.onPointerDownCapture)})});Oa.displayName=W1;var G1="DismissableLayerBranch",bg=x.forwardRef((e,t)=>{const n=x.useContext(wg),r=x.useRef(null),o=Oe(t,r);return x.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),g.jsx(me.div,{...e,ref:o})});bg.displayName=G1;function K1(e,t=globalThis==null?void 0:globalThis.document){const n=Vt(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){Sg(H1,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Q1(e,t=globalThis==null?void 0:globalThis.document){const n=Vt(e),r=x.useRef(!1);return x.useEffect(()=>{const o=s=>{s.target&&!r.current&&Sg(V1,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function np(){const e=new CustomEvent(Lu);document.dispatchEvent(e)}function Sg(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?xg(o,s):o.dispatchEvent(s)}var q1=Oa,Y1=bg,Gt=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},X1="Portal",sd=x.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,s]=x.useState(!1);Gt(()=>s(!0),[]);const i=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?mg.createPortal(g.jsx(me.div,{...r,ref:t}),i):null});sd.displayName=X1;function Z1(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var Tr=e=>{const{present:t,children:n}=e,r=J1(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),s=Oe(r.ref,ew(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:s}):null};Tr.displayName="Presence";function J1(e){const[t,n]=x.useState(),r=x.useRef(null),o=x.useRef(e),s=x.useRef("none"),i=e?"mounted":"unmounted",[a,l]=Z1(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=li(r.current);s.current=a==="mounted"?u:"none"},[a]),Gt(()=>{const u=r.current,c=o.current;if(c!==e){const m=s.current,p=li(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&m!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Gt(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,f=p=>{const v=li(r.current).includes(p.animationName);if(p.target===t&&v&&(l("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},m=p=>{p.target===t&&(s.current=li(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function li(e){return(e==null?void 0:e.animationName)||"none"}function ew(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var tw=hc[" useInsertionEffect ".trim().toString()]||Gt;function id({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=nw({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const c=x.useRef(e!==void 0);x.useEffect(()=>{const f=c.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.`),c.current=a},[a,r])}const u=x.useCallback(c=>{var f;if(a){const m=rw(c)?c(e):c;m!==e&&((f=i.current)==null||f.call(i,m))}else s(c)}
40,[a,e,s,i]);return[l,u]}function nw({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),o=x.useRef(n),s=x.useRef(t);return tw(()=>{s.current=t},[t]),x.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function rw(e){return typeof e=="function"}var ow=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"}),sw="VisuallyHidden",Da=x.forwardRef((e,t)=>g.jsx(me.span,{...e,ref:t,style:{...ow,...e.style}}));Da.displayName=sw;var iw=Da,ad="ToastProvider",[ld,aw,lw]=z1("Toast"),[Eg,W2]=Ao("Toast",[lw]),[uw,La]=Eg(ad),Cg=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[a,l]=x.useState(null),[u,c]=x.useState(0),f=x.useRef(!1),m=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${ad}\`. Expected non-empty \`string\`.`),g.jsx(ld.Provider,{scope:t,children:g.jsx(uw,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:x.useCallback(()=>c(p=>p+1),[]),onToastRemove:x.useCallback(()=>c(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:m,children:i})})};Cg.displayName=ad;var kg="ToastViewport",cw=["F8"],$u="toast.viewportPause",zu="toast.viewportResume",Ag=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=cw,label:o="Notifications ({hotkey})",...s}=e,i=La(kg,n),a=aw(n),l=x.useRef(null),u=x.useRef(null),c=x.useRef(null),f=x.useRef(null),m=Oe(t,f,i.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),S=i.toastCount>0;x.useEffect(()=>{const w=y=>{var h;r.length!==0&&r.every(b=>y[b]||y.code===b)&&((h=f.current)==null||h.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),x.useEffect(()=>{const w=l.current,y=f.current;if(S&&w&&y){const d=()=>{if(!i.isClosePausedRef.current){const C=new CustomEvent($u);y.dispatchEvent(C),i.isClosePausedRef.current=!0}},h=()=>{if(i.isClosePausedRef.current){const C=new CustomEvent(zu);y.dispatchEvent(C),i.isClosePausedRef.current=!1}},b=C=>{!w.contains(C.relatedTarget)&&h()},E=()=>{w.contains(document.activeElement)||h()};return w.addEventListener("focusin",d),w.addEventListener("focusout",b),w.addEventListener("pointermove",d),w.addEventListener("pointerleave",E),window.addEventListener("blur",d),window.addEventListener("focus",h),()=>{w.removeEventListener("focusin",d),w.removeEventListener("focusout",b),w.removeEventListener("pointermove",d),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",d),window.removeEventListener("focus",h)}}},[S,i.isClosePausedRef]);const v=x.useCallback(({tabbingDirection:w})=>{const d=a().map(h=>{const b=h.ref.current,E=[b,...Ew(b)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?d.reverse():d).flat()},[a]);return x.useEffect(()=>{const w=f.current;if(w){const y=d=>{var E,C,k;const h=d.altKey||d.ctrlKey||d.metaKey;if(d.key==="Tab"&&!h){const A=document.activeElement,P=d.shiftKey;if(d.target===w&&P){(E=u.current)==null||E.focus();return}const I=v({tabbingDirection:P?"backwards":"forwards"}),U=I.findIndex(M=>M===A);jl(I.slice(U+1))?d.preventDefault():P?(C=u.current)==null||C.focus():(k=c.current)==null||k.focus()}};return w.addEventListener("keydown",y),()=>w.removeEventListener("keydown",y)}},[a,v]),g.jsxs(Y1,{ref:l,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:S?void 0:"none"},children:[S&&g.jsx(Bu,{ref:u,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});jl(w)}}),g.jsx(ld.Slot,{scope:n,children:g.jsx(me.ol,{tabIndex:-1,...s,ref:m})}),S&&g.jsx(Bu,{ref:c,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});jl(w)}})]})});Ag.displayName=kg;var Pg="ToastFocusProxy",Bu=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=La(Pg,n);return g.jsx(Da,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const a=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});Bu.displayName=Pg;var Ls="Toast",dw="toast.swipeStart",fw="toast.swipeMove",pw="toast.swipeCancel",hw="toast.swipeEnd",Tg=x.forwardRef((e,t)=>
40{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[a,l]=id({prop:r,defaultProp:o??!0,onChange:s,caller:Ls});return g.jsx(Tr,{present:n||a,children:g.jsx(vw,{open:a,...i,ref:t,onClose:()=>l(!1),onPause:Vt(e.onPause),onResume:Vt(e.onResume),onSwipeStart:le(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:le(e.onSwipeMove,u=>{const{x:c,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:le(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:le(e.onSwipeEnd,u=>{const{x:c,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",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});Tg.displayName=Ls;var[mw,gw]=Eg(Ls,{onClose(){}}),vw=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:f,onSwipeCancel:m,onSwipeEnd:p,...S}=e,v=La(Ls,n),[w,y]=x.useState(null),d=Oe(t,M=>y(M)),h=x.useRef(null),b=x.useRef(null),E=o||v.duration,C=x.useRef(0),k=x.useRef(E),A=x.useRef(0),{onToastAdd:P,onToastRemove:N}=v,D=Vt(()=>{var B;(w==null?void 0:w.contains(document.activeElement))&&((B=v.viewport)==null||B.focus()),i()}),I=x.useCallback(M=>{!M||M===1/0||(window.clearTimeout(A.current),C.current=new Date().getTime(),A.current=window.setTimeout(D,M))},[D]);x.useEffect(()=>{const M=v.viewport;if(M){const B=()=>{I(k.current),u==null||u()},z=()=>{const H=new Date().getTime()-C.current;k.current=k.current-H,window.clearTimeout(A.current),l==null||l()};return M.addEventListener($u,z),M.addEventListener(zu,B),()=>{M.removeEventListener($u,z),M.removeEventListener(zu,B)}}},[v.viewport,E,l,u,I]),x.useEffect(()=>{s&&!v.isClosePausedRef.current&&I(E)},[s,E,v.isClosePausedRef,I]),x.useEffect(()=>(P(),()=>N()),[P,N]);const U=x.useMemo(()=>w?Mg(w):null,[w]);return v.viewport?g.jsxs(g.Fragment,{children:[U&&g.jsx(yw,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),g.jsx(mw,{scope:n,onClose:D,children:Ds.createPortal(g.jsx(ld.ItemSlot,{scope:n,children:g.jsx(q1,{asChild:!0,onEscapeKeyDown:le(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||D(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:g.jsx(me.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":v.swipeDirection,...S,ref:d,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:le(e.onKeyDown,M=>{M.key==="Escape"&&(a==null||a(M.nativeEvent),M.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:le(e.onPointerDown,M=>{M.button===0&&(h.current={x:M.clientX,y:M.clientY})}),onPointerMove:le(e.onPointerMove,M=>{if(!h.current)return;const B=M.clientX-h.current.x,z=M.clientY-h.current.y,H=!!b.current,T=["left","right"].includes(v.swipeDirection),_=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,O=T?_(0,B):0,V=T?0:_(0,z),$=M.pointerType==="touch"?10:2,Y={x:O,y:V},G={originalEvent:M,delta:Y};H?(b.current=Y,ui(fw,f,G,{discrete:!1})):rp(Y,v.swipeDirection,$)?(b.current=Y,ui(dw,c,G,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(B)>$||Math.abs(z)>$)&&(h.current=null)}),onPointerUp:le(e.onPointerUp,M=>{const B=b.current,z=M.target;if(z.hasPointerCapture(M.pointerId)&&z.releasePointerCapture(M.pointerId),b.current=null,h.current=null,B){const H=M.currentTarget,T={originalEvent:M,delta:B};rp(B,v.swipeDirection,v.swipeThreshold)?ui(hw,p,T,{discrete:!0}):ui(pw,m,T,{discrete:!0}),H.addEventListener("click",_=>_.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),yw=e=>{const{__scopeToast:t,children:n,...r}=e,o=La(Ls,t),[s,i]=x.useState(!1),[a,l]=x.useState(!1);return bw(()=>i(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:g.jsx(sd,{asChild:!0,children:g.jsx(Da,{...r,children:s&&g.jsxs(g.Fragment,{children:[o.label," ",n]})})})},xw="ToastTitle",Ng=x.forwardRef((e,t)=>
vendor: 4,742 bytes, lines 40-60
40{const{__scopeToast:n,...r}=e;return g.jsx(me.div,{...r,ref:t})});Ng.displayName=xw;var ww="ToastDescription",Rg=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return g.jsx(me.div,{...r,ref:t})});Rg.displayName=ww;var _g="ToastAction",jg=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?g.jsx(Ig,{altText:n,asChild:!0,children:g.jsx(ud,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${_g}\`. Expected non-empty \`string\`.`),null)});jg.displayName=_g;var Fg="ToastClose",ud=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=gw(Fg,n);return g.jsx(Ig,{asChild:!0,children:g.jsx(me.button,{type:"button",...r,ref:t,onClick:le(e.onClick,o.onClose)})})});ud.displayName=Fg;var Ig=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return g.jsx(me.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Mg(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Sw(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Mg(r))}}),t}function ui(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?xg(o,s):o.dispatchEvent(s)}var rp=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function bw(e=()=>{}){const t=Vt(e);Gt(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Sw(e){return e.nodeType===e.ELEMENT_NODE}function Ew(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function jl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var Cw=Cg,Og=Ag,Dg=Tg,Lg=Ng,$g=Rg,zg=jg,Bg=ud;function Ug(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ug(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Wg(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ug(e))&&(r&&(r+=" "),r+=t);return r}const op=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,sp=Wg,Hg=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return sp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],f=s==null?void 0:s[u];if(c===null)return null;const m=op(c)||op(f);return o[u][m]}),a=n&&Object.entries(n).reduce((u,c)=>{let[f,m]=c;return m===void 0||(u[f]=m),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:f,className:m,...p}=c;return Object.entries(p).every(S=>{let[v,w]=S;return Array.isArray(w)?w.includes({...s,...a}[v]):{...s,...a}[v]===w})?[...u,f,m]:u},[]);return sp(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const kw=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Vg=(...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 Aw={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 Pw=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},l)=>x.createElement("svg",{ref:l,...Aw,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Vg("lucide",o),...a},[...i.map(([u,c])=>x.createElement(u,c)),...Array.isArray(s)?s:[s]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const ge=(e,t)=>
60{const n=x.forwardRef(({className:r,...o},s)=>x.createElement(Pw,{ref:s,iconNode:t,className:Vg(`lucide-${kw(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const Tw=ge("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
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 cd=ge("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
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 Nw=ge("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
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 Gg=ge("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
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 Rw=ge("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
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 ip=ge("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
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 _w=ge("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
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 jw=ge("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
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 Fw=ge("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/**
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 Iw=ge("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
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 Mw=ge("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
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 Ow=ge("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
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 Dw=ge("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
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 Lw=ge("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"}]]);/**
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 Kg=ge("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
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 dd=ge("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
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 $w=ge("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/**
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 zw=ge("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"}]]);/**
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.
vendor: 9,125 bytes, lines 155-175
155 */const Bw=ge("ThumbsDown",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]]);/**
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 Uw=ge("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);/**
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 Ww=ge("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
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 fd=ge("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
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 Hw=ge("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"}]]),pd="-",Vw=e=>{const t=Kw(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(pd);return a[0]===""&&a.length!==1&&a.shift(),Qg(a,t)||Gw(i)},getConflictingClassGroupIds:(i,a)=>{const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}}},Qg=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Qg(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(pd);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},ap=/^\[(.+)\]$/,Gw=e=>{if(ap.test(e)){const t=ap.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Kw=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return qw(Object.entries(e.classGroups),n).forEach(([s,i])=>{Uu(i,r,s,t)}),r},Uu=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:lp(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Qw(o)){Uu(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{Uu(i,lp(t,s),n,r)})})},lp=(e,t)=>{let n=e;return t.split(pd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Qw=e=>e.isThemeGetter,qw=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[n,o]}):e,Yw=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},qg="!",Xw=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=a=>{const l=[];let u=0,c=0,f;for(let w=0;w<a.length;w++){let y=a[w];if(u===0){if(y===o&&(r||a.slice(w,w+s)===t)){l.push(a.slice(c,w)),c=w+s;continue}if(y==="/"){f=w;continue}}y==="["?u++:y==="]"&&u--}const m=l.length===0?a:a.substring(c),p=m.startsWith(qg),S=p?m.substring(1):m,v=f&&f>c?f-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:S,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:i}):i},Zw=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},Jw=e=>({cache:Yw(e.cacheSize),parseClassName:Xw(e),...Vw(e)}),eb=/\s+/,tb=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(eb);let a="";for(let l=i.length-1;l>=0;l-=1){const u=i[l],{modifiers:c,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:p}=n(u);let S=!!p,v=r(S?m.substring(0,p):m);if(!v){if(!S){a=u+(a.length>0?" "+a:a);continue}if(v=r(m),!v){a=u+(a.length>0?" "+a:a);continue}S=!1}const w=Zw(c).join(":"),y=f?w+qg:w,d=y+v;if(s.includes(d))continue;s.push(d);const h=o(v,S);for(let b=0;b<h.length;++b){const E=h[b];s.push(y+E)}a=u+(a.length>0?" "+a:a)}return a};function nb(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Yg(t))&&(r&&(r+=" "),r+=n);return r}const Yg=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Yg(e[r]))&&(n&&(n+=" "),n+=t);return n};function rb(e,...t){let n,r,o,s=i;function i(l){const u=t.reduce((c,f)=>f(c),e());return n=Jw(u),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=tb(l,n);return o(l,c),c}return function(){return s(nb.apply(null,arguments))}}const ie=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Xg=/^\[(?:([a-z-]+):)?(.+)\]$/i,ob=/^\d+\/\d+$/,sb=new Set(["px","full","screen"]),ib=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ab=/\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$/,lb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ub=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cb=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qt=e=>to(e)||sb.has(e)||ob.test(e),gn=e=>Po(e,"length",yb),to=e=>!!e&&!Number.isNaN(Number(e)),Fl=e=>Po(e,"number",to),Bo=e=>!!e&&Number.isInteger(Number(e)),db=e=>e.endsWith("%")&&to(e.slice(0,-1)),q=e=>Xg.test(e),vn=e=>ib.test(e),fb=new Set(["length","size","percentage"]),pb=e=>Po(e,fb,Zg),hb=e=>Po(e,"position",Zg),mb=new Set(["image","url"]),gb=e=>Po(e,mb,wb),vb=e=>Po(e,"",xb),Uo=()=>!0,Po=(e,t,n)=>{const r=Xg.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},yb=e=>ab.test(e)&&!lb.test(e),Zg=()=>!1,xb=e=>ub.test(e),wb=e=>cb.test(e),bb=()=>{const e=ie("colors"),t=ie("spacing"),n=ie("blur"),r=ie("brightness"),o=ie("borderColor"),s=ie("borderRadius"),i=ie("borderSpacing"),a=ie("borderWidth"),l=ie("contrast"),u=ie("grayscale"),c=ie("hueRotate"),f=ie("invert"),m=ie("gap"),p=ie("gradientColorStops"),S=ie("gradientColorStopPositions"),v=ie("inset"),w=ie("margin"),y=ie("opacity"),d=ie("padding"),h=ie("saturate"),b=ie("scale"),E=ie("sepia"),C=ie("skew"),k=ie("space"),A=ie("translate"),P=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",q,t],I=()=>[q,t],U=()=>["",qt,gn],M=()=>["auto",to,q],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",q],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>[to,q];return{cacheSize:500,separator:":",theme:{colors:[Uo],spacing:[qt,gn],blur:["none","",vn,q],brightness:V(),borderColor:[e],borderRadius:["none","","full",vn,q],borderSpacing:I(),borderWidth:U(),contrast:V(),grayscale:_(),hueRotate:V(),invert:_(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[db,gn],inset:D(),margin:D(),opacity:V(),padding:I(),saturate:V(),scale:V(),sepia:_(),skew:V(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",q]}],container:["container"],columns:[{columns:[vn]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"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:[...B(),q]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}
vendor: 4,744 bytes, line 175
175],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Bo,q]}],basis:[{basis:D()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",q]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",Bo,q]}],"grid-cols":[{"grid-cols":[Uo]}],"col-start-end":[{col:["auto",{span:["full",Bo,q]},q]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[Uo]}],"row-start-end":[{row:["auto",{span:[Bo,q]},q]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",q]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[d]}],px:[{px:[d]}],py:[{py:[d]}],ps:[{ps:[d]}],pe:[{pe:[d]}],pt:[{pt:[d]}],pr:[{pr:[d]}],pb:[{pb:[d]}],pl:[{pl:[d]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",q,t]}],"min-w":[{"min-w":[q,t,"min","max","fit"]}],"max-w":[{"max-w":[q,t,"none","full","min","max","fit","prose",{screen:[vn]},vn]}],h:[{h:[q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",vn,gn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fl]}],"font-family":[{font:[Uo]}],"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",q]}],"line-clamp":[{"line-clamp":["none",to,Fl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",qt,q]}],"list-image":[{"list-image":["none",q]}],"list-style-type":[{list:["none","disc","decimal",q]}],"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:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",qt,gn]}],"underline-offset":[{"underline-offset":["auto",qt,q]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q]}],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",q]}],"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:[...B(),hb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},gb]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}
175],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,458 bytes, line 175
175],"divide-style":[{divide:z()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[qt,q]}],"outline-w":[{outline:[qt,gn]}],"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":[qt,gn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",vn,vb]}],"shadow-color":[{shadow:[Uo]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",vn,q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[h]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[h]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"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",q]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",q]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[Bo,q]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",q]}],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",q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[qt,gn,Fl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
175none"]}]},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"]}}},Sb=rb(bb);function se(...e){return Sb(Wg(e))}const Eb=Cw,Jg=x.forwardRef(({className:e,...t},n)=>g.jsx(Og,{ref:n,className:se("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}));Jg.displayName=Og.displayName;const Cb=Hg("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"}}),ev=x.forwardRef(({className:e,variant:t,...n},r)=>g.jsx(Dg,{ref:r,className:se(Cb({variant:t}),e),...n}));ev.displayName=Dg.displayName;const kb=x.forwardRef(({className:e,...t},n)=>g.jsx(zg,{ref:n,className:se("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));kb.displayName=zg.displayName;const tv=x.forwardRef(({className:e,...t},n)=>g.jsx(Bg,{ref:n,className:se("absolute right-2 top-2 rounded-md p-1 text-foreground
175/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:g.jsx(fd,{className:"h-4 w-4"})}));tv.displayName=Bg.displayName;const nv=x.forwardRef(({className:e,...t},n)=>g.jsx(Lg,{ref:n,className:se("text-sm font-semibold",e),...t}));nv.displayName=Lg.displayName;const rv=x.forwardRef(({className:e,...t},n)=>g.jsx($g,{ref:n,className:se("text-sm opacity-90",e),...t}));rv.displayName=$g.displayName;function Ab(){const{toasts:e}=_1();return g.jsxs(Eb,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return g.jsxs(ev,{...s,children:[g.jsxs("div",{className:"grid gap-1",children:[n&&g.jsx(nv,{children:n}),r&&g.jsx(rv,{children:r})]}),o,g.jsx(tv,{})]},t)}),g.jsx(Jg,{})]})}var up=["light","dark"],Pb="(prefers-color-scheme: dark)",Tb=x.createContext(void 0),Nb={setTheme:e=>{},themes:[]},Rb=()=>{var e;return(e=x.useContext(Tb))!=null?e:Nb};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:a,nonce:l})=>{let u=s==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(S=>`'${S}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?up.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(S,v=!1,w=!0)=>{let y=i?i[S]:S,d=v?S+"|| ''":`'${y}'`,h="";return o&&w&&!v&&up.includes(S)&&(h+=`d.style.colorScheme = '${S}';`),n==="class"?v||y?h+=`c.add(${d})`:h+="null":y&&(h+=`d[s](n,${d})`),h},p=e?`!function(){${c}${m(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${Pb}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${m(i?"x[e]":"e",!0)}}${u?"":"else{"+m(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${m(i?"x[e]":"e",!0)}}else{${m(s,!1,!1)};}${f}}catch(t){}}();`;return x.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var _b=e=>{switch(e){case"success":return Ib;case"info":return Ob;case"warning":return Mb;case"error":return Db;default:return null}},jb=Array(12).fill(0),Fb=({visible:e,className:t})=>F.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},F.createElement("div",{className:"sonner-spinner"},jb.map((n,r)=>F.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),Ib=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.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"})),Mb=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},F.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"})),Ob=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.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"})),Db=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.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"})),Lb=F.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"},F.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),F.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),$b=()=>{let[e,t]=F.useState(document.hidden);return F.useEffect(()=>{let n=()=>{t(document.hidden)};
175return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Wu=1,zb=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Wu++,s=this.toasts.find(a=>a.id===o),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:i,title:n}):a):this.addToast({title:n,...r,dismissible:i,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
175this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,s,i=r.then(async l=>{if(s=["resolve",l],F.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(Ub(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(s=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>i.then(()=>s[0]==="reject"?u(s[1]):l(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Wu++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},He=new zb,Bb=(e,t)=>{let n=(t==null?void 0:t.id)||Wu++;return He.addToast({title:e,...t,id:n}),n},Ub=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Wb=Bb,Hb=()=>He.toasts,Vb=()=>He.getActiveToasts();Object.assign(Wb,{success:He.success,info:He.info,warning:He.warning,error:He.error,custom:He.custom,message:He.message,promise:He.promise,dismiss:He.dismiss,loading:He.loading},{getHistory:Hb,getToasts:Vb});function Gb(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))}Gb(`: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;
175left: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}
175: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%);
175--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%)}
176`);function ci(e){return e.label!==void 0}var Kb=3,Qb="32px",qb="16px",cp=4e3,Yb=356,Xb=14,Zb=20,Jb=200;function bt(...e){return e.filter(Boolean).join(" ")}function eS(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var tS=e=>{var t,n,r,o,s,i,a,l,u,c,f;let{invert:m,toast:p,unstyled:S,interacting:v,setHeights:w,visibleToasts:y,heights:d,index:h,toasts:b,expanded:E,removeToast:C,defaultRichColors:k,closeButton:A,style:P,cancelButtonStyle:N,actionButtonStyle:D,className:I="",descriptionClassName:U="",duration:M,position:B,gap:z,loadingIcon:H,expandByDefault:T,classNames:_,icons:O,closeButtonAriaLabel:V="Close toast",pauseWhenPageIsHidden:$}=e,[Y,G]=F.useState(null),[re,we]=F.useState(null),[Z,Mt]=F.useState(!1),[mt,gt]=F.useState(!1),[Xe,dn]=F.useState(!1),[it,Bs]=F.useState(!1),[Ja,Us]=F.useState(!1),[el,_o]=F.useState(0),[Nr,Md]=F.useState(0),jo=F.useRef(p.duration||M||cp),Od=F.useRef(null),rr=F.useRef(null),Vy=h===0,Gy=h+1<=y,at=p.type,Rr=p.dismissible!==!1,Ky=p.className||"",Qy=p.descriptionClassName||"",Ws=
176F.useMemo(()=>d.findIndex(K=>K.toastId===p.id)||0,[d,p.id]),qy=F.useMemo(()=>{var K;return(K=p.closeButton)!=null?K:A},[p.closeButton,A]),Dd=F.useMemo(()=>p.duration||M||cp,[p.duration,M]),tl=F.useRef(0),_r=F.useRef(0),Ld=F.useRef(0),jr=F.useRef(null),[Yy,Xy]=B.split("-"),$d=F.useMemo(()=>d.reduce((K,ne,ce)=>ce>=Ws?K:K+ne.height,0),[d,Ws]),zd=$b(),Zy=p.invert||m,nl=at==="loading";_r.current=F.useMemo(()=>Ws*z+$d,[Ws,$d]),F.useEffect(()=>{jo.current=Dd},[Dd]),F.useEffect(()=>{Mt(!0)},[]),F.useEffect(()=>{let K=rr.current;if(K){let ne=K.getBoundingClientRect().height;return Md(ne),w(ce=>[{toastId:p.id,height:ne,position:p.position},...ce]),()=>w(ce=>ce.filter(vt=>vt.toastId!==p.id))}},[w,p.id]),F.useLayoutEffect(()=>{if(!Z)return;let K=rr.current,ne=K.style.height;K.style.height="auto";let ce=K.getBoundingClientRect().height;K.style.height=ne,Md(ce),w(vt=>vt.find(yt=>yt.toastId===p.id)?vt.map(yt=>yt.toastId===p.id?{...yt,height:ce}:yt):[{toastId:p.id,height:ce,position:p.position},...vt])},[Z,p.title,p.description,w,p.id]);let fn=F.useCallback(()=>{gt(!0),_o(_r.current),w(K=>K.filter(ne=>ne.toastId!==p.id)),setTimeout(()=>{C(p)},Jb)},[p,C,w,_r]);F.useEffect(()=>{if(p.promise&&at==="loading"||p.duration===1/0||p.type==="loading")return;let K;return E||v||$&&zd?(()=>{if(Ld.current<tl.current){let ne=new Date().getTime()-tl.current;jo.current=jo.current-ne}Ld.current=new Date().getTime()})():jo.current!==1/0&&(tl.current=new Date().getTime(),K=setTimeout(()=>{var ne;(ne=p.onAutoClose)==null||ne.call(p,p),fn()},jo.current)),()=>clearTimeout(K)},[E,v,p,at,$,zd,fn]),F.useEffect(()=>{p.delete&&fn()},[fn,p.delete]);function Jy(){var K,ne,ce;return O!=null&&O.loading?F.createElement("div",{className:bt(_==null?void 0:_.loader,(K=p==null?void 0:p.classNames)==null?void 0:K.loader,"sonner-loader"),"data-visible":at==="loading"},O.loading):H?F.createElement("div",{className:bt(_==null?void 0:_.loader,(ne=p==null?void 0:p.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":at==="loading"},H):F.createElement(Fb,{className:bt(_==null?void 0:_.loader,(ce=p==null?void 0:p.classNames)==null?void 0:ce.loader),visible:at==="loading"})}return F.createElement("li",{tabIndex:0,ref:rr,className:bt(I,Ky,_==null?void 0:_.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,_==null?void 0:_.default,_==null?void 0:_[at],(n=p==null?void 0:p.classNames)==null?void 0:n[at]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:k,"data-styled":!(p.jsx||p.unstyled||S),"data-mounted":Z,"data-promise":!!p.promise,"data-swiped":Ja,"data-removed":mt,"data-visible":Gy,"data-y-position":Yy,"data-x-position":Xy,"data-index":h,"data-front":Vy,"data-swiping":Xe,"data-dismissible":Rr,"data-type":at,"data-invert":Zy,"data-swipe-out":it,"data-swipe-direction":re,"data-expanded":!!(E||T&&Z),style:{"--index":h,"--toasts-before":h,"--z-index":b.length-h,"--offset":`${mt?el:_r.current}px`,"--initial-height":T?"auto":`${Nr}px`,...P,...p.style},onDragEnd:()=>{dn(!1),G(null),jr.current=null},onPointerDown:K=>{nl||!Rr||(Od.current=new Date,_o(_r.current),K.target.setPointerCapture(K.pointerId),K.target.tagName!=="BUTTON"&&(dn(!0),jr.current={x:K.clientX,y:K.clientY}))},onPointerUp:()=>{var K,ne,ce,vt;if(it||!Rr)return;jr.current=null;let yt=Number(((K=rr.current)==null?void 0:K.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),pn=Number(((ne=rr.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),or=new Date().getTime()-((ce=Od.current)==null?void 0:ce.getTime()),xt=Y==="x"?yt:pn,hn=Math.abs(xt)/or;if(Math.abs(xt)>=Zb||hn>.11){_o(_r.current),(vt=p.onDismiss)==null||vt.call(p,p),we(Y==="x"?yt>0?"right":"left":pn>0?"down":"up"),fn(),Bs(!0),Us(!1);return}dn(!1),G(null)},onPointerMove:K=>{var ne,ce,vt,yt;if(!jr.current||!Rr||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let pn=K.clientY-jr.current.y,or=K.clientX-jr.current.x,xt=(ce=e.swipeDirections)!=null?ce:eS(B);!Y&&(Math.abs(or)>1||Math.abs(pn)>1)&&G(Math.abs(or)>Math.abs(pn)?"x":"y");let hn={x:0,y:0};Y==="y"?(xt.includes("top")||xt.includes("bottom"))&&(xt.includes("top")&&pn<0||xt.includes("bottom")&&pn>0)&&(hn.y=pn):Y==="x"&&(xt.includes("left")||xt.includes("right"))&&(xt.includes("left")&&or<0||xt.includes("right")&&or>0)&&(hn.x=or),(Math.abs(hn.x)>0||Math.abs(hn.y)>0)&&Us(!0),(vt=rr.current)==null||vt.style.setProperty("--swipe-amount-x",`${hn.x}px`),(yt=rr.current)==null||yt.style.setProperty("--swipe-amount-y",`${hn.y}px`)}},qy&&!p.jsx?F.createElement("button",{"aria-label":V,"data-disabled":nl,"data-close-button":!0,onClick:nl||!Rr?()=>{}:()=>{var K;fn(),(K=p.onDismiss)==null||K.call(p,p)},className:bt(_==null?void 0:_.closeButton,(o=p==null?void 0:p.classNames)==null?void 0:o.closeButton)},(s=O==null?void 0:O.close)!=null?s:Lb):null,p.jsx||x.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:F.createElement(F.Fragment,null,at||p.icon||p.promise?F.createElement("div",{"data-icon":"",className:bt(_==null?void 0:_.icon,(i=p==null?void 0:p.classNames)==null?void 0:i.icon)}
176,p.promise||p.type==="loading"&&!p.icon?p.icon||Jy():null,p.type!=="loading"?p.icon||(O==null?void 0:O[at])||_b(at):null):null,F.createElement("div",{"data-content":"",className:bt(_==null?void 0:_.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},F.createElement("div",{"data-title":"",className:bt(_==null?void 0:_.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?F.createElement("div",{"data-description":"",className:bt(U,Qy,_==null?void 0:_.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),x.isValidElement(p.cancel)?p.cancel:p.cancel&&ci(p.cancel)?F.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||N,onClick:K=>{var ne,ce;ci(p.cancel)&&Rr&&((ce=(ne=p.cancel).onClick)==null||ce.call(ne,K),fn())},className:bt(_==null?void 0:_.cancelButton,(c=p==null?void 0:p.classNames)==null?void 0:c.cancelButton)},p.cancel.label):null,x.isValidElement(p.action)?p.action:p.action&&ci(p.action)?F.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||D,onClick:K=>{var ne,ce;ci(p.action)&&((ce=(ne=p.action).onClick)==null||ce.call(ne,K),!K.defaultPrevented&&fn())},className:bt(_==null?void 0:_.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function dp(){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 nS(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",a=s?qb:Qb;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${i}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=a:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var rS=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:f,duration:m,style:p,visibleToasts:S=Kb,toastOptions:v,dir:w=dp(),gap:y=Xb,loadingIcon:d,icons:h,containerAriaLabel:b="Notifications",pauseWhenPageIsHidden:E}=e,[C,k]=F.useState([]),A=F.useMemo(()=>Array.from(new Set([r].concat(C.filter($=>$.position).map($=>$.position)))),[C,r]),[P,N]=F.useState([]),[D,I]=F.useState(!1),[U,M]=F.useState(!1),[B,z]=F.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),H=F.useRef(null),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=F.useRef(null),O=F.useRef(!1),V=F.useCallback($=>{k(Y=>{var G;return(G=Y.find(re=>re.id===$.id))!=null&&G.delete||He.dismiss($.id),Y.filter(({id:re})=>re!==$.id)})},[]);return F.useEffect(()=>He.subscribe($=>{if($.dismiss){k(Y=>Y.map(G=>G.id===$.id?{...G,delete:!0}:G));return}setTimeout(()=>{mg.flushSync(()=>{k(Y=>{let G=Y.findIndex(re=>re.id===$.id);return G!==-1?[...Y.slice(0,G),{...Y[G],...$},...Y.slice(G+1)]:[$,...Y]})})})}),[]),F.useEffect(()=>{if(c!=="system"){z(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:Y})=>{z(Y?"dark":"light")})}catch{$.addListener(({matches:G})=>{try{z(G?"dark":"light")}catch(re){console.error(re)}})}},[c]),F.useEffect(()=>{C.length<=1&&I(!1)},[C]),F.useEffect(()=>{let $=Y=>{var G,re;o.every(we=>Y[we]||Y.code===we)&&(I(!0),(G=H.current)==null||G.focus()),Y.code==="Escape"&&(document.activeElement===H.current||(re=H.current)!=null&&re.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[o]),F.useEffect(()=>{if(H.current)return()=>{_.current&&(_.current.focus({preventScroll:!0}),_.current=null,O.current=!1)}},[H.current]),F.createElement("section",{ref:t,"aria-label":`${b} ${T}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},A.map(($,Y)=>{var G;let[re,we]=$.split("-");return C.length?F.createElement("ol",{key:$,dir:w==="auto"?dp():w,tabIndex:-1,ref:H,className:a,"data-sonner-toaster":!0,"data-theme":B,"data-y-position":re,"data-lifted":D&&C.length>1&&!s,"data-x-position":we,style:{"--front-toast-height":`${((G=P[0])==null?void 0:G.height)||0}px`,"--width":`${Yb}px`,"--gap":`${y}px`,...p,...nS(l,u)},onBlur:Z=>{O.current&&!Z.currentTarget.contains(Z.relatedTarget)&&(O.current=!1,_.current&&(_.current.focus({preventScroll:!0}),_.current=null))},onFocus:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||O.current||(O.current=!0,_.current=Z.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{U||I(!1)},onDragEnd:()=>I(!1),onPointerDown:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||M(!0)},onPointerUp:()=>M(!1)},C.filter(Z=>!Z.position&&Y===0||Z.position===$).map((Z,Mt)=>{var mt,gt;return F.createElement(tS,{key:Z.id,icons:h,index:Mt,toast:Z,defaultRichColors:f,duration:(mt=v==null?void 0:v.duration)!=null?mt:m,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:S,closeButton:(gt=v==null?void 0:v.closeButton)!=null?gt:i,interacting:U,position:$,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:V,toasts:C.filter(Xe=>Xe.position==Z.position),heights:P.filter(Xe=>Xe.position==Z.position),setHeights:N,expandByDefault:s,gap:y,loadingIcon:d,expanded:D,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const oS=({...e})=>{const{theme:t="system"}=Rb();return g.jsx(rS,{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 sS=hc[" useId ".trim().toString()]||(()=>{}),iS=0;function Fi(e){const[t,n]=x.useState(sS());return Gt(()=>{e||n(r=>r??String(iS++))},[e]),e||(t?`radix-${t}`:"")}const aS=["top","right","bottom","left"],Hn=Math.min,Je=Math.max,la=Math.round,di=Math.floor,Vn=e=>({x:e,y:e}
vendor: 4,207 bytes, line 176
176),lS={left:"right",right:"left",bottom:"top",top:"bottom"},uS={start:"end",end:"start"};function Hu(e,t,n){return Je(e,Hn(t,n))}function ln(e,t){return typeof e=="function"?e(t):e}function un(e){return e.split("-")[0]}function To(e){return e.split("-")[1]}function hd(e){return e==="x"?"y":"x"}function md(e){return e==="y"?"height":"width"}function Gn(e){return["top","bottom"].includes(un(e))?"y":"x"}function gd(e){return hd(Gn(e))}function cS(e,t,n){n===void 0&&(n=!1);const r=To(e),o=gd(e),s=md(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=ua(i)),[i,ua(i)]}function dS(e){const t=ua(e);return[Vu(e),t,Vu(t)]}function Vu(e){return e.replace(/start|end/g,t=>uS[t])}function fS(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:i;default:return[]}}function pS(e,t,n,r){const o=To(e);let s=fS(un(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Vu)))),s}function ua(e){return e.replace(/left|right|bottom|top/g,t=>lS[t])}function hS(e){return{top:0,right:0,bottom:0,left:0,...e}}function ov(e){return typeof e!="number"?hS(e):{top:e,right:e,bottom:e,left:e}}function ca(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function fp(e,t,n){let{reference:r,floating:o}=e;const s=Gn(t),i=gd(t),a=md(i),l=un(t),u=s==="y",c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,m=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:c,y:r.y-o.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(To(t)){case"start":p[i]-=m*(n&&u?-1:1);break;case"end":p[i]+=m*(n&&u?-1:1);break}return p}const mS=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=fp(u,r,l),m=r,p={},S=0;for(let v=0;v<a.length;v++){const{name:w,fn:y}=a[v],{x:d,y:h,data:b,reset:E}=await y({x:c,y:f,initialPlacement:r,placement:m,strategy:o,middlewareData:p,rects:u,platform:i,elements:{reference:e,floating:t}});c=d??c,f=h??f,p={...p,[w]:{...p[w],...b}},E&&S<=50&&(S++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(u=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:c,y:f}=fp(u,m,l)),v=-1)}return{x:c,y:f,placement:m,strategy:o,middlewareData:p}};async function Ss(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:m=!1,padding:p=0}=ln(t,e),S=ov(p),w=a[m?f==="floating"?"reference":"floating":f],y=ca(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),d=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,h=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),b=await(s.isElement==null?void 0:s.isElement(h))?await(s.getScale==null?void 0:s.getScale(h))||{x:1,y:1}:{x:1,y:1},E=ca(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:d,offsetParent:h,strategy:l}):d);return{top:(y.top-E.top+S.top)/b.y,bottom:(E.bottom-y.bottom+S.bottom)/b.y,left:(y.left-E.left+S.left)/b.x,right:(E.right-y.right+S.right)/b.x}}const gS=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=ln(e,t)||{};if(u==null)return{};const f=ov(c),m={x:n,y:r},p=gd(o),S=md(p),v=await i.getDimensions(u),w=p==="y",y=w?"top":"left",d=w?"bottom":"right",h=w?"clientHeight":"clientWidth",b=s.reference[S]+s.reference[p]-m[p]-s.floating[S],E=m[p]-s.reference[p],C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let k=C?C[h]:0;
vendor: 5,993 bytes, line 176
176(!k||!await(i.isElement==null?void 0:i.isElement(C)))&&(k=a.floating[h]||s.floating[S]);const A=b/2-E/2,P=k/2-v[S]/2-1,N=Hn(f[y],P),D=Hn(f[d],P),I=N,U=k-v[S]-D,M=k/2-v[S]/2+A,B=Hu(I,M,U),z=!l.arrow&&To(o)!=null&&M!==B&&s.reference[S]/2-(M<I?N:D)-v[S]/2<0,H=z?M<I?M-I:M-U:0;return{[p]:m[p]+H,data:{[p]:B,centerOffset:M-B-H,...z&&{alignmentOffset:H}},reset:z}}}),vS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:v=!0,...w}=ln(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=un(o),d=Gn(a),h=un(a)===a,b=await(l.isRTL==null?void 0:l.isRTL(u.floating)),E=m||(h||!v?[ua(a)]:dS(a)),C=S!=="none";!m&&C&&E.push(...pS(a,v,S,b));const k=[a,...E],A=await Ss(t,w),P=[];let N=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&P.push(A[y]),f){const M=cS(o,i,b);P.push(A[M[0]],A[M[1]])}if(N=[...N,{placement:o,overflows:P}],!P.every(M=>M<=0)){var D,I;const M=(((D=s.flip)==null?void 0:D.index)||0)+1,B=k[M];if(B)return{data:{index:M,overflows:N},reset:{placement:B}};let z=(I=N.filter(H=>H.overflows[0]<=0).sort((H,T)=>H.overflows[1]-T.overflows[1])[0])==null?void 0:I.placement;if(!z)switch(p){case"bestFit":{var U;const H=(U=N.filter(T=>{if(C){const _=Gn(T.placement);return _===d||_==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(_=>_>0).reduce((_,O)=>_+O,0)]).sort((T,_)=>T[1]-_[1])[0])==null?void 0:U[0];H&&(z=H);break}case"initialPlacement":z=a;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function pp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function hp(e){return aS.some(t=>e[t]>=0)}const yS=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=ln(e,t);switch(r){case"referenceHidden":{const s=await Ss(t,{...o,elementContext:"reference"}),i=pp(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:hp(i)}}}case"escaped":{const s=await Ss(t,{...o,altBoundary:!0}),i=pp(s,n.floating);return{data:{escapedOffsets:i,escaped:hp(i)}}}default:return{}}}}};async function xS(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=un(n),a=To(n),l=Gn(n)==="y",u=["left","top"].includes(i)?-1:1,c=s&&l?-1:1,f=ln(t,e);let{mainAxis:m,crossAxis:p,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof S=="number"&&(p=a==="end"?S*-1:S),l?{x:p*c,y:m*u}:{x:m*u,y:p*c}}const wS=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await xS(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},bS=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:w=>{let{x:y,y:d}=w;return{x:y,y:d}}},...l}=ln(e,t),u={x:n,y:r},c=await Ss(t,l),f=Gn(un(o)),m=hd(f);let p=u[m],S=u[f];if(s){const w=m==="y"?"top":"left",y=m==="y"?"bottom":"right",d=p+c[w],h=p-c[y];p=Hu(d,p,h)}if(i){const w=f==="y"?"top":"left",y=f==="y"?"bottom":"right",d=S+c[w],h=S-c[y];S=Hu(d,S,h)}const v=a.fn({...t,[m]:p,[f]:S});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[m]:s,[f]:i}}}}}},SS=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=ln(e,t),c={x:n,y:r},f=Gn(o),m=hd(f);let p=c[m],S=c[f];const v=ln(a,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const h=m==="y"?"height":"width",b=s.reference[m]-s.floating[h]+w.mainAxis,E=s.reference[m]+s.reference[h]-w.mainAxis;p<b?p=b:p>E&&(p=E)}if(u){var y,d;const h=m==="y"?"width":"height",b=["top","left"].includes(un(o)),E=s.reference[f]-s.floating[h]+(b&&((y=i.offset)==null?void 0:y[f])||0)+(b?0:w.crossAxis),C=s.reference[f]+s.reference[h]+(b?0:((d=i.offset)==null?void 0:d[f])||0)-(b?w.crossAxis:0);S<E?S=E:S>C&&(S=C)}return{[m]:p,[f]:S}}}},ES=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...u}=ln(e,t),c=await Ss(t,u),f=un(o),m=To(o),p=Gn(o)==="y",{width:S,height:v}=s.floating;let w,y;f==="top"||f==="bottom"?(w=f,y=m===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=f,w=m==="end"?"top":"bottom");const d=v-c.top-c.bottom,h=S-c.left-c.right,b=Hn(v-c[w],d),E=Hn(S-c[y],h),C=!t.middlewareData.shift;let k=b,A=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=h),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=d),C&&!m){const N=Je(c.left,0),D=Je(c.right,0),I=Je(c.top,0),U=Je(c.bottom,0);p?A=S-2*(N!==0||D!==0?N+D:Je(c.left,c.right)):k=v-2*(I!==0||U!==0?I+U:Je(c.top,c.bottom))}await l({...t,availableWidth:A,availableHeight:k});const P=await i.getDimensions(a.floating);return S!==P.width||v!==P.height?{reset:{rects:!0}}:{}}}};function $a(){return typeof window<"u"}function No(e){return sv(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qt(e){var t;return(t=(sv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function sv(e){return $a()?e instanceof Node||e instanceof nt(e).Node:!1}function jt(e){return $a()?e instanceof Element||e instanceof nt(e).Element:!1}function Kt(e){return $a()?e instanceof HTMLElement||e instanceof nt(e).HTMLElement:!1}function mp(e){return!$a()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function $s(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ft(e);
vendor: 2,190 bytes, line 176
176return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function CS(e){return["table","td","th"].includes(No(e))}function za(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function vd(e){const t=yd(),n=jt(e)?Ft(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function kS(e){let t=Kn(e);for(;Kt(t)&&!wo(t);){if(vd(t))return t;if(za(t))return null;t=Kn(t)}return null}function yd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wo(e){return["html","body","#document"].includes(No(e))}function Ft(e){return nt(e).getComputedStyle(e)}function Ba(e){return jt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Kn(e){if(No(e)==="html")return e;const t=e.assignedSlot||e.parentNode||mp(e)&&e.host||Qt(e);return mp(t)?t.host:t}function iv(e){const t=Kn(e);return wo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Kt(t)&&$s(t)?t:iv(t)}function Es(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=iv(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=nt(o);if(s){const a=Gu(i);return t.concat(i,i.visualViewport||[],$s(o)?o:[],a&&n?Es(a):[])}return t.concat(o,Es(o,[],n))}function Gu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function av(e){const t=Ft(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Kt(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=la(n)!==s||la(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function xd(e){return jt(e)?e:e.contextElement}function no(e){const t=xd(e);if(!Kt(t))return Vn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=av(t);let i=(s?la(n.width):n.width)/r,a=(s?la(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const AS=Vn(0);function lv(e){const t=nt(e);
vendor: 5,458 bytes, line 176
176return!yd()||!t.visualViewport?AS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function PS(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==nt(e)?!1:t}function Cr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=xd(e);let i=Vn(1);t&&(r?jt(r)&&(i=no(r)):i=no(e));const a=PS(s,n,r)?lv(s):Vn(0);let l=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,c=o.width/i.x,f=o.height/i.y;if(s){const m=nt(s),p=r&&jt(r)?nt(r):r;let S=m,v=Gu(S);for(;v&&r&&p!==S;){const w=no(v),y=v.getBoundingClientRect(),d=Ft(v),h=y.left+(v.clientLeft+parseFloat(d.paddingLeft))*w.x,b=y.top+(v.clientTop+parseFloat(d.paddingTop))*w.y;l*=w.x,u*=w.y,c*=w.x,f*=w.y,l+=h,u+=b,S=nt(v),v=Gu(S)}}return ca({width:c,height:f,x:l,y:u})}function TS(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=Qt(r),a=t?za(t.floating):!1;if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=Vn(1);const c=Vn(0),f=Kt(r);if((f||!f&&!s)&&((No(r)!=="body"||$s(i))&&(l=Ba(r)),Kt(r))){const m=Cr(r);u=no(r),c.x=m.x+r.clientLeft,c.y=m.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function NS(e){return Array.from(e.getClientRects())}function Ku(e,t){const n=Ba(e).scrollLeft;return t?t.left+n:Cr(Qt(e)).left+n}function RS(e){const t=Qt(e),n=Ba(e),r=e.ownerDocument.body,o=Je(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Je(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Ku(e);const a=-n.scrollTop;return Ft(r).direction==="rtl"&&(i+=Je(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}function _S(e,t){const n=nt(e),r=Qt(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const u=yd();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}function jS(e,t){const n=Cr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Kt(e)?no(e):Vn(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,u=r*s.y;return{width:i,height:a,x:l,y:u}}function gp(e,t,n){let r;if(t==="viewport")r=_S(e,n);else if(t==="document")r=RS(Qt(e));else if(jt(t))r=jS(t,n);else{const o=lv(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return ca(r)}function uv(e,t){const n=Kn(e);return n===t||!jt(n)||wo(n)?!1:Ft(n).position==="fixed"||uv(n,t)}function FS(e,t){const n=t.get(e);if(n)return n;let r=Es(e,[],!1).filter(a=>jt(a)&&No(a)!=="body"),o=null;const s=Ft(e).position==="fixed";let i=s?Kn(e):e;for(;jt(i)&&!wo(i);){const a=Ft(i),l=vd(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||$s(i)&&!l&&uv(e,i))?r=r.filter(c=>c!==i):o=a,i=Kn(i)}return t.set(e,r),r}function IS(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?za(t)?[]:FS(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((u,c)=>{const f=gp(t,c,o);return u.top=Je(f.top,u.top),u.right=Hn(f.right,u.right),u.bottom=Hn(f.bottom,u.bottom),u.left=Je(f.left,u.left),u},gp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function MS(e){const{width:t,height:n}=av(e);return{width:t,height:n}}function OS(e,t,n){const r=Kt(t),o=Qt(t),s=n==="fixed",i=Cr(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=Vn(0);if(r||!r&&!s)if((No(t)!=="body"||$s(o))&&(a=Ba(t)),r){const p=Cr(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&(l.x=Ku(o));let u=0,c=0;if(o&&!r&&!s){const p=o.getBoundingClientRect();c=p.top+a.scrollTop,u=p.left+a.scrollLeft-Ku(o,p)}const f=i.left+a.scrollLeft-l.x-u,m=i.top+a.scrollTop-l.y-c;return{x:f,y:m,width:i.width,height:i.height}}function Il(e){return Ft(e).position==="static"}function vp(e,t){if(!Kt(e)||Ft(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Qt(e)===n&&(n=n.ownerDocument.body),n}function cv(e,t){const n=nt(e);if(za(e))return n;if(!Kt(e)){let o=Kn(e);for(;o&&!wo(o);){if(jt(o)&&!Il(o))return o;o=Kn(o)}return n}let r=vp(e,t);for(;r&&CS(r)&&Il(r);)r=vp(r,t);return r&&wo(r)&&Il(r)&&!vd(r)?n:r||kS(e)||n}const DS=async function(e){const t=this.getOffsetParent||cv,n=this.getDimensions,r=await n(e.floating);return{reference:OS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function LS(e){return Ft(e).direction==="rtl"}const $S={convertOffsetParentRelativeRectToViewportRelativeRect:TS,getDocumentElement:Qt,getClippingRect:IS,getOffsetParent:cv,getElementRects:DS,getClientRects:NS,getDimensions:MS,getScale:no,isElement:jt,isRTL:LS};function zS(e,t){let n=null,r;const o=Qt(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const{left:u,top:c,width:f,height:m}=e.getBoundingClientRect();if(a||t(),!f||!m)return;const p=di(c),S=di(o.clientWidth-(u+f)),v=di(o.clientHeight-(c+m)),w=di(u),d={rootMargin:-p+"px "+-S+"px "+-v+"px "+-w+"px",threshold:Je(0,Hn(1,l))||1};let h=!0;function b(E){const C=E[0].intersectionRatio;if(C!==l){if(!h)return i();C?i(!1,C):r=setTimeout(()=>{i(!1,1e-7)},1e3)}h=!1}try{n=new IntersectionObserver(b,{...d,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,d)}n.observe(e)}return i(!0),s}function BS(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=xd(e),c=o||s?[...u?Es(u):[],...Es(t)]:[];
vendor: 4,644 bytes, line 176
176c.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const f=u&&a?zS(u,n):null;let m=-1,p=null;i&&(p=new ResizeObserver(y=>{let[d]=y;d&&d.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var h;(h=p)==null||h.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let S,v=l?Cr(e):null;l&&w();function w(){const y=Cr(e);v&&(y.x!==v.x||y.y!==v.y||y.width!==v.width||y.height!==v.height)&&n(),v=y,S=requestAnimationFrame(w)}return n(),()=>{var y;c.forEach(d=>{o&&d.removeEventListener("scroll",n),s&&d.removeEventListener("resize",n)}),f==null||f(),(y=p)==null||y.disconnect(),p=null,l&&cancelAnimationFrame(S)}}const US=wS,WS=bS,HS=vS,VS=ES,GS=yS,yp=gS,KS=SS,QS=(e,t,n)=>{const r=new Map,o={platform:$S,...n},s={...o.platform,_c:r};return mS(e,t,{...o,platform:s})};var Ii=typeof document<"u"?x.useLayoutEffect:x.useEffect;function da(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!da(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!da(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function dv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function xp(e,t){const n=dv(e);return Math.round(t*n)/n}function Ml(e){const t=x.useRef(e);return Ii(()=>{t.current=e}),t}function qS(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,f]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=x.useState(r);da(m,r)||p(r);const[S,v]=x.useState(null),[w,y]=x.useState(null),d=x.useCallback(T=>{T!==C.current&&(C.current=T,v(T))},[]),h=x.useCallback(T=>{T!==k.current&&(k.current=T,y(T))},[]),b=s||S,E=i||w,C=x.useRef(null),k=x.useRef(null),A=x.useRef(c),P=l!=null,N=Ml(l),D=Ml(o),I=Ml(u),U=x.useCallback(()=>{if(!C.current||!k.current)return;const T={placement:t,strategy:n,middleware:m};D.current&&(T.platform=D.current),QS(C.current,k.current,T).then(_=>{const O={..._,isPositioned:I.current!==!1};M.current&&!da(A.current,O)&&(A.current=O,Ds.flushSync(()=>{f(O)}))})},[m,t,n,D,I]);Ii(()=>{u===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[u]);const M=x.useRef(!1);Ii(()=>(M.current=!0,()=>{M.current=!1}),[]),Ii(()=>{if(b&&(C.current=b),E&&(k.current=E),b&&E){if(N.current)return N.current(b,E,U);U()}},[b,E,U,N,P]);const B=x.useMemo(()=>({reference:C,floating:k,setReference:d,setFloating:h}),[d,h]),z=x.useMemo(()=>({reference:b,floating:E}),[b,E]),H=x.useMemo(()=>{const T={position:n,left:0,top:0};if(!z.floating)return T;const _=xp(z.floating,c.x),O=xp(z.floating,c.y);return a?{...T,transform:"translate("+_+"px, "+O+"px)",...dv(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:O}},[n,a,z.floating,c.x,c.y]);return x.useMemo(()=>({...c,update:U,refs:B,elements:z,floatingStyles:H}),[c,U,B,z,H])}const YS=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?yp({element:r.current,padding:o}).fn(n):{}:r?yp({element:r,padding:o}).fn(n):{}}}},XS=(e,t)=>({...US(e),options:[e,t]}),ZS=(e,t)=>({...WS(e),options:[e,t]}),JS=(e,t)=>({...KS(e),options:[e,t]}),eE=(e,t)=>({...HS(e),options:[e,t]}),tE=(e,t)=>({...VS(e),options:[e,t]}),nE=(e,t)=>({...GS(e),options:[e,t]}),rE=(e,t)=>({...YS(e),options:[e,t]});var oE="Arrow",fv=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return g.jsx(me.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:g.jsx("polygon",{points:"0,0 30,0 15,10"})})});fv.displayName=oE;var sE=fv;function iE(e){const[t,n]=x.useState(void 0);return Gt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;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 pv="Popper",[hv,mv]=Ao(pv),[H2,gv]=hv(pv),vv="PopperAnchor",yv=x.forwardRef((e,t)=>
vendor: 4,723 bytes, line 176
176{const{__scopePopper:n,virtualRef:r,...o}=e,s=gv(vv,n),i=x.useRef(null),a=Oe(t,i);return x.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:g.jsx(me.div,{...o,ref:a})});yv.displayName=vv;var wd="PopperContent",[aE,lE]=hv(wd),xv=x.forwardRef((e,t)=>{var Z,Mt,mt,gt,Xe,dn;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:p="optimized",onPlaced:S,...v}=e,w=gv(wd,n),[y,d]=x.useState(null),h=Oe(t,it=>d(it)),[b,E]=x.useState(null),C=iE(b),k=(C==null?void 0:C.width)??0,A=(C==null?void 0:C.height)??0,P=r+(s!=="center"?"-"+s:""),N=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},D=Array.isArray(u)?u:[u],I=D.length>0,U={padding:N,boundary:D.filter(cE),altBoundary:I},{refs:M,floatingStyles:B,placement:z,isPositioned:H,middlewareData:T}=qS({strategy:"fixed",placement:P,whileElementsMounted:(...it)=>BS(...it,{animationFrame:p==="always"}),elements:{reference:w.anchor},middleware:[XS({mainAxis:o+A,alignmentAxis:i}),l&&ZS({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?JS():void 0,...U}),l&&eE({...U}),tE({...U,apply:({elements:it,rects:Bs,availableWidth:Ja,availableHeight:Us})=>{const{width:el,height:_o}=Bs.reference,Nr=it.floating.style;Nr.setProperty("--radix-popper-available-width",`${Ja}px`),Nr.setProperty("--radix-popper-available-height",`${Us}px`),Nr.setProperty("--radix-popper-anchor-width",`${el}px`),Nr.setProperty("--radix-popper-anchor-height",`${_o}px`)}}),b&&rE({element:b,padding:a}),dE({arrowWidth:k,arrowHeight:A}),m&&nE({strategy:"referenceHidden",...U})]}),[_,O]=Sv(z),V=Vt(S);Gt(()=>{H&&(V==null||V())},[H,V]);const $=(Z=T.arrow)==null?void 0:Z.x,Y=(Mt=T.arrow)==null?void 0:Mt.y,G=((mt=T.arrow)==null?void 0:mt.centerOffset)!==0,[re,we]=x.useState();return Gt(()=>{y&&we(window.getComputedStyle(y).zIndex)},[y]),g.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:H?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:re,"--radix-popper-transform-origin":[(gt=T.transformOrigin)==null?void 0:gt.x,(Xe=T.transformOrigin)==null?void 0:Xe.y].join(" "),...((dn=T.hide)==null?void 0:dn.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:g.jsx(aE,{scope:n,placedSide:_,onArrowChange:E,arrowX:$,arrowY:Y,shouldHideArrow:G,children:g.jsx(me.div,{"data-side":_,"data-align":O,...v,ref:h,style:{...v.style,animation:H?void 0:"none"}})})})});xv.displayName=wd;var wv="PopperArrow",uE={top:"bottom",right:"left",bottom:"top",left:"right"},bv=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=lE(wv,r),i=uE[s.placedSide];return g.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:g.jsx(sE,{...o,ref:n,style:{...o.style,display:"block"}})})});bv.displayName=wv;function cE(e){return e!==null}var dE=e=>({name:"transformOrigin",options:e,fn(t){var w,y,d;const{placement:n,rects:r,middlewareData:o}=t,i=((w=o.arrow)==null?void 0:w.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,c]=Sv(n),f={start:"0%",center:"50%",end:"100%"}[c],m=(((y=o.arrow)==null?void 0:y.x)??0)+a/2,p=(((d=o.arrow)==null?void 0:d.y)??0)+l/2;let S="",v="";return u==="bottom"?(S=i?f:`${m}px`,v=`${-l}px`):u==="top"?(S=i?f:`${m}px`,v=`${r.floating.height+l}px`):u==="right"?(S=`${-l}px`,v=i?f:`${p}px`):u==="left"&&(S=`${r.floating.width+l}px`,v=i?f:`${p}px`),{data:{x:S,y:v}}}});function Sv(e){const[t,n="center"]=e.split("-");return[t,n]}var fE=yv,pE=xv,hE=bv,[Ua,V2]=Ao("Tooltip",[mv]),bd=mv(),Ev="TooltipProvider",mE=700,wp="tooltip.open",[gE,Cv]=Ua(Ev),kv=e=>{const{__scopeTooltip:t,delayDuration:n=mE,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,i=x.useRef(!0),a=x.useRef(!1),l=x.useRef(0);return x.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),g.jsx(gE,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:x.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:s})};kv.displayName=Ev;var Av="Tooltip",[G2,Wa]=Ua(Av),Qu="TooltipTrigger",vE=x.forwardRef((e,t)=>
vendor: 5,226 bytes, line 176
176{const{__scopeTooltip:n,...r}=e,o=Wa(Qu,n),s=Cv(Qu,n),i=bd(n),a=x.useRef(null),l=Oe(t,a,o.onTriggerChange),u=x.useRef(!1),c=x.useRef(!1),f=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),g.jsx(fE,{asChild:!0,...i,children:g.jsx(me.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:le(e.onPointerMove,m=>{m.pointerType!=="touch"&&!c.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:le(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:le(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:le(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:le(e.onBlur,o.onClose),onClick:le(e.onClick,o.onClose)})})});vE.displayName=Qu;var yE="TooltipPortal",[K2,xE]=Ua(yE,{forceMount:void 0}),bo="TooltipContent",Pv=x.forwardRef((e,t)=>{const n=xE(bo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,i=Wa(bo,e.__scopeTooltip);return g.jsx(Tr,{present:r||i.open,children:i.disableHoverableContent?g.jsx(Tv,{side:o,...s,ref:t}):g.jsx(wE,{side:o,...s,ref:t})})}),wE=x.forwardRef((e,t)=>{const n=Wa(bo,e.__scopeTooltip),r=Cv(bo,e.__scopeTooltip),o=x.useRef(null),s=Oe(t,o),[i,a]=x.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:f}=r,m=x.useCallback(()=>{a(null),f(!1)},[f]),p=x.useCallback((S,v)=>{const w=S.currentTarget,y={x:S.clientX,y:S.clientY},d=kE(y,w.getBoundingClientRect()),h=AE(y,d),b=PE(v.getBoundingClientRect()),E=NE([...h,...b]);a(E),f(!0)},[f]);return x.useEffect(()=>()=>m(),[m]),x.useEffect(()=>{if(l&&c){const S=w=>p(w,c),v=w=>p(w,l);return l.addEventListener("pointerleave",S),c.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",S),c.removeEventListener("pointerleave",v)}}},[l,c,p,m]),x.useEffect(()=>{if(i){const S=v=>{const w=v.target,y={x:v.clientX,y:v.clientY},d=(l==null?void 0:l.contains(w))||(c==null?void 0:c.contains(w)),h=!TE(y,i);d?m():h&&(m(),u())};return document.addEventListener("pointermove",S),()=>document.removeEventListener("pointermove",S)}},[l,c,i,u,m]),g.jsx(Tv,{...e,ref:s})}),[bE,SE]=Ua(Av,{isInside:!1}),EE=O1("TooltipContent"),Tv=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=Wa(bo,n),u=bd(n),{onClose:c}=l;return x.useEffect(()=>(document.addEventListener(wp,c),()=>document.removeEventListener(wp,c)),[c]),x.useEffect(()=>{if(l.trigger){const f=m=>{const p=m.target;p!=null&&p.contains(l.trigger)&&c()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,c]),g.jsx(Oa,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:c,children:g.jsxs(pE,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[g.jsx(EE,{children:r}),g.jsx(bE,{scope:n,isInside:!0,children:g.jsx(iw,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Pv.displayName=bo;var Nv="TooltipArrow",CE=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=bd(n);return SE(Nv,n).isInside?null:g.jsx(hE,{...o,...r,ref:t})});CE.displayName=Nv;function kE(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function AE(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 PE(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function TE(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],l=t[i],u=a.x,c=a.y,f=l.x,m=l.y;c>r!=m>r&&n<(f-u)*(r-c)/(m-c)+u&&(o=!o)}return o}function NE(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),RE(t)}function RE(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var _E=kv,Rv=Pv;const jE=_E,FE=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
vendor: 8,429 bytes, line 176
176g.jsx(Rv,{ref:r,sideOffset:t,className:se("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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));FE.displayName=Rv.displayName;var Ha=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(){}},Va=typeof window>"u"||"Deno"in globalThis;function Et(){}function IE(e,t){return typeof e=="function"?e(t):e}function ME(e){return typeof e=="number"&&e>=0&&e!==1/0}function OE(e,t){return Math.max(e+(t||0)-Date.now(),0)}function qu(e,t){return typeof e=="function"?e(t):e}function DE(e,t){return typeof e=="function"?e(t):e}function bp(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==Sd(i,t.options))return!1}else if(!ks(t.queryKey,i))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||s&&!s(t))}function Sp(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Cs(t.options.mutationKey)!==Cs(s))return!1}else if(!ks(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Sd(e,t){return((t==null?void 0:t.queryKeyHashFn)||Cs)(e)}function Cs(e){return JSON.stringify(e,(t,n)=>Yu(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function ks(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ks(e[n],t[n])):!1}function _v(e,t){if(e===t)return e;const n=Ep(e)&&Ep(t);if(n||Yu(e)&&Yu(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<i;c++){const f=n?c:s[c];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,u++):(a[f]=_v(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&u++)}return o===i&&u===o?e:a}return t}function Ep(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Yu(e){if(!Cp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Cp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Cp(e){return Object.prototype.toString.call(e)==="[object Object]"}function LE(e){return new Promise(t=>{setTimeout(t,e)})}function $E(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?_v(e,t):t}function zE(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function BE(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Ed=Symbol();function jv(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ed?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var dr,Cn,oo,qp,UE=(qp=class extends Ha{constructor(){super();ee(this,dr);ee(this,Cn);ee(this,oo);Q(this,oo,t=>{if(!Va&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,Cn)||this.setEventListener(R(this,oo))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Cn))==null||t.call(this),Q(this,Cn,void 0))}setEventListener(t){var n;Q(this,oo,t),(n=R(this,Cn))==null||n.call(this),Q(this,Cn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){R(this,dr)!==t&&(Q(this,dr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof R(this,dr)=="boolean"?R(this,dr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},dr=new WeakMap,Cn=new WeakMap,oo=new WeakMap,qp),Fv=new UE,so,kn,io,Yp,WE=(Yp=class extends Ha{constructor(){super();ee(this,so,!0);ee(this,kn);ee(this,io);Q(this,io,t=>{if(!Va&&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(){R(this,kn)||this.setEventListener(R(this,io))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,kn))==null||t.call(this),Q(this,kn,void 0))}setEventListener(t){var n;Q(this,io,t),(n=R(this,kn))==null||n.call(this),Q(this,kn,t(this.setOnline.bind(this)))}setOnline(t){R(this,so)!==t&&(Q(this,so,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return R(this,so)}},so=new WeakMap,kn=new WeakMap,io=new WeakMap,Yp),fa=new WE;function HE(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function VE(e){return Math.min(1e3*2**e,3e4)}function Iv(e){return(e??"online")==="online"?fa.isOnline():!0}var Mv=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ol(e){return e instanceof Mv}function Ov(e){let t=!1,n=0,r=!1,o;const s=HE(),i=v=>{var w;r||(m(new Mv(v)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Fv.isFocused()&&(e.networkMode==="always"||fa.isOnline())&&e.canRun(),c=()=>Iv(e.networkMode)&&e.canRun(),f=v=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,v),o==null||o(),s.resolve(v))},m=v=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,v),o==null||o(),s.reject(v))},p=()=>new Promise(v=>{var w;o=y=>{(r||u())&&v(y)},(w=e.onPause)==null||w.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),S=()=>{if(r)return;let v;const w=n===0?e.initialPromise:void 0;try{v=w??e.fn()}catch(y){v=Promise.reject(y)}Promise.resolve(v).then(f).catch(y=>{var C;if(r)return;const d=e.retry??(Va?0:3),h=e.retryDelay??VE,b=typeof h=="function"?h(n,y):h,E=d===!0||typeof d=="number"&&n<d||typeof d=="function"&&d(n,y);if(t||!E){m(y);return}n++,(C=e.onFail)==null||C.call(e,n,y),LE(b).then(()=>u()?void 0:p()).then(()=>{t?m(y):S()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?S():p().then(S),s)}}var GE=e=>setTimeout(e,0);function KE(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=GE;const s=a=>{t?e.push(a):o(()=>{n(a)})},i=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||i()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var $e=KE(),fr,Xp,Dv=(Xp=class{constructor(){ee(this,fr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ME(this.gcTime)&&Q(this,fr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Va?1/0:5*60*1e3))}clearGcTimeout(){R(this,fr)&&(clearTimeout(R(this,fr)),Q(this,fr,void 0))}},fr=new WeakMap,Xp),ao,pr,lt,hr,Fe,Rs,mr,Ct,Yt,Zp,QE=(Zp=class extends Dv{constructor(t){super();ee(this,Ct);ee(this,ao);ee(this,pr);ee(this,lt);ee(this,hr);ee(this,Fe);ee(this,Rs);ee(this,mr);Q(this,mr,!1),Q(this,Rs,t.defaultOptions),this.setOptions(t.options),this.observers=[],Q(this,hr,t.client),Q(this,lt,R(this,hr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Q(this,ao,YE(this.options)),this.state=t.state??R(this,ao),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,Fe))==null?void 0:t.promise}setOptions(t){this.options={...R(this,Rs),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,lt).remove(this)}setData(t,n){const r=$E(this.state.data,t,this.options);return Re(this,Ct,Yt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Re(this,Ct,Yt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=R(this,Fe))==null?void 0:r.promise;
vendor: 1,669 bytes, line 176
176return(o=R(this,Fe))==null||o.cancel(t),n?n.then(Et).catch(Et):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,ao))}isActive(){return this.observers.some(t=>DE(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ed||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>qu(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:!OE(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Fe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Fe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,lt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(R(this,Fe)&&(R(this,mr)?R(this,Fe).cancel({revert:!0}):R(this,Fe).cancelRetry()),this.scheduleGc()),R(this,lt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Re(this,Ct,Yt).call(this,{type:"invalidate"})}
vendor: 13,715 bytes, line 176
176fetch(t,n){var u,c,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,Fe))return R(this,Fe).continueRetry(),R(this,Fe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(p=>p.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,o=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(Q(this,mr,!0),r.signal)})},s=()=>{const m=jv(this.options,n),S=(()=>{const v={client:R(this,hr),queryKey:this.queryKey,meta:this.meta};return o(v),v})();return Q(this,mr,!1),this.options.persister?this.options.persister(m,S,this):m(S)},a=(()=>{const m={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,hr),state:this.state,fetchFn:s};return o(m),m})();(u=this.options.behavior)==null||u.onFetch(a,this),Q(this,pr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Re(this,Ct,Yt).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=m=>{var p,S,v,w;Ol(m)&&m.silent||Re(this,Ct,Yt).call(this,{type:"error",error:m}),Ol(m)||((S=(p=R(this,lt).config).onError)==null||S.call(p,m,this),(w=(v=R(this,lt).config).onSettled)==null||w.call(v,this.state.data,m,this)),this.scheduleGc()};return Q(this,Fe,Ov({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var p,S,v,w;if(m===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(y){l(y);return}(S=(p=R(this,lt).config).onSuccess)==null||S.call(p,m,this),(w=(v=R(this,lt).config).onSettled)==null||w.call(v,m,this.state.error,this),this.scheduleGc()},onError:l,onFail:(m,p)=>{Re(this,Ct,Yt).call(this,{type:"failed",failureCount:m,error:p})},onPause:()=>{Re(this,Ct,Yt).call(this,{type:"pause"})},onContinue:()=>{Re(this,Ct,Yt).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),R(this,Fe).start()}},ao=new WeakMap,pr=new WeakMap,lt=new WeakMap,hr=new WeakMap,Fe=new WeakMap,Rs=new WeakMap,mr=new WeakMap,Ct=new WeakSet,Yt=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,...qE(r.data,this.options),fetchMeta:t.meta??null};case"success":return Q(this,pr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Ol(o)&&o.revert&&R(this,pr)?{...R(this,pr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),$e.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),R(this,lt).notify({query:this,type:"updated",action:t})})},Zp);function qE(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Iv(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function YE(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 Lt,Jp,XE=(Jp=class extends Ha{constructor(t={}){super();ee(this,Lt);this.config=t,Q(this,Lt,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Sd(o,n);let i=this.get(s);return i||(i=new QE({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){R(this,Lt).has(t.queryHash)||(R(this,Lt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=R(this,Lt).get(t.queryHash);n&&(t.destroy(),n===t&&R(this,Lt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){$e.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,Lt).get(t)}getAll(){return[...R(this,Lt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>bp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>bp(t,r)):n}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){$e.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){$e.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Lt=new WeakMap,Jp),$t,De,gr,zt,yn,eh,ZE=(eh=class extends Dv{constructor(t){super();ee(this,zt);ee(this,$t);ee(this,De);ee(this,gr);this.mutationId=t.mutationId,Q(this,De,t.mutationCache),Q(this,$t,[]),this.state=t.state||JE(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,$t).includes(t)||(R(this,$t).push(t),this.clearGcTimeout(),R(this,De).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Q(this,$t,R(this,$t).filter(n=>n!==t)),this.scheduleGc(),R(this,De).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,$t).length||(this.state.status==="pending"?this.scheduleGc():R(this,De).remove(this))}continue(){var t;return((t=R(this,gr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,i,a,l,u,c,f,m,p,S,v,w,y,d,h,b,E,C,k,A;const n=()=>{Re(this,zt,yn).call(this,{type:"continue"})};Q(this,gr,Ov({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,N)=>{Re(this,zt,yn).call(this,{type:"failed",failureCount:P,error:N})},onPause:()=>{Re(this,zt,yn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,De).canRun(this)}));const r=this.state.status==="pending",o=!R(this,gr).canStart();try{if(r)n();else{Re(this,zt,yn).call(this,{type:"pending",variables:t,isPaused:o}),await((i=(s=R(this,De).config).onMutate)==null?void 0:i.call(s,t,this));const N=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));N!==this.state.context&&Re(this,zt,yn).call(this,{type:"pending",context:N,variables:t,isPaused:o})}const P=await R(this,gr).start();return await((c=(u=R(this,De).config).onSuccess)==null?void 0:c.call(u,P,t,this.state.context,this)),await((m=(f=this.options).onSuccess)==null?void 0:m.call(f,P,t,this.state.context)),await((S=(p=R(this,De).config).onSettled)==null?void 0:S.call(p,P,null,this.state.variables,this.state.context,this)),await((w=(v=this.options).onSettled)==null?void 0:w.call(v,P,null,t,this.state.context)),Re(this,zt,yn).call(this,{type:"success",data:P}),P}catch(P){try{throw await((d=(y=R(this,De).config).onError)==null?void 0:d.call(y,P,t,this.state.context,this)),await((b=(h=this.options).onError)==null?void 0:b.call(h,P,t,this.state.context)),await((C=(E=R(this,De).config).onSettled)==null?void 0:C.call(E,void 0,P,this.state.variables,this.state.context,this)),await((A=(k=this.options).onSettled)==null?void 0:A.call(k,void 0,P,t,this.state.context)),P}finally{Re(this,zt,yn).call(this,{type:"error",error:P})}}finally{R(this,De).runNext(this)}}},$t=new WeakMap,De=new WeakMap,gr=new WeakMap,zt=new WeakSet,yn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),$e.batch(()=>{R(this,$t).forEach(r=>{r.onMutationUpdate(t)}),R(this,De).notify({mutation:this,type:"updated",action:t})})},eh);function JE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Jt,kt,_s,th,eC=(th=class extends Ha{constructor(t={}){super();ee(this,Jt);ee(this,kt);ee(this,_s);this.config=t,Q(this,Jt,new Set),Q(this,kt,new Map),Q(this,_s,0)}build(t,n,r){const o=new ZE({mutationCache:this,mutationId:++Hs(this,_s)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){R(this,Jt).add(t);const n=fi(t);if(typeof n=="string"){const r=R(this,kt).get(n);r?r.push(t):R(this,kt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(R(this,Jt).delete(t)){const n=fi(t);if(typeof n=="string"){const r=R(this,kt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&R(this,kt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=fi(t);if(typeof n=="string"){const r=R(this,kt).get(n),o=r==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=fi(t);if(typeof n=="string"){const o=(r=R(this,kt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){$e.batch(()=>{R(this,Jt).forEach(t=>{this.notify({type:"removed",mutation:t})}),R(this,Jt).clear(),R(this,kt).clear()})}getAll(){return Array.from(R(this,Jt))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Sp(n,r))}findAll(t={}){return this.getAll().filter(n=>Sp(t,n))}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return $e.batch(()=>Promise.all(t.map(n=>n.continue().catch(Et))))}},Jt=new WeakMap,kt=new WeakMap,_s=new WeakMap,th);function fi(e){var t;return(t=e.options.scope)==null?void 0:t.id}function kp(e){return{onFetch:(t,n)=>{var c,f,m,p,S;const r=t.options,o=(m=(f=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:f.fetchMore)==null?void 0:m.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],i=((S=t.state.data)==null?void 0:S.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const w=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},y=jv(t.options,t.fetchOptions),d=async(h,b,E)=>{if(v)return Promise.reject();if(b==null&&h.pages.length)return Promise.resolve(h);const k=(()=>{const D={client:t.client,queryKey:t.queryKey,pageParam:b,direction:E?"backward":"forward",meta:t.options.meta};return w(D),D})(),A=await y(k),{maxPages:P}=t.options,N=E?BE:zE;return{pages:N(h.pages,A,P),pageParams:N(h.pageParams,b,P)}};if(o&&s.length){const h=o==="backward",b=h?tC:Ap,E={pages:s,pageParams:i},C=b(r,E);a=await d(E,C,h)}else{const h=e??s.length;do{const b=l===0?i[0]??r.initialPageParam:Ap(r,a);if(l>0&&b==null)break;a=await d(a,b),l++}while(l<h)}return a};t.options.persister?t.fetchFn=()=>{var v,w;return(w=(v=t.options).persister)==null?void 0:w.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Ap(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 tC(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 ve,An,Pn,lo,uo,Tn,co,fo,nh,nC=(nh=class{constructor(e={}){ee(this,ve);ee(this,An);ee(this,Pn);ee(this,lo);ee(this,uo);ee(this,Tn);ee(this,co);ee(this,fo);Q(this,ve,e.queryCache||new XE),Q(this,An,e.mutationCache||new eC),Q(this,Pn,e.defaultOptions||{}),Q(this,lo,new Map),Q(this,uo,new Map),Q(this,Tn,0)}mount(){Hs(this,Tn)._++,R(this,Tn)===1&&(Q(this,co,Fv.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,ve).onFocus())})),Q(this,fo,fa.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,ve).onOnline())})))}unmount(){var e,t;Hs(this,Tn)._--,R(this,Tn)===0&&((e=R(this,co))==null||e.call(this),Q(this,co,void 0),(t=R(this,fo))==null||t.call(this),Q(this,fo,void 0))}isFetching(e){return R(this,ve).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,An).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,ve).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=R(this,ve).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(qu(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return R(this,ve).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=R(this,ve).get(r.queryHash),s=o==null?void 0:o.state.data,i=IE(t,s);if(i!==void 0)return R(this,ve).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return $e.batch(()=>R(this,ve).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,ve).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=R(this,ve);$e.batch(()=>
176{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=R(this,ve);return $e.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=$e.batch(()=>R(this,ve).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Et).catch(Et)}invalidateQueries(e,t={}){return $e.batch(()=>(R(this,ve).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=$e.batch(()=>R(this,ve).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(Et)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Et)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=R(this,ve).build(this,t);return n.isStaleByTime(qu(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Et).catch(Et)}fetchInfiniteQuery(e){return e.behavior=kp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Et).catch(Et)}ensureInfiniteQueryData(e){return e.behavior=kp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return fa.isOnline()?R(this,An).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,ve)}getMutationCache(){return R(this,An)}getDefaultOptions(){return R(this,Pn)}setDefaultOptions(e){Q(this,Pn,e)}setQueryDefaults(e,t){R(this,lo).set(Cs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,lo).values()],n={};return t.forEach(r=>{ks(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){R(this,uo).set(Cs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,uo).values()],n={};return t.forEach(r=>{ks(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,Pn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Sd(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===Ed&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,Pn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,ve).clear(),R(this,An).clear()}},ve=new WeakMap,An=new WeakMap,Pn=new WeakMap,lo=new WeakMap,uo=new WeakMap,Tn=new WeakMap,co=new WeakMap,fo=new WeakMap,nh),rC=x.createContext(void 0),oC=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),g.jsx(rC.Provider,{value:e,children:t}));/**
177 * @remix-run/router v1.23.0
178 *
179 * Copyright (c) Remix Software Inc.
180 *
181 * This source code is licensed under the MIT license found in the
182 * LICENSE.md file in the root directory of this source tree.
183 *
184 * @license MIT
185 */function As(){return As=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},As.apply(this,arguments)}var _n;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(_n||(_n={}));const Pp="popstate";function sC(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:a}=r.location;return Xu("",{pathname:s,search:i,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:pa(o)}return aC(t,n,null,e)}function xe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Lv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function iC(){return Math.random().toString(36).substr(2,8)}function Tp(e,t){return{usr:e.state,key:e.key,idx:t}}function Xu(e,t,n,r){return n===void 0&&(n=null),As({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ro(t):t,{state:n,key:t&&t.key||r||iC()})}function pa(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 Ro(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 aC(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,a=_n.Pop,l=null,u=c();u==null&&(u=0,i.replaceState(As({},i.state,{idx:u}),""));function c(){return(i.state||{idx:null}).idx}function f(){a=_n.Pop;let w=c(),y=w==null?null:w-u;u=w,l&&l({action:a,location:v.location,delta:y})}function m(w,y){a=_n.Push;let d=Xu(v.location,w,y);u=c()+1;let h=Tp(d,u),b=v.createHref(d);try{i.pushState(h,"",b)}
vendor: 3,324 bytes, line 185
185catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(b)}s&&l&&l({action:a,location:v.location,delta:1})}function p(w,y){a=_n.Replace;let d=Xu(v.location,w,y);u=c();let h=Tp(d,u),b=v.createHref(d);i.replaceState(h,"",b),s&&l&&l({action:a,location:v.location,delta:0})}function S(w){let y=o.location.origin!=="null"?o.location.origin:o.location.href,d=typeof w=="string"?w:pa(w);return d=d.replace(/ $/,"%20"),xe(y,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,y)}let v={get action(){return a},get location(){return e(o,i)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Pp,f),l=w,()=>{o.removeEventListener(Pp,f),l=null}},createHref(w){return t(o,w)},createURL:S,encodeLocation(w){let y=S(w);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:m,replace:p,go(w){return i.go(w)}};return v}var Np;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Np||(Np={}));function lC(e,t,n){return n===void 0&&(n="/"),uC(e,t,n,!1)}function uC(e,t,n,r){let o=typeof t=="string"?Ro(t):t,s=So(o.pathname||"/",n);if(s==null)return null;let i=$v(e);cC(i);let a=null;for(let l=0;a==null&&l<i.length;++l){let u=bC(s);a=xC(i[l],u,r)}return a}function $v(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};l.relativePath.startsWith("/")&&(xe(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=zn([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(xe(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),$v(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:vC(u,s.index),routesMeta:c})};return e.forEach((s,i)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))o(s,i);else for(let l of zv(s.path))o(s,i,l)}),t}function zv(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=zv(r.join("/")),a=[];return a.push(...i.map(l=>l===""?s:[s,l].join("/"))),o&&a.push(...i),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function cC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:yC(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const dC=/^:[\w-]+$/,fC=3,pC=2,hC=1,mC=10,gC=-2,Rp=e=>e==="*";function vC(e,t){let n=e.split("/"),r=n.length;return n.some(Rp)&&(r+=gC),t&&(r+=pC),n.filter(o=>!Rp(o)).reduce((o,s)=>o+(dC.test(s)?fC:s===""?hC:mC),r)}function yC(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function xC(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=s==="/"?t:t.slice(s.length)||"/",f=ha({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),m=l.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=ha({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!f)return null;
vendor: 13,675 bytes, lines 185-203
185Object.assign(o,f.params),i.push({params:o,pathname:zn([s,f.pathname]),pathnameBase:kC(zn([s,f.pathnameBase])),route:m}),f.pathnameBase!=="/"&&(s=zn([s,f.pathnameBase]))}return i}function ha(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=wC(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,c,f)=>{let{paramName:m,isOptional:p}=c;if(m==="*"){let v=a[f]||"";i=s.slice(0,s.length-v.length).replace(/(.)\/+$/,"$1")}const S=a[f];return p&&!S?u[m]=void 0:u[m]=(S||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function wC(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Lv(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function bC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Lv(!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 So(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 SC(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ro(e):e;return{pathname:n?n.startsWith("/")?n:EC(n,t):t,search:AC(r),hash:PC(o)}}function EC(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Dl(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 CC(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Bv(e,t){let n=CC(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Uv(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ro(e):(o=As({},e),xe(!o.pathname||!o.pathname.includes("?"),Dl("?","pathname","search",o)),xe(!o.pathname||!o.pathname.includes("#"),Dl("#","pathname","hash",o)),xe(!o.search||!o.search.includes("#"),Dl("#","search","hash",o)));let s=e===""||o.pathname==="",i=s?"/":o.pathname,a;if(i==null)a=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),f-=1;o.pathname=m.join("/")}a=f>=0?t[f]:"/"}let l=SC(o,a),u=i&&i!=="/"&&i.endsWith("/"),c=(s||i===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const zn=e=>e.join("/").replace(/\/\/+/g,"/"),kC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),AC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,PC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function TC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Wv=["post","put","patch","delete"];new Set(Wv);const NC=["get",...Wv];new Set(NC);/**
186 * React Router v6.30.1
187 *
188 * Copyright (c) Remix Software Inc.
189 *
190 * This source code is licensed under the MIT license found in the
191 * LICENSE.md file in the root directory of this source tree.
192 *
193 * @license MIT
194 */function Ps(){return Ps=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},Ps.apply(this,arguments)}const Ga=x.createContext(null),Hv=x.createContext(null),Xn=x.createContext(null),Ka=x.createContext(null),Zn=x.createContext({outlet:null,matches:[],isDataRoute:!1}),Vv=x.createContext(null);function RC(e,t){let{relative:n}=t===void 0?{}:t;zs()||xe(!1);let{basename:r,navigator:o}=x.useContext(Xn),{hash:s,pathname:i,search:a}=Qa(e,{relative:n}),l=i;return r!=="/"&&(l=i==="/"?r:zn([r,i])),o.createHref({pathname:l,search:a,hash:s})}function zs(){return x.useContext(Ka)!=null}function Jn(){return zs()||xe(!1),x.useContext(Ka).location}function Gv(e){x.useContext(Xn).static||x.useLayoutEffect(e)}function Cd(){let{isDataRoute:e}=x.useContext(Zn);return e?WC():_C()}function _C(){zs()||xe(!1);let e=x.useContext(Ga),{basename:t,future:n,navigator:r}=x.useContext(Xn),{matches:o}=x.useContext(Zn),{pathname:s}=Jn(),i=JSON.stringify(Bv(o,n.v7_relativeSplatPath)),a=x.useRef(!1);return Gv(()=>{a.current=!0}),x.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Uv(u,JSON.parse(i),s,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:zn([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,i,s,e])}function Kv(){let{matches:e}=x.useContext(Zn),t=e[e.length-1];return t?t.params:{}}function Qa(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(Xn),{matches:o}=x.useContext(Zn),{pathname:s}=Jn(),i=JSON.stringify(Bv(o,r.v7_relativeSplatPath));return x.useMemo(()=>Uv(e,JSON.parse(i),s,n==="path"),[e,i,s,n])}function jC(e,t){return FC(e,t)}function FC(e,t,n,r){zs()||xe(!1);let{navigator:o}=x.useContext(Xn),{matches:s}=x.useContext(Zn),i=s[s.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let u=Jn(),c;if(t){var f;let w=typeof t=="string"?Ro(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||xe(!1),c=w}else c=u;let m=c.pathname||"/",p=m;if(l!=="/"){let w=l.replace(/^\//,"").split("/");p="/"+m.replace(/^\//,"").split("/").slice(w.length).join("/")}let S=lC(e,{pathname:p}),v=LC(S&&S.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:zn([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:zn([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&v?x.createElement(Ka.Provider,{value:{location:Ps({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:_n.Pop}},v):v}function IC(){let e=UC(),t=TC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const MC=x.createElement(IC,null);class OC extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(Zn.Provider,{value:this.props.routeContext},x.createElement(Vv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function DC(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(Ga);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Zn.Provider,{value:t},r)}function LC(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=i.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);c>=0||xe(!1),i=i.slice(0,Math.min(i.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<i.length;c++){let f=i[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=c),f.route.id){let{loaderData:m,errors:p}=n,S=f.route.loader&&m[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||S){l=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((c,f,m)=>{let p,S=!1,v=null,w=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,v=f.route.errorElement||MC,l&&(u<0&&m===0?(S=!0,w=null):u===m&&(S=!0,w=f.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,m+1)),d=()=>{let h;return p?h=v:S?h=w:f.route.Component?h=x.createElement(f.route.Component,null):f.route.element?h=f.route.element:h=c,x.createElement(DC,{match:f,routeContext:{outlet:c,matches:y,isDataRoute:n!=null},children:h})};return n&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?x.createElement(OC,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:d(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):d()},null)}var Qv=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Qv||{}),ma=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}(ma||{});function $C(e){let t=x.useContext(Ga);return t||xe(!1),t}function zC(e){let t=x.useContext(Hv);return t||xe(!1),t}function BC(e){let t=x.useContext(Zn);return t||xe(!1),t}function qv(e){let t=BC(),n=t.matches[t.matches.length-1];return n.route.id||xe(!1),n.route.id}function UC(){var e;let t=x.useContext(Vv),n=zC(ma.UseRouteError),r=qv(ma.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function WC(){let{router:e}=$C(Qv.UseNavigateStable),t=qv(ma.UseNavigateStable),n=x.useRef(!1);return Gv(()=>{n.current=!0}),x.useCallback(function(o,s){s===void 0&&(s={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Ps({fromRouteId:t},s)))},[e,t])}function HC(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Ko(e){xe(!1)}function VC(e){let{basename:t="/",children:n=null,location:r,navigationType:o=_n.Pop,navigator:s,static:i=!1,future:a}=e;zs()&&xe(!1);let l=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:s,static:i,future:Ps({v7_relativeSplatPath:!1},a)}),[l,a,s,i]);typeof r=="string"&&(r=Ro(r));let{pathname:c="/",search:f="",hash:m="",state:p=null,key:S="default"}=r,v=x.useMemo(()=>{let w=So(c,l);return w==null?null:{location:{pathname:w,search:f,hash:m,state:p,key:S},navigationType:o}},[l,c,f,m,p,S,o]);return v==null?null:x.createElement(Xn.Provider,{value:u},x.createElement(Ka.Provider,{children:n,value:v}))}function GC(e){let{children:t,location:n}=e;return jC(Zu(t),n)}new Promise(()=>{});function Zu(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let s=[...t,o];if(r.type===x.Fragment){n.push.apply(n,Zu(r.props.children,s));return}r.type!==Ko&&xe(!1),!r.props.index||!r.props.children||xe(!1);let i={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=Zu(r.props.children,s)),n.push(i)}),n}/**
195 * React Router DOM v6.30.1
196 *
197 * Copyright (c) Remix Software Inc.
198 *
199 * This source code is licensed under the MIT license found in the
200 * LICENSE.md file in the root directory of this source tree.
201 *
202 * @license MIT
203 */function ga(){return ga=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},ga.apply(this,arguments)}function Yv(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function KC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function QC(e,t){return e.button===0&&(!t||t==="_self")&&!KC(e)}const qC=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],YC=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],XC="6";try{window.__reactRouterVersion=XC}catch{}const ZC=x.createContext({isTransitioning:!1}),JC="startTransition",_p=hc[JC];function ek(e){let{basename:t,children:n,future:r,window:o}=e,s=x.useRef();s.current==null&&(s.current=sC({window:o,v5Compat:!0}));let i=s.current,[a,l]=x.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},c=x.useCallback(f=>{u&&_p?_p(()=>l(f)):l(f)},[l,u]);return x.useLayoutEffect(()=>i.listen(c),[i,c]),x.useEffect(()=>
203HC(r),[r]),x.createElement(VC,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i,future:r})}const tk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Bn=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:s,replace:i,state:a,target:l,to:u,preventScrollReset:c,viewTransition:f}=t,m=Yv(t,qC),{basename:p}=x.useContext(Xn),S,v=!1;if(typeof u=="string"&&nk.test(u)&&(S=u,tk))try{let h=new URL(window.location.href),b=u.startsWith("//")?new URL(h.protocol+u):new URL(u),E=So(b.pathname,p);b.origin===h.origin&&E!=null?u=E+b.search+b.hash:v=!0}catch{}let w=RC(u,{relative:o}),y=sk(u,{replace:i,state:a,target:l,preventScrollReset:c,relative:o,viewTransition:f});function d(h){r&&r(h),h.defaultPrevented||y(h)}return x.createElement("a",ga({},m,{href:S||w,onClick:v||s?r:d,ref:n,target:l}))}),rk=x.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:o=!1,className:s="",end:i=!1,style:a,to:l,viewTransition:u,children:c}=t,f=Yv(t,YC),m=Qa(l,{relative:f.relative}),p=Jn(),S=x.useContext(Hv),{navigator:v,basename:w}=x.useContext(Xn),y=S!=null&&ik(m)&&u===!0,d=v.encodeLocation?v.encodeLocation(m).pathname:m.pathname,h=p.pathname,b=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;o||(h=h.toLowerCase(),b=b?b.toLowerCase():null,d=d.toLowerCase()),b&&w&&(b=So(b,w)||b);const E=d!=="/"&&d.endsWith("/")?d.length-1:d.length;let C=h===d||!i&&h.startsWith(d)&&h.charAt(E)==="/",k=b!=null&&(b===d||!i&&b.startsWith(d)&&b.charAt(d.length)==="/"),A={isActive:C,isPending:k,isTransitioning:y},P=C?r:void 0,N;typeof s=="function"?N=s(A):N=[s,C?"active":null,k?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let D=typeof a=="function"?a(A):a;return x.createElement(Bn,ga({},f,{"aria-current":P,className:N,ref:n,style:D,to:l,viewTransition:u}),typeof c=="function"?c(A):c)});var Ju;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ju||(Ju={}));var jp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(jp||(jp={}));function ok(e){let t=x.useContext(Ga);return t||xe(!1),t}function sk(e,t){let{target:n,replace:r,state:o,preventScrollReset:s,relative:i,viewTransition:a}=t===void 0?{}:t,l=Cd(),u=Jn(),c=Qa(e,{relative:i});return x.useCallback(f=>{if(QC(f,n)){f.preventDefault();let m=r!==void 0?r:pa(u)===pa(c);l(e,{replace:m,state:o,preventScrollReset:s,relative:i,viewTransition:a})}},[u,l,c,r,o,n,e,s,i,a])}function ik(e,t){t===void 0&&(t={});let n=x.useContext(ZC);n==null&&xe(!1);let{basename:r}=ok(Ju.useViewTransitionState),o=Qa(e,{relative:t.relative});if(!n.isTransitioning)return!1;let s=So(n.currentLocation.pathname,r)||n.currentLocation.pathname,i=So(n.nextLocation.pathname,r)||n.nextLocation.pathname;return ha(o.pathname,i)!=null||ha(o.pathname,s)!=null}const Xv=x.createContext(void 0);function ak({children:e}){const[t,n]=x.useState(()=>{if(typeof window<"u"){const s=localStorage.getItem("docflow-theme");return s||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")}return"light"});x.useEffect(()=>{const s=window.document.documentElement;s.classList.remove("light","dark"),s.classList.add(t),localStorage.setItem("docflow-theme",t)},[t]);const r=()=>{n(s=>s==="light"?"dark":"light")},o=s=>{n(s)};return g.jsx(Xv.Provider,{value:{theme:t,toggleTheme:r,setTheme:o},children:e})}function lk(){const e=x.useContext(Xv);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e}const uk=Hg("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"}}),Tt=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const i=r?I1:"button";return g.jsx(i,{className:se(uk({variant:t,size:n,className:e})),ref:s,...o})});Tt.displayName="Button";function ck(){const{theme:e,toggleTheme:t}=lk();return g.jsx(Tt,{variant:"ghost",size:"icon",onClick:t,"aria-label":`Switch to ${e==="light"?"dark":"light"} mode`,children:e==="light"?g.jsx(Kg,{className:"h-5 w-5"}):g.jsx(zw,{className:"h-5 w-5"})})}var Ll="focusScope.autoFocusOnMount",$l="focusScope.autoFocusOnUnmount",Fp={bubbles:!1,cancelable:!0},dk="FocusScope",Zv=x.forwardRef((e,t)=>
vendor: 5,047 bytes, line 203
203{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=x.useState(null),u=Vt(o),c=Vt(s),f=x.useRef(null),m=Oe(t,v=>l(v)),p=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(r){let v=function(h){if(p.paused||!a)return;const b=h.target;a.contains(b)?f.current=b:xn(f.current,{select:!0})},w=function(h){if(p.paused||!a)return;const b=h.relatedTarget;b!==null&&(a.contains(b)||xn(f.current,{select:!0}))},y=function(h){if(document.activeElement===document.body)for(const E of h)E.removedNodes.length>0&&xn(a)};document.addEventListener("focusin",v),document.addEventListener("focusout",w);const d=new MutationObserver(y);return a&&d.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",w),d.disconnect()}}},[r,a,p.paused]),x.useEffect(()=>{if(a){Mp.add(p);const v=document.activeElement;if(!a.contains(v)){const y=new CustomEvent(Ll,Fp);a.addEventListener(Ll,u),a.dispatchEvent(y),y.defaultPrevented||(fk(vk(Jv(a)),{select:!0}),document.activeElement===v&&xn(a))}return()=>{a.removeEventListener(Ll,u),setTimeout(()=>{const y=new CustomEvent($l,Fp);a.addEventListener($l,c),a.dispatchEvent(y),y.defaultPrevented||xn(v??document.body,{select:!0}),a.removeEventListener($l,c),Mp.remove(p)},0)}}},[a,u,c,p]);const S=x.useCallback(v=>{if(!n&&!r||p.paused)return;const w=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,y=document.activeElement;if(w&&y){const d=v.currentTarget,[h,b]=pk(d);h&&b?!v.shiftKey&&y===b?(v.preventDefault(),n&&xn(h,{select:!0})):v.shiftKey&&y===h&&(v.preventDefault(),n&&xn(b,{select:!0})):y===d&&v.preventDefault()}},[n,r,p.paused]);return g.jsx(me.div,{tabIndex:-1,...i,ref:m,onKeyDown:S})});Zv.displayName=dk;function fk(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(xn(r,{select:t}),document.activeElement!==n)return}function pk(e){const t=Jv(e),n=Ip(t,e),r=Ip(t.reverse(),e);return[n,r]}function Jv(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ip(e,t){for(const n of e)if(!hk(n,{upTo:t}))return n}function hk(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 mk(e){return e instanceof HTMLInputElement&&"select"in e}function xn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&mk(e)&&t&&e.select()}}var Mp=gk();function gk(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Op(e,t),e.unshift(t)},remove(t){var n;e=Op(e,t),(n=e[0])==null||n.resume()}}}function Op(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function vk(e){return e.filter(t=>t.tagName!=="A")}var zl=0;function yk(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Dp()),document.body.insertAdjacentElement("beforeend",e[1]??Dp()),zl++,()=>{zl===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),zl--}},[])}function Dp(){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 Ut=function(){return Ut=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Ut.apply(this,arguments)};function ey(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function xk(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Mi="right-scroll-bar-position",Oi="width-before-scroll-bar",wk="with-scroll-bars-hidden",bk="--removed-body-scroll-bar-size";function Bl(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Sk(e,t){var n=x.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Ek=typeof window<"u"?x.useLayoutEffect:x.useEffect,Lp=new WeakMap;function Ck(e,t){var n=Sk(null,function(r){return e.forEach(function(o){return Bl(o,r)})});return Ek(function(){var r=Lp.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Bl(a,null)}
vendor: 4,153 bytes, lines 203-218
203),s.forEach(function(a){o.has(a)||Bl(a,i)})}Lp.set(n,e)},[e]),n}function kk(e){return e}function Ak(e,t){t===void 0&&(t=kk);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var l=function(){var c=i;i=[],c.forEach(s)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){i.push(c),u()},filter:function(c){return i=i.filter(c),n}}}};return o}function Pk(e){e===void 0&&(e={});var t=Ak(null);return t.options=Ut({async:!0,ssr:!1},e),t}var ty=function(e){var t=e.sideCar,n=ey(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 x.createElement(r,Ut({},n))};ty.isSideCarExport=!0;function Tk(e,t){return e.useMedium(t),ty}var ny=Pk(),Ul=function(){},qa=x.forwardRef(function(e,t){var n=x.useRef(null),r=x.useState({onScrollCapture:Ul,onWheelCapture:Ul,onTouchMoveCapture:Ul}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,m=e.sideCar,p=e.noRelative,S=e.noIsolation,v=e.inert,w=e.allowPinchZoom,y=e.as,d=y===void 0?"div":y,h=e.gapMode,b=ey(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=m,C=Ck([n,t]),k=Ut(Ut({},b),o);return x.createElement(x.Fragment,null,c&&x.createElement(E,{sideCar:ny,removeScrollBar:u,shards:f,noRelative:p,noIsolation:S,inert:v,setCallbacks:s,allowPinchZoom:!!w,lockRef:n,gapMode:h}),i?x.cloneElement(x.Children.only(a),Ut(Ut({},k),{ref:C})):x.createElement(d,Ut({},k,{className:l,ref:C}),a))});qa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};qa.classNames={fullWidth:Oi,zeroRight:Mi};var Nk=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Rk(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Nk();return t&&e.setAttribute("nonce",t),e}function _k(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function jk(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Fk=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Rk())&&(_k(t,n),jk(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ik=function(){var e=Fk();return function(t,n){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ry=function(){var e=Ik(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Mk={left:0,top:0,right:0,gap:0},Wl=function(e){return parseInt(e||"",10)||0},Ok=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Wl(n),Wl(r),Wl(o)]},Dk=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Mk;var t=Ok(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])}},Lk=ry(),ro="data-scroll-locked",$k=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
204  .`.concat(wk,` {
205   overflow: hidden `).concat(r,`;
206   padding-right: `).concat(a,"px ").concat(r,`;
207  }
208  body[`).concat(ro,`] {
209    overflow: hidden `).concat(r,`;
210    overscroll-behavior: contain;
211    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
212    padding-left: `.concat(o,`px;
213    padding-top: `).concat(s,`px;
214    padding-right: `).concat(i,`px;
215    margin-left:0;
216    margin-top:0;
217    margin-right: `).concat(a,"px ").concat(r,`;
218    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
218")].filter(Boolean).join(""),`
219  }
220  
221  .`).concat(Mi,` {
222    right: `).concat(a,"px ").concat(r,`;
223  }
224  
225  .`).concat(Oi,` {
226    margin-right: `).concat(a,"px ").concat(r,`;
227  }
228  
229  .`).concat(Mi," .").concat(Mi,` {
230    right: 0 `).concat(r,`;
231  }
232  
233  .`).concat(Oi," .").concat(Oi,` {
234    margin-right: 0 `).concat(r,`;
235  }
236  
237  body[`).concat(ro,`] {
238    `).concat(bk,": ").concat(a,`px;
239  }
240`)},$p=function(){var e=parseInt(document.body.getAttribute(ro)||"0",10);return isFinite(e)?e:0},zk=function(){x.useEffect(function(){return document.body.setAttribute(ro,($p()+1).toString()),function(){var e=$p()-1;e<=0?document.body.removeAttribute(ro):document.body.setAttribute(ro,e.toString())}},[])},Bk=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;zk();var s=x.useMemo(function(){return Dk(o)},[o]);return x.createElement(Lk,{styles:$k(s,!t,o,n?"":"!important")})},ec=!1;if(typeof window<"u")try{var pi=Object.defineProperty({},"passive",{get:function(){return ec=!0,!0}});window.addEventListener("test",pi,pi),window.removeEventListener("test",pi,pi)}catch{ec=!1}var Ir=ec?{passive:!1}:!1,Uk=function(e){return e.tagName==="TEXTAREA"},oy=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Uk(e)&&n[t]==="visible")},Wk=function(e){return oy(e,"overflowY")},Hk=function(e){return oy(e,"overflowX")},zp=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=sy(e,r);if(o){var s=iy(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Vk=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Gk=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},sy=function(e,t){return e==="v"?Wk(t):Hk(t)},iy=function(e,t){return e==="v"?Vk(t):Gk(t)},Kk=function(e,t){return e==="h"&&t==="rtl"?-1:1},Qk=function(e,t,n,r,o){var s=Kk(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,l=t.contains(a),u=!1,c=i>0,f=0,m=0;do{if(!a)break;var p=iy(e,a),S=p[0],v=p[1],w=p[2],y=v-w-s*S;(S||y)&&sy(e,a)&&(f+=y,m+=S);var d=a.parentNode;a=d&&d.nodeType===Node.DOCUMENT_FRAGMENT_NODE?d.host:d}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&(Math.abs(f)<1||!o)||!c&&(Math.abs(m)<1||!o))&&(u=!0),u},hi=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Bp=function(e){return[e.deltaX,e.deltaY]},Up=function(e){return e&&"current"in e?e.current:e},qk=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Yk=function(e){return`
241  .block-interactivity-`.concat(e,` {pointer-events: none;}
242  .allow-interactivity-`).concat(e,` {pointer-events: all;}
243`)},Xk=0,Mr=[];function Zk(e){var t=x.useRef([]),n=x.useRef([0,0]),r=x.useRef(),o=x.useState(Xk++)[0],s=x.useState(ry)[0],i=x.useRef(e);x.useEffect(function(){i.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=xk([e.lockRef.current],(e.shards||[]).map(Up),!0).filter(Boolean);return v.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=x.useCallback(function(v,w){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!i.current.allowPinchZoom;var y=hi(v),d=n.current,h="deltaX"in v?v.deltaX:d[0]-y[0],b="deltaY"in v?v.deltaY:d[1]-y[1],E,C=v.target,k=Math.abs(h)>Math.abs(b)?"h":"v";if("touches"in v&&k==="h"&&C.type==="range")return!1;var A=zp(k,C);if(!A)return!0;if(A?E=k:(E=k==="v"?"h":"v",A=zp(k,C)),!A)return!1;if(!r.current&&"changedTouches"in v&&(h||b)&&(r.current=E),!E)return!0;var P=r.current||E;return Qk(P,w,v,P==="h"?h:b,!0)},[]),l=x.useCallback(function(v){var w=v;if(!(!Mr.length||Mr[Mr.length-1]!==s)){var y="deltaY"in w?Bp(w):hi(w),d=t.current.filter(function(E){return E.name===w.type&&(E.target===w.target||w.target===E.shadowParent)&&qk(E.delta,y)})[0];if(d&&d.should){w.cancelable&&w.preventDefault();return}
vendor: 4,333 bytes, line 243
243if(!d){var h=(i.current.shards||[]).map(Up).filter(Boolean).filter(function(E){return E.contains(w.target)}),b=h.length>0?a(w,h[0]):!i.current.noIsolation;b&&w.cancelable&&w.preventDefault()}}},[]),u=x.useCallback(function(v,w,y,d){var h={name:v,delta:w,target:y,should:d,shadowParent:Jk(y)};t.current.push(h),setTimeout(function(){t.current=t.current.filter(function(b){return b!==h})},1)},[]),c=x.useCallback(function(v){n.current=hi(v),r.current=void 0},[]),f=x.useCallback(function(v){u(v.type,Bp(v),v.target,a(v,e.lockRef.current))},[]),m=x.useCallback(function(v){u(v.type,hi(v),v.target,a(v,e.lockRef.current))},[]);x.useEffect(function(){return Mr.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Ir),document.addEventListener("touchmove",l,Ir),document.addEventListener("touchstart",c,Ir),function(){Mr=Mr.filter(function(v){return v!==s}),document.removeEventListener("wheel",l,Ir),document.removeEventListener("touchmove",l,Ir),document.removeEventListener("touchstart",c,Ir)}},[]);var p=e.removeScrollBar,S=e.inert;return x.createElement(x.Fragment,null,S?x.createElement(s,{styles:Yk(o)}):null,p?x.createElement(Bk,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Jk(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const eA=Tk(ny,Zk);var ay=x.forwardRef(function(e,t){return x.createElement(qa,Ut({},e,{ref:t,sideCar:eA}))});ay.classNames=qa.classNames;var tA=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Or=new WeakMap,mi=new WeakMap,gi={},Hl=0,ly=function(e){return e&&(e.host||ly(e.parentNode))},nA=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ly(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})},rA=function(e,t,n,r){var o=nA(t,Array.isArray(e)?e:[e]);gi[n]||(gi[n]=new WeakMap);var s=gi[n],i=[],a=new Set,l=new Set(o),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(m){if(a.has(m))c(m);else try{var p=m.getAttribute(r),S=p!==null&&p!=="false",v=(Or.get(m)||0)+1,w=(s.get(m)||0)+1;Or.set(m,v),s.set(m,w),i.push(m),v===1&&S&&mi.set(m,!0),w===1&&m.setAttribute(n,"true"),S||m.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",m,y)}})};return c(t),a.clear(),Hl++,function(){i.forEach(function(f){var m=Or.get(f)-1,p=s.get(f)-1;Or.set(f,m),s.set(f,p),m||(mi.has(f)||f.removeAttribute(r),mi.delete(f)),p||f.removeAttribute(n)}),Hl--,Hl||(Or=new WeakMap,Or=new WeakMap,mi=new WeakMap,gi={})}},oA=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=tA(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),rA(r,o,n,"aria-hidden")):function(){return null}},Ya="Dialog",[uy,Q2]=Ao(Ya),[sA,It]=uy(Ya),cy=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!0}=e,a=x.useRef(null),l=x.useRef(null),[u,c]=id({prop:r,defaultProp:o??!1,onChange:s,caller:Ya});return g.jsx(sA,{scope:t,triggerRef:a,contentRef:l,contentId:Fi(),titleId:Fi(),descriptionId:Fi(),open:u,onOpenChange:c,onOpenToggle:x.useCallback(()=>c(f=>!f),[c]),modal:i,children:n})};cy.displayName=Ya;var dy="DialogTrigger",iA=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=It(dy,n),s=Oe(t,o.triggerRef);return g.jsx(me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Pd(o.open),...r,ref:s,onClick:le(e.onClick,o.onOpenToggle)})});iA.displayName=dy;var kd="DialogPortal",[aA,fy]=uy(kd,{forceMount:void 0}),py=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=It(kd,t);return g.jsx(aA,{scope:t,forceMount:n,children:x.Children.map(r,i=>g.jsx(Tr,{present:n||s.open,children:g.jsx(sd,{asChild:!0,container:o,children:i})}))})};py.displayName=kd;var va="DialogOverlay",hy=x.forwardRef((e,t)=>{const n=fy(va,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=It(va,e.__scopeDialog);return s.modal?g.jsx(Tr,{present:r||s.open,children:g.jsx(uA,{...o,ref:t})}):null});hy.displayName=va;var lA=bs("DialogOverlay.RemoveScroll"),uA=x.forwardRef((e,t)=>
vendor: 4,628 bytes, lines 243-247
243{const{__scopeDialog:n,...r}=e,o=It(va,n);return g.jsx(ay,{as:lA,allowPinchZoom:!0,shards:[o.contentRef],children:g.jsx(me.div,{"data-state":Pd(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),kr="DialogContent",my=x.forwardRef((e,t)=>{const n=fy(kr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=It(kr,e.__scopeDialog);return g.jsx(Tr,{present:r||s.open,children:s.modal?g.jsx(cA,{...o,ref:t}):g.jsx(dA,{...o,ref:t})})});my.displayName=kr;var cA=x.forwardRef((e,t)=>{const n=It(kr,e.__scopeDialog),r=x.useRef(null),o=Oe(t,n.contentRef,r);return x.useEffect(()=>{const s=r.current;if(s)return oA(s)},[]),g.jsx(gy,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:le(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),(i=n.triggerRef.current)==null||i.focus()}),onPointerDownOutside:le(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&s.preventDefault()}),onFocusOutside:le(e.onFocusOutside,s=>s.preventDefault())})}),dA=x.forwardRef((e,t)=>{const n=It(kr,e.__scopeDialog),r=x.useRef(!1),o=x.useRef(!1);return g.jsx(gy,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var i,a;(i=e.onCloseAutoFocus)==null||i.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(i))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),gy=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,...i}=e,a=It(kr,n),l=x.useRef(null),u=Oe(t,l);return yk(),g.jsxs(g.Fragment,{children:[g.jsx(Zv,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:g.jsx(Oa,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Pd(a.open),...i,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),g.jsxs(g.Fragment,{children:[g.jsx(fA,{titleId:a.titleId}),g.jsx(hA,{contentRef:l,descriptionId:a.descriptionId})]})]})}),Ad="DialogTitle",vy=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=It(Ad,n);return g.jsx(me.h2,{id:o.titleId,...r,ref:t})});vy.displayName=Ad;var yy="DialogDescription",xy=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=It(yy,n);return g.jsx(me.p,{id:o.descriptionId,...r,ref:t})});xy.displayName=yy;var wy="DialogClose",by=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=It(wy,n);return g.jsx(me.button,{type:"button",...r,ref:t,onClick:le(e.onClick,()=>o.onOpenChange(!1))})});by.displayName=wy;function Pd(e){return e?"open":"closed"}var Sy="DialogTitleWarning",[q2,Ey]=j1(Sy,{contentName:kr,titleName:Ad,docsSlug:"dialog"}),fA=({titleId:e})=>{const t=Ey(Sy),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
244
245If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
246
247For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},pA="DialogDescriptionWarning",hA=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Ey(pA).contentName}}.`;return x.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},mA=cy,gA=py,Cy=hy,ky=my,Ay=vy,Py=xy,vA=by;const yA=mA,xA=gA,Ty=x.forwardRef(({className:e,...t},n)=>g.jsx(Cy,{ref:n,className:se("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}));Ty.displayName=Cy.displayName;const Ny=x.forwardRef(({className:e,children:t,...n},r)=>g.jsxs(xA,{children:[g.jsx(Ty,{}),g.jsxs(ky,{ref:r,className:se("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
247nded-lg",e),...n,children:[t,g.jsxs(vA,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[g.jsx(fd,{className:"h-4 w-4"}),g.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ny.displayName=ky.displayName;const wA=x.forwardRef(({className:e,...t},n)=>g.jsx(Ay,{ref:n,className:se("text-lg font-semibold leading-none tracking-tight",e),...t}));wA.displayName=Ay.displayName;const bA=x.forwardRef(({className:e,...t},n)=>g.jsx(Py,{ref:n,className:se("text-sm text-muted-foreground",e),...t}));bA.displayName=Py.displayName;const Ry=[{title:"Getting Started",slug:"getting-started",emoji:"🚀",articles:[{title:"Introduction",slug:"introduction"},{title:"Installation",slug:"installation"},{title:"Quick Start",slug:"quick-start"}]},{title:"Guides",slug:"guides",emoji:"📖",articles:[{title:"Authentication",slug:"authentication"},{title:"Error Handling",slug:"error-handling"},{title:"Rate Limiting",slug:"rate-limiting"},{title:"Webhooks",slug:"webhooks"},{title:"Pagination",slug:"pagination"}]},{title:"API Reference",slug:"api-reference",emoji:"⚡",articles:[{title:"Users",slug:"users"},{title:"Products",slug:"products"}]},{title:"Examples",slug:"examples",emoji:"💡",articles:[{title:"Basic Usage",slug:"basic-usage"}]}],_y={introduction:{slug:"introduction",title:"Introduction",description:"Learn what Acme API is and how it can help you build amazing products.",category:"Getting Started",categorySlug:"getting-started",lastUpdated:"2026-01-06",readingTime:3,content:`
248# Introduction
249
250Welcome to the Acme API documentation! Acme API is a powerful, developer-friendly platform that helps you build amazing products faster.
251
252## What is Acme API?
253
254Acme API provides a comprehensive set of tools and endpoints that enable you to:
255
256- **Manage Users**: Create, update, and authenticate users with ease
257- **Handle Products**: Full CRUD operations for your product catalog
258- **Process Payments**: Secure payment processing with multiple providers
259- **Send Notifications**: Email, SMS, and push notifications
260
261## Why Choose Acme API?
262
263### Developer Experience
264We've built Acme API with developers in mind. Our SDKs are available in multiple languages, and our documentation includes real-world examples for every endpoint.
265
266### Scalability
267Whether you're a startup or an enterprise, Acme API scales with your needs. Our infrastructure handles millions of requests per day.
268
269### Security
270Security is our top priority. All API communications are encrypted, and we offer multiple authentication methods including OAuth 2.0 and API keys.
271
272## Getting Help
273
274If you need help, you have several options:
275
2761. **Documentation**: You're already here! Browse through our comprehensive guides and API reference.
2772. **Community**: Join our [Discord community](https://discord.gg/acme) to connect with other developers.
2783. **Support**: For enterprise customers, reach out to our dedicated support team.
279
280Ready to get started? Head over to the [Installation](/docs/installation) guide.
281    `},installation:{slug:"installation",title:"Installation",description:"Step-by-step guide to installing the Acme API SDK in your project.",category:"Getting Started",categorySlug:"getting-started",lastUpdated:"2026-01-05",readingTime:5,content:`
282# Installation
283
284Get the Acme API SDK installed in your project in just a few minutes.
285
286## Prerequisites
287
288Before you begin, make sure you have:
289
290- Node.js 18.x or higher
291- npm, yarn, or pnpm
292- An Acme API account ([sign up here](https://acme.dev/signup))
293
294## Install the SDK
295
296Choose your preferred package manager:
297
298\`\`\`bash
299# Using npm
300npm install @acme/api-sdk
301
302# Using yarn
303yarn add @acme/api-sdk
304
305# Using pnpm
306pnpm add @acme/api-sdk
307\`\`\`
308
309## Configuration
310
311After installation, you'll need to configure the SDK with your API key:
312
313\`\`\`javascript
314import { AcmeClient } from '@acme/api-sdk';
315
316const client = new AcmeClient({
317  apiKey: process.env.ACME_API_KEY,
318  environment: 'production', // or 'sandbox' for testing
319});
320\`\`\`
321
322:::info
323Never commit your API key to version control. Use environment variables instead.
324:::
325
326## Verify Installation
327
328Test your installation by making a simple API call:
329
330\`\`\`javascript
331async function testConnection() {
332  try {
333    const status = await client.health.check();
334    console.log('API Status:', status);
335  } catch (error) {
336    console.error('Connection failed:', error.message);
337  }
338}
339
340testConnection();
341\`\`\`
342
343You should see a response like:
344
345\`\`\`json
346{
347  "status": "healthy",
348  "version": "3.0.0",
349  "timestamp": "2026-01-06T10:30:00Z"
350}
351\`\`\`
352
353## Next Steps
354
355Now that you've installed the SDK, proceed to the [Quick Start](/docs/quick-start) guide to make your first API call.
356    `},"quick-start":{slug:"quick-start",title:"Quick Start",description:"Get up and running with Acme API in under 5 minutes.",category:"Getting Started",categorySlug:"getting-started",lastUpdated:"2026-01-06",readingTime:4,content:`
357# Quick Start
358
359This guide will have you making API calls in under 5 minutes.
360
361## Step 1: Get Your API Key
362
3631. Log in to your [Acme Dashboard](https://dashboard.acme.dev)
3642. Navigate to **Settings** → **API Keys**
3653. Click **Create New Key**
3664. Copy your key and store it securely
367
368## Step 2: Initialize the Client
369
370\`\`\`javascript
371import { AcmeClient } from '@acme/api-sdk';
372
373const client = new AcmeClient({
374  apiKey: 'your-api-key-here',
375});
376\`\`\`
377
378## Step 3: Make Your First Request
379
380Let's create a user:
381
382\`\`\`javascript
383async function createUser() {
384  const user = await client.users.create({
385    email: '[email protected]',
386    name: 'John Doe',
387    role: 'user',
388  });
389  
390  console.log('Created user:', user);
391  return user;
392}
393\`\`\`
394
395## Step 4: List All Users
396
397\`\`\`javascript
398async function listUsers() {
399  const users = await client.users.list({
400    limit: 10,
401    offset: 0,
402  });
403  
404  console.log('Users:', users.data);
405  console.log('Total:', users.total);
406}
407\`\`\`
408
409## Complete Example
410
411Here's a complete example putting it all together:
412
413\`\`\`javascript
414import { AcmeClient } from '@acme/api-sdk';
415
416const client = new AcmeClient({
417  apiKey: process.env.ACME_API_KEY,
418});
419
420async function main() {
421  // Create a new user
422  const newUser = await client.users.create({
423    email: '[email protected]',
424    name: 'Jane Smith',
425    role: 'admin',
426  });
427  
428  console.log('Created:', newUser);
429  
430  // Fetch the user by ID
431  const user = await client.users.get(newUser.id);
432  console.log('Fetched:', user);
433  
434  // Update the user
435  const updated = await client.users.update(newUser.id, {
436    name: 'Jane Doe',
437  });
438  console.log('Updated:', updated);
439  
440  // List all users
441  const allUsers = await client.users.list();
442  console.log('All users:', allUsers.data.length);
443}
444
445main().catch(console.error);
446\`\`\`
447
448## What's Next?
449
450- Learn about [Authentication](/docs/authentication) to secure your API calls
451- Explore the [API Reference](/docs/api-reference/users) for all available endpoints
452- Check out [Examples](/docs/examples/basic-usage) for more use cases
453    `},authentication:{slug:"authentication",title:"Authentication",description:"Learn how to authenticate your API requests securely.",category:"Guides",categorySlug:"guides",lastUpdated:"2026-01-04",readingTime:6,content:`
454# Authentication
455
456Acme API supports multiple authentication methods to fit your use case.
457
458## API Key Authentication
459
460The simplest way to authenticate is with an API key:
461
462\`\`\`javascript
463const client = new AcmeClient({
464  apiKey: 'your-api-key',
465});
466\`\`\`
467
468Include the API key in the \`Authorization\` header:
469
470\`\`\`bash
471curl https://api.acme.dev/v1/users \\
472  -H "Authorization: Bearer your-api-key"
473\`\`\`
474
475:::warning
476API keys provide full access to your account. Keep them secret and never expose them in client-side code.
477:::
478
479## OAuth 2.0
480
481For user-facing applications, we recommend OAuth 2.0:
482
483### Step 1: Redirect to Authorization
484
485\`\`\`javascript
486const authUrl = client.oauth.getAuthorizationUrl({
487  clientId: 'your-client-id',
488  redirectUri: 'https://yourapp.com/callback',
489  scope: ['users:read', 'users:write'],
490});
491
492// Redirect the user to authUrl
493\`\`\`
494
495### Step 2: Exchange Code for Token
496
497\`\`\`javascript
498const { accessToken, refreshToken } = await client.oauth.exchangeCode({
499  code: 'authorization-code-from-callback',
500  clientId: 'your-client-id',
501  clientSecret: 'your-client-secret',
502  redirectUri: 'https://yourapp.com/callback',
503});
504\`\`\`
505
506### Step 3: Use the Access Token
507
508\`\`\`javascript
509const client = new AcmeClient({
510  accessToken: accessToken,
511});
512
513// Make authenticated requests
514const user = await client.users.me();
515\`\`\`
516
517## Refresh Tokens
518
519Access tokens expire after 1 hour. Use refresh tokens to get new access tokens:
520
521\`\`\`javascript
522const { accessToken: newToken } = await client.oauth.refreshToken({
523  refreshToken: 'your-refresh-token',
524  clientId: 'your-client-id',
525  clientSecret: 'your-client-secret',
526});
527\`\`\`
528
529## Scopes
530
531| Scope | Description |
532|-------|-------------|
533| \`users:read\` | Read user information |
534| \`users:write\` | Create and update users |
535| \`products:read\` | Read product catalog |
536| \`products:write\` | Manage products |
537| \`orders:read\` | View orders |
538| \`orders:write\` | Create and manage orders |
539
540## Best Practices
541
5421. **Rotate keys regularly**: Generate new API keys every 90 days
5432. **Use environment variables**: Never hardcode secrets
5443. **Limit scopes**: Request only the permissions you need
5454. **Monitor usage**: Check your dashboard for unusual activity
546    `},"error-handling":{slug:"error-handling",title:"Error Handling",description:"Learn how to handle API errors gracefully in your application.",category:"Guides",categorySlug:"guides",lastUpdated:"2026-01-03",readingTime:5,content:`
547# Error Handling
548
549The Acme API uses standard HTTP status codes and returns detailed error messages.
550
551## Error Response Format
552
553All errors follow this structure:
554
555\`\`\`json
556{
557  "error": {
558    "code": "validation_error",
559    "message": "The request body is invalid",
560    "details": [
561      {
562        "field": "email",
563        "message": "Invalid email format"
564      }
565    ]
566  }
567}
568\`\`\`
569
570## HTTP Status Codes
571
572| Code | Description |
573|------|-------------|
574| \`400\` | Bad Request - Invalid parameters |
575| \`401\` | Unauthorized - Invalid or missing API key |
576| \`403\` | Forbidden - Insufficient permissions |
577| \`404\` | Not Found - Resource doesn't exist |
578| \`409\` | Conflict - Resource already exists |
579| \`422\` | Unprocessable Entity - Validation failed |
580| \`429\` | Too Many Requests - Rate limit exceeded |
581| \`500\` | Internal Server Error - Something went wrong |
582
583## Error Codes
584
585Common error codes you'll encounter:
586
587- \`invalid_api_key\` - The API key is invalid or expired
588- \`validation_error\` - Request validation failed
589- \`resource_not_found\` - The requested resource doesn't exist
590- \`rate_limit_exceeded\` - Too many requests
591- \`insufficient_permissions\` - Missing required scope
592
593## Handling Errors in JavaScript
594
595\`\`\`javascript
596import { AcmeClient, AcmeError } from '@acme/api-sdk';
597
598const client = new AcmeClient({ apiKey: 'your-key' });
599
600async function createUser(data) {
601  try {
602    const user = await client.users.create(data);
603    return user;
604  } catch (error) {
605    if (error instanceof AcmeError) {
606      switch (error.code) {
607        case 'validation_error':
608          console.error('Validation failed:', error.details);
609          break;
610        case 'rate_limit_exceeded':
611          console.error('Rate limited. Retry after:', error.retryAfter);
612          break;
613        default:
614          console.error('API error:', error.message);
615      }
616    } else {
617      console.error('Network error:', error.message);
618    }
619    throw error;
620  }
621}
622\`\`\`
623
624## Retry Logic
625
626For transient errors, implement exponential backoff:
627
628\`\`\`javascript
629async function withRetry(fn, maxRetries = 3) {
630  for (let attempt = 1; attempt <= maxRetries; attempt++) {
631    try {
632      return await fn();
633    } catch (error) {
634      if (error.code === 'rate_limit_exceeded' && attempt < maxRetries) {
635        const delay = Math.pow(2, attempt) * 1000;
636        await new Promise(resolve => setTimeout(resolve, delay));
637        continue;
638      }
639      throw error;
640    }
641  }
642}
643
644// Usage
645const user = await withRetry(() => client.users.get(userId));
646\`\`\`
647
648:::info
649Our SDK includes built-in retry logic for rate limits and transient errors. You can configure this behavior in the client options.
650:::
651    `},"rate-limiting":{slug:"rate-limiting",title:"Rate Limiting",description:"Understand and work with Acme API rate limits.",category:"Guides",categorySlug:"guides",lastUpdated:"2026-01-05",readingTime:4,content:`
652# Rate Limiting
653
654Acme API implements rate limiting to ensure fair usage and maintain service stability for all users.
655
656## Rate Limit Tiers
657
658| Plan | Requests/Minute | Requests/Day |
659|------|-----------------|--------------|
660| Free | 60 | 1,000 |
661| Pro | 600 | 50,000 |
662| Enterprise | 6,000 | Unlimited |
663
664## Rate Limit Headers
665
666Every API response includes headers to help you track your usage:
667
668\`\`\`
669X-RateLimit-Limit: 600
670X-RateLimit-Remaining: 599
671X-RateLimit-Reset: 1704531600
672\`\`\`
673
674## Handling Rate Limits
675
676When you exceed the rate limit, the API returns a \`429 Too Many Requests\` response:
677
678\`\`\`json
679{
680  "error": {
681    "code": "rate_limit_exceeded",
682    "message": "Rate limit exceeded. Try again in 45 seconds.",
683    "retryAfter": 45
684  }
685}
686\`\`\`
687
688### Implementing Backoff
689
690\`\`\`javascript
691async function apiCallWithBackoff(fn) {
692  try {
693    return await fn();
694  } catch (error) {
695    if (error.code === 'rate_limit_exceeded') {
696      const retryAfter = error.retryAfter || 60;
697      console.log(\`Rate limited. Waiting \${retryAfter}s...\`);
698      await sleep(retryAfter * 1000);
699      return await fn();
700    }
701    throw error;
702  }
703}
704\`\`\`
705
706## Best Practices
707
7081. **Cache responses**: Reduce API calls by caching data locally
7092. **Use webhooks**: Subscribe to events instead of polling
7103. **Batch requests**: Combine multiple operations when possible
7114. **Monitor usage**: Track your rate limit headers
7125. **Implement queuing**: Queue requests during high traffic periods
713
714## Requesting Higher Limits
715
716Enterprise customers can request custom rate limits. Contact [email protected] to discu
716ss your needs.
717    `},webhooks:{slug:"webhooks",title:"Webhooks",description:"Receive real-time notifications when events occur in your account.",category:"Guides",categorySlug:"guides",lastUpdated:"2026-01-04",readingTime:7,content:`
718# Webhooks
719
720Webhooks allow you to receive real-time notifications when events occur in your Acme account.
721
722## Setting Up Webhooks
723
724### 1. Create a Webhook Endpoint
725
726First, create an endpoint in your application to receive webhook events:
727
728\`\`\`javascript
729import express from 'express';
730
731const app = express();
732
733app.post('/webhooks/acme', express.raw({ type: 'application/json' }), (req, res) => {
734  const event = JSON.parse(req.body);
735  
736  console.log('Received event:', event.type);
737  
738  // Handle the event
739  switch (event.type) {
740    case 'user.created':
741      handleUserCreated(event.data);
742      break;
743    case 'order.completed':
744      handleOrderCompleted(event.data);
745      break;
746  }
747  
748  res.json({ received: true });
749});
750\`\`\`
751
752### 2. Register Your Endpoint
753
754Register your webhook endpoint in the Acme Dashboard or via API:
755
756\`\`\`javascript
757const webhook = await client.webhooks.create({
758  url: 'https://yourapp.com/webhooks/acme',
759  events: ['user.created', 'user.updated', 'order.completed'],
760});
761\`\`\`
762
763## Verifying Signatures
764
765Always verify webhook signatures to ensure requests are from Acme:
766
767\`\`\`javascript
768import crypto from 'crypto';
769
770function verifyWebhookSignature(payload, signature, secret) {
771  const expectedSignature = crypto
772    .createHmac('sha256', secret)
773    .update(payload)
774    .digest('hex');
775    
776  return crypto.timingSafeEqual(
777    Buffer.from(signature),
778    Buffer.from(expectedSignature)
779  );
780}
781
782app.post('/webhooks/acme', express.raw({ type: 'application/json' }), (req, res) => {
783  const signature = req.headers['x-acme-signature'];
784  
785  if (!verifyWebhookSignature(req.body, signature, process.env.WEBHOOK_SECRET)) {
786    return res.status(401).json({ error: 'Invalid signature' });
787  }
788  
789  // Process the verified event
790});
791\`\`\`
792
793## Available Events
794
795| Event | Description |
796|-------|-------------|
797| \`user.created\` | A new user was created |
798| \`user.updated\` | A user was updated |
799| \`user.deleted\` | A user was deleted |
800| \`order.created\` | A new order was placed |
801| \`order.completed\` | An order was fulfilled |
802| \`payment.succeeded\` | A payment was successful |
803| \`payment.failed\` | A payment failed |
804
805## Retry Policy
806
807If your endpoint returns a non-2xx status code, we'll retry the webhook:
808
809- 1st retry: 5 minutes
810- 2nd retry: 30 minutes
811- 3rd retry: 2 hours
812- 4th retry: 24 hours
813
814After 4 failed attempts, the webhook is marked as failed.
815    `},pagination:{slug:"pagination",title:"Pagination",description:"Learn how to paginate through large data sets efficiently.",category:"Guides",categorySlug:"guides",lastUpdated:"2026-01-03",readingTime:4,content:`
816# Pagination
817
818When working with large datasets, Acme API uses cursor-based pagination for optimal performance.
819
820## Basic Pagination
821
822All list endpoints support pagination with \`limit\` and \`offset\` parameters:
823
824\`\`\`javascript
825const users = await client.users.list({
826  limit: 20,   // Number of items per page (max: 100)
827  offset: 0,   // Number of items to skip
828});
829
830console.log(users.data);    // Array of users
831console.log(users.total);   // Total count
832console.log(users.hasMore); // Whether more items exist
833\`\`\`
834
835## Cursor-Based Pagination
836
837For better performance with large datasets, use cursor-based pagination:
838
839\`\`\`javascript
840let cursor = null;
841const allUsers = [];
842
843do {
844  const response = await client.users.list({
845    limit: 100,
846    cursor: cursor,
847  });
848  
849  allUsers.push(...response.data);
850  cursor = response.nextCursor;
851} while (cursor);
852\`\`\`
853
854## Response Format
855
856Paginated responses include metadata:
857
858\`\`\`json
859{
860  "data": [...],
861  "total": 1234,
862  "limit": 20,
863  "offset": 0,
864  "hasMore": true,
865  "nextCursor": "eyJpZCI6MTIzfQ=="
866}
867\`\`\`
868
869## Sorting
870
871Combine pagination with sorting:
872
873\`\`\`javascript
874const users = await client.users.list({
875  limit: 20,
876  sort: 'createdAt:desc',  // or 'name:asc'
877});
878\`\`\`
879
880## Filtering
881
882Apply filters to narrow results:
883
884\`\`\`javascript
885const activeUsers = await client.users.list({
886  limit: 20,
887  filter: {
888    status: 'active',
889    role: 'admin',
890  },
891});
892\`\`\`
893
894## Best Practices
895
8961. **Use reasonable page sizes**: 20-100 items is optimal
8972. **Prefer cursors for large datasets**: More efficient than offset
8983. **Cache total counts**: Avoid recalculating on every request
8994. **Implement infinite scroll**: Better UX for lists
900    `}
900,users:{slug:"users",title:"Users API",description:"Complete reference for the Users API endpoints.",category:"API Reference",categorySlug:"api-reference",lastUpdated:"2026-01-06",readingTime:8,content:`
901# Users API
902
903The Users API allows you to create, read, update, and delete user accounts.
904
905## Endpoints
906
907| Method | Endpoint | Description |
908|--------|----------|-------------|
909| GET | \`/v1/users\` | List all users |
910| POST | \`/v1/users\` | Create a new user |
911| GET | \`/v1/users/:id\` | Get a user by ID |
912| PATCH | \`/v1/users/:id\` | Update a user |
913| DELETE | \`/v1/users/:id\` | Delete a user |
914
915## User Object
916
917\`\`\`json
918{
919  "id": "usr_1234567890",
920  "email": "[email protected]",
921  "name": "John Doe",
922  "role": "user",
923  "avatar": "https://cdn.acme.dev/avatars/usr_1234567890.jpg",
924  "createdAt": "2026-01-06T10:30:00Z",
925  "updatedAt": "2026-01-06T10:30:00Z"
926}
927\`\`\`
928    `},products:{slug:"products",title:"Products API",description:"Complete reference for the Products API endpoints.",category:"API Reference",categorySlug:"api-reference",lastUpdated:"2026-01-05",readingTime:7,content:`
929# Products API
930
931The Products API allows you to manage your product catalog.
932
933## Endpoints
934
935| Method | Endpoint | Description |
936|--------|----------|-------------|
937| GET | \`/v1/products\` | List all products |
938| POST | \`/v1/products\` | Create a new product |
939| GET | \`/v1/products/:id\` | Get a product by ID |
940| PATCH | \`/v1/products/:id\` | Update a product |
941| DELETE | \`/v1/products/:id\` | Delete a product |
942
943## Product Object
944
945\`\`\`json
946{
947  "id": "prod_1234567890",
948  "name": "Premium Widget",
949  "description": "A high-quality widget for all your needs",
950  "price": 29.99,
951  "currency": "USD",
952  "inventory": 150,
953  "category": "widgets",
954  "images": [
955    "https://cdn.acme.dev/products/widget-1.jpg"
956  ],
957  "metadata": {},
958  "createdAt": "2026-01-05T10:30:00Z",
959  "updatedAt": "2026-01-05T10:30:00Z"
960}
961\`\`\`
962    `},"basic-usage":{slug:"basic-usage",title:"Basic Usage",description:"Real-world examples of common Acme API use cases.",category:"Examples",categorySlug:"examples",lastUpdated:"2026-01-04",readingTime:6,content:`
963# Basic Usage Examples
964
965This guide covers common use cases with complete code examples.
966
967## User Registration Flow
968
969\`\`\`javascript
970import { AcmeClient } from '@acme/api-sdk';
971
972const client = new AcmeClient({
973  apiKey: process.env.ACME_API_KEY,
974});
975
976async function registerUser(email, name, password) {
977  // Create the user
978  const user = await client.users.create({
979    email,
980    name,
981    password,
982    role: 'user',
983  });
984  
985  // Send welcome email
986  await client.emails.send({
987    to: email,
988    template: 'welcome',
989    data: { name },
990  });
991  
992  return user;
993}
994\`\`\`
995
996## Product Catalog with Pagination
997
998\`\`\`javascript
999async function* getAllProducts() {
1000  let offset = 0;
1001  const limit = 100;
1002  
1003  while (true) {
1004    const response = await client.products.list({
1005      limit,
1006      offset,
1007      sort: 'createdAt:desc',
1008    });
1009    
1010    for (const product of response.data) {
1011      yield product;
1012    }
1013    
1014    if (response.data.length < limit) {
1015      break;
1016    }
1017    
1018    offset += limit;
1019  }
1020}
1021
1022// Usage
1023for await (const product of getAllProducts()) {
1024  console.log(product.name);
1025}
1026\`\`\`
1027
1028## Webhook Handler
1029
1030\`\`\`javascript
1031import express from 'express';
1032import { AcmeWebhooks } from '@acme/api-sdk';
1033
1034const app = express();
1035const webhooks = new AcmeWebhooks(process.env.WEBHOOK_SECRET);
1036
1037app.post('/webhooks/acme', express.raw({ type: 'application/json' }), (req, res) => {
1038  const signature = req.headers['x-acme-signature'];
1039  
1040  try {
1041    const event = webhooks.verify(req.body, signature);
1042    
1043    switch (event.type) {
1044      case 'user.created':
1045        console.log('New user:', event.data.user);
1046        break;
1047      case 'order.completed':
1048        console.log('Order completed:', event.data.order);
1049        break;
1050    }
1051    
1052    res.json({ received: true });
1053  } catch (error) {
1054    console.error('Webhook error:', error.message);
1055    res.status(400).json({ error: 'Invalid signature' });
1056  }
1057});
1058\`\`\`
1059
1060## Search with Filters
1061
1062\`\`\`javascript
1063async function searchProducts(query, filters = {}) {
1064  const products = await client.products.search({
1065    query,
1066    filters: {
1067      category: filters.category,
1068      minPrice: filters.minPrice,
1069      maxPrice: filters.maxPrice,
1070      inStock: filters.inStock ?? true,
1071    },
1072    sort: 'relevance',
1073    limit: 20,
1074  });
1075  
1076  return products;
1077}
1078
1079// Usage
1080const results = await searchProducts('widget', {
1081  category: 'electronics',
1082  minPrice: 10,
1083  maxPrice: 100,
1084});
1085\`\`\`
1086    `}};function SA(){return Object.values(_y).map(e=>({title:e.title,slug:e.slug,category:e.category,categorySlug:e.categorySlug,excerpt:e.content.replace(/[#*`]/g,"").substring(0,200)}))}function EA(e){return _y[e]}function CA(e){const t=Ry.flatMap(r=>r.articles),n=t.findIndex(r=>r.slug===e);return{prev:n>0?t[n-1]:void 0,next:n<t.length-1?t[n+1]:void 0}}function er(e){return Array.isArray?Array.isArray(e):Fy(e)==="[object Array]"}function kA(e){if(typeof e=="string")return e;if(typeof e=="bigint")return e.toString();const t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function tc(e){return e==null?"":kA(e)}function ze(e){return typeof e=="string"}function Di(e){return typeof e=="number"}function AA(e){return e===!0||e===!1||PA(e)&&Fy(e)=="[object Boolean]"}function jy(e){return typeof e=="object"}function PA(e){return jy(e)&&e!==null}function Ge(e){return e!=null}function vi(e){return!e.trim().length}
1086function Fy(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const TA="Incorrect 'index' type",NA=e=>`Invalid value for key ${e}`,RA=e=>`Pattern length exceeds max of ${e}.`,_A=e=>`Missing ${e} property in key`,jA=e=>`Property 'weight' in key '${e}' must be a positive integer`,Wp=Object.prototype.hasOwnProperty;class FA{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{const o=Iy(r);this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Iy(e){let t=null,n=null,r=null,o=1,s=null;if(ze(e)||er(e))r=e,t=Hp(e),n=nc(e);else{if(!Wp.call(e,"name"))throw new Error(_A("name"));const i=e.name;if(r=i,Wp.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(jA(i));t=Hp(i),n=nc(i),s=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:s}}function Hp(e){return er(e)?e:e.split(".")}function nc(e){return er(e)?e.join("."):e}function IA(e,t){const n=[];let r=!1;const o=(s,i,a,l)=>{if(Ge(s))if(!i[a])n.push(l!==void 0?{v:s,i:l}:s);else{const u=i[a],c=s[u];if(!Ge(c))return;if(a===i.length-1&&(ze(c)||Di(c)||AA(c)||typeof c=="bigint"))n.push(l!==void 0?{v:tc(c),i:l}:tc(c));else if(er(c)){r=!0;for(let f=0,m=c.length;f<m;f+=1)o(c[f],i,a+1,f)}else i.length&&o(c,i,a+1,l)}};return o(e,ze(t)?t.split("."):t,0),r?n:n[0]}const MA={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},OA={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},DA={location:0,threshold:.6,distance:100},LA={useExtendedSearch:!1,useTokenSearch:!1,getFn:IA,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},W=Object.freeze({...OA,...MA,...DA,...LA}),$A=/[^ ]+/g;function zA(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(o){const s=o.match($A).length;if(n.has(s))return n.get(s);const i=1/Math.pow(s,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(s,a),a},clear(){n.clear()}}}class Td{constructor({getFn:t=W.getFn,fieldNormWeight:n=W.fieldNormWeight}={}){this.norm=zA(n,3),this.getFn=t,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ze(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();ze(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}removeAll(t){for(let n=t.length-1;n>=0;n-=1)this.records.splice(t[n],1);for(let n=0,r=this.records.length;n<r;n+=1)this.records[n].i=n}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Ge(t)||vi(t))return;const r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){const r={i:n,$:{}};this.keys.forEach((o,s)=>{const i=o.getFn?o.getFn(t):this.getFn(t,o.path);if(Ge(i)){if(er(i)){const a=[];for(let l=0,u=i.length;l<u;l+=1){const c=i[l];if(Ge(c)){if(ze(c)){if(!vi(c)){const f={v:c,i:l,n:this.norm.get(c)};a.push(f)}}else if(Ge(c.v)){const f=ze(c.v)?c.v:tc(c.v);if(!vi(f)){const m={v:f,i:c.i,n:this.norm.get(f)};a.push(m)}}}}r.$[s]=a}else if(ze(i)&&!vi(i)){const a={v:i,n:this.norm.get(i)};r.$[s]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys.map(({getFn:t,...n})=>n),records:this.records}}}function My(e,t,{getFn:n=W.getFn,fieldNormWeight:r=W.fieldNormWeight}={}){const o=new Td({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(Iy)),o.setSources(t),o.create(),o}function BA(e,{getFn:t=W.getFn,fieldNormWeight:n=W.fieldNormWeight}={}){const{keys:r,records:o}=e,s=new Td({getFn:t,fieldNormWeight:n});return s.setKeys(r),s.setIndexRecords(o),s}function UA(e=[],t=W.minMatchCharLength){const n=[];let r=-1,o=-1,s=0;for(let i=e.length;s<i;s+=1){const a=e[s];a&&r===-1?r=s:!a&&r!==-1&&(o=s-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[s-1]&&s-r>=t&&n.push([r,s-1]),n}const ar=32;function WA(e,t,n,{location:r=W.location,distance:o=W.distance,threshold:s=W.threshold,findAllMatches:i=W.findAllMatches,minMatchCharLength:a=W.minMatchCharLength,includeMatches:l=W.includeMatches,ignoreLocation:u=W.ignoreLocation}={}){if(t.length>ar)throw new Error(RA(ar));const c=t.length,f=e.length,m=Math.max(0,Math.min(r,f));let p=s,S=m;const v=(A,P)=>{const N=A/c;if(u)return N;const D=Math.abs(m-P);return o?N+D/o:D?1:N},w=a>1||l,y=w?Array(f):[];let d;for(;(d=e.indexOf(t,S))>-1;){const A=v(0,d);if(p=Math.min(A,p),S=d+c,w){let P=0;for(;P<c;)y[d+P]=1,P+=1}}S=-1;let h=[],b=1,E=c+f;const C=1<<c-1;for(let A=0;A<c;A+=1){let P=0,N=E;for(;P<N;)v(A,m+N)<=p?P=N:E=N,N=Math.floor((E-P)/2+P);E=N;let D=Math.max(1,m-N+1);const I=i?f:Math.min(m+N,f)+c,U=Array(I+2);U[I+1]=(1<<A)-1;for(let B=I;B>=D;B-=1){const z=B-1,H=n[e[z]];if(w&&(y[z]=+!!H),U[B]=(U[B+1]<<1|1)&H,A&&(U[B]|=(h[B+1]|h[B])<<1|1|h[B+1]),U[B]&C&&(b=v(A,z),b<=p)){if(p=b,S=z,S<=m)break;D=Math.max(1,2*m-S)}}if(v(A+1,m)>p)break;h=U}const k={isMatch:S>=0,score:Math.max(.001,b)};if(w){const A=UA(y,a);A.length?l&&(k.indices=A):k.isMatch=!1}return k}function HA(e){const t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}function Nd(e){if(e.length<=1)return e;e.sort((n,r)=>n[0]-r[0]||n[1]-r[1]);const t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){const o=t[t.length-1],s=e[n];s[0]<=o[1]+1?o[1]=Math.max(o[1],s[1]):t.push(s)}return t}const Oy={ł:"l",Ł:"L",đ:"d",Đ:"D",ø:"o",Ø:"O",ħ:"h",Ħ:"H",ŧ:"t",Ŧ:"T",ı:"i",ß:"ss"},VA=new RegExp("["+Object.keys(Oy).join("")+"]","g"),Ts=String.prototype.normalize?e=>
vendor: 5,866 bytes, line 1086
1086e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(VA,t=>Oy[t]):e=>e;class Rd{constructor(t,{location:n=W.location,threshold:r=W.threshold,distance:o=W.distance,includeMatches:s=W.includeMatches,findAllMatches:i=W.findAllMatches,minMatchCharLength:a=W.minMatchCharLength,isCaseSensitive:l=W.isCaseSensitive,ignoreDiacritics:u=W.ignoreDiacritics,ignoreLocation:c=W.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreDiacritics:u,ignoreLocation:c},t=l?t:t.toLowerCase(),t=u?Ts(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const f=(p,S)=>{this.chunks.push({pattern:p,alphabet:HA(p),startIndex:S})},m=this.pattern.length;if(m>ar){let p=0;const S=m%ar,v=m-S;for(;p<v;)f(this.pattern.substr(p,ar),p),p+=ar;if(S){const w=m-ar;f(this.pattern.substr(w),w)}}else f(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:o}=this.options;if(t=n?t:t.toLowerCase(),t=r?Ts(t):t,this.pattern===t){const v={isMatch:!0,score:0};return o&&(v.indices=[[0,t.length-1]]),v}const{location:s,distance:i,threshold:a,findAllMatches:l,minMatchCharLength:u,ignoreLocation:c}=this.options,f=[];let m=0,p=!1;this.chunks.forEach(({pattern:v,alphabet:w,startIndex:y})=>{const{isMatch:d,score:h,indices:b}=WA(t,v,w,{location:s+y,distance:i,threshold:a,findAllMatches:l,minMatchCharLength:u,includeMatches:o,ignoreLocation:c});d&&(p=!0),m+=h,d&&b&&f.push(...b)});const S={isMatch:p,score:p?m/this.chunks.length:1};return p&&o&&(S.indices=Nd(f)),S}}class tr{constructor(t){this.pattern=t}static isMultiMatch(t){return Vp(t,this.multiRegex)}static isSingleMatch(t){return Vp(t,this.singleRegex)}search(t){return{isMatch:!1,score:1}}}function Vp(e,t){const n=e.match(t);return n?n[1]:null}class GA extends tr{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class KA extends tr{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class QA extends tr{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class qA extends tr{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class YA extends tr{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class XA extends tr{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Dy extends tr{constructor(t,{location:n=W.location,threshold:r=W.threshold,distance:o=W.distance,includeMatches:s=W.includeMatches,findAllMatches:i=W.findAllMatches,minMatchCharLength:a=W.minMatchCharLength,isCaseSensitive:l=W.isCaseSensitive,ignoreDiacritics:u=W.ignoreDiacritics,ignoreLocation:c=W.
1086ignoreLocation}={}){super(t),this._bitapSearch=new Rd(t,{location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreDiacritics:u,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Ly extends tr{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const o=[],s=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+s,o.push([r,n-1]);const i=!!o.length;return{isMatch:i,score:i?0:1,indices:o}}}const rc=[GA,Ly,QA,qA,XA,YA,KA,Dy],Gp=rc.length,ZA="\0",JA="|";function e2(e){const t=[],n=e.length;let r=0;for(;r<n;){for(;r<n&&e[r]===" ";)r++;if(r>=n)break;let o=r;for(;o<n&&e[o]!==" "&&e[o]!=='"';)o++;if(o<n&&e[o]==='"'){for(o++;o<n;){if(e[o]==='"'){const s=o+1;if(s>=n||e[s]===" "){o++;break}if(e[s]==="$"&&(s+1>=n||e[s+1]===" ")){o+=2;break}}o++}t.push(e.substring(r,o)),r=o}else{for(;o<n&&e[o]!==" ";)o++;t.push(e.substring(r,o)),r=o}}return t}function t2(e,t={}){return e.replace(/\\\|/g,ZA).split(JA).map(r=>{const o=r.replace(/\u0000/g,"|"),s=e2(o.trim()).filter(a=>a&&!!a.trim()),i=[];for(let a=0,l=s.length;a<l;a+=1){const u=s[a];let c=!1,f=-1;for(;!c&&++f<Gp;){const m=rc[f],p=m.isMultiMatch(u);p&&(i.push(new m(p,t)),c=!0)}if(!c)for(f=-1;++f<Gp;){const m=rc[f],p=m.isSingleMatch(u);if(p){i.push(new m(p,t));break}}}return i})}const n2=new Set([Dy.type,Ly.type]);class r2{constructor(t,{isCaseSensitive:n=W.isCaseSensitive,ignoreDiacritics:r=W.ignoreDiacritics,includeMatches:o=W.includeMatches,minMatchCharLength:s=W.minMatchCharLength,ignoreLocation:i=W.ignoreLocation,findAllMatches:a=W.findAllMatches,location:l=W.location,threshold:u=W.threshold,distance:c=W.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:o,minMatchCharLength:s,findAllMatches:a,ignoreLocation:i,location:l,threshold:u,distance:c},t=n?t:t.toLowerCase(),t=r?Ts(t):t,this.pattern=t,this.query=t2(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:o,ignoreDiacritics:s}=this.options;t=o?t:t.toLowerCase(),t=s?Ts(t):t;let i=0;const a=[];let l=0,u=!1;for(let c=0,f=n.length;c<f;c+=1){const m=n[c];a.length=0,i=0,u=!1;for(let p=0,S=m.length;p<S;p+=1){const v=m[p],{isMatch:w,indices:y,score:d}=v.search(t);if(w){i+=1,l+=d;const h=v.constructor.type;h.startsWith("inverse")&&(u=!0),r&&(n2.has(h)?a.push(...y):a.push(y))}else{l=0,i=0,a.length=0,u=!1;break}}if(i){const p={isMatch:!0,score:l/i};return u&&(p.hasInverse=!0),r&&(p.indices=Nd(a)),p}}return{isMatch:!1,score:1}}}const oc=[];function _d(...e){oc.push(...e)}function ya(e,t){for(let n=0,r=oc.length;n<r;n+=1){const o=oc[n];if(o.condition(e,t))return new o(e,t)}return new Rd(e,t)}const xa={AND:"$and",OR:"$or"},sc={PATH:"$path",PATTERN:"$val"},ic=e=>!!(e[xa.AND]||e[xa.OR]),o2=e=>!!e[sc.PATH],s2=e=>!er(e)&&jy(e)&&!ic(e),Kp=e=>({[xa.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function $y(e,t,{auto:n=!0}={}){const r=o=>{if(ze(o)){const l={keyId:null,pattern:o};return n&&(l.searcher=ya(o,t)),l}const s=Object.keys(o),i=o2(o);if(!i&&s.length>1&&!ic(o))return r(Kp(o));if(s2(o)){const l=i?o[sc.PATH]:s[0],u=i?o[sc.PATTERN]:o[l];if(!ze(u))throw new Error(NA(l));const c={keyId:nc(l),pattern:u};return n&&(c.searcher=ya(u,t)),c}const a={children:[],operator:s[0]};return s.forEach(l=>{const u=o[l];er(u)&&u.forEach(c=>
1086{a.children.push(r(c))})}),a};return ic(e)||(e=Kp(e)),r(e)}function ac(e,{ignoreFieldNorm:t=W.ignoreFieldNorm}){let n=1;return e.forEach(({key:r,norm:o,score:s})=>{const i=r?r.weight:null;n*=Math.pow(s===0&&i?Number.EPSILON:s,(i||1)*(t?1:o))}),n}function i2(e,{ignoreFieldNorm:t=W.ignoreFieldNorm}){e.forEach(n=>{n.score=ac(n.matches,{ignoreFieldNorm:t})})}class a2{constructor(t){this.limit=t,this.heap=[]}get size(){return this.heap.length}shouldInsert(t){return this.size<this.limit||t<this.heap[0].score}insert(t){this.size<this.limit?(this.heap.push(t),this._bubbleUp(this.size-1)):t.score<this.heap[0].score&&(this.heap[0]=t,this._sinkDown(0))}extractSorted(t){return this.heap.sort(t)}_bubbleUp(t){const n=this.heap;for(;t>0;){const r=t-1>>1;if(n[t].score<=n[r].score)break;const o=n[t];n[t]=n[r],n[r]=o,t=r}}_sinkDown(t){const n=this.heap,r=n.length;let o=t;do{t=o;const s=2*t+1,i=2*t+2;if(s<r&&n[s].score>n[o].score&&(o=s),i<r&&n[i].score>n[o].score&&(o=i),o!==t){const a=n[t];n[t]=n[o],n[o]=a}}while(o!==t)}}function l2(e,t){const n=e.matches;t.matches=[],Ge(n)&&n.forEach(r=>{if(!Ge(r.indices)||!r.indices.length)return;const{indices:o,value:s}=r,i={indices:o,value:s};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function u2(e,t){t.score=e.score}function c2(e,t,{includeMatches:n=W.includeMatches,includeScore:r=W.includeScore}={}){const o=[];return n&&o.push(l2),r&&o.push(u2),e.map(s=>{const{idx:i}=s,a={item:t[i],refIndex:i};return o.length&&o.forEach(l=>{l(s,a)}),a})}const d2=/\b\w+\b/g;function lc({isCaseSensitive:e=!1,ignoreDiacritics:t=!1}={}){return{tokenize(n){return e||(n=n.toLowerCase()),t&&(n=Ts(n)),n.match(d2)||[]}}}function f2(e,t,n){const r=new Map,o=new Map;let s=0;function i(a,l,u,c){const f=n.tokenize(a);if(!f.length)return;s++;const m=new Map;for(const p of f)m.set(p,(m.get(p)||0)+1);for(const[p,S]of m){const v={docIdx:l,keyIdx:u,subIdx:c,tf:S};let w=r.get(p);w||(w=[],r.set(p,w)),w.push(v),o.set(p,(o.get(p)||0)+1)}}for(const a of e){const{i:l,v:u,$:c}=a;if(u!==void 0){i(u,l,-1,-1);continue}if(c)for(let f=0;f<t;f++){const m=c[f];if(m)if(Array.isArray(m))for(const p of m)i(p.v,l,f,p.i??-1);else i(m.v,l,f,-1)}}return{terms:r,fieldCount:s,df:o}}function p2(e,t,n,r){const{i:o,v:s,$:i}=t;function a(l,u,c){const f=r.tokenize(l);if(!f.length)return;e.fieldCount++;const m=new Map;for(const p of f)m.set(p,(m.get(p)||0)+1);for(const[p,S]of m){const v={docIdx:o,keyIdx:u,subIdx:c,tf:S};let w=e.terms.get(p);w||(w=[],e.terms.set(p,w)),w.push(v),e.df.set(p,(e.df.get(p)||0)+1)}}if(s!==void 0){a(s,-1,-1);return}if(i)for(let l=0;l<n;l++){const u=i[l];if(u)if(Array.isArray(u))for(const c of u)a(c.v,l,c.i??-1);else a(u.v,l,-1)}}function Qp(e,t){for(const[n,r]of e.terms){const o=r.filter(i=>i.docIdx!==t),s=r.length-o.length;s>0&&(e.fieldCount-=s,e.df.set(n,(e.df.get(n)||0)-s),o.length===0?(e.terms.delete(n),e.df.delete(n)):e.terms.set(n,o))}}class nr{constructor(t,n,r){this.options={...W,...n},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new FA(this.options.keys),this._docs=t,this._myIndex=null,this._invertedIndex=null,this.setCollection(t,r),this._lastQuery=null,this._lastSearcher=null}_getSearcher(t){if(this._lastQuery===t)return this._lastSearcher;const n=this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options,r=ya(t,n);return this._lastQuery=t,this._lastSearcher=r,r}setCollection(t,n){if(this._docs=t,n&&!(n instanceof Td))throw new Error(TA);if(this._myIndex=n||My(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const r=lc({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});this._invertedIndex=f2(this._myIndex.records,this._myIndex.keys.length,r)}}add(t){if(Ge(t)&&(this._docs.push(t),this._myIndex.add(t),this._invertedIndex)){const n=this._myIndex.records[this._myIndex.records.length-1],r=lc({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});p2(this._invertedIndex,n,this._myIndex.keys.length,r)}}remove(t=()=>!1){const n=[],r=[];for(let o=0,s=this._docs.length;o<s;o+=1)t(this._docs[o],o)&&(n.push(this._docs[o]),r.push(o));if(r.length){if(this._invertedIndex)for(const o of r)Qp(this._invertedIndex,o);for(let o=r.length-1;o>=0;
1086o-=1)this._docs.splice(r[o],1);this._myIndex.removeAll(r)}return n}removeAt(t){this._invertedIndex&&Qp(this._invertedIndex,t);const n=this._docs.splice(t,1)[0];return this._myIndex.removeAt(t),n}getIndex(){return this._myIndex}search(t,n){const{limit:r=-1}=n||{},{includeMatches:o,includeScore:s,shouldSort:i,sortFn:a,ignoreFieldNorm:l}=this.options;if(ze(t)&&!t.trim()){let f=this._docs.map((m,p)=>({item:m,refIndex:p}));return Di(r)&&r>-1&&(f=f.slice(0,r)),f}const u=Di(r)&&r>0&&ze(t);let c;if(u){const f=new a2(r);ze(this._docs[0])?this._searchStringList(t,{heap:f,ignoreFieldNorm:l}):this._searchObjectList(t,{heap:f,ignoreFieldNorm:l}),c=f.extractSorted(a)}else c=ze(t)?ze(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t),i2(c,{ignoreFieldNorm:l}),i&&c.sort(a),Di(r)&&r>-1&&(c=c.slice(0,r));return c2(c,this._docs,{includeMatches:o,includeScore:s})}_searchStringList(t,{heap:n,ignoreFieldNorm:r}={}){const o=this._getSearcher(t),{records:s}=this._myIndex,i=n?null:[];return s.forEach(({v:a,i:l,n:u})=>{if(!Ge(a))return;const{isMatch:c,score:f,indices:m}=o.searchIn(a);if(c){const p={item:a,idx:l,matches:[{score:f,value:a,norm:u,indices:m}]};n?(p.score=ac(p.matches,{ignoreFieldNorm:r}),n.shouldInsert(p.score)&&n.insert(p)):i.push(p)}}),i}_searchLogical(t){const n=$y(t,this.options),r=(a,l,u)=>{if(!("children"in a)){const{keyId:p,searcher:S}=a;let v;return p===null?(v=[],this._myIndex.keys.forEach((w,y)=>{v.push(...this._findMatches({key:w,value:l[y],searcher:S}))})):v=this._findMatches({key:this._keyStore.get(p),value:this._myIndex.getValueForItemAtKeyId(l,p),searcher:S}),v&&v.length?[{idx:u,item:l,matches:v}]:[]}const{children:c,operator:f}=a,m=[];for(let p=0,S=c.length;p<S;p+=1){const v=c[p],w=r(v,l,u);if(w.length)m.push(...w);else if(f===xa.AND)return[]}return m},o=this._myIndex.records,s=new Map,i=[];return o.forEach(({$:a,i:l})=>{if(Ge(a)){const u=r(n,a,l);u.length&&(s.has(l)||(s.set(l,{idx:l,item:a,matches:[]}),i.push(s.get(l))),u.forEach(({matches:c})=>{s.get(l).matches.push(...c)}))}}),i}_searchObjectList(t,{heap:n,ignoreFieldNorm:r}={}){const o=this._getSearcher(t),{keys:s,records:i}=this._myIndex,a=n?null:[];return i.forEach(({$:l,i:u})=>{if(!Ge(l))return;const c=[];let f=!1,m=!1;if(s.forEach((p,S)=>{const v=this._findMatches({key:p,value:l[S],searcher:o});v.length?(c.push(...v),v[0].hasInverse&&(m=!0)):f=!0}),!(m&&f)&&c.length){const p={idx:u,item:l,matches:c};n?(p.score=ac(p.matches,{ignoreFieldNorm:r}),n.shouldInsert(p.score)&&n.insert(p)):a.push(p)}}),a}_findMatches({key:t,value:n,searcher:r}){if(!Ge(n))return[];const o=[];if(er(n))n.forEach(({v:s,i,n:a})=>{if(!Ge(s))return;const{isMatch:l,score:u,indices:c,hasInverse:f}=r.searchIn(s);l&&o.push({score:u,key:t,value:s,idx:i,norm:a,indices:c,hasInverse:f})});else{const{v:s,n:i}=n,{isMatch:a,score:l,indices:u,hasInverse:c}=r.searchIn(s);a&&o.push({score:l,key:t,value:s,norm:i,indices:u,hasInverse:c})}return o}}class h2{static condition(t,n){return n.useTokenSearch}constructor(t,n){this.options=n,this.analyzer=lc({isCaseSensitive:n.isCaseSensitive,ignoreDiacritics:n.ignoreDiacritics});const r=this.analyzer.tokenize(t),o=n._invertedIndex,{df:s,fieldCount:i}=o;this.termSearchers=[],this.idfWeights=[];for(const a of r){this.termSearchers.push(new Rd(a,{location:n.location,threshold:n.threshold,distance:n.distance,includeMatches:n.includeMatches,findAllMatches:n.findAllMatches,minMatchCharLength:n.minMatchCharLength,isCaseSensitive:n.isCaseSensitive,ignoreDiacritics:n.ignoreDiacritics,ignoreLocation:!0}));const l=s.get(a)||0,u=Math.log(1+(i-l+.5)/(l+.5));this.idfWeights.push(u)}}searchIn(t){if(!this.termSearchers.length)return{isMatch:!1,score:1};const n=[];let r=0,o=0,s=0;for(let l=0;l<this.termSearchers.length;l++){const u=this.termSearchers[l].searchIn(t),c=this.idfWeights[l];o+=c,u.isMatch&&(s++,r+=c*(1-u.score),u.indices&&n.push(...u.indices))}if(s===0)return{isMatch:!1,score:1};const i=o>0?1-r/o:0,a={isMatch:!0,score:Math.max(.001,i)};return this.options.includeMatches&&n.length&&(a.indices=Nd(n)),a}}nr.version="7.3.0";nr.createIndex=My;nr.parseIndex=BA;nr.config=W;nr.match=function(e,t,n){return ya(e,{...W,...n}).searchIn(t)};nr.parseQuery=$y;_d(r2);_d(h2);nr.use=function(...e){e.forEach(t=>_d(t))};function m2({open:e,onOpenChange:t}
1086){const[n,r]=x.useState(""),[o,s]=x.useState(0),i=Cd(),a=x.useMemo(()=>SA(),[]),l=x.useMemo(()=>new nr(a,{keys:["title","excerpt","category"],threshold:.4,includeMatches:!0}),[a]),u=x.useMemo(()=>n.trim()?l.search(n).slice(0,8).map(m=>m.item):[],[n,l]);x.useEffect(()=>{s(0)},[u]),x.useEffect(()=>{e||(r(""),s(0))},[e]);const c=m=>{i(`/docs/${m.slug}`),t(!1),window.scrollTo(0,0)},f=m=>{switch(m.key){case"ArrowDown":m.preventDefault(),s(p=>Math.min(p+1,u.length-1));break;case"ArrowUp":m.preventDefault(),s(p=>Math.max(p-1,0));break;case"Enter":m.preventDefault(),u[o]&&c(u[o]);break}};return g.jsx(yA,{open:e,onOpenChange:t,children:g.jsxs(Ny,{className:"p-0 gap-0 max-w-xl",children:[g.jsxs("div",{className:"flex items-center px-4 border-b border-border",children:[g.jsx(dd,{className:"h-5 w-5 text-muted-foreground shrink-0"}),g.jsx("input",{type:"text",placeholder:"Search documentation...",value:n,onChange:m=>r(m.target.value),onKeyDown:f,className:"flex-1 px-4 py-4 text-base bg-transparent outline-none placeholder:text-muted-foreground",autoFocus:!0}),g.jsx("kbd",{className:"hidden sm:inline-flex h-6 items-center gap-1 rounded border border-border bg-muted px-2 font-mono text-xs text-muted-foreground",children:"ESC"})]}),n&&u.length===0&&g.jsxs("div",{className:"p-8 text-center text-muted-foreground",children:[g.jsxs("p",{children:['No results found for "',n,'"']}),g.jsx("p",{className:"text-sm mt-1",children:"Try searching for something else"})]}),u.length>0&&g.jsx("ul",{className:"max-h-[400px] overflow-y-auto p-2",children:u.map((m,p)=>g.jsx("li",{children:g.jsxs("button",{onClick:()=>c(m),onMouseEnter:()=>s(p),className:se("w-full flex items-start gap-3 p-3 rounded-lg text-left transition-colors",o===p?"bg-muted":"hover:bg-muted/50"),children:[g.jsx(Mw,{className:"h-5 w-5 text-muted-foreground shrink-0 mt-0.5"}),g.jsxs("div",{className:"flex-1 min-w-0",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("span",{className:"font-medium text-foreground",children:m.title}),g.jsx("span",{className:"text-xs px-2 py-0.5 rounded bg-primary/10 text-primary",children:m.category})]}),g.jsx("p",{className:"text-sm text-muted-foreground truncate mt-0.5",children:m.excerpt})]}),g.jsx(cd,{className:se("h-4 w-4 text-muted-foreground shrink-0 transition-opacity",o===p?"opacity-100":"opacity-0")})]})},m.slug))}),g.jsxs("div",{className:"flex items-center gap-4 px-4 py-3 border-t border-border bg-muted/30 text-xs text-muted-foreground",children:[g.jsxs("span",{className:"flex items-center gap-1",children:[g.jsx("kbd",{className:"h-5 px-1.5 rounded border border-border bg-background font-mono",children:"↑"}),g.jsx("kbd",{className:"h-5 px-1.5 rounded border border-border bg-background font-mono",children:"↓"}),"to navigate"]}),g.jsxs("span",{className:"flex items-center gap-1",children:[g.jsx("kbd",{className:"h-5 px-1.5 rounded border border-border bg-background font-mono",children:"↵"}),"to select"]})]})]})})}var Xa="Collapsible",[g2,Y2]=Ao(Xa),[v2,jd]=g2(Xa),zy=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:s,onOpenChange:i,...a}=e,[l,u]=id({prop:r,defaultProp:o??!1,onChange:i,caller:Xa});return g.jsx(v2,{scope:n,disabled:s,contentId:Fi(),open:l,onOpenToggle:x.useCallback(()=>u(c=>!c),[u]),children:g.jsx(me.div,{"data-state":Id(l),"data-disabled":s?"":void 0,...a,ref:t})})});zy.displayName=Xa;var By="CollapsibleTrigger",Uy=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=jd(By,n);return g.jsx(me.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Id(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:le(e.onClick,o.onOpenToggle)})});Uy.displayName=By;var Fd="CollapsibleContent",Wy=x.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=jd(Fd,e.__scopeCollapsible);return g.jsx(Tr,{present:n||o.open,children:({present:s})=>g.jsx(y2,{...r,ref:t,present:s})})});Wy.displayName=Fd;var y2=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...s}=e,i=jd(Fd,n),[a,l]=x.useState(r),u=x.useRef(null),c=Oe(t,u),f=x.useRef(0),m=f.current,p=x.useRef(0),S=p.current,v=i.open||a,w=x.useRef(v),y=x.useRef(void 0);return x.useEffect(()=>{const d=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(d)},[]),Gt(()=>{const d=u.current;if(d){y.current=y.current||{transitionDuration:d.style.transitionDuration,animationName:d.style.animationName},d.style.transitionDuration="0s",d.style.animationName="none";const h=d.getBoundingClientRect();f.current=h.height,p.current=h.width,w.current||(d.style.transitionDuration=y.current.transitionDuration,d.style.animationName=y.current.animationName),l(r)}},[i.open,r]),g.jsx(me.div,{"data-state":Id(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!v,...s,ref:c,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":S?`${S}px`:void 0,...e.style},children:v&&o})});function Id(e){return e?"open":"closed"}var x2=zy;const w2=x2,b2=Uy,S2=Wy;function E2(){const t=Jn().pathname.split("/").pop();return g.jsx("nav",{className:"space-y-4",children:Ry.map(n=>{const r=n.articles.some(o=>o.slug===t);
1086return g.jsx(C2,{category:n,defaultOpen:r,currentSlug:t},n.slug)})})}function C2({category:e,defaultOpen:t,currentSlug:n}){const[r,o]=x.useState(t);return g.jsxs(w2,{open:r,onOpenChange:o,children:[g.jsxs(b2,{className:"flex items-center justify-between w-full py-2 text-sm font-semibold text-foreground hover:text-primary transition-colors",children:[g.jsxs("span",{className:"flex items-center gap-2",children:[e.emoji&&g.jsx("span",{children:e.emoji}),e.title]}),g.jsx(Rw,{className:se("h-4 w-4 transition-transform",r&&"rotate-180")})]}),g.jsx(S2,{children:g.jsx("ul",{className:"ml-2 border-l border-border pl-3 space-y-1 mt-1",children:e.articles.map(s=>g.jsx("li",{children:g.jsx(rk,{to:`/docs/${s.slug}`,className:({isActive:i})=>se("block py-1.5 text-sm transition-colors",i?"text-primary font-medium":"text-muted-foreground hover:text-foreground"),children:s.title})},s.slug))})})]})}function Ns({children:e,showToc:t=!1,toc:n}){const[r,o]=x.useState(!1),[s,i]=x.useState(!1),a=Jn();return x.useEffect(()=>{o(!1)},[a.pathname]),x.useEffect(()=>{const l=u=>{(u.metaKey||u.ctrlKey)&&u.key==="k"&&(u.preventDefault(),i(!0))};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[]),g.jsxs("div",{className:"min-h-screen bg-background",children:[g.jsx("header",{className:"sticky top-0 z-50 w-full border-b border-border bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60",children:g.jsxs("div",{className:"w-full max-w-[1400px] mx-auto flex h-16 items-center px-4 lg:px-6",children:[g.jsxs("div",{className:"lg:w-64 shrink-0 flex items-center gap-2",children:[g.jsx(Tt,{variant:"ghost",size:"icon",className:"lg:hidden",onClick:()=>o(!0),children:g.jsx(Lw,{className:"h-5 w-5"})}),g.jsxs(Bn,{to:"/",className:"flex items-center gap-2 font-bold text-xl",children:[g.jsx("div",{className:"h-8 w-8 rounded-lg bg-primary flex items-center justify-center text-primary-foreground text-sm font-bold",children:"D"}),g.jsx("span",{children:"DocFlow"})]})]}),g.jsx("div",{className:"flex-1 flex justify-center px-4 lg:px-8",children:g.jsxs(Tt,{variant:"outline",className:"w-full max-w-md justify-start text-muted-foreground",onClick:()=>i(!0),children:[g.jsx(dd,{className:"h-4 w-4 mr-2"}),g.jsx("span",{children:"Search documentation..."}),g.jsx("kbd",{className:"hidden sm:inline-flex ml-auto h-5 items-center gap-1 rounded border border-border bg-muted px-1.5 font-mono text-[10px] text-muted-foreground",children:"⌘K"})]})}),g.jsxs("div",{className:"lg:w-60 shrink-0 flex items-center justify-end gap-2",children:[g.jsx(ck,{}),g.jsx(Tt,{variant:"default",size:"sm",asChild:!0,children:g.jsx(Bn,{to:"/docs/introduction",children:"Get Started"})})]})]})}),g.jsxs("div",{className:"max-w-[1400px] mx-auto flex w-full px-4 lg:px-6",children:[g.jsxs("aside",{className:se("fixed inset-y-0 left-0 z-50 w-64 bg-background border-r border-border transform transition-transform lg:translate-x-0 lg:static lg:z-0 pt-16 lg:pt-0 lg:shrink-0",r?"translate-x-0":"-translate-x-full"),children:[g.jsxs("div",{className:"lg:hidden flex items-center justify-between p-4 border-b border-border",children:[g.jsx("span",{className:"font-semibold",children:"Navigation"}),g.jsx(Tt,{variant:"ghost",size:"icon",onClick:()=>o(!1),children:g.jsx(fd,{className:"h-5 w-5"})})]}),g.jsx("div",{className:"h-[calc(100vh-4rem)] overflow-y-auto custom-scrollbar p-4",children:g.jsx(E2,{})})]}),r&&g.jsx("div",{className:"fixed inset-0 z-40 bg-background/80 backdrop-blur-sm lg:hidden",onClick:()=>o(!1)}),g.jsx("main",{className:"flex-1 min-w-0",children:g.jsx("div",{className:"px-4 lg:px-8 py-8",children:g.jsxs("div",{className:se("flex gap-8",t&&"lg:pr-4"),children:[g.jsx("div",{className:"flex-1 min-w-0 max-w-3xl",children:e}),t&&n&&g.jsx("aside",{className:"hidden lg:block w-60 shrink-0",children:g.jsx("div",{className:"sticky top-24",children:n})})]})})})]}),g.jsx(m2,{open:s,onOpenChange:i})]})}var Hy={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
1087 * Prism: Lightweight, robust, elegant syntax highlighting
1088 *
vendor: 4,413 bytes, lines 1089-1093
1089 * @license MIT <https://opensource.org/licenses/MIT>
1090 * @author Lea Verou <https://lea.verou.me>
1091 * @namespace
1092 * @public
1093 */var n=function(r){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,s=0,i={},a={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function d(h){return h instanceof l?new l(h.type,d(h.content),h.alias):Array.isArray(h)?h.map(d):h.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(d){return Object.prototype.toString.call(d).slice(8,-1)},objId:function(d){return d.__id||Object.defineProperty(d,"__id",{value:++s}),d.__id},clone:function d(h,b){b=b||{};var E,C;switch(a.util.type(h)){case"Object":if(C=a.util.objId(h),b[C])return b[C];E={},b[C]=E;for(var k in h)h.hasOwnProperty(k)&&(E[k]=d(h[k],b));return E;case"Array":return C=a.util.objId(h),b[C]?b[C]:(E=[],b[C]=E,h.forEach(function(A,P){E[P]=d(A,b)}),E);default:return h}},getLanguage:function(d){for(;d;){var h=o.exec(d.className);if(h)return h[1].toLowerCase();d=d.parentElement}return"none"},setLanguage:function(d,h){d.className=d.className.replace(RegExp(o,"gi"),""),d.classList.add("language-"+h)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(E){var d=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(E.stack)||[])[1];if(d){var h=document.getElementsByTagName("script");for(var b in h)if(h[b].src==d)return h[b]}return null}},isActive:function(d,h,b){for(var E="no-"+h;d;){var C=d.classList;if(C.contains(h))return!0;if(C.contains(E))return!1;d=d.parentElement}return!!b}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(d,h){var b=a.util.clone(a.languages[d]);for(var E in h)b[E]=h[E];return b},insertBefore:function(d,h,b,E){E=E||a.languages;var C=E[d],k={};for(var A in C)if(C.hasOwnProperty(A)){if(A==h)for(var P in b)b.hasOwnProperty(P)&&(k[P]=b[P]);b.hasOwnProperty(A)||(k[A]=C[A])}var N=E[d];return E[d]=k,a.languages.DFS(a.languages,function(D,I){I===N&&D!=d&&(this[D]=k)}),k},DFS:function d(h,b,E,C){C=C||{};var k=a.util.objId;for(var A in h)if(h.hasOwnProperty(A)){b.call(h,A,h[A],E||A);var P=h[A],N=a.util.type(P);N==="Object"&&!C[k(P)]?(C[k(P)]=!0,d(P,b,null,C)):N==="Array"&&!C[k(P)]&&(C[k(P)]=!0,d(P,b,A,C))}}},plugins:{},highlightAll:function(d,h){a.highlightAllUnder(document,d,h)},highlightAllUnder:function(d,h,b){var E={callback:b,container:d,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",E),E.elements=Array.prototype.slice.apply(E.container.querySelectorAll(E.selector)),a.hooks.run("before-all-elements-highlight",E);for(var C=0,k;k=E.elements[C++];)a.highlightElement(k,h===!0,E.callback)},highlightElement:function(d,h,b){var E=a.util.getLanguage(d),C=a.languages[E];a.util.setLanguage(d,E);var k=d.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&a.util.setLanguage(k,E);var A=d.textContent,P={element:d,language:E,grammar:C,code:A};function N(I){P.highlightedCode=I,a.hooks.run("before-insert",P),P.element.innerHTML=P.highlightedCode,a.hooks.run("after-highlight",P),a.hooks.run("complete",P),b&&b.call(P.element)}if(a.hooks.run("before-sanity-check",P),k=P.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!P.code){a.hooks.run("complete",P),b&&b.call(P.element);return}if(a.hooks.run("before-highlight",P),!P.grammar){N(a.util.encode(P.code));return}if(h&&r.Worker){var D=new Worker(a.filename);D.onmessage=function(I){N(I.data)},D.postMessage(JSON.stringify({language:P.language,code:P.code,immediateClose:!0}))}else N(a.highlight(P.code,P.grammar,P.language))},highlight:function(d,h,b){var E={code:d,grammar:h,language:b};if(a.hooks.run("before-tokenize",E),!E.grammar)throw new Error('The language "'+E.language+'" has no grammar.');return E.tokens=a.tokenize(E.code,E.grammar),a.hooks.run("after-tokenize",E),l.stringify(a.util.encode(E.tokens),E.language)},tokenize:function(d,h){var b=h.rest;if(b){for(var E in b)h[E]=b[E];delete h.rest}var C=new f;return m(C,C.head,d),c(d,C,h,C.head,0),S(C)},hooks:{all:{},add:function(d,h){var b=a.hooks.all;b[d]=b[d]||[],b[d].push(h)},run:function(d,h){var b=a.hooks.all[d];if(!(!b||!b.length))for(var E=0,C;C=b[E++];)C(h)}},Token:l};r.Prism=a;
vendor: 15,716 bytes, lines 1093-1094
1093function l(d,h,b,E){this.type=d,this.content=h,this.alias=b,this.length=(E||"").length|0}l.stringify=function d(h,b){if(typeof h=="string")return h;if(Array.isArray(h)){var E="";return h.forEach(function(N){E+=d(N,b)}),E}var C={type:h.type,content:d(h.content,b),tag:"span",classes:["token",h.type],attributes:{},language:b},k=h.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(C.classes,k):C.classes.push(k)),a.hooks.run("wrap",C);var A="";for(var P in C.attributes)A+=" "+P+'="'+(C.attributes[P]||"").replace(/"/g,"&quot;")+'"';return"<"+C.tag+' class="'+C.classes.join(" ")+'"'+A+">"+C.content+"</"+C.tag+">"};function u(d,h,b,E){d.lastIndex=h;var C=d.exec(b);if(C&&E&&C[1]){var k=C[1].length;C.index+=k,C[0]=C[0].slice(k)}return C}function c(d,h,b,E,C,k){for(var A in b)if(!(!b.hasOwnProperty(A)||!b[A])){var P=b[A];P=Array.isArray(P)?P:[P];for(var N=0;N<P.length;++N){if(k&&k.cause==A+","+N)return;var D=P[N],I=D.inside,U=!!D.lookbehind,M=!!D.greedy,B=D.alias;if(M&&!D.pattern.global){var z=D.pattern.toString().match(/[imsuy]*$/)[0];D.pattern=RegExp(D.pattern.source,z+"g")}for(var H=D.pattern||D,T=E.next,_=C;T!==h.tail&&!(k&&_>=k.reach);_+=T.value.length,T=T.next){var O=T.value;if(h.length>d.length)return;if(!(O instanceof l)){var V=1,$;if(M){if($=u(H,_,d,U),!$||$.index>=d.length)break;var we=$.index,Y=$.index+$[0].length,G=_;for(G+=T.value.length;we>=G;)T=T.next,G+=T.value.length;if(G-=T.value.length,_=G,T.value instanceof l)continue;for(var re=T;re!==h.tail&&(G<Y||typeof re.value=="string");re=re.next)V++,G+=re.value.length;V--,O=d.slice(_,G),$.index-=_}else if($=u(H,0,O,U),!$)continue;var we=$.index,Z=$[0],Mt=O.slice(0,we),mt=O.slice(we+Z.length),gt=_+O.length;k&&gt>k.reach&&(k.reach=gt);var Xe=T.prev;Mt&&(Xe=m(h,Xe,Mt),_+=Mt.length),p(h,Xe,V);var dn=new l(A,I?a.tokenize(Z,I):Z,B,Z);if(T=m(h,Xe,dn),mt&&m(h,T,mt),V>1){var it={cause:A+","+N,reach:gt};c(d,h,b,T.prev,_,it),k&&it.reach>k.reach&&(k.reach=it.reach)}}}}}}function f(){var d={value:null,prev:null,next:null},h={value:null,prev:d,next:null};d.next=h,this.head=d,this.tail=h,this.length=0}function m(d,h,b){var E=h.next,C={value:b,prev:h,next:E};return h.next=C,E.prev=C,d.length++,C}function p(d,h,b){for(var E=h.next,C=0;C<b&&E!==d.tail;C++)E=E.next;h.next=E,E.prev=h,d.length-=C}function S(d){for(var h=[],b=d.head.next;b!==d.tail;)h.push(b.value),b=b.next;return h}if(!r.document)return r.addEventListener&&(a.disableWorkerMessageHandler||r.addEventListener("message",function(d){var h=JSON.parse(d.data),b=h.language,E=h.code,C=h.immediateClose;r.postMessage(a.highlight(E,a.languages[b],b)),C&&r.close()},!1)),a;var v=a.util.currentScript();v&&(a.filename=v.src,v.hasAttribute("data-manual")&&(a.manual=!0));function w(){a.manual||a.highlightAll()}if(!a.manual){var y=document.readyState;y==="loading"||y==="interactive"&&v&&v.defer?document.addEventListener("DOMContentLoaded",w):window.requestAnimationFrame?window.requestAnimationFrame(w):window.setTimeout(w,16)}return a}(t);e.exports&&(e.exports=n),typeof Ud<"u"&&(Ud.Prism=n),n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&amp;/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(o,s){var i={};i["language-"+s]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[s]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};a["language-"+s]={pattern:/[\s\S]+/,inside:n.languages[s]};var l={};l[o]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:a},n.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(r,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(r){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+o.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var s=r.languages.markup;s&&(s.tag.addInlined("style","css"),s.tag.addAttribute("style","css"))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript,function(){if(typeof n>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var r="Loading…",o=function(v,w){return"✖ Error "+v+" while fetching file: "+w},s="✖ Error: File does not exist or is empty",i={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},a="data-src-status",l="loading",u="loaded",c="failed",f="pre[data-src]:not(["+a+'="'+u+'"]):not(['+a+'="'+l+'"])';function m(v,w,y){var d=new XMLHttpRequest;d.open("GET",v,!0),d.onreadystatechange=function(){d.readyState==4&&(d.status<400&&d.responseText?w(d.responseText):d.status>=400?y(o(d.status,d.statusText)):y(s))},d.send(null)}function p(v){var w=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(v||"");if(w){var y=Number(w[1]),d=w[2],h=w[3];return d?h?[y,Number(h)]:[y,void 0]:[y,y]}}n.hooks.add("before-highlightall",function(v){v.selector+=", "+f}),n.hooks.add("before-sanity-check",function(v){var w=v.element;if(w.matches(f)){v.code="",w.setAttribute(a,l);var y=w.appendChild(document.createElement("CODE"));y.textContent=r;var d=w.getAttribute("data-src"),h=v.language;if(h==="none"){var b=(/\.(\w+)$/.exec(d)||[,"none"])[1];h=i[b]||b}n.util.setLanguage(y,h),n.util.setLanguage(w,h);var E=n.plugins.autoloader;E&&E.loadLanguages(h),m(d,function(C){w.setAttribute(a,u);var k=p(w.getAttribute("data-range"));if(k){var A=C.split(/\r\n?|\n/g),P=k[0],N=k[1]==null?A.length:k[1];P<0&&(P+=A.length),P=Math.max(0,Math.min(P-1,A.length)),N<0&&(N+=A.length),N=Math.max(0,Math.min(N,A.length)),C=A.slice(P,N).join(`
1094`),w.hasAttribute("data-start")||w.setAttribute("data-start",String(P+1))}y.textContent=C,n.highlightElement(y)},function(C){w.setAttribute(a,c),y.textContent=C})}}),n.plugins.fileHighlight={highlight:function(w){for(var y=(w||document).querySelectorAll(f),d=0,h;h=y[d++];)n.highlightElement(h)}};var S=!1;n.fileHighlight=function(){S||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),S=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Hy);var k2=Hy.exports;const Vl=uc(k2);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?
1094:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism);Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01
1094])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby})(Prism);(
vendor: 5,806 bytes, line 1094
1094function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var 
vendor: 8,493 bytes, lines 1094-1107
1094o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=r.variable[1].inside,i=0;i<o.length;i++)s[o[i]]=e.languages.bash[o[i]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;(function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ 	]+"+t.source+")?|"+t.source+"(?:[ 	]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(a,l){l=(l||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return a});return RegExp(u,l)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(s),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function s(l,u){return l=l.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return o}),RegExp(l,u)}o=s(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:s(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(l){return l?typeof l=="string"?l:typeof l.content=="string"?l.content:l.content.map(i).join(""):""},a=function(l){for(var u=[],c=0;c<l.length;c++){var f=l[c],m=!1;if(typeof f!="string"&&(f.type==="tag"&&f.content[0]&&f.content[0].type==="tag"?f.content[0].content[0].content==="</"?u.length>0&&u[u.length-1].tagName===i(f.content[0].content[1])&&u.pop():f.content[f.content.length-1].content==="/>"||u.push({tagName:i(f.content[0].content[1]),openedBraces:0}):u.length>0&&f.type==="punctuation"&&f.content==="{"?u[u.length-1].openedBraces++:u.length>0&&u[u.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?u[u.length-1].openedBraces--:m=!0),(m||typeof f=="string")&&u.length>0&&u[u.length-1].openedBraces===0){var p=i(f);c<l.length-1&&(typeof l[c+1]=="string"||l[c+1].type==="plain-text")&&(p+=i(l[c+1]),l.splice(c+1,1)),c>0&&(typeof l[c-1]=="string"||l[c-1].type==="plain-text")&&(p=i(l[c-1])+p,l.splice(c-1,1),c--),l[c]=new e.Token("plain-text",p,null,p)}f.content&&typeof f.content!="string"&&a(f.content)}};e.hooks.add("after-tokenize",function(l){l.language!=="jsx"&&l.language!=="tsx"||a(l.tokens)})})(Prism);(function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0})(Prism);function Za({code:e,language:t="javascript",showLineNumbers:n=!1,className:r}){const[o,s]=x.useState(!1),i=async()=>{await navigator.clipboard.writeText(e),s(!0),setTimeout(()=>s(!1),2e3)},a=Vl.languages[t]?Vl.highlight(e.trim(),Vl.languages[t],t):e.trim(),l=a.split(`
1095`);return g.jsxs("div",{className:se("relative group rounded-lg overflow-hidden border border-border",r),children:[g.jsx("div",{className:"absolute top-3 right-3 z-10",children:g.jsx("button",{onClick:i,className:"p-2 rounded-md bg-muted/50 hover:bg-muted transition-all opacity-0 group-hover:opacity-100","aria-label":o?"Copied!":"Copy code",children:o?g.jsx(Gg,{className:"h-4 w-4 text-success"}):g.jsx(Iw,{className:"h-4 w-4 text-muted-foreground"})})}),g.jsx("div",{className:"absolute top-3 left-3 z-10",children:g.jsx("span",{className:"text-xs text-muted-foreground uppercase tracking-wider font-medium",children:t})}),g.jsx("pre",{className:"bg-code text-code-foreground p-4 pt-10 overflow-x-auto text-sm font-mono",children:g.jsx("code",{children:n?g.jsx("table",{className:"border-collapse",children:g.jsx("tbody",{children:l.map((u,c)=>g.jsxs("tr",{children:[g.jsx("td",{className:"pr-4 text-right text-muted-foreground select-none w-8",children:c+1}),g.jsx("td",{dangerouslySetInnerHTML:{__html:u||" "}})]},c))})}):g.jsx("span",{dangerouslySetInnerHTML:{__html:a}})})})]})}const A2=[{icon:dd,title:"Lightning Fast Search",description:"Find what you need instantly with our powerful search"},{icon:Fw,title:"Beautiful Code Examples",description:"Syntax highlighting for 15+ programming languages"},{icon:$w,title:"Mobile Friendly",description:"Perfect experience on any device"},{icon:Kg,title:"Dark Mode Ready",description:"Easy on the eyes with automatic theme switching"},{icon:Nw,title:"API Reference",description:"Complete, interactive API documentation"},{icon:Ow,title:"Version Control",description:"Keep track of documentation changes"}],P2=[{title:"Authentication Guide",slug:"authentication",description:"Learn how to authenticate your API requests"},{title:"API Reference",slug:"users",description:"Complete reference for all API endpoints"},{title:"Error Handling",slug:"error-handling",description:"Handle errors gracefully in your app"},{title:"Quick Start",slug:"quick-start",description:"Get up and running in under 5 minutes"}],T2=`import { AcmeClient } from '@acme/api-sdk';
1096
1097const client = new AcmeClient({
1098  apiKey: process.env.ACME_API_KEY,
1099});
1100
1101// Create a new user
1102const user = await client.users.create({
1103  email: '[email protected]',
1104  name: 'John Doe',
1105});
1106
1107console.log('Created user:', user.id);`;function N2(){return g.jsxs(Ns,{children:[g.jsxs("section",{className:"text-center py-16 lg:py-24 animate-fade-in",children:[g.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-primary/10 text-primary text-sm font-medium mb-6",children:[g.jsx(Hw,{className:"h-4 w-4"})," v2.0 Now Available"]}),g.jsxs("h1",{className:"text-4xl lg:text-5xl font-bold mb-6 bg-gradient-to-r from-foreground to-foreground
1107/70 bg-clip-text",children:["Documentation That",g.jsx("br",{}),"Developers Love"]}),g.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto mb-8",children:"Beautiful, fast, and easy to navigate. Everything your users need to succeed with your product."}),g.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[g.jsx(Tt,{size:"lg",asChild:!0,children:g.jsxs(Bn,{to:"/docs/introduction",children:["Get Started ",g.jsx(cd,{className:"ml-2 h-4 w-4"})]})}),g.jsx(Tt,{size:"lg",variant:"outline",asChild:!0,children:g.jsx(Bn,{to:"/docs/users",children:"View API Reference"})})]})]}),g.jsxs("section",{className:"py-12 lg:py-16",children:[g.jsx("h2",{className:"text-2xl font-bold mb-8",children:"Get Started in Minutes"}),g.jsxs("div",{className:"grid lg:grid-cols-2 gap-8",children:[g.jsxs("div",{className:"space-y-6",children:[g.jsxs("div",{className:"flex gap-4",children:[g.jsx("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-primary text-primary-foreground text-sm font-bold",children:"1"}),g.jsxs("div",{children:[g.jsx("h3",{className:"font-semibold mb-1",children:"Install the SDK"}),g.jsx("p",{className:"text-muted-foreground text-sm",children:"npm install @acme/api-sdk"})]})]}),g.jsxs("div",{className:"flex gap-4",children:[g.jsx("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-primary text-primary-foreground text-sm font-bold",children:"2"}),g.jsxs("div",{children:[g.jsx("h3",{className:"font-semibold mb-1",children:"Initialize your client"}),g.jsx("p",{className:"text-muted-foreground text-sm",children:"Configure with your API key"})]})]}),g.jsxs("div",{className:"flex gap-4",children:[g.jsx("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-primary text-primary-foreground text-sm font-bold",children:"3"}),g.jsxs("div",{children:[g.jsx("h3",{className:"font-semibold mb-1",children:"Make your first API call"}),g.jsx("p",{className:"text-muted-foreground text-sm",children:"Create users, products, and more"})]})]})]}),g.jsx(Za,{code:T2,language:"javascript"})]})]}),g.jsxs("section",{className:"py-12 lg:py-16",children:[g.jsx("h2",{className:"text-2xl font-bold mb-8",children:"Everything You Need"}),g.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:A2.map(e=>g.jsxs("div",{className:"p-6 rounded-xl border border-border bg-card hover:shadow-lg transition-shadow",children:[g.jsx(e.icon,{className:"h-10 w-10 text-primary mb-4"}),g.jsx("h3",{className:"font-semibold mb-2",children:e.title}),g.jsx("p",{className:"text-sm text-muted-foreground",children:e.description})]},e.title))})]}),g.jsxs("section",{className:"py-12 lg:py-16",children:[g.jsx("h2",{className:"text-2xl font-bold mb-8",children:"Popular Topics"}),g.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:P2.map(e=>g.jsxs(Bn,{to:`/docs/${e.slug}`,className:"p-6 rounded-xl border border-border bg-card hover:border-primary/50 hover:shadow-md transition-all group",children:[g.jsx("h3",{className:"font-semibold mb-1 group-hover:text-primary transition-colors",children:e.title}),g.jsx("p",{className:"text-sm text-muted-foreground",children:e.description})]},e.slug))})]})]})}function R2({content:e,className:t}){const[n,r]=x.useState(""),[o,s]=x.useState([]);return x.useEffect(()=>{const i=/^(#{2,3})\s+(.+)$/gm,l=[...e.matchAll(i)].map(u=>({id:u[2].toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,""),text:u[2],level:u[1].length}));s(l)},[e]),x.useEffect(()=>{const i=new IntersectionObserver(a=>{a.forEach(l=>{l.isIntersecting&&r(l.target.id)})},{rootMargin:"-80px 0px -80% 0px"});return o.forEach(a=>{const l=document.getElementById(a.id);l&&i.observe(l)}),()=>i.disconnect()},[o]),o.length===0?null:g.jsxs("nav",{className:se("text-sm",t),children:[g.jsx("h4",{className:"font-semibold text-foreground mb-3",children:"On this page"}),g.jsx("ul",{className:"space-y-2",children:o.map(i=>g.jsx("li",{style:{paddingLeft:i.level===3?"0.75rem":0},children:g.jsx("a",{href:`#${i.id}`,onClick:a=>{var l;a.preventDefault(),(l=document.getElementById(i.id))==null||l.scrollIntoView({behavior:"smooth"}),r(i.id)},className:se("block py-1 transition-colors hover:text-foreground",n===i.id?"text-primary font-medium":"text-muted-foreground"),children:i.text})},i.id))})]})}const _2={info:{icon:Dw,className:"bg-info/10 border-info/30",iconClassName:"text-info"},warning:{icon:Ww,className:"bg-warning/10 border-warning/30",iconClassName:"text-warning"},success:{icon:jw,className:"bg-success/10 border-success/30",iconClassName:"text-success"},error:{icon:_w,className:"bg-destructive/10 border-destructive/30",iconClassName:"text-destructive"}};function j2({variant:e="info",title:t,children:n,className:r}){const o=_2[e],s=o.icon;return g.jsxs("div",{className:se("flex gap-3 p-4 rounded-lg border my-4",o.
1107className,r),children:[g.jsx(s,{className:se("h-5 w-5 shrink-0 mt-0.5",o.iconClassName)}),g.jsxs("div",{className:"flex-1 min-w-0",children:[t&&g.jsx("p",{className:"font-semibold mb-1",children:t}),g.jsx("div",{className:"text-sm text-foreground/90",children:n})]})]})}function F2(){const{slug:e="introduction"}=Kv(),t=Cd(),n=EA(e),{prev:r,next:o}=CA(e),[s,i]=x.useState(null);x.useEffect(()=>{window.scrollTo(0,0)},[e]);const a=x.useMemo(()=>n?I2(n.content):null,[n]),l=c=>{i(c),console.log(`Feedback for ${e}: ${c}`)},u=c=>{t(`/docs/${c}`)};return n?g.jsxs(Ns,{showToc:!0,toc:g.jsx(R2,{content:n.content}),children:[g.jsxs("nav",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-6",children:[g.jsx(Bn,{to:"/",className:"hover:text-foreground",children:"Docs"}),g.jsx(ip,{className:"h-4 w-4"}),g.jsx("span",{className:"hover:text-foreground",children:n.category}),g.jsx(ip,{className:"h-4 w-4"}),g.jsx("span",{className:"text-foreground",children:n.title})]}),g.jsxs("header",{className:"mb-8",children:[g.jsx("h1",{className:"text-4xl font-bold mb-3",children:n.title}),g.jsxs("p",{className:"text-muted-foreground",children:["Last updated: ",new Date(n.lastUpdated).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})," · ",n.readingTime," min read"]})]}),g.jsx("article",{className:"docs-prose",children:a}),g.jsxs("div",{className:"flex items-center gap-4 py-8 border-t border-border mt-12",children:[g.jsx("span",{className:"text-sm text-muted-foreground",children:"Was this helpful?"}),s?g.jsxs("div",{className:"flex items-center gap-2 text-sm text-success",children:[g.jsx(Gg,{className:"h-4 w-4"}),g.jsx("span",{children:"Thanks for your feedback!"})]}):g.jsxs(g.Fragment,{children:[g.jsxs(Tt,{variant:"outline",size:"sm",onClick:()=>l("yes"),children:[g.jsx(Uw,{className:"h-4 w-4 mr-1"})," Yes"]}),g.jsxs(Tt,{variant:"outline",size:"sm",onClick:()=>l("no"),children:[g.jsx(Bw,{className:"h-4 w-4 mr-1"})," No"]})]})]}),g.jsxs("div",{className:"flex justify-between py-8 border-t border-border",children:[r?g.jsxs("button",{onClick:()=>u(r.slug),className:"group flex items-center gap-2 text-muted-foreground hover:text-foreground",children:[g.jsx(Tw,{className:"h-4 w-4"}),g.jsxs("div",{children:[g.jsx("div",{className:"text-xs",children:"Previous"}),g.jsx("div",{className:"font-medium text-foreground",children:r.title})]})]}):g.jsx("div",{}),o&&g.jsxs("button",{onClick:()=>u(o.slug),className:"group flex items-center gap-2 text-right text-muted-foreground hover:text-foreground",children:[g.jsxs("div",{children:[g.jsx("div",{className:"text-xs",children:"Next"}),g.jsx("div",{className:"font-medium text-foreground",children:o.title})]}),g.jsx(cd,{className:"h-4 w-4"})]})]})]}):g.jsx(Ns,{children:g.jsxs("div",{className:"text-center py-16",children:[g.jsx("h1",{className:"text-2xl font-bold mb-4",children:"Page Not Found"}),g.jsx("p",{className:"text-muted-foreground mb-8",children:"The requested documentation page doesn't exist."}),g.jsx(Tt,{asChild:!0,children:g.jsx(Bn,{to:"/docs/introduction",children:"Go to Introduction"})})]})})}function I2(e){var s;const t=e.trim().split(`
1108`),n=[];let r=0,o=0;for(;r<t.length;){const i=t[r];if(i.startsWith("```")){const a=i.slice(3).trim()||"text",l=[];for(r++;r<t.length&&!t[r].startsWith("```");)l.push(t[r]),r++;n.push(g.jsx(Za,{code:l.join(`
1109`),language:a},o++)),r++;continue}if(i.startsWith(":::")){const a=i.slice(3).trim(),l=[];for(r++;r<t.length&&!t[r].startsWith(":::");)l.push(t[r]),r++;n.push(g.jsx(j2,{variant:a,children:l.join(" ")},o++)),r++;continue}if(i.startsWith("# ")&&!i.startsWith("## ")){r++;continue}if(i.startsWith("## ")){const a=i.slice(3),l=a.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"");n.push(g.jsx("h2",{id:l,className:"text-2xl font-semibold mt-10 mb-4 scroll-mt-24",children:a},o++)),r++;continue}if(i.startsWith("### ")){const a=i.slice(4),l=a.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"");n.push(g.jsx("h3",{id:l,className:"text-xl font-semibold mt-8 mb-3 scroll-mt-24",children:a},o++)),r++;continue}if(i.match(/^[-*]\s/)){const a=[];for(;r<t.length&&t[r].match(/^[-*]\s/);)a.push(t[r].slice(2)),r++;n.push(g.jsx("ul",{className:"list-disc pl-6 mb-4 space-y-2",children:a.map((l,u)=>g.jsx("li",{dangerouslySetInnerHTML:{__html:yi(l)}},u))},o++));continue}if(i.match(/^\d+\.\s/)){const a=[];for(;r<t.length&&t[r].match(/^\d+\.\s/);)a.push(t[r].replace(/^\d+\.\s/,"")),r++;n.push(g.jsx("ol",{className:"list-decimal pl-6 mb-4 space-y-2",children:a.map((l,u)=>g.jsx("li",{dangerouslySetInnerHTML:{__html:yi(l)}},u))},o++));continue}if(i.includes("|")&&((s=t[r+1])!=null&&s.match(/^\|[-:\s|]+\|$/))){const a=[];for(;r<t.length&&t[r].includes("|");){const c=t[r].split("|").slice(1,-1).map(f=>f.trim());t[r].match(/^[-:\s|]+$/)||a.push(c),r++}const[l,...u]=a;n.push(g.jsx("div",{className:"overflow-x-auto mb-4",children:g.jsxs("table",{className:"w-full border-collapse",children:[g.jsx("thead",{children:g.jsx("tr",{children:l.map((c,f)=>g.jsx("th",{className:"text-left font-semibold p-3 bg-muted border-b border-border",children:c},f))})}),g.jsx("tbody",{children:u.map((c,f)=>g.jsx("tr",{children:c.map((m,p)=>g.jsx("td",{className:"p-3 border-b border-border",dangerouslySetInnerHTML:{__html:yi(m)}},p))},f))})]})},o++));continue}i.trim()&&n.push(g.jsx("p",{className:"mb-4",dangerouslySetInnerHTML:{__html:yi(i)}},o++)),r++}return n}function yi(e){return e.replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>").replace(/`([^`]+)`/g,'<code class="bg-muted px-1.5 py-0.5 rounded text-sm font-medium">$1</code>').replace(/\[([^\]]+)\]\(([^)]+)\)/g,'<a href="$2" class="text-primary hover:underline">$1</a>')}function M2({examples:e,className:t}
1109){const[n,r]=x.useState(0);return g.jsxs("div",{className:se("rounded-lg overflow-hidden border border-border",t),children:[g.jsx("div",{className:"flex bg-muted border-b border-border",children:e.map((o,s)=>g.jsx("button",{onClick:()=>r(s),className:se("px-4 py-2 text-sm font-medium transition-colors",n===s?"bg-code text-code-foreground":"text-muted-foreground hover:text-foreground hover:bg-muted"),children:o.label},o.language))}),g.jsx(Za,{code:e[n].code,language:e[n].language})]})}function O2({method:e,className:t}){return g.jsx("span",{className:se("method-badge",`method-${e.toLowerCase()}`,t),children:e})}const D2={users:{title:"Users",slug:"users",description:"Create, read, update, and delete user accounts.",baseUrl:"/v1/users",endpoints:[{method:"GET",path:"/v1/users",title:"List Users",description:"Returns a paginated list of all users in your account.",parameters:[{name:"limit",type:"integer",required:!1,description:"Number of users to return (default: 20, max: 100)"},{name:"offset",type:"integer",required:!1,description:"Number of users to skip (default: 0)"},{name:"sort",type:"string",required:!1,description:"Sort order (e.g., 'createdAt:desc')"}],response:{status:200,body:`{
1110  "data": [
1111    {
1112      "id": "usr_1234567890",
1113      "email": "[email protected]",
1114      "name": "John Doe",
1115      "role": "user",
1116      "createdAt": "2024-01-15T10:30:00Z"
1117    }
1118  ],
1119  "total": 42,
1120  "limit": 20,
1121  "offset": 0
1122}`},examples:{curl:`curl https://api.acme.dev/v1/users \\
1123  -H "Authorization: Bearer your-api-key"`,javascript:`const users = await client.users.list({
1124  limit: 20,
1125  offset: 0,
1126});
1127
1128console.log(users.data);`,python:`users = client.users.list(
1129    limit=20,
1130    offset=0
1131)
1132
1133print(users.data)`,ruby:`users = client.users.list(
1134  limit: 20,
1135  offset: 0
1136)
1137
1138puts users.data`}},{method:"POST",path:"/v1/users",title:"Create User",description:"Creates a new user with the provided information.",requestBody:{type:"object",properties:[{name:"email",type:"string",required:!0,description:"User's email address"},{name:"name",type:"string",required:!0,description:"User's full name"},{name:"role",type:"string",required:!1,description:"User role (default: 'user')"},{name:"password",type:"string",required:!1,description:"User password (min 8 characters)"}]},response:{status:201,body:`{
1139  "id": "usr_1234567890",
1140  "email": "[email protected]",
1141  "name": "John Doe",
1142  "role": "user",
1143  "createdAt": "2024-01-15T10:30:00Z",
1144  "updatedAt": "2024-01-15T10:30:00Z"
1145}`},examples:{curl:`curl -X POST https://api.acme.dev/v1/users \\
1146  -H "Authorization: Bearer your-api-key" \\
1147  -H "Content-Type: application/json" \\
1148  -d '{
1149    "email": "[email protected]",
1150    "name": "John Doe",
1151    "role": "user"
1152  }'`,javascript:`const user = await client.users.create({
1153  email: '[email protected]',
1154  name: 'John Doe',
1155  role: 'user',
1156});
1157
1158console.log(user.id);`,python:`user = client.users.create(
1159    email='[email protected]',
1160    name='John Doe',
1161    role='user'
1162)
1163
1164print(user.id)`,ruby:`user = client.users.create(
1165  email: '[email protected]',
1166  name: 'John Doe',
1167  role: 'user'
1168)
1169
1170puts user.id`}},{method:"GET",path:"/v1/users/:id",title:"Get User",description:"Retrieves a user by their unique ID.",parameters:[{name:"id",type:"string",required:!0,description:"The unique user ID"}],response:{status:200,body:`{
1171  "id": "usr_1234567890",
1172  "email": "[email protected]",
1173  "name": "John Doe",
1174  "role": "user",
1175  "avatar": null,
1176  "createdAt": "2024-01-15T10:30:00Z",
1177  "updatedAt": "2024-01-15T10:30:00Z"
1178}`},examples:{curl:`curl https://api.acme.dev/v1/users/usr_1234567890 \\
1179  -H "Authorization: Bearer your-api-key"`,javascript:`const user = await client.users.get('usr_1234567890');
1180
1181console.log(user.name);`,python:`user = client.users.get('usr_1234567890')
1182
1183print(user.name)`,ruby:`user = client.users.get('usr_1234567890')
1184
1185puts user.name`}},{method:"PATCH",path:"/v1/users/:id",title:"Update User",description:"Updates an existing user with the provided fields.",parameters:[{name:"id",type:"string",required:!0,description:"The unique user ID"}],requestBody:{type:"object",properties:[{name:"email",type:"string",required:!1,description:"User's email address"},{name:"name",type:"string",required:!1,description:"User's full name"},{name:"role",type:"string",required:!1,description:"User role"}]},response:{status:200,body:`{
1186  "id": "usr_1234567890",
1187  "email": "[email protected]",
1188  "name": "John Doe Updated",
1189  "role": "admin",
1190  "createdAt": "2024-01-15T10:30:00Z",
1191  "updatedAt": "2024-01-15T12:00:00Z"
1192}`},examples:{curl:`curl -X PATCH https://api.acme.dev/v1/users/usr_1234567890 \\
1193  -H "Authorization: Bearer your-api-key" \\
1194  -H "Content-Type: application/json" \\
1195  -d '{
1196    "name": "John Doe Updated",
1197    "role": "admin"
1198  }'`,javascript:`const user = await client.users.update('usr_1234567890', {
1199  name: 'John Doe Updated',
1200  role: 'admin',
1201});
1202
1203console.log(user);`,python:`user = client.users.update(
1204    'usr_1234567890',
1205    name='John Doe Updated',
1206    role='admin'
1207)
1208
1209print(user)`,ruby:`user = client.users.update(
1210  'usr_1234567890',
1211  name: 'John Doe Updated',
1212  role: 'admin'
1213)
1214
1215puts user`}},{method:"DELETE",path:"/v1/users/:id",title:"Delete User",description:"Permanently deletes a user. This action cannot be undone.",parameters:[{name:"id",type:"string",required:!0,description:"The unique user ID"}],response:{status:204,body:"// No content"},examples:{curl:`curl -X DELETE https://api.acme.dev/v1/users/usr_1234567890 \\
1216  -H "Authorization: Bearer your-api-key"`,javascript:`await client.users.delete('usr_1234567890');
1217
1218console.log('User deleted');`,python:`client.users.delete('usr_1234567890')
1219
1220print('User deleted')`,ruby:`client.users.delete('usr_1234567890')
1221
1222puts 'User deleted'`}}]},products:{title:"Products",slug:"products",description:"Manage your product catalog.",baseUrl:"/v1/products",endpoints:[{method:"GET",path:"/v1/products",title:"List Products",description:"Returns a paginated list of all products.",parameters:[{name:"limit",type:"integer",required:!1,description:"Number of products to return (default: 20)"},{name:"offset",type:"integer",required:!1,description:"Number of products to skip"},{name:"category",type:"string",required:!1,description:"Filter by category"}],response:{status:200,body:`{
1223  "data": [
1224    {
1225      "id": "prod_1234567890",
1226      "name": "Premium Widget",
1227      "price": 29.99,
1228      "currency": "USD",
1229      "inventory": 150
1230    }
1231  ],
1232  "total": 156,
1233  "limit": 20,
1234  "offset": 0
1235}`},examples:{curl:`curl https://api.acme.dev/v1/products \\
1236  -H "Authorization: Bearer your-api-key"`,javascript:`const products = await client.products.list({
1237  limit: 20,
1238  category: 'widgets',
1239});
1240
1241console.log(products.data);`,python:`products = client.products.list(
1242    limit=20,
1243    category='widgets'
1244)
1245
1246print(products.data)`,ruby:`products = client.products.list(
1247  limit: 20,
1248  category: 'widgets'
1249)
1250
1251puts products.data`}},{method:"POST",path:"/v1/products",title:"Create Product",description:"Creates a new product in your catalog.",requestBody:{type:"object",properties:[{name:"name",type:"string",required:!0,description:"Product name"},{name:"description",type:"string",required:!1,description:"Product description"},{name:"price",type:"number",required:!0,description:"Price in cents"},{name:"currency",type:"string",required:!1,description:"ISO currency code (default: USD)"},{name:"inventory",type:"integer",required:!1,description:"Stock quantity"}]},response:{status:201,body:`{
1252  "id": "prod_1234567890",
1253  "name": "Premium Widget",
1254  "description": "A high-quality widget",
1255  "price": 29.99,
1256  "currency": "USD",
1257  "inventory": 100,
1258  "createdAt": "2024-01-15T10:30:00Z"
1259}`},examples:{curl:`curl -X POST https://api.acme.dev/v1/products \\
1260  -H "Authorization: Bearer your-api-key" \\
1261  -H "Content-Type: application/json" \\
1262  -d '{
1263    "name": "Premium Widget",
1264    "price": 2999,
1265    "inventory": 100
1266  }'`,javascript:`const product = await client.products.create({
1267  name: 'Premium Widget',
1268  price: 2999,
1269  inventory: 100,
1270});
1271
1272console.log(product.id);`,python:`product = client.products.create(
1273    name='Premium Widget',
1274    price=2999,
1275    inventory=100
1276)
1277
1278print(product.id)`,ruby:`product = client.products.create(
1279  name: 'Premium Widget',
1280  price: 2999,
1281  inventory: 100
1282)
1283
1284puts product.id`}}
1284]}};function L2(){const{resource:e="users"}=Kv(),t=D2[e];return t?g.jsxs(Ns,{children:[g.jsxs("header",{className:"mb-8",children:[g.jsxs("h1",{className:"text-4xl font-bold mb-2",children:[t.title," API"]}),g.jsx("p",{className:"text-muted-foreground",children:t.description}),g.jsxs("div",{className:"mt-4 px-4 py-2 bg-muted rounded-lg font-mono text-sm",children:["Base URL: ",t.baseUrl]})]}),g.jsx("div",{className:"space-y-16",children:t.endpoints.map((n,r)=>g.jsxs("section",{className:"scroll-mt-24",id:n.title.toLowerCase().replace(/\s+/g,"-"),children:[g.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[g.jsx(O2,{method:n.method}),g.jsx("code",{className:"text-lg font-mono",children:n.path})]}),g.jsx("h2",{className:"text-2xl font-bold mb-2",children:n.title}),g.jsx("p",{className:"text-muted-foreground mb-6",children:n.description}),n.parameters&&n.parameters.length>0&&g.jsxs("div",{className:"mb-6",children:[g.jsx("h3",{className:"font-semibold mb-3",children:"Parameters"}),g.jsx("div",{className:"border border-border rounded-lg overflow-hidden",children:g.jsxs("table",{className:"w-full",children:[g.jsx("thead",{children:g.jsxs("tr",{className:"bg-muted",children:[g.jsx("th",{className:"text-left p-3 text-sm font-semibold",children:"Name"}),g.jsx("th",{className:"text-left p-3 text-sm font-semibold",children:"Type"}),g.jsx("th",{className:"text-left p-3 text-sm font-semibold",children:"Required"}),g.jsx("th",{className:"text-left p-3 text-sm font-semibold",children:"Description"})]})}),g.jsx("tbody",{children:n.parameters.map(o=>g.jsxs("tr",{className:"border-t border-border",children:[g.jsx("td",{className:"p-3 font-mono text-sm",children:o.name}),g.jsx("td",{className:"p-3 text-sm text-muted-foreground",children:o.type}),g.jsx("td",{className:"p-3 text-sm",children:o.required?g.jsx("span",{className:"text-destructive",children:"Required"}):"Optional"}),g.jsx("td",{className:"p-3 text-sm text-muted-foreground",children:o.description})]},o.name))})]})})]}),n.requestBody&&g.jsxs("div",{className:"mb-6",children:[g.jsx("h3",{className:"font-semibold mb-3",children:"Request Body"}),g.jsx("div",{className:"border border-border rounded-lg overflow-hidden",children:g.jsxs("table",{className:"w-full",children:[g.jsx("thead",{children:g.jsxs("tr",{className:"bg-muted",children:[g.jsx("th",{className:"text-left p-3 text-sm font-semibold",children:"Field"}),g.jsx("th",{className:"text-left p-3 text-sm font-semibold",children:"Type"}),g.jsx("th",{className:"text-left p-3 text-sm font-semibold",children:"Required"}),g.jsx("th",{className:"text-left p-3 text-sm font-semibold",children:"Description"})]})}),g.jsx("tbody",{children:n.requestBody.properties.map(o=>g.jsxs("tr",{className:"border-t border-border",children:[g.jsx("td",{className:"p-3 font-mono text-sm",children:o.name}),g.jsx("td",{className:"p-3 text-sm text-muted-foreground",children:o.type}),g.jsx("td",{className:"p-3 text-sm",children:o.required?g.jsx("span",{className:"text-destructive",children:"Required"}):"Optional"}),g.jsx("td",{className:"p-3 text-sm text-muted-foreground",children:o.description})]},o.name))})]})})]}),g.jsxs("div",{className:"mb-6",children:[g.jsx("h3",{className:"font-semibold mb-3",children:"Code Examples"}),g.jsx(M2,{examples:[{language:"bash",label:"cURL",code:n.examples.curl},{language:"javascript",label:"JavaScript",code:n.examples.javascript},{language:"python",label:"Python",code:n.examples.python},{language:"ruby",label:"Ruby",code:n.examples.ruby}]})]}),g.jsxs("div",{children:[g.jsxs("h3",{className:"font-semibold mb-3",children:["Response (",n.response.status,")"]}),g.jsx(Za,{code:n.response.body,language:"json"})]})]},r))})]}):g.jsx(Ns,{children:g.jsx("div",{className:"text-center py-16",children:g.jsx("h1",{children:"API Resource Not Found"})})})}const $2=()=>{const e=Jn();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),g.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:g.jsxs("div",{className:"text-center",children:[g.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),g.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),g.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},z2=new nC,B2=()=>g.jsx(oC,{client:z2,children:g.jsx(ak,{children:g.jsxs(jE,{children:[g.jsx(Ab,{}),g.jsx(oS,{}),g.jsx(ek,{children:g.jsxs(GC,{children:[g.jsx(Ko,{path:"/",element:g.jsx(N2,{})}),g.jsx(Ko,{path:"/docs/:slug",element:g.jsx(F2,{})}),g.jsx(Ko,{path:"/api/:resource",element:g.jsx(L2,{})}),g.jsx(Ko,{path:"*",element:g.jsx($2,{})})]})})]})})});gg(document.getElementById("root")).render(g.jsx(B2,{}));

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.