ohwow 0.3.0 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,100 @@
1
+ var IC=Object.defineProperty;var PC=(e,a,l)=>a in e?IC(e,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[a]=l;var ba=(e,a,l)=>PC(e,typeof a!="symbol"?a+"":a,l);(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))i(c);new MutationObserver(c=>{for(const u of c)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&i(d)}).observe(document,{childList:!0,subtree:!0});function l(c){const u={};return c.integrity&&(u.integrity=c.integrity),c.referrerPolicy&&(u.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?u.credentials="include":c.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(c){if(c.ep)return;c.ep=!0;const u=l(c);fetch(c.href,u)}})();var Ji=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function GC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var v2={exports:{}},Gs={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and 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 pg;function YC(){if(pg)return Gs;pg=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function l(i,c,u){var d=null;if(u!==void 0&&(d=""+u),c.key!==void 0&&(d=""+c.key),"key"in c){u={};for(var h in c)h!=="key"&&(u[h]=c[h])}else u=c;return c=u.ref,{$$typeof:e,type:i,key:d,ref:c!==void 0?c:null,props:u}}return Gs.Fragment=a,Gs.jsx=l,Gs.jsxs=l,Gs}var gg;function KC(){return gg||(gg=1,v2.exports=YC()),v2.exports}var s=KC(),b2={exports:{}},Ee={};/**
10
+ * @license React
11
+ * react.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and 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 xg;function XC(){if(xg)return Ee;xg=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),y=Symbol.iterator;function w(D){return D===null||typeof D!="object"?null:(D=y&&D[y]||D["@@iterator"],typeof D=="function"?D:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,A={};function j(D,te,re){this.props=D,this.context=te,this.refs=A,this.updater=re||N}j.prototype.isReactComponent={},j.prototype.setState=function(D,te){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,te,"setState")},j.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function S(){}S.prototype=j.prototype;function Z(D,te,re){this.props=D,this.context=te,this.refs=A,this.updater=re||N}var C=Z.prototype=new S;C.constructor=Z,E(C,j.prototype),C.isPureReactComponent=!0;var H=Array.isArray;function _(){}var T={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function R(D,te,re){var z=re.ref;return{$$typeof:e,type:D,key:te,ref:z!==void 0?z:null,props:re}}function O(D,te){return R(D.type,te,D.props)}function I(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function X(D){var te={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(re){return te[re]})}var K=/\/+/g;function B(D,te){return typeof D=="object"&&D!==null&&D.key!=null?X(""+D.key):te.toString(36)}function Y(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(_,_):(D.status="pending",D.then(function(te){D.status==="pending"&&(D.status="fulfilled",D.value=te)},function(te){D.status==="pending"&&(D.status="rejected",D.reason=te)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function L(D,te,re,z,q){var P=typeof D;(P==="undefined"||P==="boolean")&&(D=null);var oe=!1;if(D===null)oe=!0;else switch(P){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(D.$$typeof){case e:case a:oe=!0;break;case g:return oe=D._init,L(oe(D._payload),te,re,z,q)}}if(oe)return q=q(D),oe=z===""?"."+B(D,0):z,H(q)?(re="",oe!=null&&(re=oe.replace(K,"$&/")+"/"),L(q,te,re,"",function(ke){return ke})):q!=null&&(I(q)&&(q=O(q,re+(q.key==null||D&&D.key===q.key?"":(""+q.key).replace(K,"$&/")+"/")+oe)),te.push(q)),1;oe=0;var me=z===""?".":z+":";if(H(D))for(var be=0;be<D.length;be++)z=D[be],P=me+B(z,be),oe+=L(z,te,re,P,q);else if(be=w(D),typeof be=="function")for(D=be.call(D),be=0;!(z=D.next()).done;)z=z.value,P=me+B(z,be++),oe+=L(z,te,re,P,q);else if(P==="object"){if(typeof D.then=="function")return L(Y(D),te,re,z,q);throw te=String(D),Error("Objects are not valid as a React child (found: "+(te==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":te)+"). If you meant to render a collection of children, use an array instead.")}return oe}function $(D,te,re){if(D==null)return D;var z=[],q=0;return L(D,z,"","",function(P){return te.call(re,P,q++)}),z}function W(D){if(D._status===-1){var te=D._result;te=te(),te.then(function(re){(D._status===0||D._status===-1)&&(D._status=1,D._result=re)},function(re){(D._status===0||D._status===-1)&&(D._status=2,D._result=re)}),D._status===-1&&(D._status=0,D._result=te)}if(D._status===1)return D._result.default;throw D._result}var de=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var te=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(te))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},he={map:$,forEach:function(D,te,re){$(D,function(){te.apply(this,arguments)},re)},count:function(D){var te=0;return $(D,function(){te++}),te},toArray:function(D){return $(D,function(te){return te})||[]},only:function(D){if(!I(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return Ee.Activity=x,Ee.Children=he,Ee.Component=j,Ee.Fragment=l,Ee.Profiler=c,Ee.PureComponent=Z,Ee.StrictMode=i,Ee.Suspense=m,Ee.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,Ee.__COMPILER_RUNTIME={__proto__:null,c:function(D){return T.H.useMemoCache(D)}},Ee.cache=function(D){return function(){return D.apply(null,arguments)}},Ee.cacheSignal=function(){return null},Ee.cloneElement=function(D,te,re){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var z=E({},D.props),q=D.key;if(te!=null)for(P in te.key!==void 0&&(q=""+te.key),te)!k.call(te,P)||P==="key"||P==="__self"||P==="__source"||P==="ref"&&te.ref===void 0||(z[P]=te[P]);var P=arguments.length-2;if(P===1)z.children=re;else if(1<P){for(var oe=Array(P),me=0;me<P;me++)oe[me]=arguments[me+2];z.children=oe}return R(D.type,q,z)},Ee.createContext=function(D){return D={$$typeof:d,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:u,_context:D},D},Ee.createElement=function(D,te,re){var z,q={},P=null;if(te!=null)for(z in te.key!==void 0&&(P=""+te.key),te)k.call(te,z)&&z!=="key"&&z!=="__self"&&z!=="__source"&&(q[z]=te[z]);var oe=arguments.length-2;if(oe===1)q.children=re;else if(1<oe){for(var me=Array(oe),be=0;be<oe;be++)me[be]=arguments[be+2];q.children=me}if(D&&D.defaultProps)for(z in oe=D.defaultProps,oe)q[z]===void 0&&(q[z]=oe[z]);return R(D,P,q)},Ee.createRef=function(){return{current:null}},Ee.forwardRef=function(D){return{$$typeof:h,render:D}},Ee.isValidElement=I,Ee.lazy=function(D){return{$$typeof:g,_payload:{_status:-1,_result:D},_init:W}},Ee.memo=function(D,te){return{$$typeof:p,type:D,compare:te===void 0?null:te}},Ee.startTransition=function(D){var te=T.T,re={};T.T=re;try{var z=D(),q=T.S;q!==null&&q(re,z),typeof z=="object"&&z!==null&&typeof z.then=="function"&&z.then(_,de)}catch(P){de(P)}finally{te!==null&&re.types!==null&&(te.types=re.types),T.T=te}},Ee.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},Ee.use=function(D){return T.H.use(D)},Ee.useActionState=function(D,te,re){return T.H.useActionState(D,te,re)},Ee.useCallback=function(D,te){return T.H.useCallback(D,te)},Ee.useContext=function(D){return T.H.useContext(D)},Ee.useDebugValue=function(){},Ee.useDeferredValue=function(D,te){return T.H.useDeferredValue(D,te)},Ee.useEffect=function(D,te){return T.H.useEffect(D,te)},Ee.useEffectEvent=function(D){return T.H.useEffectEvent(D)},Ee.useId=function(){return T.H.useId()},Ee.useImperativeHandle=function(D,te,re){return T.H.useImperativeHandle(D,te,re)},Ee.useInsertionEffect=function(D,te){return T.H.useInsertionEffect(D,te)},Ee.useLayoutEffect=function(D,te){return T.H.useLayoutEffect(D,te)},Ee.useMemo=function(D,te){return T.H.useMemo(D,te)},Ee.useOptimistic=function(D,te){return T.H.useOptimistic(D,te)},Ee.useReducer=function(D,te,re){return T.H.useReducer(D,te,re)},Ee.useRef=function(D){return T.H.useRef(D)},Ee.useState=function(D){return T.H.useState(D)},Ee.useSyncExternalStore=function(D,te,re){return T.H.useSyncExternalStore(D,te,re)},Ee.useTransition=function(){return T.H.useTransition()},Ee.version="19.2.4",Ee}var vg;function sf(){return vg||(vg=1,b2.exports=XC()),b2.exports}var r=sf(),y2={exports:{}},Ys={},w2={exports:{}},A2={};/**
18
+ * @license React
19
+ * scheduler.production.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and 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 bg;function QC(){return bg||(bg=1,(function(e){function a(L,$){var W=L.length;L.push($);e:for(;0<W;){var de=W-1>>>1,he=L[de];if(0<c(he,$))L[de]=$,L[W]=he,W=de;else break e}}function l(L){return L.length===0?null:L[0]}function i(L){if(L.length===0)return null;var $=L[0],W=L.pop();if(W!==$){L[0]=W;e:for(var de=0,he=L.length,D=he>>>1;de<D;){var te=2*(de+1)-1,re=L[te],z=te+1,q=L[z];if(0>c(re,W))z<he&&0>c(q,re)?(L[de]=q,L[z]=W,de=z):(L[de]=re,L[te]=W,de=te);else if(z<he&&0>c(q,W))L[de]=q,L[z]=W,de=z;else break e}}return $}function c(L,$){var W=L.sortIndex-$.sortIndex;return W!==0?W:L.id-$.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,h=d.now();e.unstable_now=function(){return d.now()-h}}var m=[],p=[],g=1,x=null,y=3,w=!1,N=!1,E=!1,A=!1,j=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;function C(L){for(var $=l(p);$!==null;){if($.callback===null)i(p);else if($.startTime<=L)i(p),$.sortIndex=$.expirationTime,a(m,$);else break;$=l(p)}}function H(L){if(E=!1,C(L),!N)if(l(m)!==null)N=!0,_||(_=!0,X());else{var $=l(p);$!==null&&Y(H,$.startTime-L)}}var _=!1,T=-1,k=5,R=-1;function O(){return A?!0:!(e.unstable_now()-R<k)}function I(){if(A=!1,_){var L=e.unstable_now();R=L;var $=!0;try{e:{N=!1,E&&(E=!1,S(T),T=-1),w=!0;var W=y;try{t:{for(C(L),x=l(m);x!==null&&!(x.expirationTime>L&&O());){var de=x.callback;if(typeof de=="function"){x.callback=null,y=x.priorityLevel;var he=de(x.expirationTime<=L);if(L=e.unstable_now(),typeof he=="function"){x.callback=he,C(L),$=!0;break t}x===l(m)&&i(m),C(L)}else i(m);x=l(m)}if(x!==null)$=!0;else{var D=l(p);D!==null&&Y(H,D.startTime-L),$=!1}}break e}finally{x=null,y=W,w=!1}$=void 0}}finally{$?X():_=!1}}}var X;if(typeof Z=="function")X=function(){Z(I)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,B=K.port2;K.port1.onmessage=I,X=function(){B.postMessage(null)}}else X=function(){j(I,0)};function Y(L,$){T=j(function(){L(e.unstable_now())},$)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(L){switch(y){case 1:case 2:case 3:var $=3;break;default:$=y}var W=y;y=$;try{return L()}finally{y=W}},e.unstable_requestPaint=function(){A=!0},e.unstable_runWithPriority=function(L,$){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var W=y;y=L;try{return $()}finally{y=W}},e.unstable_scheduleCallback=function(L,$,W){var de=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?de+W:de):W=de,L){case 1:var he=-1;break;case 2:he=250;break;case 5:he=1073741823;break;case 4:he=1e4;break;default:he=5e3}return he=W+he,L={id:g++,callback:$,priorityLevel:L,startTime:W,expirationTime:he,sortIndex:-1},W>de?(L.sortIndex=W,a(p,L),l(m)===null&&L===l(p)&&(E?(S(T),T=-1):E=!0,Y(H,W-de))):(L.sortIndex=he,a(m,L),N||w||(N=!0,_||(_=!0,X()))),L},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(L){var $=y;return function(){var W=y;y=$;try{return L.apply(this,arguments)}finally{y=W}}}})(A2)),A2}var yg;function JC(){return yg||(yg=1,w2.exports=QC()),w2.exports}var j2={exports:{}},Rt={};/**
26
+ * @license React
27
+ * react-dom.production.js
28
+ *
29
+ * Copyright (c) Meta Platforms, Inc. and 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 wg;function WC(){if(wg)return Rt;wg=1;var e=sf();function a(m){var p="https://react.dev/errors/"+m;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+m+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var i={d:{f:l,r:function(){throw Error(a(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},c=Symbol.for("react.portal");function u(m,p,g){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:x==null?null:""+x,children:m,containerInfo:p,implementation:g}}var d=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(m,p){if(m==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Rt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Rt.createPortal=function(m,p){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(a(299));return u(m,p,null,g)},Rt.flushSync=function(m){var p=d.T,g=i.p;try{if(d.T=null,i.p=2,m)return m()}finally{d.T=p,i.p=g,i.d.f()}},Rt.preconnect=function(m,p){typeof m=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,i.d.C(m,p))},Rt.prefetchDNS=function(m){typeof m=="string"&&i.d.D(m)},Rt.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var g=p.as,x=h(g,p.crossOrigin),y=typeof p.integrity=="string"?p.integrity:void 0,w=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?i.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:x,integrity:y,fetchPriority:w}):g==="script"&&i.d.X(m,{crossOrigin:x,integrity:y,fetchPriority:w,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Rt.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var g=h(p.as,p.crossOrigin);i.d.M(m,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&i.d.M(m)},Rt.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var g=p.as,x=h(g,p.crossOrigin);i.d.L(m,g,{crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Rt.preloadModule=function(m,p){if(typeof m=="string")if(p){var g=h(p.as,p.crossOrigin);i.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else i.d.m(m)},Rt.requestFormReset=function(m){i.d.r(m)},Rt.unstable_batchedUpdates=function(m,p){return m(p)},Rt.useFormState=function(m,p,g){return d.H.useFormState(m,p,g)},Rt.useFormStatus=function(){return d.H.useHostTransitionStatus()},Rt.version="19.2.4",Rt}var Ag;function eH(){if(Ag)return j2.exports;Ag=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(a){console.error(a)}}return e(),j2.exports=WC(),j2.exports}/**
34
+ * @license React
35
+ * react-dom-client.production.js
36
+ *
37
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */var jg;function tH(){if(jg)return Ys;jg=1;var e=JC(),a=sf(),l=eH();function i(t){var n="https://react.dev/errors/"+t;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)n+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function u(t){var n=t,o=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,(n.flags&4098)!==0&&(o=n.return),t=n.return;while(t)}return n.tag===3?o:null}function d(t){if(t.tag===13){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function h(t){if(t.tag===31){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function m(t){if(u(t)!==t)throw Error(i(188))}function p(t){var n=t.alternate;if(!n){if(n=u(t),n===null)throw Error(i(188));return n!==t?null:t}for(var o=t,f=n;;){var v=o.return;if(v===null)break;var b=v.alternate;if(b===null){if(f=v.return,f!==null){o=f;continue}break}if(v.child===b.child){for(b=v.child;b;){if(b===o)return m(v),t;if(b===f)return m(v),n;b=b.sibling}throw Error(i(188))}if(o.return!==f.return)o=v,f=b;else{for(var M=!1,V=v.child;V;){if(V===o){M=!0,o=v,f=b;break}if(V===f){M=!0,f=v,o=b;break}V=V.sibling}if(!M){for(V=b.child;V;){if(V===o){M=!0,o=b,f=v;break}if(V===f){M=!0,f=b,o=v;break}V=V.sibling}if(!M)throw Error(i(189))}}if(o.alternate!==f)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?t:n}function g(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t;for(t=t.child;t!==null;){if(n=g(t),n!==null)return n;t=t.sibling}return null}var x=Object.assign,y=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),O=Symbol.for("react.memo_cache_sentinel"),I=Symbol.iterator;function X(t){return t===null||typeof t!="object"?null:(t=I&&t[I]||t["@@iterator"],typeof t=="function"?t:null)}var K=Symbol.for("react.client.reference");function B(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===K?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case E:return"Fragment";case j:return"Profiler";case A:return"StrictMode";case H:return"Suspense";case _:return"SuspenseList";case R:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case N:return"Portal";case Z:return t.displayName||"Context";case S:return(t._context.displayName||"Context")+".Consumer";case C:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case T:return n=t.displayName||null,n!==null?n:B(t.type)||"Memo";case k:n=t._payload,t=t._init;try{return B(t(n))}catch{}}return null}var Y=Array.isArray,L=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},de=[],he=-1;function D(t){return{current:t}}function te(t){0>he||(t.current=de[he],de[he]=null,he--)}function re(t,n){he++,de[he]=t.current,t.current=n}var z=D(null),q=D(null),P=D(null),oe=D(null);function me(t,n){switch(re(P,n),re(q,t),re(z,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?O5(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=O5(n),t=F5(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}te(z),re(z,t)}function be(){te(z),te(q),te(P)}function ke(t){t.memoizedState!==null&&re(oe,t);var n=z.current,o=F5(n,t.type);n!==o&&(re(q,t),re(z,o))}function Se(t){q.current===t&&(te(z),te(q)),oe.current===t&&(te(oe),$s._currentValue=W)}var Ze,se;function ye(t){if(Ze===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);Ze=n&&n[1]||"",se=-1<o.stack.indexOf(`
42
+ at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
43
+ `+Ze+t+se}var Ae=!1;function wt(t,n){if(!t||Ae)return"";Ae=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(n){var ie=function(){throw Error()};if(Object.defineProperty(ie.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ie,[])}catch(ae){var ee=ae}Reflect.construct(t,[],ie)}else{try{ie.call()}catch(ae){ee=ae}t.call(ie.prototype)}}else{try{throw Error()}catch(ae){ee=ae}(ie=t())&&typeof ie.catch=="function"&&ie.catch(function(){})}}catch(ae){if(ae&&ee&&typeof ae.stack=="string")return[ae.stack,ee.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=f.DetermineComponentFrameRoot(),M=b[0],V=b[1];if(M&&V){var F=M.split(`
44
+ `),J=V.split(`
45
+ `);for(v=f=0;f<F.length&&!F[f].includes("DetermineComponentFrameRoot");)f++;for(;v<J.length&&!J[v].includes("DetermineComponentFrameRoot");)v++;if(f===F.length||v===J.length)for(f=F.length-1,v=J.length-1;1<=f&&0<=v&&F[f]!==J[v];)v--;for(;1<=f&&0<=v;f--,v--)if(F[f]!==J[v]){if(f!==1||v!==1)do if(f--,v--,0>v||F[f]!==J[v]){var ne=`
46
+ `+F[f].replace(" at new "," at ");return t.displayName&&ne.includes("<anonymous>")&&(ne=ne.replace("<anonymous>",t.displayName)),ne}while(1<=f&&0<=v);break}}}finally{Ae=!1,Error.prepareStackTrace=o}return(o=t?t.displayName||t.name:"")?ye(o):""}function _e(t,n){switch(t.tag){case 26:case 27:case 5:return ye(t.type);case 16:return ye("Lazy");case 13:return t.child!==n&&n!==null?ye("Suspense Fallback"):ye("Suspense");case 19:return ye("SuspenseList");case 0:case 15:return wt(t.type,!1);case 11:return wt(t.type.render,!1);case 1:return wt(t.type,!0);case 31:return ye("Activity");default:return""}}function ia(t){try{var n="",o=null;do n+=_e(t,o),o=t,t=t.return;while(t);return n}catch(f){return`
47
+ Error generating stack: `+f.message+`
48
+ `+f.stack}}var oa=Object.prototype.hasOwnProperty,i0=e.unstable_scheduleCallback,at=e.unstable_cancelCallback,Tt=e.unstable_shouldYield,Lt=e.unstable_requestPaint,At=e.unstable_now,z0=e.unstable_getCurrentPriorityLevel,Tl=e.unstable_ImmediatePriority,es=e.unstable_UserBlockingPriority,Za=e.unstable_NormalPriority,Ll=e.unstable_LowPriority,ts=e.unstable_IdlePriority,ro=e.log,Rl=e.unstable_setDisableYieldValue,zt=null,lt=null;function Mn(t){if(typeof ro=="function"&&Rl(t),lt&&typeof lt.setStrictMode=="function")try{lt.setStrictMode(zt,t)}catch{}}var Qt=Math.clz32?Math.clz32:_S,CS=Math.log,HS=Math.LN2;function _S(t){return t>>>=0,t===0?32:31-(CS(t)/HS|0)|0}var kl=256,Dl=262144,Ol=4194304;function o0(t){var n=t&42;if(n!==0)return n;switch(t&-t){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Fl(t,n,o){var f=t.pendingLanes;if(f===0)return 0;var v=0,b=t.suspendedLanes,M=t.pingedLanes;t=t.warmLanes;var V=f&134217727;return V!==0?(f=V&~b,f!==0?v=o0(f):(M&=V,M!==0?v=o0(M):o||(o=V&~t,o!==0&&(v=o0(o))))):(V=f&~b,V!==0?v=o0(V):M!==0?v=o0(M):o||(o=f&~t,o!==0&&(v=o0(o)))),v===0?0:n!==0&&n!==v&&(n&b)===0&&(b=v&-v,o=n&-n,b>=o||b===32&&(o&4194048)!==0)?n:v}function as(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function VS(t,n){switch(t){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32: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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bm(){var t=Ol;return Ol<<=1,(Ol&62914560)===0&&(Ol=4194304),t}function so(t){for(var n=[],o=0;31>o;o++)n.push(t);return n}function ns(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function TS(t,n,o,f,v,b){var M=t.pendingLanes;t.pendingLanes=o,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=o,t.entangledLanes&=o,t.errorRecoveryDisabledLanes&=o,t.shellSuspendCounter=0;var V=t.entanglements,F=t.expirationTimes,J=t.hiddenUpdates;for(o=M&~o;0<o;){var ne=31-Qt(o),ie=1<<ne;V[ne]=0,F[ne]=-1;var ee=J[ne];if(ee!==null)for(J[ne]=null,ne=0;ne<ee.length;ne++){var ae=ee[ne];ae!==null&&(ae.lane&=-536870913)}o&=~ie}f!==0&&ym(t,f,0),b!==0&&v===0&&t.tag!==0&&(t.suspendedLanes|=b&~(M&~n))}function ym(t,n,o){t.pendingLanes|=n,t.suspendedLanes&=~n;var f=31-Qt(n);t.entangledLanes|=n,t.entanglements[f]=t.entanglements[f]|1073741824|o&261930}function wm(t,n){var o=t.entangledLanes|=n;for(t=t.entanglements;o;){var f=31-Qt(o),v=1<<f;v&n|t[f]&n&&(t[f]|=n),o&=~v}}function Am(t,n){var o=n&-n;return o=(o&42)!==0?1:lo(o),(o&(t.suspendedLanes|n))!==0?0:o}function lo(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function io(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function jm(){var t=$.p;return t!==0?t:(t=window.event,t===void 0?32:og(t.type))}function Em(t,n){var o=$.p;try{return $.p=t,n()}finally{$.p=o}}var Sn=Math.random().toString(36).slice(2),St="__reactFiber$"+Sn,Bt="__reactProps$"+Sn,B0="__reactContainer$"+Sn,oo="__reactEvents$"+Sn,LS="__reactListeners$"+Sn,RS="__reactHandles$"+Sn,Nm="__reactResources$"+Sn,rs="__reactMarker$"+Sn;function co(t){delete t[St],delete t[Bt],delete t[oo],delete t[LS],delete t[RS]}function $0(t){var n=t[St];if(n)return n;for(var o=t.parentNode;o;){if(n=o[B0]||o[St]){if(o=n.alternate,n.child!==null||o!==null&&o.child!==null)for(t=P5(t);t!==null;){if(o=t[St])return o;t=P5(t)}return n}t=o,o=t.parentNode}return null}function U0(t){if(t=t[St]||t[B0]){var n=t.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return t}return null}function ss(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(i(33))}function I0(t){var n=t[Nm];return n||(n=t[Nm]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function jt(t){t[rs]=!0}var Mm=new Set,Sm={};function c0(t,n){P0(t,n),P0(t+"Capture",n)}function P0(t,n){for(Sm[t]=n,t=0;t<n.length;t++)Mm.add(n[t])}var kS=RegExp("^[: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]*$"),Zm={},Cm={};function DS(t){return oa.call(Cm,t)?!0:oa.call(Zm,t)?!1:kS.test(t)?Cm[t]=!0:(Zm[t]=!0,!1)}function ql(t,n,o){if(DS(n))if(o===null)t.removeAttribute(n);else{switch(typeof o){case"undefined":case"function":case"symbol":t.removeAttribute(n);return;case"boolean":var f=n.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){t.removeAttribute(n);return}}t.setAttribute(n,""+o)}}function zl(t,n,o){if(o===null)t.removeAttribute(n);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttribute(n,""+o)}}function tn(t,n,o,f){if(f===null)t.removeAttribute(o);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(o);return}t.setAttributeNS(n,o,""+f)}}function ca(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Hm(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function OS(t,n,o){var f=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);if(!t.hasOwnProperty(n)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var v=f.get,b=f.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return v.call(this)},set:function(M){o=""+M,b.call(this,M)}}),Object.defineProperty(t,n,{enumerable:f.enumerable}),{getValue:function(){return o},setValue:function(M){o=""+M},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function uo(t){if(!t._valueTracker){var n=Hm(t)?"checked":"value";t._valueTracker=OS(t,n,""+t[n])}}function _m(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var o=n.getValue(),f="";return t&&(f=Hm(t)?t.checked?"true":"false":t.value),t=f,t!==o?(n.setValue(t),!0):!1}function Bl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var FS=/[\n"\\]/g;function ua(t){return t.replace(FS,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function ho(t,n,o,f,v,b,M,V){t.name="",M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?t.type=M:t.removeAttribute("type"),n!=null?M==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+ca(n)):t.value!==""+ca(n)&&(t.value=""+ca(n)):M!=="submit"&&M!=="reset"||t.removeAttribute("value"),n!=null?fo(t,M,ca(n)):o!=null?fo(t,M,ca(o)):f!=null&&t.removeAttribute("value"),v==null&&b!=null&&(t.defaultChecked=!!b),v!=null&&(t.checked=v&&typeof v!="function"&&typeof v!="symbol"),V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"?t.name=""+ca(V):t.removeAttribute("name")}function Vm(t,n,o,f,v,b,M,V){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(t.type=b),n!=null||o!=null){if(!(b!=="submit"&&b!=="reset"||n!=null)){uo(t);return}o=o!=null?""+ca(o):"",n=n!=null?""+ca(n):o,V||n===t.value||(t.value=n),t.defaultValue=n}f=f??v,f=typeof f!="function"&&typeof f!="symbol"&&!!f,t.checked=V?t.checked:!!f,t.defaultChecked=!!f,M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(t.name=M),uo(t)}function fo(t,n,o){n==="number"&&Bl(t.ownerDocument)===t||t.defaultValue===""+o||(t.defaultValue=""+o)}function G0(t,n,o,f){if(t=t.options,n){n={};for(var v=0;v<o.length;v++)n["$"+o[v]]=!0;for(o=0;o<t.length;o++)v=n.hasOwnProperty("$"+t[o].value),t[o].selected!==v&&(t[o].selected=v),v&&f&&(t[o].defaultSelected=!0)}else{for(o=""+ca(o),n=null,v=0;v<t.length;v++){if(t[v].value===o){t[v].selected=!0,f&&(t[v].defaultSelected=!0);return}n!==null||t[v].disabled||(n=t[v])}n!==null&&(n.selected=!0)}}function Tm(t,n,o){if(n!=null&&(n=""+ca(n),n!==t.value&&(t.value=n),o==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=o!=null?""+ca(o):""}function Lm(t,n,o,f){if(n==null){if(f!=null){if(o!=null)throw Error(i(92));if(Y(f)){if(1<f.length)throw Error(i(93));f=f[0]}o=f}o==null&&(o=""),n=o}o=ca(n),t.defaultValue=o,f=t.textContent,f===o&&f!==""&&f!==null&&(t.value=f),uo(t)}function Y0(t,n){if(n){var o=t.firstChild;if(o&&o===t.lastChild&&o.nodeType===3){o.nodeValue=n;return}}t.textContent=n}var qS=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Rm(t,n,o){var f=n.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?f?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="":f?t.setProperty(n,o):typeof o!="number"||o===0||qS.has(n)?n==="float"?t.cssFloat=o:t[n]=(""+o).trim():t[n]=o+"px"}function km(t,n,o){if(n!=null&&typeof n!="object")throw Error(i(62));if(t=t.style,o!=null){for(var f in o)!o.hasOwnProperty(f)||n!=null&&n.hasOwnProperty(f)||(f.indexOf("--")===0?t.setProperty(f,""):f==="float"?t.cssFloat="":t[f]="");for(var v in n)f=n[v],n.hasOwnProperty(v)&&o[v]!==f&&Rm(t,v,f)}else for(var b in n)n.hasOwnProperty(b)&&Rm(t,b,n[b])}function mo(t){if(t.indexOf("-")===-1)return!1;switch(t){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 zS=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),BS=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function $l(t){return BS.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function an(){}var po=null;function go(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var K0=null,X0=null;function Dm(t){var n=U0(t);if(n&&(t=n.stateNode)){var o=t[Bt]||null;e:switch(t=n.stateNode,n.type){case"input":if(ho(t,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),n=o.name,o.type==="radio"&&n!=null){for(o=t;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+ua(""+n)+'"][type="radio"]'),n=0;n<o.length;n++){var f=o[n];if(f!==t&&f.form===t.form){var v=f[Bt]||null;if(!v)throw Error(i(90));ho(f,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name)}}for(n=0;n<o.length;n++)f=o[n],f.form===t.form&&_m(f)}break e;case"textarea":Tm(t,o.value,o.defaultValue);break e;case"select":n=o.value,n!=null&&G0(t,!!o.multiple,n,!1)}}}var xo=!1;function Om(t,n,o){if(xo)return t(n,o);xo=!0;try{var f=t(n);return f}finally{if(xo=!1,(K0!==null||X0!==null)&&(Hi(),K0&&(n=K0,t=X0,X0=K0=null,Dm(n),t)))for(n=0;n<t.length;n++)Dm(t[n])}}function ls(t,n){var o=t.stateNode;if(o===null)return null;var f=o[Bt]||null;if(f===null)return null;o=f[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(t=t.type,f=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!f;break e;default:t=!1}if(t)return null;if(o&&typeof o!="function")throw Error(i(231,n,typeof o));return o}var nn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vo=!1;if(nn)try{var is={};Object.defineProperty(is,"passive",{get:function(){vo=!0}}),window.addEventListener("test",is,is),window.removeEventListener("test",is,is)}catch{vo=!1}var Zn=null,bo=null,Ul=null;function Fm(){if(Ul)return Ul;var t,n=bo,o=n.length,f,v="value"in Zn?Zn.value:Zn.textContent,b=v.length;for(t=0;t<o&&n[t]===v[t];t++);var M=o-t;for(f=1;f<=M&&n[o-f]===v[b-f];f++);return Ul=v.slice(t,1<f?1-f:void 0)}function Il(t){var n=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function Pl(){return!0}function qm(){return!1}function $t(t){function n(o,f,v,b,M){this._reactName=o,this._targetInst=v,this.type=f,this.nativeEvent=b,this.target=M,this.currentTarget=null;for(var V in t)t.hasOwnProperty(V)&&(o=t[V],this[V]=o?o(b):b[V]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?Pl:qm,this.isPropagationStopped=qm,this}return x(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Pl)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Pl)},persist:function(){},isPersistent:Pl}),n}var u0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gl=$t(u0),os=x({},u0,{view:0,detail:0}),$S=$t(os),yo,wo,cs,Yl=x({},os,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jo,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==cs&&(cs&&t.type==="mousemove"?(yo=t.screenX-cs.screenX,wo=t.screenY-cs.screenY):wo=yo=0,cs=t),yo)},movementY:function(t){return"movementY"in t?t.movementY:wo}}),zm=$t(Yl),US=x({},Yl,{dataTransfer:0}),IS=$t(US),PS=x({},os,{relatedTarget:0}),Ao=$t(PS),GS=x({},u0,{animationName:0,elapsedTime:0,pseudoElement:0}),YS=$t(GS),KS=x({},u0,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),XS=$t(KS),QS=x({},u0,{data:0}),Bm=$t(QS),JS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},WS={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"},eZ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tZ(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=eZ[t])?!!n[t]:!1}function jo(){return tZ}var aZ=x({},os,{key:function(t){if(t.key){var n=JS[t.key]||t.key;if(n!=="Unidentified")return n}return t.type==="keypress"?(t=Il(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?WS[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jo,charCode:function(t){return t.type==="keypress"?Il(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Il(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),nZ=$t(aZ),rZ=x({},Yl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$m=$t(rZ),sZ=x({},os,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jo}),lZ=$t(sZ),iZ=x({},u0,{propertyName:0,elapsedTime:0,pseudoElement:0}),oZ=$t(iZ),cZ=x({},Yl,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),uZ=$t(cZ),dZ=x({},u0,{newState:0,oldState:0}),hZ=$t(dZ),fZ=[9,13,27,32],Eo=nn&&"CompositionEvent"in window,us=null;nn&&"documentMode"in document&&(us=document.documentMode);var mZ=nn&&"TextEvent"in window&&!us,Um=nn&&(!Eo||us&&8<us&&11>=us),Im=" ",Pm=!1;function Gm(t,n){switch(t){case"keyup":return fZ.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ym(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Q0=!1;function pZ(t,n){switch(t){case"compositionend":return Ym(n);case"keypress":return n.which!==32?null:(Pm=!0,Im);case"textInput":return t=n.data,t===Im&&Pm?null:t;default:return null}}function gZ(t,n){if(Q0)return t==="compositionend"||!Eo&&Gm(t,n)?(t=Fm(),Ul=bo=Zn=null,Q0=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Um&&n.locale!=="ko"?null:n.data;default:return null}}var xZ={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 Km(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!xZ[t.type]:n==="textarea"}function Xm(t,n,o,f){K0?X0?X0.push(f):X0=[f]:K0=f,n=Di(n,"onChange"),0<n.length&&(o=new Gl("onChange","change",null,o,f),t.push({event:o,listeners:n}))}var ds=null,hs=null;function vZ(t){V5(t,0)}function Kl(t){var n=ss(t);if(_m(n))return t}function Qm(t,n){if(t==="change")return n}var Jm=!1;if(nn){var No;if(nn){var Mo="oninput"in document;if(!Mo){var Wm=document.createElement("div");Wm.setAttribute("oninput","return;"),Mo=typeof Wm.oninput=="function"}No=Mo}else No=!1;Jm=No&&(!document.documentMode||9<document.documentMode)}function e3(){ds&&(ds.detachEvent("onpropertychange",t3),hs=ds=null)}function t3(t){if(t.propertyName==="value"&&Kl(hs)){var n=[];Xm(n,hs,t,go(t)),Om(vZ,n)}}function bZ(t,n,o){t==="focusin"?(e3(),ds=n,hs=o,ds.attachEvent("onpropertychange",t3)):t==="focusout"&&e3()}function yZ(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Kl(hs)}function wZ(t,n){if(t==="click")return Kl(n)}function AZ(t,n){if(t==="input"||t==="change")return Kl(n)}function jZ(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Jt=typeof Object.is=="function"?Object.is:jZ;function fs(t,n){if(Jt(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var o=Object.keys(t),f=Object.keys(n);if(o.length!==f.length)return!1;for(f=0;f<o.length;f++){var v=o[f];if(!oa.call(n,v)||!Jt(t[v],n[v]))return!1}return!0}function a3(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function n3(t,n){var o=a3(t);t=0;for(var f;o;){if(o.nodeType===3){if(f=t+o.textContent.length,t<=n&&f>=n)return{node:o,offset:n-t};t=f}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=a3(o)}}function r3(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?r3(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function s3(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=Bl(t.document);n instanceof t.HTMLIFrameElement;){try{var o=typeof n.contentWindow.location.href=="string"}catch{o=!1}if(o)t=n.contentWindow;else break;n=Bl(t.document)}return n}function So(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var EZ=nn&&"documentMode"in document&&11>=document.documentMode,J0=null,Zo=null,ms=null,Co=!1;function l3(t,n,o){var f=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Co||J0==null||J0!==Bl(f)||(f=J0,"selectionStart"in f&&So(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),ms&&fs(ms,f)||(ms=f,f=Di(Zo,"onSelect"),0<f.length&&(n=new Gl("onSelect","select",null,n,o),t.push({event:n,listeners:f}),n.target=J0)))}function d0(t,n){var o={};return o[t.toLowerCase()]=n.toLowerCase(),o["Webkit"+t]="webkit"+n,o["Moz"+t]="moz"+n,o}var W0={animationend:d0("Animation","AnimationEnd"),animationiteration:d0("Animation","AnimationIteration"),animationstart:d0("Animation","AnimationStart"),transitionrun:d0("Transition","TransitionRun"),transitionstart:d0("Transition","TransitionStart"),transitioncancel:d0("Transition","TransitionCancel"),transitionend:d0("Transition","TransitionEnd")},Ho={},i3={};nn&&(i3=document.createElement("div").style,"AnimationEvent"in window||(delete W0.animationend.animation,delete W0.animationiteration.animation,delete W0.animationstart.animation),"TransitionEvent"in window||delete W0.transitionend.transition);function h0(t){if(Ho[t])return Ho[t];if(!W0[t])return t;var n=W0[t],o;for(o in n)if(n.hasOwnProperty(o)&&o in i3)return Ho[t]=n[o];return t}var o3=h0("animationend"),c3=h0("animationiteration"),u3=h0("animationstart"),NZ=h0("transitionrun"),MZ=h0("transitionstart"),SZ=h0("transitioncancel"),d3=h0("transitionend"),h3=new Map,_o="abort auxClick beforeToggle 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(" ");_o.push("scrollEnd");function Ca(t,n){h3.set(t,n),c0(n,[t])}var Xl=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},da=[],er=0,Vo=0;function Ql(){for(var t=er,n=Vo=er=0;n<t;){var o=da[n];da[n++]=null;var f=da[n];da[n++]=null;var v=da[n];da[n++]=null;var b=da[n];if(da[n++]=null,f!==null&&v!==null){var M=f.pending;M===null?v.next=v:(v.next=M.next,M.next=v),f.pending=v}b!==0&&f3(o,v,b)}}function Jl(t,n,o,f){da[er++]=t,da[er++]=n,da[er++]=o,da[er++]=f,Vo|=f,t.lanes|=f,t=t.alternate,t!==null&&(t.lanes|=f)}function To(t,n,o,f){return Jl(t,n,o,f),Wl(t)}function f0(t,n){return Jl(t,null,null,n),Wl(t)}function f3(t,n,o){t.lanes|=o;var f=t.alternate;f!==null&&(f.lanes|=o);for(var v=!1,b=t.return;b!==null;)b.childLanes|=o,f=b.alternate,f!==null&&(f.childLanes|=o),b.tag===22&&(t=b.stateNode,t===null||t._visibility&1||(v=!0)),t=b,b=b.return;return t.tag===3?(b=t.stateNode,v&&n!==null&&(v=31-Qt(o),t=b.hiddenUpdates,f=t[v],f===null?t[v]=[n]:f.push(n),n.lane=o|536870912),b):null}function Wl(t){if(50<ks)throw ks=0,Bc=null,Error(i(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var tr={};function ZZ(t,n,o,f){this.tag=t,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wt(t,n,o,f){return new ZZ(t,n,o,f)}function Lo(t){return t=t.prototype,!(!t||!t.isReactComponent)}function rn(t,n){var o=t.alternate;return o===null?(o=Wt(t.tag,n,t.key,t.mode),o.elementType=t.elementType,o.type=t.type,o.stateNode=t.stateNode,o.alternate=t,t.alternate=o):(o.pendingProps=n,o.type=t.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=t.flags&65011712,o.childLanes=t.childLanes,o.lanes=t.lanes,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,n=t.dependencies,o.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},o.sibling=t.sibling,o.index=t.index,o.ref=t.ref,o.refCleanup=t.refCleanup,o}function m3(t,n){t.flags&=65011714;var o=t.alternate;return o===null?(t.childLanes=0,t.lanes=n,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=o.childLanes,t.lanes=o.lanes,t.child=o.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=o.memoizedProps,t.memoizedState=o.memoizedState,t.updateQueue=o.updateQueue,t.type=o.type,n=o.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t}function ei(t,n,o,f,v,b){var M=0;if(f=t,typeof t=="function")Lo(t)&&(M=1);else if(typeof t=="string")M=TC(t,o,z.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case R:return t=Wt(31,o,n,v),t.elementType=R,t.lanes=b,t;case E:return m0(o.children,v,b,n);case A:M=8,v|=24;break;case j:return t=Wt(12,o,n,v|2),t.elementType=j,t.lanes=b,t;case H:return t=Wt(13,o,n,v),t.elementType=H,t.lanes=b,t;case _:return t=Wt(19,o,n,v),t.elementType=_,t.lanes=b,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Z:M=10;break e;case S:M=9;break e;case C:M=11;break e;case T:M=14;break e;case k:M=16,f=null;break e}M=29,o=Error(i(130,t===null?"null":typeof t,"")),f=null}return n=Wt(M,o,n,v),n.elementType=t,n.type=f,n.lanes=b,n}function m0(t,n,o,f){return t=Wt(7,t,f,n),t.lanes=o,t}function Ro(t,n,o){return t=Wt(6,t,null,n),t.lanes=o,t}function p3(t){var n=Wt(18,null,null,0);return n.stateNode=t,n}function ko(t,n,o){return n=Wt(4,t.children!==null?t.children:[],t.key,n),n.lanes=o,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var g3=new WeakMap;function ha(t,n){if(typeof t=="object"&&t!==null){var o=g3.get(t);return o!==void 0?o:(n={value:t,source:n,stack:ia(n)},g3.set(t,n),n)}return{value:t,source:n,stack:ia(n)}}var ar=[],nr=0,ti=null,ps=0,fa=[],ma=0,Cn=null,qa=1,za="";function sn(t,n){ar[nr++]=ps,ar[nr++]=ti,ti=t,ps=n}function x3(t,n,o){fa[ma++]=qa,fa[ma++]=za,fa[ma++]=Cn,Cn=t;var f=qa;t=za;var v=32-Qt(f)-1;f&=~(1<<v),o+=1;var b=32-Qt(n)+v;if(30<b){var M=v-v%5;b=(f&(1<<M)-1).toString(32),f>>=M,v-=M,qa=1<<32-Qt(n)+v|o<<v|f,za=b+t}else qa=1<<b|o<<v|f,za=t}function Do(t){t.return!==null&&(sn(t,1),x3(t,1,0))}function Oo(t){for(;t===ti;)ti=ar[--nr],ar[nr]=null,ps=ar[--nr],ar[nr]=null;for(;t===Cn;)Cn=fa[--ma],fa[ma]=null,za=fa[--ma],fa[ma]=null,qa=fa[--ma],fa[ma]=null}function v3(t,n){fa[ma++]=qa,fa[ma++]=za,fa[ma++]=Cn,qa=n.id,za=n.overflow,Cn=t}var Zt=null,Ke=null,Re=!1,Hn=null,pa=!1,Fo=Error(i(519));function _n(t){var n=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw gs(ha(n,t)),Fo}function b3(t){var n=t.stateNode,o=t.type,f=t.memoizedProps;switch(n[St]=t,n[Bt]=f,o){case"dialog":He("cancel",n),He("close",n);break;case"iframe":case"object":case"embed":He("load",n);break;case"video":case"audio":for(o=0;o<Os.length;o++)He(Os[o],n);break;case"source":He("error",n);break;case"img":case"image":case"link":He("error",n),He("load",n);break;case"details":He("toggle",n);break;case"input":He("invalid",n),Vm(n,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"select":He("invalid",n);break;case"textarea":He("invalid",n),Lm(n,f.value,f.defaultValue,f.children)}o=f.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||n.textContent===""+o||f.suppressHydrationWarning===!0||k5(n.textContent,o)?(f.popover!=null&&(He("beforetoggle",n),He("toggle",n)),f.onScroll!=null&&He("scroll",n),f.onScrollEnd!=null&&He("scrollend",n),f.onClick!=null&&(n.onclick=an),n=!0):n=!1,n||_n(t,!0)}function y3(t){for(Zt=t.return;Zt;)switch(Zt.tag){case 5:case 31:case 13:pa=!1;return;case 27:case 3:pa=!0;return;default:Zt=Zt.return}}function rr(t){if(t!==Zt)return!1;if(!Re)return y3(t),Re=!0,!1;var n=t.tag,o;if((o=n!==3&&n!==27)&&((o=n===5)&&(o=t.type,o=!(o!=="form"&&o!=="button")||n2(t.type,t.memoizedProps)),o=!o),o&&Ke&&_n(t),y3(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Ke=I5(t)}else if(n===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Ke=I5(t)}else n===27?(n=Ke,In(t.type)?(t=o2,o2=null,Ke=t):Ke=n):Ke=Zt?xa(t.stateNode.nextSibling):null;return!0}function p0(){Ke=Zt=null,Re=!1}function qo(){var t=Hn;return t!==null&&(Gt===null?Gt=t:Gt.push.apply(Gt,t),Hn=null),t}function gs(t){Hn===null?Hn=[t]:Hn.push(t)}var zo=D(null),g0=null,ln=null;function Vn(t,n,o){re(zo,n._currentValue),n._currentValue=o}function on(t){t._currentValue=zo.current,te(zo)}function Bo(t,n,o){for(;t!==null;){var f=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,f!==null&&(f.childLanes|=n)):f!==null&&(f.childLanes&n)!==n&&(f.childLanes|=n),t===o)break;t=t.return}}function $o(t,n,o,f){var v=t.child;for(v!==null&&(v.return=t);v!==null;){var b=v.dependencies;if(b!==null){var M=v.child;b=b.firstContext;e:for(;b!==null;){var V=b;b=v;for(var F=0;F<n.length;F++)if(V.context===n[F]){b.lanes|=o,V=b.alternate,V!==null&&(V.lanes|=o),Bo(b.return,o,t),f||(M=null);break e}b=V.next}}else if(v.tag===18){if(M=v.return,M===null)throw Error(i(341));M.lanes|=o,b=M.alternate,b!==null&&(b.lanes|=o),Bo(M,o,t),M=null}else M=v.child;if(M!==null)M.return=v;else for(M=v;M!==null;){if(M===t){M=null;break}if(v=M.sibling,v!==null){v.return=M.return,M=v;break}M=M.return}v=M}}function sr(t,n,o,f){t=null;for(var v=n,b=!1;v!==null;){if(!b){if((v.flags&524288)!==0)b=!0;else if((v.flags&262144)!==0)break}if(v.tag===10){var M=v.alternate;if(M===null)throw Error(i(387));if(M=M.memoizedProps,M!==null){var V=v.type;Jt(v.pendingProps.value,M.value)||(t!==null?t.push(V):t=[V])}}else if(v===oe.current){if(M=v.alternate,M===null)throw Error(i(387));M.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(t!==null?t.push($s):t=[$s])}v=v.return}t!==null&&$o(n,t,o,f),n.flags|=262144}function ai(t){for(t=t.firstContext;t!==null;){if(!Jt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function x0(t){g0=t,ln=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Ct(t){return w3(g0,t)}function ni(t,n){return g0===null&&x0(t),w3(t,n)}function w3(t,n){var o=n._currentValue;if(n={context:n,memoizedValue:o,next:null},ln===null){if(t===null)throw Error(i(308));ln=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else ln=ln.next=n;return o}var CZ=typeof AbortController<"u"?AbortController:function(){var t=[],n=this.signal={aborted:!1,addEventListener:function(o,f){t.push(f)}};this.abort=function(){n.aborted=!0,t.forEach(function(o){return o()})}},HZ=e.unstable_scheduleCallback,_Z=e.unstable_NormalPriority,ut={$$typeof:Z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Uo(){return{controller:new CZ,data:new Map,refCount:0}}function xs(t){t.refCount--,t.refCount===0&&HZ(_Z,function(){t.controller.abort()})}var vs=null,Io=0,lr=0,ir=null;function VZ(t,n){if(vs===null){var o=vs=[];Io=0,lr=Yc(),ir={status:"pending",value:void 0,then:function(f){o.push(f)}}}return Io++,n.then(A3,A3),n}function A3(){if(--Io===0&&vs!==null){ir!==null&&(ir.status="fulfilled");var t=vs;vs=null,lr=0,ir=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function TZ(t,n){var o=[],f={status:"pending",value:null,reason:null,then:function(v){o.push(v)}};return t.then(function(){f.status="fulfilled",f.value=n;for(var v=0;v<o.length;v++)(0,o[v])(n)},function(v){for(f.status="rejected",f.reason=v,v=0;v<o.length;v++)(0,o[v])(void 0)}),f}var j3=L.S;L.S=function(t,n){l5=At(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&VZ(t,n),j3!==null&&j3(t,n)};var v0=D(null);function Po(){var t=v0.current;return t!==null?t:Ge.pooledCache}function ri(t,n){n===null?re(v0,v0.current):re(v0,n.pool)}function E3(){var t=Po();return t===null?null:{parent:ut._currentValue,pool:t}}var or=Error(i(460)),Go=Error(i(474)),si=Error(i(542)),li={then:function(){}};function N3(t){return t=t.status,t==="fulfilled"||t==="rejected"}function M3(t,n,o){switch(o=t[o],o===void 0?t.push(n):o!==n&&(n.then(an,an),n=o),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Z3(t),t;default:if(typeof n.status=="string")n.then(an,an);else{if(t=Ge,t!==null&&100<t.shellSuspendCounter)throw Error(i(482));t=n,t.status="pending",t.then(function(f){if(n.status==="pending"){var v=n;v.status="fulfilled",v.value=f}},function(f){if(n.status==="pending"){var v=n;v.status="rejected",v.reason=f}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Z3(t),t}throw y0=n,or}}function b0(t){try{var n=t._init;return n(t._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(y0=o,or):o}}var y0=null;function S3(){if(y0===null)throw Error(i(459));var t=y0;return y0=null,t}function Z3(t){if(t===or||t===si)throw Error(i(483))}var cr=null,bs=0;function ii(t){var n=bs;return bs+=1,cr===null&&(cr=[]),M3(cr,t,n)}function ys(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function oi(t,n){throw n.$$typeof===y?Error(i(525)):(t=Object.prototype.toString.call(n),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function C3(t){function n(G,U){if(t){var Q=G.deletions;Q===null?(G.deletions=[U],G.flags|=16):Q.push(U)}}function o(G,U){if(!t)return null;for(;U!==null;)n(G,U),U=U.sibling;return null}function f(G){for(var U=new Map;G!==null;)G.key!==null?U.set(G.key,G):U.set(G.index,G),G=G.sibling;return U}function v(G,U){return G=rn(G,U),G.index=0,G.sibling=null,G}function b(G,U,Q){return G.index=Q,t?(Q=G.alternate,Q!==null?(Q=Q.index,Q<U?(G.flags|=67108866,U):Q):(G.flags|=67108866,U)):(G.flags|=1048576,U)}function M(G){return t&&G.alternate===null&&(G.flags|=67108866),G}function V(G,U,Q,le){return U===null||U.tag!==6?(U=Ro(Q,G.mode,le),U.return=G,U):(U=v(U,Q),U.return=G,U)}function F(G,U,Q,le){var ve=Q.type;return ve===E?ne(G,U,Q.props.children,le,Q.key):U!==null&&(U.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===k&&b0(ve)===U.type)?(U=v(U,Q.props),ys(U,Q),U.return=G,U):(U=ei(Q.type,Q.key,Q.props,null,G.mode,le),ys(U,Q),U.return=G,U)}function J(G,U,Q,le){return U===null||U.tag!==4||U.stateNode.containerInfo!==Q.containerInfo||U.stateNode.implementation!==Q.implementation?(U=ko(Q,G.mode,le),U.return=G,U):(U=v(U,Q.children||[]),U.return=G,U)}function ne(G,U,Q,le,ve){return U===null||U.tag!==7?(U=m0(Q,G.mode,le,ve),U.return=G,U):(U=v(U,Q),U.return=G,U)}function ie(G,U,Q){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return U=Ro(""+U,G.mode,Q),U.return=G,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case w:return Q=ei(U.type,U.key,U.props,null,G.mode,Q),ys(Q,U),Q.return=G,Q;case N:return U=ko(U,G.mode,Q),U.return=G,U;case k:return U=b0(U),ie(G,U,Q)}if(Y(U)||X(U))return U=m0(U,G.mode,Q,null),U.return=G,U;if(typeof U.then=="function")return ie(G,ii(U),Q);if(U.$$typeof===Z)return ie(G,ni(G,U),Q);oi(G,U)}return null}function ee(G,U,Q,le){var ve=U!==null?U.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return ve!==null?null:V(G,U,""+Q,le);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case w:return Q.key===ve?F(G,U,Q,le):null;case N:return Q.key===ve?J(G,U,Q,le):null;case k:return Q=b0(Q),ee(G,U,Q,le)}if(Y(Q)||X(Q))return ve!==null?null:ne(G,U,Q,le,null);if(typeof Q.then=="function")return ee(G,U,ii(Q),le);if(Q.$$typeof===Z)return ee(G,U,ni(G,Q),le);oi(G,Q)}return null}function ae(G,U,Q,le,ve){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return G=G.get(Q)||null,V(U,G,""+le,ve);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case w:return G=G.get(le.key===null?Q:le.key)||null,F(U,G,le,ve);case N:return G=G.get(le.key===null?Q:le.key)||null,J(U,G,le,ve);case k:return le=b0(le),ae(G,U,Q,le,ve)}if(Y(le)||X(le))return G=G.get(Q)||null,ne(U,G,le,ve,null);if(typeof le.then=="function")return ae(G,U,Q,ii(le),ve);if(le.$$typeof===Z)return ae(G,U,Q,ni(U,le),ve);oi(U,le)}return null}function pe(G,U,Q,le){for(var ve=null,Oe=null,xe=U,Me=U=0,Te=null;xe!==null&&Me<Q.length;Me++){xe.index>Me?(Te=xe,xe=null):Te=xe.sibling;var Fe=ee(G,xe,Q[Me],le);if(Fe===null){xe===null&&(xe=Te);break}t&&xe&&Fe.alternate===null&&n(G,xe),U=b(Fe,U,Me),Oe===null?ve=Fe:Oe.sibling=Fe,Oe=Fe,xe=Te}if(Me===Q.length)return o(G,xe),Re&&sn(G,Me),ve;if(xe===null){for(;Me<Q.length;Me++)xe=ie(G,Q[Me],le),xe!==null&&(U=b(xe,U,Me),Oe===null?ve=xe:Oe.sibling=xe,Oe=xe);return Re&&sn(G,Me),ve}for(xe=f(xe);Me<Q.length;Me++)Te=ae(xe,G,Me,Q[Me],le),Te!==null&&(t&&Te.alternate!==null&&xe.delete(Te.key===null?Me:Te.key),U=b(Te,U,Me),Oe===null?ve=Te:Oe.sibling=Te,Oe=Te);return t&&xe.forEach(function(Xn){return n(G,Xn)}),Re&&sn(G,Me),ve}function we(G,U,Q,le){if(Q==null)throw Error(i(151));for(var ve=null,Oe=null,xe=U,Me=U=0,Te=null,Fe=Q.next();xe!==null&&!Fe.done;Me++,Fe=Q.next()){xe.index>Me?(Te=xe,xe=null):Te=xe.sibling;var Xn=ee(G,xe,Fe.value,le);if(Xn===null){xe===null&&(xe=Te);break}t&&xe&&Xn.alternate===null&&n(G,xe),U=b(Xn,U,Me),Oe===null?ve=Xn:Oe.sibling=Xn,Oe=Xn,xe=Te}if(Fe.done)return o(G,xe),Re&&sn(G,Me),ve;if(xe===null){for(;!Fe.done;Me++,Fe=Q.next())Fe=ie(G,Fe.value,le),Fe!==null&&(U=b(Fe,U,Me),Oe===null?ve=Fe:Oe.sibling=Fe,Oe=Fe);return Re&&sn(G,Me),ve}for(xe=f(xe);!Fe.done;Me++,Fe=Q.next())Fe=ae(xe,G,Me,Fe.value,le),Fe!==null&&(t&&Fe.alternate!==null&&xe.delete(Fe.key===null?Me:Fe.key),U=b(Fe,U,Me),Oe===null?ve=Fe:Oe.sibling=Fe,Oe=Fe);return t&&xe.forEach(function(UC){return n(G,UC)}),Re&&sn(G,Me),ve}function Pe(G,U,Q,le){if(typeof Q=="object"&&Q!==null&&Q.type===E&&Q.key===null&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case w:e:{for(var ve=Q.key;U!==null;){if(U.key===ve){if(ve=Q.type,ve===E){if(U.tag===7){o(G,U.sibling),le=v(U,Q.props.children),le.return=G,G=le;break e}}else if(U.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===k&&b0(ve)===U.type){o(G,U.sibling),le=v(U,Q.props),ys(le,Q),le.return=G,G=le;break e}o(G,U);break}else n(G,U);U=U.sibling}Q.type===E?(le=m0(Q.props.children,G.mode,le,Q.key),le.return=G,G=le):(le=ei(Q.type,Q.key,Q.props,null,G.mode,le),ys(le,Q),le.return=G,G=le)}return M(G);case N:e:{for(ve=Q.key;U!==null;){if(U.key===ve)if(U.tag===4&&U.stateNode.containerInfo===Q.containerInfo&&U.stateNode.implementation===Q.implementation){o(G,U.sibling),le=v(U,Q.children||[]),le.return=G,G=le;break e}else{o(G,U);break}else n(G,U);U=U.sibling}le=ko(Q,G.mode,le),le.return=G,G=le}return M(G);case k:return Q=b0(Q),Pe(G,U,Q,le)}if(Y(Q))return pe(G,U,Q,le);if(X(Q)){if(ve=X(Q),typeof ve!="function")throw Error(i(150));return Q=ve.call(Q),we(G,U,Q,le)}if(typeof Q.then=="function")return Pe(G,U,ii(Q),le);if(Q.$$typeof===Z)return Pe(G,U,ni(G,Q),le);oi(G,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint"?(Q=""+Q,U!==null&&U.tag===6?(o(G,U.sibling),le=v(U,Q),le.return=G,G=le):(o(G,U),le=Ro(Q,G.mode,le),le.return=G,G=le),M(G)):o(G,U)}return function(G,U,Q,le){try{bs=0;var ve=Pe(G,U,Q,le);return cr=null,ve}catch(xe){if(xe===or||xe===si)throw xe;var Oe=Wt(29,xe,null,G.mode);return Oe.lanes=le,Oe.return=G,Oe}finally{}}}var w0=C3(!0),H3=C3(!1),Tn=!1;function Yo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ko(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Ln(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Rn(t,n,o){var f=t.updateQueue;if(f===null)return null;if(f=f.shared,(qe&2)!==0){var v=f.pending;return v===null?n.next=n:(n.next=v.next,v.next=n),f.pending=n,n=Wl(t),f3(t,null,o),n}return Jl(t,f,n,o),Wl(t)}function ws(t,n,o){if(n=n.updateQueue,n!==null&&(n=n.shared,(o&4194048)!==0)){var f=n.lanes;f&=t.pendingLanes,o|=f,n.lanes=o,wm(t,o)}}function Xo(t,n){var o=t.updateQueue,f=t.alternate;if(f!==null&&(f=f.updateQueue,o===f)){var v=null,b=null;if(o=o.firstBaseUpdate,o!==null){do{var M={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};b===null?v=b=M:b=b.next=M,o=o.next}while(o!==null);b===null?v=b=n:b=b.next=n}else v=b=n;o={baseState:f.baseState,firstBaseUpdate:v,lastBaseUpdate:b,shared:f.shared,callbacks:f.callbacks},t.updateQueue=o;return}t=o.lastBaseUpdate,t===null?o.firstBaseUpdate=n:t.next=n,o.lastBaseUpdate=n}var Qo=!1;function As(){if(Qo){var t=ir;if(t!==null)throw t}}function js(t,n,o,f){Qo=!1;var v=t.updateQueue;Tn=!1;var b=v.firstBaseUpdate,M=v.lastBaseUpdate,V=v.shared.pending;if(V!==null){v.shared.pending=null;var F=V,J=F.next;F.next=null,M===null?b=J:M.next=J,M=F;var ne=t.alternate;ne!==null&&(ne=ne.updateQueue,V=ne.lastBaseUpdate,V!==M&&(V===null?ne.firstBaseUpdate=J:V.next=J,ne.lastBaseUpdate=F))}if(b!==null){var ie=v.baseState;M=0,ne=J=F=null,V=b;do{var ee=V.lane&-536870913,ae=ee!==V.lane;if(ae?(Ve&ee)===ee:(f&ee)===ee){ee!==0&&ee===lr&&(Qo=!0),ne!==null&&(ne=ne.next={lane:0,tag:V.tag,payload:V.payload,callback:null,next:null});e:{var pe=t,we=V;ee=n;var Pe=o;switch(we.tag){case 1:if(pe=we.payload,typeof pe=="function"){ie=pe.call(Pe,ie,ee);break e}ie=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=we.payload,ee=typeof pe=="function"?pe.call(Pe,ie,ee):pe,ee==null)break e;ie=x({},ie,ee);break e;case 2:Tn=!0}}ee=V.callback,ee!==null&&(t.flags|=64,ae&&(t.flags|=8192),ae=v.callbacks,ae===null?v.callbacks=[ee]:ae.push(ee))}else ae={lane:ee,tag:V.tag,payload:V.payload,callback:V.callback,next:null},ne===null?(J=ne=ae,F=ie):ne=ne.next=ae,M|=ee;if(V=V.next,V===null){if(V=v.shared.pending,V===null)break;ae=V,V=ae.next,ae.next=null,v.lastBaseUpdate=ae,v.shared.pending=null}}while(!0);ne===null&&(F=ie),v.baseState=F,v.firstBaseUpdate=J,v.lastBaseUpdate=ne,b===null&&(v.shared.lanes=0),qn|=M,t.lanes=M,t.memoizedState=ie}}function _3(t,n){if(typeof t!="function")throw Error(i(191,t));t.call(n)}function V3(t,n){var o=t.callbacks;if(o!==null)for(t.callbacks=null,t=0;t<o.length;t++)_3(o[t],n)}var ur=D(null),ci=D(0);function T3(t,n){t=xn,re(ci,t),re(ur,n),xn=t|n.baseLanes}function Jo(){re(ci,xn),re(ur,ur.current)}function Wo(){xn=ci.current,te(ur),te(ci)}var ea=D(null),ga=null;function kn(t){var n=t.alternate;re(it,it.current&1),re(ea,t),ga===null&&(n===null||ur.current!==null||n.memoizedState!==null)&&(ga=t)}function ec(t){re(it,it.current),re(ea,t),ga===null&&(ga=t)}function L3(t){t.tag===22?(re(it,it.current),re(ea,t),ga===null&&(ga=t)):Dn()}function Dn(){re(it,it.current),re(ea,ea.current)}function ta(t){te(ea),ga===t&&(ga=null),te(it)}var it=D(0);function ui(t){for(var n=t;n!==null;){if(n.tag===13){var o=n.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||l2(o)||i2(o)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var cn=0,Ne=null,Ue=null,dt=null,di=!1,dr=!1,A0=!1,hi=0,Es=0,hr=null,LZ=0;function nt(){throw Error(i(321))}function tc(t,n){if(n===null)return!1;for(var o=0;o<n.length&&o<t.length;o++)if(!Jt(t[o],n[o]))return!1;return!0}function ac(t,n,o,f,v,b){return cn=b,Ne=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,L.H=t===null||t.memoizedState===null?xp:xc,A0=!1,b=o(f,v),A0=!1,dr&&(b=k3(n,o,f,v)),R3(t),b}function R3(t){L.H=Ss;var n=Ue!==null&&Ue.next!==null;if(cn=0,dt=Ue=Ne=null,di=!1,Es=0,hr=null,n)throw Error(i(300));t===null||ht||(t=t.dependencies,t!==null&&ai(t)&&(ht=!0))}function k3(t,n,o,f){Ne=t;var v=0;do{if(dr&&(hr=null),Es=0,dr=!1,25<=v)throw Error(i(301));if(v+=1,dt=Ue=null,t.updateQueue!=null){var b=t.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}L.H=vp,b=n(o,f)}while(dr);return b}function RZ(){var t=L.H,n=t.useState()[0];return n=typeof n.then=="function"?Ns(n):n,t=t.useState()[0],(Ue!==null?Ue.memoizedState:null)!==t&&(Ne.flags|=1024),n}function nc(){var t=hi!==0;return hi=0,t}function rc(t,n,o){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~o}function sc(t){if(di){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}di=!1}cn=0,dt=Ue=Ne=null,dr=!1,Es=hi=0,hr=null}function Dt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?Ne.memoizedState=dt=t:dt=dt.next=t,dt}function ot(){if(Ue===null){var t=Ne.alternate;t=t!==null?t.memoizedState:null}else t=Ue.next;var n=dt===null?Ne.memoizedState:dt.next;if(n!==null)dt=n,Ue=t;else{if(t===null)throw Ne.alternate===null?Error(i(467)):Error(i(310));Ue=t,t={memoizedState:Ue.memoizedState,baseState:Ue.baseState,baseQueue:Ue.baseQueue,queue:Ue.queue,next:null},dt===null?Ne.memoizedState=dt=t:dt=dt.next=t}return dt}function fi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ns(t){var n=Es;return Es+=1,hr===null&&(hr=[]),t=M3(hr,t,n),n=Ne,(dt===null?n.memoizedState:dt.next)===null&&(n=n.alternate,L.H=n===null||n.memoizedState===null?xp:xc),t}function mi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ns(t);if(t.$$typeof===Z)return Ct(t)}throw Error(i(438,String(t)))}function lc(t){var n=null,o=Ne.updateQueue;if(o!==null&&(n=o.memoCache),n==null){var f=Ne.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(n={data:f.data.map(function(v){return v.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),o===null&&(o=fi(),Ne.updateQueue=o),o.memoCache=n,o=n.data[n.index],o===void 0)for(o=n.data[n.index]=Array(t),f=0;f<t;f++)o[f]=O;return n.index++,o}function un(t,n){return typeof n=="function"?n(t):n}function pi(t){var n=ot();return ic(n,Ue,t)}function ic(t,n,o){var f=t.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=o;var v=t.baseQueue,b=f.pending;if(b!==null){if(v!==null){var M=v.next;v.next=b.next,b.next=M}n.baseQueue=v=b,f.pending=null}if(b=t.baseState,v===null)t.memoizedState=b;else{n=v.next;var V=M=null,F=null,J=n,ne=!1;do{var ie=J.lane&-536870913;if(ie!==J.lane?(Ve&ie)===ie:(cn&ie)===ie){var ee=J.revertLane;if(ee===0)F!==null&&(F=F.next={lane:0,revertLane:0,gesture:null,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null}),ie===lr&&(ne=!0);else if((cn&ee)===ee){J=J.next,ee===lr&&(ne=!0);continue}else ie={lane:0,revertLane:J.revertLane,gesture:null,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null},F===null?(V=F=ie,M=b):F=F.next=ie,Ne.lanes|=ee,qn|=ee;ie=J.action,A0&&o(b,ie),b=J.hasEagerState?J.eagerState:o(b,ie)}else ee={lane:ie,revertLane:J.revertLane,gesture:J.gesture,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null},F===null?(V=F=ee,M=b):F=F.next=ee,Ne.lanes|=ie,qn|=ie;J=J.next}while(J!==null&&J!==n);if(F===null?M=b:F.next=V,!Jt(b,t.memoizedState)&&(ht=!0,ne&&(o=ir,o!==null)))throw o;t.memoizedState=b,t.baseState=M,t.baseQueue=F,f.lastRenderedState=b}return v===null&&(f.lanes=0),[t.memoizedState,f.dispatch]}function oc(t){var n=ot(),o=n.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=t;var f=o.dispatch,v=o.pending,b=n.memoizedState;if(v!==null){o.pending=null;var M=v=v.next;do b=t(b,M.action),M=M.next;while(M!==v);Jt(b,n.memoizedState)||(ht=!0),n.memoizedState=b,n.baseQueue===null&&(n.baseState=b),o.lastRenderedState=b}return[b,f]}function D3(t,n,o){var f=Ne,v=ot(),b=Re;if(b){if(o===void 0)throw Error(i(407));o=o()}else o=n();var M=!Jt((Ue||v).memoizedState,o);if(M&&(v.memoizedState=o,ht=!0),v=v.queue,dc(q3.bind(null,f,v,t),[t]),v.getSnapshot!==n||M||dt!==null&&dt.memoizedState.tag&1){if(f.flags|=2048,fr(9,{destroy:void 0},F3.bind(null,f,v,o,n),null),Ge===null)throw Error(i(349));b||(cn&127)!==0||O3(f,n,o)}return o}function O3(t,n,o){t.flags|=16384,t={getSnapshot:n,value:o},n=Ne.updateQueue,n===null?(n=fi(),Ne.updateQueue=n,n.stores=[t]):(o=n.stores,o===null?n.stores=[t]:o.push(t))}function F3(t,n,o,f){n.value=o,n.getSnapshot=f,z3(n)&&B3(t)}function q3(t,n,o){return o(function(){z3(n)&&B3(t)})}function z3(t){var n=t.getSnapshot;t=t.value;try{var o=n();return!Jt(t,o)}catch{return!0}}function B3(t){var n=f0(t,2);n!==null&&Yt(n,t,2)}function cc(t){var n=Dt();if(typeof t=="function"){var o=t;if(t=o(),A0){Mn(!0);try{o()}finally{Mn(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:un,lastRenderedState:t},n}function $3(t,n,o,f){return t.baseState=o,ic(t,Ue,typeof f=="function"?f:un)}function kZ(t,n,o,f,v){if(vi(t))throw Error(i(485));if(t=n.action,t!==null){var b={payload:v,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(M){b.listeners.push(M)}};L.T!==null?o(!0):b.isTransition=!1,f(b),o=n.pending,o===null?(b.next=n.pending=b,U3(n,b)):(b.next=o.next,n.pending=o.next=b)}}function U3(t,n){var o=n.action,f=n.payload,v=t.state;if(n.isTransition){var b=L.T,M={};L.T=M;try{var V=o(v,f),F=L.S;F!==null&&F(M,V),I3(t,n,V)}catch(J){uc(t,n,J)}finally{b!==null&&M.types!==null&&(b.types=M.types),L.T=b}}else try{b=o(v,f),I3(t,n,b)}catch(J){uc(t,n,J)}}function I3(t,n,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(f){P3(t,n,f)},function(f){return uc(t,n,f)}):P3(t,n,o)}function P3(t,n,o){n.status="fulfilled",n.value=o,G3(n),t.state=o,n=t.pending,n!==null&&(o=n.next,o===n?t.pending=null:(o=o.next,n.next=o,U3(t,o)))}function uc(t,n,o){var f=t.pending;if(t.pending=null,f!==null){f=f.next;do n.status="rejected",n.reason=o,G3(n),n=n.next;while(n!==f)}t.action=null}function G3(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function Y3(t,n){return n}function K3(t,n){if(Re){var o=Ge.formState;if(o!==null){e:{var f=Ne;if(Re){if(Ke){t:{for(var v=Ke,b=pa;v.nodeType!==8;){if(!b){v=null;break t}if(v=xa(v.nextSibling),v===null){v=null;break t}}b=v.data,v=b==="F!"||b==="F"?v:null}if(v){Ke=xa(v.nextSibling),f=v.data==="F!";break e}}_n(f)}f=!1}f&&(n=o[0])}}return o=Dt(),o.memoizedState=o.baseState=n,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y3,lastRenderedState:n},o.queue=f,o=mp.bind(null,Ne,f),f.dispatch=o,f=cc(!1),b=gc.bind(null,Ne,!1,f.queue),f=Dt(),v={state:n,dispatch:null,action:t,pending:null},f.queue=v,o=kZ.bind(null,Ne,v,b,o),v.dispatch=o,f.memoizedState=t,[n,o,!1]}function X3(t){var n=ot();return Q3(n,Ue,t)}function Q3(t,n,o){if(n=ic(t,n,Y3)[0],t=pi(un)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var f=Ns(n)}catch(M){throw M===or?si:M}else f=n;n=ot();var v=n.queue,b=v.dispatch;return o!==n.memoizedState&&(Ne.flags|=2048,fr(9,{destroy:void 0},DZ.bind(null,v,o),null)),[f,b,t]}function DZ(t,n){t.action=n}function J3(t){var n=ot(),o=Ue;if(o!==null)return Q3(n,o,t);ot(),n=n.memoizedState,o=ot();var f=o.queue.dispatch;return o.memoizedState=t,[n,f,!1]}function fr(t,n,o,f){return t={tag:t,create:o,deps:f,inst:n,next:null},n=Ne.updateQueue,n===null&&(n=fi(),Ne.updateQueue=n),o=n.lastEffect,o===null?n.lastEffect=t.next=t:(f=o.next,o.next=t,t.next=f,n.lastEffect=t),t}function W3(){return ot().memoizedState}function gi(t,n,o,f){var v=Dt();Ne.flags|=t,v.memoizedState=fr(1|n,{destroy:void 0},o,f===void 0?null:f)}function xi(t,n,o,f){var v=ot();f=f===void 0?null:f;var b=v.memoizedState.inst;Ue!==null&&f!==null&&tc(f,Ue.memoizedState.deps)?v.memoizedState=fr(n,b,o,f):(Ne.flags|=t,v.memoizedState=fr(1|n,b,o,f))}function ep(t,n){gi(8390656,8,t,n)}function dc(t,n){xi(2048,8,t,n)}function OZ(t){Ne.flags|=4;var n=Ne.updateQueue;if(n===null)n=fi(),Ne.updateQueue=n,n.events=[t];else{var o=n.events;o===null?n.events=[t]:o.push(t)}}function tp(t){var n=ot().memoizedState;return OZ({ref:n,nextImpl:t}),function(){if((qe&2)!==0)throw Error(i(440));return n.impl.apply(void 0,arguments)}}function ap(t,n){return xi(4,2,t,n)}function np(t,n){return xi(4,4,t,n)}function rp(t,n){if(typeof n=="function"){t=t();var o=n(t);return function(){typeof o=="function"?o():n(null)}}if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function sp(t,n,o){o=o!=null?o.concat([t]):null,xi(4,4,rp.bind(null,n,t),o)}function hc(){}function lp(t,n){var o=ot();n=n===void 0?null:n;var f=o.memoizedState;return n!==null&&tc(n,f[1])?f[0]:(o.memoizedState=[t,n],t)}function ip(t,n){var o=ot();n=n===void 0?null:n;var f=o.memoizedState;if(n!==null&&tc(n,f[1]))return f[0];if(f=t(),A0){Mn(!0);try{t()}finally{Mn(!1)}}return o.memoizedState=[f,n],f}function fc(t,n,o){return o===void 0||(cn&1073741824)!==0&&(Ve&261930)===0?t.memoizedState=n:(t.memoizedState=o,t=o5(),Ne.lanes|=t,qn|=t,o)}function op(t,n,o,f){return Jt(o,n)?o:ur.current!==null?(t=fc(t,o,f),Jt(t,n)||(ht=!0),t):(cn&42)===0||(cn&1073741824)!==0&&(Ve&261930)===0?(ht=!0,t.memoizedState=o):(t=o5(),Ne.lanes|=t,qn|=t,n)}function cp(t,n,o,f,v){var b=$.p;$.p=b!==0&&8>b?b:8;var M=L.T,V={};L.T=V,gc(t,!1,n,o);try{var F=v(),J=L.S;if(J!==null&&J(V,F),F!==null&&typeof F=="object"&&typeof F.then=="function"){var ne=TZ(F,f);Ms(t,n,ne,ra(t))}else Ms(t,n,f,ra(t))}catch(ie){Ms(t,n,{then:function(){},status:"rejected",reason:ie},ra())}finally{$.p=b,M!==null&&V.types!==null&&(M.types=V.types),L.T=M}}function FZ(){}function mc(t,n,o,f){if(t.tag!==5)throw Error(i(476));var v=up(t).queue;cp(t,v,n,W,o===null?FZ:function(){return dp(t),o(f)})}function up(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:un,lastRenderedState:W},next:null};var o={};return n.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:un,lastRenderedState:o},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function dp(t){var n=up(t);n.next===null&&(n=t.alternate.memoizedState),Ms(t,n.next.queue,{},ra())}function pc(){return Ct($s)}function hp(){return ot().memoizedState}function fp(){return ot().memoizedState}function qZ(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var o=ra();t=Ln(o);var f=Rn(n,t,o);f!==null&&(Yt(f,n,o),ws(f,n,o)),n={cache:Uo()},t.payload=n;return}n=n.return}}function zZ(t,n,o){var f=ra();o={lane:f,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},vi(t)?pp(n,o):(o=To(t,n,o,f),o!==null&&(Yt(o,t,f),gp(o,n,f)))}function mp(t,n,o){var f=ra();Ms(t,n,o,f)}function Ms(t,n,o,f){var v={lane:f,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(vi(t))pp(n,v);else{var b=t.alternate;if(t.lanes===0&&(b===null||b.lanes===0)&&(b=n.lastRenderedReducer,b!==null))try{var M=n.lastRenderedState,V=b(M,o);if(v.hasEagerState=!0,v.eagerState=V,Jt(V,M))return Jl(t,n,v,0),Ge===null&&Ql(),!1}catch{}finally{}if(o=To(t,n,v,f),o!==null)return Yt(o,t,f),gp(o,n,f),!0}return!1}function gc(t,n,o,f){if(f={lane:2,revertLane:Yc(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},vi(t)){if(n)throw Error(i(479))}else n=To(t,o,f,2),n!==null&&Yt(n,t,2)}function vi(t){var n=t.alternate;return t===Ne||n!==null&&n===Ne}function pp(t,n){dr=di=!0;var o=t.pending;o===null?n.next=n:(n.next=o.next,o.next=n),t.pending=n}function gp(t,n,o){if((o&4194048)!==0){var f=n.lanes;f&=t.pendingLanes,o|=f,n.lanes=o,wm(t,o)}}var Ss={readContext:Ct,use:mi,useCallback:nt,useContext:nt,useEffect:nt,useImperativeHandle:nt,useLayoutEffect:nt,useInsertionEffect:nt,useMemo:nt,useReducer:nt,useRef:nt,useState:nt,useDebugValue:nt,useDeferredValue:nt,useTransition:nt,useSyncExternalStore:nt,useId:nt,useHostTransitionStatus:nt,useFormState:nt,useActionState:nt,useOptimistic:nt,useMemoCache:nt,useCacheRefresh:nt};Ss.useEffectEvent=nt;var xp={readContext:Ct,use:mi,useCallback:function(t,n){return Dt().memoizedState=[t,n===void 0?null:n],t},useContext:Ct,useEffect:ep,useImperativeHandle:function(t,n,o){o=o!=null?o.concat([t]):null,gi(4194308,4,rp.bind(null,n,t),o)},useLayoutEffect:function(t,n){return gi(4194308,4,t,n)},useInsertionEffect:function(t,n){gi(4,2,t,n)},useMemo:function(t,n){var o=Dt();n=n===void 0?null:n;var f=t();if(A0){Mn(!0);try{t()}finally{Mn(!1)}}return o.memoizedState=[f,n],f},useReducer:function(t,n,o){var f=Dt();if(o!==void 0){var v=o(n);if(A0){Mn(!0);try{o(n)}finally{Mn(!1)}}}else v=n;return f.memoizedState=f.baseState=v,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:v},f.queue=t,t=t.dispatch=zZ.bind(null,Ne,t),[f.memoizedState,t]},useRef:function(t){var n=Dt();return t={current:t},n.memoizedState=t},useState:function(t){t=cc(t);var n=t.queue,o=mp.bind(null,Ne,n);return n.dispatch=o,[t.memoizedState,o]},useDebugValue:hc,useDeferredValue:function(t,n){var o=Dt();return fc(o,t,n)},useTransition:function(){var t=cc(!1);return t=cp.bind(null,Ne,t.queue,!0,!1),Dt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,o){var f=Ne,v=Dt();if(Re){if(o===void 0)throw Error(i(407));o=o()}else{if(o=n(),Ge===null)throw Error(i(349));(Ve&127)!==0||O3(f,n,o)}v.memoizedState=o;var b={value:o,getSnapshot:n};return v.queue=b,ep(q3.bind(null,f,b,t),[t]),f.flags|=2048,fr(9,{destroy:void 0},F3.bind(null,f,b,o,n),null),o},useId:function(){var t=Dt(),n=Ge.identifierPrefix;if(Re){var o=za,f=qa;o=(f&~(1<<32-Qt(f)-1)).toString(32)+o,n="_"+n+"R_"+o,o=hi++,0<o&&(n+="H"+o.toString(32)),n+="_"}else o=LZ++,n="_"+n+"r_"+o.toString(32)+"_";return t.memoizedState=n},useHostTransitionStatus:pc,useFormState:K3,useActionState:K3,useOptimistic:function(t){var n=Dt();n.memoizedState=n.baseState=t;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=o,n=gc.bind(null,Ne,!0,o),o.dispatch=n,[t,n]},useMemoCache:lc,useCacheRefresh:function(){return Dt().memoizedState=qZ.bind(null,Ne)},useEffectEvent:function(t){var n=Dt(),o={impl:t};return n.memoizedState=o,function(){if((qe&2)!==0)throw Error(i(440));return o.impl.apply(void 0,arguments)}}},xc={readContext:Ct,use:mi,useCallback:lp,useContext:Ct,useEffect:dc,useImperativeHandle:sp,useInsertionEffect:ap,useLayoutEffect:np,useMemo:ip,useReducer:pi,useRef:W3,useState:function(){return pi(un)},useDebugValue:hc,useDeferredValue:function(t,n){var o=ot();return op(o,Ue.memoizedState,t,n)},useTransition:function(){var t=pi(un)[0],n=ot().memoizedState;return[typeof t=="boolean"?t:Ns(t),n]},useSyncExternalStore:D3,useId:hp,useHostTransitionStatus:pc,useFormState:X3,useActionState:X3,useOptimistic:function(t,n){var o=ot();return $3(o,Ue,t,n)},useMemoCache:lc,useCacheRefresh:fp};xc.useEffectEvent=tp;var vp={readContext:Ct,use:mi,useCallback:lp,useContext:Ct,useEffect:dc,useImperativeHandle:sp,useInsertionEffect:ap,useLayoutEffect:np,useMemo:ip,useReducer:oc,useRef:W3,useState:function(){return oc(un)},useDebugValue:hc,useDeferredValue:function(t,n){var o=ot();return Ue===null?fc(o,t,n):op(o,Ue.memoizedState,t,n)},useTransition:function(){var t=oc(un)[0],n=ot().memoizedState;return[typeof t=="boolean"?t:Ns(t),n]},useSyncExternalStore:D3,useId:hp,useHostTransitionStatus:pc,useFormState:J3,useActionState:J3,useOptimistic:function(t,n){var o=ot();return Ue!==null?$3(o,Ue,t,n):(o.baseState=t,[t,o.queue.dispatch])},useMemoCache:lc,useCacheRefresh:fp};vp.useEffectEvent=tp;function vc(t,n,o,f){n=t.memoizedState,o=o(f,n),o=o==null?n:x({},n,o),t.memoizedState=o,t.lanes===0&&(t.updateQueue.baseState=o)}var bc={enqueueSetState:function(t,n,o){t=t._reactInternals;var f=ra(),v=Ln(f);v.payload=n,o!=null&&(v.callback=o),n=Rn(t,v,f),n!==null&&(Yt(n,t,f),ws(n,t,f))},enqueueReplaceState:function(t,n,o){t=t._reactInternals;var f=ra(),v=Ln(f);v.tag=1,v.payload=n,o!=null&&(v.callback=o),n=Rn(t,v,f),n!==null&&(Yt(n,t,f),ws(n,t,f))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var o=ra(),f=Ln(o);f.tag=2,n!=null&&(f.callback=n),n=Rn(t,f,o),n!==null&&(Yt(n,t,o),ws(n,t,o))}};function bp(t,n,o,f,v,b,M){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(f,b,M):n.prototype&&n.prototype.isPureReactComponent?!fs(o,f)||!fs(v,b):!0}function yp(t,n,o,f){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(o,f),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(o,f),n.state!==t&&bc.enqueueReplaceState(n,n.state,null)}function j0(t,n){var o=n;if("ref"in n){o={};for(var f in n)f!=="ref"&&(o[f]=n[f])}if(t=t.defaultProps){o===n&&(o=x({},o));for(var v in t)o[v]===void 0&&(o[v]=t[v])}return o}function wp(t){Xl(t)}function Ap(t){console.error(t)}function jp(t){Xl(t)}function bi(t,n){try{var o=t.onUncaughtError;o(n.value,{componentStack:n.stack})}catch(f){setTimeout(function(){throw f})}}function Ep(t,n,o){try{var f=t.onCaughtError;f(o.value,{componentStack:o.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function yc(t,n,o){return o=Ln(o),o.tag=3,o.payload={element:null},o.callback=function(){bi(t,n)},o}function Np(t){return t=Ln(t),t.tag=3,t}function Mp(t,n,o,f){var v=o.type.getDerivedStateFromError;if(typeof v=="function"){var b=f.value;t.payload=function(){return v(b)},t.callback=function(){Ep(n,o,f)}}var M=o.stateNode;M!==null&&typeof M.componentDidCatch=="function"&&(t.callback=function(){Ep(n,o,f),typeof v!="function"&&(zn===null?zn=new Set([this]):zn.add(this));var V=f.stack;this.componentDidCatch(f.value,{componentStack:V!==null?V:""})})}function BZ(t,n,o,f,v){if(o.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(n=o.alternate,n!==null&&sr(n,o,v,!0),o=ea.current,o!==null){switch(o.tag){case 31:case 13:return ga===null?_i():o.alternate===null&&rt===0&&(rt=3),o.flags&=-257,o.flags|=65536,o.lanes=v,f===li?o.flags|=16384:(n=o.updateQueue,n===null?o.updateQueue=new Set([f]):n.add(f),Ic(t,f,v)),!1;case 22:return o.flags|=65536,f===li?o.flags|=16384:(n=o.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([f])},o.updateQueue=n):(o=n.retryQueue,o===null?n.retryQueue=new Set([f]):o.add(f)),Ic(t,f,v)),!1}throw Error(i(435,o.tag))}return Ic(t,f,v),_i(),!1}if(Re)return n=ea.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=v,f!==Fo&&(t=Error(i(422),{cause:f}),gs(ha(t,o)))):(f!==Fo&&(n=Error(i(423),{cause:f}),gs(ha(n,o))),t=t.current.alternate,t.flags|=65536,v&=-v,t.lanes|=v,f=ha(f,o),v=yc(t.stateNode,f,v),Xo(t,v),rt!==4&&(rt=2)),!1;var b=Error(i(520),{cause:f});if(b=ha(b,o),Rs===null?Rs=[b]:Rs.push(b),rt!==4&&(rt=2),n===null)return!0;f=ha(f,o),o=n;do{switch(o.tag){case 3:return o.flags|=65536,t=v&-v,o.lanes|=t,t=yc(o.stateNode,f,t),Xo(o,t),!1;case 1:if(n=o.type,b=o.stateNode,(o.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(zn===null||!zn.has(b))))return o.flags|=65536,v&=-v,o.lanes|=v,v=Np(v),Mp(v,t,o,f),Xo(o,v),!1}o=o.return}while(o!==null);return!1}var wc=Error(i(461)),ht=!1;function Ht(t,n,o,f){n.child=t===null?H3(n,null,o,f):w0(n,t.child,o,f)}function Sp(t,n,o,f,v){o=o.render;var b=n.ref;if("ref"in f){var M={};for(var V in f)V!=="ref"&&(M[V]=f[V])}else M=f;return x0(n),f=ac(t,n,o,M,b,v),V=nc(),t!==null&&!ht?(rc(t,n,v),dn(t,n,v)):(Re&&V&&Do(n),n.flags|=1,Ht(t,n,f,v),n.child)}function Zp(t,n,o,f,v){if(t===null){var b=o.type;return typeof b=="function"&&!Lo(b)&&b.defaultProps===void 0&&o.compare===null?(n.tag=15,n.type=b,Cp(t,n,b,f,v)):(t=ei(o.type,null,f,n,n.mode,v),t.ref=n.ref,t.return=n,n.child=t)}if(b=t.child,!Cc(t,v)){var M=b.memoizedProps;if(o=o.compare,o=o!==null?o:fs,o(M,f)&&t.ref===n.ref)return dn(t,n,v)}return n.flags|=1,t=rn(b,f),t.ref=n.ref,t.return=n,n.child=t}function Cp(t,n,o,f,v){if(t!==null){var b=t.memoizedProps;if(fs(b,f)&&t.ref===n.ref)if(ht=!1,n.pendingProps=f=b,Cc(t,v))(t.flags&131072)!==0&&(ht=!0);else return n.lanes=t.lanes,dn(t,n,v)}return Ac(t,n,o,f,v)}function Hp(t,n,o,f){var v=f.children,b=t!==null?t.memoizedState:null;if(t===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((n.flags&128)!==0){if(b=b!==null?b.baseLanes|o:o,t!==null){for(f=n.child=t.child,v=0;f!==null;)v=v|f.lanes|f.childLanes,f=f.sibling;f=v&~b}else f=0,n.child=null;return _p(t,n,b,o,f)}if((o&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&ri(n,b!==null?b.cachePool:null),b!==null?T3(n,b):Jo(),L3(n);else return f=n.lanes=536870912,_p(t,n,b!==null?b.baseLanes|o:o,o,f)}else b!==null?(ri(n,b.cachePool),T3(n,b),Dn(),n.memoizedState=null):(t!==null&&ri(n,null),Jo(),Dn());return Ht(t,n,v,o),n.child}function Zs(t,n){return t!==null&&t.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function _p(t,n,o,f,v){var b=Po();return b=b===null?null:{parent:ut._currentValue,pool:b},n.memoizedState={baseLanes:o,cachePool:b},t!==null&&ri(n,null),Jo(),L3(n),t!==null&&sr(t,n,f,!0),n.childLanes=v,null}function yi(t,n){return n=Ai({mode:n.mode,children:n.children},t.mode),n.ref=t.ref,t.child=n,n.return=t,n}function Vp(t,n,o){return w0(n,t.child,null,o),t=yi(n,n.pendingProps),t.flags|=2,ta(n),n.memoizedState=null,t}function $Z(t,n,o){var f=n.pendingProps,v=(n.flags&128)!==0;if(n.flags&=-129,t===null){if(Re){if(f.mode==="hidden")return t=yi(n,f),n.lanes=536870912,Zs(null,t);if(ec(n),(t=Ke)?(t=U5(t,pa),t=t!==null&&t.data==="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:Cn!==null?{id:qa,overflow:za}:null,retryLane:536870912,hydrationErrors:null},o=p3(t),o.return=n,n.child=o,Zt=n,Ke=null)):t=null,t===null)throw _n(n);return n.lanes=536870912,null}return yi(n,f)}var b=t.memoizedState;if(b!==null){var M=b.dehydrated;if(ec(n),v)if(n.flags&256)n.flags&=-257,n=Vp(t,n,o);else if(n.memoizedState!==null)n.child=t.child,n.flags|=128,n=null;else throw Error(i(558));else if(ht||sr(t,n,o,!1),v=(o&t.childLanes)!==0,ht||v){if(f=Ge,f!==null&&(M=Am(f,o),M!==0&&M!==b.retryLane))throw b.retryLane=M,f0(t,M),Yt(f,t,M),wc;_i(),n=Vp(t,n,o)}else t=b.treeContext,Ke=xa(M.nextSibling),Zt=n,Re=!0,Hn=null,pa=!1,t!==null&&v3(n,t),n=yi(n,f),n.flags|=4096;return n}return t=rn(t.child,{mode:f.mode,children:f.children}),t.ref=n.ref,n.child=t,t.return=n,t}function wi(t,n){var o=n.ref;if(o===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(i(284));(t===null||t.ref!==o)&&(n.flags|=4194816)}}function Ac(t,n,o,f,v){return x0(n),o=ac(t,n,o,f,void 0,v),f=nc(),t!==null&&!ht?(rc(t,n,v),dn(t,n,v)):(Re&&f&&Do(n),n.flags|=1,Ht(t,n,o,v),n.child)}function Tp(t,n,o,f,v,b){return x0(n),n.updateQueue=null,o=k3(n,f,o,v),R3(t),f=nc(),t!==null&&!ht?(rc(t,n,b),dn(t,n,b)):(Re&&f&&Do(n),n.flags|=1,Ht(t,n,o,b),n.child)}function Lp(t,n,o,f,v){if(x0(n),n.stateNode===null){var b=tr,M=o.contextType;typeof M=="object"&&M!==null&&(b=Ct(M)),b=new o(f,b),n.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=bc,n.stateNode=b,b._reactInternals=n,b=n.stateNode,b.props=f,b.state=n.memoizedState,b.refs={},Yo(n),M=o.contextType,b.context=typeof M=="object"&&M!==null?Ct(M):tr,b.state=n.memoizedState,M=o.getDerivedStateFromProps,typeof M=="function"&&(vc(n,o,M,f),b.state=n.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(M=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),M!==b.state&&bc.enqueueReplaceState(b,b.state,null),js(n,f,b,v),As(),b.state=n.memoizedState),typeof b.componentDidMount=="function"&&(n.flags|=4194308),f=!0}else if(t===null){b=n.stateNode;var V=n.memoizedProps,F=j0(o,V);b.props=F;var J=b.context,ne=o.contextType;M=tr,typeof ne=="object"&&ne!==null&&(M=Ct(ne));var ie=o.getDerivedStateFromProps;ne=typeof ie=="function"||typeof b.getSnapshotBeforeUpdate=="function",V=n.pendingProps!==V,ne||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(V||J!==M)&&yp(n,b,f,M),Tn=!1;var ee=n.memoizedState;b.state=ee,js(n,f,b,v),As(),J=n.memoizedState,V||ee!==J||Tn?(typeof ie=="function"&&(vc(n,o,ie,f),J=n.memoizedState),(F=Tn||bp(n,o,F,f,ee,J,M))?(ne||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(n.flags|=4194308)):(typeof b.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=f,n.memoizedState=J),b.props=f,b.state=J,b.context=M,f=F):(typeof b.componentDidMount=="function"&&(n.flags|=4194308),f=!1)}else{b=n.stateNode,Ko(t,n),M=n.memoizedProps,ne=j0(o,M),b.props=ne,ie=n.pendingProps,ee=b.context,J=o.contextType,F=tr,typeof J=="object"&&J!==null&&(F=Ct(J)),V=o.getDerivedStateFromProps,(J=typeof V=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(M!==ie||ee!==F)&&yp(n,b,f,F),Tn=!1,ee=n.memoizedState,b.state=ee,js(n,f,b,v),As();var ae=n.memoizedState;M!==ie||ee!==ae||Tn||t!==null&&t.dependencies!==null&&ai(t.dependencies)?(typeof V=="function"&&(vc(n,o,V,f),ae=n.memoizedState),(ne=Tn||bp(n,o,ne,f,ee,ae,F)||t!==null&&t.dependencies!==null&&ai(t.dependencies))?(J||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(f,ae,F),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(f,ae,F)),typeof b.componentDidUpdate=="function"&&(n.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof b.componentDidUpdate!="function"||M===t.memoizedProps&&ee===t.memoizedState||(n.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||M===t.memoizedProps&&ee===t.memoizedState||(n.flags|=1024),n.memoizedProps=f,n.memoizedState=ae),b.props=f,b.state=ae,b.context=F,f=ne):(typeof b.componentDidUpdate!="function"||M===t.memoizedProps&&ee===t.memoizedState||(n.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||M===t.memoizedProps&&ee===t.memoizedState||(n.flags|=1024),f=!1)}return b=f,wi(t,n),f=(n.flags&128)!==0,b||f?(b=n.stateNode,o=f&&typeof o.getDerivedStateFromError!="function"?null:b.render(),n.flags|=1,t!==null&&f?(n.child=w0(n,t.child,null,v),n.child=w0(n,null,o,v)):Ht(t,n,o,v),n.memoizedState=b.state,t=n.child):t=dn(t,n,v),t}function Rp(t,n,o,f){return p0(),n.flags|=256,Ht(t,n,o,f),n.child}var jc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ec(t){return{baseLanes:t,cachePool:E3()}}function Nc(t,n,o){return t=t!==null?t.childLanes&~o:0,n&&(t|=na),t}function kp(t,n,o){var f=n.pendingProps,v=!1,b=(n.flags&128)!==0,M;if((M=b)||(M=t!==null&&t.memoizedState===null?!1:(it.current&2)!==0),M&&(v=!0,n.flags&=-129),M=(n.flags&32)!==0,n.flags&=-33,t===null){if(Re){if(v?kn(n):Dn(),(t=Ke)?(t=U5(t,pa),t=t!==null&&t.data!=="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:Cn!==null?{id:qa,overflow:za}:null,retryLane:536870912,hydrationErrors:null},o=p3(t),o.return=n,n.child=o,Zt=n,Ke=null)):t=null,t===null)throw _n(n);return i2(t)?n.lanes=32:n.lanes=536870912,null}var V=f.children;return f=f.fallback,v?(Dn(),v=n.mode,V=Ai({mode:"hidden",children:V},v),f=m0(f,v,o,null),V.return=n,f.return=n,V.sibling=f,n.child=V,f=n.child,f.memoizedState=Ec(o),f.childLanes=Nc(t,M,o),n.memoizedState=jc,Zs(null,f)):(kn(n),Mc(n,V))}var F=t.memoizedState;if(F!==null&&(V=F.dehydrated,V!==null)){if(b)n.flags&256?(kn(n),n.flags&=-257,n=Sc(t,n,o)):n.memoizedState!==null?(Dn(),n.child=t.child,n.flags|=128,n=null):(Dn(),V=f.fallback,v=n.mode,f=Ai({mode:"visible",children:f.children},v),V=m0(V,v,o,null),V.flags|=2,f.return=n,V.return=n,f.sibling=V,n.child=f,w0(n,t.child,null,o),f=n.child,f.memoizedState=Ec(o),f.childLanes=Nc(t,M,o),n.memoizedState=jc,n=Zs(null,f));else if(kn(n),i2(V)){if(M=V.nextSibling&&V.nextSibling.dataset,M)var J=M.dgst;M=J,f=Error(i(419)),f.stack="",f.digest=M,gs({value:f,source:null,stack:null}),n=Sc(t,n,o)}else if(ht||sr(t,n,o,!1),M=(o&t.childLanes)!==0,ht||M){if(M=Ge,M!==null&&(f=Am(M,o),f!==0&&f!==F.retryLane))throw F.retryLane=f,f0(t,f),Yt(M,t,f),wc;l2(V)||_i(),n=Sc(t,n,o)}else l2(V)?(n.flags|=192,n.child=t.child,n=null):(t=F.treeContext,Ke=xa(V.nextSibling),Zt=n,Re=!0,Hn=null,pa=!1,t!==null&&v3(n,t),n=Mc(n,f.children),n.flags|=4096);return n}return v?(Dn(),V=f.fallback,v=n.mode,F=t.child,J=F.sibling,f=rn(F,{mode:"hidden",children:f.children}),f.subtreeFlags=F.subtreeFlags&65011712,J!==null?V=rn(J,V):(V=m0(V,v,o,null),V.flags|=2),V.return=n,f.return=n,f.sibling=V,n.child=f,Zs(null,f),f=n.child,V=t.child.memoizedState,V===null?V=Ec(o):(v=V.cachePool,v!==null?(F=ut._currentValue,v=v.parent!==F?{parent:F,pool:F}:v):v=E3(),V={baseLanes:V.baseLanes|o,cachePool:v}),f.memoizedState=V,f.childLanes=Nc(t,M,o),n.memoizedState=jc,Zs(t.child,f)):(kn(n),o=t.child,t=o.sibling,o=rn(o,{mode:"visible",children:f.children}),o.return=n,o.sibling=null,t!==null&&(M=n.deletions,M===null?(n.deletions=[t],n.flags|=16):M.push(t)),n.child=o,n.memoizedState=null,o)}function Mc(t,n){return n=Ai({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function Ai(t,n){return t=Wt(22,t,null,n),t.lanes=0,t}function Sc(t,n,o){return w0(n,t.child,null,o),t=Mc(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function Dp(t,n,o){t.lanes|=n;var f=t.alternate;f!==null&&(f.lanes|=n),Bo(t.return,n,o)}function Zc(t,n,o,f,v,b){var M=t.memoizedState;M===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:f,tail:o,tailMode:v,treeForkCount:b}:(M.isBackwards=n,M.rendering=null,M.renderingStartTime=0,M.last=f,M.tail=o,M.tailMode=v,M.treeForkCount=b)}function Op(t,n,o){var f=n.pendingProps,v=f.revealOrder,b=f.tail;f=f.children;var M=it.current,V=(M&2)!==0;if(V?(M=M&1|2,n.flags|=128):M&=1,re(it,M),Ht(t,n,f,o),f=Re?ps:0,!V&&t!==null&&(t.flags&128)!==0)e:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Dp(t,o,n);else if(t.tag===19)Dp(t,o,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break e;for(;t.sibling===null;){if(t.return===null||t.return===n)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(v){case"forwards":for(o=n.child,v=null;o!==null;)t=o.alternate,t!==null&&ui(t)===null&&(v=o),o=o.sibling;o=v,o===null?(v=n.child,n.child=null):(v=o.sibling,o.sibling=null),Zc(n,!1,v,o,b,f);break;case"backwards":case"unstable_legacy-backwards":for(o=null,v=n.child,n.child=null;v!==null;){if(t=v.alternate,t!==null&&ui(t)===null){n.child=v;break}t=v.sibling,v.sibling=o,o=v,v=t}Zc(n,!0,o,null,b,f);break;case"together":Zc(n,!1,null,null,void 0,f);break;default:n.memoizedState=null}return n.child}function dn(t,n,o){if(t!==null&&(n.dependencies=t.dependencies),qn|=n.lanes,(o&n.childLanes)===0)if(t!==null){if(sr(t,n,o,!1),(o&n.childLanes)===0)return null}else return null;if(t!==null&&n.child!==t.child)throw Error(i(153));if(n.child!==null){for(t=n.child,o=rn(t,t.pendingProps),n.child=o,o.return=n;t.sibling!==null;)t=t.sibling,o=o.sibling=rn(t,t.pendingProps),o.return=n;o.sibling=null}return n.child}function Cc(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&ai(t)))}function UZ(t,n,o){switch(n.tag){case 3:me(n,n.stateNode.containerInfo),Vn(n,ut,t.memoizedState.cache),p0();break;case 27:case 5:ke(n);break;case 4:me(n,n.stateNode.containerInfo);break;case 10:Vn(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,ec(n),null;break;case 13:var f=n.memoizedState;if(f!==null)return f.dehydrated!==null?(kn(n),n.flags|=128,null):(o&n.child.childLanes)!==0?kp(t,n,o):(kn(n),t=dn(t,n,o),t!==null?t.sibling:null);kn(n);break;case 19:var v=(t.flags&128)!==0;if(f=(o&n.childLanes)!==0,f||(sr(t,n,o,!1),f=(o&n.childLanes)!==0),v){if(f)return Op(t,n,o);n.flags|=128}if(v=n.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),re(it,it.current),f)break;return null;case 22:return n.lanes=0,Hp(t,n,o,n.pendingProps);case 24:Vn(n,ut,t.memoizedState.cache)}return dn(t,n,o)}function Fp(t,n,o){if(t!==null)if(t.memoizedProps!==n.pendingProps)ht=!0;else{if(!Cc(t,o)&&(n.flags&128)===0)return ht=!1,UZ(t,n,o);ht=(t.flags&131072)!==0}else ht=!1,Re&&(n.flags&1048576)!==0&&x3(n,ps,n.index);switch(n.lanes=0,n.tag){case 16:e:{var f=n.pendingProps;if(t=b0(n.elementType),n.type=t,typeof t=="function")Lo(t)?(f=j0(t,f),n.tag=1,n=Lp(null,n,t,f,o)):(n.tag=0,n=Ac(null,n,t,f,o));else{if(t!=null){var v=t.$$typeof;if(v===C){n.tag=11,n=Sp(null,n,t,f,o);break e}else if(v===T){n.tag=14,n=Zp(null,n,t,f,o);break e}}throw n=B(t)||t,Error(i(306,n,""))}}return n;case 0:return Ac(t,n,n.type,n.pendingProps,o);case 1:return f=n.type,v=j0(f,n.pendingProps),Lp(t,n,f,v,o);case 3:e:{if(me(n,n.stateNode.containerInfo),t===null)throw Error(i(387));f=n.pendingProps;var b=n.memoizedState;v=b.element,Ko(t,n),js(n,f,null,o);var M=n.memoizedState;if(f=M.cache,Vn(n,ut,f),f!==b.cache&&$o(n,[ut],o,!0),As(),f=M.element,b.isDehydrated)if(b={element:f,isDehydrated:!1,cache:M.cache},n.updateQueue.baseState=b,n.memoizedState=b,n.flags&256){n=Rp(t,n,f,o);break e}else if(f!==v){v=ha(Error(i(424)),n),gs(v),n=Rp(t,n,f,o);break e}else{switch(t=n.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ke=xa(t.firstChild),Zt=n,Re=!0,Hn=null,pa=!0,o=H3(n,null,f,o),n.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(p0(),f===v){n=dn(t,n,o);break e}Ht(t,n,f,o)}n=n.child}return n;case 26:return wi(t,n),t===null?(o=X5(n.type,null,n.pendingProps,null))?n.memoizedState=o:Re||(o=n.type,t=n.pendingProps,f=Oi(P.current).createElement(o),f[St]=n,f[Bt]=t,_t(f,o,t),jt(f),n.stateNode=f):n.memoizedState=X5(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return ke(n),t===null&&Re&&(f=n.stateNode=G5(n.type,n.pendingProps,P.current),Zt=n,pa=!0,v=Ke,In(n.type)?(o2=v,Ke=xa(f.firstChild)):Ke=v),Ht(t,n,n.pendingProps.children,o),wi(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&Re&&((v=f=Ke)&&(f=yC(f,n.type,n.pendingProps,pa),f!==null?(n.stateNode=f,Zt=n,Ke=xa(f.firstChild),pa=!1,v=!0):v=!1),v||_n(n)),ke(n),v=n.type,b=n.pendingProps,M=t!==null?t.memoizedProps:null,f=b.children,n2(v,b)?f=null:M!==null&&n2(v,M)&&(n.flags|=32),n.memoizedState!==null&&(v=ac(t,n,RZ,null,null,o),$s._currentValue=v),wi(t,n),Ht(t,n,f,o),n.child;case 6:return t===null&&Re&&((t=o=Ke)&&(o=wC(o,n.pendingProps,pa),o!==null?(n.stateNode=o,Zt=n,Ke=null,t=!0):t=!1),t||_n(n)),null;case 13:return kp(t,n,o);case 4:return me(n,n.stateNode.containerInfo),f=n.pendingProps,t===null?n.child=w0(n,null,f,o):Ht(t,n,f,o),n.child;case 11:return Sp(t,n,n.type,n.pendingProps,o);case 7:return Ht(t,n,n.pendingProps,o),n.child;case 8:return Ht(t,n,n.pendingProps.children,o),n.child;case 12:return Ht(t,n,n.pendingProps.children,o),n.child;case 10:return f=n.pendingProps,Vn(n,n.type,f.value),Ht(t,n,f.children,o),n.child;case 9:return v=n.type._context,f=n.pendingProps.children,x0(n),v=Ct(v),f=f(v),n.flags|=1,Ht(t,n,f,o),n.child;case 14:return Zp(t,n,n.type,n.pendingProps,o);case 15:return Cp(t,n,n.type,n.pendingProps,o);case 19:return Op(t,n,o);case 31:return $Z(t,n,o);case 22:return Hp(t,n,o,n.pendingProps);case 24:return x0(n),f=Ct(ut),t===null?(v=Po(),v===null&&(v=Ge,b=Uo(),v.pooledCache=b,b.refCount++,b!==null&&(v.pooledCacheLanes|=o),v=b),n.memoizedState={parent:f,cache:v},Yo(n),Vn(n,ut,v)):((t.lanes&o)!==0&&(Ko(t,n),js(n,null,null,o),As()),v=t.memoizedState,b=n.memoizedState,v.parent!==f?(v={parent:f,cache:f},n.memoizedState=v,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=v),Vn(n,ut,f)):(f=b.cache,Vn(n,ut,f),f!==v.cache&&$o(n,[ut],o,!0))),Ht(t,n,n.pendingProps.children,o),n.child;case 29:throw n.pendingProps}throw Error(i(156,n.tag))}function hn(t){t.flags|=4}function Hc(t,n,o,f,v){if((n=(t.mode&32)!==0)&&(n=!1),n){if(t.flags|=16777216,(v&335544128)===v)if(t.stateNode.complete)t.flags|=8192;else if(h5())t.flags|=8192;else throw y0=li,Go}else t.flags&=-16777217}function qp(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!tg(n))if(h5())t.flags|=8192;else throw y0=li,Go}function ji(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?bm():536870912,t.lanes|=n,xr|=n)}function Cs(t,n){if(!Re)switch(t.tailMode){case"hidden":n=t.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?t.tail=null:o.sibling=null;break;case"collapsed":o=t.tail;for(var f=null;o!==null;)o.alternate!==null&&(f=o),o=o.sibling;f===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:f.sibling=null}}function Xe(t){var n=t.alternate!==null&&t.alternate.child===t.child,o=0,f=0;if(n)for(var v=t.child;v!==null;)o|=v.lanes|v.childLanes,f|=v.subtreeFlags&65011712,f|=v.flags&65011712,v.return=t,v=v.sibling;else for(v=t.child;v!==null;)o|=v.lanes|v.childLanes,f|=v.subtreeFlags,f|=v.flags,v.return=t,v=v.sibling;return t.subtreeFlags|=f,t.childLanes=o,n}function IZ(t,n,o){var f=n.pendingProps;switch(Oo(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(n),null;case 1:return Xe(n),null;case 3:return o=n.stateNode,f=null,t!==null&&(f=t.memoizedState.cache),n.memoizedState.cache!==f&&(n.flags|=2048),on(ut),be(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(t===null||t.child===null)&&(rr(n)?hn(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,qo())),Xe(n),null;case 26:var v=n.type,b=n.memoizedState;return t===null?(hn(n),b!==null?(Xe(n),qp(n,b)):(Xe(n),Hc(n,v,null,f,o))):b?b!==t.memoizedState?(hn(n),Xe(n),qp(n,b)):(Xe(n),n.flags&=-16777217):(t=t.memoizedProps,t!==f&&hn(n),Xe(n),Hc(n,v,t,f,o)),null;case 27:if(Se(n),o=P.current,v=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==f&&hn(n);else{if(!f){if(n.stateNode===null)throw Error(i(166));return Xe(n),null}t=z.current,rr(n)?b3(n):(t=G5(v,f,o),n.stateNode=t,hn(n))}return Xe(n),null;case 5:if(Se(n),v=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==f&&hn(n);else{if(!f){if(n.stateNode===null)throw Error(i(166));return Xe(n),null}if(b=z.current,rr(n))b3(n);else{var M=Oi(P.current);switch(b){case 1:b=M.createElementNS("http://www.w3.org/2000/svg",v);break;case 2:b=M.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;default:switch(v){case"svg":b=M.createElementNS("http://www.w3.org/2000/svg",v);break;case"math":b=M.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;case"script":b=M.createElement("div"),b.innerHTML="<script><\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof f.is=="string"?M.createElement("select",{is:f.is}):M.createElement("select"),f.multiple?b.multiple=!0:f.size&&(b.size=f.size);break;default:b=typeof f.is=="string"?M.createElement(v,{is:f.is}):M.createElement(v)}}b[St]=n,b[Bt]=f;e:for(M=n.child;M!==null;){if(M.tag===5||M.tag===6)b.appendChild(M.stateNode);else if(M.tag!==4&&M.tag!==27&&M.child!==null){M.child.return=M,M=M.child;continue}if(M===n)break e;for(;M.sibling===null;){if(M.return===null||M.return===n)break e;M=M.return}M.sibling.return=M.return,M=M.sibling}n.stateNode=b;e:switch(_t(b,v,f),v){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}f&&hn(n)}}return Xe(n),Hc(n,n.type,t===null?null:t.memoizedProps,n.pendingProps,o),null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==f&&hn(n);else{if(typeof f!="string"&&n.stateNode===null)throw Error(i(166));if(t=P.current,rr(n)){if(t=n.stateNode,o=n.memoizedProps,f=null,v=Zt,v!==null)switch(v.tag){case 27:case 5:f=v.memoizedProps}t[St]=n,t=!!(t.nodeValue===o||f!==null&&f.suppressHydrationWarning===!0||k5(t.nodeValue,o)),t||_n(n,!0)}else t=Oi(t).createTextNode(f),t[St]=n,n.stateNode=t}return Xe(n),null;case 31:if(o=n.memoizedState,t===null||t.memoizedState!==null){if(f=rr(n),o!==null){if(t===null){if(!f)throw Error(i(318));if(t=n.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(557));t[St]=n}else p0(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Xe(n),t=!1}else o=qo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=o),t=!0;if(!t)return n.flags&256?(ta(n),n):(ta(n),null);if((n.flags&128)!==0)throw Error(i(558))}return Xe(n),null;case 13:if(f=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(v=rr(n),f!==null&&f.dehydrated!==null){if(t===null){if(!v)throw Error(i(318));if(v=n.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(i(317));v[St]=n}else p0(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Xe(n),v=!1}else v=qo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=v),v=!0;if(!v)return n.flags&256?(ta(n),n):(ta(n),null)}return ta(n),(n.flags&128)!==0?(n.lanes=o,n):(o=f!==null,t=t!==null&&t.memoizedState!==null,o&&(f=n.child,v=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(v=f.alternate.memoizedState.cachePool.pool),b=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(b=f.memoizedState.cachePool.pool),b!==v&&(f.flags|=2048)),o!==t&&o&&(n.child.flags|=8192),ji(n,n.updateQueue),Xe(n),null);case 4:return be(),t===null&&Jc(n.stateNode.containerInfo),Xe(n),null;case 10:return on(n.type),Xe(n),null;case 19:if(te(it),f=n.memoizedState,f===null)return Xe(n),null;if(v=(n.flags&128)!==0,b=f.rendering,b===null)if(v)Cs(f,!1);else{if(rt!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(b=ui(t),b!==null){for(n.flags|=128,Cs(f,!1),t=b.updateQueue,n.updateQueue=t,ji(n,t),n.subtreeFlags=0,t=o,o=n.child;o!==null;)m3(o,t),o=o.sibling;return re(it,it.current&1|2),Re&&sn(n,f.treeForkCount),n.child}t=t.sibling}f.tail!==null&&At()>Zi&&(n.flags|=128,v=!0,Cs(f,!1),n.lanes=4194304)}else{if(!v)if(t=ui(b),t!==null){if(n.flags|=128,v=!0,t=t.updateQueue,n.updateQueue=t,ji(n,t),Cs(f,!0),f.tail===null&&f.tailMode==="hidden"&&!b.alternate&&!Re)return Xe(n),null}else 2*At()-f.renderingStartTime>Zi&&o!==536870912&&(n.flags|=128,v=!0,Cs(f,!1),n.lanes=4194304);f.isBackwards?(b.sibling=n.child,n.child=b):(t=f.last,t!==null?t.sibling=b:n.child=b,f.last=b)}return f.tail!==null?(t=f.tail,f.rendering=t,f.tail=t.sibling,f.renderingStartTime=At(),t.sibling=null,o=it.current,re(it,v?o&1|2:o&1),Re&&sn(n,f.treeForkCount),t):(Xe(n),null);case 22:case 23:return ta(n),Wo(),f=n.memoizedState!==null,t!==null?t.memoizedState!==null!==f&&(n.flags|=8192):f&&(n.flags|=8192),f?(o&536870912)!==0&&(n.flags&128)===0&&(Xe(n),n.subtreeFlags&6&&(n.flags|=8192)):Xe(n),o=n.updateQueue,o!==null&&ji(n,o.retryQueue),o=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),f=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(f=n.memoizedState.cachePool.pool),f!==o&&(n.flags|=2048),t!==null&&te(v0),null;case 24:return o=null,t!==null&&(o=t.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),on(ut),Xe(n),null;case 25:return null;case 30:return null}throw Error(i(156,n.tag))}function PZ(t,n){switch(Oo(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return on(ut),be(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return Se(n),null;case 31:if(n.memoizedState!==null){if(ta(n),n.alternate===null)throw Error(i(340));p0()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 13:if(ta(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(i(340));p0()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return te(it),null;case 4:return be(),null;case 10:return on(n.type),null;case 22:case 23:return ta(n),Wo(),t!==null&&te(v0),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return on(ut),null;case 25:return null;default:return null}}function zp(t,n){switch(Oo(n),n.tag){case 3:on(ut),be();break;case 26:case 27:case 5:Se(n);break;case 4:be();break;case 31:n.memoizedState!==null&&ta(n);break;case 13:ta(n);break;case 19:te(it);break;case 10:on(n.type);break;case 22:case 23:ta(n),Wo(),t!==null&&te(v0);break;case 24:on(ut)}}function Hs(t,n){try{var o=n.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var v=f.next;o=v;do{if((o.tag&t)===t){f=void 0;var b=o.create,M=o.inst;f=b(),M.destroy=f}o=o.next}while(o!==v)}}catch(V){$e(n,n.return,V)}}function On(t,n,o){try{var f=n.updateQueue,v=f!==null?f.lastEffect:null;if(v!==null){var b=v.next;f=b;do{if((f.tag&t)===t){var M=f.inst,V=M.destroy;if(V!==void 0){M.destroy=void 0,v=n;var F=o,J=V;try{J()}catch(ne){$e(v,F,ne)}}}f=f.next}while(f!==b)}}catch(ne){$e(n,n.return,ne)}}function Bp(t){var n=t.updateQueue;if(n!==null){var o=t.stateNode;try{V3(n,o)}catch(f){$e(t,t.return,f)}}}function $p(t,n,o){o.props=j0(t.type,t.memoizedProps),o.state=t.memoizedState;try{o.componentWillUnmount()}catch(f){$e(t,n,f)}}function _s(t,n){try{var o=t.ref;if(o!==null){switch(t.tag){case 26:case 27:case 5:var f=t.stateNode;break;case 30:f=t.stateNode;break;default:f=t.stateNode}typeof o=="function"?t.refCleanup=o(f):o.current=f}}catch(v){$e(t,n,v)}}function Ba(t,n){var o=t.ref,f=t.refCleanup;if(o!==null)if(typeof f=="function")try{f()}catch(v){$e(t,n,v)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(v){$e(t,n,v)}else o.current=null}function Up(t){var n=t.type,o=t.memoizedProps,f=t.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":o.autoFocus&&f.focus();break e;case"img":o.src?f.src=o.src:o.srcSet&&(f.srcset=o.srcSet)}}catch(v){$e(t,t.return,v)}}function _c(t,n,o){try{var f=t.stateNode;mC(f,t.type,o,n),f[Bt]=n}catch(v){$e(t,t.return,v)}}function Ip(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&In(t.type)||t.tag===4}function Vc(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Ip(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&In(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Tc(t,n,o){var f=t.tag;if(f===5||f===6)t=t.stateNode,n?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(t,n):(n=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,n.appendChild(t),o=o._reactRootContainer,o!=null||n.onclick!==null||(n.onclick=an));else if(f!==4&&(f===27&&In(t.type)&&(o=t.stateNode,n=null),t=t.child,t!==null))for(Tc(t,n,o),t=t.sibling;t!==null;)Tc(t,n,o),t=t.sibling}function Ei(t,n,o){var f=t.tag;if(f===5||f===6)t=t.stateNode,n?o.insertBefore(t,n):o.appendChild(t);else if(f!==4&&(f===27&&In(t.type)&&(o=t.stateNode),t=t.child,t!==null))for(Ei(t,n,o),t=t.sibling;t!==null;)Ei(t,n,o),t=t.sibling}function Pp(t){var n=t.stateNode,o=t.memoizedProps;try{for(var f=t.type,v=n.attributes;v.length;)n.removeAttributeNode(v[0]);_t(n,f,o),n[St]=t,n[Bt]=o}catch(b){$e(t,t.return,b)}}var fn=!1,ft=!1,Lc=!1,Gp=typeof WeakSet=="function"?WeakSet:Set,Et=null;function GZ(t,n){if(t=t.containerInfo,t2=Ii,t=s3(t),So(t)){if("selectionStart"in t)var o={start:t.selectionStart,end:t.selectionEnd};else e:{o=(o=t.ownerDocument)&&o.defaultView||window;var f=o.getSelection&&o.getSelection();if(f&&f.rangeCount!==0){o=f.anchorNode;var v=f.anchorOffset,b=f.focusNode;f=f.focusOffset;try{o.nodeType,b.nodeType}catch{o=null;break e}var M=0,V=-1,F=-1,J=0,ne=0,ie=t,ee=null;t:for(;;){for(var ae;ie!==o||v!==0&&ie.nodeType!==3||(V=M+v),ie!==b||f!==0&&ie.nodeType!==3||(F=M+f),ie.nodeType===3&&(M+=ie.nodeValue.length),(ae=ie.firstChild)!==null;)ee=ie,ie=ae;for(;;){if(ie===t)break t;if(ee===o&&++J===v&&(V=M),ee===b&&++ne===f&&(F=M),(ae=ie.nextSibling)!==null)break;ie=ee,ee=ie.parentNode}ie=ae}o=V===-1||F===-1?null:{start:V,end:F}}else o=null}o=o||{start:0,end:0}}else o=null;for(a2={focusedElem:t,selectionRange:o},Ii=!1,Et=n;Et!==null;)if(n=Et,t=n.child,(n.subtreeFlags&1028)!==0&&t!==null)t.return=n,Et=t;else for(;Et!==null;){switch(n=Et,b=n.alternate,t=n.flags,n.tag){case 0:if((t&4)!==0&&(t=n.updateQueue,t=t!==null?t.events:null,t!==null))for(o=0;o<t.length;o++)v=t[o],v.ref.impl=v.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&b!==null){t=void 0,o=n,v=b.memoizedProps,b=b.memoizedState,f=o.stateNode;try{var pe=j0(o.type,v);t=f.getSnapshotBeforeUpdate(pe,b),f.__reactInternalSnapshotBeforeUpdate=t}catch(we){$e(o,o.return,we)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,o=t.nodeType,o===9)s2(t);else if(o===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":s2(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(i(163))}if(t=n.sibling,t!==null){t.return=n.return,Et=t;break}Et=n.return}}function Yp(t,n,o){var f=o.flags;switch(o.tag){case 0:case 11:case 15:pn(t,o),f&4&&Hs(5,o);break;case 1:if(pn(t,o),f&4)if(t=o.stateNode,n===null)try{t.componentDidMount()}catch(M){$e(o,o.return,M)}else{var v=j0(o.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(v,n,t.__reactInternalSnapshotBeforeUpdate)}catch(M){$e(o,o.return,M)}}f&64&&Bp(o),f&512&&_s(o,o.return);break;case 3:if(pn(t,o),f&64&&(t=o.updateQueue,t!==null)){if(n=null,o.child!==null)switch(o.child.tag){case 27:case 5:n=o.child.stateNode;break;case 1:n=o.child.stateNode}try{V3(t,n)}catch(M){$e(o,o.return,M)}}break;case 27:n===null&&f&4&&Pp(o);case 26:case 5:pn(t,o),n===null&&f&4&&Up(o),f&512&&_s(o,o.return);break;case 12:pn(t,o);break;case 31:pn(t,o),f&4&&Qp(t,o);break;case 13:pn(t,o),f&4&&Jp(t,o),f&64&&(t=o.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(o=aC.bind(null,o),AC(t,o))));break;case 22:if(f=o.memoizedState!==null||fn,!f){n=n!==null&&n.memoizedState!==null||ft,v=fn;var b=ft;fn=f,(ft=n)&&!b?gn(t,o,(o.subtreeFlags&8772)!==0):pn(t,o),fn=v,ft=b}break;case 30:break;default:pn(t,o)}}function Kp(t){var n=t.alternate;n!==null&&(t.alternate=null,Kp(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&co(n)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Je=null,Ut=!1;function mn(t,n,o){for(o=o.child;o!==null;)Xp(t,n,o),o=o.sibling}function Xp(t,n,o){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(zt,o)}catch{}switch(o.tag){case 26:ft||Ba(o,n),mn(t,n,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:ft||Ba(o,n);var f=Je,v=Ut;In(o.type)&&(Je=o.stateNode,Ut=!1),mn(t,n,o),qs(o.stateNode),Je=f,Ut=v;break;case 5:ft||Ba(o,n);case 6:if(f=Je,v=Ut,Je=null,mn(t,n,o),Je=f,Ut=v,Je!==null)if(Ut)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(o.stateNode)}catch(b){$e(o,n,b)}else try{Je.removeChild(o.stateNode)}catch(b){$e(o,n,b)}break;case 18:Je!==null&&(Ut?(t=Je,B5(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,o.stateNode),Nr(t)):B5(Je,o.stateNode));break;case 4:f=Je,v=Ut,Je=o.stateNode.containerInfo,Ut=!0,mn(t,n,o),Je=f,Ut=v;break;case 0:case 11:case 14:case 15:On(2,o,n),ft||On(4,o,n),mn(t,n,o);break;case 1:ft||(Ba(o,n),f=o.stateNode,typeof f.componentWillUnmount=="function"&&$p(o,n,f)),mn(t,n,o);break;case 21:mn(t,n,o);break;case 22:ft=(f=ft)||o.memoizedState!==null,mn(t,n,o),ft=f;break;default:mn(t,n,o)}}function Qp(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Nr(t)}catch(o){$e(n,n.return,o)}}}function Jp(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Nr(t)}catch(o){$e(n,n.return,o)}}function YZ(t){switch(t.tag){case 31:case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new Gp),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new Gp),n;default:throw Error(i(435,t.tag))}}function Ni(t,n){var o=YZ(t);n.forEach(function(f){if(!o.has(f)){o.add(f);var v=nC.bind(null,t,f);f.then(v,v)}})}function It(t,n){var o=n.deletions;if(o!==null)for(var f=0;f<o.length;f++){var v=o[f],b=t,M=n,V=M;e:for(;V!==null;){switch(V.tag){case 27:if(In(V.type)){Je=V.stateNode,Ut=!1;break e}break;case 5:Je=V.stateNode,Ut=!1;break e;case 3:case 4:Je=V.stateNode.containerInfo,Ut=!0;break e}V=V.return}if(Je===null)throw Error(i(160));Xp(b,M,v),Je=null,Ut=!1,b=v.alternate,b!==null&&(b.return=null),v.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)Wp(n,t),n=n.sibling}var Ha=null;function Wp(t,n){var o=t.alternate,f=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:It(n,t),Pt(t),f&4&&(On(3,t,t.return),Hs(3,t),On(5,t,t.return));break;case 1:It(n,t),Pt(t),f&512&&(ft||o===null||Ba(o,o.return)),f&64&&fn&&(t=t.updateQueue,t!==null&&(f=t.callbacks,f!==null&&(o=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=o===null?f:o.concat(f))));break;case 26:var v=Ha;if(It(n,t),Pt(t),f&512&&(ft||o===null||Ba(o,o.return)),f&4){var b=o!==null?o.memoizedState:null;if(f=t.memoizedState,o===null)if(f===null)if(t.stateNode===null){e:{f=t.type,o=t.memoizedProps,v=v.ownerDocument||v;t:switch(f){case"title":b=v.getElementsByTagName("title")[0],(!b||b[rs]||b[St]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=v.createElement(f),v.head.insertBefore(b,v.querySelector("head > title"))),_t(b,f,o),b[St]=t,jt(b),f=b;break e;case"link":var M=W5("link","href",v).get(f+(o.href||""));if(M){for(var V=0;V<M.length;V++)if(b=M[V],b.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&b.getAttribute("rel")===(o.rel==null?null:o.rel)&&b.getAttribute("title")===(o.title==null?null:o.title)&&b.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){M.splice(V,1);break t}}b=v.createElement(f),_t(b,f,o),v.head.appendChild(b);break;case"meta":if(M=W5("meta","content",v).get(f+(o.content||""))){for(V=0;V<M.length;V++)if(b=M[V],b.getAttribute("content")===(o.content==null?null:""+o.content)&&b.getAttribute("name")===(o.name==null?null:o.name)&&b.getAttribute("property")===(o.property==null?null:o.property)&&b.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&b.getAttribute("charset")===(o.charSet==null?null:o.charSet)){M.splice(V,1);break t}}b=v.createElement(f),_t(b,f,o),v.head.appendChild(b);break;default:throw Error(i(468,f))}b[St]=t,jt(b),f=b}t.stateNode=f}else eg(v,t.type,t.stateNode);else t.stateNode=J5(v,f,t.memoizedProps);else b!==f?(b===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):b.count--,f===null?eg(v,t.type,t.stateNode):J5(v,f,t.memoizedProps)):f===null&&t.stateNode!==null&&_c(t,t.memoizedProps,o.memoizedProps)}break;case 27:It(n,t),Pt(t),f&512&&(ft||o===null||Ba(o,o.return)),o!==null&&f&4&&_c(t,t.memoizedProps,o.memoizedProps);break;case 5:if(It(n,t),Pt(t),f&512&&(ft||o===null||Ba(o,o.return)),t.flags&32){v=t.stateNode;try{Y0(v,"")}catch(pe){$e(t,t.return,pe)}}f&4&&t.stateNode!=null&&(v=t.memoizedProps,_c(t,v,o!==null?o.memoizedProps:v)),f&1024&&(Lc=!0);break;case 6:if(It(n,t),Pt(t),f&4){if(t.stateNode===null)throw Error(i(162));f=t.memoizedProps,o=t.stateNode;try{o.nodeValue=f}catch(pe){$e(t,t.return,pe)}}break;case 3:if(zi=null,v=Ha,Ha=Fi(n.containerInfo),It(n,t),Ha=v,Pt(t),f&4&&o!==null&&o.memoizedState.isDehydrated)try{Nr(n.containerInfo)}catch(pe){$e(t,t.return,pe)}Lc&&(Lc=!1,e5(t));break;case 4:f=Ha,Ha=Fi(t.stateNode.containerInfo),It(n,t),Pt(t),Ha=f;break;case 12:It(n,t),Pt(t);break;case 31:It(n,t),Pt(t),f&4&&(f=t.updateQueue,f!==null&&(t.updateQueue=null,Ni(t,f)));break;case 13:It(n,t),Pt(t),t.child.flags&8192&&t.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Si=At()),f&4&&(f=t.updateQueue,f!==null&&(t.updateQueue=null,Ni(t,f)));break;case 22:v=t.memoizedState!==null;var F=o!==null&&o.memoizedState!==null,J=fn,ne=ft;if(fn=J||v,ft=ne||F,It(n,t),ft=ne,fn=J,Pt(t),f&8192)e:for(n=t.stateNode,n._visibility=v?n._visibility&-2:n._visibility|1,v&&(o===null||F||fn||ft||E0(t)),o=null,n=t;;){if(n.tag===5||n.tag===26){if(o===null){F=o=n;try{if(b=F.stateNode,v)M=b.style,typeof M.setProperty=="function"?M.setProperty("display","none","important"):M.display="none";else{V=F.stateNode;var ie=F.memoizedProps.style,ee=ie!=null&&ie.hasOwnProperty("display")?ie.display:null;V.style.display=ee==null||typeof ee=="boolean"?"":(""+ee).trim()}}catch(pe){$e(F,F.return,pe)}}}else if(n.tag===6){if(o===null){F=n;try{F.stateNode.nodeValue=v?"":F.memoizedProps}catch(pe){$e(F,F.return,pe)}}}else if(n.tag===18){if(o===null){F=n;try{var ae=F.stateNode;v?$5(ae,!0):$5(F.stateNode,!1)}catch(pe){$e(F,F.return,pe)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;o===n&&(o=null),n=n.return}o===n&&(o=null),n.sibling.return=n.return,n=n.sibling}f&4&&(f=t.updateQueue,f!==null&&(o=f.retryQueue,o!==null&&(f.retryQueue=null,Ni(t,o))));break;case 19:It(n,t),Pt(t),f&4&&(f=t.updateQueue,f!==null&&(t.updateQueue=null,Ni(t,f)));break;case 30:break;case 21:break;default:It(n,t),Pt(t)}}function Pt(t){var n=t.flags;if(n&2){try{for(var o,f=t.return;f!==null;){if(Ip(f)){o=f;break}f=f.return}if(o==null)throw Error(i(160));switch(o.tag){case 27:var v=o.stateNode,b=Vc(t);Ei(t,b,v);break;case 5:var M=o.stateNode;o.flags&32&&(Y0(M,""),o.flags&=-33);var V=Vc(t);Ei(t,V,M);break;case 3:case 4:var F=o.stateNode.containerInfo,J=Vc(t);Tc(t,J,F);break;default:throw Error(i(161))}}catch(ne){$e(t,t.return,ne)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function e5(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;e5(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function pn(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)Yp(t,n.alternate,n),n=n.sibling}function E0(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:On(4,n,n.return),E0(n);break;case 1:Ba(n,n.return);var o=n.stateNode;typeof o.componentWillUnmount=="function"&&$p(n,n.return,o),E0(n);break;case 27:qs(n.stateNode);case 26:case 5:Ba(n,n.return),E0(n);break;case 22:n.memoizedState===null&&E0(n);break;case 30:E0(n);break;default:E0(n)}t=t.sibling}}function gn(t,n,o){for(o=o&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var f=n.alternate,v=t,b=n,M=b.flags;switch(b.tag){case 0:case 11:case 15:gn(v,b,o),Hs(4,b);break;case 1:if(gn(v,b,o),f=b,v=f.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(J){$e(f,f.return,J)}if(f=b,v=f.updateQueue,v!==null){var V=f.stateNode;try{var F=v.shared.hiddenCallbacks;if(F!==null)for(v.shared.hiddenCallbacks=null,v=0;v<F.length;v++)_3(F[v],V)}catch(J){$e(f,f.return,J)}}o&&M&64&&Bp(b),_s(b,b.return);break;case 27:Pp(b);case 26:case 5:gn(v,b,o),o&&f===null&&M&4&&Up(b),_s(b,b.return);break;case 12:gn(v,b,o);break;case 31:gn(v,b,o),o&&M&4&&Qp(v,b);break;case 13:gn(v,b,o),o&&M&4&&Jp(v,b);break;case 22:b.memoizedState===null&&gn(v,b,o),_s(b,b.return);break;case 30:break;default:gn(v,b,o)}n=n.sibling}}function Rc(t,n){var o=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),t=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),t!==o&&(t!=null&&t.refCount++,o!=null&&xs(o))}function kc(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&xs(t))}function _a(t,n,o,f){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)t5(t,n,o,f),n=n.sibling}function t5(t,n,o,f){var v=n.flags;switch(n.tag){case 0:case 11:case 15:_a(t,n,o,f),v&2048&&Hs(9,n);break;case 1:_a(t,n,o,f);break;case 3:_a(t,n,o,f),v&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&xs(t)));break;case 12:if(v&2048){_a(t,n,o,f),t=n.stateNode;try{var b=n.memoizedProps,M=b.id,V=b.onPostCommit;typeof V=="function"&&V(M,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(F){$e(n,n.return,F)}}else _a(t,n,o,f);break;case 31:_a(t,n,o,f);break;case 13:_a(t,n,o,f);break;case 23:break;case 22:b=n.stateNode,M=n.alternate,n.memoizedState!==null?b._visibility&2?_a(t,n,o,f):Vs(t,n):b._visibility&2?_a(t,n,o,f):(b._visibility|=2,mr(t,n,o,f,(n.subtreeFlags&10256)!==0||!1)),v&2048&&Rc(M,n);break;case 24:_a(t,n,o,f),v&2048&&kc(n.alternate,n);break;default:_a(t,n,o,f)}}function mr(t,n,o,f,v){for(v=v&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var b=t,M=n,V=o,F=f,J=M.flags;switch(M.tag){case 0:case 11:case 15:mr(b,M,V,F,v),Hs(8,M);break;case 23:break;case 22:var ne=M.stateNode;M.memoizedState!==null?ne._visibility&2?mr(b,M,V,F,v):Vs(b,M):(ne._visibility|=2,mr(b,M,V,F,v)),v&&J&2048&&Rc(M.alternate,M);break;case 24:mr(b,M,V,F,v),v&&J&2048&&kc(M.alternate,M);break;default:mr(b,M,V,F,v)}n=n.sibling}}function Vs(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var o=t,f=n,v=f.flags;switch(f.tag){case 22:Vs(o,f),v&2048&&Rc(f.alternate,f);break;case 24:Vs(o,f),v&2048&&kc(f.alternate,f);break;default:Vs(o,f)}n=n.sibling}}var Ts=8192;function pr(t,n,o){if(t.subtreeFlags&Ts)for(t=t.child;t!==null;)a5(t,n,o),t=t.sibling}function a5(t,n,o){switch(t.tag){case 26:pr(t,n,o),t.flags&Ts&&t.memoizedState!==null&&LC(o,Ha,t.memoizedState,t.memoizedProps);break;case 5:pr(t,n,o);break;case 3:case 4:var f=Ha;Ha=Fi(t.stateNode.containerInfo),pr(t,n,o),Ha=f;break;case 22:t.memoizedState===null&&(f=t.alternate,f!==null&&f.memoizedState!==null?(f=Ts,Ts=16777216,pr(t,n,o),Ts=f):pr(t,n,o));break;default:pr(t,n,o)}}function n5(t){var n=t.alternate;if(n!==null&&(t=n.child,t!==null)){n.child=null;do n=t.sibling,t.sibling=null,t=n;while(t!==null)}}function Ls(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var o=0;o<n.length;o++){var f=n[o];Et=f,s5(f,t)}n5(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)r5(t),t=t.sibling}function r5(t){switch(t.tag){case 0:case 11:case 15:Ls(t),t.flags&2048&&On(9,t,t.return);break;case 3:Ls(t);break;case 12:Ls(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,Mi(t)):Ls(t);break;default:Ls(t)}}function Mi(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var o=0;o<n.length;o++){var f=n[o];Et=f,s5(f,t)}n5(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:On(8,n,n.return),Mi(n);break;case 22:o=n.stateNode,o._visibility&2&&(o._visibility&=-3,Mi(n));break;default:Mi(n)}t=t.sibling}}function s5(t,n){for(;Et!==null;){var o=Et;switch(o.tag){case 0:case 11:case 15:On(8,o,n);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var f=o.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:xs(o.memoizedState.cache)}if(f=o.child,f!==null)f.return=o,Et=f;else e:for(o=t;Et!==null;){f=Et;var v=f.sibling,b=f.return;if(Kp(f),f===o){Et=null;break e}if(v!==null){v.return=b,Et=v;break e}Et=b}}}var KZ={getCacheForType:function(t){var n=Ct(ut),o=n.data.get(t);return o===void 0&&(o=t(),n.data.set(t,o)),o},cacheSignal:function(){return Ct(ut).controller.signal}},XZ=typeof WeakMap=="function"?WeakMap:Map,qe=0,Ge=null,Ce=null,Ve=0,Be=0,aa=null,Fn=!1,gr=!1,Dc=!1,xn=0,rt=0,qn=0,N0=0,Oc=0,na=0,xr=0,Rs=null,Gt=null,Fc=!1,Si=0,l5=0,Zi=1/0,Ci=null,zn=null,xt=0,Bn=null,vr=null,vn=0,qc=0,zc=null,i5=null,ks=0,Bc=null;function ra(){return(qe&2)!==0&&Ve!==0?Ve&-Ve:L.T!==null?Yc():jm()}function o5(){if(na===0)if((Ve&536870912)===0||Re){var t=Dl;Dl<<=1,(Dl&3932160)===0&&(Dl=262144),na=t}else na=536870912;return t=ea.current,t!==null&&(t.flags|=32),na}function Yt(t,n,o){(t===Ge&&(Be===2||Be===9)||t.cancelPendingCommit!==null)&&(br(t,0),$n(t,Ve,na,!1)),ns(t,o),((qe&2)===0||t!==Ge)&&(t===Ge&&((qe&2)===0&&(N0|=o),rt===4&&$n(t,Ve,na,!1)),$a(t))}function c5(t,n,o){if((qe&6)!==0)throw Error(i(327));var f=!o&&(n&127)===0&&(n&t.expiredLanes)===0||as(t,n),v=f?WZ(t,n):Uc(t,n,!0),b=f;do{if(v===0){gr&&!f&&$n(t,n,0,!1);break}else{if(o=t.current.alternate,b&&!QZ(o)){v=Uc(t,n,!1),b=!1;continue}if(v===2){if(b=n,t.errorRecoveryDisabledLanes&b)var M=0;else M=t.pendingLanes&-536870913,M=M!==0?M:M&536870912?536870912:0;if(M!==0){n=M;e:{var V=t;v=Rs;var F=V.current.memoizedState.isDehydrated;if(F&&(br(V,M).flags|=256),M=Uc(V,M,!1),M!==2){if(Dc&&!F){V.errorRecoveryDisabledLanes|=b,N0|=b,v=4;break e}b=Gt,Gt=v,b!==null&&(Gt===null?Gt=b:Gt.push.apply(Gt,b))}v=M}if(b=!1,v!==2)continue}}if(v===1){br(t,0),$n(t,n,0,!0);break}e:{switch(f=t,b=v,b){case 0:case 1:throw Error(i(345));case 4:if((n&4194048)!==n)break;case 6:$n(f,n,na,!Fn);break e;case 2:Gt=null;break;case 3:case 5:break;default:throw Error(i(329))}if((n&62914560)===n&&(v=Si+300-At(),10<v)){if($n(f,n,na,!Fn),Fl(f,0,!0)!==0)break e;vn=n,f.timeoutHandle=q5(u5.bind(null,f,o,Gt,Ci,Fc,n,na,N0,xr,Fn,b,"Throttled",-0,0),v);break e}u5(f,o,Gt,Ci,Fc,n,na,N0,xr,Fn,b,null,-0,0)}}break}while(!0);$a(t)}function u5(t,n,o,f,v,b,M,V,F,J,ne,ie,ee,ae){if(t.timeoutHandle=-1,ie=n.subtreeFlags,ie&8192||(ie&16785408)===16785408){ie={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:an},a5(n,b,ie);var pe=(b&62914560)===b?Si-At():(b&4194048)===b?l5-At():0;if(pe=RC(ie,pe),pe!==null){vn=b,t.cancelPendingCommit=pe(v5.bind(null,t,n,b,o,f,v,M,V,F,ne,ie,null,ee,ae)),$n(t,b,M,!J);return}}v5(t,n,b,o,f,v,M,V,F)}function QZ(t){for(var n=t;;){var o=n.tag;if((o===0||o===11||o===15)&&n.flags&16384&&(o=n.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var f=0;f<o.length;f++){var v=o[f],b=v.getSnapshot;v=v.value;try{if(!Jt(b(),v))return!1}catch{return!1}}if(o=n.child,n.subtreeFlags&16384&&o!==null)o.return=n,n=o;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function $n(t,n,o,f){n&=~Oc,n&=~N0,t.suspendedLanes|=n,t.pingedLanes&=~n,f&&(t.warmLanes|=n),f=t.expirationTimes;for(var v=n;0<v;){var b=31-Qt(v),M=1<<b;f[b]=-1,v&=~M}o!==0&&ym(t,o,n)}function Hi(){return(qe&6)===0?(Ds(0),!1):!0}function $c(){if(Ce!==null){if(Be===0)var t=Ce.return;else t=Ce,ln=g0=null,sc(t),cr=null,bs=0,t=Ce;for(;t!==null;)zp(t.alternate,t),t=t.return;Ce=null}}function br(t,n){var o=t.timeoutHandle;o!==-1&&(t.timeoutHandle=-1,xC(o)),o=t.cancelPendingCommit,o!==null&&(t.cancelPendingCommit=null,o()),vn=0,$c(),Ge=t,Ce=o=rn(t.current,null),Ve=n,Be=0,aa=null,Fn=!1,gr=as(t,n),Dc=!1,xr=na=Oc=N0=qn=rt=0,Gt=Rs=null,Fc=!1,(n&8)!==0&&(n|=n&32);var f=t.entangledLanes;if(f!==0)for(t=t.entanglements,f&=n;0<f;){var v=31-Qt(f),b=1<<v;n|=t[v],f&=~b}return xn=n,Ql(),o}function d5(t,n){Ne=null,L.H=Ss,n===or||n===si?(n=S3(),Be=3):n===Go?(n=S3(),Be=4):Be=n===wc?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,aa=n,Ce===null&&(rt=1,bi(t,ha(n,t.current)))}function h5(){var t=ea.current;return t===null?!0:(Ve&4194048)===Ve?ga===null:(Ve&62914560)===Ve||(Ve&536870912)!==0?t===ga:!1}function f5(){var t=L.H;return L.H=Ss,t===null?Ss:t}function m5(){var t=L.A;return L.A=KZ,t}function _i(){rt=4,Fn||(Ve&4194048)!==Ve&&ea.current!==null||(gr=!0),(qn&134217727)===0&&(N0&134217727)===0||Ge===null||$n(Ge,Ve,na,!1)}function Uc(t,n,o){var f=qe;qe|=2;var v=f5(),b=m5();(Ge!==t||Ve!==n)&&(Ci=null,br(t,n)),n=!1;var M=rt;e:do try{if(Be!==0&&Ce!==null){var V=Ce,F=aa;switch(Be){case 8:$c(),M=6;break e;case 3:case 2:case 9:case 6:ea.current===null&&(n=!0);var J=Be;if(Be=0,aa=null,yr(t,V,F,J),o&&gr){M=0;break e}break;default:J=Be,Be=0,aa=null,yr(t,V,F,J)}}JZ(),M=rt;break}catch(ne){d5(t,ne)}while(!0);return n&&t.shellSuspendCounter++,ln=g0=null,qe=f,L.H=v,L.A=b,Ce===null&&(Ge=null,Ve=0,Ql()),M}function JZ(){for(;Ce!==null;)p5(Ce)}function WZ(t,n){var o=qe;qe|=2;var f=f5(),v=m5();Ge!==t||Ve!==n?(Ci=null,Zi=At()+500,br(t,n)):gr=as(t,n);e:do try{if(Be!==0&&Ce!==null){n=Ce;var b=aa;t:switch(Be){case 1:Be=0,aa=null,yr(t,n,b,1);break;case 2:case 9:if(N3(b)){Be=0,aa=null,g5(n);break}n=function(){Be!==2&&Be!==9||Ge!==t||(Be=7),$a(t)},b.then(n,n);break e;case 3:Be=7;break e;case 4:Be=5;break e;case 7:N3(b)?(Be=0,aa=null,g5(n)):(Be=0,aa=null,yr(t,n,b,7));break;case 5:var M=null;switch(Ce.tag){case 26:M=Ce.memoizedState;case 5:case 27:var V=Ce;if(M?tg(M):V.stateNode.complete){Be=0,aa=null;var F=V.sibling;if(F!==null)Ce=F;else{var J=V.return;J!==null?(Ce=J,Vi(J)):Ce=null}break t}}Be=0,aa=null,yr(t,n,b,5);break;case 6:Be=0,aa=null,yr(t,n,b,6);break;case 8:$c(),rt=6;break e;default:throw Error(i(462))}}eC();break}catch(ne){d5(t,ne)}while(!0);return ln=g0=null,L.H=f,L.A=v,qe=o,Ce!==null?0:(Ge=null,Ve=0,Ql(),rt)}function eC(){for(;Ce!==null&&!Tt();)p5(Ce)}function p5(t){var n=Fp(t.alternate,t,xn);t.memoizedProps=t.pendingProps,n===null?Vi(t):Ce=n}function g5(t){var n=t,o=n.alternate;switch(n.tag){case 15:case 0:n=Tp(o,n,n.pendingProps,n.type,void 0,Ve);break;case 11:n=Tp(o,n,n.pendingProps,n.type.render,n.ref,Ve);break;case 5:sc(n);default:zp(o,n),n=Ce=m3(n,xn),n=Fp(o,n,xn)}t.memoizedProps=t.pendingProps,n===null?Vi(t):Ce=n}function yr(t,n,o,f){ln=g0=null,sc(n),cr=null,bs=0;var v=n.return;try{if(BZ(t,v,n,o,Ve)){rt=1,bi(t,ha(o,t.current)),Ce=null;return}}catch(b){if(v!==null)throw Ce=v,b;rt=1,bi(t,ha(o,t.current)),Ce=null;return}n.flags&32768?(Re||f===1?t=!0:gr||(Ve&536870912)!==0?t=!1:(Fn=t=!0,(f===2||f===9||f===3||f===6)&&(f=ea.current,f!==null&&f.tag===13&&(f.flags|=16384))),x5(n,t)):Vi(n)}function Vi(t){var n=t;do{if((n.flags&32768)!==0){x5(n,Fn);return}t=n.return;var o=IZ(n.alternate,n,xn);if(o!==null){Ce=o;return}if(n=n.sibling,n!==null){Ce=n;return}Ce=n=t}while(n!==null);rt===0&&(rt=5)}function x5(t,n){do{var o=PZ(t.alternate,t);if(o!==null){o.flags&=32767,Ce=o;return}if(o=t.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!n&&(t=t.sibling,t!==null)){Ce=t;return}Ce=t=o}while(t!==null);rt=6,Ce=null}function v5(t,n,o,f,v,b,M,V,F){t.cancelPendingCommit=null;do Ti();while(xt!==0);if((qe&6)!==0)throw Error(i(327));if(n!==null){if(n===t.current)throw Error(i(177));if(b=n.lanes|n.childLanes,b|=Vo,TS(t,o,b,M,V,F),t===Ge&&(Ce=Ge=null,Ve=0),vr=n,Bn=t,vn=o,qc=b,zc=v,i5=f,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,rC(Za,function(){return j5(),null})):(t.callbackNode=null,t.callbackPriority=0),f=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||f){f=L.T,L.T=null,v=$.p,$.p=2,M=qe,qe|=4;try{GZ(t,n,o)}finally{qe=M,$.p=v,L.T=f}}xt=1,b5(),y5(),w5()}}function b5(){if(xt===1){xt=0;var t=Bn,n=vr,o=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||o){o=L.T,L.T=null;var f=$.p;$.p=2;var v=qe;qe|=4;try{Wp(n,t);var b=a2,M=s3(t.containerInfo),V=b.focusedElem,F=b.selectionRange;if(M!==V&&V&&V.ownerDocument&&r3(V.ownerDocument.documentElement,V)){if(F!==null&&So(V)){var J=F.start,ne=F.end;if(ne===void 0&&(ne=J),"selectionStart"in V)V.selectionStart=J,V.selectionEnd=Math.min(ne,V.value.length);else{var ie=V.ownerDocument||document,ee=ie&&ie.defaultView||window;if(ee.getSelection){var ae=ee.getSelection(),pe=V.textContent.length,we=Math.min(F.start,pe),Pe=F.end===void 0?we:Math.min(F.end,pe);!ae.extend&&we>Pe&&(M=Pe,Pe=we,we=M);var G=n3(V,we),U=n3(V,Pe);if(G&&U&&(ae.rangeCount!==1||ae.anchorNode!==G.node||ae.anchorOffset!==G.offset||ae.focusNode!==U.node||ae.focusOffset!==U.offset)){var Q=ie.createRange();Q.setStart(G.node,G.offset),ae.removeAllRanges(),we>Pe?(ae.addRange(Q),ae.extend(U.node,U.offset)):(Q.setEnd(U.node,U.offset),ae.addRange(Q))}}}}for(ie=[],ae=V;ae=ae.parentNode;)ae.nodeType===1&&ie.push({element:ae,left:ae.scrollLeft,top:ae.scrollTop});for(typeof V.focus=="function"&&V.focus(),V=0;V<ie.length;V++){var le=ie[V];le.element.scrollLeft=le.left,le.element.scrollTop=le.top}}Ii=!!t2,a2=t2=null}finally{qe=v,$.p=f,L.T=o}}t.current=n,xt=2}}function y5(){if(xt===2){xt=0;var t=Bn,n=vr,o=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||o){o=L.T,L.T=null;var f=$.p;$.p=2;var v=qe;qe|=4;try{Yp(t,n.alternate,n)}finally{qe=v,$.p=f,L.T=o}}xt=3}}function w5(){if(xt===4||xt===3){xt=0,Lt();var t=Bn,n=vr,o=vn,f=i5;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?xt=5:(xt=0,vr=Bn=null,A5(t,t.pendingLanes));var v=t.pendingLanes;if(v===0&&(zn=null),io(o),n=n.stateNode,lt&&typeof lt.onCommitFiberRoot=="function")try{lt.onCommitFiberRoot(zt,n,void 0,(n.current.flags&128)===128)}catch{}if(f!==null){n=L.T,v=$.p,$.p=2,L.T=null;try{for(var b=t.onRecoverableError,M=0;M<f.length;M++){var V=f[M];b(V.value,{componentStack:V.stack})}}finally{L.T=n,$.p=v}}(vn&3)!==0&&Ti(),$a(t),v=t.pendingLanes,(o&261930)!==0&&(v&42)!==0?t===Bc?ks++:(ks=0,Bc=t):ks=0,Ds(0)}}function A5(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,xs(n)))}function Ti(){return b5(),y5(),w5(),j5()}function j5(){if(xt!==5)return!1;var t=Bn,n=qc;qc=0;var o=io(vn),f=L.T,v=$.p;try{$.p=32>o?32:o,L.T=null,o=zc,zc=null;var b=Bn,M=vn;if(xt=0,vr=Bn=null,vn=0,(qe&6)!==0)throw Error(i(331));var V=qe;if(qe|=4,r5(b.current),t5(b,b.current,M,o),qe=V,Ds(0,!1),lt&&typeof lt.onPostCommitFiberRoot=="function")try{lt.onPostCommitFiberRoot(zt,b)}catch{}return!0}finally{$.p=v,L.T=f,A5(t,n)}}function E5(t,n,o){n=ha(o,n),n=yc(t.stateNode,n,2),t=Rn(t,n,2),t!==null&&(ns(t,2),$a(t))}function $e(t,n,o){if(t.tag===3)E5(t,t,o);else for(;n!==null;){if(n.tag===3){E5(n,t,o);break}else if(n.tag===1){var f=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(zn===null||!zn.has(f))){t=ha(o,t),o=Np(2),f=Rn(n,o,2),f!==null&&(Mp(o,f,n,t),ns(f,2),$a(f));break}}n=n.return}}function Ic(t,n,o){var f=t.pingCache;if(f===null){f=t.pingCache=new XZ;var v=new Set;f.set(n,v)}else v=f.get(n),v===void 0&&(v=new Set,f.set(n,v));v.has(o)||(Dc=!0,v.add(o),t=tC.bind(null,t,n,o),n.then(t,t))}function tC(t,n,o){var f=t.pingCache;f!==null&&f.delete(n),t.pingedLanes|=t.suspendedLanes&o,t.warmLanes&=~o,Ge===t&&(Ve&o)===o&&(rt===4||rt===3&&(Ve&62914560)===Ve&&300>At()-Si?(qe&2)===0&&br(t,0):Oc|=o,xr===Ve&&(xr=0)),$a(t)}function N5(t,n){n===0&&(n=bm()),t=f0(t,n),t!==null&&(ns(t,n),$a(t))}function aC(t){var n=t.memoizedState,o=0;n!==null&&(o=n.retryLane),N5(t,o)}function nC(t,n){var o=0;switch(t.tag){case 31:case 13:var f=t.stateNode,v=t.memoizedState;v!==null&&(o=v.retryLane);break;case 19:f=t.stateNode;break;case 22:f=t.stateNode._retryCache;break;default:throw Error(i(314))}f!==null&&f.delete(n),N5(t,o)}function rC(t,n){return i0(t,n)}var Li=null,wr=null,Pc=!1,Ri=!1,Gc=!1,Un=0;function $a(t){t!==wr&&t.next===null&&(wr===null?Li=wr=t:wr=wr.next=t),Ri=!0,Pc||(Pc=!0,lC())}function Ds(t,n){if(!Gc&&Ri){Gc=!0;do for(var o=!1,f=Li;f!==null;){if(t!==0){var v=f.pendingLanes;if(v===0)var b=0;else{var M=f.suspendedLanes,V=f.pingedLanes;b=(1<<31-Qt(42|t)+1)-1,b&=v&~(M&~V),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(o=!0,C5(f,b))}else b=Ve,b=Fl(f,f===Ge?b:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(b&3)===0||as(f,b)||(o=!0,C5(f,b));f=f.next}while(o);Gc=!1}}function sC(){M5()}function M5(){Ri=Pc=!1;var t=0;Un!==0&&gC()&&(t=Un);for(var n=At(),o=null,f=Li;f!==null;){var v=f.next,b=S5(f,n);b===0?(f.next=null,o===null?Li=v:o.next=v,v===null&&(wr=o)):(o=f,(t!==0||(b&3)!==0)&&(Ri=!0)),f=v}xt!==0&&xt!==5||Ds(t),Un!==0&&(Un=0)}function S5(t,n){for(var o=t.suspendedLanes,f=t.pingedLanes,v=t.expirationTimes,b=t.pendingLanes&-62914561;0<b;){var M=31-Qt(b),V=1<<M,F=v[M];F===-1?((V&o)===0||(V&f)!==0)&&(v[M]=VS(V,n)):F<=n&&(t.expiredLanes|=V),b&=~V}if(n=Ge,o=Ve,o=Fl(t,t===n?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),f=t.callbackNode,o===0||t===n&&(Be===2||Be===9)||t.cancelPendingCommit!==null)return f!==null&&f!==null&&at(f),t.callbackNode=null,t.callbackPriority=0;if((o&3)===0||as(t,o)){if(n=o&-o,n===t.callbackPriority)return n;switch(f!==null&&at(f),io(o)){case 2:case 8:o=es;break;case 32:o=Za;break;case 268435456:o=ts;break;default:o=Za}return f=Z5.bind(null,t),o=i0(o,f),t.callbackPriority=n,t.callbackNode=o,n}return f!==null&&f!==null&&at(f),t.callbackPriority=2,t.callbackNode=null,2}function Z5(t,n){if(xt!==0&&xt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var o=t.callbackNode;if(Ti()&&t.callbackNode!==o)return null;var f=Ve;return f=Fl(t,t===Ge?f:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),f===0?null:(c5(t,f,n),S5(t,At()),t.callbackNode!=null&&t.callbackNode===o?Z5.bind(null,t):null)}function C5(t,n){if(Ti())return null;c5(t,n,!0)}function lC(){vC(function(){(qe&6)!==0?i0(Tl,sC):M5()})}function Yc(){if(Un===0){var t=lr;t===0&&(t=kl,kl<<=1,(kl&261888)===0&&(kl=256)),Un=t}return Un}function H5(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:$l(""+t)}function _5(t,n){var o=n.ownerDocument.createElement("input");return o.name=n.name,o.value=n.value,t.id&&o.setAttribute("form",t.id),n.parentNode.insertBefore(o,n),t=new FormData(t),o.parentNode.removeChild(o),t}function iC(t,n,o,f,v){if(n==="submit"&&o&&o.stateNode===v){var b=H5((v[Bt]||null).action),M=f.submitter;M&&(n=(n=M[Bt]||null)?H5(n.formAction):M.getAttribute("formAction"),n!==null&&(b=n,M=null));var V=new Gl("action","action",null,f,v);t.push({event:V,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(Un!==0){var F=M?_5(v,M):new FormData(v);mc(o,{pending:!0,data:F,method:v.method,action:b},null,F)}}else typeof b=="function"&&(V.preventDefault(),F=M?_5(v,M):new FormData(v),mc(o,{pending:!0,data:F,method:v.method,action:b},b,F))},currentTarget:v}]})}}for(var Kc=0;Kc<_o.length;Kc++){var Xc=_o[Kc],oC=Xc.toLowerCase(),cC=Xc[0].toUpperCase()+Xc.slice(1);Ca(oC,"on"+cC)}Ca(o3,"onAnimationEnd"),Ca(c3,"onAnimationIteration"),Ca(u3,"onAnimationStart"),Ca("dblclick","onDoubleClick"),Ca("focusin","onFocus"),Ca("focusout","onBlur"),Ca(NZ,"onTransitionRun"),Ca(MZ,"onTransitionStart"),Ca(SZ,"onTransitionCancel"),Ca(d3,"onTransitionEnd"),P0("onMouseEnter",["mouseout","mouseover"]),P0("onMouseLeave",["mouseout","mouseover"]),P0("onPointerEnter",["pointerout","pointerover"]),P0("onPointerLeave",["pointerout","pointerover"]),c0("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c0("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c0("onBeforeInput",["compositionend","keypress","textInput","paste"]),c0("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c0("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c0("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Os="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(" "),uC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Os));function V5(t,n){n=(n&4)!==0;for(var o=0;o<t.length;o++){var f=t[o],v=f.event;f=f.listeners;e:{var b=void 0;if(n)for(var M=f.length-1;0<=M;M--){var V=f[M],F=V.instance,J=V.currentTarget;if(V=V.listener,F!==b&&v.isPropagationStopped())break e;b=V,v.currentTarget=J;try{b(v)}catch(ne){Xl(ne)}v.currentTarget=null,b=F}else for(M=0;M<f.length;M++){if(V=f[M],F=V.instance,J=V.currentTarget,V=V.listener,F!==b&&v.isPropagationStopped())break e;b=V,v.currentTarget=J;try{b(v)}catch(ne){Xl(ne)}v.currentTarget=null,b=F}}}}function He(t,n){var o=n[oo];o===void 0&&(o=n[oo]=new Set);var f=t+"__bubble";o.has(f)||(T5(n,t,2,!1),o.add(f))}function Qc(t,n,o){var f=0;n&&(f|=4),T5(o,t,f,n)}var ki="_reactListening"+Math.random().toString(36).slice(2);function Jc(t){if(!t[ki]){t[ki]=!0,Mm.forEach(function(o){o!=="selectionchange"&&(uC.has(o)||Qc(o,!1,t),Qc(o,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[ki]||(n[ki]=!0,Qc("selectionchange",!1,n))}}function T5(t,n,o,f){switch(og(n)){case 2:var v=OC;break;case 8:v=FC;break;default:v=f2}o=v.bind(null,n,o,t),v=void 0,!vo||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(v=!0),f?v!==void 0?t.addEventListener(n,o,{capture:!0,passive:v}):t.addEventListener(n,o,!0):v!==void 0?t.addEventListener(n,o,{passive:v}):t.addEventListener(n,o,!1)}function Wc(t,n,o,f,v){var b=f;if((n&1)===0&&(n&2)===0&&f!==null)e:for(;;){if(f===null)return;var M=f.tag;if(M===3||M===4){var V=f.stateNode.containerInfo;if(V===v)break;if(M===4)for(M=f.return;M!==null;){var F=M.tag;if((F===3||F===4)&&M.stateNode.containerInfo===v)return;M=M.return}for(;V!==null;){if(M=$0(V),M===null)return;if(F=M.tag,F===5||F===6||F===26||F===27){f=b=M;continue e}V=V.parentNode}}f=f.return}Om(function(){var J=b,ne=go(o),ie=[];e:{var ee=h3.get(t);if(ee!==void 0){var ae=Gl,pe=t;switch(t){case"keypress":if(Il(o)===0)break e;case"keydown":case"keyup":ae=nZ;break;case"focusin":pe="focus",ae=Ao;break;case"focusout":pe="blur",ae=Ao;break;case"beforeblur":case"afterblur":ae=Ao;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ae=zm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ae=IS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ae=lZ;break;case o3:case c3:case u3:ae=YS;break;case d3:ae=oZ;break;case"scroll":case"scrollend":ae=$S;break;case"wheel":ae=uZ;break;case"copy":case"cut":case"paste":ae=XS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ae=$m;break;case"toggle":case"beforetoggle":ae=hZ}var we=(n&4)!==0,Pe=!we&&(t==="scroll"||t==="scrollend"),G=we?ee!==null?ee+"Capture":null:ee;we=[];for(var U=J,Q;U!==null;){var le=U;if(Q=le.stateNode,le=le.tag,le!==5&&le!==26&&le!==27||Q===null||G===null||(le=ls(U,G),le!=null&&we.push(Fs(U,le,Q))),Pe)break;U=U.return}0<we.length&&(ee=new ae(ee,pe,null,o,ne),ie.push({event:ee,listeners:we}))}}if((n&7)===0){e:{if(ee=t==="mouseover"||t==="pointerover",ae=t==="mouseout"||t==="pointerout",ee&&o!==po&&(pe=o.relatedTarget||o.fromElement)&&($0(pe)||pe[B0]))break e;if((ae||ee)&&(ee=ne.window===ne?ne:(ee=ne.ownerDocument)?ee.defaultView||ee.parentWindow:window,ae?(pe=o.relatedTarget||o.toElement,ae=J,pe=pe?$0(pe):null,pe!==null&&(Pe=u(pe),we=pe.tag,pe!==Pe||we!==5&&we!==27&&we!==6)&&(pe=null)):(ae=null,pe=J),ae!==pe)){if(we=zm,le="onMouseLeave",G="onMouseEnter",U="mouse",(t==="pointerout"||t==="pointerover")&&(we=$m,le="onPointerLeave",G="onPointerEnter",U="pointer"),Pe=ae==null?ee:ss(ae),Q=pe==null?ee:ss(pe),ee=new we(le,U+"leave",ae,o,ne),ee.target=Pe,ee.relatedTarget=Q,le=null,$0(ne)===J&&(we=new we(G,U+"enter",pe,o,ne),we.target=Q,we.relatedTarget=Pe,le=we),Pe=le,ae&&pe)t:{for(we=dC,G=ae,U=pe,Q=0,le=G;le;le=we(le))Q++;le=0;for(var ve=U;ve;ve=we(ve))le++;for(;0<Q-le;)G=we(G),Q--;for(;0<le-Q;)U=we(U),le--;for(;Q--;){if(G===U||U!==null&&G===U.alternate){we=G;break t}G=we(G),U=we(U)}we=null}else we=null;ae!==null&&L5(ie,ee,ae,we,!1),pe!==null&&Pe!==null&&L5(ie,Pe,pe,we,!0)}}e:{if(ee=J?ss(J):window,ae=ee.nodeName&&ee.nodeName.toLowerCase(),ae==="select"||ae==="input"&&ee.type==="file")var Oe=Qm;else if(Km(ee))if(Jm)Oe=AZ;else{Oe=yZ;var xe=bZ}else ae=ee.nodeName,!ae||ae.toLowerCase()!=="input"||ee.type!=="checkbox"&&ee.type!=="radio"?J&&mo(J.elementType)&&(Oe=Qm):Oe=wZ;if(Oe&&(Oe=Oe(t,J))){Xm(ie,Oe,o,ne);break e}xe&&xe(t,ee,J),t==="focusout"&&J&&ee.type==="number"&&J.memoizedProps.value!=null&&fo(ee,"number",ee.value)}switch(xe=J?ss(J):window,t){case"focusin":(Km(xe)||xe.contentEditable==="true")&&(J0=xe,Zo=J,ms=null);break;case"focusout":ms=Zo=J0=null;break;case"mousedown":Co=!0;break;case"contextmenu":case"mouseup":case"dragend":Co=!1,l3(ie,o,ne);break;case"selectionchange":if(EZ)break;case"keydown":case"keyup":l3(ie,o,ne)}var Me;if(Eo)e:{switch(t){case"compositionstart":var Te="onCompositionStart";break e;case"compositionend":Te="onCompositionEnd";break e;case"compositionupdate":Te="onCompositionUpdate";break e}Te=void 0}else Q0?Gm(t,o)&&(Te="onCompositionEnd"):t==="keydown"&&o.keyCode===229&&(Te="onCompositionStart");Te&&(Um&&o.locale!=="ko"&&(Q0||Te!=="onCompositionStart"?Te==="onCompositionEnd"&&Q0&&(Me=Fm()):(Zn=ne,bo="value"in Zn?Zn.value:Zn.textContent,Q0=!0)),xe=Di(J,Te),0<xe.length&&(Te=new Bm(Te,t,null,o,ne),ie.push({event:Te,listeners:xe}),Me?Te.data=Me:(Me=Ym(o),Me!==null&&(Te.data=Me)))),(Me=mZ?pZ(t,o):gZ(t,o))&&(Te=Di(J,"onBeforeInput"),0<Te.length&&(xe=new Bm("onBeforeInput","beforeinput",null,o,ne),ie.push({event:xe,listeners:Te}),xe.data=Me)),iC(ie,t,J,o,ne)}V5(ie,n)})}function Fs(t,n,o){return{instance:t,listener:n,currentTarget:o}}function Di(t,n){for(var o=n+"Capture",f=[];t!==null;){var v=t,b=v.stateNode;if(v=v.tag,v!==5&&v!==26&&v!==27||b===null||(v=ls(t,o),v!=null&&f.unshift(Fs(t,v,b)),v=ls(t,n),v!=null&&f.push(Fs(t,v,b))),t.tag===3)return f;t=t.return}return[]}function dC(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function L5(t,n,o,f,v){for(var b=n._reactName,M=[];o!==null&&o!==f;){var V=o,F=V.alternate,J=V.stateNode;if(V=V.tag,F!==null&&F===f)break;V!==5&&V!==26&&V!==27||J===null||(F=J,v?(J=ls(o,b),J!=null&&M.unshift(Fs(o,J,F))):v||(J=ls(o,b),J!=null&&M.push(Fs(o,J,F)))),o=o.return}M.length!==0&&t.push({event:n,listeners:M})}var hC=/\r\n?/g,fC=/\u0000|\uFFFD/g;function R5(t){return(typeof t=="string"?t:""+t).replace(hC,`
49
+ `).replace(fC,"")}function k5(t,n){return n=R5(n),R5(t)===n}function Ie(t,n,o,f,v,b){switch(o){case"children":typeof f=="string"?n==="body"||n==="textarea"&&f===""||Y0(t,f):(typeof f=="number"||typeof f=="bigint")&&n!=="body"&&Y0(t,""+f);break;case"className":zl(t,"class",f);break;case"tabIndex":zl(t,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":zl(t,o,f);break;case"style":km(t,f,b);break;case"data":if(n!=="object"){zl(t,"data",f);break}case"src":case"href":if(f===""&&(n!=="a"||o!=="href")){t.removeAttribute(o);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){t.removeAttribute(o);break}f=$l(""+f),t.setAttribute(o,f);break;case"action":case"formAction":if(typeof f=="function"){t.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(o==="formAction"?(n!=="input"&&Ie(t,n,"name",v.name,v,null),Ie(t,n,"formEncType",v.formEncType,v,null),Ie(t,n,"formMethod",v.formMethod,v,null),Ie(t,n,"formTarget",v.formTarget,v,null)):(Ie(t,n,"encType",v.encType,v,null),Ie(t,n,"method",v.method,v,null),Ie(t,n,"target",v.target,v,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){t.removeAttribute(o);break}f=$l(""+f),t.setAttribute(o,f);break;case"onClick":f!=null&&(t.onclick=an);break;case"onScroll":f!=null&&He("scroll",t);break;case"onScrollEnd":f!=null&&He("scrollend",t);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(i(61));if(o=f.__html,o!=null){if(v.children!=null)throw Error(i(60));t.innerHTML=o}}break;case"multiple":t.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":t.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){t.removeAttribute("xlink:href");break}o=$l(""+f),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?t.setAttribute(o,""+f):t.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":f&&typeof f!="function"&&typeof f!="symbol"?t.setAttribute(o,""):t.removeAttribute(o);break;case"capture":case"download":f===!0?t.setAttribute(o,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?t.setAttribute(o,f):t.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?t.setAttribute(o,f):t.removeAttribute(o);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?t.removeAttribute(o):t.setAttribute(o,f);break;case"popover":He("beforetoggle",t),He("toggle",t),ql(t,"popover",f);break;case"xlinkActuate":tn(t,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":tn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":tn(t,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":tn(t,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":tn(t,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":tn(t,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":tn(t,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":tn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":tn(t,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":ql(t,"is",f);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=zS.get(o)||o,ql(t,o,f))}}function e2(t,n,o,f,v,b){switch(o){case"style":km(t,f,b);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(i(61));if(o=f.__html,o!=null){if(v.children!=null)throw Error(i(60));t.innerHTML=o}}break;case"children":typeof f=="string"?Y0(t,f):(typeof f=="number"||typeof f=="bigint")&&Y0(t,""+f);break;case"onScroll":f!=null&&He("scroll",t);break;case"onScrollEnd":f!=null&&He("scrollend",t);break;case"onClick":f!=null&&(t.onclick=an);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Sm.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(v=o.endsWith("Capture"),n=o.slice(2,v?o.length-7:void 0),b=t[Bt]||null,b=b!=null?b[o]:null,typeof b=="function"&&t.removeEventListener(n,b,v),typeof f=="function")){typeof b!="function"&&b!==null&&(o in t?t[o]=null:t.hasAttribute(o)&&t.removeAttribute(o)),t.addEventListener(n,f,v);break e}o in t?t[o]=f:f===!0?t.setAttribute(o,""):ql(t,o,f)}}}function _t(t,n,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":He("error",t),He("load",t);var f=!1,v=!1,b;for(b in o)if(o.hasOwnProperty(b)){var M=o[b];if(M!=null)switch(b){case"src":f=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:Ie(t,n,b,M,o,null)}}v&&Ie(t,n,"srcSet",o.srcSet,o,null),f&&Ie(t,n,"src",o.src,o,null);return;case"input":He("invalid",t);var V=b=M=v=null,F=null,J=null;for(f in o)if(o.hasOwnProperty(f)){var ne=o[f];if(ne!=null)switch(f){case"name":v=ne;break;case"type":M=ne;break;case"checked":F=ne;break;case"defaultChecked":J=ne;break;case"value":b=ne;break;case"defaultValue":V=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(i(137,n));break;default:Ie(t,n,f,ne,o,null)}}Vm(t,b,V,F,J,M,v,!1);return;case"select":He("invalid",t),f=M=b=null;for(v in o)if(o.hasOwnProperty(v)&&(V=o[v],V!=null))switch(v){case"value":b=V;break;case"defaultValue":M=V;break;case"multiple":f=V;default:Ie(t,n,v,V,o,null)}n=b,o=M,t.multiple=!!f,n!=null?G0(t,!!f,n,!1):o!=null&&G0(t,!!f,o,!0);return;case"textarea":He("invalid",t),b=v=f=null;for(M in o)if(o.hasOwnProperty(M)&&(V=o[M],V!=null))switch(M){case"value":f=V;break;case"defaultValue":v=V;break;case"children":b=V;break;case"dangerouslySetInnerHTML":if(V!=null)throw Error(i(91));break;default:Ie(t,n,M,V,o,null)}Lm(t,f,v,b);return;case"option":for(F in o)if(o.hasOwnProperty(F)&&(f=o[F],f!=null))switch(F){case"selected":t.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:Ie(t,n,F,f,o,null)}return;case"dialog":He("beforetoggle",t),He("toggle",t),He("cancel",t),He("close",t);break;case"iframe":case"object":He("load",t);break;case"video":case"audio":for(f=0;f<Os.length;f++)He(Os[f],t);break;case"image":He("error",t),He("load",t);break;case"details":He("toggle",t);break;case"embed":case"source":case"link":He("error",t),He("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(J in o)if(o.hasOwnProperty(J)&&(f=o[J],f!=null))switch(J){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:Ie(t,n,J,f,o,null)}return;default:if(mo(n)){for(ne in o)o.hasOwnProperty(ne)&&(f=o[ne],f!==void 0&&e2(t,n,ne,f,o,void 0));return}}for(V in o)o.hasOwnProperty(V)&&(f=o[V],f!=null&&Ie(t,n,V,f,o,null))}function mC(t,n,o,f){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,b=null,M=null,V=null,F=null,J=null,ne=null;for(ae in o){var ie=o[ae];if(o.hasOwnProperty(ae)&&ie!=null)switch(ae){case"checked":break;case"value":break;case"defaultValue":F=ie;default:f.hasOwnProperty(ae)||Ie(t,n,ae,null,f,ie)}}for(var ee in f){var ae=f[ee];if(ie=o[ee],f.hasOwnProperty(ee)&&(ae!=null||ie!=null))switch(ee){case"type":b=ae;break;case"name":v=ae;break;case"checked":J=ae;break;case"defaultChecked":ne=ae;break;case"value":M=ae;break;case"defaultValue":V=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(i(137,n));break;default:ae!==ie&&Ie(t,n,ee,ae,f,ie)}}ho(t,M,V,F,J,ne,b,v);return;case"select":ae=M=V=ee=null;for(b in o)if(F=o[b],o.hasOwnProperty(b)&&F!=null)switch(b){case"value":break;case"multiple":ae=F;default:f.hasOwnProperty(b)||Ie(t,n,b,null,f,F)}for(v in f)if(b=f[v],F=o[v],f.hasOwnProperty(v)&&(b!=null||F!=null))switch(v){case"value":ee=b;break;case"defaultValue":V=b;break;case"multiple":M=b;default:b!==F&&Ie(t,n,v,b,f,F)}n=V,o=M,f=ae,ee!=null?G0(t,!!o,ee,!1):!!f!=!!o&&(n!=null?G0(t,!!o,n,!0):G0(t,!!o,o?[]:"",!1));return;case"textarea":ae=ee=null;for(V in o)if(v=o[V],o.hasOwnProperty(V)&&v!=null&&!f.hasOwnProperty(V))switch(V){case"value":break;case"children":break;default:Ie(t,n,V,null,f,v)}for(M in f)if(v=f[M],b=o[M],f.hasOwnProperty(M)&&(v!=null||b!=null))switch(M){case"value":ee=v;break;case"defaultValue":ae=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(i(91));break;default:v!==b&&Ie(t,n,M,v,f,b)}Tm(t,ee,ae);return;case"option":for(var pe in o)if(ee=o[pe],o.hasOwnProperty(pe)&&ee!=null&&!f.hasOwnProperty(pe))switch(pe){case"selected":t.selected=!1;break;default:Ie(t,n,pe,null,f,ee)}for(F in f)if(ee=f[F],ae=o[F],f.hasOwnProperty(F)&&ee!==ae&&(ee!=null||ae!=null))switch(F){case"selected":t.selected=ee&&typeof ee!="function"&&typeof ee!="symbol";break;default:Ie(t,n,F,ee,f,ae)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var we in o)ee=o[we],o.hasOwnProperty(we)&&ee!=null&&!f.hasOwnProperty(we)&&Ie(t,n,we,null,f,ee);for(J in f)if(ee=f[J],ae=o[J],f.hasOwnProperty(J)&&ee!==ae&&(ee!=null||ae!=null))switch(J){case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(i(137,n));break;default:Ie(t,n,J,ee,f,ae)}return;default:if(mo(n)){for(var Pe in o)ee=o[Pe],o.hasOwnProperty(Pe)&&ee!==void 0&&!f.hasOwnProperty(Pe)&&e2(t,n,Pe,void 0,f,ee);for(ne in f)ee=f[ne],ae=o[ne],!f.hasOwnProperty(ne)||ee===ae||ee===void 0&&ae===void 0||e2(t,n,ne,ee,f,ae);return}}for(var G in o)ee=o[G],o.hasOwnProperty(G)&&ee!=null&&!f.hasOwnProperty(G)&&Ie(t,n,G,null,f,ee);for(ie in f)ee=f[ie],ae=o[ie],!f.hasOwnProperty(ie)||ee===ae||ee==null&&ae==null||Ie(t,n,ie,ee,f,ae)}function D5(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function pC(){if(typeof performance.getEntriesByType=="function"){for(var t=0,n=0,o=performance.getEntriesByType("resource"),f=0;f<o.length;f++){var v=o[f],b=v.transferSize,M=v.initiatorType,V=v.duration;if(b&&V&&D5(M)){for(M=0,V=v.responseEnd,f+=1;f<o.length;f++){var F=o[f],J=F.startTime;if(J>V)break;var ne=F.transferSize,ie=F.initiatorType;ne&&D5(ie)&&(F=F.responseEnd,M+=ne*(F<V?1:(V-J)/(F-J)))}if(--f,n+=8*(b+M)/(v.duration/1e3),t++,10<t)break}}if(0<t)return n/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var t2=null,a2=null;function Oi(t){return t.nodeType===9?t:t.ownerDocument}function O5(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function F5(t,n){if(t===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&n==="foreignObject"?0:t}function n2(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var r2=null;function gC(){var t=window.event;return t&&t.type==="popstate"?t===r2?!1:(r2=t,!0):(r2=null,!1)}var q5=typeof setTimeout=="function"?setTimeout:void 0,xC=typeof clearTimeout=="function"?clearTimeout:void 0,z5=typeof Promise=="function"?Promise:void 0,vC=typeof queueMicrotask=="function"?queueMicrotask:typeof z5<"u"?function(t){return z5.resolve(null).then(t).catch(bC)}:q5;function bC(t){setTimeout(function(){throw t})}function In(t){return t==="head"}function B5(t,n){var o=n,f=0;do{var v=o.nextSibling;if(t.removeChild(o),v&&v.nodeType===8)if(o=v.data,o==="/$"||o==="/&"){if(f===0){t.removeChild(v),Nr(n);return}f--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")f++;else if(o==="html")qs(t.ownerDocument.documentElement);else if(o==="head"){o=t.ownerDocument.head,qs(o);for(var b=o.firstChild;b;){var M=b.nextSibling,V=b.nodeName;b[rs]||V==="SCRIPT"||V==="STYLE"||V==="LINK"&&b.rel.toLowerCase()==="stylesheet"||o.removeChild(b),b=M}}else o==="body"&&qs(t.ownerDocument.body);o=v}while(o);Nr(n)}function $5(t,n){var o=t;t=0;do{var f=o.nextSibling;if(o.nodeType===1?n?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(n?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),f&&f.nodeType===8)if(o=f.data,o==="/$"){if(t===0)break;t--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||t++;o=f}while(o)}function s2(t){var n=t.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var o=n;switch(n=n.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":s2(o),co(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}t.removeChild(o)}}function yC(t,n,o,f){for(;t.nodeType===1;){var v=o;if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!f&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(f){if(!t[rs])switch(n){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(b=t.getAttribute("rel"),b==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(b!==v.rel||t.getAttribute("href")!==(v.href==null||v.href===""?null:v.href)||t.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||t.getAttribute("title")!==(v.title==null?null:v.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(b=t.getAttribute("src"),(b!==(v.src==null?null:v.src)||t.getAttribute("type")!==(v.type==null?null:v.type)||t.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&b&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(n==="input"&&t.type==="hidden"){var b=v.name==null?null:""+v.name;if(v.type==="hidden"&&t.getAttribute("name")===b)return t}else return t;if(t=xa(t.nextSibling),t===null)break}return null}function wC(t,n,o){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!o||(t=xa(t.nextSibling),t===null))return null;return t}function U5(t,n){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=xa(t.nextSibling),t===null))return null;return t}function l2(t){return t.data==="$?"||t.data==="$~"}function i2(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function AC(t,n){var o=t.ownerDocument;if(t.data==="$~")t._reactRetry=n;else if(t.data!=="$?"||o.readyState!=="loading")n();else{var f=function(){n(),o.removeEventListener("DOMContentLoaded",f)};o.addEventListener("DOMContentLoaded",f),t._reactRetry=f}}function xa(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return t}var o2=null;function I5(t){t=t.nextSibling;for(var n=0;t;){if(t.nodeType===8){var o=t.data;if(o==="/$"||o==="/&"){if(n===0)return xa(t.nextSibling);n--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||n++}t=t.nextSibling}return null}function P5(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var o=t.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(n===0)return t;n--}else o!=="/$"&&o!=="/&"||n++}t=t.previousSibling}return null}function G5(t,n,o){switch(n=Oi(o),t){case"html":if(t=n.documentElement,!t)throw Error(i(452));return t;case"head":if(t=n.head,!t)throw Error(i(453));return t;case"body":if(t=n.body,!t)throw Error(i(454));return t;default:throw Error(i(451))}}function qs(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);co(t)}var va=new Map,Y5=new Set;function Fi(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var bn=$.d;$.d={f:jC,r:EC,D:NC,C:MC,L:SC,m:ZC,X:HC,S:CC,M:_C};function jC(){var t=bn.f(),n=Hi();return t||n}function EC(t){var n=U0(t);n!==null&&n.tag===5&&n.type==="form"?dp(n):bn.r(t)}var Ar=typeof document>"u"?null:document;function K5(t,n,o){var f=Ar;if(f&&typeof n=="string"&&n){var v=ua(n);v='link[rel="'+t+'"][href="'+v+'"]',typeof o=="string"&&(v+='[crossorigin="'+o+'"]'),Y5.has(v)||(Y5.add(v),t={rel:t,crossOrigin:o,href:n},f.querySelector(v)===null&&(n=f.createElement("link"),_t(n,"link",t),jt(n),f.head.appendChild(n)))}}function NC(t){bn.D(t),K5("dns-prefetch",t,null)}function MC(t,n){bn.C(t,n),K5("preconnect",t,n)}function SC(t,n,o){bn.L(t,n,o);var f=Ar;if(f&&t&&n){var v='link[rel="preload"][as="'+ua(n)+'"]';n==="image"&&o&&o.imageSrcSet?(v+='[imagesrcset="'+ua(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(v+='[imagesizes="'+ua(o.imageSizes)+'"]')):v+='[href="'+ua(t)+'"]';var b=v;switch(n){case"style":b=jr(t);break;case"script":b=Er(t)}va.has(b)||(t=x({rel:"preload",href:n==="image"&&o&&o.imageSrcSet?void 0:t,as:n},o),va.set(b,t),f.querySelector(v)!==null||n==="style"&&f.querySelector(zs(b))||n==="script"&&f.querySelector(Bs(b))||(n=f.createElement("link"),_t(n,"link",t),jt(n),f.head.appendChild(n)))}}function ZC(t,n){bn.m(t,n);var o=Ar;if(o&&t){var f=n&&typeof n.as=="string"?n.as:"script",v='link[rel="modulepreload"][as="'+ua(f)+'"][href="'+ua(t)+'"]',b=v;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=Er(t)}if(!va.has(b)&&(t=x({rel:"modulepreload",href:t},n),va.set(b,t),o.querySelector(v)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(Bs(b)))return}f=o.createElement("link"),_t(f,"link",t),jt(f),o.head.appendChild(f)}}}function CC(t,n,o){bn.S(t,n,o);var f=Ar;if(f&&t){var v=I0(f).hoistableStyles,b=jr(t);n=n||"default";var M=v.get(b);if(!M){var V={loading:0,preload:null};if(M=f.querySelector(zs(b)))V.loading=5;else{t=x({rel:"stylesheet",href:t,"data-precedence":n},o),(o=va.get(b))&&c2(t,o);var F=M=f.createElement("link");jt(F),_t(F,"link",t),F._p=new Promise(function(J,ne){F.onload=J,F.onerror=ne}),F.addEventListener("load",function(){V.loading|=1}),F.addEventListener("error",function(){V.loading|=2}),V.loading|=4,qi(M,n,f)}M={type:"stylesheet",instance:M,count:1,state:V},v.set(b,M)}}}function HC(t,n){bn.X(t,n);var o=Ar;if(o&&t){var f=I0(o).hoistableScripts,v=Er(t),b=f.get(v);b||(b=o.querySelector(Bs(v)),b||(t=x({src:t,async:!0},n),(n=va.get(v))&&u2(t,n),b=o.createElement("script"),jt(b),_t(b,"link",t),o.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},f.set(v,b))}}function _C(t,n){bn.M(t,n);var o=Ar;if(o&&t){var f=I0(o).hoistableScripts,v=Er(t),b=f.get(v);b||(b=o.querySelector(Bs(v)),b||(t=x({src:t,async:!0,type:"module"},n),(n=va.get(v))&&u2(t,n),b=o.createElement("script"),jt(b),_t(b,"link",t),o.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},f.set(v,b))}}function X5(t,n,o,f){var v=(v=P.current)?Fi(v):null;if(!v)throw Error(i(446));switch(t){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(n=jr(o.href),o=I0(v).hoistableStyles,f=o.get(n),f||(f={type:"style",instance:null,count:0,state:null},o.set(n,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){t=jr(o.href);var b=I0(v).hoistableStyles,M=b.get(t);if(M||(v=v.ownerDocument||v,M={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(t,M),(b=v.querySelector(zs(t)))&&!b._p&&(M.instance=b,M.state.loading=5),va.has(t)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},va.set(t,o),b||VC(v,t,o,M.state))),n&&f===null)throw Error(i(528,""));return M}if(n&&f!==null)throw Error(i(529,""));return null;case"script":return n=o.async,o=o.src,typeof o=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Er(o),o=I0(v).hoistableScripts,f=o.get(n),f||(f={type:"script",instance:null,count:0,state:null},o.set(n,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,t))}}function jr(t){return'href="'+ua(t)+'"'}function zs(t){return'link[rel="stylesheet"]['+t+"]"}function Q5(t){return x({},t,{"data-precedence":t.precedence,precedence:null})}function VC(t,n,o,f){t.querySelector('link[rel="preload"][as="style"]['+n+"]")?f.loading=1:(n=t.createElement("link"),f.preload=n,n.addEventListener("load",function(){return f.loading|=1}),n.addEventListener("error",function(){return f.loading|=2}),_t(n,"link",o),jt(n),t.head.appendChild(n))}function Er(t){return'[src="'+ua(t)+'"]'}function Bs(t){return"script[async]"+t}function J5(t,n,o){if(n.count++,n.instance===null)switch(n.type){case"style":var f=t.querySelector('style[data-href~="'+ua(o.href)+'"]');if(f)return n.instance=f,jt(f),f;var v=x({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return f=(t.ownerDocument||t).createElement("style"),jt(f),_t(f,"style",v),qi(f,o.precedence,t),n.instance=f;case"stylesheet":v=jr(o.href);var b=t.querySelector(zs(v));if(b)return n.state.loading|=4,n.instance=b,jt(b),b;f=Q5(o),(v=va.get(v))&&c2(f,v),b=(t.ownerDocument||t).createElement("link"),jt(b);var M=b;return M._p=new Promise(function(V,F){M.onload=V,M.onerror=F}),_t(b,"link",f),n.state.loading|=4,qi(b,o.precedence,t),n.instance=b;case"script":return b=Er(o.src),(v=t.querySelector(Bs(b)))?(n.instance=v,jt(v),v):(f=o,(v=va.get(b))&&(f=x({},o),u2(f,v)),t=t.ownerDocument||t,v=t.createElement("script"),jt(v),_t(v,"link",f),t.head.appendChild(v),n.instance=v);case"void":return null;default:throw Error(i(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(f=n.instance,n.state.loading|=4,qi(f,o.precedence,t));return n.instance}function qi(t,n,o){for(var f=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=f.length?f[f.length-1]:null,b=v,M=0;M<f.length;M++){var V=f[M];if(V.dataset.precedence===n)b=V;else if(b!==v)break}b?b.parentNode.insertBefore(t,b.nextSibling):(n=o.nodeType===9?o.head:o,n.insertBefore(t,n.firstChild))}function c2(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function u2(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var zi=null;function W5(t,n,o){if(zi===null){var f=new Map,v=zi=new Map;v.set(o,f)}else v=zi,f=v.get(o),f||(f=new Map,v.set(o,f));if(f.has(t))return f;for(f.set(t,null),o=o.getElementsByTagName(t),v=0;v<o.length;v++){var b=o[v];if(!(b[rs]||b[St]||t==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var M=b.getAttribute(n)||"";M=t+M;var V=f.get(M);V?V.push(b):f.set(M,[b])}}return f}function eg(t,n,o){t=t.ownerDocument||t,t.head.insertBefore(o,n==="title"?t.querySelector("head > title"):null)}function TC(t,n,o){if(o===1||n.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return t=n.disabled,typeof n.precedence=="string"&&t==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function tg(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function LC(t,n,o,f){if(o.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var v=jr(f.href),b=n.querySelector(zs(v));if(b){n=b._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(t.count++,t=Bi.bind(t),n.then(t,t)),o.state.loading|=4,o.instance=b,jt(b);return}b=n.ownerDocument||n,f=Q5(f),(v=va.get(v))&&c2(f,v),b=b.createElement("link"),jt(b);var M=b;M._p=new Promise(function(V,F){M.onload=V,M.onerror=F}),_t(b,"link",f),o.instance=b}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(o,n),(n=o.state.preload)&&(o.state.loading&3)===0&&(t.count++,o=Bi.bind(t),n.addEventListener("load",o),n.addEventListener("error",o))}}var d2=0;function RC(t,n){return t.stylesheets&&t.count===0&&Ui(t,t.stylesheets),0<t.count||0<t.imgCount?function(o){var f=setTimeout(function(){if(t.stylesheets&&Ui(t,t.stylesheets),t.unsuspend){var b=t.unsuspend;t.unsuspend=null,b()}},6e4+n);0<t.imgBytes&&d2===0&&(d2=62500*pC());var v=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Ui(t,t.stylesheets),t.unsuspend)){var b=t.unsuspend;t.unsuspend=null,b()}},(t.imgBytes>d2?50:800)+n);return t.unsuspend=o,function(){t.unsuspend=null,clearTimeout(f),clearTimeout(v)}}:null}function Bi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ui(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var $i=null;function Ui(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,$i=new Map,n.forEach(kC,t),$i=null,Bi.call(t))}function kC(t,n){if(!(n.state.loading&4)){var o=$i.get(t);if(o)var f=o.get(null);else{o=new Map,$i.set(t,o);for(var v=t.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<v.length;b++){var M=v[b];(M.nodeName==="LINK"||M.getAttribute("media")!=="not all")&&(o.set(M.dataset.precedence,M),f=M)}f&&o.set(null,f)}v=n.instance,M=v.getAttribute("data-precedence"),b=o.get(M)||f,b===f&&o.set(null,v),o.set(M,v),this.count++,f=Bi.bind(this),v.addEventListener("load",f),v.addEventListener("error",f),b?b.parentNode.insertBefore(v,b.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(v,t.firstChild)),n.state.loading|=4}}var $s={$$typeof:Z,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function DC(t,n,o,f,v,b,M,V,F){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=so(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=so(0),this.hiddenUpdates=so(null),this.identifierPrefix=f,this.onUncaughtError=v,this.onCaughtError=b,this.onRecoverableError=M,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=F,this.incompleteTransitions=new Map}function ag(t,n,o,f,v,b,M,V,F,J,ne,ie){return t=new DC(t,n,o,M,F,J,ne,ie,V),n=1,b===!0&&(n|=24),b=Wt(3,null,null,n),t.current=b,b.stateNode=t,n=Uo(),n.refCount++,t.pooledCache=n,n.refCount++,b.memoizedState={element:f,isDehydrated:o,cache:n},Yo(b),t}function ng(t){return t?(t=tr,t):tr}function rg(t,n,o,f,v,b){v=ng(v),f.context===null?f.context=v:f.pendingContext=v,f=Ln(n),f.payload={element:o},b=b===void 0?null:b,b!==null&&(f.callback=b),o=Rn(t,f,n),o!==null&&(Yt(o,t,n),ws(o,t,n))}function sg(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var o=t.retryLane;t.retryLane=o!==0&&o<n?o:n}}function h2(t,n){sg(t,n),(t=t.alternate)&&sg(t,n)}function lg(t){if(t.tag===13||t.tag===31){var n=f0(t,67108864);n!==null&&Yt(n,t,67108864),h2(t,67108864)}}function ig(t){if(t.tag===13||t.tag===31){var n=ra();n=lo(n);var o=f0(t,n);o!==null&&Yt(o,t,n),h2(t,n)}}var Ii=!0;function OC(t,n,o,f){var v=L.T;L.T=null;var b=$.p;try{$.p=2,f2(t,n,o,f)}finally{$.p=b,L.T=v}}function FC(t,n,o,f){var v=L.T;L.T=null;var b=$.p;try{$.p=8,f2(t,n,o,f)}finally{$.p=b,L.T=v}}function f2(t,n,o,f){if(Ii){var v=m2(f);if(v===null)Wc(t,n,f,Pi,o),cg(t,f);else if(zC(v,t,n,o,f))f.stopPropagation();else if(cg(t,f),n&4&&-1<qC.indexOf(t)){for(;v!==null;){var b=U0(v);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var M=o0(b.pendingLanes);if(M!==0){var V=b;for(V.pendingLanes|=2,V.entangledLanes|=2;M;){var F=1<<31-Qt(M);V.entanglements[1]|=F,M&=~F}$a(b),(qe&6)===0&&(Zi=At()+500,Ds(0))}}break;case 31:case 13:V=f0(b,2),V!==null&&Yt(V,b,2),Hi(),h2(b,2)}if(b=m2(f),b===null&&Wc(t,n,f,Pi,o),b===v)break;v=b}v!==null&&f.stopPropagation()}else Wc(t,n,f,null,o)}}function m2(t){return t=go(t),p2(t)}var Pi=null;function p2(t){if(Pi=null,t=$0(t),t!==null){var n=u(t);if(n===null)t=null;else{var o=n.tag;if(o===13){if(t=d(n),t!==null)return t;t=null}else if(o===31){if(t=h(n),t!==null)return t;t=null}else if(o===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return Pi=t,null}function og(t){switch(t){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(z0()){case Tl:return 2;case es:return 8;case Za:case Ll:return 32;case ts:return 268435456;default:return 32}default:return 32}}var g2=!1,Pn=null,Gn=null,Yn=null,Us=new Map,Is=new Map,Kn=[],qC="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".split(" ");function cg(t,n){switch(t){case"focusin":case"focusout":Pn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Yn=null;break;case"pointerover":case"pointerout":Us.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Is.delete(n.pointerId)}}function Ps(t,n,o,f,v,b){return t===null||t.nativeEvent!==b?(t={blockedOn:n,domEventName:o,eventSystemFlags:f,nativeEvent:b,targetContainers:[v]},n!==null&&(n=U0(n),n!==null&&lg(n)),t):(t.eventSystemFlags|=f,n=t.targetContainers,v!==null&&n.indexOf(v)===-1&&n.push(v),t)}function zC(t,n,o,f,v){switch(n){case"focusin":return Pn=Ps(Pn,t,n,o,f,v),!0;case"dragenter":return Gn=Ps(Gn,t,n,o,f,v),!0;case"mouseover":return Yn=Ps(Yn,t,n,o,f,v),!0;case"pointerover":var b=v.pointerId;return Us.set(b,Ps(Us.get(b)||null,t,n,o,f,v)),!0;case"gotpointercapture":return b=v.pointerId,Is.set(b,Ps(Is.get(b)||null,t,n,o,f,v)),!0}return!1}function ug(t){var n=$0(t.target);if(n!==null){var o=u(n);if(o!==null){if(n=o.tag,n===13){if(n=d(o),n!==null){t.blockedOn=n,Em(t.priority,function(){ig(o)});return}}else if(n===31){if(n=h(o),n!==null){t.blockedOn=n,Em(t.priority,function(){ig(o)});return}}else if(n===3&&o.stateNode.current.memoizedState.isDehydrated){t.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Gi(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var o=m2(t.nativeEvent);if(o===null){o=t.nativeEvent;var f=new o.constructor(o.type,o);po=f,o.target.dispatchEvent(f),po=null}else return n=U0(o),n!==null&&lg(n),t.blockedOn=o,!1;n.shift()}return!0}function dg(t,n,o){Gi(t)&&o.delete(n)}function BC(){g2=!1,Pn!==null&&Gi(Pn)&&(Pn=null),Gn!==null&&Gi(Gn)&&(Gn=null),Yn!==null&&Gi(Yn)&&(Yn=null),Us.forEach(dg),Is.forEach(dg)}function Yi(t,n){t.blockedOn===n&&(t.blockedOn=null,g2||(g2=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,BC)))}var Ki=null;function hg(t){Ki!==t&&(Ki=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Ki===t&&(Ki=null);for(var n=0;n<t.length;n+=3){var o=t[n],f=t[n+1],v=t[n+2];if(typeof f!="function"){if(p2(f||o)===null)continue;break}var b=U0(o);b!==null&&(t.splice(n,3),n-=3,mc(b,{pending:!0,data:v,method:o.method,action:f},f,v))}}))}function Nr(t){function n(F){return Yi(F,t)}Pn!==null&&Yi(Pn,t),Gn!==null&&Yi(Gn,t),Yn!==null&&Yi(Yn,t),Us.forEach(n),Is.forEach(n);for(var o=0;o<Kn.length;o++){var f=Kn[o];f.blockedOn===t&&(f.blockedOn=null)}for(;0<Kn.length&&(o=Kn[0],o.blockedOn===null);)ug(o),o.blockedOn===null&&Kn.shift();if(o=(t.ownerDocument||t).$$reactFormReplay,o!=null)for(f=0;f<o.length;f+=3){var v=o[f],b=o[f+1],M=v[Bt]||null;if(typeof b=="function")M||hg(o);else if(M){var V=null;if(b&&b.hasAttribute("formAction")){if(v=b,M=b[Bt]||null)V=M.formAction;else if(p2(v)!==null)continue}else V=M.action;typeof V=="function"?o[f+1]=V:(o.splice(f,3),f-=3),hg(o)}}}function fg(){function t(b){b.canIntercept&&b.info==="react-transition"&&b.intercept({handler:function(){return new Promise(function(M){return v=M})},focusReset:"manual",scroll:"manual"})}function n(){v!==null&&(v(),v=null),f||setTimeout(o,20)}function o(){if(!f&&!navigation.transition){var b=navigation.currentEntry;b&&b.url!=null&&navigation.navigate(b.url,{state:b.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,v=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(o,100),function(){f=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),v!==null&&(v(),v=null)}}}function x2(t){this._internalRoot=t}Xi.prototype.render=x2.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(i(409));var o=n.current,f=ra();rg(o,f,t,n,null,null)},Xi.prototype.unmount=x2.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;rg(t.current,2,null,t,null,null),Hi(),n[B0]=null}};function Xi(t){this._internalRoot=t}Xi.prototype.unstable_scheduleHydration=function(t){if(t){var n=jm();t={blockedOn:null,target:t,priority:n};for(var o=0;o<Kn.length&&n!==0&&n<Kn[o].priority;o++);Kn.splice(o,0,t),o===0&&ug(t)}};var mg=a.version;if(mg!=="19.2.4")throw Error(i(527,mg,"19.2.4"));$.findDOMNode=function(t){var n=t._reactInternals;if(n===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=p(n),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var $C={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Qi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qi.isDisabled&&Qi.supportsFiber)try{zt=Qi.inject($C),lt=Qi}catch{}}return Ys.createRoot=function(t,n){if(!c(t))throw Error(i(299));var o=!1,f="",v=wp,b=Ap,M=jp;return n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(f=n.identifierPrefix),n.onUncaughtError!==void 0&&(v=n.onUncaughtError),n.onCaughtError!==void 0&&(b=n.onCaughtError),n.onRecoverableError!==void 0&&(M=n.onRecoverableError)),n=ag(t,1,!1,null,null,o,f,null,v,b,M,fg),t[B0]=n.current,Jc(t),new x2(n)},Ys.hydrateRoot=function(t,n,o){if(!c(t))throw Error(i(299));var f=!1,v="",b=wp,M=Ap,V=jp,F=null;return o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(v=o.identifierPrefix),o.onUncaughtError!==void 0&&(b=o.onUncaughtError),o.onCaughtError!==void 0&&(M=o.onCaughtError),o.onRecoverableError!==void 0&&(V=o.onRecoverableError),o.formState!==void 0&&(F=o.formState)),n=ag(t,1,!0,n,o??null,f,v,F,b,M,V,fg),n.context=ng(null),o=n.current,f=ra(),f=lo(f),v=Ln(f),v.callback=null,Rn(o,v,f),o=f,n.current.lanes=o,ns(n,o),$a(n),t[B0]=n.current,Jc(t),new Xi(n)},Ys.version="19.2.4",Ys}var Eg;function aH(){if(Eg)return y2.exports;Eg=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(a){console.error(a)}}return e(),y2.exports=tH(),y2.exports}var nH=aH();/**
50
+ * react-router v7.13.1
51
+ *
52
+ * Copyright (c) Remix Software Inc.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE.md file in the root directory of this source tree.
56
+ *
57
+ * @license MIT
58
+ */var Ng="popstate";function Mg(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function rH(e={}){function a(i,c){var p;let u=(p=c.state)==null?void 0:p.masked,{pathname:d,search:h,hash:m}=u||i.location;return vh("",{pathname:d,search:h,hash:m},c.state&&c.state.usr||null,c.state&&c.state.key||"default",u?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function l(i,c){return typeof c=="string"?c:il(c)}return lH(a,l,null,e)}function We(e,a){if(e===!1||e===null||typeof e>"u")throw new Error(a)}function ka(e,a){if(!e){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function sH(){return Math.random().toString(36).substring(2,10)}function Sg(e,a){return{usr:e.state,key:e.key,idx:a,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function vh(e,a,l=null,i,c){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof a=="string"?zr(a):a,state:l,key:a&&a.key||i||sH(),unstable_mask:c}}function il({pathname:e="/",search:a="",hash:l=""}){return a&&a!=="?"&&(e+=a.charAt(0)==="?"?a:"?"+a),l&&l!=="#"&&(e+=l.charAt(0)==="#"?l:"#"+l),e}function zr(e){let a={};if(e){let l=e.indexOf("#");l>=0&&(a.hash=e.substring(l),e=e.substring(0,l));let i=e.indexOf("?");i>=0&&(a.search=e.substring(i),e=e.substring(0,i)),e&&(a.pathname=e)}return a}function lH(e,a,l,i={}){let{window:c=document.defaultView,v5Compat:u=!1}=i,d=c.history,h="POP",m=null,p=g();p==null&&(p=0,d.replaceState({...d.state,idx:p},""));function g(){return(d.state||{idx:null}).idx}function x(){h="POP";let A=g(),j=A==null?null:A-p;p=A,m&&m({action:h,location:E.location,delta:j})}function y(A,j){h="PUSH";let S=Mg(A)?A:vh(E.location,A,j);p=g()+1;let Z=Sg(S,p),C=E.createHref(S.unstable_mask||S);try{d.pushState(Z,"",C)}catch(H){if(H instanceof DOMException&&H.name==="DataCloneError")throw H;c.location.assign(C)}u&&m&&m({action:h,location:E.location,delta:1})}function w(A,j){h="REPLACE";let S=Mg(A)?A:vh(E.location,A,j);p=g();let Z=Sg(S,p),C=E.createHref(S.unstable_mask||S);d.replaceState(Z,"",C),u&&m&&m({action:h,location:E.location,delta:0})}function N(A){return iH(A)}let E={get action(){return h},get location(){return e(c,d)},listen(A){if(m)throw new Error("A history only accepts one active listener");return c.addEventListener(Ng,x),m=A,()=>{c.removeEventListener(Ng,x),m=null}},createHref(A){return a(c,A)},createURL:N,encodeLocation(A){let j=N(A);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:y,replace:w,go(A){return d.go(A)}};return E}function iH(e,a=!1){let l="http://localhost";typeof window<"u"&&(l=window.location.origin!=="null"?window.location.origin:window.location.href),We(l,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:il(e);return i=i.replace(/ $/,"%20"),!a&&i.startsWith("//")&&(i=l+i),new URL(i,l)}function nA(e,a,l="/"){return oH(e,a,l,!1)}function oH(e,a,l,i){let c=typeof a=="string"?zr(a):a,u=yn(c.pathname||"/",l);if(u==null)return null;let d=rA(e);cH(d);let h=null;for(let m=0;h==null&&m<d.length;++m){let p=yH(u);h=vH(d[m],p,i)}return h}function rA(e,a=[],l=[],i="",c=!1){let u=(d,h,m=c,p)=>{let g={relativePath:p===void 0?d.path||"":p,caseSensitive:d.caseSensitive===!0,childrenIndex:h,route:d};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(i)&&m)return;We(g.relativePath.startsWith(i),`Absolute route path "${g.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(i.length)}let x=Pa([i,g.relativePath]),y=l.concat(g);d.children&&d.children.length>0&&(We(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),rA(d.children,a,y,x,m)),!(d.path==null&&!d.index)&&a.push({path:x,score:gH(x,d.index),routesMeta:y})};return e.forEach((d,h)=>{var m;if(d.path===""||!((m=d.path)!=null&&m.includes("?")))u(d,h);else for(let p of sA(d.path))u(d,h,!0,p)}),a}function sA(e){let a=e.split("/");if(a.length===0)return[];let[l,...i]=a,c=l.endsWith("?"),u=l.replace(/\?$/,"");if(i.length===0)return c?[u,""]:[u];let d=sA(i.join("/")),h=[];return h.push(...d.map(m=>m===""?u:[u,m].join("/"))),c&&h.push(...d),h.map(m=>e.startsWith("/")&&m===""?"/":m)}function cH(e){e.sort((a,l)=>a.score!==l.score?l.score-a.score:xH(a.routesMeta.map(i=>i.childrenIndex),l.routesMeta.map(i=>i.childrenIndex)))}var uH=/^:[\w-]+$/,dH=3,hH=2,fH=1,mH=10,pH=-2,Zg=e=>e==="*";function gH(e,a){let l=e.split("/"),i=l.length;return l.some(Zg)&&(i+=pH),a&&(i+=hH),l.filter(c=>!Zg(c)).reduce((c,u)=>c+(uH.test(u)?dH:u===""?fH:mH),i)}function xH(e,a){return e.length===a.length&&e.slice(0,-1).every((i,c)=>i===a[c])?e[e.length-1]-a[a.length-1]:0}function vH(e,a,l=!1){let{routesMeta:i}=e,c={},u="/",d=[];for(let h=0;h<i.length;++h){let m=i[h],p=h===i.length-1,g=u==="/"?a:a.slice(u.length)||"/",x=y1({path:m.relativePath,caseSensitive:m.caseSensitive,end:p},g),y=m.route;if(!x&&p&&l&&!i[i.length-1].route.index&&(x=y1({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},g)),!x)return null;Object.assign(c,x.params),d.push({params:c,pathname:Pa([u,x.pathname]),pathnameBase:EH(Pa([u,x.pathnameBase])),route:y}),x.pathnameBase!=="/"&&(u=Pa([u,x.pathnameBase]))}return d}function y1(e,a){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[l,i]=bH(e.path,e.caseSensitive,e.end),c=a.match(l);if(!c)return null;let u=c[0],d=u.replace(/(.)\/+$/,"$1"),h=c.slice(1);return{params:i.reduce((p,{paramName:g,isOptional:x},y)=>{if(g==="*"){let N=h[y]||"";d=u.slice(0,u.length-N.length).replace(/(.)\/+$/,"$1")}const w=h[y];return x&&!w?p[g]=void 0:p[g]=(w||"").replace(/%2F/g,"/"),p},{}),pathname:u,pathnameBase:d,pattern:e}}function bH(e,a=!1,l=!0){ka(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 i=[],c="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,h,m,p,g)=>{if(i.push({paramName:h,isOptional:m!=null}),m){let x=g.charAt(p+d.length);return x&&x!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),c+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?c+="\\/*$":e!==""&&e!=="/"&&(c+="(?:(?=\\/|$))"),[new RegExp(c,a?void 0:"i"),i]}function yH(e){try{return e.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return ka(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),e}}function yn(e,a){if(a==="/")return e;if(!e.toLowerCase().startsWith(a.toLowerCase()))return null;let l=a.endsWith("/")?a.length-1:a.length,i=e.charAt(l);return i&&i!=="/"?null:e.slice(l)||"/"}var wH=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function AH(e,a="/"){let{pathname:l,search:i="",hash:c=""}=typeof e=="string"?zr(e):e,u;return l?(l=l.replace(/\/\/+/g,"/"),l.startsWith("/")?u=Cg(l.substring(1),"/"):u=Cg(l,a)):u=a,{pathname:u,search:NH(i),hash:MH(c)}}function Cg(e,a){let l=a.replace(/\/+$/,"").split("/");return e.split("/").forEach(c=>{c===".."?l.length>1&&l.pop():c!=="."&&l.push(c)}),l.length>1?l.join("/"):"/"}function E2(e,a,l,i){return`Cannot include a '${e}' character in a manually specified \`to.${a}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${l}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function jH(e){return e.filter((a,l)=>l===0||a.route.path&&a.route.path.length>0)}function lf(e){let a=jH(e);return a.map((l,i)=>i===a.length-1?l.pathname:l.pathnameBase)}function _1(e,a,l,i=!1){let c;typeof e=="string"?c=zr(e):(c={...e},We(!c.pathname||!c.pathname.includes("?"),E2("?","pathname","search",c)),We(!c.pathname||!c.pathname.includes("#"),E2("#","pathname","hash",c)),We(!c.search||!c.search.includes("#"),E2("#","search","hash",c)));let u=e===""||c.pathname==="",d=u?"/":c.pathname,h;if(d==null)h=l;else{let x=a.length-1;if(!i&&d.startsWith("..")){let y=d.split("/");for(;y[0]==="..";)y.shift(),x-=1;c.pathname=y.join("/")}h=x>=0?a[x]:"/"}let m=AH(c,h),p=d&&d!=="/"&&d.endsWith("/"),g=(u||d===".")&&l.endsWith("/");return!m.pathname.endsWith("/")&&(p||g)&&(m.pathname+="/"),m}var Pa=e=>e.join("/").replace(/\/\/+/g,"/"),EH=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),NH=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,MH=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,SH=class{constructor(e,a,l,i=!1){this.status=e,this.statusText=a||"",this.internal=i,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function ZH(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function CH(e){return e.map(a=>a.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var lA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function iA(e,a){let l=e;if(typeof l!="string"||!wH.test(l))return{absoluteURL:void 0,isExternal:!1,to:l};let i=l,c=!1;if(lA)try{let u=new URL(window.location.href),d=l.startsWith("//")?new URL(u.protocol+l):new URL(l),h=yn(d.pathname,a);d.origin===u.origin&&h!=null?l=h+d.search+d.hash:c=!0}catch{ka(!1,`<Link to="${l}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:c,to:l}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var oA=["POST","PUT","PATCH","DELETE"];new Set(oA);var HH=["GET",...oA];new Set(HH);var Br=r.createContext(null);Br.displayName="DataRouter";var V1=r.createContext(null);V1.displayName="DataRouterState";var _H=r.createContext(!1),cA=r.createContext({isTransitioning:!1});cA.displayName="ViewTransition";var VH=r.createContext(new Map);VH.displayName="Fetchers";var TH=r.createContext(null);TH.displayName="Await";var sa=r.createContext(null);sa.displayName="Navigation";var pl=r.createContext(null);pl.displayName="Location";var Na=r.createContext({outlet:null,matches:[],isDataRoute:!1});Na.displayName="Route";var of=r.createContext(null);of.displayName="RouteError";var uA="REACT_ROUTER_ERROR",LH="REDIRECT",RH="ROUTE_ERROR_RESPONSE";function kH(e){if(e.startsWith(`${uA}:${LH}:{`))try{let a=JSON.parse(e.slice(28));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.location=="string"&&typeof a.reloadDocument=="boolean"&&typeof a.replace=="boolean")return a}catch{}}function DH(e){if(e.startsWith(`${uA}:${RH}:{`))try{let a=JSON.parse(e.slice(40));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string")return new SH(a.status,a.statusText,a.data)}catch{}}function OH(e,{relative:a}={}){We($r(),"useHref() may be used only in the context of a <Router> component.");let{basename:l,navigator:i}=r.useContext(sa),{hash:c,pathname:u,search:d}=xl(e,{relative:a}),h=u;return l!=="/"&&(h=u==="/"?l:Pa([l,u])),i.createHref({pathname:h,search:d,hash:c})}function $r(){return r.useContext(pl)!=null}function Xa(){return We($r(),"useLocation() may be used only in the context of a <Router> component."),r.useContext(pl).location}var dA="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function hA(e){r.useContext(sa).static||r.useLayoutEffect(e)}function n0(){let{isDataRoute:e}=r.useContext(Na);return e?WH():FH()}function FH(){We($r(),"useNavigate() may be used only in the context of a <Router> component.");let e=r.useContext(Br),{basename:a,navigator:l}=r.useContext(sa),{matches:i}=r.useContext(Na),{pathname:c}=Xa(),u=JSON.stringify(lf(i)),d=r.useRef(!1);return hA(()=>{d.current=!0}),r.useCallback((m,p={})=>{if(ka(d.current,dA),!d.current)return;if(typeof m=="number"){l.go(m);return}let g=_1(m,JSON.parse(u),c,p.relative==="path");e==null&&a!=="/"&&(g.pathname=g.pathname==="/"?a:Pa([a,g.pathname])),(p.replace?l.replace:l.push)(g,p.state,p)},[a,l,u,c,e])}var qH=r.createContext(null);function zH(e){let a=r.useContext(Na).outlet;return r.useMemo(()=>a&&r.createElement(qH.Provider,{value:e},a),[a,e])}function gl(){let{matches:e}=r.useContext(Na),a=e[e.length-1];return a?a.params:{}}function xl(e,{relative:a}={}){let{matches:l}=r.useContext(Na),{pathname:i}=Xa(),c=JSON.stringify(lf(l));return r.useMemo(()=>_1(e,JSON.parse(c),i,a==="path"),[e,c,i,a])}function BH(e,a){return fA(e,a)}function fA(e,a,l){var A;We($r(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=r.useContext(sa),{matches:c}=r.useContext(Na),u=c[c.length-1],d=u?u.params:{},h=u?u.pathname:"/",m=u?u.pathnameBase:"/",p=u&&u.route;{let j=p&&p.path||"";pA(h,!p||j.endsWith("*")||j.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${j}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
59
+
60
+ Please change the parent <Route path="${j}"> to <Route path="${j==="/"?"*":`${j}/*`}">.`)}let g=Xa(),x;if(a){let j=typeof a=="string"?zr(a):a;We(m==="/"||((A=j.pathname)==null?void 0:A.startsWith(m)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${m}" but pathname "${j.pathname}" was given in the \`location\` prop.`),x=j}else x=g;let y=x.pathname||"/",w=y;if(m!=="/"){let j=m.replace(/^\//,"").split("/");w="/"+y.replace(/^\//,"").split("/").slice(j.length).join("/")}let N=nA(e,{pathname:w});ka(p||N!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),ka(N==null||N[N.length-1].route.element!==void 0||N[N.length-1].route.Component!==void 0||N[N.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let E=GH(N&&N.map(j=>Object.assign({},j,{params:Object.assign({},d,j.params),pathname:Pa([m,i.encodeLocation?i.encodeLocation(j.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?m:Pa([m,i.encodeLocation?i.encodeLocation(j.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathnameBase])})),c,l);return a&&E?r.createElement(pl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...x},navigationType:"POP"}},E):E}function $H(){let e=JH(),a=ZH(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),l=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",c={padding:"0.5rem",backgroundColor:i},u={padding:"2px 4px",backgroundColor:i},d=null;return console.error("Error handled by React Router default ErrorBoundary:",e),d=r.createElement(r.Fragment,null,r.createElement("p",null,"💿 Hey developer 👋"),r.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",r.createElement("code",{style:u},"ErrorBoundary")," or"," ",r.createElement("code",{style:u},"errorElement")," prop on your route.")),r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},a),l?r.createElement("pre",{style:c},l):null,d)}var UH=r.createElement($H,null),mA=class extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,a){return a.location!==e.location||a.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:a.error,location:a.location,revalidation:e.revalidation||a.revalidation}}componentDidCatch(e,a){this.props.onError?this.props.onError(e,a):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const l=DH(e.digest);l&&(e=l)}let a=e!==void 0?r.createElement(Na.Provider,{value:this.props.routeContext},r.createElement(of.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?r.createElement(IH,{error:e},a):a}};mA.contextType=_H;var N2=new WeakMap;function IH({children:e,error:a}){let{basename:l}=r.useContext(sa);if(typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){let i=kH(a.digest);if(i){let c=N2.get(a);if(c)throw c;let u=iA(i.location,l);if(lA&&!N2.get(a))if(u.isExternal||i.reloadDocument)window.location.href=u.absoluteURL||u.to;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:i.replace}));throw N2.set(a,d),d}return r.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u.absoluteURL||u.to}`})}}return e}function PH({routeContext:e,match:a,children:l}){let i=r.useContext(Br);return i&&i.static&&i.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=a.route.id),r.createElement(Na.Provider,{value:e},l)}function GH(e,a=[],l){let i=l==null?void 0:l.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(a.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let c=e,u=i==null?void 0:i.errors;if(u!=null){let g=c.findIndex(x=>x.route.id&&(u==null?void 0:u[x.route.id])!==void 0);We(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),c=c.slice(0,Math.min(c.length,g+1))}let d=!1,h=-1;if(l&&i){d=i.renderFallback;for(let g=0;g<c.length;g++){let x=c[g];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(h=g),x.route.id){let{loaderData:y,errors:w}=i,N=x.route.loader&&!y.hasOwnProperty(x.route.id)&&(!w||w[x.route.id]===void 0);if(x.route.lazy||N){l.isStatic&&(d=!0),h>=0?c=c.slice(0,h+1):c=[c[0]];break}}}}let m=l==null?void 0:l.onError,p=i&&m?(g,x)=>{var y,w;m(g,{location:i.location,params:((w=(y=i.matches)==null?void 0:y[0])==null?void 0:w.params)??{},unstable_pattern:CH(i.matches),errorInfo:x})}:void 0;return c.reduceRight((g,x,y)=>{let w,N=!1,E=null,A=null;i&&(w=u&&x.route.id?u[x.route.id]:void 0,E=x.route.errorElement||UH,d&&(h<0&&y===0?(pA("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),N=!0,A=null):h===y&&(N=!0,A=x.route.hydrateFallbackElement||null)));let j=a.concat(c.slice(0,y+1)),S=()=>{let Z;return w?Z=E:N?Z=A:x.route.Component?Z=r.createElement(x.route.Component,null):x.route.element?Z=x.route.element:Z=g,r.createElement(PH,{match:x,routeContext:{outlet:g,matches:j,isDataRoute:i!=null},children:Z})};return i&&(x.route.ErrorBoundary||x.route.errorElement||y===0)?r.createElement(mA,{location:i.location,revalidation:i.revalidation,component:E,error:w,children:S(),routeContext:{outlet:null,matches:j,isDataRoute:!0},onError:p}):S()},null)}function cf(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function YH(e){let a=r.useContext(Br);return We(a,cf(e)),a}function KH(e){let a=r.useContext(V1);return We(a,cf(e)),a}function XH(e){let a=r.useContext(Na);return We(a,cf(e)),a}function uf(e){let a=XH(e),l=a.matches[a.matches.length-1];return We(l.route.id,`${e} can only be used on routes that contain a unique "id"`),l.route.id}function QH(){return uf("useRouteId")}function JH(){var i;let e=r.useContext(of),a=KH("useRouteError"),l=uf("useRouteError");return e!==void 0?e:(i=a.errors)==null?void 0:i[l]}function WH(){let{router:e}=YH("useNavigate"),a=uf("useNavigate"),l=r.useRef(!1);return hA(()=>{l.current=!0}),r.useCallback(async(c,u={})=>{ka(l.current,dA),l.current&&(typeof c=="number"?await e.navigate(c):await e.navigate(c,{fromRouteId:a,...u}))},[e,a])}var Hg={};function pA(e,a,l){!a&&!Hg[e]&&(Hg[e]=!0,ka(!1,l))}r.memo(e_);function e_({routes:e,future:a,state:l,isStatic:i,onError:c}){return fA(e,void 0,{state:l,isStatic:i,onError:c})}function gA({to:e,replace:a,state:l,relative:i}){We($r(),"<Navigate> may be used only in the context of a <Router> component.");let{static:c}=r.useContext(sa);ka(!c,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:u}=r.useContext(Na),{pathname:d}=Xa(),h=n0(),m=_1(e,lf(u),d,i==="path"),p=JSON.stringify(m);return r.useEffect(()=>{h(JSON.parse(p),{replace:a,state:l,relative:i})},[h,p,i,a,l]),null}function t_(e){return zH(e.context)}function Le(e){We(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function a_({basename:e="/",children:a=null,location:l,navigationType:i="POP",navigator:c,static:u=!1,unstable_useTransitions:d}){We(!$r(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=e.replace(/^\/*/,"/"),m=r.useMemo(()=>({basename:h,navigator:c,static:u,unstable_useTransitions:d,future:{}}),[h,c,u,d]);typeof l=="string"&&(l=zr(l));let{pathname:p="/",search:g="",hash:x="",state:y=null,key:w="default",unstable_mask:N}=l,E=r.useMemo(()=>{let A=yn(p,h);return A==null?null:{location:{pathname:A,search:g,hash:x,state:y,key:w,unstable_mask:N},navigationType:i}},[h,p,g,x,y,w,i,N]);return ka(E!=null,`<Router basename="${h}"> is not able to match the URL "${p}${g}${x}" because it does not start with the basename, so the <Router> won't render anything.`),E==null?null:r.createElement(sa.Provider,{value:m},r.createElement(pl.Provider,{children:a,value:E}))}function n_({children:e,location:a}){return BH(bh(e),a)}function bh(e,a=[]){let l=[];return r.Children.forEach(e,(i,c)=>{if(!r.isValidElement(i))return;let u=[...a,c];if(i.type===r.Fragment){l.push.apply(l,bh(i.props.children,u));return}We(i.type===Le,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),We(!i.props.index||!i.props.children,"An index route cannot have child routes.");let d={id:i.props.id||u.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(d.children=bh(i.props.children,u)),l.push(d)}),l}var o1="get",c1="application/x-www-form-urlencoded";function T1(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function r_(e){return T1(e)&&e.tagName.toLowerCase()==="button"}function s_(e){return T1(e)&&e.tagName.toLowerCase()==="form"}function l_(e){return T1(e)&&e.tagName.toLowerCase()==="input"}function i_(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function o_(e,a){return e.button===0&&(!a||a==="_self")&&!i_(e)}var Wi=null;function c_(){if(Wi===null)try{new FormData(document.createElement("form"),0),Wi=!1}catch{Wi=!0}return Wi}var u_=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function M2(e){return e!=null&&!u_.has(e)?(ka(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${c1}"`),null):e}function d_(e,a){let l,i,c,u,d;if(s_(e)){let h=e.getAttribute("action");i=h?yn(h,a):null,l=e.getAttribute("method")||o1,c=M2(e.getAttribute("enctype"))||c1,u=new FormData(e)}else if(r_(e)||l_(e)&&(e.type==="submit"||e.type==="image")){let h=e.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=e.getAttribute("formaction")||h.getAttribute("action");if(i=m?yn(m,a):null,l=e.getAttribute("formmethod")||h.getAttribute("method")||o1,c=M2(e.getAttribute("formenctype"))||M2(h.getAttribute("enctype"))||c1,u=new FormData(h,e),!c_()){let{name:p,type:g,value:x}=e;if(g==="image"){let y=p?`${p}.`:"";u.append(`${y}x`,"0"),u.append(`${y}y`,"0")}else p&&u.append(p,x)}}else{if(T1(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');l=o1,i=null,c=c1,d=e}return u&&c==="text/plain"&&(d=u,u=void 0),{action:i,method:l.toLowerCase(),encType:c,formData:u,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function df(e,a){if(e===!1||e===null||typeof e>"u")throw new Error(a)}function h_(e,a,l,i){let c=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return l?c.pathname.endsWith("/")?c.pathname=`${c.pathname}_.${i}`:c.pathname=`${c.pathname}.${i}`:c.pathname==="/"?c.pathname=`_root.${i}`:a&&yn(c.pathname,a)==="/"?c.pathname=`${a.replace(/\/$/,"")}/_root.${i}`:c.pathname=`${c.pathname.replace(/\/$/,"")}.${i}`,c}async function f_(e,a){if(e.id in a)return a[e.id];try{let l=await import(e.module);return a[e.id]=l,l}catch(l){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(l),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function m_(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function p_(e,a,l){let i=await Promise.all(e.map(async c=>{let u=a.routes[c.route.id];if(u){let d=await f_(u,l);return d.links?d.links():[]}return[]}));return b_(i.flat(1).filter(m_).filter(c=>c.rel==="stylesheet"||c.rel==="preload").map(c=>c.rel==="stylesheet"?{...c,rel:"prefetch",as:"style"}:{...c,rel:"prefetch"}))}function _g(e,a,l,i,c,u){let d=(m,p)=>l[p]?m.route.id!==l[p].route.id:!0,h=(m,p)=>{var g;return l[p].pathname!==m.pathname||((g=l[p].route.path)==null?void 0:g.endsWith("*"))&&l[p].params["*"]!==m.params["*"]};return u==="assets"?a.filter((m,p)=>d(m,p)||h(m,p)):u==="data"?a.filter((m,p)=>{var x;let g=i.routes[m.route.id];if(!g||!g.hasLoader)return!1;if(d(m,p)||h(m,p))return!0;if(m.route.shouldRevalidate){let y=m.route.shouldRevalidate({currentUrl:new URL(c.pathname+c.search+c.hash,window.origin),currentParams:((x=l[0])==null?void 0:x.params)||{},nextUrl:new URL(e,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof y=="boolean")return y}return!0}):[]}function g_(e,a,{includeHydrateFallback:l}={}){return x_(e.map(i=>{let c=a.routes[i.route.id];if(!c)return[];let u=[c.module];return c.clientActionModule&&(u=u.concat(c.clientActionModule)),c.clientLoaderModule&&(u=u.concat(c.clientLoaderModule)),l&&c.hydrateFallbackModule&&(u=u.concat(c.hydrateFallbackModule)),c.imports&&(u=u.concat(c.imports)),u}).flat(1))}function x_(e){return[...new Set(e)]}function v_(e){let a={},l=Object.keys(e).sort();for(let i of l)a[i]=e[i];return a}function b_(e,a){let l=new Set;return new Set(a),e.reduce((i,c)=>{let u=JSON.stringify(v_(c));return l.has(u)||(l.add(u),i.push({key:u,link:c})),i},[])}function xA(){let e=r.useContext(Br);return df(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function y_(){let e=r.useContext(V1);return df(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var hf=r.createContext(void 0);hf.displayName="FrameworkContext";function vA(){let e=r.useContext(hf);return df(e,"You must render this element inside a <HydratedRouter> element"),e}function w_(e,a){let l=r.useContext(hf),[i,c]=r.useState(!1),[u,d]=r.useState(!1),{onFocus:h,onBlur:m,onMouseEnter:p,onMouseLeave:g,onTouchStart:x}=a,y=r.useRef(null);r.useEffect(()=>{if(e==="render"&&d(!0),e==="viewport"){let E=j=>{j.forEach(S=>{d(S.isIntersecting)})},A=new IntersectionObserver(E,{threshold:.5});return y.current&&A.observe(y.current),()=>{A.disconnect()}}},[e]),r.useEffect(()=>{if(i){let E=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(E)}}},[i]);let w=()=>{c(!0)},N=()=>{c(!1),d(!1)};return l?e!=="intent"?[u,y,{}]:[u,y,{onFocus:Ks(h,w),onBlur:Ks(m,N),onMouseEnter:Ks(p,w),onMouseLeave:Ks(g,N),onTouchStart:Ks(x,w)}]:[!1,y,{}]}function Ks(e,a){return l=>{e&&e(l),l.defaultPrevented||a(l)}}function A_({page:e,...a}){let{router:l}=xA(),i=r.useMemo(()=>nA(l.routes,e,l.basename),[l.routes,e,l.basename]);return i?r.createElement(E_,{page:e,matches:i,...a}):null}function j_(e){let{manifest:a,routeModules:l}=vA(),[i,c]=r.useState([]);return r.useEffect(()=>{let u=!1;return p_(e,a,l).then(d=>{u||c(d)}),()=>{u=!0}},[e,a,l]),i}function E_({page:e,matches:a,...l}){let i=Xa(),{future:c,manifest:u,routeModules:d}=vA(),{basename:h}=xA(),{loaderData:m,matches:p}=y_(),g=r.useMemo(()=>_g(e,a,p,u,i,"data"),[e,a,p,u,i]),x=r.useMemo(()=>_g(e,a,p,u,i,"assets"),[e,a,p,u,i]),y=r.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let E=new Set,A=!1;if(a.forEach(S=>{var C;let Z=u.routes[S.route.id];!Z||!Z.hasLoader||(!g.some(H=>H.route.id===S.route.id)&&S.route.id in m&&((C=d[S.route.id])!=null&&C.shouldRevalidate)||Z.hasClientLoader?A=!0:E.add(S.route.id))}),E.size===0)return[];let j=h_(e,h,c.unstable_trailingSlashAwareDataRequests,"data");return A&&E.size>0&&j.searchParams.set("_routes",a.filter(S=>E.has(S.route.id)).map(S=>S.route.id).join(",")),[j.pathname+j.search]},[h,c.unstable_trailingSlashAwareDataRequests,m,i,u,g,a,e,d]),w=r.useMemo(()=>g_(x,u),[x,u]),N=j_(x);return r.createElement(r.Fragment,null,y.map(E=>r.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...l})),w.map(E=>r.createElement("link",{key:E,rel:"modulepreload",href:E,...l})),N.map(({key:E,link:A})=>r.createElement("link",{key:E,nonce:l.nonce,...A,crossOrigin:A.crossOrigin??l.crossOrigin})))}function N_(...e){return a=>{e.forEach(l=>{typeof l=="function"?l(a):l!=null&&(l.current=a)})}}var M_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{M_&&(window.__reactRouterVersion="7.13.1")}catch{}function S_({basename:e,children:a,unstable_useTransitions:l,window:i}){let c=r.useRef();c.current==null&&(c.current=rH({window:i,v5Compat:!0}));let u=c.current,[d,h]=r.useState({action:u.action,location:u.location}),m=r.useCallback(p=>{l===!1?h(p):r.startTransition(()=>h(p))},[l]);return r.useLayoutEffect(()=>u.listen(m),[u,m]),r.createElement(a_,{basename:e,children:a,location:d.location,navigationType:d.action,navigator:u,unstable_useTransitions:l})}var bA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,bt=r.forwardRef(function({onClick:a,discover:l="render",prefetch:i="none",relative:c,reloadDocument:u,replace:d,unstable_mask:h,state:m,target:p,to:g,preventScrollReset:x,viewTransition:y,unstable_defaultShouldRevalidate:w,...N},E){let{basename:A,navigator:j,unstable_useTransitions:S}=r.useContext(sa),Z=typeof g=="string"&&bA.test(g),C=iA(g,A);g=C.to;let H=OH(g,{relative:c}),_=Xa(),T=null;if(h){let Y=_1(h,[],_.unstable_mask?_.unstable_mask.pathname:"/",!0);A!=="/"&&(Y.pathname=Y.pathname==="/"?A:Pa([A,Y.pathname])),T=j.createHref(Y)}let[k,R,O]=w_(i,N),I=H_(g,{replace:d,unstable_mask:h,state:m,target:p,preventScrollReset:x,relative:c,viewTransition:y,unstable_defaultShouldRevalidate:w,unstable_useTransitions:S});function X(Y){a&&a(Y),Y.defaultPrevented||I(Y)}let K=!(C.isExternal||u),B=r.createElement("a",{...N,...O,href:(K?T:void 0)||C.absoluteURL||H,onClick:K?X:a,ref:N_(E,R),target:p,"data-discover":!Z&&l==="render"?"true":void 0});return k&&!Z?r.createElement(r.Fragment,null,B,r.createElement(A_,{page:H})):B});bt.displayName="Link";var T0=r.forwardRef(function({"aria-current":a="page",caseSensitive:l=!1,className:i="",end:c=!1,style:u,to:d,viewTransition:h,children:m,...p},g){let x=xl(d,{relative:p.relative}),y=Xa(),w=r.useContext(V1),{navigator:N,basename:E}=r.useContext(sa),A=w!=null&&R_(x)&&h===!0,j=N.encodeLocation?N.encodeLocation(x).pathname:x.pathname,S=y.pathname,Z=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;l||(S=S.toLowerCase(),Z=Z?Z.toLowerCase():null,j=j.toLowerCase()),Z&&E&&(Z=yn(Z,E)||Z);const C=j!=="/"&&j.endsWith("/")?j.length-1:j.length;let H=S===j||!c&&S.startsWith(j)&&S.charAt(C)==="/",_=Z!=null&&(Z===j||!c&&Z.startsWith(j)&&Z.charAt(j.length)==="/"),T={isActive:H,isPending:_,isTransitioning:A},k=H?a:void 0,R;typeof i=="function"?R=i(T):R=[i,H?"active":null,_?"pending":null,A?"transitioning":null].filter(Boolean).join(" ");let O=typeof u=="function"?u(T):u;return r.createElement(bt,{...p,"aria-current":k,className:R,ref:g,style:O,to:d,viewTransition:h},typeof m=="function"?m(T):m)});T0.displayName="NavLink";var Z_=r.forwardRef(({discover:e="render",fetcherKey:a,navigate:l,reloadDocument:i,replace:c,state:u,method:d=o1,action:h,onSubmit:m,relative:p,preventScrollReset:g,viewTransition:x,unstable_defaultShouldRevalidate:y,...w},N)=>{let{unstable_useTransitions:E}=r.useContext(sa),A=T_(),j=L_(h,{relative:p}),S=d.toLowerCase()==="get"?"get":"post",Z=typeof h=="string"&&bA.test(h),C=H=>{if(m&&m(H),H.defaultPrevented)return;H.preventDefault();let _=H.nativeEvent.submitter,T=(_==null?void 0:_.getAttribute("formmethod"))||d,k=()=>A(_||H.currentTarget,{fetcherKey:a,method:T,navigate:l,replace:c,state:u,relative:p,preventScrollReset:g,viewTransition:x,unstable_defaultShouldRevalidate:y});E&&l!==!1?r.startTransition(()=>k()):k()};return r.createElement("form",{ref:N,method:S,action:j,onSubmit:i?m:C,...w,"data-discover":!Z&&e==="render"?"true":void 0})});Z_.displayName="Form";function C_(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function yA(e){let a=r.useContext(Br);return We(a,C_(e)),a}function H_(e,{target:a,replace:l,unstable_mask:i,state:c,preventScrollReset:u,relative:d,viewTransition:h,unstable_defaultShouldRevalidate:m,unstable_useTransitions:p}={}){let g=n0(),x=Xa(),y=xl(e,{relative:d});return r.useCallback(w=>{if(o_(w,a)){w.preventDefault();let N=l!==void 0?l:il(x)===il(y),E=()=>g(e,{replace:N,unstable_mask:i,state:c,preventScrollReset:u,relative:d,viewTransition:h,unstable_defaultShouldRevalidate:m});p?r.startTransition(()=>E()):E()}},[x,g,y,l,i,c,a,e,u,d,h,m,p])}var __=0,V_=()=>`__${String(++__)}__`;function T_(){let{router:e}=yA("useSubmit"),{basename:a}=r.useContext(sa),l=QH(),i=e.fetch,c=e.navigate;return r.useCallback(async(u,d={})=>{let{action:h,method:m,encType:p,formData:g,body:x}=d_(u,a);if(d.navigate===!1){let y=d.fetcherKey||V_();await i(y,l,d.action||h,{unstable_defaultShouldRevalidate:d.unstable_defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:g,body:x,formMethod:d.method||m,formEncType:d.encType||p,flushSync:d.flushSync})}else await c(d.action||h,{unstable_defaultShouldRevalidate:d.unstable_defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:g,body:x,formMethod:d.method||m,formEncType:d.encType||p,replace:d.replace,state:d.state,fromRouteId:l,flushSync:d.flushSync,viewTransition:d.viewTransition})},[i,c,a,l])}function L_(e,{relative:a}={}){let{basename:l}=r.useContext(sa),i=r.useContext(Na);We(i,"useFormAction must be used inside a RouteContext");let[c]=i.matches.slice(-1),u={...xl(e||".",{relative:a})},d=Xa();if(e==null){u.search=d.search;let h=new URLSearchParams(u.search),m=h.getAll("index");if(m.some(g=>g==="")){h.delete("index"),m.filter(x=>x).forEach(x=>h.append("index",x));let g=h.toString();u.search=g?`?${g}`:""}}return(!e||e===".")&&c.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),l!=="/"&&(u.pathname=u.pathname==="/"?l:Pa([l,u.pathname])),il(u)}function R_(e,{relative:a}={}){let l=r.useContext(cA);We(l!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=yA("useViewTransitionState"),c=xl(e,{relative:a});if(!l.isTransitioning)return!1;let u=yn(l.currentLocation.pathname,i)||l.currentLocation.pathname,d=yn(l.nextLocation.pathname,i)||l.nextLocation.pathname;return y1(c.pathname,d)!=null||y1(c.pathname,u)!=null}const wA="";function An(){return localStorage.getItem("ohwow-session-token")}function yh(e){localStorage.setItem("ohwow-session-token",e)}function AA(){localStorage.removeItem("ohwow-session-token")}async function fe(e,a={}){const l=An(),i=await fetch(`${wA}${e}`,{...a,headers:{"Content-Type":"application/json",...l?{Authorization:`Bearer ${l}`}:{},...a.headers}});if(i.status===401)throw AA(),window.location.href="/ui/login",new Error("Unauthorized");if(!i.ok){const c=await i.json().catch(()=>({error:i.statusText}));throw new Error(c.error||`HTTP ${i.status}`)}return i.json()}async function*jA(e,a,l){const i=An(),c=await fetch(`${wA}/api/chat`,{method:"POST",headers:{"Content-Type":"application/json",...i?{Authorization:`Bearer ${i}`}:{}},body:JSON.stringify({message:e,sessionId:a,model:l})});if(!c.ok||!c.body)throw new Error("Chat request failed");const u=c.body.getReader(),d=new TextDecoder;let h="";for(;;){const{done:m,value:p}=await u.read();if(m)break;h+=d.decode(p,{stream:!0});const g=h.split(`
61
+ `);h=g.pop()||"";for(const x of g)if(x.startsWith("data: ")){const y=x.slice(6).trim();if(y==="[DONE]")return;try{yield JSON.parse(y)}catch{}}}}class EA extends r.Component{constructor(a){super(a),this.state={hasError:!1,error:null}}static getDerivedStateFromError(a){return{hasError:!0,error:a}}componentDidCatch(a,l){console.error("[ErrorBoundary]",a,l.componentStack)}render(){var a;return this.state.hasError?this.props.fallback||s.jsx("div",{className:"flex items-center justify-center h-full p-8",children:s.jsxs("div",{className:"text-center max-w-sm",children:[s.jsx("p",{className:"text-sm font-medium text-critical mb-2",children:"Something went wrong"}),s.jsx("p",{className:"text-xs text-neutral-400 mb-4",children:(a=this.state.error)==null?void 0:a.message}),s.jsx("button",{onClick:()=>this.setState({hasError:!1,error:null}),className:"px-4 py-2 text-xs bg-white/5 border border-white/[0.08] rounded-lg hover:bg-white/[0.06] transition-colors",children:"Try again"})]})}):this.props.children}}const ff=r.createContext({});function mf(e){const a=r.useRef(null);return a.current===null&&(a.current=e()),a.current}const NA=typeof window<"u",MA=NA?r.useLayoutEffect:r.useEffect,L1=r.createContext(null);function pf(e,a){e.indexOf(a)===-1&&e.push(a)}function w1(e,a){const l=e.indexOf(a);l>-1&&e.splice(l,1)}const Ya=(e,a,l)=>l>a?a:l<e?e:l;let gf=()=>{};const wn={},SA=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ZA(e){return typeof e=="object"&&e!==null}const CA=e=>/^0[^.\s]+$/u.test(e);function HA(e){let a;return()=>(a===void 0&&(a=e()),a)}const Aa=e=>e,k_=(e,a)=>l=>a(e(l)),vl=(...e)=>e.reduce(k_),ol=(e,a,l)=>{const i=a-e;return i===0?1:(l-e)/i};class xf{constructor(){this.subscriptions=[]}add(a){return pf(this.subscriptions,a),()=>w1(this.subscriptions,a)}notify(a,l,i){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](a,l,i);else for(let u=0;u<c;u++){const d=this.subscriptions[u];d&&d(a,l,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const La=e=>e*1e3,wa=e=>e/1e3;function _A(e,a){return a?e*(1e3/a):0}const VA=(e,a,l)=>(((1-3*l+3*a)*e+(3*l-6*a))*e+3*a)*e,D_=1e-7,O_=12;function F_(e,a,l,i,c){let u,d,h=0;do d=a+(l-a)/2,u=VA(d,i,c)-e,u>0?l=d:a=d;while(Math.abs(u)>D_&&++h<O_);return d}function bl(e,a,l,i){if(e===a&&l===i)return Aa;const c=u=>F_(u,0,1,e,l);return u=>u===0||u===1?u:VA(c(u),a,i)}const TA=e=>a=>a<=.5?e(2*a)/2:(2-e(2*(1-a)))/2,LA=e=>a=>1-e(1-a),RA=bl(.33,1.53,.69,.99),vf=LA(RA),kA=TA(vf),DA=e=>(e*=2)<1?.5*vf(e):.5*(2-Math.pow(2,-10*(e-1))),bf=e=>1-Math.sin(Math.acos(e)),OA=LA(bf),FA=TA(bf),q_=bl(.42,0,1,1),z_=bl(0,0,.58,1),qA=bl(.42,0,.58,1),B_=e=>Array.isArray(e)&&typeof e[0]!="number",zA=e=>Array.isArray(e)&&typeof e[0]=="number",$_={linear:Aa,easeIn:q_,easeInOut:qA,easeOut:z_,circIn:bf,circInOut:FA,circOut:OA,backIn:vf,backInOut:kA,backOut:RA,anticipate:DA},U_=e=>typeof e=="string",Vg=e=>{if(zA(e)){gf(e.length===4);const[a,l,i,c]=e;return bl(a,l,i,c)}else if(U_(e))return $_[e];return e},e1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function I_(e,a){let l=new Set,i=new Set,c=!1,u=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function m(g){d.has(g)&&(p.schedule(g),e()),g(h)}const p={schedule:(g,x=!1,y=!1)=>{const N=y&&c?l:i;return x&&d.add(g),N.has(g)||N.add(g),g},cancel:g=>{i.delete(g),d.delete(g)},process:g=>{if(h=g,c){u=!0;return}c=!0,[l,i]=[i,l],l.forEach(m),l.clear(),c=!1,u&&(u=!1,p.process(g))}};return p}const P_=40;function BA(e,a){let l=!1,i=!0;const c={delta:0,timestamp:0,isProcessing:!1},u=()=>l=!0,d=e1.reduce((Z,C)=>(Z[C]=I_(u),Z),{}),{setup:h,read:m,resolveKeyframes:p,preUpdate:g,update:x,preRender:y,render:w,postRender:N}=d,E=()=>{const Z=wn.useManualTiming?c.timestamp:performance.now();l=!1,wn.useManualTiming||(c.delta=i?1e3/60:Math.max(Math.min(Z-c.timestamp,P_),1)),c.timestamp=Z,c.isProcessing=!0,h.process(c),m.process(c),p.process(c),g.process(c),x.process(c),y.process(c),w.process(c),N.process(c),c.isProcessing=!1,l&&a&&(i=!1,e(E))},A=()=>{l=!0,i=!0,c.isProcessing||e(E)};return{schedule:e1.reduce((Z,C)=>{const H=d[C];return Z[C]=(_,T=!1,k=!1)=>(l||A(),H.schedule(_,T,k)),Z},{}),cancel:Z=>{for(let C=0;C<e1.length;C++)d[e1[C]].cancel(Z)},state:c,steps:d}}const{schedule:Ye,cancel:a0,state:Vt,steps:S2}=BA(typeof requestAnimationFrame<"u"?requestAnimationFrame:Aa,!0);let u1;function G_(){u1=void 0}const Ot={now:()=>(u1===void 0&&Ot.set(Vt.isProcessing||wn.useManualTiming?Vt.timestamp:performance.now()),u1),set:e=>{u1=e,queueMicrotask(G_)}},$A=e=>a=>typeof a=="string"&&a.startsWith(e),UA=$A("--"),Y_=$A("var(--"),yf=e=>Y_(e)?K_.test(e.split("/*")[0].trim()):!1,K_=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Tg(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ur={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},cl={...Ur,transform:e=>Ya(0,1,e)},t1={...Ur,default:1},al=e=>Math.round(e*1e5)/1e5,wf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function X_(e){return e==null}const Q_=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Af=(e,a)=>l=>!!(typeof l=="string"&&Q_.test(l)&&l.startsWith(e)||a&&!X_(l)&&Object.prototype.hasOwnProperty.call(l,a)),IA=(e,a,l)=>i=>{if(typeof i!="string")return i;const[c,u,d,h]=i.match(wf);return{[e]:parseFloat(c),[a]:parseFloat(u),[l]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},J_=e=>Ya(0,255,e),Z2={...Ur,transform:e=>Math.round(J_(e))},Z0={test:Af("rgb","red"),parse:IA("red","green","blue"),transform:({red:e,green:a,blue:l,alpha:i=1})=>"rgba("+Z2.transform(e)+", "+Z2.transform(a)+", "+Z2.transform(l)+", "+al(cl.transform(i))+")"};function W_(e){let a="",l="",i="",c="";return e.length>5?(a=e.substring(1,3),l=e.substring(3,5),i=e.substring(5,7),c=e.substring(7,9)):(a=e.substring(1,2),l=e.substring(2,3),i=e.substring(3,4),c=e.substring(4,5),a+=a,l+=l,i+=i,c+=c),{red:parseInt(a,16),green:parseInt(l,16),blue:parseInt(i,16),alpha:c?parseInt(c,16)/255:1}}const wh={test:Af("#"),parse:W_,transform:Z0.transform},yl=e=>({test:a=>typeof a=="string"&&a.endsWith(e)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${e}`}),Jn=yl("deg"),Ga=yl("%"),ge=yl("px"),eV=yl("vh"),tV=yl("vw"),Lg={...Ga,parse:e=>Ga.parse(e)/100,transform:e=>Ga.transform(e*100)},Cr={test:Af("hsl","hue"),parse:IA("hue","saturation","lightness"),transform:({hue:e,saturation:a,lightness:l,alpha:i=1})=>"hsla("+Math.round(e)+", "+Ga.transform(al(a))+", "+Ga.transform(al(l))+", "+al(cl.transform(i))+")"},mt={test:e=>Z0.test(e)||wh.test(e)||Cr.test(e),parse:e=>Z0.test(e)?Z0.parse(e):Cr.test(e)?Cr.parse(e):wh.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Z0.transform(e):Cr.transform(e),getAnimatableNone:e=>{const a=mt.parse(e);return a.alpha=0,mt.transform(a)}},aV=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function nV(e){var a,l;return isNaN(e)&&typeof e=="string"&&(((a=e.match(wf))==null?void 0:a.length)||0)+(((l=e.match(aV))==null?void 0:l.length)||0)>0}const PA="number",GA="color",rV="var",sV="var(",Rg="${}",lV=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ul(e){const a=e.toString(),l=[],i={color:[],number:[],var:[]},c=[];let u=0;const h=a.replace(lV,m=>(mt.test(m)?(i.color.push(u),c.push(GA),l.push(mt.parse(m))):m.startsWith(sV)?(i.var.push(u),c.push(rV),l.push(m)):(i.number.push(u),c.push(PA),l.push(parseFloat(m))),++u,Rg)).split(Rg);return{values:l,split:h,indexes:i,types:c}}function YA(e){return ul(e).values}function KA(e){const{split:a,types:l}=ul(e),i=a.length;return c=>{let u="";for(let d=0;d<i;d++)if(u+=a[d],c[d]!==void 0){const h=l[d];h===PA?u+=al(c[d]):h===GA?u+=mt.transform(c[d]):u+=c[d]}return u}}const iV=e=>typeof e=="number"?0:mt.test(e)?mt.getAnimatableNone(e):e;function oV(e){const a=YA(e);return KA(e)(a.map(iV))}const Ra={test:nV,parse:YA,createTransformer:KA,getAnimatableNone:oV};function C2(e,a,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?e+(a-e)*6*l:l<1/2?a:l<2/3?e+(a-e)*(2/3-l)*6:e}function cV({hue:e,saturation:a,lightness:l,alpha:i}){e/=360,a/=100,l/=100;let c=0,u=0,d=0;if(!a)c=u=d=l;else{const h=l<.5?l*(1+a):l+a-l*a,m=2*l-h;c=C2(m,h,e+1/3),u=C2(m,h,e),d=C2(m,h,e-1/3)}return{red:Math.round(c*255),green:Math.round(u*255),blue:Math.round(d*255),alpha:i}}function A1(e,a){return l=>l>0?a:e}const tt=(e,a,l)=>e+(a-e)*l,H2=(e,a,l)=>{const i=e*e,c=l*(a*a-i)+i;return c<0?0:Math.sqrt(c)},uV=[wh,Z0,Cr],dV=e=>uV.find(a=>a.test(e));function kg(e){const a=dV(e);if(!a)return!1;let l=a.parse(e);return a===Cr&&(l=cV(l)),l}const Dg=(e,a)=>{const l=kg(e),i=kg(a);if(!l||!i)return A1(e,a);const c={...l};return u=>(c.red=H2(l.red,i.red,u),c.green=H2(l.green,i.green,u),c.blue=H2(l.blue,i.blue,u),c.alpha=tt(l.alpha,i.alpha,u),Z0.transform(c))},Ah=new Set(["none","hidden"]);function hV(e,a){return Ah.has(e)?l=>l<=0?e:a:l=>l>=1?a:e}function fV(e,a){return l=>tt(e,a,l)}function jf(e){return typeof e=="number"?fV:typeof e=="string"?yf(e)?A1:mt.test(e)?Dg:gV:Array.isArray(e)?XA:typeof e=="object"?mt.test(e)?Dg:mV:A1}function XA(e,a){const l=[...e],i=l.length,c=e.map((u,d)=>jf(u)(u,a[d]));return u=>{for(let d=0;d<i;d++)l[d]=c[d](u);return l}}function mV(e,a){const l={...e,...a},i={};for(const c in l)e[c]!==void 0&&a[c]!==void 0&&(i[c]=jf(e[c])(e[c],a[c]));return c=>{for(const u in i)l[u]=i[u](c);return l}}function pV(e,a){const l=[],i={color:0,var:0,number:0};for(let c=0;c<a.values.length;c++){const u=a.types[c],d=e.indexes[u][i[u]],h=e.values[d]??0;l[c]=h,i[u]++}return l}const gV=(e,a)=>{const l=Ra.createTransformer(a),i=ul(e),c=ul(a);return i.indexes.var.length===c.indexes.var.length&&i.indexes.color.length===c.indexes.color.length&&i.indexes.number.length>=c.indexes.number.length?Ah.has(e)&&!c.values.length||Ah.has(a)&&!i.values.length?hV(e,a):vl(XA(pV(i,c),c.values),l):A1(e,a)};function QA(e,a,l){return typeof e=="number"&&typeof a=="number"&&typeof l=="number"?tt(e,a,l):jf(e)(e,a)}const xV=e=>{const a=({timestamp:l})=>e(l);return{start:(l=!0)=>Ye.update(a,l),stop:()=>a0(a),now:()=>Vt.isProcessing?Vt.timestamp:Ot.now()}},JA=(e,a,l=10)=>{let i="";const c=Math.max(Math.round(a/l),2);for(let u=0;u<c;u++)i+=Math.round(e(u/(c-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},j1=2e4;function Ef(e){let a=0;const l=50;let i=e.next(a);for(;!i.done&&a<j1;)a+=l,i=e.next(a);return a>=j1?1/0:a}function vV(e,a=100,l){const i=l({...e,keyframes:[0,a]}),c=Math.min(Ef(i),j1);return{type:"keyframes",ease:u=>i.next(c*u).value/a,duration:wa(c)}}const bV=5;function WA(e,a,l){const i=Math.max(a-bV,0);return _A(l-e(i),a-i)}const st={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},_2=.001;function yV({duration:e=st.duration,bounce:a=st.bounce,velocity:l=st.velocity,mass:i=st.mass}){let c,u,d=1-a;d=Ya(st.minDamping,st.maxDamping,d),e=Ya(st.minDuration,st.maxDuration,wa(e)),d<1?(c=p=>{const g=p*d,x=g*e,y=g-l,w=jh(p,d),N=Math.exp(-x);return _2-y/w*N},u=p=>{const x=p*d*e,y=x*l+l,w=Math.pow(d,2)*Math.pow(p,2)*e,N=Math.exp(-x),E=jh(Math.pow(p,2),d);return(-c(p)+_2>0?-1:1)*((y-w)*N)/E}):(c=p=>{const g=Math.exp(-p*e),x=(p-l)*e+1;return-_2+g*x},u=p=>{const g=Math.exp(-p*e),x=(l-p)*(e*e);return g*x});const h=5/e,m=AV(c,u,h);if(e=La(e),isNaN(m))return{stiffness:st.stiffness,damping:st.damping,duration:e};{const p=Math.pow(m,2)*i;return{stiffness:p,damping:d*2*Math.sqrt(i*p),duration:e}}}const wV=12;function AV(e,a,l){let i=l;for(let c=1;c<wV;c++)i=i-e(i)/a(i);return i}function jh(e,a){return e*Math.sqrt(1-a*a)}const jV=["duration","bounce"],EV=["stiffness","damping","mass"];function Og(e,a){return a.some(l=>e[l]!==void 0)}function NV(e){let a={velocity:st.velocity,stiffness:st.stiffness,damping:st.damping,mass:st.mass,isResolvedFromDuration:!1,...e};if(!Og(e,EV)&&Og(e,jV))if(a.velocity=0,e.visualDuration){const l=e.visualDuration,i=2*Math.PI/(l*1.2),c=i*i,u=2*Ya(.05,1,1-(e.bounce||0))*Math.sqrt(c);a={...a,mass:st.mass,stiffness:c,damping:u}}else{const l=yV({...e,velocity:0});a={...a,...l,mass:st.mass},a.isResolvedFromDuration=!0}return a}function E1(e=st.visualDuration,a=st.bounce){const l=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:a}:e;let{restSpeed:i,restDelta:c}=l;const u=l.keyframes[0],d=l.keyframes[l.keyframes.length-1],h={done:!1,value:u},{stiffness:m,damping:p,mass:g,duration:x,velocity:y,isResolvedFromDuration:w}=NV({...l,velocity:-wa(l.velocity||0)}),N=y||0,E=p/(2*Math.sqrt(m*g)),A=d-u,j=wa(Math.sqrt(m/g)),S=Math.abs(A)<5;i||(i=S?st.restSpeed.granular:st.restSpeed.default),c||(c=S?st.restDelta.granular:st.restDelta.default);let Z;if(E<1){const H=jh(j,E);Z=_=>{const T=Math.exp(-E*j*_);return d-T*((N+E*j*A)/H*Math.sin(H*_)+A*Math.cos(H*_))}}else if(E===1)Z=H=>d-Math.exp(-j*H)*(A+(N+j*A)*H);else{const H=j*Math.sqrt(E*E-1);Z=_=>{const T=Math.exp(-E*j*_),k=Math.min(H*_,300);return d-T*((N+E*j*A)*Math.sinh(k)+H*A*Math.cosh(k))/H}}const C={calculatedDuration:w&&x||null,next:H=>{const _=Z(H);if(w)h.done=H>=x;else{let T=H===0?N:0;E<1&&(T=H===0?La(N):WA(Z,H,_));const k=Math.abs(T)<=i,R=Math.abs(d-_)<=c;h.done=k&&R}return h.value=h.done?d:_,h},toString:()=>{const H=Math.min(Ef(C),j1),_=JA(T=>C.next(H*T).value,H,30);return H+"ms "+_},toTransition:()=>{}};return C}E1.applyToOptions=e=>{const a=vV(e,100,E1);return e.ease=a.ease,e.duration=La(a.duration),e.type="keyframes",e};function Eh({keyframes:e,velocity:a=0,power:l=.8,timeConstant:i=325,bounceDamping:c=10,bounceStiffness:u=500,modifyTarget:d,min:h,max:m,restDelta:p=.5,restSpeed:g}){const x=e[0],y={done:!1,value:x},w=k=>h!==void 0&&k<h||m!==void 0&&k>m,N=k=>h===void 0?m:m===void 0||Math.abs(h-k)<Math.abs(m-k)?h:m;let E=l*a;const A=x+E,j=d===void 0?A:d(A);j!==A&&(E=j-x);const S=k=>-E*Math.exp(-k/i),Z=k=>j+S(k),C=k=>{const R=S(k),O=Z(k);y.done=Math.abs(R)<=p,y.value=y.done?j:O};let H,_;const T=k=>{w(y.value)&&(H=k,_=E1({keyframes:[y.value,N(y.value)],velocity:WA(Z,k,y.value),damping:c,stiffness:u,restDelta:p,restSpeed:g}))};return T(0),{calculatedDuration:null,next:k=>{let R=!1;return!_&&H===void 0&&(R=!0,C(k),T(k)),H!==void 0&&k>=H?_.next(k-H):(!R&&C(k),y)}}}function MV(e,a,l){const i=[],c=l||wn.mix||QA,u=e.length-1;for(let d=0;d<u;d++){let h=c(e[d],e[d+1]);if(a){const m=Array.isArray(a)?a[d]||Aa:a;h=vl(m,h)}i.push(h)}return i}function SV(e,a,{clamp:l=!0,ease:i,mixer:c}={}){const u=e.length;if(gf(u===a.length),u===1)return()=>a[0];if(u===2&&a[0]===a[1])return()=>a[1];const d=e[0]===e[1];e[0]>e[u-1]&&(e=[...e].reverse(),a=[...a].reverse());const h=MV(a,i,c),m=h.length,p=g=>{if(d&&g<e[0])return a[0];let x=0;if(m>1)for(;x<e.length-2&&!(g<e[x+1]);x++);const y=ol(e[x],e[x+1],g);return h[x](y)};return l?g=>p(Ya(e[0],e[u-1],g)):p}function ZV(e,a){const l=e[e.length-1];for(let i=1;i<=a;i++){const c=ol(0,a,i);e.push(tt(l,1,c))}}function CV(e){const a=[0];return ZV(a,e.length-1),a}function HV(e,a){return e.map(l=>l*a)}function _V(e,a){return e.map(()=>a||qA).splice(0,e.length-1)}function nl({duration:e=300,keyframes:a,times:l,ease:i="easeInOut"}){const c=B_(i)?i.map(Vg):Vg(i),u={done:!1,value:a[0]},d=HV(l&&l.length===a.length?l:CV(a),e),h=SV(d,a,{ease:Array.isArray(c)?c:_V(a,c)});return{calculatedDuration:e,next:m=>(u.value=h(m),u.done=m>=e,u)}}const VV=e=>e!==null;function Nf(e,{repeat:a,repeatType:l="loop"},i,c=1){const u=e.filter(VV),h=c<0||a&&l!=="loop"&&a%2===1?0:u.length-1;return!h||i===void 0?u[h]:i}const TV={decay:Eh,inertia:Eh,tween:nl,keyframes:nl,spring:E1};function ej(e){typeof e.type=="string"&&(e.type=TV[e.type])}class Mf{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,l){return this.finished.then(a,l)}}const LV=e=>e/100;class Sf extends Mf{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var i,c;const{motionValue:l}=this.options;l&&l.updatedAt!==Ot.now()&&this.tick(Ot.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(c=(i=this.options).onStop)==null||c.call(i))},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;ej(a);const{type:l=nl,repeat:i=0,repeatDelay:c=0,repeatType:u,velocity:d=0}=a;let{keyframes:h}=a;const m=l||nl;m!==nl&&typeof h[0]!="number"&&(this.mixKeyframes=vl(LV,QA(h[0],h[1])),h=[0,100]);const p=m({...a,keyframes:h});u==="mirror"&&(this.mirroredGenerator=m({...a,keyframes:[...h].reverse(),velocity:-d})),p.calculatedDuration===null&&(p.calculatedDuration=Ef(p));const{calculatedDuration:g}=p;this.calculatedDuration=g,this.resolvedDuration=g+c,this.totalDuration=this.resolvedDuration*(i+1)-c,this.generator=p}updateTime(a){const l=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=l}tick(a,l=!1){const{generator:i,totalDuration:c,mixKeyframes:u,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:m}=this;if(this.startTime===null)return i.next(0);const{delay:p=0,keyframes:g,repeat:x,repeatType:y,repeatDelay:w,type:N,onUpdate:E,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-c/this.speed,this.startTime)),l?this.currentTime=a:this.updateTime(a);const j=this.currentTime-p*(this.playbackSpeed>=0?1:-1),S=this.playbackSpeed>=0?j<0:j>c;this.currentTime=Math.max(j,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let Z=this.currentTime,C=i;if(x){const k=Math.min(this.currentTime,c)/h;let R=Math.floor(k),O=k%1;!O&&k>=1&&(O=1),O===1&&R--,R=Math.min(R,x+1),!!(R%2)&&(y==="reverse"?(O=1-O,w&&(O-=w/h)):y==="mirror"&&(C=d)),Z=Ya(0,1,O)*h}const H=S?{done:!1,value:g[0]}:C.next(Z);u&&(H.value=u(H.value));let{done:_}=H;!S&&m!==null&&(_=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&_);return T&&N!==Eh&&(H.value=Nf(g,this.options,A,this.speed)),E&&E(H.value),T&&this.finish(),H}then(a,l){return this.finished.then(a,l)}get duration(){return wa(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+wa(a)}get time(){return wa(this.currentTime)}set time(a){var l;a=La(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),(l=this.driver)==null||l.start(!1)}get speed(){return this.playbackSpeed}set speed(a){this.updateTime(Ot.now());const l=this.playbackSpeed!==a;this.playbackSpeed=a,l&&(this.time=wa(this.currentTime))}play(){var c,u;if(this.isStopped)return;const{driver:a=xV,startTime:l}=this.options;this.driver||(this.driver=a(d=>this.tick(d))),(u=(c=this.options).onPlay)==null||u.call(c);const i=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=l??i),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ot.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var a,l;this.notifyFinished(),this.teardown(),this.state="finished",(l=(a=this.options).onComplete)==null||l.call(a)}cancel(){var a,l;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(l=(a=this.options).onCancel)==null||l.call(a)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){var l;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(l=this.driver)==null||l.stop(),a.observe(this)}}function RV(e){for(let a=1;a<e.length;a++)e[a]??(e[a]=e[a-1])}const C0=e=>e*180/Math.PI,Nh=e=>{const a=C0(Math.atan2(e[1],e[0]));return Mh(a)},kV={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Nh,rotateZ:Nh,skewX:e=>C0(Math.atan(e[1])),skewY:e=>C0(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Mh=e=>(e=e%360,e<0&&(e+=360),e),Fg=Nh,qg=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),zg=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),DV={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:qg,scaleY:zg,scale:e=>(qg(e)+zg(e))/2,rotateX:e=>Mh(C0(Math.atan2(e[6],e[5]))),rotateY:e=>Mh(C0(Math.atan2(-e[2],e[0]))),rotateZ:Fg,rotate:Fg,skewX:e=>C0(Math.atan(e[4])),skewY:e=>C0(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Sh(e){return e.includes("scale")?1:0}function Zh(e,a){if(!e||e==="none")return Sh(a);const l=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,c;if(l)i=DV,c=l;else{const h=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=kV,c=h}if(!c)return Sh(a);const u=i[a],d=c[1].split(",").map(FV);return typeof u=="function"?u(d):d[u]}const OV=(e,a)=>{const{transform:l="none"}=getComputedStyle(e);return Zh(l,a)};function FV(e){return parseFloat(e.trim())}const Ir=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Pr=new Set(Ir),Bg=e=>e===Ur||e===ge,qV=new Set(["x","y","z"]),zV=Ir.filter(e=>!qV.has(e));function BV(e){const a=[];return zV.forEach(l=>{const i=e.getValue(l);i!==void 0&&(a.push([l,i.get()]),i.set(l.startsWith("scale")?1:0))}),a}const e0={width:({x:e},{paddingLeft:a="0",paddingRight:l="0"})=>e.max-e.min-parseFloat(a)-parseFloat(l),height:({y:e},{paddingTop:a="0",paddingBottom:l="0"})=>e.max-e.min-parseFloat(a)-parseFloat(l),top:(e,{top:a})=>parseFloat(a),left:(e,{left:a})=>parseFloat(a),bottom:({y:e},{top:a})=>parseFloat(a)+(e.max-e.min),right:({x:e},{left:a})=>parseFloat(a)+(e.max-e.min),x:(e,{transform:a})=>Zh(a,"x"),y:(e,{transform:a})=>Zh(a,"y")};e0.translateX=e0.x;e0.translateY=e0.y;const L0=new Set;let Ch=!1,Hh=!1,_h=!1;function tj(){if(Hh){const e=Array.from(L0).filter(i=>i.needsMeasurement),a=new Set(e.map(i=>i.element)),l=new Map;a.forEach(i=>{const c=BV(i);c.length&&(l.set(i,c),i.render())}),e.forEach(i=>i.measureInitialState()),a.forEach(i=>{i.render();const c=l.get(i);c&&c.forEach(([u,d])=>{var h;(h=i.getValue(u))==null||h.set(d)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Hh=!1,Ch=!1,L0.forEach(e=>e.complete(_h)),L0.clear()}function aj(){L0.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Hh=!0)})}function $V(){_h=!0,aj(),tj(),_h=!1}class Zf{constructor(a,l,i,c,u,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=l,this.name=i,this.motionValue=c,this.element=u,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(L0.add(this),Ch||(Ch=!0,Ye.read(aj),Ye.resolveKeyframes(tj))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:l,element:i,motionValue:c}=this;if(a[0]===null){const u=c==null?void 0:c.get(),d=a[a.length-1];if(u!==void 0)a[0]=u;else if(i&&l){const h=i.readValue(l,d);h!=null&&(a[0]=h)}a[0]===void 0&&(a[0]=d),c&&u===void 0&&c.set(a[0])}RV(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),L0.delete(this)}cancel(){this.state==="scheduled"&&(L0.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const UV=e=>e.startsWith("--");function IV(e,a,l){UV(a)?e.style.setProperty(a,l):e.style[a]=l}const PV={};function nj(e,a){const l=HA(e);return()=>PV[a]??l()}const GV=nj(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),rj=nj(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Qs=([e,a,l,i])=>`cubic-bezier(${e}, ${a}, ${l}, ${i})`,$g={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Qs([0,.65,.55,1]),circOut:Qs([.55,0,1,.45]),backIn:Qs([.31,.01,.66,-.59]),backOut:Qs([.33,1.53,.69,.99])};function sj(e,a){if(e)return typeof e=="function"?rj()?JA(e,a):"ease-out":zA(e)?Qs(e):Array.isArray(e)?e.map(l=>sj(l,a)||$g.easeOut):$g[e]}function YV(e,a,l,{delay:i=0,duration:c=300,repeat:u=0,repeatType:d="loop",ease:h="easeOut",times:m}={},p=void 0){const g={[a]:l};m&&(g.offset=m);const x=sj(h,c);Array.isArray(x)&&(g.easing=x);const y={delay:i,duration:c,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:u+1,direction:d==="reverse"?"alternate":"normal"};return p&&(y.pseudoElement=p),e.animate(g,y)}function lj(e){return typeof e=="function"&&"applyToOptions"in e}function KV({type:e,...a}){return lj(e)&&rj()?e.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class ij extends Mf{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:l,name:i,keyframes:c,pseudoElement:u,allowFlatten:d=!1,finalKeyframe:h,onComplete:m}=a;this.isPseudoElement=!!u,this.allowFlatten=d,this.options=a,gf(typeof a.type!="string");const p=KV(a);this.animation=YV(l,i,c,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const g=Nf(c,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(g):IV(l,i,g),this.animation.cancel()}m==null||m(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var a,l;(l=(a=this.animation).finish)==null||l.call(a)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var l,i,c;const a=(l=this.options)==null?void 0:l.element;!this.isPseudoElement&&(a!=null&&a.isConnected)&&((c=(i=this.animation).commitStyles)==null||c.call(i))}get duration(){var l,i;const a=((i=(l=this.animation.effect)==null?void 0:l.getComputedTiming)==null?void 0:i.call(l).duration)||0;return wa(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+wa(a)}get time(){return wa(Number(this.animation.currentTime)||0)}set time(a){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=La(a)}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,observe:l}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,a&&GV()?(this.animation.timeline=a,Aa):l(this)}}const oj={anticipate:DA,backInOut:kA,circInOut:FA};function XV(e){return e in oj}function QV(e){typeof e.ease=="string"&&XV(e.ease)&&(e.ease=oj[e.ease])}const V2=10;class JV extends ij{constructor(a){QV(a),ej(a),super(a),a.startTime!==void 0&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:l,onUpdate:i,onComplete:c,element:u,...d}=this.options;if(!l)return;if(a!==void 0){l.set(a);return}const h=new Sf({...d,autoplay:!1}),m=Math.max(V2,Ot.now()-this.startTime),p=Ya(0,V2,m-V2);l.setWithVelocity(h.sample(Math.max(0,m-p)).value,h.sample(m).value,p),h.stop()}}const Ug=(e,a)=>a==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ra.test(e)||e==="0")&&!e.startsWith("url("));function WV(e){const a=e[0];if(e.length===1)return!0;for(let l=0;l<e.length;l++)if(e[l]!==a)return!0}function eT(e,a,l,i){const c=e[0];if(c===null)return!1;if(a==="display"||a==="visibility")return!0;const u=e[e.length-1],d=Ug(c,a),h=Ug(u,a);return!d||!h?!1:WV(e)||(l==="spring"||lj(l))&&i}function Vh(e){e.duration=0,e.type="keyframes"}const tT=new Set(["opacity","clipPath","filter","transform"]),aT=HA(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function nT(e){var g;const{motionValue:a,name:l,repeatDelay:i,repeatType:c,damping:u,type:d}=e;if(!(((g=a==null?void 0:a.owner)==null?void 0:g.current)instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:p}=a.owner.getProps();return aT()&&l&&tT.has(l)&&(l!=="transform"||!p)&&!m&&!i&&c!=="mirror"&&u!==0&&d!=="inertia"}const rT=40;class sT extends Mf{constructor({autoplay:a=!0,delay:l=0,type:i="keyframes",repeat:c=0,repeatDelay:u=0,repeatType:d="loop",keyframes:h,name:m,motionValue:p,element:g,...x}){var N;super(),this.stop=()=>{var E,A;this._animation&&(this._animation.stop(),(E=this.stopTimeline)==null||E.call(this)),(A=this.keyframeResolver)==null||A.cancel()},this.createdAt=Ot.now();const y={autoplay:a,delay:l,type:i,repeat:c,repeatDelay:u,repeatType:d,name:m,motionValue:p,element:g,...x},w=(g==null?void 0:g.KeyframeResolver)||Zf;this.keyframeResolver=new w(h,(E,A,j)=>this.onKeyframesResolved(E,A,y,!j),m,p,g),(N=this.keyframeResolver)==null||N.scheduleResolve()}onKeyframesResolved(a,l,i,c){var A,j;this.keyframeResolver=void 0;const{name:u,type:d,velocity:h,delay:m,isHandoff:p,onUpdate:g}=i;this.resolvedAt=Ot.now(),eT(a,u,d,h)||((wn.instantAnimations||!m)&&(g==null||g(Nf(a,i,l))),a[0]=a[a.length-1],Vh(i),i.repeat=0);const y={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>rT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:l,...i,keyframes:a},w=!p&&nT(y),N=(j=(A=y.motionValue)==null?void 0:A.owner)==null?void 0:j.current,E=w?new JV({...y,element:N}):new Sf(y);E.finished.then(()=>{this.notifyFinished()}).catch(Aa),this.pendingTimeline&&(this.stopTimeline=E.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=E}get finished(){return this._animation?this.animation.finished:this._finished}then(a,l){return this.finished.finally(a).then(()=>{})}get animation(){var a;return this._animation||((a=this.keyframeResolver)==null||a.resume(),$V()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var a;this._animation&&this.animation.cancel(),(a=this.keyframeResolver)==null||a.cancel()}}function cj(e,a,l,i=0,c=1){const u=Array.from(e).sort((p,g)=>p.sortNodePosition(g)).indexOf(a),d=e.size,h=(d-1)*i;return typeof l=="function"?l(u,d):c===1?u*i:h-u*i}const lT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function iT(e){const a=lT.exec(e);if(!a)return[,];const[,l,i,c]=a;return[`--${l??i}`,c]}function uj(e,a,l=1){const[i,c]=iT(e);if(!i)return;const u=window.getComputedStyle(a).getPropertyValue(i);if(u){const d=u.trim();return SA(d)?parseFloat(d):d}return yf(c)?uj(c,a,l+1):c}const oT={type:"spring",stiffness:500,damping:25,restSpeed:10},cT=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),uT={type:"keyframes",duration:.8},dT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},hT=(e,{keyframes:a})=>a.length>2?uT:Pr.has(e)?e.startsWith("scale")?cT(a[1]):oT:dT,fT=e=>e!==null;function mT(e,{repeat:a,repeatType:l="loop"},i){const c=e.filter(fT),u=a&&l!=="loop"&&a%2===1?0:c.length-1;return c[u]}function dj(e,a){if(e!=null&&e.inherit&&a){const{inherit:l,...i}=e;return{...a,...i}}return e}function Cf(e,a){const l=(e==null?void 0:e[a])??(e==null?void 0:e.default)??e;return l!==e?dj(l,e):l}function pT({when:e,delay:a,delayChildren:l,staggerChildren:i,staggerDirection:c,repeat:u,repeatType:d,repeatDelay:h,from:m,elapsed:p,...g}){return!!Object.keys(g).length}const Hf=(e,a,l,i={},c,u)=>d=>{const h=Cf(i,e)||{},m=h.delay||i.delay||0;let{elapsed:p=0}=i;p=p-La(m);const g={keyframes:Array.isArray(l)?l:[null,l],ease:"easeOut",velocity:a.getVelocity(),...h,delay:-p,onUpdate:y=>{a.set(y),h.onUpdate&&h.onUpdate(y)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:e,motionValue:a,element:u?void 0:c};pT(h)||Object.assign(g,hT(e,g)),g.duration&&(g.duration=La(g.duration)),g.repeatDelay&&(g.repeatDelay=La(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let x=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Vh(g),g.delay===0&&(x=!0)),(wn.instantAnimations||wn.skipAnimations||c!=null&&c.shouldSkipAnimations)&&(x=!0,Vh(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,x&&!u&&a.get()!==void 0){const y=mT(g.keyframes,h);if(y!==void 0){Ye.update(()=>{g.onUpdate(y),g.onComplete()});return}}return h.isSync?new Sf(g):new sT(g)};function Ig(e){const a=[{},{}];return e==null||e.values.forEach((l,i)=>{a[0][i]=l.get(),a[1][i]=l.getVelocity()}),a}function _f(e,a,l,i){if(typeof a=="function"){const[c,u]=Ig(i);a=a(l!==void 0?l:e.custom,c,u)}if(typeof a=="string"&&(a=e.variants&&e.variants[a]),typeof a=="function"){const[c,u]=Ig(i);a=a(l!==void 0?l:e.custom,c,u)}return a}function Rr(e,a,l){const i=e.getProps();return _f(i,a,l!==void 0?l:i.custom,e)}const hj=new Set(["width","height","top","left","right","bottom",...Ir]),Pg=30,gT=e=>!isNaN(parseFloat(e));class xT{constructor(a,l={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{var u;const c=Ot.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&((u=this.events.change)==null||u.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=l.owner}setCurrent(a){this.current=a,this.updatedAt=Ot.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=gT(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,l){this.events[a]||(this.events[a]=new xf);const i=this.events[a].add(l);return a==="change"?()=>{i(),Ye.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,l){this.passiveEffect=a,this.stopPassiveEffect=l}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,l,i){this.set(l),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-i}jump(a,l=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,l&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var a;(a=this.events.change)==null||a.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=Ot.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>Pg)return 0;const l=Math.min(this.updatedAt-this.prevUpdatedAt,Pg);return _A(parseFloat(this.current)-parseFloat(this.prevFrameValue),l)}start(a){return this.stop(),new Promise(l=>{this.hasAnimated=!0,this.animation=a(l),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var a,l;(a=this.dependents)==null||a.clear(),(l=this.events.destroy)==null||l.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Dr(e,a){return new xT(e,a)}const Th=e=>Array.isArray(e);function vT(e,a,l){e.hasValue(a)?e.getValue(a).set(l):e.addValue(a,Dr(l))}function bT(e){return Th(e)?e[e.length-1]||0:e}function yT(e,a){const l=Rr(e,a);let{transitionEnd:i={},transition:c={},...u}=l||{};u={...u,...i};for(const d in u){const h=bT(u[d]);vT(e,d,h)}}const kt=e=>!!(e&&e.getVelocity);function wT(e){return!!(kt(e)&&e.add)}function Lh(e,a){const l=e.getValue("willChange");if(wT(l))return l.add(a);if(!l&&wn.WillChange){const i=new wn.WillChange("auto");e.addValue("willChange",i),i.add(a)}}function Vf(e){return e.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const AT="framerAppearId",fj="data-"+Vf(AT);function mj(e){return e.props[fj]}function jT({protectedKeys:e,needsAnimating:a},l){const i=e.hasOwnProperty(l)&&a[l]!==!0;return a[l]=!1,i}function pj(e,a,{delay:l=0,transitionOverride:i,type:c}={}){let{transition:u,transitionEnd:d,...h}=a;const m=e.getDefaultTransition();u=u?dj(u,m):m;const p=u==null?void 0:u.reduceMotion;i&&(u=i);const g=[],x=c&&e.animationState&&e.animationState.getState()[c];for(const y in h){const w=e.getValue(y,e.latestValues[y]??null),N=h[y];if(N===void 0||x&&jT(x,y))continue;const E={delay:l,...Cf(u||{},y)},A=w.get();if(A!==void 0&&!w.isAnimating&&!Array.isArray(N)&&N===A&&!E.velocity)continue;let j=!1;if(window.MotionHandoffAnimation){const C=mj(e);if(C){const H=window.MotionHandoffAnimation(C,y,Ye);H!==null&&(E.startTime=H,j=!0)}}Lh(e,y);const S=p??e.shouldReduceMotion;w.start(Hf(y,w,N,S&&hj.has(y)?{type:!1}:E,e,j));const Z=w.animation;Z&&g.push(Z)}if(d){const y=()=>Ye.update(()=>{d&&yT(e,d)});g.length?Promise.all(g).then(y):y()}return g}function Rh(e,a,l={}){var m;const i=Rr(e,a,l.type==="exit"?(m=e.presenceContext)==null?void 0:m.custom:void 0);let{transition:c=e.getDefaultTransition()||{}}=i||{};l.transitionOverride&&(c=l.transitionOverride);const u=i?()=>Promise.all(pj(e,i,l)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:x,staggerDirection:y}=c;return ET(e,a,p,g,x,y,l)}:()=>Promise.resolve(),{when:h}=c;if(h){const[p,g]=h==="beforeChildren"?[u,d]:[d,u];return p().then(()=>g())}else return Promise.all([u(),d(l.delay)])}function ET(e,a,l=0,i=0,c=0,u=1,d){const h=[];for(const m of e.variantChildren)m.notify("AnimationStart",a),h.push(Rh(m,a,{...d,delay:l+(typeof i=="function"?0:i)+cj(e.variantChildren,m,i,c,u)}).then(()=>m.notify("AnimationComplete",a)));return Promise.all(h)}function NT(e,a,l={}){e.notify("AnimationStart",a);let i;if(Array.isArray(a)){const c=a.map(u=>Rh(e,u,l));i=Promise.all(c)}else if(typeof a=="string")i=Rh(e,a,l);else{const c=typeof a=="function"?Rr(e,a,l.custom):a;i=Promise.all(pj(e,c,l))}return i.then(()=>{e.notify("AnimationComplete",a)})}const MT={test:e=>e==="auto",parse:e=>e},gj=e=>a=>a.test(e),xj=[Ur,ge,Ga,Jn,tV,eV,MT],Gg=e=>xj.find(gj(e));function ST(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||CA(e):!0}const ZT=new Set(["brightness","contrast","saturate","opacity"]);function CT(e){const[a,l]=e.slice(0,-1).split("(");if(a==="drop-shadow")return e;const[i]=l.match(wf)||[];if(!i)return e;const c=l.replace(i,"");let u=ZT.has(a)?1:0;return i!==l&&(u*=100),a+"("+u+c+")"}const HT=/\b([a-z-]*)\(.*?\)/gu,kh={...Ra,getAnimatableNone:e=>{const a=e.match(HT);return a?a.map(CT).join(" "):e}},Dh={...Ra,getAnimatableNone:e=>{const a=Ra.parse(e);return Ra.createTransformer(e)(a.map(i=>typeof i=="number"?0:typeof i=="object"?{...i,alpha:1}:i))}},Yg={...Ur,transform:Math.round},_T={rotate:Jn,rotateX:Jn,rotateY:Jn,rotateZ:Jn,scale:t1,scaleX:t1,scaleY:t1,scaleZ:t1,skew:Jn,skewX:Jn,skewY:Jn,distance:ge,translateX:ge,translateY:ge,translateZ:ge,x:ge,y:ge,z:ge,perspective:ge,transformPerspective:ge,opacity:cl,originX:Lg,originY:Lg,originZ:ge},Tf={borderWidth:ge,borderTopWidth:ge,borderRightWidth:ge,borderBottomWidth:ge,borderLeftWidth:ge,borderRadius:ge,borderTopLeftRadius:ge,borderTopRightRadius:ge,borderBottomRightRadius:ge,borderBottomLeftRadius:ge,width:ge,maxWidth:ge,height:ge,maxHeight:ge,top:ge,right:ge,bottom:ge,left:ge,inset:ge,insetBlock:ge,insetBlockStart:ge,insetBlockEnd:ge,insetInline:ge,insetInlineStart:ge,insetInlineEnd:ge,padding:ge,paddingTop:ge,paddingRight:ge,paddingBottom:ge,paddingLeft:ge,paddingBlock:ge,paddingBlockStart:ge,paddingBlockEnd:ge,paddingInline:ge,paddingInlineStart:ge,paddingInlineEnd:ge,margin:ge,marginTop:ge,marginRight:ge,marginBottom:ge,marginLeft:ge,marginBlock:ge,marginBlockStart:ge,marginBlockEnd:ge,marginInline:ge,marginInlineStart:ge,marginInlineEnd:ge,fontSize:ge,backgroundPositionX:ge,backgroundPositionY:ge,..._T,zIndex:Yg,fillOpacity:cl,strokeOpacity:cl,numOctaves:Yg},VT={...Tf,color:mt,backgroundColor:mt,outlineColor:mt,fill:mt,stroke:mt,borderColor:mt,borderTopColor:mt,borderRightColor:mt,borderBottomColor:mt,borderLeftColor:mt,filter:kh,WebkitFilter:kh,mask:Dh,WebkitMask:Dh},vj=e=>VT[e],TT=new Set([kh,Dh]);function bj(e,a){let l=vj(e);return TT.has(l)||(l=Ra),l.getAnimatableNone?l.getAnimatableNone(a):void 0}const LT=new Set(["auto","none","0"]);function RT(e,a,l){let i=0,c;for(;i<e.length&&!c;){const u=e[i];typeof u=="string"&&!LT.has(u)&&ul(u).values.length&&(c=e[i]),i++}if(c&&l)for(const u of a)e[u]=bj(l,c)}class kT extends Zf{constructor(a,l,i,c,u){super(a,l,i,c,u,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:l,name:i}=this;if(!l||!l.current)return;super.readKeyframes();for(let g=0;g<a.length;g++){let x=a[g];if(typeof x=="string"&&(x=x.trim(),yf(x))){const y=uj(x,l.current);y!==void 0&&(a[g]=y),g===a.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!hj.has(i)||a.length!==2)return;const[c,u]=a,d=Gg(c),h=Gg(u),m=Tg(c),p=Tg(u);if(m!==p&&e0[i]){this.needsMeasurement=!0;return}if(d!==h)if(Bg(d)&&Bg(h))for(let g=0;g<a.length;g++){const x=a[g];typeof x=="string"&&(a[g]=parseFloat(x))}else e0[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:l}=this,i=[];for(let c=0;c<a.length;c++)(a[c]===null||ST(a[c]))&&i.push(c);i.length&&RT(a,i,l)}measureInitialState(){const{element:a,unresolvedKeyframes:l,name:i}=this;if(!a||!a.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=e0[i](a.measureViewportBox(),window.getComputedStyle(a.current)),l[0]=this.measuredOrigin;const c=l[l.length-1];c!==void 0&&a.getValue(i,c).jump(c,!1)}measureEndState(){var h;const{element:a,name:l,unresolvedKeyframes:i}=this;if(!a||!a.current)return;const c=a.getValue(l);c&&c.jump(this.measuredOrigin,!1);const u=i.length-1,d=i[u];i[u]=e0[l](a.measureViewportBox(),window.getComputedStyle(a.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEach(([m,p])=>{a.getValue(m).set(p)}),this.resolveNoneKeyframes()}}const DT=new Set(["opacity","clipPath","filter","transform"]);function yj(e,a,l){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;const c=(l==null?void 0:l[e])??i.querySelectorAll(e);return c?Array.from(c):[]}return Array.from(e).filter(i=>i!=null)}const wj=(e,a)=>a&&typeof e=="number"?a.transform(e):e;function Oh(e){return ZA(e)&&"offsetHeight"in e}const{schedule:Lf}=BA(queueMicrotask,!1),Ta={x:!1,y:!1};function Aj(){return Ta.x||Ta.y}function OT(e){return e==="x"||e==="y"?Ta[e]?null:(Ta[e]=!0,()=>{Ta[e]=!1}):Ta.x||Ta.y?null:(Ta.x=Ta.y=!0,()=>{Ta.x=Ta.y=!1})}function jj(e,a){const l=yj(e),i=new AbortController,c={passive:!0,...a,signal:i.signal};return[l,c,()=>i.abort()]}function FT(e){return!(e.pointerType==="touch"||Aj())}function qT(e,a,l={}){const[i,c,u]=jj(e,l);return i.forEach(d=>{let h=!1,m=!1,p;const g=()=>{d.removeEventListener("pointerleave",N)},x=A=>{p&&(p(A),p=void 0),g()},y=A=>{h=!1,window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",y),m&&(m=!1,x(A))},w=()=>{h=!0,window.addEventListener("pointerup",y,c),window.addEventListener("pointercancel",y,c)},N=A=>{if(A.pointerType!=="touch"){if(h){m=!0;return}x(A)}},E=A=>{if(!FT(A))return;m=!1;const j=a(d,A);typeof j=="function"&&(p=j,d.addEventListener("pointerleave",N,c))};d.addEventListener("pointerenter",E,c),d.addEventListener("pointerdown",w,c)}),u}const Ej=(e,a)=>a?e===a?!0:Ej(e,a.parentElement):!1,Rf=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,zT=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function BT(e){return zT.has(e.tagName)||e.isContentEditable===!0}const $T=new Set(["INPUT","SELECT","TEXTAREA"]);function UT(e){return $T.has(e.tagName)||e.isContentEditable===!0}const d1=new WeakSet;function Kg(e){return a=>{a.key==="Enter"&&e(a)}}function T2(e,a){e.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const IT=(e,a)=>{const l=e.currentTarget;if(!l)return;const i=Kg(()=>{if(d1.has(l))return;T2(l,"down");const c=Kg(()=>{T2(l,"up")}),u=()=>T2(l,"cancel");l.addEventListener("keyup",c,a),l.addEventListener("blur",u,a)});l.addEventListener("keydown",i,a),l.addEventListener("blur",()=>l.removeEventListener("keydown",i),a)};function Xg(e){return Rf(e)&&!Aj()}const Qg=new WeakSet;function PT(e,a,l={}){const[i,c,u]=jj(e,l),d=h=>{const m=h.currentTarget;if(!Xg(h)||Qg.has(h))return;d1.add(m),l.stopPropagation&&Qg.add(h);const p=a(m,h),g=(w,N)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",y),d1.has(m)&&d1.delete(m),Xg(w)&&typeof p=="function"&&p(w,{success:N})},x=w=>{g(w,m===window||m===document||l.useGlobalTarget||Ej(m,w.target))},y=w=>{g(w,!1)};window.addEventListener("pointerup",x,c),window.addEventListener("pointercancel",y,c)};return i.forEach(h=>{(l.useGlobalTarget?window:h).addEventListener("pointerdown",d,c),Oh(h)&&(h.addEventListener("focus",p=>IT(p,c)),!BT(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),u}function kf(e){return ZA(e)&&"ownerSVGElement"in e}const h1=new WeakMap;let Wn;const Nj=(e,a,l)=>(i,c)=>c&&c[0]?c[0][e+"Size"]:kf(i)&&"getBBox"in i?i.getBBox()[a]:i[l],GT=Nj("inline","width","offsetWidth"),YT=Nj("block","height","offsetHeight");function KT({target:e,borderBoxSize:a}){var l;(l=h1.get(e))==null||l.forEach(i=>{i(e,{get width(){return GT(e,a)},get height(){return YT(e,a)}})})}function XT(e){e.forEach(KT)}function QT(){typeof ResizeObserver>"u"||(Wn=new ResizeObserver(XT))}function JT(e,a){Wn||QT();const l=yj(e);return l.forEach(i=>{let c=h1.get(i);c||(c=new Set,h1.set(i,c)),c.add(a),Wn==null||Wn.observe(i)}),()=>{l.forEach(i=>{const c=h1.get(i);c==null||c.delete(a),c!=null&&c.size||Wn==null||Wn.unobserve(i)})}}const f1=new Set;let Hr;function WT(){Hr=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};f1.forEach(a=>a(e))},window.addEventListener("resize",Hr)}function eL(e){return f1.add(e),Hr||WT(),()=>{f1.delete(e),!f1.size&&typeof Hr=="function"&&(window.removeEventListener("resize",Hr),Hr=void 0)}}function Jg(e,a){return typeof e=="function"?eL(e):JT(e,a)}function tL(e){return kf(e)&&e.tagName==="svg"}const aL=[...xj,mt,Ra],nL=e=>aL.find(gj(e)),Wg=()=>({translate:0,scale:1,origin:0,originPoint:0}),_r=()=>({x:Wg(),y:Wg()}),ex=()=>({min:0,max:0}),vt=()=>({x:ex(),y:ex()}),rL=new WeakMap;function R1(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function dl(e){return typeof e=="string"||Array.isArray(e)}const Df=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Of=["initial",...Df];function k1(e){return R1(e.animate)||Of.some(a=>dl(e[a]))}function Mj(e){return!!(k1(e)||e.variants)}function sL(e,a,l){for(const i in a){const c=a[i],u=l[i];if(kt(c))e.addValue(i,c);else if(kt(u))e.addValue(i,Dr(c,{owner:e}));else if(u!==c)if(e.hasValue(i)){const d=e.getValue(i);d.liveStyle===!0?d.jump(c):d.hasAnimated||d.set(c)}else{const d=e.getStaticValue(i);e.addValue(i,Dr(d!==void 0?d:c,{owner:e}))}}for(const i in l)a[i]===void 0&&e.removeValue(i);return a}const Fh={current:null},Sj={current:!1},lL=typeof window<"u";function iL(){if(Sj.current=!0,!!lL)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),a=()=>Fh.current=e.matches;e.addEventListener("change",a),a()}else Fh.current=!1}const tx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let N1={};function Zj(e){N1=e}function oL(){return N1}class cL{scrapeMotionValuesFromProps(a,l,i){return{}}constructor({parent:a,props:l,presenceContext:i,reducedMotionConfig:c,skipAnimations:u,blockInitialAnimation:d,visualState:h},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Zf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=Ot.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,Ye.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=h;this.latestValues=p,this.baseTarget={...p},this.initialValues=l.initial?{...p}:{},this.renderState=g,this.parent=a,this.props=l,this.presenceContext=i,this.depth=a?a.depth+1:0,this.reducedMotionConfig=c,this.skipAnimationsConfig=u,this.options=m,this.blockInitialAnimation=!!d,this.isControllingVariants=k1(l),this.isVariantNode=Mj(l),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:x,...y}=this.scrapeMotionValuesFromProps(l,{},this);for(const w in y){const N=y[w];p[w]!==void 0&&kt(N)&&N.set(p[w])}}mount(a){var l,i;if(this.hasBeenMounted)for(const c in this.initialValues)(l=this.values.get(c))==null||l.jump(this.initialValues[c]),this.latestValues[c]=this.initialValues[c];this.current=a,rL.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((c,u)=>this.bindToMotionValue(u,c)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Sj.current||iL(),this.shouldReduceMotion=Fh.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(i=this.parent)==null||i.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var a;this.projection&&this.projection.unmount(),a0(this.notifyUpdate),a0(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(a=this.parent)==null||a.removeChild(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const i=this.features[l];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,l){if(this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)(),l.accelerate&&DT.has(a)&&this.current instanceof HTMLElement){const{factory:d,keyframes:h,times:m,ease:p,duration:g}=l.accelerate,x=new ij({element:this.current,name:a,keyframes:h,times:m,ease:p,duration:La(g)}),y=d(x);this.valueSubscriptions.set(a,()=>{y(),x.cancel()});return}const i=Pr.has(a);i&&this.onBindTransform&&this.onBindTransform();const c=l.on("change",d=>{this.latestValues[a]=d,this.props.onUpdate&&Ye.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,a,l)),this.valueSubscriptions.set(a,()=>{c(),u&&u(),l.owner&&l.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in N1){const l=N1[a];if(!l)continue;const{isEnabled:i,Feature:c}=l;if(!this.features[a]&&c&&i(this.props)&&(this.features[a]=new c(this)),this.features[a]){const u=this.features[a];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):vt()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,l){this.latestValues[a]=l}update(a,l){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=l;for(let i=0;i<tx.length;i++){const c=tx[i];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);const u="on"+c,d=a[u];d&&(this.propEventSubscriptions[c]=this.on(c,d))}this.prevMotionValues=sL(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(a){const l=this.getClosestVariantNode();if(l)return l.variantChildren&&l.variantChildren.add(a),()=>l.variantChildren.delete(a)}addValue(a,l){const i=this.values.get(a);l!==i&&(i&&this.removeValue(a),this.bindToMotionValue(a,l),this.values.set(a,l),this.latestValues[a]=l.get())}removeValue(a){this.values.delete(a);const l=this.valueSubscriptions.get(a);l&&(l(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,l){if(this.props.values&&this.props.values[a])return this.props.values[a];let i=this.values.get(a);return i===void 0&&l!==void 0&&(i=Dr(l===null?void 0:l,{owner:this}),this.addValue(a,i)),i}readValue(a,l){let i=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return i!=null&&(typeof i=="string"&&(SA(i)||CA(i))?i=parseFloat(i):!nL(i)&&Ra.test(l)&&(i=bj(a,l)),this.setBaseTarget(a,kt(i)?i.get():i)),kt(i)?i.get():i}setBaseTarget(a,l){this.baseTarget[a]=l}getBaseTarget(a){var u;const{initial:l}=this.props;let i;if(typeof l=="string"||typeof l=="object"){const d=_f(this.props,l,(u=this.presenceContext)==null?void 0:u.custom);d&&(i=d[a])}if(l&&i!==void 0)return i;const c=this.getBaseTargetFromProps(this.props,a);return c!==void 0&&!kt(c)?c:this.initialValues[a]!==void 0&&i===void 0?void 0:this.baseTarget[a]}on(a,l){return this.events[a]||(this.events[a]=new xf),this.events[a].add(l)}notify(a,...l){this.events[a]&&this.events[a].notify(...l)}scheduleRenderMicrotask(){Lf.render(this.render)}}class Cj extends cL{constructor(){super(...arguments),this.KeyframeResolver=kT}sortInstanceNodePosition(a,l){return a.compareDocumentPosition(l)&2?1:-1}getBaseTargetFromProps(a,l){const i=a.style;return i?i[l]:void 0}removeValueFromRenderState(a,{vars:l,style:i}){delete l[a],delete i[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;kt(a)&&(this.childSubscription=a.on("change",l=>{this.current&&(this.current.textContent=`${l}`)}))}}class r0{constructor(a){this.isMounted=!1,this.node=a}update(){}}function Hj({top:e,left:a,right:l,bottom:i}){return{x:{min:a,max:l},y:{min:e,max:i}}}function uL({x:e,y:a}){return{top:a.min,right:e.max,bottom:a.max,left:e.min}}function dL(e,a){if(!a)return e;const l=a({x:e.left,y:e.top}),i=a({x:e.right,y:e.bottom});return{top:l.y,left:l.x,bottom:i.y,right:i.x}}function L2(e){return e===void 0||e===1}function qh({scale:e,scaleX:a,scaleY:l}){return!L2(e)||!L2(a)||!L2(l)}function S0(e){return qh(e)||_j(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function _j(e){return ax(e.x)||ax(e.y)}function ax(e){return e&&e!=="0%"}function M1(e,a,l){const i=e-l,c=a*i;return l+c}function nx(e,a,l,i,c){return c!==void 0&&(e=M1(e,c,i)),M1(e,l,i)+a}function zh(e,a=0,l=1,i,c){e.min=nx(e.min,a,l,i,c),e.max=nx(e.max,a,l,i,c)}function Vj(e,{x:a,y:l}){zh(e.x,a.translate,a.scale,a.originPoint),zh(e.y,l.translate,l.scale,l.originPoint)}const rx=.999999999999,sx=1.0000000000001;function hL(e,a,l,i=!1){const c=l.length;if(!c)return;a.x=a.y=1;let u,d;for(let h=0;h<c;h++){u=l[h],d=u.projectionDelta;const{visualElement:m}=u.options;m&&m.props.style&&m.props.style.display==="contents"||(i&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Tr(e,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),d&&(a.x*=d.x.scale,a.y*=d.y.scale,Vj(e,d)),i&&S0(u.latestValues)&&Tr(e,u.latestValues))}a.x<sx&&a.x>rx&&(a.x=1),a.y<sx&&a.y>rx&&(a.y=1)}function Vr(e,a){e.min=e.min+a,e.max=e.max+a}function lx(e,a,l,i,c=.5){const u=tt(e.min,e.max,c);zh(e,a,l,u,i)}function Tr(e,a){lx(e.x,a.x,a.scaleX,a.scale,a.originX),lx(e.y,a.y,a.scaleY,a.scale,a.originY)}function Tj(e,a){return Hj(dL(e.getBoundingClientRect(),a))}function fL(e,a,l){const i=Tj(e,l),{scroll:c}=a;return c&&(Vr(i.x,c.offset.x),Vr(i.y,c.offset.y)),i}const mL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pL=Ir.length;function gL(e,a,l){let i="",c=!0;for(let u=0;u<pL;u++){const d=Ir[u],h=e[d];if(h===void 0)continue;let m=!0;if(typeof h=="number")m=h===(d.startsWith("scale")?1:0);else{const p=parseFloat(h);m=d.startsWith("scale")?p===1:p===0}if(!m||l){const p=wj(h,Tf[d]);if(!m){c=!1;const g=mL[d]||d;i+=`${g}(${p}) `}l&&(a[d]=p)}}return i=i.trim(),l?i=l(a,c?"":i):c&&(i="none"),i}function Ff(e,a,l){const{style:i,vars:c,transformOrigin:u}=e;let d=!1,h=!1;for(const m in a){const p=a[m];if(Pr.has(m)){d=!0;continue}else if(UA(m)){c[m]=p;continue}else{const g=wj(p,Tf[m]);m.startsWith("origin")?(h=!0,u[m]=g):i[m]=g}}if(a.transform||(d||l?i.transform=gL(a,e.transform,l):i.transform&&(i.transform="none")),h){const{originX:m="50%",originY:p="50%",originZ:g=0}=u;i.transformOrigin=`${m} ${p} ${g}`}}function Lj(e,{style:a,vars:l},i,c){const u=e.style;let d;for(d in a)u[d]=a[d];c==null||c.applyProjectionStyles(u,i);for(d in l)u.setProperty(d,l[d])}function ix(e,a){return a.max===a.min?0:e/(a.max-a.min)*100}const Xs={correct:(e,a)=>{if(!a.target)return e;if(typeof e=="string")if(ge.test(e))e=parseFloat(e);else return e;const l=ix(e,a.target.x),i=ix(e,a.target.y);return`${l}% ${i}%`}},xL={correct:(e,{treeScale:a,projectionDelta:l})=>{const i=e,c=Ra.parse(e);if(c.length>5)return i;const u=Ra.createTransformer(e),d=typeof c[0]!="number"?1:0,h=l.x.scale*a.x,m=l.y.scale*a.y;c[0+d]/=h,c[1+d]/=m;const p=tt(h,m,.5);return typeof c[2+d]=="number"&&(c[2+d]/=p),typeof c[3+d]=="number"&&(c[3+d]/=p),u(c)}},Bh={borderRadius:{...Xs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xs,borderTopRightRadius:Xs,borderBottomLeftRadius:Xs,borderBottomRightRadius:Xs,boxShadow:xL};function Rj(e,{layout:a,layoutId:l}){return Pr.has(e)||e.startsWith("origin")||(a||l!==void 0)&&(!!Bh[e]||e==="opacity")}function qf(e,a,l){var d;const i=e.style,c=a==null?void 0:a.style,u={};if(!i)return u;for(const h in i)(kt(i[h])||c&&kt(c[h])||Rj(h,e)||((d=l==null?void 0:l.getValue(h))==null?void 0:d.liveStyle)!==void 0)&&(u[h]=i[h]);return u}function vL(e){return window.getComputedStyle(e)}class bL extends Cj{constructor(){super(...arguments),this.type="html",this.renderInstance=Lj}readValueFromInstance(a,l){var i;if(Pr.has(l))return(i=this.projection)!=null&&i.isProjecting?Sh(l):OV(a,l);{const c=vL(a),u=(UA(l)?c.getPropertyValue(l):c[l])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(a,{transformPagePoint:l}){return Tj(a,l)}build(a,l,i){Ff(a,l,i.transformTemplate)}scrapeMotionValuesFromProps(a,l,i){return qf(a,l,i)}}const yL={offset:"stroke-dashoffset",array:"stroke-dasharray"},wL={offset:"strokeDashoffset",array:"strokeDasharray"};function AL(e,a,l=1,i=0,c=!0){e.pathLength=1;const u=c?yL:wL;e[u.offset]=`${-i}`,e[u.array]=`${a} ${l}`}const jL=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function kj(e,{attrX:a,attrY:l,attrScale:i,pathLength:c,pathSpacing:u=1,pathOffset:d=0,...h},m,p,g){if(Ff(e,h,p),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:x,style:y}=e;x.transform&&(y.transform=x.transform,delete x.transform),(y.transform||x.transformOrigin)&&(y.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),y.transform&&(y.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete x.transformBox);for(const w of jL)x[w]!==void 0&&(y[w]=x[w],delete x[w]);a!==void 0&&(x.x=a),l!==void 0&&(x.y=l),i!==void 0&&(x.scale=i),c!==void 0&&AL(x,c,u,d,!1)}const Dj=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Oj=e=>typeof e=="string"&&e.toLowerCase()==="svg";function EL(e,a,l,i){Lj(e,a,void 0,i);for(const c in a.attrs)e.setAttribute(Dj.has(c)?c:Vf(c),a.attrs[c])}function Fj(e,a,l){const i=qf(e,a,l);for(const c in e)if(kt(e[c])||kt(a[c])){const u=Ir.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;i[u]=e[c]}return i}class NL extends Cj{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=vt}getBaseTargetFromProps(a,l){return a[l]}readValueFromInstance(a,l){if(Pr.has(l)){const i=vj(l);return i&&i.default||0}return l=Dj.has(l)?l:Vf(l),a.getAttribute(l)}scrapeMotionValuesFromProps(a,l,i){return Fj(a,l,i)}build(a,l,i){kj(a,l,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(a,l,i,c){EL(a,l,i,c)}mount(a){this.isSVGTag=Oj(a.tagName),super.mount(a)}}const ML=Of.length;function qj(e){if(!e)return;if(!e.isControllingVariants){const l=e.parent?qj(e.parent)||{}:{};return e.props.initial!==void 0&&(l.initial=e.props.initial),l}const a={};for(let l=0;l<ML;l++){const i=Of[l],c=e.props[i];(dl(c)||c===!1)&&(a[i]=c)}return a}function zj(e,a){if(!Array.isArray(a))return!1;const l=a.length;if(l!==e.length)return!1;for(let i=0;i<l;i++)if(a[i]!==e[i])return!1;return!0}const SL=[...Df].reverse(),ZL=Df.length;function CL(e){return a=>Promise.all(a.map(({animation:l,options:i})=>NT(e,l,i)))}function HL(e){let a=CL(e),l=ox(),i=!0;const c=m=>(p,g)=>{var y;const x=Rr(e,g,m==="exit"?(y=e.presenceContext)==null?void 0:y.custom:void 0);if(x){const{transition:w,transitionEnd:N,...E}=x;p={...p,...E,...N}}return p};function u(m){a=m(e)}function d(m){const{props:p}=e,g=qj(e.parent)||{},x=[],y=new Set;let w={},N=1/0;for(let A=0;A<ZL;A++){const j=SL[A],S=l[j],Z=p[j]!==void 0?p[j]:g[j],C=dl(Z),H=j===m?S.isActive:null;H===!1&&(N=A);let _=Z===g[j]&&Z!==p[j]&&C;if(_&&i&&e.manuallyAnimateOnMount&&(_=!1),S.protectedKeys={...w},!S.isActive&&H===null||!Z&&!S.prevProp||R1(Z)||typeof Z=="boolean")continue;if(j==="exit"&&S.isActive&&H!==!0){S.prevResolvedValues&&(w={...w,...S.prevResolvedValues});continue}const T=_L(S.prevProp,Z);let k=T||j===m&&S.isActive&&!_&&C||A>N&&C,R=!1;const O=Array.isArray(Z)?Z:[Z];let I=O.reduce(c(j),{});H===!1&&(I={});const{prevResolvedValues:X={}}=S,K={...X,...I},B=$=>{k=!0,y.has($)&&(R=!0,y.delete($)),S.needsAnimating[$]=!0;const W=e.getValue($);W&&(W.liveStyle=!1)};for(const $ in K){const W=I[$],de=X[$];if(w.hasOwnProperty($))continue;let he=!1;Th(W)&&Th(de)?he=!zj(W,de):he=W!==de,he?W!=null?B($):y.add($):W!==void 0&&y.has($)?B($):S.protectedKeys[$]=!0}S.prevProp=Z,S.prevResolvedValues=I,S.isActive&&(w={...w,...I}),i&&e.blockInitialAnimation&&(k=!1);const Y=_&&T;k&&(!Y||R)&&x.push(...O.map($=>{const W={type:j};if(typeof $=="string"&&i&&!Y&&e.manuallyAnimateOnMount&&e.parent){const{parent:de}=e,he=Rr(de,$);if(de.enteringChildren&&he){const{delayChildren:D}=he.transition||{};W.delay=cj(de.enteringChildren,e,D)}}return{animation:$,options:W}}))}if(y.size){const A={};if(typeof p.initial!="boolean"){const j=Rr(e,Array.isArray(p.initial)?p.initial[0]:p.initial);j&&j.transition&&(A.transition=j.transition)}y.forEach(j=>{const S=e.getBaseTarget(j),Z=e.getValue(j);Z&&(Z.liveStyle=!0),A[j]=S??null}),x.push({animation:A})}let E=!!x.length;return i&&(p.initial===!1||p.initial===p.animate)&&!e.manuallyAnimateOnMount&&(E=!1),i=!1,E?a(x):Promise.resolve()}function h(m,p){var x;if(l[m].isActive===p)return Promise.resolve();(x=e.variantChildren)==null||x.forEach(y=>{var w;return(w=y.animationState)==null?void 0:w.setActive(m,p)}),l[m].isActive=p;const g=d(m);for(const y in l)l[y].protectedKeys={};return g}return{animateChanges:d,setActive:h,setAnimateFunction:u,getState:()=>l,reset:()=>{l=ox()}}}function _L(e,a){return typeof a=="string"?a!==e:Array.isArray(a)?!zj(a,e):!1}function M0(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ox(){return{animate:M0(!0),whileInView:M0(),whileHover:M0(),whileTap:M0(),whileDrag:M0(),whileFocus:M0(),exit:M0()}}function cx(e,a){e.min=a.min,e.max=a.max}function Va(e,a){cx(e.x,a.x),cx(e.y,a.y)}function ux(e,a){e.translate=a.translate,e.scale=a.scale,e.originPoint=a.originPoint,e.origin=a.origin}const Bj=1e-4,VL=1-Bj,TL=1+Bj,$j=.01,LL=0-$j,RL=0+$j;function Ft(e){return e.max-e.min}function kL(e,a,l){return Math.abs(e-a)<=l}function dx(e,a,l,i=.5){e.origin=i,e.originPoint=tt(a.min,a.max,e.origin),e.scale=Ft(l)/Ft(a),e.translate=tt(l.min,l.max,e.origin)-e.originPoint,(e.scale>=VL&&e.scale<=TL||isNaN(e.scale))&&(e.scale=1),(e.translate>=LL&&e.translate<=RL||isNaN(e.translate))&&(e.translate=0)}function rl(e,a,l,i){dx(e.x,a.x,l.x,i?i.originX:void 0),dx(e.y,a.y,l.y,i?i.originY:void 0)}function hx(e,a,l){e.min=l.min+a.min,e.max=e.min+Ft(a)}function DL(e,a,l){hx(e.x,a.x,l.x),hx(e.y,a.y,l.y)}function fx(e,a,l){e.min=a.min-l.min,e.max=e.min+Ft(a)}function S1(e,a,l){fx(e.x,a.x,l.x),fx(e.y,a.y,l.y)}function mx(e,a,l,i,c){return e-=a,e=M1(e,1/l,i),c!==void 0&&(e=M1(e,1/c,i)),e}function OL(e,a=0,l=1,i=.5,c,u=e,d=e){if(Ga.test(a)&&(a=parseFloat(a),a=tt(d.min,d.max,a/100)-d.min),typeof a!="number")return;let h=tt(u.min,u.max,i);e===u&&(h-=a),e.min=mx(e.min,a,l,h,c),e.max=mx(e.max,a,l,h,c)}function px(e,a,[l,i,c],u,d){OL(e,a[l],a[i],a[c],a.scale,u,d)}const FL=["x","scaleX","originX"],qL=["y","scaleY","originY"];function gx(e,a,l,i){px(e.x,a,FL,l?l.x:void 0,i?i.x:void 0),px(e.y,a,qL,l?l.y:void 0,i?i.y:void 0)}function xx(e){return e.translate===0&&e.scale===1}function Uj(e){return xx(e.x)&&xx(e.y)}function vx(e,a){return e.min===a.min&&e.max===a.max}function zL(e,a){return vx(e.x,a.x)&&vx(e.y,a.y)}function bx(e,a){return Math.round(e.min)===Math.round(a.min)&&Math.round(e.max)===Math.round(a.max)}function Ij(e,a){return bx(e.x,a.x)&&bx(e.y,a.y)}function yx(e){return Ft(e.x)/Ft(e.y)}function wx(e,a){return e.translate===a.translate&&e.scale===a.scale&&e.originPoint===a.originPoint}function Ua(e){return[e("x"),e("y")]}function BL(e,a,l){let i="";const c=e.x.translate/a.x,u=e.y.translate/a.y,d=(l==null?void 0:l.z)||0;if((c||u||d)&&(i=`translate3d(${c}px, ${u}px, ${d}px) `),(a.x!==1||a.y!==1)&&(i+=`scale(${1/a.x}, ${1/a.y}) `),l){const{transformPerspective:p,rotate:g,rotateX:x,rotateY:y,skewX:w,skewY:N}=l;p&&(i=`perspective(${p}px) ${i}`),g&&(i+=`rotate(${g}deg) `),x&&(i+=`rotateX(${x}deg) `),y&&(i+=`rotateY(${y}deg) `),w&&(i+=`skewX(${w}deg) `),N&&(i+=`skewY(${N}deg) `)}const h=e.x.scale*a.x,m=e.y.scale*a.y;return(h!==1||m!==1)&&(i+=`scale(${h}, ${m})`),i||"none"}const Pj=["TopLeft","TopRight","BottomLeft","BottomRight"],$L=Pj.length,Ax=e=>typeof e=="string"?parseFloat(e):e,jx=e=>typeof e=="number"||ge.test(e);function UL(e,a,l,i,c,u){c?(e.opacity=tt(0,l.opacity??1,IL(i)),e.opacityExit=tt(a.opacity??1,0,PL(i))):u&&(e.opacity=tt(a.opacity??1,l.opacity??1,i));for(let d=0;d<$L;d++){const h=`border${Pj[d]}Radius`;let m=Ex(a,h),p=Ex(l,h);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||jx(m)===jx(p)?(e[h]=Math.max(tt(Ax(m),Ax(p),i),0),(Ga.test(p)||Ga.test(m))&&(e[h]+="%")):e[h]=p}(a.rotate||l.rotate)&&(e.rotate=tt(a.rotate||0,l.rotate||0,i))}function Ex(e,a){return e[a]!==void 0?e[a]:e.borderRadius}const IL=Gj(0,.5,OA),PL=Gj(.5,.95,Aa);function Gj(e,a,l){return i=>i<e?0:i>a?1:l(ol(e,a,i))}function GL(e,a,l){const i=kt(e)?e:Dr(e);return i.start(Hf("",i,a,l)),i.animation}function hl(e,a,l,i={passive:!0}){return e.addEventListener(a,l,i),()=>e.removeEventListener(a,l)}const YL=(e,a)=>e.depth-a.depth;class KL{constructor(){this.children=[],this.isDirty=!1}add(a){pf(this.children,a),this.isDirty=!0}remove(a){w1(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(YL),this.isDirty=!1,this.children.forEach(a)}}function XL(e,a){const l=Ot.now(),i=({timestamp:c})=>{const u=c-l;u>=a&&(a0(i),e(u-a))};return Ye.setup(i,!0),()=>a0(i)}function m1(e){return kt(e)?e.get():e}class QL{constructor(){this.members=[]}add(a){pf(this.members,a);for(let l=this.members.length-1;l>=0;l--){const i=this.members[l];if(i===a||i===this.lead||i===this.prevLead)continue;const c=i.instance;c&&c.isConnected===!1&&i.isPresent!==!1&&!i.snapshot&&w1(this.members,i)}a.scheduleRender()}remove(a){if(w1(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const l=this.members[this.members.length-1];l&&this.promote(l)}}relegate(a){const l=this.members.findIndex(c=>a===c);if(l===0)return!1;let i;for(let c=l;c>=0;c--){const u=this.members[c],d=u.instance;if(u.isPresent!==!1&&(!d||d.isConnected!==!1)){i=u;break}}return i?(this.promote(i),!0):!1}promote(a,l){const i=this.lead;if(a!==i&&(this.prevLead=i,this.lead=a,a.show(),i)){i.instance&&i.scheduleRender(),a.scheduleRender();const c=i.options.layoutDependency,u=a.options.layoutDependency;if(!(c!==void 0&&u!==void 0&&c===u)){const m=i.instance;m&&m.isConnected===!1&&!i.snapshot||(a.resumeFrom=i,l&&(a.resumeFrom.preserveOpacity=!0),i.snapshot&&(a.snapshot=i.snapshot,a.snapshot.latestValues=i.animationValues||i.latestValues),a.root&&a.root.isUpdating&&(a.isLayoutDirty=!0))}const{crossfade:h}=a.options;h===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(a=>{const{options:l,resumingFrom:i}=a;l.onExitComplete&&l.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(a=>{a.instance&&a.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const p1={hasAnimatedSinceResize:!0,hasEverUpdated:!1},R2=["","X","Y","Z"],JL=1e3;let WL=0;function k2(e,a,l,i){const{latestValues:c}=a;c[e]&&(l[e]=c[e],a.setStaticValue(e,0),i&&(i[e]=0))}function Yj(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:a}=e.options;if(!a)return;const l=mj(a);if(window.MotionHasOptimisedAnimation(l,"transform")){const{layout:c,layoutId:u}=e.options;window.MotionCancelOptimisedAnimation(l,"transform",Ye,!(c||u))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&Yj(i)}function Kj({attachResizeListener:e,defaultParent:a,measureScroll:l,checkIsScrollRoot:i,resetTransform:c}){return class{constructor(d={},h=a==null?void 0:a()){this.id=WL++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(aR),this.nodes.forEach(lR),this.nodes.forEach(iR),this.nodes.forEach(nR)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new KL)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new xf),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const m=this.eventHandlers.get(d);m&&m.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=kf(d)&&!tL(d),this.instance=d;const{layoutId:h,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||h)&&(this.isLayoutDirty=!0),e){let g,x=0;const y=()=>this.root.updateBlockedByResize=!1;Ye.read(()=>{x=window.innerWidth}),e(d,()=>{const w=window.innerWidth;w!==x&&(x=w,this.root.updateBlockedByResize=!0,g&&g(),g=XL(y,250),p1.hasAnimatedSinceResize&&(p1.hasAnimatedSinceResize=!1,this.nodes.forEach(Sx)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&p&&(h||m)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:x,hasRelativeLayoutChanged:y,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||p.getDefaultTransition()||hR,{onLayoutAnimationStart:E,onLayoutAnimationComplete:A}=p.getProps(),j=!this.targetLayout||!Ij(this.targetLayout,w),S=!x&&y;if(this.options.layoutRoot||this.resumeFrom||S||x&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const Z={...Cf(N,"layout"),onPlay:E,onComplete:A};(p.shouldReduceMotion||this.options.layoutRoot)&&(Z.delay=0,Z.type=!1),this.startAnimation(Z),this.setAnimationOrigin(g,S)}else x||Sx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),a0(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(oR),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Yj(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const x=this.path[g];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:h,layout:m}=this.options;if(h===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Nx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Mx);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(sR),this.nodes.forEach(eR),this.nodes.forEach(tR)):this.nodes.forEach(Mx),this.clearAllSnapshots();const h=Ot.now();Vt.delta=Ya(0,1e3/60,h-Vt.timestamp),Vt.timestamp=h,Vt.isProcessing=!0,S2.update.process(Vt),S2.preRender.process(Vt),S2.render.process(Vt),Vt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Lf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rR),this.sharedNodes.forEach(cR)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ye.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ye.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ft(this.snapshot.measuredBox.x)&&!Ft(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=vt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h&&this.instance){const m=i(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:m,offset:l(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!c)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!Uj(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;d&&this.instance&&(h||S0(this.latestValues)||g)&&(c(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let m=this.removeElementScroll(h);return d&&(m=this.removeTransform(m)),fR(m),{animationId:this.root.animationId,measuredBox:h,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){var p;const{visualElement:d}=this.options;if(!d)return vt();const h=d.measureViewportBox();if(!(((p=this.scroll)==null?void 0:p.wasRoot)||this.path.some(mR))){const{scroll:g}=this.root;g&&(Vr(h.x,g.offset.x),Vr(h.y,g.offset.y))}return h}removeElementScroll(d){var m;const h=vt();if(Va(h,d),(m=this.scroll)!=null&&m.wasRoot)return h;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:x,options:y}=g;g!==this.root&&x&&y.layoutScroll&&(x.wasRoot&&Va(h,d),Vr(h.x,x.offset.x),Vr(h.y,x.offset.y))}return h}applyTransform(d,h=!1){const m=vt();Va(m,d);for(let p=0;p<this.path.length;p++){const g=this.path[p];!h&&g.options.layoutScroll&&g.scroll&&g!==g.root&&Tr(m,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),S0(g.latestValues)&&Tr(m,g.latestValues)}return S0(this.latestValues)&&Tr(m,this.latestValues),m}removeTransform(d){const h=vt();Va(h,d);for(let m=0;m<this.path.length;m++){const p=this.path[m];if(!p.instance||!S0(p.latestValues))continue;qh(p.latestValues)&&p.updateSnapshot();const g=vt(),x=p.measurePageBox();Va(g,x),gx(h,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,g)}return S0(this.latestValues)&&gx(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Vt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var w;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==h;if(!(d||m&&this.isSharedProjectionDirty||this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:x}=this.options;if(!this.layout||!(g||x))return;this.resolvedRelativeTargetAt=Vt.timestamp;const y=this.getClosestProjectingParent();y&&this.linkedParentVersion!==y.layoutVersion&&!y.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(y&&y.layout?this.createRelativeTarget(y,this.layout.layoutBox,y.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=vt(),this.targetWithTransforms=vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),DL(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Va(this.target,this.layout.layoutBox),Vj(this.target,this.targetDelta)):Va(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?this.createRelativeTarget(y,this.target,y.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||qh(this.parent.latestValues)||_j(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,h,m){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=vt(),this.relativeTargetOrigin=vt(),S1(this.relativeTargetOrigin,h,m),Va(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var N;const d=this.getLead(),h=!!this.resumingFrom||this!==d;let m=!0;if((this.isProjectionDirty||(N=this.parent)!=null&&N.isProjectionDirty)&&(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Vt.timestamp&&(m=!1),m)return;const{layout:p,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||g))return;Va(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,y=this.treeScale.y;hL(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=vt());const{target:w}=d;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ux(this.prevProjectionDelta.x,this.projectionDelta.x),ux(this.prevProjectionDelta.y,this.projectionDelta.y)),rl(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==y||!wx(this.projectionDelta.x,this.prevProjectionDelta.x)||!wx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),d){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=_r(),this.projectionDelta=_r(),this.projectionDeltaWithTransform=_r()}setAnimationOrigin(d,h=!1){const m=this.snapshot,p=m?m.latestValues:{},g={...this.latestValues},x=_r();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const y=vt(),w=m?m.source:void 0,N=this.layout?this.layout.source:void 0,E=w!==N,A=this.getStack(),j=!A||A.members.length<=1,S=!!(E&&!j&&this.options.crossfade===!0&&!this.path.some(dR));this.animationProgress=0;let Z;this.mixTargetDelta=C=>{const H=C/1e3;Zx(x.x,d.x,H),Zx(x.y,d.y,H),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(S1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),uR(this.relativeTarget,this.relativeTargetOrigin,y,H),Z&&zL(this.relativeTarget,Z)&&(this.isProjectionDirty=!1),Z||(Z=vt()),Va(Z,this.relativeTarget)),E&&(this.animationValues=g,UL(g,p,this.latestValues,H,S,j)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var h,m,p;this.notifyListeners("animationStart"),(h=this.currentAnimation)==null||h.stop(),(p=(m=this.resumingFrom)==null?void 0:m.currentAnimation)==null||p.stop(),this.pendingAnimation&&(a0(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ye.update(()=>{p1.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Dr(0)),this.motionValue.jump(0,!1),this.currentAnimation=GL(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),d.onUpdate&&d.onUpdate(g)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(JL),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:m,layout:p,latestValues:g}=d;if(!(!h||!m||!p)){if(this!==d&&this.layout&&p&&Xj(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||vt();const x=Ft(this.layout.layoutBox.x);m.x.min=d.target.x.min,m.x.max=m.x.min+x;const y=Ft(this.layout.layoutBox.y);m.y.min=d.target.y.min,m.y.max=m.y.min+y}Va(h,m),Tr(h,g),rl(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new QL),this.sharedNodes.get(d).add(h);const p=h.options.initialPromotionConfig;h.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var h;const{layoutId:d}=this.options;return d?((h=this.getStack())==null?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:d}=this.options;return d?(h=this.getStack())==null?void 0:h.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:m}={}){const p=this.getStack();p&&p.promote(this,m),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:m}=d;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(h=!0),!h)return;const p={};m.z&&k2("z",d,p,this.animationValues);for(let g=0;g<R2.length;g++)k2(`rotate${R2[g]}`,d,p,this.animationValues),k2(`skew${R2[g]}`,d,p,this.animationValues);d.render();for(const g in p)d.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=m1(h==null?void 0:h.pointerEvents)||"",d.transform=m?m(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=m1(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!S0(this.latestValues)&&(d.transform=m?m({},""):"none",this.hasProjected=!1);return}d.visibility="";const g=p.animationValues||p.latestValues;this.applyTransformsToTarget();let x=BL(this.projectionDeltaWithTransform,this.treeScale,g);m&&(x=m(g,x)),d.transform=x;const{x:y,y:w}=this.projectionDelta;d.transformOrigin=`${y.origin*100}% ${w.origin*100}% 0`,p.animationValues?d.opacity=p===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:d.opacity=p===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const N in Bh){if(g[N]===void 0)continue;const{correct:E,applyTo:A,isCSSVariable:j}=Bh[N],S=x==="none"?g[N]:E(g[N],p);if(A){const Z=A.length;for(let C=0;C<Z;C++)d[A[C]]=S}else j?this.options.visualElement.renderState.vars[N]=S:d[N]=S}this.options.layoutId&&(d.pointerEvents=p===this?m1(h==null?void 0:h.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var h;return(h=d.currentAnimation)==null?void 0:h.stop()}),this.root.nodes.forEach(Nx),this.root.sharedNodes.clear()}}}function eR(e){e.updateLayout()}function tR(e){var l;const a=((l=e.resumeFrom)==null?void 0:l.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&a&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:c}=e.layout,{animationType:u}=e.options,d=a.source!==e.layout.source;u==="size"?Ua(x=>{const y=d?a.measuredBox[x]:a.layoutBox[x],w=Ft(y);y.min=i[x].min,y.max=y.min+w}):Xj(u,a.layoutBox,i)&&Ua(x=>{const y=d?a.measuredBox[x]:a.layoutBox[x],w=Ft(i[x]);y.max=y.min+w,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[x].max=e.relativeTarget[x].min+w)});const h=_r();rl(h,i,a.layoutBox);const m=_r();d?rl(m,e.applyTransform(c,!0),a.measuredBox):rl(m,i,a.layoutBox);const p=!Uj(h);let g=!1;if(!e.resumeFrom){const x=e.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:y,layout:w}=x;if(y&&w){const N=vt();S1(N,a.layoutBox,y.layoutBox);const E=vt();S1(E,i,w.layoutBox),Ij(N,E)||(g=!0),x.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=N,e.relativeParent=x)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:a,delta:m,layoutDelta:h,hasLayoutChanged:p,hasRelativeLayoutChanged:g})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function aR(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function nR(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function rR(e){e.clearSnapshot()}function Nx(e){e.clearMeasurements()}function Mx(e){e.isLayoutDirty=!1}function sR(e){const{visualElement:a}=e.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),e.resetTransform()}function Sx(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function lR(e){e.resolveTargetDelta()}function iR(e){e.calcProjection()}function oR(e){e.resetSkewAndRotation()}function cR(e){e.removeLeadSnapshot()}function Zx(e,a,l){e.translate=tt(a.translate,0,l),e.scale=tt(a.scale,1,l),e.origin=a.origin,e.originPoint=a.originPoint}function Cx(e,a,l,i){e.min=tt(a.min,l.min,i),e.max=tt(a.max,l.max,i)}function uR(e,a,l,i){Cx(e.x,a.x,l.x,i),Cx(e.y,a.y,l.y,i)}function dR(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const hR={duration:.45,ease:[.4,0,.1,1]},Hx=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),_x=Hx("applewebkit/")&&!Hx("chrome/")?Math.round:Aa;function Vx(e){e.min=_x(e.min),e.max=_x(e.max)}function fR(e){Vx(e.x),Vx(e.y)}function Xj(e,a,l){return e==="position"||e==="preserve-aspect"&&!kL(yx(a),yx(l),.2)}function mR(e){var a;return e!==e.root&&((a=e.scroll)==null?void 0:a.wasRoot)}const pR=Kj({attachResizeListener:(e,a)=>hl(e,"resize",a),measureScroll:()=>{var e,a;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((a=document.body)==null?void 0:a.scrollTop)||0}},checkIsScrollRoot:()=>!0}),D2={current:void 0},Qj=Kj({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!D2.current){const e=new pR({});e.mount(window),e.setOptions({layoutScroll:!0}),D2.current=e}return D2.current},resetTransform:(e,a)=>{e.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),zf=r.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Tx(e,a){if(typeof e=="function")return e(a);e!=null&&(e.current=a)}function gR(...e){return a=>{let l=!1;const i=e.map(c=>{const u=Tx(c,a);return!l&&typeof u=="function"&&(l=!0),u});if(l)return()=>{for(let c=0;c<i.length;c++){const u=i[c];typeof u=="function"?u():Tx(e[c],null)}}}}function xR(...e){return r.useCallback(gR(...e),e)}class vR extends r.Component{getSnapshotBeforeUpdate(a){const l=this.props.childRef.current;if(l&&a.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const i=l.offsetParent,c=Oh(i)&&i.offsetWidth||0,u=Oh(i)&&i.offsetHeight||0,d=this.props.sizeRef.current;d.height=l.offsetHeight||0,d.width=l.offsetWidth||0,d.top=l.offsetTop,d.left=l.offsetLeft,d.right=c-d.width-d.left,d.bottom=u-d.height-d.top}return null}componentDidUpdate(){}render(){return this.props.children}}function bR({children:e,isPresent:a,anchorX:l,anchorY:i,root:c,pop:u}){var y;const d=r.useId(),h=r.useRef(null),m=r.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:p}=r.useContext(zf),g=((y=e.props)==null?void 0:y.ref)??(e==null?void 0:e.ref),x=xR(h,g);return r.useInsertionEffect(()=>{const{width:w,height:N,top:E,left:A,right:j,bottom:S}=m.current;if(a||u===!1||!h.current||!w||!N)return;const Z=l==="left"?`left: ${A}`:`right: ${j}`,C=i==="bottom"?`bottom: ${S}`:`top: ${E}`;h.current.dataset.motionPopId=d;const H=document.createElement("style");p&&(H.nonce=p);const _=c??document.head;return _.appendChild(H),H.sheet&&H.sheet.insertRule(`
62
+ [data-motion-pop-id="${d}"] {
63
+ position: absolute !important;
64
+ width: ${w}px !important;
65
+ height: ${N}px !important;
66
+ ${Z}px !important;
67
+ ${C}px !important;
68
+ }
69
+ `),()=>{_.contains(H)&&_.removeChild(H)}},[a]),s.jsx(vR,{isPresent:a,childRef:h,sizeRef:m,pop:u,children:u===!1?e:r.cloneElement(e,{ref:x})})}const yR=({children:e,initial:a,isPresent:l,onExitComplete:i,custom:c,presenceAffectsLayout:u,mode:d,anchorX:h,anchorY:m,root:p})=>{const g=mf(wR),x=r.useId();let y=!0,w=r.useMemo(()=>(y=!1,{id:x,initial:a,isPresent:l,custom:c,onExitComplete:N=>{g.set(N,!0);for(const E of g.values())if(!E)return;i&&i()},register:N=>(g.set(N,!1),()=>g.delete(N))}),[l,g,i]);return u&&y&&(w={...w}),r.useMemo(()=>{g.forEach((N,E)=>g.set(E,!1))},[l]),r.useEffect(()=>{!l&&!g.size&&i&&i()},[l]),e=s.jsx(bR,{pop:d==="popLayout",isPresent:l,anchorX:h,anchorY:m,root:p,children:e}),s.jsx(L1.Provider,{value:w,children:e})};function wR(){return new Map}function Jj(e=!0){const a=r.useContext(L1);if(a===null)return[!0,null];const{isPresent:l,onExitComplete:i,register:c}=a,u=r.useId();r.useEffect(()=>{if(e)return c(u)},[e]);const d=r.useCallback(()=>e&&i&&i(u),[u,i,e]);return!l&&i?[!1,d]:[!0]}const a1=e=>e.key||"";function Lx(e){const a=[];return r.Children.forEach(e,l=>{r.isValidElement(l)&&a.push(l)}),a}const Oa=({children:e,custom:a,initial:l=!0,onExitComplete:i,presenceAffectsLayout:c=!0,mode:u="sync",propagate:d=!1,anchorX:h="left",anchorY:m="top",root:p})=>{const[g,x]=Jj(d),y=r.useMemo(()=>Lx(e),[e]),w=d&&!g?[]:y.map(a1),N=r.useRef(!0),E=r.useRef(y),A=mf(()=>new Map),j=r.useRef(new Set),[S,Z]=r.useState(y),[C,H]=r.useState(y);MA(()=>{N.current=!1,E.current=y;for(let k=0;k<C.length;k++){const R=a1(C[k]);w.includes(R)?(A.delete(R),j.current.delete(R)):A.get(R)!==!0&&A.set(R,!1)}},[C,w.length,w.join("-")]);const _=[];if(y!==S){let k=[...y];for(let R=0;R<C.length;R++){const O=C[R],I=a1(O);w.includes(I)||(k.splice(R,0,O),_.push(O))}return u==="wait"&&_.length&&(k=_),H(Lx(k)),Z(y),null}const{forceRender:T}=r.useContext(ff);return s.jsx(s.Fragment,{children:C.map(k=>{const R=a1(k),O=d&&!g?!1:y===C||w.includes(R),I=()=>{if(j.current.has(R))return;if(j.current.add(R),A.has(R))A.set(R,!0);else return;let X=!0;A.forEach(K=>{K||(X=!1)}),X&&(T==null||T(),H(E.current),d&&(x==null||x()),i&&i())};return s.jsx(yR,{isPresent:O,initial:!N.current||l?void 0:!1,custom:a,presenceAffectsLayout:c,mode:u,root:p,onExitComplete:O?void 0:I,anchorX:h,anchorY:m,children:k},R)})})},Wj=r.createContext({strict:!1}),Rx={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let kx=!1;function AR(){if(kx)return;const e={};for(const a in Rx)e[a]={isEnabled:l=>Rx[a].some(i=>!!l[i])};Zj(e),kx=!0}function eE(){return AR(),oL()}function jR(e){const a=eE();for(const l in e)a[l]={...a[l],...e[l]};Zj(a)}const ER=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Z1(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ER.has(e)}let tE=e=>!Z1(e);function NR(e){typeof e=="function"&&(tE=a=>a.startsWith("on")?!Z1(a):e(a))}try{NR(require("@emotion/is-prop-valid").default)}catch{}function MR(e,a,l){const i={};for(const c in e)c==="values"&&typeof e.values=="object"||(tE(c)||l===!0&&Z1(c)||!a&&!Z1(c)||e.draggable&&c.startsWith("onDrag"))&&(i[c]=e[c]);return i}const D1=r.createContext({});function SR(e,a){if(k1(e)){const{initial:l,animate:i}=e;return{initial:l===!1||dl(l)?l:void 0,animate:dl(i)?i:void 0}}return e.inherit!==!1?a:{}}function ZR(e){const{initial:a,animate:l}=SR(e,r.useContext(D1));return r.useMemo(()=>({initial:a,animate:l}),[Dx(a),Dx(l)])}function Dx(e){return Array.isArray(e)?e.join(" "):e}const Bf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function aE(e,a,l){for(const i in a)!kt(a[i])&&!Rj(i,l)&&(e[i]=a[i])}function CR({transformTemplate:e},a){return r.useMemo(()=>{const l=Bf();return Ff(l,a,e),Object.assign({},l.vars,l.style)},[a])}function HR(e,a){const l=e.style||{},i={};return aE(i,l,e),Object.assign(i,CR(e,a)),i}function _R(e,a){const l={},i=HR(e,a);return e.drag&&e.dragListener!==!1&&(l.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(l.tabIndex=0),l.style=i,l}const nE=()=>({...Bf(),attrs:{}});function VR(e,a,l,i){const c=r.useMemo(()=>{const u=nE();return kj(u,a,Oj(i),e.transformTemplate,e.style),{...u.attrs,style:{...u.style}}},[a]);if(e.style){const u={};aE(u,e.style,e),c.style={...u,...c.style}}return c}const TR=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function $f(e){return typeof e!="string"||e.includes("-")?!1:!!(TR.indexOf(e)>-1||/[A-Z]/u.test(e))}function LR(e,a,l,{latestValues:i},c,u=!1,d){const m=(d??$f(e)?VR:_R)(a,i,c,e),p=MR(a,typeof e=="string",u),g=e!==r.Fragment?{...p,...m,ref:l}:{},{children:x}=a,y=r.useMemo(()=>kt(x)?x.get():x,[x]);return r.createElement(e,{...g,children:y})}function RR({scrapeMotionValuesFromProps:e,createRenderState:a},l,i,c){return{latestValues:kR(l,i,c,e),renderState:a()}}function kR(e,a,l,i){const c={},u=i(e,{});for(const y in u)c[y]=m1(u[y]);let{initial:d,animate:h}=e;const m=k1(e),p=Mj(e);a&&p&&!m&&e.inherit!==!1&&(d===void 0&&(d=a.initial),h===void 0&&(h=a.animate));let g=l?l.initial===!1:!1;g=g||d===!1;const x=g?h:d;if(x&&typeof x!="boolean"&&!R1(x)){const y=Array.isArray(x)?x:[x];for(let w=0;w<y.length;w++){const N=_f(e,y[w]);if(N){const{transitionEnd:E,transition:A,...j}=N;for(const S in j){let Z=j[S];if(Array.isArray(Z)){const C=g?Z.length-1:0;Z=Z[C]}Z!==null&&(c[S]=Z)}for(const S in E)c[S]=E[S]}}}return c}const rE=e=>(a,l)=>{const i=r.useContext(D1),c=r.useContext(L1),u=()=>RR(e,a,i,c);return l?u():mf(u)},DR=rE({scrapeMotionValuesFromProps:qf,createRenderState:Bf}),OR=rE({scrapeMotionValuesFromProps:Fj,createRenderState:nE}),FR=Symbol.for("motionComponentSymbol");function qR(e,a,l){const i=r.useRef(l);r.useInsertionEffect(()=>{i.current=l});const c=r.useRef(null);return r.useCallback(u=>{var h;u&&((h=e.onMount)==null||h.call(e,u)),a&&(u?a.mount(u):a.unmount());const d=i.current;if(typeof d=="function")if(u){const m=d(u);typeof m=="function"&&(c.current=m)}else c.current?(c.current(),c.current=null):d(u);else d&&(d.current=u)},[a])}const sE=r.createContext({});function Sr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function zR(e,a,l,i,c,u){var Z,C;const{visualElement:d}=r.useContext(D1),h=r.useContext(Wj),m=r.useContext(L1),p=r.useContext(zf),g=p.reducedMotion,x=p.skipAnimations,y=r.useRef(null),w=r.useRef(!1);i=i||h.renderer,!y.current&&i&&(y.current=i(e,{visualState:a,parent:d,props:l,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g,skipAnimations:x,isSVG:u}),w.current&&y.current&&(y.current.manuallyAnimateOnMount=!0));const N=y.current,E=r.useContext(sE);N&&!N.projection&&c&&(N.type==="html"||N.type==="svg")&&BR(y.current,l,c,E);const A=r.useRef(!1);r.useInsertionEffect(()=>{N&&A.current&&N.update(l,m)});const j=l[fj],S=r.useRef(!!j&&!((Z=window.MotionHandoffIsComplete)!=null&&Z.call(window,j))&&((C=window.MotionHasOptimisedAnimation)==null?void 0:C.call(window,j)));return MA(()=>{w.current=!0,N&&(A.current=!0,window.MotionIsMounted=!0,N.updateFeatures(),N.scheduleRenderMicrotask(),S.current&&N.animationState&&N.animationState.animateChanges())}),r.useEffect(()=>{N&&(!S.current&&N.animationState&&N.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var H;(H=window.MotionHandoffMarkAsComplete)==null||H.call(window,j)}),S.current=!1),N.enteringChildren=void 0)}),N}function BR(e,a,l,i){const{layoutId:c,layout:u,drag:d,dragConstraints:h,layoutScroll:m,layoutRoot:p,layoutCrossfade:g}=a;e.projection=new l(e.latestValues,a["data-framer-portal-id"]?void 0:lE(e.parent)),e.projection.setOptions({layoutId:c,layout:u,alwaysMeasureLayout:!!d||h&&Sr(h),visualElement:e,animationType:typeof u=="string"?u:"both",initialPromotionConfig:i,crossfade:g,layoutScroll:m,layoutRoot:p})}function lE(e){if(e)return e.options.allowProjection!==!1?e.projection:lE(e.parent)}function O2(e,{forwardMotionProps:a=!1,type:l}={},i,c){i&&jR(i);const u=l?l==="svg":$f(e),d=u?OR:DR;function h(p,g){let x;const y={...r.useContext(zf),...p,layoutId:$R(p)},{isStatic:w}=y,N=ZR(p),E=d(p,w);if(!w&&NA){UR();const A=IR(y);x=A.MeasureLayout,N.visualElement=zR(e,E,y,c,A.ProjectionNode,u)}return s.jsxs(D1.Provider,{value:N,children:[x&&N.visualElement?s.jsx(x,{visualElement:N.visualElement,...y}):null,LR(e,p,qR(E,N.visualElement,g),E,w,a,u)]})}h.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const m=r.forwardRef(h);return m[FR]=e,m}function $R({layoutId:e}){const a=r.useContext(ff).id;return a&&e!==void 0?a+"-"+e:e}function UR(e,a){r.useContext(Wj).strict}function IR(e){const a=eE(),{drag:l,layout:i}=a;if(!l&&!i)return{};const c={...l,...i};return{MeasureLayout:l!=null&&l.isEnabled(e)||i!=null&&i.isEnabled(e)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function PR(e,a){if(typeof Proxy>"u")return O2;const l=new Map,i=(u,d)=>O2(u,d,e,a),c=(u,d)=>i(u,d);return new Proxy(c,{get:(u,d)=>d==="create"?i:(l.has(d)||l.set(d,O2(d,void 0,e,a)),l.get(d))})}const GR=(e,a)=>a.isSVG??$f(e)?new NL(a):new bL(a,{allowProjection:e!==r.Fragment});class YR extends r0{constructor(a){super(a),a.animationState||(a.animationState=HL(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();R1(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:l}=this.node.prevProps||{};a!==l&&this.updateAnimationControlsSubscription()}unmount(){var a;this.node.animationState.reset(),(a=this.unmountControls)==null||a.call(this)}}let KR=0;class XR extends r0{constructor(){super(...arguments),this.id=KR++}update(){if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:l}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===i)return;const c=this.node.animationState.setActive("exit",!a);l&&!a&&c.then(()=>{l(this.id)})}mount(){const{register:a,onExitComplete:l}=this.node.presenceContext||{};l&&l(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const QR={animation:{Feature:YR},exit:{Feature:XR}};function wl(e){return{point:{x:e.pageX,y:e.pageY}}}const JR=e=>a=>Rf(a)&&e(a,wl(a));function sl(e,a,l,i){return hl(e,a,JR(l),i)}const iE=({current:e})=>e?e.ownerDocument.defaultView:null,Ox=(e,a)=>Math.abs(e-a);function WR(e,a){const l=Ox(e.x,a.x),i=Ox(e.y,a.y);return Math.sqrt(l**2+i**2)}const Fx=new Set(["auto","scroll"]);class oE{constructor(a,l,{transformPagePoint:i,contextWindow:c=window,dragSnapToOrigin:u=!1,distanceThreshold:d=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=w=>{this.handleScroll(w.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=q2(this.lastMoveEventInfo,this.history),N=this.startEvent!==null,E=WR(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!N&&!E)return;const{point:A}=w,{timestamp:j}=Vt;this.history.push({...A,timestamp:j});const{onStart:S,onMove:Z}=this.handlers;N||(S&&S(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),Z&&Z(this.lastMoveEvent,w)},this.handlePointerMove=(w,N)=>{this.lastMoveEvent=w,this.lastMoveEventInfo=F2(N,this.transformPagePoint),Ye.update(this.updatePoint,!0)},this.handlePointerUp=(w,N)=>{this.end();const{onEnd:E,onSessionEnd:A,resumeAnimation:j}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&j&&j(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=q2(w.type==="pointercancel"?this.lastMoveEventInfo:F2(N,this.transformPagePoint),this.history);this.startEvent&&E&&E(w,S),A&&A(w,S)},!Rf(a))return;this.dragSnapToOrigin=u,this.handlers=l,this.transformPagePoint=i,this.distanceThreshold=d,this.contextWindow=c||window;const m=wl(a),p=F2(m,this.transformPagePoint),{point:g}=p,{timestamp:x}=Vt;this.history=[{...g,timestamp:x}];const{onSessionStart:y}=l;y&&y(a,q2(p,this.history)),this.removeListeners=vl(sl(this.contextWindow,"pointermove",this.handlePointerMove),sl(this.contextWindow,"pointerup",this.handlePointerUp),sl(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(a){let l=a.parentElement;for(;l;){const i=getComputedStyle(l);(Fx.has(i.overflowX)||Fx.has(i.overflowY))&&this.scrollPositions.set(l,{x:l.scrollLeft,y:l.scrollTop}),l=l.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const l=this.scrollPositions.get(a);if(!l)return;const i=a===window,c=i?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},u={x:c.x-l.x,y:c.y-l.y};u.x===0&&u.y===0||(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(a,c),Ye.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),a0(this.updatePoint)}}function F2(e,a){return a?{point:a(e.point)}:e}function qx(e,a){return{x:e.x-a.x,y:e.y-a.y}}function q2({point:e},a){return{point:e,delta:qx(e,cE(a)),offset:qx(e,ek(a)),velocity:tk(a,.1)}}function ek(e){return e[0]}function cE(e){return e[e.length-1]}function tk(e,a){if(e.length<2)return{x:0,y:0};let l=e.length-1,i=null;const c=cE(e);for(;l>=0&&(i=e[l],!(c.timestamp-i.timestamp>La(a)));)l--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&c.timestamp-i.timestamp>La(a)*2&&(i=e[1]);const u=wa(c.timestamp-i.timestamp);if(u===0)return{x:0,y:0};const d={x:(c.x-i.x)/u,y:(c.y-i.y)/u};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function ak(e,{min:a,max:l},i){return a!==void 0&&e<a?e=i?tt(a,e,i.min):Math.max(e,a):l!==void 0&&e>l&&(e=i?tt(l,e,i.max):Math.min(e,l)),e}function zx(e,a,l){return{min:a!==void 0?e.min+a:void 0,max:l!==void 0?e.max+l-(e.max-e.min):void 0}}function nk(e,{top:a,left:l,bottom:i,right:c}){return{x:zx(e.x,l,c),y:zx(e.y,a,i)}}function Bx(e,a){let l=a.min-e.min,i=a.max-e.max;return a.max-a.min<e.max-e.min&&([l,i]=[i,l]),{min:l,max:i}}function rk(e,a){return{x:Bx(e.x,a.x),y:Bx(e.y,a.y)}}function sk(e,a){let l=.5;const i=Ft(e),c=Ft(a);return c>i?l=ol(a.min,a.max-i,e.min):i>c&&(l=ol(e.min,e.max-c,a.min)),Ya(0,1,l)}function lk(e,a){const l={};return a.min!==void 0&&(l.min=a.min-e.min),a.max!==void 0&&(l.max=a.max-e.min),l}const $h=.35;function ik(e=$h){return e===!1?e=0:e===!0&&(e=$h),{x:$x(e,"left","right"),y:$x(e,"top","bottom")}}function $x(e,a,l){return{min:Ux(e,a),max:Ux(e,l)}}function Ux(e,a){return typeof e=="number"?e:e[a]||0}const ok=new WeakMap;class ck{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=vt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:l=!1,distanceThreshold:i}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const u=x=>{l&&this.snapToCursor(wl(x).point),this.stopAnimation()},d=(x,y)=>{const{drag:w,dragPropagation:N,onDragStart:E}=this.getProps();if(w&&!N&&(this.openDragLock&&this.openDragLock(),this.openDragLock=OT(w),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=y,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ua(j=>{let S=this.getAxisMotionValue(j).get()||0;if(Ga.test(S)){const{projection:Z}=this.visualElement;if(Z&&Z.layout){const C=Z.layout.layoutBox[j];C&&(S=Ft(C)*(parseFloat(S)/100))}}this.originPoint[j]=S}),E&&Ye.update(()=>E(x,y),!1,!0),Lh(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},h=(x,y)=>{this.latestPointerEvent=x,this.latestPanInfo=y;const{dragPropagation:w,dragDirectionLock:N,onDirectionLock:E,onDrag:A}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:j}=y;if(N&&this.currentDirection===null){this.currentDirection=dk(j),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",y.point,j),this.updateAxis("y",y.point,j),this.visualElement.render(),A&&Ye.update(()=>A(x,y),!1,!0)},m=(x,y)=>{this.latestPointerEvent=x,this.latestPanInfo=y,this.stop(x,y),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:x}=this.getProps();(x||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new oE(a,{onSessionStart:u,onStart:d,onMove:h,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:i,contextWindow:iE(this.visualElement),element:this.visualElement.current})}stop(a,l){const i=a||this.latestPointerEvent,c=l||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!c||!i)return;const{velocity:d}=c;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&Ye.postRender(()=>h(i,c))}cancel(){this.isDragging=!1;const{projection:a,animationState:l}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),l&&l.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,l,i){const{drag:c}=this.getProps();if(!i||!n1(a,c,this.currentDirection))return;const u=this.getAxisMotionValue(a);let d=this.originPoint[a]+i[a];this.constraints&&this.constraints[a]&&(d=ak(d,this.constraints[a],this.elastic[a])),u.set(d)}resolveConstraints(){var u;const{dragConstraints:a,dragElastic:l}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(u=this.visualElement.projection)==null?void 0:u.layout,c=this.constraints;a&&Sr(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&i?this.constraints=nk(i.layoutBox,a):this.constraints=!1,this.elastic=ik(l),c!==this.constraints&&!Sr(a)&&i&&this.constraints&&!this.hasMutatedConstraints&&Ua(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=lk(i.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:l}=this.getProps();if(!a||!Sr(a))return!1;const i=a.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const u=fL(i,c.root,this.visualElement.getTransformPagePoint());let d=rk(c.layout.layoutBox,u);if(l){const h=l(uL(d));this.hasMutatedConstraints=!!h,h&&(d=Hj(h))}return d}startAnimation(a){const{drag:l,dragMomentum:i,dragElastic:c,dragTransition:u,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),m=this.constraints||{},p=Ua(g=>{if(!n1(g,l,this.currentDirection))return;let x=m&&m[g]||{};d&&(x={min:0,max:0});const y=c?200:1e6,w=c?40:1e7,N={type:"inertia",velocity:i?a[g]:0,bounceStiffness:y,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...u,...x};return this.startAxisValueAnimation(g,N)});return Promise.all(p).then(h)}startAxisValueAnimation(a,l){const i=this.getAxisMotionValue(a);return Lh(this.visualElement,a),i.start(Hf(a,i,0,l,this.visualElement,!1))}stopAnimation(){Ua(a=>this.getAxisMotionValue(a).stop())}getAxisMotionValue(a){const l=`_drag${a.toUpperCase()}`,i=this.visualElement.getProps(),c=i[l];return c||this.visualElement.getValue(a,(i.initial?i.initial[a]:void 0)||0)}snapToCursor(a){Ua(l=>{const{drag:i}=this.getProps();if(!n1(l,i,this.currentDirection))return;const{projection:c}=this.visualElement,u=this.getAxisMotionValue(l);if(c&&c.layout){const{min:d,max:h}=c.layout.layoutBox[l],m=u.get()||0;u.set(a[l]-tt(d,h,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:l}=this.getProps(),{projection:i}=this.visualElement;if(!Sr(l)||!i||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};Ua(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const m=h.get();c[d]=sk({min:m,max:m},this.constraints[d])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ua(d=>{if(!n1(d,a,null))return;const h=this.getAxisMotionValue(d),{min:m,max:p}=this.constraints[d];h.set(tt(m,p,c[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;ok.set(this.visualElement,this);const a=this.visualElement.current,l=sl(a,"pointerdown",p=>{const{drag:g,dragListener:x=!0}=this.getProps(),y=p.target,w=y!==a&&UT(y);g&&x&&!w&&this.start(p)});let i;const c=()=>{const{dragConstraints:p}=this.getProps();Sr(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),i||(i=uk(a,p.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,d=u.addEventListener("measure",c);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),Ye.read(c);const h=hl(window,"resize",()=>this.scalePositionWithinConstraints()),m=u.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(Ua(x=>{const y=this.getAxisMotionValue(x);y&&(this.originPoint[x]+=p[x].translate,y.set(y.get()+p[x].translate))}),this.visualElement.render())}));return()=>{h(),l(),d(),m&&m(),i&&i()}}getProps(){const a=this.visualElement.getProps(),{drag:l=!1,dragDirectionLock:i=!1,dragPropagation:c=!1,dragConstraints:u=!1,dragElastic:d=$h,dragMomentum:h=!0}=a;return{...a,drag:l,dragDirectionLock:i,dragPropagation:c,dragConstraints:u,dragElastic:d,dragMomentum:h}}}function Ix(e){let a=!0;return()=>{if(a){a=!1;return}e()}}function uk(e,a,l){const i=Jg(e,Ix(l)),c=Jg(a,Ix(l));return()=>{i(),c()}}function n1(e,a,l){return(a===!0||a===e)&&(l===null||l===e)}function dk(e,a=10){let l=null;return Math.abs(e.y)>a?l="y":Math.abs(e.x)>a&&(l="x"),l}class hk extends r0{constructor(a){super(a),this.removeGroupControls=Aa,this.removeListeners=Aa,this.controls=new ck(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Aa}update(){const{dragControls:a}=this.node.getProps(),{dragControls:l}=this.node.prevProps||{};a!==l&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const z2=e=>(a,l)=>{e&&Ye.update(()=>e(a,l),!1,!0)};class fk extends r0{constructor(){super(...arguments),this.removePointerDownListener=Aa}onPointerDown(a){this.session=new oE(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:iE(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:l,onPan:i,onPanEnd:c}=this.node.getProps();return{onSessionStart:z2(a),onStart:z2(l),onMove:z2(i),onEnd:(u,d)=>{delete this.session,c&&Ye.postRender(()=>c(u,d))}}}mount(){this.removePointerDownListener=sl(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let B2=!1;class mk extends r.Component{componentDidMount(){const{visualElement:a,layoutGroup:l,switchLayoutGroup:i,layoutId:c}=this.props,{projection:u}=a;u&&(l.group&&l.group.add(u),i&&i.register&&c&&i.register(u),B2&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),p1.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:l,visualElement:i,drag:c,isPresent:u}=this.props,{projection:d}=i;return d&&(d.isPresent=u,a.layoutDependency!==l&&d.setOptions({...d.options,layoutDependency:l}),B2=!0,c||a.layoutDependency!==l||l===void 0||a.isPresent!==u?d.willUpdate():this.safeToRemove(),a.isPresent!==u&&(u?d.promote():d.relegate()||Ye.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:a}=this.props.visualElement;a&&(a.root.didUpdate(),Lf.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:l,switchLayoutGroup:i}=this.props,{projection:c}=a;B2=!0,c&&(c.scheduleCheckAfterUnmount(),l&&l.group&&l.group.remove(c),i&&i.deregister&&i.deregister(c))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function uE(e){const[a,l]=Jj(),i=r.useContext(ff);return s.jsx(mk,{...e,layoutGroup:i,switchLayoutGroup:r.useContext(sE),isPresent:a,safeToRemove:l})}const pk={pan:{Feature:fk},drag:{Feature:hk,ProjectionNode:Qj,MeasureLayout:uE}};function Px(e,a,l){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",l==="Start");const c="onHover"+l,u=i[c];u&&Ye.postRender(()=>u(a,wl(a)))}class gk extends r0{mount(){const{current:a}=this.node;a&&(this.unmount=qT(a,(l,i)=>(Px(this.node,i,"Start"),c=>Px(this.node,c,"End"))))}unmount(){}}class xk extends r0{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=vl(hl(this.node.current,"focus",()=>this.onFocus()),hl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Gx(e,a,l){const{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",l==="Start");const c="onTap"+(l==="End"?"":l),u=i[c];u&&Ye.postRender(()=>u(a,wl(a)))}class vk extends r0{mount(){const{current:a}=this.node;if(!a)return;const{globalTapTarget:l,propagate:i}=this.node.props;this.unmount=PT(a,(c,u)=>(Gx(this.node,u,"Start"),(d,{success:h})=>Gx(this.node,d,h?"End":"Cancel")),{useGlobalTarget:l,stopPropagation:(i==null?void 0:i.tap)===!1})}unmount(){}}const Uh=new WeakMap,$2=new WeakMap,bk=e=>{const a=Uh.get(e.target);a&&a(e)},yk=e=>{e.forEach(bk)};function wk({root:e,...a}){const l=e||document;$2.has(l)||$2.set(l,{});const i=$2.get(l),c=JSON.stringify(a);return i[c]||(i[c]=new IntersectionObserver(yk,{root:e,...a})),i[c]}function Ak(e,a,l){const i=wk(a);return Uh.set(e,l),i.observe(e),()=>{Uh.delete(e),i.unobserve(e)}}const jk={some:0,all:1};class Ek extends r0{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:a={}}=this.node.getProps(),{root:l,margin:i,amount:c="some",once:u}=a,d={root:l?l.current:void 0,rootMargin:i,threshold:typeof c=="number"?c:jk[c]},h=m=>{const{isIntersecting:p}=m;if(this.isInView===p||(this.isInView=p,u&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:g,onViewportLeave:x}=this.node.getProps(),y=p?g:x;y&&y(m)};return Ak(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:l}=this.node;["amount","margin","root"].some(Nk(a,l))&&this.startObserver()}unmount(){}}function Nk({viewport:e={}},{viewport:a={}}={}){return l=>e[l]!==a[l]}const Mk={inView:{Feature:Ek},tap:{Feature:vk},focus:{Feature:xk},hover:{Feature:gk}},Sk={layout:{ProjectionNode:Qj,MeasureLayout:uE}},Zk={...QR,...Mk,...pk,...Sk},De=PR(Zk,GR),Ck=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,20H64A20,20,0,0,0,44,40V60H32a12,12,0,0,0,0,24H44v32H32a12,12,0,0,0,0,24H44v32H32a12,12,0,0,0,0,24H44v20a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V40A20,20,0,0,0,208,20Zm-4,192H68V44H204ZM100.8,171.37a48,48,0,0,1,70.4,0,12,12,0,0,0,17.6-16.32,72,72,0,0,0-19.21-14.68,44,44,0,1,0-67.19,0,72.12,72.12,0,0,0-19.2,14.68,12,12,0,0,0,17.6,16.32ZM116,112a20,20,0,1,1,20,20A20,20,0,0,1,116,112Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H64a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V40A8,8,0,0,0,208,32ZM136,144a32,32,0,1,1,32-32A32,32,0,0,1,136,144Z",opacity:"0.2"}),r.createElement("path",{d:"M83.19,174.4a8,8,0,0,0,11.21-1.6,52,52,0,0,1,83.2,0,8,8,0,1,0,12.8-9.6A67.88,67.88,0,0,0,163,141.51a40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,81.6,163.2,8,8,0,0,0,83.19,174.4ZM112,112a24,24,0,1,1,24,24A24,24,0,0,1,112,112Zm96-88H64A16,16,0,0,0,48,40V64H32a8,8,0,0,0,0,16H48v40H32a8,8,0,0,0,0,16H48v40H32a8,8,0,0,0,0,16H48v24a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V40A16,16,0,0,0,208,24Zm0,192H64V40H208Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M160,112a24,24,0,1,1-24-24A24,24,0,0,1,160,112Zm64-72V216a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V192H32a8,8,0,0,1,0-16H48V136H32a8,8,0,0,1,0-16H48V80H32a8,8,0,0,1,0-16H48V40A16,16,0,0,1,64,24H208A16,16,0,0,1,224,40ZM190.4,163.2A67.88,67.88,0,0,0,163,141.51a40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,81.6,163.2a8,8,0,1,0,12.8,9.6,52,52,0,0,1,83.2,0,8,8,0,1,0,12.8-9.6Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M159.11,142.13a38,38,0,1,0-46.22,0A65.75,65.75,0,0,0,83.2,164.4a6,6,0,0,0,9.6,7.2,54,54,0,0,1,86.4,0,6,6,0,0,0,9.6-7.2A65.75,65.75,0,0,0,159.11,142.13ZM110,112a26,26,0,1,1,26,26A26,26,0,0,1,110,112Zm98-86H64A14,14,0,0,0,50,40V66H32a6,6,0,0,0,0,12H50v44H32a6,6,0,0,0,0,12H50v44H32a6,6,0,0,0,0,12H50v26a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V40A14,14,0,0,0,208,26Zm2,190a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M83.19,174.4a8,8,0,0,0,11.21-1.6,52,52,0,0,1,83.2,0,8,8,0,1,0,12.8-9.6A67.88,67.88,0,0,0,163,141.51a40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,81.6,163.2,8,8,0,0,0,83.19,174.4ZM112,112a24,24,0,1,1,24,24A24,24,0,0,1,112,112Zm96-88H64A16,16,0,0,0,48,40V64H32a8,8,0,0,0,0,16H48v40H32a8,8,0,0,0,0,16H48v40H32a8,8,0,0,0,0,16H48v24a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V40A16,16,0,0,0,208,24Zm0,192H64V40H208Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M154.7,142.75a36,36,0,1,0-37.4,0A63.61,63.61,0,0,0,84.8,165.6a4,4,0,0,0,6.4,4.8,56,56,0,0,1,89.6,0,4,4,0,0,0,6.4-4.8A63.65,63.65,0,0,0,154.7,142.75ZM108,112a28,28,0,1,1,28,28A28,28,0,0,1,108,112ZM208,28H64A12,12,0,0,0,52,40V68H32a4,4,0,0,0,0,8H52v48H32a4,4,0,0,0,0,8H52v48H32a4,4,0,0,0,0,8H52v28a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V40A12,12,0,0,0,208,28Zm4,188a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"}))]]),Hk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232.49,160.49l-48,48a12,12,0,0,1-17-17L195,164H128A108.12,108.12,0,0,1,20,56a12,12,0,0,1,24,0,84.09,84.09,0,0,0,84,84h67l-27.52-27.51a12,12,0,0,1,17-17l48,48A12,12,0,0,1,232.49,160.49Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,152l-48,48V104Z",opacity:"0.2"}),r.createElement("path",{d:"M229.66,146.34l-48-48A8,8,0,0,0,168,104v40H128A88.1,88.1,0,0,1,40,56a8,8,0,0,0-16,0A104.11,104.11,0,0,0,128,160h40v40a8,8,0,0,0,13.66,5.66l48-48A8,8,0,0,0,229.66,146.34ZM184,180.69V123.31L212.69,152Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M229.66,157.66l-48,48A8,8,0,0,1,168,200V160H128A104.11,104.11,0,0,1,24,56a8,8,0,0,1,16,0,88.1,88.1,0,0,0,88,88h40V104a8,8,0,0,1,13.66-5.66l48,48A8,8,0,0,1,229.66,157.66Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228.24,156.24l-48,48a6,6,0,0,1-8.48-8.48L209.51,158H128A102.12,102.12,0,0,1,26,56a6,6,0,0,1,12,0,90.1,90.1,0,0,0,90,90h81.51l-37.75-37.76a6,6,0,0,1,8.48-8.48l48,48A6,6,0,0,1,228.24,156.24Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M229.66,157.66l-48,48a8,8,0,0,1-11.32-11.32L204.69,160H128A104.11,104.11,0,0,1,24,56a8,8,0,0,1,16,0,88.1,88.1,0,0,0,88,88h76.69l-34.35-34.34a8,8,0,0,1,11.32-11.32l48,48A8,8,0,0,1,229.66,157.66Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M226.83,154.83l-48,48a4,4,0,0,1-5.66-5.66L214.34,156H128A100.11,100.11,0,0,1,28,56a4,4,0,0,1,8,0,92.1,92.1,0,0,0,92,92h86.34l-41.17-41.17a4,4,0,0,1,5.66-5.66l48,48A4,4,0,0,1,226.83,154.83Z"}))]]),_k=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),r.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"}))]]),Vk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M112,56V200L40,128Z",opacity:"0.2"}),r.createElement("path",{d:"M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z"}))]]),Tk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"}),r.createElement("path",{d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"}))]]),Lk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216.49,184.49l-32,32a12,12,0,0,1-17-17L179,188H48a12,12,0,0,1,0-24H179l-11.52-11.51a12,12,0,0,1,17-17l32,32A12,12,0,0,1,216.49,184.49Zm-145-64a12,12,0,0,0,17-17L77,92H208a12,12,0,0,0,0-24H77L88.49,56.49a12,12,0,0,0-17-17l-32,32a12,12,0,0,0,0,17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,80v96H48V80Z",opacity:"0.2"}),r.createElement("path",{d:"M213.66,181.66l-32,32a8,8,0,0,1-11.32-11.32L188.69,184H48a8,8,0,0,1,0-16H188.69l-18.35-18.34a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,213.66,181.66Zm-139.32-64a8,8,0,0,0,11.32-11.32L67.31,88H208a8,8,0,0,0,0-16H67.31L85.66,53.66A8,8,0,0,0,74.34,42.34l-32,32a8,8,0,0,0,0,11.32Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M42.34,85.66a8,8,0,0,1,0-11.32l32-32A8,8,0,0,1,88,48V72H208a8,8,0,0,1,0,16H88v24a8,8,0,0,1-13.66,5.66Zm171.32,84.68-32-32A8,8,0,0,0,168,144v24H48a8,8,0,0,0,0,16H168v24a8,8,0,0,0,13.66,5.66l32-32A8,8,0,0,0,213.66,170.34Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212.24,171.76a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48-8.48L193.51,182H48a6,6,0,0,1,0-12H193.51l-21.75-21.76a6,6,0,0,1,8.48-8.48ZM75.76,116.24a6,6,0,0,0,8.48-8.48L62.49,86H208a6,6,0,0,0,0-12H62.49L84.24,52.24a6,6,0,0,0-8.48-8.48l-32,32a6,6,0,0,0,0,8.48Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.66,181.66l-32,32a8,8,0,0,1-11.32-11.32L188.69,184H48a8,8,0,0,1,0-16H188.69l-18.35-18.34a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,213.66,181.66Zm-139.32-64a8,8,0,0,0,11.32-11.32L67.31,88H208a8,8,0,0,0,0-16H67.31L85.66,53.66A8,8,0,0,0,74.34,42.34l-32,32a8,8,0,0,0,0,11.32Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M210.83,173.17a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L198.34,180H48a4,4,0,0,1,0-8H198.34l-25.17-25.17a4,4,0,0,1,5.66-5.66ZM77.17,114.83a4,4,0,0,0,5.66-5.66L57.66,84H208a4,4,0,0,0,0-8H57.66L82.83,50.83a4,4,0,0,0-5.66-5.66l-32,32a4,4,0,0,0,0,5.66Z"}))]]),Rk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M225.81,74.65A11.86,11.86,0,0,1,220.3,76a12,12,0,0,1-10.67-6.47,90.1,90.1,0,0,0-32-35.38,12,12,0,1,1,12.8-20.29,115.25,115.25,0,0,1,40.54,44.62A12,12,0,0,1,225.81,74.65ZM46.37,69.53a90.1,90.1,0,0,1,32-35.38A12,12,0,1,0,65.6,13.86,115.25,115.25,0,0,0,25.06,58.48a12,12,0,0,0,5.13,16.17A11.86,11.86,0,0,0,35.7,76,12,12,0,0,0,46.37,69.53Zm173.51,98.35A20,20,0,0,1,204,200H171.81a44,44,0,0,1-87.62,0H52a20,20,0,0,1-15.91-32.12c7.17-9.33,15.73-26.62,15.88-55.94A76,76,0,0,1,204,112C204.15,141.26,212.71,158.55,219.88,167.88ZM147.6,200H108.4a20,20,0,0,0,39.2,0Zm48.74-24c-8.16-13-16.19-33.57-16.34-63.94A52,52,0,1,0,76,112c-.15,30.42-8.18,51-16.34,64Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,192H48a8,8,0,0,1-6.88-12C47.71,168.6,56,147.81,56,112a72,72,0,0,1,144,0c0,35.82,8.3,56.6,14.9,68A8,8,0,0,1,208,192Z",opacity:"0.2"}),r.createElement("path",{d:"M224,71.1a8,8,0,0,1-10.78-3.42,94.13,94.13,0,0,0-33.46-36.91,8,8,0,1,1,8.54-13.54,111.46,111.46,0,0,1,39.12,43.09A8,8,0,0,1,224,71.1ZM35.71,72a8,8,0,0,0,7.1-4.32A94.13,94.13,0,0,1,76.27,30.77a8,8,0,1,0-8.54-13.54A111.46,111.46,0,0,0,28.61,60.32,8,8,0,0,0,35.71,72Zm186.1,103.94A16,16,0,0,1,208,200H167.2a40,40,0,0,1-78.4,0H48a16,16,0,0,1-13.79-24.06C43.22,160.39,48,138.28,48,112a80,80,0,0,1,160,0C208,138.27,212.78,160.38,221.81,175.94ZM150.62,200H105.38a24,24,0,0,0,45.24,0ZM208,184c-10.64-18.27-16-42.49-16-72a64,64,0,0,0-128,0c0,29.52-5.38,53.74-16,72Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,71.1a8,8,0,0,1-10.78-3.42,94.13,94.13,0,0,0-33.46-36.91,8,8,0,1,1,8.54-13.54,111.46,111.46,0,0,1,39.12,43.09A8,8,0,0,1,224,71.1ZM35.71,72a8,8,0,0,0,7.1-4.32A94.13,94.13,0,0,1,76.27,30.77a8,8,0,1,0-8.54-13.54A111.46,111.46,0,0,0,28.61,60.32,8,8,0,0,0,35.71,72Zm186.1,103.94A16,16,0,0,1,208,200H167.2a40,40,0,0,1-78.4,0H48a16,16,0,0,1-13.79-24.06C43.22,160.39,48,138.28,48,112a80,80,0,0,1,160,0C208,138.27,212.78,160.38,221.81,175.94ZM150.62,200H105.38a24,24,0,0,0,45.24,0Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M223.05,69.33A6,6,0,0,1,215,66.76,96,96,0,0,0,180.8,29.08a6,6,0,0,1,6.4-10.15,109.26,109.26,0,0,1,38.41,42.31A6,6,0,0,1,223.05,69.33ZM41,66.76A96,96,0,0,1,75.2,29.08a6,6,0,0,0-6.4-10.15A109.26,109.26,0,0,0,30.39,61.24,6,6,0,1,0,41,66.76Zm179,110.18A14,14,0,0,1,208,198h-42.5a38,38,0,0,1-75,0H48a14,14,0,0,1-12.06-21.06C45.13,161.09,50,138.63,50,112a78,78,0,0,1,156,0C206,139,210.74,160.86,220.08,176.94ZM153.29,198H102.71a26,26,0,0,0,50.58,0Zm56.42-15C199.29,165,194,141.15,194,112a66,66,0,0,0-132,0c0,29.16-5.29,53-15.71,71a2,2,0,0,0,0,2,1.9,1.9,0,0,0,1.7,1H208a1.9,1.9,0,0,0,1.7-1A2,2,0,0,0,209.71,183Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,71.1a8,8,0,0,1-10.78-3.42,94.13,94.13,0,0,0-33.46-36.91,8,8,0,1,1,8.54-13.54,111.46,111.46,0,0,1,39.12,43.09A8,8,0,0,1,224,71.1ZM35.71,72a8,8,0,0,0,7.1-4.32A94.13,94.13,0,0,1,76.27,30.77a8,8,0,1,0-8.54-13.54A111.46,111.46,0,0,0,28.61,60.32,8,8,0,0,0,35.71,72Zm186.1,103.94A16,16,0,0,1,208,200H167.2a40,40,0,0,1-78.4,0H48a16,16,0,0,1-13.79-24.06C43.22,160.39,48,138.28,48,112a80,80,0,0,1,160,0C208,138.27,212.78,160.38,221.81,175.94ZM150.62,200H105.38a24,24,0,0,0,45.24,0ZM208,184c-10.64-18.27-16-42.49-16-72a64,64,0,0,0-128,0c0,29.52-5.38,53.74-16,72Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222.13,67.55a3.94,3.94,0,0,1-1.84.45,4,4,0,0,1-3.55-2.16,99.41,99.41,0,0,0-34.87-38.46,4,4,0,1,1,4.26-6.76,107.34,107.34,0,0,1,37.71,41.54A4,4,0,0,1,222.13,67.55ZM39.26,65.84A99.41,99.41,0,0,1,74.13,27.38a4,4,0,0,0-4.26-6.76A107.34,107.34,0,0,0,32.16,62.16a4,4,0,0,0,1.71,5.39,3.94,3.94,0,0,0,1.84.45A4,4,0,0,0,39.26,65.84ZM218.36,178A12,12,0,0,1,208,196H163.77a36,36,0,0,1-71.54,0H48A12,12,0,0,1,37.64,178C47.17,161.56,52,139.37,52,112a76,76,0,0,1,152,0C204,139.36,208.83,161.55,218.36,178ZM155.71,196H100.29a28,28,0,0,0,55.42,0Zm55.73-14C201.19,164.34,196,140.79,196,112a68,68,0,0,0-136,0c0,28.8-5.19,52.34-15.44,70a4,4,0,0,0,0,4A3.89,3.89,0,0,0,48,188H208a3.89,3.89,0,0,0,3.43-2A4,4,0,0,0,211.44,182Z"}))]]),kk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,56V200H160a32,32,0,0,0-32,32,32,32,0,0,0-32-32H24V56H96a32,32,0,0,1,32,32,32,32,0,0,1,32-32Z",opacity:"0.2"}),r.createElement("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,56V200a8,8,0,0,1-8,8H160a24,24,0,0,0-24,23.94,7.9,7.9,0,0,1-5.12,7.55A8,8,0,0,1,120,232a24,24,0,0,0-24-24H24a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88a32,32,0,0,1,32,32v87.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V80a32,32,0,0,1,32-32h64A8,8,0,0,1,240,56Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.93,35.93,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68Z"}))]]),Dk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M252,124a60.14,60.14,0,0,0-32-53.08,52,52,0,0,0-92-32.11A52,52,0,0,0,36,70.92a60,60,0,0,0,0,106.14,52,52,0,0,0,92,32.13,52,52,0,0,0,92-32.13A60.05,60.05,0,0,0,252,124ZM88,204a28,28,0,0,1-26.85-20.07c1,0,1.89.07,2.85.07h8a12,12,0,0,0,0-24H64A36,36,0,0,1,52,90.05a12,12,0,0,0,8-11.32V72a28,28,0,0,1,56,0v60.18a51.61,51.61,0,0,0-7.2-3.85,12,12,0,1,0-9.6,22A28,28,0,0,1,88,204Zm104-44h-8a12,12,0,0,0,0,24h8c1,0,1.9,0,2.85-.07a28,28,0,1,1-38-33.61,12,12,0,1,0-9.6-22,51.61,51.61,0,0,0-7.2,3.85V72a28,28,0,0,1,56,0v6.73a12,12,0,0,0,8,11.32,36,36,0,0,1-12,70Zm16-44a12,12,0,0,1-12,12,40,40,0,0,1-40-40V84a12,12,0,0,1,24,0v4a16,16,0,0,0,16,16A12,12,0,0,1,208,116ZM100,88a40,40,0,0,1-40,40,12,12,0,0,1,0-24A16,16,0,0,0,76,88V84a12,12,0,0,1,24,0Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,124a48,48,0,0,1-32,45.27h0V176a40,40,0,0,1-80,0,40,40,0,0,1-80,0v-6.73h0a48,48,0,0,1,0-90.54V72a40,40,0,0,1,80,0,40,40,0,0,1,80,0v6.73A48,48,0,0,1,240,124Z",opacity:"0.2"}),r.createElement("path",{d:"M248,124a56.11,56.11,0,0,0-32-50.61V72a48,48,0,0,0-88-26.49A48,48,0,0,0,40,72v1.39a56,56,0,0,0,0,101.2V176a48,48,0,0,0,88,26.49A48,48,0,0,0,216,176v-1.41A56.09,56.09,0,0,0,248,124ZM88,208a32,32,0,0,1-31.81-28.56A55.87,55.87,0,0,0,64,180h8a8,8,0,0,0,0-16H64A40,40,0,0,1,50.67,86.27,8,8,0,0,0,56,78.73V72a32,32,0,0,1,64,0v68.26A47.8,47.8,0,0,0,88,128a8,8,0,0,0,0,16,32,32,0,0,1,0,64Zm104-44h-8a8,8,0,0,0,0,16h8a55.87,55.87,0,0,0,7.81-.56A32,32,0,1,1,168,144a8,8,0,0,0,0-16,47.8,47.8,0,0,0-32,12.26V72a32,32,0,0,1,64,0v6.73a8,8,0,0,0,5.33,7.54A40,40,0,0,1,192,164Zm16-52a8,8,0,0,1-8,8h-4a36,36,0,0,1-36-36V80a8,8,0,0,1,16,0v4a20,20,0,0,0,20,20h4A8,8,0,0,1,208,112ZM60,120H56a8,8,0,0,1,0-16h4A20,20,0,0,0,80,84V80a8,8,0,0,1,16,0v4A36,36,0,0,1,60,120Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212,76V72a44,44,0,0,0-74.86-31.31,3.93,3.93,0,0,0-1.14,2.8v88.72a4,4,0,0,0,6.2,3.33A47.67,47.67,0,0,1,167.68,128a8.18,8.18,0,0,1,8.31,7.58,8,8,0,0,1-8,8.42,32,32,0,0,0-32,32v33.88a4,4,0,0,0,1.49,3.12,47.92,47.92,0,0,0,74.21-17.16,4,4,0,0,0-4.49-5.56A68.06,68.06,0,0,1,192,192h-7.73a8.18,8.18,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h8a51.6,51.6,0,0,0,24-5.88v0A52,52,0,0,0,212,76Zm-12,36h-4a36,36,0,0,1-36-36V72a8,8,0,0,1,16,0v4a20,20,0,0,0,20,20h4a8,8,0,0,1,0,16ZM88,28A44.05,44.05,0,0,0,44,72v4a52,52,0,0,0-4,94.12h0A51.6,51.6,0,0,0,64,176h7.73A8.18,8.18,0,0,1,80,183.47,8,8,0,0,1,72,192H64a67.48,67.48,0,0,1-15.21-1.73,4,4,0,0,0-4.5,5.55A47.93,47.93,0,0,0,118.51,213a4,4,0,0,0,1.49-3.12V176a32,32,0,0,0-32-32,8,8,0,0,1-8-8.42A8.18,8.18,0,0,1,88.32,128a47.67,47.67,0,0,1,25.48,7.54,4,4,0,0,0,6.2-3.33V43.49a4,4,0,0,0-1.14-2.81A43.85,43.85,0,0,0,88,28Zm8,48a36,36,0,0,1-36,36H56a8,8,0,0,1,0-16h4A20,20,0,0,0,80,76V72a8,8,0,0,1,16,0Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M246,124a54.13,54.13,0,0,0-32-49.33V72a46,46,0,0,0-86-22.67A46,46,0,0,0,42,72v2.67a54,54,0,0,0,0,98.63V176a46,46,0,0,0,86,22.67A46,46,0,0,0,214,176v-2.7A54.07,54.07,0,0,0,246,124ZM88,210a34,34,0,0,1-34-32.94A53.67,53.67,0,0,0,64,178h8a6,6,0,0,0,0-12H64A42,42,0,0,1,50,84.39a6,6,0,0,0,4-5.66V72a34,34,0,0,1,68,0v73.05A45.89,45.89,0,0,0,88,130a6,6,0,0,0,0,12,34,34,0,0,1,0,68Zm104-44h-8a6,6,0,0,0,0,12h8a53.67,53.67,0,0,0,10-.94A34,34,0,1,1,168,142a6,6,0,0,0,0-12,45.89,45.89,0,0,0-34,15.05V72a34,34,0,0,1,68,0v6.73a6,6,0,0,0,4,5.66A42,42,0,0,1,192,166Zm14-54a6,6,0,0,1-6,6h-4a34,34,0,0,1-34-34V80a6,6,0,0,1,12,0v4a22,22,0,0,0,22,22h4A6,6,0,0,1,206,112ZM60,118H56a6,6,0,0,1,0-12h4A22,22,0,0,0,82,84V80a6,6,0,0,1,12,0v4A34,34,0,0,1,60,118Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M248,124a56.11,56.11,0,0,0-32-50.61V72a48,48,0,0,0-88-26.49A48,48,0,0,0,40,72v1.39a56,56,0,0,0,0,101.2V176a48,48,0,0,0,88,26.49A48,48,0,0,0,216,176v-1.41A56.09,56.09,0,0,0,248,124ZM88,208a32,32,0,0,1-31.81-28.56A55.87,55.87,0,0,0,64,180h8a8,8,0,0,0,0-16H64A40,40,0,0,1,50.67,86.27,8,8,0,0,0,56,78.73V72a32,32,0,0,1,64,0v68.26A47.8,47.8,0,0,0,88,128a8,8,0,0,0,0,16,32,32,0,0,1,0,64Zm104-44h-8a8,8,0,0,0,0,16h8a55.87,55.87,0,0,0,7.81-.56A32,32,0,1,1,168,144a8,8,0,0,0,0-16,47.8,47.8,0,0,0-32,12.26V72a32,32,0,0,1,64,0v6.73a8,8,0,0,0,5.33,7.54A40,40,0,0,1,192,164Zm16-52a8,8,0,0,1-8,8h-4a36,36,0,0,1-36-36V80a8,8,0,0,1,16,0v4a20,20,0,0,0,20,20h4A8,8,0,0,1,208,112ZM60,120H56a8,8,0,0,1,0-16h4A20,20,0,0,0,80,84V80a8,8,0,0,1,16,0v4A36,36,0,0,1,60,120Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M244,124a52.1,52.1,0,0,0-32-48V72a44,44,0,0,0-84-18.3A44,44,0,0,0,44,72v4a52,52,0,0,0,0,96v4a44,44,0,0,0,84,18.3A44,44,0,0,0,212,176v-4A52.07,52.07,0,0,0,244,124ZM88,212a36,36,0,0,1-36-36v-1.41A52.13,52.13,0,0,0,64,176h8a4,4,0,0,0,0-8H64A44,44,0,0,1,49.33,82.5,4,4,0,0,0,52,78.73V72a36,36,0,0,1,72,0v78.75A44,44,0,0,0,88,132a4,4,0,0,0,0,8,36,36,0,0,1,0,72Zm104-44h-8a4,4,0,0,0,0,8h8a52.13,52.13,0,0,0,12-1.41V176a36,36,0,1,1-36-36,4,4,0,0,0,0-8,44,44,0,0,0-36,18.75V72a36,36,0,0,1,72,0v6.73a4,4,0,0,0,2.67,3.77A44,44,0,0,1,192,168Zm12-56a4,4,0,0,1-4,4h-4a32,32,0,0,1-32-32V80a4,4,0,0,1,8,0v4a24,24,0,0,0,24,24h4A4,4,0,0,1,204,112ZM92,84a32,32,0,0,1-32,32H56a4,4,0,0,1,0-8h4A24,24,0,0,0,84,84V80a4,4,0,0,1,8,0Z"}))]]),Ok=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36Zm-4,24V84H44V60ZM44,196V108H212v88Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,56V96H32V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"}),r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Zm0,144H40V104H216v96Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V90H38V56A2,2,0,0,1,40,54ZM216,202H40a2,2,0,0,1-2-2V102H218v98A2,2,0,0,1,216,202Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Zm0,144H40V104H216v96Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V92H36V56A4,4,0,0,1,40,52ZM216,204H40a4,4,0,0,1-4-4V100H220V200A4,4,0,0,1,216,204Z"}))]]),Fk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,204H228V96a20,20,0,0,0-20-20H172V32a20,20,0,0,0-28.45-18.12l-104,48.54A20.06,20.06,0,0,0,28,80.55V204H16a12,12,0,0,0,0,24H240a12,12,0,0,0,0-24ZM204,100V204H172V100ZM52,83.09,148,38.3V204H52ZM132,112v12a12,12,0,0,1-24,0V112a12,12,0,0,1,24,0Zm-40,0v12a12,12,0,0,1-24,0V112a12,12,0,0,1,24,0Zm0,52v12a12,12,0,0,1-24,0V164a12,12,0,0,1,24,0Zm40,0v12a12,12,0,0,1-24,0V164a12,12,0,0,1,24,0Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M136,32V216H40V85.35a8,8,0,0,1,3.56-6.66l80-53.33A8,8,0,0,1,136,32Z",opacity:"0.2"}),r.createElement("path",{d:"M240,208H224V96a16,16,0,0,0-16-16H144V32a16,16,0,0,0-24.88-13.32L39.12,72A16,16,0,0,0,32,85.34V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM208,96V208H144V96ZM48,85.34,128,32V208H48ZM112,112v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm-32,0v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm0,56v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Zm32,0v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M239.73,208H224V96a16,16,0,0,0-16-16H164a4,4,0,0,0-4,4V208H144V32.41a16.43,16.43,0,0,0-6.16-13,16,16,0,0,0-18.72-.69L39.12,72A16,16,0,0,0,32,85.34V208H16.27A8.18,8.18,0,0,0,8,215.47,8,8,0,0,0,16,224H240a8,8,0,0,0,8-8.53A8.18,8.18,0,0,0,239.73,208ZM76,184a8,8,0,0,1-8.53,8A8.18,8.18,0,0,1,60,183.72V168.27A8.19,8.19,0,0,1,67.47,160,8,8,0,0,1,76,168Zm0-56a8,8,0,0,1-8.53,8A8.19,8.19,0,0,1,60,127.72V112.27A8.19,8.19,0,0,1,67.47,104,8,8,0,0,1,76,112Zm40,56a8,8,0,0,1-8.53,8,8.18,8.18,0,0,1-7.47-8.26V168.27a8.19,8.19,0,0,1,7.47-8.26,8,8,0,0,1,8.53,8Zm0-56a8,8,0,0,1-8.53,8,8.19,8.19,0,0,1-7.47-8.26V112.27a8.19,8.19,0,0,1,7.47-8.26,8,8,0,0,1,8.53,8Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,210H222V96a14,14,0,0,0-14-14H142V32a14,14,0,0,0-21.77-11.64l-80,53.33A14,14,0,0,0,34,85.34V210H16a6,6,0,0,0,0,12H240a6,6,0,0,0,0-12ZM208,94a2,2,0,0,1,2,2V210H142V94ZM46,85.34a2,2,0,0,1,.89-1.66l80-53.34A2,2,0,0,1,130,32V210H46ZM110,112v16a6,6,0,0,1-12,0V112a6,6,0,0,1,12,0Zm-32,0v16a6,6,0,0,1-12,0V112a6,6,0,0,1,12,0Zm0,56v16a6,6,0,0,1-12,0V168a6,6,0,0,1,12,0Zm32,0v16a6,6,0,0,1-12,0V168a6,6,0,0,1,12,0Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,208H224V96a16,16,0,0,0-16-16H144V32a16,16,0,0,0-24.88-13.32L39.12,72A16,16,0,0,0,32,85.34V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM208,96V208H144V96ZM48,85.34,128,32V208H48ZM112,112v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm-32,0v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm0,56v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Zm32,0v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,212H220V96a12,12,0,0,0-12-12H140V32a12,12,0,0,0-18.66-10l-80,53.33a12,12,0,0,0-5.34,10V212H16a4,4,0,0,0,0,8H240a4,4,0,0,0,0-8ZM208,92a4,4,0,0,1,4,4V212H140V92ZM44,85.34A4,4,0,0,1,45.78,82l80-53.33A4,4,0,0,1,132,32V212H44ZM108,112v16a4,4,0,0,1-8,0V112a4,4,0,0,1,8,0Zm-32,0v16a4,4,0,0,1-8,0V112a4,4,0,0,1,8,0Zm0,56v16a4,4,0,0,1-8,0V168a4,4,0,0,1,8,0Zm32,0v16a4,4,0,0,1-8,0V168a4,4,0,0,1,8,0Z"}))]]),qk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),r.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,48H48V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Z"}))]]),zk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Zm60-80v56a12,12,0,0,1-24,0V143.32a12,12,0,0,1-9.37-22l16-8A12,12,0,0,1,112,124Zm61.49,33.88L163.9,168H168a12,12,0,0,1,0,24H136a12,12,0,0,1-8.71-20.25L155.45,142a4,4,0,0,0,.55-2,4,4,0,0,0-7.47-2,12,12,0,0,1-20.78-12A28,28,0,0,1,180,140a27.77,27.77,0,0,1-5.64,16.86A10.63,10.63,0,0,1,173.49,157.88Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),r.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM112,184a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm56-8a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136a23.76,23.76,0,0,1-4.84,14.45L152,176ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Zm-98-90v64a6,6,0,0,1-12,0V129.71l-7.32,3.66a6,6,0,1,1-5.36-10.74l16-8A6,6,0,0,1,110,120Zm59.57,29.25L148,178h20a6,6,0,0,1,0,12H136a6,6,0,0,1-4.8-9.6L160,142a10,10,0,1,0-16.65-11A6,6,0,1,1,133,125a22,22,0,1,1,36.62,24.26Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212ZM108,120v64a4,4,0,0,1-8,0V126.47l-10.21,5.11a4,4,0,0,1-3.58-7.16l16-8A4,4,0,0,1,108,120Zm60,28-24,32h24a4,4,0,0,1,0,8H136a4,4,0,0,1-3.2-6.4l28.78-38.37A11.88,11.88,0,0,0,164,136a12,12,0,0,0-22.4-6,4,4,0,0,1-6.92-4A20,20,0,0,1,172,136,19.79,19.79,0,0,1,168,148Z"}))]]),Bk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Zm120.49-84.49a12,12,0,0,1,0,17l-48,48a12,12,0,0,1-17,0l-24-24a12,12,0,0,1,17-17L116,159l39.51-39.52A12,12,0,0,1,172.49,119.51Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),r.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-38.34-85.66a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L116,164.69l42.34-42.35A8,8,0,0,1,169.66,122.34Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM169.66,133.66l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L116,164.69l42.34-42.35a8,8,0,0,1,11.32,11.32ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Zm-39.76-86.24a6,6,0,0,1,0,8.48l-48,48a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L116,167.51l43.76-43.75A6,6,0,0,1,168.24,123.76Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-38.34-85.66a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L116,164.69l42.34-42.35A8,8,0,0,1,169.66,122.34Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Zm-41.17-86.83a4,4,0,0,1,0,5.66l-48,48a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L116,170.34l45.17-45.17A4,4,0,0,1,166.83,125.17Z"}))]]),$k=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,52H182.42L170,33.34A12,12,0,0,0,160,28H96a12,12,0,0,0-10,5.34L73.57,52H48A28,28,0,0,0,20,80V192a28,28,0,0,0,28,28H208a28,28,0,0,0,28-28V80A28,28,0,0,0,208,52Zm4,140a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4H80a12,12,0,0,0,10-5.34L102.42,52h51.15L166,70.66A12,12,0,0,0,176,76h32a4,4,0,0,1,4,4ZM128,84a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,84Zm0,72a24,24,0,1,1,24-24A24,24,0,0,1,128,156Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,64H176L160,40H96L80,64H48A16,16,0,0,0,32,80V192a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V80A16,16,0,0,0,208,64ZM128,168a36,36,0,1,1,36-36A36,36,0,0,1,128,168Z",opacity:"0.2"}),r.createElement("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm-44,76a36,36,0,1,1-36-36A36,36,0,0,1,164,132Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,58H179.21L165,36.67A6,6,0,0,0,160,34H96a6,6,0,0,0-5,2.67L76.78,58H48A22,22,0,0,0,26,80V192a22,22,0,0,0,22,22H208a22,22,0,0,0,22-22V80A22,22,0,0,0,208,58Zm10,134a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V80A10,10,0,0,1,48,70H80a6,6,0,0,0,5-2.67L99.21,46h57.57L171,67.33A6,6,0,0,0,176,70h32a10,10,0,0,1,10,10ZM128,90a42,42,0,1,0,42,42A42,42,0,0,0,128,90Zm0,72a30,30,0,1,1,30-30A30,30,0,0,1,128,162Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,60H178.13L163.32,37.78A4,4,0,0,0,160,36H96a4,4,0,0,0-3.32,1.78L77.85,60H48A20,20,0,0,0,28,80V192a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V80A20,20,0,0,0,208,60Zm12,132a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V80A12,12,0,0,1,48,68H80a4,4,0,0,0,3.33-1.78L98.13,44h59.72l14.82,22.22A4,4,0,0,0,176,68h32a12,12,0,0,1,12,12ZM128,92a40,40,0,1,0,40,40A40,40,0,0,0,128,92Zm0,72a32,32,0,1,1,32-32A32,32,0,0,1,128,164Z"}))]]),Uk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),r.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),Ik=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),r.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),Pk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,160H48l80-80Z",opacity:"0.2"}),r.createElement("path",{d:"M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z"}))]]),Gk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,196h-4V40a12,12,0,0,0-12-12H152a12,12,0,0,0-12,12V76H96A12,12,0,0,0,84,88v36H48a12,12,0,0,0-12,12v60H32a12,12,0,0,0,0,24H224a12,12,0,0,0,0-24ZM164,52h32V196H164Zm-56,48h32v96H108ZM60,148H84v48H60Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,40V208H152V40Z",opacity:"0.2"}),r.createElement("path",{d:"M224,200h-8V40a8,8,0,0,0-8-8H152a8,8,0,0,0-8,8V80H96a8,8,0,0,0-8,8v40H48a8,8,0,0,0-8,8v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16ZM160,48h40V200H160ZM104,96h40V200H104ZM56,144H88v56H56Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1,0-16h8V136a8,8,0,0,1,8-8H72a8,8,0,0,1,8,8v64H96V88a8,8,0,0,1,8-8h32a8,8,0,0,1,8,8V200h16V40a8,8,0,0,1,8-8h40a8,8,0,0,1,8,8V200h8A8,8,0,0,1,232,208Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,202H214V40a6,6,0,0,0-6-6H152a6,6,0,0,0-6,6V82H96a6,6,0,0,0-6,6v42H48a6,6,0,0,0-6,6v66H32a6,6,0,0,0,0,12H224a6,6,0,0,0,0-12ZM158,46h44V202H158ZM102,94h44V202H102ZM54,142H90v60H54Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,200h-8V40a8,8,0,0,0-8-8H152a8,8,0,0,0-8,8V80H96a8,8,0,0,0-8,8v40H48a8,8,0,0,0-8,8v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16ZM160,48h40V200H160ZM104,96h40V200H104ZM56,144H88v56H56Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,204H212V40a4,4,0,0,0-4-4H152a4,4,0,0,0-4,4V84H96a4,4,0,0,0-4,4v44H48a4,4,0,0,0-4,4v68H32a4,4,0,0,0,0,8H224a4,4,0,0,0,0-8ZM156,44h48V204H156ZM100,92h48V204H100ZM52,140H92v64H52Z"}))]]),Yk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236,208a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V48a12,12,0,0,1,24,0v99l43.51-43.52a12,12,0,0,1,17,0L128,127l43-43H160a12,12,0,0,1,0-24h40a12,12,0,0,1,12,12v40a12,12,0,0,1-24,0V101l-51.51,51.52a12,12,0,0,1-17,0L96,129,44,181v15H224A12,12,0,0,1,236,208Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,64V208H32V48H208A16,16,0,0,1,224,64Z",opacity:"0.2"}),r.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V48a8,8,0,0,1,16,0V156.69l50.34-50.35a8,8,0,0,1,11.32,0L128,132.69,180.69,80H160a8,8,0,0,1,0-16h40a8,8,0,0,1,8,8v40a8,8,0,0,1-16,0V91.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31l-56,56V200H224A8,8,0,0,1,232,208Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM200,192H56a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v76.69l34.34-34.35a8,8,0,0,1,11.32,0L128,132.69,172.69,88H144a8,8,0,0,1,0-16h48a8,8,0,0,1,8,8v48a8,8,0,0,1-16,0V99.31l-50.34,50.35a8,8,0,0,1-11.32,0L104,131.31l-40,40V176H200a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230,208a6,6,0,0,1-6,6H32a6,6,0,0,1-6-6V48a6,6,0,0,1,12,0V161.52l53.76-53.76a6,6,0,0,1,8.48,0L128,135.51,185.52,78H160a6,6,0,0,1,0-12h40a6,6,0,0,1,6,6v40a6,6,0,0,1-12,0V86.48l-61.76,61.76a6,6,0,0,1-8.48,0L96,120.49l-58,58V202H224A6,6,0,0,1,230,208Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V48a8,8,0,0,1,16,0V156.69l50.34-50.35a8,8,0,0,1,11.32,0L128,132.69,180.69,80H160a8,8,0,0,1,0-16h40a8,8,0,0,1,8,8v40a8,8,0,0,1-16,0V91.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31l-56,56V200H224A8,8,0,0,1,232,208Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,208a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V48a4,4,0,0,1,8,0V166.34l57.17-57.17a4,4,0,0,1,5.66,0L128,138.34,190.34,76H160a4,4,0,0,1,0-8h40a4,4,0,0,1,4,4v40a4,4,0,0,1-8,0V81.66l-65.17,65.17a4,4,0,0,1-5.66,0L96,117.66l-60,60V204H224A4,4,0,0,1,228,208Z"}))]]),Kk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,20A108,108,0,0,0,31.85,177.23L21,209.66A20,20,0,0,0,46.34,235l32.43-10.81A108,108,0,1,0,128,20Zm0,192a84,84,0,0,1-42.06-11.27,12,12,0,0,0-6-1.62,12.1,12.1,0,0,0-3.8.62l-29.79,9.93,9.93-29.79a12,12,0,0,0-1-9.81A84,84,0,1,1,128,212Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-6.54-.67L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,128A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,26A102,102,0,0,0,38.35,176.69L26.73,211.56a14,14,0,0,0,17.71,17.71l34.87-11.62A102,102,0,1,0,128,26Zm0,192a90,90,0,0,1-45.06-12.08,6.09,6.09,0,0,0-3-.81,6.2,6.2,0,0,0-1.9.31L40.65,217.88a2,2,0,0,1-2.53-2.53L50.58,178a6,6,0,0,0-.5-4.91A90,90,0,1,1,128,218Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-6.54-.67L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,28A100,100,0,0,0,40.53,176.5l-11.9,35.69a12,12,0,0,0,15.18,15.18l35.69-11.9A100,100,0,1,0,128,28Zm0,192a92,92,0,0,1-46.07-12.35,4.05,4.05,0,0,0-2-.54,3.93,3.93,0,0,0-1.27.21L41.28,219.78a4,4,0,0,1-5.06-5.06l12.46-37.38a4,4,0,0,0-.33-3.27A92,92,0,1,1,128,220Z"}))]]),Xk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M120,128a16,16,0,1,1-16-16A16,16,0,0,1,120,128Zm32-16a16,16,0,1,0,16,16A16,16,0,0,0,152,112Zm84,16A108,108,0,0,1,78.77,224.15L46.34,235A20,20,0,0,1,21,209.66l10.81-32.43A108,108,0,1,1,236,128Zm-24,0A84,84,0,1,0,55.27,170.06a12,12,0,0,1,1,9.81l-9.93,29.79,29.79-9.93a12.1,12.1,0,0,1,3.8-.62,12,12,0,0,1,6,1.62A84,84,0,0,0,212,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-4-1.08,7.85,7.85,0,0,0-2.53.42L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Zm12-88a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Zm88,0a12,12,0,1,1-12-12A12,12,0,0,1,184,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24ZM84,140a12,12,0,1,1,12-12A12,12,0,0,1,84,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,172,140Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM84,118a10,10,0,1,0,10,10A10,10,0,0,0,84,118Zm88,0a10,10,0,1,0,10,10A10,10,0,0,0,172,118Zm58,10A102,102,0,0,1,79.31,217.65L44.44,229.27a14,14,0,0,1-17.71-17.71l11.62-34.87A102,102,0,1,1,230,128Zm-12,0A90,90,0,1,0,50.08,173.06a6,6,0,0,1,.5,4.91L38.12,215.35a2,2,0,0,0,2.53,2.53L78,205.42a6.2,6.2,0,0,1,1.9-.31,6.09,6.09,0,0,1,3,.81A90,90,0,0,0,218,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM84,116a12,12,0,1,0,12,12A12,12,0,0,0,84,116Zm88,0a12,12,0,1,0,12,12A12,12,0,0,0,172,116Zm60,12A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-16,0A88,88,0,1,0,51.81,172.06a8,8,0,0,1,.66,6.54L40,216,77.4,203.53a7.85,7.85,0,0,1,2.53-.42,8,8,0,0,1,4,1.08A88,88,0,0,0,216,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-52-8a8,8,0,1,0,8,8A8,8,0,0,0,84,120Zm88,0a8,8,0,1,0,8,8A8,8,0,0,0,172,120Zm56,8A100,100,0,0,1,79.5,215.47l-35.69,11.9a12,12,0,0,1-15.18-15.18l11.9-35.69A100,100,0,1,1,228,128Zm-8,0A92,92,0,1,0,48.35,174.07a4,4,0,0,1,.33,3.27L36.22,214.72a4,4,0,0,0,5.06,5.06l37.38-12.46a3.93,3.93,0,0,1,1.27-.21,4.05,4.05,0,0,1,2,.54A92,92,0,0,0,220,128Z"}))]]),Qk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),r.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),Jk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),Wk=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z"}))]]),eD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M172,164a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,164Zm-12-52H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24Zm60-64V216a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V48A20,20,0,0,1,56,28H90.53a51.88,51.88,0,0,1,74.94,0H200A20,20,0,0,1,220,48ZM100.29,60h55.42a28,28,0,0,0-55.42,0ZM196,52H178.59A52.13,52.13,0,0,1,180,64v8a12,12,0,0,1-12,12H88A12,12,0,0,1,76,72V64a52.13,52.13,0,0,1,1.41-12H60V212H196Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,48V216a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H96a39.83,39.83,0,0,0-8,24v8h80V64a39.83,39.83,0,0,0-8-24h40A8,8,0,0,1,208,48Z",opacity:"0.2"}),r.createElement("path",{d:"M168,152a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,152Zm-8-40H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm56-64V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V48A16,16,0,0,1,56,32H92.26a47.92,47.92,0,0,1,71.48,0H200A16,16,0,0,1,216,48ZM96,64h64a32,32,0,0,0-64,0ZM200,48H173.25A47.93,47.93,0,0,1,176,64v8a8,8,0,0,1-8,8H88a8,8,0,0,1-8-8V64a47.93,47.93,0,0,1,2.75-16H56V216H200Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,32H163.74a47.92,47.92,0,0,0-71.48,0H56A16,16,0,0,0,40,48V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm-72,0a32,32,0,0,1,32,32H96A32,32,0,0,1,128,32Zm32,128H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M166,152a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,152Zm-6-38H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm54-66V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V48A14,14,0,0,1,56,34H93.17a45.91,45.91,0,0,1,69.66,0H200A14,14,0,0,1,214,48ZM94,64v2h68V64a34,34,0,0,0-68,0ZM202,48a2,2,0,0,0-2-2H170.33A45.77,45.77,0,0,1,174,64v8a6,6,0,0,1-6,6H88a6,6,0,0,1-6-6V64a45.77,45.77,0,0,1,3.67-18H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200a2,2,0,0,0,2-2Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,152a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,152Zm-8-40H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm56-64V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V48A16,16,0,0,1,56,32H92.26a47.92,47.92,0,0,1,71.48,0H200A16,16,0,0,1,216,48ZM96,64h64a32,32,0,0,0-64,0ZM200,48H173.25A47.93,47.93,0,0,1,176,64v8a8,8,0,0,1-8,8H88a8,8,0,0,1-8-8V64a47.93,47.93,0,0,1,2.75-16H56V216H200Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z"}))]]),tD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z"}))]]),aD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M140,80v41.21l34.17,20.5a12,12,0,1,1-12.34,20.58l-40-24A12,12,0,0,1,116,128V80a12,12,0,0,1,24,0ZM128,28A99.38,99.38,0,0,0,57.24,57.34c-4.69,4.74-9,9.37-13.24,14V64a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H72a12,12,0,0,0,0-24H57.77C63,86,68.37,80.22,74.26,74.26a76,76,0,1,1,1.58,109,12,12,0,0,0-16.48,17.46A100,100,0,1,0,128,28Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),r.createElement("path",{d:"M136,80v43.47l36.12,21.67a8,8,0,0,1-8.24,13.72l-40-24A8,8,0,0,1,120,128V80a8,8,0,0,1,16,0Zm-8-48A95.44,95.44,0,0,0,60.08,60.15C52.81,67.51,46.35,74.59,40,82V64a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H72a8,8,0,0,0,0-16H49c7.15-8.42,14.27-16.35,22.39-24.57a80,80,0,1,1,1.66,114.75,8,8,0,1,0-11,11.64A96,96,0,1,0,128,32Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128A96,96,0,0,1,62.11,197.82a8,8,0,1,1,11-11.64A80,80,0,1,0,71.43,71.43C67.9,75,64.58,78.51,61.35,82L77.66,98.34A8,8,0,0,1,72,112H32a8,8,0,0,1-8-8V64a8,8,0,0,1,13.66-5.66L50,70.7c3.22-3.49,6.54-7,10.06-10.55A96,96,0,0,1,224,128ZM128,72a8,8,0,0,0-8,8v48a8,8,0,0,0,3.88,6.86l40,24a8,8,0,1,0,8.24-13.72L136,123.47V80A8,8,0,0,0,128,72Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M134,80v44.6l37.09,22.25a6,6,0,0,1-6.18,10.3l-40-24A6,6,0,0,1,122,128V80a6,6,0,0,1,12,0Zm-6-46A93.4,93.4,0,0,0,61.51,61.56c-8.58,8.68-16,17-23.51,25.8V64a6,6,0,0,0-12,0v40a6,6,0,0,0,6,6H72a6,6,0,0,0,0-12H44.73C52.86,88.29,60.79,79.35,70,70a82,82,0,1,1,1.7,117.62,6,6,0,1,0-8.24,8.72A94,94,0,1,0,128,34Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M136,80v43.47l36.12,21.67a8,8,0,0,1-8.24,13.72l-40-24A8,8,0,0,1,120,128V80a8,8,0,0,1,16,0Zm-8-48A95.44,95.44,0,0,0,60.08,60.15C52.81,67.51,46.35,74.59,40,82V64a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H72a8,8,0,0,0,0-16H49c7.15-8.42,14.27-16.35,22.39-24.57a80,80,0,1,1,1.66,114.75,8,8,0,1,0-11,11.64A96,96,0,1,0,128,32Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M132,80v45.74l38.06,22.83a4,4,0,0,1-4.12,6.86l-40-24A4,4,0,0,1,124,128V80a4,4,0,0,1,8,0Zm-4-44A91.42,91.42,0,0,0,62.93,63C53.05,73,44.66,82.47,36,92.86V64a4,4,0,0,0-8,0v40a4,4,0,0,0,4,4H72a4,4,0,0,0,0-8H40.47C49.61,89,58.3,79,68.6,68.6a84,84,0,1,1,1.75,120.49,4,4,0,1,0-5.5,5.82A92,92,0,1,0,128,36Z"}))]]),nD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,116h-4.72A100.21,100.21,0,0,0,140,28.72V24a12,12,0,0,0-24,0v4.72A100.21,100.21,0,0,0,28.72,116H24a12,12,0,0,0,0,24h4.72A100.21,100.21,0,0,0,116,227.28V232a12,12,0,0,0,24,0v-4.72A100.21,100.21,0,0,0,227.28,140H232a12,12,0,0,0,0-24Zm-92,87v-3a12,12,0,0,0-24,0v3a76.15,76.15,0,0,1-63-63h3a12,12,0,0,0,0-24H53a76.15,76.15,0,0,1,63-63v3a12,12,0,0,0,24,0V53a76.15,76.15,0,0,1,63,63h-3a12,12,0,0,0,0,24h3A76.15,76.15,0,0,1,140,203ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M160,128a32,32,0,1,1-32-32A32,32,0,0,1,160,128Z",opacity:"0.2"}),r.createElement("path",{d:"M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-96,87.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16h7.6A80.15,80.15,0,0,1,136,207.6ZM128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-32,16h7.6A80.15,80.15,0,0,1,136,207.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16Zm-32-8a40,40,0,1,1-40-40A40,40,0,0,1,168,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,122H221.8A94.13,94.13,0,0,0,134,34.2V24a6,6,0,0,0-12,0V34.2A94.13,94.13,0,0,0,34.2,122H24a6,6,0,0,0,0,12H34.2A94.13,94.13,0,0,0,122,221.8V232a6,6,0,0,0,12,0V221.8A94.13,94.13,0,0,0,221.8,134H232a6,6,0,0,0,0-12Zm-98,87.76V200a6,6,0,0,0-12,0v9.76A82.09,82.09,0,0,1,46.24,134H56a6,6,0,0,0,0-12H46.24A82.09,82.09,0,0,1,122,46.24V56a6,6,0,0,0,12,0V46.24A82.09,82.09,0,0,1,209.76,122H200a6,6,0,0,0,0,12h9.76A82.09,82.09,0,0,1,134,209.76ZM128,90a38,38,0,1,0,38,38A38,38,0,0,0,128,90Zm0,64a26,26,0,1,1,26-26A26,26,0,0,1,128,154Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-96,87.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16h7.6A80.15,80.15,0,0,1,136,207.6ZM128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,124H219.91A92.13,92.13,0,0,0,132,36.09V24a4,4,0,0,0-8,0V36.09A92.13,92.13,0,0,0,36.09,124H24a4,4,0,0,0,0,8H36.09A92.13,92.13,0,0,0,124,219.91V232a4,4,0,0,0,8,0V219.91A92.13,92.13,0,0,0,219.91,132H232a4,4,0,0,0,0-8ZM132,211.9V200a4,4,0,0,0-8,0v11.9A84.11,84.11,0,0,1,44.1,132H56a4,4,0,0,0,0-8H44.1A84.11,84.11,0,0,1,124,44.1V56a4,4,0,0,0,8,0V44.1A84.11,84.11,0,0,1,211.9,124H200a4,4,0,0,0,0,8h11.9A84.11,84.11,0,0,1,132,211.9ZM128,92a36,36,0,1,0,36,36A36,36,0,0,0,128,92Zm0,64a28,28,0,1,1,28-28A28,28,0,0,1,128,156Z"}))]]),rD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,128,115.4,56,76ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l72-39.4v76.65Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.16a8,8,0,0,1-4.16-7V80.2a8,8,0,0,1,.7-3.27Z",opacity:"0.2"}),r.createElement("path",{d:"M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,120,47.65,76,128,32l80.35,44Zm8,99.64V133.83l80-43.78v85.76Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222.72,67.9l-88-48.17a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.9ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,128,122.24,43.49,76ZM39,177.57a2,2,0,0,1-1-1.75V86.66l84,46V223Zm177.92,0L134,223V132.64l84-46v89.16A2,2,0,0,1,217,177.57Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,128,124.52,39.33,76Zm-88,150.83A4,4,0,0,1,36,175.82V83.29l88,48.16v94.91Zm179.84,0-85.92,47V131.45l88-48.16v92.53A4,4,0,0,1,217.92,179.32Z"}))]]),sD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M152,116H140V60h4a28,28,0,0,1,28,28,12,12,0,0,0,24,0,52.06,52.06,0,0,0-52-52h-4V24a12,12,0,0,0-24,0V36h-4a52,52,0,0,0,0,104h4v56H104a28,28,0,0,1-28-28,12,12,0,0,0-24,0,52.06,52.06,0,0,0,52,52h12v12a12,12,0,0,0,24,0V220h12a52,52,0,0,0,0-104Zm-40,0a28,28,0,0,1,0-56h4v56Zm40,80H140V140h12a28,28,0,0,1,0,56Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M192,168a40,40,0,0,1-40,40H128V128h24A40,40,0,0,1,192,168ZM112,48a40,40,0,0,0,0,80h16V48Z",opacity:"0.2"}),r.createElement("path",{d:"M152,120H136V56h8a32,32,0,0,1,32,32,8,8,0,0,0,16,0,48.05,48.05,0,0,0-48-48h-8V24a8,8,0,0,0-16,0V40h-8a48,48,0,0,0,0,96h8v64H104a32,32,0,0,1-32-32,8,8,0,0,0-16,0,48.05,48.05,0,0,0,48,48h16v16a8,8,0,0,0,16,0V216h16a48,48,0,0,0,0-96Zm-40,0a32,32,0,0,1,0-64h8v64Zm40,80H136V136h16a32,32,0,0,1,0,64Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M160,152a16,16,0,0,1-16,16h-8V136h8A16,16,0,0,1,160,152Zm72-24A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-56,24a32,32,0,0,0-32-32h-8V88h4a16,16,0,0,1,16,16,8,8,0,0,0,16,0,32,32,0,0,0-32-32h-4V64a8,8,0,0,0-16,0v8h-4a32,32,0,0,0,0,64h4v32h-8a16,16,0,0,1-16-16,8,8,0,0,0-16,0,32,32,0,0,0,32,32h8v8a8,8,0,0,0,16,0v-8h8A32,32,0,0,0,176,152Zm-76-48a16,16,0,0,0,16,16h4V88h-4A16,16,0,0,0,100,104Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M152,122H134V54h10a34,34,0,0,1,34,34,6,6,0,0,0,12,0,46.06,46.06,0,0,0-46-46H134V24a6,6,0,0,0-12,0V42H112a46,46,0,0,0,0,92h10v68H104a34,34,0,0,1-34-34,6,6,0,0,0-12,0,46.06,46.06,0,0,0,46,46h18v18a6,6,0,0,0,12,0V214h18a46,46,0,0,0,0-92Zm-40,0a34,34,0,0,1,0-68h10v68Zm40,80H134V134h18a34,34,0,0,1,0,68Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M152,120H136V56h8a32,32,0,0,1,32,32,8,8,0,0,0,16,0,48.05,48.05,0,0,0-48-48h-8V24a8,8,0,0,0-16,0V40h-8a48,48,0,0,0,0,96h8v64H104a32,32,0,0,1-32-32,8,8,0,0,0-16,0,48.05,48.05,0,0,0,48,48h16v16a8,8,0,0,0,16,0V216h16a48,48,0,0,0,0-96Zm-40,0a32,32,0,0,1,0-64h8v64Zm40,80H136V136h16a32,32,0,0,1,0,64Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M152,124H132V52h12a36,36,0,0,1,36,36,4,4,0,0,0,8,0,44.05,44.05,0,0,0-44-44H132V24a4,4,0,0,0-8,0V44H112a44,44,0,0,0,0,88h12v72H104a36,36,0,0,1-36-36,4,4,0,0,0-8,0,44.05,44.05,0,0,0,44,44h20v20a4,4,0,0,0,8,0V212h20a44,44,0,0,0,0-88Zm-40,0a36,36,0,0,1,0-72h12v72Zm40,80H132V132h20a36,36,0,0,1,0,72Z"}))]]),lD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M108,60A16,16,0,1,1,92,44,16,16,0,0,1,108,60Zm56,16a16,16,0,1,0-16-16A16,16,0,0,0,164,76ZM92,112a16,16,0,1,0,16,16A16,16,0,0,0,92,112Zm72,0a16,16,0,1,0,16,16A16,16,0,0,0,164,112ZM92,180a16,16,0,1,0,16,16A16,16,0,0,0,92,180Zm72,0a16,16,0,1,0,16,16A16,16,0,0,0,164,180Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32V224a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V32A16,16,0,0,1,64,16H192A16,16,0,0,1,208,32Z",opacity:"0.2"}),r.createElement("path",{d:"M104,60A12,12,0,1,1,92,48,12,12,0,0,1,104,60Zm60,12a12,12,0,1,0-12-12A12,12,0,0,0,164,72ZM92,116a12,12,0,1,0,12,12A12,12,0,0,0,92,116Zm72,0a12,12,0,1,0,12,12A12,12,0,0,0,164,116ZM92,184a12,12,0,1,0,12,12A12,12,0,0,0,92,184Zm72,0a12,12,0,1,0,12,12A12,12,0,0,0,164,184Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M192,16H64A16,16,0,0,0,48,32V224a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V32A16,16,0,0,0,192,16ZM100,200a12,12,0,1,1,12-12A12,12,0,0,1,100,200Zm0-60a12,12,0,1,1,12-12A12,12,0,0,1,100,140Zm0-60a12,12,0,1,1,12-12A12,12,0,0,1,100,80Zm56,120a12,12,0,1,1,12-12A12,12,0,0,1,156,200Zm0-60a12,12,0,1,1,12-12A12,12,0,0,1,156,140Zm0-60a12,12,0,1,1,12-12A12,12,0,0,1,156,80Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M102,60A10,10,0,1,1,92,50,10,10,0,0,1,102,60Zm62,10a10,10,0,1,0-10-10A10,10,0,0,0,164,70ZM92,118a10,10,0,1,0,10,10A10,10,0,0,0,92,118Zm72,0a10,10,0,1,0,10,10A10,10,0,0,0,164,118ZM92,186a10,10,0,1,0,10,10A10,10,0,0,0,92,186Zm72,0a10,10,0,1,0,10,10A10,10,0,0,0,164,186Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M104,60A12,12,0,1,1,92,48,12,12,0,0,1,104,60Zm60,12a12,12,0,1,0-12-12A12,12,0,0,0,164,72ZM92,116a12,12,0,1,0,12,12A12,12,0,0,0,92,116Zm72,0a12,12,0,1,0,12,12A12,12,0,0,0,164,116ZM92,184a12,12,0,1,0,12,12A12,12,0,0,0,92,184Zm72,0a12,12,0,1,0,12,12A12,12,0,0,0,164,184Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M100,60a8,8,0,1,1-8-8A8,8,0,0,1,100,60Zm64,8a8,8,0,1,0-8-8A8,8,0,0,0,164,68ZM92,120a8,8,0,1,0,8,8A8,8,0,0,0,92,120Zm72,0a8,8,0,1,0,8,8A8,8,0,0,0,164,120ZM92,188a8,8,0,1,0,8,8A8,8,0,0,0,92,188Zm72,0a8,8,0,1,0,8,8A8,8,0,0,0,164,188Z"}))]]),iD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M71.51,88.49a12,12,0,0,1,17-17L116,99V24a12,12,0,0,1,24,0V99l27.51-27.52a12,12,0,0,1,17,17l-48,48a12,12,0,0,1-17,0ZM224,116H188a12,12,0,0,0,0,24h32v56H36V140H68a12,12,0,0,0,0-24H32a20,20,0,0,0-20,20v64a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V136A20,20,0,0,0,224,116Zm-20,52a16,16,0,1,0-16,16A16,16,0,0,0,204,168Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,136v64a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V136a8,8,0,0,1,8-8H224A8,8,0,0,1,232,136Z",opacity:"0.2"}),r.createElement("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M74.34,85.66A8,8,0,0,1,85.66,74.34L120,108.69V24a8,8,0,0,1,16,0v84.69l34.34-34.35a8,8,0,0,1,11.32,11.32l-48,48a8,8,0,0,1-11.32,0ZM240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H84.4a4,4,0,0,1,2.83,1.17L111,145A24,24,0,0,0,145,145l23.8-23.8A4,4,0,0,1,171.6,120H224A16,16,0,0,1,240,136Zm-40,32a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M238,136v64a14,14,0,0,1-14,14H32a14,14,0,0,1-14-14V136a14,14,0,0,1,14-14H72a6,6,0,0,1,0,12H32a2,2,0,0,0-2,2v64a2,2,0,0,0,2,2H224a2,2,0,0,0,2-2V136a2,2,0,0,0-2-2H184a6,6,0,0,1,0-12h40A14,14,0,0,1,238,136Zm-114.24-3.76a6,6,0,0,0,8.48,0l48-48a6,6,0,0,0-8.48-8.48L134,113.51V24a6,6,0,0,0-12,0v89.51L84.24,75.76a6,6,0,0,0-8.48,8.48ZM198,168a10,10,0,1,0-10,10A10,10,0,0,0,198,168Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236,136v64a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V136a12,12,0,0,1,12-12H72a4,4,0,0,1,0,8H32a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H224a4,4,0,0,0,4-4V136a4,4,0,0,0-4-4H184a4,4,0,0,1,0-8h40A12,12,0,0,1,236,136Zm-110.83-5.17a4,4,0,0,0,5.66,0l48-48a4,4,0,1,0-5.66-5.66L132,118.34V24a4,4,0,0,0-8,0v94.34L82.83,77.17a4,4,0,0,0-5.66,5.66ZM196,168a8,8,0,1,0-8,8A8,8,0,0,0,196,168Z"}))]]),oD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,152H48a20,20,0,0,0-20,20v20a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V172A20,20,0,0,0,208,152Zm-4,36H52V176H204ZM48.27,136H207.73a20.27,20.27,0,0,0,14.61-34.3L148.58,24.78a28.51,28.51,0,0,0-41.16,0L33.66,101.7A20.27,20.27,0,0,0,48.27,136Zm76.48-94.61a4.49,4.49,0,0,1,6.5,0L199,112H57Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,168v24a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V168a8,8,0,0,1,8-8H208A8,8,0,0,1,216,168ZM48.23,128H207.77c7.16,0,10.89-8.27,6-13.37l-73.74-77.5a16.76,16.76,0,0,0-24.14,0l-73.74,77.5C37.34,119.73,41.07,128,48.23,128Z",opacity:"0.2"}),r.createElement("path",{d:"M208,152H48a16,16,0,0,0-16,16v24a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V168A16,16,0,0,0,208,152Zm0,40H48V168H208ZM48.24,136H207.76a16.18,16.18,0,0,0,14.93-9.76,15.59,15.59,0,0,0-3.1-17.12L145.86,31.61a24.76,24.76,0,0,0-35.72,0L36.41,109.12h0a15.59,15.59,0,0,0-3.1,17.12A16.18,16.18,0,0,0,48.24,136Zm73.49-93.36a8.77,8.77,0,0,1,12.54,0L207.85,120H48.14Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M33.31,126.24a15.59,15.59,0,0,1,3.1-17.12h0l73.73-77.51a24.76,24.76,0,0,1,35.72,0l73.73,77.51a15.59,15.59,0,0,1,3.1,17.12A16.18,16.18,0,0,1,207.76,136H48.24A16.18,16.18,0,0,1,33.31,126.24ZM208,152H48a16,16,0,0,0-16,16v16a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V168A16,16,0,0,0,208,152Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,154H48a14,14,0,0,0-14,14v24a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V168A14,14,0,0,0,208,154Zm2,38a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V168a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2ZM48.24,134H207.76a14.19,14.19,0,0,0,13.1-8.55,13.61,13.61,0,0,0-2.72-15L144.41,33a22.76,22.76,0,0,0-32.82,0L37.86,110.5a13.61,13.61,0,0,0-2.72,15A14.19,14.19,0,0,0,48.24,134Zm-1.69-15.23,73.73-77.51a10.77,10.77,0,0,1,15.44,0l73.73,77.51a1.67,1.67,0,0,1,.38,2,2.11,2.11,0,0,1-2.07,1.27H48.24a2.11,2.11,0,0,1-2.07-1.27A1.67,1.67,0,0,1,46.55,118.77Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,152H48a16,16,0,0,0-16,16v24a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V168A16,16,0,0,0,208,152Zm0,40H48V168H208ZM48.24,136H207.76a16.18,16.18,0,0,0,14.93-9.76,15.59,15.59,0,0,0-3.1-17.12L145.86,31.61a24.76,24.76,0,0,0-35.72,0L36.41,109.12h0a15.59,15.59,0,0,0-3.1,17.12A16.18,16.18,0,0,0,48.24,136Zm73.49-93.36a8.77,8.77,0,0,1,12.54,0L207.85,120H48.14Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,156H48a12,12,0,0,0-12,12v24a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V168A12,12,0,0,0,208,156Zm4,36a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V168a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4ZM48.23,132H207.77A12,12,0,0,0,219,124.67a11.68,11.68,0,0,0-2.33-12.8L143,34.37a20.75,20.75,0,0,0-29.92,0L39.3,111.87A11.68,11.68,0,0,0,37,124.67,12,12,0,0,0,48.23,132ZM45.1,117.39l73.73-77.51a12.78,12.78,0,0,1,18.34,0l73.73,77.51a3.66,3.66,0,0,1,.77,4.12,4.1,4.1,0,0,1-3.9,2.49H48.23a4.1,4.1,0,0,1-3.9-2.49A3.66,3.66,0,0,1,45.1,117.39Z"}))]]),cD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44Zm-96,83.72L62.85,68h130.3ZM92.79,128,44,172.72V83.28Zm17.76,16.28,9.34,8.57a12,12,0,0,0,16.22,0l9.34-8.57L193.15,188H62.85ZM163.21,128,212,83.28v89.44Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,56l-96,88L32,56Z",opacity:"0.2"}),r.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50Zm-96,85.86L47.42,62H208.58ZM101.67,128,38,186.36V69.64Zm8.88,8.14L124,148.42a6,6,0,0,0,8.1,0l13.4-12.28L208.58,194H47.43ZM154.33,128,218,69.64V186.36Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-96,86.57L42.28,60H213.72ZM104.63,128,36,190.91V65.09Zm5.92,5.43L125.3,147a4,4,0,0,0,5.4,0l14.75-13.52L213.72,196H42.28ZM151.37,128,220,65.09V190.91Z"}))]]),uD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),r.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),dD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),r.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"}))]]),hD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M40.14,46.88A12,12,0,0,0,36,56V224a12,12,0,0,0,24,0V181.72c22.84-17.12,42.1-9.12,70.68,5,16.23,8,34.74,17.2,54.8,17.2,14.72,0,30.28-4.94,46.38-18.88A12,12,0,0,0,236,176V56a12,12,0,0,0-19.86-9.07c-24.71,21.41-44.53,13.31-74.82-1.68C113.19,31.27,78.17,13.94,40.14,46.88ZM212,170.26c-22.84,17.13-42.1,9.11-70.68-5C118.16,153.76,90.33,140,60,153.87V61.69c22.84-17.12,42.1-9.12,70.68,5,16.23,8,34.74,17.2,54.8,17.2A63,63,0,0,0,212,78.08Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,56V176c-64,55.43-112-55.43-176,0V56C112,.57,160,111.43,224,56Z",opacity:"0.2"}),r.createElement("path",{d:"M42.76,50A8,8,0,0,0,40,56V224a8,8,0,0,0,16,0V179.77c26.79-21.16,49.87-9.75,76.45,3.41,16.4,8.11,34.06,16.85,53,16.85,13.93,0,28.54-4.75,43.82-18a8,8,0,0,0,2.76-6V56A8,8,0,0,0,218.76,50c-28,24.23-51.72,12.49-79.21-1.12C111.07,34.76,78.78,18.79,42.76,50ZM216,172.25c-26.79,21.16-49.87,9.74-76.45-3.41-25-12.35-52.81-26.13-83.55-8.4V59.79c26.79-21.16,49.87-9.75,76.45,3.4,25,12.35,52.82,26.13,83.55,8.4Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,56V176a8,8,0,0,1-2.76,6c-15.28,13.23-29.89,18-43.82,18-18.91,0-36.57-8.74-53-16.85C105.87,170,82.79,158.61,56,179.77V224a8,8,0,0,1-16,0V56a8,8,0,0,1,2.77-6h0c36-31.18,68.31-15.21,96.79-1.12C167,62.46,190.79,74.2,218.76,50A8,8,0,0,1,232,56Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M44.08,51.37A6,6,0,0,0,42,55.9V224a6,6,0,0,0,12,0V178.78c28.08-22.79,51.88-11,79.34,2.57,16.12,8,33.49,16.58,52,16.58,13.57,0,27.76-4.6,42.56-17.42A6,6,0,0,0,230,176V55.9a6,6,0,0,0-9.93-4.54c-29,25.12-53.28,13.09-81.41-.84C110.77,36.71,79,21.16,44.08,51.37ZM218,173.17c-28.08,22.8-51.88,11-79.34-2.58C113.4,158.08,85.09,144.07,54,164V58.72c28.08-22.8,51.88-11,79.34,2.56C158.6,73.79,186.91,87.8,218,67.91Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M42.76,50A8,8,0,0,0,40,56V224a8,8,0,0,0,16,0V179.77c26.79-21.16,49.87-9.75,76.45,3.41,16.4,8.11,34.06,16.85,53,16.85,13.93,0,28.54-4.75,43.82-18a8,8,0,0,0,2.76-6V56A8,8,0,0,0,218.76,50c-28,24.23-51.72,12.49-79.21-1.12C111.07,34.76,78.78,18.79,42.76,50ZM216,172.25c-26.79,21.16-49.87,9.74-76.45-3.41-25-12.35-52.81-26.13-83.55-8.4V59.79c26.79-21.16,49.87-9.75,76.45,3.4,25,12.35,52.82,26.13,83.55,8.4Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M45.39,53.06a4,4,0,0,0-1.39,3V224a4,4,0,0,0,8,0V177.87c29.41-24.39,55.08-11.69,82.23,1.73,16.5,8.17,33.33,16.5,51.13,16.5,13.14,0,26.81-4.55,41.26-17.06a4,4,0,0,0,1.38-3v-120a4,4,0,0,0-6.62-3c-30,26-56,13.07-83.61-.57C109.07,38.28,79.4,23.62,45.39,53.06ZM220,174.17c-29.41,24.4-55.08,11.7-82.23-1.73-26.82-13.27-54.5-27-85.77-4.66V57.92c29.41-24.4,55.08-11.7,82.23,1.73,26.82,13.27,54.5,27,85.77,4.66Z"}))]]),fD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222.14,69.17,186.83,33.86A19.86,19.86,0,0,0,172.69,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V83.31A19.86,19.86,0,0,0,222.14,69.17ZM164,204H92V160h72Zm40,0H188V156a20,20,0,0,0-20-20H88a20,20,0,0,0-20,20v48H52V52H171l33,33ZM164,84a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h56A12,12,0,0,1,164,84Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,83.31V208a8,8,0,0,1-8,8H176V152a8,8,0,0,0-8-8H88a8,8,0,0,0-8,8v64H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H172.69a8,8,0,0,1,5.65,2.34l35.32,35.32A8,8,0,0,1,216,83.31Z",opacity:"0.2"}),r.createElement("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM208,208H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M217.9,73.42,182.58,38.1a13.9,13.9,0,0,0-9.89-4.1H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V83.31A13.9,13.9,0,0,0,217.9,73.42ZM170,210H86V152a2,2,0,0,1,2-2h80a2,2,0,0,1,2,2Zm40-2a2,2,0,0,1-2,2H182V152a14,14,0,0,0-14-14H88a14,14,0,0,0-14,14v58H48a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H172.69a2,2,0,0,1,1.41.58L209.42,81.9a2,2,0,0,1,.58,1.41ZM158,72a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h56A6,6,0,0,1,158,72Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216.49,74.83,181.17,39.51A11.93,11.93,0,0,0,172.69,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V83.31A11.93,11.93,0,0,0,216.49,74.83ZM172,212H84V152a4,4,0,0,1,4-4h80a4,4,0,0,1,4,4Zm40-4a4,4,0,0,1-4,4H180V152a12,12,0,0,0-12-12H88a12,12,0,0,0-12,12v60H48a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H172.69a4,4,0,0,1,2.82,1.17l35.32,35.32A4,4,0,0,1,212,83.31ZM156,72a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h56A4,4,0,0,1,156,72Z"}))]]),mD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M248.49,71.51l-32-32a12,12,0,0,0-17,17L211,68h-3c-52,0-64.8,30.71-75.08,55.38-8.82,21.17-15.45,37.05-42.75,40.09a44,44,0,1,0,.28,24.08c43.34-3.87,55.07-32,64.63-54.93C164.9,109,172,92,208,92h3l-11.52,11.51a12,12,0,0,0,17,17l32-32A12,12,0,0,0,248.49,71.51ZM48,196a20,20,0,1,1,20-20A20,20,0,0,1,48,196Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M80,176a32,32,0,1,1-32-32A32,32,0,0,1,80,176Z",opacity:"0.2"}),r.createElement("path",{d:"M245.66,74.34l-32-32a8,8,0,0,0-11.32,11.32L220.69,72H208c-49.33,0-61.05,28.12-71.38,52.92-9.38,22.51-16.92,40.59-49.48,42.84a40,40,0,1,0,.1,16c43.26-2.65,54.34-29.15,64.14-52.69C161.41,107,169.33,88,208,88h12.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,245.66,74.34ZM48,200a24,24,0,1,1,24-24A24,24,0,0,1,48,200Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M245.66,85.66l-32,32a8,8,0,0,1-11.32-11.32L220.69,88H208c-38.67,0-46.59,19-56.62,43.08C141.05,155.88,129.33,184,80,184H79a32,32,0,1,1,0-16h1c38.67,0,46.59-19,56.62-43.08C147,100.12,158.67,72,208,72h12.69L202.34,53.66a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,245.66,85.66Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M244.24,75.76l-32-32a6,6,0,0,0-8.48,8.48L225.51,74H208c-48,0-59.44,27.46-69.54,51.69-9.43,22.64-17.66,42.33-53,44.16a38,38,0,1,0,.06,12c43.34-2.06,54.29-28.29,64-51.55C159.44,106.53,168,86,208,86h17.51l-21.75,21.76a6,6,0,1,0,8.48,8.48l32-32A6,6,0,0,0,244.24,75.76ZM48,202a26,26,0,1,1,26-26A26,26,0,0,1,48,202Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M245.66,74.34l-32-32a8,8,0,0,0-11.32,11.32L220.69,72H208c-49.33,0-61.05,28.12-71.38,52.92-9.38,22.51-16.92,40.59-49.48,42.84a40,40,0,1,0,.1,16c43.26-2.65,54.34-29.15,64.14-52.69C161.41,107,169.33,88,208,88h12.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,245.66,74.34ZM48,200a24,24,0,1,1,24-24A24,24,0,0,1,48,200Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M242.83,77.17l-32-32a4,4,0,0,0-5.66,5.66L230.34,76H208c-46.67,0-57.84,26.81-67.69,50.46-9.46,22.69-18.4,44.16-56.55,45.48a36,36,0,1,0,0,8c43.49-1.42,54.33-27.39,63.91-50.39C157.45,106.12,166.67,84,208,84h22.34l-25.17,25.17a4,4,0,0,0,5.66,5.66l32-32A4,4,0,0,0,242.83,77.17ZM48,204a28,28,0,1,1,28-28A28,28,0,0,1,48,204Z"}))]]),pD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M234.29,47.91A20,20,0,0,0,216,36H40A20,20,0,0,0,25.2,69.45l.12.14L92,140.75V216a20,20,0,0,0,31.1,16.64l32-21.33A20,20,0,0,0,164,194.66V140.75l66.67-71.16.12-.14A20,20,0,0,0,234.29,47.91Zm-91,79.89A12,12,0,0,0,140,136v56.52l-24,16V136a12,12,0,0,0-3.25-8.2L49.23,60H206.77Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.9,61.38,152,136v58.65a8,8,0,0,1-3.56,6.66l-32,21.33A8,8,0,0,1,104,216V136L34.1,61.38A8,8,0,0,1,40,48H216A8,8,0,0,1,221.9,61.38Z",opacity:"0.2"}),r.createElement("path",{d:"M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.81,66.76l-.08.09L160,139.17v55.49A16,16,0,0,1,152.87,208l-32,21.34A16,16,0,0,1,96,216V139.17L28.27,66.85l-.08-.09A16,16,0,0,1,40,40H216a16,16,0,0,1,11.84,26.76Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228.77,50.34A13.8,13.8,0,0,0,216,42H40A14,14,0,0,0,29.67,65.42l.06.07L98,138.38V216a14,14,0,0,0,21.77,11.64l32-21.33A14,14,0,0,0,158,194.66V138.38l68.33-73A13.82,13.82,0,0,0,228.77,50.34Zm-11.26,6.94L147.62,131.9A6,6,0,0,0,146,136v58.66a2,2,0,0,1-.89,1.67l-32,21.33A2,2,0,0,1,110,216V136a6,6,0,0,0-1.62-4.1L38.53,57.32A2,2,0,0,1,40,54H216a1.9,1.9,0,0,1,1.83,1.19A1.86,1.86,0,0,1,217.51,57.28Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227,51.15A11.85,11.85,0,0,0,216,44H40a12,12,0,0,0-8.88,20.07l.05.05L100,137.59V216a12,12,0,0,0,18.66,10l32-21.33a12,12,0,0,0,5.35-10V137.59l68.86-73.52A11.85,11.85,0,0,0,227,51.15Zm-8,7.5-69.9,74.62A4,4,0,0,0,148,136v58.65a4,4,0,0,1-1.78,3.33l-32,21.33A4,4,0,0,1,108,216V136a4,4,0,0,0-1.08-2.74L37.05,58.67A4,4,0,0,1,40,52H216a4,4,0,0,1,3,6.65Z"}))]]),gD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),r.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"}))]]),xD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm113.86-49.57A12,12,0,0,0,236,98.34L208.21,82.49l-.11-31.31a12,12,0,0,0-4.25-9.12,116,116,0,0,0-38-21.41,12,12,0,0,0-9.68.89L128,37.27,99.83,21.53a12,12,0,0,0-9.7-.9,116.06,116.06,0,0,0-38,21.47,12,12,0,0,0-4.24,9.1l-.14,31.34L20,98.35a12,12,0,0,0-5.85,8.11,110.7,110.7,0,0,0,0,43.11A12,12,0,0,0,20,157.66l27.82,15.85.11,31.31a12,12,0,0,0,4.25,9.12,116,116,0,0,0,38,21.41,12,12,0,0,0,9.68-.89L128,218.73l28.14,15.74a12,12,0,0,0,9.7.9,116.06,116.06,0,0,0,38-21.47,12,12,0,0,0,4.24-9.1l.14-31.34,27.81-15.81a12,12,0,0,0,5.85-8.11A110.7,110.7,0,0,0,241.86,106.43Zm-22.63,33.18-26.88,15.28a11.94,11.94,0,0,0-4.55,4.59c-.54,1-1.11,1.93-1.7,2.88a12,12,0,0,0-1.83,6.31L184.13,199a91.83,91.83,0,0,1-21.07,11.87l-27.15-15.19a12,12,0,0,0-5.86-1.53h-.29c-1.14,0-2.3,0-3.44,0a12.08,12.08,0,0,0-6.14,1.51L93,210.82A92.27,92.27,0,0,1,71.88,199l-.11-30.24a12,12,0,0,0-1.83-6.32c-.58-.94-1.16-1.91-1.7-2.88A11.92,11.92,0,0,0,63.7,155L36.8,139.63a86.53,86.53,0,0,1,0-23.24l26.88-15.28a12,12,0,0,0,4.55-4.58c.54-1,1.11-1.94,1.7-2.89a12,12,0,0,0,1.83-6.31L71.87,57A91.83,91.83,0,0,1,92.94,45.17l27.15,15.19a11.92,11.92,0,0,0,6.15,1.52c1.14,0,2.3,0,3.44,0a12.08,12.08,0,0,0,6.14-1.51L163,45.18A92.27,92.27,0,0,1,184.12,57l.11,30.24a12,12,0,0,0,1.83,6.32c.58.94,1.16,1.91,1.7,2.88A11.92,11.92,0,0,0,192.3,101l26.9,15.33A86.53,86.53,0,0,1,219.23,139.61Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.1,108.76,198.25,90.62c-.64-1.16-1.31-2.29-2-3.41l-.12-36A104.61,104.61,0,0,0,162,32L130,49.89c-1.34,0-2.69,0-4,0L94,32A104.58,104.58,0,0,0,59.89,51.25l-.16,36c-.7,1.12-1.37,2.26-2,3.41l-31.84,18.1a99.15,99.15,0,0,0,0,38.46l31.85,18.14c.64,1.16,1.31,2.29,2,3.41l.12,36A104.61,104.61,0,0,0,94,224l32-17.87c1.34,0,2.69,0,4,0L162,224a104.58,104.58,0,0,0,34.08-19.25l.16-36c.7-1.12,1.37-2.26,2-3.41l31.84-18.1A99.15,99.15,0,0,0,230.1,108.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),r.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.1,8.1,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8,8,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M237.94,107.21a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Zm108-54.4a6,6,0,0,0-2.92-4L202.64,86.22l-.42-.71L202.1,51.2A6,6,0,0,0,200,46.64a110.12,110.12,0,0,0-36.07-20.31,6,6,0,0,0-4.84.45L128.46,43.86h-1L96.91,26.76a6,6,0,0,0-4.86-.44A109.92,109.92,0,0,0,56,46.68a6,6,0,0,0-2.12,4.55l-.16,34.34c-.14.23-.28.47-.41.71L22.91,103.57A6,6,0,0,0,20,107.62a104.81,104.81,0,0,0,0,40.78,6,6,0,0,0,2.92,4l30.42,17.33.42.71.12,34.31A6,6,0,0,0,56,209.36a110.12,110.12,0,0,0,36.07,20.31,6,6,0,0,0,4.84-.45l30.61-17.08h1l30.56,17.1A6.09,6.09,0,0,0,162,230a5.83,5.83,0,0,0,1.93-.32,109.92,109.92,0,0,0,36-20.36,6,6,0,0,0,2.12-4.55l.16-34.34c.14-.23.28-.47.41-.71l30.42-17.29a6,6,0,0,0,2.92-4.05A104.81,104.81,0,0,0,236,107.6Zm-11.25,35.79L195.32,160.1a6.07,6.07,0,0,0-2.28,2.3c-.59,1-1.21,2.11-1.86,3.14a6,6,0,0,0-.91,3.16l-.16,33.21a98.15,98.15,0,0,1-27.52,15.53L133,200.88a6,6,0,0,0-2.93-.77h-.14c-1.24,0-2.5,0-3.74,0a6,6,0,0,0-3.07.76L93.45,217.43a98,98,0,0,1-27.56-15.49l-.12-33.17a6,6,0,0,0-.91-3.16c-.64-1-1.27-2.08-1.86-3.14a6,6,0,0,0-2.27-2.3L31.3,143.4a93,93,0,0,1,0-30.79L60.68,95.9A6.07,6.07,0,0,0,63,93.6c.59-1,1.21-2.11,1.86-3.14a6,6,0,0,0,.91-3.16l.16-33.21A98.15,98.15,0,0,1,93.41,38.56L123,55.12a5.81,5.81,0,0,0,3.07.76c1.24,0,2.5,0,3.74,0a6,6,0,0,0,3.07-.76l29.65-16.56a98,98,0,0,1,27.56,15.49l.12,33.17a6,6,0,0,0,.91,3.16c.64,1,1.27,2.08,1.86,3.14a6,6,0,0,0,2.27,2.3L224.7,112.6A93,93,0,0,1,224.73,143.39Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A112.1,112.1,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.62a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.08,8.08,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8.08,8.08,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm106-56a4,4,0,0,0-2-2.7l-30.89-17.6q-.47-.82-1-1.62L200.1,51.2a3.94,3.94,0,0,0-1.42-3,107.8,107.8,0,0,0-35.41-19.94,4,4,0,0,0-3.23.29L129,45.87h-2l-31-17.36a4,4,0,0,0-3.23-.3,108.05,108.05,0,0,0-35.39,20,4,4,0,0,0-1.41,3l-.16,34.9-1,1.62L23.9,105.3A4,4,0,0,0,22,108a102.76,102.76,0,0,0,0,40,4,4,0,0,0,1.95,2.7l30.89,17.6q.47.83,1,1.62l.12,34.87a3.94,3.94,0,0,0,1.42,3,107.8,107.8,0,0,0,35.41,19.94,4,4,0,0,0,3.23-.29L127,210.13h2l31,17.36a4,4,0,0,0,3.23.3,108.05,108.05,0,0,0,35.39-20,4,4,0,0,0,1.41-3l.16-34.9,1-1.62L232.1,150.7a4,4,0,0,0,2-2.71A102.76,102.76,0,0,0,234,108Zm-7.48,36.67L196.3,161.84a4,4,0,0,0-1.51,1.53c-.61,1.09-1.25,2.17-1.91,3.24a3.92,3.92,0,0,0-.61,2.1l-.16,34.15a99.8,99.8,0,0,1-29.7,16.77l-30.4-17a4.06,4.06,0,0,0-2-.51H130c-1.28,0-2.57,0-3.84,0a4.1,4.1,0,0,0-2.05.51l-30.45,17A100.23,100.23,0,0,1,63.89,202.9l-.12-34.12a3.93,3.93,0,0,0-.61-2.11c-.66-1-1.3-2.14-1.91-3.23a4,4,0,0,0-1.51-1.53L29.49,144.68a94.78,94.78,0,0,1,0-33.34L59.7,94.16a4,4,0,0,0,1.51-1.53c.61-1.09,1.25-2.17,1.91-3.23a4,4,0,0,0,.61-2.11l.16-34.15a99.8,99.8,0,0,1,29.7-16.77l30.4,17a4.1,4.1,0,0,0,2.05.51c1.28,0,2.57,0,3.84,0a4,4,0,0,0,2.05-.51l30.45-17A100.23,100.23,0,0,1,192.11,53.1l.12,34.12a3.93,3.93,0,0,0,.61,2.11c.66,1,1.3,2.14,1.91,3.23a4,4,0,0,0,1.51,1.53l30.25,17.23A94.78,94.78,0,0,1,226.54,144.66Z"}))]]),vD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236,64a36,36,0,1,0-48,33.94V112a4,4,0,0,1-4,4H96a27.8,27.8,0,0,0-4,.29V97.94a36,36,0,1,0-24,0v60.12a36,36,0,1,0,24,0V144a4,4,0,0,1,4-4h88a28,28,0,0,0,28-28V97.94A36.07,36.07,0,0,0,236,64ZM80,52A12,12,0,1,1,68,64,12,12,0,0,1,80,52Zm0,152a12,12,0,1,1,12-12A12,12,0,0,1,80,204ZM200,76a12,12,0,1,1,12-12A12,12,0,0,1,200,76Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z",opacity:"0.2"}),r.createElement("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230,64a30,30,0,1,0-36,29.4V112a10,10,0,0,1-10,10H96a21.84,21.84,0,0,0-10,2.42v-31a30,30,0,1,0-12,0v69.2a30,30,0,1,0,12,0V144a10,10,0,0,1,10-10h88a22,22,0,0,0,22-22V93.4A30.05,30.05,0,0,0,230,64ZM62,64A18,18,0,1,1,80,82,18,18,0,0,1,62,64ZM98,192a18,18,0,1,1-18-18A18,18,0,0,1,98,192ZM200,82a18,18,0,1,1,18-18A18,18,0,0,1,200,82Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,64a28,28,0,1,0-32,27.71V112a12,12,0,0,1-12,12H96a19.91,19.91,0,0,0-12,4V91.71a28,28,0,1,0-8,0v72.58a28,28,0,1,0,8,0V144a12,12,0,0,1,12-12h88a20,20,0,0,0,20-20V91.71A28,28,0,0,0,228,64ZM60,64A20,20,0,1,1,80,84,20,20,0,0,1,60,64Zm40,128a20,20,0,1,1-20-20A20,20,0,0,1,100,192ZM200,84a20,20,0,1,1,20-20A20,20,0,0,1,200,84Z"}))]]),bD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"}))]]),yD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M188,44a32,32,0,0,0-8,1V44a32,32,0,0,0-60.79-14A32,32,0,0,0,76,60v50.83a32,32,0,0,0-52,36.7C55.82,214.6,75.35,244,128,244a92.1,92.1,0,0,0,92-92V76A32,32,0,0,0,188,44Zm8,108a68.08,68.08,0,0,1-68,68c-35.83,0-49.71-14-82.48-83.14-.14-.29-.29-.58-.45-.86a8,8,0,0,1,13.85-8l.21.35,18.68,30A12,12,0,0,0,100,152V60a8,8,0,0,1,16,0v60a12,12,0,0,0,24,0V44a8,8,0,0,1,16,0v76a12,12,0,0,0,24,0V76a8,8,0,0,1,16,0Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,76v76a80,80,0,0,1-80,80c-44.18,0-60.75-21.28-93.32-90a20,20,0,0,1,34.64-20L88,152V60a20,20,0,0,1,40,0V44a20,20,0,0,1,40,0V76a20,20,0,0,1,40,0Z",opacity:"0.2"}),r.createElement("path",{d:"M188,48a27.75,27.75,0,0,0-12,2.71V44a28,28,0,0,0-54.65-8.6A28,28,0,0,0,80,60v64l-3.82-6.13a28,28,0,0,0-48.6,27.82c16,33.77,28.93,57.72,43.72,72.69C86.24,233.54,103.2,240,128,240a88.1,88.1,0,0,0,88-88V76A28,28,0,0,0,188,48Zm12,104a72.08,72.08,0,0,1-72,72c-20.38,0-33.51-4.88-45.33-16.85C69.44,193.74,57.26,171,41.9,138.58a6.36,6.36,0,0,0-.3-.58,12,12,0,0,1,20.79-12,1.76,1.76,0,0,0,.14.23l18.67,30A8,8,0,0,0,96,152V60a12,12,0,0,1,24,0v60a8,8,0,0,0,16,0V44a12,12,0,0,1,24,0v76a8,8,0,0,0,16,0V76a12,12,0,0,1,24,0Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,64v90.93c0,46.2-36.85,84.55-83,85.06A83.71,83.71,0,0,1,72.6,215.4C50.79,192.33,26.15,136,26.15,136a16,16,0,0,1,6.53-22.23c7.66-4,17.1-.84,21.4,6.62l21,36.44a6.09,6.09,0,0,0,6,3.09l.12,0A8.19,8.19,0,0,0,88,151.74V48a16,16,0,0,1,16.77-16c8.61.4,15.23,7.82,15.23,16.43V112a8,8,0,0,0,8.53,8,8.17,8.17,0,0,0,7.47-8.25V32a16,16,0,0,1,16.77-16c8.61.4,15.23,7.82,15.23,16.43V120a8,8,0,0,0,8.53,8,8.17,8.17,0,0,0,7.47-8.25V64.45c0-8.61,6.62-16,15.23-16.43A16,16,0,0,1,216,64Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M188,50a25.8,25.8,0,0,0-14,4.11V44a26,26,0,0,0-51.41-5.51A26,26,0,0,0,82,60v71l-7.53-12.1a26,26,0,0,0-45.11,25.87C60.76,211,78.51,238,128,238a86.1,86.1,0,0,0,86-86V76A26,26,0,0,0,188,50Zm14,102a74.09,74.09,0,0,1-74,74c-21,0-34.51-5.05-46.75-17.45C67.81,195,55.54,172,40.1,139.43l-.23-.43a14,14,0,0,1,24.25-14l.1.17,18.68,30A6,6,0,0,0,94,152V60a14,14,0,0,1,28,0v60a6,6,0,0,0,12,0V44a14,14,0,0,1,28,0v76a6,6,0,0,0,12,0V76a14,14,0,0,1,28,0Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M188,48a27.75,27.75,0,0,0-12,2.71V44a28,28,0,0,0-54.65-8.6A28,28,0,0,0,80,60v64l-3.82-6.13a28,28,0,0,0-48.6,27.82c16,33.77,28.93,57.72,43.72,72.69C86.24,233.54,103.2,240,128,240a88.1,88.1,0,0,0,88-88V76A28,28,0,0,0,188,48Zm12,104a72.08,72.08,0,0,1-72,72c-20.38,0-33.51-4.88-45.33-16.85C69.44,193.74,57.26,171,41.9,138.58a6.36,6.36,0,0,0-.3-.58,12,12,0,0,1,20.79-12,1.76,1.76,0,0,0,.14.23l18.67,30A8,8,0,0,0,96,152V60a12,12,0,0,1,24,0v60a8,8,0,0,0,16,0V44a12,12,0,0,1,24,0v76a8,8,0,0,0,16,0V76a12,12,0,0,1,24,0Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M188,52a23.9,23.9,0,0,0-16,6.13V44a24,24,0,0,0-47.93-1.8A24,24,0,0,0,84,60v78L72.75,119.94a24,24,0,0,0-41.62,23.92C64.44,214.12,82.17,236,128,236a84.09,84.09,0,0,0,84-84V76A24,24,0,0,0,188,52Zm16,100a76.09,76.09,0,0,1-76,76c-37.29,0-53.59-11.51-89.71-87.71l-.15-.29a16,16,0,0,1,27.71-16,.75.75,0,0,1,.07.12l18.68,30A4,4,0,0,0,92,152V60a16,16,0,0,1,32,0v60a4,4,0,0,0,8,0V44a16,16,0,0,1,32,0v76a4,4,0,0,0,8,0V76a16,16,0,0,1,32,0Z"}))]]),wD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M253.88,108.11l-25.53-51a20,20,0,0,0-26.83-9L178.34,59.7,131.7,44.58a12.14,12.14,0,0,0-7.4,0L77.66,59.7,54.48,48.11a20,20,0,0,0-26.83,9L2.12,108.11a20,20,0,0,0,9,26.83l26.67,13.34,51.18,37.41A12.15,12.15,0,0,0,93,187.62l62,16a12.27,12.27,0,0,0,3,.38,12,12,0,0,0,8.48-3.52l52.62-52.62,25.83-12.92a20,20,0,0,0,8.95-26.83Zm-58.12,29.15-27.52-26a12,12,0,0,0-16.76.26c-9.66,9.74-25.06,16.81-40.81,9.55l38.19-37h22.72l25.81,51.63ZM47.32,71.37,60.59,78l-22,43.9-13.27-6.63Zm107,107.3L101.23,165l-42-30.66L85.17,82.5,128,68.61l1.69.55L90,107.68l-.13.12a20,20,0,0,0,3.4,31c20.95,13.39,46,12.07,66.33-2.73l19.2,18.15Zm63-56.77-22-43.9,13.27-6.63,21.95,43.9ZM118.55,219a12,12,0,0,1-14.62,8.62l-26.6-6.87a12,12,0,0,1-4.08-1.93L48.92,201a12,12,0,0,1,14.16-19.37l22.47,16.42,24.38,6.29A12,12,0,0,1,118.55,219Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,152l-40,40L96,176,40,136,72.68,70.63,128,56l55.32,14.63L183.6,72H144L98.34,116.29a8,8,0,0,0,1.38,12.42C117.23,139.9,141,139.13,160,120Z",opacity:"0.2"}),r.createElement("path",{d:"M254.3,107.91,228.78,56.85a16,16,0,0,0-21.47-7.15L182.44,62.13,130.05,48.27a8.14,8.14,0,0,0-4.1,0L73.56,62.13,48.69,49.7a16,16,0,0,0-21.47,7.15L1.7,107.9a16,16,0,0,0,7.15,21.47l27,13.51,55.49,39.63a8.06,8.06,0,0,0,2.71,1.25l64,16a8,8,0,0,0,7.6-2.1l55.07-55.08,26.42-13.21a16,16,0,0,0,7.15-21.46Zm-54.89,33.37L165,113.72a8,8,0,0,0-10.68.61C136.51,132.27,116.66,130,104,122L147.24,80h31.81l27.21,54.41ZM41.53,64,62,74.22,36.43,125.27,16,115.06Zm116,119.13L99.42,168.61l-49.2-35.14,28-56L128,64.28l9.8,2.59-45,43.68-.08.09a16,16,0,0,0,2.72,24.81c20.56,13.13,45.37,11,64.91-5L188,152.66Zm62-57.87-25.52-51L214.47,64,240,115.06Zm-87.75,92.67a8,8,0,0,1-7.75,6.06,8.13,8.13,0,0,1-1.95-.24L80.41,213.33a7.89,7.89,0,0,1-2.71-1.25L51.35,193.26a8,8,0,0,1,9.3-13l25.11,17.94L126,208.24A8,8,0,0,1,131.82,217.94Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M254.3,107.91,228.78,56.85a16,16,0,0,0-21.47-7.15L182.44,62.13,130.05,48.27a8.14,8.14,0,0,0-4.1,0L73.56,62.13,48.69,49.7a16,16,0,0,0-21.47,7.15L1.7,107.9a16,16,0,0,0,7.15,21.47l27,13.51,55.49,39.63a8.06,8.06,0,0,0,2.71,1.25l64,16a8,8,0,0,0,7.6-2.1l40-40,15.08-15.08,26.42-13.21a16,16,0,0,0,7.15-21.46Zm-54.89,33.37L165,113.72a8,8,0,0,0-10.68.61C136.51,132.27,116.66,130,104,122L147.24,80h31.81l27.21,54.41Zm-41.87,41.86L99.42,168.61l-49.2-35.14,28-56L128,64.28l9.8,2.59-45,43.68-.08.09a16,16,0,0,0,2.72,24.81c20.56,13.13,45.37,11,64.91-5L188,152.66Zm-25.72,34.8a8,8,0,0,1-7.75,6.06,8.13,8.13,0,0,1-1.95-.24L80.41,213.33a7.89,7.89,0,0,1-2.71-1.25L51.35,193.26a8,8,0,0,1,9.3-13l25.11,17.94L126,208.24A8,8,0,0,1,131.82,217.94Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M252.51,108.8,227,57.75a14,14,0,0,0-18.78-6.27L182.66,64.26,129.53,50.2a6.1,6.1,0,0,0-3.06,0L73.34,64.26,47.79,51.48A14,14,0,0,0,29,57.75L3.49,108.8a14,14,0,0,0,6.26,18.78L36.9,141.16l55.61,39.72a6,6,0,0,0,2,.94l64,16A6.08,6.08,0,0,0,160,198a6,6,0,0,0,4.24-1.76l55.31-55.31,26.7-13.35a14,14,0,0,0,6.26-18.78Zm-53,35.16-35.8-28.68a6,6,0,0,0-8,.45c-18.65,18.79-39.5,16.42-52.79,7.92a2,2,0,0,1-.94-1.5,1.9,1.9,0,0,1,.51-1.55L146.43,78h33.86l28.41,56.82ZM14.11,115.69a2,2,0,0,1,.11-1.52L39.74,63.11a2,2,0,0,1,1.8-1.1,2,2,0,0,1,.89.21l22.21,11.1L37.32,128l-22.21-11.1A2,2,0,0,1,14.11,115.69Zm144.05,69.67-59.6-14.9L47.66,134.1,76.84,75.75,128,62.21l14.8,3.92a5.92,5.92,0,0,0-3,1.57L94.1,112.05a14,14,0,0,0,2.39,21.72c20.22,12.92,44.75,10.49,63.8-5.89L191,152.5Zm83.73-69.67a2,2,0,0,1-1,1.16L218.68,128,191.36,73.32l22.21-11.1a2,2,0,0,1,1.53-.11,2,2,0,0,1,1.16,1l25.52,51.06A2,2,0,0,1,241.89,115.69Zm-112,101.76a6,6,0,0,1-7.27,4.37L80.89,211.39a5.88,5.88,0,0,1-2-.94L52.52,191.64a6,6,0,1,1,7-9.77L84.91,200l40.61,10.15A6,6,0,0,1,129.88,217.45Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M254.3,107.91,228.78,56.85a16,16,0,0,0-21.47-7.15L182.44,62.13,130.05,48.27a8.14,8.14,0,0,0-4.1,0L73.56,62.13,48.69,49.7a16,16,0,0,0-21.47,7.15L1.7,107.9a16,16,0,0,0,7.15,21.47l27,13.51,55.49,39.63a8.06,8.06,0,0,0,2.71,1.25l64,16a8,8,0,0,0,7.6-2.1l55.07-55.08,26.42-13.21a16,16,0,0,0,7.15-21.46Zm-54.89,33.37L165,113.72a8,8,0,0,0-10.68.61C136.51,132.27,116.66,130,104,122L147.24,80h31.81l27.21,54.41ZM41.53,64,62,74.22,36.43,125.27,16,115.06Zm116,119.13L99.42,168.61l-49.2-35.14,28-56L128,64.28l9.8,2.59-45,43.68-.08.09a16,16,0,0,0,2.72,24.81c20.56,13.13,45.37,11,64.91-5L188,152.66Zm62-57.87-25.52-51L214.47,64,240,115.06Zm-87.75,92.67a8,8,0,0,1-7.75,6.06,8.13,8.13,0,0,1-1.95-.24L80.41,213.33a7.89,7.89,0,0,1-2.71-1.25L51.35,193.26a8,8,0,0,1,9.3-13l25.11,17.94L126,208.24A8,8,0,0,1,131.82,217.94Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M250.73,109.69l-25.53-51a12,12,0,0,0-16.1-5.37L182.88,66.38,129,52.14a3.92,3.92,0,0,0-2,0L73.12,66.38,46.9,53.27a12,12,0,0,0-16.1,5.37L5.27,109.69a12,12,0,0,0,5.37,16.1l27.29,13.65,55.75,39.82a3.87,3.87,0,0,0,1.35.62l64,16a4,4,0,0,0,3.8-1l55.54-55.54,27-13.5a12,12,0,0,0,5.37-16.1Zm-51,36.95-37.2-29.8a4,4,0,0,0-5.34.3c-19.49,19.64-41.34,17.11-55.29,8.2a4.07,4.07,0,0,1-1.85-3,3.91,3.91,0,0,1,1.11-3.21L145.62,76h35.91l29.6,59.21ZM12.21,116.32a4,4,0,0,1,.22-3L38,62.22h0A4,4,0,0,1,41.54,60a4,4,0,0,1,1.78.43l24,12L38.21,130.64l-24-12A4,4,0,0,1,12.21,116.32Zm146.56,71.25L97.71,172.3l-52.6-37.57L75.45,74,128,60.14,157.72,68H144a4,4,0,0,0-2.79,1.13l-45.7,44.33a12,12,0,0,0,2.06,18.62c19.88,12.71,44.13,10,62.66-6.81L194,152.33Zm85-71.25a4,4,0,0,1-2,2.32l-24,12L188.68,72.43l24-12A4,4,0,0,1,218,62.22l25.53,51.05A4,4,0,0,1,243.79,116.32ZM127.94,217a4,4,0,0,1-3.88,3,4.09,4.09,0,0,1-1-.12L81.38,209.45a4,4,0,0,1-1.36-.62L53.68,190a4,4,0,0,1,4.65-6.51l25.72,18.37,41,10.25A4,4,0,0,1,127.94,217Z"}))]]),AD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M204.73,51.85A108.07,108.07,0,0,0,20,128v56a28,28,0,0,0,28,28H64a28,28,0,0,0,28-28V144a28,28,0,0,0-28-28H44.84A84.05,84.05,0,0,1,128,44h.64a83.7,83.7,0,0,1,82.52,72H192a28,28,0,0,0-28,28v40a28,28,0,0,0,28,28h19.6A20,20,0,0,1,192,228H136a12,12,0,0,0,0,24h56a44.05,44.05,0,0,0,44-44V128A107.34,107.34,0,0,0,204.73,51.85ZM64,140a4,4,0,0,1,4,4v40a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V140Zm124,44V144a4,4,0,0,1,4-4h20v48H192A4,4,0,0,1,188,184Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M80,144v40a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V128H64A16,16,0,0,1,80,144Zm112-16a16,16,0,0,0-16,16v40a16,16,0,0,0,16,16h32V128Z",opacity:"0.2"}),r.createElement("path",{d:"M201.89,54.66A104.08,104.08,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,128v80a40,40,0,0,1-40,40H136a8,8,0,0,1,0-16h56a24,24,0,0,0,24-24H192a24,24,0,0,1-24-24V144a24,24,0,0,1,24-24h23.65A88,88,0,0,0,66,65.54,87.29,87.29,0,0,0,40.36,120H64a24,24,0,0,1,24,24v40a24,24,0,0,1-24,24H48a24,24,0,0,1-24-24V128A104.11,104.11,0,0,1,201.89,54.66,103.41,103.41,0,0,1,232,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200.47,56.07A101.37,101.37,0,0,0,128.77,26H128A102,102,0,0,0,26,128v56a22,22,0,0,0,22,22H64a22,22,0,0,0,22-22V144a22,22,0,0,0-22-22H38.2A90,90,0,0,1,128,38h.68a89.71,89.71,0,0,1,89.13,84H192a22,22,0,0,0-22,22v40a22,22,0,0,0,22,22h26v2a26,26,0,0,1-26,26H136a6,6,0,0,0,0,12h56a38,38,0,0,0,38-38V128A101.44,101.44,0,0,0,200.47,56.07ZM64,134a10,10,0,0,1,10,10v40a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V134Zm118,50V144a10,10,0,0,1,10-10h26v60H192A10,10,0,0,1,182,184Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M201.89,54.66A103.43,103.43,0,0,0,128.79,24H128A104,104,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M199.05,57.48A100.07,100.07,0,0,0,28,128v56a20,20,0,0,0,20,20H64a20,20,0,0,0,20-20V144a20,20,0,0,0-20-20H36.08A92,92,0,0,1,128,36h.7a91.75,91.75,0,0,1,91.22,88H192a20,20,0,0,0-20,20v40a20,20,0,0,0,20,20h28v4a28,28,0,0,1-28,28H136a4,4,0,0,0,0,8h56a36,36,0,0,0,36-36V128A99.44,99.44,0,0,0,199.05,57.48ZM64,132a12,12,0,0,1,12,12v40a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V132Zm116,52V144a12,12,0,0,1,12-12h28v64H192A12,12,0,0,1,180,184Z"}))]]),jD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,44H40A12,12,0,0,0,28,56V208a20,20,0,0,0,20,20H88a20,20,0,0,0,20-20V164h40v12a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V56A12,12,0,0,0,216,44Zm-12,64H172V68h32ZM84,68v40H52V68Zm0,136H52V132H84Zm24-64V68h40v72Zm64,32V132h32v40Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,56v64H160V56ZM40,208a8,8,0,0,0,8,8H88a8,8,0,0,0,8-8V120H40Z",opacity:"0.2"}),r.createElement("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48Zm-8,64H168V64h40ZM88,64v48H48V64Zm0,144H48V128H88Zm16-64V64h48v80Zm64,32V128h40v48Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M160,56v96a8,8,0,0,1-8,8H112a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h40A8,8,0,0,1,160,56Zm64-8H184a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4h48a4,4,0,0,0,4-4V56A8,8,0,0,0,224,48Zm4,80H180a4,4,0,0,0-4,4v44a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V132A4,4,0,0,0,228,128ZM80,48H40a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4H84a4,4,0,0,0,4-4V56A8,8,0,0,0,80,48Zm4,80H36a4,4,0,0,0-4,4v76a16,16,0,0,0,16,16H72a16,16,0,0,0,16-16V132A4,4,0,0,0,84,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,50H40a6,6,0,0,0-6,6V208a14,14,0,0,0,14,14H88a14,14,0,0,0,14-14V158h52v18a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V56A6,6,0,0,0,216,50Zm-6,64H166V62h44ZM90,62v52H46V62Zm0,146a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V126H90Zm12-62V62h52v84Zm106,32H168a2,2,0,0,1-2-2V126h44v50A2,2,0,0,1,208,178Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48ZM88,208H48V128H88Zm0-96H48V64H88Zm64,32H104V64h48Zm56,32H168V128h40Zm0-64H168V64h40Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,52H40a4,4,0,0,0-4,4V208a12,12,0,0,0,12,12H88a12,12,0,0,0,12-12V156h56v20a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V56A4,4,0,0,0,216,52ZM92,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V124H92Zm0-92H44V60H92Zm64,32H100V60h56Zm56,28a4,4,0,0,1-4,4H168a4,4,0,0,1-4-4V124h48Zm0-60H164V60h48Z"}))]]),ED=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M180,232a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,232Zm40-128a91.51,91.51,0,0,1-35.17,72.35A12.26,12.26,0,0,0,180,186v2a20,20,0,0,1-20,20H96a20,20,0,0,1-20-20v-2a12,12,0,0,0-4.7-9.51A91.57,91.57,0,0,1,36,104.52C35.73,54.69,76,13.2,125.79,12A92,92,0,0,1,220,104Zm-24,0a68,68,0,0,0-69.65-68C89.56,36.88,59.8,67.55,60,104.38a67.71,67.71,0,0,0,26.1,53.19A35.87,35.87,0,0,1,100,184h56.1A36.13,36.13,0,0,1,170,157.49,67.68,67.68,0,0,0,196,104Zm-20.07-5.32a48.5,48.5,0,0,0-31.91-40,12,12,0,0,0-8,22.62,24.31,24.31,0,0,1,16.09,20,12,12,0,0,0,23.86-2.64Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,104a79.86,79.86,0,0,1-30.59,62.92A24.29,24.29,0,0,0,168,186v6a8,8,0,0,1-8,8H96a8,8,0,0,1-8-8v-6a24.11,24.11,0,0,0-9.3-19A79.87,79.87,0,0,1,48,104.45C47.76,61.09,82.72,25,126.07,24A80,80,0,0,1,208,104Z",opacity:"0.2"}),r.createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.65,71.65,0,0,0,27.64,56.3A32,32,0,0,1,96,186v6h64v-6a32.15,32.15,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Zm-16.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-32.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M174,232a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,232Zm40-128a85.56,85.56,0,0,1-32.88,67.64A18.23,18.23,0,0,0,174,186v6a14,14,0,0,1-14,14H96a14,14,0,0,1-14-14v-6a18,18,0,0,0-7-14.23h0a85.59,85.59,0,0,1-33-67.24C41.74,57.91,79.39,19.12,125.93,18A86,86,0,0,1,214,104Zm-12,0a74,74,0,0,0-75.79-74C86.17,31,53.78,64.34,54,104.42a73.67,73.67,0,0,0,28.4,57.87A29.92,29.92,0,0,1,94,186v6a2,2,0,0,0,2,2h64a2,2,0,0,0,2-2v-6a30.18,30.18,0,0,1,11.7-23.78A73.59,73.59,0,0,0,202,104Zm-20.08-9A55.58,55.58,0,0,0,137,50.08a6,6,0,1,0-2,11.84C152.38,64.84,167.13,79.6,170.08,97a6,6,0,0,0,5.91,5,6.87,6.87,0,0,0,1-.08A6,6,0,0,0,181.92,95Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.65,71.65,0,0,0,27.64,56.3A32,32,0,0,1,96,186v6h64v-6a32.15,32.15,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Zm-16.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M172,232a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,232Zm40-128a83.59,83.59,0,0,1-32.11,66.06A20.2,20.2,0,0,0,172,186v6a12,12,0,0,1-12,12H96a12,12,0,0,1-12-12v-6a20,20,0,0,0-7.76-15.81A83.58,83.58,0,0,1,44,104.47C43.75,59,80.52,21.09,126,20a84,84,0,0,1,86,84Zm-8,0a76,76,0,0,0-77.83-76C85,29,51.77,63.27,52,104.43a75.62,75.62,0,0,0,29.17,59.43A28,28,0,0,1,92,186v6a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4v-6a28.14,28.14,0,0,1,10.94-22.2A75.62,75.62,0,0,0,204,104ZM136.66,52.06a4,4,0,0,0-1.32,7.88C153.53,63,169,78.45,172.06,96.67A4,4,0,0,0,176,100a3.88,3.88,0,0,0,.67-.06,4,4,0,0,0,3.27-4.61A53.51,53.51,0,0,0,136.66,52.06Z"}))]]),ND=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M219.71,117.38a12,12,0,0,0-7.25-8.52L161.28,88.39l10.59-70.61a12,12,0,0,0-20.64-10l-112,120a12,12,0,0,0,4.31,19.33l51.18,20.47L84.13,238.22a12,12,0,0,0,20.64,10l112-120A12,12,0,0,0,219.71,117.38ZM113.6,203.55l6.27-41.77a12,12,0,0,0-7.41-12.92L68.74,131.37,142.4,52.45l-6.27,41.77a12,12,0,0,0,7.41,12.92l43.72,17.49Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M96,240l16-80L48,136,160,16,144,96l64,24Z",opacity:"0.2"}),r.createElement("path",{d:"M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.85,125.46l-112,120a8,8,0,0,1-13.69-7l14.66-73.33L45.19,143.49a8,8,0,0,1-3-13l112-120a8,8,0,0,1,13.69,7L153.18,90.9l57.63,21.61a8,8,0,0,1,3,12.95Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.84,118.63a6,6,0,0,0-3.73-4.25L150.88,92.17l15-75a6,6,0,0,0-10.27-5.27l-112,120a6,6,0,0,0,2.28,9.71l59.23,22.21-15,75a6,6,0,0,0,3.14,6.52A6.07,6.07,0,0,0,96,246a6,6,0,0,0,4.39-1.91l112-120A6,6,0,0,0,213.84,118.63ZM106,220.46l11.85-59.28a6,6,0,0,0-3.77-6.8l-55.6-20.85,91.46-98L138.12,94.82a6,6,0,0,0,3.77,6.8l55.6,20.85Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M211.89,119.09a4,4,0,0,0-2.49-2.84l-60.81-22.8,15.33-76.67a4,4,0,0,0-6.84-3.51l-112,120a4,4,0,0,0-1,3.64,4,4,0,0,0,2.49,2.84l60.81,22.8L92.08,239.22a4,4,0,0,0,6.84,3.51l112-120A4,4,0,0,0,211.89,119.09ZM102.68,227l13.24-66.2a4,4,0,0,0-2.52-4.53L55,134.36,153.32,29l-13.24,66.2a4,4,0,0,0,2.52,4.53L201,121.64Z"}))]]),MD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,64V192H40V64Z",opacity:"0.2"}),r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"}))]]),SD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H128a12,12,0,0,1,0-24h88A12,12,0,0,1,228,128ZM128,76h88a12,12,0,0,0,0-24H128a12,12,0,0,0,0,24Zm88,104H128a12,12,0,0,0,0,24h88a12,12,0,0,0,0-24ZM79.51,39.51,56,63l-7.51-7.52a12,12,0,0,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm0,64L56,127l-7.51-7.52a12,12,0,1,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm0,64L56,191l-7.51-7.52a12,12,0,1,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,64V192H128V64Z",opacity:"0.2"}),r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128ZM128,72h88a8,8,0,0,0,0-16H128a8,8,0,0,0,0,16Zm88,112H128a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16ZM82.34,42.34,56,68.69,45.66,58.34A8,8,0,0,0,34.34,69.66l16,16a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,82.34,42.34Zm0,64L56,132.69,45.66,122.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm0,64L56,196.69,45.66,186.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM117.66,149.66l-32,32a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,11.32-11.32L80,164.69l26.34-26.35a8,8,0,0,1,11.32,11.32Zm0-64-32,32a8,8,0,0,1-11.32,0l-16-16A8,8,0,0,1,69.66,90.34L80,100.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM192,168H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm0-64H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H128a6,6,0,0,1,0-12h88A6,6,0,0,1,222,128ZM128,70h88a6,6,0,0,0,0-12H128a6,6,0,0,0,0,12Zm88,116H128a6,6,0,0,0,0,12h88a6,6,0,0,0,0-12ZM83.76,43.76,56,71.51,44.24,59.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm0,64L56,135.51,44.24,123.76a6,6,0,1,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm0,64L56,199.51,44.24,187.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128ZM128,72h88a8,8,0,0,0,0-16H128a8,8,0,0,0,0,16Zm88,112H128a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16ZM82.34,42.34,56,68.69,45.66,58.34A8,8,0,0,0,34.34,69.66l16,16a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,82.34,42.34Zm0,64L56,132.69,45.66,122.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm0,64L56,196.69,45.66,186.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H128a4,4,0,0,1,0-8h88A4,4,0,0,1,220,128ZM128,68h88a4,4,0,0,0,0-8H128a4,4,0,0,0,0,8Zm88,120H128a4,4,0,0,0,0,8h88a4,4,0,0,0,0-8ZM85.17,45.17,56,74.34,42.83,61.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm0,64L56,138.34,42.83,125.17a4,4,0,1,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm0,64L56,202.34,42.83,189.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Z"}))]]),ZD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M209.84,47.44A91.42,91.42,0,0,0,144.62,20h-.35A91.44,91.44,0,0,0,79.15,47L17.76,109.17a20,20,0,0,0,.08,28.21L46.5,166a19.89,19.89,0,0,0,14.15,5.86h.11a19.86,19.86,0,0,0,14.2-6l60.87-62.39a12.07,12.07,0,0,1,16.77-.12,11.63,11.63,0,0,1,3.5,8.35,12.85,12.85,0,0,1-3.66,9.11L90.19,181a20,20,0,0,0-.21,28.5l28.66,28.66a20.08,20.08,0,0,0,28.15.14l61.76-60.44.09-.09C244.65,141.78,245.18,83.31,209.84,47.44ZM60.62,146.21l-23-23L55.81,104.8l22.88,22.88Zm72.2,72.18-23-23,18.61-18,22.88,22.87Zm58.89-57.62L168.48,183.5,145.7,160.73,169.21,138l.15-.14a37,37,0,0,0,10.74-26.37,35.44,35.44,0,0,0-10.85-25.41,36.2,36.2,0,0,0-50.44.48l-.1.11L95.46,110.49,72.68,87.72l23.5-23.8A67.55,67.55,0,0,1,144.27,44h.26a67.62,67.62,0,0,1,48.21,20.29C218.85,90.78,218.38,134.05,191.71,160.77Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168.36,200.36l-30,29.35a8,8,0,0,1-11.26-.05L98.46,201a8,8,0,0,1,.08-11.4l30-29Zm-142-82.76a8,8,0,0,0,0,11.28L55,157.54a8,8,0,0,0,11.38-.06l29.18-29.92L55.77,87.77Z",opacity:"0.2"}),r.createElement("path",{d:"M207,50.25A87.46,87.46,0,0,0,144.6,24h-.33A87.48,87.48,0,0,0,82,49.81L50.11,82.11h0L20.61,112a16,16,0,0,0,.06,22.56l28.66,28.66a15.92,15.92,0,0,0,11.32,4.69h.09a16,16,0,0,0,11.36-4.82L133,100.69a16.08,16.08,0,0,1,22.41-.21,15.6,15.6,0,0,1,4.73,11.19,16.89,16.89,0,0,1-4.85,12L93,183.88a16,16,0,0,0-.17,22.79l28.66,28.66a16.06,16.06,0,0,0,22.52.12L205.81,175C240.26,140.5,240.79,84.56,207,50.25ZM60.65,151.89,32,123.24,55.8,99.12l28.52,28.52ZM132.79,224l-28.68-28.65,24.38-23.57L157,200.32Zm61.76-60.44-26.11,25.54L140,160.68l26.44-25.57.1-.09a33,33,0,0,0,9.57-23.5A31.44,31.44,0,0,0,166.47,89a32.2,32.2,0,0,0-44.9.5L95.49,116.18,67,87.74,93.35,61.09A71.51,71.51,0,0,1,144.27,40h.27a71.55,71.55,0,0,1,51.05,21.48C223.25,89.55,222.75,135.38,194.55,163.58Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M207,50.25A87.46,87.46,0,0,0,144.6,24h-.33A87.48,87.48,0,0,0,82,49.81L20.61,112a16,16,0,0,0,.06,22.56l28.66,28.66a15.92,15.92,0,0,0,11.32,4.69h.09a16,16,0,0,0,11.36-4.82L133,100.69a16.08,16.08,0,0,1,22.41-.21,15.6,15.6,0,0,1,4.73,11.19,16.89,16.89,0,0,1-4.85,12L93,183.88a16,16,0,0,0-.17,22.79l28.66,28.66a16.06,16.06,0,0,0,22.52.12L205.81,175C240.26,140.5,240.79,84.56,207,50.25ZM60.65,151.89,32,123.24,61.42,93.43,89.9,121.91ZM132.79,224l-28.68-28.65,30.13-29.13,28.49,28.48Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M205.56,51.65A85.5,85.5,0,0,0,144.6,26h-.33A85.45,85.45,0,0,0,83.42,51.22L22,113.39a14,14,0,0,0,.06,19.74l28.66,28.66a13.89,13.89,0,0,0,9.9,4.1h.08a13.9,13.9,0,0,0,9.94-4.21l60.87-62.4A18.1,18.1,0,0,1,156.76,99a17.63,17.63,0,0,1,5.34,12.62,19,19,0,0,1-5.44,13.44L94.37,185.31a14,14,0,0,0-.15,19.95l28.67,28.66a14.05,14.05,0,0,0,19.7.1l61.8-60.49C238.07,139.86,238.6,85.18,205.56,51.65ZM62.08,153.29a2,2,0,0,1-1.42.6,2.15,2.15,0,0,1-1.42-.58L30.57,124.65a2,2,0,0,1,0-2.82L55.79,96.28l31.34,31.34Zm72.11,72.15a2,2,0,0,1-2.82,0l-28.66-28.66a2,2,0,0,1-.59-1.43,2,2,0,0,1,.6-1.41L128.51,169l31.34,31.33ZM196,165l-27.52,26.94-31.29-31.29,27.9-27,.07-.08a30.93,30.93,0,0,0,9-22.06,29.47,29.47,0,0,0-9-21.15,30.17,30.17,0,0,0-42.08.46L95.51,119,64.22,87.74,91.94,59.68A73.47,73.47,0,0,1,144.27,38h.28A73.52,73.52,0,0,1,197,60.08C225.44,88.92,224.94,136,196,165Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M207,50.25A87.46,87.46,0,0,0,144.6,24h-.33A87.48,87.48,0,0,0,82,49.81L20.61,112a16,16,0,0,0,.06,22.56l28.66,28.66a15.92,15.92,0,0,0,11.32,4.69h.09a16,16,0,0,0,11.36-4.82L133,100.69a16.08,16.08,0,0,1,22.41-.21,15.6,15.6,0,0,1,4.73,11.19,16.89,16.89,0,0,1-4.85,12L93,183.88a16,16,0,0,0-.17,22.79l28.66,28.66a16.06,16.06,0,0,0,22.52.12L205.81,175C240.26,140.5,240.79,84.56,207,50.25ZM60.65,151.89,32,123.24,55.8,99.12l28.52,28.52ZM132.79,224l-28.68-28.65,24.38-23.57L157,200.32Zm61.76-60.44-26.11,25.54L140,160.68l26.44-25.57.1-.09a33,33,0,0,0,9.57-23.5A31.44,31.44,0,0,0,166.47,89a32.2,32.2,0,0,0-44.9.5L95.49,116.18,67,87.74,93.35,61.09A71.51,71.51,0,0,1,144.27,40h.27a71.55,71.55,0,0,1,51.05,21.48C223.25,89.55,222.75,135.38,194.55,163.58Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M204.13,53.06A83.41,83.41,0,0,0,144.59,28h-.32A83.46,83.46,0,0,0,84.85,52.62L23.46,114.8a12,12,0,0,0,0,16.92l28.67,28.66a11.89,11.89,0,0,0,8.48,3.51h.07a12,12,0,0,0,8.52-3.61l60.89-62.42a20.1,20.1,0,0,1,28-.27,19.54,19.54,0,0,1,6,14,20.87,20.87,0,0,1-6,14.86L95.76,186.75a12,12,0,0,0-.12,17.09L124.3,232.5a12,12,0,0,0,16.89.08L203,172.12C235.88,139.21,236.4,85.8,204.13,53.06ZM63.51,154.69a3.93,3.93,0,0,1-2.83,1.2h0a4,4,0,0,1-2.83-1.17L29.16,126.06a4,4,0,0,1,0-5.64l26.63-27L89.94,127.6Zm72.08,72.18a4,4,0,0,1-5.63,0l-28.67-28.66a4,4,0,0,1,0-5.69l27.2-26.3,34.16,34.15Zm61.76-60.44-28.94,28.32-34.12-34.12,29.41-28.44a29,29,0,0,0,8.4-20.64,27.51,27.51,0,0,0-8.41-19.72,28.14,28.14,0,0,0-39.25.41L95.53,121.87,61.4,87.75,90.52,58.26A75.51,75.51,0,0,1,144.27,36h.29a75.53,75.53,0,0,1,53.87,22.67C227.63,88.3,227.13,136.65,197.35,166.43Z"}))]]),CD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),r.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),HD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,180a52.06,52.06,0,0,0,52-52V64A52,52,0,0,0,76,64v64A52.06,52.06,0,0,0,128,180ZM100,64a28,28,0,0,1,56,0v64a28,28,0,0,1-56,0Zm40,155.22V240a12,12,0,0,1-24,0V219.22A92.14,92.14,0,0,1,36,128a12,12,0,0,1,24,0,68,68,0,0,0,136,0,12,12,0,0,1,24,0A92.14,92.14,0,0,1,140,219.22Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,64v64a40,40,0,0,1-40,40h0a40,40,0,0,1-40-40V64a40,40,0,0,1,40-40h0A40,40,0,0,1,168,64Z",opacity:"0.2"}),r.createElement("path",{d:"M128,176a48.05,48.05,0,0,0,48-48V64a48,48,0,0,0-96,0v64A48.05,48.05,0,0,0,128,176ZM96,64a32,32,0,0,1,64,0v64a32,32,0,0,1-64,0Zm40,143.6V240a8,8,0,0,1-16,0V207.6A80.11,80.11,0,0,1,48,128a8,8,0,0,1,16,0,64,64,0,0,0,128,0,8,8,0,0,1,16,0A80.11,80.11,0,0,1,136,207.6Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M80,128V64a48,48,0,0,1,96,0v64a48,48,0,0,1-96,0Zm128,0a8,8,0,0,0-16,0,64,64,0,0,1-128,0,8,8,0,0,0-16,0,80.11,80.11,0,0,0,72,79.6V240a8,8,0,0,0,16,0V207.6A80.11,80.11,0,0,0,208,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,174a46.06,46.06,0,0,0,46-46V64a46,46,0,0,0-92,0v64A46.06,46.06,0,0,0,128,174ZM94,64a34,34,0,0,1,68,0v64a34,34,0,0,1-68,0Zm40,141.75V240a6,6,0,0,1-12,0V205.75A78.09,78.09,0,0,1,50,128a6,6,0,0,1,12,0,66,66,0,0,0,132,0,6,6,0,0,1,12,0A78.09,78.09,0,0,1,134,205.75Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,176a48.05,48.05,0,0,0,48-48V64a48,48,0,0,0-96,0v64A48.05,48.05,0,0,0,128,176ZM96,64a32,32,0,0,1,64,0v64a32,32,0,0,1-64,0Zm40,143.6V240a8,8,0,0,1-16,0V207.6A80.11,80.11,0,0,1,48,128a8,8,0,0,1,16,0,64,64,0,0,0,128,0,8,8,0,0,1,16,0A80.11,80.11,0,0,1,136,207.6Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,172a44.05,44.05,0,0,0,44-44V64a44,44,0,0,0-88,0v64A44.05,44.05,0,0,0,128,172ZM92,64a36,36,0,0,1,72,0v64a36,36,0,0,1-72,0Zm40,139.89V240a4,4,0,0,1-8,0V203.89A76.09,76.09,0,0,1,52,128a4,4,0,0,1,8,0,68,68,0,0,0,136,0,4,4,0,0,1,8,0A76.09,76.09,0,0,1,132,203.89Z"}))]]),_D=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M56.88,39.93A12,12,0,1,0,39.12,56.07L76,96.64V128a52,52,0,0,0,72.11,48l11.26,12.39A67.34,67.34,0,0,1,128,196a68.07,68.07,0,0,1-68-68,12,12,0,0,0-24,0,92.14,92.14,0,0,0,80,91.22V240a12,12,0,0,0,24,0V219.23a90.39,90.39,0,0,0,35.92-12.68l23.2,25.52a12,12,0,0,0,17.76-16.14ZM128,156a28,28,0,0,1-28-28v-5l29.9,32.89C129.27,156,128.64,156,128,156Zm63-2.42A67.63,67.63,0,0,0,196,128a12,12,0,0,1,24,0,91.48,91.48,0,0,1-6.74,34.61,12,12,0,0,1-22.23-9ZM85.7,33.75A52,52,0,0,1,180,64v56.54a12,12,0,0,1-24,0V64a28,28,0,0,0-50.79-16.28,12,12,0,0,1-19.51-14Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,64v64a40,40,0,0,1-40,40h0a40,40,0,0,1-40-40V64a40,40,0,0,1,40-40h0A40,40,0,0,1,168,64Z",opacity:"0.2"}),r.createElement("path",{d:"M213.92,218.62l-160-176A8,8,0,0,0,42.08,53.38L80,95.09V128a48,48,0,0,0,69.11,43.12l11.1,12.2A63.41,63.41,0,0,1,128,192a64.07,64.07,0,0,1-64-64,8,8,0,0,0-16,0,80.11,80.11,0,0,0,72,79.6V240a8,8,0,0,0,16,0V207.59a78.83,78.83,0,0,0,35.16-12.22l30.92,34a8,8,0,1,0,11.84-10.76ZM128,160a32,32,0,0,1-32-32V112.69l41.66,45.82A32,32,0,0,1,128,160Zm57.52-3.91A63.32,63.32,0,0,0,192,128a8,8,0,0,1,16,0,79.16,79.16,0,0,1-8.11,35.12,8,8,0,0,1-7.19,4.49,7.88,7.88,0,0,1-3.51-.82A8,8,0,0,1,185.52,156.09ZM84,44.87A48,48,0,0,1,176,64v64a49.19,49.19,0,0,1-.26,5,8,8,0,0,1-8,7.17,8.13,8.13,0,0,1-.84,0,8,8,0,0,1-7.12-8.79c.11-1.1.17-2.24.17-3.36V64A32,32,0,0,0,98.64,51.25,8,8,0,1,1,84,44.87Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.38,229.92a8,8,0,0,1-11.3-.54l-30.92-34A78.83,78.83,0,0,1,136,207.59V240a8,8,0,0,1-16,0V207.6A80.11,80.11,0,0,1,48,128a8,8,0,0,1,16,0,64.07,64.07,0,0,0,64,64,63.41,63.41,0,0,0,32.21-8.68l-11.1-12.2A48,48,0,0,1,80,128V95.09L42.08,53.38A8,8,0,0,1,53.92,42.62l160,176A8,8,0,0,1,213.38,229.92Zm-24.19-63.13a7.88,7.88,0,0,0,3.51.82,8,8,0,0,0,7.19-4.49A79.16,79.16,0,0,0,208,128a8,8,0,0,0-16,0,63.32,63.32,0,0,1-6.48,28.09A8,8,0,0,0,189.19,166.79Zm-27.33-29.22A8,8,0,0,0,175.74,133a49.49,49.49,0,0,0,.26-5V64A48,48,0,0,0,84,44.87a8,8,0,0,0,1.41,8.57Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212.44,220,52.44,44A6,6,0,0,0,43.56,52L82,94.32V128a46,46,0,0,0,67.56,40.64l13.75,15.12A65.26,65.26,0,0,1,128,194a66.08,66.08,0,0,1-66-66,6,6,0,0,0-12,0,78.09,78.09,0,0,0,72,77.75V240a6,6,0,0,0,12,0V205.77a76.93,76.93,0,0,0,37.48-13L203.56,228a6,6,0,0,0,8.88-8.08ZM128,162a34,34,0,0,1-34-34V107.52l47.12,51.84A33.82,33.82,0,0,1,128,162Zm59.32-5A65.38,65.38,0,0,0,194,128a6,6,0,0,1,12,0,77.33,77.33,0,0,1-7.9,34.25A6,6,0,1,1,187.32,157ZM85.8,45.67A46,46,0,0,1,174,64v64a45.17,45.17,0,0,1-.25,4.81,6,6,0,0,1-6,5.38q-.31,0-.63,0a6,6,0,0,1-5.34-6.59A35.41,35.41,0,0,0,162,128V64A34,34,0,0,0,96.8,50.45a6,6,0,0,1-11-4.78Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.92,218.62l-160-176A8,8,0,0,0,42.08,53.38L80,95.09V128a48,48,0,0,0,69.11,43.12l11.1,12.2A63.41,63.41,0,0,1,128,192a64.07,64.07,0,0,1-64-64,8,8,0,0,0-16,0,80.11,80.11,0,0,0,72,79.6V240a8,8,0,0,0,16,0V207.59a78.83,78.83,0,0,0,35.16-12.22l30.92,34a8,8,0,1,0,11.84-10.76ZM128,160a32,32,0,0,1-32-32V112.69l41.66,45.82A32,32,0,0,1,128,160Zm57.52-3.91A63.32,63.32,0,0,0,192,128a8,8,0,0,1,16,0,79.16,79.16,0,0,1-8.11,35.12,8,8,0,0,1-7.19,4.49,7.88,7.88,0,0,1-3.51-.82A8,8,0,0,1,185.52,156.09ZM84,44.87A48,48,0,0,1,176,64v64a49.19,49.19,0,0,1-.26,5,8,8,0,0,1-8,7.17,8.13,8.13,0,0,1-.84,0,8,8,0,0,1-7.12-8.79c.11-1.1.17-2.24.17-3.36V64A32,32,0,0,0,98.64,51.25,8,8,0,1,1,84,44.87Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M211,221.31,51,45.31A4,4,0,0,0,45,50.69L84,93.55V128a44,44,0,0,0,66,38.12l16.38,18A67.21,67.21,0,0,1,128,196a68.07,68.07,0,0,1-68-68,4,4,0,0,0-8,0,76.09,76.09,0,0,0,72,75.89V240a4,4,0,0,0,8,0V203.89a75.1,75.1,0,0,0,39.79-13.77L205,226.69a4,4,0,1,0,5.92-5.38ZM128,164a36,36,0,0,1-36-36V102.35L144.43,160A35.83,35.83,0,0,1,128,164Zm61.12-6.15A67.44,67.44,0,0,0,196,128a4,4,0,0,1,8,0,75.28,75.28,0,0,1-7.7,33.37,4,4,0,0,1-7.18-3.52ZM87.63,46.46A44,44,0,0,1,172,64v64a44.2,44.2,0,0,1-.24,4.61,4,4,0,0,1-4,3.58l-.42,0a4,4,0,0,1-3.57-4.39A36.67,36.67,0,0,0,164,128V64A36,36,0,0,0,95,49.66a4,4,0,0,1-7.34-3.2Z"}))]]),VD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128Z"}))]]),TD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M92,108a12,12,0,0,1,12-12h72a12,12,0,0,1,0,24H104A12,12,0,0,1,92,108Zm12,52h72a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24ZM236,64V184a28,28,0,0,1-28,28H36A32,32,0,0,1,4,180V88a12,12,0,0,1,24,0v92a8,8,0,0,0,16,0V64A20,20,0,0,1,64,44H216A20,20,0,0,1,236,64Zm-24,4H68V180a32,32,0,0,1-1,8H208a4,4,0,0,0,4-4Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,64V184a16,16,0,0,1-16,16H32a16,16,0,0,0,16-16V64a8,8,0,0,1,8-8H216A8,8,0,0,1,224,64Z",opacity:"0.2"}),r.createElement("path",{d:"M88,112a8,8,0,0,1,8-8h80a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm8,40h80a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,64V184a24,24,0,0,1-24,24H32A24,24,0,0,1,8,184.11V88a8,8,0,0,1,16,0v96a8,8,0,0,0,16,0V64A16,16,0,0,1,56,48H216A16,16,0,0,1,232,64Zm-16,0H56V184a23.84,23.84,0,0,1-1.37,8H208a8,8,0,0,0,8-8Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H56A16,16,0,0,0,40,64V184a8,8,0,0,1-16,0V88A8,8,0,0,0,8,88v96.11A24,24,0,0,0,32,208H208a24,24,0,0,0,24-24V64A16,16,0,0,0,216,48ZM176,152H96a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M182,112a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h80A6,6,0,0,1,182,112Zm-6,26H96a6,6,0,0,0,0,12h80a6,6,0,0,0,0-12Zm54-74V184a22,22,0,0,1-22,22H32a22,22,0,0,1-22-21.91V88a6,6,0,0,1,12,0v96a10,10,0,0,0,20,0V64A14,14,0,0,1,56,50H216A14,14,0,0,1,230,64Zm-12,0a2,2,0,0,0-2-2H56a2,2,0,0,0-2,2V184a21.84,21.84,0,0,1-2.41,10H208a10,10,0,0,0,10-10Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M88,112a8,8,0,0,1,8-8h80a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm8,40h80a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,64V184a24,24,0,0,1-24,24H32A24,24,0,0,1,8,184.11V88a8,8,0,0,1,16,0v96a8,8,0,0,0,16,0V64A16,16,0,0,1,56,48H216A16,16,0,0,1,232,64Zm-16,0H56V184a23.84,23.84,0,0,1-1.37,8H208a8,8,0,0,0,8-8Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M180,112a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h80A4,4,0,0,1,180,112Zm-4,28H96a4,4,0,0,0,0,8h80a4,4,0,0,0,0-8Zm52-76V184a20,20,0,0,1-20,20H32a20,20,0,0,1-20-19.92V88a4,4,0,0,1,8,0v96a12,12,0,0,0,24,0V64A12,12,0,0,1,56,52H216A12,12,0,0,1,228,64Zm-8,0a4,4,0,0,0-4-4H56a4,4,0,0,0-4,4V184a19.86,19.86,0,0,1-4,12H208a12,12,0,0,0,12-12Z"}))]]),LD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M84,108A12,12,0,0,1,96,96h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,108Zm32,28H96a12,12,0,0,0,0,24h20a12,12,0,0,0,0-24ZM228,48V156.69a19.86,19.86,0,0,1-5.86,14.14l-51.31,51.31A19.86,19.86,0,0,1,156.69,228H48a20,20,0,0,1-20-20V48A20,20,0,0,1,48,28H208A20,20,0,0,1,228,48ZM52,204h92V156a12,12,0,0,1,12-12h48V52H52Zm139-36H168v23Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,160l-56,56V160Z",opacity:"0.2"}),r.createElement("path",{d:"M88,96a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,96Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16Zm32,16H96a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16ZM224,48V156.69A15.86,15.86,0,0,1,219.31,168L168,219.31A15.86,15.86,0,0,1,156.69,224H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM48,208H152V160a8,8,0,0,1,8-8h48V48H48Zm120-40v28.7L196.69,168Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H156.69A15.92,15.92,0,0,0,168,219.31L219.31,168A15.92,15.92,0,0,0,224,156.69V48A16,16,0,0,0,208,32ZM96,88h64a8,8,0,0,1,0,16H96a8,8,0,0,1,0-16Zm32,80H96a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16ZM96,136a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm64,68.69V160h44.7Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M90,96a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H96A6,6,0,0,1,90,96Zm6,38h64a6,6,0,0,0,0-12H96a6,6,0,0,0,0,12Zm32,20H96a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12ZM222,48V156.69a13.94,13.94,0,0,1-4.1,9.9L166.59,217.9a13.94,13.94,0,0,1-9.9,4.1H48a14,14,0,0,1-14-14V48A14,14,0,0,1,48,34H208A14,14,0,0,1,222,48ZM48,210H154V160a6,6,0,0,1,6-6h50V48a2,2,0,0,0-2-2H48a2,2,0,0,0-2,2V208A2,2,0,0,0,48,210Zm153.52-44H166v35.52Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M88,96a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,96Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16Zm32,16H96a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16ZM224,48V156.69A15.86,15.86,0,0,1,219.31,168L168,219.31A15.86,15.86,0,0,1,156.69,224H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM48,208H152V160a8,8,0,0,1,8-8h48V48H48Zm120-40v28.7L196.69,168Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M92,96a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H96A4,4,0,0,1,92,96Zm4,36h64a4,4,0,0,0,0-8H96a4,4,0,0,0,0,8Zm32,24H96a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8ZM220,48V156.69a11.9,11.9,0,0,1-3.52,8.48l-51.31,51.32a11.93,11.93,0,0,1-8.48,3.51H48a12,12,0,0,1-12-12V48A12,12,0,0,1,48,36H208A12,12,0,0,1,220,48ZM48,212H156V160a4,4,0,0,1,4-4h52V48a4,4,0,0,0-4-4H48a4,4,0,0,0-4,4V208A4,4,0,0,0,48,212Zm158.35-48H164v42.35Z"}))]]),RD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M108,108a12,12,0,0,1,12-12h56a12,12,0,0,1,0,24H120A12,12,0,0,1,108,108Zm68,28H120a12,12,0,0,0,0,24h56a12,12,0,0,0,0-24Zm52-88V208a20,20,0,0,1-20,20H48a20,20,0,0,1-20-20V48A20,20,0,0,1,48,28H208A20,20,0,0,1,228,48ZM52,204H68V52H52ZM204,52H92V204H204Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M80,40V216H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8Z",opacity:"0.2"}),r.createElement("path",{d:"M184,112a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h64A8,8,0,0,1,184,112Zm-8,24H112a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm48-88V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM48,208H72V48H48Zm160,0V48H88V208H208Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM80,208H48V48H80Zm96-56H112a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H112a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M182,112a6,6,0,0,1-6,6H112a6,6,0,0,1,0-12h64A6,6,0,0,1,182,112Zm-6,26H112a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm46-90V208a14,14,0,0,1-14,14H48a14,14,0,0,1-14-14V48A14,14,0,0,1,48,34H208A14,14,0,0,1,222,48ZM48,210H74V46H48a2,2,0,0,0-2,2V208A2,2,0,0,0,48,210ZM210,48a2,2,0,0,0-2-2H86V210H208a2,2,0,0,0,2-2Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M184,112a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h64A8,8,0,0,1,184,112Zm-8,24H112a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm48-88V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM48,208H72V48H48Zm160,0V48H88V208H208Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M180,112a4,4,0,0,1-4,4H112a4,4,0,0,1,0-8h64A4,4,0,0,1,180,112Zm-4,28H112a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm44-92V208a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V48A12,12,0,0,1,48,36H208A12,12,0,0,1,220,48ZM48,212H76V44H48a4,4,0,0,0-4,4V208A4,4,0,0,0,48,212ZM212,48a4,4,0,0,0-4-4H84V212H208a4,4,0,0,0,4-4Z"}))]]),kD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M233.86,110.48,65.8,14.58A20,20,0,0,0,37.15,38.64L67.33,128,37.15,217.36A20,20,0,0,0,56,244a20.1,20.1,0,0,0,9.81-2.58l.09-.06,168-96.07a20,20,0,0,0,0-34.81ZM63.19,215.26,88.61,140H144a12,12,0,0,0,0-24H88.61L63.18,40.72l152.76,87.17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.91,134.86,59.93,231a8,8,0,0,1-11.44-9.67L80,128,48.49,34.72a8,8,0,0,1,11.44-9.67l168,95.85A8,8,0,0,1,227.91,134.86Z",opacity:"0.2"}),r.createElement("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,127.89a16,16,0,0,1-8.18,14L63.9,237.9A16.15,16.15,0,0,1,56,240a16,16,0,0,1-15-21.33l27-79.95A4,4,0,0,1,71.72,136H144a8,8,0,0,0,8-8.53,8.19,8.19,0,0,0-8.26-7.47h-72a4,4,0,0,1-3.79-2.72l-27-79.94A16,16,0,0,1,63.84,18.07l168,95.89A16,16,0,0,1,240,127.89Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.88,115.69l-168-95.88a14,14,0,0,0-20,16.87L73.66,128,42.81,219.33A14,14,0,0,0,56,238a14.15,14.15,0,0,0,6.93-1.83L230.84,140.1a14,14,0,0,0,0-24.41Zm-5.95,14L57,225.73a2,2,0,0,1-2.86-2.42.42.42,0,0,0,0-.1L84.3,134H144a6,6,0,0,0,0-12H84.3L54.17,32.8a.3.3,0,0,0,0-.1,1.87,1.87,0,0,1,.6-2.2A1.85,1.85,0,0,1,57,30.25l168,95.89a1.93,1.93,0,0,1,1,1.74A2,2,0,0,1,224.93,129.66Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M229.89,117.43l-168-95.88A12,12,0,0,0,44.7,36l31.08,92L44.71,220A12,12,0,0,0,56,236a12.13,12.13,0,0,0,5.93-1.57l167.94-96.08a12,12,0,0,0,0-20.92Zm-4,14L58,227.47a4,4,0,0,1-5.72-4.83l0-.07L82.87,132H144a4,4,0,0,0,0-8H82.87L52.26,33.37A3.89,3.89,0,0,1,53.44,29,4.13,4.13,0,0,1,56,28a3.88,3.88,0,0,1,1.93.54l168,95.87a4,4,0,0,1,0,7Z"}))]]),DD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,28H160a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V48A20,20,0,0,0,200,28Zm-4,176H164V52h32ZM96,28H56A20,20,0,0,0,36,48V208a20,20,0,0,0,20,20H96a20,20,0,0,0,20-20V48A20,20,0,0,0,96,28ZM92,204H60V52H92Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,48V208a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8h40A8,8,0,0,1,208,48ZM96,40H56a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z",opacity:"0.2"}),r.createElement("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48V208a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h40A16,16,0,0,1,216,48ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,34H160a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V48A14,14,0,0,0,200,34Zm2,174a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2h40a2,2,0,0,1,2,2ZM96,34H56A14,14,0,0,0,42,48V208a14,14,0,0,0,14,14H96a14,14,0,0,0,14-14V48A14,14,0,0,0,96,34Zm2,174a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H96a2,2,0,0,1,2,2Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,36H160a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V48A12,12,0,0,0,200,36Zm4,172a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4h40a4,4,0,0,1,4,4ZM96,36H56A12,12,0,0,0,44,48V208a12,12,0,0,0,12,12H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Zm4,172a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H96a4,4,0,0,1,4,4Z"}))]]),OD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM93,180l71-71,11,11-71,71ZM76,163,65,152l71-71,11,11ZM52,173l15.51,15.51h0L83,204H52ZM192,103,153,64l18.34-18.34,39,39Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"}),r.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160,136,75.31,152.69,92,68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188,164,103.31,180.69,120Zm96-96L147.31,64l24-24L216,84.68Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160l90.35-90.35,16.68,16.69L68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188l90.35-90.35h0l16.68,16.69Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM48.49,160,136,72.48,155.51,92,68,179.51ZM46,208V174.48L81.51,210H48A2,2,0,0,1,46,208Zm50-.49L76.49,188,164,100.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160,136,75.31,152.69,92,68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188,164,103.31,180.69,120Zm96-96L147.31,64l24-24L216,84.68Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17ZM45.66,160,136,69.65,158.34,92,68,182.34ZM44,208V169.66l21.17,21.17h0L86.34,212H48A4,4,0,0,1,44,208Zm52,2.34L73.66,188,164,97.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"}))]]),FD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.15,70.54,185.46,25.86a20,20,0,0,0-28.28,0L33.86,149.17A19.86,19.86,0,0,0,28,163.31V208a20,20,0,0,0,20,20H216a12,12,0,0,0,0-24H125L230.15,98.83A20,20,0,0,0,230.15,70.54ZM136,81l11,11L76,163,65,152ZM52,204V173l15.52,15.51h0L83,204Zm52-13L93,180l71-71,11,11Zm88-88L153,64l18.34-18.34,39,39Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"}),r.createElement("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM79.32,188,164,103.31,180.69,120,96,204.69ZM68,176.69,51.31,160,136,75.31,152.69,92Zm-20,2.62L76.69,208H48Zm144-70.62L147.32,64l24-24L216,84.69Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM79.32,188l90.34-90.34,16.69,16.68L96,204.69Zm79-101.66h0L68,176.69,51.31,160l90.35-90.34ZM48,179.31,76.69,208H48Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M225.91,74.79,181.22,30.1a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H216a6,6,0,0,0,0-12H110.49L225.91,94.59A14,14,0,0,0,225.91,74.79ZM76.49,188,164,100.48,183.52,120,96,207.51ZM68,179.52,48.49,160,136,72.49,155.52,92ZM46,208V174.48L81.52,210H48A2,2,0,0,1,46,208ZM217.42,86.1,192,111.52,144.49,64,169.9,38.59a2,2,0,0,1,2.83,0l44.69,44.68A2,2,0,0,1,217.42,86.1Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM136,75.31,152.69,92,68,176.69,51.31,160ZM48,208V179.31L76.69,208Zm48-3.31L79.32,188,164,103.31,180.69,120Zm96-96L147.32,64l24-24L216,84.69Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L39.51,154.83A12,12,0,0,0,36,163.31V208a12,12,0,0,0,12,12H216a4,4,0,0,0,0-8H105.66L224.49,93.17A12,12,0,0,0,224.49,76.2ZM73.66,188,164,97.66,186.35,120,96,210.34ZM68,182.34,45.66,160,136,69.66,158.35,92ZM44,208V169.66l21.17,21.17h0L86.34,212H48A4,4,0,0,1,44,208ZM218.83,87.51,192,114.34,141.66,64l26.83-26.83a4,4,0,0,1,5.66,0l44.68,44.69A4,4,0,0,1,218.83,87.51Z"}))]]),qD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"}),r.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"}))]]),zD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M234.39,87.29c-57.67-57.72-155.11-57.72-212.78,0-21.45,21.47-23.52,53.13-5,77a20,20,0,0,0,22.92,6.37L88.4,153.29l.45-.16A20,20,0,0,0,101,138.47l5.44-27.24a72.48,72.48,0,0,1,42.76-.09L155,138.62a20,20,0,0,0,12.14,14.49l.45.17,48.94,17.37a20,20,0,0,0,22.91-6.37C257.91,140.42,255.84,108.76,234.39,87.29Zm-12.23,59.9L178,131.5,172.24,104a20,20,0,0,0-13-14.8,96.49,96.49,0,0,0-62.94.14A20,20,0,0,0,83.4,104.24L78,131.53,33.84,147.19c-9.16-13.85-7.41-30.77,4.73-42.92C62.81,80,95.41,67.88,128,67.88S193.19,80,217.43,104.27C229.57,116.42,231.32,133.35,222.16,147.19ZM228,200a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,200Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230,157a8,8,0,0,1-9.26,2.47L171.58,142a8,8,0,0,1-4.86-5.8l-6.21-29.74a7.94,7.94,0,0,0-5.14-5.9,84.39,84.39,0,0,0-55.1.13,7.93,7.93,0,0,0-5.12,6l-5.9,29.51A8,8,0,0,1,84.38,142L35.29,159.42A8,8,0,0,1,26,157c-14.6-18.83-13.26-43.83,4-61.12,53.11-53.11,142.77-53.11,195.88,0C243.23,113.12,244.57,138.12,230,157Z",opacity:"0.2"}),r.createElement("path",{d:"M231.59,90.13h0C175.44,34,80.56,34,24.41,90.13c-20,20-21.92,49.49-4.69,71.71A16,16,0,0,0,32.35,168a15.8,15.8,0,0,0,5.75-1.08l49-17.37.29-.11a16,16,0,0,0,9.75-11.73l5.9-29.52a76.52,76.52,0,0,1,49.68-.11h0l6.21,29.75a16,16,0,0,0,9.72,11.59l.29.11,49,17.39a16,16,0,0,0,18.38-5.06C253.51,139.62,251.58,110.13,231.59,90.13ZM223.67,152l-.3-.12-48.82-17.33-6.21-29.74A16,16,0,0,0,158,93a92.56,92.56,0,0,0-60.34.13,16,16,0,0,0-10.32,12l-5.9,29.51L32.63,151.86c-.1,0-.17.13-.27.17-12.33-15.91-11-36.23,3.36-50.58,25-25,58.65-37.53,92.28-37.53s67.27,12.51,92.28,37.53C234.61,115.8,236,136.12,223.67,152Zm.32,48a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,200Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236.28,161.84a16,16,0,0,1-18.38,5.06l-49-17.39-.29-.11a16,16,0,0,1-9.72-11.59l-6.21-29.75h0a76.52,76.52,0,0,0-49.68.11l-5.9,29.52a16,16,0,0,1-9.75,11.73l-.29.11-49,17.37A15.8,15.8,0,0,1,32.35,168a16,16,0,0,1-12.63-6.14c-17.23-22.22-15.3-51.71,4.69-71.71,56.15-56.17,151-56.17,207.18,0h0C251.58,110.13,253.51,139.62,236.28,161.84ZM216,192H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.19,91.55h0c-55.39-55.4-149-55.4-204.38,0C6.56,110.82,4.7,139.22,21.29,160.61A14,14,0,0,0,37.39,165l49-17.38.22-.09a13.93,13.93,0,0,0,8.53-10.25l5.9-29.52a1.93,1.93,0,0,1,1.21-1.47,78.53,78.53,0,0,1,51.18-.11,1.93,1.93,0,0,1,1.22,1.45l6.21,29.75a14,14,0,0,0,8.5,10.14l.23.08,49,17.4a14,14,0,0,0,16.1-4.42C251.3,139.22,249.44,110.82,230.19,91.55Zm-5,61.71a2,2,0,0,1-2.29.58l-.22-.09-49-17.38A2,2,0,0,1,172.6,135l-6.22-29.74a14,14,0,0,0-9.06-10.35,90.53,90.53,0,0,0-59,.13,14,14,0,0,0-9,10.45L83.37,135a2,2,0,0,1-1.15,1.44L33.28,153.75l-.22.09a2,2,0,0,1-2.29-.58c-13-16.74-11.56-38.12,3.53-53.22,25.39-25.4,59.55-38.1,93.7-38.1s68.31,12.7,93.7,38.1C236.79,115.14,238.21,136.52,225.23,153.26ZM222,200a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,200Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M231.59,90.13h0C175.44,34,80.56,34,24.41,90.13c-20,20-21.92,49.49-4.69,71.71A16,16,0,0,0,32.35,168a15.8,15.8,0,0,0,5.75-1.08l49-17.37.29-.11a16,16,0,0,0,9.75-11.73l5.9-29.52a76.52,76.52,0,0,1,49.68-.11h0l6.21,29.75a16,16,0,0,0,9.72,11.59l.29.11,49,17.39a16,16,0,0,0,18.38-5.06C253.51,139.62,251.58,110.13,231.59,90.13ZM223.67,152l-.3-.12-48.82-17.33-6.21-29.74A16,16,0,0,0,158,93a92.56,92.56,0,0,0-60.34.13,16,16,0,0,0-10.32,12l-5.9,29.51L32.63,151.86c-.1,0-.17.13-.27.17-12.33-15.91-11-36.23,3.36-50.58,25-25,58.65-37.53,92.28-37.53s67.27,12.51,92.28,37.53C234.61,115.8,236,136.12,223.67,152Zm.32,48a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,200Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228.79,93C174.15,38.34,81.85,38.34,27.21,93,8.69,111.5,6.9,138.81,22.85,159.39a12,12,0,0,0,13.83,3.77l49-17.39.15-.06a12,12,0,0,0,7.31-8.79l5.9-29.51a3.93,3.93,0,0,1,2.51-3,80.59,80.59,0,0,1,52.5-.12,3.94,3.94,0,0,1,2.52,2.94L162.81,137a12,12,0,0,0,7.29,8.69l.15.06,49.07,17.41a12,12,0,0,0,13.83-3.77C249.1,138.81,247.31,111.5,228.79,93Zm-2,61.51a4,4,0,0,1-4.61,1.21l-.15-.06L173,138.24a4,4,0,0,1-2.37-2.87l-6.21-29.75a12,12,0,0,0-7.75-8.87,88.63,88.63,0,0,0-57.74.14,12,12,0,0,0-7.72,9l-5.9,29.51A4,4,0,0,1,83,138.26l-49,17.38-.15.06a4,4,0,0,1-4.61-1.21c-13.42-17.3-11.9-40.26,3.69-55.85C58.65,72.85,93.33,60,128,60s69.35,12.89,95.13,38.68C238.71,114.23,240.24,137.19,226.82,154.49ZM220,200a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,200Z"}))]]),BD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"}),r.createElement("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"}))]]),$D=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240.49,63.51a12,12,0,0,0-17,0L192,95,161,64l31.52-31.51a12,12,0,0,0-17-17L144,47,120.49,23.51a12,12,0,1,0-17,17L107,44,56.89,94.14a44,44,0,0,0,0,62.23l12.88,12.88L23.51,215.51a12,12,0,0,0,17,17l46.26-46.26,12.88,12.88a44,44,0,0,0,62.23,0L212,149l3.51,3.52a12,12,0,0,0,17-17L209,112l31.52-31.51A12,12,0,0,0,240.49,63.51Zm-95.6,118.63a20,20,0,0,1-28.29,0L73.86,139.4a20,20,0,0,1,0-28.29L124,61l71,71Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212,132l-58.63,58.63a32,32,0,0,1-45.25,0L65.37,147.88a32,32,0,0,1,0-45.25L124,44Z",opacity:"0.2"}),r.createElement("path",{d:"M237.66,66.34a8,8,0,0,0-11.32,0L192,100.69,155.31,64l34.35-34.34a8,8,0,1,0-11.32-11.32L144,52.69,117.66,26.34a8,8,0,0,0-11.32,11.32L112.69,44l-53,53a40,40,0,0,0,0,56.57l15.71,15.71L26.34,218.34a8,8,0,0,0,11.32,11.32l49.09-49.09,15.71,15.71a40,40,0,0,0,56.57,0l53-53,6.34,6.35a8,8,0,0,0,11.32-11.32L203.31,112l34.35-34.34A8,8,0,0,0,237.66,66.34ZM147.72,185a24,24,0,0,1-33.95,0L71,142.23a24,24,0,0,1,0-33.95l53-53L200.69,132Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M237.66,77.66,203.31,112l26.35,26.34a8,8,0,0,1-11.32,11.32L212,143.31l-53,53a40,40,0,0,1-56.57,0L86.75,180.57,37.66,229.66a8,8,0,0,1-11.32-11.32l49.09-49.09L59.72,153.54a40,40,0,0,1,0-56.57l53-53-6.35-6.34a8,8,0,0,1,11.32-11.32L144,52.69l34.34-34.35a8,8,0,1,1,11.32,11.32L155.31,64,192,100.69l34.34-34.35a8,8,0,0,1,11.32,11.32Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236.24,67.76a6,6,0,0,0-8.48,0L192,103.51,152.49,64l35.75-35.76a6,6,0,0,0-8.48-8.48L144,55.51,116.24,27.76a6,6,0,1,0-8.48,8.48L115.51,44,61.13,98.38a38,38,0,0,0,0,53.75l17.13,17.12-50.5,50.51a6,6,0,1,0,8.48,8.48l50.51-50.5,17.13,17.13a38,38,0,0,0,53.74,0L212,140.49l7.76,7.75a6,6,0,0,0,8.48-8.48L200.49,112l35.75-35.76A6,6,0,0,0,236.24,67.76ZM149.13,186.38a26,26,0,0,1-36.77,0L69.62,143.64a26,26,0,0,1,0-36.77L124,52.49,203.51,132Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M237.66,66.34a8,8,0,0,0-11.32,0L192,100.69,155.31,64l34.35-34.34a8,8,0,1,0-11.32-11.32L144,52.69,117.66,26.34a8,8,0,0,0-11.32,11.32L112.69,44l-53,53a40,40,0,0,0,0,56.57l15.71,15.71L26.34,218.34a8,8,0,0,0,11.32,11.32l49.09-49.09,15.71,15.71a40,40,0,0,0,56.57,0l53-53,6.34,6.35a8,8,0,0,0,11.32-11.32L203.31,112l34.35-34.34A8,8,0,0,0,237.66,66.34ZM147.72,185a24,24,0,0,1-33.95,0L71,142.23a24,24,0,0,1,0-33.95l53-53L200.69,132Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M234.83,69.17a4,4,0,0,0-5.66,0L192,106.34,149.66,64l37.17-37.17a4,4,0,1,0-5.66-5.66L144,58.34,114.83,29.17a4,4,0,0,0-5.66,5.66L118.34,44,62.54,99.8a36.05,36.05,0,0,0,0,50.91l18.55,18.54L29.17,221.17a4,4,0,0,0,5.66,5.66l51.92-51.92,18.54,18.55a36.06,36.06,0,0,0,50.91,0l55.8-55.8,9.17,9.17a4,4,0,0,0,5.66-5.66L197.66,112l37.17-37.17A4,4,0,0,0,234.83,69.17ZM150.54,187.8a28,28,0,0,1-39.59,0L68.2,145.05a28,28,0,0,1,0-39.59L124,49.66,206.34,132Z"}))]]),UD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240.49,15.51a12,12,0,0,0-17,0L173.94,65.09l-2.54-2.55a36.05,36.05,0,0,0-50.91,0L100,83l-3.51-3.52a12,12,0,0,0-17,17L83,100,62.54,120.49a36,36,0,0,0,0,50.91l2.55,2.54L15.51,223.51a12,12,0,0,0,17,17l49.57-49.58,2.54,2.55a36.06,36.06,0,0,0,50.91,0L156,173l3.51,3.52a12,12,0,0,0,17-17L173,156l20.49-20.49a36,36,0,0,0,0-50.91l-2.55-2.54,49.58-49.57A12,12,0,0,0,240.49,15.51Zm-121.95,161a12,12,0,0,1-17,0L79.51,154.43a12,12,0,0,1,0-17L100,117l39,39Zm58-57.95h0L156,139l-39-39,20.49-20.49a12,12,0,0,1,17,0l22.06,22.06a12,12,0,0,1,0,17ZM85.27,33.37a12,12,0,0,1,21.46-10.74l8,16A12,12,0,1,1,93.27,49.37Zm-68,57.26a12,12,0,0,1,16.1-5.36l16,8a12,12,0,1,1-10.74,21.46l-16-8A12,12,0,0,1,17.27,90.63Zm221.46,74.74a12,12,0,0,1-16.1,5.36l-16-8a12,12,0,0,1,10.74-21.46l16,8A12,12,0,0,1,238.73,165.37Zm-68,57.26a12,12,0,1,1-21.46,10.74l-8-16a12,12,0,0,1,21.46-10.74Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M185,127,127,185a24,24,0,0,1-33.94,0L71,162.91A24,24,0,0,1,71,129L129,71a24,24,0,0,1,33.94,0L185,93.09A24,24,0,0,1,185,127Z",opacity:"0.2"}),r.createElement("path",{d:"M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32.06,32.06,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94h0L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22a16,16,0,0,1,0,22.63ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM29,103.43l20,8A8,8,0,1,0,55,96.57l-20-8A8,8,0,0,0,29,103.43ZM227,152.57l-20-8A8,8,0,1,0,201,159.43l20,8A8,8,0,0,0,227,152.57ZM159.43,201A8,8,0,0,0,144.57,207l8,20A8,8,0,1,0,167.43,221ZM237.91,18.52a8,8,0,0,0-11.5-.18L174,70.75l-5.38-5.38a32,32,0,0,0-45.28,0L106.14,82.54a4,4,0,0,0,0,5.66l61.7,61.66a4,4,0,0,0,5.66,0l16.74-16.74a32.76,32.76,0,0,0,9.81-22.52,31.82,31.82,0,0,0-9.37-23.17l-5.38-5.37,52.2-52.17A8.22,8.22,0,0,0,237.91,18.52ZM85.64,90.34a8,8,0,0,0-11.49.18,8.22,8.22,0,0,0,.41,11.37L80.67,108,65.34,123.31A31.82,31.82,0,0,0,56,146.47,32.75,32.75,0,0,0,65.77,169l5,4.94L18.49,226.13a8.21,8.21,0,0,0-.61,11.1,8,8,0,0,0,11.72.43L82,185.25l5.37,5.38a32.1,32.1,0,0,0,45.29,0L148,175.31l6.34,6.35a8,8,0,0,0,11.32-11.32Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236.24,19.76a6,6,0,0,0-8.48,0L173.94,73.57l-6.79-6.78a30,30,0,0,0-42.42,0L100,91.51l-7.76-7.75a6,6,0,0,0-8.48,8.48L91.51,100,66.79,124.73a30,30,0,0,0,0,42.42l6.78,6.79L19.76,227.76a6,6,0,1,0,8.48,8.48l53.82-53.81,6.79,6.78a30,30,0,0,0,42.42,0L156,164.49l7.76,7.75a6,6,0,0,0,8.48-8.48L164.49,156l24.72-24.73a30,30,0,0,0,0-42.42l-6.78-6.79,53.81-53.82A6,6,0,0,0,236.24,19.76Zm-113.45,161a18,18,0,0,1-25.46,0L75.27,158.67a18,18,0,0,1,0-25.46L100,108.49,147.51,156Zm57.94-57.94L156,147.51,108.49,100l24.72-24.73a18,18,0,0,1,25.46,0l22.06,22.06a18,18,0,0,1,0,25.46ZM90.43,34.23a6,6,0,0,1,11.14-4.46l8,20a6,6,0,1,1-11.14,4.46Zm-64,59.54a6,6,0,0,1,7.8-3.34l20,8a6,6,0,1,1-4.46,11.14l-20-8A6,6,0,0,1,26.43,93.77Zm203.14,68.46a6,6,0,0,1-7.8,3.34l-20-8a6,6,0,0,1,4.46-11.14l20,8A6,6,0,0,1,229.57,162.23Zm-64,59.54a6,6,0,1,1-11.14,4.46l-8-20a6,6,0,0,1,11.14-4.46Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32,32,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22A16,16,0,0,1,179.31,121.37ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M234.83,21.17a4,4,0,0,0-5.66,0L173.94,76.4l-8.2-8.2a28,28,0,0,0-39.6,0L100,94.34l-9.17-9.17a4,4,0,0,0-5.66,5.66L94.34,100,68.2,126.14a28,28,0,0,0,0,39.6l8.2,8.2L21.17,229.17a4,4,0,0,0,5.66,5.66L82.06,179.6l8.2,8.2a28,28,0,0,0,39.6,0L156,161.66l9.17,9.17a4,4,0,0,0,5.66-5.66L161.66,156l26.14-26.14a28,28,0,0,0,0-39.6l-8.2-8.2,55.23-55.23A4,4,0,0,0,234.83,21.17Zm-110.63,161a20,20,0,0,1-28.28,0L73.86,160.08a20,20,0,0,1,0-28.28L100,105.66,150.34,156Zm57.94-57.94L156,150.34,105.66,100,131.8,73.86a20,20,0,0,1,28.28,0l22.06,22.06A20,20,0,0,1,182.14,124.2ZM92.29,33.49a4,4,0,1,1,7.42-3l8,20a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,104,56a4,4,0,0,1-3.71-2.51Zm-64,61a4,4,0,0,1,5.2-2.22l20,8A4,4,0,0,1,52,108a3.91,3.91,0,0,1-1.49-.29l-20-8A4,4,0,0,1,28.29,94.51Zm199.42,67A4,4,0,0,1,224,164a3.91,3.91,0,0,1-1.49-.29l-20-8a4,4,0,1,1,3-7.42l20,8A4,4,0,0,1,227.71,161.49Zm-64,61a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,160,228a4,4,0,0,1-3.71-2.51l-8-20a4,4,0,0,1,7.42-3Z"}))]]),ID=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]),PD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M116,128V48a12,12,0,0,1,24,0v80a12,12,0,0,1-24,0Zm66.55-82a12,12,0,0,0-13.1,20.1C191.41,80.37,204,103,204,128a76,76,0,0,1-152,0c0-25,12.59-47.63,34.55-61.95A12,12,0,0,0,73.45,46C44.56,64.78,28,94.69,28,128a100,100,0,0,0,200,0C228,94.69,211.44,64.78,182.55,46Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),r.createElement("path",{d:"M120,128V48a8,8,0,0,1,16,0v80a8,8,0,0,1-16,0Zm60.37-78.7a8,8,0,0,0-8.74,13.4C194.74,77.77,208,101.57,208,128a80,80,0,0,1-160,0c0-26.43,13.26-50.23,36.37-65.3a8,8,0,0,0-8.74-13.4C47.9,67.38,32,96.06,32,128a96,96,0,0,0,192,0C224,96.06,208.1,67.38,180.37,49.3Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104,104,0,0,0,128,24Zm-8,40a8,8,0,0,1,16,0v64a8,8,0,0,1-16,0Zm8,144A80,80,0,0,1,83.55,61.48a8,8,0,1,1,8.9,13.29,64,64,0,1,0,71.1,0,8,8,0,1,1,8.9-13.29A80,80,0,0,1,128,208Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M122,128V48a6,6,0,0,1,12,0v80a6,6,0,0,1-12,0Zm57.28-77A6,6,0,0,0,172.72,61C196.41,76.47,210,100.88,210,128a82,82,0,0,1-164,0c0-27.12,13.59-51.53,37.28-67A6,6,0,0,0,76.72,51C49.57,68.68,34,96.75,34,128a94,94,0,0,0,188,0C222,96.75,206.43,68.68,179.28,51Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M120,128V48a8,8,0,0,1,16,0v80a8,8,0,0,1-16,0Zm60.37-78.7a8,8,0,0,0-8.74,13.4C194.74,77.77,208,101.57,208,128a80,80,0,0,1-160,0c0-26.43,13.26-50.23,36.37-65.3a8,8,0,0,0-8.74-13.4C47.9,67.38,32,96.06,32,128a96,96,0,0,0,192,0C224,96.06,208.1,67.38,180.37,49.3Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M124,128V48a4,4,0,0,1,8,0v80a4,4,0,0,1-8,0Zm54.18-75.35a4,4,0,1,0-4.36,6.7C198.08,75.17,212,100.2,212,128a84,84,0,0,1-168,0c0-27.8,13.92-52.83,38.18-68.65a4,4,0,0,0-4.36-6.7C51.24,70,36,97.44,36,128a92,92,0,0,0,184,0C220,97.44,204.76,70,178.18,52.65Z"}))]]),GD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M244,128a12,12,0,0,1-12,12H207.42l-36.69,73.37A12,12,0,0,1,160,220h-.6a12,12,0,0,1-10.61-7.72L95,71.15,66.92,133A12,12,0,0,1,56,140H24a12,12,0,0,1,0-24H48.27L85.08,35a12,12,0,0,1,22.13.7l54.28,142.46,27.78-55.56A12,12,0,0,1,200,116h32A12,12,0,0,1,244,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M96,40l33.52,88H56Zm104,88H129.52L160,208Z",opacity:"0.2"}),r.createElement("path",{d:"M240,128a8,8,0,0,1-8,8H204.94l-37.78,75.58A8,8,0,0,1,160,216h-.4a8,8,0,0,1-7.08-5.14L95.35,60.76,63.28,131.31A8,8,0,0,1,56,136H24a8,8,0,0,1,0-16H50.85L88.72,36.69a8,8,0,0,1,14.76.46l57.51,151,31.85-63.71A8,8,0,0,1,200,120h32A8,8,0,0,1,240,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-8,96H188.64L159,188a8,8,0,0,1-6.95,4h-.46a8,8,0,0,1-6.89-4.84L103,89.92,79,132a8,8,0,0,1-7,4H48a8,8,0,0,1,0-16H67.36L97.05,68a8,8,0,0,1,14.3.82L153,166.08l24-42.05a8,8,0,0,1,6.95-4h24a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M238,128a6,6,0,0,1-6,6H203.71l-38.34,76.68A6,6,0,0,1,160,214h-.3a6,6,0,0,1-5.31-3.85L95.51,55.57,61.46,130.48A6,6,0,0,1,56,134H24a6,6,0,0,1,0-12H52.14l38.4-84.48a6,6,0,0,1,11.07.34L160.74,193.1l33.89-67.78A6,6,0,0,1,200,122h32A6,6,0,0,1,238,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,128a8,8,0,0,1-8,8H204.94l-37.78,75.58A8,8,0,0,1,160,216h-.4a8,8,0,0,1-7.08-5.14L95.35,60.76,63.28,131.31A8,8,0,0,1,56,136H24a8,8,0,0,1,0-16H50.85L88.72,36.69a8,8,0,0,1,14.76.46l57.51,151,31.85-63.71A8,8,0,0,1,200,120h32A8,8,0,0,1,240,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236,128a4,4,0,0,1-4,4H202.47l-38.89,77.79A4,4,0,0,1,160,212h-.2a4,4,0,0,1-3.54-2.58l-60.59-159-36,79.28A4,4,0,0,1,56,132H24a4,4,0,0,1,0-8H53.42L92.36,38.35a4,4,0,0,1,7.38.23L160.5,198.06l35.92-71.85A4,4,0,0,1,200,124h32A4,4,0,0,1,236,128Z"}))]]),YD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96Zm4,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-60,76V148a12,12,0,0,1,24,0v24a12,12,0,0,1-24,0Zm84-8a12,12,0,0,1-12,12H196v32a12,12,0,0,1-12,12H148a12,12,0,0,1,0-24h24V148a12,12,0,0,1,24,0v4h12A12,12,0,0,1,220,164Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm-8,88H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96-96H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Z",opacity:"0.2"}),r.createElement("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm0,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48ZM200,40H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-64,72V144a8,8,0,0,1,16,0v32a8,8,0,0,1-16,0Zm80-16a8,8,0,0,1-8,8H184v40a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h24V144a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,160Zm0,32v16a8,8,0,0,1-16,0V192a8,8,0,0,1,16,0Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm-16,80H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96-96H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40ZM144,184a8,8,0,0,0,8-8V144a8,8,0,0,0-16,0v32A8,8,0,0,0,144,184Zm64-32H184v-8a8,8,0,0,0-16,0v56H144a8,8,0,0,0,0,16h32a8,8,0,0,0,8-8V168h24a8,8,0,0,0,0-16Zm0,32a8,8,0,0,0-8,8v16a8,8,0,0,0,16,0V192A8,8,0,0,0,208,184Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-2,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2ZM200,42H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-64,72V144a6,6,0,0,1,12,0v32a6,6,0,0,1-12,0Zm76-16a6,6,0,0,1-6,6H182v42a6,6,0,0,1-6,6H144a6,6,0,0,1,0-12h26V144a6,6,0,0,1,12,0v10h26A6,6,0,0,1,214,160Zm0,32v16a6,6,0,0,1-12,0V192a6,6,0,0,1,12,0Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm0,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48ZM200,40H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-64,72V144a8,8,0,0,1,16,0v32a8,8,0,0,1-16,0Zm80-16a8,8,0,0,1-8,8H184v40a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h24V144a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,160Zm0,32v16a8,8,0,0,1-16,0V192a8,8,0,0,1,16,0Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm-4,36H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM200,44H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm-64,72V144a4,4,0,0,1,8,0v32a4,4,0,0,1-8,0Zm72-16a4,4,0,0,1-4,4H180v44a4,4,0,0,1-4,4H144a4,4,0,0,1,0-8h28V144a4,4,0,0,1,8,0v12h28A4,4,0,0,1,212,160Zm0,32v16a4,4,0,0,1-8,0V192a4,4,0,0,1,8,0Z"}))]]),KD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M72,104a16,16,0,1,1,16,16A16,16,0,0,1,72,104Zm96,16a16,16,0,1,0-16-16A16,16,0,0,0,168,120Zm68-40V192a36,36,0,0,1-36,36H56a36,36,0,0,1-36-36V80A36,36,0,0,1,56,44h60V16a12,12,0,0,1,24,0V44h60A36,36,0,0,1,236,80Zm-24,0a12,12,0,0,0-12-12H56A12,12,0,0,0,44,80V192a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12Zm-12,82a30,30,0,0,1-30,30H86a30,30,0,0,1,0-60h84A30,30,0,0,1,200,162Zm-80-6v12h16V156ZM86,168H96V156H86a6,6,0,0,0,0,12Zm90-6a6,6,0,0,0-6-6H160v12h10A6,6,0,0,0,176,162Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,56H56A24,24,0,0,0,32,80V192a24,24,0,0,0,24,24H200a24,24,0,0,0,24-24V80A24,24,0,0,0,200,56ZM164,184H92a20,20,0,0,1,0-40h72a20,20,0,0,1,0,40Z",opacity:"0.2"}),r.createElement("path",{d:"M200,48H136V16a8,8,0,0,0-16,0V48H56A32,32,0,0,0,24,80V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32V80A32,32,0,0,0,200,48Zm16,144a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V80A16,16,0,0,1,56,64H200a16,16,0,0,1,16,16ZM72,108a12,12,0,1,1,12,12A12,12,0,0,1,72,108Zm88,0a12,12,0,1,1,12,12A12,12,0,0,1,160,108Zm4,28H92a28,28,0,0,0,0,56h72a28,28,0,0,0,0-56Zm-24,16v24H116V152ZM80,164a12,12,0,0,1,12-12h8v24H92A12,12,0,0,1,80,164Zm84,12h-8V152h8a12,12,0,0,1,0,24Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,48H136V16a8,8,0,0,0-16,0V48H56A32,32,0,0,0,24,80V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32V80A32,32,0,0,0,200,48ZM172,96a12,12,0,1,1-12,12A12,12,0,0,1,172,96ZM96,184H80a16,16,0,0,1,0-32H96ZM84,120a12,12,0,1,1,12-12A12,12,0,0,1,84,120Zm60,64H112V152h32Zm32,0H160V152h16a16,16,0,0,1,0,32Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,50H134V16a6,6,0,0,0-12,0V50H56A30,30,0,0,0,26,80V192a30,30,0,0,0,30,30H200a30,30,0,0,0,30-30V80A30,30,0,0,0,200,50Zm18,142a18,18,0,0,1-18,18H56a18,18,0,0,1-18-18V80A18,18,0,0,1,56,62H200a18,18,0,0,1,18,18ZM74,108a10,10,0,1,1,10,10A10,10,0,0,1,74,108Zm88,0a10,10,0,1,1,10,10A10,10,0,0,1,162,108Zm2,30H92a26,26,0,0,0,0,52h72a26,26,0,0,0,0-52Zm-22,12v28H114V150ZM78,164a14,14,0,0,1,14-14h10v28H92A14,14,0,0,1,78,164Zm86,14H154V150h10a14,14,0,0,1,0,28Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,48H136V16a8,8,0,0,0-16,0V48H56A32,32,0,0,0,24,80V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32V80A32,32,0,0,0,200,48Zm16,144a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V80A16,16,0,0,1,56,64H200a16,16,0,0,1,16,16Zm-52-56H92a28,28,0,0,0,0,56h72a28,28,0,0,0,0-56Zm-24,16v24H116V152ZM80,164a12,12,0,0,1,12-12h8v24H92A12,12,0,0,1,80,164Zm84,12h-8V152h8a12,12,0,0,1,0,24ZM72,108a12,12,0,1,1,12,12A12,12,0,0,1,72,108Zm88,0a12,12,0,1,1,12,12A12,12,0,0,1,160,108Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,52H132V16a4,4,0,0,0-8,0V52H56A28,28,0,0,0,28,80V192a28,28,0,0,0,28,28H200a28,28,0,0,0,28-28V80A28,28,0,0,0,200,52Zm20,140a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V80A20,20,0,0,1,56,60H200a20,20,0,0,1,20,20ZM76,108a8,8,0,1,1,8,8A8,8,0,0,1,76,108Zm88,0a8,8,0,1,1,8,8A8,8,0,0,1,164,108Zm0,32H92a24,24,0,0,0,0,48h72a24,24,0,0,0,0-48Zm-20,8v32H112V148ZM76,164a16,16,0,0,1,16-16h12v32H92A16,16,0,0,1,76,164Zm88,16H152V148h12a16,16,0,0,1,0,32Z"}))]]),XD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,156a43.78,43.78,0,0,0-29.09,11L106.1,140.8a44.07,44.07,0,0,0,0-25.6L146.91,89a43.83,43.83,0,1,0-13-20.17L93.09,95a44,44,0,1,0,0,65.94L133.9,187.2A44,44,0,1,0,176,156Zm0-120a20,20,0,1,1-20,20A20,20,0,0,1,176,36ZM64,148a20,20,0,1,1,20-20A20,20,0,0,1,64,148Zm112,72a20,20,0,1,1,20-20A20,20,0,0,1,176,220Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,200a32,32,0,1,1-32-32A32,32,0,0,1,208,200ZM176,88a32,32,0,1,0-32-32A32,32,0,0,0,176,88Z",opacity:"0.2"}),r.createElement("path",{d:"M176,160a39.89,39.89,0,0,0-28.62,12.09l-46.1-29.63a39.8,39.8,0,0,0,0-28.92l46.1-29.63a40,40,0,1,0-8.66-13.45l-46.1,29.63a40,40,0,1,0,0,55.82l46.1,29.63A40,40,0,1,0,176,160Zm0-128a24,24,0,1,1-24,24A24,24,0,0,1,176,32ZM64,152a24,24,0,1,1,24-24A24,24,0,0,1,64,152Zm112,72a24,24,0,1,1,24-24A24,24,0,0,1,176,224Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212,200a36,36,0,1,1-69.85-12.25l-53-34.05a36,36,0,1,1,0-51.4l53-34a36.09,36.09,0,1,1,8.67,13.45l-53,34.05a36,36,0,0,1,0,24.5l53,34.05A36,36,0,0,1,212,200Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,162a37.91,37.91,0,0,0-28.3,12.67L98.8,143.24a37.89,37.89,0,0,0,0-30.48l48.9-31.43a38,38,0,1,0-6.5-10.09L92.3,102.67a38,38,0,1,0,0,50.66l48.9,31.43A38,38,0,1,0,176,162Zm0-132a26,26,0,1,1-26,26A26,26,0,0,1,176,30ZM64,154a26,26,0,1,1,26-26A26,26,0,0,1,64,154Zm112,72a26,26,0,1,1,26-26A26,26,0,0,1,176,226Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,160a39.89,39.89,0,0,0-28.62,12.09l-46.1-29.63a39.8,39.8,0,0,0,0-28.92l46.1-29.63a40,40,0,1,0-8.66-13.45l-46.1,29.63a40,40,0,1,0,0,55.82l46.1,29.63A40,40,0,1,0,176,160Zm0-128a24,24,0,1,1-24,24A24,24,0,0,1,176,32ZM64,152a24,24,0,1,1,24-24A24,24,0,0,1,64,152Zm112,72a24,24,0,1,1,24-24A24,24,0,0,1,176,224Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,164a36,36,0,0,0-27.92,13.3L96.25,144a35.92,35.92,0,0,0,0-32L148.08,78.7A35.93,35.93,0,1,0,143.75,72L91.92,105.3a36,36,0,1,0,0,45.4L143.75,184A36,36,0,1,0,176,164Zm0-136a28,28,0,1,1-28,28A28,28,0,0,1,176,28ZM64,156a28,28,0,1,1,28-28A28,28,0,0,1,64,156Zm112,72a28,28,0,1,1,28-28A28,28,0,0,1,176,228Z"}))]]),QD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,36H48A20,20,0,0,0,28,56v56c0,54.29,26.32,87.22,48.4,105.29,23.71,19.39,47.44,26,48.44,26.29a12.1,12.1,0,0,0,6.32,0c1-.28,24.73-6.9,48.44-26.29,22.08-18.07,48.4-51,48.4-105.29V56A20,20,0,0,0,208,36Zm-4,76c0,35.71-13.09,64.69-38.91,86.15A126.28,126.28,0,0,1,128,219.38a126.14,126.14,0,0,1-37.09-21.23C65.09,176.69,52,147.71,52,112V60H204ZM79.51,144.49a12,12,0,1,1,17-17L112,143l47.51-47.52a12,12,0,0,1,17,17l-56,56a12,12,0,0,1-17,0Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,56v56c0,96-88,120-88,120S40,208,40,112V56a8,8,0,0,1,8-8H208A8,8,0,0,1,216,56Z",opacity:"0.2"}),r.createElement("path",{d:"M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm0,72c0,37.07-13.66,67.16-40.6,89.42A129.3,129.3,0,0,1,128,223.62a128.25,128.25,0,0,1-38.92-21.81C61.82,179.51,48,149.3,48,112l0-56,160,0ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm-34.32,69.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,42H48A14,14,0,0,0,34,56v56c0,51.94,25.12,83.4,46.2,100.64,22.73,18.6,45.27,24.89,46.22,25.15a6,6,0,0,0,3.16,0c.95-.26,23.49-6.55,46.22-25.15C196.88,195.4,222,163.94,222,112V56A14,14,0,0,0,208,42Zm2,70c0,37.76-13.94,68.39-41.44,91.06A131.17,131.17,0,0,1,128,225.72a130.94,130.94,0,0,1-40.56-22.66C59.94,180.39,46,149.76,46,112V56a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2ZM172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm0,72c0,37.07-13.66,67.16-40.6,89.42A129.3,129.3,0,0,1,128,223.62a128.25,128.25,0,0,1-38.92-21.81C61.82,179.51,48,149.3,48,112l0-56,160,0ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,44H48A12,12,0,0,0,36,56v56c0,51.16,24.73,82.12,45.47,99.1,22.4,18.32,44.55,24.5,45.48,24.76a4,4,0,0,0,2.1,0c.93-.26,23.08-6.44,45.48-24.76,20.74-17,45.47-47.94,45.47-99.1V56A12,12,0,0,0,208,44Zm4,68c0,38.44-14.23,69.63-42.29,92.71A132.45,132.45,0,0,1,128,227.82a132.23,132.23,0,0,1-41.71-23.11C58.23,181.63,44,150.44,44,112V56a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Zm-41.17-10.83a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17Z"}))]]),JD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240.49,175.51a12,12,0,0,1,0,17l-24,24a12,12,0,0,1-17-17L203,196h-2.09a76.17,76.17,0,0,1-61.85-31.83L97.38,105.78A52.1,52.1,0,0,0,55.06,84H32a12,12,0,0,1,0-24H55.06a76.17,76.17,0,0,1,61.85,31.83l41.71,58.39A52.1,52.1,0,0,0,200.94,172H203l-3.52-3.51a12,12,0,0,1,17-17Zm-95.62-72.62a12,12,0,0,0,16.93-1.13A52,52,0,0,1,200.94,84H203l-3.52,3.51a12,12,0,0,0,17,17l24-24a12,12,0,0,0,0-17l-24-24a12,12,0,0,0-17,17L203,60h-2.09a76,76,0,0,0-57.2,26A12,12,0,0,0,144.87,102.89Zm-33.74,50.22a12,12,0,0,0-16.93,1.13A52,52,0,0,1,55.06,172H32a12,12,0,0,0,0,24H55.06a76,76,0,0,0,57.2-26A12,12,0,0,0,111.13,153.11Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M107.14,98.8,128,128l-20.86,29.2A64,64,0,0,1,55.06,184H32V72H55.06A64,64,0,0,1,107.14,98.8ZM200.94,72a64,64,0,0,0-52.08,26.8L128,128l20.86,29.2A64,64,0,0,0,200.94,184H232V72Z",opacity:"0.2"}),r.createElement("path",{d:"M237.66,178.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L212.69,192H200.94a72.12,72.12,0,0,1-58.59-30.15l-41.72-58.4A56.1,56.1,0,0,0,55.06,80H32a8,8,0,0,1,0-16H55.06a72.12,72.12,0,0,1,58.59,30.15l41.72,58.4A56.1,56.1,0,0,0,200.94,176h11.75l-10.35-10.34a8,8,0,0,1,11.32-11.32ZM143,107a8,8,0,0,0,11.16-1.86l1.2-1.67A56.1,56.1,0,0,1,200.94,80h11.75L202.34,90.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L212.69,64H200.94a72.12,72.12,0,0,0-58.59,30.15l-1.2,1.67A8,8,0,0,0,143,107Zm-30,42a8,8,0,0,0-11.16,1.86l-1.2,1.67A56.1,56.1,0,0,1,55.06,176H32a8,8,0,0,0,0,16H55.06a72.12,72.12,0,0,0,58.59-30.15l1.2-1.67A8,8,0,0,0,113,149Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M237.66,178.34a8,8,0,0,1,0,11.32l-24,24A8,8,0,0,1,200,208V192a72.15,72.15,0,0,1-57.65-30.14l-41.72-58.4A56.1,56.1,0,0,0,55.06,80H32a8,8,0,0,1,0-16H55.06a72.12,72.12,0,0,1,58.59,30.15l41.72,58.4A56.08,56.08,0,0,0,200,176V160a8,8,0,0,1,13.66-5.66ZM143,107a8,8,0,0,0,11.16-1.86l1.2-1.67A56.08,56.08,0,0,1,200,80V96a8,8,0,0,0,13.66,5.66l24-24a8,8,0,0,0,0-11.32l-24-24A8,8,0,0,0,200,48V64a72.15,72.15,0,0,0-57.65,30.14l-1.2,1.67A8,8,0,0,0,143,107Zm-30,42a8,8,0,0,0-11.16,1.86l-1.2,1.67A56.1,56.1,0,0,1,55.06,176H32a8,8,0,0,0,0,16H55.06a72.12,72.12,0,0,0,58.59-30.15l1.2-1.67A8,8,0,0,0,113,149Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236.24,179.76a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L217.52,190H200.94a70.16,70.16,0,0,1-57-29.31l-41.71-58.4A58.11,58.11,0,0,0,55.06,78H32a6,6,0,0,1,0-12H55.06a70.16,70.16,0,0,1,57,29.31l41.71,58.4A58.11,58.11,0,0,0,200.94,178h16.58l-13.76-13.76a6,6,0,0,1,8.48-8.48Zm-92.06-74.41a5.91,5.91,0,0,0,3.48,1.12,6,6,0,0,0,4.89-2.51l1.19-1.67A58.11,58.11,0,0,1,200.94,78h16.58L203.76,91.76a6,6,0,1,0,8.48,8.48l24-24a6,6,0,0,0,0-8.48l-24-24a6,6,0,0,0-8.48,8.48L217.52,66H200.94a70.16,70.16,0,0,0-57,29.31L142.78,97A6,6,0,0,0,144.18,105.35Zm-32.36,45.3a6,6,0,0,0-8.37,1.39l-1.19,1.67A58.11,58.11,0,0,1,55.06,178H32a6,6,0,0,0,0,12H55.06a70.16,70.16,0,0,0,57-29.31l1.19-1.67A6,6,0,0,0,111.82,150.65Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M237.66,178.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L212.69,192H200.94a72.12,72.12,0,0,1-58.59-30.15l-41.72-58.4A56.1,56.1,0,0,0,55.06,80H32a8,8,0,0,1,0-16H55.06a72.12,72.12,0,0,1,58.59,30.15l41.72,58.4A56.1,56.1,0,0,0,200.94,176h11.75l-10.35-10.34a8,8,0,0,1,11.32-11.32ZM143,107a8,8,0,0,0,11.16-1.86l1.2-1.67A56.1,56.1,0,0,1,200.94,80h11.75L202.34,90.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L212.69,64H200.94a72.12,72.12,0,0,0-58.59,30.15l-1.2,1.67A8,8,0,0,0,143,107Zm-30,42a8,8,0,0,0-11.16,1.86l-1.2,1.67A56.1,56.1,0,0,1,55.06,176H32a8,8,0,0,0,0,16H55.06a72.12,72.12,0,0,0,58.59-30.15l1.2-1.67A8,8,0,0,0,113,149Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M234.83,181.17a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L222.34,188h-21.4a68.15,68.15,0,0,1-55.34-28.48l-41.71-58.39A60.11,60.11,0,0,0,55.06,76H32a4,4,0,0,1,0-8H55.06A68.15,68.15,0,0,1,110.4,96.48l41.71,58.39A60.11,60.11,0,0,0,200.94,180h21.4l-17.17-17.17a4,4,0,0,1,5.66-5.66Zm-89.49-77.44a4,4,0,0,0,5.58-.93l1.19-1.67A60.11,60.11,0,0,1,200.94,76h21.4L205.17,93.17a4,4,0,0,0,5.66,5.66l24-24a4,4,0,0,0,0-5.66l-24-24a4,4,0,0,0-5.66,5.66L222.34,68h-21.4A68.15,68.15,0,0,0,145.6,96.48l-1.19,1.67A4,4,0,0,0,145.34,103.73Zm-34.68,48.54a4,4,0,0,0-5.58.93l-1.19,1.67A60.11,60.11,0,0,1,55.06,180H32a4,4,0,0,0,0,8H55.06a68.15,68.15,0,0,0,55.34-28.48l1.19-1.67A4,4,0,0,0,110.66,152.27Z"}))]]),WD=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,28a12,12,0,0,0-12,12v62l-113.45-71A20,20,0,0,0,44,47.88V208.12A20,20,0,0,0,74.55,225L188,154v62a12,12,0,0,0,24,0V40A12,12,0,0,0,200,28ZM68,200.73V55.27L184.3,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M196.3,134.65,68.19,214.77A8,8,0,0,1,56,208.12V47.88a8,8,0,0,1,12.19-6.65L196.3,121.35A7.83,7.83,0,0,1,196.3,134.65Z",opacity:"0.2"}),r.createElement("path",{d:"M200,32a8,8,0,0,0-8,8v69.23L72.43,34.45A15.95,15.95,0,0,0,48,47.88V208.12a16,16,0,0,0,24.43,13.43L192,146.77V216a8,8,0,0,0,16,0V40A8,8,0,0,0,200,32ZM64,207.93V48.05l127.84,80Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,40V216a8,8,0,0,1-16,0V146.77L72.43,221.55A15.95,15.95,0,0,1,48,208.12V47.88A15.95,15.95,0,0,1,72.43,34.45L192,109.23V40a8,8,0,0,1,16,0Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,34a6,6,0,0,0-6,6v72.84L71.37,36.14a14,14,0,0,0-14.21-.37A13.69,13.69,0,0,0,50,47.88V208.12a13.69,13.69,0,0,0,7.16,12.11,14,14,0,0,0,14.21-.37L194,143.17V216a6,6,0,0,0,12,0V40A6,6,0,0,0,200,34Zm-6.88,95.56L65,209.69a2,2,0,0,1-2,.05,1.79,1.79,0,0,1-1-1.62V47.88a1.79,1.79,0,0,1,1-1.62A2.1,2.1,0,0,1,64,46a2,2,0,0,1,1,.31l128.12,80.13a1.82,1.82,0,0,1,0,3.12Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,32a8,8,0,0,0-8,8v69.23L72.43,34.45A15.95,15.95,0,0,0,48,47.88V208.12a16,16,0,0,0,24.43,13.43L192,146.77V216a8,8,0,0,0,16,0V40A8,8,0,0,0,200,32ZM64,207.93V48.05l127.84,80Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,36a4,4,0,0,0-4,4v76.44L70.31,37.84a12,12,0,0,0-12.18-.32A11.69,11.69,0,0,0,52,47.88V208.12a11.69,11.69,0,0,0,6.13,10.36,12,12,0,0,0,12.18-.32L196,139.56V216a4,4,0,0,0,8,0V40A4,4,0,0,0,200,36Zm-5.82,95.26L66.06,211.38a4,4,0,0,1-4.06.11,3.8,3.8,0,0,1-2-3.37V47.88a3.8,3.8,0,0,1,2-3.37A4,4,0,0,1,64,44a4,4,0,0,1,2.11.62l128.12,80.12a3.83,3.83,0,0,1,0,6.52Z"}))]]),eO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M140,32V64a12,12,0,0,1-24,0V32a12,12,0,0,1,24,0Zm33.25,62.75a12,12,0,0,0,8.49-3.52L204.37,68.6a12,12,0,0,0-17-17L164.77,74.26a12,12,0,0,0,8.48,20.49ZM224,116H192a12,12,0,0,0,0,24h32a12,12,0,0,0,0-24Zm-42.26,48.77a12,12,0,1,0-17,17l22.63,22.63a12,12,0,0,0,17-17ZM128,180a12,12,0,0,0-12,12v32a12,12,0,0,0,24,0V192A12,12,0,0,0,128,180ZM74.26,164.77,51.63,187.4a12,12,0,0,0,17,17l22.63-22.63a12,12,0,1,0-17-17ZM76,128a12,12,0,0,0-12-12H32a12,12,0,0,0,0,24H64A12,12,0,0,0,76,128ZM68.6,51.63a12,12,0,1,0-17,17L74.26,91.23a12,12,0,0,0,17-17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm33.94,58.75,17-17a8,8,0,0,1,11.32,11.32l-17,17a8,8,0,0,1-11.31-11.31ZM48,136a8,8,0,0,1,0-16H72a8,8,0,0,1,0,16Zm46.06,37.25-17,17a8,8,0,0,1-11.32-11.32l17-17a8,8,0,0,1,11.31,11.31Zm0-79.19a8,8,0,0,1-11.31,0l-17-17A8,8,0,0,1,77.09,65.77l17,17A8,8,0,0,1,94.06,94.06ZM136,208a8,8,0,0,1-16,0V184a8,8,0,0,1,16,0Zm0-136a8,8,0,0,1-16,0V48a8,8,0,0,1,16,0Zm54.23,118.23a8,8,0,0,1-11.32,0l-17-17a8,8,0,0,1,11.31-11.31l17,17A8,8,0,0,1,190.23,190.23ZM208,136H184a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M134,32V64a6,6,0,0,1-12,0V32a6,6,0,0,1,12,0Zm39.25,56.75A6,6,0,0,0,177.5,87l22.62-22.63a6,6,0,0,0-8.48-8.48L169,78.5a6,6,0,0,0,4.24,10.25ZM224,122H192a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12Zm-46.5,47A6,6,0,0,0,169,177.5l22.63,22.62a6,6,0,0,0,8.48-8.48ZM128,186a6,6,0,0,0-6,6v32a6,6,0,0,0,12,0V192A6,6,0,0,0,128,186ZM78.5,169,55.88,191.64a6,6,0,1,0,8.48,8.48L87,177.5A6,6,0,1,0,78.5,169ZM70,128a6,6,0,0,0-6-6H32a6,6,0,0,0,0,12H64A6,6,0,0,0,70,128ZM64.36,55.88a6,6,0,0,0-8.48,8.48L78.5,87A6,6,0,1,0,87,78.5Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M132,32V64a4,4,0,0,1-8,0V32a4,4,0,0,1,8,0Zm41.25,54.75a4,4,0,0,0,2.83-1.18L198.71,63a4,4,0,0,0-5.66-5.66L170.43,79.92a4,4,0,0,0,2.82,6.83ZM224,124H192a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8Zm-47.92,46.43a4,4,0,1,0-5.65,5.65l22.62,22.63a4,4,0,0,0,5.66-5.66ZM128,188a4,4,0,0,0-4,4v32a4,4,0,0,0,8,0V192A4,4,0,0,0,128,188ZM79.92,170.43,57.29,193.05A4,4,0,0,0,63,198.71l22.62-22.63a4,4,0,1,0-5.65-5.65ZM68,128a4,4,0,0,0-4-4H32a4,4,0,0,0,0,8H64A4,4,0,0,0,68,128ZM63,57.29A4,4,0,0,0,57.29,63L79.92,85.57a4,4,0,1,0,5.65-5.65Z"}))]]),tO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M140,32V64a12,12,0,0,1-24,0V32a12,12,0,0,1,24,0Zm84,84H192a12,12,0,0,0,0,24h32a12,12,0,0,0,0-24Zm-42.26,48.77a12,12,0,1,0-17,17l22.63,22.63a12,12,0,0,0,17-17ZM128,180a12,12,0,0,0-12,12v32a12,12,0,0,0,24,0V192A12,12,0,0,0,128,180ZM74.26,164.77,51.63,187.4a12,12,0,0,0,17,17l22.63-22.63a12,12,0,1,0-17-17ZM76,128a12,12,0,0,0-12-12H32a12,12,0,0,0,0,24H64A12,12,0,0,0,76,128ZM68.6,51.63a12,12,0,1,0-17,17L74.26,91.23a12,12,0,0,0,17-17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm88,88H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM48,136a8,8,0,0,1,0-16H72a8,8,0,0,1,0,16Zm46.06,37.25-17,17a8,8,0,0,1-11.32-11.32l17-17a8,8,0,0,1,11.31,11.31Zm0-79.19a8,8,0,0,1-11.31,0l-17-17A8,8,0,0,1,77.09,65.77l17,17A8,8,0,0,1,94.06,94.06ZM136,208a8,8,0,0,1-16,0V184a8,8,0,0,1,16,0Zm0-136a8,8,0,0,1-16,0V48a8,8,0,0,1,16,0Zm54.23,118.23a8,8,0,0,1-11.32,0l-17-17a8,8,0,0,1,11.31-11.31l17,17A8,8,0,0,1,190.23,190.23ZM208,136H184a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M134,32V64a6,6,0,0,1-12,0V32a6,6,0,0,1,12,0Zm90,90H192a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12Zm-46.5,47A6,6,0,0,0,169,177.5l22.63,22.62a6,6,0,0,0,8.48-8.48ZM128,186a6,6,0,0,0-6,6v32a6,6,0,0,0,12,0V192A6,6,0,0,0,128,186ZM78.5,169,55.88,191.64a6,6,0,1,0,8.48,8.48L87,177.5A6,6,0,1,0,78.5,169ZM70,128a6,6,0,0,0-6-6H32a6,6,0,0,0,0,12H64A6,6,0,0,0,70,128ZM64.36,55.88a6,6,0,0,0-8.48,8.48L78.5,87A6,6,0,1,0,87,78.5Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm88,88H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M132,32V64a4,4,0,0,1-8,0V32a4,4,0,0,1,8,0Zm92,92H192a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8Zm-47.92,46.43a4,4,0,1,0-5.65,5.65l22.62,22.63a4,4,0,0,0,5.66-5.66ZM128,188a4,4,0,0,0-4,4v32a4,4,0,0,0,8,0V192A4,4,0,0,0,128,188ZM79.92,170.43,57.29,193.05A4,4,0,0,0,63,198.71l22.62-22.63a4,4,0,1,0-5.65-5.65ZM68,128a4,4,0,0,0-4-4H32a4,4,0,0,0,0,8H64A4,4,0,0,0,68,128ZM63,57.29A4,4,0,0,0,57.29,63L79.92,85.57a4,4,0,1,0,5.65-5.65Z"}))]]),aO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-96,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96Zm104-60H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,200,136Zm-4,60H160V160h36Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm88-8H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Zm-96,96H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96,0H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,200,144Z",opacity:"0.2"}),r.createElement("path",{d:"M200,136H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48ZM104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-98,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,200,138Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM104,140H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,200,140Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Z"}))]]),nO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M243,96a20.33,20.33,0,0,0-17.74-14l-56.59-4.57L146.83,24.62a20.36,20.36,0,0,0-37.66,0L87.35,77.44,30.76,82A20.45,20.45,0,0,0,19.1,117.88l43.18,37.24-13.2,55.7A20.37,20.37,0,0,0,79.57,233L128,203.19,176.43,233a20.39,20.39,0,0,0,30.49-22.15l-13.2-55.7,43.18-37.24A20.43,20.43,0,0,0,243,96ZM172.53,141.7a12,12,0,0,0-3.84,11.86L181.58,208l-47.29-29.08a12,12,0,0,0-12.58,0L74.42,208l12.89-54.4a12,12,0,0,0-3.84-11.86L41.2,105.24l55.4-4.47a12,12,0,0,0,10.13-7.38L128,41.89l21.27,51.5a12,12,0,0,0,10.13,7.38l55.4,4.47Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M229.06,108.79l-48.7,42,14.88,62.79a8.4,8.4,0,0,1-12.52,9.17L128,189.09,73.28,222.74a8.4,8.4,0,0,1-12.52-9.17l14.88-62.79-48.7-42A8.46,8.46,0,0,1,31.73,94L95.64,88.8l24.62-59.6a8.36,8.36,0,0,1,15.48,0l24.62,59.6L224.27,94A8.46,8.46,0,0,1,229.06,108.79Z",opacity:"0.2"}),r.createElement("path",{d:"M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M237.28,97.87A14.18,14.18,0,0,0,224.76,88l-60.25-4.87-23.22-56.2a14.37,14.37,0,0,0-26.58,0L91.49,83.11,31.24,88a14.18,14.18,0,0,0-12.52,9.89A14.43,14.43,0,0,0,23,113.32L69,152.93l-14,59.25a14.4,14.4,0,0,0,5.59,15,14.1,14.1,0,0,0,15.91.6L128,196.12l51.58,31.71a14.1,14.1,0,0,0,15.91-.6,14.4,14.4,0,0,0,5.59-15l-14-59.25L233,113.32A14.43,14.43,0,0,0,237.28,97.87Zm-12.14,6.37-48.69,42a6,6,0,0,0-1.92,5.92l14.88,62.79a2.35,2.35,0,0,1-.95,2.57,2.24,2.24,0,0,1-2.6.1L131.14,184a6,6,0,0,0-6.28,0L70.14,217.61a2.24,2.24,0,0,1-2.6-.1,2.35,2.35,0,0,1-1-2.57l14.88-62.79a6,6,0,0,0-1.92-5.92l-48.69-42a2.37,2.37,0,0,1-.73-2.65,2.28,2.28,0,0,1,2.07-1.65l63.92-5.16a6,6,0,0,0,5.06-3.69l24.63-59.6a2.35,2.35,0,0,1,4.38,0l24.63,59.6a6,6,0,0,0,5.06,3.69l63.92,5.16a2.28,2.28,0,0,1,2.07,1.65A2.37,2.37,0,0,1,225.14,104.24Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M235.36,98.49A12.21,12.21,0,0,0,224.59,90l-61.47-5L139.44,27.67a12.37,12.37,0,0,0-22.88,0L92.88,85,31.41,90a12.45,12.45,0,0,0-7.07,21.84l46.85,40.41L56.87,212.64a12.35,12.35,0,0,0,18.51,13.49L128,193.77l52.62,32.36a12.12,12.12,0,0,0,13.69-.51,12.28,12.28,0,0,0,4.82-13l-14.32-60.42,46.85-40.41A12.29,12.29,0,0,0,235.36,98.49Zm-8.93,7.26-48.68,42a4,4,0,0,0-1.28,3.95l14.87,62.79a4.37,4.37,0,0,1-1.72,4.65,4.24,4.24,0,0,1-4.81.18L130.1,185.67a4,4,0,0,0-4.2,0L71.19,219.32a4.24,4.24,0,0,1-4.81-.18,4.37,4.37,0,0,1-1.72-4.65L79.53,151.7a4,4,0,0,0-1.28-3.95l-48.68-42A4.37,4.37,0,0,1,28.25,101a4.31,4.31,0,0,1,3.81-3L96,92.79a4,4,0,0,0,3.38-2.46L124,30.73a4.35,4.35,0,0,1,8.08,0l24.62,59.6A4,4,0,0,0,160,92.79l63.9,5.15a4.31,4.31,0,0,1,3.81,3A4.37,4.37,0,0,1,226.43,105.75Z"}))]]),rO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM104,88A16,16,0,1,1,88,72,16,16,0,0,1,104,88Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"}),r.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"}))]]),sO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M229.26,90.4a108,108,0,0,1-177.63,114A108,108,0,0,1,195.41,43.63l20.1-20.11a12,12,0,0,1,17,17l-96,96a12,12,0,1,1-17-17l24-24a36,36,0,1,0,19.76,39.65,12,12,0,0,1,23.53,4.74,60,60,0,1,1-25.73-62L178.3,60.74a84,84,0,1,0,28.46,38,12,12,0,1,1,22.5-8.35Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176,128a48,48,0,1,1-48-48A48,48,0,0,1,176,128Z",opacity:"0.2"}),r.createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32L167.6,99.71h0l-37.71,37.71-23.95,23.95a40,40,0,0,0,62-35.67,8,8,0,1,1,16-.9,56,56,0,0,1-95.5,42.79h0a56,56,0,0,1,73.13-84.43L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220.06,84a102.06,102.06,0,1,1-24.31-32.27l24-24a6,6,0,0,1,8.48,8.49l-96,96a6,6,0,1,1-8.48-8.49l29.39-29.4a42,42,0,1,0,16.78,31.24,6,6,0,1,1,12-.68A54,54,0,1,1,161.7,85.83l25.54-25.55a89.91,89.91,0,1,0,22,28.93A6,6,0,1,1,220.06,84Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M218.26,84.89a100.16,100.16,0,1,1-22.44-30.37l25.35-25.35a4,4,0,1,1,5.66,5.66l-96,96a4,4,0,0,1-5.66-5.66l31-31a44,44,0,1,0,15.78,31.3,4,4,0,0,1,8-.46,52,52,0,1,1-18.1-36.51l28.34-28.33A92,92,0,0,0,63,193.05,92,92,0,0,0,211,88.33a4,4,0,1,1,7.22-3.44Z"}))]]),lO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,44a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,44Zm0,168a72,72,0,1,1,72-72A72.08,72.08,0,0,1,128,212ZM164.49,99.51a12,12,0,0,1,0,17l-28,28a12,12,0,0,1-17-17l28-28A12,12,0,0,1,164.49,99.51ZM92,16A12,12,0,0,1,104,4h48a12,12,0,0,1,0,24H104A12,12,0,0,1,92,16Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,136a88,88,0,1,1-88-88A88,88,0,0,1,216,136Z",opacity:"0.2"}),r.createElement("path",{d:"M128,40a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,40Zm0,176a80,80,0,1,1,80-80A80.09,80.09,0,0,1,128,216ZM173.66,90.34a8,8,0,0,1,0,11.32l-40,40a8,8,0,0,1-11.32-11.32l40-40A8,8,0,0,1,173.66,90.34ZM96,16a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,16Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,40a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,40Zm45.66,61.66-40,40a8,8,0,0,1-11.32-11.32l40-40a8,8,0,0,1,11.32,11.32ZM96,16a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,42a94,94,0,1,0,94,94A94.11,94.11,0,0,0,128,42Zm0,176a82,82,0,1,1,82-82A82.1,82.1,0,0,1,128,218ZM172.24,91.76a6,6,0,0,1,0,8.48l-40,40a6,6,0,1,1-8.48-8.48l40-40A6,6,0,0,1,172.24,91.76ZM98,16a6,6,0,0,1,6-6h48a6,6,0,0,1,0,12H104A6,6,0,0,1,98,16Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,40a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,40Zm0,176a80,80,0,1,1,80-80A80.09,80.09,0,0,1,128,216ZM173.66,90.34a8,8,0,0,1,0,11.32l-40,40a8,8,0,0,1-11.32-11.32l40-40A8,8,0,0,1,173.66,90.34ZM96,16a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,16Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,44a92,92,0,1,0,92,92A92.1,92.1,0,0,0,128,44Zm0,176a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,220ZM170.83,93.17a4,4,0,0,1,0,5.66l-40,40a4,4,0,1,1-5.66-5.66l40-40A4,4,0,0,1,170.83,93.17ZM100,16a4,4,0,0,1,4-4h48a4,4,0,0,1,0,8H104A4,4,0,0,1,100,16Z"}))]]),iO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"}),r.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"}))]]),oO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M160,116h48a20,20,0,0,0,20-20V48a20,20,0,0,0-20-20H160a20,20,0,0,0-20,20V60H128a28,28,0,0,0-28,28v28H76v-4A20,20,0,0,0,56,92H24A20,20,0,0,0,4,112v32a20,20,0,0,0,20,20H56a20,20,0,0,0,20-20v-4h24v28a28,28,0,0,0,28,28h12v12a20,20,0,0,0,20,20h48a20,20,0,0,0,20-20V160a20,20,0,0,0-20-20H160a20,20,0,0,0-20,20v12H128a4,4,0,0,1-4-4V88a4,4,0,0,1,4-4h12V96A20,20,0,0,0,160,116ZM52,140H28V116H52Zm112,24h40v40H164Zm0-112h40V92H164Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M64,112v32a8,8,0,0,1-8,8H24a8,8,0,0,1-8-8V112a8,8,0,0,1,8-8H56A8,8,0,0,1,64,112ZM208,40H160a8,8,0,0,0-8,8V96a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V48A8,8,0,0,0,208,40Zm0,112H160a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V160A8,8,0,0,0,208,152Z",opacity:"0.2"}),r.createElement("path",{d:"M160,112h48a16,16,0,0,0,16-16V48a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16V64H128a24,24,0,0,0-24,24v32H72v-8A16,16,0,0,0,56,96H24A16,16,0,0,0,8,112v32a16,16,0,0,0,16,16H56a16,16,0,0,0,16-16v-8h32v32a24,24,0,0,0,24,24h16v16a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V160a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16v16H128a8,8,0,0,1-8-8V88a8,8,0,0,1,8-8h16V96A16,16,0,0,0,160,112ZM56,144H24V112H56v32Zm104,16h48v48H160Zm0-112h48V96H160Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M144,96V80H128a8,8,0,0,0-8,8v80a8,8,0,0,0,8,8h16V160a16,16,0,0,1,16-16h48a16,16,0,0,1,16,16v48a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V192H128a24,24,0,0,1-24-24V136H72v8a16,16,0,0,1-16,16H24A16,16,0,0,1,8,144V112A16,16,0,0,1,24,96H56a16,16,0,0,1,16,16v8h32V88a24,24,0,0,1,24-24h16V48a16,16,0,0,1,16-16h48a16,16,0,0,1,16,16V96a16,16,0,0,1-16,16H160A16,16,0,0,1,144,96Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M160,110h48a14,14,0,0,0,14-14V48a14,14,0,0,0-14-14H160a14,14,0,0,0-14,14V66H128a22,22,0,0,0-22,22v34H70V112A14,14,0,0,0,56,98H24a14,14,0,0,0-14,14v32a14,14,0,0,0,14,14H56a14,14,0,0,0,14-14V134h36v34a22,22,0,0,0,22,22h18v18a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V160a14,14,0,0,0-14-14H160a14,14,0,0,0-14,14v18H128a10,10,0,0,1-10-10V88a10,10,0,0,1,10-10h18V96A14,14,0,0,0,160,110ZM58,144a2,2,0,0,1-2,2H24a2,2,0,0,1-2-2V112a2,2,0,0,1,2-2H56a2,2,0,0,1,2,2Zm100,16a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2v48a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2Zm0-112a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2V96a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M160,112h48a16,16,0,0,0,16-16V48a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16V64H128a24,24,0,0,0-24,24v32H72v-8A16,16,0,0,0,56,96H24A16,16,0,0,0,8,112v32a16,16,0,0,0,16,16H56a16,16,0,0,0,16-16v-8h32v32a24,24,0,0,0,24,24h16v16a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V160a16,16,0,0,0-16-16H160a16,16,0,0,0-16,16v16H128a8,8,0,0,1-8-8V88a8,8,0,0,1,8-8h16V96A16,16,0,0,0,160,112ZM56,144H24V112H56v32Zm104,16h48v48H160Zm0-112h48V96H160Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M160,108h48a12,12,0,0,0,12-12V48a12,12,0,0,0-12-12H160a12,12,0,0,0-12,12V68H128a20,20,0,0,0-20,20v36H68V112a12,12,0,0,0-12-12H24a12,12,0,0,0-12,12v32a12,12,0,0,0,12,12H56a12,12,0,0,0,12-12V132h40v36a20,20,0,0,0,20,20h20v20a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V160a12,12,0,0,0-12-12H160a12,12,0,0,0-12,12v20H128a12,12,0,0,1-12-12V88a12,12,0,0,1,12-12h20V96A12,12,0,0,0,160,108ZM60,144a4,4,0,0,1-4,4H24a4,4,0,0,1-4-4V112a4,4,0,0,1,4-4H56a4,4,0,0,1,4,4Zm96,16a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4v48a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4Zm0-112a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V96a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4Z"}))]]),cO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M244,56v64a12,12,0,0,1-24,0V85l-75.51,75.52a12,12,0,0,1-17,0L96,129,32.49,192.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0L136,135l67-67H168a12,12,0,0,1,0-24h64A12,12,0,0,1,244,56Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,56v64L168,56Z",opacity:"0.2"}),r.createElement("path",{d:"M232,48H168a8,8,0,0,0-5.66,13.66L188.69,88,136,140.69l-34.34-34.35a8,8,0,0,0-11.32,0l-72,72a8,8,0,0,0,11.32,11.32L96,123.31l34.34,34.35a8,8,0,0,0,11.32,0L200,99.31l26.34,26.35A8,8,0,0,0,240,120V56A8,8,0,0,0,232,48Zm-8,52.69L187.31,64H224Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,56v64a8,8,0,0,1-13.66,5.66L200,99.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,188.69,88,162.34,61.66A8,8,0,0,1,168,48h64A8,8,0,0,1,240,56Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M238,56v64a6,6,0,0,1-12,0V70.48l-85.76,85.76a6,6,0,0,1-8.48,0L96,120.49,28.24,188.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0L136,143.51,217.52,62H168a6,6,0,0,1,0-12h64A6,6,0,0,1,238,56Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236,56v64a4,4,0,0,1-8,0V65.66l-89.17,89.17a4,4,0,0,1-5.66,0L96,117.66,26.83,186.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0L136,146.34,222.34,60H168a4,4,0,0,1,0-8h64A4,4,0,0,1,236,56Z"}))]]),uO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M188,184a16,16,0,1,1,16-16A16,16,0,0,1,188,184Zm36-68H180a12,12,0,0,0,0,24h40v56H36V140H76a12,12,0,0,0,0-24H32a20,20,0,0,0-20,20v64a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V136A20,20,0,0,0,224,116ZM88.49,80.49,116,53v75a12,12,0,0,0,24,0V53l27.51,27.52a12,12,0,1,0,17-17l-48-48a12,12,0,0,0-17,0l-48,48a12,12,0,1,0,17,17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,136v64a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V136a8,8,0,0,1,8-8H224A8,8,0,0,1,232,136Z",opacity:"0.2"}),r.createElement("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M74.34,77.66a8,8,0,0,1,0-11.32l48-48a8,8,0,0,1,11.32,0l48,48a8,8,0,0,1-11.32,11.32L136,43.31V128a8,8,0,0,1-16,0V43.31L85.66,77.66A8,8,0,0,1,74.34,77.66ZM240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16h68a4,4,0,0,1,4,4v3.46c0,13.45,11,24.79,24.46,24.54A24,24,0,0,0,152,128v-4a4,4,0,0,1,4-4h68A16,16,0,0,1,240,136Zm-40,32a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M238,136v64a14,14,0,0,1-14,14H32a14,14,0,0,1-14-14V136a14,14,0,0,1,14-14H80a6,6,0,0,1,0,12H32a2,2,0,0,0-2,2v64a2,2,0,0,0,2,2H224a2,2,0,0,0,2-2V136a2,2,0,0,0-2-2H176a6,6,0,0,1,0-12h48A14,14,0,0,1,238,136ZM84.24,76.24,122,38.49V128a6,6,0,0,0,12,0V38.49l37.76,37.75a6,6,0,0,0,8.48-8.48l-48-48a6,6,0,0,0-8.48,0l-48,48a6,6,0,0,0,8.48,8.48ZM198,168a10,10,0,1,0-10,10A10,10,0,0,0,198,168Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236,136v64a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V136a12,12,0,0,1,12-12H80a4,4,0,0,1,0,8H32a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H224a4,4,0,0,0,4-4V136a4,4,0,0,0-4-4H176a4,4,0,0,1,0-8h48A12,12,0,0,1,236,136ZM82.83,74.83,124,33.66V128a4,4,0,0,0,8,0V33.66l41.17,41.17a4,4,0,1,0,5.66-5.66l-48-48a4,4,0,0,0-5.66,0l-48,48a4,4,0,0,0,5.66,5.66ZM196,168a8,8,0,1,0-8,8A8,8,0,0,0,196,168Z"}))]]),dO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20ZM79.57,196.57a60,60,0,0,1,96.86,0,83.72,83.72,0,0,1-96.86,0ZM100,120a28,28,0,1,1,28,28A28,28,0,0,1,100,120ZM194,179.94a83.48,83.48,0,0,0-29-23.42,52,52,0,1,0-74,0,83.48,83.48,0,0,0-29,23.42,84,84,0,1,1,131.9,0Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a95.76,95.76,0,0,1-31.8,71.37A72,72,0,0,0,128,160a40,40,0,1,0-40-40,40,40,0,0,0,40,40,72,72,0,0,0-64.2,39.37h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM74.08,197.5a64,64,0,0,1,107.84,0,87.83,87.83,0,0,1-107.84,0ZM96,120a32,32,0,1,1,32,32A32,32,0,0,1,96,120Zm97.76,66.41a79.66,79.66,0,0,0-36.06-28.75,48,48,0,1,0-59.4,0,79.66,79.66,0,0,0-36.06,28.75,88,88,0,1,1,131.52,0Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M172,120a44,44,0,1,1-44-44A44.05,44.05,0,0,1,172,120Zm60,8A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88.09,88.09,0,0,0-91.47-87.93C77.43,41.89,39.87,81.12,40,128.25a87.65,87.65,0,0,0,22.24,58.16A79.71,79.71,0,0,1,84,165.1a4,4,0,0,1,4.83.32,59.83,59.83,0,0,0,78.28,0,4,4,0,0,1,4.83-.32,79.71,79.71,0,0,1,21.79,21.31A87.62,87.62,0,0,0,216,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26ZM71.44,198a66,66,0,0,1,113.12,0,89.8,89.8,0,0,1-113.12,0ZM94,120a34,34,0,1,1,34,34A34,34,0,0,1,94,120Zm99.51,69.64a77.53,77.53,0,0,0-40-31.38,46,46,0,1,0-51,0,77.53,77.53,0,0,0-40,31.38,90,90,0,1,1,131,0Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM74.08,197.5a64,64,0,0,1,107.84,0,87.83,87.83,0,0,1-107.84,0ZM96,120a32,32,0,1,1,32,32A32,32,0,0,1,96,120Zm97.76,66.41a79.66,79.66,0,0,0-36.06-28.75,48,48,0,1,0-59.4,0,79.66,79.66,0,0,0-36.06,28.75,88,88,0,1,1,131.52,0Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28ZM68.87,198.42a68,68,0,0,1,118.26,0,91.8,91.8,0,0,1-118.26,0Zm124.3-5.55a75.61,75.61,0,0,0-44.51-34,44,44,0,1,0-41.32,0,75.61,75.61,0,0,0-44.51,34,92,92,0,1,1,130.34,0ZM128,156a36,36,0,1,1,36-36A36,36,0,0,1,128,156Z"}))]]),hO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M148.5,156.53a72,72,0,1,0-89,0,124,124,0,0,0-48.69,35.75,12,12,0,0,0,18.38,15.44C48.54,184.69,75.11,172,104,172c37,0,61.12,19.42,74.81,35.72a12,12,0,1,0,18.38-15.44A124,124,0,0,0,148.5,156.53ZM56,100a48,48,0,1,1,48,48A48.05,48.05,0,0,1,56,100Zm190.53,40-7.11,2.31,4.39,6.05a12,12,0,1,1-19.41,14.11l-4.4-6.06-4.4,6.06a12,12,0,1,1-19.41-14.11l4.39-6.05L193.47,140a12,12,0,1,1,7.41-22.83l7.12,2.31V112a12,12,0,0,1,24,0v7.48l7.12-2.31A12,12,0,1,1,246.53,140Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,100a60,60,0,1,1-60-60A60,60,0,0,1,168,100Z",opacity:"0.2"}),r.createElement("path",{d:"M144,157.68a68,68,0,1,0-71.9,0c-20.65,6.76-39.23,19.39-54.17,37.17a8,8,0,1,0,12.24,10.3C50.25,181.19,77.91,168,108,168s57.75,13.19,77.87,37.15a8,8,0,0,0,12.26-10.3C183.18,177.07,164.6,164.44,144,157.68ZM56,100a52,52,0,1,1,52,52A52.06,52.06,0,0,1,56,100Zm196.25,43.07-4.66-2.69a23.6,23.6,0,0,0,0-8.76l4.66-2.69a8,8,0,1,0-8-13.86l-4.67,2.7a23.92,23.92,0,0,0-7.58-4.39V108a8,8,0,0,0-16,0v5.38a23.92,23.92,0,0,0-7.58,4.39l-4.67-2.7a8,8,0,1,0-8,13.86l4.66,2.69a23.6,23.6,0,0,0,0,8.76l-4.66,2.69a8,8,0,0,0,8,13.86l4.67-2.7a23.92,23.92,0,0,0,7.58,4.39V164a8,8,0,0,0,16,0v-5.38a23.92,23.92,0,0,0,7.58-4.39l4.67,2.7a7.92,7.92,0,0,0,4,1.07,8,8,0,0,0,4-14.93ZM224,144a8,8,0,1,1,8-8A8,8,0,0,1,224,144Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M198.13,194.85A8,8,0,0,1,192,208H24a8,8,0,0,1-6.12-13.15c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM255.18,154a8,8,0,0,1-6.94,4,7.92,7.92,0,0,1-4-1.07l-4.67-2.7a23.92,23.92,0,0,1-7.58,4.39V164a8,8,0,0,1-16,0v-5.38a23.92,23.92,0,0,1-7.58-4.39l-4.67,2.7a7.92,7.92,0,0,1-4,1.07,8,8,0,0,1-4-14.93l4.66-2.69a23.6,23.6,0,0,1,0-8.76l-4.66-2.69a8,8,0,1,1,8-13.86l4.67,2.7a23.92,23.92,0,0,1,7.58-4.39V108a8,8,0,0,1,16,0v5.38a23.92,23.92,0,0,1,7.58,4.39l4.67-2.7a8,8,0,1,1,8,13.86l-4.66,2.69a23.6,23.6,0,0,1,0,8.76l4.66,2.69A8,8,0,0,1,255.18,154ZM224,144a8,8,0,1,0-8-8A8,8,0,0,0,224,144Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M139,158.25a66,66,0,1,0-62,0c-22,6.23-41.88,19.16-57.61,37.89a6,6,0,0,0,9.18,7.72C49.1,179.44,77.31,166,108,166s58.9,13.44,79.41,37.86a6,6,0,1,0,9.18-7.72C180.86,177.41,161,164.48,139,158.25ZM54,100a54,54,0,1,1,54,54A54.06,54.06,0,0,1,54,100Zm197.25,44.8-5.92-3.41a22,22,0,0,0,0-10.78l5.92-3.41a6,6,0,0,0-6-10.4l-5.93,3.43a22,22,0,0,0-9.32-5.39V108a6,6,0,0,0-12,0v6.84a22,22,0,0,0-9.32,5.39l-5.93-3.43a6,6,0,0,0-6,10.4l5.92,3.41a22,22,0,0,0,0,10.78l-5.92,3.41a6,6,0,0,0,6,10.4l5.93-3.43a22,22,0,0,0,9.32,5.39V164a6,6,0,0,0,12,0v-6.84a22,22,0,0,0,9.32-5.39l5.93,3.43a6,6,0,0,0,6-10.4ZM224,146a10,10,0,1,1,10-10A10,10,0,0,1,224,146Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M144,157.68a68,68,0,1,0-71.9,0c-20.65,6.76-39.23,19.39-54.17,37.17a8,8,0,1,0,12.24,10.3C50.25,181.19,77.91,168,108,168s57.75,13.19,77.87,37.15a8,8,0,0,0,12.26-10.3C183.18,177.07,164.6,164.44,144,157.68ZM56,100a52,52,0,1,1,52,52A52.06,52.06,0,0,1,56,100Zm196.25,43.07-4.66-2.69a23.6,23.6,0,0,0,0-8.76l4.66-2.69a8,8,0,1,0-8-13.86l-4.67,2.7a23.92,23.92,0,0,0-7.58-4.39V108a8,8,0,0,0-16,0v5.38a23.92,23.92,0,0,0-7.58,4.39l-4.67-2.7a8,8,0,1,0-8,13.86l4.66,2.69a23.6,23.6,0,0,0,0,8.76l-4.66,2.69a8,8,0,0,0,8,13.86l4.67-2.7a23.92,23.92,0,0,0,7.58,4.39V164a8,8,0,0,0,16,0v-5.38a23.92,23.92,0,0,0,7.58-4.39l4.67,2.7a7.92,7.92,0,0,0,4,1.07,8,8,0,0,0,4-14.93ZM216,136a8,8,0,1,1,8,8A8,8,0,0,1,216,136Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M133.17,158.84a64,64,0,1,0-50.34,0c-23.76,5.46-45.18,18.69-61.89,38.59a4,4,0,1,0,6.12,5.14C48,177.7,76.7,164,108,164s60,13.7,80.94,38.57a4,4,0,0,0,6.12-5.14C178.35,177.53,156.93,164.3,133.17,158.84ZM52,100a56,56,0,1,1,56,56A56.06,56.06,0,0,1,52,100Zm198.25,46.54L243,142.33a19.78,19.78,0,0,0,0-12.66l7.29-4.21a4,4,0,1,0-4-6.92l-7.31,4.21A20,20,0,0,0,228,116.4V108a4,4,0,0,0-8,0v8.4a20,20,0,0,0-10.94,6.35l-7.31-4.21a4,4,0,1,0-4,6.92l7.29,4.21a19.78,19.78,0,0,0,0,12.66l-7.29,4.21a4,4,0,0,0,2,7.46,3.92,3.92,0,0,0,2-.54l7.31-4.21A20,20,0,0,0,220,155.6V164a4,4,0,0,0,8,0v-8.4a20,20,0,0,0,10.94-6.35l7.31,4.21a3.92,3.92,0,0,0,2,.54,4,4,0,0,0,2-7.46ZM224,148a12,12,0,1,1,12-12A12,12,0,0,1,224,148Z"}))]]),fO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M256,136a12,12,0,0,1-12,12h-8v8a12,12,0,0,1-24,0v-8h-8a12,12,0,0,1,0-24h8v-8a12,12,0,0,1,24,0v8h8A12,12,0,0,1,256,136Zm-54.81,56.28a12,12,0,1,1-18.38,15.44C169.12,191.42,145,172,108,172c-28.89,0-55.46,12.68-74.81,35.72a12,12,0,0,1-18.38-15.44A124.08,124.08,0,0,1,63.5,156.53a72,72,0,1,1,89,0A124,124,0,0,1,201.19,192.28ZM108,148a48,48,0,1,0-48-48A48.05,48.05,0,0,0,108,148Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,100a60,60,0,1,1-60-60A60,60,0,0,1,168,100Z",opacity:"0.2"}),r.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136Zm-57.87,58.85a8,8,0,0,1-12.26,10.3C165.75,181.19,138.09,168,108,168s-57.75,13.19-77.87,37.15a8,8,0,0,1-12.25-10.3c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM108,152a52,52,0,1,0-52-52A52.06,52.06,0,0,0,108,152Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136ZM144,157.68a68,68,0,1,0-71.9,0c-20.65,6.76-39.23,19.39-54.17,37.17A8,8,0,0,0,24,208H192a8,8,0,0,0,6.13-13.15C183.18,177.07,164.6,164.44,144,157.68Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M254,136a6,6,0,0,1-6,6H230v18a6,6,0,0,1-12,0V142H200a6,6,0,0,1,0-12h18V112a6,6,0,0,1,12,0v18h18A6,6,0,0,1,254,136Zm-57.41,60.14a6,6,0,1,1-9.18,7.72C166.9,179.45,138.69,166,108,166s-58.89,13.45-79.41,37.86a6,6,0,0,1-9.18-7.72C35.14,177.41,55,164.48,77,158.25a66,66,0,1,1,62,0C161,164.48,180.86,177.41,196.59,196.14ZM108,154a54,54,0,1,0-54-54A54.06,54.06,0,0,0,108,154Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136Zm-57.87,58.85a8,8,0,0,1-12.26,10.3C165.75,181.19,138.09,168,108,168s-57.75,13.19-77.87,37.15a8,8,0,0,1-12.25-10.3c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM108,152a52,52,0,1,0-52-52A52.06,52.06,0,0,0,108,152Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M252,136a4,4,0,0,1-4,4H228v20a4,4,0,0,1-8,0V140H200a4,4,0,0,1,0-8h20V112a4,4,0,0,1,8,0v20h20A4,4,0,0,1,252,136Zm-56.94,61.43a4,4,0,0,1-6.12,5.14C168,177.7,139.3,164,108,164s-60,13.7-80.94,38.57a4,4,0,1,1-6.12-5.14c16.71-19.9,38.13-33.13,61.89-38.59a64,64,0,1,1,50.34,0C156.93,164.3,178.35,177.53,195.06,197.43ZM108,156a56,56,0,1,0-56-56A56.06,56.06,0,0,0,108,156Z"}))]]),mO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M125.18,156.94a64,64,0,1,0-82.36,0,100.23,100.23,0,0,0-39.49,32,12,12,0,0,0,19.35,14.2,76,76,0,0,1,122.64,0,12,12,0,0,0,19.36-14.2A100.33,100.33,0,0,0,125.18,156.94ZM44,108a40,40,0,1,1,40,40A40,40,0,0,1,44,108Zm206.1,97.67a12,12,0,0,1-16.78-2.57A76.31,76.31,0,0,0,172,172a12,12,0,0,1,0-24,40,40,0,1,0-10.3-78.67,12,12,0,1,1-6.16-23.19,64,64,0,0,1,57.64,110.8,100.23,100.23,0,0,1,39.49,32A12,12,0,0,1,250.1,205.67Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M136,108A52,52,0,1,1,84,56,52,52,0,0,1,136,108Z",opacity:"0.2"}),r.createElement("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M164.47,195.63a8,8,0,0,1-6.7,12.37H10.23a8,8,0,0,1-6.7-12.37,95.83,95.83,0,0,1,47.22-37.71,60,60,0,1,1,66.5,0A95.83,95.83,0,0,1,164.47,195.63Zm87.91-.15a95.87,95.87,0,0,0-47.13-37.56A60,60,0,0,0,144.7,54.59a4,4,0,0,0-1.33,6A75.83,75.83,0,0,1,147,150.53a4,4,0,0,0,1.07,5.53,112.32,112.32,0,0,1,29.85,30.83,23.92,23.92,0,0,1,3.65,16.47,4,4,0,0,0,3.95,4.64h60.3a8,8,0,0,0,7.73-5.93A8.22,8.22,0,0,0,252.38,195.48Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M112.6,158.43a58,58,0,1,0-57.2,0A93.83,93.83,0,0,0,5.21,196.72a6,6,0,0,0,10.05,6.56,82,82,0,0,1,137.48,0,6,6,0,0,0,10-6.56A93.83,93.83,0,0,0,112.6,158.43ZM38,108a46,46,0,1,1,46,46A46.06,46.06,0,0,1,38,108Zm211,97a6,6,0,0,1-8.3-1.74A81.8,81.8,0,0,0,172,166a6,6,0,0,1,0-12,46,46,0,1,0-17.08-88.73,6,6,0,1,1-4.46-11.14,58,58,0,0,1,50.14,104.3,93.83,93.83,0,0,1,50.19,38.29A6,6,0,0,1,249,205Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M107.19,159a56,56,0,1,0-46.38,0A91.83,91.83,0,0,0,6.88,197.81a4,4,0,1,0,6.7,4.37,84,84,0,0,1,140.84,0,4,4,0,1,0,6.7-4.37A91.83,91.83,0,0,0,107.19,159ZM36,108a48,48,0,1,1,48,48A48.05,48.05,0,0,1,36,108Zm212,95.35a4,4,0,0,1-5.53-1.17A83.81,83.81,0,0,0,172,164a4,4,0,0,1,0-8,48,48,0,1,0-17.82-92.58,4,4,0,1,1-3-7.43,56,56,0,0,1,44,103,91.83,91.83,0,0,1,53.93,38.86A4,4,0,0,1,248,203.35Z"}))]]),pO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M164.38,181.1a52,52,0,1,0-72.76,0,75.89,75.89,0,0,0-30,28.89,12,12,0,0,0,20.78,12,53,53,0,0,1,91.22,0,12,12,0,1,0,20.78-12A75.89,75.89,0,0,0,164.38,181.1ZM100,144a28,28,0,1,1,28,28A28,28,0,0,1,100,144Zm147.21,9.59a12,12,0,0,1-16.81-2.39c-8.33-11.09-19.85-19.59-29.33-21.64a12,12,0,0,1-1.82-22.91,20,20,0,1,0-24.78-28.3,12,12,0,1,1-21-11.6,44,44,0,1,1,73.28,48.35,92.18,92.18,0,0,1,22.85,21.69A12,12,0,0,1,247.21,153.59Zm-192.28-24c-9.48,2.05-21,10.55-29.33,21.65A12,12,0,0,1,6.41,136.79,92.37,92.37,0,0,1,29.26,115.1a44,44,0,1,1,73.28-48.35,12,12,0,1,1-21,11.6,20,20,0,1,0-24.78,28.3,12,12,0,0,1-1.82,22.91Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,144a40,40,0,1,1-40-40A40,40,0,0,1,168,144ZM64,56A32,32,0,1,0,96,88,32,32,0,0,0,64,56Zm128,0a32,32,0,1,0,32,32A32,32,0,0,0,192,56Z",opacity:"0.2"}),r.createElement("path",{d:"M244.8,150.4a8,8,0,0,1-11.2-1.6A51.6,51.6,0,0,0,192,128a8,8,0,0,1,0-16,24,24,0,1,0-23.24-30,8,8,0,1,1-15.5-4A40,40,0,1,1,219,117.51a67.94,67.94,0,0,1,27.43,21.68A8,8,0,0,1,244.8,150.4ZM190.92,212a8,8,0,1,1-13.85,8,57,57,0,0,0-98.15,0,8,8,0,1,1-13.84-8,72.06,72.06,0,0,1,33.74-29.92,48,48,0,1,1,58.36,0A72.06,72.06,0,0,1,190.92,212ZM128,176a32,32,0,1,0-32-32A32,32,0,0,0,128,176ZM72,120a8,8,0,0,0-8-8A24,24,0,1,1,87.24,82a8,8,0,1,0,15.5-4A40,40,0,1,0,37,117.51,67.94,67.94,0,0,0,9.6,139.19a8,8,0,1,0,12.8,9.61A51.6,51.6,0,0,1,64,128,8,8,0,0,0,72,120Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M243.6,148.8a6,6,0,0,1-8.4-1.2A53.58,53.58,0,0,0,192,126a6,6,0,0,1,0-12,26,26,0,1,0-25.18-32.5,6,6,0,0,1-11.62-3,38,38,0,1,1,59.91,39.63A65.69,65.69,0,0,1,244.8,140.4,6,6,0,0,1,243.6,148.8ZM189.19,213a6,6,0,0,1-2.19,8.2,5.9,5.9,0,0,1-3,.81,6,6,0,0,1-5.2-3,59,59,0,0,0-101.62,0,6,6,0,1,1-10.38-6A70.1,70.1,0,0,1,103,182.55a46,46,0,1,1,50.1,0A70.1,70.1,0,0,1,189.19,213ZM128,178a34,34,0,1,0-34-34A34,34,0,0,0,128,178ZM70,120a6,6,0,0,0-6-6A26,26,0,1,1,89.18,81.49a6,6,0,1,0,11.62-3,38,38,0,1,0-59.91,39.63A65.69,65.69,0,0,0,11.2,140.4a6,6,0,1,0,9.6,7.2A53.58,53.58,0,0,1,64,126,6,6,0,0,0,70,120Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M244.8,150.4a8,8,0,0,1-11.2-1.6A51.6,51.6,0,0,0,192,128a8,8,0,0,1-7.37-4.89,8,8,0,0,1,0-6.22A8,8,0,0,1,192,112a24,24,0,1,0-23.24-30,8,8,0,1,1-15.5-4A40,40,0,1,1,219,117.51a67.94,67.94,0,0,1,27.43,21.68A8,8,0,0,1,244.8,150.4ZM190.92,212a8,8,0,1,1-13.84,8,57,57,0,0,0-98.16,0,8,8,0,1,1-13.84-8,72.06,72.06,0,0,1,33.74-29.92,48,48,0,1,1,58.36,0A72.06,72.06,0,0,1,190.92,212ZM128,176a32,32,0,1,0-32-32A32,32,0,0,0,128,176ZM72,120a8,8,0,0,0-8-8A24,24,0,1,1,87.24,82a8,8,0,1,0,15.5-4A40,40,0,1,0,37,117.51,67.94,67.94,0,0,0,9.6,139.19a8,8,0,1,0,12.8,9.61A51.6,51.6,0,0,1,64,128,8,8,0,0,0,72,120Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M237,147.44a4,4,0,0,1-5.48-1.4c-8.33-14-20.93-22-34.56-22a4,4,0,0,1-1.2-.2,36.76,36.76,0,0,1-3.8.2,4,4,0,0,1,0-8,28,28,0,1,0-27.12-35,4,4,0,0,1-7.75-2,36,36,0,1,1,54,39.48c10.81,3.85,20.51,12,27.31,23.48A4,4,0,0,1,237,147.44ZM187.46,214a4,4,0,0,1-1.46,5.46,3.93,3.93,0,0,1-2,.54,4,4,0,0,1-3.46-2,61,61,0,0,0-105.08,0,4,4,0,0,1-6.92-4,68.35,68.35,0,0,1,39.19-31,44,44,0,1,1,40.54,0A68.35,68.35,0,0,1,187.46,214ZM128,180a36,36,0,1,0-36-36A36,36,0,0,0,128,180ZM64,116A28,28,0,1,1,91.12,81a4,4,0,0,0,7.75-2A36,36,0,1,0,45.3,118.75,63.55,63.55,0,0,0,12.8,141.6a4,4,0,0,0,6.4,4.8A55.55,55.55,0,0,1,64,124a4,4,0,0,0,0-8Z"}))]]),gO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),r.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),xO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M60,96v64a12,12,0,0,1-24,0V96a12,12,0,0,1,24,0ZM88,20A12,12,0,0,0,76,32V224a12,12,0,0,0,24,0V32A12,12,0,0,0,88,20Zm40,32a12,12,0,0,0-12,12V192a12,12,0,0,0,24,0V64A12,12,0,0,0,128,52Zm40,32a12,12,0,0,0-12,12v64a12,12,0,0,0,24,0V96A12,12,0,0,0,168,84Zm40-16a12,12,0,0,0-12,12v96a12,12,0,0,0,24,0V80A12,12,0,0,0,208,68Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,96v64H48V96Z",opacity:"0.2"}),r.createElement("path",{d:"M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,152a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,32a8,8,0,0,1-16,0V72a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,8a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M54,96v64a6,6,0,0,1-12,0V96a6,6,0,0,1,12,0ZM88,26a6,6,0,0,0-6,6V224a6,6,0,0,0,12,0V32A6,6,0,0,0,88,26Zm40,32a6,6,0,0,0-6,6V192a6,6,0,0,0,12,0V64A6,6,0,0,0,128,58Zm40,32a6,6,0,0,0-6,6v64a6,6,0,0,0,12,0V96A6,6,0,0,0,168,90Zm40-16a6,6,0,0,0-6,6v96a6,6,0,0,0,12,0V80A6,6,0,0,0,208,74Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M52,96v64a4,4,0,0,1-8,0V96a4,4,0,0,1,8,0ZM88,28a4,4,0,0,0-4,4V224a4,4,0,0,0,8,0V32A4,4,0,0,0,88,28Zm40,32a4,4,0,0,0-4,4V192a4,4,0,0,0,8,0V64A4,4,0,0,0,128,60Zm40,32a4,4,0,0,0-4,4v64a4,4,0,0,0,8,0V96A4,4,0,0,0,168,92Zm40-16a4,4,0,0,0-4,4v96a4,4,0,0,0,8,0V80A4,4,0,0,0,208,76Z"}))]]),vO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,104a40,40,0,1,1,40-40A40,40,0,0,1,128,104Zm64,24a40,40,0,1,0,40,40A40,40,0,0,0,192,128ZM64,128a40,40,0,1,0,40,40A40,40,0,0,0,64,128Z",opacity:"0.2"}),r.createElement("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M180.7,172H107.81a44,44,0,1,1-79-30.41,4,4,0,0,1,6.4,4.81A35.67,35.67,0,0,0,28,168a36,36,0,0,0,72,0,4,4,0,0,1,4-4h76.7a12,12,0,1,1,0,8ZM64,180a12,12,0,0,0,9.33-19.54l37.11-60.3a4,4,0,0,0-1.31-5.51A36,36,0,1,1,161,49.58a4,4,0,1,0,7.33-3.19,44,44,0,1,0-66.71,52.83l-35.1,57.05A11.58,11.58,0,0,0,64,156a12,12,0,0,0,0,24Zm128-56a44,44,0,0,0-19.56,4.58l-35.11-57A12,12,0,1,0,128,76a12.24,12.24,0,0,0,2.52-.27L167.63,136a4,4,0,0,0,5.5,1.31A36,36,0,1,1,192,204a4,4,0,0,0,0,8,44,44,0,0,0,0-88Z"}))]]),bO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M144,204a16,16,0,1,1-16-16A16,16,0,0,1,144,204ZM239.61,83.91a176,176,0,0,0-223.22,0,12,12,0,1,0,15.23,18.55,152,152,0,0,1,192.76,0,12,12,0,1,0,15.23-18.55Zm-32.16,35.73a128,128,0,0,0-158.9,0,12,12,0,0,0,14.9,18.81,104,104,0,0,1,129.1,0,12,12,0,0,0,14.9-18.81ZM175.07,155.3a80.05,80.05,0,0,0-94.14,0,12,12,0,0,0,14.14,19.4,56,56,0,0,1,65.86,0,12,12,0,1,0,14.14-19.4Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M238.2,87.69l-104,125.43a8,8,0,0,1-12.3,0L17.8,87.69a7.79,7.79,0,0,1,1.31-11.21,180.75,180.75,0,0,1,217.78,0A7.79,7.79,0,0,1,238.2,87.69Z",opacity:"0.2"}),r.createElement("path",{d:"M247.89,80.91a15.93,15.93,0,0,0-6.17-10.81A186.67,186.67,0,0,0,128,32,186.67,186.67,0,0,0,14.28,70.1,15.93,15.93,0,0,0,8.11,80.91,15.65,15.65,0,0,0,11.65,92.8l104,125.43A15.93,15.93,0,0,0,128,224h0a15.93,15.93,0,0,0,12.31-5.77l104-125.43A15.65,15.65,0,0,0,247.89,80.91ZM128,208,24.09,82.74A170.76,170.76,0,0,1,128,48,170.76,170.76,0,0,1,231.91,82.74Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M244.35,92.8l-104,125.43A15.93,15.93,0,0,1,128,224h0a15.93,15.93,0,0,1-12.31-5.77L11.65,92.8A15.65,15.65,0,0,1,8.11,80.91,15.93,15.93,0,0,1,14.28,70.1,186.67,186.67,0,0,1,128,32,186.67,186.67,0,0,1,241.72,70.1a15.93,15.93,0,0,1,6.17,10.81A15.65,15.65,0,0,1,244.35,92.8Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M138,204a10,10,0,1,1-10-10A10,10,0,0,1,138,204ZM235.81,88.55a170,170,0,0,0-215.62,0,6,6,0,1,0,7.62,9.27,158,158,0,0,1,200.38,0,6,6,0,1,0,7.62-9.27Zm-32.08,35.79a122,122,0,0,0-151.46,0,6,6,0,0,0,7.46,9.41,110,110,0,0,1,136.54,0A6,6,0,0,0,200,135a6,6,0,0,0,3.73-10.7Zm-32.2,35.81a74,74,0,0,0-87.06,0,6,6,0,0,0,7.06,9.7,62,62,0,0,1,72.94,0,6,6,0,0,0,8.38-1.32A6,6,0,0,0,171.53,160.15Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M140,204a12,12,0,1,1-12-12A12,12,0,0,1,140,204ZM237.08,87A172,172,0,0,0,18.92,87,8,8,0,0,0,29.08,99.37a156,156,0,0,1,197.84,0A8,8,0,0,0,237.08,87ZM205,122.77a124,124,0,0,0-153.94,0A8,8,0,0,0,61,135.31a108,108,0,0,1,134.06,0,8,8,0,0,0,11.24-1.3A8,8,0,0,0,205,122.77Zm-32.26,35.76a76.05,76.05,0,0,0-89.42,0,8,8,0,0,0,9.42,12.94,60,60,0,0,1,70.58,0,8,8,0,1,0,9.42-12.94Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M136,204a8,8,0,1,1-8-8A8,8,0,0,1,136,204ZM234.54,90.1a168,168,0,0,0-213.08,0,4,4,0,1,0,5.08,6.18,160,160,0,0,1,202.92,0,4,4,0,0,0,5.08-6.18Zm-32.06,35.81a120,120,0,0,0-149,0,4,4,0,0,0,5,6.27,112,112,0,0,1,139,0,4,4,0,0,0,5-6.27Zm-32.13,35.86a72,72,0,0,0-84.7,0,4,4,0,1,0,4.7,6.46,64.07,64.07,0,0,1,75.3,0,4,4,0,0,0,5.58-.87A4,4,0,0,0,170.35,161.77Z"}))]]),yO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.47,67.5a12,12,0,0,0-19.26-4.32L172.43,99l-12.68-2.72L157,83.57l35.79-38.78a12,12,0,0,0-4.32-19.26A76.07,76.07,0,0,0,88.41,121.64L30.92,174.18a4.68,4.68,0,0,0-.39.38,36,36,0,0,0,50.91,50.91l.38-.39,52.54-57.49A76.05,76.05,0,0,0,230.47,67.5ZM160,148a51.5,51.5,0,0,1-23.35-5.52,12,12,0,0,0-14.26,2.62L64.31,208.66a12,12,0,0,1-17-17l63.55-58.07a12,12,0,0,0,2.62-14.26A51.5,51.5,0,0,1,108,96a52.06,52.06,0,0,1,52-52h.89L135.17,71.87a12,12,0,0,0-2.91,10.65l5.66,26.35a12,12,0,0,0,9.21,9.21l26.35,5.66a12,12,0,0,0,10.65-2.91L212,95.12c0,.3,0,.59,0,.89A52.06,52.06,0,0,1,160,148Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,96a64,64,0,0,1-94.94,56L73,217A24,24,0,0,1,39,183L104,126.94a64,64,0,0,1,80-90.29L144,80l5.66,26.34L176,112l43.35-40A63.8,63.8,0,0,1,224,96Z",opacity:"0.2"}),r.createElement("path",{d:"M226.76,69a8,8,0,0,0-12.84-2.88l-40.3,37.19-17.23-3.7-3.7-17.23,37.19-40.3A8,8,0,0,0,187,29.24,72,72,0,0,0,88,96,72.34,72.34,0,0,0,94,124.94L33.79,177c-.15.12-.29.26-.43.39a32,32,0,0,0,45.26,45.26c.13-.13.27-.28.39-.42L131.06,162A72,72,0,0,0,232,96,71.56,71.56,0,0,0,226.76,69ZM160,152a56.14,56.14,0,0,1-27.07-7,8,8,0,0,0-9.92,1.77L67.11,211.51a16,16,0,0,1-22.62-22.62L109.18,133a8,8,0,0,0,1.77-9.93,56,56,0,0,1,58.36-82.31l-31.2,33.81a8,8,0,0,0-1.94,7.1L141.83,108a8,8,0,0,0,6.14,6.14l26.35,5.66a8,8,0,0,0,7.1-1.94l33.81-31.2A56.06,56.06,0,0,1,160,152Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,96a72,72,0,0,1-100.94,66L79,222.22c-.12.14-.26.29-.39.42a32,32,0,0,1-45.26-45.26c.14-.13.28-.27.43-.39L94,124.94a72.07,72.07,0,0,1,83.54-98.78,8,8,0,0,1,3.93,13.19L144,80l5.66,26.35L176,112l40.65-37.52a8,8,0,0,1,13.19,3.93A72.6,72.6,0,0,1,232,96Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224.91,69.75a6,6,0,0,0-9.63-2.16l-41.07,37.9L154.7,101.3l-4.19-19.51,37.9-41.07a6,6,0,0,0-2.16-9.63,70,70,0,0,0-89.77,94.39l-61.39,53c-.11.09-.21.19-.32.3A30,30,0,0,0,77.2,221.23c.11-.11.21-.21.3-.32l53-61.39a70,70,0,0,0,94.39-89.77ZM160,154a58,58,0,0,1-28-7.22,6,6,0,0,0-7.45,1.33L68.57,212.88a18,18,0,0,1-25.45-25.45l64.76-55.94A6,6,0,0,0,109.2,124a58,58,0,0,1,64-84.53L139.58,75.93a6,6,0,0,0-1.45,5.33l5.65,26.35a6,6,0,0,0,4.61,4.61l26.35,5.65a6,6,0,0,0,5.33-1.45L216.49,82.8A58.06,58.06,0,0,1,160,154Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M226.76,69a8,8,0,0,0-12.84-2.88l-40.3,37.19-17.23-3.7-3.7-17.23,37.19-40.3A8,8,0,0,0,187,29.24,72,72,0,0,0,88,96,72.34,72.34,0,0,0,94,124.94L33.79,177c-.15.12-.29.26-.43.39a32,32,0,0,0,45.26,45.26c.13-.13.27-.28.39-.42L131.06,162A72,72,0,0,0,232,96,71.56,71.56,0,0,0,226.76,69ZM160,152a56.14,56.14,0,0,1-27.07-7,8,8,0,0,0-9.92,1.77L67.11,211.51a16,16,0,0,1-22.62-22.62L109.18,133a8,8,0,0,0,1.77-9.93,56,56,0,0,1,58.36-82.31l-31.2,33.81a8,8,0,0,0-1.94,7.1L141.83,108a8,8,0,0,0,6.14,6.14l26.35,5.66a8,8,0,0,0,7.1-1.94l33.81-31.2A56.06,56.06,0,0,1,160,152Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M223.05,70.5a4,4,0,0,0-6.42-1.44l-41.82,38.6L153,103l-4.68-21.79,38.6-41.82a4,4,0,0,0-1.44-6.43A68,68,0,0,0,98.94,126L36.4,180l-.21.2a28,28,0,0,0,39.6,39.6l.2-.21,54-62.54A68,68,0,0,0,228,96,67.51,67.51,0,0,0,223.05,70.5ZM160,156a60,60,0,0,1-29-7.47,4,4,0,0,0-5,.89L70,214.25A20,20,0,0,1,41.75,186l64.82-56a4,4,0,0,0,.89-5,60,60,0,0,1,69.46-86.59L141.05,77.29a4,4,0,0,0-1,3.55l5.66,26.35a4,4,0,0,0,3.07,3.07l26.35,5.66a4,4,0,0,0,3.55-1l38.87-35.87A60.05,60.05,0,0,1,160,156Z"}))]]),wO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),r.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),AO=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),jO=r.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),ue=r.forwardRef((e,a)=>{const{alt:l,color:i,size:c,weight:u,mirrored:d,children:h,weights:m,...p}=e,{color:g="currentColor",size:x,weight:y="regular",mirrored:w=!1,...N}=r.useContext(jO);return r.createElement("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:c??x,height:c??x,fill:i??g,viewBox:"0 0 256 256",transform:d||w?"scale(-1, 1)":void 0,...N,...p},!!l&&r.createElement("title",null,l),h,m.get(u??y))});ue.displayName="IconBase";const dE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Ck}));dE.displayName="AddressBookIcon";const hE=dE,fE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Hk}));fE.displayName="ArrowBendDownRightIcon";const EO=fE,mE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:_k}));mE.displayName="ArrowClockwiseIcon";const Al=mE,pE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Vk}));pE.displayName="ArrowLeftIcon";const Gr=pE,gE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Tk}));gE.displayName="ArrowRightIcon";const Uf=gE,xE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Lk}));xE.displayName="ArrowsLeftRightIcon";const Ih=xE,vE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Rk}));vE.displayName="BellRingingIcon";const If=vE,bE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:kk}));bE.displayName="BookOpenIcon";const yE=bE,wE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Dk}));wE.displayName="BrainIcon";const NO=wE,AE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Ok}));AE.displayName="BrowserIcon";const Ph=AE,jE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Fk}));jE.displayName="BuildingsIcon";const Gh=jE,EE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:qk}));EE.displayName="CalendarBlankIcon";const jl=EE,NE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:zk}));NE.displayName="CalendarIcon";const MO=NE,ME=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Bk}));ME.displayName="CalendarCheckIcon";const SO=ME,SE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:$k}));SE.displayName="CameraIcon";const Yh=SE,ZE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Uk}));ZE.displayName="CaretDownIcon";const Qa=ZE,CE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Ik}));CE.displayName="CaretRightIcon";const El=CE,HE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Pk}));HE.displayName="CaretUpIcon";const ZO=HE,_E=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Gk}));_E.displayName="ChartBarIcon";const VE=_E,TE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Yk}));TE.displayName="ChartLineUpIcon";const CO=TE,LE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Kk}));LE.displayName="ChatCircleIcon";const C1=LE,RE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Xk}));RE.displayName="ChatCircleDotsIcon";const g1=RE,kE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Qk}));kE.displayName="CheckIcon";const Or=kE,DE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Jk}));DE.displayName="CheckCircleIcon";const Yr=DE,OE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:Wk}));OE.displayName="CircleNotchIcon";const yt=OE,FE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:eD}));FE.displayName="ClipboardTextIcon";const HO=FE,qE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:tD}));qE.displayName="ClockIcon";const Fr=qE,zE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:aD}));zE.displayName="ClockCounterClockwiseIcon";const BE=zE,$E=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:nD}));$E.displayName="CrosshairIcon";const _O=$E,UE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:rD}));UE.displayName="CubeIcon";const Kh=UE,IE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:sD}));IE.displayName="CurrencyDollarIcon";const PE=IE,GE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:lD}));GE.displayName="DotsSixVerticalIcon";const VO=GE,YE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:iD}));YE.displayName="DownloadIcon";const TO=YE,KE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:oD}));KE.displayName="EjectIcon";const LO=KE,XE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:cD}));XE.displayName="EnvelopeIcon";const RO=XE,QE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:uD}));QE.displayName="EyeIcon";const Pf=QE,JE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:dD}));JE.displayName="FileTextIcon";const kO=JE,WE=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:hD}));WE.displayName="FlagIcon";const DO=WE,eN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:fD}));eN.displayName="FloppyDiskIcon";const OO=eN,tN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:mD}));tN.displayName="FlowArrowIcon";const FO=tN,aN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:pD}));aN.displayName="FunnelIcon";const qO=aN,nN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:gD}));nN.displayName="GearIcon";const zO=nN,rN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:xD}));rN.displayName="GearSixIcon";const sN=rN,lN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:vD}));lN.displayName="GitBranchIcon";const iN=lN,oN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:bD}));oN.displayName="GlobeIcon";const Nl=oN,cN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:yD}));cN.displayName="HandIcon";const Gf=cN,uN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:wD}));uN.displayName="HandshakeIcon";const BO=uN,dN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:AD}));dN.displayName="HeadsetIcon";const $O=dN,hN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:jD}));hN.displayName="KanbanIcon";const Yf=hN,fN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:ED}));fN.displayName="LightbulbIcon";const Yx=fN,mN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:ND}));mN.displayName="LightningIcon";const ja=mN,pN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:MD}));pN.displayName="ListIcon";const gN=pN,xN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:SD}));xN.displayName="ListChecksIcon";const O1=xN,vN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:ZD}));vN.displayName="MagnetIcon";const UO=vN,bN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:CD}));bN.displayName="MagnifyingGlassIcon";const jn=bN,yN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:HD}));yN.displayName="MicrophoneIcon";const H0=yN,wN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:_D}));wN.displayName="MicrophoneSlashIcon";const AN=wN,jN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:VD}));jN.displayName="MinusIcon";const IO=jN,EN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:TD}));EN.displayName="NewspaperIcon";const Xh=EN,NN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:LD}));NN.displayName="NoteIcon";const PO=NN,MN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:RD}));MN.displayName="NotebookIcon";const GO=MN,SN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:kD}));SN.displayName="PaperPlaneRightIcon";const Qh=SN,ZN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:DD}));ZN.displayName="PauseIcon";const YO=ZN,CN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:OD}));CN.displayName="PencilIcon";const F1=CN,HN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:FD}));HN.displayName="PencilLineIcon";const KO=HN,_N=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:qD}));_N.displayName="PencilSimpleIcon";const Jh=_N,VN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:zD}));VN.displayName="PhoneDisconnectIcon";const XO=VN,TN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:BD}));TN.displayName="PlayIcon";const Kf=TN,LN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:$D}));LN.displayName="PlugIcon";const Xf=LN,RN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:UD}));RN.displayName="PlugsConnectedIcon";const qr=RN,kN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:ID}));kN.displayName="PlusIcon";const pt=kN,DN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:PD}));DN.displayName="PowerIcon";const Kx=DN,ON=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:GD}));ON.displayName="PulseIcon";const kr=ON,FN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:YD}));FN.displayName="QrCodeIcon";const Xx=FN,qN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:KD}));qN.displayName="RobotIcon";const Ka=qN,zN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:XD}));zN.displayName="ShareNetworkIcon";const Wh=zN,BN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:QD}));BN.displayName="ShieldCheckIcon";const $N=BN,UN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:JD}));UN.displayName="ShuffleIcon";const QO=UN,IN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:WD}));IN.displayName="SkipForwardIcon";const JO=IN,PN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:eO}));PN.displayName="SpinnerIcon";const GN=PN,YN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:tO}));YN.displayName="SpinnerGapIcon";const WO=YN,KN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:aO}));KN.displayName="SquaresFourIcon";const eF=KN,XN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:nO}));XN.displayName="StarIcon";const tF=XN,QN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:rO}));QN.displayName="TagIcon";const aF=QN,JN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:sO}));JN.displayName="TargetIcon";const ef=JN,WN=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:lO}));WN.displayName="TimerIcon";const nF=WN,eM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:iO}));eM.displayName="TrashIcon";const qt=eM,tM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:oO}));tM.displayName="TreeStructureIcon";const Qx=tM,aM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:cO}));aM.displayName="TrendUpIcon";const tf=aM,nM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:uO}));nM.displayName="UploadIcon";const rF=nM,rM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:dO}));rM.displayName="UserCircleIcon";const Jx=rM,sM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:hO}));sM.displayName="UserGearIcon";const sF=sM,lM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:fO}));lM.displayName="UserPlusIcon";const lF=lM,iM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:mO}));iM.displayName="UsersIcon";const iF=iM,oM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:pO}));oM.displayName="UsersThreeIcon";const cM=oM,uM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:gO}));uM.displayName="WarningIcon";const Qf=uM,dM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:xO}));dM.displayName="WaveformIcon";const Wx=dM,hM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:vO}));hM.displayName="WebhooksLogoIcon";const oF=hM,fM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:bO}));fM.displayName="WifiHighIcon";const cF=fM,mM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:yO}));mM.displayName="WrenchIcon";const uF=mM,pM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:wO}));pM.displayName="XIcon";const Ea=pM,gM=r.forwardRef((e,a)=>r.createElement(ue,{ref:a,...e,weights:AO}));gM.displayName="XCircleIcon";const q1=gM,af=new EventTarget;function ce(e,a){af.dispatchEvent(new CustomEvent("toast",{detail:{type:e,message:a}}))}const dF={success:"border-success/30 bg-success/10 text-success",error:"border-critical/30 bg-critical/10 text-critical",info:"border-white/10 bg-white/5 text-neutral-200"};function hF(){const[e,a]=r.useState([]);r.useEffect(()=>{const i=c=>{const{type:u,message:d}=c.detail,h=crypto.randomUUID();a(m=>[...m.slice(-4),{id:h,type:u,message:d}]),setTimeout(()=>{a(m=>m.filter(p=>p.id!==h))},5e3)};return af.addEventListener("toast",i),()=>af.removeEventListener("toast",i)},[]);const l=i=>{a(c=>c.filter(u=>u.id!==i))};return s.jsx("div",{className:"fixed bottom-4 right-4 z-50 flex flex-col gap-2 max-w-sm",children:s.jsx(Oa,{children:e.map(i=>s.jsxs(De.div,{initial:{opacity:0,y:20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},className:`flex items-center gap-2 px-4 py-3 rounded-lg border text-sm ${dF[i.type]}`,children:[s.jsx("span",{className:"flex-1",children:i.message}),s.jsx("button",{onClick:()=>l(i.id),className:"opacity-60 hover:opacity-100",children:s.jsx(Ea,{size:14})})]},i.id))})})}function je(e,a=[]){const[l,i]=r.useState(null),[c,u]=r.useState(!!e),[d,h]=r.useState(null),[m,p]=r.useState(0),g=r.useCallback(()=>p(x=>x+1),[]);return r.useEffect(()=>{if(!e)return;let x=!1;return u(!0),fe(e).then(y=>{x||(i(y.data),h(null))}).catch(y=>{x||h(y.message)}).finally(()=>{x||u(!1)}),()=>{x=!0}},[e,m,...a]),{data:l,loading:c,error:d,refetch:g}}function Jf(){const[e,a]=r.useState("connected"),[l,i]=r.useState(!0),[c,u]=r.useState(!0);return r.useEffect(()=>{let d=!1;return fetch("/api/runtime/tier").then(h=>h.json()).then(h=>{if(!d){const p=h.data.tier==="free"?"free":"connected";a(p),i(h.data.modelReady??!0)}}).catch(()=>{}).finally(()=>{d||u(!1)}),()=>{d=!0}},[]),{tier:e,modelReady:l,loading:c}}let Kt=null,U2=null;const nf=new Set,fF=3e3;function mF(){const e=An(),a=window.location.protocol==="https:"?"wss:":"ws:",l=window.location.host;return`${a}//${l}/ws?token=${e}`}function Wf(){if(!((Kt==null?void 0:Kt.readyState)===WebSocket.OPEN||(Kt==null?void 0:Kt.readyState)===WebSocket.CONNECTING||!An()))try{Kt=new WebSocket(mF()),Kt.onmessage=a=>{try{const l=JSON.parse(a.data);for(const i of nf)i(l.type,l.data)}catch{}},Kt.onclose=()=>{Kt=null,e7()},Kt.onerror=()=>{Kt==null||Kt.close()}}catch{e7()}}function e7(){U2||(U2=setTimeout(()=>{U2=null,Wf()},fF))}function xM(e){return nf.add(e),()=>nf.delete(e)}function Ja(e){const[a,l]=r.useState(0);return r.useEffect(()=>(Wf(),xM(i=>{e.includes(i)&&l(c=>c+1)})),[e.join(",")]),a}function pF(e){const a=r.useRef(e);r.useEffect(()=>{a.current=e}),r.useEffect(()=>(Wf(),xM((l,i)=>{a.current(l,i)})),[])}function gF(){pF(r.useCallback((e,a)=>{const l=a;switch(e){case"task:completed":ce("success",`Task completed${l!=null&&l.taskId?` (${l.taskId.slice(0,8)})`:""}`);break;case"task:failed":ce("error",`Task failed: ${(l==null?void 0:l.error)||"Unknown error"}`);break;case"cloud:connected":ce("info","Connected to cloud");break;case"cloud:disconnected":ce("error",`Disconnected: ${(l==null?void 0:l.reason)||"Unknown"}`);break;case"credits:exhausted":ce("info","Cloud credits exhausted. Tasks are running on your local model.");break}},[]))}function xF({children:e}){return s.jsx(De.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.15,ease:"easeOut"},className:"h-full",children:e})}const vF=[{path:"/",label:"Chat",icon:C1,group:"primary"},{path:"/dashboard",label:"Overview",icon:eF,group:"primary"},{path:"/tasks",label:"Tasks",icon:O1,group:"primary"},{path:"/activity",label:"Activity",icon:kr,group:"primary"},{path:"/messages",label:"Messages",icon:C1,group:"primary"},{path:"/agents",label:"Agents",icon:Ka,group:"manage"},{path:"/projects",label:"Projects",icon:Yf,group:"manage"},{path:"/workflows",label:"Workflows",icon:FO,group:"manage"},{path:"/automations",label:"Automations",icon:ja,group:"manage"},{path:"/templates",label:"Templates",icon:Kh,group:"manage"},{path:"/schedules",label:"Schedules",icon:jl,group:"manage"},{path:"/approvals",label:"Approvals",icon:$N,group:"manage"},{path:"/goals",label:"Goals",icon:ef,group:"manage"},{path:"/revenue",label:"Revenue",icon:PE,group:"manage"},{path:"/messaging",label:"Messaging",icon:g1,group:"connect"},{path:"/peers",label:"Peers",icon:Wh,group:"connect"},{path:"/team",label:"Team",icon:cM,group:"connect"},{path:"/connections",label:"Connections",icon:qr,group:"connect"},{path:"/webhook-events",label:"Webhooks",icon:Xf,group:"configure"},{path:"/browser",label:"Browser",icon:Ph,group:"configure"},{path:"/briefings",label:"Briefings",icon:Xh,group:"configure"},{path:"/podcast",label:"Podcast",icon:H0,group:"configure"},{path:"/knowledge",label:"Knowledge",icon:yE,group:"configure"},{path:"/settings",label:"Settings",icon:sN,group:"configure"}];function bF(e){const a=Math.floor(e/3600),l=Math.floor(e%3600/60);return a>0?`${a}h ${l}m`:`${l}m`}function yF({label:e,children:a}){return s.jsxs("div",{children:[s.jsx("p",{className:"text-[10px] uppercase tracking-widest text-neutral-600 px-3 mb-1.5",children:e}),s.jsx("div",{className:"space-y-0.5",children:a})]})}function wF({path:e,label:a,icon:l,isActive:i}){return s.jsxs(T0,{to:e,"data-testid":`runtime-nav-${a.toLowerCase()}`,className:`relative flex items-center gap-3 px-3 py-2 text-sm rounded-md transition-colors ${i?"text-white":"text-neutral-400 hover:text-white hover:bg-white/5"}`,children:[i&&s.jsx(De.div,{layoutId:"sidebar-active",className:"absolute inset-0 bg-white/10 rounded-md",transition:{type:"spring",stiffness:350,damping:30}}),s.jsxs("span",{className:"relative z-10 flex items-center gap-3",children:[s.jsx(l,{size:16,weight:"bold"}),a]})]})}function t7({health:e,tier:a,tierLoading:l,visibleNav:i,pathname:c,onClose:u}){const d=p=>p==="/"?c==="/"||c==="":c.startsWith(p),h=[{key:"primary"},{key:"manage",label:"Manage"},{key:"connect",label:"Connect"},{key:"configure",label:"Configure"}],m=p=>p.map(g=>s.jsx(wF,{path:g.path,label:g.label,icon:g.icon,isActive:d(g.path)},g.path));return s.jsxs("div",{className:"flex flex-col h-full",children:[s.jsxs("div",{className:"p-4 border-b border-white/10 flex items-center justify-between",children:[s.jsxs("span",{className:"text-sm uppercase tracking-widest",children:[s.jsx("span",{className:"font-bold",children:"OHWOW"}),s.jsx("span",{className:"font-light",children:".FUN"})]}),u&&s.jsx("button",{onClick:u,className:"text-neutral-400 hover:text-white transition-colors md:hidden",children:s.jsx(Ea,{size:18})})]}),s.jsx("nav",{className:"flex-1 overflow-y-auto p-3 space-y-5",children:h.map(({key:p,label:g})=>{const x=i.filter(y=>y.group===p);return x.length===0?null:g?s.jsx(yF,{label:g,children:m(x)},p):s.jsx("div",{className:"space-y-0.5",children:m(x)},p)})}),s.jsx("div",{className:"p-3 border-t border-white/10",children:s.jsxs("div",{className:"flex items-center gap-3 px-3 py-2 rounded-lg bg-white/[0.03]",children:[s.jsx("div",{className:"flex-1 min-w-0",children:s.jsxs("div",{className:"flex items-center gap-2",children:[e&&s.jsx("span",{className:`inline-block w-1.5 h-1.5 rounded-full ${e.status==="healthy"?"bg-success":"bg-warning"}`}),s.jsx("span",{className:"text-xs text-neutral-400",children:e?`v${e.version}`:"Starting..."}),e&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"text-white/10 text-xs",children:"|"}),s.jsx("span",{className:"text-xs text-neutral-500",children:bF(e.uptime)})]})]})}),!l&&s.jsx("span",{"data-testid":"runtime-tier-badge",className:`inline-flex items-center px-1.5 py-0.5 rounded text-[10px] font-medium ${a==="free"?"bg-cyan-500/15 text-cyan-400":"bg-success/15 text-success"}`,children:a==="free"?"Local":"Cloud"})]})})]})}function AF(){const e=Xa(),{data:a}=je("/health"),{tier:l,modelReady:i,loading:c}=Jf();gF();const[u,d]=r.useState(!1),[h,m]=r.useState(()=>{try{return localStorage.getItem("ohwow-model-banner-dismissed")==="1"}catch{return!1}});r.useEffect(()=>{d(!1)},[e.pathname]);const p=!c&&!i&&!h,g=()=>{m(!0);try{localStorage.setItem("ohwow-model-banner-dismissed","1")}catch{}},x=vF;return s.jsxs("div",{className:"flex h-dvh bg-black text-white",children:[s.jsx("aside",{className:"hidden md:flex w-64 border-r border-white/10 flex-col h-dvh sticky top-0",children:s.jsx(t7,{health:a??null,tier:l,tierLoading:c,visibleNav:x,pathname:e.pathname})}),s.jsx(Oa,{children:u&&s.jsxs(s.Fragment,{children:[s.jsx(De.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>d(!1),className:"fixed inset-0 bg-black/60 z-40 md:hidden"}),s.jsx(De.aside,{initial:{x:-280},animate:{x:0},exit:{x:-280},transition:{type:"spring",stiffness:350,damping:30},className:"fixed inset-y-0 left-0 w-[280px] bg-black border-r border-white/10 z-50 md:hidden",children:s.jsx(t7,{health:a??null,tier:l,tierLoading:c,visibleNav:x,pathname:e.pathname,onClose:()=>d(!1)})})]})}),s.jsxs("div",{className:"flex-1 flex flex-col min-w-0 min-h-0",children:[s.jsxs("div",{className:"md:hidden flex items-center gap-3 px-4 py-3 border-b border-white/10",children:[s.jsx("button",{onClick:()=>d(!0),className:"text-neutral-400 hover:text-white transition-colors",children:s.jsx(gN,{size:20})}),s.jsxs("span",{className:"text-sm uppercase tracking-widest",children:[s.jsx("span",{className:"font-bold",children:"OHWOW"}),s.jsx("span",{className:"font-light",children:".FUN"})]})]}),s.jsxs("main",{className:"flex-1 overflow-y-auto min-h-0",children:[p&&s.jsxs("div",{className:"bg-warning/10 border-b border-warning/20 px-6 py-2.5 flex items-center justify-between",children:[s.jsxs("p",{className:"text-sm text-warning",children:["No AI model set up yet. Head to"," ",s.jsx(T0,{to:"/settings",className:"underline hover:text-white",children:"Settings"})," ","to download one."]}),s.jsx("button",{onClick:g,className:"text-warning/60 hover:text-warning text-sm ml-4","aria-label":"Dismiss",children:"✕"})]}),s.jsx(EA,{children:s.jsx(xF,{children:s.jsx(t_,{})},e.pathname)})]})]})]})}function jF(){const[e,a]=r.useState(""),[l,i]=r.useState(""),[c,u]=r.useState(!1),d=n0(),h=async m=>{if(m.preventDefault(),!!e.trim()){u(!0),i("");try{yh(e.trim()),await fe("/api/session"),d("/",{replace:!0})}catch{i("Invalid session token. Check your terminal for the correct token."),yh("")}finally{u(!1)}}};return s.jsx("div",{className:"min-h-screen bg-black flex items-center justify-center p-4",children:s.jsxs("div",{className:"w-full max-w-sm",children:[s.jsxs("div",{className:"text-center mb-8",children:[s.jsxs("h1",{className:"text-2xl font-bold",children:[s.jsx("span",{className:"text-white",children:"ohwow"}),s.jsx("span",{className:"text-neutral-400 ml-1",children:"runtime"})]}),s.jsx("p",{className:"text-sm text-neutral-400 mt-2",children:"Enter the session token from your terminal to connect."})]}),s.jsxs("form",{onSubmit:h,className:"space-y-4",children:[s.jsx("div",{children:s.jsx("input",{type:"text",value:e,onChange:m=>a(m.target.value),placeholder:"Paste session token here",autoFocus:!0,className:"w-full bg-white/5 border border-white/10 rounded-lg px-4 py-3 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20 transition-colors font-mono"})}),l&&s.jsx("p",{className:"text-xs text-critical",children:l}),s.jsx("button",{type:"submit",disabled:c||!e.trim(),className:"w-full bg-white text-black rounded-lg px-4 py-3 text-sm font-medium hover:bg-neutral-200 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:c?"Connecting...":"Connect"})]})]})})}function EF(e){const a=e.match(/```agents\s*\n?([\s\S]*?)```/);if(a)try{const i=JSON.parse(a[1].trim());if(Array.isArray(i))return i.filter(c=>typeof c=="string")}catch{}const l=e.match(/\[[\s\S]*?\]/);if(l)try{const i=JSON.parse(l[0]);if(Array.isArray(i))return i.filter(c=>typeof c=="string")}catch{}return[]}function NF(e){const a=e.match(/```setup\s*\n?([\s\S]*?)```/);if(a)try{const i=JSON.parse(a[1].trim()),c=i.goal?{title:i.goal,metric:i.goal_metric||void 0,target:i.goal_target!=null?i.goal_target:void 0,unit:i.unit||void 0}:null,u=Array.isArray(i.agents)?i.agents.filter(d=>typeof d=="string"):[];return{goal:c,agentIds:u}}catch{}return{goal:null,agentIds:EF(e)}}function MF(){const[e,a]=r.useState({screen:"splash",status:null,selectedModel:null,loading:!1,downloading:!1,downloadPercent:0,downloadMessage:"",setupMessage:"",error:null,completed:!1,licenseKey:"",licenseValidating:!1,licenseError:null,businessName:"",businessType:"",businessDescription:"",founderPath:"",founderFocus:"",modelAvailable:!1,chatMessages:[],chatStreaming:!1,presets:[],selectedAgentIds:new Set,integrations:[],integrationValues:{},skippedIntegrationIds:new Set,discoveredGoal:null}),l=r.useRef(null);r.useEffect(()=>()=>{var B;(B=l.current)==null||B.abort()},[]);const i=r.useCallback(async()=>{a(B=>({...B,loading:!0,error:null}));try{const B=await fetch("/api/onboarding/status");if(!B.ok)throw new Error("Could not detect hardware");const{data:Y}=await B.json();return a(L=>({...L,status:Y,selectedModel:Y.recommendation,loading:!1})),Y}catch(B){return a(Y=>({...Y,loading:!1,error:B instanceof Error?B.message:"Something went wrong"})),null}},[]),c=r.useCallback(()=>{a(B=>({...B,screen:"tier_choice"}))},[]),u=r.useCallback(B=>{a(Y=>({...Y,licenseKey:B,licenseError:null}))},[]),d=r.useCallback(async()=>{a(B=>({...B,licenseValidating:!1,screen:"model"})),e.status||await i()},[e.status,i]),h=r.useCallback(async()=>{a(B=>({...B,screen:"model",licenseKey:""})),e.status||await i()},[e.status,i]),m=r.useCallback(async()=>{a(B=>({...B,screen:"model"})),e.status||await i()},[e.status,i]),p=r.useCallback(B=>{a(Y=>({...Y,selectedModel:B}))},[]),g=async(B,Y,L)=>{const $=B.body.getReader(),W=new TextDecoder;let de="";try{for(;;){if(L!=null&&L.aborted){$.cancel();return}const{done:he,value:D}=await $.read();if(he)break;de+=W.decode(D,{stream:!0});const te=de.split(`
70
+ `);de=te.pop()||"";for(const re of te)if(re.startsWith("data: ")){const z=re.slice(6).trim();if(z==="[DONE]")return;try{Y(JSON.parse(z))}catch{}}}}finally{$.releaseLock()}},x=r.useCallback(async()=>{const B=e.selectedModel;if(!B||l.current)return;const Y=new AbortController;l.current=Y,a(L=>({...L,downloading:!0,downloadPercent:0,downloadMessage:"",setupMessage:"Setting things up...",error:null}));try{const L=await fetch("/api/onboarding/ensure-ollama",{method:"POST",signal:Y.signal});if(!L.ok||!L.body)throw new Error("Could not set up Ollama");await g(L,W=>{if(a(de=>({...de,setupMessage:W.message})),W.error)throw new Error(W.error)},Y.signal),a(W=>({...W,setupMessage:"",downloadMessage:"Starting download..."}));const $=await fetch("/api/onboarding/download-model",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tag:B.tag}),signal:Y.signal});if(!$.ok||!$.body)throw new Error("Could not start download");await g($,W=>{if(a(de=>({...de,downloadMessage:W.message,downloadPercent:W.percent??de.downloadPercent})),W.error)throw new Error(W.error)},Y.signal),a(W=>({...W,downloading:!1,downloadPercent:100,downloadMessage:"Download complete",modelAvailable:!0,screen:"business_info"}))}catch(L){if(Y.signal.aborted)return;a($=>({...$,downloading:!1,setupMessage:"",error:L instanceof Error?L.message:"Something went wrong"}))}finally{l.current=null}},[e.selectedModel]),y=r.useCallback(()=>{a(B=>({...B,screen:"business_info",selectedModel:null,modelAvailable:!1}))},[]),w=r.useCallback(B=>{a(Y=>({...Y,businessName:B}))},[]),N=r.useCallback(B=>{a(Y=>({...Y,businessType:B}))},[]),E=r.useCallback(B=>{a(Y=>({...Y,businessDescription:B}))},[]),A=r.useCallback(()=>{a(B=>({...B,screen:"business_info"}))},[]),j=r.useCallback(B=>{a(Y=>({...Y,founderPath:B}))},[]),S=r.useCallback(B=>{a(Y=>({...Y,founderFocus:B}))},[]),Z=r.useCallback(()=>{a(B=>({...B,screen:"founder_stage"}))},[]),C=r.useCallback(async B=>{a(Y=>({...Y,chatStreaming:!0}));try{const Y=await fetch("/api/onboarding/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:B,businessType:e.businessType||"saas_startup",founderPath:e.founderPath||"exploring",founderFocus:e.founderFocus||""})});if(!Y.ok||!Y.body)throw new Error("Chat unavailable");let L="";const $=Y.body.getReader(),W=new TextDecoder;let de="";for(;;){const{done:he,value:D}=await $.read();if(he)break;de+=W.decode(D,{stream:!0});const te=de.split(`
71
+ `);de=te.pop()||"";for(const re of te)if(re.startsWith("data: ")){const z=re.slice(6).trim();if(z==="[DONE]")continue;try{const q=JSON.parse(z);q.type==="text"&&q.content&&(L+=q.content)}catch{}}}if(L){a(D=>({...D,chatMessages:[...D.chatMessages,{role:"assistant",content:L}],chatStreaming:!1}));const he=NF(L);he.agentIds.length>0?a(D=>({...D,selectedAgentIds:new Set(he.agentIds.filter(te=>D.presets.some(re=>re.id===te))),discoveredGoal:he.goal})):he.goal&&a(D=>({...D,discoveredGoal:he.goal}))}else a(he=>({...he,chatStreaming:!1}))}catch{a(Y=>({...Y,chatStreaming:!1,chatMessages:[...Y.chatMessages,{role:"assistant",content:"I ran into an issue connecting to the model. You can pick your agents manually on the next screen."}]}))}},[e.businessType,e.founderPath,e.founderFocus]),H=r.useCallback(async()=>{const B=e.businessType||"saas_startup";try{const Y=await fetch(`/api/onboarding/presets?businessType=${B}`);if(Y.ok){const{data:L}=await Y.json();a($=>({...$,screen:"agent_discovery",presets:L.presets,selectedAgentIds:new Set(L.recommended.map(W=>W.id))}))}else a(L=>({...L,screen:"agent_discovery"}))}catch{a(Y=>({...Y,screen:"agent_discovery"}))}try{const Y=await fetch("/api/onboarding/model-available");if(Y.ok){const{data:L}=await Y.json();a($=>({...$,modelAvailable:L.available})),L.available&&e.chatMessages.length===0&&C([])}}catch{}},[e.businessType,e.chatMessages.length,C]),_=r.useCallback(B=>{const Y={role:"user",content:B};a($=>({...$,chatMessages:[...$.chatMessages,Y]}));const L=[...e.chatMessages,Y];C(L)},[e.chatMessages,C]),T=r.useCallback(()=>{a(B=>({...B,screen:"agent_selection"}))},[]),k=r.useCallback(B=>{a(Y=>{const L=new Set(Y.selectedAgentIds);return L.has(B)?L.delete(B):L.add(B),{...Y,selectedAgentIds:L}})},[]),R=r.useCallback(()=>{a(B=>({...B,screen:"integration_setup"}))},[]),O=r.useCallback((B,Y,L)=>{a($=>({...$,integrationValues:{...$.integrationValues,[B]:{...$.integrationValues[B]||{},[Y]:L}}}))},[]),I=r.useCallback(B=>{a(Y=>{const L=new Set(Y.skippedIntegrationIds);return L.add(B),{...Y,skippedIntegrationIds:L}})},[]),X=r.useCallback(()=>{a(B=>({...B,screen:"ready"}))},[]),K=r.useCallback(async()=>{const B=e.selectedModel,Y=(B==null?void 0:B.tag)||"qwen3:4b",L=e.presets.filter($=>e.selectedAgentIds.has($.id)).map($=>({id:$.id,name:$.name,role:$.role,description:$.description,systemPrompt:"",tools:$.tools,department:$.department}));a($=>({...$,loading:!0,error:null}));try{if(!(await fetch("/api/onboarding/complete",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({modelTag:Y,businessName:e.businessName,businessType:e.businessType,businessDescription:e.businessDescription,founderPath:e.founderPath,founderFocus:e.founderFocus,agents:L,goal:e.discoveredGoal})})).ok)throw new Error("Could not save config");return a(W=>({...W,loading:!1,completed:!0})),null}catch($){const W=$ instanceof Error?$.message:"Something went wrong";return a(de=>({...de,loading:!1,error:W})),W}},[e.selectedModel,e.businessName,e.businessType,e.businessDescription,e.founderPath,e.founderFocus,e.presets,e.selectedAgentIds,e.discoveredGoal]);return{...e,fetchStatus:i,goToTierChoice:c,setLicenseKey:u,validateLicenseKey:d,skipTierChoice:h,goToModel:m,selectModel:p,startDownload:x,skipDownload:y,setBusinessName:w,setBusinessType:N,setBusinessDescription:E,goToBusinessInfo:A,setFounderPath:j,setFounderFocus:S,goToFounderStage:Z,goToAgentDiscovery:H,sendChatMessage:_,goToAgentSelection:T,toggleAgent:k,goToIntegrationSetup:R,setIntegrationValue:O,skipIntegration:I,goToReady:X,completeOnboarding:K}}function SF({onGetStarted:e}){return s.jsx("div",{"data-testid":"onboarding-splash",className:"min-h-screen bg-black flex flex-col items-center justify-center p-4",children:s.jsxs("div",{className:"max-w-md w-full text-center space-y-8",children:[s.jsx("div",{children:s.jsx("h1",{className:"text-5xl font-bold tracking-tight",children:s.jsx("span",{className:"text-white",children:"ohwow"})})}),s.jsxs("div",{className:"space-y-3",children:[s.jsx("p",{className:"text-xl text-white font-medium",children:"Your AI team, running on your machine."}),s.jsx("p",{className:"text-sm text-neutral-400",children:"No account needed. No cloud required."})]}),s.jsx("button",{"data-testid":"onboarding-get-started",onClick:e,className:"w-full bg-white text-black rounded-lg px-6 py-3.5 text-base font-medium hover:bg-neutral-200 transition-colors",children:"Get Started"}),s.jsx("p",{className:"text-xs text-neutral-600",children:"Free forever for local use"})]})})}function ZF({licenseKey:e,onChangeLicenseKey:a,onValidate:l,onSkip:i,onBack:c,validating:u,error:d}){const h=m=>{m.preventDefault(),e.trim()&&l()};return s.jsx("div",{className:"min-h-screen bg-black text-white flex flex-col items-center justify-center p-6",children:s.jsxs("div",{className:"w-full max-w-md space-y-8",children:[s.jsxs("div",{className:"flex items-center gap-2 text-xs text-neutral-500",children:[s.jsx("span",{children:"Step 2 of 9"}),s.jsx("div",{className:"flex-1 h-0.5 bg-white/10 rounded-full",children:s.jsx("div",{className:"h-full w-[22%] bg-white/30 rounded-full"})})]}),s.jsxs("div",{className:"text-center space-y-2",children:[s.jsx("h1",{className:"text-2xl font-bold",children:"Connect to the cloud"}),s.jsx("p",{className:"text-neutral-400 text-sm",children:"Enter your license key to unlock cloud features, or skip to use ohwow locally for free."})]}),s.jsxs("form",{onSubmit:h,className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1.5",children:"License key"}),s.jsx("input",{type:"text",value:e,onChange:m=>a(m.target.value),placeholder:"ohwow_lic_...",disabled:u,className:"w-full bg-white/5 border border-white/10 rounded-lg px-4 py-3 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20 disabled:opacity-50",autoFocus:!0})]}),d&&s.jsx("div",{className:"bg-red-500/10 border border-red-500/20 rounded-lg p-3",children:s.jsx("p",{className:"text-sm text-red-400",children:d})}),s.jsx("button",{type:"submit",disabled:u||!e.trim(),className:"w-full bg-white text-black rounded-lg py-3 text-sm font-medium hover:bg-neutral-200 transition-colors disabled:opacity-50 flex items-center justify-center gap-2",children:u?s.jsxs(s.Fragment,{children:[s.jsx(yt,{size:14,className:"animate-spin"}),"Validating..."]}):"Validate key"})]}),s.jsx("div",{className:"text-center",children:s.jsx("button",{onClick:i,className:"text-sm text-neutral-400 hover:text-white transition-colors",children:"Skip and continue locally (free forever)"})}),s.jsx("div",{className:"text-center",children:s.jsx("button",{onClick:c,className:"text-xs text-neutral-500 hover:text-neutral-300 transition-colors",children:"← Back"})})]})})}function CF({status:e,selectedModel:a,loading:l,downloading:i,downloadPercent:c,downloadMessage:u,setupMessage:d,error:h,onSelectModel:m,onDownload:p,onSkip:g}){const[x,y]=r.useState(!1);if(l||!e)return s.jsx("div",{"data-testid":"onboarding-model-loading",className:"min-h-screen bg-black flex items-center justify-center p-4",children:s.jsxs("div",{className:"text-center space-y-4",children:[s.jsx("div",{className:"w-8 h-8 border-2 border-white/10 border-t-white rounded-full animate-spin mx-auto"}),s.jsx("p",{className:"text-sm text-neutral-400",children:"Detecting your hardware..."})]})});const w=a?Math.ceil(a.sizeGB*1024/50/60*8):null;return s.jsx("div",{"data-testid":"onboarding-model",className:"min-h-screen bg-black flex flex-col items-center justify-center p-4",children:s.jsxs("div",{className:"max-w-lg w-full space-y-6",children:[s.jsx("div",{className:"text-center space-y-2",children:s.jsx("h2",{className:"text-2xl font-bold text-white",children:"Let's download your first AI model"})}),s.jsx("div",{"data-testid":"onboarding-device-summary",className:"bg-white/5 border border-white/[0.08] rounded-lg px-4 py-3 text-sm text-neutral-400",children:e.deviceSummary}),a&&!i&&s.jsxs("div",{"data-testid":"onboarding-model-hero",className:"bg-white/5 border border-white/10 rounded-lg p-5 space-y-3",children:[s.jsx("div",{className:"flex items-start justify-between",children:s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("h3",{className:"text-lg font-semibold text-white",children:a.label}),a.recommended&&s.jsx("span",{className:"text-[10px] uppercase tracking-wider bg-white/10 text-white px-2 py-0.5 rounded-full border border-white/10",children:"Best for your machine"})]}),s.jsx("p",{className:"text-sm text-neutral-400 mt-1",children:a.description})]})}),s.jsxs("div",{className:"flex items-center gap-4 text-xs text-neutral-400",children:[s.jsxs("span",{children:[a.sizeGB," GB download"]}),w&&s.jsxs("span",{children:["~",w," min"]}),s.jsx("span",{children:a.features.join(", ")})]})]}),i&&s.jsxs("div",{"data-testid":"onboarding-download-progress",className:"bg-white/5 border border-white/[0.08] rounded-lg p-5 space-y-4",children:[d&&s.jsx("p",{className:"text-sm text-neutral-400",children:d}),!d&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"flex items-center justify-between text-sm",children:[s.jsx("span",{className:"text-white",children:a==null?void 0:a.label}),s.jsxs("span",{className:"text-neutral-400",children:[c,"%"]})]}),s.jsx("div",{className:"w-full bg-white/[0.06] rounded-full h-2 overflow-hidden",children:s.jsx("div",{className:"bg-white h-full rounded-full transition-all duration-300",style:{width:`${c}%`}})}),s.jsx("p",{className:"text-xs text-neutral-400 truncate",children:u})]})]}),h&&s.jsx("div",{className:"bg-critical/10 border border-critical/20 rounded-lg px-4 py-3 text-sm text-critical",children:h}),!i&&s.jsxs("div",{className:"space-y-3",children:[s.jsx("button",{"data-testid":"onboarding-download-btn",onClick:p,disabled:!a,className:"w-full bg-white text-black rounded-lg px-6 py-3.5 text-base font-medium hover:bg-neutral-200 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:"Download"}),e.alternatives.length>0&&s.jsxs("div",{children:[s.jsx("button",{"data-testid":"onboarding-alternatives-toggle",onClick:()=>y(!x),className:"text-sm text-neutral-400 hover:text-white transition-colors",children:x?"Hide other options":"See other options"}),x&&s.jsx("div",{className:"mt-3 space-y-2",children:e.alternatives.map(N=>s.jsxs("button",{onClick:()=>m(N),className:`w-full text-left bg-white/5 border rounded-lg px-4 py-3 text-sm transition-colors ${(a==null?void 0:a.tag)===N.tag?"border-white/10 text-white":"border-white/[0.08] text-neutral-400 hover:border-white/[0.08] hover:text-white"}`,children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("span",{className:"font-medium",children:N.label}),s.jsxs("span",{className:"text-xs",children:[N.sizeGB," GB"]})]}),s.jsx("p",{className:"text-xs text-neutral-400 mt-0.5",children:N.description})]},N.tag))})]}),s.jsx("div",{className:"text-center",children:s.jsx("button",{"data-testid":"onboarding-skip-btn",onClick:g,className:"text-xs text-neutral-600 hover:text-neutral-400 transition-colors",children:"Skip for now"})})]})]})})}const HF=[{id:"saas_startup",label:"SaaS Startup",tagline:"Ship faster with AI on your side"},{id:"ecommerce",label:"Ecommerce",tagline:"Sell more with less effort"},{id:"agency",label:"Agency",tagline:"Win more clients, deliver better work"},{id:"content_creator",label:"Content Creator",tagline:"Create more, manage less"},{id:"service_business",label:"Service Business",tagline:"Book more jobs, impress every client"},{id:"consulting",label:"Consulting",tagline:"Land engagements, deliver excellence"}];function _F({businessName:e,businessType:a,businessDescription:l,onChangeName:i,onChangeType:c,onChangeDescription:u,onContinue:d,onBack:h}){const m=e.trim().length>0&&a;return s.jsx("div",{"data-testid":"onboarding-business-info",className:"min-h-screen bg-black flex flex-col items-center justify-center p-4",children:s.jsxs("div",{className:"max-w-lg w-full space-y-6",children:[s.jsxs("div",{className:"text-center space-y-2",children:[s.jsx("p",{className:"text-xs text-neutral-400 uppercase tracking-wider",children:"Step 3 of 7"}),s.jsx("h2",{className:"text-2xl font-bold text-white",children:"Tell us about your business"}),s.jsx("p",{className:"text-sm text-neutral-400",children:"This helps us recommend the right AI agents for you."})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-sm text-neutral-400 mb-1.5",children:"Business name"}),s.jsx("input",{"data-testid":"onboarding-business-name",type:"text",value:e,onChange:p=>i(p.target.value),placeholder:"e.g. Acme Inc",className:"w-full bg-white/5 border border-white/[0.08] rounded-lg px-4 py-3 text-sm text-white placeholder:text-neutral-400/50 focus:outline-none focus:border-white/20",autoFocus:!0})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-sm text-neutral-400 mb-1.5",children:"Business type"}),s.jsx("div",{className:"grid grid-cols-2 gap-2",children:HF.map(p=>s.jsxs("button",{"data-testid":`onboarding-btype-${p.id}`,onClick:()=>c(p.id),className:`text-left px-3 py-2.5 rounded-lg border text-sm transition-colors ${a===p.id?"border-white/20 bg-white/10 text-white":"border-white/[0.08] bg-white/5 text-neutral-400 hover:border-white/20 hover:text-white"}`,children:[s.jsx("span",{className:"font-medium block",children:p.label}),s.jsx("span",{className:"text-xs text-neutral-400",children:p.tagline})]},p.id))})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-sm text-neutral-400 mb-1.5",children:"What does your business do? (optional)"}),s.jsx("textarea",{"data-testid":"onboarding-business-desc",value:l,onChange:p=>u(p.target.value),placeholder:"e.g. We help small businesses automate their marketing",rows:2,className:"w-full bg-white/5 border border-white/[0.08] rounded-lg px-4 py-3 text-sm text-white placeholder:text-neutral-400/50 focus:outline-none focus:border-white/20 resize-none"})]}),s.jsxs("div",{className:"flex gap-3",children:[s.jsx("button",{onClick:h,className:"px-4 py-2.5 text-sm text-neutral-400 hover:text-white transition-colors",children:"Back"}),s.jsx("button",{"data-testid":"onboarding-business-continue",onClick:d,disabled:!m,className:"flex-1 bg-white text-black rounded-lg px-6 py-2.5 text-sm font-medium hover:bg-neutral-200 transition-colors disabled:opacity-40 disabled:cursor-not-allowed",children:"Continue"})]})]})})}const VF=[{id:"exploring",label:"Exploring ideas",description:"Still figuring out what to build",icon:"🔍"},{id:"just_starting",label:"Just starting",description:"Building the first version",icon:"🚀"},{id:"no_revenue",label:"Pre-revenue",description:"Launched but not making money yet",icon:"📈"},{id:"making_money",label:"Making money",description:"Revenue is coming in",icon:"💰"}];function TF({founderPath:e,founderFocus:a,onChangePath:l,onChangeFocus:i,onContinue:c,onBack:u}){const d=e.length>0;return s.jsx("div",{"data-testid":"onboarding-founder-stage",className:"min-h-screen bg-black flex flex-col items-center justify-center p-4",children:s.jsxs("div",{className:"max-w-lg w-full space-y-6",children:[s.jsxs("div",{className:"text-center space-y-2",children:[s.jsx("p",{className:"text-xs text-neutral-400 uppercase tracking-wider",children:"Step 4 of 7"}),s.jsx("h2",{className:"text-2xl font-bold text-white",children:"Where are you in your journey?"}),s.jsx("p",{className:"text-sm text-neutral-400",children:"This helps us prioritize which agents to recommend."})]}),s.jsx("div",{className:"space-y-2",children:VF.map(h=>s.jsxs("button",{"data-testid":`onboarding-path-${h.id}`,onClick:()=>l(h.id),className:`w-full text-left px-4 py-3 rounded-lg border transition-colors flex items-center gap-3 ${e===h.id?"border-white/20 bg-white/10 text-white":"border-white/[0.08] bg-white/5 text-neutral-400 hover:border-white/20 hover:text-white"}`,children:[s.jsx("span",{className:"text-lg",children:h.icon}),s.jsxs("div",{children:[s.jsx("span",{className:"font-medium block text-sm",children:h.label}),s.jsx("span",{className:"text-xs text-neutral-400",children:h.description})]})]},h.id))}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-sm text-neutral-400 mb-1.5",children:"What are you focused on right now? (optional)"}),s.jsx("input",{"data-testid":"onboarding-founder-focus",type:"text",value:a,onChange:h=>i(h.target.value),placeholder:"e.g. Getting my first 10 customers",className:"w-full bg-white/5 border border-white/[0.08] rounded-lg px-4 py-3 text-sm text-white placeholder:text-neutral-400/50 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{className:"flex gap-3",children:[s.jsx("button",{onClick:u,className:"px-4 py-2.5 text-sm text-neutral-400 hover:text-white transition-colors",children:"Back"}),s.jsx("button",{"data-testid":"onboarding-founder-continue",onClick:c,disabled:!d,className:"flex-1 bg-white text-black rounded-lg px-6 py-2.5 text-sm font-medium hover:bg-neutral-200 transition-colors disabled:opacity-40 disabled:cursor-not-allowed",children:"Continue"})]})]})})}function LF({modelAvailable:e,chatMessages:a,presets:l,discoveredGoal:i,onSendMessage:c,onContinue:u,onBack:d,streaming:h}){const[m,p]=r.useState(""),g=r.useRef(null);r.useEffect(()=>{var y;(y=g.current)==null||y.scrollTo({top:g.current.scrollHeight,behavior:"smooth"})},[a]);const x=()=>{!m.trim()||h||(c(m.trim()),p(""))};return e?s.jsx("div",{"data-testid":"onboarding-agent-discovery",className:"min-h-screen bg-black flex flex-col items-center justify-center p-4",children:s.jsxs("div",{className:"max-w-lg w-full space-y-6",children:[s.jsxs("div",{className:"text-center space-y-2",children:[s.jsx("p",{className:"text-xs text-neutral-400 uppercase tracking-wider",children:"Step 5 of 7"}),s.jsx("h2",{className:"text-2xl font-bold text-white",children:"Let's define your goal"}),s.jsx("p",{className:"text-sm text-neutral-400",children:"Tell me what you want to achieve and I'll build your AI team around it"})]}),i&&s.jsx("div",{className:"px-4 py-2 rounded-lg bg-emerald-500/10 border border-emerald-500/20",children:s.jsxs("span",{className:"text-sm text-emerald-400",children:["Goal: ",i.title]})}),s.jsxs("div",{ref:g,className:"bg-white/5 border border-white/[0.08] rounded-lg p-4 space-y-3 max-h-64 overflow-y-auto",children:[a.map((y,w)=>s.jsx("div",{className:`${y.role==="user"?"text-right":""}`,children:s.jsx("div",{className:`inline-block rounded-lg px-3 py-2 text-sm max-w-[80%] ${y.role==="user"?"bg-white/10 text-white":"bg-neutral-950 border border-white/[0.08] text-white"}`,children:s.jsx("pre",{className:"whitespace-pre-wrap break-words font-sans",children:y.content})})},w)),h&&s.jsx("div",{className:"text-neutral-400 text-sm animate-pulse",children:"Thinking..."})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("input",{"data-testid":"onboarding-chat-input",type:"text",value:m,onChange:y=>p(y.target.value),onKeyDown:y=>{y.key==="Enter"&&x()},placeholder:"Tell the AI about your priorities...",disabled:h,className:"flex-1 bg-white/5 border border-white/[0.08] rounded-lg px-4 py-3 text-sm text-white placeholder:text-neutral-400/50 focus:outline-none focus:border-white/20 disabled:opacity-50"}),s.jsx("button",{onClick:x,disabled:h||!m.trim(),className:"bg-white text-black rounded-lg px-4 text-sm hover:bg-neutral-200 transition-colors disabled:opacity-40",children:"Send"})]}),s.jsxs("div",{className:"flex gap-3",children:[s.jsx("button",{onClick:d,className:"px-4 py-2.5 text-sm text-neutral-400 hover:text-white transition-colors",children:"Back"}),s.jsx("button",{"data-testid":"onboarding-discovery-continue",onClick:u,className:"flex-1 bg-white text-black rounded-lg px-6 py-2.5 text-sm font-medium hover:bg-neutral-200 transition-colors",children:a.length>=4?"Set up my workspace":"Skip to selection"})]})]})}):s.jsx("div",{"data-testid":"onboarding-agent-discovery",className:"min-h-screen bg-black flex flex-col items-center justify-center p-4",children:s.jsxs("div",{className:"max-w-lg w-full space-y-6",children:[s.jsxs("div",{className:"text-center space-y-2",children:[s.jsx("p",{className:"text-xs text-neutral-400 uppercase tracking-wider",children:"Step 5 of 7"}),s.jsx("h2",{className:"text-2xl font-bold text-white",children:"Your recommended agents"}),s.jsx("p",{className:"text-sm text-neutral-400",children:"Based on your business type. You can adjust on the next screen."})]}),s.jsx("div",{className:"space-y-2",children:l.map(y=>s.jsxs("div",{className:`px-4 py-3 rounded-lg border ${y.recommended?"border-white/[0.12] bg-white/5":"border-white/[0.08] bg-white/5"}`,children:[s.jsxs("div",{className:"flex items-center gap-2",children:[y.recommended&&s.jsx("span",{className:"text-white text-xs",children:"★"}),s.jsx("span",{className:"font-medium text-sm text-white",children:y.name}),s.jsx("span",{className:"text-xs text-neutral-400",children:y.role})]}),s.jsx("p",{className:"text-xs text-neutral-400 mt-1",children:y.description})]},y.id))}),s.jsxs("div",{className:"flex gap-3",children:[s.jsx("button",{onClick:d,className:"px-4 py-2.5 text-sm text-neutral-400 hover:text-white transition-colors",children:"Back"}),s.jsx("button",{"data-testid":"onboarding-discovery-continue",onClick:u,className:"flex-1 bg-white text-black rounded-lg px-6 py-2.5 text-sm font-medium hover:bg-neutral-200 transition-colors",children:"Continue to selection"})]})]})})}const RF={web_research:"Web Research",deep_research:"Deep Research",ocr:"OCR",local_crm:"CRM"};function kF({presets:e,selectedIds:a,onToggle:l,onContinue:i,onBack:c}){return s.jsx("div",{"data-testid":"onboarding-agent-selection",className:"min-h-screen bg-black flex flex-col items-center justify-center p-4",children:s.jsxs("div",{className:"max-w-lg w-full space-y-6",children:[s.jsxs("div",{className:"text-center space-y-2",children:[s.jsx("p",{className:"text-xs text-neutral-400 uppercase tracking-wider",children:"Step 6 of 7"}),s.jsx("h2",{className:"text-2xl font-bold text-white",children:"Choose your agents"}),s.jsx("p",{className:"text-sm text-neutral-400",children:a.size>0?`${a.size} agent${a.size===1?"":"s"} selected`:"Select the agents you want to create"})]}),s.jsx("div",{className:"space-y-2 max-h-[400px] overflow-y-auto",children:e.map(u=>{const d=a.has(u.id);return s.jsx("button",{"data-testid":`onboarding-agent-${u.id}`,onClick:()=>l(u.id),className:`w-full text-left px-4 py-3 rounded-lg border transition-colors ${d?"border-white/20 bg-white/10":"border-white/[0.08] bg-white/5 hover:border-white/20"}`,children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("div",{className:`mt-0.5 w-4 h-4 rounded border flex items-center justify-center shrink-0 ${d?"bg-white border-white":"border-neutral-400/30"}`,children:d&&s.jsx("svg",{className:"w-2.5 h-2.5 text-black",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"font-medium text-sm text-white",children:u.name}),u.recommended&&s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-white/10 text-white border border-white/10",children:"Recommended"})]}),s.jsx("p",{className:"text-xs text-neutral-400 mt-0.5",children:u.role}),s.jsx("p",{className:"text-xs text-neutral-400/70 mt-1",children:u.description}),u.tools.length>0&&s.jsx("div",{className:"flex flex-wrap gap-1 mt-2",children:u.tools.map(h=>s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-white/5 border border-white/[0.08] text-neutral-400",children:RF[h]||h},h))})]})]})},u.id)})}),s.jsxs("div",{className:"flex gap-3",children:[s.jsx("button",{onClick:c,className:"px-4 py-2.5 text-sm text-neutral-400 hover:text-white transition-colors",children:"Back"}),s.jsxs("button",{"data-testid":"onboarding-selection-continue",onClick:i,disabled:a.size===0,className:"flex-1 bg-white text-black rounded-lg px-6 py-2.5 text-sm font-medium hover:bg-neutral-200 transition-colors disabled:opacity-40 disabled:cursor-not-allowed",children:["Create ",a.size," agent",a.size===1?"":"s"]})]})]})})}function DF({integrations:e,integrationValues:a,onSetValue:l,onSkipIntegration:i,skippedIds:c,onContinue:u,onBack:d}){if(e.length===0)return s.jsx("div",{className:"min-h-screen bg-black text-white flex flex-col items-center justify-center p-6",children:s.jsxs("div",{className:"w-full max-w-md space-y-6 text-center",children:[s.jsx("div",{className:"w-14 h-14 rounded-xl bg-success/10 flex items-center justify-center mx-auto",children:s.jsx(Or,{size:28,className:"text-success"})}),s.jsx("h2",{className:"text-lg font-bold",children:"No integrations needed"}),s.jsx("p",{className:"text-sm text-neutral-400",children:"Your selected agents work out of the box."}),s.jsx("button",{onClick:u,className:"w-full bg-white text-black rounded-lg py-3 text-sm font-medium hover:bg-neutral-200 transition-colors",children:"Continue"})]})});const h=e.every(m=>c.has(m.id)||m.envVarsRequired.every(p=>{var g;return!!((g=a[m.id])!=null&&g[p.key])}));return s.jsx("div",{className:"min-h-screen bg-black text-white flex flex-col items-center justify-center p-6",children:s.jsxs("div",{className:"w-full max-w-lg space-y-6",children:[s.jsxs("div",{className:"flex items-center gap-2 text-xs text-neutral-500",children:[s.jsx("span",{children:"Step 8 of 9"}),s.jsx("div",{className:"flex-1 h-0.5 bg-white/10 rounded-full",children:s.jsx("div",{className:"h-full w-[89%] bg-white/30 rounded-full"})})]}),s.jsxs("div",{className:"text-center space-y-2",children:[s.jsx("h1",{className:"text-2xl font-bold",children:"Connect integrations"}),s.jsx("p",{className:"text-neutral-400 text-sm",children:"Some agents work best with connected services. You can skip any for now."})]}),s.jsx("div",{className:"space-y-4",children:e.map(m=>{const p=c.has(m.id),g=a[m.id]||{},x=m.envVarsRequired.every(y=>!!g[y.key]);return s.jsxs("div",{className:`border rounded-lg p-4 transition-colors ${x?"border-success/30 bg-success/[0.03]":p?"border-white/[0.06] bg-white/[0.01] opacity-50":"border-white/[0.08] bg-white/[0.02]"}`,children:[s.jsxs("div",{className:"flex items-center justify-between mb-2",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(qr,{size:16,className:x?"text-success":"text-neutral-400"}),s.jsx("span",{className:"text-sm font-medium",children:m.name}),x&&s.jsx("span",{className:"text-[10px] bg-success/15 text-success px-1.5 py-0.5 rounded",children:"connected"}),p&&s.jsx("span",{className:"text-[10px] bg-white/[0.06] text-neutral-500 px-1.5 py-0.5 rounded",children:"skipped"})]}),!x&&!p&&s.jsxs("button",{onClick:()=>i(m.id),className:"text-xs text-neutral-500 hover:text-white transition-colors flex items-center gap-1",children:[s.jsx(JO,{size:12})," Skip"]})]}),s.jsx("p",{className:"text-xs text-neutral-500 mb-3",children:m.description}),!p&&s.jsx("div",{className:"space-y-2",children:m.envVarsRequired.map(y=>s.jsxs("div",{children:[s.jsx("label",{className:"text-[10px] text-neutral-400 block mb-1",children:y.label}),s.jsx("input",{type:"password",value:g[y.key]||"",onChange:w=>l(m.id,y.key,w.target.value),placeholder:y.key,className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-600 focus:outline-none focus:border-white/20"})]},y.key))})]},m.id)})}),s.jsxs("div",{className:"flex gap-3",children:[s.jsx("button",{onClick:d,className:"flex-1 border border-white/10 text-neutral-400 rounded-lg py-3 text-sm hover:bg-white/5 transition-colors",children:"Back"}),s.jsx("button",{onClick:u,disabled:!h,className:"flex-1 bg-white text-black rounded-lg py-3 text-sm font-medium hover:bg-neutral-200 transition-colors disabled:opacity-50",children:"Continue"})]})]})})}function OF({selectedModel:e,loading:a,error:l,onLaunch:i,businessName:c,agentCount:u}){return s.jsx("div",{"data-testid":"onboarding-ready",className:"min-h-screen bg-black flex flex-col items-center justify-center p-4",children:s.jsxs("div",{className:"max-w-md w-full text-center space-y-8",children:[s.jsx("div",{className:"space-y-2",children:s.jsx("p",{className:"text-xs text-neutral-400 uppercase tracking-wider",children:"Step 7 of 7"})}),s.jsxs("div",{className:"space-y-3",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-success/10 border border-success/20 flex items-center justify-center mx-auto",children:s.jsx("svg",{className:"w-6 h-6 text-success",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),s.jsx("h2",{className:"text-2xl font-bold text-white",children:"You're all set."})]}),s.jsxs("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg px-4 py-3 text-left space-y-2",children:[c&&s.jsxs("div",{className:"flex justify-between text-sm",children:[s.jsx("span",{className:"text-neutral-400",children:"Business"}),s.jsx("span",{className:"text-white font-medium",children:c})]}),s.jsxs("div",{className:"flex justify-between text-sm",children:[s.jsx("span",{className:"text-neutral-400",children:"Model"}),s.jsx("span",{className:"text-white",children:e?e.label:"None (add later in Settings)"})]}),u!==void 0&&u>0&&s.jsxs("div",{className:"flex justify-between text-sm",children:[s.jsx("span",{className:"text-neutral-400",children:"Agents"}),s.jsxs("span",{className:"text-white",children:[u," agent",u===1?"":"s"," ready to go"]})]})]}),l&&s.jsx("div",{className:"bg-critical/10 border border-critical/20 rounded-lg px-4 py-3 text-sm text-critical",children:l}),s.jsx("button",{"data-testid":"onboarding-launch-btn",onClick:i,disabled:a,className:"w-full bg-white text-black rounded-lg px-6 py-3.5 text-base font-medium hover:bg-neutral-200 transition-colors disabled:opacity-50",children:a?"Saving...":"Start Chatting"})]})})}function FF({sessionToken:e}){var i;const a=MF();r.useEffect(()=>{a.screen==="model"&&!a.status&&a.fetchStatus()},[a.screen]);const l=async()=>{await a.completeOnboarding()||(e&&yh(e),window.location.href="/ui/")};switch(a.screen){case"splash":return s.jsx(SF,{onGetStarted:a.goToTierChoice});case"tier_choice":return s.jsx(ZF,{licenseKey:a.licenseKey,onChangeLicenseKey:a.setLicenseKey,onValidate:a.validateLicenseKey,onSkip:a.skipTierChoice,onBack:()=>{},validating:a.licenseValidating,error:a.licenseError});case"model":return s.jsx(CF,{status:a.status,selectedModel:a.selectedModel,loading:a.loading,downloading:a.downloading,downloadPercent:a.downloadPercent,downloadMessage:a.downloadMessage,setupMessage:a.setupMessage,error:a.error,estimatedMinutes:((i=a.status)==null?void 0:i.estimatedMinutes)??null,onSelectModel:a.selectModel,onDownload:a.startDownload,onSkip:a.skipDownload});case"business_info":return s.jsx(_F,{businessName:a.businessName,businessType:a.businessType,businessDescription:a.businessDescription,onChangeName:a.setBusinessName,onChangeType:a.setBusinessType,onChangeDescription:a.setBusinessDescription,onContinue:a.goToFounderStage,onBack:a.goToModel});case"founder_stage":return s.jsx(TF,{founderPath:a.founderPath,founderFocus:a.founderFocus,onChangePath:a.setFounderPath,onChangeFocus:a.setFounderFocus,onContinue:a.goToAgentDiscovery,onBack:a.goToBusinessInfo});case"agent_discovery":return s.jsx(LF,{modelAvailable:a.modelAvailable,businessType:a.businessType,founderPath:a.founderPath,founderFocus:a.founderFocus,chatMessages:a.chatMessages,presets:a.presets,discoveredGoal:a.discoveredGoal,onSendMessage:a.sendChatMessage,onContinue:a.goToAgentSelection,onBack:a.goToFounderStage,streaming:a.chatStreaming});case"agent_selection":return s.jsx(kF,{presets:a.presets,selectedIds:a.selectedAgentIds,onToggle:a.toggleAgent,onContinue:a.goToIntegrationSetup,onBack:a.goToAgentDiscovery});case"integration_setup":return s.jsx(DF,{integrations:a.integrations,integrationValues:a.integrationValues,onSetValue:a.setIntegrationValue,onSkipIntegration:a.skipIntegration,skippedIds:a.skippedIntegrationIds,onContinue:a.goToReady,onBack:a.goToAgentSelection});case"ready":return s.jsx(OF,{selectedModel:a.selectedModel,loading:a.loading,error:a.error,onLaunch:l,businessName:a.businessName,agentCount:a.selectedAgentIds.size})}}function Nt({label:e,value:a,subtitle:l,color:i="text-white"}){return s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-4",children:[s.jsx("p",{className:"text-[11px] text-neutral-500 uppercase tracking-wider",children:e}),s.jsx("p",{className:`text-2xl font-bold mt-1 ${i}`,children:a}),l&&s.jsx("p",{className:"text-xs text-neutral-500 mt-0.5",children:l})]})}const qF={idle:"bg-white/5 text-neutral-400",working:"bg-blue-500/15 text-blue-400",completed:"bg-success/15 text-success",approved:"bg-success/15 text-success",in_progress:"bg-blue-500/15 text-blue-400",queued:"bg-warning/15 text-warning",needs_approval:"bg-warning/15 text-warning",failed:"bg-critical/15 text-critical",rejected:"bg-critical/15 text-critical",active:"bg-success/15 text-success",paused:"bg-warning/15 text-warning",disabled:"bg-white/5 text-neutral-400",draft:"bg-warning/15 text-warning",archived:"bg-white/5 text-neutral-400",executing:"bg-blue-500/15 text-blue-400",pending:"bg-warning/15 text-warning",error:"bg-critical/15 text-critical",suspended:"bg-warning/15 text-warning",disconnected:"bg-white/5 text-neutral-400",skipped:"bg-white/5 text-neutral-400",read_only:"bg-white/5 text-neutral-400",processed:"bg-success/15 text-success"};function ct({status:e}){const a=qF[e]||"bg-white/5 text-neutral-400",l=e.replace(/_/g," ");return s.jsx("span",{className:`inline-flex items-center px-2 py-0.5 rounded text-xs font-medium capitalize ${a}`,children:l})}function fl({className:e=""}){return s.jsx("div",{className:`animate-pulse bg-white/5 rounded ${e}`})}function r1(){return s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-4 space-y-2",children:[s.jsx(fl,{className:"h-3 w-20"}),s.jsx(fl,{className:"h-7 w-16"})]})}function Qe({count:e=5}){return s.jsx("div",{className:"space-y-2",children:Array.from({length:e}).map((a,l)=>s.jsx(fl,{className:"h-12 w-full"},l))})}function ze({title:e,subtitle:a,action:l}){return s.jsxs("div",{className:"flex items-center justify-between mb-6",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold",children:e}),a&&s.jsx("p",{className:"text-sm text-neutral-400 mt-0.5",children:a})]}),l]})}function zF(e){const a=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],l=[],i=new Date;for(let c=6;c>=0;c--){const u=new Date(i);u.setDate(u.getDate()-c),l.push({label:a[u.getDay()],completed:0,failed:0})}for(const c of e){const u=new Date(c.created_at),d=i.getTime()-u.getTime(),h=Math.floor(d/(1e3*60*60*24));if(h<0||h>6)continue;const m=6-h;c.type==="task_completed"&&l[m].completed++,c.type==="task_failed"&&l[m].failed++}return l}function BF({activity:e}){const a=e?zF(e):[],l=Math.max(1,...a.map(h=>h.completed+h.failed)),i=28,c=12,u=80,d=a.length*(i+c)-c;return e?s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-4 mb-8",children:[s.jsx("p",{className:"text-[11px] text-neutral-500 uppercase tracking-wider mb-3",children:"Task Activity (7 days)"}),s.jsx("div",{className:"flex justify-center",children:s.jsx("svg",{width:d,height:u+20,className:"overflow-visible",children:a.map((h,m)=>{const p=m*(i+c),g=(h.completed+h.failed)/l*u,x=h.completed/l*u,y=h.failed/l*u;return s.jsxs("g",{children:[s.jsx("rect",{x:p,y:0,width:i,height:u,rx:4,className:"fill-white/[0.03]"}),h.completed>0&&s.jsx("rect",{x:p,y:u-g,width:i,height:x,rx:4,className:"fill-success/60"}),h.failed>0&&s.jsx("rect",{x:p,y:u-y,width:i,height:y,rx:4,className:"fill-critical/60"}),s.jsx("text",{x:p+i/2,y:u+14,textAnchor:"middle",className:"fill-neutral-500 text-[10px]",children:h.label}),h.completed+h.failed>0&&s.jsx("text",{x:p+i/2,y:u-g-4,textAnchor:"middle",className:"fill-neutral-400 text-[10px]",children:h.completed+h.failed})]},m)})})}),s.jsxs("div",{className:"flex items-center gap-4 mt-3 justify-center",children:[s.jsxs("span",{className:"flex items-center gap-1.5 text-[10px] text-neutral-500",children:[s.jsx("span",{className:"inline-block w-2 h-2 rounded-sm bg-success/60"})," Completed"]}),s.jsxs("span",{className:"flex items-center gap-1.5 text-[10px] text-neutral-500",children:[s.jsx("span",{className:"inline-block w-2 h-2 rounded-sm bg-critical/60"})," Failed"]})]})]}):s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-4 mb-8",children:[s.jsx("p",{className:"text-[11px] text-neutral-500 uppercase tracking-wider mb-3",children:"Task Activity (7 days)"}),s.jsx("div",{className:"h-[100px] flex items-center justify-center",children:s.jsx("p",{className:"text-xs text-neutral-600",children:"Loading..."})})]})}function $F({agents:e,tasks:a}){const l=e?e.filter(m=>m.status!=="paused").length:0,i=new Date().toISOString().slice(0,10),c=a?a.filter(m=>m.status==="completed"&&m.created_at.startsWith(i)).length:0,u=a?a.filter(m=>m.status==="completed").length:0,d=a?a.filter(m=>m.status==="failed").length:0,h=u+d>0?Math.round(u/(u+d)*100):100;return s.jsxs("div",{className:"flex gap-3 mb-8",children:[s.jsxs("div",{className:"flex-1 border border-white/[0.06] rounded-lg px-4 py-3 bg-white/[0.02]",children:[s.jsx("p",{className:"text-[10px] text-neutral-500 uppercase tracking-wider",children:"Active Agents"}),s.jsx("p",{className:"text-lg font-semibold text-success mt-0.5",children:l})]}),s.jsxs("div",{className:"flex-1 border border-white/[0.06] rounded-lg px-4 py-3 bg-white/[0.02]",children:[s.jsx("p",{className:"text-[10px] text-neutral-500 uppercase tracking-wider",children:"Completed Today"}),s.jsx("p",{className:"text-lg font-semibold text-white mt-0.5",children:c})]}),s.jsxs("div",{className:"flex-1 border border-white/[0.06] rounded-lg px-4 py-3 bg-white/[0.02]",children:[s.jsx("p",{className:"text-[10px] text-neutral-500 uppercase tracking-wider",children:"Success Rate"}),s.jsxs("p",{className:`text-lg font-semibold mt-0.5 ${h>=80?"text-success":h>=50?"text-warning":"text-critical"}`,children:[h,"%"]})]})]})}function UF(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(0)}K`:String(e)}const a7={animate:{transition:{staggerChildren:.05}}},n7={initial:{opacity:0,y:8},animate:{opacity:1,y:0}};function IF(){const e=Ja(["task:started","task:completed","task:failed"]),{data:a,loading:l}=je("/api/system/stats",[e]),{data:i}=je("/api/agents",[e]),{data:c}=je("/api/tasks?limit=5",[e]),{data:u}=je("/api/activity",[e]);return s.jsxs("div",{className:"p-6 max-w-5xl",children:[s.jsx(ze,{title:"Overview",subtitle:"Runtime at a glance"}),s.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3 mb-8",children:l?s.jsxs(s.Fragment,{children:[s.jsx(r1,{}),s.jsx(r1,{}),s.jsx(r1,{}),s.jsx(r1,{})]}):a?s.jsxs(s.Fragment,{children:[s.jsx(Nt,{label:"Agents",value:a.totalAgents}),s.jsx(Nt,{label:"Tasks",value:a.totalTasks,subtitle:`${a.activeTasks} active`}),s.jsx(Nt,{label:"Approvals",value:a.pendingApprovals,color:a.pendingApprovals>0?"text-warning":"text-neutral-400"}),s.jsx(Nt,{label:"Tokens",value:UF(a.totalTokens),subtitle:`$${(a.totalCostCents/100).toFixed(2)}`})]}):null}),s.jsx(BF,{activity:u}),s.jsx($F,{agents:i,tasks:c}),s.jsxs("div",{className:"mb-8",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("h2",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider",children:"Agents"}),s.jsx(bt,{to:"/agents",className:"text-xs text-neutral-400 hover:text-white transition-colors",children:"View all"})]}),i!=null&&i.length?s.jsx(De.div,{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3",variants:a7,initial:"initial",animate:"animate",children:i.slice(0,8).map(d=>{var h;return s.jsx(De.div,{variants:n7,children:s.jsxs(bt,{to:`/agents/${d.id}`,className:"block border border-white/[0.08] rounded-lg p-4 hover:bg-white/[0.02] transition-colors",children:[s.jsx("div",{className:"w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-xs font-bold mb-3",children:(h=d.name[0])==null?void 0:h.toUpperCase()}),s.jsx("p",{className:"text-sm font-medium truncate",children:d.name}),s.jsx("p",{className:"text-xs text-neutral-500 truncate mt-0.5",children:d.role}),s.jsx("div",{className:"mt-2",children:s.jsx(ct,{status:d.status})})]})},d.id)})}):s.jsx(Qe,{count:2})]}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("h2",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider",children:"Recent Tasks"}),s.jsx(bt,{to:"/tasks",className:"text-xs text-neutral-400 hover:text-white transition-colors",children:"View all"})]}),c!=null&&c.length?s.jsx(De.div,{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",variants:a7,initial:"initial",animate:"animate",children:c.map(d=>s.jsx(De.div,{variants:n7,children:s.jsxs(bt,{to:`/tasks/${d.id}`,className:"flex items-center justify-between px-4 py-3 hover:bg-white/[0.02] transition-colors",children:[s.jsxs("div",{className:"min-w-0 mr-3",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:d.title}),s.jsx("p",{className:"text-xs text-neutral-500",children:new Date(d.created_at).toLocaleString()})]}),s.jsx(ct,{status:d.status})]})},d.id))}):s.jsx(Qe,{count:3})]})]})}function Mt({icon:e,title:a,description:l,action:i}){return s.jsxs("div",{className:"flex flex-col items-center justify-center py-16 text-center border border-white/[0.08] bg-white/[0.02] rounded-lg",children:[e&&s.jsx("div",{className:"text-neutral-500 mb-3",children:e}),s.jsx("p",{className:"text-sm font-medium text-neutral-200",children:a}),l&&s.jsx("p",{className:"text-xs text-neutral-400 mt-1 max-w-xs",children:l}),i&&s.jsx("div",{className:"mt-4",children:i})]})}function la({open:e,onClose:a,title:l,children:i,maxWidth:c="max-w-md"}){const u=r.useCallback(d=>{d.key==="Escape"&&a()},[a]);return r.useEffect(()=>{if(e)return document.addEventListener("keydown",u),()=>document.removeEventListener("keydown",u)},[e,u]),s.jsx(Oa,{children:e&&s.jsx(De.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/60 flex items-center justify-center z-50 p-4",onClick:a,children:s.jsxs(De.div,{initial:{opacity:0,scale:.95,y:10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:10},transition:{duration:.15,ease:"easeOut"},className:`bg-neutral-950 border border-white/10 rounded-lg w-full ${c} max-h-[85vh] overflow-y-auto`,onClick:d=>d.stopPropagation(),children:[l&&s.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-white/10",children:[s.jsx("h3",{className:"text-sm font-semibold",children:l}),s.jsx("button",{onClick:a,className:"text-neutral-400 hover:text-white text-xs transition-colors",children:"Close"})]}),s.jsx("div",{className:"p-6",children:i})]})})})}function PF(e){if(typeof e=="string")try{return JSON.parse(e)}catch{return{}}return e||{}}const GF={animate:{transition:{staggerChildren:.04}}},YF={initial:{opacity:0,y:8},animate:{opacity:1,y:0}};function KF(){const e=Ja(["task:started","task:completed"]),{data:a,loading:l,refetch:i}=je("/api/agents",[e]),[c,u]=r.useState(!1);return s.jsxs("div",{className:"p-6 max-w-5xl",children:[s.jsx(ze,{title:"Agents",subtitle:"Your AI team",action:l?atLimit?s.jsx("span",{className:"text-xs text-neutral-400",children:"Free tier: 1 agent max"}):null:s.jsxs("button",{onClick:()=>u(!0),className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14,weight:"bold"}),"Create agent"]})}),l?s.jsx(Qe,{count:4}):a!=null&&a.length?s.jsx(De.div,{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3",variants:GF,initial:"initial",animate:"animate",children:a.map(d=>{var m;const h=PF(d.stats);return s.jsx(De.div,{variants:YF,children:s.jsxs(bt,{to:`/agents/${d.id}`,className:"block border border-white/[0.08] rounded-lg p-4 hover:bg-white/[0.02] transition-colors h-full",children:[s.jsxs("div",{className:"flex items-start justify-between mb-3",children:[s.jsx("div",{className:"w-9 h-9 rounded-full bg-white/10 flex items-center justify-center text-sm font-bold",children:(m=d.name[0])==null?void 0:m.toUpperCase()}),s.jsx(ct,{status:d.status})]}),s.jsx("p",{className:"text-sm font-medium truncate",children:d.name}),s.jsx("p",{className:"text-xs text-neutral-500 truncate mt-0.5",children:d.role}),s.jsxs("p",{className:"text-xs text-neutral-600 mt-2",children:[h.total_tasks||0," ",h.total_tasks===1?"task":"tasks"]})]})},d.id)})}):s.jsx(Mt,{icon:s.jsx(Ka,{size:32}),title:"No agents yet",description:"Create your first agent to get started.",action:s.jsx("button",{onClick:()=>u(!0),className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:"Create agent"})}),s.jsx(XF,{open:c,onClose:()=>u(!1),onCreated:()=>{u(!1),i()}})]})}function XF({open:e,onClose:a,onCreated:l}){const[i,c]=r.useState(""),[u,d]=r.useState(""),[h,m]=r.useState(""),[p,g]=r.useState(""),[x,y]=r.useState(!1),[w,N]=r.useState(""),E=async A=>{if(A.preventDefault(),!i.trim()||!u.trim()||!h.trim()){N("Name, role, and system prompt are required.");return}y(!0),N("");try{await fe("/api/agents",{method:"POST",body:JSON.stringify({name:i.trim(),role:u.trim(),system_prompt:h.trim(),description:p.trim()||null})}),l()}catch(j){N(j instanceof Error?j.message:"Something went wrong. Try again?")}finally{y(!1)}};return s.jsx(la,{open:e,onClose:a,title:"Create agent",children:s.jsxs("form",{onSubmit:E,className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx("label",{className:"block text-xs text-neutral-500 mb-1",children:"Name"}),s.jsx("input",{type:"text",value:i,onChange:A=>c(A.target.value),placeholder:"e.g. Scout",className:"w-full px-3 py-2 text-sm bg-white/5 border border-white/10 rounded-md focus:outline-none focus:border-white/20",autoFocus:!0})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-xs text-neutral-500 mb-1",children:"Role"}),s.jsx("input",{type:"text",value:u,onChange:A=>d(A.target.value),placeholder:"e.g. Sales Development",className:"w-full px-3 py-2 text-sm bg-white/5 border border-white/10 rounded-md focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-xs text-neutral-500 mb-1",children:"System Prompt"}),s.jsx("textarea",{value:h,onChange:A=>m(A.target.value),placeholder:"Describe what this agent does and how it should behave...",rows:4,className:"w-full px-3 py-2 text-sm bg-white/5 border border-white/10 rounded-md focus:outline-none focus:border-white/20 resize-none"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-xs text-neutral-500 mb-1",children:"Description (optional)"}),s.jsx("input",{type:"text",value:p,onChange:A=>g(A.target.value),placeholder:"Short description for the agent list",className:"w-full px-3 py-2 text-sm bg-white/5 border border-white/10 rounded-md focus:outline-none focus:border-white/20"})]}),w&&s.jsx("p",{className:"text-xs text-critical",children:w}),s.jsxs("div",{className:"flex justify-end gap-2 pt-2",children:[s.jsx("button",{type:"button",onClick:a,className:"px-3 py-1.5 text-sm text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:x,className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:x?"Creating...":"Create"})]})]})})}function ml({checked:e,onChange:a,disabled:l=!1,size:i="md"}){const c=i==="sm"?{track:"w-8 h-4",thumb:"w-3 h-3",translate:"translate-x-4"}:{track:"w-10 h-5",thumb:"w-4 h-4",translate:"translate-x-5"};return s.jsx("button",{type:"button",role:"switch","aria-checked":e,onClick:()=>!l&&a(!e),disabled:l,className:`relative ${c.track} rounded-full transition-colors disabled:opacity-50 ${e?"bg-success/30":"bg-white/10"}`,children:s.jsx("span",{className:`absolute top-0.5 left-0.5 ${c.thumb} rounded-full transition-transform ${e?`${c.translate} bg-success`:"translate-x-0 bg-neutral-400"}`})})}function Ml({tabs:e,activeTab:a,onTabChange:l,layoutId:i="tab-underline"}){return s.jsx("div",{className:"flex gap-1 border-b border-white/[0.08]",children:e.map(c=>{const u=c.id===a;return s.jsxs("button",{onClick:()=>l(c.id),className:`relative px-4 py-2.5 text-sm font-medium transition-colors ${u?"text-white":"text-neutral-400 hover:text-neutral-200"}`,children:[s.jsxs("span",{className:"relative z-10 flex items-center gap-2",children:[c.label,c.count!=null&&s.jsx("span",{className:"text-[10px] bg-white/10 px-1.5 py-0.5 rounded-full min-w-[18px] text-center",children:c.count})]}),u&&s.jsx(De.div,{layoutId:i,className:"absolute bottom-0 left-0 right-0 h-0.5 bg-white",transition:{type:"spring",stiffness:350,damping:30}})]},c.id)})})}const QF=[{id:"development",label:"Development"},{id:"files",label:"Files"},{id:"databases",label:"Databases"},{id:"apis",label:"APIs"},{id:"communication",label:"Communication"}],JF=[{id:"filesystem",name:"Filesystem",description:"Read, write, and search files on your machine",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-filesystem","/tmp"],envVarsRequired:[],category:"files"},{id:"github",name:"GitHub",description:"Manage repos, issues, and pull requests",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-github"],envVarsRequired:[{key:"GITHUB_PERSONAL_ACCESS_TOKEN",label:"GitHub token"}],category:"development"},{id:"slack",name:"Slack",description:"Read and send Slack messages",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-slack"],envVarsRequired:[{key:"SLACK_BOT_TOKEN",label:"Slack bot token"},{key:"SLACK_TEAM_ID",label:"Slack team ID"}],category:"communication"},{id:"postgres",name:"PostgreSQL",description:"Query and explore PostgreSQL databases",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-postgres"],envVarsRequired:[{key:"POSTGRES_CONNECTION_STRING",label:"Connection string"}],category:"databases"},{id:"sqlite",name:"SQLite",description:"Query and explore SQLite databases",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-sqlite"],envVarsRequired:[{key:"SQLITE_DB_PATH",label:"Database file path"}],category:"databases"},{id:"brave-search",name:"Brave Search",description:"Search the web with Brave",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-brave-search"],envVarsRequired:[{key:"BRAVE_API_KEY",label:"Brave API key"}],category:"apis"},{id:"fetch",name:"Fetch",description:"Fetch and read web pages and APIs",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-fetch"],envVarsRequired:[],category:"apis"},{id:"memory",name:"Memory",description:"Persistent knowledge graph for storing and retrieving information",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-memory"],envVarsRequired:[],category:"development"},{id:"google-maps",name:"Google Maps",description:"Search places, get directions, and geocode addresses",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-google-maps"],envVarsRequired:[{key:"GOOGLE_MAPS_API_KEY",label:"Google Maps API key"}],category:"apis"},{id:"sequential-thinking",name:"Sequential Thinking",description:"Think through problems step by step",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-sequential-thinking"],envVarsRequired:[],category:"development"},{id:"everything",name:"Everything (Demo)",description:"Demo server with sample tools for testing",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-everything"],envVarsRequired:[],category:"development"},{id:"puppeteer",name:"Puppeteer",description:"Browser automation and web scraping",transport:"stdio",command:"npx",args:["-y","@modelcontextprotocol/server-puppeteer"],envVarsRequired:[],category:"development"}],r7={name:"",transport:"stdio",command:"",args:"",env:"",url:""};function vM({servers:e,onChange:a,disabled:l}){const[i,c]=r.useState(!1),[u,d]=r.useState(r7),[h,m]=r.useState(""),[p,g]=r.useState(null),[x,y]=r.useState({}),[w,N]=r.useState(null),[E,A]=r.useState("popular"),j=()=>{d(r7),m(""),A("popular"),c(!0)},S=()=>{if(!u.name.trim()){m("Name is required");return}if(u.transport==="stdio"&&!u.command.trim()){m("Command is required");return}if(u.transport==="http"&&!u.url.trim()){m("URL is required");return}if(e.some(T=>T.name===u.name.trim())){m("A server with that name already exists");return}const _=u.transport==="stdio"?{name:u.name.trim(),transport:"stdio",command:u.command.trim(),args:u.args.trim()?u.args.trim().split(/\s+/):void 0,env:u.env.trim()?WF(u.env.trim()):void 0}:{name:u.name.trim(),transport:"http",url:u.url.trim()};a([...e,_]),c(!1)},Z=_=>{a(e.filter(T=>T.name!==_))},C=async _=>{if(!p){g(_.name);try{const k=await(await fetch("/api/mcp/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(_)})).json();k.success?(ce.success(`Connected. ${k.tools.length===1?"1 tool":`${k.tools.length} tools`} found in ${k.latencyMs}ms`),y(R=>({...R,[_.name]:k.tools})),N(_.name)):ce.error(k.error||"Couldn't connect to this server. Try again?")}catch{ce.error("Couldn't reach the daemon to test the connection")}finally{g(null)}}},H=_=>{N(T=>T===_?null:_)};return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"mt-4",children:[s.jsxs("div",{className:"flex items-center justify-between mb-2",children:[s.jsx("h3",{className:"text-xs font-medium text-neutral-400 uppercase tracking-wider",children:"MCP Servers"}),s.jsx("button",{onClick:j,disabled:l,className:"text-xs text-white hover:text-white/80 disabled:opacity-50 transition-colors",children:"+ Add"})]}),e.length===0?s.jsx("p",{className:"text-xs text-neutral-400 py-2",children:"No MCP servers yet. Add one to extend what this agent can do."}):s.jsx("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:e.map(_=>{var O;const T=x[_.name],k=w===_.name,R=p===_.name;return s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{className:"min-w-0 mr-3 flex items-center gap-2",children:[T&&T.length>0&&s.jsx("button",{onClick:()=>H(_.name),className:"text-neutral-400 hover:text-white transition-colors shrink-0",children:k?s.jsx(Qa,{size:12}):s.jsx(El,{size:12})}),s.jsx("span",{className:"text-sm font-medium",children:_.name}),s.jsx("span",{className:"text-xs text-neutral-400",children:_.transport==="stdio"?`stdio · ${_.command}${(O=_.args)!=null&&O.length?" "+_.args.join(" "):""}`:`http · ${_.url}`}),T&&s.jsx("span",{className:"text-xs text-neutral-500",children:T.length===1?"1 tool":`${T.length} tools`})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[s.jsx("button",{onClick:()=>C(_),disabled:l||R,className:`text-neutral-400 hover:text-uplink transition-colors disabled:opacity-50 ${R?"animate-pulse":""}`,title:"Test connection",children:s.jsx(ja,{size:14,weight:R?"fill":"bold"})}),s.jsx("button",{onClick:()=>Z(_.name),disabled:l,className:"text-neutral-400 hover:text-error transition-colors disabled:opacity-50",children:s.jsx(qt,{size:14})})]})]}),k&&T&&T.length>0&&s.jsx("div",{className:"px-4 pb-3 pl-10",children:s.jsx("div",{className:"bg-white/[0.03] rounded-md border border-white/[0.06] divide-y divide-white/[0.06]",children:T.map(I=>s.jsxs("div",{className:"px-3 py-2",children:[s.jsx("span",{className:"text-xs font-mono text-white/80",children:I.name}),I.description&&s.jsx("p",{className:"text-xs text-neutral-500 mt-0.5",children:I.description})]},I.name))})})]},_.name)})})]}),s.jsx(la,{open:i,onClose:()=>c(!1),title:"Add MCP Server",maxWidth:"max-w-lg",children:s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-1 bg-white/[0.04] rounded-md p-0.5",children:[s.jsx("button",{onClick:()=>A("popular"),className:`flex-1 px-3 py-1.5 text-xs font-medium rounded transition-colors ${E==="popular"?"bg-white/10 text-white":"text-neutral-400 hover:text-white"}`,children:"Popular"}),s.jsx("button",{onClick:()=>A("custom"),className:`flex-1 px-3 py-1.5 text-xs font-medium rounded transition-colors ${E==="custom"?"bg-white/10 text-white":"text-neutral-400 hover:text-white"}`,children:"Custom"})]}),E==="popular"&&s.jsx("div",{className:"space-y-4",children:QF.map(_=>{const T=JF.filter(k=>k.category===_.id);return T.length===0?null:s.jsxs("div",{children:[s.jsx("h4",{className:"text-xs font-medium text-neutral-400 uppercase tracking-wider mb-2",children:_.label}),s.jsx("div",{className:"grid grid-cols-2 gap-2",children:T.map(k=>{const R=e.some(O=>O.name===k.name);return s.jsxs("button",{onClick:()=>{R||(d({name:k.name,transport:k.transport,command:k.command,args:k.args.join(" "),env:k.envVarsRequired.map(O=>`${O.key}=`).join(`
72
+ `),url:""}),m(""),A("custom"))},disabled:R,className:`text-left p-3 rounded-lg border transition-colors ${R?"border-white/[0.06] bg-white/[0.02] opacity-50 cursor-not-allowed":"border-white/[0.08] bg-white/[0.04] hover:border-white/20 hover:bg-white/[0.06]"}`,children:[s.jsxs("div",{className:"flex items-start justify-between gap-1",children:[s.jsx("span",{className:"text-sm font-medium",children:k.name}),s.jsx("span",{className:"text-[10px] text-neutral-500 bg-white/[0.06] px-1.5 py-0.5 rounded shrink-0",children:_.label})]}),s.jsx("p",{className:"text-xs text-neutral-400 mt-1",children:k.description}),R&&s.jsx("p",{className:"text-[10px] text-neutral-500 mt-1",children:"Already added"})]},k.id)})})]},_.id)})}),E==="custom"&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{children:[s.jsx("label",{className:"block text-xs text-neutral-400 mb-1",children:"Name"}),s.jsx("input",{value:u.name,onChange:_=>d(T=>({...T,name:_.target.value})),placeholder:"e.g. filesystem",className:"w-full bg-white/[0.06] border border-white/[0.08] rounded px-3 py-2 text-sm focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-xs text-neutral-400 mb-1",children:"Transport"}),s.jsxs("select",{value:u.transport,onChange:_=>d(T=>({...T,transport:_.target.value})),className:"w-full bg-white/[0.06] border border-white/[0.08] rounded px-3 py-2 text-sm focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"stdio",children:"stdio (subprocess on this machine)"}),s.jsx("option",{value:"http",children:"http (remote server via URL)"})]})]}),u.transport==="stdio"?s.jsxs(s.Fragment,{children:[s.jsxs("div",{children:[s.jsx("label",{className:"block text-xs text-neutral-400 mb-1",children:"Command"}),s.jsx("input",{value:u.command,onChange:_=>d(T=>({...T,command:_.target.value})),placeholder:"e.g. npx",className:"w-full bg-white/[0.06] border border-white/[0.08] rounded px-3 py-2 text-sm focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-xs text-neutral-400 mb-1",children:"Args (space-separated)"}),s.jsx("input",{value:u.args,onChange:_=>d(T=>({...T,args:_.target.value})),placeholder:"e.g. -y @modelcontextprotocol/server-filesystem /tmp",className:"w-full bg-white/[0.06] border border-white/[0.08] rounded px-3 py-2 text-sm focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-xs text-neutral-400 mb-1",children:"Env vars (optional, KEY=VALUE one per line)"}),s.jsx("textarea",{value:u.env,onChange:_=>d(T=>({...T,env:_.target.value})),placeholder:"MY_KEY=value",rows:3,className:"w-full bg-white/[0.06] border border-white/[0.08] rounded px-3 py-2 text-sm focus:outline-none focus:border-white/20 resize-none"})]})]}):s.jsxs("div",{children:[s.jsx("label",{className:"block text-xs text-neutral-400 mb-1",children:"URL"}),s.jsx("input",{value:u.url,onChange:_=>d(T=>({...T,url:_.target.value})),placeholder:"e.g. http://localhost:5173/sse",className:"w-full bg-white/[0.06] border border-white/[0.08] rounded px-3 py-2 text-sm focus:outline-none focus:border-white/20"})]}),h&&s.jsx("p",{className:"text-xs text-error",children:h}),s.jsxs("div",{className:"flex justify-end gap-2",children:[s.jsx("button",{onClick:()=>c(!1),className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{onClick:S,className:"px-3 py-1.5 text-xs font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:"Add server"})]})]})]})})]})}function WF(e){const a={};for(const l of e.split(`
73
+ `)){const i=l.trim();if(!i)continue;const c=i.indexOf("=");c>0&&(a[i.slice(0,c)]=i.slice(c+1))}return a}function s7(e){const a=Date.now()-new Date(e).getTime(),l=Math.floor(a/6e4);if(l<1)return"just now";if(l<60)return`${l}m ago`;const i=Math.floor(l/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}const eq=[{id:"overview",label:"Overview"},{id:"tasks",label:"Tasks"},{id:"activity",label:"Activity"},{id:"performance",label:"Performance"},{id:"config",label:"Config"}];function tq(){var Ze;const{id:e}=gl(),a=Ja(["task:started","task:completed","task:failed"]),{data:l,loading:i,refetch:c}=je(e?`/api/agents/${e}`:null,[a]),{data:u}=je(e?`/api/agents/${e}/memory`:null),{data:d}=je(e?`/api/tasks?agentId=${e}&limit=50`:null,[a]),{data:h}=je("/api/activity",[a]),m=r.useMemo(()=>!h||!e?[]:h.filter(se=>se.agent_id===e),[h,e]),p=r.useMemo(()=>{if(!(d!=null&&d.length))return null;const se=d.filter(at=>at.status==="completed").length,ye=d.filter(at=>at.status==="failed").length,Ae=se+ye>0?se/(se+ye):0,wt=d.filter(at=>at.duration_seconds!=null).map(at=>at.duration_seconds),_e=wt.length>0?wt.reduce((at,Tt)=>at+Tt,0)/wt.length:0,ia=d.reduce((at,Tt)=>at+(Tt.tokens_used||0),0),oa=d.reduce((at,Tt)=>at+(Tt.cost_cents||0),0),i0=d.length>0?Math.round(ia/d.length):0;return{completed:se,failed:ye,successRate:Ae,avgDuration:_e,totalTokens:ia,totalCostCents:oa,avgTokens:i0}},[d]),[g,x]=r.useState("overview"),[y,w]=r.useState(!1),[N,E]=r.useState([]),[A,j]=r.useState(!1),[S,Z]=r.useState(!1),[C,H]=r.useState([]),[_,T]=r.useState(!1),[k,R]=r.useState(!1),[O,I]=r.useState([]),[X,K]=r.useState(!1);r.useEffect(()=>{fe("/api/voice/health").then(()=>(w(!0),fe("/api/voice/profiles"))).then(se=>E(se.data||[])).catch(()=>w(!1))},[]);const B=r.useMemo(()=>l?typeof l.config=="string"?JSON.parse(l.config):l.config||{}:{},[l]),Y=r.useMemo(()=>l?typeof l.stats=="string"?JSON.parse(l.stats):l.stats||{}:{},[l]);r.useEffect(()=>{R(B.mcp_enabled===!0),I(Array.isArray(B.mcp_servers)?B.mcp_servers:[])},[B]);const L=B.local_files_enabled===!0&&B.bash_enabled===!0,[$,W]=r.useState([]),[de,he]=r.useState(""),[D,te]=r.useState("");r.useEffect(()=>{e&&fe(`/api/agents/${e}/file-access`).then(se=>W(se.data||[])).catch(()=>{})},[e,B]);const re=async()=>{if(!(!e||!de.trim())){te("");try{await fe(`/api/agents/${e}/file-access`,{method:"POST",body:JSON.stringify({path:de.trim()})});const se=await fe(`/api/agents/${e}/file-access`);W(se.data||[]),he("")}catch(se){te(se instanceof Error?se.message:"Could not add path")}}},z=async se=>{if(e)try{await fe(`/api/agents/${e}/file-access/${se}`,{method:"DELETE"}),W(ye=>ye.filter(Ae=>Ae.id!==se))}catch{}},q=r.useMemo(()=>[{key:"model",label:"Model",value:String(B.model||"claude-sonnet-4-5")},{key:"temperature",label:"Temperature",value:String(B.temperature??"0.7")},{key:"max_tokens",label:"Max tokens",value:String(B.max_tokens||"4096")},{key:"requires_approval",label:"Requires approval",value:String(B.requires_approval??"no")},{key:"web_search",label:"Web search",value:String(B.web_search??"no")},{key:"device_access",label:"Device access",value:L?"yes":"no"}],[B,L]),P=r.useCallback(async se=>{if(e){j(!0);try{await fe(`/api/agents/${e}`,{method:"PATCH",body:JSON.stringify({voice_profile_id:se||null})}),c()}catch{}finally{j(!1)}}},[e,c]),oe=r.useCallback(async()=>{if(!e||!l)return;const se=l.status==="paused"?"idle":"paused";try{await fe(`/api/agents/${e}`,{method:"PATCH",body:JSON.stringify({status:se})}),c()}catch{}},[e,l,c]),me=r.useCallback(()=>{H(q.map(se=>({...se}))),Z(!0)},[q]),be=r.useCallback(async()=>{if(e){T(!0);try{const se={};for(const ye of C){if(ye.key==="device_access"){const Ae=ye.value==="true"||ye.value==="yes";se.local_files_enabled=Ae,se.bash_enabled=Ae;continue}ye.value==="true"||ye.value==="yes"?se[ye.key]=!0:ye.value==="false"||ye.value==="no"?se[ye.key]=!1:!isNaN(Number(ye.value))&&ye.value!==""?se[ye.key]=Number(ye.value):se[ye.key]=ye.value}await fe(`/api/agents/${e}`,{method:"PATCH",body:JSON.stringify({config:se})}),Z(!1),c()}catch{}finally{T(!1)}}},[e,C,c]),ke=r.useCallback(async(se,ye)=>{if(e){K(!0);try{await fe(`/api/agents/${e}`,{method:"PATCH",body:JSON.stringify({config:{...B,mcp_enabled:se,mcp_servers:ye}})}),c()}catch{}finally{K(!1)}}},[e,B,c]);if(i)return s.jsx("div",{className:"p-6",children:s.jsx(Qe,{count:4})});if(!l)return s.jsx("div",{className:"p-6 text-neutral-400",children:"Agent not found"});const Se=eq.map(se=>({...se,count:se.id==="tasks"?d==null?void 0:d.length:void 0}));return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsxs(bt,{to:"/agents",className:"inline-flex items-center gap-1 text-xs text-neutral-400 hover:text-white mb-4 transition-colors",children:[s.jsx(Gr,{size:14})," Back to agents"]}),s.jsx(ze,{title:l.name,subtitle:l.role,action:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("button",{onClick:oe,className:`flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-md border transition-colors ${l.status==="paused"?"bg-success/10 border-success/30 text-success hover:bg-success/20":"bg-warning/10 border-warning/30 text-warning hover:bg-warning/20"}`,children:[l.status==="paused"?s.jsx(Kf,{size:14}):s.jsx(YO,{size:14}),l.status==="paused"?"Resume":"Pause"]}),s.jsx(ct,{status:l.status})]})}),l.description&&s.jsx("p",{className:"text-sm text-neutral-400 mb-4",children:l.description}),s.jsx(Ml,{tabs:Se,activeTab:g,onTabChange:se=>{x(se),Z(!1)},layoutId:"agent-detail-tab"}),s.jsxs("div",{className:"mt-6",children:[g==="overview"&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"grid grid-cols-3 gap-3 mb-8",children:[s.jsx(Nt,{label:"Tasks",value:Y.total_tasks||0}),s.jsx(Nt,{label:"Tokens",value:((Ze=Y.tokens_used)==null?void 0:Ze.toLocaleString())||"0"}),s.jsx(Nt,{label:"Cost",value:`$${((Y.cost_cents||0)/100).toFixed(2)}`})]}),y&&s.jsxs(s.Fragment,{children:[s.jsx("h2",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider mb-3",children:"Voice"}),s.jsx("div",{className:"border border-white/[0.08] rounded-lg px-4 py-3 mb-8",children:s.jsxs("label",{className:"flex items-center justify-between gap-4",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium",children:"Voice profile"}),s.jsx("p",{className:"text-xs text-neutral-500",children:"Choose which voice this agent uses during calls"})]}),s.jsxs("select",{value:l.voice_profile_id||"",onChange:se=>P(se.target.value),disabled:A,className:"bg-black border border-white/10 rounded-md px-3 py-1.5 text-sm min-w-[180px]",children:[s.jsx("option",{value:"",children:"Default voice"}),N.map(se=>s.jsx("option",{value:se.id,children:se.name},se.id))]})]})})]}),s.jsx("h2",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider mb-3",children:"Memory"}),u!=null&&u.length?s.jsx("div",{className:"space-y-2",children:u.map(se=>s.jsxs("div",{className:"border border-white/[0.08] rounded-lg px-4 py-3",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[s.jsx("span",{className:"text-xs text-white font-medium",children:se.memory_type}),s.jsx("span",{className:"text-xs text-neutral-500",children:new Date(se.created_at).toLocaleDateString()})]}),s.jsx("p",{className:"text-sm text-neutral-300",children:se.content})]},se.id))}):s.jsx("p",{className:"text-sm text-neutral-500",children:"No memories yet. This agent will learn from completed tasks."}),l.system_prompt&&s.jsxs(s.Fragment,{children:[s.jsx("h2",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider mb-3 mt-8",children:"System Prompt"}),s.jsx("div",{className:"border border-white/[0.08] rounded-lg p-4",children:s.jsx("pre",{className:"text-sm whitespace-pre-wrap break-words text-neutral-300 max-h-[40vh] overflow-y-auto leading-relaxed",children:l.system_prompt})})]})]}),g==="tasks"&&s.jsx(s.Fragment,{children:d!=null&&d.length?s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:d.map(se=>s.jsxs(bt,{to:`/tasks/${se.id}`,className:"flex items-center justify-between px-4 py-3 hover:bg-white/[0.02] transition-colors",children:[s.jsxs("div",{className:"min-w-0 mr-3",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:se.title}),s.jsx("p",{className:"text-xs text-neutral-500",children:s7(se.created_at)})]}),s.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[se.tokens_used?s.jsxs("span",{className:"text-xs text-neutral-500",children:[se.tokens_used.toLocaleString()," tok"]}):null,se.priority&&s.jsx("span",{className:"text-xs text-warning",children:se.priority}),s.jsx(ct,{status:se.status})]})]},se.id))}):s.jsx(Mt,{icon:s.jsx(O1,{size:32}),title:"No tasks yet",description:"Tasks will appear here as this agent works."})}),g==="activity"&&s.jsx(s.Fragment,{children:m.length?s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:m.map(se=>s.jsxs("div",{className:"flex items-start gap-3 px-4 py-3",children:[s.jsxs("div",{className:"mt-0.5",children:[se.activity_type==="task_completed"&&s.jsx(Yr,{size:16,weight:"fill",className:"text-success"}),se.activity_type==="task_failed"&&s.jsx(q1,{size:16,weight:"fill",className:"text-critical"}),se.activity_type==="task_started"&&s.jsx(yt,{size:16,className:"text-white animate-spin"}),!["task_completed","task_failed","task_started"].includes(se.activity_type)&&s.jsx(kr,{size:16,className:"text-neutral-400"})]}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"text-sm font-medium truncate",children:se.title}),s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-white/5 text-neutral-500 shrink-0",children:se.activity_type.replace(/_/g," ")})]}),se.description&&s.jsx("p",{className:"text-xs text-neutral-500 mt-0.5 truncate",children:se.description}),s.jsx("p",{className:"text-xs text-neutral-600 mt-1",children:s7(se.created_at)})]})]},se.id))}):s.jsx(Mt,{icon:s.jsx(kr,{size:32}),title:"No activity yet",description:"Activity will appear here as this agent works on tasks."})}),g==="performance"&&s.jsx(s.Fragment,{children:p?s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"grid grid-cols-3 gap-3 mb-6",children:[s.jsx(Nt,{label:"Success rate",value:`${(p.successRate*100).toFixed(0)}%`}),s.jsx(Nt,{label:"Avg duration",value:p.avgDuration>0?`${p.avgDuration.toFixed(1)}s`:"N/A"}),s.jsx(Nt,{label:"Total tokens",value:p.totalTokens.toLocaleString()})]}),s.jsxs("div",{className:"grid grid-cols-3 gap-3 mb-8",children:[s.jsx(Nt,{label:"Total cost",value:`$${(p.totalCostCents/100).toFixed(2)}`}),s.jsx(Nt,{label:"Avg tokens/task",value:p.avgTokens.toLocaleString()}),s.jsx(Nt,{label:"Tasks evaluated",value:p.completed+p.failed})]}),s.jsx("h2",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider mb-3",children:"Task outcomes"}),s.jsx("div",{className:"border border-white/[0.08] rounded-lg p-4",children:s.jsx("svg",{viewBox:"0 0 300 80",className:"w-full max-w-sm",role:"img","aria-label":"Task outcome chart",children:(()=>{const se=p.completed+p.failed;if(se===0)return null;const ye=p.completed/se*260,Ae=p.failed/se*260;return s.jsxs(s.Fragment,{children:[s.jsx("rect",{x:20,y:10,width:ye,height:24,rx:4,fill:"#22c55e"}),s.jsxs("text",{x:20,y:52,className:"text-[10px]",fill:"#a3a3a3",fontSize:"10",children:["Completed: ",p.completed]}),s.jsx("rect",{x:20,y:56,width:Ae,height:24,rx:4,fill:"#ef4444"}),s.jsxs("text",{x:20+Ae+8,y:72,className:"text-[10px]",fill:"#a3a3a3",fontSize:"10",children:["Failed: ",p.failed]})]})})()})})]}):s.jsx(Mt,{icon:s.jsx(kr,{size:32}),title:"No performance data",description:"Complete some tasks first to see performance metrics."})}),g==="config"&&!S&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:[q.map(se=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsx("span",{className:"text-sm text-neutral-400",children:se.label}),s.jsx("span",{className:"text-sm font-medium",children:se.value})]},se.key)),s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-sm text-neutral-400",children:"MCP tools"}),s.jsx("p",{className:"text-xs text-neutral-600",children:"Allow this agent to use MCP servers"})]}),s.jsx(ml,{checked:k,onChange:async se=>{R(se),await ke(se,O)},disabled:X,size:"sm"})]}),s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-sm text-neutral-400",children:"Device access"}),s.jsx("p",{className:"text-xs text-neutral-600",children:"Allow filesystem and shell access to local directories"})]}),s.jsx(ml,{checked:L,onChange:async se=>{if(e)try{await fe(`/api/agents/${e}`,{method:"PATCH",body:JSON.stringify({config:{...B,local_files_enabled:se,bash_enabled:se}})}),c()}catch{}},size:"sm"})]})]}),k&&s.jsx(vM,{servers:O,onChange:async se=>{I(se),await ke(k,se)},disabled:X}),L&&s.jsxs("div",{className:"mt-4",children:[s.jsx("h3",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider mb-3",children:"Allowed directories"}),$.length>0?s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:$.map(se=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-2.5",children:[s.jsx("code",{className:"text-sm text-neutral-300",children:se.path}),s.jsx("button",{onClick:()=>z(se.id),className:"text-xs text-neutral-500 hover:text-red-400 transition-colors",children:"Remove"})]},se.id))}):s.jsx("p",{className:"text-sm text-neutral-500 mb-3",children:"No directories configured yet."}),s.jsxs("div",{className:"flex gap-2 mt-3",children:[s.jsx("input",{value:de,onChange:se=>{he(se.target.value),te("")},onKeyDown:se=>{se.key==="Enter"&&re()},placeholder:"~/projects/myapp",className:"flex-1 bg-white/5 border border-white/10 rounded-md px-3 py-1.5 text-sm text-white placeholder:text-neutral-600 focus:outline-none focus:border-white/20"}),s.jsx("button",{onClick:re,className:"px-3 py-1.5 text-xs font-medium bg-white/5 border border-white/10 text-white rounded-md hover:bg-white/10 transition-colors",children:"Add path"})]}),D&&s.jsx("p",{className:"text-xs text-red-400 mt-1",children:D})]}),s.jsx("div",{className:"mt-4",children:s.jsxs("button",{onClick:me,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium bg-white/5 border border-white/10 text-white rounded-md hover:bg-white/10 transition-colors",children:[s.jsx(zO,{size:14})," Edit config"]})})]}),g==="config"&&S&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:C.map((se,ye)=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsx("label",{className:"text-sm text-neutral-400",htmlFor:`config-${se.key}`,children:se.label}),s.jsx("input",{id:`config-${se.key}`,value:se.value,onChange:Ae=>{const wt=[...C];wt[ye]={...se,value:Ae.target.value},H(wt)},className:"bg-white/5 border border-white/10 rounded px-3 py-1.5 text-sm text-white text-right w-48 focus:outline-none focus:border-white/20"})]},se.key))}),s.jsxs("div",{className:"flex gap-2 mt-4",children:[s.jsx("button",{onClick:()=>Z(!1),className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{onClick:be,disabled:_,className:"px-4 py-1.5 text-xs font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:_?"Saving...":"Save config"})]})]})]})]})}const aq=["all","queued","in_progress","completed","needs_approval","failed"],l7={urgent:0,high:1,normal:2,low:3},i7={in_progress:0,queued:1,needs_approval:2,completed:3,failed:4};function nq(){const e=Ja(["task:started","task:completed","task:failed"]),[a,l]=r.useState("all"),[i,c]=r.useState(!1),[u,d]=r.useState(""),[h,m]=r.useState("date"),p=a==="all"?"":`&status=${a}`,{data:g,loading:x,refetch:y}=je(`/api/tasks?limit=50${p}`,[e,a]),{data:w}=je("/api/agents"),N=r.useMemo(()=>{const A=new Map;return w==null||w.forEach(j=>A.set(j.id,j.name)),A},[w]),E=r.useMemo(()=>{if(!g)return[];let A=g;if(u.trim()){const j=u.toLowerCase();A=A.filter(S=>S.title.toLowerCase().includes(j)||(N.get(S.agent_id)||"").toLowerCase().includes(j))}return h==="priority"?A=[...A].sort((j,S)=>{const Z=l7[j.priority||"normal"]??2,C=l7[S.priority||"normal"]??2;return Z-C||new Date(S.created_at).getTime()-new Date(j.created_at).getTime()}):h==="status"&&(A=[...A].sort((j,S)=>{const Z=i7[j.status]??5,C=i7[S.status]??5;return Z-C||new Date(S.created_at).getTime()-new Date(j.created_at).getTime()})),A},[g,u,h,N]);return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Tasks",subtitle:"All agent tasks",action:s.jsxs("button",{onClick:()=>c(!i),className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," New task"]})}),i&&(w!=null&&w.length)?s.jsx(rq,{agents:w,onClose:()=>c(!1),onSuccess:y}):null,s.jsx("div",{className:"flex gap-1 mb-4 overflow-x-auto",children:aq.map(A=>s.jsx("button",{onClick:()=>l(A),className:`px-3 py-1.5 rounded-md text-xs capitalize transition-colors ${a===A?"bg-white/10 text-white":"text-neutral-400 hover:text-white"}`,children:A.replace(/_/g," ")},A))}),s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsxs("div",{className:"relative flex-1",children:[s.jsx(jn,{size:14,className:"absolute left-3 top-1/2 -translate-y-1/2 text-neutral-400"}),s.jsx("input",{value:u,onChange:A=>d(A.target.value),placeholder:"Search by title or agent...",className:"w-full bg-white/5 border border-white/10 rounded-lg pl-8 pr-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("select",{value:h,onChange:A=>m(A.target.value),className:"bg-white/5 border border-white/10 rounded-lg px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"date",children:"Sort by date"}),s.jsx("option",{value:"priority",children:"Sort by priority"}),s.jsx("option",{value:"status",children:"Sort by status"})]})]}),x?s.jsx(Qe,{count:5}):E.length?s.jsx("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:E.map(A=>s.jsxs(bt,{to:`/tasks/${A.id}`,className:"flex items-center justify-between px-4 py-3 hover:bg-white/5 transition-colors",children:[s.jsxs("div",{className:"min-w-0 mr-3",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:A.title}),s.jsxs("p",{className:"text-xs text-neutral-400",children:[N.get(A.agent_id)&&s.jsx("span",{className:"text-white",children:N.get(A.agent_id)}),N.get(A.agent_id)&&" · ",new Date(A.created_at).toLocaleString()]})]}),s.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[A.priority&&A.priority!=="normal"&&s.jsx("span",{className:"text-xs text-warning",children:A.priority}),A.tokens_used?s.jsxs("span",{className:"text-xs text-neutral-400",children:[A.tokens_used.toLocaleString()," tok"]}):null,s.jsx(ct,{status:A.status})]})]},A.id))}):s.jsx(Mt,{icon:s.jsx(O1,{size:32}),title:"Nothing here yet",description:u?`No tasks matching "${u}".`:a==="all"?"Tasks will appear as agents work.":`No ${a.replace(/_/g," ")} tasks.`})]})}function rq({agents:e,onClose:a,onSuccess:l}){var y;const[i,c]=r.useState(((y=e[0])==null?void 0:y.id)||""),[u,d]=r.useState(""),[h,m]=r.useState(""),[p,g]=r.useState(!1),x=async w=>{if(w.preventDefault(),!(!i||!u.trim())){g(!0);try{await fe("/api/tasks",{method:"POST",body:JSON.stringify({agentId:i,title:u.trim(),description:h.trim()||void 0})}),l(),a()}catch{}finally{g(!1)}}};return s.jsxs("form",{onSubmit:x,className:"bg-white/5 border border-white/[0.08] rounded-lg p-4 mb-4 space-y-3",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Agent"}),s.jsx("select",{value:i,onChange:w=>c(w.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:e.map(w=>s.jsx("option",{value:w.id,children:w.name},w.id))})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Title"}),s.jsx("input",{value:u,onChange:w=>d(w.target.value),placeholder:"What should this agent do?",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Description (optional)"}),s.jsx("textarea",{value:h,onChange:w=>m(w.target.value),rows:2,className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20 resize-none"})]}),s.jsxs("div",{className:"flex gap-2 justify-end",children:[s.jsx("button",{type:"button",onClick:a,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:p||!u.trim(),className:"px-4 py-1.5 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:p?"Dispatching...":"Dispatch"})]})]})}function o7({title:e,defaultOpen:a=!0,children:l}){const[i,c]=r.useState(a);return s.jsxs("div",{className:"mb-6",children:[s.jsxs("button",{type:"button",onClick:()=>c(u=>!u),className:"flex items-center gap-1.5 text-sm font-medium text-neutral-400 uppercase tracking-wider mb-2 hover:text-white transition-colors",children:[i?s.jsx(Qa,{size:14,weight:"bold"}):s.jsx(El,{size:14,weight:"bold"}),e]}),s.jsx(Oa,{initial:!1,children:i&&s.jsx(De.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2,ease:"easeInOut"},style:{overflow:"hidden"},children:l})})]})}function sq(e){return new Date(e).toLocaleString(void 0,{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})}function lq({events:e}){return s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Timeline"}),s.jsxs("div",{className:"relative pl-6",children:[s.jsx("div",{className:"absolute left-[7px] top-1 bottom-1 w-px bg-white/[0.12]"}),s.jsx("div",{className:"space-y-4",children:e.map((a,l)=>s.jsxs("div",{className:"relative flex items-start gap-3",children:[s.jsx("div",{className:"absolute -left-6 top-0.5 flex items-center justify-center w-[15px] h-[15px] rounded-full ring-2 ring-black",style:{backgroundColor:a.color},children:s.jsx("span",{className:"flex items-center justify-center text-black",children:a.icon})}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("p",{className:"text-sm font-medium",children:a.label}),s.jsx("p",{className:"text-xs text-neutral-400",children:sq(a.timestamp)})]})]},l))})]})]})}function iq(e){try{const a=JSON.parse(e);if(Array.isArray(a)){const l=a.filter(i=>i.type==="tool_use");if(l.length>0)return l.map(i=>({name:i.name,arguments:i.input??i.arguments??{}}))}if(a.tool_calls&&Array.isArray(a.tool_calls))return a.tool_calls.map(l=>{var i,c,u;return{name:((i=l.function)==null?void 0:i.name)??l.name,arguments:typeof((c=l.function)==null?void 0:c.arguments)=="string"?JSON.parse(l.function.arguments):((u=l.function)==null?void 0:u.arguments)??l.arguments??{}}});if(a.type==="tool_use"&&a.name)return[{name:a.name,arguments:a.input??a.arguments??{}}]}catch{}return null}function oq({call:e}){const[a,l]=r.useState(!1);return s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-3 my-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"inline-flex items-center px-2 py-0.5 rounded-full text-xs font-mono font-medium bg-blue-500/15 text-blue-400 border border-blue-500/30",children:e.name}),s.jsxs("button",{type:"button",onClick:()=>l(i=>!i),className:"text-xs text-neutral-400 hover:text-white transition-colors flex items-center gap-0.5",children:[a?s.jsx(Qa,{size:12}):s.jsx(El,{size:12}),a?"Hide args":"Show args"]})]}),s.jsx(Oa,{initial:!1,children:a&&s.jsx(De.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.15},style:{overflow:"hidden"},children:s.jsx("pre",{className:"text-xs text-neutral-300 mt-2 whitespace-pre-wrap break-words bg-white/[0.03] rounded p-2",children:JSON.stringify(e.arguments,null,2)})})})]})}function cq({content:e}){const a=r.useMemo(()=>iq(e),[e]);return a?s.jsx("div",{className:"space-y-1",children:a.map((l,i)=>s.jsx(oq,{call:l},i))}):s.jsx("pre",{className:"whitespace-pre-wrap break-words",children:typeof e=="string"?e:JSON.stringify(e)})}const c7={critical:"bg-critical/15 text-critical border-critical/30",high:"bg-orange-500/15 text-orange-400 border-orange-500/30",medium:"bg-yellow-500/15 text-yellow-400 border-yellow-500/30",low:"bg-neutral-500/15 text-neutral-400 border-neutral-500/30"};function uq({priority:e}){const a=c7[e.toLowerCase()]??c7.low;return s.jsx("span",{className:`inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium border ${a}`,children:e})}function dq(){const{id:e}=gl(),{data:a,loading:l}=je(e?`/api/tasks/${e}`:null),{data:i}=je(e?`/api/tasks/${e}/messages`:null),{data:c}=je(a!=null&&a.agent_id?`/api/agents/${a.agent_id}`:null),u=r.useMemo(()=>{if(!a)return[];const d=[];if(d.push({label:"Created",timestamp:a.created_at,color:"#737373",icon:s.jsx(Fr,{size:9,weight:"bold"})}),a.started_at&&d.push({label:"Started",timestamp:a.started_at,color:"#3b82f6",icon:s.jsx(yt,{size:9,weight:"bold"})}),a.completed_at){const h=a.status==="failed"||a.status==="error";d.push({label:h?"Failed":"Completed",timestamp:a.completed_at,color:h?"#ef4444":"#22c55e",icon:h?s.jsx(q1,{size:9,weight:"bold"}):s.jsx(Yr,{size:9,weight:"bold"})})}return d},[a]);return l?s.jsx("div",{className:"p-6",children:s.jsx(Qe,{count:6})}):a?s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsxs(bt,{to:"/tasks",className:"inline-flex items-center gap-1 text-xs text-neutral-400 hover:text-white mb-4",children:[s.jsx(Gr,{size:14})," Back to tasks"]}),s.jsx(ze,{title:a.title,action:s.jsxs("div",{className:"flex items-center gap-2",children:[a.priority&&s.jsx(uq,{priority:a.priority}),s.jsx(ct,{status:a.status})]})}),a.description&&s.jsx("p",{className:"text-sm text-neutral-400 mb-4",children:a.description}),u.length>0&&s.jsx(lq,{events:u}),s.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3 mb-6",children:[c&&s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-3",children:[s.jsx("p",{className:"text-xs text-neutral-400",children:"Agent"}),s.jsx(bt,{to:`/agents/${c.id}`,className:"text-sm font-medium mt-0.5 text-blue-400 hover:text-blue-300 transition-colors block",children:c.name})]}),a.model_used&&s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-3",children:[s.jsx("p",{className:"text-xs text-neutral-400",children:"Model"}),s.jsx("p",{className:"text-sm font-medium mt-0.5",children:a.model_used})]}),a.tokens_used!=null&&s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-3",children:[s.jsx("p",{className:"text-xs text-neutral-400",children:"Tokens"}),s.jsx("p",{className:"text-sm font-medium mt-0.5",children:a.tokens_used.toLocaleString()})]}),a.cost_cents!=null&&s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-3",children:[s.jsx("p",{className:"text-xs text-neutral-400",children:"Cost"}),s.jsxs("p",{className:"text-sm font-medium mt-0.5",children:["$",(a.cost_cents/100).toFixed(4)]})]}),a.duration_seconds!=null&&s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-3",children:[s.jsx("p",{className:"text-xs text-neutral-400",children:"Duration"}),s.jsxs("p",{className:"text-sm font-medium mt-0.5",children:[a.duration_seconds,"s"]})]})]}),a.error_message&&s.jsx("div",{className:"bg-critical/10 border border-critical/30 rounded-lg p-4 mb-6",children:s.jsx("p",{className:"text-sm text-critical",children:a.error_message})}),a.output&&s.jsx(o7,{title:"Output",children:s.jsx("div",{className:"border border-white/[0.08] rounded-lg p-4",children:s.jsx("pre",{className:"text-sm whitespace-pre-wrap break-words",children:typeof a.output=="string"?a.output:JSON.stringify(a.output,null,2)})})}),i&&i.length>0&&s.jsx(o7,{title:"Conversation",children:s.jsx("div",{className:"space-y-2",children:i.map(d=>s.jsxs("div",{className:`rounded-lg p-3 text-sm ${d.role==="user"?"bg-white/5 border border-white/[0.12]":"border border-white/[0.08]"}`,children:[s.jsx("p",{className:"text-xs text-neutral-400 mb-1 capitalize",children:d.role}),s.jsx(cq,{content:d.content})]},d.id))})})]}):s.jsx("div",{className:"p-6 text-neutral-400",children:"Task not found"})}function hq(e){if(!e)return null;if(typeof e=="string")try{return JSON.parse(e)}catch{return null}return e}function fq(){const e=Ja(["task:completed"]),{data:a,loading:l,refetch:i}=je("/api/approvals",[e]),[c,u]=r.useState(null),[d,h]=r.useState(!1),[m,p]=r.useState(null),[g,x]=r.useState(""),y=r.useCallback(async A=>{u(A);try{await fe(`/api/approvals/${A}/approve`,{method:"POST"}),i()}catch{}finally{u(null)}},[i]),w=r.useCallback(async()=>{if(m){u(m.id);try{await fe(`/api/approvals/${m.id}/reject`,{method:"POST",body:JSON.stringify({reason:g.trim()||void 0})}),p(null),x(""),i()}catch{}finally{u(null)}}},[m,g,i]),N=r.useCallback(async()=>{if(a!=null&&a.length){h(!0);try{for(const A of a)await fe(`/api/approvals/${A.id}/approve`,{method:"POST"});i()}catch{}finally{h(!1)}}},[a,i]),E=r.useCallback(async()=>{if(a!=null&&a.length){h(!0);try{for(const A of a)await fe(`/api/approvals/${A.id}/reject`,{method:"POST"});i()}catch{}finally{h(!1)}}},[a,i]);return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Approvals",subtitle:"Tasks waiting for your review",action:a!=null&&a.length?s.jsxs("div",{className:"flex gap-2",children:[s.jsxs("button",{onClick:E,disabled:d,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs text-critical border border-critical/30 rounded-lg hover:bg-critical/10 disabled:opacity-50 transition-colors",children:[s.jsx(q1,{size:14})," Reject all"]}),s.jsxs("button",{onClick:N,disabled:d,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs text-success bg-success/10 border border-success/30 rounded-lg hover:bg-success/20 disabled:opacity-50 transition-colors",children:[s.jsx(Yr,{size:14})," Approve all"]})]}):void 0}),l?s.jsx(Qe,{count:3}):a!=null&&a.length?s.jsx("div",{className:"space-y-3",children:a.map(A=>{const j=hq(A.deferred_action);return s.jsx("div",{className:"border border-white/[0.08] rounded-lg p-4",children:s.jsxs("div",{className:"flex items-start justify-between gap-4",children:[s.jsxs("div",{className:"min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("p",{className:"text-sm font-medium",children:A.title}),j&&s.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded text-xs bg-warning/15 text-warning",children:[j.provider==="gmail"?s.jsx(RO,{size:12}):s.jsx(ja,{size:12}),j.type,j.params.to?` → ${j.params.to}`:""]})]}),s.jsx("p",{className:"text-xs text-neutral-400 mt-0.5",children:new Date(A.created_at).toLocaleString()}),A.output&&s.jsx("pre",{className:"text-xs text-neutral-400 mt-2 whitespace-pre-wrap break-words max-h-32 overflow-y-auto",children:typeof A.output=="string"?A.output.slice(0,500):JSON.stringify(A.output).slice(0,500)})]}),s.jsxs("div",{className:"flex gap-2 shrink-0",children:[s.jsx("button",{onClick:()=>{p(A),x("")},disabled:c===A.id||d,className:"px-3 py-1.5 text-xs text-critical border border-critical/30 rounded hover:bg-critical/10 transition-colors disabled:opacity-50",children:"Reject"}),s.jsx("button",{onClick:()=>y(A.id),disabled:c===A.id||d,className:"px-4 py-1.5 text-xs font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors disabled:opacity-50",children:"Approve"})]})]})},A.id)})}):s.jsx(Mt,{icon:s.jsx($N,{size:32}),title:"All clear",description:"No tasks waiting for approval right now."}),m&&s.jsx("div",{className:"fixed inset-0 bg-black/60 flex items-center justify-center z-50 p-4",children:s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-5 w-full max-w-md",children:[s.jsx("h3",{className:"text-sm font-semibold mb-1",children:"Reject task"}),s.jsxs("p",{className:"text-xs text-neutral-400 mb-4",children:["“",m.title,"”"]}),s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Reason (optional)"}),s.jsx("textarea",{value:g,onChange:A=>x(A.target.value),placeholder:"Why is this being rejected?",rows:3,autoFocus:!0,className:"w-full bg-white/5 border border-white/10 rounded-lg px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-critical/50 resize-none mb-4"}),s.jsxs("div",{className:"flex gap-2 justify-end",children:[s.jsx("button",{onClick:()=>p(null),className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{onClick:w,disabled:c===m.id,className:"px-3 py-1.5 text-xs text-critical bg-critical/10 border border-critical/30 rounded hover:bg-critical/20 disabled:opacity-50 transition-colors",children:c===m.id?"Rejecting...":"Reject"})]})]})})]})}const mq={task_completed:"text-success",task_failed:"text-critical",task_started:"text-white",task_needs_approval:"text-warning",schedule_fired:"text-warning",agent_created:"text-white",memory_extracted:"text-warning"},pq=["all","task_completed","task_failed","task_started","task_needs_approval","schedule_fired","agent_created","memory_extracted"];function gq(e){if(e==="all")return null;const a=new Date;return e==="today"?(a.setHours(0,0,0,0),a):e==="7d"?(a.setDate(a.getDate()-7),a):(a.setDate(a.getDate()-30),a)}function xq(e){const a=Date.now()-new Date(e).getTime(),l=Math.floor(a/6e4);if(l<1)return"just now";if(l<60)return`${l}m ago`;const i=Math.floor(l/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}function vq(){const e=Ja(["task:started","task:completed","task:failed","memory:extracted"]),{data:a,loading:l}=je("/api/activity",[e]),[i,c]=r.useState("all"),[u,d]=r.useState("all"),[h,m]=r.useState(""),p=r.useMemo(()=>{if(!a)return[];let g=a;i!=="all"&&(g=g.filter(y=>y.activity_type===i));const x=gq(u);if(x&&(g=g.filter(y=>new Date(y.created_at)>=x)),h.trim()){const y=h.toLowerCase();g=g.filter(w=>w.title.toLowerCase().includes(y)||(w.description||"").toLowerCase().includes(y))}return g},[a,i,u,h]);return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Activity",subtitle:"Recent events"}),s.jsx("div",{className:"flex gap-1 mb-3 overflow-x-auto",children:pq.map(g=>s.jsx("button",{onClick:()=>c(g),className:`px-3 py-1 rounded text-xs whitespace-nowrap transition-colors ${i===g?"bg-white/10 text-white":"text-neutral-400 hover:text-white"}`,children:g==="all"?"All":g.replace(/_/g," ")},g))}),s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"flex gap-1",children:["all","today","7d","30d"].map(g=>s.jsx("button",{onClick:()=>d(g),className:`px-2.5 py-1 rounded text-xs transition-colors ${u===g?"bg-white/10 text-white":"text-neutral-400 hover:text-white"}`,children:g==="all"?"All time":g==="today"?"Today":g==="7d"?"7 days":"30 days"},g))}),s.jsxs("div",{className:"relative flex-1",children:[s.jsx(jn,{size:14,className:"absolute left-3 top-1/2 -translate-y-1/2 text-neutral-400"}),s.jsx("input",{value:h,onChange:g=>m(g.target.value),placeholder:"Search activity...",className:"w-full bg-white/5 border border-white/10 rounded-lg pl-8 pr-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]})]}),l?s.jsx(Qe,{count:8}):p.length?s.jsx("div",{className:"space-y-1",children:p.map((g,x)=>s.jsxs(De.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{delay:x*.02},className:"flex items-start gap-3 px-4 py-3 rounded-lg border border-white/[0.06] bg-white/[0.02] hover:bg-white/[0.04] transition-colors",children:[s.jsx("span",{className:`text-xs font-mono mt-0.5 shrink-0 ${mq[g.activity_type]||"text-neutral-400"}`,children:g.activity_type.replace(/_/g," ")}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsx("p",{className:"text-sm",children:g.title}),g.description&&s.jsx("p",{className:"text-xs text-neutral-500 mt-0.5",children:g.description})]}),s.jsx("span",{className:"text-xs text-neutral-500 shrink-0",children:xq(g.created_at)})]},g.id))}):s.jsx(Mt,{icon:s.jsx(BE,{size:32}),title:"Quiet so far",description:h||i!=="all"||u!=="all"?"No activity matching your filters.":"Activity will show up here as agents complete tasks."})]})}function s0({open:e,onClose:a,onConfirm:l,title:i="Confirm",message:c,confirmLabel:u="Confirm",confirmColor:d="critical",loading:h=!1}){const m=d==="critical"?"bg-critical/10 border-critical/30 text-critical hover:bg-critical/20":"bg-white text-black border-white hover:bg-neutral-200";return s.jsxs(la,{open:e,onClose:a,title:i,children:[s.jsx("p",{className:"text-sm text-neutral-400 mb-6",children:c}),s.jsxs("div",{className:"flex gap-2 justify-end",children:[s.jsx("button",{onClick:a,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{onClick:l,disabled:h,className:`px-3 py-1.5 border rounded text-xs font-medium transition-colors disabled:opacity-50 ${m}`,children:h?"Working...":u})]})]})}const u7=[{label:"Every 15 minutes",cron:"*/15 * * * *"},{label:"Every hour",cron:"0 * * * *"},{label:"Every 3 hours",cron:"0 */3 * * *"},{label:"Daily at 9am",cron:"0 9 * * *"},{label:"Daily at 6pm",cron:"0 18 * * *"},{label:"Weekdays at 9am",cron:"0 9 * * 1-5"},{label:"Weekly (Monday 9am)",cron:"0 9 * * 1"},{label:"Monthly (1st at 9am)",cron:"0 9 1 * *"}];function bM({value:e,onChange:a}){const[l,i]=r.useState(u7.some(c=>c.cron===e)?"preset":"custom");return s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex gap-1",children:[s.jsx("button",{type:"button",onClick:()=>i("preset"),className:`px-2 py-1 rounded text-xs transition-colors ${l==="preset"?"bg-white/5 text-white":"text-neutral-400 hover:text-white"}`,children:"Presets"}),s.jsx("button",{type:"button",onClick:()=>i("custom"),className:`px-2 py-1 rounded text-xs transition-colors ${l==="custom"?"bg-white/5 text-white":"text-neutral-400 hover:text-white"}`,children:"Custom"})]}),l==="preset"?s.jsx("div",{className:"grid grid-cols-2 gap-1.5",children:u7.map(c=>s.jsxs("button",{type:"button",onClick:()=>a(c.cron),className:`text-left px-3 py-2 rounded text-xs transition-colors border ${e===c.cron?"border-white/20 bg-white/10 text-white":"border-white/[0.08] hover:border-white/20 text-neutral-400 hover:text-white"}`,children:[s.jsx("span",{className:"block",children:c.label}),s.jsx("span",{className:"block font-mono text-[10px] text-neutral-400 mt-0.5",children:c.cron})]},c.cron))}):s.jsxs("div",{children:[s.jsx("input",{type:"text",value:e,onChange:c=>a(c.target.value),placeholder:"* * * * *",className:"w-full bg-white/[0.06] border border-white/[0.08] rounded px-3 py-2 text-sm text-white font-mono placeholder:text-neutral-400/50 focus:outline-none focus:border-white/20"}),s.jsx("p",{className:"text-[10px] text-neutral-400 mt-1",children:"Format: minute hour day month weekday"})]})]})}function bq(e){const a=Date.now()-new Date(e).getTime(),l=Math.floor(a/6e4);if(l<1)return"just now";if(l<60)return`${l}m ago`;const i=Math.floor(l/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}function yq(e){const a=new Date(e).getTime()-Date.now();if(a<0)return"overdue";const l=Math.floor(a/6e4);if(l<1)return"now";if(l<60)return`in ${l}m`;const i=Math.floor(l/60);return i<24?`in ${i}h`:`in ${Math.floor(i/24)}d`}const d7=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wq=6,Aq=22;function jq(e){const a=e.trim().split(/\s+/);if(a.length<5)return{hours:[],dows:[]};const l=a[1],i=a[4],c=(m,p,g)=>{if(m==="*"){const y=[];for(let w=p;w<=g;w++)y.push(w);return y}const x=[];for(const y of m.split(","))if(y.includes("/")){const[w,N]=y.split("/"),E=parseInt(N,10),A=w==="*"?p:parseInt(w,10);for(let j=A;j<=g;j+=E)x.push(j)}else if(y.includes("-")){const[w,N]=y.split("-").map(Number);for(let E=w;E<=N;E++)x.push(E)}else{const w=parseInt(y,10);isNaN(w)||x.push(w)}return x},u=c(l,0,23),h=c(i,0,6).map(m=>m===0?6:m-1);return{hours:u,dows:h}}function Eq(){const e=new Date,a=e.getDay(),l=a===0?-6:1-a,i=new Date(e);i.setDate(e.getDate()+l),i.setHours(0,0,0,0);const c=[];for(let u=0;u<7;u++){const d=new Date(i);d.setDate(i.getDate()+u),c.push(d)}return c}function Nq({schedules:e}){const a=r.useMemo(()=>Eq(),[]),l=r.useMemo(()=>e.filter(m=>m.enabled),[e]),i=r.useMemo(()=>l.map(m=>({label:m.label,...jq(m.cron_expression||m.cron)})),[l]),c=[];for(let m=wq;m<=Aq;m++)c.push(m);const u=(m,p)=>i.filter(g=>g.dows.includes(m)&&g.hours.includes(p)),d=new Date,h=d.getDay()===0?6:d.getDay()-1;return s.jsxs(De.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.2},className:"border border-white/[0.08] rounded-lg overflow-hidden",children:[s.jsxs("div",{className:"grid grid-cols-[64px_repeat(7,1fr)]",children:[s.jsx("div",{className:"bg-white/[0.02] border-b border-r border-white/[0.08] p-2"}),d7.map((m,p)=>s.jsxs("div",{className:`bg-white/[0.02] border-b border-white/[0.08] p-2 text-center text-xs font-medium ${p===h?"text-white":"text-neutral-500"} ${p<6?"border-r border-white/[0.08]":""}`,children:[s.jsx("div",{children:m}),s.jsx("div",{className:`text-[10px] mt-0.5 ${p===h?"text-neutral-300":"text-neutral-600"}`,children:a[p].getDate()})]},m))]}),s.jsx("div",{className:"max-h-[480px] overflow-y-auto",children:c.map(m=>s.jsxs("div",{className:"grid grid-cols-[64px_repeat(7,1fr)]",children:[s.jsx("div",{className:"border-b border-r border-white/[0.08] p-2 text-[10px] text-neutral-500 text-right pr-3 flex items-start justify-end",children:m===0?"12am":m<12?`${m}am`:m===12?"12pm":`${m-12}pm`}),d7.map((p,g)=>{const x=u(g,m);return s.jsx("div",{className:`border-b border-white/[0.08] min-h-[36px] p-1 ${g<6?"border-r border-white/[0.08]":""} ${x.length>0?"bg-success/15":""}`,children:x.map((y,w)=>s.jsx("div",{className:"text-[10px] text-success leading-tight truncate px-1 py-0.5 rounded",children:y.label},w))},p)})]},m))})]})}function Mq(){const{data:e,loading:a,refetch:l}=je("/api/schedules"),[i,c]=r.useState(null),[u,d]=r.useState(!1),[h,m]=r.useState(null),[p,g]=r.useState(null),[x,y]=r.useState(!1),[w,N]=r.useState("list"),E=async j=>{c(j);try{await fe(`/api/schedules/${j}/toggle`,{method:"POST"}),l()}catch{ce("error","Couldn't toggle schedule. Try again?")}finally{c(null)}},A=async()=>{if(p){y(!0);try{await fe(`/api/schedules/${p.id}`,{method:"DELETE"}),ce("success","Schedule deleted"),l()}catch{ce("error","Couldn't delete schedule. Try again?")}finally{y(!1),g(null)}}};return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Schedules",subtitle:"Automated task schedules",action:s.jsxs("button",{onClick:()=>d(!0),className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," New schedule"]})}),a?s.jsx(Qe,{count:3}):e!=null&&e.length?s.jsxs(s.Fragment,{children:[s.jsx(Ml,{tabs:[{id:"list",label:"List",count:e.length},{id:"calendar",label:"Calendar"}],activeTab:w,onTabChange:N,layoutId:"schedules-tab"}),s.jsx("div",{className:"mt-4",children:w==="list"?s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:e.map(j=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-4",children:[s.jsxs("div",{className:"min-w-0 mr-4 flex-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:`w-2 h-2 rounded-full shrink-0 ${j.enabled?"bg-success":"bg-white/10"}`}),s.jsx("p",{className:"text-sm font-medium truncate",children:j.label})]}),s.jsxs("div",{className:"flex gap-3 mt-1 ml-4",children:[s.jsx("span",{className:"text-xs text-neutral-400 font-mono",children:j.cron_expression||j.cron}),j.next_run_at&&s.jsxs("span",{className:"text-xs text-neutral-400",children:["Next: ",yq(j.next_run_at)]}),j.last_run_at&&s.jsxs("span",{className:"text-xs text-neutral-400",children:["Last: ",bq(j.last_run_at)]})]}),j.task_prompt&&s.jsx("p",{className:"text-xs text-neutral-400 mt-1 ml-4 truncate max-w-md",children:j.task_prompt})]}),s.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[s.jsx("button",{onClick:()=>m(j),className:"text-neutral-400 hover:text-white transition-colors",title:"Edit",children:s.jsx(Jh,{size:14})}),s.jsx("button",{onClick:()=>g(j),className:"text-neutral-400 hover:text-critical transition-colors",title:"Delete",children:s.jsx(qt,{size:14})}),s.jsx(ml,{checked:!!j.enabled,onChange:()=>E(j.id),disabled:i===j.id})]})]},j.id))}):s.jsx(Nq,{schedules:e})})]}):s.jsx(Mt,{icon:s.jsx(MO,{size:32}),title:"Nothing scheduled yet",description:"Set up recurring tasks to keep your agents busy.",action:s.jsxs("button",{onClick:()=>d(!0),className:"mt-3 flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," Create your first schedule"]})}),u&&s.jsx(h7,{onClose:()=>d(!1),onSuccess:()=>{l(),d(!1)}}),h&&s.jsx(h7,{schedule:h,onClose:()=>m(null),onSuccess:()=>{l(),m(null)}}),s.jsx(s0,{open:!!p,onClose:()=>g(null),onConfirm:A,title:"Delete schedule",message:`Delete "${p==null?void 0:p.label}"? This can't be undone.`,confirmLabel:"Delete",loading:x})]})}function h7({schedule:e,onClose:a,onSuccess:l}){const i=!!e,{data:c}=je("/api/agents"),[u,d]=r.useState((e==null?void 0:e.label)||""),[h,m]=r.useState((e==null?void 0:e.cron_expression)||(e==null?void 0:e.cron)||"0 9 * * *"),[p,g]=r.useState((e==null?void 0:e.agent_id)||""),[x,y]=r.useState((e==null?void 0:e.task_prompt)||""),[w,N]=r.useState(!1),E=async A=>{if(A.preventDefault(),!(!u.trim()||!h.trim())){N(!0);try{i?(await fe(`/api/schedules/${e.id}`,{method:"PUT",body:JSON.stringify({label:u.trim(),cron:h.trim(),agent_id:p||null,task_prompt:x})}),ce("success","Schedule updated")):(await fe("/api/schedules",{method:"POST",body:JSON.stringify({label:u.trim(),cron:h.trim(),agent_id:p||null,task_prompt:x})}),ce("success","Schedule created")),l()}catch{ce("error",`Couldn't ${i?"update":"create"} schedule. Try again?`)}finally{N(!1)}}};return s.jsx(la,{open:!0,onClose:a,title:i?"Edit schedule":"New schedule",maxWidth:"max-w-lg",children:s.jsxs("form",{onSubmit:E,className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Title"}),s.jsx("input",{value:u,onChange:A=>d(A.target.value),placeholder:"Daily briefing",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20",autoFocus:!0})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Agent"}),s.jsxs("select",{value:p,onChange:A=>g(A.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"",children:"Orchestrator (default)"}),c==null?void 0:c.map(A=>s.jsx("option",{value:A.id,children:A.name},A.id))]})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Schedule"}),s.jsx(bM,{value:h,onChange:m})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Task prompt"}),s.jsx("textarea",{value:x,onChange:A=>y(A.target.value),placeholder:"What should the agent do?",rows:3,className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20 resize-none"})]}),s.jsxs("div",{className:"flex gap-2 justify-end pt-2",children:[s.jsx("button",{type:"button",onClick:a,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:w||!u.trim()||!h.trim(),className:"px-3 py-1.5 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:w?"Saving...":i?"Save changes":"Create schedule"})]})]})})}const yM={SAMPLE_RATE:16e3,BIT_DEPTH:16,CHANNELS:1};function Sq(e){const{SAMPLE_RATE:a,BIT_DEPTH:l,CHANNELS:i}=yM,c=a*i*(l/8),u=i*(l/8),d=e.byteLength,h=new ArrayBuffer(44+d),m=new DataView(h);return s1(m,0,"RIFF"),m.setUint32(4,36+d,!0),s1(m,8,"WAVE"),s1(m,12,"fmt "),m.setUint32(16,16,!0),m.setUint16(20,1,!0),m.setUint16(22,i,!0),m.setUint32(24,a,!0),m.setUint32(28,c,!0),m.setUint16(32,u,!0),m.setUint16(34,l,!0),s1(m,36,"data"),m.setUint32(40,d,!0),new Int16Array(h,44).set(e),h}function Zq(e){const a=new Int16Array(e.length);for(let l=0;l<e.length;l++){const i=Math.max(-1,Math.min(1,e[l]));a[l]=i<0?i*32768:i*32767}return a}function Cq(e,a,l){if(a===l)return e;const i=a/l,c=Math.round(e.length/i),u=new Float32Array(c);for(let d=0;d<c;d++){const h=Math.round(d*i);u[d]=e[Math.min(h,e.length-1)]}return u}async function Hq(e,a){const l=a||new AudioContext,i=await l.decodeAudioData(e.slice(0)),c=l.createBufferSource();return c.buffer=i,c.connect(l.destination),new Promise(u=>{c.onended=()=>u(),c.start(0)})}function _q(e){const a=new AudioContext;let l=[],i=!1;async function c(){if(l.length===0){i=!1;return}i=!0;const u=l.shift();await Hq(u,a),await c()}return{enqueue(u){l.push(u),i||c()},clear(){l=[],i=!1},close(){l=[],i=!1,a.close()},get isPlaying(){return i}}}function s1(e,a,l){for(let i=0;i<l.length;i++)e.setUint8(a+i,l.charCodeAt(i))}class Vq{constructor(a,l={}){ba(this,"threshold");ba(this,"minSpeechMs");ba(this,"silenceMs");ba(this,"onSpeechStart");ba(this,"onSpeechEnd");ba(this,"isSpeaking",!1);ba(this,"speechStartTime",0);ba(this,"lastSpeechTime",0);ba(this,"audioChunks",[]);ba(this,"sampleRate");ba(this,"checkInterval",null);this.sampleRate=a,this.threshold=l.threshold??.01,this.minSpeechMs=l.minSpeechMs??300,this.silenceMs=l.silenceMs??800,this.onSpeechStart=l.onSpeechStart,this.onSpeechEnd=l.onSpeechEnd}processFrame(a){var c;const l=Tq(a),i=Date.now();l>this.threshold&&(this.isSpeaking||(this.isSpeaking=!0,this.speechStartTime=i,this.audioChunks=[],(c=this.onSpeechStart)==null||c.call(this)),this.lastSpeechTime=i),this.isSpeaking&&(this.audioChunks.push(new Float32Array(a)),l<=this.threshold&&i-this.lastSpeechTime>this.silenceMs&&this.endSpeech())}start(){this.checkInterval=setInterval(()=>{this.isSpeaking&&Date.now()-this.lastSpeechTime>this.silenceMs&&this.endSpeech()},100)}stop(){this.checkInterval&&(clearInterval(this.checkInterval),this.checkInterval=null),this.isSpeaking&&this.endSpeech()}endSpeech(){var m;const a=Date.now()-this.speechStartTime;if(this.isSpeaking=!1,a<this.minSpeechMs||this.audioChunks.length===0){this.audioChunks=[];return}const l=this.audioChunks.reduce((p,g)=>p+g.length,0),i=new Float32Array(l);let c=0;for(const p of this.audioChunks)i.set(p,c),c+=p.length;this.audioChunks=[];const u=Cq(i,this.sampleRate,yM.SAMPLE_RATE),d=Zq(u),h=Sq(d);(m=this.onSpeechEnd)==null||m.call(this,h)}}function Tq(e){let a=0;for(let l=0;l<e.length;l++)a+=e[l]*e[l];return Math.sqrt(a/e.length)}function Lq(){return typeof window>"u"?null:window.SpeechRecognition||window.webkitSpeechRecognition||null}function f7(e="en-US"){const a=Lq();if(!a)return{isSupported:!1,start(){},stop(){},onResult(){},onError(){}};const l=new a;l.continuous=!0,l.interimResults=!0,l.lang=e;let i=null,c=null;return l.onresult=u=>{if(!i)return;const d=u.results[u.results.length-1];d&&i(d[0].transcript,d.isFinal)},l.onerror=u=>{u.error!=="no-speech"&&u.error!=="aborted"&&(c==null||c(u.error))},l.onend=()=>{try{l.start()}catch{}},{isSupported:!0,start(){try{l.start()}catch{}},stop(){l.onend=null;try{l.stop()}catch{}},onResult(u){i=u},onError(u){c=u}}}function Rq(){if(typeof window>"u"||!window.speechSynthesis)return{isSupported:!1,speak(){},stop(){},isSpeaking:()=>!1,onStart(){},onEnd(){}};const e=window.speechSynthesis;let a=null,l=null;return{isSupported:!0,speak(i){const c=new SpeechSynthesisUtterance(i);c.onstart=()=>a==null?void 0:a(),c.onend=()=>l==null?void 0:l(),c.onerror=()=>l==null?void 0:l(),e.speak(c)},stop(){e.cancel()},isSpeaking:()=>e.speaking,onStart(i){a=i},onEnd(i){l=i}}}function kq(){const e=An(),a=window.location.protocol==="https:"?"wss:":"ws:",l=window.location.host;return`${a}//${l}/ws/voice?token=${e}`}function Dq(){return""}async function Oq(){try{const e=An(),a=await fetch(`${Dq()}/api/voice/providers`,{headers:{Authorization:`Bearer ${e}`},signal:AbortSignal.timeout(3e3)});if(a.ok){const{data:l}=await a.json();if((l==null?void 0:l.recommendedMode)==="full")return"full"}}catch{}return"browser-native"}function Fq(e){const[a,l]=r.useState("idle"),[i,c]=r.useState(""),[u,d]=r.useState(""),[h,m]=r.useState(null),[p,g]=r.useState(!1),[x,y]=r.useState(null),w=r.useRef(null),N=r.useRef(null),E=r.useRef(null),A=r.useRef(null),j=r.useRef(null),S=r.useRef(null),Z=r.useRef(null),C=r.useRef(null),H=r.useCallback(()=>{var I,X,K,B,Y,L,$;(I=E.current)==null||I.stop(),E.current=null,(X=A.current)==null||X.disconnect(),A.current=null,(K=N.current)==null||K.getTracks().forEach(W=>W.stop()),N.current=null,(B=j.current)==null||B.close(),j.current=null,(Y=S.current)==null||Y.close(),S.current=null,(L=Z.current)==null||L.stop(),Z.current=null,($=C.current)==null||$.stop(),C.current=null,w.current&&w.current.readyState!==WebSocket.CLOSED&&(w.current.send(JSON.stringify({type:"stop"})),w.current.close()),w.current=null,l("idle"),y(null),m(null)},[]);r.useEffect(()=>H,[H]);const _=r.useCallback(async()=>{m(null),c(""),d("");const I=await Oq();if(I==="browser-native"&&!f7().isSupported){m("Voice requires Chrome, Edge, or Safari. Firefox is not supported yet.");return}y(I);const X=new WebSocket(kq());w.current=X,X.binaryType="arraybuffer",I==="browser-native"?await T(X,e):await k(X,e)},[e,H]),T=r.useCallback(async(I,X)=>{const K=f7(),B=Rq();Z.current=K,C.current=B,B.onStart(()=>l("speaking")),B.onEnd(()=>l("listening")),I.onopen=()=>{I.send(JSON.stringify({type:"start",agentId:X,mode:"browser-native"})),K.onResult((Y,L)=>{c(Y),L&&Y.trim()&&I.readyState===WebSocket.OPEN&&(I.send(JSON.stringify({type:"transcript",text:Y})),l("processing"))}),K.onError(Y=>{m(`Speech recognition error: ${Y}`)}),K.start(),l("listening")},I.onmessage=Y=>{if(!(Y.data instanceof ArrayBuffer))try{const L=JSON.parse(Y.data);switch(L.type){case"response":d(L.text),B.speak(L.text);break;case"transcription":c(L.text);break;case"error":m(L.message);break;case"state":L.state==="processing"&&l("processing");break}}catch{}},I.onerror=()=>{m("Couldn't connect to voice server. Is the runtime running?"),H()},I.onclose=()=>{H()}},[H]),k=r.useCallback(async(I,X)=>{let K;try{K=await navigator.mediaDevices.getUserMedia({audio:{sampleRate:{ideal:16e3},channelCount:1,echoCancellation:!0,noiseSuppression:!0}})}catch{m("Couldn't access microphone. Check your browser permissions.");return}N.current=K;const B=new AudioContext;j.current=B;const Y=B.createMediaStreamSource(K),L=_q();S.current=L,I.onopen=()=>{I.send(JSON.stringify({type:"start",agentId:X}))},I.onmessage=he=>{if(he.data instanceof ArrayBuffer){L.enqueue(he.data);return}try{const D=JSON.parse(he.data);switch(D.type){case"state":l(D.state);break;case"transcription":c(D.text);break;case"response":d(D.text);break;case"error":m(D.message);break}}catch{}},I.onerror=()=>{m("Couldn't connect to voice server. Is the runtime running?"),H()},I.onclose=()=>{H()};const W=B.createScriptProcessor(4096,1,1);A.current=W;const de=new Vq(B.sampleRate,{threshold:.01,minSpeechMs:300,silenceMs:800,onSpeechStart:()=>{l("listening")},onSpeechEnd:he=>{I.readyState===WebSocket.OPEN&&I.send(he)}});E.current=de,de.start(),W.onaudioprocess=he=>{if(p)return;const D=he.inputBuffer.getChannelData(0);de.processFrame(D)},Y.connect(W),W.connect(B.destination)},[p,H]),R=r.useCallback(()=>{H()},[H]),O=r.useCallback(()=>{g(I=>{var K,B,Y;const X=!I;return(K=N.current)==null||K.getAudioTracks().forEach(L=>{L.enabled=!X}),X?(B=Z.current)==null||B.stop():(Y=Z.current)==null||Y.start(),X})},[]);return{state:a,transcript:i,response:u,error:h,startCall:_,endCall:R,toggleMute:O,isMuted:p,mode:x}}const x1=24,I2=3,P2=2,Zr=2,_0=32;function qq({state:e,className:a=""}){const l=r.useRef(null),i=r.useRef(0);return r.useEffect(()=>{const c=l.current;if(!c)return;const u=c.getContext("2d");if(!u)return;const d=x1*(I2+P2)-P2;c.width=d*2,c.height=_0*2,c.style.width=`${d}px`,c.style.height=`${_0}px`,u.scale(2,2);const h=new Float32Array(x1).fill(0);function m(){if(u){u.clearRect(0,0,d,_0);for(let p=0;p<x1;p++){const g=zq(e,p,Date.now());h[p]+=(g-h[p])*.15;const x=Math.max(Zr,h[p]),y=p*(I2+P2),w=(_0-x)/2;u.fillStyle=Bq(e),u.beginPath(),u.roundRect(y,w,I2,x,1.5),u.fill()}i.current=requestAnimationFrame(m)}}return m(),()=>cancelAnimationFrame(i.current)},[e]),s.jsx("canvas",{ref:l,className:a})}function zq(e,a,l){switch(e){case"listening":{const i=Math.sin(l/200+a*.5)*.5+.5;return Zr+i*(_0*.6-Zr)}case"processing":{const i=x1/2,c=Math.abs(a-i)/i,u=Math.sin(l/300)*.5+.5;return Zr+(1-c)*u*_0*.4}case"speaking":{const i=Math.sin(l/150+a*.4)*.5+.5,c=Math.sin(l/250+a*.7)*.3+.3;return Zr+(i+c)*(_0*.45)}default:return Zr}}function Bq(e){switch(e){case"listening":return"rgba(59, 130, 246, 0.8)";case"processing":return"rgba(168, 85, 247, 0.6)";case"speaking":return"rgba(34, 197, 94, 0.8)";default:return"rgba(255, 255, 255, 0.2)"}}function $q({isMuted:e,onToggleMute:a,onEndCall:l}){return s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("button",{onClick:a,className:`p-3 rounded-full transition-all duration-150 active:scale-95 ${e?"bg-red-500/20 text-red-400 hover:bg-red-500/30":"bg-white/[0.08] text-neutral-300 hover:bg-white/[0.12] hover:text-white"}`,title:e?"Unmute":"Mute",children:e?s.jsx(AN,{size:20,weight:"fill"}):s.jsx(H0,{size:20,weight:"fill"})}),s.jsx("button",{onClick:l,className:"p-3 rounded-full bg-red-500/20 text-red-400 hover:bg-red-500/30 hover:text-red-300 active:scale-95 transition-all duration-150",title:"End call",children:s.jsx(XO,{size:20,weight:"fill"})})]})}const Uq={idle:"Ready",listening:"Listening...",processing:"Thinking...",speaking:"Speaking..."};function Iq({state:e,transcript:a,response:l,error:i,isMuted:c,onToggleMute:u,onEndCall:d}){return r.useEffect(()=>{const h=m=>{m.key==="Escape"&&d()};return window.addEventListener("keydown",h),()=>window.removeEventListener("keydown",h)},[d]),s.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black/90 backdrop-blur-sm",children:[s.jsx("div",{className:"absolute inset-0",onClick:d}),s.jsxs("div",{className:"relative z-10 flex flex-col items-center gap-8 max-w-md w-full px-6",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:`w-2 h-2 rounded-full ${e==="listening"?"bg-white animate-pulse":e==="processing"?"bg-purple-500 animate-pulse":e==="speaking"?"bg-green-500 animate-pulse":"bg-gray-600"}`}),s.jsx("span",{className:"text-sm text-neutral-400 font-mono",children:Uq[e]})]}),s.jsx(qq,{state:e}),a&&s.jsxs("div",{className:"w-full text-center",children:[s.jsx("p",{className:"text-xs text-neutral-500 mb-1 font-mono",children:"You said:"}),s.jsx("p",{className:"text-sm text-neutral-300",children:a})]}),l&&s.jsxs("div",{className:"w-full text-center",children:[s.jsx("p",{className:"text-xs text-neutral-500 mb-1 font-mono",children:"Response:"}),s.jsx("p",{className:"text-sm text-white",children:l})]}),i&&s.jsx("div",{className:"w-full text-center",children:s.jsx("p",{className:"text-sm text-red-400",children:i})}),s.jsx($q,{isMuted:c,onToggleMute:u,onEndCall:d}),s.jsx("p",{className:"text-xs text-neutral-600",children:"Press Esc to end call"})]})]})}function Pq({toolCall:e}){const[a,l]=r.useState(!1);return s.jsxs("div",{className:"bg-white/[0.04] border border-white/[0.08] rounded-lg overflow-hidden",children:[s.jsxs("button",{onClick:()=>l(!a),className:"flex items-center gap-2 px-3 py-1.5 text-xs text-neutral-300 hover:text-white transition-colors w-full text-left",children:[s.jsx(uF,{size:14,className:"text-neutral-400 shrink-0"}),s.jsx("span",{className:"font-medium truncate",children:e.name}),a?s.jsx(Qa,{size:12,className:"ml-auto shrink-0"}):s.jsx(El,{size:12,className:"ml-auto shrink-0"})]}),a&&s.jsxs("div",{className:"border-t border-white/[0.06] px-3 py-2 space-y-2 text-xs",children:[e.input&&Object.keys(e.input).length>0&&s.jsxs("div",{children:[s.jsx("span",{className:"text-neutral-500 block mb-1",children:"Input"}),s.jsx("pre",{className:"text-neutral-300 whitespace-pre-wrap break-words font-mono text-[11px] bg-white/[0.03] rounded px-2 py-1.5",children:JSON.stringify(e.input,null,2)})]}),e.output&&s.jsxs("div",{children:[s.jsx("span",{className:"text-neutral-500 block mb-1",children:"Output"}),s.jsx("pre",{className:"text-neutral-300 whitespace-pre-wrap break-words font-mono text-[11px] bg-white/[0.03] rounded px-2 py-1.5",children:e.output})]})]})]})}function Gq(){var Y;const[e,a]=r.useState([]),[l,i]=r.useState(""),[c,u]=r.useState(!1),[d,h]=r.useState(()=>crypto.randomUUID()),[m,p]=r.useState(!1),[g,x]=r.useState(!1),y=r.useRef(null),{modelReady:w,loading:N}=Jf(),[E,A]=r.useState([]),[j,S]=r.useState(""),[Z,C]=r.useState(!1),H=Fq("orchestrator");r.useEffect(()=>{fe("/api/system/models").then(L=>{A(L.data.models),L.data.currentModel&&S(L.data.currentModel)}).catch(()=>{})},[]),r.useEffect(()=>{let L=!1,$=!1;const W=()=>{fetch("/api/voice/providers").then(he=>he.json()).then(he=>{var te;if(L)return;x(!0);const D=!!((te=he==null?void 0:he.data)!=null&&te.anyAvailable);p(D),D&&($=!0)}).catch(()=>{})};W();const de=setInterval(()=>{!L&&!$&&W()},15e3);return()=>{L=!0,clearInterval(de)}},[]);const _=r.useRef(""),T=r.useRef("");r.useEffect(()=>{H.transcript&&H.transcript!==_.current&&(_.current=H.transcript,a(L=>[...L,{role:"user",content:H.transcript}]))},[H.transcript]),r.useEffect(()=>{H.response&&H.response!==T.current&&(T.current=H.response,a(L=>[...L,{role:"assistant",content:H.response}]))},[H.response]),r.useEffect(()=>{var L;(L=y.current)==null||L.scrollTo({top:y.current.scrollHeight,behavior:"smooth"})},[e]);const k=async()=>{const L=l.trim();if(!L||c)return;i(""),a(de=>[...de,{role:"user",content:L}]),u(!0);let $="",W=[];a(de=>[...de,{role:"assistant",content:""}]);try{for await(const de of jA(L,d,j||void 0))if(de.type==="text")$+=de.content,a(he=>{const D=[...he];return D[D.length-1]={role:"assistant",content:$,toolCalls:W.length>0?[...W]:void 0},D});else if(de.type==="tool_use"||de.type==="tool_call"){const he={name:de.name,input:de.input};W=[...W,he],a(D=>{const te=[...D];return te[te.length-1]={role:"assistant",content:$,toolCalls:[...W]},te})}else de.type==="tool_result"&&W.length>0&&(W=[...W],W[W.length-1]={...W[W.length-1],output:de.content},a(he=>{const D=[...he];return D[D.length-1]={role:"assistant",content:$,toolCalls:[...W]},D}))}catch{$+=`
74
+
75
+ [Connection lost. Try sending your message again.]`,a(de=>{const he=[...de];return he[he.length-1]={role:"assistant",content:$,toolCalls:W.length>0?[...W]:void 0},he})}finally{u(!1)}},R=L=>{L.key==="Enter"&&!L.shiftKey&&(L.preventDefault(),k())},O=()=>{h(crypto.randomUUID()),a([]),_.current="",T.current=""},I=L=>{S(L),C(!1)},X=((Y=E.find(L=>L.id===j))==null?void 0:Y.name)||j||"Auto",K=m&&!l.trim()&&!c,B=g&&!m&&!l.trim()&&!c;return!N&&!w&&e.length===0?s.jsxs("div",{className:"flex flex-col h-full",children:[s.jsx("div",{className:"px-6 pt-6 pb-0",children:s.jsx(ze,{title:"Chat",subtitle:"Talk to your orchestrator"})}),s.jsx("div",{className:"flex-1 flex items-center justify-center",children:s.jsxs("div",{className:"text-center space-y-3 max-w-sm",children:[s.jsx("p",{className:"text-lg text-white font-medium",children:"Your orchestrator needs a brain"}),s.jsx("p",{className:"text-sm text-neutral-400",children:"Download an AI model to start chatting."}),s.jsx(T0,{to:"/settings",className:"inline-block bg-white text-black rounded-md px-4 py-2 text-sm font-medium hover:bg-neutral-200 transition-colors",children:"Go to Settings"})]})})]}):s.jsxs("div",{className:"flex flex-col h-full min-h-0",children:[s.jsx("div",{className:"px-6 pt-6 pb-0 shrink-0",children:s.jsx(ze,{title:"Chat",subtitle:"Talk to your orchestrator",action:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("div",{className:"relative",children:[s.jsxs("button",{onClick:()=>C(!Z),className:"flex items-center gap-1.5 px-3 py-1.5 text-xs text-neutral-400 border border-white/10 rounded-lg hover:text-white hover:border-white/20 transition-colors",children:[s.jsx("span",{className:"max-w-[120px] truncate",children:X}),s.jsx(Qa,{size:12})]}),Z&&E.length>0&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"fixed inset-0 z-40",onClick:()=>C(!1)}),s.jsx("div",{className:"absolute right-0 top-full mt-1 z-50 bg-neutral-950 border border-white/10 rounded-lg py-1 min-w-[200px] shadow-lg",children:E.map(L=>s.jsxs("button",{onClick:()=>I(L.id),className:`w-full text-left px-3 py-2 text-xs hover:bg-white/[0.06] transition-colors ${j===L.id,"text-white"}`,children:[s.jsx("span",{className:"block",children:L.name}),s.jsx("span",{className:"block text-neutral-400 text-[10px]",children:L.provider})]},L.id))})]})]}),s.jsxs("button",{onClick:O,disabled:c,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium bg-white/5 border border-white/10 text-white rounded-lg hover:bg-white/10 transition-colors disabled:opacity-50",title:"New session",children:[s.jsx(pt,{size:14})," New chat"]})]})})}),s.jsxs("div",{ref:y,className:"flex-1 overflow-y-auto min-h-0 px-6 py-4 space-y-4",children:[e.length===0&&s.jsx("div",{className:"flex items-center justify-center h-full text-neutral-400 text-sm",children:"Ask your orchestrator anything about your agents, tasks, or business."}),e.map((L,$)=>s.jsx("div",{className:`max-w-2xl ${L.role==="user"?"ml-auto":""}`,children:s.jsxs("div",{className:`px-4 py-3 text-sm ${L.role==="user"?"bg-white/10 rounded-xl text-white":"text-neutral-200"}`,children:[s.jsx("pre",{className:"whitespace-pre-wrap break-words font-sans",children:L.content||(c&&$===e.length-1?"...":"")}),L.toolCalls&&L.toolCalls.length>0&&s.jsx("div",{className:"flex flex-wrap gap-2 mt-3",children:L.toolCalls.map((W,de)=>s.jsx(Pq,{toolCall:W},de))})]})},$))]}),s.jsx("div",{className:"border-t border-white/[0.08] px-6 py-4 shrink-0",children:s.jsxs("div",{className:"flex gap-2 max-w-2xl",children:[s.jsx("textarea",{value:l,onChange:L=>i(L.target.value),onKeyDown:R,placeholder:"Type a message...",rows:1,className:"flex-1 bg-white/5 border border-white/10 rounded-xl px-4 py-3 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20 resize-none"}),K?s.jsx("button",{onClick:()=>H.startCall(),className:"bg-white/5 border border-white/10 text-white rounded-xl px-4 hover:bg-white/10 transition-colors",title:"Start voice chat",children:s.jsx(H0,{size:18})}):B?s.jsxs("div",{className:"flex gap-2",children:[s.jsx("button",{disabled:!0,className:"border border-white/10 text-neutral-500 rounded-xl px-4 cursor-not-allowed",title:"Voice is available when Voicebox is running. Enable it in Settings.",children:s.jsx(AN,{size:18})}),s.jsx("button",{onClick:k,disabled:c||!l.trim(),className:"bg-white text-black rounded-xl px-4 hover:bg-neutral-200 transition-colors disabled:opacity-50",children:s.jsx(Qh,{size:18})})]}):s.jsx("button",{onClick:k,disabled:c||!l.trim(),className:"bg-white text-black rounded-xl px-4 hover:bg-neutral-200 transition-colors disabled:opacity-50",children:s.jsx(Qh,{size:18})})]})}),H.state!=="idle"&&s.jsx(Iq,{state:H.state,transcript:H.transcript,response:H.response,error:H.error,isMuted:H.isMuted,onToggleMute:H.toggleMute,onEndCall:H.endCall})]})}let Yq=0;function G2(){return`lmsg-${++Yq}-${Date.now()}`}function Kq(e){return typeof e=="string"?e:Array.isArray(e)?e.map(a=>a.type==="text"&&typeof a.text=="string"?a.text:a.type==="tool_use"?`[Tool: ${a.name||"unknown"}]`:a.type==="tool_result"&&typeof a.content=="string"?a.content:"").filter(Boolean).join(`
76
+ `):String(e||"")}function Xq(e){const a=Date.now()-new Date(e).getTime(),l=Math.floor(a/6e4);if(l<1)return"Just now";if(l<60)return`${l}m ago`;const i=Math.floor(l/60);if(i<24)return`${i}h ago`;const c=Math.floor(i/24);return c<7?`${c}d ago`:new Date(e).toLocaleDateString()}function Qq(){var k;const[e,a]=r.useState([]),[l,i]=r.useState([]),[c,u]=r.useState(null),[d,h]=r.useState([]),[m,p]=r.useState(!1),[g,x]=r.useState(!0),[y,w]=r.useState(!1),N=r.useRef([]),E=r.useRef({type:"orchestrator",id:null}),A=r.useRef(null);r.useEffect(()=>{fe("/api/orchestrator/sessions").then(R=>a(R.sessions||[])).catch(()=>{}).finally(()=>x(!1)),fe("/api/agents").then(R=>i(R.data||[])).catch(()=>{})},[]);const j=e.find(R=>R.id===c),S=(j==null?void 0:j.target_type)||"orchestrator",Z=S==="agent"?((k=l.find(R=>R.id===(j==null?void 0:j.target_id)))==null?void 0:k.name)||"Agent":"Orchestrator",C=r.useCallback(async R=>{var O;try{(O=A.current)==null||O.abort();const I=await fe(`/api/orchestrator/sessions/${R}`),K=(Array.isArray(I.messages)?I.messages:[]).map(B=>({role:B.role==="user"?"user":"assistant",content:Kq(B.content)}));N.current=K,E.current={type:I.target_type||"orchestrator",id:I.target_id||null},u(R),p(!1),h(K.map(B=>({id:G2(),role:B.role,content:B.content}))),w(!1)}catch{}},[]),H=r.useCallback(async(R,O,I)=>{try{const X=R==="agent"&&I?`Chat with ${I}`:"New conversation",K=await fe("/api/orchestrator/sessions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:X,messages:[],target_type:R,target_id:O})}),B={id:K.id,title:K.title||X,message_count:0,target_type:R,target_id:O,updated_at:new Date().toISOString()};a(Y=>[B,...Y]),u(K.id),E.current={type:R,id:O},N.current=[],h([]),p(!1),w(!1)}catch{}},[]),_=r.useCallback(async R=>{try{await fe(`/api/orchestrator/sessions/${R}`,{method:"DELETE"}),a(O=>O.filter(I=>I.id!==R)),c===R&&(u(null),h([]),N.current=[])}catch{}},[c]);r.useCallback(async()=>{var I;const R=c,O=N.current;if(!(!R||O.length===0))try{const X=((I=O.find(K=>K.role==="user"))==null?void 0:I.content)||"Untitled";await fe(`/api/orchestrator/sessions/${R}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:O,title:X.slice(0,60)})}),a(K=>K.map(B=>B.id===R?{...B,message_count:O.length,title:X.slice(0,60),updated_at:new Date().toISOString()}:B))}catch{}},[c]);const T=r.useCallback(async R=>{var K;if(m||!c)return;N.current.push({role:"user",content:R});const O=G2(),I=G2();h(B=>[...B,{id:O,role:"user",content:R},{id:I,role:"assistant",content:"",isStreaming:!0}]),p(!0);let X="";try{for await(const B of jA(R,c))B.type==="text"&&(X+=B.content,h(Y=>Y.map(L=>L.id===I?{...L,content:X}:L)))}catch{X+=`
77
+
78
+ [Connection lost. Try again.]`}finally{h(L=>L.map($=>$.id===I?{...$,content:X||"No response.",isStreaming:!1}:$)),N.current.push({role:"assistant",content:X}),p(!1);const B=c,Y=N.current;if(B&&Y.length>0){const L=((K=Y.find($=>$.role==="user"))==null?void 0:K.content)||"Untitled";a($=>$.map(W=>W.id===B?{...W,message_count:Y.length,title:L.slice(0,60),updated_at:new Date().toISOString()}:W))}}},[m,c]);return s.jsxs("div",{className:"flex flex-col h-full",children:[s.jsx("div",{className:"px-6 pt-6 pb-0",children:s.jsx(ze,{title:"Messages",subtitle:"Conversations with your agents and orchestrator"})}),s.jsxs("div",{className:"flex flex-1 min-h-0 mx-6 mb-6 border border-white/[0.08] rounded-xl overflow-hidden",children:[s.jsx("div",{className:"hidden md:flex w-72 flex-shrink-0",children:s.jsx(m7,{sessions:e,activeSessionId:c,isLoading:g,agents:l,onSelect:C,onNewConversation:H,onDelete:_})}),s.jsxs("div",{className:"md:hidden",children:[s.jsx("button",{onClick:()=>w(!0),className:"absolute top-[120px] left-8 z-30 p-2 bg-black border border-white/10 rounded-lg text-neutral-400 hover:text-white transition-colors",children:s.jsx(gN,{size:18})}),s.jsx(Oa,{children:y&&s.jsxs(s.Fragment,{children:[s.jsx(De.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>w(!1),className:"fixed inset-0 bg-black/60 z-40"}),s.jsx(De.div,{initial:{x:-300},animate:{x:0},exit:{x:-300},transition:{type:"spring",stiffness:350,damping:30},className:"fixed inset-y-0 left-0 w-[300px] z-50 bg-black",children:s.jsx(m7,{sessions:e,activeSessionId:c,isLoading:g,agents:l,onSelect:C,onNewConversation:H,onDelete:_,onClose:()=>w(!1)})})]})})]}),s.jsx(Jq,{messages:d,streaming:m,activeSessionId:c,targetType:S,targetName:Z,onSend:T})]})]})}function m7({sessions:e,activeSessionId:a,isLoading:l,agents:i,onSelect:c,onNewConversation:u,onDelete:d,onClose:h}){var A;const[m,p]=r.useState(!1),[g,x]=r.useState(null),y=e.filter(j=>j.target_type==="orchestrator"),w=e.filter(j=>j.target_type==="agent"),N=new Map;for(const j of w){const S=j.target_id||"unknown";N.has(S)||N.set(S,{name:((A=i.find(Z=>Z.id===S))==null?void 0:A.name)||"Agent",sessions:[]}),N.get(S).sessions.push(j)}const E=j=>{g===j?(d(j),x(null)):(x(j),setTimeout(()=>x(null),3e3))};return s.jsxs("div",{className:"flex flex-col h-full border-r border-white/[0.08] bg-black/40 w-full",children:[s.jsxs("div",{className:"flex items-center justify-between px-4 py-3 border-b border-white/[0.08]",children:[s.jsx("span",{className:"text-sm font-medium text-white",children:"Conversations"}),s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx("button",{onClick:()=>p(!m),className:"p-1.5 text-neutral-500 hover:text-white transition-colors rounded-md hover:bg-white/5",children:s.jsx(pt,{size:16,weight:"bold"})}),h&&s.jsx("button",{onClick:h,className:"p-1.5 text-neutral-500 hover:text-white transition-colors md:hidden",children:s.jsx(Ea,{size:16,weight:"bold"})})]})]}),s.jsx(Oa,{children:m&&s.jsx(De.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"border-b border-white/[0.06] overflow-hidden",children:s.jsxs("div",{className:"p-2 space-y-0.5",children:[s.jsx("p",{className:"text-[10px] uppercase tracking-widest text-neutral-600 px-2 py-1",children:"New conversation with"}),s.jsxs("button",{onClick:()=>{u("orchestrator",null),p(!1)},className:"flex items-center gap-2.5 w-full px-2 py-2 text-sm text-neutral-400 hover:text-white hover:bg-white/[0.06] rounded-lg transition-all",children:[s.jsx(ja,{size:14,weight:"bold",className:"text-uplink"}),"Orchestrator"]}),i.filter(j=>j.status==="active").map(j=>s.jsxs("button",{onClick:()=>{u("agent",j.id,j.name),p(!1)},className:"flex items-center gap-2.5 w-full px-2 py-2 text-sm text-neutral-400 hover:text-white hover:bg-white/[0.06] rounded-lg transition-all",children:[s.jsx(Ka,{size:14,weight:"bold",className:"text-terminal"}),s.jsxs("div",{className:"text-left min-w-0",children:[s.jsx("span",{className:"block truncate",children:j.name}),s.jsx("span",{className:"block text-[10px] text-neutral-600 truncate",children:j.role})]})]},j.id))]})})}),s.jsxs("div",{className:"flex-1 overflow-y-auto",children:[l&&s.jsx("div",{className:"space-y-2 p-3",children:[...Array(4)].map((j,S)=>s.jsx("div",{className:"h-14 bg-white/[0.04] rounded-lg animate-pulse"},S))}),!l&&e.length===0&&s.jsxs("div",{className:"flex flex-col items-center justify-center h-40 text-center px-4",children:[s.jsx(C1,{size:24,className:"text-neutral-600 mb-2"}),s.jsx("p",{className:"text-xs text-neutral-600",children:"No conversations yet"}),s.jsx("button",{onClick:()=>p(!0),className:"mt-2 text-xs text-neutral-500 hover:text-white transition-colors",children:"Start one"})]}),!l&&y.length>0&&s.jsx(p7,{label:"Orchestrator",icon:s.jsx(ja,{size:12,weight:"bold",className:"text-uplink"}),sessions:y,activeId:a,confirmId:g,onSelect:c,onDelete:E}),!l&&[...N.entries()].map(([j,S])=>s.jsx(p7,{label:S.name,icon:s.jsx(Ka,{size:12,weight:"bold",className:"text-terminal"}),sessions:S.sessions,activeId:a,confirmId:g,onSelect:c,onDelete:E},j))]})]})}function p7({label:e,icon:a,sessions:l,activeId:i,confirmId:c,onSelect:u,onDelete:d}){return s.jsxs("div",{className:"py-1",children:[s.jsxs("div",{className:"flex items-center gap-1.5 px-4 py-1.5",children:[a,s.jsx("span",{className:"text-[10px] uppercase tracking-widest text-neutral-600",children:e})]}),l.map(h=>s.jsxs("div",{className:`group flex items-center px-3 mx-1 rounded-md transition-colors cursor-pointer ${h.id===i?"bg-white/[0.08]":"hover:bg-white/[0.04]"}`,children:[s.jsxs("button",{onClick:()=>u(h.id),className:"flex-1 text-left py-2.5 min-w-0",children:[s.jsx("p",{className:"text-sm text-white truncate leading-snug",children:h.title}),s.jsxs("div",{className:"flex items-center gap-2 mt-0.5",children:[s.jsx("span",{className:"text-[11px] text-neutral-600",children:Xq(h.updated_at)}),s.jsxs("span",{className:"text-[11px] text-neutral-600",children:[h.message_count," msg",h.message_count!==1?"s":""]})]})]}),s.jsx("button",{onClick:m=>{m.stopPropagation(),d(h.id)},className:`p-1 rounded transition-colors shrink-0 ${c===h.id?"text-critical bg-critical/10":"text-neutral-700 hover:text-critical opacity-0 group-hover:opacity-100"}`,title:c===h.id?"Click again to confirm":"Delete",children:s.jsx(qt,{size:14})})]},h.id))]})}function Jq({messages:e,streaming:a,activeSessionId:l,targetType:i,targetName:c,onSend:u}){const d=r.useRef(null),[h,m]=r.useState("");r.useEffect(()=>{var x;(x=d.current)==null||x.scrollTo({top:d.current.scrollHeight,behavior:"smooth"})},[e]);const p=()=>{const x=h.trim();!x||a||(u(x),m(""))},g=x=>{x.key==="Enter"&&!x.shiftKey&&(x.preventDefault(),p())};return l?s.jsxs("div",{className:"flex-1 flex flex-col min-h-0",children:[s.jsxs("div",{className:"flex items-center gap-2.5 px-5 py-3 border-b border-white/[0.08]",children:[i==="agent"?s.jsx(Ka,{size:16,weight:"bold",className:"text-terminal"}):s.jsx(ja,{size:16,weight:"bold",className:"text-uplink"}),s.jsx("span",{className:"text-sm font-medium text-white",children:c}),a&&s.jsx("span",{className:"text-[11px] text-uplink ml-auto animate-pulse",children:"Responding..."})]}),s.jsxs("div",{ref:d,className:"flex-1 overflow-y-auto px-5 py-4 space-y-4",children:[e.length===0&&s.jsx("div",{className:"flex items-center justify-center h-full text-neutral-500 text-sm",children:"Send a message to start the conversation."}),e.map(x=>s.jsxs("div",{className:`flex gap-3 ${x.role==="user"?"flex-row-reverse":""}`,children:[s.jsx("div",{className:`w-7 h-7 rounded-full flex-shrink-0 flex items-center justify-center text-xs font-bold ${x.role==="user"?"bg-white/10 text-white":"bg-uplink/10 text-uplink"}`,children:x.role==="user"?"You":c[0]||"O"}),s.jsxs("div",{className:`max-w-[80%] rounded-xl px-4 py-3 text-sm ${x.role==="user"?"bg-white/[0.08] text-white":"bg-white/[0.03] border border-white/[0.08] text-neutral-200"}`,children:[s.jsx("pre",{className:"whitespace-pre-wrap break-words font-sans",children:x.content||(x.isStreaming?"...":"")}),x.isStreaming&&s.jsx("span",{className:"inline-block w-1.5 h-4 bg-uplink/70 animate-pulse ml-0.5 align-text-bottom rounded-sm"})]})]},x.id))]}),s.jsx("div",{className:"border-t border-white/[0.08] px-5 py-3",children:s.jsxs("div",{className:"flex gap-2 max-w-2xl",children:[s.jsx("textarea",{value:h,onChange:x=>m(x.target.value),onKeyDown:g,placeholder:"Type a message...",rows:1,disabled:a,className:"flex-1 bg-white/5 border border-white/10 rounded-xl px-4 py-3 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20 resize-none disabled:opacity-50"}),s.jsx("button",{onClick:p,disabled:a||!h.trim(),className:"bg-white text-black rounded-xl px-4 hover:bg-neutral-200 transition-colors disabled:opacity-50",children:s.jsx(Qh,{size:18})})]})})]}):s.jsx("div",{className:"flex-1 flex items-center justify-center",children:s.jsxs("div",{className:"text-center space-y-3",children:[s.jsx("div",{className:"w-14 h-14 rounded-full bg-white/[0.06] flex items-center justify-center mx-auto",children:s.jsx(C1,{size:28,weight:"duotone",className:"text-neutral-500"})}),s.jsx("h3",{className:"text-lg font-semibold text-white",children:"Messages"}),s.jsx("p",{className:"text-sm text-neutral-500 max-w-xs",children:"Select a conversation or start a new one."})]})})}function wM(e){const a=Math.floor(e/86400),l=Math.floor(e%86400/3600),i=Math.floor(e%3600/60),c=[];return a&&c.push(`${a}d`),l&&c.push(`${l}h`),c.push(`${i}m`),c.join(" ")}function Wq(){const{data:e}=je("/health"),{data:a}=je("/api/system/stats");return s.jsxs(s.Fragment,{children:[e&&s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Runtime"}),s.jsxs("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:[s.jsx(ya,{label:"Status",value:e.status,valueColor:e.status==="healthy"?"text-success":"text-warning"}),s.jsx(ya,{label:"Version",value:`v${e.version}`}),s.jsx(ya,{label:"Uptime",value:wM(e.uptime)}),s.jsx(ya,{label:"Database",value:e.database}),a&&s.jsx(ya,{label:"Memory",value:`${a.memoryMb} MB`})]})]}),a&&s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Stats"}),s.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3",children:[s.jsx(l1,{label:"Agents",value:String(a.totalAgents)}),s.jsx(l1,{label:"Tasks",value:String(a.totalTasks)}),s.jsx(l1,{label:"Tokens",value:a.totalTokens.toLocaleString()}),s.jsx(l1,{label:"Cost",value:`$${(a.totalCostCents/100).toFixed(2)}`})]})]})]})}function ya({label:e,value:a,valueColor:l}){return s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsx("span",{className:"text-sm text-neutral-400",children:e}),s.jsx("span",{className:`text-sm font-medium ${l||""}`,children:a})]})}function l1({label:e,value:a}){return s.jsxs("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg p-3",children:[s.jsx("p",{className:"text-xs text-neutral-400",children:e}),s.jsx("p",{className:"text-lg font-bold",children:a})]})}function ez(){const{data:e}=je("/api/settings/tunnel_url"),{data:a}=je("/api/settings/cloud_url"),{data:l,refetch:i}=je("/api/settings/notification_channels"),{data:c,refetch:u}=je("/api/settings/global_mcp_servers"),d=e==null?void 0:e.value,[h,m]=r.useState(!1),[p,g]=r.useState(!1),x=(()=>{try{return c!=null&&c.value?JSON.parse(c.value):[]}catch{return[]}})(),y=(()=>{try{return l!=null&&l.value?JSON.parse(l.value):{email:!1,slack:!1,telegram:!1,whatsapp:!1}}catch{return{email:!1,slack:!1,telegram:!1,whatsapp:!1}}})(),w=r.useCallback(async E=>{g(!0);try{await fe("/api/settings/global_mcp_servers",{method:"PUT",body:JSON.stringify({value:JSON.stringify(E)})}),u(),ce("success","Global MCP servers updated")}catch{ce("error","Couldn't update MCP servers")}finally{g(!1)}},[u]),N=r.useCallback(async E=>{m(!0);const A={...y,[E]:!y[E]};try{await fe("/api/settings/notification_channels",{method:"PUT",body:JSON.stringify({value:JSON.stringify(A)})}),i(),ce("success",`${E} notifications ${A[E]?"enabled":"disabled"}`)}catch{ce("error","Couldn't update notification settings")}finally{m(!1)}},[y,i]);return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Webhooks"}),s.jsxs("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:[s.jsx(ya,{label:"Tunnel",value:d?"Active":"Not connected",valueColor:d?"text-success":"text-neutral-400"}),d&&s.jsxs(s.Fragment,{children:[s.jsx(ya,{label:"URL",value:d}),s.jsx(ya,{label:"GHL Hook",value:`${d}/webhooks/ghl`})]}),!d&&(a==null?void 0:a.value)&&s.jsx(ya,{label:"Cloud proxy",value:a.value,valueColor:"text-success"})]})]}),s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-1",children:"MCP Servers"}),s.jsx("p",{className:"text-xs text-neutral-400 mb-3",children:"MCP servers extend what your AI team can do. Connect tools like GitHub, databases, or file systems."}),s.jsx(vM,{servers:x,onChange:w,disabled:p})]}),s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Notifications"}),s.jsx("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:["email","slack","telegram","whatsapp"].map(E=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsx("span",{className:"text-sm capitalize",children:E}),s.jsx(ml,{checked:y[E],onChange:()=>N(E),disabled:h,size:"sm"})]},E))})]})]})}async function Y2(e,a,l){const i=e.body.getReader(),c=new TextDecoder;let u="";try{for(;;){if(l!=null&&l.aborted){i.cancel();return}const{done:d,value:h}=await i.read();if(d)break;u+=c.decode(h,{stream:!0});const m=u.split(`
79
+ `);u=m.pop()||"";for(const p of m)if(p.startsWith("data: ")){const g=p.slice(6).trim();if(g==="[DONE]")return;let x;try{x=JSON.parse(g)}catch{continue}a(x)}}}finally{i.releaseLock()}}function tz(){const[e,a]=r.useState({installed:[],catalog:[],activeModel:"",orchestratorModel:"",device:null,memoryTier:"",ollamaRunning:!1,loading:!0,catalogLoading:!1,catalogLoaded:!1,downloading:null,openRouterKey:"",openRouterModel:"",openRouterConnected:!1}),l=r.useRef(null);r.useEffect(()=>()=>{var E;(E=l.current)==null||E.abort()},[]);const i=r.useCallback(async()=>{a(E=>({...E,loading:!0}));try{const E=await fe("/api/models/installed");a(A=>({...A,installed:E.data.models,activeModel:E.data.activeModel,orchestratorModel:E.data.orchestratorModel||"",ollamaRunning:E.data.ollamaRunning,loading:!1}))}catch{a(E=>({...E,loading:!1}))}},[]),c=r.useCallback(async()=>{a(E=>({...E,catalogLoading:!0}));try{const E=await fe("/api/models/catalog");a(A=>({...A,catalog:E.data.catalog,device:E.data.device,memoryTier:E.data.memoryTier,catalogLoading:!1,catalogLoaded:!0}))}catch{a(E=>({...E,catalogLoading:!1}))}},[]),u=r.useCallback(async E=>{let A="";a(j=>(A=j.activeModel,{...j,activeModel:E,installed:j.installed.map(S=>({...S,isActive:S.tag===E}))}));try{await fe("/api/models/active",{method:"PUT",body:JSON.stringify({model:E})}),ce("success","Active model updated")}catch{a(j=>({...j,activeModel:A,installed:j.installed.map(S=>({...S,isActive:S.tag===A}))})),ce("error","Couldn't update active model")}},[]),d=r.useCallback(async E=>{let A="";a(j=>(A=j.orchestratorModel,{...j,orchestratorModel:E,installed:j.installed.map(S=>({...S,isOrchestrator:E?S.tag===E:!1}))}));try{await fe("/api/models/orchestrator",{method:"PUT",body:JSON.stringify({model:E})}),ce("success",E?"Orchestrator model updated":"Orchestrator reset to auto")}catch{a(j=>({...j,orchestratorModel:A,installed:j.installed.map(S=>({...S,isOrchestrator:A?S.tag===A:!1}))})),ce("error","Couldn't update orchestrator model")}},[]),h=r.useCallback(async E=>{a(A=>({...A,installed:A.installed.map(j=>j.tag===E?{...j,status:"installed"}:j)}));try{await fe(`/api/models/${encodeURIComponent(E)}/unload`,{method:"POST"}),ce("success","Model unloaded from memory")}catch{await i(),ce("error","Couldn't unload model")}},[i]),m=r.useCallback(async E=>{if(l.current)return;const A=new AbortController;l.current=A,a(j=>({...j,downloading:{tag:E,percent:0,message:"Setting things up..."}}));try{const j=await fetch("/api/onboarding/ensure-ollama",{method:"POST",signal:A.signal});if(!j.ok||!j.body)throw new Error("Couldn't start Ollama");await Y2(j,H=>{if(a(_=>_.downloading?{..._,downloading:{..._.downloading,message:H.message}}:_),H.error)throw new Error(H.error)},A.signal),a(H=>H.downloading?{...H,downloading:{...H.downloading,percent:0,message:"Starting download..."}}:H);const S=An(),Z=await fetch("/api/onboarding/download-model",{method:"POST",headers:{"Content-Type":"application/json",...S?{Authorization:`Bearer ${S}`}:{}},body:JSON.stringify({tag:E}),signal:A.signal});if(!Z.ok||!Z.body)throw new Error("Couldn't start download");await Y2(Z,H=>{if(a(_=>_.downloading?{..._,downloading:{..._.downloading,message:H.message,percent:H.percent??_.downloading.percent}}:_),H.error)throw new Error(H.error)},A.signal),a(H=>({...H,downloading:null})),ce("success","Model installed");const C=await fe("/api/models/installed");a(H=>({...H,installed:C.data.models,activeModel:C.data.activeModel,orchestratorModel:C.data.orchestratorModel||"",ollamaRunning:C.data.ollamaRunning,catalog:H.catalog.map(_=>_.tag===E?{..._,installed:!0}:_)}))}catch(j){if(A.signal.aborted)return;a(S=>({...S,downloading:null})),ce("error",j instanceof Error?j.message:"Download failed")}finally{l.current=null}},[]),p=r.useCallback(()=>{var E;(E=l.current)==null||E.abort(),a(A=>({...A,downloading:null}))},[]),g=r.useCallback(async E=>{try{await fe(`/api/models/${encodeURIComponent(E)}`,{method:"DELETE"}),ce("success","Model deleted");const A=await fe("/api/models/installed");return a(j=>({...j,installed:A.data.models,activeModel:A.data.activeModel,orchestratorModel:A.data.orchestratorModel||"",ollamaRunning:A.data.ollamaRunning,catalog:j.catalog.map(S=>S.tag===E?{...S,installed:!1}:S)})),!0}catch{return ce("error","Couldn't delete model"),!1}},[]),x=r.useCallback(async()=>{a(E=>({...E,downloading:{tag:"",percent:0,message:"Starting Ollama..."}}));try{const E=await fetch("/api/onboarding/ensure-ollama",{method:"POST"});if(!E.ok||!E.body)throw new Error("Couldn't start Ollama");await Y2(E,A=>{if(a(j=>j.downloading?{...j,downloading:{...j.downloading,message:A.message}}:j),A.error)throw new Error(A.error)}),a(A=>({...A,downloading:null,ollamaRunning:!0})),ce("success","Ollama is running"),await i()}catch(E){a(A=>({...A,downloading:null})),ce("error",E instanceof Error?E.message:"Couldn't start Ollama")}},[i]),y=r.useCallback(async()=>{try{const[E,A]=await Promise.all([fe("/api/settings/openrouter_api_key"),fe("/api/settings/openrouter_model")]);a(j=>{var S,Z,C;return{...j,openRouterKey:((S=E.data)==null?void 0:S.value)||"",openRouterModel:((Z=A.data)==null?void 0:Z.value)||"",openRouterConnected:!!((C=E.data)!=null&&C.value)}})}catch{}},[]),w=r.useCallback(async E=>{try{await fe("/api/settings/openrouter_api_key",{method:"PUT",body:JSON.stringify({value:E})}),a(A=>({...A,openRouterKey:E?"****"+E.slice(-4):"",openRouterConnected:!!E})),ce("success",E?"OpenRouter API key saved":"OpenRouter API key removed")}catch{ce("error","Couldn't save OpenRouter API key")}},[]),N=r.useCallback(async E=>{try{await fe("/api/settings/openrouter_model",{method:"PUT",body:JSON.stringify({value:E})}),a(A=>({...A,openRouterModel:E})),ce("success","OpenRouter model updated")}catch{ce("error","Couldn't update OpenRouter model")}},[]);return{...e,fetchInstalled:i,fetchCatalog:c,setActiveModel:u,setOrchestratorModel:d,unloadModel:h,installModel:m,cancelDownload:p,deleteModel:g,startOllama:x,fetchOpenRouter:y,saveOpenRouterKey:w,setOpenRouterModel:N}}function az(e){return e<1e3?`${e}ms`:`${(e/1e3).toFixed(1)}s`}function g7({label:e,color:a}){return s.jsx("span",{className:`inline-flex items-center gap-0.5 px-1.5 py-0.5 text-[10px] font-medium rounded ${a}`,children:e})}function nz({models:e,downloading:a,onSetActive:l,onSetOrchestrator:i,onUnload:c,onDelete:u,onCancelDownload:d}){return e.length===0&&!a?s.jsxs("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg p-6 text-center",children:[s.jsx("p",{className:"text-sm text-neutral-400 mb-1",children:"No models installed yet"}),s.jsx("p",{className:"text-xs text-neutral-400/70",children:"Browse the catalog below to install your first model"})]}):s.jsxs("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:[a&&!e.some(h=>h.tag===a.tag)&&s.jsxs("div",{className:"px-4 py-3",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("span",{className:"text-sm font-medium",children:a.tag}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(yt,{size:14,className:"animate-spin text-white"}),s.jsxs("span",{className:"text-xs text-neutral-400",children:[a.percent,"%"]}),s.jsx("button",{onClick:d,className:"text-[11px] text-neutral-400 hover:text-critical transition-colors",children:"Cancel"})]})]}),s.jsxs("div",{className:"mt-2",children:[s.jsx("div",{className:"w-full bg-white/[0.06] rounded-full h-1.5",children:s.jsx("div",{className:"bg-white h-1.5 rounded-full transition-all duration-300",style:{width:`${a.percent}%`}})}),s.jsx("p",{className:"text-[10px] text-neutral-400 mt-1",children:a.message})]})]}),e.map(h=>{const m=(a==null?void 0:a.tag)===h.tag,p=h.totalRequests>0?az(Math.round(h.totalDurationMs/h.totalRequests)):null;return s.jsxs("div",{className:`px-4 py-3 ${h.isActive?"border-l-2 border-l-white bg-white/5":""}`,children:[s.jsxs("div",{className:"flex items-start justify-between gap-3",children:[s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[s.jsx("span",{className:"text-sm font-medium truncate",children:h.label}),h.family&&s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 bg-white/[0.06] rounded text-neutral-400 font-mono",children:h.family}),h.isActive&&s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 bg-white/10 text-white rounded font-medium",children:"Active"}),h.isOrchestrator&&s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 bg-purple-500/20 text-purple-400 rounded font-medium",children:"Orchestrator"}),h.status==="loaded"&&s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 bg-success/20 text-success rounded",children:"Loaded"})]}),s.jsxs("div",{className:"flex items-center gap-1.5 mt-1 flex-wrap",children:[h.vision&&s.jsx(g7,{label:"Vision",color:"bg-purple-500/20 text-purple-400"}),h.toolCalling&&s.jsx(g7,{label:"Tools",color:"bg-white/10 text-neutral-300"}),h.sizeGB&&s.jsxs("span",{className:"text-[10px] text-neutral-400",children:[h.sizeGB," GB"]}),h.tag!==h.label&&s.jsx("span",{className:"text-[10px] text-neutral-600 font-mono",children:h.tag})]})]}),s.jsxs("div",{className:"hidden sm:flex items-center gap-4 text-[11px] text-neutral-400 shrink-0",children:[h.totalRequests>0&&s.jsxs("span",{children:[h.totalRequests.toLocaleString()," ",h.totalRequests===1?"request":"requests"]}),p&&s.jsxs("span",{children:["avg ",p]})]}),s.jsx("div",{className:"flex items-center gap-1.5 shrink-0",children:m?s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(yt,{size:14,className:"animate-spin text-white"}),s.jsxs("span",{className:"text-xs text-neutral-400",children:[a.percent,"%"]}),s.jsx("button",{onClick:d,className:"text-[11px] text-neutral-400 hover:text-critical transition-colors",children:"Cancel"})]}):s.jsxs(s.Fragment,{children:[!h.isActive&&s.jsx("button",{onClick:()=>l(h.tag),className:"px-2 py-1 text-[11px] text-neutral-400 hover:text-white hover:bg-white/10 rounded transition-colors",title:"Set as active model",children:s.jsx(tF,{size:14})}),s.jsx("button",{onClick:()=>i(h.isOrchestrator?"":h.tag),className:`px-2 py-1 text-[11px] rounded transition-colors ${h.isOrchestrator?"text-purple-400 hover:text-neutral-400 hover:bg-white/[0.06]":"text-neutral-400 hover:text-purple-400 hover:bg-purple-500/10"}`,title:h.isOrchestrator?"Reset orchestrator to auto":"Set as orchestrator model",children:s.jsx(NO,{size:14})}),h.status==="loaded"&&!h.isActive&&!h.isOrchestrator&&s.jsx("button",{onClick:()=>c(h.tag),className:"px-2 py-1 text-[11px] text-neutral-400 hover:text-warning hover:bg-warning/10 rounded transition-colors",title:"Unload from memory",children:s.jsx(LO,{size:14})}),s.jsx("button",{onClick:()=>u(h.tag),className:"px-2 py-1 text-[11px] text-neutral-400 hover:text-critical hover:bg-critical/10 rounded transition-colors",title:"Delete model",children:s.jsx(qt,{size:14})})]})})]}),m&&s.jsxs("div",{className:"mt-2",children:[s.jsx("div",{className:"w-full bg-white/[0.06] rounded-full h-1.5",children:s.jsx("div",{className:"bg-white h-1.5 rounded-full transition-all duration-300",style:{width:`${a.percent}%`}})}),s.jsx("p",{className:"text-[10px] text-neutral-400 mt-1",children:a.message})]})]},h.tag)})]})}const rz=[{value:"all",label:"All"},{value:"fits",label:"Fits your device"},{value:"vision",label:"Vision"},{value:"tools",label:"Tool calling"}];function sz(e){return{tiny:"Tiny (< 4 GB)",small:"Small (4-8 GB)",medium:"Medium (8-16 GB)",large:"Large (16-32 GB)",xlarge:"XLarge (32 GB+)"}[e]||e}function lz({catalog:e,device:a,memoryTier:l,loading:i,loaded:c,downloading:u,onInstall:d,onCancelDownload:h,onFetchCatalog:m}){const[p,g]=r.useState(!1),[x,y]=r.useState("all"),w=()=>{!p&&!c&&m(),g(j=>!j)},N=e.filter(j=>x==="fits"?j.fits:x==="vision"?j.vision:x==="tools"?j.toolCalling:!0),A=["tiny","small","medium","large","xlarge"].map(j=>({tier:j,models:N.filter(S=>S.tier===j)})).filter(j=>j.models.length>0);return s.jsxs("div",{children:[s.jsxs("button",{onClick:w,className:"flex items-center gap-2 text-sm font-medium text-neutral-400 uppercase tracking-wider hover:text-white transition-colors mb-3",children:["Browse Models",p?s.jsx(ZO,{size:14}):s.jsx(Qa,{size:14})]}),p&&s.jsxs(s.Fragment,{children:[a&&s.jsxs("div",{className:"bg-white/5 rounded-lg p-3 mb-4 text-xs text-neutral-400",children:[s.jsx("span",{children:a.cpuModel}),s.jsx("span",{className:"mx-1.5",children:"·"}),s.jsxs("span",{children:[a.totalMemoryGB," GB RAM"]}),s.jsx("span",{className:"mx-1.5",children:"·"}),s.jsxs("span",{children:[l," tier"]})]}),s.jsx("div",{className:"flex gap-1.5 mb-4 flex-wrap",children:rz.map(j=>s.jsx("button",{onClick:()=>y(j.value),className:`px-2.5 py-1 text-[11px] rounded-full border transition-colors ${x===j.value?"border-white/20 bg-white/10 text-white":"border-white/[0.08] text-neutral-400 hover:border-white/20"}`,children:j.label},j.value))}),i?s.jsxs("div",{className:"flex items-center justify-center py-8 gap-2 text-sm text-neutral-400",children:[s.jsx(yt,{size:16,className:"animate-spin"})," Loading catalog..."]}):s.jsxs("div",{className:"space-y-4",children:[A.map(j=>s.jsxs("div",{children:[s.jsx("h4",{className:"text-[11px] font-medium text-neutral-400/70 uppercase tracking-wider mb-2",children:sz(j.tier)}),s.jsx("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:j.models.map(S=>{const Z=(u==null?void 0:u.tag)===S.tag,C=!u&&!S.installed;return s.jsxs("div",{className:`px-4 py-3 ${S.fits?"":"opacity-50"}`,children:[s.jsxs("div",{className:"flex items-start justify-between gap-3",children:[s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[s.jsx("span",{className:"text-sm font-medium",children:S.label}),s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 bg-white/[0.06] rounded text-neutral-400 font-mono",children:S.family}),S.recommended&&s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 bg-success/20 text-success rounded font-medium",children:"Recommended"})]}),s.jsx("p",{className:"text-xs text-neutral-400 mt-0.5",children:S.description}),s.jsxs("div",{className:"flex items-center gap-1.5 mt-1 flex-wrap",children:[S.vision&&s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 bg-purple-500/20 text-purple-400 rounded",children:"Vision"}),S.toolCalling&&s.jsx("span",{className:"text-[10px] px-1.5 py-0.5 bg-white/10 text-neutral-300 rounded",children:"Tools"}),s.jsxs("span",{className:"text-[10px] text-neutral-400",children:[S.sizeGB," GB"]}),!S.fits&&s.jsxs("span",{className:"text-[10px] text-warning",children:["Needs ",S.minRAM," GB RAM"]})]})]}),s.jsx("div",{className:"shrink-0",children:S.installed?s.jsx("span",{className:"text-[11px] text-success px-2 py-1",children:"Installed"}):Z?s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(yt,{size:14,className:"animate-spin text-white"}),s.jsxs("span",{className:"text-xs text-neutral-400",children:[u.percent,"%"]}),s.jsx("button",{onClick:h,className:"text-[11px] text-neutral-400 hover:text-critical transition-colors",children:"Cancel"})]}):s.jsxs("button",{onClick:()=>d(S.tag),disabled:!C||!S.fits,className:"flex items-center gap-1 px-2.5 py-1 text-[11px] font-medium bg-white text-black rounded hover:bg-neutral-200 disabled:opacity-40 disabled:cursor-not-allowed transition-colors",children:[s.jsx(TO,{size:12})," Install"]})})]}),Z&&s.jsxs("div",{className:"mt-2",children:[s.jsx("div",{className:"w-full bg-white/[0.06] rounded-full h-1.5",children:s.jsx("div",{className:"bg-white h-1.5 rounded-full transition-all duration-300",style:{width:`${u.percent}%`}})}),s.jsx("p",{className:"text-[10px] text-neutral-400 mt-1",children:u.message})]})]},S.tag)})})]},j.tier)),N.length===0&&s.jsx("p",{className:"text-sm text-neutral-400 text-center py-4",children:"No models match this filter"})]})]})]})}function iz({open:e,modelTag:a,modelLabel:l,isActive:i,isOrchestrator:c,loading:u,onConfirm:d,onClose:h}){return s.jsxs(la,{open:e,onClose:h,title:"Delete model",children:[s.jsxs("p",{className:"text-sm mb-3",children:["Remove ",s.jsx("strong",{children:l})," ",s.jsxs("span",{className:"text-neutral-400 font-mono text-xs",children:["(",a,")"]})," from your machine?"]}),i&&s.jsx("div",{className:"bg-warning/10 border border-warning/30 rounded-lg p-3 mb-3",children:s.jsx("p",{className:"text-xs text-warning",children:"This is your active model. Deleting it will clear the active model setting. You'll need to select a different model afterward."})}),c&&s.jsx("div",{className:"bg-purple-500/10 border border-purple-500/30 rounded-lg p-3 mb-3",children:s.jsx("p",{className:"text-xs text-purple-400",children:"This is your orchestrator model. Deleting it will reset the orchestrator to auto mode."})}),s.jsx("p",{className:"text-xs text-neutral-400 mb-4",children:"The model files will be removed from disk. You can reinstall it from the catalog later."}),s.jsxs("div",{className:"flex gap-2 justify-end",children:[s.jsx("button",{onClick:h,disabled:u,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors disabled:opacity-50",children:"Cancel"}),s.jsxs("button",{onClick:d,disabled:u,className:"px-3 py-1.5 text-xs font-medium bg-critical/10 border border-critical/30 text-critical rounded-lg hover:bg-critical/20 transition-colors disabled:opacity-50 flex items-center gap-1.5",children:[u&&s.jsx(yt,{size:12,className:"animate-spin"}),u?"Deleting...":"Delete"]})]})]})}function oz(){const{data:e,refetch:a}=je("/api/settings/anthropic_api_key"),[l,i]=r.useState(!1),[c,u]=r.useState(""),[d,h]=r.useState(!1),[m,p]=r.useState(null),[g,x]=r.useState(!1),[y,w]=r.useState(!1),[N,E]=r.useState(""),[A,j]=r.useState(!1),{installed:S,catalog:Z,device:C,memoryTier:H,ollamaRunning:_,loading:T,catalogLoading:k,catalogLoaded:R,downloading:O,openRouterKey:I,openRouterModel:X,openRouterConnected:K,fetchInstalled:B,fetchCatalog:Y,setActiveModel:L,setOrchestratorModel:$,unloadModel:W,installModel:de,cancelDownload:he,deleteModel:D,startOllama:te,fetchOpenRouter:re,saveOpenRouterKey:z,setOpenRouterModel:q}=tz();r.useEffect(()=>{B(),re()},[B,re]);const P=(Se,Ze=8)=>Se?Se.slice(0,Ze)+"•".repeat(Math.max(0,Math.min(Se.length-Ze,20))):"Not set",oe=async()=>{if(c.trim()){h(!0);try{await fe("/api/settings/anthropic_api_key",{method:"PUT",body:JSON.stringify({value:c.trim()})}),ce("success","API key updated"),i(!1),u(""),a()}catch{ce("error","Couldn't save API key")}finally{h(!1)}}},me=async()=>{j(!0);try{await z(N.trim()),w(!1),E("")}catch{ce("error","Couldn't save OpenRouter key")}finally{j(!1)}},be=Se=>{const Ze=S.find(se=>se.tag===Se);p({tag:Se,label:(Ze==null?void 0:Ze.label)||Se,isActive:(Ze==null?void 0:Ze.isActive)||!1,isOrchestrator:(Ze==null?void 0:Ze.isOrchestrator)||!1})},ke=r.useCallback(async()=>{if(!m||g)return;x(!0);const Se=await D(m.tag);x(!1),Se&&p(null)},[m,g,D]);return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Anthropic API"}),s.jsx("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:l?s.jsxs("div",{className:"px-4 py-3",children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"API Key"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("input",{type:"password",value:c,onChange:Se=>u(Se.target.value),placeholder:"sk-ant-...",className:"flex-1 bg-white/[0.06] border border-white/[0.08] rounded px-3 py-2 text-sm text-white placeholder:text-neutral-400/50 focus:outline-none focus:border-white/20",autoFocus:!0}),s.jsx("button",{onClick:oe,disabled:d||!c.trim(),className:"text-success hover:text-success/80 transition-colors disabled:opacity-50",children:s.jsx(Or,{size:16})}),s.jsx("button",{onClick:()=>{i(!1),u("")},className:"text-neutral-400 hover:text-white transition-colors",children:s.jsx(Ea,{size:16})})]})]}):s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-sm text-neutral-400",children:"API Key"}),s.jsx("span",{className:"text-sm font-medium ml-3",children:P(e==null?void 0:e.value,12)})]}),s.jsx("button",{onClick:()=>i(!0),className:"text-neutral-400 hover:text-white transition-colors",children:s.jsx(Jh,{size:14})})]})})]}),s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:s.jsxs("span",{className:"flex items-center gap-1.5",children:["OpenRouter",K&&s.jsx("span",{className:"inline-block w-1.5 h-1.5 rounded-full bg-success"})]})}),s.jsxs("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:[y?s.jsxs("div",{className:"px-4 py-3",children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"API Key"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("input",{type:"password",value:N,onChange:Se=>E(Se.target.value),placeholder:"sk-or-...",className:"flex-1 bg-white/[0.06] border border-white/[0.08] rounded px-3 py-2 text-sm text-white placeholder:text-neutral-400/50 focus:outline-none focus:border-white/20",autoFocus:!0}),s.jsx("button",{onClick:me,disabled:A,className:"text-success hover:text-success/80 transition-colors disabled:opacity-50",children:s.jsx(Or,{size:16})}),s.jsx("button",{onClick:()=>{w(!1),E("")},className:"text-neutral-400 hover:text-white transition-colors",children:s.jsx(Ea,{size:16})})]}),s.jsx("p",{className:"text-[10px] text-neutral-500 mt-1.5",children:"Free frontier models. Leave empty to remove."})]}):s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-sm text-neutral-400",children:"API Key"}),s.jsx("span",{className:"text-sm font-medium ml-3",children:P(I,8)})]}),s.jsx("button",{onClick:()=>w(!0),className:"text-neutral-400 hover:text-white transition-colors",children:s.jsx(Jh,{size:14})})]}),K&&s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(ja,{size:14,className:"text-amber-400"}),s.jsx("span",{className:"text-sm text-neutral-400",children:"Model"})]}),s.jsxs("select",{value:X||"openrouter/optimus-alpha",onChange:Se=>q(Se.target.value),className:"bg-white/[0.06] border border-white/[0.08] rounded px-2 py-1 text-sm text-white focus:outline-none focus:border-white/20 cursor-pointer",children:[s.jsx("option",{value:"openrouter/optimus-alpha",children:"Hunter Alpha (reasoning, 1M ctx)"}),s.jsx("option",{value:"openrouter/optimus-alpha",children:"Healer Alpha (multimodal, 262K ctx)"})]})]})]})]}),s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Local Models (Ollama)"}),!T&&!_&&s.jsxs("div",{className:"bg-warning/10 border border-warning/30 rounded-lg p-3 mb-3 flex items-center justify-between",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Qf,{size:16,className:"text-warning shrink-0"}),s.jsx("p",{className:"text-xs text-warning",children:"Ollama is not running"})]}),s.jsx("button",{onClick:te,disabled:!!O,className:"px-2.5 py-1 text-[11px] font-medium bg-warning/10 border border-warning/30 text-warning rounded hover:bg-warning/20 disabled:opacity-50 transition-colors",children:(O==null?void 0:O.tag)===""?"Starting...":"Start Ollama"})]}),T?s.jsxs("div",{className:"flex items-center justify-center py-8 gap-2 text-sm text-neutral-400",children:[s.jsx(yt,{size:16,className:"animate-spin"})," Loading models..."]}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"mb-4",children:[s.jsx("div",{className:"flex items-center justify-between mb-2",children:s.jsxs("h3",{className:"text-xs text-neutral-400",children:["Installed Models",S.length>0&&s.jsxs("span",{className:"ml-1.5 text-neutral-600",children:["(",S.length,")"]})]})}),s.jsx(nz,{models:S,downloading:O,onSetActive:L,onSetOrchestrator:$,onUnload:W,onDelete:be,onCancelDownload:he})]}),s.jsx(lz,{catalog:Z,device:C,memoryTier:H,loading:k,loaded:R,downloading:O,onInstall:de,onCancelDownload:he,onFetchCatalog:Y})]})]}),s.jsx(iz,{open:!!m,modelTag:(m==null?void 0:m.tag)||"",modelLabel:(m==null?void 0:m.label)||"",isActive:(m==null?void 0:m.isActive)||!1,isOrchestrator:(m==null?void 0:m.isOrchestrator)||!1,loading:g,onConfirm:ke,onClose:()=>{g||p(null)}})]})}function cz(){const[e,a]=r.useState(null),[l,i]=r.useState([]),[c,u]=r.useState(""),[d,h]=r.useState(!1),[m,p]=r.useState(!1),g=r.useCallback(async()=>{var N;try{const E=await fe("/api/voice/providers");if(a(E.data),E.data.voiceboxAvailable){const[A,j]=await Promise.all([fe("/api/voice/profiles"),fe("/api/settings/orchestrator_voice_profile_id")]);i(A.data||[]),u(((N=j.data)==null?void 0:N.value)||"")}}catch{a(null)}},[]),x=r.useRef(!1);r.useEffect(()=>{e!=null&&e.voiceboxAvailable&&(x.current=!0)},[e==null?void 0:e.voiceboxAvailable]),r.useEffect(()=>{let N=!1,E;return(async()=>{await g(),!N&&!x.current&&(E=setInterval(async()=>{if(N||x.current){E&&clearInterval(E);return}await g()},1e4))})(),()=>{N=!0,E&&clearInterval(E)}},[g]);const y=r.useCallback(async()=>{p(!0);try{await fe("/api/voice/enable",{method:"POST"}),await g()}catch{}finally{p(!1)}},[g]),w=r.useCallback(async N=>{h(!0),u(N);try{await fe("/api/settings/orchestrator_voice_profile_id",{method:"PUT",body:JSON.stringify({value:N})})}catch{u("")}finally{h(!1)}},[]);return s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Voice"}),s.jsxs("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:[e&&s.jsx("div",{className:"px-4 py-3",children:s.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[s.jsx("span",{className:`w-2 h-2 rounded-full ${e.voiceboxAvailable?"bg-success":"bg-white/10"}`}),s.jsx("span",{className:e.voiceboxAvailable?"":"text-neutral-400",children:e.voiceboxAvailable?"Voicebox is running":"Voicebox is not running"})]})}),e&&!e.voiceboxAvailable&&s.jsxs("div",{className:"px-4 py-3",children:[s.jsx("button",{onClick:y,disabled:m,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium bg-white/5 border border-white/10 text-white rounded-lg hover:bg-white/10 disabled:opacity-50 transition-colors",children:m?s.jsxs(s.Fragment,{children:[s.jsx(yt,{size:14,className:"animate-spin"})," Starting Voicebox..."]}):"Enable Voicebox"}),s.jsx("p",{className:"text-xs text-neutral-400 mt-1.5",children:"Local speech-to-text and text-to-speech using Whisper and Coqui TTS."})]}),(e==null?void 0:e.voiceboxAvailable)&&s.jsx("div",{className:"px-4 py-3",children:s.jsxs("label",{className:"flex items-center justify-between gap-4",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium",children:"Orchestrator voice"}),s.jsx("p",{className:"text-xs text-neutral-400",children:"Voice used when chatting from the main conversation"})]}),s.jsxs("select",{value:c,onChange:N=>w(N.target.value),disabled:d,className:"bg-black border border-white/[0.08] rounded-md px-3 py-1.5 text-sm min-w-[180px]",children:[s.jsx("option",{value:"",children:"Default voice"}),l.map(N=>s.jsx("option",{value:N.id,children:N.name},N.id))]})]})})]})]})}const uz=["Cloud sync across devices","Cloud task dispatch","OAuth integrations (Gmail, Slack)","Webhook relay","Cloud dashboard at ohwow.fun","Team management"];function dz(){const{tier:e,loading:a}=Jf(),l=n0(),[i,c]=r.useState("general"),u=e!=="free",{data:d}=je("/health"),{data:h}=je("/api/settings/license_key"),{data:m}=je("/api/settings/cloud_url"),p=()=>{AA(),l("/login",{replace:!0})},g=(x,y=8)=>x?x.slice(0,y)+"•".repeat(Math.max(0,Math.min(x.length-y,20))):"Not set";return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Settings",subtitle:"Runtime configuration"}),!a&&s.jsx("div",{className:"mb-6",children:s.jsx("span",{"data-testid":"runtime-settings-tier-badge",className:`inline-flex items-center px-2.5 py-1 rounded-md text-xs font-semibold ${u?"bg-success/15 text-success":"bg-cyan-500/15 text-cyan-400"}`,children:u?"Connected":"Local"})}),d&&s.jsxs("div",{className:"mb-2 text-xs text-neutral-400",children:[s.jsx("span",{className:d.status==="healthy"?"text-success":"text-warning",children:"●"})," ","Connected · Running on v",d.version," · Up ",wM(d.uptime)]}),s.jsx("div",{className:"flex gap-1 mb-6 border-b border-white/[0.08]",children:[{key:"general",label:"General"},{key:"integrations",label:"Integrations"},{key:"models",label:"Models"}].map(x=>s.jsx("button",{onClick:()=>c(x.key),className:`px-3 py-2 text-xs font-medium border-b-2 transition-colors ${i===x.key?"border-white text-white":"border-transparent text-neutral-400 hover:text-white"}`,children:x.label},x.key))}),i==="general"&&s.jsxs(s.Fragment,{children:[u&&!a&&s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Connection"}),s.jsxs("div",{className:"bg-white/5 border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:[s.jsx(ya,{label:"Cloud URL",value:(m==null?void 0:m.value)||"Not configured"}),s.jsx(ya,{label:"Status",value:"Connected",valueColor:"text-success"}),s.jsx(ya,{label:"License key",value:g(h==null?void 0:h.value)})]})]}),s.jsx(Wq,{}),s.jsxs("div",{className:"mb-6",children:[s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Quick links"}),s.jsxs("div",{className:"flex gap-2 flex-wrap",children:[s.jsx(T0,{to:"/connections",className:"px-3 py-1.5 text-xs font-medium bg-white/5 border border-white/[0.08] rounded-lg hover:border-white/20 transition-colors",children:"A2A Connections"}),s.jsx(T0,{to:"/schedules",className:"px-3 py-1.5 text-xs font-medium bg-white/5 border border-white/[0.08] rounded-lg hover:border-white/20 transition-colors",children:"Schedules"}),s.jsx(T0,{to:"/automations",className:"px-3 py-1.5 text-xs font-medium bg-white/5 border border-white/[0.08] rounded-lg hover:border-white/20 transition-colors",children:"Automations"})]})]}),!u&&!a&&s.jsxs("div",{"data-testid":"runtime-settings-upgrade-cta",className:"mb-6 bg-white/[0.02] border border-white/[0.08] rounded-lg p-5",children:[s.jsx("h3",{className:"text-sm font-semibold text-white mb-2",children:"Connect to ohwow.fun cloud"}),s.jsx("p",{className:"text-xs text-neutral-400 mb-4",children:"Add cloud features to your local runtime:"}),s.jsx("ul",{className:"space-y-1.5 mb-4",children:uz.map(x=>s.jsxs("li",{className:"flex items-center gap-2 text-xs text-neutral-400",children:[s.jsx("span",{className:"text-white",children:"+"}),x]},x))}),s.jsx("a",{"data-testid":"runtime-settings-upgrade-link",href:"https://ohwow.fun",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center px-3 py-1.5 text-xs font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:"Get a license key"})]}),s.jsx("div",{className:"mb-6",children:s.jsx("button",{onClick:p,className:"px-4 py-2 text-sm text-critical border border-critical/30 rounded-lg hover:bg-critical/10 transition-colors",children:"Disconnect"})})]}),i==="integrations"&&s.jsx(ez,{}),i==="models"&&s.jsx(oz,{}),i==="integrations"&&s.jsx(cz,{})]})}const hz=["all","lead","client","partner","vendor"];function fz(){const e=Ja(["contact:upserted","contact:removed"]),[a,l]=r.useState("all"),[i,c]=r.useState(""),[u,d]=r.useState(!1),{data:h,loading:m,refetch:p}=je("/api/contacts",[e]),g=r.useMemo(()=>{if(!h)return[];let x=h;if(a!=="all"&&(x=x.filter(y=>y.contact_type===a)),i.trim()){const y=i.toLowerCase();x=x.filter(w=>w.name.toLowerCase().includes(y)||(w.email||"").toLowerCase().includes(y)||(w.company||"").toLowerCase().includes(y))}return x},[h,a,i]);return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Contacts",subtitle:"People and companies your agents interact with",action:s.jsxs("button",{onClick:()=>d(!u),className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," New contact"]})}),u&&s.jsx(mz,{onClose:()=>d(!1),onSuccess:p}),s.jsx("div",{className:"flex gap-1 mb-4 overflow-x-auto",children:hz.map(x=>s.jsx("button",{onClick:()=>l(x),className:`px-3 py-1 rounded text-xs capitalize transition-colors ${a===x?"bg-white/10 text-white":"text-neutral-400 hover:text-white"}`,children:x},x))}),s.jsxs("div",{className:"relative mb-4",children:[s.jsx(jn,{size:14,className:"absolute left-3 top-1/2 -translate-y-1/2 text-neutral-400"}),s.jsx("input",{value:i,onChange:x=>c(x.target.value),placeholder:"Search by name, email, or company...",className:"w-full bg-white/5 border border-white/10 rounded-lg pl-8 pr-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),m?s.jsx(Qe,{count:5}):g.length?s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:g.map(x=>s.jsxs(bt,{to:`/contacts/${x.id}`,className:"flex items-center justify-between px-4 py-3 hover:bg-white/[0.02] transition-colors",children:[s.jsxs("div",{className:"min-w-0 mr-3",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:x.name}),s.jsxs("p",{className:"text-xs text-neutral-400",children:[x.email&&s.jsx("span",{children:x.email}),x.email&&x.company&&" · ",x.company&&s.jsx("span",{className:"text-white",children:x.company})]})]}),s.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[s.jsx("span",{className:"text-xs text-neutral-400 capitalize",children:x.contact_type}),s.jsx(ct,{status:x.status})]})]},x.id))}):s.jsx(Mt,{icon:s.jsx(hE,{size:32}),title:"No contacts yet",description:i?`No contacts matching "${i}".`:"Add your first contact to get started."})]})}function mz({onClose:e,onSuccess:a}){const[l,i]=r.useState(""),[c,u]=r.useState(""),[d,h]=r.useState(""),[m,p]=r.useState("lead"),[g,x]=r.useState(!1),y=async w=>{if(w.preventDefault(),!!l.trim()){x(!0);try{await fe("/api/contacts",{method:"POST",body:JSON.stringify({name:l.trim(),email:c.trim()||void 0,company:d.trim()||void 0,contact_type:m})}),a(),e()}catch{}finally{x(!1)}}};return s.jsxs("form",{onSubmit:y,className:"border border-white/[0.08] rounded-lg p-4 mb-4 space-y-3",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Name"}),s.jsx("input",{value:l,onChange:w=>i(w.target.value),placeholder:"Contact name",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Email"}),s.jsx("input",{value:c,onChange:w=>u(w.target.value),placeholder:"email@example.com",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Company"}),s.jsx("input",{value:d,onChange:w=>h(w.target.value),placeholder:"Company name",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Type"}),s.jsxs("select",{value:m,onChange:w=>p(w.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"lead",children:"Lead"}),s.jsx("option",{value:"client",children:"Client"}),s.jsx("option",{value:"partner",children:"Partner"}),s.jsx("option",{value:"vendor",children:"Vendor"})]})]})]}),s.jsxs("div",{className:"flex gap-2 justify-end",children:[s.jsx("button",{type:"button",onClick:e,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:g||!l.trim(),className:"px-3 py-1.5 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:g?"Creating...":"Create contact"})]})]})}function pz(){const{id:e}=gl(),a=n0(),l=Ja(["contact:upserted"]),{data:i,loading:c,refetch:u}=je(e?`/api/contacts/${e}`:null,[l]),{data:d}=je(e?`/api/contacts/${e}/timeline`:null,[l]),[h,m]=r.useState(!1),[p,g]=r.useState(""),[x,y]=r.useState(""),[w,N]=r.useState(""),[E,A]=r.useState(""),[j,S]=r.useState(""),[Z,C]=r.useState(!1),[H,_]=r.useState(!1),T=r.useCallback(()=>{i&&(g(i.name),y(i.email||""),N(i.phone||""),A(i.company||""),S(i.notes||""),m(!0))},[i]),k=r.useCallback(async()=>{if(!(!e||!p.trim())){C(!0);try{await fe(`/api/contacts/${e}`,{method:"PUT",body:JSON.stringify({name:p.trim(),email:x.trim()||null,phone:w.trim()||null,company:E.trim()||null,notes:j.trim()||null})}),m(!1),u()}catch{}finally{C(!1)}}},[e,p,x,w,E,j,u]),R=r.useCallback(async()=>{if(!(!e||!confirm("Delete this contact? This cannot be undone."))){_(!0);try{await fe(`/api/contacts/${e}`,{method:"DELETE"}),a("/contacts")}catch{_(!1)}}},[e,a]);return c?s.jsx("div",{className:"p-6",children:s.jsx(Qe,{count:4})}):i?s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsxs(bt,{to:"/contacts",className:"inline-flex items-center gap-1 text-xs text-neutral-400 hover:text-white mb-4",children:[s.jsx(Gr,{size:14})," Back to contacts"]}),s.jsx(ze,{title:i.name,subtitle:`${i.contact_type} · Added ${new Date(i.created_at).toLocaleDateString()}`,action:s.jsxs("div",{className:"flex items-center gap-2",children:[!h&&s.jsx("button",{onClick:T,className:"px-3 py-1.5 text-xs font-medium bg-white/5 border border-white/10 text-white rounded-lg hover:bg-white/10 transition-colors",children:"Edit"}),s.jsxs("button",{onClick:R,disabled:H,className:"flex items-center gap-1 px-3 py-1.5 text-xs font-medium bg-critical/10 border border-critical/30 text-critical rounded-lg hover:bg-critical/20 disabled:opacity-50 transition-colors",children:[s.jsx(qt,{size:14})," ",H?"Deleting...":"Delete"]}),s.jsx(ct,{status:i.status})]})}),h?s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-4 mb-6 space-y-3",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Name"}),s.jsx("input",{value:p,onChange:O=>g(O.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Email"}),s.jsx("input",{value:x,onChange:O=>y(O.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20"})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Phone"}),s.jsx("input",{value:w,onChange:O=>N(O.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Company"}),s.jsx("input",{value:E,onChange:O=>A(O.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20"})]})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Notes"}),s.jsx("textarea",{value:j,onChange:O=>S(O.target.value),rows:3,className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white resize-none focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{className:"flex gap-2 justify-end",children:[s.jsx("button",{onClick:()=>m(!1),className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{onClick:k,disabled:Z||!p.trim(),className:"px-3 py-1.5 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:Z?"Saving...":"Save"})]})]}):s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08] mb-6",children:[{label:"Email",value:i.email},{label:"Phone",value:i.phone},{label:"Company",value:i.company},{label:"Notes",value:i.notes}].map(O=>O.value?s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsx("span",{className:"text-sm text-neutral-400",children:O.label}),s.jsx("span",{className:"text-sm font-medium",children:O.value})]},O.label):null)}),s.jsx("h2",{className:"text-sm font-medium text-neutral-400 uppercase tracking-wider mb-3",children:"Timeline"}),d!=null&&d.length?s.jsx("div",{className:"space-y-2",children:d.map(O=>s.jsxs("div",{className:"border border-white/[0.08] rounded-lg px-4 py-3",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[s.jsx("span",{className:"text-xs text-white font-medium",children:O.event_type.replace(/_/g," ")}),s.jsx("span",{className:"text-xs text-neutral-400",children:new Date(O.created_at).toLocaleString()})]}),O.description&&s.jsx("p",{className:"text-sm",children:O.description})]},O.id))}):s.jsx(Mt,{icon:s.jsx(hE,{size:32}),title:"No activity yet",description:"Events will appear here as agents interact with this contact."})]}):s.jsx("div",{className:"p-6 text-neutral-400",children:"Contact not found"})}const gz=["all","active","completed","archived"],x7={blue:"bg-blue-500/20 border-blue-500/40",green:"bg-success/20 border-success/40",red:"bg-critical/20 border-critical/40",yellow:"bg-warning/20 border-warning/40",purple:"bg-warning/20 border-warning/40"};function xz(){const e=Ja(["project:created","project:updated"]),[a,l]=r.useState("all"),[i,c]=r.useState(""),[u,d]=r.useState(!1),{data:h,loading:m,refetch:p}=je("/api/projects",[e]),g=r.useMemo(()=>{if(!h)return[];let x=h;if(a!=="all"&&(x=x.filter(y=>y.status===a)),i.trim()){const y=i.toLowerCase();x=x.filter(w=>w.name.toLowerCase().includes(y)||(w.description||"").toLowerCase().includes(y))}return x},[h,a,i]);return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Projects",subtitle:"Organize work into projects",action:s.jsxs("button",{onClick:()=>d(!u),className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," New project"]})}),u&&s.jsx(vz,{onClose:()=>d(!1),onSuccess:p}),s.jsx("div",{className:"flex gap-1 mb-4 overflow-x-auto",children:gz.map(x=>s.jsx("button",{onClick:()=>l(x),className:`px-3 py-1 rounded text-xs capitalize transition-colors ${a===x?"bg-white/10 text-white":"text-neutral-400 hover:text-white"}`,children:x},x))}),s.jsxs("div",{className:"relative mb-4",children:[s.jsx(jn,{size:14,className:"absolute left-3 top-1/2 -translate-y-1/2 text-neutral-400"}),s.jsx("input",{value:i,onChange:x=>c(x.target.value),placeholder:"Search projects...",className:"w-full bg-white/5 border border-white/10 rounded-lg pl-8 pr-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),m?s.jsx(Qe,{count:4}):g.length?s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:g.map(x=>s.jsxs(bt,{to:`/projects/${x.id}`,className:`border rounded-lg p-4 hover:bg-white/[0.02] transition-colors ${x.color&&x7[x.color]?x7[x.color]:"border-white/[0.08]"}`,children:[s.jsxs("div",{className:"flex items-start justify-between mb-2",children:[s.jsx("h3",{className:"text-sm font-medium truncate",children:x.name}),s.jsx(ct,{status:x.status})]}),x.description&&s.jsx("p",{className:"text-xs text-neutral-400 line-clamp-2",children:x.description}),s.jsx("p",{className:"text-xs text-neutral-400 mt-2",children:new Date(x.created_at).toLocaleDateString()})]},x.id))}):s.jsx(Mt,{icon:s.jsx(Yf,{size:32}),title:"No projects yet",description:i?`No projects matching "${i}".`:"Create your first project to organize work."})]})}function vz({onClose:e,onSuccess:a}){const[l,i]=r.useState(""),[c,u]=r.useState(""),[d,h]=r.useState(""),[m,p]=r.useState(!1),g=async x=>{if(x.preventDefault(),!!l.trim()){p(!0);try{await fe("/api/projects",{method:"POST",body:JSON.stringify({name:l.trim(),description:c.trim()||void 0,color:d||void 0})}),a(),e()}catch{}finally{p(!1)}}};return s.jsxs("form",{onSubmit:g,className:"border border-white/[0.08] rounded-lg p-4 mb-4 space-y-3",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Name"}),s.jsx("input",{value:l,onChange:x=>i(x.target.value),placeholder:"Project name",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Color"}),s.jsxs("select",{value:d,onChange:x=>h(x.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"",children:"None"}),s.jsx("option",{value:"blue",children:"Blue"}),s.jsx("option",{value:"green",children:"Green"}),s.jsx("option",{value:"red",children:"Red"}),s.jsx("option",{value:"yellow",children:"Yellow"}),s.jsx("option",{value:"purple",children:"Purple"})]})]})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Description (optional)"}),s.jsx("textarea",{value:c,onChange:x=>u(x.target.value),rows:2,className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20 resize-none"})]}),s.jsxs("div",{className:"flex gap-2 justify-end",children:[s.jsx("button",{type:"button",onClick:e,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:m||!l.trim(),className:"px-3 py-1.5 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:m?"Creating...":"Create project"})]})]})}const bz=[{id:"queued",label:"Queued",textColor:"text-neutral-400",bgColor:"bg-white/[0.04]"},{id:"in_progress",label:"In Progress",textColor:"text-blue-400",bgColor:"bg-blue-500/[0.08]"},{id:"completed",label:"Completed",textColor:"text-success",bgColor:"bg-success/[0.08]"},{id:"failed",label:"Failed",textColor:"text-critical",bgColor:"bg-critical/[0.08]"}];function yz({task:e}){return s.jsx(bt,{to:`/tasks/${e.id}`,className:"block border border-white/[0.08] bg-white/[0.02] rounded-lg p-3 hover:bg-white/[0.04] transition-colors group",children:s.jsxs("div",{className:"flex items-start gap-2",children:[s.jsx(VO,{size:14,className:"text-neutral-600 mt-0.5 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity"}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:e.title}),s.jsxs("div",{className:"flex items-center gap-2 mt-1.5",children:[e.priority&&e.priority!=="normal"&&s.jsx("span",{className:"text-xs text-warning",children:e.priority}),e.tokens_used?s.jsxs("span",{className:"text-xs text-neutral-500",children:[e.tokens_used.toLocaleString()," tok"]}):null]}),s.jsx("p",{className:"text-xs text-neutral-500 mt-1",children:new Date(e.created_at).toLocaleDateString()})]})]})})}function wz({tasks:e}){const a=r.useMemo(()=>bz.map(l=>({...l,tasks:e.filter(i=>i.status===l.id)})),[e]);return s.jsx("div",{className:"flex gap-4 overflow-x-auto pb-4",children:a.map(l=>s.jsxs("div",{className:"min-w-[240px] flex-1",children:[s.jsxs("div",{className:`flex items-center justify-between rounded-lg px-3 py-2 mb-3 ${l.bgColor}`,children:[s.jsx("span",{className:`text-xs font-semibold uppercase tracking-wider ${l.textColor}`,children:l.label}),s.jsx("span",{className:`text-xs ${l.textColor} opacity-70`,children:l.tasks.length})]}),s.jsx("div",{className:"space-y-2",children:l.tasks.length===0?s.jsx("p",{className:"text-xs text-neutral-600 text-center py-6",children:"No tasks"}):l.tasks.map(i=>s.jsx(De.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.2},children:s.jsx(yz,{task:i})},i.id))})]},l.id))})}const Az=[{id:"board",label:"Board"},{id:"list",label:"List"}];function jz(){const{id:e}=gl(),[a,l]=r.useState("board"),i=Ja(["task:started","task:completed","task:failed"]),{data:c,loading:u}=je(e?`/api/projects/${e}`:null),{data:d}=je(e?`/api/projects/${e}/tasks`:null,[i]);return u?s.jsx("div",{className:"p-6",children:s.jsx(Qe,{count:4})}):c?s.jsxs("div",{className:"p-6 max-w-6xl",children:[s.jsxs(bt,{to:"/projects",className:"inline-flex items-center gap-1 text-xs text-neutral-400 hover:text-white mb-4",children:[s.jsx(Gr,{size:14})," Back to projects"]}),s.jsx(ze,{title:c.name,subtitle:c.description||`Created ${new Date(c.created_at).toLocaleDateString()}`,action:s.jsx(ct,{status:c.status})}),d&&s.jsxs("div",{className:"grid grid-cols-3 gap-3 mb-8",children:[s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-3",children:[s.jsx("p",{className:"text-xs text-neutral-400",children:"Total tasks"}),s.jsx("p",{className:"text-lg font-bold",children:d.length})]}),s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-3",children:[s.jsx("p",{className:"text-xs text-neutral-400",children:"Completed"}),s.jsx("p",{className:"text-lg font-bold",children:d.filter(h=>h.status==="completed").length})]}),s.jsxs("div",{className:"border border-white/[0.08] rounded-lg p-3",children:[s.jsx("p",{className:"text-xs text-neutral-400",children:"In progress"}),s.jsx("p",{className:"text-lg font-bold",children:d.filter(h=>h.status==="in_progress").length})]})]}),s.jsx("div",{className:"mb-4",children:s.jsx(Ml,{tabs:Az,activeTab:a,onTabChange:h=>l(h),layoutId:"project-view-tabs"})}),d!=null&&d.length?a==="board"?s.jsx(wz,{tasks:d}):s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:d.map(h=>s.jsxs(bt,{to:`/tasks/${h.id}`,className:"flex items-center justify-between px-4 py-3 hover:bg-white/[0.02] transition-colors",children:[s.jsxs("div",{className:"min-w-0 mr-3",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:h.title}),s.jsx("p",{className:"text-xs text-neutral-400",children:new Date(h.created_at).toLocaleString()})]}),s.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[h.priority&&h.priority!=="normal"&&s.jsx("span",{className:"text-xs text-warning",children:h.priority}),s.jsx(ct,{status:h.status})]})]},h.id))}):s.jsx(Mt,{icon:s.jsx(O1,{size:32}),title:"No tasks in this project",description:"Tasks assigned to this project will appear here."})]}):s.jsx("div",{className:"p-6 text-neutral-400",children:"Project not found"})}const Ez={webhook:Nl,schedule:jl,event:If,manual:Gf};function Nz(e){if(!e)return"Never";const a=Date.now()-new Date(e).getTime(),l=Math.floor(a/6e4);if(l<1)return"just now";if(l<60)return`${l}m ago`;const i=Math.floor(l/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}function Mz(){const e=n0(),[a,l]=r.useState([]),[i,c]=r.useState(!0),[u,d]=r.useState(""),[h,m]=r.useState(null),p=async()=>{try{const w=await fe("/api/automations");l(w.data||[])}catch{ce("error","Couldn't load automations")}finally{c(!1)}};r.useEffect(()=>{p()},[]);const g=a.filter(w=>w.name.toLowerCase().includes(u.toLowerCase())),x=async(w,N)=>{try{await fe(`/api/automations/${w}`,{method:"PATCH",body:JSON.stringify({enabled:N})}),l(E=>E.map(A=>A.id===w?{...A,enabled:N}:A))}catch{ce("error","Couldn't update automation")}},y=async()=>{if(h){try{await fe(`/api/automations/${h}`,{method:"DELETE"}),l(w=>w.filter(N=>N.id!==h)),ce("success","Automation deleted")}catch{ce("error","Couldn't delete automation")}m(null)}};return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Automations",subtitle:"Build visual automation flows with triggers, conditions, and actions",action:s.jsxs("button",{onClick:()=>e("/automations/new"),className:"flex items-center gap-1.5 rounded-lg bg-white px-3 py-1.5 text-xs font-medium text-black hover:bg-gray-200",children:[s.jsx(pt,{size:14,weight:"bold"}),"New automation"]})}),a.length>0&&s.jsxs("div",{className:"relative mb-4",children:[s.jsx(jn,{size:14,className:"absolute left-3 top-1/2 -translate-y-1/2 text-neutral-500"}),s.jsx("input",{type:"text",value:u,onChange:w=>d(w.target.value),placeholder:"Search automations...",className:"w-full pl-9 pr-3 py-2 bg-white/[0.03] border border-white/[0.08] rounded-lg text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),i?s.jsx("div",{className:"space-y-2",children:[1,2,3].map(w=>s.jsx(fl,{className:"h-16 rounded-lg"},w))}):a.length===0?s.jsx(Mt,{icon:s.jsx(ja,{size:32}),title:"No automations yet",description:"Create your first automation to connect triggers with actions",action:s.jsxs("button",{onClick:()=>e("/automations/new"),className:"flex items-center gap-1.5 rounded-lg bg-white/10 px-3 py-1.5 text-xs text-white hover:bg-white/20",children:[s.jsx(pt,{size:14,weight:"bold"}),"New automation"]})}):g.length===0?s.jsx("p",{className:"text-sm text-neutral-500 text-center py-8",children:"No automations match your search"}):s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:g.map(w=>{const N=Ez[w.trigger_type]||ja;return s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("button",{onClick:()=>e(`/automations/${w.id}/edit`),className:"min-w-0 mr-3 text-left flex-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(N,{size:14,className:"text-neutral-500 shrink-0"}),s.jsx("p",{className:"text-sm font-medium truncate",children:w.name})]}),s.jsxs("p",{className:"text-xs text-neutral-400 mt-0.5",children:[w.steps.length," ",w.steps.length===1?"step":"steps",w.last_fired_at&&` · Last run ${Nz(w.last_fired_at)}`]})]}),s.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[s.jsx(ml,{checked:w.enabled,onChange:E=>x(w.id,E)}),s.jsx("button",{onClick:()=>m(w.id),className:"text-neutral-500 hover:text-red-400 transition-colors",title:"Delete",children:s.jsx(qt,{size:14})})]})]},w.id)})}),s.jsx(s0,{open:!!h,title:"Delete automation",message:"This will permanently delete this automation and its history. This action can't be undone.",confirmLabel:"Delete",onConfirm:y,onClose:()=>m(null)})]})}const t0={agent_prompt:"AI Agent",run_agent:"Run Agent",save_contact:"Save Contact",update_contact:"Update Contact",log_contact_event:"Log Event",webhook_forward:"Forward Webhook",transform_data:"Transform Data",conditional:"Conditional"},Sz={agent_prompt:"Have an AI agent process data and generate a response",run_agent:"Assign a task to an AI agent with context from the trigger",save_contact:"Create or update a contact from the data",update_contact:"Find and update an existing contact",log_contact_event:"Add a timeline event to an existing contact",webhook_forward:"Forward the data to an external URL",transform_data:"Transform and reshape data between steps",conditional:"Branch execution based on a condition"},AM={save_contact:["contact_id","name","email","created"],update_contact:["contact_id","updated_fields"],log_contact_event:["event_id","contact_id"],run_agent:["task_id","agent_id","status"],agent_prompt:["text"],a2a_call:["text","status"],create_task:["task_id","title","status"],webhook_forward:["status_code","response_body"],transform_data:[],conditional:["branch","branch_output"],run_workflow:["workflow_run_id","status"],take_screenshot:["screenshot_url","page_title","page_url"],generate_chart:["chart_url","chart_type","width","height"]};function R0(e){var a;return e.action_type==="transform_data"?(((a=e.action_config)==null?void 0:a.mappings)||[]).map(c=>c.target).filter(Boolean):AM[e.action_type]||[]}function v1(e,a=""){const l={};for(const[i,c]of Object.entries(e)){const u=a?`${a}.${i}`:i;if(c!==null&&typeof c=="object"&&!Array.isArray(c)){const d=v1(c,u);Object.assign(l,d.payload)}else l[u]=c}return{fields:Object.keys(l),payload:l}}function Sl(e){var u;const{sampleFields:a,samplePayload:l,previousSteps:i}=e,c=[];if(a.length>0){const d=a.map(h=>{let m;if(l&&h in l){const p=l[h];m=typeof p=="string"?p:JSON.stringify(p)}return{name:h,path:`trigger.${h}`,value:m}});c.push({label:"Trigger",prefix:"trigger",fields:d})}for(const d of i){let h=AM[d.action_type]||[];if(d.action_type==="transform_data"&&(h=(((u=d.action_config)==null?void 0:u.mappings)||[]).map(p=>p.target).filter(Boolean)),h.length>0){const m=d.label||d.action_type,p=h.map(g=>({name:g,path:`${d.id}.${g}`}));c.push({label:`Step ${d.id.replace("step_","")}: ${m}`,prefix:d.id,fields:p})}}return c}function jM(e){const a=[],l=/\{\{([^}]+)\}\}/g;let i;for(;(i=l.exec(e))!==null;)a.push(i[1].trim());return a}function Zz(e,a){const l=new Set(a);return e.filter(i=>!l.has(i))}const Qn={trigger:{width:280,height:80},step:{width:280,height:80},conditional:{width:280,height:100},addStep:{width:200,height:40}},Ia="trigger",V0=e=>`add-after-${e}`;function Cz(e,a){const l=JSON.stringify(e.action_config||{})+(e.prompt||""),i=jM(l);if(i.length===0)return[];const c={};for(const d of i){const h=d.split(".")[0];c[h]=(c[h]||0)+1}const u=[];for(const[d,h]of Object.entries(c))if(d==="trigger")u.push({label:"Trigger",count:h});else{const m=a.find(p=>p.id===d);u.push({label:(m==null?void 0:m.label)||d,count:h})}return u}function EM(e){const a=[],l=[],i=e.node_positions;a.push({id:Ia,type:"trigger",position:(i==null?void 0:i[Ia])||{x:0,y:0},...Qn.trigger,data:{triggerType:e.trigger_type,triggerConfig:e.trigger_config,name:e.name,description:e.description||"",cooldownSeconds:e.cooldown_seconds,variables:e.variables||[],sampleFields:e.sample_fields||[],samplePayload:e.sample_payload||null}});let c=Ia;const u=[];for(let h=0;h<e.steps.length;h++){const m=e.steps[h],p=m.id;if(m.step_type==="conditional"){const g=m.action_config||{},x=g.condition||{field:"",operator:"equals",value:""};a.push({id:p,type:"conditional",position:(i==null?void 0:i[p])||{x:0,y:0},...Qn.conditional,data:{stepIndex:h,stepId:m.id,stepType:m.step_type,label:m.label||"Conditional",actionConfig:g,outputFields:["branch","branch_output"],condition:x}}),l.push({id:`${c}->${p}`,source:c,target:p,type:"dataFlow"});const y=g.then_actions||[];let w=p;for(let S=0;S<y.length;S++){const Z=y[S],C=`${p}-then-${S}`;a.push({id:C,type:"step",position:(i==null?void 0:i[C])||{x:0,y:0},...Qn.step,data:{stepIndex:-1,stepId:Z.id,stepType:Z.action_type,label:Z.label||t0[Z.action_type]||Z.action_type,actionConfig:Z.action_config||{},outputFields:R0(Z),branchType:"then",parentConditionalId:p,branchIndex:S}}),l.push({id:`${w}->${C}`,source:w,sourceHandle:w===p?"then":void 0,target:C,type:"dataFlow",data:{branchType:"then"}}),w=C}const N=V0(`${p}-then`);a.push({id:N,type:"addStep",position:(i==null?void 0:i[N])||{x:0,y:0},...Qn.addStep,data:{parentNodeId:w,insertIndex:y.length,branchType:"then",conditionalNodeId:p}}),l.push({id:`${w}->${N}`,source:w,sourceHandle:w===p?"then":void 0,target:N,type:"addStepEdge",data:{branchType:"then"}});const E=g.else_actions||[];let A=p;for(let S=0;S<E.length;S++){const Z=E[S],C=`${p}-else-${S}`;a.push({id:C,type:"step",position:(i==null?void 0:i[C])||{x:0,y:0},...Qn.step,data:{stepIndex:-1,stepId:Z.id,stepType:Z.action_type,label:Z.label||t0[Z.action_type]||Z.action_type,actionConfig:Z.action_config||{},outputFields:R0(Z),branchType:"else",parentConditionalId:p,branchIndex:S}}),l.push({id:`${A}->${C}`,source:A,sourceHandle:A===p?"else":void 0,target:C,type:"dataFlow",data:{branchType:"else"}}),A=C}const j=V0(`${p}-else`);a.push({id:j,type:"addStep",position:(i==null?void 0:i[j])||{x:0,y:0},...Qn.addStep,data:{parentNodeId:A,insertIndex:E.length,branchType:"else",conditionalNodeId:p}}),l.push({id:`${A}->${j}`,source:A,sourceHandle:A===p?"else":void 0,target:j,type:"addStepEdge",data:{branchType:"else"}}),u.push({id:m.id,label:m.label||"Conditional"}),c=p}else{const g={id:m.id,action_type:m.step_type,action_config:m.action_config||{},label:m.label},x=m.label||t0[m.step_type]||m.step_type,y=Cz(m,u);a.push({id:p,type:"step",position:(i==null?void 0:i[p])||{x:0,y:0},...Qn.step,data:{stepIndex:h,stepId:m.id,stepType:m.step_type,label:x,actionConfig:m.action_config||{},outputFields:R0(g),inputSources:y,agentId:m.agent_id,agentName:m.agent_name,prompt:m.prompt,requiredIntegrations:m.required_integrations,connectionId:m.connection_id}}),l.push({id:`${c}->${p}`,source:c,target:p,type:"dataFlow"}),u.push({id:m.id,label:x}),c=p}}const d=V0(c);return a.push({id:d,type:"addStep",position:(i==null?void 0:i[d])||{x:0,y:0},...Qn.addStep,data:{parentNodeId:c,insertIndex:e.steps.length}}),l.push({id:`${c}->${d}`,source:c,target:d,type:"addStepEdge"}),{nodes:a,edges:l,hasCustomPositions:!!i&&Object.keys(i).length>0}}function Hz(e,a){var d;const l=e.find(h=>h.type==="trigger");if(!l)throw new Error("No trigger node found");const i=l.data,c=_z(e,a),u={};for(const h of e)h.type!=="addStep"&&(u[h.id]={x:h.position.x,y:h.position.y});return{name:i.name,description:i.description||void 0,trigger_type:i.triggerType,trigger_config:i.triggerConfig,steps:c,variables:(d=i.variables)!=null&&d.length?i.variables:void 0,cooldown_seconds:i.cooldownSeconds,node_positions:u}}function _z(e,a){const l=[],i=a.filter(d=>!d.sourceHandle||d.sourceHandle!=="then"&&d.sourceHandle!=="else");let c=Ia;const u=new Set;for(;;){u.add(c);const d=i.find(m=>m.source===c&&!u.has(m.target));if(!d)break;const h=e.find(m=>m.id===d.target);if(!h||h.type==="addStep")break;if(h.type==="conditional"){const m=h.data,p=v7(e,a,h.id,"then"),g=v7(e,a,h.id,"else");l.push({id:m.stepId,step_type:"conditional",label:m.label,action_config:{...m.actionConfig,condition:m.condition,then_actions:p,else_actions:g}})}else if(h.type==="step"){const m=h.data;l.push(Vz(m))}c=h.id}return l.map((d,h)=>({...d,id:`step_${h+1}`}))}function v7(e,a,l,i){const c=[];let u=l;const d=new Set;for(;;){d.add(u);const h=a.find(p=>p.source===u&&!d.has(p.target)&&(u===l?p.sourceHandle===i:!0));if(!h)break;const m=e.find(p=>p.id===h.target);if(!m||m.type==="addStep")break;if(m.type==="step"){const p=m.data;c.push({id:p.stepId,action_type:p.stepType,action_config:p.actionConfig,label:p.label})}u=m.id}return c.map((h,m)=>({...h,id:`${i}_step_${m+1}`}))}function Vz(e){return{id:e.stepId,step_type:e.stepType,label:e.label,action_config:e.actionConfig,agent_id:e.agentId,agent_name:e.agentName,prompt:e.prompt,required_integrations:e.requiredIntegrations,connection_id:e.connectionId}}function Tz(){return EM({name:"",description:null,trigger_type:"webhook",trigger_config:{},steps:[],variables:[],cooldown_seconds:0,sample_payload:null,sample_fields:null})}function em(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var K2,b7;function Lz(){if(b7)return K2;b7=1;function e(){this.__data__=[],this.size=0}return K2=e,K2}var X2,y7;function Kr(){if(y7)return X2;y7=1;function e(a,l){return a===l||a!==a&&l!==l}return X2=e,X2}var Q2,w7;function z1(){if(w7)return Q2;w7=1;var e=Kr();function a(l,i){for(var c=l.length;c--;)if(e(l[c][0],i))return c;return-1}return Q2=a,Q2}var J2,A7;function Rz(){if(A7)return J2;A7=1;var e=z1(),a=Array.prototype,l=a.splice;function i(c){var u=this.__data__,d=e(u,c);if(d<0)return!1;var h=u.length-1;return d==h?u.pop():l.call(u,d,1),--this.size,!0}return J2=i,J2}var W2,j7;function kz(){if(j7)return W2;j7=1;var e=z1();function a(l){var i=this.__data__,c=e(i,l);return c<0?void 0:i[c][1]}return W2=a,W2}var eu,E7;function Dz(){if(E7)return eu;E7=1;var e=z1();function a(l){return e(this.__data__,l)>-1}return eu=a,eu}var tu,N7;function Oz(){if(N7)return tu;N7=1;var e=z1();function a(l,i){var c=this.__data__,u=e(c,l);return u<0?(++this.size,c.push([l,i])):c[u][1]=i,this}return tu=a,tu}var au,M7;function B1(){if(M7)return au;M7=1;var e=Lz(),a=Rz(),l=kz(),i=Dz(),c=Oz();function u(d){var h=-1,m=d==null?0:d.length;for(this.clear();++h<m;){var p=d[h];this.set(p[0],p[1])}}return u.prototype.clear=e,u.prototype.delete=a,u.prototype.get=l,u.prototype.has=i,u.prototype.set=c,au=u,au}var nu,S7;function Fz(){if(S7)return nu;S7=1;var e=B1();function a(){this.__data__=new e,this.size=0}return nu=a,nu}var ru,Z7;function qz(){if(Z7)return ru;Z7=1;function e(a){var l=this.__data__,i=l.delete(a);return this.size=l.size,i}return ru=e,ru}var su,C7;function zz(){if(C7)return su;C7=1;function e(a){return this.__data__.get(a)}return su=e,su}var lu,H7;function Bz(){if(H7)return lu;H7=1;function e(a){return this.__data__.has(a)}return lu=e,lu}var iu,_7;function NM(){if(_7)return iu;_7=1;var e=typeof Ji=="object"&&Ji&&Ji.Object===Object&&Ji;return iu=e,iu}var ou,V7;function Fa(){if(V7)return ou;V7=1;var e=NM(),a=typeof self=="object"&&self&&self.Object===Object&&self,l=e||a||Function("return this")();return ou=l,ou}var cu,T7;function Xr(){if(T7)return cu;T7=1;var e=Fa(),a=e.Symbol;return cu=a,cu}var uu,L7;function $z(){if(L7)return uu;L7=1;var e=Xr(),a=Object.prototype,l=a.hasOwnProperty,i=a.toString,c=e?e.toStringTag:void 0;function u(d){var h=l.call(d,c),m=d[c];try{d[c]=void 0;var p=!0}catch{}var g=i.call(d);return p&&(h?d[c]=m:delete d[c]),g}return uu=u,uu}var du,R7;function Uz(){if(R7)return du;R7=1;var e=Object.prototype,a=e.toString;function l(i){return a.call(i)}return du=l,du}var hu,k7;function D0(){if(k7)return hu;k7=1;var e=Xr(),a=$z(),l=Uz(),i="[object Null]",c="[object Undefined]",u=e?e.toStringTag:void 0;function d(h){return h==null?h===void 0?c:i:u&&u in Object(h)?a(h):l(h)}return hu=d,hu}var fu,D7;function Ma(){if(D7)return fu;D7=1;function e(a){var l=typeof a;return a!=null&&(l=="object"||l=="function")}return fu=e,fu}var mu,O7;function Zl(){if(O7)return mu;O7=1;var e=D0(),a=Ma(),l="[object AsyncFunction]",i="[object Function]",c="[object GeneratorFunction]",u="[object Proxy]";function d(h){if(!a(h))return!1;var m=e(h);return m==i||m==c||m==l||m==u}return mu=d,mu}var pu,F7;function Iz(){if(F7)return pu;F7=1;var e=Fa(),a=e["__core-js_shared__"];return pu=a,pu}var gu,q7;function Pz(){if(q7)return gu;q7=1;var e=Iz(),a=(function(){var i=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})();function l(i){return!!a&&a in i}return gu=l,gu}var xu,z7;function MM(){if(z7)return xu;z7=1;var e=Function.prototype,a=e.toString;function l(i){if(i!=null){try{return a.call(i)}catch{}try{return i+""}catch{}}return""}return xu=l,xu}var vu,B7;function Gz(){if(B7)return vu;B7=1;var e=Zl(),a=Pz(),l=Ma(),i=MM(),c=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,d=Function.prototype,h=Object.prototype,m=d.toString,p=h.hasOwnProperty,g=RegExp("^"+m.call(p).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function x(y){if(!l(y)||a(y))return!1;var w=e(y)?g:u;return w.test(i(y))}return vu=x,vu}var bu,$7;function Yz(){if($7)return bu;$7=1;function e(a,l){return a==null?void 0:a[l]}return bu=e,bu}var yu,U7;function O0(){if(U7)return yu;U7=1;var e=Gz(),a=Yz();function l(i,c){var u=a(i,c);return e(u)?u:void 0}return yu=l,yu}var wu,I7;function tm(){if(I7)return wu;I7=1;var e=O0(),a=Fa(),l=e(a,"Map");return wu=l,wu}var Au,P7;function $1(){if(P7)return Au;P7=1;var e=O0(),a=e(Object,"create");return Au=a,Au}var ju,G7;function Kz(){if(G7)return ju;G7=1;var e=$1();function a(){this.__data__=e?e(null):{},this.size=0}return ju=a,ju}var Eu,Y7;function Xz(){if(Y7)return Eu;Y7=1;function e(a){var l=this.has(a)&&delete this.__data__[a];return this.size-=l?1:0,l}return Eu=e,Eu}var Nu,K7;function Qz(){if(K7)return Nu;K7=1;var e=$1(),a="__lodash_hash_undefined__",l=Object.prototype,i=l.hasOwnProperty;function c(u){var d=this.__data__;if(e){var h=d[u];return h===a?void 0:h}return i.call(d,u)?d[u]:void 0}return Nu=c,Nu}var Mu,X7;function Jz(){if(X7)return Mu;X7=1;var e=$1(),a=Object.prototype,l=a.hasOwnProperty;function i(c){var u=this.__data__;return e?u[c]!==void 0:l.call(u,c)}return Mu=i,Mu}var Su,Q7;function Wz(){if(Q7)return Su;Q7=1;var e=$1(),a="__lodash_hash_undefined__";function l(i,c){var u=this.__data__;return this.size+=this.has(i)?0:1,u[i]=e&&c===void 0?a:c,this}return Su=l,Su}var Zu,J7;function eB(){if(J7)return Zu;J7=1;var e=Kz(),a=Xz(),l=Qz(),i=Jz(),c=Wz();function u(d){var h=-1,m=d==null?0:d.length;for(this.clear();++h<m;){var p=d[h];this.set(p[0],p[1])}}return u.prototype.clear=e,u.prototype.delete=a,u.prototype.get=l,u.prototype.has=i,u.prototype.set=c,Zu=u,Zu}var Cu,W7;function tB(){if(W7)return Cu;W7=1;var e=eB(),a=B1(),l=tm();function i(){this.size=0,this.__data__={hash:new e,map:new(l||a),string:new e}}return Cu=i,Cu}var Hu,ev;function aB(){if(ev)return Hu;ev=1;function e(a){var l=typeof a;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?a!=="__proto__":a===null}return Hu=e,Hu}var _u,tv;function U1(){if(tv)return _u;tv=1;var e=aB();function a(l,i){var c=l.__data__;return e(i)?c[typeof i=="string"?"string":"hash"]:c.map}return _u=a,_u}var Vu,av;function nB(){if(av)return Vu;av=1;var e=U1();function a(l){var i=e(this,l).delete(l);return this.size-=i?1:0,i}return Vu=a,Vu}var Tu,nv;function rB(){if(nv)return Tu;nv=1;var e=U1();function a(l){return e(this,l).get(l)}return Tu=a,Tu}var Lu,rv;function sB(){if(rv)return Lu;rv=1;var e=U1();function a(l){return e(this,l).has(l)}return Lu=a,Lu}var Ru,sv;function lB(){if(sv)return Ru;sv=1;var e=U1();function a(l,i){var c=e(this,l),u=c.size;return c.set(l,i),this.size+=c.size==u?0:1,this}return Ru=a,Ru}var ku,lv;function am(){if(lv)return ku;lv=1;var e=tB(),a=nB(),l=rB(),i=sB(),c=lB();function u(d){var h=-1,m=d==null?0:d.length;for(this.clear();++h<m;){var p=d[h];this.set(p[0],p[1])}}return u.prototype.clear=e,u.prototype.delete=a,u.prototype.get=l,u.prototype.has=i,u.prototype.set=c,ku=u,ku}var Du,iv;function iB(){if(iv)return Du;iv=1;var e=B1(),a=tm(),l=am(),i=200;function c(u,d){var h=this.__data__;if(h instanceof e){var m=h.__data__;if(!a||m.length<i-1)return m.push([u,d]),this.size=++h.size,this;h=this.__data__=new l(m)}return h.set(u,d),this.size=h.size,this}return Du=c,Du}var Ou,ov;function I1(){if(ov)return Ou;ov=1;var e=B1(),a=Fz(),l=qz(),i=zz(),c=Bz(),u=iB();function d(h){var m=this.__data__=new e(h);this.size=m.size}return d.prototype.clear=a,d.prototype.delete=l,d.prototype.get=i,d.prototype.has=c,d.prototype.set=u,Ou=d,Ou}var Fu,cv;function nm(){if(cv)return Fu;cv=1;function e(a,l){for(var i=-1,c=a==null?0:a.length;++i<c&&l(a[i],i,a)!==!1;);return a}return Fu=e,Fu}var qu,uv;function SM(){if(uv)return qu;uv=1;var e=O0(),a=(function(){try{var l=e(Object,"defineProperty");return l({},"",{}),l}catch{}})();return qu=a,qu}var zu,dv;function P1(){if(dv)return zu;dv=1;var e=SM();function a(l,i,c){i=="__proto__"&&e?e(l,i,{configurable:!0,enumerable:!0,value:c,writable:!0}):l[i]=c}return zu=a,zu}var Bu,hv;function G1(){if(hv)return Bu;hv=1;var e=P1(),a=Kr(),l=Object.prototype,i=l.hasOwnProperty;function c(u,d,h){var m=u[d];(!(i.call(u,d)&&a(m,h))||h===void 0&&!(d in u))&&e(u,d,h)}return Bu=c,Bu}var $u,fv;function Cl(){if(fv)return $u;fv=1;var e=G1(),a=P1();function l(i,c,u,d){var h=!u;u||(u={});for(var m=-1,p=c.length;++m<p;){var g=c[m],x=d?d(u[g],i[g],g,u,i):void 0;x===void 0&&(x=i[g]),h?a(u,g,x):e(u,g,x)}return u}return $u=l,$u}var Uu,mv;function oB(){if(mv)return Uu;mv=1;function e(a,l){for(var i=-1,c=Array(a);++i<a;)c[i]=l(i);return c}return Uu=e,Uu}var Iu,pv;function Wa(){if(pv)return Iu;pv=1;function e(a){return a!=null&&typeof a=="object"}return Iu=e,Iu}var Pu,gv;function cB(){if(gv)return Pu;gv=1;var e=D0(),a=Wa(),l="[object Arguments]";function i(c){return a(c)&&e(c)==l}return Pu=i,Pu}var Gu,xv;function Hl(){if(xv)return Gu;xv=1;var e=cB(),a=Wa(),l=Object.prototype,i=l.hasOwnProperty,c=l.propertyIsEnumerable,u=e((function(){return arguments})())?e:function(d){return a(d)&&i.call(d,"callee")&&!c.call(d,"callee")};return Gu=u,Gu}var Yu,vv;function gt(){if(vv)return Yu;vv=1;var e=Array.isArray;return Yu=e,Yu}var Js={exports:{}},Ku,bv;function uB(){if(bv)return Ku;bv=1;function e(){return!1}return Ku=e,Ku}Js.exports;var yv;function Qr(){return yv||(yv=1,(function(e,a){var l=Fa(),i=uB(),c=a&&!a.nodeType&&a,u=c&&!0&&e&&!e.nodeType&&e,d=u&&u.exports===c,h=d?l.Buffer:void 0,m=h?h.isBuffer:void 0,p=m||i;e.exports=p})(Js,Js.exports)),Js.exports}var Xu,wv;function Y1(){if(wv)return Xu;wv=1;var e=9007199254740991,a=/^(?:0|[1-9]\d*)$/;function l(i,c){var u=typeof i;return c=c??e,!!c&&(u=="number"||u!="symbol"&&a.test(i))&&i>-1&&i%1==0&&i<c}return Xu=l,Xu}var Qu,Av;function rm(){if(Av)return Qu;Av=1;var e=9007199254740991;function a(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=e}return Qu=a,Qu}var Ju,jv;function dB(){if(jv)return Ju;jv=1;var e=D0(),a=rm(),l=Wa(),i="[object Arguments]",c="[object Array]",u="[object Boolean]",d="[object Date]",h="[object Error]",m="[object Function]",p="[object Map]",g="[object Number]",x="[object Object]",y="[object RegExp]",w="[object Set]",N="[object String]",E="[object WeakMap]",A="[object ArrayBuffer]",j="[object DataView]",S="[object Float32Array]",Z="[object Float64Array]",C="[object Int8Array]",H="[object Int16Array]",_="[object Int32Array]",T="[object Uint8Array]",k="[object Uint8ClampedArray]",R="[object Uint16Array]",O="[object Uint32Array]",I={};I[S]=I[Z]=I[C]=I[H]=I[_]=I[T]=I[k]=I[R]=I[O]=!0,I[i]=I[c]=I[A]=I[u]=I[j]=I[d]=I[h]=I[m]=I[p]=I[g]=I[x]=I[y]=I[w]=I[N]=I[E]=!1;function X(K){return l(K)&&a(K.length)&&!!I[e(K)]}return Ju=X,Ju}var Wu,Ev;function K1(){if(Ev)return Wu;Ev=1;function e(a){return function(l){return a(l)}}return Wu=e,Wu}var Ws={exports:{}};Ws.exports;var Nv;function sm(){return Nv||(Nv=1,(function(e,a){var l=NM(),i=a&&!a.nodeType&&a,c=i&&!0&&e&&!e.nodeType&&e,u=c&&c.exports===i,d=u&&l.process,h=(function(){try{var m=c&&c.require&&c.require("util").types;return m||d&&d.binding&&d.binding("util")}catch{}})();e.exports=h})(Ws,Ws.exports)),Ws.exports}var ed,Mv;function _l(){if(Mv)return ed;Mv=1;var e=dB(),a=K1(),l=sm(),i=l&&l.isTypedArray,c=i?a(i):e;return ed=c,ed}var td,Sv;function ZM(){if(Sv)return td;Sv=1;var e=oB(),a=Hl(),l=gt(),i=Qr(),c=Y1(),u=_l(),d=Object.prototype,h=d.hasOwnProperty;function m(p,g){var x=l(p),y=!x&&a(p),w=!x&&!y&&i(p),N=!x&&!y&&!w&&u(p),E=x||y||w||N,A=E?e(p.length,String):[],j=A.length;for(var S in p)(g||h.call(p,S))&&!(E&&(S=="length"||w&&(S=="offset"||S=="parent")||N&&(S=="buffer"||S=="byteLength"||S=="byteOffset")||c(S,j)))&&A.push(S);return A}return td=m,td}var ad,Zv;function X1(){if(Zv)return ad;Zv=1;var e=Object.prototype;function a(l){var i=l&&l.constructor,c=typeof i=="function"&&i.prototype||e;return l===c}return ad=a,ad}var nd,Cv;function CM(){if(Cv)return nd;Cv=1;function e(a,l){return function(i){return a(l(i))}}return nd=e,nd}var rd,Hv;function hB(){if(Hv)return rd;Hv=1;var e=CM(),a=e(Object.keys,Object);return rd=a,rd}var sd,_v;function lm(){if(_v)return sd;_v=1;var e=X1(),a=hB(),l=Object.prototype,i=l.hasOwnProperty;function c(u){if(!e(u))return a(u);var d=[];for(var h in Object(u))i.call(u,h)&&h!="constructor"&&d.push(h);return d}return sd=c,sd}var ld,Vv;function En(){if(Vv)return ld;Vv=1;var e=Zl(),a=rm();function l(i){return i!=null&&a(i.length)&&!e(i)}return ld=l,ld}var id,Tv;function l0(){if(Tv)return id;Tv=1;var e=ZM(),a=lm(),l=En();function i(c){return l(c)?e(c):a(c)}return id=i,id}var od,Lv;function fB(){if(Lv)return od;Lv=1;var e=Cl(),a=l0();function l(i,c){return i&&e(c,a(c),i)}return od=l,od}var cd,Rv;function mB(){if(Rv)return cd;Rv=1;function e(a){var l=[];if(a!=null)for(var i in Object(a))l.push(i);return l}return cd=e,cd}var ud,kv;function pB(){if(kv)return ud;kv=1;var e=Ma(),a=X1(),l=mB(),i=Object.prototype,c=i.hasOwnProperty;function u(d){if(!e(d))return l(d);var h=a(d),m=[];for(var p in d)p=="constructor"&&(h||!c.call(d,p))||m.push(p);return m}return ud=u,ud}var dd,Dv;function F0(){if(Dv)return dd;Dv=1;var e=ZM(),a=pB(),l=En();function i(c){return l(c)?e(c,!0):a(c)}return dd=i,dd}var hd,Ov;function gB(){if(Ov)return hd;Ov=1;var e=Cl(),a=F0();function l(i,c){return i&&e(c,a(c),i)}return hd=l,hd}var el={exports:{}};el.exports;var Fv;function HM(){return Fv||(Fv=1,(function(e,a){var l=Fa(),i=a&&!a.nodeType&&a,c=i&&!0&&e&&!e.nodeType&&e,u=c&&c.exports===i,d=u?l.Buffer:void 0,h=d?d.allocUnsafe:void 0;function m(p,g){if(g)return p.slice();var x=p.length,y=h?h(x):new p.constructor(x);return p.copy(y),y}e.exports=m})(el,el.exports)),el.exports}var fd,qv;function _M(){if(qv)return fd;qv=1;function e(a,l){var i=-1,c=a.length;for(l||(l=Array(c));++i<c;)l[i]=a[i];return l}return fd=e,fd}var md,zv;function VM(){if(zv)return md;zv=1;function e(a,l){for(var i=-1,c=a==null?0:a.length,u=0,d=[];++i<c;){var h=a[i];l(h,i,a)&&(d[u++]=h)}return d}return md=e,md}var pd,Bv;function TM(){if(Bv)return pd;Bv=1;function e(){return[]}return pd=e,pd}var gd,$v;function im(){if($v)return gd;$v=1;var e=VM(),a=TM(),l=Object.prototype,i=l.propertyIsEnumerable,c=Object.getOwnPropertySymbols,u=c?function(d){return d==null?[]:(d=Object(d),e(c(d),function(h){return i.call(d,h)}))}:a;return gd=u,gd}var xd,Uv;function xB(){if(Uv)return xd;Uv=1;var e=Cl(),a=im();function l(i,c){return e(i,a(i),c)}return xd=l,xd}var vd,Iv;function om(){if(Iv)return vd;Iv=1;function e(a,l){for(var i=-1,c=l.length,u=a.length;++i<c;)a[u+i]=l[i];return a}return vd=e,vd}var bd,Pv;function Q1(){if(Pv)return bd;Pv=1;var e=CM(),a=e(Object.getPrototypeOf,Object);return bd=a,bd}var yd,Gv;function LM(){if(Gv)return yd;Gv=1;var e=om(),a=Q1(),l=im(),i=TM(),c=Object.getOwnPropertySymbols,u=c?function(d){for(var h=[];d;)e(h,l(d)),d=a(d);return h}:i;return yd=u,yd}var wd,Yv;function vB(){if(Yv)return wd;Yv=1;var e=Cl(),a=LM();function l(i,c){return e(i,a(i),c)}return wd=l,wd}var Ad,Kv;function RM(){if(Kv)return Ad;Kv=1;var e=om(),a=gt();function l(i,c,u){var d=c(i);return a(i)?d:e(d,u(i))}return Ad=l,Ad}var jd,Xv;function kM(){if(Xv)return jd;Xv=1;var e=RM(),a=im(),l=l0();function i(c){return e(c,l,a)}return jd=i,jd}var Ed,Qv;function bB(){if(Qv)return Ed;Qv=1;var e=RM(),a=LM(),l=F0();function i(c){return e(c,l,a)}return Ed=i,Ed}var Nd,Jv;function yB(){if(Jv)return Nd;Jv=1;var e=O0(),a=Fa(),l=e(a,"DataView");return Nd=l,Nd}var Md,Wv;function wB(){if(Wv)return Md;Wv=1;var e=O0(),a=Fa(),l=e(a,"Promise");return Md=l,Md}var Sd,e9;function DM(){if(e9)return Sd;e9=1;var e=O0(),a=Fa(),l=e(a,"Set");return Sd=l,Sd}var Zd,t9;function AB(){if(t9)return Zd;t9=1;var e=O0(),a=Fa(),l=e(a,"WeakMap");return Zd=l,Zd}var Cd,a9;function Jr(){if(a9)return Cd;a9=1;var e=yB(),a=tm(),l=wB(),i=DM(),c=AB(),u=D0(),d=MM(),h="[object Map]",m="[object Object]",p="[object Promise]",g="[object Set]",x="[object WeakMap]",y="[object DataView]",w=d(e),N=d(a),E=d(l),A=d(i),j=d(c),S=u;return(e&&S(new e(new ArrayBuffer(1)))!=y||a&&S(new a)!=h||l&&S(l.resolve())!=p||i&&S(new i)!=g||c&&S(new c)!=x)&&(S=function(Z){var C=u(Z),H=C==m?Z.constructor:void 0,_=H?d(H):"";if(_)switch(_){case w:return y;case N:return h;case E:return p;case A:return g;case j:return x}return C}),Cd=S,Cd}var Hd,n9;function jB(){if(n9)return Hd;n9=1;var e=Object.prototype,a=e.hasOwnProperty;function l(i){var c=i.length,u=new i.constructor(c);return c&&typeof i[0]=="string"&&a.call(i,"index")&&(u.index=i.index,u.input=i.input),u}return Hd=l,Hd}var _d,r9;function OM(){if(r9)return _d;r9=1;var e=Fa(),a=e.Uint8Array;return _d=a,_d}var Vd,s9;function cm(){if(s9)return Vd;s9=1;var e=OM();function a(l){var i=new l.constructor(l.byteLength);return new e(i).set(new e(l)),i}return Vd=a,Vd}var Td,l9;function EB(){if(l9)return Td;l9=1;var e=cm();function a(l,i){var c=i?e(l.buffer):l.buffer;return new l.constructor(c,l.byteOffset,l.byteLength)}return Td=a,Td}var Ld,i9;function NB(){if(i9)return Ld;i9=1;var e=/\w*$/;function a(l){var i=new l.constructor(l.source,e.exec(l));return i.lastIndex=l.lastIndex,i}return Ld=a,Ld}var Rd,o9;function MB(){if(o9)return Rd;o9=1;var e=Xr(),a=e?e.prototype:void 0,l=a?a.valueOf:void 0;function i(c){return l?Object(l.call(c)):{}}return Rd=i,Rd}var kd,c9;function FM(){if(c9)return kd;c9=1;var e=cm();function a(l,i){var c=i?e(l.buffer):l.buffer;return new l.constructor(c,l.byteOffset,l.length)}return kd=a,kd}var Dd,u9;function SB(){if(u9)return Dd;u9=1;var e=cm(),a=EB(),l=NB(),i=MB(),c=FM(),u="[object Boolean]",d="[object Date]",h="[object Map]",m="[object Number]",p="[object RegExp]",g="[object Set]",x="[object String]",y="[object Symbol]",w="[object ArrayBuffer]",N="[object DataView]",E="[object Float32Array]",A="[object Float64Array]",j="[object Int8Array]",S="[object Int16Array]",Z="[object Int32Array]",C="[object Uint8Array]",H="[object Uint8ClampedArray]",_="[object Uint16Array]",T="[object Uint32Array]";function k(R,O,I){var X=R.constructor;switch(O){case w:return e(R);case u:case d:return new X(+R);case N:return a(R,I);case E:case A:case j:case S:case Z:case C:case H:case _:case T:return c(R,I);case h:return new X;case m:case x:return new X(R);case p:return l(R);case g:return new X;case y:return i(R)}}return Dd=k,Dd}var Od,d9;function qM(){if(d9)return Od;d9=1;var e=Ma(),a=Object.create,l=(function(){function i(){}return function(c){if(!e(c))return{};if(a)return a(c);i.prototype=c;var u=new i;return i.prototype=void 0,u}})();return Od=l,Od}var Fd,h9;function zM(){if(h9)return Fd;h9=1;var e=qM(),a=Q1(),l=X1();function i(c){return typeof c.constructor=="function"&&!l(c)?e(a(c)):{}}return Fd=i,Fd}var qd,f9;function ZB(){if(f9)return qd;f9=1;var e=Jr(),a=Wa(),l="[object Map]";function i(c){return a(c)&&e(c)==l}return qd=i,qd}var zd,m9;function CB(){if(m9)return zd;m9=1;var e=ZB(),a=K1(),l=sm(),i=l&&l.isMap,c=i?a(i):e;return zd=c,zd}var Bd,p9;function HB(){if(p9)return Bd;p9=1;var e=Jr(),a=Wa(),l="[object Set]";function i(c){return a(c)&&e(c)==l}return Bd=i,Bd}var $d,g9;function _B(){if(g9)return $d;g9=1;var e=HB(),a=K1(),l=sm(),i=l&&l.isSet,c=i?a(i):e;return $d=c,$d}var Ud,x9;function BM(){if(x9)return Ud;x9=1;var e=I1(),a=nm(),l=G1(),i=fB(),c=gB(),u=HM(),d=_M(),h=xB(),m=vB(),p=kM(),g=bB(),x=Jr(),y=jB(),w=SB(),N=zM(),E=gt(),A=Qr(),j=CB(),S=Ma(),Z=_B(),C=l0(),H=F0(),_=1,T=2,k=4,R="[object Arguments]",O="[object Array]",I="[object Boolean]",X="[object Date]",K="[object Error]",B="[object Function]",Y="[object GeneratorFunction]",L="[object Map]",$="[object Number]",W="[object Object]",de="[object RegExp]",he="[object Set]",D="[object String]",te="[object Symbol]",re="[object WeakMap]",z="[object ArrayBuffer]",q="[object DataView]",P="[object Float32Array]",oe="[object Float64Array]",me="[object Int8Array]",be="[object Int16Array]",ke="[object Int32Array]",Se="[object Uint8Array]",Ze="[object Uint8ClampedArray]",se="[object Uint16Array]",ye="[object Uint32Array]",Ae={};Ae[R]=Ae[O]=Ae[z]=Ae[q]=Ae[I]=Ae[X]=Ae[P]=Ae[oe]=Ae[me]=Ae[be]=Ae[ke]=Ae[L]=Ae[$]=Ae[W]=Ae[de]=Ae[he]=Ae[D]=Ae[te]=Ae[Se]=Ae[Ze]=Ae[se]=Ae[ye]=!0,Ae[K]=Ae[B]=Ae[re]=!1;function wt(_e,ia,oa,i0,at,Tt){var Lt,At=ia&_,z0=ia&T,Tl=ia&k;if(oa&&(Lt=at?oa(_e,i0,at,Tt):oa(_e)),Lt!==void 0)return Lt;if(!S(_e))return _e;var es=E(_e);if(es){if(Lt=y(_e),!At)return d(_e,Lt)}else{var Za=x(_e),Ll=Za==B||Za==Y;if(A(_e))return u(_e,At);if(Za==W||Za==R||Ll&&!at){if(Lt=z0||Ll?{}:N(_e),!At)return z0?m(_e,c(Lt,_e)):h(_e,i(Lt,_e))}else{if(!Ae[Za])return at?_e:{};Lt=w(_e,Za,At)}}Tt||(Tt=new e);var ts=Tt.get(_e);if(ts)return ts;Tt.set(_e,Lt),Z(_e)?_e.forEach(function(zt){Lt.add(wt(zt,ia,oa,zt,_e,Tt))}):j(_e)&&_e.forEach(function(zt,lt){Lt.set(lt,wt(zt,ia,oa,lt,_e,Tt))});var ro=Tl?z0?g:p:z0?H:C,Rl=es?void 0:ro(_e);return a(Rl||_e,function(zt,lt){Rl&&(lt=zt,zt=_e[lt]),l(Lt,lt,wt(zt,ia,oa,lt,_e,Tt))}),Lt}return Ud=wt,Ud}var Id,v9;function VB(){if(v9)return Id;v9=1;var e=BM(),a=4;function l(i){return e(i,a)}return Id=l,Id}var Pd,b9;function um(){if(b9)return Pd;b9=1;function e(a){return function(){return a}}return Pd=e,Pd}var Gd,y9;function TB(){if(y9)return Gd;y9=1;function e(a){return function(l,i,c){for(var u=-1,d=Object(l),h=c(l),m=h.length;m--;){var p=h[a?m:++u];if(i(d[p],p,d)===!1)break}return l}}return Gd=e,Gd}var Yd,w9;function dm(){if(w9)return Yd;w9=1;var e=TB(),a=e();return Yd=a,Yd}var Kd,A9;function hm(){if(A9)return Kd;A9=1;var e=dm(),a=l0();function l(i,c){return i&&e(i,c,a)}return Kd=l,Kd}var Xd,j9;function LB(){if(j9)return Xd;j9=1;var e=En();function a(l,i){return function(c,u){if(c==null)return c;if(!e(c))return l(c,u);for(var d=c.length,h=i?d:-1,m=Object(c);(i?h--:++h<d)&&u(m[h],h,m)!==!1;);return c}}return Xd=a,Xd}var Qd,E9;function J1(){if(E9)return Qd;E9=1;var e=hm(),a=LB(),l=a(e);return Qd=l,Qd}var Jd,N9;function q0(){if(N9)return Jd;N9=1;function e(a){return a}return Jd=e,Jd}var Wd,M9;function $M(){if(M9)return Wd;M9=1;var e=q0();function a(l){return typeof l=="function"?l:e}return Wd=a,Wd}var e8,S9;function UM(){if(S9)return e8;S9=1;var e=nm(),a=J1(),l=$M(),i=gt();function c(u,d){var h=i(u)?e:a;return h(u,l(d))}return e8=c,e8}var t8,Z9;function IM(){return Z9||(Z9=1,t8=UM()),t8}var a8,C9;function RB(){if(C9)return a8;C9=1;var e=J1();function a(l,i){var c=[];return e(l,function(u,d,h){i(u,d,h)&&c.push(u)}),c}return a8=a,a8}var n8,H9;function kB(){if(H9)return n8;H9=1;var e="__lodash_hash_undefined__";function a(l){return this.__data__.set(l,e),this}return n8=a,n8}var r8,_9;function DB(){if(_9)return r8;_9=1;function e(a){return this.__data__.has(a)}return r8=e,r8}var s8,V9;function PM(){if(V9)return s8;V9=1;var e=am(),a=kB(),l=DB();function i(c){var u=-1,d=c==null?0:c.length;for(this.__data__=new e;++u<d;)this.add(c[u])}return i.prototype.add=i.prototype.push=a,i.prototype.has=l,s8=i,s8}var l8,T9;function OB(){if(T9)return l8;T9=1;function e(a,l){for(var i=-1,c=a==null?0:a.length;++i<c;)if(l(a[i],i,a))return!0;return!1}return l8=e,l8}var i8,L9;function GM(){if(L9)return i8;L9=1;function e(a,l){return a.has(l)}return i8=e,i8}var o8,R9;function YM(){if(R9)return o8;R9=1;var e=PM(),a=OB(),l=GM(),i=1,c=2;function u(d,h,m,p,g,x){var y=m&i,w=d.length,N=h.length;if(w!=N&&!(y&&N>w))return!1;var E=x.get(d),A=x.get(h);if(E&&A)return E==h&&A==d;var j=-1,S=!0,Z=m&c?new e:void 0;for(x.set(d,h),x.set(h,d);++j<w;){var C=d[j],H=h[j];if(p)var _=y?p(H,C,j,h,d,x):p(C,H,j,d,h,x);if(_!==void 0){if(_)continue;S=!1;break}if(Z){if(!a(h,function(T,k){if(!l(Z,k)&&(C===T||g(C,T,m,p,x)))return Z.push(k)})){S=!1;break}}else if(!(C===H||g(C,H,m,p,x))){S=!1;break}}return x.delete(d),x.delete(h),S}return o8=u,o8}var c8,k9;function FB(){if(k9)return c8;k9=1;function e(a){var l=-1,i=Array(a.size);return a.forEach(function(c,u){i[++l]=[u,c]}),i}return c8=e,c8}var u8,D9;function fm(){if(D9)return u8;D9=1;function e(a){var l=-1,i=Array(a.size);return a.forEach(function(c){i[++l]=c}),i}return u8=e,u8}var d8,O9;function qB(){if(O9)return d8;O9=1;var e=Xr(),a=OM(),l=Kr(),i=YM(),c=FB(),u=fm(),d=1,h=2,m="[object Boolean]",p="[object Date]",g="[object Error]",x="[object Map]",y="[object Number]",w="[object RegExp]",N="[object Set]",E="[object String]",A="[object Symbol]",j="[object ArrayBuffer]",S="[object DataView]",Z=e?e.prototype:void 0,C=Z?Z.valueOf:void 0;function H(_,T,k,R,O,I,X){switch(k){case S:if(_.byteLength!=T.byteLength||_.byteOffset!=T.byteOffset)return!1;_=_.buffer,T=T.buffer;case j:return!(_.byteLength!=T.byteLength||!I(new a(_),new a(T)));case m:case p:case y:return l(+_,+T);case g:return _.name==T.name&&_.message==T.message;case w:case E:return _==T+"";case x:var K=c;case N:var B=R&d;if(K||(K=u),_.size!=T.size&&!B)return!1;var Y=X.get(_);if(Y)return Y==T;R|=h,X.set(_,T);var L=i(K(_),K(T),R,O,I,X);return X.delete(_),L;case A:if(C)return C.call(_)==C.call(T)}return!1}return d8=H,d8}var h8,F9;function zB(){if(F9)return h8;F9=1;var e=kM(),a=1,l=Object.prototype,i=l.hasOwnProperty;function c(u,d,h,m,p,g){var x=h&a,y=e(u),w=y.length,N=e(d),E=N.length;if(w!=E&&!x)return!1;for(var A=w;A--;){var j=y[A];if(!(x?j in d:i.call(d,j)))return!1}var S=g.get(u),Z=g.get(d);if(S&&Z)return S==d&&Z==u;var C=!0;g.set(u,d),g.set(d,u);for(var H=x;++A<w;){j=y[A];var _=u[j],T=d[j];if(m)var k=x?m(T,_,j,d,u,g):m(_,T,j,u,d,g);if(!(k===void 0?_===T||p(_,T,h,m,g):k)){C=!1;break}H||(H=j=="constructor")}if(C&&!H){var R=u.constructor,O=d.constructor;R!=O&&"constructor"in u&&"constructor"in d&&!(typeof R=="function"&&R instanceof R&&typeof O=="function"&&O instanceof O)&&(C=!1)}return g.delete(u),g.delete(d),C}return h8=c,h8}var f8,q9;function BB(){if(q9)return f8;q9=1;var e=I1(),a=YM(),l=qB(),i=zB(),c=Jr(),u=gt(),d=Qr(),h=_l(),m=1,p="[object Arguments]",g="[object Array]",x="[object Object]",y=Object.prototype,w=y.hasOwnProperty;function N(E,A,j,S,Z,C){var H=u(E),_=u(A),T=H?g:c(E),k=_?g:c(A);T=T==p?x:T,k=k==p?x:k;var R=T==x,O=k==x,I=T==k;if(I&&d(E)){if(!d(A))return!1;H=!0,R=!1}if(I&&!R)return C||(C=new e),H||h(E)?a(E,A,j,S,Z,C):l(E,A,T,j,S,Z,C);if(!(j&m)){var X=R&&w.call(E,"__wrapped__"),K=O&&w.call(A,"__wrapped__");if(X||K){var B=X?E.value():E,Y=K?A.value():A;return C||(C=new e),Z(B,Y,j,S,C)}}return I?(C||(C=new e),i(E,A,j,S,Z,C)):!1}return f8=N,f8}var m8,z9;function KM(){if(z9)return m8;z9=1;var e=BB(),a=Wa();function l(i,c,u,d,h){return i===c?!0:i==null||c==null||!a(i)&&!a(c)?i!==i&&c!==c:e(i,c,u,d,l,h)}return m8=l,m8}var p8,B9;function $B(){if(B9)return p8;B9=1;var e=I1(),a=KM(),l=1,i=2;function c(u,d,h,m){var p=h.length,g=p,x=!m;if(u==null)return!g;for(u=Object(u);p--;){var y=h[p];if(x&&y[2]?y[1]!==u[y[0]]:!(y[0]in u))return!1}for(;++p<g;){y=h[p];var w=y[0],N=u[w],E=y[1];if(x&&y[2]){if(N===void 0&&!(w in u))return!1}else{var A=new e;if(m)var j=m(N,E,w,u,d,A);if(!(j===void 0?a(E,N,l|i,m,A):j))return!1}}return!0}return p8=c,p8}var g8,$9;function XM(){if($9)return g8;$9=1;var e=Ma();function a(l){return l===l&&!e(l)}return g8=a,g8}var x8,U9;function UB(){if(U9)return x8;U9=1;var e=XM(),a=l0();function l(i){for(var c=a(i),u=c.length;u--;){var d=c[u],h=i[d];c[u]=[d,h,e(h)]}return c}return x8=l,x8}var v8,I9;function QM(){if(I9)return v8;I9=1;function e(a,l){return function(i){return i==null?!1:i[a]===l&&(l!==void 0||a in Object(i))}}return v8=e,v8}var b8,P9;function IB(){if(P9)return b8;P9=1;var e=$B(),a=UB(),l=QM();function i(c){var u=a(c);return u.length==1&&u[0][2]?l(u[0][0],u[0][1]):function(d){return d===c||e(d,c,u)}}return b8=i,b8}var y8,G9;function Wr(){if(G9)return y8;G9=1;var e=D0(),a=Wa(),l="[object Symbol]";function i(c){return typeof c=="symbol"||a(c)&&e(c)==l}return y8=i,y8}var w8,Y9;function mm(){if(Y9)return w8;Y9=1;var e=gt(),a=Wr(),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;function c(u,d){if(e(u))return!1;var h=typeof u;return h=="number"||h=="symbol"||h=="boolean"||u==null||a(u)?!0:i.test(u)||!l.test(u)||d!=null&&u in Object(d)}return w8=c,w8}var A8,K9;function PB(){if(K9)return A8;K9=1;var e=am(),a="Expected a function";function l(i,c){if(typeof i!="function"||c!=null&&typeof c!="function")throw new TypeError(a);var u=function(){var d=arguments,h=c?c.apply(this,d):d[0],m=u.cache;if(m.has(h))return m.get(h);var p=i.apply(this,d);return u.cache=m.set(h,p)||m,p};return u.cache=new(l.Cache||e),u}return l.Cache=e,A8=l,A8}var j8,X9;function GB(){if(X9)return j8;X9=1;var e=PB(),a=500;function l(i){var c=e(i,function(d){return u.size===a&&u.clear(),d}),u=c.cache;return c}return j8=l,j8}var E8,Q9;function YB(){if(Q9)return E8;Q9=1;var e=GB(),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,i=e(function(c){var u=[];return c.charCodeAt(0)===46&&u.push(""),c.replace(a,function(d,h,m,p){u.push(m?p.replace(l,"$1"):h||d)}),u});return E8=i,E8}var N8,J9;function W1(){if(J9)return N8;J9=1;function e(a,l){for(var i=-1,c=a==null?0:a.length,u=Array(c);++i<c;)u[i]=l(a[i],i,a);return u}return N8=e,N8}var M8,W9;function KB(){if(W9)return M8;W9=1;var e=Xr(),a=W1(),l=gt(),i=Wr(),c=e?e.prototype:void 0,u=c?c.toString:void 0;function d(h){if(typeof h=="string")return h;if(l(h))return a(h,d)+"";if(i(h))return u?u.call(h):"";var m=h+"";return m=="0"&&1/h==-1/0?"-0":m}return M8=d,M8}var S8,eb;function JM(){if(eb)return S8;eb=1;var e=KB();function a(l){return l==null?"":e(l)}return S8=a,S8}var Z8,tb;function eo(){if(tb)return Z8;tb=1;var e=gt(),a=mm(),l=YB(),i=JM();function c(u,d){return e(u)?u:a(u,d)?[u]:l(i(u))}return Z8=c,Z8}var C8,ab;function Vl(){if(ab)return C8;ab=1;var e=Wr();function a(l){if(typeof l=="string"||e(l))return l;var i=l+"";return i=="0"&&1/l==-1/0?"-0":i}return C8=a,C8}var H8,nb;function to(){if(nb)return H8;nb=1;var e=eo(),a=Vl();function l(i,c){c=e(c,i);for(var u=0,d=c.length;i!=null&&u<d;)i=i[a(c[u++])];return u&&u==d?i:void 0}return H8=l,H8}var _8,rb;function XB(){if(rb)return _8;rb=1;var e=to();function a(l,i,c){var u=l==null?void 0:e(l,i);return u===void 0?c:u}return _8=a,_8}var V8,sb;function QB(){if(sb)return V8;sb=1;function e(a,l){return a!=null&&l in Object(a)}return V8=e,V8}var T8,lb;function WM(){if(lb)return T8;lb=1;var e=eo(),a=Hl(),l=gt(),i=Y1(),c=rm(),u=Vl();function d(h,m,p){m=e(m,h);for(var g=-1,x=m.length,y=!1;++g<x;){var w=u(m[g]);if(!(y=h!=null&&p(h,w)))break;h=h[w]}return y||++g!=x?y:(x=h==null?0:h.length,!!x&&c(x)&&i(w,x)&&(l(h)||a(h)))}return T8=d,T8}var L8,ib;function eS(){if(ib)return L8;ib=1;var e=QB(),a=WM();function l(i,c){return i!=null&&a(i,c,e)}return L8=l,L8}var R8,ob;function JB(){if(ob)return R8;ob=1;var e=KM(),a=XB(),l=eS(),i=mm(),c=XM(),u=QM(),d=Vl(),h=1,m=2;function p(g,x){return i(g)&&c(x)?u(d(g),x):function(y){var w=a(y,g);return w===void 0&&w===x?l(y,g):e(x,w,h|m)}}return R8=p,R8}var k8,cb;function tS(){if(cb)return k8;cb=1;function e(a){return function(l){return l==null?void 0:l[a]}}return k8=e,k8}var D8,ub;function WB(){if(ub)return D8;ub=1;var e=to();function a(l){return function(i){return e(i,l)}}return D8=a,D8}var O8,db;function e$(){if(db)return O8;db=1;var e=tS(),a=WB(),l=mm(),i=Vl();function c(u){return l(u)?e(i(u)):a(u)}return O8=c,O8}var F8,hb;function Nn(){if(hb)return F8;hb=1;var e=IB(),a=JB(),l=q0(),i=gt(),c=e$();function u(d){return typeof d=="function"?d:d==null?l:typeof d=="object"?i(d)?a(d[0],d[1]):e(d):c(d)}return F8=u,F8}var q8,fb;function aS(){if(fb)return q8;fb=1;var e=VM(),a=RB(),l=Nn(),i=gt();function c(u,d){var h=i(u)?e:a;return h(u,l(d,3))}return q8=c,q8}var z8,mb;function t$(){if(mb)return z8;mb=1;var e=Object.prototype,a=e.hasOwnProperty;function l(i,c){return i!=null&&a.call(i,c)}return z8=l,z8}var B8,pb;function nS(){if(pb)return B8;pb=1;var e=t$(),a=WM();function l(i,c){return i!=null&&a(i,c,e)}return B8=l,B8}var $8,gb;function a$(){if(gb)return $8;gb=1;var e=lm(),a=Jr(),l=Hl(),i=gt(),c=En(),u=Qr(),d=X1(),h=_l(),m="[object Map]",p="[object Set]",g=Object.prototype,x=g.hasOwnProperty;function y(w){if(w==null)return!0;if(c(w)&&(i(w)||typeof w=="string"||typeof w.splice=="function"||u(w)||h(w)||l(w)))return!w.length;var N=a(w);if(N==m||N==p)return!w.size;if(d(w))return!e(w).length;for(var E in w)if(x.call(w,E))return!1;return!0}return $8=y,$8}var U8,xb;function rS(){if(xb)return U8;xb=1;function e(a){return a===void 0}return U8=e,U8}var I8,vb;function sS(){if(vb)return I8;vb=1;var e=J1(),a=En();function l(i,c){var u=-1,d=a(i)?Array(i.length):[];return e(i,function(h,m,p){d[++u]=c(h,m,p)}),d}return I8=l,I8}var P8,bb;function lS(){if(bb)return P8;bb=1;var e=W1(),a=Nn(),l=sS(),i=gt();function c(u,d){var h=i(u)?e:l;return h(u,a(d,3))}return P8=c,P8}var G8,yb;function n$(){if(yb)return G8;yb=1;function e(a,l,i,c){var u=-1,d=a==null?0:a.length;for(c&&d&&(i=a[++u]);++u<d;)i=l(i,a[u],u,a);return i}return G8=e,G8}var Y8,wb;function r$(){if(wb)return Y8;wb=1;function e(a,l,i,c,u){return u(a,function(d,h,m){i=c?(c=!1,d):l(i,d,h,m)}),i}return Y8=e,Y8}var K8,Ab;function iS(){if(Ab)return K8;Ab=1;var e=n$(),a=J1(),l=Nn(),i=r$(),c=gt();function u(d,h,m){var p=c(d)?e:i,g=arguments.length<3;return p(d,l(h,4),m,g,a)}return K8=u,K8}var X8,jb;function s$(){if(jb)return X8;jb=1;var e=D0(),a=gt(),l=Wa(),i="[object String]";function c(u){return typeof u=="string"||!a(u)&&l(u)&&e(u)==i}return X8=c,X8}var Q8,Eb;function l$(){if(Eb)return Q8;Eb=1;var e=tS(),a=e("length");return Q8=a,Q8}var J8,Nb;function i$(){if(Nb)return J8;Nb=1;var e="\\ud800-\\udfff",a="\\u0300-\\u036f",l="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",c=a+l+i,u="\\ufe0e\\ufe0f",d="\\u200d",h=RegExp("["+d+e+c+u+"]");function m(p){return h.test(p)}return J8=m,J8}var W8,Mb;function o$(){if(Mb)return W8;Mb=1;var e="\\ud800-\\udfff",a="\\u0300-\\u036f",l="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",c=a+l+i,u="\\ufe0e\\ufe0f",d="["+e+"]",h="["+c+"]",m="\\ud83c[\\udffb-\\udfff]",p="(?:"+h+"|"+m+")",g="[^"+e+"]",x="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",w="\\u200d",N=p+"?",E="["+u+"]?",A="(?:"+w+"(?:"+[g,x,y].join("|")+")"+E+N+")*",j=E+N+A,S="(?:"+[g+h+"?",h,x,y,d].join("|")+")",Z=RegExp(m+"(?="+m+")|"+S+j,"g");function C(H){for(var _=Z.lastIndex=0;Z.test(H);)++_;return _}return W8=C,W8}var e4,Sb;function c$(){if(Sb)return e4;Sb=1;var e=l$(),a=i$(),l=o$();function i(c){return a(c)?l(c):e(c)}return e4=i,e4}var t4,Zb;function u$(){if(Zb)return t4;Zb=1;var e=lm(),a=Jr(),l=En(),i=s$(),c=c$(),u="[object Map]",d="[object Set]";function h(m){if(m==null)return 0;if(l(m))return i(m)?c(m):m.length;var p=a(m);return p==u||p==d?m.size:e(m).length}return t4=h,t4}var a4,Cb;function d$(){if(Cb)return a4;Cb=1;var e=nm(),a=qM(),l=hm(),i=Nn(),c=Q1(),u=gt(),d=Qr(),h=Zl(),m=Ma(),p=_l();function g(x,y,w){var N=u(x),E=N||d(x)||p(x);if(y=i(y,4),w==null){var A=x&&x.constructor;E?w=N?new A:[]:m(x)?w=h(A)?a(c(x)):{}:w={}}return(E?e:l)(x,function(j,S,Z){return y(w,j,S,Z)}),w}return a4=g,a4}var n4,Hb;function h$(){if(Hb)return n4;Hb=1;var e=Xr(),a=Hl(),l=gt(),i=e?e.isConcatSpreadable:void 0;function c(u){return l(u)||a(u)||!!(i&&u&&u[i])}return n4=c,n4}var r4,_b;function pm(){if(_b)return r4;_b=1;var e=om(),a=h$();function l(i,c,u,d,h){var m=-1,p=i.length;for(u||(u=a),h||(h=[]);++m<p;){var g=i[m];c>0&&u(g)?c>1?l(g,c-1,u,d,h):e(h,g):d||(h[h.length]=g)}return h}return r4=l,r4}var s4,Vb;function f$(){if(Vb)return s4;Vb=1;function e(a,l,i){switch(i.length){case 0:return a.call(l);case 1:return a.call(l,i[0]);case 2:return a.call(l,i[0],i[1]);case 3:return a.call(l,i[0],i[1],i[2])}return a.apply(l,i)}return s4=e,s4}var l4,Tb;function oS(){if(Tb)return l4;Tb=1;var e=f$(),a=Math.max;function l(i,c,u){return c=a(c===void 0?i.length-1:c,0),function(){for(var d=arguments,h=-1,m=a(d.length-c,0),p=Array(m);++h<m;)p[h]=d[c+h];h=-1;for(var g=Array(c+1);++h<c;)g[h]=d[h];return g[c]=u(p),e(i,this,g)}}return l4=l,l4}var i4,Lb;function m$(){if(Lb)return i4;Lb=1;var e=um(),a=SM(),l=q0(),i=a?function(c,u){return a(c,"toString",{configurable:!0,enumerable:!1,value:e(u),writable:!0})}:l;return i4=i,i4}var o4,Rb;function p$(){if(Rb)return o4;Rb=1;var e=800,a=16,l=Date.now;function i(c){var u=0,d=0;return function(){var h=l(),m=a-(h-d);if(d=h,m>0){if(++u>=e)return arguments[0]}else u=0;return c.apply(void 0,arguments)}}return o4=i,o4}var c4,kb;function cS(){if(kb)return c4;kb=1;var e=m$(),a=p$(),l=a(e);return c4=l,c4}var u4,Db;function ao(){if(Db)return u4;Db=1;var e=q0(),a=oS(),l=cS();function i(c,u){return l(a(c,u,e),c+"")}return u4=i,u4}var d4,Ob;function uS(){if(Ob)return d4;Ob=1;function e(a,l,i,c){for(var u=a.length,d=i+(c?1:-1);c?d--:++d<u;)if(l(a[d],d,a))return d;return-1}return d4=e,d4}var h4,Fb;function g$(){if(Fb)return h4;Fb=1;function e(a){return a!==a}return h4=e,h4}var f4,qb;function x$(){if(qb)return f4;qb=1;function e(a,l,i){for(var c=i-1,u=a.length;++c<u;)if(a[c]===l)return c;return-1}return f4=e,f4}var m4,zb;function v$(){if(zb)return m4;zb=1;var e=uS(),a=g$(),l=x$();function i(c,u,d){return u===u?l(c,u,d):e(c,a,d)}return m4=i,m4}var p4,Bb;function b$(){if(Bb)return p4;Bb=1;var e=v$();function a(l,i){var c=l==null?0:l.length;return!!c&&e(l,i,0)>-1}return p4=a,p4}var g4,$b;function y$(){if($b)return g4;$b=1;function e(a,l,i){for(var c=-1,u=a==null?0:a.length;++c<u;)if(i(l,a[c]))return!0;return!1}return g4=e,g4}var x4,Ub;function w$(){if(Ub)return x4;Ub=1;function e(){}return x4=e,x4}var v4,Ib;function A$(){if(Ib)return v4;Ib=1;var e=DM(),a=w$(),l=fm(),i=1/0,c=e&&1/l(new e([,-0]))[1]==i?function(u){return new e(u)}:a;return v4=c,v4}var b4,Pb;function j$(){if(Pb)return b4;Pb=1;var e=PM(),a=b$(),l=y$(),i=GM(),c=A$(),u=fm(),d=200;function h(m,p,g){var x=-1,y=a,w=m.length,N=!0,E=[],A=E;if(g)N=!1,y=l;else if(w>=d){var j=p?null:c(m);if(j)return u(j);N=!1,y=i,A=new e}else A=p?[]:E;e:for(;++x<w;){var S=m[x],Z=p?p(S):S;if(S=g||S!==0?S:0,N&&Z===Z){for(var C=A.length;C--;)if(A[C]===Z)continue e;p&&A.push(Z),E.push(S)}else y(A,Z,g)||(A!==E&&A.push(Z),E.push(S))}return E}return b4=h,b4}var y4,Gb;function dS(){if(Gb)return y4;Gb=1;var e=En(),a=Wa();function l(i){return a(i)&&e(i)}return y4=l,y4}var w4,Yb;function E$(){if(Yb)return w4;Yb=1;var e=pm(),a=ao(),l=j$(),i=dS(),c=a(function(u){return l(e(u,1,i,!0))});return w4=c,w4}var A4,Kb;function N$(){if(Kb)return A4;Kb=1;var e=W1();function a(l,i){return e(i,function(c){return l[c]})}return A4=a,A4}var j4,Xb;function hS(){if(Xb)return j4;Xb=1;var e=N$(),a=l0();function l(i){return i==null?[]:e(i,a(i))}return j4=l,j4}var E4,Qb;function Sa(){if(Qb)return E4;Qb=1;var e;if(typeof em=="function")try{e={clone:VB(),constant:um(),each:IM(),filter:aS(),has:nS(),isArray:gt(),isEmpty:a$(),isFunction:Zl(),isUndefined:rS(),keys:l0(),map:lS(),reduce:iS(),size:u$(),transform:d$(),union:E$(),values:hS()}}catch{}return e||(e=window._),E4=e,E4}var N4,Jb;function gm(){if(Jb)return N4;Jb=1;var e=Sa();N4=c;var a="\0",l="\0",i="";function c(g){this._isDirected=e.has(g,"directed")?g.directed:!0,this._isMultigraph=e.has(g,"multigraph")?g.multigraph:!1,this._isCompound=e.has(g,"compound")?g.compound:!1,this._label=void 0,this._defaultNodeLabelFn=e.constant(void 0),this._defaultEdgeLabelFn=e.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[l]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}c.prototype._nodeCount=0,c.prototype._edgeCount=0,c.prototype.isDirected=function(){return this._isDirected},c.prototype.isMultigraph=function(){return this._isMultigraph},c.prototype.isCompound=function(){return this._isCompound},c.prototype.setGraph=function(g){return this._label=g,this},c.prototype.graph=function(){return this._label},c.prototype.setDefaultNodeLabel=function(g){return e.isFunction(g)||(g=e.constant(g)),this._defaultNodeLabelFn=g,this},c.prototype.nodeCount=function(){return this._nodeCount},c.prototype.nodes=function(){return e.keys(this._nodes)},c.prototype.sources=function(){var g=this;return e.filter(this.nodes(),function(x){return e.isEmpty(g._in[x])})},c.prototype.sinks=function(){var g=this;return e.filter(this.nodes(),function(x){return e.isEmpty(g._out[x])})},c.prototype.setNodes=function(g,x){var y=arguments,w=this;return e.each(g,function(N){y.length>1?w.setNode(N,x):w.setNode(N)}),this},c.prototype.setNode=function(g,x){return e.has(this._nodes,g)?(arguments.length>1&&(this._nodes[g]=x),this):(this._nodes[g]=arguments.length>1?x:this._defaultNodeLabelFn(g),this._isCompound&&(this._parent[g]=l,this._children[g]={},this._children[l][g]=!0),this._in[g]={},this._preds[g]={},this._out[g]={},this._sucs[g]={},++this._nodeCount,this)},c.prototype.node=function(g){return this._nodes[g]},c.prototype.hasNode=function(g){return e.has(this._nodes,g)},c.prototype.removeNode=function(g){var x=this;if(e.has(this._nodes,g)){var y=function(w){x.removeEdge(x._edgeObjs[w])};delete this._nodes[g],this._isCompound&&(this._removeFromParentsChildList(g),delete this._parent[g],e.each(this.children(g),function(w){x.setParent(w)}),delete this._children[g]),e.each(e.keys(this._in[g]),y),delete this._in[g],delete this._preds[g],e.each(e.keys(this._out[g]),y),delete this._out[g],delete this._sucs[g],--this._nodeCount}return this},c.prototype.setParent=function(g,x){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(e.isUndefined(x))x=l;else{x+="";for(var y=x;!e.isUndefined(y);y=this.parent(y))if(y===g)throw new Error("Setting "+x+" as parent of "+g+" would create a cycle");this.setNode(x)}return this.setNode(g),this._removeFromParentsChildList(g),this._parent[g]=x,this._children[x][g]=!0,this},c.prototype._removeFromParentsChildList=function(g){delete this._children[this._parent[g]][g]},c.prototype.parent=function(g){if(this._isCompound){var x=this._parent[g];if(x!==l)return x}},c.prototype.children=function(g){if(e.isUndefined(g)&&(g=l),this._isCompound){var x=this._children[g];if(x)return e.keys(x)}else{if(g===l)return this.nodes();if(this.hasNode(g))return[]}},c.prototype.predecessors=function(g){var x=this._preds[g];if(x)return e.keys(x)},c.prototype.successors=function(g){var x=this._sucs[g];if(x)return e.keys(x)},c.prototype.neighbors=function(g){var x=this.predecessors(g);if(x)return e.union(x,this.successors(g))},c.prototype.isLeaf=function(g){var x;return this.isDirected()?x=this.successors(g):x=this.neighbors(g),x.length===0},c.prototype.filterNodes=function(g){var x=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});x.setGraph(this.graph());var y=this;e.each(this._nodes,function(E,A){g(A)&&x.setNode(A,E)}),e.each(this._edgeObjs,function(E){x.hasNode(E.v)&&x.hasNode(E.w)&&x.setEdge(E,y.edge(E))});var w={};function N(E){var A=y.parent(E);return A===void 0||x.hasNode(A)?(w[E]=A,A):A in w?w[A]:N(A)}return this._isCompound&&e.each(x.nodes(),function(E){x.setParent(E,N(E))}),x},c.prototype.setDefaultEdgeLabel=function(g){return e.isFunction(g)||(g=e.constant(g)),this._defaultEdgeLabelFn=g,this},c.prototype.edgeCount=function(){return this._edgeCount},c.prototype.edges=function(){return e.values(this._edgeObjs)},c.prototype.setPath=function(g,x){var y=this,w=arguments;return e.reduce(g,function(N,E){return w.length>1?y.setEdge(N,E,x):y.setEdge(N,E),E}),this},c.prototype.setEdge=function(){var g,x,y,w,N=!1,E=arguments[0];typeof E=="object"&&E!==null&&"v"in E?(g=E.v,x=E.w,y=E.name,arguments.length===2&&(w=arguments[1],N=!0)):(g=E,x=arguments[1],y=arguments[3],arguments.length>2&&(w=arguments[2],N=!0)),g=""+g,x=""+x,e.isUndefined(y)||(y=""+y);var A=h(this._isDirected,g,x,y);if(e.has(this._edgeLabels,A))return N&&(this._edgeLabels[A]=w),this;if(!e.isUndefined(y)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(g),this.setNode(x),this._edgeLabels[A]=N?w:this._defaultEdgeLabelFn(g,x,y);var j=m(this._isDirected,g,x,y);return g=j.v,x=j.w,Object.freeze(j),this._edgeObjs[A]=j,u(this._preds[x],g),u(this._sucs[g],x),this._in[x][A]=j,this._out[g][A]=j,this._edgeCount++,this},c.prototype.edge=function(g,x,y){var w=arguments.length===1?p(this._isDirected,arguments[0]):h(this._isDirected,g,x,y);return this._edgeLabels[w]},c.prototype.hasEdge=function(g,x,y){var w=arguments.length===1?p(this._isDirected,arguments[0]):h(this._isDirected,g,x,y);return e.has(this._edgeLabels,w)},c.prototype.removeEdge=function(g,x,y){var w=arguments.length===1?p(this._isDirected,arguments[0]):h(this._isDirected,g,x,y),N=this._edgeObjs[w];return N&&(g=N.v,x=N.w,delete this._edgeLabels[w],delete this._edgeObjs[w],d(this._preds[x],g),d(this._sucs[g],x),delete this._in[x][w],delete this._out[g][w],this._edgeCount--),this},c.prototype.inEdges=function(g,x){var y=this._in[g];if(y){var w=e.values(y);return x?e.filter(w,function(N){return N.v===x}):w}},c.prototype.outEdges=function(g,x){var y=this._out[g];if(y){var w=e.values(y);return x?e.filter(w,function(N){return N.w===x}):w}},c.prototype.nodeEdges=function(g,x){var y=this.inEdges(g,x);if(y)return y.concat(this.outEdges(g,x))};function u(g,x){g[x]?g[x]++:g[x]=1}function d(g,x){--g[x]||delete g[x]}function h(g,x,y,w){var N=""+x,E=""+y;if(!g&&N>E){var A=N;N=E,E=A}return N+i+E+i+(e.isUndefined(w)?a:w)}function m(g,x,y,w){var N=""+x,E=""+y;if(!g&&N>E){var A=N;N=E,E=A}var j={v:N,w:E};return w&&(j.name=w),j}function p(g,x){return h(g,x.v,x.w,x.name)}return N4}var M4,Wb;function M$(){return Wb||(Wb=1,M4="2.1.8"),M4}var S4,ey;function S$(){return ey||(ey=1,S4={Graph:gm(),version:M$()}),S4}var Z4,ty;function Z$(){if(ty)return Z4;ty=1;var e=Sa(),a=gm();Z4={write:l,read:u};function l(d){var h={options:{directed:d.isDirected(),multigraph:d.isMultigraph(),compound:d.isCompound()},nodes:i(d),edges:c(d)};return e.isUndefined(d.graph())||(h.value=e.clone(d.graph())),h}function i(d){return e.map(d.nodes(),function(h){var m=d.node(h),p=d.parent(h),g={v:h};return e.isUndefined(m)||(g.value=m),e.isUndefined(p)||(g.parent=p),g})}function c(d){return e.map(d.edges(),function(h){var m=d.edge(h),p={v:h.v,w:h.w};return e.isUndefined(h.name)||(p.name=h.name),e.isUndefined(m)||(p.value=m),p})}function u(d){var h=new a(d.options).setGraph(d.value);return e.each(d.nodes,function(m){h.setNode(m.v,m.value),m.parent&&h.setParent(m.v,m.parent)}),e.each(d.edges,function(m){h.setEdge({v:m.v,w:m.w,name:m.name},m.value)}),h}return Z4}var C4,ay;function C$(){if(ay)return C4;ay=1;var e=Sa();C4=a;function a(l){var i={},c=[],u;function d(h){e.has(i,h)||(i[h]=!0,u.push(h),e.each(l.successors(h),d),e.each(l.predecessors(h),d))}return e.each(l.nodes(),function(h){u=[],d(h),u.length&&c.push(u)}),c}return C4}var H4,ny;function fS(){if(ny)return H4;ny=1;var e=Sa();H4=a;function a(){this._arr=[],this._keyIndices={}}return a.prototype.size=function(){return this._arr.length},a.prototype.keys=function(){return this._arr.map(function(l){return l.key})},a.prototype.has=function(l){return e.has(this._keyIndices,l)},a.prototype.priority=function(l){var i=this._keyIndices[l];if(i!==void 0)return this._arr[i].priority},a.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key},a.prototype.add=function(l,i){var c=this._keyIndices;if(l=String(l),!e.has(c,l)){var u=this._arr,d=u.length;return c[l]=d,u.push({key:l,priority:i}),this._decrease(d),!0}return!1},a.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var l=this._arr.pop();return delete this._keyIndices[l.key],this._heapify(0),l.key},a.prototype.decrease=function(l,i){var c=this._keyIndices[l];if(i>this._arr[c].priority)throw new Error("New priority is greater than current priority. Key: "+l+" Old: "+this._arr[c].priority+" New: "+i);this._arr[c].priority=i,this._decrease(c)},a.prototype._heapify=function(l){var i=this._arr,c=2*l,u=c+1,d=l;c<i.length&&(d=i[c].priority<i[d].priority?c:d,u<i.length&&(d=i[u].priority<i[d].priority?u:d),d!==l&&(this._swap(l,d),this._heapify(d)))},a.prototype._decrease=function(l){for(var i=this._arr,c=i[l].priority,u;l!==0&&(u=l>>1,!(i[u].priority<c));)this._swap(l,u),l=u},a.prototype._swap=function(l,i){var c=this._arr,u=this._keyIndices,d=c[l],h=c[i];c[l]=h,c[i]=d,u[h.key]=l,u[d.key]=i},H4}var _4,ry;function mS(){if(ry)return _4;ry=1;var e=Sa(),a=fS();_4=i;var l=e.constant(1);function i(u,d,h,m){return c(u,String(d),h||l,m||function(p){return u.outEdges(p)})}function c(u,d,h,m){var p={},g=new a,x,y,w=function(N){var E=N.v!==x?N.v:N.w,A=p[E],j=h(N),S=y.distance+j;if(j<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+N+" Weight: "+j);S<A.distance&&(A.distance=S,A.predecessor=x,g.decrease(E,S))};for(u.nodes().forEach(function(N){var E=N===d?0:Number.POSITIVE_INFINITY;p[N]={distance:E},g.add(N,E)});g.size()>0&&(x=g.removeMin(),y=p[x],y.distance!==Number.POSITIVE_INFINITY);)m(x).forEach(w);return p}return _4}var V4,sy;function H$(){if(sy)return V4;sy=1;var e=mS(),a=Sa();V4=l;function l(i,c,u){return a.transform(i.nodes(),function(d,h){d[h]=e(i,h,c,u)},{})}return V4}var T4,ly;function pS(){if(ly)return T4;ly=1;var e=Sa();T4=a;function a(l){var i=0,c=[],u={},d=[];function h(m){var p=u[m]={onStack:!0,lowlink:i,index:i++};if(c.push(m),l.successors(m).forEach(function(y){e.has(u,y)?u[y].onStack&&(p.lowlink=Math.min(p.lowlink,u[y].index)):(h(y),p.lowlink=Math.min(p.lowlink,u[y].lowlink))}),p.lowlink===p.index){var g=[],x;do x=c.pop(),u[x].onStack=!1,g.push(x);while(m!==x);d.push(g)}}return l.nodes().forEach(function(m){e.has(u,m)||h(m)}),d}return T4}var L4,iy;function _$(){if(iy)return L4;iy=1;var e=Sa(),a=pS();L4=l;function l(i){return e.filter(a(i),function(c){return c.length>1||c.length===1&&i.hasEdge(c[0],c[0])})}return L4}var R4,oy;function V$(){if(oy)return R4;oy=1;var e=Sa();R4=l;var a=e.constant(1);function l(c,u,d){return i(c,u||a,d||function(h){return c.outEdges(h)})}function i(c,u,d){var h={},m=c.nodes();return m.forEach(function(p){h[p]={},h[p][p]={distance:0},m.forEach(function(g){p!==g&&(h[p][g]={distance:Number.POSITIVE_INFINITY})}),d(p).forEach(function(g){var x=g.v===p?g.w:g.v,y=u(g);h[p][x]={distance:y,predecessor:p}})}),m.forEach(function(p){var g=h[p];m.forEach(function(x){var y=h[x];m.forEach(function(w){var N=y[p],E=g[w],A=y[w],j=N.distance+E.distance;j<A.distance&&(A.distance=j,A.predecessor=E.predecessor)})})}),h}return R4}var k4,cy;function gS(){if(cy)return k4;cy=1;var e=Sa();k4=a,a.CycleException=l;function a(i){var c={},u={},d=[];function h(m){if(e.has(u,m))throw new l;e.has(c,m)||(u[m]=!0,c[m]=!0,e.each(i.predecessors(m),h),delete u[m],d.push(m))}if(e.each(i.sinks(),h),e.size(c)!==i.nodeCount())throw new l;return d}function l(){}return l.prototype=new Error,k4}var D4,uy;function T$(){if(uy)return D4;uy=1;var e=gS();D4=a;function a(l){try{e(l)}catch(i){if(i instanceof e.CycleException)return!1;throw i}return!0}return D4}var O4,dy;function xS(){if(dy)return O4;dy=1;var e=Sa();O4=a;function a(i,c,u){e.isArray(c)||(c=[c]);var d=(i.isDirected()?i.successors:i.neighbors).bind(i),h=[],m={};return e.each(c,function(p){if(!i.hasNode(p))throw new Error("Graph does not have node: "+p);l(i,p,u==="post",m,d,h)}),h}function l(i,c,u,d,h,m){e.has(d,c)||(d[c]=!0,u||m.push(c),e.each(h(c),function(p){l(i,p,u,d,h,m)}),u&&m.push(c))}return O4}var F4,hy;function L$(){if(hy)return F4;hy=1;var e=xS();F4=a;function a(l,i){return e(l,i,"post")}return F4}var q4,fy;function R$(){if(fy)return q4;fy=1;var e=xS();q4=a;function a(l,i){return e(l,i,"pre")}return q4}var z4,my;function k$(){if(my)return z4;my=1;var e=Sa(),a=gm(),l=fS();z4=i;function i(c,u){var d=new a,h={},m=new l,p;function g(y){var w=y.v===p?y.w:y.v,N=m.priority(w);if(N!==void 0){var E=u(y);E<N&&(h[w]=p,m.decrease(w,E))}}if(c.nodeCount()===0)return d;e.each(c.nodes(),function(y){m.add(y,Number.POSITIVE_INFINITY),d.setNode(y)}),m.decrease(c.nodes()[0],0);for(var x=!1;m.size()>0;){if(p=m.removeMin(),e.has(h,p))d.setEdge(p,h[p]);else{if(x)throw new Error("Input graph is not connected: "+c);x=!0}c.nodeEdges(p).forEach(g)}return d}return z4}var B4,py;function D$(){return py||(py=1,B4={components:C$(),dijkstra:mS(),dijkstraAll:H$(),findCycles:_$(),floydWarshall:V$(),isAcyclic:T$(),postorder:L$(),preorder:R$(),prim:k$(),tarjan:pS(),topsort:gS()}),B4}var $4,gy;function O$(){if(gy)return $4;gy=1;var e=S$();return $4={Graph:e.Graph,json:Z$(),alg:D$(),version:e.version},$4}var U4,xy;function Da(){if(xy)return U4;xy=1;var e;if(typeof em=="function")try{e=O$()}catch{}return e||(e=window.graphlib),U4=e,U4}var I4,vy;function F$(){if(vy)return I4;vy=1;var e=BM(),a=1,l=4;function i(c){return e(c,a|l)}return I4=i,I4}var P4,by;function no(){if(by)return P4;by=1;var e=Kr(),a=En(),l=Y1(),i=Ma();function c(u,d,h){if(!i(h))return!1;var m=typeof d;return(m=="number"?a(h)&&l(d,h.length):m=="string"&&d in h)?e(h[d],u):!1}return P4=c,P4}var G4,yy;function q$(){if(yy)return G4;yy=1;var e=ao(),a=Kr(),l=no(),i=F0(),c=Object.prototype,u=c.hasOwnProperty,d=e(function(h,m){h=Object(h);var p=-1,g=m.length,x=g>2?m[2]:void 0;for(x&&l(m[0],m[1],x)&&(g=1);++p<g;)for(var y=m[p],w=i(y),N=-1,E=w.length;++N<E;){var A=w[N],j=h[A];(j===void 0||a(j,c[A])&&!u.call(h,A))&&(h[A]=y[A])}return h});return G4=d,G4}var Y4,wy;function z$(){if(wy)return Y4;wy=1;var e=Nn(),a=En(),l=l0();function i(c){return function(u,d,h){var m=Object(u);if(!a(u)){var p=e(d,3);u=l(u),d=function(x){return p(m[x],x,m)}}var g=c(u,d,h);return g>-1?m[p?u[g]:g]:void 0}}return Y4=i,Y4}var K4,Ay;function B$(){if(Ay)return K4;Ay=1;var e=/\s/;function a(l){for(var i=l.length;i--&&e.test(l.charAt(i)););return i}return K4=a,K4}var X4,jy;function $$(){if(jy)return X4;jy=1;var e=B$(),a=/^\s+/;function l(i){return i&&i.slice(0,e(i)+1).replace(a,"")}return X4=l,X4}var Q4,Ey;function U$(){if(Ey)return Q4;Ey=1;var e=$$(),a=Ma(),l=Wr(),i=NaN,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt;function m(p){if(typeof p=="number")return p;if(l(p))return i;if(a(p)){var g=typeof p.valueOf=="function"?p.valueOf():p;p=a(g)?g+"":g}if(typeof p!="string")return p===0?p:+p;p=e(p);var x=u.test(p);return x||d.test(p)?h(p.slice(2),x?2:8):c.test(p)?i:+p}return Q4=m,Q4}var J4,Ny;function vS(){if(Ny)return J4;Ny=1;var e=U$(),a=1/0,l=17976931348623157e292;function i(c){if(!c)return c===0?c:0;if(c=e(c),c===a||c===-a){var u=c<0?-1:1;return u*l}return c===c?c:0}return J4=i,J4}var W4,My;function I$(){if(My)return W4;My=1;var e=vS();function a(l){var i=e(l),c=i%1;return i===i?c?i-c:i:0}return W4=a,W4}var e6,Sy;function P$(){if(Sy)return e6;Sy=1;var e=uS(),a=Nn(),l=I$(),i=Math.max;function c(u,d,h){var m=u==null?0:u.length;if(!m)return-1;var p=h==null?0:l(h);return p<0&&(p=i(m+p,0)),e(u,a(d,3),p)}return e6=c,e6}var t6,Zy;function G$(){if(Zy)return t6;Zy=1;var e=z$(),a=P$(),l=e(a);return t6=l,t6}var a6,Cy;function bS(){if(Cy)return a6;Cy=1;var e=pm();function a(l){var i=l==null?0:l.length;return i?e(l,1):[]}return a6=a,a6}var n6,Hy;function Y$(){if(Hy)return n6;Hy=1;var e=dm(),a=$M(),l=F0();function i(c,u){return c==null?c:e(c,a(u),l)}return n6=i,n6}var r6,_y;function K$(){if(_y)return r6;_y=1;function e(a){var l=a==null?0:a.length;return l?a[l-1]:void 0}return r6=e,r6}var s6,Vy;function X$(){if(Vy)return s6;Vy=1;var e=P1(),a=hm(),l=Nn();function i(c,u){var d={};return u=l(u,3),a(c,function(h,m,p){e(d,m,u(h,m,p))}),d}return s6=i,s6}var l6,Ty;function xm(){if(Ty)return l6;Ty=1;var e=Wr();function a(l,i,c){for(var u=-1,d=l.length;++u<d;){var h=l[u],m=i(h);if(m!=null&&(p===void 0?m===m&&!e(m):c(m,p)))var p=m,g=h}return g}return l6=a,l6}var i6,Ly;function Q$(){if(Ly)return i6;Ly=1;function e(a,l){return a>l}return i6=e,i6}var o6,Ry;function J$(){if(Ry)return o6;Ry=1;var e=xm(),a=Q$(),l=q0();function i(c){return c&&c.length?e(c,l,a):void 0}return o6=i,o6}var c6,ky;function yS(){if(ky)return c6;ky=1;var e=P1(),a=Kr();function l(i,c,u){(u!==void 0&&!a(i[c],u)||u===void 0&&!(c in i))&&e(i,c,u)}return c6=l,c6}var u6,Dy;function W$(){if(Dy)return u6;Dy=1;var e=D0(),a=Q1(),l=Wa(),i="[object Object]",c=Function.prototype,u=Object.prototype,d=c.toString,h=u.hasOwnProperty,m=d.call(Object);function p(g){if(!l(g)||e(g)!=i)return!1;var x=a(g);if(x===null)return!0;var y=h.call(x,"constructor")&&x.constructor;return typeof y=="function"&&y instanceof y&&d.call(y)==m}return u6=p,u6}var d6,Oy;function wS(){if(Oy)return d6;Oy=1;function e(a,l){if(!(l==="constructor"&&typeof a[l]=="function")&&l!="__proto__")return a[l]}return d6=e,d6}var h6,Fy;function eU(){if(Fy)return h6;Fy=1;var e=Cl(),a=F0();function l(i){return e(i,a(i))}return h6=l,h6}var f6,qy;function tU(){if(qy)return f6;qy=1;var e=yS(),a=HM(),l=FM(),i=_M(),c=zM(),u=Hl(),d=gt(),h=dS(),m=Qr(),p=Zl(),g=Ma(),x=W$(),y=_l(),w=wS(),N=eU();function E(A,j,S,Z,C,H,_){var T=w(A,S),k=w(j,S),R=_.get(k);if(R){e(A,S,R);return}var O=H?H(T,k,S+"",A,j,_):void 0,I=O===void 0;if(I){var X=d(k),K=!X&&m(k),B=!X&&!K&&y(k);O=k,X||K||B?d(T)?O=T:h(T)?O=i(T):K?(I=!1,O=a(k,!0)):B?(I=!1,O=l(k,!0)):O=[]:x(k)||u(k)?(O=T,u(T)?O=N(T):(!g(T)||p(T))&&(O=c(k))):I=!1}I&&(_.set(k,O),C(O,k,Z,H,_),_.delete(k)),e(A,S,O)}return f6=E,f6}var m6,zy;function aU(){if(zy)return m6;zy=1;var e=I1(),a=yS(),l=dm(),i=tU(),c=Ma(),u=F0(),d=wS();function h(m,p,g,x,y){m!==p&&l(p,function(w,N){if(y||(y=new e),c(w))i(m,p,N,g,h,x,y);else{var E=x?x(d(m,N),w,N+"",m,p,y):void 0;E===void 0&&(E=w),a(m,N,E)}},u)}return m6=h,m6}var p6,By;function nU(){if(By)return p6;By=1;var e=ao(),a=no();function l(i){return e(function(c,u){var d=-1,h=u.length,m=h>1?u[h-1]:void 0,p=h>2?u[2]:void 0;for(m=i.length>3&&typeof m=="function"?(h--,m):void 0,p&&a(u[0],u[1],p)&&(m=h<3?void 0:m,h=1),c=Object(c);++d<h;){var g=u[d];g&&i(c,g,d,m)}return c})}return p6=l,p6}var g6,$y;function rU(){if($y)return g6;$y=1;var e=aU(),a=nU(),l=a(function(i,c,u){e(i,c,u)});return g6=l,g6}var x6,Uy;function AS(){if(Uy)return x6;Uy=1;function e(a,l){return a<l}return x6=e,x6}var v6,Iy;function sU(){if(Iy)return v6;Iy=1;var e=xm(),a=AS(),l=q0();function i(c){return c&&c.length?e(c,l,a):void 0}return v6=i,v6}var b6,Py;function lU(){if(Py)return b6;Py=1;var e=xm(),a=Nn(),l=AS();function i(c,u){return c&&c.length?e(c,a(u,2),l):void 0}return b6=i,b6}var y6,Gy;function iU(){if(Gy)return y6;Gy=1;var e=Fa(),a=function(){return e.Date.now()};return y6=a,y6}var w6,Yy;function oU(){if(Yy)return w6;Yy=1;var e=G1(),a=eo(),l=Y1(),i=Ma(),c=Vl();function u(d,h,m,p){if(!i(d))return d;h=a(h,d);for(var g=-1,x=h.length,y=x-1,w=d;w!=null&&++g<x;){var N=c(h[g]),E=m;if(N==="__proto__"||N==="constructor"||N==="prototype")return d;if(g!=y){var A=w[N];E=p?p(A,N,w):void 0,E===void 0&&(E=i(A)?A:l(h[g+1])?[]:{})}e(w,N,E),w=w[N]}return d}return w6=u,w6}var A6,Ky;function cU(){if(Ky)return A6;Ky=1;var e=to(),a=oU(),l=eo();function i(c,u,d){for(var h=-1,m=u.length,p={};++h<m;){var g=u[h],x=e(c,g);d(x,g)&&a(p,l(g,c),x)}return p}return A6=i,A6}var j6,Xy;function uU(){if(Xy)return j6;Xy=1;var e=cU(),a=eS();function l(i,c){return e(i,c,function(u,d){return a(i,d)})}return j6=l,j6}var E6,Qy;function dU(){if(Qy)return E6;Qy=1;var e=bS(),a=oS(),l=cS();function i(c){return l(a(c,void 0,e),c+"")}return E6=i,E6}var N6,Jy;function hU(){if(Jy)return N6;Jy=1;var e=uU(),a=dU(),l=a(function(i,c){return i==null?{}:e(i,c)});return N6=l,N6}var M6,Wy;function fU(){if(Wy)return M6;Wy=1;var e=Math.ceil,a=Math.max;function l(i,c,u,d){for(var h=-1,m=a(e((c-i)/(u||1)),0),p=Array(m);m--;)p[d?m:++h]=i,i+=u;return p}return M6=l,M6}var S6,ew;function mU(){if(ew)return S6;ew=1;var e=fU(),a=no(),l=vS();function i(c){return function(u,d,h){return h&&typeof h!="number"&&a(u,d,h)&&(d=h=void 0),u=l(u),d===void 0?(d=u,u=0):d=l(d),h=h===void 0?u<d?1:-1:l(h),e(u,d,h,c)}}return S6=i,S6}var Z6,tw;function pU(){if(tw)return Z6;tw=1;var e=mU(),a=e();return Z6=a,Z6}var C6,aw;function gU(){if(aw)return C6;aw=1;function e(a,l){var i=a.length;for(a.sort(l);i--;)a[i]=a[i].value;return a}return C6=e,C6}var H6,nw;function xU(){if(nw)return H6;nw=1;var e=Wr();function a(l,i){if(l!==i){var c=l!==void 0,u=l===null,d=l===l,h=e(l),m=i!==void 0,p=i===null,g=i===i,x=e(i);if(!p&&!x&&!h&&l>i||h&&m&&g&&!p&&!x||u&&m&&g||!c&&g||!d)return 1;if(!u&&!h&&!x&&l<i||x&&c&&d&&!u&&!h||p&&c&&d||!m&&d||!g)return-1}return 0}return H6=a,H6}var _6,rw;function vU(){if(rw)return _6;rw=1;var e=xU();function a(l,i,c){for(var u=-1,d=l.criteria,h=i.criteria,m=d.length,p=c.length;++u<m;){var g=e(d[u],h[u]);if(g){if(u>=p)return g;var x=c[u];return g*(x=="desc"?-1:1)}}return l.index-i.index}return _6=a,_6}var V6,sw;function bU(){if(sw)return V6;sw=1;var e=W1(),a=to(),l=Nn(),i=sS(),c=gU(),u=K1(),d=vU(),h=q0(),m=gt();function p(g,x,y){x.length?x=e(x,function(E){return m(E)?function(A){return a(A,E.length===1?E[0]:E)}:E}):x=[h];var w=-1;x=e(x,u(l));var N=i(g,function(E,A,j){var S=e(x,function(Z){return Z(E)});return{criteria:S,index:++w,value:E}});return c(N,function(E,A){return d(E,A,y)})}return V6=p,V6}var T6,lw;function yU(){if(lw)return T6;lw=1;var e=pm(),a=bU(),l=ao(),i=no(),c=l(function(u,d){if(u==null)return[];var h=d.length;return h>1&&i(u,d[0],d[1])?d=[]:h>2&&i(d[0],d[1],d[2])&&(d=[d[0]]),a(u,e(d,1),[])});return T6=c,T6}var L6,iw;function wU(){if(iw)return L6;iw=1;var e=JM(),a=0;function l(i){var c=++a;return e(i)+c}return L6=l,L6}var R6,ow;function AU(){if(ow)return R6;ow=1;function e(a,l,i){for(var c=-1,u=a.length,d=l.length,h={};++c<u;){var m=c<d?l[c]:void 0;i(h,a[c],m)}return h}return R6=e,R6}var k6,cw;function jU(){if(cw)return k6;cw=1;var e=G1(),a=AU();function l(i,c){return a(i||[],c||[],e)}return k6=l,k6}var D6,uw;function et(){if(uw)return D6;uw=1;var e;if(typeof em=="function")try{e={cloneDeep:F$(),constant:um(),defaults:q$(),each:IM(),filter:aS(),find:G$(),flatten:bS(),forEach:UM(),forIn:Y$(),has:nS(),isUndefined:rS(),last:K$(),map:lS(),mapValues:X$(),max:J$(),merge:rU(),min:sU(),minBy:lU(),now:iU(),pick:hU(),range:pU(),reduce:iS(),sortBy:yU(),uniqueId:wU(),values:hS(),zipObject:jU()}}catch{}return e||(e=window._),D6=e,D6}var O6,dw;function EU(){if(dw)return O6;dw=1,O6=e;function e(){var i={};i._next=i._prev=i,this._sentinel=i}e.prototype.dequeue=function(){var i=this._sentinel,c=i._prev;if(c!==i)return a(c),c},e.prototype.enqueue=function(i){var c=this._sentinel;i._prev&&i._next&&a(i),i._next=c._next,c._next._prev=i,c._next=i,i._prev=c},e.prototype.toString=function(){for(var i=[],c=this._sentinel,u=c._prev;u!==c;)i.push(JSON.stringify(u,l)),u=u._prev;return"["+i.join(", ")+"]"};function a(i){i._prev._next=i._next,i._next._prev=i._prev,delete i._next,delete i._prev}function l(i,c){if(i!=="_next"&&i!=="_prev")return c}return O6}var F6,hw;function NU(){if(hw)return F6;hw=1;var e=et(),a=Da().Graph,l=EU();F6=c;var i=e.constant(1);function c(p,g){if(p.nodeCount()<=1)return[];var x=h(p,g||i),y=u(x.graph,x.buckets,x.zeroIdx);return e.flatten(e.map(y,function(w){return p.outEdges(w.v,w.w)}),!0)}function u(p,g,x){for(var y=[],w=g[g.length-1],N=g[0],E;p.nodeCount();){for(;E=N.dequeue();)d(p,g,x,E);for(;E=w.dequeue();)d(p,g,x,E);if(p.nodeCount()){for(var A=g.length-2;A>0;--A)if(E=g[A].dequeue(),E){y=y.concat(d(p,g,x,E,!0));break}}}return y}function d(p,g,x,y,w){var N=w?[]:void 0;return e.forEach(p.inEdges(y.v),function(E){var A=p.edge(E),j=p.node(E.v);w&&N.push({v:E.v,w:E.w}),j.out-=A,m(g,x,j)}),e.forEach(p.outEdges(y.v),function(E){var A=p.edge(E),j=E.w,S=p.node(j);S.in-=A,m(g,x,S)}),p.removeNode(y.v),N}function h(p,g){var x=new a,y=0,w=0;e.forEach(p.nodes(),function(A){x.setNode(A,{v:A,in:0,out:0})}),e.forEach(p.edges(),function(A){var j=x.edge(A.v,A.w)||0,S=g(A),Z=j+S;x.setEdge(A.v,A.w,Z),w=Math.max(w,x.node(A.v).out+=S),y=Math.max(y,x.node(A.w).in+=S)});var N=e.range(w+y+3).map(function(){return new l}),E=y+1;return e.forEach(x.nodes(),function(A){m(N,E,x.node(A))}),{graph:x,buckets:N,zeroIdx:E}}function m(p,g,x){x.out?x.in?p[x.out-x.in+g].enqueue(x):p[p.length-1].enqueue(x):p[0].enqueue(x)}return F6}var q6,fw;function MU(){if(fw)return q6;fw=1;var e=et(),a=NU();q6={run:l,undo:c};function l(u){var d=u.graph().acyclicer==="greedy"?a(u,h(u)):i(u);e.forEach(d,function(m){var p=u.edge(m);u.removeEdge(m),p.forwardName=m.name,p.reversed=!0,u.setEdge(m.w,m.v,p,e.uniqueId("rev"))});function h(m){return function(p){return m.edge(p).weight}}}function i(u){var d=[],h={},m={};function p(g){e.has(m,g)||(m[g]=!0,h[g]=!0,e.forEach(u.outEdges(g),function(x){e.has(h,x.w)?d.push(x):p(x.w)}),delete h[g])}return e.forEach(u.nodes(),p),d}function c(u){e.forEach(u.edges(),function(d){var h=u.edge(d);if(h.reversed){u.removeEdge(d);var m=h.forwardName;delete h.reversed,delete h.forwardName,u.setEdge(d.w,d.v,h,m)}})}return q6}var z6,mw;function Xt(){if(mw)return z6;mw=1;var e=et(),a=Da().Graph;z6={addDummyNode:l,simplify:i,asNonCompoundGraph:c,successorWeights:u,predecessorWeights:d,intersectRect:h,buildLayerMatrix:m,normalizeRanks:p,removeEmptyRanks:g,addBorderNode:x,maxRank:y,partition:w,time:N,notime:E};function l(A,j,S,Z){var C;do C=e.uniqueId(Z);while(A.hasNode(C));return S.dummy=j,A.setNode(C,S),C}function i(A){var j=new a().setGraph(A.graph());return e.forEach(A.nodes(),function(S){j.setNode(S,A.node(S))}),e.forEach(A.edges(),function(S){var Z=j.edge(S.v,S.w)||{weight:0,minlen:1},C=A.edge(S);j.setEdge(S.v,S.w,{weight:Z.weight+C.weight,minlen:Math.max(Z.minlen,C.minlen)})}),j}function c(A){var j=new a({multigraph:A.isMultigraph()}).setGraph(A.graph());return e.forEach(A.nodes(),function(S){A.children(S).length||j.setNode(S,A.node(S))}),e.forEach(A.edges(),function(S){j.setEdge(S,A.edge(S))}),j}function u(A){var j=e.map(A.nodes(),function(S){var Z={};return e.forEach(A.outEdges(S),function(C){Z[C.w]=(Z[C.w]||0)+A.edge(C).weight}),Z});return e.zipObject(A.nodes(),j)}function d(A){var j=e.map(A.nodes(),function(S){var Z={};return e.forEach(A.inEdges(S),function(C){Z[C.v]=(Z[C.v]||0)+A.edge(C).weight}),Z});return e.zipObject(A.nodes(),j)}function h(A,j){var S=A.x,Z=A.y,C=j.x-S,H=j.y-Z,_=A.width/2,T=A.height/2;if(!C&&!H)throw new Error("Not possible to find intersection inside of the rectangle");var k,R;return Math.abs(H)*_>Math.abs(C)*T?(H<0&&(T=-T),k=T*C/H,R=T):(C<0&&(_=-_),k=_,R=_*H/C),{x:S+k,y:Z+R}}function m(A){var j=e.map(e.range(y(A)+1),function(){return[]});return e.forEach(A.nodes(),function(S){var Z=A.node(S),C=Z.rank;e.isUndefined(C)||(j[C][Z.order]=S)}),j}function p(A){var j=e.min(e.map(A.nodes(),function(S){return A.node(S).rank}));e.forEach(A.nodes(),function(S){var Z=A.node(S);e.has(Z,"rank")&&(Z.rank-=j)})}function g(A){var j=e.min(e.map(A.nodes(),function(H){return A.node(H).rank})),S=[];e.forEach(A.nodes(),function(H){var _=A.node(H).rank-j;S[_]||(S[_]=[]),S[_].push(H)});var Z=0,C=A.graph().nodeRankFactor;e.forEach(S,function(H,_){e.isUndefined(H)&&_%C!==0?--Z:Z&&e.forEach(H,function(T){A.node(T).rank+=Z})})}function x(A,j,S,Z){var C={width:0,height:0};return arguments.length>=4&&(C.rank=S,C.order=Z),l(A,"border",C,j)}function y(A){return e.max(e.map(A.nodes(),function(j){var S=A.node(j).rank;if(!e.isUndefined(S))return S}))}function w(A,j){var S={lhs:[],rhs:[]};return e.forEach(A,function(Z){j(Z)?S.lhs.push(Z):S.rhs.push(Z)}),S}function N(A,j){var S=e.now();try{return j()}finally{console.log(A+" time: "+(e.now()-S)+"ms")}}function E(A,j){return j()}return z6}var B6,pw;function SU(){if(pw)return B6;pw=1;var e=et(),a=Xt();B6={run:l,undo:c};function l(u){u.graph().dummyChains=[],e.forEach(u.edges(),function(d){i(u,d)})}function i(u,d){var h=d.v,m=u.node(h).rank,p=d.w,g=u.node(p).rank,x=d.name,y=u.edge(d),w=y.labelRank;if(g!==m+1){u.removeEdge(d);var N,E,A;for(A=0,++m;m<g;++A,++m)y.points=[],E={width:0,height:0,edgeLabel:y,edgeObj:d,rank:m},N=a.addDummyNode(u,"edge",E,"_d"),m===w&&(E.width=y.width,E.height=y.height,E.dummy="edge-label",E.labelpos=y.labelpos),u.setEdge(h,N,{weight:y.weight},x),A===0&&u.graph().dummyChains.push(N),h=N;u.setEdge(h,p,{weight:y.weight},x)}}function c(u){e.forEach(u.graph().dummyChains,function(d){var h=u.node(d),m=h.edgeLabel,p;for(u.setEdge(h.edgeObj,m);h.dummy;)p=u.successors(d)[0],u.removeNode(d),m.points.push({x:h.x,y:h.y}),h.dummy==="edge-label"&&(m.x=h.x,m.y=h.y,m.width=h.width,m.height=h.height),d=p,h=u.node(d)})}return B6}var $6,gw;function H1(){if(gw)return $6;gw=1;var e=et();$6={longestPath:a,slack:l};function a(i){var c={};function u(d){var h=i.node(d);if(e.has(c,d))return h.rank;c[d]=!0;var m=e.min(e.map(i.outEdges(d),function(p){return u(p.w)-i.edge(p).minlen}));return(m===Number.POSITIVE_INFINITY||m===void 0||m===null)&&(m=0),h.rank=m}e.forEach(i.sources(),u)}function l(i,c){return i.node(c.w).rank-i.node(c.v).rank-i.edge(c).minlen}return $6}var U6,xw;function jS(){if(xw)return U6;xw=1;var e=et(),a=Da().Graph,l=H1().slack;U6=i;function i(h){var m=new a({directed:!1}),p=h.nodes()[0],g=h.nodeCount();m.setNode(p,{});for(var x,y;c(m,h)<g;)x=u(m,h),y=m.hasNode(x.v)?l(h,x):-l(h,x),d(m,h,y);return m}function c(h,m){function p(g){e.forEach(m.nodeEdges(g),function(x){var y=x.v,w=g===y?x.w:y;!h.hasNode(w)&&!l(m,x)&&(h.setNode(w,{}),h.setEdge(g,w,{}),p(w))})}return e.forEach(h.nodes(),p),h.nodeCount()}function u(h,m){return e.minBy(m.edges(),function(p){if(h.hasNode(p.v)!==h.hasNode(p.w))return l(m,p)})}function d(h,m,p){e.forEach(h.nodes(),function(g){m.node(g).rank+=p})}return U6}var I6,vw;function ZU(){if(vw)return I6;vw=1;var e=et(),a=jS(),l=H1().slack,i=H1().longestPath,c=Da().alg.preorder,u=Da().alg.postorder,d=Xt().simplify;I6=h,h.initLowLimValues=x,h.initCutValues=m,h.calcCutValue=g,h.leaveEdge=w,h.enterEdge=N,h.exchangeEdges=E;function h(Z){Z=d(Z),i(Z);var C=a(Z);x(C),m(C,Z);for(var H,_;H=w(C);)_=N(C,Z,H),E(C,Z,H,_)}function m(Z,C){var H=u(Z,Z.nodes());H=H.slice(0,H.length-1),e.forEach(H,function(_){p(Z,C,_)})}function p(Z,C,H){var _=Z.node(H),T=_.parent;Z.edge(H,T).cutvalue=g(Z,C,H)}function g(Z,C,H){var _=Z.node(H),T=_.parent,k=!0,R=C.edge(H,T),O=0;return R||(k=!1,R=C.edge(T,H)),O=R.weight,e.forEach(C.nodeEdges(H),function(I){var X=I.v===H,K=X?I.w:I.v;if(K!==T){var B=X===k,Y=C.edge(I).weight;if(O+=B?Y:-Y,j(Z,H,K)){var L=Z.edge(H,K).cutvalue;O+=B?-L:L}}}),O}function x(Z,C){arguments.length<2&&(C=Z.nodes()[0]),y(Z,{},1,C)}function y(Z,C,H,_,T){var k=H,R=Z.node(_);return C[_]=!0,e.forEach(Z.neighbors(_),function(O){e.has(C,O)||(H=y(Z,C,H,O,_))}),R.low=k,R.lim=H++,T?R.parent=T:delete R.parent,H}function w(Z){return e.find(Z.edges(),function(C){return Z.edge(C).cutvalue<0})}function N(Z,C,H){var _=H.v,T=H.w;C.hasEdge(_,T)||(_=H.w,T=H.v);var k=Z.node(_),R=Z.node(T),O=k,I=!1;k.lim>R.lim&&(O=R,I=!0);var X=e.filter(C.edges(),function(K){return I===S(Z,Z.node(K.v),O)&&I!==S(Z,Z.node(K.w),O)});return e.minBy(X,function(K){return l(C,K)})}function E(Z,C,H,_){var T=H.v,k=H.w;Z.removeEdge(T,k),Z.setEdge(_.v,_.w,{}),x(Z),m(Z,C),A(Z,C)}function A(Z,C){var H=e.find(Z.nodes(),function(T){return!C.node(T).parent}),_=c(Z,H);_=_.slice(1),e.forEach(_,function(T){var k=Z.node(T).parent,R=C.edge(T,k),O=!1;R||(R=C.edge(k,T),O=!0),C.node(T).rank=C.node(k).rank+(O?R.minlen:-R.minlen)})}function j(Z,C,H){return Z.hasEdge(C,H)}function S(Z,C,H){return H.low<=C.lim&&C.lim<=H.lim}return I6}var P6,bw;function CU(){if(bw)return P6;bw=1;var e=H1(),a=e.longestPath,l=jS(),i=ZU();P6=c;function c(m){switch(m.graph().ranker){case"network-simplex":h(m);break;case"tight-tree":d(m);break;case"longest-path":u(m);break;default:h(m)}}var u=a;function d(m){a(m),l(m)}function h(m){i(m)}return P6}var G6,yw;function HU(){if(yw)return G6;yw=1;var e=et();G6=a;function a(c){var u=i(c);e.forEach(c.graph().dummyChains,function(d){for(var h=c.node(d),m=h.edgeObj,p=l(c,u,m.v,m.w),g=p.path,x=p.lca,y=0,w=g[y],N=!0;d!==m.w;){if(h=c.node(d),N){for(;(w=g[y])!==x&&c.node(w).maxRank<h.rank;)y++;w===x&&(N=!1)}if(!N){for(;y<g.length-1&&c.node(w=g[y+1]).minRank<=h.rank;)y++;w=g[y]}c.setParent(d,w),d=c.successors(d)[0]}})}function l(c,u,d,h){var m=[],p=[],g=Math.min(u[d].low,u[h].low),x=Math.max(u[d].lim,u[h].lim),y,w;y=d;do y=c.parent(y),m.push(y);while(y&&(u[y].low>g||x>u[y].lim));for(w=y,y=h;(y=c.parent(y))!==w;)p.push(y);return{path:m.concat(p.reverse()),lca:w}}function i(c){var u={},d=0;function h(m){var p=d;e.forEach(c.children(m),h),u[m]={low:p,lim:d++}}return e.forEach(c.children(),h),u}return G6}var Y6,ww;function _U(){if(ww)return Y6;ww=1;var e=et(),a=Xt();Y6={run:l,cleanup:d};function l(h){var m=a.addDummyNode(h,"root",{},"_root"),p=c(h),g=e.max(e.values(p))-1,x=2*g+1;h.graph().nestingRoot=m,e.forEach(h.edges(),function(w){h.edge(w).minlen*=x});var y=u(h)+1;e.forEach(h.children(),function(w){i(h,m,x,y,g,p,w)}),h.graph().nodeRankFactor=x}function i(h,m,p,g,x,y,w){var N=h.children(w);if(!N.length){w!==m&&h.setEdge(m,w,{weight:0,minlen:p});return}var E=a.addBorderNode(h,"_bt"),A=a.addBorderNode(h,"_bb"),j=h.node(w);h.setParent(E,w),j.borderTop=E,h.setParent(A,w),j.borderBottom=A,e.forEach(N,function(S){i(h,m,p,g,x,y,S);var Z=h.node(S),C=Z.borderTop?Z.borderTop:S,H=Z.borderBottom?Z.borderBottom:S,_=Z.borderTop?g:2*g,T=C!==H?1:x-y[w]+1;h.setEdge(E,C,{weight:_,minlen:T,nestingEdge:!0}),h.setEdge(H,A,{weight:_,minlen:T,nestingEdge:!0})}),h.parent(w)||h.setEdge(m,E,{weight:0,minlen:x+y[w]})}function c(h){var m={};function p(g,x){var y=h.children(g);y&&y.length&&e.forEach(y,function(w){p(w,x+1)}),m[g]=x}return e.forEach(h.children(),function(g){p(g,1)}),m}function u(h){return e.reduce(h.edges(),function(m,p){return m+h.edge(p).weight},0)}function d(h){var m=h.graph();h.removeNode(m.nestingRoot),delete m.nestingRoot,e.forEach(h.edges(),function(p){var g=h.edge(p);g.nestingEdge&&h.removeEdge(p)})}return Y6}var K6,Aw;function VU(){if(Aw)return K6;Aw=1;var e=et(),a=Xt();K6=l;function l(c){function u(d){var h=c.children(d),m=c.node(d);if(h.length&&e.forEach(h,u),e.has(m,"minRank")){m.borderLeft=[],m.borderRight=[];for(var p=m.minRank,g=m.maxRank+1;p<g;++p)i(c,"borderLeft","_bl",d,m,p),i(c,"borderRight","_br",d,m,p)}}e.forEach(c.children(),u)}function i(c,u,d,h,m,p){var g={width:0,height:0,rank:p,borderType:u},x=m[u][p-1],y=a.addDummyNode(c,"border",g,d);m[u][p]=y,c.setParent(y,h),x&&c.setEdge(x,y,{weight:1})}return K6}var X6,jw;function TU(){if(jw)return X6;jw=1;var e=et();X6={adjust:a,undo:l};function a(p){var g=p.graph().rankdir.toLowerCase();(g==="lr"||g==="rl")&&i(p)}function l(p){var g=p.graph().rankdir.toLowerCase();(g==="bt"||g==="rl")&&u(p),(g==="lr"||g==="rl")&&(h(p),i(p))}function i(p){e.forEach(p.nodes(),function(g){c(p.node(g))}),e.forEach(p.edges(),function(g){c(p.edge(g))})}function c(p){var g=p.width;p.width=p.height,p.height=g}function u(p){e.forEach(p.nodes(),function(g){d(p.node(g))}),e.forEach(p.edges(),function(g){var x=p.edge(g);e.forEach(x.points,d),e.has(x,"y")&&d(x)})}function d(p){p.y=-p.y}function h(p){e.forEach(p.nodes(),function(g){m(p.node(g))}),e.forEach(p.edges(),function(g){var x=p.edge(g);e.forEach(x.points,m),e.has(x,"x")&&m(x)})}function m(p){var g=p.x;p.x=p.y,p.y=g}return X6}var Q6,Ew;function LU(){if(Ew)return Q6;Ew=1;var e=et();Q6=a;function a(l){var i={},c=e.filter(l.nodes(),function(p){return!l.children(p).length}),u=e.max(e.map(c,function(p){return l.node(p).rank})),d=e.map(e.range(u+1),function(){return[]});function h(p){if(!e.has(i,p)){i[p]=!0;var g=l.node(p);d[g.rank].push(p),e.forEach(l.successors(p),h)}}var m=e.sortBy(c,function(p){return l.node(p).rank});return e.forEach(m,h),d}return Q6}var J6,Nw;function RU(){if(Nw)return J6;Nw=1;var e=et();J6=a;function a(i,c){for(var u=0,d=1;d<c.length;++d)u+=l(i,c[d-1],c[d]);return u}function l(i,c,u){for(var d=e.zipObject(u,e.map(u,function(y,w){return w})),h=e.flatten(e.map(c,function(y){return e.sortBy(e.map(i.outEdges(y),function(w){return{pos:d[w.w],weight:i.edge(w).weight}}),"pos")}),!0),m=1;m<u.length;)m<<=1;var p=2*m-1;m-=1;var g=e.map(new Array(p),function(){return 0}),x=0;return e.forEach(h.forEach(function(y){var w=y.pos+m;g[w]+=y.weight;for(var N=0;w>0;)w%2&&(N+=g[w+1]),w=w-1>>1,g[w]+=y.weight;x+=y.weight*N})),x}return J6}var W6,Mw;function kU(){if(Mw)return W6;Mw=1;var e=et();W6=a;function a(l,i){return e.map(i,function(c){var u=l.inEdges(c);if(u.length){var d=e.reduce(u,function(h,m){var p=l.edge(m),g=l.node(m.v);return{sum:h.sum+p.weight*g.order,weight:h.weight+p.weight}},{sum:0,weight:0});return{v:c,barycenter:d.sum/d.weight,weight:d.weight}}else return{v:c}})}return W6}var eh,Sw;function DU(){if(Sw)return eh;Sw=1;var e=et();eh=a;function a(c,u){var d={};e.forEach(c,function(m,p){var g=d[m.v]={indegree:0,in:[],out:[],vs:[m.v],i:p};e.isUndefined(m.barycenter)||(g.barycenter=m.barycenter,g.weight=m.weight)}),e.forEach(u.edges(),function(m){var p=d[m.v],g=d[m.w];!e.isUndefined(p)&&!e.isUndefined(g)&&(g.indegree++,p.out.push(d[m.w]))});var h=e.filter(d,function(m){return!m.indegree});return l(h)}function l(c){var u=[];function d(p){return function(g){g.merged||(e.isUndefined(g.barycenter)||e.isUndefined(p.barycenter)||g.barycenter>=p.barycenter)&&i(p,g)}}function h(p){return function(g){g.in.push(p),--g.indegree===0&&c.push(g)}}for(;c.length;){var m=c.pop();u.push(m),e.forEach(m.in.reverse(),d(m)),e.forEach(m.out,h(m))}return e.map(e.filter(u,function(p){return!p.merged}),function(p){return e.pick(p,["vs","i","barycenter","weight"])})}function i(c,u){var d=0,h=0;c.weight&&(d+=c.barycenter*c.weight,h+=c.weight),u.weight&&(d+=u.barycenter*u.weight,h+=u.weight),c.vs=u.vs.concat(c.vs),c.barycenter=d/h,c.weight=h,c.i=Math.min(u.i,c.i),u.merged=!0}return eh}var th,Zw;function OU(){if(Zw)return th;Zw=1;var e=et(),a=Xt();th=l;function l(u,d){var h=a.partition(u,function(E){return e.has(E,"barycenter")}),m=h.lhs,p=e.sortBy(h.rhs,function(E){return-E.i}),g=[],x=0,y=0,w=0;m.sort(c(!!d)),w=i(g,p,w),e.forEach(m,function(E){w+=E.vs.length,g.push(E.vs),x+=E.barycenter*E.weight,y+=E.weight,w=i(g,p,w)});var N={vs:e.flatten(g,!0)};return y&&(N.barycenter=x/y,N.weight=y),N}function i(u,d,h){for(var m;d.length&&(m=e.last(d)).i<=h;)d.pop(),u.push(m.vs),h++;return h}function c(u){return function(d,h){return d.barycenter<h.barycenter?-1:d.barycenter>h.barycenter?1:u?h.i-d.i:d.i-h.i}}return th}var ah,Cw;function FU(){if(Cw)return ah;Cw=1;var e=et(),a=kU(),l=DU(),i=OU();ah=c;function c(h,m,p,g){var x=h.children(m),y=h.node(m),w=y?y.borderLeft:void 0,N=y?y.borderRight:void 0,E={};w&&(x=e.filter(x,function(H){return H!==w&&H!==N}));var A=a(h,x);e.forEach(A,function(H){if(h.children(H.v).length){var _=c(h,H.v,p,g);E[H.v]=_,e.has(_,"barycenter")&&d(H,_)}});var j=l(A,p);u(j,E);var S=i(j,g);if(w&&(S.vs=e.flatten([w,S.vs,N],!0),h.predecessors(w).length)){var Z=h.node(h.predecessors(w)[0]),C=h.node(h.predecessors(N)[0]);e.has(S,"barycenter")||(S.barycenter=0,S.weight=0),S.barycenter=(S.barycenter*S.weight+Z.order+C.order)/(S.weight+2),S.weight+=2}return S}function u(h,m){e.forEach(h,function(p){p.vs=e.flatten(p.vs.map(function(g){return m[g]?m[g].vs:g}),!0)})}function d(h,m){e.isUndefined(h.barycenter)?(h.barycenter=m.barycenter,h.weight=m.weight):(h.barycenter=(h.barycenter*h.weight+m.barycenter*m.weight)/(h.weight+m.weight),h.weight+=m.weight)}return ah}var nh,Hw;function qU(){if(Hw)return nh;Hw=1;var e=et(),a=Da().Graph;nh=l;function l(c,u,d){var h=i(c),m=new a({compound:!0}).setGraph({root:h}).setDefaultNodeLabel(function(p){return c.node(p)});return e.forEach(c.nodes(),function(p){var g=c.node(p),x=c.parent(p);(g.rank===u||g.minRank<=u&&u<=g.maxRank)&&(m.setNode(p),m.setParent(p,x||h),e.forEach(c[d](p),function(y){var w=y.v===p?y.w:y.v,N=m.edge(w,p),E=e.isUndefined(N)?0:N.weight;m.setEdge(w,p,{weight:c.edge(y).weight+E})}),e.has(g,"minRank")&&m.setNode(p,{borderLeft:g.borderLeft[u],borderRight:g.borderRight[u]}))}),m}function i(c){for(var u;c.hasNode(u=e.uniqueId("_root")););return u}return nh}var rh,_w;function zU(){if(_w)return rh;_w=1;var e=et();rh=a;function a(l,i,c){var u={},d;e.forEach(c,function(h){for(var m=l.parent(h),p,g;m;){if(p=l.parent(m),p?(g=u[p],u[p]=m):(g=d,d=m),g&&g!==m){i.setEdge(g,m);return}m=p}})}return rh}var sh,Vw;function BU(){if(Vw)return sh;Vw=1;var e=et(),a=LU(),l=RU(),i=FU(),c=qU(),u=zU(),d=Da().Graph,h=Xt();sh=m;function m(y){var w=h.maxRank(y),N=p(y,e.range(1,w+1),"inEdges"),E=p(y,e.range(w-1,-1,-1),"outEdges"),A=a(y);x(y,A);for(var j=Number.POSITIVE_INFINITY,S,Z=0,C=0;C<4;++Z,++C){g(Z%2?N:E,Z%4>=2),A=h.buildLayerMatrix(y);var H=l(y,A);H<j&&(C=0,S=e.cloneDeep(A),j=H)}x(y,S)}function p(y,w,N){return e.map(w,function(E){return c(y,E,N)})}function g(y,w){var N=new d;e.forEach(y,function(E){var A=E.graph().root,j=i(E,A,N,w);e.forEach(j.vs,function(S,Z){E.node(S).order=Z}),u(E,N,j.vs)})}function x(y,w){e.forEach(w,function(N){e.forEach(N,function(E,A){y.node(E).order=A})})}return sh}var lh,Tw;function $U(){if(Tw)return lh;Tw=1;var e=et(),a=Da().Graph,l=Xt();lh={positionX:N,findType1Conflicts:i,findType2Conflicts:c,addConflict:d,hasConflict:h,verticalAlignment:m,horizontalCompaction:p,alignCoordinates:y,findSmallestWidthAlignment:x,balance:w};function i(j,S){var Z={};function C(H,_){var T=0,k=0,R=H.length,O=e.last(_);return e.forEach(_,function(I,X){var K=u(j,I),B=K?j.node(K).order:R;(K||I===O)&&(e.forEach(_.slice(k,X+1),function(Y){e.forEach(j.predecessors(Y),function(L){var $=j.node(L),W=$.order;(W<T||B<W)&&!($.dummy&&j.node(Y).dummy)&&d(Z,L,Y)})}),k=X+1,T=B)}),_}return e.reduce(S,C),Z}function c(j,S){var Z={};function C(_,T,k,R,O){var I;e.forEach(e.range(T,k),function(X){I=_[X],j.node(I).dummy&&e.forEach(j.predecessors(I),function(K){var B=j.node(K);B.dummy&&(B.order<R||B.order>O)&&d(Z,K,I)})})}function H(_,T){var k=-1,R,O=0;return e.forEach(T,function(I,X){if(j.node(I).dummy==="border"){var K=j.predecessors(I);K.length&&(R=j.node(K[0]).order,C(T,O,X,k,R),O=X,k=R)}C(T,O,T.length,R,_.length)}),T}return e.reduce(S,H),Z}function u(j,S){if(j.node(S).dummy)return e.find(j.predecessors(S),function(Z){return j.node(Z).dummy})}function d(j,S,Z){if(S>Z){var C=S;S=Z,Z=C}var H=j[S];H||(j[S]=H={}),H[Z]=!0}function h(j,S,Z){if(S>Z){var C=S;S=Z,Z=C}return e.has(j[S],Z)}function m(j,S,Z,C){var H={},_={},T={};return e.forEach(S,function(k){e.forEach(k,function(R,O){H[R]=R,_[R]=R,T[R]=O})}),e.forEach(S,function(k){var R=-1;e.forEach(k,function(O){var I=C(O);if(I.length){I=e.sortBy(I,function(L){return T[L]});for(var X=(I.length-1)/2,K=Math.floor(X),B=Math.ceil(X);K<=B;++K){var Y=I[K];_[O]===O&&R<T[Y]&&!h(Z,O,Y)&&(_[Y]=O,_[O]=H[O]=H[Y],R=T[Y])}}})}),{root:H,align:_}}function p(j,S,Z,C,H){var _={},T=g(j,S,Z,H),k=H?"borderLeft":"borderRight";function R(X,K){for(var B=T.nodes(),Y=B.pop(),L={};Y;)L[Y]?X(Y):(L[Y]=!0,B.push(Y),B=B.concat(K(Y))),Y=B.pop()}function O(X){_[X]=T.inEdges(X).reduce(function(K,B){return Math.max(K,_[B.v]+T.edge(B))},0)}function I(X){var K=T.outEdges(X).reduce(function(Y,L){return Math.min(Y,_[L.w]-T.edge(L))},Number.POSITIVE_INFINITY),B=j.node(X);K!==Number.POSITIVE_INFINITY&&B.borderType!==k&&(_[X]=Math.max(_[X],K))}return R(O,T.predecessors.bind(T)),R(I,T.successors.bind(T)),e.forEach(C,function(X){_[X]=_[Z[X]]}),_}function g(j,S,Z,C){var H=new a,_=j.graph(),T=E(_.nodesep,_.edgesep,C);return e.forEach(S,function(k){var R;e.forEach(k,function(O){var I=Z[O];if(H.setNode(I),R){var X=Z[R],K=H.edge(X,I);H.setEdge(X,I,Math.max(T(j,O,R),K||0))}R=O})}),H}function x(j,S){return e.minBy(e.values(S),function(Z){var C=Number.NEGATIVE_INFINITY,H=Number.POSITIVE_INFINITY;return e.forIn(Z,function(_,T){var k=A(j,T)/2;C=Math.max(_+k,C),H=Math.min(_-k,H)}),C-H})}function y(j,S){var Z=e.values(S),C=e.min(Z),H=e.max(Z);e.forEach(["u","d"],function(_){e.forEach(["l","r"],function(T){var k=_+T,R=j[k],O;if(R!==S){var I=e.values(R);O=T==="l"?C-e.min(I):H-e.max(I),O&&(j[k]=e.mapValues(R,function(X){return X+O}))}})})}function w(j,S){return e.mapValues(j.ul,function(Z,C){if(S)return j[S.toLowerCase()][C];var H=e.sortBy(e.map(j,C));return(H[1]+H[2])/2})}function N(j){var S=l.buildLayerMatrix(j),Z=e.merge(i(j,S),c(j,S)),C={},H;e.forEach(["u","d"],function(T){H=T==="u"?S:e.values(S).reverse(),e.forEach(["l","r"],function(k){k==="r"&&(H=e.map(H,function(X){return e.values(X).reverse()}));var R=(T==="u"?j.predecessors:j.successors).bind(j),O=m(j,H,Z,R),I=p(j,H,O.root,O.align,k==="r");k==="r"&&(I=e.mapValues(I,function(X){return-X})),C[T+k]=I})});var _=x(j,C);return y(C,_),w(C,j.graph().align)}function E(j,S,Z){return function(C,H,_){var T=C.node(H),k=C.node(_),R=0,O;if(R+=T.width/2,e.has(T,"labelpos"))switch(T.labelpos.toLowerCase()){case"l":O=-T.width/2;break;case"r":O=T.width/2;break}if(O&&(R+=Z?O:-O),O=0,R+=(T.dummy?S:j)/2,R+=(k.dummy?S:j)/2,R+=k.width/2,e.has(k,"labelpos"))switch(k.labelpos.toLowerCase()){case"l":O=k.width/2;break;case"r":O=-k.width/2;break}return O&&(R+=Z?O:-O),O=0,R}}function A(j,S){return j.node(S).width}return lh}var ih,Lw;function UU(){if(Lw)return ih;Lw=1;var e=et(),a=Xt(),l=$U().positionX;ih=i;function i(u){u=a.asNonCompoundGraph(u),c(u),e.forEach(l(u),function(d,h){u.node(h).x=d})}function c(u){var d=a.buildLayerMatrix(u),h=u.graph().ranksep,m=0;e.forEach(d,function(p){var g=e.max(e.map(p,function(x){return u.node(x).height}));e.forEach(p,function(x){u.node(x).y=m+g/2}),m+=g+h})}return ih}var oh,Rw;function IU(){if(Rw)return oh;Rw=1;var e=et(),a=MU(),l=SU(),i=CU(),c=Xt().normalizeRanks,u=HU(),d=Xt().removeEmptyRanks,h=_U(),m=VU(),p=TU(),g=BU(),x=UU(),y=Xt(),w=Da().Graph;oh=N;function N(z,q){var P=q&&q.debugTiming?y.time:y.notime;P("layout",function(){var oe=P(" buildLayoutGraph",function(){return R(z)});P(" runLayout",function(){E(oe,P)}),P(" updateInputGraph",function(){A(z,oe)})})}function E(z,q){q(" makeSpaceForEdgeLabels",function(){O(z)}),q(" removeSelfEdges",function(){de(z)}),q(" acyclic",function(){a.run(z)}),q(" nestingGraph.run",function(){h.run(z)}),q(" rank",function(){i(y.asNonCompoundGraph(z))}),q(" injectEdgeLabelProxies",function(){I(z)}),q(" removeEmptyRanks",function(){d(z)}),q(" nestingGraph.cleanup",function(){h.cleanup(z)}),q(" normalizeRanks",function(){c(z)}),q(" assignRankMinMax",function(){X(z)}),q(" removeEdgeLabelProxies",function(){K(z)}),q(" normalize.run",function(){l.run(z)}),q(" parentDummyChains",function(){u(z)}),q(" addBorderSegments",function(){m(z)}),q(" order",function(){g(z)}),q(" insertSelfEdges",function(){he(z)}),q(" adjustCoordinateSystem",function(){p.adjust(z)}),q(" position",function(){x(z)}),q(" positionSelfEdges",function(){D(z)}),q(" removeBorderNodes",function(){W(z)}),q(" normalize.undo",function(){l.undo(z)}),q(" fixupEdgeLabelCoords",function(){L(z)}),q(" undoCoordinateSystem",function(){p.undo(z)}),q(" translateGraph",function(){B(z)}),q(" assignNodeIntersects",function(){Y(z)}),q(" reversePoints",function(){$(z)}),q(" acyclic.undo",function(){a.undo(z)})}function A(z,q){e.forEach(z.nodes(),function(P){var oe=z.node(P),me=q.node(P);oe&&(oe.x=me.x,oe.y=me.y,q.children(P).length&&(oe.width=me.width,oe.height=me.height))}),e.forEach(z.edges(),function(P){var oe=z.edge(P),me=q.edge(P);oe.points=me.points,e.has(me,"x")&&(oe.x=me.x,oe.y=me.y)}),z.graph().width=q.graph().width,z.graph().height=q.graph().height}var j=["nodesep","edgesep","ranksep","marginx","marginy"],S={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Z=["acyclicer","ranker","rankdir","align"],C=["width","height"],H={width:0,height:0},_=["minlen","weight","width","height","labeloffset"],T={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},k=["labelpos"];function R(z){var q=new w({multigraph:!0,compound:!0}),P=re(z.graph());return q.setGraph(e.merge({},S,te(P,j),e.pick(P,Z))),e.forEach(z.nodes(),function(oe){var me=re(z.node(oe));q.setNode(oe,e.defaults(te(me,C),H)),q.setParent(oe,z.parent(oe))}),e.forEach(z.edges(),function(oe){var me=re(z.edge(oe));q.setEdge(oe,e.merge({},T,te(me,_),e.pick(me,k)))}),q}function O(z){var q=z.graph();q.ranksep/=2,e.forEach(z.edges(),function(P){var oe=z.edge(P);oe.minlen*=2,oe.labelpos.toLowerCase()!=="c"&&(q.rankdir==="TB"||q.rankdir==="BT"?oe.width+=oe.labeloffset:oe.height+=oe.labeloffset)})}function I(z){e.forEach(z.edges(),function(q){var P=z.edge(q);if(P.width&&P.height){var oe=z.node(q.v),me=z.node(q.w),be={rank:(me.rank-oe.rank)/2+oe.rank,e:q};y.addDummyNode(z,"edge-proxy",be,"_ep")}})}function X(z){var q=0;e.forEach(z.nodes(),function(P){var oe=z.node(P);oe.borderTop&&(oe.minRank=z.node(oe.borderTop).rank,oe.maxRank=z.node(oe.borderBottom).rank,q=e.max(q,oe.maxRank))}),z.graph().maxRank=q}function K(z){e.forEach(z.nodes(),function(q){var P=z.node(q);P.dummy==="edge-proxy"&&(z.edge(P.e).labelRank=P.rank,z.removeNode(q))})}function B(z){var q=Number.POSITIVE_INFINITY,P=0,oe=Number.POSITIVE_INFINITY,me=0,be=z.graph(),ke=be.marginx||0,Se=be.marginy||0;function Ze(se){var ye=se.x,Ae=se.y,wt=se.width,_e=se.height;q=Math.min(q,ye-wt/2),P=Math.max(P,ye+wt/2),oe=Math.min(oe,Ae-_e/2),me=Math.max(me,Ae+_e/2)}e.forEach(z.nodes(),function(se){Ze(z.node(se))}),e.forEach(z.edges(),function(se){var ye=z.edge(se);e.has(ye,"x")&&Ze(ye)}),q-=ke,oe-=Se,e.forEach(z.nodes(),function(se){var ye=z.node(se);ye.x-=q,ye.y-=oe}),e.forEach(z.edges(),function(se){var ye=z.edge(se);e.forEach(ye.points,function(Ae){Ae.x-=q,Ae.y-=oe}),e.has(ye,"x")&&(ye.x-=q),e.has(ye,"y")&&(ye.y-=oe)}),be.width=P-q+ke,be.height=me-oe+Se}function Y(z){e.forEach(z.edges(),function(q){var P=z.edge(q),oe=z.node(q.v),me=z.node(q.w),be,ke;P.points?(be=P.points[0],ke=P.points[P.points.length-1]):(P.points=[],be=me,ke=oe),P.points.unshift(y.intersectRect(oe,be)),P.points.push(y.intersectRect(me,ke))})}function L(z){e.forEach(z.edges(),function(q){var P=z.edge(q);if(e.has(P,"x"))switch((P.labelpos==="l"||P.labelpos==="r")&&(P.width-=P.labeloffset),P.labelpos){case"l":P.x-=P.width/2+P.labeloffset;break;case"r":P.x+=P.width/2+P.labeloffset;break}})}function $(z){e.forEach(z.edges(),function(q){var P=z.edge(q);P.reversed&&P.points.reverse()})}function W(z){e.forEach(z.nodes(),function(q){if(z.children(q).length){var P=z.node(q),oe=z.node(P.borderTop),me=z.node(P.borderBottom),be=z.node(e.last(P.borderLeft)),ke=z.node(e.last(P.borderRight));P.width=Math.abs(ke.x-be.x),P.height=Math.abs(me.y-oe.y),P.x=be.x+P.width/2,P.y=oe.y+P.height/2}}),e.forEach(z.nodes(),function(q){z.node(q).dummy==="border"&&z.removeNode(q)})}function de(z){e.forEach(z.edges(),function(q){if(q.v===q.w){var P=z.node(q.v);P.selfEdges||(P.selfEdges=[]),P.selfEdges.push({e:q,label:z.edge(q)}),z.removeEdge(q)}})}function he(z){var q=y.buildLayerMatrix(z);e.forEach(q,function(P){var oe=0;e.forEach(P,function(me,be){var ke=z.node(me);ke.order=be+oe,e.forEach(ke.selfEdges,function(Se){y.addDummyNode(z,"selfedge",{width:Se.label.width,height:Se.label.height,rank:ke.rank,order:be+ ++oe,e:Se.e,label:Se.label},"_se")}),delete ke.selfEdges})})}function D(z){e.forEach(z.nodes(),function(q){var P=z.node(q);if(P.dummy==="selfedge"){var oe=z.node(P.e.v),me=oe.x+oe.width/2,be=oe.y,ke=P.x-me,Se=oe.height/2;z.setEdge(P.e,P.label),z.removeNode(q),P.label.points=[{x:me+2*ke/3,y:be-Se},{x:me+5*ke/6,y:be-Se},{x:me+ke,y:be},{x:me+5*ke/6,y:be+Se},{x:me+2*ke/3,y:be+Se}],P.label.x=P.x,P.label.y=P.y}})}function te(z,q){return e.mapValues(e.pick(z,q),Number)}function re(z){var q={};return e.forEach(z,function(P,oe){q[oe.toLowerCase()]=P}),q}return oh}var ch,kw;function PU(){if(kw)return ch;kw=1;var e=et(),a=Xt(),l=Da().Graph;ch={debugOrdering:i};function i(c){var u=a.buildLayerMatrix(c),d=new l({compound:!0,multigraph:!0}).setGraph({});return e.forEach(c.nodes(),function(h){d.setNode(h,{label:h}),d.setParent(h,"layer"+c.node(h).rank)}),e.forEach(c.edges(),function(h){d.setEdge(h.v,h.w,{},h.name)}),e.forEach(u,function(h,m){var p="layer"+m;d.setNode(p,{rank:"same"}),e.reduce(h,function(g,x){return d.setEdge(g,x,{style:"invis"}),x})}),d}return ch}var uh,Dw;function GU(){return Dw||(Dw=1,uh="0.8.5"),uh}var dh,Ow;function YU(){return Ow||(Ow=1,dh={graphlib:Da(),layout:IU(),debug:PU(),util:{time:Xt().time,notime:Xt().notime},version:GU()}),dh}var KU=YU();const Fw=GC(KU),hh=280,fh=80,mh=200,qw=40,XU=80,QU=100,JU=60;function WU(e,a){const l=new Fw.graphlib.Graph;l.setDefaultEdgeLabel(()=>({})),l.setGraph({rankdir:"TB",nodesep:XU,ranksep:QU,marginx:40,marginy:40});for(const d of e){const h=d.type==="addStep";l.setNode(d.id,{width:h?mh:hh,height:h?qw:fh})}for(const d of a)l.setEdge(d.source,d.target);Fw.layout(l);const i=new Map;for(const d of a){const h=e.find(m=>m.id===d.target);(h==null?void 0:h.type)==="addStep"&&i.set(d.target,d.source)}const c=e.map(d=>{const h=l.node(d.id);if(!h)return d;const m=d.type==="addStep",p=m?mh:hh,g=m?qw:fh;return{...d,position:{x:h.x-p/2,y:h.y-g/2}}}),u=new Map(c.map(d=>[d.id,d]));for(const d of c){if(d.type!=="addStep")continue;const h=i.get(d.id);if(!h)continue;const m=u.get(h);if(!m)continue;const p=m.type==="conditional"?{width:280,height:100}:{width:hh,height:fh};d.position={x:m.position.x+(p.width-mh)/2,y:m.position.y+p.height+JU}}return c}function eI(){return{applyLayout:r.useCallback((a,l)=>a.length===0?a:WU(a,l),[])}}const b1=280,tl=80,tI=100,ll=200,zw=40,aI=80,ES=60;function nI(e,a){const l=new Map;for(const c of a){const u=e.find(d=>d.id===c.target);(u==null?void 0:u.type)==="addStep"&&l.set(c.target,c.source)}const i=new Map(e.map(c=>[c.id,c]));return e.map(c=>{if(c.type!=="addStep")return c;const u=l.get(c.id);if(!u)return c;const d=i.get(u);if(!d)return c;const h=d.type==="conditional"?tI:tl,m=d.type==="addStep"?ll:b1;return{...c,position:{x:d.position.x+(m-ll)/2,y:d.position.y+h+ES}}})}function Bw(e){let a=0;for(const l of e)if(l.type==="step"||l.type==="conditional"){const i=l.id.match(/^step_(\d+)$/);i&&(a=Math.max(a,parseInt(i[1],10)))}return`step_${a+1}`}function i1(e,a){const l=new Set(e.map(c=>c.id)),i=new Set;return a.filter(c=>{if(!l.has(c.source)||!l.has(c.target))return!1;const u=`${c.source}|${c.sourceHandle??""}|${c.target}`;return i.has(u)?!1:(i.add(u),!0)})}function rI(e,a){const l=new Set,i=[e];for(;i.length>0;){const c=i.shift();for(const u of a)u.source===c&&!l.has(u.target)&&(l.add(u.target),i.push(u.target))}return l}function sI(e,a,l){const{applyLayout:i}=eI(),[c]=r.useState(()=>l!=null&&l.hasCustomPositions?nI(e,a):i(e,a)),[u,d]=r.useState(c),[h,m]=r.useState(a),[p,g]=r.useState(null),x=r.useRef(a),y=r.useRef(c);r.useEffect(()=>{x.current=h},[h]),r.useEffect(()=>{y.current=u},[u]);const w=u.find(_=>_.id===p)||null,N=r.useCallback((_,T)=>{d(k=>k.map(R=>R.id===_?{...R,position:T}:R))},[d]),E=r.useCallback((_,T)=>{d(k=>k.map(R=>R.id===_?{...R,data:{...R.data,...T}}:R))},[d]),A=r.useCallback((_,T="run_agent")=>{const k=y.current,R=x.current,O=V0(_),I=k.find(Ze=>Ze.id===O),X=I==null?void 0:I.data,K=X==null?void 0:X.branchType,B=X==null?void 0:X.conditionalNodeId,Y=k.filter(Ze=>Ze.type==="step"||Ze.type==="conditional").length,L=Bw(k),$={action_type:T,action_config:{}},W={stepIndex:K?-1:Y,stepId:L,stepType:T,label:t0[T]||T,actionConfig:{},outputFields:R0($)};K&&B&&(W.branchType=K,W.parentConditionalId=B);const de=(I==null?void 0:I.position)??{x:0,y:0},he=de.x+(ll-b1)/2,D=de.y+(zw-tl)/2,te={id:L,type:"step",position:{x:he,y:D},data:W},re=R.find(Ze=>Ze.source===_&&Ze.target===O),z=re==null?void 0:re.sourceHandle;let q=R.filter(Ze=>!(Ze.source===_&&Ze.target===O));q.push({id:`${_}->${L}`,source:_,sourceHandle:z||void 0,target:L,type:"dataFlow",data:K?{branchType:K}:void 0});const P=V0(L),oe=he+(b1-ll)/2,me=D+tl+ES,be={id:P,type:"addStep",position:{x:oe,y:me},data:{parentNodeId:L,insertIndex:Y+1,...K?{branchType:K,conditionalNodeId:B}:{}}};q.push({id:`${L}->${P}`,source:L,target:P,type:"addStepEdge",data:K?{branchType:K}:void 0});const ke=k.filter(Ze=>Ze.id!==O);q=q.filter(Ze=>Ze.source!==O&&Ze.target!==O);const Se=[...ke,te,be];d(Se),m(i1(Se,q)),g(L)},[d,m]),j=r.useCallback(_=>{var L;const T=y.current,k=x.current,R=T.find($=>$.id===_);if(!R||R.type==="trigger")return;const O=k.find($=>$.target===_),I=k.filter($=>$.source===_),X=O==null?void 0:O.source;let K=k.filter($=>$.source!==_&&$.target!==_);const B=V0(_);K=K.filter($=>$.source!==B&&$.target!==B);let Y=T.filter($=>$.id!==_&&$.id!==B);if(X){const $=O==null?void 0:O.sourceHandle,W=(L=O==null?void 0:O.data)==null?void 0:L.branchType,de=I.find(he=>{const D=T.find(te=>te.id===he.target);return D&&D.type!=="addStep"});if(de)K.push({id:`${X}->${de.target}`,source:X,sourceHandle:$,target:de.target,type:"dataFlow",data:W?{branchType:W}:void 0});else{const he=R.position,D=V0(X),te={id:D,type:"addStep",position:{x:he.x+(b1-ll)/2,y:he.y+(tl-zw)/2},data:{parentNodeId:X,insertIndex:0,...W?{branchType:W,conditionalNodeId:X}:{}}};K.push({id:`${X}->${D}`,source:X,sourceHandle:$,target:D,type:"addStepEdge",data:W?{branchType:W}:void 0}),Y=[...Y,te]}}d(Y),m(i1(Y,K)),g(null)},[d,m]),S=r.useCallback((_,T,k,R)=>{const O=y.current,I=x.current,X=O.find($=>$.id===_),K=O.find($=>$.id===k);if(!X||!K||I.find($=>$.source===_&&$.sourceHandle===(T==="source"?void 0:T)&&$.target===k))return;let Y=I.filter($=>$.source!==_?!0:($.sourceHandle||"source")!==T);Y=Y.filter($=>$.target!==k||$.type==="addStepEdge");const L=T==="then"||T==="else"?T:void 0;Y.push({id:`${_}->${k}`,source:_,sourceHandle:T==="source"?void 0:T,target:k,type:"dataFlow",data:L?{branchType:L}:void 0}),m(i1(O,Y))},[]),Z=r.useCallback((_,T)=>{var q;const k=y.current,R=x.current,O=k.find(P=>P.id===_),I=k.find(P=>P.id===T);if(!O||!I)return;const X=Bw(k),K=R.find(P=>P.source===_&&P.target===T),B=(q=K==null?void 0:K.data)==null?void 0:q.branchType,Y={action_type:"run_agent",action_config:{}},L=(O.position.x+I.position.x)/2,$=(O.position.y+I.position.y)/2,W={stepIndex:B?-1:k.filter(P=>P.type==="step"||P.type==="conditional").length,stepId:X,stepType:"run_agent",label:t0.run_agent,actionConfig:{},outputFields:R0(Y)};B&&_&&(W.branchType=B,W.parentConditionalId=_);const de={id:X,type:"step",position:{x:L,y:$},data:W},he=tl+aI,D=rI(T,R);D.add(T);const te=k.map(P=>D.has(P.id)?{...P,position:{x:P.position.x,y:P.position.y+he}}:P),re=[...R.filter(P=>!(P.source===_&&P.target===T)),{id:`${_}->${X}`,source:_,sourceHandle:K==null?void 0:K.sourceHandle,target:X,type:"dataFlow",data:B?{branchType:B}:void 0},{id:`${X}->${T}`,source:X,target:T,type:"dataFlow",data:B?{branchType:B}:void 0}],z=[...te,de];d(z),m(i1(z,re)),g(X)},[d,m]),C=r.useCallback((_,T)=>{if(T.type==="addStep"){const k=T.data;A(k.parentNodeId)}else g(T.id)},[A]),H=r.useCallback(()=>{g(null)},[]);return{nodes:u,edges:h,selectedNodeId:p,selectedNode:w,onNodeClick:C,onPaneClick:H,updateNodeData:E,updateNodePosition:N,addStep:A,deleteStep:j,connectNodes:S,insertStepBetween:Z,setSelectedNodeId:g,setNodes:d,setEdges:m}}const lI={trigger:{width:280,height:80},step:{width:280,height:80},conditional:{width:280,height:100},addStep:{width:200,height:40}};function iI(e){return e.width&&e.height?{width:e.width,height:e.height}:lI[e.type||"step"]||{width:280,height:80}}function oI(e){const a=new Map;for(const l of e){const{width:i,height:c}=iI(l),u=l.position.x+i/2;switch(l.type){case"trigger":a.set(`${l.id}:source`,{nodeId:l.id,handleId:"source",type:"source",x:u,y:l.position.y+c});break;case"step":a.set(`${l.id}:target`,{nodeId:l.id,handleId:"target",type:"target",x:u,y:l.position.y}),a.set(`${l.id}:source`,{nodeId:l.id,handleId:"source",type:"source",x:u,y:l.position.y+c});break;case"conditional":a.set(`${l.id}:target`,{nodeId:l.id,handleId:"target",type:"target",x:u,y:l.position.y}),a.set(`${l.id}:then`,{nodeId:l.id,handleId:"then",type:"source",x:l.position.x+i*.35,y:l.position.y+c}),a.set(`${l.id}:else`,{nodeId:l.id,handleId:"else",type:"source",x:l.position.x+i*.65,y:l.position.y+c}),a.set(`${l.id}:source`,{nodeId:l.id,handleId:"source",type:"source",x:u,y:l.position.y+c});break;case"addStep":a.set(`${l.id}:target`,{nodeId:l.id,handleId:"target",type:"target",x:u,y:l.position.y});break;default:a.set(`${l.id}:target`,{nodeId:l.id,handleId:"target",type:"target",x:u,y:l.position.y}),a.set(`${l.id}:source`,{nodeId:l.id,handleId:"source",type:"source",x:u,y:l.position.y+c});break}}return a}function cI(e,a){const l=e.sourceHandle||"source",i=`${e.source}:${l}`,c=a.get(i),u=e.targetHandle||"target",d=`${e.target}:${u}`,h=a.get(d);return!c||!h?null:{sourceX:c.x,sourceY:c.y,targetX:h.x,targetY:h.y}}function $w(e,a,l,i,c=16){const u=l-e,d=i-a;if(Math.abs(u)<1)return`M ${e} ${a} L ${l} ${i}`;const h=a+d/2,m=Math.min(c,Math.abs(u)/2,Math.abs(d)/4),p=u>0?1:-1;return[`M ${e} ${a}`,`L ${e} ${h-m}`,`Q ${e} ${h} ${e+p*m} ${h}`,`L ${l-p*m} ${h}`,`Q ${l} ${h} ${l} ${h+m}`,`L ${l} ${i}`].join(" ")}const ph=.3,gh=2,Uw=.2,uI=.002;function dI(e,a={}){const{fitViewOnMount:l=!0,fitViewPadding:i=.3}=a,[c,u]=r.useState({x:0,y:0,zoom:1}),[d,h]=r.useState(!1),m=r.useRef(null),p=r.useRef(!1),g=r.useRef({x:0,y:0}),x=r.useRef({x:0,y:0}),y=r.useRef(!1),w=r.useCallback(H=>{if(H.length===0)return{minX:0,minY:0,maxX:100,maxY:100};let _=1/0,T=1/0,k=-1/0,R=-1/0;for(const O of H){const I=O.width||280,X=O.height||80;_=Math.min(_,O.position.x),T=Math.min(T,O.position.y),k=Math.max(k,O.position.x+I),R=Math.max(R,O.position.y+X)}return{minX:_,minY:T,maxX:k,maxY:R}},[]),N=r.useCallback(H=>{const _=m.current;if(!_)return;const T=H||e;if(T.length===0)return;const{minX:k,minY:R,maxX:O,maxY:I}=w(T),X=O-k,K=I-R,B=_.clientWidth,Y=_.clientHeight;if(B===0||Y===0)return;const L=B/(X*(1+i)),$=Y/(K*(1+i)),W=Math.min(Math.max(Math.min(L,$),ph),gh),de=(k+O)/2,he=(R+I)/2;u({x:B/2-de*W,y:Y/2-he*W,zoom:W})},[e,w,i]);r.useEffect(()=>{if(l&&!y.current&&e.length>0){const H=setTimeout(()=>{N(),y.current=!0},50);return()=>clearTimeout(H)}},[l,e.length,N]);const E=r.useCallback(H=>{H.preventDefault();const _=m.current;if(!_)return;const T=_.getBoundingClientRect(),k=H.clientX-T.left,R=H.clientY-T.top;u(O=>{const I=-H.deltaY*uI,X=Math.min(Math.max(O.zoom+I*O.zoom,ph),gh),K=X/O.zoom;return{x:k-(k-O.x)*K,y:R-(R-O.y)*K,zoom:X}})},[]),A=r.useCallback(H=>{H.button===0&&(p.current=!0,h(!0),g.current={x:H.clientX,y:H.clientY},x.current={x:c.x,y:c.y},H.target.setPointerCapture(H.pointerId))},[c.x,c.y]),j=r.useCallback(H=>{if(!p.current)return;const _=H.clientX-g.current.x,T=H.clientY-g.current.y;u(k=>({...k,x:x.current.x+_,y:x.current.y+T}))},[]),S=r.useCallback(()=>{p.current=!1,h(!1)},[]),Z=r.useCallback(()=>{u(H=>{const _=m.current;if(!_)return H;const T=_.clientWidth/2,k=_.clientHeight/2,R=Math.min(H.zoom+Uw,gh),O=R/H.zoom;return{x:T-(T-H.x)*O,y:k-(k-H.y)*O,zoom:R}})},[]),C=r.useCallback(()=>{u(H=>{const _=m.current;if(!_)return H;const T=_.clientWidth/2,k=_.clientHeight/2,R=Math.max(H.zoom-Uw,ph),O=R/H.zoom;return{x:T-(T-H.x)*O,y:k-(k-H.y)*O,zoom:R}})},[]);return{viewport:c,isPanning:d,containerRef:m,onWheel:E,onPointerDown:A,onPointerMove:j,onPointerUp:S,fitView:N,zoomIn:Z,zoomOut:C}}const hI=20;function fI({containerRef:e,viewport:a,handleMap:l,onConnect:i}){const[c,u]=r.useState(null),[d,h]=r.useState(null),m=r.useRef(null),p=r.useRef(null),g=r.useRef(null),x=r.useCallback((j,S)=>{var C;const Z=(C=e.current)==null?void 0:C.getBoundingClientRect();return Z?{x:(j-Z.left-a.x)/a.zoom,y:(S-Z.top-a.y)/a.zoom}:{x:j,y:S}},[e,a]),y=r.useCallback((j,S,Z)=>{const C=Z.sourceType==="source"?"target":"source";let H=hI,_=null;for(const T of l.values()){if(T.type!==C||T.nodeId===Z.sourceNodeId)continue;const k=T.x-j,R=T.y-S,O=Math.sqrt(k*k+R*R);O<H&&(H=O,_={nodeId:T.nodeId,handleId:T.handleId})}return _},[l]),w=r.useCallback((j,S,Z,C)=>{var T;j.stopPropagation(),j.preventDefault();const H=x(j.clientX,j.clientY),_={sourceNodeId:S,sourceHandleId:Z,sourceType:C,cursorX:H.x,cursorY:H.y};m.current=_,u(_),(T=e.current)==null||T.setPointerCapture(j.pointerId),g.current=j.pointerId},[x,e]),N=r.useCallback(j=>{if(!m.current)return;const S=x(j.clientX,j.clientY),Z={...m.current,cursorX:S.x,cursorY:S.y};m.current=Z,u(Z);const C=y(S.x,S.y,Z);p.current=C,h(C)},[x,y]),E=r.useCallback(j=>{var C;const S=m.current;let Z=p.current;if(S&&!Z&&j){const H=x(j.clientX,j.clientY);Z=y(H.x,H.y,S)}S&&Z&&i&&(S.sourceType==="source"?i(S.sourceNodeId,S.sourceHandleId,Z.nodeId,Z.handleId):i(Z.nodeId,Z.handleId,S.sourceNodeId,S.sourceHandleId)),g.current!==null&&((C=e.current)==null||C.releasePointerCapture(g.current),g.current=null),m.current=null,p.current=null,u(null),h(null)},[i,e,x,y]);return{connectionDrag:c,handleInteractionProps:{onPointerDown:w,activeDropTarget:d},onDragPointerMove:N,onDragPointerUp:E,isDragging:c!==null}}const mI=5;function pI({containerRef:e,viewport:a}){const l=r.useRef(null),i=r.useRef(a);r.useEffect(()=>{i.current=a},[a]);const c=r.useCallback((h,m,p)=>{h.button===0&&(h.target.closest("[data-handle]")||(h.stopPropagation(),l.current={nodeId:m,startPointerX:h.clientX,startPointerY:h.clientY,startNodeX:p.x,startNodeY:p.y,isDragging:!1}))},[]),u=r.useCallback(h=>{var y;const m=l.current;if(!m)return null;const p=h.clientX-m.startPointerX,g=h.clientY-m.startPointerY;if(!m.isDragging){if(Math.sqrt(p*p+g*g)<mI)return null;m.isDragging=!0,(y=e.current)==null||y.setPointerCapture(h.pointerId)}const x=i.current;return{nodeId:m.nodeId,x:m.startNodeX+p/x.zoom,y:m.startNodeY+g/x.zoom}},[e]),d=r.useCallback(()=>{const h=l.current;if(!h)return!1;const m=h.isDragging;return l.current=null,m},[]);return{onNodePointerDown:c,onNodeDragMove:u,onNodeDragUp:d,isDragging:()=>{var h;return((h=l.current)==null?void 0:h.isDragging)??!1}}}const gI=r.memo(function({edges:a,edgeTypes:l,onInsertStep:i}){return s.jsx("svg",{className:"absolute left-0 top-0 overflow-visible",style:{width:1,height:1,pointerEvents:"none"},children:a.map(({edge:c,path:u,sourceX:d,sourceY:h,targetX:m,targetY:p})=>{const g=l[c.type||"dataFlow"];if(!g)return null;const x={id:c.id,path:u,source:c.source,target:c.target,data:c.data,sourceX:d,sourceY:h,targetX:m,targetY:p,onInsertStep:c.type==="dataFlow"?i:void 0};return s.jsx(g,{...x},c.id)})})}),xI=r.memo(function({viewport:a,gap:l=20,size:i=1,color:c="rgba(255, 255, 255, 0.03)"}){const u=l*a.zoom;return s.jsx("div",{className:"pointer-events-none absolute inset-0",style:{backgroundImage:`radial-gradient(circle, ${c} ${i}px, transparent ${i}px)`,backgroundSize:`${u}px ${u}px`,backgroundPosition:`${a.x%u}px ${a.y%u}px`}})}),vI=r.memo(function({onZoomIn:a,onZoomOut:l,onFitView:i}){return s.jsxs("div",{className:"absolute bottom-4 left-4 flex flex-col rounded-lg border border-white/[0.06] bg-black/60 shadow-lg backdrop-blur-sm","data-testid":"flow-controls",children:[s.jsx("button",{onClick:a,className:"flex h-8 w-8 items-center justify-center border-b border-white/[0.06] text-neutral-400 transition-colors hover:bg-white/[0.05] hover:text-white","aria-label":"Zoom in",children:s.jsx(pt,{size:14,weight:"bold"})}),s.jsx("button",{onClick:l,className:"flex h-8 w-8 items-center justify-center border-b border-white/[0.06] text-neutral-400 transition-colors hover:bg-white/[0.05] hover:text-white","aria-label":"Zoom out",children:s.jsx(IO,{size:14,weight:"bold"})}),s.jsx("button",{onClick:i,className:"flex h-8 w-8 items-center justify-center text-neutral-400 transition-colors hover:bg-white/[0.05] hover:text-white","aria-label":"Fit view",children:s.jsx(_O,{size:14,weight:"bold"})})]})}),Iw={trigger:"#60a5fa",conditional:"#fb923c",addStep:"rgba(255,255,255,0.1)",step:"rgba(255,255,255,0.2)"},Pw=160,Gw=100,bI=r.memo(function({nodes:a,viewport:l,containerWidth:i,containerHeight:c}){const{rects:u,viewBox:d,viewportRect:h}=r.useMemo(()=>{if(a.length===0)return{rects:[],viewBox:"0 0 100 100",viewportRect:{x:0,y:0,width:100,height:100}};let m=1/0,p=1/0,g=-1/0,x=-1/0;for(const C of a){const H=C.width||280,_=C.height||80;m=Math.min(m,C.position.x),p=Math.min(p,C.position.y),g=Math.max(g,C.position.x+H),x=Math.max(x,C.position.y+_)}const y=50;m-=y,p-=y,g+=y,x+=y;const w=g-m,N=x-p,E=a.map(C=>({id:C.id,x:C.position.x,y:C.position.y,width:C.width||(C.type==="addStep"?40:280),height:C.height||(C.type==="addStep"?40:C.type==="conditional"?100:80),color:Iw[C.type||"step"]||Iw.step})),A=-l.x/l.zoom,j=-l.y/l.zoom,S=i/l.zoom,Z=c/l.zoom;return{rects:E,viewBox:`${m} ${p} ${w} ${N}`,viewportRect:{x:A,y:j,width:S,height:Z}}},[a,l,i,c]);return s.jsx("div",{className:"absolute bottom-4 right-4 rounded-lg border border-white/[0.06] bg-black/60 backdrop-blur-sm","data-testid":"flow-minimap",style:{width:Pw,height:Gw},children:s.jsxs("svg",{width:Pw,height:Gw,viewBox:d,preserveAspectRatio:"xMidYMid meet",children:[u.map(m=>s.jsx("rect",{x:m.x,y:m.y,width:m.width,height:m.height,fill:m.color,rx:4},m.id)),s.jsx("rect",{x:h.x,y:h.y,width:h.width,height:h.height,fill:"rgba(255, 255, 255, 0.05)",stroke:"rgba(255, 255, 255, 0.2)",strokeWidth:2,rx:2})]})})}),yI=r.memo(function({nodes:a,edges:l,selectedNodeId:i,nodeTypes:c,edgeTypes:u,onNodeClick:d,onPaneClick:h,onConnect:m,onNodeDrag:p,onInsertStep:g,fitViewOnMount:x=!0}){const{viewport:y,isPanning:w,containerRef:N,onWheel:E,onPointerDown:A,onPointerMove:j,onPointerUp:S,fitView:Z,zoomIn:C,zoomOut:H}=dI(a,{fitViewOnMount:x}),[_,T]=r.useState({width:0,height:0});r.useEffect(()=>{const q=N.current;if(!q)return;const P=new ResizeObserver(oe=>{const me=oe[0];me&&T({width:me.contentRect.width,height:me.contentRect.height})});return P.observe(q),()=>P.disconnect()},[N]);const k=r.useMemo(()=>oI(a),[a]),{connectionDrag:R,handleInteractionProps:O,onDragPointerMove:I,onDragPointerUp:X,isDragging:K}=fI({containerRef:N,viewport:y,handleMap:k,onConnect:m}),{onNodePointerDown:B,onNodeDragMove:Y,onNodeDragUp:L,isDragging:$}=pI({containerRef:N,viewport:y}),W=r.useMemo(()=>l.map(q=>{const P=cI(q,k);if(!P)return null;const oe=$w(P.sourceX,P.sourceY,P.targetX,P.targetY);return{edge:q,path:oe,sourceX:P.sourceX,sourceY:P.sourceY,targetX:P.targetX,targetY:P.targetY}}).filter(q=>q!==null),[l,k]),de=r.useCallback(q=>{const P=Y(q);if(P){p==null||p(P.nodeId,{x:P.x,y:P.y});return}I(q),j(q)},[Y,p,I,j]),he=r.useCallback(q=>{L()&&(re.current=!0),X(q),S()},[L,X,S]),D=r.useCallback(q=>{(q.target===q.currentTarget||q.target.dataset.paneTarget)&&A(q)},[A]),te=r.useCallback(q=>{(q.target===q.currentTarget||q.target.dataset.paneTarget)&&(h==null||h())},[h]),re=r.useRef(!1),z=r.useCallback((q,P,oe)=>{if(re.current){queueMicrotask(()=>{re.current=!1}),q.stopPropagation();return}q.stopPropagation(),d==null||d(P,oe)},[d]);return s.jsxs("div",{ref:N,className:"relative h-full w-full overflow-hidden",onWheel:E,onPointerMove:de,onPointerUp:he,onPointerDown:D,onClick:te,style:{touchAction:"none",cursor:$()?"grabbing":K?"crosshair":w?"grabbing":"default"},"data-testid":"flow-canvas",children:[s.jsx(xI,{viewport:y}),s.jsxs("div",{className:"absolute origin-top-left",style:{transform:`translate(${y.x}px, ${y.y}px) scale(${y.zoom})`,willChange:"transform"},"data-pane-target":"true",children:[s.jsx(gI,{edges:W,edgeTypes:u,onInsertStep:g}),R&&(()=>{const q=`${R.sourceNodeId}:${R.sourceHandleId}`,P=k.get(q);if(!P)return null;const oe=$w(P.x,P.y,R.cursorX,R.cursorY);return s.jsx("svg",{className:"pointer-events-none absolute left-0 top-0 overflow-visible",style:{width:1,height:1},children:s.jsx("path",{d:oe,fill:"none",stroke:"rgba(255,255,255,0.4)",strokeWidth:2,strokeDasharray:"6 4"})})})(),a.map(q=>{const P=c[q.type||"step"];if(!P)return null;const oe=q.type!=="addStep";return s.jsx("div",{className:"absolute",style:{left:q.position.x,top:q.position.y,cursor:$()?"grabbing":"pointer"},"data-testid":`flow-node-${q.id}`,onClick:me=>z(me,q.id,q),onPointerDown:oe?me=>B(me,q.id,q.position):void 0,children:s.jsx(P,{id:q.id,data:q.data,selected:q.id===i,handleProps:O})},q.id)})]}),s.jsx(vI,{onZoomIn:C,onZoomOut:H,onFitView:Z}),s.jsx(bI,{nodes:a,viewport:y,containerWidth:_.width,containerHeight:_.height})]})}),wI={agent_prompt:"#818cf8",a2a_call:"#a78bfa",run_agent:"#818cf8",save_contact:"#34d399",update_contact:"#2dd4bf",log_contact_event:"#fbbf24",webhook_forward:"#f472b6",transform_data:"#60a5fa",conditional:"#fb923c",create_task:"#a3e635",take_screenshot:"#38bdf8",generate_chart:"#f472b6"},AI={webhook:"#60a5fa",schedule:"#a78bfa",event:"#fbbf24",manual:"#34d399"},k0=r.memo(function({nodeId:a,handleId:l,type:i,position:c,left:u,colorClass:d="bg-white/30",handleProps:h}){var y,w;const m=((y=h==null?void 0:h.activeDropTarget)==null?void 0:y.nodeId)===a&&((w=h==null?void 0:h.activeDropTarget)==null?void 0:w.handleId)===l,p=r.useCallback(N=>{h==null||h.onPointerDown(N,a,l,i)},[h,a,l,i]),g=c==="top"?"-top-1.5":"-bottom-1.5",x=u??"50%";return s.jsx("div",{className:`
80
+ absolute ${g} h-3 w-3 -translate-x-1/2 rounded-full border-2 border-[#0a0a0a]
81
+ ${d}
82
+ transition-transform duration-100
83
+ ${m?"scale-150 ring-2 ring-white/40":""}
84
+ ${h?"cursor-crosshair":""}
85
+ `,style:{left:x},onPointerDown:h?p:void 0,"data-handle":!0,"data-handle-node":a,"data-handle-id":l,"data-handle-type":i})}),jI={webhook:Nl,schedule:jl,event:If,manual:Gf},EI={webhook:"Webhook",schedule:"Schedule",event:"Event",manual:"Manual"},NI=r.memo(function({id:a,data:l,selected:i,handleProps:c}){const u=l,d=jI[u.triggerType]||Nl,h=AI[u.triggerType]||"#60a5fa",m=EI[u.triggerType]||"Trigger";return s.jsxs("div",{className:`
86
+ relative w-[280px] rounded-xl border-2 bg-[#0a0a0a] px-4 py-3
87
+ transition-all duration-150
88
+ ${i?"ring-2 ring-white/20 shadow-lg shadow-white/5":"hover:border-white/20"}
89
+ `,style:{borderColor:i?h:`${h}40`},children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-9 w-9 items-center justify-center rounded-lg",style:{backgroundColor:`${h}15`},children:s.jsx(d,{size:20,weight:"fill",style:{color:h}})}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsxs("div",{className:"text-[11px] font-medium uppercase tracking-wider",style:{color:h},children:[m," Trigger"]}),s.jsx("div",{className:"truncate text-sm font-medium text-white",children:u.name||"Untitled automation"})]})]}),u.sampleFields&&u.sampleFields.length>0&&s.jsxs("div",{className:"mt-1.5 text-[10px] text-neutral-500",children:["Emits ",u.sampleFields.length," ",u.sampleFields.length===1?"field":"fields"]}),s.jsx(k0,{nodeId:a,handleId:"source",type:"source",position:"bottom",handleProps:c})]})}),NS=r.createContext({overlayRun:null,getStepResult:()=>{}}),MI=NS.Provider;function MS(){return r.useContext(NS)}const SI={agent_prompt:Ka,run_agent:Ka,a2a_call:qr,save_contact:lF,update_contact:sF,log_contact_event:PO,webhook_forward:oF,transform_data:QO,create_task:Yf,take_screenshot:Yh,generate_chart:VE},ZI=r.memo(function({id:a,data:l,selected:i,handleProps:c}){const u=l,d=SI[u.stepType]||Ka,h=wI[u.stepType]||"#818cf8",m=t0[u.stepType]||u.stepType,{overlayRun:p,getStepResult:g}=MS(),x=p?g(u.stepId):void 0;return s.jsxs("div",{className:`
90
+ relative w-[280px] rounded-xl border bg-[#0a0a0a] px-4 py-3
91
+ transition-all duration-150
92
+ ${i?"border-white/30 ring-2 ring-white/10 shadow-lg shadow-white/5":"border-white/[0.08] hover:border-white/20"}
93
+ `,children:[s.jsx(k0,{nodeId:a,handleId:"target",type:"target",position:"top",handleProps:c}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg",style:{backgroundColor:`${h}15`},children:s.jsx(d,{size:18,weight:"duotone",style:{color:h}})}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsx("div",{className:"text-[10px] font-medium uppercase tracking-wider text-neutral-500",children:m}),s.jsx("div",{className:"truncate text-sm text-white",children:u.label||m})]}),u.outputFields.length>0&&s.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[u.outputFields.slice(0,2).map(y=>s.jsx("span",{className:"rounded bg-white/[0.06] px-1.5 py-0.5 font-mono text-[9px] text-neutral-500",children:y},y)),u.outputFields.length>2&&s.jsxs("span",{className:"text-[9px] text-neutral-600",children:["+",u.outputFields.length-2]})]})]}),u.inputSources&&u.inputSources.length>0&&s.jsxs("div",{className:"mt-1.5 flex items-center gap-1 text-[9px] text-neutral-600",children:[s.jsx(EO,{size:10,className:"shrink-0 text-neutral-600"}),s.jsxs("span",{className:"truncate",children:["from"," ",u.inputSources.map(y=>`${y.label}(${y.count})`).join(", ")]})]}),x&&s.jsxs("div",{className:"mt-2 border-t border-white/[0.06] pt-2",children:[s.jsxs("div",{className:"flex items-center gap-1.5",children:[x.status==="completed"&&s.jsx(Yr,{size:12,className:"text-emerald-400",weight:"fill"}),x.status==="failed"&&s.jsx(q1,{size:12,className:"text-red-400",weight:"fill"}),x.status==="running"&&s.jsx(GN,{size:12,className:"animate-spin text-blue-400",weight:"bold"}),s.jsx("span",{className:`text-[10px] ${x.status==="completed"?"text-emerald-400":x.status==="failed"?"text-red-400":"text-blue-400"}`,children:x.status})]}),x.status==="completed"&&x.text_output&&s.jsxs("p",{className:"mt-1 truncate text-[9px] text-neutral-500",children:[x.text_output.slice(0,60),x.text_output.length>60?"...":""]}),x.status==="completed"&&x.output&&!x.text_output&&s.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:Object.entries(x.output).slice(0,2).map(([y,w])=>s.jsxs("span",{className:"font-mono text-[9px] text-neutral-500",children:[y,"=",String(w).slice(0,20)]},y))}),x.status==="failed"&&x.error&&s.jsx("p",{className:"mt-1 truncate text-[9px] text-red-400/80",children:x.error.slice(0,60)})]}),s.jsx(k0,{nodeId:a,handleId:"source",type:"source",position:"bottom",handleProps:c})]})}),CI={equals:"=",not_equals:"!=",contains:"contains",not_contains:"!contains",greater_than:">",less_than:"<",exists:"exists",not_exists:"!exists"},HI=r.memo(function({id:a,data:l,selected:i,handleProps:c}){const u=l,{condition:d}=u,h=CI[d.operator]||d.operator,m=d.field?`${d.field} ${h}${d.value?` ${d.value}`:""}`:"No condition set";return s.jsxs("div",{className:`
94
+ relative w-[280px] rounded-xl border bg-[#0a0a0a] px-4 py-3
95
+ transition-all duration-150
96
+ ${i?"border-orange-500/50 ring-2 ring-orange-500/10 shadow-lg shadow-orange-500/5":"border-orange-500/20 hover:border-orange-500/40"}
97
+ `,children:[s.jsx(k0,{nodeId:a,handleId:"target",type:"target",position:"top",handleProps:c}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-orange-500/10",children:s.jsx(iN,{size:18,weight:"duotone",className:"text-orange-400"})}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsx("div",{className:"text-[10px] font-medium uppercase tracking-wider text-orange-400",children:"Conditional"}),s.jsx("div",{className:"truncate text-sm text-white/70 font-mono text-xs",children:m})]})]}),s.jsx(k0,{nodeId:a,handleId:"then",type:"source",position:"bottom",left:"35%",colorClass:"bg-emerald-400",handleProps:c}),s.jsx("div",{className:"pointer-events-none absolute text-[9px] font-medium text-emerald-400",style:{bottom:-16,left:"35%",transform:"translateX(-50%)"},children:"Then"}),s.jsx(k0,{nodeId:a,handleId:"else",type:"source",position:"bottom",left:"65%",colorClass:"bg-amber-400",handleProps:c}),s.jsx("div",{className:"pointer-events-none absolute text-[9px] font-medium text-amber-400",style:{bottom:-16,left:"65%",transform:"translateX(-50%)"},children:"Else"})]})}),_I=r.memo(function({id:a,data:l,handleProps:i}){return s.jsxs("div",{className:"group relative flex h-10 w-[200px] items-center justify-center",children:[s.jsx(k0,{nodeId:a,handleId:"target",type:"target",position:"top",handleProps:i}),s.jsx("button",{className:"flex h-8 w-8 items-center justify-center rounded-full border border-dashed border-white/10 bg-white/[0.02] text-neutral-600 transition-all hover:border-white/20 hover:bg-white/[0.05] hover:text-white","data-testid":"add-step-button",children:s.jsx(pt,{size:14,weight:"bold"})})]})}),VI=r.memo(function(a){const{path:l,source:i,target:c,data:u,sourceX:d,sourceY:h,targetX:m,targetY:p,onInsertStep:g}=a,[x,y]=r.useState(!1),{overlayRun:w,getStepResult:N}=MS(),E=u==null?void 0:u.branchType;let A;if(w){const _=N(c);(_==null?void 0:_.status)==="completed"?A="rgba(52, 211, 153, 0.5)":(_==null?void 0:_.status)==="failed"?A="rgba(248, 113, 113, 0.5)":(_==null?void 0:_.status)==="running"?A="rgba(96, 165, 250, 0.5)":A="rgba(255, 255, 255, 0.12)"}else A=E==="then"?"rgba(52, 211, 153, 0.3)":E==="else"?"rgba(251, 191, 36, 0.3)":"rgba(255, 255, 255, 0.2)";const j=r.useCallback(_=>{_.stopPropagation(),g==null||g(i,c)},[g,i,c]),S=g&&d!=null&&h!=null&&m!=null&&p!=null,Z=S?(d+m)/2:0,C=S?(h+p)/2:0,H=24;return s.jsxs("g",{onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),children:[s.jsx("path",{d:l,fill:"none",stroke:"transparent",strokeWidth:20,style:{pointerEvents:"stroke"}}),s.jsx("path",{d:l,fill:"none",stroke:A,strokeWidth:2,style:{pointerEvents:"none"}}),S&&x&&s.jsx("foreignObject",{x:Z-H/2,y:C-H/2,width:H,height:H,style:{overflow:"visible",pointerEvents:"all"},children:s.jsx("button",{type:"button",onClick:j,className:"flex h-6 w-6 items-center justify-center rounded-full border border-white/20 bg-zinc-800 text-xs text-white/70 shadow-lg transition-all hover:border-white/40 hover:bg-zinc-700 hover:text-white",title:"Insert step",children:"+"})})]})}),TI=r.memo(function(a){const{path:l}=a;return s.jsx("path",{d:l,fill:"none",stroke:"rgba(255, 255, 255, 0.15)",strokeWidth:1.5,strokeDasharray:"6 4"})}),LI=r.memo(function({nodes:a,edges:l,selectedNodeId:i,onNodeClick:c,onPaneClick:u,onConnect:d,onNodeDrag:h,onInsertStep:m}){const p=r.useMemo(()=>({trigger:NI,step:ZI,conditional:HI,addStep:_I}),[]),g=r.useMemo(()=>({dataFlow:VI,addStepEdge:TI}),[]);return s.jsx("div",{className:"h-full w-full","data-testid":"flow-canvas-wrapper",children:s.jsx(yI,{nodes:a,edges:l,selectedNodeId:i,nodeTypes:p,edgeTypes:g,onNodeClick:c,onPaneClick:u,onConnect:d,onNodeDrag:h,onInsertStep:m,fitViewOnMount:!0})})});function RI({name:e,onNameChange:a,description:l,onDescriptionChange:i,onSave:c,onRun:u,saving:d,isNew:h}){const m=n0(),p=()=>{m("/automations")};return s.jsxs("div",{className:"flex h-14 shrink-0 items-center gap-3 border-b border-white/[0.06] px-4",children:[s.jsx("button",{onClick:p,className:"flex h-8 w-8 items-center justify-center rounded-lg text-neutral-500 transition-colors hover:bg-white/[0.05] hover:text-white","data-testid":"flow-builder-back",children:s.jsx(Gr,{size:18})}),s.jsx("div",{className:"h-5 w-px bg-white/[0.06]"}),s.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-3",children:[s.jsx("input",{type:"text",value:e,onChange:g=>a(g.target.value),placeholder:"Automation name","data-testid":"flow-builder-name",className:"min-w-0 flex-1 bg-transparent text-sm font-medium text-white placeholder-gray-600 focus:outline-none"}),s.jsx("input",{type:"text",value:l,onChange:g=>i(g.target.value),placeholder:"Description (optional)",className:"hidden min-w-0 flex-1 bg-transparent text-sm text-neutral-400 placeholder-gray-700 focus:outline-none md:block"})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[u&&!h&&s.jsxs("button",{onClick:u,className:"flex items-center gap-1.5 rounded-lg border border-white/[0.06] px-3 py-1.5 text-xs text-neutral-400 transition-colors hover:border-white/10 hover:text-white",children:[s.jsx(Kf,{size:12,weight:"fill"}),"Run"]}),s.jsxs("button",{onClick:c,disabled:d,"data-testid":"flow-builder-save",className:"flex items-center gap-1.5 rounded-lg bg-white px-3 py-1.5 text-xs font-medium text-black transition-all hover:bg-gray-200 active:scale-[0.98] disabled:opacity-50",children:[s.jsx(OO,{size:14,weight:"bold"}),d?"Saving...":h?"Create":"Save"]})]})]})}function kI({onSampleParsed:e,existingSamplePayload:a}){const[l,i]=r.useState(a?"history":"paste"),[c,u]=r.useState(""),[d,h]=r.useState(null),[m,p]=r.useState([]),[g,x]=r.useState(null);function y(A){if(u(A),h(null),p([]),x(null),!!A.trim())try{const j=JSON.parse(A);if(typeof j!="object"||j===null||Array.isArray(j)){h("Must be a JSON object (not an array or primitive)");return}const{fields:S,payload:Z}=v1(j);p(S),x(Z)}catch{h("Invalid JSON")}}function w(){g&&m.length>0&&e(m,g)}function N(){if(!a)return;const{fields:A,payload:j}=v1(a);e(A,j)}const E=[{id:"paste",label:"Paste JSON",icon:HO},...a?[{id:"history",label:"Previous data",icon:Fr}]:[]];return s.jsxs("div",{className:"space-y-3",children:[E.length>1&&s.jsx("div",{className:"flex gap-1 rounded-lg bg-white/[0.03] p-0.5",children:E.map(({id:A,label:j,icon:S})=>s.jsxs("button",{onClick:()=>i(A),className:`flex flex-1 items-center justify-center gap-1.5 rounded-md px-3 py-1.5 text-[11px] font-medium transition-colors ${l===A?"bg-white/[0.08] text-white":"text-neutral-500 hover:text-neutral-400"}`,children:[s.jsx(S,{size:13}),j]},A))}),l==="paste"&&s.jsxs("div",{className:"space-y-2",children:[s.jsx("textarea",{value:c,onChange:A=>y(A.target.value),placeholder:`{
98
+ "email": "jane@example.com",
99
+ "name": "Jane Smith"
100
+ }`,className:"h-32 w-full resize-none rounded-lg border border-white/10 bg-white/[0.03] px-3 py-2 font-mono text-xs text-white placeholder:text-neutral-700 focus:border-white/20 focus:outline-none"}),d&&s.jsxs("div",{className:"flex items-center gap-1.5 text-[11px] text-red-400",children:[s.jsx(Qf,{size:12}),d]}),m.length>0&&s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex flex-wrap gap-1",children:[m.slice(0,12).map(A=>s.jsx("span",{className:"rounded bg-white/[0.06] px-1.5 py-0.5 font-mono text-[10px] text-neutral-400",children:A},A)),m.length>12&&s.jsxs("span",{className:"px-1 text-[10px] text-neutral-600",children:["+",m.length-12," more"]})]}),s.jsxs("button",{onClick:w,className:"flex w-full items-center justify-center gap-1.5 rounded-lg bg-white/[0.08] px-3 py-2 text-xs font-medium text-white transition-colors hover:bg-white/[0.12]",children:[s.jsx(Or,{size:14}),"Use these ",m.length," ",m.length===1?"field":"fields"]})]})]}),l==="history"&&a&&s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3",children:[s.jsx("p",{className:"mb-2 text-[10px] uppercase tracking-wider text-neutral-500",children:"Previously captured data"}),s.jsx("div",{className:"flex flex-wrap gap-1",children:Object.keys(v1(a).payload).slice(0,12).map(A=>s.jsx("span",{className:"rounded bg-white/[0.06] px-1.5 py-0.5 font-mono text-[10px] text-neutral-400",children:A},A))})]}),s.jsxs("button",{onClick:N,className:"flex w-full items-center justify-center gap-1.5 rounded-lg bg-white/[0.08] px-3 py-2 text-xs font-medium text-white transition-colors hover:bg-white/[0.12]",children:[s.jsx(Or,{size:14}),"Reuse this data"]})]})]})}const SS=[{label:"No limit",seconds:0},{label:"30 seconds",seconds:30},{label:"1 minute",seconds:60},{label:"5 minutes",seconds:300},{label:"15 minutes",seconds:900},{label:"30 minutes",seconds:1800},{label:"1 hour",seconds:3600}];function DI(e){return SS.some(a=>a.seconds===e)}const OI=[{type:"webhook",label:"Webhook",description:"Triggered by incoming data",icon:Nl},{type:"schedule",label:"Schedule",description:"Runs on a timer",icon:jl},{type:"event",label:"Event",description:"Listens for system events",icon:If},{type:"manual",label:"Manual",description:"Run on demand",icon:Gf}];function FI({data:e,onChange:a}){var d;const l=!DI(e.cooldownSeconds),[i,c]=r.useState(!1),u=(((d=e.sampleFields)==null?void 0:d.length)??0)>0;return s.jsxs("div",{className:"space-y-5",children:[s.jsxs("div",{children:[s.jsx("label",{className:"mb-2 block text-xs uppercase tracking-wider text-neutral-400",children:"Trigger Type"}),s.jsx("div",{className:"grid grid-cols-2 gap-2",children:OI.map(({type:h,label:m,description:p,icon:g})=>s.jsxs("button",{onClick:()=>a({triggerType:h,triggerConfig:{}}),"data-testid":`flow-trigger-type-${h}`,className:`flex flex-col items-start rounded-lg border p-3 text-left transition-all ${e.triggerType===h?"border-white/20 bg-white/[0.05]":"border-white/[0.06] bg-white/[0.02] hover:border-white/10"}`,children:[s.jsx(g,{size:18,weight:e.triggerType===h?"fill":"regular",className:e.triggerType===h?"text-white":"text-neutral-500"}),s.jsx("span",{className:`mt-1.5 text-xs font-medium ${e.triggerType===h?"text-white":"text-neutral-400"}`,children:m}),s.jsx("span",{className:"mt-0.5 text-[10px] text-neutral-600",children:p})]},h))})]}),e.triggerType==="webhook"&&s.jsxs("div",{className:"space-y-3",children:[u&&s.jsxs("div",{className:"rounded-lg border border-emerald-500/20 bg-emerald-500/[0.05] p-3",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx(Yr,{size:14,className:"text-emerald-400",weight:"fill"}),s.jsxs("span",{className:"text-xs font-medium text-emerald-400",children:[e.sampleFields.length," ",e.sampleFields.length===1?"field":"fields"," loaded"]})]}),s.jsx("button",{onClick:()=>a({sampleFields:[],samplePayload:null}),className:"text-neutral-500 hover:text-neutral-400",children:s.jsx(Ea,{size:14})})]}),s.jsxs("div",{className:"mt-2 flex flex-wrap gap-1",children:[e.sampleFields.slice(0,8).map(h=>s.jsx("span",{className:"rounded bg-white/[0.06] px-1.5 py-0.5 font-mono text-[10px] text-neutral-400",children:h},h)),e.sampleFields.length>8&&s.jsxs("span",{className:"px-1 text-[10px] text-neutral-600",children:["+",e.sampleFields.length-8," more"]})]})]}),s.jsxs("div",{children:[s.jsxs("button",{onClick:()=>c(!i),className:"flex w-full items-center justify-between rounded-lg border border-white/[0.06] bg-white/[0.02] px-3 py-2 text-left text-xs text-neutral-400 transition-colors hover:border-white/10",children:[s.jsx("span",{children:u?"Change sample data":"Load sample data"}),s.jsx(Qa,{size:12,className:`transition-transform ${i?"rotate-180":""}`})]}),i&&s.jsx("div",{className:"mt-2",children:s.jsx(kI,{existingSamplePayload:e.samplePayload,onSampleParsed:(h,m)=>{a({sampleFields:h,samplePayload:m}),c(!1)}})})]})]}),e.triggerType==="schedule"&&s.jsxs("div",{children:[s.jsx("label",{className:"mb-1 block text-xs text-neutral-400",children:"Schedule"}),s.jsx(bM,{value:e.triggerConfig.cron||"",onChange:h=>a({triggerConfig:{...e.triggerConfig,cron:h}})})]}),e.triggerType==="event"&&s.jsxs("div",{children:[s.jsx("label",{className:"mb-1 block text-xs text-neutral-400",children:"System Event"}),s.jsxs("select",{value:e.triggerConfig.event_name||"",onChange:h=>a({triggerConfig:{...e.triggerConfig,event_name:h.target.value}}),className:"w-full rounded-md border border-white/10 bg-white/[0.03] px-3 py-2 text-sm text-white focus:border-white/20 focus:outline-none",children:[s.jsx("option",{value:"",className:"bg-black",children:"Select event..."}),s.jsx("option",{value:"task_completed",className:"bg-black",children:"Task Completed"}),s.jsx("option",{value:"agent_error",className:"bg-black",children:"Agent Error"}),s.jsx("option",{value:"contact_created",className:"bg-black",children:"Contact Created"})]})]}),(e.triggerType==="webhook"||e.triggerType==="event")&&s.jsxs("div",{children:[s.jsx("label",{className:"mb-1 block text-xs text-neutral-400",children:"Run at most every"}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("select",{value:l?-1:e.cooldownSeconds,onChange:h=>{const m=parseInt(h.target.value,10);a(m===-1?{cooldownSeconds:e.cooldownSeconds||120}:{cooldownSeconds:m})},className:"rounded-md border border-white/10 bg-white/[0.03] px-3 py-2 text-sm text-white focus:border-white/20 focus:outline-none",children:[SS.map(h=>s.jsx("option",{value:h.seconds,className:"bg-black",children:h.label},h.seconds)),s.jsx("option",{value:-1,className:"bg-black",children:"Custom"})]}),l&&s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx("input",{type:"number",value:e.cooldownSeconds,onChange:h=>a({cooldownSeconds:parseInt(h.target.value,10)||0}),min:0,className:"w-20 rounded-md border border-white/10 bg-white/[0.03] px-3 py-2 text-sm text-white focus:border-white/20 focus:outline-none"}),s.jsx("span",{className:"text-xs text-neutral-500",children:"seconds"})]})]}),s.jsx("p",{className:"mt-1 text-[10px] text-neutral-600",children:"Prevents this automation from running too often"})]})]})}function Lr({value:e,onChange:a,placeholder:l,fieldGroups:i,mode:c="path",className:u}){const[d,h]=r.useState(!1),m=r.useRef(null),p=r.useRef(null);r.useEffect(()=>{if(!d)return;const y=w=>{m.current&&!m.current.contains(w.target)&&h(!1)};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[d]);const g=y=>{a(c==="template"?`{{${y}}}`:y),h(!1)},x=i.some(y=>y.fields.length>0);return s.jsxs("div",{ref:m,className:"relative",children:[s.jsxs("div",{className:"flex",children:[s.jsx("input",{ref:p,type:"text",value:e,onChange:y=>a(y.target.value),placeholder:l,className:u||"w-full px-3 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white placeholder-gray-600 focus:border-white/20 focus:outline-none",onFocus:()=>x&&h(!0)}),x&&s.jsx("button",{type:"button",onClick:()=>h(!d),className:"absolute right-0 top-0 bottom-0 px-2 text-neutral-500 hover:text-neutral-300 transition-colors",tabIndex:-1,children:s.jsx(Qa,{size:12})})]}),d&&x&&s.jsx("div",{className:"absolute z-50 top-full left-0 right-0 mt-1 max-h-60 overflow-y-auto border border-white/10 rounded-lg bg-[#1a1a1a] shadow-xl",children:i.map(y=>y.fields.length===0?null:s.jsxs("div",{children:[s.jsx("div",{className:"px-3 py-1.5 text-[10px] uppercase tracking-wider text-neutral-500 font-medium bg-white/[0.02] sticky top-0",children:y.label}),y.fields.map(w=>s.jsxs("button",{type:"button",onClick:()=>g(w.path),className:"w-full flex items-center gap-2 px-3 py-1.5 text-xs hover:bg-white/[0.06] transition-colors text-left",children:[s.jsx("span",{className:"font-mono text-neutral-300",children:w.name}),w.value&&s.jsx("span",{className:"text-neutral-600 truncate",children:w.value})]},w.path))]},y.prefix))})]})}function rf({fieldGroups:e,textareaRef:a,onInsert:l}){const[i,c]=r.useState(!1),u=r.useRef(null);r.useEffect(()=>{if(!i)return;const m=p=>{u.current&&!u.current.contains(p.target)&&c(!1)};return document.addEventListener("mousedown",m),()=>document.removeEventListener("mousedown",m)},[i]);const d=m=>{const p=a.current;if(!p)return;const g=p.selectionStart??p.value.length,x=p.selectionEnd??g,y=p.value,w=`{{${m}}}`,N=y.substring(0,g)+w+y.substring(x);l(N),c(!1),requestAnimationFrame(()=>{p.focus();const E=g+w.length;p.setSelectionRange(E,E)})};return e.some(m=>m.fields.length>0)?s.jsxs("div",{ref:u,className:"relative inline-block",children:[s.jsx("button",{type:"button",onClick:()=>c(!i),className:"text-[10px] text-neutral-500 hover:text-neutral-300 transition-colors",children:"+ Insert field"}),i&&s.jsx("div",{className:"absolute z-50 top-full left-0 mt-1 w-64 max-h-52 overflow-y-auto border border-white/10 rounded-lg bg-[#1a1a1a] shadow-xl",children:e.map(m=>m.fields.length===0?null:s.jsxs("div",{children:[s.jsx("div",{className:"px-3 py-1.5 text-[10px] uppercase tracking-wider text-neutral-500 font-medium bg-white/[0.02] sticky top-0",children:m.label}),m.fields.map(p=>s.jsxs("button",{type:"button",onClick:()=>d(p.path),className:"w-full flex items-center gap-2 px-3 py-1.5 text-xs hover:bg-white/[0.06] transition-colors text-left",children:[s.jsx("span",{className:"font-mono text-neutral-300",children:p.name}),p.value&&s.jsx("span",{className:"text-neutral-600 truncate",children:p.value})]},p.path))]},m.prefix))})]}):null}function qI({config:e,onChange:a,previousSteps:l,sampleFields:i,samplePayload:c}){const[u,d]=r.useState([]),h=r.useRef(null),m=r.useRef(null);r.useEffect(()=>{fe("/api/agents").then(j=>d(j.data)).catch(()=>{})},[]);const p=e.agent_id||"",g=e.agent_name||"",x=e.task_prompt||"",y=e.image_url||"",w=Sl({sampleFields:i,samplePayload:c,previousSteps:l}),N=r.useMemo(()=>w.flatMap(j=>j.fields.map(S=>S.path)),[w]),E=r.useMemo(()=>{if(!y||i.length===0)return[];const j=jM(y);return Zz(j,N)},[y,i,N]),A=j=>{const S=u.find(Z=>Z.id===j);a({...e,agent_id:j,agent_name:(S==null?void 0:S.name)||""})};return s.jsxs("div",{className:"space-y-3","data-testid":"agent-prompt-config",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Agent"}),s.jsxs("select",{value:p,onChange:j=>A(j.target.value),"data-testid":"agent-prompt-agent-select",className:"w-full px-3 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white focus:border-white/20 focus:outline-none",children:[s.jsx("option",{value:"",className:"bg-black",children:"Select an agent..."}),u.map(j=>s.jsxs("option",{value:j.id,className:"bg-black",children:[j.name," (",j.role,")"]},j.id))]}),g&&p&&s.jsxs("p",{className:"text-[10px] text-neutral-600 mt-1",children:["Selected: ",g]})]}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center justify-between mb-1",children:[s.jsxs("label",{className:"text-xs text-neutral-400",children:["Task Prompt",s.jsxs("span",{className:"text-neutral-600 ml-1",children:["Use ","{{trigger.field}}"," or ","{{step_1.field}}"," for variables"]})]}),s.jsx(rf,{fieldGroups:w,textareaRef:h,onInsert:j=>a({...e,task_prompt:j})})]}),s.jsx("textarea",{ref:h,value:x,onChange:j=>a({...e,task_prompt:j.target.value}),placeholder:"Research the company {{trigger.company_name}} and create a summary.",rows:4,"data-testid":"agent-prompt-textarea",className:"w-full px-3 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white placeholder-gray-600 focus:border-white/20 focus:outline-none resize-y"})]}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center justify-between mb-1",children:[s.jsxs("label",{className:"text-xs text-neutral-400",children:["Image URL",s.jsx("span",{className:"text-neutral-600 ml-1",children:"(optional)"})]}),s.jsx(rf,{fieldGroups:w,textareaRef:m,onInsert:j=>a({...e,image_url:j})})]}),s.jsx("input",{ref:m,type:"text",value:y,onChange:j=>a({...e,image_url:j.target.value}),placeholder:"{{trigger.photo_url}}","data-testid":"agent-prompt-image-url",className:"w-full px-3 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white placeholder-gray-600 focus:border-white/20 focus:outline-none"}),E.length>0&&s.jsxs("div",{className:"flex items-start gap-1.5 mt-1.5 p-1.5 bg-amber-500/10 border border-amber-500/20 rounded",children:[s.jsx(Qf,{size:12,className:"text-amber-400 mt-0.5 flex-shrink-0"}),s.jsxs("p",{className:"text-[10px] text-amber-400",children:["Unknown ",E.length===1?"field":"fields",":"," ",E.map(j=>`{{${j}}}`).join(", "),"."," ","This may not resolve at runtime."]})]})]})]})}const zI=[{value:"",label:"None"},{value:"uppercase",label:"Uppercase"},{value:"lowercase",label:"Lowercase"},{value:"trim",label:"Trim"},{value:"to_number",label:"To Number"},{value:"to_string",label:"To String"},{value:"json_parse",label:"JSON Parse"}];function BI({config:e,onChange:a,previousSteps:l,sampleFields:i,samplePayload:c}){const u=e.mappings||[],d=(g,x,y)=>{const w=u.map((N,E)=>E===g?{...N,[x]:y||void 0}:N);a({...e,mappings:w})},h=()=>{a({...e,mappings:[...u,{target:"",source:""}]})},m=g=>{a({...e,mappings:u.filter((x,y)=>y!==g)})},p=Sl({sampleFields:i,samplePayload:c,previousSteps:l});return s.jsxs("div",{className:"space-y-3","data-testid":"transform-data-config",children:[s.jsx("p",{className:"text-xs text-neutral-500",children:"Map and transform data from previous steps. Pick a source field or type a path manually."}),u.map((g,x)=>s.jsxs("div",{className:"grid grid-cols-[1fr_1fr_auto_auto] gap-2 items-end",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Source"}),s.jsx(Lr,{value:g.source||"",onChange:y=>d(x,"source",y),placeholder:"trigger.email",fieldGroups:p})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Target Field"}),s.jsx("input",{type:"text",value:g.target||"",onChange:y=>d(x,"target",y.target.value),placeholder:"formatted_name",className:"w-full px-3 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white placeholder-gray-600 focus:border-white/20 focus:outline-none"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Transform"}),s.jsx("select",{value:g.transform||"",onChange:y=>d(x,"transform",y.target.value),className:"px-2 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white focus:border-white/20 focus:outline-none",children:zI.map(({value:y,label:w})=>s.jsx("option",{value:y,className:"bg-black",children:w},y))})]}),s.jsx("button",{onClick:()=>m(x),className:"p-2 text-neutral-600 hover:text-red-400 transition-colors",children:s.jsx(qt,{size:14})})]},x)),s.jsxs("button",{onClick:h,className:"flex items-center gap-1 text-xs text-neutral-400 hover:text-white transition-colors",children:[s.jsx(pt,{size:12,weight:"bold"}),"Add Mapping"]})]})}function $I({stepType:e,config:a,onChange:l,previousSteps:i,sampleFields:c,samplePayload:u}){const d=Sl({sampleFields:c,samplePayload:u,previousSteps:i});return e==="save_contact"?s.jsxs("div",{className:"space-y-3",children:[s.jsx("p",{className:"text-xs text-neutral-500",children:"Map incoming data to contact fields."}),["name","email","phone","company"].map(h=>s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1 capitalize",children:h}),s.jsx(Lr,{value:a[h]||"",onChange:m=>l({...a,[h]:m}),placeholder:`trigger.${h}`,fieldGroups:d})]},h)),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Tags"}),s.jsx("input",{type:"text",value:a.tags||"",onChange:h=>l({...a,tags:h.target.value}),placeholder:"tag1, tag2",className:"w-full px-3 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white placeholder-gray-600 focus:border-white/20 focus:outline-none"}),s.jsx("p",{className:"text-[10px] text-neutral-600 mt-1",children:"Comma-separated tags"})]})]}):e==="update_contact"?s.jsxs("div",{className:"space-y-3",children:[s.jsx("p",{className:"text-xs text-neutral-500",children:"Find a contact and update their fields."}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Find by email"}),s.jsx(Lr,{value:a.lookup_email||"",onChange:h=>l({...a,lookup_email:h}),placeholder:"trigger.email",fieldGroups:d})]}),["name","phone","company"].map(h=>s.jsxs("div",{children:[s.jsxs("label",{className:"text-xs text-neutral-400 block mb-1 capitalize",children:["New ",h]}),s.jsx(Lr,{value:a[h]||"",onChange:m=>l({...a,[h]:m}),placeholder:`trigger.${h}`,fieldGroups:d})]},h))]}):s.jsxs("div",{className:"space-y-3",children:[s.jsx("p",{className:"text-xs text-neutral-500",children:"Log an event to a contact's timeline."}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Contact email"}),s.jsx(Lr,{value:a.contact_email||"",onChange:h=>l({...a,contact_email:h}),placeholder:"trigger.email",fieldGroups:d})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Event type"}),s.jsx("input",{type:"text",value:a.event_type||"",onChange:h=>l({...a,event_type:h.target.value}),placeholder:"form_submitted",className:"w-full px-3 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white placeholder-gray-600 focus:border-white/20 focus:outline-none"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Description"}),s.jsx("input",{type:"text",value:a.description||"",onChange:h=>l({...a,description:h.target.value}),placeholder:"Filled out the contact form",className:"w-full px-3 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white placeholder-gray-600 focus:border-white/20 focus:outline-none"})]})]})}function UI({config:e,onChange:a,previousSteps:l,sampleFields:i,samplePayload:c}){const u=r.useRef(null),d=Sl({sampleFields:i,samplePayload:c,previousSteps:l});return s.jsxs("div",{className:"space-y-3","data-testid":"webhook-forward-config",children:[s.jsx("p",{className:"text-xs text-neutral-500",children:"Forward data to an external URL."}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center justify-between mb-1",children:[s.jsx("label",{className:"text-xs text-neutral-400",children:"URL"}),s.jsx(rf,{fieldGroups:d,textareaRef:u,onInsert:h=>a({...e,url:h})})]}),s.jsx("input",{ref:u,type:"text",value:e.url||"",onChange:h=>a({...e,url:h.target.value}),placeholder:"https://example.com/webhook",className:"w-full px-3 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white placeholder-gray-600 focus:border-white/20 focus:outline-none"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Method"}),s.jsxs("select",{value:e.method||"POST",onChange:h=>a({...e,method:h.target.value}),className:"w-full px-3 py-2 bg-white/[0.03] border border-white/10 rounded-md text-sm text-white focus:border-white/20 focus:outline-none",children:[s.jsx("option",{value:"POST",className:"bg-black",children:"POST"}),s.jsx("option",{value:"PUT",className:"bg-black",children:"PUT"}),s.jsx("option",{value:"PATCH",className:"bg-black",children:"PATCH"})]})]}),s.jsx("div",{children:s.jsxs("label",{className:"flex items-center gap-2 cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:e.include_all_data??!0,onChange:h=>a({...e,include_all_data:h.target.checked}),className:"rounded border-white/20 bg-white/[0.03]"}),s.jsx("span",{className:"text-xs text-neutral-400",children:"Include all trigger and step data"})]})})]})}const II=[{value:"equals",label:"equals"},{value:"not_equals",label:"does not equal"},{value:"contains",label:"contains"},{value:"not_contains",label:"does not contain"},{value:"greater_than",label:"greater than"},{value:"less_than",label:"less than"},{value:"exists",label:"exists"},{value:"not_exists",label:"does not exist"}];function PI({config:e,onChange:a,previousSteps:l,sampleFields:i,samplePayload:c}){const u=e.condition||{field:"",operator:"equals",value:""},d=!["exists","not_exists"].includes(u.operator),h=Sl({sampleFields:i,samplePayload:c,previousSteps:l}),m=(p,g)=>{const x={...u,[p]:g};a({...e,condition:x})};return s.jsxs("div",{className:"space-y-3","data-testid":"condition-form",children:[s.jsx("p",{className:"text-xs text-neutral-500",children:"Branch execution based on a condition. Pick a field or type a path manually."}),s.jsxs("div",{children:[s.jsx("label",{className:"mb-1 block text-xs text-neutral-400",children:"Field"}),s.jsx(Lr,{value:u.field,onChange:p=>m("field",p),placeholder:"trigger.country",fieldGroups:h})]}),s.jsxs("div",{children:[s.jsx("label",{className:"mb-1 block text-xs text-neutral-400",children:"Operator"}),s.jsx("select",{value:u.operator,onChange:p=>m("operator",p.target.value),className:"w-full rounded-md border border-white/10 bg-white/[0.03] px-3 py-2 text-sm text-white focus:border-white/20 focus:outline-none",children:II.map(({value:p,label:g})=>s.jsx("option",{value:p,className:"bg-black",children:g},p))})]}),d&&s.jsxs("div",{children:[s.jsx("label",{className:"mb-1 block text-xs text-neutral-400",children:"Value"}),s.jsx("input",{type:"text",value:u.value||"",onChange:p=>m("value",p.target.value),placeholder:"US",className:"w-full rounded-md border border-white/10 bg-white/[0.03] px-3 py-2 text-sm text-white placeholder-gray-600 focus:border-white/20 focus:outline-none"})]})]})}const GI=Object.entries(t0);function YI({data:e,node:a,onChange:l,nodes:i}){const c=KI(a,i),u=XI(i),d=QI(i),h=g=>{const x={id:e.stepId,action_type:g,action_config:{}};l({stepType:g,label:t0[g]||g,actionConfig:{},outputFields:R0(x)})},m=g=>{const x={id:e.stepId,action_type:e.stepType,action_config:g};l({actionConfig:g,outputFields:R0(x)})},p=g=>{l({label:g})};return s.jsxs("div",{className:"space-y-5",children:[s.jsxs("div",{children:[s.jsx("label",{className:"mb-1 block text-xs text-neutral-400",children:"Label"}),s.jsx("input",{type:"text",value:e.label,onChange:g=>p(g.target.value),placeholder:"Step label",className:"w-full rounded-md border border-white/10 bg-white/[0.03] px-3 py-2 text-sm text-white placeholder-gray-600 focus:border-white/20 focus:outline-none"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"mb-1 block text-xs text-neutral-400",children:"Step Type"}),s.jsx("select",{value:e.stepType,onChange:g=>h(g.target.value),"data-testid":"flow-step-type",className:"w-full rounded-md border border-white/10 bg-white/[0.03] px-3 py-2 text-sm text-white focus:border-white/20 focus:outline-none",children:GI.map(([g,x])=>s.jsx("option",{value:g,className:"bg-black",children:x},g))}),s.jsx("p",{className:"mt-1 text-[10px] text-neutral-600",children:Sz[e.stepType]||""})]}),s.jsxs("div",{className:"border-t border-white/[0.06] pt-4",children:[(e.stepType==="agent_prompt"||e.stepType==="run_agent")&&s.jsx(qI,{config:e.actionConfig,onChange:m,previousSteps:c,sampleFields:u,samplePayload:d}),e.stepType==="transform_data"&&s.jsx(BI,{config:e.actionConfig,onChange:m,previousSteps:c,sampleFields:u,samplePayload:d}),e.stepType==="conditional"&&s.jsx(PI,{config:e.actionConfig,onChange:m,previousSteps:c,sampleFields:u,samplePayload:d}),(e.stepType==="save_contact"||e.stepType==="update_contact"||e.stepType==="log_contact_event")&&s.jsx($I,{stepType:e.stepType,config:e.actionConfig,onChange:m,previousSteps:c,sampleFields:u}),e.stepType==="webhook_forward"&&s.jsx(UI,{config:e.actionConfig,onChange:m,previousSteps:c,sampleFields:u})]})]})}function KI(e,a){const l=a.filter(c=>(c.type==="step"||c.type==="conditional")&&c.id!==e.id),i=e.data;return l.filter(c=>{const u=c.data;return u.stepIndex>=0&&u.stepIndex<i.stepIndex}).sort((c,u)=>{const d=c.data,h=u.data;return d.stepIndex-h.stepIndex}).map(c=>{const u=c.data;return{id:u.stepId,action_type:u.stepType,action_config:u.actionConfig,label:u.label}})}function XI(e){const a=e.find(i=>i.id===Ia);return a?a.data.sampleFields||[]:[]}function QI(e){const a=e.find(i=>i.id===Ia);return a&&a.data.samplePayload||null}function JI({selectedNode:e,onClose:a,onUpdateNodeData:l,onDeleteStep:i,nodes:c,automationId:u}){const d=(e==null?void 0:e.type)==="trigger",h=(e==null?void 0:e.type)==="step"||(e==null?void 0:e.type)==="conditional";return s.jsx(Oa,{children:e&&s.jsx(De.div,{initial:{width:0,opacity:0},animate:{width:400,opacity:1},exit:{width:0,opacity:0},transition:{duration:.2,ease:"easeInOut"},className:"flex h-full shrink-0 flex-col overflow-hidden border-l border-white/[0.06]","data-testid":"flow-side-panel",children:s.jsxs("div",{className:"flex h-full w-[400px] flex-col",children:[s.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b border-white/[0.06] px-4",children:[s.jsx("h3",{className:"text-sm font-medium text-white",children:d?"Trigger":"Step Configuration"}),s.jsxs("div",{className:"flex items-center gap-1",children:[h&&!d&&s.jsx("button",{onClick:()=>i(e.id),className:"flex h-7 w-7 items-center justify-center rounded text-neutral-500 transition-colors hover:bg-red-500/10 hover:text-red-400","data-testid":"flow-delete-step",children:s.jsx(qt,{size:14})}),s.jsx("button",{onClick:a,className:"flex h-7 w-7 items-center justify-center rounded text-neutral-500 transition-colors hover:bg-white/[0.05] hover:text-white",children:s.jsx(Ea,{size:14})})]})]}),s.jsxs("div",{className:"flex-1 overflow-y-auto p-4 pb-6",children:[d&&s.jsx(FI,{data:e.data,onChange:m=>l(e.id,m)}),h&&!d&&s.jsx(YI,{data:e.data,node:e,onChange:m=>l(e.id,m),nodes:c,automationId:u})]})]})})})}const Yw={completed:Or,failed:Ea,running:GN,pending:Fr,cancelled:Ea},Kw={completed:"text-emerald-400",failed:"text-red-400",running:"text-blue-400",pending:"text-neutral-400",cancelled:"text-neutral-500"};function Xw(e){const a=Date.now()-new Date(e).getTime(),l=Math.floor(a/6e4);if(l<1)return"just now";if(l<60)return`${l}m ago`;const i=Math.floor(l/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}function WI({runs:e,selectedRun:a,onSelectRun:l,overlayEnabled:i,onToggleOverlay:c}){const[u,d]=r.useState(!1),h=a||e[0]||null,m=e.length>0;return s.jsxs("div",{className:"absolute right-3 top-3 z-10 flex items-center gap-2 rounded-lg border border-white/[0.08] bg-black/60 px-3 py-1.5 shadow-lg backdrop-blur-sm",children:[s.jsx(ja,{size:14,className:"text-neutral-500",weight:"fill"}),m?s.jsxs(s.Fragment,{children:[s.jsx("button",{onClick:()=>c(!i),className:`relative h-5 w-9 rounded-full transition-colors ${i?"bg-white/20":"bg-white/[0.06]"}`,children:s.jsx("div",{className:`absolute top-0.5 h-4 w-4 rounded-full bg-white transition-all ${i?"left-[18px]":"left-0.5"}`})}),s.jsxs("div",{className:"relative",children:[s.jsxs("button",{onClick:()=>d(!u),className:"flex items-center gap-1.5 text-[11px] text-neutral-400 hover:text-neutral-300",children:[h&&(()=>{const p=Yw[h.status]||Fr;return s.jsx(p,{size:12,className:`${Kw[h.status]||"text-neutral-400"} ${h.status==="running"?"animate-spin":""}`,weight:h.status==="running"?"bold":"fill"})})(),s.jsx("span",{children:h?Xw(h.created_at):"Select run"}),s.jsx(Qa,{size:10})]}),u&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"fixed inset-0 z-10",onClick:()=>d(!1)}),s.jsx("div",{className:"absolute right-0 top-full z-20 mt-1 w-48 rounded-lg border border-white/[0.08] bg-black/80 py-1 shadow-xl backdrop-blur-sm",children:e.slice(0,8).map(p=>{var x;const g=Yw[p.status]||Fr;return s.jsxs("button",{onClick:()=>{l(p),c(!0),d(!1)},className:`flex w-full items-center gap-2 px-3 py-1.5 text-left text-[11px] hover:bg-white/[0.05] ${(a==null?void 0:a.id)===p.id?"bg-white/[0.05] text-white":"text-neutral-400"}`,children:[s.jsx(g,{size:11,className:`${Kw[p.status]} ${p.status==="running"?"animate-spin":""}`,weight:p.status==="running"?"bold":"fill"}),s.jsx("span",{className:"flex-1",children:Xw(p.created_at)}),s.jsxs("span",{className:"text-[10px] text-neutral-600",children:[((x=p.step_results)==null?void 0:x.length)||0,"/",p.total_steps," steps"]})]},p.id)})})]})]})]}):s.jsx("span",{className:"text-[11px] text-neutral-600",children:"No runs yet"})]})}const eP=[];function tP({automation:e}){const a=n0(),l=!e,[i,c]=r.useState(eP),[u,d]=r.useState(!1),[h,m]=r.useState(null),p=r.useMemo(()=>u&&(h||i[0])||null,[u,h,i]),g=r.useCallback(re=>{var z;if(p)return(z=p.step_results)==null?void 0:z.find(q=>q.step_id===re)},[p]),x=r.useMemo(()=>({overlayRun:p,getStepResult:g}),[p,g]);r.useEffect(()=>{e!=null&&e.id&&fe(`/api/automations/${e.id}/runs`).then(re=>{var z;return c(((z=re.data)==null?void 0:z.runs)||[])}).catch(()=>{})},[e==null?void 0:e.id]);const{nodes:y,edges:w,hasCustomPositions:N}=r.useMemo(()=>e?EM(e):Tz(),[e==null?void 0:e.id]),{nodes:E,edges:A,selectedNode:j,selectedNodeId:S,onNodeClick:Z,onPaneClick:C,updateNodeData:H,updateNodePosition:_,deleteStep:T,connectNodes:k,insertStepBetween:R,setSelectedNodeId:O}=sI(y,w,{hasCustomPositions:N}),[I,X]=r.useState(!1),K=E.find(re=>re.id===Ia),B=K==null?void 0:K.data,Y=(B==null?void 0:B.name)||"",L=(B==null?void 0:B.description)||"",$=r.useCallback(re=>{H(Ia,{name:re})},[H]),W=r.useCallback(re=>{H(Ia,{description:re})},[H]),de=r.useCallback(async()=>{var re,z;if(!Y.trim()){ce("error","Give it a name first");return}X(!0);try{const q=Hz(E,A),P=((re=E.find(me=>me.id===Ia))==null?void 0:re.data)??{},oe={name:q.name,description:q.description,trigger_type:q.trigger_type,trigger_config:q.trigger_config,steps:q.steps,variables:q.variables,cooldown_seconds:q.cooldown_seconds,node_positions:q.node_positions,sample_payload:P.samplePayload??null,sample_fields:(z=P.sampleFields)!=null&&z.length?P.sampleFields:null};if(l){const me=await fe("/api/automations",{method:"POST",body:JSON.stringify(oe)});ce("success","Automation created"),a(`/automations/${me.data.id}/edit`)}else await fe(`/api/automations/${e.id}`,{method:"PATCH",body:JSON.stringify(oe)}),ce("success","Automation updated")}catch(q){ce("error",q instanceof Error?q.message:"Something went wrong")}finally{X(!1)}},[Y,E,A,l,e,a]),he=r.useCallback(async()=>{if(e!=null&&e.id)try{await fe(`/api/automations/${e.id}/execute`,{method:"POST"}),ce("success","Automation started")}catch(re){ce("error",re instanceof Error?re.message:"Couldn't run automation. Try again?")}},[e==null?void 0:e.id]),D=r.useCallback((re,z)=>{_(re,z)},[_]),te=r.useCallback(()=>{O(null)},[O]);return r.useEffect(()=>{const re=z=>{const q=z.target.tagName;q==="INPUT"||q==="TEXTAREA"||q==="SELECT"||(z.key==="Escape"&&O(null),(z.key==="Delete"||z.key==="Backspace")&&j&&j.type!=="trigger"&&T(j.id),(z.metaKey||z.ctrlKey)&&z.key==="s"&&(z.preventDefault(),de()))};return window.addEventListener("keydown",re),()=>window.removeEventListener("keydown",re)},[j,T,de,O]),s.jsxs("div",{className:"flex h-full flex-col","data-testid":"flow-builder",children:[s.jsx(RI,{name:Y,onNameChange:$,description:L,onDescriptionChange:W,onSave:de,onRun:(e==null?void 0:e.trigger_type)==="manual"?he:void 0,saving:I,isNew:l}),s.jsx(MI,{value:x,children:s.jsxs("div",{className:"flex min-h-0 flex-1",children:[s.jsxs("div",{className:"relative min-w-0 flex-1",children:[s.jsx(LI,{nodes:E,edges:A,selectedNodeId:S,onNodeClick:Z,onPaneClick:C,onConnect:k,onNodeDrag:D,onInsertStep:R}),!l&&s.jsx(WI,{runs:i,selectedRun:h,onSelectRun:m,overlayEnabled:u,onToggleOverlay:d})]}),s.jsx(JI,{selectedNode:j,onClose:te,onUpdateNodeData:H,onDeleteStep:T,nodes:E,automationId:e==null?void 0:e.id})]})})]})}function Qw(){const{id:e}=gl(),[a,l]=r.useState(null),[i,c]=r.useState(!!e);return r.useEffect(()=>{e&&fe(`/api/automations/${e}`).then(u=>l(u.data)).catch(()=>{}).finally(()=>c(!1))},[e]),i?s.jsx("div",{className:"flex h-full items-center justify-center",children:s.jsx("div",{className:"text-sm text-neutral-500",children:"Loading..."})}):s.jsx("div",{className:"h-full",children:s.jsx(tP,{automation:e?a:void 0})})}function en({icon:e,title:a,description:l,capabilities:i,action:c,variant:u="full"}){if(u==="compact")return s.jsxs("div",{className:"border border-white/[0.06] bg-white/[0.02] rounded-lg p-4 flex items-center gap-4",children:[s.jsx("div",{className:"shrink-0 w-10 h-10 rounded-lg bg-white/[0.04] flex items-center justify-center",children:s.jsx(e,{size:20,className:"text-neutral-400"})}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsx("p",{className:"text-sm font-medium text-neutral-300",children:a}),s.jsx("div",{className:"flex gap-2 mt-1.5 flex-wrap",children:i.map(h=>s.jsx("span",{className:"text-[10px] bg-white/[0.04] border border-white/[0.06] px-2 py-0.5 rounded-full text-neutral-500",children:h.label},h.label))})]}),c&&s.jsxs("button",{onClick:c.onClick,className:"text-xs text-neutral-400 hover:text-white transition-colors shrink-0",children:[c.label," →"]})]});const d=i.length<=2?"grid-cols-2":i.length===3?"grid-cols-3":"grid-cols-2 md:grid-cols-4";return s.jsxs(De.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3},className:"border border-white/[0.06] bg-white/[0.02] rounded-lg py-12 px-6",children:[s.jsxs("div",{className:"flex flex-col items-center text-center max-w-lg mx-auto",children:[s.jsx("div",{className:"w-14 h-14 rounded-xl bg-white/[0.04] flex items-center justify-center mb-4",children:s.jsx(e,{size:28,className:"text-neutral-400"})}),s.jsx("h3",{className:"text-sm font-medium text-neutral-300",children:a}),l&&s.jsx("p",{className:"text-xs text-neutral-500 mt-1.5 max-w-sm",children:l})]}),s.jsx("div",{className:`grid ${d} gap-3 mt-8 max-w-2xl mx-auto`,children:i.map((h,m)=>s.jsxs(De.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3,delay:.05*m},className:"border border-white/[0.06] bg-white/[0.02] rounded-lg p-3",children:[s.jsx(h.icon,{size:16,className:"text-neutral-500 mb-2"}),s.jsx("p",{className:"text-xs font-medium text-neutral-300",children:h.label}),h.description&&s.jsx("p",{className:"text-[10px] text-neutral-500 mt-0.5",children:h.description})]},h.label))}),c&&s.jsx("div",{className:"flex justify-center mt-6",children:s.jsx("button",{onClick:c.onClick,className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:c.label})})]})}function vm(e){const a=Date.now()-new Date(e).getTime(),l=Math.floor(a/6e4);if(l<1)return"just now";if(l<60)return`${l}m ago`;const i=Math.floor(l/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}const aP=[{id:"overview",label:"Overview"},{id:"outbound",label:"Outbound"},{id:"activity",label:"Activity"}];function nP(){const[e,a]=r.useState("overview"),[l,i]=r.useState(""),[c,u]=r.useState(!1),[d,h]=r.useState(null),[m,p]=r.useState(null),[g,x]=r.useState(null),[y,w]=r.useState(!1),{data:N,loading:E,refetch:A}=je("/api/a2a/connections"),j=r.useMemo(()=>{if(!N)return[];if(!l.trim())return N;const _=l.toLowerCase();return N.filter(T=>T.name.toLowerCase().includes(_)||T.endpoint_url.toLowerCase().includes(_))},[N,l]),S=r.useMemo(()=>N?{total:N.length,active:N.filter(_=>_.status==="active").length,error:N.filter(_=>_.status==="error").length}:{total:0,active:0,error:0},[N]),Z=async _=>{h(_);try{await fe(`/api/a2a/connections/${_}/test`,{method:"POST"}),ce("success","Connection is healthy"),A()}catch{ce("error","Connection test failed"),A()}finally{h(null)}},C=async()=>{if(g){w(!0);try{await fe(`/api/a2a/connections/${g.id}`,{method:"DELETE"}),ce("success","Connection deleted"),A()}catch{ce("error","Couldn't delete connection")}finally{w(!1),x(null)}}},H=!E&&(!N||N.length===0);return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Connections",subtitle:"Agent-to-Agent protocol connections",action:s.jsxs("button",{onClick:()=>{u(!c),a("outbound")},className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," New connection"]})}),s.jsx("div",{className:"mb-6",children:s.jsx(Ml,{tabs:aP,activeTab:e,onTabChange:a,layoutId:"connections-tab"})}),e==="overview"&&s.jsx(rP,{stats:S,connections:N||[],loading:E,isEmpty:H,onAddConnection:()=>{u(!0),a("outbound")}}),e==="outbound"&&s.jsx(sP,{connections:j,loading:E,search:l,onSearchChange:i,testing:d,onTest:Z,onView:p,onDelete:x,showForm:c,onToggleForm:()=>u(!c),onFormSuccess:()=>{A(),u(!1)}}),e==="activity"&&s.jsx(lP,{connections:N||[],loading:E}),m&&s.jsx(oP,{connection:m,onClose:()=>p(null),onTest:()=>Z(m.id),testing:d===m.id}),s.jsx(s0,{open:!!g,onClose:()=>x(null),onConfirm:C,title:"Delete connection",message:`Delete "${g==null?void 0:g.name}"? This can't be undone.`,confirmLabel:"Delete",loading:y})]})}function rP({stats:e,connections:a,loading:l,isEmpty:i,onAddConnection:c}){return l?s.jsx(Qe,{count:4}):i?s.jsx(en,{icon:qr,title:"No connections yet",description:"Connect to external A2A agents to delegate tasks and share capabilities.",capabilities:[{icon:Uf,label:"Outbound calls",description:"Delegate tasks to remote agents"},{icon:Gr,label:"Inbound requests",description:"Receive tasks from other workspaces"},{icon:Ih,label:"Bidirectional",description:"Full two-way communication"},{icon:kr,label:"Health monitoring",description:"Track connection status"}],action:{label:"Add your first connection",onClick:c}}):s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsx(Nt,{label:"Connections",value:e.total}),s.jsx(Nt,{label:"Active",value:e.active,color:"text-success"}),s.jsx(Nt,{label:"Errors",value:e.error,color:e.error>0?"text-critical":void 0})]}),s.jsx("div",{className:"border border-white/[0.08] bg-white/[0.02] rounded-lg p-6",children:s.jsxs("div",{className:"flex items-center justify-center gap-8",children:[s.jsxs("div",{className:"text-center",children:[s.jsx("p",{className:"text-[10px] uppercase tracking-wider text-neutral-500 mb-2",children:"Outbound"}),s.jsxs("div",{className:"space-y-1.5",children:[a.slice(0,3).map(u=>s.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[s.jsx("span",{className:`w-1.5 h-1.5 rounded-full ${u.status==="active"?"bg-success":"bg-warning"}`}),s.jsx("span",{className:"text-neutral-300 truncate max-w-[120px]",children:u.name})]},u.id)),a.length>3&&s.jsxs("p",{className:"text-[10px] text-neutral-500",children:["+",a.length-3," more"]})]})]}),s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx(Ih,{size:20,className:"text-neutral-500 mb-1"}),s.jsx("div",{className:"w-12 h-12 rounded-full border border-white/10 bg-white/[0.04] flex items-center justify-center",children:s.jsx(qr,{size:20,className:"text-white"})}),s.jsx("p",{className:"text-[10px] text-neutral-500 mt-1",children:"Your workspace"})]}),s.jsxs("div",{className:"text-center",children:[s.jsx("p",{className:"text-[10px] uppercase tracking-wider text-neutral-500 mb-2",children:"Inbound"}),s.jsx("p",{className:"text-xs text-neutral-500",children:"API keys not yet configured"})]})]})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xs font-medium text-neutral-400 uppercase tracking-wider mb-2",children:"Recent connections"}),s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:a.slice(0,5).map(u=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[s.jsx("span",{className:`w-2 h-2 rounded-full shrink-0 ${u.status==="active"?"bg-success":u.status==="error"?"bg-critical":"bg-warning"}`}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:u.name}),s.jsx("p",{className:"text-xs text-neutral-500 truncate",children:u.endpoint_url})]})]}),s.jsx(ct,{status:u.status})]},u.id))})]})]})}function sP({connections:e,loading:a,search:l,onSearchChange:i,testing:c,onTest:u,onView:d,onDelete:h,showForm:m,onToggleForm:p,onFormSuccess:g}){return s.jsxs("div",{children:[m&&s.jsx("div",{className:"mb-4",children:s.jsx(iP,{onClose:p,onSuccess:g})}),s.jsxs("div",{className:"relative mb-4",children:[s.jsx(jn,{size:14,className:"absolute left-3 top-1/2 -translate-y-1/2 text-neutral-400"}),s.jsx("input",{value:l,onChange:x=>i(x.target.value),placeholder:"Search connections...",className:"w-full bg-white/5 border border-white/10 rounded-lg pl-8 pr-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),a?s.jsx(Qe,{count:4}):e.length?s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:e.map(x=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("button",{className:"min-w-0 mr-3 text-left flex-1",onClick:()=>d(x),children:[s.jsx("p",{className:"text-sm font-medium truncate hover:text-white transition-colors",children:x.name}),s.jsxs("p",{className:"text-xs text-neutral-400 truncate",children:[s.jsx("span",{className:"text-white",children:x.endpoint_url}),s.jsxs("span",{className:"ml-2",children:["· ",x.trust_level.replace(/_/g," ")]}),x.last_health_check_at&&s.jsxs("span",{className:"ml-2",children:["· checked ",vm(x.last_health_check_at)]})]}),x.skills&&x.skills.length>0&&s.jsxs("div",{className:"flex gap-1 mt-1",children:[x.skills.slice(0,3).map(y=>s.jsx("span",{className:"text-[10px] bg-white/[0.06] px-1.5 py-0.5 rounded text-neutral-400",children:y},y)),x.skills.length>3&&s.jsxs("span",{className:"text-[10px] text-neutral-400",children:["+",x.skills.length-3]})]})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[s.jsx(ct,{status:x.status}),s.jsx("button",{onClick:()=>d(x),className:"text-neutral-400 hover:text-white transition-colors",title:"Details",children:s.jsx(Pf,{size:14})}),s.jsx("button",{onClick:()=>u(x.id),disabled:c===x.id,className:"text-neutral-400 hover:text-white transition-colors disabled:opacity-50",title:"Test connection",children:s.jsx(Al,{size:14,className:c===x.id?"animate-spin":""})}),s.jsx("button",{onClick:()=>h(x),className:"text-neutral-400 hover:text-critical transition-colors",title:"Delete",children:s.jsx(qt,{size:14})})]})]},x.id))}):s.jsx(Mt,{icon:s.jsx(qr,{size:32}),title:l?"No matches":"No outbound connections",description:l?`Nothing matching "${l}".`:"Add a connection to start delegating tasks."})]})}function lP({connections:e,loading:a}){if(a)return s.jsx(Qe,{count:4});const l=e.filter(i=>i.last_health_check_at).sort((i,c)=>new Date(c.last_health_check_at).getTime()-new Date(i.last_health_check_at).getTime());return l.length?s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:l.map(i=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{className:"min-w-0 mr-3",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:i.name}),s.jsxs("p",{className:"text-xs text-neutral-400",children:["Health check · ",i.last_health_status||"unknown",s.jsxs("span",{className:"ml-2",children:["· ",vm(i.last_health_check_at)]})]})]}),s.jsx(ct,{status:i.last_health_status==="healthy"?"active":"error"})]},i.id))}):s.jsx(Mt,{icon:s.jsx(kr,{size:32}),title:"No activity yet",description:"Health checks and task delegations will appear here."})}function iP({onClose:e,onSuccess:a}){const[l,i]=r.useState(""),[c,u]=r.useState(""),[d,h]=r.useState(""),[m,p]=r.useState("read_only"),[g,x]=r.useState("none"),[y,w]=r.useState(""),[N,E]=r.useState(!1),[A,j]=r.useState(!1),S=async()=>{if(c.trim()){j(!0);try{const C=await fetch(c.trim());if(C.ok){const H=await C.json();H.name&&!l&&i(H.name),H.url&&!d&&h(H.url),ce("success","Agent card loaded")}}catch{ce("error","Couldn't fetch agent card")}finally{j(!1)}}},Z=async C=>{if(C.preventDefault(),!(!l.trim()||!c.trim()||!d.trim())){E(!0);try{await fe("/api/a2a/connections",{method:"POST",body:JSON.stringify({name:l.trim(),agent_card_url:c.trim(),endpoint_url:d.trim(),trust_level:m,auth_type:g,...g!=="none"&&y.trim()?{credential:y.trim()}:{}})}),ce("success","Connection created"),a()}catch{ce("error","Couldn't create connection")}finally{E(!1)}}};return s.jsx(De.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},className:"overflow-hidden",children:s.jsxs("form",{onSubmit:Z,className:"border border-white/[0.08] bg-white/[0.02] rounded-lg p-4 space-y-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Agent card URL"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("input",{value:c,onChange:C=>u(C.target.value),placeholder:"https://agent.example.com/.well-known/agent-card.json",className:"flex-1 bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"}),s.jsx("button",{type:"button",onClick:S,disabled:A||!c.trim(),className:"px-3 py-2 text-xs bg-white/5 border border-white/10 text-white rounded-md hover:bg-white/10 transition-colors disabled:opacity-50 shrink-0",children:A?s.jsx(yt,{size:14,className:"animate-spin"}):"Discover"})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Name"}),s.jsx("input",{value:l,onChange:C=>i(C.target.value),placeholder:"Connection name",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Trust level"}),s.jsxs("select",{value:m,onChange:C=>p(C.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"read_only",children:"Read only"}),s.jsx("option",{value:"execute",children:"Execute"}),s.jsx("option",{value:"autonomous",children:"Autonomous"})]})]})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Endpoint URL"}),s.jsx("input",{value:d,onChange:C=>h(C.target.value),placeholder:"https://agent.example.com/a2a",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Auth type"}),s.jsxs("select",{value:g,onChange:C=>x(C.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"none",children:"None"}),s.jsx("option",{value:"bearer_token",children:"Bearer token"}),s.jsx("option",{value:"api_key",children:"API key"})]})]}),g!=="none"&&s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:g==="bearer_token"?"Token":"API Key"}),s.jsx("input",{type:"password",value:y,onChange:C=>w(C.target.value),placeholder:g==="bearer_token"?"Bearer token":"API key value",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]})]}),s.jsxs("div",{className:"flex gap-2 justify-end pt-2",children:[s.jsx("button",{type:"button",onClick:e,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:N||!l.trim()||!c.trim()||!d.trim(),className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:N?"Creating...":"Create connection"})]})]})})}function oP({connection:e,onClose:a,onTest:l,testing:i}){return s.jsx(la,{open:!0,onClose:a,title:"Connection details",maxWidth:"max-w-lg",children:s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("h4",{className:"text-sm font-semibold",children:e.name}),e.description&&s.jsx("p",{className:"text-xs text-neutral-400 mt-0.5",children:e.description})]}),s.jsx(ct,{status:e.status})]}),s.jsxs("div",{className:"bg-white/5 rounded-lg p-3 space-y-2 text-sm",children:[s.jsx(Mr,{label:"Endpoint",value:e.endpoint_url}),s.jsx(Mr,{label:"Agent card",value:e.agent_card_url}),s.jsx(Mr,{label:"Trust level",value:e.trust_level.replace(/_/g," ")}),s.jsx(Mr,{label:"Auth type",value:e.auth_type==="none"?"None":e.auth_type.replace(/_/g," ")}),e.last_health_check_at&&s.jsx(Mr,{label:"Last health check",value:`${vm(e.last_health_check_at)} (${e.last_health_status||"unknown"})`}),s.jsx(Mr,{label:"Created",value:new Date(e.created_at).toLocaleDateString()})]}),e.skills&&e.skills.length>0&&s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1.5",children:"Skills"}),s.jsx("div",{className:"flex gap-1.5 flex-wrap",children:e.skills.map(c=>s.jsx("span",{className:"text-xs bg-white/5 border border-white/10 px-2 py-1 rounded",children:c},c))})]}),s.jsx("div",{className:"flex gap-2 justify-end pt-2",children:s.jsx("button",{onClick:l,disabled:i,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium bg-white/5 border border-white/10 text-white rounded-md hover:bg-white/10 disabled:opacity-50 transition-colors",children:i?s.jsxs(s.Fragment,{children:[s.jsx(yt,{size:14,className:"animate-spin"})," Testing..."]}):s.jsxs(s.Fragment,{children:[s.jsx(Al,{size:14})," Test connection"]})})})]})})}function Mr({label:e,value:a}){return s.jsxs("div",{className:"flex justify-between gap-4",children:[s.jsx("span",{className:"text-neutral-400 shrink-0",children:e}),s.jsx("span",{className:"font-medium text-right break-all",children:a})]})}function cP(){const{data:e,loading:a,refetch:l}=je("/api/knowledge"),[i,c]=r.useState(""),[u,d]=r.useState(!1),h=e==null?void 0:e.filter(p=>p.title.toLowerCase().includes(i.toLowerCase())),m=r.useCallback(async p=>{try{await fe(`/api/knowledge/${p}`,{method:"DELETE"}),ce("success","Document removed"),l()}catch{ce("error","Couldn't remove document")}},[l]);return s.jsxs("div",{className:"p-6 max-w-5xl",children:[s.jsx(ze,{title:"Knowledge",subtitle:"Documents and context for your agents",action:s.jsx("button",{onClick:()=>d(!0),className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:"Add document"})}),s.jsx("div",{className:"mb-4",children:s.jsxs("div",{className:"relative",children:[s.jsx(jn,{size:16,className:"absolute left-3 top-1/2 -translate-y-1/2 text-neutral-500"}),s.jsx("input",{type:"text",placeholder:"Search documents...",value:i,onChange:p=>c(p.target.value),className:"w-full pl-9 pr-4 py-2 text-sm bg-white/5 border border-white/10 rounded-lg text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]})}),a?s.jsx("div",{className:"space-y-2",children:Array.from({length:3}).map((p,g)=>s.jsx("div",{className:"h-16 bg-white/5 rounded-lg animate-pulse"},g))}):h!=null&&h.length?s.jsx("div",{className:"space-y-2",children:h.map(p=>s.jsxs("div",{className:"flex items-center gap-4 px-4 py-3 border border-white/[0.08] rounded-lg hover:bg-white/[0.02] transition-colors",children:[s.jsx("div",{className:"w-8 h-8 rounded-lg bg-white/5 flex items-center justify-center text-neutral-400",children:p.type==="url"?s.jsx(Nl,{size:16}):s.jsx(kO,{size:16})}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:p.title}),s.jsxs("p",{className:"text-xs text-neutral-500",children:[p.chunk_count!=null?`${p.chunk_count} chunks`:p.type," · ",new Date(p.created_at).toLocaleDateString()]})]}),s.jsx(ct,{status:p.status}),s.jsx("button",{onClick:()=>m(p.id),className:"text-neutral-500 hover:text-critical transition-colors",children:s.jsx(qt,{size:16})})]},p.id))}):s.jsx(Mt,{icon:s.jsx(yE,{size:32}),title:"Nothing here yet",description:"Upload documents or add URLs to give your agents more context.",action:s.jsx("button",{onClick:()=>d(!0),className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:"Add your first document"})}),s.jsx(uP,{open:u,onClose:()=>d(!1),onSuccess:()=>{d(!1),l()}})]})}function uP({open:e,onClose:a,onSuccess:l}){const[i,c]=r.useState("file"),[u,d]=r.useState(""),[h,m]=r.useState(!1),[p,g]=r.useState(!1),x=r.useCallback(async w=>{if(w!=null&&w.length){m(!0);try{const N=new FormData;Array.from(w).forEach(A=>N.append("files",A));const E=An();await fetch("/api/knowledge/upload",{method:"POST",headers:E?{Authorization:`Bearer ${E}`}:{},body:N}),ce("success",`Uploaded ${w.length===1?"1 document":`${w.length} documents`}`),l()}catch{ce("error","Couldn't upload. Try again?")}finally{m(!1)}}},[l]),y=r.useCallback(async()=>{if(u.trim()){m(!0);try{await fe("/api/knowledge/url",{method:"POST",body:JSON.stringify({url:u.trim()})}),ce("success","URL imported"),l()}catch{ce("error","Couldn't import URL. Try again?")}finally{m(!1)}}},[u,l]);return s.jsxs(la,{open:e,onClose:a,title:"Add document",children:[s.jsxs("div",{className:"flex gap-2 mb-4",children:[s.jsx("button",{onClick:()=>c("file"),className:`px-3 py-1.5 text-xs font-medium rounded transition-colors ${i==="file"?"bg-white/10 text-white":"text-neutral-400 hover:text-white"}`,children:"Upload file"}),s.jsx("button",{onClick:()=>c("url"),className:`px-3 py-1.5 text-xs font-medium rounded transition-colors ${i==="url"?"bg-white/10 text-white":"text-neutral-400 hover:text-white"}`,children:"Import URL"})]}),i==="file"?s.jsxs("div",{onDragOver:w=>{w.preventDefault(),g(!0)},onDragLeave:()=>g(!1),onDrop:w=>{w.preventDefault(),g(!1),x(w.dataTransfer.files)},className:`border-2 border-dashed rounded-lg p-8 text-center transition-colors ${p?"border-white/30 bg-white/5":"border-white/10"}`,children:[s.jsx(rF,{size:24,className:"mx-auto text-neutral-500 mb-2"}),s.jsx("p",{className:"text-sm text-neutral-400 mb-2",children:"Drag and drop files here"}),s.jsxs("label",{className:"inline-block px-4 py-2 text-xs font-medium bg-white/10 text-white rounded cursor-pointer hover:bg-white/15 transition-colors",children:["Choose files",s.jsx("input",{type:"file",multiple:!0,className:"hidden",onChange:w=>x(w.target.files)})]})]}):s.jsxs("div",{className:"space-y-3",children:[s.jsx("input",{type:"url",placeholder:"https://...",value:u,onChange:w=>d(w.target.value),className:"w-full px-3 py-2 text-sm bg-white/5 border border-white/10 rounded-lg text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"}),s.jsx("button",{onClick:y,disabled:!u.trim()||h,className:"w-full px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors disabled:opacity-50",children:h?"Importing...":"Import"})]}),h&&i==="file"&&s.jsx("p",{className:"text-xs text-neutral-400 mt-3 text-center",children:"Uploading..."})]})}const xh={lead_gen:{label:"Lead Gen",Icon:UO},content:{label:"Content",Icon:KO},support:{label:"Support",Icon:$O},operations:{label:"Ops",Icon:sN},analytics:{label:"Analytics",Icon:VE},sales:{label:"Sales",Icon:BO}},dP={beginner:"bg-green-500/20 text-green-400",intermediate:"bg-yellow-500/20 text-yellow-400",advanced:"bg-red-500/20 text-red-400"};function hP(){const[e,a]=r.useState([]),[l,i]=r.useState(!0),[c,u]=r.useState(""),[d,h]=r.useState(null),[m,p]=r.useState(null),[g,x]=r.useState(!1),[y,w]=r.useState({});r.useEffect(()=>{N()},[]);const N=async()=>{try{const Z=await fe("/api/templates");a(Z.templates||[])}catch{ce("error","Couldn't load templates")}finally{i(!1)}},E=r.useMemo(()=>{let Z=e;if(d&&(Z=Z.filter(C=>C.category===d)),c){const C=c.toLowerCase();Z=Z.filter(H=>H.name.toLowerCase().includes(C)||H.description.toLowerCase().includes(C))}return Z},[e,d,c]),A=Z=>{p(Z);const C={};Z.variables.forEach(H=>{C[H.key]=H.default_value||""}),w(C)},j=async()=>{if(m){x(!0);try{await fe(`/api/templates/${m.slug}/install`,{method:"POST",body:JSON.stringify({variableValues:y})}),ce("success",`Installed "${m.name}"`),p(null),N()}catch{ce("error","Couldn't install template. Try again?")}finally{x(!1)}}},S=["all",...Object.keys(xh)];return s.jsxs("div",{className:"p-6 max-w-5xl",children:[s.jsx(ze,{title:"Templates",subtitle:"Pre-built agent and automation bundles you can install in one click."}),s.jsxs("div",{className:"flex items-center gap-3 mt-4 mb-6 flex-wrap",children:[s.jsx("div",{className:"flex items-center gap-1.5 flex-wrap",children:S.map(Z=>{var C;return s.jsx("button",{onClick:()=>h(Z==="all"?null:Z),className:`px-3 py-1 text-xs rounded-full transition-colors ${Z==="all"&&!d||Z===d?"bg-white/10 text-white border border-white/20":"bg-white/[0.03] text-neutral-500 border border-white/[0.06] hover:text-neutral-300"}`,children:Z==="all"?"All":((C=xh[Z])==null?void 0:C.label)||Z},Z)})}),s.jsxs("div",{className:"relative flex-1 min-w-[200px]",children:[s.jsx(jn,{size:14,className:"absolute left-2.5 top-1/2 -translate-y-1/2 text-neutral-500"}),s.jsx("input",{type:"text",value:c,onChange:Z=>u(Z.target.value),placeholder:"Search templates...",className:"w-full pl-8 pr-3 py-1.5 text-xs bg-white/[0.04] border border-white/[0.08] rounded-lg text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]})]}),l?s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[1,2,3].map(Z=>s.jsx(fl,{className:"h-48 rounded-lg"},Z))}):E.length===0?s.jsx(Mt,{icon:s.jsx(Kh,{size:40,weight:"thin"}),title:"No templates found",description:c||d?"Try a different filter.":"Templates will appear here."}):s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:E.map(Z=>{const C=xh[Z.category],H=(C==null?void 0:C.Icon)||Kh;return s.jsxs("button",{onClick:()=>Z.installed?null:A(Z),className:"text-left border border-white/[0.06] rounded-lg bg-white/[0.02] hover:bg-white/[0.04] p-4 transition-colors",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[s.jsx(H,{size:20,weight:"bold",className:"text-neutral-400"}),s.jsx("span",{className:"text-sm font-medium text-white truncate",children:Z.name}),Z.installed&&s.jsx(Yr,{size:16,weight:"fill",className:"text-green-400 ml-auto flex-shrink-0"})]}),s.jsx("p",{className:"text-xs text-neutral-400 line-clamp-2 mb-3",children:Z.description}),s.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[s.jsx("span",{className:"text-[10px] px-2 py-0.5 rounded-full bg-white/[0.06] text-neutral-400",children:(C==null?void 0:C.label)||Z.category}),s.jsx("span",{className:`text-[10px] px-2 py-0.5 rounded-full ${dP[Z.difficulty]||"bg-white/[0.06] text-neutral-400"}`,children:Z.difficulty}),s.jsxs("span",{className:"text-[10px] text-neutral-500 flex items-center gap-0.5",children:[s.jsx(Ka,{size:10})," ",Z.agents.length]}),s.jsxs("span",{className:"text-[10px] text-neutral-500 flex items-center gap-0.5",children:[s.jsx(ja,{size:10})," ",Z.automations.length]})]})]},Z.id)})}),m&&s.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm",onClick:()=>!g&&p(null),children:s.jsxs("div",{className:"bg-[#111] border border-white/10 rounded-xl p-6 w-full max-w-md",onClick:Z=>Z.stopPropagation(),children:[s.jsxs("div",{className:"flex items-center justify-between mb-4",children:[s.jsxs("h2",{className:"text-lg font-semibold",children:["Install ",m.name]}),s.jsx("button",{onClick:()=>p(null),className:"text-neutral-500 hover:text-white",disabled:g,children:s.jsx(Ea,{size:18})})]}),s.jsxs("p",{className:"text-xs text-neutral-400 mb-4",children:["This will create ",m.agents.length===1?"1 agent":`${m.agents.length} agents`," and"," ",m.automations.length===1?"1 automation":`${m.automations.length} automations`,"."]}),m.variables.length>0&&s.jsx("div",{className:"space-y-3 mb-4",children:m.variables.map(Z=>s.jsxs("div",{children:[s.jsxs("label",{className:"block text-xs text-neutral-400 mb-1",children:[Z.label,Z.required&&s.jsx("span",{className:"text-red-400 ml-0.5",children:"*"})]}),Z.type==="select"&&Z.options?s.jsxs("select",{value:y[Z.key]||"",onChange:C=>w(H=>({...H,[Z.key]:C.target.value})),className:"w-full px-3 py-2 bg-white/5 border border-white/10 rounded-lg text-sm text-white focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"",children:"Select..."}),Z.options.map(C=>s.jsx("option",{value:C.value,children:C.label},C.value))]}):s.jsx("input",{type:Z.type==="email"?"email":Z.type==="url"?"url":"text",value:y[Z.key]||"",onChange:C=>w(H=>({...H,[Z.key]:C.target.value})),placeholder:Z.placeholder||"",className:"w-full px-3 py-2 bg-white/5 border border-white/10 rounded-lg text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"}),Z.description&&s.jsx("p",{className:"text-[10px] text-neutral-500 mt-0.5",children:Z.description})]},Z.key))}),s.jsx("button",{onClick:j,disabled:g,className:"w-full py-2.5 bg-white text-black text-sm font-medium rounded-lg hover:bg-gray-200 disabled:opacity-40 disabled:cursor-not-allowed transition-colors flex items-center justify-center gap-2",children:g?s.jsxs(s.Fragment,{children:[s.jsx(WO,{size:14,className:"animate-spin"}),"Installing..."]}):s.jsxs(s.Fragment,{children:["Install Template",s.jsx(Uf,{size:14})]})})]})})]})}const fP=[{to:"/schedules",icon:jl,color:"blue",title:"Schedules",description:"Set up recurring tasks on a cron schedule. Agents run automatically at the times you define.",features:[{icon:nF,label:"Cron expressions"},{icon:BE,label:"Run history"}]},{to:"/automations",icon:ja,color:"amber",title:"Automations",description:"Build event-driven flows triggered by webhooks, schedules, or manual input. Chain multiple steps together.",features:[{icon:Xf,label:"Webhook triggers"},{icon:iN,label:"Visual builder"}]}],mP={blue:{border:"border-blue-500/20 hover:border-blue-500/30",bg:"hover:bg-blue-500/[0.03]",iconBg:"bg-blue-500/10"},amber:{border:"border-amber-500/20 hover:border-amber-500/30",bg:"hover:bg-amber-500/[0.03]",iconBg:"bg-amber-500/10"}};function pP(){return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Workflows",subtitle:"Automate recurring tasks and event-driven flows"}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:fP.map((e,a)=>{const l=mP[e.color];return s.jsx(De.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.3,delay:a*.08},children:s.jsxs(bt,{to:e.to,className:`block border ${l.border} ${l.bg} bg-white/[0.02] rounded-lg p-5 transition-all group`,children:[s.jsxs("div",{className:"flex items-start justify-between mb-3",children:[s.jsx("div",{className:`w-10 h-10 rounded-lg ${l.iconBg} flex items-center justify-center`,children:s.jsx(e.icon,{size:20,weight:"bold",className:"text-white"})}),s.jsx(Uf,{size:16,className:"text-neutral-500 group-hover:text-white group-hover:translate-x-0.5 transition-all"})]}),s.jsx("h3",{className:"text-sm font-semibold text-white mb-1",children:e.title}),s.jsx("p",{className:"text-xs text-neutral-400 mb-4 leading-relaxed",children:e.description}),s.jsx("div",{className:"flex gap-2",children:e.features.map(i=>s.jsxs("span",{className:"inline-flex items-center gap-1 text-[10px] bg-white/[0.04] border border-white/[0.06] px-2 py-1 rounded-full text-neutral-400",children:[s.jsx(i.icon,{size:10}),i.label]},i.label))})]})},e.to)})})]})}function gP(e){const a=Date.now()-new Date(e).getTime(),l=Math.floor(a/6e4);if(l<1)return"just now";if(l<60)return`${l}m ago`;const i=Math.floor(l/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}function Jw(e){try{return JSON.parse(e)}catch{return e}}function xP(){const[e,a]=r.useState("all"),[l,i]=r.useState(null),{data:c,loading:u,refetch:d}=je("/api/webhook-events"),h=c?e==="all"?c:e==="processed"?c.filter(p=>p.processed===1):c.filter(p=>p.processed===0):[],m=[{key:"all",label:"All"},{key:"pending",label:"Pending"},{key:"processed",label:"Processed"}];return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Webhook Events",subtitle:"Audit log of incoming webhooks",action:s.jsxs("button",{onClick:d,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs text-neutral-400 border border-white/10 rounded-md hover:bg-white/5 hover:text-white transition-colors",children:[s.jsx(Al,{size:14})," Refresh"]})}),s.jsxs("div",{className:"flex items-center gap-1 mb-4",children:[s.jsx(qO,{size:14,className:"text-neutral-500 mr-1"}),m.map(p=>s.jsx("button",{onClick:()=>a(p.key),className:`px-3 py-1 rounded-full text-xs transition-colors ${e===p.key?"bg-white/10 text-white border border-white/20":"text-neutral-500 hover:text-white border border-transparent"}`,children:p.label},p.key))]}),u?s.jsx(Qe,{count:6}):h.length?s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:h.map(p=>s.jsxs("button",{onClick:()=>i(p),className:"flex items-center justify-between w-full px-4 py-3 text-left hover:bg-white/[0.02] transition-colors",children:[s.jsxs("div",{className:"min-w-0 mr-3 flex-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:p.event_type||"Unknown event"}),s.jsx("span",{className:`text-[10px] px-1.5 py-0.5 rounded ${p.processed?"bg-success/15 text-success":"bg-warning/15 text-warning"}`,children:p.processed?"processed":"pending"})]}),s.jsxs("p",{className:"text-xs text-neutral-400 mt-0.5",children:[p.source,s.jsx("span",{className:"mx-1.5",children:"·"}),gP(p.created_at)]})]}),s.jsx(Pf,{size:14,className:"text-neutral-500 shrink-0"})]},p.id))}):s.jsx(Mt,{icon:s.jsx(Xf,{size:32}),title:"No webhook events yet",description:"Events will appear here when webhooks are received by your triggers."}),l&&s.jsx(la,{open:!0,onClose:()=>i(null),title:"Webhook event",maxWidth:"max-w-lg",children:s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("h4",{className:"text-sm font-semibold",children:l.event_type}),s.jsx("span",{className:`text-[10px] px-1.5 py-0.5 rounded ${l.processed?"bg-success/15 text-success":"bg-warning/15 text-warning"}`,children:l.processed?"processed":"pending"})]}),s.jsxs("div",{className:"bg-white/5 rounded-lg p-3 space-y-2 text-sm",children:[s.jsxs("div",{className:"flex justify-between",children:[s.jsx("span",{className:"text-neutral-400",children:"Source"}),s.jsx("span",{className:"font-medium",children:l.source})]}),s.jsxs("div",{className:"flex justify-between",children:[s.jsx("span",{className:"text-neutral-400",children:"Event type"}),s.jsx("span",{className:"font-medium",children:l.event_type})]}),s.jsxs("div",{className:"flex justify-between",children:[s.jsx("span",{className:"text-neutral-400",children:"Received"}),s.jsx("span",{className:"font-medium",children:new Date(l.created_at).toLocaleString()})]})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Payload"}),s.jsx("pre",{className:"bg-white/[0.04] border border-white/[0.08] rounded-lg p-3 text-xs text-neutral-400 overflow-x-auto max-h-64 whitespace-pre-wrap font-mono",children:JSON.stringify(Jw(l.payload),null,2)})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Headers"}),s.jsx("pre",{className:"bg-white/[0.04] border border-white/[0.08] rounded-lg p-3 text-xs text-neutral-500 overflow-x-auto max-h-32 whitespace-pre-wrap font-mono",children:JSON.stringify(Jw(l.headers),null,2)})]})]})})]})}const Ww={low:"bg-neutral-500/15 text-neutral-400",medium:"bg-blue-500/15 text-blue-400",high:"bg-warning/15 text-warning",critical:"bg-critical/15 text-critical"},eA=["#3b82f6","#8b5cf6","#ec4899","#f59e0b","#10b981","#06b6d4","#ef4444","#84cc16","#f97316"],vP=[{status:"active",label:"Active",defaultOpen:!0},{status:"paused",label:"Paused",defaultOpen:!1},{status:"completed",label:"Completed",defaultOpen:!1},{status:"archived",label:"Archived",defaultOpen:!1}];function bP(){const{data:e,loading:a,refetch:l}=je("/api/goals"),[i,c]=r.useState(!1),[u,d]=r.useState(null),[h,m]=r.useState(null),[p,g]=r.useState(!1),[x,y]=r.useState({active:!0,paused:!1,completed:!1,archived:!1}),w=r.useMemo(()=>{var S;if(!e)return{};const j={};for(const Z of e)(j[S=Z.status]??(j[S]=[])).push(Z);return j},[e]),N=async()=>{if(h){g(!0);try{await fe(`/api/goals/${h.id}`,{method:"DELETE"}),ce("success","Goal deleted"),l()}catch{ce("error","Couldn't delete goal")}finally{g(!1),m(null)}}},E=j=>{y(S=>({...S,[j]:!S[j]}))},A=!a&&(!e||e.length===0);return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Goals",subtitle:"Track objectives and measure progress",action:s.jsxs("button",{onClick:()=>{d(null),c(!0)},className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," New goal"]})}),a?s.jsx(Qe,{count:4}):A?s.jsx(en,{icon:ef,title:"No goals yet",description:"Set goals to track your progress toward business objectives.",capabilities:[{icon:ef,label:"Objectives",description:"Define what you want to achieve"},{icon:tf,label:"Progress tracking",description:"Monitor current vs target"},{icon:DO,label:"Priority levels",description:"Focus on what matters most"},{icon:SO,label:"Deadlines",description:"Stay on track with due dates"}],action:{label:"Create your first goal",onClick:()=>{d(null),c(!0)}}}):s.jsx("div",{className:"space-y-4",children:vP.map(j=>{const S=w[j.status]||[];if(S.length===0)return null;const Z=x[j.status];return s.jsxs("div",{children:[s.jsxs("button",{onClick:()=>E(j.status),className:"flex items-center gap-2 mb-2 text-sm text-neutral-400 hover:text-white transition-colors",children:[Z?s.jsx(Qa,{size:12}):s.jsx(El,{size:12}),s.jsx("span",{className:"font-medium capitalize",children:j.label}),s.jsx("span",{className:"text-xs text-neutral-600",children:S.length})]}),s.jsx(Oa,{children:Z&&s.jsx(De.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"space-y-2 overflow-hidden",children:S.map(C=>s.jsx(yP,{goal:C,onEdit:()=>{d(C),c(!0)},onDelete:()=>m(C)},C.id))})})]},j.status)})}),i&&s.jsx(wP,{goal:u,onClose:()=>{c(!1),d(null)},onSuccess:()=>{l(),c(!1),d(null)}}),s.jsx(s0,{open:!!h,onClose:()=>m(null),onConfirm:N,title:"Delete goal",message:`Delete "${h==null?void 0:h.name}"? This can't be undone.`,confirmLabel:"Delete",loading:p})]})}function yP({goal:e,onEdit:a,onDelete:l}){const i=e.target_value&&e.current_value!=null?Math.min(100,Math.round(e.current_value/e.target_value*100)):null;return s.jsxs(De.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},className:"border border-white/[0.08] bg-white/[0.02] rounded-lg p-4",children:[s.jsxs("div",{className:"flex items-start justify-between mb-2",children:[s.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[e.color&&s.jsx("div",{className:"w-2 h-2 rounded-full shrink-0",style:{backgroundColor:e.color}}),s.jsx("h4",{className:"text-sm font-medium truncate",children:e.name}),s.jsx("span",{className:`text-[10px] px-1.5 py-0.5 rounded capitalize ${Ww[e.priority]||Ww.medium}`,children:e.priority})]}),s.jsxs("div",{className:"flex items-center gap-1.5 shrink-0 ml-2",children:[s.jsx("button",{onClick:a,className:"text-neutral-500 hover:text-white transition-colors",children:s.jsx(F1,{size:13})}),s.jsx("button",{onClick:l,className:"text-neutral-500 hover:text-critical transition-colors",children:s.jsx(qt,{size:13})})]})]}),e.description&&s.jsx("p",{className:"text-xs text-neutral-400 mb-3",children:e.description}),i!==null&&s.jsxs("div",{className:"mb-2",children:[s.jsxs("div",{className:"flex justify-between text-[10px] text-neutral-500 mb-1",children:[s.jsx("span",{children:e.target_metric||"Progress"}),s.jsxs("span",{children:[e.current_value," / ",e.target_value," ",e.unit||"",s.jsxs("span",{className:"ml-1.5 text-neutral-400",children:[i,"%"]})]})]}),s.jsx("div",{className:"h-1.5 bg-white/[0.06] rounded-full overflow-hidden",children:s.jsx(De.div,{initial:{width:0},animate:{width:`${i}%`},transition:{duration:.6,ease:"easeOut"},className:"h-full rounded-full",style:{backgroundColor:e.color||"#3b82f6"}})})]}),e.due_date&&s.jsxs("p",{className:"text-[10px] text-neutral-500",children:["Due ",new Date(e.due_date).toLocaleDateString()]})]})}function wP({goal:e,onClose:a,onSuccess:l}){var O,I,X;const[i,c]=r.useState((e==null?void 0:e.name)||""),[u,d]=r.useState((e==null?void 0:e.description)||""),[h,m]=r.useState((e==null?void 0:e.priority)||"medium"),[p,g]=r.useState((e==null?void 0:e.status)||"active"),[x,y]=r.useState((e==null?void 0:e.target_metric)||""),[w,N]=r.useState(((O=e==null?void 0:e.target_value)==null?void 0:O.toString())||""),[E,A]=r.useState(((I=e==null?void 0:e.current_value)==null?void 0:I.toString())||"0"),[j,S]=r.useState((e==null?void 0:e.unit)||""),[Z,C]=r.useState(((X=e==null?void 0:e.due_date)==null?void 0:X.split("T")[0])||""),[H,_]=r.useState((e==null?void 0:e.color)||eA[0]),[T,k]=r.useState(!1),R=async K=>{if(K.preventDefault(),!!i.trim()){k(!0);try{const B={name:i.trim(),description:u.trim()||null,priority:h,status:p,target_metric:x.trim()||null,target_value:w?Number(w):null,current_value:E?Number(E):null,unit:j.trim()||null,due_date:Z||null,color:H};e?(await fe(`/api/goals/${e.id}`,{method:"PUT",body:JSON.stringify(B)}),ce("success","Goal updated")):(await fe("/api/goals",{method:"POST",body:JSON.stringify(B)}),ce("success","Goal created")),l()}catch{ce("error",e?"Couldn't update goal":"Couldn't create goal")}finally{k(!1)}}};return s.jsx(la,{open:!0,onClose:a,title:e?"Edit goal":"New goal",maxWidth:"max-w-md",children:s.jsxs("form",{onSubmit:R,className:"space-y-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Name"}),s.jsx("input",{value:i,onChange:K=>c(K.target.value),placeholder:"Reach 100 customers",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20",autoFocus:!0})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Description"}),s.jsx("textarea",{value:u,onChange:K=>d(K.target.value),placeholder:"What does achieving this goal look like?",rows:2,className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20 resize-none"})]}),s.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Metric"}),s.jsx("input",{value:x,onChange:K=>y(K.target.value),placeholder:"Revenue",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Target"}),s.jsx("input",{type:"number",value:w,onChange:K=>N(K.target.value),placeholder:"100",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Unit"}),s.jsx("input",{value:j,onChange:K=>S(K.target.value),placeholder:"users",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]})]}),e&&s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Current value"}),s.jsx("input",{type:"number",value:E,onChange:K=>A(K.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Priority"}),s.jsxs("select",{value:h,onChange:K=>m(K.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"low",children:"Low"}),s.jsx("option",{value:"medium",children:"Medium"}),s.jsx("option",{value:"high",children:"High"}),s.jsx("option",{value:"critical",children:"Critical"})]})]}),e&&s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Status"}),s.jsxs("select",{value:p,onChange:K=>g(K.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"active",children:"Active"}),s.jsx("option",{value:"paused",children:"Paused"}),s.jsx("option",{value:"completed",children:"Completed"}),s.jsx("option",{value:"archived",children:"Archived"})]})]})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Due date"}),s.jsx("input",{type:"date",value:Z,onChange:K=>C(K.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Color"}),s.jsx("div",{className:"flex gap-2",children:eA.map(K=>s.jsx("button",{type:"button",onClick:()=>_(K),className:`w-6 h-6 rounded-full transition-all ${H===K?"ring-2 ring-white ring-offset-2 ring-offset-black scale-110":"hover:scale-110"}`,style:{backgroundColor:K}},K))})]}),s.jsxs("div",{className:"flex gap-2 justify-end pt-2",children:[s.jsx("button",{type:"button",onClick:a,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:T||!i.trim(),className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:T?e?"Updating...":"Creating...":e?"Update goal":"Create goal"})]})]})})}const ZS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function AP(){const{data:e,loading:a,refetch:l}=je("/api/revenue"),[i,c]=r.useState(!1),[u,d]=r.useState(null),[h,m]=r.useState(null),[p,g]=r.useState(!1),x=r.useMemo(()=>{if(!e||e.length===0)return 0;const E=new Date;return e.filter(j=>j.month===E.getMonth()+1&&j.year===E.getFullYear()).reduce((j,S)=>j+S.amount_cents,0)},[e]),y=r.useMemo(()=>e?[...e].sort((E,A)=>E.year!==A.year?A.year-E.year:A.month-E.month):[],[e]),w=async()=>{if(h){g(!0);try{await fe(`/api/revenue/${h.id}`,{method:"DELETE"}),ce("success","Entry deleted"),l()}catch{ce("error","Couldn't delete entry")}finally{g(!1),m(null)}}},N=!a&&(!e||e.length===0);return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Revenue",subtitle:"Track monthly revenue and growth",action:s.jsxs("div",{className:"flex items-center gap-3",children:[x>0&&s.jsxs("div",{className:"flex items-center gap-1.5 text-success",children:[s.jsx(tf,{size:14,weight:"bold"}),s.jsxs("span",{className:"text-sm font-semibold",children:["$",(x/100).toLocaleString()," MRR"]})]}),s.jsxs("button",{onClick:()=>{d(null),c(!0)},className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," Add entry"]})]})}),s.jsx(Oa,{children:i&&s.jsx(jP,{entry:u,onClose:()=>{c(!1),d(null)},onSuccess:()=>{l(),c(!1),d(null)}})}),a?s.jsx(Qe,{count:4}):N?s.jsx(en,{icon:PE,title:"No revenue entries yet",description:"Start tracking monthly revenue to measure growth over time.",capabilities:[{icon:CO,label:"Monthly tracking",description:"Record revenue each month"},{icon:tf,label:"MRR calculation",description:"See current monthly recurring revenue"},{icon:aF,label:"Revenue sources",description:"Tag where revenue comes from"},{icon:GO,label:"Notes",description:"Add context to each entry"}],action:{label:"Add your first entry",onClick:()=>{d(null),c(!0)}}}):s.jsxs("div",{className:"border border-white/[0.08] rounded-lg overflow-hidden",children:[s.jsxs("div",{className:"grid grid-cols-[1fr_1fr_1fr_1fr_auto] gap-4 px-4 py-2 text-[10px] uppercase tracking-wider text-neutral-500 border-b border-white/[0.08] bg-white/[0.02]",children:[s.jsx("span",{children:"Period"}),s.jsx("span",{children:"Source"}),s.jsx("span",{className:"text-right",children:"Amount"}),s.jsx("span",{children:"Notes"}),s.jsx("span",{className:"w-16"})]}),s.jsx("div",{className:"divide-y divide-white/[0.06]",children:y.map(E=>s.jsxs(De.div,{layout:!0,initial:{opacity:0},animate:{opacity:1},className:"grid grid-cols-[1fr_1fr_1fr_1fr_auto] gap-4 px-4 py-3 items-center hover:bg-white/[0.02] transition-colors group",children:[s.jsxs("span",{className:"text-sm font-medium",children:[ZS[E.month-1]," ",E.year]}),s.jsx("span",{className:"text-sm text-neutral-400 truncate",children:E.source||"No source"}),s.jsxs("span",{className:"text-sm font-semibold text-right text-success",children:["$",(E.amount_cents/100).toLocaleString(void 0,{minimumFractionDigits:2})]}),s.jsx("span",{className:"text-xs text-neutral-500 truncate",children:E.notes||""}),s.jsxs("div",{className:"flex items-center gap-1.5 w-16 justify-end opacity-0 group-hover:opacity-100 transition-opacity",children:[s.jsx("button",{onClick:()=>{d(E),c(!0)},className:"text-neutral-500 hover:text-white transition-colors",children:s.jsx(F1,{size:13})}),s.jsx("button",{onClick:()=>m(E),className:"text-neutral-500 hover:text-critical transition-colors",children:s.jsx(qt,{size:13})})]})]},E.id))})]}),s.jsx(s0,{open:!!h,onClose:()=>m(null),onConfirm:w,title:"Delete entry",message:"Delete this revenue entry? This can't be undone.",confirmLabel:"Delete",loading:p})]})}function jP({entry:e,onClose:a,onSuccess:l}){var j,S;const i=new Date,[c,u]=r.useState(e?(e.amount_cents/100).toString():""),[d,h]=r.useState((e==null?void 0:e.source)||""),[m,p]=r.useState(((j=e==null?void 0:e.month)==null?void 0:j.toString())||(i.getMonth()+1).toString()),[g,x]=r.useState(((S=e==null?void 0:e.year)==null?void 0:S.toString())||i.getFullYear().toString()),[y,w]=r.useState((e==null?void 0:e.notes)||""),[N,E]=r.useState(!1),A=async Z=>{if(Z.preventDefault(),!!c){E(!0);try{const C={amount_cents:Math.round(Number(c)*100),month:Number(m),year:Number(g),source:d.trim()||null,notes:y.trim()||null};e?(await fe(`/api/revenue/${e.id}`,{method:"PUT",body:JSON.stringify(C)}),ce("success","Entry updated")):(await fe("/api/revenue",{method:"POST",body:JSON.stringify(C)}),ce("success","Entry added")),l()}catch{ce("error",e?"Couldn't update entry":"Couldn't add entry")}finally{E(!1)}}};return s.jsx(De.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"mb-4 overflow-hidden",children:s.jsxs("form",{onSubmit:A,className:"border border-white/[0.08] bg-white/[0.02] rounded-lg p-4 space-y-3",children:[s.jsxs("div",{className:"flex items-center justify-between mb-1",children:[s.jsx("span",{className:"text-sm font-medium",children:e?"Edit entry":"New entry"}),s.jsx("button",{type:"button",onClick:a,className:"text-neutral-500 hover:text-white transition-colors",children:s.jsx(Ea,{size:14})})]}),s.jsxs("div",{className:"grid grid-cols-4 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Amount ($)"}),s.jsx("input",{type:"number",step:"0.01",value:c,onChange:Z=>u(Z.target.value),placeholder:"500.00",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20",autoFocus:!0})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Source"}),s.jsx("input",{value:d,onChange:Z=>h(Z.target.value),placeholder:"Subscription",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Month"}),s.jsx("select",{value:m,onChange:Z=>p(Z.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:ZS.map((Z,C)=>s.jsx("option",{value:C+1,children:Z},C))})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Year"}),s.jsx("input",{type:"number",value:g,onChange:Z=>x(Z.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20"})]})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Notes"}),s.jsx("textarea",{value:y,onChange:Z=>w(Z.target.value),placeholder:"Optional notes",rows:2,className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20 resize-none"})]}),s.jsxs("div",{className:"flex gap-2 justify-end",children:[s.jsx("button",{type:"button",onClick:a,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:N||!c,className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:N?"Saving...":e?"Update":"Add entry"})]})]})})}function EP(){const{data:e,loading:a,refetch:l}=je("/api/whatsapp/connections"),[i,c]=r.useState(!1),[u,d]=r.useState(!1),[h,m]=r.useState(""),[p,g]=r.useState(!1),[x,y]=r.useState(!1),w=async()=>{c(!0);try{await fe("/api/whatsapp/connect",{method:"POST"}),ce("success","Connecting to WhatsApp. Check for QR code."),l()}catch{ce("error","Couldn't start WhatsApp connection")}finally{c(!1)}},N=async()=>{d(!0);try{await fe("/api/whatsapp/disconnect",{method:"POST"}),ce("success","WhatsApp disconnected"),l()}catch{ce("error","Couldn't disconnect WhatsApp")}finally{d(!1)}},E=async()=>{if(h.trim()){g(!0);try{await fe("/api/whatsapp/chats",{method:"POST",body:JSON.stringify({chatId:h.trim()})}),ce("success","Chat added to allowed list"),m(""),y(!1),l()}catch{ce("error","Couldn't add chat")}finally{g(!1)}}},A=!a&&(!e||e.length===0),j=e==null?void 0:e.find(S=>S.status==="connected"||S.status==="active");return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Messaging",subtitle:"WhatsApp and messaging channel connections",action:j?s.jsxs("button",{onClick:N,disabled:u,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium bg-critical/10 border border-critical/30 text-critical rounded-md hover:bg-critical/20 disabled:opacity-50 transition-colors",children:[u?s.jsx(yt,{size:14,className:"animate-spin"}):s.jsx(Kx,{size:14}),"Disconnect"]}):s.jsxs("button",{onClick:w,disabled:i,className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:[i?s.jsx(yt,{size:14,className:"animate-spin"}):s.jsx(Xx,{size:14}),"Connect WhatsApp"]})}),a?s.jsx(Qe,{count:3}):A?s.jsx(en,{icon:g1,title:"No messaging channels connected",description:"Connect WhatsApp to let your agents communicate through messaging apps.",capabilities:[{icon:Xx,label:"QR pairing",description:"Scan to connect"},{icon:g1,label:"Chat filtering",description:"Control which chats agents can access"},{icon:Kx,label:"Easy management",description:"Connect and disconnect anytime"}],action:{label:"Connect WhatsApp",onClick:w}}):s.jsxs("div",{className:"space-y-6",children:[s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:e.map(S=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-4",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-10 h-10 rounded-full bg-green-500/10 flex items-center justify-center",children:s.jsx(g1,{size:20,className:"text-green-400"})}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium",children:S.phone_number||"WhatsApp"}),s.jsx("p",{className:"text-xs text-neutral-500",children:S.last_seen?`Last seen ${new Date(S.last_seen).toLocaleString()}`:"No activity yet"})]})]}),s.jsx(ct,{status:S.status==="connected"?"active":S.status})]},S.id))}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("h3",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider",children:"Allowed chats"}),s.jsxs("button",{onClick:()=>y(!x),className:"flex items-center gap-1 text-xs text-neutral-400 hover:text-white transition-colors",children:[s.jsx(pt,{size:12})," Add chat"]})]}),s.jsx(Oa,{children:x&&s.jsx(De.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"mb-3 overflow-hidden",children:s.jsxs("div",{className:"flex gap-2",children:[s.jsx("input",{value:h,onChange:S=>m(S.target.value),placeholder:"Chat ID (e.g. 1234567890@c.us)",className:"flex-1 bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"}),s.jsx("button",{onClick:E,disabled:p||!h.trim(),className:"px-3 py-2 text-xs font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:p?"Adding...":"Add"}),s.jsx("button",{onClick:()=>{y(!1),m("")},className:"text-neutral-500 hover:text-white transition-colors px-2",children:s.jsx(Ea,{size:14})})]})})}),s.jsx("p",{className:"text-xs text-neutral-500",children:"Agents will only respond to messages from allowed chats. If none are added, all chats are accessible."})]})]})]})}function tA(e){const a=Date.now()-new Date(e).getTime(),l=Math.floor(a/6e4);if(l<1)return"just now";if(l<60)return`${l}m ago`;const i=Math.floor(l/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}function NP(){const{data:e,loading:a,refetch:l}=je("/api/peers"),[i,c]=r.useState(""),[u,d]=r.useState(!1),[h,m]=r.useState(null),[p,g]=r.useState(null),[x,y]=r.useState(null),[w,N]=r.useState(!1),[E,A]=r.useState([]),[j,S]=r.useState(!1),Z=r.useMemo(()=>{if(!e)return[];if(!i.trim())return e;const R=i.toLowerCase();return e.filter(O=>O.name.toLowerCase().includes(R)||O.base_url.toLowerCase().includes(R))},[e,i]),C=r.useMemo(()=>e?{total:e.length,online:e.filter(R=>R.status==="active"||R.status==="online").length}:{total:0,online:0},[e]),H=async R=>{m(R);try{await fe(`/api/peers/${R}/test`,{method:"POST"}),ce("success","Peer is reachable"),l()}catch{ce("error","Peer unreachable"),l()}finally{m(null)}},_=async R=>{g(R),S(!0);try{const O=await fe(`/api/peers/${R.id}/agents`);A(O.data||[])}catch{A([])}finally{S(!1)}},T=async()=>{if(x){N(!0);try{await fe(`/api/peers/${x.id}`,{method:"DELETE"}),ce("success","Peer removed"),l()}catch{ce("error","Couldn't remove peer")}finally{N(!1),y(null)}}},k=!a&&(!e||e.length===0);return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Peers",subtitle:"Workspace-to-workspace connections",action:s.jsxs("button",{onClick:()=>d(!0),className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," Add peer"]})}),a?s.jsx(Qe,{count:3}):k?s.jsx(en,{icon:Wh,title:"No peer connections",description:"Connect to other ohwow workspaces to delegate tasks across devices.",capabilities:[{icon:Wh,label:"Task delegation",description:"Send tasks to remote agents"},{icon:iF,label:"Agent discovery",description:"Browse remote agent capabilities"},{icon:cF,label:"Health checks",description:"Monitor peer connectivity"},{icon:Ih,label:"Bidirectional",description:"Two-way communication"}],action:{label:"Add your first peer",onClick:()=>d(!0)}}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-6",children:[s.jsx(Nt,{label:"Total peers",value:C.total}),s.jsx(Nt,{label:"Online",value:C.online,color:"text-success"})]}),s.jsxs("div",{className:"relative mb-4",children:[s.jsx(jn,{size:14,className:"absolute left-3 top-1/2 -translate-y-1/2 text-neutral-400"}),s.jsx("input",{value:i,onChange:R=>c(R.target.value),placeholder:"Search peers...",className:"w-full bg-white/5 border border-white/10 rounded-lg pl-8 pr-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:Z.map(R=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("button",{className:"min-w-0 mr-3 text-left flex-1",onClick:()=>_(R),children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:`w-2 h-2 rounded-full ${R.status==="active"||R.status==="online"?"bg-success":"bg-neutral-500"}`}),s.jsx("p",{className:"text-sm font-medium truncate",children:R.name})]}),s.jsxs("p",{className:"text-xs text-neutral-400 ml-4",children:[R.base_url,R.last_seen&&s.jsxs("span",{className:"ml-2",children:["· seen ",tA(R.last_seen)]})]})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[s.jsx(ct,{status:R.status}),s.jsx("button",{onClick:()=>_(R),className:"text-neutral-400 hover:text-white transition-colors",children:s.jsx(Pf,{size:14})}),s.jsx("button",{onClick:()=>H(R.id),disabled:h===R.id,className:"text-neutral-400 hover:text-white transition-colors disabled:opacity-50",children:s.jsx(Al,{size:14,className:h===R.id?"animate-spin":""})}),s.jsx("button",{onClick:()=>y(R),className:"text-neutral-400 hover:text-critical transition-colors",children:s.jsx(qt,{size:14})})]})]},R.id))})]}),u&&s.jsx(MP,{onClose:()=>d(!1),onSuccess:()=>{l(),d(!1)}}),p&&s.jsx(la,{open:!0,onClose:()=>{g(null),A([])},title:`Peer: ${p.name}`,maxWidth:"max-w-lg",children:s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"bg-white/5 rounded-lg p-3 space-y-2 text-sm",children:[s.jsxs("div",{className:"flex justify-between",children:[s.jsx("span",{className:"text-neutral-400",children:"URL"}),s.jsx("span",{className:"font-medium break-all",children:p.base_url})]}),s.jsxs("div",{className:"flex justify-between",children:[s.jsx("span",{className:"text-neutral-400",children:"Status"}),s.jsx(ct,{status:p.status})]}),p.last_seen&&s.jsxs("div",{className:"flex justify-between",children:[s.jsx("span",{className:"text-neutral-400",children:"Last seen"}),s.jsx("span",{className:"font-medium",children:tA(p.last_seen)})]})]}),s.jsxs("div",{children:[s.jsx("h4",{className:"text-xs font-medium text-neutral-400 uppercase tracking-wider mb-2",children:"Remote agents"}),j?s.jsx(Qe,{count:2}):E.length===0?s.jsx("p",{className:"text-xs text-neutral-500",children:"No agents found or peer is unreachable."}):s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:E.map(R=>s.jsxs("div",{className:"flex items-center justify-between px-3 py-2",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium",children:R.name}),s.jsx("p",{className:"text-xs text-neutral-500",children:R.role})]}),s.jsx(ct,{status:R.status})]},R.id))})]})]})}),s.jsx(s0,{open:!!x,onClose:()=>y(null),onConfirm:T,title:"Remove peer",message:`Remove "${x==null?void 0:x.name}"? You can re-add it later.`,confirmLabel:"Remove",loading:w})]})}function MP({onClose:e,onSuccess:a}){const[l,i]=r.useState(""),[c,u]=r.useState(""),[d,h]=r.useState(""),[m,p]=r.useState(!1),g=async x=>{if(x.preventDefault(),!(!l.trim()||!c.trim())){p(!0);try{await fe("/api/peers",{method:"POST",body:JSON.stringify({name:l.trim(),base_url:c.trim(),token:d.trim()||void 0})}),ce("success","Peer added"),a()}catch{ce("error","Couldn't add peer")}finally{p(!1)}}};return s.jsx(la,{open:!0,onClose:e,title:"Add peer",maxWidth:"max-w-md",children:s.jsxs("form",{onSubmit:g,className:"space-y-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Name"}),s.jsx("input",{value:l,onChange:x=>i(x.target.value),placeholder:"My other device",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20",autoFocus:!0})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Base URL"}),s.jsx("input",{value:c,onChange:x=>u(x.target.value),placeholder:"http://192.168.1.100:7700",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Token (optional)"}),s.jsx("input",{type:"password",value:d,onChange:x=>h(x.target.value),placeholder:"Peer auth token",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{className:"flex gap-2 justify-end pt-2",children:[s.jsx("button",{type:"button",onClick:e,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:m||!l.trim()||!c.trim(),className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:m?"Adding...":"Add peer"})]})]})})}const SP=[{id:"departments",label:"Departments"},{id:"members",label:"Members"}];function ZP(){const[e,a]=r.useState("departments");return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Team",subtitle:"Departments and team members"}),s.jsx("div",{className:"mb-6",children:s.jsx(Ml,{tabs:SP,activeTab:e,onTabChange:a,layoutId:"team-tab"})}),e==="departments"&&s.jsx(CP,{}),e==="members"&&s.jsx(_P,{})]})}function CP(){const{data:e,loading:a,refetch:l}=je("/api/departments"),[i,c]=r.useState(!1),[u,d]=r.useState(null),[h,m]=r.useState(null),[p,g]=r.useState(!1),x=async()=>{if(h){g(!0);try{await fe(`/api/departments/${h.id}`,{method:"DELETE"}),ce("success","Department deleted"),l()}catch{ce("error","Couldn't delete department")}finally{g(!1),m(null)}}};return a?s.jsx(Qe,{count:3}):e!=null&&e.length?s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"flex justify-end mb-4",children:s.jsxs("button",{onClick:()=>{d(null),c(!0)},className:"flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," Add department"]})}),s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:e.map(y=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium",children:y.name}),y.description&&s.jsx("p",{className:"text-xs text-neutral-400",children:y.description})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("button",{onClick:()=>{d(y),c(!0)},className:"text-neutral-400 hover:text-white transition-colors",children:s.jsx(F1,{size:13})}),s.jsx("button",{onClick:()=>m(y),className:"text-neutral-400 hover:text-critical transition-colors",children:s.jsx(qt,{size:13})})]})]},y.id))}),i&&s.jsx(HP,{dept:u,onClose:()=>{c(!1),d(null)},onSuccess:()=>{l(),c(!1),d(null)}}),s.jsx(s0,{open:!!h,onClose:()=>m(null),onConfirm:x,title:"Delete department",message:`Delete "${h==null?void 0:h.name}"?`,confirmLabel:"Delete",loading:p})]}):s.jsx(en,{icon:Gh,title:"No departments yet",description:"Create departments to organize your agents and team members.",capabilities:[{icon:Gh,label:"Organization",description:"Group agents by function"},{icon:cM,label:"Team structure",description:"Define team hierarchy"}],action:{label:"Create department",onClick:()=>{d(null),c(!0)}}})}function HP({dept:e,onClose:a,onSuccess:l}){const[i,c]=r.useState((e==null?void 0:e.name)||""),[u,d]=r.useState((e==null?void 0:e.description)||""),[h,m]=r.useState(!1),p=async g=>{if(g.preventDefault(),!!i.trim()){m(!0);try{const x={name:i.trim(),description:u.trim()||null};e?(await fe(`/api/departments/${e.id}`,{method:"PUT",body:JSON.stringify(x)}),ce("success","Department updated")):(await fe("/api/departments",{method:"POST",body:JSON.stringify(x)}),ce("success","Department created")),l()}catch{ce("error",e?"Couldn't update department":"Couldn't create department")}finally{m(!1)}}};return s.jsx(la,{open:!0,onClose:a,title:e?"Edit department":"New department",maxWidth:"max-w-md",children:s.jsxs("form",{onSubmit:p,className:"space-y-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Name"}),s.jsx("input",{value:i,onChange:g=>c(g.target.value),placeholder:"Engineering",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20",autoFocus:!0})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Description"}),s.jsx("input",{value:u,onChange:g=>d(g.target.value),placeholder:"What this department does",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{className:"flex gap-2 justify-end pt-2",children:[s.jsx("button",{type:"button",onClick:a,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:h||!i.trim(),className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:h?"Saving...":e?"Update":"Create"})]})]})})}function _P(){const{data:e,loading:a,refetch:l}=je("/api/team-members"),{data:i}=je("/api/departments"),[c,u]=r.useState(!1),[d,h]=r.useState(null),[m,p]=r.useState(null),[g,x]=r.useState(!1),y=N=>{var E;return!N||!i?null:((E=i.find(A=>A.id===N))==null?void 0:E.name)||null},w=async()=>{if(m){x(!0);try{await fe(`/api/team-members/${m.id}`,{method:"DELETE"}),ce("success","Member removed"),l()}catch{ce("error","Couldn't remove member")}finally{x(!1),p(null)}}};return a?s.jsx(Qe,{count:3}):e!=null&&e.length?s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"flex justify-end mb-4",children:s.jsxs("button",{onClick:()=>{h(null),u(!0)},className:"flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium bg-white text-black rounded-md hover:bg-neutral-200 transition-colors",children:[s.jsx(pt,{size:14})," Add member"]})}),s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:e.map(N=>{var E;return s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-xs font-bold",children:(E=N.name[0])==null?void 0:E.toUpperCase()}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium",children:N.name}),s.jsxs("p",{className:"text-xs text-neutral-400",children:[N.role||"No role",y(N.department_id)&&s.jsxs("span",{className:"ml-2",children:["· ",y(N.department_id)]}),N.email&&s.jsxs("span",{className:"ml-2",children:["· ",N.email]})]})]})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("button",{onClick:()=>{h(N),u(!0)},className:"text-neutral-400 hover:text-white transition-colors",children:s.jsx(F1,{size:13})}),s.jsx("button",{onClick:()=>p(N),className:"text-neutral-400 hover:text-critical transition-colors",children:s.jsx(qt,{size:13})})]})]},N.id)})}),c&&s.jsx(VP,{member:d,departments:i||[],onClose:()=>{u(!1),h(null)},onSuccess:()=>{l(),u(!1),h(null)}}),s.jsx(s0,{open:!!m,onClose:()=>p(null),onConfirm:w,title:"Remove member",message:`Remove "${m==null?void 0:m.name}"?`,confirmLabel:"Remove",loading:g})]}):s.jsx(en,{icon:Jx,title:"No team members yet",description:"Add team members to track human collaborators alongside your AI agents.",capabilities:[{icon:Jx,label:"Profiles",description:"Name, email, role"},{icon:Gh,label:"Departments",description:"Assign to departments"}],action:{label:"Add team member",onClick:()=>{h(null),u(!0)}}})}function VP({member:e,departments:a,onClose:l,onSuccess:i}){const[c,u]=r.useState((e==null?void 0:e.name)||""),[d,h]=r.useState((e==null?void 0:e.email)||""),[m,p]=r.useState((e==null?void 0:e.role)||""),[g,x]=r.useState((e==null?void 0:e.department_id)||""),[y,w]=r.useState(!1),N=async E=>{if(E.preventDefault(),!!c.trim()){w(!0);try{const A={name:c.trim(),email:d.trim()||null,role:m.trim()||null,department_id:g||null};e?(await fe(`/api/team-members/${e.id}`,{method:"PUT",body:JSON.stringify(A)}),ce("success","Member updated")):(await fe("/api/team-members",{method:"POST",body:JSON.stringify(A)}),ce("success","Member added")),i()}catch{ce("error",e?"Couldn't update member":"Couldn't add member")}finally{w(!1)}}};return s.jsx(la,{open:!0,onClose:l,title:e?"Edit member":"New member",maxWidth:"max-w-md",children:s.jsxs("form",{onSubmit:N,className:"space-y-3",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Name"}),s.jsx("input",{value:c,onChange:E=>u(E.target.value),placeholder:"Jane Doe",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20",autoFocus:!0})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Email"}),s.jsx("input",{value:d,onChange:E=>h(E.target.value),placeholder:"jane@example.com",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Role"}),s.jsx("input",{value:m,onChange:E=>p(E.target.value),placeholder:"Product Manager",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Department"}),s.jsxs("select",{value:g,onChange:E=>x(E.target.value),className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white focus:outline-none focus:border-white/20",children:[s.jsx("option",{value:"",children:"None"}),a.map(E=>s.jsx("option",{value:E.id,children:E.name},E.id))]})]})]}),s.jsxs("div",{className:"flex gap-2 justify-end pt-2",children:[s.jsx("button",{type:"button",onClick:l,className:"px-3 py-1.5 text-xs text-neutral-400 hover:text-white transition-colors",children:"Cancel"}),s.jsx("button",{type:"submit",disabled:y||!c.trim(),className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:y?"Saving...":e?"Update":"Add member"})]})]})})}function TP(){const[e,a]=r.useState(null),[l,i]=r.useState(!0),[c,u]=r.useState(null),[d,h]=r.useState(null),[m,p]=r.useState(!1),[g,x]=r.useState(!1),y=async()=>{try{const E=await fetch("/browser/health");if(E.ok){const A=await E.json();a({active:!0,url:A.url,title:A.title})}else a({active:!1})}catch{a({active:!1})}finally{i(!1)}};r.useEffect(()=>{y()},[]);const w=async()=>{p(!0);try{const E=await fetch("/browser/session/screenshot");if(E.ok){const A=await E.blob(),j=URL.createObjectURL(A);u(j)}else ce("error","Couldn't capture screenshot")}catch{ce("error","Browser session not active")}finally{p(!1)}},N=async()=>{x(!0);try{const E=await fe("/browser/session/snapshot");h(typeof E.data=="string"?E.data:JSON.stringify(E.data,null,2))}catch{ce("error","Couldn't get accessibility snapshot")}finally{x(!1)}};return l?s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Browser",subtitle:"Browser automation viewer"}),s.jsxs("div",{className:"flex items-center gap-2 text-neutral-400 text-sm",children:[s.jsx(yt,{size:14,className:"animate-spin"})," Checking browser status..."]})]}):s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Browser",subtitle:"Browser automation viewer",action:s.jsxs("button",{onClick:y,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs text-neutral-400 border border-white/10 rounded-md hover:bg-white/5 hover:text-white transition-colors",children:[s.jsx(Al,{size:14})," Refresh"]})}),e!=null&&e.active?s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"border border-white/[0.08] bg-white/[0.02] rounded-lg p-4",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[s.jsx("span",{className:"w-2 h-2 rounded-full bg-success animate-pulse"}),s.jsx("span",{className:"text-sm font-medium",children:"Active session"})]}),e.url&&s.jsx("p",{className:"text-xs text-neutral-400 truncate ml-5",children:e.url}),e.title&&s.jsx("p",{className:"text-xs text-neutral-500 ml-5",children:e.title})]}),s.jsxs("div",{className:"flex gap-3",children:[s.jsxs("button",{onClick:w,disabled:m,className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:[m?s.jsx(yt,{size:14,className:"animate-spin"}):s.jsx(Yh,{size:14}),"Capture screenshot"]}),s.jsxs("button",{onClick:N,disabled:g,className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white/5 border border-white/10 text-white rounded-md hover:bg-white/10 disabled:opacity-50 transition-colors",children:[g?s.jsx(yt,{size:14,className:"animate-spin"}):s.jsx(Qx,{size:14}),"Accessibility tree"]})]}),c&&s.jsxs("div",{children:[s.jsx("h3",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider mb-2",children:"Screenshot"}),s.jsx("div",{className:"border border-white/[0.08] rounded-lg overflow-hidden",children:s.jsx("img",{src:c,alt:"Browser screenshot",className:"w-full"})})]}),d&&s.jsxs("div",{children:[s.jsx("h3",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider mb-2",children:"Accessibility tree"}),s.jsx("pre",{className:"border border-white/[0.08] bg-white/[0.02] rounded-lg p-4 text-xs text-neutral-400 overflow-x-auto max-h-96 whitespace-pre-wrap font-mono",children:d})]})]}):s.jsx(en,{icon:Ph,title:"No active browser session",description:"Browser sessions are started automatically when agents need web access. Launch a task that requires browsing to see it here.",capabilities:[{icon:Yh,label:"Screenshots",description:"Capture the current page"},{icon:Qx,label:"Accessibility tree",description:"View page structure"},{icon:Ph,label:"Live view",description:"See what your agent sees"}]})]})}function aA(e){const a=Date.now()-new Date(e).getTime(),l=Math.floor(a/6e4);if(l<1)return"just now";if(l<60)return`${l}m ago`;const i=Math.floor(l/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}const LP=["briefing","suggestion","insight","anomaly","proactive"];function RP(){const{data:e,loading:a}=je("/api/activity"),l=r.useMemo(()=>e?e.filter(u=>LP.some(d=>u.type.toLowerCase().includes(d))):[],[e]),i=r.useMemo(()=>e?e.filter(u=>u.type==="task_completed").slice(0,10):[],[e]),c=!a&&l.length===0&&i.length===0;return s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Briefings",subtitle:"Agent insights and daily digest"}),a?s.jsx(Qe,{count:4}):c?s.jsx(en,{icon:Xh,title:"No briefings yet",description:"Briefings appear here as your agents generate insights, detect anomalies, and complete work.",capabilities:[{icon:Xh,label:"Daily digest",description:"Summary of completed work"},{icon:Yx,label:"Suggestions",description:"Agent improvement ideas"},{icon:Ka,label:"Proactive insights",description:"Anomalies and opportunities"}]}):s.jsxs("div",{className:"space-y-6",children:[l.length>0&&s.jsxs("div",{children:[s.jsx("h3",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider mb-3",children:"Insights"}),s.jsx("div",{className:"space-y-2",children:l.map((u,d)=>s.jsx(De.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{delay:d*.04},className:"border border-white/[0.08] bg-white/[0.02] rounded-lg p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("div",{className:"w-8 h-8 rounded-lg bg-amber-500/10 flex items-center justify-center shrink-0 mt-0.5",children:s.jsx(Yx,{size:16,className:"text-amber-400"})}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[s.jsx("p",{className:"text-sm font-medium",children:u.title}),s.jsx("span",{className:"text-[10px] bg-white/[0.06] px-1.5 py-0.5 rounded text-neutral-400",children:u.type})]}),u.description&&s.jsx("p",{className:"text-xs text-neutral-400",children:u.description}),s.jsxs("p",{className:"text-[10px] text-neutral-500 mt-1.5 flex items-center gap-1",children:[s.jsx(Fr,{size:10})," ",aA(u.created_at)]})]})]})},u.id))})]}),i.length>0&&s.jsxs("div",{children:[s.jsx("h3",{className:"text-[11px] font-medium text-neutral-500 uppercase tracking-wider mb-3",children:"Recent completions"}),s.jsx("div",{className:"border border-white/[0.08] rounded-lg divide-y divide-white/[0.08]",children:i.map(u=>s.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[s.jsxs("div",{className:"min-w-0 mr-3",children:[s.jsx("p",{className:"text-sm font-medium truncate",children:u.title}),u.description&&s.jsx("p",{className:"text-xs text-neutral-400 truncate",children:u.description})]}),s.jsx("span",{className:"text-xs text-neutral-500 shrink-0",children:aA(u.created_at)})]},u.id))})]})]})]})}function kP(){const[e,a]=r.useState(""),[l,i]=r.useState(""),[c,u]=r.useState(!1),[d,h]=r.useState(null),m=r.useRef(null),p=async()=>{if(e.trim()){u(!0),h(null);try{const y=(await fe("/api/podcast/generate",{method:"POST",body:JSON.stringify({content:e.trim(),title:l.trim()||void 0})})).data.jobId;h({jobId:y,status:"queued"}),ce("success","Podcast generation started"),g(y)}catch{ce("error","Couldn't start podcast generation")}finally{u(!1)}}},g=x=>{m.current&&clearInterval(m.current),m.current=setInterval(async()=>{try{const y=await fe(`/api/podcast/status/${x}`);h(y.data),(y.data.status==="completed"||y.data.status==="failed")&&(m.current&&clearInterval(m.current),m.current=null,y.data.status==="completed"?ce("success","Podcast ready"):ce("error",y.data.error||"Generation failed"))}catch{m.current&&clearInterval(m.current),m.current=null}},3e3)};return r.useEffect(()=>()=>{m.current&&clearInterval(m.current)},[]),s.jsxs("div",{className:"p-6 max-w-4xl",children:[s.jsx(ze,{title:"Podcast",subtitle:"Generate audio content from text"}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"border border-white/[0.08] bg-white/[0.02] rounded-lg p-4 space-y-3",children:[s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Title (optional)"}),s.jsx("input",{value:l,onChange:x=>i(x.target.value),placeholder:"Episode title",className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-xs text-neutral-400 block mb-1",children:"Content"}),s.jsx("textarea",{value:e,onChange:x=>a(x.target.value),placeholder:"Paste the text you want to convert into a podcast episode...",rows:8,className:"w-full bg-white/5 border border-white/10 rounded px-3 py-2 text-sm text-white placeholder:text-neutral-500 focus:outline-none focus:border-white/20 resize-none"})]}),s.jsx("div",{className:"flex justify-end",children:s.jsxs("button",{onClick:p,disabled:c||!e.trim(),className:"flex items-center gap-1.5 px-4 py-2 text-sm font-medium bg-white text-black rounded-md hover:bg-neutral-200 disabled:opacity-50 transition-colors",children:[c?s.jsx(yt,{size:14,className:"animate-spin"}):s.jsx(H0,{size:14}),"Generate podcast"]})})]}),d&&s.jsxs("div",{className:"border border-white/[0.08] bg-white/[0.02] rounded-lg p-4",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[d.status==="queued"||d.status==="processing"?s.jsx(yt,{size:18,className:"text-blue-400 animate-spin"}):d.status==="completed"?s.jsx(Wx,{size:18,className:"text-success"}):s.jsx(H0,{size:18,className:"text-critical"}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium capitalize",children:d.status}),d.status==="processing"&&d.progress!=null&&s.jsxs("p",{className:"text-xs text-neutral-400",children:[Math.round(d.progress*100),"% complete"]})]})]}),d.status==="processing"&&d.progress!=null&&s.jsx("div",{className:"h-1.5 bg-white/[0.06] rounded-full overflow-hidden mb-3",children:s.jsx("div",{className:"h-full bg-blue-500 rounded-full transition-all duration-500",style:{width:`${Math.round(d.progress*100)}%`}})}),d.status==="completed"&&d.audioUrl&&s.jsx("audio",{controls:!0,className:"w-full mt-2",src:d.audioUrl,children:"Your browser does not support audio playback."}),d.status==="failed"&&d.error&&s.jsx("p",{className:"text-xs text-critical",children:d.error})]}),!e&&!d&&s.jsx(en,{icon:H0,title:"AI Podcast Generator",description:"Convert any text content into a natural-sounding podcast episode using local TTS models.",capabilities:[{icon:H0,label:"Text to speech",description:"Natural-sounding voices"},{icon:Wx,label:"Audio output",description:"Download or play in browser"},{icon:Kf,label:"Multiple voices",description:"Different speakers for dialogue"}],variant:"compact"})]})]})}function DP({children:e}){return An()?s.jsx(s.Fragment,{children:e}):s.jsx(gA,{to:"/login",replace:!0})}function OP(){return s.jsxs(EA,{children:[s.jsxs(n_,{children:[s.jsx(Le,{path:"/login",element:s.jsx(jF,{})}),s.jsx(Le,{path:"/onboarding",element:s.jsx(FF,{})}),s.jsxs(Le,{path:"/*",element:s.jsx(DP,{children:s.jsx(AF,{})}),children:[s.jsx(Le,{index:!0,element:s.jsx(Gq,{})}),s.jsx(Le,{path:"dashboard",element:s.jsx(IF,{})}),s.jsx(Le,{path:"agents",element:s.jsx(KF,{})}),s.jsx(Le,{path:"agents/:id",element:s.jsx(tq,{})}),s.jsx(Le,{path:"tasks",element:s.jsx(nq,{})}),s.jsx(Le,{path:"tasks/:id",element:s.jsx(dq,{})}),s.jsx(Le,{path:"contacts",element:s.jsx(fz,{})}),s.jsx(Le,{path:"contacts/:id",element:s.jsx(pz,{})}),s.jsx(Le,{path:"projects",element:s.jsx(xz,{})}),s.jsx(Le,{path:"projects/:id",element:s.jsx(jz,{})}),s.jsx(Le,{path:"templates",element:s.jsx(hP,{})}),s.jsx(Le,{path:"automations",element:s.jsx(Mz,{})}),s.jsx(Le,{path:"automations/new",element:s.jsx(Qw,{})}),s.jsx(Le,{path:"automations/:id/edit",element:s.jsx(Qw,{})}),s.jsx(Le,{path:"connections",element:s.jsx(nP,{})}),s.jsx(Le,{path:"approvals",element:s.jsx(fq,{})}),s.jsx(Le,{path:"activity",element:s.jsx(vq,{})}),s.jsx(Le,{path:"schedules",element:s.jsx(Mq,{})}),s.jsx(Le,{path:"knowledge",element:s.jsx(cP,{})}),s.jsx(Le,{path:"messages",element:s.jsx(Qq,{})}),s.jsx(Le,{path:"workflows",element:s.jsx(pP,{})}),s.jsx(Le,{path:"webhook-events",element:s.jsx(xP,{})}),s.jsx(Le,{path:"goals",element:s.jsx(bP,{})}),s.jsx(Le,{path:"revenue",element:s.jsx(AP,{})}),s.jsx(Le,{path:"messaging",element:s.jsx(EP,{})}),s.jsx(Le,{path:"peers",element:s.jsx(NP,{})}),s.jsx(Le,{path:"team",element:s.jsx(ZP,{})}),s.jsx(Le,{path:"browser",element:s.jsx(TP,{})}),s.jsx(Le,{path:"briefings",element:s.jsx(RP,{})}),s.jsx(Le,{path:"podcast",element:s.jsx(kP,{})}),s.jsx(Le,{path:"chat",element:s.jsx(gA,{to:"/",replace:!0})}),s.jsx(Le,{path:"settings",element:s.jsx(dz,{})})]})]}),s.jsx(hF,{})]})}nH.createRoot(document.getElementById("root")).render(s.jsx(r.StrictMode,{children:s.jsx(S_,{basename:"/ui",children:s.jsx(OP,{})})}));