vendor: 4,179 bytes, lines 1-9
1var VU=Object.defineProperty;var fP=e=>{throw TypeError(e)};var GU=(e,t,n)=>t in e?VU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var bt=(e,t,n)=>GU(e,typeof t!="symbol"?t+"":t,n),lv=(e,t,n)=>t.has(e)||fP("Cannot "+n);var K=(e,t,n)=>(lv(e,t,"read from private field"),n?n.call(e):t.get(e)),Le=(e,t,n)=>t.has(e)?fP("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ke=(e,t,n,r)=>(lv(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),et=(e,t,n)=>(lv(e,t,"access private method"),n);var ch=(e,t,n,r)=>({set _(i){ke(e,t,i,n)},get _(){return K(e,t,r)}});function KU(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var uh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cv={exports:{}},nu={},uv={exports:{}},Je={};/** 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 dP;function XU(){if(dP)return Je;dP=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;function g(B){return B===null||typeof B!="object"?null:(B=p&&B[p]||B["@@iterator"],typeof B=="function"?B:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,b={};function v(B,X,F){this.props=B,this.context=X,this.refs=b,this.updater=F||y}v.prototype.isReactComponent={},v.prototype.setState=function(B,X){if(typeof B!="object"&&typeof B!="function"&&B!=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,B,X,"setState")},v.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function w(){}w.prototype=v.prototype;function j(B,X,F){this.props=B,this.context=X,this.refs=b,this.updater=F||y}var _=j.prototype=new w;_.constructor=j,S(_,v.prototype),_.isPureReactComponent=!0;var E=Array.isArray,N=Object.prototype.hasOwnProperty,P={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function T(B,X,F){var he,ye={},le=null,ce=null;if(X!=null)for(he in X.ref!==void 0&&(ce=X.ref),X.key!==void 0&&(le=""+X.key),X)N.call(X,he)&&!C.hasOwnProperty(he)&&(ye[he]=X[he]);var ve=arguments.length-2;if(ve===1)ye.children=F;else if(1<ve){for(var oe=Array(ve),pe=0;pe<ve;pe++)oe[pe]=arguments[pe+2];ye.children=oe}if(B&&B.defaultProps)for(he in ve=B.defaultProps,ve)ye[he]===void 0&&(ye[he]=ve[he]);return{$$typeof:e,type:B,key:le,ref:ce,props:ye,_owner:P.current}}function L(B,X){return{$$typeof:e,type:B.type,key:X,ref:B.ref,props:B.props,_owner:B._owner}}
vendor: 11,592 bytes, lines 9-33
9function D(B){return typeof B=="object"&&B!==null&&B.$$typeof===e}function M(B){var X={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(F){return X[F]})}var $=/\/+/g;function H(B,X){return typeof B=="object"&&B!==null&&B.key!=null?M(""+B.key):X.toString(36)}function U(B,X,F,he,ye){var le=typeof B;(le==="undefined"||le==="boolean")&&(B=null);var ce=!1;if(B===null)ce=!0;else switch(le){case"string":case"number":ce=!0;break;case"object":switch(B.$$typeof){case e:case t:ce=!0}}if(ce)return ce=B,ye=ye(ce),B=he===""?"."+H(ce,0):he,E(ye)?(F="",B!=null&&(F=B.replace($,"$&/")+"/"),U(ye,X,F,"",function(pe){return pe})):ye!=null&&(D(ye)&&(ye=L(ye,F+(!ye.key||ce&&ce.key===ye.key?"":(""+ye.key).replace($,"$&/")+"/")+B)),X.push(ye)),1;if(ce=0,he=he===""?".":he+":",E(B))for(var ve=0;ve<B.length;ve++){le=B[ve];var oe=he+H(le,ve);ce+=U(le,X,F,oe,ye)}else if(oe=g(B),typeof oe=="function")for(B=oe.call(B),ve=0;!(le=B.next()).done;)le=le.value,oe=he+H(le,ve++),ce+=U(le,X,F,oe,ye);else if(le==="object")throw X=String(B),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.");return ce}function z(B,X,F){if(B==null)return B;var he=[],ye=0;return U(B,he,"","",function(le){return X.call(F,le,ye++)}),he}function W(B){if(B._status===-1){var X=B._result;X=X(),X.then(function(F){(B._status===0||B._status===-1)&&(B._status=1,B._result=F)},function(F){(B._status===0||B._status===-1)&&(B._status=2,B._result=F)}),B._status===-1&&(B._status=0,B._result=X)}if(B._status===1)return B._result.default;throw B._result}var Z={current:null},V={transition:null},ee={ReactCurrentDispatcher:Z,ReactCurrentBatchConfig:V,ReactCurrentOwner:P};function R(){throw Error("act(...) is not supported in production builds of React.")}return Je.Children={map:z,forEach:function(B,X,F){z(B,function(){X.apply(this,arguments)},F)},count:function(B){var X=0;return z(B,function(){X++}),X},toArray:function(B){return z(B,function(X){return X})||[]},only:function(B){if(!D(B))throw Error("React.Children.only expected to receive a single React element child.");return B}},Je.Component=v,Je.Fragment=n,Je.Profiler=i,Je.PureComponent=j,Je.StrictMode=r,Je.Suspense=c,Je.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,Je.act=R,Je.cloneElement=function(B,X,F){if(B==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+B+".");var he=S({},B.props),ye=B.key,le=B.ref,ce=B._owner;if(X!=null){if(X.ref!==void 0&&(le=X.ref,ce=P.current),X.key!==void 0&&(ye=""+X.key),B.type&&B.type.defaultProps)var ve=B.type.defaultProps;for(oe in X)N.call(X,oe)&&!C.hasOwnProperty(oe)&&(he[oe]=X[oe]===void 0&&ve!==void 0?ve[oe]:X[oe])}var oe=arguments.length-2;if(oe===1)he.children=F;else if(1<oe){ve=Array(oe);for(var pe=0;pe<oe;pe++)ve[pe]=arguments[pe+2];he.children=ve}return{$$typeof:e,type:B.type,key:ye,ref:le,props:he,_owner:ce}},Je.createContext=function(B){return B={$$typeof:a,_currentValue:B,_currentValue2:B,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},B.Provider={$$typeof:o,_context:B},B.Consumer=B},Je.createElement=T,Je.createFactory=function(B){var X=T.bind(null,B);return X.type=B,X},Je.createRef=function(){return{current:null}},Je.forwardRef=function(B){return{$$typeof:s,render:B}},Je.isValidElement=D,Je.lazy=function(B){return{$$typeof:h,_payload:{_status:-1,_result:B},_init:W}},Je.memo=function(B,X){return{$$typeof:f,type:B,compare:X===void 0?null:X}},Je.startTransition=function(B){var X=V.transition;V.transition={};try{B()}finally{V.transition=X}},Je.unstable_act=R,Je.useCallback=function(B,X){return Z.current.useCallback(B,X)},Je.useContext=function(B){return Z.current.useContext(B)},Je.useDebugValue=function(){},Je.useDeferredValue=function(B){return Z.current.useDeferredValue(B)},Je.useEffect=function(B,X){return Z.current.useEffect(B,X)},Je.useId=function(){return Z.current.useId()},Je.useImperativeHandle=function(B,X,F){return Z.current.useImperativeHandle(B,X,F)},Je.useInsertionEffect=function(B,X){return Z.current.useInsertionEffect(B,X)},Je.useLayoutEffect=function(B,X){return Z.current.useLayoutEffect(B,X)},Je.useMemo=function(B,X){return Z.current.useMemo(B,X)},Je.useReducer=function(B,X,F){return Z.current.useReducer(B,X,F)},Je.useRef=function(B){return Z.current.useRef(B)},Je.useState=function(B){return Z.current.useState(B)},Je.useSyncExternalStore=function(B,X,F){return Z.current.useSyncExternalStore(B,X,F)},Je.useTransition=function(){return Z.current.useTransition()},Je.version="18.3.1",Je}var hP;function Nj(){return hP||(hP=1,uv.exports=XU()),uv.exports}/** 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 pP;function YU(){if(pP)return nu;pP=1;var e=Nj(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(s,c,f){var h,p={},g=null,y=null;f!==void 0&&(g=""+f),c.key!==void 0&&(g=""+c.key),c.ref!==void 0&&(y=c.ref);for(h in c)r.call(c,h)&&!o.hasOwnProperty(h)&&(p[h]=c[h]);if(s&&s.defaultProps)for(h in c=s.defaultProps,c)p[h]===void 0&&(p[h]=c[h]);return{$$typeof:t,type:s,key:g,ref:y,props:p,_owner:i.current}}return nu.Fragment=n,nu.jsx=a,nu.jsxs=a,nu}var mP;function JU(){return mP||(mP=1,cv.exports=YU()),cv.exports}var d=JU(),O=Nj();const Y=lt(O),ym=KU({__proto__:null,default:Y},[O]);var fh={},fv={exports:{}},Wn={},dv={exports:{}},hv={};/** 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 */var gP;function QU(){return gP||(gP=1,(function(e){function t(V,ee){var R=V.length;V.push(ee);e:for(;0<R;){var B=R-1>>>1,X=V[B];if(0<i(X,ee))V[B]=ee,V[R]=X,R=B;else break e}}function n(V){return V.length===0?null:V[0]}function r(V){if(V.length===0)return null;var ee=V[0],R=V.pop();if(R!==ee){V[0]=R;e:for(var B=0,X=V.length,F=X>>>1;B<F;){var he=2*(B+1)-1,ye=V[he],le=he+1,ce=V[le];if(0>i(ye,R))le<X&&0>i(ce,ye)?(V[B]=ce,V[le]=R,B=le):(V[B]=ye,V[he]=R,B=he);else if(le<X&&0>i(ce,R))V[B]=ce,V[le]=R,B=le;else break e}}return ee}function i(V,ee){var R=V.sortIndex-ee.sortIndex;return R!==0?R:V.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var c=[],f=[],h=1,p=null,g=3,y=!1,S=!1,b=!1,v=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(V){for(var ee=n(f);ee!==null;){if(ee.callback===null)r(f);else if(ee.startTime<=V)r(f),ee.sortIndex=ee.expirationTime,t(c,ee);else break;ee=n(f)}}function E(V){if(b=!1,_(V),!S)if(n(c)!==null)S=!0,W(N);else{var ee=n(f);ee!==null&&Z(E,ee.startTime-V)}}function N(V,ee){S=!1,b&&(b=!1,w(T),T=-1),y=!0;var R=g;try{for(_(ee),p=n(c);p!==null&&(!(p.expirationTime>ee)||V&&!M());){var B=p.callback;if(typeof B=="function"){p.callback=null,g=p.priorityLevel;var X=B(p.expirationTime<=ee);ee=e.unstable_now(),typeof X=="function"?p.callback=X:p===n(c)&&r(c),_(ee)}else r(c);p=n(c)}if(p!==null)var F=!0;else{var he=n(f);he!==null&&Z(E,he.startTime-ee),F=!1}return F}finally{p=null,g=R,y=!1}}var P=!1,C=null,T=-1,L=5,D=-1;function M(){return!(e.unstable_now()-D<L)}function $(){if(C!==null){var V=e.unstable_now();D=V;var ee=!0;try{ee=C(!0,V)}finally{ee?H():(P=!1,C=null)}}else P=!1}var H;if(typeof j=="function")H=function(){j($)};else if(typeof MessageChannel<"u"){var U=new MessageChannel,z=U.port2;U.port1.onmessage=$,H=function(){z.postMessage(null)}}else H=function(){v($,0)};function W(V){C=V,P||(P=!0,H())}function Z(V,ee){T=v(function(){V(e.unstable_now())},ee)}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(V){V.callback=null},e.unstable_continueExecution=function(){S||y||(S=!0,W(N))},e.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<V?Math.floor(1e3/V):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(V){switch(g){case 1:case 2:case 3:var ee=3;break;default:ee=g}var R=g;g=ee;try{return V()}finally{g=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(V,ee){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var R=g;g=V;try{return ee()}finally{g=R}},e.unstable_scheduleCallback=function(V,ee,R){var B=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?B+R:B):R=B,V){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=R+X,V={id:h++,callback:ee,priorityLevel:V,startTime:R,expirationTime:X,sortIndex:-1},R>B?(V.sortIndex=R,t(f,V),n(c)===null&&V===n(f)&&(b?(w(T),T=-1):b=!0,Z(E,R-B))):(V.sortIndex=X,t(c,V),S||y||(S=!0,W(N))),V},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(V){var ee=g;return function(){var R=g;g=ee;try{return V.apply(this,arguments)}finally{g=R}}}})(hv)),hv}var yP;function ZU(){return yP||(yP=1,dv.exports=QU()),dv.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 vP;function eq(){if(vP)return Wn;vP=1;var e=Nj(),t=ZU();function n(l){for(var u="https://reactjs.org/docs/error-decoder.html?invariant="+l,m=1;m<arguments.length;m++)u+="&args[]="+encodeURIComponent(arguments[m]);return"Minified React error #"+l+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,i={};function o(l,u){a(l,u),a(l+"Capture",u)}function a(l,u){for(i[l]=u,l=0;l<u.length;l++)r.add(u[l])}var s=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),c=Object.prototype.hasOwnProperty,f=/^[: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]*$/,h={},p={};function g(l){return c.call(p,l)?!0:c.call(h,l)?!1:f.test(l)?p[l]=!0:(h[l]=!0,!1)}function y(l,u,m,x){if(m!==null&&m.type===0)return!1;switch(typeof u){case"function":case"symbol":return!0;case"boolean":return x?!1:m!==null?!m.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function S(l,u,m,x){if(u===null||typeof u>"u"||y(l,u,m,x))return!0;
vendor: 40,906 bytes, lines 33-37
33if(x)return!1;if(m!==null)switch(m.type){case 3:return!u;case 4:return u===!1;case 5:return isNaN(u);case 6:return isNaN(u)||1>u}return!1}function b(l,u,m,x,k,A,I){this.acceptsBooleans=u===2||u===3||u===4,this.attributeName=x,this.attributeNamespace=k,this.mustUseProperty=m,this.propertyName=l,this.type=u,this.sanitizeURL=A,this.removeEmptyString=I}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){v[l]=new b(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var u=l[0];v[u]=new b(u,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){v[l]=new b(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){v[l]=new b(l,2,!1,l,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(l){v[l]=new b(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){v[l]=new b(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){v[l]=new b(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){v[l]=new b(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){v[l]=new b(l,5,!1,l.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function j(l){return l[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(l){var u=l.replace(w,j);v[u]=new b(u,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var u=l.replace(w,j);v[u]=new b(u,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var u=l.replace(w,j);v[u]=new b(u,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){v[l]=new b(l,1,!1,l.toLowerCase(),null,!1,!1)}),v.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){v[l]=new b(l,1,!1,l.toLowerCase(),null,!0,!0)});function _(l,u,m,x){var k=v.hasOwnProperty(u)?v[u]:null;(k!==null?k.type!==0:x||!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(S(u,m,k,x)&&(m=null),x||k===null?g(u)&&(m===null?l.removeAttribute(u):l.setAttribute(u,""+m)):k.mustUseProperty?l[k.propertyName]=m===null?k.type===3?!1:"":m:(u=k.attributeName,x=k.attributeNamespace,m===null?l.removeAttribute(u):(k=k.type,m=k===3||k===4&&m===!0?"":""+m,x?l.setAttributeNS(x,u,m):l.setAttribute(u,m))))}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,N=Symbol.for("react.element"),P=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),M=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),Z=Symbol.for("react.offscreen"),V=Symbol.iterator;function ee(l){return l===null||typeof l!="object"?null:(l=V&&l[V]||l["@@iterator"],typeof l=="function"?l:null)}var R=Object.assign,B;function X(l){if(B===void 0)try{throw Error()}catch(m){var u=m.stack.trim().match(/\n( *(at )?)/);B=u&&u[1]||""}return` 34`+B+l}var F=!1;function he(l,u){if(!l||F)return"";F=!0;var m=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(u)if(u=function(){throw Error()},Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(re){var x=re}Reflect.construct(l,[],u)}else{try{u.call()}catch(re){x=re}l.call(u.prototype)}else{try{throw Error()}catch(re){x=re}l()}}catch(re){if(re&&x&&typeof re.stack=="string"){for(var k=re.stack.split(` 35`),A=x.stack.split(` 36`),I=k.length-1,q=A.length-1;1<=I&&0<=q&&k[I]!==A[q];)q--;for(;1<=I&&0<=q;I--,q--)if(k[I]!==A[q]){if(I!==1||q!==1)do if(I--,q--,0>q||k[I]!==A[q]){var G=` 37`+k[I].replace(" at new "," at ");return l.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",l.displayName)),G}while(1<=I&&0<=q);break}}}finally{F=!1,Error.prepareStackTrace=m}return(l=l?l.displayName||l.name:"")?X(l):""}function ye(l){switch(l.tag){case 5:return X(l.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return l=he(l.type,!1),l;case 11:return l=he(l.type.render,!1),l;case 1:return l=he(l.type,!0),l;default:return""}}function le(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case C:return"Fragment";case P:return"Portal";case L:return"Profiler";case T:return"StrictMode";case H:return"Suspense";case U:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case M:return(l.displayName||"Context")+".Consumer";case D:return(l._context.displayName||"Context")+".Provider";case $:var u=l.render;return l=l.displayName,l||(l=u.displayName||u.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case z:return u=l.displayName||null,u!==null?u:le(l.type)||"Memo";case W:u=l._payload,l=l._init;try{return le(l(u))}catch{}}return null}function ce(l){var u=l.type;switch(l.tag){case 24:return"Cache";case 9:return(u.displayName||"Context")+".Consumer";case 10:return(u._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return l=u.render,l=l.displayName||l.name||"",u.displayName||(l!==""?"ForwardRef("+l+")":"ForwardRef");case 7:return"Fragment";case 5:return u;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return le(u);case 8:return u===T?"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 u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u}return null}function ve(l){switch(typeof l){case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function oe(l){var u=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function pe(l){var u=oe(l)?"checked":"value",m=Object.getOwnPropertyDescriptor(l.constructor.prototype,u),x=""+l[u];if(!l.hasOwnProperty(u)&&typeof m<"u"&&typeof m.get=="function"&&typeof m.set=="function"){var k=m.get,A=m.set;return Object.defineProperty(l,u,{configurable:!0,get:function(){return k.call(this)},set:function(I){x=""+I,A.call(this,I)}}),Object.defineProperty(l,u,{enumerable:m.enumerable}),{getValue:function(){return x},setValue:function(I){x=""+I},stopTracking:function(){l._valueTracker=null,delete l[u]}}}}function xe(l){l._valueTracker||(l._valueTracker=pe(l))}function ie(l){if(!l)return!1;var u=l._valueTracker;if(!u)return!0;var m=u.getValue(),x="";return l&&(x=oe(l)?l.checked?"true":"false":l.value),l=x,l!==m?(u.setValue(l),!0):!1}function $e(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function Re(l,u){var m=u.checked;return R({},u,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:m??l._wrapperState.initialChecked})}function We(l,u){var m=u.defaultValue==null?"":u.defaultValue,x=u.checked!=null?u.checked:u.defaultChecked;m=ve(u.value!=null?u.value:m),l._wrapperState={initialChecked:x,initialValue:m,controlled:u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null}}function je(l,u){u=u.checked,u!=null&&_(l,"checked",u,!1)}function Ve(l,u){je(l,u);var m=ve(u.value),x=u.type;if(m!=null)x==="number"?(m===0&&l.value===""||l.value!=m)&&(l.value=""+m):l.value!==""+m&&(l.value=""+m);else if(x==="submit"||x==="reset"){l.removeAttribute("value");return}u.hasOwnProperty("value")?vt(l,u.type,m):u.hasOwnProperty("defaultValue")&&vt(l,u.type,ve(u.defaultValue)),u.checked==null&&u.defaultChecked!=null&&(l.defaultChecked=!!u.defaultChecked)}function Pt(l,u,m){if(u.hasOwnProperty("value")||u.hasOwnProperty("defaultValue")){var x=u.type;if(!(x!=="submit"&&x!=="reset"||u.value!==void 0&&u.value!==null))return;u=""+l._wrapperState.initialValue,m||u===l.value||(l.value=u),l.defaultValue=u}m=l.name,m!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,m!==""&&(l.name=m)}function vt(l,u,m){(u!=="number"||$e(l.ownerDocument)!==l)&&(m==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+m&&(l.defaultValue=""+m))}var wn=Array.isArray;function nn(l,u,m,x){if(l=l.options,u){u={};for(var k=0;k<m.length;k++)u["$"+m[k]]=!0;for(m=0;m<l.length;m++)k=u.hasOwnProperty("$"+l[m].value),l[m].selected!==k&&(l[m].selected=k),k&&x&&(l[m].defaultSelected=!0)}else{for(m=""+ve(m),u=null,k=0;k<l.length;k++){if(l[k].value===m){l[k].selected=!0,x&&(l[k].defaultSelected=!0);return}u!==null||l[k].disabled||(u=l[k])}u!==null&&(u.selected=!0)}}function Kt(l,u){if(u.dangerouslySetInnerHTML!=null)throw Error(n(91));return R({},u,{value:void 0,defaultValue:void 0,children:""+l._wrapperState.initialValue})}function so(l,u){var m=u.value;if(m==null){if(m=u.children,u=u.defaultValue,m!=null){if(u!=null)throw Error(n(92));if(wn(m)){if(1<m.length)throw Error(n(93));m=m[0]}u=m}u==null&&(u=""),m=u}l._wrapperState={initialValue:ve(m)}}function ua(l,u){var m=ve(u.value),x=ve(u.defaultValue);m!=null&&(m=""+m,m!==l.value&&(l.value=m),u.defaultValue==null&&l.defaultValue!==m&&(l.defaultValue=m)),x!=null&&(l.defaultValue=""+x)}function fa(l){var u=l.textContent;u===l._wrapperState.initialValue&&u!==""&&u!==null&&(l.value=u)}function se(l){switch(l){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 be(l,u){return l==null||l==="http://www.w3.org/1999/xhtml"?se(u):l==="http://www.w3.org/2000/svg"&&u==="foreignObject"?"http://www.w3.org/1999/xhtml":l}var ze,Ye=(function(l){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(u,m,x,k){MSApp.execUnsafeLocalFunction(function(){return l(u,m,x,k)})}:l})(function(l,u){if(l.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in l)l.innerHTML=u;else{for(ze=ze||document.createElement("div"),ze.innerHTML="<svg>"+u.valueOf().toString()+"</svg>",u=ze.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;u.firstChild;)l.appendChild(u.firstChild)}});function it(l,u){if(u){var m=l.firstChild;if(m&&m===l.lastChild&&m.nodeType===3){m.nodeValue=u;return}}l.textContent=u}var fn={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},ki=["Webkit","ms","Moz","O"];Object.keys(fn).forEach(function(l){ki.forEach(function(u){u=u+l.charAt(0).toUpperCase()+l.substring(1),fn[u]=fn[l]})});function hr(l,u,m){return u==null||typeof u=="boolean"||u===""?"":m||typeof u!="number"||u===0||fn.hasOwnProperty(l)&&fn[l]?(""+u).trim():u+"px"}function lo(l,u){l=l.style;for(var m in u)if(u.hasOwnProperty(m)){var x=m.indexOf("--")===0,k=hr(m,u[m],x);m==="float"&&(m="cssFloat"),x?l.setProperty(m,k):l[m]=k}}var da=R({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 dn(l,u){if(u){if(da[l]&&(u.children!=null||u.dangerouslySetInnerHTML!=null))throw Error(n(137,l));if(u.dangerouslySetInnerHTML!=null){if(u.children!=null)throw Error(n(60));if(typeof u.dangerouslySetInnerHTML!="object"||!("__html"in u.dangerouslySetInnerHTML))throw Error(n(61))}if(u.style!=null&&typeof u.style!="object")throw Error(n(62))}}function ei(l,u){if(l.indexOf("-")===-1)return typeof u.is=="string";switch(l){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 er=null;function jg(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var _g=null,js=null,_s=null;function Pk(l){if(l=zc(l)){if(typeof _g!="function")throw Error(n(280));var u=l.stateNode;u&&(u=_d(u),_g(l.stateNode,l.type,u))}}function Ak(l){js?_s?_s.push(l):_s=[l]:js=l}function Ok(){if(js){var l=js,u=_s;if(_s=js=null,Pk(l),u)for(l=0;l<u.length;l++)Pk(u[l])}}function Ck(l,u){return l(u)}function Tk(){}var kg=!1;function Rk(l,u,m){if(kg)return l(u,m);kg=!0;try{return Ck(l,u,m)}finally{kg=!1,(js!==null||_s!==null)&&(Tk(),Ok())}}function bc(l,u){var m=l.stateNode;if(m===null)return null;var x=_d(m);if(x===null)return null;m=x[u];e:switch(u){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(x=!x.disabled)||(l=l.type,x=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!x;break e;default:l=!1}if(l)return null;if(m&&typeof m!="function")throw Error(n(231,u,typeof m));return m}var Eg=!1;if(s)try{var wc={};Object.defineProperty(wc,"passive",{get:function(){Eg=!0}}),window.addEventListener("test",wc,wc),window.removeEventListener("test",wc,wc)}catch{Eg=!1}function Qz(l,u,m,x,k,A,I,q,G){var re=Array.prototype.slice.call(arguments,3);try{u.apply(m,re)}catch(fe){this.onError(fe)}}var Sc=!1,nd=null,rd=!1,Ng=null,Zz={onError:function(l){Sc=!0,nd=l}};function e6(l,u,m,x,k,A,I,q,G){Sc=!1,nd=null,Qz.apply(Zz,arguments)}function t6(l,u,m,x,k,A,I,q,G){if(e6.apply(this,arguments),Sc){if(Sc){var re=nd;Sc=!1,nd=null}else throw Error(n(198));rd||(rd=!0,Ng=re)}}function ha(l){var u=l,m=l;if(l.alternate)for(;u.return;)u=u.return;else{l=u;do u=l,(u.flags&4098)!==0&&(m=u.return),l=u.return;while(l)}return u.tag===3?m:null}function Ik(l){if(l.tag===13){var u=l.memoizedState;if(u===null&&(l=l.alternate,l!==null&&(u=l.memoizedState)),u!==null)return u.dehydrated}return null}function Dk(l){if(ha(l)!==l)throw Error(n(188))}function n6(l){var u=l.alternate;if(!u){if(u=ha(l),u===null)throw Error(n(188));return u!==l?null:l}for(var m=l,x=u;;){var k=m.return;if(k===null)break;var A=k.alternate;if(A===null){if(x=k.return,x!==null){m=x;continue}break}if(k.child===A.child){for(A=k.child;A;){if(A===m)return Dk(k),l;if(A===x)return Dk(k),u;A=A.sibling}throw Error(n(188))}if(m.return!==x.return)m=k,x=A;else{for(var I=!1,q=k.child;q;){if(q===m){I=!0,m=k,x=A;break}if(q===x){I=!0,x=k,m=A;break}q=q.sibling}if(!I){for(q=A.child;q;){if(q===m){I=!0,m=A,x=k;break}if(q===x){I=!0,x=A,m=k;break}q=q.sibling}if(!I)throw Error(n(189))}}if(m.alternate!==x)throw Error(n(190))}if(m.tag!==3)throw Error(n(188));return m.stateNode.current===m?l:u}function Mk(l){return l=n6(l),l!==null?Lk(l):null}function Lk(l){if(l.tag===5||l.tag===6)return l;for(l=l.child;l!==null;){var u=Lk(l);if(u!==null)return u;l=l.sibling}return null}var $k=t.unstable_scheduleCallback,Fk=t.unstable_cancelCallback,r6=t.unstable_shouldYield,i6=t.unstable_requestPaint,Lt=t.unstable_now,o6=t.unstable_getCurrentPriorityLevel,Pg=t.unstable_ImmediatePriority,Bk=t.unstable_UserBlockingPriority,id=t.unstable_NormalPriority,a6=t.unstable_LowPriority,zk=t.unstable_IdlePriority,od=null,ti=null;function s6(l){if(ti&&typeof ti.onCommitFiberRoot=="function")try{ti.onCommitFiberRoot(od,l,void 0,(l.current.flags&128)===128)}catch{}}var Tr=Math.clz32?Math.clz32:u6,l6=Math.log,c6=Math.LN2;function u6(l){return l>>>=0,l===0?32:31-(l6(l)/c6|0)|0}var ad=64,sd=4194304;function jc(l){switch(l&-l){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 l&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return l&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return l}}function ld(l,u){var m=l.pendingLanes;if(m===0)return 0;var x=0,k=l.suspendedLanes,A=l.pingedLanes,I=m&268435455;if(I!==0){var q=I&~k;q!==0?x=jc(q):(A&=I,A!==0&&(x=jc(A)))}else I=m&~k,I!==0?x=jc(I):A!==0&&(x=jc(A));if(x===0)return 0;if(u!==0&&u!==x&&(u&k)===0&&(k=x&-x,A=u&-u,k>=A||k===16&&(A&4194240)!==0))return u;if((x&4)!==0&&(x|=m&16),u=l.entangledLanes,u!==0)for(l=l.entanglements,u&=x;0<u;)m=31-Tr(u),k=1<<m,x|=l[m],u&=~k;return x}function f6(l,u){switch(l){case 1:case 2:case 4:return u+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 u+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 d6(l,u){for(var m=l.suspendedLanes,x=l.pingedLanes,k=l.expirationTimes,A=l.pendingLanes;0<A;){var I=31-Tr(A),q=1<<I,G=k[I];G===-1?((q&m)===0||(q&x)!==0)&&(k[I]=f6(q,u)):G<=u&&(l.expiredLanes|=q),A&=~q}}function Ag(l){return l=l.pendingLanes&-1073741825,l!==0?l:l&1073741824?1073741824:0}function Uk(){var l=ad;return ad<<=1,(ad&4194240)===0&&(ad=64),l}function Og(l){for(var u=[],m=0;31>m;m++)u.push(l);return u}function _c(l,u,m){l.pendingLanes|=u,u!==536870912&&(l.suspendedLanes=0,l.pingedLanes=0),l=l.eventTimes,u=31-Tr(u),l[u]=m}function h6(l,u){var m=l.pendingLanes&~u;l.pendingLanes=u,l.suspendedLanes=0,l.pingedLanes=0,l.expiredLanes&=u,l.mutableReadLanes&=u,l.entangledLanes&=u,u=l.entanglements;var x=l.eventTimes;for(l=l.expirationTimes;0<m;){var k=31-Tr(m),A=1<<k;u[k]=0,x[k]=-1,l[k]=-1,m&=~A}}function Cg(l,u){var m=l.entangledLanes|=u;for(l=l.entanglements;m;){var x=31-Tr(m),k=1<<x;k&u|l[x]&u&&(l[x]|=u),m&=~k}}var ht=0;function qk(l){return l&=-l,1<l?4<l?(l&268435455)!==0?16:536870912:4:1}var Hk,Tg,Wk,Vk,Gk,Rg=!1,cd=[],co=null,uo=null,fo=null,kc=new Map,Ec=new Map,ho=[],p6="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 Kk(l,u){switch(l){case"focusin":case"focusout":co=null;break;case"dragenter":case"dragleave":uo=null;break;case"mouseover":case"mouseout":fo=null;break;case"pointerover":case"pointerout":kc.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ec.delete(u.pointerId)}}function Nc(l,u,m,x,k,A){return l===null||l.nativeEvent!==A?(l={blockedOn:u,domEventName:m,eventSystemFlags:x,nativeEvent:A,targetContainers:[k]},u!==null&&(u=zc(u),u!==null&&Tg(u)),l):(l.eventSystemFlags|=x,u=l.targetContainers,k!==null&&u.indexOf(k)===-1&&u.push(k),l)}function m6(l,u,m,x,k){switch(u){case"focusin":return co=Nc(co,l,u,m,x,k),!0;case"dragenter":return uo=Nc(uo,l,u,m,x,k),!0;case"mouseover":return fo=Nc(fo,l,u,m,x,k),!0;case"pointerover":var A=k.pointerId;return kc.set(A,Nc(kc.get(A)||null,l,u,m,x,k)),!0;case"gotpointercapture":return A=k.pointerId,Ec.set(A,Nc(Ec.get(A)||null,l,u,m,x,k)),!0}return!1}function Xk(l){var u=pa(l.target);if(u!==null){var m=ha(u);if(m!==null){if(u=m.tag,u===13){if(u=Ik(m),u!==null){l.blockedOn=u,Gk(l.priority,function(){Wk(m)});return}}else if(u===3&&m.stateNode.current.memoizedState.isDehydrated){l.blockedOn=m.tag===3?m.stateNode.containerInfo:null;return}}}l.blockedOn=null}function ud(l){if(l.blockedOn!==null)return!1;for(var u=l.targetContainers;0<u.length;){var m=Dg(l.domEventName,l.eventSystemFlags,u[0],l.nativeEvent);if(m===null){m=l.nativeEvent;var x=new m.constructor(m.type,m);er=x,m.target.dispatchEvent(x),er=null}else return u=zc(m),u!==null&&Tg(u),l.blockedOn=m,!1;u.shift()}return!0}function Yk(l,u,m){ud(l)&&m.delete(u)}function g6(){Rg=!1,co!==null&&ud(co)&&(co=null),uo!==null&&ud(uo)&&(uo=null),fo!==null&&ud(fo)&&(fo=null),kc.forEach(Yk),Ec.forEach(Yk)}function Pc(l,u){l.blockedOn===u&&(l.blockedOn=null,Rg||(Rg=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,g6)))}function Ac(l){function u(k){return Pc(k,l)}if(0<cd.length){Pc(cd[0],l);for(var m=1;m<cd.length;m++){var x=cd[m];x.blockedOn===l&&(x.blockedOn=null)}}for(co!==null&&Pc(co,l),uo!==null&&Pc(uo,l),fo!==null&&Pc(fo,l),kc.forEach(u),Ec.forEach(u),m=0;m<ho.length;m++)x=ho[m],x.blockedOn===l&&(x.blockedOn=null);for(;0<ho.length&&(m=ho[0],m.blockedOn===null);)Xk(m),m.blockedOn===null&&ho.shift()}var ks=E.ReactCurrentBatchConfig,fd=!0;function y6(l,u,m,x){var k=ht,A=ks.transition;ks.transition=null;try{ht=1,Ig(l,u,m,x)}finally{ht=k,ks.transition=A}}function v6(l,u,m,x){var k=ht,A=ks.transition;ks.transition=null;try{ht=4,Ig(l,u,m,x)}finally{ht=k,ks.transition=A}}function Ig(l,u,m,x){if(fd){var k=Dg(l,u,m,x);if(k===null)Qg(l,u,x,dd,m),Kk(l,x);else if(m6(k,l,u,m,x))x.stopPropagation();else if(Kk(l,x),u&4&&-1<p6.indexOf(l)){for(;k!==null;){var A=zc(k);if(A!==null&&Hk(A),A=Dg(l,u,m,x),A===null&&Qg(l,u,x,dd,m),A===k)break;k=A}k!==null&&x.stopPropagation()}else Qg(l,u,x,null,m)}}var dd=null;function Dg(l,u,m,x){if(dd=null,l=jg(x),l=pa(l),l!==null)if(u=ha(l),u===null)l=null;else if(m=u.tag,m===13){if(l=Ik(u),l!==null)return l;l=null}else if(m===3){if(u.stateNode.current.memoizedState.isDehydrated)return u.tag===3?u.stateNode.containerInfo:null;l=null}else u!==l&&(l=null);return dd=l,null}function Jk(l){switch(l){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(o6()){case Pg:return 1;case Bk:return 4;case id:case a6:return 16;case zk:return 536870912;default:return 16}default:return 16}}var po=null,Mg=null,hd=null;function Qk(){if(hd)return hd;var l,u=Mg,m=u.length,x,k="value"in po?po.value:po.textContent,A=k.length;for(l=0;l<m&&u[l]===k[l];l++);var I=m-l;for(x=1;x<=I&&u[m-x]===k[A-x];x++);return hd=k.slice(l,1<x?1-x:void 0)}function pd(l){var u=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&u===13&&(l=13)):l=u,l===10&&(l=13),32<=l||l===13?l:0}function md(){return!0}function Zk(){return!1}function tr(l){function u(m,x,k,A,I){this._reactName=m,this._targetInst=k,this.type=x,this.nativeEvent=A,this.target=I,this.currentTarget=null;for(var q in l)l.hasOwnProperty(q)&&(m=l[q],this[q]=m?m(A):A[q]);return this.isDefaultPrevented=(A.defaultPrevented!=null?A.defaultPrevented:A.returnValue===!1)?md:Zk,this.isPropagationStopped=Zk,this}return R(u.prototype,{preventDefault:function(){this.defaultPrevented=!0;var m=this.nativeEvent;m&&(m.preventDefault?m.preventDefault():typeof m.returnValue!="unknown"&&(m.returnValue=!1),this.isDefaultPrevented=md)},stopPropagation:function(){var m=this.nativeEvent;m&&(m.stopPropagation?m.stopPropagation():typeof m.cancelBubble!="unknown"&&(m.cancelBubble=!0),this.isPropagationStopped=md)},persist:function(){},isPersistent:md}),u}var Es={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Lg=tr(Es),Oc=R({},Es,{view:0,detail:0}),x6=tr(Oc),$g,Fg,Cc,gd=R({},Oc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zg,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Cc&&(Cc&&l.type==="mousemove"?($g=l.screenX-Cc.screenX,Fg=l.screenY-Cc.screenY):Fg=$g=0,Cc=l),$g)},movementY:function(l){return"movementY"in l?l.movementY:Fg}}),eE=tr(gd),b6=R({},gd,{dataTransfer:0}),w6=tr(b6),S6=R({},Oc,{relatedTarget:0}),Bg=tr(S6),j6=R({},Es,{animationName:0,elapsedTime:0,pseudoElement:0}),_6=tr(j6),k6=R({},Es,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),E6=tr(k6),N6=R({},Es,{data:0}),tE=tr(N6),P6={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},A6={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"},O6={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function C6(l){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(l):(l=O6[l])?!!u[l]:!1}function zg(){return C6}var T6=R({},Oc,{key:function(l){if(l.key){var u=P6[l.key]||l.key;if(u!=="Unidentified")return u}return l.type==="keypress"?(l=pd(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?A6[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zg,charCode:function(l){return l.type==="keypress"?pd(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?pd(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),R6=tr(T6),I6=R({},gd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),nE=tr(I6),D6=R({},Oc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zg}),M6=tr(D6),L6=R({},Es,{propertyName:0,elapsedTime:0,pseudoElement:0}),$6=tr(L6),F6=R({},gd,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),B6=tr(F6),z6=[9,13,27,32],Ug=s&&"CompositionEvent"in window,Tc=null;s&&"documentMode"in document&&(Tc=document.documentMode);var U6=s&&"TextEvent"in window&&!Tc,rE=s&&(!Ug||Tc&&8<Tc&&11>=Tc),iE=" ",oE=!1;function aE(l,u){switch(l){case"keyup":return z6.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sE(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ns=!1;function q6(l,u){switch(l){case"compositionend":return sE(u);case"keypress":return u.which!==32?null:(oE=!0,iE);case"textInput":return l=u.data,l===iE&&oE?null:l;default:return null}}function H6(l,u){if(Ns)return l==="compositionend"||!Ug&&aE(l,u)?(l=Qk(),hd=Mg=po=null,Ns=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1<u.char.length)return u.char;if(u.which)return String.fromCharCode(u.which)}return null;case"compositionend":return rE&&u.locale!=="ko"?null:u.data;default:return null}}var W6={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 lE(l){var u=l&&l.nodeName&&l.nodeName.toLowerCase();return u==="input"?!!W6[l.type]:u==="textarea"}function cE(l,u,m,x){Ak(x),u=wd(u,"onChange"),0<u.length&&(m=new Lg("onChange","change",null,m,x),l.push({event:m,listeners:u}))}var Rc=null,Ic=null;function V6(l){NE(l,0)}function yd(l){var u=Ts(l);if(ie(u))return l}function G6(l,u){if(l==="change")return u}var uE=!1;if(s){var qg;if(s){var Hg="oninput"in document;if(!Hg){var fE=document.createElement("div");fE.setAttribute("oninput","return;"),Hg=typeof fE.oninput=="function"}qg=Hg}else qg=!1;uE=qg&&(!document.documentMode||9<document.documentMode)}function dE(){Rc&&(Rc.detachEvent("onpropertychange",hE),Ic=Rc=null)}function hE(l){if(l.propertyName==="value"&&yd(Ic)){var u=[];cE(u,Ic,l,jg(l)),Rk(V6,u)}}function K6(l,u,m){l==="focusin"?(dE(),Rc=u,Ic=m,Rc.attachEvent("onpropertychange",hE)):l==="focusout"&&dE()}function X6(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return yd(Ic)}function Y6(l,u){if(l==="click")return yd(u)}function J6(l,u){if(l==="input"||l==="change")return yd(u)}function Q6(l,u){return l===u&&(l!==0||1/l===1/u)||l!==l&&u!==u}var Rr=typeof Object.is=="function"?Object.is:Q6;function Dc(l,u){if(Rr(l,u))return!0;if(typeof l!="object"||l===null||typeof u!="object"||u===null)return!1;var m=Object.keys(l),x=Object.keys(u);if(m.length!==x.length)return!1;for(x=0;x<m.length;x++){var k=m[x];if(!c.call(u,k)||!Rr(l[k],u[k]))return!1}return!0}function pE(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function mE(l,u){var m=pE(l);l=0;for(var x;m;){if(m.nodeType===3){if(x=l+m.textContent.length,l<=u&&x>=u)return{node:m,offset:u-l};l=x}e:{for(;m;){if(m.nextSibling){m=m.nextSibling;break e}m=m.parentNode}m=void 0}m=pE(m)}}function gE(l,u){return l&&u?l===u?!0:l&&l.nodeType===3?!1:u&&u.nodeType===3?gE(l,u.parentNode):"contains"in l?l.contains(u):l.compareDocumentPosition?!!(l.compareDocumentPosition(u)&16):!1:!1}function yE(){for(var l=window,u=$e();u instanceof l.HTMLIFrameElement;){try{var m=typeof u.contentWindow.location.href=="string"}catch{m=!1}if(m)l=u.contentWindow;else break;u=$e(l.document)}return u}function Wg(l){var u=l&&l.nodeName&&l.nodeName.toLowerCase();return u&&(u==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||u==="textarea"||l.contentEditable==="true")}function Z6(l){var u=yE(),m=l.focusedElem,x=l.selectionRange;if(u!==m&&m&&m.ownerDocument&&gE(m.ownerDocument.documentElement,m)){if(x!==null&&Wg(m)){if(u=x.start,l=x.end,l===void 0&&(l=u),"selectionStart"in m)m.selectionStart=u,m.selectionEnd=Math.min(l,m.value.length);else if(l=(u=m.ownerDocument||document)&&u.defaultView||window,l.getSelection){l=l.getSelection();var k=m.textContent.length,A=Math.min(x.start,k);x=x.end===void 0?A:Math.min(x.end,k),!l.extend&&A>x&&(k=x,x=A,A=k),k=mE(m,A);var I=mE(m,x);k&&I&&(l.rangeCount!==1||l.anchorNode!==k.node||l.anchorOffset!==k.offset||l.focusNode!==I.node||l.focusOffset!==I.offset)&&(u=u.createRange(),u.setStart(k.node,k.offset),l.removeAllRanges(),A>x?(l.addRange(u),l.extend(I.node,I.offset)):(u.setEnd(I.node,I.offset),l.addRange(u)))}}for(u=[],l=m;l=l.parentNode;)l.nodeType===1&&u.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<u.length;m++)l=u[m],l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}var eU=s&&"documentMode"in document&&11>=document.documentMode,Ps=null,Vg=null,Mc=null,Gg=!1;function vE(l,u,m){var x=m.window===m?m.document:m.nodeType===9?m:m.ownerDocument;Gg||Ps==null||Ps!==$e(x)||(x=Ps,"selectionStart"in x&&Wg(x)?x={start:x.selectionStart,end:x.selectionEnd}:(x=(x.ownerDocument&&x.ownerDocument.defaultView||window).getSelection(),x={anchorNode:x.anchorNode,anchorOffset:x.anchorOffset,focusNode:x.focusNode,focusOffset:x.focusOffset}),Mc&&Dc(Mc,x)||(Mc=x,x=wd(Vg,"onSelect"),0<x.length&&(u=new Lg("onSelect","select",null,u,m),l.push({event:u,listeners:x}),u.target=Ps)))}function vd(l,u){var m={};return m[l.toLowerCase()]=u.toLowerCase(),m["Webkit"+l]="webkit"+u,m["Moz"+l]="moz"+u,m}var As={animationend:vd("Animation","AnimationEnd"),animationiteration:vd("Animation","AnimationIteration"),animationstart:vd("Animation","AnimationStart"),transitionend:vd("Transition","TransitionEnd")},Kg={},xE={};s&&(xE=document.createElement("div").style,"AnimationEvent"in window||(delete As.animationend.animation,delete As.animationiteration.animation,delete As.animationstart.animation),"TransitionEvent"in window||delete As.transitionend.transition);function xd(l){if(Kg[l])return Kg[l];if(!As[l])return l;var u=As[l],m;for(m in u)if(u.hasOwnProperty(m)&&m in xE)return Kg[l]=u[m];return l}var bE=xd("animationend"),wE=xd("animationiteration"),SE=xd("animationstart"),jE=xd("transitionend"),_E=new Map,kE="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 mo(l,u){_E.set(l,u),o(u,[l])}for(var Xg=0;Xg<kE.length;Xg++){var Yg=kE[Xg],tU=Yg.toLowerCase(),nU=Yg[0].toUpperCase()+Yg.slice(1);mo(tU,"on"+nU)}mo(bE,"onAnimationEnd"),mo(wE,"onAnimationIteration"),mo(SE,"onAnimationStart"),mo("dblclick","onDoubleClick"),mo("focusin","onFocus"),mo("focusout","onBlur"),mo(jE,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lc="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(" "),rU=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lc));function EE(l,u,m){var x=l.type||"unknown-event";l.currentTarget=m,t6(x,u,void 0,l),l.currentTarget=null}function NE(l,u){u=(u&4)!==0;for(var m=0;m<l.length;m++){var x=l[m],k=x.event;x=x.listeners;e:{var A=void 0;if(u)for(var I=x.length-1;0<=I;I--){var q=x[I],G=q.instance,re=q.currentTarget;if(q=q.listener,G!==A&&k.isPropagationStopped())break e;EE(k,q,re),A=G}else for(I=0;I<x.length;I++){if(q=x[I],G=q.instance,re=q.currentTarget,q=q.listener,G!==A&&k.isPropagationStopped())break e;EE(k,q,re),A=G}}}if(rd)throw l=Ng,rd=!1,Ng=null,l}function kt(l,u){var m=u[iy];m===void 0&&(m=u[iy]=new Set);var x=l+"__bubble";m.has(x)||(PE(u,l,2,!1),m.add(x))}function Jg(l,u,m){var x=0;u&&(x|=4),PE(m,l,x,u)}var bd="_reactListening"+Math.random().toString(36).slice(2);function $c(l){if(!l[bd]){l[bd]=!0,r.forEach(function(m){m!=="selectionchange"&&(rU.has(m)||Jg(m,!1,l),Jg(m,!0,l))});var u=l.nodeType===9?l:l.ownerDocument;u===null||u[bd]||(u[bd]=!0,Jg("selectionchange",!1,u))}}function PE(l,u,m,x){switch(Jk(u)){case 1:var k=y6;break;case 4:k=v6;break;default:k=Ig}m=k.bind(null,u,m,l),k=void 0,!Eg||u!=="touchstart"&&u!=="touchmove"&&u!=="wheel"||(k=!0),x?k!==void 0?l.addEventListener(u,m,{capture:!0,passive:k}):l.addEventListener(u,m,!0):k!==void 0?l.addEventListener(u,m,{passive:k}):l.addEventListener(u,m,!1)}function Qg(l,u,m,x,k){var A=x;if((u&1)===0&&(u&2)===0&&x!==null)e:for(;;){if(x===null)return;var I=x.tag;if(I===3||I===4){var q=x.stateNode.containerInfo;if(q===k||q.nodeType===8&&q.parentNode===k)break;if(I===4)for(I=x.return;I!==null;){var G=I.tag;if((G===3||G===4)&&(G=I.stateNode.containerInfo,G===k||G.nodeType===8&&G.parentNode===k))return;I=I.return}for(;q!==null;){if(I=pa(q),I===null)return;if(G=I.tag,G===5||G===6){x=A=I;continue e}q=q.parentNode}}x=x.return}Rk(function(){var re=A,fe=jg(m),de=[];e:{var ue=_E.get(l);if(ue!==void 0){var _e=Lg,Pe=l;switch(l){case"keypress":if(pd(m)===0)break e;case"keydown":case"keyup":_e=R6;break;case"focusin":Pe="focus",_e=Bg;break;case"focusout":Pe="blur",_e=Bg;break;case"beforeblur":case"afterblur":_e=Bg;break;case"click":if(m.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_e=eE;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_e=w6;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_e=M6;break;case bE:case wE:case SE:_e=_6;break;case jE:_e=$6;break;case"scroll":_e=x6;break;case"wheel":_e=B6;break;case"copy":case"cut":case"paste":_e=E6;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_e=nE}var Ce=(u&4)!==0,$t=!Ce&&l==="scroll",te=Ce?ue!==null?ue+"Capture":null:ue;Ce=[];for(var J=re,ne;J!==null;){ne=J;var ge=ne.stateNode;if(ne.tag===5&&ge!==null&&(ne=ge,te!==null&&(ge=bc(J,te),ge!=null&&Ce.push(Fc(J,ge,ne)))),$t)break;J=J.return}0<Ce.length&&(ue=new _e(ue,Pe,null,m,fe),de.push({event:ue,listeners:Ce}))}}if((u&7)===0){e:{if(ue=l==="mouseover"||l==="pointerover",_e=l==="mouseout"||l==="pointerout",ue&&m!==er&&(Pe=m.relatedTarget||m.fromElement)&&(pa(Pe)||Pe[Ei]))break e;if((_e||ue)&&(ue=fe.window===fe?fe:(ue=fe.ownerDocument)?ue.defaultView||ue.parentWindow:window,_e?(Pe=m.relatedTarget||m.toElement,_e=re,Pe=Pe?pa(Pe):null,Pe!==null&&($t=ha(Pe),Pe!==$t||Pe.tag!==5&&Pe.tag!==6)&&(Pe=null)):(_e=null,Pe=re),_e!==Pe)){if(Ce=eE,ge="onMouseLeave",te="onMouseEnter",J="mouse",(l==="pointerout"||l==="pointerover")&&(Ce=nE,ge="onPointerLeave",te="onPointerEnter",J="pointer"),$t=_e==null?ue:Ts(_e),ne=Pe==null?ue:Ts(Pe),ue=new Ce(ge,J+"leave",_e,m,fe),ue.target=$t,ue.relatedTarget=ne,ge=null,pa(fe)===re&&(Ce=new Ce(te,J+"enter",Pe,m,fe),Ce.target=ne,Ce.relatedTarget=$t,ge=Ce),$t=ge,_e&&Pe)t:{for(Ce=_e,te=Pe,J=0,ne=Ce;ne;ne=Os(ne))J++;for(ne=0,ge=te;ge;ge=Os(ge))ne++;for(;0<J-ne;)Ce=Os(Ce),J--;for(;0<ne-J;)te=Os(te),ne--;for(;J--;){if(Ce===te||te!==null&&Ce===te.alternate)break t;Ce=Os(Ce),te=Os(te)}Ce=null}else Ce=null;_e!==null&&AE(de,ue,_e,Ce,!1),Pe!==null&&$t!==null&&AE(de,$t,Pe,Ce,!0)}}
vendor: 14,735 bytes, lines 37-38
37e:{if(ue=re?Ts(re):window,_e=ue.nodeName&&ue.nodeName.toLowerCase(),_e==="select"||_e==="input"&&ue.type==="file")var Te=G6;else if(lE(ue))if(uE)Te=J6;else{Te=X6;var Ie=K6}else(_e=ue.nodeName)&&_e.toLowerCase()==="input"&&(ue.type==="checkbox"||ue.type==="radio")&&(Te=Y6);if(Te&&(Te=Te(l,re))){cE(de,Te,m,fe);break e}Ie&&Ie(l,ue,re),l==="focusout"&&(Ie=ue._wrapperState)&&Ie.controlled&&ue.type==="number"&&vt(ue,"number",ue.value)}switch(Ie=re?Ts(re):window,l){case"focusin":(lE(Ie)||Ie.contentEditable==="true")&&(Ps=Ie,Vg=re,Mc=null);break;case"focusout":Mc=Vg=Ps=null;break;case"mousedown":Gg=!0;break;case"contextmenu":case"mouseup":case"dragend":Gg=!1,vE(de,m,fe);break;case"selectionchange":if(eU)break;case"keydown":case"keyup":vE(de,m,fe)}var De;if(Ug)e:{switch(l){case"compositionstart":var Ue="onCompositionStart";break e;case"compositionend":Ue="onCompositionEnd";break e;case"compositionupdate":Ue="onCompositionUpdate";break e}Ue=void 0}else Ns?aE(l,m)&&(Ue="onCompositionEnd"):l==="keydown"&&m.keyCode===229&&(Ue="onCompositionStart");Ue&&(rE&&m.locale!=="ko"&&(Ns||Ue!=="onCompositionStart"?Ue==="onCompositionEnd"&&Ns&&(De=Qk()):(po=fe,Mg="value"in po?po.value:po.textContent,Ns=!0)),Ie=wd(re,Ue),0<Ie.length&&(Ue=new tE(Ue,l,null,m,fe),de.push({event:Ue,listeners:Ie}),De?Ue.data=De:(De=sE(m),De!==null&&(Ue.data=De)))),(De=U6?q6(l,m):H6(l,m))&&(re=wd(re,"onBeforeInput"),0<re.length&&(fe=new tE("onBeforeInput","beforeinput",null,m,fe),de.push({event:fe,listeners:re}),fe.data=De))}NE(de,u)})}function Fc(l,u,m){return{instance:l,listener:u,currentTarget:m}}function wd(l,u){for(var m=u+"Capture",x=[];l!==null;){var k=l,A=k.stateNode;k.tag===5&&A!==null&&(k=A,A=bc(l,m),A!=null&&x.unshift(Fc(l,A,k)),A=bc(l,u),A!=null&&x.push(Fc(l,A,k))),l=l.return}return x}function Os(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5);return l||null}function AE(l,u,m,x,k){for(var A=u._reactName,I=[];m!==null&&m!==x;){var q=m,G=q.alternate,re=q.stateNode;if(G!==null&&G===x)break;q.tag===5&&re!==null&&(q=re,k?(G=bc(m,A),G!=null&&I.unshift(Fc(m,G,q))):k||(G=bc(m,A),G!=null&&I.push(Fc(m,G,q)))),m=m.return}I.length!==0&&l.push({event:u,listeners:I})}var iU=/\r\n?/g,oU=/\u0000|\uFFFD/g;function OE(l){return(typeof l=="string"?l:""+l).replace(iU,` 38`).replace(oU,"")}function Sd(l,u,m){if(u=OE(u),OE(l)!==u&&m)throw Error(n(425))}function jd(){}var Zg=null,ey=null;function ty(l,u){return l==="textarea"||l==="noscript"||typeof u.children=="string"||typeof u.children=="number"||typeof u.dangerouslySetInnerHTML=="object"&&u.dangerouslySetInnerHTML!==null&&u.dangerouslySetInnerHTML.__html!=null}var ny=typeof setTimeout=="function"?setTimeout:void 0,aU=typeof clearTimeout=="function"?clearTimeout:void 0,CE=typeof Promise=="function"?Promise:void 0,sU=typeof queueMicrotask=="function"?queueMicrotask:typeof CE<"u"?function(l){return CE.resolve(null).then(l).catch(lU)}:ny;function lU(l){setTimeout(function(){throw l})}function ry(l,u){var m=u,x=0;do{var k=m.nextSibling;if(l.removeChild(m),k&&k.nodeType===8)if(m=k.data,m==="/$"){if(x===0){l.removeChild(k),Ac(u);return}x--}else m!=="$"&&m!=="$?"&&m!=="$!"||x++;m=k}while(m);Ac(u)}function go(l){for(;l!=null;l=l.nextSibling){var u=l.nodeType;if(u===1||u===3)break;if(u===8){if(u=l.data,u==="$"||u==="$!"||u==="$?")break;if(u==="/$")return null}}return l}function TE(l){l=l.previousSibling;for(var u=0;l;){if(l.nodeType===8){var m=l.data;if(m==="$"||m==="$!"||m==="$?"){if(u===0)return l;u--}else m==="/$"&&u++}l=l.previousSibling}return null}var Cs=Math.random().toString(36).slice(2),ni="__reactFiber$"+Cs,Bc="__reactProps$"+Cs,Ei="__reactContainer$"+Cs,iy="__reactEvents$"+Cs,cU="__reactListeners$"+Cs,uU="__reactHandles$"+Cs;function pa(l){var u=l[ni];if(u)return u;for(var m=l.parentNode;m;){if(u=m[Ei]||m[ni]){if(m=u.alternate,u.child!==null||m!==null&&m.child!==null)for(l=TE(l);l!==null;){if(m=l[ni])return m;l=TE(l)}return u}l=m,m=l.parentNode}return null}function zc(l){return l=l[ni]||l[Ei],!l||l.tag!==5&&l.tag!==6&&l.tag!==13&&l.tag!==3?null:l}function Ts(l){if(l.tag===5||l.tag===6)return l.stateNode;throw Error(n(33))}function _d(l){return l[Bc]||null}var oy=[],Rs=-1;function yo(l){return{current:l}}function Et(l){0>Rs||(l.current=oy[Rs],oy[Rs]=null,Rs--)}function xt(l,u){Rs++,oy[Rs]=l.current,l.current=u}var vo={},Sn=yo(vo),Bn=yo(!1),ma=vo;function Is(l,u){var m=l.type.contextTypes;if(!m)return vo;var x=l.stateNode;if(x&&x.__reactInternalMemoizedUnmaskedChildContext===u)return x.__reactInternalMemoizedMaskedChildContext;var k={},A;for(A in m)k[A]=u[A];return x&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=u,l.__reactInternalMemoizedMaskedChildContext=k),k}function zn(l){return l=l.childContextTypes,l!=null}function kd(){Et(Bn),Et(Sn)}function RE(l,u,m){if(Sn.current!==vo)throw Error(n(168));xt(Sn,u),xt(Bn,m)}function IE(l,u,m){var x=l.stateNode;if(u=u.childContextTypes,typeof x.getChildContext!="function")return m;x=x.getChildContext();for(var k in x)if(!(k in u))throw Error(n(108,ce(l)||"Unknown",k));return R({},m,x)}function Ed(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||vo,ma=Sn.current,xt(Sn,l),xt(Bn,Bn.current),!0}function DE(l,u,m){var x=l.stateNode;if(!x)throw Error(n(169));m?(l=IE(l,u,ma),x.__reactInternalMemoizedMergedChildContext=l,Et(Bn),Et(Sn),xt(Sn,l)):Et(Bn),xt(Bn,m)}var Ni=null,Nd=!1,ay=!1;function ME(l){Ni===null?Ni=[l]:Ni.push(l)}function fU(l){Nd=!0,ME(l)}function xo(){if(!ay&&Ni!==null){ay=!0;var l=0,u=ht;try{var m=Ni;for(ht=1;l<m.length;l++){var x=m[l];do x=x(!0);while(x!==null)}Ni=null,Nd=!1}catch(k){throw Ni!==null&&(Ni=Ni.slice(l+1)),$k(Pg,xo),k}finally{ht=u,ay=!1}}return null}var Ds=[],Ms=0,Pd=null,Ad=0,pr=[],mr=0,ga=null,Pi=1,Ai="";function ya(l,u){Ds[Ms++]=Ad,Ds[Ms++]=Pd,Pd=l,Ad=u}function LE(l,u,m){pr[mr++]=Pi,pr[mr++]=Ai,pr[mr++]=ga,ga=l;var x=Pi;l=Ai;var k=32-Tr(x)-1;x&=~(1<<k),m+=1;var A=32-Tr(u)+k;if(30<A){var I=k-k%5;A=(x&(1<<I)-1).toString(32),x>>=I,k-=I,Pi=1<<32-Tr(u)+k|m<<k|x,Ai=A+l}else Pi=1<<A|m<<k|x,Ai=l}function sy(l){l.return!==null&&(ya(l,1),LE(l,1,0))}function ly(l){for(;l===Pd;)Pd=Ds[--Ms],Ds[Ms]=null,Ad=Ds[--Ms],Ds[Ms]=null;for(;l===ga;)ga=pr[--mr],pr[mr]=null,Ai=pr[--mr],pr[mr]=null,Pi=pr[--mr],pr[mr]=null}var nr=null,rr=null,At=!1,Ir=null;function $E(l,u){var m=xr(5,null,null,0);m.elementType="DELETED",m.stateNode=u,m.return=l,u=l.deletions,u===null?(l.deletions=[m],l.flags|=16):u.push(m)}function FE(l,u){switch(l.tag){case 5:var m=l.type;return u=u.nodeType!==1||m.toLowerCase()!==u.nodeName.toLowerCase()?null:u,u!==null?(l.stateNode=u,nr=l,rr=go(u.firstChild),!0):!1;case 6:return u=l.pendingProps===""||u.nodeType!==3?null:u,u!==null?(l.stateNode=u,nr=l,rr=null,!0):!1;case 13:return u=u.nodeType!==8?null:u,u!==null?(m=ga!==null?{id:Pi,overflow:Ai}:null,l.memoizedState={dehydrated:u,treeContext:m,retryLane:1073741824},m=xr(18,null,null,0),m.stateNode=u,m.return=l,l.child=m,nr=l,rr=null,!0):!1;default:return!1}}function cy(l){return(l.mode&1)!==0&&(l.flags&128)===0}function uy(l){if(At){var u=rr;if(u){var m=u;if(!FE(l,u)){if(cy(l))throw Error(n(418));u=go(m.nextSibling);var x=nr;u&&FE(l,u)?$E(x,m):(l.flags=l.flags&-4097|2,At=!1,nr=l)}}else{if(cy(l))throw Error(n(418));l.flags=l.flags&-4097|2,At=!1,nr=l}}}function BE(l){for(l=l.return;l!==null&&l.tag!==5&&l.tag!==3&&l.tag!==13;)l=l.return;nr=l}function Od(l){if(l!==nr)return!1;if(!At)return BE(l),At=!0,!1;var u;if((u=l.tag!==3)&&!(u=l.tag!==5)&&(u=l.type,u=u!=="head"&&u!=="body"&&!ty(l.type,l.memoizedProps)),u&&(u=rr)){if(cy(l))throw zE(),Error(n(418));for(;u;)$E(l,u),u=go(u.nextSibling)}if(BE(l),l.tag===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(n(317));e:{for(l=l.nextSibling,u=0;l;){if(l.nodeType===8){var m=l.data;if(m==="/$"){if(u===0){rr=go(l.nextSibling);break e}u--}else m!=="$"&&m!=="$!"&&m!=="$?"||u++}l=l.nextSibling}rr=null}}else rr=nr?go(l.stateNode.nextSibling):null;return!0}function zE(){for(var l=rr;l;)l=go(l.nextSibling)}function Ls(){rr=nr=null,At=!1}function fy(l){Ir===null?Ir=[l]:Ir.push(l)}var dU=E.ReactCurrentBatchConfig;function Uc(l,u,m){if(l=m.ref,l!==null&&typeof l!="function"&&typeof l!="object"){if(m._owner){if(m=m._owner,m){if(m.tag!==1)throw Error(n(309));var x=m.stateNode}if(!x)throw Error(n(147,l));var k=x,A=""+l;return u!==null&&u.ref!==null&&typeof u.ref=="function"&&u.ref._stringRef===A?u.ref:(u=function(I){var q=k.refs;I===null?delete q[A]:q[A]=I},u._stringRef=A,u)}if(typeof l!="string")throw Error(n(284));if(!m._owner)throw Error(n(290,l))}return l}function Cd(l,u){throw l=Object.prototype.toString.call(u),Error(n(31,l==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":l))}function UE(l){var u=l._init;return u(l._payload)}function qE(l){function u(te,J){if(l){var ne=te.deletions;ne===null?(te.deletions=[J],te.flags|=16):ne.push(J)}}function m(te,J){if(!l)return null;for(;J!==null;)u(te,J),J=J.sibling;return null}function x(te,J){for(te=new Map;J!==null;)J.key!==null?te.set(J.key,J):te.set(J.index,J),J=J.sibling;return te}function k(te,J){return te=No(te,J),te.index=0,te.sibling=null,te}function A(te,J,ne){return te.index=ne,l?(ne=te.alternate,ne!==null?(ne=ne.index,ne<J?(te.flags|=2,J):ne):(te.flags|=2,J)):(te.flags|=1048576,J)}function I(te){return l&&te.alternate===null&&(te.flags|=2),te}function q(te,J,ne,ge){return J===null||J.tag!==6?(J=nv(ne,te.mode,ge),J.return=te,J):(J=k(J,ne),J.return=te,J)}function G(te,J,ne,ge){var Te=ne.type;return Te===C?fe(te,J,ne.props.children,ge,ne.key):J!==null&&(J.elementType===Te||typeof Te=="object"&&Te!==null&&Te.$$typeof===W&&UE(Te)===J.type)?(ge=k(J,ne.props),ge.ref=Uc(te,J,ne),ge.return=te,ge):(ge=th(ne.type,ne.key,ne.props,null,te.mode,ge),ge.ref=Uc(te,J,ne),ge.return=te,ge)}function re(te,J,ne,ge){return J===null||J.tag!==4||J.stateNode.containerInfo!==ne.containerInfo||J.stateNode.implementation!==ne.implementation?(J=rv(ne,te.mode,ge),J.return=te,J):(J=k(J,ne.children||[]),J.return=te,J)}function fe(te,J,ne,ge,Te){return J===null||J.tag!==7?(J=ka(ne,te.mode,ge,Te),J.return=te,J):(J=k(J,ne),J.return=te,J)}function de(te,J,ne){if(typeof J=="string"&&J!==""||typeof J=="number")return J=nv(""+J,te.mode,ne),J.return=te,J;if(typeof J=="object"&&J!==null){switch(J.$$typeof){case N:return ne=th(J.type,J.key,J.props,null,te.mode,ne),ne.ref=Uc(te,null,J),ne.return=te,ne;case P:return J=rv(J,te.mode,ne),J.return=te,J;case W:var ge=J._init;return de(te,ge(J._payload),ne)}if(wn(J)||ee(J))return J=ka(J,te.mode,ne,null),J.return=te,J;Cd(te,J)}return null}function ue(te,J,ne,ge){var Te=J!==null?J.key:null;if(typeof ne=="string"&&ne!==""||typeof ne=="number")return Te!==null?null:q(te,J,""+ne,ge);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case N:return ne.key===Te?G(te,J,ne,ge):null;case P:return ne.key===Te?re(te,J,ne,ge):null;case W:return Te=ne._init,ue(te,J,Te(ne._payload),ge)}if(wn(ne)||ee(ne))return Te!==null?null:fe(te,J,ne,ge,null);Cd(te,ne)}return null}function _e(te,J,ne,ge,Te){if(typeof ge=="string"&&ge!==""||typeof ge=="number")return te=te.get(ne)||null,q(J,te,""+ge,Te);if(typeof ge=="object"&&ge!==null){switch(ge.$$typeof){case N:return te=te.get(ge.key===null?ne:ge.key)||null,G(J,te,ge,Te);case P:return te=te.get(ge.key===null?ne:ge.key)||null,re(J,te,ge,Te);case W:var Ie=ge._init;return _e(te,J,ne,Ie(ge._payload),Te)}if(wn(ge)||ee(ge))return te=te.get(ne)||null,fe(J,te,ge,Te,null);Cd(J,ge)}return null}function Pe(te,J,ne,ge){for(var Te=null,Ie=null,De=J,Ue=J=0,an=null;De!==null&&Ue<ne.length;Ue++){De.index>Ue?(an=De,De=null):an=De.sibling;var at=ue(te,De,ne[Ue],ge);if(at===null){De===null&&(De=an);break}l&&De&&at.alternate===null&&u(te,De),J=A(at,J,Ue),Ie===null?Te=at:Ie.sibling=at,Ie=at,De=an}if(Ue===ne.length)return m(te,De),At&&ya(te,Ue),Te;if(De===null){for(;Ue<ne.length;Ue++)De=de(te,ne[Ue],ge),De!==null&&(J=A(De,J,Ue),Ie===null?Te=De:Ie.sibling=De,Ie=De);return At&&ya(te,Ue),Te}for(De=x(te,De);Ue<ne.length;Ue++)an=_e(De,te,Ue,ne[Ue],ge),an!==null&&(l&&an.alternate!==null&&De.delete(an.key===null?Ue:an.key),J=A(an,J,Ue),Ie===null?Te=an:Ie.sibling=an,Ie=an);return l&&De.forEach(function(Po){return u(te,Po)}),At&&ya(te,Ue),Te}function Ce(te,J,ne,ge){var Te=ee(ne);if(typeof Te!="function")throw Error(n(150));if(ne=Te.call(ne),ne==null)throw Error(n(151));for(var Ie=Te=null,De=J,Ue=J=0,an=null,at=ne.next();De!==null&&!at.done;Ue++,at=ne.next()){De.index>Ue?(an=De,De=null):an=De.sibling;var Po=ue(te,De,at.value,ge);if(Po===null){De===null&&(De=an);break}l&&De&&Po.alternate===null&&u(te,De),J=A(Po,J,Ue),Ie===null?Te=Po:Ie.sibling=Po,Ie=Po,De=an}if(at.done)return m(te,De),At&&ya(te,Ue),Te;if(De===null){for(;!at.done;Ue++,at=ne.next())at=de(te,at.value,ge),at!==null&&(J=A(at,J,Ue),Ie===null?Te=at:Ie.sibling=at,Ie=at);return At&&ya(te,Ue),Te}for(De=x(te,De);!at.done;Ue++,at=ne.next())at=_e(De,te,Ue,at.value,ge),at!==null&&(l&&at.alternate!==null&&De.delete(at.key===null?Ue:at.key),J=A(at,J,Ue),Ie===null?Te=at:Ie.sibling=at,Ie=at);return l&&De.forEach(function(WU){return u(te,WU)}),At&&ya(te,Ue),Te}function $t(te,J,ne,ge){if(typeof ne=="object"&&ne!==null&&ne.type===C&&ne.key===null&&(ne=ne.props.children),typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case N:e:{for(var Te=ne.key,Ie=J;Ie!==null;){if(Ie.key===Te){if(Te=ne.type,Te===C){if(Ie.tag===7){m(te,Ie.sibling),J=k(Ie,ne.props.children),J.return=te,te=J;break e}}else if(Ie.elementType===Te||typeof Te=="object"&&Te!==null&&Te.$$typeof===W&&UE(Te)===Ie.type){m(te,Ie.sibling),J=k(Ie,ne.props),J.ref=Uc(te,Ie,ne),J.return=te,te=J;break e}m(te,Ie);break}else u(te,Ie);Ie=Ie.sibling}ne.type===C?(J=ka(ne.props.children,te.mode,ge,ne.key),J.return=te,te=J):(ge=th(ne.type,ne.key,ne.props,null,te.mode,ge),ge.ref=Uc(te,J,ne),ge.return=te,te=ge)}return I(te);case P:e:{for(Ie=ne.key;J!==null;){if(J.key===Ie)if(J.tag===4&&J.stateNode.containerInfo===ne.containerInfo&&J.stateNode.implementation===ne.implementation){m(te,J.sibling),J=k(J,ne.children||[]),J.return=te,te=J;break e}else{m(te,J);break}else u(te,J);J=J.sibling}J=rv(ne,te.mode,ge),J.return=te,te=J}return I(te);case W:return Ie=ne._init,$t(te,J,Ie(ne._payload),ge)}if(wn(ne))return Pe(te,J,ne,ge);if(ee(ne))return Ce(te,J,ne,ge);Cd(te,ne)}return typeof ne=="string"&&ne!==""||typeof ne=="number"?(ne=""+ne,J!==null&&J.tag===6?(m(te,J.sibling),J=k(J,ne),J.return=te,te=J):(m(te,J),J=nv(ne,te.mode,ge),J.return=te,te=J),I(te)):m(te,J)}return $t}var $s=qE(!0),HE=qE(!1),Td=yo(null),Rd=null,Fs=null,dy=null;function hy(){dy=Fs=Rd=null}function py(l){var u=Td.current;Et(Td),l._currentValue=u}function my(l,u,m){for(;l!==null;){var x=l.alternate;if((l.childLanes&u)!==u?(l.childLanes|=u,x!==null&&(x.childLanes|=u)):x!==null&&(x.childLanes&u)!==u&&(x.childLanes|=u),l===m)break;l=l.return}}
vendor: 6,658 bytes, line 38
38function Bs(l,u){Rd=l,dy=Fs=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&u)!==0&&(Un=!0),l.firstContext=null)}function gr(l){var u=l._currentValue;if(dy!==l)if(l={context:l,memoizedValue:u,next:null},Fs===null){if(Rd===null)throw Error(n(308));Fs=l,Rd.dependencies={lanes:0,firstContext:l}}else Fs=Fs.next=l;return u}var va=null;function gy(l){va===null?va=[l]:va.push(l)}function WE(l,u,m,x){var k=u.interleaved;return k===null?(m.next=m,gy(u)):(m.next=k.next,k.next=m),u.interleaved=m,Oi(l,x)}function Oi(l,u){l.lanes|=u;var m=l.alternate;for(m!==null&&(m.lanes|=u),m=l,l=l.return;l!==null;)l.childLanes|=u,m=l.alternate,m!==null&&(m.childLanes|=u),m=l,l=l.return;return m.tag===3?m.stateNode:null}var bo=!1;function yy(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function VE(l,u){l=l.updateQueue,u.updateQueue===l&&(u.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function Ci(l,u){return{eventTime:l,lane:u,tag:0,payload:null,callback:null,next:null}}function wo(l,u,m){var x=l.updateQueue;if(x===null)return null;if(x=x.shared,(ot&2)!==0){var k=x.pending;return k===null?u.next=u:(u.next=k.next,k.next=u),x.pending=u,Oi(l,m)}return k=x.interleaved,k===null?(u.next=u,gy(x)):(u.next=k.next,k.next=u),x.interleaved=u,Oi(l,m)}function Id(l,u,m){if(u=u.updateQueue,u!==null&&(u=u.shared,(m&4194240)!==0)){var x=u.lanes;x&=l.pendingLanes,m|=x,u.lanes=m,Cg(l,m)}}function GE(l,u){var m=l.updateQueue,x=l.alternate;if(x!==null&&(x=x.updateQueue,m===x)){var k=null,A=null;if(m=m.firstBaseUpdate,m!==null){do{var I={eventTime:m.eventTime,lane:m.lane,tag:m.tag,payload:m.payload,callback:m.callback,next:null};A===null?k=A=I:A=A.next=I,m=m.next}while(m!==null);A===null?k=A=u:A=A.next=u}else k=A=u;m={baseState:x.baseState,firstBaseUpdate:k,lastBaseUpdate:A,shared:x.shared,effects:x.effects},l.updateQueue=m;return}l=m.lastBaseUpdate,l===null?m.firstBaseUpdate=u:l.next=u,m.lastBaseUpdate=u}function Dd(l,u,m,x){var k=l.updateQueue;bo=!1;var A=k.firstBaseUpdate,I=k.lastBaseUpdate,q=k.shared.pending;if(q!==null){k.shared.pending=null;var G=q,re=G.next;G.next=null,I===null?A=re:I.next=re,I=G;var fe=l.alternate;fe!==null&&(fe=fe.updateQueue,q=fe.lastBaseUpdate,q!==I&&(q===null?fe.firstBaseUpdate=re:q.next=re,fe.lastBaseUpdate=G))}if(A!==null){var de=k.baseState;I=0,fe=re=G=null,q=A;do{var ue=q.lane,_e=q.eventTime;if((x&ue)===ue){fe!==null&&(fe=fe.next={eventTime:_e,lane:0,tag:q.tag,payload:q.payload,callback:q.callback,next:null});e:{var Pe=l,Ce=q;switch(ue=u,_e=m,Ce.tag){case 1:if(Pe=Ce.payload,typeof Pe=="function"){de=Pe.call(_e,de,ue);break e}de=Pe;break e;case 3:Pe.flags=Pe.flags&-65537|128;case 0:if(Pe=Ce.payload,ue=typeof Pe=="function"?Pe.call(_e,de,ue):Pe,ue==null)break e;de=R({},de,ue);break e;case 2:bo=!0}}q.callback!==null&&q.lane!==0&&(l.flags|=64,ue=k.effects,ue===null?k.effects=[q]:ue.push(q))}else _e={eventTime:_e,lane:ue,tag:q.tag,payload:q.payload,callback:q.callback,next:null},fe===null?(re=fe=_e,G=de):fe=fe.next=_e,I|=ue;if(q=q.next,q===null){if(q=k.shared.pending,q===null)break;ue=q,q=ue.next,ue.next=null,k.lastBaseUpdate=ue,k.shared.pending=null}}while(!0);if(fe===null&&(G=de),k.baseState=G,k.firstBaseUpdate=re,k.lastBaseUpdate=fe,u=k.shared.interleaved,u!==null){k=u;do I|=k.lane,k=k.next;while(k!==u)}else A===null&&(k.shared.lanes=0);wa|=I,l.lanes=I,l.memoizedState=de}}function KE(l,u,m){if(l=u.effects,u.effects=null,l!==null)for(u=0;u<l.length;u++){var x=l[u],k=x.callback;if(k!==null){if(x.callback=null,x=m,typeof k!="function")throw Error(n(191,k));k.call(x)}}}var qc={},ri=yo(qc),Hc=yo(qc),Wc=yo(qc);function xa(l){if(l===qc)throw Error(n(174));return l}function vy(l,u){switch(xt(Wc,u),xt(Hc,l),xt(ri,qc),l=u.nodeType,l){case 9:case 11:u=(u=u.documentElement)?u.namespaceURI:be(null,"");break;default:l=l===8?u.parentNode:u,u=l.namespaceURI||null,l=l.tagName,u=be(u,l)}Et(ri),xt(ri,u)}function zs(){Et(ri),Et(Hc),Et(Wc)}function XE(l){xa(Wc.current);var u=xa(ri.current),m=be(u,l.type);u!==m&&(xt(Hc,l),xt(ri,m))}function xy(l){Hc.current===l&&(Et(ri),Et(Hc))}var Ct=yo(0);function Md(l){for(var u=l;u!==null;){if(u.tag===13){var m=u.memoizedState;if(m!==null&&(m=m.dehydrated,m===null||m.data==="$?"||m.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if((u.flags&128)!==0)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===l)break;for(;u.sibling===null;){if(u.return===null||u.return===l)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var by=[];function wy(){for(var l=0;l<by.length;l++)by[l]._workInProgressVersionPrimary=null;by.length=0}var Ld=E.ReactCurrentDispatcher,Sy=E.ReactCurrentBatchConfig,ba=0,Tt=null,Xt=null,rn=null,$d=!1,Vc=!1,Gc=0,hU=0;function jn(){throw Error(n(321))}function jy(l,u){if(u===null)return!1;for(var m=0;m<u.length&&m<l.length;m++)if(!Rr(l[m],u[m]))return!1;return!0}function _y(l,u,m,x,k,A){if(ba=A,Tt=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,Ld.current=l===null||l.memoizedState===null?yU:vU,l=m(x,k),Vc){A=0;do{if(Vc=!1,Gc=0,25<=A)throw Error(n(301));A+=1,rn=Xt=null,u.updateQueue=null,Ld.current=xU,l=m(x,k)}while(Vc)}if(Ld.current=zd,u=Xt!==null&&Xt.next!==null,ba=0,rn=Xt=Tt=null,$d=!1,u)throw Error(n(300));return l}function ky(){var l=Gc!==0;return Gc=0,l}function ii(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rn===null?Tt.memoizedState=rn=l:rn=rn.next=l,rn}function yr(){if(Xt===null){var l=Tt.alternate;l=l!==null?l.memoizedState:null}else l=Xt.next;var u=rn===null?Tt.memoizedState:rn.next;if(u!==null)rn=u,Xt=l;else{if(l===null)throw Error(n(310));Xt=l,l={memoizedState:Xt.memoizedState,baseState:Xt.baseState,baseQueue:Xt.baseQueue,queue:Xt.queue,next:null},rn===null?Tt.memoizedState=rn=l:rn=rn.next=l}return rn}function Kc(l,u){return typeof u=="function"?u(l):u}function Ey(l){var u=yr(),m=u.queue;if(m===null)throw Error(n(311));m.lastRenderedReducer=l;var x=Xt,k=x.baseQueue,A=m.pending;if(A!==null){if(k!==null){var I=k.next;k.next=A.next,A.next=I}x.baseQueue=k=A,m.pending=null}if(k!==null){A=k.next,x=x.baseState;var q=I=null,G=null,re=A;do{var fe=re.lane;if((ba&fe)===fe)G!==null&&(G=G.next={lane:0,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null}),x=re.hasEagerState?re.eagerState:l(x,re.action);else{var de={lane:fe,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null};G===null?(q=G=de,I=x):G=G.next=de,Tt.lanes|=fe,wa|=fe}re=re.next}
vendor: 5,175 bytes, line 38
38while(re!==null&&re!==A);G===null?I=x:G.next=q,Rr(x,u.memoizedState)||(Un=!0),u.memoizedState=x,u.baseState=I,u.baseQueue=G,m.lastRenderedState=x}if(l=m.interleaved,l!==null){k=l;do A=k.lane,Tt.lanes|=A,wa|=A,k=k.next;while(k!==l)}else k===null&&(m.lanes=0);return[u.memoizedState,m.dispatch]}function Ny(l){var u=yr(),m=u.queue;if(m===null)throw Error(n(311));m.lastRenderedReducer=l;var x=m.dispatch,k=m.pending,A=u.memoizedState;if(k!==null){m.pending=null;var I=k=k.next;do A=l(A,I.action),I=I.next;while(I!==k);Rr(A,u.memoizedState)||(Un=!0),u.memoizedState=A,u.baseQueue===null&&(u.baseState=A),m.lastRenderedState=A}return[A,x]}function YE(){}function JE(l,u){var m=Tt,x=yr(),k=u(),A=!Rr(x.memoizedState,k);if(A&&(x.memoizedState=k,Un=!0),x=x.queue,Py(eN.bind(null,m,x,l),[l]),x.getSnapshot!==u||A||rn!==null&&rn.memoizedState.tag&1){if(m.flags|=2048,Xc(9,ZE.bind(null,m,x,k,u),void 0,null),on===null)throw Error(n(349));(ba&30)!==0||QE(m,u,k)}return k}function QE(l,u,m){l.flags|=16384,l={getSnapshot:u,value:m},u=Tt.updateQueue,u===null?(u={lastEffect:null,stores:null},Tt.updateQueue=u,u.stores=[l]):(m=u.stores,m===null?u.stores=[l]:m.push(l))}function ZE(l,u,m,x){u.value=m,u.getSnapshot=x,tN(u)&&nN(l)}function eN(l,u,m){return m(function(){tN(u)&&nN(l)})}function tN(l){var u=l.getSnapshot;l=l.value;try{var m=u();return!Rr(l,m)}catch{return!0}}function nN(l){var u=Oi(l,1);u!==null&&$r(u,l,1,-1)}function rN(l){var u=ii();return typeof l=="function"&&(l=l()),u.memoizedState=u.baseState=l,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Kc,lastRenderedState:l},u.queue=l,l=l.dispatch=gU.bind(null,Tt,l),[u.memoizedState,l]}function Xc(l,u,m,x){return l={tag:l,create:u,destroy:m,deps:x,next:null},u=Tt.updateQueue,u===null?(u={lastEffect:null,stores:null},Tt.updateQueue=u,u.lastEffect=l.next=l):(m=u.lastEffect,m===null?u.lastEffect=l.next=l:(x=m.next,m.next=l,l.next=x,u.lastEffect=l)),l}function iN(){return yr().memoizedState}function Fd(l,u,m,x){var k=ii();Tt.flags|=l,k.memoizedState=Xc(1|u,m,void 0,x===void 0?null:x)}function Bd(l,u,m,x){var k=yr();x=x===void 0?null:x;var A=void 0;if(Xt!==null){var I=Xt.memoizedState;if(A=I.destroy,x!==null&&jy(x,I.deps)){k.memoizedState=Xc(u,m,A,x);return}}Tt.flags|=l,k.memoizedState=Xc(1|u,m,A,x)}function oN(l,u){return Fd(8390656,8,l,u)}function Py(l,u){return Bd(2048,8,l,u)}function aN(l,u){return Bd(4,2,l,u)}function sN(l,u){return Bd(4,4,l,u)}function lN(l,u){if(typeof u=="function")return l=l(),u(l),function(){u(null)};if(u!=null)return l=l(),u.current=l,function(){u.current=null}}function cN(l,u,m){return m=m!=null?m.concat([l]):null,Bd(4,4,lN.bind(null,u,l),m)}function Ay(){}function uN(l,u){var m=yr();u=u===void 0?null:u;var x=m.memoizedState;return x!==null&&u!==null&&jy(u,x[1])?x[0]:(m.memoizedState=[l,u],l)}function fN(l,u){var m=yr();u=u===void 0?null:u;var x=m.memoizedState;return x!==null&&u!==null&&jy(u,x[1])?x[0]:(l=l(),m.memoizedState=[l,u],l)}function dN(l,u,m){return(ba&21)===0?(l.baseState&&(l.baseState=!1,Un=!0),l.memoizedState=m):(Rr(m,u)||(m=Uk(),Tt.lanes|=m,wa|=m,l.baseState=!0),u)}function pU(l,u){var m=ht;ht=m!==0&&4>m?m:4,l(!0);var x=Sy.transition;Sy.transition={};try{l(!1),u()}finally{ht=m,Sy.transition=x}}function hN(){return yr().memoizedState}function mU(l,u,m){var x=ko(l);if(m={lane:x,action:m,hasEagerState:!1,eagerState:null,next:null},pN(l))mN(u,m);else if(m=WE(l,u,m,x),m!==null){var k=In();$r(m,l,x,k),gN(m,u,x)}}function gU(l,u,m){var x=ko(l),k={lane:x,action:m,hasEagerState:!1,eagerState:null,next:null};if(pN(l))mN(u,k);else{var A=l.alternate;if(l.lanes===0&&(A===null||A.lanes===0)&&(A=u.lastRenderedReducer,A!==null))try{var I=u.lastRenderedState,q=A(I,m);if(k.hasEagerState=!0,k.eagerState=q,Rr(q,I)){var G=u.interleaved;G===null?(k.next=k,gy(u)):(k.next=G.next,G.next=k),u.interleaved=k;return}}catch{}finally{}m=WE(l,u,k,x),m!==null&&(k=In(),$r(m,l,x,k),gN(m,u,x))}}function pN(l){var u=l.alternate;return l===Tt||u!==null&&u===Tt}function mN(l,u){Vc=$d=!0;var m=l.pending;m===null?u.next=u:(u.next=m.next,m.next=u),l.pending=u}function gN(l,u,m){if((m&4194240)!==0){var x=u.lanes;x&=l.pendingLanes,m|=x,u.lanes=m,Cg(l,m)}}var zd={readContext:gr,useCallback:jn,useContext:jn,useEffect:jn,useImperativeHandle:jn,useInsertionEffect:jn,useLayoutEffect:jn,useMemo:jn,useReducer:jn,useRef:jn,useState:jn,useDebugValue:jn,useDeferredValue:jn,useTransition:jn,useMutableSource:jn,useSyncExternalStore:jn,useId:jn,unstable_isNewReconciler:!1},yU={readContext:gr,useCallback:function(l,u){return ii().memoizedState=[l,u===void 0?null:u],l},useContext:gr,useEffect:oN,useImperativeHandle:function(l,u,m){return m=m!=null?m.concat([l]):null,Fd(4194308,4,lN.bind(null,u,l),m)},useLayoutEffect:function(l,u){return Fd(4194308,4,l,u)},useInsertionEffect:function(l,u){return Fd(4,2,l,u)},useMemo:function(l,u){var m=ii();return u=u===void 0?null:u,l=l(),m.memoizedState=[l,u],l},useReducer:function(l,u,m){var x=ii();return u=m!==void 0?m(u):u,x.memoizedState=x.baseState=u,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},x.queue=l,l=l.dispatch=mU.bind(null,Tt,l),[x.memoizedState,l]}
vendor: 4,713 bytes, lines 38-40
38,useRef:function(l){var u=ii();return l={current:l},u.memoizedState=l},useState:rN,useDebugValue:Ay,useDeferredValue:function(l){return ii().memoizedState=l},useTransition:function(){var l=rN(!1),u=l[0];return l=pU.bind(null,l[1]),ii().memoizedState=l,[u,l]},useMutableSource:function(){},useSyncExternalStore:function(l,u,m){var x=Tt,k=ii();if(At){if(m===void 0)throw Error(n(407));m=m()}else{if(m=u(),on===null)throw Error(n(349));(ba&30)!==0||QE(x,u,m)}k.memoizedState=m;var A={value:m,getSnapshot:u};return k.queue=A,oN(eN.bind(null,x,A,l),[l]),x.flags|=2048,Xc(9,ZE.bind(null,x,A,m,u),void 0,null),m},useId:function(){var l=ii(),u=on.identifierPrefix;if(At){var m=Ai,x=Pi;m=(x&~(1<<32-Tr(x)-1)).toString(32)+m,u=":"+u+"R"+m,m=Gc++,0<m&&(u+="H"+m.toString(32)),u+=":"}else m=hU++,u=":"+u+"r"+m.toString(32)+":";return l.memoizedState=u},unstable_isNewReconciler:!1},vU={readContext:gr,useCallback:uN,useContext:gr,useEffect:Py,useImperativeHandle:cN,useInsertionEffect:aN,useLayoutEffect:sN,useMemo:fN,useReducer:Ey,useRef:iN,useState:function(){return Ey(Kc)},useDebugValue:Ay,useDeferredValue:function(l){var u=yr();return dN(u,Xt.memoizedState,l)},useTransition:function(){var l=Ey(Kc)[0],u=yr().memoizedState;return[l,u]},useMutableSource:YE,useSyncExternalStore:JE,useId:hN,unstable_isNewReconciler:!1},xU={readContext:gr,useCallback:uN,useContext:gr,useEffect:Py,useImperativeHandle:cN,useInsertionEffect:aN,useLayoutEffect:sN,useMemo:fN,useReducer:Ny,useRef:iN,useState:function(){return Ny(Kc)},useDebugValue:Ay,useDeferredValue:function(l){var u=yr();return Xt===null?u.memoizedState=l:dN(u,Xt.memoizedState,l)},useTransition:function(){var l=Ny(Kc)[0],u=yr().memoizedState;return[l,u]},useMutableSource:YE,useSyncExternalStore:JE,useId:hN,unstable_isNewReconciler:!1};function Dr(l,u){if(l&&l.defaultProps){u=R({},u),l=l.defaultProps;for(var m in l)u[m]===void 0&&(u[m]=l[m]);return u}return u}function Oy(l,u,m,x){u=l.memoizedState,m=m(x,u),m=m==null?u:R({},u,m),l.memoizedState=m,l.lanes===0&&(l.updateQueue.baseState=m)}var Ud={isMounted:function(l){return(l=l._reactInternals)?ha(l)===l:!1},enqueueSetState:function(l,u,m){l=l._reactInternals;var x=In(),k=ko(l),A=Ci(x,k);A.payload=u,m!=null&&(A.callback=m),u=wo(l,A,k),u!==null&&($r(u,l,k,x),Id(u,l,k))},enqueueReplaceState:function(l,u,m){l=l._reactInternals;var x=In(),k=ko(l),A=Ci(x,k);A.tag=1,A.payload=u,m!=null&&(A.callback=m),u=wo(l,A,k),u!==null&&($r(u,l,k,x),Id(u,l,k))},enqueueForceUpdate:function(l,u){l=l._reactInternals;var m=In(),x=ko(l),k=Ci(m,x);k.tag=2,u!=null&&(k.callback=u),u=wo(l,k,x),u!==null&&($r(u,l,x,m),Id(u,l,x))}};function yN(l,u,m,x,k,A,I){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(x,A,I):u.prototype&&u.prototype.isPureReactComponent?!Dc(m,x)||!Dc(k,A):!0}function vN(l,u,m){var x=!1,k=vo,A=u.contextType;return typeof A=="object"&&A!==null?A=gr(A):(k=zn(u)?ma:Sn.current,x=u.contextTypes,A=(x=x!=null)?Is(l,k):vo),u=new u(m,A),l.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Ud,l.stateNode=u,u._reactInternals=l,x&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=k,l.__reactInternalMemoizedMaskedChildContext=A),u}function xN(l,u,m,x){l=u.state,typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps(m,x),typeof u.UNSAFE_componentWillReceiveProps=="function"&&u.UNSAFE_componentWillReceiveProps(m,x),u.state!==l&&Ud.enqueueReplaceState(u,u.state,null)}function Cy(l,u,m,x){var k=l.stateNode;k.props=m,k.state=l.memoizedState,k.refs={},yy(l);var A=u.contextType;typeof A=="object"&&A!==null?k.context=gr(A):(A=zn(u)?ma:Sn.current,k.context=Is(l,A)),k.state=l.memoizedState,A=u.getDerivedStateFromProps,typeof A=="function"&&(Oy(l,u,A,m),k.state=l.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof k.getSnapshotBeforeUpdate=="function"||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(u=k.state,typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount(),u!==k.state&&Ud.enqueueReplaceState(k,k.state,null),Dd(l,m,k,x),k.state=l.memoizedState),typeof k.componentDidMount=="function"&&(l.flags|=4194308)}function Us(l,u){try{var m="",x=u;do m+=ye(x),x=x.return;while(x);var k=m}catch(A){k=` 39Error generating stack: `+A.message+` 40`+A.stack}return{value:l,source:u,stack:k,digest:null}}function Ty(l,u,m){return{value:l,source:null,stack:m??null,digest:u??null}}function Ry(l,u){try{console.error(u.value)}catch(m){setTimeout(function(){throw m})}}var bU=typeof WeakMap=="function"?WeakMap:Map;function bN(l,u,m){m=Ci(-1,m),m.tag=3,m.payload={element:null};var x=u.value;
vendor: 16,516 bytes, line 40
40return m.callback=function(){Xd||(Xd=!0,Ky=x),Ry(l,u)},m}function wN(l,u,m){m=Ci(-1,m),m.tag=3;var x=l.type.getDerivedStateFromError;if(typeof x=="function"){var k=u.value;m.payload=function(){return x(k)},m.callback=function(){Ry(l,u)}}var A=l.stateNode;return A!==null&&typeof A.componentDidCatch=="function"&&(m.callback=function(){Ry(l,u),typeof x!="function"&&(jo===null?jo=new Set([this]):jo.add(this));var I=u.stack;this.componentDidCatch(u.value,{componentStack:I!==null?I:""})}),m}function SN(l,u,m){var x=l.pingCache;if(x===null){x=l.pingCache=new bU;var k=new Set;x.set(u,k)}else k=x.get(u),k===void 0&&(k=new Set,x.set(u,k));k.has(m)||(k.add(m),l=IU.bind(null,l,u,m),u.then(l,l))}function jN(l){do{var u;if((u=l.tag===13)&&(u=l.memoizedState,u=u!==null?u.dehydrated!==null:!0),u)return l;l=l.return}while(l!==null);return null}function _N(l,u,m,x,k){return(l.mode&1)===0?(l===u?l.flags|=65536:(l.flags|=128,m.flags|=131072,m.flags&=-52805,m.tag===1&&(m.alternate===null?m.tag=17:(u=Ci(-1,1),u.tag=2,wo(m,u,1))),m.lanes|=1),l):(l.flags|=65536,l.lanes=k,l)}var wU=E.ReactCurrentOwner,Un=!1;function Rn(l,u,m,x){u.child=l===null?HE(u,null,m,x):$s(u,l.child,m,x)}function kN(l,u,m,x,k){m=m.render;var A=u.ref;return Bs(u,k),x=_y(l,u,m,x,A,k),m=ky(),l!==null&&!Un?(u.updateQueue=l.updateQueue,u.flags&=-2053,l.lanes&=~k,Ti(l,u,k)):(At&&m&&sy(u),u.flags|=1,Rn(l,u,x,k),u.child)}function EN(l,u,m,x,k){if(l===null){var A=m.type;return typeof A=="function"&&!tv(A)&&A.defaultProps===void 0&&m.compare===null&&m.defaultProps===void 0?(u.tag=15,u.type=A,NN(l,u,A,x,k)):(l=th(m.type,null,x,u,u.mode,k),l.ref=u.ref,l.return=u,u.child=l)}if(A=l.child,(l.lanes&k)===0){var I=A.memoizedProps;if(m=m.compare,m=m!==null?m:Dc,m(I,x)&&l.ref===u.ref)return Ti(l,u,k)}return u.flags|=1,l=No(A,x),l.ref=u.ref,l.return=u,u.child=l}function NN(l,u,m,x,k){if(l!==null){var A=l.memoizedProps;if(Dc(A,x)&&l.ref===u.ref)if(Un=!1,u.pendingProps=x=A,(l.lanes&k)!==0)(l.flags&131072)!==0&&(Un=!0);else return u.lanes=l.lanes,Ti(l,u,k)}return Iy(l,u,m,x,k)}function PN(l,u,m){var x=u.pendingProps,k=x.children,A=l!==null?l.memoizedState:null;if(x.mode==="hidden")if((u.mode&1)===0)u.memoizedState={baseLanes:0,cachePool:null,transitions:null},xt(Hs,ir),ir|=m;else{if((m&1073741824)===0)return l=A!==null?A.baseLanes|m:m,u.lanes=u.childLanes=1073741824,u.memoizedState={baseLanes:l,cachePool:null,transitions:null},u.updateQueue=null,xt(Hs,ir),ir|=l,null;u.memoizedState={baseLanes:0,cachePool:null,transitions:null},x=A!==null?A.baseLanes:m,xt(Hs,ir),ir|=x}else A!==null?(x=A.baseLanes|m,u.memoizedState=null):x=m,xt(Hs,ir),ir|=x;return Rn(l,u,k,m),u.child}function AN(l,u){var m=u.ref;(l===null&&m!==null||l!==null&&l.ref!==m)&&(u.flags|=512,u.flags|=2097152)}function Iy(l,u,m,x,k){var A=zn(m)?ma:Sn.current;return A=Is(u,A),Bs(u,k),m=_y(l,u,m,x,A,k),x=ky(),l!==null&&!Un?(u.updateQueue=l.updateQueue,u.flags&=-2053,l.lanes&=~k,Ti(l,u,k)):(At&&x&&sy(u),u.flags|=1,Rn(l,u,m,k),u.child)}function ON(l,u,m,x,k){if(zn(m)){var A=!0;Ed(u)}else A=!1;if(Bs(u,k),u.stateNode===null)Hd(l,u),vN(u,m,x),Cy(u,m,x,k),x=!0;else if(l===null){var I=u.stateNode,q=u.memoizedProps;I.props=q;var G=I.context,re=m.contextType;typeof re=="object"&&re!==null?re=gr(re):(re=zn(m)?ma:Sn.current,re=Is(u,re));var fe=m.getDerivedStateFromProps,de=typeof fe=="function"||typeof I.getSnapshotBeforeUpdate=="function";de||typeof I.UNSAFE_componentWillReceiveProps!="function"&&typeof I.componentWillReceiveProps!="function"||(q!==x||G!==re)&&xN(u,I,x,re),bo=!1;var ue=u.memoizedState;I.state=ue,Dd(u,x,I,k),G=u.memoizedState,q!==x||ue!==G||Bn.current||bo?(typeof fe=="function"&&(Oy(u,m,fe,x),G=u.memoizedState),(q=bo||yN(u,m,q,x,ue,G,re))?(de||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"&&(u.flags|=4194308)):(typeof I.componentDidMount=="function"&&(u.flags|=4194308),u.memoizedProps=x,u.memoizedState=G),I.props=x,I.state=G,I.context=re,x=q):(typeof I.componentDidMount=="function"&&(u.flags|=4194308),x=!1)}else{I=u.stateNode,VE(l,u),q=u.memoizedProps,re=u.type===u.elementType?q:Dr(u.type,q),I.props=re,de=u.pendingProps,ue=I.context,G=m.contextType,typeof G=="object"&&G!==null?G=gr(G):(G=zn(m)?ma:Sn.current,G=Is(u,G));var _e=m.getDerivedStateFromProps;(fe=typeof _e=="function"||typeof I.getSnapshotBeforeUpdate=="function")||typeof I.UNSAFE_componentWillReceiveProps!="function"&&typeof I.componentWillReceiveProps!="function"||(q!==de||ue!==G)&&xN(u,I,x,G),bo=!1,ue=u.memoizedState,I.state=ue,Dd(u,x,I,k);var Pe=u.memoizedState;q!==de||ue!==Pe||Bn.current||bo?(typeof _e=="function"&&(Oy(u,m,_e,x),Pe=u.memoizedState),(re=bo||yN(u,m,re,x,ue,Pe,G)||!1)?(fe||typeof I.UNSAFE_componentWillUpdate!="function"&&typeof I.componentWillUpdate!="function"||(typeof I.componentWillUpdate=="function"&&I.componentWillUpdate(x,Pe,G),typeof I.UNSAFE_componentWillUpdate=="function"&&I.UNSAFE_componentWillUpdate(x,Pe,G)),typeof I.componentDidUpdate=="function"&&(u.flags|=4),typeof I.getSnapshotBeforeUpdate=="function"&&(u.flags|=1024)):(typeof I.componentDidUpdate!="function"||q===l.memoizedProps&&ue===l.memoizedState||(u.flags|=4),typeof I.getSnapshotBeforeUpdate!="function"||q===l.memoizedProps&&ue===l.memoizedState||(u.flags|=1024),u.memoizedProps=x,u.memoizedState=Pe),I.props=x,I.state=Pe,I.context=G,x=re):(typeof I.componentDidUpdate!="function"||q===l.memoizedProps&&ue===l.memoizedState||(u.flags|=4),typeof I.getSnapshotBeforeUpdate!="function"||q===l.memoizedProps&&ue===l.memoizedState||(u.flags|=1024),x=!1)}return Dy(l,u,m,x,A,k)}function Dy(l,u,m,x,k,A){AN(l,u);var I=(u.flags&128)!==0;if(!x&&!I)return k&&DE(u,m,!1),Ti(l,u,A);x=u.stateNode,wU.current=u;var q=I&&typeof m.getDerivedStateFromError!="function"?null:x.render();return u.flags|=1,l!==null&&I?(u.child=$s(u,l.child,null,A),u.child=$s(u,null,q,A)):Rn(l,u,q,A),u.memoizedState=x.state,k&&DE(u,m,!0),u.child}function CN(l){var u=l.stateNode;u.pendingContext?RE(l,u.pendingContext,u.pendingContext!==u.context):u.context&&RE(l,u.context,!1),vy(l,u.containerInfo)}function TN(l,u,m,x,k){return Ls(),fy(k),u.flags|=256,Rn(l,u,m,x),u.child}var My={dehydrated:null,treeContext:null,retryLane:0};function Ly(l){return{baseLanes:l,cachePool:null,transitions:null}}function RN(l,u,m){var x=u.pendingProps,k=Ct.current,A=!1,I=(u.flags&128)!==0,q;if((q=I)||(q=l!==null&&l.memoizedState===null?!1:(k&2)!==0),q?(A=!0,u.flags&=-129):(l===null||l.memoizedState!==null)&&(k|=1),xt(Ct,k&1),l===null)return uy(u),l=u.memoizedState,l!==null&&(l=l.dehydrated,l!==null)?((u.mode&1)===0?u.lanes=1:l.data==="$!"?u.lanes=8:u.lanes=1073741824,null):(I=x.children,l=x.fallback,A?(x=u.mode,A=u.child,I={mode:"hidden",children:I},(x&1)===0&&A!==null?(A.childLanes=0,A.pendingProps=I):A=nh(I,x,0,null),l=ka(l,x,m,null),A.return=u,l.return=u,A.sibling=l,u.child=A,u.child.memoizedState=Ly(m),u.memoizedState=My,l):$y(u,I));if(k=l.memoizedState,k!==null&&(q=k.dehydrated,q!==null))return SU(l,u,I,x,q,k,m);if(A){A=x.fallback,I=u.mode,k=l.child,q=k.sibling;var G={mode:"hidden",children:x.children};return(I&1)===0&&u.child!==k?(x=u.child,x.childLanes=0,x.pendingProps=G,u.deletions=null):(x=No(k,G),x.subtreeFlags=k.subtreeFlags&14680064),q!==null?A=No(q,A):(A=ka(A,I,m,null),A.flags|=2),A.return=u,x.return=u,x.sibling=A,u.child=x,x=A,A=u.child,I=l.child.memoizedState,I=I===null?Ly(m):{baseLanes:I.baseLanes|m,cachePool:null,transitions:I.transitions},A.memoizedState=I,A.childLanes=l.childLanes&~m,u.memoizedState=My,x}return A=l.child,l=A.sibling,x=No(A,{mode:"visible",children:x.children}),(u.mode&1)===0&&(x.lanes=m),x.return=u,x.sibling=null,l!==null&&(m=u.deletions,m===null?(u.deletions=[l],u.flags|=16):m.push(l)),u.child=x,u.memoizedState=null,x}function $y(l,u){return u=nh({mode:"visible",children:u},l.mode,0,null),u.return=l,l.child=u}function qd(l,u,m,x){return x!==null&&fy(x),$s(u,l.child,null,m),l=$y(u,u.pendingProps.children),l.flags|=2,u.memoizedState=null,l}function SU(l,u,m,x,k,A,I){if(m)return u.flags&256?(u.flags&=-257,x=Ty(Error(n(422))),qd(l,u,I,x)):u.memoizedState!==null?(u.child=l.child,u.flags|=128,null):(A=x.fallback,k=u.mode,x=nh({mode:"visible",children:x.children},k,0,null),A=ka(A,k,I,null),A.flags|=2,x.return=u,A.return=u,x.sibling=A,u.child=x,(u.mode&1)!==0&&$s(u,l.child,null,I),u.child.memoizedState=Ly(I),u.memoizedState=My,A);if((u.mode&1)===0)return qd(l,u,I,null);if(k.data==="$!"){if(x=k.nextSibling&&k.nextSibling.dataset,x)var q=x.dgst;return x=q,A=Error(n(419)),x=Ty(A,x,void 0),qd(l,u,I,x)}if(q=(I&l.childLanes)!==0,Un||q){if(x=on,x!==null){switch(I&-I){case 4:k=2;break;case 16:k=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:k=32;break;case 536870912:k=268435456;break;default:k=0}k=(k&(x.suspendedLanes|I))!==0?0:k,k!==0&&k!==A.retryLane&&(A.retryLane=k,Oi(l,k),$r(x,l,k,-1))}return ev(),x=Ty(Error(n(421))),qd(l,u,I,x)}return k.data==="$?"?(u.flags|=128,u.child=l.child,u=DU.bind(null,l),k._reactRetry=u,null):(l=A.treeContext,rr=go(k.nextSibling),nr=u,At=!0,Ir=null,l!==null&&(pr[mr++]=Pi,pr[mr++]=Ai,pr[mr++]=ga,Pi=l.id,Ai=l.overflow,ga=u),u=$y(u,x.children),u.flags|=4096,u)}function IN(l,u,m){l.lanes|=u;var x=l.alternate;x!==null&&(x.lanes|=u),my(l.return,u,m)}function Fy(l,u,m,x,k){var A=l.memoizedState;A===null?l.memoizedState={isBackwards:u,rendering:null,renderingStartTime:0,last:x,tail:m,tailMode:k}:(A.isBackwards=u,A.rendering=null,A.renderingStartTime=0,A.last=x,A.tail=m,A.tailMode=k)}function DN(l,u,m){var x=u.pendingProps,k=x.revealOrder,A=x.tail;if(Rn(l,u,x.children,m),x=Ct.current,(x&2)!==0)x=x&1|2,u.flags|=128;else{if(l!==null&&(l.flags&128)!==0)e:for(l=u.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&IN(l,m,u);else if(l.tag===19)IN(l,m,u);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===u)break e;for(;l.sibling===null;){if(l.return===null||l.return===u)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}x&=1}if(xt(Ct,x),(u.mode&1)===0)u.memoizedState=null;else switch(k){case"forwards":for(m=u.child,k=null;m!==null;)l=m.alternate,l!==null&&Md(l)===null&&(k=m),m=m.sibling;m=k,m===null?(k=u.child,u.child=null):(k=m.sibling,m.sibling=null),Fy(u,!1,k,m,A);break;case"backwards":for(m=null,k=u.child,u.child=null;k!==null;){if(l=k.alternate,l!==null&&Md(l)===null){u.child=k;break}l=k.sibling,k.sibling=m,m=k,k=l}Fy(u,!0,m,null,A);break;case"together":Fy(u,!1,null,null,void 0);break;default:u.memoizedState=null}return u.child}function Hd(l,u){(u.mode&1)===0&&l!==null&&(l.alternate=null,u.alternate=null,u.flags|=2)}function Ti(l,u,m){if(l!==null&&(u.dependencies=l.dependencies),wa|=u.lanes,(m&u.childLanes)===0)return null;if(l!==null&&u.child!==l.child)throw Error(n(153));if(u.child!==null){for(l=u.child,m=No(l,l.pendingProps),u.child=m,m.return=u;l.sibling!==null;)l=l.sibling,m=m.sibling=No(l,l.pendingProps),m.return=u;m.sibling=null}return u.child}function jU(l,u,m){switch(u.tag){case 3:CN(u),Ls();break;case 5:XE(u);break;case 1:zn(u.type)&&Ed(u);break;case 4:vy(u,u.stateNode.containerInfo);break;case 10:var x=u.type._context,k=u.memoizedProps.value;xt(Td,x._currentValue),x._currentValue=k;break;case 13:if(x=u.memoizedState,x!==null)return x.dehydrated!==null?(xt(Ct,Ct.current&1),u.flags|=128,null):(m&u.child.childLanes)!==0?RN(l,u,m):(xt(Ct,Ct.current&1),l=Ti(l,u,m),l!==null?l.sibling:null);xt(Ct,Ct.current&1);break;case 19:if(x=(m&u.childLanes)!==0,(l.flags&128)!==0){if(x)return DN(l,u,m);u.flags|=128}if(k=u.memoizedState,k!==null&&(k.rendering=null,k.tail=null,k.lastEffect=null),xt(Ct,Ct.current),x)break;return null;case 22:case 23:return u.lanes=0,PN(l,u,m)}return Ti(l,u,m)}var MN,By,LN,$N;MN=function(l,u){for(var m=u.child;m!==null;){if(m.tag===5||m.tag===6)l.appendChild(m.stateNode);else if(m.tag!==4&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===u)break;for(;m.sibling===null;){if(m.return===null||m.return===u)return;m=m.return}m.sibling.return=m.return,m=m.sibling}},By=function(){},LN=function(l,u,m,x){var k=l.memoizedProps;if(k!==x){l=u.stateNode,xa(ri.current);var A=null;switch(m){case"input":k=Re(l,k),x=Re(l,x),A=[];break;case"select":k=R({},k,{value:void 0}),x=R({},x,{value:void 0}),A=[];break;case"textarea":k=Kt(l,k),x=Kt(l,x),A=[];break;default:typeof k.onClick!="function"&&typeof x.onClick=="function"&&(l.onclick=jd)}dn(m,x);var I;m=null;for(re in k)if(!x.hasOwnProperty(re)&&k.hasOwnProperty(re)&&k[re]!=null)if(re==="style"){var q=k[re];for(I in q)q.hasOwnProperty(I)&&(m||(m={}),m[I]="")}else re!=="dangerouslySetInnerHTML"&&re!=="children"&&re!=="suppressContentEditableWarning"&&re!=="suppressHydrationWarning"&&re!=="autoFocus"&&(i.hasOwnProperty(re)?A||(A=[]):(A=A||[]).push(re,null));for(re in x){var G=x[re];if(q=k!=null?k[re]:void 0,x.hasOwnProperty(re)&&G!==q&&(G!=null||q!=null))if(re==="style")if(q){for(I in q)!q.hasOwnProperty(I)||G&&G.hasOwnProperty(I)||(m||(m={}),m[I]="");for(I in G)G.hasOwnProperty(I)&&q[I]!==G[I]&&(m||(m={}),m[I]=G[I])}else m||(A||(A=[]),A.push(re,m)),m=G;else re==="dangerouslySetInnerHTML"?(G=G?G.__html:void 0,q=q?q.__html:void 0,G!=null&&q!==G&&(A=A||[]).push(re,G)):re==="children"?typeof G!="string"&&typeof G!="number"||(A=A||[]).push(re,""+G):re!=="suppressContentEditableWarning"&&re!=="suppressHydrationWarning"&&(i.hasOwnProperty(re)?(G!=null&&re==="onScroll"&&kt("scroll",l),A||q===G||(A=[])):(A=A||[]).push(re,G))}m&&(A=A||[]).push("style",m);var re=A;(u.updateQueue=re)&&(u.flags|=4)}},$N=function(l,u,m,x){m!==x&&(u.flags|=4)};function Yc(l,u){if(!At)switch(l.tailMode){case"hidden":u=l.tail;for(var m=null;u!==null;)u.alternate!==null&&(m=u),u=u.sibling;m===null?l.tail=null:m.sibling=null;break;case"collapsed":m=l.tail;for(var x=null;m!==null;)m.alternate!==null&&(x=m),m=m.sibling;x===null?u||l.tail===null?l.tail=null:l.tail.sibling=null:x.sibling=null}}function _n(l){var u=l.alternate!==null&&l.alternate.child===l.child,m=0,x=0;if(u)for(var k=l.child;k!==null;)m|=k.lanes|k.childLanes,x|=k.subtreeFlags&14680064,x|=k.flags&14680064,k.return=l,k=k.sibling;else for(k=l.child;k!==null;)m|=k.lanes|k.childLanes,x|=k.subtreeFlags,x|=k.flags,k.return=l,k=k.sibling;return l.subtreeFlags|=x,l.childLanes=m,u}function _U(l,u,m){var x=u.pendingProps;switch(ly(u),u.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _n(u),null;case 1:return zn(u.type)&&kd(),_n(u),null;case 3:return x=u.stateNode,zs(),Et(Bn),Et(Sn),wy(),x.pendingContext&&(x.context=x.pendingContext,x.pendingContext=null),(l===null||l.child===null)&&(Od(u)?u.flags|=4:l===null||l.memoizedState.isDehydrated&&(u.flags&256)===0||(u.flags|=1024,Ir!==null&&(Jy(Ir),Ir=null))),By(l,u),_n(u),null;case 5:xy(u);var k=xa(Wc.current);if(m=u.type,l!==null&&u.stateNode!=null)LN(l,u,m,x,k),l.ref!==u.ref&&(u.flags|=512,u.flags|=2097152);else{if(!x){if(u.stateNode===null)throw Error(n(166));return _n(u),null}if(l=xa(ri.current),Od(u)){x=u.stateNode,m=u.type;var A=u.memoizedProps;switch(x[ni]=u,x[Bc]=A,l=(u.mode&1)!==0,m){case"dialog":kt("cancel",x),kt("close",x);break;case"iframe":case"object":case"embed":kt("load",x);break;case"video":case"audio":for(k=0;k<Lc.length;k++)kt(Lc[k],x);break;case"source":kt("error",x);break;case"img":case"image":case"link":kt("error",x),kt("load",x);break;case"details":kt("toggle",x);break;case"input":We(x,A),kt("invalid",x);break;case"select":x._wrapperState={wasMultiple:!!A.multiple},kt("invalid",x);break;case"textarea":so(x,A),kt("invalid",x)}dn(m,A),k=null;for(var I in A)if(A.hasOwnProperty(I)){var q=A[I];I==="children"?typeof q=="string"?x.textContent!==q&&(A.suppressHydrationWarning!==!0&&Sd(x.textContent,q,l),k=["children",q]):typeof q=="number"&&x.textContent!==""+q&&(A.suppressHydrationWarning!==!0&&Sd(x.textContent,q,l),k=["children",""+q]):i.hasOwnProperty(I)&&q!=null&&I==="onScroll"&&kt("scroll",x)}switch(m){case"input":xe(x),Pt(x,A,!0);break;case"textarea":xe(x),fa(x);break;case"select":case"option":break;default:typeof A.onClick=="function"&&(x.onclick=jd)}x=k,u.updateQueue=x,x!==null&&(u.flags|=4)}else{I=k.nodeType===9?k:k.ownerDocument,l==="http://www.w3.org/1999/xhtml"&&(l=se(m)),l==="http://www.w3.org/1999/xhtml"?m==="script"?(l=I.createElement("div"),l.innerHTML="<script><\/script>
40",l=l.removeChild(l.firstChild)):typeof x.is=="string"?l=I.createElement(m,{is:x.is}):(l=I.createElement(m),m==="select"&&(I=l,x.multiple?I.multiple=!0:x.size&&(I.size=x.size))):l=I.createElementNS(l,m),l[ni]=u,l[Bc]=x,MN(l,u,!1,!1),u.stateNode=l;e:{switch(I=ei(m,x),m){case"dialog":kt("cancel",l),kt("close",l),k=x;break;case"iframe":case"object":case"embed":kt("load",l),k=x;break;case"video":case"audio":for(k=0;k<Lc.length;k++)kt(Lc[k],l);k=x;break;case"source":kt("error",l),k=x;break;case"img":case"image":case"link":kt("error",l),kt("load",l),k=x;break;case"details":kt("toggle",l),k=x;break;case"input":We(l,x),k=Re(l,x),kt("invalid",l);break;case"option":k=x;break;case"select":l._wrapperState={wasMultiple:!!x.multiple},k=R({},x,{value:void 0}),kt("invalid",l);break;case"textarea":so(l,x),k=Kt(l,x),kt("invalid",l);break;default:k=x}dn(m,k),q=k;for(A in q)if(q.hasOwnProperty(A)){var G=q[A];A==="style"?lo(l,G):A==="dangerouslySetInnerHTML"?(G=G?G.__html:void 0,G!=null&&Ye(l,G)):A==="children"?typeof G=="string"?(m!=="textarea"||G!=="")&&it(l,G):typeof G=="number"&&it(l,""+G):A!=="suppressContentEditableWarning"&&A!=="suppressHydrationWarning"&&A!=="autoFocus"&&(i.hasOwnProperty(A)?G!=null&&A==="onScroll"&&kt("scroll",l):G!=null&&_(l,A,G,I))}switch(m){case"input":xe(l),Pt(l,x,!1);break;case"textarea":xe(l),fa(l);break;case"option":x.value!=null&&l.setAttribute("value",""+ve(x.value));break;case"select":l.multiple=!!x.multiple,A=x.value,A!=null?nn(l,!!x.multiple,A,!1):x.defaultValue!=null&&nn(l,!!x.multiple,x.defaultValue,!0);break;default:typeof k.onClick=="function"&&(l.onclick=jd)}switch(m){case"button":case"input":case"select":case"textarea":x=!!x.autoFocus;break e;case"img":x=!0;break e;default:x=!1}}x&&(u.flags|=4)}u.ref!==null&&(u.flags|=512,u.flags|=2097152)}return _n(u),null;case 6:if(l&&u.stateNode!=null)$N(l,u,l.memoizedProps,x);else{if(typeof x!="string"&&u.stateNode===null)throw Error(n(166));if(m=xa(Wc.current),xa(ri.current),Od(u)){if(x=u.stateNode,m=u.memoizedProps,x[ni]=u,(A=x.nodeValue!==m)&&(l=nr,l!==null))switch(l.tag){case 3:Sd(x.nodeValue,m,(l.mode&1)!==0);break;case 5:l.memoizedProps.suppressHydrationWarning!==!0&&Sd(x.nodeValue,m,(l.mode&1)!==0)}A&&(u.flags|=4)}else x=(m.nodeType===9?m:m.ownerDocument).createTextNode(x),x[ni]=u,u.stateNode=x}return _n(u),null;case 13:if(Et(Ct),x=u.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(At&&rr!==null&&(u.mode&1)!==0&&(u.flags&128)===0)zE(),Ls(),u.flags|=98560,A=!1;else if(A=Od(u),x!==null&&x.dehydrated!==null){if(l===null){if(!A)throw Error(n(318));if(A=u.memoizedState,A=A!==null?A.dehydrated:null,!A)throw Error(n(317));A[ni]=u}else Ls(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;_n(u),A=!1}else Ir!==null&&(Jy(Ir),Ir=null),A=!0;if(!A)return u.flags&65536?u:null}return(u.flags&128)!==0?(u.lanes=m,u):(x=x!==null,x!==(l!==null&&l.memoizedState!==null)&&x&&(u.child.flags|=8192,(u.mode&1)!==0&&(l===null||(Ct.current&1)!==0?Yt===0&&(Yt=3):ev())),u.updateQueue!==null&&(u.flags|=4),_n(u),null);case 4:return zs(),By(l,u),l===null&&$c(u.stateNode.containerInfo),_n(u),null;case 10:return py(u.type._context),_n(u),null;case 17:return zn(u.type)&&kd(),_n(u),null;case 19:if(Et(Ct),A=u.memoizedState,A===null)return _n(u),null;if(x=(u.flags&128)!==0,I=A.rendering,I===null)if(x)Yc(A,!1);else{if(Yt!==0||l!==null&&(l.flags&128)!==0)for(l=u.child;l!==null;){if(I=Md(l),I!==null){for(u.flags|=128,Yc(A,!1),x=I.updateQueue,x!==null&&(u.updateQueue=x,u.flags|=4),u.subtreeFlags=0,x=m,m=u.child;m!==null;)A=m,l=x,A.flags&=14680066,I=A.alternate,I===null?(A.childLanes=0,A.lanes=l,A.child=null,A.subtreeFlags=0,A.memoizedProps=null,A.memoizedState=null,A.updateQueue=null,A.dependencies=null,A.stateNode=null):(A.childLanes=I.childLanes,A.lanes=I.lanes,A.child=I.child,A.subtreeFlags=0,A.deletions=null,A.memoizedProps=I.memoizedProps,A.memoizedState=I.memoizedState,A.updateQueue=I.updateQueue,A.type=I.type,l=I.dependencies,A.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),m=m.sibling;return xt(Ct,Ct.current&1|2),u.child}l=l.sibling}A.tail!==null&&Lt()>
vendor: 16,452 bytes, line 40
40Ws&&(u.flags|=128,x=!0,Yc(A,!1),u.lanes=4194304)}else{if(!x)if(l=Md(I),l!==null){if(u.flags|=128,x=!0,m=l.updateQueue,m!==null&&(u.updateQueue=m,u.flags|=4),Yc(A,!0),A.tail===null&&A.tailMode==="hidden"&&!I.alternate&&!At)return _n(u),null}else 2*Lt()-A.renderingStartTime>Ws&&m!==1073741824&&(u.flags|=128,x=!0,Yc(A,!1),u.lanes=4194304);A.isBackwards?(I.sibling=u.child,u.child=I):(m=A.last,m!==null?m.sibling=I:u.child=I,A.last=I)}return A.tail!==null?(u=A.tail,A.rendering=u,A.tail=u.sibling,A.renderingStartTime=Lt(),u.sibling=null,m=Ct.current,xt(Ct,x?m&1|2:m&1),u):(_n(u),null);case 22:case 23:return Zy(),x=u.memoizedState!==null,l!==null&&l.memoizedState!==null!==x&&(u.flags|=8192),x&&(u.mode&1)!==0?(ir&1073741824)!==0&&(_n(u),u.subtreeFlags&6&&(u.flags|=8192)):_n(u),null;case 24:return null;case 25:return null}throw Error(n(156,u.tag))}function kU(l,u){switch(ly(u),u.tag){case 1:return zn(u.type)&&kd(),l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 3:return zs(),Et(Bn),Et(Sn),wy(),l=u.flags,(l&65536)!==0&&(l&128)===0?(u.flags=l&-65537|128,u):null;case 5:return xy(u),null;case 13:if(Et(Ct),l=u.memoizedState,l!==null&&l.dehydrated!==null){if(u.alternate===null)throw Error(n(340));Ls()}return l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 19:return Et(Ct),null;case 4:return zs(),null;case 10:return py(u.type._context),null;case 22:case 23:return Zy(),null;case 24:return null;default:return null}}var Wd=!1,kn=!1,EU=typeof WeakSet=="function"?WeakSet:Set,Ee=null;function qs(l,u){var m=l.ref;if(m!==null)if(typeof m=="function")try{m(null)}catch(x){It(l,u,x)}else m.current=null}function zy(l,u,m){try{m()}catch(x){It(l,u,x)}}var FN=!1;function NU(l,u){if(Zg=fd,l=yE(),Wg(l)){if("selectionStart"in l)var m={start:l.selectionStart,end:l.selectionEnd};else e:{m=(m=l.ownerDocument)&&m.defaultView||window;var x=m.getSelection&&m.getSelection();if(x&&x.rangeCount!==0){m=x.anchorNode;var k=x.anchorOffset,A=x.focusNode;x=x.focusOffset;try{m.nodeType,A.nodeType}catch{m=null;break e}var I=0,q=-1,G=-1,re=0,fe=0,de=l,ue=null;t:for(;;){for(var _e;de!==m||k!==0&&de.nodeType!==3||(q=I+k),de!==A||x!==0&&de.nodeType!==3||(G=I+x),de.nodeType===3&&(I+=de.nodeValue.length),(_e=de.firstChild)!==null;)ue=de,de=_e;for(;;){if(de===l)break t;if(ue===m&&++re===k&&(q=I),ue===A&&++fe===x&&(G=I),(_e=de.nextSibling)!==null)break;de=ue,ue=de.parentNode}de=_e}m=q===-1||G===-1?null:{start:q,end:G}}else m=null}m=m||{start:0,end:0}}else m=null;for(ey={focusedElem:l,selectionRange:m},fd=!1,Ee=u;Ee!==null;)if(u=Ee,l=u.child,(u.subtreeFlags&1028)!==0&&l!==null)l.return=u,Ee=l;else for(;Ee!==null;){u=Ee;try{var Pe=u.alternate;if((u.flags&1024)!==0)switch(u.tag){case 0:case 11:case 15:break;case 1:if(Pe!==null){var Ce=Pe.memoizedProps,$t=Pe.memoizedState,te=u.stateNode,J=te.getSnapshotBeforeUpdate(u.elementType===u.type?Ce:Dr(u.type,Ce),$t);te.__reactInternalSnapshotBeforeUpdate=J}break;case 3:var ne=u.stateNode.containerInfo;ne.nodeType===1?ne.textContent="":ne.nodeType===9&&ne.documentElement&&ne.removeChild(ne.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ge){It(u,u.return,ge)}if(l=u.sibling,l!==null){l.return=u.return,Ee=l;break}Ee=u.return}return Pe=FN,FN=!1,Pe}function Jc(l,u,m){var x=u.updateQueue;if(x=x!==null?x.lastEffect:null,x!==null){var k=x=x.next;do{if((k.tag&l)===l){var A=k.destroy;k.destroy=void 0,A!==void 0&&zy(u,m,A)}k=k.next}while(k!==x)}}function Vd(l,u){if(u=u.updateQueue,u=u!==null?u.lastEffect:null,u!==null){var m=u=u.next;do{if((m.tag&l)===l){var x=m.create;m.destroy=x()}m=m.next}while(m!==u)}}function Uy(l){var u=l.ref;if(u!==null){var m=l.stateNode;switch(l.tag){case 5:l=m;break;default:l=m}typeof u=="function"?u(l):u.current=l}}function BN(l){var u=l.alternate;u!==null&&(l.alternate=null,BN(u)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(u=l.stateNode,u!==null&&(delete u[ni],delete u[Bc],delete u[iy],delete u[cU],delete u[uU])),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}function zN(l){return l.tag===5||l.tag===3||l.tag===4}function UN(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||zN(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function qy(l,u,m){var x=l.tag;if(x===5||x===6)l=l.stateNode,u?m.nodeType===8?m.parentNode.insertBefore(l,u):m.insertBefore(l,u):(m.nodeType===8?(u=m.parentNode,u.insertBefore(l,m)):(u=m,u.appendChild(l)),m=m._reactRootContainer,m!=null||u.onclick!==null||(u.onclick=jd));else if(x!==4&&(l=l.child,l!==null))for(qy(l,u,m),l=l.sibling;l!==null;)qy(l,u,m),l=l.sibling}function Hy(l,u,m){var x=l.tag;if(x===5||x===6)l=l.stateNode,u?m.insertBefore(l,u):m.appendChild(l);else if(x!==4&&(l=l.child,l!==null))for(Hy(l,u,m),l=l.sibling;l!==null;)Hy(l,u,m),l=l.sibling}var hn=null,Mr=!1;function So(l,u,m){for(m=m.child;m!==null;)qN(l,u,m),m=m.sibling}function qN(l,u,m){if(ti&&typeof ti.onCommitFiberUnmount=="function")try{ti.onCommitFiberUnmount(od,m)}catch{}switch(m.tag){case 5:kn||qs(m,u);case 6:var x=hn,k=Mr;hn=null,So(l,u,m),hn=x,Mr=k,hn!==null&&(Mr?(l=hn,m=m.stateNode,l.nodeType===8?l.parentNode.removeChild(m):l.removeChild(m)):hn.removeChild(m.stateNode));break;case 18:hn!==null&&(Mr?(l=hn,m=m.stateNode,l.nodeType===8?ry(l.parentNode,m):l.nodeType===1&&ry(l,m),Ac(l)):ry(hn,m.stateNode));break;case 4:x=hn,k=Mr,hn=m.stateNode.containerInfo,Mr=!0,So(l,u,m),hn=x,Mr=k;break;case 0:case 11:case 14:case 15:if(!kn&&(x=m.updateQueue,x!==null&&(x=x.lastEffect,x!==null))){k=x=x.next;do{var A=k,I=A.destroy;A=A.tag,I!==void 0&&((A&2)!==0||(A&4)!==0)&&zy(m,u,I),k=k.next}while(k!==x)}So(l,u,m);break;case 1:if(!kn&&(qs(m,u),x=m.stateNode,typeof x.componentWillUnmount=="function"))try{x.props=m.memoizedProps,x.state=m.memoizedState,x.componentWillUnmount()}catch(q){It(m,u,q)}So(l,u,m);break;case 21:So(l,u,m);break;case 22:m.mode&1?(kn=(x=kn)||m.memoizedState!==null,So(l,u,m),kn=x):So(l,u,m);break;default:So(l,u,m)}}function HN(l){var u=l.updateQueue;if(u!==null){l.updateQueue=null;var m=l.stateNode;m===null&&(m=l.stateNode=new EU),u.forEach(function(x){var k=MU.bind(null,l,x);m.has(x)||(m.add(x),x.then(k,k))})}}function Lr(l,u){var m=u.deletions;if(m!==null)for(var x=0;x<m.length;x++){var k=m[x];try{var A=l,I=u,q=I;e:for(;q!==null;){switch(q.tag){case 5:hn=q.stateNode,Mr=!1;break e;case 3:hn=q.stateNode.containerInfo,Mr=!0;break e;case 4:hn=q.stateNode.containerInfo,Mr=!0;break e}q=q.return}if(hn===null)throw Error(n(160));qN(A,I,k),hn=null,Mr=!1;var G=k.alternate;G!==null&&(G.return=null),k.return=null}catch(re){It(k,u,re)}}if(u.subtreeFlags&12854)for(u=u.child;u!==null;)WN(u,l),u=u.sibling}function WN(l,u){var m=l.alternate,x=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:if(Lr(u,l),oi(l),x&4){try{Jc(3,l,l.return),Vd(3,l)}catch(Ce){It(l,l.return,Ce)}try{Jc(5,l,l.return)}catch(Ce){It(l,l.return,Ce)}}break;case 1:Lr(u,l),oi(l),x&512&&m!==null&&qs(m,m.return);break;case 5:if(Lr(u,l),oi(l),x&512&&m!==null&&qs(m,m.return),l.flags&32){var k=l.stateNode;try{it(k,"")}catch(Ce){It(l,l.return,Ce)}}if(x&4&&(k=l.stateNode,k!=null)){var A=l.memoizedProps,I=m!==null?m.memoizedProps:A,q=l.type,G=l.updateQueue;if(l.updateQueue=null,G!==null)try{q==="input"&&A.type==="radio"&&A.name!=null&&je(k,A),ei(q,I);var re=ei(q,A);for(I=0;I<G.length;I+=2){var fe=G[I],de=G[I+1];fe==="style"?lo(k,de):fe==="dangerouslySetInnerHTML"?Ye(k,de):fe==="children"?it(k,de):_(k,fe,de,re)}switch(q){case"input":Ve(k,A);break;case"textarea":ua(k,A);break;case"select":var ue=k._wrapperState.wasMultiple;k._wrapperState.wasMultiple=!!A.multiple;var _e=A.value;_e!=null?nn(k,!!A.multiple,_e,!1):ue!==!!A.multiple&&(A.defaultValue!=null?nn(k,!!A.multiple,A.defaultValue,!0):nn(k,!!A.multiple,A.multiple?[]:"",!1))}k[Bc]=A}catch(Ce){It(l,l.return,Ce)}}break;case 6:if(Lr(u,l),oi(l),x&4){if(l.stateNode===null)throw Error(n(162));k=l.stateNode,A=l.memoizedProps;try{k.nodeValue=A}catch(Ce){It(l,l.return,Ce)}}break;case 3:if(Lr(u,l),oi(l),x&4&&m!==null&&m.memoizedState.isDehydrated)try{Ac(u.containerInfo)}catch(Ce){It(l,l.return,Ce)}break;case 4:Lr(u,l),oi(l);break;case 13:Lr(u,l),oi(l),k=l.child,k.flags&8192&&(A=k.memoizedState!==null,k.stateNode.isHidden=A,!A||k.alternate!==null&&k.alternate.memoizedState!==null||(Gy=Lt())),x&4&&HN(l);break;case 22:if(fe=m!==null&&m.memoizedState!==null,l.mode&1?(kn=(re=kn)||fe,Lr(u,l),kn=re):Lr(u,l),oi(l),x&8192){if(re=l.memoizedState!==null,(l.stateNode.isHidden=re)&&!fe&&(l.mode&1)!==0)for(Ee=l,fe=l.child;fe!==null;){for(de=Ee=fe;Ee!==null;){switch(ue=Ee,_e=ue.child,ue.tag){case 0:case 11:case 14:case 15:Jc(4,ue,ue.return);break;case 1:qs(ue,ue.return);var Pe=ue.stateNode;if(typeof Pe.componentWillUnmount=="function"){x=ue,m=ue.return;try{u=x,Pe.props=u.memoizedProps,Pe.state=u.memoizedState,Pe.componentWillUnmount()}catch(Ce){It(x,m,Ce)}}break;case 5:qs(ue,ue.return);break;case 22:if(ue.memoizedState!==null){KN(de);continue}}_e!==null?(_e.return=ue,Ee=_e):KN(de)}fe=fe.sibling}e:for(fe=null,de=l;;){if(de.tag===5){if(fe===null){fe=de;try{k=de.stateNode,re?(A=k.style,typeof A.setProperty=="function"?A.setProperty("display","none","important"):A.display="none"):(q=de.stateNode,G=de.memoizedProps.style,I=G!=null&&G.hasOwnProperty("display")?G.display:null,q.style.display=hr("display",I))}catch(Ce){It(l,l.return,Ce)}}}else if(de.tag===6){if(fe===null)try{de.stateNode.nodeValue=re?"":de.memoizedProps}catch(Ce){It(l,l.return,Ce)}}else if((de.tag!==22&&de.tag!==23||de.memoizedState===null||de===l)&&de.child!==null){de.child.return=de,de=de.child;continue}if(de===l)break e;for(;de.sibling===null;){if(de.return===null||de.return===l)break e;fe===de&&(fe=null),de=de.return}fe===de&&(fe=null),de.sibling.return=de.return,de=de.sibling}}break;case 19:Lr(u,l),oi(l),x&4&&HN(l);break;case 21:break;default:Lr(u,l),oi(l)}}function oi(l){var u=l.flags;if(u&2){try{e:{for(var m=l.return;m!==null;){if(zN(m)){var x=m;break e}m=m.return}throw Error(n(160))}switch(x.tag){case 5:var k=x.stateNode;x.flags&32&&(it(k,""),x.flags&=-33);var A=UN(l);Hy(l,A,k);break;case 3:case 4:var I=x.stateNode.containerInfo,q=UN(l);qy(l,q,I);break;default:throw Error(n(161))}}catch(G){It(l,l.return,G)}l.flags&=-3}u&4096&&(l.flags&=-4097)}function PU(l,u,m){Ee=l,VN(l)}function VN(l,u,m){for(var x=(l.mode&1)!==0;Ee!==null;){var k=Ee,A=k.child;if(k.tag===22&&x){var I=k.memoizedState!==null||Wd;if(!I){var q=k.alternate,G=q!==null&&q.memoizedState!==null||kn;q=Wd;var re=kn;if(Wd=I,(kn=G)&&!re)for(Ee=k;Ee!==null;)I=Ee,G=I.child,I.tag===22&&I.memoizedState!==null?XN(k):G!==null?(G.return=I,Ee=G):XN(k);for(;A!==null;)Ee=A,VN(A),A=A.sibling;Ee=k,Wd=q,kn=re}GN(l)}else(k.subtreeFlags&8772)!==0&&A!==null?(A.return=k,Ee=A):GN(l)}}function GN(l){for(;Ee!==null;){var u=Ee;if((u.flags&8772)!==0){var m=u.alternate;try{if((u.flags&8772)!==0)switch(u.tag){case 0:case 11:case 15:kn||Vd(5,u);break;case 1:var x=u.stateNode;if(u.flags&4&&!kn)if(m===null)x.componentDidMount();else{var k=u.elementType===u.type?m.memoizedProps:Dr(u.type,m.memoizedProps);x.componentDidUpdate(k,m.memoizedState,x.__reactInternalSnapshotBeforeUpdate)}var A=u.updateQueue;A!==null&&KE(u,A,x);break;case 3:var I=u.updateQueue;if(I!==null){if(m=null,u.child!==null)switch(u.child.tag){case 5:m=u.child.stateNode;break;case 1:m=u.child.stateNode}KE(u,I,m)}break;case 5:var q=u.stateNode;if(m===null&&u.flags&4){m=q;var G=u.memoizedProps;switch(u.type){case"button":case"input":case"select":case"textarea":G.autoFocus&&m.focus();break;case"img":G.src&&(m.src=G.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(u.memoizedState===null){var re=u.alternate;if(re!==null){var fe=re.memoizedState;if(fe!==null){var de=fe.dehydrated;de!==null&&Ac(de)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}kn||u.flags&512&&Uy(u)}catch(ue){It(u,u.return,ue)}}if(u===l){Ee=null;break}if(m=u.sibling,m!==null){m.return=u.return,Ee=m;break}Ee=u.return}}function KN(l){for(;Ee!==null;){var u=Ee;if(u===l){Ee=null;break}var m=u.sibling;if(m!==null){m.return=u.return,Ee=m;break}Ee=u.return}}function XN(l){for(;Ee!==null;){var u=Ee;try{switch(u.tag){case 0:case 11:case 15:var m=u.return;try{Vd(4,u)}catch(G){It(u,m,G)}break;case 1:var x=u.stateNode;if(typeof x.componentDidMount=="function"){var k=u.return;try{x.componentDidMount()}catch(G){It(u,k,G)}}var A=u.return;try{Uy(u)}catch(G){It(u,A,G)}break;case 5:var I=u.return;try{Uy(u)}catch(G){It(u,I,G)}}}catch(G){It(u,u.return,G)}if(u===l){Ee=null;break}var q=u.sibling;if(q!==null){q.return=u.return,Ee=q;break}Ee=u.return}}var AU=Math.ceil,Gd=E.ReactCurrentDispatcher,Wy=E.ReactCurrentOwner,vr=E.ReactCurrentBatchConfig,ot=0,on=null,Ut=null,pn=0,ir=0,Hs=yo(0),Yt=0,Qc=null,wa=0,Kd=0,Vy=0,Zc=null,qn=null,Gy=0,Ws=1/0,Ri=null,Xd=!1,Ky=null,jo=null,Yd=!1,_o=null,Jd=0,eu=0,Xy=null,Qd=-1,Zd=0;function In(){return(ot&6)!==0?Lt():Qd!==-1?Qd:Qd=Lt()}function ko(l){return(l.mode&1)===0?1:(ot&2)!==0&&pn!==0?pn&-pn:dU.transition!==null?(Zd===0&&(Zd=Uk()),Zd):(l=ht,l!==0||(l=window.event,l=l===void 0?16:Jk(l.type)),l)}function $r(l,u,m,x){if(50<eu)throw eu=0,Xy=null,Error(n(185));_c(l,m,x),((ot&2)===0||l!==on)&&(l===on&&((ot&2)===0&&(Kd|=m),Yt===4&&Eo(l,pn)),Hn(l,x),m===1&&ot===0&&(u.mode&1)===0&&(Ws=Lt()+500,Nd&&xo()))}function Hn(l,u){var m=l.callbackNode;d6(l,u);var x=ld(l,l===on?pn:0);if(x===0)m!==null&&Fk(m),l.callbackNode=null,l.callbackPriority=0;else if(u=x&-x,l.callbackPriority!==u){if(m!=null&&Fk(m),u===1)l.tag===0?fU(JN.bind(null,l)):ME(JN.bind(null,l)),sU(function(){(ot&6)===0&&xo()}),m=null;else{switch(qk(x)){case 1:m=Pg;break;case 4:m=Bk;break;case 16:m=id;break;case 536870912:m=zk;break;default:m=id}m=oP(m,YN.bind(null,l))}l.callbackPriority=u,l.callbackNode=m}}function YN(l,u){if(Qd=-1,Zd=0,(ot&6)!==0)throw Error(n(327));var m=l.callbackNode;if(Vs()&&l.callbackNode!==m)return null;var x=ld(l,l===on?pn:0);if(x===0)return null;if((x&30)!==0||(x&l.expiredLanes)!==0||u)u=eh(l,x);else{u=x;var k=ot;ot|=2;var A=ZN();(on!==l||pn!==u)&&(Ri=null,Ws=Lt()+500,ja(l,u));do try{TU();break}catch(q){QN(l,q)}while(!0);hy(),Gd.current=A,ot=k,Ut!==null?u=0:(on=null,pn=0,u=Yt)}if(u!==0){if(u===2&&(k=Ag(l),k!==0&&(x=k,u=Yy(l,k))),u===1)throw m=Qc,ja(l,0),Eo(l,x),Hn(l,Lt()),m;if(u===6)Eo(l,x);else{if(k=l.current.alternate,(x&30)===0&&!OU(k)&&(u=eh(l,x),u===2&&(A=Ag(l),A!==0&&(x=A,u=Yy(l,A))),u===1))throw m=Qc,ja(l,0),Eo(l,x),Hn(l,Lt()),m;switch(l.finishedWork=k,l.finishedLanes=x,u){case 0:case 1:throw Error(n(345));case 2:_a(l,qn,Ri);break;case 3:if(Eo(l,x),(x&130023424)===x&&(u=Gy+500-Lt(),10<u)){if(ld(l,0)!==0)break;if(k=l.suspendedLanes,(k&x)!==x){In(),l.pingedLanes|=l.suspendedLanes&k;break}l.timeoutHandle=ny(_a.bind(null,l,qn,Ri),u);break}_a(l,qn,Ri);break;case 4:if(Eo(l,x),(x&4194240)===x)break;for(u=l.eventTimes,k=-1;0<x;){var I=31-Tr(x);A=1<<I,I=u[I],I>k&&(k=I),x&=~A}if(x=k,x=Lt()-x,x=(120>x?120:480>x?480:1080>x?1080:1920>x?1920:3e3>x?3e3:4320>x?4320:1960*AU(x/1960))-x,10<x){l.timeoutHandle=ny(_a.bind(null,l,qn,Ri),x);break}_a(l,qn,Ri);break;case 5:_a(l,qn,Ri);break;default:throw Error(n(329))}}}return Hn(l,Lt()),l.callbackNode===m?YN.bind(null,l):null}function Yy(l,u){var m=Zc;return l.current.memoizedState.isDehydrated&&(ja(l,u).flags|=256),l=eh(l,u),l!==2&&(u=qn,qn=m,u!==null&&Jy(u)),l}function Jy(l){qn===null?qn=l:qn.push.apply(qn,l)}function OU(l){for(var u=l;;){if(u.flags&16384){var m=u.updateQueue;if(m!==null&&(m=m.stores,m!==null))for(var x=0;x<m.length;x++){var k=m[x],A=k.getSnapshot;k=k.value;try{if(!Rr(A(),k))return!1}catch{return!1}}}if(m=u.child,u.subtreeFlags&16384&&m!==null)m.return=u,u=m;else{if(u===l)break;for(;u.sibling===null;){if(u.return===null||u.return===l)return!0;u=u.return}u.sibling.return=u.return,u=u.sibling}}return!0}function Eo(l,u){for(u&=~Vy,u&=~Kd,l.suspendedLanes|=u,l.pingedLanes&=~u,l=l.expirationTimes;0<u;){var m=31-Tr(u),x=1<<m;l[m]=-1,u&=~x}}function JN(l){if((ot&6)!==0)throw Error(n(327));Vs();var u=ld(l,0);if((u&1)===0)return Hn(l,Lt()),null;var m=eh(l,u);if(l.tag!==0&&m===2){var x=Ag(l);x!==0&&(u=x,m=Yy(l,x))}if(m===1)throw m=Qc,ja(l,0),Eo(l,u),Hn(l,Lt()),m;if(m===6)throw Error(n(345));return l.finishedWork=l.current.alternate,l.finishedLanes=u,_a(l,qn,Ri),Hn(l,Lt()),null}function Qy(l,u){var m=ot;ot|=1;try{return l(u)}
vendor: 9,293 bytes, line 40
40finally{ot=m,ot===0&&(Ws=Lt()+500,Nd&&xo())}}function Sa(l){_o!==null&&_o.tag===0&&(ot&6)===0&&Vs();var u=ot;ot|=1;var m=vr.transition,x=ht;try{if(vr.transition=null,ht=1,l)return l()}finally{ht=x,vr.transition=m,ot=u,(ot&6)===0&&xo()}}function Zy(){ir=Hs.current,Et(Hs)}function ja(l,u){l.finishedWork=null,l.finishedLanes=0;var m=l.timeoutHandle;if(m!==-1&&(l.timeoutHandle=-1,aU(m)),Ut!==null)for(m=Ut.return;m!==null;){var x=m;switch(ly(x),x.tag){case 1:x=x.type.childContextTypes,x!=null&&kd();break;case 3:zs(),Et(Bn),Et(Sn),wy();break;case 5:xy(x);break;case 4:zs();break;case 13:Et(Ct);break;case 19:Et(Ct);break;case 10:py(x.type._context);break;case 22:case 23:Zy()}m=m.return}if(on=l,Ut=l=No(l.current,null),pn=ir=u,Yt=0,Qc=null,Vy=Kd=wa=0,qn=Zc=null,va!==null){for(u=0;u<va.length;u++)if(m=va[u],x=m.interleaved,x!==null){m.interleaved=null;var k=x.next,A=m.pending;if(A!==null){var I=A.next;A.next=k,x.next=I}m.pending=x}va=null}return l}function QN(l,u){do{var m=Ut;try{if(hy(),Ld.current=zd,$d){for(var x=Tt.memoizedState;x!==null;){var k=x.queue;k!==null&&(k.pending=null),x=x.next}$d=!1}if(ba=0,rn=Xt=Tt=null,Vc=!1,Gc=0,Wy.current=null,m===null||m.return===null){Yt=1,Qc=u,Ut=null;break}e:{var A=l,I=m.return,q=m,G=u;if(u=pn,q.flags|=32768,G!==null&&typeof G=="object"&&typeof G.then=="function"){var re=G,fe=q,de=fe.tag;if((fe.mode&1)===0&&(de===0||de===11||de===15)){var ue=fe.alternate;ue?(fe.updateQueue=ue.updateQueue,fe.memoizedState=ue.memoizedState,fe.lanes=ue.lanes):(fe.updateQueue=null,fe.memoizedState=null)}var _e=jN(I);if(_e!==null){_e.flags&=-257,_N(_e,I,q,A,u),_e.mode&1&&SN(A,re,u),u=_e,G=re;var Pe=u.updateQueue;if(Pe===null){var Ce=new Set;Ce.add(G),u.updateQueue=Ce}else Pe.add(G);break e}else{if((u&1)===0){SN(A,re,u),ev();break e}G=Error(n(426))}}else if(At&&q.mode&1){var $t=jN(I);if($t!==null){($t.flags&65536)===0&&($t.flags|=256),_N($t,I,q,A,u),fy(Us(G,q));break e}}A=G=Us(G,q),Yt!==4&&(Yt=2),Zc===null?Zc=[A]:Zc.push(A),A=I;do{switch(A.tag){case 3:A.flags|=65536,u&=-u,A.lanes|=u;var te=bN(A,G,u);GE(A,te);break e;case 1:q=G;var J=A.type,ne=A.stateNode;if((A.flags&128)===0&&(typeof J.getDerivedStateFromError=="function"||ne!==null&&typeof ne.componentDidCatch=="function"&&(jo===null||!jo.has(ne)))){A.flags|=65536,u&=-u,A.lanes|=u;var ge=wN(A,q,u);GE(A,ge);break e}}A=A.return}while(A!==null)}tP(m)}catch(Te){u=Te,Ut===m&&m!==null&&(Ut=m=m.return);continue}break}while(!0)}function ZN(){var l=Gd.current;return Gd.current=zd,l===null?zd:l}function ev(){(Yt===0||Yt===3||Yt===2)&&(Yt=4),on===null||(wa&268435455)===0&&(Kd&268435455)===0||Eo(on,pn)}function eh(l,u){var m=ot;ot|=2;var x=ZN();(on!==l||pn!==u)&&(Ri=null,ja(l,u));do try{CU();break}catch(k){QN(l,k)}while(!0);if(hy(),ot=m,Gd.current=x,Ut!==null)throw Error(n(261));return on=null,pn=0,Yt}function CU(){for(;Ut!==null;)eP(Ut)}function TU(){for(;Ut!==null&&!r6();)eP(Ut)}function eP(l){var u=iP(l.alternate,l,ir);l.memoizedProps=l.pendingProps,u===null?tP(l):Ut=u,Wy.current=null}function tP(l){var u=l;do{var m=u.alternate;if(l=u.return,(u.flags&32768)===0){if(m=_U(m,u,ir),m!==null){Ut=m;return}}else{if(m=kU(m,u),m!==null){m.flags&=32767,Ut=m;return}if(l!==null)l.flags|=32768,l.subtreeFlags=0,l.deletions=null;else{Yt=6,Ut=null;return}}if(u=u.sibling,u!==null){Ut=u;return}Ut=u=l}while(u!==null);Yt===0&&(Yt=5)}function _a(l,u,m){var x=ht,k=vr.transition;try{vr.transition=null,ht=1,RU(l,u,m,x)}finally{vr.transition=k,ht=x}return null}function RU(l,u,m,x){do Vs();while(_o!==null);if((ot&6)!==0)throw Error(n(327));m=l.finishedWork;var k=l.finishedLanes;if(m===null)return null;if(l.finishedWork=null,l.finishedLanes=0,m===l.current)throw Error(n(177));l.callbackNode=null,l.callbackPriority=0;var A=m.lanes|m.childLanes;if(h6(l,A),l===on&&(Ut=on=null,pn=0),(m.subtreeFlags&2064)===0&&(m.flags&2064)===0||Yd||(Yd=!0,oP(id,function(){return Vs(),null})),A=(m.flags&15990)!==0,(m.subtreeFlags&15990)!==0||A){A=vr.transition,vr.transition=null;var I=ht;ht=1;var q=ot;ot|=4,Wy.current=null,NU(l,m),WN(m,l),Z6(ey),fd=!!Zg,ey=Zg=null,l.current=m,PU(m),i6(),ot=q,ht=I,vr.transition=A}else l.current=m;if(Yd&&(Yd=!1,_o=l,Jd=k),A=l.pendingLanes,A===0&&(jo=null),s6(m.stateNode),Hn(l,Lt()),u!==null)for(x=l.onRecoverableError,m=0;m<u.length;m++)k=u[m],x(k.value,{componentStack:k.stack,digest:k.digest});if(Xd)throw Xd=!1,l=Ky,Ky=null,l;return(Jd&1)!==0&&l.tag!==0&&Vs(),A=l.pendingLanes,(A&1)!==0?l===Xy?eu++:(eu=0,Xy=l):eu=0,xo(),null}function Vs(){if(_o!==null){var l=qk(Jd),u=vr.transition,m=ht;try{if(vr.transition=null,ht=16>l?16:l,_o===null)var x=!1;else{if(l=_o,_o=null,Jd=0,(ot&6)!==0)throw Error(n(331));var k=ot;for(ot|=4,Ee=l.current;Ee!==null;){var A=Ee,I=A.child;if((Ee.flags&16)!==0){var q=A.deletions;if(q!==null){for(var G=0;G<q.length;G++){var re=q[G];for(Ee=re;Ee!==null;){var fe=Ee;switch(fe.tag){case 0:case 11:case 15:Jc(8,fe,A)}var de=fe.child;if(de!==null)de.return=fe,Ee=de;else for(;Ee!==null;){fe=Ee;var ue=fe.sibling,_e=fe.return;if(BN(fe),fe===re){Ee=null;break}if(ue!==null){ue.return=_e,Ee=ue;break}Ee=_e}}}var Pe=A.alternate;if(Pe!==null){var Ce=Pe.child;if(Ce!==null){Pe.child=null;do{var $t=Ce.sibling;Ce.sibling=null,Ce=$t}while(Ce!==null)}}Ee=A}}if((A.subtreeFlags&2064)!==0&&I!==null)I.return=A,Ee=I;else e:for(;Ee!==null;){if(A=Ee,(A.flags&2048)!==0)switch(A.tag){case 0:case 11:case 15:Jc(9,A,A.return)}var te=A.sibling;if(te!==null){te.return=A.return,Ee=te;break e}Ee=A.return}}var J=l.current;for(Ee=J;Ee!==null;){I=Ee;var ne=I.child;if((I.subtreeFlags&2064)!==0&&ne!==null)ne.return=I,Ee=ne;else e:for(I=J;Ee!==null;){if(q=Ee,(q.flags&2048)!==0)try{switch(q.tag){case 0:case 11:case 15:Vd(9,q)}}catch(Te){It(q,q.return,Te)}if(q===I){Ee=null;break e}var ge=q.sibling;if(ge!==null){ge.return=q.return,Ee=ge;break e}Ee=q.return}}if(ot=k,xo(),ti&&typeof ti.onPostCommitFiberRoot=="function")try{ti.onPostCommitFiberRoot(od,l)}catch{}x=!0}return x}finally{ht=m,vr.transition=u}}return!1}function nP(l,u,m){u=Us(m,u),u=bN(l,u,1),l=wo(l,u,1),u=In(),l!==null&&(_c(l,1,u),Hn(l,u))}function It(l,u,m){if(l.tag===3)nP(l,l,m);else for(;u!==null;){if(u.tag===3){nP(u,l,m);break}else if(u.tag===1){var x=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof x.componentDidCatch=="function"&&(jo===null||!jo.has(x))){l=Us(m,l),l=wN(u,l,1),u=wo(u,l,1),l=In(),u!==null&&(_c(u,1,l),Hn(u,l));break}}u=u.return}}function IU(l,u,m){var x=l.pingCache;x!==null&&x.delete(u),u=In(),l.pingedLanes|=l.suspendedLanes&m,on===l&&(pn&m)===m&&(Yt===4||Yt===3&&(pn&130023424)===pn&&500>Lt()-Gy?ja(l,0):Vy|=m),Hn(l,u)}function rP(l,u){u===0&&((l.mode&1)===0?u=1:(u=sd,sd<<=1,(sd&130023424)===0&&(sd=4194304)));var m=In();l=Oi(l,u),l!==null&&(_c(l,u,m),Hn(l,m))}function DU(l){var u=l.memoizedState,m=0;u!==null&&(m=u.retryLane),rP(l,m)}function MU(l,u){var m=0;switch(l.tag){case 13:var x=l.stateNode,k=l.memoizedState;k!==null&&(m=k.retryLane);break;case 19:x=l.stateNode;break;default:throw Error(n(314))}x!==null&&x.delete(u),rP(l,m)}var iP;iP=function(l,u,m){if(l!==null)if(l.memoizedProps!==u.pendingProps||Bn.current)Un=!0;else{if((l.lanes&m)===0&&(u.flags&128)===0)return Un=!1,jU(l,u,m);Un=(l.flags&131072)!==0}else Un=!1,At&&(u.flags&1048576)!==0&&LE(u,Ad,u.index);switch(u.lanes=0,u.tag){case 2:var x=u.type;Hd(l,u),l=u.pendingProps;var k=Is(u,Sn.current);Bs(u,m),k=_y(null,u,x,l,k,m);var A=ky();return u.flags|=1,typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0?(u.tag=1,u.memoizedState=null,u.updateQueue=null,zn(x)?(A=!0,Ed(u)):A=!1,u.memoizedState=k.state!==null&&k.state!==void 0?k.state:null,yy(u),k.updater=Ud,u.stateNode=k,k._reactInternals=u,Cy(u,x,l,m),u=Dy(null,u,x,!0,A,m)):(u.tag=0,At&&A&&sy(u),Rn(null,u,k,m),u=u.child),u;case 16:x=u.elementType;e:{switch(Hd(l,u),l=u.pendingProps,k=x._init,x=k(x._payload),u.type=x,k=u.tag=$U(x),l=Dr(x,l),k){case 0:u=Iy(null,u,x,l,m);break e;case 1:u=ON(null,u,x,l,m);break e;case 11:u=kN(null,u,x,l,m);break e;case 14:u=EN(null,u,x,Dr(x.type,l),m);break e}throw Error(n(306,x,""))}return u;case 0:return x=u.type,k=u.pendingProps,k=u.elementType===x?k:Dr(x,k),Iy(l,u,x,k,m);case 1:return x=u.type,k=u.pendingProps,k=u.elementType===x?k:Dr(x,k),ON(l,u,x,k,m);case 3:e:{if(CN(u),l===null)throw Error(n(387));x=u.pendingProps,A=u.memoizedState,k=A.element,VE(l,u),Dd(u,x,null,m);var I=u.memoizedState;if(x=I.element,A.isDehydrated)if(A={element:x,isDehydrated:!1,cache:I.cache,pendingSuspenseBoundaries:I.pendingSuspenseBoundaries,transitions:I.transitions},u.updateQueue.baseState=A,u.memoizedState=A,u.flags&256){k=Us(Error(n(423)),u),u=TN(l,u,x,m,k);break e}else if(x!==k){k=Us(Error(n(424)),u),u=TN(l,u,x,m,k);break e}else for(rr=go(u.stateNode.containerInfo.firstChild),nr=u,At=!0,Ir=null,m=HE(u,null,x,m),u.child=m;m;)m.flags=m.flags&-3|4096,m=m.sibling;else{if(Ls(),x===k){u=Ti(l,u,m);break e}Rn(l,u,x,m)}u=u.child}return u;case 5:return XE(u),l===null&&uy(u),x=u.type,k=u.pendingProps,A=l!==null?l.memoizedProps:null,I=k.children,ty(x,k)?I=null:A!==null&&ty(x,A)&&(u.flags|=32),AN(l,u),Rn(l,u,I,m),u.child;case 6:return l===null&&uy(u),null;case 13:return RN(l,u,m);case 4:return vy(u,u.stateNode.containerInfo),x=u.pendingProps,l===null?u.child=$s(u,null,x,m):Rn(l,u,x,m),u.child;case 11:return x=u.type,k=u.pendingProps,k=u.elementType===x?k:Dr(x,k),kN(l,u,x,k,m);
vendor: 7,570 bytes, line 40
40case 7:return Rn(l,u,u.pendingProps,m),u.child;case 8:return Rn(l,u,u.pendingProps.children,m),u.child;case 12:return Rn(l,u,u.pendingProps.children,m),u.child;case 10:e:{if(x=u.type._context,k=u.pendingProps,A=u.memoizedProps,I=k.value,xt(Td,x._currentValue),x._currentValue=I,A!==null)if(Rr(A.value,I)){if(A.children===k.children&&!Bn.current){u=Ti(l,u,m);break e}}else for(A=u.child,A!==null&&(A.return=u);A!==null;){var q=A.dependencies;if(q!==null){I=A.child;for(var G=q.firstContext;G!==null;){if(G.context===x){if(A.tag===1){G=Ci(-1,m&-m),G.tag=2;var re=A.updateQueue;if(re!==null){re=re.shared;var fe=re.pending;fe===null?G.next=G:(G.next=fe.next,fe.next=G),re.pending=G}}A.lanes|=m,G=A.alternate,G!==null&&(G.lanes|=m),my(A.return,m,u),q.lanes|=m;break}G=G.next}}else if(A.tag===10)I=A.type===u.type?null:A.child;else if(A.tag===18){if(I=A.return,I===null)throw Error(n(341));I.lanes|=m,q=I.alternate,q!==null&&(q.lanes|=m),my(I,m,u),I=A.sibling}else I=A.child;if(I!==null)I.return=A;else for(I=A;I!==null;){if(I===u){I=null;break}if(A=I.sibling,A!==null){A.return=I.return,I=A;break}I=I.return}A=I}Rn(l,u,k.children,m),u=u.child}return u;case 9:return k=u.type,x=u.pendingProps.children,Bs(u,m),k=gr(k),x=x(k),u.flags|=1,Rn(l,u,x,m),u.child;case 14:return x=u.type,k=Dr(x,u.pendingProps),k=Dr(x.type,k),EN(l,u,x,k,m);case 15:return NN(l,u,u.type,u.pendingProps,m);case 17:return x=u.type,k=u.pendingProps,k=u.elementType===x?k:Dr(x,k),Hd(l,u),u.tag=1,zn(x)?(l=!0,Ed(u)):l=!1,Bs(u,m),vN(u,x,k),Cy(u,x,k,m),Dy(null,u,x,!0,l,m);case 19:return DN(l,u,m);case 22:return PN(l,u,m)}throw Error(n(156,u.tag))};function oP(l,u){return $k(l,u)}function LU(l,u,m,x){this.tag=l,this.key=m,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=x,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xr(l,u,m,x){return new LU(l,u,m,x)}function tv(l){return l=l.prototype,!(!l||!l.isReactComponent)}function $U(l){if(typeof l=="function")return tv(l)?1:0;if(l!=null){if(l=l.$$typeof,l===$)return 11;if(l===z)return 14}return 2}function No(l,u){var m=l.alternate;return m===null?(m=xr(l.tag,u,l.key,l.mode),m.elementType=l.elementType,m.type=l.type,m.stateNode=l.stateNode,m.alternate=l,l.alternate=m):(m.pendingProps=u,m.type=l.type,m.flags=0,m.subtreeFlags=0,m.deletions=null),m.flags=l.flags&14680064,m.childLanes=l.childLanes,m.lanes=l.lanes,m.child=l.child,m.memoizedProps=l.memoizedProps,m.memoizedState=l.memoizedState,m.updateQueue=l.updateQueue,u=l.dependencies,m.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},m.sibling=l.sibling,m.index=l.index,m.ref=l.ref,m}function th(l,u,m,x,k,A){var I=2;if(x=l,typeof l=="function")tv(l)&&(I=1);else if(typeof l=="string")I=5;else e:switch(l){case C:return ka(m.children,k,A,u);case T:I=8,k|=8;break;case L:return l=xr(12,m,u,k|2),l.elementType=L,l.lanes=A,l;case H:return l=xr(13,m,u,k),l.elementType=H,l.lanes=A,l;case U:return l=xr(19,m,u,k),l.elementType=U,l.lanes=A,l;case Z:return nh(m,k,A,u);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case D:I=10;break e;case M:I=9;break e;case $:I=11;break e;case z:I=14;break e;case W:I=16,x=null;break e}throw Error(n(130,l==null?l:typeof l,""))}return u=xr(I,m,u,k),u.elementType=l,u.type=x,u.lanes=A,u}function ka(l,u,m,x){return l=xr(7,l,x,u),l.lanes=m,l}function nh(l,u,m,x){return l=xr(22,l,x,u),l.elementType=Z,l.lanes=m,l.stateNode={isHidden:!1},l}function nv(l,u,m){return l=xr(6,l,null,u),l.lanes=m,l}function rv(l,u,m){return u=xr(4,l.children!==null?l.children:[],l.key,u),u.lanes=m,u.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},u}function FU(l,u,m,x,k){this.tag=u,this.containerInfo=l,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Og(0),this.expirationTimes=Og(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Og(0),this.identifierPrefix=x,this.onRecoverableError=k,this.mutableSourceEagerHydrationData=null}function iv(l,u,m,x,k,A,I,q,G){return l=new FU(l,u,m,q,G),u===1?(u=1,A===!0&&(u|=8)):u=0,A=xr(3,null,null,u),l.current=A,A.stateNode=l,A.memoizedState={element:x,isDehydrated:m,cache:null,transitions:null,pendingSuspenseBoundaries:null},yy(A),l}function BU(l,u,m){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:P,key:x==null?null:""+x,children:l,containerInfo:u,implementation:m}}function aP(l){if(!l)return vo;l=l._reactInternals;e:{if(ha(l)!==l||l.tag!==1)throw Error(n(170));var u=l;do{switch(u.tag){case 3:u=u.stateNode.context;break e;case 1:if(zn(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break e}}u=u.return}while(u!==null);throw Error(n(171))}if(l.tag===1){var m=l.type;if(zn(m))return IE(l,m,u)}return u}function sP(l,u,m,x,k,A,I,q,G){return l=iv(m,x,!0,l,k,A,I,q,G),l.context=aP(null),m=l.current,x=In(),k=ko(m),A=Ci(x,k),A.callback=u??null,wo(m,A,k),l.current.lanes=k,_c(l,k,x),Hn(l,x),l}function rh(l,u,m,x){var k=u.current,A=In(),I=ko(k);return m=aP(m),u.context===null?u.context=m:u.pendingContext=m,u=Ci(A,I),u.payload={element:l},x=x===void 0?null:x,x!==null&&(u.callback=x),l=wo(k,u,I),l!==null&&($r(l,k,I,A),Id(l,k,I)),I}function ih(l){if(l=l.current,!l.child)return null;switch(l.child.tag){case 5:return l.child.stateNode;default:return l.child.stateNode}}function lP(l,u){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var m=l.retryLane;l.retryLane=m!==0&&m<u?m:u}}function ov(l,u){lP(l,u),(l=l.alternate)&&lP(l,u)}function zU(){return null}var cP=typeof reportError=="function"?reportError:function(l){console.error(l)};function av(l){this._internalRoot=l}oh.prototype.render=av.prototype.render=function(l){var u=this._internalRoot;if(u===null)throw Error(n(409));rh(l,u,null,null)},oh.prototype.unmount=av.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var u=l.containerInfo;Sa(function(){rh(null,l,null,null)}),u[Ei]=null}};function oh(l){this._internalRoot=l}oh.prototype.unstable_scheduleHydration=function(l){if(l){var u=Vk();l={blockedOn:null,target:l,priority:u};for(var m=0;m<ho.length&&u!==0&&u<ho[m].priority;m++);ho.splice(m,0,l),m===0&&Xk(l)}};function sv(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function ah(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11&&(l.nodeType!==8||l.nodeValue!==" react-mount-point-unstable "))}function uP(){}function UU(l,u,m,x,k){if(k){if(typeof x=="function"){var A=x;x=function(){var re=ih(I);A.call(re)}}var I=sP(u,x,l,0,null,!1,!1,"",uP);return l._reactRootContainer=I,l[Ei]=I.current,$c(l.nodeType===8?l.parentNode:l),Sa(),I}for(;k=l.lastChild;)l.removeChild(k);if(typeof x=="function"){var q=x;x=function(){var re=ih(G);q.call(re)}}var G=iv(l,0,!1,null,null,!1,!1,"",uP);return l._reactRootContainer=G,l[Ei]=G.current,$c(l.nodeType===8?l.parentNode:l),Sa(function(){rh(u,G,m,x)}),G}function sh(l,u,m,x,k){var A=m._reactRootContainer;if(A){var I=A;if(typeof k=="function"){var q=k;k=function(){var G=ih(I);q.call(G)}}rh(u,I,l,k)}else I=UU(m,u,l,k,x);return ih(I)}Hk=function(l){switch(l.tag){case 3:var u=l.stateNode;if(u.current.memoizedState.isDehydrated){var m=jc(u.pendingLanes);
vendor: 4,853 bytes, line 40
40m!==0&&(Cg(u,m|1),Hn(u,Lt()),(ot&6)===0&&(Ws=Lt()+500,xo()))}break;case 13:Sa(function(){var x=Oi(l,1);if(x!==null){var k=In();$r(x,l,1,k)}}),ov(l,1)}},Tg=function(l){if(l.tag===13){var u=Oi(l,134217728);if(u!==null){var m=In();$r(u,l,134217728,m)}ov(l,134217728)}},Wk=function(l){if(l.tag===13){var u=ko(l),m=Oi(l,u);if(m!==null){var x=In();$r(m,l,u,x)}ov(l,u)}},Vk=function(){return ht},Gk=function(l,u){var m=ht;try{return ht=l,u()}finally{ht=m}},_g=function(l,u,m){switch(u){case"input":if(Ve(l,m),u=m.name,m.type==="radio"&&u!=null){for(m=l;m.parentNode;)m=m.parentNode;for(m=m.querySelectorAll("input[name="+JSON.stringify(""+u)+'][type="radio"]'),u=0;u<m.length;u++){var x=m[u];if(x!==l&&x.form===l.form){var k=_d(x);if(!k)throw Error(n(90));ie(x),Ve(x,k)}}}break;case"textarea":ua(l,m);break;case"select":u=m.value,u!=null&&nn(l,!!m.multiple,u,!1)}},Ck=Qy,Tk=Sa;var qU={usingClientEntryPoint:!1,Events:[zc,Ts,_d,Ak,Ok,Qy]},tu={findFiberByHostInstance:pa,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},HU={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:E.ReactCurrentDispatcher,findHostInstanceByFiber:function(l){return l=Mk(l),l===null?null:l.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||zU,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 lh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lh.isDisabled&&lh.supportsFiber)try{od=lh.inject(HU),ti=lh}catch{}}return Wn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qU,Wn.createPortal=function(l,u){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!sv(u))throw Error(n(200));return BU(l,u,null,m)},Wn.createRoot=function(l,u){if(!sv(l))throw Error(n(299));var m=!1,x="",k=cP;return u!=null&&(u.unstable_strictMode===!0&&(m=!0),u.identifierPrefix!==void 0&&(x=u.identifierPrefix),u.onRecoverableError!==void 0&&(k=u.onRecoverableError)),u=iv(l,1,!1,null,null,m,!1,x,k),l[Ei]=u.current,$c(l.nodeType===8?l.parentNode:l),new av(u)},Wn.findDOMNode=function(l){if(l==null)return null;if(l.nodeType===1)return l;var u=l._reactInternals;if(u===void 0)throw typeof l.render=="function"?Error(n(188)):(l=Object.keys(l).join(","),Error(n(268,l)));return l=Mk(u),l=l===null?null:l.stateNode,l},Wn.flushSync=function(l){return Sa(l)},Wn.hydrate=function(l,u,m){if(!ah(u))throw Error(n(200));return sh(null,l,u,!0,m)},Wn.hydrateRoot=function(l,u,m){if(!sv(l))throw Error(n(405));var x=m!=null&&m.hydratedSources||null,k=!1,A="",I=cP;if(m!=null&&(m.unstable_strictMode===!0&&(k=!0),m.identifierPrefix!==void 0&&(A=m.identifierPrefix),m.onRecoverableError!==void 0&&(I=m.onRecoverableError)),u=sP(u,null,l,1,m??null,k,!1,A,I),l[Ei]=u.current,$c(l),x)for(l=0;l<x.length;l++)m=x[l],k=m._getVersion,k=k(m._source),u.mutableSourceEagerHydrationData==null?u.mutableSourceEagerHydrationData=[m,k]:u.mutableSourceEagerHydrationData.push(m,k);return new oh(u)},Wn.render=function(l,u,m){if(!ah(u))throw Error(n(200));return sh(null,l,u,!1,m)},Wn.unmountComponentAtNode=function(l){if(!ah(l))throw Error(n(40));return l._reactRootContainer?(Sa(function(){sh(null,null,l,!1,function(){l._reactRootContainer=null,l[Ei]=null})}),!0):!1},Wn.unstable_batchedUpdates=Qy,Wn.unstable_renderSubtreeIntoContainer=function(l,u,m,x){if(!ah(m))throw Error(n(200));if(l==null||l._reactInternals===void 0)throw Error(n(38));return sh(l,u,m,!1,x)},Wn.version="18.3.1-next-f1338f8080-20240426",Wn}var xP;function cL(){if(xP)return fv.exports;xP=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),fv.exports=eq(),fv.exports}var bP;function tq(){if(bP)return fh;bP=1;var e=cL();return fh.createRoot=e.createRoot,fh.hydrateRoot=e.hydrateRoot,fh}var nq=tq();const rq=lt(nq),iq=20,oq=1e6,Ui={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let pv=0;function aq(){return pv=(pv+1)%Number.MAX_VALUE,pv.toString()}const mv=new Map,wP=e=>{if(mv.has(e))return;const t=setTimeout(()=>{mv.delete(e),Pu({type:Ui.REMOVE_TOAST,toastId:e})},oq);mv.set(e,t)},sq=(e,t)=>{switch(t.type){case Ui.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,iq)};case Ui.UPDATE_TOAST:return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case Ui.DISMISS_TOAST:{const{toastId:n}=t;
40return n?wP(n):e.toasts.forEach(r=>{wP(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case Ui.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Uh=[];let qh={toasts:[]};function Pu(e){qh=sq(qh,e),Uh.forEach(t=>{t(qh)})}function lq({...e}){const t=aq(),n=i=>Pu({type:Ui.UPDATE_TOAST,toast:{...i,id:t}}),r=()=>Pu({type:Ui.DISMISS_TOAST,toastId:t});return Pu({type:Ui.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function cq(){const[e,t]=O.useState(qh);return O.useEffect(()=>(Uh.push(t),()=>{const n=Uh.indexOf(t);n>-1&&Uh.splice(n,1)}),[e]),{...e,toast:lq,dismiss:n=>Pu({type:Ui.DISMISS_TOAST,toastId:n})}}function uL(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=uL(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ke(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=uL(e))&&(r&&(r+=" "),r+=t);return r}const SP=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,jP=Ke,Pj=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return jP(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,a=Object.keys(i).map(f=>{const h=n==null?void 0:n[f],p=o==null?void 0:o[f];if(h===null)return null;const g=SP(h)||SP(p);return i[f][g]}),s=n&&Object.entries(n).reduce((f,h)=>{let[p,g]=h;return g===void 0||(f[p]=g),f},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((f,h)=>{let{class:p,className:g,...y}=h;return Object.entries(y).every(S=>{let[b,v]=S;return Array.isArray(v)?v.includes({...o,...s}[b]):{...o,...s}[b]===v})?[...f,p,g]:f},[]);return jP(e,a,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.475.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 uq=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fL=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.475.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 fq={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.475.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 dq=O.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:a,...s},c)=>O.createElement("svg",{ref:c,...fq,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:fL("lucide",i),...s},[...a.map(([f,h])=>O.createElement(f,h)),...Array.isArray(o)?o:[o]]));/** 56 * @license lucide-react v0.475.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 Rt=(e,t)=>{const n=O.forwardRef(({className:r,...i},o)=>O.createElement(dq,{ref:o,iconNode:t,className:fL(`lucide-${uq(e)}`,r),...i}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.475.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 hq=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],pq=Rt("ArrowLeft",hq);/** 66 * @license lucide-react v0.475.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 mq=[["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"}]],gq=Rt("BookOpen",mq);/** 71 * @license lucide-react v0.475.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 yq=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],vq=Rt("Check",yq);/** 76 * @license lucide-react v0.475.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 xq=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Df=Rt("ChevronDown",xq);/** 81 * @license lucide-react v0.475.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 bq=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],wq=Rt("ChevronLeft",bq);
85/** 86 * @license lucide-react v0.475.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 Sq=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Ma=Rt("ChevronRight",Sq);/** 91 * @license lucide-react v0.475.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 jq=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],dL=Rt("ChevronUp",jq);/** 96 * @license lucide-react v0.475.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 _q=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],gv=Rt("ExternalLink",_q);/** 101 * @license lucide-react v0.475.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 kq=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Eq=Rt("EyeOff",kq);/** 106 * @license lucide-react v0.475.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 Nq=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Pq=Rt("Eye",Nq);/** 111 * @license lucide-react v0.475.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 Aq=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],Oq=Rt("GripVertical",Aq);/** 116 * @license lucide-react v0.475.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 Cq=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],s1=Rt("LoaderCircle",Cq);/** 121 * @license lucide-react v0.475.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 Tq=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Rq=Rt("Lock",Tq);/** 126 * @license lucide-react v0.475.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 Iq=[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]],Dq=Rt("LogIn",Iq);/** 131 * @license lucide-react v0.475.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 Mq=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]],Lq=Rt("Mail",Mq);/** 136 * @license lucide-react v0.475.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 $q=[["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"}]],Fq=Rt("Menu",$q);/** 141 * @license lucide-react v0.475.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 Bq=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],zq=Rt("Pencil",Bq);/** 146 * @license lucide-react v0.475.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 Uq=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],hL=Rt("Plus",Uq);/** 151 * @license lucide-react v0.475.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const qq=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Hq=Rt("RotateCcw",qq);/** 156 * @license lucide-react v0.475.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 Wq=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],pL=Rt("Save",Wq);
vendor: 4,311 bytes, lines 160-175
160/** 161 * @license lucide-react v0.475.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 Vq=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Gq=Rt("Shield",Vq);/** 166 * @license lucide-react v0.475.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 Kq=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],mL=Rt("Trash2",Kq);/** 171 * @license lucide-react v0.475.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 Xq=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Aj=Rt("X",Xq),Yq=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Jq=(e,t)=>({classGroupId:e,validator:t}),gL=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),np="-",_P=[],Qq="arbitrary..",Zq=e=>{const t=t8(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return e8(a);const s=a.split(np),c=s[0]===""&&s.length>1?1:0;return yL(s,c,t)},getConflictingClassGroupIds:(a,s)=>{if(s){const c=r[a],f=n[a];return c?f?Yq(f,c):c:f||_P}return n[a]||_P}}},yL=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const i=e[t],o=n.nextPart.get(i);if(o){const f=yL(e,t+1,o);if(f)return f}const a=n.validators;if(a===null)return;const s=t===0?e.join(np):e.slice(t).join(np),c=a.length;for(let f=0;f<c;f++){const h=a[f];if(h.validator(s))return h.classGroupId}},e8=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Qq+r:void 0})(),t8=e=>{const{theme:t,classGroups:n}=e;return n8(n,t)},n8=(e,t)=>{const n=gL();for(const r in e){const i=e[r];Oj(i,n,r,t)}return n},Oj=(e,t,n,r)=>{const i=e.length;for(let o=0;o<i;o++){const a=e[o];r8(a,t,n,r)}},r8=(e,t,n,r)=>{if(typeof e=="string"){i8(e,t,n);return}if(typeof e=="function"){o8(e,t,n,r);return}a8(e,t,n,r)},i8=(e,t,n)=>{const r=e===""?t:vL(t,e);r.classGroupId=n},o8=(e,t,n,r)=>{if(s8(e)){Oj(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Jq(n,e))},a8=(e,t,n,r)=>{const i=Object.entries(e),o=i.length;for(let a=0;a<o;a++){const[s,c]=i[a];Oj(c,vL(t,s),n,r)}},vL=(e,t)=>{let n=e;const r=t.split(np),i=r.length;for(let o=0;o<i;o++){const a=r[o];let s=n.nextPart.get(a);s||(s=gL(),n.nextPart.set(a,s)),n=s}return n},s8=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,l8=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const i=(o,a)=>{n[o]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(o){let a=n[o];if(a!==void 0)return a;if((a=r[o])!==void 0)return i(o,a),a},set(o,a){o in n?n[o]=a:i(o,a)}}},l1="!",kP=":",c8=[],EP=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),u8=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const o=[];let a=0,s=0,c=0,f;const h=i.length;for(let b=0;b<h;b++){const v=i[b];if(a===0&&s===0){if(v===kP){o.push(i.slice(c,b)),c=b+1;continue}if(v==="/"){f=b;continue}}v==="["?a++:v==="]"?a--:v==="("?s++:v===")"&&s--}const p=o.length===0?i:i.slice(c);let g=p,y=!1;p.endsWith(l1)?(g=p.slice(0,-1),y=!0):p.startsWith(l1)&&(g=p.slice(1),y=!0);const S=f&&f>c?f-c:void 0;return EP(o,y,g,S)};if(t){const i=t+kP,o=r;r=a=>a.startsWith(i)?o(a.slice(i.length)):EP(c8,!1,a,void 0,!0)}if(n){const i=r;r=o=>n({className:o,parseClassName:i})}return r},f8=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let i=[];for(let o=0;o<n.length;o++){const a=n[o],s=a[0]==="[",c=t.has(a);s||c?(i.length>0&&(i.sort(),r.push(...i),i=[]),r.push(a)):i.push(a)}return i.length>0&&(i.sort(),r.push(...i)),r}},d8=e=>
vendor: 5,178 bytes, line 175
175({cache:l8(e.cacheSize),parseClassName:u8(e),sortModifiers:f8(e),...Zq(e)}),h8=/\s+/,p8=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(h8);let c="";for(let f=s.length-1;f>=0;f-=1){const h=s[f],{isExternal:p,modifiers:g,hasImportantModifier:y,baseClassName:S,maybePostfixModifierPosition:b}=n(h);if(p){c=h+(c.length>0?" "+c:c);continue}let v=!!b,w=r(v?S.substring(0,b):S);if(!w){if(!v){c=h+(c.length>0?" "+c:c);continue}if(w=r(S),!w){c=h+(c.length>0?" "+c:c);continue}v=!1}const j=g.length===0?"":g.length===1?g[0]:o(g).join(":"),_=y?j+l1:j,E=_+w;if(a.indexOf(E)>-1)continue;a.push(E);const N=i(w,v);for(let P=0;P<N.length;++P){const C=N[P];a.push(_+C)}c=h+(c.length>0?" "+c:c)}return c},m8=(...e)=>{let t=0,n,r,i="";for(;t<e.length;)(n=e[t++])&&(r=xL(n))&&(i&&(i+=" "),i+=r);return i},xL=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=xL(e[r]))&&(n&&(n+=" "),n+=t);return n},g8=(e,...t)=>{let n,r,i,o;const a=c=>{const f=t.reduce((h,p)=>p(h),e());return n=d8(f),r=n.cache.get,i=n.cache.set,o=s,s(c)},s=c=>{const f=r(c);if(f)return f;const h=p8(c,n);return i(c,h),h};return o=a,(...c)=>o(m8(...c))},y8=[],Jt=e=>{const t=n=>n[e]||y8;return t.isThemeGetter=!0,t},bL=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,wL=/^\((?:(\w[\w-]*):)?(.+)\)$/i,v8=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,x8=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,b8=/\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$/,w8=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,S8=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,j8=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ao=e=>v8.test(e),Xe=e=>!!e&&!Number.isNaN(Number(e)),Oo=e=>!!e&&Number.isInteger(Number(e)),yv=e=>e.endsWith("%")&&Xe(e.slice(0,-1)),Ii=e=>x8.test(e),SL=()=>!0,_8=e=>b8.test(e)&&!w8.test(e),Cj=()=>!1,k8=e=>S8.test(e),E8=e=>j8.test(e),N8=e=>!Ae(e)&&!Oe(e),P8=e=>ea(e,kL,Cj),Ae=e=>bL.test(e),Ea=e=>ea(e,EL,_8),NP=e=>ea(e,M8,Xe),A8=e=>ea(e,PL,SL),O8=e=>ea(e,NL,Cj),PP=e=>ea(e,jL,Cj),C8=e=>ea(e,_L,E8),dh=e=>ea(e,AL,k8),Oe=e=>wL.test(e),ru=e=>gs(e,EL),T8=e=>gs(e,NL),AP=e=>gs(e,jL),R8=e=>gs(e,kL),I8=e=>gs(e,_L),hh=e=>gs(e,AL,!0),D8=e=>gs(e,PL,!0),ea=(e,t,n)=>{const r=bL.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},gs=(e,t,n=!1)=>{const r=wL.exec(e);return r?r[1]?t(r[1]):n:!1},jL=e=>e==="position"||e==="percentage",_L=e=>e==="image"||e==="url",kL=e=>e==="length"||e==="size"||e==="bg-size",EL=e=>e==="length",M8=e=>e==="number",NL=e=>e==="family-name",PL=e=>e==="number"||e==="weight",AL=e=>e==="shadow",L8=()=>{const e=Jt("color"),t=Jt("font"),n=Jt("text"),r=Jt("font-weight"),i=Jt("tracking"),o=Jt("leading"),a=Jt("breakpoint"),s=Jt("container"),c=Jt("spacing"),f=Jt("radius"),h=Jt("shadow"),p=Jt("inset-shadow"),g=Jt("text-shadow"),y=Jt("drop-shadow"),S=Jt("blur"),b=Jt("perspective"),v=Jt("aspect"),w=Jt("ease"),j=Jt("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],N=()=>[...E(),Oe,Ae],P=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],T=()=>[Oe,Ae,c],L=()=>[Ao,"full","auto",...T()],D=()=>[Oo,"none","subgrid",Oe,Ae],M=()=>["auto",{span:["full",Oo,Oe,Ae]},Oo,Oe,Ae],$=()=>[Oo,"auto",Oe,Ae],H=()=>["auto","min","max","fr",Oe,Ae],U=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],z=()=>["start","end","center","stretch","center-safe","end-safe"],W=()=>["auto",...T()],Z=()=>[Ao,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],V=()=>[Ao,"screen","full","dvw","lvw","svw","min","max","fit",...T()],ee=()=>[Ao,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],R=()=>[e,Oe,Ae],B=()=>[...E(),AP,PP,{position:[Oe,Ae]}],X=()=>["no-repeat",{repeat:["","x","y","space","round"]}],F=()=>["auto","cover","contain",R8,P8,{size:[Oe,Ae]}],he=()=>[yv,ru,Ea],ye=()=>["","none","full",f,Oe,Ae],le=()=>["",Xe,ru,Ea],ce=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>[Xe,yv,AP,PP],pe=()=>["","none",S,Oe,Ae],xe=()=>["none",Xe,Oe,Ae],ie=()=>["none",Xe,Oe,Ae],$e=()=>[Xe,Oe,Ae],Re=()=>[Ao,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ii],breakpoint:[Ii],color:[SL],container:[Ii],"drop-shadow":[Ii],ease:["in","out","in-out"],font:[N8],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ii],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ii],shadow:[Ii],spacing:["px",Xe],text:[Ii],"text-shadow":[Ii],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ao,Ae,Oe,v]}
vendor: 4,979 bytes, line 175
175],container:["container"],columns:[{columns:[Xe,Ae,Oe,s]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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"],sr:["sr-only","not-sr-only"],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:N()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{"inset-s":L(),start:L()}],end:[{"inset-e":L(),end:L()}],"inset-bs":[{"inset-bs":L()}],"inset-be":[{"inset-be":L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[Oo,"auto",Oe,Ae]}],basis:[{basis:[Ao,"full","auto",s,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Xe,Ao,"auto","initial","none",Ae]}],grow:[{grow:["",Xe,Oe,Ae]}],shrink:[{shrink:["",Xe,Oe,Ae]}],order:[{order:[Oo,"first","last","none",Oe,Ae]}],"grid-cols":[{"grid-cols":D()}],"col-start-end":[{col:M()}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":D()}],"row-start-end":[{row:M()}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":H()}],"auto-rows":[{"auto-rows":H()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...U(),"normal"]}],"justify-items":[{"justify-items":[...z(),"normal"]}],"justify-self":[{"justify-self":["auto",...z()]}],"align-content":[{content:["normal",...U()]}],"align-items":[{items:[...z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...z(),{baseline:["","last"]}]}],"place-content":[{"place-content":U()}],"place-items":[{"place-items":[...z(),"baseline"]}],"place-self":[{"place-self":["auto",...z()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:W()}],mx:[{mx:W()}],my:[{my:W()}],ms:[{ms:W()}],me:[{me:W()}],mbs:[{mbs:W()}],mbe:[{mbe:W()}],mt:[{mt:W()}],mr:[{mr:W()}],mb:[{mb:W()}],ml:[{ml:W()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:Z()}],"inline-size":[{inline:["auto",...V()]}],"min-inline-size":[{"min-inline":["auto",...V()]}],"max-inline-size":[{"max-inline":["none",...V()]}],"block-size":[{block:["auto",...ee()]}],"min-block-size":[{"min-block":["auto",...ee()]}],"max-block-size":[{"max-block":["none",...ee()]}],w:[{w:[s,"screen",...Z()]}],"min-w":[{"min-w":[s,"screen","none",...Z()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...Z()]}],h:[{h:["screen","lh",...Z()]}],"min-h":[{"min-h":["screen","lh","none",...Z()]}],"max-h":[{"max-h":["screen","lh",...Z()]}],"font-size":[{text:["base",n,ru,Ea]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,D8,A8]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",yv,Ae]}],"font-family":[{font:[T8,O8,t]}],"font-features":[{"font-features":[Ae]}],"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:[i,Oe,Ae]}],"line-clamp":[{"line-clamp":[Xe,"none",Oe,NP]}],leading:[{leading:[o,...T()]}],"list-image":[{"list-image":["none",Oe,Ae]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Oe,Ae]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[Xe,"from-font","auto",Oe,
vendor: 7,514 bytes, line 175
175Ea]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[Xe,"auto",Oe,Ae]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Oe,Ae]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Oe,Ae]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:X()}],"bg-size":[{bg:F()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Oo,Oe,Ae],radial:["",Oe,Ae],conic:[Oo,Oe,Ae]},I8,C8]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:he()}],"gradient-via-pos":[{via:he()}],"gradient-to-pos":[{to:he()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:ye()}],"rounded-s":[{"rounded-s":ye()}],"rounded-e":[{"rounded-e":ye()}],"rounded-t":[{"rounded-t":ye()}],"rounded-r":[{"rounded-r":ye()}],"rounded-b":[{"rounded-b":ye()}],"rounded-l":[{"rounded-l":ye()}],"rounded-ss":[{"rounded-ss":ye()}],"rounded-se":[{"rounded-se":ye()}],"rounded-ee":[{"rounded-ee":ye()}],"rounded-es":[{"rounded-es":ye()}],"rounded-tl":[{"rounded-tl":ye()}],"rounded-tr":[{"rounded-tr":ye()}],"rounded-br":[{"rounded-br":ye()}],"rounded-bl":[{"rounded-bl":ye()}],"border-w":[{border:le()}],"border-w-x":[{"border-x":le()}],"border-w-y":[{"border-y":le()}],"border-w-s":[{"border-s":le()}],"border-w-e":[{"border-e":le()}],"border-w-bs":[{"border-bs":le()}],"border-w-be":[{"border-be":le()}],"border-w-t":[{"border-t":le()}],"border-w-r":[{"border-r":le()}],"border-w-b":[{"border-b":le()}],"border-w-l":[{"border-l":le()}],"divide-x":[{"divide-x":le()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":le()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ce(),"hidden","none"]}],"divide-style":[{divide:[...ce(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-bs":[{"border-bs":R()}],"border-color-be":[{"border-be":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:[...ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Xe,Oe,Ae]}],"outline-w":[{outline:["",Xe,ru,Ea]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",h,hh,dh]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",p,hh,dh]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:le()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[Xe,Ea]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":le()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",g,hh,dh]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[Xe,Oe,Ae]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Xe]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[Oe,Ae]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":E()}],"mask-image-conic-pos":[{"mask-conic":[Xe]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:X()}],"mask-size":[{mask:F()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Oe,Ae]}],filter:[{filter:["","none",Oe,Ae]}],blur:[{blur:pe()}],brightness:[{brightness:[Xe,Oe,Ae]}],contrast:[{contrast:[Xe,Oe,Ae]}],"drop-shadow":[{"drop-shadow":["","none",y,hh,dh]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",Xe,Oe,Ae]}],"hue-rotate":[{"hue-rotate":[Xe,Oe,Ae]}],invert:[{invert:["",Xe,Oe,Ae]}],saturate:[{saturate:[Xe,Oe,Ae]}],sepia:[{sepia:["",Xe,Oe,Ae]}],"backdrop-filter":[{"backdrop-filter":["","none",Oe,Ae]}],"backdrop-blur":[{"backdrop-blur":pe()}],"backdrop-brightness":[{"backdrop-brightness":[Xe,Oe,Ae]}],"backdrop-contrast":[{"backdrop-contrast":[Xe,Oe,Ae]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Xe,Oe,Ae]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Xe,Oe,Ae]}],"backdrop-invert":[{"backdrop-invert":["",Xe,Oe,Ae]}],"backdrop-opacity":[{"backdrop-opacity":[Xe,Oe,Ae]}],"backdrop-saturate":[{"backdrop-saturate":[Xe,Oe,Ae]}],"backdrop-sepia":[{"backdrop-sepia":["",Xe,Oe,Ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Oe,Ae]}],"transition-behavior":[{transition:["normal","discrete"]}
vendor: 7,959 bytes, line 175
175],duration:[{duration:[Xe,"initial",Oe,Ae]}],ease:[{ease:["linear","initial",w,Oe,Ae]}],delay:[{delay:[Xe,Oe,Ae]}],animate:[{animate:["none",j,Oe,Ae]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,Oe,Ae]}],"perspective-origin":[{"perspective-origin":N()}],rotate:[{rotate:xe()}],"rotate-x":[{"rotate-x":xe()}],"rotate-y":[{"rotate-y":xe()}],"rotate-z":[{"rotate-z":xe()}],scale:[{scale:ie()}],"scale-x":[{"scale-x":ie()}],"scale-y":[{"scale-y":ie()}],"scale-z":[{"scale-z":ie()}],"scale-3d":["scale-3d"],skew:[{skew:$e()}],"skew-x":[{"skew-x":$e()}],"skew-y":[{"skew-y":$e()}],transform:[{transform:[Oe,Ae,"","none","gpu","cpu"]}],"transform-origin":[{origin:N()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Re()}],"translate-x":[{"translate-x":Re()}],"translate-y":[{"translate-y":Re()}],"translate-z":[{"translate-z":Re()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",Oe,Ae]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"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",Oe,Ae]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[Xe,ru,Ea,NP]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","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-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},$8=g8(L8);function xn(...e){return $8(Ke(e))}const OL=O.forwardRef(({...e},t)=>d.jsx("div",{ref:t,className:"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}));OL.displayName="ToastProvider";const CL=O.forwardRef(({...e},t)=>d.jsx("div",{ref:t,className:"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}));CL.displayName="ToastViewport";const F8=Pj("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"}}),TL=O.forwardRef(({className:e,variant:t,...n},r)=>d.jsx("div",{ref:r,className:xn(F8({variant:t}),e),...n}));TL.displayName="Toast";const B8=O.forwardRef(({className:e,...t},n)=>d.jsx("div",{ref:n,className:xn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));B8.displayName="ToastAction";const RL=O.forwardRef(({className:e,...t},n)=>d.jsx("button",{ref:n,className:xn("absolute right-2 top-2 rounded-md p-1 text-foreground
175/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:d.jsx(Aj,{className:"h-4 w-4"})}));RL.displayName="ToastClose";const IL=O.forwardRef(({className:e,...t},n)=>d.jsx("div",{ref:n,className:xn("text-sm font-semibold",e),...t}));IL.displayName="ToastTitle";const DL=O.forwardRef(({className:e,...t},n)=>d.jsx("div",{ref:n,className:xn("text-sm opacity-90",e),...t}));DL.displayName="ToastDescription";function z8(){const{toasts:e}=cq();return d.jsxs(OL,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return d.jsxs(TL,{...o,children:[d.jsxs("div",{className:"grid gap-1",children:[n&&d.jsx(IL,{children:n}),r&&d.jsx(DL,{children:r})]}),i,d.jsx(RL,{})]},t)}),d.jsx(CL,{})]})}var Mf=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(){}},U8={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Mo,Ej,QM,q8=(QM=class{constructor(){Le(this,Mo,U8);Le(this,Ej,!1)}setTimeoutProvider(e){ke(this,Mo,e)}setTimeout(e,t){return K(this,Mo).setTimeout(e,t)}clearTimeout(e){K(this,Mo).clearTimeout(e)}setInterval(e,t){return K(this,Mo).setInterval(e,t)}clearInterval(e){K(this,Mo).clearInterval(e)}},Mo=new WeakMap,Ej=new WeakMap,QM),La=new q8;function H8(e){setTimeout(e,0)}var rs=typeof window>"u"||"Deno"in globalThis;function Kn(){}function W8(e,t){return typeof e=="function"?e(t):e}function c1(e){return typeof e=="number"&&e>=0&&e!==1/0}function ML(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Go(e,t){return typeof e=="function"?e(t):e}function _r(e,t){return typeof e=="function"?e(t):e}function OP(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:s}=e;if(a){if(r){if(t.queryHash!==Tj(a,t.options))return!1}else if(!Bu(t.queryKey,a))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||i&&i!==t.state.fetchStatus||o&&!o(t))}function CP(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Fu(t.options.mutationKey)!==Fu(o))return!1}else if(!Bu(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Tj(e,t){return((t==null?void 0:t.queryKeyHashFn)||Fu)(e)}function Fu(e){return JSON.stringify(e,(t,n)=>f1(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Bu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Bu(e[n],t[n])):!1}var V8=Object.prototype.hasOwnProperty;function LL(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=TP(e)&&TP(t);if(!r&&!(f1(e)&&f1(t)))return t;const o=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),s=a.length,c=r?new Array(s):{};let f=0;for(let h=0;h<s;h++){const p=r?h:a[h],g=e[p],y=t[p];if(g===y){c[p]=g,(r?h<o:V8.call(e,p))&&f++;continue}if(g===null||y===null||typeof g!="object"||typeof y!="object"){c[p]=y;continue}const S=LL(g,y,n+1);c[p]=S,S===g&&f++}return o===s&&f===o?e:c}function u1(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function TP(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function f1(e){if(!RP(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!RP(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function RP(e){return Object.prototype.toString.call(e)==="[object Object]"}function G8(e){return new Promise(t=>{La.setTimeout(t,e)})}function d1(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?LL(e,t):t}function K8(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function X8(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Rj=Symbol();function $L(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Rj?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function FL(e,t){return typeof e=="function"?e(...t):!!e}function Y8(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??(i=t()),r||(r=!0,i.aborted?n():i.addEventListener("abort",n,{once:!0})),i)}),e}var Ha,Lo,yl,ZM,J8=(ZM=class extends Mf{constructor(){super();Le(this,Ha);Le(this,Lo);Le(this,yl);ke(this,yl,t=>{if(!rs&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){K(this,Lo)||this.setEventListener(K(this,yl))}onUnsubscribe(){var t;this.hasListeners()||((t=K(this,Lo))==null||t.call(this),ke(this,Lo,void 0))}setEventListener(t){var n;ke(this,yl,t),(n=K(this,Lo))==null||n.call(this),ke(this,Lo,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){K(this,Ha)!==t&&(ke(this,Ha,t),this.onFocus())}onFocus(){const t=this.isFocused();
175this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof K(this,Ha)=="boolean"?K(this,Ha):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ha=new WeakMap,Lo=new WeakMap,yl=new WeakMap,ZM),Ij=new J8;function h1(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}var Q8=H8;function Z8(){let e=[],t=0,n=s=>{s()},r=s=>{s()},i=Q8;const o=s=>{t?e.push(s):i(()=>{n(s)})},a=()=>{const s=e;e=[],s.length&&i(()=>{r(()=>{s.forEach(c=>{n(c)})})})};return{batch:s=>{let c;t++;try{c=s()}finally{t--,t||a()}return c},batchCalls:s=>(...c)=>{o(()=>{s(...c)})},schedule:o,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{i=s}}}var yn=Z8(),vl,$o,xl,eL,eH=(eL=class extends Mf{constructor(){super();Le(this,vl,!0);Le(this,$o);Le(this,xl);ke(this,xl,t=>{if(!rs&&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(){K(this,$o)||this.setEventListener(K(this,xl))}onUnsubscribe(){var t;this.hasListeners()||((t=K(this,$o))==null||t.call(this),ke(this,$o,void 0))}setEventListener(t){var n;ke(this,xl,t),(n=K(this,$o))==null||n.call(this),ke(this,$o,t(this.setOnline.bind(this)))}setOnline(t){K(this,vl)!==t&&(ke(this,vl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return K(this,vl)}},vl=new WeakMap,$o=new WeakMap,xl=new WeakMap,eL),rp=new eH;function tH(e){return Math.min(1e3*2**e,3e4)}function BL(e){return(e??"online")==="online"?rp.isOnline():!0}var p1=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function zL(e){let t=!1,n=0,r;const i=h1(),o=()=>i.status!=="pending",a=b=>{var v;if(!o()){const w=new p1(b);g(w),(v=e.onCancel)==null||v.call(e,w)}},s=()=>{t=!0},c=()=>{t=!1},f=()=>Ij.isFocused()&&(e.networkMode==="always"||rp.isOnline())&&e.canRun(),h=()=>BL(e.networkMode)&&e.canRun(),p=b=>{o()||(r==null||r(),i.resolve(b))},g=b=>{o()||(r==null||r(),i.reject(b))},y=()=>new Promise(b=>{var v;r=w=>{(o()||f())&&b(w)},(v=e.onPause)==null||v.call(e)}).then(()=>{var b;r=void 0,o()||(b=e.onContinue)==null||b.call(e)}),S=()=>{if(o())return;let b;const v=n===0?e.initialPromise:void 0;try{b=v??e.fn()}catch(w){b=Promise.reject(w)}Promise.resolve(b).then(p).catch(w=>{var P;if(o())return;const j=e.retry??(rs?0:3),_=e.retryDelay??tH,E=typeof _=="function"?_(n,w):_,N=j===!0||typeof j=="number"&&n<j||typeof j=="function"&&j(n,w);if(t||!N){g(w);return}n++,(P=e.onFail)==null||P.call(e,n,w),G8(E).then(()=>f()?void 0:y()).then(()=>{t?g(w):S()})})};return{promise:i,status:()=>i.status,cancel:a,continue:()=>(r==null||r(),i),cancelRetry:s,continueRetry:c,canStart:h,start:()=>(h()?S():y().then(S),i)}}var Wa,tL,UL=(tL=class{constructor(){Le(this,Wa)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),c1(this.gcTime)&&ke(this,Wa,La.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(rs?1/0:300*1e3))}clearGcTimeout(){K(this,Wa)&&(La.clearTimeout(K(this,Wa)),ke(this,Wa,void 0))}},Wa=new WeakMap,tL),Va,bl,jr,Ga,sn,Of,Ka,zr,Mi,nL,nH=(nL=class extends UL{constructor(t){super();Le(this,zr);Le(this,Va);Le(this,bl);Le(this,jr);Le(this,Ga);Le(this,sn);Le(this,Of);Le(this,Ka);ke(this,Ka,!1),ke(this,Of,t.defaultOptions),this.setOptions(t.options),this.observers=[],ke(this,Ga,t.client),ke(this,jr,K(this,Ga).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ke(this,Va,DP(this.options)),this.state=t.state??K(this,Va),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=K(this,sn))==null?void 0:t.promise}setOptions(t){if(this.options={...K(this,Of),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=DP(this.options);
vendor: 5,090 bytes, line 175
175n.data!==void 0&&(this.setState(IP(n.data,n.dataUpdatedAt)),ke(this,Va,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&K(this,jr).remove(this)}setData(t,n){const r=d1(this.state.data,t,this.options);return et(this,zr,Mi).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){et(this,zr,Mi).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=K(this,sn))==null?void 0:r.promise;return(i=K(this,sn))==null||i.cancel(t),n?n.then(Kn).catch(Kn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(K(this,Va))}isActive(){return this.observers.some(t=>_r(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Rj||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Go(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:!ML(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=K(this,sn))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=K(this,sn))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),K(this,jr).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(K(this,sn)&&(K(this,Ka)?K(this,sn).cancel({revert:!0}):K(this,sn).cancelRetry()),this.scheduleGc()),K(this,jr).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||et(this,zr,Mi).call(this,{type:"invalidate"})}async fetch(t,n){var c,f,h,p,g,y,S,b,v,w,j,_;if(this.state.fetchStatus!=="idle"&&((c=K(this,sn))==null?void 0:c.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(K(this,sn))return K(this,sn).continueRetry(),K(this,sn).promise}if(t&&this.setOptions(t),!this.options.queryFn){const E=this.observers.find(N=>N.options.queryFn);E&&this.setOptions(E.options)}const r=new AbortController,i=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(ke(this,Ka,!0),r.signal)})},o=()=>{const E=$L(this.options,n),P=(()=>{const C={client:K(this,Ga),queryKey:this.queryKey,meta:this.meta};return i(C),C})();return ke(this,Ka,!1),this.options.persister?this.options.persister(E,P,this):E(P)},s=(()=>{const E={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:K(this,Ga),state:this.state,fetchFn:o};return i(E),E})();(f=this.options.behavior)==null||f.onFetch(s,this),ke(this,bl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((h=s.fetchOptions)==null?void 0:h.meta))&&et(this,zr,Mi).call(this,{type:"fetch",meta:(p=s.fetchOptions)==null?void 0:p.meta}),ke(this,sn,zL({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,onCancel:E=>{E instanceof p1&&E.revert&&this.setState({...K(this,bl),fetchStatus:"idle"}),r.abort()},onFail:(E,N)=>{et(this,zr,Mi).call(this,{type:"failed",failureCount:E,error:N})},onPause:()=>{et(this,zr,Mi).call(this,{type:"pause"})},onContinue:()=>{et(this,zr,Mi).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0}));try{const E=await K(this,sn).start();if(E===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(E),(y=(g=K(this,jr).config).onSuccess)==null||y.call(g,E,this),(b=(S=K(this,jr).config).onSettled)==null||b.call(S,E,this.state.error,this),E}catch(E){if(E instanceof p1){if(E.silent)return K(this,sn).promise;if(E.revert){if(this.state.data===void 0)throw E;return this.state.data}}throw et(this,zr,Mi).call(this,{type:"error",error:E}),(w=(v=K(this,jr).config).onError)==null||w.call(v,E,this),(_=(j=K(this,jr).config).onSettled)==null||_.call(j,this.state.data,E,this),E}finally{this.scheduleGc()}}},Va=new WeakMap,bl=new WeakMap,jr=new WeakMap,Ga=new WeakMap,sn=new WeakMap,Of=new WeakMap,Ka=new WeakMap,zr=new WeakSet,Mi=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,...qL(r.data,this.options),fetchMeta:t.meta??null};case"success":const i={...r,...IP(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ke(this,bl,t.manual?i:void 0),i;case"error":const o=t.error;
vendor: 1,776 bytes, line 175
175return{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),yn.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),K(this,jr).notify({query:this,type:"updated",action:t})})},nL);function qL(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:BL(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function IP(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function DP(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 Gn,tt,Cf,Dn,Xa,wl,Bi,Fo,Tf,Sl,jl,Ya,Ja,Bo,_l,dt,bu,m1,g1,y1,v1,x1,b1,w1,HL,rL,rH=(rL=class extends Mf{constructor(t,n){super();Le(this,dt);Le(this,Gn);Le(this,tt);Le(this,Cf);Le(this,Dn);Le(this,Xa);Le(this,wl);Le(this,Bi);Le(this,Fo);Le(this,Tf);Le(this,Sl);Le(this,jl);Le(this,Ya);Le(this,Ja);Le(this,Bo);Le(this,_l,new Set);this.options=n,ke(this,Gn,t),ke(this,Fo,null),ke(this,Bi,h1()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(K(this,tt).addObserver(this),MP(K(this,tt),this.options)?et(this,dt,bu).call(this):this.updateResult(),et(this,dt,v1).c
vendor: 4,287 bytes, line 175
175all(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return S1(K(this,tt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return S1(K(this,tt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,et(this,dt,x1).call(this),et(this,dt,b1).call(this),K(this,tt).removeObserver(this)}setOptions(t){const n=this.options,r=K(this,tt);if(this.options=K(this,Gn).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof _r(this.options.enabled,K(this,tt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");et(this,dt,w1).call(this),K(this,tt).setOptions(this.options),n._defaulted&&!u1(this.options,n)&&K(this,Gn).getQueryCache().notify({type:"observerOptionsUpdated",query:K(this,tt),observer:this});const i=this.hasListeners();i&&LP(K(this,tt),r,this.options,n)&&et(this,dt,bu).call(this),this.updateResult(),i&&(K(this,tt)!==r||_r(this.options.enabled,K(this,tt))!==_r(n.enabled,K(this,tt))||Go(this.options.staleTime,K(this,tt))!==Go(n.staleTime,K(this,tt)))&&et(this,dt,m1).call(this);const o=et(this,dt,g1).call(this);i&&(K(this,tt)!==r||_r(this.options.enabled,K(this,tt))!==_r(n.enabled,K(this,tt))||o!==K(this,Bo))&&et(this,dt,y1).call(this,o)}getOptimisticResult(t){const n=K(this,Gn).getQueryCache().build(K(this,Gn),t),r=this.createResult(n,t);return oH(this,r)&&(ke(this,Dn,r),ke(this,wl,this.options),ke(this,Xa,K(this,tt).state)),r}getCurrentResult(){return K(this,Dn)}trackResult(t,n){return new Proxy(t,{get:(r,i)=>(this.trackProp(i),n==null||n(i),i==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&K(this,Bi).status==="pending"&&K(this,Bi).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,i))})}trackProp(t){K(this,_l).add(t)}getCurrentQuery(){return K(this,tt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=K(this,Gn).defaultQueryOptions(t),r=K(this,Gn).getQueryCache().build(K(this,Gn),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return et(this,dt,bu).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),K(this,Dn)))}createResult(t,n){var L;const r=K(this,tt),i=this.options,o=K(this,Dn),a=K(this,Xa),s=K(this,wl),f=t!==r?t.state:K(this,Cf),{state:h}=t;let p={...h},g=!1,y;if(n._optimisticResults){const D=this.hasListeners(),M=!D&&MP(t,n),$=D&&LP(t,r,n,i);(M||$)&&(p={...p,...qL(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(p.fetchStatus="idle")}let{error:S,errorUpdatedAt:b,status:v}=p;y=p.data;let w=!1;if(n.placeholderData!==void 0&&y===void 0&&v==="pending"){let D;o!=null&&o.isPlaceholderData&&n.placeholderData===(s==null?void 0:s.placeholderData)?(D=o.data,w=!0):D=typeof n.placeholderData=="function"?n.placeholderData((L=K(this,jl))==null?void 0:L.state.data,K(this,jl)):n.placeholderData,D!==void 0&&(v="success",y=d1(o==null?void 0:o.data,D,n),g=!0)}if(n.select&&y!==void 0&&!w)if(o&&y===(a==null?void 0:a.data)&&n.select===K(this,Tf))y=K(this,Sl);else try{ke(this,Tf,n.select),y=n.select(y),y=d1(o==null?void 0:o.data,y,n),ke(this,Sl,y),ke(this,Fo,null)}catch(D){ke(this,Fo,D)}K(this,Fo)&&(S=K(this,Fo),y=K(this,Sl),b=Date.now(),v="error");const j=p.fetchStatus==="fetching",_=v==="pending",E=v==="error",N=_&&j,P=y!==void 0,T={status:v,fetchStatus:p.fetchStatus,isPending:_,isSuccess:v==="success",isError:E,isInitialLoading:N,isLoading:N,data:y,dataUpdatedAt:p.dataUpdatedAt,error:S,errorUpdatedAt:b,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>f.dataUpdateCount||p.errorUpdateCount>f.errorUpdateCount,isFetching:j,isRefetching:j&&!_,isLoadingError:E&&!P,isPaused:p.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:E&&P,isStale:Dj(t,n),refetch:this.refetch,promise:K(this,Bi),isEnabled:_r(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const D=T.data!==void 0,M=T.status==="error"&&!D,$=z=>{M?z.reject(T.error):D&&z.resolve(T.data)},H=()=>{const z=ke(this,Bi,T.promise=h1());$(z)},U=K(this,Bi);
vendor: 7,811 bytes, line 175
175switch(U.status){case"pending":t.queryHash===r.queryHash&&$(U);break;case"fulfilled":(M||T.data!==U.value)&&H();break;case"rejected":(!M||T.error!==U.reason)&&H();break}}return T}updateResult(){const t=K(this,Dn),n=this.createResult(K(this,tt),this.options);if(ke(this,Xa,K(this,tt).state),ke(this,wl,this.options),K(this,Xa).data!==void 0&&ke(this,jl,K(this,tt)),u1(n,t))return;ke(this,Dn,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:i}=this.options,o=typeof i=="function"?i():i;if(o==="all"||!o&&!K(this,_l).size)return!0;const a=new Set(o??K(this,_l));return this.options.throwOnError&&a.add("error"),Object.keys(K(this,Dn)).some(s=>{const c=s;return K(this,Dn)[c]!==t[c]&&a.has(c)})};et(this,dt,HL).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&et(this,dt,v1).call(this)}},Gn=new WeakMap,tt=new WeakMap,Cf=new WeakMap,Dn=new WeakMap,Xa=new WeakMap,wl=new WeakMap,Bi=new WeakMap,Fo=new WeakMap,Tf=new WeakMap,Sl=new WeakMap,jl=new WeakMap,Ya=new WeakMap,Ja=new WeakMap,Bo=new WeakMap,_l=new WeakMap,dt=new WeakSet,bu=function(t){et(this,dt,w1).call(this);let n=K(this,tt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Kn)),n},m1=function(){et(this,dt,x1).call(this);const t=Go(this.options.staleTime,K(this,tt));if(rs||K(this,Dn).isStale||!c1(t))return;const r=ML(K(this,Dn).dataUpdatedAt,t)+1;ke(this,Ya,La.setTimeout(()=>{K(this,Dn).isStale||this.updateResult()},r))},g1=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(K(this,tt)):this.options.refetchInterval)??!1},y1=function(t){et(this,dt,b1).call(this),ke(this,Bo,t),!(rs||_r(this.options.enabled,K(this,tt))===!1||!c1(K(this,Bo))||K(this,Bo)===0)&&ke(this,Ja,La.setInterval(()=>{(this.options.refetchIntervalInBackground||Ij.isFocused())&&et(this,dt,bu).call(this)},K(this,Bo)))},v1=function(){et(this,dt,m1).call(this),et(this,dt,y1).call(this,et(this,dt,g1).call(this))},x1=function(){K(this,Ya)&&(La.clearTimeout(K(this,Ya)),ke(this,Ya,void 0))},b1=function(){K(this,Ja)&&(La.clearInterval(K(this,Ja)),ke(this,Ja,void 0))},w1=function(){const t=K(this,Gn).getQueryCache().build(K(this,Gn),this.options);if(t===K(this,tt))return;const n=K(this,tt);ke(this,tt,t),ke(this,Cf,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},HL=function(t){yn.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(K(this,Dn))}),K(this,Gn).getQueryCache().notify({query:K(this,tt),type:"observerResultsUpdated"})})},rL);function iH(e,t){return _r(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function MP(e,t){return iH(e,t)||e.state.data!==void 0&&S1(e,t,t.refetchOnMount)}function S1(e,t,n){if(_r(t.enabled,e)!==!1&&Go(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Dj(e,t)}return!1}function LP(e,t,n,r){return(e!==t||_r(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Dj(e,n)}function Dj(e,t){return _r(t.enabled,e)!==!1&&e.isStaleByTime(Go(t.staleTime,e))}function oH(e,t){return!u1(e.getCurrentResult(),t)}function $P(e){return{onFetch:(t,n)=>{var h,p,g,y,S;const r=t.options,i=(g=(p=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:p.fetchMore)==null?void 0:g.direction,o=((y=t.state.data)==null?void 0:y.pages)||[],a=((S=t.state.data)==null?void 0:S.pageParams)||[];let s={pages:[],pageParams:[]},c=0;const f=async()=>{let b=!1;const v=_=>{Y8(_,()=>t.signal,()=>b=!0)},w=$L(t.options,t.fetchOptions),j=async(_,E,N)=>{if(b)return Promise.reject();if(E==null&&_.pages.length)return Promise.resolve(_);const C=(()=>{const M={client:t.client,queryKey:t.queryKey,pageParam:E,direction:N?"backward":"forward",meta:t.options.meta};return v(M),M})(),T=await w(C),{maxPages:L}=t.options,D=N?X8:K8;return{pages:D(_.pages,T,L),pageParams:D(_.pageParams,E,L)}};if(i&&o.length){const _=i==="backward",E=_?aH:FP,N={pages:o,pageParams:a},P=E(r,N);s=await j(N,P,_)}else{const _=e??o.length;do{const E=c===0?a[0]??r.initialPageParam:FP(r,s);if(c>0&&E==null)break;s=await j(s,E),c++}while(c<_)}return s};t.options.persister?t.fetchFn=()=>{var b,v;return(v=(b=t.options).persister)==null?void 0:v.call(b,f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=f}}}function FP(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 aH(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 Rf,si,Nn,Qa,li,To,iL,sH=(iL=class extends UL{constructor(t){super();Le(this,li);Le(this,Rf);Le(this,si);Le(this,Nn);Le(this,Qa);ke(this,Rf,t.client),this.mutationId=t.mutationId,ke(this,Nn,t.mutationCache),ke(this,si,[]),this.state=t.state||lH(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){K(this,si).includes(t)||(K(this,si).push(t),this.clearGcTimeout(),K(this,Nn).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ke(this,si,K(this,si).filter(n=>n!==t)),this.scheduleGc(),K(this,Nn).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){K(this,si).length||(this.state.status==="pending"?this.scheduleGc():K(this,Nn).remove(this))}continue(){var t;return((t=K(this,Qa))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,s,c,f,h,p,g,y,S,b,v,w,j,_,E,N,P,C;const n=()=>{et(this,li,To).call(this,{type:"continue"})},r={client:K(this,Rf),meta:this.options.meta,mutationKey:this.options.mutationKey};ke(this,Qa,zL({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(T,L)=>{et(this,li,To).call(this,{type:"failed",failureCount:T,error:L})},onPause:()=>{et(this,li,To).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>K(this,Nn).canRun(this)}));const i=this.state.status==="pending",o=!K(this,Qa).canStart();try{if(i)n();else{et(this,li,To).call(this,{type:"pending",variables:t,isPaused:o}),K(this,Nn).config.onMutate&&await K(this,Nn).config.onMutate(t,this,r);const L=await((s=(a=this.options).onMutate)==null?void 0:s.call(a,t,r));L!==this.state.context&&et(this,li,To).call(this,{type:"pending",context:L,variables:t,isPaused:o})}const T=await K(this,Qa).start();return await((f=(c=K(this,Nn).config).onSuccess)==null?void 0:f.call(c,T,t,this.state.context,this,r)),await((p=(h=this.options).onSuccess)==null?void 0:p.call(h,T,t,this.state.context,r)),await((y=(g=K(this,Nn).config).onSettled)==null?void 0:y.call(g,T,null,this.state.variables,this.state.context,this,r)),await((b=(S=this.options).onSettled)==null?void 0:b.call(S,T,null,t,this.state.context,r)),et(this,li,To).call(this,{type:"success",data:T}),T}catch(T){try{await((w=(v=K(this,Nn).config).onError)==null?void 0:w.call(v,T,t,this.state.context,this,r))}catch(L){Promise.reject(L)}try{await((_=(j=this.options).onError)==null?void 0:_.call(j,T,t,this.state.context,r))}catch(L){Promise.reject(L)}try{await((N=(E=K(this,Nn).config).onSettled)==null?void 0:N.call(E,void 0,T,this.state.variables,this.state.context,this,r))}catch(L){Promise.reject(L)}try{await((C=(P=this.options).onSettled)==null?void 0:C.call(P,void 0,T,t,this.state.context,r))}catch(L){Promise.reject(L)}throw et(this,li,To).call(this,{type:"error",error:T}),T}finally{K(this,Nn).runNext(this)}}},Rf=new WeakMap,si=new WeakMap,Nn=new WeakMap,Qa=new WeakMap,li=new WeakSet,To=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};
175case"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),yn.batch(()=>{K(this,si).forEach(r=>{r.onMutationUpdate(t)}),K(this,Nn).notify({mutation:this,type:"updated",action:t})})},iL);function lH(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var zi,Ur,If,oL,cH=(oL=class extends Mf{constructor(t={}){super();Le(this,zi);Le(this,Ur);Le(this,If);this.config=t,ke(this,zi,new Set),ke(this,Ur,new Map),ke(this,If,0)}build(t,n,r){const i=new sH({client:t,mutationCache:this,mutationId:++ch(this,If)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){K(this,zi).add(t);const n=ph(t);if(typeof n=="string"){const r=K(this,Ur).get(n);r?r.push(t):K(this,Ur).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(K(this,zi).delete(t)){const n=ph(t);if(typeof n=="string"){const r=K(this,Ur).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&K(this,Ur).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ph(t);if(typeof n=="string"){const r=K(this,Ur).get(n),i=r==null?void 0:r.find(o=>o.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=ph(t);if(typeof n=="string"){const i=(r=K(this,Ur).get(n))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){yn.batch(()=>{K(this,zi).forEach(t=>{this.notify({type:"removed",mutation:t})}),K(this,zi).clear(),K(this,Ur).clear()})}getAll(){return Array.from(K(this,zi))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>CP(n,r))}findAll(t={}){return this.getAll().filter(n=>CP(t,n))}notify(t){yn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return yn.batch(()=>Promise.all(t.map(n=>n.continue().catch(Kn))))}},zi=new WeakMap,Ur=new WeakMap,If=new WeakMap,oL);function ph(e){var t;return(t=e.options.scope)==null?void 0:t.id}var ci,aL,uH=(aL=class extends Mf{constructor(t={}){super();Le(this,ci);this.config=t,ke(this,ci,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??Tj(i,n);let a=this.get(o);return a||(a=new nH({client:t,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){K(this,ci).has(t.queryHash)||(K(this,ci).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=K(this,ci).get(t.queryHash);n&&(t.destroy(),n===t&&K(this,ci).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){yn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return K(this,ci).get(t)}getAll(){return[...K(this,ci).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>OP(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>OP(t,r)):n}notify(t){yn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){yn.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){yn.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},ci=new WeakMap,aL),Dt,zo,Uo,kl,El,qo,Nl,Pl,sL,fH=(sL=class{constructor(e={}){Le(this,Dt);Le(this,zo);Le(this,Uo);Le(this,kl);Le(this,El);Le(this,qo);Le(this,Nl);Le(this,Pl);ke(this,Dt,e.queryCache||new uH),ke(this,zo,e.mutationCache||new cH),ke(this,Uo,e.defaultOptions||{}),ke(this,kl,new Map),ke(this,El,new Map),ke(this,qo,0)}mount(){ch(this,qo)._++,K(this,qo)===1&&(ke(this,Nl,Ij.subscribe(async e=>{e&&(await this.resumePausedMutations(),K(this,Dt).onFocus())})),ke(this,Pl,rp.subscribe(async e=>{e&&(await this.resumePausedMutations(),K(this,Dt).onOnline())})))}unmount(){var e,t;ch(this,qo)._--,K(this,qo)===0&&((e=K(this,Nl))==null||e.call(this),ke(this,Nl,void 0),(t=K(this,Pl))==null||t.call(this),ke(this,Pl,void 0))}isFetching(e){return K(this,Dt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return K(this,zo).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=K(this,Dt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=K(this,Dt).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Go(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return K(this,Dt).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=K(this,Dt).get(r.queryHash),o=i==null?void 0:i.state.data,a=W8(t,o);if(a!==void 0)return K(this,Dt).build(this,r).setData(a,{...n,manual:!0})}
175setQueriesData(e,t,n){return yn.batch(()=>K(this,Dt).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=K(this,Dt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=K(this,Dt);yn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=K(this,Dt);return yn.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=yn.batch(()=>K(this,Dt).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Kn).catch(Kn)}invalidateQueries(e,t={}){return yn.batch(()=>(K(this,Dt).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=yn.batch(()=>K(this,Dt).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(Kn)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Kn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=K(this,Dt).build(this,t);return n.isStaleByTime(Go(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Kn).catch(Kn)}fetchInfiniteQuery(e){return e.behavior=$P(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Kn).catch(Kn)}ensureInfiniteQueryData(e){return e.behavior=$P(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return rp.isOnline()?K(this,zo).resumePausedMutations():Promise.resolve()}getQueryCache(){return K(this,Dt)}getMutationCache(){return K(this,zo)}getDefaultOptions(){return K(this,Uo)}setDefaultOptions(e){ke(this,Uo,e)}setQueryDefaults(e,t){K(this,kl).set(Fu(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...K(this,kl).values()],n={};return t.forEach(r=>{Bu(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){K(this,El).set(Fu(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...K(this,El).values()],n={};return t.forEach(r=>{Bu(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...K(this,Uo).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Tj(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===Rj&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...K(this,Uo).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){K(this,Dt).clear(),K(this,zo).clear()}},Dt=new WeakMap,zo=new WeakMap,Uo=new WeakMap,kl=new WeakMap,El=new WeakMap,qo=new WeakMap,Nl=new WeakMap,Pl=new WeakMap,sL),WL=O.createContext(void 0),dH=e=>{const t=O.useContext(WL);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},hH=({client:e,children:t})=>(O.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),d.jsx(WL.Provider,{value:e,children:t})),VL=O.createContext(!1),pH=()=>O.useContext(VL);VL.Provider;function mH(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var gH=O.createContext(mH()),yH=()=>O.useContext(gH),vH=(e,t,n)=>{const r=n!=null&&n.state.error&&typeof e.throwOnError=="function"?FL(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},xH=e=>{O.useEffect(()=>{e.clearReset()},[e])},bH=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||FL(n,[e.error,r])),wH=e=>{if(e.suspense){const n=i=>i==="static"?i:Math.max(i??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...i)=>n(r(...i)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},SH=(e,t)=>e.isLoading&&e.isFetching&&!t,jH=(e,t)=>
175(e==null?void 0:e.suspense)&&t.isPending,BP=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function _H(e,t,n){var g,y,S,b;const r=pH(),i=yH(),o=dH(),a=o.defaultQueryOptions(e);(y=(g=o.getDefaultOptions().queries)==null?void 0:g._experimental_beforeQuery)==null||y.call(g,a);const s=o.getQueryCache().get(a.queryHash);a._optimisticResults=r?"isRestoring":"optimistic",wH(a),vH(a,i,s),xH(i);const c=!o.getQueryCache().get(a.queryHash),[f]=O.useState(()=>new t(o,a)),h=f.getOptimisticResult(a),p=!r&&e.subscribed!==!1;if(O.useSyncExternalStore(O.useCallback(v=>{const w=p?f.subscribe(yn.batchCalls(v)):Kn;return f.updateResult(),w},[f,p]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),O.useEffect(()=>{f.setOptions(a)},[a,f]),jH(a,h))throw BP(a,f,i);if(bH({result:h,errorResetBoundary:i,throwOnError:a.throwOnError,query:s,suspense:a.suspense}))throw h.error;if((b=(S=o.getDefaultOptions().queries)==null?void 0:S._experimental_afterQuery)==null||b.call(S,a,h),a.experimental_prefetchInRender&&!rs&&SH(h,r)){const v=c?BP(a,f,i):s==null?void 0:s.promise;v==null||v.catch(Kn).finally(()=>{f.updateResult()})}return a.notifyOnChangeProps?h:f.trackResult(h)}function kH(e,t){return _H(e,rH)}const EH=new fH({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});var Lf=cL();const NH=lt(Lf);/** 176 * @remix-run/router v1.23.2 177 * 178 * Copyright (c) Remix Software Inc. 179 * 180 * This source code is licensed under the MIT license found in the 181 * LICENSE.md file in the root directory of this source tree. 182 * 183 * @license MIT 184 */function zu(){return zu=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},zu.apply(this,arguments)}var Ho;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ho||(Ho={}));const zP="popstate";function PH(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:a,hash:s}=r.location;return j1("",{pathname:o,search:a,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:ip(i)}return OH(t,n,null,e)}function Ft(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Mj(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function AH(){return Math.random().toString(36).substr(2,8)}function UP(e,t){return{usr:e.state,key:e.key,idx:t}}function j1(e,t,n,r){return n===void 0&&(n=null),zu({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?rc(t):t,{state:n,key:t&&t.key||r||AH()})}function ip(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 rc(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 OH(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=Ho.Pop,c=null,f=h();f==null&&(f=0,a.replaceState(zu({},a.state,{idx:f}),""));function h(){return(a.state||{idx:null}).idx}function p(){s=Ho.Pop;let v=h(),w=v==null?null:v-f;f=v,c&&c({action:s,location:b.location,delta:w})}function g(v,w){s=Ho.Push;let j=j1(b.location,v,w);f=h()+1;let _=UP(j,f),E=b.createHref(j);try{a.pushState(_,"",E)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;i.location.assign(E)}o&&c&&c({action:s,location:b.location,delta:1})}function y(v,w){s=Ho.Replace;let j=j1(b.location,v,w);f=h();let _=UP(j,f),E=b.createHref(j);a.replaceState(_,"",E),o&&c&&c({action:s,location:b.location,delta:0})}function S(v){let w=i.location.origin!=="null"?i.location.origin:i.location.href,j=typeof v=="string"?v:ip(v);return j=j.replace(/ $/,"%20"),Ft(w,"No window.location.(origin|href) available to create URL for href: "+j),new URL(j,w)}let b={get action(){return s},get location(){return e(i,a)},listen(v){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(zP,p),c=v,()=>{i.removeEventListener(zP,p),c=null}},createHref(v){return t(i,v)},createURL:S,encodeLocation(v){let w=S(v);return{pathname:w.pathname,search:w.search,hash:w.hash}},push:g,replace:y,go(v){return a.go(v)}};return b}var qP;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(qP||(qP={}));
vendor: 2,175 bytes, line 184
184function CH(e,t,n){return n===void 0&&(n="/"),TH(e,t,n)}function TH(e,t,n,r){let i=typeof t=="string"?rc(t):t,o=Lj(i.pathname||"/",n);if(o==null)return null;let a=GL(e);RH(a);let s=null;for(let c=0;s==null&&c<a.length;++c){let f=WH(o);s=UH(a[c],f)}return s}function GL(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,a,s)=>{let c={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};c.relativePath.startsWith("/")&&(Ft(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let f=Ko([r,c.relativePath]),h=n.concat(c);o.children&&o.children.length>0&&(Ft(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+f+'".')),GL(o.children,t,h,f)),!(o.path==null&&!o.index)&&t.push({path:f,score:BH(f,o.index),routesMeta:h})};return e.forEach((o,a)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))i(o,a);else for(let c of KL(o.path))i(o,a,c)}),t}function KL(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=KL(r.join("/")),s=[];return s.push(...a.map(c=>c===""?o:[o,c].join("/"))),i&&s.push(...a),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function RH(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:zH(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const IH=/^:[\w-]+$/,DH=3,MH=2,LH=1,$H=10,FH=-2,HP=e=>e==="*";function BH(e,t){let n=e.split("/"),r=n.length;return n.some(HP)&&(r+=FH),t&&(r+=MH),n.filter(i=>!HP(i)).reduce((i,o)=>i+(IH.test(o)?DH:o===""?LH:$H),r)}function zH(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function UH(e,t,n){let{routesMeta:r}=e,i={},o="/",a=[];for(let s=0;s<r.length;++s){let c=r[s],f=s===r.length-1,h=o==="/"?t:t.slice(o.length)||"/",p=qH({path:c.relativePath,caseSensitive:c.caseSensitive,end:f},h),g=c.route;if(!p)return null;
vendor: 7,350 bytes, lines 184-193
184Object.assign(i,p.params),a.push({params:i,pathname:Ko([o,p.pathname]),pathnameBase:YH(Ko([o,p.pathnameBase])),route:g}),p.pathnameBase!=="/"&&(o=Ko([o,p.pathnameBase]))}return a}function qH(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=HH(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((f,h,p)=>{let{paramName:g,isOptional:y}=h;if(g==="*"){let b=s[p]||"";a=o.slice(0,o.length-b.length).replace(/(.)\/+$/,"$1")}const S=s[p];return y&&!S?f[g]=void 0:f[g]=(S||"").replace(/%2F/g,"/"),f},{}),pathname:o,pathnameBase:a,pattern:e}}function HH(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Mj(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,c)=>(r.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function WH(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Mj(!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 Lj(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const VH=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,GH=e=>VH.test(e);function KH(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?rc(e):e,o;if(n)if(GH(n))o=n;else{if(n.includes("//")){let a=n;n=n.replace(/\/\/+/g,"/"),Mj(!1,"Pathnames cannot have embedded double slashes - normalizing "+(a+" -> "+n))}n.startsWith("/")?o=WP(n.substring(1),"/"):o=WP(n,t)}else o=t;return{pathname:o,search:JH(r),hash:QH(i)}}function WP(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function vv(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 XH(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function $j(e,t){let n=XH(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Fj(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=rc(e):(i=zu({},e),Ft(!i.pathname||!i.pathname.includes("?"),vv("?","pathname","search",i)),Ft(!i.pathname||!i.pathname.includes("#"),vv("#","pathname","hash",i)),Ft(!i.search||!i.search.includes("#"),vv("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=n;else{let p=t.length-1;if(!r&&a.startsWith("..")){let g=a.split("/");for(;g[0]==="..";)g.shift(),p-=1;i.pathname=g.join("/")}s=p>=0?t[p]:"/"}let c=KH(i,s),f=a&&a!=="/"&&a.endsWith("/"),h=(o||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(f||h)&&(c.pathname+="/"),c}const Ko=e=>e.join("/").replace(/\/\/+/g,"/"),YH=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),JH=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,QH=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function ZH(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const XL=["post","put","patch","delete"];new Set(XL);const eW=["get",...XL];new Set(eW);/** 185 * React Router v6.30.3 186 * 187 * Copyright (c) Remix Software Inc. 188 * 189 * This source code is licensed under the MIT license found in the 190 * LICENSE.md file in the root directory of this source tree. 191 * 192 * @license MIT 193 */function Uu(){return Uu=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},Uu.apply(this,arguments)}const Bj=O.createContext(null),tW=O.createContext(null),ta=O.createContext(null),$f=O.createContext(null),bi=O.createContext({outlet:null,matches:[],isDataRoute:!1}),YL=O.createContext(null);function nW(e,t){let{relative:n}=t===void 0?{}:t;ic()||Ft(!1);let{basename:r,navigator:i}=O.useContext(ta),{hash:o,pathname:a,search:s}=QL(e,{relative:n}),c=a;return r!=="/"&&(c=a==="/"?r:Ko([r,a])),i.createHref({pathname:c,search:s,hash:o})}function ic(){return O.useContext($f)!=null}function na(){return ic()||Ft(!1),O.useContext($f).location}function rW(){return O.useContext($f).navigationType}function JL(e){O.useContext(ta).static||O.useLayoutEffect(e)}function zj(){let{isDataRoute:e}=O.useContext(bi);return e?xW():iW()}function iW(){ic()||Ft(!1);let e=O.useContext(Bj),{basename:t,future:n,navigator:r}=O.useContext(ta),{matches:i}=O.useContext(bi),{pathname:o}=na(),a=JSON.stringify($j(i,n.v7_relativeSplatPath)),s=O.useRef(!1);return JL(()=>{s.current=!0}),O.useCallback(function(f,h){if(h===void 0&&(h={}),!s.current)return;if(typeof f=="number"){r.go(f);return}let p=Fj(f,JSON.parse(a),o,h.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Ko([t,p.pathname])),(h.replace?r.replace:r.push)(p,h.state,h)},[t,r,a,o,e])}const oW=O.createContext(null);function aW(e){let t=O.useContext(bi).outlet;return t&&O.createElement(oW.Provider,{value:e},t)}function sW(){let{matches:e}=O.useContext(bi),t=e[e.length-1];return t?t.params:{}}function QL(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=O.useContext(ta),{matches:i}=O.useContext(bi),{pathname:o}=na(),a=JSON.stringify($j(i,r.v7_relativeSplatPath));return O.useMemo(()=>Fj(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function lW(e,t){return cW(e,t)}function cW(e,t,n,r){ic()||Ft(!1);let{navigator:i}=O.useContext(ta),{matches:o}=O.useContext(bi),a=o[o.length-1],s=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let f=na(),h;if(t){var p;let v=typeof t=="string"?rc(t):t;c==="/"||(p=v.pathname)!=null&&p.startsWith(c)||Ft(!1),h=v}else h=f;let g=h.pathname||"/",y=g;if(c!=="/"){let v=c.replace(/^\//,"").split("/");y="/"+g.replace(/^\//,"").split("/").slice(v.length).join("/")}let S=CH(e,{pathname:y}),b=pW(S&&S.map(v=>Object.assign({},v,{params:Object.assign({},s,v.params),pathname:Ko([c,i.encodeLocation?i.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?c:Ko([c,i.encodeLocation?i.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),o,n,r);return t&&b?O.createElement($f.Provider,{value:{location:Uu({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:Ho.Pop}},b):b}function uW(){let e=vW(),t=ZH(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return O.createElement(O.Fragment,null,O.createElement("h2",null,"Unexpected Application
193Error!"),O.createElement("h3",{style:{fontStyle:"italic"}},t),n?O.createElement("pre",{style:i},n):null,null)}const fW=O.createElement(uW,null);class dW extends O.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?O.createElement(bi.Provider,{value:this.props.routeContext},O.createElement(YL.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function hW(e){let{routeContext:t,match:n,children:r}=e,i=O.useContext(Bj);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),O.createElement(bi.Provider,{value:t},r)}function pW(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let h=a.findIndex(p=>p.route.id&&(s==null?void 0:s[p.route.id])!==void 0);h>=0||Ft(!1),a=a.slice(0,Math.min(a.length,h+1))}let c=!1,f=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h<a.length;h++){let p=a[h];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(f=h),p.route.id){let{loaderData:g,errors:y}=n,S=p.route.loader&&g[p.route.id]===void 0&&(!y||y[p.route.id]===void 0);if(p.route.lazy||S){c=!0,f>=0?a=a.slice(0,f+1):a=[a[0]];break}}}return a.reduceRight((h,p,g)=>{let y,S=!1,b=null,v=null;n&&(y=s&&p.route.id?s[p.route.id]:void 0,b=p.route.errorElement||fW,c&&(f<0&&g===0?(bW("route-fallback"),S=!0,v=null):f===g&&(S=!0,v=p.route.hydrateFallbackElement||null)));let w=t.concat(a.slice(0,g+1)),j=()=>{let _;return y?_=b:S?_=v:p.route.Component?_=O.createElement(p.route.Component,null):p.route.element?_=p.route.element:_=h,O.createElement(hW,{match:p,routeContext:{outlet:h,matches:w,isDataRoute:n!=null},children:_})};return n&&(p.route.ErrorBoundary||p.route.errorElement||g===0)?O.createElement(dW,{location:n.location,revalidation:n.revalidation,component:b,error:y,children:j(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):j()},null)}var ZL=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(ZL||{}),e4=(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})(e4||{});function mW(e){let t=O.useContext(Bj);return t||Ft(!1),t}function gW(e){let t=O.useContext(tW);return t||Ft(!1),t}function yW(e){let t=O.useContext(bi);return t||Ft(!1),t}function t4(e){let t=yW(),n=t.matches[t.matches.length-1];return n.route.id||Ft(!1),n.route.id}function vW(){var e;let t=O.useContext(YL),n=gW(),r=t4();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function xW(){let{router:e}=mW(ZL.UseNavigateStable),t=t4(e4.UseNavigateStable),n=O.useRef(!1);return JL(()=>{n.current=!0}),O.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Uu({fromRouteId:t},o)))},[e,t])}const VP={};function bW(e,t,n){VP[e]||(VP[e]=!0)}function wW(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function n4(e){let{to:t,replace:n,state:r,relative:i}=e;ic()||Ft(!1);let{future:o,static:a}=O.useContext(ta),{matches:s}=O.useContext(bi),{pathname:c}=na(),f=zj(),h=Fj(t,$j(s,o.v7_relativeSplatPath),c,i==="path"),p=JSON.stringify(h);return O.useEffect(()=>f(JSON.parse(p),{replace:n,state:r,relative:i}),[f,p,i,n,r]),null}function SW(e){return aW(e.context)}function Li(e){Ft(!1)}function jW(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Ho.Pop,navigator:o,static:a=!1,future:s}=e;ic()&&Ft(!1);let c=t.replace(/^\/*/,"/"),f=O.useMemo(()=>({basename:c,navigator:o,static:a,future:Uu({v7_relativeSplatPath:!1},s)}),[c,s,o,a]);typeof r=="string"&&(r=rc(r));let{pathname:h="/",search:p="",hash:g="",state:y=null,key:S="default"}=r,b=O.useMemo(()=>{let v=Lj(h,c);return v==null?null:{location:{pathname:v,search:p,hash:g,state:y,key:S},navigationType:i}},[c,h,p,g,y,S,i]);return b==null?null:O.createElement(ta.Provider,{value:f},O.createElement($f.Provider,{children:n,value:b}))}function _W(e){let{children:t,location:n}=e;return lW(_1(t),n)}new Promise(()=>{});
193function _1(e,t){t===void 0&&(t=[]);let n=[];return O.Children.forEach(e,(r,i)=>{if(!O.isValidElement(r))return;let o=[...t,i];if(r.type===O.Fragment){n.push.apply(n,_1(r.props.children,o));return}r.type!==Li&&Ft(!1),!r.props.index||!r.props.children||Ft(!1);let a={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=_1(r.props.children,o)),n.push(a)}),n}/** 194 * React Router DOM v6.30.3 195 * 196 * Copyright (c) Remix Software Inc. 197 * 198 * This source code is licensed under the MIT license found in the 199 * LICENSE.md file in the root directory of this source tree. 200 * 201 * @license MIT 202 */function k1(){return k1=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},k1.apply(this,arguments)}function kW(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function EW(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function NW(e,t){return e.button===0&&(!t||t==="_self")&&!EW(e)}function E1(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function PW(e,t){let n=E1(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(o=>{n.append(i,o)})}),n}const AW=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],OW="6";try{window.__reactRouterVersion=OW}catch{}const CW="startTransition",GP=ym[CW];function TW(e){let{basename:t,children:n,future:r,window:i}=e,o=O.useRef();o.current==null&&(o.current=PH({window:i,v5Compat:!0}));let a=o.current,[s,c]=O.useState({action:a.action,location:a.location}),{v7_startTransition:f}=r||{},h=O.useCallback(p=>{f&&GP?GP(()=>c(p)):c(p)},[c,f]);return O.useLayoutEffect(()=>a.listen(h),[a,h]),O.useEffect(()=>wW(r),[r]),O.createElement(jW,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}const RW=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",IW=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qi=O.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:c,to:f,preventScrollReset:h,viewTransition:p}=t,g=kW(t,AW),{basename:y}=O.useContext(ta),S,b=!1;if(typeof f=="string"&&IW.test(f)&&(S=f,RW))try{let _=new URL(window.location.href),E=f.startsWith("//")?new URL(_.protocol+f):new URL(f),N=Lj(E.pathname,y);E.origin===_.origin&&N!=null?f=N+E.search+E.hash:b=!0}catch{}let v=nW(f,{relative:i}),w=DW(f,{replace:a,state:s,target:c,preventScrollReset:h,relative:i,viewTransition:p});function j(_){r&&r(_),_.defaultPrevented||w(_)}return O.createElement("a",k1({},g,{href:S||v,onClick:b||o?r:j,ref:n,target:c}))});var KP;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(KP||(KP={}));var XP;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(XP||(XP={}));function DW(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,viewTransition:s}=t===void 0?{}:t,c=zj(),f=na(),h=QL(e,{relative:a});return O.useCallback(p=>{if(NW(p,n)){p.preventDefault();let g=r!==void 0?r:ip(f)===ip(h);c(e,{replace:g,state:i,preventScrollReset:o,relative:a,viewTransition:s})}},[f,c,h,r,i,n,e,o,a,s])}function MW(e){let t=O.useRef(E1(e)),n=O.useRef(!1),r=na(),i=O.useMemo(()=>PW(r.search,n.current?null:t.current),[r.search]),o=zj(),a=O.useCallback((s,c)=>{const f=E1(typeof s=="function"?s(i):s);n.current=!0,o("?"+f,c)},[o,i]);return[i,a]}function r4(e,t){return function(){return e.apply(t,arguments)}}const{toString:LW}=Object.prototype,{getPrototypeOf:Al}=Object,{iterator:Ff,toStringTag:i4}=Symbol,op=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),qu=(e,t)=>
vendor: 13,001 bytes, lines 202-204
202{let n=e;const r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),op(n,t))return!0;n=Al(n)}return!1},$W=(e,t)=>e!=null&&qu(e,t)?e[t]:void 0,Uj=(e=>t=>{const n=LW.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Jr=e=>(e=e.toLowerCase(),t=>Uj(t)===e),vm=e=>t=>typeof t===e,{isArray:is}=Array,Ol=vm("undefined");function oc(e){return e!==null&&!Ol(e)&&e.constructor!==null&&!Ol(e.constructor)&&Yn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const o4=Jr("ArrayBuffer");function FW(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&o4(e.buffer),t}const BW=vm("string"),Yn=vm("function"),a4=vm("number"),ac=e=>e!==null&&typeof e=="object",zW=e=>e===!0||e===!1,Hh=e=>{if(!ac(e))return!1;const t=Al(e);return(t===null||t===Object.prototype||Al(t)===null)&&!qu(e,i4)&&!qu(e,Ff)},UW=e=>{if(!ac(e)||oc(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},qW=Jr("Date"),HW=Jr("File"),WW=e=>!!(e&&typeof e.uri<"u"),VW=e=>e&&typeof e.getParts<"u",GW=Jr("Blob"),KW=Jr("FileList"),XW=e=>ac(e)&&Yn(e.pipe);function YW(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const YP=YW(),JP=typeof YP.FormData<"u"?YP.FormData:void 0,JW=e=>{if(!e)return!1;if(JP&&e instanceof JP)return!0;const t=Al(e);if(!t||t===Object.prototype||!Yn(e.append))return!1;const n=Uj(e);return n==="formdata"||n==="object"&&Yn(e.toString)&&e.toString()==="[object FormData]"},QW=Jr("URLSearchParams"),[ZW,e7,t7,n7]=["ReadableStream","Request","Response","Headers"].map(Jr),r7=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Bf(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),is(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(oc(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(r=0;r<a;r++)s=o[r],t.call(null,e[s],s,e)}}function s4(e,t){if(oc(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const $a=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,l4=e=>!Ol(e)&&e!==$a;function N1(...e){const{caseless:t,skipUndefined:n}=l4(this)&&this||{},r={},i=(o,a)=>{if(a==="__proto__"||a==="constructor"||a==="prototype")return;const s=t&&typeof a=="string"&&s4(r,a)||a,c=op(r,s)?r[s]:void 0;Hh(c)&&Hh(o)?r[s]=N1(c,o):Hh(o)?r[s]=N1({},o):is(o)?r[s]=o.slice():(!n||!Ol(o))&&(r[s]=o)};for(let o=0,a=e.length;o<a;o++){const s=e[o];if(!s||oc(s)||(Bf(s,i),typeof s!="object"||is(s)))continue;const c=Object.getOwnPropertySymbols(s);for(let f=0;f<c.length;f++){const h=c[f];m7.call(s,h)&&i(s[h],h)}}return r}const i7=(e,t,n,{allOwnKeys:r}={})=>(Bf(t,(i,o)=>{n&&Yn(i)?Object.defineProperty(e,o,{__proto__:null,value:r4(i,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{__proto__:null,value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),o7=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),a7=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},s7=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&Al(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},l7=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},c7=e=>{if(!e)return null;if(is(e))return e;let t=e.length;if(!a4(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},u7=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Al(Uint8Array)),f7=(e,t)=>{const r=(e&&e[Ff]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},d7=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},h7=Jr("HTMLFormElement"),p7=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),{propertyIsEnumerable:m7}=Object.prototype,g7=Jr("RegExp"),c4=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Bf(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},y7=e=>{c4(e,(t,n)=>{if(Yn(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(Yn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},v7=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return is(e)?r(e):r(String(e).split(t)),n},x7=()=>{},b7=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function w7(e){return!!(e&&Yn(e.append)&&e[i4]==="FormData"&&e[Ff])}const S7=e=>{const t=new WeakSet,n=r=>{if(ac(r)){if(t.has(r))return;if(oc(r))return r;if(!("toJSON"in r)){t.add(r);const i=is(r)?[]:{};return Bf(r,(o,a)=>{const s=n(o);!Ol(s)&&(i[a]=s)}),t.delete(r),i}}return r};return n(e)},j7=Jr("AsyncFunction"),_7=e=>e&&(ac(e)||Yn(e))&&Yn(e.then)&&Yn(e.catch),u4=((e,t)=>e?setImmediate:t?((n,r)=>($a.addEventListener("message",({source:i,data:o})=>{i===$a&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),$a.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Yn($a.postMessage)),k7=typeof queueMicrotask<"u"?queueMicrotask.bind($a):typeof process<"u"&&process.nextTick||u4,f4=e=>e!=null&&Yn(e[Ff]),E7=e=>e!=null&&qu(e,Ff)&&f4(e),Q={isArray:is,isArrayBuffer:o4,isBuffer:oc,isFormData:JW,isArrayBufferView:FW,isString:BW,isNumber:a4,isBoolean:zW,isObject:ac,isPlainObject:Hh,isEmptyObject:UW,isReadableStream:ZW,isRequest:e7,isResponse:t7,isHeaders:n7,isUndefined:Ol,isDate:qW,isFile:HW,isReactNativeBlob:WW,isReactNative:VW,isBlob:GW,isRegExp:g7,isFunction:Yn,isStream:XW,isURLSearchParams:QW,isTypedArray:u7,isFileList:KW,forEach:Bf,merge:N1,extend:i7,trim:r7,stripBOM:o7,inherits:a7,toFlatObject:s7,kindOf:Uj,kindOfTest:Jr,endsWith:l7,toArray:c7,forEachEntry:f7,matchAll:d7,isHTMLForm:h7,hasOwnProperty:op,hasOwnProp:op,hasOwnInPrototypeChain:qu,getSafeProp:$W,reduceDescriptors:c4,freezeMethods:y7,toObjectSet:v7,toCamelCase:p7,noop:x7,toFiniteNumber:b7,findKey:s4,global:$a,isContextDefined:l4,isSpecCompliantForm:w7,toJSONObject:S7,isAsyncFn:j7,isThenable:_7,setImmediate:u4,asap:k7,isIterable:f4,isSafeIterable:E7},N7=Q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),P7=e=>{const t={};let n,r,i;return e&&e.split(` 203`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&N7[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};function A7(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const O7=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),C7=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function qj(e,t){return Q.isArray(e)?e.map(n=>qj(n,t)):A7(String(e).replace(t,""))}const T7=e=>qj(e,O7),R7=e=>qj(e,C7);function d4(e){const t=Object.create(null);return Q.forEach(e.toJSON(),(n,r)=>{t[r]=R7(n)}),t}const QP=Symbol("internals");function iu(e){return e&&String(e).trim().toLowerCase()}function Wh(e){return e===!1||e==null?e:Q.isArray(e)?e.map(Wh):T7(String(e))}function I7(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const D7=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xv(e,t,n,r,i){if(Q.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!Q.isString(t)){if(Q.isString(r))return t.indexOf(r)!==-1;if(Q.isRegExp(r))return r.test(t)}}function M7(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function L7(e,t){const n=Q.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}let Cn=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,c,f){const h=iu(c);if(!h)return;const p=Q.findKey(i,h);(!p||i[p]===void 0||f===!0||f===void 0&&i[p]!==!1)&&(i[p||c]=Wh(s))}const a=(s,c)=>Q.forEach(s,(f,h)=>o(f,h,c));if(Q.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(Q.isString(t)&&(t=t.trim())&&!D7(t))a(P7(t),n);else if(Q.isObject(t)&&Q.isSafeIterable(t)){let s=Object.create(null),c,f;for(const h of t){if(!Q.isArray(h))throw new TypeError("Object iterator must return a key-value pair");f=h[0],Q.hasOwnProp(s,f)?(c=s[f],s[f]=Q.isArray(c)?[...c,h[1]]:[c,h[1]]):s[f]=h[1]}a(s,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=iu(t),t){const r=Q.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return I7(i);if(Q.isFunction(n))return n.call(this,i,r);if(Q.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=iu(t),t){const r=Q.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||xv(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=iu(a),a){const s=Q.findKey(r,a);s&&(!n||xv(r,r[s],s,n))&&(delete r[s],i=!0)}}return Q.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||xv(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return Q.forEach(this,(i,o)=>{const a=Q.findKey(r,o);if(a){n[a]=Wh(i),delete n[o];return}const s=t?M7(o):String(o).trim();s!==o&&delete n[o],n[s]=Wh(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Q.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&Q.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` 204`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[QP]=this[QP]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=iu(a);r[s]||(L7(i,a),r[s]=!0)}return Q.isArray(t)?t.forEach(o):o(t),this}};Cn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Q.reduceDescriptors(Cn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Q.freezeMethods(Cn);const $7="[REDACTED ****]";function F7(e){if(Q.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(Q.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function B7(e,t){const n=new Set(t.map(o=>String(o).toLowerCase())),r=[],i=o=>{if(o===null||typeof o!="object"||Q.isBuffer(o))return o;if(r.indexOf(o)!==-1)return;o instanceof Cn&&(o=o.toJSON()),r.push(o);let a;if(Q.isArray(o))a=[],o.forEach((s,c)=>{const f=i(s);Q.isUndefined(f)||(a[c]=f)});else{if(!Q.isPlainObject(o)&&F7(o))return r.pop(),o;a=Object.create(null);for(const[s,c]of Object.entries(o)){const f=n.has(s.toLowerCase())?$7:i(c);Q.isUndefined(f)||(a[s]=f)}}return r.pop(),a};return i(e)}let Se=class h4 extends Error{static from(t,n,r,i,o,a){const s=new h4(t.message,n||t.code,r,i,o);return Object.defineProperty(s,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),a&&Object.assign(s,a),s}constructor(t,n,r,i,o){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),i&&(this.request=i),o&&(this.response=o,this.status=o.status)}toJSON(){const t=this.config,n=t&&Q.hasOwnProp(t,"redact")?t.redact:void 0,r=Q.isArray(n)&&n.length>0?B7(t,n):Q.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};Se.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Se.ERR_BAD_OPTION="ERR_BAD_OPTION";Se.ECONNABORTED="ECONNABORTED";Se.ETIMEDOUT="ETIMEDOUT";Se.ECONNREFUSED="ECONNREFUSED";Se.ERR_NETWORK="ERR_NETWORK";Se.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Se.ERR_DEPRECATED="ERR_DEPRECATED";Se.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Se.ERR_BAD_REQUEST="ERR_BAD_REQUEST";
vendor: 4,120 bytes, line 204
204Se.ERR_CANCELED="ERR_CANCELED";Se.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Se.ERR_INVALID_URL="ERR_INVALID_URL";Se.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const z7=null,p4=100;function P1(e){return Q.isPlainObject(e)||Q.isArray(e)}function m4(e){return Q.endsWith(e,"[]")?e.slice(0,-2):e}function bv(e,t,n){return e?e.concat(t).map(function(i,o){return i=m4(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function U7(e){return Q.isArray(e)&&!e.some(P1)}const q7=Q.toFlatObject(Q,{},null,function(t){return/^is[A-Z]/.test(t)});function xm(e,t,n){if(!Q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(j,_){return!Q.isUndefined(_[j])});const r=n.metaTokens,i=n.visitor||S,o=n.dots,a=n.indexes,s=n.Blob||typeof Blob<"u"&&Blob,c=n.maxDepth===void 0?p4:n.maxDepth,f=s&&Q.isSpecCompliantForm(t),h=[];if(!Q.isFunction(i))throw new TypeError("visitor must be a function");function p(w){if(w===null)return"";if(Q.isDate(w))return w.toISOString();if(Q.isBoolean(w))return w.toString();if(!f&&Q.isBlob(w))throw new Se("Blob is not supported. Use a Buffer instead.");if(Q.isArrayBuffer(w)||Q.isTypedArray(w)){if(f&&typeof s=="function")return new s([w]);if(typeof Buffer<"u")return Buffer.from(w);throw new Se("Blob is not supported. Use a Buffer instead.",Se.ERR_NOT_SUPPORT)}return w}function g(w){if(w>c)throw new Se("Object is too deeply nested ("+w+" levels). Max depth: "+c,Se.ERR_FORM_DATA_DEPTH_EXCEEDED)}function y(w,j){if(c===1/0)return JSON.stringify(w);const _=[];return JSON.stringify(w,function(N,P){if(!Q.isObject(P))return P;for(;_.length&&_[_.length-1]!==this;)_.pop();return _.push(P),g(j+_.length-1),P})}function S(w,j,_){let E=w;if(Q.isReactNative(t)&&Q.isReactNativeBlob(w))return t.append(bv(_,j,o),p(w)),!1;if(w&&!_&&typeof w=="object"){if(Q.endsWith(j,"{}"))j=r?j:j.slice(0,-2),w=y(w,1);else if(Q.isArray(w)&&U7(w)||(Q.isFileList(w)||Q.endsWith(j,"[]"))&&(E=Q.toArray(w)))return j=m4(j),E.forEach(function(P,C){!(Q.isUndefined(P)||P===null)&&t.append(a===!0?bv([j],C,o):a===null?j:j+"[]",p(P))}),!1}return P1(w)?!0:(t.append(bv(_,j,o),p(w)),!1)}const b=Object.assign(q7,{defaultVisitor:S,convertValue:p,isVisitable:P1});function v(w,j,_=0){if(!Q.isUndefined(w)){if(g(_),h.indexOf(w)!==-1)throw new Error("Circular reference detected in "+j.join("."));h.push(w),Q.forEach(w,function(N,P){(!(Q.isUndefined(N)||N===null)&&i.call(t,N,Q.isString(P)?P.trim():P,j,b))===!0&&v(N,j?j.concat(P):[P],_+1)}),h.pop()}}if(!Q.isObject(e))throw new TypeError("data must be an object");return v(e),t}function ZP(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function Hj(e,t){this._pairs=[],e&&xm(e,this,t)}const g4=Hj.prototype;g4.append=function(t,n){this._pairs.push([t,n])};g4.toString=function(t){const n=t?r=>t.call(this,r,ZP):ZP;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function H7(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function y4(e,t,n){if(!t)return e;e=e||"";const r=Q.isFunction(n)?{serialize:n}:n,i=Q.getSafeProp(r,"encode")||H7,o=Q.getSafeProp(r,"serialize");let a;if(o?a=o(t,r):a=Q.isURLSearchParams(t)?t.toString():new Hj(t,r).toString(i),a){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class eA{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Q.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Wj={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},W7=typeof URLSearchParams<"u"?URLSearchParams:Hj,V7=typeof FormData<"u"?FormData:null,G7=typeof Blob<"u"?Blob:null,K7={isBrowser:!0,classes:{
vendor: 2,427 bytes, line 204
204URLSearchParams:W7,FormData:V7,Blob:G7},protocols:["http","https","file","blob","url","data"]},Vj=typeof window<"u"&&typeof document<"u",A1=typeof navigator=="object"&&navigator||void 0,X7=Vj&&(!A1||["ReactNative","NativeScript","NS"].indexOf(A1.product)<0),Y7=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",J7=Vj&&window.location.href||"http://localhost",Q7=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vj,hasStandardBrowserEnv:X7,hasStandardBrowserWebWorkerEnv:Y7,navigator:A1,origin:J7},Symbol.toStringTag,{value:"Module"})),vn={...Q7,...K7};function Z7(e,t){return xm(e,new vn.classes.URLSearchParams,{visitor:function(n,r,i,o){return vn.isNode&&Q.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}const tA=p4;function v4(e){if(e>tA)throw new Se("FormData field is too deeply nested ("+e+" levels). Max depth: "+tA,Se.ERR_FORM_DATA_DEPTH_EXCEEDED)}function eV(e){const t=[],n=/\w+|\[(\w*)]/g;let r;for(;(r=n.exec(e))!==null;)v4(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function tV(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function x4(e){function t(n,r,i,o){v4(o);let a=n[o++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=o>=n.length;return a=!a&&Q.isArray(i)?i.length:a,c?(Q.hasOwnProp(i,a)?i[a]=Q.isArray(i[a])?i[a].concat(r):[i[a],r]:i[a]=r,!s):((!Q.hasOwnProp(i,a)||!Q.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&Q.isArray(i[a])&&(i[a]=tV(i[a])),!s)}if(Q.isFormData(e)&&Q.isFunction(e.entries)){const n={};return Q.forEachEntry(e,(r,i)=>{t(eV(r),i,n,0)}),n}return null}const Gs=(e,t)=>e!=null&&Q.hasOwnProp(e,t)?e[t]:void 0;function nV(e,t,n){if(Q.isString(e))try{return(t||JSON.parse)(e),Q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const zf={transitional:Wj,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=Q.isObject(t);if(o&&Q.isHTMLForm(t)&&(t=new FormData(t)),Q.isFormData(t))return i?JSON.stringify(x4(t)):t;if(Q.isArrayBuffer(t)||Q.isBuffer(t)||Q.isStream(t)||Q.isFile(t)||Q.isBlob(t)||Q.isReadableStream(t))return t;if(Q.isArrayBufferView(t))return t.buffer;if(Q.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;
vendor: 19,690 bytes, lines 204-206
204if(o){const c=Gs(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return Z7(t,c).toString();if((s=Q.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=Gs(this,"env"),h=f&&f.FormData;return xm(s?{"files[]":t}:t,h&&new h,c)}}return o||i?(n.setContentType("application/json",!1),nV(t)):t}],transformResponse:[function(t){const n=Gs(this,"transitional")||zf.transitional,r=n&&n.forcedJSONParsing,i=Gs(this,"responseType"),o=i==="json";if(Q.isResponse(t)||Q.isReadableStream(t))return t;if(t&&Q.isString(t)&&(r&&!i||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,Gs(this,"parseReviver"))}catch(c){if(s)throw c.name==="SyntaxError"?Se.from(c,Se.ERR_BAD_RESPONSE,this,null,Gs(this,"response")):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vn.classes.FormData,Blob:vn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Q.forEach(["delete","get","head","post","put","patch","query"],e=>{zf.headers[e]={}});function wv(e,t){const n=this||zf,r=t||n,i=Cn.from(r.headers);let o=r.data;return Q.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function b4(e){return!!(e&&e.__CANCEL__)}let Uf=class extends Se{constructor(t,n,r){super(t??"canceled",Se.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function w4(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Se("Request failed with status code "+n.status,n.status>=400&&n.status<500?Se.ERR_BAD_REQUEST:Se.ERR_BAD_RESPONSE,n.config,n.request,n))}function rV(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function iV(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(c){const f=Date.now(),h=r[o];a||(a=f),n[i]=c,r[i]=f;let p=o,g=0;for(;p!==i;)g+=n[p++],p=p%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),f-a<t)return;const y=h&&f-h;return y?Math.round(g*1e3/y):void 0}}function oV(e,t){let n=0,r=1e3/t,i,o;const a=(f,h=Date.now())=>{n=h,i=null,o&&(clearTimeout(o),o=null),e(...f)};return[(...f)=>{const h=Date.now(),p=h-n;p>=r?a(f,h):(i=f,o||(o=setTimeout(()=>{o=null,a(i)},r-p)))},()=>i&&a(i)]}const ap=(e,t,n=3)=>{let r=0;const i=iV(50,250);return oV(o=>{if(!o||typeof o.loaded!="number")return;const a=o.loaded,s=o.lengthComputable?o.total:void 0,c=s!=null?Math.min(a,s):a,f=Math.max(0,c-r),h=i(f);r=Math.max(r,c);const p={loaded:c,total:s,progress:s?c/s:void 0,bytes:f,rate:h||void 0,estimated:h&&s?(s-c)/h:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(p)},n)},nA=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},rA=e=>(...t)=>Q.asap(()=>e(...t)),aV=vn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,vn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(vn.origin),vn.navigator&&/(msie|trident)/i.test(vn.navigator.userAgent)):()=>!0,sV=vn.hasStandardBrowserEnv?{write(e,t,n,r,i,o,a){if(typeof document>"u")return;const s=[`${e}=${encodeURIComponent(t)}`];Q.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),Q.isString(r)&&s.push(`path=${r}`),Q.isString(i)&&s.push(`domain=${i}`),o===!0&&s.push("secure"),Q.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),i=r.indexOf("=");if(i!==-1&&r.slice(0,i)===e)try{return decodeURIComponent(r.slice(i+1))}catch{return r.slice(i+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function lV(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cV(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const uV=/^https?:(?!\/\/)/i,fV=/[\t\n\r]/g;function dV(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function hV(e){return dV(e).replace(fV,"")}function iA(e,t){if(typeof e=="string"&&uV.test(hV(e)))throw new Se('Invalid URL: missing "//" after protocol',Se.ERR_INVALID_URL,t)}function S4(e,t,n,r){iA(t,r);let i=!lV(t);return e&&(i||n===!1)?(iA(e,r),cV(e,t)):t}const oA=e=>e instanceof Cn?{...e}:e;function os(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(h,p,g,y){return Q.isPlainObject(h)&&Q.isPlainObject(p)?Q.merge.call({caseless:y},h,p):Q.isPlainObject(p)?Q.merge({},p):Q.isArray(p)?p.slice():p}function i(h,p,g,y){if(Q.isUndefined(p)){if(!Q.isUndefined(h))return r(void 0,h,g,y)}else return r(h,p,g,y)}function o(h,p){if(!Q.isUndefined(p))return r(void 0,p)}function a(h,p){if(Q.isUndefined(p)){if(!Q.isUndefined(h))return r(void 0,h)}else return r(void 0,p)}function s(h){const p=Q.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!Q.isUndefined(p))if(Q.isPlainObject(p)){if(Q.hasOwnProp(p,h))return p[h]}else return;const g=Q.hasOwnProp(e,"transitional")?e.transitional:void 0;if(Q.isPlainObject(g)&&Q.hasOwnProp(g,h))return g[h]}function c(h,p,g){if(Q.hasOwnProp(t,g))return r(h,p);if(Q.hasOwnProp(e,g))return r(void 0,h)}const f={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:c,headers:(h,p,g)=>i(oA(h),oA(p),g,!0)};return Q.forEach(Object.keys({...e,...t}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;const g=Q.hasOwnProp(f,p)?f[p]:i,y=Q.hasOwnProp(e,p)?e[p]:void 0,S=Q.hasOwnProp(t,p)?t[p]:void 0,b=g(y,S,p);Q.isUndefined(b)&&g!==c||(n[p]=b)}),Q.hasOwnProp(t,"validateStatus")&&Q.isUndefined(t.validateStatus)&&s("validateStatusUndefinedResolves")===!1&&(Q.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const pV=["content-type","content-length"];function mV(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,i])=>{pV.includes(r.toLowerCase())&&e.set(r,i)})}const gV=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function j4(e){const t=os({},e),n=g=>Q.hasOwnProp(t,g)?t[g]:void 0,r=n("data");let i=n("withXSRFToken");const o=n("xsrfHeaderName"),a=n("xsrfCookieName");let s=n("headers");const c=n("auth"),f=n("baseURL"),h=n("allowAbsoluteUrls"),p=n("url");if(t.headers=s=Cn.from(s),t.url=y4(S4(f,p,h,t),n("params"),n("paramsSerializer")),c){const g=Q.getSafeProp(c,"username")||"",y=Q.getSafeProp(c,"password")||"";try{s.set("Authorization","Basic "+btoa(g+":"+(y?gV(y):"")))}catch(S){throw Se.from(S,Se.ERR_BAD_OPTION_VALUE,e)}}if(Q.isFormData(r)&&(vn.hasStandardBrowserEnv||vn.hasStandardBrowserWebWorkerEnv||Q.isReactNative(r)?s.setContentType(void 0):Q.isFunction(r.getHeaders)&&mV(s,r.getHeaders(),n("formDataHeaderPolicy"))),vn.hasStandardBrowserEnv&&(Q.isFunction(i)&&(i=i(t)),i===!0||i==null&&aV(t.url))){const y=o&&a&&sV.read(a);y&&s.set(o,y)}return t}const yV=typeof XMLHttpRequest<"u",vV=yV&&function(e){return new Promise(function(n,r){const i=j4(e);let o=i.data;const a=Cn.from(i.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:f}=i,h,p,g,y,S;function b(){y&&y(),S&&S(),i.cancelToken&&i.cancelToken.unsubscribe(h),i.signal&&i.signal.removeEventListener("abort",h)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function w(){if(!v)return;const _=Cn.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),N={data:!s||s==="text"||s==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:_,config:e,request:v};w4(function(C){n(C),b()},function(C){r(C),b()},N),v=null}"onloadend"in v?v.onloadend=w:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.startsWith("file:"))||setTimeout(w)},v.onabort=function(){v&&(r(new Se("Request aborted",Se.ECONNABORTED,e,v)),b(),v=null)},v.onerror=function(E){const N=E&&E.message?E.message:"Network Error",P=new Se(N,Se.ERR_NETWORK,e,v);P.event=E||null,r(P),b(),v=null},v.ontimeout=function(){let E=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const N=i.transitional||Wj;i.timeoutErrorMessage&&(E=i.timeoutErrorMessage),r(new Se(E,N.clarifyTimeoutError?Se.ETIMEDOUT:Se.ECONNABORTED,e,v)),b(),v=null},o===void 0&&a.setContentType(null),"setRequestHeader"in v&&Q.forEach(d4(a),function(E,N){v.setRequestHeader(N,E)}),Q.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),s&&s!=="json"&&(v.responseType=i.responseType),f&&([g,S]=ap(f,!0),v.addEventListener("progress",g)),c&&v.upload&&([p,y]=ap(c),v.upload.addEventListener("progress",p),v.upload.addEventListener("loadend",y)),(i.cancelToken||i.signal)&&(h=_=>{v&&(r(!_||_.type?new Uf(null,e,v):_),v.abort(),b(),v=null)},i.cancelToken&&i.cancelToken.subscribe(h),i.signal&&(i.signal.aborted?h():i.signal.addEventListener("abort",h)));const j=rV(i.url);if(j&&!vn.protocols.includes(j)){r(new Se("Unsupported protocol "+j+":",Se.ERR_BAD_REQUEST,e)),b();return}v.send(o||null)})},xV=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const i=function(c){if(!r){r=!0,a();const f=c instanceof Error?c:this.reason;n.abort(f instanceof Se?f:new Uf(f instanceof Error?f.message:f))}};let o=t&&setTimeout(()=>{o=null,i(new Se(`timeout of ${t}ms exceeded`,Se.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i,{once:!0}));const{signal:s}=n;return s.unsubscribe=()=>Q.asap(a),s},bV=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},wV=async function*(e,t){for await(const n of SV(e))yield*bV(n,t)},SV=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},aA=(e,t,n,r)=>{const i=wV(e,t);let o=0,a,s=c=>{a||(a=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:f,value:h}=await i.next();if(f){s(),c.close();return}let p=h.byteLength;if(n){let g=o+=p;n(g)}c.enqueue(new Uint8Array(h))}catch(f){throw s(f),f}},cancel(c){return s(c),i.return()}},{highWaterMark:2})},sp=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,jV=(e,t,n)=>t+2<n&&sp(e.charCodeAt(t+1))&&sp(e.charCodeAt(t+2));function _V(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let a=r.length;const s=r.length;for(let y=0;y<s;y++)if(r.charCodeAt(y)===37&&y+2<s){const S=r.charCodeAt(y+1),b=r.charCodeAt(y+2);sp(S)&&sp(b)&&(a-=2,y+=2)}let c=0,f=s-1;const h=y=>y>=2&&r.charCodeAt(y-2)===37&&r.charCodeAt(y-1)===51&&(r.charCodeAt(y)===68||r.charCodeAt(y)===100);f>=0&&(r.charCodeAt(f)===61?(c++,f--):h(f)&&(c++,f-=3)),c===1&&f>=0&&(r.charCodeAt(f)===61||h(f))&&c++;const g=Math.floor(a/4)*3-(c||0);return g>0?g:0}let o=0;for(let a=0,s=r.length;a<s;a++){const c=r.charCodeAt(a);if(c===37&&jV(r,a,s))o+=1,a+=2;else if(c<128)o+=1;else if(c<2048)o+=2;else if(c>=55296&&c<=56319&&a+1<s){const f=r.charCodeAt(a+1);f>=56320&&f<=57343?(o+=4,a++):o+=3}else o+=3}return o}const Gj="1.18.1",sA=64*1024,{isFunction:mh}=Q,kV=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),lA=e=>{if(!Q.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},cA=(e,...t)=>{try{return!!e(...t)}catch{return!1}},EV=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},NV=e=>{const t=Q.global!==void 0&&Q.global!==null?Q.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=Q.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:i,Request:o,Response:a}=e,s=i?mh(i):typeof fetch=="function",c=mh(o),f=mh(a);if(!s)return!1;const h=s&&mh(n),p=s&&(typeof r=="function"?(w=>j=>w.encode(j))(new r):async w=>new Uint8Array(await new o(w).arrayBuffer())),g=c&&h&&cA(()=>{let w=!1;const j=new o(vn.origin,{body:new n,method:"POST",get duplex(){return w=!0,"half"}}),_=j.headers.has("Content-Type");return j.body!=null&&j.body.cancel(),w&&!_}),y=f&&h&&cA(()=>Q.isReadableStream(new a("").body)),S={stream:y&&(w=>w.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(w=>{!S[w]&&(S[w]=(j,_)=>{let E=j&&j[w];if(E)return E.call(j);throw new Se(`Response type '${w}' is not supported`,Se.ERR_NOT_SUPPORT,_)})});const b=async w=>{if(w==null)return 0;if(Q.isBlob(w))return w.size;if(Q.isSpecCompliantForm(w))return(await new o(vn.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(Q.isArrayBufferView(w)||Q.isArrayBuffer(w))return w.byteLength;if(Q.isURLSearchParams(w)&&(w=w+""),Q.isString(w))return(await p(w)).byteLength},v=async(w,j)=>{const _=Q.toFiniteNumber(w.getContentLength());return _??b(j)};return async w=>{let{url:j,method:_,data:E,signal:N,cancelToken:P,timeout:C,onDownloadProgress:T,onUploadProgress:L,responseType:D,headers:M,withCredentials:$="same-origin",fetchOptions:H,maxContentLength:U,maxBodyLength:z}=j4(w);const W=Q.isNumber(U)&&U>-1,Z=Q.isNumber(z)&&z>-1,V=le=>Q.hasOwnProp(w,le)?w[le]:void 0;let ee=i||fetch;D=D?(D+"").toLowerCase():"text";let R=xV([N,P&&P.toAbortSignal()],C),B=null;const X=R&&R.unsubscribe&&(()=>{R.unsubscribe()});let F,he=null;const ye=()=>new Se("Request body larger than maxBodyLength limit",Se.ERR_BAD_REQUEST,w,B);try{let le;const ce=V("auth");if(ce){const je=Q.getSafeProp(ce,"username")||"",Ve=Q.getSafeProp(ce,"password")||"";le={username:je,password:Ve}}if(EV(j)){const je=new URL(j,vn.origin);if(!le&&(je.username||je.password)){const Ve=lA(je.username),Pt=lA(je.password);le={username:Ve,password:Pt}}(je.username||je.password)&&(je.username="",je.password="",j=je.href)}if(le&&(M.delete("authorization"),M.set("Authorization","Basic "+btoa(kV((le.username||"")+":"+(le.password||""))))),W&&typeof j=="string"&&j.startsWith("data:")&&_V(j)>U)throw new Se("maxContentLength size of "+U+" exceeded",Se.ERR_BAD_RESPONSE,w,B);if(Z&&_!=="get"&&_!=="head"){const je=await b(E);if(typeof je=="number"&&isFinite(je)&&(F=je,je>z))throw ye()}const ve=Z&&(Q.isReadableStream(E)||Q.isStream(E)),oe=(je,Ve,Pt)=>aA(je,sA,vt=>{if(Z&&vt>z)throw he=ye();Ve&&Ve(vt)},Pt);if(g&&_!=="get"&&_!=="head"&&(L||ve)){if(F=F??await v(M,E),F!==0||ve){let je=new o(j,{method:"POST",body:E,duplex:"half"}),Ve;if(Q.isFormData(E)&&(Ve=je.headers.get("content-type"))&&M.setContentType(Ve),je.body){const[Pt,vt]=L&&nA(F,ap(rA(L)))||[];E=oe(je.body,Pt,vt)}}}else if(ve&&!c&&h&&_!=="get"&&_!=="head")E=oe(E);else if(ve&&c&&!g&&_!=="get"&&_!=="head")throw new Se("Stream request bodies are not supported by the current fetch implementation",Se.ERR_NOT_SUPPORT,w,B);Q.isString($)||($=$?"include":"omit");const pe=c&&"credentials"in o.prototype;if(Q.isFormData(E)){const je=M.getContentType();je&&/^multipart\/form-data/i.test(je)&&!/boundary=/i.test(je)&&M.delete("content-type")}M.set("User-Agent","axios/"+Gj,!1);const xe={...H,signal:R,method:_.toUpperCase(),headers:d4(M.normalize()),body:E,duplex:"half",credentials:pe?$:void 0};B=c&&new o(j,xe);let ie=await(c?ee(B,H):ee(j,xe));const $e=Cn.from(ie.headers);if(W){const je=Q.toFiniteNumber($e.getContentLength());if(je!=null&&je>U)throw new Se("maxContentLength size of "+U+" exceeded",Se.ERR_BAD_RESPONSE,w,B)}const Re=y&&(D==="stream"||D==="response");if(y&&ie.body&&(T||W||Re&&X)){const je={};["status","statusText","headers"].forEach(Kt=>{je[Kt]=ie[Kt]});const Ve=Q.toFiniteNumber($e.getContentLength()),[Pt,vt]=T&&nA(Ve,ap(rA(T),!0))||[];let wn=0;const nn=Kt=>{if(W&&(wn=Kt,wn>U))throw new Se("maxContentLength size of "+U+" exceeded",Se.ERR_BAD_RESPONSE,w,B);Pt&&Pt(Kt)};ie=new a(aA(ie.body,sA,nn,()=>{vt&&vt(),X&&X()}),je)}D=D||"text";let We=await S[Q.findKey(S,D)||"text"](ie,w);if(W&&!y&&!Re){let je;if(We!=null&&(typeof We.byteLength=="number"?je=We.byteLength:typeof We.size=="number"?je=We.size:typeof We=="string"&&(je=typeof r=="function"?new r().encode(We).byteLength:We.length)),typeof je=="number"&&je>U)throw new Se("maxContentLength size of "+U+" exceeded",Se.ERR_BAD_RESPONSE,w,B)}return!Re&&X&&X(),await new Promise((je,Ve)=>{w4(je,Ve,{data:We,headers:Cn.from(ie.headers),status:ie.status,statusText:ie.statusText,config:w,request:B})})}catch(le){if(X&&X(),R&&R.aborted&&R.reason instanceof Se){const ce=R.reason;throw ce.config=w,B&&(ce.request=B),le!==ce&&Object.defineProperty(ce,"cause",{__proto__:null,value:le,writable:!0,enumerable:!1,configurable:!0}),ce}if(he)throw B&&!he.request&&(he.request=B),he;if(le instanceof Se)throw B&&!le.request&&(le.request=B),le;if(le&&le.name==="TypeError"&&/Load failed|fetch/i.test(le.message)){const ce=new Se("Network Error",Se.ERR_NETWORK,w,B,le&&le.response);throw Object.defineProperty(ce,"cause",{__proto__:null,value:le.cause||le,writable:!0,enumerable:!1,configurable:!0}),ce}throw Se.from(le,le&&le.code,w,B,le&&le.response)}}},PV=new Map,_4=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,o=[r,i,n];let a=o.length,s=a,c,f,h=PV;for(;s--;)c=o[s],f=h.get(c),f===void 0&&h.set(c,f=s?new Map:NV(t)),h=f;return f};_4();const Kj={http:z7,xhr:vV,fetch:{get:_4}};Q.forEach(Kj,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const uA=e=>`- ${e}`,AV=e=>Q.isFunction(e)||e===null||e===!1;function OV(e,t){e=Q.isArray(e)?e:[e];const{length:n}=e;let r,i;const o={};for(let a=0;a<n;a++){r=e[a];let s;if(i=r,!AV(r)&&(i=Kj[(s=String(r)).toLowerCase()],i===void 0))throw new Se(`Unknown adapter '${s}'`);if(i&&(Q.isFunction(i)||(i=i.get(t))))break;o[s||"#"+a]=i}if(!i){const a=Object.entries(o).map(([c,f])=>`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build"));let s=n?a.length>1?`since : 205`+a.map(uA).join(` 206`):" "+uA(a[0]):"as no adapter specified";throw new Se("There is no suitable adapter to dispatch the request "+s,Se.ERR_NOT_SUPPORT)}return i}const k4={getAdapter:OV,adapters:Kj};function Sv(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Uf(null,e)}function fA(e){return Sv(e),e.headers=Cn.from(e.headers),e.data=wv.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),k4.getAdapter(e.adapter||zf.adapter,e)(e).then(function(r){Sv(e),e.response=r;try{r.data=wv.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=Cn.from(r.headers),r},function(r){if(!b4(r)&&(Sv(e),r&&r.response)){e.response=r.response;try{r.response.data=wv.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=Cn.from(r.response.headers)}return Promise.reject(r)})}const bm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{bm[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const dA={};bm.transitional=function(t,n,r){function i(o,a){return"[Axios v"+Gj+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,s)=>{if(t===!1)throw new Se(i(a," has been removed"+(n?" in "+n:"")),Se.ERR_DEPRECATED);
vendor: 4,181 bytes, lines 206-210
206return n&&!dA[a]&&(dA[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};bm.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function CV(e,t,n){if(typeof e!="object"||e===null)throw new Se("options must be an object",Se.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(a){const s=e[o],c=s===void 0||a(s,o,e);if(c!==!0)throw new Se("option "+o+" must be "+c,Se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Se("Unknown option "+o,Se.ERR_BAD_OPTION)}}const Vh={assertOptions:CV,validators:bm},En=Vh.validators;let Za=class{constructor(t){this.defaults=t||{},this.interceptors={request:new eA,response:new eA}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=(()=>{if(!i.stack)return"";const a=i.stack.indexOf(` 207`);return a===-1?"":i.stack.slice(a+1)})();try{if(!r.stack)r.stack=o;else if(o){const a=o.indexOf(` 208`),s=a===-1?-1:o.indexOf(` 209`,a+1),c=s===-1?"":o.slice(s+1);String(r.stack).endsWith(c)||(r.stack+=` 210`+o)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=os(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Vh.assertOptions(r,{silentJSONParsing:En.transitional(En.boolean),forcedJSONParsing:En.transitional(En.boolean),clarifyTimeoutError:En.transitional(En.boolean),legacyInterceptorReqResOrdering:En.transitional(En.boolean),advertiseZstdAcceptEncoding:En.transitional(En.boolean),validateStatusUndefinedResolves:En.transitional(En.boolean)},!1),i!=null&&(Q.isFunction(i)?n.paramsSerializer={serialize:i}:Vh.assertOptions(i,{encode:En.function,serialize:En.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Vh.assertOptions(n,{baseUrl:En.spelling("baseURL"),withXsrfToken:En.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&Q.merge(o.common,o[n.method]);o&&Q.forEach(["delete","get","head","post","put","patch","query","common"],S=>{delete o[S]}),n.headers=Cn.concat(a,o);const s=[];let c=!0;this.interceptors.request.forEach(function(b){if(typeof b.runWhen=="function"&&b.runWhen(n)===!1)return;c=c&&b.synchronous;const v=n.transitional||Wj;v&&v.legacyInterceptorReqResOrdering?s.unshift(b.fulfilled,b.rejected):s.push(b.fulfilled,b.rejected)});const f=[];this.interceptors.response.forEach(function(b){f.push(b.fulfilled,b.rejected)});let h,p=0,g;if(!c){const S=[fA.bind(this),void 0];for(S.unshift(...s),S.push(...f),g=S.length,h=Promise.resolve(n);p<g;)h=h.then(S[p++],S[p++]);return h}g=s.length;let y=n;for(;p<g;){const S=s[p++],b=s[p++];try{y=S(y)}catch(v){b.call(this,v);break}}try{h=fA.call(this,y)}catch(S){return Promise.reject(S)}for(p=0,g=f.length;p<g;)h=h.then(f[p++],f[p++]);return h}getUri(t){t=os(this.defaults,t);const n=S4(t.baseURL,t.url,t.allowAbsoluteUrls,t);return y4(n,t.params,t.paramsSerializer)}};Q.forEach(["delete","get","head","options"],function(t){Za.prototype[t]=function(n,r){return this.request(os(r||{},{method:t,url:n,data:r&&Q.hasOwnProp(r,"data")?r.data:void 0}))}});Q.forEach(["post","put","patch","query"],function(t){function n(r){return function(o,a,s){return this.request(os(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}Za.prototype[t]=n(),t!=="query"&&(Za.prototype[t+"Form"]=n(!0))});let TV=class E4{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new Uf(o,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
210subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new E4(function(i){t=i}),cancel:t}}};function RV(e){return function(n){return e.apply(null,n)}}function IV(e){return Q.isObject(e)&&e.isAxiosError===!0}const O1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(O1).forEach(([e,t])=>{O1[t]=e});function N4(e){const t=new Za(e),n=r4(Za.prototype.request,t);return Q.extend(n,Za.prototype,t,{allOwnKeys:!0}),Q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return N4(os(e,i))},n}const Bt=N4(zf);Bt.Axios=Za;Bt.CanceledError=Uf;Bt.CancelToken=TV;Bt.isCancel=b4;Bt.VERSION=Gj;Bt.toFormData=xm;Bt.AxiosError=Se;Bt.Cancel=Bt.CanceledError;Bt.all=function(t){return Promise.all(t)};Bt.spread=RV;Bt.isAxiosError=IV;Bt.mergeConfig=os;Bt.AxiosHeaders=Cn;Bt.formToJSON=e=>x4(Q.isHTMLForm(e)?new FormData(e):e);Bt.getAdapter=k4.getAdapter;Bt.HttpStatusCode=O1;Bt.default=Bt;const{Axios:Pwe,AxiosError:Awe,CanceledError:Owe,isCancel:Cwe,CancelToken:Twe,VERSION:Rwe,all:Iwe,Cancel:Dwe,isAxiosError:Mwe,spread:Lwe,toFormData:$we,AxiosHeaders:Fwe,HttpStatusCode:Bwe,formToJSON:zwe,getAdapter:Uwe,mergeConfig:qwe,create:Hwe}=Bt,P4=typeof window>"u",hA=!P4&&window.self!==window.top,DV=!P4&&typeof document>"u",A4=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),mn=[];for(let e=0;e<256;++e)mn.push((e+256).toString(16).slice(1));function MV(e,t=0){return(mn[e[t+0]]+mn[e[t+1]]+mn[e[t+2]]+mn[e[t+3]]+"-"+mn[e[t+4]]+mn[e[t+5]]+"-"+mn[e[t+6]]+mn[e[t+7]]+"-"+mn[e[t+8]]+mn[e[t+9]]+"-"+mn[e[t+10]]+mn[e[t+11]]+mn[e[t+12]]+mn[e[t+13]]+mn[e[t+14]]+mn[e[t+15]]).toLowerCase()}let jv;const LV=new Uint8Array(16);function $V(){if(!jv){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");jv=crypto.getRandomValues.bind(crypto)}return jv(LV)}const FV=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),pA={randomUUID:FV};function BV(e,t,n){var i;e=e||{};const r=e.random??((i=e.rng)==null?void 0:i.call(e))??$V();if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=r[6]&15|64,r[8]=r[8]&63|128,MV(r)}function zV(e,t,n){return pA.randomUUID&&!e?pA.randomUUID():BV(e)}const ou=typeof window<"u"?window:{base44SharedInstances:{}};function UV(e,t){return ou.base44SharedInstances||(ou.base44SharedInstances={}),ou.base44SharedInstances[e]||(ou.base44SharedInstances[e]={instance:t()}),ou.base44SharedInstances[e].instance}const qV="__user_heartbeat_event__",HV="__initialization_event__",WV="__session_duration_event__",mA="analytics-enable",gA="base44_analytics_session_id",VV={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},GV="analytics",ft=UV(GV,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,fallbackSessionId:null,config:{...VV,...t9()}})),KV=({axiosClient:e,serverUrl:t,appId:n,userAuthModule:r,enabled:i})=>{var o;const{maxQueueSize:a,throttleTime:s,batchSize:c}=ft.config;if(!i||!(!((o=ft.config)===null||o===void 0)&&o.enabled)||DV)return{track:()=>{},cleanup:()=>{}};let f;const h=`${t}/api/apps/${n}/analytics/track/batch`,p=async E=>{await e.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:E}})},g=E=>{try{const N=JSON.stringify({events:E}),P=new Blob([N],{type:"application/json"});return typeof navigator>"u"||N.length>6e4||!navigator.sendBeacon(h,P)}catch{return!1}},y=async(E,N={})=>
210{if(E.length===0)return;const P=await e9(r),C=E.map(ZV(P));try{(!N.isBeacon||!g(C))&&await p(C)}catch{}},S=()=>{vA(y,{throttleTime:s,batchSize:c})},b=E=>{if(ft.requestsQueue.length>=a)return;const N=QV();ft.requestsQueue.push({...E,...N}),S()},v=()=>{vA(y,{throttleTime:s,batchSize:c}),f=xA(b),YV()},w=()=>{yA(),f==null||f(),JV(b);const E=ft.requestsQueue.splice(0);y(E,{isBeacon:!0})},j=()=>{typeof window>"u"||(document.visibilityState==="hidden"?w():document.visibilityState==="visible"&&v())},_=()=>{yA(),f==null||f(),typeof window<"u"&&window.removeEventListener("visibilitychange",j)};return S(),f=xA(b),XV(b),typeof window<"u"&&window.addEventListener("visibilitychange",j),{track:b,cleanup:_}};function yA(){ft.isProcessing=!1}async function vA(e,t){if(ft.isProcessing)return;ft.isProcessing=!0;const{throttleTime:n=1e3,batchSize:r=30}=t??{};for(;ft.isProcessing&&ft.requestsQueue.length>0;){const i=ft.requestsQueue.splice(0,r);i.length&&await e(i),await new Promise(o=>setTimeout(o,n))}ft.isProcessing=!1}function xA(e){var t;if(typeof window>"u"||ft.isHeartBeatProcessing||((t=ft.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};ft.isHeartBeatProcessing=!0;const n=setInterval(()=>{e({eventName:qV})},ft.config.heartBeatInterval);return()=>{clearInterval(n),ft.isHeartBeatProcessing=!1}}function XV(e){typeof window>"u"||ft.wasInitializationTracked||(ft.wasInitializationTracked=!0,e({eventName:HV,properties:{referrer:document==null?void 0:document.referrer}}))}function YV(){typeof window>"u"||ft.sessionStartTime!==null||(ft.sessionStartTime=new Date().toISOString())}function JV(e){if(typeof window>"u"||ft.sessionStartTime===null)return;const t=new Date().getTime()-new Date(ft.sessionStartTime).getTime();ft.sessionStartTime=null,e({eventName:WV,properties:{sessionDuration:t}})}function QV(){var e,t;return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"&&(t=(e=window.location)===null||e===void 0?void 0:e.pathname)!==null&&t!==void 0?t:null}}function ZV(e){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...e})}let wu=null;function bA(){ft.sessionContext=null,wu=null}async function e9(e){if(!ft.sessionContext){if(!e.hasToken())return{user_id:null,session_id:lp()};if(!wu){const r=lp();wu=e.me().then(i=>({user_id:i.id,session_id:r})).catch(()=>({user_id:null,session_id:r}))}const t=wu,n=await t;return wu===t&&(ft.sessionContext=n),n}return ft.sessionContext}function t9(){if(typeof window>"u"||!window.location)return;const t=new URLSearchParams(window.location.search).get(mA);if(t==null||!t.length)return;const n=new URLSearchParams(window.location.search);n.delete(mA);const r=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",r),{enabled:t==="true"}}function wA(){var e;return(e=ft.fallbackSessionId)!==null&&e!==void 0?e:ft.fallbackSessionId=A4()}function lp(){if(typeof window>"u")return wA();try{const e=localStorage.getItem(gA);if(!e){const t=A4();return localStorage.setItem(gA,t),t}return e}catch{return wA()}}class n9 extends Error{constructor(t,n,r,i,o){super(t),this.name="Base44Error",this.status=n,this.code=r,this.data=i,this.originalError=o}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function nl({baseURL:e,headers:t={},token:n,interceptResponses:r=!0,onError:i}){const o=Bt.create({baseURL:e,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return n&&(o.defaults.headers.common.Authorization=`Bearer ${n}`),o.interceptors.request.use(a=>{typeof window<"u"&&(window.location&&a.headers.set("X-Origin-URL",window.location.href),a.headers.get("Authorization")||a.headers.set("X-Base44-Anonymous-Id",lp()));const s=zV();if(a.requestId=s,hA)try{window.parent.postMessage({type:"api-request-start",requestId:s,data:{url:e+a.url,method:a.method,body:a.data instanceof FormData?"[FormData object]":a.data}},"*")}catch{}return a}),r&&o.interceptors.response.use(a=>{var s;const c=(s=a.config)===null||s===void 0?void 0:s.requestId;try{hA&&c&&window.parent.postMessage({type:"api-request-end",requestId:c,data:{statusCode:a.status,response:a.data}},"*")}catch{}return a.data},a=>{var s,c,f,h,p,g,y,S,b,v,w,j;const _=(s=a.response)===null||s===void 0?void 0:s.data,E=((c=_==null?void 0:_.error)===null||c===void 0?void 0:c.message)||(_==null?void 0:_.message)||(_==null?void 0:_.detail)||a.message,N=new n9(E,(f=a.response)===null||f===void 0?void 0:f.status,(v=(g=(p=(h=_==null?void 0:_.error)===null||h===void 0?void 0:h.code)!==null&&p!==void 0?p:_==null?void 0:_.code)!==null&&g!==void 0?g:(b=(S=(y=a.response)===null||y===void 0?void 0:y.headers)===null||S===void 0?void 0:S.get)===null||b===void 0?void 0:b.call(S,"x-base44-connector-error"))!==null&&v!==void 0?v:(j=(w=a.response)===null||w===void 0?void 0:w.headers)===null||j===void 0?void 0:j["x-base44-connector-error"],_,a);return i==null||i(N),Promise.reject(N)}),o}function SA(e){const{axios:t,appId:n,getSocket:r}=e;return new Proxy({},{get(i,o){if(!(typeof o!="string"||o==="then"||o.startsWith("_")))return o9(t,n,o,r)}})}function r9(e){var t;try{const n=JSON.parse(e);return{type:n.type,data:n.data,id:n.id||((t=n.data)===null||t===void 0?void 0:t.id),timestamp:n.timestamp||new Date().toISOString()}}catch(n){return console.warn("[Base44 SDK] Failed to parse realtime message:",n),null}}const i9=100;function jA(e){return typeof e=="object"&&e!==null}function o9(e,t,n,r){const i=`/apps/${t}/entities/${n}`,o=c=>Array.isArray(c)?c.join(","):c,a=(c,f,h,p,g)=>{const y={};return g&&(y.q=JSON.stringify(g)),c&&(y.sort=c),f&&(y.limit=f),h&&(y.skip=h),p&&(y.fields=o(p)),e.get(i,{params:y})},s=(c,f)=>{const h={};return f&&(h.q=JSON.stringify(f)),h.limit=c.limit||i9,c.cursor&&(h.cursor=c.cursor),"distinct"in c?h.distinct=c.distinct:(c.sort&&(h.sort=c.sort),c.fields&&(h.fields=o(c.fields))),e.get(`${i}/v2/list`,{params:h})};return{async list(...c){const[f,h,p,g]=c;return jA(f)?s(f):a(f,h,p,g)},async filter(c,...f){const[h,p,g,y]=f;return jA(h)?s(h,c):a(h,p,g,y,c)},async get(c){return e.get(`${i}/${c}`)},async create(c){return e.post(i,c)},async update(c,f){return e.put(`${i}/${c}`,f)},async delete(c){return e.delete(`${i}/${c}`)},async deleteMany(c){return e.delete(i,{data:c})},async bulkCreate(c){return e.post(`${i}/bulk`,c)},async updateMany(c,f){return e.patch(`${i}/update-many`,{query:c,data:f})},async count(c){const f={};return c&&(f.q=JSON.stringify(c)),(await e.get(`${i}/count`,{params:f})).count},async aggregate(c){return e.post(`${i}
210/aggregate`,c)},async upsert(c,f){return e.post(`${i}/upsert`,{records:c,key:f.key})},async bulkUpdate(c){return e.put(`${i}/bulk`,c)},async importEntities(c){const f=new FormData;return f.append("file",c,c.name),e.post(`${i}/import`,f,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(c){const f=`entities:${t}:${n}`;return r().subscribeToRoom(f,{update_model:g=>{var y;const S=r9(g.data);if(S){S.type!=="delete"&&(!((y=S.data)===null||y===void 0)&&y._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${n}#${S.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${n}.get("${S.id}")\` to fetch the full record.`);try{c(S)}catch(b){console.error("[Base44 SDK] Subscription callback error:",b)}}}})}}}function a9(e,t){return{async call(n,r,i){if(!(n!=null&&n.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(r!=null&&r.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:o,queryParams:a,...s}=i??{},c={...s,...o&&{path_params:o},...a&&{query_params:a}};return await e.post(`/apps/${t}/integrations/custom/${n}/${r}`,c)}}}function _A(e,t){const n=a9(e,t);return new Proxy({},{get(r,i){if(!(typeof i!="string"||i==="then"||i.startsWith("_")))return i==="custom"?n:new Proxy({},{get(o,a){if(!(typeof a!="string"||a==="then"||a.startsWith("_")))return async s=>{if(typeof s=="string")throw new Error(`Integration ${a} must receive an object with named parameters, received: ${s}`);let c,f;return s instanceof FormData||s&&Object.values(s).some(h=>h instanceof File)?(c=new FormData,Object.keys(s).forEach(h=>{s[h]instanceof File?c.append(h,s[h],s[h].name):typeof s[h]=="object"&&s[h]!==null?c.append(h,JSON.stringify(s[h])):c.append(h,s[h])}),f="multipart/form-data"):(c=s,f="application/json"),i==="Core"?e.post(`/apps/${t}/integration-endpoints/Core/${a}`,c||s,{headers:{"Content-Type":f}}):e.post(`/apps/${t}/integration-endpoints/installable/${i}/integration-endpoints/${a}`,c||s,{headers:{"Content-Type":f}})}}})}})}function s9(){return typeof window>"u"?!1:window!==window.parent}function l9(e,t,n){const o=Math.round(window.screenX+(window.outerWidth-500)/2),a=Math.round(window.screenY+(window.outerHeight-600)/2),s=window.open(e,"base44_auth",`width=500,height=600,left=${o},top=${a},resizable=yes,scrollbars=yes`);if(!s)return;const c=()=>{window.removeEventListener("message",f),clearInterval(h),s.closed||s.close()},f=p=>{var g;if(p.origin!==n||p.source!==s||!(!((g=p.data)===null||g===void 0)&&g.access_token))return;c();const y=new URL(t),{access_token:S,is_new_user:b}=p.data;y.searchParams.set("access_token",S),b!=null&&y.searchParams.set("is_new_user",String(b)),window.location.href=y.toString()},h=setInterval(()=>{s.closed&&c()},500);window.addEventListener("message",f)}function c9(e,t,n,r){let i=null;const o=()=>{i=null};let a=!!r.token;return{hasToken(){return a},async me(){const s=i??e.get(`/apps/${n}/entities/User/me`).finally(()=>{i===s&&(i=null)});return i=s,s},async updateMe(s){return e.put(`/apps/${n}/entities/User/me`,s)},redirectToLogin(s){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const c=s?new URL(s,window.location.origin).toString():window.location.href,f=`${r.appBaseUrl}/login?from_url=${encodeURIComponent(c)}`;window.location.href=f},loginWithProvider(s,c="/"){const f=new URL(c,window.location.origin).toString(),h=`app_id=${n}&from_url=${encodeURIComponent(f)}`;let p;s==="sso"?p=`/apps/${n}/auth/sso/login`:p=`/apps/auth${s==="google"?"":`/${s}`}/login`;const g=`${r.appBaseUrl}/api${p}?${h}`;if(s9()){const y=`${g}&popup_origin=${encodeURIComponent(window.location.origin)}`;return l9(y,f,window.location.origin)}window.location.href=g},logout(s){if(delete e.defaults.headers.common.Authorization,o(),bA(),a=!1,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(h){console.error("Failed to remove token from localStorage:",h)}const c=s||window.location.href,f=`${r.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(c)}`;window.location.href=f}},setToken(s,c=!0){if(s&&(o(),bA(),a=!0,e.defaults.headers.common.Authorization=`Bearer ${s}`,t.defaults.headers.common.Authorization=`Bearer ${s}`,c&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",s),window.localStorage.setItem("token",s)}catch(f){console.error("Failed to save token to localStorage:",f)}},async loginViaEmailPassword(s,c,f){var h;try{const p=await e.post(`/apps/${n}/auth/login`,{email:s,password:c,...f&&{turnstile_token:f}}),{access_token:g,user:y}=p;return g&&this.setToken(g),{access_token:g,user:y}}catch(p){throw((h=p.response)===null||h===void 0?void 0:h.status)===401&&await this.logout(),p}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(s,c){return e.post(`/apps/${n}/users/invite-user`,{user_email:s,role:c})},register(s){return e.post(`/apps/${n}/auth/register`,s)},verifyOtp({email:s,otpCode:c}){return e.post(`/apps/${n}/auth/verify-otp`,{email:s,otp_code:c})},resendOtp(s){return e.post(`/apps/${n}/auth/resend-otp`,{email:s})},resetPasswordRequest(s){return e.post(`/apps/${n}/auth/reset-password-request`,{email:s})},resetPassword({resetToken:s,newPassword:c}){return e.post(`/apps/${n}/auth/reset-password`,{reset_token:s,new_password:c})},changePassword({userId:s,currentPassword:c,newPassword:f}){return e.post(`/apps/${n}/auth/change-password`,{user_id:s,current_password:c,new_password:f})}}}function u9(e,t){return{async getAccessToken(n){const r=`/apps/${t}/auth/sso/accesstoken/${n}`;return e.get(r)},async getIdToken(n){const r=`/apps/${t}/auth/sso/idtoken/${n}`;return e.get(r)}}}const f9=new Set(["GET","POST","PUT","PATCH","DELETE","HEAD"]);
210function d9(e,t){return{async getAccessToken(n){if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");return(await e.get(`/apps/${t}/external-auth/tokens/${encodeURIComponent(n)}`)).access_token},async getConnection(n){var r;if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");const o=await e.get(`/apps/${t}/external-auth/tokens/${encodeURIComponent(n)}`);return{accessToken:o.access_token,connectionConfig:(r=o.connection_config)!==null&&r!==void 0?r:null}},async getWorkspaceConnection(n){var r;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const o=await e.get(`/apps/${t}/external-auth/tokens/connectors/${encodeURIComponent(n)}`);return{accessToken:o.access_token,connectionConfig:(r=o.connection_config)!==null&&r!==void 0?r:null}},async getCurrentAppUserAccessToken(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await e.get(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}/token`)).access_token},async getCurrentAppUserConnection(n){var r;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const o=await e.get(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}/token`);return{accessToken:o.access_token,connectionConfig:(r=o.connection_config)!==null&&r!==void 0?r:null}},async callApi(n,r){return O4(n,"Integration type"),h9(e,`/apps/${t}/connectors/${encodeURIComponent(n)}/call`,r)}}}function O4(e,t){if(!e||typeof e!="string")throw new Error(`${t} is required and must be a string`)}async function h9(e,t,n){var r,i,o,a,s,c,f,h,p;if(!n||typeof n!="object")throw new Error("Request is required and must be an object");O4(n.path,"Request path");const g=(r=n.method)!==null&&r!==void 0?r:"GET";if(!f9.has(g))throw new Error("Request method must be one of GET, POST, PUT, PATCH, DELETE, or HEAD");const S=await e.post(t,{method:g,...n.host==null?{}:{host:n.host},path:n.path,query:(i=n.query)!==null&&i!==void 0?i:{},headers:(o=n.headers)!==null&&o!==void 0?o:{},body:(a=n.body)!==null&&a!==void 0?a:null});return{success:S.success,phase:S.phase,status:(s=S.status_code)!==null&&s!==void 0?s:null,data:S.data,dataBase64:(c=S.data_base64)!==null&&c!==void 0?c:null,contentType:(f=S.content_type)!==null&&f!==void 0?f:null,headers:(h=S.headers)!==null&&h!==void 0?h:{},creditsCharged:(p=S.credits_charged)!==null&&p!==void 0?p:0}}function p9(e,t){return{async connectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await e.post(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}/initiate`)).redirect_url},async disconnectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");await e.delete(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}`)}}}function Wo(e={}){const{storageKey:t="base44_access_token",paramName:n="access_token",saveToStorage:r=!0,removeFromUrl:i=!0}=e;let o=null;if(typeof window<"u"&&window.location)try{const a=new URLSearchParams(window.location.search);if(o=a.get(n),o){if(r&&m9(o,{storageKey:t}),i){a.delete(n);const s=`${window.location.pathname}${a.toString()?`?${a.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,s)}return o}}catch(a){console.error("Error retrieving token from URL:",a)}if(typeof window<"u"&&window.localStorage)try{return o=window.localStorage.getItem(t),o}catch(a){console.error("Error retrieving token from local storage:",a)}return null}function m9(e,t){const{storageKey:n="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!e)return!1;try{return window.localStorage.setItem(n,e),window.localStorage.setItem("token",e),!0}catch(r){return console.error("Error saving token to local storage:",r),!1}}function g9({axios:e,serviceRoleAxios:t,appId:n,serverUrl:r,functionsVersion:i,platformHeaders:o}){const a=new Headers(o),s=c=>{const f=c.defaults.headers.common.Authorization;return typeof f=="string"&&f.startsWith("Bearer ")?f:null};return async function(f,h={}){y9(f);const{fetch:p=fetch,...g}=h,y=new Headers(h.headers),S=(b,v)=>{v&&!y.has(b)&&y.set(b,v)};return S("Authorization",s(e)),S("Base44-Service-Authorization",s(t)),S("Base44-App-Id",n),S("Base44-Api-Url",r),S("Base44-Functions-Version",i),S("Base44-State",a.get("Base44-State")),S("X-Data-Env",a.get("X-Data-Env")),p(f,{...g,headers:y})}}function y9(e){if(typeof e!="string"||e==="")throw new Error("fetchWithAuth() requires a path, such as '/api/orders'.");const t=e.replace(/[\t\n\r]/g,"").replace(/^[\x00-\x20]+/,"");if(!t.startsWith("/")||t.startsWith("//")||t.startsWith("/\\"))throw new Error(`fetchWithAuth() only sends requests to your app's own origin, so your app's credentials never reach a third party. "${e}" is not a path on it â pass a relative path such as '/api/orders'. Use base44.functions.fetch() to call a Base44 backend function, or plain fetch() for another origin.`)}function kA(e,t,n){const r=(o,a)=>o?`${String(o).replace(/\/$/,"")}${a}`:a,i=o=>{const a=new Headers;if(n!=null&&n.getAuthHeaders){const s=n.getAuthHeaders();
210Object.entries(s).forEach(([c,f])=>{f!=null&&a.set(c,String(f))})}return o&&new Headers(o).forEach((s,c)=>{a.set(c,s)}),a};return{async invoke(o,a){if(typeof a=="string")throw new Error(`Function ${o} must receive an object with named parameters, received: ${a}`);let s,c;return a instanceof FormData||a&&Object.values(a).some(f=>f instanceof File)?(s=new FormData,Object.keys(a).forEach(f=>{a[f]instanceof File?s.append(f,a[f],a[f].name):typeof a[f]=="object"&&a[f]!==null?s.append(f,JSON.stringify(a[f])):s.append(f,a[f])}),c="multipart/form-data"):(s=a,c="application/json"),e.post(`/apps/${t}/functions/${o}`,s||a,{headers:{"Content-Type":c}})},async fetch(o,a={}){const c=`/functions${o.startsWith("/")?o:`/${o}`}`,f=i(a.headers),h={...a,headers:f};return await fetch(r(n==null?void 0:n.baseURL,c),h)}}}function EA({axios:e,getSocket:t,appId:n,serverUrl:r,token:i}){const o=`/apps/${n}/agents`,a={},s=()=>e.get(`${o}/conversations`),c=b=>e.get(`${o}/conversations/${b}`);return{getConversations:s,getConversation:c,listConversations:b=>e.get(`${o}/conversations`,{params:b}),createConversation:b=>e.post(`${o}/conversations`,b),addMessage:async(b,v)=>e.post(`${o}/conversations/v2/${b.id}/messages`,v),subscribeToConversation:(b,v)=>{const w=`/agent-conversations/${b}`,j=t(),_=c(b).then(E=>(a[b]=E,E));return j.subscribeToRoom(w,{connect:()=>{},update_model:async({data:E})=>{const N=JSON.parse(E);if(N._message){await _;const P=N._message,C=a[b];if(C){const T=C.messages||[],L=T.findIndex(M=>M.id===P.id),D=L!==-1?T.map((M,$)=>$===L?P:M):[...T,P];a[b]={...C,messages:D},v==null||v(a[b])}}}})},getWhatsAppConnectURL:b=>{const v=`${r}/api/apps/${n}/agents/${encodeURIComponent(b)}/whatsapp`,w=i??Wo();return w?`${v}?token=${w}`:v},getTelegramConnectURL:b=>{const v=`${r}/api/apps/${n}/agents/${encodeURIComponent(b)}/telegram`,w=i??Wo();return w?`${v}?token=${w}`:v}}}const NA={openai:"openai",typesafe:"typesafe"};function PA({serverUrl:e,token:t,appId:n}){return{connection:({provider:i="openai"}={})=>{var o;if(!Object.prototype.hasOwnProperty.call(NA,i))throw new Error(`Unsupported AI Gateway provider: ${i}`);const a=NA[i];return{baseURL:`${e}/api/apps/${n}/ai/${a}/v1`,token:(o=t??Wo())!==null&&o!==void 0?o:""}}}}function AA(e,t){const n=`/app-logs/${t}`;return{async logUserInApp(r){await e.post(`${n}/log-user-in-app/${r}`)},async fetchLogs(r={}){return await e.get(n,{params:r})},async getStats(r={}){return await e.get(`${n}/stats`,{params:r})}}}function v9(e,t){return{async getPublicSettings(){return e.get(`/apps/public/prod/public-settings/by-id/${t}`)}}}function x9(e,t){return{async inviteUser(n,r){if(r!=="user"&&r!=="admin")throw new Error(`Invalid role: "${r}". Role must be either "user" or "admin".`);return await e.post(`/apps/${t}/runtime/users/invite-user`,{user_email:n,role:r})}}}const yi=Object.create(null);yi.open="0";yi.close="1";yi.ping="2";yi.pong="3";yi.message="4";yi.upgrade="5";yi.noop="6";const Gh=Object.create(null);Object.keys(yi).forEach(e=>{Gh[yi[e]]=e});const C1={type:"error",data:"parser error"},C4=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",T4=typeof ArrayBuffer=="function",R4=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Xj=({type:e,data:t},n,r)=>C4&&t instanceof Blob?n?r(t):OA(t,r):T4&&(t instanceof ArrayBuffer||R4(t))?n?r(t):OA(new Blob([t]),r):r(yi[e]+(t||"")),OA=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function CA(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let _v;function b9(e,t){if(C4&&e.data instanceof Blob)return e.data.arrayBuffer().then(CA).then(t);if(T4&&(e.data instanceof ArrayBuffer||R4(e.data)))return t(CA(e.data));Xj(e,!1,n=>{_v||(_v=new TextEncoder),t(_v.encode(n))})}const TA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Su=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<TA.length;e++)Su[TA.charCodeAt(e)]=e;const w9=e=>{let t=e.length*.75,n=e.length,r,i=0,o,a,s,c;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const f=new ArrayBuffer(t),h=new Uint8Array(f);for(r=0;r<n;r+=4)o=Su[e.charCodeAt(r)],a=Su[e.charCodeAt(r+1)],s=Su[e.charCodeAt(r+2)],c=Su[e.charCodeAt(r+3)],h[i++]=o<<2|a>>4,h[i++]=(a&15)<<4|s>>2,h[i++]=(s&3)<<6|c&63;return f},S9=typeof ArrayBuffer=="function",Yj=(e,t)=>{if(typeof e!="string")return{type:"message",data:I4(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:j9(e.substring(1),t)}:Gh[n]?e.length>1?{type:Gh[n],data:e.substring(1)}:{type:Gh[n]}:C1},j9=(e,t)=>{if(S9){const n=w9(e);return I4(n,t)}else return{base64:!0,data:e}},I4=(e,t)=>
vendor: 4,168 bytes, line 210
210{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},D4="�",_9=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,a)=>{Xj(o,!1,s=>{r[a]=s,++i===n&&t(r.join(D4))})})},k9=(e,t)=>{const n=e.split(D4),r=[];for(let i=0;i<n.length;i++){const o=Yj(n[i],t);if(r.push(o),o.type==="error")break}return r};function E9(){return new TransformStream({transform(e,t){b9(e,n=>{const r=n.length;let i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);const o=new DataView(i.buffer);o.setUint8(0,126),o.setUint16(1,r)}else{i=new Uint8Array(9);const o=new DataView(i.buffer);o.setUint8(0,127),o.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let kv;function gh(e){return e.reduce((t,n)=>t+n.length,0)}function yh(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function N9(e,t){kv||(kv=new TextDecoder);const n=[];let r=0,i=-1,o=!1;return new TransformStream({transform(a,s){for(n.push(a);;){if(r===0){if(gh(n)<1)break;const c=yh(n,1);o=(c[0]&128)===128,i=c[0]&127,i<126?r=3:i===126?r=1:r=2}else if(r===1){if(gh(n)<2)break;const c=yh(n,2);i=new DataView(c.buffer,c.byteOffset,c.length).getUint16(0),r=3}else if(r===2){if(gh(n)<8)break;const c=yh(n,8),f=new DataView(c.buffer,c.byteOffset,c.length),h=f.getUint32(0);if(h>Math.pow(2,21)-1){s.enqueue(C1);break}i=h*Math.pow(2,32)+f.getUint32(4),r=3}else{if(gh(n)<i)break;const c=yh(n,i);s.enqueue(Yj(o?c:kv.decode(c),t)),r=0}if(i===0||i>e){s.enqueue(C1);break}}}})}const M4=4;function Vt(e){if(e)return P9(e)}function P9(e){for(var t in Vt.prototype)e[t]=Vt.prototype[t];return e}Vt.prototype.on=Vt.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Vt.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};Vt.prototype.off=Vt.prototype.removeListener=Vt.prototype.removeAllListeners=Vt.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this};Vt.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this};Vt.prototype.emitReserved=Vt.prototype.emit;Vt.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Vt.prototype.hasListeners=function(e){return!!this.listeners(e).length};const wm=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),kr=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),A9="arraybuffer";function L4(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const O9=kr.setTimeout,C9=kr.clearTimeout;function Sm(e,t){t.useNativeTimers?(e.setTimeoutFn=O9.bind(kr),e.clearTimeoutFn=C9.bind(kr)):(e.setTimeoutFn=kr.setTimeout.bind(kr),e.clearTimeoutFn=kr.clearTimeout.bind(kr))}const T9=1.33;function R9(e){return typeof e=="string"?I9(e):Math.ceil((e.byteLength||e.size)*T9)}function I9(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function $4(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function D9(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function M9(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let o=n[r].split("=");
vendor: 6,261 bytes, line 210
210t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}class L9 extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class Jj extends Vt{constructor(t){super(),this.writable=!1,Sm(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,r){return super.emitReserved("error",new L9(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=Yj(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=D9(t);return n.length?"?"+n:""}}class $9 extends Jj{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};k9(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,_9(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=$4()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let F4=!1;try{F4=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const F9=F4;function B9(){}class z9 extends $9{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class hi extends Vt{constructor(t,n,r){super(),this.createRequest=t,Sm(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var t;const n=L4(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&r.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var i;r.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=hi.requestsCount++,hi.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=B9,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete hi.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}hi.requestsCount=0;hi.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",RA);else if(typeof addEventListener=="function"){const e="onpagehide"in kr?"pagehide":"unload";addEventListener(e,RA,!1)}}function RA(){for(let e in hi.requests)hi.requests.hasOwnProperty(e)&&hi.requests[e].abort()}const U9=(function(){const e=B4({xdomain:!1});return e&&e.responseType!==null})();class q9 extends z9{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=U9&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new hi(B4,this.uri(),t)}}function B4(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||F9))return new XMLHttpRequest}catch{}if(!t)try{return new kr[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const z4=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class H9 extends Jj{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=z4?{}:L4(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,r)}catch(i){return this.emitReserved("error",i)}
vendor: 15,989 bytes, line 210
210this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;Xj(r,this.supportsBinary,o=>{try{this.doWrite(r,o)}catch{}i&&wm(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=$4()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const Ev=kr.WebSocket||kr.MozWebSocket;class W9 extends H9{createSocket(t,n,r){return z4?new Ev(t,n,r):n?new Ev(t,n):new Ev(t)}doWrite(t,n){this.ws.send(n)}}class V9 extends Jj{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=N9(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=E9();i.readable.pipeTo(t.writable),this._writer=i.writable.getWriter();const o=()=>{r.read().then(({done:s,value:c})=>{s||(this.onPacket(c),o())}).catch(s=>{})};o();const a={type:"open"};this.query.sid&&(a.data=`{"sid":"${this.query.sid}"}`),this._writer.write(a).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;this._writer.write(r).then(()=>{i&&wm(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const G9={websocket:W9,webtransport:V9,polling:q9},K9=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,X9=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function T1(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=K9.exec(e||""),o={},a=14;for(;a--;)o[X9[a]]=i[a]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=Y9(o,o.path),o.queryKey=J9(o,o.query),o}function Y9(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function J9(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}const R1=typeof addEventListener=="function"&&typeof removeEventListener=="function",Kh=[];R1&&addEventListener("offline",()=>{Kh.forEach(e=>e())},!1);class Xo extends Vt{constructor(t,n){if(super(),this.binaryType=A9,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const r=T1(t);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=T1(n.host).host);Sm(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const i=r.prototype.name;this.transports.push(i),this._transportsByName[i]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=M9(this.opts.query)),R1&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Kh.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=M4,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&Xo.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Xo.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const i=this.writeBuffer[r].data;if(i&&(n+=R9(i)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,wm(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,r){return this._sendPacket("message",t,n,r),this}send(t,n,r){return this._sendPacket("message",t,n,r),this}_sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}_onError(t){if(Xo.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),R1&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=Kh.indexOf(this._offlineEventListener);r!==-1&&Kh.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}Xo.protocol=M4;class Q9 extends Xo{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),r=!1;Xo.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",p=>{if(!r)if(p.type==="pong"&&p.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Xo.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(h(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const g=new Error("probe error");g.transport=n.name,this.emitReserved("upgradeError",g)}}))};function o(){r||(r=!0,h(),n.close(),n=null)}const a=p=>{const g=new Error("probe error: "+p);g.transport=n.name,o(),this.emitReserved("upgradeError",g)};function s(){a("transport closed")}function c(){a("socket closed")}function f(p){n&&p.name!==n.name&&o()}const h=()=>{n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",s),this.off("close",c),this.off("upgrading",f)};n.once("open",i),n.once("error",a),n.once("close",s),this.once("close",c),this.once("upgrading",f),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let r=0;r<t.length;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}}let Z9=class extends Q9{constructor(t,n={}){const r=typeof t=="object"?t:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(i=>G9[i]).filter(i=>!!i)),super(t,r)}};function eG(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=T1(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}const tG=typeof ArrayBuffer=="function",nG=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,U4=Object.prototype.toString,rG=typeof Blob=="function"||typeof Blob<"u"&&U4.call(Blob)==="[object BlobConstructor]",iG=typeof File=="function"||typeof File<"u"&&U4.call(File)==="[object FileConstructor]";function Qj(e){return tG&&(e instanceof ArrayBuffer||nG(e))||rG&&e instanceof Blob||iG&&e instanceof File}function Xh(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(Xh(e[n]))return!0;return!1}if(Qj(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Xh(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Xh(e[n]))return!0;return!1}function oG(e){const t=[],n=e.data,r=e;return r.data=I1(n,t),r.attachments=t.length,{packet:r,buffers:t}}function I1(e,t){if(!e)return e;if(Qj(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=I1(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=I1(e[r],t));return n}return e}function aG(e,t){return e.data=D1(e.data,t),delete e.attachments,e}function D1(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=D1(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=D1(e[n],t));return e}const sG=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var nt;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(nt||(nt={}));class lG{constructor(t){this.replacer=t}encode(t){return(t.type===nt.EVENT||t.type===nt.ACK)&&Xh(t)?this.encodeAsBinary({type:t.type===nt.EVENT?nt.BINARY_EVENT:nt.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===nt.BINARY_EVENT||t.type===nt.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=oG(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}class Zj extends Vt{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===nt.BINARY_EVENT;r||n.type===nt.BINARY_ACK?(n.type=r?nt.EVENT:nt.ACK,this.reconstructor=new cG(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Qj(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(nt[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===nt.BINARY_EVENT||r.type===nt.BINARY_ACK){const o=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const a=t.substring(o,n);if(a!=Number(a)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(a)}if(t.charAt(n+1)==="/"){const o=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(o,n)}else r.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const o=n+1;for(;++n;){const a=t.charAt(n);if(a==null||Number(a)!=a){--n;break}if(n===t.length)break}r.id=Number(t.substring(o,n+1))}
vendor: 4,501 bytes, line 210
210if(t.charAt(++n)){const o=this.tryParse(t.substr(n));if(Zj.isPayloadValid(r.type,o))r.data=o;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case nt.CONNECT:return IA(n);case nt.DISCONNECT:return n===void 0;case nt.CONNECT_ERROR:return typeof n=="string"||IA(n);case nt.EVENT:case nt.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&sG.indexOf(n[0])===-1);case nt.ACK:case nt.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class cG{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=aG(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function IA(e){return Object.prototype.toString.call(e)==="[object Object]"}const uG=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Zj,Encoder:lG,get PacketType(){return nt}},Symbol.toStringTag,{value:"Module"}));function qr(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const fG=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class q4 extends Vt{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[qr(t,"open",this.onopen.bind(this)),qr(t,"packet",this.onpacket.bind(this)),qr(t,"error",this.onerror.bind(this)),qr(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var r,i,o;if(fG.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const a={type:nt.EVENT,data:n};if(a.options={},a.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const h=this.ids++,p=n.pop();this._registerAckCallback(h,p),a.id=h}const s=(i=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||i===void 0?void 0:i.writable,c=this.connected&&!(!((o=this.io.engine)===null||o===void 0)&&o._hasPingExpired());return this.flags.volatile&&!s||(c?(this.notifyOutgoingListeners(a),this.packet(a)):this.sendBuffer.push(a)),this.flags={},this}_registerAckCallback(t,n){var r;const i=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(i===void 0){this.acks[t]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let s=0;s<this.sendBuffer.length;s++)this.sendBuffer[s].id===t&&this.sendBuffer.splice(s,1);n.call(this,new Error("operation has timed out"))},i),a=(...s)=>{this.io.clearTimeoutFn(o),n.apply(this,s)};a.withError=!0,this.acks[t]=a}emitWithAck(t,...n){return new Promise((r,i)=>{const o=(a,s)=>a?i(a):r(s);o.withError=!0,n.push(o),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...o)=>(this._queue[0],i!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(i)):(this._queue.shift(),n&&n(null,...o)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:nt.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}
vendor: 7,087 bytes, line 210
210_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case nt.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case nt.EVENT:case nt.BINARY_EVENT:this.onevent(t);break;case nt.ACK:case nt.BINARY_ACK:this.onack(t);break;case nt.DISCONNECT:this.ondisconnect();break;case nt.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:nt.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:nt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function sc(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}sc.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-n:e+n}return Math.min(e,this.max)|0};sc.prototype.reset=function(){this.attempts=0};sc.prototype.setMin=function(e){this.ms=e};sc.prototype.setMax=function(e){this.max=e};sc.prototype.setJitter=function(e){this.jitter=e};class M1 extends Vt{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Sm(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new sc({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||uG;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new Z9(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=qr(n,"open",function(){r.onopen(),t&&t()}),o=s=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",s),t?t(s):this.maybeReconnectOnOpen()},a=qr(n,"error",o);if(this._timeout!==!1){const s=this._timeout,c=this.setTimeoutFn(()=>{i(),o(new Error("timeout")),n.close()},s);this.opts.autoUnref&&c.unref(),this.subs.push(()=>{this.clearTimeoutFn(c)})}return this.subs.push(i),this.subs.push(a),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(qr(t,"ping",this.onping.bind(this)),qr(t,"data",this.ondata.bind(this)),qr(t,"error",this.onerror.bind(this)),qr(t,"close",this.onclose.bind(this)),qr(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){wm(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new q4(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}
210cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const au={};function Yh(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=eG(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,a=au[i]&&o in au[i].nsps,s=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let c;return s?c=new M1(r,t):(au[i]||(au[i]=new M1(r,t)),c=au[i]),n.query&&!t.query&&(t.query=n.queryKey),c.socket(n.path,t)}Object.assign(Yh,{Manager:M1,Socket:q4,io:Yh,connect:Yh});const dG=250;function DA(e,t){var n;const r=(n=e.token)!==null&&n!==void 0?n:Wo(),i={app_id:e.appId,token:r};r||(i.anonymous_id=lp());const o=Yh(e.serverUrl,{path:e.mountPath,transports:e.transports,query:i});return o.on("connect",async()=>{var a;return console.log("connect",o.id),(a=t.connect)===null||a===void 0?void 0:a.call(t)}),o.on("update_model",async a=>{var s;return(s=t.update_model)===null||s===void 0?void 0:s.call(t,a)}),o.on("error",async a=>{var s;return(s=t.error)===null||s===void 0?void 0:s.call(t,a)}),o.on("connect_error",async a=>{var s;return console.error("connect_error",a),(s=t.error)===null||s===void 0?void 0:s.call(t,a)}),o}function hG({config:e}){let t={...e};const n={},r={},i={connect:async()=>{const w=[];Object.keys(n).forEach(j=>{const _=g(j);_.length!==0&&(f(j),_.forEach(({connect:E})=>{const N=async()=>E==null?void 0:E();w.push(N())}))}),await Promise.all(w)},update_model:async w=>{const _=g(w.room).map(E=>{var N;return(N=E.update_model)===null||N===void 0?void 0:N.call(E,w)});await Promise.all(_)},error:async w=>{console.error("error",w);const j=Object.values(n).flat().map(_=>{var E;return(E=_.error)===null||E===void 0?void 0:E.call(_,w)});await Promise.all(j)}};let o=DA(e,i);function a(){s()}function s(){S(),o&&o.disconnect()}function c(w){a(),t={...t,...w},o=DA(t,i)}function f(w){o.emit("join",w)}function h(w){o.emit("leave",w)}async function p(w,j){var _;const E=JSON.stringify(j);return(_=i.update_model)===null||_===void 0?void 0:_.call(i,{room:w,data:E})}function g(w){var j;return(j=n[w])!==null&&j!==void 0?j:[]}function y(w){const j=r[w];j&&(clearTimeout(j),delete r[w])}function S(){Object.keys(r).forEach(w=>{var j,_;clearTimeout(r[w]),delete r[w],((_=(j=n[w])===null||j===void 0?void 0:j.length)!==null&&_!==void 0?_:0)===0&&delete n[w]})}function b(w){y(w),r[w]=setTimeout(()=>{var j,_;delete r[w],!(((_=(j=n[w])===null||j===void 0?void 0:j.length)!==null&&_!==void 0?_:0)>0)&&(h(w),delete n[w])},dG)}return{socket:o,subscribeToRoom:(w,j)=>{n[w]?y(w):(f(w),n[w]=[]),n[w].push(j);let _=!1;return()=>{var E,N;_||(_=!0,n[w]=(N=(E=n[w])===null||E===void 0?void 0:E.filter(P=>P!==j))!==null&&N!==void 0?N:[],n[w].length===0&&b(w))}},updateConfig:c,updateModel:p,disconnect:s}}(!globalThis.EventTarget||!globalThis.Event)&&console.error(` 211 PartySocket requires a global 'EventTarget' class to be available! 212 You can polyfill this global by adding this to your code before any partysocket imports: 213 214 \`\`\` 215 import 'partysocket/event-target-polyfill'; 216 \`\`\` 217 Please file an issue at https://github.com/partykit/partykit if you're still having trouble. 218`);
vendor: 5,074 bytes, line 218
218var H4=class extends Event{constructor(t,n){super("error",n);bt(this,"message");bt(this,"error");this.message=t.message,this.error=t}},W4=class extends Event{constructor(t=1e3,n="",r){super("close",r);bt(this,"code");bt(this,"reason");bt(this,"wasClean",!0);this.code=t,this.reason=n}},Nv={Event,ErrorEvent:H4,CloseEvent:W4};function pG(e,t){if(!e)throw new Error(t)}function mG(e){return new e.constructor(e.type,e)}function gG(e){return"data"in e?new MessageEvent(e.type,e):"code"in e||"reason"in e?new W4(e.code||1999,e.reason||"unknown reason",e):"error"in e?new H4(e.error,e):new Event(e.type,e)}var lL,yG=typeof process<"u"&&typeof((lL=process.versions)==null?void 0:lL.node)<"u"&&typeof document>"u",vh=yG?gG:mG,Na={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},MA=!1,vG=class Ta extends EventTarget{constructor(n,r,i={}){super();bt(this,"_ws");bt(this,"_retryCount",-1);bt(this,"_uptimeTimeout");bt(this,"_connectTimeout");bt(this,"_shouldReconnect",!0);bt(this,"_connectLock",!1);bt(this,"_binaryType","blob");bt(this,"_closeCalled",!1);bt(this,"_messageQueue",[]);bt(this,"_url");bt(this,"_protocols");bt(this,"_options");bt(this,"onclose",null);bt(this,"onerror",null);bt(this,"onmessage",null);bt(this,"onopen",null);bt(this,"_handleOpen",n=>{this._debug("open event");const{minUptime:r=Na.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),r),pG(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(i=>{var o;return(o=this._ws)==null?void 0:o.send(i)}),this._messageQueue=[],this.onopen&&this.onopen(n),this.dispatchEvent(vh(n))});bt(this,"_handleMessage",n=>{this._debug("message event"),this.onmessage&&this.onmessage(n),this.dispatchEvent(vh(n))});bt(this,"_handleError",n=>{this._debug("error event",n.message),this._disconnect(void 0,n.message==="TIMEOUT"?"timeout":void 0),this.onerror&&this.onerror(n),this._debug("exec error listeners"),this.dispatchEvent(vh(n)),this._connect()});bt(this,"_handleClose",n=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(n),this.dispatchEvent(vh(n))});this._url=n,this._protocols=r,this._options=i,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}static get CONNECTING(){return 0}static get OPEN(){return 1}static get CLOSING(){return 2}static get CLOSED(){return 3}get CONNECTING(){return Ta.CONNECTING}get OPEN(){return Ta.OPEN}get CLOSING(){return Ta.CLOSING}get CLOSED(){return Ta.CLOSED}get binaryType(){return this._ws?this._ws.binaryType:this._binaryType}set binaryType(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)}get retryCount(){return Math.max(this._retryCount,0)}get bufferedAmount(){return this._messageQueue.reduce((r,i)=>(typeof i=="string"?r+=i.length:i instanceof Blob?r+=i.size:r+=i.byteLength,r),0)+(this._ws?this._ws.bufferedAmount:0)}get extensions(){return this._ws?this._ws.extensions:""}get protocol(){return this._ws?this._ws.protocol:""}get readyState(){return this._ws?this._ws.readyState:this._options.startClosed?Ta.CLOSED:Ta.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}close(n=1e3,r){if(this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(n,r)}reconnect(n,r){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,r),this._connect())}send(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{const{maxEnqueuedMessages:r=Na.maxEnqueuedMessages}=this._options;this._messageQueue.length<r&&(this._debug("enqueue",n),this._messageQueue.push(n))}}_debug(...n){this._options.debug&&console.log.apply(console,["RWS>",...n])}_getNextDelay(){const{reconnectionDelayGrowFactor:n=Na.reconnectionDelayGrowFactor,minReconnectionDelay:r=Na.minReconnectionDelay,maxReconnectionDelay:i=Na.maxReconnectionDelay}=this._options;let o=0;return this._retryCount>0&&(o=r*Math.pow(n,this._retryCount-1),o>i&&(o=i)),this._debug("next delay",o),o}_wait(){return new Promise(n=>{setTimeout(n,this._getNextDelay())})}_getNextProtocols(n){if(!n)return Promise.resolve(null);if(typeof n=="string"||Array.isArray(n))return Promise.resolve(n);if(typeof n=="function"){const r=n();if(!r)return Promise.resolve(null);if(typeof r=="string"||Array.isArray(r))return Promise.resolve(r);if(r.then)return r}throw Error("Invalid protocols")}_getNextUrl(n){if(typeof n=="string")return Promise.resolve(n);if(typeof n=="function"){const r=n();if(typeof r=="string")return Promise.resolve(r);if(r.then)return r}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;
218const{maxRetries:n=Na.maxRetries,connectionTimeout:r=Na.connectionTimeout}=this._options;if(this._retryCount>=n){this._debug("max retries reached",this._retryCount,">=",n);return}this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),this._wait().then(()=>Promise.all([this._getNextUrl(this._url),this._getNextProtocols(this._protocols||null)])).then(([i,o])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!MA&&(console.error(`â¼ï¸ No WebSocket implementation available. You should define options.WebSocket. 219 220For example, if you're using node.js, run \`npm install ws\`, and then in your code: 221 222import PartySocket from 'partysocket'; 223import WS from 'ws'; 224 225const partysocket = new PartySocket({ 226 host: "127.0.0.1:1999", 227 room: "test-room", 228 WebSocket: WS 229}); 230 231`),MA=!0);const a=this._options.WebSocket||WebSocket;this._debug("connect",{url:i,protocols:o}),this._ws=o?new a(i,o):new a(i),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),r)}).catch(i=>{this._connectLock=!1,this._handleError(new Nv.ErrorEvent(Error(i.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new Nv.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(n=1e3,r){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(n,r),this._handleClose(new Nv.CloseEvent(n,r,this))}catch{}}}_acceptOpen(){this._debug("accept open"),this._retryCount=0}_removeListeners(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))}_addListeners(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))}_clearTimeouts(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)}};/*! 232 * Reconnecting WebSocket 233 * by Pedro Ladaria <[email protected]> 234 * https://github.com/pladaria/reconnecting-websocket 235 * License MIT 236 */const xG=1e3,bG=3e3,wG=new Set([405,409,422,503]),SG=new Set([400,403,404]);function jG(e){const t=e&&typeof e=="object"?e.status:void 0;return typeof t=="number"?t:void 0}function _G(e){return e instanceof Error?e:new Error(String(e))}class kG{constructor(t,n,r,i,o){var a;this.onClose=o,this.listeners=new Set,this.heartbeat=null,this.closed=!1,this.id=(a=i==null?void 0:i.id)!==null&&a!==void 0?a:crypto.randomUUID();let s=r.transport==="proxy";const c=async()=>{var g;if(this.closed)throw new Error("Actor connection is closed");if(!s)try{const{websocket_url:y,token:S}=await r.mintConnectionToken(t,n,this.id),b=y.includes("?")?"&":"?";return`${y}${b}token=${encodeURIComponent(S)}`}catch(y){const S=jG(y);if(!(r.transport!=="direct"&&S!==void 0&&wG.has(S))){S!==void 0&&SG.has(S)&&this.close();try{(g=r.onMintError)===null||g===void 0||g.call(r,_G(y))}catch{}throw y}s=!0}return NG(r.host,t,n,this.id,r.appId,r.getAuthToken(),r.functionsVersion)},f=new vG(c);this.ws=f;let h=Date.now();const p=()=>{h=Date.now()};f.addEventListener("open",p),f.addEventListener("message",g=>{p();let y;try{y=JSON.parse(g.data)}catch{return}if((y&&typeof y=="object"?y.type:void 0)!=="__pong")for(const b of this.listeners)b(y)}),this.heartbeat=setInterval(()=>{if(Date.now()-h>bG){p(),f.readyState===f.OPEN&&f.reconnect();return}try{f.send(JSON.stringify({type:"__ping"}))}catch{}},xG)}subscribe(t){return this.listeners.add(t),{unsubscribe:()=>{this.listeners.delete(t)}}}send(t){this.closed||this.ws.send(JSON.stringify(t))}close(){this.closed||(this.closed=!0,this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null),this.listeners.clear(),this.ws.close(),this.onClose())}}function EG(e,t,n,r){let i=null;return{connect(o){if(i)return i;const a=new kG(e,t,n,o,()=>{r.delete(a),i===a&&(i=null)});return i=a,r.add(a),a}}}function NG(e,t,n,r,i,o,a){let s=e.replace(/^(http|https|ws|wss):\/\//,"");s.endsWith("/")&&(s=s.slice(0,-1));const c=s.startsWith("localhost:")||s.startsWith("127.0.0.1:")||s.startsWith("192.168.")||s.startsWith("10.")||s.startsWith("172.")&&s.split(".")[1]>="16"&&s.split(".")[1]<="31"||s.startsWith("[::ffff:7f00:1]:"),f=new URLSearchParams([["_pk",r],["app_id",i],["handler",t]]);return o&&f.append("token",o),a&&f.append("fv",a),`${c?"ws":"wss"}://${s}/parties/${t}/${n}?${f}`}function PG(e,t){return e&&!e.startsWith("/")?e:t??e}function AG(e){const t=new Set;return{module:new Proxy({}
236,{get(r,i){if(!(typeof i!="string"||i==="then"))return o=>EG(i,o,e,t)}}),closeAll:()=>{for(const r of[...t])r.close()}}}function OG(e){var t,n,r,i;const{serverUrl:o="https://base44.app",appId:a,analytics:s,token:c,serviceToken:f,requiresAuth:h=!1,appBaseUrl:p,options:g,functionsVersion:y,headers:S}=e,b=typeof p=="string"?p:"",v={serverUrl:o,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:a,token:c};let w=null;const j=()=>(w||(w=hG({config:v})),w),_={...S,"X-App-Id":String(a)},E=y?{..._,"Base44-Functions-Version":y}:_,N=nl({baseURL:`${o}/api`,headers:_,token:c,onError:g==null?void 0:g.onError}),P=nl({baseURL:`${o}/api`,headers:E,token:c,interceptResponses:!1,onError:g==null?void 0:g.onError}),C={..._,...c?{"on-behalf-of":`Bearer ${c}`}:{}},T=nl({baseURL:`${o}/api`,headers:C,token:f,onError:g==null?void 0:g.onError}),L=nl({baseURL:`${o}/api`,headers:E,token:f,interceptResponses:!1}),D=nl({baseURL:`${o}/api`,headers:_}),M=c9(N,P,a,{appBaseUrl:b,token:c});if(typeof window<"u"){const W=c||Wo();W&&M.setToken(W)}const $=AG({appId:a,host:PG(o,typeof window<"u"?(t=window.location)===null||t===void 0?void 0:t.origin:void 0),functionsVersion:y,getAuthToken:()=>c||Wo(),mintConnectionToken:async(W,Z,V)=>{const ee=c||Wo();return await D.post(`/apps/${a}/actors/${encodeURIComponent(W)}/connection-token`,{room:Z,connection_id:V},{headers:{...ee?{Authorization:`Bearer ${ee}`}:{},...y?{"Base44-Functions-Version":y}:{}}})},transport:g==null?void 0:g.actorsTransport,onMintError:g==null?void 0:g.onError}),H={entities:SA({axios:N,appId:a,getSocket:j}),integrations:_A(N,a),connectors:p9(N,a),auth:M,functions:kA(P,a,{getAuthHeaders:()=>{const W={},Z=c||Wo();return Z&&(W.Authorization=`Bearer ${Z}`),W},baseURL:(n=P.defaults)===null||n===void 0?void 0:n.baseURL}),agents:EA({axios:N,getSocket:j,appId:a,serverUrl:o,token:c}),aiGateway:PA({serverUrl:o,token:c,appId:a}),appLogs:AA(N,a),app:v9(N,a),users:x9(N,a),analytics:KV({axiosClient:N,serverUrl:o,appId:a,userAuthModule:M,enabled:(r=s==null?void 0:s.enabled)!==null&&r!==void 0?r:!0}),actors:$.module,cleanup:()=>{H.analytics.cleanup(),$.closeAll(),w&&w.disconnect()}},U={entities:SA({axios:T,appId:a,getSocket:j}),integrations:_A(T,a),sso:u9(T,a),connectors:d9(T,a),functions:kA(L,a,{getAuthHeaders:()=>{const W={};return f&&(W.Authorization=`Bearer ${f}`),W},baseURL:(i=L.defaults)===null||i===void 0?void 0:i.baseURL}),agents:EA({axios:T,getSocket:j,appId:a,serverUrl:o,token:c}),aiGateway:PA({serverUrl:o,token:f,appId:a}),appLogs:AA(T,a),cleanup:()=>{w&&w.disconnect()}};return h&&typeof window<"u"&&setTimeout(async()=>{try{await H.auth.isAuthenticated()||H.auth.redirectToLogin(window.location.href)}catch(W){console.error("Authentication check failed:",W),H.auth.redirectToLogin(window.location.href)}},0),{...H,fetchWithAuth:g9({axios:N,serviceRoleAxios:T,appId:String(a),serverUrl:o,functionsVersion:y,platformHeaders:S}),setToken(W){H.auth.setToken(W),w&&w.updateConfig({token:W}),v.token=W},getConfig(){return{serverUrl:o,appId:a,requiresAuth:h}},get asServiceRole(){if(!f)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return U}}}const V4=typeof window>"u",CG=V4?{localStorage:new Map}:window,Au=CG.localStorage,TG=e=>e.replace(/([A-Z])/g,"_$1").toLowerCase(),Ks=(e,{defaultValue:t=void 0,removeFromUrl:n=!1}={})=>{if(V4)return t;const r=`base44_${TG(e)}`,i=new URLSearchParams(window.location.search),o=i.get(e);if(n){i.delete(e);const s=`${window.location.pathname}${i.toString()?`?${i.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,s)}if(o)return Au.setItem(r,o),o;if(t)return Au.setItem(r,t),t;const a=Au.getItem(r);return a||null},RG=()=>(Ks("clear_access_token")==="true"&&(Au.removeItem("base44_access_token"),Au.removeItem("token")),{appId:Ks("app_id",{defaultValue:"6a21450e8a7d865f41620951"}),token:Ks("access_token",{removeFromUrl:!0}),fromUrl:Ks("from_url",{defaultValue:window.location.href}),functionsVersion:Ks("functions_version",{defaultValue:"prod"}),appBaseUrl:Ks("app_base_url",{defaultValue:void 0})}),ju={...RG()},{appId:IG,token:DG,functionsVersion:MG,appBaseUrl:LG}=ju,Be=OG({appId:IG,token:DG,functionsVersion:MG,serverUrl:"",requiresAuth:!1,appBaseUrl:LG});function $G({}){var i;const t=na().pathname.substring(1),{data:n,isFetched:r}=kH({queryKey:["user"],queryFn:async()=>{try{return{user:await Be.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return d.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:d.jsx("div",{className:"max-w-md w-full",children:d.jsxs("div",{className:"text-center space-y-6",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),d.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),d.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",d.jsxs("span",{className:"font-medium text-slate-700",children:['"',t,'"']})," could not be found in this application."]})]}),r&&n.isAuthenticated&&((i=n.user)==null?void 0:i.role)==="admin"&&d.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:d.jsxs("div",{className:"flex items-start space-x-3",children:[d.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:d.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),d.jsxs("div",{className:"text-left space-y-1",children:[d.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),d.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),d.jsx("div",{className:"pt-6",children:d.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[d.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const G4=O.createContext(),FG=({children:e})=>{const[t,n]=O.useState(null),[r,i]=O.useState(!1),[o,a]=O.useState(!0),[s,c]=O.useState(!0),[f,h]=O.useState(null),[p,g]=O.useState(!1),[y,S]=O.useState(null);O.useEffect(()=>{b()},[]);const b=async()=>{var _,E;try{c(!0),h(null);const N=nl({baseURL:"/api/apps/public",headers:{"X-App-Id":ju.appId},token:ju.token,interceptResponses:!0});try{const P=await N.get(`/prod/public-settings/by-id/${ju.appId}`);S(P),ju.token?await v():(a(!1),i(!1),g(!0)),c(!1)}catch(P){if(console.error("App state check failed:",P),P.status===403&&((E=(_=P.data)==null?void 0:_.extra_data)!=null&&E.reason)){const C=P.data.extra_data.reason;h(C==="auth_required"?{type:"auth_required",message:"Authentication required"}:C==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:C,message:P.message})}else h({type:"unknown",message:P.message||"Failed to load app"});c(!1),a(!1)}}catch(N){console.error("Unexpected error:",N),h({type:"unknown",message:N.message||"An unexpected error occurred"}),c(!1),a(!1)}},v=async()=>{try{a(!0);const _=await Be.auth.me();n(_),i(!0),a(!1),g(!0)}catch(_){console.error("User auth check failed:",_),a(!1),i(!1),g(!0),(_.status===401||_.status===403)&&h({type:"auth_required",message:"Authentication required"})}},w=(_=!0)=>{n(null),i(!1),_?Be.auth.logout(window.location.href):Be.auth.logout()},j=()=>{Be.auth.redirectToLogin(window.location.href)};return d.jsx(G4.Provider,{value:{user:t,isAuthenticated:r,isLoadingAuth:o,isLoadingPublicSettings:s,authError:f,appPublicSettings:y,authChecked:
236p,logout:w,navigateToLogin:j,checkUserAuth:v,checkAppState:b},children:e})},K4=()=>{const e=O.useContext(G4);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e},X4=()=>d.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:d.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:d.jsxs("div",{className:"text-center",children:[d.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:d.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),d.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),d.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),d.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[d.jsx("p",{children:"If you believe this is an error, you can:"}),d.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[d.jsx("li",{children:"Verify you are logged in with the correct account"}),d.jsx("li",{children:"Contact the app administrator for access"}),d.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),BG=e=>{const t=e.slice(1);try{return decodeURIComponent(t)}catch{return t}};function zG(){const{pathname:e,hash:t}=na(),n=rW();return O.useEffect(()=>{if(n!=="POP"){if(t){const r=BG(t),i=window.setTimeout(()=>{var o;(o=document.getElementById(r))==null||o.scrollIntoView({behavior:"smooth"})},50);return()=>window.clearTimeout(i)}window.scrollTo({top:0,left:0,behavior:"instant"})}},[e,t,n]),null}const UG=()=>d.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:d.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});function qG({fallback:e=d.jsx(UG,{}),unauthenticatedElement:t}){const{isAuthenticated:n,isLoadingAuth:r,authChecked:i,authError:o,checkUserAuth:a}=K4();return O.useEffect(()=>{!i&&!r&&a()},[i,r,a]),r||!i?e:o?o.type==="user_not_registered"?d.jsx(X4,{}):t:n?d.jsx(SW,{}):t}const Fa={en:{hero:{tagline:"Maturity meets Innovation",badge_name:"DEP (DEAPcoin)",badge_sub:"Native token · DEP Protocol L1",h1:"Securing the Human Economy in the Age of AI.",subtitle:"The Layer 1 purpose-built for Human Verification, on Avalanche Subnet.",desc:"Six years in public markets â listed on Gate.io, MEXC, OKJ and more since 2020. Anchored on day one by 100,000+ verified humans from DEA's ecosystem. Value tied to real demand from the AI and adtech markets.",cta_primary:"Trade DEP on CMC",cta_secondary:"Join Developer Docs",stat_anchor_label:"Anchor Users",stat_market_label:"In Public Markets",stat_market_value:"6 yrs",stat_venue_label:"CEX + DEX Venues",stat_settlement_label:"Settlement Layer",live_label:"Live Network · Jul 2026",ticker1:"External revenue flywheel live",ticker2:"VHI Attestations: 1,284,933",ticker3:"Finality: < 1s",ticker4:"Gas: $0.0003 / tx"},market:{section_label:"00 / Market Proof · Global Availability",h1:"Continuous in public markets since 2020.",desc:"Six years in public markets is not a marketing claim â it is verifiable, daily-settled market data. DEP trades on major centralized exchanges including Gate.io, MEXC, and OKJ, and is routable through Ethereum and BSC-native DEXs.",cex_label:"Centralized Exchanges (CEX)",dex_label:"Decentralized Exchanges (DEX)",ref_label:"Canonical reference",ref_title:"CoinMarketCap · CoinGecko â Verified listings since 2020"},protocol:{section_label:"01 / Proof of Human Activity â PoHA",h1:"Not biometrics. Not passwords. Proof of being human.",desc:"PoHA (Proof of Human Activity) is a privacy-preserving, continuous verification mechanism that turns the natural patterns of how humans interact with devices into a Dynamic NFT-based identity proof.",philosophy_title:"Core Philosophy",philosophy:"Traditional verification asks you to prove who you are through documents or biometrics â one-time, static checks that can be spoofed or stolen. PoHA flips this: it continuously observes how you interact with your device, accumulating a composite behavioral fingerprint that is computationally impossible to fake in real-time.",comparison_title:"Biometrics vs PoHA",scores_title:"Score Interpretation"},ecosystem:{section_label:"02 / The Ecosystem Landscape",h1:"A committed anchor. Open rails for the rest.",desc:"Most new L1s launch empty and hope users arrive. DEP Protocol launches with a committed anchor â a Genesis Contributor delivering 100,000+ verified humans from day one â and scales outward to global enterprises who consume verification as a paid service.",fig_caption:"Fig. 02 · The Dual-Anchor Ecosystem",fig_title:"Public infrastru
236cture, anchored by a proven engine. Open to everyone.",dea_badge:"Anchor Utility · Committed",dea_genesis:"Genesis",dea_label:"Genesis Contributor",dea_name:"Digital Entertainment Asset (DEA)",dea_desc:"DEA supplies the protocol with 100,000+ active users across civic, regional, and infrastructural applications â continuously generating verified human signals. This is not a pilot. It is guaranteed day-one transaction volume.",dea_stat1:"Active Humans",dea_stat2:"Municipalities",dea_stat3:"Operating since",ent_badge:"Partnership · Expanding",ent_revenue:"Revenue Side",ent_label:"Global Enterprises",ent_name:"Consumers of Verification",ent_desc:"Enterprises consume Human Verification as a paid API. They pay in fiat or stablecoin; the protocol routes that revenue into DEP market-buys. This is the external revenue side of the flywheel â the real demand that sustains the token economy.",timeline_label:"Operational Timeline"},integrity:{section_label:"03 / Integrity Filter â VHI",h1:"Clean traffic. Provably human.",desc:"The Integrity Filter uses Verified Human Interaction (VHI) signals from the DEP Protocol to score and pre-filter ad traffic before a bid is placed â eliminating bot impressions at the source."},tech:{section_label:"04 / Technology â DEP Chain",h1:"Built on Avalanche. Purpose-built for humans.",desc:"DEP Protocol L1 is deployed as an Avalanche Subnet â combining Avalanche's proven consensus and validator economics with a custom execution environment optimized for Human Verification workloads."},tokenomics:{section_label:"05 / Tokenomics â The Flywheel",h1:"Real demand. Circular value.",desc:"The DEP economy runs on a closed-loop flywheel: external enterprise revenue enters the system, is routed into DEP buybacks, and the circulating supply decreases as protocol activity increases.",flywheel_title:"Revenue Flywheel",utilities_title:"Token Utilities"},validator:{section_label:"06 / Validators â Genesis Program",h1:"Become infrastru
236cture. Earn from the start.",desc:"DEP Protocol L1 runs on three validator tiers. Genesis Validators are the founding layer â a limited cohort of 24 partners who provision the initial network infrastructure and earn preferential economics.",program_title:"Genesis Validator Program",timeline_label:"Program Timeline"},cta:{h1:"The Human Economy needs infrastructure.",desc:"DEP Protocol is live. DEP has traded on public markets since 2020. Verified humans are already generating on-chain signals. The infrastructure exists. Now it opens to the world.",btn_trade:"Trade DEP on CMC",btn_docs:"Join Developer Docs",btn_contact:"Contact for Enterprise",integrators_title:"For Integrators"},footer:{tagline:"The Layer 1 for Human Verification. Six years in public markets. 100,000+ anchor humans. Value tied to real demand.",live_badge:"Mainnet Live · Since 2020",col_protocol:"Protocol",col_market:"Market",col_build:"Build",col_connect:"Connect",issuer_label:"Issuing Entity",japan_label:"Japan Operations",copyright:"© 2026 Digital Entertainment Asset Pte. Ltd. All rights reserved.",disclaimer:"This site does not constitute an offer to sell, or a solicitation of an offer to buy, any securities or tokens. Information presented is for general informational purposes only and may be subject to change. Participation in the DEP Protocol ecosystem may be restricted in certain jurisdictions. Consult local regulations before interacting with the protocol."}},ja:{hero:{tagline:"æç Ã é©æ°",badge_name:"DEP (DEAPcoin)",badge_sub:"ãã¤ãã£ããã¼ã¯ã³ · DEP Protocol L1",h1:"AIæä»£ã«ã人éã®çµæ¸åããå®ãã",subtitle:"äººéæ¤è¨¼ã®ããã«è¨è¨ããããã¬ã¤ã¤ã¼1ãAvalanche Subnet ä¸ã§ç¨¼åã",desc:"å
¬éå¸å ´ã§6å¹´éåå¼ããã¦ããè³ç£ââGate.ioã»MEXCã»OKJ ä»ã«2020å¹´ããä¸å ´ã忥ãã DEA ã¨ã³ã·ã¹ãã ã®æ¤è¨¼æ¸ã¿äººé10ä¸äººè¶
ããã©ã³ã¶ã¯ã·ã§ã³ã®åºåºãæ¯ãã¾ãã価å¤ã¯ãAIå¸å ´ã»åºåå¸å ´ããã®å®éã«ç´ã¥ãã¾ãã",cta_primary:"CMCã§DEPãåå¼",cta_secondary:"éçºè
ããã¥ã¡ã³ã",stat_anchor_label:"ã¢ã³ã«ã¼ã¦ã¼ã¶ã¼",stat_market_label:"å
¬éå¸å ´",stat_market_value:"6å¹´",stat_venue_label:"CEX + DEX",stat_settlement_label:"ã»ãã«ã¡ã³ã層",live_label:"ã©ã¤ããããã¯ã¼ã¯ · 2026å¹´7æ",ticker1:"å¤é¨åçãã©ã¤ãã¤ã¼ã«ç¨¼åä¸",ticker2:"VHI æ¤è¨¼ä»¶æ°: 1,284,933",ticker3:"ãã¡ã¤ããªãã£: <1ç§",ticker4:"ã¬ã¹: $0.0003 / tx"},market:{section_label:"00 / ãã¼ã±ããå®ç¸¾ · ã°ãã¼ãã«æµé",h1:"2020å¹´ãããå¸å ´ã§ç¶ç¶ãã¦ããã",desc:"6å¹´éãå¸å ´ã§åå¼ããã¦ããã¨ããäºå®ã¯ããã¼ã±ãã£ã³ã°ã³ãã¼ã§ã¯ãªããæ¥ã
ç´å®ããã¦ããæ¤è¨¼å¯è½ãªãªã³ãã§ã¼ã³ã»ãªã¼ãã¼ããã¯ã»ãã¼ã¿ã§ããDEP 㯠Gate.ioã»MEXCã»OKJ ãªã©ä¸»è¦ä¸å¤®é権å弿ã«ä¸å ´ããEthereumã»BSC ãã¤ãã£ãã®åæ£åå弿ã§ãåå¼å¯è½ã§ãã",cex_label:"ä¸å¤®é権å弿 (CEX)",dex_label:"忣åå弿 (DEX)",ref_label:"å
¬å¼åç
§å
",ref_title:"CoinMarketCap · CoinGecko â 2020å¹´ããä¸å ´ç¢ºèªæ¸ã¿"},protocol:{section_label:"01 / äººéæ´»å証æ â PoHA",h1:"çä½èªè¨¼ã§ãããã¹ã¯ã¼ãã§ããªãã人éã§ãããã¨ã®è¨¼æã",desc:"PoHAï¼Proof of Human Activityï¼ã¯ã人éãããã¤ã¹ã¨èªç¶ã«è¡ãã¤ã³ã¿ã©ã¯ã·ã§ã³ã®ãã¿ã¼ã³ããåçNFTãã¼ã¹ã®ã¢ã¤ãã³ãã£ãã£è¨¼æã«å¤æããããã©ã¤ãã·ã¼ä¿è·åã®ç¶ç¶æ¤è¨¼ã¡ã«ããºã ã§ãã",philosophy_title:"ã³ã¢å²å¦",philosophy:"徿¥ã®æ¤è¨¼ã¯ãæ¸é¡ãç使
å ±ã«ãããããªãã誰ããã®ä¸åº¦éãã®éçãªç¢ºèªãæ±ãã¾ãââããã¯å½é ã»çé£ãå¯è½ã§ããPoHAã¯ãããé転ããã¾ã: ããã¤ã¹ã¨ã®ã¤ã³ã¿ã©ã¯ã·ã§ã³ãç¶ç¶çã«è¦³å¯ãããªã¢ã«ã¿ã¤ã ã§ã®å½é ãã³ã³ãã¥ã¼ã¿çã«ä¸å¯è½ãªè¤åçè¡åãã£ã³ã¬ã¼ããªã³ããèç©ãã¾ãã",comparison_title:"çä½èªè¨¼ vs PoHA",scores_title:"ã¹ã³ã¢è§£é"},ecosystem:{section_label:"02 / ã¨ã³ã·ã¹ãã ã»ã©ã³ãã¹ã±ã¼ã",h1:"確ç´ãããã¢ã³ã«ã¼ããã¨ã¯ãéãããã¬ã¼ã«ã",desc:"大åã®æ°ãã L1 ã¯ã¦ã¼ã¶ã¼ãªãã§ç«ã¡ä¸ãããå¾ã
236ãæ¥ããã¨ãç¥ãã¾ããDEP Protocolã¯éãã¾ãââGenesis Contributor ã¨ãã¦ç¢ºç´ãããã¢ã³ã«ã¼ï¼æ¤è¨¼æ¸ã¿ã®äººé10ä¸äººè¶
ï¼ã¨ã¨ãã«ãã¼ã³ããããã®ä¸ã§ãæ¤è¨¼ãææãµã¼ãã¹ã¨ãã¦æ¶è²»ããã°ãã¼ãã«ä¼æ¥ã¸ã¹ã±ã¼ã«ãã¦ããã¾ãã",fig_caption:"å³ 02 · ãã¥ã¢ã«ã»ã¢ã³ã«ã¼ã»ã¨ã³ã·ã¹ãã ",fig_title:"DEAã¨ããæå¼·ã®ã¨ã³ã¸ã³ãæè¼ããã誰ã«ã§ãéããããããªãã¯ã¤ã³ãã©ã",dea_badge:"ã¢ã³ã«ã¼ã»ã¦ã¼ãã£ãªã㣠· 確ç´",dea_genesis:"ã¸ã§ãã·ã¹",dea_label:"ã¸ã§ãã·ã¹ã»ã³ã³ããªãã¥ã¼ã¿ã¼",dea_name:"æ ªå¼ä¼ç¤¾ DEA",dea_desc:"DEA ã¯ã叿°ã»å°åã»ã¤ã³ãã©é åã®10ä¸äººè¶
ã®ã¢ã¯ãã£ãã¦ã¼ã¶ã¼ãProtocolã«ä¾çµ¦ãã¾ããããããç¶ç¶çã«çºçããæ¤è¨¼ã·ã°ãã«ãããã©ã³ã¶ã¯ã·ã§ã³ã®åºåºãæ¯ãã¾ããããã¯ãã¤ãããã§ã¯ãªãã忥ããä¿è¨¼ãããåå¼éã§ãã",dea_stat1:"ã¢ã¯ãã£ã人é",dea_stat2:"èªæ²»ä½æ°",dea_stat3:"稼å",ent_badge:"ãã¼ããã¼ã·ãã · æ¡å¼µä¸",ent_revenue:"åçå´",ent_label:"ã°ãã¼ãã«ã»ã¨ã³ã¿ã¼ãã©ã¤ãº",ent_name:"æ¤è¨¼ã®å©ç¨è
",ent_desc:"ã¨ã³ã¿ã¼ãã©ã¤ãºã¯ãäººéæ¤è¨¼ãææ API ã¨ãã¦æ¶è²»ãã¾ããæ¯æãã¯æ³å®é貨ã¾ãã¯ã¹ãã¼ãã«ã³ã¤ã³ããã®åçãProtocolã DEP ã®å¸å ´è²·ä»ãã«è»¢æãã¾ããããããã©ã¤ãã¤ã¼ã«ã®å¤é¨åçå´ââãã¼ã¯ã³çµæ¸ãæ¯ãããå®éãã§ãã",timeline_label:"稼åå±¥æ´"},integrity:{section_label:"03 / ã¤ã³ãã°ãªãã£ã»ãã£ã«ã¿ã¼ â VHI",h1:"ã¯ãªã¼ã³ãªãã©ãã£ãã¯ã証æããã人éã",desc:"ã¤ã³ãã°ãªãã£ã»ãã£ã«ã¿ã¼ã¯ãDEP Protocolã® VHIï¼æ¤è¨¼æ¸ã¿ãã¥ã¼ãã³ã¤ã³ã¿ã©ã¯ã·ã§ã³ï¼ã·ã°ãã«ã使ç¨ãã¦ãå
¥æåã«åºåãã©ãã£ãã¯ãã¹ã³ã¢ãªã³ã°ã»äºåãã£ã«ã¿ãªã³ã°ãããããã¤ã³ãã¬ãã·ã§ã³ãæºæ³ã§æé¤ãã¾ãã"},tech:{section_label:"04 / ãã¯ããã¸ã¼ â DEP Chain",h1:"Avalancheä¸ã«æ§ç¯ã人éã®ããã«è¨è¨ã",desc:"DEP Protocol L1 㯠Avalanche Subnet ã¨ãã¦ãããã¤ããã¦ãããAvalanche ã®å®è¨¼æ¸ã¿ã³ã³ã»ã³ãµã¹ã¨ããªãã¼ã¿ã¼çµæ¸å¦ããäººéæ¤è¨¼ã¯ã¼ã¯ãã¼ãåãã«æé©åãããã«ã¹ã¿ã å®è¡ç°å¢ã¨çµã¿åããã¦ãã¾ãã"},tokenomics:{section_label:"05 / ãã¼ã¯ããã¯ã¹ â ãã©ã¤ãã¤ã¼ã«",h1:"å®éã循ç°ãã価å¤ã",desc:"DEP ã¨ã³ããã¼ã¯ã¯ãã¼ãºãã«ã¼ãã®ãã©ã¤ãã¤ã¼ã«ã§åãã¾ã: å¤é¨ã®ã¨ã³ã¿ã¼ãã©ã¤ãºåçãã·ã¹ãã ã«å
¥ããDEP ã®è²·ãæ»ãã«è»¢æãããProtocolã®æ´»åãå¢ããã»ã©æµéä¾çµ¦éãæ¸å°ãã¾ãã",flywheel_title:"åçãã©ã¤ãã¤ã¼ã«",utilities_title:"ãã¼ã¯ã³ã»ã¦ã¼ãã£ãªãã£"},validator:{section_label:"06 / ããªãã¼ã¿ã¼ â ã¸ã§ãã·ã¹ããã°ã©ã ",h1:"ã¤ã³ãã©ã«ãªããæåãã稼ãã",desc:"DEP Protocol L1 ã¯3層ã®ããªãã¼ã¿ã¼é層ã§åä½ãã¾ããGenesis Validator ã¯åµè¨å±¤ââåæãããã¯ã¼ã¯ã¤ã³ãã©ãæä¾ããåªéãããçµæ¸æ¡ä»¶ã§å ±é
¬ãå¾ãã24社ã®éå®ãã¼ããã¼ã§ãã",program_title:"ã¸ã§ãã·ã¹ã»ããªãã¼ã¿ã¼ããã°ã©ã ",timeline_label:"ããã°ã©ã ã¿ã¤ã ã©ã¤ã³"},cta:{h1:"人éçµæ¸åã«ã¯ãã¤ã³ãã©ãå¿
è¦ã ã",desc:"DEP Protocol ã¯ç¨¼åä¸ãDEP ã¯2020å¹´ããå
¬éå¸å ´ã§åå¼ããã¦ãã¾ããæ¤è¨¼æ¸ã¿ã®äººéãã¡ãããã§ã«ãªã³ãã§ã¼ã³ã·ã°ãã«ãçæãã¦ãã¾ããã¤ã³ãã©ã¯åå¨ãããä»ãä¸çã«éããã¾ãã",btn_trade:"CMCã§DEPãåå¼",btn_docs:"éçºè
ããã¥ã¡ã³ã",btn_contact:"ã¨ã³ã¿ã¼ãã©ã¤ãºã¸ã®ãåãåãã",integrators_title:"ã¤ã³ãã°ã¬ã¼ã¿ã¼åã"},footer:{tagline:"äººéæ¤è¨¼ã®ããã®ã¬ã¤ã¤ã¼1ãå
¬éå¸å ´ã§6å¹´éã®å®ç¸¾ã10ä¸äººè¶
ã®ã¢ã³ã«ã¼ã価å¤ã¯å®éã«ç´ã¥ãã",live_badge:"ã¡ã¤ã³ããã稼åä¸ Â· 2020ã",col_protocol:"Protocol",col_market:"ãã¼ã±ãã",col_build:"ãã«ã",col_connect:"SNS",issuer_label:"çºè¡ä¸»ä½",japan_label:"æ¥æ¬æ ç¹éå¶",copyright:"© 2026 Digital Entertainment Asset Pte. Ltd. All rights reserved.",disclaimer:"æ¬ãµã¤ãã¯ãæä¾¡è¨¼å¸ãããã¯ãã¼ã¯ã³ã®å£²ä»ãã®ç³è¾¼ã¿ãã¾ãã¯è²·ä»ãã®ç³è¾¼ã¿ã®å§èªãæ§æãããã®ã§ã¯ããã¾ãããæ²è¼æ
å ±ã¯ä¸è¬çãªæ
å ±æä¾ã®ã¿ãç®çã¨ããäºåãªã夿´ãããå ´åãããã¾ããDEP Protocolã»ã¨ã³ã·ã¹ãã ã¸ã®
236åå ã¯ãä¸é¨ã®æ³åã§å¶éãããå¯è½æ§ãããã¾ããProtocolãå©ç¨ããåã«ãå¿
ãåå°ã®é©ç¨æ³ä»¤ãã確èªãã ããã"}}},Y4=O.createContext(null);function HG(e,t){const n={en:LA(e.en),ja:LA(e.ja)};for(const r of t){const{section:i,key:o,en:a,ja:s}=r;if(!n.en[i]||!n.ja[i])continue;const c=o.split(".");$A(n.en[i],c,a),$A(n.ja[i],c,s)}return n}function LA(e){return JSON.parse(JSON.stringify(e))}function $A(e,t,n){if(!e||n===void 0||n===null)return;let r=e;for(let o=0;o<t.length-1;o++){if(r[t[o]]===void 0)return;r=r[t[o]]}const i=t[t.length-1];typeof r[i]=="string"&&(r[i]=n)}function WG({children:e}){const[t,n]=O.useState(()=>{try{return localStorage.getItem("dep-lang")||"en"}catch{return"en"}}),[r,i]=O.useState(Fa),o=O.useCallback(async()=>{try{const c=await Be.entities.Translation.list();c&&c.length>0?i(HG(Fa,c)):i(Fa)}catch{i(Fa)}},[]);O.useEffect(()=>{o()},[]),O.useEffect(()=>{document.documentElement.setAttribute("lang",t);try{localStorage.setItem("dep-lang",t)}catch{}},[t]);const a=c=>{n(c),document.documentElement.setAttribute("lang",c)},s=(c,f)=>{var g;const h=f.split(".");let p=(g=r[t])==null?void 0:g[c];for(const y of h){if(p==null)return"";p=p[y]}return typeof p=="string"?p:""};return d.jsx(Y4.Provider,{value:{lang:t,setLang:a,translations:r,t:s,reloadTranslations:o},children:e})}function Qr(){return O.useContext(Y4)}const J4="[email protected]";async function Q4(){if(!await Be.auth.isAuthenticated())return{isAdmin:!1,isSuperadmin:!1,user:null};const t=await Be.auth.me();return t?t.email===J4?{isAdmin:!0,isSuperadmin:!0,user:t}:{isAdmin:(await Be.entities.AdminUser.filter({email:t.email})).length>0,isSuperadmin:!1,user:t}:{isAdmin:!1,isSuperadmin:!1,user:null}}const VG="https://raw.githubusercontent.com/yamadakouzou-DEA/dep-protocol-lp/main/dep-symbol-only.png",FA=[{href:"#top",en:"HOME",ja:"HOME"},{href:"#insights",en:"Insights",ja:"ã¤ã³ãµã¤ã"},{href:"#news",en:"News",ja:"ãã¥ã¼ã¹"},{en:"Protocol",ja:"Protocol",children:[{href:"#protocol",en:"Protocol / PoHA",ja:"Protocol / PoHA"},{href:"#integrity",en:"Integrity",ja:"ã¤ã³ãã°ãªãã£"}]},{en:"Ecosystem",ja:"ã¨ã³ã·ã¹ãã ",children:[{href:"#ecosystem",en:"Ecosystem",ja:"ã¨ã³ã·ã¹ãã "},{href:"#market",en:"Market",ja:"ãã¼ã±ãã"},{href:"#validator",en:"Validator",ja:"ããªãã¼ã¿"}]},{en:"Technology",ja:"ãã¯ããã¸ã¼",children:[{href:"#tech",en:"Technology",ja:"ãã¯ããã¸ã¼"},{href:"#tokenomics",en:"Tokenomics",ja:"ãã¼ã¯ããã¯ã¹"}]},{href:"/docs",en:"Document",ja:"ããã¥ã¡ã³ã"}];function GG({item:e,lang:t,onNavigate:n}){const[r,i]=O.useState(!1),o=O.useRef(null);return e.children?d.jsxs("div",{ref:o,className:"relative",onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:[d.jsxs("button",{className:"flex items-center gap-1 text-[12px] text-bone-muted hover:text-bone transition-colors whitespace-nowrap",children:[t==="ja"?e.ja:e.en,d.jsx("svg",{className:`w-3 h-3 transition-transform duration-200 ${r?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),r&&d.jsx("div",{className:"absolute top-full left-0 pt-2 z-50",children:d.jsx("div",{className:"min-w-[180px] bg-black/90 backdrop-blur-xl border border-line rounded-xl py-1.5 shadow-2xl",children:e.children.map(a=>d.jsx("a",{href:a.href,onClick:s=>{s.preventDefault(),n(a.href)},className:"block px-4 py-2.5 text-[12px] text-bone-muted hover:text-bone hover:bg-white/5 transition-colors cursor-pointer whitespace-nowrap",children:t==="ja"?a.ja:a.en},a.href))})})]}):d.jsx("a",{href:e.href,onClick:a=>{a.preventDefault(),n(e.href)},className:"text-[12px] text-bone-muted hover:text-bone transition-colors cursor-pointer whitespace-nowrap",children:t==="ja"?e.ja:e.en})}function es(){const{lang:e,setLang:t}=Qr(),[n,r]=O.useState(!1),[i,o]=O.useState(null),[a,s]=O.useState(!1);O.useEffect(()=>{Q4().then(({isAdmin:f})=>s(f))},[]);const c=f=>{if(r(!1),f.startsWith("/")){window.location.href=f;return}if(window.location.pathname!=="/"){window.location.href="/"+f;return}const h=document.querySelector(f);h&&h.scrollIntoView({behavior:"smooth"})};return d.jsxs(d.Fragment,{children:[d.jsxs("header",{className:"fixed top-0 left-0 right-0 z-50",children:[d.jsx("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-xl border-b border-line"}),d.jsxs("nav",{className:"relative mx-auto max-w-[1400px] flex items-center justify-between px-6 lg:px-10 h-16",children:[d.jsxs("a",{href:"/",className:"flex items-center gap-2.5",children:[d.jsxs("div",{className:"relative flex items-center",children:[d.jsx("img",{src:VG,alt:"DEP symbol",className:"relative w-6 h-6 object-contain z-10"}),d.jsx("div",{className:"absolute inset-0 w-6 h-6 bg-signal-yellow/40 blur-md opacity-60 pointer-events-none"})]}),d.jsxs("span",{className:"font-display font-bold tracking-tight text-[15px]",children:[d.jsx("span",{className:"en-only",children:"DEP Protocol"}),d.jsx("span",{className:"ja-only",children:"DEP Protocol"})]}),d.jsxs("span",{className:"hidden md:inline-block ml-2 px-2 py-0.5 text-[10px] font-mono-x uppercase tracking-widest text-bone-dim border border-line-bright rounded",children:[d.jsx("span",{className:"en-only",children:"Since 2020"}),d.jsx("span",{className:"ja-only",children:"2020ã"})]})]}),d.jsx("div",{className:"hidden lg:flex items-center gap-5",children:FA.map((f,h)=>d.jsx(GG,{item:f,lang:e,onNavigate:c},h))}),d.jsxs("div",{className:"flex items-center gap-3",children:[a&&d.jsx(qi,{to:"/dep-ops-7f3a2c",className:"text-xs font-mono-x text-bone-muted hover:text-bone transition-colors px-3 py-1.5 rounded-full border border-line-bright hover:border-signal-yellow/20",children:"Admin"}),d.jsxs("div",{className:"lang-toggle",role:"group",children:[d.jsx("button",{type:"button",onClick:()=>t("en"),className:e==="en"?"active":"",children:"EN"}),d.jsx("button",{type:"button",onClick:()=>t("ja"),className:e==="ja"?"active":"",children:"JP"})]}),d.jsx("button",{className:"lg:hidden p-2 text-bone",onClick:()=>r(!0),children:d.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})]})]})]}),n&&d.jsxs("div",{className:"fixed inset-0 z-[100] bg-black/95 backdrop-blur-2xl flex flex-col overflow-y-auto",children:[d.jsxs("div",{className:"flex items-center justify-between px-6 h-16 border-b border-line flex-shrink-0",children:[d.jsx("span",{className:"font-display font-bold text-[15px] text-bone",children:"Menu"}),d.jsx("button",{className:"p-2 text-bone",onClick:()=>r(!1),children:d.jsx("svg",{className:"w-7 h-7",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),d.jsx("div",{className:"flex flex-col px-6 py-8 gap-1",children:FA.map((f,h)=>
236{if(!f.children)return d.jsx("button",{onClick:()=>c(f.href),className:"text-left text-2xl font-display font-bold text-bone hover:text-signal-yellow transition-colors py-3 border-b border-line",children:e==="ja"?f.ja:f.en},h);const p=i===h;return d.jsxs("div",{className:"border-b border-line",children:[d.jsxs("button",{onClick:()=>o(p?null:h),className:"w-full flex items-center justify-between text-left text-2xl font-display font-bold text-bone hover:text-signal-yellow transition-colors py-3",children:[e==="ja"?f.ja:f.en,d.jsx("svg",{className:`w-5 h-5 transition-transform duration-200 ${p?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),p&&d.jsx("div",{className:"pl-4 pb-3 flex flex-col gap-1",children:f.children.map(g=>d.jsx("button",{onClick:()=>c(g.href),className:"text-left text-lg text-bone-muted hover:text-bone transition-colors py-2",children:e==="ja"?g.ja:g.en},g.href))})]},h)})}),d.jsx("div",{className:"flex items-center gap-4 px-6 pb-10 mt-auto",children:d.jsxs("div",{className:"lang-toggle",children:[d.jsx("button",{type:"button",onClick:()=>t("en"),className:e==="en"?"active":"",children:"EN"}),d.jsx("button",{type:"button",onClick:()=>t("ja"),className:e==="ja"?"active":"",children:"JP"})]})})]})]})}const KG="https://media.base44.com/images/public/6a21450e8a7d865f41620951/b1fa2b7b5_generated_image.png",XG="https://raw.githubusercontent.com/yamadakouzou-DEA/dep-protocol-lp/main/dep-symbol-only.png";function YG(){return d.jsxs("section",{id:"top",className:"relative min-h-screen flex flex-col justify-center pt-16 pb-10 overflow-hidden",children:[d.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[d.jsx("img",{src:KG,alt:"","aria-hidden":"true",className:"absolute right-0 top-0 h-full w-full lg:w-[70%] object-cover object-right select-none",style:{opacity:.55,mixBlendMode:"screen"}}),d.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black via-black/80 to-black/30 lg:to-black/20"}),d.jsx("div",{className:"absolute inset-x-0 bottom-0 h-40 bg-gradient-to-b from-transparent to-black"})]}),d.jsx("div",{className:"absolute inset-0 grid-bg pointer-events-none opacity-60"}),d.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:d.jsx("div",{className:"absolute left-0 right-0 h-px bg-gradient-to-r from-transparent via-signal-yellow/30 to-transparent animate-scan-line"})}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10 z-10 pt-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-10",children:[d.jsx("div",{className:"h-px w-10 bg-signal-yellow/60"}),d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"Maturity meets Innovation"}),d.jsx("span",{className:"ja-only",children:"æç Ã é©æ°"})]})]}),d.jsxs("div",{className:"inline-flex items-center gap-3 mb-8 px-4 py-2.5 border border-signal-yellow/30 rounded-full bg-signal-yellow/[0.04] backdrop-blur-sm",children:[d.jsx("img",{src:XG,alt:"DEP (DEAPcoin) symbol",className:"w-5 h-5 object-contain"}),d.jsxs("span",{className:"font-display font-bold tracking-tight text-[14px]",style:{color:"#FFD700"},children:["DEP ",d.jsx("span",{style:{color:"rgba(255,215,0,0.65)"},children:"(DEAPcoin)"})]}),d.jsx("span",{className:"w-px h-3 bg-signal-yellow/30"}),d.jsxs("span",{className:"text-[10px] font-mono-x uppercase tracking-widest",style:{color:"rgba(255,215,0,0.75)"},children:[d.jsx("span",{className:"en-only",children:"Native token · DEP Protocol L1"}),d.jsx("span",{className:"ja-only",children:"ãã¤ãã£ããã¼ã¯ã³ · DEP Protocol L1"})]})]}),d.jsxs("h1",{className:"en-only font-display font-bold leading-[0.92] tracking-mega-tight text-balance max-w-[18ch] text-bone",style:{fontSize:"clamp(2.2rem, 6vw, 6rem)"},children:["In the Age of AI,",d.jsx("br",{className:"hidden sm:inline"}),"Proving ",d.jsx("span",{className:"font-serif-x italic font-normal text-signal-yellow",children:"Human"})," Activity",d.jsx("br",{className:"hidden sm:inline"})," in the Digital Space."]}),d.jsxs("h1",{className:"ja-only font-display font-bold leading-[1.05] tracking-tight text-balance max-w-[20ch] jp-tight text-bone",style:{fontSize:"clamp(2rem, 5.5vw, 5rem)"},children:["AIæä»£ã«ã",d.jsx("br",{className:"hidden sm:inline"}),"ãã¸ã¿ã«ç©ºéã§",d.jsx("br",{className:"hidden sm:inline"}),d.jsx("span",{className:"font-serif-x italic font-normal text-signal-yellow",children:"人é"}),"ã®è¡åã証æããã"]}),d.jsxs("div",{className:"mt-10 lg:mt-14 grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-16",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("p",{className:"en-only text-[18px] lg:text-[21px] leading-[1.45] text-bone max-w-[54ch] text-pretty font-medium",children:["The Layer 1 purpose-built for Human Verification,",d.jsx("br",{className:"hidden md:inline"}),"on ",d.jsx("span",{className:"text-signal-red",children:"Avalanche L1"}),"."]}),d.jsxs("p",{className:"ja-only text-[17px] lg:text-[20px] leading-[1.65] text-bone max-w-[44ch] text-pretty font-medium",children:["äººéæ¤è¨¼ã®ããã«è¨è¨ãããã",d.jsx("br",{className:"hidden md:inline"}),"ã¬ã¤ã¤ã¼1ã",d.jsx("span",{className:"text-signal-red",children:"Avalanche L1"})," ä¸ã§ç¨¼åã"]}
236),d.jsxs("p",{className:"en-only mt-5 text-[15px] lg:text-[16px] leading-[1.65] text-bone-muted max-w-[58ch] text-pretty",children:["Six years in public markets â listed on Gate.io, MEXC, OKJ and more since 2020. Anchored on day one by 100,000+ verified humans from DEA's ecosystem. Value tied to ",d.jsx("span",{className:"text-bone",children:"real demand"})," from the AI and adtech markets."]}),d.jsxs("p",{className:"ja-only mt-5 text-[14px] lg:text-[15px] leading-[1.85] text-bone-muted max-w-[52ch] text-pretty",children:["å
¬éå¸å ´ã§6å¹´éåå¼ããã¦ããè³ç£ââGate.ioã»MEXCã»OKJ ä»ã«2020å¹´ããä¸å ´ã忥ãã DEA ã¨ã³ã·ã¹ãã ã®æ¤è¨¼æ¸ã¿äººé10ä¸äººè¶
ããã©ã³ã¶ã¯ã·ã§ã³ã®åºåºãæ¯ãã¾ãã価å¤ã¯ã",d.jsx("span",{className:"text-bone",children:"AIå¸å ´ã»åºåå¸å ´ããã®å®é"}),"ã«ç´ã¥ãã¾ãã"]}),d.jsx("div",{className:"mt-10 flex flex-wrap items-center gap-3",children:d.jsxs("a",{href:"/docs",className:"btn-yellow inline-flex items-center gap-2 px-6 h-12 rounded-full text-[14px]",children:[d.jsx("span",{className:"en-only",children:"Documentation"}),d.jsx("span",{className:"ja-only",children:"ããã¥ã¡ã³ã"})]})})]}),d.jsxs("div",{className:"lg:col-span-5 lg:border-l lg:border-line lg:pl-10",children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-5",children:[d.jsx("span",{className:"en-only",children:"Mainnet Launch · Jul 2026"}),d.jsx("span",{className:"ja-only",children:"ã¡ã¤ã³ããããã¼ã³ã · 2026å¹´7æ"})]}),d.jsxs("dl",{className:"grid grid-cols-2 gap-y-7 gap-x-6",children:[d.jsxs("div",{children:[d.jsxs("dt",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"Anchor Users"}),d.jsx("span",{className:"ja-only",children:"ã¢ã³ã«ã¼ã¦ã¼ã¶ã¼"})]}),d.jsxs("dd",{className:"mt-2 font-display text-4xl lg:text-5xl mono-num tracking-ultra-tight",children:["100,000",d.jsx("span",{className:"text-signal-yellow",children:"+"})]})]}),d.jsxs("div",{children:[d.jsxs("dt",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"In Public Markets"}),d.jsx("span",{className:"ja-only",children:"å
¬éå¸å ´"})]}),d.jsxs("dd",{className:"mt-2 font-display text-4xl lg:text-5xl mono-num tracking-ultra-tight",children:["6",d.jsx("span",{className:"text-bone-dim text-2xl",children:" yrs"})]})]}),d.jsxs("div",{children:[d.jsxs("dt",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"CEX + DEX Venues"}),d.jsx("span",{className:"ja-only",children:"CEX + DEX"})]}),d.jsxs("dd",{className:"mt-2 font-display text-4xl lg:text-5xl mono-num tracking-ultra-tight",children:["10",d.jsx("span",{className:"text-signal-yellow",children:"+"})]})]}),d.jsxs("div",{children:[d.jsxs("dt",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"Settlement Layer"}),d.jsx("span",{className:"ja-only",children:"ã»ãã«ã¡ã³ã層"})]}),d.jsxs("dd",{className:"mt-2 font-display text-2xl lg:text-3xl tracking-tight flex items-center gap-2",children:[d.jsx("span",{className:"inline-block w-2 h-2 rounded-full bg-signal-red",style:{boxShadow:"0 0 12px rgba(230,0,18,.7)"}}),"Avalanche"]})]})]})]})]})]})]})}const JG={use_case:{en:"Use Case",ja:"æç¨æ§"},case_study:{en:"Case Study",ja:"äºä¾"},technology:{en:"Technology",ja:"ãã¯ããã¸ã¼"},other:{en:"Other",ja:"ãã®ä»"}};function QG(){const{lang:e}=Qr(),[t,n]=O.useState([]);return O.useEffect(()=>{Be.entities.Article.filter({is_published:!0},"-published_at",20).then(n).catch(()=>n([]))},[]),t.length===0?null:d.jsxs("section",{id:"insights",className:"relative py-12 lg:py-16 border-b border-line overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 grid-bg-fine pointer-events-none opacity-30"}),d.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[40vw] h-[24vw] bg-signal-yellow/[0.03] rounded-full blur-[140px] pointer-events-none"}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-10",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"Insights"}),d.jsx("span",{className:"ja-only",children:"ã¤ã³ãµã¤ã"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("h2",{className:"en-only font-display font-bold leading-[1.0] tracking-ultra-tight text-balance text-bone mb-3",style:{fontSize:"clamp(1.8rem,4.5vw,3.2rem)"},children:["Proof of human, ",d.jsx("span",{className:"text-signal-yellow",children:"in practice"}),"."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.2] tracking-tight text-balance jp-tight text-bone mb-3",style:{fontSize:"clamp(1.7rem,4.2vw,3rem)"},children:["人é証æã®",d.jsx("span",{className:"text-signal-yellow",children:"å®è·µ"}),"ã¨äºä¾ã"]}),d.jsx("p",{className:"en-only text-[15px] leading-[1.7] text-bone-muted text-pretty mb-10 max-w-[64ch]",children:"Use cases and field notes on why verifiable human activity matters across AI, advertising, and robotics."}),d.jsx("p",{className:"ja-only text-[14px] leading-[1.85] text-bone-muted text-pretty mb-10 max-w-[60ch]",children:"AIã»åºåã»ãããã£ã¯ã¹é åã«ããã¦ãæ¤è¨¼å¯è½ãªäººéæ´»åããªãéè¦ãªã®ããæç¨æ§ã¨äºä¾ãç´¹ä»ãã¾ãã"}),d.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",children:t.map(r=>{const i=e==="ja"?r.title_ja:r.title_en,o=e==="ja"?r.summary_ja||r.summary_en:r.summary_en||r.summary_ja,a=JG[r.category]||{en:r.category,ja:r.category};return d.jsxs(qi,{to:`/articles/${r.id}`,className:"group block border border-line bg-ink-100 rounded-xl overflow-hidden hover:border-signal-yellow/30 transition-all duration-200 hover:-translate-y-0.5",children:[r.header_image&&d.jsx("div",{className:"aspect-[16/7] overflow-hidden bg-ink-200",children:d.jsx("img",{src:r.header_image,alt:i,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})}),d.jsxs("div",{className:"p-5",children:[d.jsxs("div",{className:"flex items-center justify-between mb-3",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest px-2 py-0.5 rounded-full border border-signal-yellow/25 text-signal-yellow bg-signal-yellow/5",children:e==="ja"?a.ja:a.en}),r.published_at&&d.jsx("span",{className:"text-[11px] font-mono-x text-bone-faint",children:new Date(r.published_at).toLocaleDateString(e==="ja"?"ja-JP":"en-US",{year:"numeric",month:"short",day:"numeric"})})]}),d.jsx("h3",{className:"font-display font-semibold text-[16px] leading-snug text-bone mb-2 line-clamp-2",children:i}),o&&d.jsx("p",{className:"text-[13px] text-bone-muted leading-relaxed line-clamp-3",children:o}),d.jsx("div",{className:"mt-4 text-[12px] font-mono-x text-signal-yellow group-hover:underline",children:e==="en"?"Read article â":"è¨äºãèªã â"})]})]},r.id)})})]})]})}const Pv={announcement:{en:"Announcement",ja:"ãç¥ãã"},partnership:{en:"Partnership",ja:"ãã¼ããã¼ã·ãã"},technology:{en:"Technology",ja:"ãã¯ããã¸ã¼"},community:{en:"Community",ja:"ã³ãã¥ããã£"}};function ZG(){var o,a;const{lang:e}=Qr(),[t,n]=O.useState([]),[r,i]=O.useState(null);return O.useEffect(()=>{Be.entities.NewsArticle.filter({is_published:!0},"-published_at",20).then(n).catch(()=>n([]))},[]),t.length===0?null:d.jsxs("section",{id:"news",className:"relative py-10 lg:py-14 border-b border-line",children:[d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-10",children:[d.jsx("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-bone-dim",children:e==="en"?"Latest News":"ææ°ãã¥ã¼ã¹"}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",children:t.map(s=>{const c=e==="ja"?s.title_ja:s.title_en,f=e==="ja"?s.body_ja:s.body_en,h=Pv[s.category]||{en:s.category,ja:s.category};return d.jsxs("article",{onClick:()=>i(s),className:"group cursor-pointer border border-line bg-ink-100 rounded-xl overflow-hidden hover:border-signal-yellow/30 transition-all duration-200 hover:-translate-y-0.5",children:[s.header_image&&d.jsx("div",{className:"aspect-[16/7] overflow-hidden bg-ink-200",children:d.jsx("img",{src:s.header_image,alt:c,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})}),d.jsxs("div",{className:"p-5",children:[d.jsxs("div",{className:"flex items-center justify-between mb-3",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest px-2 py-0.5 rounded-full border border-signal-yellow/25 text-signal-yellow bg-signal-yellow/5",children:e==="ja"?h.ja:h.en}),s.published_at&&d.jsx("span",{className:"text-[11px] font-mono-x text-bone-faint",children:new Date(s.published_at).toLocaleDateString(e==="ja"?"ja-JP":"en-US",{year:"numeric",month:"short",day:"numeric"})})]}),d.jsx("h3",{className:"font-display font-semibold text-[16px] leading-snug text-bone mb-2 line-clamp-2",children:c}),f&&d.jsx("p",{className:"text-[13px] text-bone-muted leading-relaxed line-clamp-3",children:f}),d.jsx("div",{className:"mt-4 text-[12px] font-mono-x text-signal-yellow group-hover:underline",children:e==="en"?"Read more â":"ç¶ããèªã â"})]})]},s.id)})})]}),r&&d.jsx("div",{className:"fixed inset-0 z-[200] flex items-center justify-center p-4 bg-black/80 backdrop-blur-sm",onClick:()=>i(null),children:d.jsxs("div",{className:"relative bg-ink-100 border border-line rounded-2xl max-w-2xl w-full max-h-[90vh] overflow-y-auto",onClick:s=>s.stopPropagation(),children:[d.jsx("button",{onClick:()=>i(null),className:"absolute top-4 right-4 z-10 p-2 rounded-full bg-ink-200 hover:bg-ink-300 transition-colors text-bone-muted hover:text-bone",children:d.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),r.header_image&&d.jsx("img",{src:r.header_image,alt:"",className:"w-full aspect-[16/7] object-cover rounded-t-2xl"}),d.jsxs("div",{className:"p-7",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest px-2 py-0.5 rounded-full border border-signal-yellow/25 text-signal-yellow bg-signal-yellow/5",children:e==="ja"?(o=Pv[r.category])==null?void 0:o.ja:(a=Pv[r.category])==null?void 0:a.en}),r.published_at&&d.jsx("span",{className:"text-[11px] font-mono-x text-bone-faint",children:new Date(r.published_at).toLocaleDateString(e==="ja"?"ja-JP":"en-US",{year:"numeric",month:"long",day:"numeric"})})]}),d.jsx("h2",{className:"font-display font-bold text-2xl lg:text-3xl tracking-tight text-bone mb-5",children:e==="ja"?r.title_ja:r.title_en}),d.jsx("p",{className:"text-[15px] text-bone-muted leading-[1.75] whitespace-pre-wrap",children:e==="ja"?r.body_ja:r.body_en})]})]})})]})}function eK(){return d.jsxs("section",{id:"integrity",className:"relative py-14 lg:py-20 overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 grid-bg-fine pointer-events-none opacity-40"}),d.jsx("div",{className:"absolute top-0 left-0 w-[35vw] h-[35vw] bg-signal-red/5 rounded-full blur-[120px] pointer-events-none"}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-10",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"01 / Problem & Market"}),d.jsx("span",{className:"ja-only",children:"01 / 課é¡ã¨å¸å ´"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-12",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("h2",{className:"en-only font-display font-bold leading-[0.95] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(2rem,5vw,4.2rem)"},children:["The bottleneck isnât compute.",d.jsx("br",{}),"Itâs ",d.jsx("span",{className:"text-signal-yellow",children:"provenance"}),"."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.15] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.8rem,4.5vw,3.6rem)"},children:["ããã«ããã¯ã¯è¨ç®åã§ã¯ãªãã",d.jsx("br",{}),d.jsx("span",{className:"text-signal-yellow",children:"æ¥æ´"}),"ã ã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-4",children:[d.jsx("p",{className:"en-only text-[15px] lg:text-[16
236px] leading-[1.65] text-bone-muted text-pretty",children:"The demand-side signal is unmistakable. Advanced AI labs face a billion-dollar data bottleneck â the open internet is, for practical purposes, scraped dry. What remains is either expensive and bespoke, or legally unstructured. Labs lack the infrastructure to procure at scale, prove provenance, and guarantee quality."}),d.jsx("p",{className:"ja-only text-[14px] lg:text-[15px] leading-[1.85] text-bone-muted text-pretty",children:"éè¦å´ã®ã·ã°ãã«ã¯æç¢ºã§ããå
é²çãªAIã©ãã¯æ°ååãã«è¦æ¨¡ã®ãã¼ã¿ããã«ããã¯ã«ç´é¢ããã¤ã³ã¿ã¼ãããã¯å®è³ªçã«ã¹ã¯ã¬ã¤ãã³ã°ãå°½ãããã¦ãã¾ããæ®ãããä¾çµ¦ã¯ãé«ä¾¡ã§åå¥çããæ³çã«æªæ´çãã©ãã«ã¯å¤§è¦æ¨¡ã«ãã¼ã¿ã調éããæ¥æ´ã証æããå質ãä¿è¨¼ããææ®µãããã¾ããã"})]})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-px bg-line border border-line rounded-xl overflow-hidden mb-10",children:[d.jsxs("div",{className:"lg:col-span-7 bg-ink-100 p-7 lg:p-9",children:[d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-4",children:[d.jsx("span",{className:"en-only",children:"The Scarce Supply"}),d.jsx("span",{className:"ja-only",children:"å¸å°ãªä¾çµ¦"})]}),d.jsxs("p",{className:"en-only text-[16px] lg:text-[18px] leading-[1.55] text-bone text-pretty",children:["Data that is ",d.jsx("span",{className:"text-signal-yellow",children:"licensed"}),", ",d.jsx("span",{className:"text-signal-yellow",children:"human-created"}),", and ",d.jsx("span",{className:"text-signal-yellow",children:"quality-verified"})," is in critically short supply. This is the gap DEP Protocol fills."]}),d.jsxs("p",{className:"ja-only text-[15px] lg:text-[17px] leading-[1.75] text-bone text-pretty",children:[d.jsx("span",{className:"text-signal-yellow",children:"ã©ã¤ã»ã³ã¹æ¸ã¿"}),"ã§ã",d.jsx("span",{className:"text-signal-yellow",children:"人éã使ã"}),"ã",d.jsx("span",{className:"text-signal-yellow",children:"å質ãæ
ä¿ããã"}),"ãã¼ã¿ã¯ãä¾çµ¦ã極ãã¦éããã¦ãã¾ãããã®é åãããDEP Protocolãåãã空ç½ã§ãã"]})]}),d.jsxs("div",{className:"lg:col-span-5 bg-signal-yellow/[0.03] p-7 lg:p-9 border-l-0 lg:border-l border-signal-yellow/20",children:[d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-signal-yellow/80 mb-4",children:[d.jsx("span",{className:"en-only",children:"DEPâs Role"}),d.jsx("span",{className:"ja-only",children:"DEPã®å½¹å²"})]}),d.jsx("p",{className:"en-only text-[15px] leading-[1.6] text-bone text-pretty",children:"The engine that stably supplies high-quality, provenance-verified, human-activity data â at scale."}),d.jsx("p",{className:"ja-only text-[14px] leading-[1.8] text-bone text-pretty",children:"å®å®ãã¦é«å質ãªãæ¥æ´è¨¼æä»ãã®äººéæ´»åãã¼ã¿ããå¤§è¦æ¨¡ã«ä¾çµ¦ããã¨ã³ã¸ã³ã"})]})]}),d.jsxs("div",{className:"border border-line bg-ink-100/60 rounded-xl p-5 lg:p-6 flex flex-col md:flex-row md:items-center gap-4 md:gap-6",children:[d.jsxs("div",{className:"flex items-center gap-3 flex-shrink-0",children:[d.jsx("span",{className:"dot-red"}),d.jsxs("span",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint whitespace-nowrap",children:[d.jsx("span",{className:"en-only",children:"Application · Ad-Tech"}),d.jsx("span",{className:"ja-only",children:"å¿ç¨ä¾ · ã¢ããã¯"})]})]}),d.jsxs("p",{className:"en-only text-[13px] leading-[1.6] text-bone-muted text-pretty",children:["The same verification layer filters invalid traffic in real time â sub-second, pre-bid â against the ",d.jsx("span",{className:"text-bone",children:"$172B"})," ad-fraud problem projected by 2028 (Juniper Research)."]}),d.jsxs("p",{className:"ja-only text-[12px] leading-[1.75] text-bone-muted text-pretty",children:["åãæ¤è¨¼ã¬ã¤ã¤ã¼ãã2028å¹´ã¾ã§ã«",d.jsx("span",{className:"text-bone",children:"1,720åãã«"}),"ã«éããã¨äºæ¸¬ãããï¼Juniper Researchï¼åºå䏿£ã«å¯¾ãã1ç§æªæºã»å
¥æåã§ä¸æ£ãã©ãã£ãã¯ããªã¢ã«ã¿ã¤ã ã«é®æãã¾ãã"]})]})]})]})}const tK="https://raw.githubusercontent.com/yamadakouzou-DEA/dep-protocol-lp/main/dep-protocol-lp-visual01.png";function nK(){return d.jsxs("section",{id:"protocol",className:"relative py-14 lg:py-20",children:[d.jsx("div",{className:"absolute inset-0 grid-bg-fine pointer-events-none opacity-60"}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-12",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"02 / S
236olution"}),d.jsx("span",{className:"ja-only",children:"02 / ã½ãªã¥ã¼ã·ã§ã³"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-14",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("h2",{className:"en-only font-display font-bold leading-[0.95] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(2rem,5vw,4.2rem)"},children:["Beyond ",d.jsx("span",{className:"font-serif-x italic font-normal",children:"Biometrics"}),".",d.jsx("br",{}),"Proof of ",d.jsx("span",{className:"text-signal-yellow",children:"Human Activity"}),"."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.15] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.8rem,4.5vw,3.6rem)"},children:[d.jsx("span",{className:"font-serif-x italic font-normal",children:"çä½èªè¨¼"}),"ã®ããã®å
ã¸ã",d.jsx("br",{}),d.jsx("span",{className:"text-signal-yellow",children:"è¡å"}),"ã«ããã人é証æã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-6",children:[d.jsxs("p",{className:"en-only text-[17px] lg:text-[18px] leading-[1.6] text-bone-muted text-pretty",children:["Iris scans require specialized hardware, store the most sensitive data a human carries, and have been ",d.jsx("span",{className:"text-bone",children:"banned or suspended"})," in multiple jurisdictions.",d.jsx("br",{}),d.jsx("br",{}),"We took a different path: verifying personhood by comprehensively capturing and scoring human-specific movements on the device. Privacy is preserved â and it delivers a ",d.jsx("span",{className:"text-signal-yellow",children:"proof of humanity"})," that is extremely difficult for bots and AI to replicate."]}),d.jsxs("p",{className:"ja-only text-[15px] lg:text-[17px] leading-[1.85] text-bone-muted text-pretty",children:["è¹å½©ã¹ãã£ã³ã¯å°ç¨ãã¼ãã¦ã§ã¢ãå¿
è¦ã¨ãã人éã«ã¨ã£ã¦æãç¹ç´°ãªãã¼ã¿ãæ±ãããã§ã«",d.jsx("span",{className:"text-bone",children:"è¤æ°ã®æ³åã§ç¦æ¢ã»åæ¢"}),"ããã¦ãã¾ãã",d.jsx("br",{}),d.jsx("br",{}),"ç§ãã¡ã¯å¥ã®éãé¸ã³ã¾ããââ人éã§ãããã¨ããããã¤ã¹ã«ãã人éç¹æã®åããè¤åçã«æ¤è¨¼ãã¹ã³ã¢åãã¾ãããã©ã¤ãã·ã¼ã¯ä¿å
¨ãããããã«ããããAIããæ¨¡å£ãããã¨ã¯æ¥µãã¦å°é£ãª",d.jsx("span",{className:"text-signal-yellow",children:"人é証æ"}),"ãæä¾ãã¾ãã"]})]})]}),d.jsxs("figure",{className:"relative mb-16 lg:mb-20 overflow-hidden rounded-2xl border border-line bg-ink-100",children:[d.jsx("img",{src:tK,alt:"Beyond Biometrics â PoHA illustration",className:"w-full h-auto block"}),d.jsxs("figcaption",{className:"absolute bottom-0 inset-x-0 px-6 py-5 bg-gradient-to-t from-black/90 via-black/60 to-transparent",children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-signal-yellow mb-1",children:[d.jsx("span",{className:"en-only",children:"Fig. 01 · The Core Philosophy"}),d.jsx("span",{className:"ja-only",children:"å³ 01 · ã³ã¢ã»ãã£ãã½ãã£ã¼"})]}),d.jsxs("div",{className:"font-display text-[17px] lg:text-xl font-semibold text-bone",children:[d.jsx("span",{className:"en-only",children:"We donât extract biometrics. We turn activity into value."}),d.jsx("span",{className:"ja-only",children:"ç使
å ±ã奪ãã®ã§ã¯ãªããæ´»åã価å¤ã«å¤ããã"})]})]})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-px bg-line border border-line rounded-xl overflow-hidden",children:[d.jsxs("div",{className:"relative bg-ink-100 p-8 lg:p-10",children:[d.jsxs("div",{className:"flex items-center justify-between mb-8",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("span",{className:"w-2 h-2 rounded-full bg-bone-dim"}),d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"Status Quo"}),d.jsx("span",{className:"ja-only",children:"ç¾ç¶"})]})]}),d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint",children:[d.jsx("span",{className:"en-only",children:"Biometric PoP"}),d.jsx("span",{className:"ja-only",children:"çä½èªè¨¼ PoP"})]})]}),d.jsxs("h3",{className:"font-display text-3xl lg:text-4xl font-semibold tracking-tight mb-2 text-bone-muted",children:[d.jsx("span",{className:"en-only",children:"Biometric Verification"}),d.jsx("span",{className:"ja-only",children:"çä½èªè¨¼"})]}),d.jsxs("p",{className:"text-[13px] text-bone-dim mb-8",children:[d.jsx("span",{className:"en-only",children:"Iris · Face · Fingerprint · Hardware-gated"}),d.jsx("span",{className:"ja-only",children:"è¹å½© · é¡ Â· æç´ · ãã¼ãã¦ã§ã¢ä¾å"})]}),d.jsx("ul",{className:"space-y-4 text-[15px]",children:[{k:"Hardware",kj:"ãã¼ãã¦ã§ã¢",v:"Specialized capture device required (Orb, scanner)",vj:"å°
236ç¨ãã£ããã£æ©å¨ï¼Orbãã¹ãã£ãçï¼ãå¿
è¦"},{k:"Data",kj:"ãã¼ã¿",v:"Biometric templates stored or hashed offchain",vj:"çä½ãã³ãã¬ã¼ãããªããã§ã¼ã³ã«ä¿åã¾ãã¯ããã·ã¥å"},{k:"Regulation",kj:"è¦å¶",v:"GDPR, CCPA, jurisdictional bans",vj:"GDPRã»CCPAã»æ³åå¥ã®ç¦æ¢æªç½®"},{k:"Representation",kj:"表ç¾å½¢å¼",v:"Static, single snapshot of one moment",vj:"éçãããä¸ç¬ã®ã¹ãããã·ã§ãã"},{k:"Liveness",kj:"ã©ã¤ããã¹",v:"Spoofable with deepfakes, aging, injury",vj:"ãã£ã¼ããã§ã¤ã¯ã»å é½¢ã»å¤å·ã§å½è£
ã»å¤±å¹ã®å¯è½æ§"}].map((e,t)=>d.jsxs("li",{className:`flex gap-4 ${t<4?"pb-4 border-b border-line":""}`,children:[d.jsxs("span",{className:"min-w-[110px] text-[11px] font-mono-x uppercase tracking-widest text-bone-faint pt-0.5",children:[d.jsx("span",{className:"en-only",children:e.k}),d.jsx("span",{className:"ja-only",children:e.kj})]}),d.jsxs("span",{className:"text-bone-muted flex-1",children:[d.jsx("span",{className:"en-only",children:e.v}),d.jsx("span",{className:"ja-only",children:e.vj})]})]},t))})]}),d.jsxs("div",{className:"relative bg-ink-100 p-8 lg:p-10 overflow-hidden",children:[d.jsx("div",{className:"absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-signal-yellow to-transparent"}),d.jsx("div",{className:"absolute -top-20 -right-20 w-64 h-64 bg-signal-yellow/5 rounded-full blur-3xl pointer-events-none"}),d.jsxs("div",{className:"relative flex items-center justify-between mb-8",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("span",{className:"dot-yellow"}),d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"DEP Protocol"}),d.jsx("span",{className:"ja-only",children:"DEP Protocol"})]})]}),d.jsx("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint",children:"PoHA"})]}),d.jsxs("h3",{className:"relative font-display text-3xl lg:text-4xl font-semibold tracking-tight mb-2 text-bone",children:[d.jsx("span",{className:"en-only",children:"Proof of Human Activity"}),d.jsx("span",{className:"ja-only",children:"è¡åãã¼ã¹äººé証æ (PoHA)"})]}),d.jsxs("p",{className:"relative text-[13px] text-bone-dim mb-8",children:[d.jsx("span",{className:"en-only",children:"On-device · Continuous scoring · Privacy-preserving"}),d.jsx("span",{className:"ja-only",children:"ãªã³ããã¤ã¹ · ç¶ç¶çã¹ã³ã¢ãªã³ã° · ãã©ã¤ãã·ã¼ä¿å
¨"})]}),d.jsx("ul",{className:"relative space-y-4 text-[15px]",children:[{k:"Hardware",kj:"ãã¼ãã¦ã§ã¢",v:"None. Any mobile device is sufficient.",vj:"ä¸è¦ãæ¨æºçãªã¢ãã¤ã«ç«¯æ«ã§ååã"},{k:"Data",kj:"ãã¼ã¿",v:"Zero biometric collection. Behavioral signals only.",vj:"ç使
å ±ã¯ä¸ååå¾ããªããè¡åã·ã°ãã«ã®ã¿ã"},{k:"Regulation",kj:"è¦å¶",v:"Privacy-preserving by construction",vj:"è¨è¨æ®µéãããã©ã¤ãã·ã¼ä¿å
¨"},{k:"Representation",kj:"表ç¾å½¢å¼",v:"Dynamic â evaluates the latest state at data transmission",vj:"åçããã¼ã¿éä¿¡æã«ææ°ã®ç¶æ
ã§å¤å®ãã¾ã"},{k:"Liveness",kj:"ã©ã¤ããã¹",v:"Continuous. 6 years of compounding history.",vj:"ç¶ç¶çã6å¹´éã®å±¥æ´ãç©ã¿ä¸ããã"}].map((e,t)=>d.jsxs("li",{className:`flex gap-4 ${t<4?"pb-4 border-b border-line":""}`,children:[d.jsxs("span",{className:"min-w-[110px] text-[11px] font-mono-x uppercase tracking-widest text-signal-yellow/70 pt-0.5",children:[d.jsx("span",{className:"en-only",children:e.k}),d.jsx("span",{className:"ja-only",children:e.kj})]}),d.jsxs("span",{className:"text-bone flex-1",children:[d.jsx("span",{className:"en-only",children:e.v}),d.jsx("span",{className:"ja-only",children:e.vj})]})]},t))})]})]}),d.jsxs("div",{className:"mt-16 lg:mt-20",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-10",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"02.1 / Structural Advantages"}),d.jsx("span",{className:"ja-only",children:"02.1 / æ§é çåªä½æ§"})]}),d.jsx("div",{className:"h-px w-12 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-14",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("h3",{className:"en-only font-display font-bold leading-[1.0] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(1.8rem,4.2vw,3.6rem)"},children:["Not better ",d.jsx("span",{className:"font-serif-x italic font-normal",children:"detection"}),".",d.jsx("br",{}),"A different ",d.jsx("span",{className:"text-signal-yellow",children:"outcome"}),"."]}),d.jsxs("h3",{className:"ja-only font-display font-bold leading-[1.2] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.6rem,4vw,3.2rem)"},children:["ããè¯ã",d.jsx("span",{className:"font-serif-x italic font-normal",children:"æ¤ç¥"}),"ã§ã¯ãªãã",d.jsx("br",{}),"ç°ãªã",d.jsx("span",{className:"text-signal-yellow",children:"ææç©"}),"ã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-3",children:[d.jsxs("p",{className:"en-only text-[15px] lg:text-[16
236px] leading-[1.65] text-bone-muted text-pretty",children:["DEPâs advantage is not detection accuracy â incumbents already excel at that. The advantage is in the ",d.jsx("span",{className:"text-bone",children:"nature of the output"}),": a human-activity score that is privacy-preserving and independently verifiable by any third party."]}),d.jsxs("p",{className:"ja-only text-[14px] lg:text-[16px] leading-[1.85] text-bone-muted text-pretty",children:["DEPã®åªä½æ§ã¯æ¤ç¥ç²¾åº¦ã§ã¯ããã¾ããââããã¯æ¢å大æãæ¢ã«é«ãã¬ãã«ã§å®ç¾ãã¦ãã¾ããDEPã®åªä½æ§ã¯",d.jsx("span",{className:"text-bone",children:"ææç©ã®æ§è³ª"}),"ã«ããã¾ãï¼ãã©ã¤ãã·ã¼ä¿å
¨çã§ã第ä¸è
ãç¬ç«ãã¦æ¤è¨¼ã§ããè¨¼ææ¸ã"]})]})]}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-px bg-line border border-line rounded-xl overflow-hidden",children:[{num:"PILLAR 01",tag:"Privacy by Design",tagJ:"ãã©ã¤ãã·ã¼ã»ãã¤ã»ãã¶ã¤ã³",title:"No PII Collected",titleJ:"PIIéä¿æ",desc:"Device and behavioral signals are processed on-device and immediately discarded or hashed. Raw signals are never persisted or transmitted. Only the proof result is recorded on-chain.",descJ:"ããã¤ã¹ã»è¡åã·ã°ãã«ã¯ãªã³ããã¤ã¹ã§å¦çãã峿ã«ç ´æ£ã¾ãã¯ããã·ã¥åããã¾ããçã®ã·ã°ãã«ã¯æ°¸ç¶åã»æµéããã¾ããããªã³ãã§ã¼ã³ã«è¨é²ãããã®ã¯ãäººéæ§ã®è¨¼æçµæãã®ã¿ã",benefit:"Strengthens as privacy regulations (APPI, GDPR) tighten",benefitJ:"ãã©ã¤ãã·ã¼è¦å¶ï¼APPIã»GDPRï¼ã®å¼·åã§ç¸å¯¾çåªä½ãæ¡å¤§"},{num:"PILLAR 02",tag:"Third-party Verifiable",tagJ:"第ä¸è
æ¤è¨¼å¯è½",title:"Independently Auditable",titleJ:"ç¬ç«ãã¦æ¤è¨¼å¯è½",desc:"Any third party â advertisers, partners, auditors â can independently verify the integrity of on-chain records and the signature of the authorized issuing entity, without trusting the vendor. This works regardless of network decentralization level.",descJ:"åºå主ã»åå¼å
ã»ç£æ»äººãªã©ã®ç¬¬ä¸è
ãããªã³ãã§ã¼ã³è¨é²ã®çæ£æ§ã»æ¹ããèæ§ã¨ãèªå¯ãããçæä¸»ä½ã®ç½²åããçºè¡äºæ¥è
ãä¿¡é ¼ãããã¨ãªãç¬ç«ãã¦æ¤è¨¼ã§ãã¾ããããã¯éå¶ã®éä¸åº¦ã«é¢ãããè¨è¨ã¨ãã¦æç«ãã¾ãã",benefit:"No need to trust the vendor â verify the proof itself",benefitJ:"ãã³ãã¼ãä¿¡ããã®ã§ã¯ãªãã証æãã®ãã®ãæ¤è¨¼ã§ãã"}].map((e,t)=>d.jsxs("div",{className:"bg-ink-100 p-7 lg:p-9",children:[d.jsxs("div",{className:"flex items-center justify-between mb-7",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint",children:e.num}),d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow",style:{boxShadow:"0 0 10px rgba(255,215,0,.4)"}})]}),d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-signal-yellow/80 mb-3",children:[d.jsx("span",{className:"en-only",children:e.tag}),d.jsx("span",{className:"ja-only",children:e.tagJ})]}),d.jsx("h4",{className:"en-only font-display font-semibold leading-[1.0] tracking-ultra-tight mb-4 text-bone",style:{fontSize:"clamp(1.8rem,4.2vw,3.6rem)"},children:e.title}),d.jsx("h4",{className:"ja-only font-display font-semibold leading-[1.2] tracking-tight jp-tight mb-4 text-bone",style:{fontSize:"clamp(1.6rem,4vw,3.2rem)"},children:e.titleJ}),d.jsx("p",{className:"en-only text-[14px] leading-[1.65] text-bone-muted mb-6",children:e.desc}),d.jsx("p",{className:"ja-only text-[13px] leading-[1.85] text-bone-muted mb-6",children:e.descJ}),d.jsxs("div",{className:"pt-5 border-t border-line",children:[d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:[d.jsx("span",{className:"en-only",children:"Why It Matters"}),d.jsx("span",{className:"ja-only",children:"ãªãéè¦ã"})]}),d.jsxs("div",{className:"text-[12px] text-bone-muted",children:[d.jsx("span",{className:"en-only",children:e.benefit}),d.jsx("span",{className:"ja-only",children:e.benefitJ})]})]})]},t))}),d.jsxs("div",{className:"mt-10 p-6 lg:p-8 border border-line rounded-xl bg-ink-100/40",children:[d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-4",children:[d.jsx("span",{className:"en-only",children:"The Output"}),d.jsx("span",{className:"ja-only",children:"ææç©"})]}),d.jsxs("div",{className:"font-mono-x text-[15px] lg:text-[17px] text-bone leading-relaxed",children:[d.jsx("span",{className:"text-signal-yellow",children:"Proof"})," = ",d.jsx("span",{className:"text-bone",children:"Privacy-preserving"}),"  Ã ",d.jsx("span",{className:"text-bone",children:"Verifiable"})]}),d.jsxs("div",{className:"mt-3 text-[12px] text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"DEP doesnât compete on detection accuracy. It produces a fundamentally different output â a verifiable human-activity score, not a judgment."}),d.jsx("span",{className:"ja-only",children:"DEPã¯æ¤ç¥ç²¾åº¦ã§ç«¶ãã¾ãããæ ¹æ¬çã«ç°ãªãææç©ââå¤å®ã§ã¯ãªããæ¤è¨¼å¯è½ãªäººéæ§ã¹ã³ã¢ãçã¿åºãã¾ãã"})]})]})]})]})]})}const rK="https://raw.githubusercontent.com/yamadakouzou-DEA/dep-protocol-lp/main/dep-symbol-only.png",iK=[{v:"100K+",en:"Anchor Humans",ja:"ã¢ã³ã«ã¼äººé"},{v:"6",vSub:"yrs",en:"In Public Markets",ja:"å
¬éå¸å ´"},{v:"L1",en:"On Avalanche",ja:"Avalancheä¸"},{v:"10+",en:"CEX + DEX Venues",ja:"CEX + DEX"}],oK=[{tag:"CORE 01",en:"PoHA Engine",ja:"PoHAã¨ã³ã¸ã³",descEn:"Proof of Human Activity â continuous, on-device behavioral scoring that produces a verifiable human signal without collecting biometrics. Bot-resistant b
236y construction.",descJa:"äººéæ´»å証æââãªã³ããã¤ã¹ã§ç¶ç¶çã«è¡åãã¹ã³ã¢ãªã³ã°ããç使
å ±ãåéããã«æ¤è¨¼å¯è½ãªäººéã·ã°ãã«ãçæãæ§é çã«ãããèæ§ãæã¤ã"},{tag:"CORE 02",en:"Privacy by Design",ja:"ãã©ã¤ãã·ã¼ã»ãã¤ã»ãã¶ã¤ã³",descEn:"No PII collected. Behavioral signals are processed on-device and immediately discarded or hashed. Only the proof result is recorded on-chain.",descJa:"PIIéä¿æãè¡åã·ã°ãã«ã¯ãªã³ããã¤ã¹ã§å¦çã峿ã«ç ´æ£ã»ããã·ã¥åããªã³ãã§ã¼ã³ã«è¨é²ãããã®ã¯è¨¼æçµæã®ã¿ã"},{tag:"CORE 03",en:"Third-party Verifiable",ja:"第ä¸è
æ¤è¨¼å¯è½",descEn:"Any third party â advertisers, auditors, AI labs â can independently verify on-chain records and issuing entity signatures. No need to trust the vendor.",descJa:"åºå主ã»ç£æ»äººã»AIã©ããªã©ç¬¬ä¸è
ãããªã³ãã§ã¼ã³è¨é²ã¨çºè¡ä¸»ä½ã®ç½²åãç¬ç«ãã¦æ¤è¨¼å¯è½ããã³ãã¼ãä¿¡é ¼ããå¿
è¦ã¯ãªãã"}];function aK(){return d.jsxs("section",{id:"about",className:"relative py-14 lg:py-20 overflow-hidden border-y border-line",children:[d.jsx("div",{className:"absolute inset-0 grid-bg-fine pointer-events-none opacity-40"}),d.jsx("div",{className:"absolute top-0 right-0 w-[35vw] h-[35vw] bg-signal-yellow/[0.04] rounded-full blur-[120px] pointer-events-none"}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-12",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"03 / About DEP Protocol"}),d.jsx("span",{className:"ja-only",children:"03 / DEP Protocolã«ã¤ãã¦"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-14",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[d.jsxs("div",{className:"relative",children:[d.jsx("img",{src:rK,alt:"DEP symbol",className:"relative w-12 h-12 lg:w-14 lg:h-14 object-contain z-10"}),d.jsx("div",{className:"absolute inset-0 bg-signal-yellow/30 blur-2xl opacity-60 pointer-events-none"})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"font-display font-bold tracking-tight text-xl lg:text-2xl",style:{color:"#FFD700"},children:["DEP ",d.jsx("span",{style:{color:"rgba(255,215,0,0.6)"},children:"(DEAPcoin)"})]}),d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest mt-1",style:{color:"rgba(255,215,0,0.7)"},children:[d.jsx("span",{className:"en-only",children:"Protocol L1 · Since 2020"}),d.jsx("span",{className:"ja-only",children:"Protocol L1 · 2020ã"})]})]})]}),d.jsxs("h2",{className:"en-only font-display font-bold leading-[0.95] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(2rem,5vw,4.2rem)"},children:["The Layer 1 that proves",d.jsx("br",{}),d.jsx("span",{className:"font-serif-x italic font-normal text-signal-yellow",children:"human activity"})," â at scale."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.15] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.8rem,4.5vw,3.6rem)"},children:[d.jsx("span",{className:"font-serif-x italic font-normal text-signal-yellow",children:"人éã®æ´»å"}),"ãã",d.jsx("br",{}),"å¤§è¦æ¨¡ã«è¨¼æããã¬ã¤ã¤ã¼1ã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-4",children:[d.jsxs("p",{className:"en-only text-[16px] lg:text-[17px] leading-[1.65] text-bone-muted text-pretty",children:["DEP Protocol is a sovereign Layer 1 on Avalanche, purpose-built for one thing: producing verifiable proof that a real human was behind a digital action. For AI companies racing to procure licensed, provenance-verified training data â and for ad-tech platforms fighting bots â this is ",d.jsx("span",{className:"text-bone",children:"indispensable infrastructure"}),", not a nice-to-have."]}
236),d.jsxs("p",{className:"ja-only text-[14px] lg:text-[16px] leading-[1.85] text-bone-muted text-pretty",children:["DEP Protocol㯠Avalanche ä¸ã®ç¬ç«ããã¬ã¤ã¤ã¼1ã§ããã ä¸ç¹ã®ããã«è¨è¨ããã¾ããââãã¸ã¿ã«è¡åã®èå¾ã«å®å¨ã®äººéããããã¨ããæ¤è¨¼å¯è½ãªå½¢ã§è¨¼æãããã¨ãã©ã¤ã»ã³ã¹æ¸ã¿ã»æ¥æ´è¨¼æä»ãã®å¦ç¿ãã¼ã¿ã調éãããã¨ããAI伿¥ã«ã¨ã£ã¦ãããããã¨æ¦ãã¢ããã¯ã«ã¨ã£ã¦ããããã¯ããã£ããè¯ããã§ã¯ãªã",d.jsx("span",{className:"text-bone",children:"ä¸å¯æ¬ ãªã¤ã³ãã©"}),"ã§ãã"]})]})]}),d.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-px bg-line border border-line rounded-xl overflow-hidden mb-14",children:iK.map((e,t)=>d.jsxs("div",{className:"bg-ink-100 p-6 lg:p-7",children:[d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-3",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsxs("div",{className:"font-display text-3xl lg:text-4xl font-bold tracking-ultra-tight mono-num text-signal-yellow",children:[e.v,e.vSub&&d.jsx("span",{className:"text-xl lg:text-2xl text-bone-muted ml-1",children:e.vSub})]})]},t))}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 lg:gap-6",children:oK.map((e,t)=>d.jsxs("article",{className:"relative border border-line bg-ink-100 rounded-xl p-6 lg:p-7 hover:border-signal-yellow/20 transition-colors",children:[d.jsxs("div",{className:"flex items-center justify-between mb-5",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest text-signal-yellow/80",children:e.tag}),d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow/60"})]}),d.jsxs("h3",{className:"font-display text-lg lg:text-xl font-semibold tracking-tight mb-3 text-bone",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsx("p",{className:"en-only text-[13px] leading-[1.65] text-bone-muted text-pretty",children:e.descEn}),d.jsx("p",{className:"ja-only text-[12px] leading-[1.85] text-bone-muted text-pretty",children:e.descJa})]},t))})]})]})}const sK=[{k:"Finality",kj:"ãã¡ã¤ããªãã£",v:"< 1s",subEn:"Sub-second consensus",subJa:"1ç§æªæºã§åæ"},{k:"Avg Gas",kj:"å¹³åã¬ã¹",v:"$0.0003",subEn:"Per verification call",subJa:"æ¤è¨¼ã³ã¼ã«æ¯"},{k:"Throughput",kj:"ã¹ã«ã¼ããã",v:"4,500",subEn:"TPS sustained",subJa:"æç¶TPS"},{k:"VM",kj:"VM",v:"EVM",subEn:"Full Solidity support",subJa:"Solidity å®å
¨å¯¾å¿"},{k:"Consensus",kj:"ã³ã³ã»ã³ãµã¹",v:"Snowman++",subEn:"Avalanche-native",subJa:"Avalancheãã¤ãã£ã"},{k:"Validators",kj:"ããªãã¼ã¿",vEn:"Opt-in",vJa:"ä»»æåå ",subEn:"Permissioned w/ anti-Sybil",subJa:"ã·ãã«èæ§ä»ããã¼ããã·ã§ã³ã"},{k:"Interop",kj:"ç¸äºéç¨",v:"ICM / AWM",subEn:"Cross-L1 messaging",subJa:"L1éã¡ãã»ã¼ã¸ã³ã°"},{k:"Supply",kj:"ä¾çµ¦",v:"29.9B",subEn:"Max supply uncapped",subJa:"æå¤§ä¾çµ¦éä¸éãªã"}];function lK(){return d.jsxs("section",{id:"tech",className:"relative py-14 lg:py-20 overflow-hidden",children:[d.jsx("div",{className:"absolute top-0 right-0 w-[40vw] h-[40vw] bg-signal-red/5 rounded-full blur-[120px] pointer-events-none"}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-12",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"04 / Strengths"}),d.jsx("span",{className:"ja-only",children:"04 / å¼·ã¿"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-16",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("h2",{className:"en-only font-display font-bold leading-[0.95] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(2rem,5vw,4.2rem)"},children:["Engineered for scale on ",d.jsxs("span",{className:"text-signal-red relative inline-block",children:["Avalanche",d.jsx("span",{className:"absolute -right-3 top-0 w-2 h-2 rounded-full bg-signal-red",style:{boxShadow:"0 0 14px rgba(230,0,18,.7)"}})]}),"."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.15] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.8rem,4.5vw,3.6rem)"},children:[d.jsxs("span",{className:"text-signal-red relative inline-block",children:["Avalanche",d.jsx("span",{className:"absolute -right-3 top-0 w-2 h-2 rounded-full bg-signal-red",style:{boxShadow:"0 0 14px rgba(230,0,18,.7)"}})]})," ä¸ã§ã",d.jsx("br",{}),"ã¹ã±ã¼ã«ãåæã«è¨è¨ã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-6",children:[d.jsx("p",{className:"en-only text-[17px] lg:text-[18px] leading-[1.6] text-bone-muted text-pretty",children:"The infrastru
236cture AI companies rely on to prove human activity at scale. DEP Protocol operates as a sovereign L1 within the Avalanche ecosystem â purpose-built for high-throughput, low-cost human verification. Finality under a second. Gas in fractions of a cent. EVM-compatible out of the box."}),d.jsx("p",{className:"ja-only text-[15px] lg:text-[17px] leading-[1.85] text-bone-muted text-pretty",children:"AI伿¥ãå¤§è¦æ¨¡ã«äººéæ´»åã証æããããã«ä¸å¯æ¬ ãªã¤ã³ãã©ãDEP Protocol㯠Avalanche ã¨ã³ã·ã¹ãã å
ã®ç¬ç«ããã¬ã¤ã¤ã¼1ã¨ãã¦ç¨¼åãã¾ããé«ã¹ã«ã¼ãããã»ä½ã³ã¹ãã®äººéæ¤è¨¼ãç®çã«è¨è¨ããããã¡ã¤ããªãã£ã¯1ç§æªæºãã¬ã¹ä»£ã¯æ°ã»ã³ãæªæºãEVM äºæã§ãã®ã¾ã¾å°å
¥å¯è½ã§ãã"})]})]}),d.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-px bg-line border border-line rounded-xl overflow-hidden",children:sK.map((e,t)=>d.jsxs("div",{className:"bg-ink-100 p-6 lg:p-7",children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-3",children:[d.jsx("span",{className:"en-only",children:e.k}),d.jsx("span",{className:"ja-only",children:e.kj})]}),d.jsx("div",{className:"font-display text-3xl lg:text-[36px] tracking-ultra-tight mono-num mb-2 text-bone",children:e.vEn?d.jsxs(d.Fragment,{children:[d.jsx("span",{className:"en-only",children:e.vEn}),d.jsx("span",{className:"ja-only",children:e.vJa})]}):e.v}),d.jsxs("div",{className:"text-[12px] text-bone-muted",children:[d.jsx("span",{className:"en-only",children:e.subEn}),d.jsx("span",{className:"ja-only",children:e.subJa})]})]},t))})]})]})}const cK="https://raw.githubusercontent.com/yamadakouzou-DEA/dep-protocol-lp/main/dep-protocol-lp-visual04.png",uK="https://raw.githubusercontent.com/yamadakouzou-DEA/dep-protocol-lp/main/dep-symbol-only.png",fK=[{num:"01 · Demand",col:"border-signal-red/40 bg-signal-red/5",textCol:"text-signal-red",en:"Real demand flows in",ja:"å®éãæµå
¥",descEn:"DEA self-demand (rock-solid baseline) + external enterprises pay for verification",descJa:"DEAèªç¤¾å®éï¼å²©ç¤ï¼ï¼å¤é¨ä¼æ¥ãæ¤è¨¼æãæ¯æã"},{num:"02 · Conversion",col:"border-line",textCol:"text-bone-faint",en:"Protocol market-buys DEP",ja:"Protocolã DEP ãå¸å ´è²·ä»",descEn:"Revenue enters DEX/CEX liquidity pools as buy pressure",descJa:"DEX/CEX ã®æµåæ§ã«è²·ãå§ã¨ãã¦æµå
¥"},{num:"03 · Value Routing",col:"border-signal-yellow/60",textCol:"text-signal-yellow",highlight:!0,en:"Burn · Distribution Pool",ja:"ãã¼ã³ · é
åãã¼ã«",descEn:"50% burn/retirement · 50% distribution pool (Core 20% / Genesis 80%)",descJa:"ãã¼ã³/åå´50% · é
åãã¼ã«50%ï¼ã³ã¢20% / ã¸ã§ãã·ã¹80%ï¼"},{num:"04 · Incentive",col:"border-line",textCol:"text-bone-faint",en:"Validators & attesters secure",ja:"ããªãã¼ã¿ã»æ¤è¨¼è
ãé²è¡",descEn:"DEP staked · misattestation slashable · real yield",descJa:"DEP ãã¹ãã¼ã¯ã誤æ¤è¨¼ã¯ã¹ã©ãã·ã³ã°ããªã¢ã«ã¤ã¼ã«ã"},{num:"05 · Reinforcement",col:"border-line",textCol:"text-bone-faint",en:"Higher integrity â more enterprise demand",ja:"æ´åæ§åä¸ â 伿¥éè¦å¢",descEn:"Flywheel repeats with compounding effect",descJa:"ãã©ã¤ãã¤ã¼ã«ãè¤å©ã§å転ãã"}],dK=[{tag:"UTILITY 01",tagCol:"text-signal-yellow",en:"Gas & Settlement",ja:"ã¬ã¹ã¨ã»ãã«ã¡ã³ã",descEn:"DEP is the exclusive gas asset of the DEP Protocol L1. Every verification call, attestation, and onchain identity query is denominated in DEP.",descJa:"DEP 㯠DEP Protocol L1 ã«ãããå¯ä¸ã®ã¬ã¹è³ç£ããã¹ã¦ã®æ¤è¨¼ã³ã¼ã«ã»æ¤è¨¼ã»ãªã³ãã§ã¼ã³IDç
§ä¼ã¯ãDEP 建ã¦ã§æ±ºæ¸ããã¾ãã"},{tag:"UTILITY 02",tagCol:"text-signal-yellow",en:"Attestation Stake",ja:"æ¤è¨¼ã¹ãã¼ã¯",descEn:"Attesters stake DEP to publish Human Verification Scores. Misattestation is slashable. Economic integrity is enforced by capital at risk.",descJa:"æ¤è¨¼è
ã¯äººéæ¤è¨¼ã¹ã³ã¢ã®çºè¡æã« DEP ãã¹ãã¼ã¯ã誤æ¤è¨¼ã¯ã¹ã©ãã·ã³ã°å¯¾è±¡ãçµæ¸çãªæ´åæ§ã¯ãæ
ä¿ãããè³æ¬ã«ãã£ã¦å¼·å¶ããã¾ãã"},{tag:"UTILITY 03",tagCol:"text-signal-red",en:"Supply Discipline",ja:"ä¾çµ¦è¦å¾",descEn:"DEP is migrated via burn & mint (1:1, one-directional). No inflationary issuance. Staking rewards come from a pre-accumulated pool â total supply is never diluted.",descJa:"DEPã¯ãã¼ã³ï¼ãã³ãï¼1:1ã»ä¸æ¹åï¼ã§ç§»è¡ãã¤ã³ãã¬ççºè¡ã¯è¡ãããã¹ãã¼ãã³ã°å ±é
¬ãäºåç©ç«ãã¼ã«ããæ¯æãããç·ä¾çµ¦éãå¸èåããã¾ããã"}];function hK(){return d.jsxs("section",{id:"tokenomics",className:"relative py-14 lg:py-20 bg-ink-50 border-y border-line",children:[d.jsx("div",{className:"absolute inset-0 grid-bg-fine pointer-events-none opacity-40"}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-12",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"/ Tokenomics"}),d.jsx("span",{className:"ja-only",children:"/ ãã¼ã¯ããã¯ã¹"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-16",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[d.jsxs("div",{className:"relative",children:[d.jsx("img",{src:uK,alt:"DEP symbol",className:"relative w-14 h-14 lg:w-16 lg:h-16 object-contain z-10"}),d.jsx("div",{className:"absolute inset-0 bg-signal-yellow/30 blur-2xl opacity-70 pointer-events-none"})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"font-display font-bold tracking-tight text-2xl lg:text-3xl",style:{color:"#FFD700"},children:["DEP ",d.jsx("span",{style:{color:"rgba(255,215,0,0.65)"},children:"(DEAPcoin)"})]}),d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest mt-1",style:{color:"rgba(255,215,0,0.75)"},children:[d.jsx("span",{className:"en-only",children:"Native token · Since 2020"}),d.jsx("span",{className:"ja-only",children:"ãã¤ãã£ããã¼ã¯ã³ · 2020ã"})]})]})]}),d.jsxs("h2",{className:"en-only font-display font-bold leading-[0.95] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(2rem,5vw,4.2rem)"},children:["Value tied to",d.jsx("br",{}),d.jsx("span",{className:"font-serif-x italic font-normal text-signal-yellow",children:"real demand"}),"."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.15] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.8rem,4.5vw,3.6rem)"},children:["価å¤ã¯ã",d.jsx("br",{}),d.jsx("span",{className:"font-serif-x italic font-normal text-signal-yellow",children:"å®é"}),"ã«ç´ã¥ãã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-6",children:[d.jsxs("p",{className:"en-only text-[17px] lg:text-[18px] leading-[1.6] text-bone-muted text-pretty",children:["DEP Protocol's tokenomics is anchored in real demand. Enterprises ",d.jsx("span",{className:"text-bone",children:"pay in fiat or stablecoin"})," for verification services. The protocol market-buys DEP with that revenue. Validators and burn absorb it. Circulation is sustained by external market demand â not by new issuance."]}),d.jsxs("p",{className:"ja-only text-[15px] lg:text-[17px] leading-[1.85] text-bone-muted text-pretty",children:["DEP Protocolã®ãã¼ã¯ããã¯ã¹ã¯ãå®éã«ç´ã¥ãã¦è¨è¨ããã¦ãã¾ããã¨ã³ã¿ã¼ãã©ã¤ãºã",d.jsx("span",{className:"text-bone",children:"æ³å®é貨ã¾ãã¯ã¹ãã¼ãã«ã³ã¤ã³ã§"}),"æ¤è¨¼æãæ¯æãããã®åçãProtocolã DEP ã®å¸å ´è²·ä»ãã«è»¢æãããªãã¼ã¿å ±é
¬ã¨ãã¼ã³ã§å¸åããã¾ãã循ç°ã®åè³ã¯å¤é¨å¸å ´ã®éè¦ã§ãããæ°è¦çºè¡ã§ã¯ããã¾ããã"]})]})]}),d.jsxs("figure",{className:"relative mb-10 overflow-hidden rounded-2xl border border-line bg-ink-100",children:[d.jsx("img",{src:cK,alt:"Tokenomics 2.0 â Circular Economy",className:"w-full h-auto block"}),d.jsxs("figcaption",{className:"absolute bottom-0 inset-x-0 px-6 py-5 bg-gradient-to-t from-black/90 via-black/60 to-transparent",children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-signal-yellow mb
236-1",children:[d.jsx("span",{className:"en-only",children:"Fig. 04 · Sustainable Circular Economy"}),d.jsx("span",{className:"ja-only",children:"å³ 04 · æç¶å¯è½ãªå¾ªç°åçµæ¸"})]}),d.jsxs("div",{className:"font-display text-[17px] lg:text-xl font-semibold text-bone",children:[d.jsx("span",{className:"en-only",children:"External demand sustains DEPâs value. A real cash-flow cycle."}),d.jsx("span",{className:"ja-only",children:"å®éï¼å¤è²¨ï¼ãDEPã®ä¾¡å¤ãæ¯ãããæç¶å¯è½ãªãã£ãã·ã¥ããã¼ã"})]})]})]}),d.jsxs("div",{className:"border border-line bg-ink-100 rounded-xl overflow-hidden",children:[d.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-line",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("span",{className:"dot-yellow"}),d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-muted",children:[d.jsx("span",{className:"en-only",children:"The External Revenue Engine"}),d.jsx("span",{className:"ja-only",children:"å¤é¨åçã¨ã³ã¸ã³"})]})]}),d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"Real-demand driven"}),d.jsx("span",{className:"ja-only",children:"å®éé§å"})]})]}),d.jsxs("div",{className:"p-6 lg:p-10",children:[d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-5 gap-4 items-stretch",children:fK.map((e,t)=>d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsxs("div",{className:`flex-1 border ${e.col} rounded-lg p-5 min-h-[150px] flex flex-col justify-between ${e.highlight,""}`,style:e.highlight?{background:"rgba(255,215,0,.06)",boxShadow:"0 0 30px rgba(255,215,0,.08)"}:{},children:[d.jsx("div",{className:`text-[10px] font-mono-x uppercase tracking-widest ${e.textCol}`,children:e.num}),d.jsxs("div",{children:[d.jsxs("div",{className:"font-display font-semibold text-[15px] leading-tight mb-2 text-bone",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsxs("div",{className:"text-[11px] text-bone-muted leading-snug",children:[d.jsx("span",{className:"en-only",children:e.descEn}),d.jsx("span",{className:"ja-only",children:e.descJa})]})]})]}),t<4&&d.jsx("span",{className:"hidden md:block text-signal-yellow/50 text-lg",children:"â"})]},t))}),d.jsx("div",{className:"mt-10 pt-8 border-t border-line grid grid-cols-2 md:grid-cols-4 gap-6",children:[{en:"Supply Policy",ja:"ä¾çµ¦æ¹é",vEn:"Burn & Mint (no inflation)",vJa:"ãã¼ã³ï¼ãã³ãï¼éã¤ã³ãã¬ï¼"},{en:"Revenue Source",ja:"åçæº",vEn:"DEA self-demand + External",vJa:"DEAèªç¤¾å®éï¼å¤é¨"},{en:"Deflation Mechanism",ja:"ããã¬æ©æ§",vEn:"50% fee burn/retirement",vJa:"ææ°æ50%ããã¼ã³/åå´"},{en:"Validator Yield",ja:"ããªãã¼ã¿å©åã",vEn:"50% pool (Core 20% / Genesis 80%)",vJa:"é
åãã¼ã«50%ï¼ã³ã¢20% / ã¸ã§ãã·ã¹80%ï¼"}].map((e,t)=>d.jsxs("div",{children:[d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-1.5",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsxs("div",{className:"font-display text-[16px] font-semibold text-bone",children:[d.jsx("span",{className:"en-only",children:e.vEn}),d.jsx("span",{className:"ja-only",children:e.vJa})]})]},t))})]})]}),d.jsx("div",{className:"mt-10 grid grid-cols-1 md:grid-cols-3 gap-6",children:dK.map((e,t)=>d.jsxs("article",{className:"relative border border-line bg-ink-100 rounded-xl p-7 lg:p-8 hover:border-bone-faint transition-colors",children:[d.jsx("div",{className:`text-[11px] font-mono-x tracking-widest mb-6 ${e.tagCol}`,children:e.tag}),d.jsxs("h3",{className:"font-display text-xl lg:text-2xl font-semibold tracking-tight mb-3 text-bone",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsx("p",{className:"en-only text-[13px] leading-relaxed text-bone-muted text-pretty",children:e.descEn}),d.jsx("p",{className:"ja-only text-[12px] leading-[1.85] text-bone-muted text-pretty",children:e.descJa})]},t))})]})]})}const pK="https://raw.githubusercontent.com/yamadakouzou-DEA/dep-protocol-lp/main/dep-protocol-lp-visual02.png",mK=[{year:"2020",en:"Genesis",ja:"ã¸ã§ãã·ã¹",descEn:"DEP listed globally; human-contribution protocol goes live.",descJa:"DEP ãã°ãã¼ãã«ä¸å ´ã人éè²¢ç®Protocolã稼åéå§ã"},{year:"2022",en:"Scale",ja:"ã¹ã±ã¼ã«",descEn:"Municipal partnerships and utility collaborations begin.",descJa:"èªæ²»ä½ã»é»åä¼ç¤¾ã¨ã®é£æºãå§åã"},{year:"2024",en:"Recognition",ja:"èªç¥",descEn:"GOOD DESIGN Award. 100K DL milestone reached.",descJa:"ã°ãããã¶ã¤ã³è³åè³ã10ä¸DLãéæã"}
236,{year:"2025",en:"Infrastructure",ja:"ã¤ã³ãã©å",descEn:"PoHA engine formalized. Dynamic NFT standard drafted.",descJa:"PoHAã¨ã³ã¸ã³ä»æ§åãåçNFTæ¨æºã®ãã©ããçå®ã"},{year:"2026",en:"L1 Mainnet",ja:"L1 ã¡ã¤ã³ããã",descEn:"DEP Protocol L1 on Avalanche (Jul). Reward distribution begins (Nov).",descJa:"DEP Protocol L1 ã Avalanche ä¸ã§ç¨¼åï¼7æï¼ãå ±é
¬åé
éå§ï¼11æï¼ã"},{year:"2027â",en:"Expansion",ja:"æ¡å¼µ",descEn:"AI training data market. Cross-chain verification.",descJa:"AIå¦ç¿ãã¼ã¿å¸å ´ã¸å±éãã¯ãã¹ãã§ã¼ã³æ¤è¨¼ã"}];function gK(){return d.jsx("section",{id:"ecosystem",className:"relative py-14 lg:py-20 bg-ink-50 border-y border-line",children:d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-12",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"05 / Ecosystem"}),d.jsx("span",{className:"ja-only",children:"05 / ã¨ã³ã·ã¹ãã "})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-16",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("h2",{className:"en-only font-display font-bold leading-[0.95] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(2rem,5vw,4.2rem)"},children:["A ",d.jsx("span",{className:"font-serif-x italic font-normal",children:"committed"})," anchor.",d.jsx("br",{}),d.jsx("span",{className:"text-signal-yellow",children:"Open rails"})," for the rest."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.15] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.8rem,4.5vw,3.6rem)"},children:[d.jsx("span",{className:"font-serif-x italic font-normal",children:"確ç´ããã"}),"ã¢ã³ã«ã¼ã",d.jsx("br",{}),"ãã¨ã¯ã",d.jsx("span",{className:"text-signal-yellow",children:"éããã"}),"ã¬ã¼ã«ã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-6",children:[d.jsxs("p",{className:"en-only text-[17px] lg:text-[18px] leading-[1.6] text-bone-muted text-pretty",children:["Most new L1s launch empty and hope users arrive. DEP Protocol launches with a committed anchor â a ",d.jsx("span",{className:"text-bone",children:"Genesis Contributor"})," delivering 100,000+ verified humans from day one â and scales outward to global enterprises who consume verification as a paid service."]}),d.jsxs("p",{className:"ja-only text-[15px] lg:text-[17px] leading-[1.85] text-bone-muted text-pretty",children:["大åã®æ°ãã L1 ã¯ã¦ã¼ã¶ã¼ãªãã§ç«ã¡ä¸ãããå¾ããæ¥ããã¨ãç¥ãã¾ããDEP Protocolã¯éãã¾ãââ",d.jsx("span",{className:"text-bone",children:"Genesis Contributor"})," ã¨ãã¦ç¢ºç´ãããã¢ã³ã«ã¼ï¼æ¤è¨¼æ¸ã¿ã®äººé10ä¸äººè¶
ï¼ã¨ã¨ãã«ãã¼ã³ããããã®ä¸ã§ãæ¤è¨¼ãææãµã¼ãã¹ã¨ãã¦æ¶è²»ããã°ãã¼ãã«ä¼æ¥ã¸ã¹ã±ã¼ã«ãã¦ããã¾ãã"]})]})]}),d.jsxs("figure",{className:"relative mb-10 overflow-hidden rounded-2xl border border-line bg-ink-100",children:[d.jsx("img",{src:pK,alt:"Dual-Anchor Ecosystem",className:"w-full h-auto block"}),d.jsxs("figcaption",{className:"absolute bottom-0 inset-x-0 px-6 py-5 bg-gradient-to-t from-black/90 via-black/60 to-transparent",children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-signal-yellow mb-1",children:[d.jsx("span",{className:"en-only",children:"Fig. 02 · The Dual-Anchor Ecosystem"}),d.jsx("span",{className:"ja-only",children:"å³ 02 · ãã¥ã¢ã«ã»ã¢ã³ã«ã¼ã»ã¨ã³ã·ã¹ãã "})]}),d.jsxs("div",{className:"font-display text-[17px] lg:text-xl font-semibold text-bone",children:[d.jsx("span",{className:"en-only",children:"Public infrastructure, anch
236ored by a proven engine. Open to everyone."}),d.jsx("span",{className:"ja-only",children:"DEAã¨ããæå¼·ã®ã¨ã³ã¸ã³ãæè¼ããã誰ã«ã§ãéããããããªãã¯ã¤ã³ãã©ã"})]})]})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[d.jsxs("article",{className:"relative border border-signal-yellow/40 bg-ink-100 rounded-xl overflow-hidden",children:[d.jsx("div",{className:"absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-signal-yellow to-transparent"}),d.jsx("div",{className:"absolute -top-20 -left-20 w-64 h-64 bg-signal-yellow/5 rounded-full blur-3xl pointer-events-none"}),d.jsxs("div",{className:"relative p-8 lg:p-10",children:[d.jsxs("div",{className:"flex items-center justify-between mb-6",children:[d.jsxs("div",{className:"flex items-center gap-2 px-2.5 py-1 bg-signal-yellow/10 border border-signal-yellow/30 rounded-full",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow animate-pulse-dot"}),d.jsxs("span",{className:"text-[10px] font-mono-x uppercase tracking-widest text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"Anchor Utility · Committed"}),d.jsx("span",{className:"ja-only",children:"ã¢ã³ã«ã¼ã»ã¦ã¼ãã£ãªã㣠· 確ç´"})]})]}),d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint",children:[d.jsx("span",{className:"en-only",children:"Genesis"}),d.jsx("span",{className:"ja-only",children:"ã¸ã§ãã·ã¹"})]})]}),d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-3",children:[d.jsx("span",{className:"en-only",children:"Genesis Contributor"}),d.jsx("span",{className:"ja-only",children:"ã¸ã§ãã·ã¹ã»ã³ã³ããªãã¥ã¼ã¿ã¼"})]}),d.jsxs("h3",{className:"font-display text-3xl lg:text-[36px] font-semibold tracking-tight mb-4 text-bone",children:[d.jsx("span",{className:"en-only",children:"Digital Entertainment Asset (DEA)"}),d.jsx("span",{className:"ja-only",children:"æ ªå¼ä¼ç¤¾ DEA"})]}),d.jsxs("p",{className:"en-only text-[15px] leading-relaxed text-bone-muted mb-8 text-pretty",children:["DEA supplies the protocol with ",d.jsx("span",{className:"text-signal-yellow",children:"100,000+ active users"})," across civic, regional, and infrastructural applications â continuously generating verified human signals. This is not a pilot â it is an ecosystem premised on real-world deployment."]}),d.jsxs("p",{className:"ja-only text-[14px] leading-[1.85] text-bone-muted mb-8 text-pretty",children:["DEA ã¯ã叿°ã»å°åã»ã¤ã³ãã©é åã®",d.jsx("span",{className:"text-signal-yellow",children:"10ä¸äººè¶
ã®ã¢ã¯ãã£ãã¦ã¼ã¶ã¼"}),"ãProtocolã«ä¾çµ¦ãã¾ããããããç¶ç¶çã«çºçããæ¤è¨¼ã·ã°ãã«ãããã©ã³ã¶ã¯ã·ã§ã³ã®åºåºãæ¯ãã¾ããããã¯ãã¤ãããã§ã¯ãªãã社ä¼å®è£
ãåæã¨ããã¨ã³ã·ã¹ãã ã§ãã"]}),d.jsx("div",{className:"grid grid-cols-3 gap-4 pt-6 border-t border-line",children:[{en:"Active Humans",ja:"ã¢ã¯ãã£ã人é",v:"100K+"},{en:"Municipalities",ja:"èªæ²»ä½æ°",v:"20+"},{en:"Operating since",ja:"稼å",v:"2020"}].map((e,t)=>d.jsxs("div",{children:[d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsx("div",{className:"mt-1 font-display text-xl lg:text-2xl mono-num text-bone",children:e.v})]},t))})]})]}),d.jsxs("article",{className:"relative border border-line bg-ink-100 rounded-xl overflow-hidden hover:border-signal-red/30 transition-colors",children:[d.jsx("div",{className:"absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-signal-red/60 to-transparent"}),d.jsxs("div",{className:"p-8 lg:p-10",children:[d.jsxs("div",{className:"flex items-center justify-between mb-6",children:[d.jsxs("div",{className:"flex items-center gap-2 px-2.5 py-1 bg-signal-red/10 border border-signal-red/30 rounded-full",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-red animate-pulse-dot"}),d.jsxs("span",{className:"text-[10px] font-mono-x uppercase tracking-widest text-signal-red",children:[d.jsx("span",{className:"en-only",children:"Partnership · Expanding"}),d.jsx("span",{className:"ja-only",children:"ãã¼ããã¼ã·ãã · æ¡å¼µä¸"})]})]}),d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint",children:[d.jsx("span",{className:"en-only",children:"Revenue Side"}),d.jsx("span",{className:"ja-only",children:"åçå´"})]})]}),d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-3",children:[d.jsx("span",{className:"en-only",children:"Global Enterprises"}),d.jsx("span",{className:"ja-only",children:"ã°ãã¼ãã«ã»ã¨ã³ã¿ã¼ãã©ã¤ãº"})]}),d.jsxs("h3",{className:"font-display text-3xl lg:text-[36px] font-semibold tracking-tight mb-4 text-bone",children:[d.jsx("span",{className:"en-only",children:"Consumers of Verification"}),d.jsx("span",{className:"ja-only",children:"æ¤è¨¼ã®å©ç¨è
"})]}),d.jsxs("p",{className:"en-only text-[15px] leading-relaxed text-bone-muted mb-8 text-pretty",children:["Enterprises consume Human Verification as a paid API. They pay in fiat or stablecoin; the protocol routes that revenue into DEP market-buys. This is the ",d.jsx("span",{className:"text-bone",children:"external revenue"})," side of the flywheel â the real demand that sustains the token economy."]}),d.jsxs("p",{className:"ja-only text-[14px] leading-[1.85] text-bone-muted mb-8 text-pretty",children:["ã¨ã³ã¿ã¼ãã©ã¤ãºã¯ãäººéæ¤è¨¼ãææ API ã¨ãã¦æ¶è²»ãã¾ããæ¯æãã¯æ³å®é貨ã¾ãã¯ã¹ãã¼ãã«ã³ã¤ã³ããã®åçãProtocolã DEP ã®å¸å ´è²·ä»ãã«è»¢æãã¾ããããããã©ã¤ãã¤ã¼ã«ã®",d.jsx("span",{className:"text-bone",children:"å¤é¨åç"}),"å´ââãã¼ã¯ã³çµæ¸ãæ¯ãããå®éãã§ãã"]}),d.jsx("div",{className:"grid grid-cols-2 gap-3 pt-6 border-t border-line",children:[{en:"Enterprise AI",ja:"ã¨ã³ã¿ã¼ãã©ã¤ãºAI",subEn:"Training data provenance",subJa:"å¦ç¿ãã¼ã¿ã®åºèªè¨¼æ"},{en:"Ad-Tech Platforms",ja:"ã¢ããã¯ã»ãã©ãããã©ã¼ã ",subEn:"Pre-bid VHI filtering",subJa:"å
¥æå VHI ãã£ã«ã¿"},{en:"DePIN Networks",ja:"DePINãããã¯ã¼ã¯",subEn:"Sybil-resistant rewards",subJa:"ã·ãã«èæ§ãªã¯ã¼ã"},{en:"Social & Identity",ja:"ã½ã¼ã·ã£ã«ã»ID",subEn:"Proof-of-human posting",subJa:"人é証æä»ãæç¨¿"}].map((e,t)=>d.jsxs("div",{className:"border border-line rounded-lg p-4",children:[d.jsx("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-1.5",children:"SEGMENT"}),d.jsxs("div",{className:"font-display text-[14px] font-semibold mb-1 text-bone",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsxs("div",{className:"text-[11px] text-bone-muted",children:[d.jsx("span",{className:"en-only",children:e.subEn}),d.jsx("span",{className:"ja-only",children:e.subJa})]})]},t))})]})]})]}),d.jsxs("div",{className:"mt-16 relative",children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-8",children:[d.jsx("span",{className:"en-only",children:"Operational Timeline"}),d.jsx("span",{className:"ja-only",children:"稼åå±¥æ´"})]}),d.jsxs("div",{className:"relative",children:[d.jsx("div",{className:"absolute left-0 right-0 top-4 h-px bg-gradient-to-r from-line via-line-bright to-line"}),d.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-6",children:mK.map((e,t)=>d.jsxs("div",{className:"relative pt-10",children:[d.jsx("div",{className:"absolute left-0 top-3 w-2 h-2 rounded-full bg-signal-yellow",style:{boxShadow:"0 0 12px rgba(255,215,0,.5)"}}),d.jsx("div",{className:"text-[11px] font-mono-x text-signal-yellow tracking-widest mb-2",children:e.year}),d.jsxs("div",{className:"font-display text-lg font-semibold mb-1.5 text-bone",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsxs("div",{className:"text-[12px] text-bone-muted leading-relaxed",children:[d.jsx("span",{className:"en-only",children:e.descEn}),d.jsx("span",{className:"ja-only",children:e.descJa})]})]},t))})]})]})]})})}const yK=[{date:"2026.07.14",en:"Mainnet Launch",ja:"ã¡ã¤ã³ããã稼å",descEn:"Core Validator goes live. General staking opens â delegation flows to the Core layer.",descJa:"ã³ã¢ããªãã¼ã¿ã¼ç¨¼åéå§ãä¸è¬ã¹ãã¼ãã³ã°éæ¾ãã³ã¢ã¬ã¤ã¤ã¼ã¸å§ä»»ã"},{date:"2026.11",en:"Genesis Activation",ja:"ã¸ã§ãã·ã¹ã»ã¢ã¯ãã£ãã¼ã·ã§ã³",descEn:"24 founding slots activate. 80/20 rev-share begins. 24-month DEA infrastru
236cture period starts. Genesis tier opens to general delegation.",descJa:"24社åµè¨æ ãæ¬æ ¼ç¨¼åã80/20ã¬ãã·ã§ã¢èµ·åã24ã¶æã®DEAã¤ã³ãã©å®è²»è² æ
æééå§ãã¸ã§ãã·ã¹å±¤ã«ä¸è¬å§ä»»ãéæ¾ã",highlight:!0},{date:"2028.11",en:"Infra Transition",ja:"ã¤ã³ãã©ç§»è¡",descEn:"24-month DEA infrastructure period ends. Server costs transition to validator self-funding. 80/20 rev-share continues.",descJa:"24ã¶æã®DEAã¤ã³ãã©è² æ
æéçµäºããµã¼ãã¼å®è²»ã¯åç¤¾è² æ
ã«ç§»è¡ã80/20ã¬ãã·ã§ã¢ã¯ç¶ç¶ã",dim:!0}];function vK(){return d.jsxs("section",{id:"validator",className:"relative py-14 lg:py-20 overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 grid-bg-fine pointer-events-none opacity-50"}),d.jsx("div",{className:"absolute top-1/2 right-0 -translate-y-1/2 w-[40vw] h-[40vw] bg-signal-yellow/[0.04] rounded-full blur-[120px] pointer-events-none"}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-12",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"05.1 / Validators"}),d.jsx("span",{className:"ja-only",children:"05.1 / ããªãã¼ã¿"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("div",{className:"mb-16 lg:mb-20",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-10",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"Network Architecture"}),d.jsx("span",{className:"ja-only",children:"ãããã¯ã¼ã¯ã»ã¢ã¼ããã¯ãã£"})]}),d.jsx("div",{className:"h-px w-12 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-14",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("h3",{className:"en-only font-display font-bold leading-[1.0] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(1.8rem,4.2vw,3.6rem)"},children:["Three ",d.jsx("span",{className:"font-serif-x italic font-normal",children:"layers"}),". One network.",d.jsx("br",{}),d.jsx("span",{className:"text-signal-yellow",children:"Progressively decentralizing"}),"."]}),d.jsxs("h3",{className:"ja-only font-display font-bold leading-[1.2] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.6rem,4vw,3.2rem)"},children:["ä¸ã¤ã®",d.jsx("span",{className:"font-serif-x italic font-normal",children:"層"}),"ãä¸ã¤ã®ãããã¯ã¼ã¯ã",d.jsx("br",{}),d.jsx("span",{className:"text-signal-yellow",children:"段éçã«åæ£å"}),"ãã¦ããã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-3",children:[d.jsx("p",{className:"en-only text-[15px] lg:text-[16px] leading-[1.65] text-bone-muted text-pretty",children:"DEP Protocol operates as a progressively decentralizing network with three distinct participation layers. Each layer has a defined role, activation timing, and economic relationship to the chain."}),d.jsx("p",{className:"ja-only text-[14px] lg:text-[16px] leading-[1.85] text-bone-muted text-pretty",children:"DEP Protocolã¯æ®µéçã«åæ£åãã¦ãããããã¯ã¼ã¯ã¨ãã¦ã3ã¤ã®åå ã¬ã¤ã¤ã¼ã§æ§æããã¾ããå層ã«ã¯æç¢ºãªå½¹å²ã稼åéå§ææããã§ã¼ã³ã¸ã®çµæ¸çé¢ä¿æ§ãå®ç¾©ããã¦ãã¾ãã"})]})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 lg:gap-6",children:[d.jsxs("div",{className:"rounded-xl border border-white/10 bg-ink-100 p-6 lg:p-7",children:[d.jsxs("div",{className:"flex items-center justify-between mb-5",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint",children:"Layer 01"}),d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow opacity-60"})]}),d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:[d.jsx("span",{className:"en-only",children:"Infrastru
236cture Layer"}),d.jsx("span",{className:"ja-only",children:"åºç¤ã¬ã¤ã¤ã¼"})]}),d.jsxs("h4",{className:"font-display text-[22px] lg:text-[24px] font-semibold tracking-tight mb-3 text-bone",children:[d.jsx("span",{className:"en-only",children:"Core Validators"}),d.jsx("span",{className:"ja-only",children:"ã³ã¢ããªãã¼ã¿ã¼"})]}),d.jsxs("div",{className:"text-[12px] font-mono-x text-bone-muted mb-5",children:[d.jsx("span",{className:"en-only",children:"Operated by DEA"}),d.jsx("span",{className:"ja-only",children:"éå¶: DEA"})]}),d.jsx("p",{className:"en-only text-[13px] leading-[1.65] text-bone-muted mb-5",children:"The foundational layer guaranteeing chain liveness. DEA acts as the guarantor of root chain operation throughout the protocol's progressive decentralization."}),d.jsx("p",{className:"ja-only text-[12px] leading-[1.85] text-bone-muted mb-5",children:"ãã§ã¼ã³ã®æ ¹æ¬ç¨¼åãä¿è¨¼ããåºç¤ã¬ã¤ã¤ã¼ãProtocolã®æ®µéç忣åãéãã¦ãDEA ããã§ã¼ã³ç¨¼åã®æçµä¿è¨¼ä¸»ä½ã¨ãã¦æ©è½ãã¾ãã"}),d.jsxs("div",{className:"space-y-2 pt-4 border-t border-line",children:[d.jsxs("div",{className:"flex justify-between items-baseline text-[10px] font-mono-x",children:[d.jsxs("span",{className:"text-bone-faint uppercase tracking-widest",children:[d.jsx("span",{className:"en-only",children:"Live"}),d.jsx("span",{className:"ja-only",children:"稼åéå§"})]}),d.jsx("span",{className:"text-bone",children:"2026.07.14"})]}),d.jsxs("div",{className:"flex justify-between items-baseline text-[10px] font-mono-x",children:[d.jsxs("span",{className:"text-bone-faint uppercase tracking-widest",children:[d.jsx("span",{className:"en-only",children:"Stake Reception"}),d.jsx("span",{className:"ja-only",children:"å§ä»»åè¨"})]}),d.jsxs("span",{className:"text-bone",children:[d.jsx("span",{className:"en-only",children:"From mainnet"}),d.jsx("span",{className:"ja-only",children:"ã¡ã¤ã³ãããèµ·ç®"})]})]})]})]}),d.jsxs("div",{className:"rounded-xl border border-signal-yellow/40 bg-signal-yellow/[0.04] p-6 lg:p-7 relative md:scale-[1.02]",style:{boxShadow:"0 0 40px rgba(255,215,0,0.08)"},children:[d.jsxs("div",{className:"absolute -top-2.5 left-6 px-2.5 py-1 bg-signal-yellow text-black text-[9px] font-mono-x uppercase tracking-widest font-bold rounded",children:[d.jsx("span",{className:"en-only",children:"Founding Slot"}),d.jsx("span",{className:"ja-only",children:"åµè¨æ "})]}),d.jsxs("div",{className:"flex items-center justify-between mb-5 mt-1",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest text-signal-yellow/80",children:"Layer 02"}),d.jsx("span",{className:"w-2 h-2 rounded-full bg-signal-yellow"})]}),d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-signal-yellow/80 mb-2",children:[d.jsx("span",{className:"en-only",children:"Founding Partner Layer"}),d.jsx("span",{className:"ja-only",children:"åµè¨ãã¼ããã¼ã¬ã¤ã¤ã¼"})]}),d.jsxs("h4",{className:"font-display text-[22px] lg:text-[24px] font-semibold tracking-tight mb-3 text-bone",children:[d.jsx("span",{className:"en-only",children:"Genesis Validators"}),d.jsx("span",{className:"ja-only",children:"ã¸ã§ãã·ã¹ããªãã¼ã¿ã¼"})]}),d.jsxs("div",{className:"text-[12px] font-mono-x text-bone-muted mb-5",children:[d.jsx("span",{className:"en-only",children:"24 partners · self-operated"}),d.jsx("span",{className:"ja-only",children:"24社éå®ã»å社éå¶"})]}),d.jsx("p",{className:"en-only text-[13px] leading-[1.65] text-bone-muted mb-5",children:"24 founding partners â each operating its own validator node. DEA covers server infrastructure costs for the first 24 months as a founding-tier offer."}),d.jsx("p",{className:"ja-only text-[12px] leading-[1.85] text-bone-muted mb-5",children:"24社ã®åµè¨ãã¼ããã¼ãå社ã§èªç¤¾ããªãã¼ã¿ã¼ãéå¶ãDEAãåæ24ã¶æéã®ãµã¼ãã¼éç¨å®è²»ãè² æ
ãããåµè¨æ éå®ã®ç¹å¥ææ¡ã§ãã"}),d.jsxs("div",{className:"space-y-2 pt-4 border-t border-signal-yellow/10",children:[d.jsxs("div",{className:"flex justify-between items-baseline text-[10px] font-mono-x",children:[d.jsxs("span",{className:"text-bone-faint uppercase tracking-widest",children:[d.jsx("span",{className:"en-only",children:"Activation"}),d.jsx("span",{className:"ja-only",children:"æ¬æ ¼ç¨¼å"})]}),d.jsx("span",{className:"text-signal-yellow",children:"2026.11"})]}),d.jsxs("div",{className:"flex justify-between items-baseline text-[10px] font-mono-x",children:[d.jsxs("span",{className:"text-bone-faint uppercase tracking-widest",children:[d.jsx("span",{className:"en-only",children:"Stake Priority"}),d.jsx("span",{className:"ja-only",children:"å§ä»»åªå
é "})]}),d.jsxs("span",{className:"text-bone",children:[d.jsx("span",{className:"en-only",children:"By contract date"}),d.jsx("span",{className:"ja-only",children:"å¥ç´ç· çµé "})]})]})]})]}),d.jsxs("div",{className:"rounded-xl border border-white/10 bg-ink-100 p-6 lg:p-7",children:[d.jsxs("div",{className:"flex items-center justify-between mb-5",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint",children:"Layer 03"}),d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow opacity-30"})]}),d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:[d.jsx("span",{className:"en-only",children:"Participation Layer"}),d.jsx("span",{className:"ja-only",children:"åå ã¬ã¤ã¤ã¼"})]}),d.jsxs("h4",{className:"font-display text-[22px] lg:text-[24px] font-semibold tracking-tight mb-3 text-bone",children:[d.jsx("span",{className:"en-only",children:"General Stakers"}),d.jsx("span",{className:"ja-only",children:"ä¸è¬ã¹ãã¼ã«ã¼"})]}),d.jsxs("div",{className:"text-[12px] font-mono-x text-bone-muted mb-5",children:[d.jsx("span",{className:"en-only",children:"DEP holders · delegation"}),d.jsx("span",{className:"ja-only",children:"DEPä¿æè
ã»å§ä»»ã¹ãã¼ãã³ã°"})]}),d.jsx("p",{className:"en-only text-[13px] leading-[1.65] text-bone-muted mb-5",children:"Any DEP holder can stake to contribute to chain operation and earn rewards. Delegation flows first to Core Validators, then opens to Genesis Validators at activation."}),d.jsx("p",{className:"ja-only text-[12px] leading-[1.85] text-bone-muted mb-5",children:"DEPä¿æè
ã¯ã¹ãã¼ãã³ã°ã«ãããã§ã¼ã³ç¨¼åã¸è²¢ç®ãããªã¿ã¼ã³ãç²å¾ã§ãã¾ããå§ä»»å
ã¯å½åã³ã¢ããªãã¼ã¿ã¼ãã¸ã§ãã·ã¹ã»ã¢ã¯ãã£ãã¼ã·ã§ã³ä»¥éã¯ã¸ã§ãã·ã¹24社ã¸ãéæ¾ããã¾ãã"}),d.jsxs("div",{className:"space-y-2 pt-4 border-t border-line",children:[d.jsxs("div",{className:"flex justify-between items-baseline text-[10px] font-mono-x",children:[d.jsxs("span",{className:"text-bone-faint uppercase tracking-widest",children:[d.jsx("span",{className:"en-only",children:"To Core"}),d.jsx("span",{className:"ja-only",children:"ã³ã¢é
ä¸"})]}),d.jsx("span",{className:"text-bone",children:"2026.07.14ã"})]}),d.jsxs("div",{className:"flex justify-between items-baseline text-[10px] font-mono-x",children:[d.jsxs("span",{className:"text-bone-faint uppercase tracking-widest",children:[d.jsx("span",{className:"en-only",children:"To Genesis"}),d.jsx("span",{className:"ja-only",children:"ã¸ã§ãã·ã¹é
ä¸"})]}),d.jsx("span",{className:"text-bone",children:"2026.11ã"})]})]})]})]})]}),d.jsxs("div",{className:"flex items-center gap-3 mb-10",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"The 24 Founding Slots"}),d.jsx("span",{className:"ja-only",children:"24社ã®åµè¨æ "})]}),d.jsx("div",{className:"h-px w-12 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-16",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("h2",{className:"en-only font-display font-bold leading-[0.95] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(2rem,5vw,4.2rem)"},children:["24 founding partners.",d.jsx("br",{}),"The making of an ",d.jsx("span",{className:"text-signal-yellow",children:"AI infrastru
236cture"})," ",d.jsx("span",{className:"font-serif-x italic font-normal",children:"layer"}),"."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.15] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.8rem,4.5vw,3.6rem)"},children:["24社ã®åµè¨ãã¼ããã¼ã",d.jsx("br",{}),d.jsx("span",{className:"text-signal-yellow",children:"AI ã¤ã³ãã©"}),d.jsx("span",{className:"font-serif-x italic font-normal",children:"ã¬ã¤ã¤ã¼"}),"ã®èµ·ç¹ã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-6",children:[d.jsxs("p",{className:"en-only text-[17px] lg:text-[18px] leading-[1.6] text-bone-muted text-pretty",children:["DEP Protocol launches with a closed cohort of ",d.jsx("span",{className:"text-bone",children:"24 Founding Genesis Validators"})," â enterprises that anchor the verifiable human-data layer at its earliest, most defining moment.",d.jsx("br",{}),d.jsx("br",{}),"For these 24, participation is structured as a ",d.jsx("span",{className:"text-signal-yellow",children:"founding partnership"}),", not a passive investment."]}),d.jsxs("p",{className:"ja-only text-[15px] lg:text-[17px] leading-[1.85] text-bone-muted text-pretty",children:["DEP Protocolã¯ãæ¤è¨¼å¯è½ãªäººéãã¼ã¿ã¬ã¤ã¤ã¼ã®æã決å®çãªç¬éãæ¯ãã ",d.jsx("span",{className:"text-bone",children:"24社ã®Founding Genesis Validator"})," ã«ãã£ã¦å§åãã¾ãã",d.jsx("br",{}),d.jsx("br",{}),"24社ã«ã¨ã£ã¦æ¬åç»ã¯ãååçæè³ã§ã¯ãªã ",d.jsx("span",{className:"text-signal-yellow",children:"åµè¨ãã¼ããã¼ã·ãã"})," ã¨ãã¦è¨è¨ããã¦ãã¾ãã"]})]})]}),d.jsx("div",{className:"border border-signal-yellow/30 bg-signal-yellow/[0.03] rounded-xl overflow-hidden mb-12",children:d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-0 items-center",children:[d.jsxs("div",{className:"lg:col-span-4 p-8 lg:p-10 lg:border-r lg:border-signal-yellow/15 text-center lg:text-left",children:[d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-signal-yellow/70 mb
236-3",children:[d.jsx("span",{className:"en-only",children:"Founding Slots"}),d.jsx("span",{className:"ja-only",children:"åµè¨æ "})]}),d.jsx("div",{className:"font-display text-6xl lg:text-7xl font-bold tracking-ultra-tight text-signal-yellow tabular-nums leading-none",children:"24"})]}),d.jsxs("div",{className:"lg:col-span-8 p-8 lg:p-10",children:[d.jsx("p",{className:"en-only text-[15px] leading-[1.65] text-bone-muted text-pretty",children:"A permanent cap. Founding Genesis Validator status is recorded on protocol records in perpetuity â the cohort closes at 24 and does not reopen."}),d.jsx("p",{className:"ja-only text-[14px] leading-[1.85] text-bone-muted text-pretty",children:"æ°¸ä¹
çãªä¸éãFounding Genesis Validatorã®å°ä½ã¯Protocolè¨é²ã«æ°¸ç¶çã«ä¿åããã24社ã§ç· ãåãããå¾ã¯åéããã¾ããã"})]})]})}),d.jsxs("div",{className:"border border-line rounded-xl bg-ink-100 p-7 lg:p-10 mb-12",children:[d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-7",children:[d.jsx("span",{className:"en-only",children:"Program Timeline"}),d.jsx("span",{className:"ja-only",children:"ããã°ã©ã ã»ã¿ã¤ã ã©ã¤ã³"})]}),d.jsxs("div",{className:"relative",children:[d.jsx("div",{className:"absolute left-0 right-0 top-3 h-px bg-gradient-to-r from-line via-line-bright to-line"}),d.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:yK.map((e,t)=>d.jsxs("div",{className:"relative pt-9",children:[d.jsx("div",{className:`absolute left-0 top-2 rounded-full bg-signal-yellow ${e.highlight?"w-2.5 h-2.5":e.dim?"w-2 h-2 bg-bone-faint":"w-2 h-2"}`,style:e.highlight?{boxShadow:"0 0 12px rgba(255,215,0,.6)"}:{}}),d.jsx("div",{className:`text-[10px] font-mono-x uppercase tracking-widest mb-1.5 ${e.dim?"text-bone-dim":"text-signal-yellow"}`,children:e.date}),d.jsxs("div",{className:"font-display text-[14px] font-semibold mb-1 text-bone",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsxs("div",{className:"text-[11px] text-bone-muted leading-[1.55]",children:[d.jsx("span",{className:"en-only",children:e.descEn}),d.jsx("span",{className:"ja-only",children:e.descJa})]})]},t))})]})]}),d.jsx("div",{className:"relative border border-signal-yellow/30 bg-signal-yellow/[0.03] rounded-xl p-7 lg:p-10",children:d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6 lg:gap-10 items-center",children:[d.jsxs("div",{className:"lg:col-span-8",children:[d.jsxs("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-signal-yellow mb-3",children:[d.jsx("span",{className:"en-only",children:"Inquire About a Genesis Slot"}),d.jsx("span",{className:"ja-only",children:"ã¸ã§ãã·ã¹æ ã®ãåãåãã"})]}),d.jsxs("div",{className:"font-display text-[20px] lg:text-[24px] font-semibold leading-tight mb-2 text-bone",children:[d.jsx("span",{className:"en-only",children:"Slots are filling. The cohort closes at 24."}),d.jsx("span",{className:"ja-only",children:"æ ã¯åã¾ãã¤ã¤ããã¾ããã³ãã¼ãã¯24社ã§ç· åã"})]}),d.jsxs("p",{className:"text-[13px] text-bone-muted leading-[1.65] max-w-2xl",children:[d.jsx("span",{className:"en-only",children:"For confidential briefing on participation terms, economic model, and current cohort status, contact our partnerships team."}),d.jsx("span",{className:"ja-only",children:"åç»æ¡ä»¶ãçµæ¸ã¢ãã«ãç¾ã³ãã¼ãç¶æ³ã®æ©å¯ããªã¼ãã£ã³ã°ã«ã¤ãã¦ã¯ããã¼ããã¼ã·ããæ
å½ã¾ã§ãé£çµ¡ãã ããã"})]})]}),d.jsxs("div",{className:"lg:col-span-4 flex flex-col sm:flex-row lg:flex-col gap-3 lg:items-end",children:[d.jsxs("a",{href:"https://dea.sg/contact/",target:"_blank",rel:"noopener",className:"btn-yellow inline-flex items-center justify-center gap-2 text-[13px] px-5 h-11 rounded-full whitespace-nowrap",children:[d.jsx("span",{className:"en-only",children:"Contact Partnerships"}),d.jsx("span",{className:"ja-only",children:"ãã¼ããã¼ã·ããã«é£çµ¡"}),d.jsx("span",{children:"â"})]}),d.jsxs("a",{href:"https://deapnetwork.whitepaper.dea.sg/en/",target:"_blank",rel:"noopener",className:"inline-flex items-center justify-center gap-1.5 text-[12px] text-bone-muted hover:text-bone transition-colors",children:[d.jsx("span",{className:"en-only",children:"Read the Whitepaper â"}),d.jsx("span",{className:"ja-only",children:"ãã¯ã¤ããã¼ãã¼ãèªã â"})]})]})]})})]})]})}const xK=[{date:"2026.07.14",en:"Mainnet Launch",ja:"ã¡ã¤ã³ããã稼å",descEn:"Core Validator goes live. The chain is operational from day one. General staking opens at Genesis Activation (Nov 2026).",descJa:"ã³ã¢ããªãã¼ã¿ç¨¼åéå§ã忥ãããã§ã¼ã³ã稼åãä¸è¬ã¹ãã¼ãã³ã°ã¯2026å¹´11æã®ã¸ã§ãã·ã¹ã»ã¢ã¯ãã£ãã¼ã·ã§ã³ããéæ¾ã",items:[{en:"Core validator live",ja:"ã³ã¢ããªãã¼ã¿ç¨¼å",done:!0}],active:!0},{date:"2026.11",en:"Genesis Activation",ja:"ã¸ã§ãã·ã¹ã»ã¢ã¯ãã£ãã¼ã·ã§ã³",descEn:"24 founding slots activate. General staking opens â delegation flows to Core and Genesis layers. 80/20 revenue-share begins. 24-month DEA infrastru
236cture period starts.",descJa:"24社åµè¨æ ãæ¬æ ¼ç¨¼åãä¸è¬ã¹ãã¼ãã³ã°éæ¾ââã³ã¢å±¤ã»ã¸ã§ãã·ã¹å±¤ã¸å§ä»»å¯è½ã«ã80/20ã¬ãã·ã§ã¢èµ·åã24ã¶æã®DEAã¤ã³ãã©è² æ
æééå§ã",items:[{en:"24 Genesis Validators activate",ja:"24社ã¸ã§ãã·ã¹ããªãã¼ã¿ç¨¼å",done:!1},{en:"PoHA verification calls active",ja:"PoHAæ¤è¨¼ã³ã¼ã«ç¨¼å",done:!1},{en:"General staking opens",ja:"ä¸è¬ã¹ãã¼ãã³ã°éæ¾",done:!1},{en:"80/20 revenue-share begins",ja:"80/20ã¬ãã·ã§ã¢éå§",done:!1}]},{date:"2027",en:"AI Data Market",ja:"AIãã¼ã¿å¸å ´å±é",descEn:"Enterprise AI data licensing goes live. Provenance-verified, human-created training data offered to AI labs via paid API. Cross-chain verification expands.",descJa:"ã¨ã³ã¿ã¼ãã©ã¤ãºAIåããã¼ã¿ã©ã¤ã»ã³ã¹ä¾çµ¦éå§ãæ¥æ´è¨¼æä»ãã»äººé使ã®å¦ç¿ãã¼ã¿ãææAPIã§AIã©ãã«æä¾ãã¯ãã¹ãã§ã¼ã³æ¤è¨¼ãæ¡å¤§ã",items:[{en:"AI training data licensing API",ja:"AIå¦ç¿ãã¼ã¿ã©ã¤ã»ã³ã¹API",done:!1},{en:"Cross-chain verification (ICM)",ja:"ã¯ãã¹ãã§ã¼ã³æ¤è¨¼ï¼ICMï¼",done:!1},{en:"Enterprise demand flywheel scales",ja:"伿¥éè¦ãã©ã¤ãã¤ã¼ã«æ¡å¤§",done:!1}]},{date:"2028+",en:"Full Decentralization",ja:"å®å
¨åæ£å",descEn:"24-month DEA infrastructure period ends. Server costs transition to validator self-funding. 80/20 revenue-share continues. Network progresses toward full decentralization.",descJa:"24ã¶æã®DEAã¤ã³ãã©è² æ
æéçµäºããµã¼ãã¼å®è²»ã¯åç¤¾è² æ
ã«ç§»è¡ã80/20ã¬ãã·ã§ã¢ã¯ç¶ç¶ããããã¯ã¼ã¯ã¯å®å
¨åæ£åã¸ç§»è¡ã",items:[{en:"Infra transition to self-funding",ja:"ã¤ã³ãã©èªå·±è² æ
ã¸ç§»è¡",done:!1},{en:"Global enterprise expansion",ja:"ã°ãã¼ãã«ä¼æ¥å±é",done:!1},{en:"Progressive decentralization advanced",ja:"段éç忣åã®æ¨é²",done:!1}]}];function bK(){return d.jsxs("section",{id:"roadmap",className:"relative py-14 lg:py-20 overflow-hidden border-y border-line",children:[d.jsx("div",{className:"absolute inset-0 grid-bg-fine pointer-events-none opacity-40"}),d.jsx("div",{className:"absolute top-0 left-0 w-[35vw] h-[35vw] bg-signal-red/5 rounded-full blur-[120px] pointer-events-none"}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-12",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"07 / Roadmap"}),d.jsx("span",{className:"ja-only",children:"07 / ãã¼ãããã"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-14",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("h2",{className:"en-only font-display font-bold leading-[0.95] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(2rem,5vw,4.2rem)"},children:["From mainnet to the",d.jsx("br",{}),d.jsx("span",{className:"text-signal-yellow",children:"AI data"})," ",d.jsx("span",{className:"font-serif-x italic font-normal",children:"era"}),"."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.15] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.8rem,4.5vw,3.6rem)"},children:["ã¡ã¤ã³ãããããã",d.jsx("br",{}),d.jsx("span",{className:"text-signal-yellow",children:"AIãã¼ã¿"}),d.jsx("span",{className:"font-serif-x italic font-normal",children:"æä»£"}),"ã¸ã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-4",children:[d.jsx("p",{className:"en-only text-[16px] lg:text-[17px] leading-[1.65] text-bone-muted text-pretty",children:"A clear, sequenced path: launch the chain, activate the founding cohort, open the AI data market, then progress toward full decentralization. Each phase is verifiable on-chain."}),d.jsx("p",{className:"ja-only text-[14px] lg:text-[16px] leading-[1.85] text-bone-muted text-pretty",children:"æç¢ºã§æ®µéçãªéçï¼ãã§ã¼ã³ã稼åãããåµè¨ã³ãã¼ããèµ·åããAIãã¼ã¿å¸å ´ãéããå®å
¨åæ£åã¸ã¨åé²ãããåãã§ã¼ãºã¯ãªã³ãã§ã¼ã³ã§æ¤è¨¼å¯è½ã§ãã"})]})]}),d.jsxs("div",{className:"relative",children:[d.jsx("div",{className:"absolute left-0 right-0 top-2 h-px bg-gradient-to-r from-signal-yellow/40 via-l
236ine-bright to-line hidden lg:block"}),d.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6",children:xK.map((e,t)=>d.jsxs("div",{className:"relative pt-8 lg:pt-10",children:[d.jsx("div",{className:`absolute left-0 top-1.5 rounded-full ${e.active?"w-3 h-3 bg-signal-yellow":"w-2.5 h-2.5 bg-bone-faint"}`,style:e.active?{boxShadow:"0 0 14px rgba(255,215,0,.6)"}:{}}),d.jsx("div",{className:`text-[11px] font-mono-x tracking-widest mb-2 ${e.active?"text-signal-yellow":"text-bone-dim"}`,children:e.date}),d.jsxs("h3",{className:"font-display text-lg lg:text-xl font-semibold mb-2 text-bone",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsx("p",{className:"en-only text-[12px] text-bone-muted leading-[1.65] mb-4 text-pretty",children:e.descEn}),d.jsx("p",{className:"ja-only text-[11px] text-bone-muted leading-[1.8] mb-4 text-pretty",children:e.descJa}),d.jsx("ul",{className:"space-y-2",children:e.items.map((n,r)=>d.jsxs("li",{className:"flex items-start gap-2.5 text-[12px]",children:[d.jsx("span",{className:`mt-1.5 w-1.5 h-1.5 rounded-full flex-shrink-0 ${n.done?"bg-signal-yellow":"bg-line-brighter"}`}),d.jsxs("span",{className:n.done?"text-bone":"text-bone-muted",children:[d.jsx("span",{className:"en-only",children:n.en}),d.jsx("span",{className:"ja-only",children:n.ja})]})]},r))})]},t))})]})]})]})}const wK="https://raw.githubusercontent.com/yamadakouzou-DEA/dep-protocol-lp/main/dep-symbol-only.png";function SK(){return d.jsx("section",{id:"market",className:"relative py-14 lg:py-20 bg-ink-50 border-y border-line",children:d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-10",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-bone-dim",children:[d.jsx("span",{className:"en-only",children:"00 / Market Proof · Global Availability"}),d.jsx("span",{className:"ja-only",children:"00 / ãã¼ã±ããå®ç¸¾ · ã°ãã¼ãã«æµé"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16 mb-14",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("div",{className:"inline-flex items-center gap-2 mb-5 px-3 py-1.5 border border-signal-yellow/25 rounded-full bg-signal-yellow/[0.03]",children:[d.jsx("img",{src:wK,alt:"DEP symbol",className:"w-4 h-4 object-contain"}),d.jsxs("span",{className:"font-display font-bold tracking-tight text-[12px]",style:{color:"#FFD700"},children:["DEP ",d.jsx("span",{style:{color:"rgba(255,215,0,0.6)"},children:"(DEAPcoin)"})]})]}),d.jsxs("h2",{className:"en-only font-display font-bold leading-[0.95] tracking-ultra-tight text-balance text-bone",style:{fontSize:"clamp(2rem,5vw,4.2rem)"},children:["Continuous in public markets ",d.jsx("span",{className:"text-signal-yellow",children:"since 2020"}),"."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.15] tracking-tight text-balance jp-tight text-bone",style:{fontSize:"clamp(1.8rem,4.5vw,3.6rem)"},children:[d.jsx("span",{className:"text-signal-yellow",children:"2020å¹´ãã"}),"ãå¸å ´ã§ç¶ç¶ãã¦ããã"]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:pt-4",children:[d.jsx("p",{className:"en-only text-[15px] lg:text-[16px] leading-[1.65] text-bone-muted text-pretty",children:"Six years in public markets is not a marketing claim â it is verifiable, daily-settled market data. DEP trades on major centralized exchanges including Gate.io, MEXC, and OKJ, and is routable through Ethereum and BSC-native DEXs."}),d.jsx("p",{className:"ja-only text-[14px] lg:text-[15px] leading-[1.85] text-bone-muted text-pretty",children:"6å¹´éãå¸å ´ã§åå¼ããã¦ããã¨ããäºå®ã¯ããã¼ã±ãã£ã³ã°ã³ãã¼ã§ã¯ãªããæ¥ã
ç´å®ããã¦ããæ¤è¨¼å¯è½ãªãªã³ãã§ã¼ã³ã»ãªã¼ãã¼ããã¯ã»ãã¼ã¿ã§ããDEP 㯠Gate.ioã»MEXCã»OKJ ãªã©ä¸»è¦ä¸å¤®é権å弿ã«ä¸å ´ããEthereumã»BSC ãã¤ãã£ãã®åæ£åå弿ã§ãåå¼å¯è½ã§ãã"})]})]}),d.jsxs("div",{className:"mb-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[d.jsx("span",{className:"dot-yellow"}),d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-muted",children:[d.jsx("span",{className:"en-only",children:"Centralized Exchanges (CEX)"}),d.jsx("span",{className:"ja-only",children:"ä¸å¤®é権å弿 (CEX)"})]})]}),d.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3",children:[d.jsxs("a",{href:"https://www.gate.io/",target:"_blank",rel:"noopener",className:"venue-tile",children:[d.jsxs("div",{className:"flex items-center justify-between mb-1.5",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow"}),d.jsx("span",{className:"text-[9px] font-mono-x uppercase tracking-widest text-bone-faint",children:"Global"})]}),d.jsx("div",{className:"venue-name",children:"Gate.io"}),d.jsx("div",{className:"venue-pair",children:"DEP / USDT"})]}),d.jsxs("a",{href:"https://www.mexc.com/",target:"_blank",rel:"noopener",className:"venue-tile",children:[d.jsxs("div",{className:"flex items-center justify-between mb-1.5",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow"}),d.jsx("span",{className:"text-[9px] font-mono-x uppercase tracking-widest text-bone-faint",children:"Global"})]}),d.jsx("div",{className:"venue-name",children:"MEXC"}),d.jsx("div",{className:"venue-pair",children:"DEP / USDT"})]}),d.jsxs("a",{href:"https://www.okcoin.jp/",target:"_blank",rel:"noopener",className:"venue-tile",children:[d.jsxs("div",{className:"flex items-center justify-between mb-1.5",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow"}),d.jsx("span",{className:"text-[9px] font-mono-x uppercase tracking-widest text-bone-faint",children:"ð¯ðµ Japan"})]}),d.jsx("div",{className:"venue-name",children:"OKJ"}),d.jsx("div",{className:"venue-pair",children:"DEP / JPY"})]}),d.jsxs("a",{href:"https://www.bittrade.co.jp/ja-jp/",target:"_blank",rel:"noopener",className:"venue-tile",children:[d.jsxs("div",{className:"flex items-center justify-between mb-1.5",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow"}),d.jsx("span",{className:"text-[9px] font-mono-x uppercase tracking-widest text-bone-faint",children:"ð¯ðµ Japan"})]}),d.jsx("div",{className:"venue-name",children:"BitTrade"}),d.jsx("div",{className:"venue-pair",children:"DEP / JPY"})]})]})]}),d.jsxs("div",{className:"mb-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[d.jsx("span",{className:"dot-red"}),d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-muted",children:[d.jsx("span",{className:"en-only",children:"Decentralized Exchanges (DEX)"}),d.jsx("span",{className:"ja-only",children:"忣åå弿 (DEX)"})]})]}),d.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3",children:[{name:"Uniswap",url:"https://app.uniswap.org/",chain:"Ethereum",pair:"v2 · v3 pools"},{name:"MDEX",url:"https://mdex.com/",chain:"BSC · HECO",pair:"DEP / USDT"},{name:"ApeSwap",url:"https://apeswap.finance/",chain:"BSC",pair:"DEP / BNB"},{name:"KnightSwap",url:"https://knightswap.financial/",chain:"Multi-chain",pair:"DEP pools"}].map(e=>d.jsxs("a",{href:e.url,target:"_blank",rel:"noopener",className:"venue-tile",children:[d.jsxs("div",{className:"flex items-center justify-between mb-1.5",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow"}),d.jsx("span",{className:"text-[9px] font-mono-x uppercase tracking-widest text-bone-faint",children:e.chain})]}),d.jsx("div",{className:"venue-name",children:e.name}),d.jsx("div",{className:"venue-pair",children:e.pair})]},e.name))})]}),d.jsxs("div",{className:"border border-line bg-ink-100 rounded-xl p-6 lg:p-7 flex flex-col md:flex-row md:items-center gap-5 md:gap-8",children:[d.jsxs("div",{className:"flex-1",children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:[d.jsx("span",{className:"en-only",children:"Canonical reference"}),d.jsx("span",{className:"ja-only",children:"å
¬å¼åç
§å
"})]}),d.jsxs("div",{className:"font-display text-lg font-semibold text-bone",children:[d.jsx("span",{className:"en-only",children:"CoinMarketCap · CoinGecko â Verified listings since 2020"}),d.jsx("span",{className:"ja-only",children:"CoinMarketCap · CoinGecko â 2020å¹´ããä¸å ´ç¢ºèªæ¸ã¿"})]})]}),d.jsxs("div",{className:"flex flex-wrap gap-3",children:[d.jsxs("a",{href:"https://coinmarketcap.com/currencies/deapcoin/",target:"_blank",rel:"noopener",className:"btn-ghost inline-flex items-center gap-2 px-4 h-10 rounded-full text-[13px]",children:["View on CoinMarketCap ",d.jsx("span",{children:"â"})]}),d.jsxs("a",{href:"https://www.coingecko.com/en/coins/deapcoin",target:"_blank",rel:"noopener",className:"btn-ghost inline-flex items-center gap-2 px-4 h-10 rounded-full text-[13px]",children:["View on CoinGecko ",d.jsx("span",{children:"â"})]})]})]})]})})}const jK=[{q:{en:"What is DEP (DEAPcoin)?",ja:"DEPï¼DEAPcoinï¼ã¨ã¯ä½ã§ããï¼"},a:{en:'DEP (DEAPcoin) is a crypto asset issued by DEA. With the mainnet launch on July 14, 2026 at 18:00 JST, it begins full operation as the native token of "DEP Protocol" â a Proof-of-Human-Activity Layer 1 built on Avalanche. DEP Protocol is infrastru
236cture that verifies and proves human activity, generating human-verification scores for the AI, advertising, and robotics domains.',ja:"DEPï¼DEAPcoinï¼ã¯ãDEAãçºè¡ããæå·è³ç£ã§ãã2026å¹´7æ14æ¥18æï¼JSTï¼ã®ã¡ã¤ã³ããããã¼ã³ãã«ä¼´ããAvalancheä¸ã«æ§ç¯ããã人éè¡åæ¤è¨¼Layer 1ãDEPãããã³ã«ãã®ãã¤ãã£ããã¼ã¯ã³ã¨ãã¦æ¬æ ¼ç¨¼åãã¾ããDEPãããã³ã«ã¯ã人éã®æ´»åãæ¤è¨¼ã»è¨¼æããAIã»åºåã»ãããã£ã¯ã¹é ååãã®äººé証æã¹ã³ã¢ãçæããã¤ã³ãã©ã§ãã"}},{q:{en:"What changed with the mainnet launch?",ja:"ã¡ã¤ã³ããããã¼ã³ãã§ãä½ãå¤ãã£ãã®ã§ããï¼"},a:{en:'At 18:00 JST on July 14, 2026, the chain technology of DEP Protocol began operation. DEP now officially functions as the native token of DEP Protocol, built on Avalanche. Note that reward distribution and revenue sharing to network participants are scheduled to begin at a separate timing (end of November 2026). "The chain operating" and "reward distribution starting" are distinct milestones â please review both.',ja:`2026å¹´7æ14æ¥18æï¼JSTï¼ã«ãDEPãããã³ã«ã®ãã§ã¼ã³æè¡ã稼åãéå§ãã¾ãããDEPããAvalancheä¸ã«æ§ç¯ãããDEPãããã³ã«ã®ãã¤ãã£ããã¼ã¯ã³ã¨ãã¦æ£å¼ã«æ©è½ãå§ãã¦ãã¾ãã 237 238ãªãããããã¯ã¼ã¯åå è ã¸ã®å ±é ¬åé ã»ã¬ããã¥ã¼ã·ã§ã¢ã®éå§ã¯ãããã¨ã¯å¥ã®ã¿ã¤ãã³ã°ï¼2026å¹´11ææ«ï¼ãäºå®ãã¦ãã¾ããããã§ã¼ã³ã稼åãããã¨ãã¨ãå ±é ¬åé ãå§ã¾ããã¨ãã¯å¥ã®åºåã§ãã®ã§ããããã¦ã確èªãã ããã`}},{q:{en:"What kind of infrastructure is DEP Protocol?",ja:"DEPãããã³ã«ã¯ãä½ãããã¤ã³ãã©ãªã®ã§ããï¼"},a:{en:'It is infrastructure that verifies and proves human activity without holding personal data. The rise of bots (automated programs) on the internet is eroding the assumption that "a human is on the other side." Rather than identifying "who," DEP Protocol makes the humanness of the "activity" itself verifiable. The generated proofs are used in domains that require confirming human involvement â advertising, AI training, and robotics.',ja:`å人æ å ±ãæããã«ã人éã®æ´»åãæ¤è¨¼ã»è¨¼æããã¤ã³ãã©ã§ãã 239 240ã¤ã³ã¿ã¼ãããä¸ã®ãããï¼èªåããã°ã©ã ï¼ã®å¢å ã«ããããåããå´ã«äººéããããã¨ããåæãå´©ãã¤ã¤ããã¾ããDEPãããã³ã«ã¯ãã誰ãããç¹å®ããã®ã§ã¯ãªãããæ´»åããã®ãã®ã®äººéããããæ¤è¨¼å¯è½ã«ãããã¨ã§ããã®èª²é¡ã«åãçµã¿ã¾ããçæããã証æã¯ãåºåã»AIå¦ç¿ã»ãããã£ã¯ã¹ãªã©ã人éã®é¢ä¸ã確èªããå¿ è¦ãããé åã§å©ç¨ããã¾ãã`}},{q:{en:'What is a "human-verification score"?',ja:"ã人é証æã¹ã³ã¢ãã¨ã¯ä½ã§ããï¼"},a:{en:"It is a score generated by the DEP Protocol foundation without including personal data. The generated score is used by the application layer (various apps and services). The score is designed so that any third party can verify it. Unlike systems where you must trust a specific vendor's judgment, verifiability itself is the defining feature.",ja:`DEPãããã³ã«ã¨ããåºç¤ããå人æ å ±ãå«ã¾ãªãå½¢ã§çæããã¹ã³ã¢ã§ããçæãããã¹ã³ã¢ã¯ãå¿ç¨å´ï¼å種ã¢ããªã±ã¼ã·ã§ã³ã»ãµã¼ãã¹ï¼ãå©ç¨ãã¾ãã 241 242ãã®ã¹ã³ã¢ã¯ç¬¬ä¸è ã誰ã§ãæ¤è¨¼ã§ããè¨è¨ã«ãªã£ã¦ãã¾ããç¹å®ã®ãã³ãã¼ã®å¤å®ãä¿¡é ¼ãããããªãä»çµã¿ã¨ã¯ç°ãªããæ¤è¨¼å¯è½æ§ãã®ãã®ãç¹å¾´ã§ãã`}},{q:{en:"Will my personal data be used?",ja:"ç§ã®å人æ å ±ã使ãããã®ã§ããï¼"},a:{en:"No. DEP Protocol is built around a design that does not identify individuals (not holding personal data) as its core. Behavioral data is processed on the device side, and only the proof result of humanness is persistently stored. We do not employ mechanisms that identify individuals or track the same person across multiple services.",ja:`使ããã¾ãããDEPãããã³ã«ã¯ãå人ãç¹å®ããªãè¨è¨ï¼å人æ å ±ãæããªããã¨ï¼ãæ ¸ã¨ãã¦ãã¾ãã 243 244è¡åãã¼ã¿ã¯ããã¤ã¹å´ã§å¦çãããæ°¸ç¶çã«ä¿åãã
244ãã®ã¯äººéæ§ã®è¨¼æçµæã®ã¿ã§ããå人ãç¹å®ããæ å ±ããè¤æ°ã®ãµã¼ãã¹ãã¾ããã§åä¸äººç©ãçªãæ¢ãããããªä»çµã¿ã¯æ¡ç¨ãã¦ãã¾ããã`}},{q:{en:"What is the DEP I hold used for?",ja:"ä¿æãã¦ããDEPã¯ãä½ã«ä½¿ãããã®ã§ããï¼"},a:{en:"DEP is a token used for network operation of DEP Protocol (holding to satisfy validator functions and staking requirements, etc.) and for participation in the future ecosystem. Guidance on specific price movements or operation methods is beyond the scope of this FAQ â please refer to official information from exchanges, etc.",ja:`DEPã¯ãDEPãããã³ã«ã®ãããã¯ã¼ã¯éå¶ï¼ããªãã¼ã¿æ©è½ã»ã¹ãã¼ãã³ã°è¦ä»¶ãæºããããã®ä¿æçï¼ããä»å¾ã®ã¨ã³ã·ã¹ãã ã«ãããåå ã«ç¨ãããããã¼ã¯ã³ã§ãã 245 246å ·ä½çãªä¾¡æ ¼ååãéç¨æ¹æ³ã«ã¤ãã¦ã®ãæ¡å ã¯ãæ¬FAQã®ç¯å²ãè¶ ãããããå弿çã®å ¬å¼æ å ±ãã確èªãã ããã`}},{q:{en:"What is the source of rewards and distributions?",ja:"å ±é ¬ãåé ã®åè³ã¯ä½ã§ããï¼"},a:{en:"The source of rewards on the network is actual revenue from human-verification data (real-demand driven) â not staking yield. Rewards are linked to the state of real demand (actual data usage), and we do not guarantee a minimum, so please note this.",ja:`ãããã¯ã¼ã¯ã«ãããå ±é ¬ã®åè³ã¯ãäººéæ¤è¨¼ãã¼ã¿ã®å®å£²ä¸ã§ãï¼Real-demand drivenï¼ãã¹ãã¼ãã³ã°ã«ããå©åãï¼Not staking yieldï¼ã§ã¯ããã¾ããã 247 248å ±é ¬ã¯å®éï¼å®éã®ãã¼ã¿å©ç¨ï¼ã®ç¶æ³ã«é£åãããã®ã§ãããæä½ä¿è¨¼ããç´æãããã®ã§ã¯ãªãç¹ã«ãçæãã ããã`}},{q:{en:"What happens to the legacy ERC-20 DEP? Will exchange handling remain the same?",ja:"æ§ERC-20ã®DEPã¯ã©ããªãã¾ããï¼å弿ã§ã®æ±ãã¯ãã®ã¾ã¾ã§ããï¼"},a:{en:"Migration from the legacy ERC-20 DEP to the new DEPchain on Avalanche is available 1:1 and indefinitely. However, migration is not mandatory. DEP on ERC-20 (Ethereum) and BSC (BNB Smart Chain) will continue to be supported indefinitely. Even without performing migration, existing exchange handling is unaffected.",ja:`æ§ERC-20ã®DEPããæ°ããAvalancheä¸ã®DEPchainã¸ã®ç§»è¡ã¯ã1:1ã»ç¡æéã§å¯è½ã§ãããã ãç§»è¡ã¯å¼·å¶ããããã®ã§ã¯ããã¾ããã 249 250ERC-20ï¼ã¤ã¼ãµãªã¢ã ï¼ããã³BSCï¼BNB Smart Chainï¼ä¸ã®DEPã¯ãä»å¾ãç¡æéã§ç¶ç¶ãã¦æ±ããã¾ããç§»è¡æç¶ããè¡ããªãå ´åã§ããæ¢åã®å弿ã§ã®åãæ±ãã«å½±é¿ã¯ããã¾ããã`}},{q:{en:'I heard the word "gamification" â is this about games?',ja:"ã²ã¼ããã£ã±ã¼ã·ã§ã³ã¨ããè¨èãèãã¾ããããã²ã¼ã ã®è©±ã§ããï¼"},a:{en:'DEA has long led the field of gamification (designing social participation using game mechanics) in Japan. Real-world services with TEPCO Power Grid and local governments are examples of this track record. DEP Protocol is a human-activity verification infrastructure for the AI era, built on the "verifying human behavior" know-how cultivated through this track record. It is not limited to in-game use â it targets a broad range of domains including advertising, AI, and robotics.',ja:`DEAã¯ãã²ã¼ããã£ã±ã¼ã·ã§ã³ï¼ã²ã¼ã ã®ä»çµã¿ãæ´»ç¨ãã社ä¼åå ã®ãã¶ã¤ã³ï¼ã®é åãæ¥æ¬ã§é·ããªã¼ããã¦ãã¾ãããæ±äº¬é»åãã¯ã¼ã°ãªãããèªæ²»ä½ã¨ã®å®ãµã¼ãã¹ã¯ããã®å®ç¸¾ã®ä¸ä¾ã§ãã 251 252DEPãããã³ã«ã¯ããã®å®ç¸¾ã®ä¸ã§å¹ãããã人éã®è¡åãæ¤è¨¼ãããã¨ãããã¦ãã¦ãåå°ã«ãããAIæä»£ã®äººéè¡åæ¤è¨¼ã¤ã³ãã©ã§ããã²ã¼ã å ã§ã®å©ç¨ã«ã¨ã©ã¾ããã®ã§ã¯ãªããåºåã»AIã»ãããã£ã¯ã¹ãªã©å¹ åºãé åã対象ã¨ãã¦ãã¾ãã`}},{q:{en:"Where can I check future information?",ja:"ä»å¾ã®æ å ±ã¯ãã©ãã§ç¢ºèªã§ãã¾ããï¼"},a:{en:"The latest information is published on the DEP Protocol global site (https://dep-protocol.com/). Please check there for future announcements as well.",ja:"DEPãããã³ã«ã®ã°ãã¼ãã«ãµã¤ãï¼https://dep-protocol.com/ï¼ã«ã¦ãææ°æ å ±ãå ¬éãã¦ãã¾ããä»å¾ã®çºè¡¨ããããã¦ããã¡ããã確èªãã ããã"}}];function _K({item:e,isOpen:t,onToggle:n,lang:r}){return d.jsxs("div",{className:`border-b border-line transition-colors ${t?"bg-white/[0.015]":""}`,children:[d.jsxs("button",{onClick:n,className:"w-full flex items-start gap-4 text-left py-5 lg:py-6 px-1 group",children:[d.jsx("span",{className:`mt-1 text-[10px] font-mono-x uppercase tracking-widest flex-shrink-0 transition-colors ${t?"text-signal-yellow":"text-bone-faint"}`,children:"Q"}),d.jsx("span",{className:`flex-1 font-display text-[15px] lg:text-[17px] font-semibold leading-snug tracking-tight transition-colors ${t?"text-bone":"text-bone-muted group-hover:text-bone"}`,children:r==="ja"?e.q.ja:e.q.en}),d.jsx(Df,{className:`w-4 h-4 mt-1 flex-shrink-0 transition-all duration-300 ${t?"rotate-180 text-signal-yellow":"text-bone-faint"}`})]}),d.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-out",style:{maxHeight:t?"600px":"0px",opacity:t?1:0},children:d.jsx("div",{className:"pb-6 pl-7 pr-6 text-[14px] lg:text-[15px] leading-[1.85] text-bone-muted whitespace-pre-line",children:r==="ja"?e.a.ja:e.a.en})})]})}function kK(){const{lang:e}=Qr(),[t,n]=O.useState(0);return d.jsxs("section",{id:"faq",className:"relative py-14 lg:py-20 overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 grid-bg-fine pointer-events-none opacity-40"}),d.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[50vw] h-[30vw] bg-signal-yellow/[0.03] rounded-full blur-[140px] pointer-events-none"}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-12",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"08 / FAQ"}),d.jsx("span",{className:"ja-only",children:"08 / ããããã質å"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("h2",{className:"en-only font-display font-bold leading-[1.0] tracking-ultra-tight text-balance text-bone mb-5",style:{fontSize:"clamp(1.8rem,4.5vw,3.2rem)"},children:["For DEP ",d.jsx("span",{className:"text-signal-yellow",children:"holders"}),".",d.jsx("span",{className:"font-serif-x italic font-normal",children:" Current state"})," of the protocol."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.2] tracking-tight text-balance jp-tight text-bone mb-5",style:{fontSize:"clamp(1.7rem,4.2vw,3rem)"},children:["DEPä¿æè ã®çãã¾ã¸ã",d.jsx("br",{}),"ãããã³ã«ã®",d.jsx("span",{className:"text-signal-yellow",children:"ç¾ç¶"}),"ã«ã¤ãã¦ã"]}
252),d.jsx("p",{className:"en-only text-[15px] lg:text-[16px] leading-[1.7] text-bone-muted text-pretty mb-10 max-w-[64ch]",children:"This FAQ answers common questions about the current state of DEP Protocol for those holding DEP (DEAPcoin). For partnership or validator participation, please refer to the separately provided materials."}),d.jsx("p",{className:"ja-only text-[14px] lg:text-[15px] leading-[1.85] text-bone-muted text-pretty mb-10 max-w-[60ch]",children:"ãã®FAQã¯ãDEPï¼DEAPcoinï¼ãä¿æããã¦ããæ¹åãã«ãDEPãããã³ã«ã®ç¾ç¶ã«ã¤ãã¦ããããã ãã質åã«ãçããããã®ã§ããäºæ¥ææºãããªãã¼ã¿åå ããæ¤è¨ã®æ¹ã¯ãå¥éãç¨æãã¦ããè³æããåç
§ãã ããã"}),d.jsx("div",{className:"border-t border-line",children:jK.map((r,i)=>d.jsx(_K,{item:r,isOpen:t===i,onToggle:()=>n(t===i?-1:i),lang:e},i))}),d.jsxs("p",{className:"mt-10 text-[11px] leading-relaxed text-bone-faint max-w-[80ch]",children:[d.jsx("span",{className:"en-only",children:"This FAQ is prepared based on established facts. It does not imply or guarantee future price movements or operational outcomes. Contents may be updated in response to future circumstances."}),d.jsx("span",{className:"ja-only",children:"æ¬FAQã®å
容ã¯ã確å®ãã¦ããäºå®ã«ãã¨ã¥ã使ãã¦ãã¾ããå°æ¥ã®ä¾¡æ ¼ååãéç¨ææã示åã»ä¿è¨¼ãããã®ã§ã¯ããã¾ãããè¨è¼å
容ã¯ä»å¾ã®ç¶æ³ã«å¿ãã¦æ´æ°ãããå ´åãããã¾ãã"})]})]})]})}const BA=[{en:"Human Proof",ja:"人é証æ",descEn:"Privacy-preserving proof-of-human signals",descJa:"ãã©ã¤ãã·ã¼ä¿è·åã®äººé証æã·ã°ãã«"},{en:"Licensed AI Training Data",ja:"ã©ã¤ã»ã³ã¹æ¸AIå¦ç¿ãã¼ã¿",descEn:"Provenance-verified, human-created data for labs",descJa:"æ¥æ´è¨¼æä»ãã»äººé使ã®AIå¦ç¿ãã¼ã¿"},{en:"Ad Fraud & Bot Countermeasures",ja:"ã¢ããã©ã¦ãã»ããã対ç",descEn:"Sub-second, pre-bid invalid traffic filtering",descJa:"1ç§æªæºã»å
¥æåã®ä¸æ£ãã©ãã£ãã¯é®æ"}];function EK(){return d.jsxs("section",{className:"relative py-14 lg:py-20 overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 grid-bg pointer-events-none opacity-50"}),d.jsx("div",{className:"absolute -top-32 left-1/2 -translate-x-1/2 w-[60vw] h-[40vw] bg-signal-yellow/5 rounded-full blur-[140px] pointer-events-none"}),d.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:d.jsx("div",{className:"absolute left-0 right-0 h-px bg-gradient-to-r from-transparent via-signal-yellow/25 to-transparent animate-scan-line"})}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-12",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"07 / Contact"}),d.jsx("span",{className:"ja-only",children:"07 / ãåãåãã"})]}),d.jsx("div",{className:"h-px w-16 bg-line-bright"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16",children:[d.jsxs("div",{className:"lg:col-span-7",children:[d.jsxs("h2",{className:"en-only font-display font-bold leading-[1.0] tracking-ultra-tight text-balance max-w-[20ch] text-bone",style:{fontSize:"clamp(2rem,5vw,4.2rem)"},children:["Proving human activity on the internet â toward the ",d.jsx("span",{className:"font-serif-x italic font-normal text-signal-yellow",children:"Root of Trust"})," for the AI era."]}),d.jsxs("h2",{className:"ja-only font-display font-bold leading-[1.2] tracking-tight text-balance max-w-[22ch] jp-tight text-bone",style:{fontSize:"clamp(1.8rem,4.5vw,3.6rem)"},children:["ã¤ã³ã¿ã¼ãããã®",d.jsx("span",{className:"font-serif-x italic font-normal text-signal-yellow",children:"人éè¡å"}),"ã証æããã",d.jsx("br",{}),"AIæä»£ã®",d.jsx("span",{className:"text-signal-yellow",children:"ãRoot of Trustã"}),"ã¸ã"]}),d.jsxs("div",{className:"mt-10 flex flex-wrap items-center gap-3",children:[d.jsxs("a",{href:"https://dea.sg/contact/",target:"_blank",rel:"noopener",className:"btn-yellow inline-flex items-center gap-2 px-7 h-12 rounded-full text-[14px]",children:[d.jsx("span",{className:"en-only",children:"Contact Us"}),d.jsx("span",{className:"ja-only",children:"åãåãã"}),d.jsx("span",{children:"â"})]}),d.jsxs("a",{href:"/docs",className:"btn-ghost inline-flex items-center gap-2 px-6 h-12 rounded-full text-[14px]",children:[d.jsx("span",{className:"en-only",children:"Documentation"}),d.jsx("span",{className:"ja-only",children:"ããã¥ã¡ã³ã"})]})]})]}),d.jsxs("div",{className:"lg:col-span-5 lg:border-l lg:border-line lg:pl-10",children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-6",children:[d.jsx("span",{className:"en-only",children:"Use Cases"}),d.jsx("span",{className:"ja-only",children:"äºä¾"})]}),d.jsx("ul",{className:"space-y-5 text-[14px]",children:BA.map((e,t)=>d.jsxs("li",{className:`flex gap-4 pb-5 ${t<BA.length-1?"border-b border-line":""}`,children:[d.jsx("span",{className:"dot-yellow mt-1.5"}),d.jsxs("div",{className:"flex-1",children:[d.jsxs("div",{className:"text-bone font-display font-semibold text-[15px]",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]}),d.jsxs("div",{className:"text-bone-muted text-[12px] mt-1 leading-relaxed",children:[d.jsx("span",{className:"en-only",children:e.descEn}),d.jsx("span",{className:"ja-only",children:e.descJa})]})]})]},t))})]})]})]})]})}const NK="https://raw.githubusercontent.com/yamadakouzou-DEA/dep-protocol-lp/main/dep-symbol-only.png";function Hu(){return d.jsxs("footer",{id:"contact",className:"relative bg-black pt-24 pb-12 overflow-hidden border-t border-line",children:[d.jsx("div",{className:"absolute inset-x-0 bottom-0 pointer-events-none select-none",children:d.jsxs("div",{className:"font-display font-bold leading-[0.8] tracking-mega-tight text-center -mb-6",style:{fontSize:"clamp(6rem,22vw,24rem)",color:"rgba(255,255,255,0.025)",whiteSpace:"nowrap"},children:["DEP",d.jsx("span",{style:{color:"rgba(255,215,0,0.1)"},children:"·"}),"PROTOCOL"]})}),d.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 lg:px-10",children:[d.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 ga
252p-8 lg:gap-12 pb-16 border-b border-line",children:[d.jsxs("div",{className:"col-span-2",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[d.jsxs("div",{className:"relative flex items-center",children:[d.jsx("img",{src:NK,alt:"DEP symbol",className:"relative w-7 h-7 object-contain z-10"}),d.jsx("div",{className:"absolute inset-0 w-7 h-7 bg-signal-yellow/25 blur-lg pointer-events-none"})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"font-display font-bold tracking-tight text-[15px] text-bone",children:[d.jsxs("span",{className:"en-only",children:["DEP",d.jsx("span",{style:{color:"#FFD700"},children:"·"}),"Protocol"]}),d.jsxs("span",{className:"ja-only",children:["DEP",d.jsx("span",{style:{color:"#FFD700"},children:"·"}),"Protocol"]})]}),d.jsx("div",{className:"text-[10px] font-mono-x uppercase tracking-widest mt-0.5",style:{color:"rgba(255,215,0,0.7)"},children:"DEP (DEAPcoin)"})]})]}),d.jsx("p",{className:"en-only text-[13px] leading-relaxed text-bone-muted max-w-[34ch] mb-6",children:"The Layer 1 for Human Verification. Six years in public markets. 100,000+ anchor humans. Value tied to real demand."}),d.jsx("p",{className:"ja-only text-[13px] leading-[1.85] text-bone-muted max-w-[30ch] mb-6",children:"äººéæ¤è¨¼ã®ããã®ã¬ã¤ã¤ã¼1ãå
¬éå¸å ´ã§6å¹´éã®å®ç¸¾ã10ä¸äººè¶
ã®ã¢ã³ã«ã¼ã価å¤ã¯å®éã«ç´ã¥ãã"}),d.jsxs("div",{className:"inline-flex items-center gap-2 px-2.5 py-1 border border-line-bright rounded-full",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow animate-pulse-dot"}),d.jsxs("span",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-muted",children:[d.jsx("span",{className:"en-only",children:"Token Live · Since 2020"}),d.jsx("span",{className:"ja-only",children:"ãã¼ã¯ã³æµéä¸ Â· 2020ã"})]})]})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-4",children:[d.jsx("span",{className:"en-only",children:"Protocol"}),d.jsx("span",{className:"ja-only",children:"Protocol"})]}),d.jsx("ul",{className:"space-y-2.5 text-[13px]",children:[{en:"Whitepaper",ja:"ãã¯ã¤ããã¼ãã¼",href:"https://deapnetwork.whitepaper.dea.sg/en/",ext:!0},{en:"Documentation",ja:"ããã¥ã¡ã³ã",href:"/docs"},{en:"Tokenomics",ja:"ãã¼ã¯ããã¯ã¹",href:"#tokenomics"}].map((e,t)=>d.jsx("li",{children:d.jsxs("a",{href:e.href,target:e.ext?"_blank":void 0,rel:e.ext?"noopener":void 0,className:"text-bone-muted hover:text-bone transition-colors",children:[d.jsx("span",{className:"en-only",children:e.en}),d.jsx("span",{className:"ja-only",children:e.ja})]})},t))})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-4",children:[d.jsx("span",{className:"en-only",children:"Market"}),d.jsx("span",{className:"ja-only",children:"ãã¼ã±ãã"})]}),d.jsxs("ul",{className:"space-y-2.5 text-[13px]",children:[d.jsx("li",{children:d.jsx("a",{href:"https://coinmarketcap.com/currencies/deapcoin/",target:"_blank",rel:"noopener",className:"text-bone-muted hover:text-bone transition-colors",children:"CoinMarketCap"})}),d.jsx("li",{children:d.jsx("a",{href:"https://www.coingecko.com/en/coins/deapcoin",target:"_blank",rel:"noopener",className:"text-bone-muted hover:text-bone transition-colors",children:"CoinGecko"})})]})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-4",children:[d.jsx("span",{className:"en-only",children:"Connect"}),d.jsx("span",{className:"ja-only",children:"SNS"})]}),d.jsx("ul",{className:"space-y-2.5 text-[13px]",children:[{label:"X / Twitter",href:"https://x.com/PlayMining_SG"},{label:"Discord",href:"https://discord.com/invite/xWeHGdt"},{label:"Telegram",href:"https://t.me/DEAPcoin_group"},{label:"Medium",href:"https://medium.com/playmining-game"}].map((e,t)=>d.jsx("li",{children:d.jsx("a",{href:e.href,target:"_blank",rel:"noopener",className:"text-bone-muted hover:text-bone transition-colors",children:e.label})},t))})]})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-10 py-10 border-b border-line",children:[d.jsxs("div",{children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-3",children:[d.jsx("span",{className:"en-only",children:"Issuing Entity"}),d.jsx("span",{className:"ja-only",children:"çºè¡ä¸»ä½"})]}),d.jsx("div",{className:"font-display text-[15px] font-semibold mb-1 text-bone",children:"Digital Entertainment Asset Pte. Ltd."}),d.jsxs("div",{className:"text-[13px] text-bone-muted leading-relaxed",children:["20 ANSON ROAD #11-01 TWENTY ANSON",d.jsx("br",{}),"SINGAPORE 079912"]})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-3",children:[d.jsx("span",{className:"en-only",children:"Japan Operations"}),d.jsx("span",{className:"ja-only",children:"æ¥æ¬æ ç¹éå¶"})]}),d.jsx("div",{className:"font-display text-[15px] font-semibold mb-1 text-bone",children:"æ ªå¼ä¼ç¤¾ Digital Entertainment Asset"}),d.jsxs("div",{className:"text-[13px] text-bone-muted leading-relaxed",children:["ã105-0003 æ±äº¬é½æ¸¯åºè¥¿æ°æ© 1-6-11",d.jsx("br",{}),"è¥¿æ°æ©å
åãã« 2F"]})]})]}),d.jsx("div",{className:"pt-8 flex flex-col md:flex-row items-start md:items-center justify-between gap-4",children:d.jsx("div",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint",children:"© 2026 Digital Entertainment Asset Pte. Ltd. All rights reserved."})}),d.jsxs("div",{className:"mt-8 text-[11px] leading-relaxed text-bone-faint max-w-[90ch]",children:[d.jsx("span",{className:"en-only",children:"This site does not constitute an offer to sell, or a solicitation of an offer to buy, any securities or tokens. Information presented is for general informational purposes only and may be subject to change. Participation in the DEP Protocol ecosystem may be restricted in certain
252jurisdictions. Consult local regulations before interacting with the protocol."}),d.jsx("span",{className:"ja-only",children:"æ¬ãµã¤ãã¯ãæä¾¡è¨¼å¸ãããã¯ãã¼ã¯ã³ã®å£²ä»ãã®ç³è¾¼ã¿ãã¾ãã¯è²·ä»ãã®ç³è¾¼ã¿ã®å§èªãæ§æãããã®ã§ã¯ããã¾ãããæ²è¼æ
å ±ã¯ä¸è¬çãªæ
å ±æä¾ã®ã¿ãç®çã¨ããäºåãªã夿´ãããå ´åãããã¾ããDEP Protocolã»ã¨ã³ã·ã¹ãã ã¸ã®åå ã¯ãä¸é¨ã®æ³åã§å¶éãããå¯è½æ§ãããã¾ããProtocolãå©ç¨ããåã«ãå¿
ãåå°ã®é©ç¨æ³ä»¤ãã確èªãã ããã"})]})]})]})}function PK(){const{lang:e}=Qr(),[t,n]=O.useState(!1),[r,i]=O.useState([]),[o,a]=O.useState(""),[s,c]=O.useState(!1),f=O.useRef(null);O.useEffect(()=>{f.current&&(f.current.scrollTop=f.current.scrollHeight)},[r,s]);const h=async()=>{const g=o.trim();if(!g||s)return;const y=r.map(b=>({role:b.role,content:b.content})),S=[...r,{role:"user",content:g}];i(S),a(""),c(!0);try{const b=await Be.functions.invoke("chatAnswer",{question:g,history:y});i([...S,{role:"assistant",content:b.data.answer}])}catch{i([...S,{role:"assistant",content:e==="ja"?"ã¨ã©ã¼ãçºçãã¾ããããã°ãããã¦ããããä¸åº¦ã試ããã ããã":"An error occurred. Please try again later."}])}finally{c(!1)}},p=(g,y)=>e==="ja"?y:g;return d.jsxs(d.Fragment,{children:[d.jsx("button",{onClick:()=>n(!t),"aria-label":"AI Chat",className:"fixed bottom-5 right-5 z-50 w-14 h-14 rounded-full bg-signal-yellow text-black flex items-center justify-center shadow-2xl hover:scale-105 transition-transform",children:t?d.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2.5,viewBox:"0 0 24 24",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})}):d.jsx("svg",{className:"w-7 h-7",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.86 9.86 0 01-4-.8L3 20l1.3-3.9A7.96 7.96 0 013 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})})}),t&&d.jsxs("div",{className:"fixed bottom-24 right-5 z-50 w-[calc(100vw-2.5rem)] max-w-[400px] h-[520px] max-h-[75vh] bg-ink-100 border border-line rounded-2xl shadow-2xl flex flex-col overflow-hidden",children:[d.jsxs("div",{className:"flex items-center gap-3 px-5 py-4 border-b border-line bg-ink-200",children:[d.jsx("div",{className:"w-8 h-8 rounded-full bg-gradient-to-br from-signal-yellow to-signal-red flex items-center justify-center text-[#050505] font-mono-x font-bold text-xs",children:"AI"}),d.jsxs("div",{children:[d.jsx("p",{className:"font-display font-semibold text-sm text-bone leading-tight",children:"DEP Assistant"}),d.jsxs("p",{className:"text-[10px] font-mono-x text-bone-faint flex items-center gap-1",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-green-500 animate-pulse-dot"}),p("Online","ãªã³ã©ã¤ã³")]})]})]}),d.jsxs("div",{ref:f,className:"flex-1 overflow-y-auto px-4 py-4 space-y-3",children:[r.length===0&&d.jsxs("div",{className:"text-center py-8",children:[d.jsx("p",{className:"text-[13px] text-bone-muted mb-2",children:p("Ask me anything about DEP Protocol.","DEP Protocolã«ã¤ãã¦è³ªåãã¦ãã ããã")}),d.jsx("p",{className:"text-[11px] text-bone-faint",children:p("Answers are based on uploaded documents.","ã¢ãããã¼ãæ¸ã¿ææ¸ã«åºã¥ãã¦åçãã¾ãã")})]}),r.map((g,y)=>d.jsx("div",{className:`flex ${g.role==="user"?"justify-end":"justify-start"}`,children:d.jsx("div",{className:`max-w-[85%] px-3.5 py-2.5 rounded-2xl text-[13px] leading-relaxed whitespace-pre-wrap ${g.role==="user"?"bg-signal-yellow text-black rounded-br-sm":"bg-ink-300 text-bone rounded-bl-sm border border-line"}`,children:g.content})},y)),s&&d.jsx("div",{className:"flex justify-start",children:d.jsxs("div",{className:"bg-ink-300 border border-line rounded-2xl rounded-bl-sm px-4 py-3 flex gap-1",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-bone-faint animate-pulse-dot",style:{animationDelay:"0ms"}}),d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-bone-faint animate-pulse-dot",style:{animationDelay:"200ms"}}),d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-bone-faint animate-pulse-dot",style:{animationDelay:"400ms"}})]})})]}),d.jsx("div",{className:"p-3 border-t border-line bg-ink-200",children:d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("input",{value:o,onChange:g=>a(g.target.value),onKeyDown:g=>{g.key==="Enter"&&!g.shiftKey&&(g.preventDefault(),h())},placeholder:p("Type a message...","ã¡ãã»ã¼ã¸ãå
¥å..."),disabled:s,className:"flex-1 bg-ink-100 border border-line rounded-full px-4 py-2.5 text-[13px] text-bone focus:outline-none focus:border-signal-yellow/40 disabled:opacity-50"}),d.jsx("button",{onClick:h,disabled:s||!o.trim(),"aria-label":"Send",className:"w-10 h-10 rounded-full bg-signal-yellow text-black flex items-center justify-center hover:opacity-90 disabled:opacity-40 disabled:cursor-not-allowed transition-opacity flex-shrink-0",children:d.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",strokeWidth:2.5,viewBox:"0 0 24 24",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14M13 6l6 6-6 6"})})})]})})]})]})}function AK(){return d.jsxs("div",{className:"min-h-screen bg-black text-bone overflow-x-hidden",children:[d.jsx(es,{}),d.jsx(YG,{}),d.jsx(QG,{}),d.jsx(ZG,{}),d.jsx(eK,{}),d.jsx(nK,{}),d.jsx(aK,{}),d.jsx(lK,{}),d.jsx(hK,{}),d.jsx(gK,{}),d.jsx(vK,{}),d.jsx(bK,{}),d.jsx(SK,{}),d.jsx(kK,{}),d.jsx(EK,{}),d.jsx(Hu,{}),d.jsx(PK,{})]})}function Z4(e,t=""){const n={};for(const[r,i]of Object.entries(e)){const o=t?`${t}.${r}`:r;typeof i=="string"?n[o]=i:Array.isArray(i)||typeof i=="object"&&i!==null&&Object.assign(n,Z4(i,o))}return n}const OK=Object.keys(Fa.en);function CK(){const{reloadTranslations:e}=Qr(),[t,n]=O.useState(null),[r,i]=O.useState({}),[o,a]=O.useState({}),[s,c]=O.useState(!0),[f,h]=O.useState({}),[p,g]=O.useState({});O.useEffect(()=>{y()},[]);const y=async()=>{c(!0);try{const j=await Be.entities.Translation.list(),_={};for(const E of j){const N=`${E.section}::${E.key}`;_[N]={id:E.id,en:E.en||"",ja:E.ja||""}}a(_)}finally{c(!1)}},S=(j,_,E,N)=>{const P=`${j}::${_}`;i(C=>({...C,[P]:{...C[P],[E]:N}}))},b=(j,_,E)=>{var T,L;const N=`${j}::${_}`;if(((T=r[N])==null?void 0:T[E])!==void 0)return r[N][E];if(((L=o[N])==null?void 0:L[E])!==void 0)return o[N][E];const P=_.split(".");let C=Fa[E][j];for(const D of P){if(C==null)return"";C=C[D]}return typeof C=="string"?C:""},v=async j=>{h(_=>({..._,[j]:!0}));try{const _=Object.entries(r).filter(([E])=>E.startsWith(`${j}::`));for(const[E,N]of _){const P=E.replace(`${j}::`,""),C=o[E];if(C)await Be.entities.Translation.update(C.id,{en:N.en??C.en,ja:N.ja??C.ja});else{const T=b(j,P,"en"),L=b(j,P,"ja");await Be.entities.Translation.create({section:j,key:P,en:N.en!==void 0?N.en:T,ja:N.ja!==void 0?N.ja:L})}}await y(),await e(),i(E=>{const N={...E};return Object.keys(N).filter(P=>P.startsWith(`${j}
252::`)).forEach(P=>delete N[P]),N}),g(E=>({...E,[j]:!0})),setTimeout(()=>g(E=>({...E,[j]:!1})),2e3)}finally{h(_=>({..._,[j]:!1}))}},w=j=>{i(_=>{const E={..._};return Object.keys(E).filter(N=>N.startsWith(`${j}::`)).forEach(N=>delete E[N]),E})};return s?d.jsx("div",{className:"flex items-center justify-center py-20",children:d.jsx(s1,{className:"w-6 h-6 animate-spin text-[#FFD700]"})}):d.jsxs("div",{className:"space-y-3",children:[d.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"åã»ã¯ã·ã§ã³ãå±éãã¦æ¥æ¬èªã»è±èªããã¹ããç·¨éã§ãã¾ããä¿åããã¨DBã«åæ ããã峿ãµã¤ãã«è¡¨ç¤ºããã¾ãã"}),OK.map(j=>{const _=t===j,E=Z4(Fa.en[j]),N=Object.keys(E),P=Object.keys(r).some(C=>C.startsWith(`${j}::`));return d.jsxs("div",{className:"rounded-xl border border-white/5 bg-white/[0.02] overflow-hidden",children:[d.jsx("button",{onClick:()=>n(_?null:j),className:"w-full flex items-center justify-between px-6 py-4 hover:bg-white/[0.02] transition-colors",children:d.jsxs("div",{className:"flex items-center gap-3",children:[_?d.jsx(Df,{className:"w-4 h-4 text-[#FFD700]"}):d.jsx(Ma,{className:"w-4 h-4 text-muted-foreground"}),d.jsx("span",{className:"font-mono text-sm text-foreground",children:j}),d.jsxs("span",{className:"text-xs text-muted-foreground",children:["(",N.length," keys)"]}),P&&d.jsx("span",{className:"w-2 h-2 rounded-full bg-[#FF6600]",title:"æªä¿åã®å¤æ´"})]})}),_&&d.jsxs("div",{className:"px-6 pb-6",children:[d.jsx("div",{className:"overflow-x-auto",children:d.jsxs("table",{className:"w-full text-sm",children:[d.jsx("thead",{children:d.jsxs("tr",{className:"border-b border-white/5",children:[d.jsx("th",{className:"text-left font-mono text-xs text-muted-foreground py-2 pr-4 w-1/4",children:"Key"}),d.jsx("th",{className:"text-left font-mono text-xs text-muted-foreground py-2 pr-4 w-[37.5%]",children:"English"}),d.jsx("th",{className:"text-left font-mono text-xs text-muted-foreground py-2 w-[37.5%]",children:"æ¥æ¬èª"})]})}),d.jsx("tbody",{className:"divide-y divide-white/[0.03]",children:N.map(C=>d.jsxs("tr",{children:[d.jsx("td",{className:"py-3 pr-4 align-top",children:d.jsx("span",{className:"font-mono text-xs text-muted-foreground/70 break-all",children:C})}),d.jsx("td",{className:"py-3 pr-4 align-top",children:d.jsx("textarea",{value:b(j,C,"en"),onChange:T=>S(j,C,"en",T.target.value),rows:2,className:"w-full bg-white/[0.03] border border-white/5 rounded-lg px-3 py-2 text-xs text-foreground resize-y focus:outline-none focus:border-[#FFD700]/30 transition-colors"})}),d.jsx("td",{className:"py-3 align-top",children:d.jsx("textarea",{value:b(j,C,"ja"),onChange:T=>S(j,C,"ja",T.target.value),rows:2,className:"w-full bg-white/[0.03] border border-white/5 rounded-lg px-3 py-2 text-xs text-foreground resize-y focus:outline-none focus:border-[#FFD700]/30 transition-colors"})})]},C))})]})}),d.jsxs("div",{className:"flex items-center gap-3 mt-4",children:[d.jsxs("button",{onClick:()=>v(j),disabled:!P||f[j],className:"flex items-center gap-2 px-4 py-2 rounded-lg bg-[#FFD700]/10 border border-[#FFD700]/20 text-[#FFD700] text-xs font-medium hover:bg-[#FFD700]/20 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[f[j]?d.jsx(s1,{className:"w-3.5 h-3.5 animate-spin"}):d.jsx(pL,{className:"w-3.5 h-3.5"}),p[j]?"ä¿åãã¾ãã â":"ä¿å"]}),P&&d.jsxs("button",{onClick:()=>w(j),className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-white/5 text-muted-foreground text-xs hover:text-foreground transition-colors",children:[d.jsx(Hq,{className:"w-3.5 h-3.5"}),"ãªã»ãã"]})]})]})]},j)})]})}function TK({currentUser:e}){const[t,n]=O.useState([]),[r,i]=O.useState(""),[o,a]=O.useState(!0),[s,c]=O.useState(!1),[f,h]=O.useState(""),p=async()=>{a(!0);const S=await Be.entities.AdminUser.list();n(S),a(!1)};O.useEffect(()=>{p()},[]);const g=async()=>{r.trim()&&(h(""),c(!0),await Be.entities.AdminUser.create({email:r.trim(),role:"admin",added_by:e.email}),i(""),await p(),c(!1))},y=async S=>{await Be.entities.AdminUser.delete(S),await p()};return d.jsxs("div",{children:[d.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"管çè
ã®è¿½å ã»åé¤ãã§ãã¾ãï¼ã¹ã¼ãã¼ã¢ããã
252³å°ç¨ï¼ã"}),d.jsxs("div",{className:"flex items-center gap-3 p-4 rounded-xl border border-[#FFD700]/20 bg-[#FFD700]/[0.03] mb-6",children:[d.jsx(Gq,{className:"w-4 h-4 text-[#FFD700]"}),d.jsxs("div",{children:[d.jsx("p",{className:"text-xs font-mono text-[#FFD700]",children:"SUPERADMIN"}),d.jsx("p",{className:"text-sm text-foreground",children:J4})]})]}),d.jsxs("div",{className:"flex gap-3 mb-6",children:[d.jsx("input",{type:"email",value:r,onChange:S=>{i(S.target.value),h("")},placeholder:"[email protected]",className:"flex-1 bg-white/[0.03] border border-white/10 rounded-lg px-4 py-2.5 text-sm text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-[#FFD700]/30 transition-colors"}),d.jsxs("button",{onClick:g,disabled:s||!r.trim(),className:"flex items-center gap-2 px-5 py-2.5 rounded-lg bg-[#FFD700]/10 border border-[#FFD700]/20 text-[#FFD700] text-sm font-medium hover:bg-[#FFD700]/20 transition-colors disabled:opacity-40",children:[d.jsx(hL,{className:"w-4 h-4"}),s?"追å ä¸...":"管çè
ã追å "]})]}),f&&d.jsx("p",{className:"text-xs text-red-400 mb-4",children:f}),o?d.jsx("div",{className:"flex justify-center py-10",children:d.jsx("div",{className:"w-6 h-6 border-2 border-[#FFD700]/20 border-t-[#FFD700] rounded-full animate-spin"})}):t.length===0?d.jsx("p",{className:"text-sm text-muted-foreground text-center py-10",children:"管çè
ãã¾ã 追å ããã¦ãã¾ãã"}):d.jsx("div",{className:"space-y-2",children:t.map(S=>d.jsxs("div",{className:"flex items-center justify-between px-5 py-3 rounded-xl border border-white/5 bg-white/[0.02]",children:[d.jsxs("div",{children:[d.jsx("p",{className:"text-sm text-foreground",children:S.email}),S.added_by&&d.jsxs("p",{className:"text-xs text-muted-foreground",children:["追å è
: ",S.added_by]})]}),d.jsx("button",{onClick:()=>y(S.id),className:"p-2 rounded-lg text-muted-foreground hover:text-red-400 hover:bg-red-400/10 transition-colors",children:d.jsx(mL,{className:"w-4 h-4"})})]},S.id))})]})}const Av={title_en:"",title_ja:"",body_en:"",body_ja:"",header_image:"",category:"announcement",published_at:new Date().toISOString().split("T")[0],is_published:!1},RK=[{value:"announcement",en:"Announcement",ja:"ãç¥ãã"},{value:"partnership",en:"Partnership",ja:"ãã¼ããã¼ã·ãã"},{value:"technology",en:"Technology",ja:"ãã¯ããã¸ã¼"},{value:"community",en:"Community",ja:"ã³ãã¥ããã£"}];function IK(){const[e,t]=O.useState([]),[n,r]=O.useState(null),[i,o]=O.useState(Av),[a,s]=O.useState(!1),[c,f]=O.useState(!1),h=()=>Be.entities.NewsArticle.list("-published_at",100).then(t);O.useEffect(()=>{h()},[]);const p=()=>{o(Av),r("new")},g=w=>{o({...Av,...w}),r(w.id)},y=async()=>{s(!0),n==="new"?await Be.entities.NewsArticle.create(i):await Be.entities.NewsArticle.update(n,i),s(!1),r(null),h()},S=async w=>{confirm("åé¤ãã¾ããï¼")&&(await Be.entities.NewsArticle.delete(w),h())},b=async w=>{const j=w.target.files[0];if(!j)return;f(!0);const{file_url:_}=await Be.integrations.Core.UploadFile({file:j});o(E=>({...E,header_image:_})),f(!1)},v=w=>j=>o(_=>({..._,[w]:j.target.type==="checkbox"?j.target.checked:j.target.value}));return n!==null?d.jsxs("div",{children:[d.jsx("button",{onClick:()=>r(null),className:"text-sm text-bone-muted hover:text-bone mb-6 flex items-center gap-1",children:"â ä¸è¦§ã«æ»ã"}),d.jsx("h2",{className:"font-display font-bold text-xl text-bone mb-8",children:n==="new"?"æ°è¦ãã¥ã¼ã¹ä½æ":"ãã¥ã¼ã¹ç·¨é"}),d.jsxs("div",{className:"space-y-6",children:[d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"Header Image"}),i.header_image&&d.jsx("img",{src:i.header_image,alt:"",className:"w-full max-h-48 object-cover rounded-lg mb-3 border border-line"}),d.jsxs("label",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg border border-line bg-ink-200 text-sm text-bone-muted hover:text-bone cursor-pointer transition-colors",children:[c?"ã¢ãããã¼ãä¸...":"ç»åãã¢ãããã¼ã",d.jsx("input",{type:"file",accept:"image/*",className:"hidden",onChange:b,disabled:c})]}),i.header_image&&d.jsx("button",{onClick:()=>o(w=>({...w,header_image:""})),className:"ml-3 text-xs text-signal-red hover:underline",children:"åé¤"})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"Title (EN)"}),d.jsx("input",{value:i.title_en,onChange:v("title_en"),className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50"})]}),d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"ã¿ã¤ãã« (JA)"}),d.jsx("input",{value:i.title_ja,onChange:v("title_ja"),className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50"})]})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"Body (EN)"}),d.jsx("textarea",{value:i.body_en,onChange:v("body_en"),rows:8,className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50 resize-none"})]}),d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"æ¬æ (JA)"}),d.jsx("textarea",{value:i.body_ja,onChange:v("body_ja"),rows:8,className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50 resize-none"})]})]}),d.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"Category"}),d.jsx("select",{value:i.category,onChange:v("category"),className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50",children:RK.map(w=>d.jsxs("option",{value:w.value,children:[w.en," / ",w.ja]},w.value))})]}),d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"å
¬éæ¥"}),d.jsx("input",{type:"date",value:i.published_at,onChange:v("published_at"),className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50"})]}),d.jsx("div",{className:"flex items-end pb-1",children:d.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[d.jsx("input",{type:"checkbox",checked:i.is_published,onChange:v("is_published"),className:"w-4 h-4 accent-[#FFD700]"}),d.jsx("span",{className:"text-sm text-bone",children:"å
¬éãã"})]})})]}),d.jsxs("div",{className:"flex items-center gap-3 pt-2",children:[d.jsx("button",{onClick:y,disabled:a,className:"px-6 py-2.5 rounded-lg bg-signal-yellow text-black font-semibold text-sm hover:opacity-90 disabled:opacity-50 transition-opacity",children:a?"ä¿åä¸...":"ä¿å"}),d.jsx("button",{onClick:()=>r(null),className:"px-6 py-2.5 rounded-lg border border-line text-bone-muted hover:text-bone text-sm transition-colors",children:"ãã£ã³ã»ã«"})]})]})]}):d.jsxs("div",{children:[d.jsxs("div",{className:"flex items-center justify-between mb-8",children:[d.jsx("h2",{className:"font-display font-bold text-xl text-bone",children:"ãã¥ã¼ã¹ç®¡ç"}),d.jsx("button",{onClick:p,className:"px-5 py-2 rounded-lg bg-signal-yellow text-black font-semibold text-sm hover:opacity-90 transition-opacity",children:"+ æ°è¦ä½æ"})]}),e.length===0?d.jsx("div",{className:"text-center py-16 text-bone-muted text-sm",children:"ãã¥ã¼ã¹è¨äºãããã¾ãã"}):d.jsx("div",{className:"space-y-3",children:e.map(w=>d.jsxs("div",{className:"flex items-center gap-4 p-4 border border-line bg-ink-100 rounded-xl hover:border-line-bright transition-colors",children:[w.header_image&&d.jsx("img",{src:w.header_image,alt:"",className:"w-16 h-12 object-cover rounded-lg flex-shrink-0 border border-line"}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-0.5",children:[d.jsx("span",{className:`text-[10px] font-mono-x uppercase tracking-widest px-1.5 py-0.5 rounded-full ${w.is_published?"bg-signal-yellow/10 text-signal-yellow border border-signal-yellow/25":"bg-ink-300 text-bone-faint border border-line"}`,children:w.is_published?"å
¬éä¸":"䏿¸ã"}),d.jsx("span",{className:"text-[11px] font-mono-x text-bone-faint",children:w.published_at})]}),d.jsx("p",{className:"text-sm font-semibold text-bone truncate",children:w.title_ja||w.title_en}),d.jsx("p",{className:"text-[12px] text-bone-muted truncate",children:w.title_en})]}),d.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[d.jsx("button",{onClick:()=>g(w),className:"px-4 py-1.5 rounded-lg border border-line text-bone-muted hover:text-bone hover:border-line-bright text-sm transition-colors",children:"ç·¨é"}),d.jsx("button",{onClick:()=>S(w.id),className:"px-4 py-1.5 rounded-lg border border-signal-red/30 text-signal-red hover:bg-signal-red/10 text-sm transition-colors",children:"åé¤"})]})]},w.id))})]})}async function zA(e,t="article.md"){if(!e||!e.trim())return"";const n=new File([e],t,{type:"text/markdown"}),{file_url:r}=await Be.integrations.Core.UploadFile({file:n});return r}async function L1(e){if(!e)return"";if(!/^https?:\/\//.test(e))return e;try{return await(await fetch(e)).text()}catch{return""}}function DK(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const MK=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,LK=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,$K={};function UA(e,t){return($K.jsx?LK:MK).test(e)}const FK=/[ \t\n\f\r]/g;function BK(e){return typeof e=="object"?e.type==="text"?qA(e.value):!1:qA(e)}function qA(e){return e.replace(FK,"")===""}class qf{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}qf.prototype.normal={};qf.prototype.property={};qf.prototype.space=void 0;function e$(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new qf(n,r,t)}function $1(e){return e.toLowerCase()}class Qn{constructor(t,n){this.attribute=n,this.property=t}}Qn.prototype.attribute="";Qn.prototype.booleanish=!1;Qn.prototype.boolean=!1;Qn.prototype.commaOrSpaceSeparated=!1;Qn.prototype.commaSeparated=!1;Qn.prototype.defined=!1;Qn.prototype.mustUseProperty=!1;Qn.prototype.number=!1;Qn.prototype.overloadedBoolean=!1;Qn.prototype.property="";Qn.prototype.spaceSeparated=!1;Qn.prototype.space=void 0;let zK=0;const Ge=ys(),qt=ys(),F1=ys(),me=ys(),wt=ys(),ul=ys(),or=ys();function ys(){return 2**++zK}const B1=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ge,booleanish:qt,commaOrSpaceSeparated:or,commaSeparated:ul,number:me,overloadedBoolean:F1,spaceSeparated:wt},Symbol.toStringTag,{value:"Module"})),Ov=Object.keys(B1);class e_ extends Qn{constructor(t,n,r,i){let o=-1;if(super(t,n),HA(this,"space",i),typeof r=="number")for(;++o<Ov.length;){const a=Ov[o];HA(this,Ov[o],(r&B1[a])===B1[a])}}}e_.prototype.defined=!0;function HA(e,t,n){n&&(e[t]=n)}function lc(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new e_(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[$1(r)]=r,n[$1(o.attribute)]=r}return new qf(t,n,e.space)}const t$=lc({properties:{ariaActiveDescendant:null,ariaAtomic:qt,ariaAutoComplete:null,ariaBusy:qt,ariaChecked:qt,ariaColCount:me,ariaColIndex:me,ariaColSpan:me,ariaControl
vendor: 5,434 bytes, line 252
252s:wt,ariaCurrent:null,ariaDescribedBy:wt,ariaDetails:null,ariaDisabled:qt,ariaDropEffect:wt,ariaErrorMessage:null,ariaExpanded:qt,ariaFlowTo:wt,ariaGrabbed:qt,ariaHasPopup:null,ariaHidden:qt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:wt,ariaLevel:me,ariaLive:null,ariaModal:qt,ariaMultiLine:qt,ariaMultiSelectable:qt,ariaOrientation:null,ariaOwns:wt,ariaPlaceholder:null,ariaPosInSet:me,ariaPressed:qt,ariaReadOnly:qt,ariaRelevant:null,ariaRequired:qt,ariaRoleDescription:wt,ariaRowCount:me,ariaRowIndex:me,ariaRowSpan:me,ariaSelected:qt,ariaSetSize:me,ariaSort:null,ariaValueMax:me,ariaValueMin:me,ariaValueNow:me,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function n$(e,t){return t in e?e[t]:t}function r$(e,t){return n$(e,t.toLowerCase())}const UK=lc({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ul,acceptCharset:wt,accessKey:wt,action:null,allow:null,allowFullScreen:Ge,allowPaymentRequest:Ge,allowUserMedia:Ge,alt:null,as:null,async:Ge,autoCapitalize:null,autoComplete:wt,autoFocus:Ge,autoPlay:Ge,blocking:wt,capture:null,charSet:null,checked:Ge,cite:null,className:wt,cols:me,colSpan:null,content:null,contentEditable:qt,controls:Ge,controlsList:wt,coords:me|ul,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ge,defer:Ge,dir:null,dirName:null,disabled:Ge,download:F1,draggable:qt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ge,formTarget:null,headers:wt,height:me,hidden:F1,high:me,href:null,hrefLang:null,htmlFor:wt,httpEquiv:wt,id:null,imageSizes:null,imageSrcSet:null,inert:Ge,inputMode:null,integrity:null,is:null,isMap:Ge,itemId:null,itemProp:wt,itemRef:wt,itemScope:Ge,itemType:wt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ge,low:me,manifest:null,max:null,maxLength:me,media:null,method:null,min:null,minLength:me,multiple:Ge,muted:Ge,name:null,nonce:null,noModule:Ge,noValidate:Ge,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ge,optimum:me,pattern:null,ping:wt,placeholder:null,playsInline:Ge,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ge,referrerPolicy:null,rel:wt,required:Ge,reversed:Ge,rows:me,rowSpan:me,sandbox:wt,scope:null,scoped:Ge,seamless:Ge,selected:Ge,shadowRootClonable:Ge,shadowRootDelegatesFocus:Ge,shadowRootMode:null,shape:null,size:me,sizes:null,slot:null,span:me,spellCheck:qt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:me,step:null,style:null,tabIndex:me,target:null,title:null,translate:null,type:null,typeMustMatch:Ge,useMap:null,value:qt,width:me,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:wt,axis:null,background:null,bgColor:null,border:me,borderColor:null,bottomMargin:me,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ge,declare:Ge,event:null,face:null,frame:null,frameBorder:null,hSpace:me,leftMargin:me,link:null,longDesc:null,lowSrc:null,marginHeight:me,marginWidth:me,noResize:Ge,noHref:Ge,noShade:Ge,noWrap:Ge,object:null,profile:null,prompt:null,rev:null,rightMargin:me,rules:null,scheme:null,scrolling:qt,standby:null,summary:null,text:null,topMargin:me,valueType:null,version:null,vAlign:null,vLink:null,vSpace:me,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ge,disableRemotePlayback:Ge,prefix:null,property:null,results:me,security:null,unselectable:null},space:"html",transform:r$}),qK=lc({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
252dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:or,accentHeight:me,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:me,amplitude:me,arabicForm:null,ascent:me,attributeName:null,attributeType:null,azimuth:me,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:me,by:null,calcMode:null,capHeight:me,className:wt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
252dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:me,diffuseConstant:me,direction:null,display:null,dur:null,divisor:me,dominantBaseline:null,download:Ge,dx:null,dy:null,edgeMode:null,editable:null,elevation:me,enableBackground:null,end:null,event:null,exponent:me,externalResourcesRequired:null,fill:null,fillOpacity:me,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ul,g2:ul,glyphName:ul,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:me,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:me,horizOriginX:me,horizOriginY:me,id:null,ideographic:me,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:me,k:me,k1:me,k2:me,k3:me,k4:me,kernelMatrix:or,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:me,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:me,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:me,overlineThickness:me,paintOrder:null,panose1:null,path:null,pathLength:me,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:wt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:me,pointsAtY:me,pointsAtZ:me,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:or,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:or,rev:or,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:or,requiredFeatures:or,requiredFonts:or,requiredFormats:or,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:me,specularExponent:me,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:me,strikethroughThickness:me,string:null,stroke:null,strokeDashArray:or,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:me,strokeOpacity:me,strokeWidth:null,style:null,surfaceScale:me,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:or,tabIndex:me,tableValues:null,target:null,targetX:me,targetY:me,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:or,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:me,underlineThickness:me,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:me,values:null,vAlphabetic:me,vMathematical:me,vectorEffect:null,vHanging:me,vIdeographic:me,ver
vendor: 4,521 bytes, lines 252-253
252sion:null,vertAdvY:me,vertOriginX:me,vertOriginY:me,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:me,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:n$}),i$=lc({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),o$=lc({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:r$}),a$=lc({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),HK={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},WK=/[A-Z]/g,WA=/-[a-z]/g,VK=/^data[-\w.:]+$/i;function GK(e,t){const n=$1(t);let r=t,i=Qn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&VK.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(WA,XK);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!WA.test(o)){let a=o.replace(WK,KK);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=e_}return new i(r,t)}function KK(e){return"-"+e.toLowerCase()}function XK(e){return e.charAt(1).toUpperCase()}const YK=e$([t$,UK,i$,o$,a$],"html"),t_=e$([t$,qK,i$,o$,a$],"svg");function JK(e){return e.join(" ").trim()}var Xs={},Cv,VA;function QK(){if(VA)return Cv;VA=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,c=` 253`,f="/",h="*",p="",g="comment",y="declaration";function S(v,w){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];w=w||{};var j=1,_=1;function E(U){var z=U.match(t);z&&(j+=z.length);var W=U.lastIndexOf(c);_=~W?U.length-W:_+U.length}function N(){var U={line:j,column:_};return function(z){return z.position=new P(U),L(),z}}function P(U){this.start=U,this.end={line:j,column:_},this.source=w.source}P.prototype.content=v;function C(U){var z=new Error(w.source+":"+j+":"+_+": "+U);if(z.reason=U,z.filename=w.source,z.line=j,z.column=_,z.source=v,!w.silent)throw z}function T(U){var z=U.exec(v);if(z){var W=z[0];return E(W),v=v.slice(W.length),z}}function L(){T(n)}function D(U){var z;for(U=U||[];z=M();)z!==!1&&U.push(z);return U}function M(){var U=N();if(!(f!=v.charAt(0)||h!=v.charAt(1))){for(var z=2;p!=v.charAt(z)&&(h!=v.charAt(z)||f!=v.charAt(z+1));)++z;if(z+=2,p===v.charAt(z-1))return C("End of comment missing");var W=v.slice(2,z-2);return _+=2,E(W),v=v.slice(z),_+=2,U({type:g,comment:W})}}function $(){var U=N(),z=T(r);if(z){if(M(),!T(i))return C("property missing ':'");var W=T(o),Z=U({type:y,property:b(z[0].replace(e,p)),value:W?b(W[0].replace(e,p)):p});return T(a),Z}}function H(){var U=[];D(U);for(var z;z=$();)z!==!1&&(U.push(z),D(U));return U}return L(),H()}function b(v){return v?v.replace(s,p):p}return Cv=S,Cv}var GA;function ZK(){if(GA)return Xs;GA=1;var e=Xs&&Xs.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Xs,"__esModule",{value:!0}),Xs.default=n;const t=e(QK());function n(r,i){let o=null;if(!r||typeof r!="string")return o;const a=(0,t.default)(r),s=typeof i=="function";return a.forEach(c=>{if(c.type!=="declaration")return;const{property:f,value:h}=c;s?i(f,h,c):h&&(o=o||{},o[f]=h)}),o}return Xs}var su={},KA;function eX(){if(KA)return su;KA=1,Object.defineProperty(su,"__esModule",{value:!0}),su.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,o=function(f){return!f||n.test(f)||e.test(f)},a=function(f,h){return h.toUpperCase()},s=function(f,h){return"".concat(h,"-")},c=function(f,h){return h===void 0&&(h={}),o(f)?f:(f=f.toLowerCase(),h.reactCompat?f=f.replace(i,s):f=f.replace(r,s),f.replace(t,a))};return su.camelCase=c,su}var lu,XA;function tX(){if(XA)return lu;XA=1;var e=lu&&lu.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(ZK()),n=eX();function r(i,o){var a={};
vendor: 2,733 bytes, line 253
253return!i||typeof i!="string"||(0,t.default)(i,function(s,c){s&&c&&(a[(0,n.camelCase)(s,o)]=c)}),a}return r.default=r,lu=r,lu}var nX=tX();const rX=lt(nX),s$=l$("end"),n_=l$("start");function l$(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function iX(e){const t=n_(e),n=s$(e);if(t&&n)return{start:t,end:n}}function Ou(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?YA(e.position):"start"in e||"end"in e?YA(e):"line"in e||"column"in e?z1(e):""}function z1(e){return JA(e&&e.line)+":"+JA(e&&e.column)}function YA(e){return z1(e&&e.start)+"-"+z1(e&&e.end)}function JA(e){return e&&typeof e=="number"?e:1}class Tn extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},a=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(a=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?o.ruleId=r:(o.source=r.slice(0,c),o.ruleId=r.slice(c+1))}if(!o.place&&o.ancestors&&o.ancestors){const c=o.ancestors[o.ancestors.length-1];c&&(o.place=c.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=Ou(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Tn.prototype.file="";Tn.prototype.name="";Tn.prototype.reason="";Tn.prototype.message="";Tn.prototype.stack="";Tn.prototype.column=void 0;Tn.prototype.line=void 0;Tn.prototype.ancestors=void 0;Tn.prototype.cause=void 0;Tn.prototype.fatal=void 0;Tn.prototype.place=void 0;Tn.prototype.ruleId=void 0;Tn.prototype.source=void 0;const r_={}.hasOwnProperty,oX=new Map,aX=/[A-Z]/g,sX=new Set(["table","tbody","thead","tfoot","tr"]),lX=new Set(["td","th"]),c$="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function cX(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=yX(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 10,529 bytes, line 253
253if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=gX(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?t_:YK,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=u$(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function u$(e,t,n){if(t.type==="element")return uX(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return fX(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return hX(e,t,n);if(t.type==="mdxjsEsm")return dX(e,t);if(t.type==="root")return pX(e,t,n);if(t.type==="text")return mX(e,t)}function uX(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=t_,e.schema=i),e.ancestors.push(t);const o=d$(e,t.tagName,!1),a=vX(e,t);let s=o_(e,t);return sX.has(t.tagName)&&(s=s.filter(function(c){return typeof c=="string"?!BK(c):!0})),f$(e,a,o,t),i_(a,s),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}function fX(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Wu(e,t.position)}function dX(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Wu(e,t.position)}function hX(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=t_,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:d$(e,t.name,!0),a=xX(e,t),s=o_(e,t);return f$(e,a,o,t),i_(a,s),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}function pX(e,t,n){const r={};return i_(r,o_(e,t)),e.create(t,e.Fragment,r,n)}function mX(e,t){return t.value}function f$(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function i_(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function gX(e,t,n){return r;function r(i,o,a,s){const f=Array.isArray(a.children)?n:t;return s?f(o,a,s):f(o,a)}}function yX(e,t){return n;function n(r,i,o,a){const s=Array.isArray(o.children),c=n_(r);return t(i,o,a,s,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function vX(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&r_.call(t.properties,i)){const o=bX(e,i,t.properties[i]);if(o){const[a,s]=o;e.tableCellAlignToStyle&&a==="align"&&typeof s=="string"&&lX.has(t.tagName)?r=s:n[a]=s}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function xX(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const a=o.expression;a.type;const s=a.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Wu(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,o=e.evaluater.evaluateExpression(s.expression)}else Wu(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function o_(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:oX;for(;++r<t.children.length;){const o=t.children[r];let a;if(e.passKeys){const c=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(c){const f=i.get(c)||0;a=c+"-"+f,i.set(c,f+1)}}const s=u$(e,o,a);s!==void 0&&n.push(s)}return n}function bX(e,t,n){const r=GK(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?DK(n):JK(n)),r.property==="style"){let i=typeof n=="object"?n:wX(e,String(n));return e.stylePropertyNameCase==="css"&&(i=SX(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?HK[r.property]||r.property:r.attribute,n]}}function wX(e,t){try{return rX(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new Tn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=c$+"#cannot-parse-style-attribute",i}}function d$(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,a;for(;++o<i.length;){const s=UA(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};a=a?{type:"MemberExpression",object:a,property:s,computed:!!(o&&s.type==="Literal"),optional:!1}:s}r=a}else r=UA(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return r_.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Wu(e)}function Wu(e,t){const n=new Tn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=c$+"#cannot-handle-mdx-estrees-without-createevaluater",n}function SX(e){const t={};let n;for(n in e)r_.call(e,n)&&(t[jX(n)]=e[n]);return t}function jX(e){let t=e.replace(aX,_X);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function _X(e){return"-"+e.toLowerCase()}const Tv={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},kX={};function a_(e,t){const n=kX,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return h$(e,r,i)}function h$(e,t,n){if(EX(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return QA(e.children,t,n)}return Array.isArray(e)?QA(e,t,n):""}function QA(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=h$(e[i],t,n);return r.join("")}function EX(e){return!!(e&&typeof e=="object")}const ZA=document.createElement("i");function s_(e){const t="&"+e+";";ZA.innerHTML=t;const n=ZA.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function ur(e,t,n,r){const i=e.length;let o=0,a;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o<r.length;)a=r.slice(o,o+1e4),a.unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function Er(e,t){return e.length>0?(ur(e,e.length,0,t),e):t}const eO={}.hasOwnProperty;function p$(e){const t={};let n=-1;for(;++n<e.length;)NX(t,e[n]);return t}function NX(e,t){let n;for(n in t){const i=(eO.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let a;if(o)for(a in o){eO.call(i,a)||(i[a]=[]);const s=o[a];PX(i[a],Array.isArray(s)?s:s?[s]:[])}}}function PX(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ur(e,0,0,r)}function m$(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Kr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Mn=ra(/[A-Za-z]/),On=ra(/[\dA-Za-z]/),AX=ra(/[#-'*+\--9=?A-Z^-~]/);function cp(e){return e!==null&&(e<32||e===127)}const U1=ra(/\d/),OX=ra(/[\dA-Fa-f]/),CX=ra(/[!-/:-@[-`{-~]/);function Me(e){return e!==null&&e<-2}function yt(e){return e!==null&&(e<0||e===32)}function Ze(e){return e===-2||e===-1||e===32}const jm=ra(new RegExp("\\p{P}|\\p{S}","u")),as=ra(/\s/);function ra(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function cc(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(o===37&&On(e.charCodeAt(n+1))&&On(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const s=e.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function rt(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return a;function a(c){return Ze(c)?(e.enter(n),s(c)):t(c)}function s(c){return Ze(c)&&o++<i?(e.consume(c),s):(e.exit(n),t(c))}}const TX={tokenize:RX};function RX(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),rt(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),o(s)}function o(s){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,a(s)}function a(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Me(s)?(e.consume(s),e.exit("chunkText"),o):(e.consume(s),a)}}const IX={tokenize:DX},tO={tokenize:MX};function DX(e){const t=this,n=[];let r=0,i,o,a;return s;function s(_){if(r<n.length){const E=n[r];return t.containerState=E[1],e.attempt(E[0].continuation,c,f)(_)}return f(_)}function c(_){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&j();const E=t.events.length;let N=E,P;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){P=t.events[N][1].end;break}w(r);let C=E;for(;C<t.events.length;)t.events[C][1].end={...P},C++;return ur(t.events,N+1,0,t.events.slice(E)),t.events.length=C,f(_)}return s(_)}function f(_){if(r===n.length){if(!i)return g(_);if(i.currentConstruct&&i.currentConstruct.concrete)return S(_);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(tO,h,p)(_)}function h(_){return i&&j(),w(r),g(_)}function p(_){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,S(_)}function g(_){return t.containerState={},e.attempt(tO,y,S)(_)}function y(_){return r++,n.push([t.currentConstruct,t.containerState]),g(_)}function S(_){if(_===null){i&&j(),w(0),e.consume(_);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),b(_)}function b(_){if(_===null){v(e.exit("chunkFlow"),!0),w(0),e.consume(_);return}return Me(_)?(e.consume(_),v(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(_),b)}function v(_,E){const N=t.sliceStream(_);
vendor: 8,775 bytes, line 253
253if(E&&N.push(null),_.previous=o,o&&(o.next=_),o=_,i.defineSkip(_.start),i.write(N),t.parser.lazy[_.start.line]){let P=i.events.length;for(;P--;)if(i.events[P][1].start.offset<a&&(!i.events[P][1].end||i.events[P][1].end.offset>a))return;const C=t.events.length;let T=C,L,D;for(;T--;)if(t.events[T][0]==="exit"&&t.events[T][1].type==="chunkFlow"){if(L){D=t.events[T][1].end;break}L=!0}for(w(r),P=C;P<t.events.length;)t.events[P][1].end={...D},P++;ur(t.events,T+1,0,t.events.slice(C)),t.events.length=P}}function w(_){let E=n.length;for(;E-- >_;){const N=n[E];t.containerState=N[1],N[0].exit.call(t,e)}n.length=_}function j(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function MX(e,t,n){return rt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Cl(e){if(e===null||yt(e)||as(e))return 1;if(jm(e))return 2}function _m(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const q1={name:"attention",resolveAll:LX,tokenize:$X};function LX(e,t){let n=-1,r,i,o,a,s,c,f,h;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[r][1].end},g={...e[n][1].start};nO(p,-c),nO(g,c),a={type:c>1?"strongSequence":"emphasisSequence",start:p,end:{...e[r][1].end}},s={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:g},o={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?"strong":"emphasis",start:{...a.start},end:{...s.end}},e[r][1].end={...a.start},e[n][1].start={...s.end},f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=Er(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=Er(f,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",o,t]]),f=Er(f,_m(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),f=Er(f,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,f=Er(f,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,ur(e,r-1,n-r+3,f),n=r+f.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function $X(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Cl(r);let o;return a;function a(c){return o=c,e.enter("attentionSequence"),s(c)}function s(c){if(c===o)return e.consume(c),s;const f=e.exit("attentionSequence"),h=Cl(c),p=!h||h===2&&i||n.includes(c),g=!i||i===2&&h||n.includes(r);return f._open=!!(o===42?p:p&&(i||!g)),f._close=!!(o===42?g:g&&(h||!p)),t(c)}}function nO(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const FX={name:"autolink",tokenize:BX};function BX(e,t,n){let r=0;return i;function i(y){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(y){return Mn(y)?(e.consume(y),a):y===64?n(y):f(y)}function a(y){return y===43||y===45||y===46||On(y)?(r=1,s(y)):f(y)}function s(y){return y===58?(e.consume(y),r=0,c):(y===43||y===45||y===46||On(y))&&r++<32?(e.consume(y),s):(r=0,f(y))}function c(y){return y===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):y===null||y===32||y===60||cp(y)?n(y):(e.consume(y),c)}function f(y){return y===64?(e.consume(y),h):AX(y)?(e.consume(y),f):n(y)}function h(y){return On(y)?p(y):n(y)}function p(y){return y===46?(e.consume(y),r=0,h):y===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):g(y)}function g(y){if((y===45||On(y))&&r++<63){const S=y===45?g:p;return e.consume(y),S}return n(y)}}const Hf={partial:!0,tokenize:zX};function zX(e,t,n){return r;function r(o){return Ze(o)?rt(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||Me(o)?t(o):n(o)}}const g$={continuation:{tokenize:qX},exit:HX,name:"blockQuote",tokenize:UX};function UX(e,t,n){const r=this;return i;function i(a){if(a===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),o}return n(a)}function o(a){return Ze(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function qX(e,t,n){const r=this;return i;function i(a){return Ze(a)?rt(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):o(a)}function o(a){return e.attempt(g$,t,n)(a)}}function HX(e){e.exit("blockQuote")}const y$={name:"characterEscape",tokenize:WX};function WX(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return CX(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const v$={name:"characterReference",tokenize:VX};function VX(e,t,n){const r=this;let i=0,o,a;return s;function s(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),c}function c(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),o=31,a=On,h(p))}function f(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=OX,h):(e.enter("characterReferenceValue"),o=7,a=U1,h(p))}function h(p){if(p===59&&i){const g=e.exit("characterReferenceValue");return a===On&&!s_(r.sliceSerialize(g))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(p)&&i++<o?(e.consume(p),h):n(p)}}const rO={partial:!0,tokenize:KX},iO={concrete:!0,name:"codeFenced",tokenize:GX};function GX(e,t,n){const r=this,i={partial:!0,tokenize:N};let o=0,a=0,s;return c;function c(P){return f(P)}function f(P){const C=r.events[r.events.length-1];return o=C&&C[1].type==="linePrefix"?C[2].sliceSerialize(C[1],!0).length:0,s=P,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(P)}function h(P){return P===s?(a++,e.consume(P),h):a<3?n(P):(e.exit("codeFencedFenceSequence"),Ze(P)?rt(e,p,"whitespace")(P):p(P))}function p(P){return P===null||Me(P)?(e.exit("codeFencedFence"),r.interrupt?t(P):e.check(rO,b,E)(P)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(P))}function g(P){return P===null||Me(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(P)):Ze(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),rt(e,y,"whitespace")(P)):P===96&&P===s?n(P):(e.consume(P),g)}function y(P){return P===null||Me(P)?p(P):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),S(P))}function S(P){return P===null||Me(P)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(P)):P===96&&P===s?n(P):(e.consume(P),S)}function b(P){return e.attempt(i,E,v)(P)}function v(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),w}function w(P){return o>0&&Ze(P)?rt(e,j,"linePrefix",o+1)(P):j(P)}function j(P){return P===null||Me(P)?e.check(rO,b,E)(P):(e.enter("codeFlowValue"),_(P))}function _(P){return P===null||Me(P)?(e.exit("codeFlowValue"),j(P)):(e.consume(P),_)}function E(P){return e.exit("codeFenced"),t(P)}function N(P,C,T){let L=0;return D;function D(z){return P.enter("lineEnding"),P.consume(z),P.exit("lineEnding"),M}function M(z){return P.enter("codeFencedFence"),Ze(z)?rt(P,$,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):$(z)}function $(z){return z===s?(P.enter("codeFencedFenceSequence"),H(z)):T(z)}function H(z){return z===s?(L++,P.consume(z),H):L>=a?(P.exit("codeFencedFenceSequence"),Ze(z)?rt(P,U,"whitespace")(z):U(z)):T(z)}function U(z){return z===null||Me(z)?(P.exit("codeFencedFence"),C(z)):T(z)}}}function KX(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Rv={name:"codeIndented",tokenize:YX},XX={partial:!0,tokenize:JX};function YX(e,t,n){const r=this;return i;
vendor: 5,057 bytes, line 253
253function i(f){return e.enter("codeIndented"),rt(e,o,"linePrefix",5)(f)}function o(f){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?a(f):n(f)}function a(f){return f===null?c(f):Me(f)?e.attempt(XX,a,c)(f):(e.enter("codeFlowValue"),s(f))}function s(f){return f===null||Me(f)?(e.exit("codeFlowValue"),a(f)):(e.consume(f),s)}function c(f){return e.exit("codeIndented"),t(f)}}function JX(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):Me(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):rt(e,o,"linePrefix",5)(a)}function o(a){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):Me(a)?i(a):n(a)}}const QX={name:"codeText",previous:eY,resolve:ZX,tokenize:tY};function ZX(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function eY(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function tY(e,t,n){let r=0,i,o;return a;function a(p){return e.enter("codeText"),e.enter("codeTextSequence"),s(p)}function s(p){return p===96?(e.consume(p),r++,s):(e.exit("codeTextSequence"),c(p))}function c(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),c):p===96?(o=e.enter("codeTextSequence"),i=0,h(p)):Me(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("codeTextData"),f(p))}function f(p){return p===null||p===32||p===96||Me(p)?(e.exit("codeTextData"),c(p)):(e.consume(p),f)}function h(p){return p===96?(e.consume(p),i++,h):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(o.type="codeTextData",f(p))}}class nY{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&cu(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),cu(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),cu(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);cu(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);cu(this.left,n.reverse())}}}function cu(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function x$(e){const t={};let n=-1,r,i,o,a,s,c,f;const h=new nY(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(r=h.get(n),n&&r[1].type==="chunkFlow"&&h.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,o=0,o<c.length&&c[o][1].type==="lineEndingBlank"&&(o+=2),o<c.length&&c[o][1].type==="content"))for(;++o<c.length&&c[o][1].type!=="content";)c[o][1].type==="chunkText"&&(c[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,rY(h,n)),n=t[n],f=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(a=h.get(o),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(i&&(h.get(i)[1].type="lineEndingBlank"),a[1].type="lineEnding",i=o);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;i&&(r[1].end={...h.get(i)[1].start},s=h.slice(i,n),s.unshift(r),h.splice(i,n-i+1,s))}}return ur(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!f}function rY(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const s=a.events,c=[],f={};let h,p,g=-1,y=n,S=0,b=0;const v=[b];for(;y;){for(;e.get(++i)[1]!==y;);o.push(i),y._tokenizer||(h=r.sliceStream(y),y.next||h.push(null),p&&a.defineSki
vendor: 18,565 bytes, line 253
253p(y.start),y._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(h),y._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),p=y,y=y.next}for(y=n;++g<s.length;)s[g][0]==="exit"&&s[g-1][0]==="enter"&&s[g][1].type===s[g-1][1].type&&s[g][1].start.line!==s[g][1].end.line&&(b=g+1,v.push(b),y._tokenizer=void 0,y.previous=void 0,y=y.next);for(a.events=[],y?(y._tokenizer=void 0,y.previous=void 0):v.pop(),g=v.length;g--;){const w=s.slice(v[g],v[g+1]),j=o.pop();c.push([j,j+w.length-1]),e.splice(j,2,w)}for(c.reverse(),g=-1;++g<c.length;)f[S+c[g][0]]=S+c[g][1],S+=c[g][1]-c[g][0]-1;return f}const iY={resolve:aY,tokenize:sY},oY={partial:!0,tokenize:lY};function aY(e){return x$(e),e}function sY(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?o(s):Me(s)?e.check(oY,a,o)(s):(e.consume(s),i)}function o(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function a(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function lY(e,t,n){const r=this;return i;function i(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),rt(e,o,"linePrefix")}function o(a){if(a===null||Me(a))return n(a);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function b$(e,t,n,r,i,o,a,s,c){const f=c||Number.POSITIVE_INFINITY;let h=0;return p;function p(w){return w===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(w),e.exit(o),g):w===null||w===32||w===41||cp(w)?n(w):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),b(w))}function g(w){return w===62?(e.enter(o),e.consume(w),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),y(w))}function y(w){return w===62?(e.exit("chunkString"),e.exit(s),g(w)):w===null||w===60||Me(w)?n(w):(e.consume(w),w===92?S:y)}function S(w){return w===60||w===62||w===92?(e.consume(w),y):y(w)}function b(w){return!h&&(w===null||w===41||yt(w))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(w)):h<f&&w===40?(e.consume(w),h++,b):w===41?(e.consume(w),h--,b):w===null||w===32||w===40||cp(w)?n(w):(e.consume(w),w===92?v:b)}function v(w){return w===40||w===41||w===92?(e.consume(w),b):b(w)}}function w$(e,t,n,r,i,o){const a=this;let s=0,c;return f;function f(y){return e.enter(r),e.enter(i),e.consume(y),e.exit(i),e.enter(o),h}function h(y){return s>999||y===null||y===91||y===93&&!c||y===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(y):y===93?(e.exit(o),e.enter(i),e.consume(y),e.exit(i),e.exit(r),t):Me(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===null||y===91||y===93||Me(y)||s++>999?(e.exit("chunkString"),h(y)):(e.consume(y),c||(c=!Ze(y)),y===92?g:p)}function g(y){return y===91||y===92||y===93?(e.consume(y),s++,p):p(y)}}function S$(e,t,n,r,i,o){let a;return s;function s(g){return g===34||g===39||g===40?(e.enter(r),e.enter(i),e.consume(g),e.exit(i),a=g===40?41:g,c):n(g)}function c(g){return g===a?(e.enter(i),e.consume(g),e.exit(i),e.exit(r),t):(e.enter(o),f(g))}function f(g){return g===a?(e.exit(o),c(a)):g===null?n(g):Me(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),rt(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(g))}function h(g){return g===a||g===null||Me(g)?(e.exit("chunkString"),f(g)):(e.consume(g),g===92?p:h)}function p(g){return g===a||g===92?(e.consume(g),h):h(g)}}function Cu(e,t){let n;return r;function r(i){return Me(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ze(i)?rt(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const cY={name:"definition",tokenize:fY},uY={partial:!0,tokenize:dY};function fY(e,t,n){const r=this;let i;return o;function o(y){return e.enter("definition"),a(y)}function a(y){return w$.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(y)}function s(y){return i=Kr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),c):n(y)}function c(y){return yt(y)?Cu(e,f)(y):f(y)}function f(y){return b$(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function h(y){return e.attempt(uY,p,p)(y)}function p(y){return Ze(y)?rt(e,g,"whitespace")(y):g(y)}function g(y){return y===null||Me(y)?(e.exit("definition"),r.parser.defined.push(i),t(y)):n(y)}}function dY(e,t,n){return r;function r(s){return yt(s)?Cu(e,i)(s):n(s)}function i(s){return S$(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return Ze(s)?rt(e,a,"whitespace")(s):a(s)}function a(s){return s===null||Me(s)?t(s):n(s)}}const hY={name:"hardBreakEscape",tokenize:pY};function pY(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return Me(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const mY={name:"headingAtx",resolve:gY,tokenize:yY};function gY(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ur(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function yY(e,t,n){let r=0;return i;function i(h){return e.enter("atxHeading"),o(h)}function o(h){return e.enter("atxHeadingSequence"),a(h)}function a(h){return h===35&&r++<6?(e.consume(h),a):h===null||yt(h)?(e.exit("atxHeadingSequence"),s(h)):n(h)}function s(h){return h===35?(e.enter("atxHeadingSequence"),c(h)):h===null||Me(h)?(e.exit("atxHeading"),t(h)):Ze(h)?rt(e,s,"whitespace")(h):(e.enter("atxHeadingText"),f(h))}function c(h){return h===35?(e.consume(h),c):(e.exit("atxHeadingSequence"),s(h))}function f(h){return h===null||h===35||yt(h)?(e.exit("atxHeadingText"),s(h)):(e.consume(h),f)}}const vY=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],oO=["pre","script","style","textarea"],xY={concrete:!0,name:"htmlFlow",resolveTo:SY,tokenize:jY},bY={partial:!0,tokenize:kY},wY={partial:!0,tokenize:_Y};function SY(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function jY(e,t,n){const r=this;let i,o,a,s,c;return f;function f(F){return h(F)}function h(F){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(F),p}function p(F){return F===33?(e.consume(F),g):F===47?(e.consume(F),o=!0,b):F===63?(e.consume(F),i=3,r.interrupt?t:R):Mn(F)?(e.consume(F),a=String.fromCharCode(F),v):n(F)}function g(F){return F===45?(e.consume(F),i=2,y):F===91?(e.consume(F),i=5,s=0,S):Mn(F)?(e.consume(F),i=4,r.interrupt?t:R):n(F)}function y(F){return F===45?(e.consume(F),r.interrupt?t:R):n(F)}function S(F){const he="CDATA[";return F===he.charCodeAt(s++)?(e.consume(F),s===he.length?r.interrupt?t:$:S):n(F)}function b(F){return Mn(F)?(e.consume(F),a=String.fromCharCode(F),v):n(F)}function v(F){if(F===null||F===47||F===62||yt(F)){const he=F===47,ye=a.toLowerCase();return!he&&!o&&oO.includes(ye)?(i=1,r.interrupt?t(F):$(F)):vY.includes(a.toLowerCase())?(i=6,he?(e.consume(F),w):r.interrupt?t(F):$(F)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(F):o?j(F):_(F))}return F===45||On(F)?(e.consume(F),a+=String.fromCharCode(F),v):n(F)}function w(F){return F===62?(e.consume(F),r.interrupt?t:$):n(F)}function j(F){return Ze(F)?(e.consume(F),j):D(F)}function _(F){return F===47?(e.consume(F),D):F===58||F===95||Mn(F)?(e.consume(F),E):Ze(F)?(e.consume(F),_):D(F)}function E(F){return F===45||F===46||F===58||F===95||On(F)?(e.consume(F),E):N(F)}function N(F){return F===61?(e.consume(F),P):Ze(F)?(e.consume(F),N):_(F)}function P(F){return F===null||F===60||F===61||F===62||F===96?n(F):F===34||F===39?(e.consume(F),c=F,C):Ze(F)?(e.consume(F),P):T(F)}function C(F){return F===c?(e.consume(F),c=null,L):F===null||Me(F)?n(F):(e.consume(F),C)}function T(F){return F===null||F===34||F===39||F===47||F===60||F===61||F===62||F===96||yt(F)?N(F):(e.consume(F),T)}function L(F){return F===47||F===62||Ze(F)?_(F):n(F)}function D(F){return F===62?(e.consume(F),M):n(F)}function M(F){return F===null||Me(F)?$(F):Ze(F)?(e.consume(F),M):n(F)}function $(F){return F===45&&i===2?(e.consume(F),W):F===60&&i===1?(e.consume(F),Z):F===62&&i===4?(e.consume(F),B):F===63&&i===3?(e.consume(F),R):F===93&&i===5?(e.consume(F),ee):Me(F)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(bY,X,H)(F)):F===null||Me(F)?(e.exit("htmlFlowData"),H(F)):(e.consume(F),$)}function H(F){return e.check(wY,U,X)(F)}function U(F){return e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),z}function z(F){return F===null||Me(F)?H(F):(e.enter("htmlFlowData"),$(F))}function W(F){return F===45?(e.consume(F),R):$(F)}function Z(F){return F===47?(e.consume(F),a="",V):$(F)}function V(F){if(F===62){const he=a.toLowerCase();return oO.includes(he)?(e.consume(F),B):$(F)}return Mn(F)&&a.length<8?(e.consume(F),a+=String.fromCharCode(F),V):$(F)}function ee(F){return F===93?(e.consume(F),R):$(F)}function R(F){return F===62?(e.consume(F),B):F===45&&i===2?(e.consume(F),R):$(F)}function B(F){return F===null||Me(F)?(e.exit("htmlFlowData"),X(F)):(e.consume(F),B)}function X(F){return e.exit("htmlFlow"),t(F)}}function _Y(e,t,n){const r=this;return i;function i(a){return Me(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):n(a)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function kY(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Hf,t,n)}}const EY={name:"htmlText",tokenize:NY};function NY(e,t,n){const r=this;let i,o,a;return s;function s(R){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(R),c}function c(R){return R===33?(e.consume(R),f):R===47?(e.consume(R),N):R===63?(e.consume(R),_):Mn(R)?(e.consume(R),T):n(R)}function f(R){return R===45?(e.consume(R),h):R===91?(e.consume(R),o=0,S):Mn(R)?(e.consume(R),j):n(R)}function h(R){return R===45?(e.consume(R),y):n(R)}function p(R){return R===null?n(R):R===45?(e.consume(R),g):Me(R)?(a=p,Z(R)):(e.consume(R),p)}function g(R){return R===45?(e.consume(R),y):p(R)}function y(R){return R===62?W(R):R===45?g(R):p(R)}function S(R){const B="CDATA[";return R===B.charCodeAt(o++)?(e.consume(R),o===B.length?b:S):n(R)}function b(R){return R===null?n(R):R===93?(e.consume(R),v):Me(R)?(a=b,Z(R)):(e.consume(R),b)}function v(R){return R===93?(e.consume(R),w):b(R)}function w(R){return R===62?W(R):R===93?(e.consume(R),w):b(R)}function j(R){return R===null||R===62?W(R):Me(R)?(a=j,Z(R)):(e.consume(R),j)}function _(R){return R===null?n(R):R===63?(e.consume(R),E):Me(R)?(a=_,Z(R)):(e.consume(R),_)}function E(R){return R===62?W(R):_(R)}function N(R){return Mn(R)?(e.consume(R),P):n(R)}function P(R){return R===45||On(R)?(e.consume(R),P):C(R)}function C(R){return Me(R)?(a=C,Z(R)):Ze(R)?(e.consume(R),C):W(R)}function T(R){return R===45||On(R)?(e.consume(R),T):R===47||R===62||yt(R)?L(R):n(R)}function L(R){return R===47?(e.consume(R),W):R===58||R===95||Mn(R)?(e.consume(R),D):Me(R)?(a=L,Z(R)):Ze(R)?(e.consume(R),L):W(R)}function D(R){return R===45||R===46||R===58||R===95||On(R)?(e.consume(R),D):M(R)}function M(R){return R===61?(e.consume(R),$):Me(R)?(a=M,Z(R)):Ze(R)?(e.consume(R),M):L(R)}function $(R){return R===null||R===60||R===61||R===62||R===96?n(R):R===34||R===39?(e.consume(R),i=R,H):Me(R)?(a=$,Z(R)):Ze(R)?(e.consume(R),$):(e.consume(R),U)}function H(R){return R===i?(e.consume(R),i=void 0,z):R===null?n(R):Me(R)?(a=H,Z(R)):(e.consume(R),H)}function U(R){return R===null||R===34||R===39||R===60||R===61||R===96?n(R):R===47||R===62||yt(R)?L(R):(e.consume(R),U)}function z(R){return R===47||R===62||yt(R)?L(R):n(R)}function W(R){return R===62?(e.consume(R),e.exit("htmlTextData"),e.exit("htmlText"),t):n(R)}function Z(R){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),V}function V(R){return Ze(R)?rt(e,ee,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):ee(R)}function ee(R){return e.enter("htmlTextData"),a(R)}}const l_={name:"labelEnd",resolveAll:CY,resolveTo:TY,tokenize:RY},PY={tokenize:IY},AY={tokenize:DY},OY={tokenize:MY};function CY(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&ur(e,0,e.length,n),e}function TY(e,t){let n=e.length,r=0,i,o,a,s;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(a=n);const c={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[o][1].start},end:{...e[a][1].end}},h={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[a-2][1].start}};return s=[["enter",c,t],["enter",f,t]],s=Er(s,e.slice(o+1,o+r+3)),s=Er(s,[["enter",h,t]]),s=Er(s,_m(t.parser.constructs.insideSpan.null,e.slice(o+r+4,a-3),t)),s=Er(s,[["exit",h,t],e[a-2],e[a-1],["exit",f,t]]),s=Er(s,e.slice(a+1)),s=Er(s,[["exit",c,t]]),ur(e,o,e.length,s),e}function RY(e,t,n){const r=this;let i=r.events.length,o,a;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return s;function s(g){return o?o._inactive?p(g):(a=r.parser.defined.includes(Kr(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),c):n(g)}function c(g){return g===40?e.attempt(PY,h,a?h:p)(g):g===91?e.attempt(AY,h,a?f:p)(g):a?h(g):p(g)}function f(g){return e.attempt(OY,h,p)(g)}function h(g){return t(g)}function p(g){return o._balanced=!0,n(g)}}function IY(e,t,n){return r;function r(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),i}function i(p){return yt(p)?Cu(e,o)(p):o(p)}function o(p){return p===41?h(p):b$(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function a(p){return yt(p)?Cu(e,c)(p):h(p)}function s(p){return n(p)}function c(p){return p===34||p===39||p===40?S$(e,f,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):h(p)}function f(p){return yt(p)?Cu(e,h)(p):h(p)}function h(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function DY(e,t,n){const r=this;return i;function i(s){return w$.call(r,e,o,a,"reference","referenceMarker","referenceString")(s)}function o(s){return r.parser.defined.includes(Kr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function a(s){return n(s)}}function MY(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const LY={name:"labelStartImage",resolveAll:l_.resolveAll,tokenize:$Y};function $Y(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),o}function o(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),a):n(s)}function a(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const FY={name:"labelStartLink",resolveAll:l_.resolveAll,tokenize:BY};function BY(e,t,n){const r=this;return i;function i(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),o}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Iv={name:"lineEnding",tokenize:zY};function zY(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),rt(e,t,"linePrefix")}}const Jh={name:"thematicBreak",tokenize:UY};function UY(e,t,n){let r=0,i;return o;function o(f){return e.enter("thematicBreak"),a(f)}function a(f){return i=f,s(f)}function s(f){return f===i?(e.enter("thematicBreakSequence"),c(f)):r>=3&&(f===null||Me(f))?(e.exit("thematicBreak"),t(f)):n(f)}function c(f){return f===i?(e.consume(f),r++,c):(e.exit("thematicBreakSequence"),Ze(f)?rt(e,s,"whitespace")(f):s(f))}}const Vn={continuation:{tokenize:VY},exit:KY,name:"list",tokenize:WY},qY={partial:!0,tokenize:XY},HY={partial:!0,tokenize:GY};function WY(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(y){const S=r.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(S==="listUnordered"?!r.containerState.marker||y===r.containerState.marker:U1(y)){if(r.containerState.type||(r.containerState.type=S,e.enter(S,{_container:!0})),S==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check(Jh,n,f)(y):f(y);if(!r.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(y)}return n(y)}function c(y){return U1(y)&&++a<10?(e.consume(y),c):(!r.interrupt||a<2)&&(r.containerState.marker?y===r.containerState.marker:y===41||y===46)?(e.exit("listItemValue"),f(y)):n(y)}function f(y){return e.enter("listItemMarker"),e.consume(y),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||y,e.check(Hf,r.interrupt?n:h,e.attempt(qY,g,p))}
vendor: 5,359 bytes, line 253
253function h(y){return r.containerState.initialBlankLine=!0,o++,g(y)}function p(y){return Ze(y)?(e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),g):n(y)}function g(y){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(y)}}function VY(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Hf,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,rt(e,t,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!Ze(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(HY,t,a)(s))}function a(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,rt(e,e.attempt(Vn,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function GY(e,t,n){const r=this;return rt(e,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(o):n(o)}}function KY(e){e.exit(this.containerState.type)}function XY(e,t,n){const r=this;return rt(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const a=r.events[r.events.length-1];return!Ze(o)&&a&&a[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const aO={name:"setextUnderline",resolveTo:YY,tokenize:JY};function YY(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}function JY(e,t,n){const r=this;let i;return o;function o(f){let h=r.events.length,p;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){p=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(e.enter("setextHeadingLine"),i=f,a(f)):n(f)}function a(f){return e.enter("setextHeadingLineSequence"),s(f)}function s(f){return f===i?(e.consume(f),s):(e.exit("setextHeadingLineSequence"),Ze(f)?rt(e,c,"lineSuffix")(f):c(f))}function c(f){return f===null||Me(f)?(e.exit("setextHeadingLine"),t(f)):n(f)}}const QY={tokenize:ZY};function ZY(e){const t=this,n=e.attempt(Hf,r,e.attempt(this.parser.constructs.flowInitial,i,rt(e,e.attempt(this.parser.constructs.flow,i,e.attempt(iY,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const eJ={resolveAll:_$()},tJ=j$("string"),nJ=j$("text");function j$(e){return{resolveAll:_$(e==="text"?rJ:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,a,s);return a;function a(h){return f(h)?o(h):s(h)}function s(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),c}function c(h){return f(h)?(n.exit("data"),o(h)):(n.consume(h),c)}function f(h){if(h===null)return!0;const p=i[h];let g=-1;if(p)for(;++g<p.length;){const y=p[g];if(!y.previous||y.previous.call(r,r.previous))return!0}return!1}}}function _$(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function rJ(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,a=-1,s=0,c;for(;o--;){const f=i[o];if(typeof f=="string"){for(a=f.length;f.charCodeAt(a-1)===32;)s++,a--;if(a)break;a=-1}else if(f===-2)c=!0,s++;else if(f!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const f={type:n===e.length||c||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?a:r.start._bufferIndex+a,_index:r.start._index+o,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...f.start},r.start.offset===r.end.offset?Object.assign(r,f):(e.splice(n,0,["enter",f,t],["exit",f,t]),n+=2)}n++}return e}const iJ={42:Vn,43:Vn,45:Vn,48:Vn,49:Vn,50:Vn,51:Vn,52:Vn,53:Vn,54:Vn,55:Vn,56:Vn,57:Vn,62:g$},oJ={91:cY},aJ={[-2]:Rv,[-1]:Rv,32:Rv},sJ={35:mY,42:Jh,45:[aO,Jh],60:xY,61:aO,95:Jh,96:iO,126:iO},lJ={38:v$,92:y$},cJ={[-5]:Iv,[-4]:Iv,[-3]:Iv,33:LY,38:v$,42:q1,60:[FX,EY],91:FY,92:[hY,y$],93:l_,95:q1,96:QX},uJ={null:[q1,eJ]},fJ={null:[42,95]},dJ={null:[]},hJ=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:fJ,contentInitial:oJ,disable:dJ,document:iJ,flow:sJ,flowInitial:aJ,insideSpan:uJ,string:lJ,text:cJ},Symbol.toStringTag,{value:"Module"}));function pJ(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 14,814 bytes, lines 253-255
253olumn:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let a=[],s=[];const c={attempt:C(N),check:C(P),consume:j,enter:_,exit:E,interrupt:C(P,{interrupt:!0})},f={code:null,containerState:{},defineSkip:b,events:[],now:S,parser:e,previous:null,sliceSerialize:g,sliceStream:y,write:p};let h=t.tokenize.call(f,c);return t.resolveAll&&o.push(t),f;function p(M){return a=Er(a,M),v(),a[a.length-1]!==null?[]:(T(t,0),f.events=_m(o,f.events,f),f.events)}function g(M,$){return gJ(y(M),$)}function y(M){return mJ(a,M)}function S(){const{_bufferIndex:M,_index:$,line:H,column:U,offset:z}=r;return{_bufferIndex:M,_index:$,line:H,column:U,offset:z}}function b(M){i[M.line]=M.column,D()}function v(){let M;for(;r._index<a.length;){const $=a[r._index];if(typeof $=="string")for(M=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===M&&r._bufferIndex<$.length;)w($.charCodeAt(r._bufferIndex));else w($)}}function w(M){h=h(M)}function j(M){Me(M)?(r.line++,r.column=1,r.offset+=M===-3?2:1,D()):M!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=M}function _(M,$){const H=$||{};return H.type=M,H.start=S(),f.events.push(["enter",H,f]),s.push(H),H}function E(M){const $=s.pop();return $.end=S(),f.events.push(["exit",$,f]),$}function N(M,$){T(M,$.from)}function P(M,$){$.restore()}function C(M,$){return H;function H(U,z,W){let Z,V,ee,R;return Array.isArray(U)?X(U):"tokenize"in U?X([U]):B(U);function B(le){return ce;function ce(ve){const oe=ve!==null&&le[ve],pe=ve!==null&&le.null,xe=[...Array.isArray(oe)?oe:oe?[oe]:[],...Array.isArray(pe)?pe:pe?[pe]:[]];return X(xe)(ve)}}function X(le){return Z=le,V=0,le.length===0?W:F(le[V])}function F(le){return ce;function ce(ve){return R=L(),ee=le,le.partial||(f.currentConstruct=le),le.name&&f.parser.constructs.disable.null.includes(le.name)?ye():le.tokenize.call($?Object.assign(Object.create(f),$):f,c,he,ye)(ve)}}function he(le){return M(ee,R),z}function ye(le){return R.restore(),++V<Z.length?F(Z[V]):W}}}function T(M,$){M.resolveAll&&!o.includes(M)&&o.push(M),M.resolve&&ur(f.events,$,f.events.length-$,M.resolve(f.events.slice($),f)),M.resolveTo&&(f.events=M.resolveTo(f.events,f))}function L(){const M=S(),$=f.previous,H=f.currentConstruct,U=f.events.length,z=Array.from(s);return{from:U,restore:W};function W(){r=M,f.previous=$,f.currentConstruct=H,f.events.length=U,s=z,D()}}function D(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function mJ(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,o)];else{if(a=e.slice(n,i),r>-1){const s=a[0];typeof s=="string"?a[0]=s.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}function gJ(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if(typeof o=="string")a=o;else switch(o){case-5:{a="\r";break}case-4:{a=` 254`;break}case-3:{a=`\r 255`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&i)continue;a=" ";break}default:a=String.fromCharCode(o)}i=o===-2,r.push(a)}return r.join("")}function yJ(e){const r={constructs:p$([hJ,...(e||{}).extensions||[]]),content:i(TX),defined:[],document:i(IX),flow:i(QY),lazy:{},string:i(tJ),text:i(nJ)};return r;function i(o){return a;function a(s){return pJ(r,o,s)}}}function vJ(e){for(;!x$(e););return e}const sO=/[\0\t\n\r]/g;function xJ(){let e=1,t="",n=!0,r;return i;function i(o,a,s){const c=[];let f,h,p,g,y;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(a||void 0).decode(o)),p=0,t="",n&&(o.charCodeAt(0)===65279&&p++,n=void 0);p<o.length;){if(sO.lastIndex=p,f=sO.exec(o),g=f&&f.index!==void 0?f.index:o.length,y=o.charCodeAt(g),!f){t=o.slice(p);break}if(y===10&&p===g&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),p<g&&(c.push(o.slice(p,g)),e+=g-p),y){case 0:{c.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,c.push(-2);e++<h;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}p=g+1}return s&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const bJ=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function wJ(e){return e.replace(bJ,SJ)}function SJ(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return m$(n.slice(o?2:1),o?16:10)}return s_(n)||e}const k$={}.hasOwnProperty;function jJ(e,t,n){return typeof t!="string"&&(n=t,t=void 0),_J(n)(vJ(yJ(n).document().write(xJ()(e,t,!0))))}function _J(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(vt),autolinkProtocol:L,autolinkEmail:L,atxHeading:o(We),blockQuote:o(pe),characterEscape:L,characterReference:L,codeFenced:o(xe),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(xe,a),codeText:o(ie,a),codeTextData:L,data:L,codeFlowValue:L,definition:o($e),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(Re),hardBreakEscape:o(je),hardBreakTrailing:o(je),htmlFlow:o(Ve,a),htmlFlowData:L,htmlText:o(Ve,a),htmlTextData:L,image:o(Pt),label:a,link:o(vt),listItem:o(nn),listItemValue:g,listOrdered:o(wn,p),listUnordered:o(wn),paragraph:o(Kt),reference:F,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(We),strong:o(so),thematicBreak:o(fa)},exit:{atxHeading:c(),atxHeadingSequence:N,autolink:c(),autolinkEmail:oe,autolinkProtocol:ve,blockQuote:c(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:ye,characterReferenceMarkerNumeric:ye,characterReferenceValue:le,characterReference:ce,codeFenced:c(v),codeFencedFence:b,codeFencedFenceInfo:y,codeFencedFenceMeta:S,codeFlowValue:D,codeIndented:c(w),codeText:c(z),codeTextData:D,data:D,definition:c(),definitionDestinationString:E,definitionLabelString:j,definitionTitleString:_,emphasis:c(),hardBreakEscape:c($),hardBreakTrailing:c($),htmlFlow:c(H),htmlFlowData:D,htmlText:c(U),htmlTextData:D,image:c(Z),label:ee,labelText:V,lineEnding:M,link:c(W),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:he,resourceDestinationString:R,resourceTitleString:B,resource:X,setextHeading:c(T),setextHeadingLineSequence:C,setextHeadingText:P,strong:c(),thematicBreak:c()}};E$(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(se){let be={type:"root",children:[]};const ze={stack:[be],tokenStack:[],config:t,enter:s,exit:f,buffer:a,resume:h,data:n},Ye=[];let it=-1;for(;++it<se.length;)if(se[it][1].type==="listOrdered"||se[it][1].type==="listUnordered")if(se[it][0]==="enter")Ye.push(it);else{const fn=Ye.pop();it=i(se,fn,it)}for(it=-1;++it<se.length;){const fn=t[se[it][0]];k$.call(fn,se[it][1].type)&&fn[se[it][1].type].call(Object.assign({sliceSerialize:se[it][2].sliceSerialize},ze),se[it][1])}if(ze.tokenStack.length>0){const fn=ze.tokenStack[ze.tokenStack.length-1];(fn[1]||lO).call(ze,void 0,fn[0])}for(be.position={start:Co(se.length>0?se[0][1].start:{line:1,column:1,offset:0}),end:Co(se.length>0?se[se.length-2][1].end:{line:1,column:1,offset:0})},it=-1;++it<t.transforms.length;)be=t.transforms[it](be)||be;return be}function i(se,be,ze){let Ye=be-1,it=-1,fn=!1,ki,hr,lo,da;for(;++Ye<=ze;){const dn=se[Ye];switch(dn[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{dn[0]==="enter"?it++:it--,da=void 0;break}case"lineEndingBlank":{dn[0]==="enter"&&(ki&&!da&&!it&&!lo&&(lo=Ye),da=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:da=void 0}if(!it&&dn[0]==="enter"&&dn[1].type==="listItemPrefix"||it===-1&&dn[0]==="exit"&&(dn[1].type==="listUnordered"||dn[1].type==="listOrdered")){if(ki){let ei=Ye;for(hr=void 0;ei--;){const er=se[ei];if(er[1].type==="lineEnding"||er[1].type==="lineEndingBlank"){if(er[0]==="exit")continue;hr&&(se[hr][1].type="lineEndingBlank",fn=!0),er[1].type="lineEnding",hr=ei}else if(!(er[1].type==="linePrefix"||er[1].type==="blockQuotePrefix"||er[1].type==="blockQuotePrefixWhitespace"||er[1].type==="blockQuoteMarker"||er[1].type==="listItemIndent"))break}lo&&(!hr||lo<hr)&&(ki._spread=!0),ki.end=Object.assign({},hr?se[hr][1].start:dn[1].end),se.splice(hr||Ye,0,["exit",ki,dn[2]]),Ye++,ze++}if(dn[1].type==="listItemPrefix"){const ei={type:"listItem",_spread:!1,start:Object.assign({},dn[1].start),end:void 0};ki=ei,se.splice(Ye,0,["enter",ei,dn[2]]),Ye++,ze++,lo=void 0,da=!0}}}return se[be][1]._spread=fn,ze}function o(se,be){return ze;function ze(Ye){s.call(this,se(Ye),Ye),be&&be.call(this,Ye)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(se,be,ze){this.stack[this.stack.length-1].children.push(se),this.stack.push(se),this.tokenStack.push([be,ze||void 0]),se.position={start:Co(be.start),end:void 0}}function c(se){return be;function be(ze){se&&se.call(this,ze),f.call(this,ze)}}function f(se,be){const ze=this.stack.pop(),Ye=this.tokenStack.pop();if(Ye)Ye[0].type!==se.type&&(be?be.call(this,se,Ye[0]):(Ye[1]||lO).call(this,se,Ye[0]));else throw new Error("Cannot close `"+se.type+"` ("+Ou({start:se.start,end:se.end})+"): itâs not open");ze.position.end=Co(se.end)}function h(){return a_(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function g(se){if(this.data.expectingFirstListItemValue){const be=this.stack[this.stack.length-2];be.start=Number.parseInt(this.sliceSerialize(se),10),this.data.expectingFirstListItemValue=void 0}}function y(){const se=this.resume(),be=this.stack[this.stack.length-1];be.lang=se}function S(){const se=this.resume(),be=this.stack[this.stack.length-1];be.meta=se}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function v(){const se=this.resume(),be=this.stack[this.stack.length-1];be.value=se.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const se=this.resume(),be=this.stack[this.stack.length-1];be.value=se.replace(/(\r?\n|\r)$/g,"")}function j(se){const be=this.resume(),ze=this.stack[this.stack.length-1];ze.label=be,ze.identifier=Kr(this.sliceSerialize(se)).toLowerCase()}function _(){const se=this.resume(),be=this.stack[this.stack.length-1];be.title=se}function E(){const se=this.resume(),be=this.stack[this.stack.length-1];be.url=se}function N(se){const be=this.stack[this.stack.length-1];if(!be.depth){const ze=this.sliceSerialize(se).length;be.depth=ze}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function C(se){const be=this.stack[this.stack.length-1];be.depth=this.sliceSerialize(se).codePointAt(0)===61?1:2}function T(){this.data.setextHeadingSlurpLineEnding=void 0}function L(se){const ze=this.stack[this.stack.length-1].children;let Ye=ze[ze.length-1];(!Ye||Ye.type!=="text")&&(Ye=ua(),Ye.position={start:Co(se.start),end:void 0},ze.push(Ye)),this.stack.push(Ye)}function D(se){const be=this.stack.pop();be.value+=this.sliceSerialize(se),be.position.end=Co(se.end)}function M(se){const be=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ze=be.children[be.children.length-1];ze.position.end=Co(se.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(be.type)&&(L.call(this,se),D.call(this,se))}function $(){this.data.atHardBreak=!0}function H(){const se=this.resume(),be=this.stack[this.stack.length-1];be.value=se}function U(){const se=this.resume(),be=this.stack[this.stack.length-1];be.value=se}function z(){const se=this.resume(),be=this.stack[this.stack.length-1];be.value=se}function W(){const se=this.stack[this.stack.length-1];if(this.data.inReference){const be=this.data.referenceType||"shortcut";se.type+="Reference",se.referenceType=be,delete se.url,delete se.title}else delete se.identifier,delete se.label;this.data.referenceType=void 0}function Z(){const se=this.stack[this.stack.length-1];if(this.data.inReference){const be=this.data.referenceType||"shortcut";se.type+="Reference",se.referenceType=be,delete se.url,delete se.title}else delete se.identifier,delete se.label;this.data.referenceType=void 0}function V(se){const be=this.sliceSerialize(se),ze=this.stack[this.stack.length-2];ze.label=wJ(be),ze.identifier=Kr(be).toLowerCase()}function ee(){const se=this.stack[this.stack.length-1],be=this.resume(),ze=this.stack[this.stack.length-1];if(this.data.inReference=!0,ze.type==="link"){const Ye=se.children;ze.children=Ye}else ze.alt=be}function R(){const se=this.resume(),be=this.stack[this.stack.length-1];be.url=se}function B(){const se=this.resume(),be=this.stack[this.stack.length-1];be.title=se}function X(){this.data.inReference=void 0}function F(){this.data.referenceType="collapsed"}function he(se){const be=this.resume(),ze=this.stack[this.stack.length-1];ze.label=be,ze.identifier=Kr(this.sliceSerialize(se)).toLowerCase(),this.data.referenceType="full"}function ye(se){this.data.characterReferenceType=se.type}function le(se){const be=this.sliceSerialize(se),ze=this.data.characterReferenceType;let Ye;ze?(Ye=m$(be,ze==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ye=s_(be);const it=this.stack[this.stack.length-1];it.value+=Ye}function ce(se){const be=this.stack.pop();be.position.end=Co(se.end)}function ve(se){D.call(this,se);const be=this.stack[this.stack.length-1];be.url=this.sliceSerialize(se)}function oe(se){D.call(this,se);const be=this.stack[this.stack.length-1];be.url="mailto:"+this.sliceSerialize(se)}function pe(){return{type:"blockquote",children:[]}}function xe(){return{type:"code",lang:null,meta:null,value:""}}function ie(){return{type:"inlineCode",value:""}}function $e(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Re(){return{type:"emphasis",children:[]}}function We(){return{type:"heading",depth:0,children:[]}}function je(){return{type:"break"}}function Ve(){return{type:"html",value:""}}function Pt(){return{type:"image",title:null,url:"",alt:null}}function vt(){return{type:"link",title:null,url:"",children:[]}}function wn(se){return{type:"list",ordered:se.type==="listOrdered",start:null,spread:se._spread,children:[]}}function nn(se){return{type:"listItem",spread:se._spread,checked:null,children:[]}}function Kt(){return{type:"paragraph",children:[]}}function so(){return{type:"strong",children:[]}}function ua(){return{type:"text",value:""}}function fa(){return{type:"thematicBreak"}}}function Co(e){return{line:e.line,column:e.column,offset:e.offset}}function E$(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?E$(e,r):kJ(e,r)}}function kJ(e,t){let n;for(n in t)if(k$.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function lO(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ou({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ou({start:t.start,end:t.end}
vendor: 29,228 bytes, lines 255-265
255)+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ou({start:t.start,end:t.end})+") is still open")}function EJ(e){const t=this;t.parser=n;function n(r){return jJ(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function NJ(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function PJ(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 256`}]}function AJ(e,t){const n=t.value?t.value+` 257`:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function OJ(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function CJ(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function TJ(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=cc(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let a,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=o+1,s+=1,e.footnoteCounts.set(r,s);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,c);const f={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,f),e.applyData(t,f)}function RJ(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function IJ(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function N$(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function DJ(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return N$(e,t);const i={src:cc(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function MJ(e,t){const n={src:cc(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function LJ(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function $J(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return N$(e,t);const i={href:cc(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function FJ(e,t){const n={href:cc(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function BJ(e,t,n){const r=e.all(t),i=n?zJ(n):P$(t),o={},a=[];if(typeof t.checked=="boolean"){const h=r[0];let p;h&&h.type==="element"&&h.tagName==="p"?p=h:(p={type:"element",tagName:"p",properties:{},children:[]},r.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const h=r[s];(i||s!==0||h.type!=="element"||h.tagName!=="p")&&a.push({type:"text",value:` 258`}),h.type==="element"&&h.tagName==="p"&&!i?a.push(...h.children):a.push(h)}const c=r[r.length-1];c&&(i||c.type!=="element"||c.tagName!=="p")&&a.push({type:"text",value:` 259`});const f={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,f),e.applyData(t,f)}function zJ(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=P$(n[r])}return t}function P$(e){const t=e.spread;return t??e.children.length>1}function UJ(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const a=r[i];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function qJ(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function HJ(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function WJ(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function VJ(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),i.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=n_(t.children[1]),c=s$(t.children[t.children.length-1]);s&&c&&(a.position={start:s,end:c}),i.push(a)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function GJ(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,s=a?a.length:t.children.length;let c=-1;const f=[];for(;++c<s;){const p=t.children[c],g={},y=a?a[c]:void 0;y&&(g.align=y);let S={type:"element",tagName:o,properties:g,children:[]};p&&(S.children=e.all(p),e.patch(p,S),S=e.applyData(p,S)),f.push(S)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,h),e.applyData(t,h)}function KJ(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const cO=9,uO=32;function XJ(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(fO(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(fO(t.slice(i),i>0,!1)),o.join("")}function fO(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===cO||o===uO;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===cO||o===uO;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function YJ(e,t){const n={type:"text",value:XJ(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function JJ(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const QJ={blockquote:NJ,break:PJ,code:AJ,delete:OJ,emphasis:CJ,footnoteReference:TJ,heading:RJ,html:IJ,imageReference:DJ,image:MJ,inlineCode:LJ,linkReference:$J,link:FJ,listItem:BJ,list:UJ,paragraph:qJ,root:HJ,strong:WJ,table:VJ,tableCell:KJ,tableRow:GJ,text:YJ,thematicBreak:JJ,toml:xh,yaml:xh,definition:xh,footnoteDefinition:xh};function xh(){}const A$=-1,km=0,Tu=1,up=2,c_=3,u_=4,f_=5,d_=6,O$=7,C$=8,dO=typeof self=="object"?self:globalThis,ZJ=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,a]=t[i];switch(o){case km:case A$:return n(a,i);case Tu:{const s=n([],i);for(const c of a)s.push(r(c));return s}case up:{const s=n({},i);for(const[c,f]of a)s[r(c)]=r(f);return s}case c_:return n(new Date(a),i);case u_:{const{source:s,flags:c}=a;return n(new RegExp(s,c),i)}case f_:{const s=n(new Map,i);for(const[c,f]of a)s.set(r(c),r(f));return s}case d_:{const s=n(new Set,i);for(const c of a)s.add(r(c));return s}case O$:{const{name:s,message:c}=a;return n(new dO[s](c),i)}case C$:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:s}=new Uint8Array(a);return n(new DataView(s),a)}}return n(new dO[o](a),i)};return r},hO=e=>ZJ(new Map,e)(0),Ys="",{toString:eQ}={},{keys:tQ}=Object,uu=e=>{const t=typeof e;if(t!=="object"||!e)return[km,t];const n=eQ.call(e).slice(8,-1);switch(n){case"Array":return[Tu,Ys];case"Object":return[up,Ys];case"Date":return[c_,Ys];case"RegExp":return[u_,Ys];case"Map":return[f_,Ys];case"Set":return[d_,Ys];case"DataView":return[Tu,n]}return n.includes("Array")?[Tu,n]:n.includes("Error")?[O$,n]:[up,n]},bh=([e,t])=>e===km&&(t==="function"||t==="symbol"),nQ=(e,t,n,r)=>{const i=(a,s)=>{const c=r.push(a)-1;return n.set(s,c),c},o=a=>{if(n.has(a))return n.get(a);let[s,c]=uu(a);switch(s){case km:{let h=a;switch(c){case"bigint":s=C$,h=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);h=null;break;case"undefined":return i([A$],a)}return i([s,h],a)}case Tu:{if(c){let g=a;return c==="DataView"?g=new Uint8Array(a.buffer):c==="ArrayBuffer"&&(g=new Uint8Array(a)),i([c,[...g]],a)}const h=[],p=i([s,h],a);for(const g of a)h.push(o(g));return p}case up:{if(c)switch(c){case"BigInt":return i([c,a.toString()],a);case"Boolean":case"Number":case"String":return i([c,a.valueOf()],a)}if(t&&"toJSON"in a)return o(a.toJSON());const h=[],p=i([s,h],a);for(const g of tQ(a))(e||!bh(uu(a[g])))&&h.push([o(g),o(a[g])]);return p}case c_:return i([s,a.toISOString()],a);case u_:{const{source:h,flags:p}=a;return i([s,{source:h,flags:p}],a)}case f_:{const h=[],p=i([s,h],a);for(const[g,y]of a)(e||!(bh(uu(g))||bh(uu(y))))&&h.push([o(g),o(y)]);return p}case d_:{const h=[],p=i([s,h],a);for(const g of a)(e||!bh(uu(g)))&&h.push(o(g));return p}}const{message:f}=a;return i([s,{name:c,message:f}],a)};return o},pO=(e,{json:t,lossy:n}={})=>{const r=[];return nQ(!(t||n),!!t,new Map,r)(e),r},fp=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?hO(pO(e,t)):structuredClone(e):(e,t)=>hO(pO(e,t));function rQ(e,t){const n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function iQ(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function oQ(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||rQ,r=e.options.footnoteBackLabel||iQ,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let c=-1;for(;++c<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[c]);if(!f)continue;const h=e.all(f),p=String(f.identifier).toUpperCase(),g=cc(p.toLowerCase());let y=0;const S=[],b=e.footnoteCounts.get(p);for(;b!==void 0&&++y<=b;){S.length>0&&S.push({type:"text",value:" "});let j=typeof n=="string"?n:n(c,y);typeof j=="string"&&(j={type:"text",value:j}),S.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+g+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,y),className:["data-footnote-backref"]},children:Array.isArray(j)?j:[j]})}const v=h[h.length-1];if(v&&v.type==="element"&&v.tagName==="p"){const j=v.children[v.children.length-1];j&&j.type==="text"?j.value+=" ":v.children.push({type:"text",value:" "}),v.children.push(...S)}else h.push(...S);const w={type:"element",tagName:"li",properties:{id:t+"fn-"+g},children:e.wrap(h,!0)};e.patch(f,w),s.push(w)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...fp(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` 260`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` 261`}]}}const Em=(function(e){if(e==null)return cQ;if(typeof e=="function")return Nm(e);if(typeof e=="object")return Array.isArray(e)?aQ(e):sQ(e);if(typeof e=="string")return lQ(e);throw new Error("Expected function, string, or object as test")});function aQ(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Em(e[n]);return Nm(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function sQ(e){const t=e;return Nm(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function lQ(e){return Nm(t);function t(n){return n&&n.type===e}}function Nm(e){return t;function t(n,r,i){return!!(uQ(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function cQ(){return!0}function uQ(e){return e!==null&&typeof e=="object"&&"type"in e}const T$=[],fQ=!0,H1=!1,dQ="skip";function R$(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=Em(i),a=r?-1:1;s(e,void 0,[])();function s(c,f,h){const p=c&&typeof c=="object"?c:{};if(typeof p.type=="string"){const y=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(g,"name",{value:"node ("+(c.type+(y?"<"+y+">":""))+")"})}return g;function g(){let y=T$,S,b,v;if((!t||o(c,f,h[h.length-1]||void 0))&&(y=hQ(n(c,h)),y[0]===H1))return y;if("children"in c&&c.children){const w=c;if(w.children&&y[0]!==dQ)for(b=(r?w.children.length:-1)+a,v=h.concat(w);b>-1&&b<w.children.length;){const j=w.children[b];if(S=s(j,b,v)(),S[0]===H1)return S;b=typeof S[1]=="number"?S[1]:b+a}}return y}}}function hQ(e){return Array.isArray(e)?e:typeof e=="number"?[fQ,e]:e==null?T$:[e]}function h_(e,t,n,r){let i,o,a;typeof t=="function"&&typeof n!="function"?(o=void 0,a=t,i=n):(o=t,a=n,i=r),R$(e,o,s,i);function s(c,f){const h=f[f.length-1],p=h?h.children.indexOf(c):void 0;return a(c,p,h)}}const W1={}.hasOwnProperty,pQ={};function mQ(e,t){const n=t||pQ,r=new Map,i=new Map,o=new Map,a={...QJ,...n.handlers},s={all:f,applyData:yQ,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:a,one:c,options:n,patch:gQ,wrap:xQ};return h_(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const p=h.type==="definition"?r:i,g=String(h.identifier).toUpperCase();p.has(g)||p.set(g,h)}}),s;function c(h,p){const g=h.type,y=s.handlers[g];if(W1.call(s.handlers,g)&&y)return y(s,h,p);if(s.options.passThrough&&s.options.passThrough.includes(g)){if("children"in h){const{children:b,...v}=h,w=fp(v);return w.children=s.all(h),w}return fp(h)}return(s.options.unknownHandler||vQ)(s,h,p)}function f(h){const p=[];if("children"in h){const g=h.children;let y=-1;for(;++y<g.length;){const S=s.one(g[y],h);if(S){if(y&&g[y-1].type==="break"&&(!Array.isArray(S)&&S.type==="text"&&(S.value=mO(S.value)),!Array.isArray(S)&&S.type==="element")){const b=S.children[0];b&&b.type==="text"&&(b.value=mO(b.value))}Array.isArray(S)?p.push(...S):p.push(S)}}}return p}}function gQ(e,t){e.position&&(t.position=iX(e))}function yQ(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&o&&Object.assign(n.properties,fp(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function vQ(e,t){const n=t.data||{},r="value"in t&&!(W1.call(n,"hProperties")||W1.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function xQ(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 262`});++r<e.length;)r&&n.push({type:"text",value:` 263`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 264`}),n}function mO(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function gO(e,t){const n=mQ(e,t),r=n.one(e,void 0),i=oQ(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:` 265`},i),o}function bQ(e,t){return e&&"run"in e?async function(n,r){const i=gO(n,{file:r,...t});await e.run(i,r)}:function(n,r){return gO(n,{file:r,...e||t})}}function yO(e){if(e)throw e}var Dv,vO;function wQ(){if(vO)return Dv;vO=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},o=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var h=e.call(f,"constructor"),p=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!h&&!p)return!1;var g;for(g in f);return typeof g>"u"||e.call(f,g)},a=function(f,h){n&&h.name==="__proto__"?n(f,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):f[h.name]=h.newValue},s=function(f,h){if(h==="__proto__")if(e.call(f,h)){if(r)return r(f,h).value}else return;return f[h]};return Dv=function c(){var f,h,p,g,y,S,b=arguments[0],v=1,w=arguments.length,j=!1;for(typeof b=="boolean"&&(j=b,b=arguments[1]||{},v=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});v<w;++v)if(f=arguments[v],f!=null)for(h in f)p=s(b,h),g=s(f,h),b!==g&&(j&&g&&(o(g)||(y=i(g)))?(y?(y=!1,S=p&&i(p)?p:[]):S=p&&o(p)?p:{},a(b,{name:h,newValue:c(j,S,g)})):typeof g<"u"&&a(b,{name:h,newValue:g}));return b},Dv}var SQ=wQ();const Mv=lt(SQ);function V1(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function jQ(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);s(null,...i);function s(c,...f){const h=e[++o];let p=-1;if(c){a(c);return}for(;++p<i.length;)(f[p]===null||f[p]===void 0)&&(f[p]=i[p]);i=f,h?_Q(h,s)(...f):a(null,...f)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function _Q(e,t){let n;return r;function r(...a){const s=e.length>a.length;let c;s&&a.push(i);try{c=e.apply(this,a)}catch(f){const h=f;if(s&&n)throw h;return i(h)}s||(c&&c.then&&typeof c.then=="function"?c.then(o,i):c instanceof Error?i(c):o(c))}function i(a,...s){n||(n=!0,t(a,...s))}function o(a){i(null,a)}}const ai={basename:kQ,dirname:EQ,extname:NQ,join:PQ,sep:"/"};function kQ(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Wf(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function EQ(e){if(Wf(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function NQ(e){Wf(e);let t=e.length,n=-1,r=0,i=-1,o=0,a;for(;t--;){const s=e.codePointAt(t);if(s===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),s===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function PQ(...e){let t=-1,n;for(;++t<e.length;)Wf(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":AQ(n)}function AQ(e){Wf(e);const t=e.codePointAt(0)===47;let n=OQ(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function OQ(e,t){let n="",r=0,i=-1,o=0,a=-1,s,c;for(;++a<=e.length;){if(a<e.length)s=e.codePointAt(a);else{if(s===47)break;s=47}if(s===47){if(!(i===a-1||o===1))if(i!==a-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o>-1?o++:o=-1}return n}function Wf(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const CQ={cwd:TQ};function TQ(){return"/"}function G1(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function RQ(e){if(typeof e=="string")e=new URL(e);else if(!G1(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return IQ(e)}function IQ(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Lv=["history","path","basename","stem","extname","dirname"];class I${constructor(t){let n;t?G1(t)?n={path:t}:typeof t=="string"||DQ(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":CQ.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Lv.length;){const o=Lv[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)Lv.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?ai.basename(this.path):void 0}set basename(t){Fv(t,"basename"),$v(t,"basename"),this.path=ai.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ai.dirname(this.path):void 0}set dirname(t){xO(this.basename,"dirname"),this.path=ai.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ai.extname(this.path):void 0}set extname(t){if($v(t,"extname"),xO(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ai.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){G1(t)&&(t=RQ(t)),Fv(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ai.basename(this.path,this.extname):void 0}set stem(t){Fv(t,"stem"),$v(t,"stem"),this.path=ai.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Tn(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function $v(e,t){if(e&&e.includes(ai.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ai.sep+"`")}function Fv(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function xO(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function DQ(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const MQ=(function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o}),LQ={}.hasOwnProperty;class p_ extends MQ{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=jQ()}copy(){const t=new p_;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Mv(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Uv("data",this.frozen),this.namespace[t]=n,this):LQ.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Uv("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=wh(t),r=this.parser||this.Parser;return Bv("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Bv("process",this.parser||this.Parser),zv("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,a){const s=wh(t),c=r.parse(s);r.run(c,s,function(h,p,g){if(h||!p||!g)return f(h);const y=p,S=r.stringify(y,g);BQ(S)?g.value=S:g.result=S,f(h,g)});function f(h,p){h||!p?a(h):o?o(p):n(void 0,p)}}}processSync(t){let n=!1,r;return this.freeze(),Bv("processSync",this.parser||this.Parser),zv("processSync",this.compiler||this.Compiler),this.process(t,i),wO("processSync","process",n),r;function i(o,a){n=!0,yO(o),r=a}}run(t,n,r){bO(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(a,s){const c=wh(n);i.run(t,c,f);function f(h,p,g){const y=p||t;h?s(h):a?a(y):r(void 0,y,g)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),wO("runSync","run",r),i;function o(a,s){yO(a),i=s,r=!0}}stringify(t,n){this.freeze();const r=wh(n),i=this.compiler||this.Compiler;return zv("stringify",i),bO(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Uv("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?s(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(f){if(typeof f=="function")c(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[h,...p]=f;c(h,p)}else a(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function a(f){if(!("plugins"in f)&&!("settings"in f))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(f.plugins),f.settings&&(i.settings=Mv(!0,i.settings,f.settings))}function s(f){let h=-1;if(f!=null)if(Array.isArray(f))for(;++h<f.length;){const p=f[h];o(p)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function c(f,h){let p=-1,g=-1;for(;++p<r.length;)if(r[p][0]===f){g=p;break}if(g===-1)r.push([f,...h]);else if(h.length>0){let[y,...S]=h;const b=r[g][1];V1(b)&&V1(y)&&(y=Mv(!0,b,y)),r[g]=[f,y,...S]}}}}const $Q=new p_().freeze();function Bv(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function zv(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Uv(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function bO(e){if(!V1(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function wO(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function wh(e){return FQ(e)?e:new I$(e)}function FQ(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function BQ(e){return typeof e=="string"||zQ(e)}function zQ(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const UQ="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",SO=[],jO={allowDangerousHtml:!0},qQ=/^(https?|ircs?|mailto|xmpp)$/i,HQ=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];
vendor: 4,218 bytes, line 265
265function D$(e){const t=WQ(e),n=VQ(e);return GQ(t.runSync(t.parse(n),n),e)}function WQ(e){const t=e.rehypePlugins||SO,n=e.remarkPlugins||SO,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...jO}:jO;return $Q().use(EJ).use(n).use(bQ,r).use(t)}function VQ(e){const t=e.children||"",n=new I$;return typeof t=="string"&&(n.value=t),n}function GQ(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,a=t.skipHtml,s=t.unwrapDisallowed,c=t.urlTransform||KQ;for(const h of HQ)Object.hasOwn(t,h.from)&&(""+h.from+(h.to?"use `"+h.to+"` instead":"remove it")+UQ+h.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),h_(e,f),cX(e,{Fragment:d.Fragment,components:i,ignoreInvalidStyle:!0,jsx:d.jsx,jsxs:d.jsxs,passKeys:!0,passNode:!0});function f(h,p,g){if(h.type==="raw"&&g&&typeof p=="number")return a?g.children.splice(p,1):g.children[p]={type:"text",value:h.value},p;if(h.type==="element"){let y;for(y in Tv)if(Object.hasOwn(Tv,y)&&Object.hasOwn(h.properties,y)){const S=h.properties[y],b=Tv[y];(b===null||b.includes(h.tagName))&&(h.properties[y]=c(String(S||""),y,h))}}if(h.type==="element"){let y=n?!n.includes(h.tagName):o?o.includes(h.tagName):!1;if(!y&&r&&typeof p=="number"&&(y=!r(h,p,g)),y&&g&&typeof p=="number")return s&&h.children?g.children.splice(p,1,...h.children):g.children.splice(p,1),p}}}function KQ(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||qQ.test(e.slice(0,t))?e:""}function _O(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function XQ(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function YQ(e,t,n){const i=Em((n||{}).ignore||[]),o=JQ(t);let a=-1;for(;++a<o.length;)R$(e,"text",s);function s(f,h){let p=-1,g;for(;++p<h.length;){const y=h[p],S=g?g.children:void 0;if(i(y,S?S.indexOf(y):void 0,g))return;g=y}if(g)return c(f,h)}function c(f,h){const p=h[h.length-1],g=o[a][0],y=o[a][1];let S=0;const v=p.children.indexOf(f);let w=!1,j=[];g.lastIndex=0;let _=g.exec(f.value);for(;_;){const E=_.index,N={index:_.index,input:_.input,stack:[...h,f]};let P=y(..._,N);if(typeof P=="string"&&(P=P.length>0?{type:"text",value:P}:void 0),P===!1?g.lastIndex=E+1:(S!==E&&j.push({type:"text",value:f.value.slice(S,E)}),Array.isArray(P)?j.push(...P):P&&j.push(P),S=E+_[0].length,w=!0),!g.global)break;_=g.exec(f.value)}return w?(S<f.value.length&&j.push({type:"text",value:f.value.slice(S)}),p.children.splice(v,1,...j)):j=[f],v+j.length}}function JQ(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([QQ(i[0]),ZQ(i[1])])}return t}function QQ(e){return typeof e=="string"?new RegExp(XQ(e),"g"):e}function ZQ(e){return typeof e=="function"?e:function(){return e}}const qv="phrasing",Hv=["autolink","link","image","label"];function eZ(){return{transforms:[sZ],enter:{literalAutolink:nZ,literalAutolinkEmail:Wv,literalAutolinkHttp:Wv,literalAutolinkWww:Wv},exit:{literalAutolink:aZ,literalAutolinkEmail:oZ,literalAutolinkHttp:rZ,literalAutolinkWww:iZ}}}function tZ(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:qv,notInConstruct:Hv},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:qv,notInConstruct:Hv},{character:":",before:"[ps]",after:"\\/",inConstruct:qv,notInConstruct:Hv}]}}function nZ(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Wv(e){this.config.enter.autolinkProtocol.call(this,e)}function rZ(e){this.config.exit.autolinkProtocol.call(this,e)}function iZ(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function oZ(e){this.config.exit.autolinkEmail.call(this,e)}function aZ(e){this.exit(e)}function sZ(e){YQ(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,lZ],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S}
265)([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),cZ]],{ignore:["link","linkReference"]})}function lZ(e,t,n,r,i){let o="";if(!M$(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!uZ(n)))return!1;const a=fZ(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function cZ(e,t,n,r){return!M$(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function uZ(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function fZ(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=_O(e,"(");let o=_O(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function M$(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||as(n)||jm(n))&&(!t||n!==47)}L$.peek=bZ;function dZ(){this.buffer()}function hZ(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function pZ(){this.buffer()}function mZ(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function gZ(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Kr(this.sliceSerialize(e)).toLowerCase(),n.label=t}function yZ(e){this.exit(e)}function vZ(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Kr(this.sliceSerialize(e)).toLowerCase(),n.label=t}function xZ(e){this.exit(e)}function bZ(){return"["}function L$(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),s(),a(),o+=i.move("]"),o}function wZ(){return{enter:{gfmFootnoteCallString:dZ,gfmFootnoteCall:hZ,gfmFootnoteDefinitionLabelString:pZ,gfmFootnoteDefinition:mZ},exit:{gfmFootnoteCallString:gZ,gfmFootnoteCall:yZ,gfmFootnoteDefinitionLabelString:vZ,gfmFootnoteDefinition:xZ}}}function SZ(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:L$},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,o,a){const s=o.createTracker(a);let c=s.move("[^");const f=o.enter("footnoteDefinition"),h=o.enter("label");return c+=s.move(o.safe(o.associationId(r),{before:c,after:"]"})),h(),c+=s.move("]:"),r.children&&r.children.length>0&&(s.shift(4),c+=s.move((t?`
266`:" ")+o.indentLines(o.containerFlow(r,s.current()),t?$$:jZ))),f(),c}}function jZ(e,t,n){return t===0?e:$$(e,t,n)}function $$(e,t,n){return(n?"":" ")+e}const _Z=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];F$.peek=AZ;function kZ(){return{canContainEols:["delete"],enter:{strikethrough:NZ},exit:{strikethrough:PZ}}}function EZ(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:_Z}],handlers:{delete:F$}}}function NZ(e){this.enter({type:"delete",children:[]},e)}function PZ(e){this.exit(e)}function F$(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function AZ(){return"~"}function OZ(e){return e.length}function CZ(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||OZ,o=[],a=[],s=[],c=[];let f=0,h=-1;for(;++h<e.length;){const b=[],v=[];let w=-1;for(e[h].length>f&&(f=e[h].length);++w<e[h].length;){const j=TZ(e[h][w]);if(n.alignDelimiters!==!1){const _=i(j);v[w]=_,(c[w]===void 0||_>c[w])&&(c[w]=_)}b.push(j)}a[h]=b,s[h]=v}let p=-1;if(typeof r=="object"&&"length"in r)for(;++p<f;)o[p]=kO(r[p]);else{const b=kO(r);for(;++p<f;)o[p]=b}p=-1;const g=[],y=[];for(;++p<f;){const b=o[p];let v="",w="";b===99?(v=":",w=":"):b===108?v=":":b===114&&(w=":");let j=n.alignDelimiters===!1?1:Math.max(1,c[p]-v.length-w.length);const _=v+"-".repeat(j)+w;n.alignDelimiters!==!1&&(j=v.length+j+w.length,j>
vendor: 10,542 bytes, lines 266-278
266c[p]&&(c[p]=j),y[p]=j),g[p]=_}a.splice(1,0,g),s.splice(1,0,y),h=-1;const S=[];for(;++h<a.length;){const b=a[h],v=s[h];p=-1;const w=[];for(;++p<f;){const j=b[p]||"";let _="",E="";if(n.alignDelimiters!==!1){const N=c[p]-(v[p]||0),P=o[p];P===114?_=" ".repeat(N):P===99?N%2?(_=" ".repeat(N/2+.5),E=" ".repeat(N/2-.5)):(_=" ".repeat(N/2),E=_):E=" ".repeat(N)}n.delimiterStart!==!1&&!p&&w.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&j==="")&&(n.delimiterStart!==!1||p)&&w.push(" "),n.alignDelimiters!==!1&&w.push(_),w.push(j),n.alignDelimiters!==!1&&w.push(E),n.padding!==!1&&w.push(" "),(n.delimiterEnd!==!1||p!==f-1)&&w.push("|")}S.push(n.delimiterEnd===!1?w.join("").replace(/ +$/,""):w.join(""))}return S.join(` 267`)}function TZ(e){return e==null?"":String(e)}function kO(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function RZ(e,t,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const a=n.indentLines(n.containerFlow(e,o.current()),IZ);return i(),a}function IZ(e,t,n){return">"+(n?"":" ")+e}function DZ(e,t){return EO(e,t.inConstruct,!0)&&!EO(e,t.notInConstruct,!1)}function EO(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function NO(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===` 268`&&DZ(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\ 269`}function MZ(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>a&&(a=o):o=1,i=r+t.length,r=n.indexOf(t,i);return a}function LZ(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function $Z(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function FZ(e,t,n,r){const i=$Z(n),o=e.value||"",a=i==="`"?"GraveAccent":"Tilde";if(LZ(e,n)){const p=n.enter("codeIndented"),g=n.indentLines(o,BZ);return p(),g}const s=n.createTracker(r),c=i.repeat(Math.max(MZ(o,i)+1,3)),f=n.enter("codeFenced");let h=s.move(c);if(e.lang){const p=n.enter(`codeFencedLang${a}`);h+=s.move(n.safe(e.lang,{before:h,after:" ",encode:["`"],...s.current()})),p()}if(e.lang&&e.meta){const p=n.enter(`codeFencedMeta${a}`);h+=s.move(" "),h+=s.move(n.safe(e.meta,{before:h,after:` 270`,encode:["`"],...s.current()})),p()}return h+=s.move(` 271`),o&&(h+=s.move(o+` 272`)),h+=s.move(c),f(),h}function BZ(e,t,n){return(n?"":" ")+e}function m_(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function zZ(e,t,n,r){const i=m_(n),o=i==='"'?"Quote":"Apostrophe",a=n.enter("definition");let s=n.enter("label");const c=n.createTracker(r);let f=c.move("[");return f+=c.move(n.safe(n.associationId(e),{before:f,after:"]",...c.current()})),f+=c.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),f+=c.move("<"),f+=c.move(n.safe(e.url,{before:f,after:">",...c.current()})),f+=c.move(">")):(s=n.enter("destinationRaw"),f+=c.move(n.safe(e.url,{before:f,after:e.title?" ":` 273`,...c.current()}))),s(),e.title&&(s=n.enter(`title${o}`),f+=c.move(" "+i),f+=c.move(n.safe(e.title,{before:f,after:i,...c.current()})),f+=c.move(i),s()),a(),f}function UZ(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Vu(e){return"&#x"+e.toString(16).toUpperCase()+";"}function dp(e,t,n){const r=Cl(e),i=Cl(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}B$.peek=qZ;function B$(e,t,n,r){const i=UZ(n),o=n.enter("emphasis"),a=n.createTracker(r),s=a.move(i);let c=a.move(n.containerPhrasing(e,{after:i,before:s,...a.current()}));const f=c.charCodeAt(0),h=dp(r.before.charCodeAt(r.before.length-1),f,i);h.inside&&(c=Vu(f)+c.slice(1));const p=c.charCodeAt(c.length-1),g=dp(r.after.charCodeAt(0),p,i);g.inside&&(c=c.slice(0,-1)+Vu(p));const y=a.move(i);return o(),n.attentionEncodeSurroundingInfo={after:g.outside,before:h.outside},s+c+y}function qZ(e,t,n){return n.options.emphasis||"*"}function HZ(e,t){let n=!1;return h_(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,H1}),!!((!e.depth||e.depth<3)&&a_(e)&&(t.options.setext||n))}function WZ(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(HZ(e,n)){const h=n.enter("headingSetext"),p=n.enter("phrasing"),g=n.containerPhrasing(e,{...o.current(),before:` 274`,after:` 275`});return p(),h(),g+` 276`+(i===1?"=":"-").repeat(g.length-(Math.max(g.lastIndexOf("\r"),g.lastIndexOf(` 277`))+1))}const a="#".repeat(i),s=n.enter("headingAtx"),c=n.enter("phrasing");o.move(a+" ");let f=n.containerPhrasing(e,{before:"# ",after:` 278`,...o.current()});return/^[\t ]/.test(f)&&(f=Vu(f.charCodeAt(0))+f.slice(1)),f=f?a+" "+f:a,n.options.closeAtx&&(f+=" "+a),c(),s(),f}z$.peek=VZ;function z$(e){return e.value||""}function VZ(){return"<"}U$.peek=GZ;function U$(e,t,n,r){const i=m_(n),o=i==='"'?"Quote":"Apostrophe",a=n.enter("image");let s=n.enter("label");const c=n.createTracker(r);let f=c.move("![");return f+=c.move(n.safe(e.alt,{before:f,after:"]",...c.current()})),f+=c.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),f+=c.move("<"),f+=c.move(n.safe(e.url,{before:f,after:">",...c.current()})),f+=c.move(">")):(s=n.enter("destinationRaw"),f+=c.move(n.safe(e.url,{before:f,after:e.title?" ":")",...c.current()}))),s(),e.title&&(s=n.enter(`title${o}`),f+=c.move(" "+i),f+=c.move(n.safe(e.title,{before:f,after:i,...c.current()})),f+=c.move(i),s()),f+=c.move(")"),a(),f}function GZ(){return"!"}q$.peek=KZ;function q$(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let a=n.enter("label");const s=n.createTracker(r);let c=s.move("![");const f=n.safe(e.alt,{before:c,after:"]",...s.current()});c+=s.move(f+"]["),a();const h=n.stack;n.stack=[],a=n.enter("reference");const p=n.safe(n.associationId(e),{before:c,after:"]",...s.current()});return a(),n.stack=h,o(),i==="full"||!f||f!==p?c+=s.move(p+"]"):i==="shortcut"?c=c.slice(0,-1):c+=s.move("]"),c}function KZ(){return"!"}H$.peek=XZ;function H$(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const a=n.unsafe[o],s=n.compilePattern(a);let c;if(a.atBreak)for(;c=s.exec(r);){let f=c.index;r.charCodeAt(f)===10&&r.charCodeAt(f-1)===13&&f--,r=r.slice(0,f)+" "+r.slice(c.index+1)}}return i+r+i}function XZ(){return"`"}function W$(e,t){const n=a_(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}V$.peek=YZ;function V$(e,t,n,r){const i=m_(n),o=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let s,c;if(W$(e,n)){const h=n.stack;n.stack=[],s=n.enter("autolink");let p=a.move("<");return p+=a.move(n.containerPhrasing(e,{before:p,after:">",...a.current()})),p+=a.move(">"),s(),n.stack=h,p}s=n.enter("link"),c=n.enter("label");let f=a.move("[");return f+=a.move(n.containerPhrasing(e,{before:f,after:"](",...a.current()})),f+=a.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),f+=a.move("<"),f+=a.move(n.safe(e.url,{before:f,after:">",...a.current()})),f+=a.move(">")):(c=n.enter("destinationRaw"),f+=a.move(n.safe(e.url,{before:f,after:e.title?" ":")",...a.current()}))),c(),e.title&&(c=n.enter(`title${o}`),f+=a.move(" "+i),f+=a.move(n.safe(e.title,{before:f,after:i,...a.current()})),f+=a.move(i),c()),f+=a.move(")"),s(),f}function YZ(e,t,n){return W$(e,n)?"<":"["}G$.peek=JZ;function G$(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let a=n.enter("label");const s=n.createTracker(r);let c=s.move("[");const f=n.containerPhrasing(e,{before:c,after:"]",...s.current()});c+=s.move(f+"]["),a();const h=n.stack;n.stack=[],a=n.enter("reference");const p=n.safe(n.associationId(e),{before:c,after:"]",...s.current()});return a(),n.stack=h,o(),i==="full"||!f||f!==p?c+=s.move(p+"]"):i==="shortcut"?c=c.slice(0,-1):c+=s.move("]"),c}function JZ(){return"["}function g_(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function QZ(e){const t=g_(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function ZZ(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function K$(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function eee(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let a=e.ordered?ZZ(n):g_(n);const s=e.ordered?a==="."?")":".":QZ(n);let c=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&h&&(!h.children||!h.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),K$(n)===a&&h){let p=-1;for(;++p<e.children.length;){const g=e.children[p];if(g&&g.type==="listItem"&&g.children&&g.children[0]&&g.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(a=s),n.bulletCurrent=a;const f=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=o,i(),f}function tee(e){const t=e.options.listItemIndent||"one";
vendor: 5,961 bytes, lines 278-280
278if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function nee(e,t,n,r){const i=tee(n);let o=n.bulletCurrent||g_(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let a=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const c=n.enter("listItem"),f=n.indentLines(n.containerFlow(e,s.current()),h);return c(),f;function h(p,g,y){return g?(y?"":" ".repeat(a))+p:(y?o:o+" ".repeat(a-o.length))+p}}function ree(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(e,r);return o(),i(),a}const iee=Em(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function oee(e,t,n,r){return(e.children.some(function(a){return iee(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function aee(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}X$.peek=see;function X$(e,t,n,r){const i=aee(n),o=n.enter("strong"),a=n.createTracker(r),s=a.move(i+i);let c=a.move(n.containerPhrasing(e,{after:i,before:s,...a.current()}));const f=c.charCodeAt(0),h=dp(r.before.charCodeAt(r.before.length-1),f,i);h.inside&&(c=Vu(f)+c.slice(1));const p=c.charCodeAt(c.length-1),g=dp(r.after.charCodeAt(0),p,i);g.inside&&(c=c.slice(0,-1)+Vu(p));const y=a.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:g.outside,before:h.outside},s+c+y}function see(e,t,n){return n.options.strong||"*"}function lee(e,t,n,r){return n.safe(e.value,r)}function cee(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function uee(e,t,n){const r=(K$(n)+(n.options.ruleSpaces?" ":"")).repeat(cee(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Y$={blockquote:RZ,break:NO,code:FZ,definition:zZ,emphasis:B$,hardBreak:NO,heading:WZ,html:z$,image:U$,imageReference:q$,inlineCode:H$,link:V$,linkReference:G$,list:eee,listItem:nee,paragraph:ree,root:oee,strong:X$,text:lee,thematicBreak:uee};function fee(){return{enter:{table:dee,tableData:PO,tableHeader:PO,tableRow:pee},exit:{codeText:mee,table:hee,tableData:Vv,tableHeader:Vv,tableRow:Vv}}}function dee(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function hee(e){this.exit(e),this.data.inTable=void 0}function pee(e){this.enter({type:"tableRow",children:[]},e)}function Vv(e){this.exit(e)}function PO(e){this.enter({type:"tableCell",children:[]},e)}function mee(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,gee));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function gee(e,t){return t==="|"?t:e}function yee(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 279`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:g,table:a,tableCell:c,tableRow:s}};function a(y,S,b,v){return f(h(y,b,v),y.align)}function s(y,S,b,v){const w=p(y,b,v),j=f([w]);return j.slice(0,j.indexOf(` 280`))}function c(y,S,b,v){const w=b.enter("tableCell"),j=b.enter("phrasing"),_=b.containerPhrasing(y,{...v,before:o,after:o});return j(),w(),_}function f(y,S){return CZ(y,{align:S,alignDelimiters:r,padding:n,stringLength:i})}function h(y,S,b){const v=y.children;let w=-1;const j=[],_=S.enter("table");for(;++w<v.length;)j[w]=p(v[w],S,b);return _(),j}function p(y,S,b){const v=y.children;let w=-1;const j=[],_=S.enter("tableRow");for(;++w<v.length;)j[w]=c(v[w],y,S,b);return _(),j}function g(y,S,b){let v=Y$.inlineCode(y,S,b);return b.stack.includes("tableCell")&&(v=v.replace(/\|/g,"\\$&")),v}}function vee(){return{exit:{taskListCheckValueChecked:AO,taskListCheckValueUnchecked:AO,paragraph:bee}}}function xee(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:wee}}}function AO(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function bee(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let o=-1,a;for(;++o<i.length;){const s=i[o];if(s.type==="paragraph"){a=s;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function wee(e,t,n,r){const i=e.children[0],o=typeof e.checked=="boolean"&&i&&i.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);o&&s.move(a);let c=Y$.listItem(e,t,n,{...r,...s.current()});return o&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),c;function f(h){return h+a}}function See(){return[eZ(),wZ(),kZ(),fee(),vee()]}function jee(e){return{extensions:[tZ(),SZ(e),EZ(),yee(e),xee()]}}const _ee={tokenize:Oee,partial:!0},J$={tokenize:Cee,partial:!0},Q$={tokenize:Tee,partial:!0},Z$={tokenize:Ree,partial:!0},kee={tokenize:Iee,partial:!0},e5={name:"wwwAutolink",tokenize:Pee,previous:n5},t5={name:"protocolAutolink",tokenize:Aee,previous:r5},no={name:"emailAutolink",tokenize:Nee,previous:i5},wi={};function Eee(){return{text:wi}}let Pa=48;
vendor: 9,391 bytes, line 280
280for(;Pa<123;)wi[Pa]=no,Pa++,Pa===58?Pa=65:Pa===91&&(Pa=97);wi[43]=no;wi[45]=no;wi[46]=no;wi[95]=no;wi[72]=[no,t5];wi[104]=[no,t5];wi[87]=[no,e5];wi[119]=[no,e5];function Nee(e,t,n){const r=this;let i,o;return a;function a(p){return!K1(p)||!i5.call(r,r.previous)||y_(r.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(p))}function s(p){return K1(p)?(e.consume(p),s):p===64?(e.consume(p),c):n(p)}function c(p){return p===46?e.check(kee,h,f)(p):p===45||p===95||On(p)?(o=!0,e.consume(p),c):h(p)}function f(p){return e.consume(p),i=!0,c}function h(p){return o&&i&&Mn(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}function Pee(e,t,n){const r=this;return i;function i(a){return a!==87&&a!==119||!n5.call(r,r.previous)||y_(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(_ee,e.attempt(J$,e.attempt(Q$,o),n),n)(a))}function o(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function Aee(e,t,n){const r=this;let i="",o=!1;return a;function a(p){return(p===72||p===104)&&r5.call(r,r.previous)&&!y_(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(p),e.consume(p),s):n(p)}function s(p){if(Mn(p)&&i.length<5)return i+=String.fromCodePoint(p),e.consume(p),s;if(p===58){const g=i.toLowerCase();if(g==="http"||g==="https")return e.consume(p),c}return n(p)}function c(p){return p===47?(e.consume(p),o?f:(o=!0,c)):n(p)}function f(p){return p===null||cp(p)||yt(p)||as(p)||jm(p)?n(p):e.attempt(J$,e.attempt(Q$,h),n)(p)}function h(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function Oee(e,t,n){let r=0;return i;function i(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),i):a===46&&r===3?(e.consume(a),o):n(a)}function o(a){return a===null?n(a):t(a)}}function Cee(e,t,n){let r,i,o;return a;function a(f){return f===46||f===95?e.check(Z$,c,s)(f):f===null||yt(f)||as(f)||f!==45&&jm(f)?c(f):(o=!0,e.consume(f),a)}function s(f){return f===95?r=!0:(i=r,r=void 0),e.consume(f),a}function c(f){return i||r||!o?n(f):t(f)}}function Tee(e,t){let n=0,r=0;return i;function i(a){return a===40?(n++,e.consume(a),i):a===41&&r<n?o(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(Z$,t,o)(a):a===null||yt(a)||as(a)?t(a):(e.consume(a),i)}function o(a){return a===41&&r++,e.consume(a),i}}function Ree(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),o):s===93?(e.consume(s),i):s===60||s===null||yt(s)||as(s)?t(s):n(s)}function i(s){return s===null||s===40||s===91||yt(s)||as(s)?t(s):r(s)}function o(s){return Mn(s)?a(s):n(s)}function a(s){return s===59?(e.consume(s),r):Mn(s)?(e.consume(s),a):n(s)}}function Iee(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return On(o)?n(o):t(o)}}function n5(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||yt(e)}function r5(e){return!Mn(e)}function i5(e){return!(e===47||K1(e))}function K1(e){return e===43||e===45||e===46||e===95||On(e)}function y_(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const Dee={tokenize:qee,partial:!0};function Mee(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Bee,continuation:{tokenize:zee},exit:Uee}},text:{91:{name:"gfmFootnoteCall",tokenize:Fee},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Lee,resolveTo:$ee}}}}function Lee(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const c=r.events[i][1];if(c.type==="labelImage"){a=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return s;function s(c){if(!a||!a._balanced)return n(c);const f=Kr(r.sliceSerialize({start:a.end,end:r.now()}));return f.codePointAt(0)!==94||!o.includes(f.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function $ee(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function Fee(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,a;return s;function s(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),c}function c(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(p){if(o>999||p===93&&!a||p===null||p===91||yt(p))return n(p);if(p===93){e.exit("chunkString");const g=e.exit("gfmFootnoteCallString");return i.includes(Kr(r.sliceSerialize(g)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return yt(p)||(a=!0),o++,e.consume(p),p===92?h:f}function h(p){return p===91||p===92||p===93?(e.consume(p),o++,f):f(p)}}function Bee(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0,s;return c;function c(S){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(S){return S===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(S)}function h(S){if(a>999||S===93&&!s||S===null||S===91||yt(S))return n(S);if(S===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return o=Kr(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g}return yt(S)||(s=!0),a++,e.consume(S),S===92?p:h}function p(S){return S===91||S===92||S===93?(e.consume(S),a++,h):h(S)}function g(S){return S===58?(e.enter("definitionMarker"),e.consume(S),e.exit("definitionMarker"),i.includes(o)||i.push(o),rt(e,y,"gfmFootnoteDefinitionWhitespace")):n(S)}function y(S){return t(S)}}function zee(e,t,n){return e.check(Hf,t,e.attempt(Dee,t,n))}function Uee(e){e.exit("gfmFootnoteDefinition")}function qee(e,t,n){const r=this;return rt(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(o):n(o)}}function Hee(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,s){let c=-1;for(;++c<a.length;)if(a[c][0]==="enter"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._close){let f=c;for(;f--;)if(a[f][0]==="exit"&&a[f][1].type==="strikethroughSequenceTemporary"&&a[f][1]._open&&a[c][1].end.offset-a[c][1].start.offset===a[f][1].end.offset-a[f][1].start.offset){a[c][1].type="strikethroughSequence",a[f][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},a[f][1].start),end:Object.assign({},a[c][1].end)},p={type:"strikethroughText",start:Object.assign({},a[f][1].end),end:Object.assign({},a[c][1].start)},g=[["enter",h,s],["enter",a[f][1],s],["exit",a[f][1],s],["enter",p,s]],y=s.parser.constructs.insideSpan.null;y&&ur(g,g.length,0,_m(y,a.slice(f+1,c),s)),ur(g,g.length,0,[["exit",p,s],["enter",a[c][1],s],["exit",a[c][1],s],["exit",h,s]]),ur(a,f-1,c-f+3,g),c=f+g.length-2;break}}for(c=-1;++c<a.length;)a[c][1].type==="strikethroughSequenceTemporary"&&(a[c][1].type="data");return a}function o(a,s,c){const f=this.previous,h=this.events;let p=0;return g;function g(S){return f===126&&h[h.length-1][1].type!=="characterEscape"?c(S):(a.enter("strikethroughSequenceTemporary"),y(S))}function y(S){const b=Cl(f);if(S===126)return p>1?c(S):(a.consume(S),p++,y);if(p<2&&!n)return c(S);const v=a.exit("strikethroughSequenceTemporary"),w=Cl(S);return v._open=!w||w===2&&!!b,v._close=!b||b===2&&!!w,s(S)}}}class Wee{constructor(){this.map=[]}add(t,n,r){Vee(this,t,n,r)}consume(t){if(this.map.sort(function(o,a){return o[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];
vendor: 4,311 bytes, line 280
280r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const o of i)t.push(o);i=r.pop()}this.map.length=0}}function Vee(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function Gee(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Kee(){return{flow:{null:{name:"table",tokenize:Xee,resolveAll:Yee}}}}function Xee(e,t,n){const r=this;let i=0,o=0,a;return s;function s(D){let M=r.events.length-1;for(;M>-1;){const U=r.events[M][1].type;if(U==="lineEnding"||U==="linePrefix")M--;else break}const $=M>-1?r.events[M][1].type:null,H=$==="tableHead"||$==="tableRow"?P:c;return H===P&&r.parser.lazy[r.now().line]?n(D):H(D)}function c(D){return e.enter("tableHead"),e.enter("tableRow"),f(D)}function f(D){return D===124||(a=!0,o+=1),h(D)}function h(D){return D===null?n(D):Me(D)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),y):n(D):Ze(D)?rt(e,h,"whitespace")(D):(o+=1,a&&(a=!1,i+=1),D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),a=!0,h):(e.enter("data"),p(D)))}function p(D){return D===null||D===124||yt(D)?(e.exit("data"),h(D)):(e.consume(D),D===92?g:p)}function g(D){return D===92||D===124?(e.consume(D),p):p(D)}function y(D){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(D):(e.enter("tableDelimiterRow"),a=!1,Ze(D)?rt(e,S,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):S(D))}function S(D){return D===45||D===58?v(D):D===124?(a=!0,e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),b):N(D)}function b(D){return Ze(D)?rt(e,v,"whitespace")(D):v(D)}function v(D){return D===58?(o+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),w):D===45?(o+=1,w(D)):D===null||Me(D)?E(D):N(D)}function w(D){return D===45?(e.enter("tableDelimiterFiller"),j(D)):N(D)}function j(D){return D===45?(e.consume(D),j):D===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),_):(e.exit("tableDelimiterFiller"),_(D))}function _(D){return Ze(D)?rt(e,E,"whitespace")(D):E(D)}function E(D){return D===124?S(D):D===null||Me(D)?!a||i!==o?N(D):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(D)):N(D)}function N(D){return n(D)}function P(D){return e.enter("tableRow"),C(D)}function C(D){return D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),C):D===null||Me(D)?(e.exit("tableRow"),t(D)):Ze(D)?rt(e,C,"whitespace")(D):(e.enter("data"),T(D))}function T(D){return D===null||D===124||yt(D)?(e.exit("data"),C(D)):(e.consume(D),D===92?L:T)}function L(D){return D===92||D===124?(e.consume(D),T):T(D)}}function Yee(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],a=[0,0,0,0],s=!1,c=0,f,h,p;const g=new Wee;for(;++n<e.length;){const y=e[n],S=y[1];y[0]==="enter"?S.type==="tableHead"?(s=!1,c!==0&&(OO(g,t,c,f,h),h=void 0,c=0),f={type:"table",start:Object.assign({},S.start),end:Object.assign({},S.end)},g.add(n,0,[["enter",f,t]])):S.type==="tableRow"||S.type==="tableDelimiterRow"?(r=!0,p=void 0,o=[0,0,0,0],a=[0,n+1,0,0],s&&(s=!1,h={type:"tableBody",start:Object.assign({},S.start),end:Object.assign({},S.end)},g.add(n,0,[["enter",h,t]])),i=S.type==="tableDelimiterRow"?2:h?3:1):i&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(o[1]!==0&&(a[0]=a[1],p=Sh(g,t,o,i,void 0,p),o=[0,0,0,0]),a[2]=n)):S.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(a[0]=a[1],p=Sh(g,t,o,i,void 0,p)),o=a,a=[o[1],n,0,0])):S.type==="tableHead"?(s=!0,c=n):S.type==="tableRow"||S.type==="tableDelimiterRow"?(c=n,o[1]!==0?(a[0]=a[1],p=Sh(g,t,o,i,n,p)):a[1]!==0&&(p=Sh(g,t,a,i,n,p)),i=0):i&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")&&(a[3]=n)}for(c!==0&&OO(g,t,c,f,h),g.consume(t.events),n=-1;++n<t.events.length;){const y=t.events[n];
280y[0]==="enter"&&y[1].type==="table"&&(y[1]._align=Gee(t.events,n))}return e}function Sh(e,t,n,r,i,o){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(o.end=Object.assign({},rl(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const c=rl(t.events,n[1]);if(o={type:a,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){const f=rl(t.events,n[2]),h=rl(t.events,n[3]),p={type:s,start:Object.assign({},f),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",p,t]]),r!==2){const g=t.events[n[2]],y=t.events[n[3]];if(g[1].end=Object.assign({},y[1].end),g[1].type="chunkText",g[1].contentType="text",n[3]>n[2]+1){const S=n[2]+1,b=n[3]-n[2]-1;e.add(S,b,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return i!==void 0&&(o.end=Object.assign({},rl(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function OO(e,t,n,r,i){const o=[],a=rl(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function rl(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Jee={name:"tasklistCheck",tokenize:Zee};function Qee(){return{text:{91:Jee}}}function Zee(e,t,n){const r=this;return i;function i(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),o)}function o(c){return yt(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),a):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),a):n(c)}function a(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(c)}function s(c){return Me(c)?t(c):Ze(c)?e.check({tokenize:ete},t,n)(c):n(c)}}function ete(e,t,n){return rt(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function tte(e){return p$([Eee(),Mee(),Hee(e),Kee(),Qee()])}const nte={};function o5(e){const t=this,n=e||nte,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(tte(n)),o.push(See()),a.push(jee(n))}function X1({children:e}){return d.jsx(D$,{remarkPlugins:[o5],components:{h1:({children:t})=>d.jsx("h1",{className:"font-display font-bold text-2xl text-bone mt-8 mb-4 tracking-tight",children:t}),h2:({children:t})=>d.jsx("h2",{className:"font-display font-bold text-xl text-bone mt-7 mb-3 tracking-tight",children:t}),h3:({children:t})=>d.jsx("h3",{className:"font-display font-semibold text-lg text-bone mt-5 mb-2",children:t}),h4:({children:t})=>d.jsx("h4",{className:"font-semibold text-base text-signal-yellow mt-4 mb-2",children:t}),p:({children:t})=>d.jsx("p",{className:"text-[15px] leading-[1.8] text-bone-muted mb-5",children:t}),ul:({children:t})=>d.jsx("ul",{className:"list-none space-y-2 mb-5 pl-0",children:t}),ol:({children:t})=>d.jsx("ol",{className:"list-decimal pl-5 space-y-2 mb-5 text-bone-muted text-[15px] leading-relaxed",children:t}),li:({children:t})=>d.jsxs("li",{className:"flex gap-2 text-[15px] text-bone-muted leading-relaxed",children:[d.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-signal-yellow flex-shrink-0"}),d.jsx("span",{children:t})]}),strong:({children:t})=>d.jsx("strong",{className:"text-bone font-semibold",children:t}),em:({children:t})=>d.jsx("em",{className:"text-bone-dim",children:t}),blockquote:({children:t})=>d.jsx("blockquote",{className:"border-l-2 border-signal-yellow pl-5 my-6 text-bone-muted italic",children:t}),code:({children:t})=>d.jsx("code",{className:"px-1.5 py-0.5 bg-ink-200 text-signal-yellow text-[13px] rounded font-mono-x",children:t}),pre:({children:t})=>d.jsx("pre",{className:"bg-ink-200 border border-line rounded-xl p-5 overflow-x-auto mb-5 text-[13px] font-mono-x text-bone-muted",children:t}),table:({children:t})=>d.jsx("div",{className:"overflow-x-auto mb-6",children:d.jsx("table",{className:"w-full border-collapse text-[14px]",children:t})}),thead:({children:t})=>d.jsx("thead",{className:"border-b border-line",children:t}),th:({children:t})=>d.jsx("th",{className:"text-left px-4 py-2.5 text-bone font-semibold text-[12px] uppercase tracking-wider",children:t}),td:({children:t})=>d.jsx("td",{className:"px-4 py-3 text-bone-muted border-b border-line/50",children:t}),a:({href:t,children:n})=>d.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"text-signal-yellow hover:underline",children:n}),hr:()=>d.jsx("div",{className:"hr-fade my-8"})},children:e||""})}const Gv={title_en:"",title_ja:"",summary_en:"",summary_ja:"",body_en:"",body_ja:"",header_image:"",author_en:"",author_ja:"",category:"use_case",published_at:new Date().toISOString().split("T")[0],is_published:!1},rte=[{value:"use_case",en:"Use Case",ja:"æç¨æ§"},{value:"case_study",en:"Case Study",ja:"äºä¾"},{value:"technology",en:"Technology",ja:"ãã¯ããã¸ã¼"},{value:"other",en:"Other",ja:"ãã®ä»"}];function ite(){const[e,t]=O.useState([]),[n,r]=O.useState(null),[i,o]=O.useState(Gv),[a,s]=O.useState(!1),[c,f]=O.useState(!1),[h,p]=O.useState(!1),[g,y]=O.useState(!1),[S,b]=O.useState(!1),[v,w]=O.useState(!1),j=async()=>{const M=(i.title_en||i.title_ja||"").trim(),$=(i.summary_en||i.summary_ja||"").trim();if(!(!M&&!$)){w(!0);try{const H='A wide editorial header image for a tech article about "'+(M||"DEP Protocol")+'". '+($?"Context: "+$+". ":"")+"Abstract, premium, dark background (#050505) with subtle gold (#FFD700) and red (#E60012) accent lighting, no text, no logos, cinematic, high detail, 16:9.",{url:U}=await Be.integrations.Core.GenerateImage({prompt:H});o(z=>({...z,header_image:U}))}finally{w(!1)}}},_=async()=>{const M=(i.body_en||"").trim(),$=(i.body_ja||"").trim();if(!(!M&&!$)){b(!0);try{const H=await Be.integrations.Core.InvokeLLM({prompt:`以ä¸ã®è¨äºæ¬æãããã«ã¼ãã«è¡¨ç¤ºããçãæç²ï¼è¦ç´ï¼ã使ãã¦ãã ãããè±èªæ¬æããã¯è±èªã®è¦ç´ããæ¥æ¬èªæ¬æããã¯æ¥æ¬èªã®è¦ç´ãããããã1ã2æï¼æå¤§200æåç¨åº¦ï¼ã§ä½æãã¦ãã ãããæ¬æã空ã®è¨èªã¯ç©ºæåãè¿ãã¦ãã ããããã¼ã¯ãã¦ã³è¨å·ã¯ä½¿ããå¹³æã§åºåãã¦ãã ããã 281 282--- è±èªæ¬æ --- 283`+M+` 284 285--- æ¥æ¬èªæ¬æ --- 286`+$,response_json_schema:{type:"object",properties:{summary_en:{type:"string"},summary_ja:{type:"string"}}}});o(U=>({...U,summary_en:H.summary_en||U.summary_en,summary_ja:H.summary_ja||U.summary_ja}))}finally{b(!1)}}},E=()=>Be.entities.Article.list("-published_at",100).then(t);O.useEffect(()=>{E()},[]);const N=()=>{o(Gv),r("new"),p(!1)},P=async M=>{y(!0);const[$,H]=await Promise.all([L1(M.body_en),L1(M.body_ja)]);y(!1),o({...Gv,...M,body_en:$,body_ja:H}),r(M.id),p(!1)},C=async()=>{s(!0);const[M,$]=await Promise.all([zA(i.body_en,"article-en.md"),zA(i.body_ja,"article-ja.md")]),H={...i,body_en:M,body_ja:$};n==="new"?await Be.entities.Article.create(H):await Be.entities.Article.update(n,H),s(!1),r(null),E()},T=async M=>{confirm("åé¤ãã¾ããï¼")&&(await Be.entities.Article.delete(M),E())},L=async M=>{const $=M.target.files[0];if(!$)return;f(!0);const{file_url:H}=await Be.integrations.Core.UploadFile({file:$});o(U=>({...U,header_image:H})),f(!1)},D=M=>$=>o(H=>({...H,[M]:$.target.type==="checkbox"?$.target.checked:$.target.value}));return n!==null?g?d.jsx("div",{className:"flex items-center justify-center py-32",children:d.jsx("div",{className:"w-8 h-8 border-2 border-line border-t-signal-yellow rounded-full animate-spin"})}):d.jsxs("div",{children:[d.jsx("button",{onClick:()=>r(null),className:"text-sm text-bone-muted hover:text-bone mb-6 flex items-center gap-1",children:"â ä¸è¦§ã«æ»ã"}),d.jsx("h2",{className:"font-display font-bold text-xl text-bone mb-8",children:n==="new"?"æ°è¦è¨äºä½æ":"è¨äºç·¨é"}),d.jsxs("div",{className:"space-y-6",children:[d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"Header Image"}),i.header_image&&d.jsx("img",{src:i.header_image,alt:"",className:"w-full max-h-48 object-cover rounded-lg mb-3 border border-line"}),d.jsxs("div",{className:"flex items-center gap-3 flex-wrap",children:[d.jsxs("label",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg border border-line bg-ink-200 text-sm text-bone-muted hover:text-bone cursor-pointer transition-colors",children:[c?"ã¢ãããã¼ãä¸...":"ç»åãã¢ãããã¼ã",d.jsx("input",{type:"file",accept:"image/*",className:"hidden",onChange:L,disabled:c})]}),d.jsx("button",{type:"button",onClick:j,disabled:v||!i.title_en&&!i.title_ja&&!i.summary_en&&!i.summary_ja,className:"inline-flex items-center gap-1.5 px-4 py-2 rounded-lg border border-signal-yellow/30 text-signal-yellow text-sm hover:bg-signal-yellow/5 disabled:opacity-40 disabled:cursor-not-allowed transition-colors",children:v?d.jsxs(d.Fragment,{children:[d.jsx("span",{className:"w-3.5 h-3.5 border border-signal-yellow/40 border-t-signal-yellow rounded-full animate-spin"}),"çæä¸..."]}):"⨠AIã§çæ"}),i.header_image&&d.jsx("button",{onClick:()=>o(M=>({...M,header_image:""})),className:"text-xs text-signal-red hover:underline",children:"åé¤"})]})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"Title (EN)"}),d.jsx("input",{value:i.title_en,onChange:D("title_en"),className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50"})]}),d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"ã¿ã¤ãã« (JA)"}),d.jsx("input",{value:i.title_ja,onChange:D("title_ja"),className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50"})]})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"Author (EN)"}),d.jsx("input",{value:i.author_en,onChange:D("author_en"),placeholder:"Author name",className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50"})]}),d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"èè (JA)"}),d.jsx("input",{value:i.author_ja,onChange:D("author_ja"),placeholder:"èè å",className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50"})]})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"flex items-center justify-between mb-2",children:[d.jsx("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint",children:"Summary / è¦ç´ â ã«ã¼ãç¨æç²"}),d.jsx("button",{type:"button",onClick:_,disabled:S||!i.body_en&&!i.body_ja,className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-md border border-signal-yellow/30 text-signal-yellow text-[11px] hover:bg-signal-yellow/5 disabled:opacity-40 disabled:cursor-not-allowed transition-colors",children:S?d.jsxs(d.Fragment,{children:[d.jsx("span",{className:"w-3 h-3 border border-signal-yellow/40 border-t-signal-yellow rounded-full animate-spin"}),"çæä¸..."]}):"â¨ æ¬æããèªåçæ"})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[d.jsx("textarea",{value:i.summary_en,onChange:D("summary_en"),rows:2,placeholder:"English summary",className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50 resize-none"}),d.jsx("textarea",{value:i.summary_ja,onChange:D("summary_ja"),rows:2,placeholder:"æ¥æ¬èªã®è¦ç´",className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50 resize-none"})]})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"flex items-center justify-between mb-2",children:[d.jsxs("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint",children:["Body (EN) â Markdown ",d.jsx("span",{className:"text-bone-faint normal-case tracking-normal",children:"(ãã¼ã¯ãã¦ã³ã§è²¼ãä»ãå¯)"})]}),d.jsxs("div",{className:"flex gap-1",children:[d.jsx("button",{type:"button",onClick:()=>p(!1),className:`px-3 py-1 text-[11px] rounded-md border transition-colors ${h?"border-line text-bone-faint hover:text-bone":"border-signal-yellow/40 text-signal-yellow bg-signal-yellow/5"}`,children:"ç·¨é"}),d.jsx("button",{type:"button",onClick:()=>p(!0),className:`px-3 py-1 text-[11px] rounded-md border transition-colors ${h?"border-signal-yellow/40 text-signal-yellow bg-signal-yellow/5":"border-line text-bone-faint hover:text-bone"}`,children:"ãã¬ãã¥ã¼"})]})]}),h?d.jsx("div",{className:"min-h-[200px] bg-ink-200 border border-line rounded-lg px-4 py-3",children:d.jsx(X1,{children:i.body_en||""})}):d.jsx("textarea",{value:i.body_en,onChange:D("body_en"),rows:10,placeholder:`# è¦åºã 287 288æ¬æã **ãã¼ã¯ãã¦ã³** ã§å ¥åãã¦ãã ããã`,className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone font-mono-x leading-relaxed focus:outline-none focus:border-signal-yellow/50 resize-y"})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"flex items-center justify-between mb-2",children:[d.jsxs("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint",children:["æ¬æ (JA) â Markdown ",d.jsx("span",{className:"text-bone-faint normal-case tracking-normal",children:"(ãã¼ã¯ãã¦ã³ã§è²¼ãä»ãå¯)"})]}),d.jsxs("div",{className:"flex gap-1",children:[d.jsx("button",{type:"button",onClick:()=>p(!1),className:`px-3 py-1 text-[11px] rounded-md border transition-colors ${h?"border-line text-bone-faint hover:text-bone":"border-signal-yellow/40 text-signal-yellow bg-signal-yellow/5"}`,children:"ç·¨é"}),d.jsx("button",{type:"button",onClick:()=>p(!0),className:`px-3 py-1 text-[11px] rounded-md border transition-colors ${h?"border-signal-yellow/40 text-signal-yellow bg-signal-yellow/5":"border-line text-bone-faint hover:text-bone"}`,children:"ãã¬ãã¥ã¼"})]})]}),h?d.jsx("div",{className:"min-h-[200px] bg-ink-200 border border-line rounded-lg px-4 py-3",children:d.jsx(X1,{children:i.body_ja||""})}):d.jsx("textarea",{value:i.body_ja,onChange:D("body_ja"),rows:10,placeholder:`# è¦åºã 289 290æ¬æã **ãã¼ã¯ãã¦ã³** ã§å ¥åãã¦ãã ããã`,className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone font-mono-x leading-relaxed focus:outline-none focus:border-signal-yellow/50 resize-y"})]}),d.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"Category"}),d.jsx("select",{value:i.category,onChange:D("category"),className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50",children:rte.map(M=>d.jsxs("option",{value:M.value,children:[M.en," / ",M.ja]},M.value))})]}),d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"å ¬éæ¥"}),d.jsx("input",{type:"date",value:i.published_at,onChange:D("published_at"),className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50"})]}),d.jsx("div",{className:"flex items-end pb-1",children:d.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[d.jsx("input",{type:"checkbox",checked:i.is_published,onChange:D("is_published"),className:"w-4 h-4 accent-[#FFD700]"}),d.jsx("span",{className:"text-sm text-bone",children:"å ¬éãã"})]})})]}),d.jsxs("div",{className:"flex items-center gap-3 pt-2",chil
vendor: 4,132 bytes, line 290
290dren:[d.jsx("button",{onClick:C,disabled:a,className:"px-6 py-2.5 rounded-lg bg-signal-yellow text-black font-semibold text-sm hover:opacity-90 disabled:opacity-50 transition-opacity",children:a?"ä¿åä¸...":"ä¿å"}),d.jsx("button",{onClick:()=>r(null),className:"px-6 py-2.5 rounded-lg border border-line text-bone-muted hover:text-bone text-sm transition-colors",children:"ãã£ã³ã»ã«"})]})]})]}):d.jsxs("div",{children:[d.jsxs("div",{className:"flex items-center justify-between mb-8",children:[d.jsx("h2",{className:"font-display font-bold text-xl text-bone",children:"è¨äºç®¡ç"}),d.jsx("button",{onClick:N,className:"px-5 py-2 rounded-lg bg-signal-yellow text-black font-semibold text-sm hover:opacity-90 transition-opacity",children:"+ æ°è¦ä½æ"})]}),e.length===0?d.jsx("div",{className:"text-center py-16 text-bone-muted text-sm",children:"è¨äºãããã¾ãã"}):d.jsx("div",{className:"space-y-3",children:e.map(M=>d.jsxs("div",{className:"flex items-center gap-4 p-4 border border-line bg-ink-100 rounded-xl hover:border-line-bright transition-colors",children:[M.header_image&&d.jsx("img",{src:M.header_image,alt:"",className:"w-16 h-12 object-cover rounded-lg flex-shrink-0 border border-line"}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-0.5",children:[d.jsx("span",{className:`text-[10px] font-mono-x uppercase tracking-widest px-1.5 py-0.5 rounded-full ${M.is_published?"bg-signal-yellow/10 text-signal-yellow border border-signal-yellow/25":"bg-ink-300 text-bone-faint border border-line"}`,children:M.is_published?"å
¬éä¸":"䏿¸ã"}),d.jsx("span",{className:"text-[11px] font-mono-x text-bone-faint",children:M.published_at})]}),d.jsx("p",{className:"text-sm font-semibold text-bone truncate",children:M.title_ja||M.title_en}),d.jsx("p",{className:"text-[12px] text-bone-muted truncate",children:M.title_en})]}),d.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[d.jsx("button",{onClick:()=>P(M),className:"px-4 py-1.5 rounded-lg border border-line text-bone-muted hover:text-bone hover:border-line-bright text-sm transition-colors",children:"ç·¨é"}),d.jsx("button",{onClick:()=>T(M.id),className:"px-4 py-1.5 rounded-lg border border-signal-red/30 text-signal-red hover:bg-signal-red/10 text-sm transition-colors",children:"åé¤"})]})]},M.id))})]})}function CO(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Vf(...e){return t=>{let n=!1;const r=e.map(i=>{const o=CO(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():CO(e[i],null)}}}}function bn(...e){return O.useCallback(Vf(...e),e)}var ote=Symbol.for("react.lazy"),hp=ym[" use ".trim().toString()];function ate(e){return typeof e=="object"&&e!==null&&"then"in e}function a5(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===ote&&"_payload"in e&&ate(e._payload)}function s5(e){const t=lte(e),n=O.forwardRef((r,i)=>{let{children:o,...a}=r;a5(o)&&typeof hp=="function"&&(o=hp(o._payload));const s=O.Children.toArray(o),c=s.find(ute);if(c){const f=c.props.children,h=s.map(p=>p===c?O.Children.count(f)>1?O.Children.only(null):O.isValidElement(f)?f.props.children:null:p);return d.jsx(t,{...a,ref:i,children:O.isValidElement(f)?O.cloneElement(f,void 0,h):null})}return d.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}var ste=s5("Slot");function lte(e){const t=O.forwardRef((n,r)=>{let{children:i,...o}=n;if(a5(i)&&typeof hp=="function"&&(i=hp(i._payload)),O.isValidElement(i)){const a=dte(i),s=fte(o,i.props);return i.type!==O.Fragment&&(s.ref=r?Vf(r,a):a),O.cloneElement(i,s)}return O.Children.count(i)>1?O.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var cte=Symbol("radix.slottable");function ute(e){return O.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===cte}function fte(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const c=o(...s);return i(...s),c}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}
290:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function dte(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const hte=Pj("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring 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 shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Yo=O.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const a=r?ste:"button";return d.jsx(a,{className:xn(hte({variant:t,size:n,className:e})),ref:o,...i})});Yo.displayName="Button";const Gr=O.forwardRef(({className:e,type:t,...n},r)=>d.jsx("input",{type:t,className:xn("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));Gr.displayName="Input";const pp=O.forwardRef(({className:e,...t},n)=>d.jsx("textarea",{className:xn("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));pp.displayName="Textarea";const Kv={slug:"",order:0,title_en:"",title_ja:"",body_en:"",body_ja:"",parent_slug:"whitepaper",is_published:!0},TO=[{slug:"whitepaper",label:"ãã¯ã¤ããã¼ãã¼ / Whitepaper"},{slug:"testnet",label:"ãã¹ãããã / Testnet"},{slug:"mainnet",label:"ã¡ã¤ã³ãããï¼æºåä¸ï¼/ Mainnet (WIP)"}];function pte(){const[e,t]=O.useState([]),[n,r]=O.useState(!0),[i,o]=O.useState(null),[a,s]=O.useState(Kv),[c,f]=O.useState(!1),[h,p]=O.useState("en"),g=async()=>{r(!0);const E=await Be.entities.DocPage.list("order",200);t(E),r(!1)};O.useEffect(()=>{g()},[]);const y=()=>{const E=e.length>0?Math.max(...e.map(N=>N.order))+1:1;s({...Kv,order:E}),o("new"),p("en")},S=E=>{s({...E}),o(E),p("en")},b=()=>{o(null),s(Kv)},v=async()=>{f(!0),i==="new"?await Be.entities.DocPage.create(a):await Be.entities.DocPage.update(i.id,a),await g(),b(),f(!1)},w=async E=>{await Be.entities.DocPage.update(E.id,{is_published:!E.is_published}),t(N=>N.map(P=>P.id===E.id?{...P,is_published:!P.is_published}:P))},j=async E=>{confirm(`ã${E.title_en}ããåé¤ãã¾ããï¼`)&&(await Be.entities.DocPage.delete(E.id),t(N=>N.filter(P=>P.id!==E.id)),(i==null?void 0:i.id)===E.id&&b())},_=async(E,N)=>{const P=[...e].sort((D,M)=>D.order-M.order),T=P.findIndex(D=>D.id===E.id)+N;if(T<0||T>=P.length)return;const L=P[T];await Promise.all([Be.entities.DocPage.update(E.id,{order:L.order}),Be.entities.DocPage.update(L.id,{order:E.order})]),g()};return i?d.jsxs("div",{className:"space-y-5",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsx("h3",{className:"font-semibold text-bone",children:i==="new"?"æ°ãããã¼ã¸ã追å ":`ç·¨é: ${i.title_en}`}),d.jsxs(Yo,{variant:"ghost",size:"sm",onClick:b,className:"text-bone-muted",children:[d.jsx(Aj,{className:"w-4 h-4 mr-1"})," ãã£ã³ã»ã«"]})]}),d.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:"text-xs text-bone-dim mb-1 block",children:"Slug (URLèå¥å)"}),d.jsx(Gr,{value:a.slug,onChange:E=>s(N=>({...N,slug:E.target.value})),placeholder:"1-executive-summary",className:"bg-ink-100 border-line text-bone text-sm"})]}),d.jsxs("div",{children:[d.jsx("label",{className:"text-xs text-bone-dim mb-1 block",children:"並ã³é "}),d.jsx(Gr,{type:"number",value:a.order,onChange:E=>s(N=>({...N,order:Number(E.target.value)})),className:"bg-ink-100 border-line text-bone text-sm"})]}),d.jsxs("div",{children:[d.jsx("label",{className:"text-xs text-bone-dim mb-1 block",children:"ã«ãã´ãª"}),d.jsx("select",{value:a.parent_slug||"whitepaper",onChange:E=>s(N=>({...N,parent_slug:E.target.value})),className:"w-full bg-ink-100 border border-line text-bone text-sm rounded-md px-3 py-2",children:TO.map(E=>
290d.jsx("option",{value:E.slug,children:E.label},E.slug))})]})]}),d.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:"text-xs text-bone-dim mb-1 block",children:"ã¿ã¤ãã« (EN)"}),d.jsx(Gr,{value:a.title_en,onChange:E=>s(N=>({...N,title_en:E.target.value})),className:"bg-ink-100 border-line text-bone text-sm"})]}),d.jsxs("div",{children:[d.jsx("label",{className:"text-xs text-bone-dim mb-1 block",children:"ã¿ã¤ãã« (JA)"}),d.jsx(Gr,{value:a.title_ja,onChange:E=>s(N=>({...N,title_ja:E.target.value})),className:"bg-ink-100 border-line text-bone text-sm"})]})]}),d.jsxs("div",{children:[d.jsx("div",{className:"flex items-center gap-1 mb-3 border-b border-line",children:["en","ja"].map(E=>d.jsx("button",{onClick:()=>p(E),className:`px-4 py-2 text-xs font-mono-x uppercase tracking-widest transition-colors ${h===E?"text-signal-yellow border-b-2 border-signal-yellow":"text-bone-muted hover:text-bone"}`,children:E==="en"?"ðºð¸ English":"ð¯ðµ æ¥æ¬èª"},E))}),h==="en"?d.jsxs("div",{children:[d.jsx("label",{className:"text-xs text-bone-dim mb-1 block",children:"æ¬æ (EN) â Markdown対å¿"}),d.jsx(pp,{value:a.body_en,onChange:E=>s(N=>({...N,body_en:E.target.value})),className:"bg-ink-100 border-line text-bone text-sm font-mono min-h-[400px] resize-y",placeholder:`## Section title 291 292Body text...`})]}):d.jsxs("div",{children:[d.jsx("label",{className:"text-xs text-bone-dim mb-1 block",children:"æ¬æ (JA) â Markdown対å¿"}),d.jsx(pp,{value:a.body_ja,onChange:E=>s(N=>({...N,body_ja:E.target.value})),className:"bg-ink-100 border-line text-bone text-sm font-mono min-h-[400px] resize-y",placeholder:`## ã»ã¯ã·ã§ã³ã¿ã¤ãã« 293 294æ¬æ...`})]})]}),d.jsxs("div",{className:"flex items-center justify-between pt-2",children:[d.jsxs("label",{className:"flex items-center gap-2 cursor-pointer",children:[d.jsx("input",{type:"checkbox",checked:a.is_published,onChange:E=>s(N=>({...N,is_published:E.target.checked})),className:"accent-signal-yellow"}),d.jsx("span",{className:"text-sm text-bone-muted",children:"å ¬éãã"})]}),d.jsxs(Yo,{onClick:v,disabled:c,className:"btn-yellow px-6",children:[d.jsx(pL,{className:"w-4 h-4 mr-2"}),c?"ä¿åä¸...":"ä¿å"]})]})]}):d.jsxs("div",{className:"space-y-4",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsxs("div",{children:[d.jsx("h3",{className:"font-semibold text-bone",children:"ããã¥ã¡ã³ããã¼ã¸ç®¡ç"}),d.jsxs("p",{className:"text-xs text-bone-dim mt-0.5",children:[e.length,"ãã¼ã¸"]})]}),d.jsxs(Yo,{onClick:y,className:"btn-yellow text-sm px-4 py-2",children:[d.jsx(hL,{className:"w-4 h-4 mr-1.5"})," ãã¼ã¸è¿½å "]})]}),n?d.jsx("div",{className:"py-12 text-center",children:d.jsx("div",{className:"w-6 h-6 border-2 border-line border-t-signal-yellow rounded-full animate-spin mx-auto"})}):d.jsx("div",{className:"space-y-2",children:[...e].sort((E,N)=>E.order-N.order).map(E=>{var N;return d.jsxs("div",{className:`flex items-center gap-3 p-3.5 rounded-lg border transition-colors ${E.is_published?"border-line bg-ink-100":"border-line/40 bg-ink-50 opacity-60"}`,children:[d.jsx(Oq,{className:"w-4 h-4 text-bone-faint flex-shrink-0"}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsxs("span",{className:"text-[11px] font-mono-x text-bone-faint",children:[E.order,"."]}),d.jsx("span",{className:"text-sm font-medium text-bone truncate",children:E.title_en}),d.jsx("span",{className:"text-[9px] font-mono-x px-1.5 py-0.5 border border-line-bright rounded text-bone-faint flex-shrink-0",children:((N=TO.find(P=>P.slug===(E.parent_slug||"whitepaper")))==null?void 0:N.label.split(" / ")[0])||"â"})]}),d.jsx("div",{className:"text-xs text-bone-dim truncate mt-0.5",children:E.title_ja})]}),d.jsxs("div",{className:"flex items-center gap-1 flex-shrink-0",children:[d.jsx("button",{onClick:()=>_(E,-1),className:"p-1.5 text-bone-faint hover:text-bone transition-colors",children:d.jsx(dL,{className:"w-3.5 h-3.5"})}),d.jsx("button",{onClick:()=>_(E,1),className:"p-1.5 text-bone-faint hover:text-bone transition-colors",children:d.jsx(Df,{className:"w-3.5 h-3.5"})}),d.jsx("button",{onClick:()=>w(E),className:`p-1.5 transition-colors ${E.is_published?"text-signal-yellow":"text-bone-faint hover:text-bone"}`,children:E.is_published?d.jsx(Pq,{className:"w-4 h-4"}):d.jsx(Eq,{className:"w-4 h-4"})}),d.jsx("button",{onClick:()=>S(E),className:"p-1.5 text-bone-muted hover:text-bone transition-colors",children:d.jsx(zq,{className:"w-4 h-4"})}),d.jsx("button",{onClick:()=>j(E),className:"p-1.5 text-bone-faint hover:text-signal-red transition-colors",children:d.jsx(mL,{className:"w-4 h-4"})})]})]},E.id)})})]})}const RO={title:"",file_type:"md",is_active:!0};function Xv(e){const t=(e||"").toLowerCase().match(/\.([a-z0-9]+)$/);return t?t[1]:""}function mte(){const[e,t]=O.useState([]),[n,r]=O.useState(RO),[i,o]=O.useState(null),[a,s]=O.useState(!1),[c,f]=O.useState(!1),h=()=>Be.entities.ChatDocument.list("-created_date",100).then(t);O.useEffect(()=>{h()},[]);const p=async(v,w)=>{var _;if(w==="pdf"){const E=await Be.integrations.Core.ExtractDataFromUploadedFile({file_url:v,json_schema:{type:"object",properties:{content:{type:"string"}}}});return((_=E==null?void 0:E.output)==null?void 0:_.content)||(typeof(E==null?void 0:E.output)=="string"?E.output:"")||""}return await(await fetch(v)).text()},g=async()=>
294{if(!(!i||!n.title.trim())){s(!0);try{const v=Xv(i.name),w=["md","txt","pdf"].includes(v)?v:"other",{file_url:j}=await Be.integrations.Core.UploadPublicFile({file:i}),_=await p(j,w);await Be.entities.ChatDocument.create({title:n.title.trim(),file_url:j,file_type:w,content:_,is_active:n.is_active}),r(RO),o(null),h()}finally{s(!1)}}},y=async v=>{await Be.entities.ChatDocument.update(v.id,{is_active:!v.is_active}),h()},S=async v=>{confirm("ãã®ææ¸ãåé¤ãã¾ããï¼")&&(await Be.entities.ChatDocument.delete(v),h())},b=v=>{v.preventDefault(),f(!1);const w=v.dataTransfer.files[0];if(w){o(w);const j=Xv(w.name);r(_=>({..._,file_type:["md","txt","pdf"].includes(j)?j:"other",title:_.title||w.name.replace(/\.[^.]+$/,"")}))}};return d.jsxs("div",{children:[d.jsx("h2",{className:"font-display font-bold text-xl text-bone mb-2",children:"AIãã£ãã ãã¬ãã¸ãã¼ã¹"}),d.jsx("p",{className:"text-[13px] text-bone-muted mb-8",children:"ãã£ããããããåçã®æ ¹æ ã¨ããææ¸ãã¢ãããã¼ããã¾ããmd / txt / PDF ã«å¯¾å¿ã"}),d.jsxs("div",{className:"border border-line bg-ink-100 rounded-xl p-6 mb-8",children:[d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:"block text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-2",children:"ææ¸ã¿ã¤ãã«"}),d.jsx("input",{value:n.title,onChange:v=>r(w=>({...w,title:v.target.value})),placeholder:"ä¾: DEP Protocol æ¦è¦",className:"w-full bg-ink-200 border border-line rounded-lg px-4 py-2.5 text-sm text-bone focus:outline-none focus:border-signal-yellow/50"})]}),d.jsx("div",{className:"flex items-end",children:d.jsxs("label",{className:"flex items-center gap-3 cursor-pointer pb-2",children:[d.jsx("input",{type:"checkbox",checked:n.is_active,onChange:v=>r(w=>({...w,is_active:v.target.checked})),className:"w-4 h-4 accent-[#FFD700]"}),d.jsx("span",{className:"text-sm text-bone",children:"ãã¬ãã¸ãã¼ã¹ã«å«ããï¼æå¹ï¼"})]})})]}),d.jsx("div",{onDragOver:v=>{v.preventDefault(),f(!0)},onDragLeave:()=>f(!1),onDrop:b,className:`border-2 border-dashed rounded-xl p-8 text-center transition-colors ${c?"border-signal-yellow/50 bg-signal-yellow/5":"border-line"}`,children:i?d.jsxs("div",{className:"flex items-center justify-between gap-3",children:[d.jsxs("span",{className:"text-sm text-bone",children:["ð ",i.name]}),d.jsx("button",{onClick:()=>o(null),className:"text-xs text-signal-red hover:underline",children:"åé¤"})]}):d.jsxs(d.Fragment,{children:[d.jsx("p",{className:"text-sm text-bone-muted mb-3",children:"ãã¡ã¤ã«ããã©ãã°ï¼ãããã ã¾ãã¯"}),d.jsxs("label",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg border border-line bg-ink-200 text-sm text-bone-muted hover:text-bone cursor-pointer transition-colors",children:["ãã¡ã¤ã«ã鏿",d.jsx("input",{type:"file",accept:".md,.txt,.pdf,text/markdown,text/plain,application/pdf",className:"hidden",onChange:v=>{const w=v.target.files[0];if(!w)return;o(w);const j=Xv(w.name);r(_=>({..._,file_type:["md","txt","pdf"].includes(j)?j:"other",title:_.title||w.name.replace(/\.[^.]+$/,"")}))}})]}),d.jsx("p",{className:"text-[11px] text-bone-faint mt-3 font-mono-x",children:".md / .txt / .pdf"})]})}),d.jsx("div",{className:"flex items-center gap-3 mt-5",children:d.jsx("button",{onClick:g,disabled:a||!i||!n.title.trim(),className:"px-6 py-2.5 rounded-lg bg-signal-yellow text-black font-semibold text-sm hover:opacity-90 disabled:opacity-40 disabled:cursor-not-allowed transition-opacity flex items-center gap-2",children:a?d.jsxs(d.Fragment,{children:[d.jsx("span",{className:"w-3.5 h-3.5 border-2 border-black/30 border-t-black rounded-full animate-spin"}),"ã¢ãããã¼ãä¸..."]}):"ã¢ãããã¼ã"})})]}),d.jsxs("h3",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint mb-3",children:["ç»é²æ¸ã¿ææ¸ (",e.length,")"]}),e.length===0?d.jsx("div",{className:"text-center py-12 text-bone-muted text-sm border border-line rounded-xl",children:"ææ¸ãããã¾ãã"}):d.jsx("div",{className:"space-y-3",children:e.map(v=>d.jsxs("div",{className:"flex items-center gap-4 p-4 border border-line bg-ink-100 rounded-xl hover:border-line-bright transition-colors",children:[d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest px-1.5 py-0.5 rounded border border-line text-bone-faint",children:v.file_type}),d.jsx("span",{className:`text-[10px] font-mono-x uppercase tracking-widest px-1.5 py-0.5 rounded-full ${v.is_active?"bg-signal-yellow/10 text-signal-yellow border border-signal-yellow/25":"bg-ink-300 text-bone-faint border border-line"}`,children:v.is_active?"æå¹":"ç¡å¹"})]}),d.jsx("p",{className:"text-sm font-semibold text-bone truncate",children:v.title}),d.jsx("p",{className:"text-[11px] text-bone-faint font-mono-x truncate",children:v.content?v.content.length.toLocaleStr
294ing()+" chars":"å
容ãªã"})]}),d.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[d.jsx("button",{onClick:()=>y(v),className:"px-3 py-1.5 rounded-lg border border-line text-bone-muted hover:text-bone hover:border-line-bright text-xs transition-colors",children:v.is_active?"ç¡å¹å":"æå¹å"}),d.jsx("button",{onClick:()=>S(v.id),className:"px-3 py-1.5 rounded-lg border border-signal-red/30 text-signal-red hover:bg-signal-red/10 text-xs transition-colors",children:"åé¤"})]})]},v.id))})]})}function l5(){O.useEffect(()=>{let e=document.querySelector('meta[name="robots"]');const t=!!e,n=t?e.getAttribute("content"):null;return t||(e=document.createElement("meta"),e.setAttribute("name","robots"),document.head.appendChild(e)),e.setAttribute("content","noindex, nofollow"),()=>{t?n!==null?e.setAttribute("content",n):e.removeAttribute("content"):e.parentNode&&e.parentNode.removeChild(e)}},[])}function gte(){l5();const[e,t]=O.useState({loading:!0,isAdmin:!1,isSuperadmin:!1,user:null}),[n,r]=O.useState("translations");return O.useEffect(()=>{Q4().then(i=>t({loading:!1,...i}))},[]),e.loading?d.jsx("div",{className:"min-h-screen bg-[#050505] flex items-center justify-center",children:d.jsx("div",{className:"w-8 h-8 border-4 border-[#FFD700]/20 border-t-[#FFD700] rounded-full animate-spin"})}):e.isAdmin?d.jsxs("div",{className:"min-h-screen bg-[#050505] text-foreground",children:[d.jsxs("div",{className:"border-b border-white/5 bg-[#080808]",children:[d.jsxs("div",{className:"max-w-5xl mx-auto px-6 py-5 flex items-center justify-between",children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx("div",{className:"w-7 h-7 rounded-lg bg-gradient-to-br from-[#FFD700] to-[#FF6600] flex items-center justify-center",children:d.jsx("span",{className:"text-[#050505] font-mono font-bold text-[10px]",children:"DEP"})}),d.jsx("span",{className:"font-heading font-bold text-sm text-foreground",children:"Admin Panel"}),e.isSuperadmin&&d.jsx("span",{className:"px-2 py-0.5 rounded text-[10px] font-mono border border-[#FFD700]/30 text-[#FFD700] bg-[#FFD700]/5",children:"SUPERADMIN"})]}),d.jsx("a",{href:"/",className:"text-xs text-muted-foreground hover:text-foreground transition-colors",children:"â Back to site"})]}),d.jsx("div",{className:"max-w-5xl mx-auto px-6 flex gap-1",children:["translations","news","articles","docs","chat",e.isSuperadmin&&"users"].filter(
294Boolean).map(i=>d.jsx("button",{onClick:()=>r(i),className:`px-5 py-3 text-sm font-medium border-b-2 transition-all capitalize ${n===i?"border-[#FFD700] text-[#FFD700]":"border-transparent text-muted-foreground hover:text-foreground"}`,children:i==="translations"?"翻訳管ç":i==="news"?"ãã¥ã¼ã¹ç®¡ç":i==="articles"?"è¨äºç®¡ç":i==="docs"?"ããã¥ã¡ã³ã管ç":i==="chat"?"AIãã£ãã管ç":"管çè
管ç"},i))})]}),d.jsxs("div",{className:"max-w-5xl mx-auto px-6 py-10",children:[n==="translations"&&d.jsx(CK,{}),n==="news"&&d.jsx(IK,{}),n==="articles"&&d.jsx(ite,{}),n==="docs"&&d.jsx(pte,{}),n==="chat"&&d.jsx(mte,{}),n==="users"&&e.isSuperadmin&&d.jsx(TK,{currentUser:e.user})]})]}):d.jsx(n4,{to:"/",replace:!0})}var Yv,IO;function Zn(){if(IO)return Yv;IO=1;var e=Array.isArray;return Yv=e,Yv}var Jv,DO;function c5(){if(DO)return Jv;DO=1;var e=typeof uh=="object"&&uh&&uh.Object===Object&&uh;return Jv=e,Jv}var Qv,MO;function Si(){if(MO)return Qv;MO=1;var e=c5(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Qv=n,Qv}var Zv,LO;function Gf(){if(LO)return Zv;LO=1;var e=Si(),t=e.Symbol;return Zv=t,Zv}var ex,$O;function yte(){if($O)return ex;$O=1;var e=Gf(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;function o(a){var s=n.call(a,i),c=a[i];try{a[i]=void 0;var f=!0}catch{}var h=r.call(a);return f&&(s?a[i]=c:delete a[i]),h}return ex=o,ex}var tx,FO;function vte(){if(FO)return tx;FO=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return tx=n,tx}var nx,BO;function ro(){if(BO)return nx;BO=1;var e=Gf(),t=yte(),n=vte(),r="[object Null]",i="[object Undefined]",o=e?e.toStringTag:void 0;function a(s){return s==null?s===void 0?i:r:o&&o in Object(s)?t(s):n(s)}return nx=a,nx}var rx,zO;function io(){if(zO)return rx;zO=1;function e(t){return t!=null&&typeof t=="object"}return rx=e,rx}var ix,UO;function uc(){if(UO)return ix;UO=1;var e=ro(),t=io(),n="[object Symbol]";function r(i){return typeof i=="symbol"||t(i)&&e(i)==n}return ix=r,ix}var ox,qO;function v_(){if(qO)return ox;qO=1;var e=Zn(),t=uc(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function i(o,a){if(e(o))return!1;var s=typeof o;return s=="number"||s=="symbol"||s=="boolean"||o==null||t(o)?!0:r.test(o)||!n.test(o)||a!=null&&o in Object(a)}return ox=i,ox}var ax,HO;function ia(){if(HO)return ax;HO=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return ax=e,ax}var sx,WO;function x_(){if(WO)return sx;WO=1;var e=ro(),t=ia(),n="[object AsyncFunction]",r="[object Function]",i="[object GeneratorFunction]",o="[object Proxy]";function a(s){if(!t(s))return!1;var c=e(s);return c==r||c==i||c==n||c==o}return sx=a,sx}var lx,VO;function xte(){if(VO)return lx;VO=1;var e=Si(),t=e["__core-js_shared__"];return lx=t,lx}var cx,GO;function bte(){if(GO)return cx;GO=1;
vendor: 7,273 bytes, line 294
294var e=xte(),t=(function(){var r=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})();function n(r){return!!t&&t in r}return cx=n,cx}var ux,KO;function u5(){if(KO)return ux;KO=1;var e=Function.prototype,t=e.toString;function n(r){if(r!=null){try{return t.call(r)}catch{}try{return r+""}catch{}}return""}return ux=n,ux}var fx,XO;function wte(){if(XO)return fx;XO=1;var e=x_(),t=bte(),n=ia(),r=u5(),i=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,a=Function.prototype,s=Object.prototype,c=a.toString,f=s.hasOwnProperty,h=RegExp("^"+c.call(f).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(g){if(!n(g)||t(g))return!1;var y=e(g)?h:o;return y.test(r(g))}return fx=p,fx}var dx,YO;function Ste(){if(YO)return dx;YO=1;function e(t,n){return t==null?void 0:t[n]}return dx=e,dx}var hx,JO;function vs(){if(JO)return hx;JO=1;var e=wte(),t=Ste();function n(r,i){var o=t(r,i);return e(o)?o:void 0}return hx=n,hx}var px,QO;function Pm(){if(QO)return px;QO=1;var e=vs(),t=e(Object,"create");return px=t,px}var mx,ZO;function jte(){if(ZO)return mx;ZO=1;var e=Pm();function t(){this.__data__=e?e(null):{},this.size=0}return mx=t,mx}var gx,eC;function _te(){if(eC)return gx;eC=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return gx=e,gx}var yx,tC;function kte(){if(tC)return yx;tC=1;var e=Pm(),t="__lodash_hash_undefined__",n=Object.prototype,r=n.hasOwnProperty;function i(o){var a=this.__data__;if(e){var s=a[o];return s===t?void 0:s}return r.call(a,o)?a[o]:void 0}return yx=i,yx}var vx,nC;function Ete(){if(nC)return vx;nC=1;var e=Pm(),t=Object.prototype,n=t.hasOwnProperty;function r(i){var o=this.__data__;return e?o[i]!==void 0:n.call(o,i)}return vx=r,vx}var xx,rC;function Nte(){if(rC)return xx;rC=1;var e=Pm(),t="__lodash_hash_undefined__";function n(r,i){var o=this.__data__;return this.size+=this.has(r)?0:1,o[r]=e&&i===void 0?t:i,this}return xx=n,xx}var bx,iC;function Pte(){if(iC)return bx;iC=1;var e=jte(),t=_te(),n=kte(),r=Ete(),i=Nte();function o(a){var s=-1,c=a==null?0:a.length;for(this.clear();++s<c;){var f=a[s];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,bx=o,bx}var wx,oC;function Ate(){if(oC)return wx;oC=1;function e(){this.__data__=[],this.size=0}return wx=e,wx}var Sx,aC;function b_(){if(aC)return Sx;aC=1;function e(t,n){return t===n||t!==t&&n!==n}return Sx=e,Sx}var jx,sC;function Am(){if(sC)return jx;sC=1;var e=b_();function t(n,r){for(var i=n.length;i--;)if(e(n[i][0],r))return i;return-1}return jx=t,jx}var _x,lC;function Ote(){if(lC)return _x;lC=1;var e=Am(),t=Array.prototype,n=t.splice;function r(i){var o=this.__data__,a=e(o,i);if(a<0)return!1;var s=o.length-1;return a==s?o.pop():n.call(o,a,1),--this.size,!0}return _x=r,_x}var kx,cC;function Cte(){if(cC)return kx;cC=1;var e=Am();function t(n){var r=this.__data__,i=e(r,n);return i<0?void 0:r[i][1]}return kx=t,kx}var Ex,uC;function Tte(){if(uC)return Ex;uC=1;var e=Am();function t(n){return e(this.__data__,n)>-1}return Ex=t,Ex}var Nx,fC;function Rte(){if(fC)return Nx;fC=1;var e=Am();function t(n,r){var i=this.__data__,o=e(i,n);return o<0?(++this.size,i.push([n,r])):i[o][1]=r,this}return Nx=t,Nx}var Px,dC;function Om(){if(dC)return Px;dC=1;var e=Ate(),t=Ote(),n=Cte(),r=Tte(),i=Rte();function o(a){var s=-1,c=a==null?0:a.length;for(this.clear();++s<c;){var f=a[s];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,Px=o,Px}var Ax,hC;function w_(){if(hC)return Ax;hC=1;var e=vs(),t=Si(),n=e(t,"Map");return Ax=n,Ax}var Ox,pC;function Ite(){if(pC)return Ox;pC=1;var e=Pte(),t=Om(),n=w_();function r(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return Ox=r,Ox}var Cx,mC;function Dte(){if(mC)return Cx;mC=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return Cx=e,Cx}var Tx,gC;function Cm(){if(gC)return Tx;gC=1;var e=Dte();function t(n,r){var i=n.__data__;return e(r)?i[typeof r=="string"?"string":"hash"]:i.map}return Tx=t,Tx}var Rx,yC;function Mte(){if(yC)return Rx;yC=1;var e=Cm();function t(n){var r=e(this,n).delete(n);return this.size-=r?1:0,r}return Rx=t,Rx}var Ix,vC;function Lte(){if(vC)return Ix;vC=1;var e=Cm();function t(n){return e(this,n).get(n)}return Ix=t,Ix}var Dx,xC;function $te(){if(xC)return Dx;xC=1;var e=Cm();function t(n){return e(this,n).has(n)}return Dx=t,Dx}var Mx,bC;function Fte(){if(bC)return Mx;bC=1;var e=Cm();function t(n,r){var i=e(this,n),o=i.size;return i.set(n,r),this.size+=i.size==o?0:1,this}return Mx=t,Mx}var Lx,wC;function S_(){if(wC)return Lx;wC=1;var e=Ite(),t=Mte(),n=Lte(),r=$te(),i=Fte();function o(a){var s=-1,c=a==null?0:a.length;for(this.clear();++s<c;){var f=a[s];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,Lx=o,Lx}var $x,SC;function f5(){if(SC)return $x;SC=1;var e=S_(),t="Expected a function";function n(r,i){if(typeof r!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var o=function(){var a=arguments,s=i?i.apply(this,a):a[0],c=o.cache;if(c.has(s))return c.get(s);var f=r.apply(this,a);return o.cache=c.set(s,f)||c,f};return o.cache=new(n.Cache||e),o}return n.Cache=e,$x=n,$x}var Fx,jC;function Bte(){if(jC)return Fx;jC=1;var e=f5(),t=500;function n(r){var i=e(r,function(a){return o.size===t&&o.clear(),a}),o=i.cache;return i}return Fx=n,Fx}var Bx,_C;function zte(){if(_C)return Bx;_C=1;var e=Bte(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(i){var o=[];return i.charCodeAt(0)===46&&o.push(""),i.replace(t,function(a,s,c,f){o.push(c?f.replace(n,"$1"):s||a)}),o});return Bx=r,Bx}var zx,kC;function j_(){if(kC)return zx;kC=1;function e(t,n){for(var r=-1,i=t==null?0:t.length,o=Array(i);++r<i;)o[r]=n(t[r],r,t);return o}return zx=e,zx}var Ux,EC;function Ute(){if(EC)return Ux;EC=1;var e=Gf(),t=j_(),n=Zn(),r=uc(),i=e?e.prototype:void 0,o=i?i.toString:void 0;function a(s){if(typeof s=="string")return s;if(n(s))return t(s,a)+"";if(r(s))return o?o.call(s):"";var c=s+"";return c=="0"&&1/s==-1/0?"-0":c}return Ux=a,Ux}var qx,NC;function d5(){if(NC)return qx;NC=1;var e=Ute();function t(n){return n==null?"":e(n)}return qx=t,qx}var Hx,PC;function h5(){if(PC)return Hx;PC=1;var e=Zn(),t=v_(),n=zte(),r=d5();function i(o,a){return e(o)?o:t(o,a)?[o]:n(r(o))}return Hx=i,Hx}var Wx,AC;function Tm(){if(AC)return Wx;AC=1;var e=uc();function t(n){if(typeof n=="string"||e(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}return Wx=t,Wx}var Vx,OC;function __(){if(OC)return Vx;OC=1;var e=h5(),t=Tm();function n(r,i){i=e(i,r);for(var o=0,a=i.length;r!=null&&o<a;)r=r[t(i[o++])];return o&&o==a?r:void 0}return Vx=n,Vx}var Gx,CC;function p5(){if(CC)return Gx;CC=1;var e=__();function t(n,r,i){var o=n==null?void 0:e(n,r);return o===void 0?i:o}return Gx=t,Gx}var qte=p5();const fr=lt(qte);var Kx,TC;function Hte(){if(TC)return Kx;TC=1;function e(t){return t==null}return Kx=e,Kx}var Wte=Hte();const Qe=lt(Wte);var Xx,RC;function Vte(){if(RC)return Xx;RC=1;var e=ro(),t=Zn(),n=io(),r="[object String]";
vendor: 5,655 bytes, lines 294-302
294function i(o){return typeof o=="string"||!t(o)&&n(o)&&e(o)==r}return Xx=i,Xx}var Gte=Vte();const ss=lt(Gte);var Kte=x_();const He=lt(Kte);var Xte=ia();const fc=lt(Xte);var Yx={exports:{}},ct={};/** 295 * @license React 296 * react-is.production.min.js 297 * 298 * Copyright (c) Facebook, Inc. and its affiliates. 299 * 300 * This source code is licensed under the MIT license found in the 301 * LICENSE file in the root directory of this source tree. 302 */var IC;function Yte(){if(IC)return ct;IC=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),S;S=Symbol.for("react.module.reference");function b(v){if(typeof v=="object"&&v!==null){var w=v.$$typeof;switch(w){case e:switch(v=v.type,v){case n:case i:case r:case f:case h:return v;default:switch(v=v&&v.$$typeof,v){case s:case a:case c:case g:case p:case o:return v;default:return w}}case t:return w}}}return ct.ContextConsumer=a,ct.ContextProvider=o,ct.Element=e,ct.ForwardRef=c,ct.Fragment=n,ct.Lazy=g,ct.Memo=p,ct.Portal=t,ct.Profiler=i,ct.StrictMode=r,ct.Suspense=f,ct.SuspenseList=h,ct.isAsyncMode=function(){return!1},ct.isConcurrentMode=function(){return!1},ct.isContextConsumer=function(v){return b(v)===a},ct.isContextProvider=function(v){return b(v)===o},ct.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},ct.isForwardRef=function(v){return b(v)===c},ct.isFragment=function(v){return b(v)===n},ct.isLazy=function(v){return b(v)===g},ct.isMemo=function(v){return b(v)===p},ct.isPortal=function(v){return b(v)===t},ct.isProfiler=function(v){return b(v)===i},ct.isStrictMode=function(v){return b(v)===r},ct.isSuspense=function(v){return b(v)===f},ct.isSuspenseList=function(v){return b(v)===h},ct.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===n||v===i||v===r||v===f||v===h||v===y||typeof v=="object"&&v!==null&&(v.$$typeof===g||v.$$typeof===p||v.$$typeof===o||v.$$typeof===a||v.$$typeof===c||v.$$typeof===S||v.getModuleId!==void 0)},ct.typeOf=b,ct}var DC;function Jte(){return DC||(DC=1,Yx.exports=Yte()),Yx.exports}var Qte=Jte(),Jx,MC;function m5(){if(MC)return Jx;MC=1;var e=ro(),t=io(),n="[object Number]";function r(i){return typeof i=="number"||t(i)&&e(i)==n}return Jx=r,Jx}var Qx,LC;function Zte(){if(LC)return Qx;LC=1;var e=m5();function t(n){return e(n)&&n!=+n}return Qx=t,Qx}var ene=Zte();const Kf=lt(ene);var tne=m5();const nne=lt(tne);var Ln=function(t){return t===0?0:t>0?1:-1},Ba=function(t){return ss(t)&&t.indexOf("%")===t.length-1},we=function(t){return nne(t)&&!Kf(t)},rne=function(t){return Qe(t)},en=function(t){return we(t)||ss(t)},ine=0,Xf=function(t){var n=++ine;return"".concat(t||"").concat(n)},$n=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!we(t)&&!ss(t))return r;var o;if(Ba(t)){var a=t.indexOf("%");o=n*parseFloat(t.slice(0,a))/100}else o=+t;return Kf(o)&&(o=r),i&&o>n&&(o=n),o},il=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},one=function(t){if(!Array.isArray(t))return!1;for(var n=t.length,r={},i=0;i<n;i++)if(!r[t[i]])r[t[i]]=!0;else return!0;return!1},Io=function(t,n){return we(t)&&we(n)?function(r){return t+r*(n-t)}:function(){return n}};function Y1(e,t,n){return!e||!e.length?null:e.find(function(r){return r&&(typeof t=="function"?t(r):fr(r,t))===n})}var ane=function(t,n){return we(t)&&we(n)?t-n:ss(t)&&ss(n)?t.localeCompare(n):t instanceof Date&&n instanceof Date?t.getTime()-n.getTime():String(t).localeCompare(String(n))};function fl(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function J1(e){"@babel/helpers - typeof";return J1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J1(e)}var sne=["viewBox","children"],lne=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRen
302dering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],$C=["points","pathLength"],Zx={svg:sne,polygon:$C,polyline:$C},k_=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDrag
302Capture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],mp=function(t,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var r=t;if(O.isValidElement(t)&&(r=t.props),!fc(r))return null;var i={};return Object.keys(r).forEach(function(o){k_.includes(o)&&(i[o]=n||function(a){return r[o](r,a)})}),i},cne=function(t,n,r){return function(i){return t(n,r,i),null}},ls=function(t,n,r){if(!fc(t)||J1(t)!=="object")return null;var i=null;return Object.keys(t).forEach(function(o){var a=t[o];k_.includes(o)&&typeof a=="function"&&(i||(i={}),i[o]=cne(a,n,r))}),i},une=["children"],fne=["children"];function FC(e,t){if(e==null)return{};var n=dne(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function dne(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var BC={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},Vi=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},zC=null,eb=null,E_=function e(t){if(t===zC&&Array.isArray(eb))return eb;var n=[];return O.Children.forEach(t,function(r){Qe(r)||(Qte.isFragment(r)?n=n.concat(e(r.props.children)):n.push(r))}),eb=n,zC=t,n};function Ar(e,t){var n=[],r=[];return Array.isArray(t)?r=t.map(function(i){return Vi(i)}):r=[Vi(t)],E_(e).forEach(function(i){var o=fr(i,"type.displayName")||fr(i,"type.name");r.indexOf(o)!==-1&&n.push(i)}),n}function sr(e,t){var n=Ar(e,t);return n&&n[0]}var UC=function(t){if(!t||!t.props)return!1;var n=t.props,r=n.width,i=n.height;return!(!we(r)||r<=0||!we(i)||i<=0)},hne=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],pne=function(t){return t&&t.type&&ss(t.type)&&hne.indexOf(t.type)>=0},mne=function(t,n,r,i){var o,a=(o=Zx==null?void 0:Zx[i])!==null&&o!==void 0?o:[];return n.startsWith("data-")||!He(t)&&(i&&a.includes(n)||lne.includes(n))||r&&k_.includes(n)},qe=function(t,n,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var i=t;if(O.isValidElement(t)&&(i=t.props),!fc(i))return null;var o={};
vendor: 4,362 bytes, line 302
302return Object.keys(i).forEach(function(a){var s;mne((s=i)===null||s===void 0?void 0:s[a],a,n,r)&&(o[a]=i[a])}),o},Q1=function e(t,n){if(t===n)return!0;var r=O.Children.count(t);if(r!==O.Children.count(n))return!1;if(r===0)return!0;if(r===1)return qC(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var i=0;i<r;i++){var o=t[i],a=n[i];if(Array.isArray(o)||Array.isArray(a)){if(!e(o,a))return!1}else if(!qC(o,a))return!1}return!0},qC=function(t,n){if(Qe(t)&&Qe(n))return!0;if(!Qe(t)&&!Qe(n)){var r=t.props||{},i=r.children,o=FC(r,une),a=n.props||{},s=a.children,c=FC(a,fne);return i&&s?fl(o,c)&&Q1(i,s):!i&&!s?fl(o,c):!1}return!1},HC=function(t,n){var r=[],i={};return E_(t).forEach(function(o,a){if(pne(o))r.push(o);else if(o){var s=Vi(o.type),c=n[s]||{},f=c.handler,h=c.once;if(f&&(!h||!i[s])){var p=f(o,s,a);r.push(p),i[s]=!0}}}),r},gne=function(t){var n=t&&t.type;return n&&BC[n]?BC[n]:null},yne=function(t,n){return E_(n).indexOf(t)},vne=["children","width","height","viewBox","className","style","title","desc"];function Z1(){return Z1=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},Z1.apply(this,arguments)}function xne(e,t){if(e==null)return{};var n=bne(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function bne(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function eS(e){var t=e.children,n=e.width,r=e.height,i=e.viewBox,o=e.className,a=e.style,s=e.title,c=e.desc,f=xne(e,vne),h=i||{width:n,height:r,x:0,y:0},p=Ke("recharts-surface",o);return Y.createElement("svg",Z1({},qe(f,!0,"svg"),{className:p,width:n,height:r,style:a,viewBox:"".concat(h.x," ").concat(h.y," ").concat(h.width," ").concat(h.height)}),Y.createElement("title",null,s),Y.createElement("desc",null,c),t)}var wne=["children","className"];function tS(){return tS=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},tS.apply(this,arguments)}function Sne(e,t){if(e==null)return{};var n=jne(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jne(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var pt=Y.forwardRef(function(e,t){var n=e.children,r=e.className,i=Sne(e,wne),o=Ke("recharts-layer",r);return Y.createElement("g",tS({className:o},qe(i,!0),{ref:t}),n)}),Gi=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o]},tb,WC;function _ne(){if(WC)return tb;WC=1;function e(t,n,r){var i=-1,o=t.length;n<0&&(n=-n>o?0:o+n),r=r>o?o:r,r<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;for(var a=Array(o);++i<o;)a[i]=t[i+n];return a}return tb=e,tb}var nb,VC;function kne(){if(VC)return nb;VC=1;var e=_ne();function t(n,r,i){var o=n.length;return i=i===void 0?o:i,!r&&i>=o?n:e(n,r,i)}return nb=t,nb}var rb,GC;function g5(){if(GC)return rb;GC=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i=t+n+r,o="\\ufe0e\\ufe0f",a="\\u200d",s=RegExp("["+a+e+i+o+"]");function c(f){return s.test(f)}return rb=c,rb}var ib,KC;function Ene(){if(KC)return ib;KC=1;function e(t){return t.split("")}return ib=e,ib}var ob,XC;function Nne(){if(XC)return ob;XC=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i=t+n+r,o="\\ufe0e\\ufe0f",a="["+e+"]",s="["+i+"]",c="\\ud83c[\\udffb-\\udfff]",f="(?:"+s+"|"+c+")",h="[^"+e+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",y="\\u200d",S=f+"?",b="["+o+"]?",v="(?:"+y+"(?:"+[h,p,g].join("|")+")"+b+S+")*",w=b+S+v,j="(?:"+[h+s+"?",s,p,g,a].join("|")+")",_=RegExp(c+"(?="+c+")|"+j+w,"g");function E(N){return N.match(_)||[]}return ob=E,ob}var ab,YC;function Pne(){if(YC)return ab;YC=1;var e=Ene(),t=g5(),n=Nne();function r(i){return t(i)?n(i):e(i)}return ab=r,ab}var sb,JC;
vendor: 4,080 bytes, line 302
302function Ane(){if(JC)return sb;JC=1;var e=kne(),t=g5(),n=Pne(),r=d5();function i(o){return function(a){a=r(a);var s=t(a)?n(a):void 0,c=s?s[0]:a.charAt(0),f=s?e(s,1).join(""):a.slice(1);return c[o]()+f}}return sb=i,sb}var lb,QC;function One(){if(QC)return lb;QC=1;var e=Ane(),t=e("toUpperCase");return lb=t,lb}var Cne=One();const Rm=lt(Cne);function jt(e){return function(){return e}}const y5=Math.cos,gp=Math.sin,Zr=Math.sqrt,yp=Math.PI,Im=2*yp,nS=Math.PI,rS=2*nS,Ra=1e-6,Tne=rS-Ra;function v5(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Rne(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return v5;const n=10**t;return function(r){this._+=r[0];for(let i=1,o=r.length;i<o;++i)this._+=Math.round(arguments[i]*n)/n+r[i]}}class Ine{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?v5:Rne(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,r,i){this._append`Q${+t},${+n},${this._x1=+r},${this._y1=+i}`}bezierCurveTo(t,n,r,i,o,a){this._append`C${+t},${+n},${+r},${+i},${this._x1=+o},${this._y1=+a}`}arcTo(t,n,r,i,o){if(t=+t,n=+n,r=+r,i=+i,o=+o,o<0)throw new Error(`negative radius: ${o}`);let a=this._x1,s=this._y1,c=r-t,f=i-n,h=a-t,p=s-n,g=h*h+p*p;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(g>Ra)if(!(Math.abs(p*c-f*h)>Ra)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let y=r-a,S=i-s,b=c*c+f*f,v=y*y+S*S,w=Math.sqrt(b),j=Math.sqrt(g),_=o*Math.tan((nS-Math.acos((b+g-v)/(2*w*j)))/2),E=_/j,N=_/w;Math.abs(E-1)>Ra&&this._append`L${t+E*h},${n+E*p}`,this._append`A${o},${o},0,0,${+(p*y>h*S)},${this._x1=t+N*c},${this._y1=n+N*f}`}}arc(t,n,r,i,o,a){if(t=+t,n=+n,r=+r,a=!!a,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(i),c=r*Math.sin(i),f=t+s,h=n+c,p=1^a,g=a?i-o:o-i;this._x1===null?this._append`M${f},${h}`:(Math.abs(this._x1-f)>Ra||Math.abs(this._y1-h)>Ra)&&this._append`L${f},${h}`,r&&(g<0&&(g=g%rS+rS),g>Tne?this._append`A${r},${r},0,1,${p},${t-s},${n-c}A${r},${r},0,1,${p},${this._x1=f},${this._y1=h}`:g>Ra&&this._append`A${r},${r},0,${+(g>=nS)},${p},${this._x1=t+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function N_(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new Ine(t)}function P_(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function x5(e){this._context=e}x5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Dm(e){return new x5(e)}function b5(e){return e[0]}function w5(e){return e[1]}function S5(e,t){var n=jt(!0),r=null,i=Dm,o=null,a=N_(s);e=typeof e=="function"?e:e===void 0?b5:jt(e),t=typeof t=="function"?t:t===void 0?w5:jt(t);function s(c){var f,h=(c=P_(c)).length,p,g=!1,y;for(r==null&&(o=i(y=a())),f=0;f<=h;++f)!(f<h&&n(p=c[f],f,c))===g&&((g=!g)?o.lineStart():o.lineEnd()),g&&o.point(+e(p,f,c),+t(p,f,c));if(y)return o=null,y+""||null}return s.x=function(c){return arguments.length?(e=typeof c=="function"?c:jt(+c),s):e},s.y=function(c){return arguments.length?(t=typeof c=="function"?c:jt(+c),s):t},s.defined=function(c){return arguments.length?(n=typeof c=="function"?c:jt(!!c),s):n},s.curve=function(c){return arguments.length?(i=c,r!=null&&(o=i(r)),s):i},s.context=function(c){return arguments.length?(c==null?r=o=null:o=i(r=c),s):r},s}
vendor: 10,229 bytes, line 302
302function jh(e,t,n){var r=null,i=jt(!0),o=null,a=Dm,s=null,c=N_(f);e=typeof e=="function"?e:e===void 0?b5:jt(+e),t=typeof t=="function"?t:jt(t===void 0?0:+t),n=typeof n=="function"?n:n===void 0?w5:jt(+n);function f(p){var g,y,S,b=(p=P_(p)).length,v,w=!1,j,_=new Array(b),E=new Array(b);for(o==null&&(s=a(j=c())),g=0;g<=b;++g){if(!(g<b&&i(v=p[g],g,p))===w)if(w=!w)y=g,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),S=g-1;S>=y;--S)s.point(_[S],E[S]);s.lineEnd(),s.areaEnd()}w&&(_[g]=+e(v,g,p),E[g]=+t(v,g,p),s.point(r?+r(v,g,p):_[g],n?+n(v,g,p):E[g]))}if(j)return s=null,j+""||null}function h(){return S5().defined(i).curve(a).context(o)}return f.x=function(p){return arguments.length?(e=typeof p=="function"?p:jt(+p),r=null,f):e},f.x0=function(p){return arguments.length?(e=typeof p=="function"?p:jt(+p),f):e},f.x1=function(p){return arguments.length?(r=p==null?null:typeof p=="function"?p:jt(+p),f):r},f.y=function(p){return arguments.length?(t=typeof p=="function"?p:jt(+p),n=null,f):t},f.y0=function(p){return arguments.length?(t=typeof p=="function"?p:jt(+p),f):t},f.y1=function(p){return arguments.length?(n=p==null?null:typeof p=="function"?p:jt(+p),f):n},f.lineX0=f.lineY0=function(){return h().x(e).y(t)},f.lineY1=function(){return h().x(e).y(n)},f.lineX1=function(){return h().x(r).y(t)},f.defined=function(p){return arguments.length?(i=typeof p=="function"?p:jt(!!p),f):i},f.curve=function(p){return arguments.length?(a=p,o!=null&&(s=a(o)),f):a},f.context=function(p){return arguments.length?(p==null?o=s=null:s=a(o=p),f):o},f}class j5{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function Dne(e){return new j5(e,!0)}function Mne(e){return new j5(e,!1)}const A_={draw(e,t){const n=Zr(t/yp);e.moveTo(n,0),e.arc(0,0,n,0,Im)}},Lne={draw(e,t){const n=Zr(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},_5=Zr(1/3),$ne=_5*2,Fne={draw(e,t){const n=Zr(t/$ne),r=n*_5;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Bne={draw(e,t){const n=Zr(t),r=-n/2;e.rect(r,r,n,n)}},zne=.8908130915292852,k5=gp(yp/10)/gp(7*yp/10),Une=gp(Im/10)*k5,qne=-y5(Im/10)*k5,Hne={draw(e,t){const n=Zr(t*zne),r=Une*n,i=qne*n;e.moveTo(0,-n),e.lineTo(r,i);for(let o=1;o<5;++o){const a=Im*o/5,s=y5(a),c=gp(a);e.lineTo(c*n,-s*n),e.lineTo(s*r-c*i,c*r+s*i)}e.closePath()}},cb=Zr(3),Wne={draw(e,t){const n=-Zr(t/(cb*3));e.moveTo(0,n*2),e.lineTo(-cb*n,-n),e.lineTo(cb*n,-n),e.closePath()}},br=-.5,wr=Zr(3)/2,iS=1/Zr(12),Vne=(iS/2+1)*3,Gne={draw(e,t){const n=Zr(t/Vne),r=n/2,i=n*iS,o=r,a=n*iS+n,s=-o,c=a;e.moveTo(r,i),e.lineTo(o,a),e.lineTo(s,c),e.lineTo(br*r-wr*i,wr*r+br*i),e.lineTo(br*o-wr*a,wr*o+br*a),e.lineTo(br*s-wr*c,wr*s+br*c),e.lineTo(br*r+wr*i,br*i-wr*r),e.lineTo(br*o+wr*a,br*a-wr*o),e.lineTo(br*s+wr*c,br*c-wr*s),e.closePath()}};function Kne(e,t){let n=null,r=N_(i);e=typeof e=="function"?e:jt(e||A_),t=typeof t=="function"?t:jt(t===void 0?64:+t);function i(){let o;if(n||(n=o=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return i.type=function(o){return arguments.length?(e=typeof o=="function"?o:jt(o),i):e},i.size=function(o){return arguments.length?(t=typeof o=="function"?o:jt(+o),i):t},i.context=function(o){return arguments.length?(n=o??null,i):n},i}function vp(){}function xp(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function E5(e){this._context=e}E5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xp(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xp(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Xne(e){return new E5(e)}function N5(e){this._context=e}N5.prototype={areaStart:vp,areaEnd:vp,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xp(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Yne(e){return new N5(e)}function P5(e){this._context=e}P5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xp(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Jne(e){return new P5(e)}function A5(e){this._context=e}A5.prototype={areaStart:vp,areaEnd:vp,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Qne(e){return new A5(e)}function ZC(e){return e<0?-1:1}function eT(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(ZC(o)+ZC(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function tT(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function ub(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function bp(e){this._context=e}bp.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ub(this,this._t0,tT(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,ub(this,tT(this,n=eT(this,e,t)),n);break;default:ub(this,this._t0,n=eT(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function O5(e){this._context=new C5(e)}(O5.prototype=Object.create(bp.prototype)).point=function(e,t){bp.prototype.point.call(this,t,e)};function C5(e){this._context=e}C5.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}};function Zne(e){return new bp(e)}function ere(e){return new O5(e)}function T5(e){this._context=e}T5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=nT(e),i=nT(t),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[a],t[a]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function nT(e){var t,n=e.length-1,r,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function tre(e){return new T5(e)}function Mm(e,t){this._context=e,this._t=t}Mm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;
vendor: 16,363 bytes, lines 302-305
302default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function nre(e){return new Mm(e,.5)}function rre(e){return new Mm(e,0)}function ire(e){return new Mm(e,1)}function Tl(e,t){if((a=e.length)>1)for(var n=1,r,i,o=e[t[0]],a,s=o.length;n<a;++n)for(i=o,o=e[t[n]],r=0;r<s;++r)o[r][1]+=o[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function oS(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function ore(e,t){return e[t]}function are(e){const t=[];return t.key=e,t}function sre(){var e=jt([]),t=oS,n=Tl,r=ore;function i(o){var a=Array.from(e.apply(this,arguments),are),s,c=a.length,f=-1,h;for(const p of o)for(s=0,++f;s<c;++s)(a[s][f]=[0,+r(p,a[s].key,f,o)]).data=p;for(s=0,h=P_(t(a));s<c;++s)a[h[s]].index=s;return n(a,h),a}return i.keys=function(o){return arguments.length?(e=typeof o=="function"?o:jt(Array.from(o)),i):e},i.value=function(o){return arguments.length?(r=typeof o=="function"?o:jt(+o),i):r},i.order=function(o){return arguments.length?(t=o==null?oS:typeof o=="function"?o:jt(Array.from(o)),i):t},i.offset=function(o){return arguments.length?(n=o??Tl,i):n},i}function lre(e,t){if((r=e.length)>0){for(var n,r,i=0,o=e[0].length,a;i<o;++i){for(a=n=0;n<r;++n)a+=e[n][i][1]||0;if(a)for(n=0;n<r;++n)e[n][i][1]/=a}Tl(e,t)}}function cre(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,o=r.length;n<o;++n){for(var a=0,s=0;a<i;++a)s+=e[a][n][1]||0;r[n][1]+=r[n][0]=-s/2}Tl(e,t)}}function ure(e,t){if(!(!((a=e.length)>0)||!((o=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,o,a;r<o;++r){for(var s=0,c=0,f=0;s<a;++s){for(var h=e[t[s]],p=h[r][1]||0,g=h[r-1][1]||0,y=(p-g)/2,S=0;S<s;++S){var b=e[t[S]],v=b[r][1]||0,w=b[r-1][1]||0;y+=v-w}c+=p,f+=y*p}i[r-1][1]+=i[r-1][0]=n,c&&(n-=f/c)}i[r-1][1]+=i[r-1][0]=n,Tl(e,t)}}function Gu(e){"@babel/helpers - typeof";return Gu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gu(e)}var fre=["type","size","sizeType"];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)}function rT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function iT(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rT(Object(n),!0).forEach(function(r){dre(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dre(e,t,n){return t=hre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hre(e){var t=pre(e,"string");return Gu(t)=="symbol"?t:t+""}function pre(e,t){if(Gu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Gu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mre(e,t){if(e==null)return{};var n=gre(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gre(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var R5={symbolCircle:A_,symbolCross:Lne,symbolDiamond:Fne,symbolSquare:Bne,symbolStar:Hne,symbolTriangle:Wne,symbolWye:Gne},yre=Math.PI/180,vre=function(t){var n="symbol".concat(Rm(t));return R5[n]||A_},xre=function(t,n,r){if(n==="area")return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var i=18*yre;return 1.25*t*t*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},bre=function(t,n){R5["symbol".concat(Rm(t))]=n},O_=function(t){var n=t.type,r=n===void 0?"circle":n,i=t.size,o=i===void 0?64:i,a=t.sizeType,s=a===void 0?"area":a,c=mre(t,fre),f=iT(iT({},c),{},{type:r,size:o,sizeType:s}),h=function(){var v=vre(r),w=Kne().type(v).size(xre(o,s,r));return w()},p=f.className,g=f.cx,y=f.cy,S=qe(f,!0);return g===+g&&y===+y&&o===+o?Y.createElement("path",aS({},S,{className:Ke("recharts-symbols",p),transform:"translate(".concat(g,", ").concat(y,")"),d:h()})):null};O_.registerSymbol=bre;function Rl(e){"@babel/helpers - typeof";return Rl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rl(e)}function sS(){return sS=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},sS.apply(this,arguments)}function oT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function wre(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oT(Object(n),!0).forEach(function(r){Ku(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Sre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jre(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,D5(r.key),r)}}function _re(e,t,n){return t&&jre(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function kre(e,t,n){return t=wp(t),Ere(e,I5()?Reflect.construct(t,n||[],wp(e).constructor):t.apply(e,n))}function Ere(e,t){if(t&&(Rl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Nre(e)}function Nre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I5(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(I5=function(){return!!e})()}function wp(e){return wp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},wp(e)}function Pre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lS(e,t)}function lS(e,t){return lS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},lS(e,t)}function Ku(e,t,n){return t=D5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D5(e){var t=Are(e,"string");return Rl(t)=="symbol"?t:t+""}function Are(e,t){if(Rl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Rl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Sr=32,C_=(function(e){function t(){return Sre(this,t),kre(this,t,arguments)}return Pre(t,e),_re(t,[{key:"renderIcon",value:function(r){var i=this.props.inactiveColor,o=Sr/2,a=Sr/6,s=Sr/3,c=r.inactive?i:r.color;if(r.type==="plainline")return Y.createElement("line",{strokeWidth:4,fill:"none",stroke:c,strokeDasharray:r.payload.strokeDasharray,x1:0,y1:o,x2:Sr,y2:o,className:"recharts-legend-icon"});if(r.type==="line")return Y.createElement("path",{strokeWidth:4,fill:"none",stroke:c,d:"M0,".concat(o,"h").concat(s,` 303 A`).concat(a,",").concat(a,",0,1,1,").concat(2*s,",").concat(o,` 304 H`).concat(Sr,"M").concat(2*s,",").concat(o,` 305 A`).concat(a,",").concat(a,",0,1,1,").concat(s,",").concat(o),className:"recharts-legend-icon"});if(r.type==="rect")return Y.createElement("path",{stroke:"none",fill:c,d:"M0,".concat(Sr/8,"h").concat(Sr,"v").concat(Sr*3/4,"h").concat(-Sr,"z"),className:"recharts-legend-icon"});if(Y.isValidElement(r.legendIcon)){var f=wre({},r);return delete f.legendIcon,Y.cloneElement(r.legendIcon,f)}return Y.createElement(O_,{fill:c,cx:o,cy:o,size:Sr,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){var r=this,i=this.props,o=i.payload,a=i.iconSize,s=i.layout,c=i.formatter,f=i.inactiveColor,h={x:0,y:0,width:Sr,height:Sr},p={display:s==="horizontal"?"inline-block":"block",marginRight:10},g={display:"inline-block",verticalAlign:"middle",marginRight:4};return o.map(function(y,S){var b=y.formatter||c,v=Ke(Ku(Ku({"recharts-legend-item":!0},"legend-item-".concat(S),!0),"inactive",y.inactive));if(y.type==="none")return null;var w=He(y.value)?null:y.value;Gi(!He(y.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var j=y.inactive?f:y.color;return Y.createElement("li",sS({className:v,style:p,key:"legend-item-".concat(S)},ls(r.props,y,S)),Y.createElement(eS,{width:a,height:a,viewBox:h,style:g},r.renderIcon(y)),Y.createElement("span",{className:"recharts-legend-item-text",style:{color:j}},b?b(w,y,S):w))})}},{key:"render",value:function(){var r=this.props,i=r.payload,o=r.layout,a=r.align;if(!i||!i.length)return null;var s={padding:0,margin:0,textAlign:o==="horizontal"?a:"left"};return Y.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}])})(O.PureComponent);Ku(C_,"displayName","Legend");Ku(C_,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var fb,aT;function Ore(){if(aT)return fb;aT=1;var e=Om();function t(){this.__data__=new e,this.size=0}return fb=t,fb}var db,sT;function Cre(){if(sT)return db;sT=1;function e(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}return db=e,db}var hb,lT;function Tre(){if(lT)return hb;lT=1;function e(t){return this.__data__.get(t)}return hb=e,hb}var pb,cT;function Rre(){if(cT)return pb;cT=1;function e(t){return this.__data__.has(t)}return pb=e,pb}var mb,uT;function Ire(){if(uT)return mb;uT=1;var e=Om(),t=w_(),n=S_(),r=200;function i(o,a){var s=this.__data__;if(s instanceof e){var c=s.__data__;if(!t||c.length<r-1)return c.push([o,a]),this.size=++s.size,this;s=this.__data__=new n(c)}return s.set(o,a),this.size=s.size,this}return mb=i,mb}var gb,fT;function M5(){if(fT)return gb;fT=1;var e=Om(),t=Ore(),n=Cre(),r=Tre(),i=Rre(),o=Ire();function a(s){var c=this.__data__=new e(s);this.size=c.size}return a.prototype.clear=t,a.prototype.delete=n,a.prototype.get=r,a.prototype.has=i,a.prototype.set=o,gb=a,gb}var yb,dT;function Dre(){if(dT)return yb;dT=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return yb=t,yb}var vb,hT;function Mre(){if(hT)return vb;hT=1;function e(t){return this.__data__.has(t)}return vb=e,vb}var xb,pT;function L5(){if(pT)return xb;pT=1;var e=S_(),t=Dre(),n=Mre();function r(i){var o=-1,a=i==null?0:i.length;for(this.__data__=new e;++o<a;)this.add(i[o])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,xb=r,xb}var bb,mT;function $5(){if(mT)return bb;mT=1;function e(t,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(n(t[r],r,t))return!0;return!1}return bb=e,bb}var wb,gT;function F5(){if(gT)return wb;gT=1;function e(t,n){return t.has(n)}return wb=e,wb}var Sb,yT;function B5(){if(yT)return Sb;yT=1;var e=L5(),t=$5(),n=F5(),r=1,i=2;function o(a,s,c,f,h,p){var g=c&r,y=a.length,S=s.length;if(y!=S&&!(g&&S>y))return!1;var b=p.get(a),v=p.get(s);if(b&&v)return b==s&&v==a;var w=-1,j=!0,_=c&i?new e:void 0;for(p.set(a,s),p.set(s,a);++w<y;){var E=a[w],N=s[w];if(f)var P=g?f(N,E,w,s,a,p):f(E,N,w,a,s,p);if(P!==void 0){if(P)continue;j=!1;break}if(_){if(!t(s,function(C,T){if(!n(_,T)&&(E===C||h(E,C,c,f,p)))return _.push(T)})){j=!1;break}}else if(!(E===N||h(E,N,c,f,p))){j=!1;break}}return p.delete(a),p.delete(s),j}return Sb=o,Sb}var jb,vT;function Lre(){if(vT)return jb;vT=1;var e=Si(),t=e.Uint8Array;return jb=t,jb}var _b,xT;function $re(){if(xT)return _b;xT=1;function e(t){var n=-1,r=Array(t.size);return t.forEach(function(i,o){r[++n]=[o,i]}),r}return _b=e,_b}var kb,bT;function T_(){if(bT)return kb;bT=1;function e(t){var n=-1,r=Array(t.size);return t.forEach(function(i){r[++n]=i}),r}return kb=e,kb}var Eb,wT;function Fre(){if(wT)return Eb;wT=1;var e=Gf(),t=Lre(),n=b_(),r=B5(),i=$re(),o=T_(),a=1,s=2,c="[object Boolean]",f="[object Date]",h="[object Error]",p="[object Map]",g="[object Number]",y="[object RegExp]",S="[object Set]",b="[object String]",v="[object Symbol]",w="[object ArrayBuffer]",j="[object DataView]",_=e?e.prototype:void 0,E=_?_.valueOf:void 0;function N(P,C,T,L,D,M,$){switch(T){case j:if(P.byteLength!=C.byteLength||P.byteOffset!=C.byteOffset)return!1;P=P.buffer,C=C.buffer;case w:return!(P.byteLength!=C.byteLength||!M(new t(P),new t(C)));case c:case f:case g:return n(+P,+C);case h:return P.name==C.name&&P.message==C.message;case y:case b:return P==C+"";case p:var H=i;case S:var U=L&a;if(H||(H=o),P.size!=C.size&&!U)return!1;var z=$.get(P);if(z)return z==C;L|=s,$.set(P,C);var W=r(H(P),H(C),L,D,M,$);return $.delete(P),W;case v:if(E)return E.call(P)==E.call(C)}return!1}return Eb=N,Eb}var Nb,ST;function z5(){if(ST)return Nb;ST=1;function e(t,n){for(var r=-1,i=n.length,o=t.length;++r<i;)t[o+r]=n[r];return t}return Nb=e,Nb}var Pb,jT;function Bre(){if(jT)return Pb;jT=1;var e=z5(),t=Zn();function n(r,i,o){var a=i(r);return t(r)?a:e(a,o(r))}return Pb=n,Pb}var Ab,_T;function zre(){if(_T)return Ab;_T=1;function e(t,n){for(var r=-1,i=t==null?0:t.length,o=0,a=[];++r<i;){var s=t[r];n(s,r,t)&&(a[o++]=s)}return a}return Ab=e,Ab}var Ob,kT;function Ure(){if(kT)return Ob;kT=1;function e(){return[]}return Ob=e,Ob}var Cb,ET;function qre(){if(ET)return Cb;ET=1;var e=zre(),t=Ure(),n=Object.prototype,r=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,o=i?function(a){return a==null?[]:(a=Object(a),e(i(a),function(s){return r.call(a,s)}))}:t;return Cb=o,Cb}var Tb,NT;function Hre(){if(NT)return Tb;NT=1;function e(t,n){for(var r=-1,i=Array(t);++r<t;)i[r]=n(r);return i}return Tb=e,Tb}var Rb,PT;function Wre(){if(PT)return Rb;PT=1;var e=ro(),t=io(),n="[object Arguments]";function r(i){return t(i)&&e(i)==n}return Rb=r,Rb}var Ib,AT;function R_(){if(AT)return Ib;AT=1;var e=Wre(),t=io(),n=Object.prototype,r=n.hasOwnProperty,i=n.propertyIsEnumerable,o=e((function(){return arguments})())?e:function(a){return t(a)&&r.call(a,"callee")&&!i.call(a,"callee")};return Ib=o,Ib}var _u={exports:{}},Db,OT;function Vre(){if(OT)return Db;OT=1;function e(){return!1}return Db=e,Db}_u.exports;var CT;function U5(){return CT||(CT=1,(function(e,t){var n=Si(),r=Vre(),i=t&&!t.nodeType&&t,o=i&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a?n.Buffer:void 0,c=s?s.isBuffer:void 0,f=c||r;e.exports=f})(_u,_u.exports)),_u.exports}var Mb,TT;function I_(){if(TT)return Mb;TT=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(r,i){var o=typeof r;return i=i??e,!!i&&(o=="number"||o!="symbol"&&t.test(r))&&r>-1&&r%1==0&&r<i}return Mb=n,Mb}var Lb,RT;function D_(){if(RT)return Lb;RT=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return Lb=t,Lb}var $b,IT;function Gre(){if(IT)return $b;IT=1;var e=ro(),t=D_(),n=io(),r="[object Arguments]",i="[object Array]",o="[object Boolean]",a="[object Date]",s="[object Error]",c="[object Function]",f="[object Map]",h="[object Number]",p="[object Object]",g="[object RegExp]",y="[object Set]",S="[object String]",b="[object WeakMap]",v="[object ArrayBuffer]",w="[object DataView]",j="[object Float32Array]",_="[object Float64Array
305]",E="[object Int8Array]",N="[object Int16Array]",P="[object Int32Array]",C="[object Uint8Array]",T="[object Uint8ClampedArray]",L="[object Uint16Array]",D="[object Uint32Array]",M={};M[j]=M[_]=M[E]=M[N]=M[P]=M[C]=M[T]=M[L]=M[D]=!0,M[r]=M[i]=M[v]=M[o]=M[w]=M[a]=M[s]=M[c]=M[f]=M[h]=M[p]=M[g]=M[y]=M[S]=M[b]=!1;function $(H){return n(H)&&t(H.length)&&!!M[e(H)]}return $b=$,$b}var Fb,DT;function q5(){if(DT)return Fb;DT=1;function e(t){return function(n){return t(n)}}return Fb=e,Fb}var ku={exports:{}};ku.exports;var MT;function Kre(){return MT||(MT=1,(function(e,t){var n=c5(),r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,a=o&&n.process,s=(function(){try{var c=i&&i.require&&i.require("util").types;return c||a&&a.binding&&a.binding("util")}catch{}})();e.exports=s})(ku,ku.exports)),ku.exports}var Bb,LT;function H5(){if(LT)return Bb;LT=1;var e=Gre(),t=q5(),n=Kre(),r=n&&n.isTypedArray,i=r?t(r):e;return Bb=i,Bb}var zb,$T;function Xre(){if($T)return zb;$T=1;var e=Hre(),t=R_(),n=Zn(),r=U5(),i=I_(),o=H5(),a=Object.prototype,s=a.hasOwnProperty;function c(f,h){var p=n(f),g=!p&&t(f),y=!p&&!g&&r(f),S=!p&&!g&&!y&&o(f),b=p||g||y||S,v=b?e(f.length,String):[],w=v.length;for(var j in f)(h||s.call(f,j))&&!(b&&(j=="length"||y&&(j=="offset"||j=="parent")||S&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||i(j,w)))&&v.push(j);return v}return zb=c,zb}var Ub,FT;function Yre(){if(FT)return Ub;FT=1;var e=Object.prototype;function t(n){var r=n&&n.constructor,i=typeof r=="function"&&r.prototype||e;return n===i}return Ub=t,Ub}var qb,BT;function W5(){if(BT)return qb;BT=1;function e(t,n){return function(r){return t(n(r))}}return qb=e,qb}var Hb,zT;function Jre(){if(zT)return Hb;zT=1;var e=W5(),t=e(Object.keys,Object);return Hb=t,Hb}var Wb,UT;function Qre(){if(UT)return Wb;UT=1;var e=Yre(),t=Jre(),n=Object.prototype,r=n.hasOwnProperty;function i(o){if(!e(o))return t(o);var a=[];for(var s in Object(o))r.call(o,s)&&s!="constructor"&&a.push(s);return a}return Wb=i,Wb}var Vb,qT;function Yf(){if(qT)return Vb;qT=1;var e=x_(),t=D_();function n(r){return r!=null&&t(r.length)&&!e(r)}return Vb=n,Vb}var Gb,HT;
vendor: 2,396 bytes, line 305
305function Lm(){if(HT)return Gb;HT=1;var e=Xre(),t=Qre(),n=Yf();function r(i){return n(i)?e(i):t(i)}return Gb=r,Gb}var Kb,WT;function Zre(){if(WT)return Kb;WT=1;var e=Bre(),t=qre(),n=Lm();function r(i){return e(i,n,t)}return Kb=r,Kb}var Xb,VT;function eie(){if(VT)return Xb;VT=1;var e=Zre(),t=1,n=Object.prototype,r=n.hasOwnProperty;function i(o,a,s,c,f,h){var p=s&t,g=e(o),y=g.length,S=e(a),b=S.length;if(y!=b&&!p)return!1;for(var v=y;v--;){var w=g[v];if(!(p?w in a:r.call(a,w)))return!1}var j=h.get(o),_=h.get(a);if(j&&_)return j==a&&_==o;var E=!0;h.set(o,a),h.set(a,o);for(var N=p;++v<y;){w=g[v];var P=o[w],C=a[w];if(c)var T=p?c(C,P,w,a,o,h):c(P,C,w,o,a,h);if(!(T===void 0?P===C||f(P,C,s,c,h):T)){E=!1;break}N||(N=w=="constructor")}if(E&&!N){var L=o.constructor,D=a.constructor;L!=D&&"constructor"in o&&"constructor"in a&&!(typeof L=="function"&&L instanceof L&&typeof D=="function"&&D instanceof D)&&(E=!1)}return h.delete(o),h.delete(a),E}return Xb=i,Xb}var Yb,GT;function tie(){if(GT)return Yb;GT=1;var e=vs(),t=Si(),n=e(t,"DataView");return Yb=n,Yb}var Jb,KT;function nie(){if(KT)return Jb;KT=1;var e=vs(),t=Si(),n=e(t,"Promise");return Jb=n,Jb}var Qb,XT;function V5(){if(XT)return Qb;XT=1;var e=vs(),t=Si(),n=e(t,"Set");return Qb=n,Qb}var Zb,YT;function rie(){if(YT)return Zb;YT=1;var e=vs(),t=Si(),n=e(t,"WeakMap");return Zb=n,Zb}var e0,JT;function iie(){if(JT)return e0;JT=1;var e=tie(),t=w_(),n=nie(),r=V5(),i=rie(),o=ro(),a=u5(),s="[object Map]",c="[object Object]",f="[object Promise]",h="[object Set]",p="[object WeakMap]",g="[object DataView]",y=a(e),S=a(t),b=a(n),v=a(r),w=a(i),j=o;return(e&&j(new e(new ArrayBuffer(1)))!=g||t&&j(new t)!=s||n&&j(n.resolve())!=f||r&&j(new r)!=h||i&&j(new i)!=p)&&(j=function(_){var E=o(_),N=E==c?_.constructor:void 0,P=N?a(N):"";if(P)switch(P){case y:return g;case S:return s;case b:return f;case v:return h;case w:return p}return E}),e0=j,e0}var t0,QT;function oie(){if(QT)return t0;QT=1;var e=M5(),t=B5(),n=Fre(),r=eie(),i=iie(),o=Zn(),a=U5(),s=H5(),c=1,f="[object Arguments]",h="[object Array]",p="[object Object]",g=Object.prototype,y=g.hasOwnProperty;function S(b,v,w,j,_,E){var N=o(b),P=o(v),C=N?h:i(b),T=P?h:i(v);C=C==f?p:C,T=T==f?p:T;var L=C==p,D=T==p,M=C==T;if(M&&a(b)){if(!a(v))return!1;N=!0,L=!1}if(M&&!L)return E||(E=new e),N||s(b)?t(b,v,w,j,_,E):n(b,v,C,w,j,_,E);if(!(w&c)){var $=L&&y.call(b,"__wrapped__"),H=D&&y.call(v,"__wrapped__");
vendor: 44,802 bytes, lines 305-312
305if($||H){var U=$?b.value():b,z=H?v.value():v;return E||(E=new e),_(U,z,w,j,E)}}return M?(E||(E=new e),r(b,v,w,j,_,E)):!1}return t0=S,t0}var n0,ZT;function M_(){if(ZT)return n0;ZT=1;var e=oie(),t=io();function n(r,i,o,a,s){return r===i?!0:r==null||i==null||!t(r)&&!t(i)?r!==r&&i!==i:e(r,i,o,a,n,s)}return n0=n,n0}var r0,e2;function aie(){if(e2)return r0;e2=1;var e=M5(),t=M_(),n=1,r=2;function i(o,a,s,c){var f=s.length,h=f,p=!c;if(o==null)return!h;for(o=Object(o);f--;){var g=s[f];if(p&&g[2]?g[1]!==o[g[0]]:!(g[0]in o))return!1}for(;++f<h;){g=s[f];var y=g[0],S=o[y],b=g[1];if(p&&g[2]){if(S===void 0&&!(y in o))return!1}else{var v=new e;if(c)var w=c(S,b,y,o,a,v);if(!(w===void 0?t(b,S,n|r,c,v):w))return!1}}return!0}return r0=i,r0}var i0,t2;function G5(){if(t2)return i0;t2=1;var e=ia();function t(n){return n===n&&!e(n)}return i0=t,i0}var o0,n2;function sie(){if(n2)return o0;n2=1;var e=G5(),t=Lm();function n(r){for(var i=t(r),o=i.length;o--;){var a=i[o],s=r[a];i[o]=[a,s,e(s)]}return i}return o0=n,o0}var a0,r2;function K5(){if(r2)return a0;r2=1;function e(t,n){return function(r){return r==null?!1:r[t]===n&&(n!==void 0||t in Object(r))}}return a0=e,a0}var s0,i2;function lie(){if(i2)return s0;i2=1;var e=aie(),t=sie(),n=K5();function r(i){var o=t(i);return o.length==1&&o[0][2]?n(o[0][0],o[0][1]):function(a){return a===i||e(a,i,o)}}return s0=r,s0}var l0,o2;function cie(){if(o2)return l0;o2=1;function e(t,n){return t!=null&&n in Object(t)}return l0=e,l0}var c0,a2;function uie(){if(a2)return c0;a2=1;var e=h5(),t=R_(),n=Zn(),r=I_(),i=D_(),o=Tm();function a(s,c,f){c=e(c,s);for(var h=-1,p=c.length,g=!1;++h<p;){var y=o(c[h]);if(!(g=s!=null&&f(s,y)))break;s=s[y]}return g||++h!=p?g:(p=s==null?0:s.length,!!p&&i(p)&&r(y,p)&&(n(s)||t(s)))}return c0=a,c0}var u0,s2;function fie(){if(s2)return u0;s2=1;var e=cie(),t=uie();function n(r,i){return r!=null&&t(r,i,e)}return u0=n,u0}var f0,l2;function die(){if(l2)return f0;l2=1;var e=M_(),t=p5(),n=fie(),r=v_(),i=G5(),o=K5(),a=Tm(),s=1,c=2;function f(h,p){return r(h)&&i(p)?o(a(h),p):function(g){var y=t(g,h);return y===void 0&&y===p?n(g,h):e(p,y,s|c)}}return f0=f,f0}var d0,c2;function dc(){if(c2)return d0;c2=1;function e(t){return t}return d0=e,d0}var h0,u2;function hie(){if(u2)return h0;u2=1;function e(t){return function(n){return n==null?void 0:n[t]}}return h0=e,h0}var p0,f2;function pie(){if(f2)return p0;f2=1;var e=__();function t(n){return function(r){return e(r,n)}}return p0=t,p0}var m0,d2;function mie(){if(d2)return m0;d2=1;var e=hie(),t=pie(),n=v_(),r=Tm();function i(o){return n(o)?e(r(o)):t(o)}return m0=i,m0}var g0,h2;function ji(){if(h2)return g0;h2=1;var e=lie(),t=die(),n=dc(),r=Zn(),i=mie();function o(a){return typeof a=="function"?a:a==null?n:typeof a=="object"?r(a)?t(a[0],a[1]):e(a):i(a)}return g0=o,g0}var y0,p2;function X5(){if(p2)return y0;p2=1;function e(t,n,r,i){for(var o=t.length,a=r+(i?1:-1);i?a--:++a<o;)if(n(t[a],a,t))return a;return-1}return y0=e,y0}var v0,m2;function gie(){if(m2)return v0;m2=1;function e(t){return t!==t}return v0=e,v0}var x0,g2;function yie(){if(g2)return x0;g2=1;function e(t,n,r){for(var i=r-1,o=t.length;++i<o;)if(t[i]===n)return i;return-1}return x0=e,x0}var b0,y2;function vie(){if(y2)return b0;y2=1;var e=X5(),t=gie(),n=yie();function r(i,o,a){return o===o?n(i,o,a):e(i,t,a)}return b0=r,b0}var w0,v2;function xie(){if(v2)return w0;v2=1;var e=vie();function t(n,r){var i=n==null?0:n.length;return!!i&&e(n,r,0)>-1}return w0=t,w0}var S0,x2;function bie(){if(x2)return S0;x2=1;function e(t,n,r){for(var i=-1,o=t==null?0:t.length;++i<o;)if(r(n,t[i]))return!0;return!1}return S0=e,S0}var j0,b2;function wie(){if(b2)return j0;b2=1;function e(){}return j0=e,j0}var _0,w2;function Sie(){if(w2)return _0;w2=1;var e=V5(),t=wie(),n=T_(),r=1/0,i=e&&1/n(new e([,-0]))[1]==r?function(o){return new e(o)}:t;return _0=i,_0}var k0,S2;function jie(){if(S2)return k0;S2=1;var e=L5(),t=xie(),n=bie(),r=F5(),i=Sie(),o=T_(),a=200;function s(c,f,h){var p=-1,g=t,y=c.length,S=!0,b=[],v=b;if(h)S=!1,g=n;else if(y>=a){var w=f?null:i(c);if(w)return o(w);S=!1,g=r,v=new e}else v=f?[]:b;e:for(;++p<y;){var j=c[p],_=f?f(j):j;if(j=h||j!==0?j:0,S&&_===_){for(var E=v.length;E--;)if(v[E]===_)continue e;f&&v.push(_),b.push(j)}else g(v,_,h)||(v!==b&&v.push(_),b.push(j))}return b}return k0=s,k0}var E0,j2;function _ie(){if(j2)return E0;j2=1;var e=ji(),t=jie();function n(r,i){return r&&r.length?t(r,e(i,2)):[]}return E0=n,E0}var kie=_ie();const _2=lt(kie);function Y5(e,t,n){return t===!0?_2(e,n):He(t)?_2(e,t):e}function Il(e){"@babel/helpers - typeof";return Il=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Il(e)}var Eie=["ref"];function k2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Di(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?k2(Object(n),!0).forEach(function(r){$m(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Q5(r.key),r)}}function Pie(e,t,n){return t&&E2(e.prototype,t),n&&E2(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Aie(e,t,n){return t=Sp(t),Oie(e,J5()?Reflect.construct(t,n||[],Sp(e).constructor):t.apply(e,n))}function Oie(e,t){if(t&&(Il(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cie(e)}function Cie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J5(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(J5=function(){return!!e})()}function Sp(e){return Sp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Sp(e)}function Tie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cS(e,t)}function cS(e,t){return cS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},cS(e,t)}function $m(e,t,n){return t=Q5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q5(e){var t=Rie(e,"string");return Il(t)=="symbol"?t:t+""}function Rie(e,t){if(Il(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Il(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Iie(e,t){if(e==null)return{};var n=Die(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Die(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Mie(e){return e.value}function Lie(e,t){if(Y.isValidElement(e))return Y.cloneElement(e,t);if(typeof e=="function")return Y.createElement(e,t);t.ref;var n=Iie(t,Eie);return Y.createElement(C_,n)}var N2=1,dl=(function(e){function t(){var n;Nie(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=Aie(this,t,[].concat(i)),$m(n,"lastBoundingBox",{width:-1,height:-1}),n}return Tie(t,e),Pie(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();return r.height=this.wrapperNode.offsetHeight,r.width=this.wrapperNode.offsetWidth,r}return null}},{key:"updateBBox",value:function(){var r=this.props.onBBoxUpdate,i=this.getBBox();i?(Math.abs(i.width-this.lastBoundingBox.width)>N2||Math.abs(i.height-this.lastBoundingBox.height)>N2)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,r&&r(i)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,r&&r(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Di({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(r){var i=this.props,o=i.layout,a=i.align,s=i.verticalAlign,c=i.margin,f=i.chartWidth,h=i.chartHeight,p,g;if(!r||(r.left===void 0||r.left===null)&&(r.right===void 0||r.right===null))if(a==="center"&&o==="vertical"){var y=this.getBBoxSnapshot();p={left:((f||0)-y.width)/2}}else p=a==="right"?{right:c&&c.right||0}:{left:c&&c.left||0};if(!r||(r.top===void 0||r.top===null)&&(r.bottom===void 0||r.bottom===null))if(s==="middle"){var S=this.getBBoxSnapshot();g={top:((h||0)-S.height)/2}}else g=s==="bottom"?{bottom:c&&c.bottom||0}:{top:c&&c.top||0};return Di(Di({},p),g)}},{key:"render",value:function(){var r=this,i=this.props,o=i.content,a=i.width,s=i.height,c=i.wrapperStyle,f=i.payloadUniqBy,h=i.payload,p=Di(Di({position:"absolute",width:a||"auto",height:s||"auto"},this.getDefaultPosition(c)),c);return Y.createElement("div",{className:"recharts-legend-wrapper",style:p,ref:function(y){r.wrapperNode=y}},Lie(o,Di(Di({},this.props),{},{payload:Y5(h,f,Mie)})))}}],[{key:"getWithHeight",value:function(r,i){var o=Di(Di({},this.defaultProps),r.props),a=o.layout;return a==="vertical"&&we(r.props.height)?{height:r.props.height}:a==="horizontal"?{width:r.props.width||i}:null}}])})(O.PureComponent);$m(dl,"displayName","Legend");$m(dl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var N0,P2;function $ie(){if(P2)return N0;P2=1;var e=Gf(),t=R_(),n=Zn(),r=e?e.isConcatSpreadable:void 0;function i(o){return n(o)||t(o)||!!(r&&o&&o[r])}return N0=i,N0}var P0,A2;function Z5(){if(A2)return P0;A2=1;var e=z5(),t=$ie();function n(r,i,o,a,s){var c=-1,f=r.length;for(o||(o=t),s||(s=[]);++c<f;){var h=r[c];i>0&&o(h)?i>1?n(h,i-1,o,a,s):e(s,h):a||(s[s.length]=h)}return s}return P0=n,P0}var A0,O2;function Fie(){if(O2)return A0;O2=1;function e(t){return function(n,r,i){for(var o=-1,a=Object(n),s=i(n),c=s.length;c--;){var f=s[t?c:++o];if(r(a[f],f,a)===!1)break}return n}}return A0=e,A0}var O0,C2;function Bie(){if(C2)return O0;C2=1;var e=Fie(),t=e();return O0=t,O0}var C0,T2;function e3(){if(T2)return C0;T2=1;var e=Bie(),t=Lm();function n(r,i){return r&&e(r,i,t)}return C0=n,C0}var T0,R2;function zie(){if(R2)return T0;R2=1;var e=Yf();function t(n,r){return function(i,o){if(i==null)return i;if(!e(i))return n(i,o);for(var a=i.length,s=r?a:-1,c=Object(i);(r?s--:++s<a)&&o(c[s],s,c)!==!1;);return i}}return T0=t,T0}var R0,I2;function L_(){if(I2)return R0;I2=1;var e=e3(),t=zie(),n=t(e);return R0=n,R0}var I0,D2;function t3(){if(D2)return I0;D2=1;var e=L_(),t=Yf();function n(r,i){var o=-1,a=t(r)?Array(r.length):[];return e(r,function(s,c,f){a[++o]=i(s,c,f)}),a}return I0=n,I0}var D0,M2;function Uie(){if(M2)return D0;M2=1;function e(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}return D0=e,D0}var M0,L2;function qie(){if(L2)return M0;L2=1;var e=uc();function t(n,r){if(n!==r){var i=n!==void 0,o=n===null,a=n===n,s=e(n),c=r!==void 0,f=r===null,h=r===r,p=e(r);if(!f&&!p&&!s&&n>r||s&&c&&h&&!f&&!p||o&&c&&h||!i&&h||!a)return 1;if(!o&&!s&&!p&&n<r||p&&i&&a&&!o&&!s||f&&i&&a||!c&&a||!h)return-1}return 0}return M0=t,M0}var L0,$2;function Hie(){if($2)return L0;$2=1;var e=qie();function t(n,r,i){for(var o=-1,a=n.criteria,s=r.criteria,c=a.length,f=i.length;++o<c;){var h=e(a[o],s[o]);if(h){if(o>=f)return h;var p=i[o];return h*(p=="desc"?-1:1)}}return n.index-r.index}return L0=t,L0}var $0,F2;function Wie(){if(F2)return $0;F2=1;var e=j_(),t=__(),n=ji(),r=t3(),i=Uie(),o=q5(),a=Hie(),s=dc(),c=Zn();function f(h,p,g){p.length?p=e(p,function(b){return c(b)?function(v){return t(v,b.length===1?b[0]:b)}:b}):p=[s];var y=-1;p=e(p,o(n));var S=r(h,function(b,v,w){var j=e(p,function(_){return _(b)});return{criteria:j,index:++y,value:b}});return i(S,function(b,v){return a(b,v,g)})}return $0=f,$0}var F0,B2;function Vie(){if(B2)return F0;B2=1;function e(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}return F0=e,F0}var B0,z2;function Gie(){if(z2)return B0;z2=1;var e=Vie(),t=Math.max;function n(r,i,o){return i=t(i===void 0?r.length-1:i,0),function(){for(var a=arguments,s=-1,c=t(a.length-i,0),f=Array(c);++s<c;)f[s]=a[i+s];s=-1;for(var h=Array(i+1);++s<i;)h[s]=a[s];return h[i]=o(f),e(r,this,h)}}return B0=n,B0}var z0,U2;function Kie(){if(U2)return z0;U2=1;function e(t){return function(){return t}}return z0=e,z0}var U0,q2;function n3(){if(q2)return U0;q2=1;var e=vs(),t=(function(){try{var n=e(Object,"defineProperty");return n({},"",{}),n}catch{}})();return U0=t,U0}var q0,H2;function Xie(){if(H2)return q0;H2=1;var e=Kie(),t=n3(),n=dc(),r=t?function(i,o){return t(i,"toString",{configurable:!0,enumerable:!1,value:e(o),writable:!0})}:n;return q0=r,q0}var H0,W2;function Yie(){if(W2)return H0;W2=1;var e=800,t=16,n=Date.now;function r(i){var o=0,a=0;return function(){var s=n(),c=t-(s-a);if(a=s,c>0){if(++o>=e)return arguments[0]}else o=0;return i.apply(void 0,arguments)}}return H0=r,H0}var W0,V2;function Jie(){if(V2)return W0;V2=1;var e=Xie(),t=Yie(),n=t(e);return W0=n,W0}var V0,G2;function Qie(){if(G2)return V0;G2=1;var e=dc(),t=Gie(),n=Jie();function r(i,o){return n(t(i,o,e),i+"")}return V0=r,V0}var G0,K2;function Fm(){if(K2)return G0;K2=1;var e=b_(),t=Yf(),n=I_(),r=ia();function i(o,a,s){if(!r(s))return!1;var c=typeof a;return(c=="number"?t(s)&&n(a,s.length):c=="string"&&a in s)?e(s[a],o):!1}return G0=i,G0}var K0,X2;function Zie(){if(X2)return K0;X2=1;var e=Z5(),t=Wie(),n=Qie(),r=Fm(),i=n(function(o,a){if(o==null)return[];var s=a.length;return s>1&&r(o,a[0],a[1])?a=[]:s>2&&r(a[0],a[1],a[2])&&(a=[a[0]]),t(o,e(a,1),[])});return K0=i,K0}var eoe=Zie();const $_=lt(eoe);function Xu(e){"@babel/helpers - typeof";return Xu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xu(e)}function uS(){return uS=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},uS.apply(this,arguments)}function toe(e,t){return ooe(e)||ioe(e,t)||roe(e,t)||noe()}function noe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 306In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function roe(e,t){if(e){if(typeof e=="string")return Y2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y2(e,t)}}function Y2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ioe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function ooe(e){if(Array.isArray(e))return e}function J2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function X0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?J2(Object(n),!0).forEach(function(r){aoe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function aoe(e,t,n){return t=soe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function soe(e){var t=loe(e,"string");return Xu(t)=="symbol"?t:t+""}function loe(e,t){if(Xu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Xu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function coe(e){return Array.isArray(e)&&en(e[0])&&en(e[1])?e.join(" ~ "):e}var uoe=function(t){var n=t.separator,r=n===void 0?" : ":n,i=t.contentStyle,o=i===void 0?{}:i,a=t.itemStyle,s=a===void 0?{}:a,c=t.labelStyle,f=c===void 0?{}:c,h=t.payload,p=t.formatter,g=t.itemSorter,y=t.wrapperClassName,S=t.labelClassName,b=t.label,v=t.labelFormatter,w=t.accessibilityLayer,j=w===void 0?!1:w,_=function(){if(h&&h.length){var $={padding:0,margin:0},H=(g?$_(h,g):h).map(function(U,z){if(U.type==="none")return null;var W=X0({display:"block",paddingTop:4,paddingBottom:4,color:U.color||"#000"},s),Z=U.formatter||p||coe,V=U.value,ee=U.name,R=V,B=ee;if(Z&&R!=null&&B!=null){var X=Z(V,ee,U,z,h);if(Array.isArray(X)){var F=toe(X,2);R=F[0],B=F[1]}else R=X}return Y.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(z),style:W},en(B)?Y.createElement("span",{className:"recharts-tooltip-item-name"},B):null,en(B)?Y.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,Y.createElement("span",{className:"recharts-tooltip-item-value"},R),Y.createElement("span",{className:"recharts-tooltip-item-unit"},U.unit||""))});return Y.createElement("ul",{className:"recharts-tooltip-item-list",style:$},H)}return null},E=X0({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),N=X0({margin:0},f),P=!Qe(b),C=P?b:"",T=Ke("recharts-default-tooltip",y),L=Ke("recharts-tooltip-label",S);P&&v&&h!==void 0&&h!==null&&(C=v(b,h));var D=j?{role:"status","aria-live":"assertive"}:{};return Y.createElement("div",uS({className:T,style:E},D),Y.createElement("p",{className:L,style:N},Y.isValidElement(C)?C:"".concat(C)),_())};function Yu(e){"@babel/helpers - typeof";return Yu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yu(e)}function _h(e,t,n){return t=foe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function foe(e){var t=doe(e,"string");return Yu(t)=="symbol"?t:t+""}function doe(e,t){if(Yu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Yu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var fu="recharts-tooltip-wrapper",hoe={visibility:"hidden"};function poe(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return Ke(fu,_h(_h(_h(_h({},"".concat(fu,"-right"),we(n)&&t&&we(t.x)&&n>=t.x),"".concat(fu,"-left"),we(n)&&t&&we(t.x)&&n<t.x),"".concat(fu,"-bottom"),we(r)&&t&&we(t.y)&&r>=t.y),"".concat(fu,"-top"),we(r)&&t&&we(t.y)&&r<t.y))}function Q2(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,i=e.offsetTopLeft,o=e.position,a=e.reverseDirection,s=e.tooltipDimension,c=e.viewBox,f=e.viewBoxDimension;if(o&&we(o[r]))return o[r];var h=n[r]-s-i,p=n[r]+i;if(t[r])return a[r]?h:p;if(a[r]){var g=h,y=c[r];return g<y?Math.max(p,c[r]):Math.max(h,c[r])}var S=p+s,b=c[r]+f;return S>b?Math.max(h,c[r]):Math.max(p,c[r])}function moe(e){var t=e.translateX,n=e.translateY,r=e.useTranslate3d;return{transform:r?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}function goe(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.offsetTopLeft,i=e.position,o=e.reverseDirection,a=e.tooltipBox,s=e.useTranslate3d,c=e.viewBox,f,h,p;return a.height>0&&a.width>0&&n?(h=Q2({allowEscapeViewBox:t,coordinate:n,key:"x",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:a.width,viewBox:c,viewBoxDimension:c.width}),p=Q2({allowEscapeViewBox:t,coordinate:n,key:"y",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:a.height,viewBox:c,viewBoxDimension:c.height}),f=moe({translateX:h,translateY:p,useTranslate3d:s})):f=hoe,{cssProperties:f,cssClasses:poe({translateX:h,translateY:p,coordinate:n})}}function Dl(e){"@babel/helpers - typeof";return Dl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dl(e)}function Z2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function eR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Z2(Object(n),!0).forEach(function(r){dS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function yoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function voe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i3(r.key),r)}}function xoe(e,t,n){return t&&voe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function boe(e,t,n){return t=jp(t),woe(e,r3()?Reflect.construct(t,n||[],jp(e).constructor):t.apply(e,n))}function woe(e,t){if(t&&(Dl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Soe(e)}function Soe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(r3=function(){return!!e})()}function jp(e){return jp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},jp(e)}function joe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fS(e,t)}function fS(e,t){return fS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},fS(e,t)}function dS(e,t,n){return t=i3(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i3(e){var t=_oe(e,"string");return Dl(t)=="symbol"?t:t+""}function _oe(e,t){if(Dl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Dl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var tR=1,koe=(function(e){function t(){var n;yoe(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=boe(this,t,[].concat(i)),dS(n,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),dS(n,"handleKeyDown",function(a){if(a.key==="Escape"){var s,c,f,h;n.setState({dismissed:!0,dismissedAtCoordinate:{x:(s=(c=n.props.coordinate)===null||c===void 0?void 0:c.x)!==null&&s!==void 0?s:0,y:(f=(h=n.props.coordinate)===null||h===void 0?void 0:h.y)!==null&&f!==void 0?f:0}})}}),n}return joe(t,e),xoe(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-this.state.lastBoundingBox.width)>tR||Math.abs(r.height-this.state.lastBoundingBox.height)>tR)&&this.setState({lastBoundingBox:{width:r.width,height:r.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var r,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var r=this,i=this.props,o=i.active,a=i.allowEscapeViewBox,s=i.animationDuration,c=i.animationEasing,f=i.children,h=i.coordinate,p=i.hasPayload,g=i.isAnimationActive,y=i.offset,S=i.position,b=i.reverseDirection,v=i.useTranslate3d,w=i.viewBox,j=i.wrapperStyle,_=goe({allowEscapeViewBox:a,coordinate:h,offsetTopLeft:y,position:S,reverseDirection:b,tooltipBox:this.state.lastBoundingBox,useTranslate3d:v,viewBox:w}),E=_.cssClasses,N=_.cssProperties,P=eR(eR({transition:g&&o?"transform ".concat(s,"ms ").concat(c):void 0},N),{},{pointerEvents:"none",visibility:!this.state.dismissed&&o&&p?"visible":"hidden",position:"absolute",top:0,left:0},j);return Y.createElement("div",{tabIndex:-1,className:E,style:P,ref:function(T){r.wrapperNode=T}},f)}}])})(O.PureComponent),Eoe=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},hc={isSsr:Eoe()};function Ml(e){"@babel/helpers - typeof";return Ml=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ml(e)}function nR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nR(Object(n),!0).forEach(function(r){F_(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Noe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Poe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a3(r.key),r)}}function Aoe(e,t,n){return t&&Poe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ooe(e,t,n){return t=_p(t),Coe(e,o3()?Reflect.construct(t,n||[],_p(e).constructor):t.apply(e,n))}function Coe(e,t){if(t&&(Ml(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Toe(e)}function Toe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(o3=function(){return!!e})()}function _p(e){return _p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},_p(e)}function Roe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hS(e,t)}function hS(e,t){return hS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},hS(e,t)}function F_(e,t,n){return t=a3(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a3(e){var t=Ioe(e,"string");return Ml(t)=="symbol"?t:t+""}function Ioe(e,t){if(Ml(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ml(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Doe(e){return e.dataKey}function Moe(e,t){return Y.isValidElement(e)?Y.cloneElement(e,t):typeof e=="function"?Y.createElement(e,t):Y.createElement(uoe,t)}var Hr=(function(e){function t(){return Noe(this,t),Ooe(this,t,arguments)}return Roe(t,e),Aoe(t,[{key:"render",value:function(){var r=this,i=this.props,o=i.active,a=i.allowEscapeViewBox,s=i.animationDuration,c=i.animationEasing,f=i.content,h=i.coordinate,p=i.filterNull,g=i.isAnimationActive,y=i.offset,S=i.payload,b=i.payloadUniqBy,v=i.position,w=i.reverseDirection,j=i.useTranslate3d,_=i.viewBox,E=i.wrapperStyle,N=S??[];p&&N.length&&(N=Y5(S.filter(function(C){return C.value!=null&&(C.hide!==!0||r.props.includeHidden)}),b,Doe));var P=N.length>0;return Y.createElement(koe,{allowEscapeViewBox:a,animationDuration:s,animationEasing:c,isAnimationActive:g,active:o,coordinate:h,hasPayload:P,offset:y,position:v,reverseDirection:w,useTranslate3d:j,viewBox:_,wrapperStyle:E},Moe(f,rR(rR({},this.props),{},{payload:N})))}}])})(O.PureComponent);F_(Hr,"displayName","Tooltip");F_(Hr,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!hc.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var Y0,iR;function Loe(){if(iR)return Y0;iR=1;var e=Si(),t=function(){return e.Date.now()};return Y0=t,Y0}var J0,oR;function $oe(){if(oR)return J0;oR=1;var e=/\s/;function t(n){for(var r=n.length;r--&&e.test(n.charAt(r)););return r}return J0=t,J0}var Q0,aR;function Foe(){if(aR)return Q0;aR=1;var e=$oe(),t=/^\s+/;function n(r){return r&&r.slice(0,e(r)+1).replace(t,"")}return Q0=n,Q0}var Z0,sR;function s3(){if(sR)return Z0;sR=1;var e=Foe(),t=ia(),n=uc(),r=NaN,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt;function c(f){if(typeof f=="number")return f;if(n(f))return r;if(t(f)){var h=typeof f.valueOf=="function"?f.valueOf():f;f=t(h)?h+"":h}if(typeof f!="string")return f===0?f:+f;f=e(f);var p=o.test(f);return p||a.test(f)?s(f.slice(2),p?2:8):i.test(f)?r:+f}return Z0=c,Z0}var ew,lR;function Boe(){if(lR)return ew;lR=1;var e=ia(),t=Loe(),n=s3(),r="Expected a function",i=Math.max,o=Math.min;function a(s,c,f){var h,p,g,y,S,b,v=0,w=!1,j=!1,_=!0;if(typeof s!="function")throw new TypeError(r);c=n(c)||0,e(f)&&(w=!!f.leading,j="maxWait"in f,g=j?i(n(f.maxWait)||0,c):g,_="trailing"in f?!!f.trailing:_);function E(H){var U=h,z=p;return h=p=void 0,v=H,y=s.apply(z,U),y}function N(H){return v=H,S=setTimeout(T,c),w?E(H):y}function P(H){var U=H-b,z=H-v,W=c-U;return j?o(W,g-z):W}function C(H){var U=H-b,z=H-v;return b===void 0||U>=c||U<0||j&&z>=g}function T(){var H=t();if(C(H))return L(H);S=setTimeout(T,P(H))}function L(H){return S=void 0,_&&h?E(H):(h=p=void 0,y)}function D(){S!==void 0&&clearTimeout(S),v=0,h=b=p=S=void 0}function M(){return S===void 0?y:L(t())}function $(){var H=t(),U=C(H);if(h=arguments,p=this,b=H,U){if(S===void 0)return N(b);if(j)return clearTimeout(S),S=setTimeout(T,c),E(b)}return S===void 0&&(S=setTimeout(T,c)),y}return $.cancel=D,$.flush=M,$}return ew=a,ew}var tw,cR;function zoe(){if(cR)return tw;cR=1;var e=Boe(),t=ia(),n="Expected a function";function r(i,o,a){var s=!0,c=!0;if(typeof i!="function")throw new TypeError(n);return t(a)&&(s="leading"in a?!!a.leading:s,c="trailing"in a?!!a.trailing:c),e(i,o,{leading:s,maxWait:o,trailing:c})}return tw=r,tw}var Uoe=zoe();const l3=lt(Uoe);function Ju(e){"@babel/helpers - typeof";return Ju=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ju(e)}function uR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function kh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uR(Object(n),!0).forEach(function(r){qoe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qoe(e,t,n){return t=Hoe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hoe(e){var t=Woe(e,"string");return Ju(t)=="symbol"?t:t+""}function Woe(e,t){if(Ju(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ju(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Voe(e,t){return Yoe(e)||Xoe(e,t)||Koe(e,t)||Goe()}function Goe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 307In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Koe(e,t){if(e){if(typeof e=="string")return fR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fR(e,t)}}function fR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xoe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function Yoe(e){if(Array.isArray(e))return e}var Joe=O.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,i=r===void 0?{width:-1,height:-1}:r,o=e.width,a=o===void 0?"100%":o,s=e.height,c=s===void 0?"100%":s,f=e.minWidth,h=f===void 0?0:f,p=e.minHeight,g=e.maxHeight,y=e.children,S=e.debounce,b=S===void 0?0:S,v=e.id,w=e.className,j=e.onResize,_=e.style,E=_===void 0?{}:_,N=O.useRef(null),P=O.useRef();P.current=j,O.useImperativeHandle(t,function(){return Object.defineProperty(N.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),N.current},configurable:!0})});var C=O.useState({containerWidth:i.width,containerHeight:i.height}),T=Voe(C,2),L=T[0],D=T[1],M=O.useCallback(function(H,U){D(function(z){var W=Math.round(H),Z=Math.round(U);return z.containerWidth===W&&z.containerHeight===Z?z:{containerWidth:W,containerHeight:Z}})},[]);O.useEffect(function(){var H=function(ee){var R,B=ee[0].contentRect,X=B.width,F=B.height;M(X,F),(R=P.current)===null||R===void 0||R.call(P,X,F)};b>0&&(H=l3(H,b,{trailing:!0,leading:!1}));var U=new ResizeObserver(H),z=N.current.getBoundingClientRect(),W=z.width,Z=z.height;return M(W,Z),U.observe(N.current),function(){U.disconnect()}},[M,b]);var $=O.useMemo(function(){var H=L.containerWidth,U=L.containerHeight;if(H<0||U<0)return null;Gi(Ba(a)||Ba(c),`The width(%s) and height(%s) are both fixed numbers, 308 maybe you don't need to use a ResponsiveContainer.`,a,c),Gi(!n||n>0,"The aspect(%s) must be greater than zero.",n);var z=Ba(a)?H:a,W=Ba(c)?U:c;n&&n>0&&(z?W=z/n:W&&(z=W*n),g&&W>g&&(W=g)),Gi(z>0||W>0,`The width(%s) and height(%s) of chart should be greater than 0, 309 please check the style of container, or the props width(%s) and height(%s), 310 or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the 311 height and width.`,z,W,a,c,h,p,n);var Z=!Array.isArray(y)&&Vi(y.type).endsWith("Chart");return Y.Children.map(y,function(V){return Y.isValidElement(V)?O.cloneElement(V,kh({width:z,height:W},Z?{style:kh({height:"100%",width:"100%",maxHeight:W,maxWidth:z},V.props.style)}:{})):V})},[n,y,c,g,p,h,L,a]);return Y.createElement("div",{id:v?"".concat(v):void 0,className:Ke("recharts-responsive-container",w),style:kh(kh({},E),{},{width:a,height:c,minWidth:h,minHeight:p,maxHeight:g}),ref:N},$)}),Bm=function(t){return null};Bm.displayName="Cell";function Qu(e){"@babel/helpers - typeof";return Qu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qu(e)}function dR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function pS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dR(Object(n),!0).forEach(function(r){Qoe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qoe(e,t,n){return t=Zoe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zoe(e){var t=eae(e,"string");return Qu(t)=="symbol"?t:t+""}function eae(e,t){if(Qu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Qu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Js={widthCache:{},cacheCount:0},tae=2e3,nae={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},hR="recharts_measurement_span";function rae(e){var t=pS({},e);return Object.keys(t).forEach(function(n){t[n]||delete t[n]}),t}var Ru=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||hc.isSsr)return{width:0,height:0};var r=rae(n),i=JSON.stringify({text:t,copyStyle:r});if(Js.widthCache[i])return Js.widthCache[i];try{var o=document.getElementById(hR);o||(o=document.createElement("span"),o.setAttribute("id",hR),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=pS(pS({},nae),r);Object.assign(o.style,a),o.textContent="".concat(t);var s=o.getBoundingClientRect(),c={width:s.width,height:s.height};return Js.widthCache[i]=c,++Js.cacheCount>tae&&(Js.cacheCount=0,Js.widthCache={}),c}catch{return{width:0,height:0}}},iae=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function Zu(e){"@babel/helpers - typeof";return Zu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zu(e)}function kp(e,t){return lae(e)||sae(e,t)||aae(e,t)||oae()}function oae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 312In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aae(e,t){if(e){if(typeof e=="string")return pR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pR(e,t)}}function pR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function lae(e){if(Array.isArray(e))return e}function cae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,fae(r.key),r)}}function uae(e,t,n){return t&&mR(e.prototype,t),n&&mR(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function fae(e){var t=dae(e,"string");return Zu(t)=="symbol"?t:t+""}function dae(e,t){if(Zu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var gR=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,yR=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,hae=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,pae=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,c3={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},mae=Object.keys(c3),ol="NaN";function gae(e,t){return e*c3[t]}var Eh=(function(){function e(t,n){cae(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!hae.test(n)&&(this.num=NaN,this.unit=""),mae.includes(n)&&(this.num=gae(t,n),this.unit="px")}return uae(e,[{key:"add",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num+n.num,this.unit)}},{key:"subtract",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num-n.num,this.unit)}},{key:"multiply",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num*n.num,this.unit||n.unit)}},{key:"divide",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num/n.num,this.unit||n.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(n){var r,i=(r=pae.exec(n))!==null&&r!==void 0?r:[],o=kp(i,3),a=o[1],s=o[2];return new e(parseFloat(a),s??"")}}])})();function u3(e){if(e.includes(ol))return ol;for(var t=e;t.includes("*")||t.includes("/");){var n,r=(n=gR.exec(t))!==null&&n!==void 0?n:[],i=kp(r,4),o=i[1],a=i[2],s=i[3],c=Eh.parse(o??""),f=Eh.parse(s??""),h=a==="*"?c.multiply(f):c.divide(f);if(h.isNaN())return ol;t=t.replace(gR,h.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var p,g=(p=yR.exec(t))!==null&&p!==void 0?p:[],y=kp(g,4),S=y[1],b=y[2],v=y[3],w=Eh.parse(S??""),j=Eh.parse(v??""),_=b==="+"?w.add(j):w.subtract(j);if(_.isNaN())return ol;t=t.replace(yR,_.toString())}return t}var vR=/\(([^()]*)\)/;function yae(e){for(var t=e;t.includes("(");){var n=vR.exec(t),r=kp(n,2),i=r[1];t=t.replace(vR,u3(i))}return t}function vae(e){var t=e.replace(/\s+/g,"");return t=yae(t),t=u3(t),t}function xae(e){try{return vae(e)}catch{return ol}}function nw(e){var t=xae(e.slice(5,-1));return t===ol?"":t}var bae=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],wae=["dx","dy","angle","className","breakAll"];function mS(){return mS=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},mS.apply(this,arguments)}function xR(e,t){if(e==null)return{};var n=Sae(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Sae(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function bR(e,t){return Eae(e)||kae(e,t)||_ae(e,t)||jae()}
312function jae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 313In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _ae(e,t){if(e){if(typeof e=="string")return wR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wR(e,t)}}function wR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function Eae(e){if(Array.isArray(e))return e}var f3=/[ \f\n\r\t\v\u2028\u2029]+/,d3=function(t){var n=t.children,r=t.breakAll,i=t.style;try{var o=[];Qe(n)||(r?o=n.toString().split(""):o=n.toString().split(f3));var a=o.map(function(c){return{word:c,width:Ru(c,i).width}}),s=r?0:Ru(" ",i).width;return{wordsWithComputedWidth:a,spaceWidth:s}}catch{return null}},Nae=function(t,n,r,i,o){var a=t.maxLines,s=t.children,c=t.style,f=t.breakAll,h=we(a),p=s,g=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return z.reduce(function(W,Z){var V=Z.word,ee=Z.width,R=W[W.length-1];if(R&&(i==null||o||R.width+ee+r<Number(i)))R.words.push(V),R.width+=ee+r;else{var B={words:[V],width:ee};W.push(B)}return W},[])},y=g(n),S=function(z){return z.reduce(function(W,Z){return W.width>Z.width?W:Z})};if(!h)return y;for(var b="â¦",v=function(z){var W=p.slice(0,z),Z=d3({breakAll:f,style:c,children:W+b}).wordsWithComputedWidth,V=g(Z),ee=V.length>a||S(V).width>Number(i);return[ee,V]},w=0,j=p.length-1,_=0,E;w<=j&&_<=p.length-1;){var N=Math.floor((w+j)/2),P=N-1,C=v(P),T=bR(C,2),L=T[0],D=T[1],M=v(N),$=bR(M,1),H=$[0];if(!L&&!H&&(w=N+1),L&&H&&(j=N-1),!L&&H){E=D;break}_++}return E||y},SR=function(t){var n=Qe(t)?[]:t.toString().split(f3);return[{words:n}]},Pae=function(t){var n=t.width,r=t.scaleToFit,i=t.children,o=t.style,a=t.breakAll,s=t.maxLines;if((n||r)&&!hc.isSsr){var c,f,h=d3({breakAll:a,children:i,style:o});if(h){var p=h.wordsWithComputedWidth,g=h.spaceWidth;c=p,f=g}else return SR(i);return Nae({breakAll:a,children:i,maxLines:s,style:o},c,f,n,r)}return SR(i)},jR="#808080",cs=function(t){var n=t.x,r=n===void 0?0:n,i=t.y,o=i===void 0?0:i,a=t.lineHeight,s=a===void 0?"1em":a,c=t.capHeight,f=c===void 0?"0.71em":c,h=t.scaleToFit,p=h===void 0?!1:h,g=t.textAnchor,y=g===void 0?"start":g,S=t.verticalAnchor,b=S===void 0?"end":S,v=t.fill,w=v===void 0?jR:v,j=xR(t,bae),_=O.useMemo(function(){return Pae({breakAll:j.breakAll,children:j.children,maxLines:j.maxLines,scaleToFit:p,style:j.style,width:j.width})},[j.breakAll,j.children,j.maxLines,p,j.style,j.width]),E=j.dx,N=j.dy,P=j.angle,C=j.className,T=j.breakAll,L=xR(j,wae);if(!en(r)||!en(o))return null;var D=r+(we(E)?E:0),M=o+(we(N)?N:0),$;switch(b){case"start":$=nw("calc(".concat(f,")"));break;case"middle":$=nw("calc(".concat((_.length-1)/2," * -").concat(s," + (").concat(f," / 2))"));break;default:$=nw("calc(".concat(_.length-1," * -").concat(s,")"));break}var H=[];if(p){var U=_[0].width,z=j.width;H.push("scale(".concat((we(z)?z/U:1)/U,")"))}return P&&H.push("rotate(".concat(P,", ").concat(D,", ").concat(M,")")),H.length&&(L.transform=H.join(" ")),Y.createElement("text",mS({},qe(L,!0),{x:D,y:M,className:Ke("recharts-text",C),textAnchor:y,fill:w.includes("url")?jR:w}),_.map(function(W,Z){var V=W.words.join(T?"":" ");return Y.createElement("tspan",{x:D,dy:Z===0?$:s,key:"".concat(V,"-").concat(Z)},V)}))};function Jo(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Aae(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function B_(e){let t,n,r;e.length!==2?(t=Jo,n=(s,c)=>Jo(e(s),c),r=(s,c)=>e(s)-c):(t=e===Jo||e===Aae?e:Oae,n=e,r=e);function i(s,c,f=0,h=s.length){if(f<h){if(t(c,c)!==0)return h;do{const p=f+h>>>1;n(s[p],c)<0?f=p+1:h=p}while(f<h)}return f}function o(s,c,f=0,h=s.length){if(f<h){if(t(c,c)!==0)return h;do{const p=f+h>>>1;n(s[p],c)<=0?f=p+1:h=p}while(f<h)}return f}function a(s,c,f=0,h=s.length){const p=i(s,c,f,h-1);return p>f&&r(s[p-1],c)>-r(s[p],c)?p-1:p}return{left:i,center:a,right:o}}function Oae(){return 0}function h3(e){return e===null?NaN:+e}function*Cae(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const Tae=B_(Jo),Jf=Tae.right;B_(h3).center;class _R extends Map{constructor(t,n=Dae){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(kR(this,t))}has(t){return super.has(kR(this,t))}set(t,n){return super.set(Rae(this,t),n)}delete(t){return super.delete(Iae(this,t))}}function kR({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Rae({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function Iae({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function Dae(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Mae(e=Jo){if(e===Jo)return p3;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function p3(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const Lae=Math.sqrt(50),$ae=Math.sqrt(10),Fae=Math.sqrt(2);
313function Ep(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=Lae?10:o>=$ae?5:o>=Fae?2:1;let s,c,f;return i<0?(f=Math.pow(10,-i)/a,s=Math.round(e*f),c=Math.round(t*f),s/f<e&&++s,c/f>t&&--c,f=-f):(f=Math.pow(10,i)*a,s=Math.round(e/f),c=Math.round(t/f),s*f<e&&++s,c*f>t&&--c),c<s&&.5<=n&&n<2?Ep(e,t,n*2):[s,c,f]}function gS(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[i,o,a]=r?Ep(t,e,n):Ep(e,t,n);if(!(o>=i))return[];const s=o-i+1,c=new Array(s);if(r)if(a<0)for(let f=0;f<s;++f)c[f]=(o-f)/-a;else for(let f=0;f<s;++f)c[f]=(o-f)*a;else if(a<0)for(let f=0;f<s;++f)c[f]=(i+f)/-a;else for(let f=0;f<s;++f)c[f]=(i+f)*a;return c}function yS(e,t,n){return t=+t,e=+e,n=+n,Ep(e,t,n)[2]}function vS(e,t,n){t=+t,e=+e,n=+n;const r=t<e,i=r?yS(t,e,n):yS(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function ER(e,t){let n;for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);return n}function NR(e,t){let n;for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);return n}function m3(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?p3:Mae(i);r>n;){if(r-n>600){const c=r-n+1,f=t-n+1,h=Math.log(c),p=.5*Math.exp(2*h/3),g=.5*Math.sqrt(h*p*(c-p)/c)*(f-c/2<0?-1:1),y=Math.max(n,Math.floor(t-f*p/c+g)),S=Math.min(r,Math.floor(t+(c-f)*p/c+g));m3(e,t,y,S,i)}const o=e[t];let a=n,s=r;for(du(e,n,t),i(e[r],o)>0&&du(e,n,r);a<s;){for(du(e,a,s),++a,--s;i(e[a],o)<0;)++a;for(;i(e[s],o)>0;)--s}i(e[n],o)===0?du(e,n,s):(++s,du(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function du(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Bae(e,t,n){if(e=Float64Array.from(Cae(e)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return NR(e);if(t>=1)return ER(e);var r,i=(r-1)*t,o=Math.floor(i),a=ER(m3(e,o).subarray(0,o+1)),s=NR(e.subarray(o+1));return a+(s-a)*(i-o)}}function zae(e,t,n=h3){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),a=+n(e[o],o,e),s=+n(e[o+1],o+1,e);return a+(s-a)*(i-o)}}function Uae(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(i);++r<i;)o[r]=e+r*n;return o}function Cr(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function oo(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const xS=Symbol("implicit");function z_(){var e=new _R,t=[],n=[],r=xS;function i(o){let a=e.get(o);if(a===void 0){if(r!==xS)return r;e.set(o,a=t.push(o)-1)}return n[a%n.length]}return i.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new _R;for(const a of o)e.has(a)||e.set(a,t.push(a)-1);return i},i.range=function(o){return arguments.length?(n=Array.from(o),i):n.slice()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return z_(t,n).unknown(r)},Cr.apply(i,arguments),i}function ef(){var e=z_().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,o,a,s=!1,c=0,f=0,h=.5;delete e.unknown;function p(){var g=t().length,y=i<r,S=y?i:r,b=y?r:i;o=(b-S)/Math.max(1,g-c+f*2),s&&(o=Math.floor(o)),S+=(b-S-o*(g-c))*h,a=o*(1-c),s&&(S=Math.round(S),a=Math.round(a));var v=Uae(g).map(function(w){return S+o*w});return n(y?v.reverse():v)}return e.domain=function(g){return arguments.length?(t(g),p()):t()},e.range=function(g){return arguments.length?([r,i]=g,r=+r,i=+i,p()):[r,i]},e.rangeRound=function(g){return[r,i]=g,r=+r,i=+i,s=!0,p()},e.bandwidth=function(){return a},e.step=function(){return o},e.round=function(g){return arguments.length?(s=!!g,p()):s},e.padding=function(g){return arguments.length?(c=Math.min(1,f=+g),p()):c},e.paddingInner=function(g){return arguments.length?(c=Math.min(1,g),p()):c},e.paddingOuter=function(g){return arguments.length?(f=+g,p()):f},e.align=function(g){return arguments.length?(h=Math.max(0,Math.min(1,g)),p()):h},e.copy=function(){return ef(t(),[r,i]).round(s).paddingInner(c).paddingOuter(f).align(h)},Cr.apply(p(),arguments)}function g3(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return g3(t())},e}function Iu(){return g3(ef.apply(null,arguments).paddingInner(1))}function U_(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function y3(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Qf(){}var tf=.7,Np=1/tf,hl="\\s*([+-]?\\d+)\\s*",nf="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",pi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",qae=/^#([0-9a-f]{3,8})$/,Hae=new RegExp(`^rgb\\(${hl},${hl},${hl}\\)$`),Wae=new RegExp(`^rgb\\(${pi},${pi},${pi}\\)$`),Vae=new RegExp(`^rgba\\(${hl},${hl},${hl},${nf}\\)$`),Gae=new RegExp(`^rgba\\(${pi},${pi},${pi},${nf}\\)$`),Kae=new RegExp(`^hsl\\(${nf},${pi},${pi}\\)$`),Xae=new RegExp(`^hsla\\(${nf},${pi},${pi},${nf}\\)$`),PR={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};U_(Qf,rf,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:AR,formatHex:AR,formatHex8:Yae,formatHsl:Jae,formatRgb:OR,toString:OR});function AR(){return this.rgb().formatHex()}function Yae(){return this.rgb().formatHex8()}function Jae(){return v3(this).formatHsl()}function OR(){return this.rgb().formatRgb()}function rf(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=qae.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?CR(t):n===3?new Xn(t>>
vendor: 7,579 bytes, line 313
3138&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Nh(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Nh(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Hae.exec(e))?new Xn(t[1],t[2],t[3],1):(t=Wae.exec(e))?new Xn(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Vae.exec(e))?Nh(t[1],t[2],t[3],t[4]):(t=Gae.exec(e))?Nh(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Kae.exec(e))?IR(t[1],t[2]/100,t[3]/100,1):(t=Xae.exec(e))?IR(t[1],t[2]/100,t[3]/100,t[4]):PR.hasOwnProperty(e)?CR(PR[e]):e==="transparent"?new Xn(NaN,NaN,NaN,0):null}function CR(e){return new Xn(e>>16&255,e>>8&255,e&255,1)}function Nh(e,t,n,r){return r<=0&&(e=t=n=NaN),new Xn(e,t,n,r)}function Qae(e){return e instanceof Qf||(e=rf(e)),e?(e=e.rgb(),new Xn(e.r,e.g,e.b,e.opacity)):new Xn}function bS(e,t,n,r){return arguments.length===1?Qae(e):new Xn(e,t,n,r??1)}function Xn(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}U_(Xn,bS,y3(Qf,{brighter(e){return e=e==null?Np:Math.pow(Np,e),new Xn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?tf:Math.pow(tf,e),new Xn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Xn(ts(this.r),ts(this.g),ts(this.b),Pp(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:TR,formatHex:TR,formatHex8:Zae,formatRgb:RR,toString:RR}));function TR(){return`#${za(this.r)}${za(this.g)}${za(this.b)}`}function Zae(){return`#${za(this.r)}${za(this.g)}${za(this.b)}${za((isNaN(this.opacity)?1:this.opacity)*255)}`}function RR(){const e=Pp(this.opacity);return`${e===1?"rgb(":"rgba("}${ts(this.r)}, ${ts(this.g)}, ${ts(this.b)}${e===1?")":`, ${e})`}`}function Pp(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ts(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function za(e){return e=ts(e),(e<16?"0":"")+e.toString(16)}function IR(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Vr(e,t,n,r)}function v3(e){if(e instanceof Vr)return new Vr(e.h,e.s,e.l,e.opacity);if(e instanceof Qf||(e=rf(e)),!e)return new Vr;if(e instanceof Vr)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(t===o?a=(n-r)/s+(n<r)*6:n===o?a=(r-t)/s+2:a=(t-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new Vr(a,s,c,e.opacity)}function ese(e,t,n,r){return arguments.length===1?v3(e):new Vr(e,t,n,r??1)}function Vr(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}U_(Vr,ese,y3(Qf,{brighter(e){return e=e==null?Np:Math.pow(Np,e),new Vr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?tf:Math.pow(tf,e),new Vr(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Xn(rw(e>=240?e-240:e+120,i,r),rw(e,i,r),rw(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Vr(DR(this.h),Ph(this.s),Ph(this.l),Pp(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Pp(this.opacity);return`${e===1?"hsl(":"hsla("}${DR(this.h)}, ${Ph(this.s)*100}%, ${Ph(this.l)*100}%${e===1?")":`, ${e})`}`}}));function DR(e){return e=(e||0)%360,e<0?e+360:e}function Ph(e){return Math.max(0,Math.min(1,e||0))}function rw(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const q_=e=>()=>e;function tse(e,t){return function(n){return e+n*t}}function nse(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function rse(e){return(e=+e)==1?x3:function(t,n){return n-t?nse(t,n,e):q_(isNaN(t)?n:t)}}function x3(e,t){var n=t-e;return n?tse(e,n):q_(isNaN(e)?t:e)}const MR=(function e(t){var n=rse(t);function r(i,o){var a=n((i=bS(i)).r,(o=bS(o)).r),s=n(i.g,o.g),c=n(i.b,o.b),f=x3(i.opacity,o.opacity);return function(h){return i.r=a(h),i.g=s(h),i.b=c(h),i.opacity=f(h),i+""}}return r.gamma=e,r})(1);function ise(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(o){for(i=0;i<n;++i)r[i]=e[i]*(1-o)+t[i]*o;return r}}function ose(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function ase(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=new Array(r),o=new Array(n),a;for(a=0;a<r;++a)i[a]=pc(e[a],t[a]);for(;a<n;++a)o[a]=t[a];return function(s){for(a=0;a<r;++a)o[a]=i[a](s);return o}}function sse(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Ap(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function lse(e,t){var n={},r={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?n[i]=pc(e[i],t[i]):r[i]=t[i];return function(o){for(i in n)r[i]=n[i](o);return r}}var wS=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,iw=new RegExp(wS.source,"g");function cse(e){return function(){return e}}function use(e){return function(t){return e(t)+""}}function fse(e,t){var n=wS.lastIndex=iw.lastIndex=0,r,i,o,a=-1,s=[],c=[];for(e=e+"",t=t+"";(r=wS.exec(e))&&(i=iw.exec(t));)(o=i.index)>n&&(o=t.slice(n,o),s[a]?s[a]+=o:s[++a]=o),(r=r[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,c.push({i:a,x:Ap(r,i)})),n=iw.lastIndex;return n<t.length&&(o=t.slice(n),s[a]?s[a]+=o:s[++a]=o),s.length<2?c[0]?use(c[0].x):cse(t):(t=c.length,function(f){for(var h=0,p;h<t;++h)s[(p=c[h]).i]=p.x(f);return s.join("")})}function pc(e,t){var n=typeof t,r;return t==null||n==="boolean"?q_(t):(n==="number"?Ap:n==="string"?(r=rf(t))?(t=r,MR):fse:t instanceof rf?MR:t instanceof Date?sse:ose(t)?ise:Array.isArray(t)?ase:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?lse:Ap)(e,t)}function H_(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function dse(e,t){t===void 0&&(t=e,e=pc);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return function(a){var s=Math.max(0,Math.min(r-1,Math.floor(a*=r)));return o[s](a-s)}}function hse(e){return function(){return e}}function Op(e){return+e}var LR=[0,1];function Fn(e){return e}function SS(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:hse(isNaN(t)?NaN:.5)}function pse(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function mse(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=SS(i,r),o=n(a,o)):(r=SS(r,i),o=n(o,a)),function(s){return o(r(s))}}function gse(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)i[a]=SS(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(s){var c=Jf(e,s,1,r)-1;return o[c](i[c](s))}}function Zf(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function zm(){var e=LR,t=LR,n=pc,r,i,o,a=Fn,s,c,f;function h(){var g=Math.min(e.length,t.length);return a!==Fn&&(a=pse(e[0],e[g-1])),s=g>2?gse:mse,c=f=null,p}function p(g){return g==null||isNaN(g=+g)?o:(c||(c=s(e.map(r),t,n)))(r(a(g)))}return p.invert=function(g){return a(i((f||(f=s(t,e.map(r),Ap)))(g)))},p.domain=function(g){return arguments.length?(e=Array.from(g,Op),h()):e.slice()},p.range=function(g){return arguments.length?(t=Array.from(g),h()):t.slice()},p.rangeRound=function(g){return t=Array.from(g),n=H_,h()},p.clamp=function(g){return arguments.length?(a=g?!0:Fn,h()):a!==Fn},p.interpolate=function(g){return arguments.length?(n=g,h()):n},p.unknown=function(g){return arguments.length?(o=g,p):o},function(g,y){return r=g,i=y,h()}}function W_(){return zm()(Fn,Fn)}
vendor: 4,602 bytes, line 313
313function yse(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Cp(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Ll(e){return e=Cp(Math.abs(e)),e?e[1]:NaN}function vse(e,t){return function(n,r){for(var i=n.length,o=[],a=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(t)}}function xse(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var bse=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function of(e){if(!(t=bse.exec(e)))throw new Error("invalid format: "+e);var t;return new V_({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}of.prototype=V_.prototype;function V_(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}V_.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function wse(e){e:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var Tp;function Sse(e,t){var n=Cp(e,t);if(!n)return Tp=void 0,e.toPrecision(t);var r=n[0],i=n[1],o=i-(Tp=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Cp(e,Math.max(0,t+o-1))[0]}function $R(e,t){var n=Cp(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const FR={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:yse,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>$R(e*100,t),r:$R,s:Sse,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function BR(e){return e}var zR=Array.prototype.map,UR=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function jse(e){var t=e.grouping===void 0||e.thousands===void 0?BR:vse(zR.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?BR:xse(zR.call(e.numerals,String)),a=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"â":e.minus+"",c=e.nan===void 0?"NaN":e.nan+"";function f(p,g){p=of(p);var y=p.fill,S=p.align,b=p.sign,v=p.symbol,w=p.zero,j=p.width,_=p.comma,E=p.precision,N=p.trim,P=p.type;P==="n"?(_=!0,P="g"):FR[P]||(E===void 0&&(E=12),N=!0,P="g"),(w||y==="0"&&S==="=")&&(w=!0,y="0",S="=");var C=(g&&g.prefix!==void 0?g.prefix:"")+(v==="$"?n:v==="#"&&/[boxX]/.test(P)?"0"+P.toLowerCase():""),T=(v==="$"?r:/[%p]/.test(P)?a:"")+(g&&g.suffix!==void 0?g.suffix:""),L=FR[P],D=/[defgprs%]/.test(P);E=E===void 0?6:/[gprs]/.test(P)?Math.max(1,Math.min(21,E)):Math.max(0,Math.min(20,E));function M($){var H=C,U=T,z,W,Z;if(P==="c")U=L($)+U,$="";else{$=+$;var V=$<0||1/$<0;if($=isNaN($)?c:L(Math.abs($),E),N&&($=wse($)),V&&+$==0&&b!=="+"&&(V=!1),H=(V?b==="("?b:s:b==="-"||b==="("?"":b)+H,U=(P==="s"&&!isNaN($)&&Tp!==void 0?UR[8+Tp/3]:"")+U+(V&&b==="("?")":""),D){for(z=-1,W=$.length;++z<W;)if(Z=$.charCodeAt(z),48>Z||Z>57){U=(Z===46?i+$.slice(z+1):$.slice(z))+U,$=$.slice(0,z);break}}}_&&!w&&($=t($,1/0));var ee=H.length+$.length+U.length,R=ee<j?new Array(j-ee+1).join(y):"";switch(_&&w&&($=t(R+$,R.length?j-U.length:1/0),R=""),S){case"<":$=H+$+U+R;break;case"=":$=H+R+$+U;break;case"^":$=R.slice(0,ee=R.length>>1)+H+$+U+R.slice(ee);break;default:$=R+H+$+U;break}return o($)}return M.toString=function(){return p+""},M}function h(p,g){var y=Math.max(-8,Math.min(8,Math.floor(Ll(g)/3)))*3,S=Math.pow(10,-y),b=f((p=of(p),p.type="f",p),{suffix:UR[8+y/3]});return function(v){return b(S*v)}}return{format:f,formatPrefix:h}}var Ah,G_,b3;
313_se({thousands:",",grouping:[3],currency:["$",""]});function _se(e){return Ah=jse(e),G_=Ah.format,b3=Ah.formatPrefix,Ah}function kse(e){return Math.max(0,-Ll(Math.abs(e)))}function Ese(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ll(t)/3)))*3-Ll(Math.abs(e)))}function Nse(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Ll(t)-Ll(e))+1}function w3(e,t,n,r){var i=vS(e,t,n),o;switch(r=of(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=Ese(i,a))&&(r.precision=o),b3(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=Nse(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=kse(i))&&(r.precision=o-(r.type==="%")*2);break}}return G_(r)}function oa(e){var t=e.domain;return e.ticks=function(n){var r=t();return gS(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return w3(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,a=r[i],s=r[o],c,f,h=10;for(s<a&&(f=a,a=s,s=f,f=i,i=o,o=f);h-- >0;){if(f=yS(a,s,n),f===c)return r[i]=a,r[o]=s,t(r);if(f>0)a=Math.floor(a/f)*f,s=Math.ceil(s/f)*f;else if(f<0)a=Math.ceil(a*f)/f,s=Math.floor(s*f)/f;else break;c=f}return e},e}function Rp(){var e=W_();return e.copy=function(){return Zf(e,Rp())},Cr.apply(e,arguments),oa(e)}function S3(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,Op),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return S3(e).unknown(t)},e=arguments.length?Array.from(e,Op):[0,1],oa(n)}function j3(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],a;return o<i&&(a=n,n=r,r=a,a=i,i=o,o=a),e[n]=t.floor(i),e[r]=t.ceil(o),e}function qR(e){return Math.log(e)}function HR(e){return Math.exp(e)}function Pse(e){return-Math.log(-e)}function Ase(e){return-Math.exp(-e)}function Ose(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Cse(e){return e===10?Ose:e===Math.E?Math.exp:t=>Math.pow(e,t)}function Tse(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function WR(e){return(t,n)=>-e(-t,n)}function K_(e){const t=e(qR,HR),n=t.domain;let r=10,i,o;function a(){return i=Tse(r),o=Cse(r),n()[0]<0?(i=WR(i),o=WR(o),e(Pse,Ase)):e(qR,HR),t}return t.base=function(s){return arguments.length?(r=+s,a()):r},t.domain=function(s){return arguments.length?(n(s),a()):n()},t.ticks=s=>{const c=n();let f=c[0],h=c[c.length-1];const p=h<f;p&&([f,h]=[h,f]);let g=i(f),y=i(h),S,b;const v=s==null?10:+s;let w=[];if(!(r%1)&&y-g<v){if(g=Math.floor(g),y=Math.ceil(y),f>0){for(;g<=y;++g)for(S=1;S<r;++S)if(b=g<0?S/o(-g):S*o(g),!(b<f)){if(b>h)break;w.push(b)}}else for(;g<=y;++g)for(S=r-1;S>=1;--S)if(b=g>0?S/o(-g):S*o(g),!(b<f)){if(b>h)break;w.push(b)}w.length*2<v&&(w=gS(f,h,v))}else w=gS(g,y,Math.min(y-g,v)).map(o);return p?w.reverse():w},t.tickFormat=(s,c)=>{if(s==null&&(s=10),c==null&&(c=r===10?"s":","),typeof c!="function"&&(!(r%1)&&(c=of(c)).precision==null&&(c.trim=!0),c=G_(c)),s===1/0)return c;const f=Math.max(1,r*s/t.ticks().length);return h=>{let p=h/o(Math.round(i(h)));return p*r<r-.5&&(p*=r),p<=f?c(h):""}},t.nice=()=>n(j3(n(),{floor:s=>o(Math.floor(i(s))),ceil:s=>o(Math.ceil(i(s)))})),t}function _3(){const e=K_(zm()).domain([1,10]);return e.copy=()=>Zf(e,_3()).base(e.base()),Cr.apply(e,arguments),e}function VR(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function GR(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function X_(e){var t=1,n=e(VR(t),GR(t));return n.constant=function(r){return arguments.length?e(VR(t=+r),GR(t)):t},oa(n)}function k3(){var e=X_(zm());return e.copy=function(){return Zf(e,k3()).constant(e.constant())},Cr.apply(e,arguments)}function KR(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Rse(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Ise(e){return e<0?-e*e:e*e}function Y_(e){var t=e(Fn,Fn),n=1;function r(){return n===1?e(Fn,Fn):n===.5?e(Rse,Ise):e(KR(n),KR(1/n))}return t.exponent=function(i){return arguments.length?(n=+i,r()):n},oa(t)}function J_(){var e=Y_(zm());return e.copy=function(){return Zf(e,J_()).exponent(e.exponent())},Cr.apply(e,arguments),e}function Dse(){return J_.apply(null,arguments).exponent(.5)}function XR(e){return Math.sign(e)*e*e}function Mse(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function E3(){var e=W_(),t=[0,1],n=!1,r;function i(o){var a=Mse(e(o));return isNaN(a)?r:n?Math.round(a):a}return i.invert=function(o){return e.invert(XR(o))},i.domain=function(o){return arguments.length?(e.domain(o),i):e.domain()},i.range=function(o){return arguments.length?(e.range((t=Array.from(o,Op)).map(XR)),i):t.slice()},i.rangeRound=function(o){return i.range(o).round(!0)},i.round=function(o){return arguments.length?(n=!!o,i):n},i.clamp=function(o){return arguments.length?(e.clamp(o),i):e.clamp()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return E3(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},Cr.apply(i,arguments),oa(i)}function N3(){var e=[],t=[],n=[],r;function i(){var a=0,s=Math.max(1,t.length);for(n=new Array(s-1);++a<s;)n[a-1]=zae(e,a/s);return o}function o(a){return a==null||isNaN(a=+a)?r:t[Jf(n,a)]}return o.invertExtent=function(a){var s=t.indexOf(a);return s<0?[NaN,NaN]:[s>0?n[s-1]:e[0],s<n.length?n[s]:e[e.length-1]]}
313,o.domain=function(a){if(!arguments.length)return e.slice();e=[];for(let s of a)s!=null&&!isNaN(s=+s)&&e.push(s);return e.sort(Jo),i()},o.range=function(a){return arguments.length?(t=Array.from(a),i()):t.slice()},o.unknown=function(a){return arguments.length?(r=a,o):r},o.quantiles=function(){return n.slice()},o.copy=function(){return N3().domain(e).range(t).unknown(r)},Cr.apply(o,arguments)}function P3(){var e=0,t=1,n=1,r=[.5],i=[0,1],o;function a(c){return c!=null&&c<=c?i[Jf(r,c,0,n)]:o}function s(){var c=-1;for(r=new Array(n);++c<n;)r[c]=((c+1)*t-(c-n)*e)/(n+1);return a}return a.domain=function(c){return arguments.length?([e,t]=c,e=+e,t=+t,s()):[e,t]},a.range=function(c){return arguments.length?(n=(i=Array.from(c)).length-1,s()):i.slice()},a.invertExtent=function(c){var f=i.indexOf(c);return f<0?[NaN,NaN]:f<1?[e,r[0]]:f>=n?[r[n-1],t]:[r[f-1],r[f]]},a.unknown=function(c){return arguments.length&&(o=c),a},a.thresholds=function(){return r.slice()},a.copy=function(){return P3().domain([e,t]).range(i).unknown(o)},Cr.apply(oa(a),arguments)}function A3(){var e=[.5],t=[0,1],n,r=1;function i(o){return o!=null&&o<=o?t[Jf(e,o,0,r)]:n}return i.domain=function(o){return arguments.length?(e=Array.from(o),r=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(o){return arguments.length?(t=Array.from(o),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(o){var a=t.indexOf(o);return[e[a-1],e[a]]},i.unknown=function(o){return arguments.length?(n=o,i):n},i.copy=function(){return A3().domain(e).range(t).unknown(n)},Cr.apply(i,arguments)}const ow=new Date,aw=new Date;function tn(e,t,n,r){function i(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}return i.floor=o=>(e(o=new Date(+o)),o),i.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),i.round=o=>{const a=i(o),s=i.ceil(o);return o-a<s-o?a:s},i.offset=(o,a)=>(t(o=new Date(+o),a==null?1:Math.floor(a)),o),i.range=(o,a,s)=>{const c=[];if(o=i.ceil(o),s=s==null?1:Math.floor(s),!(o<a)||!(s>0))return c;let f;do c.push(f=new Date(+o)),t(o,s),e(o);while(f<o&&o<a);return c},i.filter=o=>tn(a=>{if(a>=a)for(;e(a),!o(a);)a.setTime(a-1)},(a,s)=>{if(a>=a)if(s<0)for(;++s<=0;)for(;t(a,-1),!o(a););else for(;--s>=0;)for(;t(a,1),!o(a););}),n&&(i.count=(o,a)=>(ow.setTime(+o),aw.setTime(+a),e(ow),e(aw),Math.floor(n(ow,aw))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?a=>r(a)%o===0:a=>i.count(0,a)%o===0):i)),i}const Ip=tn(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Ip.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?tn(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Ip);Ip.range;const Hi=1e3,Pr=Hi*60,Wi=Pr*60,Yi=Wi*24,Q_=Yi*7,YR=Yi*30,sw=Yi*365,Ua=tn(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Hi)},(e,t)=>(t-e)/Hi,e=>e.getUTCSeconds());Ua.range;const Z_=tn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Hi)},(e,t)=>{e.setTime(+e+t*Pr)},(e,t)=>(t-e)/Pr,e=>e.getMinutes());Z_.range;const ek=tn(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Pr)},(e,t)=>(t-e)/Pr,e=>e.getUTCMinutes());ek.range;const tk=tn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Hi-e.getMinutes()*Pr)},(e,t)=>{e.setTime(+e+t*Wi)},(e,t)=>(t-e)/Wi,e=>e.getHours());tk.range;const nk=tn(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Wi)},(e,t)=>(t-e)/Wi,e=>e.getUTCHours());nk.range;const ed=tn(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Pr)/Yi,e=>e.getDate()-1);ed.range;const Um=tn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Yi,e=>e.getUTCDate()-1);Um.range;const O3=tn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Yi,e=>Math.floor(e/Yi));O3.range;function xs(e){return tn(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Pr)/Q_)}const qm=xs(0),Dp=xs(1),Lse=xs(2),$se=xs(3),$l=xs(4),Fse=xs(5),Bse=xs(6);qm.range;Dp.range;Lse.range;$se.range;$l.range;Fse.range;Bse.range;function bs(e){return tn(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/Q_)}const Hm=bs(0),Mp=bs(1),zse=bs(2),Use=bs(3),Fl=bs(4),qse=bs(5),Hse=bs(6);Hm.range;Mp.range;zse.range;Use.range;Fl.range;qse.range;Hse.range;const rk=tn(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());rk.range;const ik=tn(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());ik.range;const Ji=tn(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Ji.every=e=>
vendor: 6,199 bytes, line 313
313!isFinite(e=Math.floor(e))||!(e>0)?null:tn(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});Ji.range;const Qi=tn(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Qi.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:tn(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Qi.range;function C3(e,t,n,r,i,o){const a=[[Ua,1,Hi],[Ua,5,5*Hi],[Ua,15,15*Hi],[Ua,30,30*Hi],[o,1,Pr],[o,5,5*Pr],[o,15,15*Pr],[o,30,30*Pr],[i,1,Wi],[i,3,3*Wi],[i,6,6*Wi],[i,12,12*Wi],[r,1,Yi],[r,2,2*Yi],[n,1,Q_],[t,1,YR],[t,3,3*YR],[e,1,sw]];function s(f,h,p){const g=h<f;g&&([f,h]=[h,f]);const y=p&&typeof p.range=="function"?p:c(f,h,p),S=y?y.range(f,+h+1):[];return g?S.reverse():S}function c(f,h,p){const g=Math.abs(h-f)/p,y=B_(([,,v])=>v).right(a,g);if(y===a.length)return e.every(vS(f/sw,h/sw,p));if(y===0)return Ip.every(Math.max(vS(f,h,p),1));const[S,b]=a[g/a[y-1][2]<a[y][2]/g?y-1:y];return S.every(b)}return[s,c]}const[Wse,Vse]=C3(Qi,ik,Hm,O3,nk,ek),[Gse,Kse]=C3(Ji,rk,qm,ed,tk,Z_);function lw(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function cw(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function hu(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function Xse(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,f=pu(i),h=mu(i),p=pu(o),g=mu(o),y=pu(a),S=mu(a),b=pu(s),v=mu(s),w=pu(c),j=mu(c),_={a:Z,A:V,b:ee,B:R,c:null,d:nI,e:nI,f:vle,g:Ple,G:Ole,H:mle,I:gle,j:yle,L:T3,m:xle,M:ble,p:B,q:X,Q:oI,s:aI,S:wle,u:Sle,U:jle,V:_le,w:kle,W:Ele,x:null,X:null,y:Nle,Y:Ale,Z:Cle,"%":iI},E={a:F,A:he,b:ye,B:le,c:null,d:rI,e:rI,f:Dle,g:Wle,G:Gle,H:Tle,I:Rle,j:Ile,L:I3,m:Mle,M:Lle,p:ce,q:ve,Q:oI,s:aI,S:$le,u:Fle,U:Ble,V:zle,w:Ule,W:qle,x:null,X:null,y:Hle,Y:Vle,Z:Kle,"%":iI},N={a:D,A:M,b:$,B:H,c:U,d:eI,e:eI,f:fle,g:ZR,G:QR,H:tI,I:tI,j:sle,L:ule,m:ale,M:lle,p:L,q:ole,Q:hle,s:ple,S:cle,u:ele,U:tle,V:nle,w:Zse,W:rle,x:z,X:W,y:ZR,Y:QR,Z:ile,"%":dle};_.x=P(n,_),_.X=P(r,_),_.c=P(t,_),E.x=P(n,E),E.X=P(r,E),E.c=P(t,E);function P(oe,pe){return function(xe){var ie=[],$e=-1,Re=0,We=oe.length,je,Ve,Pt;for(xe instanceof Date||(xe=new Date(+xe));++$e<We;)oe.charCodeAt($e)===37&&(ie.push(oe.slice(Re,$e)),(Ve=JR[je=oe.charAt(++$e)])!=null?je=oe.charAt(++$e):Ve=je==="e"?" ":"0",(Pt=pe[je])&&(je=Pt(xe,Ve)),ie.push(je),Re=$e+1);return ie.push(oe.slice(Re,$e)),ie.join("")}}function C(oe,pe){return function(xe){var ie=hu(1900,void 0,1),$e=T(ie,oe,xe+="",0),Re,We;if($e!=xe.length)return null;if("Q"in ie)return new Date(ie.Q);if("s"in ie)return new Date(ie.s*1e3+("L"in ie?ie.L:0));if(pe&&!("Z"in ie)&&(ie.Z=0),"p"in ie&&(ie.H=ie.H%12+ie.p*12),ie.m===void 0&&(ie.m="q"in ie?ie.q:0),"V"in ie){if(ie.V<1||ie.V>53)return null;"w"in ie||(ie.w=1),"Z"in ie?(Re=cw(hu(ie.y,0,1)),We=Re.getUTCDay(),Re=We>4||We===0?Mp.ceil(Re):Mp(Re),Re=Um.offset(Re,(ie.V-1)*7),ie.y=Re.getUTCFullYear(),ie.m=Re.getUTCMonth(),ie.d=Re.getUTCDate()+(ie.w+6)%7):(Re=lw(hu(ie.y,0,1)),We=Re.getDay(),Re=We>4||We===0?Dp.ceil(Re):Dp(Re),Re=ed.offset(Re,(ie.V-1)*7),ie.y=Re.getFullYear(),ie.m=Re.getMonth(),ie.d=Re.getDate()+(ie.w+6)%7)}else("W"in ie||"U"in ie)&&("w"in ie||(ie.w="u"in ie?ie.u%7:"W"in ie?1:0),We="Z"in ie?cw(hu(ie.y,0,1)).getUTCDay():lw(hu(ie.y,0,1)).getDay(),ie.m=0,ie.d="W"in ie?(ie.w+6)%7+ie.W*7-(We+5)%7:ie.w+ie.U*7-(We+6)%7);return"Z"in ie?(ie.H+=ie.Z/100|0,ie.M+=ie.Z%100,cw(ie)):lw(ie)}}function T(oe,pe,xe,ie){for(var $e=0,Re=pe.length,We=xe.length,je,Ve;$e<Re;){if(ie>=We)return-1;if(je=pe.charCodeAt($e++),je===37){if(je=pe.charAt($e++),Ve=N[je in JR?pe.charAt($e++):je],!Ve||(ie=Ve(oe,xe,ie))<0)return-1}else if(je!=xe.charCodeAt(ie++))return-1}return ie}function L(oe,pe,xe){var ie=f.exec(pe.slice(xe));return ie?(oe.p=h.get(ie[0].toLowerCase()),xe+ie[0].length):-1}function D(oe,pe,xe){var ie=y.exec(pe.slice(xe));return ie?(oe.w=S.get(ie[0].toLowerCase()),xe+ie[0].length):-1}function M(oe,pe,xe){var ie=p.exec(pe.slice(xe));return ie?(oe.w=g.get(ie[0].toLowerCase()),xe+ie[0].length):-1}function $(oe,pe,xe){var ie=w.exec(pe.slice(xe));return ie?(oe.m=j.get(ie[0].toLowerCase()),xe+ie[0].length):-1}function H(oe,pe,xe){var ie=b.exec(pe.slice(xe));return ie?(oe.m=v.get(ie[0].toLowerCase()),xe+ie[0].length):-1}function U(oe,pe,xe){return T(oe,t,pe,xe)}function z(oe,pe,xe){return T(oe,n,pe,xe)}function W(oe,pe,xe){return T(oe,r,pe,xe)}function Z(oe){return a[oe.getDay()]}function V(oe){return o[oe.getDay()]}function ee(oe){return c[oe.getMonth()]}function R(oe){return s[oe.getMonth()]}function B(oe){return i[+(oe.getHours()>=12)]}function X(oe){return 1+~~(oe.getMonth()/3)}function F(oe){return a[oe.getUTCDay()]}function he(oe){return o[oe.getUTCDay()]}function ye(oe){return c[oe.getUTCMonth()]}function le(oe){return s[oe.getUTCMonth()]}function ce(oe){return i[+(oe.getUTCHours()>=12)]}function ve(oe){return 1+~~(oe.getUTCMonth()/3)}return{format:function(oe){var pe=P(oe+="",_);return pe.toString=function(){return oe},pe},parse:function(oe){var pe=C(oe+="",!1);return pe.toString=function(){return oe},pe},utcFormat:function(oe){var pe=P(oe+="",E);return pe.toString=function(){return oe},pe},utcParse:function(oe){var pe=C(oe+="",!0);return pe.toString=function(){return oe},pe}}}var JR={"-":"",_:" ",0:"0"},un=/^\s*\d+/,Yse=/^%/,Jse=/[\\^$*+?|[\]().{}]/g;function st(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function Qse(e){return e.replace(Jse,"\\$&")}function pu(e){return new RegExp("^(?:"+e.map(Qse).join("|")+")","i")}function mu(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function Zse(e,t,n){var r=un.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function ele(e,t,n){var r=un.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function tle(e,t,n){var r=un.exec(t.slice(n,n+2));
vendor: 4,106 bytes, line 313
313return r?(e.U=+r[0],n+r[0].length):-1}function nle(e,t,n){var r=un.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function rle(e,t,n){var r=un.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function QR(e,t,n){var r=un.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function ZR(e,t,n){var r=un.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ile(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ole(e,t,n){var r=un.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function ale(e,t,n){var r=un.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function eI(e,t,n){var r=un.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function sle(e,t,n){var r=un.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function tI(e,t,n){var r=un.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function lle(e,t,n){var r=un.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function cle(e,t,n){var r=un.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function ule(e,t,n){var r=un.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function fle(e,t,n){var r=un.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function dle(e,t,n){var r=Yse.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function hle(e,t,n){var r=un.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function ple(e,t,n){var r=un.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function nI(e,t){return st(e.getDate(),t,2)}function mle(e,t){return st(e.getHours(),t,2)}function gle(e,t){return st(e.getHours()%12||12,t,2)}function yle(e,t){return st(1+ed.count(Ji(e),e),t,3)}function T3(e,t){return st(e.getMilliseconds(),t,3)}function vle(e,t){return T3(e,t)+"000"}function xle(e,t){return st(e.getMonth()+1,t,2)}function ble(e,t){return st(e.getMinutes(),t,2)}function wle(e,t){return st(e.getSeconds(),t,2)}function Sle(e){var t=e.getDay();return t===0?7:t}function jle(e,t){return st(qm.count(Ji(e)-1,e),t,2)}function R3(e){var t=e.getDay();return t>=4||t===0?$l(e):$l.ceil(e)}function _le(e,t){return e=R3(e),st($l.count(Ji(e),e)+(Ji(e).getDay()===4),t,2)}function kle(e){return e.getDay()}function Ele(e,t){return st(Dp.count(Ji(e)-1,e),t,2)}function Nle(e,t){return st(e.getFullYear()%100,t,2)}function Ple(e,t){return e=R3(e),st(e.getFullYear()%100,t,2)}function Ale(e,t){return st(e.getFullYear()%1e4,t,4)}function Ole(e,t){var n=e.getDay();return e=n>=4||n===0?$l(e):$l.ceil(e),st(e.getFullYear()%1e4,t,4)}function Cle(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+st(t/60|0,"0",2)+st(t%60,"0",2)}function rI(e,t){return st(e.getUTCDate(),t,2)}function Tle(e,t){return st(e.getUTCHours(),t,2)}function Rle(e,t){return st(e.getUTCHours()%12||12,t,2)}function Ile(e,t){return st(1+Um.count(Qi(e),e),t,3)}function I3(e,t){return st(e.getUTCMilliseconds(),t,3)}function Dle(e,t){return I3(e,t)+"000"}function Mle(e,t){return st(e.getUTCMonth()+1,t,2)}function Lle(e,t){return st(e.getUTCMinutes(),t,2)}function $le(e,t){return st(e.getUTCSeconds(),t,2)}function Fle(e){var t=e.getUTCDay();return t===0?7:t}function Ble(e,t){return st(Hm.count(Qi(e)-1,e),t,2)}function D3(e){var t=e.getUTCDay();return t>=4||t===0?Fl(e):Fl.ceil(e)}function zle(e,t){return e=D3(e),st(Fl.count(Qi(e),e)+(Qi(e).getUTCDay()===4),t,2)}function Ule(e){return e.getUTCDay()}function qle(e,t){return st(Mp.count(Qi(e)-1,e),t,2)}function Hle(e,t){return st(e.getUTCFullYear()%100,t,2)}function Wle(e,t){return e=D3(e),st(e.getUTCFullYear()%100,t,2)}function Vle(e,t){return st(e.getUTCFullYear()%1e4,t,4)}function Gle(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Fl(e):Fl.ceil(e),st(e.getUTCFullYear()%1e4,t,4)}function Kle(){return"+0000"}function iI(){return"%"}function oI(e){return+e}function aI(e){return Math.floor(+e/1e3)}var Qs,M3,L3;Xle({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
313ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Xle(e){return Qs=Xse(e),M3=Qs.format,Qs.parse,L3=Qs.utcFormat,Qs.utcParse,Qs}function Yle(e){return new Date(e)}function Jle(e){return e instanceof Date?+e:+new Date(+e)}function ok(e,t,n,r,i,o,a,s,c,f){var h=W_(),p=h.invert,g=h.domain,y=f(".%L"),S=f(":%S"),b=f("%I:%M"),v=f("%I %p"),w=f("%a %d"),j=f("%b %d"),_=f("%B"),E=f("%Y");function N(P){return(c(P)<P?y:s(P)<P?S:a(P)<P?b:o(P)<P?v:r(P)<P?i(P)<P?w:j:n(P)<P?_:E)(P)}return h.invert=function(P){return new Date(p(P))},h.domain=function(P){return arguments.length?g(Array.from(P,Jle)):g().map(Yle)},h.ticks=function(P){var C=g();return e(C[0],C[C.length-1],P??10)},h.tickFormat=function(P,C){return C==null?N:f(C)},h.nice=function(P){var C=g();return(!P||typeof P.range!="function")&&(P=t(C[0],C[C.length-1],P??10)),P?g(j3(C,P)):h},h.copy=function(){return Zf(h,ok(e,t,n,r,i,o,a,s,c,f))},h}function Qle(){return Cr.apply(ok(Gse,Kse,Ji,rk,qm,ed,tk,Z_,Ua,M3).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Zle(){return Cr.apply(ok(Wse,Vse,Qi,ik,Hm,Um,nk,ek,Ua,L3).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Wm(){var e=0,t=1,n,r,i,o,a=Fn,s=!1,c;function f(p){return p==null||isNaN(p=+p)?c:a(i===0?.5:(p=(o(p)-n)*i,s?Math.max(0,Math.min(1,p)):p))}f.domain=function(p){return arguments.length?([e,t]=p,n=o(e=+e),r=o(t=+t),i=n===r?0:1/(r-n),f):[e,t]},f.clamp=function(p){return arguments.length?(s=!!p,f):s},f.interpolator=function(p){return arguments.length?(a=p,f):a};function h(p){return function(g){var y,S;return arguments.length?([y,S]=g,a=p(y,S),f):[a(0),a(1)]}}return f.range=h(pc),f.rangeRound=h(H_),f.unknown=function(p){return arguments.length?(c=p,f):c},function(p){return o=p,n=p(e),r=p(t),i=n===r?0:1/(r-n),f}}function aa(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function $3(){var e=oa(Wm()(Fn));return e.copy=function(){return aa(e,$3())},oo.apply(e,arguments)}function F3(){var e=K_(Wm()).domain([1,10]);return e.copy=function(){return aa(e,F3()).base(e.base())},oo.apply(e,arguments)}function B3(){var e=X_(Wm());return e.copy=function(){return aa(e,B3()).constant(e.constant())},oo.apply(e,arguments)}function ak(){var e=Y_(Wm());return e.copy=function(){return aa(e,ak()).exponent(e.exponent())},oo.apply(e,arguments)}function ece(){return ak.apply(null,arguments).exponent(.5)}function z3(){var e=[],t=Fn;function n(r){if(r!=null&&!isNaN(r=+r))return t((Jf(e,r,1)-1)/(e.length-1))}return n.domain=function(r){if(!arguments.length)return e.slice();e=[];for(let i of r)i!=null&&!isNaN(i=+i)&&e.push(i);return e.sort(Jo),n},n.interpolator=function(r){return arguments.length?(t=r,n):t},n.range=function(){return e.map((r,i)=>t(i/(e.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(i,o)=>Bae(e,o/r))},n.copy=function(){return z3(t).domain(e)},oo.apply(n,arguments)}function Vm(){var e=0,t=.5,n=1,r=1,i,o,a,s,c,f=Fn,h,p=!1,g;function y(b){return isNaN(b=+b)?g:(b=.5+((b=+h(b))-o)*(r*b<r*o?s:c),f(p?Math.max(0,Math.min(1,b)):b))}y.domain=function(b){return arguments.length?([e,t,n]=b,i=h(e=+e),o=h(t=+t),a=h(n=+n),s=i===o?0:.5/(o-i),c=o===a?0:.5/(a-o),r=o<i?-1:1,y):[e,t,n]},y.clamp=function(b){return arguments.length?(p=!!b,y):p},y.interpolator=function(b){return arguments.length?(f=b,y):f};function S(b){return function(v){var w,j,_;return arguments.length?([w,j,_]=v,f=dse(b,[w,j,_]),y):[f(0),f(.5),f(1)]}}return y.range=S(pc),y.rangeRound=S(H_),y.unknown=function(b){return arguments.length?(g=b,y):g},function(b){return h=b,i=b(e),o=b(t),a=b(n),s=i===o?0:.5/(o-i),c=o===a?0:.5/(a-o),r=o<i?-1:1,y}}function U3(){var e=oa(Vm()(Fn));return e.copy=function(){return aa(e,U3())},oo.apply(e,arguments)}function q3(){var e=K_(Vm()).domain([.1,1,10]);return e.copy=function(){return aa(e,q3()).base(e.base())},oo.apply(e,arguments)}function H3(){var e=X_(Vm());return e.copy=function(){return aa(e,H3()).constant(e.constant())},oo.apply(e,arguments)}function sk(){var e=Y_(Vm());return e.copy=function(){return aa(e,sk()).exponent(e.exponent())},oo.apply(e,arguments)}function tce(){return sk.apply(null,arguments).exponent(.5)}const sI=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:ef,scaleDiverging:U3,scaleDivergingLog:q3,scaleDivergingPow:sk,scaleDivergingSqrt:tce,scaleDivergingSymlog:H3,scaleIdentity:S3,scaleImplicit:xS,scaleLinear:Rp,scaleLog:_3,scaleOrdinal:z_,scalePoint:Iu,scalePow:J_,scaleQuantile:N3,scaleQuantize:P3,scaleRadial:E3,scaleSequential:$3,scaleSequentialLog:F3,scaleSequentialPow:ak,scaleSequentialQuantile:z3,scaleSequentialSqrt:ece,scaleSequentialSymlog:B3,scaleSqrt:Dse,scaleSymlog:k3,scaleThreshold:A3,scaleTime:Qle,scaleUtc:Zle,tickFormat:w3},Symbol.toStringTag,{value:"Module"}));var uw,lI;function Gm(){if(lI)return uw;lI=1;var e=uc();function t(n,r,i){for(var o=-1,a=n.length;++o<a;){var s=n[o],c=r(s);if(c!=null&&(f===void 0?c===c&&!e(c):i(c,f)))var f=c,h=s}return h}return uw=t,uw}var fw,cI;function W3(){if(cI)return fw;cI=1;function e(t,n){return t>n}return fw=e,fw}var dw,uI;function nce(){if(uI)return dw;uI=1;var e=Gm(),t=W3(),n=dc();function r(i){return i&&i.length?e(i,n,t):void 0}return dw=r,dw}var rce=nce();const Km=lt(rce);var hw,fI;
vendor: 133,206 bytes, lines 313-359
313function V3(){if(fI)return hw;fI=1;function e(t,n){return t<n}return hw=e,hw}var pw,dI;function ice(){if(dI)return pw;dI=1;var e=Gm(),t=V3(),n=dc();function r(i){return i&&i.length?e(i,n,t):void 0}return pw=r,pw}var oce=ice();const Xm=lt(oce);var mw,hI;function ace(){if(hI)return mw;hI=1;var e=j_(),t=ji(),n=t3(),r=Zn();function i(o,a){var s=r(o)?e:n;return s(o,t(a,3))}return mw=i,mw}var gw,pI;function sce(){if(pI)return gw;pI=1;var e=Z5(),t=ace();function n(r,i){return e(t(r,i),1)}return gw=n,gw}var lce=sce();const cce=lt(lce);var yw,mI;function uce(){if(mI)return yw;mI=1;var e=M_();function t(n,r){return e(n,r)}return yw=t,yw}var fce=uce();const Ym=lt(fce);var mc=1e9,dce={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},ck,Ot=!0,Or="[DecimalError] ",ns=Or+"Invalid argument: ",lk=Or+"Exponent out of range: ",gc=Math.floor,Ia=Math.pow,hce=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,cr,ln=1e7,Nt=7,G3=9007199254740991,Lp=gc(G3/Nt),Ne={};Ne.absoluteValue=Ne.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};Ne.comparedTo=Ne.cmp=function(e){var t,n,r,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(r=o.d.length,i=e.d.length,t=0,n=r<i?r:i;t<n;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1};Ne.decimalPlaces=Ne.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*Nt;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};Ne.dividedBy=Ne.div=function(e){return Ki(this,new this.constructor(e))};Ne.dividedToIntegerBy=Ne.idiv=function(e){var t=this,n=t.constructor;return gt(Ki(t,new n(e),0,1),n.precision)};Ne.equals=Ne.eq=function(e){return!this.cmp(e)};Ne.exponent=function(){return Gt(this)};Ne.greaterThan=Ne.gt=function(e){return this.cmp(e)>0};Ne.greaterThanOrEqualTo=Ne.gte=function(e){return this.cmp(e)>=0};Ne.isInteger=Ne.isint=function(){return this.e>this.d.length-2};Ne.isNegative=Ne.isneg=function(){return this.s<0};Ne.isPositive=Ne.ispos=function(){return this.s>0};Ne.isZero=function(){return this.s===0};Ne.lessThan=Ne.lt=function(e){return this.cmp(e)<0};Ne.lessThanOrEqualTo=Ne.lte=function(e){return this.cmp(e)<1};Ne.logarithm=Ne.log=function(e){var t,n=this,r=n.constructor,i=r.precision,o=i+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(cr))throw Error(Or+"NaN");if(n.s<1)throw Error(Or+(n.s?"NaN":"-Infinity"));return n.eq(cr)?new r(0):(Ot=!1,t=Ki(af(n,o),af(e,o),o),Ot=!0,gt(t,i))};Ne.minus=Ne.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Y3(t,e):K3(t,(e.s=-e.s,e))};Ne.modulo=Ne.mod=function(e){var t,n=this,r=n.constructor,i=r.precision;if(e=new r(e),!e.s)throw Error(Or+"NaN");return n.s?(Ot=!1,t=Ki(n,e,0,1).times(e),Ot=!0,n.minus(t)):gt(new r(n),i)};Ne.naturalExponential=Ne.exp=function(){return X3(this)};Ne.naturalLogarithm=Ne.ln=function(){return af(this)};Ne.negated=Ne.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};Ne.plus=Ne.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?K3(t,e):Y3(t,(e.s=-e.s,e))};Ne.precision=Ne.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(ns+e);if(t=Gt(i)+1,r=i.d.length-1,n=r*Nt+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n};Ne.squareRoot=Ne.sqrt=function(){var e,t,n,r,i,o,a,s=this,c=s.constructor;if(s.s<1){if(!s.s)return new c(0);throw Error(Or+"NaN")}for(e=Gt(s),Ot=!1,i=Math.sqrt(+s),i==0||i==1/0?(t=fi(s.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=gc((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),r=new c(t)):r=new c(i.toString()),n=c.precision,i=a=n+3;;)if(o=r,r=o.plus(Ki(s,o,a+2)).times(.5),fi(o.d).slice(0,a)===(t=fi(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&t=="4999"){if(gt(o,n+1,0),o.times(o).eq(s)){r=o;break}}else if(t!="9999")break;a+=4}return Ot=!0,gt(r,n)};Ne.times=Ne.mul=function(e){var t,n,r,i,o,a,s,c,f,h=this,p=h.constructor,g=h.d,y=(e=new p(e)).d;if(!h.s||!e.s)return new p(0);for(e.s*=h.s,n=h.e+e.e,c=g.length,f=y.length,c<f&&(o=g,g=y,y=o,a=c,c=f,f=a),o=[],a=c+f,r=a;r--;)o.push(0);for(r=f;--r>=0;){for(t=0,i=c+r;i>r;)s=o[i]+y[r]*g[i-r-1]+t,o[i--]=s%ln|0,t=s/ln|0;o[i]=(o[i]+t)%ln|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,Ot?gt(e,p.precision):e};Ne.toDecimalPlaces=Ne.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(vi(e,0,mc),t===void 0?t=r.rounding:vi(t,0,8),gt(n,e+Gt(n)+1,t))};Ne.toExponential=function(e,t){var n,r=this,i=r.constructor;return e===void 0?n=us(r,!0):(vi(e,0,mc),t===void 0?t=i.rounding:vi(t,0,8),r=gt(new i(r),e+1,t),n=us(r,!0,e+1)),n};Ne.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return e===void 0?us(i):(vi(e,0,mc),t===void 0?t=o.rounding:vi(t,0,8),r=gt(new o(i),e+Gt(i)+1,t),n=us(r.abs(),!1,e+Gt(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)};Ne.toInteger=Ne.toint=function(){var e=this,t=e.constructor;return gt(new t(e),Gt(e)+1,t.rounding)};Ne.toNumber=function(){return+this};Ne.toPower=Ne.pow=function(e){var t,n,r,i,o,a,s=this,c=s.constructor,f=12,h=+(e=new c(e));if(!e.s)return new c(cr);if(s=new c(s),!s.s){if(e.s<1)throw Error(Or+"Infinity");return s}if(s.eq(cr))return s;if(r=c.precision,e.eq(cr))return gt(s,r);if(t=e.e,n=e.d.length-1,a=t>=n,o=s.s,a){if((n=h<0?-h:h)<=G3){for(i=new c(cr),t=Math.ceil(r/Nt+4),Ot=!1;n%2&&(i=i.times(s),yI(i.d,t)),n=gc(n/2),n!==0;)s=s.times(s),yI(s.d,t);return Ot=!0,e.s<0?new c(cr).div(i):gt(i,r)}}else if(o<0)throw Error(Or+"NaN");return o=o<0&&e.d[Math.max(t,n)]&1?-1:1,s.s=1,Ot=!1,i=e.times(af(s,r+f)),Ot=!0,i=X3(i),i.s=o,i};Ne.toPrecision=function(e,t){var n,r,i=this,o=i.constructor;return e===void 0?(n=Gt(i),r=us(i,n<=o.toExpNeg||n>=o.toExpPos)):(vi(e,1,mc),t===void 0?t=o.rounding:vi(t,0,8),i=gt(new o(i),e,t),n=Gt(i),r=us(i,e<=n||n<=o.toExpNeg,e)),r};Ne.toSignificantDigits=Ne.tosd=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(vi(e,1,mc),t===void 0?t=r.rounding:vi(t,0,8)),gt(new r(n),e,t)};Ne.toString=Ne.valueOf=Ne.val=Ne.toJSON=Ne[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Gt(e),n=e.constructor;return us(e,t<=n.toExpNeg||t>=n.toExpPos)};function K3(e,t){var n,r,i,o,a,s,c,f,h=e.constructor,p=h.precision;if(!e.s||!t.s)return t.s||(t=new h(e)),Ot?gt(t,p):t;if(c=e.d,f=t.d,a=e.e,i=t.e,c=c.slice(),o=a-i,o){for(o<0?(r=c,o=-o,s=f.length):(r=f,i=a,s=c.length),a=Math.ceil(p/Nt),s=a>s?a+1:s+1,o>s&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(s=c.length,o=f.length,s-o<0&&(o=s,r=f,f=c,c=r),n=0;o;)n=(c[--o]=c[o]+f[o]+n)/ln|0,c[o]%=ln;for(n&&(c.unshift(n),++i),s=c.length;c[--s]==0;)c.pop();return t.d=c,t.e=i,Ot?gt(t,p):t}function vi(e,t,n){if(e!==~~e||e<t||e>n)throw Error(ns+e)}function fi(e){var t,n,r,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)r=e[t]+"",n=Nt-r.length,n&&(o+=Do(n)),o+=r;a=e[t],r=a+"",n=Nt-r.length,n&&(o+=Do(n))}else if(a===0)return"0";for(;a%10===0;)a/=10;return o+a}var Ki=(function(){function e(r,i){var o,a=0,s=r.length;for(r=r.slice();s--;)o=r[s]*i+a,r[s]=o%ln|0,a=o/ln|0;return a&&r.unshift(a),r}function t(r,i,o,a){var s,c;if(o!=a)c=o>a?1:-1;else for(s=c=0;s<o;s++)if(r[s]!=i[s]){c=r[s]>i[s]?1:-1;break}return c}function n(r,i,o){for(var a=0;o--;)r[o]-=a,a=r[o]<i[o]?1:0,r[o]=a*ln+r[o]-i[o];for(;!r[0]&&r.length>1;)r.shift()}return function(r,i,o,a){var s,c,f,h,p,g,y,S,b,v,w,j,_,E,N,P,C,T,L=r.constructor,D=r.s==i.s?1:-1,M=r.d,$=i.d;if(!r.s)return new L(r);if(!i.s)throw Error(Or+"Division by zero");for(c=r.e-i.e,C=$.length,N=M.length,y=new L(D),S=y.d=[],f=0;$[f]==(M[f]||0);)++f;if($[f]>(M[f]||0)&&--c,o==null?j=o=L.precision:a?j=o+(Gt(r)-Gt(i))+1:j=o,j<0)return new L(0);if(j=j/Nt+2|0,f=0,C==1)for(h=0,$=$[0],j++;(f<N||h)&&j--;f++)_=h*ln+(M[f]||0),S[f]=_/$|0,h=_%$|0;else{for(h=ln/($[0]+1)|0,h>1&&($=e($,h),M=e(M,h),C=$.length,N=M.length),E=C,b=M.slice(0,C),v=b.length;v<C;)b[v++]=0;T=$.slice(),T.unshift(0),P=$[0],$[1]>=ln/2&&++P;do h=0,s=t($,b,C,v),s<0?(w=b[0],C!=v&&(w=w*ln+(b[1]||0)),h=w/P|0,h>1?(h>=ln&&(h=ln-1),p=e($,h),g=p.length,v=b.length,s=t(p,b,g,v),s==1&&(h--,n(p,C<g?T:$,g))):(h==0&&(s=h=1),p=$.slice()),g=p.length,g<v&&p.unshift(0),n(b,p,v),s==-1&&(v=b.length,s=t($,b,C,v),s<1&&(h++,n(b,C<v?T:$,v))),v=b.length):s===0&&(h++,b=[0]),S[f++]=h,s&&b[0]?b[v++]=M[E]||0:(b=[M[E]],v=1);while((E++<N||b[0]!==void 0)&&j--)}return S[0]||S.shift(),y.e=c,gt(y,a?o+Gt(y)+1:o)}})();function X3(e,t){var n,r,i,o,a,s,c=0,f=0,h=e.constructor,p=h.precision;if(Gt(e)>16)throw Error(lk+Gt(e));if(!e.s)return new h(cr);for(Ot=!1,s=p,a=new h(.03125);e.abs().gte(.1);)e=e.times(a),f+=5;for(r=Math.log(Ia(2,f))/Math.LN10*2+5|0,s+=r,n=i=o=new h(cr),h.precision=s;;){if(i=gt(i.times(e),s),n=n.times(++c),a=o.plus(Ki(i,n,s)),fi(a.d).slice(0,s)===fi(o.d).slice(0,s)){for(;f--;)o=gt(o.times(o),s);return h.precision=p,t==null?(Ot=!0,gt(o,p)):o}o=a}}function Gt(e){for(var t=e.e*Nt,n=e.d[0];n>=10;n/=10)t++;return t}function vw(e,t,n){if(t>e.LN10.sd())throw Ot=!0,n&&(e.precision=n),Error(Or+"LN10 precision limit exceeded");return gt(new e(e.LN10),t)}function Do(e){for(var t="";e--;)t+="0";return t}function af(e,t){var n,r,i,o,a,s,c,f,h,p=1,g=10,y=e,S=y.d,b=y.constructor,v=b.precision;if(y.s<1)throw Error(Or+(y.s?"NaN":"-Infinity"));if(y.eq(cr))return new b(0);if(t==null?(Ot=!1,f=v):f=t,y.eq(10))return t==null&&(Ot=!0),vw(b,f);if(f+=g,b.precision=f,n=fi(S),r=n.charAt(0),o=Gt(y),Math.abs(o)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)y=y.times(e),n=fi(y.d),r=n.charAt(0),p++;o=Gt(y),r>1?(y=new b("0."+n),o++):y=new b(r+"."+n.slice(1))}else return c=vw(b,f+2,v).times(o+""),y=af(new b(r+"."+n.slice(1)),f-g).plus(c),b.precision=v,t==null?(Ot=!0,gt(y,v)):y;for(s=a=y=Ki(y.minus(cr),y.plus(cr),f),h=gt(y.times(y),f),i=3;;){if(a=gt(a.times(h),f),c=s.plus(Ki(a,new b(i),f)),fi(c.d).slice(0,f)===fi(s.d).slice(0,f))return s=s.times(2),o!==0&&(s=s.plus(vw(b,f+2,v).times(o+""))),s=Ki(s,new b(p),f),b.precision=v,t==null?(Ot=!0,gt(s,v)):s;s=c,i+=2}}function gI(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(r,i),t){if(i-=r,n=n-r-1,e.e=gc(n/Nt),e.d=[],r=(n+1)%Nt,n<0&&(r+=Nt),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=Nt;r<i;)e.d.push(+t.slice(r,r+=Nt));t=t.slice(r),r=Nt-t.length}else r-=i;for(;r--;)t+="0";if(e.d.push(+t),Ot&&(e.e>Lp||e.e<-Lp))throw Error(lk+n)}else e.s=0,e.e=0,e.d=[0];return e}function gt(e,t,n){var r,i,o,a,s,c,f,h,p=e.d;for(a=1,o=p[0];o>=10;o/=10)a++;if(r=t-a,r<0)r+=Nt,i=t,f=p[h=0];else{if(h=Math.ceil((r+1)/Nt),o=p.length,h>=o)return e;for(f=o=p[h],a=1;o>=10;o/=10)a++;r%=Nt,i=r-Nt+a}if(n!==void 0&&(o=Ia(10,a-i-1),s=f/o%10|0,c=t<0||p[h+1]!==void 0||f%o,c=n<4?(s||c)&&(n==0||n==(e.s<0?3:2)):s>5||s==5&&(n==4||c||n==6&&(r>0?i>0?f/Ia(10,a-i):0:p[h-1])%10&1||n==(e.s<0?8:7))),t<1||!p[0])return c?(o=Gt(e),p.length=1,t=t-o-1,p[0]=Ia(10,(Nt-t%Nt)%Nt),e.e=gc(-t/Nt)||0):(p.length=1,p[0]=e.e=e.s=0),e;if(r==0?(p.length=h,o=1,h--):(p.length=h+1,o=Ia(10,Nt-r),p[h]=i>0?(f/Ia(10,a-i)%Ia(10,i)|0)*o:0),c)for(;;)if(h==0){(p[0]+=o)==ln&&(p[0]=1,++e.e);break}else{if(p[h]+=o,p[h]!=ln)break;p[h--]=0,o=1}for(r=p.length;p[--r]===0;)p.pop();if(Ot&&(e.e>Lp||e.e<-Lp))throw Error(lk+Gt(e));return e}function Y3(e,t){var n,r,i,o,a,s,c,f,h,p,g=e.constructor,y=g.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new g(e),Ot?gt(t,y):t;if(c=e.d,p=t.d,r=t.e,f=e.e,c=c.slice(),a=f-r,a){for(h=a<0,h?(n=c,a=-a,s=p.length):(n=p,r=f,s=c.length),i=Math.max(Math.ceil(y/Nt),s)+2,a>i&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for(i=c.length,s=p.length,h=i<s,h&&(s=i),i=0;i<s;i++)if(c[i]!=p[i]){h=c[i]<p[i];break}a=0}for(h&&(n=c,c=p,p=n,t.s=-t.s),s=c.length,i=p.length-s;i>0;--i)c[s++]=0;for(i=p.length;i>a;){if(c[--i]<p[i]){for(o=i;o&&c[--o]===0;)c[o]=ln-1;--c[o],c[i]+=ln}c[i]-=p[i]}for(;c[--s]===0;)c.pop();for(;c[0]===0;c.shift())--r;return c[0]?(t.d=c,t.e=r,Ot?gt(t,y):t):new g(0)}function us(e,t,n){var r,i=Gt(e),o=fi(e.d),a=o.length;return t?(n&&(r=n-a)>0?o=o.charAt(0)+"."+o.slice(1)+Do(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+Do(-i-1)+o,n&&(r=n-a)>0&&(o+=Do(r))):i>=a?(o+=Do(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+Do(r))):((r=i+1)<a&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-a)>0&&(i+1===a&&(o+="."),o+=Do(r))),e.s<0?"-"+o:o}function yI(e,t){if(e.length>t)return e.length=t,!0}function J3(e){var t,n,r;function i(o){var a=this;if(!(a instanceof i))return new i(o);if(a.constructor=i,o instanceof i){a.s=o.s,a.e=o.e,a.d=(o=o.d)?o.slice():o;return}if(typeof o=="number"){if(o*0!==0)throw Error(ns+o);if(o>0)a.s=1;else if(o<0)o=-o,a.s=-1;else{a.s=0,a.e=0,a.d=[0];return}if(o===~~o&&o<1e7){a.e=0,a.d=[o];return}return gI(a,o.toString())}else if(typeof o!="string")throw Error(ns+o);if(o.charCodeAt(0)===45?(o=o.slice(1),a.s=-1):a.s=1,hce.test(o))gI(a,o);else throw Error(ns+o)}if(i.prototype=Ne,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=J3,i.config=i.set=pce,e===void 0&&(e={}),e)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return i.config(e),i}function pce(e){if(!e||typeof e!="object")throw Error(Or+"Object expected");var t,n,r,i=["precision",1,mc,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if((r=e[n=i[t]])!==void 0)if(gc(r)===r&&r>=i[t+1]&&r<=i[t+2])this[n]=r;else throw Error(ns+n+": "+r);if((r=e[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(ns+n+": "+r);return this}var ck=J3(dce);cr=new ck(1);const mt=ck;function mce(e){return xce(e)||vce(e)||yce(e)||gce()}function gce(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 314In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yce(e,t){if(e){if(typeof e=="string")return jS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jS(e,t)}}function vce(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function xce(e){if(Array.isArray(e))return jS(e)}function jS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var bce=function(t){return t},Q3={},Z3=function(t){return t===Q3},vI=function(t){return function n(){return arguments.length===0||arguments.length===1&&Z3(arguments.length<=0?void 0:arguments[0])?n:t.apply(void 0,arguments)}},wce=function e(t,n){return t===1?n:vI(function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.filter(function(s){return s!==Q3}).length;return a>=t?n.apply(void 0,i):e(t-a,vI(function(){for(var s=arguments.length,c=new Array(s),f=0;f<s;f++)c[f]=arguments[f];var h=i.map(function(p){return Z3(p)?c.shift():p});return n.apply(void 0,mce(h).concat(c))}))})},Jm=function(t){return wce(t.length,t)},_S=function(t,n){for(var r=[],i=t;i<n;++i)r[i-t]=i;return r},Sce=Jm(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(n){return t[n]}).map(e)}),jce=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return bce;var i=n.reverse(),o=i[0],a=i.slice(1);return function(){return a.reduce(function(s,c){return c(s)},o.apply(void 0,arguments))}},kS=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},eF=function(t){var n=null,r=null;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n&&o.every(function(s,c){return s===n[c]})||(n=o,r=t.apply(void 0,o)),r}};function _ce(e){var t;return e===0?t=1:t=Math.floor(new mt(e).abs().log(10).toNumber())+1,t}function kce(e,t,n){for(var r=new mt(e),i=0,o=[];r.lt(t)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o}var Ece=Jm(function(e,t,n){var r=+e,i=+t;return r+n*(i-r)}),Nce=Jm(function(e,t,n){var r=t-+e;return r=r||1/0,(n-e)/r}),Pce=Jm(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});const Qm={rangeStep:kce,getDigitCount:_ce,interpolateNumber:Ece,uninterpolateNumber:Nce,uninterpolateTruncation:Pce};function ES(e){return Cce(e)||Oce(e)||tF(e)||Ace()}function Ace(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 315In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oce(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Cce(e){if(Array.isArray(e))return NS(e)}function sf(e,t){return Ice(e)||Rce(e,t)||tF(e,t)||Tce()}function Tce(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 316In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tF(e,t){if(e){if(typeof e=="string")return NS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return NS(e,t)}}function NS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Rce(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,o=void 0;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(c){i=!0,o=c}finally{try{!r&&a.return!=null&&a.return()}finally{if(i)throw o}}return n}}function Ice(e){if(Array.isArray(e))return e}function nF(e){var t=sf(e,2),n=t[0],r=t[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function rF(e,t,n){if(e.lte(0))return new mt(0);var r=Qm.getDigitCount(e.toNumber()),i=new mt(10).pow(r),o=e.div(i),a=r!==1?.05:.1,s=new mt(Math.ceil(o.div(a).toNumber())).add(n).mul(a),c=s.mul(i);return t?c:new mt(Math.ceil(c))}function Dce(e,t,n){var r=1,i=new mt(e);if(!i.isint()&&n){var o=Math.abs(e);o<1?(r=new mt(10).pow(Qm.getDigitCount(e)-1),i=new mt(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new mt(Math.floor(e)))}else e===0?i=new mt(Math.floor((t-1)/2)):n||(i=new mt(Math.floor(e)));var a=Math.floor((t-1)/2),s=jce(Sce(function(c){return i.add(new mt(c-a).mul(r)).toNumber()}),_S);return s(0,t)}function iF(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new mt(0),tickMin:new mt(0),tickMax:new mt(0)};var o=rF(new mt(t).sub(e).div(n-1),r,i),a;e<=0&&t>=0?a=new mt(0):(a=new mt(e).add(t).div(2),a=a.sub(new mt(a).mod(o)));var s=Math.ceil(a.sub(e).div(o).toNumber()),c=Math.ceil(new mt(t).sub(a).div(o).toNumber()),f=s+c+1;return f>n?iF(e,t,n,r,i+1):(f<n&&(c=t>0?c+(n-f):c,s=t>0?s:s+(n-f)),{step:o,tickMin:a.sub(new mt(s).mul(o)),tickMax:a.add(new mt(c).mul(o))})}function Mce(e){var t=sf(e,2),n=t[0],r=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Math.max(i,2),s=nF([n,r]),c=sf(s,2),f=c[0],h=c[1];if(f===-1/0||h===1/0){var p=h===1/0?[f].concat(ES(_S(0,i-1).map(function(){return 1/0}))):[].concat(ES(_S(0,i-1).map(function(){return-1/0})),[h]);return n>r?kS(p):p}if(f===h)return Dce(f,i,o);var g=iF(f,h,a,o),y=g.step,S=g.tickMin,b=g.tickMax,v=Qm.rangeStep(S,b.add(new mt(.1).mul(y)),y);return n>r?kS(v):v}function Lce(e,t){var n=sf(e,2),r=n[0],i=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=nF([r,i]),s=sf(a,2),c=s[0],f=s[1];if(c===-1/0||f===1/0)return[r,i];if(c===f)return[c];var h=Math.max(t,2),p=rF(new mt(f).sub(c).div(h-1),o,0),g=[].concat(ES(Qm.rangeStep(new mt(c),new mt(f).sub(new mt(.99).mul(p)),p)),[f]);return r>i?kS(g):g}var $ce=eF(Mce),Fce=eF(Lce),Bce="Invariant failed";function fs(e,t){throw new Error(Bce)}var zce=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Bl(e){"@babel/helpers - typeof";return Bl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bl(e)}function $p(){return $p=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},$p.apply(this,arguments)}function Uce(e,t){return Vce(e)||Wce(e,t)||Hce(e,t)||qce()}function qce(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 317In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hce(e,t){if(e){if(typeof e=="string")return xI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xI(e,t)}}function xI(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wce(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function Vce(e){if(Array.isArray(e))return e}function Gce(e,t){if(e==null)return{};var n=Kce(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Kce(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Xce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,sF(r.key),r)}}function Jce(e,t,n){return t&&Yce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Qce(e,t,n){return t=Fp(t),Zce(e,oF()?Reflect.construct(t,n||[],Fp(e).constructor):t.apply(e,n))}function Zce(e,t){if(t&&(Bl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return eue(e)}function eue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oF=function(){return!!e})()}function Fp(e){return Fp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Fp(e)}function tue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&PS(e,t)}function PS(e,t){return PS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},PS(e,t)}function aF(e,t,n){return t=sF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sF(e){var t=nue(e,"string");return Bl(t)=="symbol"?t:t+""}function nue(e,t){if(Bl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Bl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Zm=(function(e){function t(){return Xce(this,t),Qce(this,t,arguments)}return tue(t,e),Jce(t,[{key:"render",value:function(){var r=this.props,i=r.offset,o=r.layout,a=r.width,s=r.dataKey,c=r.data,f=r.dataPointFormatter,h=r.xAxis,p=r.yAxis,g=Gce(r,zce),y=qe(g,!1);this.props.direction==="x"&&h.type!=="number"&&fs();var S=c.map(function(b){var v=f(b,s),w=v.x,j=v.y,_=v.value,E=v.errorVal;if(!E)return null;var N=[],P,C;if(Array.isArray(E)){var T=Uce(E,2);P=T[0],C=T[1]}else P=C=E;if(o==="vertical"){var L=h.scale,D=j+i,M=D+a,$=D-a,H=L(_-P),U=L(_+C);N.push({x1:U,y1:M,x2:U,y2:$}),N.push({x1:H,y1:D,x2:U,y2:D}),N.push({x1:H,y1:M,x2:H,y2:$})}else if(o==="horizontal"){var z=p.scale,W=w+i,Z=W-a,V=W+a,ee=z(_-P),R=z(_+C);N.push({x1:Z,y1:R,x2:V,y2:R}),N.push({x1:W,y1:ee,x2:W,y2:R}),N.push({x1:Z,y1:ee,x2:V,y2:ee})}return Y.createElement(pt,$p({className:"recharts-errorBar",key:"bar-".concat(N.map(function(B){return"".concat(B.x1,"-").concat(B.x2,"-").concat(B.y1,"-").concat(B.y2)}))},y),N.map(function(B){return Y.createElement("line",$p({},B,{key:"line-".concat(B.x1,"-").concat(B.x2,"-").concat(B.y1,"-").concat(B.y2)}))}))});return Y.createElement(pt,{className:"recharts-errorBars"},S)}}])})(Y.Component);aF(Zm,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});aF(Zm,"displayName","ErrorBar");function lf(e){"@babel/helpers - typeof";return lf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lf(e)}function bI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Aa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bI(Object(n),!0).forEach(function(r){rue(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bI(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function rue(e,t,n){return t=iue(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iue(e){var t=oue(e,"string");return lf(t)=="symbol"?t:t+""}function oue(e,t){if(lf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(lf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var lF=function(t){var n=t.children,r=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=sr(n,dl);if(!a)return null;var s=dl.defaultProps,c=s!==void 0?Aa(Aa({},s),a.props):{},f;return a.props&&a.props.payload?f=a.props&&a.props.payload:o==="children"?f=(r||[]).reduce(function(h,p){var g=p.item,y=p.props,S=y.sectors||y.data||[];return h.concat(S.map(function(b){return{type:a.props.iconType||g.props.legendType,value:b.name,color:b.fill,payload:b}}))},[]):f=(r||[]).map(function(h){var p=h.item,g=p.type.defaultProps,y=g!==void 0?Aa(Aa({},g),p.props):{},S=y.dataKey,b=y.name,v=y.legendType,w=y.hide;return{inactive:w,dataKey:S,type:c.iconType||v||"square",color:uk(p),value:b||S,payload:y}}),Aa(Aa(Aa({},c),dl.getWithHeight(a,i)),{},{payload:f,item:a})};function cf(e){"@babel/helpers - typeof";return cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cf(e)}function wI(e){return cue(e)||lue(e)||sue(e)||aue()}function aue(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 318In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sue(e,t){if(e){if(typeof e=="string")return AS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return AS(e,t)}}function lue(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cue(e){if(Array.isArray(e))return AS(e)}function AS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function SI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Mt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?SI(Object(n),!0).forEach(function(r){pl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SI(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pl(e,t,n){return t=uue(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uue(e){var t=fue(e,"string");return cf(t)=="symbol"?t:t+""}function fue(e,t){if(cf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(cf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function An(e,t,n){return Qe(e)||Qe(t)?n:en(t)?fr(e,t,n):He(t)?t(e):n}function Du(e,t,n,r){var i=cce(e,function(s){return An(s,t)});if(n==="number"){var o=i.filter(function(s){return we(s)||parseFloat(s)});return o.length?[Xm(o),Km(o)]:[1/0,-1/0]}var a=r?i.filter(function(s){return!Qe(s)}):i;return a.map(function(s){return en(s)||s instanceof Date?s:""})}var due=function(t){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=-1,s=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(s<=1)return 0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var c=o.range,f=0;f<s;f++){var h=f>0?i[f-1].coordinate:i[s-1].coordinate,p=i[f].coordinate,g=f>=s-1?i[0].coordinate:i[f+1].coordinate,y=void 0;if(Ln(p-h)!==Ln(g-p)){var S=[];if(Ln(g-p)===Ln(c[1]-c[0])){y=g;var b=p+c[1]-c[0];S[0]=Math.min(b,(b+h)/2),S[1]=Math.max(b,(b+h)/2)}else{y=h;var v=g+c[1]-c[0];S[0]=Math.min(p,(v+p)/2),S[1]=Math.max(p,(v+p)/2)}var w=[Math.min(p,(y+p)/2),Math.max(p,(y+p)/2)];if(t>w[0]&&t<=w[1]||t>=S[0]&&t<=S[1]){a=i[f].index;break}}else{var j=Math.min(h,g),_=Math.max(h,g);if(t>(j+p)/2&&t<=(_+p)/2){a=i[f].index;break}}}else for(var E=0;E<s;E++)if(E===0&&t<=(r[E].coordinate+r[E+1].coordinate)/2||E>0&&E<s-1&&t>(r[E].coordinate+r[E-1].coordinate)/2&&t<=(r[E].coordinate+r[E+1].coordinate)/2||E===s-1&&t>(r[E].coordinate+r[E-1].coordinate)/2){a=r[E].index;break}return a},uk=function(t){var n,r=t,i=r.type.displayName,o=(n=t.type)!==null&&n!==void 0&&n.defaultProps?Mt(Mt({},t.type.defaultProps),t.props):t.props,a=o.stroke,s=o.fill,c;switch(i){case"Line":c=a;break;case"Area":case"Radar":c=a&&a!=="none"?a:s;break;default:c=s;break}return c},hue=function(t){var n=t.barSize,r=t.totalSize,i=t.stackGroups,o=i===void 0?{}:i;if(!o)return{};for(var a={},s=Object.keys(o),c=0,f=s.length;c<f;c++)for(var h=o[s[c]].stackGroups,p=Object.keys(h),g=0,y=p.length;g<y;g++){var S=h[p[g]],b=S.items,v=S.cateAxisId,w=b.filter(function(C){return Vi(C.type).indexOf("Bar")>=0});if(w&&w.length){var j=w[0].type.defaultProps,_=j!==void 0?Mt(Mt({},j),w[0].props):w[0].props,E=_.barSize,N=_[v];a[N]||(a[N]=[]);var P=Qe(E)?n:E;a[N].push({item:w[0],stackList:w.slice(1),barSize:Qe(P)?void 0:$n(P,r,0)})}}return a},pue=function(t){var n=t.barGap,r=t.barCategoryGap,i=t.bandSize,o=t.sizeList,a=o===void 0?[]:o,s=t.maxBarSize,c=a.length;if(c<1)return null;var f=$n(n,i,0,!0),h,p=[];if(a[0].barSize===+a[0].barSize){var g=!1,y=i/c,S=a.reduce(function(E,N){return E+N.barSize||0},0);S+=(c-1)*f,S>=i&&(S-=(c-1)*f,f=0),S>=i&&y>0&&(g=!0,y*=.9,S=c*y);var b=(i-S)/2>>0,v={offset:b-f,size:0};h=a.reduce(function(E,N){var P={item:N.item,position:{offset:v.offset+v.size+f,size:g?y:N.barSize}},C=[].concat(wI(E),[P]);return v=C[C.length-1].position,N.stackList&&N.stackList.length&&N.stackList.forEach(function(T){C.push({item:T,position:v})}),C},p)}else{var w=$n(r,i,0,!0);i-2*w-(c-1)*f<=0&&(f=0);var j=(i-2*w-(c-1)*f)/c;j>1&&(j>>=0);var _=s===+s?Math.min(j,s):j;h=a.reduce(function(E,N,P){var C=[].concat(wI(E),[{item:N.item,position:{offset:w+(j+f)*P+(j-_)/2,size:_}}]);return N.stackList&&N.stackList.length&&N.stackList.forEach(function(T){C.push({item:T,position:C[C.length-1].position})}),C},p)}return h},mue=function(t,n,r,i){var o=r.children,a=r.width,s=r.margin,c=a-(s.left||0)-(s.right||0),f=lF({children:o,legendWidth:c});if(f){var h=i||{},p=h.width,g=h.height,y=f.align,S=f.verticalAlign,b=f.layout;if((b==="vertical"||b==="horizontal"&&S==="middle")&&y!=="center"&&we(t[y]))return Mt(Mt({},t),{},pl({},y,t[y]+(p||0)));if((b==="horizontal"||b==="vertical"&&y==="center")&&S!=="middle"&&we(t[S]))return Mt(Mt({},t),{},pl({},S,t[S]+(g||0)))}return t},gue=function(t,n,r){return Qe(n)?!0:t==="horizontal"?n==="yAxis":t==="vertical"||r==="x"?n==="xAxis":r==="y"?n==="yAxis":!0},cF=function(t,n,r,i,o){var a=n.props.children,s=Ar(a,Zm).filter(function(f){return gue(i,o,f.props.direction)});if(s&&s.length){var c=s.map(function(f){return f.props.dataKey});return t.reduce(function(f,h){var p=An(h,r);if(Qe(p))return f;var g=Array.isArray(p)?[Xm(p),Km(p)]:[p,p],y=c.reduce(function(S,b){var v=An(h,b,0),w=g[0]-Math.abs(Array.isArray(v)?v[0]:v),j=g[1]+Math.abs(Array.isArray(v)?v[1]:v);return[Math.min(w,S[0]),Math.max(j,S[1])]},[1/0,-1/0]);return[Math.min(y[0],f[0]),Math.max(y[1],f[1])]},[1/0,-1/0])}return null},yue=function(t,n,r,i,o){var a=n.map(function(s){return cF(t,s,r,o,i)}).filter(function(s){return!Qe(s)});return a&&a.length?a.reduce(function(s,c){return[Math.min(s[0],c[0]),Math.max(s[1],c[1])]},[1/0,-1/0]):null},uF=function(t,n,r,i,o){var a=n.map(function(c){var f=c.props.dataKey;return r==="number"&&f&&cF(t,c,f,i)||Du(t,f,r,o)});if(r==="number")return a.reduce(function(c,f){return[Math.min(c[0],f[0]),Math.max(c[1],f[1])]},[1/0,-1/0]);var s={};return a.reduce(function(c,f){for(var h=0,p=f.length;h<p;h++)s[f[h]]||(s[f[h]]=!0,c.push(f[h]));return c},[])},fF=function(t,n){return t==="horizontal"&&n==="xAxis"||t==="vertical"&&n==="yAxis"||t==="centric"&&n==="angleAxis"||t==="radial"&&n==="radiusAxis"},qa=function(t,n,r){if(!t)return null;var i=t.scale,o=t.duplicateDomain,a=t.type,s=t.range,c=t.realScaleType==="scaleBand"?i.bandwidth()/2:2,f=(n||r)&&a==="category"&&i.bandwidth?i.bandwidth()/c:0;if(f=t.axisType==="angleAxis"&&(s==null?void 0:s.length)>=2?Ln(s[0]-s[1])*2*f:f,n&&(t.ticks||t.niceTicks)){var h=(t.ticks||t.niceTicks).map(function(p){var g=o?o.indexOf(p):p;return{coordinate:i(g)+f,value:p,offset:f}});return h.filter(function(p){return!Kf(p.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(p,g){return{coordinate:i(p)+f,value:p,index:g,offset:f}}):i.ticks&&!r?i.ticks(t.tickCount).map(function(p){return{coordinate:i(p)+f,value:p,offset:f}}):i.domain().map(function(p,g){return{coordinate:i(p)+f,value:o?o[p]:p,index:g,offset:f}})},xw=new WeakMap,Oh=function(t,n){if(typeof n!="function")return t;xw.has(t)||xw.set(t,new WeakMap);var r=xw.get(t);if(r.has(n))return r.get(n);var i=function(){t.apply(void 0,arguments),n.apply(void 0,arguments)};return r.set(n,i),i},dF=function(t,n,r){var i=t.scale,o=t.type,a=t.layout,s=t.axisType;if(i==="auto")return a==="radial"&&s==="radiusAxis"?{scale:ef(),realScaleType:"band"}:a==="radial"&&s==="angleAxis"?{scale:Rp(),realScaleType:"linear"}:o==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:Iu(),realScaleType:"point"}:o==="category"?{scale:ef(),realScaleType:"band"}:{scale:Rp(),realScaleType:"linear"};if(ss(i)){var c="scale".concat(Rm(i));return{scale:(sI[c]||Iu)(),realScaleType:sI[c]?c:"point"}}return He(i)?{scale:i}:{scale:Iu(),realScaleType:"point"}},jI=1e-4,hF=function(t){var n=t.domain();if(!(!n||n.length<=2)){var r=n.length,i=t.range(),o=Math.min(i[0],i[1])-jI,a=Math.max(i[0],i[1])+jI,s=t(n[0]),c=t(n[r-1]);(s<o||s>a||c<o||c>a)&&t.domain([n[0],n[r-1]])}},vue=function(t,n){if(!t)return null;for(var r=0,i=t.length;r<i;r++)if(t[r].item===n)return t[r].position;return null},xue=function(t,n){if(!n||n.length!==2||!we(n[0])||!we(n[1]))return t;var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]),o=[t[0],t[1]];return(!we(t[0])||t[0]<r)&&(o[0]=r),(!we(t[1])||t[1]>i)&&(o[1]=i),o[0]>i&&(o[0]=i),o[1]<r&&(o[1]=r),o},bue=function(t){var n=t.length;if(!(n<=0))for(var r=0,i=t[0].length;r<i;++r)for(var o=0,a=0,s=0;s<n;++s){var c=Kf(t[s][r][1])?t[s][r][0]:t[s][r][1];c>=0?(t[s][r][0]=o,t[s][r][1]=o+c,o=t[s][r][1]):(t[s][r][0]=a,t[s][r][1]=a+c,a=t[s][r][1])}},wue=function(t){var n=t.length;if(!(n<=0))for(var r=0,i=t[0].length;r<i;++r)for(var o=0,a=0;a<n;++a){var s=Kf(t[a][r][1])?t[a][r][0]:t[a][r][1];s>=0?(t[a][r][0]=o,t[a][r][1]=o+s,o=t[a][r][1]):(t[a][r][0]=0,t[a][r][1]=0)}},Sue={sign:bue,expand:lre,none:Tl,silhouette:cre,wiggle:ure,positive:wue},jue=function(t,n,r){var i=n.map(function(s){return s.props.dataKey}),o=Sue[r],a=sre().keys(i).value(function(s,c){return+An(s,c,0)}).order(oS).offset(o);return a(t)},_ue=function(t,n,r,i,o,a){if(!t)return null;var s=a?n.reverse():n,c={},f=s.reduce(function(p,g){var y,S=(y=g.type)!==null&&y!==void 0&&y.defaultProps?Mt(Mt({},g.type.defaultProps),g.props):g.props,b=S.stackId,v=S.hide;if(v)return p;var w=S[r],j=p[w]||{hasStack:!1,stackGroups:{}};if(en(b)){var _=j.stackGroups[b]||{numericAxisId:r,cateAxisId:i,items:[]};_.items.push(g),j.hasStack=!0,j.stackGroups[b]=_}else j.stackGroups[Xf("_stackId_")]={numericAxisId:r,cateAxisId:i,items:[g]};return Mt(Mt({},p),{},pl({},w,j))},c),h={};return Object.keys(f).reduce(function(p,g){var y=f[g];if(y.hasStack){var S={};y.stackGroups=Object.keys(y.stackGroups).reduce(function(b,v){var w=y.stackGroups[v];return Mt(Mt({},b),{},pl({},v,{numericAxisId:r,cateAxisId:i,items:w.items,stackedData:jue(t,w.items,o)}))},S)}return Mt(Mt({},p),{},pl({},g,y))},h)},pF=function(t,n){var r=n.realScaleType,i=n.type,o=n.tickCount,a=n.originalDomain,s=n.allowDecimals,c=r||n.scale;if(c!=="auto"&&c!=="linear")return null;if(o&&i==="number"&&a&&(a[0]==="auto"||a[1]==="auto")){var f=t.domain();if(!f.length)return null;var h=$ce(f,o,s);return t.domain([Xm(h),Km(h)]),{niceTicks:h}}if(o&&i==="number"){var p=t.domain(),g=Fce(p,o,s);return{niceTicks:g}}return null},_I=function(t){var n=t.axis,r=t.ticks,i=t.offset,o=t.bandSize,a=t.entry,s=t.index;if(n.type==="category")return r[s]?r[s].coordinate+i:null;var c=An(a,n.dataKey,n.domain[s]);return Qe(c)?null:n.scale(c)-o/2+i},kue=function(t){var n=t.numericAxis,r=n.scale.domain();if(n.type==="number"){var i=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return i<=0&&o>=0?0:o<0?o:i}return r[0]},Eue=function(t,n){var r,i=(r=t.type)!==null&&r!==void 0&&r.defaultProps?Mt(Mt({},t.type.defaultProps),t.props):t.props,o=i.stackId;if(en(o)){var a=n[o];if(a){var s=a.items.indexOf(t);return s>=0?a.stackedData[s]:null}}return null},Nue=function(t){return t.reduce(function(n,r){return[Xm(r.concat([n[0]]).filter(we)),Km(r.concat([n[1]]).filter(we))]},[1/0,-1/0])},mF=function(t,n,r){return Object.keys(t).reduce(function(i,o){var a=t[o],s=a.stackedData,c=s.reduce(function(f,h){var p=Nue(h.slice(n,r+1));return[Math.min(f[0],p[0]),Math.max(f[1],p[1])]},[1/0,-1/0]);return[Math.min(c[0],i[0]),Math.max(c[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},kI=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,EI=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,OS=function(t,n,r){if(He(t))return t(n,r);if(!Array.isArray(t))return n;var i=[];if(we(t[0]))i[0]=r?t[0]:Math.min(t[0],n[0]);else if(kI.test(t[0])){var o=+kI.exec(t[0])[1];i[0]=n[0]-o}else He(t[0])?i[0]=t[0](n[0]):i[0]=n[0];if(we(t[1]))i[1]=r?t[1]:Math.max(t[1],n[1]);else if(EI.test(t[1])){var a=+EI.exec(t[1])[1];i[1]=n[1]+a}else He(t[1])?i[1]=t[1](n[1]):i[1]=n[1];return i},Bp=function(t,n,r){if(t&&t.scale&&t.scale.bandwidth){var i=t.scale.bandwidth();if(!r||i>0)return i}if(t&&n&&n.length>=2){for(var o=$_(n,function(p){return p.coordinate}),a=1/0,s=1,c=o.length;s<c;s++){var f=o[s],h=o[s-1];a=Math.min((f.coordinate||0)-(h.coordinate||0),a)}return a===1/0?0:a}return r?void 0:0},NI=function(t,n,r){return!t||!t.length||Ym(t,fr(r,"type.defaultProps.domain"))?n:t},gF=function(t,n){var r=t.type.defaultProps?Mt(Mt({},t.type.defaultProps),t.props):t.props,i=r.dataKey,o=r.name,a=r.unit,s=r.formatter,c=r.tooltipType,f=r.chartType,h=r.hide;return Mt(Mt({},qe(t,!1)),{},{dataKey:i,unit:a,formatter:s,name:o||i,color:uk(t),value:An(n,i),type:c,payload:n,chartType:f,hide:h})};function uf(e){"@babel/helpers - typeof";return uf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uf(e)}function PI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?PI(Object(n),!0).forEach(function(r){yF(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PI(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function yF(e,t,n){return t=Pue(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pue(e){var t=Aue(e,"string");return uf(t)=="symbol"?t:t+""}function Aue(e,t){if(uf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(uf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Oue(e,t){return Iue(e)||Rue(e,t)||Tue(e,t)||Cue()}function Cue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 319In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tue(e,t){if(e){if(typeof e=="string")return AI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return AI(e,t)}}function AI(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Rue(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function Iue(e){if(Array.isArray(e))return e}var zp=Math.PI/180,Due=function(t){return t*180/Math.PI},_t=function(t,n,r,i){return{x:t+Math.cos(-zp*i)*r,y:n+Math.sin(-zp*i)*r}},vF=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(n-(r.top||0)-(r.bottom||0)))/2},Mue=function(t,n,r,i,o){var a=t.width,s=t.height,c=t.startAngle,f=t.endAngle,h=$n(t.cx,a,a/2),p=$n(t.cy,s,s/2),g=vF(a,s,r),y=$n(t.innerRadius,g,0),S=$n(t.outerRadius,g,g*.8),b=Object.keys(n);return b.reduce(function(v,w){var j=n[w],_=j.domain,E=j.reversed,N;if(Qe(j.range))i==="angleAxis"?N=[c,f]:i==="radiusAxis"&&(N=[y,S]),E&&(N=[N[1],N[0]]);else{N=j.range;var P=N,C=Oue(P,2);c=C[0],f=C[1]}var T=dF(j,o),L=T.realScaleType,D=T.scale;D.domain(_).range(N),hF(D);var M=pF(D,$i($i({},j),{},{realScaleType:L})),$=$i($i($i({},j),M),{},{range:N,radius:S,realScaleType:L,scale:D,cx:h,cy:p,innerRadius:y,outerRadius:S,startAngle:c,endAngle:f});return $i($i({},v),{},yF({},w,$))},{})},Lue=function(t,n){var r=t.x,i=t.y,o=n.x,a=n.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(i-a,2))},$ue=function(t,n){var r=t.x,i=t.y,o=n.cx,a=n.cy,s=Lue({x:r,y:i},{x:o,y:a});if(s<=0)return{radius:s};var c=(r-o)/s,f=Math.acos(c);return i>a&&(f=2*Math.PI-f),{radius:s,angle:Due(f),angleInRadian:f}},Fue=function(t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),o=Math.floor(r/360),a=Math.min(i,o);return{startAngle:n-a*360,endAngle:r-a*360}},Bue=function(t,n){var r=n.startAngle,i=n.endAngle,o=Math.floor(r/360),a=Math.floor(i/360),s=Math.min(o,a);return t+s*360},OI=function(t,n){var r=t.x,i=t.y,o=$ue({x:r,y:i},n),a=o.radius,s=o.angle,c=n.innerRadius,f=n.outerRadius;if(a<c||a>f)return!1;if(a===0)return!0;var h=Fue(n),p=h.startAngle,g=h.endAngle,y=s,S;if(p<=g){for(;y>g;)y-=360;for(;y<p;)y+=360;S=y>=p&&y<=g}else{for(;y>p;)y-=360;for(;y<g;)y+=360;S=y>=g&&y<=p}return S?$i($i({},n),{},{radius:a,angle:Bue(y,n)}):null},xF=function(t){return!O.isValidElement(t)&&!He(t)&&typeof t!="boolean"?t.className:""};function ff(e){"@babel/helpers - typeof";return ff=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ff(e)}var zue=["offset"];function Uue(e){return Vue(e)||Wue(e)||Hue(e)||que()}function que(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 320In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hue(e,t){if(e){if(typeof e=="string")return CS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CS(e,t)}}function Wue(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vue(e){if(Array.isArray(e))return CS(e)}function CS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Gue(e,t){if(e==null)return{};var n=Kue(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Kue(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function CI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Zt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?CI(Object(n),!0).forEach(function(r){Xue(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CI(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xue(e,t,n){return t=Yue(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yue(e){var t=Jue(e,"string");return ff(t)=="symbol"?t:t+""}function Jue(e,t){if(ff(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ff(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function df(){return df=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},df.apply(this,arguments)}var Que=function(t){var n=t.value,r=t.formatter,i=Qe(t.children)?n:t.children;return He(r)?r(i):i},Zue=function(t,n){var r=Ln(n-t),i=Math.min(Math.abs(n-t),360);return r*i},efe=function(t,n,r){var i=t.position,o=t.viewBox,a=t.offset,s=t.className,c=o,f=c.cx,h=c.cy,p=c.innerRadius,g=c.outerRadius,y=c.startAngle,S=c.endAngle,b=c.clockWise,v=(p+g)/2,w=Zue(y,S),j=w>=0?1:-1,_,E;i==="insideStart"?(_=y+j*a,E=b):i==="insideEnd"?(_=S-j*a,E=!b):i==="end"&&(_=S+j*a,E=b),E=w<=0?E:!E;var N=_t(f,h,v,_),P=_t(f,h,v,_+(E?1:-1)*359),C="M".concat(N.x,",").concat(N.y,` 321 A`).concat(v,",").concat(v,",0,1,").concat(E?0:1,`, 322 `).concat(P.x,",").concat(P.y),T=Qe(t.id)?Xf("recharts-radial-line-"):t.id;return Y.createElement("text",df({},r,{dominantBaseline:"central",className:Ke("recharts-radial-bar-label",s)}),Y.createElement("defs",null,Y.createElement("path",{id:T,d:C})),Y.createElement("textPath",{xlinkHref:"#".concat(T)},n))},tfe=function(t){var n=t.viewBox,r=t.offset,i=t.position,o=n,a=o.cx,s=o.cy,c=o.innerRadius,f=o.outerRadius,h=o.startAngle,p=o.endAngle,g=(h+p)/2;if(i==="outside"){var y=_t(a,s,f+r,g),S=y.x,b=y.y;return{x:S,y:b,textAnchor:S>=a?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"end"};var v=(c+f)/2,w=_t(a,s,v,g),j=w.x,_=w.y;return{x:j,y:_,textAnchor:"middle",verticalAnchor:"middle"}},nfe=function(t){var n=t.viewBox,r=t.parentViewBox,i=t.offset,o=t.position,a=n,s=a.x,c=a.y,f=a.width,h=a.height,p=h>=0?1:-1,g=p*i,y=p>0?"end":"start",S=p>0?"start":"end",b=f>=0?1:-1,v=b*i,w=b>0?"end":"start",j=b>0?"start":"end";if(o==="top"){var _={x:s+f/2,y:c-p*i,textAnchor:"middle",verticalAnchor:y};return Zt(Zt({},_),r?{height:Math.max(c-r.y,0),width:f}:{})}if(o==="bottom"){var E={x:s+f/2,y:c+h+g,textAnchor:"middle",verticalAnchor:S};return Zt(Zt({},E),r?{height:Math.max(r.y+r.height-(c+h),0),width:f}:{})}if(o==="left"){var N={x:s-v,y:c+h/2,textAnchor:w,verticalAnchor:"middle"};return Zt(Zt({},N),r?{width:Math.max(N.x-r.x,0),height:h}:{})}if(o==="right"){var P={x:s+f+v,y:c+h/2,textAnchor:j,verticalAnchor:"middle"};return Zt(Zt({},P),r?{width:Math.max(r.x+r.width-P.x,0),height:h}:{})}var C=r?{width:f,height:h}:{};return o==="insideLeft"?Zt({x:s+v,y:c+h/2,textAnchor:j,verticalAnchor:"middle"},C):o==="insideRight"?Zt({x:s+f-v,y:c+h/2,textAnchor:w,verticalAnchor:"middle"},C):o==="insideTop"?Zt({x:s+f/2,y:c+g,textAnchor:"middle",verticalAnchor:S},C):o==="insideBottom"?Zt({x:s+f/2,y:c+h-g,textAnchor:"middle",verticalAnchor:y},C):o==="insideTopLeft"?Zt({x:s+v,y:c+g,textAnchor:j,verticalAnchor:S},C):o==="insideTopRight"?Zt({x:s+f-v,y:c+g,textAnchor:w,verticalAnchor:S},C):o==="insideBottomLeft"?Zt({x:s+v,y:c+h-g,textAnchor:j,verticalAnchor:y},C):o==="insideBottomRight"?Zt({x:s+f-v,y:c+h-g,textAnchor:w,verticalAnchor:y},C):fc(o)&&(we(o.x)||Ba(o.x))&&(we(o.y)||Ba(o.y))?Zt({x:s+$n(o.x,f),y:c+$n(o.y,h),textAnchor:"end",verticalAnchor:"end"},C):Zt({x:s+f/2,y:c+h/2,textAnchor:"middle",verticalAnchor:"middle"},C)},rfe=function(t){return"cx"in t&&we(t.cx)};function cn(e){var t=e.offset,n=t===void 0?5:t,r=Gue(e,zue),i=Zt({offset:n},r),o=i.viewBox,a=i.position,s=i.value,c=i.children,f=i.content,h=i.className,p=h===void 0?"":h,g=i.textBreakAll;if(!o||Qe(s)&&Qe(c)&&!O.isValidElement(f)&&!He(f))return null;if(O.isValidElement(f))return O.cloneElement(f,i);var y;if(He(f)){if(y=O.createElement(f,i),O.isValidElement(y))return y}else y=Que(i);var S=rfe(o),b=qe(i,!0);if(S&&(a==="insideStart"||a==="insideEnd"||a==="end"))return efe(i,y,b);var v=S?tfe(i):nfe(i);return Y.createElement(cs,df({className:Ke("recharts-label",p)},b,v,{breakAll:g}),y)}cn.displayName="Label";var bF=function(t){var n=t.cx,r=t.cy,i=t.angle,o=t.startAngle,a=t.endAngle,s=t.r,c=t.radius,f=t.innerRadius,h=t.outerRadius,p=t.x,g=t.y,y=t.top,S=t.left,b=t.width,v=t.height,w=t.clockWise,j=t.labelViewBox;if(j)return j;if(we(b)&&we(v)){if(we(p)&&we(g))return{x:p,y:g,width:b,height:v};if(we(y)&&we(S))return{x:y,y:S,width:b,height:v}}return we(p)&&we(g)?{x:p,y:g,width:0,height:0}:we(n)&&we(r)?{cx:n,cy:r,startAngle:o||i||0,endAngle:a||i||0,innerRadius:f||0,outerRadius:h||c||s||0,clockWise:w}:t.viewBox?t.viewBox:{}},ife=function(t,n){return t?t===!0?Y.createElement(cn,{key:"label-implicit",viewBox:n}):en(t)?Y.createElement(cn,{key:"label-implicit",viewBox:n,value:t}):O.isValidElement(t)?t.type===cn?O.cloneElement(t,{key:"label-implicit",viewBox:n}):Y.createElement(cn,{key:"label-implicit",content:t,viewBox:n}):He(t)?Y.createElement(cn,{key:"label-implicit",content:t,viewBox:n}):fc(t)?Y.createElement(cn,df({viewBox:n},t,{key:"label-implicit"})):null:null},ofe=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&r&&!t.label)return null;var i=t.children,o=bF(t),a=Ar(i,cn).map(function(c,f){return O.cloneElement(c,{viewBox:n||o,key:"label-".concat(f)})});if(!r)return a;var s=ife(t.label,n||o);return[s].concat(Uue(a))};cn.parseViewBox=bF;cn.renderCallByParent=ofe;var bw,TI;function afe(){if(TI)return bw;TI=1;function e(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}return bw=e,bw}var sfe=afe();const lfe=lt(sfe);function hf(e){"@babel/helpers - typeof";return hf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hf(e)}var cfe=["valueAccessor"],ufe=["data","dataKey","clockWise","id","textBreakAll"];function ffe(e){return mfe(e)||pfe(e)||hfe(e)||dfe()}function dfe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 323In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hfe(e,t){if(e){if(typeof e=="string")return TS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TS(e,t)}}function pfe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mfe(e){if(Array.isArray(e))return TS(e)}function TS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Up(){return Up=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},Up.apply(this,arguments)}function RI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function II(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?RI(Object(n),!0).forEach(function(r){gfe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RI(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function gfe(e,t,n){return t=yfe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yfe(e){var t=vfe(e,"string");return hf(t)=="symbol"?t:t+""}function vfe(e,t){if(hf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(hf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function DI(e,t){if(e==null)return{};var n=xfe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xfe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var bfe=function(t){return Array.isArray(t.value)?lfe(t.value):t.value};function Xi(e){var t=e.valueAccessor,n=t===void 0?bfe:t,r=DI(e,cfe),i=r.data,o=r.dataKey,a=r.clockWise,s=r.id,c=r.textBreakAll,f=DI(r,ufe);return!i||!i.length?null:Y.createElement(pt,{className:"recharts-label-list"},i.map(function(h,p){var g=Qe(o)?n(h,p):An(h&&h.payload,o),y=Qe(s)?{}:{id:"".concat(s,"-").concat(p)};return Y.createElement(cn,Up({},qe(h,!0),f,y,{parentViewBox:h.parentViewBox,value:g,textBreakAll:c,viewBox:cn.parseViewBox(Qe(a)?h:II(II({},h),{},{clockWise:a})),key:"label-".concat(p),index:p}))}))}Xi.displayName="LabelList";function wfe(e,t){return e?e===!0?Y.createElement(Xi,{key:"labelList-implicit",data:t}):Y.isValidElement(e)||He(e)?Y.createElement(Xi,{key:"labelList-implicit",data:t,content:e}):fc(e)?Y.createElement(Xi,Up({data:t},e,{key:"labelList-implicit"})):null:null}function Sfe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=Ar(r,Xi).map(function(a,s){return O.cloneElement(a,{data:t,key:"labelList-".concat(s)})});if(!n)return i;var o=wfe(e.label,t);return[o].concat(ffe(i))}Xi.renderCallByParent=Sfe;function pf(e){"@babel/helpers - typeof";return pf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pf(e)}function RS(){return RS=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},RS.apply(this,arguments)}function MI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function LI(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?MI(Object(n),!0).forEach(function(r){jfe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MI(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function jfe(e,t,n){return t=_fe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _fe(e){var t=kfe(e,"string");return pf(t)=="symbol"?t:t+""}function kfe(e,t){if(pf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(pf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Efe=function(t,n){var r=Ln(n-t),i=Math.min(Math.abs(n-t),359.999);return r*i},Ch=function(t){var n=t.cx,r=t.cy,i=t.radius,o=t.angle,a=t.sign,s=t.isExternal,c=t.cornerRadius,f=t.cornerIsExternal,h=c*(s?1:-1)+i,p=Math.asin(c/h)/zp,g=f?o:o+a*p,y=_t(n,r,h,g),S=_t(n,r,i,g),b=f?o-a*p:o,v=_t(n,r,h*Math.cos(p*zp),b);return{center:y,circleTangency:S,lineTangency:v,theta:p}},wF=function(t){var n=t.cx,r=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.startAngle,s=t.endAngle,c=Efe(a,s),f=a+c,h=_t(n,r,o,a),p=_t(n,r,o,f),g="M ".concat(h.x,",").concat(h.y,` 324 A `).concat(o,",").concat(o,`,0, 325 `).concat(+(Math.abs(c)>180),",").concat(+(a>f),`, 326 `).concat(p.x,",").concat(p.y,` 327 `);if(i>0){var y=_t(n,r,i,a),S=_t(n,r,i,f);g+="L ".concat(S.x,",").concat(S.y,` 328 A `).concat(i,",").concat(i,`,0, 329 `).concat(+(Math.abs(c)>180),",").concat(+(a<=f),`, 330 `).concat(y.x,",").concat(y.y," Z")}else g+="L ".concat(n,",").concat(r," Z");return g},Nfe=function(t){var n=t.cx,r=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,s=t.forceCornerRadius,c=t.cornerIsExternal,f=t.startAngle,h=t.endAngle,p=Ln(h-f),g=Ch({cx:n,cy:r,radius:o,angle:f,sign:p,cornerRadius:a,cornerIsExternal:c}),y=g.circleTangency,S=g.lineTangency,b=g.theta,v=Ch({cx:n,cy:r,radius:o,angle:h,sign:-p,cornerRadius:a,cornerIsExternal:c}),w=v.circleTangency,j=v.lineTangency,_=v.theta,E=c?Math.abs(f-h):Math.abs(f-h)-b-_;if(E<0)return s?"M ".concat(S.x,",").concat(S.y,` 331 a`).concat(a,",").concat(a,",0,0,1,").concat(a*2,`,0 332 a`).concat(a,",").concat(a,",0,0,1,").concat(-a*2,`,0 333 `):wF({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:f,endAngle:h});var N="M ".concat(S.x,",").concat(S.y,` 334 A`).concat(a,",").concat(a,",0,0,").concat(+(p<0),",").concat(y.x,",").concat(y.y,` 335 A`).concat(o,",").concat(o,",0,").concat(+(E>180),",").concat(+(p<0),",").concat(w.x,",").concat(w.y,` 336 A`).concat(a,",").concat(a,",0,0,").concat(+(p<0),",").concat(j.x,",").concat(j.y,` 337 `);if(i>0){var P=Ch({cx:n,cy:r,radius:i,angle:f,sign:p,isExternal:!0,cornerRadius:a,cornerIsExternal:c}),C=P.circleTangency,T=P.lineTangency,L=P.theta,D=Ch({cx:n,cy:r,radius:i,angle:h,sign:-p,isExternal:!0,cornerRadius:a,cornerIsExternal:c}),M=D.circleTangency,$=D.lineTangency,H=D.theta,U=c?Math.abs(f-h):Math.abs(f-h)-L-H;if(U<0&&a===0)return"".concat(N,"L").concat(n,",").concat(r,"Z");N+="L".concat($.x,",").concat($.y,` 338 A`).concat(a,",").concat(a,",0,0,").concat(+(p<0),",").concat(M.x,",").concat(M.y,` 339 A`).concat(i,",").concat(i,",0,").concat(+(U>180),",").concat(+(p>0),",").concat(C.x,",").concat(C.y,` 340 A`).concat(a,",").concat(a,",0,0,").concat(+(p<0),",").concat(T.x,",").concat(T.y,"Z")}else N+="L".concat(n,",").concat(r,"Z");return N},Pfe={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},SF=function(t){var n=LI(LI({},Pfe),t),r=n.cx,i=n.cy,o=n.innerRadius,a=n.outerRadius,s=n.cornerRadius,c=n.forceCornerRadius,f=n.cornerIsExternal,h=n.startAngle,p=n.endAngle,g=n.className;if(a<o||h===p)return null;var y=Ke("recharts-sector",g),S=a-o,b=$n(s,S,0,!0),v;return b>0&&Math.abs(h-p)<360?v=Nfe({cx:r,cy:i,innerRadius:o,outerRadius:a,cornerRadius:Math.min(b,S/2),forceCornerRadius:c,cornerIsExternal:f,startAngle:h,endAngle:p}):v=wF({cx:r,cy:i,innerRadius:o,outerRadius:a,startAngle:h,endAngle:p}),Y.createElement("path",RS({},qe(n,!0),{className:y,d:v,role:"img"}))};function mf(e){"@babel/helpers - typeof";return mf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mf(e)}function IS(){return IS=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},IS.apply(this,arguments)}function $I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function FI(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$I(Object(n),!0).forEach(function(r){Afe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$I(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Afe(e,t,n){return t=Ofe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ofe(e){var t=Cfe(e,"string");return mf(t)=="symbol"?t:t+""}function Cfe(e,t){if(mf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(mf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var BI={curveBasisClosed:Yne,curveBasisOpen:Jne,curveBasis:Xne,curveBumpX:Dne,curveBumpY:Mne,curveLinearClosed:Qne,curveLinear:Dm,curveMonotoneX:Zne,curveMonotoneY:ere,curveNatural:tre,curveStep:nre,curveStepAfter:ire,curveStepBefore:rre},Th=function(t){return t.x===+t.x&&t.y===+t.y},gu=function(t){return t.x},yu=function(t){return t.y},Tfe=function(t,n){if(He(t))return t;var r="curve".concat(Rm(t));return(r==="curveMonotone"||r==="curveBump")&&n?BI["".concat(r).concat(n==="vertical"?"Y":"X")]:BI[r]||Dm},Rfe=function(t){var n=t.type,r=n===void 0?"linear":n,i=t.points,o=i===void 0?[]:i,a=t.baseLine,s=t.layout,c=t.connectNulls,f=c===void 0?!1:c,h=Tfe(r,s),p=f?o.filter(function(b){return Th(b)}):o,g;if(Array.isArray(a)){var y=f?a.filter(function(b){return Th(b)}):a,S=p.map(function(b,v){return FI(FI({},b),{},{base:y[v]})});return s==="vertical"?g=jh().y(yu).x1(gu).x0(function(b){return b.base.x}):g=jh().x(gu).y1(yu).y0(function(b){return b.base.y}),g.defined(Th).curve(h),g(S)}return s==="vertical"&&we(a)?g=jh().y(yu).x1(gu).x0(a):we(a)?g=jh().x(gu).y1(yu).y0(a):g=S5().x(gu).y(yu),g.defined(Th).curve(h),g(p)},DS=function(t){var n=t.className,r=t.points,i=t.path,o=t.pathRef;if((!r||!r.length)&&!i)return null;var a=r&&r.length?Rfe(t):i;return O.createElement("path",IS({},qe(t,!1),mp(t),{className:Ke("recharts-curve",n),d:a,ref:o}))},ww={exports:{}},Sw,zI;function Ife(){if(zI)return Sw;zI=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Sw=e,Sw}var jw,UI;function Dfe(){if(UI)return jw;UI=1;var e=Ife();function t(){}function n(){}return n.resetWarningCache=t,jw=function(){function r(a,s,c,f,h,p){if(p!==e){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},jw}var qI;function Mfe(){return qI||(qI=1,ww.exports=Dfe()()),ww.exports}var Lfe=Mfe();const ut=lt(Lfe),{getOwnPropertyNames:$fe,getOwnPropertySymbols:Ffe}=Object,{hasOwnProperty:Bfe}=Object.prototype;function _w(e,t){return function(r,i,o){return e(r,i,o)&&t(r,i,o)}}function Rh(e){return function(n,r,i){if(!n||!r||typeof n!="object"||typeof r!="object")return e(n,r,i);const{cache:o}=i,a=o.get(n),s=o.get(r);if(a&&s)return a===r&&s===n;o.set(n,r),o.set(r,n);const c=e(n,r,i);return o.delete(n),o.delete(r),c}}function zfe(e){return e!=null?e[Symbol.toStringTag]:void 0}function HI(e){return $fe(e).concat(Ffe(e))}const Ufe=Object.hasOwn||((e,t)=>Bfe.call(e,t));function ws(e,t){return e===t||!e&&!t&&e!==e&&t!==t}const qfe="__v",Hfe="__o",Wfe="_owner",{getOwnPropertyDescriptor:WI,keys:VI}=Object;function Vfe(e,t){return e.byteLength===t.byteLength&&qp(new Uint8Array(e),new Uint8Array(t))}function Gfe(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function Kfe(e,t){return e.byteLength===t.byteLength&&qp(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function Xfe(e,t){return ws(e.getTime(),t.getTime())}function Yfe(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function Jfe(e,t){return e===t}function GI(e,t,n){const r=e.size;if(r!==t.size)return!1;if(!r)return!0;const i=new Array(r),o=e.entries();let a,s,c=0;for(;(a=o.next())&&!a.done;){const f=t.entries();let h=!1,p=0;for(;(s=f.next())&&!s.done;){if(i[p]){p++;continue}const g=a.value,y=s.value;if(n.equals(g[0],y[0],c,p,e,t,n)&&n.equals(g[1],y[1],g[0],y[0],e,t,n)){h=i[p]=!0;break}p++}if(!h)return!1;c++}return!0}const Qfe=ws;function Zfe(e,t,n){const r=VI(e);let i=r.length;if(VI(t).length!==i)return!1;for(;i-- >0;)if(!jF(e,t,n,r[i]))return!1;return!0}function vu(e,t,n){const r=HI(e);let i=r.length;if(HI(t).length!==i)return!1;let o,a,s;for(;i-- >0;)if(o=r[i],!jF(e,t,n,o)||(a=WI(e,o),s=WI(t,o),(a||s)&&(!a||!s||a.configurable!==s.configurable||a.enumerable!==s.enumerable||a.writable!==s.writable)))return!1;return!0}function ede(e,t){return ws(e.valueOf(),t.valueOf())}function tde(e,t){return e.source===t.source&&e.flags===t.flags}function KI(e,t,n){const r=e.size;if(r!==t.size)return!1;if(!r)return!0;const i=new Array(r),o=e.values();let a,s;for(;(a=o.next())&&!a.done;){const c=t.values();let f=!1,h=0;for(;(s=c.next())&&!s.done;){if(!i[h]&&n.equals(a.value,s.value,a.value,s.value,e,t,n)){f=i[h]=!0;break}h++}if(!f)return!1}return!0}function qp(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function nde(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function jF(e,t,n,r){return(r===Wfe||r===Hfe||r===qfe)&&(e.$$typeof||t.$$typeof)?!0:Ufe(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}const rde="[object ArrayBuffer]",ide="[object Arguments]",ode="[object Boolean]",ade="[object DataView]",sde="[object Date]",lde="[object Error]",cde="[object Map]",ude="[object Number]",fde="[object Object]",dde="[object RegExp]",hde="[object Set]",pde="[object String]",mde={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},gde="[object URL]",yde=Object.prototype.toString;function vde({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:o,areMapsEqual:a,areNumbersEqual:s,areObjectsEqual:c,arePrimitiveWrappersEqual:f,areRegExpsEqual:h,areSetsEqual:p,areTypedArraysEqual:g,areUrlsEqual:y,unknownTagComparators:S}){return function(v,w,j){if(v===w)return!0;if(v==null||w==null)return!1;const _=typeof v;if(_!==typeof w)return!1;if(_!=="object")return _==="number"?s(v,w,j):_==="function"?o(v,w,j):!1;const E=v.constructor;if(E!==w.constructor)return!1;if(E===Object)return c(v,w,j);if(Array.isArray(v))return t(v,w,j);if(E===Date)return r(v,w,j);if(E===RegExp)return h(v,w,j);if(E===Map)return a(v,w,j);if(E===Set)return p(v,w,j);const N=yde.call(v);if(N===sde)return r(v,w,j);if(N===dde)return h(v,w,j);if(N===cde)return a(v,w,j);if(N===hde)return p(v,w,j);if(N===fde)return typeof v.then!="function"&&typeof w.then!="function"&&c(v,w,j);if(N===gde)return y(v,w,j);if(N===lde)return i(v,w,j);if(N===ide)return c(v,w,j);if(mde[N])return g(v,w,j);if(N===rde)return e(v,w,j);if(N===ade)return n(v,w,j);if(N===ode||N===ude||N===pde)return f(v,w,j);if(S){let P=S[N];if(!P){const C=zfe(v);C&&(P=S[C])}if(P)return P(v,w,j)}return!1}}function xde({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:Vfe,areArraysEqual:n?vu:Gfe,areDataViewsEqual:Kfe,areDatesEqual:Xfe,areErrorsEqual:Yfe,areFunctionsEqual:Jfe,areMapsEqual:n?_w(GI,vu):GI,areNumbersEqual:Qfe,areObjectsEqual:n?vu:Zfe,arePrimitiveWrappersEqual:ede,areRegExpsEqual:tde,areSetsEqual:n?_w(KI,vu):KI,areTypedArraysEqual:n?_w(qp,vu):qp,areUrlsEqual:nde,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){const i=Rh(r.areArraysEqual),o=Rh(r.areMapsEqual),a=Rh(r.areObjectsEqual),s=Rh(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:i,areMapsEqual:o,areObjectsEqual:a,areSetsEqual:s})}return r}function bde(e){return function(t,n,r,i,o,a,s){return e(t,n,s)}}function wde({circular:e,comparator:t,createState:n,equals:r,strict:i}){if(n)return function(s,c){const{cache:f=e?new WeakMap:void 0,meta:h}=n();return t(s,c,{cache:f,equals:r,meta:h,strict:i})};if(e)return function(s,c){return t(s,c,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};const o={cache:void 0,equals:r,meta:void 0,strict:i};return function(s,c){return t(s,c,o)}}const Sde=sa();sa({strict:!0});sa({circular:!0});sa({circular:!0,strict:!0});sa({createInternalComparator:()=>ws});sa({strict:!0,createInternalComparator:()=>ws});sa({circular:!0,createInternalComparator:()=>ws});sa({circular:!0,createInternalComparator:()=>ws,strict:!0});function sa(e={}){const{circular:t=!1,createInternalComparator:n,createState:r,strict:i=!1}=e,o=xde(e),a=vde(o),s=n?n(a):bde(a);return wde({circular:t,comparator:a,createState:r,equals:s,strict:i})}function jde(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function XI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function i(o){n<0&&(n=o),o-n>t?(e(o),n=-1):jde(i)};requestAnimationFrame(r)}function MS(e){"@babel/helpers - typeof";return MS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},MS(e)}function _de(e){return Pde(e)||Nde(e)||Ede(e)||kde()}function kde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 341In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ede(e,t){if(e){if(typeof e=="string")return YI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return YI(e,t)}}function YI(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nde(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pde(e){if(Array.isArray(e))return e}function Ade(){var e={},t=function(){return null},n=!1,r=function i(o){if(!n){if(Array.isArray(o)){if(!o.length)return;var a=o,s=_de(a),c=s[0],f=s.slice(1);if(typeof c=="number"){XI(i.bind(null,f),c);return}i(c),XI(i.bind(null,f));return}MS(o)==="object"&&(e=o,t(e)),typeof o=="function"&&o()}};return{stop:function(){n=!0},start:function(o){n=!1,r(o)},subscribe:function(o){return t=o,function(){t=function(){return null}}}}}function gf(e){"@babel/helpers - typeof";return gf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gf(e)}function JI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function QI(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?JI(Object(n),!0).forEach(function(r){_F(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JI(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _F(e,t,n){return t=Ode(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ode(e){var t=Cde(e,"string");return gf(t)==="symbol"?t:String(t)}function Cde(e,t){if(gf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(gf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Tde=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,i){return r.filter(function(o){return i.includes(o)})})},Rde=function(t){return t},Ide=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},Mu=function(t,n){return Object.keys(n).reduce(function(r,i){return QI(QI({},r),{},_F({},i,t(i,n[i])))},{})},ZI=function(t,n,r){return t.map(function(i){return"".concat(Ide(i)," ").concat(n,"ms ").concat(r)}).join(",")};function Dde(e,t){return $de(e)||Lde(e,t)||kF(e,t)||Mde()}function Mde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 342In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lde(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function $de(e){if(Array.isArray(e))return e}function Fde(e){return Ude(e)||zde(e)||kF(e)||Bde()}function Bde(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 343In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kF(e,t){if(e){if(typeof e=="string")return LS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return LS(e,t)}}function zde(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ude(e){if(Array.isArray(e))return LS(e)}function LS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Hp=1e-4,EF=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},NF=function(t,n){return t.map(function(r,i){return r*Math.pow(n,i)}).reduce(function(r,i){return r+i})},eD=function(t,n){return function(r){var i=EF(t,n);return NF(i,r)}},qde=function(t,n){return function(r){var i=EF(t,n),o=[].concat(Fde(i.map(function(a,s){return a*s}).slice(1)),[0]);return NF(o,r)}},tD=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0],o=n[1],a=n[2],s=n[3];if(n.length===1)switch(n[0]){case"linear":i=0,o=0,a=1,s=1;break;case"ease":i=.25,o=.1,a=.25,s=1;break;case"ease-in":i=.42,o=0,a=1,s=1;break;case"ease-out":i=.42,o=0,a=.58,s=1;break;case"ease-in-out":i=0,o=0,a=.58,s=1;break;default:{var c=n[0].split("(");if(c[0]==="cubic-bezier"&&c[1].split(")")[0].split(",").length===4){var f=c[1].split(")")[0].split(",").map(function(v){return parseFloat(v)}),h=Dde(f,4);i=h[0],o=h[1],a=h[2],s=h[3]}}}var p=eD(i,a),g=eD(o,s),y=qde(i,a),S=function(w){return w>1?1:w<0?0:w},b=function(w){for(var j=w>1?1:w,_=j,E=0;E<8;++E){var N=p(_)-j,P=y(_);if(Math.abs(N-j)<Hp||P<Hp)return g(_);_=S(_-N/P)}return g(_)};return b.isStepper=!1,b},Hde=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,i=t.damping,o=i===void 0?8:i,a=t.dt,s=a===void 0?17:a,c=function(h,p,g){var y=-(h-p)*r,S=g*o,b=g+(y-S)*s/1e3,v=g*s/1e3+h;return Math.abs(v-p)<Hp&&Math.abs(b)<Hp?[p,0]:[v,b]};return c.isStepper=!0,c.dt=s,c},Wde=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];if(typeof i=="string")switch(i){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return tD(i);case"spring":return Hde();default:if(i.split("(")[0]==="cubic-bezier")return tD(i)}return typeof i=="function"?i:null};function yf(e){"@babel/helpers - typeof";return yf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yf(e)}function nD(e){return Kde(e)||Gde(e)||PF(e)||Vde()}function Vde(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 344In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gde(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Kde(e){if(Array.isArray(e))return FS(e)}function rD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function gn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rD(Object(n),!0).forEach(function(r){$S(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $S(e,t,n){return t=Xde(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xde(e){var t=Yde(e,"string");return yf(t)==="symbol"?t:String(t)}function Yde(e,t){if(yf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(yf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Jde(e,t){return ehe(e)||Zde(e,t)||PF(e,t)||Qde()}function Qde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 345In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function PF(e,t){if(e){if(typeof e=="string")return FS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return FS(e,t)}}function FS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zde(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function ehe(e){if(Array.isArray(e))return e}var Wp=function(t,n,r){return t+(n-t)*r},BS=function(t){var n=t.from,r=t.to;return n!==r},the=function e(t,n,r){var i=Mu(function(o,a){if(BS(a)){var s=t(a.from,a.to,a.velocity),c=Jde(s,2),f=c[0],h=c[1];return gn(gn({},a),{},{from:f,velocity:h})}return a},n);return r<1?Mu(function(o,a){return BS(a)?gn(gn({},a),{},{velocity:Wp(a.velocity,i[o].velocity,r),from:Wp(a.from,i[o].from,r)}):a},n):e(t,i,r-1)};const nhe=(function(e,t,n,r,i){var o=Tde(e,t),a=o.reduce(function(v,w){return gn(gn({},v),{},$S({},w,[e[w],t[w]]))},{}),s=o.reduce(function(v,w){return gn(gn({},v),{},$S({},w,{from:e[w],velocity:0,to:t[w]}))},{}),c=-1,f,h,p=function(){return null},g=function(){return Mu(function(w,j){return j.from},s)},y=function(){return!Object.values(s).filter(BS).length},S=function(w){f||(f=w);var j=w-f,_=j/n.dt;s=the(n,s,_),i(gn(gn(gn({},e),t),g())),f=w,y()||(c=requestAnimationFrame(p))},b=function(w){h||(h=w);var j=(w-h)/r,_=Mu(function(N,P){return Wp.apply(void 0,nD(P).concat([n(j)]))},a);if(i(gn(gn(gn({},e),t),_)),j<1)c=requestAnimationFrame(p);else{var E=Mu(function(N,P){return Wp.apply(void 0,nD(P).concat([n(1)]))},a);i(gn(gn(gn({},e),t),E))}};return p=n.isStepper?S:b,function(){return requestAnimationFrame(p),function(){cancelAnimationFrame(c)}}});function zl(e){"@babel/helpers - typeof";return zl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zl(e)}var rhe=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function ihe(e,t){if(e==null)return{};var n=ohe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ohe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function kw(e){return che(e)||lhe(e)||she(e)||ahe()}function ahe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 346In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function she(e,t){if(e){if(typeof e=="string")return zS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zS(e,t)}}function lhe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function che(e){if(Array.isArray(e))return zS(e)}function zS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Fr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?iD(Object(n),!0).forEach(function(r){Eu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Eu(e,t,n){return t=AF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fhe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,AF(r.key),r)}}function dhe(e,t,n){return t&&fhe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function AF(e){var t=hhe(e,"string");return zl(t)==="symbol"?t:String(t)}function hhe(e,t){if(zl(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(zl(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function phe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&US(e,t)}function US(e,t){return US=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},US(e,t)}function mhe(e){var t=ghe();return function(){var r=Vp(e),i;if(t){var o=Vp(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return qS(this,i)}}function qS(e,t){if(t&&(zl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return HS(e)}function HS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ghe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Vp(e){return Vp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Vp(e)}var Zi=(function(e){phe(n,e);var t=mhe(n);function n(r,i){var o;uhe(this,n),o=t.call(this,r,i);var a=o.props,s=a.isActive,c=a.attributeName,f=a.from,h=a.to,p=a.steps,g=a.children,y=a.duration;if(o.handleStyleChange=o.handleStyleChange.bind(HS(o)),o.changeStyle=o.changeStyle.bind(HS(o)),!s||y<=0)return o.state={style:{}},typeof g=="function"&&(o.state={style:h}),qS(o);if(p&&p.length)o.state={style:p[0].style};else if(f){if(typeof g=="function")return o.state={style:f},qS(o);o.state={style:c?Eu({},c,f):f}}else o.state={style:{}};return o}return dhe(n,[{key:"componentDidMount",value:function(){var i=this.props,o=i.isActive,a=i.canBegin;this.mounted=!0,!(!o||!a)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var o=this.props,a=o.isActive,s=o.canBegin,c=o.attributeName,f=o.shouldReAnimate,h=o.to,p=o.from,g=this.state.style;if(s){if(!a){var y={style:c?Eu({},c,h):h};this.state&&g&&(c&&g[c]!==h||!c&&g!==h)&&this.setState(y);return}if(!(Sde(i.to,h)&&i.canBegin&&i.isActive)){var S=!i.canBegin||!i.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var b=S||f?p:i.to;if(this.state&&g){var v={style:c?Eu({},c,b):b};(c&&g[c]!==b||!c&&g!==b)&&this.setState(v)}this.runAnimation(Fr(Fr({},this.props),{},{from:b,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var i=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),i&&i()}},{key:"handleStyleChange",value:function(i){this.changeStyle(i)}},{key:"changeStyle",value:function(i){this.mounted&&this.setState({style:i})}},{key:"runJSAnimation",value:function(i){var o=this,a=i.from,s=i.to,c=i.duration,f=i.easing,h=i.begin,p=i.onAnimationEnd,g=i.onAnimationStart,y=nhe(a,s,Wde(f),c,this.changeStyle),S=function(){o.stopJSAnimation=y()};this.manager.start([g,h,S,c,p])}},{key:"runStepAnimation",value:function(i){var o=this,a=i.steps,s=i.begin,c=i.onAnimationStart,f=a[0],h=f.style,p=f.duration,g=p===void 0?0:p,y=function(b,v,w){if(w===0)return b;var j=v.duration,_=v.easing,E=_===void 0?"ease":_,N=v.style,P=v.properties,C=v.onAnimationEnd,T=w>0?a[w-1]:v,L=P||Object.keys(N);if(typeof E=="function"||E==="spring")return[].concat(kw(b),[o.runJSAnimation.bind(o,{from:T.style,to:N,duration:j,easing:E}),j]);var D=ZI(L,j,E),M=Fr(Fr(Fr({},T.style),N),{},{transition:D});return[].concat(kw(b),[M,j,C]).filter(Rde)};return this.manager.start([c].concat(kw(a.reduce(y,[h,Math.max(g,s)])),[i.onAnimationEnd]))}},{key:"runAnimation",value:function(i){this.manager||(this.manager=Ade());var o=i.begin,a=i.duration,s=i.attributeName,c=i.to,f=i.easing,h=i.onAnimationStart,p=i.onAnimationEnd,g=i.steps,y=i.children,S=this.manager;if(this.unSubscribe=S.subscribe(this.handleStyleChange),typeof f=="function"||typeof y=="function"||f==="spring"){this.runJSAnimation(i);return}if(g.length>1){this.runStepAnimation(i);return}var b=s?Eu({},s,c):c,v=ZI(Object.keys(b),a,f);S.start([h,o,Fr(Fr({},b),{},{transition:v}),a,p])}},{key:"render",value:function(){var i=this.props,o=i.children;i.begin;var a=i.duration;i.attributeName,i.easing;var s=i.isActive;i.steps,i.from,i.to,i.canBegin,i.onAnimationEnd,i.shouldReAnimate,i.onAnimationReStart;var c=ihe(i,rhe),f=O.Children.count(o),h=this.state.style;if(typeof o=="function")return o(h);if(!s||f===0||a<=0)return o;var p=function(y){var S=y.props,b=S.style,v=b===void 0?{}:b,w=S.className,j=O.cloneElement(y,Fr(Fr({},c),{},{style:Fr(Fr({},v),h),className:w}));return j};return f===1?p(O.Children.only(o)):Y.createElement("div",null,O.Children.map(o,function(g){return p(g)}))}}]),n})(O.PureComponent);Zi.displayName="Animate";Zi.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};Zi.propTypes={from:ut.oneOfType([ut.object,ut.string]),to:ut.oneOfType([ut.object,ut.string]),attributeName:ut.string,duration:ut.number,begin:ut.number,easing:ut.oneOfType([ut.string,ut.func]),steps:ut.arrayOf(ut.shape({duration:ut.number.isRequired,style:ut.object.isRequired,easing:ut.oneOfType([ut.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),ut.func]),properties:ut.arrayOf("string"),onAnimationEnd:ut.func})),children:ut.oneOfType([ut.node,ut.func]),isActive:ut.bool,canBegin:ut.bool,onAnimationEnd:ut.func,shouldReAnimate:ut.bool,onAnimationStart:ut.func,onAnimationReStart:ut.func};function vf(e){"@babel/helpers - typeof";return vf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vf(e)}function Gp(){return Gp=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},Gp.apply(this,arguments)}function yhe(e,t){return whe(e)||bhe(e,t)||xhe(e,t)||vhe()}function vhe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 347In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xhe(e,t){if(e){if(typeof e=="string")return oD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oD(e,t)}}function oD(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bhe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function whe(e){if(Array.isArray(e))return e}function aD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function sD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?aD(Object(n),!0).forEach(function(r){She(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function She(e,t,n){return t=jhe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jhe(e){var t=_he(e,"string");return vf(t)=="symbol"?t:t+""}function _he(e,t){if(vf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(vf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var lD=function(t,n,r,i,o){var a=Math.min(Math.abs(r)/2,Math.abs(i)/2),s=i>=0?1:-1,c=r>=0?1:-1,f=i>=0&&r>=0||i<0&&r<0?1:0,h;if(a>0&&o instanceof Array){for(var p=[0,0,0,0],g=0,y=4;g<y;g++)p[g]=o[g]>a?a:o[g];h="M".concat(t,",").concat(n+s*p[0]),p[0]>0&&(h+="A ".concat(p[0],",").concat(p[0],",0,0,").concat(f,",").concat(t+c*p[0],",").concat(n)),h+="L ".concat(t+r-c*p[1],",").concat(n),p[1]>0&&(h+="A ".concat(p[1],",").concat(p[1],",0,0,").concat(f,`, 348 `).concat(t+r,",").concat(n+s*p[1])),h+="L ".concat(t+r,",").concat(n+i-s*p[2]),p[2]>0&&(h+="A ".concat(p[2],",").concat(p[2],",0,0,").concat(f,`, 349 `).concat(t+r-c*p[2],",").concat(n+i)),h+="L ".concat(t+c*p[3],",").concat(n+i),p[3]>0&&(h+="A ".concat(p[3],",").concat(p[3],",0,0,").concat(f,`, 350 `).concat(t,",").concat(n+i-s*p[3])),h+="Z"}else if(a>0&&o===+o&&o>0){var S=Math.min(a,o);h="M ".concat(t,",").concat(n+s*S,` 351 A `).concat(S,",").concat(S,",0,0,").concat(f,",").concat(t+c*S,",").concat(n,` 352 L `).concat(t+r-c*S,",").concat(n,` 353 A `).concat(S,",").concat(S,",0,0,").concat(f,",").concat(t+r,",").concat(n+s*S,` 354 L `).concat(t+r,",").concat(n+i-s*S,` 355 A `).concat(S,",").concat(S,",0,0,").concat(f,",").concat(t+r-c*S,",").concat(n+i,` 356 L `).concat(t+c*S,",").concat(n+i,` 357 A `).concat(S,",").concat(S,",0,0,").concat(f,",").concat(t,",").concat(n+i-s*S," Z")}else h="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return h},khe=function(t,n){if(!t||!n)return!1;var r=t.x,i=t.y,o=n.x,a=n.y,s=n.width,c=n.height;if(Math.abs(s)>0&&Math.abs(c)>0){var f=Math.min(o,o+s),h=Math.max(o,o+s),p=Math.min(a,a+c),g=Math.max(a,a+c);return r>=f&&r<=h&&i>=p&&i<=g}return!1},Ehe={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},fk=function(t){var n=sD(sD({},Ehe),t),r=O.useRef(),i=O.useState(-1),o=yhe(i,2),a=o[0],s=o[1];O.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var E=r.current.getTotalLength();E&&s(E)}catch{}},[]);var c=n.x,f=n.y,h=n.width,p=n.height,g=n.radius,y=n.className,S=n.animationEasing,b=n.animationDuration,v=n.animationBegin,w=n.isAnimationActive,j=n.isUpdateAnimationActive;if(c!==+c||f!==+f||h!==+h||p!==+p||h===0||p===0)return null;var _=Ke("recharts-rectangle",y);return j?Y.createElement(Zi,{canBegin:a>0,from:{width:h,height:p,x:c,y:f},to:{width:h,height:p,x:c,y:f},duration:b,animationEasing:S,isActive:j},function(E){var N=E.width,P=E.height,C=E.x,T=E.y;return Y.createElement(Zi,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:v,duration:b,isActive:w,easing:S},Y.createElement("path",Gp({},qe(n,!0),{className:_,d:lD(C,T,N,P,g),ref:r})))}):Y.createElement("path",Gp({},qe(n,!0),{className:_,d:lD(c,f,h,p,g)}))},Nhe=["points","className","baseLinePoints","connectNulls"];function al(){return al=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},al.apply(this,arguments)}function Phe(e,t){if(e==null)return{};var n=Ahe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ahe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function cD(e){return Rhe(e)||The(e)||Che(e)||Ohe()}function Ohe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 358In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Che(e,t){if(e){if(typeof e=="string")return WS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return WS(e,t)}}function The(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rhe(e){if(Array.isArray(e))return WS(e)}function WS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var uD=function(t){return t&&t.x===+t.x&&t.y===+t.y},Ihe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=[[]];return t.forEach(function(r){uD(r)?n[n.length-1].push(r):n[n.length-1].length>0&&n.push([])}),uD(t[0])&&n[n.length-1].push(t[0]),n[n.length-1].length<=0&&(n=n.slice(0,-1)),n},Lu=function(t,n){var r=Ihe(t);n&&(r=[r.reduce(function(o,a){return[].concat(cD(o),cD(a))},[])]);var i=r.map(function(o){return o.reduce(function(a,s,c){return"".concat(a).concat(c===0?"M":"L").concat(s.x,",").concat(s.y)},"")}).join("");return r.length===1?"".concat(i,"Z"):i},Dhe=function(t,n,r){var i=Lu(t,r);return"".concat(i.slice(-1)==="Z"?i.slice(0,-1):i,"L").concat(Lu(n.reverse(),r).slice(1))},Mhe=function(t){var n=t.points,r=t.className,i=t.baseLinePoints,o=t.connectNulls,a=Phe(t,Nhe);if(!n||!n.length)return null;var s=Ke("recharts-polygon",r);if(i&&i.length){var c=a.stroke&&a.stroke!=="none",f=Dhe(n,i,o);return Y.createElement("g",{className:s},Y.createElement("path",al({},qe(a,!0),{fill:f.slice(-1)==="Z"?a.fill:"none",stroke:"none",d:f})),c?Y.createElement("path",al({},qe(a,!0),{fill:"none",d:Lu(n,o)})):null,c?Y.createElement("path",al({},qe(a,!0),{fill:"none",d:Lu(i,o)})):null)}var h=Lu(n,o);return Y.createElement("path",al({},qe(a,!0),{fill:h.slice(-1)==="Z"?a.fill:"none",className:s,d:h}))};function VS(){return VS=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},VS.apply(this,arguments)}var dk=function(t){var n=t.cx,r=t.cy,i=t.r,o=t.className,a=Ke("recharts-dot",o);return n===+n&&r===+r&&i===+i?O.createElement("circle",VS({},qe(t,!1),mp(t),{className:a,cx:n,cy:r,r:i})):null};function xf(e){"@babel/helpers - typeof";return xf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xf(e)}var Lhe=["x","y","top","left","width","height","className"];function GS(){return GS=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},GS.apply(this,arguments)}function fD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $he(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fD(Object(n),!0).forEach(function(r){Fhe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Fhe(e,t,n){return t=Bhe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bhe(e){var t=zhe(e,"string");return xf(t)=="symbol"?t:t+""}function zhe(e,t){if(xf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Uhe(e,t){if(e==null)return{};var n=qhe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qhe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var Hhe=function(t,n,r,i,o,a){return"M".concat(t,",").concat(o,"v").concat(i,"M").concat(a,",").concat(n,"h").concat(r)},Whe=function(t){var n=t.x,r=n===void 0?0:n,i=t.y,o=i===void 0?0:i,a=t.top,s=a===void 0?0:a,c=t.left,f=c===void 0?0:c,h=t.width,p=h===void 0?0:h,g=t.height,y=g===void 0?0:g,S=t.className,b=Uhe(t,Lhe),v=$he({x:r,y:o,top:s,left:f,width:p,height:y},b);return!we(r)||!we(o)||!we(p)||!we(y)||!we(s)||!we(f)?null:Y.createElement("path",GS({},qe(v,!0),{className:Ke("recharts-cross",S),d:Hhe(r,o,p,y,s,f)}))},Ew,dD;function Vhe(){if(dD)return Ew;dD=1;var e=Gm(),t=W3(),n=ji();function r(i,o){return i&&i.length?e(i,n(o,2),t):void 0}return Ew=r,Ew}var Ghe=Vhe();const Khe=lt(Ghe);var Nw,hD;function Xhe(){if(hD)return Nw;hD=1;var e=Gm(),t=ji(),n=V3();function r(i,o){return i&&i.length?e(i,t(o,2),n):void 0}return Nw=r,Nw}var Yhe=Xhe();const Jhe=lt(Yhe);var Qhe=["cx","cy","angle","ticks","axisLine"],Zhe=["ticks","tick","angle","tickFormatter","stroke"];function Ul(e){"@babel/helpers - typeof";return Ul=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ul(e)}function $u(){return $u=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},$u.apply(this,arguments)}function pD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Oa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pD(Object(n),!0).forEach(function(r){eg(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function mD(e,t){if(e==null)return{};var n=epe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function epe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function tpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,CF(r.key),r)}}function npe(e,t,n){return t&&gD(e.prototype,t),n&&gD(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function rpe(e,t,n){return t=Kp(t),ipe(e,OF()?Reflect.construct(t,n||[],Kp(e).constructor):t.apply(e,n))}function ipe(e,t){if(t&&(Ul(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ope(e)}function ope(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(OF=function(){return!!e})()}function Kp(e){return Kp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Kp(e)}function ape(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&KS(e,t)}function KS(e,t){return KS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},KS(e,t)}function eg(e,t,n){return t=CF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CF(e){var t=spe(e,"string");return Ul(t)=="symbol"?t:t+""}function spe(e,t){if(Ul(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ul(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var tg=(function(e){function t(){return tpe(this,t),rpe(this,t,arguments)}return ape(t,e),npe(t,[{key:"getTickValueCoord",value:function(r){var i=r.coordinate,o=this.props,a=o.angle,s=o.cx,c=o.cy;return _t(s,c,i,a)}},{key:"getTickTextAnchor",value:function(){var r=this.props.orientation,i;switch(r){case"left":i="end";break;case"right":i="start";break;default:i="middle";break}return i}},{key:"getViewBox",value:function(){var r=this.props,i=r.cx,o=r.cy,a=r.angle,s=r.ticks,c=Khe(s,function(h){return h.coordinate||0}),f=Jhe(s,function(h){return h.coordinate||0});return{cx:i,cy:o,startAngle:a,endAngle:a,innerRadius:f.coordinate||0,outerRadius:c.coordinate||0}}},{key:"renderAxisLine",value:function(){var r=this.props,i=r.cx,o=r.cy,a=r.angle,s=r.ticks,c=r.axisLine,f=mD(r,Qhe),h=s.reduce(function(S,b){return[Math.min(S[0],b.coordinate),Math.max(S[1],b.coordinate)]},[1/0,-1/0]),p=_t(i,o,h[0],a),g=_t(i,o,h[1],a),y=Oa(Oa(Oa({},qe(f,!1)),{},{fill:"none"},qe(c,!1)),{},{x1:p.x,y1:p.y,x2:g.x,y2:g.y});return Y.createElement("line",$u({className:"recharts-polar-radius-axis-line"},y))}},{key:"renderTicks",value:function(){var r=this,i=this.props,o=i.ticks,a=i.tick,s=i.angle,c=i.tickFormatter,f=i.stroke,h=mD(i,Zhe),p=this.getTickTextAnchor(),g=qe(h,!1),y=qe(a,!1),S=o.map(function(b,v){var w=r.getTickValueCoord(b),j=Oa(Oa(Oa(Oa({textAnchor:p,transform:"rotate(".concat(90-s,", ").concat(w.x,", ").concat(w.y,")")},g),{},{stroke:"none",fill:f},y),{},{index:v},w),{},{payload:b});return Y.createElement(pt,$u({className:Ke("recharts-polar-radius-axis-tick",xF(a)),key:"tick-".concat(b.coordinate)},ls(r.props,b,v)),t.renderTickItem(a,j,c?c(b.value,v):b.value))});return Y.createElement(pt,{className:"recharts-polar-radius-axis-ticks"},S)}},{key:"render",value:function(){var r=this.props,i=r.ticks,o=r.axisLine,a=r.tick;return!i||!i.length?null:Y.createElement(pt,{className:Ke("recharts-polar-radius-axis",this.props.className)},o&&this.renderAxisLine(),a&&this.renderTicks(),cn.renderCallByParent(this.props,this.getViewBox()))}}],[{key:"renderTickItem",value:function(r,i,o){var a;return Y.isValidElement(r)?a=Y.cloneElement(r,i):He(r)?a=r(i):a=Y.createElement(cs,$u({},i,{className:"recharts-polar-radius-axis-tick-value"}),o),a}}])})(O.PureComponent);eg(tg,"displayName","PolarRadiusAxis");eg(tg,"axisType","radiusAxis");eg(tg,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});function ql(e){"@babel/helpers - typeof";return ql=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ql(e)}function Da(){return Da=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},Da.apply(this,arguments)}function yD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ca(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yD(Object(n),!0).forEach(function(r){ng(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function lpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,RF(r.key),r)}}function cpe(e,t,n){return t&&vD(e.prototype,t),n&&vD(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function upe(e,t,n){return t=Xp(t),fpe(e,TF()?Reflect.construct(t,n||[],Xp(e).constructor):t.apply(e,n))}function fpe(e,t){if(t&&(ql(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return dpe(e)}function dpe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(TF=function(){return!!e})()}function Xp(e){return Xp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Xp(e)}function hpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&XS(e,t)}function XS(e,t){return XS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},XS(e,t)}function ng(e,t,n){return t=RF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RF(e){var t=ppe(e,"string");return ql(t)=="symbol"?t:t+""}function ppe(e,t){if(ql(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ql(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var mpe=Math.PI/180,xD=1e-5,rg=(function(e){function t(){return lpe(this,t),upe(this,t,arguments)}return hpe(t,e),cpe(t,[{key:"getTickLineCoord",value:function(r){var i=this.props,o=i.cx,a=i.cy,s=i.radius,c=i.orientation,f=i.tickSize,h=f||8,p=_t(o,a,s,r.coordinate),g=_t(o,a,s+(c==="inner"?-1:1)*h,r.coordinate);return{x1:p.x,y1:p.y,x2:g.x,y2:g.y}}},{key:"getTickTextAnchor",value:function(r){var i=this.props.orientation,o=Math.cos(-r.coordinate*mpe),a;return o>xD?a=i==="outer"?"start":"end":o<-xD?a=i==="outer"?"end":"start":a="middle",a}},{key:"renderAxisLine",value:function(){var r=this.props,i=r.cx,o=r.cy,a=r.radius,s=r.axisLine,c=r.axisLineType,f=Ca(Ca({},qe(this.props,!1)),{},{fill:"none"},qe(s,!1));if(c==="circle")return Y.createElement(dk,Da({className:"recharts-polar-angle-axis-line"},f,{cx:i,cy:o,r:a}));var h=this.props.ticks,p=h.map(function(g){return _t(i,o,a,g.coordinate)});return Y.createElement(Mhe,Da({className:"recharts-polar-angle-axis-line"},f,{points:p}))}},{key:"renderTicks",value:function(){var r=this,i=this.props,o=i.ticks,a=i.tick,s=i.tickLine,c=i.tickFormatter,f=i.stroke,h=qe(this.props,!1),p=qe(a,!1),g=Ca(Ca({},h),{},{fill:"none"},qe(s,!1)),y=o.map(function(S,b){var v=r.getTickLineCoord(S),w=r.getTickTextAnchor(S),j=Ca(Ca(Ca({textAnchor:w},h),{},{stroke:"none",fill:f},p),{},{index:b,payload:S,x:v.x2,y:v.y2});return Y.createElement(pt,Da({className:Ke("recharts-polar-angle-axis-tick",xF(a)),key:"tick-".concat(S.coordinate)},ls(r.props,S,b)),s&&Y.createElement("line",Da({className:"recharts-polar-angle-axis-tick-line"},g,v)),a&&t.renderTickItem(a,j,c?c(S.value,b):S.value))});return Y.createElement(pt,{className:"recharts-polar-angle-axis-ticks"},y)}},{key:"render",value:function(){var r=this.props,i=r.ticks,o=r.radius,a=r.axisLine;return o<=0||!i||!i.length?null:Y.createElement(pt,{className:Ke("recharts-polar-angle-axis",this.props.className)},a&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(r,i,o){var a;return Y.isValidElement(r)?a=Y.cloneElement(r,i):He(r)?a=r(i):a=Y.createElement(cs,Da({},i,{className:"recharts-polar-angle-axis-tick-value"}),o),a}}])})(O.PureComponent);ng(rg,"displayName","PolarAngleAxis");ng(rg,"axisType","angleAxis");ng(rg,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var Pw,bD;function gpe(){if(bD)return Pw;bD=1;var e=W5(),t=e(Object.getPrototypeOf,Object);return Pw=t,Pw}var Aw,wD;function ype(){if(wD)return Aw;wD=1;var e=ro(),t=gpe(),n=io(),r="[object Object]",i=Function.prototype,o=Object.prototype,a=i.toString,s=o.hasOwnProperty,c=a.call(Object);function f(h){if(!n(h)||e(h)!=r)return!1;var p=t(h);if(p===null)return!0;var g=s.call(p,"constructor")&&p.constructor;return typeof g=="function"&&g instanceof g&&a.call(g)==c}return Aw=f,Aw}var vpe=ype();const xpe=lt(vpe);var Ow,SD;function bpe(){if(SD)return Ow;SD=1;var e=ro(),t=io(),n="[object Boolean]";function r(i){return i===!0||i===!1||t(i)&&e(i)==n}return Ow=r,Ow}var wpe=bpe();const Spe=lt(wpe);function bf(e){"@babel/helpers - typeof";return bf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bf(e)}function Yp(){return Yp=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},Yp.apply(this,arguments)}function jpe(e,t){return Npe(e)||Epe(e,t)||kpe(e,t)||_pe()}function _pe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 359In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kpe(e,t){if(e){if(typeof e=="string")return jD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jD(e,t)}}function jD(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Epe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function Npe(e){if(Array.isArray(e))return e}function _D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function kD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_D(Object(n),!0).forEach(function(r){Ppe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_D(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ppe(e,t,n){return t=Ape(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ape(e){var t=Ope(e,"string");return bf(t)=="symbol"?t:t+""}function Ope(e,t){if(bf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(bf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ED=function(t,n,r,i,o){var a=r-i,s;return s="M ".concat(t,",").concat(n),s+="L ".concat(t+r,",").concat(n),s+="L ".concat(t+r-a/2,",").concat(n+o),s+="L ".concat(t+r-a/2-i,",").concat(n+o),s+="L ".concat(t,",").concat(n," Z"),s},Cpe={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Tpe=function(t){var n=kD(kD({},Cpe),t),r=O.useRef(),i=O.useState(-1),o=jpe(i,2),a=o[0],s=o[1];O.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var _=r.current.getTotalLength();_&&s(_)}catch{}},[]);var c=n.x,f=n.y,h=n.upperWidth,p=n.lowerWidth,g=n.height,y=n.className,S=n.animationEasing,b=n.animationDuration,v=n.animationBegin,w=n.isUpdateAnimationActive;if(c!==+c||f!==+f||h!==+h||p!==+p||g!==+g||h===0&&p===0||g===0)return null;var j=Ke("recharts-trapezoid",y);return w?Y.createElement(Zi,{canBegin:a>0,from:{upperWidth:0,lowerWidth:0,height:g,x:c,y:f},to:{upperWidth:h,lowerWidth:p,height:g,x:c,y:f},duration:b,animationEasing:S,isActive:w},function(_){var E=_.upperWidth,N=_.lowerWidth,P=_.height,C=_.x,T=_.y;return Y.createElement(Zi,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:v,duration:b,easing:S},Y.createElement("path",Yp({},qe(n,!0),{className:j,d:ED(C,T,E,N,P),ref:r})))}):Y.createElement("g",null,Y.createElement("path",Yp({},qe(n,!0),{className:j,d:ED(c,f,h,p,g)})))},Rpe=["option","shapeType","propTransformer","activeClassName","isActive"];function wf(e){"@babel/helpers - typeof";return wf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wf(e)}function Ipe(e,t){if(e==null)return{};var n=Dpe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Dpe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ND(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Jp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ND(Object(n),!0).forEach(function(r){Mpe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ND(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Mpe(e,t,n){return t=Lpe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lpe(e){var t=$pe(e,"string");return wf(t)=="symbol"?t:t+""}function $pe(e,t){if(wf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(wf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fpe(e,t){return Jp(Jp({},t),e)}function Bpe(e,t){return e==="symbols"}function PD(e){var t=e.shapeType,n=e.elementProps;switch(t){case"rectangle":return Y.createElement(fk,n);case"trapezoid":return Y.createElement(Tpe,n);case"sector":return Y.createElement(SF,n);case"symbols":if(Bpe(t))return Y.createElement(O_,n);break;default:return null}}function zpe(e){return O.isValidElement(e)?e.props:e}function IF(e){var t=e.option,n=e.shapeType,r=e.propTransformer,i=r===void 0?Fpe:r,o=e.activeClassName,a=o===void 0?"recharts-active-shape":o,s=e.isActive,c=Ipe(e,Rpe),f;if(O.isValidElement(t))f=O.cloneElement(t,Jp(Jp({},c),zpe(t)));else if(He(t))f=t(c);else if(xpe(t)&&!Spe(t)){var h=i(t,c);f=Y.createElement(PD,{shapeType:n,elementProps:h})}else{var p=c;f=Y.createElement(PD,{shapeType:n,elementProps:p})}return s?Y.createElement(pt,{className:a},f):f}function ig(e,t){return t!=null&&"trapezoids"in e.props}function og(e,t){return t!=null&&"sectors"in e.props}function Sf(e,t){return t!=null&&"points"in e.props}function Upe(e,t){var n,r,i=e.x===(t==null||(n=t.labelViewBox)===null||n===void 0?void 0:n.x)||e.x===t.x,o=e.y===(t==null||(r=t.labelViewBox)===null||r===void 0?void 0:r.y)||e.y===t.y;return i&&o}function qpe(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function Hpe(e,t){var n=e.x===t.x,r=e.y===t.y,i=e.z===t.z;return n&&r&&i}function Wpe(e,t){var n;return ig(e,t)?n=Upe:og(e,t)?n=qpe:Sf(e,t)&&(n=Hpe),n}function Vpe(e,t){var n;return ig(e,t)?n="trapezoids":og(e,t)?n="sectors":Sf(e,t)&&(n="points"),n}function Gpe(e,t){if(ig(e,t)){var n;return(n=t.tooltipPayload)===null||n===void 0||(n=n[0])===null||n===void 0||(n=n.payload)===null||n===void 0?void 0:n.payload}if(og(e,t)){var r;return(r=t.tooltipPayload)===null||r===void 0||(r=r[0])===null||r===void 0||(r=r.payload)===null||r===void 0?void 0:r.payload}return Sf(e,t)?t.payload:{}}function Kpe(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,i=Vpe(n,t),o=Gpe(n,t),a=r.filter(function(c,f){var h=Ym(o,c),p=n.props[i].filter(function(S){var b=Wpe(n,t);return b(S,t)}),g=n.props[i].indexOf(p[p.length-1]),y=f===g;return h&&y}),s=r.indexOf(a[a.length-1]);return s}var Qh;function Hl(e){"@babel/helpers - typeof";return Hl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hl(e)}function sl(){return sl=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},sl.apply(this,arguments)}function AD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function St(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?AD(Object(n),!0).forEach(function(r){Nr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,MF(r.key),r)}}function Ype(e,t,n){return t&&OD(e.prototype,t),n&&OD(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Jpe(e,t,n){return t=Qp(t),Qpe(e,DF()?Reflect.construct(t,n||[],Qp(e).constructor):t.apply(e,n))}function Qpe(e,t){if(t&&(Hl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Zpe(e)}function Zpe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(DF=function(){return!!e})()}function Qp(e){return Qp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Qp(e)}function eme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&YS(e,t)}function YS(e,t){return YS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},YS(e,t)}function Nr(e,t,n){return t=MF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function MF(e){var t=tme(e,"string");return Hl(t)=="symbol"?t:t+""}function tme(e,t){if(Hl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Hl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ao=(function(e){function t(n){var r;return Xpe(this,t),r=Jpe(this,t,[n]),Nr(r,"pieRef",null),Nr(r,"sectorRefs",[]),Nr(r,"id",Xf("recharts-pie-")),Nr(r,"handleAnimationEnd",function(){var i=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),He(i)&&i()}),Nr(r,"handleAnimationStart",function(){var i=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),He(i)&&i()}),r.state={isAnimationFinished:!n.isAnimationActive,prevIsAnimationActive:n.isAnimationActive,prevAnimationId:n.animationId,sectorToFocus:0},r}return eme(t,e),Ype(t,[{key:"isActiveIndex",value:function(r){var i=this.props.activeIndex;return Array.isArray(i)?i.indexOf(r)!==-1:r===i}},{key:"hasActiveIndex",value:function(){var r=this.props.activeIndex;return Array.isArray(r)?r.length!==0:r||r===0}},{key:"renderLabels",value:function(r){var i=this.props.isAnimationActive;if(i&&!this.state.isAnimationFinished)return null;var o=this.props,a=o.label,s=o.labelLine,c=o.dataKey,f=o.valueKey,h=qe(this.props,!1),p=qe(a,!1),g=qe(s,!1),y=a&&a.offsetRadius||20,S=r.map(function(b,v){var w=(b.startAngle+b.endAngle)/2,j=_t(b.cx,b.cy,b.outerRadius+y,w),_=St(St(St(St({},h),b),{},{stroke:"none"},p),{},{index:v,textAnchor:t.getTextAnchor(j.x,b.cx)},j),E=St(St(St(St({},h),b),{},{fill:"none",stroke:b.fill},g),{},{index:v,points:[_t(b.cx,b.cy,b.outerRadius,w),j]}),N=c;return Qe(c)&&Qe(f)?N="value":Qe(c)&&(N=f),Y.createElement(pt,{key:"label-".concat(b.startAngle,"-").concat(b.endAngle,"-").concat(b.midAngle,"-").concat(v)},s&&t.renderLabelLineItem(s,E,"line"),t.renderLabelItem(a,_,An(b,N)))});return Y.createElement(pt,{className:"recharts-pie-labels"},S)}},{key:"renderSectorsStatically",value:function(r){var i=this,o=this.props,a=o.activeShape,s=o.blendStroke,c=o.inactiveShape;return r.map(function(f,h){if((f==null?void 0:f.startAngle)===0&&(f==null?void 0:f.endAngle)===0&&r.length!==1)return null;var p=i.isActiveIndex(h),g=c&&i.hasActiveIndex()?c:null,y=p?a:g,S=St(St({},f),{},{stroke:s?f.fill:f.stroke,tabIndex:-1});return Y.createElement(pt,sl({ref:function(v){v&&!i.sectorRefs.includes(v)&&i.sectorRefs.push(v)},tabIndex:-1,className:"recharts-pie-sector"},ls(i.props,f,h),{key:"sector-".concat(f==null?void 0:f.startAngle,"-").concat(f==null?void 0:f.endAngle,"-").concat(f.midAngle,"-").concat(h)}),Y.createElement(IF,sl({option:y,isActive:p,shapeType:"sector"},S)))})}},{key:"renderSectorsWithAnimation",value:function(){var r=this,i=this.props,o=i.sectors,a=i.isAnimationActive,s=i.animationBegin,c=i.animationDuration,f=i.animationEasing,h=i.animationId,p=this.state,g=p.prevSectors,y=p.prevIsAnimationActive;return Y.createElement(Zi,{begin:s,duration:c,isActive:a,easing:f,from:{t:0},to:{t:1},key:"pie-".concat(h,"-").concat(y),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(S){var b=S.t,v=[],w=o&&o[0],j=w.startAngle;return o.forEach(function(_,E){var N=g&&g[E],P=E>0?fr(_,"paddingAngle",0):0;if(N){var C=Io(N.endAngle-N.startAngle,_.endAngle-_.startAngle),T=St(St({},_),{},{startAngle:j+P,endAngle:j+C(b)+P});v.push(T),j=T.endAngle}else{var L=_.endAngle,D=_.startAngle,M=Io(0,L-D),$=M(b),H=St(St({},_),{},{startAngle:j+P,endAngle:j+$+P});v.push(H),j=H.endAngle}}),Y.createElement(pt,null,r.renderSectorsStatically(v))})}},{key:"attachKeyboardHandlers",value:function(r){var i=this;r.onkeydown=function(o){if(!o.altKey)switch(o.key){case"ArrowLeft":{var a=++i.state.sectorToFocus%i.sectorRefs.length;i.sectorRefs[a].focus(),i.setState({sectorToFocus:a});break}case"ArrowRight":{var s=--i.state.sectorToFocus<0?i.sectorRefs.length-1:i.state.sectorToFocus%i.sectorRefs.length;i.sectorRefs[s].focus(),i.setState({sectorToFocus:s});break}case"Escape":{i.sectorRefs[i.state.sectorToFocus].blur(),i.setState({sectorToFocus:0});break}}}}},{key:"renderSectors",value:function(){var r=this.props,i=r.sectors,o=r.isAnimationActive,a=this.state.prevSectors;return o&&i&&i.length&&(!a||!Ym(a,i))?this.renderSectorsWithAnimation():this.renderSectorsStatically(i)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var r=this,i=this.props,o=i.hide,a=i.sectors,s=i.className,c=i.label,f=i.cx,h=i.cy,p=i.innerRadius,g=i.outerRadius,y=i.isAnimationActive,S=this.state.isAnimationFinished;if(o||!a||!a.length||!we(f)||!we(h)||!we(p)||!we(g))return null;var b=Ke("recharts-pie",s);return Y.createElement(pt,{tabIndex:this.props.rootTabIndex,className:b,ref:function(w){r.pieRef=w}},this.renderSectors(),c&&this.renderLabels(a),cn.renderCallByParent(this.props,null,!1),(!y||S)&&Xi.renderCallByParent(this.props,a,!1))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return i.prevIsAnimationActive!==r.isAnimationActive?{prevIsAnimationActive:r.isAnimationActive,prevAnimationId:r.animationId,curSectors:r.sectors,prevSectors:[],isAnimationFinished:!0}:r.isAnimationActive&&r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curSectors:r.sectors,prevSectors:i.curSectors,isAnimationFinished:!0}:r.sectors!==i.curSectors?{curSectors:r.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(r,i){return r>i?"start":r<i?"end":"middle"}},{key:"renderLabelLineItem",value:function(r,i,o){if(Y.isValidElement(r))return Y.cloneElement(r,i);if(He(r))return r(i);var a=Ke("recharts-pie-label-line",typeof r!="boolean"?r.className:"");return Y.createElement(DS,sl({},i,{key:o,type:"linear",className:a}))}},{key:"renderLabelItem",value:function(r,i,o){if(Y.isValidElement(r))return Y.cloneElement(r,i);var a=o;if(He(r)&&(a=r(i),Y.isValidElement(a)))return a;var s=Ke("recharts-pie-label-text",typeof r!="boolean"&&!He(r)?r.className:"");return Y.createElement(cs,sl({},i,{alignmentBaseline:"middle",className:s}),a)}}])})(O.PureComponent);Qh=ao;Nr(ao,"displayName","Pie");Nr(ao,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!hc.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0});Nr(ao,"parseDeltaAngle",function(e,t){var n=Ln(t-e),r=Math.min(Math.abs(t-e),360);return n*r});Nr(ao,"getRealPieData",function(e){var t=e.data,n=e.children,r=qe(e,!1),i=Ar(n,Bm);return t&&t.length?t.map(function(o,a){return St(St(St({payload:o},r),o),i&&i[a]&&i[a].props)}):i&&i.length?i.map(function(o){return St(St({},r),o.props)}):[]});Nr(ao,"parseCoordinateOfPie",function(e,t){var n=t.top,r=t.left,i=t.width,o=t.height,a=vF(i,o),s=r+$n(e.cx,i,i/2),c=n+$n(e.cy,o,o/2),f=$n(e.innerRadius,a,0),h=$n(e.outerRadius,a,a*.8),p=e.maxRadius||Math.sqrt(i*i+o*o)/2;return{cx:s,cy:c,innerRadius:f,outerRadius:h,maxRadius:p}});Nr(ao,"getComposedData",function(e){var t=e.item,n=e.offset,r=t.type.defaultProps!==void 0?St(St({},t.type.defaultProps),t.props):t.props,i=Qh.getRealPieData(r);if(!i||!i.length)return null;var o=r.cornerRadius,a=r.startAngle,s=r.endAngle,c=r.paddingAngle,f=r.dataKey,h=r.nameKey,p=r.valueKey,g=r.tooltipType,y=Math.abs(r.minAngle),S=Qh.parseCoordinateOfPie(r,n),b=Qh.parseDeltaAngle(a,s),v=Math.abs(b),w=f;Qe(f)&&Qe(p)?(Gi(!1,`Use "dataKey" to specify the value of pie,
360 the props "valueKey" will be deprecated in 1.1.0`),w="value"):Qe(f)&&(Gi(!1,`Use "dataKey" to specify the value of pie, 361 the props "valueKey" will be deprecated in 1.1.0`),w=p);var j=i.filter(function(T){return An(T,w,0)!==0}).length,_=(v>=360?j:j-1)*c,E=v-j*y-_,N=i.reduce(function(T,L){var D=An(L,w,0);return T+(we(D)?D:0)},0),P;if(N>0){var C;P=i.map(function(T,L){var D=An(T,w,0),M=An(T,h,L),$=(we(D)?D:0)/N,H;L?H=C.endAngle+Ln(b)*c*(D!==0?1:0):H=a;var U=H+Ln(b)*((D!==0?y:0)+$*E),z=(H+U)/2,W=(S.innerRadius+S.outerRadius)/2,Z=[{name:M,value:D,payload:T,dataKey:w,type:g}],V=_t(S.cx,S.cy,W,z);return C=St(St(St({percent:$,cornerRadius:o,name:M,tooltipPayload:Z,midAngle:z,middleRadius:W,tooltipPosition:V},T),S),{},{value:An(T,w),startAngle:H,endAngle:U,payload:T,paddingAngle:Ln(b)*c}),C})}return St(St({},S),{},{sectors:P,data:i})});var Cw,CD;function nme(){if(CD)return Cw;CD=1;var e=Math.ceil,t=Math.max;function n(r,i,o,a){for(var s=-1,c=t(e((i-r)/(o||1)),0),f=Array(c);c--;)f[a?c:++s]=r,r+=o;return f}return Cw=n,Cw}var Tw,TD;function LF(){if(TD)return Tw;TD=1;var e=s3(),t=1/0,n=17976931348623157e292;function r(i){if(!i)return i===0?i:0;if(i=e(i),i===t||i===-t){var o=i<0?-1:1;return o*n}return i===i?i:0}return Tw=r,Tw}var Rw,RD;function rme(){if(RD)return Rw;RD=1;var e=nme(),t=Fm(),n=LF();function r(i){return function(o,a,s){return s&&typeof s!="number"&&t(o,a,s)&&(a=s=void 0),o=n(o),a===void 0?(a=o,o=0):a=n(a),s=s===void 0?o<a?1:-1:n(s),e(o,a,s,i)}}return Rw=r,Rw}var Iw,ID;function ime(){if(ID)return Iw;ID=1;var e=rme(),t=e();return Iw=t,Iw}var ome=ime();const Zp=lt(ome);function jf(e){"@babel/helpers - typeof";return jf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jf(e)}function DD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function MD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?DD(Object(n),!0).forEach(function(r){$F(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $F(e,t,n){return t=ame(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ame(e){var t=sme(e,"string");return jf(t)=="symbol"?t:t+""}function sme(e,t){if(jf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(jf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var lme=["Webkit","Moz","O","ms"],cme=function(t,n){var r=t.replace(/(\w)/,function(o){return o.toUpperCase()}),i=lme.reduce(function(o,a){return MD(MD({},o),{},$F({},a+r,n))},{});return i[t]=n,i};function Wl(e){"@babel/helpers - typeof";return Wl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wl(e)}function em(){return em=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},em.apply(this,arguments)}function LD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Dw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?LD(Object(n),!0).forEach(function(r){ar(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ume(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,BF(r.key),r)}}function fme(e,t,n){return t&&$D(e.prototype,t),n&&$D(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function dme(e,t,n){return t=tm(t),hme(e,FF()?Reflect.construct(t,n||[],tm(e).constructor):t.apply(e,n))}function hme(e,t){if(t&&(Wl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return pme(e)}function pme(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(FF=function(){return!!e})()}function tm(e){return tm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},tm(e)}function mme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&JS(e,t)}
vendor: 104,863 bytes, lines 361-365
361function JS(e,t){return JS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},JS(e,t)}function ar(e,t,n){return t=BF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function BF(e){var t=gme(e,"string");return Wl(t)=="symbol"?t:t+""}function gme(e,t){if(Wl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Wl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var yme=function(t){var n=t.data,r=t.startIndex,i=t.endIndex,o=t.x,a=t.width,s=t.travellerWidth;if(!n||!n.length)return{};var c=n.length,f=Iu().domain(Zp(0,c)).range([o,o+a-s]),h=f.domain().map(function(p){return f(p)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:f(r),endX:f(i),scale:f,scaleValues:h}},FD=function(t){return t.changedTouches&&!!t.changedTouches.length},Vl=(function(e){function t(n){var r;return ume(this,t),r=dme(this,t,[n]),ar(r,"handleDrag",function(i){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(i):r.state.isSlideMoving&&r.handleSlideDrag(i)}),ar(r,"handleTouchMove",function(i){i.changedTouches!=null&&i.changedTouches.length>0&&r.handleDrag(i.changedTouches[0])}),ar(r,"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=r.props,o=i.endIndex,a=i.onDragEnd,s=i.startIndex;a==null||a({endIndex:o,startIndex:s})}),r.detachDragEndListener()}),ar(r,"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),ar(r,"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),ar(r,"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),ar(r,"handleSlideDragStart",function(i){var o=FD(i)?i.changedTouches[0]:i;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:o.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}return mme(t,e),fme(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(r){var i=r.startX,o=r.endX,a=this.state.scaleValues,s=this.props,c=s.gap,f=s.data,h=f.length-1,p=Math.min(i,o),g=Math.max(i,o),y=t.getIndexInRange(a,p),S=t.getIndexInRange(a,g);return{startIndex:y-y%c,endIndex:S===h?h:S-S%c}}},{key:"getTextOfTick",value:function(r){var i=this.props,o=i.data,a=i.tickFormatter,s=i.dataKey,c=An(o[r],s,r);return He(a)?a(c,r):c}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(r){var i=this.state,o=i.slideMoveStartX,a=i.startX,s=i.endX,c=this.props,f=c.x,h=c.width,p=c.travellerWidth,g=c.startIndex,y=c.endIndex,S=c.onChange,b=r.pageX-o;b>0?b=Math.min(b,f+h-p-s,f+h-p-a):b<0&&(b=Math.max(b,f-a,f-s));var v=this.getIndex({startX:a+b,endX:s+b});(v.startIndex!==g||v.endIndex!==y)&&S&&S(v),this.setState({startX:a+b,endX:s+b,slideMoveStartX:r.pageX})}},{key:"handleTravellerDragStart",value:function(r,i){var o=FD(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:r,brushMoveStartX:o.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(r){var i=this.state,o=i.brushMoveStartX,a=i.movingTravellerId,s=i.endX,c=i.startX,f=this.state[a],h=this.props,p=h.x,g=h.width,y=h.travellerWidth,S=h.onChange,b=h.gap,v=h.data,w={startX:this.state.startX,endX:this.state.endX},j=r.pageX-o;j>0?j=Math.min(j,p+g-y-f):j<0&&(j=Math.max(j,p-f)),w[a]=f+j;var _=this.getIndex(w),E=_.startIndex,N=_.endIndex,P=function(){var T=v.length-1;return a==="startX"&&(s>c?E%b===0:N%b===0)||s<c&&N===T||a==="endX"&&(s>c?N%b===0:E%b===0)||s>c&&N===T};this.setState(ar(ar({},a,f+j),"brushMoveStartX",r.pageX),function(){S&&P()&&S(_)})}},{key:"handleTravellerMoveKeyboard",value:function(r,i){var o=this,a=this.state,s=a.scaleValues,c=a.startX,f=a.endX,h=this.state[i],p=s.indexOf(h);if(p!==-1){var g=p+r;if(!(g===-1||g>=s.length)){var y=s[g];i==="startX"&&y>=f||i==="endX"&&y<=c||this.setState(ar({},i,y),function(){o.props.onChange(o.getIndex({startX:o.state.startX,endX:o.state.endX}))})}}}},{key:"renderBackground",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,c=r.fill,f=r.stroke;return Y.createElement("rect",{stroke:f,fill:c,x:i,y:o,width:a,height:s})}},{key:"renderPanorama",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,c=r.data,f=r.children,h=r.padding,p=O.Children.only(f);return p?Y.cloneElement(p,{x:i,y:o,width:a,height:s,margin:h,compact:!0,data:c}):null}},{key:"renderTravellerLayer",value:function(r,i){var o,a,s=this,c=this.props,f=c.y,h=c.travellerWidth,p=c.height,g=c.traveller,y=c.ariaLabel,S=c.data,b=c.startIndex,v=c.endIndex,w=Math.max(r,this.props.x),j=Dw(Dw({},qe(this.props,!1)),{},{x:w,y:f,width:h,height:p}),_=y||"Min value: ".concat((o=S[b])===null||o===void 0?void 0:o.name,", Max value: ").concat((a=S[v])===null||a===void 0?void 0:a.name);return Y.createElement(pt,{tabIndex:0,role:"slider","aria-label":_,"aria-valuenow":r,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(N){["ArrowLeft","ArrowRight"].includes(N.key)&&(N.preventDefault(),N.stopPropagation(),s.handleTravellerMoveKeyboard(N.key==="ArrowRight"?1:-1,i))},onFocus:function(){s.setState({isTravellerFocused:!0})},onBlur:function(){s.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(g,j))}},{key:"renderSlide",value:function(r,i){var o=this.props,a=o.y,s=o.height,c=o.stroke,f=o.travellerWidth,h=Math.min(r,i)+f,p=Math.max(Math.abs(i-r)-f,0);return Y.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:c,fillOpacity:.2,x:h,y:a,width:p,height:s})}},{key:"renderText",value:function(){var r=this.props,i=r.startIndex,o=r.endIndex,a=r.y,s=r.height,c=r.travellerWidth,f=r.stroke,h=this.state,p=h.startX,g=h.endX,y=5,S={pointerEvents:"none",fill:f};return Y.createElement(pt,{className:"recharts-brush-texts"},Y.createElement(cs,em({textAnchor:"end",verticalAnchor:"middle",x:Math.min(p,g)-y,y:a+s/2},S),this.getTextOfTick(i)),Y.createElement(cs,em({textAnchor:"start",verticalAnchor:"middle",x:Math.max(p,g)+c+y,y:a+s/2},S),this.getTextOfTick(o)))}},{key:"render",value:function(){var r=this.props,i=r.data,o=r.className,a=r.children,s=r.x,c=r.y,f=r.width,h=r.height,p=r.alwaysShowText,g=this.state,y=g.startX,S=g.endX,b=g.isTextActive,v=g.isSlideMoving,w=g.isTravellerMoving,j=g.isTravellerFocused;if(!i||!i.length||!we(s)||!we(c)||!we(f)||!we(h)||f<=0||h<=0)return null;var _=Ke("recharts-brush",o),E=Y.Children.count(a)===1,N=cme("userSelect","none");return Y.createElement(pt,{className:_,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:N},this.renderBackground(),E&&this.renderPanorama(),this.renderSlide(y,S),this.renderTravellerLayer(y,"startX"),this.renderTravellerLayer(S,"endX"),(b||v||w||j||p)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(r){var i=r.x,o=r.y,a=r.width,s=r.height,c=r.stroke,f=Math.floor(o+s/2)-1;return Y.createElement(Y.Fragment,null,Y.createElement("rect",{x:i,y:o,width:a,height:s,fill:c,stroke:"none"}),Y.createElement("line",{x1:i+1,y1:f,x2:i+a-1,y2:f,fill:"none",stroke:"#fff"}),Y.createElement("line",{x1:i+1,y1:f+2,x2:i+a-1,y2:f+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(r,i){var o;return Y.isValidElement(r)?o=Y.cloneElement(r,i):He(r)?o=r(i):o=t.renderDefaultTraveller(i),o}},{key:"getDerivedStateFromProps",value:function(r,i){var o=r.data,a=r.width,s=r.x,c=r.travellerWidth,f=r.updateId,h=r.startIndex,p=r.endIndex;if(o!==i.prevData||f!==i.prevUpdateId)return Dw({prevData:o,prevTravellerWidth:c,prevUpdateId:f,prevX:s,prevWidth:a},o&&o.length?yme({data:o,width:a,x:s,travellerWidth:c,startIndex:h,endIndex:p}):{scale:null,scaleValues:null});if(i.scale&&(a!==i.prevWidth||s!==i.prevX||c!==i.prevTravellerWidth)){i.scale.range([s,s+a-c]);var g=i.scale.domain().map(function(y){return i.scale(y)});return{prevData:o,prevTravellerWidth:c,prevUpdateId:f,prevX:s,prevWidth:a,startX:i.scale(r.startIndex),endX:i.scale(r.endIndex),scaleValues:g}}return null}},{key:"getIndexInRange",value:function(r,i){for(var o=r.length,a=0,s=o-1;s-a>1;){var c=Math.floor((a+s)/2);r[c]>i?s=c:a=c}return i>=r[s]?s:a}}])})(O.PureComponent);ar(Vl,"displayName","Brush");ar(Vl,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var Mw,BD;function vme(){if(BD)return Mw;BD=1;var e=L_();function t(n,r){var i;return e(n,function(o,a,s){return i=r(o,a,s),!i}),!!i}return Mw=t,Mw}var Lw,zD;function xme(){if(zD)return Lw;zD=1;var e=$5(),t=ji(),n=vme(),r=Zn(),i=Fm();function o(a,s,c){var f=r(a)?e:n;return c&&i(a,s,c)&&(s=void 0),f(a,t(s,3))}return Lw=o,Lw}var bme=xme();const wme=lt(bme);var mi=function(t,n){var r=t.alwaysShow,i=t.ifOverflow;return r&&(i="extendDomain"),i===n},$w,UD;function Sme(){if(UD)return $w;UD=1;var e=n3();function t(n,r,i){r=="__proto__"&&e?e(n,r,{configurable:!0,enumerable:!0,value:i,writable:!0}):n[r]=i}return $w=t,$w}var Fw,qD;function jme(){if(qD)return Fw;qD=1;var e=Sme(),t=e3(),n=ji();function r(i,o){var a={};return o=n(o,3),t(i,function(s,c,f){e(a,c,o(s,c,f))}),a}return Fw=r,Fw}var _me=jme();const kme=lt(_me);var Bw,HD;function Eme(){if(HD)return Bw;HD=1;function e(t,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(!n(t[r],r,t))return!1;return!0}return Bw=e,Bw}var zw,WD;function Nme(){if(WD)return zw;WD=1;var e=L_();function t(n,r){var i=!0;return e(n,function(o,a,s){return i=!!r(o,a,s),i}),i}return zw=t,zw}var Uw,VD;function Pme(){if(VD)return Uw;VD=1;var e=Eme(),t=Nme(),n=ji(),r=Zn(),i=Fm();function o(a,s,c){var f=r(a)?e:t;return c&&i(a,s,c)&&(s=void 0),f(a,n(s,3))}return Uw=o,Uw}var Ame=Pme();const Ome=lt(Ame);var Cme=["x","y"];function _f(e){"@babel/helpers - typeof";return _f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_f(e)}function QS(){return QS=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},QS.apply(this,arguments)}function GD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?GD(Object(n),!0).forEach(function(r){Tme(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Tme(e,t,n){return t=Rme(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rme(e){var t=Ime(e,"string");return _f(t)=="symbol"?t:t+""}function Ime(e,t){if(_f(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(_f(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dme(e,t){if(e==null)return{};var n=Mme(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Mme(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Lme(e,t){var n=e.x,r=e.y,i=Dme(e,Cme),o="".concat(n),a=parseInt(o,10),s="".concat(r),c=parseInt(s,10),f="".concat(t.height||i.height),h=parseInt(f,10),p="".concat(t.width||i.width),g=parseInt(p,10);return xu(xu(xu(xu(xu({},t),i),a?{x:a}:{}),c?{y:c}:{}),{},{height:h,width:g,name:t.name,radius:t.radius})}function KD(e){return Y.createElement(IF,QS({shapeType:"rectangle",propTransformer:Lme,activeClassName:"recharts-active-bar"},e))}var $me=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(r,i){if(typeof t=="number")return t;var o=we(r)||rne(r);return o?t(r,i):(o||fs(),n)}},Fme=["value","background"],zF;function Gl(e){"@babel/helpers - typeof";return Gl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gl(e)}function Bme(e,t){if(e==null)return{};var n=zme(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zme(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function nm(){return nm=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},nm.apply(this,arguments)}function XD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ht(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?XD(Object(n),!0).forEach(function(r){Vo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ume(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,qF(r.key),r)}}function qme(e,t,n){return t&&YD(e.prototype,t),n&&YD(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hme(e,t,n){return t=rm(t),Wme(e,UF()?Reflect.construct(t,n||[],rm(e).constructor):t.apply(e,n))}function Wme(e,t){if(t&&(Gl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Vme(e)}function Vme(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(UF=function(){return!!e})()}function rm(e){return rm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},rm(e)}function Gme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZS(e,t)}function ZS(e,t){return ZS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},ZS(e,t)}function Vo(e,t,n){return t=qF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qF(e){var t=Kme(e,"string");return Gl(t)=="symbol"?t:t+""}function Kme(e,t){if(Gl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Gl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Ss=(function(e){function t(){var n;Ume(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=Hme(this,t,[].concat(i)),Vo(n,"state",{isAnimationFinished:!1}),Vo(n,"id",Xf("recharts-bar-")),Vo(n,"handleAnimationEnd",function(){var a=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),a&&a()}),Vo(n,"handleAnimationStart",function(){var a=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),a&&a()}),n}return Gme(t,e),qme(t,[{key:"renderRectanglesStatically",value:function(r){var i=this,o=this.props,a=o.shape,s=o.dataKey,c=o.activeIndex,f=o.activeBar,h=qe(this.props,!1);return r&&r.map(function(p,g){var y=g===c,S=y?f:a,b=Ht(Ht(Ht({},h),p),{},{isActive:y,option:S,index:g,dataKey:s,onAnimationStart:i.handleAnimationStart,onAnimationEnd:i.handleAnimationEnd});return Y.createElement(pt,nm({className:"recharts-bar-rectangle"},ls(i.props,p,g),{key:"rectangle-".concat(p==null?void 0:p.x,"-").concat(p==null?void 0:p.y,"-").concat(p==null?void 0:p.value,"-").concat(g)}),Y.createElement(KD,b))})}},{key:"renderRectanglesWithAnimation",value:function(){var r=this,i=this.props,o=i.data,a=i.layout,s=i.isAnimationActive,c=i.animationBegin,f=i.animationDuration,h=i.animationEasing,p=i.animationId,g=this.state.prevData;return Y.createElement(Zi,{begin:c,duration:f,isActive:s,easing:h,from:{t:0},to:{t:1},key:"bar-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(y){var S=y.t,b=o.map(function(v,w){var j=g&&g[w];if(j){var _=Io(j.x,v.x),E=Io(j.y,v.y),N=Io(j.width,v.width),P=Io(j.height,v.height);return Ht(Ht({},v),{},{x:_(S),y:E(S),width:N(S),height:P(S)})}if(a==="horizontal"){var C=Io(0,v.height),T=C(S);return Ht(Ht({},v),{},{y:v.y+v.height-T,height:T})}var L=Io(0,v.width),D=L(S);return Ht(Ht({},v),{},{width:D})});return Y.createElement(pt,null,r.renderRectanglesStatically(b))})}},{key:"renderRectangles",value:function(){var r=this.props,i=r.data,o=r.isAnimationActive,a=this.state.prevData;return o&&i&&i.length&&(!a||!Ym(a,i))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(i)}},{key:"renderBackground",value:function(){var r=this,i=this.props,o=i.data,a=i.dataKey,s=i.activeIndex,c=qe(this.props.background,!1);return o.map(function(f,h){f.value;var p=f.background,g=Bme(f,Fme);if(!p)return null;var y=Ht(Ht(Ht(Ht(Ht({},g),{},{fill:"#eee"},p),c),ls(r.props,f,h)),{},{onAnimationStart:r.handleAnimationStart,onAnimationEnd:r.handleAnimationEnd,dataKey:a,index:h,className:"recharts-bar-background-rectangle"});return Y.createElement(KD,nm({key:"background-bar-".concat(h),option:r.props.background,isActive:h===s},y))})}},{key:"renderErrorBar",value:function(r,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,a=o.data,s=o.xAxis,c=o.yAxis,f=o.layout,h=o.children,p=Ar(h,Zm);if(!p)return null;var g=f==="vertical"?a[0].height/2:a[0].width/2,y=function(v,w){var j=Array.isArray(v.value)?v.value[1]:v.value;return{x:v.x,y:v.y,value:j,errorVal:An(v,w)}},S={clipPath:r?"url(#clipPath-".concat(i,")"):null};return Y.createElement(pt,S,p.map(function(b){return Y.cloneElement(b,{key:"error-bar-".concat(i,"-").concat(b.props.dataKey),data:a,xAxis:s,yAxis:c,layout:f,offset:g,dataPointFormatter:y})}))}},{key:"render",value:function(){var r=this.props,i=r.hide,o=r.data,a=r.className,s=r.xAxis,c=r.yAxis,f=r.left,h=r.top,p=r.width,g=r.height,y=r.isAnimationActive,S=r.background,b=r.id;if(i||!o||!o.length)return null;var v=this.state.isAnimationFinished,w=Ke("recharts-bar",a),j=s&&s.allowDataOverflow,_=c&&c.allowDataOverflow,E=j||_,N=Qe(b)?this.id:b;return Y.createElement(pt,{className:w},j||_?Y.createElement("defs",null,Y.createElement("clipPath",{id:"clipPath-".concat(N)},Y.createElement("rect",{x:j?f:f-p/2,y:_?h:h-g/2,width:j?p:p*2,height:_?g:g*2}))):null,Y.createElement(pt,{className:"recharts-bar-rectangles",clipPath:E?"url(#clipPath-".concat(N,")"):null},S?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(E,N),(!y||v)&&Xi.renderCallByParent(this.props,o))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curData:r.data,prevData:i.curData}:r.data!==i.curData?{curData:r.data}:null}}])})(O.PureComponent);zF=Ss;Vo(Ss,"displayName","Bar");Vo(Ss,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!hc.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});Vo(Ss,"getComposedData",function(e){var t=e.props,n=e.item,r=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,s=e.xAxisTicks,c=e.yAxisTicks,f=e.stackedData,h=e.dataStartIndex,p=e.displayedData,g=e.offset,y=vue(r,n);if(!y)return null;var S=t.layout,b=n.type.defaultProps,v=b!==void 0?Ht(Ht({},b),n.props):n.props,w=v.dataKey,j=v.children,_=v.minPointSize,E=S==="horizontal"?a:o,N=f?E.scale.domain():null,P=kue({numericAxis:E}),C=Ar(j,Bm),T=p.map(function(L,D){var M,$,H,U,z,W;f?M=xue(f[h+D],N):(M=An(L,w),Array.isArray(M)||(M=[P,M]));var Z=$me(_,zF.defaultProps.minPointSize)(M[1],D);if(S==="horizontal"){var V,ee=[a.scale(M[0]),a.scale(M[1])],R=ee[0],B=ee[1];$=_I({axis:o,ticks:s,bandSize:i,offset:y.offset,entry:L,index:D}),H=(V=B??R)!==null&&V!==void 0?V:void 0,U=y.size;var X=R-B;if(z=Number.isNaN(X)?0:X,W={x:$,y:a.y,width:U,height:a.height},Math.abs(Z)>0&&Math.abs(z)<Math.abs(Z)){var F=Ln(z||Z)*(Math.abs(Z)-Math.abs(z));H-=F,z+=F}}else{var he=[o.scale(M[0]),o.scale(M[1])],ye=he[0],le=he[1];if($=ye,H=_I({axis:a,ticks:c,bandSize:i,offset:y.offset,entry:L,index:D}),U=le-ye,z=y.size,W={x:o.x,y:H,width:o.width,height:z},Math.abs(Z)>0&&Math.abs(U)<Math.abs(Z)){var ce=Ln(U||Z)*(Math.abs(Z)-Math.abs(U));U+=ce}}return Ht(Ht(Ht({},L),{},{x:$,y:H,width:U,height:z,value:f?M:M[1],payload:L,background:W},C&&C[D]&&C[D].props),{},{tooltipPayload:[gF(n,L)],tooltipPosition:{x:$+U/2,y:H+z/2}})});return Ht({data:T,layout:S},g)});function kf(e){"@babel/helpers - typeof";return kf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kf(e)}function Xme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,HF(r.key),r)}}function Yme(e,t,n){return t&&JD(e.prototype,t),n&&JD(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function QD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Wr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?QD(Object(n),!0).forEach(function(r){ag(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ag(e,t,n){return t=HF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HF(e){var t=Jme(e,"string");return kf(t)=="symbol"?t:t+""}function Jme(e,t){if(kf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(kf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Qme=function(t,n,r,i,o){var a=t.width,s=t.height,c=t.layout,f=t.children,h=Object.keys(n),p={left:r.left,leftMirror:r.left,right:a-r.right,rightMirror:a-r.right,top:r.top,topMirror:r.top,bottom:s-r.bottom,bottomMirror:s-r.bottom},g=!!sr(f,Ss);return h.reduce(function(y,S){var b=n[S],v=b.orientation,w=b.domain,j=b.padding,_=j===void 0?{}:j,E=b.mirror,N=b.reversed,P="".concat(v).concat(E?"Mirror":""),C,T,L,D,M;if(b.type==="number"&&(b.padding==="gap"||b.padding==="no-gap")){var $=w[1]-w[0],H=1/0,U=b.categoricalDomain.sort(ane);if(U.forEach(function(he,ye){ye>0&&(H=Math.min((he||0)-(U[ye-1]||0),H))}),Number.isFinite(H)){var z=H/$,W=b.layout==="vertical"?r.height:r.width;if(b.padding==="gap"&&(C=z*W/2),b.padding==="no-gap"){var Z=$n(t.barCategoryGap,z*W),V=z*W/2;C=V-Z-(V-Z)/W*Z}}}i==="xAxis"?T=[r.left+(_.left||0)+(C||0),r.left+r.width-(_.right||0)-(C||0)]:i==="yAxis"?T=c==="horizontal"?[r.top+r.height-(_.bottom||0),r.top+(_.top||0)]:[r.top+(_.top||0)+(C||0),r.top+r.height-(_.bottom||0)-(C||0)]:T=b.range,N&&(T=[T[1],T[0]]);var ee=dF(b,o,g),R=ee.scale,B=ee.realScaleType;R.domain(w).range(T),hF(R);var X=pF(R,Wr(Wr({},b),{},{realScaleType:B}));i==="xAxis"?(M=v==="top"&&!E||v==="bottom"&&E,L=r.left,D=p[P]-M*b.height):i==="yAxis"&&(M=v==="left"&&!E||v==="right"&&E,L=p[P]-M*b.width,D=r.top);var F=Wr(Wr(Wr({},b),X),{},{realScaleType:B,x:L,y:D,scale:R,width:i==="xAxis"?r.width:b.width,height:i==="yAxis"?r.height:b.height});return F.bandSize=Bp(F,X),!b.hide&&i==="xAxis"?p[P]+=(M?-1:1)*F.height:b.hide||(p[P]+=(M?-1:1)*F.width),Wr(Wr({},y),{},ag({},S,F))},{})},WF=function(t,n){var r=t.x,i=t.y,o=n.x,a=n.y;return{x:Math.min(r,o),y:Math.min(i,a),width:Math.abs(o-r),height:Math.abs(a-i)}},Zme=function(t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2;return WF({x:n,y:r},{x:i,y:o})},VF=(function(){function e(t){Xme(this,e),this.scale=t}return Yme(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.bandAware,o=r.position;if(n!==void 0){if(o)switch(o){case"start":return this.scale(n);case"middle":{var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+a}case"end":{var s=this.bandwidth?this.bandwidth():0;return this.scale(n)+s}default:return this.scale(n)}if(i){var c=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+c}return this.scale(n)}}},{key:"isInRange",value:function(n){var r=this.range(),i=r[0],o=r[r.length-1];return i<=o?n>=i&&n<=o:n>=o&&n<=i}}],[{key:"create",value:function(n){return new e(n)}}])})();ag(VF,"EPS",1e-4);var hk=function(t){var n=Object.keys(t).reduce(function(r,i){return Wr(Wr({},r),{},ag({},i,VF.create(t[i])))},{});return Wr(Wr({},n),{},{apply:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=o.bandAware,s=o.position;return kme(i,function(c,f){return n[f].apply(c,{bandAware:a,position:s})})},isInRange:function(i){return Ome(i,function(o,a){return n[a].isInRange(o)})}})};function ege(e){return(e%180+180)%180}var tge=function(t){var n=t.width,r=t.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=ege(i),a=o*Math.PI/180,s=Math.atan(r/n),c=a>s&&a<Math.PI-s?r/Math.sin(a):n/Math.cos(a);return Math.abs(c)},qw,ZD;function nge(){if(ZD)return qw;ZD=1;var e=ji(),t=Yf(),n=Lm();function r(i){return function(o,a,s){var c=Object(o);if(!t(o)){var f=e(a,3);o=n(o),a=function(p){return f(c[p],p,c)}}var h=i(o,a,s);return h>-1?c[f?o[h]:h]:void 0}}return qw=r,qw}var Hw,eM;function rge(){if(eM)return Hw;eM=1;var e=LF();function t(n){var r=e(n),i=r%1;return r===r?i?r-i:r:0}return Hw=t,Hw}var Ww,tM;function ige(){if(tM)return Ww;tM=1;var e=X5(),t=ji(),n=rge(),r=Math.max;function i(o,a,s){var c=o==null?0:o.length;if(!c)return-1;var f=s==null?0:n(s);return f<0&&(f=r(c+f,0)),e(o,t(a,3),f)}return Ww=i,Ww}var Vw,nM;function oge(){if(nM)return Vw;nM=1;var e=nge(),t=ige(),n=e(t);return Vw=n,Vw}oge();var age=f5();const sge=lt(age);var lge=sge(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}),GF=O.createContext(void 0),KF=O.createContext(void 0),XF=O.createContext(void 0),cge=O.createContext({}),YF=O.createContext(void 0),JF=O.createContext(0),QF=O.createContext(0),rM=function(t){var n=t.state,r=n.xAxisMap,i=n.yAxisMap,o=n.offset,a=t.clipPathId,s=t.children,c=t.width,f=t.height,h=lge(o);return Y.createElement(GF.Provider,{value:r},Y.createElement(KF.Provider,{value:i},Y.createElement(cge.Provider,{value:o},Y.createElement(XF.Provider,{value:h},Y.createElement(YF.Provider,{value:a},Y.createElement(JF.Provider,{value:f},Y.createElement(QF.Provider,{value:c},s)))))))},uge=function(){return O.useContext(YF)},ZF=function(t){var n=O.useContext(GF);n==null&&fs();var r=n[t];return r==null&&fs(),r},eB=function(t){var n=O.useContext(KF);n==null&&fs();var r=n[t];return r==null&&fs(),r},fge=function(){var t=O.useContext(XF);return t},tB=function(){return O.useContext(QF)},nB=function(){return O.useContext(JF)};function Kl(e){"@babel/helpers - typeof";return Kl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kl(e)}function dge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,iB(r.key),r)}}function pge(e,t,n){return t&&hge(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function mge(e,t,n){return t=im(t),gge(e,rB()?Reflect.construct(t,n||[],im(e).constructor):t.apply(e,n))}function gge(e,t){if(t&&(Kl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return yge(e)}function yge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(rB=function(){return!!e})()}function im(e){return im=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},im(e)}function vge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ej(e,t)}function ej(e,t){return ej=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},ej(e,t)}function iM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function oM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?iM(Object(n),!0).forEach(function(r){pk(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pk(e,t,n){return t=iB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iB(e){var t=xge(e,"string");return Kl(t)=="symbol"?t:t+""}function xge(e,t){if(Kl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Kl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function bge(e,t){return _ge(e)||jge(e,t)||Sge(e,t)||wge()}function wge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 362In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sge(e,t){if(e){if(typeof e=="string")return aM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aM(e,t)}}function aM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jge(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function _ge(e){if(Array.isArray(e))return e}function tj(){return tj=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},tj.apply(this,arguments)}var kge=function(t,n){var r;return Y.isValidElement(t)?r=Y.cloneElement(t,n):He(t)?r=t(n):r=Y.createElement("line",tj({},n,{className:"recharts-reference-line-line"})),r},Ege=function(t,n,r,i,o,a,s,c,f){var h=o.x,p=o.y,g=o.width,y=o.height;if(r){var S=f.y,b=t.y.apply(S,{position:a});if(mi(f,"discard")&&!t.y.isInRange(b))return null;var v=[{x:h+g,y:b},{x:h,y:b}];return c==="left"?v.reverse():v}if(n){var w=f.x,j=t.x.apply(w,{position:a});if(mi(f,"discard")&&!t.x.isInRange(j))return null;var _=[{x:j,y:p+y},{x:j,y:p}];return s==="top"?_.reverse():_}if(i){var E=f.segment,N=E.map(function(P){return t.apply(P,{position:a})});return mi(f,"discard")&&wme(N,function(P){return!t.isInRange(P)})?null:N}return null};function Nge(e){var t=e.x,n=e.y,r=e.segment,i=e.xAxisId,o=e.yAxisId,a=e.shape,s=e.className,c=e.alwaysShow,f=uge(),h=ZF(i),p=eB(o),g=fge();if(!f||!g)return null;Gi(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var y=hk({x:h.scale,y:p.scale}),S=en(t),b=en(n),v=r&&r.length===2,w=Ege(y,S,b,v,g,e.position,h.orientation,p.orientation,e);if(!w)return null;var j=bge(w,2),_=j[0],E=_.x,N=_.y,P=j[1],C=P.x,T=P.y,L=mi(e,"hidden")?"url(#".concat(f,")"):void 0,D=oM(oM({clipPath:L},qe(e,!0)),{},{x1:E,y1:N,x2:C,y2:T});return Y.createElement(pt,{className:Ke("recharts-reference-line",s)},kge(a,D),cn.renderCallByParent(e,Zme({x1:E,y1:N,x2:C,y2:T})))}var mk=(function(e){function t(){return dge(this,t),mge(this,t,arguments)}return vge(t,e),pge(t,[{key:"render",value:function(){return Y.createElement(Nge,this.props)}}])})(Y.Component);pk(mk,"displayName","ReferenceLine");pk(mk,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function nj(){return nj=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},nj.apply(this,arguments)}function Xl(e){"@babel/helpers - typeof";return Xl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xl(e)}function sM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function lM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sM(Object(n),!0).forEach(function(r){sg(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Pge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Age(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,aB(r.key),r)}}function Oge(e,t,n){return t&&Age(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Cge(e,t,n){return t=om(t),Tge(e,oB()?Reflect.construct(t,n||[],om(e).constructor):t.apply(e,n))}function Tge(e,t){if(t&&(Xl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Rge(e)}function Rge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oB=function(){return!!e})()}function om(e){return om=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},om(e)}function Ige(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rj(e,t)}function rj(e,t){return rj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},rj(e,t)}function sg(e,t,n){return t=aB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aB(e){var t=Dge(e,"string");return Xl(t)=="symbol"?t:t+""}function Dge(e,t){if(Xl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Xl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Mge=function(t){var n=t.x,r=t.y,i=t.xAxis,o=t.yAxis,a=hk({x:i.scale,y:o.scale}),s=a.apply({x:n,y:r},{bandAware:!0});return mi(t,"discard")&&!a.isInRange(s)?null:s},lg=(function(e){function t(){return Pge(this,t),Cge(this,t,arguments)}return Ige(t,e),Oge(t,[{key:"render",value:function(){var r=this.props,i=r.x,o=r.y,a=r.r,s=r.alwaysShow,c=r.clipPathId,f=en(i),h=en(o);if(Gi(s===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!f||!h)return null;var p=Mge(this.props);if(!p)return null;var g=p.x,y=p.y,S=this.props,b=S.shape,v=S.className,w=mi(this.props,"hidden")?"url(#".concat(c,")"):void 0,j=lM(lM({clipPath:w},qe(this.props,!0)),{},{cx:g,cy:y});return Y.createElement(pt,{className:Ke("recharts-reference-dot",v)},t.renderDot(b,j),cn.renderCallByParent(this.props,{x:g-a,y:y-a,width:2*a,height:2*a}))}}])})(Y.Component);sg(lg,"displayName","ReferenceDot");sg(lg,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});sg(lg,"renderDot",function(e,t){var n;return Y.isValidElement(e)?n=Y.cloneElement(e,t):He(e)?n=e(t):n=Y.createElement(dk,nj({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),n});function ij(){return ij=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},ij.apply(this,arguments)}function Yl(e){"@babel/helpers - typeof";return Yl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yl(e)}function cM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function uM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cM(Object(n),!0).forEach(function(r){cg(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Lge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lB(r.key),r)}}function Fge(e,t,n){return t&&$ge(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Bge(e,t,n){return t=am(t),zge(e,sB()?Reflect.construct(t,n||[],am(e).constructor):t.apply(e,n))}function zge(e,t){if(t&&(Yl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Uge(e)}function Uge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(sB=function(){return!!e})()}function am(e){return am=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},am(e)}function qge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oj(e,t)}function oj(e,t){return oj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},oj(e,t)}function cg(e,t,n){return t=lB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lB(e){var t=Hge(e,"string");return Yl(t)=="symbol"?t:t+""}function Hge(e,t){if(Yl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Yl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Wge=function(t,n,r,i,o){var a=o.x1,s=o.x2,c=o.y1,f=o.y2,h=o.xAxis,p=o.yAxis;if(!h||!p)return null;var g=hk({x:h.scale,y:p.scale}),y={x:t?g.x.apply(a,{position:"start"}):g.x.rangeMin,y:r?g.y.apply(c,{position:"start"}):g.y.rangeMin},S={x:n?g.x.apply(s,{position:"end"}):g.x.rangeMax,y:i?g.y.apply(f,{position:"end"}):g.y.rangeMax};return mi(o,"discard")&&(!g.isInRange(y)||!g.isInRange(S))?null:WF(y,S)},ug=(function(e){function t(){return Lge(this,t),Bge(this,t,arguments)}return qge(t,e),Fge(t,[{key:"render",value:function(){var r=this.props,i=r.x1,o=r.x2,a=r.y1,s=r.y2,c=r.className,f=r.alwaysShow,h=r.clipPathId;Gi(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var p=en(i),g=en(o),y=en(a),S=en(s),b=this.props.shape;if(!p&&!g&&!y&&!S&&!b)return null;var v=Wge(p,g,y,S,this.props);if(!v&&!b)return null;var w=mi(this.props,"hidden")?"url(#".concat(h,")"):void 0;return Y.createElement(pt,{className:Ke("recharts-reference-area",c)},t.renderRect(b,uM(uM({clipPath:w},qe(this.props,!0)),v)),cn.renderCallByParent(this.props,v))}}])})(Y.Component);cg(ug,"displayName","ReferenceArea");cg(ug,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});cg(ug,"renderRect",function(e,t){var n;return Y.isValidElement(e)?n=Y.cloneElement(e,t):He(e)?n=e(t):n=Y.createElement(fk,ij({},t,{className:"recharts-reference-area-rect"})),n});function cB(e,t,n){if(t<1)return[];if(t===1&&n===void 0)return e;for(var r=[],i=0;i<e.length;i+=t)r.push(e[i]);return r}function Vge(e,t,n){var r={width:e.width+t.width,height:e.height+t.height};return tge(r,n)}function Gge(e,t,n){var r=n==="width",i=e.x,o=e.y,a=e.width,s=e.height;return t===1?{start:r?i:o,end:r?i+a:o+s}:{start:r?i+a:o+s,end:r?i:o}}function sm(e,t,n,r,i){if(e*t<e*r||e*t>e*i)return!1;var o=n();return e*(t-e*o/2-r)>=0&&e*(t+e*o/2-i)<=0}function Kge(e,t){return cB(e,t+1)}function Xge(e,t,n,r,i){for(var o=(r||[]).slice(),a=t.start,s=t.end,c=0,f=1,h=a,p=function(){var S=r==null?void 0:r[c];if(S===void 0)return{v:cB(r,f)};var b=c,v,w=function(){return v===void 0&&(v=n(S,b)),v},j=S.coordinate,_=c===0||sm(e,j,w,h,s);_||(c=0,h=a,f+=1),_&&(h=j+e*(w()/2+i),c+=f)},g;f<=o.length;)if(g=p(),g)return g.v;return[]}function Ef(e){"@babel/helpers - typeof";return Ef=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ef(e)}function fM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Pn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fM(Object(n),!0).forEach(function(r){Yge(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Yge(e,t,n){return t=Jge(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jge(e){var t=Qge(e,"string");return Ef(t)=="symbol"?t:t+""}function Qge(e,t){if(Ef(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ef(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Zge(e,t,n,r,i){for(var o=(r||[]).slice(),a=o.length,s=t.start,c=t.end,f=function(g){var y=o[g],S,b=function(){return S===void 0&&(S=n(y,g)),S};if(g===a-1){var v=e*(y.coordinate+e*b()/2-c);o[g]=y=Pn(Pn({},y),{},{tickCoord:v>0?y.coordinate-v*e:y.coordinate})}else o[g]=y=Pn(Pn({},y),{},{tickCoord:y.coordinate});var w=sm(e,y.tickCoord,b,s,c);w&&(c=y.tickCoord-e*(b()/2+i),o[g]=Pn(Pn({},y),{},{isShow:!0}))},h=a-1;h>=0;h--)f(h);return o}function eye(e,t,n,r,i,o){var a=(r||[]).slice(),s=a.length,c=t.start,f=t.end;if(o){var h=r[s-1],p=n(h,s-1),g=e*(h.coordinate+e*p/2-f);a[s-1]=h=Pn(Pn({},h),{},{tickCoord:g>0?h.coordinate-g*e:h.coordinate});var y=sm(e,h.tickCoord,function(){return p},c,f);y&&(f=h.tickCoord-e*(p/2+i),a[s-1]=Pn(Pn({},h),{},{isShow:!0}))}for(var S=o?s-1:s,b=function(j){var _=a[j],E,N=function(){return E===void 0&&(E=n(_,j)),E};if(j===0){var P=e*(_.coordinate-e*N()/2-c);a[j]=_=Pn(Pn({},_),{},{tickCoord:P<0?_.coordinate-P*e:_.coordinate})}else a[j]=_=Pn(Pn({},_),{},{tickCoord:_.coordinate});var C=sm(e,_.tickCoord,N,c,f);C&&(c=_.tickCoord+e*(N()/2+i),a[j]=Pn(Pn({},_),{},{isShow:!0}))},v=0;v<S;v++)b(v);return a}function tye(e,t,n){var r=e.tick,i=e.ticks,o=e.viewBox,a=e.minTickGap,s=e.orientation,c=e.interval,f=e.tickFormatter,h=e.unit,p=e.angle;if(!i||!i.length||!r)return[];if(we(c)||hc.isSsr)return Kge(i,typeof c=="number"&&we(c)?c:0);var g=[],y=s==="top"||s==="bottom"?"width":"height",S=h&&y==="width"?Ru(h,{fontSize:t,letterSpacing:n}):{width:0,height:0},b=function(_,E){var N=He(f)?f(_.value,E):_.value;return y==="width"?Vge(Ru(N,{fontSize:t,letterSpacing:n}),S,p):Ru(N,{fontSize:t,letterSpacing:n})[y]},v=i.length>=2?Ln(i[1].coordinate-i[0].coordinate):1,w=Gge(o,v,y);return c==="equidistantPreserveStart"?Xge(v,w,b,i,a):(c==="preserveStart"||c==="preserveStartEnd"?g=eye(v,w,b,i,a,c==="preserveStartEnd"):g=Zge(v,w,b,i,a),g.filter(function(j){return j.isShow}))}var nye=["viewBox"],rye=["viewBox"],iye=["ticks"];function Jl(e){"@babel/helpers - typeof";return Jl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jl(e)}function ll(){return ll=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},ll.apply(this,arguments)}function dM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dM(Object(n),!0).forEach(function(r){gk(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Gw(e,t){if(e==null)return{};var n=oye(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function oye(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function aye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,fB(r.key),r)}}function sye(e,t,n){return t&&hM(e.prototype,t),n&&hM(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function lye(e,t,n){return t=lm(t),cye(e,uB()?Reflect.construct(t,n||[],lm(e).constructor):t.apply(e,n))}function cye(e,t){if(t&&(Jl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return uye(e)}function uye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(uB=function(){return!!e})()}function lm(e){return lm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},lm(e)}function fye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&aj(e,t)}function aj(e,t){return aj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},aj(e,t)}function gk(e,t,n){return t=fB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fB(e){var t=dye(e,"string");return Jl(t)=="symbol"?t:t+""}function dye(e,t){if(Jl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Jl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var fg=(function(e){function t(n){var r;return aye(this,t),r=lye(this,t,[n]),r.state={fontSize:"",letterSpacing:""},r}return fye(t,e),sye(t,[{key:"shouldComponentUpdate",value:function(r,i){var o=r.viewBox,a=Gw(r,nye),s=this.props,c=s.viewBox,f=Gw(s,rye);return!fl(o,c)||!fl(a,f)||!fl(i,this.state)}},{key:"componentDidMount",value:function(){var r=this.layerReference;if(r){var i=r.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];i&&this.setState({fontSize:window.getComputedStyle(i).fontSize,letterSpacing:window.getComputedStyle(i).letterSpacing})}}},{key:"getTickLineCoord",value:function(r){var i=this.props,o=i.x,a=i.y,s=i.width,c=i.height,f=i.orientation,h=i.tickSize,p=i.mirror,g=i.tickMargin,y,S,b,v,w,j,_=p?-1:1,E=r.tickSize||h,N=we(r.tickCoord)?r.tickCoord:r.coordinate;switch(f){case"top":y=S=r.coordinate,v=a+ +!p*c,b=v-_*E,j=b-_*g,w=N;break;case"left":b=v=r.coordinate,S=o+ +!p*s,y=S-_*E,w=y-_*g,j=N;break;case"right":b=v=r.coordinate,S=o+ +p*s,y=S+_*E,w=y+_*g,j=N;break;default:y=S=r.coordinate,v=a+ +p*c,b=v+_*E,j=b+_*g,w=N;break}return{line:{x1:y,y1:b,x2:S,y2:v},tick:{x:w,y:j}}}},{key:"getTickTextAnchor",value:function(){var r=this.props,i=r.orientation,o=r.mirror,a;switch(i){case"left":a=o?"start":"end";break;case"right":a=o?"end":"start";break;default:a="middle";break}return a}},{key:"getTickVerticalAnchor",value:function(){var r=this.props,i=r.orientation,o=r.mirror,a="end";switch(i){case"left":case"right":a="middle";break;case"top":a=o?"start":"end";break;default:a=o?"end":"start";break}return a}},{key:"renderAxisLine",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,c=r.orientation,f=r.mirror,h=r.axisLine,p=Qt(Qt(Qt({},qe(this.props,!1)),qe(h,!1)),{},{fill:"none"});if(c==="top"||c==="bottom"){var g=+(c==="top"&&!f||c==="bottom"&&f);p=Qt(Qt({},p),{},{x1:i,y1:o+g*s,x2:i+a,y2:o+g*s})}else{var y=+(c==="left"&&!f||c==="right"&&f);p=Qt(Qt({},p),{},{x1:i+y*a,y1:o,x2:i+y*a,y2:o+s})}return Y.createElement("line",ll({},p,{className:Ke("recharts-cartesian-axis-line",fr(h,"className"))}))}},{key:"renderTicks",value:function(r,i,o){var a=this,s=this.props,c=s.tickLine,f=s.stroke,h=s.tick,p=s.tickFormatter,g=s.unit,y=tye(Qt(Qt({},this.props),{},{ticks:r}),i,o),S=this.getTickTextAnchor(),b=this.getTickVerticalAnchor(),v=qe(this.props,!1),w=qe(h,!1),j=Qt(Qt({},v),{},{fill:"none"},qe(c,!1)),_=y.map(function(E,N){var P=a.getTickLineCoord(E),C=P.line,T=P.tick,L=Qt(Qt(Qt(Qt({textAnchor:S,verticalAnchor:b},v),{},{stroke:"none",fill:f},w),T),{},{index:N,payload:E,visibleTicksCount:y.length,tickFormatter:p});return Y.createElement(pt,ll({className:"recharts-cartesian-axis-tick",key:"tick-".concat(E.value,"-").concat(E.coordinate,"-").concat(E.tickCoord)},ls(a.props,E,N)),c&&Y.createElement("line",ll({},j,C,{className:Ke("recharts-cartesian-axis-tick-line",fr(c,"className"))})),h&&t.renderTickItem(h,L,"".concat(He(p)?p(E.value,N):E.value).concat(g||"")))});return Y.createElement("g",{className:"recharts-cartesian-axis-ticks"},_)}},{key:"render",value:function(){var r=this,i=this.props,o=i.axisLine,a=i.width,s=i.height,c=i.ticksGenerator,f=i.className,h=i.hide;if(h)return null;var p=this.props,g=p.ticks,y=Gw(p,iye),S=g;return He(c)&&(S=g&&g.length>0?c(this.props):c(y)),a<=0||s<=0||!S||!S.length?null:Y.createElement(pt,{className:Ke("recharts-cartesian-axis",f),ref:function(v){r.layerReference=v}},o&&this.renderAxisLine(),this.renderTicks(S,this.state.fontSize,this.state.letterSpacing),cn.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(r,i,o){var a,s=Ke(i.className,"recharts-cartesian-axis-tick-value");return Y.isValidElement(r)?a=Y.cloneElement(r,Qt(Qt({},i),{},{className:s})):He(r)?a=r(Qt(Qt({},i),{},{className:s})):a=Y.createElement(cs,ll({},i,{className:"recharts-cartesian-axis-tick-value"}),o),a}}])})(O.Component);gk(fg,"displayName","CartesianAxis");gk(fg,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});function Ql(e){"@babel/helpers - typeof";return Ql=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ql(e)}function hye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pB(r.key),r)}}function mye(e,t,n){return t&&pye(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function gye(e,t,n){return t=cm(t),yye(e,dB()?Reflect.construct(t,n||[],cm(e).constructor):t.apply(e,n))}function yye(e,t){if(t&&(Ql(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vye(e)}function vye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(dB=function(){return!!e})()}function cm(e){return cm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},cm(e)}function xye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sj(e,t)}function sj(e,t){return sj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},sj(e,t)}function hB(e,t,n){return t=pB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pB(e){var t=bye(e,"string");return Ql(t)=="symbol"?t:t+""}function bye(e,t){if(Ql(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ql(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function lj(){return lj=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},lj.apply(this,arguments)}function wye(e){var t=e.xAxisId,n=tB(),r=nB(),i=ZF(t);return i==null?null:O.createElement(fg,lj({},i,{className:Ke("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:n,height:r},ticksGenerator:function(a){return qa(a,!0)}}))}var dg=(function(e){function t(){return hye(this,t),gye(this,t,arguments)}return xye(t,e),mye(t,[{key:"render",value:function(){return O.createElement(wye,this.props)}}])})(O.Component);hB(dg,"displayName","XAxis");hB(dg,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});function Zl(e){"@babel/helpers - typeof";return Zl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zl(e)}function Sye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,yB(r.key),r)}}function _ye(e,t,n){return t&&jye(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function kye(e,t,n){return t=um(t),Eye(e,mB()?Reflect.construct(t,n||[],um(e).constructor):t.apply(e,n))}function Eye(e,t){if(t&&(Zl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Nye(e)}function Nye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(mB=function(){return!!e})()}function um(e){return um=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},um(e)}function Pye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cj(e,t)}function cj(e,t){return cj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},cj(e,t)}function gB(e,t,n){return t=yB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yB(e){var t=Aye(e,"string");return Zl(t)=="symbol"?t:t+""}function Aye(e,t){if(Zl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function uj(){return uj=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},uj.apply(this,arguments)}var Oye=function(t){var n=t.yAxisId,r=tB(),i=nB(),o=eB(n);return o==null?null:O.createElement(fg,uj({},o,{className:Ke("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:i},ticksGenerator:function(s){return qa(s,!0)}}))},hg=(function(e){function t(){return Sye(this,t),kye(this,t,arguments)}return Pye(t,e),_ye(t,[{key:"render",value:function(){return O.createElement(Oye,this.props)}}])})(O.Component);gB(hg,"displayName","YAxis");gB(hg,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});function pM(e){return Iye(e)||Rye(e)||Tye(e)||Cye()}function Cye(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 363In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tye(e,t){if(e){if(typeof e=="string")return fj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fj(e,t)}}function Rye(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Iye(e){if(Array.isArray(e))return fj(e)}function fj(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var dj=function(t,n,r,i,o){var a=Ar(t,mk),s=Ar(t,lg),c=[].concat(pM(a),pM(s)),f=Ar(t,ug),h="".concat(i,"Id"),p=i[0],g=n;if(c.length&&(g=c.reduce(function(b,v){if(v.props[h]===r&&mi(v.props,"extendDomain")&&we(v.props[p])){var w=v.props[p];return[Math.min(b[0],w),Math.max(b[1],w)]}return b},g)),f.length){var y="".concat(p,"1"),S="".concat(p,"2");g=f.reduce(function(b,v){if(v.props[h]===r&&mi(v.props,"extendDomain")&&we(v.props[y])&&we(v.props[S])){var w=v.props[y],j=v.props[S];return[Math.min(b[0],w,j),Math.max(b[1],w,j)]}return b},g)}return o&&o.length&&(g=o.reduce(function(b,v){return we(v)?[Math.min(b[0],v),Math.max(b[1],v)]:b},g)),g},Kw={exports:{}},mM;function Dye(){return mM||(mM=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(c,f,h){this.fn=c,this.context=f,this.once=h||!1}function o(c,f,h,p,g){if(typeof h!="function")throw new TypeError("The listener must be a function");var y=new i(h,p||c,g),S=n?n+f:f;return c._events[S]?c._events[S].fn?c._events[S]=[c._events[S],y]:c._events[S].push(y):(c._events[S]=y,c._eventsCount++),c}function a(c,f){--c._eventsCount===0?c._events=new r:delete c._events[f]}function s(){this._events=new r,this._eventsCount=0}s.prototype.eventNames=function(){var f=[],h,p;if(this._eventsCount===0)return f;for(p in h=this._events)t.call(h,p)&&f.push(n?p.slice(1):p);return Object.getOwnPropertySymbols?f.concat(Object.getOwnPropertySymbols(h)):f},s.prototype.listeners=function(f){var h=n?n+f:f,p=this._events[h];if(!p)return[];if(p.fn)return[p.fn];for(var g=0,y=p.length,S=new Array(y);g<y;g++)S[g]=p[g].fn;return S},s.prototype.listenerCount=function(f){var h=n?n+f:f,p=this._events[h];return p?p.fn?1:p.length:0},s.prototype.emit=function(f,h,p,g,y,S){var b=n?n+f:f;if(!this._events[b])return!1;var v=this._events[b],w=arguments.length,j,_;if(v.fn){switch(v.once&&this.removeListener(f,v.fn,void 0,!0),w){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,h),!0;case 3:return v.fn.call(v.context,h,p),!0;case 4:return v.fn.call(v.context,h,p,g),!0;case 5:return v.fn.call(v.context,h,p,g,y),!0;case 6:return v.fn.call(v.context,h,p,g,y,S),!0}for(_=1,j=new Array(w-1);_<w;_++)j[_-1]=arguments[_];v.fn.apply(v.context,j)}else{var E=v.length,N;for(_=0;_<E;_++)switch(v[_].once&&this.removeListener(f,v[_].fn,void 0,!0),w){case 1:v[_].fn.call(v[_].context);break;case 2:v[_].fn.call(v[_].context,h);break;case 3:v[_].fn.call(v[_].context,h,p);break;case 4:v[_].fn.call(v[_].context,h,p,g);break;default:if(!j)for(N=1,j=new Array(w-1);N<w;N++)j[N-1]=arguments[N];v[_].fn.apply(v[_].context,j)}}return!0},s.prototype.on=function(f,h,p){return o(this,f,h,p,!1)},s.prototype.once=function(f,h,p){return o(this,f,h,p,!0)},s.prototype.removeListener=function(f,h,p,g){var y=n?n+f:f;if(!this._events[y])return this;if(!h)return a(this,y),this;var S=this._events[y];if(S.fn)S.fn===h&&(!g||S.once)&&(!p||S.context===p)&&a(this,y);else{for(var b=0,v=[],w=S.length;b<w;b++)(S[b].fn!==h||g&&!S[b].once||p&&S[b].context!==p)&&v.push(S[b]);v.length?this._events[y]=v.length===1?v[0]:v:a(this,y)}return this},s.prototype.removeAllListeners=function(f){var h;return f?(h=n?n+f:f,this._events[h]&&a(this,h)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s})(Kw)),Kw.exports}var Mye=Dye();const Lye=lt(Mye);var Xw=new Lye,Yw="recharts.syncMouseEvents";function Nf(e){"@babel/helpers - typeof";return Nf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nf(e)}function $ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vB(r.key),r)}}function Bye(e,t,n){return t&&Fye(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Jw(e,t,n){return t=vB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vB(e){var t=zye(e,"string");return Nf(t)=="symbol"?t:t+""}function zye(e,t){if(Nf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Nf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Uye=(function(){function e(){$ye(this,e),Jw(this,"activeIndex",0),Jw(this,"coordinateList",[]),Jw(this,"layout","horizontal")}return Bye(e,[{key:"setDetails",value:function(n){var r,i=n.coordinateList,o=i===void 0?null:i,a=n.container,s=a===void 0?null:a,c=n.layout,f=c===void 0?null:c,h=n.offset,p=h===void 0?null:h,g=n.mouseHandlerCallback,y=g===void 0?null:g;this.coordinateList=(r=o??this.coordinateList)!==null&&r!==void 0?r:[],this.container=s??this.container,this.layout=f??this.layout,this.offset=p??this.offset,this.mouseHandlerCallback=y??this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(n){if(this.coordinateList.length!==0)switch(n.key){case"ArrowRight":{if(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}}}},{key:"setIndex",value:function(n){this.activeIndex=n}},{key:"spoofMouse",value:function(){var n,r;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var i=this.container.getBoundingClientRect(),o=i.x,a=i.y,s=i.height,c=this.coordinateList[this.activeIndex].coordinate,f=((n=window)===null||n===void 0?void 0:n.scrollX)||0,h=((r=window)===null||r===void 0?void 0:r.scrollY)||0,p=o+c+f,g=a+this.offset.top+s/2+h;this.mouseHandlerCallback({pageX:p,pageY:g})}}}])})();function qye(e,t,n){if(n==="number"&&t===!0&&Array.isArray(e)){var r=e==null?void 0:e[0],i=e==null?void 0:e[1];if(r&&i&&we(r)&&we(i))return!0}return!1}function Hye(e,t,n,r){var i=r/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-i:n.left+.5,y:e==="horizontal"?n.top+.5:t.y-i,width:e==="horizontal"?r:n.width-1,height:e==="horizontal"?n.height-1:r}}function xB(e){var t=e.cx,n=e.cy,r=e.radius,i=e.startAngle,o=e.endAngle,a=_t(t,n,r,i),s=_t(t,n,r,o);return{points:[a,s],cx:t,cy:n,radius:r,startAngle:i,endAngle:o}}function Wye(e,t,n){var r,i,o,a;if(e==="horizontal")r=t.x,o=r,i=n.top,a=n.top+n.height;else if(e==="vertical")i=t.y,a=i,r=n.left,o=n.left+n.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var s=t.cx,c=t.cy,f=t.innerRadius,h=t.outerRadius,p=t.angle,g=_t(s,c,f,p),y=_t(s,c,h,p);r=g.x,i=g.y,o=y.x,a=y.y}else return xB(t);return[{x:r,y:i},{x:o,y:a}]}function Pf(e){"@babel/helpers - typeof";return Pf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pf(e)}function gM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ih(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gM(Object(n),!0).forEach(function(r){Vye(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Vye(e,t,n){return t=Gye(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gye(e){var t=Kye(e,"string");return Pf(t)=="symbol"?t:t+""}function Kye(e,t){if(Pf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Xye(e){var t,n,r=e.element,i=e.tooltipEventType,o=e.isActive,a=e.activeCoordinate,s=e.activePayload,c=e.offset,f=e.activeTooltipIndex,h=e.tooltipAxisBandSize,p=e.layout,g=e.chartName,y=(t=r.props.cursor)!==null&&t!==void 0?t:(n=r.type.defaultProps)===null||n===void 0?void 0:n.cursor;if(!r||!y||!o||!a||g!=="ScatterChart"&&i!=="axis")return null;var S,b=DS;if(g==="ScatterChart")S=a,b=Whe;else if(g==="BarChart")S=Hye(p,a,c,h),b=fk;else if(p==="radial"){var v=xB(a),w=v.cx,j=v.cy,_=v.radius,E=v.startAngle,N=v.endAngle;S={cx:w,cy:j,startAngle:E,endAngle:N,innerRadius:_,outerRadius:_},b=SF}else S={points:Wye(p,a,c)},b=DS;var P=Ih(Ih(Ih(Ih({stroke:"#ccc",pointerEvents:"none"},c),S),qe(y,!1)),{},{payload:s,payloadIndex:f,className:Ke("recharts-tooltip-cursor",y.className)});return O.isValidElement(y)?O.cloneElement(y,P):O.createElement(b,P)}var Yye=["item"],Jye=["children","className","width","height","style","compact","title","desc"];function ec(e){"@babel/helpers - typeof";return ec=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ec(e)}function cl(){return cl=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},cl.apply(this,arguments)}function yM(e,t){return eve(e)||Zye(e,t)||wB(e,t)||Qye()}function Qye(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 364In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zye(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(h){f=!0,i=h}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return s}}function eve(e){if(Array.isArray(e))return e}function vM(e,t){if(e==null)return{};var n=tve(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tve(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function nve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,SB(r.key),r)}}function ive(e,t,n){return t&&rve(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ove(e,t,n){return t=fm(t),ave(e,bB()?Reflect.construct(t,n||[],fm(e).constructor):t.apply(e,n))}function ave(e,t){if(t&&(ec(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return sve(e)}function sve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(bB=function(){return!!e})()}function fm(e){return fm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},fm(e)}function lve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hj(e,t)}function hj(e,t){return hj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},hj(e,t)}function tc(e){return fve(e)||uve(e)||wB(e)||cve()}function cve(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 365In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wB(e,t){if(e){if(typeof e=="string")return pj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pj(e,t)}}function uve(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fve(e){if(Array.isArray(e))return pj(e)}function pj(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xM(Object(n),!0).forEach(function(r){Fe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Fe(e,t,n){return t=SB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SB(e){var t=dve(e,"string");return ec(t)=="symbol"?t:t+""}function dve(e,t){if(ec(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ec(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var hve={xAxis:["bottom","top"],yAxis:["left","right"]},pve={width:"100%",height:"100%"},jB={x:0,y:0};function Dh(e){return e}var mve=function(t,n){return n==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},gve=function(t,n,r,i){var o=n.find(function(h){return h&&h.index===r});if(o){if(t==="horizontal")return{x:o.coordinate,y:i.y};if(t==="vertical")return{x:i.x,y:o.coordinate};if(t==="centric"){var a=o.coordinate,s=i.radius;return ae(ae(ae({},i),_t(i.cx,i.cy,s,a)),{},{angle:a,radius:s})}var c=o.coordinate,f=i.angle;return ae(ae(ae({},i),_t(i.cx,i.cy,c,f)),{},{angle:f,radius:c})}return jB},pg=function(t,n){var r=n.graphicalItems,i=n.dataStartIndex,o=n.dataEndIndex,a=(r??[]).reduce(function(s,c){var f=c.props.data;return f&&f.length?[].concat(tc(s),tc(f)):s},[]);return a.length>0?a:t&&t.length&&we(i)&&we(o)?t.slice(i,o+1):[]};function _B(e){return e==="number"?[0,"auto"]:void 0}var mj=function(t,n,r,i){var o=t.graphicalItems,a=t.tooltipAxis,s=pg(n,t);return r<0||!o||!o.length||r>=s.length?null:o.reduce(function(c,f){var h,p=(h=f.props.data)!==null&&h!==void 0?h:n;p&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(p=p.slice(t.dataStartIndex,t.dataEndIndex+1));var g;if(a.dataKey&&!a.allowDuplicatedCategory){var y=p===void 0?s:p;g=Y1(y,a.dataKey,i)}else g=p&&p[r]||s[r];return g?[].concat(tc(c),[gF(f,g)]):c},[])},bM=function(t,n,r,i){var o=i||{x:t.chartX,y:t.chartY},a=mve(o,r),s=t.orderedTooltipTicks,c=t.tooltipAxis,f=t.tooltipTicks,h=due(a,s,f,c);if(h>=0&&f){var p=f[h]&&f[h].value,g=mj(t,n,h,p),y=gve(r,s,h,o);return{activeTooltipIndex:h,activeLabel:p,activePayload:g,activeCoordinate:y}}return null},yve=function(t,n){var r=n.axes,i=n.graphicalItems,o=n.axisType,a=n.axisIdKey,s=n.stackGroups,c=n.dataStartIndex,f=n.dataEndIndex,h=t.layout,p=t.children,g=t.stackOffset,y=fF(h,o);return r.reduce(function(S,b){var v,w=b.type.defaultProps!==void 0?ae(ae({},b.type.defaultProps),b.props):b.props,j=w.type,_=w.dataKey,E=w.allowDataOverflow,N=w.allowDuplicatedCategory,P=w.scale,C=w.ticks,T=w.includeHidden,L=w[a];if(S[L])return S;var D=pg(t.data,{graphicalItems:i.filter(function(X){var F,he=a in X.props?X.props[a]:(F=X.type.defaultProps)===null||F===void 0?void 0:F[a];return he===L}),dataStartIndex:c,dataEndIndex:f}),M=D.length,$,H,U;qye(w.domain,E,j)&&($=OS(w.domain,null,E),y&&(j==="number"||P!=="auto")&&(U=Du(D,_,"category")));var z=_B(j);if(!$||$.length===0){var W,Z=(W=w.domain)!==null&&W!==void 0?W:z;if(_){if($=Du(D,_,j),j==="category"&&y){var V=one($);N&&V?(H=$,$=Zp(0,M)):N||($=NI(Z,$,b).reduce(function(X,F){return X.indexOf(F)>=0?X:[].concat(tc(X),[F])},[]))}else if(j==="category")N?$=$.filter(function(X){return X!==""&&!Qe(X)}):$=NI(Z,$,b).reduce(function(X,F){return X.indexOf(F)>=0||F===""||Qe(F)?X:[].concat(tc(X),[F])},[]);else if(j==="number"){var ee=yue(D,i.filter(function(X){var F,he,ye=a in X.props?X.props[a]:(F=X.type.defaultProps)===null||F===void 0?void 0:F[a],le="hide"in X.props?X.props.hide:(he=X.type.defaultProps)===null||he===void 0?void 0:he.hide;return ye===L&&(T||!le)}),_,o,h);ee&&($=ee)}y&&(j==="number"||P!=="auto")&&(U=Du(D,_,"category"))}else y?$=Zp(0,M):s&&s[L]&&s[L].hasStack&&j==="number"?$=g==="expand"?[0,1]:mF(s[L].stackGroups,c,f):$=uF(D,i.filter(function(X){var F=a in X.props?X.props[a]:X.type.defaultProps[a],he="hide"in X.props?X.props.hide:X.type.defaultProps.hide;return F===L&&(T||!he)}),j,h,!0);if(j==="number")$=dj(p,$,L,o,C),Z&&($=OS(Z,$,E));else if(j==="category"&&Z){var R=Z,B=$.every(function(X){return R.indexOf(X)>=0});B&&($=R)}}return ae(ae({},S),{},Fe({},L,ae(ae({},w),{},{axisType:o,domain:$,categoricalDomain:U,duplicateDomain:H,originalDomain:(v=w.domain)!==null&&v!==void 0?v:z,isCategorical:y,layout:h})))},{})},vve=function(t,n){var r=n.graphicalItems,i=n.Axis,o=n.axisType,a=n.axisIdKey,s=n.stackGroups,c=n.dataStartIndex,f=n.dataEndIndex,h=t.layout,p=t.children,g=pg(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:f}),y=g.length,S=fF(h,o),b=-1;return r.reduce(function(v,w){var j=w.type.defaultProps!==void 0?ae(ae({},w.type.defaultProps),w.props):w.props,_=j[a],E=_B("number");if(!v[_]){b++;var N;return S?N=Zp(0,y):s&&s[_]&&s[_].hasStack?(N=mF(s[_].stackGroups,c,f),N=dj(p,N,_,o)):(N=OS(E,uF(g,r.filter(function(P){var C,T,L=a in P.props?P.props[a]:(C=P.type.defaultProps)===null||C===void 0?void 0:C[a],D="hide"in P.props?P.props.hide:(T=P.type.defaultProps)===null||T===void 0?void 0:T.hide;return L===_&&!D}),"number",h),i.defaultProps.allowDataOverflow),N=dj(p,N,_,o)),ae(ae({},v),{},Fe({},_,ae(ae({axisType:o},i.defaultProps),{},{hide:!0,orientation:fr(hve,"".concat(o,".").concat(b%2),null),domain:N,originalDomain:E,isCategorical:S,layout:h})))}return v},{})},xve=function(t,n){var r=n.axisType,i=r===void 0?"xAxis":r,o=n.AxisComp,a=n.graphicalItems,s=n.stackGroups,c=n.dataStartIndex,f=n.dataEndIndex,h=t.children,p="".concat(i,"Id"),g=Ar(h,o),y={};return g&&g.length?y=yve(t,{axes:g,graphicalItems:a,axisType:i,axisIdKey:p,stackGroups:s,dataStartIndex:c,dataEndIndex:f}):a&&a.length&&(y=vve(t,{Axis:o,graphicalItems:a,axisType:i,axisIdKey:p,stackGroups:s,dataStartIndex:c,dataEndIndex:f})),y},bve=function(t){var n=il(t),r=qa(n,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:$_(r,function(i){return i.coordinate}),tooltipAxis:n,tooltipAxisBandSize:Bp(n,r)}},wM=function(t){var n=t.children,r=t.defaultShowTooltip,i=sr(n,Vl),o=0,a=0;return t.data&&t.data.length!==0&&(a=t.data.length-1),i&&i.props&&(i.props.startIndex>=0&&(o=i.props.startIndex),i.props.endIndex>=0&&(a=i.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:a,activeTooltipIndex:-1,isTooltipActive:!!r}},wve=function(t){return!t||!t.length?!1:t.some(function(n){var r=Vi(n&&n.type);return r&&r.indexOf("Bar")>=0})},SM=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Sve=function(t,n){var r=t.props,i=t.graphicalItems,o=t.xAxisMap,a=o===void 0?{}:o,s=t.yAxisMap,c=s===void 0?{}:s,f=r.width,h=r.height,p=r.children,g=r.margin||{},y=sr(p,Vl),S=sr(p,dl),b=Object.keys(c).reduce(function(N,P){var C=c[P],T=C.orientation;return!C.mirror&&!C.hide?ae(ae({},N),{},Fe({},T,N[T]+C.width)):N},{left:g.left||0,right:g.right||0}),v=Object.keys(a).reduce(function(N,P){var C=a[P],T=C.orientation;return!C.mirror&&!C.hide?ae(ae({},N),{},Fe({},T,fr(N,"".concat(T))+C.height)):N},{top:g.top||0,bottom:g.bottom||0}),w=ae(ae({},v),b),j=w.bottom;y&&(w.bottom+=y.props.height||Vl.defaultProps.height),S&&n&&(w=mue(w,i,r,n));var _=f-w.left-w.right,E=h-w.top-w.bottom;return ae(ae({brushBottom:j},w),{},{width:Math.max(_,0),height:Math.max(E,0)})},jve=function(t,n){if(n==="xAxis")return t[n].width;if(n==="yAxis")return t[n].height},kB=function(t){var n=t.chartName,r=t.GraphicalChild,i=t.defaultTooltipEventType,o=i===void 0?"axis":i,a=t.validateTooltipEventTypes,s=a===void 0?["axis"]:a,c=t.axisComponents,f=t.legendContent,h=t.formatAxisMap,p=t.defaultProps,g=function(w,j){var _=j.graphicalItems,E=j.stackGroups,N=j.offset,P=j.updateId,C=j.dataStartIndex,T=j.dataEndIndex,L=w.barSize,D=w.layout,M=w.barGap,$=w.barCategoryGap,H=w.maxBarSize,U=SM(D),z=U.numericAxisName,W=U.cateAxisName,Z=wve(_),V=[];return _.forEach(function(ee,R){var B=pg(w.data,{graphicalItems:[ee],dataStartIndex:C,dataEndIndex:T}),X=ee.type.defaultProps!==void 0?ae(ae({},ee.type.defaultProps),ee.props):ee.props,F=X.dataKey,he=X.maxBarSize,ye=X["".concat(z,"Id")],le=X["".concat(W,"Id")],ce={},ve=c.reduce(function(nn,Kt){var so=j["".concat(Kt.axisType,"Map")],ua=X["".concat(Kt.axisType,"Id")];so&&so[ua]||Kt.axisType==="zAxis"||fs();var fa=so[ua];return ae(ae({},nn),{},Fe(Fe({},Kt.axisType,fa),"".concat(Kt.axisType,"Ticks"),qa(fa)))},ce),oe=ve[W],pe=ve["".concat(W,"Ticks")],xe=E&&E[ye]&&E[ye].hasStack&&Eue(ee,E[ye].stackGroups),ie=Vi(ee.type).indexOf("Bar")>=0,$e=Bp(oe,pe),Re=[],We=Z&&hue({barSize:L,stackGroups:E,totalSize:jve(ve,W)});if(ie){var je,Ve,Pt=Qe(he)?H:he,vt=(je=(Ve=Bp(oe,pe,!0))!==null&&Ve!==void 0?Ve:Pt)!==null&&je!==void 0?je:0;Re=pue({barGap:M,barCategoryGap:$,bandSize:vt!==$e?vt:$e,sizeList:We[le],maxBarSize:Pt}),vt!==$e&&(Re=Re.map(function(nn){return ae(ae({},nn),{},{position:ae(ae({},nn.position),{},{offset:nn.position.offset-vt/2})})}))}var wn=ee&&ee.type&&ee.type.getComposedData;wn&&V.push({props:ae(ae({},wn(ae(ae({},ve),{},{displayedData:B,props:w,dataKey:F,item:ee,bandSize:$e,barPosition:Re,offset:N,stackedData:xe,layout:D,dataStartIndex:C,dataEndIndex:T}))),{},Fe(Fe(Fe({key:ee.key||"item-".concat(R)},z,ve[z]),W,ve[W]),"animationId",P)),childIndex:yne(ee,w.children),item:ee})}),V},y=function(w,j){var _=w.props,E=w.dataStartIndex,N=w.dataEndIndex,P=w.updateId;if(!UC({props:_}))return null;var C=_.children,T=_.layout,L=_.stackOffset,D=_.data,M=_.reverseStackOrder,$=SM(T),H=$.numericAxisName,U=$.cateAxisName,z=Ar(C,r),W=_ue(D,z,"".concat(H,"Id"),"".concat(U,"Id"),L,M),Z=c.reduce(function(X,F){var he="".concat(F.axisType,"Map");return ae(ae({},X),{},Fe({},he,xve(_,ae(ae({},F),{},{graphicalItems:z,stackGroups:F.axisType===H&&W,dataStartIndex:E,dataEndIndex:N}))))},{}),V=Sve(ae(ae({},Z),{},{props:_,graphicalItems:z}),j==null?void 0:j.legendBBox);Object.keys(Z).forEach(function(X){Z[X]=h(_,Z[X],V,X.replace("Map",""),n)});var ee=Z["".concat(U,"Map")],R=bve(ee),B=g(_,ae(ae({},Z),{},{dataStartIndex:E,dataEndIndex:N,updateId:P,graphicalItems:z,stackGroups:W,offset:V}));return ae(ae({formattedGraphicalItems:B,graphicalItems:z,offset:V,stackGroups:W},R),Z)},S=(function(v){function w(j){var _,E,N;return nve(this,w),N=ove(this,w,[j]),Fe(N,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Fe(N,"accessibilityManager",new Uye),Fe(N,"handleLegendBBoxUpdate",function(P){if(P){var C=N.state,T=C.dataStartIndex,L=C.dataEndIndex,D=C.updateId;N.setState(ae({legendBBox:P},y({props:N.props,dataStartIndex:T,dataEndIndex:L,updateId:D},ae(ae({},N.state),{},{legendBBox:P}))))}}),Fe(N,"handleReceiveSyncEvent",function(P,C,T){if(N.props.syncId===P){if(T===N.eventEmitterSymbol&&typeof N.props.syncMethod!="function")return;N.applySyncEvent(C)}}),Fe(N,"handleBrushChange",function(P){var C=P.startIndex,T=P.endIndex;if(C!==N.state.dataStartIndex||T!==N.state.dataEndIndex){var L=N.state.updateId;N.setState(function(){return ae({dataStartIndex:C,dataEndIndex:T},y({props:N.props,dataStartIndex:C,dataEndIndex:T,updateId:L},N.state))}),N.triggerSyncEvent({dataStartIndex:C,dataEndIndex:T})}}),Fe(N,"handleMouseEnter",function(P){var C=N.getMouseInfo(P);if(C){var T=ae(ae({},C),{},{isTooltipActive:!0});N.setState(T),N.triggerSyncEvent(T);var L=N.props.onMouseEnter;He(L)&&L(T,P)}}),Fe(N,"triggeredAfterMouseMove",function(P){var C=N.getMouseInfo(P),T=C?ae(ae({},C),{},{isTooltipActive:!0}):{isTooltipActive:!1};N.setState(T),N.triggerSyncEvent(T);var L=N.props.onMouseMove;He(L)&&L(T,P)}),Fe(N,"handleItemMouseEnter",function(P){N.setState(function(){return{isTooltipActive:!0,activeItem:P,activePayload:P.tooltipPayload,activeCoordinate:P.tooltipPosition||{x:P.cx,y:P.cy}}})}),Fe(N,"handleItemMouseLeave",function(){N.setState(function(){return{isTooltipActive:!1}})}),Fe(N,"handleMouseMove",function(P){P.persist(),N.throttleTriggeredAfterMouseMove(P)}),Fe(N,"handleMouseLeave",function(P){N.throttleTriggeredAfterMouseMove.cancel();var C={isTooltipActive:!1};N.setState(C),N.triggerSyncEvent(C);var T=N.props.onMouseLeave;He(T)&&T(C,P)}),Fe(N,"handleOuterEvent",function(P){var C=gne(P),T=fr(N.props,"".concat(C));if(C&&He(T)){var L,D;/.*touch.*/i.test(C)?D=N.getMouseInfo(P.changedTouches[0]):D=N.getMouseInfo(P),T((L=D)!==null&&L!==void 0?L:{},P)}}),Fe(N,"handleClick",function(P){var C=N.getMouseInfo(P);if(C){var T=ae(ae({},C),{},{isTooltipActive:!0});N.setState(T),N.triggerSyncEvent(T);var L=N.props.onClick;He(L)&&L(T,P)}}),Fe(N,"handleMouseDown",function(P){var C=N.props.onMouseDown;if(He(C)){var T=N.getMouseInfo(P);C(T,P)}}),Fe(N,"handleMouseUp",function(P){var C=N.props.onMouseUp;if(He(C)){var T=N.getMouseInfo(P);C(T,P)}}),Fe(N,"handleTouchMove",function(P){P.changedTouches!=null&&P.changedTouches.length>0&&N.throttleTriggeredAfterMouseMove(P.changedTouches[0])}),Fe(N,"handleTouchStart",function(P){P.changedTouches!=null&&P.changedTouches.length>0&&N.handleMouseDown(P.changedTouches[0])}),Fe(N,"handleTouchEnd",function(P){P.changedTouches!=null&&P.changedTouches.length>0&&N.handleMouseUp(P.changedTouches[0])}),Fe(N,"handleDoubleClick",function(P){var C=N.props.onDoubleClick;if(He(C)){var T=N.getMouseInfo(P);C(T,P)}}),Fe(N,"handleContextMenu",function(P){var C=N.props.onContextMenu;if(He(C)){var T=N.getMouseInfo(P);C(T,P)}}),Fe(N,"triggerSyncEvent",function(P){N.props.syncId!==void 0&&Xw.emit(Yw,N.props.syncId,P,N.eventEmitterSymbol)}),Fe(N,"applySyncEvent",function(P){var C=N.props,T=C.layout,L=C.syncMethod,D=N.state.updateId,M=P.dataStartIndex,$=P.dataEndIndex;if(P.dataStartIndex!==void 0||P.dataEndIndex!==void 0)N.setState(ae({dataStartIndex:M,dataEndIndex:$},y({props:N.props,dataStartIndex:M,dataEndIndex:$,updateId:D},N.state)));else if(P.activeTooltipIndex!==void 0){var H=P.chartX,U=P.chartY,z=P.activeTooltipIndex,W=N.state,Z=W.offset,V=W.tooltipTicks;if(!Z)return;if(typeof L=="function")z=L(V,P);else if(L==="value"){z=-1;for(var ee=0;ee<V.length;ee++)if(V[ee].value===P.activeLabel){z=ee;break}}var R=ae(ae({},Z),{},{x:Z.left,y:Z.top}),B=Math.min(H,R.x+R.width),X=Math.min(U,R.y+R.height),F=V[z]&&V[z].value,he=mj(N.state,N.props.data,z),ye=V[z]?{x:T==="horizontal"?V[z].coordinate:B,y:T==="horizontal"?X:V[z].coordinate}:jB;N.setState(ae(ae({},P),{},{activeLabel:F,activeCoordinate:ye,activePayload:he,activeTooltipIndex:z}))}else N.setState(P)}),Fe(N,"renderCursor",function(P){var C,T=N.state,L=T.isTooltipActive,D=T.activeCoordinate,M=T.activePayload,$=T.offset,H=T.activeTooltipIndex,U=T.tooltipAxisBandSize,z=N.getTooltipEventType(),W=(C=P.props.active)!==null&&C!==void 0?C:L,Z=N.props.layout,V=P.key||"_recharts-cursor";return Y.createElement(Xye,{key:V,activeCoordinate:D,activePayload:M,activeTooltipIndex:H,chartName:n,element:P,isActive:W,layout:Z,offset:$,tooltipAxisBandSize:U,tooltipEventType:z})}),Fe(N,"renderPolarAxis",function(P,C,T){var L=fr(P,"type.axisType"),D=fr(N.state,"".concat(L,"Map")),M=P.type.defaultProps,$=M!==void 0?ae(ae({},M),P.props):P.props,H=D&&D[$["".concat(L,"Id")]];return O.cloneElement(P,ae(ae({},H),{},{className:Ke(L,H.className),key:P.key||"".concat(C,"-").concat(T),ticks:qa(H,!0)}))}),Fe(N,"renderPolarGrid",function(P){var C=P.props,T=C.radialLines,L=C.polarAngles,D=C.polarRadius,M=N.state,$=M.radiusAxisMap,H=M.angleAxisMap,U=il($),z=il(H),W=z.cx,Z=z.cy,V=z.innerRadius,ee=z.outerRadius;return O.cloneElement(P,{polarAngles:Array.isArray(L)?L:qa(z,!0).map(function(R){return R.coordinate}),polarRadius:Array.isArray(D)?D:qa(U,!0).map(function(R){return R.coordinate}),cx:W,cy:Z,innerRadius:V,outerRadius:ee,key:P.key||"polar-grid",radialLines:T})}),Fe(N,"renderLegend",function(){var P=N.state.formattedGraphicalItems,C=N.props,T=C.children,L=C.width,D=C.height,M=N.props.margin||{},$=L-(M.left||0)-(M.right||0),H=lF({children:T,formattedGraphicalItems:P,legendWidth:$,legendContent:f});if(!H)return null;var U=H.item,z=vM(H,Yye);return O.cloneElement(U,ae(ae({},z),{},{chartWidth:L,chartHeight:D,margin:M,onBBoxUpdate:N.handleLegendBBoxUpdate}))}),Fe(N,"renderTooltip",function(){var P,C=N.props,T=C.children,L=C.accessibilityLayer,D=sr(T,Hr);if(!D)return null;var M=N.state,$=M.isTooltipActive,H=M.activeCoordinate,U=M.activePayload,z=M.activeLabel,W=M.offset,Z=(P=D.props.active)!==null&&P!==void 0?P:$;return O.cloneElement(D,{viewBox:ae(ae({},W),{},{x:W.left,y:W.top}),active:Z,label:z,payload:Z?U:[],coordinate:H,accessibilityLayer:L})}),Fe(N,"renderBrush",function(P){var C=N.props,T=C.margin,L=C.data,D=N.state,M=D.offset,$=D.dataStartIndex,H=D.dataEndIndex,U=D.updateId;return O.cloneElement(P,{key:P.key||"_recharts-brush",onChange:Oh(N.handleBrushChange,P.props.onChange),data:L,x:we(P.props.x)?P.props.x:M.left,y:we(P.props.y)?P.props.y:M.top+M.height+M.brushBottom-(T.bottom||0),width:we(P.props.width)?P.props.width:M.width,startIndex:$,endIndex:H,updateId:"brush-".concat(U)})}),Fe(N,"renderReferenceElement",function(P,C,T){if(!P)return null;var L=N,D=L.clipPathId,M=N.state,$=M.xAxisMap,H=M.yAxisMap,U=M.offset,z=P.type.defaultProps||{},W=P.props,Z=W.xAxisId,V=Z===void 0?z.xAxisId:Z,ee=W.yAxisId,R=ee===void 0?z.yAxisId:ee;return O.cloneElement(P,{key:P.key||"".concat(C,"-").concat(T),xAxis:$[V],yAxis:H[R],viewBox:{x:U.left,y:U.top,width:U.width,height:U.height},clipPathId:D})}),Fe(N,"renderActivePoints",function(P){var C=P.item,T=P.activePoint,L=P.basePoint,D=P.childIndex,M=P.isRange,$=[],H=C.props.key,U=C.item.type.defaultProps!==void 0?ae(ae({},C.item.type.defaultProps),C.item.props):C.item.props,z=U.activeDot,W=U.dataKey,Z=ae(ae({index:D,dataKey:W,cx:T.x,cy:T.y,r:4,fill:uk(C.item),strokeWidth:2,stroke:"#fff",payload:T.payload,value:T.value},qe(z,!1)),mp(z));return $.push(w.renderActiveDot(z,Z,"".concat(H,"-activePoint-").concat(D))),L?$.push(w.renderActiveDot(z,ae(ae({},Z),{},{cx:L.x,cy:L.y}),"".concat(H,"-basePoint-").concat(D))):M&&$.push(null),$}),Fe(N,"renderGraphicChild",function(P,C,T){var L=N.filterFormatItem(P,C,T);if(!L)return null;var D=N.getTooltipEventType(),M=N.state,$=M.isTooltipActive,H=M.tooltipAxis,U=M.activeTooltipIndex,z=M.activeLabel,W=N.props.children,Z=sr(W,Hr),V=L.props,ee=V.points,R=V.isRange,B=V.baseLine,X=L.item.type.defaultProps!==void 0?ae(ae({},L.item.type.defaultProps),L.item.props):L.item.props,F=X.activeDot,he=X.hide,ye=X.activeBar,le=X.activeShape,ce=!!(!he&&$&&Z&&(F||ye||le)),ve={};D!=="axis"&&Z&&Z.props.trigger==="click"?ve={onClick:Oh(N.handleItemMouseEnter,P.props.onClick)}:D!=="axis"&&(ve={onMouseLeave:Oh(N.handleItemMouseLeave,P.props.onMouseLeave),onMouseEnter:Oh(N.handleItemMouseEnter,P.props.onMouseEnter)});var oe=O.cloneElement(P,ae(ae({},L.props),ve));function pe(Kt){return typeof H.dataKey=="function"?H.dataKey(Kt.payload):null}if(ce)if(U>=0){var xe,ie;if(H.dataKey&&!H.allowDuplicatedCategory){var $e=typeof H.dataKey=="function"?pe:"payload.".concat(H.dataKey.toString());xe=Y1(ee,$e,z),ie=R&&B&&Y1(B,$e,z)}else xe=ee==null?void 0:ee[U],ie=R&&B&&B[U];if(le||ye){var Re=P.props.activeIndex!==void 0?P.props.activeIndex:U;return[O.cloneElement(P,ae(ae(ae({},L.props),ve),{},{activeIndex:Re})),null,null]}if(!Qe(xe))return[oe].concat(tc(N.renderActivePoints({item:L,activePoint:xe,basePoint:ie,childIndex:U,isRange:R})))}else{var We,je=(We=N.getItemByXY(N.state.activeCoordinate))!==null&&We!==void 0?We:{graphicalItem:oe},Ve=je.graphicalItem,Pt=Ve.item,vt=Pt===void 0?P:Pt,wn=Ve.childIndex,nn=ae(ae(ae({},L.props),ve),{},{activeIndex:wn});return[O.cloneElement(vt,nn),null,null]}return R?[oe,null,null]:[oe,null]}),Fe(N,"renderCustomized",function(P,C,T){return O.cloneElement(P,ae(ae({key:"recharts-customized-".concat(T)},N.props),N.state))}),Fe(N,"renderMap",{CartesianGrid:{handler:Dh,once:!0},ReferenceArea:{handler:N.renderReferenceElement},ReferenceLine:{handler:Dh},ReferenceDot:{handler:N.renderReferenceElement},XAxis:{handler:Dh},YAxis:{handler:Dh},Brush:{handler:N.renderBrush,once:!0},Bar:{handler:N.renderGraphicChild},Line:{handler:N.renderGraphicChild},Area:{handler:N.renderGraphicChild},Radar:{handler:N.renderGraphicChild},RadialBar:{handler:N.renderGraphicChild},Scatter:{handler:N.renderGraphicChild},Pie:{handler:N.renderGraphicChild},Funnel:{handler:N.renderGraphicChild},Tooltip:{handler:N.renderCursor,once:!0},PolarGrid:{handler:N.renderPolarGrid,once:!0},PolarAngleAxis:{handler:N.renderPolarAxis},PolarRadiusAxis:{handler:N.renderPolarAxis},Customized:{handler:N.renderCustomized}}),N.clipPathId="".concat((_=j.id)!==null&&_!==void 0?_:Xf("recharts"),"-clip"),N.throttleTriggeredAfterMouseMove=l3(N.triggeredAfterMouseMove,(E=j.throttleDelay)!==null&&E!==void 0?E:1e3/60),N.state={},N}return lve(w,v),ive(w,[{key:"componentDidMount",value:function(){var _,E;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(_=this.props.margin.left)!==null&&_!==void 0?_:0,top:(E=this.props.margin.top)!==null&&E!==void 0?E:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var _=this.props,E=_.children,N=_.data,P=_.height,C=_.layout,T=sr(E,Hr);if(T){var L=T.props.defaultIndex;if(!(typeof L!="number"||L<0||L>this.state.tooltipTicks.length-1)){var D=this.state.tooltipTicks[L]&&this.state.tooltipTicks[L].value,M=mj(this.state,N,L,D),$=this.state.tooltipTicks[L].coordinate,H=(this.state.offset.top+P)/2,U=C==="horizontal",z=U?{x:$,y:H}:{y:$,x:H},W=this.state.formattedGraphicalItems.find(function(V){var ee=V.item;return ee.type.name==="Scatter"});W&&(z=ae(ae({},z),W.props.points[L].tooltipPosition),M=W.props.points[L].tooltipPayload);var Z={activeTooltipIndex:L,isTooltipActive:!0,activeLabel:D,activePayload:M,activeCoordinate:z};this.setState(Z),this.renderCursor(T),this.accessibilityManager.setIndex(L)}}}},{key:"getSnapshotBeforeUpdate",value:function(_,E){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==E.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==_.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==_.margin){var N,P;this.accessibilityManager.setDetails({offset:{left:(N=this.props.margin.left)!==null&&N!==void 0?N:0,top:(P=this.props.margin.top)!==null&&P!==void 0?P:0}})}return null}},{key:"componentDidUpdate",value:function(_){Q1([sr(_.children,Hr)],[sr(this.props.children,Hr)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var _=sr(this.props.children,Hr);if(_&&typeof _.props.shared=="boolean"){var E=_.props.shared?"axis":"item";return s.indexOf(E)>=0?E:o}return o}},{key:"getMouseInfo",value:function(_){if(!this.container)return null;var E=this.container,N=E.getBoundingClientRect(),P=iae(N),C={chartX:Math.round(_.pageX-P.left),chartY:Math.round(_.pageY-P.top)},T=N.width/E.offsetWidth||1,L=this.inRange(C.chartX,C.chartY,T);if(!L)return null;var D=this.state,M=D.xAxisMap,$=D.yAxisMap,H=this.getTooltipEventType(),U=bM(this.state,this.props.data,this.props.layout,L);if(H!=="axis"&&M&&$){var z=il(M).scale,W=il($).scale,Z=z&&z.invert?z.invert(C.chartX):null,V=W&&W.invert?W.invert(C.chartY):null;return ae(ae({},C),{},{xValue:Z,yValue:V},U)}return U?ae(ae({},C),U):null}},{key:"inRange",value:function(_,E){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,P=this.props.layout,C=_/N,T=E/N;if(P==="horizontal"||P==="vertical"){var L=this.state.offset,D=C>=L.left&&C<=L.left+L.width&&T>=L.top&&T<=L.top+L.height;return D?{x:C,y:T}:null}var M=this.state,$=M.angleAxisMap,H=M.radiusAxisMap;if($&&H){var U=il($);return OI({x:C,y:T},U)}return null}},{key:"parseEventsOfWrapper",value:function(){var _=this.props.children,E=this.getTooltipEventType(),N=sr(_,Hr),P={};N&&E==="axis"&&(N.props.trigger==="click"?P={onClick:this.handleClick}:P={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var C=mp(this.props,this.handleOuterEvent);return ae(ae({},C),P)}},{key:"addListener",value:function(){Xw.on(Yw,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Xw.removeListener(Yw,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(_,E,N){for(var P=this.state.formattedGraphicalItems,C=0,T=P.length;C<T;C++){var L=P[C];if(L.item===_||L.props.key===_.key||E===Vi(L.item.type)&&N===L.childIndex)return L}return null}},{key:"renderClipPath",value:function(){var _=this.clipPathId,E=this.state.offset,N=E.left,P=E.top,C=E.height,T=E.width;return Y.createElement("defs",null,Y.createElement("clipPath",{id:_},Y.createElement("rect",{x:N,y:P,height:C,width:T})))}},{key:"getXScales",value:function(){var _=this.state.xAxisMap;return _?Object.entries(_).reduce(function(E,N){var P=yM(N,2),C=P[0],T=P[1];return ae(ae({},E),{},Fe({},C,T.scale))},{}):null}},{key:"getYScales",value:function(){var _=this.state.yAxisMap;return _?Object.entries(_).reduce(function(E,N){var P=yM(N,2),C=P[0],T=P[1];return ae(ae({},E),{},Fe({},C,T.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(_){var E;return(E=this.state.xAxisMap)===null||E===void 0||(E=E[_])===null||E===void 0?void 0:E.scale}},{key:"getYScaleByAxisId",value:function(_){var E;return(E=this.state.yAxisMap)===null||E===void 0||(E=E[_])===null||E===void 0?void 0:E.scale}},{key:"getItemByXY",value:function(_){var E=this.state,N=E.formattedGraphicalItems,P=E.activeItem;if(N&&N.length)for(var C=0,T=N.length;C<T;C++){var L=N[C],D=L.props,M=L.item,$=M.type.defaultProps!==void 0?ae(ae({},M.type.defaultProps),M.props):M.props,H=Vi(M.type);if(H==="Bar"){var U=(D.data||[]).find(function(V){return khe(_,V)});if(U)return{graphicalItem:L,payload:U}}else if(H==="RadialBar"){var z=(D.data||[]).find(function(V){return OI(_,V)});if(z)return{graphicalItem:L,payload:z}}else if(ig(L,P)||og(L,P)||Sf(L,P)){var W=Kpe({graphicalItem:L,activeTooltipItem:P,itemData:$.data}),Z=$.activeIndex===void 0?W:$.activeIndex;return{graphicalItem:ae(ae({},L),{},{childIndex:Z}),payload:Sf(L,P)?$.data[W]:L.props.data[W]}}}return null}},{key:"render",value:function(){var _=this;if(!UC(this))return null;var E=this.props,N=E.children,P=E.className,C=E.width,T=E.height,L=E.style,D=E.compact,M=E.title,$=E.desc,H=vM(E,Jye),U=qe(H,!1);if(D)return Y.createElement(rM,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Y.createElement(eS,cl({},U,{width:C,height:T,title:M,desc:$}),this.renderClipPath(),HC(N,this.renderMap)));if(this.props.accessibilityLayer){var z,W;U.tabIndex=(z=this.props.tabIndex)!==null&&z!==void 0?z:0,U.role=(W=this.props.role)!==null&&W!==void 0?W:"application",U.onKeyDown=function(V){_.accessibilityManager.keyboardEvent(V)},U.onFocus=function(){_.accessibilityManager.focus()}}var Z=this.parseEventsOfWrapper();return Y.createElement(rM,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Y.createElement("div",cl({className:Ke("recharts-wrapper",P),style:ae({position:"relative",cursor:"default",width:C,height:T},L)},Z,{ref:function(ee){_.container=ee}}),Y.createElement(eS,cl({},U,{width:C,height:T,title:M,desc:$,style:pve}),this.renderClipPath(),HC(N,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])})(O.Component);Fe(S,"displayName",n),Fe(S,"defaultProps",ae({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},p)),Fe(S,"getDerivedStateFromProps",function(v,w){var j=v.dataKey,_=v.data,E=v.children,N=v.width,P=v.height,C=v.layout,T=v.stackOffset,L=v.margin,D=w.dataStartIndex,M=w.dataEndIndex;if(w.updateId===void 0){var $=wM(v);return ae(ae(ae({},$),{},{updateId:0},y(ae(ae({props:v},$),{},{updateId:0}),w)),{},{prevDataKey:j,prevData:_,prevWidth:N,prevHeight:P,prevLayout:C,prevStackOffset:T,prevMargin:L,prevChildren:E})}if(j!==w.prevDataKey||_!==w.prevData||N!==w.prevWidth||P!==w.prevHeight||C!==w.prevLayout||T!==w.prevStackOffset||!fl(L,w.prevMargin)){var H=wM(v),U={chartX:w.chartX,chartY:w.chartY,isTooltipActive:w.isTooltipActive},z=ae(ae({},bM(w,_,C)),{},{updateId:w.updateId+1}),W=ae(ae(ae({},H),U),z);return ae(ae(ae({},W),y(ae({props:v},W),w)),{},{prevDataKey:j,prevData:_,prevWidth:N,prevHeight:P,prevLayout:C,prevStackOffset:T,prevMargin:L,prevChildren:E})}if(!Q1(E,w.prevChildren)){var Z,V,ee,R,B=sr(E,Vl),X=B&&(Z=(V=B.props)===null||V===void 0?void 0:V.startIndex)!==null&&Z!==void 0?Z:D,F=B&&(ee=(R=B.props)===null||R===void 0?void 0:R.endIndex)!==null&&ee!==void 0?ee:M,he=X!==D||F!==M,ye=!Qe(_),le=ye&&!he?w.updateId:w.updateId+1;return ae(ae({updateId:le},y(ae(ae({props:v},w),{},{updateId:le,dataStartIndex:X,dataEndIndex:F}
365),w)),{},{prevChildren:E,dataStartIndex:X,dataEndIndex:F})}return null}),Fe(S,"renderActiveDot",function(v,w,j){var _;return O.isValidElement(v)?_=O.cloneElement(v,w):He(v)?_=v(w):_=Y.createElement(dk,w),Y.createElement(pt,{className:"recharts-active-dot",key:j},_)});var b=O.forwardRef(function(w,j){return Y.createElement(S,cl({},w,{ref:j}))});return b.displayName=S.displayName,b},_ve=kB({chartName:"BarChart",GraphicalChild:Ss,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:dg},{axisType:"yAxis",AxisComp:hg}],formatAxisMap:Qme}),kve=kB({chartName:"PieChart",GraphicalChild:ao,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:rg},{axisType:"radiusAxis",AxisComp:tg}],formatAxisMap:Mue,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}});const Mh=["#FFD700","#E60012","#A3A3A3","#525252","#737373","#262626"],jM={backgroundColor:"#0A0A0A",border:"1px solid #2A2A2A",borderRadius:"8px",fontSize:"12px",color:"#FAFAFA"};function Eve({type:e,config:t}){const{lang:n}=Qr();if(!t||!t.data)return null;const{title:r,subtitle:i,unit:o="",data:a,legend:s,height:c=280,source:f}=t;return d.jsxs("div",{className:"my-8 p-5 lg:p-6 border border-line rounded-xl bg-ink-100",children:[r&&d.jsxs("div",{className:"mb-4",children:[d.jsx("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-signal-yellow mb-1",children:"FIG."}),d.jsx("div",{className:"font-display text-base lg:text-lg font-semibold text-bone leading-tight",children:r}),i&&d.jsx("div",{className:"text-xs text-bone-dim mt-1",children:i})]}),d.jsx("div",{className:"w-full",style:{height:c},children:d.jsx(Joe,{width:"100%",height:"100%",children:e==="bar"?d.jsxs(_ve,{data:a,margin:{top:24,right:8,left:-8,bottom:8},children:[d.jsx(dg,{dataKey:"label",tick:{fill:"#737373",fontSize:11},axisLine:{stroke:"#2A2A2A"},tickLine:!1}),d.jsx(hg,{tick:{fill:"#737373",fontSize:11},axisLine:!1,tickLine:!1}),d.jsx(Hr,{contentStyle:jM,cursor:{fill:"rgba(255,215,0,0.05)"},formatter:h=>`${h}${o}`}),d.jsx(Ss,{dataKey:"value",fill:"#FFD700",radius:[6,6,0,0],maxBarSize:64,children:d.jsx(Xi,{dataKey:"value",position:"top",style:{fill:"#FAFAFA",fontSize:12,fontWeight:700},formatter:h=>`${h}${o}`})})]}):e==="donut"?d.jsxs(kve,{children:[d.jsx(ao,{data:a,dataKey:"value",nameKey:"label",cx:"50%",cy:"50%",innerRadius:55,outerRadius:95,paddingAngle:2,stroke:"none",children:a.map((h,p)=>d.jsx(Bm,{fill:h.color||Mh[p%Mh.length]},p))}),d.jsx(Hr,{contentStyle:jM,formatter:(h,p)=>[`${h}${o}`,p]})]}):null})}),f&&d.jsxs("div",{className:"mt-4 pt-3 border-t border-line/60 text-[10px] font-mono-x uppercase tracking-widest text-bone-faint leading-relaxed",children:[n==="ja"?"åºå ¸":"Source",": ",f]}),s&&d.jsx("div",{className:"flex flex-wrap gap-x-5 gap-y-2 mt-4 justify-center",children:a.map((h,p)=>d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("span",{className:"w-3 h-3 rounded-sm flex-shrink-0",style:{backgroundColor:h.color||Mh[p%Mh.length]}}),d.jsxs("span",{className:"text-xs text-bone-muted",children:[h.label," ",d.jsxs("span",{className:"text-bone-faint mono-num",children:["(",h.value,o,")"]})]})]},p))})]})}const _M=[{slug:"whitepaper",en:"Whitepaper",ja:"ãã¯ã¤ããã¼ãã¼"},{slug:"testnet",en:"Testnet",ja:"ãã¹ãããã"},{slug:"mainnet",en:"Mainnet",ja:"ã¡ã¤ã³ããã",wip:!0}];function Nve(){const{lang:e}=Qr(),[t,n]=MW(),[r,i]=O.useState([]),[o,a]=O.useState(!0),[s,c]=O.useState(!1),f=t.get("page")||null;O.useEffect(()=>{Be.entities.DocPage.filter({is_published:!0},"order",100).then(i).finally(()=>a(!1))},[]);const h=f?r.find(j=>j.slug===f):r[0],p=h&&h.parent_slug||"whitepaper",g=r.filter(j=>(j.parent_slug||"whitepaper")===p).sort((j,_)=>(j.order||0)-(_.order||0)),y=g.findIndex(j=>j.id===(h==null?void 0:h.id)),S=y>0?g[y-1]:null,b=y>=0&&y<g.length-1?g[y+1]:null,v=h?_M.find(j=>j.slug===(h.parent_slug||"whitepaper")):null,w=j=>{n({page:j}),c(!1),window.scrollTo({top:0,behavior:"smooth"})};return d.jsxs("div",{className:"min-h-screen bg-black text-bone flex flex-col",children:[d.jsx(es,{}),d.jsxs("div",{className:"flex-1 flex pt-16",children:[s&&d.jsx("div",{className:"fixed inset-0 z-30 bg-black/70 backdrop-blur-sm lg:hidden",onClick:()=>c(!1)}),d.jsxs("aside",{className:` 366 fixed top-16 left-0 bottom-0 z-40 w-72 bg-ink-50 border-r border-line overflow-y-auto 367 transition-transform duration-300 ease-in-out 368 lg:sticky lg:translate-x-0 lg:flex-shrink-0 369 ${s?"translate-x-0":"-translate-x-full lg:translate-x-0"} 370 `,children:[d.jsxs("div",{className:"sticky top-0 bg-ink-50/90 backdrop-blur-sm border-b border-line px-5 py-4 flex items-center justify-between",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(gq,{className:"w-4 h-4 text-signal-yellow"}),d.jsx("span",{className:"text-xs font-mono-x uppercase tracking-widest text-bone-dim",children:e==="ja"?"ããã¥ã¡ã³ã":"Documentation"})]}),d.jsx("button",{className:"lg:hidden p-1 text-bone-muted",onClick:()=>c(!1),children:d.jsx(Aj,{className:"w-4 h-4"})})]}),d.jsx("nav",{className:"py-3",children:o?d.jsx("div",{className:"px-5 py-8 text-center",children:d.jsx("div",{className:"w-5 h-5 border-2 border-line border-t-signal-yellow rounded-full animate-spin mx-auto"})}):_M.map(j=>{const _=r.filter(E=>(E.parent_slug||"whitepaper")===j.slug).sort((E,N)=>(E.order||0)-(N.order||0));return d.jsxs("div",{className:"mb-4",children:[d.jsxs("div",{className:"px-5 py-2 flex items-center gap-2",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint",children:e==="ja"?j.ja:j.en}),j.wip&&d.jsx("span",{className:"text-[9px] font-mono-x px-1.5 py-0.5 border border-line-bright rounded text-bone-faint",children:e==="ja"?"æºåä¸":"WIP"})]}),_.length>0?_.map(E=>{const N=(h==null?void 0:h.id)===E.id,P=e==="ja"?E.title_ja:E.title_en;return d.jsxs("button",{onClick:()=>w(E.slug),className:`w-full text-left px-5 py-2.5 text-[13px] transition-all flex items-center gap-2 border-l-2 ${N?"border-signal-yellow text-bone bg-signal-yellow/5 font-medium":"border-transparent text-bone-muted hover:text-bone hover:bg-white/3"}`,children:[N&&d.jsx(Ma,{className:"w-3 h-3 text-signal-yellow flex-shrink-0"}),d.jsx("span",{className:N?"":"ml-5",children:P})]},E.id)}):d.jsx("div",{className:"px-5 py-1.5 text-[11px] text-bone-faint italic",children:j.wip?e==="ja"?"æºåä¸":"C
370oming soon":e==="ja"?"ãã¼ã¸ãªã":"No pages"})]},j.slug)})}),d.jsxs("div",{className:"px-5 py-4 border-t border-line mt-2 space-y-3",children:[d.jsxs("a",{href:"https://explorer.dep-protocol.com/",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-[11px] font-mono-x text-signal-yellow/80 hover:text-signal-yellow transition-colors",children:[d.jsx(gv,{className:"w-3 h-3"}),e==="ja"?"ã¡ã¤ã³ãããã¨ã¯ã¹ããã¼ã©ã¼":"Mainnet Explorer"]}),d.jsxs("a",{href:"https://dep-testnet-explorer.dep-protocol.com",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-[11px] font-mono-x text-signal-yellow/80 hover:text-signal-yellow transition-colors",children:[d.jsx(gv,{className:"w-3 h-3"}),e==="ja"?"ãã¹ããããã¨ã¯ã¹ããã¼ã©ã¼":"Testnet Explorer"]}),d.jsxs("a",{href:e==="ja"?"https://deapnetwork.whitepaper.dea.sg/ja/":"https://deapnetwork.whitepaper.dea.sg/",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-[11px] font-mono-x text-bone-faint hover:text-bone-muted transition-colors",children:[d.jsx(gv,{className:"w-3 h-3"}),e==="ja"?"ãªãªã¸ãã«ãè¦ã":"View original"]})]})]}),d.jsxs("main",{className:"flex-1 min-w-0",children:[d.jsxs("div",{className:"lg:hidden sticky top-16 z-20 bg-black/80 backdrop-blur-xl border-b border-line px-4 py-3 flex items-center gap-3",children:[d.jsx("button",{onClick:()=>c(!0),className:"p-1.5 text-bone-muted hover:text-bone",children:d.jsx(Fq,{className:"w-5 h-5"})}),d.jsx("span",{className:"text-sm text-bone-dim truncate",children:h?e==="ja"?h.title_ja:h.title_en:""})]}),d.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-12 py-12 lg:py-16",children:o?d.jsx("div",{className:"flex items-center justify-center py-32",children:d.jsx("div",{className:"w-8 h-8 border-2 border-line border-t-signal-yellow rounded-full animate-spin"})}):h?d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"flex items-center gap-2 mb-8 text-[11px] font-mono-x uppercase tracking-widest text-bone-faint flex-wrap",children:[d.jsx("span",{children:"DEP Protocol"}),d.jsx(Ma,{className:"w-3 h-3"}),d.jsx("span",{className:"text-bone-dim",children:v?e==="ja"?v.ja:v.en:""}),d.jsx(Ma,{className:"w-3 h-3"}),d.jsx("span",{className:"text-bone-dim",children:e==="ja"?h.title_ja:h.title_en})]}),d.jsx("h1",{className:"font-display font-bold text-3xl lg:text-4xl tracking-tight text-bone mb-8 leading-tight",children:e==="ja"?h.title_ja:h.title_en}),d.jsx("div",{className:"hr-fade mb-10"}),d.jsx("div",{className:"prose-docs",children:d.jsx(D$,{remarkPlugins:[o5],components:{h1:({children:j})=>d.jsx("h1",{className:"font-display font-bold text-2xl text-bone mt-10 mb-4 tracking-tight",children:j}),h2:({children:j})=>d.jsx("h2",{className:"font-display font-bold text-xl text-bone mt-8 mb-3 tracking-tight",children:j}),h3:({children:j})=>d.jsx("h3",{className:"font-display font-semibold text-lg text-bone mt-6 mb-2",children:j}),h4:({children:j})=>d.jsx("h4",{className:"font-semibold text-base text-signal-yellow mt-5 mb-2",children:j}),p:({children:j})=>d.jsx("p",{className:"text-[15px] lg:text-[16px] leading-[1.8] text-bone-muted mb-5",children:j}),ul:({children:j})=>d.jsx("ul",{className:"list-none space-y-2 mb-5 pl-0",children:j}),ol:({children:j})=>d.jsx("ol",{className:"list-decimal pl-5 space-y-2 mb-5 text-bone-muted text-[15px] leading-relaxed",children:j}),li:({children:j})=>d.jsxs("li",{className:"flex gap-2 text-[15px] text-bone-muted leading-relaxed",children:[d.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-signal-yellow flex-shrink-0"}),d.jsx("span",{children:j})]}),strong:({children:j})=>d.jsx("strong",{className:"text-bone font-semibold",children:j}),em:({children:j})=>d.jsx("em",{className:"text-bone-dim",children:j}),blockquote:({children:j})=>d.jsx("blockquote",{className:"border-l-2 border-signal-yellow pl-5 my-6 text-bone-muted italic",children:j}),code:({className:j,children:_})=>j&&j.startsWith("language-chart:")?d.jsx(d.Fragment,{children:_}):d.jsx("code",{className:"px-1.5 py-0.5 bg-ink-200 text-signal-yellow text-[13px] rounded font-mono-x",children:_}),pre:({children:j})=>{const _=Array.isArray(j)?j[0]:j,E=(_==null?void 0:_.props)||{},N=E.className||"";if(N.startsWith("language-chart:")){const P=N.replace("language-chart:","");try{const C=typeof E.children=="string"?E.children:"",T=JSON.parse(C);return d.jsx(Eve,{type:P,config:T})}catch(C){return d.jsxs("pre",{className:"bg-ink-200 border border-line rounded-xl p-5 overflow-x-auto mb-5 text-[13px] font-mono-x text-signal-red",children:["Chart parse error: ",String(C.message)]})}}return d.jsx("pre",{className:"bg-ink-200 border border-line rounded-xl p-5 overflow-x-auto mb-5 text-[13px] font-mono-x text-bone-muted",children:j})},table:({children:j})=>d.jsx("div",{className:"overflow-x-auto mb-6",children:d.jsx("table",{className:"w-full border-collapse text-[14px]",children:j})}),thead:({children:j})=>d.jsx("thead",{className:"border-b border-line",children:j}),th:({children:j})=>d.jsx("th",{className:"text-left px-4 py-2.5 text-bone font-semibold text-[12px] uppercase tracking-wider",children:j}),td:({children:j})=>d.jsx("td",{className:"px-4 py-3 text-bone-muted border-b border-line/50",children:j}),a:({href:j,children:_})=>d.jsx("a",{href:j,target:"_blank",rel:"noopener noreferrer",className:"text-signal-yellow hover:underline",children:_}),hr:()=>d.jsx("div",{className:"hr-fade my-8"})},children:e==="ja"?h.body_ja||"":h.body_en||""})}),d.jsx("div",{className:"hr-fade mt-12 mb-8"}),d.jsxs("div",{className:"flex items-center justify-between gap-4",children:[S?d.jsxs("button",{onClick:()=>w(S.slug),className:"flex items-center gap-3 group text-left max-w-[45%]",children:[d.jsx(wq,{className:"w-5 h-5 text-bone-faint group-hover:text-signal-yellow transition-colors flex-shrink-0"}),d.jsxs("div",{children:[d.jsx("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-0.5",children:e==="ja"?"åã¸":"Previous"}),d.jsx("div",{className:"text-[13px] text-bone-muted group-hover:text-bone transition-colors",children:e==="ja"?S.title_ja:S.title_en})]})]}):d.jsx("div",{}),b?d.jsxs("button",{onClick:()=>w(b.slug),className:"flex items-center gap-3 group text-right max-w-[45%] ml-auto",children:[d.jsxs("div",{children:[d.jsx("div",{className:"text-[10px] font-mono-x uppercase tracking-widest text-bone-faint mb-0.5",children:e==="ja"?"次ã¸":"Next"}),d.jsx("div",{className:"text-[13px] text-bone-muted group-hover:text-bone transition-colors",children:e==="ja"?b.title_ja:b.title_en})]}),d.jsx(Ma,{className:"w-5 h-5 text-bone-faint group-hover:text-signal-yellow transition-colors flex-shrink-0"})]}):d.jsx("div",{})]})]}):d.jsx("div",{className:"text-center py-32 text-bone-muted",children:e==="ja"?"ãã¼ã¸ãè¦ã¤ããã¾ãã":"Page not found"})})]})]}),d.jsx(Hu,{})]})}var Pve=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ave=Pve.reduce((e,t)=>
vendor: 14,383 bytes, line 370
370{const n=s5(`Primitive.${t}`),r=O.forwardRef((i,o)=>{const{asChild:a,...s}=i,c=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(c,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Ove="Label",EB=O.forwardRef((e,t)=>d.jsx(Ave.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));EB.displayName=Ove;var NB=EB;const Cve=Pj("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Fi=O.forwardRef(({className:e,...t},n)=>d.jsx(NB,{ref:n,className:xn(Cve(),e),...t}));Fi.displayName=NB.displayName;function kM(e,[t,n]){return Math.min(n,Math.max(t,e))}function Wt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function yk(e,t=[]){let n=[];function r(o,a){const s=O.createContext(a),c=n.length;n=[...n,a];const f=p=>{var w;const{scope:g,children:y,...S}=p,b=((w=g==null?void 0:g[e])==null?void 0:w[c])||s,v=O.useMemo(()=>S,Object.values(S));return d.jsx(b.Provider,{value:v,children:y})};f.displayName=o+"Provider";function h(p,g){var b;const y=((b=g==null?void 0:g[e])==null?void 0:b[c])||s,S=O.useContext(y);if(S)return S;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${o}\``)}return[f,h]}const i=()=>{const o=n.map(a=>O.createContext(a));return function(s){const c=(s==null?void 0:s[e])||o;return O.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return i.scopeName=e,[r,Tve(i,...t)]}function Tve(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:c,scopeName:f})=>{const p=c(o)[`__scope${f}`];return{...s,...p}},{});return O.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function EM(e){const t=Rve(e),n=O.forwardRef((r,i)=>{const{children:o,...a}=r,s=O.Children.toArray(o),c=s.find(Dve);if(c){const f=c.props.children,h=s.map(p=>p===c?O.Children.count(f)>1?O.Children.only(null):O.isValidElement(f)?f.props.children:null:p);return d.jsx(t,{...a,ref:i,children:O.isValidElement(f)?O.cloneElement(f,void 0,h):null})}return d.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function Rve(e){const t=O.forwardRef((n,r)=>{const{children:i,...o}=n;if(O.isValidElement(i)){const a=Lve(i),s=Mve(o,i.props);return i.type!==O.Fragment&&(s.ref=r?Vf(r,a):a),O.cloneElement(i,s)}return O.Children.count(i)>1?O.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ive=Symbol("radix.slottable");function Dve(e){return O.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ive}function Mve(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const c=o(...s);return i(...s),c}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function Lve(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function $ve(e){const t=e+"CollectionProvider",[n,r]=yk(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=b=>{const{scope:v,children:w}=b,j=Y.useRef(null),_=Y.useRef(new Map).current;return d.jsx(i,{scope:v,itemMap:_,collectionRef:j,children:w})};a.displayName=t;const s=e+"CollectionSlot",c=EM(s),f=Y.forwardRef((b,v)=>{const{scope:w,children:j}=b,_=o(s,w),E=bn(v,_.collectionRef);return d.jsx(c,{ref:E,children:j})});f.displayName=s;const h=e+"CollectionItemSlot",p="data-radix-collection-item",g=EM(h),y=Y.forwardRef((b,v)=>{const{scope:w,children:j,..._}=b,E=Y.useRef(null),N=bn(v,E),P=o(h,w);return Y.useEffect(()=>(P.itemMap.set(E,{ref:E,..._}),()=>void P.itemMap.delete(E))),d.jsx(g,{[p]:"",ref:N,children:j})});y.displayName=h;function S(b){const v=o(e+"CollectionConsumer",b);return Y.useCallback(()=>{const j=v.collectionRef.current;if(!j)return[];const _=Array.from(j.querySelectorAll(`[${p}]`));return Array.from(v.itemMap.values()).sort((P,C)=>_.indexOf(P.ref.current)-_.indexOf(C.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:f,ItemSlot:y},S,r]}var Fve=O.createContext(void 0);function Bve(e){const t=O.useContext(Fve);return e||t||"ltr"}function zve(e){const t=Uve(e),n=O.forwardRef((r,i)=>{const{children:o,...a}=r,s=O.Children.toArray(o),c=s.find(Hve);if(c){const f=c.props.children,h=s.map(p=>p===c?O.Children.count(f)>1?O.Children.only(null):O.isValidElement(f)?f.props.children:null:p);return d.jsx(t,{...a,ref:i,children:O.isValidElement(f)?O.cloneElement(f,void 0,h):null})}return d.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function Uve(e){const t=O.forwardRef((n,r)=>{const{children:i,...o}=n;if(O.isValidElement(i)){const a=Vve(i),s=Wve(o,i.props);return i.type!==O.Fragment&&(s.ref=r?Vf(r,a):a),O.cloneElement(i,s)}return O.Children.count(i)>1?O.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var qve=Symbol("radix.slottable");function Hve(e){return O.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===qve}function Wve(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const c=o(...s);return i(...s),c}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function Vve(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Gve=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],zt=Gve.reduce((e,t)=>{const n=zve(`Primitive.${t}`),r=O.forwardRef((i,o)=>{const{asChild:a,...s}=i,c=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(c,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Kve(e,t){e&&Lf.flushSync(()=>e.dispatchEvent(t))}function ds(e){const t=O.useRef(e);return O.useEffect(()=>{t.current=e}),O.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Xve(e,t=globalThis==null?void 0:globalThis.document){const n=ds(e);O.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Yve="DismissableLayer",gj="dismissableLayer.update",Jve="dismissableLayer.pointerDownOutside",Qve="dismissableLayer.focusOutside",NM,PB=O.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),AB=O.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:a,onDismiss:s,...c}=e,f=O.useContext(PB),[h,p]=O.useState(null),g=(h==null?void 0:h.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=O.useState({}),S=bn(t,C=>p(C)),b=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),w=b.indexOf(v),j=h?b.indexOf(h):-1,_=f.layersWithOutsidePointerEventsDisabled.size>0,E=j>=w,N=txe(C=>{const T=C.target,L=[...f.branches].some(D=>D.contains(T));!E||L||(i==null||i(C),a==null||a(C),C.defaultPrevented||s==null||s())},g),P=nxe(C=>{const T=C.target;[...f.branches].some(D=>D.contains(T))||(o==null||o(C),a==null||a(C),C.defaultPrevented||s==null||s())},g);return Xve(C=>{j===f.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&s&&(C.preventDefault(),s()))},g),O.useEffect(()=>{if(h)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(NM=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(h)),f.layers.add(h),PM(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=NM)}},[h,g,n,f]),O.useEffect(()=>()=>{h&&(f.layers.delete(h),f.layersWithOutsidePointerEventsDisabled.delete(h),PM())},[h,f]),O.useEffect(()=>{const C=()=>y({});return document.addEventListener(gj,C),()=>document.removeEventListener(gj,C)},[]),d.jsx(zt.div,{...c,ref:S,style:{pointerEvents:_?E?"auto":"none":void 0,...e.style},onFocusCapture:Wt(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Wt(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Wt(e.onPointerDownCapture,N.onPointerDownCapture)})});AB.displayName=Yve;var Zve="DismissableLayerBranch",exe=O.forwardRef((e,t)=>{const n=O.useContext(PB),r=O.useRef(null),i=bn(t,r);return O.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),d.jsx(zt.div,{...e,ref:i})});exe.displayName=Zve;function txe(e,t=globalThis==null?void 0:globalThis.document){const n=ds(e),r=O.useRef(!1),i=O.useRef(()=>{});return O.useEffect(()=>{const o=s=>{if(s.target&&!r.current){let c=function(){OB(Jve,n,f,{discrete:!0})};const f={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=c,t.addEventListener("click",i.current,{once:!0})):c()}else t.removeEventListener("click",i.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function nxe(e,t=globalThis==null?void 0:globalThis.document){const n=ds(e),r=O.useRef(!1);return O.useEffect(()=>{const i=o=>{o.target&&!r.current&&OB(Qve,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function PM(){const e=new CustomEvent(gj);document.dispatchEvent(e)}function OB(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Kve(i,o):i.dispatchEvent(o)}var Qw=0;function rxe(){O.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??AM()),document.body.insertAdjacentElement("beforeend",e[1]??AM()),Qw++,()=>{Qw===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Qw--}},[])}function AM(){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 Zw="focusScope.autoFocusOnMount",e1="focusScope.autoFocusOnUnmount",OM={bubbles:!1,cancelable:!0},ixe="FocusScope",CB=O.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,c]=O.useState(null),f=ds(i),h=ds(o),p=O.useRef(null),g=bn(t,b=>c(b)),y=O.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;O.useEffect(()=>{if(r){let b=function(_){if(y.paused||!s)return;const E=_.target;s.contains(E)?p.current=E:Ro(p.current,{select:!0})},v=function(_){if(y.paused||!s)return;const E=_.relatedTarget;E!==null&&(s.contains(E)||Ro(p.current,{select:!0}))},w=function(_){if(document.activeElement===document.body)for(const N of _)N.removedNodes.length>0&&Ro(s)};document.addEventListener("focusin",b),document.addEventListener("focusout",v);const j=new MutationObserver(w);return s&&j.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",v),j.disconnect()}}},[r,s,y.paused]),O.useEffect(()=>{if(s){TM.add(y);const b=document.activeElement;if(!s.contains(b)){const w=new CustomEvent(Zw,OM);s.addEventListener(Zw,f),s.dispatchEvent(w),w.defaultPrevented||(oxe(uxe(TB(s)),{select:!0}),document.activeElement===b&&Ro(s))}return()=>{s.removeEventListener(Zw,f),setTimeout(()=>{const w=new CustomEvent(e1,OM);s.addEventListener(e1,h),s.dispatchEvent(w),w.defaultPrevented||Ro(b??document.body,{select:!0}),s.removeEventListener(e1,h),TM.remove(y)},0)}}},[s,f,h,y]);const S=O.useCallback(b=>{if(!n&&!r||y.paused)return;const v=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,w=document.activeElement;if(v&&w){const j=b.currentTarget,[_,E]=axe(j);_&&E?!b.shiftKey&&w===E?(b.preventDefault(),n&&Ro(_,{select:!0})):b.shiftKey&&w===_&&(b.preventDefault(),n&&Ro(E,{select:!0})):w===j&&b.preventDefault()}},[n,r,y.paused]);return d.jsx(zt.div,{tabIndex:-1,...a,ref:g,onKeyDown:S})});CB.displayName=ixe;function oxe(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ro(r,{select:t}),document.activeElement!==n)return}function axe(e){const t=TB(e),n=CM(t,e),r=CM(t.reverse(),e);return[n,r]}function TB(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function CM(e,t){for(const n of e)if(!sxe(n,{upTo:t}))return n}function sxe(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 lxe(e){return e instanceof HTMLInputElement&&"select"in e}function Ro(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&lxe(e)&&t&&e.select()}}var TM=cxe();function cxe(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=RM(e,t),e.unshift(t)},remove(t){var n;e=RM(e,t),(n=e[0])==null||n.resume()}}}function RM(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function uxe(e){return e.filter(t=>t.tagName!=="A")}var Jn=globalThis!=null&&globalThis.document?O.useLayoutEffect:()=>{},fxe=ym[" useId ".trim().toString()]||(()=>{}),dxe=0;function vk(e){const[t,n]=O.useState(fxe());return Jn(()=>{n(r=>r??String(dxe++))},[e]),t?`radix-${t}`:""}const hxe=["top","right","bottom","left"],Qo=Math.min,lr=Math.max,dm=Math.round,Lh=Math.floor,gi=e=>({x:e,y:e}
vendor: 10,535 bytes, line 370
370),pxe={left:"right",right:"left",bottom:"top",top:"bottom"},mxe={start:"end",end:"start"};function yj(e,t,n){return lr(e,Qo(t,n))}function eo(e,t){return typeof e=="function"?e(t):e}function to(e){return e.split("-")[0]}function yc(e){return e.split("-")[1]}function xk(e){return e==="x"?"y":"x"}function bk(e){return e==="y"?"height":"width"}const gxe=new Set(["top","bottom"]);function di(e){return gxe.has(to(e))?"y":"x"}function wk(e){return xk(di(e))}function yxe(e,t,n){n===void 0&&(n=!1);const r=yc(e),i=wk(e),o=bk(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=hm(a)),[a,hm(a)]}function vxe(e){const t=hm(e);return[vj(e),t,vj(t)]}function vj(e){return e.replace(/start|end/g,t=>mxe[t])}const IM=["left","right"],DM=["right","left"],xxe=["top","bottom"],bxe=["bottom","top"];function wxe(e,t,n){switch(e){case"top":case"bottom":return n?t?DM:IM:t?IM:DM;case"left":case"right":return t?xxe:bxe;default:return[]}}function Sxe(e,t,n,r){const i=yc(e);let o=wxe(to(e),n==="start",r);return i&&(o=o.map(a=>a+"-"+i),t&&(o=o.concat(o.map(vj)))),o}function hm(e){return e.replace(/left|right|bottom|top/g,t=>pxe[t])}function jxe(e){return{top:0,right:0,bottom:0,left:0,...e}}function RB(e){return typeof e!="number"?jxe(e):{top:e,right:e,bottom:e,left:e}}function pm(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function MM(e,t,n){let{reference:r,floating:i}=e;const o=di(t),a=wk(t),s=bk(a),c=to(t),f=o==="y",h=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,g=r[s]/2-i[s]/2;let y;switch(c){case"top":y={x:h,y:r.y-i.height};break;case"bottom":y={x:h,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:p};break;case"left":y={x:r.x-i.width,y:p};break;default:y={x:r.x,y:r.y}}switch(yc(t)){case"start":y[a]-=g*(n&&f?-1:1);break;case"end":y[a]+=g*(n&&f?-1:1);break}return y}async function _xe(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:c}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:g=!1,padding:y=0}=eo(t,e),S=RB(y),v=s[g?p==="floating"?"reference":"floating":p],w=pm(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:f,rootBoundary:h,strategy:c})),j=p==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,_=await(o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)),E=await(o.isElement==null?void 0:o.isElement(_))?await(o.getScale==null?void 0:o.getScale(_))||{x:1,y:1}:{x:1,y:1},N=pm(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:j,offsetParent:_,strategy:c}):j);return{top:(w.top-N.top+S.top)/E.y,bottom:(N.bottom-w.bottom+S.bottom)/E.y,left:(w.left-N.left+S.left)/E.x,right:(N.right-w.right+S.right)/E.x}}const kxe=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let f=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:p}=MM(f,r,c),g=r,y={},S=0;for(let v=0;v<s.length;v++){var b;const{name:w,fn:j}=s[v],{x:_,y:E,data:N,reset:P}=await j({x:h,y:p,initialPlacement:r,placement:g,strategy:i,middlewareData:y,rects:f,platform:{...a,detectOverflow:(b=a.detectOverflow)!=null?b:_xe},elements:{reference:e,floating:t}});h=_??h,p=E??p,y={...y,[w]:{...y[w],...N}},P&&S<=50&&(S++,typeof P=="object"&&(P.placement&&(g=P.placement),P.rects&&(f=P.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):P.rects),{x:h,y:p}=MM(f,g,c)),v=-1)}return{x:h,y:p,placement:g,strategy:i,middlewareData:y}},Exe=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:a,elements:s,middlewareData:c}=t,{element:f,padding:h=0}=eo(e,t)||{};if(f==null)return{};const p=RB(h),g={x:n,y:r},y=wk(i),S=bk(y),b=await a.getDimensions(f),v=y==="y",w=v?"top":"left",j=v?"bottom":"right",_=v?"clientHeight":"clientWidth",E=o.reference[S]+o.reference[y]-g[y]-o.floating[S],N=g[y]-o.reference[y],P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(f));let C=P?P[_]:0;(!C||!await(a.isElement==null?void 0:a.isElement(P)))&&(C=s.floating[_]||o.floating[S]);const T=E/2-N/2,L=C/2-b[S]/2-1,D=Qo(p[w],L),M=Qo(p[j],L),$=D,H=C-b[S]-M,U=C/2-b[S]/2+T,z=yj($,U,H),W=!c.arrow&&yc(i)!=null&&U!==z&&o.reference[S]/2-(U<$?D:M)-b[S]/2<0,Z=W?U<$?U-$:U-H:0;return{[y]:g[y]+Z,data:{[y]:z,centerOffset:U-z-Z,...W&&{alignmentOffset:Z}},reset:W}}}),Nxe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:c,elements:f}=t,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:g,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:b=!0,...v}=eo(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const w=to(i),j=di(s),_=to(s)===s,E=await(c.isRTL==null?void 0:c.isRTL(f.floating)),N=g||(_||!b?[hm(s)]:vxe(s)),P=S!=="none";!g&&P&&N.push(...Sxe(s,b,S,E));const C=[s,...N],T=await c.detectOverflow(t,v),L=[];let D=((r=o.flip)==null?void 0:r.overflows)||[];if(h&&L.push(T[w]),p){const U=yxe(i,a,E);L.push(T[U[0]],T[U[1]])}if(D=[...D,{placement:i,overflows:L}],!L.every(U=>U<=0)){var M,$;const U=(((M=o.flip)==null?void 0:M.index)||0)+1,z=C[U];if(z&&(!(p==="alignment"?j!==di(z):!1)||D.every(V=>di(V.placement)===j?V.overflows[0]>0:!0)))return{data:{index:U,overflows:D},reset:{placement:z}};let W=($=D.filter(Z=>Z.overflows[0]<=0).sort((Z,V)=>Z.overflows[1]-V.overflows[1])[0])==null?void 0:$.placement;if(!W)switch(y){case"bestFit":{var H;const Z=(H=D.filter(V=>{if(P){const ee=di(V.placement);return ee===j||ee==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(ee=>ee>0).reduce((ee,R)=>ee+R,0)]).sort((V,ee)=>V[1]-ee[1])[0])==null?void 0:H[0];Z&&(W=Z);break}case"initialPlacement":W=s;break}if(i!==W)return{reset:{placement:W}}}return{}}}};function LM(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function $M(e){return hxe.some(t=>e[t]>=0)}const Pxe=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=eo(e,t);switch(i){case"referenceHidden":{const a=await r.detectOverflow(t,{...o,elementContext:"reference"}),s=LM(a,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:$M(s)}}}case"escaped":{const a=await r.detectOverflow(t,{...o,altBoundary:!0}),s=LM(a,n.floating);return{data:{escapedOffsets:s,escaped:$M(s)}}}default:return{}}}}},IB=new Set(["left","top"]);async function Axe(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),a=to(n),s=yc(n),c=di(n)==="y",f=IB.has(a)?-1:1,h=o&&c?-1:1,p=eo(t,e);let{mainAxis:g,crossAxis:y,alignmentAxis:S}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&typeof S=="number"&&(y=s==="end"?S*-1:S),c?{x:y*h,y:g*f}:{x:g*f,y:y*h}}const Oxe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,c=await Axe(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:a}}}}},Cxe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:j,y:_}=w;return{x:j,y:_}}},...f}=eo(e,t),h={x:n,y:r},p=await o.detectOverflow(t,f),g=di(to(i)),y=xk(g);let S=h[y],b=h[g];if(a){const w=y==="y"?"top":"left",j=y==="y"?"bottom":"right",_=S+p[w],E=S-p[j];S=yj(_,S,E)}if(s){const w=g==="y"?"top":"left",j=g==="y"?"bottom":"right",_=b+p[w],E=b-p[j];b=yj(_,b,E)}const v=c.fn({...t,[y]:S,[g]:b});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[y]:a,[g]:s}}}}}},Txe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:f=!0}=eo(e,t),h={x:n,y:r},p=di(i),g=xk(p);let y=h[g],S=h[p];const b=eo(s,t),v=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(c){const _=g==="y"?"height":"width",E=o.reference[g]-o.floating[_]+v.mainAxis,N=o.reference[g]+o.reference[_]-v.mainAxis;y<E?y=E:y>N&&(y=N)}if(f){var w,j;const _=g==="y"?"width":"height",E=IB.has(to(i)),N=o.reference[p]-o.floating[_]+(E&&((w=a.offset)==null?void 0:w[p])||0)+(E?0:v.crossAxis),P=o.reference[p]+o.reference[_]+(E?0:((j=a.offset)==null?void 0:j[p])||0)-(E?v.crossAxis:0);S<N?S=N:S>P&&(S=P)}return{[g]:y,[p]:S}}}},Rxe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:a,elements:s}=t,{apply:c=()=>{},...f}=eo(e,t),h=await a.detectOverflow(t,f),p=to(i),g=yc(i),y=di(i)==="y",{width:S,height:b}=o.floating;let v,w;p==="top"||p==="bottom"?(v=p,w=g===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(w=p,v=g==="end"?"top":"bottom");const j=b-h.top-h.bottom,_=S-h.left-h.right,E=Qo(b-h[v],j),N=Qo(S-h[w],_),P=!t.middlewareData.shift;let C=E,T=N;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=_),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=j),P&&!g){const D=lr(h.left,0),M=lr(h.right,0),$=lr(h.top,0),H=lr(h.bottom,0);y?T=S-2*(D!==0||M!==0?D+M:lr(h.left,h.right)):C=b-2*($!==0||H!==0?$+H:lr(h.top,h.bottom))}await c({...t,availableWidth:T,availableHeight:C});const L=await a.getDimensions(s.floating);return S!==L.width||b!==L.height?{reset:{rects:!0}}:{}}}};function mg(){return typeof window<"u"}function vc(e){return DB(e)?(e.nodeName||"").toLowerCase():"#document"}function dr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _i(e){var t;return(t=(DB(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function DB(e){return mg()?e instanceof Node||e instanceof dr(e).Node:!1}function Xr(e){return mg()?e instanceof Element||e instanceof dr(e).Element:!1}function xi(e){return mg()?e instanceof HTMLElement||e instanceof dr(e).HTMLElement:!1}function FM(e){return!mg()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof dr(e).ShadowRoot}const Ixe=new Set(["inline","contents"]);function td(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Yr(e);
vendor: 23,218 bytes, line 370
370return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ixe.has(i)}const Dxe=new Set(["table","td","th"]);function Mxe(e){return Dxe.has(vc(e))}const Lxe=[":popover-open",":modal"];function gg(e){return Lxe.some(t=>{try{return e.matches(t)}catch{return!1}})}const $xe=["transform","translate","scale","rotate","perspective"],Fxe=["transform","translate","scale","rotate","perspective","filter"],Bxe=["paint","layout","strict","content"];function Sk(e){const t=jk(),n=Xr(e)?Yr(e):e;return $xe.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Fxe.some(r=>(n.willChange||"").includes(r))||Bxe.some(r=>(n.contain||"").includes(r))}function zxe(e){let t=Zo(e);for(;xi(t)&&!nc(t);){if(Sk(t))return t;if(gg(t))return null;t=Zo(t)}return null}function jk(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Uxe=new Set(["html","body","#document"]);function nc(e){return Uxe.has(vc(e))}function Yr(e){return dr(e).getComputedStyle(e)}function yg(e){return Xr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Zo(e){if(vc(e)==="html")return e;const t=e.assignedSlot||e.parentNode||FM(e)&&e.host||_i(e);return FM(t)?t.host:t}function MB(e){const t=Zo(e);return nc(t)?e.ownerDocument?e.ownerDocument.body:e.body:xi(t)&&td(t)?t:MB(t)}function Af(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=MB(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=dr(i);if(o){const s=xj(a);return t.concat(a,a.visualViewport||[],td(i)?i:[],s&&n?Af(s):[])}return t.concat(i,Af(i,[],n))}function xj(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function LB(e){const t=Yr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=xi(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=dm(n)!==o||dm(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function _k(e){return Xr(e)?e:e.contextElement}function ml(e){const t=_k(e);if(!xi(t))return gi(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=LB(t);let a=(o?dm(n.width):n.width)/r,s=(o?dm(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const qxe=gi(0);function $B(e){const t=dr(e);return!jk()||!t.visualViewport?qxe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Hxe(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==dr(e)?!1:t}function hs(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=_k(e);let a=gi(1);t&&(r?Xr(r)&&(a=ml(r)):a=ml(e));const s=Hxe(o,n,r)?$B(o):gi(0);let c=(i.left+s.x)/a.x,f=(i.top+s.y)/a.y,h=i.width/a.x,p=i.height/a.y;if(o){const g=dr(o),y=r&&Xr(r)?dr(r):r;let S=g,b=xj(S);for(;b&&r&&y!==S;){const v=ml(b),w=b.getBoundingClientRect(),j=Yr(b),_=w.left+(b.clientLeft+parseFloat(j.paddingLeft))*v.x,E=w.top+(b.clientTop+parseFloat(j.paddingTop))*v.y;c*=v.x,f*=v.y,h*=v.x,p*=v.y,c+=_,f+=E,S=dr(b),b=xj(S)}}return pm({width:h,height:p,x:c,y:f})}function vg(e,t){const n=yg(e).scrollLeft;return t?t.left+n:hs(_i(e)).left+n}function FB(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-vg(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function Wxe(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=_i(r),s=t?gg(t.floating):!1;if(r===a||s&&o)return n;let c={scrollLeft:0,scrollTop:0},f=gi(1);const h=gi(0),p=xi(r);if((p||!p&&!o)&&((vc(r)!=="body"||td(a))&&(c=yg(r)),xi(r))){const y=hs(r);f=ml(r),h.x=y.x+r.clientLeft,h.y=y.y+r.clientTop}const g=a&&!p&&!o?FB(a,c):gi(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+h.x+g.x,y:n.y*f.y-c.scrollTop*f.y+h.y+g.y}}function Vxe(e){return Array.from(e.getClientRects())}function Gxe(e){const t=_i(e),n=yg(e),r=e.ownerDocument.body,i=lr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=lr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+vg(e);const s=-n.scrollTop;return Yr(r).direction==="rtl"&&(a+=lr(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}const BM=25;function Kxe(e,t){const n=dr(e),r=_i(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;const h=jk();(!h||h&&t==="fixed")&&(s=i.offsetLeft,c=i.offsetTop)}const f=vg(r);if(f<=0){const h=r.ownerDocument,p=h.body,g=getComputedStyle(p),y=h.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,S=Math.abs(r.clientWidth-p.clientWidth-y);S<=BM&&(o-=S)}else f<=BM&&(o+=f);return{width:o,height:a,x:s,y:c}}const Xxe=new Set(["absolute","fixed"]);function Yxe(e,t){const n=hs(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=xi(e)?ml(e):gi(1),a=e.clientWidth*o.x,s=e.clientHeight*o.y,c=i*o.x,f=r*o.y;return{width:a,height:s,x:c,y:f}}function zM(e,t,n){let r;if(t==="viewport")r=Kxe(e,n);else if(t==="document")r=Gxe(_i(e));else if(Xr(t))r=Yxe(t,n);else{const i=$B(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return pm(r)}function BB(e,t){const n=Zo(e);return n===t||!Xr(n)||nc(n)?!1:Yr(n).position==="fixed"||BB(n,t)}function Jxe(e,t){const n=t.get(e);if(n)return n;let r=Af(e,[],!1).filter(s=>Xr(s)&&vc(s)!=="body"),i=null;const o=Yr(e).position==="fixed";let a=o?Zo(e):e;for(;Xr(a)&&!nc(a);){const s=Yr(a),c=Sk(a);!c&&s.position==="fixed"&&(i=null),(o?!c&&!i:!c&&s.position==="static"&&!!i&&Xxe.has(i.position)||td(a)&&!c&&BB(e,a))?r=r.filter(h=>h!==a):i=s,a=Zo(a)}return t.set(e,r),r}function Qxe(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?gg(t)?[]:Jxe(t,this._c):[].concat(n),r],s=a[0],c=a.reduce((f,h)=>{const p=zM(t,h,i);return f.top=lr(p.top,f.top),f.right=Qo(p.right,f.right),f.bottom=Qo(p.bottom,f.bottom),f.left=lr(p.left,f.left),f},zM(t,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Zxe(e){const{width:t,height:n}=LB(e);return{width:t,height:n}}function ebe(e,t,n){const r=xi(t),i=_i(t),o=n==="fixed",a=hs(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const c=gi(0);function f(){c.x=vg(i)}if(r||!r&&!o)if((vc(t)!=="body"||td(i))&&(s=yg(t)),r){const y=hs(t,!0,o,t);c.x=y.x+t.clientLeft,c.y=y.y+t.clientTop}else i&&f();o&&!r&&i&&f();const h=i&&!r&&!o?FB(i,s):gi(0),p=a.left+s.scrollLeft-c.x-h.x,g=a.top+s.scrollTop-c.y-h.y;return{x:p,y:g,width:a.width,height:a.height}}function t1(e){return Yr(e).position==="static"}function UM(e,t){if(!xi(e)||Yr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return _i(e)===n&&(n=n.ownerDocument.body),n}function zB(e,t){const n=dr(e);if(gg(e))return n;if(!xi(e)){let i=Zo(e);for(;i&&!nc(i);){if(Xr(i)&&!t1(i))return i;i=Zo(i)}return n}let r=UM(e,t);for(;r&&Mxe(r)&&t1(r);)r=UM(r,t);return r&&nc(r)&&t1(r)&&!Sk(r)?n:r||zxe(e)||n}const tbe=async function(e){const t=this.getOffsetParent||zB,n=this.getDimensions,r=await n(e.floating);return{reference:ebe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function nbe(e){return Yr(e).direction==="rtl"}const rbe={convertOffsetParentRelativeRectToViewportRelativeRect:Wxe,getDocumentElement:_i,getClippingRect:Qxe,getOffsetParent:zB,getElementRects:tbe,getClientRects:Vxe,getDimensions:Zxe,getScale:ml,isElement:Xr,isRTL:nbe};function UB(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ibe(e,t){let n=null,r;const i=_i(e);function o(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),o();const f=e.getBoundingClientRect(),{left:h,top:p,width:g,height:y}=f;if(s||t(),!g||!y)return;const S=Lh(p),b=Lh(i.clientWidth-(h+g)),v=Lh(i.clientHeight-(p+y)),w=Lh(h),_={rootMargin:-S+"px "+-b+"px "+-v+"px "+-w+"px",threshold:lr(0,Qo(1,c))||1};let E=!0;function N(P){const C=P[0].intersectionRatio;if(C!==c){if(!E)return a();C?a(!1,C):r=setTimeout(()=>{a(!1,1e-7)},1e3)}C===1&&!UB(f,e.getBoundingClientRect())&&a(),E=!1}try{n=new IntersectionObserver(N,{..._,root:i.ownerDocument})}catch{n=new IntersectionObserver(N,_)}n.observe(e)}return a(!0),o}function obe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,f=_k(e),h=i||o?[...f?Af(f):[],...Af(t)]:[];h.forEach(w=>{i&&w.addEventListener("scroll",n,{passive:!0}),o&&w.addEventListener("resize",n)});const p=f&&s?ibe(f,n):null;let g=-1,y=null;a&&(y=new ResizeObserver(w=>{let[j]=w;j&&j.target===f&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var _;(_=y)==null||_.observe(t)})),n()}),f&&!c&&y.observe(f),y.observe(t));let S,b=c?hs(e):null;c&&v();function v(){const w=hs(e);b&&!UB(b,w)&&n(),b=w,S=requestAnimationFrame(v)}return n(),()=>{var w;h.forEach(j=>{i&&j.removeEventListener("scroll",n),o&&j.removeEventListener("resize",n)}),p==null||p(),(w=y)==null||w.disconnect(),y=null,c&&cancelAnimationFrame(S)}}const abe=Oxe,sbe=Cxe,lbe=Nxe,cbe=Rxe,ube=Pxe,qM=Exe,fbe=Txe,dbe=(e,t,n)=>{const r=new Map,i={platform:rbe,...n},o={...i.platform,_c:r};return kxe(e,t,{...i,platform:o})};var hbe=typeof document<"u",pbe=function(){},Zh=hbe?O.useLayoutEffect:pbe;function mm(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,i;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(!mm(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!mm(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function qB(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function HM(e,t){const n=qB(e);return Math.round(t*n)/n}function n1(e){const t=O.useRef(e);return Zh(()=>{t.current=e}),t}function mbe(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:c,open:f}=e,[h,p]=O.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,y]=O.useState(r);mm(g,r)||y(r);const[S,b]=O.useState(null),[v,w]=O.useState(null),j=O.useCallback(V=>{V!==P.current&&(P.current=V,b(V))},[]),_=O.useCallback(V=>{V!==C.current&&(C.current=V,w(V))},[]),E=o||S,N=a||v,P=O.useRef(null),C=O.useRef(null),T=O.useRef(h),L=c!=null,D=n1(c),M=n1(i),$=n1(f),H=O.useCallback(()=>{if(!P.current||!C.current)return;const V={placement:t,strategy:n,middleware:g};M.current&&(V.platform=M.current),dbe(P.current,C.current,V).then(ee=>{const R={...ee,isPositioned:$.current!==!1};U.current&&!mm(T.current,R)&&(T.current=R,Lf.flushSync(()=>{p(R)}))})},[g,t,n,M,$]);Zh(()=>{f===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,p(V=>({...V,isPositioned:!1})))},[f]);const U=O.useRef(!1);Zh(()=>(U.current=!0,()=>{U.current=!1}),[]),Zh(()=>{if(E&&(P.current=E),N&&(C.current=N),E&&N){if(D.current)return D.current(E,N,H);H()}},[E,N,H,D,L]);const z=O.useMemo(()=>({reference:P,floating:C,setReference:j,setFloating:_}),[j,_]),W=O.useMemo(()=>({reference:E,floating:N}),[E,N]),Z=O.useMemo(()=>{const V={position:n,left:0,top:0};if(!W.floating)return V;const ee=HM(W.floating,h.x),R=HM(W.floating,h.y);return s?{...V,transform:"translate("+ee+"px, "+R+"px)",...qB(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ee,top:R}},[n,s,W.floating,h.x,h.y]);return O.useMemo(()=>({...h,update:H,refs:z,elements:W,floatingStyles:Z}),[h,H,z,W,Z])}const gbe=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?qM({element:r.current,padding:i}).fn(n):{}:r?qM({element:r,padding:i}).fn(n):{}}}},ybe=(e,t)=>({...abe(e),options:[e,t]}),vbe=(e,t)=>({...sbe(e),options:[e,t]}),xbe=(e,t)=>({...fbe(e),options:[e,t]}),bbe=(e,t)=>({...lbe(e),options:[e,t]}),wbe=(e,t)=>({...cbe(e),options:[e,t]}),Sbe=(e,t)=>({...ube(e),options:[e,t]}),jbe=(e,t)=>({...gbe(e),options:[e,t]});var _be="Arrow",HB=O.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return d.jsx(zt.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});HB.displayName=_be;var kbe=HB;function Ebe(e){const[t,n]=O.useState(void 0);return Jn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const c=o.borderBoxSize,f=Array.isArray(c)?c[0]:c;a=f.inlineSize,s=f.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var kk="Popper",[WB,VB]=yk(kk),[Nbe,GB]=WB(kk),KB=e=>{const{__scopePopper:t,children:n}=e,[r,i]=O.useState(null);return d.jsx(Nbe,{scope:t,anchor:r,onAnchorChange:i,children:n})};KB.displayName=kk;var XB="PopperAnchor",YB=O.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=GB(XB,n),a=O.useRef(null),s=bn(t,a),c=O.useRef(null);return O.useEffect(()=>{const f=c.current;c.current=(r==null?void 0:r.current)||a.current,f!==c.current&&o.onAnchorChange(c.current)}),r?null:d.jsx(zt.div,{...i,ref:s})});YB.displayName=XB;var Ek="PopperContent",[Pbe,Abe]=WB(Ek),JB=O.forwardRef((e,t)=>{var ce,ve,oe,pe,xe,ie;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:f=[],collisionPadding:h=0,sticky:p="partial",hideWhenDetached:g=!1,updatePositionStrategy:y="optimized",onPlaced:S,...b}=e,v=GB(Ek,n),[w,j]=O.useState(null),_=bn(t,$e=>j($e)),[E,N]=O.useState(null),P=Ebe(E),C=(P==null?void 0:P.width)??0,T=(P==null?void 0:P.height)??0,L=r+(o!=="center"?"-"+o:""),D=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},M=Array.isArray(f)?f:[f],$=M.length>0,H={padding:D,boundary:M.filter(Cbe),altBoundary:$},{refs:U,floatingStyles:z,placement:W,isPositioned:Z,middlewareData:V}=mbe({strategy:"fixed",placement:L,whileElementsMounted:(...$e)=>obe(...$e,{animationFrame:y==="always"}),elements:{reference:v.anchor},middleware:[ybe({mainAxis:i+T,alignmentAxis:a}),c&&vbe({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?xbe():void 0,...H}),c&&bbe({...H}),wbe({...H,apply:({elements:$e,rects:Re,availableWidth:We,availableHeight:je})=>{const{width:Ve,height:Pt}=Re.reference,vt=$e.floating.style;vt.setProperty("--radix-popper-available-width",`${We}px`),vt.setProperty("--radix-popper-available-height",`${je}px`),vt.setProperty("--radix-popper-anchor-width",`${Ve}px`),vt.setProperty("--radix-popper-anchor-height",`${Pt}px`)}}),E&&jbe({element:E,padding:s}),Tbe({arrowWidth:C,arrowHeight:T}),g&&Sbe({strategy:"referenceHidden",...H})]}),[ee,R]=ez(W),B=ds(S);Jn(()=>{Z&&(B==null||B())},[Z,B]);const X=(ce=V.arrow)==null?void 0:ce.x,F=(ve=V.arrow)==null?void 0:ve.y,he=((oe=V.arrow)==null?void 0:oe.centerOffset)!==0,[ye,le]=O.useState();return Jn(()=>{w&&le(window.getComputedStyle(w).zIndex)},[w]),d.jsx("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:Z?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ye,"--radix-popper-transform-origin":[(pe=V.transformOrigin)==null?void 0:pe.x,(xe=V.transformOrigin)==null?void 0:xe.y].join(" "),...((ie=V.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:d.jsx(Pbe,{scope:n,placedSide:ee,onArrowChange:N,arrowX:X,arrowY:F,shouldHideArrow:he,children:d.jsx(zt.div,{"data-side":ee,"data-align":R,...b,ref:_,style:{...b.style,animation:Z?void 0:"none"}})})})});JB.displayName=Ek;var QB="PopperArrow",Obe={top:"bottom",right:"left",bottom:"top",left:"right"},ZB=O.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=Abe(QB,r),a=Obe[o.placedSide];return d.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:d.jsx(kbe,{...i,ref:n,style:{...i.style,display:"block"}})})});ZB.displayName=QB;function Cbe(e){return e!==null}var Tbe=e=>({name:"transformOrigin",options:e,fn(t){var v,w,j;const{placement:n,rects:r,middlewareData:i}=t,a=((v=i.arrow)==null?void 0:v.centerOffset)!==0,s=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[f,h]=ez(n),p={start:"0%",center:"50%",end:"100%"}[h],g=(((w=i.arrow)==null?void 0:w.x)??0)+s/2,y=(((j=i.arrow)==null?void 0:j.y)??0)+c/2;let S="",b="";return f==="bottom"?(S=a?p:`${g}px`,b=`${-c}px`):f==="top"?(S=a?p:`${g}px`,b=`${r.floating.height+c}px`):f==="right"?(S=`${-c}px`,b=a?p:`${y}px`):f==="left"&&(S=`${r.floating.width+c}px`,b=a?p:`${y}px`),{data:{x:S,y:b}}}});function ez(e){const[t,n="center"]=e.split("-");return[t,n]}var Rbe=KB,Ibe=YB,Dbe=JB,Mbe=ZB,Lbe="Portal",tz=O.forwardRef((e,t)=>{var s;const{container:n,...r}=e,[i,o]=O.useState(!1);Jn(()=>o(!0),[]);const a=n||i&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?NH.createPortal(d.jsx(zt.div,{...r,ref:t}),a):null});tz.displayName=Lbe;function $be(e){const t=Fbe(e),n=O.forwardRef((r,i)=>{const{children:o,...a}=r,s=O.Children.toArray(o),c=s.find(zbe);if(c){const f=c.props.children,h=s.map(p=>p===c?O.Children.count(f)>1?O.Children.only(null):O.isValidElement(f)?f.props.children:null:p);return d.jsx(t,{...a,ref:i,children:O.isValidElement(f)?O.cloneElement(f,void 0,h):null})}return d.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function Fbe(e){const t=O.forwardRef((n,r)=>{const{children:i,...o}=n;if(O.isValidElement(i)){const a=qbe(i),s=Ube(o,i.props);return i.type!==O.Fragment&&(s.ref=r?Vf(r,a):a),O.cloneElement(i,s)}return O.Children.count(i)>1?O.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Bbe=Symbol("radix.slottable");function zbe(e){return O.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Bbe}function Ube(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const c=o(...s);return i(...s),c}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function qbe(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Hbe=ym[" useInsertionEffect ".trim().toString()]||Jn;function WM({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,a]=Wbe({defaultProp:t,onChange:n}),s=e!==void 0,c=s?e:i;{const h=O.useRef(e!==void 0);O.useEffect(()=>{const p=h.current;p!==s&&console.warn(`${r} is changing from ${p?"controlled":"uncontrolled"} to ${s?"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.`),h.current=s},[s,r])}const f=O.useCallback(h=>{var p;if(s){const g=Vbe(h)?h(e):h;g!==e&&((p=a.current)==null||p.call(a,g))}else o(h)},[s,e,o,a]);return[c,f]}function Wbe({defaultProp:e,onChange:t}){const[n,r]=O.useState(e),i=O.useRef(n),o=O.useRef(t);return Hbe(()=>{o.current=t},[t]),O.useEffect(()=>{var a;i.current!==n&&((a=o.current)==null||a.call(o,n),i.current=n)},[n,i]),[n,r,o]}function Vbe(e){return typeof e=="function"}function Gbe(e){const t=O.useRef({value:e,previous:e});return O.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var nz=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"}),Kbe="VisuallyHidden",Xbe=O.forwardRef((e,t)=>d.jsx(zt.span,{...e,ref:t,style:{...nz,...e.style}}));Xbe.displayName=Kbe;var Ybe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Zs=new WeakMap,$h=new WeakMap,Fh={},r1=0,rz=function(e){return e&&(e.host||rz(e.parentNode))},Jbe=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=rz(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})},Qbe=function(e,t,n,r){var i=Jbe(t,Array.isArray(e)?e:[e]);Fh[n]||(Fh[n]=new WeakMap);var o=Fh[n],a=[],s=new Set,c=new Set(i),f=function(p){!p||s.has(p)||(s.add(p),f(p.parentNode))};i.forEach(f);var h=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(g){if(s.has(g))h(g);else try{var y=g.getAttribute(r),S=y!==null&&y!=="false",b=(Zs.get(g)||0)+1,v=(o.get(g)||0)+1;Zs.set(g,b),o.set(g,v),a.push(g),b===1&&S&&$h.set(g,!0),v===1&&g.setAttribute(n,"true"),S||g.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",g,w)}})};return h(t),s.clear(),r1++,function(){a.forEach(function(p){var g=Zs.get(p)-1,y=o.get(p)-1;Zs.set(p,g),o.set(p,y),g||($h.has(p)||p.removeAttribute(r),$h.delete(p)),y||p.removeAttribute(n)}),r1--,r1||(Zs=new WeakMap,Zs=new WeakMap,$h=new WeakMap,Fh={})}},Zbe=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=Ybe(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),Qbe(r,i,n,"aria-hidden")):function(){return null}},ui=function(){return ui=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ui.apply(this,arguments)};function iz(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 i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function e0e(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var ep="right-scroll-bar-position",tp="width-before-scroll-bar",t0e="with-scroll-bars-hidden",n0e="--removed-body-scroll-bar-size";function i1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function r0e(e,t){var n=O.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var i0e=typeof window<"u"?O.useLayoutEffect:O.useEffect,VM=new WeakMap;function o0e(e,t){var n=r0e(null,function(r){return e.forEach(function(i){return i1(i,r)})});return i0e(function(){var r=VM.get(n);if(r){var i=new Set(r),o=new Set(e),a=n.current;
vendor: 4,224 bytes, lines 370-385
370i.forEach(function(s){o.has(s)||i1(s,null)}),o.forEach(function(s){i.has(s)||i1(s,a)})}VM.set(n,e)},[e]),n}function a0e(e){return e}function s0e(e,t){t===void 0&&(t=a0e);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(s){return o(s)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var c=function(){var h=a;a=[],h.forEach(o)},f=function(){return Promise.resolve().then(c)};f(),n={push:function(h){a.push(h),f()},filter:function(h){return a=a.filter(h),n}}}};return i}function l0e(e){e===void 0&&(e={});var t=s0e(null);return t.options=ui({async:!0,ssr:!1},e),t}var oz=function(e){var t=e.sideCar,n=iz(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 O.createElement(r,ui({},n))};oz.isSideCarExport=!0;function c0e(e,t){return e.useMedium(t),oz}var az=l0e(),o1=function(){},xg=O.forwardRef(function(e,t){var n=O.useRef(null),r=O.useState({onScrollCapture:o1,onWheelCapture:o1,onTouchMoveCapture:o1}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,c=e.className,f=e.removeScrollBar,h=e.enabled,p=e.shards,g=e.sideCar,y=e.noRelative,S=e.noIsolation,b=e.inert,v=e.allowPinchZoom,w=e.as,j=w===void 0?"div":w,_=e.gapMode,E=iz(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=g,P=o0e([n,t]),C=ui(ui({},E),i);return O.createElement(O.Fragment,null,h&&O.createElement(N,{sideCar:az,removeScrollBar:f,shards:p,noRelative:y,noIsolation:S,inert:b,setCallbacks:o,allowPinchZoom:!!v,lockRef:n,gapMode:_}),a?O.cloneElement(O.Children.only(s),ui(ui({},C),{ref:P})):O.createElement(j,ui({},C,{className:c,ref:P}),s))});xg.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};xg.classNames={fullWidth:tp,zeroRight:ep};var u0e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function f0e(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u0e();return t&&e.setAttribute("nonce",t),e}function d0e(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function h0e(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var p0e=function(){var e=0,t=null;return{add:function(n){e==0&&(t=f0e())&&(d0e(t,n),h0e(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},m0e=function(){var e=p0e();return function(t,n){O.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},sz=function(){var e=m0e(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},g0e={left:0,top:0,right:0,gap:0},a1=function(e){return parseInt(e||"",10)||0},y0e=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[a1(n),a1(r),a1(i)]},v0e=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return g0e;var t=y0e(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])}},x0e=sz(),gl="data-scroll-locked",b0e=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),` 371 .`.concat(t0e,` { 372 overflow: hidden `).concat(r,`; 373 padding-right: `).concat(s,"px ").concat(r,`; 374 } 375 body[`).concat(gl,`] { 376 overflow: hidden `).concat(r,`; 377 overscroll-behavior: contain; 378 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 379 padding-left: `.concat(i,`px; 380 padding-top: `).concat(o,`px; 381 padding-right: `).concat(a,`px; 382 margin-left:0; 383 margin-top:0; 384 margin-right: `).concat(s,"px ").concat(r,`; 385 `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";
385")].filter(Boolean).join(""),` 386 } 387 388 .`).concat(ep,` { 389 right: `).concat(s,"px ").concat(r,`; 390 } 391 392 .`).concat(tp,` { 393 margin-right: `).concat(s,"px ").concat(r,`; 394 } 395 396 .`).concat(ep," .").concat(ep,` { 397 right: 0 `).concat(r,`; 398 } 399 400 .`).concat(tp," .").concat(tp,` { 401 margin-right: 0 `).concat(r,`; 402 } 403 404 body[`).concat(gl,`] { 405 `).concat(n0e,": ").concat(s,`px; 406 } 407`)},GM=function(){var e=parseInt(document.body.getAttribute(gl)||"0",10);return isFinite(e)?e:0},w0e=function(){O.useEffect(function(){return document.body.setAttribute(gl,(GM()+1).toString()),function(){var e=GM()-1;e<=0?document.body.removeAttribute(gl):document.body.setAttribute(gl,e.toString())}},[])},S0e=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;w0e();var o=O.useMemo(function(){return v0e(i)},[i]);return O.createElement(x0e,{styles:b0e(o,!t,i,n?"":"!important")})},bj=!1;if(typeof window<"u")try{var Bh=Object.defineProperty({},"passive",{get:function(){return bj=!0,!0}});window.addEventListener("test",Bh,Bh),window.removeEventListener("test",Bh,Bh)}catch{bj=!1}var el=bj?{passive:!1}:!1,j0e=function(e){return e.tagName==="TEXTAREA"},lz=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!j0e(e)&&n[t]==="visible")},_0e=function(e){return lz(e,"overflowY")},k0e=function(e){return lz(e,"overflowX")},KM=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=cz(e,r);if(i){var o=uz(e,r),a=o[1],s=o[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},E0e=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},N0e=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},cz=function(e,t){return e==="v"?_0e(t):k0e(t)},uz=function(e,t){return e==="v"?E0e(t):N0e(t)},P0e=function(e,t){return e==="h"&&t==="rtl"?-1:1},A0e=function(e,t,n,r,i){var o=P0e(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,c=t.contains(s),f=!1,h=a>0,p=0,g=0;do{if(!s)break;var y=uz(e,s),S=y[0],b=y[1],v=y[2],w=b-v-o*S;(S||w)&&cz(e,s)&&(p+=w,g+=S);var j=s.parentNode;s=j&&j.nodeType===Node.DOCUMENT_FRAGMENT_NODE?j.host:j}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(h&&Math.abs(p)<1||!h&&Math.abs(g)<1)&&(f=!0),f},zh=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},XM=function(e){return[e.deltaX,e.deltaY]},YM=function(e){return e&&"current"in e?e.current:e},O0e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},C0e=function(e){return` 408 .block-interactivity-`.concat(e,` {pointer-events: none;} 409 .allow-interactivity-`).concat(e,` {pointer-events: all;} 410`)},T0e=0,tl=[];function R0e(e){var t=O.useRef([]),n=O.useRef([0,0]),r=O.useRef(),i=O.useState(T0e++)[0],o=O.useState(sz)[0],a=O.useRef(e);O.useEffect(function(){a.current=e},[e]),O.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var b=e0e([e.lockRef.current],(e.shards||[]).map(YM),!0).filter(Boolean);return b.forEach(function(v){return v.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),b.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=O.useCallback(function(b,v){if("touches"in b&&b.touches.length===2||b.type==="wheel"&&b.ctrlKey)return!a.current.allowPinchZoom;var w=zh(b),j=n.current,_="deltaX"in b?b.deltaX:j[0]-w[0],E="deltaY"in b?b.deltaY:j[1]-w[1],N,P=b.target,C=Math.abs(_)>Math.abs(E)?"h":"v";if("touches"in b&&C==="h"&&P.type==="range")return!1;var T=window.getSelection(),L=T&&T.anchorNode,D=L?L===P||L.contains(P):!1;if(D)return!1;var M=KM(C,P);if(!M)return!0;if(M?N=C:(N=C==="v"?"h":"v",M=KM(C,P)),!M)return!1;if(!r.current&&"changedTouches"in b&&(_||E)&&(r.current=N),!N)return!0;var $=r.current||N;return A0e($,v,b,$==="h"?_:E)},[]),c=O.useCallback(function(b){var v=b;if(!(!tl.length||tl[tl.length-1]!==o)){var w="deltaY"in v?XM(v):zh(v),j=t.current.filter(function(N){return N.name===v.type&&(N.target===v.target||v.target===N.shadowParent)&&O0e(N.delta,w)})[0];if(j&&j.should){v.cancelable&&v.preventDefault();return}
vendor: 4,239 bytes, line 410
410if(!j){var _=(a.current.shards||[]).map(YM).filter(Boolean).filter(function(N){return N.contains(v.target)}),E=_.length>0?s(v,_[0]):!a.current.noIsolation;E&&v.cancelable&&v.preventDefault()}}},[]),f=O.useCallback(function(b,v,w,j){var _={name:b,delta:v,target:w,should:j,shadowParent:I0e(w)};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(E){return E!==_})},1)},[]),h=O.useCallback(function(b){n.current=zh(b),r.current=void 0},[]),p=O.useCallback(function(b){f(b.type,XM(b),b.target,s(b,e.lockRef.current))},[]),g=O.useCallback(function(b){f(b.type,zh(b),b.target,s(b,e.lockRef.current))},[]);O.useEffect(function(){return tl.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:g}),document.addEventListener("wheel",c,el),document.addEventListener("touchmove",c,el),document.addEventListener("touchstart",h,el),function(){tl=tl.filter(function(b){return b!==o}),document.removeEventListener("wheel",c,el),document.removeEventListener("touchmove",c,el),document.removeEventListener("touchstart",h,el)}},[]);var y=e.removeScrollBar,S=e.inert;return O.createElement(O.Fragment,null,S?O.createElement(o,{styles:C0e(i)}):null,y?O.createElement(S0e,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function I0e(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const D0e=c0e(az,R0e);var fz=O.forwardRef(function(e,t){return O.createElement(xg,ui({},e,{ref:t,sideCar:D0e}))});fz.classNames=xg.classNames;var M0e=[" ","Enter","ArrowUp","ArrowDown"],L0e=[" ","Enter"],ps="Select",[bg,wg,$0e]=$ve(ps),[xc]=yk(ps,[$0e,VB]),Sg=VB(),[F0e,la]=xc(ps),[B0e,z0e]=xc(ps),dz=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:o,value:a,defaultValue:s,onValueChange:c,dir:f,name:h,autoComplete:p,disabled:g,required:y,form:S}=e,b=Sg(t),[v,w]=O.useState(null),[j,_]=O.useState(null),[E,N]=O.useState(!1),P=Bve(f),[C,T]=WM({prop:r,defaultProp:i??!1,onChange:o,caller:ps}),[L,D]=WM({prop:a,defaultProp:s,onChange:c,caller:ps}),M=O.useRef(null),$=v?S||!!v.closest("form"):!0,[H,U]=O.useState(new Set),z=Array.from(H).map(W=>W.props.value).join(";");return d.jsx(Rbe,{...b,children:d.jsxs(F0e,{required:y,scope:t,trigger:v,onTriggerChange:w,valueNode:j,onValueNodeChange:_,valueNodeHasChildren:E,onValueNodeHasChildrenChange:N,contentId:vk(),value:L,onValueChange:D,open:C,onOpenChange:T,dir:P,triggerPointerDownPosRef:M,disabled:g,children:[d.jsx(bg.Provider,{scope:t,children:d.jsx(B0e,{scope:e.__scopeSelect,onNativeOptionAdd:O.useCallback(W=>{U(Z=>new Set(Z).add(W))},[]),onNativeOptionRemove:O.useCallback(W=>{U(Z=>{const V=new Set(Z);return V.delete(W),V})},[]),children:n})}),$?d.jsxs(Mz,{"aria-hidden":!0,required:y,tabIndex:-1,name:h,autoComplete:p,value:L,onChange:W=>D(W.target.value),disabled:g,form:S,children:[L===void 0?d.jsx("option",{value:""}):null,Array.from(H)]},z):null]})})};dz.displayName=ps;var hz="SelectTrigger",pz=O.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...i}=e,o=Sg(n),a=la(hz,n),s=a.disabled||r,c=bn(t,a.onTriggerChange),f=wg(n),h=O.useRef("touch"),[p,g,y]=$z(b=>{const v=f().filter(_=>!_.disabled),w=v.find(_=>_.value===a.value),j=Fz(v,b,w);j!==void 0&&a.onValueChange(j.value)}),S=b=>{s||(a.onOpenChange(!0),y()),b&&(a.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)})};return d.jsx(Ibe,{asChild:!0,...o,children:d.jsx(zt.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":Lz(a.value)?"":void 0,...i,ref:c,onClick:Wt(i.onClick,b=>{b.currentTarget.focus(),h.current!=="mouse"&&S(b)}),onPointerDown:Wt(i.onPointerDown,b=>{h.current=b.pointerType;const v=b.target;v.hasPointerCapture(b.pointerId)&&v.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&b.pointerType==="mouse"&&(S(b),b.preventDefault())}),onKeyDown:Wt(i.onKeyDown,b=>{const v=p.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&g(b.key),!(v&&b.key===" ")&&M0e.includes(b.key)&&(S(),b.preventDefault())})})})});pz.displayName=hz;var mz="SelectValue",gz=O.forwardRef((e,t)=>
vendor: 13,860 bytes, line 410
410{const{__scopeSelect:n,className:r,style:i,children:o,placeholder:a="",...s}=e,c=la(mz,n),{onValueNodeHasChildrenChange:f}=c,h=o!==void 0,p=bn(t,c.onValueNodeChange);return Jn(()=>{f(h)},[f,h]),d.jsx(zt.span,{...s,ref:p,style:{pointerEvents:"none"},children:Lz(c.value)?d.jsx(d.Fragment,{children:a}):o})});gz.displayName=mz;var U0e="SelectIcon",yz=O.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return d.jsx(zt.span,{"aria-hidden":!0,...i,ref:t,children:r||"â¼"})});yz.displayName=U0e;var q0e="SelectPortal",vz=e=>d.jsx(tz,{asChild:!0,...e});vz.displayName=q0e;var ms="SelectContent",xz=O.forwardRef((e,t)=>{const n=la(ms,e.__scopeSelect),[r,i]=O.useState();if(Jn(()=>{i(new DocumentFragment)},[]),!n.open){const o=r;return o?Lf.createPortal(d.jsx(bz,{scope:e.__scopeSelect,children:d.jsx(bg.Slot,{scope:e.__scopeSelect,children:d.jsx("div",{children:e.children})})}),o):null}return d.jsx(wz,{...e,ref:t})});xz.displayName=ms;var Br=10,[bz,ca]=xc(ms),H0e="SelectContentImpl",W0e=$be("SelectContent.RemoveScroll"),wz=O.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:a,side:s,sideOffset:c,align:f,alignOffset:h,arrowPadding:p,collisionBoundary:g,collisionPadding:y,sticky:S,hideWhenDetached:b,avoidCollisions:v,...w}=e,j=la(ms,n),[_,E]=O.useState(null),[N,P]=O.useState(null),C=bn(t,ce=>E(ce)),[T,L]=O.useState(null),[D,M]=O.useState(null),$=wg(n),[H,U]=O.useState(!1),z=O.useRef(!1);O.useEffect(()=>{if(_)return Zbe(_)},[_]),rxe();const W=O.useCallback(ce=>{const[ve,...oe]=$().map(ie=>ie.ref.current),[pe]=oe.slice(-1),xe=document.activeElement;for(const ie of ce)if(ie===xe||(ie==null||ie.scrollIntoView({block:"nearest"}),ie===ve&&N&&(N.scrollTop=0),ie===pe&&N&&(N.scrollTop=N.scrollHeight),ie==null||ie.focus(),document.activeElement!==xe))return},[$,N]),Z=O.useCallback(()=>W([T,_]),[W,T,_]);O.useEffect(()=>{H&&Z()},[H,Z]);const{onOpenChange:V,triggerPointerDownPosRef:ee}=j;O.useEffect(()=>{if(_){let ce={x:0,y:0};const ve=pe=>{var xe,ie;ce={x:Math.abs(Math.round(pe.pageX)-(((xe=ee.current)==null?void 0:xe.x)??0)),y:Math.abs(Math.round(pe.pageY)-(((ie=ee.current)==null?void 0:ie.y)??0))}},oe=pe=>{ce.x<=10&&ce.y<=10?pe.preventDefault():_.contains(pe.target)||V(!1),document.removeEventListener("pointermove",ve),ee.current=null};return ee.current!==null&&(document.addEventListener("pointermove",ve),document.addEventListener("pointerup",oe,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ve),document.removeEventListener("pointerup",oe,{capture:!0})}}},[_,V,ee]),O.useEffect(()=>{const ce=()=>V(!1);return window.addEventListener("blur",ce),window.addEventListener("resize",ce),()=>{window.removeEventListener("blur",ce),window.removeEventListener("resize",ce)}},[V]);const[R,B]=$z(ce=>{const ve=$().filter(xe=>!xe.disabled),oe=ve.find(xe=>xe.ref.current===document.activeElement),pe=Fz(ve,ce,oe);pe&&setTimeout(()=>pe.ref.current.focus())}),X=O.useCallback((ce,ve,oe)=>{const pe=!z.current&&!oe;(j.value!==void 0&&j.value===ve||pe)&&(L(ce),pe&&(z.current=!0))},[j.value]),F=O.useCallback(()=>_==null?void 0:_.focus(),[_]),he=O.useCallback((ce,ve,oe)=>{const pe=!z.current&&!oe;(j.value!==void 0&&j.value===ve||pe)&&M(ce)},[j.value]),ye=r==="popper"?wj:Sz,le=ye===wj?{side:s,sideOffset:c,align:f,alignOffset:h,arrowPadding:p,collisionBoundary:g,collisionPadding:y,sticky:S,hideWhenDetached:b,avoidCollisions:v}:{};return d.jsx(bz,{scope:n,content:_,viewport:N,onViewportChange:P,itemRefCallback:X,selectedItem:T,onItemLeave:F,itemTextRefCallback:he,focusSelectedItem:Z,selectedItemText:D,position:r,isPositioned:H,searchRef:R,children:d.jsx(fz,{as:W0e,allowPinchZoom:!0,children:d.jsx(CB,{asChild:!0,trapped:j.open,onMountAutoFocus:ce=>{ce.preventDefault()},onUnmountAutoFocus:Wt(i,ce=>{var ve;(ve=j.trigger)==null||ve.focus({preventScroll:!0}),ce.preventDefault()}),children:d.jsx(AB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:ce=>ce.preventDefault(),onDismiss:()=>j.onOpenChange(!1),children:d.jsx(ye,{role:"listbox",id:j.contentId,"data-state":j.open?"open":"closed",dir:j.dir,onContextMenu:ce=>ce.preventDefault(),...w,...le,onPlaced:()=>U(!0),ref:C,style:{display:"flex",flexDirection:"column",outline:"none",...w.style},onKeyDown:Wt(w.onKeyDown,ce=>{const ve=ce.ctrlKey||ce.altKey||ce.metaKey;if(ce.key==="Tab"&&ce.preventDefault(),!ve&&ce.key.length===1&&B(ce.key),["ArrowUp","ArrowDown","Home","End"].includes(ce.key)){let pe=$().filter(xe=>!xe.disabled).map(xe=>xe.ref.current);if(["ArrowUp","End"].includes(ce.key)&&(pe=pe.slice().reverse()),["ArrowUp","ArrowDown"].includes(ce.key)){const xe=ce.target,ie=pe.indexOf(xe);pe=pe.slice(ie+1)}setTimeout(()=>W(pe)),ce.preventDefault()}})})})})})})});wz.displayName=H0e;var V0e="SelectItemAlignedPosition",Sz=O.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...i}=e,o=la(ms,n),a=ca(ms,n),[s,c]=O.useState(null),[f,h]=O.useState(null),p=bn(t,C=>h(C)),g=wg(n),y=O.useRef(!1),S=O.useRef(!0),{viewport:b,selectedItem:v,selectedItemText:w,focusSelectedItem:j}=a,_=O.useCallback(()=>{if(o.trigger&&o.valueNode&&s&&f&&b&&v&&w){const C=o.trigger.getBoundingClientRect(),T=f.getBoundingClientRect(),L=o.valueNode.getBoundingClientRect(),D=w.getBoundingClientRect();if(o.dir!=="rtl"){const xe=D.left-T.left,ie=L.left-xe,$e=C.left-ie,Re=C.width+$e,We=Math.max(Re,T.width),je=window.innerWidth-Br,Ve=kM(ie,[Br,Math.max(Br,je-We)]);s.style.minWidth=Re+"px",s.style.left=Ve+"px"}else{const xe=T.right-D.right,ie=window.innerWidth-L.right-xe,$e=window.innerWidth-C.right-ie,Re=C.width+$e,We=Math.max(Re,T.width),je=window.innerWidth-Br,Ve=kM(ie,[Br,Math.max(Br,je-We)]);s.style.minWidth=Re+"px",s.style.right=Ve+"px"}const M=g(),$=window.innerHeight-Br*2,H=b.scrollHeight,U=window.getComputedStyle(f),z=parseInt(U.borderTopWidth,10),W=parseInt(U.paddingTop,10),Z=parseInt(U.borderBottomWidth,10),V=parseInt(U.paddingBottom,10),ee=z+W+H+V+Z,R=Math.min(v.offsetHeight*5,ee),B=window.getComputedStyle(b),X=parseInt(B.paddingTop,10),F=parseInt(B.paddingBottom,10),he=C.top+C.height/2-Br,ye=$-he,le=v.offsetHeight/2,ce=v.offsetTop+le,ve=z+W+ce,oe=ee-ve;if(ve<=he){const xe=M.length>0&&v===M[M.length-1].ref.current;s.style.bottom="0px";const ie=f.clientHeight-b.offsetTop-b.offsetHeight,$e=Math.max(ye,le+(xe?F:0)+ie+Z),Re=ve+$e;s.style.height=Re+"px"}else{const xe=M.length>0&&v===M[0].ref.current;s.style.top="0px";const $e=Math.max(he,z+b.offsetTop+(xe?X:0)+le)+oe;s.style.height=$e+"px",b.scrollTop=ve-he+b.offsetTop}s.style.margin=`${Br}px 0`,s.style.minHeight=R+"px",s.style.maxHeight=$+"px",r==null||r(),requestAnimationFrame(()=>y.current=!0)}},[g,o.trigger,o.valueNode,s,f,b,v,w,o.dir,r]);Jn(()=>_(),[_]);const[E,N]=O.useState();Jn(()=>{f&&N(window.getComputedStyle(f).zIndex)},[f]);const P=O.useCallback(C=>{C&&S.current===!0&&(_(),j==null||j(),S.current=!1)},[_,j]);return d.jsx(K0e,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:y,onScrollButtonChange:P,children:d.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:E},children:d.jsx(zt.div,{...i,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});Sz.displayName=V0e;var G0e="SelectPopperPosition",wj=O.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=Br,...o}=e,a=Sg(n);return d.jsx(Dbe,{...a,...o,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});wj.displayName=G0e;var[K0e,Nk]=xc(ms,{}),Sj="SelectViewport",jz=O.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...i}=e,o=ca(Sj,n),a=Nk(Sj,n),s=bn(t,o.onViewportChange),c=O.useRef(0);return d.jsxs(d.Fragment,{children:[d.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),d.jsx(bg.Slot,{scope:n,children:d.jsx(zt.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:Wt(i.onScroll,f=>{const h=f.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:g}=a;if(g!=null&&g.current&&p){const y=Math.abs(c.current-h.scrollTop);if(y>0){const S=window.innerHeight-Br*2,b=parseFloat(p.style.minHeight),v=parseFloat(p.style.height),w=Math.max(b,v);if(w<S){const j=w+y,_=Math.min(S,j),E=j-_;p.style.height=_+"px",p.style.bottom==="0px"&&(h.scrollTop=E>0?E:0,p.style.justifyContent="flex-end")}}}c.current=h.scrollTop})})})]})});jz.displayName=Sj;var _z="SelectGroup",[X0e,Y0e]=xc(_z),J0e=O.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=vk();return d.jsx(X0e,{scope:n,id:i,children:d.jsx(zt.div,{role:"group","aria-labelledby":i,...r,ref:t})})});J0e.displayName=_z;var kz="SelectLabel",Ez=O.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=Y0e(kz,n);return d.jsx(zt.div,{id:i.id,...r,ref:t})});Ez.displayName=kz;var gm="SelectItem",[Q0e,Nz]=xc(gm),Pz=O.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:o,...a}=e,s=la(gm,n),c=ca(gm,n),f=s.value===r,[h,p]=O.useState(o??""),[g,y]=O.useState(!1),S=bn(t,j=>{var _;return(_=c.itemRefCallback)==null?void 0:_.call(c,j,r,i)}),b=vk(),v=O.useRef("touch"),w=()=>{i||(s.onValueChange(r),s.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return d.jsx(Q0e,{scope:n,value:r,disabled:i,textId:b,isSelected:f,onItemTextChange:O.useCallback(j=>{p(_=>_||((j==null?void 0:j.textContent)??"").trim())},[]),children:d.jsx(bg.ItemSlot,{scope:n,value:r,disabled:i,textValue:h,children:d.jsx(zt.div,{role:"option","aria-labelledby":b,"data-highlighted":g?"":void 0,"aria-selected":f&&g,"data-state":f?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...a,ref:S,onFocus:Wt(a.onFocus,()=>y(!0)),onBlur:Wt(a.onBlur,()=>y(!1)),onClick:Wt(a.onClick,()=>{v.current!=="mouse"&&w()}),onPointerUp:Wt(a.onPointerUp,()=>{v.current==="mouse"&&w()}),onPointerDown:Wt(a.onPointerDown,j=>{v.current=j.pointerType}),onPointerMove:Wt(a.onPointerMove,j=>{var _;v.current=j.pointerType,i?(_=c.onItemLeave)==null||_.call(c):v.current==="mouse"&&j.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Wt(a.onPointerLeave,j=>{var _;j.currentTarget===document.activeElement&&((_=c.onItemLeave)==null||_.call(c))}),onKeyDown:Wt(a.onKeyDown,j=>{var E;((E=c.searchRef)==null?void 0:E.current)!==""&&j.key===" "||(L0e.includes(j.key)&&w(),j.key===" "&&j.preventDefault())})})})})});Pz.displayName=gm;var Nu="SelectItemText",Az=O.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,...o}=e,a=la(Nu,n),s=ca(Nu,n),c=Nz(Nu,n),f=z0e(Nu,n),[h,p]=O.useState(null),g=bn(t,w=>p(w),c.onItemTextChange,w=>{var j;return(j=s.itemTextRefCallback)==null?void 0:j.call(s,w,c.value,c.disabled)}),y=h==null?void 0:h.textContent,S=O.useMemo(()=>d.jsx("option",{value:c.value,disabled:c.disabled,children:y},c.value),[c.disabled,c.value,y]),{onNativeOptionAdd:b,onNativeOptionRemove:v}=f;return Jn(()=>(b(S),()=>v(S)),[b,v,S]),d.jsxs(d.Fragment,{children:[d.jsx(zt.span,{id:c.textId,...o,ref:g}),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Lf.createPortal(o.children,a.valueNode):null]})});Az.displayName=Nu;var Oz="SelectItemIndicator",Cz=O.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Nz(Oz,n).isSelected?d.jsx(zt.span,{"aria-hidden":!0,...r,ref:t}):null});Cz.displayName=Oz;var jj="SelectScrollUpButton",Tz=O.forwardRef((e,t)=>{const n=ca(jj,e.__scopeSelect),r=Nk(jj,e.__scopeSelect),[i,o]=O.useState(!1),a=bn(t,r.onScrollButtonChange);return Jn(()=>{if(n.viewport&&n.isPositioned){let s=function(){const f=c.scrollTop>0;o(f)};const c=n.viewport;return s(),c.addEventListener("scroll",s),()=>c.removeEventListener("scroll",s)}},[n.viewport,n.isPositioned]),i?d.jsx(Iz,{...e,ref:a,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=n;s&&c&&(s.scrollTop=s.scrollTop-c.offsetHeight)}}):null});Tz.displayName=jj;var _j="SelectScrollDownButton",Rz=O.forwardRef((e,t)=>{const n=ca(_j,e.__scopeSelect),r=Nk(_j,e.__scopeSelect),[i,o]=O.useState(!1),a=bn(t,r.onScrollButtonChange);return Jn(()=>{if(n.viewport&&n.isPositioned){let s=function(){const f=c.scrollHeight-c.clientHeight,h=Math.ceil(c.scrollTop)<f;o(h)};const c=n.viewport;return s(),c.addEventListener("scroll",s),()=>c.removeEventListener("scroll",s)}},[n.viewport,n.isPositioned]),i?d.jsx(Iz,{...e,ref:a,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=n;s&&c&&(s.scrollTop=s.scrollTop+c.offsetHeight)}}):null});Rz.displayName=_j;var Iz=O.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=e,o=ca("SelectScrollButton",n),a=O.useRef(null),s=wg(n),c=O.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return O.useEffect(()=>()=>c(),[c]),Jn(()=>{var h;const f=s().find(p=>p.ref.current===document.activeElement);(h=f==null?void 0:f.ref.current)==null||h.scrollIntoView({block:"nearest"})},[s]),d.jsx(zt.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:Wt(i.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(r,50))}),onPointerMove:Wt(i.onPointerMove,()=>{var f;(f=o.onItemLeave)==null||f.call(o),a.current===null&&(a.current=window.setInterval(r,50))}),onPointerLeave:Wt(i.onPointerLeave,()=>{c()})})}),Z0e="SelectSeparator",Dz=O.forwardRef((e,t)=>
vendor: 4,826 bytes, line 410
410{const{__scopeSelect:n,...r}=e;return d.jsx(zt.div,{"aria-hidden":!0,...r,ref:t})});Dz.displayName=Z0e;var kj="SelectArrow",ewe=O.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=Sg(n),o=la(kj,n),a=ca(kj,n);return o.open&&a.position==="popper"?d.jsx(Mbe,{...i,...r,ref:t}):null});ewe.displayName=kj;var twe="SelectBubbleInput",Mz=O.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const i=O.useRef(null),o=bn(r,i),a=Gbe(t);return O.useEffect(()=>{const s=i.current;if(!s)return;const c=window.HTMLSelectElement.prototype,h=Object.getOwnPropertyDescriptor(c,"value").set;if(a!==t&&h){const p=new Event("change",{bubbles:!0});h.call(s,t),s.dispatchEvent(p)}},[a,t]),d.jsx(zt.select,{...n,style:{...nz,...n.style},ref:o,defaultValue:t})});Mz.displayName=twe;function Lz(e){return e===""||e===void 0}function $z(e){const t=ds(e),n=O.useRef(""),r=O.useRef(0),i=O.useCallback(a=>{const s=n.current+a;t(s),(function c(f){n.current=f,window.clearTimeout(r.current),f!==""&&(r.current=window.setTimeout(()=>c(""),1e3))})(s)},[t]),o=O.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return O.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,o]}function Fz(e,t,n){const i=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=nwe(e,Math.max(o,0));i.length===1&&(a=a.filter(f=>f!==n));const c=a.find(f=>f.textValue.toLowerCase().startsWith(i.toLowerCase()));return c!==n?c:void 0}function nwe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var rwe=dz,Bz=pz,iwe=gz,owe=yz,awe=vz,zz=xz,swe=jz,Uz=Ez,qz=Pz,lwe=Az,cwe=Cz,Hz=Tz,Wz=Rz,Vz=Dz;const uwe=rwe,fwe=iwe,Gz=O.forwardRef(({className:e,children:t,...n},r)=>d.jsxs(Bz,{ref:r,className:xn("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,d.jsx(owe,{asChild:!0,children:d.jsx(Df,{className:"h-4 w-4 opacity-50"})})]}));Gz.displayName=Bz.displayName;const Kz=O.forwardRef(({className:e,...t},n)=>d.jsx(Hz,{ref:n,className:xn("flex cursor-default items-center justify-center py-1",e),...t,children:d.jsx(dL,{className:"h-4 w-4"})}));Kz.displayName=Hz.displayName;const Xz=O.forwardRef(({className:e,...t},n)=>d.jsx(Wz,{ref:n,className:xn("flex cursor-default items-center justify-center py-1",e),...t,children:d.jsx(Df,{className:"h-4 w-4"})}));Xz.displayName=Wz.displayName;const Yz=O.forwardRef(({className:e,children:t,position:n="popper",...r},i)=>d.jsx(awe,{children:d.jsxs(zz,{ref:i,className:xn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[d.jsx(Kz,{}),d.jsx(swe,{className:xn("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),d.jsx(Xz,{})]})}));Yz.displayName=zz.displayName;const dwe=O.forwardRef(({className:e,...t},n)=>d.jsx(Uz,{ref:n,className:xn("px-2 py-1.5 text-sm font-semibold",e),...t}));dwe.displayName=Uz.displayName;const Jz=O.forwardRef(({className:e,children:t,...n},r)=>d.jsxs(qz,{ref:r,className:xn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[d.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:d.jsx(cwe,{children:d.jsx(vq,{className:"h-4 w-4"})})}),d.jsx(lwe,{children:t})]}));Jz.displayName=qz.displayName;const hwe=O.forwardRef(({className:e,...t},n)=>d.jsx(Vz,{ref:n,className:xn("-mx-1 my-1 h-px bg-muted",e),...t}));hwe.displayName=Vz.displayName;const pwe="https://raw.githubusercontent.com/yamadakouzou-DEA/dep-protocol-lp/main/dep-symbol-only.png",mwe=[{value:"ai_data",en:"AI Training Data",ja:"AIå¦ç¿ãã¼ã¿",descEn:"Licensed, provenance-verified human data",descJa:"ã©ã¤ã»ã³ã¹æ¸ã»æ¥æ´è¨¼æä»ãã®äººéãã¼ã¿"},{value:"ad_fraud",en:"Ad Fraud & Bots",ja:"ã¢ããã©ã¦ãã»ããã",descEn:"Pre-bid invalid traffic filtering",descJa:"å
¥æåã®ä¸æ£ãã©ãã£ãã¯ã»ãã£ã«ã¿ãªã³ã°"}
410,{value:"builder",en:"Builder / Developer",ja:"ãã«ãã¼ï¼éçºè
ï¼",descEn:"SDK, API, and smart contract integration",descJa:"SDKã»APIã»ã¹ãã¼ãã³ã³ãã©ã¯ã飿º"},{value:"institutional",en:"Institutional Investor",ja:"æ©é¢æè³å®¶",descEn:"Partnership and token economics discussions",descJa:"ãã¼ããã¼ã·ããã»ãã¼ã¯ããã¯ã¹åè°"},{value:"validator",en:"Validator Operations",ja:"ããªãã¼ã¿éç¨",descEn:"Genesis Validator candidacy and node operations",descJa:"Genesis Validatoråè£ã»ãã¼ãéç¨"},{value:"other",en:"Other",ja:"ãã®ä»",descEn:"General inquiries",descJa:"ä¸è¬çãªåãåãã"}];function gwe(){const{lang:e}=Qr(),t=e==="ja",[n,r]=O.useState({name:"",email:"",company:"",category:"",subject:"",message:""}),[i,o]=O.useState(!1),[a,s]=O.useState(!1),[c,f]=O.useState(""),h=g=>r({...n,[g.target.name]:g.target.value}),p=async g=>{if(g.preventDefault(),!n.name||!n.email||!n.category||!n.message){f(t?"å¿
é é
ç®ãå
¥åãã¦ãã ããã":"Please fill in all required fields.");return}f(""),o(!0);try{await Be.entities.ContactInquiry.create({name:n.name,email:n.email,company:n.company,category:n.category,subject:n.subject,message:n.message,status:"new"}),s(!0)}catch{f(t?"éä¿¡ä¸ã«ã¨ã©ã¼ãçºçãã¾ããããã°ãããã¦å度ã試ããã ããã":"An error occurred while submitting. Please try again later.")}finally{o(!1)}};return a?d.jsxs("div",{className:"min-h-screen bg-black",children:[d.jsx(es,{}),d.jsx("div",{className:"pt-16",children:d.jsxs("div",{className:"mx-auto max-w-2xl px-6 lg:px-10 py-24 lg:py-32 text-center",children:[d.jsxs("div",{className:"inline-flex items-center gap-3 mb-8 px-4 py-2 border border-signal-yellow/30 rounded-full bg-signal-yellow/[0.04]",children:[d.jsx("img",{src:pwe,alt:"DEP",className:"w-5 h-5 object-contain"}),d.jsxs("span",{className:"font-display font-bold tracking-tight text-[14px]",style:{color:"#FFD700"},children:["DEP ",d.jsx("span",{style:{color:"rgba(255,215,0,0.65)"},children:"(DEAPcoin)"})]})]}),d.jsxs("h1",{className:"font-display font-bold leading-[1.05] tracking-tight text-bone mb-6",style:{fontSize:"clamp(1.8rem,4vw,2.6rem)"},children:[d.jsx("span",{className:"en-only",children:"Thank you â your inquiry has been received."}),d.jsx("span",{className:"ja-only",children:"ãåãåãããåãä»ãã¾ããã"})]}),d.jsxs("p",{className:"text-bone-muted text-[15px] leading-[1.7] mb-10 text-pretty",children:[d.jsx("span",{className:"en-only",children:"Our team will review your request and respond within 2â3 business days."}),d.jsx("span",{className:"ja-only",children:"æ
å½ãã¼ã ãå
容ã確èªã®ããã2ã3å¶æ¥æ¥ä»¥å
ã«ãè¿ä¿¡ãããã¾ãã"})]}),d.jsx(qi,{to:"/",children:d.jsx(Yo,{className:"btn-yellow rounded-full h-12 px-8 text-[14px]",children:t?"ãããã¸æ»ã":"Back to Home"})})]})}),d.jsx(Hu,{})]}):d.jsxs("div",{className:"min-h-screen bg-black",children:[d.jsx(es,{}),d.jsx("div",{className:"pt-16",children:d.jsxs("section",{className:"relative py-20 lg:py-28 overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 grid-bg pointer-events-none opacity-40"}),d.jsx("div",{className:"absolute -top-32 left-1/2 -translate-x-1/2 w-[50vw] h-[35vw] bg-signal-yellow/5 rounded-full blur-[140px] pointer-events-none"}),d.jsxs("div",{className:"relative mx-auto max-w-3xl px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[d.jsxs("span",{className:"text-[11px] font-mono-x uppercase tracking-[0.25em] text-signal-yellow",children:[d.jsx("span",{className:"en-only",children:"/ Contact"}),d.jsx("span",{className:"ja-only",children:"/ ãåãåãã"})]}),d.jsx("div",{className:"h-px w-12 bg-line-bright"})]}),d.jsxs("h1",{className:"font-display font-bold leading-[1.1] tracking-tight text-balance text-bone mb-4",style:{fontSize:"clamp(1.8rem,4vw,2.8rem)"},children:[d.jsxs("span",{className:"en-only",children:["Proving human activity on the internet â toward the ",d.jsx("span",{className:"text-signal-yellow",children:"Root of Trust"})," for the AI era."]}),d.jsxs("span",{className:"ja-only",children:["ã¤ã³ã¿ã¼ãããã®äººéè¡åã証æãã â AIæä»£ã®",d.jsx("span",{className:"text-signal-yellow",children:"ãRoot of Trustã"}),"ã¸ã"]})]}),d.jsxs("p",{className:"text-bone-muted text-[15px] leading-[1.7] mb-10 text-pretty",children:[d.jsx("span",{className:"en-only",children:"Tell us about your use case. We'll route your inquiry to the right team."}),d.jsx("span",{className:"ja-only",children:"ã¦ã¼ã¹ã±ã¼ã¹ããèãããã ãããæ
å½ãã¼ã ã«ãç¹ããã¾ãã"})]}),d.jsx("div",{className:"flex flex-wrap gap-2 mb-10",children:[{en:"Human Proof",ja:"人é証æ"},{en:"Licensed AI Training Data",ja:"ã©ã¤ã»ã³ã¹æ¸AIå¦ç¿ãã¼ã¿"},{en:"Ad Fraud & Bot Countermeasures",ja:"ã¢ããã©ã¦ãã»ããã対ç"}].map((g,y)=>d.jsxs("span",{className:"inline-flex items-center gap-2 px-3 py-1.5 border border-line-bright rounded-full text-[12px] text-bone-muted bg-ink-100",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-signal-yellow"}),d.jsx("span",{className:"en-only",children:g.en}),d.jsx("span",{className:"ja-only",children:g.ja})]},y))}),d.jsxs("form",{onSubmit:p,className:"space-y-6 border border-line rounded-2xl bg-ink-100/60 p-6 lg:p-8",children:[d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx(Fi,{className:"text-[12px] font-mono-x uppercase tracking-widest text-bone-dim",children:t?"ãåå *":"Name *"}),d.jsx(Gr,{name:"name",value:n.name,onChange:h,required:!0,className:"bg-black/40 border-line-bright text-bone placeholder:text-bone-faint"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(Fi,{className:"text-[12px] font-mono-x uppercase tracking-widest text-bone-dim",children:t?"ã¡ã¼ã«ã¢ãã¬ã¹ *":"Email *"}),d.jsx(Gr,{name:"email",type:"email",value:n.email,onChange:h,required:!0,className:"bg-black/40 border-line-bright text-bone placeholder:text-bone-faint"})]})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx(Fi,{className:"text-[12px] font-mono-x uppercase tracking-widest text-bone-dim",children:t?"ä¼ç¤¾å":"C
410ompany"}),d.jsx(Gr,{name:"company",value:n.company,onChange:h,className:"bg-black/40 border-line-bright text-bone placeholder:text-bone-faint"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(Fi,{className:"text-[12px] font-mono-x uppercase tracking-widest text-bone-dim",children:t?"ä»¶å":"Subject"}),d.jsx(Gr,{name:"subject",value:n.subject,onChange:h,className:"bg-black/40 border-line-bright text-bone placeholder:text-bone-faint"})]})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(Fi,{className:"text-[12px] font-mono-x uppercase tracking-widest text-bone-dim",children:t?"åãåããã«ãã´ãª *":"Inquiry Category *"}),d.jsxs(uwe,{value:n.category,onValueChange:g=>r({...n,category:g}),children:[d.jsx(Gz,{className:"bg-black/40 border-line-bright text-bone",children:d.jsx(fwe,{placeholder:t?"ã«ãã´ãªã鏿":"Select a category"})}),d.jsx(Yz,{className:"bg-black/95 border-line-bright",children:mwe.map(g=>d.jsx(Jz,{value:g.value,className:"text-bone focus:bg-white/5",children:d.jsxs("div",{className:"flex flex-col",children:[d.jsxs("span",{className:"text-[14px]",children:[d.jsx("span",{className:"en-only",children:g.en}),d.jsx("span",{className:"ja-only",children:g.ja})]}),d.jsxs("span",{className:"text-[11px] text-bone-faint",children:[d.jsx("span",{className:"en-only",children:g.descEn}),d.jsx("span",{className:"ja-only",children:g.descJa})]})]})},g.value))})]})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(Fi,{className:"text-[12px] font-mono-x uppercase tracking-widest text-bone-dim",children:t?"ãåãåããå
容 *":"Message *"}),d.jsx(pp,{name:"message",value:n.message,onChange:h,required:!0,rows:6,className:"bg-black/40 border-line-bright text-bone placeholder:text-bone-faint resize-y",placeholder:t?"ã¦ã¼ã¹ã±ã¼ã¹ããè¦æã詳ãããæ¸ããã ããâ¦":"Describe your use case and requirementsâ¦"})]}),c&&d.jsx("p",{className:"text-[13px] text-signal-red",children:c}),d.jsxs("div",{className:"flex items-center justify-between gap-4 pt-2",children:[d.jsxs("p",{className:"text-[11px] text-bone-faint",children:[d.jsx("span",{className:"en-only",children:"We respond within 2â3 business days."}),d.jsx("span",{className:"ja-only",children:"2ã3å¶æ¥æ¥ä»¥å
ã«ãè¿ä¿¡ãã¾ãã"})]}),d.jsx(Yo,{type:"submit",disabled:i,className:"btn-yellow rounded-full h-12 px-8 text-[14px] disabled:opacity-50",children:i?t?"éä¿¡ä¸â¦":"Sendingâ¦":t?"åãåãããéä¿¡ â":"Send Inquiry â"})]})]})]})]})}),d.jsx(Hu,{})]})}function JM({url:e,title:t}){const{lang:n}=Qr(),[r,i]=O.useState(!1),o=encodeURIComponent(e),a=encodeURIComponent(t),s=[{label:"X",href:`https://twitter.com/intent/tweet?url=${o}&text=${a}`,icon:d.jsx("svg",{viewBox:"0 0 24 24",className:"w-4 h-4",fill:"currentColor",children:d.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})},{label:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${o}`,icon:d.jsx("svg",{viewBox:"0 0 24 24",className:"w-4 h-4",fill:"currentColor",children:d.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})},{label:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${o}`,icon:d.jsx("svg",{viewBox:"0 0 24 24",className:"w-4 h-4",fill:"currentColor",children:d.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}],c=async()=>{try{await navigator.clipboard.writeText(e),i(!0),setTimeout(()=>i(!1),2e3)}catch{}};return d.jsxs("div",{className:"flex items-center gap-3 flex-wrap",children:[d.jsx("span",{className:"text-[11px] font-mono-x uppercase tracking-widest text-bone-faint",children:n==="ja"?"ã·ã§ã¢":"Share"}),s.map(f=>d.jsx("a",{href:f.href,target:"_blank",rel:"noopener noreferrer","aria-label":f.label,className:"w-9 h-9 rounded-full border border-line bg-ink-200 flex items-center justify-center text-bone-muted hover:text-signal-yellow hover:border-signal-yellow/40 transition-colors",children:f.icon},f.label)),d.jsx("button",{onClick:c,"aria-label":"Copy link",className:"w-9 h-9 rounded-full border border-line bg-ink-200 flex items-center justify-center text-bone-muted hover:text-signal-yellow hover:border-signal-yellow/40 transition-colors",children:r?d.jsx("svg",{viewBox:"0 0 24 24",className:"w-4 h-4",fill:"none",stroke:"currentColor",strokeWidth:2.5,children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}):d.jsx("svg",{viewBox:"0 0 24 24",className:"w-4 h-4",fill:"none",stroke:"currentColor",strokeWidth:2,children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})})})]})}const ywe={use_case:{en:"Use Case",ja:"æç¨æ§"},case_study:{en:"Case Study",ja:"äºä¾"},technology:{en:"Technology",ja:"ãã¯ããã¸ã¼"},other:{en:"Other",ja:"ãã®ä»"}};function vwe(){const{id:e}=sW(),{lang:t}=Qr(),[n,r]=O.useState(null),[i,o]=O.useState(!0),[a,s]=O.useState(""),[c,f]=O.useState(!1);if(O.useEffect(()=>{e&&(o(!0),Be.entities.Article.get(e).then(y=>{r(y),f(!0);const S=t==="ja"?y.body_ja||y.body_en:y.body_en||y.body_ja;return L1(S).then(b=>s(b))}).catch(()=>r(null)).finally(()=>{o(!1),f(!1)}))},[e,t]),O.useEffect(()=>{if(!n)return;const y=t==="ja"?n.title_ja||n.title_en:n.title_en||n.title_ja,S=t==="ja"?n.summary_ja||n.summary_en:n.summary_en||n.summary_ja,b=window.location.href,v=document.title;document.title=`${y} â DEP Protocol`;const w=(j,_,E)=>{let N=document.head.querySelector(j);if(!N){N=document.createElement("meta");const P=j.match(/\[(.+?)\]/);if(P){const[C,T]=P[1].split("=");N.setAttribute(C.replace(/"/g,""),T.replace(/"/g,""))}document.head.appendChild(N)}N.setAttribute(_,E)};return w('meta[name="description"]',"content",S||"DEP Protocol Insights"),w('meta[property="og:title"]',"content",y),w('meta[property="og:description"]',"content",S||""),w('meta[property="og:type"]',"content","article"),w('meta[property="og:url"]',"content",b),n.header_image&&w('meta[property="og:image"]',"content",n.header_image),w('meta[name="twitter:card"]',"content","summary_large_image"),w('meta[name="twitter:title"]',"content",y),w('meta[name="twitter:description"]',"content",S||""),n.header_image&&w('meta[name="twitter:image"]',"content",n.header_image),()=>{document.title=v}},[n,t]),i)return d.jsxs("div",{className:"min-h-screen bg-black text-bone flex flex-col",children:[d.jsx(es,{}),d.jsx("div",{className:"flex-1 flex items-center justify-center pt-16",children:d.jsx("div",{className:"w-8 h-8 border-2 border-line border-t-signal-yellow rounded-full animate-spin"})})]});if(!n)return d.jsxs("div",{className:"min-h-screen bg-black text-bone flex flex-col",children:[d.jsx(es,{}),d.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center pt-16 px-6",children:[d.jsx("p",{className:"text-bone-muted mb-4",children:t==="ja"?"è¨äºãè¦ã¤ããã¾ãã":"Article not found"}),d.jsx(qi,{to:"/#insights",className:"text-signal-yellow hover:underline",children:t==="ja"?"ã¤ã³ãµã¤ãä¸è¦§ã¸":"Back to Insights"})]})]});const h=t==="ja"?n.title_ja:n.title_en,p=t==="ja"?n.author_ja||n.author_en:n.author_en||n.author_ja,g=ywe[n.category]||{en:n.category,ja:n.category};return d.jsxs("div",{className:"min-h-screen bg-black text-bone flex flex-col",children:[d.jsx(es,{}),n.header_image&&d.jsxs("div",{className:"relative w-full h-[42vh] min-h-[280px] overflow-hidden",children:[d.jsx("img",{src:n.header_image,alt:h,className:"w-full h-full object-cover"}),d.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/40 via-black/30 to-black"})]}),d.jsx("main",{className:"flex-1 pt-8 pb-20",children:d.jsxs("div",{className:"mx-auto max-w-3xl px-6 lg:px-10",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-8 text-[11px] font-mono-x uppercase tracking-widest text-bone-faint flex-wrap",children:[d.jsx(qi,{to:"/",className:"hover:text-bone-muted transition-colors",children:"DEP Protocol"}),d.jsx(Ma,{className:"w-3 h-3"}),d.jsx(qi,{to:"/#insights",className:"hover:text-bone-muted transition-colors",children:t==="ja"?"ã¤ã³ãµã¤ã":"Insights"}),d.jsx(Ma,{className:"w-3 h-3"}),d.jsx("span",{className:"text-bone-dim truncate max-w-[50vw]",children:h})]}),d.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[d.jsx("span",{className:"text-[10px] font-mono-x uppercase tracking-widest px-2.5 py-1 rounded-full border border-signal-yellow/25 text-signal-yellow bg-signal-yellow/5",children:t==="ja"?g.ja:g.en}),n.published_at&&d.jsx("span",{className:"text-[12px] font-mono-x text-bone-faint",children:new Date(n.published_at).toLocaleDateString(t==="ja"?"ja-JP":"en-US",{year:"numeric",month:"long",day:"numeric"})})]}),d.jsx("h1",{className:"font-display font-bold text-3xl lg:text-4xl tracking-tight text-bone mb-4 leading-tight",children:h}),d.jsxs("div",{className:"flex items-center justify-between gap-4 flex-wrap mb-10 pb-6 border-b border-line",children:[p&&d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("div",{className:"w-8 h-8 rounded-full bg-gradient-to-br from-signal-yellow to-signal-red flex items-center justify-center text-[#050505] font-mono-x font-bold text-[11px]",children:p.charAt(0).toUpperCase()}),d.jsx("span",{className:"text-sm text-bone-muted",children:p})]}),d.jsx(JM,{url:window.location.href,title:h})]}),c?d.jsx("div",{className:"flex items-center justify-center py-16",children:d.jsx("div",{className:"w-6 h-6 border-2 border-line border-t-signal-yellow rounded-full animate-spin"})}):d.jsx("div",{className:"prose-docs",children:d.jsx(X1,{children:a})}),d.jsxs("div",{className:"mt-16 pt-8 border-t border-line flex items-center justify-between gap-4 flex-wrap",children:[d.jsxs(qi,{to:"/#insights",className:"inline-flex items-center gap-2 text-sm text-bone-muted hover:text-signal-yellow transition-colors",children:[d.jsx(pq,{className:"w-4 h-4"}),t==="ja"?"ã¤ã³ãµã¤ãä¸è¦§ã¸æ»ã":"Back to Insights"]}),d.jsx(JM,{url:window.location.href,title:h})]})]})}),d.jsx(Hu,{})]})}function xwe({icon:e,title:t,subtitle:n,footer:r,children:i}){return d.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background px-4",children:d.jsxs("div",{className:"w-full max-w-md",children:[d.jsxs("div",{className:"text-center mb-10",children:[d.jsx("div",{className:"inline-flex items-center justify-center w-14 h-14 roun
410ded-2xl bg-primary mb-4",children:d.jsx(e,{className:"w-7 h-7 text-primary-foreground","aria-hidden":"true"})}),d.jsx("h1",{className:"text-3xl font-bold tracking-tight text-foreground",children:t}),n&&d.jsx("p",{className:"text-muted-foreground mt-2",children:n})]}),d.jsx("div",{className:"bg-card rounded-2xl shadow-sm border border-border p-8",children:i}),r&&d.jsx("p",{className:"text-center text-sm text-muted-foreground mt-6",children:r})]})})}function bwe({className:e="w-5 h-5"}){return d.jsxs("svg",{className:e,viewBox:"0 0 24 24","aria-hidden":"true",children:[d.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 01-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z",fill:"#4285F4"}),d.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),d.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),d.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]})}function wwe(){l5();const[e,t]=O.useState(""),[n,r]=O.useState(""),[i,o]=O.useState(""),[a,s]=O.useState(!1),c=async h=>{h.preventDefault(),o(""),s(!0);try{await Be.auth.loginViaEmailPassword(e,n),window.location.href="/"}catch(p){o(p.message||"Invalid email or password")}finally{s(!1)}},f=()=>{Be.auth.loginWithProvider("google","/")};return d.jsxs(xwe,{icon:Dq,title:"Welcome back",subtitle:"Log in to your account",footer:d.jsxs(d.Fragment,{children:["Don't have an account?"," ",d.jsx(qi,{to:"/register",className:"text-primary font-medium hover:underline",children:"Create one"})]}),children:[d.jsxs(Yo,{variant:"outline",className:"w-full h-12 text-sm font-medium mb-6",onClick:f,children:[d.jsx(bwe,{className:"w-5 h-5 mr-2"}),"Continue with Google"]}),d.jsxs("div",{className:"relative mb-6",children:[d.jsx("div",{className:"absolute inset-0 flex items-center",children:d.jsx("div",{className:"w-full border-t border-border"})}),d.jsx("div",{className:"relative flex justify-center text-xs uppercase",children:d.jsx("span",{className:"bg-card px-3 text-muted-foreground",children:"or"})})]}),i&&d.jsx("div",{className:"mb-4 p-3 rounded-lg bg-destructive/10 text-destructive text-sm",children:i}),d.jsxs("form",{onSubmit:c,className:"space-y-4",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx(Fi,{htmlFor:"email",children:"Email"}),d.jsxs("div",{className:"relative",children:[d.jsx(Lq,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),d.jsx(Gr,{id:"email",type:"email",autoComplete:"email",autoFocus:!0,placeholder:"[email protected]",value:e,onChange:h=>t(h.target.value),className:"pl-10 h-12",required:!0})]})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsx(Fi,{htmlFor:"password",children:"Password"}),d.jsx(qi,{to:"/forgot-password",className:"text-xs text-primary hover:underline",children:"Forgot password?"})]}),d.jsxs("div",{className:"relative",children:[d.jsx(Rq,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),d.jsx(Gr,{id:"password",type:"password",autoComplete:"current-password",placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",value:n,onChange:h=>r(h.target.value),className:"pl-10 h-12",required:!0})]})]}),d.jsx(Yo,{type:"submit",className:"w-full h-12 font-medium",disabled:a,children:a?d.jsxs(d.Fragment,{children:[d.jsx(s1,{className:"w-4 h-4 mr-2 animate-spin"}),"Logging in..."]}):"Log in"})]})]})}const Swe=()=>{const{isLoadingAuth:e,isLoadingPublicSettings:t,authError:n,navigateToLogin:r}=K4();if(t||e)return d.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:d.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(n){if(n.type==="user_not_registered")return d.jsx(X4,{});if(n.type==="auth_required")return r(),null}return d.jsxs(_W,{children:[d.jsx(Li,{path:"/login",element:d.jsx(wwe,{})}),d.jsx(Li,{path:"/",element:d.jsx(AK,{})}),d.jsx(Li,{element:d.jsx(qG,{unauthenticatedElement:d.jsx(n4,{to:"/login",replace:!0})}),children:d.jsx(Li,{path:"/dep-ops-7f3a2c",element:d.jsx(gte,{})})}),d.jsx(Li,{path:"/docs",element:d.jsx(Nve,{})}),d.jsx(Li,{path:"/contact",element:d.jsx(gwe,{})}),d.jsx(Li,{path:"/articles/:id",element:d.jsx(vwe,{})}),d.jsx(Li,{path:"*",element:d.jsx($G,{})})]})};function jwe(){return d.jsx(FG,{children:d.jsx(WG,{children:d.jsxs(hH,{client:EH,children:[d.jsxs(TW,{children:[d.jsx(zG,{}),d.jsx(Swe,{})]}),d.jsx(z8,{})]})})})}rq.createRoot(document.getElementById("root")).render(d.jsx(jwe,{}));
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.