@twentyfirstmedia/elements 0.3.1 → 0.4.0
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.
- package/dist/elements.d.ts +3 -1
- package/dist/elements.global.js +29 -29
- package/dist/elements.js +29 -29
- package/package.json +2 -2
package/dist/elements.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
var _S=Object.create;var yu=Object.defineProperty;var DS=Object.getOwnPropertyDescriptor;var OS=Object.getOwnPropertyNames;var jS=Object.getPrototypeOf,LS=Object.prototype.hasOwnProperty;var Yn=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}},HS=(e,t)=>{for(var n in t)yu(e,n,{get:t[n],enumerable:!0})},US=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of OS(t))!LS.call(e,l)&&l!==n&&yu(e,l,{get:()=>t[l],enumerable:!(a=DS(t,l))||a.enumerable});return e};var G=(e,t,n)=>(n=e!=null?_S(jS(e)):{},US(t||!e||!e.__esModule?yu(n,"default",{value:e,enumerable:!0}):n,e));var Sh=Yn(le=>{"use strict";var Cu=Symbol.for("react.transitional.element"),BS=Symbol.for("react.portal"),VS=Symbol.for("react.fragment"),qS=Symbol.for("react.strict_mode"),GS=Symbol.for("react.profiler"),YS=Symbol.for("react.consumer"),QS=Symbol.for("react.context"),XS=Symbol.for("react.forward_ref"),KS=Symbol.for("react.suspense"),ZS=Symbol.for("react.memo"),mh=Symbol.for("react.lazy"),FS=Symbol.for("react.activity"),IS=Symbol.for("react.view_transition"),oh=Symbol.iterator;function JS(e){return e===null||typeof e!="object"?null:(e=oh&&e[oh]||e["@@iterator"],typeof e=="function"?e:null)}var hh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gh=Object.assign,vh={};function hi(e,t,n){this.props=e,this.context=t,this.refs=vh,this.updater=n||hh}hi.prototype.isReactComponent={};hi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};hi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function bh(){}bh.prototype=hi.prototype;function Tu(e,t,n){this.props=e,this.context=t,this.refs=vh,this.updater=n||hh}var Eu=Tu.prototype=new bh;Eu.constructor=Tu;gh(Eu,hi.prototype);Eu.isPureReactComponent=!0;var uh=Array.isArray;function xu(){}var De={H:null,A:null,T:null,S:null},ph=Object.prototype.hasOwnProperty;function Mu(e,t,n){var a=n.ref;return{$$typeof:Cu,type:e,key:t,ref:a!==void 0?a:null,props:n}}function $S(e,t){return Mu(e.type,t,e.props)}function ku(e){return typeof e=="object"&&e!==null&&e.$$typeof===Cu}function PS(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var fh=/\/+/g;function Su(e,t){return typeof e=="object"&&e!==null&&e.key!=null?PS(""+e.key):t.toString(36)}function WS(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(xu,xu):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function mi(e,t,n,a,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"bigint":case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Cu:case BS:s=!0;break;case mh:return s=e._init,mi(s(e._payload),t,n,a,l)}}if(s)return l=l(e),s=a===""?"."+Su(e,0):a,uh(l)?(n="",s!=null&&(n=s.replace(fh,"$&/")+"/"),mi(l,t,n,"",function(u){return u})):l!=null&&(ku(l)&&(l=$S(l,n+(l.key==null||e&&e.key===l.key?"":(""+l.key).replace(fh,"$&/")+"/")+s)),t.push(l)),1;s=0;var c=a===""?".":a+":";if(uh(e))for(var r=0;r<e.length;r++)a=e[r],i=c+Su(a,r),s+=mi(a,t,n,i,l);else if(r=JS(e),typeof r=="function")for(e=r.call(e),r=0;!(a=e.next()).done;)a=a.value,i=c+Su(a,r++),s+=mi(a,t,n,i,l);else if(i==="object"){if(typeof e.then=="function")return mi(WS(e),t,n,a,l);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return s}function Jc(e,t,n){if(e==null)return e;var a=[],l=0;return mi(e,a,"","",function(i){return t.call(n,i,l++)}),a}function ex(e){if(e._status===-1){var t=e._result,n=t();n.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a,n.status===void 0&&(n.status="fulfilled",n.value=a))},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a,n.status===void 0&&(n.status="rejected",n.reason=a))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var dh=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function yh(e){var t=De.T,n={};n.types=t!==null?t.types:null,De.T=n;try{var a=e(),l=De.S;l!==null&&l(n,a),typeof a=="object"&&a!==null&&typeof a.then=="function"&&a.then(xu,dh)}catch(i){dh(i)}finally{t!==null&&n.types!==null&&(t.types=n.types),De.T=t}}function Nh(e){var t=De.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else yh(Nh.bind(null,e))}var tx={map:Jc,forEach:function(e,t,n){Jc(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Jc(e,function(){t++}),t},toArray:function(e){return Jc(e,function(t){return t})||[]},only:function(e){if(!ku(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};le.Activity=FS;le.Children=tx;le.Component=hi;le.Fragment=VS;le.Profiler=GS;le.PureComponent=Tu;le.StrictMode=qS;le.Suspense=KS;le.ViewTransition=IS;le.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=De;le.__COMPILER_RUNTIME={__proto__:null,c:function(e){return De.H.useMemoCache(e)}};le.addTransitionType=Nh;le.cache=function(e){return function(){return e.apply(null,arguments)}};le.cacheSignal=function(){return null};le.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var a=gh({},e.props),l=e.key;if(t!=null)for(i in t.key!==void 0&&(l=""+t.key),t)!ph.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(a[i]=t[i]);var i=arguments.length-2;if(i===1)a.children=n;else if(1<i){for(var s=Array(i),c=0;c<i;c++)s[c]=arguments[c+2];a.children=s}return Mu(e.type,l,a)};le.createContext=function(e){return e={$$typeof:QS,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:YS,_context:e},e};le.createElement=function(e,t,n){var a,l={},i=null;if(t!=null)for(a in t.key!==void 0&&(i=""+t.key),t)ph.call(t,a)&&a!=="key"&&a!=="__self"&&a!=="__source"&&(l[a]=t[a]);var s=arguments.length-2;if(s===1)l.children=n;else if(1<s){for(var c=Array(s),r=0;r<s;r++)c[r]=arguments[r+2];l.children=c}if(e&&e.defaultProps)for(a in s=e.defaultProps,s)l[a]===void 0&&(l[a]=s[a]);return Mu(e,i,l)};le.createRef=function(){return{current:null}};le.forwardRef=function(e){return{$$typeof:XS,render:e}};le.isValidElement=ku;le.lazy=function(e){return{$$typeof:mh,_payload:{_status:-1,_result:e},_init:ex}};le.memo=function(e,t){return{$$typeof:ZS,type:e,compare:t===void 0?null:t}};le.startTransition=yh;le.unstable_useCacheRefresh=function(){return De.H.useCacheRefresh()};le.use=function(e){return De.H.use(e)};le.useActionState=function(e,t,n){return De.H.useActionState(e,t,n)};le.useCallback=function(e,t){return De.H.useCallback(e,t)};le.useContext=function(e){return De.H.useContext(e)};le.useDebugValue=function(){};le.useDeferredValue=function(e,t){return De.H.useDeferredValue(e,t)};le.useEffect=function(e,t){return De.H.useEffect(e,t)};le.useEffectEvent=function(e){return De.H.useEffectEvent(e)};le.useId=function(){return De.H.useId()};le.useImperativeHandle=function(e,t,n){return De.H.useImperativeHandle(e,t,n)};le.useInsertionEffect=function(e,t){return De.H.useInsertionEffect(e,t)};le.useLayoutEffect=function(e,t){return De.H.useLayoutEffect(e,t)};le.useMemo=function(e,t){return De.H.useMemo(e,t)};le.useOptimistic=function(e,t){return De.H.useOptimistic(e,t)};le.useReducer=function(e,t,n){return De.H.useReducer(e,t,n)};le.useRef=function(e){return De.H.useRef(e)};le.useState=function(e){return De.H.useState(e)};le.useSyncExternalStore=function(e,t,n){return De.H.useSyncExternalStore(e,t,n)};le.useTransition=function(){return De.H.useTransition()};le.version="19.3.1"});var re=Yn((aT,xh)=>{"use strict";xh.exports=Sh()});var Eh=Yn(Wc=>{"use strict";var nx=Symbol.for("react.transitional.element"),ax=Symbol.for("react.fragment");function Th(e,t,n){var a=null;if(n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),"key"in t){n={};for(var l in t)l!=="key"&&(n[l]=t[l])}else n=t;return t=n.ref,{$$typeof:nx,type:e,key:a,ref:t!==void 0?t:null,props:n}}Wc.Fragment=ax;Wc.jsx=Th;Wc.jsxs=Th});var ye=Yn((sT,Mh)=>{"use strict";Mh.exports=Eh()});var Bh=Yn(wt=>{"use strict";var rx=re();function Uh(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Va(){}var jt={d:{f:Va,r:function(){throw Error(Uh(522))},D:Va,C:Va,L:Va,m:Va,X:Va,S:Va,M:Va},p:0,findDOMNode:null},ox=Symbol.for("react.portal"),ux=Symbol.for("react.recoverable"),Hh=Symbol.for("react.optimistic_key");function fx(e,t,n){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ox,key:a==null?null:a===Hh?Hh:""+a,children:e,containerInfo:t,implementation:n}}var js=rx.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function ar(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=jt;wt.browser=function(e){return{$$typeof:ux,_reason:e}};wt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(Uh(299));return fx(e,t,null,n)};wt.flushSync=function(e){var t=js.T,n=jt.p;try{if(js.T=null,jt.p=2,e)return e()}finally{js.T=t,jt.p=n,jt.d.f()}};wt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,jt.d.C(e,t))};wt.prefetchDNS=function(e){typeof e=="string"&&jt.d.D(e)};wt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var n=t.as,a=ar(n,t.crossOrigin),l=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;n==="style"?jt.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:a,integrity:l,fetchPriority:i}):n==="script"&&jt.d.X(e,{crossOrigin:a,integrity:l,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};wt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var n=ar(t.as,t.crossOrigin);jt.d.M(e,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}}else t==null&&jt.d.M(e)};wt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var n=t.as,a=ar(n,t.crossOrigin);jt.d.L(e,n,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};wt.preloadModule=function(e,t){if(typeof e=="string")if(t){var n=ar(t.as,t.crossOrigin);jt.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}else jt.d.m(e)};wt.requestFormReset=function(e){jt.d.r(e)};wt.unstable_batchedUpdates=function(e,t){return e(t)};wt.useFormState=function(e,t,n){return js.H.useFormState(e,t,n)};wt.useFormStatus=function(){return js.H.useHostTransitionStatus()};wt.version="19.3.1"});var lr=Yn((bT,qh)=>{"use strict";function Vh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Vh)}catch(e){console.error(e)}}Vh(),qh.exports=Bh()});var xb=Yn(Ye=>{"use strict";function cf(e,t){var n=e.length;e.push(t);e:for(;0<n;){var a=n-1>>>1,l=e[a];if(0<zr(l,t))e[a]=t,e[n]=l,n=a;else break e}}function In(e){return e.length===0?null:e[0]}function _r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var a=0,l=e.length,i=l>>>1;a<i;){var s=2*(a+1)-1,c=e[s],r=s+1,u=e[r];if(0>zr(c,n))r<l&&0>zr(u,c)?(e[a]=u,e[r]=n,a=r):(e[a]=c,e[s]=n,a=s);else if(r<l&&0>zr(u,n))e[a]=u,e[r]=n,a=r;else break e}}return t}function zr(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}Ye.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(mb=performance,Ye.unstable_now=function(){return mb.now()}):(af=Date,hb=af.now(),Ye.unstable_now=function(){return af.now()-hb});var mb,af,hb,pa=[],Fa=[],Gx=1,bn=null,_t=3,rf=!1,Xs=!1,Ks=!1,of=!1,bb=typeof setTimeout=="function"?setTimeout:null,pb=typeof clearTimeout=="function"?clearTimeout:null,gb=typeof setImmediate<"u"?setImmediate:null;function Ar(e){for(var t=In(Fa);t!==null;){if(t.callback===null)_r(Fa);else if(t.startTime<=e)_r(Fa),t.sortIndex=t.expirationTime,cf(pa,t);else break;t=In(Fa)}}function uf(e){if(Ks=!1,Ar(e),!Xs)if(In(pa)!==null)Xs=!0,_i||(_i=!0,Ai());else{var t=In(Fa);t!==null&&ff(uf,t.startTime-e)}}var _i=!1,Zs=-1,yb=5,Nb=-1;function Sb(){return of?!0:!(Ye.unstable_now()-Nb<yb)}function lf(){if(of=!1,_i){var e=Ye.unstable_now();Nb=e;var t=!0;try{e:{Xs=!1,Ks&&(Ks=!1,pb(Zs),Zs=-1),rf=!0;var n=_t;try{t:{for(Ar(e),bn=In(pa);bn!==null&&!(bn.expirationTime>e&&Sb());){var a=bn.callback;if(typeof a=="function"){bn.callback=null,_t=bn.priorityLevel;var l=a(bn.expirationTime<=e);if(e=Ye.unstable_now(),typeof l=="function"){bn.callback=l,Ar(e),t=!0;break t}bn===In(pa)&&_r(pa),Ar(e)}else _r(pa);bn=In(pa)}if(bn!==null)t=!0;else{var i=In(Fa);i!==null&&ff(uf,i.startTime-e),t=!1}}break e}finally{bn=null,_t=n,rf=!1}t=void 0}}finally{t?Ai():_i=!1}}}var Ai;typeof gb=="function"?Ai=function(){gb(lf)}:typeof MessageChannel<"u"?(sf=new MessageChannel,vb=sf.port2,sf.port1.onmessage=lf,Ai=function(){vb.postMessage(null)}):Ai=function(){bb(lf,0)};var sf,vb;function ff(e,t){Zs=bb(function(){e(Ye.unstable_now())},t)}Ye.unstable_IdlePriority=5;Ye.unstable_ImmediatePriority=1;Ye.unstable_LowPriority=4;Ye.unstable_NormalPriority=3;Ye.unstable_Profiling=null;Ye.unstable_UserBlockingPriority=2;Ye.unstable_cancelCallback=function(e){e.callback=null};Ye.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):yb=0<e?Math.floor(1e3/e):5};Ye.unstable_getCurrentPriorityLevel=function(){return _t};Ye.unstable_next=function(e){switch(_t){case 1:case 2:case 3:var t=3;break;default:t=_t}var n=_t;_t=t;try{return e()}finally{_t=n}};Ye.unstable_requestPaint=function(){of=!0};Ye.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_t;_t=e;try{return t()}finally{_t=n}};Ye.unstable_scheduleCallback=function(e,t,n){var a=Ye.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?a+n:a):n=a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=n+l,e={id:Gx++,callback:t,priorityLevel:e,startTime:n,expirationTime:l,sortIndex:-1},n>a?(e.sortIndex=n,cf(Fa,e),In(pa)===null&&e===In(Fa)&&(Ks?(pb(Zs),Zs=-1):Ks=!0,ff(uf,n-a))):(e.sortIndex=l,cf(pa,e),Xs||rf||(Xs=!0,_i||(_i=!0,Ai()))),e};Ye.unstable_shouldYield=Sb;Ye.unstable_wrapCallback=function(e){var t=_t;return function(){var n=_t;_t=t;try{return e.apply(this,arguments)}finally{_t=n}}}});var Tb=Yn((T4,Cb)=>{"use strict";Cb.exports=xb()});var uS=Yn(hu=>{"use strict";var ot=Tb(),op=re(),Yx=lr();function w(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function up(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Oc(e){for(var t=e,n=t;n&&!n.alternate;)t=n,(t.flags&4098)!==0&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function fp(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function dp(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Eb(e){if(Oc(e)!==e)throw Error(w(188))}function Qx(e){var t=e.alternate;if(!t){if(t=Oc(e),t===null)throw Error(w(188));return t!==e?null:e}for(var n=e,a=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(a=l.return,a!==null){n=a;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return Eb(l),e;if(i===a)return Eb(l),t;i=i.sibling}throw Error(w(188))}if(n.return!==a.return)n=l,a=i;else{for(var s=!1,c=l.child;c;){if(c===n){s=!0,n=l,a=i;break}if(c===a){s=!0,a=l,n=i;break}c=c.sibling}if(!s){for(c=i.child;c;){if(c===n){s=!0,n=i,a=l;break}if(c===a){s=!0,a=i,n=l;break}c=c.sibling}if(!s)throw Error(w(189))}}if(n.alternate!==a)throw Error(w(190))}if(n.tag!==3)throw Error(w(188));return n.stateNode.current===n?e:t}function mp(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=mp(e),t!==null)return t;e=e.sibling}return null}function $t(e,t,n,a,l,i){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,a,l,i)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&$t(e.child,t,n,a,l,i))return!0;e=e.sibling}return!1}function si(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function Mb(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function hp(e){var t=[null,null],n=si(e);return n===null||gp(t,e,n.child,{foundSelf:!1}),t}function gp(e,t,n,a){for(;n!==null;){if(n===t)a.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(a.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&gp(e,t,n.child,a))return!0;n=n.sibling}return!1}function rt(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(w(559))}}var Bi=null,Yf=null;function Xx(e,t,n){return e===n?!0:e===t?(Bi=e,!0):!1}function Kx(e,t,n){return e===n?(Yf=e,!1):e===t?(Yf!==null&&(Bi=e),!0):!1}function kb(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function Qf(e,t,n){for(var a=0,l=e;l;l=n(l))a++;l=0;for(var i=t;i;i=n(i))l++;for(;0<a-l;)e=n(e),a--;for(;0<l-a;)t=n(t),l--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var _e=Object.assign,Zx=Symbol.for("react.element"),Dr=Symbol.for("react.transitional.element"),ec=Symbol.for("react.portal"),Vi=Symbol.for("react.fragment"),vp=Symbol.for("react.strict_mode"),Xf=Symbol.for("react.profiler"),bp=Symbol.for("react.consumer"),ta=Symbol.for("react.context"),em=Symbol.for("react.forward_ref"),Kf=Symbol.for("react.suspense"),Zf=Symbol.for("react.suspense_list"),tm=Symbol.for("react.memo"),Pa=Symbol.for("react.lazy"),Ff=Symbol.for("react.activity"),Fx=Symbol.for("react.legacy_hidden"),Ix=Symbol.for("react.memo_cache_sentinel"),If=Symbol.for("react.view_transition"),Jx=Symbol.for("react.recoverable"),Rb=Symbol.iterator;function Fs(e){return e===null||typeof e!="object"?null:(e=Rb&&e[Rb]||e["@@iterator"],typeof e=="function"?e:null)}var $x=Symbol.for("react.client.reference");function Jf(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===$x?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vi:return"Fragment";case Xf:return"Profiler";case vp:return"StrictMode";case Kf:return"Suspense";case Zf:return"SuspenseList";case Ff:return"Activity";case If:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case ec:return"Portal";case ta:return e.displayName||"Context";case bp:return(e._context.displayName||"Context")+".Consumer";case em:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case tm:return t=e.displayName||null,t!==null?t:Jf(e.type)||"Memo";case Pa:t=e._payload,e=e._init;try{return Jf(e(t))}catch{}}return null}var tc=Array.isArray,te=op.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ce=Yx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Zl={pending:!1,data:null,method:null,action:null},$f=[],qi=-1;function ra(e){return{current:e}}function Et(e){0>qi||(e.current=$f[qi],$f[qi]=null,qi--)}function He(e,t){qi++,$f[qi]=e.current,e.current=t}var ia=ra(null),pc=ra(null),cl=ra(null),No=ra(null);function So(e,t){switch(He(cl,t),He(pc,e),He(ia,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?G1(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=G1(t),e=BN(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Et(ia),He(ia,e)}function cs(){Et(ia),Et(pc),Et(cl)}function Pf(e){var t=e.memoizedState;t!==null&&(bs._currentValue=t.memoizedState,He(No,e)),t=ia.current;var n=BN(t,e.type);t!==n&&(He(pc,e),He(ia,n))}function xo(e){pc.current===e&&(Et(ia),Et(pc)),No.current===e&&(Et(No),bs._currentValue=Zl)}var df,wb;function Ja(e){if(df===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);df=t&&t[1]||"",wb=-1<n.stack.indexOf(`
|
|
2
|
-
at`)?" (<anonymous>)":-1<
|
|
3
|
-
`+
|
|
4
|
-
`),u=
|
|
5
|
-
`);for(l=
|
|
6
|
-
`+
|
|
7
|
-
Error generating stack: `+
|
|
8
|
-
`+a.stack}}var Wf=Object.prototype.hasOwnProperty,nm=ot.unstable_scheduleCallback,gf=ot.unstable_cancelCallback,Wx=ot.unstable_shouldYield,eC=ot.unstable_requestPaint,un=ot.unstable_now,tC=ot.unstable_getCurrentPriorityLevel,pp=ot.unstable_ImmediatePriority,yp=ot.unstable_UserBlockingPriority,Co=ot.unstable_NormalPriority,nC=ot.unstable_LowPriority,Np=ot.unstable_IdlePriority,aC=ot.log,lC=ot.unstable_setDisableYieldValue,jc=null,fn=null;function tl(e){if(typeof aC=="function"&&lC(e),fn&&typeof fn.setStrictMode=="function")try{fn.setStrictMode(jc,e)}catch{}}var dn=Math.clz32?Math.clz32:cC,iC=Math.log,sC=Math.LN2;function cC(e){return e>>>=0,e===0?32:31-(iC(e)/sC|0)|0}var Or=256,jr=262144,Lr=4194304;function Gl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Io(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var l=0,i=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var c=a&134217727;return c!==0?(a=c&~i,a!==0?l=Gl(a):(s&=c,s!==0?l=Gl(s):n||(n=c&~e,n!==0&&(l=Gl(n))))):(c=a&~i,c!==0?l=Gl(c):s!==0?l=Gl(s):n||(n=a&~e,n!==0&&(l=Gl(n)))),l===0?0:t!==0&&t!==l&&(t&i)===0&&(i=l&-l,n=t&-t,i>=n||i===32&&(n&4194048)!==0)?t:l}function Lc(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Sp(e,t){(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var a=31-dn(n),l=1<<a;t|=e[a],n&=~l}return t}function rC(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 xp(){var e=Lr;return Lr<<=1,(Lr&62914560)===0&&(Lr=4194304),e}function vf(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Hc(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function oC(e,t,n,a,l,i){var s=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var c=e.entanglements,r=e.expirationTimes,u=e.hiddenUpdates;for(n=s&~n;0<n;){var o=31-dn(n),f=1<<o;c[o]=0,r[o]=-1;var d=u[o];if(d!==null)for(u[o]=null,o=0;o<d.length;o++){var m=d[o];m!==null&&(m.lane&=-536870913)}n&=~f}a!==0&&Cp(e,a,0),i!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=i&~(s&~t))}function Cp(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-dn(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function Tp(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-dn(n),l=1<<a;l&t|e[a]&t&&(e[a]|=t),n&=~l}}function Ep(e,t){var n=t&-t;return n=(n&42)!==0?1:am(n),(n&(e.suspendedLanes|t))!==0?0:n}function am(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function lm(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Mp(){var e=Ce.p;return e!==0?e:(e=window.event,e===void 0?32:cS(e.type))}function Ab(e,t){var n=Ce.p;try{return Ce.p=e,t()}finally{Ce.p=n}}var Aa=Math.random().toString(36).slice(2),Ct="__reactFiber$"+Aa,Pt="__reactProps$"+Aa,Ns="__reactContainer$"+Aa,_b="__reactEvents$"+Aa,uC="__reactListeners$"+Aa,fC="__reactHandles$"+Aa,Db="__reactResources$"+Aa,Uc="__reactMarker$"+Aa,To="__reactLoad$"+Aa;function Jo(e){delete e[Ct],delete e[Pt],delete e[uC],delete e[fC]}function Xl(e){var t;if(t=e[Ct])return t;for(var n=e.parentNode;n;){if(t=n[Ns]||n[Ct]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=J1(e);e!==null;){if(n=e[Ct])return n;e=J1(e)}return t}e=n,n=e.parentNode}return null}function Ss(e){if(e=e[Ct]||e[Ns]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function nc(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(w(33))}function $i(e){var t=e[Db];return t||(t=e[Db]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function pt(e){e[Uc]=!0}function kp(e){e[To]=void 0}var Rp=new Set,wp={};function ci(e,t){rs(e,t),rs(e+"Capture",t)}function rs(e,t){for(wp[e]=t,e=0;e<t.length;e++)Rp.add(t[e])}var dC=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]*$"),Ob={},jb={};function mC(e){return Wf.call(jb,e)?!0:Wf.call(Ob,e)?!1:dC.test(e)?jb[e]=!0:(Ob[e]=!0,!1)}var Ne=!1;function Lb(){var e=Ne;return Ne=!1,e}function eo(e,t,n){if(mC(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,n)}}function Hr(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,n)}}function ya(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,a)}}function sn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hC(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var l=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(s){n=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(s){n=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ed(e){if(!e._valueTracker){var t=zp(e)?"checked":"value";e._valueTracker=hC(e,t,""+e[t])}}function Ap(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=zp(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}var gC=/[\n"\\]/g;function xn(e){return e.replace(gC,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function td(e,t,n,a,l,i,s,c){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+sn(t)):e.value!==""+sn(t)&&(e.value=""+sn(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?s==="number"&&e.value==t?bf(e,sn(e.value)):bf(e,sn(t)):n!=null?bf(e,sn(n)):a!=null&&e.removeAttribute("value"),l==null&&i!=null&&(e.defaultChecked=!!i),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.name=""+sn(c):e.removeAttribute("name")}function _p(e,t,n,a,l,i,s,c){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||n!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){ed(e);return}n=n!=null?""+sn(n):"",t=t!=null?""+sn(t):n,c||t===e.value||(e.value=t),e.defaultValue=t}a=a??l,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=c?e.checked:!!a,e.defaultChecked=!!a,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),ed(e)}function bf(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Pi(e,t,n,a){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&a&&(e[n].defaultSelected=!0)}else{for(n=""+sn(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,a&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Dp(e,t,n){if(t!=null&&(t=""+sn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+sn(n):""}function Op(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(w(92));if(tc(a)){if(1<a.length)throw Error(w(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=sn(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),ed(e)}function os(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vC=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 Hb(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||vC.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function jp(e,t,n){if(t!=null&&typeof t!="object")throw Error(w(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="",Ne=!0);for(var l in t)a=t[l],t.hasOwnProperty(l)&&n[l]!==a&&(Hb(e,l,a),Ne=!0)}else for(var i in t)t.hasOwnProperty(i)&&Hb(e,i,t[i])}function im(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var bC=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"],["maskType","mask-type"],["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"]]),pC=/^[\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 to(e){return pC.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function na(){}var nd=null;function sm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gi=null,Wi=null;function Ub(e){var t=Ss(e);if(t&&(e=t.stateNode)){var n=e[Pt]||null;e:switch(e=t.stateNode,t.type){case"input":if(td(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+xn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var l=a[Pt]||null;if(!l)throw Error(w(90));td(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Ap(a)}break e;case"textarea":Dp(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Pi(e,!!n.multiple,t,!1)}}}var pf=!1;function Lp(e,t,n){if(pf)return e(t,n);pf=!0;try{var a=e(t);return a}finally{if(pf=!1,(Gi!==null||Wi!==null)&&(uu(),Gi&&(t=Gi,e=Wi,Wi=Gi=null,Ub(t),e)))for(t=0;t<e.length;t++)Ub(e[t])}}function yc(e,t){var n=e.stateNode;if(n===null)return null;var a=n[Pt]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(w(231,t,typeof n));return n}var Ea=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ad=!1;if(Ea)try{Di={},Object.defineProperty(Di,"passive",{get:function(){ad=!0}}),window.addEventListener("test",Di,Di),window.removeEventListener("test",Di,Di)}catch{ad=!1}var Di,nl=null,cm=null,no=null;function Hp(){if(no)return no;var e,t=cm,n=t.length,a,l="value"in nl?nl.value:nl.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var s=n-e;for(a=1;a<=s&&t[n-a]===l[i-a];a++);return no=l.slice(e,1<a?1-a:void 0)}function ao(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ur(){return!0}function Bb(){return!1}function Vt(e){function t(n,a,l,i,s){this._reactName=n,this._targetInst=l,this.type=a,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(n=e[c],this[c]=n?n(i):i[c]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ur:Bb,this.isPropagationStopped=Bb,this}return _e(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ur)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ur)},persist:function(){},isPersistent:Ur}),t}var xl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$o=Vt(xl),Bc=_e({},xl,{view:0,detail:0}),yC=Vt(Bc),yf,Nf,Is,Po=_e({},Bc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rm,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Is&&(Is&&e.type==="mousemove"?(yf=e.screenX-Is.screenX,Nf=e.screenY-Is.screenY):Nf=yf=0,Is=e),yf)},movementY:function(e){return"movementY"in e?e.movementY:Nf}}),Vb=Vt(Po),NC=_e({},Po,{dataTransfer:0}),SC=Vt(NC),xC=_e({},Bc,{relatedTarget:0}),Sf=Vt(xC),CC=_e({},xl,{animationName:0,elapsedTime:0,pseudoElement:0}),TC=Vt(CC),EC=_e({},xl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),MC=Vt(EC),kC=_e({},xl,{data:0}),qb=Vt(kC),RC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wC={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"},zC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function AC(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zC[e])?!!t[e]:!1}function rm(){return AC}var _C=_e({},Bc,{key:function(e){if(e.key){var t=RC[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ao(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wC[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rm,charCode:function(e){return e.type==="keypress"?ao(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ao(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),DC=Vt(_C),OC=_e({},Po,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gb=Vt(OC),jC=_e({},xl,{submitter:0}),LC=Vt(jC),HC=_e({},Bc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rm}),UC=Vt(HC),BC=_e({},xl,{propertyName:0,elapsedTime:0,pseudoElement:0}),VC=Vt(BC),qC=_e({},Po,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),GC=Vt(qC),YC=_e({},xl,{newState:0,oldState:0,source:0}),QC=Vt(YC),XC=[9,13,27,32],om=Ea&&"CompositionEvent"in window,ic=null;Ea&&"documentMode"in document&&(ic=document.documentMode);var KC=Ea&&"TextEvent"in window&&!ic,Up=Ea&&(!om||ic&&8<ic&&11>=ic),Yb=" ",Qb=!1;function Bp(e,t){switch(e){case"keyup":return XC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yi=!1;function ZC(e,t){switch(e){case"compositionend":return Vp(t);case"keypress":return t.which!==32?null:(Qb=!0,Yb);case"textInput":return e=t.data,e===Yb&&Qb?null:e;default:return null}}function FC(e,t){if(Yi)return e==="compositionend"||!om&&Bp(e,t)?(e=Hp(),no=cm=nl=null,Yi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Up&&t.locale!=="ko"?null:t.data;default:return null}}var IC={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 Xb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!IC[e.type]:t==="textarea"}function qp(e,t,n,a){Gi?Wi?Wi.push(a):Wi=[a]:Gi=a,t=Ko(t,"onChange"),0<t.length&&(n=new $o("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var sc=null,Nc=null;function JC(e){LN(e,0)}function Wo(e){var t=nc(e);if(Ap(t))return e}function Kb(e,t){if(e==="change")return t}var Gp=!1;Ea&&(Ea?(Vr="oninput"in document,Vr||(xf=document.createElement("div"),xf.setAttribute("oninput","return;"),Vr=typeof xf.oninput=="function"),Br=Vr):Br=!1,Gp=Br&&(!document.documentMode||9<document.documentMode));var Br,Vr,xf;function Zb(){sc&&(sc.detachEvent("onpropertychange",Yp),Nc=sc=null)}function Yp(e){if(e.propertyName==="value"&&Wo(Nc)){var t=[];qp(t,Nc,e,sm(e)),Lp(JC,t)}}function $C(e,t,n){e==="focusin"?(Zb(),sc=t,Nc=n,sc.attachEvent("onpropertychange",Yp)):e==="focusout"&&Zb()}function PC(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Wo(Nc)}function WC(e,t){if(e==="click")return Wo(t)}function e2(e,t){if(e==="input"||e==="change")return Wo(t)}function t2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var hn=typeof Object.is=="function"?Object.is:t2;function Sc(e,t){if(hn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var l=n[a];if(!Wf.call(t,l)||!hn(e[l],t[l]))return!1}return!0}function ld(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Fb(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ib(e,t){var n=Fb(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Fb(n)}}function Qp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ld(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ld(e.document)}return t}function um(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var n2=Ea&&"documentMode"in document&&11>=document.documentMode,Qi=null,id=null,cc=null,sd=!1;function Jb(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;sd||Qi==null||Qi!==ld(a)||(a=Qi,"selectionStart"in a&&um(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),cc&&Sc(cc,a)||(cc=a,a=Ko(id,"onSelect"),0<a.length&&(t=new $o("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Qi)))}function Vl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Xi={animationend:Vl("Animation","AnimationEnd"),animationiteration:Vl("Animation","AnimationIteration"),animationstart:Vl("Animation","AnimationStart"),transitionrun:Vl("Transition","TransitionRun"),transitionstart:Vl("Transition","TransitionStart"),transitioncancel:Vl("Transition","TransitionCancel"),transitionend:Vl("Transition","TransitionEnd")},Cf={},Kp={};Ea&&(Kp=document.createElement("div").style,"AnimationEvent"in window||(delete Xi.animationend.animation,delete Xi.animationiteration.animation,delete Xi.animationstart.animation),"TransitionEvent"in window||delete Xi.transitionend.transition);function ri(e){if(Cf[e])return Cf[e];if(!Xi[e])return e;var t=Xi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Kp)return Cf[e]=t[n];return e}var Zp=ri("animationend"),Fp=ri("animationiteration"),Ip=ri("animationstart"),a2=ri("transitionrun"),l2=ri("transitionstart"),i2=ri("transitioncancel"),Jp=ri("transitionend"),$p=new Map,cd="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");cd.push("scrollEnd");function Gn(e,t){$p.set(e,t),ci(t,[e])}var s2=0;function Ma(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=qn.identifierPrefix;var n=s2++;return e="_"+e+"t_"+n.toString(32)+"_",t.autoName=e}function $b(e){if(e==null||typeof e=="string")return e;var t=null,n=ss;if(n!==null)for(var a=0;a<n.length;a++){var l=e[n[a]];if(l!=null){if(l==="none")return"none";t=t==null?l:t+(" "+l)}}return t??e.default}function _a(e,t){return e=$b(e),t=$b(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var Eo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},yn=[],Ki=0,fm=0;function eu(){for(var e=Ki,t=fm=Ki=0;t<e;){var n=yn[t];yn[t++]=null;var a=yn[t];yn[t++]=null;var l=yn[t];yn[t++]=null;var i=yn[t];if(yn[t++]=null,a!==null&&l!==null){var s=a.pending;s===null?l.next=l:(l.next=s.next,s.next=l),a.pending=l}i!==0&&Pp(n,l,i)}}function tu(e,t,n,a){yn[Ki++]=e,yn[Ki++]=t,yn[Ki++]=n,yn[Ki++]=a,fm|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function dm(e,t,n,a){return tu(e,t,n,a),Mo(e)}function oi(e,t){return tu(e,null,null,t),Mo(e)}function Pp(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var l=!1,i=e.return;i!==null;)i.childLanes|=n,a=i.alternate,a!==null&&(a.childLanes|=n),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(l=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,l&&t!==null&&(l=31-dn(n),e=i.hiddenUpdates,a=e[l],a===null?e[l]=[t]:a.push(t),t.lane=n|536870912),i):null}function Mo(e){if(50<bc)throw bc=0,ho=null,Error(w(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Zi={};function c2(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function It(e,t,n,a){return new c2(e,t,n,a)}function mm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ca(e,t){var n=e.alternate;return n===null?(n=It(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Wp(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function lo(e,t,n,a,l,i){var s=0;if(a=e,typeof a=="function")mm(a)&&(s=1);else if(typeof a=="string")s=D5(e,n,ia.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(a){case Ff:return e=It(31,n,t,l),e.elementType=Ff,e.lanes=i,e;case Vi:return Fl(n.children,l,i,t);case vp:s=8,l|=24;break;case Xf:return e=It(12,n,t,l|2),e.elementType=Xf,e.lanes=i,e;case Kf:return e=It(13,n,t,l),e.elementType=Kf,e.lanes=i,e;case Zf:return e=It(19,n,t,l),e.elementType=Zf,e.lanes=i,e;case Fx:case If:return e=l|32,e=It(30,n,t,e),e.elementType=If,e.lanes=i,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case ta:s=10;break e;case bp:s=9;break e;case em:s=11;break e;case tm:s=14;break e;case Pa:s=16,a=null;break e}s=29,n=Error(w(130,e===null?"null":typeof e,"")),a=null}return t=It(s,n,t,l),t.elementType=e,t.type=a,t.lanes=i,t}function Fl(e,t,n,a){return e=It(7,e,a,t),e.lanes=n,e}function Tf(e,t,n){return e=It(6,e,null,t),e.lanes=n,e}function ey(e){var t=It(18,null,null,0);return t.stateNode=e,t}function Ef(e,t,n){return t=It(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Pb=new WeakMap;function Cn(e,t){if(typeof e=="object"&&e!==null){var n=Pb.get(e);return n!==void 0?n:(t={value:e,source:t,stack:zb(t)},Pb.set(e,t),t)}return{value:e,source:t,stack:zb(t)}}var Fi=[],Ii=0,ko=null,xc=0,Nn=[],Sn=0,bl=null,aa=1,la="";function Sa(e,t){Fi[Ii++]=xc,Fi[Ii++]=ko,ko=e,xc=t}function ty(e,t,n){Nn[Sn++]=aa,Nn[Sn++]=la,Nn[Sn++]=bl,bl=e;var a=aa;e=la;var l=32-dn(a)-1;a&=~(1<<l),n+=1;var i=32-dn(t)+l;if(30<i){var s=l-l%5;i=(a&(1<<s)-1).toString(32),a>>=s,l-=s,aa=1<<32-dn(t)+l|n<<l|a,la=i+e}else aa=1<<i|n<<l|a,la=e}function nu(e){e.return!==null&&(Sa(e,1),ty(e,1,0))}function hm(e){for(;e===ko;)ko=Fi[--Ii],Fi[Ii]=null,xc=Fi[--Ii],Fi[Ii]=null;for(;e===bl;)bl=Nn[--Sn],Nn[Sn]=null,la=Nn[--Sn],Nn[Sn]=null,aa=Nn[--Sn],Nn[Sn]=null}function ny(e,t){Nn[Sn++]=aa,Nn[Sn++]=la,Nn[Sn++]=bl,aa=t.id,la=t.overflow,bl=e}var yt=null,Le=null,me=!1,rl=null,Tn=!1,rd=Error(w(519));function pl(e){var t=Error(w(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Cc(Cn(t,e)),rd}function Wb(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[Ct]=e,t[Pt]=a,n){case"dialog":ge("cancel",t),ge("close",t);break;case"iframe":case"object":case"embed":ge("load",t);break;case"video":case"audio":for(n=0;n<kc.length;n++)ge(kc[n],t);break;case"source":ge("error",t);break;case"img":case"image":case"link":ge("error",t),ge("load",t);break;case"details":ge("toggle",t);break;case"input":ge("invalid",t),_p(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ge("invalid",t);break;case"textarea":ge("invalid",t),Op(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||UN(t.textContent,n)?(a.popover!=null&&(ge("beforetoggle",t),ge("toggle",t)),a.onScroll!=null&&ge("scroll",t),a.onScrollEnd!=null&&ge("scrollend",t),a.onClick!=null&&(t.onclick=na),t=!0):t=!1,t||pl(e,!0)}function Ro(e){for(yt=e.return;yt;)switch(yt.tag){case 5:case 31:case 13:Tn=!1;return;case 27:case 3:Tn=!0;return;default:yt=yt.return}}function Oi(e){if(e!==yt)return!1;if(!me)return Ro(e),me=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Kd(e.type,e.memoizedProps)),n=!n),n&&Le&&pl(e),Ro(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(w(317));Le=I1(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(w(317));Le=I1(e)}else t===27?(t=Le,Cl(e.type)?(e=Jd,Jd=null,Le=e):Le=t):Le=yt?En(e.stateNode.nextSibling):null;return!0}function Pl(){Le=yt=null,me=!1}function Mf(){var e=rl;return e!==null&&(Zt===null?Zt=e:Zt.push.apply(Zt,e),rl=null),e}function Cc(e){rl===null?rl=[e]:rl.push(e)}var od=ra(null),ui=null,xa=null;function al(e,t,n){He(od,t._currentValue),t._currentValue=n}function Ta(e){e._currentValue=od.current,Et(od)}function io(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function ud(e,t,n,a){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var i=l.dependencies;if(i!==null){var s=l.child;i=i.firstContext;e:for(;i!==null;){var c=i;i=l;for(var r=0;r<t.length;r++)if(c.context===t[r]){i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),io(i.return,n,e),a||(s=null);break e}i=c.next}}else if(l.tag===18){if(s=l.return,s===null)throw Error(w(341));s.lanes|=n,i=s.alternate,i!==null&&(i.lanes|=n),io(s,n,e),s=null}else l.tag===13&&l.memoizedState!==null&&l.memoizedState.dehydrated===null?(l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),io(l.return,n,e),s=l.child,s=s!==null?s.sibling:null):s=l.child;if(s!==null)s.return=l;else for(s=l;s!==null;){if(s===e){s=null;break}if(l=s.sibling,l!==null){l.return=s.return,s=l;break}s=s.return}l=s}}function Wl(e,t,n,a){e=null;for(var l=t,i=!1;l!==null;){if(!i){if((l.flags&524288)!==0)i=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var s=l.alternate;if(s===null)throw Error(w(387));if(s=s.memoizedProps,s!==null){var c=l.type;hn(l.pendingProps.value,s.value)||(e!==null?e.push(c):e=[c])}}else if(l===No.current){if(s=l.alternate,s===null)throw Error(w(387));s.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(bs):e=[bs])}l=l.return}return e!==null&&ud(t,e,n,a),t.flags|=262144,e!==null}function wo(e){for(e=e.firstContext;e!==null;){if(!hn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ei(e){ui=e,xa=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Tt(e){return ay(ui,e)}function qr(e,t){return ui===null&&ei(e),ay(e,t)}function ay(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},xa===null){if(e===null)throw Error(w(308));xa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else xa=xa.next=t;return n}var r2=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},o2=ot.unstable_scheduleCallback,u2=ot.unstable_NormalPriority,nt={$$typeof:ta,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function gm(){return{controller:new r2,data:new Map,refCount:0}}function Vc(e){e.refCount--,e.refCount===0&&o2(u2,function(){e.controller.abort()})}function e1(e,t){if((e.pendingLanes&4194048)!==0){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var a=t[e];n.indexOf(a)===-1&&n.push(a)}}}var ac=null;function f2(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var rc=null,fd=0,ti=0,es=null;function d2(e,t){if(rc===null){var n=rc=[];fd=0,ti=Ym(),es={status:"pending",value:void 0,then:function(a){n.push(a)}}}return fd++,t.then(t1,t1),t}function t1(){if(--fd===0&&(ac=null,rc!==null)){es!==null&&(es.status="fulfilled");var e=rc;rc=null,ti=0,es=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function m2(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(l){n.push(l)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var l=0;l<n.length;l++)(0,n[l])(t)},function(l){for(a.status="rejected",a.reason=l,l=0;l<n.length;l++)(0,n[l])(void 0)}),a}var n1=te.S;te.S=function(e,t){if(SN=un(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&d2(e,t),ac!==null)for(var n=hs;n!==null;)e1(n,ac),n=n.next;if(n=e.types,n!==null){for(var a=hs;a!==null;)e1(a,n),a=a.next;if(ti!==0){a=ac,a===null&&(a=ac=[]);for(var l=0;l<n.length;l++){var i=n[l];a.indexOf(i)===-1&&a.push(i)}}}n1!==null&&n1(e,t)};var Il=ra(null);function vm(){var e=Il.current;return e!==null?e:Ae.pooledCache}function so(e,t){t===null?He(Il,Il.current):He(Il,t.pool)}function ly(){var e=vm();return e===null?null:{parent:nt._currentValue,pool:e}}var xs=Error(w(460)),bm=Error(w(474)),au=Error(w(542)),zo={then:function(){}};function a1(e){return e=e.status,e==="fulfilled"||e==="rejected"}function iy(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(na,na),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,i1(e),e===void 0&&!("reason"in t)?Error(w(600)):e;default:if(typeof t.status=="string")t.then(na,na);else{if(e=Ae,e!==null&&100<e.shellSuspendCounter)throw Error(w(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var l=t;l.status="fulfilled",l.value=a}},function(a){if(t.status==="pending"){var l=t;l.status="rejected",l.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,i1(e),e}throw Jl=t,xs}}function Yl(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Jl=n,xs):n}}var Jl=null;function l1(){if(Jl===null)throw Error(w(459));var e=Jl;return Jl=null,e}function i1(e){if(e===xs||e===au)throw Error(w(483))}var ts=null,Tc=0;function Gr(e){var t=Tc;return Tc+=1,ts===null&&(ts=[]),iy(ts,e,t)}function Ia(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Yr(e,t){throw t.$$typeof===Zx?Error(w(525)):(e=Object.prototype.toString.call(t),Error(w(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function sy(e){function t(g,v){if(e){var b=g.deletions;b===null?(g.deletions=[v],g.flags|=16):b.push(v)}}function n(g,v){if(!e)return null;for(;v!==null;)t(g,v),v=v.sibling;return null}function a(g){for(var v=new Map;g!==null;)g.key===null?v.set(g.index,g):v.set(g.key,g),g=g.sibling;return v}function l(g,v){return g=Ca(g,v),g.index=0,g.sibling=null,g}function i(g,v,b){return g.index=b,e?(b=g.alternate,b!==null?(b=b.index,b<v?(g.flags|=2,v):b):(g.flags|=134217730,v)):(g.flags|=1048576,v)}function s(g){return e&&g.alternate===null&&(g.flags|=134217730),g}function c(g,v,b,y){return v===null||v.tag!==6?(v=Tf(b,g.mode,y),v.return=g,v):(v=l(v,b),v.return=g,v)}function r(g,v,b,y){var z=b.type;return z===Vi?(g=o(g,v,b.props.children,y,b.key),Ia(g,b),g):v!==null&&(v.elementType===z||typeof z=="object"&&z!==null&&z.$$typeof===Pa&&Yl(z)===v.type)?(v=l(v,b.props),Ia(v,b),v.return=g,v):(v=lo(b.type,b.key,b.props,null,g.mode,y),Ia(v,b),v.return=g,v)}function u(g,v,b,y){return v===null||v.tag!==4||v.stateNode.containerInfo!==b.containerInfo||v.stateNode.implementation!==b.implementation?(v=Ef(b,g.mode,y),v.return=g,v):(v=l(v,b.children||[]),v.return=g,v)}function o(g,v,b,y,z){return v===null||v.tag!==7?(v=Fl(b,g.mode,y,z),v.return=g,v):(v=l(v,b),v.return=g,v)}function f(g,v,b){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return v=Tf(""+v,g.mode,b),v.return=g,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Dr:return b=lo(v.type,v.key,v.props,null,g.mode,b),Ia(b,v),b.return=g,b;case ec:return v=Ef(v,g.mode,b),v.return=g,v;case Pa:return v=Yl(v),f(g,v,b)}if(tc(v)||Fs(v))return v=Fl(v,g.mode,b,null),v.return=g,v;if(typeof v.then=="function")return f(g,Gr(v),b);if(v.$$typeof===ta)return f(g,qr(g,v),b);Yr(g,v)}return null}function d(g,v,b,y){var z=v!==null?v.key:null;if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return z!==null?null:c(g,v,""+b,y);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Dr:return b.key===z?r(g,v,b,y):null;case ec:return b.key===z?u(g,v,b,y):null;case Pa:return b=Yl(b),d(g,v,b,y)}if(tc(b)||Fs(b))return z!==null?null:o(g,v,b,y,null);if(typeof b.then=="function")return d(g,v,Gr(b),y);if(b.$$typeof===ta)return d(g,v,qr(g,b),y);Yr(g,b)}return null}function m(g,v,b,y,z){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return g=g.get(b)||null,c(v,g,""+y,z);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Dr:return g=g.get(y.key===null?b:y.key)||null,r(v,g,y,z);case ec:return g=g.get(y.key===null?b:y.key)||null,u(v,g,y,z);case Pa:return y=Yl(y),m(g,v,b,y,z)}if(tc(y)||Fs(y))return g=g.get(b)||null,o(v,g,y,z,null);if(typeof y.then=="function")return m(g,v,b,Gr(y),z);if(y.$$typeof===ta)return m(g,v,b,qr(v,y),z);Yr(v,y)}return null}function N(g,v,b,y){for(var z=null,q=null,U=v,O=v=0,P=null;U!==null&&O<b.length;O++){U.index>O?(P=U,U=null):P=U.sibling;var I=d(g,U,b[O],y);if(I===null){U===null&&(U=P);break}e&&U&&I.alternate===null&&t(g,U),v=i(I,v,O),q===null?z=I:q.sibling=I,q=I,U=P}if(O===b.length)return n(g,U),me&&Sa(g,O),z;if(U===null){for(;O<b.length;O++)U=f(g,b[O],y),U!==null&&(v=i(U,v,O),q===null?z=U:q.sibling=U,q=U);return me&&Sa(g,O),z}for(U=a(U);O<b.length;O++)P=m(U,g,O,b[O],y),P!==null&&(e&&(I=P.alternate,I!==null&&U.delete(I.key===null?O:I.key)),v=i(P,v,O),q===null?z=P:q.sibling=P,q=P);return e&&U.forEach(function(Fe){return t(g,Fe)}),me&&Sa(g,O),z}function S(g,v,b,y){if(b==null)throw Error(w(151));for(var z=null,q=null,U=v,O=v=0,P=null,I=b.next();U!==null&&!I.done;O++,I=b.next()){U.index>O?(P=U,U=null):P=U.sibling;var Fe=d(g,U,I.value,y);if(Fe===null){U===null&&(U=P);break}e&&U&&Fe.alternate===null&&t(g,U),v=i(Fe,v,O),q===null?z=Fe:q.sibling=Fe,q=Fe,U=P}if(I.done)return n(g,U),me&&Sa(g,O),z;if(U===null){for(;!I.done;O++,I=b.next())I=f(g,I.value,y),I!==null&&(v=i(I,v,O),q===null?z=I:q.sibling=I,q=I);return me&&Sa(g,O),z}for(U=a(U);!I.done;O++,I=b.next())I=m(U,g,O,I.value,y),I!==null&&(e&&(P=I.alternate,P!==null&&U.delete(P.key===null?O:P.key)),v=i(I,v,O),q===null?z=I:q.sibling=I,q=I);return e&&U.forEach(function(ua){return t(g,ua)}),me&&Sa(g,O),z}function k(g,v,b,y){if(typeof b=="object"&&b!==null&&b.type===Vi&&b.key===null&&b.props.ref===void 0&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Dr:e:{for(var z=b.key;v!==null;){if(v.key===z){if(z=b.type,z===Vi){if(v.tag===7){n(g,v.sibling),y=l(v,b.props.children),Ia(y,b),y.return=g,g=y;break e}}else if(v.elementType===z||typeof z=="object"&&z!==null&&z.$$typeof===Pa&&Yl(z)===v.type){n(g,v.sibling),y=l(v,b.props),Ia(y,b),y.return=g,g=y;break e}n(g,v);break}else t(g,v);v=v.sibling}b.type===Vi?(y=Fl(b.props.children,g.mode,y,b.key),Ia(y,b),y.return=g,g=y):(y=lo(b.type,b.key,b.props,null,g.mode,y),Ia(y,b),y.return=g,g=y)}return s(g);case ec:e:{for(z=b.key;v!==null;){if(v.key===z)if(v.tag===4&&v.stateNode.containerInfo===b.containerInfo&&v.stateNode.implementation===b.implementation){n(g,v.sibling),y=l(v,b.children||[]),y.return=g,g=y;break e}else{n(g,v);break}else t(g,v);v=v.sibling}y=Ef(b,g.mode,y),y.return=g,g=y}return s(g);case Pa:return b=Yl(b),k(g,v,b,y)}if(tc(b))return N(g,v,b,y);if(Fs(b)){if(z=Fs(b),typeof z!="function")throw Error(w(150));return b=z.call(b),S(g,v,b,y)}if(typeof b.then=="function")return k(g,v,Gr(b),y);if(b.$$typeof===ta)return k(g,v,qr(g,b),y);Yr(g,b)}return typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint"?(b=""+b,v!==null&&v.tag===6?(n(g,v.sibling),y=l(v,b),y.return=g,g=y):(n(g,v),y=Tf(b,g.mode,y),y.return=g,g=y),s(g)):n(g,v)}return function(g,v,b,y){try{Tc=0;var z=k(g,v,b,y);return ts=null,z}catch(U){if(U===xs||U===au)throw U;var q=It(29,U,null,g.mode);return q.lanes=y,q.return=g,q}}}var ni=sy(!0),cy=sy(!1),Wa=!1;function pm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ol(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ul(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(xe&2)!==0){var l=a.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),a.pending=t,t=Mo(e),Pp(e,null,n),t}return tu(e,a,t,n),Mo(e)}function oc(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Tp(e,n)}}function kf(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?l=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:a.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var md=!1;function uc(){if(md){var e=es;if(e!==null)throw e}}function fc(e,t,n,a){md=!1;var l=e.updateQueue;Wa=!1;var i=l.firstBaseUpdate,s=l.lastBaseUpdate,c=l.shared.pending;if(c!==null){l.shared.pending=null;var r=c,u=r.next;r.next=null,s===null?i=u:s.next=u,s=r;var o=e.alternate;o!==null&&(o=o.updateQueue,c=o.lastBaseUpdate,c!==s&&(c===null?o.firstBaseUpdate=u:c.next=u,o.lastBaseUpdate=r))}if(i!==null){var f=l.baseState;s=0,o=u=r=null,c=i;do{var d=c.lane&-536870913,m=d!==c.lane;if(m?(be&d)===d:(a&d)===d){d!==0&&d===ti&&(md=!0),o!==null&&(o=o.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});e:{var N=e,S=c;d=t;var k=n;switch(S.tag){case 1:if(N=S.payload,typeof N=="function"){f=N.call(k,f,d);break e}f=N;break e;case 3:N.flags=N.flags&-65537|128;case 0:if(N=S.payload,d=typeof N=="function"?N.call(k,f,d):N,d==null)break e;f=_e({},f,d);break e;case 2:Wa=!0}}d=c.callback,d!==null&&(e.flags|=64,m&&(e.flags|=8192),m=l.callbacks,m===null?l.callbacks=[d]:m.push(d))}else m={lane:d,tag:c.tag,payload:c.payload,callback:c.callback,next:null},o===null?(u=o=m,r=f):o=o.next=m,s|=d;if(c=c.next,c===null){if(c=l.shared.pending,c===null)break;m=c,c=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);o===null&&(r=f),l.baseState=r,l.firstBaseUpdate=u,l.lastBaseUpdate=o,i===null&&(l.shared.lanes=0),Sl|=s,e.lanes=s,e.memoizedState=f}}function ry(e,t){if(typeof e!="function")throw Error(w(191,e));e.call(t)}function oy(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)ry(n[e],t)}var yl=ra(null),Ao=ra(0);function s1(e,t){e=za,He(Ao,e),He(yl,t),za=e|t.baseLanes}function hd(){He(Ao,za),He(yl,yl.current)}function ym(){za=Ao.current,Et(yl),Et(Ao)}var Rt=ra(null),Dt=null;function fl(e){var t=e.alternate;He(Mt,Mt.current&1),He(Rt,e),Dt===null&&(t===null||yl.current!==null||t.memoizedState!==null)&&(Dt=e)}function gd(e){He(Mt,Mt.current),He(Rt,e),Dt===null&&(Dt=e)}function uy(e){e.tag===22?(He(Mt,Mt.current),He(Rt,e),Dt===null&&(Dt=e)):dl()}function dl(){He(Mt,Mt.current),He(Rt,Rt.current)}function cn(e){Et(Rt),Dt===e&&(Dt=null),Et(Mt)}var Mt=ra(0);function Ec(e,t){He(Rt,Rt.current),He(Mt,t)}function Nm(e){Et(Mt),Et(Rt),Dt===e&&(Dt=null)}function _o(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Id(n)||Zm(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ka=0,ue=null,we=null,tt=null,Do=!1,ns=!1,ai=!1,Oo=0,Mc=0,as=null,h2=0;function Ie(){throw Error(w(321))}function Sm(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!hn(e[n],t[n]))return!1;return!0}function xm(e,t,n,a,l,i){return ka=i,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,te.H=e===null||e.memoizedState===null?qy:Gy,ai=!1,i=n(a,l),ai=!1,ns&&(i=dy(t,n,a,l)),fy(e),i}function fy(e){te.H=jo;var t=we!==null&&we.next!==null;if(ka=0,tt=we=ue=null,Do=!1,Mc=0,as=null,t)throw Error(w(300));e===null||at||(e=e.dependencies,e!==null&&wo(e)&&(at=!0))}function dy(e,t,n,a){ue=e;var l=0;do{if(ns&&(as=null),Mc=0,ns=!1,25<=l)throw Error(w(301));if(l+=1,tt=we=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}te.H=x2,i=t(n,a)}while(ns);return i}function g2(){var e=te.H,t=e.useState()[0];return t=typeof t.then=="function"?qc(t):t,e=e.useState()[0],(we!==null?we.memoizedState:null)!==e&&(ue.flags|=1024),t}function Cm(){var e=Oo!==0;return Oo=0,e}function Tm(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Em(e){if(Do){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Do=!1}ka=0,tt=we=ue=null,ns=!1,Mc=Oo=0,as=null}function Bt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?ue.memoizedState=tt=e:tt=tt.next=e,tt}function We(){if(we===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=we.next;var t=tt===null?ue.memoizedState:tt.next;if(t!==null)tt=t,we=e;else{if(e===null)throw ue.alternate===null?Error(w(467)):Error(w(310));we=e,e={memoizedState:we.memoizedState,baseState:we.baseState,baseQueue:we.baseQueue,queue:we.queue,next:null},tt===null?ue.memoizedState=tt=e:tt=tt.next=e}return tt}function lu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function qc(e){var t=Mc;return Mc+=1,as===null&&(as=[]),e=iy(as,e,t),t=ue,(tt===null?t.memoizedState:tt.next)===null&&(t=t.alternate,te.H=t===null||t.memoizedState===null?qy:Gy),e}function iu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return qc(e);if(e.$$typeof===Jx)return;if(e.$$typeof===ta)return Tt(e)}throw Error(w(438,String(e)))}function Mm(e){var t=null,n=ue.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=ue.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=lu(),ue.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=Ix;return t.index++,n}function Ra(e,t){return typeof t=="function"?t(e):t}function co(e){var t=We();return km(t,we,e)}function km(e,t,n){var a=e.queue;if(a===null)throw Error(w(311));a.lastRenderedReducer=n;var l=e.baseQueue,i=a.pending;if(i!==null){if(l!==null){var s=l.next;l.next=i.next,i.next=s}t.baseQueue=l=i,a.pending=null}if(i=e.baseState,l===null)e.memoizedState=i;else{t=l.next;var c=s=null,r=null,u=t,o=!1;do{var f=u.lane&-536870913;if(f!==u.lane?(be&f)===f:(ka&f)===f){var d=u.revertLane;if(d===0)r!==null&&(r=r.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===ti&&(o=!0);else if((ka&d)===d){u=u.next,d===ti&&(o=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},r===null?(c=r=f,s=i):r=r.next=f,ue.lanes|=d,Sl|=d;f=u.action,ai&&n(i,f),i=u.hasEagerState?u.eagerState:n(i,f)}else d={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},r===null?(c=r=d,s=i):r=r.next=d,ue.lanes|=f,Sl|=f;u=u.next}while(u!==null&&u!==t);if(r===null?s=i:r.next=c,!hn(i,e.memoizedState)&&(at=!0,o&&(n=es,n!==null)))throw n;e.memoizedState=i,e.baseState=s,e.baseQueue=r,a.lastRenderedState=i}return l===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Rf(e){var t=We(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var a=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var s=l=l.next;do i=e(i,s.action),s=s.next;while(s!==l);hn(i,t.memoizedState)||(at=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function my(e,t,n){var a=ue,l=We(),i=me;if(i){if(n===void 0)throw Error(w(407));n=n()}else n=t();var s=!hn((we||l).memoizedState,n);if(s&&(l.memoizedState=n,at=!0),l=l.queue,Rm(vy.bind(null,a,l,e),[e]),e=l.getSnapshot!==t||s||tt!==null&&(tt.memoizedState.tag&1)!==0,us(e?9:8,{destroy:void 0},gy.bind(null,a,l,n,t),null),e){if(a.flags|=2048,Ae===null)throw Error(w(349));i||(ka&127)!==0||hy(a,t,n)}return n}function hy(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ue.updateQueue,t===null?(t=lu(),ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function gy(e,t,n,a){t.value=n,t.getSnapshot=a,by(t)&&py(e)}function vy(e,t,n){return n(function(){by(t)&&py(e)})}function by(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!hn(e,n)}catch{return!0}}function py(e){var t=oi(e,2);t!==null&&Jt(t,e,2)}function vd(e){var t=Bt();if(typeof e=="function"){var n=e;if(e=n(),ai){tl(!0);try{n()}finally{tl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ra,lastRenderedState:e},t}function yy(e,t,n,a){return e.baseState=n,km(e,we,typeof a=="function"?a:Ra)}function v2(e,t,n,a,l){if(cu(e))throw Error(w(485));if(e=t.action,e!==null){var i={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){i.listeners.push(s)}};te.T!==null?n(!0):i.isTransition=!1,a(i),n=t.pending,n===null?(i.next=t.pending=i,Ny(t,i)):(i.next=n.next,t.pending=n.next=i)}}function Ny(e,t){var n=t.action,a=t.payload,l=e.state;if(t.isTransition){var i=te.T,s={};s.types=i!==null?i.types:null,te.T=s;try{var c=n(l,a),r=te.S;r!==null&&r(s,c),c1(e,t,c)}catch(u){bd(e,t,u)}finally{i!==null&&s.types!==null&&(i.types=s.types),te.T=i}}else try{i=n(l,a),c1(e,t,i)}catch(u){bd(e,t,u)}}function c1(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){r1(e,t,a)},function(a){return bd(e,t,a)}):r1(e,t,n)}function r1(e,t,n){t.status="fulfilled",t.value=n,Sy(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Ny(e,n)))}function bd(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,Sy(t),t=t.next;while(t!==a)}e.action=null}function Sy(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function xy(e,t){return t}function o1(e,t){if(me){var n=Ae.formState;if(n!==null){e:{var a=ue;if(me){if(Le){t:{for(var l=Le,i=Tn;l.nodeType!==8;){if(!i){l=null;break t}if(l=En(l.nextSibling),l===null){l=null;break t}}i=l.data,l=i==="F!"||i==="F"?l:null}if(l){Le=En(l.nextSibling),a=l.data==="F!";break e}}pl(a)}a=!1}a&&(t=n[0])}}return n=Bt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xy,lastRenderedState:t},n.queue=a,n=Uy.bind(null,ue,a),a.dispatch=n,a=vd(!1),i=_m.bind(null,ue,!1,a.queue),a=Bt(),l={state:t,dispatch:null,action:e,pending:null},a.queue=l,n=v2.bind(null,ue,l,i,n),l.dispatch=n,a.memoizedState=e,[t,n,!1]}function u1(e){var t=We();return Cy(t,we,e)}function Cy(e,t,n){if(t=km(e,t,xy)[0],e=co(Ra)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=qc(t)}catch(s){throw s===xs?au:s}else a=t;t=We();var l=t.queue,i=l.dispatch;return n!==t.memoizedState&&(ue.flags|=2048,us(9,{destroy:void 0},b2.bind(null,l,n),null)),[a,i,e]}function b2(e,t){e.action=t}function f1(e){var t=We(),n=we;if(n!==null)return Cy(t,n,e);We(),t=t.memoizedState,n=We();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function us(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=ue.updateQueue,t===null&&(t=lu(),ue.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Ty(){return We().memoizedState}function ro(e,t,n,a){var l=Bt();ue.flags|=e,l.memoizedState=us(1|t,{destroy:void 0},n,a===void 0?null:a)}function su(e,t,n,a){var l=We();a=a===void 0?null:a;var i=l.memoizedState.inst;we!==null&&a!==null&&Sm(a,we.memoizedState.deps)?l.memoizedState=us(t,i,n,a):(ue.flags|=e,l.memoizedState=us(1|t,i,n,a))}function d1(e,t){ro(8390656,8,e,t)}function Rm(e,t){su(2048,8,e,t)}function p2(e){ue.flags|=4;var t=ue.updateQueue;if(t===null)t=lu(),ue.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Ey(e){var t=We().memoizedState;return p2({ref:t,nextImpl:e}),function(){if((xe&2)!==0)throw Error(w(440));return t.impl.apply(void 0,arguments)}}function My(e,t){return su(4,2,e,t)}function ky(e,t){return su(4,4,e,t)}function Ry(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function wy(e,t,n){n=n!=null?n.concat([e]):null,su(4,4,Ry.bind(null,t,e),n)}function wm(){}function zy(e,t){var n=We();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&Sm(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Ay(e,t){var n=We();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Sm(t,a[1]))return a[0];if(a=e(),ai){tl(!0);try{e()}finally{tl(!1)}}return n.memoizedState=[a,t],a}function zm(e,t,n){return n===void 0||(ka&1073741824)!==0&&(be&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=CN(),ue.lanes|=e,Sl|=e,n)}function _y(e,t,n,a){return hn(n,t)?n:yl.current!==null?(e=zm(e,n,a),hn(e,t)||(at=!0),e):(ka&106)===0||(ka&1073741824)!==0&&(be&261930)===0?(at=!0,e.memoizedState=n):(e=CN(),ue.lanes|=e,Sl|=e,t)}function Dy(e,t,n,a,l){var i=Ce.p;Ce.p=i!==0&&8>i?i:8;var s=te.T,c={};c.types=s!==null?s.types:null,te.T=c,_m(e,!1,t,n);try{var r=l(),u=te.S;if(u!==null&&u(c,r),r!==null&&typeof r=="object"&&typeof r.then=="function"){var o=m2(r,a);dc(e,t,o,mn(e))}else dc(e,t,a,mn(e))}catch(f){dc(e,t,{then:function(){},status:"rejected",reason:f},mn())}finally{Ce.p=i,s!==null&&c.types!==null&&(s.types=c.types),te.T=s}}function y2(){}function pd(e,t,n,a){if(e.tag!==5)throw Error(w(476));var l=Oy(e).queue;Dy(e,l,t,Zl,n===null?y2:function(){return jy(e),n(a)})}function Oy(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Zl,baseState:Zl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ra,lastRenderedState:Zl},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ra,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function jy(e){var t=Oy(e);t.next===null&&(t=e.alternate.memoizedState),dc(e,t.next.queue,{},mn())}function Am(){return Tt(bs)}function Ly(){return We().memoizedState}function Hy(){return We().memoizedState}function N2(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=mn();e=ol(n);var a=ul(t,e,n);a!==null&&(Jt(a,t,n),oc(a,t,n)),t={cache:gm()},e.payload=t;return}t=t.return}}function S2(e,t,n){var a=mn();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},cu(e)?By(t,n):(n=dm(e,t,n,a),n!==null&&(Jt(n,e,a),Vy(n,t,a)))}function Uy(e,t,n){var a=mn();dc(e,t,n,a)}function dc(e,t,n,a){var l={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(cu(e))By(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,c=i(s,n);if(l.hasEagerState=!0,l.eagerState=c,hn(c,s))return tu(e,t,l,0),Ae===null&&eu(),!1}catch{}if(n=dm(e,t,l,a),n!==null)return Jt(n,e,a),Vy(n,t,a),!0}return!1}function _m(e,t,n,a){if(a={lane:2,revertLane:Ym(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},cu(e)){if(t)throw Error(w(479))}else t=dm(e,n,a,2),t!==null&&Jt(t,e,2)}function cu(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function By(e,t){ns=Do=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vy(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Tp(e,n)}}var jo={readContext:Tt,use:iu,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useLayoutEffect:Ie,useInsertionEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useSyncExternalStore:Ie,useId:Ie,useHostTransitionStatus:Ie,useFormState:Ie,useActionState:Ie,useOptimistic:Ie,useMemoCache:Ie,useCacheRefresh:Ie,useEffectEvent:Ie},qy={readContext:Tt,use:iu,useCallback:function(e,t){return Bt().memoizedState=[e,t===void 0?null:t],e},useContext:Tt,useEffect:d1,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,ro(4194308,4,Ry.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ro(4194308,4,e,t)},useInsertionEffect:function(e,t){ro(4,2,e,t)},useMemo:function(e,t){var n=Bt();t=t===void 0?null:t;var a=e();if(ai){tl(!0);try{e()}finally{tl(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=Bt();if(n!==void 0){var l=n(t);if(ai){tl(!0);try{n(t)}finally{tl(!1)}}}else l=t;return a.memoizedState=a.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},a.queue=e,e=e.dispatch=S2.bind(null,ue,e),[a.memoizedState,e]},useRef:function(e){var t=Bt();return e={current:e},t.memoizedState=e},useState:function(e){e=vd(e);var t=e.queue,n=Uy.bind(null,ue,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:wm,useDeferredValue:function(e,t){var n=Bt();return zm(n,e,t)},useTransition:function(){var e=vd(!1);return e=Dy.bind(null,ue,e.queue,!0,!1),Bt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=ue,l=Bt();if(me){if(n===void 0)throw Error(w(407));n=n()}else{if(n=t(),Ae===null)throw Error(w(349));(be&127)!==0||hy(a,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,d1(vy.bind(null,a,i,e),[e]),a.flags|=2048,us(9,{destroy:void 0},gy.bind(null,a,i,n,t),null),n},useId:function(){var e=Bt(),t=Ae.identifierPrefix;if(me){var n=la,a=aa;n=(a&~(1<<32-dn(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Oo++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=h2++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Am,useFormState:o1,useActionState:o1,useOptimistic:function(e){var t=Bt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=_m.bind(null,ue,!0,n),n.dispatch=t,[e,t]},useMemoCache:Mm,useCacheRefresh:function(){return Bt().memoizedState=N2.bind(null,ue)},useEffectEvent:function(e){var t=Bt(),n={impl:e};return t.memoizedState=n,function(){if((xe&2)!==0)throw Error(w(440));return n.impl.apply(void 0,arguments)}}},Gy={readContext:Tt,use:iu,useCallback:zy,useContext:Tt,useEffect:Rm,useImperativeHandle:wy,useInsertionEffect:My,useLayoutEffect:ky,useMemo:Ay,useReducer:co,useRef:Ty,useState:function(){return co(Ra)},useDebugValue:wm,useDeferredValue:function(e,t){var n=We();return _y(n,we.memoizedState,e,t)},useTransition:function(){var e=co(Ra)[0],t=We().memoizedState;return[typeof e=="boolean"?e:qc(e),t]},useSyncExternalStore:my,useId:Ly,useHostTransitionStatus:Am,useFormState:u1,useActionState:u1,useOptimistic:function(e,t){var n=We();return yy(n,we,e,t)},useMemoCache:Mm,useCacheRefresh:Hy,useEffectEvent:Ey},x2={readContext:Tt,use:iu,useCallback:zy,useContext:Tt,useEffect:Rm,useImperativeHandle:wy,useInsertionEffect:My,useLayoutEffect:ky,useMemo:Ay,useReducer:Rf,useRef:Ty,useState:function(){return Rf(Ra)},useDebugValue:wm,useDeferredValue:function(e,t){var n=We();return we===null?zm(n,e,t):_y(n,we.memoizedState,e,t)},useTransition:function(){var e=Rf(Ra)[0],t=We().memoizedState;return[typeof e=="boolean"?e:qc(e),t]},useSyncExternalStore:my,useId:Ly,useHostTransitionStatus:Am,useFormState:f1,useActionState:f1,useOptimistic:function(e,t){var n=We();return we!==null?yy(n,we,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Mm,useCacheRefresh:Hy,useEffectEvent:Ey};function wf(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:_e({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var yd={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=mn(),l=ol(a);l.payload=t,n!=null&&(l.callback=n),t=ul(e,l,a),t!==null&&(Jt(t,e,a),oc(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=mn(),l=ol(a);l.tag=1,l.payload=t,n!=null&&(l.callback=n),t=ul(e,l,a),t!==null&&(Jt(t,e,a),oc(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=mn(),a=ol(n);a.tag=2,t!=null&&(a.callback=t),t=ul(e,a,n),t!==null&&(Jt(t,e,n),oc(t,e,n))}};function m1(e,t,n,a,l,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,i,s):t.prototype&&t.prototype.isPureReactComponent?!Sc(n,a)||!Sc(l,i):!0}function h1(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&yd.enqueueReplaceState(t,t.state,null)}function li(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=_e({},n));for(var l in e)n[l]===void 0&&(n[l]=e[l])}return n}function Yy(e){Eo(e)}function Qy(e){console.error(e)}function Xy(e){Eo(e)}function Lo(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function g1(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function Nd(e,t,n){return n=ol(n),n.tag=3,n.payload={element:null},n.callback=function(){Lo(e,t)},n}function Ky(e){return e=ol(e),e.tag=3,e}function Zy(e,t,n,a){var l=n.type.getDerivedStateFromError;if(typeof l=="function"){var i=a.value;e.payload=function(){return l(i)},e.callback=function(){g1(t,n,a)}}var s=n.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){g1(t,n,a),typeof l!="function"&&(ml===null?ml=new Set([this]):ml.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function C2(e,t,n,a,l){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Wl(t,n,l,!0),n=Rt.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Dt===null?Qo():n.alternate===null&&Je===0&&(Je=3),n.flags&=-257,n.flags|=65536,n.lanes=l,a===zo?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),Lf(e,a,l)),!1;case 22:return n.flags|=65536,a===zo?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),Lf(e,a,l)),!1}throw Error(w(435,n.tag))}return Lf(e,a,l),Qo(),!1}if(me)return t=Rt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,a!==rd&&(e=Error(w(422),{cause:a}),Cc(Cn(e,n)))):(a!==rd&&(t=Error(w(423),{cause:a}),Cc(Cn(t,n))),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,a=Cn(a,n),l=Nd(e.stateNode,a,l),kf(e,l),Je!==4&&(Je=2)),!1;var i=Error(w(520),{cause:a});if(i=Cn(i,n),vc===null?vc=[i]:vc.push(i),Je!==4&&(Je=2),t===null)return!0;a=Cn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=l&-l,n.lanes|=e,e=Nd(n.stateNode,a,e),kf(n,e),!1;case 1:if(t=n.type,i=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(ml===null||!ml.has(i))))return n.flags|=65536,l&=-l,n.lanes|=l,l=Ky(l),Zy(l,e,n,a),kf(n,l),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var Dm=Error(w(461)),at=!1;function ct(e,t,n,a){t.child=e===null?cy(t,null,n,a):ni(t,e.child,n,a)}function v1(e,t,n,a,l){n=n.render;var i=t.ref;if("ref"in a){var s={};for(var c in a)c!=="ref"&&(s[c]=a[c])}else s=a;return ei(t),a=xm(e,t,n,s,i,l),c=Cm(),e!==null&&!at?(Tm(e,t,l),wa(e,t,l)):(me&&c&&nu(t),t.flags|=1,ct(e,t,a,l),t.child)}function b1(e,t,n,a,l){if(e===null){var i=n.type;return typeof i=="function"&&!mm(i)&&i.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=i,Fy(e,t,i,a,l)):(e=lo(n.type,null,a,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!jm(e,l)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Sc,n(s,a)&&e.ref===t.ref)return wa(e,t,l)}return t.flags|=1,e=Ca(i,a),e.ref=t.ref,e.return=t,t.child=e}function Fy(e,t,n,a,l){if(e!==null){var i=e.memoizedProps;if(Sc(i,a)&&e.ref===t.ref)if(at=!1,t.pendingProps=a=i,jm(e,l))(e.flags&131072)!==0&&(at=!0);else return t.lanes=e.lanes,wa(e,t,l)}return Sd(e,t,n,a,l)}function Iy(e,t,n,a){var l=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|n:n,e!==null){for(a=t.child=e.child,l=0;a!==null;)l=l|a.lanes|a.childLanes,a=a.sibling;a=l&~i}else a=0,t.child=null;return p1(e,t,i,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&so(t,i!==null?i.cachePool:null),i!==null?s1(t,i):hd(),uy(t);else return a=t.lanes=536870912,p1(e,t,i!==null?i.baseLanes|n:n,n,a)}else i!==null?(so(t,i.cachePool),s1(t,i),dl(),t.memoizedState=null):(e!==null&&so(t,null),hd(),dl());return ct(e,t,l,n),t.child}function mc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function p1(e,t,n,a,l){var i=vm();return i=i===null?null:{parent:nt._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&so(t,null),hd(),uy(t),e!==null&&Wl(e,t,a,!0),t.childLanes=l,null}function oo(e,t){return t=ru({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function y1(e,t,n){return ni(t,e.child,null,n),e=oo(t,t.pendingProps),e.flags|=2,cn(t),t.memoizedState=null,e}function T2(e,t,n){var a=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(me){if(a.mode==="hidden")return e=oo(t,a),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},mc(null,e);if(gd(t),(e=Le)?(e=IN(e,Tn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:bl!==null?{id:aa,overflow:la}:null,retryLane:536870912,hydrationErrors:null},n=ey(e),n.return=t,t.child=n,yt=t,Le=null)):e=null,e===null)throw pl(t);return t.lanes=536870912,null}return oo(t,a)}var i=e.memoizedState;if(i!==null){var s=i.dehydrated;if(gd(t),l)if(t.flags&256)t.flags&=-257,t=y1(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(w(558));else if(at||Wl(e,t,n,!1),l=(n&e.childLanes)!==0,at||l){if(yl.current===null){if(a=Ae,a!==null&&(s=Ep(a,n),s!==0&&s!==i.retryLane))throw i.retryLane=s,oi(e,s),Jt(a,e,s),Dm;Qo()}t=y1(e,t,n)}else e=i.treeContext,Le=En(s.nextSibling),yt=t,me=!0,rl=null,Tn=!1,e!==null&&ny(t,e),t=oo(t,a),t.flags|=134221824;return t}return e=Ca(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Li(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(w(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Sd(e,t,n,a,l){return ei(t),n=xm(e,t,n,a,void 0,l),a=Cm(),e!==null&&!at?(Tm(e,t,l),wa(e,t,l)):(me&&a&&nu(t),t.flags|=1,ct(e,t,n,l),t.child)}function N1(e,t,n,a,l,i){return ei(t),t.updateQueue=null,n=dy(t,a,n,l),fy(e),a=Cm(),e!==null&&!at?(Tm(e,t,i),wa(e,t,i)):(me&&a&&nu(t),t.flags|=1,ct(e,t,n,i),t.child)}function S1(e,t,n,a,l){if(ei(t),t.stateNode===null){var i=Zi,s=n.contextType;typeof s=="object"&&s!==null&&(i=Tt(s)),i=new n(a,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=yd,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},pm(t),s=n.contextType,i.context=typeof s=="object"&&s!==null?Tt(s):Zi,i.state=t.memoizedState,s=n.getDerivedStateFromProps,typeof s=="function"&&(wf(t,n,s,a),i.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(s=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),s!==i.state&&yd.enqueueReplaceState(i,i.state,null),fc(t,a,i,l),uc(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){i=t.stateNode;var c=t.memoizedProps,r=li(n,c);i.props=r;var u=i.context,o=n.contextType;s=Zi,typeof o=="object"&&o!==null&&(s=Tt(o));var f=n.getDerivedStateFromProps;o=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,o||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c||u!==s)&&h1(t,i,a,s),Wa=!1;var d=t.memoizedState;i.state=d,fc(t,a,i,l),uc(),u=t.memoizedState,c||d!==u||Wa?(typeof f=="function"&&(wf(t,n,f,a),u=t.memoizedState),(r=Wa||m1(t,n,r,a,d,u,s))?(o||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=u),i.props=a,i.state=u,i.context=s,a=r):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,dd(e,t),s=t.memoizedProps,o=li(n,s),i.props=o,f=t.pendingProps,d=i.context,u=n.contextType,r=Zi,typeof u=="object"&&u!==null&&(r=Tt(u)),c=n.getDerivedStateFromProps,(u=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==f||d!==r)&&h1(t,i,a,r),Wa=!1,d=t.memoizedState,i.state=d,fc(t,a,i,l),uc();var m=t.memoizedState;s!==f||d!==m||Wa||e!==null&&e.dependencies!==null&&wo(e.dependencies)?(typeof c=="function"&&(wf(t,n,c,a),m=t.memoizedState),(o=Wa||m1(t,n,o,a,d,m,r)||e!==null&&e.dependencies!==null&&wo(e.dependencies))?(u||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,m,r),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,m,r)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=m),i.props=a,i.state=m,i.context=r,a=o):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),a=!1)}return i=a,Li(e,t),a=(t.flags&128)!==0,i||a?(i=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&a?(t.child=ni(t,e.child,null,l),t.child=ni(t,null,n,l)):ct(e,t,n,l),t.memoizedState=i.state,e=t.child):e=wa(e,t,l),e}function x1(e,t,n,a){return Pl(),t.flags|=256,ct(e,t,n,a),t.child}var xd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Cd(e){return{baseLanes:e,cachePool:ly()}}function Td(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=on),e}function Jy(e,t,n){var a=t.pendingProps,l=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(Mt.current&2)!==0),s&&(l=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(me){if(l?fl(t):dl(),(e=Le)?(e=IN(e,Tn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:bl!==null?{id:aa,overflow:la}:null,retryLane:536870912,hydrationErrors:null},n=ey(e),n.return=t,t.child=n,yt=t,Le=null)):e=null,e===null)throw pl(t);return Zm(e)?t.lanes=32:t.lanes=536870912,null}return i=a.children,a=a.fallback,l?(dl(),l=t.mode,i=ru({mode:"hidden",children:i},l),a=Fl(a,l,n,null),i.return=t,a.return=t,i.sibling=a,t.child=i,a=t.child,a.memoizedState=Cd(n),a.childLanes=Td(e,s,n),t.memoizedState=xd,mc(null,a)):(fl(t),Om(t,i))}var c=e.memoizedState;if(c!==null){var r=c.dehydrated;if(r!==null)return E2(e,t,i,s,a,r,c,n)}return l?(dl(),l=a.fallback,i=t.mode,c=e.child,r=c.sibling,a=Ca(c,{mode:"hidden",children:a.children}),a.subtreeFlags=c.subtreeFlags&1206910976,r!==null?l=Ca(r,l):(l=Fl(l,i,n,null),l.flags|=2),l.return=t,a.return=t,a.sibling=l,t.child=a,mc(null,a),a=t.child,l=e.child.memoizedState,l===null?l=Cd(n):(i=l.cachePool,i!==null?(c=nt._currentValue,i=i.parent!==c?{parent:c,pool:c}:i):i=ly(),l={baseLanes:l.baseLanes|n,cachePool:i}),a.memoizedState=l,a.childLanes=Td(e,s,n),t.memoizedState=xd,mc(e.child,a)):(fl(t),n=e.child,e=n.sibling,n=Ca(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Om(e,t){return t=ru({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ru(e,t){return e=It(22,e,null,t),e.lanes=0,e}function Qr(e,t,n){return ni(t,e.child,null,n),e=Om(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function E2(e,t,n,a,l,i,s,c){if(n)return t.flags&256?(fl(t),t.flags&=-257,Qr(e,t,c)):t.memoizedState!==null?(dl(),t.child=e.child,t.flags|=128,null):(dl(),i=l.fallback,s=t.mode,l=ru({mode:"visible",children:l.children},s),i=Fl(i,s,c,null),i.flags|=2,l.return=t,i.return=t,l.sibling=i,t.child=l,ni(t,e.child,null,c),l=t.child,l.memoizedState=Cd(c),l.childLanes=Td(e,a,c),t.memoizedState=xd,mc(null,l));if(fl(t),Zm(i)){if(a=i.nextSibling&&i.nextSibling.dataset,a)var r=a.dgst;return a=r,a!==""&&(l=Error(w(419)),l.stack="",l.digest=a,Cc({value:l,source:null,stack:null})),Qr(e,t,c)}if(at||Wl(e,t,c,!1),a=(c&e.childLanes)!==0,at||a){if(yl.current!==null)return Qr(e,t,c);if(a=Ae,a!==null&&(l=Ep(a,c),l!==0&&l!==s.retryLane))throw s.retryLane=l,oi(e,l),Jt(a,e,l),Dm;return Id(i)||Qo(),Qr(e,t,c)}return Id(i)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,Le=En(i.nextSibling),yt=t,me=!0,rl=null,Tn=!1,e!==null&&ny(t,e),t=Om(t,l.children),t.flags|=134221824,t)}function C1(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),io(e.return,t,n)}function T1(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&_o(n)===null&&(t=e),e=e.sibling}return t}function Xr(e,t,n,a,l,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:l,treeForkCount:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=n,s.tailMode=l,s.treeForkCount=i)}function zf(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function Ed(e,t,n){var a=t.pendingProps,l=a.revealOrder,i=a.tail;a=a.children;var s=Mt.current;if(t.flags&128)return Ec(t,s),null;var c=(s&2)!==0;if(c?(s=s&1|2,t.flags|=128):s&=1,Ec(t,s),l==="backwards"&&e!==null?(zf(e),ct(e,t,a,n),zf(e)):ct(e,t,a,n),a=me?xc:0,!c&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&C1(e,n,t);else if(e.tag===19)C1(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(l){case"backwards":n=T1(t.child),n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null,zf(t)),Xr(t,!0,l,null,i,a);break;case"unstable_legacy-backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&_o(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Xr(t,!0,n,null,i,a);break;case"together":Xr(t,!1,null,null,void 0,a);break;case"independent":t.memoizedState=null;break;default:n=T1(t.child),n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Xr(t,!1,l,n,i,a)}return t.child}function E1(e,t,n){var a=t.pendingProps;return al(t,t.type,a.value),ct(e,t,a.children,n),t.child}function wa(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Sl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Wl(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(w(153));if(t.child!==null){for(e=t.child,n=Ca(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ca(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function jm(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&wo(e)))}function M2(e,t,n){switch(t.tag){case 3:So(t,t.stateNode.containerInfo),al(t,nt,e.memoizedState.cache),Pl();break;case 27:case 5:Pf(t);break;case 4:So(t,t.stateNode.containerInfo);break;case 10:al(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,gd(t),null;break;case 13:var a=t.memoizedState;if(a!==null){if(a.dehydrated!==null)return fl(t),t.flags|=128,null;a=Wl(e,t,n,!1);var l=t.child.childLanes;return a||(n&l)!==0?Jy(e,t,n):(fl(t),e=wa(e,t,n),e!==null?e.sibling:null)}fl(t);break;case 19:if(t.flags&128)return Ed(e,t,n);if(l=(e.flags&128)!==0,a=(n&t.childLanes)!==0,a||(Wl(e,t,n,!1),a=(n&t.childLanes)!==0),l){if(a)return Ed(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Ec(t,Mt.current),a)break;return null;case 22:return t.lanes=0,Iy(e,t,n,t.pendingProps);case 24:al(t,nt,e.memoizedState.cache)}return wa(e,t,n)}function $y(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)at=!0;else{if(!jm(e,n)&&(t.flags&128)===0)return at=!1,M2(e,t,n);at=(e.flags&131072)!==0}else at=!1,me&&(t.flags&1048576)!==0&&ty(t,xc,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Yl(t.elementType),t.type=e,typeof e=="function")mm(e)?(a=li(e,a),t.tag=1,t=S1(null,t,e,a,n)):(t.tag=0,t=Sd(null,t,e,a,n));else{if(e!=null){var l=e.$$typeof;if(l===em){t.tag=11,t=v1(null,t,e,a,n);break e}else if(l===tm){t.tag=14,t=b1(null,t,e,a,n);break e}else if(l===ta){t.tag=10,t.type=e,t=E1(null,t,n);break e}}throw t=Jf(e)||e,Error(w(306,t,""))}}return t;case 0:return Sd(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,l=li(a,t.pendingProps),S1(e,t,a,l,n);case 3:e:{if(So(t,t.stateNode.containerInfo),e===null)throw Error(w(387));a=t.pendingProps;var i=t.memoizedState;l=i.element,dd(e,t),fc(t,a,null,n);var s=t.memoizedState;if(a=s.cache,al(t,nt,a),a!==i.cache&&ud(t,[nt],n,!0),uc(),a=s.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=x1(e,t,a,n);break e}else if(a!==l){l=Cn(Error(w(424)),t),Cc(l),t=x1(e,t,a,n);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Le=En(e.firstChild),yt=t,me=!0,rl=null,Tn=!0,n=cy(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling;else{if(Pl(),a===l){t=wa(e,t,n);break e}ct(e,t,a,n)}t=t.child}return t;case 26:return Li(e,t),e===null?(n=P1(t.type,null,t.pendingProps,null))?t.memoizedState=n:me||(t.stateNode=VN(t.type,t.pendingProps,cl.current,t)):t.memoizedState=P1(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Pf(t),e===null&&me&&(a=t.stateNode=JN(t.type,t.pendingProps,cl.current),yt=t,Tn=!0,l=Le,Cl(t.type)?(Jd=l,Le=En(a.firstChild)):Le=l),ct(e,t,t.pendingProps.children,n),Li(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&me&&((l=a=Le)&&(a=p5(a,t.type,t.pendingProps,Tn),a!==null?(t.stateNode=a,yt=t,Le=En(a.firstChild),Tn=!1,l=!0):l=!1),l||pl(t)),Pf(t),l=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,a=i.children,Kd(l,i)?a=null:s!==null&&Kd(l,s)&&(t.flags|=32),t.memoizedState!==null&&(l=xm(e,t,g2,null,null,n),bs._currentValue=l),Li(e,t),ct(e,t,a,n),t.child;case 6:return e===null&&me&&((e=n=Le)&&(n=y5(n,t.pendingProps,Tn),n!==null?(t.stateNode=n,yt=t,Le=null,e=!0):e=!1),e||pl(t)),null;case 13:return Jy(e,t,n);case 4:return So(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=ni(t,null,a,n):ct(e,t,a,n),t.child;case 11:return v1(e,t,t.type,t.pendingProps,n);case 7:return a=t.pendingProps,Li(e,t),ct(e,t,a,n),t.child;case 8:return ct(e,t,t.pendingProps.children,n),t.child;case 12:return ct(e,t,t.pendingProps.children,n),t.child;case 10:return E1(e,t,n);case 9:return l=t.type._context,a=t.pendingProps.children,ei(t),l=Tt(l),a=a(l),t.flags|=1,ct(e,t,a,n),t.child;case 14:return b1(e,t,t.type,t.pendingProps,n);case 15:return Fy(e,t,t.type,t.pendingProps,n);case 19:return Ed(e,t,n);case 31:return T2(e,t,n);case 22:return Iy(e,t,n,t.pendingProps);case 24:return ei(t),a=Tt(nt),e===null?(l=vm(),l===null&&(l=Ae,i=gm(),l.pooledCache=i,i.refCount++,i!==null&&(l.pooledCacheLanes|=n),l=i),t.memoizedState={parent:a,cache:l},pm(t),al(t,nt,l)):((e.lanes&n)!==0&&(dd(e,t),fc(t,null,null,n),uc()),l=e.memoizedState,i=t.memoizedState,l.parent!==a?(l={parent:a,cache:a},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),al(t,nt,a)):(a=i.cache,al(t,nt,a),a!==l.cache&&ud(t,[nt],n,!0))),ct(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),a=t.pendingProps,a.name!=null&&a.name!=="auto"?t.flags|=e===null?18882560:18874368:me&&nu(t),e!==null&&e.memoizedProps.name!==a.name?t.flags|=4194816:Li(e,t),ct(e,t,a.children,n),t.child;case 29:throw t.pendingProps}throw Error(w(156,t.tag))}function Na(e){e.flags|=4}function Af(e,t,n,a,l){var i;if((i=(e.mode&32)!==0)&&(i=n===null?tp(t,a):tp(t,a)&&(a.src!==n.src||a.srcSet!==n.srcSet)),i){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(MN())e.flags|=8192;else throw Jl=zo,bm}else e.flags&=-16777217}function M1(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!eS(t))if(MN())e.flags|=8192;else throw Jl=zo,bm}function Kr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?xp():536870912,e.lanes|=t,fs|=t)}function Js(e,t){if(!me)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function je(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags&1206910976,a|=l.flags&1206910976,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags,a|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function k2(e,t,n){var a=t.pendingProps;switch(hm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return je(t),null;case 1:return je(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ta(nt),cs(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Oi(t)?Na(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Mf())),je(t),null;case 26:var l=t.type,i=t.memoizedState;return e===null?(Na(t),i!==null?(je(t),M1(t,i)):(je(t),Af(t,l,null,a,n))):i?i!==e.memoizedState?(Na(t),je(t),M1(t,i)):(je(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&Na(t),je(t),Af(t,l,e,a,n)),null;case 27:if(xo(t),n=cl.current,l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Na(t);else{if(!a){if(t.stateNode===null)throw Error(w(166));return je(t),t.subtreeFlags&=-33554433,null}e=ia.current,Oi(t)?Wb(t,e):(e=JN(l,a,n),t.stateNode=e,Na(t))}return je(t),t.subtreeFlags&=-33554433,null;case 5:if(xo(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Na(t);else{if(!a){if(t.stateNode===null)throw Error(w(166));return je(t),t.subtreeFlags&=-33554433,null}if(i=ia.current,Oi(t))Wb(t,i);else{var s=wc(cl.current);switch(i){case 1:i=s.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:i=s.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":i=s.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":i=s.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":i=s.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?s.createElement("select",{is:a.is}):s.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?s.createElement(l,{is:a.is}):s.createElement(l)}}i[Ct]=t,i[Pt]=a;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)i.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=i;e:switch(kt(i,l,a),l){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Na(t)}}return je(t),t.subtreeFlags&=-33554433,Af(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Na(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(w(166));if(e=cl.current,Oi(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,l=yt,l!==null)switch(l.tag){case 27:case 5:a=l.memoizedProps}e[Ct]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||UN(e.nodeValue,n)),e||pl(t,!0)}else e=wc(e).createTextNode(a),e[Ct]=t,t.stateNode=e}return je(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Oi(t),n!==null){if(e===null){if(!a)throw Error(w(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(w(557));e[Ct]=t}else Pl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;je(t),e=!1}else n=Mf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(cn(t),t):(cn(t),null);if((t.flags&128)!==0)throw Error(w(558))}return je(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=Oi(t),a!==null&&a.dehydrated!==null){if(e===null){if(!l)throw Error(w(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(w(317));l[Ct]=t}else Pl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;je(t),l=!1}else l=Mf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(cn(t),t):(cn(t),null)}return cn(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,l=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(l=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==l&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Kr(t,t.updateQueue),je(t),null);case 4:return cs(),e===null&&Qm(t.stateNode.containerInfo),t.flags|=67108864,je(t),null;case 10:return Ta(t.type),je(t),null;case 19:if(Nm(t),a=t.memoizedState,a===null)return je(t),null;if(l=(t.flags&128)!==0,i=a.rendering,i===null)if(l)Js(a,!1);else{if(Je!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=_o(e),i!==null){for(t.flags|=128,Js(a,!1),e=i.updateQueue,t.updateQueue=e,Kr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Wp(n,e),n=n.sibling;return Ec(t,Mt.current&1|2),me&&Sa(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&un()>Go&&(t.flags|=128,l=!0,Js(a,!1),t.lanes=4194304)}else{if(!l)if(e=_o(i),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Kr(t,e),Js(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!i.alternate&&!me)return je(t),null}else 2*un()-a.renderingStartTime>Go&&n!==536870912&&(t.flags|=128,l=!0,Js(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}if(a.tail!==null){e=a.tail;e:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break e}n=n.sibling}n=!0}return a.rendering=e,a.tail=e.sibling,a.renderingStartTime=un(),e.sibling=null,i=Mt.current,i=l?i&1|2:i&1,a.tailMode==="visible"||a.tailMode==="collapsed"||!n||me?Ec(t,i):(n=i,He(Rt,t),He(Mt,n),Dt===null&&(Dt=t)),me&&Sa(t,a.treeForkCount),e}return je(t),null;case 22:case 23:return cn(t),ym(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),n=t.updateQueue,n!==null&&Kr(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&Et(Il),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ta(nt),je(t),null;case 25:return null;case 30:return t.flags|=33554432,je(t),null}throw Error(w(156,t.tag))}function R2(e,t){switch(hm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ta(nt),cs(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return xo(t),null;case 31:if(t.memoizedState!==null){if(cn(t),t.alternate===null)throw Error(w(340));Pl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(cn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));Pl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Nm(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return cs(),null;case 10:return Ta(t.type),null;case 22:case 23:return cn(t),ym(),e!==null&&Et(Il),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ta(nt),null;case 25:return null;default:return null}}function Py(e,t){switch(hm(t),t.tag){case 3:Ta(nt),cs();break;case 26:case 27:case 5:xo(t);break;case 4:cs();break;case 31:t.memoizedState!==null&&cn(t);break;case 13:cn(t);break;case 19:Nm(t);break;case 10:Ta(t.type);break;case 22:case 23:cn(t),ym(),e!==null&&Et(Il);break;case 24:Ta(nt)}}function Gc(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var l=a.next;n=l;do{if((n.tag&e)===e){a=void 0;var i=n.create,s=n.inst;a=i(),s.destroy=a}n=n.next}while(n!==l)}}catch(c){Re(t,t.return,c)}}function Nl(e,t,n){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var i=l.next;a=i;do{if((a.tag&e)===e){var s=a.inst,c=s.destroy;if(c!==void 0){s.destroy=void 0,l=t;var r=n,u=c;try{u()}catch(o){Re(l,r,o)}}}a=a.next}while(a!==i)}}catch(o){Re(t,t.return,o)}}function Wy(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{oy(t,n)}catch(a){Re(e,e.return,a)}}}function eN(e,t,n){n.props=li(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Re(e,t,a)}}function Wn(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:var l=e.stateNode,i=Ma(e.memoizedProps,l);(l.ref===null||l.ref.name!==i)&&(l.ref=QN(i)),a=l.ref;break;case 7:if(e.stateNode===null){var s=new gn(e);$t(e.child,!1,v5,s,void 0,void 0),e.stateNode=s}a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(c){Re(e,t,c)}}function xt(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(l){Re(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(l){Re(e,t,l)}else n.current=null}function Ho(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)FN(e.stateNode,t[n])}function k1(e){for(var t=e.return;t!==null&&(Hm(t)&&FN(e.stateNode,t.stateNode),!Lm(t));)t=t.return}function hc(e){for(var t=e.return;t!==null&&(Hm(t)&&b5(e.stateNode,t.stateNode),!Lm(t));)t=t.return}function Lm(e){return e.tag===5||e.tag===3||e.tag===27}function Hm(e){return e&&e.tag===7&&e.stateNode!==null}function Md(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(l){Re(e,e.return,l)}}function _f(e,t,n){try{var a=e.stateNode;P2(a,e.type,n,t),a[Pt]=t}catch(l){Re(e,e.return,l)}}function tN(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Cl(e.type)||e.tag===4}function Df(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tN(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Cl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function kd(e,t,n,a){var l=e.tag;if(l===5||l===6)l=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(l,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(l),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=na)),Ho(e,a),Ne=!0;else if(l!==4&&(l===27&&(Ho(e,a),a=null,Cl(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(kd(e,t,n,a),e=e.sibling;e!==null;)kd(e,t,n,a),e=e.sibling}function Uo(e,t,n,a){var l=e.tag;if(l===5||l===6)l=e.stateNode,t?n.insertBefore(l,t):n.appendChild(l),Ho(e,a),Ne=!0;else if(l!==4&&(l===27&&(Ho(e,a),a=null,Cl(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Uo(e,t,n,a),e=e.sibling;e!==null;)Uo(e,t,n,a),e=e.sibling}function nN(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,l=t.attributes;l.length;)t.removeAttributeNode(l[0]);kt(t,a,n),t[Ct]=e,t[Pt]=n}catch(i){Re(e,e.return,i)}}var Bo=!1,rn=null;function R1(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(Bo=!0)}var ea=null;function w1(){var e=ea;return ea=null,e}var Ft=0;function Cs(e,t,n,a,l){return Ft=0,aN(e.child,t,n,a,l)}function aN(e,t,n,a,l){for(var i=!1;e!==null;){if(e.tag===5){var s=e.stateNode;if(a!==null){var c=Zd(s);a.push(c),c.view&&(i=!0)}else i||Zd(s).view&&(i=!0);Bo=!0,qN(s,Ft===0?t:t+"_"+Ft,n),Ft++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&l||aN(e.child,t,n,a,l)&&(i=!0));e=e.sibling}return i}function ca(e,t){for(;e!==null;)e.tag===5?GN(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||ca(e.child,t)),e=e.sibling}function uo(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(uo(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(w(544));var n=t.name;t=_a(t.default,t.share),t!=="none"&&(Cs(e,n,t,null,!1)||ca(e.child,!1))}e=e.sibling}}function Rd(e,t){if(e.tag===30){var n=e.stateNode,a=e.memoizedProps,l=Ma(a,n),i=_a(a.default,n.paired?a.share:a.enter);i!=="none"?Cs(e,l,i,null,!1)?(uo(e),n.paired||t||ds(e,a.onEnter)):ca(e.child,!1):uo(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Rd(e,t),e=e.sibling;else uo(e)}function wd(e){if(rn!==null&&rn.size!==0){var t=rn;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var n=e.memoizedProps,a=n.name;if(a!=null&&a!=="auto"){var l=t.get(a);if(l!==void 0){var i=_a(n.default,n.share);if(i!=="none"&&(Cs(e,a,i,null,!1)?(i=e.stateNode,l.paired=i,i.paired=l,ds(e,n.onShare)):ca(e.child,!1)),t.delete(a),t.size===0)break}}}wd(e)}e=e.sibling}}}function zd(e){if(e.tag===30){var t=e.memoizedProps,n=Ma(t,e.stateNode),a=rn!==null?rn.get(n):void 0,l=_a(t.default,a!==void 0?t.share:t.exit);l!=="none"&&(Cs(e,n,l,null,!1)?a!==void 0?(l=e.stateNode,a.paired=l,l.paired=a,rn.delete(n),ds(e,t.onShare)):ds(e,t.onExit):ca(e.child,!1)),rn!==null&&wd(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)zd(e),e=e.sibling;else rn!==null&&wd(e)}function lN(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=Ma(t,e.stateNode);t=_a(t.default,t.update),e.flags&=-5,t!=="none"&&Cs(e,n,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&lN(e);e=e.sibling}}function Ad(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,ca(e.child,!1))}Ad(e)}e=e.sibling}}function fo(e){if(e.tag===30)e.stateNode.paired=null,ca(e.child,!1),Ad(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)fo(e),e=e.sibling;else Ad(e)}function iN(e){for(e=e.child;e!==null;)e.tag===30?ca(e.child,!1):(e.subtreeFlags&33554432)!==0&&iN(e),e=e.sibling}function Um(e,t,n,a,l,i,s){for(var c=!1;t!==null;){if(t.tag===5){var r=t.stateNode;if(i!==null&&Ft<i.length){var u=i[Ft],o=Zd(r);(u.view||o.view)&&(c=!0);var f;if(f=(e.flags&4)===0)if(o.clip)f=!0;else{f=u.rect;var d=o.rect;f=f.y!==d.y||f.x!==d.x||f.height!==d.height||f.width!==d.width}f&&(e.flags|=4),o.abs?o=!u.abs:(u=u.rect,o=o.rect,o=u.height!==o.height||u.width!==o.width),o&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&qN(r,Ft===0?n:n+"_"+Ft,l),c&&(e.flags&4)!==0||(ea===null&&(ea=[]),ea.push(r,Ft===0?a:a+"_"+Ft,t.memoizedProps)),Ft++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&s?e.flags|=t.flags&32:Um(e,t.child,n,a,l,i,s)&&(c=!0));t=t.sibling}return c}function sN(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,a=e.stateNode,l=Ma(n,a),i=_a(n.default,n.update);if(t){a=a.clones;var s=a===null?null:a.map(l5)}else s=e.memoizedState,e.memoizedState=null;a=e;var c=e.child;Ft=0,l=Um(a,c,l,l,i,s,!1),(e.flags&4)!==0&&l&&(t||ds(e,n.onUpdate))}else(e.subtreeFlags&33554432)!==0&&sN(e,t);e=e.sibling}}var vt=!1,Te=!1,Jn=!1,Of=!1,z1=typeof WeakSet=="function"?WeakSet:Set,bt=null,$n=!1,lc=!1,Vo=!1,_d=!1;function w2(e,t,n){if(e=e.containerInfo,Qd=ps,e=Xp(e),um(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var i=l.anchorOffset,s=l.focusNode;l=l.focusOffset;try{a.nodeType,s.nodeType}catch{a=null;break e}var c=0,r=-1,u=-1,o=0,f=0,d=e,m=null;t:for(;;){for(var N;d!==a||i!==0&&d.nodeType!==3||(r=c+i),d!==s||l!==0&&d.nodeType!==3||(u=c+l),d.nodeType===3&&(c+=d.nodeValue.length),(N=d.firstChild)!==null;)m=d,d=N;for(;;){if(d===e)break t;if(m===a&&++o===i&&(r=c),m===s&&++f===l&&(u=c),(N=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=N}a=r===-1||u===-1?null:{start:r,end:u}}else a=null}a=a||{start:0,end:0}}else a=null;for(Xd={focusedElem:e,selectionRange:a},ps=!1,n=(n&335544064)===n,bt=t,t=n?9270:1024;bt!==null;){if(e=bt,n&&(a=e.deletions,a!==null))for(i=0;i<a.length;i++)n&&zd(a[i]);if(e.alternate===null&&(e.flags&2)!==0)n&&R1(e),Zr(n);else{if(e.tag===22){if(a=e.alternate,e.memoizedState!==null){a!==null&&a.memoizedState===null&&n&&zd(a),Zr(n);continue}else if(a!==null&&a.memoizedState!==null){n&&R1(e),Zr(n);continue}}a=e.child,(e.subtreeFlags&t)!==0&&a!==null?(a.return=e,bt=a):(n&&lN(e),Zr(n))}}rn=null}function Zr(e){for(;bt!==null;){var t=bt,n=e,a=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((l&1024)!==0&&a!==null){n=void 0,l=a.memoizedProps,a=a.memoizedState;var i=t.stateNode;try{var s=li(t.type,l);n=i.getSnapshotBeforeUpdate(s,a),i.__reactInternalSnapshotBeforeUpdate=n}catch(c){Re(t,t.return,c)}}break;case 3:if((l&1024)!==0){if(a=t.stateNode.containerInfo,n=a.nodeType,n===9)Fd(a);else if(n===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Fd(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&a!==null&&(n=Ma(a.memoizedProps,a.stateNode),l=t.memoizedProps,l=_a(l.default,l.update),l!=="none"&&Cs(a,n,l,a.memoizedState=[],!0));break;default:if((l&1024)!==0)throw Error(w(163))}if(a=t.sibling,a!==null){a.return=t.return,bt=a;break}bt=t.return}}function cN(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:Pn(e,n),a&4&&Gc(5,n);break;case 1:if(Pn(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(s){Re(n,n.return,s)}else{var l=li(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(l,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){Re(n,n.return,s)}}a&64&&Wy(n),a&512&&Wn(n,n.return);break;case 3:if(Pn(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{oy(e,t)}catch(s){Re(n,n.return,s)}}break;case 27:t===null&&a&4&&nN(n);case 26:case 5:Pn(e,n),t===null&&a&4&&Md(n),a&512&&Wn(n,n.return);break;case 12:Pn(e,n);break;case 31:Pn(e,n),a&4&&fN(e,n);break;case 13:Pn(e,n),a&4&&dN(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=q2.bind(null,n),N5(e,n))));break;case 22:if(a=n.memoizedState!==null||vt,!a){var i=t!==null&&t.memoizedState!==null||Te;t=vt,l=Te,vt=a,(Te=i)&&!l?(a=2,(n.subtreeFlags&8772)!==0&&(a|=1),Un(e,n,a)):Pn(e,n),vt=t,Te=l}break;case 30:Pn(e,n),a&512&&Wn(n,n.return);break;case 7:a&512&&Wn(n,n.return);default:Pn(e,n)}}function Dd(e,t){for(e=e.child;e!==null;)rN(e,t),e=e.sibling}function rN(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var a=n.style;typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"}else{var l=e.stateNode,i=e.memoizedProps.style,s=i!=null&&i.hasOwnProperty("display")?i.display:null;l.style.display=s==null||typeof s=="boolean"?"":(""+s).trim()}}catch(r){Re(e,e.return,r)}Od(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,Ne=!0}catch(r){Re(e,e.return,r)}break;case 18:try{var c=e.stateNode;t?K1(c,!0):K1(e.stateNode,!1)}catch(r){Re(e,e.return,r)}break;case 22:case 23:e.memoizedState===null&&Dd(e,t);break;default:Dd(e,t)}}function Od(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var n=e,a=t;switch(n.tag){case 4:rN(n,a);break e;case 22:n.memoizedState===null&&Od(n,a);break e;default:Od(n,a)}}e=e.sibling}}function oN(e){var t=e.alternate;t!==null&&(e.alternate=null,oN(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Jo(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Qe=null,Kt=!1;function Hn(e,t,n){for(n=n.child;n!==null;)uN(e,t,n),n=n.sibling}function uN(e,t,n){if(fn&&typeof fn.onCommitFiberUnmount=="function")try{fn.onCommitFiberUnmount(jc,n)}catch{}switch(n.tag){case 26:Te||xt(n,t),Hn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!Te&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Te||xt(n,t),hc(n);var a=Qe,l=Kt;Cl(n.type)&&(Qe=n.stateNode,Kt=!1),Hn(e,t,n),$N(n.stateNode,n.type,n.memoizedProps),Qe=a,Kt=l;break;case 5:Te||xt(n,t),hc(n);case 6:if(n.tag===6&&hc(n),a=Qe,l=Kt,Qe=null,Hn(e,t,n),Qe=a,Kt=l,Qe!==null)if(Kt)try{(Qe.nodeType===9?Qe.body:Qe.nodeName==="HTML"?Qe.ownerDocument.body:Qe).removeChild(n.stateNode),Ne=!0}catch(i){Re(n,t,i)}else try{Qe.removeChild(n.stateNode),Ne=!0}catch(i){Re(n,t,i)}break;case 18:Qe!==null&&(Kt?(e=Qe,X1(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ys(e)):X1(Qe,n.stateNode));break;case 4:a=Qe,l=Kt,Qe=n.stateNode.containerInfo,Kt=!0,Hn(e,t,n),Qe=a,Kt=l;break;case 0:case 11:case 14:case 15:Nl(2,n,t),Te||Nl(4,n,t),Hn(e,t,n);break;case 1:Te||(xt(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&eN(n,t,a)),Hn(e,t,n);break;case 21:Hn(e,t,n);break;case 22:Te=(a=Te)||n.memoizedState!==null,Hn(e,t,n),Te=a;break;case 30:xt(n,t),Hn(e,t,n);break;case 7:Te||xt(n,t),Hn(e,t,n);break;default:Hn(e,t,n)}}function fN(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ys(e)}catch(n){Re(t,t.return,n)}}}function dN(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ys(e)}catch(n){Re(t,t.return,n)}}function z2(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new z1),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new z1),t;default:throw Error(w(435,e.tag))}}function Fr(e,t){var n=z2(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var l=G2.bind(null,e,a);a.then(l,l)}})}function Ht(e,t,n){var a=t.deletions;if(a!==null)for(var l=0;l<a.length;l++){var i=a[l],s=e,c=t,r=c;e:for(;r!==null;){switch(r.tag){case 27:if(Cl(r.type)){Qe=r.stateNode,Kt=!1;break e}break;case 5:Qe=r.stateNode,Kt=!1;break e;case 3:case 4:Qe=r.stateNode.containerInfo,Kt=!0;break e}r=r.return}if(Qe===null)throw Error(w(160));uN(s,c,i),Qe=null,Kt=!1,s=i.alternate,s!==null&&(s.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)mN(t,e,n),t=t.sibling}var Bn=null;function mN(e,t,n){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(l&4&&(a=e.updateQueue,a=a!==null?a.events:null,a!==null))for(var i=0;i<a.length;i++){var s=a[i];s.ref.impl=s.nextImpl}Ht(t,e,n),Ut(e),l&4&&(Nl(3,e,e.return),Gc(3,e),Nl(5,e,e.return));break;case 1:Ht(t,e,n),Ut(e),l&512&&(Te||a===null||xt(a,a.return)),l&64&&vt&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(i=Bn,Ht(t,e,n),Ut(e),l&512&&(Te||a===null||xt(a,a.return)),l&4)if(l=a!==null?a.memoizedState:null,n=e.memoizedState,a===null)if(n===null)if(e.stateNode===null)if(vt)e.stateNode=VN(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,l=i.ownerDocument||i;t:switch(t){case"title":a=l.getElementsByTagName("title")[0],(!a||a[Uc]||a[Ct]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=l.createElement(t),l.head.insertBefore(a,l.querySelector("head > title"))),kt(a,t,n),a[Ct]=e,pt(a),t=a;break e;case"link":if(i=ep("link","href",l).get(t+(n.href||""))){for(s=0;s<i.length;s++)if(a=i[s],a.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&a.getAttribute("rel")===(n.rel==null?null:n.rel)&&a.getAttribute("title")===(n.title==null?null:n.title)&&a.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){i.splice(s,1);break t}}a=l.createElement(t),kt(a,t,n),l.head.appendChild(a);break;case"meta":if(i=ep("meta","content",l).get(t+(n.content||""))){for(s=0;s<i.length;s++)if(a=i[s],a.getAttribute("content")===(n.content==null?null:""+n.content)&&a.getAttribute("name")===(n.name==null?null:n.name)&&a.getAttribute("property")===(n.property==null?null:n.property)&&a.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&a.getAttribute("charset")===(n.charSet==null?null:n.charSet)){i.splice(s,1);break t}}a=l.createElement(t),kt(a,t,n),l.head.appendChild(a);break;default:throw Error(w(468,t))}a[Ct]=e,pt(a),t=a}e.stateNode=t}else vt||$d(i,e.type,e.stateNode);else e.stateNode=W1(i,n,e.memoizedProps);else l!==n?(l===null?(t=a.stateNode,t===null||Te||t.parentNode.removeChild(t)):l.count--,n===null?vt||$d(i,e.type,e.stateNode):W1(i,n,e.memoizedProps)):n===null&&e.stateNode!==null&&_f(e,e.memoizedProps,a.memoizedProps);break;case 27:Ht(t,e,n),Ut(e),l&512&&(Te||a===null||xt(a,a.return)),a!==null&&l&4&&_f(e,e.memoizedProps,a.memoizedProps);break;case 5:if(i=Jn,Jn=!1,Ht(t,e,n),Jn=i,Ut(e),l&512&&(Te||a===null||xt(a,a.return)),e.flags&32){t=e.stateNode;try{os(t,""),Ne=!0}catch(o){Re(e,e.return,o)}}l&4&&e.stateNode!=null&&(t=e.memoizedProps,_f(e,t,a!==null?a.memoizedProps:t)),l&1024&&(Of=!0);break;case 6:if(Ht(t,e,n),Ut(e),l&4){if(e.stateNode===null)throw Error(w(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,Ne=!0}catch(o){Re(e,e.return,o)}}break;case 3:if(Ne=!1,vo=null,i=Bn,Bn=zc(t.containerInfo),Ht(t,e,n),Bn=i,Ut(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{ys(t.containerInfo)}catch(o){Re(e,e.return,o)}Of&&(Of=!1,hN(e)),Ne=!1;break;case 4:l=Jn,Jn=vt,a=Lb(),i=Bn,Bn=zc(e.stateNode.containerInfo),Ht(t,e,n),Ut(e),Bn=i,Ne&&lc&&(Vo=!0),Ne=a,Jn=l;break;case 12:Ht(t,e,n),Ut(e);break;case 31:Ht(t,e,n),Ut(e),l&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Fr(e,t)));break;case 13:Ht(t,e,n),Ut(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(ou=un()),l&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Fr(e,t)));break;case 22:i=e.memoizedState!==null,s=a!==null&&a.memoizedState!==null;var c=vt,r=Te,u=Jn;vt=c||i,Jn=u||i,Te=r||s,Ht(t,e,n),Te=r,Jn=u,vt=c,Ut(e),l&8192&&(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,!i||a===null||s||vt||Te||(t=s||Te,n=vt,a=Te,vt=i||vt,Te=t,$a(e,2),vt=n,Te=a),!i&&Jn||Dd(e,i)),l&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,Fr(e,n))));break;case 19:Ht(t,e,n),Ut(e),l&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Fr(e,t)));break;case 30:l&512&&(Te||a===null||xt(a,a.return)),l=Lb(),i=lc,s=(n&335544064)===n,c=e.memoizedProps,lc=s&&_a(c.default,c.update)!=="none",Ht(t,e,n),Ut(e),s&&a!==null&&Ne&&(e.flags|=4),lc=i,Ne=l;break;case 21:break;case 7:l&512&&(Te||a===null||xt(a,a.return)),a&&a.stateNode!==null&&(a.stateNode._fragmentFiber=e);default:Ht(t,e,n),Ut(e)}}function Ut(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(tN(a)){n=a;break}a=a.return}a=null;for(var l=e.return;l!==null;){if(Hm(l)){var i=l.stateNode;a===null?a=[i]:a.push(i)}if(Lm(l))break;l=l.return}var s=a;if(n==null)throw Error(w(160));switch(n.tag){case 27:var c=n.stateNode,r=Df(e);Uo(e,r,c,s);break;case 5:var u=n.stateNode;n.flags&32&&(os(u,""),n.flags&=-33);var o=Df(e);Uo(e,o,u,s);break;case 3:case 4:var f=n.stateNode.containerInfo,d=Df(e);kd(e,d,f,s);break;default:throw Error(w(161))}}catch(m){Re(e,e.return,m)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function hN(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;hN(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,ps=!0,t.reset(),ps=!1),e=e.sibling}}function ji(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)gN(t,e),t=t.sibling;else sN(t,!1)}function gN(e,t){var n=e.alternate;if(n===null)Rd(e,!1);else switch(e.tag){case 3:if(_d=$n=!1,w1(),ji(t,e),!$n&&!Vo){if(e=ea,e!==null)for(var a=0;a<e.length;a+=3){n=e[a];var l=e[a+1];GN(n,e[a+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+l+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),_d=!0}ea=null;break;case 5:ji(t,e);break;case 4:a=$n,$n=!1,ji(t,e),$n&&(Vo=!0),$n=a;break;case 22:e.memoizedState===null&&(n.memoizedState!==null?Rd(e,!1):ji(t,e));break;case 30:a=$n,l=w1(),$n=!1,ji(t,e),$n&&(e.flags|=4);var i=e.memoizedProps,s=e.stateNode;t=Ma(i,s),s=Ma(n.memoizedProps,s);var c=_a(i.default,i.update);c==="none"?t=!1:(i=n.memoizedState,n.memoizedState=null,n=e.child,Ft=0,t=Um(e,n,t,s,c,i,!0),Ft!==(i===null?0:i.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(ds(e,e.memoizedProps.onUpdate),ea=l):l!==null&&(l.push.apply(l,ea),ea=l),$n=(e.flags&32)!==0?!0:a;break;default:ji(t,e)}}function Pn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)cN(e,t.alternate,t),t=t.sibling}function $a(e,t){for(e=e.child;e!==null;){var n=e,a=t;switch(n.tag){case 0:case 11:case 14:case 15:Nl(4,n,n.return),$a(n,a);break;case 1:xt(n,n.return);var l=n.stateNode;typeof l.componentWillUnmount=="function"&&eN(n,n.return,l),$a(n,a);break;case 27:(a&2)!==0&&$N(n.stateNode,n.type,n.memoizedProps);case 5:xt(n,n.return),n.tag!==5&&n.tag!==27||hc(n),$a(n,a);break;case 6:hc(n);break;case 26:xt(n,n.return),l=n.stateNode,n.memoizedState!==null||l===null||Te||l.parentNode.removeChild(l),$a(n,a);break;case 22:n.memoizedState===null&&$a(n,a);break;case 30:xt(n,n.return),$a(n,a);break;case 7:xt(n,n.return);default:$a(n,a)}e=e.sibling}}function Un(e,t,n){for(n=(t.subtreeFlags&8772)!==0?n:n&-2,t=t.child;t!==null;){var a=t.alternate,l=e,i=t,s=i.flags,c=(n&1)!==0;switch(i.tag){case 0:case 11:case 15:Un(l,i,n),Gc(4,i);break;case 1:if(Un(l,i,n),a=i,l=a.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(o){Re(a,a.return,o)}if(a=i,l=a.updateQueue,l!==null){var r=a.stateNode;try{var u=l.shared.hiddenCallbacks;if(u!==null)for(l.shared.hiddenCallbacks=null,l=0;l<u.length;l++)ry(u[l],r)}catch(o){Re(a,a.return,o)}}c&&s&64&&Wy(i),Wn(i,i.return);break;case 27:(n&2)!==0&&nN(i);case 5:i.tag!==5&&i.tag!==27||k1(i),Un(l,i,n),c&&a===null&&s&4&&Md(i),Wn(i,i.return);break;case 6:k1(i);break;case 26:r=i.stateNode,i.memoizedState!==null||r===null||vt||$d(zc(r.ownerDocument),i.type,r),Un(l,i,n),c&&a===null&&s&4&&Md(i),Wn(i,i.return);break;case 12:Un(l,i,n);break;case 31:Un(l,i,n),c&&s&4&&fN(l,i);break;case 13:Un(l,i,n),c&&s&4&&dN(l,i);break;case 22:i.memoizedState===null&&Un(l,i,n),Wn(i,i.return);break;case 30:Un(l,i,n),Wn(i,i.return);break;case 7:Wn(i,i.return);default:Un(l,i,n)}t=t.sibling}}function Bm(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Vc(n))}function Vm(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Vc(e))}function pn(e,t,n,a){var l=(n&335544064)===n;if(t.subtreeFlags&(l?10262:10256))for(t=t.child;t!==null;)vN(e,t,n,a),t=t.sibling;else l&&iN(t)}function vN(e,t,n,a){var l=(n&335544064)===n;l&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&fo(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:pn(e,t,n,a),i&2048&&Gc(9,t);break;case 1:pn(e,t,n,a);break;case 3:pn(e,t,n,a),l&&_d&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),i&2048&&(i=null,t.alternate!==null&&(i=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==i&&(t.refCount++,i!=null&&Vc(i)));break;case 12:if(i&2048){pn(e,t,n,a),i=t.stateNode;try{var s=t.memoizedProps,c=s.id,r=s.onPostCommit;typeof r=="function"&&r(c,t.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(u){Re(t,t.return,u)}}else pn(e,t,n,a);break;case 31:pn(e,t,n,a);break;case 13:pn(e,t,n,a);break;case 23:break;case 22:s=t.stateNode,c=t.alternate,t.memoizedState!==null?(l&&c!==null&&c.memoizedState===null&&fo(c),s._visibility&2?pn(e,t,n,a):gc(e,t)):(l&&c!==null&&c.memoizedState!==null&&fo(t),s._visibility&2?pn(e,t,n,a):(s._visibility|=2,Hi(e,t,n,a,(t.subtreeFlags&10256)!==0||!1))),i&2048&&Bm(c,t);break;case 24:pn(e,t,n,a),i&2048&&Vm(t.alternate,t);break;case 30:l&&(i=t.alternate,i!==null&&(ca(i.child,!0),ca(t.child,!0))),pn(e,t,n,a);break;default:pn(e,t,n,a)}}function Hi(e,t,n,a,l){for(l=l&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,s=t,c=n,r=a,u=s.flags;switch(s.tag){case 0:case 11:case 15:Hi(i,s,c,r,l),Gc(8,s);break;case 23:break;case 22:var o=s.stateNode;s.memoizedState!==null?o._visibility&2?Hi(i,s,c,r,l):gc(i,s):(o._visibility|=2,Hi(i,s,c,r,l)),l&&u&2048&&Bm(s.alternate,s);break;case 24:Hi(i,s,c,r,l),l&&u&2048&&Vm(s.alternate,s);break;default:Hi(i,s,c,r,l)}t=t.sibling}}function gc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,l=a.flags;switch(a.tag){case 22:gc(n,a),l&2048&&Bm(a.alternate,a);break;case 24:gc(n,a),l&2048&&Vm(a.alternate,a);break;default:gc(n,a)}t=t.sibling}}var Ql=8192;function ql(e,t,n){if(e.subtreeFlags&Ql)for(e=e.child;e!==null;)bN(e,t,n),e=e.sibling}function bN(e,t,n){switch(e.tag){case 26:ql(e,t,n),e.flags&Ql&&(e.memoizedState!==null?O5(n,Bn,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&np(n,e)));break;case 5:ql(e,t,n),e.flags&Ql&&(e=e.stateNode,(t&335544128)===t&&np(n,e));break;case 3:case 4:var a=Bn;Bn=zc(e.stateNode.containerInfo),ql(e,t,n),Bn=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Ql,Ql=16777216,ql(e,t,n),Ql=a):ql(e,t,n));break;case 30:if((e.flags&Ql)!==0&&(a=e.memoizedProps.name,a!=null&&a!=="auto")){var l=e.stateNode;l.paired=null,rn===null&&(rn=new Map),rn.set(a,l)}ql(e,t,n);break;default:ql(e,t,n)}}function pN(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function $s(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];bt=a,NN(a,e)}pN(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)yN(e),e=e.sibling}function yN(e){switch(e.tag){case 0:case 11:case 15:$s(e),e.flags&2048&&Nl(9,e,e.return);break;case 3:$s(e);break;case 12:$s(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,mo(e)):$s(e);break;default:$s(e)}}function mo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];bt=a,NN(a,e)}pN(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Nl(8,t,t.return),mo(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,mo(t));break;default:mo(t)}e=e.sibling}}function NN(e,t){for(;bt!==null;){var n=bt;switch(n.tag){case 0:case 11:case 15:Nl(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Vc(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,bt=a;else e:for(n=e;bt!==null;){a=bt;var l=a.sibling,i=a.return;if(oN(a),a===n){bt=null;break e}if(l!==null){l.return=i,bt=l;break e}bt=i}}}var A2={getCacheForType:function(e){var t=Tt(nt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Tt(nt).controller.signal}},_2=typeof WeakMap=="function"?WeakMap:Map,xe=0,Ae=null,ve=null,be=0,Me=0,ln=null,ll=!1,Ts=!1,qm=!1,za=0,Je=0,Sl=0,$l=0,qo=0,on=0,fs=0,vc=null,Zt=null,jd=!1,ou=0,SN=0,Go=1/0,Yo=null,ml=null,Ze=0,qn=null,ii=null,sa=0,Ld=0,Hd=null,xN=null,ls=null,is=null,ss=null,bc=0,ho=null;function mn(){return(xe&2)!==0&&be!==0?be&-be:te.T!==null?Ym():Mp()}function CN(){if(on===0)if((be&536870912)===0||me){var e=jr;jr<<=1,(jr&3932160)===0&&(jr=262144),on=e}else on=536870912;return e=Rt.current,e!==null&&(e.flags|=32),on}function ds(e,t){if(t!=null){var n=e.stateNode,a=n.ref;a===null&&(a=n.ref=QN(Ma(e.memoizedProps,n))),is===null&&(is=[]),is.push(t.bind(null,a))}}function Jt(e,t,n){(e===Ae&&(Me===2||Me===9)||e.cancelPendingCommit!==null)&&(ms(e,0),il(e,be,on,!1)),Hc(e,n),((xe&2)===0||e!==Ae)&&(e===Ae&&((xe&2)===0&&($l|=n),Je===4&&il(e,be,on,!1)),oa(e))}function TN(e,t,n){if((xe&6)!==0)throw Error(w(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Lc(e,t),l=a?j2(e,t):jf(e,t,!0),i=a;do{if(l===0){Ts&&!a&&il(e,t,0,!1);break}else{if(n=e.current.alternate,i&&!D2(n)){l=jf(e,t,!1),i=!1;continue}if(l===2){if(i=t,e.errorRecoveryDisabledLanes&i)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var c=e;l=vc;var r=c.current.memoizedState.isDehydrated;if(r&&(ms(c,s).flags|=256),s=jf(c,s,!1),s!==2&&s!==6){if(qm&&!r){c.errorRecoveryDisabledLanes|=i,$l|=i,l=4;break e}i=Zt,Zt=l,i!==null&&(Zt===null?Zt=i:Zt.push.apply(Zt,i))}l=s}if(i=!1,l!==2)continue}}if(l===1){ms(e,0),il(e,t,0,!0);break}e:{switch(a=e,i=l,i){case 0:case 1:throw Error(w(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:il(a,t,on,!ll);break e;case 2:Zt=null;break;case 3:case 5:break;default:throw Error(w(329))}if((t&62914560)===t&&(l=ou+300-un(),10<l)){if(il(a,t,on,!ll),Io(a,0,!0)!==0)break e;sa=t,a.timeoutHandle=Xm(A1.bind(null,a,n,Zt,Yo,jd,t,on,$l,fs,ll,i,"Throttled",-0,0),l);break e}A1(a,n,Zt,Yo,jd,t,on,$l,fs,ll,i,null,-0,0)}}break}while(!0);oa(e)}function A1(e,t,n,a,l,i,s,c,r,u,o,f,d,m){e.timeoutHandle=-1;var N=t.subtreeFlags,S=(i&335544064)===i;if(f=null,(S||N&8192||(N&16785408)===16785408)&&(f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:na},rn=null,bN(t,i,f),S&&(N=f,S=e.containerInfo,S=(S.nodeType===9?S:S.ownerDocument).__reactViewTransition,S!=null&&(N.count++,N.waitingForViewTransition=!0,N=Ac.bind(N),S.finished.then(N,N))),N=(i&62914560)===i?ou-un():(i&4194048)===i?SN-un():0,N=j5(f,N),N!==null)){sa=i,e.cancelPendingCommit=N(D1.bind(null,e,t,i,n,a,l,s,c,r,u,o,f,null,d,m)),il(e,i,s,!u);return}D1(e,t,i,n,a,l,s,c,r,u,o,f)}function D2(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var l=n[a],i=l.getSnapshot;l=l.value;try{if(!hn(i(),l))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function il(e,t,n,a){t=Sp(e,t),t&=~qo,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var l=t;0<l;){var i=31-dn(l),s=1<<i;a[i]=-1,l&=~s}n!==0&&Cp(e,n,t)}function uu(){return(xe&6)===0?(Yc(0,!1),!1):!0}function Gm(){if(ve!==null){if(Me===0)var e=ve.return;else e=ve,xa=ui=null,Em(e),ts=null,Tc=0,e=ve;for(;e!==null;)Py(e.alternate,e),e=e.return;ve=null}}function ms(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,t5(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),sa=0,Gm(),Ae=e,ve=n=Ca(e.current,null),be=t,Me=0,ln=null,ll=!1,Ts=Lc(e,t),qm=!1,fs=on=qo=$l=Sl=Je=0,Zt=vc=null,jd=!1,za=Sp(e,t),eu(),n}function EN(e,t){ue=null,te.H=jo,t===xs||t===au?(t=l1(),Me=3):t===bm?(t=l1(),Me=4):Me=t===Dm?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ln=t,ve===null&&(Je=1,Lo(e,Cn(t,e.current)))}function MN(){var e=Rt.current;return e===null?!0:(be&4194048)===be?Dt===null:(be&62914560)===be||(be&536870912)!==0?e===Dt:!1}function kN(){var e=te.H;return te.H=jo,e===null?jo:e}function RN(){var e=te.A;return te.A=A2,e}function Qo(){Je=4,ll||(be&4194048)!==be&&Rt.current!==null||(Ts=!0),(Sl&134217727)===0&&($l&134217727)===0||Ae===null||il(Ae,be,on,!1)}function jf(e,t,n){var a=xe;xe|=2;var l=kN(),i=RN();(Ae!==e||be!==t)&&(Yo=null,ms(e,t)),t=!1;var s=Je;e:do try{if(Me!==0&&ve!==null){var c=ve,r=ln;switch(Me){case 8:Gm(),s=6;break e;case 3:case 2:case 9:case 6:Rt.current===null&&(t=!0);var u=Me;if(Me=0,ln=null,Ji(e,c,r,u),n&&Ts){s=0;break e}break;default:u=Me,Me=0,ln=null,Ji(e,c,r,u)}}O2(),s=Je;break}catch(o){EN(e,o)}while(!0);return t&&e.shellSuspendCounter++,xa=ui=null,xe=a,te.H=l,te.A=i,ve===null&&(Ae=null,be=0,eu()),s}function O2(){for(;ve!==null;)wN(ve)}function j2(e,t){var n=xe;xe|=2;var a=kN(),l=RN();Ae!==e||be!==t?(Yo=null,Go=un()+500,ms(e,t)):Ts=Lc(e,t);e:do try{if(Me!==0&&ve!==null){t=ve;var i=ln;t:switch(Me){case 1:Me=0,ln=null,Ji(e,t,i,1);break;case 2:case 9:if(a1(i)){Me=0,ln=null,_1(t);break}t=function(){Me!==2&&Me!==9||Ae!==e||(Me=7),oa(e)},i.then(t,t);break e;case 3:Me=7;break e;case 4:Me=5;break e;case 7:a1(i)?(Me=0,ln=null,_1(t)):(Me=0,ln=null,Ji(e,t,i,7));break;case 5:var s=null;switch(ve.tag){case 26:s=ve.memoizedState;case 5:case 27:var c=ve;if(s?eS(s):c.stateNode.complete){Me=0,ln=null;var r=c.sibling;if(r!==null)ve=r;else{var u=c.return;u!==null?(ve=u,fu(u)):ve=null}break t}}Me=0,ln=null,Ji(e,t,i,5);break;case 6:Me=0,ln=null,Ji(e,t,i,6);break;case 8:Gm(),Je=6;break e;default:throw Error(w(462))}}L2();break}catch(o){EN(e,o)}while(!0);return xa=ui=null,te.H=a,te.A=l,xe=n,ve!==null?0:(Ae=null,be=0,eu(),Je)}function L2(){for(;ve!==null&&!Wx();)wN(ve)}function wN(e){var t=$y(e.alternate,e,za);e.memoizedProps=e.pendingProps,t===null?fu(e):ve=t}function _1(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=N1(n,t,t.pendingProps,t.type,void 0,be);break;case 11:t=N1(n,t,t.pendingProps,t.type.render,t.ref,be);break;case 5:Em(t);var a=t;a===yt&&(me?(Ro(a),a.tag===5&&a.stateNode!=null&&(Le=a.stateNode)):(Ro(a),me=!0));default:Py(n,t),t=ve=Wp(t,za),t=$y(n,t,za)}e.memoizedProps=e.pendingProps,t===null?fu(e):ve=t}function Ji(e,t,n,a){xa=ui=null,Em(t),ts=null,Tc=0;var l=t.return;try{if(C2(e,l,t,n,be)){Je=1,Lo(e,Cn(n,e.current)),ve=null;return}}catch(i){if(l!==null)throw ve=l,i;Je=1,Lo(e,Cn(n,e.current)),ve=null;return}t.flags&32768?(me||a===1?e=!0:Ts||(be&536870912)!==0?e=!1:(ll=e=!0,(a===2||a===9||a===3||a===6)&&(a=Rt.current,a!==null&&a.tag===13&&(a.flags|=16384))),zN(t,e)):fu(t)}function fu(e){var t=e;do{if((t.flags&32768)!==0){zN(t,ll);return}e=t.return;var n=k2(t.alternate,t,za);if(n!==null){ve=n;return}if(t=t.sibling,t!==null){ve=t;return}ve=t=e}while(t!==null);Je===0&&(Je=5)}function zN(e,t){do{var n=R2(e.alternate,e);if(n!==null){n.flags&=32767,ve=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){ve=e;return}ve=e=n}while(e!==null);Je=6,ve=null}function D1(e,t,n,a,l,i,s,c,r,u,o,f){e.cancelPendingCommit=null;do du();while(Ze!==0);if((xe&6)!==0)throw Error(w(327));if(t!==null){if(t===e.current)throw Error(w(177));e===Ae&&(ve=Ae=null,be=0),ii=t,qn=e,sa=n,Hd=l,xN=a,H2(e,t,n,s,c,r,f)}}function H2(e,t,n,a,l,i,s){var c=t.lanes|t.childLanes;if(Ld=c,c|=fm,oC(e,n,c,a,l,i),is=null,(n&335544064)===n?(ss=f2(e),a=10262):(ss=null,a=10256),(t.subtreeFlags&a)!==0||(t.flags&a)!==0?(e.callbackNode=null,e.callbackPriority=0,Y2(Co,function(){return qd(),null})):(e.callbackNode=null,e.callbackPriority=0),Bo=!1,a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=te.T,te.T=null,l=Ce.p,Ce.p=2,i=xe,xe|=4;try{w2(e,t,n)}finally{xe=i,Ce.p=l,te.T=a}}Ze=1,Bo?ls=c5(s,e.containerInfo,ss,Ud,Bd,B2,Vd,qd,U2,null,null):(Ud(),Bd(),Vd())}function U2(e){if(Ze!==0){var t=qn.onRecoverableError;t(e,{componentStack:null})}}function B2(){Ze===3&&(Ze=0,gN(ii,qn),Ze=4)}function Ud(){if(Ze===1){Ze=0;var e=qn,t=ii,n=sa,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=te.T,te.T=null;var l=Ce.p;Ce.p=2;var i=xe;xe|=4;try{lc=Vo=!1,mN(t,e,n),n=Xd;var s=Xp(e.containerInfo),c=n.focusedElem,r=n.selectionRange;if(s!==c&&c&&c.ownerDocument&&Qp(c.ownerDocument.documentElement,c)){if(r!==null&&um(c)){var u=r.start,o=r.end;if(o===void 0&&(o=u),"selectionStart"in c)c.selectionStart=u,c.selectionEnd=Math.min(o,c.value.length);else{var f=c.ownerDocument||document,d=f&&f.defaultView||window;if(d.getSelection){var m=d.getSelection(),N=c.textContent.length,S=Math.min(r.start,N),k=r.end===void 0?S:Math.min(r.end,N);!m.extend&&S>k&&(s=k,k=S,S=s);var g=Ib(c,S),v=Ib(c,k);if(g&&v&&(m.rangeCount!==1||m.anchorNode!==g.node||m.anchorOffset!==g.offset||m.focusNode!==v.node||m.focusOffset!==v.offset)){var b=f.createRange();b.setStart(g.node,g.offset),m.removeAllRanges(),S>k?(m.addRange(b),m.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),m.addRange(b))}}}}for(f=[],m=c;m=m.parentNode;)m.nodeType===1&&f.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<f.length;c++){var y=f[c];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}ps=!!Qd,Xd=Qd=null}finally{xe=i,Ce.p=l,te.T=a}}e.current=t,Ze=2}}function Bd(){if(Ze===2){Ze=0;var e=qn,t=ii,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=te.T,te.T=null;var a=Ce.p;Ce.p=2;var l=xe;xe|=4;try{cN(e,t.alternate,t)}finally{xe=l,Ce.p=a,te.T=n}}Ze=3}}function Vd(){if(Ze===4||Ze===3){Ze=0;var e=ls;ls=null,eC();var t=qn,n=ii,a=sa,l=xN,i=(a&335544064)===a?10262:10256;if((n.subtreeFlags&i)!==0||(n.flags&i)!==0?Ze=5:(Ze=0,ii=qn=null,AN(t,t.pendingLanes)),i=t.pendingLanes,i===0&&(ml=null),lm(a),n=n.stateNode,fn&&typeof fn.onCommitFiberRoot=="function")try{fn.onCommitFiberRoot(jc,n,void 0,(n.current.flags&128)===128)}catch{}if(l!==null){n=te.T,i=Ce.p,Ce.p=2,te.T=null;try{for(var s=t.onRecoverableError,c=0;c<l.length;c++){var r=l[c];s(r.value,{componentStack:r.stack})}}finally{te.T=n,Ce.p=i}}if(l=is,s=ss,ss=null,l!==null&&(is=null,s===null&&(s=[]),e!==null))for(r=0;r<l.length;r++)n=(0,l[r])(s),n!==void 0&&e.finished.finally(n);(sa&3)!==0&&du(),oa(t),i=t.pendingLanes,(a&261930)!==0&&(i&42)!==0?t===ho?bc++:(bc=0,ho=t):(bc=0,ho=null),Yc(0,!1)}}function AN(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Vc(t)))}function du(){return ls!==null&&(ls.skipTransition(),ls=null),Ud(),Bd(),Vd(),qd()}function qd(){if(Ze!==5)return!1;var e=qn,t=Ld;Ld=0;var n=lm(sa),a=te.T,l=Ce.p;try{Ce.p=32>n?32:n,te.T=null,n=Hd,Hd=null;var i=qn,s=sa;if(Ze=0,ii=qn=null,sa=0,(xe&6)!==0)throw Error(w(331));var c=xe;if(xe|=4,yN(i.current),vN(i,i.current,s,n),xe=c,Yc(0,!1),fn&&typeof fn.onPostCommitFiberRoot=="function")try{fn.onPostCommitFiberRoot(jc,i)}catch{}return!0}finally{Ce.p=l,te.T=a,AN(e,t)}}function O1(e,t,n){t=Cn(n,t),t=Nd(e.stateNode,t,2),e=ul(e,t,2),e!==null&&(Hc(e,2),oa(e))}function Re(e,t,n){if(e.tag===3)O1(e,e,n);else for(;t!==null;){if(t.tag===3){O1(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ml===null||!ml.has(a))){e=Cn(n,e),n=Ky(2),a=ul(t,n,2),a!==null&&(Zy(n,a,t,e),Hc(a,2),oa(a));break}}t=t.return}}function Lf(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new _2;var l=new Set;a.set(t,l)}else l=a.get(t),l===void 0&&(l=new Set,a.set(t,l));l.has(n)||(qm=!0,l.add(n),e=V2.bind(null,e,t,n),t.then(e,e))}function V2(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ae===e&&(be&n)===n&&((Je===4||Je===3&&(be&62914560)===be&&300>un()-ou)&&(xe&2)===0?ms(e,0):qo|=n,fs===be&&(fs=0)),oa(e)}function _N(e,t){t===0&&(t=xp()),e=oi(e,t),e!==null&&(Hc(e,t),oa(e))}function q2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_N(e,n)}function G2(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(w(314))}a!==null&&a.delete(t),_N(e,n)}function Y2(e,t){return nm(e,t)}var hs=null,Ui=null,Gd=!1,Xo=!1,Hf=!1,sl=0;function oa(e){e!==Ui&&e.next===null&&(Ui===null?hs=Ui=e:Ui=Ui.next=e),Xo=!0,Gd||(Gd=!0,X2())}function Yc(e,t){if(!Hf&&Xo){Hf=!0;do for(var n=!1,a=hs;a!==null;){if(!t)if(e!==0){var l=a.pendingLanes;if(l===0)var i=0;else{var s=a.suspendedLanes,c=a.pingedLanes;i=(1<<31-dn(42|e)+1)-1,i&=l&~(s&~c),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(n=!0,j1(a,i))}else i=be,i=Io(a,a===Ae?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||Lc(a,i)||(n=!0,j1(a,i));a=a.next}while(n);Hf=!1}}function Q2(){DN()}function DN(){Xo=Gd=!1;var e=0;sl!==0&&e5()&&(e=sl);for(var t=un(),n=null,a=hs;a!==null;){var l=a.next,i=ON(a,t);i===0?(a.next=null,n===null?hs=l:n.next=l,l===null&&(Ui=n)):(n=a,(e!==0||(i&3)!==0)&&(Xo=!0)),a=l}Ze!==0&&Ze!==5||Yc(e,!1),sl!==0&&(sl=0)}function ON(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var s=31-dn(i),c=1<<s,r=l[s];r===-1?((c&n)===0||(c&a)!==0)&&(l[s]=rC(c,t)):r<=t&&(e.expiredLanes|=c),i&=~c}if(t=Ae,n=be,n=Io(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(Me===2||Me===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&gf(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Lc(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&gf(a),lm(n)){case 2:case 8:n=yp;break;case 32:n=Co;break;case 268435456:n=Np;break;default:n=Co}return a=jN.bind(null,e),n=nm(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&gf(a),e.callbackPriority=2,e.callbackNode=null,2}function jN(e,t){if(Ze!==0&&Ze!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(du()&&e.callbackNode!==n)return null;var a=be;return a=Io(e,e===Ae?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(TN(e,a,t),ON(e,un()),e.callbackNode!=null&&e.callbackNode===n?jN.bind(null,e):null)}function j1(e,t){if(du())return null;TN(e,t,!0)}function X2(){n5(function(){(xe&6)!==0?nm(pp,Q2):DN()})}function Ym(){if(sl===0){var e=ti;e===0&&(e=Or,Or<<=1,(Or&261888)===0&&(Or=256)),sl=e}return sl}function L1(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:to(e)}function K2(e,t,n,a,l){if(t==="submit"&&n&&n.stateNode===l){var i=L1((l[Pt]||null).action),s=a.submitter;s&&(t=(t=s[Pt]||null)?L1(t.formAction):s.getAttribute("formAction"),t!==null&&(i=t,s=null));var c=new $o("action","action",null,a,l);e.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(sl!==0){var r=new FormData(l,s);pd(n,{pending:!0,data:r,method:l.method,action:i},null,r)}}else typeof i=="function"&&(c.preventDefault(),r=new FormData(l,s),pd(n,{pending:!0,data:r,method:l.method,action:i},i,r))},currentTarget:l}]})}}for(Ir=0;Ir<cd.length;Ir++)Jr=cd[Ir],H1=Jr.toLowerCase(),U1=Jr[0].toUpperCase()+Jr.slice(1),Gn(H1,"on"+U1);var Jr,H1,U1,Ir;Gn(Zp,"onAnimationEnd");Gn(Fp,"onAnimationIteration");Gn(Ip,"onAnimationStart");Gn("dblclick","onDoubleClick");Gn("focusin","onFocus");Gn("focusout","onBlur");Gn(a2,"onTransitionRun");Gn(l2,"onTransitionStart");Gn(i2,"onTransitionCancel");Gn(Jp,"onTransitionEnd");rs("onMouseEnter",["mouseout","mouseover"]);rs("onMouseLeave",["mouseout","mouseover"]);rs("onPointerEnter",["pointerout","pointerover"]);rs("onPointerLeave",["pointerout","pointerover"]);ci("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ci("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ci("onBeforeInput",["compositionend","keypress","textInput","paste"]);ci("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ci("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ci("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kc="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(" "),Z2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(kc));function LN(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],l=a.event;a=a.listeners;e:{var i=void 0;if(t)for(var s=a.length-1;0<=s;s--){var c=a[s],r=c.instance,u=c.currentTarget;if(c=c.listener,r!==i&&l.isPropagationStopped())break e;i=c,l.currentTarget=u;try{i(l)}catch(o){Eo(o)}l.currentTarget=null,i=r}else for(s=0;s<a.length;s++){if(c=a[s],r=c.instance,u=c.currentTarget,c=c.listener,r!==i&&l.isPropagationStopped())break e;i=c,l.currentTarget=u;try{i(l)}catch(o){Eo(o)}l.currentTarget=null,i=r}}}}function ge(e,t){var n=t[_b];n===void 0&&(n=t[_b]=new Set);var a=e+"__bubble";n.has(a)||(HN(t,e,2,!1),n.add(a))}function Uf(e,t,n){var a=0;t&&(a|=4),HN(n,e,a,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Qm(e){if(!e[$r]){e[$r]=!0,Rp.forEach(function(n){n!=="selectionchange"&&(Z2.has(n)||Uf(n,!1,e),Uf(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[$r]||(t[$r]=!0,Uf("selectionchange",!1,t))}}function HN(e,t,n,a){switch(cS(t)){case 2:var l=B5;break;case 8:l=V5;break;default:l=$m}n=l.bind(null,t,n,e),l=void 0,!ad||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),a?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Bf(e,t,n,a,l){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var s=a.tag;if(s===3||s===4){var c=a.stateNode.containerInfo;if(c===l)break;if(s===4)for(s=a.return;s!==null;){var r=s.tag;if((r===3||r===4)&&s.stateNode.containerInfo===l)return;s=s.return}for(;c!==null;){if(s=Xl(c),s===null)return;if(r=s.tag,r===5||r===6||r===26||r===27){a=i=s;continue e}c=c.parentNode}}a=a.return}Lp(function(){var u=i,o=sm(n),f=[];e:{var d=$p.get(e);if(d!==void 0){var m=$o,N=e;switch(e){case"keypress":if(ao(n)===0)break e;case"keydown":case"keyup":m=DC;break;case"focusin":N="focus",m=Sf;break;case"focusout":N="blur",m=Sf;break;case"beforeblur":case"afterblur":m=Sf;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=Vb;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=SC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=UC;break;case Zp:case Fp:case Ip:m=TC;break;case Jp:m=VC;break;case"scroll":case"scrollend":m=yC;break;case"wheel":m=GC;break;case"copy":case"cut":case"paste":m=MC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Gb;break;case"submit":m=LC;break;case"toggle":case"beforetoggle":m=QC}var S=(t&4)!==0,k=!S&&(e==="scroll"||e==="scrollend"),g=S?d!==null?d+"Capture":null:d;S=[];for(var v=u,b;v!==null;){var y=v;if(b=y.stateNode,y=y.tag,y!==5&&y!==26&&y!==27||b===null||g===null||(y=yc(v,g),y!=null&&S.push(Rc(v,y,b))),k)break;v=v.return}0<S.length&&(d=new m(d,N,null,n,o),f.push({event:d,listeners:S}))}}if((t&7)===0){e:{if(m=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",m&&n!==nd&&(N=n.relatedTarget||n.fromElement)&&(Xl(N)||N[Ns]))break e;(d||m)&&(N=o.window===o?o:(m=o.ownerDocument)?m.defaultView||m.parentWindow:window,d?(m=n.relatedTarget||n.toElement,d=u,m=m?Xl(m):null,m!==null&&(k=Oc(m),S=m.tag,m!==k||S!==5&&S!==27&&S!==6)&&(m=null)):(d=null,m=u),d!==m&&(S=Vb,y="onMouseLeave",g="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(S=Gb,y="onPointerLeave",g="onPointerEnter",v="pointer"),k=d==null?N:nc(d),b=m==null?N:nc(m),N=new S(y,v+"leave",d,n,o),N.target=k,N.relatedTarget=b,y=null,Xl(o)===u&&(S=new S(g,v+"enter",m,n,o),S.target=b,S.relatedTarget=k,y=S),k=y,S=d&&m?Qf(d,m,F2):null,d!==null&&B1(f,N,d,S,!1),m!==null&&k!==null&&B1(f,k,m,S,!0)))}e:{if(d=u?nc(u):window,m=d.nodeName&&d.nodeName.toLowerCase(),m==="select"||m==="input"&&d.type==="file")var z=Kb;else if(Xb(d))if(Gp)z=e2;else{z=PC;var q=$C}else m=d.nodeName,!m||m.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?u&&im(u.elementType)&&(z=Kb):z=WC;if(z&&(z=z(e,u))){qp(f,z,n,o);break e}q&&q(e,d,u)}switch(q=u?nc(u):window,e){case"focusin":(Xb(q)||q.contentEditable==="true")&&(Qi=q,id=u,cc=null);break;case"focusout":cc=id=Qi=null;break;case"mousedown":sd=!0;break;case"contextmenu":case"mouseup":case"dragend":sd=!1,Jb(f,n,o);break;case"selectionchange":if(n2)break;case"keydown":case"keyup":Jb(f,n,o)}var U;if(om)e:{switch(e){case"compositionstart":var O="onCompositionStart";break e;case"compositionend":O="onCompositionEnd";break e;case"compositionupdate":O="onCompositionUpdate";break e}O=void 0}else Yi?Bp(e,n)&&(O="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(O="onCompositionStart");O&&(Up&&n.locale!=="ko"&&(Yi||O!=="onCompositionStart"?O==="onCompositionEnd"&&Yi&&(U=Hp()):(nl=o,cm="value"in nl?nl.value:nl.textContent,Yi=!0)),q=Ko(u,O),0<q.length&&(O=new qb(O,e,null,n,o),f.push({event:O,listeners:q}),U?O.data=U:(U=Vp(n),U!==null&&(O.data=U)))),(U=KC?ZC(e,n):FC(e,n))&&(O=Ko(u,"onBeforeInput"),0<O.length&&(q=new qb("onBeforeInput","beforeinput",null,n,o),f.push({event:q,listeners:O}),q.data=U)),K2(f,e,u,n,o)}LN(f,t)})}function Rc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ko(e,t){for(var n=t+"Capture",a=[];e!==null;){var l=e,i=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||i===null||(l=yc(e,n),l!=null&&a.unshift(Rc(e,l,i)),l=yc(e,t),l!=null&&a.push(Rc(e,l,i))),e.tag===3)return a;e=e.return}return[]}function F2(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function B1(e,t,n,a,l){for(var i=t._reactName,s=[];n!==null&&n!==a;){var c=n,r=c.alternate,u=c.stateNode;if(c=c.tag,r!==null&&r===a)break;c!==5&&c!==26&&c!==27||u===null||(r=u,l?(u=yc(n,i),u!=null&&s.unshift(Rc(n,u,r))):l||(u=yc(n,i),u!=null&&s.push(Rc(n,u,r)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var I2=/\r\n?/g,J2=/\u0000|\uFFFD/g;function V1(e){return(typeof e=="string"?e:""+e).replace(I2,`
|
|
9
|
-
`).replace(J2,"")}function UN(e,t){return t=V1(t),V1(e)===t}function ke(e,t,n,a,l,i){switch(n){case"children":if(typeof a=="string")t==="body"||t==="textarea"&&a===""||os(e,a);else if(typeof a=="number"||typeof a=="bigint")t!=="body"&&os(e,""+a);else return;break;case"className":Hr(e,"class",a);break;case"tabIndex":Hr(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Hr(e,n,a);break;case"style":jp(e,a,i);return;case"data":if(t!=="object"){Hr(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=to(a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"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 i=="function"&&(n==="formAction"?(t!=="input"&&ke(e,t,"name",l.name,l,null),ke(e,t,"formEncType",l.formEncType,l,null),ke(e,t,"formMethod",l.formMethod,l,null),ke(e,t,"formTarget",l.formTarget,l,null)):(ke(e,t,"encType",l.encType,l,null),ke(e,t,"method",l.method,l,null),ke(e,t,"target",l.target,l,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=to(a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=na);return;case"onScroll":a!=null&&ge("scroll",e);return;case"onScrollEnd":a!=null&&ge("scrollend",e);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(w(61));if(n=a.__html,n!=null){if(l.children!=null)throw Error(w(60));i?.__html!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=to(a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":ge("beforetoggle",e),ge("toggle",e),eo(e,"popover",a);break;case"xlinkActuate":ya(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ya(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ya(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ya(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ya(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ya(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ya(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ya(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ya(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":eo(e,"is",a);break;case"innerText":case"textContent":return;default:if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")n=bC.get(n)||n,eo(e,n,a);else return}Ne=!0}function Yd(e,t,n,a,l,i){switch(n){case"style":jp(e,a,i);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(w(61));if(n=a.__html,n!=null){if(l.children!=null)throw Error(w(60));i?.__html!==n&&(e.innerHTML=n)}}break;case"children":if(typeof a=="string")os(e,a);else if(typeof a=="number"||typeof a=="bigint")os(e,""+a);else return;break;case"onScroll":a!=null&&ge("scroll",e);return;case"onScrollEnd":a!=null&&ge("scrollend",e);return;case"onClick":a!=null&&(e.onclick=na);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!wp.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(l=n.endsWith("Capture"),i=n.slice(2,l?n.length-7:void 0),t=e[Pt]||null,t=t!=null?t[n]:null,typeof t=="function"&&e.removeEventListener(i,t,l),typeof a=="function")){typeof t!="function"&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(i,a,l);break e}Ne=!0,n in e?e[n]=a:a===!0?e.setAttribute(n,""):eo(e,n,a)}return}Ne=!0}function kt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ge("error",e),ge("load",e);var a=!1,l=!1,i;for(i in n)if(n.hasOwnProperty(i)){var s=n[i];if(s!=null)switch(i){case"src":a=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(w(137,t));default:ke(e,t,i,s,n,null)}}l&&ke(e,t,"srcSet",n.srcSet,n,null),a&&ke(e,t,"src",n.src,n,null);return;case"input":ge("invalid",e);var c=i=s=l=null,r=null,u=null;for(a in n)if(n.hasOwnProperty(a)){var o=n[a];if(o!=null)switch(a){case"name":l=o;break;case"type":s=o;break;case"checked":r=o;break;case"defaultChecked":u=o;break;case"value":i=o;break;case"defaultValue":c=o;break;case"children":case"dangerouslySetInnerHTML":if(o!=null)throw Error(w(137,t));break;default:ke(e,t,a,o,n,null)}}_p(e,i,c,r,u,s,l,!1);return;case"select":ge("invalid",e),a=s=i=null;for(l in n)if(n.hasOwnProperty(l)&&(c=n[l],c!=null))switch(l){case"value":i=c;break;case"defaultValue":s=c;break;case"multiple":a=c;default:ke(e,t,l,c,n,null)}t=i,n=s,e.multiple=!!a,t!=null?Pi(e,!!a,t,!1):n!=null&&Pi(e,!!a,n,!0);return;case"textarea":ge("invalid",e),i=l=a=null;for(s in n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case"value":a=c;break;case"defaultValue":l=c;break;case"children":i=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(w(91));break;default:ke(e,t,s,c,n,null)}Op(e,a,l,i);return;case"option":for(r in n)n.hasOwnProperty(r)&&(a=n[r],a!=null)&&(r==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":ke(e,t,r,a,n,null));return;case"dialog":ge("beforetoggle",e),ge("toggle",e),ge("cancel",e),ge("close",e);break;case"iframe":case"object":ge("load",e);break;case"video":case"audio":for(a=0;a<kc.length;a++)ge(kc[a],e);break;case"image":ge("error",e),ge("load",e);break;case"details":ge("toggle",e);break;case"embed":case"source":case"link":ge("error",e),ge("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&(a=n[u],a!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(w(137,t));default:ke(e,t,u,a,n,null)}return;default:if(im(t)){for(o in n)n.hasOwnProperty(o)&&(a=n[o],a!==void 0&&Yd(e,t,o,a,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(a=n[c],a!=null&&ke(e,t,c,a,n,null))}var $2={};function P2(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,i=null,s=null,c=null,r=null,u=null,o=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case"checked":break;case"value":break;case"defaultValue":r=f;default:a.hasOwnProperty(m)||ke(e,t,m,null,a,f)}}for(var d in a){var m=a[d];if(f=n[d],a.hasOwnProperty(d)&&(m!=null||f!=null))switch(d){case"type":m!==f&&(Ne=!0),i=m;break;case"name":m!==f&&(Ne=!0),l=m;break;case"checked":m!==f&&(Ne=!0),u=m;break;case"defaultChecked":m!==f&&(Ne=!0),o=m;break;case"value":m!==f&&(Ne=!0),s=m;break;case"defaultValue":m!==f&&(Ne=!0),c=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(w(137,t));break;default:m!==f&&ke(e,t,d,m,a,f)}}td(e,s,c,r,u,o,i,l);return;case"select":m=s=c=d=null;for(i in n)if(r=n[i],n.hasOwnProperty(i)&&r!=null)switch(i){case"value":break;case"multiple":m=r;default:a.hasOwnProperty(i)||ke(e,t,i,null,a,r)}for(l in a)if(i=a[l],r=n[l],a.hasOwnProperty(l)&&(i!=null||r!=null))switch(l){case"value":i!==r&&(Ne=!0),d=i;break;case"defaultValue":i!==r&&(Ne=!0),c=i;break;case"multiple":i!==r&&(Ne=!0),s=i;default:i!==r&&ke(e,t,l,i,a,r)}t=c,n=s,a=m,d!=null?Pi(e,!!n,d,!1):!!a!=!!n&&(t!=null?Pi(e,!!n,t,!0):Pi(e,!!n,n?[]:"",!1));return;case"textarea":m=d=null;for(c in n)if(l=n[c],n.hasOwnProperty(c)&&l!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:ke(e,t,c,null,a,l)}for(s in a)if(l=a[s],i=n[s],a.hasOwnProperty(s)&&(l!=null||i!=null))switch(s){case"value":l!==i&&(Ne=!0),d=l;break;case"defaultValue":l!==i&&(Ne=!0),m=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(w(91));break;default:l!==i&&ke(e,t,s,l,a,i)}Dp(e,d,m);return;case"option":for(var N in n)d=n[N],n.hasOwnProperty(N)&&d!=null&&!a.hasOwnProperty(N)&&(N==="selected"?e.selected=!1:ke(e,t,N,null,a,d));for(r in a)d=a[r],m=n[r],a.hasOwnProperty(r)&&d!==m&&(d!=null||m!=null)&&(r==="selected"?(d!==m&&(Ne=!0),e.selected=d&&typeof d!="function"&&typeof d!="symbol"):ke(e,t,r,d,a,m));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 S in n)d=n[S],n.hasOwnProperty(S)&&d!=null&&!a.hasOwnProperty(S)&&ke(e,t,S,null,a,d);for(u in a)if(d=a[u],m=n[u],a.hasOwnProperty(u)&&d!==m&&(d!=null||m!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(w(137,t));break;default:ke(e,t,u,d,a,m)}return;default:if(im(t)){for(var k in n)d=n[k],n.hasOwnProperty(k)&&d!==void 0&&!a.hasOwnProperty(k)&&Yd(e,t,k,void 0,a,d);for(o in a)d=a[o],m=n[o],!a.hasOwnProperty(o)||d===m||d===void 0&&m===void 0||Yd(e,t,o,d,a,m);return}}for(var g in n)d=n[g],n.hasOwnProperty(g)&&d!=null&&!a.hasOwnProperty(g)&&ke(e,t,g,null,a,d);for(f in a)d=a[f],m=n[f],!a.hasOwnProperty(f)||d===m||d==null&&m==null||ke(e,t,f,d,a,m)}function q1(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function W2(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var l=n[a],i=l.transferSize,s=l.initiatorType,c=l.duration;if(i&&c&&q1(s)){for(s=0,c=l.responseEnd,a+=1;a<n.length;a++){var r=n[a],u=r.startTime;if(u>c)break;var o=r.transferSize,f=r.initiatorType;o&&q1(f)&&(r=r.responseEnd,s+=o*(r<c?1:(c-u)/(r-u)))}if(--a,t+=8*(i+s)/(l.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Qd=null,Xd=null;function wc(e){return e.nodeType===9?e:e.ownerDocument}function G1(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function BN(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function VN(e,t,n,a){return n=wc(n).createElement(e),n[Ct]=a,n[Pt]=t,kt(n,e,t),pt(n),n}function Kd(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Vf=null;function e5(){var e=window.event;return e&&e.type==="popstate"?e===Vf?!1:(Vf=e,!0):(Vf=null,!1)}var Xm=typeof setTimeout=="function"?setTimeout:void 0,t5=typeof clearTimeout=="function"?clearTimeout:void 0,Y1=typeof Promise=="function"?Promise:void 0,Q1=typeof requestAnimationFrame=="function"?requestAnimationFrame:Xm,n5=typeof queueMicrotask=="function"?queueMicrotask:typeof Y1<"u"?function(e){return Y1.resolve(null).then(e).catch(a5)}:Xm;function a5(e){setTimeout(function(){throw e})}function Cl(e){return e==="head"}function X1(e,t){var n=t,a=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(l),ys(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")Gf(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,Gf(n);for(var i=n.firstChild;i;){var s=i.nextSibling,c=i.nodeName;i[Uc]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&i.rel.toLowerCase()==="stylesheet"||n.removeChild(i),i=s}}else n==="body"&&Gf(e.ownerDocument.body);n=l}while(n);ys(t)}function K1(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=a}while(n)}function qN(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display==="inline"){if(t=e.getClientRects(),t.length===1)var a=1;else for(var l=a=0;l<t.length;l++){var i=t[l];0<i.width&&0<i.height&&a++}a===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function GN(e,t){e=e.style,t=t.style;var n=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=n==null||typeof n=="boolean"?"":(""+n).trim(),n=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=n==null||typeof n=="boolean"?"":(""+n).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(n=t.display,e.display=n==null||typeof n=="boolean"?"":n,n=t.margin,n!=null?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=n==null||typeof n=="boolean"?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function YN(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Zd(e){var t=e.getBoundingClientRect(),n=getComputedStyle(e);return YN(t,n,e)}function l5(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return YN(t,n,e)}function i5(e){return e.documentElement.clientHeight}function s5(e){this.addEventListener("load",e),this.addEventListener("error",e)}function c5(e,t,n,a,l,i,s,c,r){var u=t.nodeType===9?t:t.ownerDocument;try{var o=u.startViewTransition({update:function(){var d=u.defaultView,m=d.navigation&&d.navigation.transition,N=u.fonts.status;a();var S=[];if(N==="loaded"&&(i5(u),u.fonts.status==="loading"&&S.push(u.fonts.ready)),N=S.length,e!==null)for(var k=e.suspenseyImages,g=0,v=0;v<k.length;v++){var b=k[v];if(!b.complete){var y=b.getBoundingClientRect();if(0<y.bottom&&0<y.right&&y.top<d.innerHeight&&y.left<d.innerWidth){if(g+=tS(b),g>bo){S.length=N;break}b=new Promise(s5.bind(b)),S.push(b)}}}if(0<S.length)return d=Promise.race([Promise.all(S),new Promise(function(z){return setTimeout(z,500)})]).then(l,l),(m?Promise.allSettled([m.finished,d]):d).then(i,i);if(l(),m)return m.finished.then(i,i);i()},types:n});u.__reactViewTransition=o;var f=[];return o.ready.then(function(){for(var d=u.documentElement.getAnimations({subtree:!0}),m=0;m<d.length;m++){var N=d[m],S=N.effect,k=S.pseudoElement;if(k!=null&&k.startsWith("::view-transition")){f.push(N),N=S.getKeyframes();for(var g=k=void 0,v=!0,b=0;b<N.length;b++){var y=N[b],z=y.width;if(k===void 0)k=z;else if(k!==z){v=!1;break}if(z=y.height,g===void 0)g=z;else if(g!==z){v=!1;break}delete y.width,delete y.height,y.transform==="none"&&delete y.transform}v&&k!==void 0&&g!==void 0&&(S.setKeyframes(N),v=getComputedStyle(S.target,S.pseudoElement),v.width!==k||v.height!==g)&&(v=N[0],v.width=k,v.height=g,v=N[N.length-1],v.width=k,v.height=g,S.setKeyframes(N))}}s()},function(d){u.__reactViewTransition===o&&(u.__reactViewTransition=null);try{typeof d=="object"&&d!==null&&d.name==="InvalidStateError"&&(d.message==="View transition was skipped because document visibility state is hidden."||d.message==="Skipping view transition because document visibility state has become hidden."||d.message==="Skipping view transition because viewport size changed."||d.message==="Transition was aborted because of invalid state")&&(d=null),d!==null&&r(d)}finally{a(),l(),s()}}),o.finished.finally(function(){for(var d=0;d<f.length;d++)f[d].cancel();u.__reactViewTransition===o&&(u.__reactViewTransition=null),c()}),o}catch{return a(),l(),s(),null}}function Kl(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}Kl.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:_e({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)};Kl.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),a=[],l=0;l<n.length;l++){var i=n[l].effect;i!==null&&i.target===e&&i.pseudoElement===t&&a.push(n[l])}return a};Kl.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function QN(e){return{name:e,group:new Kl("group",e),imagePair:new Kl("image-pair",e),old:new Kl("old",e),new:new Kl("new",e)}}function gn(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}gn.prototype.addEventListener=function(e,t,n){var a=null,l=null;if(!(n!=null&&typeof n!="boolean"&&(a=n.signal||null,a!==null&&a.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var i=this._eventListeners;if(XN(i,e,t,n)===-1){var s=this,c=t;n!=null&&typeof n!="boolean"&&n.once===!0&&(c=function(r){s.removeEventListener(e,t,n),typeof t=="function"?t.call(this,r):t.handleEvent(r)}),a!==null&&(l=s.removeEventListener.bind(s,e,t,n),a.addEventListener("abort",l,{once:!0}),l=a.removeEventListener.bind(a,"abort",l)),a=gs(n),i.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:c,cleanup:l}),$t(this._fragmentFiber.child,!1,r5,e,c,a)}this._eventListeners=i}};function r5(e,t,n,a){return rt(e).addEventListener(t,n,a),!1}gn.prototype.removeEventListener=function(e,t,n){var a=this._eventListeners;if(a!==null&&(t=XN(a,e,t,n),t!==-1)){var l=a[t];n=l.attachedListener;var i=l.cleanup;l=gs(l.optionsOrUseCapture),$t(this._fragmentFiber.child,!1,o5,e,n,l),a.splice(t,1),i!==null&&i()}};function o5(e,t,n,a){return rt(e).removeEventListener(t,n,a),!1}function gs(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function Z1(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function XN(e,t,n,a){if(e.length===0)return-1;a=Z1(a);for(var l=0;l<e.length;l++){var i=e[l];if(i.type===t&&i.listener===n&&Z1(i.optionsOrUseCapture)===a)return l}return-1}gn.prototype.dispatchEvent=function(e){var t=si(this._fragmentFiber);if(t===null)return!0;t=rt(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var a=t.nodeType===9?t.createComment(""):document.createTextNode("");if(n)for(var l=0;l<n.length;l++){var i=n[l];a.addEventListener(i.type,i.attachedListener,gs(i.optionsOrUseCapture))}if(t.appendChild(a),e=a.dispatchEvent(e),n)for(l=0;l<n.length;l++)i=n[l],a.removeEventListener(i.type,i.attachedListener,gs(i.optionsOrUseCapture));return t.removeChild(a),e}return t.dispatchEvent(e)};gn.prototype.focus=function(e){$t(this._fragmentFiber.child,!0,KN,e,void 0,void 0)};function KN(e,t){return e.tag===6?!1:(e=rt(e),S5(e,t))}gn.prototype.focusLast=function(e){var t=[];$t(this._fragmentFiber.child,!0,Km,t,void 0,void 0);for(var n=t.length-1;0<=n&&!KN(t[n],e);n--);};function Km(e,t){return t.push(e),!1}gn.prototype.blur=function(){var e=si(this._fragmentFiber);e!==null&&(e=rt(e),e=wc(e).activeElement,e!==null&&$t(this._fragmentFiber.child,!1,u5,e,void 0,void 0))};function u5(e,t){return e.tag===6?!1:(e=rt(e),e===t||e.contains(t)?(t.blur(),!0):!1)}gn.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),$t(this._fragmentFiber.child,!1,f5,e,void 0,void 0)};function f5(e,t){return e.tag===6||(e=rt(e),t.observe(e)),!1}gn.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),$t(this._fragmentFiber.child,!1,d5,e,void 0,void 0);for(var n=t=0;n<Vn.length;n++){var a=Vn[n];a.fragmentInstance===this&&a.observer===e?e.unobserve(a.instance):Vn[t++]=a}Vn.length=t}};function d5(e,t){return e.tag===6||(e=rt(e),t.unobserve(e)),!1}var Vn=[],qf=!1;function m5(e,t,n){Vn.push({fragmentInstance:e,observer:t,instance:n}),qf||(qf=!0,x5(function(){qf=!1;var a=Vn;Vn=[];for(var l=0;l<a.length;l++){var i=a[l];i.observer.unobserve(i.instance)}}))}gn.prototype.getClientRects=function(){var e=[];return $t(this._fragmentFiber.child,!1,h5,e,void 0,void 0),e};function h5(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=rt(e),t.push.apply(t,e.getClientRects());return!1}gn.prototype.getRootNode=function(e){var t=si(this._fragmentFiber);return t===null?this:rt(t).getRootNode(e)};gn.prototype.compareDocumentPosition=function(e){var t=si(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];$t(this._fragmentFiber.child,!1,Km,n,void 0,void 0);var a=rt(t);if(n.length===0){if(n=a,Mb(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var l=a=n.compareDocumentPosition(e);return n===e?l=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=hp(t)[1],n===null?l=Node.DOCUMENT_POSITION_PRECEDING:(e=rt(n).compareDocumentPosition(e),l=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),l|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=rt(n[0]),l=rt(n[n.length-1]);var i=Mb(this._fragmentFiber)?t.parentElement:a;if(i==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY;var s=t.compareDocumentPosition(e),c=l.compareDocumentPosition(e),r=s&Node.DOCUMENT_POSITION_CONTAINED_BY||c&Node.DOCUMENT_POSITION_CONTAINED_BY;return c=a&&i&&s&Node.DOCUMENT_POSITION_FOLLOWING&&c&Node.DOCUMENT_POSITION_PRECEDING,t=a&&t===e||i&&l===e||r||c?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&t===e||!i&&l===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:s,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||g5(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function g5(e,t,n,a,l){var i=Xl(l);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!i)e:{for(;i!==null;){if(i.tag===7&&(i===t||i.alternate===t)){n=!0;break e}i=i.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(i===null)return i=l.ownerDocument,l===i||l===i.documentElement||l===i.body;e:{for(i=t,t=si(t);i!==null;){if(!(i.tag!==5&&i.tag!==3&&i.tag!==27||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===n)&&(t=Qf(n,i,kb),t===null?t=!1:($t(t,!0,Xx,i,n),i=Bi,Bi=null,t=i!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!i)&&!(t=i===a)&&(t=Qf(a,i,kb),t===null?t=!1:($t(t,!0,Kx,i,a),i=Bi,Yf=Bi=null,t=i!==null)),t):!1}function F1(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}gn.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(w(566));var t=[];$t(this._fragmentFiber.child,!1,Km,t,void 0,void 0);var n=e!==!1;if(t.length===0){var a=hp(this._fragmentFiber);if(a=n?a[1]||a[0]||si(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){e=rt(a),F1(e,n);return}if(a=rt(a),a.nodeType!==9){if(a.nodeType===11){n="host"in a?a.host:null,n!==null&&n.scrollIntoView(e);return}a.scrollIntoView(e)}}for(a=n?t.length-1:0;a!==(n?-1:t.length);){var l=t[a];l.tag===6?(l=rt(l),F1(l,n)):rt(l).scrollIntoView(e),a+=n?-1:1}};function v5(e,t){return e=rt(e),ZN(e,t),!1}function ZN(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function FN(e,t){var n=t._eventListeners;if(n!==null)for(var a=0;a<n.length;a++){var l=n[a];e.addEventListener(l.type,l.attachedListener,gs(l.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(i){for(var s=0,c=0;c<Vn.length;c++){var r=Vn[c];(r.fragmentInstance!==t||r.observer!==i||r.instance!==e)&&(Vn[s++]=r)}Vn.length=s,i.observe(e)}),ZN(e,t))}function b5(e,t){var n=t._eventListeners;if(n!==null)for(var a=0;a<n.length;a++){var l=n[a];e.removeEventListener(l.type,l.attachedListener,gs(l.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(i){typeof i.rootMargin=="string"?m5(t,i,e):i.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function Fd(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Fd(n),Jo(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function p5(e,t,n,a){for(;e.nodeType===1;){var l=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Uc])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=En(e.nextSibling),e===null)break}return null}function y5(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=En(e.nextSibling),e===null))return null;return e}function IN(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=En(e.nextSibling),e===null))return null;return e}function Id(e){return e.data==="$?"||e.data==="$~"}function Zm(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function N5(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function En(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Jd=null;function I1(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return En(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function J1(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function S5(e,t){function n(){a=!0}if(e.ownerDocument.activeElement===e)return!0;var a=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return a}function x5(e){Q1(function(){Q1(function(t){return e(t)})})}function JN(e,t,n){switch(t=wc(n),e){case"html":if(e=t.documentElement,!e)throw Error(w(452));return e;case"head":if(e=t.head,!e)throw Error(w(453));return e;case"body":if(e=t.body,!e)throw Error(w(454));return e;default:throw Error(w(451))}}function $N(e,t,n){for(var a in n){var l=n[a];n.hasOwnProperty(a)&&l!=null&&ke(e,t,a,null,$2,l)}n.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===na&&(e.onclick=null),Jo(e)}function Gf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Jo(e)}var Mn=new Map,$1=new Set;function zc(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Da=Ce.d;Ce.d={f:C5,r:T5,D:E5,C:M5,L:k5,m:R5,X:z5,S:w5,M:A5};function C5(){var e=Da.f(),t=uu();return e||t}function T5(e){var t=Ss(e);t!==null&&t.tag===5&&t.type==="form"?jy(t):Da.r(e)}var Es=typeof document>"u"?null:document;function PN(e,t,n){var a=Es;if(a&&typeof t=="string"&&t){var l=xn(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof n=="string"&&(l+='[crossorigin="'+n+'"]'),$1.has(l)||($1.add(l),e={rel:e,crossOrigin:n,href:t},a.querySelector(l)===null&&(t=a.createElement("link"),kt(t,"link",e),pt(t),a.head.appendChild(t)))}}function E5(e){Da.D(e),PN("dns-prefetch",e,null)}function M5(e,t){Da.C(e,t),PN("preconnect",e,t)}function k5(e,t,n){Da.L(e,t,n);var a=Es;if(a&&e&&t){var l='link[rel="preload"][as="'+xn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(l+='[imagesrcset="'+xn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(l+='[imagesizes="'+xn(n.imageSizes)+'"]')):l+='[href="'+xn(e)+'"]';var i=l;switch(t){case"style":i=vs(e);break;case"script":i=Ms(e)}if(!(Mn.has(i)||(e=_e({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Mn.set(i,e),a.querySelector(l)!==null||t==="style"&&a.querySelector(Qc(i))||t==="script"&&a.querySelector(Xc(i))))){var s=a.createElement("link");kt(s,"link",e),t==="style"&&(s[To]=!0,s.onload=s.onerror=function(){kp(s)}),pt(s),a.head.appendChild(s)}}}function R5(e,t){Da.m(e,t);var n=Es;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+xn(a)+'"][href="'+xn(e)+'"]',i=l;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Ms(e)}if(!Mn.has(i)&&(e=_e({rel:"modulepreload",href:e},t),Mn.set(i,e),n.querySelector(l)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Xc(i)))return}a=n.createElement("link"),kt(a,"link",e),pt(a),n.head.appendChild(a)}}}function w5(e,t,n){Da.S(e,t,n);var a=Es;if(a&&e){var l=$i(a).hoistableStyles,i=vs(e);t=t||"default";var s=l.get(i);if(!s){var c={loading:0,preload:null};if(s=a.querySelector(Qc(i)))c.loading=5;else{e=_e({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Mn.get(i))&&Fm(e,n);var r=s=a.createElement("link");pt(r),kt(r,"link",e),r._p=new Promise(function(u,o){r.onload=u,r.onerror=o}),r.addEventListener("load",function(){c.loading|=1}),r.addEventListener("error",function(){c.loading|=2}),c.loading|=4,go(s,t,a)}s={type:"stylesheet",instance:s,count:1,state:c},l.set(i,s)}}}function z5(e,t){Da.X(e,t);var n=Es;if(n&&e){var a=$i(n).hoistableScripts,l=Ms(e),i=a.get(l);i||(i=n.querySelector(Xc(l)),i||(e=_e({src:e,async:!0},t),(t=Mn.get(l))&&Im(e,t),i=n.createElement("script"),pt(i),kt(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(l,i))}}function A5(e,t){Da.M(e,t);var n=Es;if(n&&e){var a=$i(n).hoistableScripts,l=Ms(e),i=a.get(l);i||(i=n.querySelector(Xc(l)),i||(e=_e({src:e,async:!0,type:"module"},t),(t=Mn.get(l))&&Im(e,t),i=n.createElement("script"),pt(i),kt(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(l,i))}}function P1(e,t,n,a){var l=(l=cl.current)?zc(l):null;if(!l)throw Error(w(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=vs(n.href),t=$i(l).hoistableStyles,a=t.get(n),a||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=vs(n.href);var i=$i(l).hoistableStyles,s=i.get(e);if(s||(l=l.ownerDocument||l,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,s),(i=l.querySelector(Qc(e)))?i._p||(s.instance=i,s.state.loading=5):(i=Mn.get(e),i||(i={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Mn.set(e,i)),_5(l,e,i,s.state))),t&&a===null)throw Error(w(528,""));return s}if(t&&a!==null)throw Error(w(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=Ms(n),t=$i(l).hoistableScripts,a=t.get(n),a||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(w(444,e))}}function vs(e){return'href="'+xn(e)+'"'}function Qc(e){return'link[rel="stylesheet"]['+e+"]"}function WN(e){return _e({},e,{"data-precedence":e.precedence,precedence:null})}function _5(e,t,n,a){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[To]!==!0){a.loading=1;return}}else t=e.createElement("link"),t[To]=!0,t.onload=t.onerror=kp.bind(null,t),kt(t,"link",n),pt(t),e.head.appendChild(t);a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2})}function Ms(e){return'[src="'+xn(e)+'"]'}function Xc(e){return"script[async]"+e}function W1(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+xn(n.href)+'"]');if(a)return t.instance=a,pt(a),a;var l=_e({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),pt(a),kt(a,"style",l),go(a,n.precedence,e),t.instance=a;case"stylesheet":l=vs(n.href);var i=e.querySelector(Qc(l));if(i)return t.state.loading|=4,t.instance=i,pt(i),i;a=WN(n),(l=Mn.get(l))&&Fm(a,l),i=(e.ownerDocument||e).createElement("link"),pt(i);var s=i;return s._p=new Promise(function(c,r){s.onload=c,s.onerror=r}),kt(i,"link",a),t.state.loading|=4,go(i,n.precedence,e),t.instance=i;case"script":return i=Ms(n.src),(l=e.querySelector(Xc(i)))?(t.instance=l,pt(l),l):(a=n,(l=Mn.get(i))&&(a=_e({},n),Im(a,l)),e=e.ownerDocument||e,l=e.createElement("script"),pt(l),kt(l,"link",a),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(w(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,go(a,n.precedence,e));return t.instance}function go(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=a.length?a[a.length-1]:null,i=l,s=0;s<a.length;s++){var c=a[s];if(c.dataset.precedence===t)i=c;else if(i!==l)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Fm(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Im(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var vo=null;function ep(e,t,n){if(vo===null){var a=new Map,l=vo=new Map;l.set(n,a)}else l=vo,a=l.get(n),a||(a=new Map,l.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),l=0;l<n.length;l++){var i=n[l];if(!(i[Uc]||i[Ct]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var s=i.getAttribute(t)||"";s=e+s;var c=a.get(s);c?c.push(i):a.set(s,[i])}}return a}function $d(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function D5(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function tp(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function eS(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function tS(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function np(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=tS(t),e.suspenseyImages.push(t)),e=L5.bind(e),t.decode().then(e,e))}function O5(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var l=vs(a.href),i=t.querySelector(Qc(l));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Ac.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=i,pt(i);return}i=t.ownerDocument||t,a=WN(a),(l=Mn.get(l))&&Fm(a,l),i=i.createElement("link"),pt(i);var s=i;s._p=new Promise(function(c,r){s.onload=c,s.onerror=r}),kt(i,"link",a),n.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Ac.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var bo=0;function j5(e,t){return e.stylesheets&&e.count===0&&po(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&po(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&bo===0&&(bo=62500*W2());var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&po(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>bo?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(l)}}:null}function nS(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)po(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Ac(){this.count--,nS(this)}function L5(){this.imgCount--,nS(this)}var Zo=null;function po(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Zo=new Map,t.forEach(H5,e),Zo=null,Ac.call(e))}function H5(e,t){if(!(t.state.loading&4)){var n=Zo.get(e);if(n)var a=n.get(null);else{n=new Map,Zo.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<l.length;i++){var s=l[i];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(n.set(s.dataset.precedence,s),a=s)}a&&n.set(null,a)}l=t.instance,s=l.getAttribute("data-precedence"),i=n.get(s)||a,i===a&&n.set(null,l),n.set(s,l),this.count++,a=Ac.bind(this),l.addEventListener("load",a),l.addEventListener("error",a),i?i.parentNode.insertBefore(l,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=4}}var bs={$$typeof:ta,Provider:null,Consumer:null,_currentValue:Zl,_currentValue2:Zl,_threadCount:0};function U5(e,t,n,a,l,i,s,c,r){this.tag=1,this.containerInfo=e,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=vf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vf(0),this.hiddenUpdates=vf(null),this.identifierPrefix=a,this.onUncaughtError=l,this.onCaughtError=i,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=r,this.transitionTypes=null,this.incompleteTransitions=new Map}function aS(e,t,n,a,l,i,s,c,r,u,o,f){return e=new U5(e,t,n,s,r,u,o,f,c),t=1,i===!0&&(t|=24),i=It(3,null,null,t),e.current=i,i.stateNode=e,t=gm(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:a,isDehydrated:n,cache:t},pm(i),e}function lS(e){return e?(e=Zi,e):Zi}function iS(e,t,n,a,l,i){l=lS(l),a.context===null?a.context=l:a.pendingContext=l,a=ol(t),a.payload={element:n},i=i===void 0?null:i,i!==null&&(a.callback=i),n=ul(e,a,t),n!==null&&(Jt(n,e,t),oc(n,e,t))}function ap(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Jm(e,t){ap(e,t),(e=e.alternate)&&ap(e,t)}function sS(e){if(e.tag===13||e.tag===31){var t=oi(e,67108864);t!==null&&Jt(t,e,67108864),Jm(e,67108864)}}function lp(e){if(e.tag===13||e.tag===31){var t=mn();t=am(t);var n=oi(e,t);n!==null&&Jt(n,e,t),Jm(e,t)}}var ps=!0;function B5(e,t,n,a){var l=te.T;te.T=null;var i=Ce.p;try{Ce.p=2,$m(e,t,n,a)}finally{Ce.p=i,te.T=l}}function V5(e,t,n,a){var l=te.T;te.T=null;var i=Ce.p;try{Ce.p=8,$m(e,t,n,a)}finally{Ce.p=i,te.T=l}}function $m(e,t,n,a){if(ps){var l=Pd(a);if(l===null)Bf(e,t,a,Fo,n),ip(e,a);else if(G5(l,e,t,n,a))a.stopPropagation();else if(ip(e,a),t&4&&-1<q5.indexOf(e)){for(;l!==null;){var i=Ss(l);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var s=Gl(i.pendingLanes);if(s!==0){var c=i;for(c.pendingLanes|=2,c.entangledLanes|=2;s;){var r=1<<31-dn(s);c.entanglements[1]|=r,s&=~r}oa(i),(xe&6)===0&&(Go=un()+500,Yc(0,!1))}}break;case 31:case 13:c=oi(i,2),c!==null&&Jt(c,i,2),uu(),Jm(i,2)}if(i=Pd(a),i===null&&Bf(e,t,a,Fo,n),i===l)break;l=i}l!==null&&a.stopPropagation()}else Bf(e,t,a,null,n)}}function Pd(e){return e=sm(e),Pm(e)}var Fo=null;function Pm(e){if(Fo=null,e=Xl(e),e!==null){var t=Oc(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=fp(t),e!==null)return e;e=null}else if(n===31){if(e=dp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Fo=e,null}function cS(e){switch(e){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"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"fullscreenerror":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"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(tC()){case pp:return 2;case yp:return 8;case Co:case nC:return 32;case Np:return 268435456;default:return 32}default:return 32}}var Wd=!1,hl=null,gl=null,vl=null,_c=new Map,Dc=new Map,el=[],q5="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 ip(e,t){switch(e){case"focusin":case"focusout":hl=null;break;case"dragenter":case"dragleave":gl=null;break;case"mouseover":case"mouseout":vl=null;break;case"pointerover":case"pointerout":_c.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dc.delete(t.pointerId)}}function Ps(e,t,n,a,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:i,targetContainers:[l]},t!==null&&(t=Ss(t),t!==null&&sS(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function G5(e,t,n,a,l){switch(t){case"focusin":return hl=Ps(hl,e,t,n,a,l),!0;case"dragenter":return gl=Ps(gl,e,t,n,a,l),!0;case"mouseover":return vl=Ps(vl,e,t,n,a,l),!0;case"pointerover":var i=l.pointerId;return _c.set(i,Ps(_c.get(i)||null,e,t,n,a,l)),!0;case"gotpointercapture":return i=l.pointerId,Dc.set(i,Ps(Dc.get(i)||null,e,t,n,a,l)),!0}return!1}function rS(e){var t=Xl(e.target);if(t!==null){var n=Oc(t);if(n!==null){if(t=n.tag,t===13){if(t=fp(n),t!==null){e.blockedOn=t,Ab(e.priority,function(){lp(n)});return}}else if(t===31){if(t=dp(n),t!==null){e.blockedOn=t,Ab(e.priority,function(){lp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function yo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Pd(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);nd=a,n.target.dispatchEvent(a),nd=null}else return t=Ss(n),t!==null&&sS(t),e.blockedOn=n,!1;t.shift()}return!0}function sp(e,t,n){yo(e)&&n.delete(t)}function Y5(){Wd=!1,hl!==null&&yo(hl)&&(hl=null),gl!==null&&yo(gl)&&(gl=null),vl!==null&&yo(vl)&&(vl=null),_c.forEach(sp),Dc.forEach(sp)}function Pr(e,t){e.blockedOn===t&&(e.blockedOn=null,Wd||(Wd=!0,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,Y5)))}var Wr=null;function cp(e){Wr!==e&&(Wr=e,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,function(){Wr===e&&(Wr=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],l=e[t+2];if(typeof a!="function"){if(Pm(a||n)===null)continue;break}var i=Ss(n);i!==null&&(e.splice(t,3),t-=3,pd(i,{pending:!0,data:l,method:n.method,action:a},a,l))}}))}function ys(e){function t(r){return Pr(r,e)}hl!==null&&Pr(hl,e),gl!==null&&Pr(gl,e),vl!==null&&Pr(vl,e),_c.forEach(t),Dc.forEach(t);for(var n=0;n<el.length;n++){var a=el[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<el.length&&(n=el[0],n.blockedOn===null);)rS(n),n.blockedOn===null&&el.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var l=n[a],i=n[a+1],s=l[Pt]||null;if(typeof i=="function")s||cp(n);else if(s){var c=null;if(i&&i.hasAttribute("formAction")){if(l=i,s=i[Pt]||null)c=s.formAction;else if(Pm(l)!==null)continue}else c=s.action;typeof c=="function"?n[a+1]=c:(n.splice(a,3),a-=3),cp(n)}}}function oS(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(s){return l=s})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function Wm(e){this._internalRoot=e}mu.prototype.render=Wm.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(w(409));var n=t.current,a=mn();iS(n,a,e,t,null,null)};mu.prototype.unmount=Wm.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;iS(e.current,2,null,e,null,null),uu(),t[Ns]=null}};function mu(e){this._internalRoot=e}mu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Mp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<el.length&&t!==0&&t<el[n].priority;n++);el.splice(n,0,e),n===0&&rS(e)}};var rp=op.version;if(rp!=="19.3.1")throw Error(w(527,rp,"19.3.1"));Ce.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(w(188)):(e=Object.keys(e).join(","),Error(w(268,e)));return e=Qx(t),e=e!==null?mp(e):null,e=e===null?null:e.stateNode,e};var Q5={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:te,reconcilerVersion:"19.3.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Ws=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Ws.isDisabled&&Ws.supportsFiber))try{jc=Ws.inject(Q5),fn=Ws}catch{}var Ws;hu.createRoot=function(e,t){if(!up(e))throw Error(w(299));var n=!1,a="",l=Yy,i=Qy,s=Xy;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=aS(e,1,!1,null,null,n,a,null,l,i,s,oS),e[Ns]=t.current,Qm(e),new Wm(t)};hu.hydrateRoot=function(e,t,n){if(!up(e))throw Error(w(299));var a=!1,l="",i=Yy,s=Qy,c=Xy,r=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(s=n.onCaughtError),n.onRecoverableError!==void 0&&(c=n.onRecoverableError),n.formState!==void 0&&(r=n.formState)),t=aS(e,1,!0,t,n??null,a,l,r,i,s,c,oS),t.context=lS(null),n=t.current,a=mn(),a=am(a),l=ol(a),l.callback=null,ul(n,l,a),n=a,t.current.lanes=n,Hc(t,n),oa(t),e[Ns]=t.current,Qm(e),new mu(t)};hu.version="19.3.1"});var mS=Yn((M4,dS)=>{"use strict";function fS(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(fS)}catch(e){console.error(e)}}fS(),dS.exports=uS()});var nf={};HS(nf,{ADMIN_STRINGS:()=>ut,AGENTS_STRINGS:()=>Ot,APPROVALS_STRINGS:()=>bi,APP_CHROME_STRINGS:()=>vi,Accordion:()=>qv,AccountSwitcher:()=>Sv,ActivityFeed:()=>Kg,AgentCard:()=>Bg,AgentDetails:()=>Vg,AgentMark:()=>Xt,AgentStatus:()=>og,Alert:()=>vr,Ambient:()=>sb,AnnouncementBar:()=>ub,AppShell:()=>cb,ApprovalCard:()=>sv,ApprovalInbox:()=>cv,AreaChart:()=>U0,AspectRatio:()=>Yv,AttachmentPreview:()=>Ev,AuthCard:()=>db,Avatar:()=>Ve,AvatarStack:()=>Ph,BUILDING_BLOCKS_STRINGS:()=>pi,BackupList:()=>wg,Badge:()=>Oe,BalanceCard:()=>Eg,BarChart:()=>D0,BarList:()=>Sg,BeforeAfter:()=>Rv,BlockList:()=>zg,Breadcrumb:()=>pr,BudgetStop:()=>Fg,Button:()=>K,ButtonGroup:()=>Zv,CHARTS_STRINGS:()=>vn,CHAT_STRINGS:()=>qt,COMMERCE_STRINGS:()=>en,CURRENCY:()=>rh,Calendar:()=>Uu,Card:()=>x0,Carousel:()=>Jv,CartLine:()=>W0,ChatLauncher:()=>rb,ChatList:()=>qg,ChatMessage:()=>lg,ChatWorkspace:()=>Gg,Checkbox:()=>xr,CheckoutSteps:()=>tg,Chip:()=>Bl,CodeBlock:()=>qs,CodeViewer:()=>mg,Collapsible:()=>ki,ColorField:()=>Ug,Combobox:()=>a0,CommandPalette:()=>dv,Composer:()=>rg,ConfigPRSummary:()=>av,ConfirmDialog:()=>m0,ConnectionBanner:()=>zv,ConnectionCard:()=>wv,ContextMenu:()=>X0,CookieConsent:()=>ob,CountUp:()=>ga,CouponCard:()=>_g,DATA_DISPLAY_STRINGS:()=>Xn,DATA_TABLE_STRINGS:()=>kl,DEFAULT_STRINGS:()=>$c,DEVELOPER_STRINGS:()=>ja,DailyBriefing:()=>Zg,DataTable:()=>Qs,DatePicker:()=>hr,DeployPipeline:()=>_v,DnsRecordTable:()=>Dv,Dock:()=>ef,DomainList:()=>Ov,Donut:()=>j0,Drawer:()=>wr,EmailPreview:()=>Bv,EmptyState:()=>Ti,EnergyClass:()=>tb,EventCard:()=>C0,ExportDialog:()=>Lg,FEEDBACK_STRINGS:()=>La,FOCUSABLE:()=>cr,FORMS_STRINGS:()=>zn,FORM_STRINGS:()=>yi,FeedbackRating:()=>Xg,FileCard:()=>gv,FileDrop:()=>c0,FileRow:()=>w0,FileThumb:()=>Iu,FilterBar:()=>rv,FloatingLayout:()=>ib,Flow:()=>hv,Form:()=>Ih,FormField:()=>mt,Funnel:()=>V0,Gallery:()=>kv,Gauge:()=>q0,Heatmap:()=>B0,HoverCard:()=>Iv,ICON_NAMES:()=>fr,ICON_PATHS:()=>xi,Icon:()=>x,IconButton:()=>W,ImageVariants:()=>Mv,InboxList:()=>xv,InlineEdit:()=>Er,Input:()=>G0,InvoicePreview:()=>yv,KanbanColumn:()=>z0,Kbd:()=>Cr,KeyValue:()=>Fn,LOCALE:()=>El,Label:()=>Qv,LedgerTable:()=>Lv,Legend:()=>Sr,LineChart:()=>O0,ListRow:()=>k0,ListingCard:()=>$v,LiveFeed:()=>Cg,LocaleField:()=>Dg,LocaleSwitcher:()=>Og,LogView:()=>dg,MAIL_STRINGS:()=>Rl,MEDIA_STRINGS:()=>wl,MailAuthStatus:()=>jv,MailThread:()=>Cv,MapView:()=>Tg,MemoryViewer:()=>Ig,Menu:()=>At,Menubar:()=>v0,Meter:()=>Xa,MobileTabBar:()=>tv,Modal:()=>u0,ModelPicker:()=>Zu,ModuleRegistry:()=>lv,MoneyInput:()=>gg,NAV:()=>tf,NAVIGATION_STRINGS:()=>Ha,NavigationMenu:()=>b0,NotificationList:()=>mv,NumberInput:()=>i0,OPERATIONS_STRINGS:()=>tn,OrderSummary:()=>eg,OrderTimeline:()=>ng,OrgChart:()=>Wg,OtpInput:()=>gr,OverrideDiff:()=>Jg,PREVIEWS_STRINGS:()=>Ni,PRIMITIVES_STRINGS:()=>zs,PageHeader:()=>E0,Pagination:()=>g0,Panel:()=>T0,PermissionMatrix:()=>bv,PlanCard:()=>ag,PnLStatement:()=>Hv,Popover:()=>Ue,Portal:()=>An,Price:()=>Xu,ProductArt:()=>Ri,ProductCard:()=>$0,Progress:()=>yr,ProgressRing:()=>A0,PromptStarters:()=>cg,PushNotification:()=>nv,REAL_ESTATE_STRINGS:()=>fa,RICH_TEXT_EDITOR_STRINGS:()=>As,RadioGroup:()=>t0,RangeSlider:()=>Ng,Rating:()=>Bs,Reasoning:()=>sg,ReceiptSuggestion:()=>Uv,ResizablePanels:()=>F0,ResultsToolbar:()=>Pv,ReviewCard:()=>Ag,RichText:()=>Ku,RichTextEditor:()=>ab,RunHistory:()=>kg,RunTrace:()=>ug,SELECT_MENU_STRINGS:()=>_s,SHARED_STRINGS:()=>ws,SHELL_STRINGS:()=>zl,SITE_STRINGS:()=>Al,SavedSearch:()=>Wv,ScheduleCalendar:()=>Pg,ScrollArea:()=>Fv,SearchAdPreview:()=>Vv,SearchField:()=>Dn,SearchHits:()=>Yg,SecretField:()=>hg,Segmented:()=>Zn,Select:()=>Y0,SelectMenu:()=>ov,Separator:()=>Gv,ServerCard:()=>Av,ServiceMonitor:()=>Mg,SettingsLayout:()=>vg,ShortcutsOverlay:()=>bg,SideRail:()=>Wu,Sidebar:()=>p0,SignatureEditor:()=>Tv,Skeleton:()=>o0,Slider:()=>s0,Sparkline:()=>Mi,Spinner:()=>Tr,SplitPane:()=>K0,StackedBarChart:()=>H0,Stagger:()=>Bu,StatCell:()=>pg,StatTile:()=>S0,StatusIndicator:()=>Be,StatusScreen:()=>fb,StatusSelect:()=>Rr,StatusShape:()=>ze,StockBadge:()=>J0,SubNav:()=>fv,Switch:()=>Qa,THEME_PRESETS:()=>Oh,THEME_VARS:()=>wu,Table:()=>M0,Tabs:()=>br,TagInput:()=>l0,TextField:()=>mr,Textarea:()=>Q0,ThinkingLine:()=>Qg,TilePicker:()=>xg,Timeline:()=>R0,TintIcon:()=>ce,Toast:()=>f0,Toaster:()=>h0,Toggle:()=>Xv,ToggleGroup:()=>Kv,ToolCall:()=>ig,Tooltip:()=>et,TopBar:()=>Pu,TransactionRow:()=>Nv,TreeView:()=>Z0,TriggerList:()=>$g,TwoFactorSetup:()=>Hg,TypingDots:()=>Gs,UIProvider:()=>Lh,UptimeBar:()=>kr,UsageMeter:()=>fg,ValuationCard:()=>eb,VariantPicker:()=>P0,VoiceMode:()=>ev,WEEK_START:()=>ks,WORKSPACE_STRINGS:()=>Gt,WebhookEndpoint:()=>Rg,Wizard:()=>vv,WorkspaceSwitcher:()=>jg,brandTheme:()=>Ba,cx:()=>p,durationToken:()=>di,foregroundFor:()=>nr,formatDate:()=>Qn,formatLike:()=>Ic,formatMoney:()=>Ml,formatNumber:()=>wn,formatPercent:()=>Rs,formattersFor:()=>er,getServerToasts:()=>ur,getToasts:()=>or,initials:()=>Zc,leaving:()=>ft,mergeMessages:()=>Ds,mergeStrings:()=>Pc,money:()=>Mr,numberSeparators:()=>Nu,parseFormatted:()=>Fc,parseThemeCss:()=>Dh,reduced:()=>Rn,startViewTransition:()=>Yh,subscribeToasts:()=>rr,themeCss:()=>_h,themeStyle:()=>Os,toast:()=>St,useControlled:()=>$,useFieldError:()=>ha,useFormat:()=>J,useId:()=>Se,useKeepInView:()=>Ll,useMotion:()=>Qh,useMounted:()=>Ga,useOutside:()=>_n,usePresence:()=>Nt,useScrollFocus:()=>ma,useStrings:()=>M,useTrap:()=>Ol,useUI:()=>da,useUIStrings:()=>Ru,useWidth:()=>jl});function p(...e){return e.filter(t=>typeof t=="string"&&t!=="").join(" ")}function Rn(e){try{return typeof window>"u"?!1:window.matchMedia?.("(prefers-reduced-motion: reduce)").matches?!0:(e??document.documentElement).closest("[data-motion]")?.getAttribute("data-motion")==="off"}catch{return!1}}function sh(e){try{let t=e?.closest(".tf-stagger > *, .tf-in");if(!t)return 0;let n=getComputedStyle(t).animationDelay.split(",")[0]?.trim()??"",a=parseFloat(n);return isNaN(a)?0:n.endsWith("ms")?a:a*1e3}catch{return 0}}function Zc(e){return(e||"?").split(/\s+/).filter(t=>/^[A-Za-z0-9À-ɏ]/.test(t)).map(t=>t[0]).slice(0,2).join("").toUpperCase()||"?"}function di(e,t,n){try{if(typeof window>"u")return t;let a=getComputedStyle(n||document.documentElement).getPropertyValue(e).trim();if(!a)return t;let l=parseFloat(a);return isNaN(l)?t:a.endsWith("ms")?l:a.endsWith("s")?l*1e3:l}catch{return t}}var El="en-US",rh="EUR",ks=1;function wn(e,t,n){try{return new Intl.NumberFormat(n||El,t).format(e)}catch{return String(e)}}function Ml(e,t,n,a){return wn(e,{style:"currency",currency:t||"EUR",minimumFractionDigits:e%1?2:0,maximumFractionDigits:2,...n},a)}function Rs(e,t,n){return wn(e/100,{style:"percent",maximumFractionDigits:0,...t},n)}function Qn(e,t,n){let a=e instanceof Date?e:new Date(e);try{return new Intl.DateTimeFormat(n||El,t||{day:"2-digit",month:"2-digit",year:"numeric"}).format(a)}catch{return a.toDateString()}}function Nu(e){let t=",",n=".";try{for(let a of new Intl.NumberFormat(e||El).formatToParts(12345.6))a.type==="group"?t=a.value:a.type==="decimal"&&(n=a.value)}catch{}return{group:t,decimal:n}}var ch=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Fc(e,t){if(typeof e=="number"){if(!Number.isFinite(e))return null;let u=String(e);return/e/i.test(u)?null:{prefix:"",value:e,decimals:(u.split(".")[1]||"").length,grouped:!1,suffix:""}}let{group:n,decimal:a}=Nu(t),l=/^\s$/.test(n)?"[\\s\\u00a0\\u202f]":ch(n),s=new RegExp(`^([^0-9-]*)(-?[0-9](?:[0-9]|${l}(?=[0-9]))*)(?:${ch(a)}([0-9]+))?(.*)$`,"s").exec(e);if(!s)return null;let c=s[2].replace(new RegExp(l,"g"),""),r=s[3]??"";return{prefix:s[1]??"",value:parseFloat(r?`${c}.${r}`:c),decimals:r.length,grouped:c.length!==s[2].length,suffix:s[4]??""}}function Ic(e,t,n){let a=wn(e,{minimumFractionDigits:t.decimals,maximumFractionDigits:t.decimals,useGrouping:t.grouped},n);return t.prefix+a+t.suffix}var gi=G(re(),1),ws={close:"Close",cancel:"Cancel",send:"Send",copy:"Copy",copied:"Copied",dismiss:"Dismiss",remove:"Remove",removeItem:e=>`Remove ${e}`,search:"Search",edit:"Edit",apply:"Apply",undo:"Undo",thinking:"Thinking\u2026",paused:"Paused",status:"Status",preview:"Preview",results:"Results",selectPlaceholder:"Select\u2026",model:"Model",back:"Back",columns:"Columns",selectedCount:(e,t)=>`${t??e} selected`,mainNavigation:"Main",lastDays:e=>`Last ${e} days`,unread:"Unread",agent:"Agent",viewMap:"Map",enabled:"Enabled",more:"More",text:"Text",hide:"Hide",colName:"Name",net:"Net",total:"Total",role:"Role",all:"All",next:"Next"},ut={minimum:"Minimum",maximum:"Maximum",min:"Min",max:"Max",live:"Live",newCount:e=>`${e} new`,resume:"Resume",pause:"Pause",waitingForEvents:"Waiting for events\u2026",balanceEmpty:"Empty",balanceLow:"Low",balanceOk:"OK",perDay:e=>`${e} per day`,lastsAbout:e=>`lasts about ${e} days`,warnsBelow:e=>`Warns below ${e}`,topUp:"Top up",recentDeliveries:"Recent deliveries",retry:"Retry",download:"Download",restore:"Restore",searchBlocked:"Search blocked entries",block:"Block",nothingBlocked:"Nothing blocked.",until:e=>`until ${e}`,permanent:"permanent",unblock:"Unblock",reviewState:{pending:"Waiting",published:"Published",hidden:"Hidden",flagged:"Flagged"},verifiedPurchase:"Verified purchase",yourReply:"Your reply",writeReply:"Write a public reply",reply:"Reply",postReply:"Post reply",publish:"Publish",editReply:"Edit reply",usedOf:(e,t)=>`${e} of ${t} used`,used:e=>`${e} used`,validUntil:e=>`Valid until ${e}`,fromAmount:e=>`from ${e}`,revenue:e=>`${e} revenue`,languages:"Languages",missing:"Missing",doneOf:(e,t)=>`${e} of ${t}`,copyFrom:e=>`Copy from ${e}`,translate:"Translate",languageAndCurrency:"Language and currency",language:"Language",currency:"Currency",export:"Export",rowsMatch:e=>`${e} rows match your filters.`,format:"Format",period:"Period",allTime:"All time",exportProgress:"Export progress",preparingFile:"Preparing the file\u2026",fileReady:"Your file is ready.",newExport:"New export",twoFactorSteps:["Scan","Confirm","Save codes"],qrCode:"QR code",scanText:"Scan the code with your authenticator app. If you can't scan it, enter the key by hand.",enterCode:"Enter the 6-digit code from the app.",codeFailed:"That code didn't work. Try the current one.",codesText:"Each code works once if you lose your phone. Keep them somewhere safe.",savedCodes:"I saved the recovery codes",turnOnTwoFactor:"Turn on two-factor",pickColour:"Pick a colour",contrastAgainst:e=>`Contrast against ${e}`,contrastAA:"AA",contrastAALarge:"AA large",contrastFails:"Fails"},Ot={chatWith:e=>`Chat with ${e}`,costToday:"Cost today",lastAction:"Last action",searchChats:"Search chats",noChatsMatch:"No chats match",nothingFound:"Nothing found",thanksNoted:"Thanks, noted",good:"Good",notGood:"Not good",whatShouldBeDifferent:"What should be different?",needsYou:"Needs you",suggestions:"Suggestions",budgetUsedUp:"Budget used up \xB7 agents paused",raiseBudget:"Raise budget",budgetText:"Everything is kept. Agents continue where they stopped once the budget allows it.",spentThisMonth:"Spent this month",stillRunning:"Still running",nothing:"Nothing",searchMemory:"Search memory",nothingRemembered:"Nothing remembered here yet.",forget:"Forget",discardOverride:"Discard override",moveToCode:"Move to code",runNow:"Run now",listening:"Listening\u2026",speaking:"Speaking\u2026",unmute:"Unmute",mute:"Mute",endConversation:"End conversation"},vi={coreModule:"Core module, always on"},bi={approveAsShown:"Yes, run it as shown",approveWithChange:"Yes, with a change",whatShouldChange:"What should change?",discard:"No, discard",differentInstruction:"Different instruction",whatInstead:"What should happen instead?",approvalNeeded:"Approval needed",riskFamily:{money:"Money",infra:"Infrastructure",comms:"Communication",marketing:"Marketing",apps:"Own apps",legal:"Legal"},approvals:"Approvals",nothingWaiting:"Nothing waiting for you"},pi={loading:"Loading",resizePanel:(e,t)=>`Resize ${e??`panel ${t}`}`},vn={barChart:"Bar chart",lineChart:"Line chart",trend:"Trend",breakdown:"Breakdown",stackedBarChart:"Stacked bar chart",areaChart:"Area chart",heatmap:"Heatmap",less:"Less",gaugeValue:(e,t,n)=>`${e}: ${t} of ${n}`,gauge:"Gauge"},qt={copyCode:"Copy code",working:"Working",you:"You",copyReply:"Copy reply",regenerate:"Regenerate",regenerateReply:"Regenerate reply",goodReply:"Good reply",badReply:"Bad reply",toolInput:"Input",toolError:"Error",toolResult:"Result",thoughtFor:e=>`Thought for ${e||"a few seconds"}`,commands:"Commands",messagePlaceholder:"Message\u2026",message:"Message",attachFiles:"Attach files",composerHint:"Enter to send \xB7 Shift+Enter for a new line",stop:"Stop",agentStatus:{Running:"Running",Thinking:"Thinking","Waiting for approval":"Waiting for approval",Idle:"Idle",Paused:"Paused",Error:"Error"},step:"Step",timeline:e=>`Timeline \xB7 ${e}`,stepRunning:"running\u2026",context:"Context"},en={ratingLabel:(e,t)=>`${e} out of 5`+(t!=null?`, ${t} reviews`:""),outOfStock:"Out of stock",lowStock:e=>`Low stock \xB7 ${e} left`,inStock:"In stock",inStockCount:e=>`In stock \xB7 ${e}`,soldOut:"Sold out",addToCart:e=>`Add ${e} to cart`,variantSoldOut:e=>`${e} (sold out)`,oneLess:"One less",oneMore:"One more",orderSummary:"Order summary",freeShippingIn:e=>(0,gi.createElement)(gi.Fragment,null,"Add ",e," for free shipping"),invalidCode:"That code isn\u2019t valid",discountCode:"Discount code",subtotal:"Subtotal",discount:"Discount",shipping:"Shipping",free:"Free",inclVat:e=>`incl. ${e} VAT`,checkoutSteps:["Cart","Details","Shipping","Payment"],checkoutProgress:"Checkout progress",orderStatus:{Placed:"Placed",Paid:"Paid",Packed:"Packed",Shipped:"Shipped",Delivered:"Delivered",Refunded:"Refunded",Cancelled:"Cancelled"},mostPopular:"Most popular",letsTalk:"Let\u2019s talk",perSeatMonth:"per seat / month",currentPlan:"Current plan",choosePlan:e=>`Choose ${e}`},Xn={open:"Open",downloadItem:e=>`Download ${e}`,columnOptions:"Column options",addCard:"Add card",progress:"Progress"},kl={removeFilter:e=>`Remove filter ${e}`,addFilter:"Filter",clearAll:"Clear all",chooseColumns:"Choose columns",selectAllRows:"Select all rows",expand:"Expand",nothingMatchesFilters:"Nothing matches these filters.",selectRow:"Select row",collapseRow:"Collapse row",expandRow:"Expand row",bulkActions:"Bulk actions",clear:"Clear"},ja={reveal:"Reveal",rotate:"Rotate",vatRate:"VAT rate",gross:e=>`Gross ${e}`,keyboardShortcuts:"Keyboard shortcuts",daysAgo:e=>`${e} days ago`},La={typeToConfirm:e=>(0,gi.createElement)(gi.Fragment,null,"Type ",e," to confirm"),confirm:"Confirm"},yi={fieldRequired:"This field is required",invalidEmail:"Enter a valid email address",minLength:e=>`Use at least ${e} characters`,maxLength:e=>`Use at most ${e} characters`,minValue:e=>`Use ${e} or more`,maxValue:e=>`Use ${e} or less`,invalidFormat:"Use the expected format"},zn={noMatches:"No matches",createOption:e=>`Create \u201C${e}\u201D`,tagPlaceholder:"Type and press Enter",previousMonth:"Previous month",nextMonth:"Next month",thisYear:"This year",pickRange:"Pick a range",pickDate:"Pick a date",decrease:"Decrease",increase:"Increase",verificationCode:"Verification code",digitN:e=>`Digit ${e}`,dropToUpload:"Drop to upload",dropFiles:"Drop files here or browse",dropHint:"PDF, PNG or JPG up to 10 MB",uploaded:e=>`${e} \xB7 uploaded`,cancelUpload:"Cancel upload"},Rl={allInboxes:"All inboxes",addressCount:e=>`${e} addresses`,findAddress:"Find an address",company:"Company",phone:"Phone",website:"Website"},wl={variants:"Variants",previousImage:"Previous image",nextImage:"Next image",fullScreen:"Full screen",images:"Images",imageN:e=>`Image ${e}`,before:"Before",after:"After",compareBeforeAfter:"Compare before and after"},Ha={breadcrumb:"Breadcrumb",pagination:"Pagination",previousPage:"Previous page",nextPage:"Next page",sidebar:"Sidebar",expandSidebar:"Expand sidebar",collapseSidebar:"Collapse sidebar"},tn={offline:"Offline. Changes are kept and sent when you\u2019re back.",connectionLost:e=>`Connection lost. Retrying in ${e??"\u2026"} s`,retryNow:"Retry now",unknown:"Unknown",deployPipeline:"Deploy pipeline",colType:"Type",colContent:"Content",colProxy:"Proxy",proxied:"Proxied",dnsOnly:"DNS only",actions:"Actions",expires:"Expires",daysCount:e=>`${e} days`,domain:"Domain",colDate:"Date",colRef:"Ref.",colDescription:"Description",suggestedBy:e=>`Suggested by ${e}`,colCategory:"Category",colProject:"Project",vat:"VAT",grossLabel:"Gross",notAReceipt:"Not a receipt",bookIt:"Book it"},Ni={noSubject:"(No subject)",device:"Device",desktop:"Desktop",mobile:"Mobile",emailPreview:"Email preview",adTooLong:(e,t,n,a)=>`${e==="headlines"?"Headline":e==="descriptions"?"Description":"Path"} ${t} is ${n} characters, the limit is ${a}`,sponsored:"Sponsored",yourHeadline:"Your headline",yourDescription:"Your description"},zs={slide:"slide",slideOf:(e,t)=>`${e} of ${t}`,previousSlide:"Previous slide",goToSlide:e=>`Go to slide ${e}`,nextSlide:"Next slide"},fa={rooms:e=>`${e} rooms`,priceOnRequest:"Price on request",perMonth:"/ month",isNew:"New",select:"Select",removeFromSaved:"Remove from saved",save:"Save",privateSeller:"Private seller",phoneAvailable:"Phone number available",deselectAll:"Deselect all",selectAll:"Select all",foundCount:(e,t)=>`${t} found`,workingEllipsis:"Working\u2026",sort:"Sort",view:"View",viewGrid:"Grid",viewList:"List",checkedAt:e=>`Checked ${e}`,showResults:"Show results",highConfidence:"High confidence",mediumConfidence:"Medium confidence",lowConfidence:"Low confidence",estimatedValue:"Estimated value",range:(e,t)=>`Range ${e} to ${t}`,askingPrice:"Asking price",energyClass:e=>`Energy class ${e}`},As={bold:"Bold",italic:"Italic",underline:"Underline",heading:"Heading",quote:"Quote",bulletedList:"Bulleted list",numberedList:"Numbered list",link:"Link",redo:"Redo",formatting:"Formatting",linkAddress:"Link address",removeLink:"Remove link",insertField:"Insert field"},_s={options:"Options"},zl={tools:"Tools",quickActions:"Quick actions"},Al={assistant:"Assistant",closeAssistant:"Close assistant",openAssistant:"Open assistant",privacySettings:"Privacy settings",cookieText:"We use cookies to run this site and, with your consent, to measure and improve it.",alwaysOn:"Always on",saveChoice:"Save choice",settings:"Settings",onlyNecessary:"Only necessary",acceptAll:"Accept all"},Gt={sectionPages:e=>`${e||"Section"} pages`,commandPalette:"Command palette",paletteSearchPlaceholder:"Search pages, actions and records\u2026",escKey:"Esc",searching:"Searching\u2026",nothingMatches:e=>`Nothing matches \u201C${e}\u201D.`,paletteMove:"move",paletteOpen:"open",paletteAnywhere:"anywhere",notifications:"Notifications",markAllRead:"Mark all read",allCaughtUp:"You are all caught up",flowStep:{trigger:"When",condition:"If",agent:"Agent",approval:"Approval",action:"Then"},flowRunning:"running",waitingForYou:"waiting for you",approve:"Approve",reject:"Reject",shared:"Shared",setup:"Setup",stepOf:(e,t)=>`Step ${e} of ${t}`,permissionLevels:["None","View","Edit","Full"],memberCount:e=>e===1?"1 member":`${e} members`,invoice:"Invoice",billTo:"Bill to",issued:"Issued",due:"Due",untitledLine:"Untitled line",vatAt:e=>`VAT ${e}`,totalDue:"Total due",matchedTo:e=>`matched to ${e}`,matched:"Matched",match:"Match",noSuggestion:"No suggestion yet.",accept:"Accept"},$c=Object.assign({},ws,ut,Ot,vi,bi,pi,vn,qt,en,Xn,kl,ja,La,yi,zn,Rl,wl,Ha,tn,Ni,zs,fa,As,_s,zl,Al,Gt),Ch=e=>!!e&&typeof e=="object"&&!Array.isArray(e);function Pc(e,t){return Ds(e,t)}function Ds(e,t){let n={...e};for(let[a,l]of Object.entries(t)){if(l==null)continue;let i=n[a];n[a]=Ch(i)&&Ch(l)?{...i,...l}:l}return n}var Si=G(ye(),1),nn=G(re(),1);var _l=G(re(),1);var Dl=(0,_l.createContext)({kit:void 0,theme:void 0,density:void 0,surface:void 0,motion:void 0,locale:El,messages:{},portalRoot:null});function da(){return(0,_l.useContext)(Dl)}var kh=new WeakMap;function zh(e,t){let n=kh.get(e);n||kh.set(e,n=new WeakMap);let a=n.get(t);return a||(a=Pc(t,e),n.set(t,a)),a}var lx={};function M(e){let t=(0,_l.useContext)(Dl).messages,n=e??lx,a=Rh.get(n);return a||Rh.set(n,a={...ws,...n}),zh(t,a)}var Rh=new WeakMap;function Ru(){return zh((0,_l.useContext)(Dl).messages,$c)}var wh=new Map;function er(e){let t=wh.get(e);return t||(t={locale:e,formatNumber:(n,a)=>wn(n,a,e),formatMoney:(n,a,l)=>Ml(n,a,l,e),formatPercent:(n,a)=>Rs(n,a,e),formatDate:(n,a)=>Qn(n,a,e)},wh.set(e,t)),t}function J(){return er((0,_l.useContext)(Dl).locale)}var wu=["background","foreground","card","card-foreground","popover","popover-foreground","primary","primary-foreground","secondary","secondary-foreground","muted","muted-foreground","accent","accent-foreground","destructive","destructive-foreground","border","input","ring","chart-1","chart-2","chart-3","chart-4","chart-5","sidebar","sidebar-foreground","sidebar-primary","sidebar-primary-foreground","sidebar-accent","sidebar-accent-foreground","sidebar-border","sidebar-ring"],ix={halo:"system",pro:"dark"},zu=e=>wu.includes(e),sx=["sky","mint","butter","lilac","blush"];function Ah(e,t,n){let a={...e??{}};return t!=="halo"||sx.forEach((l,i)=>{a[`chart-${i+1}`]&&(a[`chart-${l}`]=n==="light"?`color-mix(in oklab, var(--chart-${i+1}) 22%, var(--card))`:`var(--chart-${i+1})`)}),a}function tr(e,t){return Object.entries(e??{}).filter(([n,a])=>(zu(n)||/^chart-[a-z]+$/.test(n))&&typeof a=="string"&&a.trim()).map(([n,a])=>`${t}--${n}: ${a.trim()};`).join(`
|
|
10
|
-
`)}function
|
|
11
|
-
`+
|
|
1
|
+
var Hg=Object.create;var Ns=Object.defineProperty;var Ug=Object.getOwnPropertyDescriptor;var Bg=Object.getOwnPropertyNames;var qg=Object.getPrototypeOf,Vg=Object.prototype.hasOwnProperty;var Ga=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(a){throw t=0,a}},Gg=(e,t)=>{for(var a in t)Ns(e,a,{get:t[a],enumerable:!0})},Yg=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of Bg(t))!Vg.call(e,l)&&l!==a&&Ns(e,l,{get:()=>t[l],enumerable:!(n=Ug(t,l))||n.enumerable});return e};var G=(e,t,a)=>(a=e!=null?Hg(qg(e)):{},Yg(t||!e||!e.__esModule?Ns(a,"default",{value:e,enumerable:!0}):a,e));var zd=Ga(le=>{"use strict";var ks=Symbol.for("react.transitional.element"),Xg=Symbol.for("react.portal"),Kg=Symbol.for("react.fragment"),Qg=Symbol.for("react.strict_mode"),Zg=Symbol.for("react.profiler"),Fg=Symbol.for("react.consumer"),Ig=Symbol.for("react.context"),Jg=Symbol.for("react.forward_ref"),Pg=Symbol.for("react.suspense"),$g=Symbol.for("react.memo"),hd=Symbol.for("react.lazy"),Wg=Symbol.for("react.activity"),e6=Symbol.for("react.view_transition"),ud=Symbol.iterator;function t6(e){return e===null||typeof e!="object"?null:(e=ud&&e[ud]||e["@@iterator"],typeof e=="function"?e:null)}var vd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pd=Object.assign,gd={};function vl(e,t,a){this.props=e,this.context=t,this.refs=gd,this.updater=a||vd}vl.prototype.isReactComponent={};vl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};vl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function bd(){}bd.prototype=vl.prototype;function ws(e,t,a){this.props=e,this.context=t,this.refs=gd,this.updater=a||vd}var Cs=ws.prototype=new bd;Cs.constructor=ws;pd(Cs,vl.prototype);Cs.isPureReactComponent=!0;var dd=Array.isArray;function Ms(){}var _e={H:null,A:null,T:null,S:null},yd=Object.prototype.hasOwnProperty;function Ts(e,t,a){var n=a.ref;return{$$typeof:ks,type:e,key:t,ref:n!==void 0?n:null,props:a}}function a6(e,t){return Ts(e.type,t,e.props)}function Rs(e){return typeof e=="object"&&e!==null&&e.$$typeof===ks}function n6(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var md=/\/+/g;function Ss(e,t){return typeof e=="object"&&e!==null&&e.key!=null?n6(""+e.key):t.toString(36)}function l6(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Ms,Ms):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function hl(e,t,a,n,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"bigint":case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case ks:case Xg:o=!0;break;case hd:return o=e._init,hl(o(e._payload),t,a,n,l)}}if(o)return l=l(e),o=n===""?"."+Ss(e,0):n,dd(l)?(a="",o!=null&&(a=o.replace(md,"$&/")+"/"),hl(l,t,a,"",function(u){return u})):l!=null&&(Rs(l)&&(l=a6(l,a+(l.key==null||e&&e.key===l.key?"":(""+l.key).replace(md,"$&/")+"/")+o)),t.push(l)),1;o=0;var r=n===""?".":n+":";if(dd(e))for(var c=0;c<e.length;c++)n=e[c],i=r+Ss(n,c),o+=hl(n,t,a,i,l);else if(c=t6(e),typeof c=="function")for(e=c.call(e),c=0;!(n=e.next()).done;)n=n.value,i=r+Ss(n,c++),o+=hl(n,t,a,i,l);else if(i==="object"){if(typeof e.then=="function")return hl(l6(e),t,a,n,l);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return o}function $o(e,t,a){if(e==null)return e;var n=[],l=0;return hl(e,n,"","",function(i){return t.call(a,i,l++)}),n}function i6(e){if(e._status===-1){var t=e._result,a=t();a.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n,a.status===void 0&&(a.status="fulfilled",a.value=n))},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n,a.status===void 0&&(a.status="rejected",a.reason=n))}),e._status===-1&&(e._status=0,e._result=a)}if(e._status===1)return e._result.default;throw e._result}var fd=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function xd(e){var t=_e.T,a={};a.types=t!==null?t.types:null,_e.T=a;try{var n=e(),l=_e.S;l!==null&&l(a,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(Ms,fd)}catch(i){fd(i)}finally{t!==null&&a.types!==null&&(t.types=a.types),_e.T=t}}function Nd(e){var t=_e.T;if(t!==null){var a=t.types;a===null?t.types=[e]:a.indexOf(e)===-1&&a.push(e)}else xd(Nd.bind(null,e))}var o6={map:$o,forEach:function(e,t,a){$o(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return $o(e,function(){t++}),t},toArray:function(e){return $o(e,function(t){return t})||[]},only:function(e){if(!Rs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};le.Activity=Wg;le.Children=o6;le.Component=vl;le.Fragment=Kg;le.Profiler=Zg;le.PureComponent=ws;le.StrictMode=Qg;le.Suspense=Pg;le.ViewTransition=e6;le.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_e;le.__COMPILER_RUNTIME={__proto__:null,c:function(e){return _e.H.useMemoCache(e)}};le.addTransitionType=Nd;le.cache=function(e){return function(){return e.apply(null,arguments)}};le.cacheSignal=function(){return null};le.cloneElement=function(e,t,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var n=pd({},e.props),l=e.key;if(t!=null)for(i in t.key!==void 0&&(l=""+t.key),t)!yd.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(n[i]=t[i]);var i=arguments.length-2;if(i===1)n.children=a;else if(1<i){for(var o=Array(i),r=0;r<i;r++)o[r]=arguments[r+2];n.children=o}return Ts(e.type,l,n)};le.createContext=function(e){return e={$$typeof:Ig,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Fg,_context:e},e};le.createElement=function(e,t,a){var n,l={},i=null;if(t!=null)for(n in t.key!==void 0&&(i=""+t.key),t)yd.call(t,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(l[n]=t[n]);var o=arguments.length-2;if(o===1)l.children=a;else if(1<o){for(var r=Array(o),c=0;c<o;c++)r[c]=arguments[c+2];l.children=r}if(e&&e.defaultProps)for(n in o=e.defaultProps,o)l[n]===void 0&&(l[n]=o[n]);return Ts(e,i,l)};le.createRef=function(){return{current:null}};le.forwardRef=function(e){return{$$typeof:Jg,render:e}};le.isValidElement=Rs;le.lazy=function(e){return{$$typeof:hd,_payload:{_status:-1,_result:e},_init:i6}};le.memo=function(e,t){return{$$typeof:$g,type:e,compare:t===void 0?null:t}};le.startTransition=xd;le.unstable_useCacheRefresh=function(){return _e.H.useCacheRefresh()};le.use=function(e){return _e.H.use(e)};le.useActionState=function(e,t,a){return _e.H.useActionState(e,t,a)};le.useCallback=function(e,t){return _e.H.useCallback(e,t)};le.useContext=function(e){return _e.H.useContext(e)};le.useDebugValue=function(){};le.useDeferredValue=function(e,t){return _e.H.useDeferredValue(e,t)};le.useEffect=function(e,t){return _e.H.useEffect(e,t)};le.useEffectEvent=function(e){return _e.H.useEffectEvent(e)};le.useId=function(){return _e.H.useId()};le.useImperativeHandle=function(e,t,a){return _e.H.useImperativeHandle(e,t,a)};le.useInsertionEffect=function(e,t){return _e.H.useInsertionEffect(e,t)};le.useLayoutEffect=function(e,t){return _e.H.useLayoutEffect(e,t)};le.useMemo=function(e,t){return _e.H.useMemo(e,t)};le.useOptimistic=function(e,t){return _e.H.useOptimistic(e,t)};le.useReducer=function(e,t,a){return _e.H.useReducer(e,t,a)};le.useRef=function(e){return _e.H.useRef(e)};le.useState=function(e){return _e.H.useState(e)};le.useSyncExternalStore=function(e,t,a){return _e.H.useSyncExternalStore(e,t,a)};le.useTransition=function(){return _e.H.useTransition()};le.version="19.3.1"});var ce=Ga((_T,Sd)=>{"use strict";Sd.exports=zd()});var wd=Ga(tr=>{"use strict";var r6=Symbol.for("react.transitional.element"),c6=Symbol.for("react.fragment");function kd(e,t,a){var n=null;if(a!==void 0&&(n=""+a),t.key!==void 0&&(n=""+t.key),"key"in t){a={};for(var l in t)l!=="key"&&(a[l]=t[l])}else a=t;return t=a.ref,{$$typeof:r6,type:e,key:n,ref:t!==void 0?t:null,props:a}}tr.Fragment=c6;tr.jsx=kd;tr.jsxs=kd});var ye=Ga((jT,Cd)=>{"use strict";Cd.exports=wd()});var qd=Ga(Rt=>{"use strict";var f6=ce();function Bd(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function qn(){}var Lt={d:{f:qn,r:function(){throw Error(Bd(522))},D:qn,C:qn,L:qn,m:qn,X:qn,S:qn,M:qn},p:0,findDOMNode:null},h6=Symbol.for("react.portal"),v6=Symbol.for("react.recoverable"),Ud=Symbol.for("react.optimistic_key");function p6(e,t,a){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h6,key:n==null?null:n===Ud?Ud:""+n,children:e,containerInfo:t,implementation:a}}var Li=f6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function ir(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Rt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Lt;Rt.browser=function(e){return{$$typeof:v6,_reason:e}};Rt.createPortal=function(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(Bd(299));return p6(e,t,null,a)};Rt.flushSync=function(e){var t=Li.T,a=Lt.p;try{if(Li.T=null,Lt.p=2,e)return e()}finally{Li.T=t,Lt.p=a,Lt.d.f()}};Rt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Lt.d.C(e,t))};Rt.prefetchDNS=function(e){typeof e=="string"&&Lt.d.D(e)};Rt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var a=t.as,n=ir(a,t.crossOrigin),l=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;a==="style"?Lt.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:n,integrity:l,fetchPriority:i}):a==="script"&&Lt.d.X(e,{crossOrigin:n,integrity:l,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Rt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var a=ir(t.as,t.crossOrigin);Lt.d.M(e,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}}else t==null&&Lt.d.M(e)};Rt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var a=t.as,n=ir(a,t.crossOrigin);Lt.d.L(e,a,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Rt.preloadModule=function(e,t){if(typeof e=="string")if(t){var a=ir(t.as,t.crossOrigin);Lt.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}else Lt.d.m(e)};Rt.requestFormReset=function(e){Lt.d.r(e)};Rt.unstable_batchedUpdates=function(e,t){return e(t)};Rt.useFormState=function(e,t,a){return Li.H.useFormState(e,t,a)};Rt.useFormStatus=function(){return Li.H.useHostTransitionStatus()};Rt.version="19.3.1"});var or=Ga((ZT,Gd)=>{"use strict";function Vd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Vd)}catch(e){console.error(e)}}Vd(),Gd.exports=qd()});var C4=Ga(Ye=>{"use strict";function c1(e,t){var a=e.length;e.push(t);e:for(;0<a;){var n=a-1>>>1,l=e[n];if(0<_r(l,t))e[n]=t,e[a]=l,a=n;else break e}}function Fa(e){return e.length===0?null:e[0]}function Lr(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var n=0,l=e.length,i=l>>>1;n<i;){var o=2*(n+1)-1,r=e[o],c=o+1,u=e[c];if(0>_r(r,a))c<l&&0>_r(u,r)?(e[n]=u,e[c]=a,n=c):(e[n]=r,e[o]=a,n=o);else if(c<l&&0>_r(u,a))e[n]=u,e[c]=a,n=c;else break e}}return t}function _r(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}Ye.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(b4=performance,Ye.unstable_now=function(){return b4.now()}):(i1=Date,y4=i1.now(),Ye.unstable_now=function(){return i1.now()-y4});var b4,i1,y4,bn=[],Fn=[],bk=1,pa=null,Dt=3,s1=!1,Qi=!1,Zi=!1,u1=!1,z4=typeof setTimeout=="function"?setTimeout:null,S4=typeof clearTimeout=="function"?clearTimeout:null,x4=typeof setImmediate<"u"?setImmediate:null;function Or(e){for(var t=Fa(Fn);t!==null;){if(t.callback===null)Lr(Fn);else if(t.startTime<=e)Lr(Fn),t.sortIndex=t.expirationTime,c1(bn,t);else break;t=Fa(Fn)}}function d1(e){if(Zi=!1,Or(e),!Qi)if(Fa(bn)!==null)Qi=!0,Dl||(Dl=!0,Al());else{var t=Fa(Fn);t!==null&&m1(d1,t.startTime-e)}}var Dl=!1,Fi=-1,M4=5,k4=-1;function w4(){return u1?!0:!(Ye.unstable_now()-k4<M4)}function o1(){if(u1=!1,Dl){var e=Ye.unstable_now();k4=e;var t=!0;try{e:{Qi=!1,Zi&&(Zi=!1,S4(Fi),Fi=-1),s1=!0;var a=Dt;try{t:{for(Or(e),pa=Fa(bn);pa!==null&&!(pa.expirationTime>e&&w4());){var n=pa.callback;if(typeof n=="function"){pa.callback=null,Dt=pa.priorityLevel;var l=n(pa.expirationTime<=e);if(e=Ye.unstable_now(),typeof l=="function"){pa.callback=l,Or(e),t=!0;break t}pa===Fa(bn)&&Lr(bn),Or(e)}else Lr(bn);pa=Fa(bn)}if(pa!==null)t=!0;else{var i=Fa(Fn);i!==null&&m1(d1,i.startTime-e),t=!1}}break e}finally{pa=null,Dt=a,s1=!1}t=void 0}}finally{t?Al():Dl=!1}}}var Al;typeof x4=="function"?Al=function(){x4(o1)}:typeof MessageChannel<"u"?(r1=new MessageChannel,N4=r1.port2,r1.port1.onmessage=o1,Al=function(){N4.postMessage(null)}):Al=function(){z4(o1,0)};var r1,N4;function m1(e,t){Fi=z4(function(){e(Ye.unstable_now())},t)}Ye.unstable_IdlePriority=5;Ye.unstable_ImmediatePriority=1;Ye.unstable_LowPriority=4;Ye.unstable_NormalPriority=3;Ye.unstable_Profiling=null;Ye.unstable_UserBlockingPriority=2;Ye.unstable_cancelCallback=function(e){e.callback=null};Ye.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M4=0<e?Math.floor(1e3/e):5};Ye.unstable_getCurrentPriorityLevel=function(){return Dt};Ye.unstable_next=function(e){switch(Dt){case 1:case 2:case 3:var t=3;break;default:t=Dt}var a=Dt;Dt=t;try{return e()}finally{Dt=a}};Ye.unstable_requestPaint=function(){u1=!0};Ye.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=Dt;Dt=e;try{return t()}finally{Dt=a}};Ye.unstable_scheduleCallback=function(e,t,a){var n=Ye.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?n+a:n):a=n,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=a+l,e={id:bk++,callback:t,priorityLevel:e,startTime:a,expirationTime:l,sortIndex:-1},a>n?(e.sortIndex=a,c1(Fn,e),Fa(bn)===null&&e===Fa(Fn)&&(Zi?(S4(Fi),Fi=-1):Zi=!0,m1(d1,a-n))):(e.sortIndex=l,c1(bn,e),Qi||s1||(Qi=!0,Dl||(Dl=!0,Al()))),e};Ye.unstable_shouldYield=w4;Ye.unstable_wrapCallback=function(e){var t=Dt;return function(){var a=Dt;Dt=t;try{return e.apply(this,arguments)}finally{Dt=a}}}});var R4=Ga((tL,T4)=>{"use strict";T4.exports=C4()});var vg=Ga(ps=>{"use strict";var st=R4(),h3=ce(),yk=or();function R(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function v3(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function jo(e){for(var t=e,a=t;a&&!a.alternate;)t=a,(t.flags&4098)!==0&&(e=t.return),a=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function p3(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g3(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function E4(e){if(jo(e)!==e)throw Error(R(188))}function xk(e){var t=e.alternate;if(!t){if(t=jo(e),t===null)throw Error(R(188));return t!==e?null:e}for(var a=e,n=t;;){var l=a.return;if(l===null)break;var i=l.alternate;if(i===null){if(n=l.return,n!==null){a=n;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===a)return E4(l),e;if(i===n)return E4(l),t;i=i.sibling}throw Error(R(188))}if(a.return!==n.return)a=l,n=i;else{for(var o=!1,r=l.child;r;){if(r===a){o=!0,a=l,n=i;break}if(r===n){o=!0,n=l,a=i;break}r=r.sibling}if(!o){for(r=i.child;r;){if(r===a){o=!0,a=i,n=l;break}if(r===n){o=!0,n=i,a=l;break}r=r.sibling}if(!o)throw Error(R(189))}}if(a.alternate!==n)throw Error(R(190))}if(a.tag!==3)throw Error(R(188));return a.stateNode.current===a?e:t}function b3(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=b3(e),t!==null)return t;e=e.sibling}return null}function Pt(e,t,a,n,l,i){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&a(e,n,l,i)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&Pt(e.child,t,a,n,l,i))return!0;e=e.sibling}return!1}function rl(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function A4(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function y3(e){var t=[null,null],a=rl(e);return a===null||x3(t,e,a.child,{foundSelf:!1}),t}function x3(e,t,a,n){for(;a!==null;){if(a===t)n.foundSelf=!0;else if(a.tag===5||a.tag===27||a.tag===6){if(n.foundSelf)return e[1]=a,!0;e[0]=a}else if((a.tag!==22||a.memoizedState===null)&&x3(e,t,a.child,n))return!0;a=a.sibling}return!1}function ct(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(R(559))}}var Bl=null,X1=null;function Nk(e,t,a){return e===a?!0:e===t?(Bl=e,!0):!1}function zk(e,t,a){return e===a?(X1=e,!1):e===t?(X1!==null&&(Bl=e),!0):!1}function D4(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function K1(e,t,a){for(var n=0,l=e;l;l=a(l))n++;l=0;for(var i=t;i;i=a(i))l++;for(;0<n-l;)e=a(e),n--;for(;0<l-n;)t=a(t),l--;for(;n--;){if(e===t||t!==null&&e===t.alternate)return e;e=a(e),t=a(t)}return null}var De=Object.assign,Sk=Symbol.for("react.element"),jr=Symbol.for("react.transitional.element"),to=Symbol.for("react.portal"),ql=Symbol.for("react.fragment"),N3=Symbol.for("react.strict_mode"),Q1=Symbol.for("react.profiler"),z3=Symbol.for("react.consumer"),en=Symbol.for("react.context"),t2=Symbol.for("react.forward_ref"),Z1=Symbol.for("react.suspense"),F1=Symbol.for("react.suspense_list"),a2=Symbol.for("react.memo"),$n=Symbol.for("react.lazy"),I1=Symbol.for("react.activity"),Mk=Symbol.for("react.legacy_hidden"),kk=Symbol.for("react.memo_cache_sentinel"),J1=Symbol.for("react.view_transition"),wk=Symbol.for("react.recoverable"),_4=Symbol.iterator;function Ii(e){return e===null||typeof e!="object"?null:(e=_4&&e[_4]||e["@@iterator"],typeof e=="function"?e:null)}var Ck=Symbol.for("react.client.reference");function P1(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ck?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ql:return"Fragment";case Q1:return"Profiler";case N3:return"StrictMode";case Z1:return"Suspense";case F1:return"SuspenseList";case I1:return"Activity";case J1:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case to:return"Portal";case en:return e.displayName||"Context";case z3:return(e._context.displayName||"Context")+".Consumer";case t2:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case a2:return t=e.displayName||null,t!==null?t:P1(e.type)||"Memo";case $n:t=e._payload,e=e._init;try{return P1(e(t))}catch{}}return null}var ao=Array.isArray,te=h3.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Se=yk.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F0={pending:!1,data:null,method:null,action:null},$1=[],Vl=-1;function cn(e){return{current:e}}function kt(e){0>Vl||(e.current=$1[Vl],$1[Vl]=null,Vl--)}function He(e,t){Vl++,$1[Vl]=e.current,e.current=t}var ln=cn(null),xo=cn(null),r0=cn(null),zc=cn(null);function Sc(e,t){switch(He(r0,t),He(xo,e),He(ln,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Z5(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Z5(t),e=Xp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}kt(ln),He(ln,e)}function ri(){kt(ln),kt(xo),kt(r0)}function W1(e){var t=e.memoizedState;t!==null&&(gi._currentValue=t.memoizedState,He(zc,e)),t=ln.current;var a=Xp(t,e.type);t!==a&&(He(xo,e),He(ln,a))}function Mc(e){xo.current===e&&(kt(ln),kt(xo)),zc.current===e&&(kt(zc),gi._currentValue=F0)}var f1,O4;function Jn(e){if(f1===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);f1=t&&t[1]||"",O4=-1<a.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+f1+e+O4}var h1=!1;function v1(e,t){if(!e||h1)return"";h1=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(x){var m=x}Reflect.construct(e,[],d)}else{try{d.call()}catch(x){m=x}d=!1;try{var f=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),d=!0,new e}finally{d&&(f!==void 0?Object.defineProperty(e.prototype,"props",f):delete e.prototype.props)}}}else{try{throw Error()}catch(x){m=x}(d=e())&&typeof d.catch=="function"&&d.catch(function(){})}}catch(x){if(x&&m&&typeof x.stack=="string")return[x.stack,m.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),o=i[0],r=i[1];if(o&&r){var c=o.split(`
|
|
4
|
+
`),u=r.split(`
|
|
5
|
+
`);for(l=n=0;n<c.length&&!c[n].includes("DetermineComponentFrameRoot");)n++;for(;l<u.length&&!u[l].includes("DetermineComponentFrameRoot");)l++;if(n===c.length||l===u.length)for(n=c.length-1,l=u.length-1;1<=n&&0<=l&&c[n]!==u[l];)l--;for(;1<=n&&0<=l;n--,l--)if(c[n]!==u[l]){if(n!==1||l!==1)do if(n--,l--,0>l||c[n]!==u[l]){var s=`
|
|
6
|
+
`+c[n].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=n&&0<=l);break}}}finally{h1=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Jn(a):""}function Tk(e,t){switch(e.tag){case 26:case 27:case 5:return Jn(e.type);case 16:return Jn("Lazy");case 13:return e.child!==t&&t!==null?Jn("Suspense Fallback"):Jn("Suspense");case 19:return Jn("SuspenseList");case 0:case 15:return v1(e.type,!1);case 11:return v1(e.type.render,!1);case 1:return v1(e.type,!0);case 31:return Jn("Activity");case 30:return Jn("ViewTransition");default:return""}}function L4(e){try{var t="",a=null;do t+=Tk(e,a),a=e,e=e.return;while(e);return t}catch(n){return`
|
|
7
|
+
Error generating stack: `+n.message+`
|
|
8
|
+
`+n.stack}}var eu=Object.prototype.hasOwnProperty,n2=st.unstable_scheduleCallback,p1=st.unstable_cancelCallback,Rk=st.unstable_shouldYield,Ek=st.unstable_requestPaint,sa=st.unstable_now,Ak=st.unstable_getCurrentPriorityLevel,S3=st.unstable_ImmediatePriority,M3=st.unstable_UserBlockingPriority,kc=st.unstable_NormalPriority,Dk=st.unstable_LowPriority,k3=st.unstable_IdlePriority,_k=st.log,Ok=st.unstable_setDisableYieldValue,Ho=null,ua=null;function t0(e){if(typeof _k=="function"&&Ok(e),ua&&typeof ua.setStrictMode=="function")try{ua.setStrictMode(Ho,e)}catch{}}var da=Math.clz32?Math.clz32:Hk,Lk=Math.log,jk=Math.LN2;function Hk(e){return e>>>=0,e===0?32:31-(Lk(e)/jk|0)|0}var Hr=256,Ur=262144,Br=4194304;function Y0(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Pc(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var l=0,i=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var r=n&134217727;return r!==0?(n=r&~i,n!==0?l=Y0(n):(o&=r,o!==0?l=Y0(o):a||(a=r&~e,a!==0&&(l=Y0(a))))):(r=n&~i,r!==0?l=Y0(r):o!==0?l=Y0(o):a||(a=n&~e,a!==0&&(l=Y0(a)))),l===0?0:t!==0&&t!==l&&(t&i)===0&&(i=l&-l,a=t&-t,i>=a||i===32&&(a&4194048)!==0)?t:l}function Uo(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function w3(e,t){(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-da(a),l=1<<n;t|=e[n],a&=~l}return t}function Uk(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 C3(){var e=Br;return Br<<=1,(Br&62914560)===0&&(Br=4194304),e}function g1(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Bo(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Bk(e,t,a,n,l,i){var o=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var r=e.entanglements,c=e.expirationTimes,u=e.hiddenUpdates;for(a=o&~a;0<a;){var s=31-da(a),d=1<<s;r[s]=0,c[s]=-1;var m=u[s];if(m!==null)for(u[s]=null,s=0;s<m.length;s++){var f=m[s];f!==null&&(f.lane&=-536870913)}a&=~d}n!==0&&T3(e,n,0),i!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=i&~(o&~t))}function T3(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-da(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&261930}function R3(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-da(a),l=1<<n;l&t|e[n]&t&&(e[n]|=t),a&=~l}}function E3(e,t){var a=t&-t;return a=(a&42)!==0?1:l2(a),(a&(e.suspendedLanes|t))!==0?0:a}function l2(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function i2(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function A3(){var e=Se.p;return e!==0?e:(e=window.event,e===void 0?32:mg(e.type))}function j4(e,t){var a=Se.p;try{return Se.p=e,t()}finally{Se.p=a}}var An=Math.random().toString(36).slice(2),St="__reactFiber$"+An,$t="__reactProps$"+An,xi="__reactContainer$"+An,H4="__reactEvents$"+An,qk="__reactListeners$"+An,Vk="__reactHandles$"+An,U4="__reactResources$"+An,qo="__reactMarker$"+An,wc="__reactLoad$"+An;function $c(e){delete e[St],delete e[$t],delete e[qk],delete e[Vk]}function Q0(e){var t;if(t=e[St])return t;for(var a=e.parentNode;a;){if(t=a[xi]||a[St]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=t3(e);e!==null;){if(a=e[St])return a;e=t3(e)}return t}e=a,a=e.parentNode}return null}function Ni(e){if(e=e[St]||e[xi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function no(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(R(33))}function Pl(e){var t=e[U4];return t||(t=e[U4]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function bt(e){e[qo]=!0}function D3(e){e[wc]=void 0}var _3=new Set,O3={};function cl(e,t){ci(e,t),ci(e+"Capture",t)}function ci(e,t){for(O3[e]=t,e=0;e<t.length;e++)_3.add(t[e])}var Gk=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]*$"),B4={},q4={};function Yk(e){return eu.call(q4,e)?!0:eu.call(B4,e)?!1:Gk.test(e)?q4[e]=!0:(B4[e]=!0,!1)}var xe=!1;function V4(){var e=xe;return xe=!1,e}function nc(e,t,a){if(Yk(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,a)}}function qr(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,a)}}function yn(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,n)}}function ia(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function L3(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Xk(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){a=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(o){a=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function tu(e){if(!e._valueTracker){var t=L3(e)?"checked":"value";e._valueTracker=Xk(e,t,""+e[t])}}function j3(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=L3(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}var Kk=/[\n"\\]/g;function Na(e){return e.replace(Kk,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function au(e,t,a,n,l,i,o,r){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+ia(t)):e.value!==""+ia(t)&&(e.value=""+ia(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?o==="number"&&e.value==t?b1(e,ia(e.value)):b1(e,ia(t)):a!=null?b1(e,ia(a)):n!=null&&e.removeAttribute("value"),l==null&&i!=null&&(e.defaultChecked=!!i),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?e.name=""+ia(r):e.removeAttribute("name")}function H3(e,t,a,n,l,i,o,r){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){tu(e);return}a=a!=null?""+ia(a):"",t=t!=null?""+ia(t):a,r||t===e.value||(e.value=t),e.defaultValue=t}n=n??l,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=r?e.checked:!!n,e.defaultChecked=!!n,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o),tu(e)}function b1(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function $l(e,t,a,n){if(e=e.options,t){t={};for(var l=0;l<a.length;l++)t["$"+a[l]]=!0;for(a=0;a<e.length;a++)l=t.hasOwnProperty("$"+e[a].value),e[a].selected!==l&&(e[a].selected=l),l&&n&&(e[a].defaultSelected=!0)}else{for(a=""+ia(a),t=null,l=0;l<e.length;l++){if(e[l].value===a){e[l].selected=!0,n&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function U3(e,t,a){if(t!=null&&(t=""+ia(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+ia(a):""}function B3(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(R(92));if(ao(n)){if(1<n.length)throw Error(R(93));n=n[0]}a=n}a==null&&(a=""),t=a}a=ia(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n),tu(e)}function si(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Qk=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 G4(e,t,a){var n=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!="number"||a===0||Qk.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function q3(e,t,a){if(t!=null&&typeof t!="object")throw Error(R(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="",xe=!0);for(var l in t)n=t[l],t.hasOwnProperty(l)&&a[l]!==n&&(G4(e,l,n),xe=!0)}else for(var i in t)t.hasOwnProperty(i)&&G4(e,i,t[i])}function o2(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Zk=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"],["maskType","mask-type"],["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"]]),Fk=/^[\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 lc(e){return Fk.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tn(){}var nu=null;function r2(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gl=null,Wl=null;function Y4(e){var t=Ni(e);if(t&&(e=t.stateNode)){var a=e[$t]||null;e:switch(e=t.stateNode,t.type){case"input":if(au(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Na(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var l=n[$t]||null;if(!l)throw Error(R(90));au(n,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&j3(n)}break e;case"textarea":U3(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&$l(e,!!a.multiple,t,!1)}}}var y1=!1;function V3(e,t,a){if(y1)return e(t,a);y1=!0;try{var n=e(t);return n}finally{if(y1=!1,(Gl!==null||Wl!==null)&&(ms(),Gl&&(t=Gl,e=Wl,Wl=Gl=null,Y4(t),e)))for(t=0;t<e.length;t++)Y4(e[t])}}function No(e,t){var a=e.stateNode;if(a===null)return null;var n=a[$t]||null;if(n===null)return null;a=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(R(231,t,typeof a));return a}var kn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lu=!1;if(kn)try{_l={},Object.defineProperty(_l,"passive",{get:function(){lu=!0}}),window.addEventListener("test",_l,_l),window.removeEventListener("test",_l,_l)}catch{lu=!1}var _l,a0=null,c2=null,ic=null;function G3(){if(ic)return ic;var e,t=c2,a=t.length,n,l="value"in a0?a0.value:a0.textContent,i=l.length;for(e=0;e<a&&t[e]===l[e];e++);var o=a-e;for(n=1;n<=o&&t[a-n]===l[i-n];n++);return ic=l.slice(e,1<n?1-n:void 0)}function oc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Vr(){return!0}function X4(){return!1}function qt(e){function t(a,n,l,i,o){this._reactName=a,this._targetInst=l,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var r in e)e.hasOwnProperty(r)&&(a=e[r],this[r]=a?a(i):i[r]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Vr:X4,this.isPropagationStopped=X4,this}return De(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Vr)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Vr)},persist:function(){},isPersistent:Vr}),t}var z0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wc=qt(z0),Vo=De({},z0,{view:0,detail:0}),Ik=qt(Vo),x1,N1,Ji,es=De({},Vo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:s2,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ji&&(Ji&&e.type==="mousemove"?(x1=e.screenX-Ji.screenX,N1=e.screenY-Ji.screenY):N1=x1=0,Ji=e),x1)},movementY:function(e){return"movementY"in e?e.movementY:N1}}),K4=qt(es),Jk=De({},es,{dataTransfer:0}),Pk=qt(Jk),$k=De({},Vo,{relatedTarget:0}),z1=qt($k),Wk=De({},z0,{animationName:0,elapsedTime:0,pseudoElement:0}),ew=qt(Wk),tw=De({},z0,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),aw=qt(tw),nw=De({},z0,{data:0}),Q4=qt(nw),lw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},iw={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"},ow={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ow[e])?!!t[e]:!1}function s2(){return rw}var cw=De({},Vo,{key:function(e){if(e.key){var t=lw[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=oc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?iw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:s2,charCode:function(e){return e.type==="keypress"?oc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?oc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),sw=qt(cw),uw=De({},es,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Z4=qt(uw),dw=De({},z0,{submitter:0}),mw=qt(dw),fw=De({},Vo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:s2}),hw=qt(fw),vw=De({},z0,{propertyName:0,elapsedTime:0,pseudoElement:0}),pw=qt(vw),gw=De({},es,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),bw=qt(gw),yw=De({},z0,{newState:0,oldState:0,source:0}),xw=qt(yw),Nw=[9,13,27,32],u2=kn&&"CompositionEvent"in window,oo=null;kn&&"documentMode"in document&&(oo=document.documentMode);var zw=kn&&"TextEvent"in window&&!oo,Y3=kn&&(!u2||oo&&8<oo&&11>=oo),F4=" ",I4=!1;function X3(e,t){switch(e){case"keyup":return Nw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function K3(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yl=!1;function Sw(e,t){switch(e){case"compositionend":return K3(t);case"keypress":return t.which!==32?null:(I4=!0,F4);case"textInput":return e=t.data,e===F4&&I4?null:e;default:return null}}function Mw(e,t){if(Yl)return e==="compositionend"||!u2&&X3(e,t)?(e=G3(),ic=c2=a0=null,Yl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Y3&&t.locale!=="ko"?null:t.data;default:return null}}var kw={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 J4(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!kw[e.type]:t==="textarea"}function Q3(e,t,a,n){Gl?Wl?Wl.push(n):Wl=[n]:Gl=n,t=Fc(t,"onChange"),0<t.length&&(a=new Wc("onChange","change",null,a,n),e.push({event:a,listeners:t}))}var ro=null,zo=null;function ww(e){Vp(e,0)}function ts(e){var t=no(e);if(j3(t))return e}function P4(e,t){if(e==="change")return t}var Z3=!1;kn&&(kn?(Yr="oninput"in document,Yr||(S1=document.createElement("div"),S1.setAttribute("oninput","return;"),Yr=typeof S1.oninput=="function"),Gr=Yr):Gr=!1,Z3=Gr&&(!document.documentMode||9<document.documentMode));var Gr,Yr,S1;function $4(){ro&&(ro.detachEvent("onpropertychange",F3),zo=ro=null)}function F3(e){if(e.propertyName==="value"&&ts(zo)){var t=[];Q3(t,zo,e,r2(e)),V3(ww,t)}}function Cw(e,t,a){e==="focusin"?($4(),ro=t,zo=a,ro.attachEvent("onpropertychange",F3)):e==="focusout"&&$4()}function Tw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ts(zo)}function Rw(e,t){if(e==="click")return ts(t)}function Ew(e,t){if(e==="input"||e==="change")return ts(t)}function Aw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var fa=typeof Object.is=="function"?Object.is:Aw;function So(e,t){if(fa(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var l=a[n];if(!eu.call(t,l)||!fa(e[l],t[l]))return!1}return!0}function iu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function W4(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function e5(e,t){var a=W4(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=W4(a)}}function I3(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?I3(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function J3(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=iu(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=iu(e.document)}return t}function d2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Dw=kn&&"documentMode"in document&&11>=document.documentMode,Xl=null,ou=null,co=null,ru=!1;function t5(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ru||Xl==null||Xl!==iu(n)||(n=Xl,"selectionStart"in n&&d2(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),co&&So(co,n)||(co=n,n=Fc(ou,"onSelect"),0<n.length&&(t=new Wc("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=Xl)))}function V0(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Kl={animationend:V0("Animation","AnimationEnd"),animationiteration:V0("Animation","AnimationIteration"),animationstart:V0("Animation","AnimationStart"),transitionrun:V0("Transition","TransitionRun"),transitionstart:V0("Transition","TransitionStart"),transitioncancel:V0("Transition","TransitionCancel"),transitionend:V0("Transition","TransitionEnd")},M1={},P3={};kn&&(P3=document.createElement("div").style,"AnimationEvent"in window||(delete Kl.animationend.animation,delete Kl.animationiteration.animation,delete Kl.animationstart.animation),"TransitionEvent"in window||delete Kl.transitionend.transition);function sl(e){if(M1[e])return M1[e];if(!Kl[e])return e;var t=Kl[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in P3)return M1[e]=t[a];return e}var $3=sl("animationend"),W3=sl("animationiteration"),ev=sl("animationstart"),_w=sl("transitionrun"),Ow=sl("transitionstart"),Lw=sl("transitioncancel"),tv=sl("transitionend"),av=new Map,cu="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");cu.push("scrollEnd");function Va(e,t){av.set(e,t),cl(t,[e])}var jw=0;function wn(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=qa.identifierPrefix;var a=jw++;return e="_"+e+"t_"+a.toString(32)+"_",t.autoName=e}function a5(e){if(e==null||typeof e=="string")return e;var t=null,a=oi;if(a!==null)for(var n=0;n<a.length;n++){var l=e[a[n]];if(l!=null){if(l==="none")return"none";t=t==null?l:t+(" "+l)}}return t??e.default}function Dn(e,t){return e=a5(e),t=a5(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var Cc=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ba=[],Ql=0,m2=0;function as(){for(var e=Ql,t=m2=Ql=0;t<e;){var a=ba[t];ba[t++]=null;var n=ba[t];ba[t++]=null;var l=ba[t];ba[t++]=null;var i=ba[t];if(ba[t++]=null,n!==null&&l!==null){var o=n.pending;o===null?l.next=l:(l.next=o.next,o.next=l),n.pending=l}i!==0&&nv(a,l,i)}}function ns(e,t,a,n){ba[Ql++]=e,ba[Ql++]=t,ba[Ql++]=a,ba[Ql++]=n,m2|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function f2(e,t,a,n){return ns(e,t,a,n),Tc(e)}function ul(e,t){return ns(e,null,null,t),Tc(e)}function nv(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var l=!1,i=e.return;i!==null;)i.childLanes|=a,n=i.alternate,n!==null&&(n.childLanes|=a),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(l=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,l&&t!==null&&(l=31-da(a),e=i.hiddenUpdates,n=e[l],n===null?e[l]=[t]:n.push(t),t.lane=a|536870912),i):null}function Tc(e){if(50<yo)throw yo=0,pc=null,Error(R(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Zl={};function Hw(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function It(e,t,a,n){return new Hw(e,t,a,n)}function h2(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sn(e,t){var a=e.alternate;return a===null?(a=It(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&1206910976,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function lv(e,t){e.flags&=1206910978;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function rc(e,t,a,n,l,i){var o=0;if(n=e,typeof n=="function")h2(n)&&(o=1);else if(typeof n=="string")o=sT(e,a,ln.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(n){case I1:return e=It(31,a,t,l),e.elementType=I1,e.lanes=i,e;case ql:return I0(a.children,l,i,t);case N3:o=8,l|=24;break;case Q1:return e=It(12,a,t,l|2),e.elementType=Q1,e.lanes=i,e;case Z1:return e=It(13,a,t,l),e.elementType=Z1,e.lanes=i,e;case F1:return e=It(19,a,t,l),e.elementType=F1,e.lanes=i,e;case Mk:case J1:return e=l|32,e=It(30,a,t,e),e.elementType=J1,e.lanes=i,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case en:o=10;break e;case z3:o=9;break e;case t2:o=11;break e;case a2:o=14;break e;case $n:o=16,n=null;break e}o=29,a=Error(R(130,e===null?"null":typeof e,"")),n=null}return t=It(o,a,t,l),t.elementType=e,t.type=n,t.lanes=i,t}function I0(e,t,a,n){return e=It(7,e,n,t),e.lanes=a,e}function k1(e,t,a){return e=It(6,e,null,t),e.lanes=a,e}function iv(e){var t=It(18,null,null,0);return t.stateNode=e,t}function w1(e,t,a){return t=It(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var n5=new WeakMap;function za(e,t){if(typeof e=="object"&&e!==null){var a=n5.get(e);return a!==void 0?a:(t={value:e,source:t,stack:L4(t)},n5.set(e,t),t)}return{value:e,source:t,stack:L4(t)}}var Fl=[],Il=0,Rc=null,Mo=0,ya=[],xa=0,g0=null,an=1,nn="";function Nn(e,t){Fl[Il++]=Mo,Fl[Il++]=Rc,Rc=e,Mo=t}function ov(e,t,a){ya[xa++]=an,ya[xa++]=nn,ya[xa++]=g0,g0=e;var n=an;e=nn;var l=32-da(n)-1;n&=~(1<<l),a+=1;var i=32-da(t)+l;if(30<i){var o=l-l%5;i=(n&(1<<o)-1).toString(32),n>>=o,l-=o,an=1<<32-da(t)+l|a<<l|n,nn=i+e}else an=1<<i|a<<l|n,nn=e}function ls(e){e.return!==null&&(Nn(e,1),ov(e,1,0))}function v2(e){for(;e===Rc;)Rc=Fl[--Il],Fl[Il]=null,Mo=Fl[--Il],Fl[Il]=null;for(;e===g0;)g0=ya[--xa],ya[xa]=null,nn=ya[--xa],ya[xa]=null,an=ya[--xa],ya[xa]=null}function rv(e,t){ya[xa++]=an,ya[xa++]=nn,ya[xa++]=g0,an=t.id,nn=t.overflow,g0=e}var yt=null,je=null,fe=!1,c0=null,Sa=!1,su=Error(R(519));function b0(e){var t=Error(R(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ko(za(t,e)),su}function l5(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[St]=e,t[$t]=n,a){case"dialog":ve("cancel",t),ve("close",t);break;case"iframe":case"object":case"embed":ve("load",t);break;case"video":case"audio":for(a=0;a<Ro.length;a++)ve(Ro[a],t);break;case"source":ve("error",t);break;case"img":case"image":case"link":ve("error",t),ve("load",t);break;case"details":ve("toggle",t);break;case"input":ve("invalid",t),H3(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":ve("invalid",t);break;case"textarea":ve("invalid",t),B3(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||Yp(t.textContent,a)?(n.popover!=null&&(ve("beforetoggle",t),ve("toggle",t)),n.onScroll!=null&&ve("scroll",t),n.onScrollEnd!=null&&ve("scrollend",t),n.onClick!=null&&(t.onclick=tn),t=!0):t=!1,t||b0(e,!0)}function Ec(e){for(yt=e.return;yt;)switch(yt.tag){case 5:case 31:case 13:Sa=!1;return;case 27:case 3:Sa=!0;return;default:yt=yt.return}}function Ol(e){if(e!==yt)return!1;if(!fe)return Ec(e),fe=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Zu(e.type,e.memoizedProps)),a=!a),a&&je&&b0(e),Ec(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));je=e3(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));je=e3(e)}else t===27?(t=je,S0(e.type)?(e=Pu,Pu=null,je=e):je=t):je=yt?Ma(e.stateNode.nextSibling):null;return!0}function W0(){je=yt=null,fe=!1}function C1(){var e=c0;return e!==null&&(Zt===null?Zt=e:Zt.push.apply(Zt,e),c0=null),e}function ko(e){c0===null?c0=[e]:c0.push(e)}var uu=cn(null),dl=null,zn=null;function n0(e,t,a){He(uu,t._currentValue),t._currentValue=a}function Mn(e){e._currentValue=uu.current,kt(uu)}function cc(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}}function du(e,t,a,n){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var i=l.dependencies;if(i!==null){var o=l.child;i=i.firstContext;e:for(;i!==null;){var r=i;i=l;for(var c=0;c<t.length;c++)if(r.context===t[c]){i.lanes|=a,r=i.alternate,r!==null&&(r.lanes|=a),cc(i.return,a,e),n||(o=null);break e}i=r.next}}else if(l.tag===18){if(o=l.return,o===null)throw Error(R(341));o.lanes|=a,i=o.alternate,i!==null&&(i.lanes|=a),cc(o,a,e),o=null}else l.tag===13&&l.memoizedState!==null&&l.memoizedState.dehydrated===null?(l.lanes|=a,o=l.alternate,o!==null&&(o.lanes|=a),cc(l.return,a,e),o=l.child,o=o!==null?o.sibling:null):o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===e){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}}function el(e,t,a,n){e=null;for(var l=t,i=!1;l!==null;){if(!i){if((l.flags&524288)!==0)i=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var o=l.alternate;if(o===null)throw Error(R(387));if(o=o.memoizedProps,o!==null){var r=l.type;fa(l.pendingProps.value,o.value)||(e!==null?e.push(r):e=[r])}}else if(l===zc.current){if(o=l.alternate,o===null)throw Error(R(387));o.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(gi):e=[gi])}l=l.return}return e!==null&&du(t,e,a,n),t.flags|=262144,e!==null}function Ac(e){for(e=e.firstContext;e!==null;){if(!fa(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function tl(e){dl=e,zn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Mt(e){return cv(dl,e)}function Xr(e,t){return dl===null&&tl(e),cv(e,t)}function cv(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},zn===null){if(e===null)throw Error(R(308));zn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else zn=zn.next=t;return a}var Uw=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Bw=st.unstable_scheduleCallback,qw=st.unstable_NormalPriority,at={$$typeof:en,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function p2(){return{controller:new Uw,data:new Map,refCount:0}}function Go(e){e.refCount--,e.refCount===0&&Bw(qw,function(){e.controller.abort()})}function i5(e,t){if((e.pendingLanes&4194048)!==0){var a=e.transitionTypes;for(a===null&&(a=e.transitionTypes=[]),e=0;e<t.length;e++){var n=t[e];a.indexOf(n)===-1&&a.push(n)}}}var lo=null;function Vw(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var so=null,mu=0,al=0,ei=null;function Gw(e,t){if(so===null){var a=so=[];mu=0,al=X2(),ei={status:"pending",value:void 0,then:function(n){a.push(n)}}}return mu++,t.then(o5,o5),t}function o5(){if(--mu===0&&(lo=null,so!==null)){ei!==null&&(ei.status="fulfilled");var e=so;so=null,al=0,ei=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Yw(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(l){a.push(l)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var l=0;l<a.length;l++)(0,a[l])(t)},function(l){for(n.status="rejected",n.reason=l,l=0;l<a.length;l++)(0,a[l])(void 0)}),n}var r5=te.S;te.S=function(e,t){if(wp=sa(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Gw(e,t),lo!==null)for(var a=hi;a!==null;)i5(a,lo),a=a.next;if(a=e.types,a!==null){for(var n=hi;n!==null;)i5(n,a),n=n.next;if(al!==0){n=lo,n===null&&(n=lo=[]);for(var l=0;l<a.length;l++){var i=a[l];n.indexOf(i)===-1&&n.push(i)}}}r5!==null&&r5(e,t)};var J0=cn(null);function g2(){var e=J0.current;return e!==null?e:Ae.pooledCache}function sc(e,t){t===null?He(J0,J0.current):He(J0,t.pool)}function sv(){var e=g2();return e===null?null:{parent:at._currentValue,pool:e}}var zi=Error(R(460)),b2=Error(R(474)),is=Error(R(542)),Dc={then:function(){}};function c5(e){return e=e.status,e==="fulfilled"||e==="rejected"}function uv(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(tn,tn),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,u5(e),e===void 0&&!("reason"in t)?Error(R(600)):e;default:if(typeof t.status=="string")t.then(tn,tn);else{if(e=Ae,e!==null&&100<e.shellSuspendCounter)throw Error(R(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var l=t;l.status="fulfilled",l.value=n}},function(n){if(t.status==="pending"){var l=t;l.status="rejected",l.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,u5(e),e}throw P0=t,zi}}function X0(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(P0=a,zi):a}}var P0=null;function s5(){if(P0===null)throw Error(R(459));var e=P0;return P0=null,e}function u5(e){if(e===zi||e===is)throw Error(R(483))}var ti=null,wo=0;function Kr(e){var t=wo;return wo+=1,ti===null&&(ti=[]),uv(ti,e,t)}function In(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Qr(e,t){throw t.$$typeof===Sk?Error(R(525)):(e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function dv(e){function t(v,p){if(e){var g=v.deletions;g===null?(v.deletions=[p],v.flags|=16):g.push(p)}}function a(v,p){if(!e)return null;for(;p!==null;)t(v,p),p=p.sibling;return null}function n(v){for(var p=new Map;v!==null;)v.key===null?p.set(v.index,v):p.set(v.key,v),v=v.sibling;return p}function l(v,p){return v=Sn(v,p),v.index=0,v.sibling=null,v}function i(v,p,g){return v.index=g,e?(g=v.alternate,g!==null?(g=g.index,g<p?(v.flags|=2,p):g):(v.flags|=134217730,p)):(v.flags|=1048576,p)}function o(v){return e&&v.alternate===null&&(v.flags|=134217730),v}function r(v,p,g,y){return p===null||p.tag!==6?(p=k1(g,v.mode,y),p.return=v,p):(p=l(p,g),p.return=v,p)}function c(v,p,g,y){var E=g.type;return E===ql?(v=s(v,p,g.props.children,y,g.key),In(v,g),v):p!==null&&(p.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===$n&&X0(E)===p.type)?(p=l(p,g.props),In(p,g),p.return=v,p):(p=rc(g.type,g.key,g.props,null,v.mode,y),In(p,g),p.return=v,p)}function u(v,p,g,y){return p===null||p.tag!==4||p.stateNode.containerInfo!==g.containerInfo||p.stateNode.implementation!==g.implementation?(p=w1(g,v.mode,y),p.return=v,p):(p=l(p,g.children||[]),p.return=v,p)}function s(v,p,g,y,E){return p===null||p.tag!==7?(p=I0(g,v.mode,y,E),p.return=v,p):(p=l(p,g),p.return=v,p)}function d(v,p,g){if(typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint")return p=k1(""+p,v.mode,g),p.return=v,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case jr:return g=rc(p.type,p.key,p.props,null,v.mode,g),In(g,p),g.return=v,g;case to:return p=w1(p,v.mode,g),p.return=v,p;case $n:return p=X0(p),d(v,p,g)}if(ao(p)||Ii(p))return p=I0(p,v.mode,g,null),p.return=v,p;if(typeof p.then=="function")return d(v,Kr(p),g);if(p.$$typeof===en)return d(v,Xr(v,p),g);Qr(v,p)}return null}function m(v,p,g,y){var E=p!==null?p.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return E!==null?null:r(v,p,""+g,y);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case jr:return g.key===E?c(v,p,g,y):null;case to:return g.key===E?u(v,p,g,y):null;case $n:return g=X0(g),m(v,p,g,y)}if(ao(g)||Ii(g))return E!==null?null:s(v,p,g,y,null);if(typeof g.then=="function")return m(v,p,Kr(g),y);if(g.$$typeof===en)return m(v,p,Xr(v,g),y);Qr(v,g)}return null}function f(v,p,g,y,E){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return v=v.get(g)||null,r(p,v,""+y,E);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case jr:return v=v.get(y.key===null?g:y.key)||null,c(p,v,y,E);case to:return v=v.get(y.key===null?g:y.key)||null,u(p,v,y,E);case $n:return y=X0(y),f(v,p,g,y,E)}if(ao(y)||Ii(y))return v=v.get(g)||null,s(p,v,y,E,null);if(typeof y.then=="function")return f(v,p,g,Kr(y),E);if(y.$$typeof===en)return f(v,p,g,Xr(p,y),E);Qr(p,y)}return null}function x(v,p,g,y){for(var E=null,V=null,U=p,O=p=0,$=null;U!==null&&O<g.length;O++){U.index>O?($=U,U=null):$=U.sibling;var I=m(v,U,g[O],y);if(I===null){U===null&&(U=$);break}e&&U&&I.alternate===null&&t(v,U),p=i(I,p,O),V===null?E=I:V.sibling=I,V=I,U=$}if(O===g.length)return a(v,U),fe&&Nn(v,O),E;if(U===null){for(;O<g.length;O++)U=d(v,g[O],y),U!==null&&(p=i(U,p,O),V===null?E=U:V.sibling=U,V=U);return fe&&Nn(v,O),E}for(U=n(U);O<g.length;O++)$=f(U,v,O,g[O],y),$!==null&&(e&&(I=$.alternate,I!==null&&U.delete(I.key===null?O:I.key)),p=i($,p,O),V===null?E=$:V.sibling=$,V=$);return e&&U.forEach(function(Fe){return t(v,Fe)}),fe&&Nn(v,O),E}function N(v,p,g,y){if(g==null)throw Error(R(151));for(var E=null,V=null,U=p,O=p=0,$=null,I=g.next();U!==null&&!I.done;O++,I=g.next()){U.index>O?($=U,U=null):$=U.sibling;var Fe=m(v,U,I.value,y);if(Fe===null){U===null&&(U=$);break}e&&U&&Fe.alternate===null&&t(v,U),p=i(Fe,p,O),V===null?E=Fe:V.sibling=Fe,V=Fe,U=$}if(I.done)return a(v,U),fe&&Nn(v,O),E;if(U===null){for(;!I.done;O++,I=g.next())I=d(v,I.value,y),I!==null&&(p=i(I,p,O),V===null?E=I:V.sibling=I,V=I);return fe&&Nn(v,O),E}for(U=n(U);!I.done;O++,I=g.next())I=f(U,v,O,I.value,y),I!==null&&(e&&($=I.alternate,$!==null&&U.delete($.key===null?O:$.key)),p=i(I,p,O),V===null?E=I:V.sibling=I,V=I);return e&&U.forEach(function(un){return t(v,un)}),fe&&Nn(v,O),E}function C(v,p,g,y){if(typeof g=="object"&&g!==null&&g.type===ql&&g.key===null&&g.props.ref===void 0&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case jr:e:{for(var E=g.key;p!==null;){if(p.key===E){if(E=g.type,E===ql){if(p.tag===7){a(v,p.sibling),y=l(p,g.props.children),In(y,g),y.return=v,v=y;break e}}else if(p.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===$n&&X0(E)===p.type){a(v,p.sibling),y=l(p,g.props),In(y,g),y.return=v,v=y;break e}a(v,p);break}else t(v,p);p=p.sibling}g.type===ql?(y=I0(g.props.children,v.mode,y,g.key),In(y,g),y.return=v,v=y):(y=rc(g.type,g.key,g.props,null,v.mode,y),In(y,g),y.return=v,v=y)}return o(v);case to:e:{for(E=g.key;p!==null;){if(p.key===E)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){a(v,p.sibling),y=l(p,g.children||[]),y.return=v,v=y;break e}else{a(v,p);break}else t(v,p);p=p.sibling}y=w1(g,v.mode,y),y.return=v,v=y}return o(v);case $n:return g=X0(g),C(v,p,g,y)}if(ao(g))return x(v,p,g,y);if(Ii(g)){if(E=Ii(g),typeof E!="function")throw Error(R(150));return g=E.call(g),N(v,p,g,y)}if(typeof g.then=="function")return C(v,p,Kr(g),y);if(g.$$typeof===en)return C(v,p,Xr(v,g),y);Qr(v,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,p!==null&&p.tag===6?(a(v,p.sibling),y=l(p,g),y.return=v,v=y):(a(v,p),y=k1(g,v.mode,y),y.return=v,v=y),o(v)):a(v,p)}return function(v,p,g,y){try{wo=0;var E=C(v,p,g,y);return ti=null,E}catch(U){if(U===zi||U===is)throw U;var V=It(29,U,null,v.mode);return V.lanes=y,V.return=v,V}}}var nl=dv(!0),mv=dv(!1),Wn=!1;function y2(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function s0(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function u0(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(ze&2)!==0){var l=n.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),n.pending=t,t=Tc(e),nv(e,null,a),t}return ns(e,n,t,a),Tc(e)}function uo(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,R3(e,a)}}function T1(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var l=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var o={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?l=i=o:i=i.next=o,a=a.next}while(a!==null);i===null?l=i=t:i=i.next=t}else l=i=t;a={baseState:n.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var hu=!1;function mo(){if(hu){var e=ei;if(e!==null)throw e}}function fo(e,t,a,n){hu=!1;var l=e.updateQueue;Wn=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,r=l.shared.pending;if(r!==null){l.shared.pending=null;var c=r,u=c.next;c.next=null,o===null?i=u:o.next=u,o=c;var s=e.alternate;s!==null&&(s=s.updateQueue,r=s.lastBaseUpdate,r!==o&&(r===null?s.firstBaseUpdate=u:r.next=u,s.lastBaseUpdate=c))}if(i!==null){var d=l.baseState;o=0,s=u=c=null,r=i;do{var m=r.lane&-536870913,f=m!==r.lane;if(f?(ge&m)===m:(n&m)===m){m!==0&&m===al&&(hu=!0),s!==null&&(s=s.next={lane:0,tag:r.tag,payload:r.payload,callback:null,next:null});e:{var x=e,N=r;m=t;var C=a;switch(N.tag){case 1:if(x=N.payload,typeof x=="function"){d=x.call(C,d,m);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=N.payload,m=typeof x=="function"?x.call(C,d,m):x,m==null)break e;d=De({},d,m);break e;case 2:Wn=!0}}m=r.callback,m!==null&&(e.flags|=64,f&&(e.flags|=8192),f=l.callbacks,f===null?l.callbacks=[m]:f.push(m))}else f={lane:m,tag:r.tag,payload:r.payload,callback:r.callback,next:null},s===null?(u=s=f,c=d):s=s.next=f,o|=m;if(r=r.next,r===null){if(r=l.shared.pending,r===null)break;f=r,r=f.next,f.next=null,l.lastBaseUpdate=f,l.shared.pending=null}}while(!0);s===null&&(c=d),l.baseState=c,l.firstBaseUpdate=u,l.lastBaseUpdate=s,i===null&&(l.shared.lanes=0),N0|=o,e.lanes=o,e.memoizedState=d}}function fv(e,t){if(typeof e!="function")throw Error(R(191,e));e.call(t)}function hv(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)fv(a[e],t)}var y0=cn(null),_c=cn(0);function d5(e,t){e=En,He(_c,e),He(y0,t),En=e|t.baseLanes}function vu(){He(_c,En),He(y0,y0.current)}function x2(){En=_c.current,kt(y0),kt(_c)}var Tt=cn(null),_t=null;function d0(e){var t=e.alternate;He(wt,wt.current&1),He(Tt,e),_t===null&&(t===null||y0.current!==null||t.memoizedState!==null)&&(_t=e)}function pu(e){He(wt,wt.current),He(Tt,e),_t===null&&(_t=e)}function vv(e){e.tag===22?(He(wt,wt.current),He(Tt,e),_t===null&&(_t=e)):m0()}function m0(){He(wt,wt.current),He(Tt,Tt.current)}function oa(e){kt(Tt),_t===e&&(_t=null),kt(wt)}var wt=cn(0);function Co(e,t){He(Tt,Tt.current),He(wt,t)}function N2(e){kt(wt),kt(Tt),_t===e&&(_t=null)}function Oc(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Ju(a)||F2(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Cn=0,ue=null,Re=null,tt=null,Lc=!1,ai=!1,ll=!1,jc=0,To=0,ni=null,Xw=0;function Ie(){throw Error(R(321))}function z2(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!fa(e[a],t[a]))return!1;return!0}function S2(e,t,a,n,l,i){return Cn=i,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,te.H=e===null||e.memoizedState===null?Qv:Zv,ll=!1,i=a(n,l),ll=!1,ai&&(i=gv(t,a,n,l)),pv(e),i}function pv(e){te.H=Hc;var t=Re!==null&&Re.next!==null;if(Cn=0,tt=Re=ue=null,Lc=!1,To=0,ni=null,t)throw Error(R(300));e===null||nt||(e=e.dependencies,e!==null&&Ac(e)&&(nt=!0))}function gv(e,t,a,n){ue=e;var l=0;do{if(ai&&(ni=null),To=0,ai=!1,25<=l)throw Error(R(301));if(l+=1,tt=Re=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}te.H=$w,i=t(a,n)}while(ai);return i}function Kw(){var e=te.H,t=e.useState()[0];return t=typeof t.then=="function"?Yo(t):t,e=e.useState()[0],(Re!==null?Re.memoizedState:null)!==e&&(ue.flags|=1024),t}function M2(){var e=jc!==0;return jc=0,e}function k2(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function w2(e){if(Lc){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Lc=!1}Cn=0,tt=Re=ue=null,ai=!1,To=jc=0,ni=null}function Bt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?ue.memoizedState=tt=e:tt=tt.next=e,tt}function We(){if(Re===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=Re.next;var t=tt===null?ue.memoizedState:tt.next;if(t!==null)tt=t,Re=e;else{if(e===null)throw ue.alternate===null?Error(R(467)):Error(R(310));Re=e,e={memoizedState:Re.memoizedState,baseState:Re.baseState,baseQueue:Re.baseQueue,queue:Re.queue,next:null},tt===null?ue.memoizedState=tt=e:tt=tt.next=e}return tt}function os(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yo(e){var t=To;return To+=1,ni===null&&(ni=[]),e=uv(ni,e,t),t=ue,(tt===null?t.memoizedState:tt.next)===null&&(t=t.alternate,te.H=t===null||t.memoizedState===null?Qv:Zv),e}function rs(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Yo(e);if(e.$$typeof===wk)return;if(e.$$typeof===en)return Mt(e)}throw Error(R(438,String(e)))}function C2(e){var t=null,a=ue.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=ue.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=os(),ue.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=kk;return t.index++,a}function Tn(e,t){return typeof t=="function"?t(e):t}function uc(e){var t=We();return T2(t,Re,e)}function T2(e,t,a){var n=e.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=a;var l=e.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}t.baseQueue=l=i,n.pending=null}if(i=e.baseState,l===null)e.memoizedState=i;else{t=l.next;var r=o=null,c=null,u=t,s=!1;do{var d=u.lane&-536870913;if(d!==u.lane?(ge&d)===d:(Cn&d)===d){var m=u.revertLane;if(m===0)c!==null&&(c=c.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),d===al&&(s=!0);else if((Cn&m)===m){u=u.next,m===al&&(s=!0);continue}else d={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},c===null?(r=c=d,o=i):c=c.next=d,ue.lanes|=m,N0|=m;d=u.action,ll&&a(i,d),i=u.hasEagerState?u.eagerState:a(i,d)}else m={lane:d,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},c===null?(r=c=m,o=i):c=c.next=m,ue.lanes|=d,N0|=d;u=u.next}while(u!==null&&u!==t);if(c===null?o=i:c.next=r,!fa(i,e.memoizedState)&&(nt=!0,s&&(a=ei,a!==null)))throw a;e.memoizedState=i,e.baseState=o,e.baseQueue=c,n.lastRenderedState=i}return l===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function R1(e){var t=We(),a=t.queue;if(a===null)throw Error(R(311));a.lastRenderedReducer=e;var n=a.dispatch,l=a.pending,i=t.memoizedState;if(l!==null){a.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);fa(i,t.memoizedState)||(nt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),a.lastRenderedState=i}return[i,n]}function bv(e,t,a){var n=ue,l=We(),i=fe;if(i){if(a===void 0)throw Error(R(407));a=a()}else a=t();var o=!fa((Re||l).memoizedState,a);if(o&&(l.memoizedState=a,nt=!0),l=l.queue,R2(Nv.bind(null,n,l,e),[e]),e=l.getSnapshot!==t||o||tt!==null&&(tt.memoizedState.tag&1)!==0,ui(e?9:8,{destroy:void 0},xv.bind(null,n,l,a,t),null),e){if(n.flags|=2048,Ae===null)throw Error(R(349));i||(Cn&127)!==0||yv(n,t,a)}return a}function yv(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=ue.updateQueue,t===null?(t=os(),ue.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function xv(e,t,a,n){t.value=a,t.getSnapshot=n,zv(t)&&Sv(e)}function Nv(e,t,a){return a(function(){zv(t)&&Sv(e)})}function zv(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!fa(e,a)}catch{return!0}}function Sv(e){var t=ul(e,2);t!==null&&Jt(t,e,2)}function gu(e){var t=Bt();if(typeof e=="function"){var a=e;if(e=a(),ll){t0(!0);try{a()}finally{t0(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tn,lastRenderedState:e},t}function Mv(e,t,a,n){return e.baseState=a,T2(e,Re,typeof n=="function"?n:Tn)}function Qw(e,t,a,n,l){if(ss(e))throw Error(R(485));if(e=t.action,e!==null){var i={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){i.listeners.push(o)}};te.T!==null?a(!0):i.isTransition=!1,n(i),a=t.pending,a===null?(i.next=t.pending=i,kv(t,i)):(i.next=a.next,t.pending=a.next=i)}}function kv(e,t){var a=t.action,n=t.payload,l=e.state;if(t.isTransition){var i=te.T,o={};o.types=i!==null?i.types:null,te.T=o;try{var r=a(l,n),c=te.S;c!==null&&c(o,r),m5(e,t,r)}catch(u){bu(e,t,u)}finally{i!==null&&o.types!==null&&(i.types=o.types),te.T=i}}else try{i=a(l,n),m5(e,t,i)}catch(u){bu(e,t,u)}}function m5(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){f5(e,t,n)},function(n){return bu(e,t,n)}):f5(e,t,a)}function f5(e,t,a){t.status="fulfilled",t.value=a,wv(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,kv(e,a)))}function bu(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,wv(t),t=t.next;while(t!==n)}e.action=null}function wv(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Cv(e,t){return t}function h5(e,t){if(fe){var a=Ae.formState;if(a!==null){e:{var n=ue;if(fe){if(je){t:{for(var l=je,i=Sa;l.nodeType!==8;){if(!i){l=null;break t}if(l=Ma(l.nextSibling),l===null){l=null;break t}}i=l.data,l=i==="F!"||i==="F"?l:null}if(l){je=Ma(l.nextSibling),n=l.data==="F!";break e}}b0(n)}n=!1}n&&(t=a[0])}}return a=Bt(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cv,lastRenderedState:t},a.queue=n,a=Yv.bind(null,ue,n),n.dispatch=a,n=gu(!1),i=_2.bind(null,ue,!1,n.queue),n=Bt(),l={state:t,dispatch:null,action:e,pending:null},n.queue=l,a=Qw.bind(null,ue,l,i,a),l.dispatch=a,n.memoizedState=e,[t,a,!1]}function v5(e){var t=We();return Tv(t,Re,e)}function Tv(e,t,a){if(t=T2(e,t,Cv)[0],e=uc(Tn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=Yo(t)}catch(o){throw o===zi?is:o}else n=t;t=We();var l=t.queue,i=l.dispatch;return a!==t.memoizedState&&(ue.flags|=2048,ui(9,{destroy:void 0},Zw.bind(null,l,a),null)),[n,i,e]}function Zw(e,t){e.action=t}function p5(e){var t=We(),a=Re;if(a!==null)return Tv(t,a,e);We(),t=t.memoizedState,a=We();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function ui(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=ue.updateQueue,t===null&&(t=os(),ue.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function Rv(){return We().memoizedState}function dc(e,t,a,n){var l=Bt();ue.flags|=e,l.memoizedState=ui(1|t,{destroy:void 0},a,n===void 0?null:n)}function cs(e,t,a,n){var l=We();n=n===void 0?null:n;var i=l.memoizedState.inst;Re!==null&&n!==null&&z2(n,Re.memoizedState.deps)?l.memoizedState=ui(t,i,a,n):(ue.flags|=e,l.memoizedState=ui(1|t,i,a,n))}function g5(e,t){dc(8390656,8,e,t)}function R2(e,t){cs(2048,8,e,t)}function Fw(e){ue.flags|=4;var t=ue.updateQueue;if(t===null)t=os(),ue.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Ev(e){var t=We().memoizedState;return Fw({ref:t,nextImpl:e}),function(){if((ze&2)!==0)throw Error(R(440));return t.impl.apply(void 0,arguments)}}function Av(e,t){return cs(4,2,e,t)}function Dv(e,t){return cs(4,4,e,t)}function _v(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ov(e,t,a){a=a!=null?a.concat([e]):null,cs(4,4,_v.bind(null,t,e),a)}function E2(){}function Lv(e,t){var a=We();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&&z2(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function jv(e,t){var a=We();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&z2(t,n[1]))return n[0];if(n=e(),ll){t0(!0);try{e()}finally{t0(!1)}}return a.memoizedState=[n,t],n}function A2(e,t,a){return a===void 0||(Cn&1073741824)!==0&&(ge&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Tp(),ue.lanes|=e,N0|=e,a)}function Hv(e,t,a,n){return fa(a,t)?a:y0.current!==null?(e=A2(e,a,n),fa(e,t)||(nt=!0),e):(Cn&106)===0||(Cn&1073741824)!==0&&(ge&261930)===0?(nt=!0,e.memoizedState=a):(e=Tp(),ue.lanes|=e,N0|=e,t)}function Uv(e,t,a,n,l){var i=Se.p;Se.p=i!==0&&8>i?i:8;var o=te.T,r={};r.types=o!==null?o.types:null,te.T=r,_2(e,!1,t,a);try{var c=l(),u=te.S;if(u!==null&&u(r,c),c!==null&&typeof c=="object"&&typeof c.then=="function"){var s=Yw(c,n);ho(e,t,s,ma(e))}else ho(e,t,n,ma(e))}catch(d){ho(e,t,{then:function(){},status:"rejected",reason:d},ma())}finally{Se.p=i,o!==null&&r.types!==null&&(o.types=r.types),te.T=o}}function Iw(){}function yu(e,t,a,n){if(e.tag!==5)throw Error(R(476));var l=Bv(e).queue;Uv(e,l,t,F0,a===null?Iw:function(){return qv(e),a(n)})}function Bv(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:F0,baseState:F0,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tn,lastRenderedState:F0},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tn,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function qv(e){var t=Bv(e);t.next===null&&(t=e.alternate.memoizedState),ho(e,t.next.queue,{},ma())}function D2(){return Mt(gi)}function Vv(){return We().memoizedState}function Gv(){return We().memoizedState}function Jw(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=ma();e=s0(a);var n=u0(t,e,a);n!==null&&(Jt(n,t,a),uo(n,t,a)),t={cache:p2()},e.payload=t;return}t=t.return}}function Pw(e,t,a){var n=ma();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ss(e)?Xv(t,a):(a=f2(e,t,a,n),a!==null&&(Jt(a,e,n),Kv(a,t,n)))}function Yv(e,t,a){var n=ma();ho(e,t,a,n)}function ho(e,t,a,n){var l={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(ss(e))Xv(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,r=i(o,a);if(l.hasEagerState=!0,l.eagerState=r,fa(r,o))return ns(e,t,l,0),Ae===null&&as(),!1}catch{}if(a=f2(e,t,l,n),a!==null)return Jt(a,e,n),Kv(a,t,n),!0}return!1}function _2(e,t,a,n){if(n={lane:2,revertLane:X2(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ss(e)){if(t)throw Error(R(479))}else t=f2(e,a,n,2),t!==null&&Jt(t,e,2)}function ss(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Xv(e,t){ai=Lc=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Kv(e,t,a){if((a&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,R3(e,a)}}var Hc={readContext:Mt,use:rs,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useLayoutEffect:Ie,useInsertionEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useSyncExternalStore:Ie,useId:Ie,useHostTransitionStatus:Ie,useFormState:Ie,useActionState:Ie,useOptimistic:Ie,useMemoCache:Ie,useCacheRefresh:Ie,useEffectEvent:Ie},Qv={readContext:Mt,use:rs,useCallback:function(e,t){return Bt().memoizedState=[e,t===void 0?null:t],e},useContext:Mt,useEffect:g5,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,dc(4194308,4,_v.bind(null,t,e),a)},useLayoutEffect:function(e,t){return dc(4194308,4,e,t)},useInsertionEffect:function(e,t){dc(4,2,e,t)},useMemo:function(e,t){var a=Bt();t=t===void 0?null:t;var n=e();if(ll){t0(!0);try{e()}finally{t0(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=Bt();if(a!==void 0){var l=a(t);if(ll){t0(!0);try{a(t)}finally{t0(!1)}}}else l=t;return n.memoizedState=n.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},n.queue=e,e=e.dispatch=Pw.bind(null,ue,e),[n.memoizedState,e]},useRef:function(e){var t=Bt();return e={current:e},t.memoizedState=e},useState:function(e){e=gu(e);var t=e.queue,a=Yv.bind(null,ue,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:E2,useDeferredValue:function(e,t){var a=Bt();return A2(a,e,t)},useTransition:function(){var e=gu(!1);return e=Uv.bind(null,ue,e.queue,!0,!1),Bt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=ue,l=Bt();if(fe){if(a===void 0)throw Error(R(407));a=a()}else{if(a=t(),Ae===null)throw Error(R(349));(ge&127)!==0||yv(n,t,a)}l.memoizedState=a;var i={value:a,getSnapshot:t};return l.queue=i,g5(Nv.bind(null,n,i,e),[e]),n.flags|=2048,ui(9,{destroy:void 0},xv.bind(null,n,i,a,t),null),a},useId:function(){var e=Bt(),t=Ae.identifierPrefix;if(fe){var a=nn,n=an;a=(n&~(1<<32-da(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=jc++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Xw++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:D2,useFormState:h5,useActionState:h5,useOptimistic:function(e){var t=Bt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=_2.bind(null,ue,!0,a),a.dispatch=t,[e,t]},useMemoCache:C2,useCacheRefresh:function(){return Bt().memoizedState=Jw.bind(null,ue)},useEffectEvent:function(e){var t=Bt(),a={impl:e};return t.memoizedState=a,function(){if((ze&2)!==0)throw Error(R(440));return a.impl.apply(void 0,arguments)}}},Zv={readContext:Mt,use:rs,useCallback:Lv,useContext:Mt,useEffect:R2,useImperativeHandle:Ov,useInsertionEffect:Av,useLayoutEffect:Dv,useMemo:jv,useReducer:uc,useRef:Rv,useState:function(){return uc(Tn)},useDebugValue:E2,useDeferredValue:function(e,t){var a=We();return Hv(a,Re.memoizedState,e,t)},useTransition:function(){var e=uc(Tn)[0],t=We().memoizedState;return[typeof e=="boolean"?e:Yo(e),t]},useSyncExternalStore:bv,useId:Vv,useHostTransitionStatus:D2,useFormState:v5,useActionState:v5,useOptimistic:function(e,t){var a=We();return Mv(a,Re,e,t)},useMemoCache:C2,useCacheRefresh:Gv,useEffectEvent:Ev},$w={readContext:Mt,use:rs,useCallback:Lv,useContext:Mt,useEffect:R2,useImperativeHandle:Ov,useInsertionEffect:Av,useLayoutEffect:Dv,useMemo:jv,useReducer:R1,useRef:Rv,useState:function(){return R1(Tn)},useDebugValue:E2,useDeferredValue:function(e,t){var a=We();return Re===null?A2(a,e,t):Hv(a,Re.memoizedState,e,t)},useTransition:function(){var e=R1(Tn)[0],t=We().memoizedState;return[typeof e=="boolean"?e:Yo(e),t]},useSyncExternalStore:bv,useId:Vv,useHostTransitionStatus:D2,useFormState:p5,useActionState:p5,useOptimistic:function(e,t){var a=We();return Re!==null?Mv(a,Re,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:C2,useCacheRefresh:Gv,useEffectEvent:Ev};function E1(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:De({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var xu={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=ma(),l=s0(n);l.payload=t,a!=null&&(l.callback=a),t=u0(e,l,n),t!==null&&(Jt(t,e,n),uo(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=ma(),l=s0(n);l.tag=1,l.payload=t,a!=null&&(l.callback=a),t=u0(e,l,n),t!==null&&(Jt(t,e,n),uo(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=ma(),n=s0(a);n.tag=2,t!=null&&(n.callback=t),t=u0(e,n,a),t!==null&&(Jt(t,e,a),uo(t,e,a))}};function b5(e,t,a,n,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,o):t.prototype&&t.prototype.isPureReactComponent?!So(a,n)||!So(l,i):!0}function y5(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&&xu.enqueueReplaceState(t,t.state,null)}function il(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=De({},a));for(var l in e)a[l]===void 0&&(a[l]=e[l])}return a}function Fv(e){Cc(e)}function Iv(e){console.error(e)}function Jv(e){Cc(e)}function Uc(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function x5(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function Nu(e,t,a){return a=s0(a),a.tag=3,a.payload={element:null},a.callback=function(){Uc(e,t)},a}function Pv(e){return e=s0(e),e.tag=3,e}function $v(e,t,a,n){var l=a.type.getDerivedStateFromError;if(typeof l=="function"){var i=n.value;e.payload=function(){return l(i)},e.callback=function(){x5(t,a,n)}}var o=a.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){x5(t,a,n),typeof l!="function"&&(f0===null?f0=new Set([this]):f0.add(this));var r=n.stack;this.componentDidCatch(n.value,{componentStack:r!==null?r:""})})}function Ww(e,t,a,n,l){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=a.alternate,t!==null&&el(t,a,l,!0),a=Tt.current,a!==null){switch(a.tag){case 31:case 13:case 19:return _t===null?Qc():a.alternate===null&&Je===0&&(Je=3),a.flags&=-257,a.flags|=65536,a.lanes=l,n===Dc?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),H1(e,n,l)),!1;case 22:return a.flags|=65536,n===Dc?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),H1(e,n,l)),!1}throw Error(R(435,a.tag))}return H1(e,n,l),Qc(),!1}if(fe)return t=Tt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,n!==su&&(e=Error(R(422),{cause:n}),ko(za(e,a)))):(n!==su&&(t=Error(R(423),{cause:n}),ko(za(t,a))),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,n=za(n,a),l=Nu(e.stateNode,n,l),T1(e,l),Je!==4&&(Je=2)),!1;var i=Error(R(520),{cause:n});if(i=za(i,a),bo===null?bo=[i]:bo.push(i),Je!==4&&(Je=2),t===null)return!0;n=za(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=l&-l,a.lanes|=e,e=Nu(a.stateNode,n,e),T1(a,e),!1;case 1:if(t=a.type,i=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(f0===null||!f0.has(i))))return a.flags|=65536,l&=-l,a.lanes|=l,l=Pv(l),$v(l,e,a,n),T1(a,l),!1;break;case 22:if(a.memoizedState!==null)return a.flags|=65536,!1}a=a.return}while(a!==null);return!1}var O2=Error(R(461)),nt=!1;function rt(e,t,a,n){t.child=e===null?mv(t,null,a,n):nl(t,e.child,a,n)}function N5(e,t,a,n,l){a=a.render;var i=t.ref;if("ref"in n){var o={};for(var r in n)r!=="ref"&&(o[r]=n[r])}else o=n;return tl(t),n=S2(e,t,a,o,i,l),r=M2(),e!==null&&!nt?(k2(e,t,l),Rn(e,t,l)):(fe&&r&&ls(t),t.flags|=1,rt(e,t,n,l),t.child)}function z5(e,t,a,n,l){if(e===null){var i=a.type;return typeof i=="function"&&!h2(i)&&i.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=i,Wv(e,t,i,n,l)):(e=rc(a.type,null,n,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!j2(e,l)){var o=i.memoizedProps;if(a=a.compare,a=a!==null?a:So,a(o,n)&&e.ref===t.ref)return Rn(e,t,l)}return t.flags|=1,e=Sn(i,n),e.ref=t.ref,e.return=t,t.child=e}function Wv(e,t,a,n,l){if(e!==null){var i=e.memoizedProps;if(So(i,n)&&e.ref===t.ref)if(nt=!1,t.pendingProps=n=i,j2(e,l))(e.flags&131072)!==0&&(nt=!0);else return t.lanes=e.lanes,Rn(e,t,l)}return zu(e,t,a,n,l)}function ep(e,t,a,n){var l=n.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|a:a,e!==null){for(n=t.child=e.child,l=0;n!==null;)l=l|n.lanes|n.childLanes,n=n.sibling;n=l&~i}else n=0,t.child=null;return S5(e,t,i,a,n)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&sc(t,i!==null?i.cachePool:null),i!==null?d5(t,i):vu(),vv(t);else return n=t.lanes=536870912,S5(e,t,i!==null?i.baseLanes|a:a,a,n)}else i!==null?(sc(t,i.cachePool),d5(t,i),m0(),t.memoizedState=null):(e!==null&&sc(t,null),vu(),m0());return rt(e,t,l,a),t.child}function vo(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function S5(e,t,a,n,l){var i=g2();return i=i===null?null:{parent:at._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&&sc(t,null),vu(),vv(t),e!==null&&el(e,t,n,!0),t.childLanes=l,null}function mc(e,t){return t=us({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function M5(e,t,a){return nl(t,e.child,null,a),e=mc(t,t.pendingProps),e.flags|=2,oa(t),t.memoizedState=null,e}function eC(e,t,a){var n=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(fe){if(n.mode==="hidden")return e=mc(t,n),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},vo(null,e);if(pu(t),(e=je)?(e=eg(e,Sa),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:g0!==null?{id:an,overflow:nn}:null,retryLane:536870912,hydrationErrors:null},a=iv(e),a.return=t,t.child=a,yt=t,je=null)):e=null,e===null)throw b0(t);return t.lanes=536870912,null}return mc(t,n)}var i=e.memoizedState;if(i!==null){var o=i.dehydrated;if(pu(t),l)if(t.flags&256)t.flags&=-257,t=M5(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(R(558));else if(nt||el(e,t,a,!1),l=(a&e.childLanes)!==0,nt||l){if(y0.current===null){if(n=Ae,n!==null&&(o=E3(n,a),o!==0&&o!==i.retryLane))throw i.retryLane=o,ul(e,o),Jt(n,e,o),O2;Qc()}t=M5(e,t,a)}else e=i.treeContext,je=Ma(o.nextSibling),yt=t,fe=!0,c0=null,Sa=!1,e!==null&&rv(t,e),t=mc(t,n),t.flags|=134221824;return t}return e=Sn(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function jl(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(R(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function zu(e,t,a,n,l){return tl(t),a=S2(e,t,a,n,void 0,l),n=M2(),e!==null&&!nt?(k2(e,t,l),Rn(e,t,l)):(fe&&n&&ls(t),t.flags|=1,rt(e,t,a,l),t.child)}function k5(e,t,a,n,l,i){return tl(t),t.updateQueue=null,a=gv(t,n,a,l),pv(e),n=M2(),e!==null&&!nt?(k2(e,t,i),Rn(e,t,i)):(fe&&n&&ls(t),t.flags|=1,rt(e,t,a,i),t.child)}function w5(e,t,a,n,l){if(tl(t),t.stateNode===null){var i=Zl,o=a.contextType;typeof o=="object"&&o!==null&&(i=Mt(o)),i=new a(n,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=xu,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},y2(t),o=a.contextType,i.context=typeof o=="object"&&o!==null?Mt(o):Zl,i.state=t.memoizedState,o=a.getDerivedStateFromProps,typeof o=="function"&&(E1(t,a,o,n),i.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(o=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),o!==i.state&&xu.enqueueReplaceState(i,i.state,null),fo(t,n,i,l),mo(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var r=t.memoizedProps,c=il(a,r);i.props=c;var u=i.context,s=a.contextType;o=Zl,typeof s=="object"&&s!==null&&(o=Mt(s));var d=a.getDerivedStateFromProps;s=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function",r=t.pendingProps!==r,s||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(r||u!==o)&&y5(t,i,n,o),Wn=!1;var m=t.memoizedState;i.state=m,fo(t,n,i,l),mo(),u=t.memoizedState,r||m!==u||Wn?(typeof d=="function"&&(E1(t,a,d,n),u=t.memoizedState),(c=Wn||b5(t,a,c,n,m,u,o))?(s||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=u),i.props=n,i.state=u,i.context=o,n=c):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,fu(e,t),o=t.memoizedProps,s=il(a,o),i.props=s,d=t.pendingProps,m=i.context,u=a.contextType,c=Zl,typeof u=="object"&&u!==null&&(c=Mt(u)),r=a.getDerivedStateFromProps,(u=typeof r=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==d||m!==c)&&y5(t,i,n,c),Wn=!1,m=t.memoizedState,i.state=m,fo(t,n,i,l),mo();var f=t.memoizedState;o!==d||m!==f||Wn||e!==null&&e.dependencies!==null&&Ac(e.dependencies)?(typeof r=="function"&&(E1(t,a,r,n),f=t.memoizedState),(s=Wn||b5(t,a,s,n,m,f,c)||e!==null&&e.dependencies!==null&&Ac(e.dependencies))?(u||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,f,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,f,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=f),i.props=n,i.state=f,i.context=c,n=s):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,jl(e,t),n=(t.flags&128)!==0,i||n?(i=t.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&n?(t.child=nl(t,e.child,null,l),t.child=nl(t,null,a,l)):rt(e,t,a,l),t.memoizedState=i.state,e=t.child):e=Rn(e,t,l),e}function C5(e,t,a,n){return W0(),t.flags|=256,rt(e,t,a,n),t.child}var Su={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Mu(e){return{baseLanes:e,cachePool:sv()}}function ku(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=ca),e}function tp(e,t,a){var n=t.pendingProps,l=!1,i=(t.flags&128)!==0,o;if((o=i)||(o=e!==null&&e.memoizedState===null?!1:(wt.current&2)!==0),o&&(l=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(fe){if(l?d0(t):m0(),(e=je)?(e=eg(e,Sa),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:g0!==null?{id:an,overflow:nn}:null,retryLane:536870912,hydrationErrors:null},a=iv(e),a.return=t,t.child=a,yt=t,je=null)):e=null,e===null)throw b0(t);return F2(e)?t.lanes=32:t.lanes=536870912,null}return i=n.children,n=n.fallback,l?(m0(),l=t.mode,i=us({mode:"hidden",children:i},l),n=I0(n,l,a,null),i.return=t,n.return=t,i.sibling=n,t.child=i,n=t.child,n.memoizedState=Mu(a),n.childLanes=ku(e,o,a),t.memoizedState=Su,vo(null,n)):(d0(t),L2(t,i))}var r=e.memoizedState;if(r!==null){var c=r.dehydrated;if(c!==null)return tC(e,t,i,o,n,c,r,a)}return l?(m0(),l=n.fallback,i=t.mode,r=e.child,c=r.sibling,n=Sn(r,{mode:"hidden",children:n.children}),n.subtreeFlags=r.subtreeFlags&1206910976,c!==null?l=Sn(c,l):(l=I0(l,i,a,null),l.flags|=2),l.return=t,n.return=t,n.sibling=l,t.child=n,vo(null,n),n=t.child,l=e.child.memoizedState,l===null?l=Mu(a):(i=l.cachePool,i!==null?(r=at._currentValue,i=i.parent!==r?{parent:r,pool:r}:i):i=sv(),l={baseLanes:l.baseLanes|a,cachePool:i}),n.memoizedState=l,n.childLanes=ku(e,o,a),t.memoizedState=Su,vo(e.child,n)):(d0(t),a=e.child,e=a.sibling,a=Sn(a,{mode:"visible",children:n.children}),a.return=t,a.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=a,t.memoizedState=null,a)}function L2(e,t){return t=us({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function us(e,t){return e=It(22,e,null,t),e.lanes=0,e}function Zr(e,t,a){return nl(t,e.child,null,a),e=L2(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function tC(e,t,a,n,l,i,o,r){if(a)return t.flags&256?(d0(t),t.flags&=-257,Zr(e,t,r)):t.memoizedState!==null?(m0(),t.child=e.child,t.flags|=128,null):(m0(),i=l.fallback,o=t.mode,l=us({mode:"visible",children:l.children},o),i=I0(i,o,r,null),i.flags|=2,l.return=t,i.return=t,l.sibling=i,t.child=l,nl(t,e.child,null,r),l=t.child,l.memoizedState=Mu(r),l.childLanes=ku(e,n,r),t.memoizedState=Su,vo(null,l));if(d0(t),F2(i)){if(n=i.nextSibling&&i.nextSibling.dataset,n)var c=n.dgst;return n=c,n!==""&&(l=Error(R(419)),l.stack="",l.digest=n,ko({value:l,source:null,stack:null})),Zr(e,t,r)}if(nt||el(e,t,r,!1),n=(r&e.childLanes)!==0,nt||n){if(y0.current!==null)return Zr(e,t,r);if(n=Ae,n!==null&&(l=E3(n,r),l!==0&&l!==o.retryLane))throw o.retryLane=l,ul(e,l),Jt(n,e,l),O2;return Ju(i)||Qc(),Zr(e,t,r)}return Ju(i)?(t.flags|=192,t.child=e.child,null):(e=o.treeContext,je=Ma(i.nextSibling),yt=t,fe=!0,c0=null,Sa=!1,e!==null&&rv(t,e),t=L2(t,l.children),t.flags|=134221824,t)}function T5(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),cc(e.return,t,a)}function R5(e){for(var t=null;e!==null;){var a=e.alternate;a!==null&&Oc(a)===null&&(t=e),e=e.sibling}return t}function Fr(e,t,a,n,l,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:l,treeForkCount:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=a,o.tailMode=l,o.treeForkCount=i)}function A1(e){var t=e.child;for(e.child=null;t!==null;){var a=t.sibling;t.sibling=e.child,e.child=t,t=a}}function wu(e,t,a){var n=t.pendingProps,l=n.revealOrder,i=n.tail;n=n.children;var o=wt.current;if(t.flags&128)return Co(t,o),null;var r=(o&2)!==0;if(r?(o=o&1|2,t.flags|=128):o&=1,Co(t,o),l==="backwards"&&e!==null?(A1(e),rt(e,t,n,a),A1(e)):rt(e,t,n,a),n=fe?Mo:0,!r&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&T5(e,a,t);else if(e.tag===19)T5(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(l){case"backwards":a=R5(t.child),a===null?(l=t.child,t.child=null):(l=a.sibling,a.sibling=null,A1(t)),Fr(t,!0,l,null,i,n);break;case"unstable_legacy-backwards":for(a=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Oc(e)===null){t.child=l;break}e=l.sibling,l.sibling=a,a=l,l=e}Fr(t,!0,a,null,i,n);break;case"together":Fr(t,!1,null,null,void 0,n);break;case"independent":t.memoizedState=null;break;default:a=R5(t.child),a===null?(l=t.child,t.child=null):(l=a.sibling,a.sibling=null),Fr(t,!1,l,a,i,n)}return t.child}function E5(e,t,a){var n=t.pendingProps;return n0(t,t.type,n.value),rt(e,t,n.children,a),t.child}function Rn(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),N0|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(el(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,a=Sn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Sn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function j2(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ac(e)))}function aC(e,t,a){switch(t.tag){case 3:Sc(t,t.stateNode.containerInfo),n0(t,at,e.memoizedState.cache),W0();break;case 27:case 5:W1(t);break;case 4:Sc(t,t.stateNode.containerInfo);break;case 10:n0(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,pu(t),null;break;case 13:var n=t.memoizedState;if(n!==null){if(n.dehydrated!==null)return d0(t),t.flags|=128,null;n=el(e,t,a,!1);var l=t.child.childLanes;return n||(a&l)!==0?tp(e,t,a):(d0(t),e=Rn(e,t,a),e!==null?e.sibling:null)}d0(t);break;case 19:if(t.flags&128)return wu(e,t,a);if(l=(e.flags&128)!==0,n=(a&t.childLanes)!==0,n||(el(e,t,a,!1),n=(a&t.childLanes)!==0),l){if(n)return wu(e,t,a);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Co(t,wt.current),n)break;return null;case 22:return t.lanes=0,ep(e,t,a,t.pendingProps);case 24:n0(t,at,e.memoizedState.cache)}return Rn(e,t,a)}function ap(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)nt=!0;else{if(!j2(e,a)&&(t.flags&128)===0)return nt=!1,aC(e,t,a);nt=(e.flags&131072)!==0}else nt=!1,fe&&(t.flags&1048576)!==0&&ov(t,Mo,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=X0(t.elementType),t.type=e,typeof e=="function")h2(e)?(n=il(e,n),t.tag=1,t=w5(null,t,e,n,a)):(t.tag=0,t=zu(null,t,e,n,a));else{if(e!=null){var l=e.$$typeof;if(l===t2){t.tag=11,t=N5(null,t,e,n,a);break e}else if(l===a2){t.tag=14,t=z5(null,t,e,n,a);break e}else if(l===en){t.tag=10,t.type=e,t=E5(null,t,a);break e}}throw t=P1(e)||e,Error(R(306,t,""))}}return t;case 0:return zu(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,l=il(n,t.pendingProps),w5(e,t,n,l,a);case 3:e:{if(Sc(t,t.stateNode.containerInfo),e===null)throw Error(R(387));n=t.pendingProps;var i=t.memoizedState;l=i.element,fu(e,t),fo(t,n,null,a);var o=t.memoizedState;if(n=o.cache,n0(t,at,n),n!==i.cache&&du(t,[at],a,!0),mo(),n=o.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=C5(e,t,n,a);break e}else if(n!==l){l=za(Error(R(424)),t),ko(l),t=C5(e,t,n,a);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,je=Ma(e.firstChild),yt=t,fe=!0,c0=null,Sa=!0,a=mv(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|134221824,a=a.sibling;else{if(W0(),n===l){t=Rn(e,t,a);break e}rt(e,t,n,a)}t=t.child}return t;case 26:return jl(e,t),e===null?(a=n3(t.type,null,t.pendingProps,null))?t.memoizedState=a:fe||(t.stateNode=Kp(t.type,t.pendingProps,r0.current,t)):t.memoizedState=n3(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return W1(t),e===null&&fe&&(n=t.stateNode=tg(t.type,t.pendingProps,r0.current),yt=t,Sa=!0,l=je,S0(t.type)?(Pu=l,je=Ma(n.firstChild)):je=l),rt(e,t,t.pendingProps.children,a),jl(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&fe&&((l=n=je)&&(n=FC(n,t.type,t.pendingProps,Sa),n!==null?(t.stateNode=n,yt=t,je=Ma(n.firstChild),Sa=!1,l=!0):l=!1),l||b0(t)),W1(t),l=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,n=i.children,Zu(l,i)?n=null:o!==null&&Zu(l,o)&&(t.flags|=32),t.memoizedState!==null&&(l=S2(e,t,Kw,null,null,a),gi._currentValue=l),jl(e,t),rt(e,t,n,a),t.child;case 6:return e===null&&fe&&((e=a=je)&&(a=IC(a,t.pendingProps,Sa),a!==null?(t.stateNode=a,yt=t,je=null,e=!0):e=!1),e||b0(t)),null;case 13:return tp(e,t,a);case 4:return Sc(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=nl(t,null,n,a):rt(e,t,n,a),t.child;case 11:return N5(e,t,t.type,t.pendingProps,a);case 7:return n=t.pendingProps,jl(e,t),rt(e,t,n,a),t.child;case 8:return rt(e,t,t.pendingProps.children,a),t.child;case 12:return rt(e,t,t.pendingProps.children,a),t.child;case 10:return E5(e,t,a);case 9:return l=t.type._context,n=t.pendingProps.children,tl(t),l=Mt(l),n=n(l),t.flags|=1,rt(e,t,n,a),t.child;case 14:return z5(e,t,t.type,t.pendingProps,a);case 15:return Wv(e,t,t.type,t.pendingProps,a);case 19:return wu(e,t,a);case 31:return eC(e,t,a);case 22:return ep(e,t,a,t.pendingProps);case 24:return tl(t),n=Mt(at),e===null?(l=g2(),l===null&&(l=Ae,i=p2(),l.pooledCache=i,i.refCount++,i!==null&&(l.pooledCacheLanes|=a),l=i),t.memoizedState={parent:n,cache:l},y2(t),n0(t,at,l)):((e.lanes&a)!==0&&(fu(e,t),fo(t,null,null,a),mo()),l=e.memoizedState,i=t.memoizedState,l.parent!==n?(l={parent:n,cache:n},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),n0(t,at,n)):(n=i.cache,n0(t,at,n),n!==l.cache&&du(t,[at],a,!0))),rt(e,t,t.pendingProps.children,a),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),n=t.pendingProps,n.name!=null&&n.name!=="auto"?t.flags|=e===null?18882560:18874368:fe&&ls(t),e!==null&&e.memoizedProps.name!==n.name?t.flags|=4194816:jl(e,t),rt(e,t,n.children,a),t.child;case 29:throw t.pendingProps}throw Error(R(156,t.tag))}function xn(e){e.flags|=4}function D1(e,t,a,n,l){var i;if((i=(e.mode&32)!==0)&&(i=a===null?o3(t,n):o3(t,n)&&(n.src!==a.src||n.srcSet!==a.srcSet)),i){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(Ap())e.flags|=8192;else throw P0=Dc,b2}else e.flags&=-16777217}function A5(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!ig(t))if(Ap())e.flags|=8192;else throw P0=Dc,b2}function Ir(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?C3():536870912,e.lanes|=t,di|=t)}function Pi(e,t){if(!fe)switch(e.tailMode){case"visible":break;case"collapsed":for(var a=e.tail,n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null;break;default:for(t=e.tail,a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null}}function Le(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)for(var l=e.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags&1206910976,n|=l.flags&1206910976,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags,n|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function nC(e,t,a){var n=t.pendingProps;switch(v2(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Le(t),null;case 1:return Le(t),null;case 3:return a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Mn(at),ri(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ol(t)?xn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,C1())),Le(t),null;case 26:var l=t.type,i=t.memoizedState;return e===null?(xn(t),i!==null?(Le(t),A5(t,i)):(Le(t),D1(t,l,null,n,a))):i?i!==e.memoizedState?(xn(t),Le(t),A5(t,i)):(Le(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&xn(t),Le(t),D1(t,l,e,n,a)),null;case 27:if(Mc(t),a=r0.current,l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&xn(t);else{if(!n){if(t.stateNode===null)throw Error(R(166));return Le(t),t.subtreeFlags&=-33554433,null}e=ln.current,Ol(t)?l5(t,e):(e=tg(l,n,a),t.stateNode=e,xn(t))}return Le(t),t.subtreeFlags&=-33554433,null;case 5:if(Mc(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&xn(t);else{if(!n){if(t.stateNode===null)throw Error(R(166));return Le(t),t.subtreeFlags&=-33554433,null}if(i=ln.current,Ol(t))l5(t,i);else{var o=Ao(r0.current);switch(i){case 1:i=o.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:i=o.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":i=o.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":i=o.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":i=o.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?o.createElement("select",{is:n.is}):o.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?o.createElement(l,{is:n.is}):o.createElement(l)}}i[St]=t,i[$t]=n;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)i.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=i;e:switch(Ct(i,l,n),l){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&xn(t)}}return Le(t),t.subtreeFlags&=-33554433,D1(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&xn(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(R(166));if(e=r0.current,Ol(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,l=yt,l!==null)switch(l.tag){case 27:case 5:n=l.memoizedProps}e[St]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||Yp(e.nodeValue,a)),e||b0(t,!0)}else e=Ao(e).createTextNode(n),e[St]=t,t.stateNode=e}return Le(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=Ol(t),a!==null){if(e===null){if(!n)throw Error(R(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(557));e[St]=t}else W0(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Le(t),e=!1}else a=C1(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(oa(t),t):(oa(t),null);if((t.flags&128)!==0)throw Error(R(558))}return Le(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=Ol(t),n!==null&&n.dehydrated!==null){if(e===null){if(!l)throw Error(R(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(R(317));l[St]=t}else W0(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Le(t),l=!1}else l=C1(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(oa(t),t):(oa(t),null)}return oa(t),(t.flags&128)!==0?(t.lanes=a,t):(a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,l=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(l=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==l&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Ir(t,t.updateQueue),Le(t),null);case 4:return ri(),e===null&&K2(t.stateNode.containerInfo),t.flags|=67108864,Le(t),null;case 10:return Mn(t.type),Le(t),null;case 19:if(N2(t),n=t.memoizedState,n===null)return Le(t),null;if(l=(t.flags&128)!==0,i=n.rendering,i===null)if(l)Pi(n,!1);else{if(Je!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Oc(e),i!==null){for(t.flags|=128,Pi(n,!1),e=i.updateQueue,t.updateQueue=e,Ir(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)lv(a,e),a=a.sibling;return Co(t,wt.current&1|2),fe&&Nn(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&sa()>Xc&&(t.flags|=128,l=!0,Pi(n,!1),t.lanes=4194304)}else{if(!l)if(e=Oc(i),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Ir(t,e),Pi(n,!0),n.tail===null&&n.tailMode!=="collapsed"&&n.tailMode!=="visible"&&!i.alternate&&!fe)return Le(t),null}else 2*sa()-n.renderingStartTime>Xc&&a!==536870912&&(t.flags|=128,l=!0,Pi(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}if(n.tail!==null){e=n.tail;e:{for(a=e;a!==null;){if(a.alternate!==null){a=!1;break e}a=a.sibling}a=!0}return n.rendering=e,n.tail=e.sibling,n.renderingStartTime=sa(),e.sibling=null,i=wt.current,i=l?i&1|2:i&1,n.tailMode==="visible"||n.tailMode==="collapsed"||!a||fe?Co(t,i):(a=i,He(Tt,t),He(wt,a),_t===null&&(_t=t)),fe&&Nn(t,n.treeForkCount),e}return Le(t),null;case 22:case 23:return oa(t),x2(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(a&536870912)!==0&&(t.flags&128)===0&&(Le(t),t.subtreeFlags&6&&(t.flags|=8192)):Le(t),a=t.updateQueue,a!==null&&Ir(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&kt(J0),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Mn(at),Le(t),null;case 25:return null;case 30:return t.flags|=33554432,Le(t),null}throw Error(R(156,t.tag))}function lC(e,t){switch(v2(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Mn(at),ri(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Mc(t),null;case 31:if(t.memoizedState!==null){if(oa(t),t.alternate===null)throw Error(R(340));W0()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(oa(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));W0()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return N2(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return ri(),null;case 10:return Mn(t.type),null;case 22:case 23:return oa(t),x2(),e!==null&&kt(J0),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Mn(at),null;case 25:return null;default:return null}}function np(e,t){switch(v2(t),t.tag){case 3:Mn(at),ri();break;case 26:case 27:case 5:Mc(t);break;case 4:ri();break;case 31:t.memoizedState!==null&&oa(t);break;case 13:oa(t);break;case 19:N2(t);break;case 10:Mn(t.type);break;case 22:case 23:oa(t),x2(),e!==null&&kt(J0);break;case 24:Mn(at)}}function Xo(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var l=n.next;a=l;do{if((a.tag&e)===e){n=void 0;var i=a.create,o=a.inst;n=i(),o.destroy=n}a=a.next}while(a!==l)}}catch(r){Te(t,t.return,r)}}function x0(e,t,a){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var i=l.next;n=i;do{if((n.tag&e)===e){var o=n.inst,r=o.destroy;if(r!==void 0){o.destroy=void 0,l=t;var c=a,u=r;try{u()}catch(s){Te(l,c,s)}}}n=n.next}while(n!==i)}}catch(s){Te(t,t.return,s)}}function lp(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{hv(t,a)}catch(n){Te(e,e.return,n)}}}function ip(e,t,a){a.props=il(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){Te(e,t,n)}}function $a(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:var l=e.stateNode,i=wn(e.memoizedProps,l);(l.ref===null||l.ref.name!==i)&&(l.ref=Ip(i)),n=l.ref;break;case 7:if(e.stateNode===null){var o=new ha(e);Pt(e.child,!1,QC,o,void 0,void 0),e.stateNode=o}n=e.stateNode;break;default:n=e.stateNode}typeof a=="function"?e.refCleanup=a(n):a.current=n}}catch(r){Te(e,t,r)}}function zt(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(l){Te(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(l){Te(e,t,l)}else a.current=null}function Bc(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var a=0;a<t.length;a++)Wp(e.stateNode,t[a])}function D5(e){for(var t=e.return;t!==null&&(U2(t)&&Wp(e.stateNode,t.stateNode),!H2(t));)t=t.return}function po(e){for(var t=e.return;t!==null&&(U2(t)&&ZC(e.stateNode,t.stateNode),!H2(t));)t=t.return}function H2(e){return e.tag===5||e.tag===3||e.tag===27}function U2(e){return e&&e.tag===7&&e.stateNode!==null}function Cu(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(l){Te(e,e.return,l)}}function _1(e,t,a){try{var n=e.stateNode;TC(n,e.type,a,t),n[$t]=t}catch(l){Te(e,e.return,l)}}function op(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&S0(e.type)||e.tag===4}function O1(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||op(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&S0(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Tu(e,t,a,n){var l=e.tag;if(l===5||l===6)l=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(l,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(l),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=tn)),Bc(e,n),xe=!0;else if(l!==4&&(l===27&&(Bc(e,n),n=null,S0(e.type)&&(a=e.stateNode,t=null)),e=e.child,e!==null))for(Tu(e,t,a,n),e=e.sibling;e!==null;)Tu(e,t,a,n),e=e.sibling}function qc(e,t,a,n){var l=e.tag;if(l===5||l===6)l=e.stateNode,t?a.insertBefore(l,t):a.appendChild(l),Bc(e,n),xe=!0;else if(l!==4&&(l===27&&(Bc(e,n),n=null,S0(e.type)&&(a=e.stateNode)),e=e.child,e!==null))for(qc(e,t,a,n),e=e.sibling;e!==null;)qc(e,t,a,n),e=e.sibling}function rp(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,l=t.attributes;l.length;)t.removeAttributeNode(l[0]);Ct(t,n,a),t[St]=e,t[$t]=a}catch(i){Te(e,e.return,i)}}var Vc=!1,ra=null;function _5(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(Vc=!0)}var Wa=null;function O5(){var e=Wa;return Wa=null,e}var Ft=0;function Si(e,t,a,n,l){return Ft=0,cp(e.child,t,a,n,l)}function cp(e,t,a,n,l){for(var i=!1;e!==null;){if(e.tag===5){var o=e.stateNode;if(n!==null){var r=Fu(o);n.push(r),r.view&&(i=!0)}else i||Fu(o).view&&(i=!0);Vc=!0,Qp(o,Ft===0?t:t+"_"+Ft,a),Ft++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&l||cp(e.child,t,a,n,l)&&(i=!0));e=e.sibling}return i}function rn(e,t){for(;e!==null;)e.tag===5?Zp(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||rn(e.child,t)),e=e.sibling}function fc(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(fc(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(R(544));var a=t.name;t=Dn(t.default,t.share),t!=="none"&&(Si(e,a,t,null,!1)||rn(e.child,!1))}e=e.sibling}}function Ru(e,t){if(e.tag===30){var a=e.stateNode,n=e.memoizedProps,l=wn(n,a),i=Dn(n.default,a.paired?n.share:n.enter);i!=="none"?Si(e,l,i,null,!1)?(fc(e),a.paired||t||mi(e,n.onEnter)):rn(e.child,!1):fc(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Ru(e,t),e=e.sibling;else fc(e)}function Eu(e){if(ra!==null&&ra.size!==0){var t=ra;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var a=e.memoizedProps,n=a.name;if(n!=null&&n!=="auto"){var l=t.get(n);if(l!==void 0){var i=Dn(a.default,a.share);if(i!=="none"&&(Si(e,n,i,null,!1)?(i=e.stateNode,l.paired=i,i.paired=l,mi(e,a.onShare)):rn(e.child,!1)),t.delete(n),t.size===0)break}}}Eu(e)}e=e.sibling}}}function Au(e){if(e.tag===30){var t=e.memoizedProps,a=wn(t,e.stateNode),n=ra!==null?ra.get(a):void 0,l=Dn(t.default,n!==void 0?t.share:t.exit);l!=="none"&&(Si(e,a,l,null,!1)?n!==void 0?(l=e.stateNode,n.paired=l,l.paired=n,ra.delete(a),mi(e,t.onShare)):mi(e,t.onExit):rn(e.child,!1)),ra!==null&&Eu(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Au(e),e=e.sibling;else ra!==null&&Eu(e)}function sp(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,a=wn(t,e.stateNode);t=Dn(t.default,t.update),e.flags&=-5,t!=="none"&&Si(e,a,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&sp(e);e=e.sibling}}function Du(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,rn(e.child,!1))}Du(e)}e=e.sibling}}function hc(e){if(e.tag===30)e.stateNode.paired=null,rn(e.child,!1),Du(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)hc(e),e=e.sibling;else Du(e)}function up(e){for(e=e.child;e!==null;)e.tag===30?rn(e.child,!1):(e.subtreeFlags&33554432)!==0&&up(e),e=e.sibling}function B2(e,t,a,n,l,i,o){for(var r=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(i!==null&&Ft<i.length){var u=i[Ft],s=Fu(c);(u.view||s.view)&&(r=!0);var d;if(d=(e.flags&4)===0)if(s.clip)d=!0;else{d=u.rect;var m=s.rect;d=d.y!==m.y||d.x!==m.x||d.height!==m.height||d.width!==m.width}d&&(e.flags|=4),s.abs?s=!u.abs:(u=u.rect,s=s.rect,s=u.height!==s.height||u.width!==s.width),s&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&Qp(c,Ft===0?a:a+"_"+Ft,l),r&&(e.flags&4)!==0||(Wa===null&&(Wa=[]),Wa.push(c,Ft===0?n:n+"_"+Ft,t.memoizedProps)),Ft++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:B2(e,t.child,a,n,l,i,o)&&(r=!0));t=t.sibling}return r}function dp(e,t){for(e=e.child;e!==null;){if(e.tag===30){var a=e.memoizedProps,n=e.stateNode,l=wn(a,n),i=Dn(a.default,a.update);if(t){n=n.clones;var o=n===null?null:n.map(OC)}else o=e.memoizedState,e.memoizedState=null;n=e;var r=e.child;Ft=0,l=B2(n,r,l,l,i,o,!1),(e.flags&4)!==0&&l&&(t||mi(e,a.onUpdate))}else(e.subtreeFlags&33554432)!==0&&dp(e,t);e=e.sibling}}var pt=!1,Me=!1,Ia=!1,L1=!1,L5=typeof WeakSet=="function"?WeakSet:Set,gt=null,Ja=!1,io=!1,Gc=!1,_u=!1;function iC(e,t,a){if(e=e.containerInfo,Ku=bi,e=J3(e),d2(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var i=l.anchorOffset,o=l.focusNode;l=l.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var r=0,c=-1,u=-1,s=0,d=0,m=e,f=null;t:for(;;){for(var x;m!==n||i!==0&&m.nodeType!==3||(c=r+i),m!==o||l!==0&&m.nodeType!==3||(u=r+l),m.nodeType===3&&(r+=m.nodeValue.length),(x=m.firstChild)!==null;)f=m,m=x;for(;;){if(m===e)break t;if(f===n&&++s===i&&(c=r),f===o&&++d===l&&(u=r),(x=m.nextSibling)!==null)break;m=f,f=m.parentNode}m=x}n=c===-1||u===-1?null:{start:c,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Qu={focusedElem:e,selectionRange:n},bi=!1,a=(a&335544064)===a,gt=t,t=a?9270:1024;gt!==null;){if(e=gt,a&&(n=e.deletions,n!==null))for(i=0;i<n.length;i++)a&&Au(n[i]);if(e.alternate===null&&(e.flags&2)!==0)a&&_5(e),Jr(a);else{if(e.tag===22){if(n=e.alternate,e.memoizedState!==null){n!==null&&n.memoizedState===null&&a&&Au(n),Jr(a);continue}else if(n!==null&&n.memoizedState!==null){a&&_5(e),Jr(a);continue}}n=e.child,(e.subtreeFlags&t)!==0&&n!==null?(n.return=e,gt=n):(a&&sp(e),Jr(a))}}ra=null}function Jr(e){for(;gt!==null;){var t=gt,a=e,n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((l&1024)!==0&&n!==null){a=void 0,l=n.memoizedProps,n=n.memoizedState;var i=t.stateNode;try{var o=il(t.type,l);a=i.getSnapshotBeforeUpdate(o,n),i.__reactInternalSnapshotBeforeUpdate=a}catch(r){Te(t,t.return,r)}}break;case 3:if((l&1024)!==0){if(n=t.stateNode.containerInfo,a=n.nodeType,a===9)Iu(n);else if(a===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Iu(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:a&&n!==null&&(a=wn(n.memoizedProps,n.stateNode),l=t.memoizedProps,l=Dn(l.default,l.update),l!=="none"&&Si(n,a,l,n.memoizedState=[],!0));break;default:if((l&1024)!==0)throw Error(R(163))}if(n=t.sibling,n!==null){n.return=t.return,gt=n;break}gt=t.return}}function mp(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:Pa(e,a),n&4&&Xo(5,a);break;case 1:if(Pa(e,a),n&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(o){Te(a,a.return,o)}else{var l=il(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(l,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){Te(a,a.return,o)}}n&64&&lp(a),n&512&&$a(a,a.return);break;case 3:if(Pa(e,a),n&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{hv(e,t)}catch(o){Te(a,a.return,o)}}break;case 27:t===null&&n&4&&rp(a);case 26:case 5:Pa(e,a),t===null&&n&4&&Cu(a),n&512&&$a(a,a.return);break;case 12:Pa(e,a);break;case 31:Pa(e,a),n&4&&pp(e,a);break;case 13:Pa(e,a),n&4&&gp(e,a),n&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=gC.bind(null,a),JC(e,a))));break;case 22:if(n=a.memoizedState!==null||pt,!n){var i=t!==null&&t.memoizedState!==null||Me;t=pt,l=Me,pt=n,(Me=i)&&!l?(n=2,(a.subtreeFlags&8772)!==0&&(n|=1),Ha(e,a,n)):Pa(e,a),pt=t,Me=l}break;case 30:Pa(e,a),n&512&&$a(a,a.return);break;case 7:n&512&&$a(a,a.return);default:Pa(e,a)}}function Ou(e,t){for(e=e.child;e!==null;)fp(e,t),e=e.sibling}function fp(e,t){switch(e.tag){case 5:case 26:try{var a=e.stateNode;if(t){var n=a.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}else{var l=e.stateNode,i=e.memoizedProps.style,o=i!=null&&i.hasOwnProperty("display")?i.display:null;l.style.display=o==null||typeof o=="boolean"?"":(""+o).trim()}}catch(c){Te(e,e.return,c)}Lu(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,xe=!0}catch(c){Te(e,e.return,c)}break;case 18:try{var r=e.stateNode;t?P5(r,!0):P5(e.stateNode,!1)}catch(c){Te(e,e.return,c)}break;case 22:case 23:e.memoizedState===null&&Ou(e,t);break;default:Ou(e,t)}}function Lu(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var a=e,n=t;switch(a.tag){case 4:fp(a,n);break e;case 22:a.memoizedState===null&&Lu(a,n);break e;default:Lu(a,n)}}e=e.sibling}}function hp(e){var t=e.alternate;t!==null&&(e.alternate=null,hp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&$c(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Xe=null,Qt=!1;function ja(e,t,a){for(a=a.child;a!==null;)vp(e,t,a),a=a.sibling}function vp(e,t,a){if(ua&&typeof ua.onCommitFiberUnmount=="function")try{ua.onCommitFiberUnmount(Ho,a)}catch{}switch(a.tag){case 26:Me||zt(a,t),ja(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&!Me&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Me||zt(a,t),po(a);var n=Xe,l=Qt;S0(a.type)&&(Xe=a.stateNode,Qt=!1),ja(e,t,a),ag(a.stateNode,a.type,a.memoizedProps),Xe=n,Qt=l;break;case 5:Me||zt(a,t),po(a);case 6:if(a.tag===6&&po(a),n=Xe,l=Qt,Xe=null,ja(e,t,a),Xe=n,Qt=l,Xe!==null)if(Qt)try{(Xe.nodeType===9?Xe.body:Xe.nodeName==="HTML"?Xe.ownerDocument.body:Xe).removeChild(a.stateNode),xe=!0}catch(i){Te(a,t,i)}else try{Xe.removeChild(a.stateNode),xe=!0}catch(i){Te(a,t,i)}break;case 18:Xe!==null&&(Qt?(e=Xe,J5(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),yi(e)):J5(Xe,a.stateNode));break;case 4:n=Xe,l=Qt,Xe=a.stateNode.containerInfo,Qt=!0,ja(e,t,a),Xe=n,Qt=l;break;case 0:case 11:case 14:case 15:x0(2,a,t),Me||x0(4,a,t),ja(e,t,a);break;case 1:Me||(zt(a,t),n=a.stateNode,typeof n.componentWillUnmount=="function"&&ip(a,t,n)),ja(e,t,a);break;case 21:ja(e,t,a);break;case 22:Me=(n=Me)||a.memoizedState!==null,ja(e,t,a),Me=n;break;case 30:zt(a,t),ja(e,t,a);break;case 7:Me||zt(a,t),ja(e,t,a);break;default:ja(e,t,a)}}function pp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{yi(e)}catch(a){Te(t,t.return,a)}}}function gp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{yi(e)}catch(a){Te(t,t.return,a)}}function oC(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new L5),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new L5),t;default:throw Error(R(435,e.tag))}}function Pr(e,t){var a=oC(e);t.forEach(function(n){if(!a.has(n)){a.add(n);var l=bC.bind(null,e,n);n.then(l,l)}})}function Ht(e,t,a){var n=t.deletions;if(n!==null)for(var l=0;l<n.length;l++){var i=n[l],o=e,r=t,c=r;e:for(;c!==null;){switch(c.tag){case 27:if(S0(c.type)){Xe=c.stateNode,Qt=!1;break e}break;case 5:Xe=c.stateNode,Qt=!1;break e;case 3:case 4:Xe=c.stateNode.containerInfo,Qt=!0;break e}c=c.return}if(Xe===null)throw Error(R(160));vp(o,r,i),Xe=null,Qt=!1,o=i.alternate,o!==null&&(o.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)bp(t,e,a),t=t.sibling}var Ua=null;function bp(e,t,a){var n=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(l&4&&(n=e.updateQueue,n=n!==null?n.events:null,n!==null))for(var i=0;i<n.length;i++){var o=n[i];o.ref.impl=o.nextImpl}Ht(t,e,a),Ut(e),l&4&&(x0(3,e,e.return),Xo(3,e),x0(5,e,e.return));break;case 1:Ht(t,e,a),Ut(e),l&512&&(Me||n===null||zt(n,n.return)),l&64&&pt&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?t:a.concat(t))));break;case 26:if(i=Ua,Ht(t,e,a),Ut(e),l&512&&(Me||n===null||zt(n,n.return)),l&4)if(l=n!==null?n.memoizedState:null,a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null)if(pt)e.stateNode=Kp(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,a=e.memoizedProps,l=i.ownerDocument||i;t:switch(t){case"title":n=l.getElementsByTagName("title")[0],(!n||n[qo]||n[St]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=l.createElement(t),l.head.insertBefore(n,l.querySelector("head > title"))),Ct(n,t,a),n[St]=e,bt(n),t=n;break e;case"link":if(i=i3("link","href",l).get(t+(a.href||""))){for(o=0;o<i.length;o++)if(n=i[o],n.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&n.getAttribute("rel")===(a.rel==null?null:a.rel)&&n.getAttribute("title")===(a.title==null?null:a.title)&&n.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){i.splice(o,1);break t}}n=l.createElement(t),Ct(n,t,a),l.head.appendChild(n);break;case"meta":if(i=i3("meta","content",l).get(t+(a.content||""))){for(o=0;o<i.length;o++)if(n=i[o],n.getAttribute("content")===(a.content==null?null:""+a.content)&&n.getAttribute("name")===(a.name==null?null:a.name)&&n.getAttribute("property")===(a.property==null?null:a.property)&&n.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&n.getAttribute("charset")===(a.charSet==null?null:a.charSet)){i.splice(o,1);break t}}n=l.createElement(t),Ct(n,t,a),l.head.appendChild(n);break;default:throw Error(R(468,t))}n[St]=e,bt(n),t=n}e.stateNode=t}else pt||$u(i,e.type,e.stateNode);else e.stateNode=l3(i,a,e.memoizedProps);else l!==a?(l===null?(t=n.stateNode,t===null||Me||t.parentNode.removeChild(t)):l.count--,a===null?pt||$u(i,e.type,e.stateNode):l3(i,a,e.memoizedProps)):a===null&&e.stateNode!==null&&_1(e,e.memoizedProps,n.memoizedProps);break;case 27:Ht(t,e,a),Ut(e),l&512&&(Me||n===null||zt(n,n.return)),n!==null&&l&4&&_1(e,e.memoizedProps,n.memoizedProps);break;case 5:if(i=Ia,Ia=!1,Ht(t,e,a),Ia=i,Ut(e),l&512&&(Me||n===null||zt(n,n.return)),e.flags&32){t=e.stateNode;try{si(t,""),xe=!0}catch(s){Te(e,e.return,s)}}l&4&&e.stateNode!=null&&(t=e.memoizedProps,_1(e,t,n!==null?n.memoizedProps:t)),l&1024&&(L1=!0);break;case 6:if(Ht(t,e,a),Ut(e),l&4){if(e.stateNode===null)throw Error(R(162));t=e.memoizedProps,a=e.stateNode;try{a.nodeValue=t,xe=!0}catch(s){Te(e,e.return,s)}}break;case 3:if(xe=!1,bc=null,i=Ua,Ua=Do(t.containerInfo),Ht(t,e,a),Ua=i,Ut(e),l&4&&n!==null&&n.memoizedState.isDehydrated)try{yi(t.containerInfo)}catch(s){Te(e,e.return,s)}L1&&(L1=!1,yp(e)),xe=!1;break;case 4:l=Ia,Ia=pt,n=V4(),i=Ua,Ua=Do(e.stateNode.containerInfo),Ht(t,e,a),Ut(e),Ua=i,xe&&io&&(Gc=!0),xe=n,Ia=l;break;case 12:Ht(t,e,a),Ut(e);break;case 31:Ht(t,e,a),Ut(e),l&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Pr(e,t)));break;case 13:Ht(t,e,a),Ut(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ds=sa()),l&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Pr(e,t)));break;case 22:i=e.memoizedState!==null,o=n!==null&&n.memoizedState!==null;var r=pt,c=Me,u=Ia;pt=r||i,Ia=u||i,Me=c||o,Ht(t,e,a),Me=c,Ia=u,pt=r,Ut(e),l&8192&&(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,!i||n===null||o||pt||Me||(t=o||Me,a=pt,n=Me,pt=i||pt,Me=t,Pn(e,2),pt=a,Me=n),!i&&Ia||Ou(e,i)),l&4&&(t=e.updateQueue,t!==null&&(a=t.retryQueue,a!==null&&(t.retryQueue=null,Pr(e,a))));break;case 19:Ht(t,e,a),Ut(e),l&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Pr(e,t)));break;case 30:l&512&&(Me||n===null||zt(n,n.return)),l=V4(),i=io,o=(a&335544064)===a,r=e.memoizedProps,io=o&&Dn(r.default,r.update)!=="none",Ht(t,e,a),Ut(e),o&&n!==null&&xe&&(e.flags|=4),io=i,xe=l;break;case 21:break;case 7:l&512&&(Me||n===null||zt(n,n.return)),n&&n.stateNode!==null&&(n.stateNode._fragmentFiber=e);default:Ht(t,e,a),Ut(e)}}function Ut(e){var t=e.flags;if(t&2){try{for(var a,n=e.return;n!==null;){if(op(n)){a=n;break}n=n.return}n=null;for(var l=e.return;l!==null;){if(U2(l)){var i=l.stateNode;n===null?n=[i]:n.push(i)}if(H2(l))break;l=l.return}var o=n;if(a==null)throw Error(R(160));switch(a.tag){case 27:var r=a.stateNode,c=O1(e);qc(e,c,r,o);break;case 5:var u=a.stateNode;a.flags&32&&(si(u,""),a.flags&=-33);var s=O1(e);qc(e,s,u,o);break;case 3:case 4:var d=a.stateNode.containerInfo,m=O1(e);Tu(e,m,d,o);break;default:throw Error(R(161))}}catch(f){Te(e,e.return,f)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function yp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;yp(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,bi=!0,t.reset(),bi=!1),e=e.sibling}}function Ll(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)xp(t,e),t=t.sibling;else dp(t,!1)}function xp(e,t){var a=e.alternate;if(a===null)Ru(e,!1);else switch(e.tag){case 3:if(_u=Ja=!1,O5(),Ll(t,e),!Ja&&!Gc){if(e=Wa,e!==null)for(var n=0;n<e.length;n+=3){a=e[n];var l=e[n+1];Zp(a,e[n+2]),a=a.ownerDocument.documentElement,a!==null&&a.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+l+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),_u=!0}Wa=null;break;case 5:Ll(t,e);break;case 4:n=Ja,Ja=!1,Ll(t,e),Ja&&(Gc=!0),Ja=n;break;case 22:e.memoizedState===null&&(a.memoizedState!==null?Ru(e,!1):Ll(t,e));break;case 30:n=Ja,l=O5(),Ja=!1,Ll(t,e),Ja&&(e.flags|=4);var i=e.memoizedProps,o=e.stateNode;t=wn(i,o),o=wn(a.memoizedProps,o);var r=Dn(i.default,i.update);r==="none"?t=!1:(i=a.memoizedState,a.memoizedState=null,a=e.child,Ft=0,t=B2(e,a,t,o,r,i,!0),Ft!==(i===null?0:i.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(mi(e,e.memoizedProps.onUpdate),Wa=l):l!==null&&(l.push.apply(l,Wa),Wa=l),Ja=(e.flags&32)!==0?!0:n;break;default:Ll(t,e)}}function Pa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)mp(e,t.alternate,t),t=t.sibling}function Pn(e,t){for(e=e.child;e!==null;){var a=e,n=t;switch(a.tag){case 0:case 11:case 14:case 15:x0(4,a,a.return),Pn(a,n);break;case 1:zt(a,a.return);var l=a.stateNode;typeof l.componentWillUnmount=="function"&&ip(a,a.return,l),Pn(a,n);break;case 27:(n&2)!==0&&ag(a.stateNode,a.type,a.memoizedProps);case 5:zt(a,a.return),a.tag!==5&&a.tag!==27||po(a),Pn(a,n);break;case 6:po(a);break;case 26:zt(a,a.return),l=a.stateNode,a.memoizedState!==null||l===null||Me||l.parentNode.removeChild(l),Pn(a,n);break;case 22:a.memoizedState===null&&Pn(a,n);break;case 30:zt(a,a.return),Pn(a,n);break;case 7:zt(a,a.return);default:Pn(a,n)}e=e.sibling}}function Ha(e,t,a){for(a=(t.subtreeFlags&8772)!==0?a:a&-2,t=t.child;t!==null;){var n=t.alternate,l=e,i=t,o=i.flags,r=(a&1)!==0;switch(i.tag){case 0:case 11:case 15:Ha(l,i,a),Xo(4,i);break;case 1:if(Ha(l,i,a),n=i,l=n.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(s){Te(n,n.return,s)}if(n=i,l=n.updateQueue,l!==null){var c=n.stateNode;try{var u=l.shared.hiddenCallbacks;if(u!==null)for(l.shared.hiddenCallbacks=null,l=0;l<u.length;l++)fv(u[l],c)}catch(s){Te(n,n.return,s)}}r&&o&64&&lp(i),$a(i,i.return);break;case 27:(a&2)!==0&&rp(i);case 5:i.tag!==5&&i.tag!==27||D5(i),Ha(l,i,a),r&&n===null&&o&4&&Cu(i),$a(i,i.return);break;case 6:D5(i);break;case 26:c=i.stateNode,i.memoizedState!==null||c===null||pt||$u(Do(c.ownerDocument),i.type,c),Ha(l,i,a),r&&n===null&&o&4&&Cu(i),$a(i,i.return);break;case 12:Ha(l,i,a);break;case 31:Ha(l,i,a),r&&o&4&&pp(l,i);break;case 13:Ha(l,i,a),r&&o&4&&gp(l,i);break;case 22:i.memoizedState===null&&Ha(l,i,a),$a(i,i.return);break;case 30:Ha(l,i,a),$a(i,i.return);break;case 7:$a(i,i.return);default:Ha(l,i,a)}t=t.sibling}}function q2(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Go(a))}function V2(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Go(e))}function ga(e,t,a,n){var l=(a&335544064)===a;if(t.subtreeFlags&(l?10262:10256))for(t=t.child;t!==null;)Np(e,t,a,n),t=t.sibling;else l&&up(t)}function Np(e,t,a,n){var l=(a&335544064)===a;l&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&hc(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:ga(e,t,a,n),i&2048&&Xo(9,t);break;case 1:ga(e,t,a,n);break;case 3:ga(e,t,a,n),l&&_u&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),i&2048&&(i=null,t.alternate!==null&&(i=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==i&&(t.refCount++,i!=null&&Go(i)));break;case 12:if(i&2048){ga(e,t,a,n),i=t.stateNode;try{var o=t.memoizedProps,r=o.id,c=o.onPostCommit;typeof c=="function"&&c(r,t.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(u){Te(t,t.return,u)}}else ga(e,t,a,n);break;case 31:ga(e,t,a,n);break;case 13:ga(e,t,a,n);break;case 23:break;case 22:o=t.stateNode,r=t.alternate,t.memoizedState!==null?(l&&r!==null&&r.memoizedState===null&&hc(r),o._visibility&2?ga(e,t,a,n):go(e,t)):(l&&r!==null&&r.memoizedState!==null&&hc(t),o._visibility&2?ga(e,t,a,n):(o._visibility|=2,Hl(e,t,a,n,(t.subtreeFlags&10256)!==0||!1))),i&2048&&q2(r,t);break;case 24:ga(e,t,a,n),i&2048&&V2(t.alternate,t);break;case 30:l&&(i=t.alternate,i!==null&&(rn(i.child,!0),rn(t.child,!0))),ga(e,t,a,n);break;default:ga(e,t,a,n)}}function Hl(e,t,a,n,l){for(l=l&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,o=t,r=a,c=n,u=o.flags;switch(o.tag){case 0:case 11:case 15:Hl(i,o,r,c,l),Xo(8,o);break;case 23:break;case 22:var s=o.stateNode;o.memoizedState!==null?s._visibility&2?Hl(i,o,r,c,l):go(i,o):(s._visibility|=2,Hl(i,o,r,c,l)),l&&u&2048&&q2(o.alternate,o);break;case 24:Hl(i,o,r,c,l),l&&u&2048&&V2(o.alternate,o);break;default:Hl(i,o,r,c,l)}t=t.sibling}}function go(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,n=t,l=n.flags;switch(n.tag){case 22:go(a,n),l&2048&&q2(n.alternate,n);break;case 24:go(a,n),l&2048&&V2(n.alternate,n);break;default:go(a,n)}t=t.sibling}}var K0=8192;function G0(e,t,a){if(e.subtreeFlags&K0)for(e=e.child;e!==null;)zp(e,t,a),e=e.sibling}function zp(e,t,a){switch(e.tag){case 26:G0(e,t,a),e.flags&K0&&(e.memoizedState!==null?uT(a,Ua,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&r3(a,e)));break;case 5:G0(e,t,a),e.flags&K0&&(e=e.stateNode,(t&335544128)===t&&r3(a,e));break;case 3:case 4:var n=Ua;Ua=Do(e.stateNode.containerInfo),G0(e,t,a),Ua=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=K0,K0=16777216,G0(e,t,a),K0=n):G0(e,t,a));break;case 30:if((e.flags&K0)!==0&&(n=e.memoizedProps.name,n!=null&&n!=="auto")){var l=e.stateNode;l.paired=null,ra===null&&(ra=new Map),ra.set(n,l)}G0(e,t,a);break;default:G0(e,t,a)}}function Sp(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function $i(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];gt=n,kp(n,e)}Sp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Mp(e),e=e.sibling}function Mp(e){switch(e.tag){case 0:case 11:case 15:$i(e),e.flags&2048&&x0(9,e,e.return);break;case 3:$i(e);break;case 12:$i(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,vc(e)):$i(e);break;default:$i(e)}}function vc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];gt=n,kp(n,e)}Sp(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:x0(8,t,t.return),vc(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,vc(t));break;default:vc(t)}e=e.sibling}}function kp(e,t){for(;gt!==null;){var a=gt;switch(a.tag){case 0:case 11:case 15:x0(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Go(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,gt=n;else e:for(a=e;gt!==null;){n=gt;var l=n.sibling,i=n.return;if(hp(n),n===a){gt=null;break e}if(l!==null){l.return=i,gt=l;break e}gt=i}}}var rC={getCacheForType:function(e){var t=Mt(at),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Mt(at).controller.signal}},cC=typeof WeakMap=="function"?WeakMap:Map,ze=0,Ae=null,pe=null,ge=0,we=0,la=null,l0=!1,Mi=!1,G2=!1,En=0,Je=0,N0=0,$0=0,Yc=0,ca=0,di=0,bo=null,Zt=null,ju=!1,ds=0,wp=0,Xc=1/0,Kc=null,f0=null,Ze=0,qa=null,ol=null,on=0,Hu=0,Uu=null,Cp=null,li=null,ii=null,oi=null,yo=0,pc=null;function ma(){return(ze&2)!==0&&ge!==0?ge&-ge:te.T!==null?X2():A3()}function Tp(){if(ca===0)if((ge&536870912)===0||fe){var e=Ur;Ur<<=1,(Ur&3932160)===0&&(Ur=262144),ca=e}else ca=536870912;return e=Tt.current,e!==null&&(e.flags|=32),ca}function mi(e,t){if(t!=null){var a=e.stateNode,n=a.ref;n===null&&(n=a.ref=Ip(wn(e.memoizedProps,a))),ii===null&&(ii=[]),ii.push(t.bind(null,n))}}function Jt(e,t,a){(e===Ae&&(we===2||we===9)||e.cancelPendingCommit!==null)&&(fi(e,0),i0(e,ge,ca,!1)),Bo(e,a),((ze&2)===0||e!==Ae)&&(e===Ae&&((ze&2)===0&&($0|=a),Je===4&&i0(e,ge,ca,!1)),sn(e))}function Rp(e,t,a){if((ze&6)!==0)throw Error(R(327));var n=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Uo(e,t),l=n?dC(e,t):j1(e,t,!0),i=n;do{if(l===0){Mi&&!n&&i0(e,t,0,!1);break}else{if(a=e.current.alternate,i&&!sC(a)){l=j1(e,t,!1),i=!1;continue}if(l===2){if(i=t,e.errorRecoveryDisabledLanes&i)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var r=e;l=bo;var c=r.current.memoizedState.isDehydrated;if(c&&(fi(r,o).flags|=256),o=j1(r,o,!1),o!==2&&o!==6){if(G2&&!c){r.errorRecoveryDisabledLanes|=i,$0|=i,l=4;break e}i=Zt,Zt=l,i!==null&&(Zt===null?Zt=i:Zt.push.apply(Zt,i))}l=o}if(i=!1,l!==2)continue}}if(l===1){fi(e,0),i0(e,t,0,!0);break}e:{switch(n=e,i=l,i){case 0:case 1:throw Error(R(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:i0(n,t,ca,!l0);break e;case 2:Zt=null;break;case 3:case 5:break;default:throw Error(R(329))}if((t&62914560)===t&&(l=ds+300-sa(),10<l)){if(i0(n,t,ca,!l0),Pc(n,0,!0)!==0)break e;on=t,n.timeoutHandle=Q2(j5.bind(null,n,a,Zt,Kc,ju,t,ca,$0,di,l0,i,"Throttled",-0,0),l);break e}j5(n,a,Zt,Kc,ju,t,ca,$0,di,l0,i,null,-0,0)}}break}while(!0);sn(e)}function j5(e,t,a,n,l,i,o,r,c,u,s,d,m,f){e.timeoutHandle=-1;var x=t.subtreeFlags,N=(i&335544064)===i;if(d=null,(N||x&8192||(x&16785408)===16785408)&&(d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tn},ra=null,zp(t,i,d),N&&(x=d,N=e.containerInfo,N=(N.nodeType===9?N:N.ownerDocument).__reactViewTransition,N!=null&&(x.count++,x.waitingForViewTransition=!0,x=_o.bind(x),N.finished.then(x,x))),x=(i&62914560)===i?ds-sa():(i&4194048)===i?wp-sa():0,x=dT(d,x),x!==null)){on=i,e.cancelPendingCommit=x(U5.bind(null,e,t,i,a,n,l,o,r,c,u,s,d,null,m,f)),i0(e,i,o,!u);return}U5(e,t,i,a,n,l,o,r,c,u,s,d)}function sC(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var n=0;n<a.length;n++){var l=a[n],i=l.getSnapshot;l=l.value;try{if(!fa(i(),l))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function i0(e,t,a,n){t=w3(e,t),t&=~Yc,t&=~$0,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var l=t;0<l;){var i=31-da(l),o=1<<i;n[i]=-1,l&=~o}a!==0&&T3(e,a,t)}function ms(){return(ze&6)===0?(Ko(0,!1),!1):!0}function Y2(){if(pe!==null){if(we===0)var e=pe.return;else e=pe,zn=dl=null,w2(e),ti=null,wo=0,e=pe;for(;e!==null;)np(e.alternate,e),e=e.return;pe=null}}function fi(e,t){var a=e.timeoutHandle;return a!==-1&&(e.timeoutHandle=-1,AC(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),on=0,Y2(),Ae=e,pe=a=Sn(e.current,null),ge=t,we=0,la=null,l0=!1,Mi=Uo(e,t),G2=!1,di=ca=Yc=$0=N0=Je=0,Zt=bo=null,ju=!1,En=w3(e,t),as(),a}function Ep(e,t){ue=null,te.H=Hc,t===zi||t===is?(t=s5(),we=3):t===b2?(t=s5(),we=4):we=t===O2?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,la=t,pe===null&&(Je=1,Uc(e,za(t,e.current)))}function Ap(){var e=Tt.current;return e===null?!0:(ge&4194048)===ge?_t===null:(ge&62914560)===ge||(ge&536870912)!==0?e===_t:!1}function Dp(){var e=te.H;return te.H=Hc,e===null?Hc:e}function _p(){var e=te.A;return te.A=rC,e}function Qc(){Je=4,l0||(ge&4194048)!==ge&&Tt.current!==null||(Mi=!0),(N0&134217727)===0&&($0&134217727)===0||Ae===null||i0(Ae,ge,ca,!1)}function j1(e,t,a){var n=ze;ze|=2;var l=Dp(),i=_p();(Ae!==e||ge!==t)&&(Kc=null,fi(e,t)),t=!1;var o=Je;e:do try{if(we!==0&&pe!==null){var r=pe,c=la;switch(we){case 8:Y2(),o=6;break e;case 3:case 2:case 9:case 6:Tt.current===null&&(t=!0);var u=we;if(we=0,la=null,Jl(e,r,c,u),a&&Mi){o=0;break e}break;default:u=we,we=0,la=null,Jl(e,r,c,u)}}uC(),o=Je;break}catch(s){Ep(e,s)}while(!0);return t&&e.shellSuspendCounter++,zn=dl=null,ze=n,te.H=l,te.A=i,pe===null&&(Ae=null,ge=0,as()),o}function uC(){for(;pe!==null;)Op(pe)}function dC(e,t){var a=ze;ze|=2;var n=Dp(),l=_p();Ae!==e||ge!==t?(Kc=null,Xc=sa()+500,fi(e,t)):Mi=Uo(e,t);e:do try{if(we!==0&&pe!==null){t=pe;var i=la;t:switch(we){case 1:we=0,la=null,Jl(e,t,i,1);break;case 2:case 9:if(c5(i)){we=0,la=null,H5(t);break}t=function(){we!==2&&we!==9||Ae!==e||(we=7),sn(e)},i.then(t,t);break e;case 3:we=7;break e;case 4:we=5;break e;case 7:c5(i)?(we=0,la=null,H5(t)):(we=0,la=null,Jl(e,t,i,7));break;case 5:var o=null;switch(pe.tag){case 26:o=pe.memoizedState;case 5:case 27:var r=pe;if(o?ig(o):r.stateNode.complete){we=0,la=null;var c=r.sibling;if(c!==null)pe=c;else{var u=r.return;u!==null?(pe=u,fs(u)):pe=null}break t}}we=0,la=null,Jl(e,t,i,5);break;case 6:we=0,la=null,Jl(e,t,i,6);break;case 8:Y2(),Je=6;break e;default:throw Error(R(462))}}mC();break}catch(s){Ep(e,s)}while(!0);return zn=dl=null,te.H=n,te.A=l,ze=a,pe!==null?0:(Ae=null,ge=0,as(),Je)}function mC(){for(;pe!==null&&!Rk();)Op(pe)}function Op(e){var t=ap(e.alternate,e,En);e.memoizedProps=e.pendingProps,t===null?fs(e):pe=t}function H5(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=k5(a,t,t.pendingProps,t.type,void 0,ge);break;case 11:t=k5(a,t,t.pendingProps,t.type.render,t.ref,ge);break;case 5:w2(t);var n=t;n===yt&&(fe?(Ec(n),n.tag===5&&n.stateNode!=null&&(je=n.stateNode)):(Ec(n),fe=!0));default:np(a,t),t=pe=lv(t,En),t=ap(a,t,En)}e.memoizedProps=e.pendingProps,t===null?fs(e):pe=t}function Jl(e,t,a,n){zn=dl=null,w2(t),ti=null,wo=0;var l=t.return;try{if(Ww(e,l,t,a,ge)){Je=1,Uc(e,za(a,e.current)),pe=null;return}}catch(i){if(l!==null)throw pe=l,i;Je=1,Uc(e,za(a,e.current)),pe=null;return}t.flags&32768?(fe||n===1?e=!0:Mi||(ge&536870912)!==0?e=!1:(l0=e=!0,(n===2||n===9||n===3||n===6)&&(n=Tt.current,n!==null&&n.tag===13&&(n.flags|=16384))),Lp(t,e)):fs(t)}function fs(e){var t=e;do{if((t.flags&32768)!==0){Lp(t,l0);return}e=t.return;var a=nC(t.alternate,t,En);if(a!==null){pe=a;return}if(t=t.sibling,t!==null){pe=t;return}pe=t=e}while(t!==null);Je===0&&(Je=5)}function Lp(e,t){do{var a=lC(e.alternate,e);if(a!==null){a.flags&=32767,pe=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){pe=e;return}pe=e=a}while(e!==null);Je=6,pe=null}function U5(e,t,a,n,l,i,o,r,c,u,s,d){e.cancelPendingCommit=null;do hs();while(Ze!==0);if((ze&6)!==0)throw Error(R(327));if(t!==null){if(t===e.current)throw Error(R(177));e===Ae&&(pe=Ae=null,ge=0),ol=t,qa=e,on=a,Uu=l,Cp=n,fC(e,t,a,o,r,c,d)}}function fC(e,t,a,n,l,i,o){var r=t.lanes|t.childLanes;if(Hu=r,r|=m2,Bk(e,a,r,n,l,i),ii=null,(a&335544064)===a?(oi=Vw(e),n=10262):(oi=null,n=10256),(t.subtreeFlags&n)!==0||(t.flags&n)!==0?(e.callbackNode=null,e.callbackPriority=0,yC(kc,function(){return Gu(),null})):(e.callbackNode=null,e.callbackPriority=0),Vc=!1,n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=te.T,te.T=null,l=Se.p,Se.p=2,i=ze,ze|=4;try{iC(e,t,a)}finally{ze=i,Se.p=l,te.T=n}}Ze=1,Vc?li=HC(o,e.containerInfo,oi,Bu,qu,vC,Vu,Gu,hC,null,null):(Bu(),qu(),Vu())}function hC(e){if(Ze!==0){var t=qa.onRecoverableError;t(e,{componentStack:null})}}function vC(){Ze===3&&(Ze=0,xp(ol,qa),Ze=4)}function Bu(){if(Ze===1){Ze=0;var e=qa,t=ol,a=on,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=te.T,te.T=null;var l=Se.p;Se.p=2;var i=ze;ze|=4;try{io=Gc=!1,bp(t,e,a),a=Qu;var o=J3(e.containerInfo),r=a.focusedElem,c=a.selectionRange;if(o!==r&&r&&r.ownerDocument&&I3(r.ownerDocument.documentElement,r)){if(c!==null&&d2(r)){var u=c.start,s=c.end;if(s===void 0&&(s=u),"selectionStart"in r)r.selectionStart=u,r.selectionEnd=Math.min(s,r.value.length);else{var d=r.ownerDocument||document,m=d&&d.defaultView||window;if(m.getSelection){var f=m.getSelection(),x=r.textContent.length,N=Math.min(c.start,x),C=c.end===void 0?N:Math.min(c.end,x);!f.extend&&N>C&&(o=C,C=N,N=o);var v=e5(r,N),p=e5(r,C);if(v&&p&&(f.rangeCount!==1||f.anchorNode!==v.node||f.anchorOffset!==v.offset||f.focusNode!==p.node||f.focusOffset!==p.offset)){var g=d.createRange();g.setStart(v.node,v.offset),f.removeAllRanges(),N>C?(f.addRange(g),f.extend(p.node,p.offset)):(g.setEnd(p.node,p.offset),f.addRange(g))}}}}for(d=[],f=r;f=f.parentNode;)f.nodeType===1&&d.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<d.length;r++){var y=d[r];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}bi=!!Ku,Qu=Ku=null}finally{ze=i,Se.p=l,te.T=n}}e.current=t,Ze=2}}function qu(){if(Ze===2){Ze=0;var e=qa,t=ol,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=te.T,te.T=null;var n=Se.p;Se.p=2;var l=ze;ze|=4;try{mp(e,t.alternate,t)}finally{ze=l,Se.p=n,te.T=a}}Ze=3}}function Vu(){if(Ze===4||Ze===3){Ze=0;var e=li;li=null,Ek();var t=qa,a=ol,n=on,l=Cp,i=(n&335544064)===n?10262:10256;if((a.subtreeFlags&i)!==0||(a.flags&i)!==0?Ze=5:(Ze=0,ol=qa=null,jp(t,t.pendingLanes)),i=t.pendingLanes,i===0&&(f0=null),i2(n),a=a.stateNode,ua&&typeof ua.onCommitFiberRoot=="function")try{ua.onCommitFiberRoot(Ho,a,void 0,(a.current.flags&128)===128)}catch{}if(l!==null){a=te.T,i=Se.p,Se.p=2,te.T=null;try{for(var o=t.onRecoverableError,r=0;r<l.length;r++){var c=l[r];o(c.value,{componentStack:c.stack})}}finally{te.T=a,Se.p=i}}if(l=ii,o=oi,oi=null,l!==null&&(ii=null,o===null&&(o=[]),e!==null))for(c=0;c<l.length;c++)a=(0,l[c])(o),a!==void 0&&e.finished.finally(a);(on&3)!==0&&hs(),sn(t),i=t.pendingLanes,(n&261930)!==0&&(i&42)!==0?t===pc?yo++:(yo=0,pc=t):(yo=0,pc=null),Ko(0,!1)}}function jp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Go(t)))}function hs(){return li!==null&&(li.skipTransition(),li=null),Bu(),qu(),Vu(),Gu()}function Gu(){if(Ze!==5)return!1;var e=qa,t=Hu;Hu=0;var a=i2(on),n=te.T,l=Se.p;try{Se.p=32>a?32:a,te.T=null,a=Uu,Uu=null;var i=qa,o=on;if(Ze=0,ol=qa=null,on=0,(ze&6)!==0)throw Error(R(331));var r=ze;if(ze|=4,Mp(i.current),Np(i,i.current,o,a),ze=r,Ko(0,!1),ua&&typeof ua.onPostCommitFiberRoot=="function")try{ua.onPostCommitFiberRoot(Ho,i)}catch{}return!0}finally{Se.p=l,te.T=n,jp(e,t)}}function B5(e,t,a){t=za(a,t),t=Nu(e.stateNode,t,2),e=u0(e,t,2),e!==null&&(Bo(e,2),sn(e))}function Te(e,t,a){if(e.tag===3)B5(e,e,a);else for(;t!==null;){if(t.tag===3){B5(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(f0===null||!f0.has(n))){e=za(a,e),a=Pv(2),n=u0(t,a,2),n!==null&&($v(a,n,t,e),Bo(n,2),sn(n));break}}t=t.return}}function H1(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new cC;var l=new Set;n.set(t,l)}else l=n.get(t),l===void 0&&(l=new Set,n.set(t,l));l.has(a)||(G2=!0,l.add(a),e=pC.bind(null,e,t,a),t.then(e,e))}function pC(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Ae===e&&(ge&a)===a&&((Je===4||Je===3&&(ge&62914560)===ge&&300>sa()-ds)&&(ze&2)===0?fi(e,0):Yc|=a,di===ge&&(di=0)),sn(e)}function Hp(e,t){t===0&&(t=C3()),e=ul(e,t),e!==null&&(Bo(e,t),sn(e))}function gC(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Hp(e,a)}function bC(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,l=e.memoizedState;l!==null&&(a=l.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(R(314))}n!==null&&n.delete(t),Hp(e,a)}function yC(e,t){return n2(e,t)}var hi=null,Ul=null,Yu=!1,Zc=!1,U1=!1,o0=0;function sn(e){e!==Ul&&e.next===null&&(Ul===null?hi=Ul=e:Ul=Ul.next=e),Zc=!0,Yu||(Yu=!0,NC())}function Ko(e,t){if(!U1&&Zc){U1=!0;do for(var a=!1,n=hi;n!==null;){if(!t)if(e!==0){var l=n.pendingLanes;if(l===0)var i=0;else{var o=n.suspendedLanes,r=n.pingedLanes;i=(1<<31-da(42|e)+1)-1,i&=l&~(o&~r),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(a=!0,q5(n,i))}else i=ge,i=Pc(n,n===Ae?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||Uo(n,i)||(a=!0,q5(n,i));n=n.next}while(a);U1=!1}}function xC(){Up()}function Up(){Zc=Yu=!1;var e=0;o0!==0&&EC()&&(e=o0);for(var t=sa(),a=null,n=hi;n!==null;){var l=n.next,i=Bp(n,t);i===0?(n.next=null,a===null?hi=l:a.next=l,l===null&&(Ul=a)):(a=n,(e!==0||(i&3)!==0)&&(Zc=!0)),n=l}Ze!==0&&Ze!==5||Ko(e,!1),o0!==0&&(o0=0)}function Bp(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var o=31-da(i),r=1<<o,c=l[o];c===-1?((r&a)===0||(r&n)!==0)&&(l[o]=Uk(r,t)):c<=t&&(e.expiredLanes|=r),i&=~r}if(t=Ae,a=ge,a=Pc(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,a===0||e===t&&(we===2||we===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&p1(n),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Uo(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(n!==null&&p1(n),i2(a)){case 2:case 8:a=M3;break;case 32:a=kc;break;case 268435456:a=k3;break;default:a=kc}return n=qp.bind(null,e),a=n2(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&n!==null&&p1(n),e.callbackPriority=2,e.callbackNode=null,2}function qp(e,t){if(Ze!==0&&Ze!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(hs()&&e.callbackNode!==a)return null;var n=ge;return n=Pc(e,e===Ae?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(Rp(e,n,t),Bp(e,sa()),e.callbackNode!=null&&e.callbackNode===a?qp.bind(null,e):null)}function q5(e,t){if(hs())return null;Rp(e,t,!0)}function NC(){DC(function(){(ze&6)!==0?n2(S3,xC):Up()})}function X2(){if(o0===0){var e=al;e===0&&(e=Hr,Hr<<=1,(Hr&261888)===0&&(Hr=256)),o0=e}return o0}function V5(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:lc(e)}function zC(e,t,a,n,l){if(t==="submit"&&a&&a.stateNode===l){var i=V5((l[$t]||null).action),o=n.submitter;o&&(t=(t=o[$t]||null)?V5(t.formAction):o.getAttribute("formAction"),t!==null&&(i=t,o=null));var r=new Wc("action","action",null,n,l);e.push({event:r,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(o0!==0){var c=new FormData(l,o);yu(a,{pending:!0,data:c,method:l.method,action:i},null,c)}}else typeof i=="function"&&(r.preventDefault(),c=new FormData(l,o),yu(a,{pending:!0,data:c,method:l.method,action:i},i,c))},currentTarget:l}]})}}for($r=0;$r<cu.length;$r++)Wr=cu[$r],G5=Wr.toLowerCase(),Y5=Wr[0].toUpperCase()+Wr.slice(1),Va(G5,"on"+Y5);var Wr,G5,Y5,$r;Va($3,"onAnimationEnd");Va(W3,"onAnimationIteration");Va(ev,"onAnimationStart");Va("dblclick","onDoubleClick");Va("focusin","onFocus");Va("focusout","onBlur");Va(_w,"onTransitionRun");Va(Ow,"onTransitionStart");Va(Lw,"onTransitionCancel");Va(tv,"onTransitionEnd");ci("onMouseEnter",["mouseout","mouseover"]);ci("onMouseLeave",["mouseout","mouseover"]);ci("onPointerEnter",["pointerout","pointerover"]);ci("onPointerLeave",["pointerout","pointerover"]);cl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));cl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));cl("onBeforeInput",["compositionend","keypress","textInput","paste"]);cl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));cl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));cl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ro="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(" "),SC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ro));function Vp(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a],l=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var o=n.length-1;0<=o;o--){var r=n[o],c=r.instance,u=r.currentTarget;if(r=r.listener,c!==i&&l.isPropagationStopped())break e;i=r,l.currentTarget=u;try{i(l)}catch(s){Cc(s)}l.currentTarget=null,i=c}else for(o=0;o<n.length;o++){if(r=n[o],c=r.instance,u=r.currentTarget,r=r.listener,c!==i&&l.isPropagationStopped())break e;i=r,l.currentTarget=u;try{i(l)}catch(s){Cc(s)}l.currentTarget=null,i=c}}}}function ve(e,t){var a=t[H4];a===void 0&&(a=t[H4]=new Set);var n=e+"__bubble";a.has(n)||(Gp(t,e,2,!1),a.add(n))}function B1(e,t,a){var n=0;t&&(n|=4),Gp(a,e,n,t)}var ec="_reactListening"+Math.random().toString(36).slice(2);function K2(e){if(!e[ec]){e[ec]=!0,_3.forEach(function(a){a!=="selectionchange"&&(SC.has(a)||B1(a,!1,e),B1(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ec]||(t[ec]=!0,B1("selectionchange",!1,t))}}function Gp(e,t,a,n){switch(mg(t)){case 2:var l=vT;break;case 8:l=pT;break;default:l=$2}a=l.bind(null,t,a,e),l=void 0,!lu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),n?l!==void 0?e.addEventListener(t,a,{capture:!0,passive:l}):e.addEventListener(t,a,!0):l!==void 0?e.addEventListener(t,a,{passive:l}):e.addEventListener(t,a,!1)}function q1(e,t,a,n,l){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var r=n.stateNode.containerInfo;if(r===l)break;if(o===4)for(o=n.return;o!==null;){var c=o.tag;if((c===3||c===4)&&o.stateNode.containerInfo===l)return;o=o.return}for(;r!==null;){if(o=Q0(r),o===null)return;if(c=o.tag,c===5||c===6||c===26||c===27){n=i=o;continue e}r=r.parentNode}}n=n.return}V3(function(){var u=i,s=r2(a),d=[];e:{var m=av.get(e);if(m!==void 0){var f=Wc,x=e;switch(e){case"keypress":if(oc(a)===0)break e;case"keydown":case"keyup":f=sw;break;case"focusin":x="focus",f=z1;break;case"focusout":x="blur",f=z1;break;case"beforeblur":case"afterblur":f=z1;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=K4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=Pk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=hw;break;case $3:case W3:case ev:f=ew;break;case tv:f=pw;break;case"scroll":case"scrollend":f=Ik;break;case"wheel":f=bw;break;case"copy":case"cut":case"paste":f=aw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=Z4;break;case"submit":f=mw;break;case"toggle":case"beforetoggle":f=xw}var N=(t&4)!==0,C=!N&&(e==="scroll"||e==="scrollend"),v=N?m!==null?m+"Capture":null:m;N=[];for(var p=u,g;p!==null;){var y=p;if(g=y.stateNode,y=y.tag,y!==5&&y!==26&&y!==27||g===null||v===null||(y=No(p,v),y!=null&&N.push(Eo(p,y,g))),C)break;p=p.return}0<N.length&&(m=new f(m,x,null,a,s),d.push({event:m,listeners:N}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",f&&a!==nu&&(x=a.relatedTarget||a.fromElement)&&(Q0(x)||x[xi]))break e;(m||f)&&(x=s.window===s?s:(f=s.ownerDocument)?f.defaultView||f.parentWindow:window,m?(f=a.relatedTarget||a.toElement,m=u,f=f?Q0(f):null,f!==null&&(C=jo(f),N=f.tag,f!==C||N!==5&&N!==27&&N!==6)&&(f=null)):(m=null,f=u),m!==f&&(N=K4,y="onMouseLeave",v="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(N=Z4,y="onPointerLeave",v="onPointerEnter",p="pointer"),C=m==null?x:no(m),g=f==null?x:no(f),x=new N(y,p+"leave",m,a,s),x.target=C,x.relatedTarget=g,y=null,Q0(s)===u&&(N=new N(v,p+"enter",f,a,s),N.target=g,N.relatedTarget=C,y=N),C=y,N=m&&f?K1(m,f,MC):null,m!==null&&X5(d,x,m,N,!1),f!==null&&C!==null&&X5(d,C,f,N,!0)))}e:{if(m=u?no(u):window,f=m.nodeName&&m.nodeName.toLowerCase(),f==="select"||f==="input"&&m.type==="file")var E=P4;else if(J4(m))if(Z3)E=Ew;else{E=Tw;var V=Cw}else f=m.nodeName,!f||f.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?u&&o2(u.elementType)&&(E=P4):E=Rw;if(E&&(E=E(e,u))){Q3(d,E,a,s);break e}V&&V(e,m,u)}switch(V=u?no(u):window,e){case"focusin":(J4(V)||V.contentEditable==="true")&&(Xl=V,ou=u,co=null);break;case"focusout":co=ou=Xl=null;break;case"mousedown":ru=!0;break;case"contextmenu":case"mouseup":case"dragend":ru=!1,t5(d,a,s);break;case"selectionchange":if(Dw)break;case"keydown":case"keyup":t5(d,a,s)}var U;if(u2)e:{switch(e){case"compositionstart":var O="onCompositionStart";break e;case"compositionend":O="onCompositionEnd";break e;case"compositionupdate":O="onCompositionUpdate";break e}O=void 0}else Yl?X3(e,a)&&(O="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(O="onCompositionStart");O&&(Y3&&a.locale!=="ko"&&(Yl||O!=="onCompositionStart"?O==="onCompositionEnd"&&Yl&&(U=G3()):(a0=s,c2="value"in a0?a0.value:a0.textContent,Yl=!0)),V=Fc(u,O),0<V.length&&(O=new Q4(O,e,null,a,s),d.push({event:O,listeners:V}),U?O.data=U:(U=K3(a),U!==null&&(O.data=U)))),(U=zw?Sw(e,a):Mw(e,a))&&(O=Fc(u,"onBeforeInput"),0<O.length&&(V=new Q4("onBeforeInput","beforeinput",null,a,s),d.push({event:V,listeners:O}),V.data=U)),zC(d,e,u,a,s)}Vp(d,t)})}function Eo(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Fc(e,t){for(var a=t+"Capture",n=[];e!==null;){var l=e,i=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||i===null||(l=No(e,a),l!=null&&n.unshift(Eo(e,l,i)),l=No(e,t),l!=null&&n.push(Eo(e,l,i))),e.tag===3)return n;e=e.return}return[]}function MC(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function X5(e,t,a,n,l){for(var i=t._reactName,o=[];a!==null&&a!==n;){var r=a,c=r.alternate,u=r.stateNode;if(r=r.tag,c!==null&&c===n)break;r!==5&&r!==26&&r!==27||u===null||(c=u,l?(u=No(a,i),u!=null&&o.unshift(Eo(a,u,c))):l||(u=No(a,i),u!=null&&o.push(Eo(a,u,c)))),a=a.return}o.length!==0&&e.push({event:t,listeners:o})}var kC=/\r\n?/g,wC=/\u0000|\uFFFD/g;function K5(e){return(typeof e=="string"?e:""+e).replace(kC,`
|
|
9
|
+
`).replace(wC,"")}function Yp(e,t){return t=K5(t),K5(e)===t}function Ce(e,t,a,n,l,i){switch(a){case"children":if(typeof n=="string")t==="body"||t==="textarea"&&n===""||si(e,n);else if(typeof n=="number"||typeof n=="bigint")t!=="body"&&si(e,""+n);else return;break;case"className":qr(e,"class",n);break;case"tabIndex":qr(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":qr(e,a,n);break;case"style":q3(e,n,i);return;case"data":if(t!=="object"){qr(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=lc(n),e.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(a,"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 i=="function"&&(a==="formAction"?(t!=="input"&&Ce(e,t,"name",l.name,l,null),Ce(e,t,"formEncType",l.formEncType,l,null),Ce(e,t,"formMethod",l.formMethod,l,null),Ce(e,t,"formTarget",l.formTarget,l,null)):(Ce(e,t,"encType",l.encType,l,null),Ce(e,t,"method",l.method,l,null),Ce(e,t,"target",l.target,l,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=lc(n),e.setAttribute(a,n);break;case"onClick":n!=null&&(e.onclick=tn);return;case"onScroll":n!=null&&ve("scroll",e);return;case"onScrollEnd":n!=null&&ve("scrollend",e);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(R(61));if(a=n.__html,a!=null){if(l.children!=null)throw Error(R(60));i?.__html!==a&&(e.innerHTML=a)}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}a=lc(n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":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":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(a,n):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case"popover":ve("beforetoggle",e),ve("toggle",e),nc(e,"popover",n);break;case"xlinkActuate":yn(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":yn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":yn(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":yn(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":yn(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":yn(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":yn(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":yn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":yn(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":nc(e,"is",n);break;case"innerText":case"textContent":return;default:if(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")a=Zk.get(a)||a,nc(e,a,n);else return}xe=!0}function Xu(e,t,a,n,l,i){switch(a){case"style":q3(e,n,i);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(R(61));if(a=n.__html,a!=null){if(l.children!=null)throw Error(R(60));i?.__html!==a&&(e.innerHTML=a)}}break;case"children":if(typeof n=="string")si(e,n);else if(typeof n=="number"||typeof n=="bigint")si(e,""+n);else return;break;case"onScroll":n!=null&&ve("scroll",e);return;case"onScrollEnd":n!=null&&ve("scrollend",e);return;case"onClick":n!=null&&(e.onclick=tn);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!O3.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(l=a.endsWith("Capture"),i=a.slice(2,l?a.length-7:void 0),t=e[$t]||null,t=t!=null?t[a]:null,typeof t=="function"&&e.removeEventListener(i,t,l),typeof n=="function")){typeof t!="function"&&t!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(i,n,l);break e}xe=!0,a in e?e[a]=n:n===!0?e.setAttribute(a,""):nc(e,a,n)}return}xe=!0}function Ct(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ve("error",e),ve("load",e);var n=!1,l=!1,i;for(i in a)if(a.hasOwnProperty(i)){var o=a[i];if(o!=null)switch(i){case"src":n=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(R(137,t));default:Ce(e,t,i,o,a,null)}}l&&Ce(e,t,"srcSet",a.srcSet,a,null),n&&Ce(e,t,"src",a.src,a,null);return;case"input":ve("invalid",e);var r=i=o=l=null,c=null,u=null;for(n in a)if(a.hasOwnProperty(n)){var s=a[n];if(s!=null)switch(n){case"name":l=s;break;case"type":o=s;break;case"checked":c=s;break;case"defaultChecked":u=s;break;case"value":i=s;break;case"defaultValue":r=s;break;case"children":case"dangerouslySetInnerHTML":if(s!=null)throw Error(R(137,t));break;default:Ce(e,t,n,s,a,null)}}H3(e,i,r,c,u,o,l,!1);return;case"select":ve("invalid",e),n=o=i=null;for(l in a)if(a.hasOwnProperty(l)&&(r=a[l],r!=null))switch(l){case"value":i=r;break;case"defaultValue":o=r;break;case"multiple":n=r;default:Ce(e,t,l,r,a,null)}t=i,a=o,e.multiple=!!n,t!=null?$l(e,!!n,t,!1):a!=null&&$l(e,!!n,a,!0);return;case"textarea":ve("invalid",e),i=l=n=null;for(o in a)if(a.hasOwnProperty(o)&&(r=a[o],r!=null))switch(o){case"value":n=r;break;case"defaultValue":l=r;break;case"children":i=r;break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(R(91));break;default:Ce(e,t,o,r,a,null)}B3(e,n,l,i);return;case"option":for(c in a)a.hasOwnProperty(c)&&(n=a[c],n!=null)&&(c==="selected"?e.selected=n&&typeof n!="function"&&typeof n!="symbol":Ce(e,t,c,n,a,null));return;case"dialog":ve("beforetoggle",e),ve("toggle",e),ve("cancel",e),ve("close",e);break;case"iframe":case"object":ve("load",e);break;case"video":case"audio":for(n=0;n<Ro.length;n++)ve(Ro[n],e);break;case"image":ve("error",e),ve("load",e);break;case"details":ve("toggle",e);break;case"embed":case"source":case"link":ve("error",e),ve("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in a)if(a.hasOwnProperty(u)&&(n=a[u],n!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(R(137,t));default:Ce(e,t,u,n,a,null)}return;default:if(o2(t)){for(s in a)a.hasOwnProperty(s)&&(n=a[s],n!==void 0&&Xu(e,t,s,n,a,void 0));return}}for(r in a)a.hasOwnProperty(r)&&(n=a[r],n!=null&&Ce(e,t,r,n,a,null))}var CC={};function TC(e,t,a,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,i=null,o=null,r=null,c=null,u=null,s=null;for(f in a){var d=a[f];if(a.hasOwnProperty(f)&&d!=null)switch(f){case"checked":break;case"value":break;case"defaultValue":c=d;default:n.hasOwnProperty(f)||Ce(e,t,f,null,n,d)}}for(var m in n){var f=n[m];if(d=a[m],n.hasOwnProperty(m)&&(f!=null||d!=null))switch(m){case"type":f!==d&&(xe=!0),i=f;break;case"name":f!==d&&(xe=!0),l=f;break;case"checked":f!==d&&(xe=!0),u=f;break;case"defaultChecked":f!==d&&(xe=!0),s=f;break;case"value":f!==d&&(xe=!0),o=f;break;case"defaultValue":f!==d&&(xe=!0),r=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(R(137,t));break;default:f!==d&&Ce(e,t,m,f,n,d)}}au(e,o,r,c,u,s,i,l);return;case"select":f=o=r=m=null;for(i in a)if(c=a[i],a.hasOwnProperty(i)&&c!=null)switch(i){case"value":break;case"multiple":f=c;default:n.hasOwnProperty(i)||Ce(e,t,i,null,n,c)}for(l in n)if(i=n[l],c=a[l],n.hasOwnProperty(l)&&(i!=null||c!=null))switch(l){case"value":i!==c&&(xe=!0),m=i;break;case"defaultValue":i!==c&&(xe=!0),r=i;break;case"multiple":i!==c&&(xe=!0),o=i;default:i!==c&&Ce(e,t,l,i,n,c)}t=r,a=o,n=f,m!=null?$l(e,!!a,m,!1):!!n!=!!a&&(t!=null?$l(e,!!a,t,!0):$l(e,!!a,a?[]:"",!1));return;case"textarea":f=m=null;for(r in a)if(l=a[r],a.hasOwnProperty(r)&&l!=null&&!n.hasOwnProperty(r))switch(r){case"value":break;case"children":break;default:Ce(e,t,r,null,n,l)}for(o in n)if(l=n[o],i=a[o],n.hasOwnProperty(o)&&(l!=null||i!=null))switch(o){case"value":l!==i&&(xe=!0),m=l;break;case"defaultValue":l!==i&&(xe=!0),f=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(R(91));break;default:l!==i&&Ce(e,t,o,l,n,i)}U3(e,m,f);return;case"option":for(var x in a)m=a[x],a.hasOwnProperty(x)&&m!=null&&!n.hasOwnProperty(x)&&(x==="selected"?e.selected=!1:Ce(e,t,x,null,n,m));for(c in n)m=n[c],f=a[c],n.hasOwnProperty(c)&&m!==f&&(m!=null||f!=null)&&(c==="selected"?(m!==f&&(xe=!0),e.selected=m&&typeof m!="function"&&typeof m!="symbol"):Ce(e,t,c,m,n,f));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 N in a)m=a[N],a.hasOwnProperty(N)&&m!=null&&!n.hasOwnProperty(N)&&Ce(e,t,N,null,n,m);for(u in n)if(m=n[u],f=a[u],n.hasOwnProperty(u)&&m!==f&&(m!=null||f!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(R(137,t));break;default:Ce(e,t,u,m,n,f)}return;default:if(o2(t)){for(var C in a)m=a[C],a.hasOwnProperty(C)&&m!==void 0&&!n.hasOwnProperty(C)&&Xu(e,t,C,void 0,n,m);for(s in n)m=n[s],f=a[s],!n.hasOwnProperty(s)||m===f||m===void 0&&f===void 0||Xu(e,t,s,m,n,f);return}}for(var v in a)m=a[v],a.hasOwnProperty(v)&&m!=null&&!n.hasOwnProperty(v)&&Ce(e,t,v,null,n,m);for(d in n)m=n[d],f=a[d],!n.hasOwnProperty(d)||m===f||m==null&&f==null||Ce(e,t,d,m,n,f)}function Q5(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function RC(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var l=a[n],i=l.transferSize,o=l.initiatorType,r=l.duration;if(i&&r&&Q5(o)){for(o=0,r=l.responseEnd,n+=1;n<a.length;n++){var c=a[n],u=c.startTime;if(u>r)break;var s=c.transferSize,d=c.initiatorType;s&&Q5(d)&&(c=c.responseEnd,o+=s*(c<r?1:(r-u)/(c-u)))}if(--n,t+=8*(i+o)/(l.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ku=null,Qu=null;function Ao(e){return e.nodeType===9?e:e.ownerDocument}function Z5(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Xp(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Kp(e,t,a,n){return a=Ao(a).createElement(e),a[St]=n,a[$t]=t,Ct(a,e,t),bt(a),a}function Zu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var V1=null;function EC(){var e=window.event;return e&&e.type==="popstate"?e===V1?!1:(V1=e,!0):(V1=null,!1)}var Q2=typeof setTimeout=="function"?setTimeout:void 0,AC=typeof clearTimeout=="function"?clearTimeout:void 0,F5=typeof Promise=="function"?Promise:void 0,I5=typeof requestAnimationFrame=="function"?requestAnimationFrame:Q2,DC=typeof queueMicrotask=="function"?queueMicrotask:typeof F5<"u"?function(e){return F5.resolve(null).then(e).catch(_C)}:Q2;function _C(e){setTimeout(function(){throw e})}function S0(e){return e==="head"}function J5(e,t){var a=t,n=0;do{var l=a.nextSibling;if(e.removeChild(a),l&&l.nodeType===8)if(a=l.data,a==="/$"||a==="/&"){if(n===0){e.removeChild(l),yi(t);return}n--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")n++;else if(a==="html")Y1(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Y1(a);for(var i=a.firstChild;i;){var o=i.nextSibling,r=i.nodeName;i[qo]||r==="SCRIPT"||r==="STYLE"||r==="LINK"&&i.rel.toLowerCase()==="stylesheet"||a.removeChild(i),i=o}}else a==="body"&&Y1(e.ownerDocument.body);a=l}while(a);yi(t)}function P5(e,t){var a=e;e=0;do{var n=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=n}while(a)}function Qp(e,t,a){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,a!=null&&(e.style.viewTransitionClass=a),a=getComputedStyle(e),a.display==="inline"){if(t=e.getClientRects(),t.length===1)var n=1;else for(var l=n=0;l<t.length;l++){var i=t[l];0<i.width&&0<i.height&&n++}n===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+a.paddingTop,e.marginBottom="-"+a.paddingBottom)}}function Zp(e,t){e=e.style,t=t.style;var a=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=a==null||typeof a=="boolean"?"":(""+a).trim(),a=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=a==null||typeof a=="boolean"?"":(""+a).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(a=t.display,e.display=a==null||typeof a=="boolean"?"":a,a=t.margin,a!=null?e.margin=a:(a=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=a==null||typeof a=="boolean"?"":a,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function Fp(e,t,a){return a=a.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=a.innerHeight&&e.left<=a.innerWidth}}function Fu(e){var t=e.getBoundingClientRect(),a=getComputedStyle(e);return Fp(t,a,e)}function OC(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var a=getComputedStyle(e);return Fp(t,a,e)}function LC(e){return e.documentElement.clientHeight}function jC(e){this.addEventListener("load",e),this.addEventListener("error",e)}function HC(e,t,a,n,l,i,o,r,c){var u=t.nodeType===9?t:t.ownerDocument;try{var s=u.startViewTransition({update:function(){var m=u.defaultView,f=m.navigation&&m.navigation.transition,x=u.fonts.status;n();var N=[];if(x==="loaded"&&(LC(u),u.fonts.status==="loading"&&N.push(u.fonts.ready)),x=N.length,e!==null)for(var C=e.suspenseyImages,v=0,p=0;p<C.length;p++){var g=C[p];if(!g.complete){var y=g.getBoundingClientRect();if(0<y.bottom&&0<y.right&&y.top<m.innerHeight&&y.left<m.innerWidth){if(v+=og(g),v>yc){N.length=x;break}g=new Promise(jC.bind(g)),N.push(g)}}}if(0<N.length)return m=Promise.race([Promise.all(N),new Promise(function(E){return setTimeout(E,500)})]).then(l,l),(f?Promise.allSettled([f.finished,m]):m).then(i,i);if(l(),f)return f.finished.then(i,i);i()},types:a});u.__reactViewTransition=s;var d=[];return s.ready.then(function(){for(var m=u.documentElement.getAnimations({subtree:!0}),f=0;f<m.length;f++){var x=m[f],N=x.effect,C=N.pseudoElement;if(C!=null&&C.startsWith("::view-transition")){d.push(x),x=N.getKeyframes();for(var v=C=void 0,p=!0,g=0;g<x.length;g++){var y=x[g],E=y.width;if(C===void 0)C=E;else if(C!==E){p=!1;break}if(E=y.height,v===void 0)v=E;else if(v!==E){p=!1;break}delete y.width,delete y.height,y.transform==="none"&&delete y.transform}p&&C!==void 0&&v!==void 0&&(N.setKeyframes(x),p=getComputedStyle(N.target,N.pseudoElement),p.width!==C||p.height!==v)&&(p=x[0],p.width=C,p.height=v,p=x[x.length-1],p.width=C,p.height=v,N.setKeyframes(x))}}o()},function(m){u.__reactViewTransition===s&&(u.__reactViewTransition=null);try{typeof m=="object"&&m!==null&&m.name==="InvalidStateError"&&(m.message==="View transition was skipped because document visibility state is hidden."||m.message==="Skipping view transition because document visibility state has become hidden."||m.message==="Skipping view transition because viewport size changed."||m.message==="Transition was aborted because of invalid state")&&(m=null),m!==null&&c(m)}finally{n(),l(),o()}}),s.finished.finally(function(){for(var m=0;m<d.length;m++)d[m].cancel();u.__reactViewTransition===s&&(u.__reactViewTransition=null),r()}),s}catch{return n(),l(),o(),null}}function Z0(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}Z0.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:De({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)};Z0.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,a=e.getAnimations({subtree:!0}),n=[],l=0;l<a.length;l++){var i=a[l].effect;i!==null&&i.target===e&&i.pseudoElement===t&&n.push(a[l])}return n};Z0.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Ip(e){return{name:e,group:new Z0("group",e),imagePair:new Z0("image-pair",e),old:new Z0("old",e),new:new Z0("new",e)}}function ha(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}ha.prototype.addEventListener=function(e,t,a){var n=null,l=null;if(!(a!=null&&typeof a!="boolean"&&(n=a.signal||null,n!==null&&n.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var i=this._eventListeners;if(Jp(i,e,t,a)===-1){var o=this,r=t;a!=null&&typeof a!="boolean"&&a.once===!0&&(r=function(c){o.removeEventListener(e,t,a),typeof t=="function"?t.call(this,c):t.handleEvent(c)}),n!==null&&(l=o.removeEventListener.bind(o,e,t,a),n.addEventListener("abort",l,{once:!0}),l=n.removeEventListener.bind(n,"abort",l)),n=vi(a),i.push({type:e,listener:t,optionsOrUseCapture:a,attachedListener:r,cleanup:l}),Pt(this._fragmentFiber.child,!1,UC,e,r,n)}this._eventListeners=i}};function UC(e,t,a,n){return ct(e).addEventListener(t,a,n),!1}ha.prototype.removeEventListener=function(e,t,a){var n=this._eventListeners;if(n!==null&&(t=Jp(n,e,t,a),t!==-1)){var l=n[t];a=l.attachedListener;var i=l.cleanup;l=vi(l.optionsOrUseCapture),Pt(this._fragmentFiber.child,!1,BC,e,a,l),n.splice(t,1),i!==null&&i()}};function BC(e,t,a,n){return ct(e).removeEventListener(t,a,n),!1}function vi(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function $5(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function Jp(e,t,a,n){if(e.length===0)return-1;n=$5(n);for(var l=0;l<e.length;l++){var i=e[l];if(i.type===t&&i.listener===a&&$5(i.optionsOrUseCapture)===n)return l}return-1}ha.prototype.dispatchEvent=function(e){var t=rl(this._fragmentFiber);if(t===null)return!0;t=ct(t);var a=this._eventListeners;if(a!==null&&0<a.length||!e.bubbles){var n=t.nodeType===9?t.createComment(""):document.createTextNode("");if(a)for(var l=0;l<a.length;l++){var i=a[l];n.addEventListener(i.type,i.attachedListener,vi(i.optionsOrUseCapture))}if(t.appendChild(n),e=n.dispatchEvent(e),a)for(l=0;l<a.length;l++)i=a[l],n.removeEventListener(i.type,i.attachedListener,vi(i.optionsOrUseCapture));return t.removeChild(n),e}return t.dispatchEvent(e)};ha.prototype.focus=function(e){Pt(this._fragmentFiber.child,!0,Pp,e,void 0,void 0)};function Pp(e,t){return e.tag===6?!1:(e=ct(e),PC(e,t))}ha.prototype.focusLast=function(e){var t=[];Pt(this._fragmentFiber.child,!0,Z2,t,void 0,void 0);for(var a=t.length-1;0<=a&&!Pp(t[a],e);a--);};function Z2(e,t){return t.push(e),!1}ha.prototype.blur=function(){var e=rl(this._fragmentFiber);e!==null&&(e=ct(e),e=Ao(e).activeElement,e!==null&&Pt(this._fragmentFiber.child,!1,qC,e,void 0,void 0))};function qC(e,t){return e.tag===6?!1:(e=ct(e),e===t||e.contains(t)?(t.blur(),!0):!1)}ha.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),Pt(this._fragmentFiber.child,!1,VC,e,void 0,void 0)};function VC(e,t){return e.tag===6||(e=ct(e),t.observe(e)),!1}ha.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),Pt(this._fragmentFiber.child,!1,GC,e,void 0,void 0);for(var a=t=0;a<Ba.length;a++){var n=Ba[a];n.fragmentInstance===this&&n.observer===e?e.unobserve(n.instance):Ba[t++]=n}Ba.length=t}};function GC(e,t){return e.tag===6||(e=ct(e),t.unobserve(e)),!1}var Ba=[],G1=!1;function YC(e,t,a){Ba.push({fragmentInstance:e,observer:t,instance:a}),G1||(G1=!0,$C(function(){G1=!1;var n=Ba;Ba=[];for(var l=0;l<n.length;l++){var i=n[l];i.observer.unobserve(i.instance)}}))}ha.prototype.getClientRects=function(){var e=[];return Pt(this._fragmentFiber.child,!1,XC,e,void 0,void 0),e};function XC(e,t){if(e.tag===6){e=e.stateNode;var a=e.ownerDocument.createRange();a.selectNodeContents(e),t.push.apply(t,a.getClientRects())}else e=ct(e),t.push.apply(t,e.getClientRects());return!1}ha.prototype.getRootNode=function(e){var t=rl(this._fragmentFiber);return t===null?this:ct(t).getRootNode(e)};ha.prototype.compareDocumentPosition=function(e){var t=rl(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var a=[];Pt(this._fragmentFiber.child,!1,Z2,a,void 0,void 0);var n=ct(t);if(a.length===0){if(a=n,A4(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(a=t)}t=this._fragmentFiber;var l=n=a.compareDocumentPosition(e);return a===e?l=Node.DOCUMENT_POSITION_CONTAINS:n&Node.DOCUMENT_POSITION_CONTAINED_BY&&(a=y3(t)[1],a===null?l=Node.DOCUMENT_POSITION_PRECEDING:(e=ct(a).compareDocumentPosition(e),l=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),l|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=ct(a[0]),l=ct(a[a.length-1]);var i=A4(this._fragmentFiber)?t.parentElement:n;if(i==null)return Node.DOCUMENT_POSITION_DISCONNECTED;n=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY;var o=t.compareDocumentPosition(e),r=l.compareDocumentPosition(e),c=o&Node.DOCUMENT_POSITION_CONTAINED_BY||r&Node.DOCUMENT_POSITION_CONTAINED_BY;return r=n&&i&&o&Node.DOCUMENT_POSITION_FOLLOWING&&r&Node.DOCUMENT_POSITION_PRECEDING,t=n&&t===e||i&&l===e||c||r?Node.DOCUMENT_POSITION_CONTAINED_BY:!n&&t===e||!i&&l===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:o,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||KC(t,this._fragmentFiber,a[0],a[a.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function KC(e,t,a,n,l){var i=Q0(l);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(a=!!i)e:{for(;i!==null;){if(i.tag===7&&(i===t||i.alternate===t)){a=!0;break e}i=i.return}a=!1}return a}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(i===null)return i=l.ownerDocument,l===i||l===i.documentElement||l===i.body;e:{for(i=t,t=rl(t);i!==null;){if(!(i.tag!==5&&i.tag!==3&&i.tag!==27||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===a)&&(t=K1(a,i,D4),t===null?t=!1:(Pt(t,!0,Nk,i,a),i=Bl,Bl=null,t=i!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!i)&&!(t=i===n)&&(t=K1(n,i,D4),t===null?t=!1:(Pt(t,!0,zk,i,n),i=Bl,X1=Bl=null,t=i!==null)),t):!1}function W5(e,t){var a=e.ownerDocument.createRange();a.selectNodeContents(e),e=a.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}ha.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(R(566));var t=[];Pt(this._fragmentFiber.child,!1,Z2,t,void 0,void 0);var a=e!==!1;if(t.length===0){var n=y3(this._fragmentFiber);if(n=a?n[1]||n[0]||rl(this._fragmentFiber):n[0]||n[1],n===null)return;if(n.tag===6){e=ct(n),W5(e,a);return}if(n=ct(n),n.nodeType!==9){if(n.nodeType===11){a="host"in n?n.host:null,a!==null&&a.scrollIntoView(e);return}n.scrollIntoView(e)}}for(n=a?t.length-1:0;n!==(a?-1:t.length);){var l=t[n];l.tag===6?(l=ct(l),W5(l,a)):ct(l).scrollIntoView(e),n+=a?-1:1}};function QC(e,t){return e=ct(e),$p(e,t),!1}function $p(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function Wp(e,t){var a=t._eventListeners;if(a!==null)for(var n=0;n<a.length;n++){var l=a[n];e.addEventListener(l.type,l.attachedListener,vi(l.optionsOrUseCapture))}e.nodeType!==3&&(a=t._observers,a!==null&&a.forEach(function(i){for(var o=0,r=0;r<Ba.length;r++){var c=Ba[r];(c.fragmentInstance!==t||c.observer!==i||c.instance!==e)&&(Ba[o++]=c)}Ba.length=o,i.observe(e)}),$p(e,t))}function ZC(e,t){var a=t._eventListeners;if(a!==null)for(var n=0;n<a.length;n++){var l=a[n];e.removeEventListener(l.type,l.attachedListener,vi(l.optionsOrUseCapture))}e.nodeType!==3&&(a=t._observers,a!==null&&a.forEach(function(i){typeof i.rootMargin=="string"?YC(t,i,e):i.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function Iu(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Iu(a),$c(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function FC(e,t,a,n){for(;e.nodeType===1;){var l=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[qo])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Ma(e.nextSibling),e===null)break}return null}function IC(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Ma(e.nextSibling),e===null))return null;return e}function eg(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ma(e.nextSibling),e===null))return null;return e}function Ju(e){return e.data==="$?"||e.data==="$~"}function F2(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function JC(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var n=function(){t(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function Ma(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Pu=null;function e3(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return Ma(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function t3(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function PC(e,t){function a(){n=!0}if(e.ownerDocument.activeElement===e)return!0;var n=!1;try{e.ownerDocument.addEventListener("focus",a,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",a,!0)}return n}function $C(e){I5(function(){I5(function(t){return e(t)})})}function tg(e,t,a){switch(t=Ao(a),e){case"html":if(e=t.documentElement,!e)throw Error(R(452));return e;case"head":if(e=t.head,!e)throw Error(R(453));return e;case"body":if(e=t.body,!e)throw Error(R(454));return e;default:throw Error(R(451))}}function ag(e,t,a){for(var n in a){var l=a[n];a.hasOwnProperty(n)&&l!=null&&Ce(e,t,n,null,CC,l)}a.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===tn&&(e.onclick=null),$c(e)}function Y1(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);$c(e)}var ka=new Map,a3=new Set;function Do(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var _n=Se.d;Se.d={f:WC,r:eT,D:tT,C:aT,L:nT,m:lT,X:oT,S:iT,M:rT};function WC(){var e=_n.f(),t=ms();return e||t}function eT(e){var t=Ni(e);t!==null&&t.tag===5&&t.type==="form"?qv(t):_n.r(e)}var ki=typeof document>"u"?null:document;function ng(e,t,a){var n=ki;if(n&&typeof t=="string"&&t){var l=Na(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),a3.has(l)||(a3.add(l),e={rel:e,crossOrigin:a,href:t},n.querySelector(l)===null&&(t=n.createElement("link"),Ct(t,"link",e),bt(t),n.head.appendChild(t)))}}function tT(e){_n.D(e),ng("dns-prefetch",e,null)}function aT(e,t){_n.C(e,t),ng("preconnect",e,t)}function nT(e,t,a){_n.L(e,t,a);var n=ki;if(n&&e&&t){var l='link[rel="preload"][as="'+Na(t)+'"]';t==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+Na(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+Na(a.imageSizes)+'"]')):l+='[href="'+Na(e)+'"]';var i=l;switch(t){case"style":i=pi(e);break;case"script":i=wi(e)}if(!(ka.has(i)||(e=De({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),ka.set(i,e),n.querySelector(l)!==null||t==="style"&&n.querySelector(Qo(i))||t==="script"&&n.querySelector(Zo(i))))){var o=n.createElement("link");Ct(o,"link",e),t==="style"&&(o[wc]=!0,o.onload=o.onerror=function(){D3(o)}),bt(o),n.head.appendChild(o)}}}function lT(e,t){_n.m(e,t);var a=ki;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+Na(n)+'"][href="'+Na(e)+'"]',i=l;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=wi(e)}if(!ka.has(i)&&(e=De({rel:"modulepreload",href:e},t),ka.set(i,e),a.querySelector(l)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Zo(i)))return}n=a.createElement("link"),Ct(n,"link",e),bt(n),a.head.appendChild(n)}}}function iT(e,t,a){_n.S(e,t,a);var n=ki;if(n&&e){var l=Pl(n).hoistableStyles,i=pi(e);t=t||"default";var o=l.get(i);if(!o){var r={loading:0,preload:null};if(o=n.querySelector(Qo(i)))r.loading=5;else{e=De({rel:"stylesheet",href:e,"data-precedence":t},a),(a=ka.get(i))&&I2(e,a);var c=o=n.createElement("link");bt(c),Ct(c,"link",e),c._p=new Promise(function(u,s){c.onload=u,c.onerror=s}),c.addEventListener("load",function(){r.loading|=1}),c.addEventListener("error",function(){r.loading|=2}),r.loading|=4,gc(o,t,n)}o={type:"stylesheet",instance:o,count:1,state:r},l.set(i,o)}}}function oT(e,t){_n.X(e,t);var a=ki;if(a&&e){var n=Pl(a).hoistableScripts,l=wi(e),i=n.get(l);i||(i=a.querySelector(Zo(l)),i||(e=De({src:e,async:!0},t),(t=ka.get(l))&&J2(e,t),i=a.createElement("script"),bt(i),Ct(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function rT(e,t){_n.M(e,t);var a=ki;if(a&&e){var n=Pl(a).hoistableScripts,l=wi(e),i=n.get(l);i||(i=a.querySelector(Zo(l)),i||(e=De({src:e,async:!0,type:"module"},t),(t=ka.get(l))&&J2(e,t),i=a.createElement("script"),bt(i),Ct(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function n3(e,t,a,n){var l=(l=r0.current)?Do(l):null;if(!l)throw Error(R(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=pi(a.href),t=Pl(l).hoistableStyles,n=t.get(a),n||(n={type:"style",instance:null,count:0,state:null},t.set(a,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=pi(a.href);var i=Pl(l).hoistableStyles,o=i.get(e);if(o||(l=l.ownerDocument||l,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,o),(i=l.querySelector(Qo(e)))?i._p||(o.instance=i,o.state.loading=5):(i=ka.get(e),i||(i={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},ka.set(e,i)),cT(l,e,i,o.state))),t&&n===null)throw Error(R(528,""));return o}if(t&&n!==null)throw Error(R(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=wi(a),t=Pl(l).hoistableScripts,n=t.get(a),n||(n={type:"script",instance:null,count:0,state:null},t.set(a,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(R(444,e))}}function pi(e){return'href="'+Na(e)+'"'}function Qo(e){return'link[rel="stylesheet"]['+e+"]"}function lg(e){return De({},e,{"data-precedence":e.precedence,precedence:null})}function cT(e,t,a,n){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[wc]!==!0){n.loading=1;return}}else t=e.createElement("link"),t[wc]=!0,t.onload=t.onerror=D3.bind(null,t),Ct(t,"link",a),bt(t),e.head.appendChild(t);n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2})}function wi(e){return'[src="'+Na(e)+'"]'}function Zo(e){return"script[async]"+e}function l3(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+Na(a.href)+'"]');if(n)return t.instance=n,bt(n),n;var l=De({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),bt(n),Ct(n,"style",l),gc(n,a.precedence,e),t.instance=n;case"stylesheet":l=pi(a.href);var i=e.querySelector(Qo(l));if(i)return t.state.loading|=4,t.instance=i,bt(i),i;n=lg(a),(l=ka.get(l))&&I2(n,l),i=(e.ownerDocument||e).createElement("link"),bt(i);var o=i;return o._p=new Promise(function(r,c){o.onload=r,o.onerror=c}),Ct(i,"link",n),t.state.loading|=4,gc(i,a.precedence,e),t.instance=i;case"script":return i=wi(a.src),(l=e.querySelector(Zo(i)))?(t.instance=l,bt(l),l):(n=a,(l=ka.get(i))&&(n=De({},a),J2(n,l)),e=e.ownerDocument||e,l=e.createElement("script"),bt(l),Ct(l,"link",n),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(R(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,gc(n,a.precedence,e));return t.instance}function gc(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=n.length?n[n.length-1]:null,i=l,o=0;o<n.length;o++){var r=n[o];if(r.dataset.precedence===t)i=r;else if(i!==l)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function I2(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function J2(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var bc=null;function i3(e,t,a){if(bc===null){var n=new Map,l=bc=new Map;l.set(a,n)}else l=bc,n=l.get(a),n||(n=new Map,l.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),l=0;l<a.length;l++){var i=a[l];if(!(i[qo]||i[St]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var o=i.getAttribute(t)||"";o=e+o;var r=n.get(o);r?r.push(i):n.set(o,[i])}}return n}function $u(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function sT(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function o3(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function ig(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function og(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function r3(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=og(t),e.suspenseyImages.push(t)),e=mT.bind(e),t.decode().then(e,e))}function uT(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var l=pi(n.href),i=t.querySelector(Qo(l));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=_o.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,bt(i);return}i=t.ownerDocument||t,n=lg(n),(l=ka.get(l))&&I2(n,l),i=i.createElement("link"),bt(i);var o=i;o._p=new Promise(function(r,c){o.onload=r,o.onerror=c}),Ct(i,"link",n),a.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=_o.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var yc=0;function dT(e,t){return e.stylesheets&&e.count===0&&xc(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&&xc(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&yc===0&&(yc=62500*RC());var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&xc(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>yc?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(l)}}:null}function rg(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)xc(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function _o(){this.count--,rg(this)}function mT(){this.imgCount--,rg(this)}var Ic=null;function xc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ic=new Map,t.forEach(fT,e),Ic=null,_o.call(e))}function fT(e,t){if(!(t.state.loading&4)){var a=Ic.get(e);if(a)var n=a.get(null);else{a=new Map,Ic.set(e,a);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<l.length;i++){var o=l[i];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(a.set(o.dataset.precedence,o),n=o)}n&&a.set(null,n)}l=t.instance,o=l.getAttribute("data-precedence"),i=a.get(o)||n,i===n&&a.set(null,l),a.set(o,l),this.count++,n=_o.bind(this),l.addEventListener("load",n),l.addEventListener("error",n),i?i.parentNode.insertBefore(l,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=4}}var gi={$$typeof:en,Provider:null,Consumer:null,_currentValue:F0,_currentValue2:F0,_threadCount:0};function hT(e,t,a,n,l,i,o,r,c){this.tag=1,this.containerInfo=e,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=g1(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=g1(0),this.hiddenUpdates=g1(null),this.identifierPrefix=n,this.onUncaughtError=l,this.onCaughtError=i,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.transitionTypes=null,this.incompleteTransitions=new Map}function cg(e,t,a,n,l,i,o,r,c,u,s,d){return e=new hT(e,t,a,o,c,u,s,d,r),t=1,i===!0&&(t|=24),i=It(3,null,null,t),e.current=i,i.stateNode=e,t=p2(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:a,cache:t},y2(i),e}function sg(e){return e?(e=Zl,e):Zl}function ug(e,t,a,n,l,i){l=sg(l),n.context===null?n.context=l:n.pendingContext=l,n=s0(t),n.payload={element:a},i=i===void 0?null:i,i!==null&&(n.callback=i),a=u0(e,n,t),a!==null&&(Jt(a,e,t),uo(a,e,t))}function c3(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function P2(e,t){c3(e,t),(e=e.alternate)&&c3(e,t)}function dg(e){if(e.tag===13||e.tag===31){var t=ul(e,67108864);t!==null&&Jt(t,e,67108864),P2(e,67108864)}}function s3(e){if(e.tag===13||e.tag===31){var t=ma();t=l2(t);var a=ul(e,t);a!==null&&Jt(a,e,t),P2(e,t)}}var bi=!0;function vT(e,t,a,n){var l=te.T;te.T=null;var i=Se.p;try{Se.p=2,$2(e,t,a,n)}finally{Se.p=i,te.T=l}}function pT(e,t,a,n){var l=te.T;te.T=null;var i=Se.p;try{Se.p=8,$2(e,t,a,n)}finally{Se.p=i,te.T=l}}function $2(e,t,a,n){if(bi){var l=Wu(n);if(l===null)q1(e,t,n,Jc,a),u3(e,n);else if(bT(l,e,t,a,n))n.stopPropagation();else if(u3(e,n),t&4&&-1<gT.indexOf(e)){for(;l!==null;){var i=Ni(l);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var o=Y0(i.pendingLanes);if(o!==0){var r=i;for(r.pendingLanes|=2,r.entangledLanes|=2;o;){var c=1<<31-da(o);r.entanglements[1]|=c,o&=~c}sn(i),(ze&6)===0&&(Xc=sa()+500,Ko(0,!1))}}break;case 31:case 13:r=ul(i,2),r!==null&&Jt(r,i,2),ms(),P2(i,2)}if(i=Wu(n),i===null&&q1(e,t,n,Jc,a),i===l)break;l=i}l!==null&&n.stopPropagation()}else q1(e,t,n,null,a)}}function Wu(e){return e=r2(e),W2(e)}var Jc=null;function W2(e){if(Jc=null,e=Q0(e),e!==null){var t=jo(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=p3(t),e!==null)return e;e=null}else if(a===31){if(e=g3(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Jc=e,null}function mg(e){switch(e){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"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"fullscreenerror":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"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ak()){case S3:return 2;case M3:return 8;case kc:case Dk:return 32;case k3:return 268435456;default:return 32}default:return 32}}var e2=!1,h0=null,v0=null,p0=null,Oo=new Map,Lo=new Map,e0=[],gT="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 u3(e,t){switch(e){case"focusin":case"focusout":h0=null;break;case"dragenter":case"dragleave":v0=null;break;case"mouseover":case"mouseout":p0=null;break;case"pointerover":case"pointerout":Oo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lo.delete(t.pointerId)}}function Wi(e,t,a,n,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:i,targetContainers:[l]},t!==null&&(t=Ni(t),t!==null&&dg(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function bT(e,t,a,n,l){switch(t){case"focusin":return h0=Wi(h0,e,t,a,n,l),!0;case"dragenter":return v0=Wi(v0,e,t,a,n,l),!0;case"mouseover":return p0=Wi(p0,e,t,a,n,l),!0;case"pointerover":var i=l.pointerId;return Oo.set(i,Wi(Oo.get(i)||null,e,t,a,n,l)),!0;case"gotpointercapture":return i=l.pointerId,Lo.set(i,Wi(Lo.get(i)||null,e,t,a,n,l)),!0}return!1}function fg(e){var t=Q0(e.target);if(t!==null){var a=jo(t);if(a!==null){if(t=a.tag,t===13){if(t=p3(a),t!==null){e.blockedOn=t,j4(e.priority,function(){s3(a)});return}}else if(t===31){if(t=g3(a),t!==null){e.blockedOn=t,j4(e.priority,function(){s3(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Nc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Wu(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);nu=n,a.target.dispatchEvent(n),nu=null}else return t=Ni(a),t!==null&&dg(t),e.blockedOn=a,!1;t.shift()}return!0}function d3(e,t,a){Nc(e)&&a.delete(t)}function yT(){e2=!1,h0!==null&&Nc(h0)&&(h0=null),v0!==null&&Nc(v0)&&(v0=null),p0!==null&&Nc(p0)&&(p0=null),Oo.forEach(d3),Lo.forEach(d3)}function tc(e,t){e.blockedOn===t&&(e.blockedOn=null,e2||(e2=!0,st.unstable_scheduleCallback(st.unstable_NormalPriority,yT)))}var ac=null;function m3(e){ac!==e&&(ac=e,st.unstable_scheduleCallback(st.unstable_NormalPriority,function(){ac===e&&(ac=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],l=e[t+2];if(typeof n!="function"){if(W2(n||a)===null)continue;break}var i=Ni(a);i!==null&&(e.splice(t,3),t-=3,yu(i,{pending:!0,data:l,method:a.method,action:n},n,l))}}))}function yi(e){function t(c){return tc(c,e)}h0!==null&&tc(h0,e),v0!==null&&tc(v0,e),p0!==null&&tc(p0,e),Oo.forEach(t),Lo.forEach(t);for(var a=0;a<e0.length;a++){var n=e0[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<e0.length&&(a=e0[0],a.blockedOn===null);)fg(a),a.blockedOn===null&&e0.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var l=a[n],i=a[n+1],o=l[$t]||null;if(typeof i=="function")o||m3(a);else if(o){var r=null;if(i&&i.hasAttribute("formAction")){if(l=i,o=i[$t]||null)r=o.formAction;else if(W2(l)!==null)continue}else r=o.action;typeof r=="function"?a[n+1]=r:(a.splice(n,3),n-=3),m3(a)}}}function hg(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(o){return l=o})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),n||setTimeout(a,20)}function a(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function ed(e){this._internalRoot=e}vs.prototype.render=ed.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));var a=t.current,n=ma();ug(a,n,e,t,null,null)};vs.prototype.unmount=ed.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ug(e.current,2,null,e,null,null),ms(),t[xi]=null}};function vs(e){this._internalRoot=e}vs.prototype.unstable_scheduleHydration=function(e){if(e){var t=A3();e={blockedOn:null,target:e,priority:t};for(var a=0;a<e0.length&&t!==0&&t<e0[a].priority;a++);e0.splice(a,0,e),a===0&&fg(e)}};var f3=h3.version;if(f3!=="19.3.1")throw Error(R(527,f3,"19.3.1"));Se.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=xk(t),e=e!==null?b3(e):null,e=e===null?null:e.stateNode,e};var xT={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:te,reconcilerVersion:"19.3.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(eo=__REACT_DEVTOOLS_GLOBAL_HOOK__,!eo.isDisabled&&eo.supportsFiber))try{Ho=eo.inject(xT),ua=eo}catch{}var eo;ps.createRoot=function(e,t){if(!v3(e))throw Error(R(299));var a=!1,n="",l=Fv,i=Iv,o=Jv;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=cg(e,1,!1,null,null,a,n,null,l,i,o,hg),e[xi]=t.current,K2(e),new ed(t)};ps.hydrateRoot=function(e,t,a){if(!v3(e))throw Error(R(299));var n=!1,l="",i=Fv,o=Iv,r=Jv,c=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(i=a.onUncaughtError),a.onCaughtError!==void 0&&(o=a.onCaughtError),a.onRecoverableError!==void 0&&(r=a.onRecoverableError),a.formState!==void 0&&(c=a.formState)),t=cg(e,1,!0,t,a??null,n,l,c,i,o,r,hg),t.context=sg(null),a=t.current,n=ma(),n=l2(n),l=s0(n),l.callback=null,u0(a,l,n),a=n,t.current.lanes=a,Bo(t,a),sn(t),e[xi]=t.current,K2(e),new vs(t)};ps.version="19.3.1"});var bg=Ga((nL,gg)=>{"use strict";function pg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pg)}catch(e){console.error(e)}}pg(),gg.exports=vg()});var l1={};Gg(l1,{ADMIN_STRINGS:()=>ut,AGENTS_STRINGS:()=>Ot,APPROVALS_STRINGS:()=>bl,APP_CHROME_STRINGS:()=>gl,Accordion:()=>Kh,AccountSwitcher:()=>kh,ActivityFeed:()=>Jf,AgentCard:()=>Yf,AgentDetails:()=>Xf,AgentMark:()=>Kt,AgentStatus:()=>ff,Alert:()=>yr,Ambient:()=>u4,AnnouncementBar:()=>h4,AppShell:()=>d4,ApprovalCard:()=>uh,ApprovalInbox:()=>dh,AreaChart:()=>Vm,AspectRatio:()=>Zh,AttachmentPreview:()=>Rh,AuthCard:()=>p4,Avatar:()=>qe,AvatarStack:()=>tm,BUILDING_BLOCKS_STRINGS:()=>yl,BackupList:()=>_f,Badge:()=>Oe,BalanceCard:()=>Rf,BarChart:()=>jm,BarList:()=>kf,BeforeAfter:()=>Dh,BlockList:()=>Of,Breadcrumb:()=>Nr,BudgetStop:()=>$f,Button:()=>Q,ButtonGroup:()=>Ph,CHARTS_STRINGS:()=>va,CHAT_STRINGS:()=>Vt,COMMERCE_STRINGS:()=>ea,CURRENCY:()=>sd,Calendar:()=>qs,Card:()=>km,Carousel:()=>e4,CartLine:()=>af,ChatLauncher:()=>m4,ChatList:()=>Kf,ChatMessage:()=>cf,ChatWorkspace:()=>Qf,Checkbox:()=>kr,CheckoutSteps:()=>lf,Chip:()=>q0,CodeBlock:()=>Gi,CodeViewer:()=>gf,Collapsible:()=>Cl,ColorField:()=>Gf,Combobox:()=>om,CommandPalette:()=>ph,Composer:()=>mf,ConfigPRSummary:()=>rh,ConfirmDialog:()=>pm,ConnectionBanner:()=>Oh,ConnectionCard:()=>_h,ContextMenu:()=>Fm,CookieConsent:()=>f4,CountUp:()=>vn,CouponCard:()=>jf,DATA_DISPLAY_STRINGS:()=>Xa,DATA_TABLE_STRINGS:()=>C0,DEFAULT_STRINGS:()=>Wo,DEVELOPER_STRINGS:()=>Ln,DailyBriefing:()=>Pf,DataTable:()=>Ki,DatePicker:()=>gr,DeployPipeline:()=>jh,DnsRecordTable:()=>Hh,Dock:()=>a1,DomainList:()=>Uh,Donut:()=>Um,Drawer:()=>Dr,EmailPreview:()=>Yh,EmptyState:()=>Ml,EnergyClass:()=>i4,EventCard:()=>wm,ExportDialog:()=>qf,FEEDBACK_STRINGS:()=>jn,FOCUSABLE:()=>sr,FORMS_STRINGS:()=>Ra,FORM_STRINGS:()=>xl,FeedbackRating:()=>If,FileCard:()=>yh,FileDrop:()=>um,FileRow:()=>Dm,FileThumb:()=>Ps,FilterBar:()=>mh,FloatingLayout:()=>s4,Flow:()=>bh,Form:()=>$d,FormField:()=>ft,Funnel:()=>Ym,Gallery:()=>Ah,Gauge:()=>Xm,Heatmap:()=>Gm,HoverCard:()=>Wh,ICON_NAMES:()=>fr,ICON_PATHS:()=>U0,Icon:()=>z,IconButton:()=>W,ImageVariants:()=>Eh,InboxList:()=>wh,InlineEdit:()=>Tr,Input:()=>Km,InvoicePreview:()=>Sh,KanbanColumn:()=>_m,Kbd:()=>wr,KeyValue:()=>Za,LOCALE:()=>k0,Label:()=>Fh,LedgerTable:()=>qh,Legend:()=>Mr,LineChart:()=>Hm,ListRow:()=>Em,ListingCard:()=>t4,LiveFeed:()=>Cf,LocaleField:()=>Hf,LocaleSwitcher:()=>Uf,LogView:()=>pf,MAIL_STRINGS:()=>T0,MEDIA_STRINGS:()=>R0,MailAuthStatus:()=>Bh,MailThread:()=>Ch,MapView:()=>Tf,MemoryViewer:()=>Wf,Menu:()=>At,Menubar:()=>ym,Meter:()=>Kn,MobileTabBar:()=>ih,Modal:()=>fm,ModelPicker:()=>Is,ModuleRegistry:()=>ch,MoneyInput:()=>yf,NAV:()=>n1,NAVIGATION_STRINGS:()=>Hn,NavigationMenu:()=>xm,NotificationList:()=>gh,NumberInput:()=>cm,OPERATIONS_STRINGS:()=>ta,OrderSummary:()=>nf,OrderTimeline:()=>of,OrgChart:()=>nh,OtpInput:()=>br,OverrideDiff:()=>eh,PREVIEWS_STRINGS:()=>Nl,PRIMITIVES_STRINGS:()=>Ei,PageHeader:()=>Tm,Pagination:()=>bm,Panel:()=>Cm,PermissionMatrix:()=>Nh,PlanCard:()=>rf,PnLStatement:()=>Vh,Popover:()=>Ue,Portal:()=>Ea,Price:()=>Zs,ProductArt:()=>Tl,ProductCard:()=>ef,Progress:()=>zr,ProgressRing:()=>Om,PromptStarters:()=>df,PushNotification:()=>oh,REAL_ESTATE_STRINGS:()=>dn,RICH_TEXT_EDITOR_STRINGS:()=>Ai,RadioGroup:()=>lm,RangeSlider:()=>Mf,Rating:()=>qi,Reasoning:()=>uf,ReceiptSuggestion:()=>Gh,ResizablePanels:()=>Pm,ResultsToolbar:()=>a4,ReviewCard:()=>Lf,RichText:()=>Fs,RichTextEditor:()=>r4,RunHistory:()=>Af,RunTrace:()=>hf,SELECT_MENU_STRINGS:()=>Di,SHARED_STRINGS:()=>Ri,SHELL_STRINGS:()=>E0,SITE_STRINGS:()=>A0,SavedSearch:()=>n4,ScheduleCalendar:()=>ah,ScrollArea:()=>$h,SearchAdPreview:()=>Xh,SearchField:()=>Da,SearchHits:()=>Zf,SecretField:()=>bf,Segmented:()=>Qa,Select:()=>Qm,SelectMenu:()=>fh,Separator:()=>Qh,ServerCard:()=>Lh,ServiceMonitor:()=>Ef,SettingsLayout:()=>xf,ShortcutsOverlay:()=>Nf,SideRail:()=>t1,Sidebar:()=>Nm,SignatureEditor:()=>Th,Skeleton:()=>mm,Slider:()=>sm,Sparkline:()=>wl,Spinner:()=>Cr,SplitPane:()=>Im,StackedBarChart:()=>qm,Stagger:()=>Vs,StatCell:()=>zf,StatTile:()=>Mm,StatusIndicator:()=>Be,StatusScreen:()=>v4,StatusSelect:()=>Ar,StatusShape:()=>Ee,StockBadge:()=>Wm,SubNav:()=>vh,Switch:()=>Xn,THEME_PRESETS:()=>Ld,THEME_VARS:()=>As,Table:()=>Rm,Tabs:()=>xr,TagInput:()=>rm,TextField:()=>pr,Textarea:()=>Zm,ThinkingLine:()=>Ff,TilePicker:()=>wf,Timeline:()=>Am,TintIcon:()=>re,Toast:()=>hm,Toaster:()=>gm,Toggle:()=>Ih,ToggleGroup:()=>Jh,ToolCall:()=>sf,Tooltip:()=>et,TopBar:()=>e1,TransactionRow:()=>Mh,TreeView:()=>Jm,TriggerList:()=>th,TwoFactorSetup:()=>Vf,TypingDots:()=>Yi,UIProvider:()=>Hd,UptimeBar:()=>Er,UsageMeter:()=>vf,ValuationCard:()=>l4,VariantPicker:()=>tf,VoiceMode:()=>lh,WEEK_START:()=>Ci,WORKSPACE_STRINGS:()=>Gt,WebhookEndpoint:()=>Df,Wizard:()=>xh,WorkspaceSwitcher:()=>Bf,brandTheme:()=>Bn,cx:()=>b,durationToken:()=>fl,foregroundFor:()=>lr,formatDate:()=>Ya,formatLike:()=>Po,formatMoney:()=>w0,formatNumber:()=>Ta,formatPercent:()=>Ti,formattersFor:()=>ar,getServerToasts:()=>mr,getToasts:()=>dr,iconData:()=>hr,initials:()=>Io,leaving:()=>dt,mergeMessages:()=>_i,mergeStrings:()=>er,money:()=>Rr,numberSeparators:()=>zs,parseFormatted:()=>Jo,parseThemeCss:()=>Od,reduced:()=>Ca,registerIcons:()=>Hi,startViewTransition:()=>Xd,subscribeToasts:()=>ur,themeCss:()=>_d,themeStyle:()=>Oi,toast:()=>Nt,useControlled:()=>P,useFieldError:()=>hn,useFormat:()=>J,useId:()=>Ne,useKeepInView:()=>j0,useMotion:()=>Kd,useMounted:()=>Gn,useOutside:()=>Aa,usePresence:()=>xt,useScrollFocus:()=>fn,useStrings:()=>w,useTrap:()=>O0,useUI:()=>mn,useUIStrings:()=>Es,useWidth:()=>L0});function b(...e){return e.filter(t=>typeof t=="string"&&t!=="").join(" ")}function Ca(e){try{return typeof window>"u"?!1:window.matchMedia?.("(prefers-reduced-motion: reduce)").matches?!0:(e??document.documentElement).closest("[data-motion]")?.getAttribute("data-motion")==="off"}catch{return!1}}function rd(e){try{let t=e?.closest(".tf-stagger > *, .tf-in");if(!t)return 0;let a=getComputedStyle(t).animationDelay.split(",")[0]?.trim()??"",n=parseFloat(a);return isNaN(n)?0:a.endsWith("ms")?n:n*1e3}catch{return 0}}function Io(e){return(e||"?").split(/\s+/).filter(t=>/^[A-Za-z0-9À-ɏ]/.test(t)).map(t=>t[0]).slice(0,2).join("").toUpperCase()||"?"}function fl(e,t,a){try{if(typeof window>"u")return t;let n=getComputedStyle(a||document.documentElement).getPropertyValue(e).trim();if(!n)return t;let l=parseFloat(n);return isNaN(l)?t:n.endsWith("ms")?l:n.endsWith("s")?l*1e3:l}catch{return t}}var k0="en-US",sd="EUR",Ci=1;function Ta(e,t,a){try{return new Intl.NumberFormat(a||k0,t).format(e)}catch{return String(e)}}function w0(e,t,a,n){return Ta(e,{style:"currency",currency:t||"EUR",minimumFractionDigits:e%1?2:0,maximumFractionDigits:2,...a},n)}function Ti(e,t,a){return Ta(e/100,{style:"percent",maximumFractionDigits:0,...t},a)}function Ya(e,t,a){let n=e instanceof Date?e:new Date(e);try{return new Intl.DateTimeFormat(a||k0,t||{day:"2-digit",month:"2-digit",year:"numeric"}).format(n)}catch{return n.toDateString()}}function zs(e){let t=",",a=".";try{for(let n of new Intl.NumberFormat(e||k0).formatToParts(12345.6))n.type==="group"?t=n.value:n.type==="decimal"&&(a=n.value)}catch{}return{group:t,decimal:a}}var cd=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Jo(e,t){if(typeof e=="number"){if(!Number.isFinite(e))return null;let u=String(e);return/e/i.test(u)?null:{prefix:"",value:e,decimals:(u.split(".")[1]||"").length,grouped:!1,suffix:""}}let{group:a,decimal:n}=zs(t),l=/^\s$/.test(a)?"[\\s\\u00a0\\u202f]":cd(a),o=new RegExp(`^([^0-9-]*)(-?[0-9](?:[0-9]|${l}(?=[0-9]))*)(?:${cd(n)}([0-9]+))?(.*)$`,"s").exec(e);if(!o)return null;let r=o[2].replace(new RegExp(l,"g"),""),c=o[3]??"";return{prefix:o[1]??"",value:parseFloat(c?`${r}.${c}`:r),decimals:c.length,grouped:r.length!==o[2].length,suffix:o[4]??""}}function Po(e,t,a){let n=Ta(e,{minimumFractionDigits:t.decimals,maximumFractionDigits:t.decimals,useGrouping:t.grouped},a);return t.prefix+n+t.suffix}var pl=G(ce(),1),Ri={close:"Close",cancel:"Cancel",send:"Send",copy:"Copy",copied:"Copied",dismiss:"Dismiss",remove:"Remove",removeItem:e=>`Remove ${e}`,search:"Search",edit:"Edit",apply:"Apply",undo:"Undo",thinking:"Thinking\u2026",paused:"Paused",status:"Status",preview:"Preview",results:"Results",selectPlaceholder:"Select\u2026",model:"Model",back:"Back",columns:"Columns",selectedCount:(e,t)=>`${t??e} selected`,mainNavigation:"Main",lastDays:e=>`Last ${e} days`,unread:"Unread",agent:"Agent",viewMap:"Map",enabled:"Enabled",more:"More",text:"Text",hide:"Hide",colName:"Name",net:"Net",total:"Total",role:"Role",all:"All",next:"Next"},ut={minimum:"Minimum",maximum:"Maximum",min:"Min",max:"Max",live:"Live",newCount:e=>`${e} new`,resume:"Resume",pause:"Pause",waitingForEvents:"Waiting for events\u2026",balanceEmpty:"Empty",balanceLow:"Low",balanceOk:"OK",perDay:e=>`${e} per day`,lastsAbout:e=>`lasts about ${e} days`,warnsBelow:e=>`Warns below ${e}`,topUp:"Top up",recentDeliveries:"Recent deliveries",retry:"Retry",download:"Download",restore:"Restore",searchBlocked:"Search blocked entries",block:"Block",nothingBlocked:"Nothing blocked.",until:e=>`until ${e}`,permanent:"permanent",unblock:"Unblock",reviewState:{pending:"Waiting",published:"Published",hidden:"Hidden",flagged:"Flagged"},verifiedPurchase:"Verified purchase",yourReply:"Your reply",writeReply:"Write a public reply",reply:"Reply",postReply:"Post reply",publish:"Publish",editReply:"Edit reply",usedOf:(e,t)=>`${e} of ${t} used`,used:e=>`${e} used`,validUntil:e=>`Valid until ${e}`,fromAmount:e=>`from ${e}`,revenue:e=>`${e} revenue`,languages:"Languages",missing:"Missing",doneOf:(e,t)=>`${e} of ${t}`,copyFrom:e=>`Copy from ${e}`,translate:"Translate",languageAndCurrency:"Language and currency",language:"Language",currency:"Currency",export:"Export",rowsMatch:e=>`${e} rows match your filters.`,format:"Format",period:"Period",allTime:"All time",exportProgress:"Export progress",preparingFile:"Preparing the file\u2026",fileReady:"Your file is ready.",newExport:"New export",twoFactorSteps:["Scan","Confirm","Save codes"],qrCode:"QR code",scanText:"Scan the code with your authenticator app. If you can't scan it, enter the key by hand.",enterCode:"Enter the 6-digit code from the app.",codeFailed:"That code didn't work. Try the current one.",codesText:"Each code works once if you lose your phone. Keep them somewhere safe.",savedCodes:"I saved the recovery codes",turnOnTwoFactor:"Turn on two-factor",pickColour:"Pick a colour",contrastAgainst:e=>`Contrast against ${e}`,contrastAA:"AA",contrastAALarge:"AA large",contrastFails:"Fails"},Ot={chatWith:e=>`Chat with ${e}`,costToday:"Cost today",lastAction:"Last action",searchChats:"Search chats",noChatsMatch:"No chats match",nothingFound:"Nothing found",thanksNoted:"Thanks, noted",good:"Good",notGood:"Not good",whatShouldBeDifferent:"What should be different?",needsYou:"Needs you",suggestions:"Suggestions",budgetUsedUp:"Budget used up \xB7 agents paused",raiseBudget:"Raise budget",budgetText:"Everything is kept. Agents continue where they stopped once the budget allows it.",spentThisMonth:"Spent this month",stillRunning:"Still running",nothing:"Nothing",searchMemory:"Search memory",nothingRemembered:"Nothing remembered here yet.",forget:"Forget",discardOverride:"Discard override",moveToCode:"Move to code",runNow:"Run now",listening:"Listening\u2026",speaking:"Speaking\u2026",unmute:"Unmute",mute:"Mute",endConversation:"End conversation"},gl={coreModule:"Core module, always on"},bl={approveAsShown:"Yes, run it as shown",approveWithChange:"Yes, with a change",whatShouldChange:"What should change?",discard:"No, discard",differentInstruction:"Different instruction",whatInstead:"What should happen instead?",approvalNeeded:"Approval needed",riskFamily:{money:"Money",infra:"Infrastructure",comms:"Communication",marketing:"Marketing",apps:"Own apps",legal:"Legal"},approvals:"Approvals",nothingWaiting:"Nothing waiting for you"},yl={loading:"Loading",resizePanel:(e,t)=>`Resize ${e??`panel ${t}`}`},va={barChart:"Bar chart",lineChart:"Line chart",trend:"Trend",breakdown:"Breakdown",stackedBarChart:"Stacked bar chart",areaChart:"Area chart",heatmap:"Heatmap",less:"Less",gaugeValue:(e,t,a)=>`${e}: ${t} of ${a}`,gauge:"Gauge"},Vt={copyCode:"Copy code",working:"Working",you:"You",copyReply:"Copy reply",regenerate:"Regenerate",regenerateReply:"Regenerate reply",goodReply:"Good reply",badReply:"Bad reply",toolInput:"Input",toolError:"Error",toolResult:"Result",thoughtFor:e=>`Thought for ${e||"a few seconds"}`,commands:"Commands",messagePlaceholder:"Message\u2026",message:"Message",attachFiles:"Attach files",composerHint:"Enter to send \xB7 Shift+Enter for a new line",stop:"Stop",agentStatus:{Running:"Running",Thinking:"Thinking","Waiting for approval":"Waiting for approval",Idle:"Idle",Paused:"Paused",Error:"Error"},step:"Step",timeline:e=>`Timeline \xB7 ${e}`,stepRunning:"running\u2026",context:"Context"},ea={ratingLabel:(e,t)=>`${e} out of 5`+(t!=null?`, ${t} reviews`:""),outOfStock:"Out of stock",lowStock:e=>`Low stock \xB7 ${e} left`,inStock:"In stock",inStockCount:e=>`In stock \xB7 ${e}`,soldOut:"Sold out",addToCart:e=>`Add ${e} to cart`,variantSoldOut:e=>`${e} (sold out)`,oneLess:"One less",oneMore:"One more",orderSummary:"Order summary",freeShippingIn:e=>(0,pl.createElement)(pl.Fragment,null,"Add ",e," for free shipping"),invalidCode:"That code isn\u2019t valid",discountCode:"Discount code",subtotal:"Subtotal",discount:"Discount",shipping:"Shipping",free:"Free",inclVat:e=>`incl. ${e} VAT`,checkoutSteps:["Cart","Details","Shipping","Payment"],checkoutProgress:"Checkout progress",orderStatus:{Placed:"Placed",Paid:"Paid",Packed:"Packed",Shipped:"Shipped",Delivered:"Delivered",Refunded:"Refunded",Cancelled:"Cancelled"},mostPopular:"Most popular",letsTalk:"Let\u2019s talk",perSeatMonth:"per seat / month",currentPlan:"Current plan",choosePlan:e=>`Choose ${e}`},Xa={open:"Open",downloadItem:e=>`Download ${e}`,columnOptions:"Column options",addCard:"Add card",progress:"Progress"},C0={removeFilter:e=>`Remove filter ${e}`,addFilter:"Filter",clearAll:"Clear all",chooseColumns:"Choose columns",selectAllRows:"Select all rows",expand:"Expand",nothingMatchesFilters:"Nothing matches these filters.",selectRow:"Select row",collapseRow:"Collapse row",expandRow:"Expand row",bulkActions:"Bulk actions",clear:"Clear"},Ln={reveal:"Reveal",rotate:"Rotate",vatRate:"VAT rate",gross:e=>`Gross ${e}`,keyboardShortcuts:"Keyboard shortcuts",daysAgo:e=>`${e} days ago`},jn={typeToConfirm:e=>(0,pl.createElement)(pl.Fragment,null,"Type ",e," to confirm"),confirm:"Confirm"},xl={fieldRequired:"This field is required",invalidEmail:"Enter a valid email address",minLength:e=>`Use at least ${e} characters`,maxLength:e=>`Use at most ${e} characters`,minValue:e=>`Use ${e} or more`,maxValue:e=>`Use ${e} or less`,invalidFormat:"Use the expected format"},Ra={noMatches:"No matches",createOption:e=>`Create \u201C${e}\u201D`,tagPlaceholder:"Type and press Enter",previousMonth:"Previous month",nextMonth:"Next month",thisYear:"This year",pickRange:"Pick a range",pickDate:"Pick a date",decrease:"Decrease",increase:"Increase",verificationCode:"Verification code",digitN:e=>`Digit ${e}`,dropToUpload:"Drop to upload",dropFiles:"Drop files here or browse",dropHint:"PDF, PNG or JPG up to 10 MB",uploaded:e=>`${e} \xB7 uploaded`,cancelUpload:"Cancel upload"},T0={allInboxes:"All inboxes",addressCount:e=>`${e} addresses`,findAddress:"Find an address",company:"Company",phone:"Phone",website:"Website"},R0={variants:"Variants",previousImage:"Previous image",nextImage:"Next image",fullScreen:"Full screen",images:"Images",imageN:e=>`Image ${e}`,before:"Before",after:"After",compareBeforeAfter:"Compare before and after"},Hn={breadcrumb:"Breadcrumb",pagination:"Pagination",previousPage:"Previous page",nextPage:"Next page",sidebar:"Sidebar",expandSidebar:"Expand sidebar",collapseSidebar:"Collapse sidebar"},ta={offline:"Offline. Changes are kept and sent when you\u2019re back.",connectionLost:e=>`Connection lost. Retrying in ${e??"\u2026"} s`,retryNow:"Retry now",unknown:"Unknown",deployPipeline:"Deploy pipeline",colType:"Type",colContent:"Content",colProxy:"Proxy",proxied:"Proxied",dnsOnly:"DNS only",actions:"Actions",expires:"Expires",daysCount:e=>`${e} days`,domain:"Domain",colDate:"Date",colRef:"Ref.",colDescription:"Description",suggestedBy:e=>`Suggested by ${e}`,colCategory:"Category",colProject:"Project",vat:"VAT",grossLabel:"Gross",notAReceipt:"Not a receipt",bookIt:"Book it"},Nl={noSubject:"(No subject)",device:"Device",desktop:"Desktop",mobile:"Mobile",emailPreview:"Email preview",adTooLong:(e,t,a,n)=>`${e==="headlines"?"Headline":e==="descriptions"?"Description":"Path"} ${t} is ${a} characters, the limit is ${n}`,sponsored:"Sponsored",yourHeadline:"Your headline",yourDescription:"Your description"},Ei={slide:"slide",slideOf:(e,t)=>`${e} of ${t}`,previousSlide:"Previous slide",goToSlide:e=>`Go to slide ${e}`,nextSlide:"Next slide"},dn={rooms:e=>`${e} rooms`,priceOnRequest:"Price on request",perMonth:"/ month",isNew:"New",select:"Select",removeFromSaved:"Remove from saved",save:"Save",privateSeller:"Private seller",phoneAvailable:"Phone number available",deselectAll:"Deselect all",selectAll:"Select all",foundCount:(e,t)=>`${t} found`,workingEllipsis:"Working\u2026",sort:"Sort",view:"View",viewGrid:"Grid",viewList:"List",checkedAt:e=>`Checked ${e}`,showResults:"Show results",highConfidence:"High confidence",mediumConfidence:"Medium confidence",lowConfidence:"Low confidence",estimatedValue:"Estimated value",range:(e,t)=>`Range ${e} to ${t}`,askingPrice:"Asking price",energyClass:e=>`Energy class ${e}`},Ai={bold:"Bold",italic:"Italic",underline:"Underline",heading:"Heading",quote:"Quote",bulletedList:"Bulleted list",numberedList:"Numbered list",link:"Link",redo:"Redo",formatting:"Formatting",linkAddress:"Link address",removeLink:"Remove link",insertField:"Insert field"},Di={options:"Options"},E0={tools:"Tools",quickActions:"Quick actions"},A0={assistant:"Assistant",closeAssistant:"Close assistant",openAssistant:"Open assistant",privacySettings:"Privacy settings",cookieText:"We use cookies to run this site and, with your consent, to measure and improve it.",alwaysOn:"Always on",saveChoice:"Save choice",settings:"Settings",onlyNecessary:"Only necessary",acceptAll:"Accept all"},Gt={sectionPages:e=>`${e||"Section"} pages`,commandPalette:"Command palette",paletteSearchPlaceholder:"Search pages, actions and records\u2026",escKey:"Esc",searching:"Searching\u2026",nothingMatches:e=>`Nothing matches \u201C${e}\u201D.`,paletteMove:"move",paletteOpen:"open",paletteAnywhere:"anywhere",notifications:"Notifications",markAllRead:"Mark all read",allCaughtUp:"You are all caught up",flowStep:{trigger:"When",condition:"If",agent:"Agent",approval:"Approval",action:"Then"},flowRunning:"running",waitingForYou:"waiting for you",approve:"Approve",reject:"Reject",shared:"Shared",setup:"Setup",stepOf:(e,t)=>`Step ${e} of ${t}`,permissionLevels:["None","View","Edit","Full"],memberCount:e=>e===1?"1 member":`${e} members`,invoice:"Invoice",billTo:"Bill to",issued:"Issued",due:"Due",untitledLine:"Untitled line",vatAt:e=>`VAT ${e}`,totalDue:"Total due",matchedTo:e=>`matched to ${e}`,matched:"Matched",match:"Match",noSuggestion:"No suggestion yet.",accept:"Accept"},Wo=Object.assign({},Ri,ut,Ot,gl,bl,yl,va,Vt,ea,Xa,C0,Ln,jn,xl,Ra,T0,R0,Hn,ta,Nl,Ei,dn,Ai,Di,E0,A0,Gt),Md=e=>!!e&&typeof e=="object"&&!Array.isArray(e);function er(e,t){return _i(e,t)}function _i(e,t){let a={...e};for(let[n,l]of Object.entries(t)){if(l==null)continue;let i=a[n];a[n]=Md(i)&&Md(l)?{...i,...l}:l}return a}var zl=G(ye(),1),aa=G(ce(),1);var D0=G(ce(),1);var _0=(0,D0.createContext)({kit:void 0,theme:void 0,density:void 0,surface:void 0,motion:void 0,locale:k0,messages:{},portalRoot:null});function mn(){return(0,D0.useContext)(_0)}var Td=new WeakMap;function Ad(e,t){let a=Td.get(e);a||Td.set(e,a=new WeakMap);let n=a.get(t);return n||(n=er(t,e),a.set(t,n)),n}var s6={};function w(e){let t=(0,D0.useContext)(_0).messages,a=e??s6,n=Rd.get(a);return n||Rd.set(a,n={...Ri,...a}),Ad(t,n)}var Rd=new WeakMap;function Es(){return Ad((0,D0.useContext)(_0).messages,Wo)}var Ed=new Map;function ar(e){let t=Ed.get(e);return t||(t={locale:e,formatNumber:(a,n)=>Ta(a,n,e),formatMoney:(a,n,l)=>w0(a,n,l,e),formatPercent:(a,n)=>Ti(a,n,e),formatDate:(a,n)=>Ya(a,n,e)},Ed.set(e,t)),t}function J(){return ar((0,D0.useContext)(_0).locale)}var As=["background","foreground","card","card-foreground","popover","popover-foreground","primary","primary-foreground","secondary","secondary-foreground","muted","muted-foreground","accent","accent-foreground","destructive","destructive-foreground","border","input","ring","chart-1","chart-2","chart-3","chart-4","chart-5","sidebar","sidebar-foreground","sidebar-primary","sidebar-primary-foreground","sidebar-accent","sidebar-accent-foreground","sidebar-border","sidebar-ring"],u6={halo:"system",pro:"dark"},Ds=e=>As.includes(e),d6=["sky","mint","butter","lilac","blush"];function Dd(e,t,a){let n={...e??{}};return t!=="halo"||d6.forEach((l,i)=>{n[`chart-${i+1}`]&&(n[`chart-${l}`]=a==="light"?`color-mix(in oklab, var(--chart-${i+1}) 22%, var(--card))`:`var(--chart-${i+1})`)}),n}function nr(e,t){return Object.entries(e??{}).filter(([a,n])=>(Ds(a)||/^chart-[a-z]+$/.test(a))&&typeof n=="string"&&n.trim()).map(([a,n])=>`${t}--${a}: ${n.trim()};`).join(`
|
|
10
|
+
`)}function Un(e,t,a=""){return t?`${a}${e.join(`,
|
|
11
|
+
`+a)} {
|
|
12
12
|
${t}
|
|
13
|
-
${
|
|
14
|
-
`:""}function
|
|
15
|
-
${
|
|
16
|
-
`),
|
|
17
|
-
${
|
|
18
|
-
`),
|
|
19
|
-
${
|
|
20
|
-
`),d+=Ua(i('[data-theme="light"]'),r),d+=Ua([...i(".light")],r),d+=Ua([...i('[data-theme="dark"]'),...i(".dark")],u),d}function Os(e,t){let n={};for(let[a,l]of Object.entries(e??{}))zu(a)&&l&&(n[`--${a}`]=l);return t&&(n["--radius"]=t),n}function Dh(e){let t={},a=[...e.replace(/\/\*[\s\S]*?\*\//g,"").matchAll(/([^{}]+)\{([^{}]*)\}/g)];for(let[,l="",i=""]of a){let s=l.trim(),c=/\.dark\b|\[data-theme=["']?dark/.test(s)?"dark":/:root|\[data-theme=["']?light|html|:host/.test(s)?"light":null;if(c)for(let r of i.matchAll(/--([\w-]+)\s*:\s*([^;]+);?/g)){let u=r[1],o=r[2].trim();if(u==="radius"){t.radius=o;continue}zu(u)&&(/^-?[\d.]+\s+[\d.]+%\s+[\d.]+%(\s*\/\s*[\d.]+%?)?$/.test(o)&&(o=`hsl(${o})`),(t[c]??={})[u]=o)}}return t}function nr(e){let t=/^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(e.trim());if(!t)return;let n=t[1].length===3?[...t[1]].map(c=>c+c).join(""):t[1],a=[0,2,4].map(c=>parseInt(n.slice(c,c+2),16)/255).map(c=>c<=.04045?c/12.92:((c+.055)/1.055)**2.4),l=.2126*a[0]+.7152*a[1]+.0722*a[2],i=1.05/(l+.05);return(l+.05)/.05>=i?"#111114":"#ffffff"}function Ba(e,t){let n=nr(e),a=t??e,l=nr(a),i=(s,c)=>({primary:s,...c?{"primary-foreground":c,"sidebar-primary-foreground":c}:{},ring:s,"sidebar-primary":s,"sidebar-ring":s});return{light:i(e,n),dark:i(a,l)}}var Oh={blue:{label:"Blue",theme:Ba("#2563eb","#60a5fa")},violet:{label:"Violet",theme:Ba("#7c3aed","#a78bfa")},emerald:{label:"Emerald",theme:Ba("#047857","#34d399")},orange:{label:"Orange",theme:Ba("#c2410c","#fb923c")},rose:{label:"Rose",theme:Ba("#e11d48","#fb7185")},teal:{label:"Teal",theme:Ba("#0f766e","#2dd4bf")}};function cx(e,t,n){let[a,l]=(0,nn.useState)(!1);return(0,nn.useEffect)(()=>{if(!n||typeof window>"u"||!window.matchMedia)return;let i=window.matchMedia("(prefers-color-scheme: dark)"),s=()=>l(i.matches);return s(),i.addEventListener("change",s),()=>i.removeEventListener("change",s)},[n]),e==="dark"?!0:e==="light"?!1:e===void 0&&t==="pro"?!0:a}var jh=e=>"light"in e||"dark"in e||"radius"in e;function Lh(e){let t=da(),n=e.scope??"document",a=e.kit??t.kit,l=e.theme??t.theme,i=e.density??t.density,s=e.surface??t.surface,c=e.motion??t.motion,r=e.locale||t.locale,u=(0,nn.useMemo)(()=>e.messages?Ds(t.messages,e.messages):t.messages,[t.messages,e.messages]),o=!!e.tokens&&jh(e.tokens),f=cx(l,a,o),d=(0,nn.useMemo)(()=>{if(e.tokens)return jh(e.tokens)?Os(f?e.tokens.dark:e.tokens.light,e.tokens.radius):Os(e.tokens)},[e.tokens,f]);(0,nn.useEffect)(()=>{if(n!=="document"||!d)return;let b=document.documentElement;for(let[y,z]of Object.entries(d))b.style.setProperty(y,z);return()=>{for(let y of Object.keys(d))b.style.removeProperty(y)}},[n,d]);let m=(0,nn.useRef)(new Set);(0,nn.useEffect)(()=>{if(n!=="document")return;let b=document.documentElement,y=(z,q)=>{q?(b.setAttribute(z,q),m.current.add(z)):m.current.has(z)&&(b.removeAttribute(z),m.current.delete(z))};y("data-kit",e.kit),y("data-theme",e.theme),y("data-density",e.density),y("data-surface",e.surface),y("data-motion",e.motion)},[n,e.kit,e.theme,e.density,e.surface,e.motion]);let[N,S]=(0,nn.useState)(null),k=(0,nn.useMemo)(()=>({kit:a,theme:l,density:i,surface:s,motion:c,locale:r,messages:u,portalRoot:N}),[a,l,i,s,c,r,u,N]),g=e.theme??(d?l??(a==="pro"?"dark":"system"):void 0),v=e.children;return n==="subtree"?(0,Si.jsx)(Dl.Provider,{value:k,children:(0,Si.jsxs)("div",{className:e.className,style:d?{...d,...e.style}:e.style,"data-kit":e.kit,"data-theme":g,"data-density":e.density,"data-surface":e.surface,"data-motion":e.motion,children:[v,(0,Si.jsx)("div",{ref:S,"data-tf-portal":""})]})}):(0,Si.jsx)(Dl.Provider,{value:k,children:v})}var ir=G(re(),1),Gh=G(lr(),1);function An({children:e}){let{portalRoot:t}=da(),[n,a]=(0,ir.useState)(!1);return(0,ir.useEffect)(()=>a(!0),[]),!n||typeof document>"u"?null:(0,Gh.createPortal)(e,t??document.body)}var sr=G(re(),1);async function Yh(e){let t=typeof document>"u"?void 0:document,n=t?.startViewTransition;if(!t||!n||Rn()){await e();return}try{await n.call(t,e).finished}catch{}}function Qh(){let{motion:e}=da(),[t,n]=(0,sr.useState)(!1);return(0,sr.useEffect)(()=>{if(typeof window>"u"||!window.matchMedia)return;let a=window.matchMedia("(prefers-reduced-motion: reduce)"),l=()=>n(a.matches);return l(),a.addEventListener("change",l),()=>a.removeEventListener("change",l)},[]),t?"off":e??"standard"}var qa=G(re(),1);function Nt(e){let[t,n]=(0,qa.useState)(e),[a,l]=(0,qa.useState)(!1),i=(0,qa.useRef)(null);return(0,qa.useEffect)(()=>{if(i.current&&(clearTimeout(i.current),i.current=null),e){n(!0),l(!1);return}if(!t)return;let s=Rn()?0:di("--dur-exit",0);if(s<=0){n(!1),l(!1);return}l(!0),i.current=setTimeout(()=>{i.current=null,n(!1),l(!1)},s)},[e]),(0,qa.useEffect)(()=>()=>{i.current&&clearTimeout(i.current)},[]),{mounted:t||e,closing:a&&!e}}function ft(e){return e?{"data-closing":"",inert:!0}:{}}var Xh=G(re(),1),dt=G(re(),1),Kh=typeof window<"u"?dt.useLayoutEffect:dt.useEffect;function $(e,t,n){let[a,l]=(0,dt.useState)(t),i=e!==void 0,s=i?e:a,c=(0,dt.useCallback)(r=>{i||l(r),n?.(r)},[i,n]);return[s,c]}function Ga(e=30){let[t,n]=(0,dt.useState)(!1);return(0,dt.useEffect)(()=>{let a=setTimeout(()=>n(!0),e);return()=>clearTimeout(a)},[e]),t}function _n(e,t,n){let a=(0,dt.useRef)(n);a.current=n,(0,dt.useEffect)(()=>{if(!t)return;let l=s=>{e.current&&!e.current.contains(s.target)&&a.current()},i=s=>{s.key==="Escape"&&a.current()};return document.addEventListener("pointerdown",l),document.addEventListener("keydown",i),()=>{document.removeEventListener("pointerdown",l),document.removeEventListener("keydown",i)}},[t,e])}var cr='button:not([disabled]), [href], input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function Ol(e,t){let n=(0,dt.useRef)(t);n.current=t,(0,dt.useEffect)(()=>{let a=e.current,l=document.activeElement;if(!a)return;a.contains(document.activeElement)||(a.querySelector('[autofocus], input:not([type="checkbox"]), textarea')||a.querySelector(cr))?.focus();let i=s=>{if(s.key==="Escape"&&n.current){n.current();return}if(s.key!=="Tab")return;let c=Array.from(a.querySelectorAll(cr)).filter(o=>o.offsetParent!==null||o===document.activeElement);if(!c.length)return;let r=c[0],u=c[c.length-1];s.shiftKey&&document.activeElement===r?(s.preventDefault(),u.focus()):!s.shiftKey&&document.activeElement===u&&(s.preventDefault(),r.focus())};return a.addEventListener("keydown",i),()=>{a.removeEventListener("keydown",i),l&&typeof l.focus=="function"&&document.contains(l)&&l.focus()}},[e])}function jl(e,t){let n=(0,dt.useRef)(null),[a,l]=(0,dt.useState)(e||0);return Kh(()=>{if(e||!n.current)return;let i=n.current,s=()=>{let c=Math.floor(i.getBoundingClientRect().width);c>40?l(r=>Math.abs(r-c)>1?c:r):l(r=>r||t)};if(s(),typeof ResizeObserver<"u"){let c=new ResizeObserver(s);return c.observe(i),()=>c.disconnect()}},[e,t]),[n,e||a||t]}function Se(e="tf"){return`${e}-${Xh.useId().replace(/[^\w-]/g,"")}`}function Ll(e,t){Kh(()=>{let n=e.current;if(!t||!n)return;n.style.translate="",n.style.maxWidth="";let a=8,l=window.innerWidth-8;for(let c=n.parentElement;c;c=c.parentElement){let r=getComputedStyle(c);if(r.overflowX!=="visible"){let u=c.getBoundingClientRect();a=Math.max(a,u.left+c.clientLeft+parseFloat(r.paddingLeft)),l=Math.min(l,u.left+c.clientLeft+c.clientWidth-parseFloat(r.paddingRight));break}}if(l-a<40)return;let i=n.getBoundingClientRect();i.width>l-a&&(n.style.maxWidth=l-a+"px",i=n.getBoundingClientRect());let s=0;i.right>l&&(s=l-i.right),i.left+s<a&&(s=a-i.left),s&&(n.style.translate=`${Math.round(s)}px 0`)},[t])}function ma(e){(0,dt.useEffect)(()=>{let t=e.current;if(!t||typeof ResizeObserver>"u")return;let n=()=>{t.scrollWidth>t.clientWidth+1?t.tabIndex=0:t.removeAttribute("tabindex")};n();let a=new ResizeObserver(n);return a.observe(t),t.firstElementChild&&a.observe(t.firstElementChild),()=>a.disconnect()},[e])}function Hl(e,t,n,a="vertical",l=!0){if(!t)return!1;let i=Array.from(t.querySelectorAll(n)).filter(o=>!o.hasAttribute("disabled")&&o.getAttribute("aria-disabled")!=="true");if(!i.length)return!1;let s=i.indexOf(document.activeElement),c=["ArrowDown","ArrowRight"].filter(o=>a==="both"||a==="vertical"==(o==="ArrowDown")),r=["ArrowUp","ArrowLeft"].filter(o=>a==="both"||a==="vertical"==(o==="ArrowUp")),u;if(c.includes(e.key))u=s<0?0:s+1>=i.length?l?0:s:s+1;else if(r.includes(e.key))u=s<0?i.length-1:s-1<0?l?i.length-1:0:s-1;else if(e.key==="Home")u=0;else if(e.key==="End")u=i.length-1;else if(e.key.length===1&&/\S/.test(e.key)){let o=e.key.toLowerCase(),d=i.slice(s+1).concat(i.slice(0,s+1)).find(m=>(m.textContent||"").trim().toLowerCase().startsWith(o));if(!d)return!1;u=i.indexOf(d)}else return!1;return e.preventDefault(),i[u]?.focus(),!0}var Kn=[],Au=new Set,Ls=()=>Au.forEach(e=>e());function St(e){let t=typeof e=="string"?{text:e}:e,n={id:Math.random().toString(36).slice(2),...t,tone:t.tone??"success",duration:t.duration??(t.undo?6e3:4e3)};return Kn=[...Kn,n].slice(-3),Ls(),n.id}St.dismiss=e=>{let t=dx();if(t<=0){Kn=Kn.filter(n=>n.id!==e),Ls();return}Kn=Kn.map(n=>n.id===e?{...n,leaving:!0}:n),Ls(),setTimeout(()=>{Kn=Kn.filter(n=>n.id!==e),Ls()},t)};function dx(){try{if(typeof window>"u"||window.matchMedia?.("(prefers-reduced-motion: reduce)").matches||document.documentElement.closest("[data-motion]")?.getAttribute("data-motion")==="off")return 0;let e=getComputedStyle(document.documentElement).getPropertyValue("--dur-exit").trim(),t=parseFloat(e);return isNaN(t)?0:e.endsWith("ms")?t:t*1e3}catch{return 0}}St.clear=()=>{Kn=[],Ls()};function rr(e){return Au.add(e),()=>Au.delete(e)}function or(){return Kn}var mx=[];function ur(){return mx}var xi={thumbUp:"M6.74 10.75v9.5H3.74v-9.5h3zM6.74 10.75l4-7c1.4 0 2.5 1.1 2.5 2.5v3h5a2 2 0 0 1 2 2.3l-1.2 6.8a2 2 0 0 1-2 1.9H6.74",thumbDown:"M6.74 13.25V3.75H3.74v9.5h3zM6.74 13.25l4 7c1.4 0 2.5-1.1 2.5-2.5v-3h5a2 2 0 0 0 2-2.3l-1.2-6.8A2 2 0 0 0 17.04 3.75H6.74",arrowUp:"M12 19V5M6 11l6-6 6 6",heart:"M12 19.02s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 6.42 4.3 4.3 0 0 1 19.5 9.02c0 5.4-7.5 10-7.5 10z",tag:"M3.5 12.25V3.75h8.5l8.5 8.5 -8 8 -9-8zM8 8.25h0.01",cart:"M3.35 4h2.5l2.2 11h10.6l2-8H6.95M9.35 20h0.01M17.35 20h0.01",package:"M12 3.5l8 4.5v8L12 20.5 4 16V8l8-4.5zM4 8l8 4.5L20 8M12 12.5v8",truck:"M3 5.5h11v10h-11zM14 9h4l3 3.5V15.5h-7M7 18.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM17.5 18.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",plus:"M12 5v14M5 12h14",minus:"M5 12h14",check:"M5 12.25l4.5 4.5L19 7.25",x:"M6 6l12 12M18 6L6 18",more:"M6 12h.01M12 12h.01M18 12h.01",search:"M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14zM20 20l-3.5-3.5",bell:"M6 14.25V9.25a6 6 0 1 1 12 0v5l1.5 2h-15L6 14.25zM10 18.75a2 2 0 0 0 4 0",clock:"M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM12 7.5V12l3 2",eye:"M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12zM12 9.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z",edit:"M4.5 19.5h4L19.5 8.5l-4-4L4.5 15.5v4zM14 6l4 4",trash:"M4.5 6.75h15M9.5 6.75V4.25h5V6.75M6.5 6.75l1 13h9l1-13",users:"M9 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zM2.5 20c0-3.3 2.9-5.5 6.5-5.5s6.5 2.2 6.5 5.5M16 4.3a3.5 3.5 0 0 1 0 6.4M18 14.8c2 .7 3.5 2.6 3.5 5.2",user:"M12 11.25a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4.5 20.75c0-3.6 3.4-6 7.5-6s7.5 2.4 7.5 6",home:"M4 10.5L12 4l8 6.5V20h-5v-6H9v6H4v-9.5z",chart:"M4 19h16M7 15v-5M12 15V5M17 15v-8",mail:"M3.5 6.5h17v11h-17zM4 7l8 6 8-6",grid:"M4 4h6.5v6.5H4zM13.5 4H20v6.5h-6.5zM4 13.5h6.5V20H4zM13.5 13.5H20V20h-6.5z",share:"M18 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM6 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM18 22a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM8.6 13.5l6.8 4M15.4 6.5l-6.8 4",menu:"M4 8h16M4 16h16",play:"M8 5.5v13l10.5-6.5L8 5.5z",calendar:"M4 6.75h16V20.25H4zM4 10.75h16M8.5 3.75v5M15.5 3.75v5",file:"M6 3.5h8l4 4V20.5H6zM14 3.5v4h4",card:"M3 6.5h18v11H3zM3 10.5h18",swap:"M4 8h14l-3.5-3.5M20 16H6l3.5 3.5",send:"M20.5 3.5L3.5 10.5l7 3 3 7 7-17zM10.5 13.5l4-4",download:"M12 4v11M7 10.5l5 5 5-5M4.5 20h15",book:"M4 5.5C4 4.7 4.7 4 5.5 4H11v16H5.5c-.8 0-1.5-.7-1.5-1.5V5.5zM13 4h5.5c.8 0 1.5.7 1.5 1.5v13c0 .8-.7 1.5-1.5 1.5H13V4z",chevronDown:"M6 9l6 6 6-6",chevronLeft:"M15 6l-6 6 6 6",chevronRight:"M9 6l6 6-6 6",arrowUpRight:"M7 17L17 7M8 7h9v9",sparkle:"M12 3.5l2 6.5 6.5 2-6.5 2-2 6.5-2-6.5-6.5-2 6.5-2 2-6.5z",filter:"M4 6h16M7 12h10M10 18h4",settings:"M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM12 2.5v3M12 18.5v3M4.4 4.4l2.1 2.1M17.5 17.5l2.1 2.1M2.5 12h3M18.5 12h3M4.4 19.6l2.1-2.1M17.5 6.5l2.1-2.1",lock:"M6 10.5h12v9.5H6zM8.5 10.5V7.5a3.5 3.5 0 0 1 7 0v3",link:"M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1",paperclip:"M20 11.74l-8 8a5 5 0 0 1-7-7l8.5-8.5a3.3 3.3 0 0 1 4.7 4.7L9.7 17.44a1.7 1.7 0 0 1-2.4-2.4L15 7.24",star:"M12 4.25l2.5 5.2 5.5 0.8 -4 3.9 1 5.6 -5-2.7 -5 2.7 1-5.6 -4-3.9 5.5-0.8L12 4.25z",flag:"M6.5 20.5V3.5M6.5 4h11l-2 4 2 4h-11",trend:"M3.5 16.5l6-6 4 4 7-7M15 7.5h5.5V13",globe:"M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM3.5 12h17M12 3.5c2.5 2.6 3.5 5.4 3.5 8.5s-1 5.9-3.5 8.5c-2.5-2.6-3.5-5.4-3.5-8.5s1-5.9 3.5-8.5z",inbox:"M3.5 13.25l2.5-8h12l2.5 8V18.75h-17v-5.5zM3.5 13.25H9l1 2h4l1-2h5.5",logout:"M13.75 4.5h4.5v15H13.75M9.75 8l-4 4 4 4M5.75 12h9",moon:"M19.91 13.59A8 8 0 1 1 10.41 4.09a6.5 6.5 0 0 0 9.5 9.5z",bot:"M12 4v3M7 8h10a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3zM9.5 13.5v1M14.5 13.5v1M2 14v2M22 14v2",code:"M8.5 7l-5 5 5 5M15.5 7l5 5-5 5",branch:"M6 3.5v11M6 14.5a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM18 9.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM18 9.5c0 5-6 3.5-12 7",terminal:"M3.5 5h17v14h-17zM7 9.5l3 2.5-3 2.5M12.5 15h4.5",server:"M4 4.5h16v6H4zM4 13.5h16v6H4zM7.5 7.5h.01M7.5 16.5h.01",key:"M15 3.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11zM11 13L3.5 20.5M6 18l2 2M8.5 15.5l2 2",database:"M12 3.5c4.4 0 8 1.3 8 3s-3.6 3-8 3-8-1.3-8-3 3.6-3 8-3zM4 6.5v11c0 1.7 3.6 3 8 3s8-1.3 8-3v-11M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3",refresh:"M19.5 12a7.5 7.5 0 1 1-2.2-5.3M19.5 4.5v4h-4",pause:"M8.5 5.5v13M15.5 5.5v13",archive:"M3.5 4.5h17v4h-17zM5 8.5v11h14v-11M10 12.5h4",reply:"M9.75 5.75L4.25 11.25 9.75 16.75M4.75 11.25h9a6 6 0 0 1 6 6v1",shield:"M12 3l7.5 3v5.5c0 4.5-3.2 8-7.5 9.5-4.3-1.5-7.5-5-7.5-9.5V6L12 3z",help:"M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01",cpu:"M7 7h10v10H7zM10 3.5V7M14 3.5V7M10 17v3.5M14 17v3.5M3.5 10H7M3.5 14H7M17 10h3.5M17 14h3.5",zap:"M13.5 3L5.5 13.5h6L10.5 21l8-10.5h-6L13.5 3z",folder:"M3.5 6h6l2 2h9v10h-17z",image:"M4 5h16v14H4zM4 15.5l4.5-4.5 4 4 2.5-2.5 5 5M15.5 9.5h.01",pin:"M12 20.75s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11zM12 7.25a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z",map:"M9 4.5L3.5 6.5v13L9 17.5l6 2 5.5-2v-13L15 6.5l-6-2zM9 4.5v13M15 6.5v13",upload:"M12 15.75V4.25M7.5 8.75L12 4.25l4.5 4.5M4.5 15.25v4.5h15V15.25",copy:"M8.5 8.5h11v11h-11zM15.5 8.5v-4h-11v11h4",bed:"M3.5 18v-12M3.5 13h17v5M20.5 18v-3M7.5 10a1.5 1.5 0 1 0 0 0.01M10.5 13v-3h7a3 3 0 0 1 3 3",ruler:"M3.5 15.5l12-12 5 5-12 12zM7 12l2 2M10 9l2 2M13 6l2 2",wallet:"M4.25 7.75h15.5v12H4.25zM4.25 7.75l12-3.5v3.5M15.75 13.75h0.01",ban:"M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM6 6l12 12",list:"M8.25 6.5h12M8.25 12h12M8.25 17.5h12M3.75 6.5h0.01M3.75 12h0.01M3.75 17.5h0.01",layers:"M12 3.5l8.5 4.5L12 12.5 3.5 8 12 3.5zM3.5 12l8.5 4.5 8.5-4.5M3.5 16l8.5 4.5 8.5-4.5",bold:"M6.63 4.75h6a3.5 3.5 0 0 1 0 7H6.63zM6.63 11.75h7a3.75 3.75 0 0 1 0 7.5H6.63z",italic:"M10 4.5h8M6 19.5h8M14.5 4.5l-5 15",underline:"M7 4v7a5 5 0 0 0 10 0V4M5 20h14",olist:"M9.75 7.5h10.5M9.75 13h10.5M9.75 18.5h10.5M3.75 6l1.5-1v5M3.75 15.5a1.5 1.5 0 1 1 2.5 1L3.75 19h3",heading:"M6 4.5v15M18 4.5v15M6 12h12",quote:"M5 16.5c0-4 1.5-7 5-9M14 16.5c0-4 1.5-7 5-9M5 16.5h3.5v-4H5zM14 16.5h3.5v-4H14z",undo:"M9.25 4.5L4.25 9.5l5 5M4.75 9.5h10a5 5 0 0 1 0 10h-2",redo:"M14.75 4.5l5 5 -5 5M19.25 9.5h-10a5 5 0 0 0 0 10h2",monitor:"M3.5 4.25h17v11h-17zM8.5 19.75h7M12 15.25V19.75",phone:"M7.5 3h9v18h-9zM11 18h2",expand:"M4.5 9.5v-5h5M19.5 9.5v-5h-5M4.5 14.5v5h5M19.5 14.5v5h-5",sun:"M12 7.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zM12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M5.3 18.7l1.4-1.4M17.3 6.7l1.4-1.4",cookie:"M12 3.5a8.5 8.5 0 1 0 8.5 8.5 3 3 0 0 1-3.5-3.5 3 3 0 0 1-3.5-3.5 3 3 0 0 1-1.5-1.5zM8.5 10h.01M14.5 15h.01M9.5 15.5h.01",webhook:"M10.67 8.24a3.5 3.5 0 1 1 5.5 2.9L18.67 15.74M8.67 19.24a3.5 3.5 0 0 1-1-6.8M18.67 19.24H11.67M7.67 12.44L11.17 6.74"},fr=Object.keys(xi);var _u=G(ye(),1);function x({name:e,size:t=16,label:n,className:a,style:l}){return(0,_u.jsx)("svg",{className:p("tf-ico",a),width:t,height:t,viewBox:"0 0 24 24",fill:e==="play"?"currentColor":"none",stroke:"currentColor",strokeWidth:e==="more"?3.2:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":n?void 0:!0,role:n?"img":void 0,"aria-label":n,style:{width:t,height:t,...l},children:(0,_u.jsx)("path",{d:xi[e]??xi.sparkle})})}x.names=fr;var h=G(ye(),1),$e=G(re(),1);var _=G(ye(),1),it=G(re(),1);var Du=G(ye(),1),Yt=G(re(),1);var Fh=Yt.createContext(null);function ha(e){let t=Yt.useContext(Fh);return e&&t?t.errors[e]:void 0}var hx=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function gx(e,t,n,a=yi){let l=Array.isArray(t)?t.join(","):t??"",i=l.trim()==="";if(e.required&&i)return typeof e.required=="string"?e.required:a.fieldRequired;if(i)return;if(e.email&&!hx.test(l))return e.message||a.invalidEmail;if(e.minLength!=null&&l.length<e.minLength)return e.message||a.minLength(e.minLength);if(e.maxLength!=null&&l.length>e.maxLength)return e.message||a.maxLength(e.maxLength);let s=Number(l.replace(/[^\d.-]/g,""));return e.min!=null&&s<e.min?e.message||a.minValue(e.min):e.max!=null&&s>e.max?e.message||a.maxValue(e.max):e.pattern&&!e.pattern.test(l)?e.message||a.invalidFormat:e.validate?.(l,n)||void 0}function Zh(e){let t={};return new FormData(e).forEach((n,a)=>{let l=typeof n=="string"?n:n.name,i=t[a];t[a]=i===void 0?l:Array.isArray(i)?i.concat(l):[i,l]}),t}function Ih(e){let t=M(yi),n=Yt.useRef(null),[a,l]=Yt.useState({}),[i,s]=Yt.useState(!1),c=e.rules||{},r=(f,d)=>{let m=d?{...a}:{};for(let[N,S]of Object.entries(c)){if(d&&N!==d)continue;let k=gx(S,f[N],f,t);k?m[N]=k:delete m[N]}return m},u=Yt.useRef(()=>{});u.current=f=>{i&&c[f]&&n.current&&l(r(Zh(n.current),f))},Yt.useEffect(()=>{let f=n.current;if(!f)return;let d=m=>{let N=m.target?.name;N&&u.current(N)};return f.addEventListener("change",d),f.addEventListener("input",d),()=>{f.removeEventListener("change",d),f.removeEventListener("input",d)}},[]);let o=Yt.useMemo(()=>({errors:{...a,...e.errors||{}}}),[a,e.errors]);return(0,Du.jsx)(Fh.Provider,{value:o,children:(0,Du.jsx)("form",{ref:n,className:p("tf-form",e.className),style:e.style,noValidate:!0,onSubmit:f=>{f.preventDefault();let d=Zh(f.currentTarget),m=r(d);l(m),s(!0);let N=Object.keys(m);if(N.length){e.onInvalid?.(m),f.currentTarget.querySelector(N.map(k=>`[name="${CSS.escape(k)}"]`).join(","))?.focus();return}e.onSubmit?.(d)},children:e.children})})}var Ke=G(ye(),1),Ul=G(re(),1);function $h(e,t,n,a){return Ul.isValidElement(e)?Ul.cloneElement(e,{...n,className:p(t,e.props.className),children:a(e.props.children)}):null}function K(e){let{variant:t,size:n,icon:a,iconRight:l,asChild:i,className:s,children:c,type:r,...u}=e,f=p("tf-btn","tf-btn-"+(t||"primary"),n==="sm"&&"tf-btn-sm",s),d=m=>(0,Ke.jsxs)(Ke.Fragment,{children:[a&&(0,Ke.jsx)(x,{name:a,size:15}),m,l&&(0,Ke.jsx)(x,{name:l,size:15})]});if(i){let m=$h(Ul.Children.only(c),f,u,d);if(m)return m}return(0,Ke.jsx)("button",{...u,type:r||"button",className:f,children:d(c)})}function W(e){let{icon:t,label:n,variant:a,size:l,asChild:i,className:s,children:c,type:r,...u}=e,o=p("tf-iconbtn","tf-iconbtn-"+(a||"soft"),l&&"tf-iconbtn-"+l,s),f={"aria-label":n,title:n,...u};if(i&&c){let d=$h(Ul.Children.only(c),o,f,()=>(0,Ke.jsx)(x,{name:t}));if(d)return d}return(0,Ke.jsx)("button",{...f,type:r||"button",className:o,children:(0,Ke.jsx)(x,{name:t})})}function Bl(e){return(0,Ke.jsxs)("button",{type:"button",className:p("tf-chip",e.className),"aria-pressed":e.selected?"true":"false",onClick:e.onClick,children:[e.icon&&(0,Ke.jsx)(x,{name:e.icon,size:14}),e.children,e.count!=null&&(0,Ke.jsx)("span",{className:"tf-chip-count",children:e.count})]})}var vx={ok:"success",warn:"warning",signal:"highlight",idle:"neutral",running:"info",error:"danger"};function Oe(e){let t=e.tone&&vx[e.tone]||e.tone||"neutral";return(0,Ke.jsxs)("span",{className:p("tf-badge","tf-badge-"+t,(e.live||e.tone==="running")&&"tf-badge-live",e.className),children:[e.dot!==!1&&(0,Ke.jsx)("span",{className:"tf-badge-dot","aria-hidden":!0}),e.children]})}function ce(e){return(0,Ke.jsx)("span",{className:p("tf-tinticon","tf-t-"+(e.tint||"plain"),e.className),"aria-hidden":e.label?void 0:!0,title:e.label,style:e.size?{width:e.size,height:e.size}:void 0,children:(0,Ke.jsx)(x,{name:e.icon})})}var Jh=["lilac","sky","mint","butter","blush"];function Ve(e){let t=e.size||32,n=e.tint||Jh[(e.name||"").length%Jh.length];return(0,Ke.jsx)("span",{className:p("tf-avatar",e.className),style:{width:t,height:t,"--av":"var(--"+n+")",fontSize:Math.round(t*.36)},title:e.name,children:e.src?(0,Ke.jsx)("img",{src:e.src,alt:e.name||""}):Zc(e.name)})}function Ph(e){let t=e.names||[],n=e.max||4,a=t.length-n;return(0,Ke.jsxs)("span",{className:"tf-avatar-stack",children:[t.slice(0,n).map(l=>(0,Ke.jsx)(Ve,{name:l,size:e.size||28},l)),a>0&&(0,Ke.jsx)(Ve,{name:"+"+a,tint:"surface-sunken",size:e.size||28})]})}var Ya=G(ye(),1),Qt=G(re(),1);function Ue(e){let t=Qt.useRef(null),n=Qt.useRef(null),a=$(e.open,!1,e.onOpenChange),l=Nt(a[0]);_n(t,a[0],()=>{a[1](!1)}),Ll(n,a[0]);let[i,s]=Qt.useState(!1);Qt.useLayoutEffect(()=>{if(!a[0]){s(!1);return}let r=n.current,u=t.current;if(!r||!u)return;let o=r.getBoundingClientRect(),f=u.getBoundingClientRect(),d=window.innerHeight,m=e.side==="top",N=d-f.bottom-8,S=f.top-8;!m&&o.bottom>d-8&&S>o.height&&S>N&&s(!0),m&&o.top<8&&N>o.height&&s(!0)},[a[0]]);let c=typeof e.trigger=="function"?e.trigger({open:a[0],toggle:()=>{a[1](!a[0])}}):(0,Ya.jsx)("span",{onClick:()=>{a[1](!a[0])},children:e.trigger});return(0,Ya.jsxs)("span",{ref:t,className:p("tf-pop-anchor",e.block&&"block",e.className),children:[c,l.mounted&&(0,Ya.jsx)("div",{...ft(l.closing),ref:n,className:p("tf-popover","tf-pop-"+(e.align||"start"),e.side==="top"!==i&&"top",e.flush&&"flush"),role:e.role||"dialog",style:e.width==null?void 0:{"--pop-w":typeof e.width=="number"?e.width+"px":e.width},children:typeof e.children=="function"?e.children({close:()=>{a[1](!1)}}):e.children})]})}function et(e){let t=Se("tip"),n=Qt.useState(!!e.defaultOpen),a=Qt.useRef(void 0),l=Qt.useRef(null),i=e.side||"top",s=Nt(n[0]);Ll(l,n[0]&&i!=="left"&&i!=="right");function c(){clearTimeout(a.current),a.current=setTimeout(()=>{n[1](!0)},350)}function r(){clearTimeout(a.current),n[1](!1)}let u=Qt.Children.only(e.children);return(0,Ya.jsxs)("span",{className:"tf-tip-anchor",onPointerEnter:c,onPointerLeave:r,onFocus:()=>{n[1](!0)},onBlur:r,onKeyDown:o=>{o.key==="Escape"&&r()},children:[Qt.cloneElement(u,{"aria-describedby":n[0]?t:void 0}),s.mounted&&(0,Ya.jsxs)("span",{...ft(s.closing),id:t,ref:l,role:"tooltip",className:p("tf-tooltip","tf-tip-"+i),children:[e.label,e.shortcut&&(0,Ya.jsx)("kbd",{children:e.shortcut})]})]})}function mt(e){let t=e.id,n=ha(e.name),a=e.error||n;return(0,_.jsxs)("div",{className:p("tf-field",e.className),style:e.style,children:[e.label&&(0,_.jsxs)("label",{className:"tf-field-label",htmlFor:t,children:[e.label,e.required&&(0,_.jsx)("span",{className:"tf-req","aria-hidden":!0,children:" *"}),e.optional&&(0,_.jsxs)("span",{className:"tf-opt",children:[" ","optional"]})]}),e.children,a?(0,_.jsxs)("span",{id:t?`${t}-msg`:void 0,className:"tf-field-error",role:"alert",children:[(0,_.jsx)(x,{name:"x",size:12}),a]}):e.success?(0,_.jsxs)("span",{className:"tf-field-success",children:[(0,_.jsx)(x,{name:"check",size:12}),e.success]}):e.hint&&(0,_.jsx)("span",{id:t?`${t}-msg`:void 0,className:"tf-field-hint",children:e.hint})]})}function mr(e){let t=Se("tf"),n=e.id||t,a=ha(e.name),l=e.error||a;return(0,_.jsx)(mt,{id:n,label:e.label,required:e.required,optional:e.optional,hint:e.hint,error:l,success:e.success,children:(0,_.jsxs)("span",{className:p("tf-inputwrap",e.icon&&"has-icon",(l||e.success||e.suffix)&&"has-suffix"),children:[e.icon&&(0,_.jsx)(x,{name:e.icon,size:15,className:"tf-input-icon"}),(0,_.jsx)("input",{id:n,name:e.name,className:p("tf-input",e.success&&"is-valid"),type:e.type||"text",placeholder:e.placeholder,value:e.value,defaultValue:e.defaultValue,onChange:e.onChange,onBlur:e.onBlur,required:e.required,disabled:e.disabled,readOnly:e.readOnly,min:e.min,max:e.max,step:e.step,minLength:e.minLength,maxLength:e.maxLength,pattern:e.pattern,inputMode:e.inputMode,autoFocus:e.autoFocus,"aria-invalid":l?"true":void 0,"aria-describedby":l||e.hint?`${n}-msg`:void 0,autoComplete:e.autoComplete}),l?(0,_.jsx)("span",{className:"tf-input-suffix err",children:(0,_.jsx)(x,{name:"x",size:14})}):e.success?(0,_.jsx)("span",{className:"tf-input-suffix ok",children:(0,_.jsx)(x,{name:"check",size:14})}):e.suffix&&(0,_.jsx)("span",{className:"tf-input-suffix",children:e.suffix})]})})}function t0(e){let t=Se("rg"),n=$(e.value,e.defaultValue,e.onChange);return(0,_.jsxs)("fieldset",{className:p("tf-radiogroup",e.cards&&"cards",e.className),children:[e.label&&(0,_.jsx)("legend",{className:"tf-field-label",children:e.label}),(0,_.jsx)("div",{className:"tf-radiogroup-items",children:(e.options||[]).map(a=>{let l=typeof a=="string"?{value:a,label:a}:a,i=n[0]===l.value;return(0,_.jsxs)("label",{className:p("tf-radio",i&&"on",l.disabled&&"disabled"),children:[(0,_.jsx)("input",{type:"radio",name:t,value:l.value,checked:i,disabled:l.disabled,onChange:()=>{n[1](l.value)}}),(0,_.jsx)("span",{className:"tf-radio-dot","aria-hidden":!0}),(0,_.jsxs)("span",{className:"tf-radio-text",children:[(0,_.jsx)("b",{children:l.label}),l.hint&&(0,_.jsx)("small",{children:l.hint})]})]},l.value)})}),e.hint&&(0,_.jsx)("span",{className:"tf-field-hint",children:e.hint})]})}function Zn(e){let t=$(e.value,e.defaultValue!=null?e.defaultValue:n0((e.options||[])[0]??"").value,e.onChange),n=Se("seg");return(0,_.jsx)("div",{className:p("tf-seg",e.size==="sm"&&"sm",e.block&&"block",e.className),role:"radiogroup","aria-label":e.label,children:(e.options||[]).map(a=>{let l=typeof a=="string"?{value:a,label:a}:a,i=t[0]===l.value;return(0,_.jsxs)("label",{className:p("tf-seg-item",i&&"on"),children:[(0,_.jsx)("input",{type:"radio",name:n,checked:i,onChange:()=>{t[1](l.value)}}),l.icon&&(0,_.jsx)(x,{name:l.icon,size:14}),l.label]},l.value)})})}function n0(e){return typeof e=="string"?{value:e,label:e}:e}function a0(e){let t=M(zn),n=!!e.multiple,a=(e.options||[]).map(n0),l=Se("cb"),i=$(e.value,e.defaultValue!=null?e.defaultValue:n?[]:null,e.onChange),s=it.useState(""),c=it.useState(!1),r=it.useState(0),u=it.useRef(null),o=it.useRef(null),f=Nt(!!c[0]);_n(u,c[0],()=>{c[1](!1),s[1]("")});let d=n?i[0]||[]:[],m=n?null:i[0]??null,N=a.filter(y=>!s[0]||y.label.toLowerCase().indexOf(s[0].toLowerCase())>=0),S=e.creatable&&s[0].trim()&&!a.some(y=>y.label.toLowerCase()===s[0].trim().toLowerCase());function k(y){return n?d.indexOf(y.value)>=0:m===y.value}function g(y){n?(i[1](k(y)?d.filter(z=>z!==y.value):d.concat([y.value])),s[1](""),o.current&&o.current.focus()):(i[1](y.value),c[1](!1),s[1](""))}function v(y){let z=N.length+(S?1:0);if(y.key==="ArrowDown")y.preventDefault(),c[1](!0),r[1](Math.min(z-1,r[0]+1));else if(y.key==="ArrowUp")y.preventDefault(),r[1](Math.max(0,r[0]-1));else if(y.key==="Enter"){if(y.preventDefault(),!c[0])return c[1](!0);r[0]<N.length?g(N[r[0]]):S&&g({value:s[0].trim(),label:s[0].trim()})}else y.key==="Backspace"&&n&&!s[0]&&d.length&&i[1](d.slice(0,-1))}let b=y=>{let z=a.find(q=>q.value===y);return z?z.label:y};return(0,_.jsx)(mt,{id:l,label:e.label,required:e.required,hint:e.hint,error:e.error,className:e.className,children:(0,_.jsxs)("div",{ref:u,className:p("tf-combo",c[0]&&"open",e.error&&"invalid"),children:[(0,_.jsxs)("div",{className:"tf-combo-box",onClick:()=>{c[1](!0),o.current&&o.current.focus()},children:[n&&d.map(y=>(0,_.jsxs)("span",{className:"tf-token",children:[b(y),(0,_.jsx)("button",{type:"button","aria-label":t.removeItem(b(y)),onClick:z=>{z.stopPropagation(),i[1](d.filter(q=>q!==y))},children:(0,_.jsx)(x,{name:"x",size:12})})]},y)),(0,_.jsx)("input",{ref:o,id:l,role:"combobox","aria-expanded":c[0],"aria-controls":l+"-list","aria-autocomplete":"list",autoComplete:"off",className:"tf-combo-input",placeholder:n?d.length?"":e.placeholder:m!=null&&!s[0]?b(m):e.placeholder||t.selectPlaceholder,value:s[0],onChange:y=>{s[1](y.target.value),c[1](!0),r[1](0)},onFocus:()=>{c[1](!0)},onKeyDown:v,style:!n&&m!=null&&!s[0]?{"--ph":"var(--ink)"}:void 0}),(0,_.jsx)("span",{className:"tf-combo-chev",children:(0,_.jsx)(x,{name:"chevronDown",size:15})})]}),f.mounted&&(0,_.jsxs)("div",{...ft(f.closing),className:"tf-popover tf-combo-pop",id:l+"-list",role:"listbox","aria-multiselectable":n||void 0,children:[N.length===0&&!S&&(0,_.jsx)("div",{className:"tf-combo-empty",children:t.noMatches}),N.map((y,z)=>(0,_.jsxs)("div",{role:"option","aria-selected":k(y),className:p("tf-option",z===r[0]&&"active",k(y)&&"on"),onPointerDown:q=>{q.preventDefault()},onClick:()=>{g(y)},onPointerEnter:()=>{r[1](z)},children:[y.avatar&&(0,_.jsx)(Ve,{name:y.label,size:24}),y.icon&&(0,_.jsx)(x,{name:y.icon,size:15}),(0,_.jsxs)("span",{className:"tf-option-text",children:[y.label,y.hint&&(0,_.jsx)("small",{children:y.hint})]}),k(y)&&(0,_.jsx)(x,{name:"check",size:15,className:"tf-option-check"})]},y.value)),S&&(0,_.jsxs)("div",{role:"option",className:p("tf-option",r[0]===N.length&&"active"),onPointerDown:y=>{y.preventDefault()},onClick:()=>{g({value:s[0].trim(),label:s[0].trim()})},children:[(0,_.jsx)(x,{name:"plus",size:15}),(0,_.jsx)("span",{className:"tf-option-text",children:t.createOption(s[0].trim())})]})]})]})})}function l0(e){let t=M(zn),n=$(e.value,e.defaultValue||[],e.onChange),a=it.useState(""),l=Se("tag");function i(s){let c=s.trim().replace(/,$/,"");c&&n[0].indexOf(c)<0&&n[1](n[0].concat([c])),a[1]("")}return(0,_.jsx)(mt,{id:l,label:e.label,hint:e.hint,error:e.error,children:(0,_.jsxs)("div",{className:"tf-combo-box tf-tags",onClick:s=>{let c=s.currentTarget.querySelector("input");c&&c.focus()},children:[n[0].map(s=>(0,_.jsxs)("span",{className:"tf-token",children:[s,(0,_.jsx)("button",{type:"button","aria-label":t.removeItem(s),onClick:()=>{n[1](n[0].filter(c=>c!==s))},children:(0,_.jsx)(x,{name:"x",size:12})})]},s)),(0,_.jsx)("input",{id:l,className:"tf-combo-input",placeholder:n[0].length?"":e.placeholder||t.tagPlaceholder,value:a[0],onChange:s=>{let c=s.target.value;/,$/.test(c)?i(c):a[1](c)},onKeyDown:s=>{s.key==="Enter"?(s.preventDefault(),i(a[0])):s.key==="Backspace"&&!a[0]&&n[0].length&&n[1](n[0].slice(0,-1))},onBlur:()=>{a[0]&&i(a[0])}})]})})}function Wh(e,t){return Qn(e,{month:"long",year:"numeric"},t)}function Hu(e){let t=[];for(let n=0;n<7;n++){let a=new Date(2024,0,1+(1+n-1)%7);t.push(Qn(a,{weekday:"short"},e))}return t}function dr(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function Hs(e,t){return!!(e&&t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())}function Ou(e,t){return e?Qn(e,void 0,t):""}function Lu(e,t){let n=new Date(e);return n.setDate(n.getDate()+t),n}function Uu(e){let t=M(zn),{locale:n}=J(),a=e.range?e.value??null:null,l=dr(e.today||new Date),i=e.range?a&&a.from:e.value,s=e.month||(i instanceof Date?i:null)||l,c=it.useState(new Date(s.getFullYear(),s.getMonth(),1)),r=it.useState(null),u=c[0],o=Lu(u,-((u.getDay()-1+7)%7)),f=[];for(let S=0;S<42;S++)f.push(Lu(o,S));let d=i??null,m=e.range?a&&a.to||(d&&r[0]&&r[0]>d?r[0]:null):null;function N(S){c[1](new Date(u.getFullYear(),u.getMonth()+S,1))}return(0,_.jsxs)("div",{className:"tf-cal",children:[(0,_.jsxs)("div",{className:"tf-cal-head",children:[(0,_.jsx)(W,{icon:"chevronLeft",label:t.previousMonth,size:"sm",variant:"soft",onClick:()=>{N(-1)}}),(0,_.jsx)("b",{children:Wh(u,n)}),(0,_.jsx)(W,{icon:"chevronRight",label:t.nextMonth,size:"sm",variant:"soft",onClick:()=>{N(1)}})]}),(0,_.jsxs)("div",{className:"tf-cal-grid",role:"group","aria-label":Wh(u,n),children:[Hu(n).map((S,k)=>(0,_.jsx)("span",{className:"tf-cal-wd",children:S},k)),f.map(S=>{let k=S.getMonth()!==u.getMonth(),g=Hs(S,d),v=Hs(S,m),b=d&&m&&S>d&&S<m,y=e.min&&S<dr(e.min)||e.max&&S>dr(e.max);return(0,_.jsx)("button",{type:"button",disabled:y,className:p("tf-cal-day",k&&"out",Hs(S,l)&&"today",(g||v)&&"sel",b&&"inrange",g&&m&&"start",v&&d&&"end"),"aria-pressed":g||v,"aria-label":Qn(S,{day:"numeric",month:"long",year:"numeric"},n),onPointerEnter:()=>{e.range&&r[1](S)},onClick:()=>{if(!e.range)return e.onChange?.(S);!d||d&&a?.to||S<d?e.onChange?.({from:S,to:null}):e.onChange?.({from:d,to:S})},children:S.getDate()},+S)})]})]})}function hr(e){let t=M(zn),{locale:n}=J(),a=Se("dp"),l=$(e.value,e.defaultValue||(e.range?{from:null,to:null}:null),e.onChange),i=dr(e.today||new Date),s=e.presets!==!1&&e.range?[[t.lastDays(7),-6],[t.lastDays(30),-29],[t.lastDays(90),-89],[t.thisYear,"y"]]:null,c=e.range?l[0]??null:null,r=e.range?c&&c.from?Ou(c.from,n)+" \u2013 "+(c.to?Ou(c.to,n):"\u2026"):"":Ou(l[0],n);return(0,_.jsx)(mt,{id:a,label:e.label,required:e.required,hint:e.hint,error:e.error,className:e.className,children:(0,_.jsx)(Ue,{block:!0,width:s?476:304,trigger:u=>(0,_.jsxs)("button",{id:a,type:"button",className:p("tf-input tf-picker",!r&&"empty"),"aria-haspopup":"dialog","aria-expanded":u.open,onClick:u.toggle,children:[(0,_.jsx)(x,{name:"calendar",size:15}),(0,_.jsx)("span",{children:r||e.placeholder||(e.range?t.pickRange:t.pickDate)})]}),children:u=>(0,_.jsxs)("div",{className:p("tf-dp",s&&"with-presets"),children:[s&&(0,_.jsx)("div",{className:"tf-dp-presets",children:s.map(o=>{let f=o[1]==="y"?new Date(i.getFullYear(),0,1):Lu(i,o[1]),d=!!c&&Hs(c.from,f)&&Hs(c.to,i);return(0,_.jsx)("button",{type:"button",className:p("tf-dp-preset",d&&"on"),onClick:()=>{l[1]({from:f,to:i}),u.close()},children:o[0]},o[0])})}),(0,_.jsx)(Uu,{range:e.range,value:l[0],today:i,min:e.min,max:e.max,onChange:o=>{l[1](o),(!e.range||o.to)&&u.close()}})]})})})}function i0(e){let t=M(zn),n=Se("num"),a=$(e.value,e.defaultValue!=null?e.defaultValue:0,e.onChange),l=e.step||1;function i(s){e.min!=null&&(s=Math.max(e.min,s)),e.max!=null&&(s=Math.min(e.max,s)),a[1](Math.round(s*1e3)/1e3)}return(0,_.jsx)(mt,{id:n,label:e.label,hint:e.hint,error:e.error,children:(0,_.jsxs)("div",{className:"tf-number",children:[(0,_.jsx)(W,{icon:"minus",label:t.decrease,size:"sm",disabled:e.min!=null&&a[0]<=e.min,onClick:()=>{i(a[0]-l)}}),(0,_.jsx)("input",{id:n,className:"tf-number-input",inputMode:"decimal",value:a[0],onChange:s=>{let c=parseFloat(s.target.value);isNaN(c)?s.target.value===""&&a[1](0):i(c)},onKeyDown:s=>{s.key==="ArrowUp"&&(s.preventDefault(),i(a[0]+l)),s.key==="ArrowDown"&&(s.preventDefault(),i(a[0]-l))}}),e.unit&&(0,_.jsx)("span",{className:"tf-number-unit",children:e.unit}),(0,_.jsx)(W,{icon:"plus",label:t.increase,size:"sm",disabled:e.max!=null&&a[0]>=e.max,onClick:()=>{i(a[0]+l)}})]})})}function s0(e){let t=Se("sl"),n=e.min||0,a=e.max!=null?e.max:100,l=$(e.value,e.defaultValue!=null?e.defaultValue:n,e.onChange),i=(l[0]-n)/(a-n)*100,s=e.format||String;return(0,_.jsx)(mt,{id:t,label:e.label,hint:e.hint,children:(0,_.jsxs)("div",{className:"tf-slider",children:[(0,_.jsxs)("div",{className:"tf-slider-track",children:[(0,_.jsx)("input",{id:t,type:"range",min:n,max:a,step:e.step||1,value:l[0],onChange:c=>{l[1](+c.target.value)},style:{"--pct":i+"%"},"aria-valuetext":s(l[0])}),(0,_.jsx)("span",{className:"tf-slider-val",style:{left:"calc("+i+"% + "+(10-i*.2)+"px)"},children:s(l[0])})]}),e.marks!==!1&&(0,_.jsxs)("div",{className:"tf-slider-marks",children:[(0,_.jsx)("span",{children:s(n)}),(0,_.jsx)("span",{children:s(a)})]})]})})}function gr(e){let t=M(zn),n=e.length||6,a=it.useState(Array(n).fill("")),l=it.useRef([]);function i(s,c){let r=a[0].slice();r[s]=c,a[1](r),c&&s<n-1&&l.current[s+1]?.focus(),r.every(Boolean)&&e.onComplete&&e.onComplete(r.join(""))}return(0,_.jsx)("div",{className:p("tf-otp",e.error&&"invalid"),role:"group","aria-label":e.label||t.verificationCode,children:a[0].map((s,c)=>(0,_.jsxs)(it.Fragment,{children:[c===n/2&&n>4&&(0,_.jsx)("span",{className:"tf-otp-sep","aria-hidden":!0}),(0,_.jsx)("input",{ref:r=>{l.current[c]=r},className:"tf-otp-cell",inputMode:"numeric",autoComplete:c===0?"one-time-code":"off",maxLength:1,value:s,"aria-label":t.digitN(c+1),onChange:r=>{i(c,r.target.value.replace(/\D/g,"").slice(-1))},onKeyDown:r=>{r.key==="Backspace"&&!a[0][c]&&c>0&&l.current[c-1]?.focus(),r.key==="ArrowLeft"&&c>0&&l.current[c-1]?.focus(),r.key==="ArrowRight"&&c<n-1&&l.current[c+1]?.focus()},onPaste:r=>{let u=(r.clipboardData.getData("text")||"").replace(/\D/g,"").slice(0,n);if(!u)return;r.preventDefault();let o=Array(n).fill("").map((f,d)=>u[d]||"");a[1](o),l.current[Math.min(u.length,n-1)]?.focus(),u.length===n&&e.onComplete&&e.onComplete(u)}})]},c))})}function ju(e,t){return e>1048576?`${t.formatNumber(e/1048576,{maximumFractionDigits:1})} MB`:`${t.formatNumber(Math.max(1,Math.round(e/1024)))} KB`}function e0(e,t){let n=(t||"").split(",").map(i=>i.trim().toLowerCase()).filter(Boolean);if(!n.length)return!0;let a=e.name.toLowerCase(),l=(e.type||"").toLowerCase();return n.some(i=>i.startsWith(".")?a.endsWith(i):i.endsWith("/*")?l.startsWith(i.slice(0,-1)):l===i)}function c0(e){let t=M(zn),n=J(),a=it.useState(!1),l=$(e.files,[],e.onChange),i=it.useRef(null),s=it.useRef([]),c=e.simulateProgress??!e.onFiles,r=c||e.files!==void 0;it.useEffect(()=>()=>{s.current.forEach(clearInterval)},[]);function u(o){let f=Array.from(o||[]),d=f.filter(S=>!e0(S,e.accept));if(f=f.filter(S=>e0(S,e.accept)),e.multiple===!1&&(f=f.slice(0,1)),d.length&&e.onReject?.(d),!f.length)return;e.onFiles?.(f);let m=f.map(S=>({name:S.name,size:S.size,progress:0,file:S,id:Math.random().toString(36).slice(2)})),N=(e.multiple===!1?[]:l[0]).concat(m);l[1](N),c&&m.forEach((S,k)=>{let g=0,v=setInterval(()=>{g+=20+Math.random()*25,S.progress=Math.min(100,g),l[1](N.slice()),g>=100&&clearInterval(v)},160+k*40);s.current.push(v)})}return(0,_.jsxs)("div",{className:"tf-col",style:{gap:12},children:[(0,_.jsxs)("div",{className:p("tf-drop",a[0]&&"over"),role:"button",tabIndex:0,onClick:()=>{i.current?.click()},onKeyDown:o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),i.current?.click())},onDragOver:o=>{o.preventDefault(),a[1](!0)},onDragLeave:()=>{a[1](!1)},onDrop:o=>{o.preventDefault(),a[1](!1),u(o.dataTransfer.files)},children:[(0,_.jsx)(ce,{icon:"upload",tint:a[0]?"mint":"sky",size:40}),(0,_.jsx)("b",{children:a[0]?t.dropToUpload:e.title||t.dropFiles}),(0,_.jsx)("span",{children:e.hint||t.dropHint}),(0,_.jsx)("input",{ref:i,type:"file",hidden:!0,multiple:e.multiple!==!1,accept:e.accept,onChange:o=>{u(o.target.files),o.target.value=""}})]}),l[0].length>0&&(0,_.jsx)("div",{className:"tf-col",style:{gap:8},children:l[0].map(o=>{let f=r&&o.progress<100,d=r&&o.progress>=100;return(0,_.jsxs)("div",{className:"tf-upload",children:[(0,_.jsx)(ce,{icon:"file",tint:f?"sky":"mint"}),(0,_.jsxs)("div",{className:"tf-upload-text",children:[(0,_.jsx)("b",{children:o.name}),(0,_.jsx)("span",{children:d?t.uploaded(ju(o.size,n)):f?n.formatPercent(Math.round(o.progress))+" \xB7 "+ju(o.size,n):ju(o.size,n)}),f&&(0,_.jsx)("span",{className:"tf-progress",role:"progressbar","aria-label":o.name,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(o.progress),children:(0,_.jsx)("span",{style:{width:o.progress+"%"}})})]}),(0,_.jsx)(W,{icon:f?"x":"trash",label:f?t.cancelUpload:t.removeItem(o.name),size:"sm",onClick:()=>{l[1](l[0].filter(m=>m.id!==o.id)),e.onRemove?.(o)}})]},o.id)})})]})}var Ci=G(ye(),1),WT=G(re(),1);var bx={ok:"dot",running:"pulse",signal:"diamond",warn:"triangle",danger:"square",idle:"ring"};function ze(e){return(0,Ci.jsx)("span",{className:p("tf-shape","tf-shape-"+(bx[e.status]||"ring"),"tf-st-"+(e.status||"idle"),e.className),"aria-hidden":!0})}function Be(e){return(0,Ci.jsxs)("span",{className:p("tf-status",e.size==="sm"&&"sm",e.className),role:e.label?void 0:"img","aria-label":e.label?void 0:e.status,children:[(0,Ci.jsx)(ze,{status:e.status}),e.label&&(0,Ci.jsx)("span",{className:"tf-status-label",children:e.label})]})}var D=G(ye(),1),Ei=G(re(),1);var L=G(ye(),1),gt=G(re(),1);var ee=G(ye(),1),ht=G(re(),1);var Q=G(ye(),1),zt=G(re(),1);function o0(e){let t=e.variant||"text";return(0,Q.jsx)("span",{className:p("tf-skel","tf-skel-"+t,e.className),"aria-hidden":!0,style:{width:e.width,height:e.height||(t==="circle"?e.width:void 0)}})}var r0=':scope > [role^="menuitem"], :scope > .tf-menu-subwrap > [role^="menuitem"]';function At(e){let t=zt.useRef(null),[n,a]=zt.useState(null),l=zt.useRef(!1);zt.useEffect(()=>{e.autoFocus&&t.current?.querySelector(r0)?.focus()},[e.autoFocus]);let i=s=>{s.onClick?.(),s.type!=="checkbox"&&s.type!=="radio"&&e.onClose?.()};return(0,Q.jsx)("div",{ref:t,className:p("tf-menu",e.className),style:e.style,role:"menu","aria-label":e.label,onKeyDown:s=>{if(Hl(s,t.current,r0,"vertical",!0)){s.stopPropagation();return}s.key==="Escape"&&e.onClose&&(s.stopPropagation(),e.onClose())},children:(e.items||[]).map((s,c)=>{if(s==="-")return(0,Q.jsx)("div",{className:"tf-menu-sep",role:"separator"},c);let r=s.type==="checkbox"||s.type==="radio",u=s.type==="checkbox"?"menuitemcheckbox":s.type==="radio"?"menuitemradio":"menuitem",o=(0,Q.jsxs)(Q.Fragment,{children:[r?(0,Q.jsx)("span",{className:p("tf-menu-mark",s.type),"aria-hidden":!0,children:s.checked&&(s.type==="checkbox"?(0,Q.jsx)(x,{name:"check",size:14}):(0,Q.jsx)("i",{}))}):s.icon&&(0,Q.jsx)(x,{name:s.icon,size:15}),(0,Q.jsx)("span",{className:"tf-menu-text",children:s.label}),s.shortcut&&(0,Q.jsx)("kbd",{children:s.shortcut}),s.items&&(0,Q.jsx)(x,{name:"chevronRight",size:14,className:"tf-menu-subchev"})]});if(s.items){let f=n===c;return(0,Q.jsxs)("div",{className:"tf-menu-subwrap",onPointerEnter:()=>a(c),onPointerLeave:()=>a(null),onKeyDownCapture:d=>{d.target.closest(".tf-menu-sub")&&(d.key==="ArrowLeft"||d.key==="Escape")&&(d.preventDefault(),d.stopPropagation(),a(null),d.currentTarget.firstElementChild?.focus())},children:[(0,Q.jsx)("button",{type:"button",role:"menuitem",className:p("tf-menu-item",f&&"on"),"aria-haspopup":"menu","aria-expanded":f,disabled:s.disabled,onClick:()=>{l.current=!0,a(f?null:c)},onKeyDown:d=>{(d.key==="ArrowRight"||d.key==="Enter"||d.key===" ")&&(d.preventDefault(),d.stopPropagation(),l.current=!0,a(c))},children:o}),f&&(0,Q.jsx)(At,{className:"tf-menu-sub",label:s.label,items:s.items,autoFocus:l.current,onClose:()=>{a(null),l.current=!1,e.onClose?.()}})]},c)}return(0,Q.jsx)("button",{type:"button",role:u,"aria-checked":r?!!s.checked:void 0,className:p("tf-menu-item",s.danger&&"danger"),disabled:s.disabled,onClick:()=>i(s),children:o},c)})})}function u0(e){let t=M(La),n=Nt(e.open??!0);return n.mounted?(0,Q.jsxs)("div",{...ft(n.closing),className:"tf-modal-wrap",style:e.style,children:[(0,Q.jsx)("div",{className:"tf-backdrop","aria-hidden":!0}),(0,Q.jsxs)("div",{className:"tf-modal",role:"dialog","aria-modal":"true","aria-label":e.title,children:[(0,Q.jsx)("span",{className:"tf-modal-close",children:(0,Q.jsx)(W,{icon:"x",label:t.close,size:"sm",onClick:e.onClose})}),e.icon&&(0,Q.jsx)(ce,{icon:e.icon,tint:e.tint||"sky",size:40}),(0,Q.jsxs)("div",{children:[(0,Q.jsx)("h2",{className:"tf-modal-title",children:e.title}),e.text&&(0,Q.jsx)("p",{className:"tf-modal-text",style:{marginTop:6},children:e.text})]}),e.children,e.actions&&(0,Q.jsx)("div",{className:"tf-modal-foot",children:e.actions})]})]}):null}function f0(e){return(0,Q.jsxs)("div",{className:"tf-toast",role:"status",children:[(0,Q.jsx)(ce,{icon:e.icon||"check",tint:e.tint||"mint"}),e.children,e.action&&(0,Q.jsx)(K,{variant:"soft",size:"sm",onClick:e.onAction,children:e.action})]})}function Ti(e){return(0,Q.jsxs)("div",{className:"tf-empty tf-in",children:[(0,Q.jsx)(ce,{icon:e.icon||"sparkle",tint:e.tint||"sky",size:44}),(0,Q.jsx)("p",{className:"tf-empty-title",children:e.title}),e.text&&(0,Q.jsx)("p",{className:"tf-empty-text",children:e.text}),e.action]})}var d0={info:"bell",success:"check",warning:"flag",danger:"x",highlight:"sparkle"},px={info:"sky",success:"mint",warning:"butter",danger:"blush",highlight:"lilac"};function vr(e){let t=M(La),n=e.tone||"info";return(0,Q.jsxs)("div",{className:p("tf-alert","tf-alert-"+n,e.className),role:n==="danger"||n==="warning"?"alert":"status",children:[(0,Q.jsx)("span",{className:"tf-alert-icon",children:(0,Q.jsx)(x,{name:e.icon||d0[n],size:15})}),(0,Q.jsxs)("div",{className:"tf-alert-body",children:[e.title&&(0,Q.jsx)("b",{children:e.title}),e.children&&(0,Q.jsx)("span",{children:e.children})]}),(e.action||e.onDismiss)&&(0,Q.jsxs)("div",{className:"tf-alert-actions",children:[e.action,e.onDismiss&&(0,Q.jsx)(W,{icon:"x",label:t.dismiss,size:"sm",variant:"ghost",onClick:e.onDismiss})]})]})}function m0(e){let t=M(La),n=Se("confirm"),a=zt.useState(""),l=!e.confirmText||a[0]===e.confirmText,i=zt.useRef(null),s=Nt(!!e.open);return zt.useEffect(()=>{if(!e.open)return;a[1](""),setTimeout(()=>{i.current&&i.current.focus()},30);function c(r){r.key==="Escape"&&e.onCancel&&e.onCancel()}return document.addEventListener("keydown",c),()=>{document.removeEventListener("keydown",c)}},[e.open]),s.mounted?(0,Q.jsx)(An,{children:(0,Q.jsxs)("div",{...ft(s.closing),className:"tf-overlay",children:[(0,Q.jsx)("div",{className:"tf-backdrop",onClick:e.onCancel}),(0,Q.jsxs)("div",{className:"tf-modal tf-confirm",role:"alertdialog","aria-modal":"true","aria-labelledby":n,children:[(0,Q.jsx)(ce,{icon:e.icon||(e.danger?"trash":"check"),tint:e.danger?"blush":"sky",size:40}),(0,Q.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,Q.jsx)("h2",{id:n,className:"tf-modal-title tf-confirm-t",children:e.title}),e.text&&(0,Q.jsx)("p",{className:"tf-modal-text",children:e.text})]}),e.confirmText&&(0,Q.jsxs)("label",{className:"tf-field",children:[(0,Q.jsx)("span",{className:"tf-field-hint",children:t.typeToConfirm((0,Q.jsx)("b",{className:"tf-mono",children:e.confirmText}))}),(0,Q.jsx)("input",{className:"tf-input",value:a[0],onChange:c=>{a[1](c.target.value)},autoComplete:"off"})]}),(0,Q.jsxs)("div",{className:"tf-modal-foot",children:[(0,Q.jsx)("button",{ref:i,type:"button",className:"tf-btn tf-btn-ghost",onClick:e.onCancel,children:e.cancelLabel||t.cancel}),(0,Q.jsx)(K,{variant:e.danger?"danger-solid":"primary",disabled:!l,onClick:e.onConfirm,children:e.confirmLabel||t.confirm})]})]})]})}):null}function yx(e){let t=M(La),n=e.t,a=zt.useState(!1),l=zt.useRef(n.duration),i=zt.useRef(Date.now());zt.useEffect(()=>{if(a[0])return;i.current=Date.now();let c=setTimeout(()=>{St.dismiss(n.id)},l.current);return()=>{clearTimeout(c),l.current-=Date.now()-i.current}},[a[0]]);let s=px[n.tone]||"mint";return(0,Q.jsxs)("div",{...ft(!!n.leaving),className:"tf-toast tf-toast-x",role:n.tone==="danger"?"alert":"status",onPointerEnter:()=>{a[1](!0)},onPointerLeave:()=>{a[1](!1)},children:[(0,Q.jsx)(ce,{icon:n.icon||d0[n.tone]||"check",tint:s}),(0,Q.jsx)("span",{className:"tf-toast-text",children:n.text}),n.undo&&(0,Q.jsx)("button",{type:"button",className:"tf-toast-action",onClick:()=>{n.undo?.(),St.dismiss(n.id)},children:t.undo}),n.action&&(0,Q.jsx)("button",{type:"button",className:"tf-toast-action",onClick:()=>{n.action?.onClick(),St.dismiss(n.id)},children:n.action.label}),(0,Q.jsx)("button",{type:"button",className:"tf-toast-close","aria-label":t.dismiss,onClick:()=>{St.dismiss(n.id)},children:(0,Q.jsx)(x,{name:"x",size:13})}),(0,Q.jsx)("span",{className:"tf-toast-timer",style:{animationDuration:n.duration+"ms",animationPlayState:a[0]?"paused":"running"}})]})}function h0(e){let t=zt.useSyncExternalStore(rr,or,ur);return(0,Q.jsx)(An,{children:(0,Q.jsx)("div",{className:p("tf-toaster",e&&e.position==="top"&&"top"),"aria-live":"polite",children:t.map(n=>(0,Q.jsx)(yx,{t:n},n.id))})})}function br(e){let t=e.items||[],n=ht.useState(e.defaultValue||t[0]),a=e.value!=null?e.value:n[0],l=Se("tabs"),i=ht.useRef(null),s=ht.useState({x:0,w:0,ready:!1});ht.useLayoutEffect(()=>{let o=i.current&&i.current.querySelector('[aria-selected="true"]');o&&s[1]({x:o.offsetLeft,w:o.offsetWidth,ready:!0})},[a,t.join("|")]);let c=o=>{n[1](o),e.onChange&&e.onChange(o)},r=o=>l+"-"+t.indexOf(o),u=(0,ee.jsxs)("div",{ref:i,className:p("tf-tabs",e.block&&"tf-tabs-block",e.className),style:e.panels?void 0:e.style,role:"tablist","aria-label":e.label,onKeyDown:o=>{if(Hl(o,i.current,'[role="tab"]',"horizontal")){let f=document.activeElement?.dataset.tab;f!=null&&c(f)}},children:[(0,ee.jsx)("span",{className:"tf-tabs-ind","aria-hidden":!0,style:{width:s[0].w,transform:"translateX("+s[0].x+"px)",opacity:s[0].ready?1:0}}),t.map(o=>(0,ee.jsx)("button",{id:r(o)+"-t",type:"button",role:"tab",className:"tf-tab","data-tab":o,"aria-selected":o===a?"true":"false","aria-controls":e.panels?r(o)+"-p":void 0,tabIndex:o===a?0:-1,onClick:()=>c(o),children:o},o))]});return e.panels?(0,ee.jsxs)("div",{className:"tf-tabset",style:e.style,children:[u,t.map(o=>(0,ee.jsx)("div",{id:r(o)+"-p",role:"tabpanel","aria-labelledby":r(o)+"-t",className:"tf-tabpanel",tabIndex:0,hidden:o!==a,children:e.panels?.[o]},o))]}):u}function pr(e){let t=M(Ha),n=e.items||[];return(0,ee.jsx)("nav",{className:"tf-crumbs","aria-label":t.breadcrumb,children:n.map((a,l)=>{let i=l===n.length-1;return(0,ee.jsxs)(ht.Fragment,{children:[i?(0,ee.jsx)("span",{"aria-current":"page",children:a}):(0,ee.jsx)("a",{href:"#",children:a}),!i&&(0,ee.jsx)(x,{name:"chevronRight",size:13})]},l)})})}function g0(e){let t=M(Ha),n=Math.max(1,e.total||1),a=e.page!==void 0&&e.onChange!==void 0,l=$(a?e.page:void 0,e.defaultPage??e.page??1,e.onChange),i=Math.min(n,Math.max(1,l[0])),s=r=>{let u=Math.min(n,Math.max(1,r));u!==i&&l[1](u)},c=[];for(let r=1;r<=n;r++)r===1||r===n||Math.abs(r-i)<=1?c.push(r):c[c.length-1]!=="\u2026"&&c.push("\u2026");return(0,ee.jsxs)("nav",{className:"tf-pager","aria-label":t.pagination,children:[(0,ee.jsx)(W,{icon:"chevronLeft",label:t.previousPage,size:"sm",onClick:()=>{s(i-1)}}),c.map((r,u)=>r==="\u2026"?(0,ee.jsx)("span",{className:"tf-page","aria-hidden":!0,children:"\u2026"},"e"+u):(0,ee.jsx)("button",{type:"button",className:"tf-page","aria-current":r===i?"page":void 0,onClick:()=>{s(r)},children:r},r)),(0,ee.jsx)(W,{icon:"chevronRight",label:t.nextPage,size:"sm",onClick:()=>{s(i+1)}})]})}function v0(e){let t=ht.useRef(null),[n,a]=ht.useState(null),[l,i]=ht.useState(!1);_n(t,n!=null,()=>a(null));let s=()=>Array.from(t.current?.querySelectorAll(":scope > .tf-menubar-item > button")||[]),c=r=>s()[r]?.focus();return(0,ee.jsx)("div",{ref:t,className:p("tf-menubar",e.className),style:e.style,role:"menubar","aria-label":e.label,onKeyDown:r=>{let u=e.menus.length,o=s().indexOf(document.activeElement),f=r.target.closest(".tf-menu");if(r.key==="ArrowRight"||r.key==="ArrowLeft"){if(f&&r.target.closest(".tf-menu-sub")||f&&r.key==="ArrowRight"&&r.target.getAttribute("aria-haspopup"))return;r.preventDefault();let m=((n??o)+(r.key==="ArrowRight"?1:-1)+u)%u;n!=null&&(i(!0),a(m)),c(m)}else!f&&(r.key==="ArrowDown"||r.key==="Enter"||r.key===" ")&&o>=0?(r.preventDefault(),i(!0),a(o)):!f&&(r.key==="Home"||r.key==="End")&&(r.preventDefault(),c(r.key==="Home"?0:u-1))},children:e.menus.map((r,u)=>(0,ee.jsxs)("div",{className:"tf-menubar-item",children:[(0,ee.jsx)("button",{type:"button",role:"menuitem",className:"tf-menubar-btn","aria-haspopup":"menu","aria-expanded":n===u,tabIndex:u===(n??0)?0:-1,onClick:()=>{i(!1),a(n===u?null:u)},onPointerEnter:()=>n!=null&&n!==u&&a(u),children:r.label}),n===u&&(0,ee.jsx)(At,{className:"tf-menubar-menu",label:r.label,items:r.items,autoFocus:l,onClose:()=>{a(null),c(u)}})]},r.label))})}function b0(e){let t=M(Ha),n=Se("nav"),a=ht.useRef(null),[l,i]=ht.useState(null),s=ht.useRef(void 0);_n(a,l!=null,()=>i(null));let c=r=>{clearTimeout(s.current),s.current=setTimeout(()=>i(r),r==null?150:80)};return ht.useEffect(()=>()=>clearTimeout(s.current),[]),(0,ee.jsx)("nav",{ref:a,className:p("tf-navmenu",e.className),style:e.style,"aria-label":e.label||t.mainNavigation,onKeyDown:r=>{if(r.key==="Escape"&&l!=null){let u=a.current?.querySelector(`#${n}-t${l}`);i(null),u?.focus()}},children:(0,ee.jsx)("ul",{className:"tf-navmenu-list",children:e.items.map((r,u)=>(0,ee.jsxs)("li",{className:"tf-navmenu-item",onPointerEnter:()=>r.links&&c(u),onPointerLeave:()=>r.links&&c(null),children:[r.links?(0,ee.jsxs)("button",{id:`${n}-t${u}`,type:"button",className:"tf-navmenu-trigger","aria-expanded":l===u,"aria-controls":`${n}-p${u}`,onClick:()=>i(l===u?null:u),children:[r.label,(0,ee.jsx)(x,{name:"chevronDown",size:14,className:"tf-navmenu-chev"})]}):(0,ee.jsx)("a",{className:"tf-navmenu-trigger",href:r.href||"#",children:r.label}),r.links&&l===u&&(0,ee.jsxs)("div",{id:`${n}-p${u}`,className:p("tf-navmenu-panel",r.feature&&"with-feature"),children:[r.feature&&(0,ee.jsx)("div",{className:"tf-navmenu-feature",children:r.feature}),(0,ee.jsx)("ul",{className:"tf-navmenu-links",children:r.links.map(o=>(0,ee.jsx)("li",{children:(0,ee.jsxs)("a",{className:"tf-navmenu-link",href:o.href||"#",onClick:()=>{o.onClick?.(),i(null)},children:[o.icon&&(0,ee.jsx)(x,{name:o.icon}),(0,ee.jsxs)("span",{className:"tf-option-text",children:[(0,ee.jsx)("b",{children:o.label}),o.description&&(0,ee.jsx)("small",{children:o.description})]})]})},o.label))})]})]},r.label))})})}function p0(e){let t=M(Ha),n=$(e.collapsed,!!e.defaultCollapsed,e.onCollapsedChange),a=u=>u.id||u.label,l=u=>a(u)===e.current||!!u.items?.some(o=>a(o)===e.current),[i,s]=ht.useState(()=>e.groups.flatMap(u=>u.items.filter(o=>o.items&&l(o)).map(a))),c=Se("side"),r=(u,o=!1)=>{let f=a(u),d=i.includes(f),m=f===e.current;return(0,ee.jsxs)("li",{children:[(0,ee.jsxs)("button",{type:"button",className:p("tf-sidebar-item",o&&"nested",u.items&&l(u)&&"has-current"),"aria-current":m?"page":void 0,"aria-expanded":u.items?d:void 0,"aria-controls":u.items&&d&&!n[0]?`${c}-${f}`:void 0,title:n[0]?u.label:void 0,onClick:()=>{u.items&&!n[0]?s(d?i.filter(N=>N!==f):i.concat(f)):e.onPick?.(f)},children:[!o&&(0,ee.jsx)(x,{name:u.icon}),(0,ee.jsx)("span",{className:"tf-sidebar-label",children:u.label}),u.count?(0,ee.jsx)("span",{className:"tf-subnav-count",children:u.count}):null,u.items&&(0,ee.jsx)(x,{name:"chevronDown",size:14,className:"tf-sidebar-chev"})]}),u.items&&d&&!n[0]&&(0,ee.jsx)("ul",{id:`${c}-${f}`,className:"tf-sidebar-sub",children:u.items.map(N=>r(N,!0))})]},f)};return(0,ee.jsxs)("nav",{className:p("tf-sidebar",n[0]&&"collapsed",e.className),style:e.style,"aria-label":e.label||t.sidebar,children:[e.header&&(0,ee.jsx)("div",{className:"tf-sidebar-head",children:e.header}),(0,ee.jsx)("div",{className:"tf-sidebar-body",children:e.groups.map((u,o)=>(0,ee.jsxs)("div",{className:"tf-sidebar-group",children:[u.label&&(0,ee.jsx)("div",{className:"tf-sidebar-grouplabel",id:`${c}-g${o}`,children:u.label}),(0,ee.jsx)("ul",{"aria-labelledby":u.label?`${c}-g${o}`:void 0,children:u.items.map(f=>r(f))})]},u.label||o))}),(0,ee.jsxs)("div",{className:"tf-sidebar-foot",children:[e.footer,(0,ee.jsx)(W,{icon:n[0]?"chevronRight":"chevronLeft",label:n[0]?t.expandSidebar:t.collapseSidebar,variant:"ghost",size:"sm",onClick:()=>n[1](!n[0])})]})]})}function ga(e){let{locale:t}=J(),n=Fc(e.value,t),a=(u,o)=>Ic(u,o,t),l=n&&typeof e.value=="number"?a(e.value,n):String(e.value),i=gt.useState(n?a(0,n):l),s=gt.useRef(0),c=gt.useRef(!0),r=gt.useRef(null);return gt.useEffect(()=>{if(!n||Rn(r.current)){i[1](l);return}let u=di("--dur-slow",900,r.current),o=s.current,f=null,d=0,m=c.current?e.duration||u:u/2,N=c.current?(e.delay||0)+sh(r.current):0;c.current=!1;let S=n;function k(g){f===null&&(f=g);let v=Math.min(1,Math.max(0,(g-f-N)/m)),b=1-Math.pow(1-v,3),y=o+(S.value-o)*b;s.current=y,i[1](a(y,S)),v<1?d=requestAnimationFrame(k):(s.current=S.value,i[1](l))}return d=requestAnimationFrame(k),()=>{cancelAnimationFrame(d)}},[e.value,t]),(0,L.jsx)("span",{ref:r,className:e.className,children:i[0]})}function S0(e){let t=e.tint||"sky";return(0,L.jsxs)("div",{className:p("tf-stat",t==="placeholder"?"tf-stat-placeholder":"tf-bg-"+t,e.className),children:[typeof e.value=="string"||typeof e.value=="number"?(0,L.jsx)(ga,{className:"tf-stat-value",value:e.value,delay:e.delay||120}):(0,L.jsx)("span",{className:"tf-stat-value",children:e.value}),(0,L.jsx)("span",{className:"tf-stat-label",children:e.label}),e.delta&&(0,L.jsx)("span",{className:"tf-stat-delta",children:e.delta})]})}function x0(e){let t=e.tint&&e.tint!=="surface"?"tf-bg-"+e.tint:null;return(0,L.jsxs)("article",{className:p("tf-card",t,e.onClick&&"tf-card-interactive",e.surface&&"tf-"+e.surface,e.className),style:e.style,tabIndex:e.onClick?0:void 0,onClick:e.onClick,children:[e.corner&&(0,L.jsx)("span",{className:"tf-card-corner",children:e.corner}),e.eyebrow&&(0,L.jsx)("span",{className:"tf-card-meta",children:e.eyebrow}),e.title&&(0,L.jsx)("h3",{className:"tf-card-title",children:e.title}),e.description&&(0,L.jsx)("p",{className:"tf-card-desc",children:e.description}),e.meta&&(0,L.jsx)("div",{className:"tf-card-meta",children:e.meta.map((n,a)=>(0,L.jsx)("span",{children:n},a))}),e.children,(e.status||e.actions)&&(0,L.jsxs)("div",{className:"tf-card-foot",children:[e.status||(0,L.jsx)("span",{}),e.actions&&(0,L.jsx)("div",{className:"tf-row",children:e.actions})]})]})}var y0={meeting:["users","sky"],deadline:["clock","butter"],review:["eye","lilac"],launch:["sparkle","mint"],incident:["bell","blush"]};function C0(e){let t=M(Xn),n=y0[e.kind||"meeting"]||y0.meeting,a=e.tint||n[1];return(0,L.jsxs)("div",{className:p("tf-event","tf-bg-"+a,e.className),children:[(0,L.jsxs)("div",{className:"tf-event-head",children:[(0,L.jsxs)("span",{className:"tf-event-kind",children:[(0,L.jsx)(x,{name:e.icon||n[0],size:14}),e.label]}),(0,L.jsx)("span",{className:"tf-event-date",children:e.date})]}),(0,L.jsx)("p",{className:"tf-event-body",children:e.children}),(0,L.jsxs)("div",{className:"tf-event-bar",children:[(0,L.jsxs)("span",{className:"tf-row",children:[(0,L.jsx)(x,{name:"clock",size:14})," ",e.time]}),e.actions!==!1&&(0,L.jsxs)("span",{className:"tf-row",children:[(0,L.jsx)(W,{icon:"eye",label:t.open,size:"sm",variant:"outline"}),(0,L.jsx)(W,{icon:"edit",label:t.edit,size:"sm",variant:"outline"}),(0,L.jsx)(W,{icon:"trash",label:t.remove,size:"sm",variant:"outline"})]})]})]})}function T0(e){return(0,L.jsxs)("section",{className:p("tf-panel",e.side&&"tf-side",e.surface&&"tf-"+e.surface,e.className),style:e.style,children:[(e.title||e.action)&&(0,L.jsxs)("div",{className:"tf-header",children:[(0,L.jsxs)("div",{children:[(0,L.jsx)("h2",{className:"tf-panel-title",children:e.title}),e.subtitle&&(0,L.jsx)("p",{className:"tf-panel-sub",children:e.subtitle})]}),e.action]}),e.children]})}function E0(e){return(0,L.jsxs)("header",{className:"tf-header",children:[(0,L.jsxs)("div",{children:[e.crumbs&&(0,L.jsx)("div",{style:{marginBottom:8},children:(0,L.jsx)(pr,{items:e.crumbs})}),(0,L.jsx)("h1",{className:"tf-header-title",children:e.title}),e.subtitle&&(0,L.jsx)("p",{className:"tf-header-sub",children:e.subtitle})]}),e.actions&&(0,L.jsx)("div",{className:"tf-row",children:e.actions})]})}var Nx=typeof window>"u"?gt.useEffect:gt.useLayoutEffect;function Bu(e){let t={...e.style};e.delay&&(t["--base"]=e.delay+"ms");let n=gt.useRef(null),[a,l]=gt.useState(!1);return Nx(()=>{let i=n.current;if(!i||e.reveal===!1||typeof IntersectionObserver>"u"||Rn(i)||i.getBoundingClientRect().top<window.innerHeight)return;l(!0);let s=new IntersectionObserver(c=>{c.some(r=>r.isIntersecting)&&(l(!1),s.disconnect())},{rootMargin:"0px 0px -8% 0px"});return s.observe(i),()=>s.disconnect()},[]),gt.createElement(e.as||"div",{ref:n,className:p("tf-stagger",e.className),style:t,"data-reveal":a?"waiting":void 0},e.children)}function M0(e){let t=e.columns||[],n=gt.useRef(null);return ma(n),(0,L.jsx)("div",{ref:n,className:"tf-table-scroll",children:(0,L.jsxs)("table",{className:"tf-table",children:[(0,L.jsx)("thead",{children:(0,L.jsx)("tr",{children:t.map(a=>(0,L.jsx)("th",{className:a.align==="right"?"tf-num":void 0,style:a.width?{width:a.width}:void 0,children:a.label},a.key))})}),(0,L.jsx)("tbody",{className:e.animate===!1?void 0:"tf-stagger",style:{"--base":"180ms"},children:(e.rows||[]).map((a,l)=>(0,L.jsx)("tr",{children:t.map(i=>(0,L.jsx)("td",{className:i.align==="right"?"tf-num":void 0,children:i.render?i.render(a):a[i.key]},i.key))},l))})]})})}function k0(e){let t=M(Xn);return(0,L.jsxs)("button",{type:"button",className:"tf-row-item","aria-current":e.active?"true":void 0,onClick:e.onClick,children:[e.leading||(e.avatar?(0,L.jsx)(Ve,{name:e.avatar,size:36}):(0,L.jsx)(ce,{icon:e.icon||"mail",tint:e.tint||"plain",size:36})),(0,L.jsxs)("span",{style:{minWidth:0},children:[(0,L.jsxs)("span",{className:"tf-row-title",children:[e.unread&&(0,L.jsx)("span",{className:"tf-unread",role:"img","aria-label":t.unread}),e.title]}),e.subtitle&&(0,L.jsx)("span",{className:"tf-row-sub",style:{display:"block"},children:e.subtitle})]}),(0,L.jsxs)("span",{className:"tf-row-meta",children:[e.meta,e.trailing]})]})}function R0(e){return(0,L.jsx)("ol",{className:"tf-timeline tf-stagger",style:{"--base":(e.delay||200)+"ms"},children:(e.items||[]).map((t,n)=>(0,L.jsxs)("li",{className:"tf-tl-item",children:[t.avatar?(0,L.jsx)(Ve,{name:t.avatar,size:30}):(0,L.jsx)(ce,{icon:t.icon||"sparkle",tint:t.tint||"plain"}),(0,L.jsxs)("div",{children:[(0,L.jsx)("p",{className:"tf-tl-text",children:t.text}),(0,L.jsx)("span",{className:"tf-tl-time",children:t.time})]})]},n))})}var N0={pdf:["file","blush"],fig:["sparkle","lilac"],sheet:["chart","mint"],doc:["book","sky"],zip:["folder","butter"]};function w0(e){let t=M(Xn),n=N0[e.kind||"doc"]||N0.doc;return(0,L.jsxs)("div",{className:"tf-file",children:[(0,L.jsx)(ce,{icon:n[0],tint:n[1]}),(0,L.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,L.jsx)("div",{className:"tf-file-name",children:e.name}),(0,L.jsx)("div",{className:"tf-file-meta",children:e.meta})]}),(0,L.jsx)(W,{icon:"download",label:t.downloadItem(e.name),size:"sm"})]})}function z0(e){let t=M(Xn);return(0,L.jsxs)("section",{className:"tf-kanban","aria-label":e.title,children:[(0,L.jsxs)("div",{className:"tf-kanban-head",children:[(0,L.jsxs)("span",{className:"tf-row",style:{gap:0},children:[e.dot&&(0,L.jsx)("span",{className:"tf-badge-dot",style:{color:"var(--"+e.dot+"-ink)",width:8,height:8,borderRadius:"50%",background:"currentColor",marginRight:8}}),e.title,(0,L.jsx)("span",{className:"tf-kanban-count",children:gt.Children.count(e.children)})]}),(0,L.jsx)(W,{icon:"more",label:t.columnOptions,size:"sm"})]}),(0,L.jsx)(Bu,{className:"tf-col",style:{gap:10},delay:e.delay||0,children:e.children}),(0,L.jsxs)("button",{type:"button",className:"tf-kanban-add",onClick:e.onAdd,children:[(0,L.jsx)(x,{name:"plus",size:14}),t.addCard]})]})}function yr(e){let t=M(Xn),n=Math.max(0,Math.min(100,e.value||0));return(0,L.jsx)("div",{className:p("tf-progress",e.tint&&"tf-progress-"+e.tint),role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":e.label||t.progress,children:(0,L.jsx)("span",{style:{width:n+"%"}})})}function A0(e){let t=M(Xn),{formatPercent:n}=J(),a=e.size||88,l=e.stroke||9,i=(a-l)/2,s=2*Math.PI*i,c=Math.max(0,Math.min(100,e.value||0)),r=Ga(150);return(0,L.jsxs)("div",{className:"tf-ring",style:{width:a,height:a},role:"img","aria-label":(e.label||t.progress)+" "+n(c,{maximumFractionDigits:2}),children:[(0,L.jsxs)("svg",{width:a,height:a,viewBox:"0 0 "+a+" "+a,children:[(0,L.jsx)("circle",{className:"tf-arc-track",cx:a/2,cy:a/2,r:i,strokeWidth:l}),(0,L.jsx)("circle",{className:p("tf-arc","tf-arc-"+(e.tint||"ink")),cx:a/2,cy:a/2,r:i,strokeWidth:l,strokeDasharray:s,strokeDashoffset:r?s*(1-c/100):s})]}),(0,L.jsx)("span",{className:"tf-ring-label",children:(0,L.jsxs)("span",{children:[(0,L.jsx)(ga,{value:n(c,{maximumFractionDigits:2}),delay:150}),e.caption&&(0,L.jsx)("small",{children:e.caption})]})})]})}function Nr(e){let t=Math.pow(10,Math.floor(Math.log10(e||1)));return Math.ceil(e/t)*t}function D0(e){let t=M(vn),n=jl(e.width,560),a=e.data||[],l=n[1],i=e.height||200,s=34,c=Nr(Math.max.apply(null,a.map(d=>d.value).concat([1]))),r=a.length,u=Math.max(1,(l-s)/r),o=Math.max(1,Math.min(e.barWidth||28,u*.62)),f=[0,.5,1];return(0,D.jsx)("div",{ref:n[0],className:"tf-chart-wrap",children:(0,D.jsxs)("svg",{className:"tf-chart",width:l,height:i+22,viewBox:"0 0 "+l+" "+(i+22),preserveAspectRatio:"xMinYMin meet",role:"img","aria-label":e.label||t.barChart,children:[f.map(d=>{let m=i-d*(i-10);return(0,D.jsxs)("g",{children:[(0,D.jsx)("line",{className:"grid",x1:s,x2:l,y1:m,y2:m,strokeDasharray:d?"3 5":void 0}),(0,D.jsx)("text",{x:0,y:m+4,children:e.format?e.format(c*d):Math.round(c*d)})]},d)}),a.map((d,m)=>{let N=Math.max(4,d.value/c*(i-10)),S=s+u*m+(u-o)/2;return(0,D.jsxs)("g",{children:[(0,D.jsx)("rect",{className:p("tf-bar","tf-bar-"+(d.tint||e.tint||"ink")),x:S,y:i-N,width:o,height:N,rx:Math.min(10,o/2),style:{animationDelay:`calc(var(--enter-delay, 0ms) + ${120+m*55}ms * var(--motion-time, 1))`},children:(0,D.jsx)("title",{children:d.label+": "+d.value})}),(0,D.jsx)("text",{x:S+o/2,y:i+18,textAnchor:"middle",children:d.label})]},m)})]})})}function O0(e){let t=M(vn),n=jl(e.width,560),a=e.series||[],l=e.labels||[],i=n[1],s=e.height||200,c=44,r=[];a.forEach(N=>{r=r.concat(N.values)});let u=Nr(Math.max(...r,1)),o=l.length||a[0]&&a[0].values.length||1;function f(N){return c+14+(i-c-32)*(o===1?0:N/(o-1))}function d(N){return s-N/u*(s-12)}function m(N){return N.map((S,k)=>(k?"L":"M")+f(k).toFixed(1)+" "+d(S).toFixed(1)).join(" ")}return(0,D.jsx)("div",{ref:n[0],className:"tf-chart-wrap",children:(0,D.jsxs)("svg",{className:"tf-chart",width:i,height:s+22,viewBox:"0 0 "+i+" "+(s+22),preserveAspectRatio:"xMinYMin meet",role:"img","aria-label":e.label||t.lineChart,children:[[0,.5,1].map(N=>{let S=s-N*(s-12);return(0,D.jsxs)("g",{children:[(0,D.jsx)("line",{className:"grid",x1:c,x2:i,y1:S,y2:S,strokeDasharray:N?"3 5":void 0}),(0,D.jsx)("text",{x:0,y:S+4,children:e.format?e.format(u*N):Math.round(u*N)})]},N)}),l.map((N,S)=>(0,D.jsx)("text",{x:f(S),y:s+18,textAnchor:"middle",children:N},N+S)),a.map((N,S)=>{let k=N.tint||"ink",g=m(N.values),v=N.values.length-1;return(0,D.jsxs)("g",{children:[N.area&&(0,D.jsx)("path",{className:p("tf-area","tf-area-"+k),d:g+" L"+f(v)+" "+s+" L"+f(0)+" "+s+" Z"}),(0,D.jsx)("path",{className:p("tf-line","tf-line-"+k),d:g,pathLength:1,style:{animationDelay:`calc(var(--enter-delay, 0ms) + ${150+S*200}ms * var(--motion-time, 1))`}}),(0,D.jsx)("circle",{className:p("tf-dotpt","tf-line-"+k),cx:f(v),cy:d(N.values[v]),r:4.5})]},S)})]})})}function Mi(e){let t=M(vn),n=e.values||[],a=e.width||120,l=e.height||36,i=Math.max.apply(null,n),s=Math.min.apply(null,n),c=i-s||1,r=n.map((u,o)=>(o?"L":"M")+(2+(a-4)*o/(n.length-1)).toFixed(1)+" "+(l-3-(u-s)/c*(l-6)).toFixed(1)).join(" ");return(0,D.jsx)("svg",{className:"tf-chart",viewBox:"0 0 "+a+" "+l,width:a,height:l,role:"img","aria-label":e.label||t.trend,children:(0,D.jsx)("path",{className:p("tf-line","tf-line-"+(e.tint||"ink")),d:r,pathLength:1,style:{strokeWidth:2}})})}function j0(e){let t=M(vn),n=e.data||[],a=e.size||168,l=e.stroke||22,i=(a-l)/2,s=2*Math.PI*i,c=n.reduce((f,d)=>f+d.value,0)||1,r=Ga(150),u=0,o=n.length>1?6:0;return(0,D.jsxs)("div",{className:"tf-donut",style:{gap:24},children:[(0,D.jsxs)("div",{className:"tf-ring",style:{width:a,height:a},children:[(0,D.jsxs)("svg",{width:a,height:a,viewBox:"0 0 "+a+" "+a,role:"img","aria-label":e.label||t.breakdown,children:[(0,D.jsx)("circle",{className:"tf-arc-track",cx:a/2,cy:a/2,r:i,strokeWidth:l}),n.map((f,d)=>{let m=Math.max(0,s*f.value/c-o),N=u;return u+=s*f.value/c,(0,D.jsx)("circle",{className:p("tf-arc","tf-arc-"+(f.tint||"ink")),cx:a/2,cy:a/2,r:i,strokeWidth:l,strokeDasharray:(r?m:0)+" "+s,strokeDashoffset:-N,style:{transition:"stroke-dasharray var(--dur-slow) var(--ease-out) "+d*90+"ms"}},d)})]}),e.center&&(0,D.jsx)("span",{className:"tf-ring-label",children:(0,D.jsxs)("span",{children:[(0,D.jsx)(ga,{value:e.center}),e.caption&&(0,D.jsx)("small",{children:e.caption})]})})]}),e.legend!==!1&&(0,D.jsx)("div",{className:"tf-col tf-donut-legend",style:{gap:12},children:n.map((f,d)=>(0,D.jsxs)("div",{className:"tf-legend",style:{justifyContent:"space-between"},children:[(0,D.jsxs)("span",{children:[(0,D.jsx)("i",{style:{background:(f.tint||"ink")==="ink"?"var(--primary)":"var(--"+f.tint+"-ink)"}}),f.label]}),(0,D.jsx)("b",{style:{color:"var(--ink)"},children:Math.round(f.value/c*100)+"%"})]},d))})]})}function L0(e){return(0,D.jsxs)("div",{className:"tf-chart-tip",style:{left:e.x,top:e.y},children:[(0,D.jsx)("b",{children:e.title}),e.rows.map(t=>(0,D.jsxs)("span",{children:[(0,D.jsx)("i",{className:"tf-sw tf-sw-"+t.tint}),t.label,(0,D.jsx)("em",{children:t.value})]},t.label))]})}function Sr(e){return(0,D.jsx)("div",{className:"tf-legend",children:(e.items||[]).map(t=>(0,D.jsxs)("span",{children:[(0,D.jsx)("i",{className:"tf-sw tf-sw-"+(t.tint||"ink")}),t.name||t.label]},t.name||t.label))})}function H0(e){let t=M(vn),n=jl(e.width,560),a=n[1],l=e.height||200,i=40,s=e.series||[],c=e.labels||[],r=Ei.useState(null),u=e.format||(S=>Math.round(S)),o=c.map((S,k)=>s.reduce((g,v)=>g+(v.values[k]||0),0)),f=Nr(Math.max.apply(null,o.concat([1]))),d=c.length||1,m=Math.max(1,(a-i)/d),N=Math.max(1,Math.min(e.barWidth||28,m*.62));return(0,D.jsxs)("div",{ref:n[0],className:"tf-chart-wrap tf-chart-hover",children:[(0,D.jsxs)("svg",{className:"tf-chart",width:a,height:l+22,viewBox:"0 0 "+a+" "+(l+22),role:"img","aria-label":e.label||t.stackedBarChart,onPointerLeave:()=>{r[1](null)},children:[[0,.5,1].map(S=>{let k=l-S*(l-10);return(0,D.jsxs)("g",{children:[(0,D.jsx)("line",{className:"grid",x1:i,x2:a,y1:k,y2:k,strokeDasharray:S?"3 5":void 0}),(0,D.jsx)("text",{x:0,y:k+4,children:u(f*S)})]},S)}),c.map((S,k)=>{let g=i+m*k+(m-N)/2,v=0;return(0,D.jsxs)("g",{onPointerEnter:()=>{r[1](k)},className:r[0]!=null&&r[0]!==k?"dim":void 0,children:[(0,D.jsx)("rect",{x:i+m*k,y:0,width:m,height:l,fill:"transparent"}),s.map((b,y)=>{let z=b.values[k]||0,q=z/f*(l-10),U=l-v-q;v+=q;let O=y===s.length-1||s.slice(y+1).every(P=>!(P.values[k]>0));return z>0&&(0,D.jsx)("path",{className:p("tf-seg-bar","tf-sf-"+(b.tint||"ink")),style:{animationDelay:`calc(var(--enter-delay, 0ms) + ${120+k*45}ms * var(--motion-time, 1))`},d:O?Sx(g,U,N,Math.max(q-2,1),Math.min(8,N/2)):"M"+g+" "+U+"h"+N+"v"+Math.max(q-2,1)+"h-"+N+"z"},y)}),(0,D.jsx)("text",{x:g+N/2,y:l+18,textAnchor:"middle",children:S})]},k)})]}),r[0]!=null&&(0,D.jsx)(L0,{x:Math.min(a-180,i+m*r[0]+m/2+12),y:8,title:c[r[0]]+" \xB7 "+u(o[r[0]]),rows:s.slice().reverse().map(S=>({label:S.name,tint:S.tint||"ink",value:u(S.values[r[0]]||0)}))}),e.legend!==!1&&(0,D.jsx)(Sr,{items:s})]})}function Sx(e,t,n,a,l){return l=Math.min(l,a),"M"+e+" "+(t+a)+"V"+(t+l)+"Q"+e+" "+t+" "+(e+l)+" "+t+"H"+(e+n-l)+"Q"+(e+n)+" "+t+" "+(e+n)+" "+(t+l)+"V"+(t+a)+"Z"}function _0(e){if(e.length<2)return"";let t="M"+e[0][0].toFixed(1)+" "+e[0][1].toFixed(1);for(let n=0;n<e.length-1;n++){let a=e[n],l=e[n+1],i=(a[0]+l[0])/2;t+=" C"+i.toFixed(1)+" "+a[1].toFixed(1)+" "+i.toFixed(1)+" "+l[1].toFixed(1)+" "+l[0].toFixed(1)+" "+l[1].toFixed(1)}return t}function U0(e){let t=M(vn),n=jl(e.width,560),a=n[1],l=e.height||200,i=44,s=e.series||[],c=e.labels||[],r=Ei.useState(null),u=e.format||(g=>Math.round(g)),o=c.length,f=e.stacked!==!1,d=c.map(()=>0),m=[];s.forEach(g=>{let v=g.values.map((b,y)=>(f?d[y]:0)+b);m.push({s:g,lo:f?d.slice():c.map(()=>0),hi:v}),f&&(d=v)});let N=Nr(Math.max(...m.reduce((g,v)=>g.concat(v.hi),[1])));function S(g){return i+8+(a-i-16)*(o===1?0:g/(o-1))}function k(g){return l-g/N*(l-12)}return(0,D.jsxs)("div",{ref:n[0],className:"tf-chart-wrap tf-chart-hover",children:[(0,D.jsxs)("svg",{className:"tf-chart",width:a,height:l+22,viewBox:"0 0 "+a+" "+(l+22),role:"img","aria-label":e.label||t.areaChart,onPointerMove:g=>{let v=g.currentTarget.getBoundingClientRect(),b=(g.clientX-v.left)*a/v.width;r[1](Math.max(0,Math.min(o-1,Math.round((b-i-8)/((a-i-16)/Math.max(1,o-1))))))},onPointerLeave:()=>{r[1](null)},children:[[0,.5,1].map(g=>{let v=l-g*(l-12);return(0,D.jsxs)("g",{children:[(0,D.jsx)("line",{className:"grid",x1:i,x2:a,y1:v,y2:v,strokeDasharray:g?"3 5":void 0}),(0,D.jsx)("text",{x:0,y:v+4,children:u(N*g)})]},g)}),c.map((g,v)=>(o<=12||v%Math.ceil(o/8)===0)&&(0,D.jsx)("text",{x:S(v),y:l+18,textAnchor:"middle",children:g},v)),m.slice().reverse().map((g,v)=>{let b=g.hi.map((O,P)=>[S(P),k(O)]),y=g.lo.map((O,P)=>[S(P),k(O)]).reverse(),z=g.s.tint||"ink",q=_0(b),U=_0(y).replace(/^M/,"L");return(0,D.jsxs)("g",{children:[(0,D.jsx)("path",{className:p("tf-area2","tf-af-"+z),d:q+" "+U+" Z"}),(0,D.jsx)("path",{className:p("tf-line","tf-line-"+z),d:q,pathLength:1,style:{strokeWidth:2}})]},v)}),r[0]!=null&&(0,D.jsxs)("g",{children:[(0,D.jsx)("line",{className:"tf-crosshair",x1:S(r[0]),x2:S(r[0]),y1:0,y2:l}),m.map((g,v)=>(0,D.jsx)("circle",{className:p("tf-hoverpt","tf-line-"+(g.s.tint||"ink")),cx:S(r[0]),cy:k(g.hi[r[0]]),r:4},v))]})]}),r[0]!=null&&(0,D.jsx)(L0,{x:S(r[0])>a-200?S(r[0])-192:S(r[0])+12,y:8,title:c[r[0]],rows:s.slice().reverse().map(g=>({label:g.name,tint:g.tint||"ink",value:u(g.values[r[0]])}))}),e.legend!==!1&&(0,D.jsx)(Sr,{items:s})]})}function B0(e){let t=M(vn),n=e.rows||[],a=e.cols||[],l=e.values||[],i=l.flat(),s=Math.max(...i,1),c=e.format||String,r=Ei.useState(null);function u(o){return o<=0?0:Math.min(4,Math.ceil(o/s*4))}return(0,D.jsxs)("div",{className:"tf-heat-wrap",children:[(0,D.jsxs)("div",{className:"tf-heat",style:{gridTemplateColumns:"auto repeat("+a.length+", minmax(0, 1fr))"},role:"img","aria-label":e.label||t.heatmap,onPointerLeave:()=>{r[1](null)},children:[(0,D.jsx)("span",{}),a.map((o,f)=>(0,D.jsx)("span",{className:"tf-heat-col",children:!e.colEvery||f%e.colEvery===0?o:""},"c"+f)),n.map((o,f)=>(0,D.jsxs)(Ei.Fragment,{children:[(0,D.jsx)("span",{className:"tf-heat-row",children:o}),a.map((d,m)=>{let N=(l[f]||[])[m]||0;return(0,D.jsx)("span",{className:p("tf-heat-cell","l"+u(N),r[0]&&r[0][0]===f&&r[0][1]===m&&"hov"),style:{animationDelay:`calc(var(--enter-delay, 0ms) + ${m*12+f*30}ms * var(--motion-time, 1))`},onPointerEnter:()=>{r[1]([f,m])},title:o+" "+d+": "+c(N)},m)})]},f))]}),(0,D.jsxs)("div",{className:"tf-heat-foot",children:[(0,D.jsx)("span",{children:r[0]?n[r[0][0]]+" \xB7 "+a[r[0][1]]+" \u2014 "+c((l[r[0][0]]||[])[r[0][1]]||0):e.caption||""}),(0,D.jsxs)("span",{className:"tf-heat-scale",children:[t.less,[0,1,2,3,4].map(o=>(0,D.jsx)("i",{className:"tf-heat-cell l"+o},o)),t.more]})]})]})}function V0(e){let{formatNumber:t}=J(),n=e.steps||[],a=n[0]&&n[0].value||1,l=e.format||(s=>t(s)),i=Ga(120);return(0,D.jsx)("div",{className:"tf-funnel",children:n.map((s,c)=>{let r=s.value/a*100,u=c?s.value/(n[c-1].value||1)*100:null;return(0,D.jsxs)("div",{className:"tf-funnel-row",children:[(0,D.jsxs)("div",{className:"tf-funnel-label",children:[(0,D.jsx)("b",{children:s.label}),(0,D.jsx)("span",{children:l(s.value)})]}),(0,D.jsxs)("div",{className:"tf-funnel-track",children:[(0,D.jsx)("span",{className:p("tf-funnel-bar","tf-sf-"+(s.tint||e.tint||"sky")),style:{width:(i?Math.max(r,2):0)+"%",transitionDelay:c*90+"ms"}}),(0,D.jsx)("em",{children:Math.round(r)+"%"})]}),(0,D.jsx)("div",{className:"tf-funnel-conv",children:u!=null?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(x,{name:"chevronDown",size:12}),Math.round(u)+"%"]}):""})]},c)})})}function q0(e){let t=M(vn),n=e.size||200,a=e.stroke||18,l=(n-a)/2,i=Math.PI*l,s=e.max||100,c=Math.max(0,Math.min(s,e.value||0)),r=Ga(150),u=e.tint||(e.thresholds?c>=e.thresholds[1]?"blush":c>=e.thresholds[0]?"butter":"mint":"ink");return(0,D.jsxs)("div",{className:"tf-gauge",style:{width:n},children:[(0,D.jsxs)("svg",{width:n,height:n/2+a/2,viewBox:"0 0 "+n+" "+(n/2+a/2),role:"img","aria-label":t.gaugeValue(e.label||t.gauge,c,s),children:[(0,D.jsx)("path",{className:"tf-arc-track",d:"M"+a/2+" "+n/2+" A"+l+" "+l+" 0 0 1 "+(n-a/2)+" "+n/2,strokeWidth:a,strokeLinecap:"round"}),(0,D.jsx)("path",{className:p("tf-gauge-arc","tf-arc-"+u),d:"M"+a/2+" "+n/2+" A"+l+" "+l+" 0 0 1 "+(n-a/2)+" "+n/2,strokeWidth:a,strokeLinecap:"round",strokeDasharray:i,strokeDashoffset:r?i*(1-c/s):i})]}),(0,D.jsxs)("div",{className:"tf-gauge-label",children:[(0,D.jsx)("b",{children:e.format?e.format(c):(0,D.jsx)(ga,{value:c})}),e.caption&&(0,D.jsx)("span",{children:e.caption})]}),e.showRange!==!1&&(0,D.jsxs)("div",{className:"tf-gauge-range",children:[(0,D.jsx)("span",{children:e.format?e.format(0):0}),(0,D.jsx)("span",{children:e.format?e.format(s):s})]})]})}var Ee=G(ye(),1),L3=G(re(),1);function Vu(e){let t=Se("in"),n=ha(e.name),a=e.id||t,l=e.error||n;return{id:a,error:l,describedBy:l||e.hint?`${a}-msg`:void 0}}function qu(e,t,n){return(0,Ee.jsxs)("div",{className:p("tf-field",e.className),style:e.style,children:[e.label&&(0,Ee.jsxs)("label",{className:"tf-field-label",htmlFor:t.id,children:[e.label,e.required&&(0,Ee.jsx)("span",{className:"tf-req","aria-hidden":!0,children:" *"})]}),n,t.error?(0,Ee.jsxs)("span",{id:`${t.id}-msg`,className:"tf-field-error",role:"alert",children:[(0,Ee.jsx)(x,{name:"x",size:12}),t.error]}):e.hint&&(0,Ee.jsx)("span",{id:`${t.id}-msg`,className:"tf-field-hint",children:e.hint})]})}function G0(e){let t=Vu(e);return qu(e,t,(0,Ee.jsx)("input",{id:t.id,name:e.name,className:"tf-input",type:e.type||"text",placeholder:e.placeholder,defaultValue:e.defaultValue,value:e.value,onChange:e.onChange,disabled:e.disabled,required:e.required,"aria-invalid":t.error?"true":void 0,"aria-describedby":t.describedBy}))}function Y0(e){let t=Vu(e);return qu(e,t,(0,Ee.jsx)("select",{id:t.id,name:e.name,className:"tf-input",defaultValue:e.defaultValue,value:e.value,onChange:e.onChange,required:e.required,"aria-invalid":t.error?"true":void 0,"aria-describedby":t.describedBy,children:(e.options||[]).map(n=>(0,Ee.jsx)("option",{value:n,children:n},n))}))}function Q0(e){let t=Vu(e);return qu(e,t,(0,Ee.jsx)("textarea",{id:t.id,name:e.name,className:"tf-input",placeholder:e.placeholder,value:e.value,defaultValue:e.defaultValue,onChange:e.onChange,disabled:e.disabled,required:e.required,rows:e.rows||4,"aria-invalid":t.error?"true":void 0,"aria-describedby":t.describedBy}))}function Dn(e){let t=M();return(0,Ee.jsxs)("label",{className:p("tf-search",e.className),style:e.style,children:[(0,Ee.jsx)(x,{name:"search",size:15}),(0,Ee.jsx)("input",{type:"search",placeholder:e.placeholder||t.search,"aria-label":e.label||e.placeholder||t.search,value:e.value,onChange:e.onChange}),e.shortcut&&(0,Ee.jsx)("span",{className:"tf-kbd",children:e.shortcut})]})}function xr(e){return(0,Ee.jsxs)("label",{className:"tf-check",children:[(0,Ee.jsxs)("span",{className:"tf-checkbox",children:[(0,Ee.jsx)("input",{type:"checkbox",name:e.name,value:e.value,required:e.required,defaultChecked:e.defaultChecked,checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-label":e.label}),(0,Ee.jsx)("span",{className:"tf-checkbox-box","aria-hidden":!0,children:(0,Ee.jsx)("svg",{viewBox:"0 0 24 24",width:14,height:14,fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,Ee.jsx)("path",{d:"M5 12.5l4.5 4.5L19 7.5"})})})]}),e.children]})}function Qa(e){return(0,Ee.jsxs)("label",{className:"tf-check",style:e.spread?{justifyContent:"space-between",width:"100%"}:void 0,children:[e.spread&&e.children,(0,Ee.jsx)("input",{type:"checkbox",role:"switch",className:"tf-switch",name:e.name,defaultChecked:e.defaultChecked,checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-label":e.label}),!e.spread&&e.children]})}function Us(e){return(0,Ee.jsxs)("span",{className:"tf-checkbox",children:[(0,Ee.jsx)("input",{type:"checkbox",checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-label":e.label,ref:e.indeterminate!=null?t=>{t&&(t.indeterminate=!!e.indeterminate)}:void 0}),(0,Ee.jsx)("span",{className:"tf-checkbox-box","aria-hidden":!0,children:(0,Ee.jsx)("svg",{viewBox:"0 0 24 24",width:14,height:14,fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,Ee.jsx)("path",{d:e.indeterminate?"M6 12h12":"M5 12.5l4.5 4.5L19 7.5"})})})]})}var fe=G(ye(),1),st=G(re(),1);function Cr(e){let t=e.keys||[e.children];return(0,fe.jsx)("span",{className:"tf-kbds",children:t.map((n,a)=>(0,fe.jsx)("kbd",{className:"tf-kbd2",children:n},a))})}function Fn(e){return(0,fe.jsx)("dl",{className:p("tf-kv",e.dense&&"dense",e.className),children:(e.items||[]).map((t,n)=>{let a=Array.isArray(t)?{k:t[0],v:t[1],mono:t[2]}:t;return(0,fe.jsxs)("div",{children:[(0,fe.jsx)("dt",{children:a.k}),(0,fe.jsx)("dd",{className:a.mono?"tf-mono":void 0,children:a.v==null||a.v===""?(0,fe.jsx)("span",{className:"tf-kv-empty",children:"\u2014"}):a.v})]},n)})})}function Tr(e){let t=M(pi);return(0,fe.jsx)("span",{className:p("tf-spinner",e.size==="lg"&&"lg"),role:"status","aria-label":e.label||t.loading})}function ki(e){let t=$(e.open,!!e.defaultOpen,e.onOpenChange);return(0,fe.jsxs)("div",{className:p("tf-collapse",t[0]&&"open",e.className),children:[(0,fe.jsxs)("button",{type:"button",className:"tf-collapse-head","aria-expanded":t[0],onClick:()=>{t[1](!t[0])},children:[(0,fe.jsx)(x,{name:"chevronRight",size:14,className:"tf-collapse-chev"}),(0,fe.jsx)("b",{children:e.title}),e.meta&&(0,fe.jsx)("span",{className:"tf-collapse-meta",children:e.meta})]}),t[0]&&(0,fe.jsx)("div",{className:"tf-collapse-body tf-in",children:e.children})]})}function X0(e){let t=st.useState(null),n=st.useRef(null),a=st.useRef(void 0);_n(n,!!t[0],()=>{t[1](null)});function l(i,s){if(!n.current)return;let c=n.current.getBoundingClientRect();t[1]({x:i-c.left,y:s-c.top})}return(0,fe.jsxs)("div",{ref:n,className:"tf-ctx",onContextMenu:i=>{i.preventDefault(),l(i.clientX,i.clientY)},onTouchStart:i=>{let s=i.touches[0];s&&(a.current=setTimeout(()=>{l(s.clientX,s.clientY)},500))},onTouchEnd:()=>{clearTimeout(a.current)},children:[e.children,t[0]&&(0,fe.jsx)("div",{className:"tf-ctx-menu",style:{left:t[0].x,top:t[0].y},children:(0,fe.jsx)(At,{items:(e.items||[]).map(i=>i==="-"?i:Object.assign({},i,{onClick:()=>{t[1](null),i.onClick&&i.onClick()}}))})})]})}function K0(e){let t=e.storageKey&&"tf-split-"+e.storageKey,n=e.defaultSize||360;try{let c=t?localStorage.getItem(t):null;c&&(n=+c)}catch{}let a=st.useState(n),l=st.useRef(null),i=st.useRef(!1);function s(c){c=Math.max(e.min||200,Math.min(e.max||720,c)),a[1](c);try{t&&localStorage.setItem(t,String(c))}catch{}}return st.useEffect(()=>{function c(u){if(!i.current||!l.current)return;let o=l.current.getBoundingClientRect();s(u.clientX-o.left)}function r(){i.current=!1,document.body.style.cursor=""}return window.addEventListener("pointermove",c),window.addEventListener("pointerup",r),()=>{window.removeEventListener("pointermove",c),window.removeEventListener("pointerup",r)}},[]),(0,fe.jsxs)("div",{ref:l,className:p("tf-split",e.className),style:{"--split":a[0]+"px"},children:[(0,fe.jsx)("div",{className:"tf-split-a",children:e.left}),(0,fe.jsx)("div",{className:"tf-split-handle",role:"separator","aria-orientation":"vertical","aria-valuenow":a[0],tabIndex:0,onPointerDown:c=>{c.preventDefault(),i.current=!0,document.body.style.cursor="col-resize"},onDoubleClick:()=>{s(e.defaultSize||360)},onKeyDown:c=>{c.key==="ArrowLeft"&&s(a[0]-16),c.key==="ArrowRight"&&s(a[0]+16)}}),(0,fe.jsx)("div",{className:"tf-split-b",children:e.right})]})}function Z0(e){let t=st.useState(e.defaultOpen||[]),n=$(e.selected,void 0,e.onSelect);function a(l,i){let s=l.children&&l.children.length,c=t[0].indexOf(l.id)>-1;return(0,fe.jsxs)("li",{role:"treeitem","aria-expanded":s?c:void 0,"aria-selected":n[0]===l.id,children:[(0,fe.jsxs)("div",{className:p("tf-tree-row",n[0]===l.id&&"on"),style:{paddingLeft:8+i*16},tabIndex:0,onClick:()=>{n[1](l.id),s&&t[1](c?t[0].filter(r=>r!==l.id):t[0].concat([l.id]))},onKeyDown:r=>{r.key==="ArrowRight"&&s&&!c&&t[1](t[0].concat([l.id])),r.key==="ArrowLeft"&&c&&t[1](t[0].filter(u=>u!==l.id)),r.key==="Enter"&&n[1](l.id)},children:[s?(0,fe.jsx)(x,{name:"chevronRight",size:13,className:p("tf-tree-chev",c&&"open")}):(0,fe.jsx)("span",{className:"tf-tree-sp"}),l.icon&&(0,fe.jsx)(x,{name:l.icon,size:15}),(0,fe.jsx)("span",{className:"tf-tree-label",children:l.label}),l.meta!=null&&(0,fe.jsx)("span",{className:"tf-tree-meta",children:l.meta})]}),s&&c&&(0,fe.jsx)("ul",{role:"group",children:l.children?.map(r=>a(r,i+1))})]},l.id)}return(0,fe.jsx)("ul",{className:"tf-tree",role:"tree","aria-label":e.label,children:(e.items||[]).map(l=>a(l,0))})}function Er(e){let t=st.useState(!1),n=st.useState(e.value);function a(){t[1](!1),n[0]!==e.value&&e.onSave&&e.onSave(n[0])}return t[0]?e.options?(0,fe.jsx)("select",{className:"tf-input tf-inline-input",autoFocus:!0,value:n[0],onChange:l=>{n[1](l.target.value)},onBlur:a,onKeyDown:l=>{l.key==="Enter"&&a(),l.key==="Escape"&&t[1](!1)},children:e.options.map(l=>(0,fe.jsx)("option",{value:l,children:l},l))}):(0,fe.jsx)("input",{className:p("tf-input tf-inline-input",e.mono&&"tf-mono"),autoFocus:!0,value:n[0],type:e.type||"text",onChange:l=>{n[1](l.target.value)},onBlur:a,onKeyDown:l=>{l.key==="Enter"&&a(),l.key==="Escape"&&t[1](!1)}}):(0,fe.jsxs)("span",{className:p("tf-inline",e.mono&&"tf-mono",e.align==="right"&&"right"),tabIndex:0,role:"button","aria-label":e.label,onDoubleClick:()=>{n[1](e.value),t[1](!0)},onKeyDown:l=>{l.key==="Enter"&&(n[1](e.value),t[1](!0))},children:[e.display?e.display(e.value):e.value,(0,fe.jsx)(x,{name:"edit",size:12,className:"tf-inline-ico"})]})}function F0(e){let t=M(pi),n=(e.panels||[]).length,a=e.orientation==="vertical",l=e.min??10,i=()=>{let m=Array.from({length:n},()=>100/n),N=e.defaultSizes&&e.defaultSizes.length===n?e.defaultSizes:m;try{let S=e.storageKey?localStorage.getItem("tf-panels-"+e.storageKey):null,k=S?JSON.parse(S):null;if(k&&k.length===n)return k}catch{}return N},[s,c]=st.useState(i),r=st.useRef(null),u=st.useRef(null),o=m=>{c(m);try{e.storageKey&&localStorage.setItem("tf-panels-"+e.storageKey,JSON.stringify(m))}catch{}},f=(m,N)=>{let S=s[m]??0,k=s[m+1]??0,g=Math.max(l-S,Math.min(k-l,N));if(!g)return;let v=s.slice();v[m]=S+g,v[m+1]=k-g,o(v)};st.useEffect(()=>{let m=S=>{let k=u.current;if(k==null||!r.current)return;let g=r.current.getBoundingClientRect(),v=a?(S.clientY-g.top)/g.height:(S.clientX-g.left)/g.width,b=s.slice(0,k+1).reduce((y,z)=>y+z,0);f(k,v*100-b)},N=()=>{u.current=null,document.body.style.cursor=""};return window.addEventListener("pointermove",m),window.addEventListener("pointerup",N),()=>{window.removeEventListener("pointermove",m),window.removeEventListener("pointerup",N)}});let d=s.map(m=>`minmax(0, ${m}fr)`).join(" 9px ");return(0,fe.jsx)("div",{ref:r,className:p("tf-panels",a&&"vertical",e.className),style:{[a?"gridTemplateRows":"gridTemplateColumns"]:d,...e.style},children:(e.panels||[]).map((m,N)=>(0,fe.jsxs)(st.Fragment,{children:[(0,fe.jsx)("div",{className:"tf-panels-pane",children:m}),N<n-1&&(0,fe.jsx)("div",{className:"tf-panels-handle",role:"separator","aria-orientation":a?"horizontal":"vertical","aria-label":t.resizePanel(e.labels?.[N],N+1),"aria-valuenow":Math.round(s[N]??0),"aria-valuemin":l,"aria-valuemax":Math.round((s[N]??0)+(s[N+1]??0)-l),tabIndex:0,onPointerDown:S=>{S.preventDefault(),u.current=N,document.body.style.cursor=a?"row-resize":"col-resize"},onDoubleClick:()=>o(Array.from({length:n},()=>100/n)),onKeyDown:S=>{let k=a?"ArrowUp":"ArrowLeft",g=a?"ArrowDown":"ArrowRight";S.key===k||S.key===g?(S.preventDefault(),f(N,S.key===g?2:-2)):(S.key==="Home"||S.key==="End")&&(S.preventDefault(),f(N,S.key==="End"?100:-100))}})]},N))})}var R=G(ye(),1),Gu=G(re(),1);var Yu={tee:"M38 22l-14 8 6 12 8-4v38h48V38l8 4 6-12-14-8c-3 6-10 10-24 10S41 28 38 22z",mug:"M30 34h44v36a8 8 0 0 1-8 8H38a8 8 0 0 1-8-8V34zM74 42h6a8 8 0 0 1 0 16h-6",bottle:"M52 18h16v10l6 8v42a6 6 0 0 1-6 6H52a6 6 0 0 1-6-6V36l6-8V18z",cap:"M24 64c0-20 16-32 36-32s36 12 36 32H24zM24 64h60c8 0 14 4 16 8H24v-8z",tote:"M32 42h56l-4 40H36l-4-40zM46 42v-6a14 14 0 0 1 28 0v6",sneaker:"M20 62l6-20c10 2 18 0 24-6l8 4c4 8 14 12 28 14 8 2 14 6 14 12v4H20v-8z",watch:"M48 20h24v14H48zM48 86h24V72H48zM60 34a20 20 0 1 1 0 40 20 20 0 0 1 0-40zM60 46v10l6 4",lamp:"M44 24h32l10 26H34l10-26zM60 50v28M44 82h32"};function Ri(e){let t=e.size;return(0,R.jsx)("span",{className:p("tf-art","tf-bg-"+(e.tint||"sky"),e.className),style:t?{width:t,height:t}:void 0,role:e.label?"img":void 0,"aria-label":e.label,"aria-hidden":e.label?void 0:!0,children:(0,R.jsx)("svg",{viewBox:"0 0 120 100",fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,R.jsx)("path",{d:Yu[e.kind]||Yu.tote})})})}Ri.kinds=Object.keys(Yu);function Mr(e,t,n){return Ml(Number(e),t,void 0,n)}function Qu(){let{locale:e}=J();return(t,n)=>Mr(t,n,e)}function Xu(e){let t=Qu(),{formatPercent:n}=J(),a=e.compareAt&&e.compareAt>e.value;return(0,R.jsxs)("span",{className:p("tf-price",e.size&&"tf-price-"+e.size),children:[(0,R.jsx)("b",{children:t(e.value,e.currency)}),a&&(0,R.jsx)("s",{children:t(e.compareAt??0,e.currency)}),a&&e.showSave!==!1&&(0,R.jsx)("span",{className:"tf-price-save",children:"\u2212"+n(Math.round((1-e.value/(e.compareAt||e.value))*100))})]})}function Bs(e){let t=M(en),{formatNumber:n}=J(),a=e.value||0,l=n(a,{minimumFractionDigits:1,maximumFractionDigits:1});return(0,R.jsxs)("span",{className:"tf-rating",role:"img","aria-label":t.ratingLabel(l,e.count),children:[(0,R.jsx)("span",{className:"tf-stars","aria-hidden":!0,children:[0,1,2,3,4].map(i=>{let s=Math.max(0,Math.min(1,a-i));return(0,R.jsxs)("span",{className:"tf-star",children:[(0,R.jsx)(x,{name:"star",size:e.size||14}),(0,R.jsx)("span",{className:"tf-star-fill",style:{width:s*100+"%"},children:(0,R.jsx)(x,{name:"star",size:e.size||14})})]},i)})}),(0,R.jsx)("b",{children:l}),e.count!=null&&(0,R.jsx)("span",{children:"("+n(e.count)+")"})]})}function J0(e){let t=M(en),n=e.stock;return n==null?null:n<=0?(0,R.jsx)(Oe,{tone:"danger",children:t.outOfStock}):n<=(e.low||10)?(0,R.jsx)(Oe,{tone:"warning",children:t.lowStock(n)}):(0,R.jsx)(Oe,{tone:"success",children:e.compact?t.inStock:t.inStockCount(n)})}function $0(e){let t=M(en);return(0,R.jsxs)("div",{className:p("tf-product",e.className),onClick:e.onClick,children:[(0,R.jsxs)("div",{className:"tf-product-media",children:[(0,R.jsx)(Ri,{kind:e.art,tint:e.tint}),e.badge&&(0,R.jsx)("span",{className:"tf-product-badge",children:(0,R.jsx)(Oe,{tone:e.badgeTone||"highlight",dot:!1,children:e.badge})}),e.onWish&&(0,R.jsx)("button",{type:"button",className:p("tf-product-wish",e.wished&&"on"),"aria-pressed":!!e.wished,"aria-label":`${e.wished?"Remove":"Save"} ${e.name}`,onClick:n=>{n.stopPropagation(),e.onWish?.()},children:(0,R.jsx)(x,{name:"heart",size:16})})]}),(0,R.jsxs)("div",{className:"tf-product-body",children:[(0,R.jsxs)("div",{className:"tf-product-top",children:[(0,R.jsx)("b",{className:"tf-product-name",children:e.name}),e.meta&&(0,R.jsx)("span",{className:"tf-product-meta",children:e.meta})]}),e.rating!=null&&(0,R.jsx)(Bs,{value:e.rating,count:e.reviews,size:12}),(0,R.jsxs)("div",{className:"tf-product-foot",children:[(0,R.jsx)(Xu,{value:e.price,compareAt:e.compareAt}),e.onAdd&&(e.stock===0?(0,R.jsx)("span",{className:"tf-card-desc",children:t.soldOut}):(0,R.jsx)(W,{icon:e.added?"check":"plus",label:t.addToCart(e.name),variant:e.added?"solid":"soft",size:"sm",onClick:n=>{n&&n.stopPropagation&&n.stopPropagation(),e.onAdd?.()}}))]})]})]})}function P0(e){let t=M(en),n=(e.options||[]).map(s=>typeof s=="string"?{value:s,label:s}:s),a=$(e.value,e.defaultValue??"",e.onChange),l=e.type==="color",i=n.find(s=>s.value===a[0]);return(0,R.jsxs)("fieldset",{className:"tf-variants",children:[(0,R.jsxs)("legend",{className:"tf-field-label",children:[e.label,i&&(0,R.jsx)("span",{className:"tf-variants-cur",children:i.label||i.value})]}),(0,R.jsx)("div",{className:p("tf-variants-row",l?"colors":"sizes"),children:n.map(s=>{let c=s.value,r=s.label||s.value,u=c===a[0],o=s.disabled;return(0,R.jsx)("button",{type:"button",className:p("tf-variant",u&&"on",o&&"off"),"aria-pressed":u,disabled:o,"aria-label":l?o?t.variantSoldOut(r):r:void 0,title:l?r:void 0,onClick:()=>{a[1](c)},children:l?(0,R.jsx)("span",{className:"tf-swatch",style:{background:s.color}}):r},c)})})]})}function W0(e){let t=M(en);return(0,R.jsxs)("div",{className:"tf-cartline",children:[(0,R.jsx)(Ri,{kind:e.art,tint:e.tint,size:64}),(0,R.jsxs)("div",{className:"tf-cartline-text",children:[(0,R.jsx)("b",{children:e.name}),e.variant&&(0,R.jsx)("span",{children:e.variant}),e.note&&(0,R.jsx)("span",{className:"tf-cartline-note",children:e.note})]}),e.onQty?(0,R.jsxs)("div",{className:"tf-number tf-number-sm",children:[(0,R.jsx)(W,{icon:e.qty<=1?"trash":"minus",label:e.qty<=1?t.removeItem(e.name):t.oneLess,size:"sm",onClick:()=>{e.qty<=1?e.onRemove&&e.onRemove():e.onQty?.(e.qty-1)}}),(0,R.jsx)("span",{className:"tf-number-input","aria-live":"polite",children:e.qty}),(0,R.jsx)(W,{icon:"plus",label:t.oneMore,size:"sm",onClick:()=>{e.onQty?.(e.qty+1)}})]}):(0,R.jsx)("span",{className:"tf-card-desc",children:"\xD7 "+e.qty}),(0,R.jsx)("b",{className:"tf-cartline-total",children:Mr(e.price*e.qty)})]})}function eg(e){let t=M(en),n=Qu(),{formatPercent:a}=J(),l=e.lines||[],i=l.reduce((m,N)=>m+N.price*N.qty,0),s=e.discount?e.discount.pct?i*e.discount.pct/100:e.discount.amount||0:0,c=e.shipping!=null?e.shipping:i-s>=(e.freeShippingFrom||75)?0:4.9,r=i-s+c,u=r-r/(1+(e.vat||19)/100),o=Gu.useState(""),f=Gu.useState(null),d=(e.freeShippingFrom||75)-(i-s);return(0,R.jsxs)("div",{className:"tf-summary",children:[e.title!==!1&&(0,R.jsx)("b",{className:"tf-summary-title",children:e.title||t.orderSummary}),e.showLines&&(0,R.jsx)("div",{className:"tf-col",style:{gap:12},children:l.map((m,N)=>(0,R.jsxs)("div",{className:"tf-summary-line",children:[(0,R.jsxs)("span",{className:"tf-summary-thumb",children:[(0,R.jsx)(Ri,{kind:m.art,tint:m.tint,size:40}),(0,R.jsx)("i",{children:m.qty})]}),(0,R.jsxs)("span",{className:"tf-summary-name",children:[m.name,m.variant&&(0,R.jsx)("small",{children:m.variant})]}),(0,R.jsx)("b",{children:n(m.price*m.qty)})]},N))}),d>0&&e.freeShippingFrom!==0&&(0,R.jsxs)("div",{className:"tf-freeship",children:[(0,R.jsx)("span",{children:t.freeShippingIn((0,R.jsx)("b",{children:n(Math.ceil(d*100)/100)}))}),(0,R.jsx)("span",{className:"tf-usage-track",children:(0,R.jsx)("span",{className:"tf-usage-fill tf-sf-mint",style:{width:Math.min(100,(i-s)/(e.freeShippingFrom||75)*100)+"%"}})})]}),e.onCoupon&&(e.discount?(0,R.jsxs)("div",{className:"tf-coupon-on",children:[(0,R.jsx)(x,{name:"tag",size:14}),(0,R.jsx)("b",{children:e.discount.code}),(0,R.jsx)("span",{children:e.discount.label}),(0,R.jsx)("button",{type:"button",className:"tf-linkbtn",onClick:()=>{e.onCoupon?.(null)},children:t.remove})]}):(0,R.jsxs)("form",{className:"tf-coupon",onSubmit:m=>{m.preventDefault();let N=e.onCoupon?.(o[0].trim().toUpperCase());f[1](N===!1?t.invalidCode:null),N!==!1&&o[1]("")},children:[(0,R.jsx)("input",{className:"tf-input",placeholder:t.discountCode,"aria-label":t.discountCode,value:o[0],onChange:m=>{o[1](m.target.value),f[1](null)},"aria-invalid":f[0]?"true":void 0}),(0,R.jsx)(K,{type:"submit",variant:"soft",disabled:!o[0].trim(),children:t.apply}),f[0]&&(0,R.jsx)("span",{className:"tf-field-error",style:{gridColumn:"1 / -1"},children:f[0]})]})),(0,R.jsxs)("dl",{className:"tf-summary-rows",children:[(0,R.jsxs)("div",{children:[(0,R.jsx)("dt",{children:t.subtotal}),(0,R.jsx)("dd",{children:n(i)})]}),s>0&&(0,R.jsxs)("div",{className:"save",children:[(0,R.jsx)("dt",{children:t.discount}),(0,R.jsx)("dd",{children:"\u2212"+n(s)})]}),(0,R.jsxs)("div",{children:[(0,R.jsx)("dt",{children:t.shipping}),(0,R.jsx)("dd",{children:c===0?t.free:n(c)})]}),(0,R.jsxs)("div",{className:"total",children:[(0,R.jsx)("dt",{children:t.total}),(0,R.jsx)("dd",{children:n(r)})]}),(0,R.jsxs)("div",{className:"vat",children:[(0,R.jsx)("dt",{children:t.inclVat(a(e.vat||19))}),(0,R.jsx)("dd",{children:n(Math.round(u*100)/100)})]})]}),e.action]})}function tg(e){let t=M(en),n=e.steps||t.checkoutSteps,a=e.current||0;return(0,R.jsx)("ol",{className:"tf-csteps","aria-label":t.checkoutProgress,children:n.map((l,i)=>(0,R.jsx)("li",{className:p(i<a&&"done",i===a&&"cur"),"aria-current":i===a?"step":void 0,children:(0,R.jsxs)("button",{type:"button",disabled:i>a||!e.onPick,onClick:()=>{e.onPick&&e.onPick(i)},children:[(0,R.jsx)("span",{className:"tf-cstep-n",children:i<a?(0,R.jsx)(x,{name:"check",size:12}):i+1}),l]})},l))})}var I0=["Placed","Paid","Packed","Shipped","Delivered"];function ng(e){let t=M(en),n=s=>t.orderStatus[s]??s,a=I0.indexOf(e.status),l=e.times||{},i=e.status==="Cancelled"||e.status==="Refunded";return(0,R.jsxs)("div",{className:p("tf-otl",i&&"cancelled"),children:[I0.map((s,c)=>{let r=!i&&c<=a;return(0,R.jsxs)("div",{className:p("tf-otl-step",r&&"done",c===a&&!i&&"cur"),children:[(0,R.jsx)("span",{className:"tf-otl-dot",children:r?(0,R.jsx)(x,{name:c===a&&s!=="Delivered"?"clock":"check",size:12}):null}),(0,R.jsx)("b",{children:n(s)}),(0,R.jsx)("small",{children:l[s]||(r?"":"\u2014")})]},s)}),i&&(0,R.jsx)("div",{className:"tf-otl-cancel",children:(0,R.jsx)(Oe,{tone:"danger",children:n(e.status)})})]})}function ag(e){let t=M(en),n=Qu();return(0,R.jsxs)("div",{className:p("tf-plan",e.featured&&"featured",e.current&&"current"),children:[e.featured&&(0,R.jsx)("span",{className:"tf-plan-flag",children:e.flag||t.mostPopular}),(0,R.jsxs)("div",{className:"tf-plan-head",children:[(0,R.jsx)("b",{children:e.name}),e.text&&(0,R.jsx)("span",{children:e.text})]}),(0,R.jsxs)("div",{className:"tf-plan-price",children:[e.price===0?(0,R.jsx)("b",{children:t.free}):e.price==null?(0,R.jsx)("b",{children:t.letsTalk}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("b",{children:n(e.price)}),(0,R.jsx)("span",{children:e.per||t.perSeatMonth})]}),e.was&&(0,R.jsx)("s",{children:n(e.was)})]}),(0,R.jsx)(K,{variant:e.current?"soft":e.featured?"primary":"secondary",disabled:e.current||e.disabled,onClick:e.onPick,className:"tf-plan-cta",children:e.current?t.currentPlan:e.cta||t.choosePlan(e.name)}),(0,R.jsx)("ul",{className:"tf-plan-feats",children:(e.features||[]).map((a,l)=>(0,R.jsxs)("li",{className:a[0]==="-"?"no":void 0,children:[(0,R.jsx)(x,{name:a[0]==="-"?"minus":"check",size:14}),a.replace(/^-/,"")]},l))})]})}var Y=G(ye(),1),On=G(re(),1);var E=G(ye(),1),Lt=G(re(),1);function xx(e){return/^(https?:|mailto:|\/|#|\.)/i.test(e.trim())?e:void 0}function Vs(e,t){let n=[],a=/(\*\*[^*]+\*\*|`[^`]+`|\[[^\]]+\]\([^)]+\))/g,l=0,i,s=0;for(;i=a.exec(e);){i.index>l&&n.push(e.slice(l,i.index));let c=i[0];if(c[0]==="*")n.push((0,E.jsx)("b",{children:c.slice(2,-2)},t+"b"+s++));else if(c[0]==="`")n.push((0,E.jsx)("code",{className:"tf-icode",children:c.slice(1,-1)},t+"c"+s++));else{let r=/\[([^\]]+)\]\(([^)]+)\)/.exec(c);n.push((0,E.jsx)("a",{href:xx(r[2]),target:"_blank",rel:"noreferrer",children:r[1]},t+"a"+s++))}l=i.index+c.length}return l<e.length&&n.push(e.slice(l)),n}function Ku(e){let t=String(e.text||""),n=[],a=t.split(/```/);return a.forEach((l,i)=>{if(i%2===1){let s=l.indexOf(`
|
|
21
|
-
`),
|
|
22
|
-
`).filter(
|
|
23
|
-
`).map((l,i)=>(0,
|
|
24
|
-
`]},i))})})]})}function Gs(e){let t=M(qt);return(0,E.jsxs)("span",{className:"tf-typing",role:"status","aria-label":e.label||t.working,children:[(0,E.jsx)("i",{}),(0,E.jsx)("i",{}),(0,E.jsx)("i",{})]})}function Xt(e){let t=e.size||32;return(0,E.jsx)("span",{className:p("tf-agentmark","tf-t-"+(e.tint||"lilac"),e.live&&"live",e.className),style:{width:t,height:t},"aria-hidden":!0,children:(0,E.jsx)(x,{name:e.icon||"bot",size:Math.round(t*.5)})})}function lg(e){let t=M(qt),n=e.role==="user",a=Lt.useState(!1),l=Lt.useState(e.feedback||null);if(e.role==="system")return(0,E.jsx)("div",{className:"tf-msg-system",children:(0,E.jsx)("span",{children:e.children||e.text})});function i(){try{navigator.clipboard.writeText(e.text||"")}catch{}a[1](!0),setTimeout(()=>{a[1](!1)},1400)}return(0,E.jsxs)("div",{className:p("tf-msg",n?"me":"ai",e.className),children:[n?(0,E.jsx)(Ve,{name:e.name||t.you,size:32}):(0,E.jsx)(Xt,{tint:e.tint,live:e.streaming}),(0,E.jsxs)("div",{className:"tf-msg-col",children:[(e.name||e.time)&&(0,E.jsxs)("div",{className:"tf-msg-meta",children:[(0,E.jsx)("b",{children:e.name}),e.time&&(0,E.jsx)("span",{children:e.time}),e.model&&(0,E.jsx)("span",{className:"tf-msg-model",children:e.model})]}),e.before,(e.text||e.children||e.streaming)&&(0,E.jsx)("div",{className:"tf-bubble",children:e.children||(n?(0,E.jsx)("p",{className:"tf-rt-plain",children:e.text}):e.text?(0,E.jsx)(Ku,{text:e.text,streaming:e.streaming}):(0,E.jsx)(Gs,{}))}),e.attachments&&e.attachments.length>0&&(0,E.jsx)("div",{className:"tf-msg-attach",children:e.attachments.map(s=>(0,E.jsxs)("span",{className:"tf-attach-chip",children:[(0,E.jsx)(x,{name:s.kind==="img"?"file":"paperclip",size:13}),s.name,s.size&&(0,E.jsx)("small",{children:s.size})]},s.name))}),e.sources&&e.sources.length>0&&(0,E.jsx)("div",{className:"tf-msg-sources",children:e.sources.map((s,c)=>(0,E.jsxs)("a",{className:"tf-source",href:s.url||"#",onClick:s.onClick?r=>{r.preventDefault(),s.onClick?.()}:void 0,children:[(0,E.jsx)("span",{className:"tf-source-n",children:c+1}),(0,E.jsx)(x,{name:s.icon||"book",size:12}),s.title]},c))}),!n&&!e.streaming&&e.actions!==!1&&(0,E.jsxs)("div",{className:"tf-msg-actions",children:[(0,E.jsx)(et,{label:a[0]?t.copied:t.copy,children:(0,E.jsx)("button",{type:"button",className:"tf-msg-act","aria-label":t.copyReply,onClick:i,children:(0,E.jsx)(x,{name:a[0]?"check":"file",size:14})})}),e.onRetry&&(0,E.jsx)(et,{label:t.regenerate,children:(0,E.jsx)("button",{type:"button",className:"tf-msg-act","aria-label":t.regenerateReply,onClick:e.onRetry,children:(0,E.jsx)(x,{name:"refresh",size:14})})}),(0,E.jsx)(et,{label:t.goodReply,children:(0,E.jsx)("button",{type:"button",className:p("tf-msg-act",l[0]==="up"&&"on"),"aria-pressed":l[0]==="up","aria-label":t.goodReply,onClick:()=>{l[1](l[0]==="up"?null:"up"),e.onFeedback&&e.onFeedback("up")},children:(0,E.jsx)(x,{name:"thumbUp",size:14})})}),(0,E.jsx)(et,{label:t.badReply,children:(0,E.jsx)("button",{type:"button",className:p("tf-msg-act",l[0]==="down"&&"on"),"aria-pressed":l[0]==="down","aria-label":t.badReply,onClick:()=>{l[1](l[0]==="down"?null:"down"),e.onFeedback&&e.onFeedback("down")},children:(0,E.jsx)(x,{name:"thumbDown",size:14})})}),e.usage&&(0,E.jsx)("span",{className:"tf-msg-usage",children:e.usage})]}),e.after]})]})}var Tx={running:null,done:"check",error:"x",waiting:"clock"};function ig(e){let t=M(qt),n=Lt.useState(!!e.defaultOpen),a=e.status||"done";return(0,E.jsxs)("div",{className:p("tf-tool","is-"+a,n[0]&&"open"),children:[(0,E.jsxs)("button",{type:"button",className:"tf-tool-head","aria-expanded":n[0],onClick:()=>{n[1](!n[0])},children:[(0,E.jsx)("span",{className:"tf-tool-ico",children:a==="running"?(0,E.jsx)("span",{className:"tf-spin","aria-hidden":!0}):(0,E.jsx)(x,{name:Tx[a]||"zap",size:12})}),(0,E.jsx)(x,{name:e.icon||"zap",size:14,className:"tf-tool-kind"}),(0,E.jsx)("b",{children:e.name}),(0,E.jsx)("span",{className:"tf-tool-sum",children:e.summary}),e.duration&&(0,E.jsx)("span",{className:"tf-tool-time",children:e.duration}),(0,E.jsx)(x,{name:"chevronDown",size:14,className:"tf-tool-chev"})]}),n[0]&&(0,E.jsxs)("div",{className:"tf-tool-body",children:[e.input!=null&&(0,E.jsxs)("div",{children:[(0,E.jsx)("span",{className:"tf-tool-label",children:t.toolInput}),(0,E.jsx)("pre",{children:typeof e.input=="string"?e.input:JSON.stringify(e.input,null,2)})]}),e.output!=null&&(0,E.jsxs)("div",{children:[(0,E.jsx)("span",{className:"tf-tool-label",children:a==="error"?t.toolError:t.toolResult}),(0,E.jsx)("pre",{className:a==="error"?"err":void 0,children:typeof e.output=="string"?e.output:JSON.stringify(e.output,null,2)})]})]})]})}function sg(e){let t=M(qt),n=Lt.useState(!!e.defaultOpen);return(0,E.jsxs)("div",{className:p("tf-reason",n[0]&&"open",e.streaming&&"live"),children:[(0,E.jsxs)("button",{type:"button",className:"tf-reason-head","aria-expanded":n[0],onClick:()=>{n[1](!n[0])},children:[(0,E.jsx)(x,{name:"sparkle",size:13}),e.streaming?t.thinking:t.thoughtFor(e.duration),(0,E.jsx)(x,{name:"chevronDown",size:13,className:"tf-tool-chev"})]}),n[0]&&(0,E.jsx)("div",{className:"tf-reason-body",children:e.steps?(0,E.jsx)("ol",{children:e.steps.map((a,l)=>(0,E.jsx)("li",{children:a},l))}):e.text})]})}function cg(e){return(0,E.jsx)("div",{className:"tf-starters",children:(e.items||[]).map((t,n)=>(0,E.jsxs)("button",{type:"button",className:"tf-starter tf-in",style:{"--d":n*60+"ms"},onClick:()=>{e.onPick&&e.onPick(t.prompt||t.title)},children:[(0,E.jsx)(ce,{icon:t.icon||"sparkle",tint:t.tint||"sky"}),(0,E.jsx)("b",{children:t.title}),t.text&&(0,E.jsx)("span",{children:t.text})]},n))})}function Zu(e){let t=M(qt),n=e.models||[],a=n.find(l=>l.id===e.value)||n[0]||{};return(0,E.jsx)(Ue,{side:e.side||"top",width:300,flush:!0,trigger:l=>(0,E.jsxs)("button",{type:"button",className:"tf-model-btn","aria-haspopup":"menu","aria-expanded":l.open,onClick:l.toggle,children:[(0,E.jsx)(x,{name:"sparkle",size:13}),a.label,(0,E.jsx)(x,{name:"chevronDown",size:13})]}),children:l=>(0,E.jsxs)("div",{className:"tf-menu tf-menu-static",role:"menu",children:[(0,E.jsx)("div",{className:"tf-menu-label",children:t.model}),n.map(i=>(0,E.jsxs)("button",{type:"button",role:"menuitemradio","aria-checked":i.id===a.id,className:"tf-menu-item tf-model-item",onClick:()=>{e.onChange&&e.onChange(i.id),l.close()},children:[(0,E.jsxs)("span",{className:"tf-option-text",children:[(0,E.jsx)("b",{children:i.label}),i.hint&&(0,E.jsx)("small",{children:i.hint})]}),i.id===a.id&&(0,E.jsx)(x,{name:"check",size:15})]},i.id))]})})}function rg(e){let t=M(qt),n=Lt.useRef(null),a=Lt.useRef(null),l=$(e.value,"",e.onChange),i=e.attachments||[],s=Lt.useState(0),c=(e.commands||[]).filter(o=>/^\/\S*$/.test(l[0])&&("/"+o.name).indexOf(l[0])===0);Lt.useLayoutEffect(()=>{let o=a.current;o&&(o.style.height="auto",o.style.height=Math.min(o.scrollHeight,200)+"px")},[l[0]]);function r(){e.busy||!l[0].trim()&&!i.length||(e.onSend&&e.onSend(l[0],i),l[1](""))}function u(o){l[1](""),e.onCommand?e.onCommand(o):l[1]((o.insert||"")+" "),a.current&&a.current.focus()}return(0,E.jsxs)("div",{className:p("tf-composer",e.busy&&"busy"),onDragOver:o=>{e.onAttach&&o.preventDefault()},onDrop:o=>{e.onAttach&&(o.preventDefault(),e.onAttach?.(o.dataTransfer.files))},children:[c.length>0&&(0,E.jsxs)("div",{className:"tf-popover tf-composer-cmds top",role:"listbox",children:[(0,E.jsx)("div",{className:"tf-menu-label",children:t.commands}),c.map((o,f)=>(0,E.jsxs)("button",{type:"button",role:"option","aria-selected":f===s[0],className:p("tf-option",f===s[0]&&"active"),onPointerDown:d=>{d.preventDefault()},onClick:()=>{u(o)},children:[(0,E.jsx)(x,{name:o.icon||"zap",size:15}),(0,E.jsxs)("span",{className:"tf-option-text",children:[(0,E.jsx)("b",{children:"/"+o.name}),o.hint&&(0,E.jsx)("small",{children:o.hint})]})]},o.name))]}),i.length>0&&(0,E.jsx)("div",{className:"tf-composer-files",children:i.map((o,f)=>(0,E.jsxs)("span",{className:"tf-attach-chip",children:[(0,E.jsx)(x,{name:"paperclip",size:13}),o.name,e.onRemoveAttachment&&(0,E.jsx)("button",{type:"button","aria-label":t.removeItem(o.name),onClick:()=>{e.onRemoveAttachment?.(f)},children:(0,E.jsx)(x,{name:"x",size:12})})]},o.name+f))}),(0,E.jsx)("textarea",{ref:a,rows:1,className:"tf-composer-input",placeholder:e.placeholder||t.messagePlaceholder,"aria-label":e.label||e.placeholder||t.message,value:l[0],disabled:e.disabled,onChange:o=>{l[1](o.target.value),s[1](0)},onKeyDown:o=>{if(c.length){if(o.key==="ArrowDown"){o.preventDefault(),s[1]((s[0]+1)%c.length);return}if(o.key==="ArrowUp"){o.preventDefault(),s[1]((s[0]-1+c.length)%c.length);return}if(o.key==="Enter"||o.key==="Tab"){o.preventDefault(),u(c[s[0]]);return}}o.key==="Enter"&&!o.shiftKey&&!o.nativeEvent.isComposing&&(o.preventDefault(),r())}}),(0,E.jsxs)("div",{className:"tf-composer-bar",children:[e.onAttach&&(0,E.jsx)(et,{label:t.attachFiles,children:(0,E.jsxs)("button",{type:"button",className:"tf-composer-tool","aria-label":t.attachFiles,onClick:()=>n.current?.click(),children:[(0,E.jsx)(x,{name:"paperclip",size:16}),(0,E.jsx)("input",{ref:n,type:"file",multiple:!0,hidden:!0,tabIndex:-1,onChange:o=>{o.target.files&&e.onAttach?.(o.target.files),o.target.value=""}})]})}),e.commands&&(0,E.jsx)(et,{label:t.commands,shortcut:"/",children:(0,E.jsx)("button",{type:"button",className:"tf-composer-tool","aria-label":t.commands,onClick:()=>{l[1]("/"),a.current&&a.current.focus()},children:(0,E.jsx)(x,{name:"code",size:16})})}),e.models&&(0,E.jsx)(Zu,{models:e.models,value:e.model,onChange:e.onModel}),e.left,(0,E.jsx)("span",{className:"tf-composer-hint",children:e.hint!=null?e.hint:t.composerHint}),e.busy?(0,E.jsx)("button",{type:"button",className:"tf-send stop","aria-label":t.stop,onClick:e.onStop,children:(0,E.jsx)("span",{className:"tf-stop-sq"})}):(0,E.jsx)("button",{type:"button",className:"tf-send","aria-label":t.send,disabled:!l[0].trim()&&!i.length,onClick:r,children:(0,E.jsx)(x,{name:"arrowUp",size:16})})]})]})}var Ex={Running:"success",Thinking:"info","Waiting for approval":"highlight",Idle:"neutral",Paused:"neutral",Error:"danger"};function og(e){let t=M(qt),n=e.status||"Idle";return(0,E.jsxs)("span",{className:"tf-agentstatus",children:[(0,E.jsx)(Oe,{tone:Ex[n]||"neutral",live:n==="Running"||n==="Thinking",children:t.agentStatus[n]??n}),e.step&&(0,E.jsx)("span",{className:"tf-agentstatus-step",children:e.step})]})}var Mx={model:"sparkle",tool:"zap",search:"search",approval:"lock",message:"send",error:"x",memory:"book"};function ug(e){let t=M(qt),{formatNumber:n}=J(),a=e.steps||[],l=a.reduce((c,r)=>Math.max(c,(r.start||0)+(r.ms||0)),1),i=Lt.useState(e.defaultOpen!=null?e.defaultOpen:null);function s(c){return c>=1e3?`${n(c/1e3,{minimumFractionDigits:1,maximumFractionDigits:1})} s`:`${n(c)} ms`}return(0,E.jsxs)("div",{className:"tf-trace",children:[(0,E.jsxs)("div",{className:"tf-trace-head",children:[(0,E.jsx)("span",{children:t.step}),(0,E.jsx)("span",{children:t.timeline(s(l))})]}),a.map((c,r)=>{let u=i[0]===r,o=c.status||"done";return(0,E.jsxs)("div",{className:p("tf-trace-row","is-"+o,u&&"open"),children:[(0,E.jsxs)("button",{type:"button",className:"tf-trace-main","aria-expanded":u,onClick:()=>{i[1](u?null:r)},children:[(0,E.jsx)("span",{className:p("tf-trace-ico","k-"+(c.kind||"tool")),children:(0,E.jsx)(x,{name:c.kind&&Mx[c.kind]||"zap",size:13})}),(0,E.jsxs)("span",{className:"tf-trace-label",children:[(0,E.jsx)("b",{children:c.label}),c.meta&&(0,E.jsx)("small",{children:c.meta})]}),(0,E.jsxs)("span",{className:"tf-trace-bar",children:[(0,E.jsx)("i",{style:{left:(c.start||0)/l*100+"%",width:Math.max(1.5,(c.ms||0)/l*100)+"%"}}),(0,E.jsx)("em",{children:o==="running"?t.stepRunning:s(c.ms||0)})]})]}),u&&c.detail&&(0,E.jsx)("div",{className:"tf-trace-detail tf-in",children:typeof c.detail=="string"?(0,E.jsx)("pre",{children:c.detail}):c.detail})]},r)}),e.footer&&(0,E.jsx)("div",{className:"tf-trace-foot",children:e.footer})]})}function fg(e){let t=M(qt),n=Math.min(100,(e.used||0)/(e.limit||1)*100),a=n>=90?"blush":n>=70?"butter":"mint";return(0,E.jsxs)("div",{className:"tf-usage",children:[(0,E.jsxs)("div",{className:"tf-usage-top",children:[(0,E.jsx)("span",{children:e.label||t.context}),(0,E.jsx)("b",{children:(e.format||String)(e.used)+" / "+(e.format||String)(e.limit)})]}),(0,E.jsx)("span",{className:"tf-usage-track",children:(0,E.jsx)("span",{className:"tf-usage-fill tf-sf-"+a,style:{width:n+"%"}})}),e.caption&&(0,E.jsx)("small",{children:e.caption})]})}function dg(e){let t=On.useRef(null),n=On.useRef(!1);return On.useEffect(()=>{e.follow!==!1&&!n.current&&t.current&&(t.current.scrollTop=t.current.scrollHeight)},[(e.lines||[]).length]),(0,Y.jsxs)("div",{className:p("tf-log",e.className),style:{maxHeight:e.maxHeight},children:[e.title&&(0,Y.jsxs)("div",{className:"tf-code-head",children:[(0,Y.jsx)("span",{children:e.title}),e.right]}),(0,Y.jsx)("pre",{ref:t,onPointerEnter:()=>{n.current=!0},onPointerLeave:()=>{n.current=!1},children:(e.lines||[]).map((a,l)=>{let i=typeof a=="string"?{text:a}:a;return(0,Y.jsxs)("span",{className:p("tf-log-line",i.level&&"lv-"+i.level,i.fresh&&"fresh"),children:[e.numbers!==!1&&(0,Y.jsx)("i",{children:l+1}),i.time&&(0,Y.jsx)("em",{children:i.time}),i.text,`
|
|
25
|
-
`]},l)})})]})}function mg(e){let t=typeof e.value=="string"?e.value:JSON.stringify(e.value,null,2);return(0,Y.jsx)(qs,{code:t,lang:e.lang||(typeof e.value=="string"?"text":"json")})}function hg(e){let t=M(ja),n=On.useState(!1),a=On.useState(!1),l=(e.prefix||"")+"\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"+(e.last4||"");return(0,Y.jsxs)("div",{className:"tf-secret",children:[(0,Y.jsx)(x,{name:"key",size:15}),(0,Y.jsx)("span",{className:"tf-mono tf-secret-val",children:n[0]&&e.value?e.value:l}),e.meta&&(0,Y.jsx)("span",{className:"tf-secret-meta",children:e.meta}),(0,Y.jsxs)("span",{className:"tf-row",style:{flexWrap:"nowrap",gap:4},children:[e.onReveal&&(0,Y.jsx)(et,{label:n[0]?t.hide:t.reveal,children:(0,Y.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-ghost tf-iconbtn-sm","aria-label":n[0]?t.hide:t.reveal,onClick:()=>{if(n[0])return n[1](!1);Promise.resolve(e.onReveal?.()).then(i=>{i!==!1&&n[1](!0)})},children:(0,Y.jsx)(x,{name:"eye",size:16})})}),e.onCopy&&(0,Y.jsx)(et,{label:a[0]?t.copied:t.copy,children:(0,Y.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-ghost tf-iconbtn-sm","aria-label":t.copy,onClick:()=>{e.onCopy?.(),a[1](!0),setTimeout(()=>{a[1](!1)},1400)},children:(0,Y.jsx)(x,{name:a[0]?"check":"file",size:16})})}),e.onRotate&&(0,Y.jsx)(K,{size:"sm",variant:"soft",icon:"refresh",onClick:e.onRotate,children:t.rotate})]})]})}function gg(e){let t=M(ja),{formatMoney:n,formatNumber:a,formatPercent:l}=J(),i=Se("mi"),s=$(e.value,e.defaultValue!=null?e.defaultValue:null,e.onChange),c=On.useState(s[0]!=null?a(s[0],{minimumFractionDigits:2,maximumFractionDigits:2}):""),r=(a(1.5).match(/[^0-9]/)||["."])[0];function u(f){let d=f.replace(new RegExp("[^0-9"+(r===","?",":".")+"-]","g"),"").replace(",","."),m=parseFloat(d);return isNaN(m)?null:Math.round(m*100)/100}let o=n(0,e.currency).replace(/[\d.,\s]/g,"");return(0,Y.jsxs)(mt,{id:i,label:e.label,hint:e.hint,error:e.error,required:e.required,children:[(0,Y.jsxs)("div",{className:"tf-money",children:[(0,Y.jsxs)("span",{className:"tf-inputwrap",style:{flex:1},children:[(0,Y.jsx)("input",{id:i,className:"tf-input tf-money-input",inputMode:"decimal",value:c[0],placeholder:a(0,{minimumFractionDigits:2}),onChange:f=>{c[1](f.target.value)},onBlur:()=>{let f=u(c[0]);s[1](f),c[1](f==null?"":a(f,{minimumFractionDigits:2,maximumFractionDigits:2}))}}),(0,Y.jsx)("span",{className:"tf-input-suffix",children:o})]}),e.vatOptions&&(0,Y.jsx)("select",{className:"tf-input tf-money-vat","aria-label":t.vatRate,value:e.vat,onChange:f=>{e.onVat&&e.onVat(f.target.value)},children:e.vatOptions.map(f=>{let d=typeof f=="object"?f:{value:f,label:l(Number(f))};return(0,Y.jsx)("option",{value:d.value,children:d.label},d.value)})})]}),e.showGross&&s[0]!=null&&e.vat!=null&&!isNaN(+e.vat)&&(0,Y.jsx)("span",{className:"tf-field-hint",children:t.gross(n(s[0]*(1+Number(e.vat)/100),e.currency,{minimumFractionDigits:2}))})]})}function vg(e){return(0,Y.jsxs)("div",{className:"tf-settings",children:[(e.sections||[]).map((t,n)=>(0,Y.jsxs)("section",{className:"tf-settings-row",children:[(0,Y.jsxs)("div",{className:"tf-settings-label",children:[(0,Y.jsx)("b",{children:t.title}),t.text&&(0,Y.jsx)("span",{children:t.text}),t.badge]}),(0,Y.jsx)("div",{className:"tf-settings-ctl",children:t.children})]},t.id||n)),e.footer&&(0,Y.jsx)("div",{className:"tf-settings-foot",children:e.footer})]})}function bg(e){let t=M(ja),n=Nt(!!e.open);return On.useEffect(()=>{if(!e.open)return;function a(l){l.key==="Escape"&&e.onClose&&e.onClose()}return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}},[e.open]),n.mounted?(0,Y.jsx)(An,{children:(0,Y.jsxs)("div",{...ft(n.closing),className:"tf-overlay",children:[(0,Y.jsx)("div",{className:"tf-backdrop",onClick:e.onClose}),(0,Y.jsxs)("div",{className:"tf-modal tf-shortcuts",role:"dialog","aria-modal":"true","aria-label":e.title||t.keyboardShortcuts,children:[(0,Y.jsxs)("div",{className:"tf-row",style:{justifyContent:"space-between"},children:[(0,Y.jsx)("h2",{className:"tf-modal-title",children:e.title||t.keyboardShortcuts}),(0,Y.jsx)(W,{icon:"x",label:t.close,size:"sm",onClick:e.onClose})]}),(0,Y.jsx)("div",{className:"tf-shortcuts-grid",children:(e.groups||[]).map(a=>(0,Y.jsxs)("div",{className:"tf-shortcuts-group",children:[(0,Y.jsx)("span",{className:"tf-menu-label",children:a.title}),a.items.map(l=>(0,Y.jsxs)("div",{className:"tf-shortcut",children:[(0,Y.jsx)("span",{children:l[0]}),(0,Y.jsx)(Cr,{keys:l[1]})]},l[0]))]},a.title))})]})]})}):null}function pg(e){let{formatNumber:t}=J(),n=e.delta!=null&&e.delta>=0,a=e.invert?!n:n;return(0,Y.jsxs)("div",{className:p("tf-statcell",e.tint&&"tf-bg-"+e.tint,e.className),children:[(0,Y.jsxs)("div",{className:"tf-statcell-top",children:[(0,Y.jsx)("span",{className:"tf-statcell-label",children:e.label}),e.icon&&(0,Y.jsx)(ce,{icon:e.icon,tint:e.iconTint||"plain"})]}),(0,Y.jsxs)("div",{className:"tf-statcell-mid",children:[(0,Y.jsxs)("div",{style:{minWidth:0},children:[typeof e.value=="string"||typeof e.value=="number"?(0,Y.jsx)(ga,{className:"tf-statcell-value",value:e.value}):(0,Y.jsx)("span",{className:"tf-statcell-value",children:e.value}),e.delta!=null&&(0,Y.jsxs)("div",{className:p("tf-delta",a?"good":"bad"),children:[(0,Y.jsx)("span",{"aria-hidden":!0,children:n?"\u25B2":"\u25BC"})," ",(e.deltaText||t(Math.abs(e.delta),{maximumFractionDigits:1})+"%")+(e.compare?" "+e.compare:"")]})]}),e.spark&&(0,Y.jsx)("div",{className:"tf-statcell-spark",children:(0,Y.jsx)(Mi,{values:e.spark,tint:a?"mint":"blush",width:88,height:32})})]})]})}function kr(e){let t=M(ja),{formatPercent:n}=J(),a=(e.days||[]).map(i=>typeof i=="string"?{status:i}:i),l=On.useState(null);return(0,Y.jsxs)("div",{className:"tf-uptime",children:[(0,Y.jsx)("div",{className:"tf-uptime-bar",onPointerLeave:()=>{l[1](null)},children:a.map((i,s)=>(0,Y.jsx)("i",{className:"st-"+(i.status||"none"),onPointerEnter:()=>{l[1](s)}},s))}),(0,Y.jsxs)("div",{className:"tf-uptime-foot",children:[(0,Y.jsx)("span",{children:l[0]!=null?(a[l[0]].label||t.daysAgo(a.length-l[0]-1))+(a[l[0]].note?" \xB7 "+a[l[0]].note:""):e.caption||t.lastDays(a.length)}),e.uptime!=null&&(0,Y.jsx)("b",{className:"tf-mono",children:n(e.uptime,{maximumFractionDigits:2})})]})]})}function Xa(e){let{formatPercent:t}=J(),n=Math.max(0,Math.min(100,(e.value||0)/(e.max||100)*100)),a=e.tone||(n>=(e.danger||90)?"blush":n>=(e.warn||75)?"butter":"mint");return(0,Y.jsxs)("div",{className:"tf-meter",children:[(0,Y.jsxs)("div",{className:"tf-usage-top",children:[(0,Y.jsx)("span",{children:e.label}),(0,Y.jsx)("b",{children:e.text||t(n)})]}),(0,Y.jsx)("span",{className:"tf-usage-track",children:(0,Y.jsx)("span",{className:"tf-usage-fill tf-sf-"+a,style:{width:n+"%"}})})]})}function Ng(e){let t=M(ut),{formatNumber:n}=J(),a=Se("rs"),l=e.min||0,i=e.max!=null?e.max:100,s=e.step||1,c=e.format||n,r=$(e.value,e.defaultValue||[l,i],e.onChange),u=r[0][0],o=r[0][1];function f(m){return(m-l)/(i-l)*100}function d(m,N){let S=Math.max(l,Math.min(i,Number(N))),k=r[0].slice();k[m]=S,k[0]>k[1]&&(k=m?[S,S]:[S,S]),r[1](k)}return(0,h.jsx)(mt,{id:a,label:e.label,hint:e.hint,children:(0,h.jsxs)("div",{className:"tf-range",children:[(0,h.jsxs)("div",{className:"tf-range-track",children:[(0,h.jsx)("span",{style:{left:f(u)+"%",width:f(o)-f(u)+"%"}}),(0,h.jsx)("input",{type:"range",min:l,max:i,step:s,value:u,"aria-label":t.minimum,onChange:m=>{d(0,m.target.value)}}),(0,h.jsx)("input",{type:"range",min:l,max:i,step:s,value:o,"aria-label":t.maximum,onChange:m=>{d(1,m.target.value)}})]}),e.inputs!==!1?(0,h.jsxs)("div",{className:"tf-range-inputs",children:[(0,h.jsxs)("label",{className:"tf-range-num",children:[(0,h.jsx)("small",{children:t.min}),(0,h.jsx)("input",{id:a,className:"tf-input",inputMode:"numeric",value:n(u),onChange:m=>{d(0,m.target.value.replace(/\D/g,"")||l)}}),e.unit&&(0,h.jsx)("span",{children:e.unit})]}),(0,h.jsx)("span",{className:"tf-range-dash","aria-hidden":!0,children:"\u2013"}),(0,h.jsxs)("label",{className:"tf-range-num",children:[(0,h.jsx)("small",{children:t.max}),(0,h.jsx)("input",{className:"tf-input",inputMode:"numeric",value:n(o),onChange:m=>{d(1,m.target.value.replace(/\D/g,"")||i)}}),e.unit&&(0,h.jsx)("span",{children:e.unit})]})]}):(0,h.jsxs)("div",{className:"tf-range-vals",children:[(0,h.jsx)("span",{children:c(u)}),(0,h.jsx)("span",{children:o>=i&&e.openEnd?c(o)+"+":c(o)})]})]})})}function Sg(e){let{formatNumber:t}=J(),n=e.items||[],a=Math.max.apply(null,n.map(i=>i.value).concat([1])),l=e.format||t;return(0,h.jsx)("div",{className:"tf-barlist",role:"list","aria-label":e.label,children:n.map((i,s)=>(0,h.jsxs)("div",{role:"listitem",className:p("tf-barlist-row",e.onPick&&"is-btn"),onClick:e.onPick&&(()=>{e.onPick?.(i)}),children:[(0,h.jsx)("span",{className:p("tf-barlist-bar",i.tint&&"tf-t-"+i.tint),style:{width:i.value/a*100+"%"}}),(0,h.jsxs)("span",{className:"tf-barlist-label",children:[i.mark&&(0,h.jsx)("span",{className:"tf-barlist-mark","aria-hidden":!0,children:i.mark}),i.label]}),(0,h.jsxs)("span",{className:"tf-barlist-val",children:[l(i.value),i.share!=null&&(0,h.jsx)("small",{children:t(i.share,{style:"percent",maximumFractionDigits:1})})]})]},i.id||(typeof i.label=="string"?i.label:s)))})}function Rr(e){let t=e.options||[],n=$(e.value,e.defaultValue!=null?e.defaultValue:t[0]&&t[0].value,e.onChange),a=t.find(l=>l.value===n[0])||t[0]||{};return(0,h.jsx)(Ue,{width:e.width||220,trigger:l=>(0,h.jsxs)("button",{type:"button",className:p("tf-statussel",e.size==="sm"&&"sm"),"aria-haspopup":"listbox","aria-expanded":l.open,"aria-label":e.label?`${e.label}: ${a.label??""}`:void 0,onClick:i=>{i.stopPropagation(),l.toggle()},children:[(0,h.jsx)(ze,{status:a.status||"idle"}),(0,h.jsx)("span",{children:a.label}),(0,h.jsx)(x,{name:"chevronDown",size:13})]}),children:l=>(0,h.jsx)("div",{className:"tf-menu",role:"listbox","aria-label":e.label,children:t.map(i=>(0,h.jsxs)("button",{type:"button",role:"option","aria-selected":i.value===n[0],className:p("tf-menu-item",i.value===n[0]&&"on"),onClick:()=>{n[1](i.value),l.close&&l.close()},children:[(0,h.jsx)(ze,{status:i.status||"idle"}),(0,h.jsx)("span",{style:{flex:1},children:i.label}),i.value===n[0]&&(0,h.jsx)(x,{name:"check",size:14})]},i.value))})})}function xg(e){let t=!!e.multiple,n=$(e.value,e.defaultValue!=null?e.defaultValue:t?[]:null,e.onChange),a=t?n[0]||[]:[];function l(s){return t?a.indexOf(s)>-1:n[0]===s}function i(s){if(!t)return n[1](s);n[1](l(s)?a.filter(c=>c!==s):a.concat([s]))}return(0,h.jsx)("div",{className:"tf-tiles",role:t?"group":"radiogroup","aria-label":e.label,style:{gridTemplateColumns:"repeat(auto-fill, minmax("+(e.min||120)+"px, 1fr))"},children:(e.options||[]).map(s=>(0,h.jsxs)("button",{type:"button",role:t?"checkbox":"radio","aria-checked":l(s.value),disabled:s.disabled,className:p("tf-tile",l(s.value)&&"on"),onClick:()=>{i(s.value)},children:[(0,h.jsx)("span",{className:p("tf-tile-art",s.tint&&"tf-t-"+s.tint),style:s.color?{background:s.color}:void 0,children:s.image?(0,h.jsx)("img",{src:s.image,alt:""}):s.icon?(0,h.jsx)(x,{name:s.icon,size:22}):s.art}),(0,h.jsxs)("span",{className:"tf-tile-label",children:[s.label,s.meta&&(0,h.jsx)("small",{children:s.meta})]}),l(s.value)&&(0,h.jsx)("span",{className:"tf-tile-check","aria-hidden":!0,children:(0,h.jsx)(x,{name:"check",size:12})})]},s.value))})}function Cg(e){let t=M(ut),{formatMoney:n}=J(),a=$(e.paused,!1,e.onPause),l=$e.useRef(null),i=$e.useState(null);(!a[0]||!l.current)&&(l.current=e.items||[]);let s=l.current,c=(a[0]?s:e.items||[]).filter(o=>!i[0]||o.type===i[0]),r=a[0]?Math.max(0,(e.items||[]).length-s.length):0,u=e.types||[];return(0,h.jsxs)("div",{className:"tf-livefeed",children:[(0,h.jsxs)("div",{className:"tf-livefeed-head",children:[(0,h.jsxs)("span",{className:p("tf-live",a[0]&&"off"),children:[(0,h.jsx)("span",{className:"tf-live-dot","aria-hidden":!0}),a[0]?t.paused:t.live]}),u.length>0&&(0,h.jsxs)("div",{className:"tf-row",style:{gap:4},children:[(0,h.jsx)(Bl,{selected:!i[0],onClick:()=>{i[1](null)},children:t.all}),u.map(o=>(0,h.jsx)(Bl,{selected:i[0]===o.value,onClick:()=>{i[1](i[0]===o.value?null:o.value)},children:o.label},o.value))]}),(0,h.jsx)("span",{style:{flex:1}}),r>0&&(0,h.jsx)("button",{type:"button",className:"tf-livefeed-new",onClick:()=>{a[1](!1)},children:t.newCount(r)}),(0,h.jsx)(W,{icon:a[0]?"play":"pause",size:"sm",label:a[0]?t.resume:t.pause,onClick:()=>{a[1](!a[0])}})]}),(0,h.jsx)("div",{className:"tf-livefeed-list",role:"log","aria-live":a[0]?"off":"polite",style:e.maxHeight?{maxHeight:e.maxHeight}:void 0,children:c.length===0?(0,h.jsx)("p",{className:"tf-card-desc",style:{padding:16},children:e.emptyText||t.waitingForEvents}):c.map(o=>(0,h.jsxs)("div",{className:p("tf-livefeed-row",o.fresh&&"fresh"),children:[(0,h.jsx)(ce,{icon:o.icon||"zap",tint:o.tint||"sky",size:32}),(0,h.jsxs)("span",{className:"tf-livefeed-text",children:[(0,h.jsx)("b",{children:o.title}),o.text&&(0,h.jsx)("small",{children:o.text})]}),o.amount!=null&&(0,h.jsx)("span",{className:p("tf-livefeed-amt",o.amount<0&&"neg"),children:(o.amount>0?"+":"")+n(o.amount,o.currency)}),(0,h.jsx)("span",{className:"tf-livefeed-time",children:o.time})]},o.id))})]})}var yg="0000000001fe03ff000000000000000000000000000079f7ffff8001c01000070000000000000010439fffff0002c0000000000000000000007cdf007fff00000001800ffc01e000000003c4af003ffe0000000408ffffe0000001f8001e67f83ffc000070001bffffffff0083ffffc67e5c1fe00003ff2ffbffffffffff67fffffff83a1f01c007bcffffffffffffff03ffffffe0080e00001e7fffffffffffffff03fbffffc0700200003e5ffffffffffffc6000403fffe07e000002063fffffffffff018001001ffffc7f0000021cfffffffffffc038000000ffffe7fc0000f3fffffffffffff8200000003ffffff0000027fffffffffffff4000000003fffffce00003ffffffffffffff0000000003ffffff000000fbf5e7fffffffe0000000003fffff000000f8de0e7fffffffcc000000003ffffc000000f12eff7ffffff708000000001ffff8000000f00dff3fffffe300000000000ffffc0000001f043ffffffff1700000000007fff0000000ff803ffffffff0800000000001ffe0000000ffeffffffffff8000000000003f810000001fffffe7ffffff0000000000001f810000003ffffdfbffffff00000000000007800000007ffffcff0ffffe80000000400003884000007ffffefe07e7e000000000000001f83400003ffffe7e07c3e0800000000000005c0000007fffff780701e0800000000000000e0000007fffffc00301f0c0000000000000023900003ffffff003016040000000000000017f00001ffffff000810060000000000000007fc0000f3ffff000008200000000000000007ff000000fffe00001860000000000000000fff000000fffc000008ec000000000000000fffc00000fff800000ce8400000000000000ffff80000fff0000004003c0000000000000ffffc00007ff0000002801e00000000000007fffc00007ff0000000000808000000000007fff800007ff0000000000000000000000007fff000007ff100000002c000000000000001fff000007ff300000007ec00000000000000fff000007fc300000007fe00000000000000fff000003fc60000003fff02000000000000ffc000003fc60000007fff80000000000000ff8000003f800000003fff80000000000001ff0000001f800000003fff80000000000001ff0000001f000000003fff80000000000001fe0000001800000000303f80000000000001f80000000000000000000f00000000000001f00000000000000000000200200000000003c00000000000000000000200400000000001c000000000000000000000008000000000038000000000000000000000010000000000038000000000000000000000000000000000030800000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",Fu=null;function kx(){if(!Fu){let e=[];for(let n=0;n<yg.length;n++){let a=parseInt(yg[n],16);for(let l=0;l<4;l++)if(a&8>>l){let i=n*4+l,s=i%144,c=Math.floor(i/144);e.push("M"+(s+.5)+" "+(c+.5)+"h0")}}Fu=e.join("")}return(0,h.jsx)("svg",{className:"tf-map-world",viewBox:"0 0 144 58",preserveAspectRatio:"none","aria-hidden":!0,children:(0,h.jsx)("path",{d:Fu})})}function Tg(e){let t=M(ut),{formatNumber:n}=J(),a=e.bounds||{n:84,s:-60,w:-180,e:180},l=$(e.selected,null,e.onSelect),i=e.height||320,s=e.points||[],c=Math.max.apply(null,s.map(o=>o.value||1).concat([1]));function r(o){return{x:(o.lng-a.w)/(a.e-a.w)*100,y:(a.n-o.lat)/(a.n-a.s)*100}}let u=s.find(o=>o.id===l[0]);return(0,h.jsxs)("div",{className:p("tf-map",e.className),style:{height:i},role:"region","aria-label":e.label||t.viewMap,children:[e.background||(e.bounds?null:(0,h.jsx)(kx,{}))||(0,h.jsx)("svg",{className:"tf-map-grid",viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":!0,children:[10,20,30,40,50,60,70,80,90].map(o=>(0,h.jsxs)("g",{children:[(0,h.jsx)("line",{x1:o,x2:o,y1:0,y2:100}),(0,h.jsx)("line",{y1:o,y2:o,x1:0,x2:100})]},o))}),s.map(o=>{let f=r(o),d=e.bubbles?10+Math.sqrt((o.value||1)/c)*26:null;return(0,h.jsx)("button",{type:"button",className:p(e.bubbles?"tf-map-bubble":"tf-map-pin","tf-t-"+(o.tint||"sky"),l[0]===o.id&&"on",o.pulse&&"pulse"),style:{left:f.x+"%",top:f.y+"%",width:d||void 0,height:d||void 0},"aria-label":[typeof o.text=="string"&&!e.bubbles?o.text:null,o.label,o.value!=null?n(o.value):null].filter(Boolean).join(", "),onClick:()=>{l[1](l[0]===o.id?null:o.id)},children:e.bubbles?null:o.text!=null?(0,h.jsx)("span",{children:o.text}):(0,h.jsx)(x,{name:"pin",size:14})},o.id)}),u&&(0,h.jsx)("div",{className:p("tf-map-pop",e.surface&&"tf-"+e.surface),style:{left:Math.min(72,Math.max(28,r(u).x))+"%",top:r(u).y+"%"},children:e.renderPopup?e.renderPopup(u):(0,h.jsxs)("div",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:u.label}),u.sub&&(0,h.jsx)("small",{children:u.sub})]})}),e.legend&&(0,h.jsx)("div",{className:p("tf-map-legend",e.surface&&"tf-"+e.surface),children:e.legend}),e.controls&&(0,h.jsx)("div",{className:p("tf-map-ctl",e.surface&&"tf-"+e.surface),children:e.controls})]})}function Eg(e){let t=M(ut),{formatMoney:n}=J(),a=e.perDay&&e.perDay>0?Math.floor(e.balance/e.perDay):null,l=e.low!=null&&e.balance<=e.low,i=e.status||(e.balance<=0?"danger":l?"warn":"ok");return(0,h.jsxs)("div",{className:p("tf-balance","is-"+i),children:[(0,h.jsxs)("div",{className:"tf-balance-head",children:[e.logo||(0,h.jsx)(ce,{icon:e.icon||"wallet",tint:e.tint||"butter",size:36}),(0,h.jsxs)("div",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:e.name}),e.sub&&(0,h.jsx)("small",{children:e.sub})]}),(0,h.jsx)(Be,{status:i,label:e.statusLabel||(i==="danger"?t.balanceEmpty:l?t.balanceLow:t.balanceOk),size:"sm"})]}),(0,h.jsxs)("div",{className:"tf-balance-main",children:[(0,h.jsxs)("div",{className:"tf-col",style:{gap:2},children:[(0,h.jsx)("span",{className:"tf-balance-amt",children:n(e.balance,e.currency,{maximumFractionDigits:2})}),(0,h.jsx)("span",{className:"tf-balance-meta",children:[e.perDay!=null&&t.perDay(n(e.perDay,e.currency)),a!=null&&e.balance>0&&t.lastsAbout(a)].filter(Boolean).join(" \xB7 ")}),e.low!=null&&(0,h.jsx)("span",{className:"tf-balance-meta",children:t.warnsBelow(n(e.low,e.currency))})]}),e.spark&&(0,h.jsx)(Mi,{values:e.spark,width:96,height:32,tint:i==="ok"?"mint":i==="warn"?"butter":"blush"})]}),(e.onTopUp||e.action)&&(0,h.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:[e.action,e.onTopUp&&(0,h.jsx)(K,{size:"sm",variant:l?"primary":"soft",icon:"plus",onClick:e.onTopUp,children:e.topUpLabel||t.topUp})]})]})}function Mg(e){let{formatNumber:t}=J();return(0,h.jsx)("div",{className:"tf-svcmon",role:"list","aria-label":e.label,children:(e.items||[]).map(n=>(0,h.jsxs)("div",{role:"listitem",className:"tf-svcmon-row",children:[(0,h.jsx)(ze,{status:n.status}),(0,h.jsxs)("span",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:n.name}),(0,h.jsx)("small",{children:n.statusLabel||n.status})]}),n.history&&(0,h.jsx)("span",{className:"tf-svcmon-hist","aria-hidden":!0,children:n.history.map((a,l)=>(0,h.jsx)("i",{className:"tf-st-"+a},l))}),(0,h.jsx)("span",{className:"tf-svcmon-num",children:n.latency!=null?t(n.latency)+" ms":"\u2014"}),(0,h.jsx)("span",{className:p("tf-svcmon-num",(n.errorRate??0)>1&&"bad"),children:n.errorRate!=null?t(n.errorRate/100,{style:"percent",maximumFractionDigits:1}):"\u2014"}),(0,h.jsx)("span",{className:"tf-svcmon-time",children:n.checked})]},n.id||n.name))})}function kg(e){let{formatNumber:t}=J(),n=$e.useState(null);return(0,h.jsx)("div",{className:"tf-runs",role:"list","aria-label":e.label,children:(e.items||[]).map(a=>{let l=n[0]===a.id;return(0,h.jsxs)("div",{role:"listitem",className:p("tf-runs-row",l&&"open"),children:[(0,h.jsxs)("button",{type:"button",className:"tf-runs-main","aria-expanded":a.detail?l:void 0,onClick:a.detail?()=>{n[1](l?null:a.id)}:void 0,children:[(0,h.jsx)(ze,{status:a.status}),(0,h.jsxs)("span",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:a.name}),(0,h.jsx)("small",{children:[a.started,a.duration,a.by].filter(Boolean).join(" \xB7 ")})]}),(0,h.jsx)("span",{className:"tf-runs-counts",children:(a.counts||[]).map((i,s)=>(0,h.jsxs)("span",{className:i.tone?"tf-tone-"+i.tone:void 0,children:[(0,h.jsx)("b",{children:t(i.value)})," ",i.label]},s))}),a.detail&&(0,h.jsx)(x,{name:l?"chevronDown":"chevronRight",size:14})]}),l&&(0,h.jsx)("div",{className:"tf-runs-detail",children:a.detail})]},a.id)})})}function Rg(e){let t=M(ut),{formatNumber:n}=J(),a=$e.useState(!!e.defaultOpen);return(0,h.jsxs)("div",{className:"tf-hook",children:[(0,h.jsxs)("div",{className:"tf-hook-head",children:[(0,h.jsx)(ce,{icon:"webhook",tint:"lilac",size:36}),(0,h.jsxs)("div",{className:"tf-option-text",style:{minWidth:0,flex:1},children:[(0,h.jsx)("b",{className:"tf-mono tf-hook-url",children:e.url}),(0,h.jsx)("small",{children:(e.events||[]).join(", ")})]}),(0,h.jsx)(Be,{status:e.status||"ok",label:e.statusLabel,size:"sm"}),e.successRate!=null&&(0,h.jsx)("span",{className:"tf-hook-rate",children:n(e.successRate/100,{style:"percent",maximumFractionDigits:1})}),e.onToggle&&(0,h.jsx)(Qa,{checked:e.enabled!==!1,onChange:e.onToggle,label:t.enabled}),e.menu&&(0,h.jsx)(Ue,{width:200,trigger:l=>(0,h.jsx)(W,{icon:"more",size:"sm",label:t.more,onClick:l.toggle}),children:()=>(0,h.jsx)(At,{items:e.menu||[]})})]}),e.secret&&e.secret,(e.deliveries||[]).length>0&&(0,h.jsx)(ki,{title:t.recentDeliveries,meta:n((e.deliveries||[]).length),open:a[0],onOpenChange:a[1],children:(0,h.jsx)("div",{className:"tf-hook-dl",children:(e.deliveries||[]).map(l=>{let i=l.code!=null&&l.code>=200&&l.code<300;return(0,h.jsxs)("div",{className:"tf-hook-dl-row",children:[(0,h.jsx)("span",{className:p("tf-hook-code",i?"ok":"bad"),children:l.code||"\u2014"}),(0,h.jsx)("span",{className:"tf-mono",children:l.event}),(0,h.jsxs)("span",{className:"tf-hook-dl-time",children:[l.time,l.ms!=null&&" \xB7 "+n(l.ms)+" ms"]}),!i&&e.onRetry&&(0,h.jsx)(K,{size:"sm",variant:"soft",icon:"refresh",onClick:()=>{e.onRetry?.(l)},children:t.retry})]},l.id)})})})]})}function wg(e){let t=M(ut);return(0,h.jsxs)("div",{className:"tf-backups",role:"list","aria-label":e.label,children:[(e.items||[]).map(n=>(0,h.jsxs)("div",{role:"listitem",className:"tf-backups-row",children:[(0,h.jsx)(ze,{status:n.status||"ok"}),(0,h.jsxs)("span",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:n.name||n.time}),(0,h.jsx)("small",{children:[n.kind,n.where,n.retention].filter(Boolean).join(" \xB7 ")})]}),(0,h.jsx)("span",{className:"tf-backups-size",children:n.size}),(0,h.jsxs)("span",{className:"tf-row",style:{gap:4},children:[e.onDownload&&(0,h.jsx)(W,{icon:"download",size:"sm",label:t.download,onClick:()=>{e.onDownload?.(n)}}),e.onRestore&&(0,h.jsx)(K,{size:"sm",variant:"secondary",onClick:()=>{e.onRestore?.(n)},children:t.restore})]})]},n.id)),e.footer&&(0,h.jsx)("div",{className:"tf-backups-foot",children:e.footer})]})}function zg(e){let t=M(ut),n=$e.useState(""),a=(e.items||[]).filter(l=>!n[0]||(l.value+" "+(l.reason||"")).toLowerCase().indexOf(n[0].toLowerCase())>-1);return(0,h.jsxs)("div",{className:"tf-col",style:{gap:12},children:[(0,h.jsxs)("div",{className:"tf-filterbar",children:[(0,h.jsx)(Dn,{placeholder:e.searchPlaceholder||t.searchBlocked,value:n[0],onChange:l=>{n[1](l.target.value)},style:{flex:"1 1 220px",minWidth:0}}),e.onAdd&&(0,h.jsx)(K,{size:"sm",icon:"plus",onClick:e.onAdd,children:e.addLabel||t.block})]}),a.length===0?(0,h.jsx)("p",{className:"tf-card-desc",children:e.emptyText||t.nothingBlocked}):(0,h.jsx)("div",{className:"tf-blocks",role:"list",children:a.map(l=>(0,h.jsxs)("div",{role:"listitem",className:"tf-blocks-row",children:[(0,h.jsx)(x,{name:"ban",size:15}),(0,h.jsxs)("span",{className:"tf-option-text",style:{minWidth:0},children:[(0,h.jsx)("b",{className:"tf-mono",children:l.value}),(0,h.jsx)("small",{children:[l.kind,l.reason].filter(Boolean).join(" \xB7 ")})]}),(0,h.jsx)("span",{className:"tf-blocks-meta",children:[l.by,l.until?t.until(l.until):t.permanent].filter(Boolean).join(" \xB7 ")}),e.onRemove&&(0,h.jsx)(K,{size:"sm",variant:"ghost",onClick:()=>{e.onRemove?.(l)},children:e.removeLabel||t.unblock})]},l.id))})]})}function Ag(e){let t=M(ut),n=$e.useState(!1),a=$e.useState(e.reply||""),l={pending:["signal",t.reviewState.pending],published:["ok",t.reviewState.published],hidden:["idle",t.reviewState.hidden],flagged:["warn",t.reviewState.flagged]}[e.state||"pending"];return(0,h.jsxs)("article",{className:p("tf-review","is-"+(e.state||"pending")),children:[(0,h.jsxs)("div",{className:"tf-review-head",children:[(0,h.jsx)(Ve,{name:e.author,size:36}),(0,h.jsxs)("div",{className:"tf-option-text",style:{flex:1},children:[(0,h.jsxs)("b",{children:[e.author,e.verified&&(0,h.jsxs)("span",{className:"tf-review-ver",children:[" \xB7 ",t.verifiedPurchase]})]}),(0,h.jsx)("small",{children:[e.product,e.date].filter(Boolean).join(" \xB7 ")})]}),(0,h.jsx)(Bs,{value:e.rating}),(0,h.jsx)(Be,{status:l[0],label:e.stateLabel||l[1],size:"sm"})]}),e.title&&(0,h.jsx)("b",{className:"tf-review-title",children:e.title}),(0,h.jsx)("p",{className:"tf-review-text",children:e.highlight?Rx(e.text,e.highlight):e.text}),e.reply&&!n[0]&&(0,h.jsxs)("div",{className:"tf-review-reply",children:[(0,h.jsx)("small",{children:e.replyLabel||t.yourReply}),e.reply]}),n[0]&&(0,h.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,h.jsx)("textarea",{className:"tf-input",rows:3,value:a[0],onChange:i=>{a[1](i.target.value)},placeholder:t.writeReply,"aria-label":t.reply}),(0,h.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:[(0,h.jsx)(K,{size:"sm",variant:"ghost",onClick:()=>{n[1](!1)},children:t.cancel}),(0,h.jsx)(K,{size:"sm",icon:"send",onClick:()=>{e.onReply&&e.onReply(a[0]),n[1](!1)},children:t.postReply})]})]}),!n[0]&&(0,h.jsxs)("div",{className:"tf-review-actions",children:[e.state!=="published"&&e.onPublish&&(0,h.jsx)(K,{size:"sm",icon:"check",onClick:e.onPublish,children:t.publish}),e.state!=="hidden"&&e.onHide&&(0,h.jsx)(K,{size:"sm",variant:"secondary",icon:"eye",onClick:e.onHide,children:t.hide}),e.onReply&&(0,h.jsx)(K,{size:"sm",variant:"ghost",icon:"reply",onClick:()=>{n[1](!0)},children:e.reply?t.editReply:t.reply})]})]})}function Rx(e,t){let n=new RegExp("("+t.map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|")+")","gi");return String(e).split(n).map((a,l)=>l%2?(0,h.jsx)("mark",{children:a},l):a)}function _g(e){let t=M(ut),{formatMoney:n,formatNumber:a}=J(),l=e.used||0,i=e.status||(e.limit&&l>=e.limit?"idle":"ok");return(0,h.jsxs)("div",{className:p("tf-coupon",i!=="ok"&&"off"),children:[(0,h.jsxs)("div",{className:"tf-coupon-val",children:[(0,h.jsx)("b",{children:e.kind==="fixed"?n(e.value,e.currency):a(e.value/100,{style:"percent"})}),(0,h.jsx)("small",{children:(e.kind==="fixed","off")})]}),(0,h.jsxs)("div",{className:"tf-coupon-main",children:[(0,h.jsxs)("div",{className:"tf-row",style:{gap:8},children:[(0,h.jsxs)("button",{type:"button",className:"tf-coupon-code",title:t.copy,onClick:()=>{try{navigator.clipboard.writeText(e.code)}catch{}St&&St({text:t.copied}),e.onCopy&&e.onCopy()},children:[e.code,(0,h.jsx)(x,{name:"copy",size:13})]}),(0,h.jsx)(Be,{status:i,label:e.statusLabel,size:"sm"})]}),e.text&&(0,h.jsx)("small",{className:"tf-coupon-text",children:e.text}),(0,h.jsx)(Xa,{value:l,max:e.limit||Math.max(l,1),text:e.limit?t.usedOf(a(l),a(e.limit)):t.used(a(l)),tone:"sky",warn:101,danger:101}),(0,h.jsx)("span",{className:"tf-coupon-foot",children:[e.until&&t.validUntil(e.until),e.min!=null&&t.fromAmount(n(e.min,e.currency)),e.revenue!=null&&t.revenue(n(e.revenue,e.currency))].filter(Boolean).join(" \xB7 ")})]}),e.menu&&(0,h.jsx)(Ue,{width:200,trigger:s=>(0,h.jsx)(W,{icon:"more",size:"sm",label:t.more,onClick:s.toggle}),children:()=>(0,h.jsx)(At,{items:e.menu||[]})})]})}function Dg(e){let t=M(ut),n=e.locales||[],a=$(e.value,e.defaultValue||{},e.onChange),l=$e.useState(e.active||n[0]&&n[0].code),i=Se("lf"),s=e.source||n[0]&&n[0].code,c=a[0][l[0]]||"";function r(o){let f=Object.assign({},a[0]);f[l[0]]=o,a[1](f)}let u=n.filter(o=>(a[0][o.code]||"").trim()).length;return(0,h.jsx)(mt,{id:i,label:e.label,hint:e.hint,error:e.error,children:(0,h.jsxs)("div",{className:"tf-locfield",children:[(0,h.jsxs)("div",{className:"tf-locfield-tabs",role:"tablist","aria-label":t.languages,children:[n.map(o=>{let f=(a[0][o.code]||"").trim();return(0,h.jsxs)("button",{type:"button",role:"tab","aria-selected":l[0]===o.code,className:p("tf-locfield-tab",l[0]===o.code&&"on",!f&&"missing"),onClick:()=>{l[1](o.code)},children:[o.flag&&(0,h.jsx)("span",{"aria-hidden":!0,children:o.flag}),o.label||o.code.toUpperCase(),!f&&(0,h.jsx)("span",{className:"tf-locfield-miss",title:t.missing})]},o.code)}),(0,h.jsx)("span",{className:"tf-locfield-done",children:t.doneOf(u,n.length)})]}),e.multiline?(0,h.jsx)("textarea",{id:i,className:"tf-input",rows:e.rows||3,value:c,onChange:o=>{r(o.target.value)},placeholder:l[0]!==s?a[0][s]||"":e.placeholder}):(0,h.jsx)("input",{id:i,className:"tf-input",value:c,onChange:o=>{r(o.target.value)},placeholder:l[0]!==s?a[0][s]||"":e.placeholder}),l[0]!==s&&(0,h.jsxs)("div",{className:"tf-row",style:{gap:8},children:[(0,h.jsx)(K,{size:"sm",variant:"ghost",icon:"copy",onClick:()=>{r(a[0][s]||"")},children:t.copyFrom((n.find(o=>o.code===s)||{}).label||s)}),e.onTranslate&&(0,h.jsx)(K,{size:"sm",variant:"ghost",icon:"sparkle",onClick:()=>{Promise.resolve(e.onTranslate?.(a[0][s]||"",l[0])).then(o=>{o&&r(o)})},children:t.translate})]})]})})}function Og(e){let t=M(ut),n=$(e.language,e.languages&&e.languages[0]&&e.languages[0].code,e.onLanguage),a=$(e.currency,e.currencies&&e.currencies[0],e.onCurrency),l=(e.languages||[]).find(i=>i.code===n[0])||{};return(0,h.jsx)(Ue,{width:280,trigger:i=>(0,h.jsxs)("button",{type:"button",className:p("tf-locsw",e.variant==="frame"&&"on-frame"),"aria-haspopup":"dialog","aria-expanded":i.open,onClick:i.toggle,title:t.languageAndCurrency,children:[l.flag?(0,h.jsx)("span",{children:l.flag}):(0,h.jsx)(x,{name:"globe",size:15}),(0,h.jsx)("span",{children:(l.short||n[0]||"").toUpperCase()}),a[0]&&(0,h.jsx)("span",{className:"tf-locsw-cur",children:a[0]}),(0,h.jsx)(x,{name:"chevronDown",size:13})]}),children:()=>(0,h.jsxs)("div",{className:"tf-col",style:{gap:12},children:[e.languages&&(0,h.jsxs)("div",{className:"tf-col",style:{gap:4},children:[(0,h.jsx)("span",{className:"tf-menu-label",style:{padding:"0 8px"},children:t.language}),(0,h.jsx)("div",{className:"tf-menu",style:{padding:0,boxShadow:"none"},children:e.languages.map(i=>(0,h.jsxs)("button",{type:"button",className:p("tf-menu-item",i.code===n[0]&&"on"),onClick:()=>{n[1](i.code)},children:[i.flag&&(0,h.jsx)("span",{"aria-hidden":!0,children:i.flag}),(0,h.jsx)("span",{style:{flex:1},children:i.label}),i.code===n[0]&&(0,h.jsx)(x,{name:"check",size:14})]},i.code))})]}),e.currencies&&(0,h.jsxs)("div",{className:"tf-col",style:{gap:6},children:[(0,h.jsx)("span",{className:"tf-menu-label",style:{padding:"0 8px"},children:t.currency}),(0,h.jsx)(Zn,{size:"sm",block:!0,value:a[0],onChange:a[1],options:e.currencies})]})]})})}function jg(e){let t=e.items||[],n=$(e.value,t[0]&&t[0].id,e.onChange),a=t.find(l=>l.id===n[0])||{};return(0,h.jsx)(Ue,{width:e.width||300,trigger:l=>(0,h.jsxs)("button",{type:"button",className:p("tf-wssw",e.variant==="frame"&&"on-frame"),"aria-haspopup":"listbox","aria-expanded":l.open,onClick:l.toggle,children:[a.logo||(0,h.jsx)("span",{className:p("tf-wssw-mark","tf-t-"+(a.tint||"sky")),children:(a.name||"?").charAt(0)}),(0,h.jsxs)("span",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:a.name}),a.sub&&(0,h.jsx)("small",{children:a.sub})]}),(0,h.jsx)(x,{name:"chevronDown",size:14})]}),children:l=>(0,h.jsxs)("div",{className:"tf-col",style:{gap:8},children:[e.label&&(0,h.jsx)("span",{className:"tf-menu-label",style:{padding:"0 8px"},children:e.label}),(0,h.jsx)("div",{className:"tf-menu",role:"listbox",style:{padding:0,boxShadow:"none"},children:t.map(i=>(0,h.jsxs)("button",{type:"button",role:"option","aria-selected":i.id===n[0],className:p("tf-menu-item",i.id===n[0]&&"on"),onClick:()=>{n[1](i.id),l.close&&l.close()},children:[i.logo||(0,h.jsx)("span",{className:p("tf-wssw-mark sm","tf-t-"+(i.tint||"sky")),children:i.name.charAt(0)}),(0,h.jsxs)("span",{className:"tf-option-text",style:{flex:1},children:[(0,h.jsx)("span",{children:i.name}),i.sub&&(0,h.jsx)("small",{children:i.sub})]}),i.id===n[0]&&(0,h.jsx)(x,{name:"check",size:14})]},i.id))}),e.footer]})})}function Lg(e){let t=M(ut),{formatNumber:n,formatPercent:a}=J(),l=$e.useState(e.format||(e.formats||["csv"])[0]),i=$e.useState((e.columns||[]).filter(f=>f.default!==!1).map(f=>f.key)),s=$e.useState(e.range||null),c=$e.useState("form"),r=$e.useState(0);if(!e.open&&!e.inline)return null;function u(){c[1]("running"),r[1](0);let f=e.onExport?.({format:l[0],columns:i[0],range:s[0]},d=>{r[1](d)});Promise.resolve(f).then(()=>{r[1](100),c[1]("done")})}let o=(0,h.jsxs)("div",{className:"tf-modal tf-export",role:"dialog","aria-modal":e.inline?void 0:"true","aria-label":e.title||t.export,children:[(0,h.jsx)("span",{className:"tf-modal-close",children:(0,h.jsx)(W,{icon:"x",label:t.close,size:"sm",onClick:e.onClose})}),(0,h.jsxs)("div",{children:[(0,h.jsx)("h2",{className:"tf-modal-title",children:e.title||t.export}),(0,h.jsx)("p",{className:"tf-modal-text",style:{marginTop:6},children:e.text||t.rowsMatch(n(e.count||0),e.count||0)})]}),c[0]==="form"?(0,h.jsxs)($e.Fragment,{children:[(0,h.jsx)(mt,{label:t.format,children:(0,h.jsx)(Zn,{block:!0,value:l[0],onChange:l[1],options:(e.formats||["csv","xlsx","json"]).map(f=>({value:f,label:f.toUpperCase()}))})}),e.ranges!==!1&&(0,h.jsx)(hr,{label:t.period,range:!0,value:s[0],onChange:f=>s[1](f),placeholder:t.allTime}),(e.columns||[]).length>0&&(0,h.jsx)(mt,{label:t.columns,hint:t.selectedCount(i[0].length),children:(0,h.jsx)("div",{className:"tf-export-cols",children:(e.columns||[]).map(f=>{let d=i[0].indexOf(f.key)>-1;return(0,h.jsxs)("label",{className:"tf-check",children:[Us({checked:d,onChange:()=>{i[1](d?i[0].filter(m=>m!==f.key):i[0].concat([f.key]))}}),f.label]},f.key)})})}),e.note&&(0,h.jsx)("p",{className:"tf-card-desc",style:{margin:0},children:e.note}),(0,h.jsxs)("div",{className:"tf-modal-foot",children:[(0,h.jsx)(K,{variant:"ghost",onClick:e.onClose,children:t.cancel}),(0,h.jsx)(K,{icon:"download",disabled:!i[0].length&&(e.columns||[]).length>0,onClick:u,children:t.export})]})]}):c[0]==="running"?(0,h.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,h.jsx)(yr,{value:r[0],label:t.exportProgress}),(0,h.jsx)("span",{className:"tf-card-desc",children:t.preparingFile+" "+a(Math.round(r[0]))})]}):(0,h.jsxs)($e.Fragment,{children:[(0,h.jsx)(Be,{status:"ok",label:e.doneText||t.fileReady}),(0,h.jsxs)("div",{className:"tf-modal-foot",children:[(0,h.jsx)(K,{variant:"ghost",onClick:()=>{c[1]("form")},children:t.newExport}),e.download||(0,h.jsx)(K,{icon:"download",onClick:e.onDownload,children:t.download})]})]})]});return e.inline?o:(0,h.jsx)(An,{children:(0,h.jsxs)("div",{className:"tf-overlay",children:[(0,h.jsx)("div",{className:"tf-backdrop",onClick:e.onClose}),o]})})}function Hg(e){let t=M(ut),n=$e.useState(e.step||0),a=$e.useState(null),l=$e.useState(!1),i=t.twoFactorSteps;return(0,h.jsxs)("div",{className:"tf-2fa",children:[(0,h.jsx)("ol",{className:"tf-2fa-steps",children:i.map((s,c)=>(0,h.jsxs)("li",{className:p(c===n[0]&&"on",c<n[0]&&"done"),children:[(0,h.jsx)("span",{children:c<n[0]?(0,h.jsx)(x,{name:"check",size:12}):c+1}),s]},c))}),n[0]===0&&(0,h.jsxs)("div",{className:"tf-2fa-scan",children:[(0,h.jsx)("div",{className:"tf-2fa-qr",role:"img","aria-label":t.qrCode,children:e.qr||(0,h.jsx)(x,{name:"grid",size:48})}),(0,h.jsxs)("div",{className:"tf-col",style:{gap:12,minWidth:0},children:[(0,h.jsx)("p",{className:"tf-card-desc",style:{margin:0},children:e.scanText||t.scanText}),(0,h.jsxs)("button",{type:"button",className:"tf-2fa-key",onClick:()=>{try{navigator.clipboard.writeText(e.secret)}catch{}St&&St({text:t.copied})},children:[(0,h.jsx)("span",{className:"tf-mono",children:(e.secret||"").replace(/(.{4})/g,"$1 ").trim()}),(0,h.jsx)(x,{name:"copy",size:14})]}),(0,h.jsx)("div",{children:(0,h.jsx)(K,{onClick:()=>{n[1](1)},children:t.next})})]})]}),n[0]===1&&(0,h.jsxs)("div",{className:"tf-col",style:{gap:12},children:[(0,h.jsx)("p",{className:"tf-card-desc",style:{margin:0},children:t.enterCode}),(0,h.jsx)(gr,{error:!!a[0],onComplete:s=>{Promise.resolve(e.onVerify?e.onVerify(s):!0).then(c=>{c?(a[1](null),n[1](2)):a[1](t.codeFailed)})}}),a[0]&&(0,h.jsx)("span",{className:"tf-field-error",children:a[0]}),(0,h.jsx)("div",{children:(0,h.jsx)(K,{variant:"ghost",onClick:()=>{n[1](0)},children:t.back})})]}),n[0]===2&&(0,h.jsxs)("div",{className:"tf-col",style:{gap:12},children:[(0,h.jsx)("p",{className:"tf-card-desc",style:{margin:0},children:e.codesText||t.codesText}),(0,h.jsx)("div",{className:"tf-2fa-codes",children:(e.codes||[]).map(s=>(0,h.jsx)("code",{children:s},s))}),(0,h.jsxs)("div",{className:"tf-row",children:[(0,h.jsx)(K,{variant:"secondary",icon:"copy",onClick:()=>{try{navigator.clipboard.writeText((e.codes||[]).join(`
|
|
26
|
-
`))}catch{}St&&St({text:t.copied})},children:t.copy}),e.onDownload&&(0,h.jsx)(K,{variant:"secondary",icon:"download",onClick:e.onDownload,children:t.download})]}),(0,h.jsx)(xr,{checked:l[0],onChange:()=>{l[1](!l[0])},children:t.savedCodes}),(0,h.jsx)("div",{children:(0,h.jsx)(K,{icon:"check",disabled:!l[0],onClick:e.onDone,children:t.turnOnTwoFactor})})]})]})}function Ug(e){let t=M(ut),{formatNumber:n}=J(),a=Se("cf"),l=$(e.value,e.defaultValue||"#000000",e.onChange);function i(u){let o=/^#?([0-9a-f]{6})$/i.exec(u||"");if(!o)return null;let f=parseInt(o[1],16),d=[f>>16&255,f>>8&255,f&255].map(m=>(m/=255,m<=.03928?m/12.92:Math.pow((m+.055)/1.055,2.4)));return .2126*d[0]+.7152*d[1]+.0722*d[2]}let s=i(l[0]),c=i(e.against||"#ffffff"),r=s!=null&&c!=null?(Math.max(s,c)+.05)/(Math.min(s,c)+.05):null;return(0,h.jsx)(mt,{id:a,label:e.label,hint:e.hint,children:(0,h.jsxs)("div",{className:"tf-colorf",children:[(0,h.jsx)("label",{className:"tf-colorf-sw",style:{background:l[0]},children:(0,h.jsx)("input",{type:"color",value:/^#[0-9a-f]{6}$/i.test(l[0])?l[0]:"#000000",onChange:u=>{l[1](u.target.value)},"aria-label":t.pickColour})}),(0,h.jsx)("input",{id:a,"aria-label":e.label?void 0:t.pickColour,className:"tf-input tf-mono",value:l[0],onChange:u=>{l[1](u.target.value)},spellCheck:!1}),r!=null&&e.against!==!1&&(0,h.jsx)("span",{className:p("tf-colorf-ratio",r>=4.5?"ok":r>=3?"warn":"bad"),title:t.contrastAgainst(e.against||"#ffffff"),children:n(r,{maximumFractionDigits:1})+":1 "+(r>=4.5?t.contrastAA:r>=3?t.contrastAALarge:t.contrastFails)})]})})}var T=G(ye(),1),wi=G(re(),1);function Bg(e){let t=M(Ot);return(0,T.jsxs)("div",{className:p("tf-agentcard",e.onClick&&"click"),onClick:e.onClick,tabIndex:e.onClick?0:void 0,children:[(0,T.jsxs)("div",{className:"tf-agentcard-top",children:[(0,T.jsx)(Xt,{tint:e.tint,live:e.status==="running",size:40}),(0,T.jsxs)("div",{className:"tf-option-text",children:[(0,T.jsx)("b",{children:e.name}),(0,T.jsx)("small",{children:e.role})]}),e.onChat&&(0,T.jsx)(W,{icon:"mail",label:t.chatWith(e.name),size:"sm",onClick:n=>{n.stopPropagation(),e.onChat?.()}})]}),(0,T.jsx)(Be,{status:e.status||"idle",label:e.statusLabel}),(0,T.jsx)(Fn,{dense:!0,items:[[t.model,e.model],[t.costToday,e.cost,!0],[t.lastAction,e.last]].filter(n=>n[1]!=null)})]})}function Vg(e){return(0,T.jsxs)("div",{className:"tf-agentdetails",children:[(0,T.jsxs)("div",{className:"tf-agentdetails-id",children:[(0,T.jsx)(Xt,{tint:e.tint,size:56,live:e.status==="running"}),(0,T.jsx)("b",{children:e.name}),(0,T.jsx)("span",{className:"tf-card-desc",children:e.role}),(0,T.jsx)(Be,{status:e.status||"idle",label:e.statusLabel})]}),(e.sections||[]).map((t,n)=>(0,T.jsx)(ki,{title:t.title,meta:t.meta,defaultOpen:t.open!==!1,children:t.items?(0,T.jsx)(Fn,{dense:!0,items:t.items}):t.children},n)),e.actions&&(0,T.jsx)("div",{className:"tf-col",style:{gap:8},children:e.actions})]})}function qg(e){let t=M(Ot),n=wi.useState(""),a=(e.groups||[]).map(l=>Object.assign({},l,{items:l.items.filter(i=>!n[0]||(i.name+" "+(i.sub||"")).toLowerCase().indexOf(n[0].toLowerCase())>-1)})).filter(l=>l.items.length);return(0,T.jsxs)("div",{className:"tf-chatlist",children:[(0,T.jsx)(Dn,{placeholder:e.searchPlaceholder||t.searchChats,value:n[0],onChange:l=>{n[1](l.target.value),e.onSearch&&e.onSearch(l.target.value)}}),e.filters,(0,T.jsx)("div",{className:"tf-chatlist-scroll",children:a.length===0?(0,T.jsx)("p",{className:"tf-card-desc",style:{padding:12},children:t.noChatsMatch}):a.map(l=>(0,T.jsxs)("div",{className:"tf-chatlist-group",children:[(0,T.jsxs)("div",{className:"tf-menu-label",children:[l.mark&&(0,T.jsx)("i",{className:"tf-sw tf-sw-"+l.mark}),l.title]}),l.items.map(i=>(0,T.jsxs)("button",{type:"button",className:p("tf-chatrow",i.id===e.selected&&"on"),onClick:()=>{e.onSelect&&e.onSelect(i.id)},children:[i.avatar?(0,T.jsx)(Ve,{name:i.name,size:36}):(0,T.jsx)(Xt,{tint:i.tint,live:i.status==="running",size:36}),(0,T.jsxs)("span",{className:"tf-chatrow-text",children:[(0,T.jsxs)("span",{className:"tf-chatrow-top",children:[(0,T.jsx)("b",{children:i.name}),(0,T.jsx)("small",{children:i.time})]}),(0,T.jsxs)("span",{className:"tf-chatrow-sub",children:[i.status&&(0,T.jsx)(ze,{status:i.status}),i.sub]})]}),i.unread?(0,T.jsx)("span",{className:"tf-nav-count",children:i.unread}):i.pinned?(0,T.jsx)(x,{name:"star",size:13,className:"tf-chatrow-pin"}):null]},i.id))]},l.title))})]})}function Gg(e){return(0,T.jsxs)("div",{className:p("tf-chatws",e.details&&"with-details",e.className),children:[(0,T.jsx)("div",{className:"tf-chatws-list",children:e.list}),(0,T.jsx)("div",{className:"tf-chatws-thread",children:e.thread}),e.details&&(0,T.jsx)("div",{className:"tf-chatws-details",children:e.details})]})}function Yg(e){let t=M(Ot);return(0,T.jsx)("div",{className:"tf-hits",children:(e.items||[]).length===0?(0,T.jsx)(Ti,{icon:"search",title:t.nothingFound,text:e.emptyText}):e.items.map(n=>{let a=String(n.text).split(new RegExp("("+(e.query||"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+")","ig"));return(0,T.jsxs)("button",{type:"button",className:"tf-hit",onClick:()=>{e.onOpen&&e.onOpen(n)},children:[(0,T.jsxs)("span",{className:"tf-hit-top",children:[(0,T.jsx)("b",{children:n.chat}),(0,T.jsx)("small",{children:n.time})]}),(0,T.jsxs)("span",{className:"tf-hit-text",children:[n.who&&(0,T.jsx)("b",{children:n.who+": "}),a.map((l,i)=>i%2?(0,T.jsx)("mark",{children:l},i):l)]})]},n.id)})})}function Qg(e){let t=M(Ot);return(0,T.jsxs)("div",{className:"tf-thinking",role:"status",children:[(0,T.jsx)(Gs,{}),(0,T.jsx)("span",{children:e.text||t.thinking})]})}function Xg(e){let t=M(Ot),n=$(e.value,null,i=>{i&&e.onRate?.(i)}),a=wi.useState(""),l=wi.useState(!1);return l[0]?(0,T.jsxs)("span",{className:"tf-feedback-done",children:[(0,T.jsx)(x,{name:"check",size:13}),e.thanks||t.thanksNoted]}):(0,T.jsxs)("div",{className:"tf-feedback",children:[(0,T.jsxs)("div",{className:"tf-row",style:{gap:4,flexWrap:"nowrap"},children:[e.label&&(0,T.jsx)("span",{className:"tf-card-desc",children:e.label}),(0,T.jsx)("button",{type:"button",className:p("tf-msg-act",n[0]==="up"&&"on"),"aria-pressed":n[0]==="up","aria-label":t.good,onClick:()=>{n[1]("up"),e.askOnUp||(l[1](!0),e.onSubmit&&e.onSubmit("up",""))},children:(0,T.jsx)(x,{name:"thumbUp",size:14})}),(0,T.jsx)("button",{type:"button",className:p("tf-msg-act",n[0]==="down"&&"on"),"aria-pressed":n[0]==="down","aria-label":t.notGood,onClick:()=>{n[1]("down")},children:(0,T.jsx)(x,{name:"thumbDown",size:14})})]}),n[0]==="down"&&(0,T.jsxs)("form",{className:"tf-feedback-form tf-in",onSubmit:i=>{i.preventDefault(),l[1](!0),e.onSubmit&&e.onSubmit("down",a[0])},children:[(0,T.jsx)("input",{className:"tf-input",autoFocus:!0,placeholder:e.placeholder||t.whatShouldBeDifferent,value:a[0],onChange:i=>{a[1](i.target.value)}}),(0,T.jsx)(K,{type:"submit",size:"sm",children:t.send})]})]})}function Kg(e){return(0,T.jsx)("div",{className:"tf-activity",children:(e.groups||[{items:e.items||[]}]).map((t,n)=>(0,T.jsxs)("div",{className:"tf-activity-group",children:[t.title&&(0,T.jsx)("div",{className:"tf-menu-label",children:t.title}),(0,T.jsx)("ol",{children:t.items.map((a,l)=>(0,T.jsxs)("li",{className:"tf-activity-item",children:[(0,T.jsx)("span",{className:"tf-activity-time tf-mono",children:a.time}),(0,T.jsx)("span",{className:"tf-activity-spine",children:(0,T.jsx)(ze,{status:a.status||"ok"})}),(0,T.jsxs)("span",{className:"tf-activity-text",children:[a.actor&&(0,T.jsx)("b",{children:a.actor+" "}),a.text,a.link&&(0,T.jsxs)("span",{children:[" ",a.link]})]})]},l))})]},n))})}function Zg(e){let t=M(Ot);return(0,T.jsxs)("div",{className:"tf-briefing",children:[(0,T.jsxs)("div",{className:"tf-briefing-head",children:[(0,T.jsx)(Xt,{tint:e.tint||"lilac",size:40}),(0,T.jsxs)("div",{className:"tf-option-text",children:[(0,T.jsx)("b",{children:e.title}),(0,T.jsx)("small",{children:e.time})]})]}),(0,T.jsx)("p",{className:"tf-briefing-text",children:e.summary}),e.attention&&e.attention.length>0&&(0,T.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,T.jsx)("span",{className:"tf-menu-label",style:{padding:0},children:e.attentionTitle||t.needsYou}),e.attention.map((n,a)=>(0,T.jsxs)("button",{type:"button",className:"tf-briefing-item",onClick:n.onClick,children:[(0,T.jsx)(ze,{status:n.status||"signal"}),(0,T.jsx)("span",{children:n.text}),(0,T.jsx)(x,{name:"chevronRight",size:14})]},a))]}),e.suggestions&&e.suggestions.length>0&&(0,T.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,T.jsx)("span",{className:"tf-menu-label",style:{padding:0},children:e.suggestionsTitle||t.suggestions}),(0,T.jsx)("ul",{className:"tf-briefing-sugg",children:e.suggestions.map((n,a)=>(0,T.jsx)("li",{children:n},a))})]})]})}function Fg(e){let t=M(Ot),{formatMoney:n}=J();return(0,T.jsxs)("div",{className:"tf-budgetstop",children:[(0,T.jsx)(vr,{tone:"danger",title:e.title||t.budgetUsedUp,action:e.onRaise&&(0,T.jsx)(K,{size:"sm",variant:"secondary",onClick:e.onRaise,children:e.actionLabel||t.raiseBudget}),children:e.text||t.budgetText}),(0,T.jsx)(Xa,{label:t.spentThisMonth,value:e.spent,max:e.budget,text:n(e.spent)+" / "+n(e.budget),tone:"blush"}),e.paused&&(0,T.jsx)(Fn,{dense:!0,items:[[t.paused,e.paused],[t.stillRunning,e.running||t.nothing]]})]})}function Ig(e){let t=M(Ot),n=wi.useState(""),a=wi.useState(null),l=[];(e.items||[]).forEach(s=>{l.indexOf(s.scope)<0&&l.push(s.scope)});let i=(e.items||[]).filter(s=>(!a[0]||s.scope===a[0])&&(!n[0]||s.text.toLowerCase().indexOf(n[0].toLowerCase())>-1));return(0,T.jsxs)("div",{className:"tf-memory",children:[(0,T.jsxs)("div",{className:"tf-filterbar",children:[(0,T.jsx)(Dn,{placeholder:t.searchMemory,value:n[0],onChange:s=>{n[1](s.target.value)},style:{flex:"1 1 200px",minWidth:0}}),l.map(s=>(0,T.jsx)(Bl,{selected:a[0]===s,onClick:()=>{a[1](a[0]===s?null:s)},children:s},s))]}),i.length===0?(0,T.jsx)("p",{className:"tf-card-desc",children:t.nothingRemembered}):i.map(s=>(0,T.jsxs)("div",{className:"tf-memitem",children:[(0,T.jsx)("p",{children:s.text}),(0,T.jsxs)("div",{className:"tf-memitem-meta",children:[(0,T.jsx)(Oe,{tone:"neutral",dot:!1,children:s.scope}),s.source&&(0,T.jsx)("span",{children:s.source}),s.date&&(0,T.jsx)("span",{children:s.date}),(0,T.jsxs)("span",{className:"tf-row",style:{marginLeft:"auto",gap:4,flexWrap:"nowrap"},children:[e.onEdit&&(0,T.jsx)(W,{icon:"edit",label:t.edit,size:"sm",variant:"ghost",onClick:()=>{e.onEdit?.(s)}}),e.onDelete&&(0,T.jsx)(W,{icon:"trash",label:t.forget,size:"sm",variant:"ghost",onClick:()=>{e.onDelete?.(s)}})]})]})]},s.id))]})}function Jg(e){let t=M(Ot),n=String(e.before||"").split(`
|
|
27
|
-
`),
|
|
28
|
-
`),l=[],i=0,
|
|
29
|
-
`]},r))})]})}var wx={schedule:"clock",event:"zap",webhook:"link",mail:"mail"};function $g(e){let t=M(Ot);return(0,T.jsx)("div",{className:"tf-triggers",children:(e.items||[]).map(n=>(0,T.jsxs)("div",{className:p("tf-trigger",n.enabled===!1&&"off"),children:[(0,T.jsx)(ce,{icon:wx[n.type]||"zap",tint:n.enabled===!1?"plain":"sky"}),(0,T.jsxs)("span",{className:"tf-option-text",children:[(0,T.jsx)("b",{children:n.rule}),(0,T.jsx)("small",{children:[n.agent,n.by].filter(Boolean).join(" \xB7 ")})]}),(0,T.jsx)("span",{className:"tf-trigger-next",children:n.next}),e.onToggle&&(0,T.jsx)("input",{type:"checkbox",role:"switch",className:"tf-switch",checked:n.enabled!==!1,"aria-label":typeof n.rule=="string"?n.rule:void 0,onChange:()=>{e.onToggle?.(n)}}),e.onRun&&(0,T.jsx)(et,{label:t.runNow,children:(0,T.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-soft tf-iconbtn-sm","aria-label":t.runNow,onClick:()=>{e.onRun?.(n)},children:(0,T.jsx)(x,{name:"play"})})})]},n.id))})}function Pg(e){let{locale:t}=J(),n=e.from!=null?e.from:6,a=e.to!=null?e.to:22,l=[];for(let c=n;c<a;c++)l.push(c);let i=e.days||Hu(t),s=32;return(0,T.jsxs)("div",{className:"tf-sched",style:{"--rows":l.length,"--row-h":s+"px"},children:[(0,T.jsx)("span",{}),i.map((c,r)=>(0,T.jsx)("span",{className:"tf-sched-day",children:c},r)),(0,T.jsx)("div",{className:"tf-sched-times",children:l.map(c=>(0,T.jsx)("span",{children:(c<10?"0":"")+c+":00"},c))}),i.map((c,r)=>(0,T.jsx)("div",{className:"tf-sched-col",children:(e.events||[]).filter(u=>u.day===r).map((u,o)=>{let f=(u.start-n)*s,d=Math.max(s/2,(u.end-u.start)*s-4);return(0,T.jsxs)("button",{type:"button",className:p("tf-sched-ev","tf-bg-"+(u.tint||"sky"),u.self&&"self"),style:{top:f,height:d},title:u.label,onClick:()=>{e.onOpen&&e.onOpen(u)},children:[(0,T.jsx)("b",{children:u.label}),d>30&&u.sub&&(0,T.jsx)("small",{children:u.sub})]},o)})},r))]})}function Wg(e){function t(n){return(0,T.jsxs)("li",{children:[(0,T.jsxs)("div",{className:p("tf-org-node",n.root&&"root"),children:[n.avatar?(0,T.jsx)(Ve,{name:n.name,size:32}):(0,T.jsx)(Xt,{tint:n.tint,size:32,live:n.status==="running"}),(0,T.jsxs)("span",{className:"tf-option-text",children:[(0,T.jsx)("b",{children:n.name}),(0,T.jsx)("small",{children:n.role})]}),n.status&&(0,T.jsx)(ze,{status:n.status})]}),n.children&&n.children.length>0&&(0,T.jsx)("ul",{children:n.children.map(t)})]},n.id||n.name)}return(0,T.jsx)("div",{className:"tf-org",children:(0,T.jsx)("ul",{children:t(Object.assign({root:!0},e.root))})})}function ev(e){let t=M(Ot),n=e.state||"listening",a=[];for(let l=0;l<24;l++)a.push(l);return(0,T.jsxs)("div",{className:p("tf-voice","is-"+n),children:[(0,T.jsx)(Xt,{tint:e.tint||"lilac",size:72,live:n!=="idle"}),(0,T.jsx)("b",{className:"tf-voice-name",children:e.name}),(0,T.jsx)("span",{className:"tf-voice-state",children:e.stateLabel||(n==="listening"?t.listening:n==="thinking"?t.thinking:n==="speaking"?t.speaking:t.paused)}),(0,T.jsx)("div",{className:"tf-voice-wave","aria-hidden":!0,children:a.map(l=>(0,T.jsx)("i",{style:{animationDelay:l*47%600+"ms",height:n==="idle"?4:void 0}},l))}),e.transcript&&(0,T.jsx)("p",{className:"tf-voice-transcript",children:e.transcript}),(0,T.jsxs)("div",{className:"tf-row",style:{justifyContent:"center"},children:[e.onMute&&(0,T.jsx)(W,{icon:e.muted?"x":"user",label:e.muted?t.unmute:t.mute,variant:"soft",size:"lg",onClick:e.onMute}),e.onEnd&&(0,T.jsx)("button",{type:"button",className:"tf-voice-end",onClick:e.onEnd,"aria-label":t.endConversation,children:(0,T.jsx)(x,{name:"x",size:20})})]})]})}var ie=G(ye(),1),cM=G(re(),1);function tv(e){let t=M(vi);return(0,ie.jsx)("nav",{className:"tf-tabbar","aria-label":e.label||t.mainNavigation,children:(e.items||[]).map(n=>{let a=n.id===e.active;return(0,ie.jsxs)("button",{type:"button",className:p("tf-tabbar-item",a&&"on"),"aria-current":a?"page":void 0,onClick:()=>{e.onPick&&e.onPick(n.id)},children:[(0,ie.jsxs)("span",{className:"tf-tabbar-ico",children:[(0,ie.jsx)(x,{name:n.icon,size:20}),n.count?(0,ie.jsx)("span",{className:"tf-dotcount",children:n.count}):null]}),(0,ie.jsx)("span",{children:n.label})]},n.id)})})}function nv(e){return(0,ie.jsxs)("div",{className:"tf-push",children:[(0,ie.jsxs)("div",{className:"tf-push-top",children:[(0,ie.jsx)("span",{className:"tf-push-app",children:e.app}),(0,ie.jsx)("small",{children:e.time})]}),(0,ie.jsx)("b",{children:e.title}),(0,ie.jsx)("p",{children:e.text}),e.actions&&(0,ie.jsx)("div",{className:"tf-push-actions",children:e.actions.map(t=>(0,ie.jsx)("button",{type:"button",onClick:t.onClick,children:t.label},t.label))})]})}function av(e){let t={project:"grid",team:"users",agent:"bot",tool:"zap",trigger:"clock",file:"file"};return(0,ie.jsxs)("div",{className:"tf-prsum",children:[(0,ie.jsxs)("div",{className:"tf-prsum-head",children:[(0,ie.jsx)(ce,{icon:"branch",tint:"lilac"}),(0,ie.jsxs)("span",{className:"tf-option-text",children:[(0,ie.jsx)("b",{children:e.title}),(0,ie.jsx)("small",{children:e.meta})]}),e.status&&(0,ie.jsx)(Be,{status:e.status,label:e.statusLabel})]}),e.summary&&(0,ie.jsx)("p",{className:"tf-card-desc",style:{margin:0,fontSize:14,lineHeight:"22px"},children:e.summary}),(0,ie.jsx)("ul",{className:"tf-prsum-list",children:(e.items||[]).map((n,a)=>(0,ie.jsxs)("li",{className:"op-"+(n.op||"add"),children:[(0,ie.jsx)("span",{className:"tf-prsum-op",children:n.op==="remove"?"\u2212":n.op==="change"?"~":"+"}),(0,ie.jsx)(x,{name:t[n.kind]||"file",size:14}),(0,ie.jsxs)("span",{className:"tf-option-text",children:[(0,ie.jsx)("b",{children:n.name}),n.detail&&(0,ie.jsx)("small",{children:n.detail})]})]},a))}),e.actions&&(0,ie.jsx)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:e.actions})]})}function lv(e){let t=M(vi);return(0,ie.jsx)("div",{className:"tf-modules",children:(e.items||[]).map(n=>(0,ie.jsxs)("div",{className:"tf-module",children:[(0,ie.jsx)(ce,{icon:n.icon||"grid",tint:n.core?"plain":n.enabled?"mint":"plain"}),(0,ie.jsxs)("span",{className:"tf-option-text",children:[(0,ie.jsxs)("b",{children:[n.name," ",(0,ie.jsx)("span",{className:"tf-mono tf-module-v",children:n.version})]}),(0,ie.jsx)("small",{children:n.text})]}),n.adds&&(0,ie.jsx)("span",{className:"tf-module-adds",children:n.adds.map(a=>(0,ie.jsx)(Oe,{tone:"neutral",dot:!1,children:a},a))}),n.core?(0,ie.jsx)(et,{label:e.coreLabel||t.coreModule,children:(0,ie.jsx)("span",{className:"tf-module-lock",tabIndex:0,children:(0,ie.jsx)(x,{name:"lock",size:14})})}):(0,ie.jsx)("input",{type:"checkbox",role:"switch",className:"tf-switch",checked:!!n.enabled,"aria-label":n.name,onChange:()=>{e.onToggle&&e.onToggle(n)}})]},n.id))})}var ne=G(ye(),1),Ys=G(re(),1);var iv={money:"card",infra:"server",comms:"mail",marketing:"trend",apps:"code",legal:"book"};function sv(e){let t=M(bi),n=e.options||[{key:"A",label:e.approveLabel||t.approveAsShown},{key:"B",label:t.approveWithChange,input:t.whatShouldChange},{key:"C",label:t.discard},{key:"D",label:t.differentInstruction,input:t.whatInstead}],a=Ys.useState(null),l=Ys.useState(""),i=Ys.useRef(null),s=e.decision||(e.state==="approved"?{key:"A"}:e.state==="denied"?{key:"C"}:null);function c(o){if(o.input&&a[0]!==o.key){a[1](o.key),l[1]("");return}o.input&&!l[0].trim()||(e.onDecide&&e.onDecide(o.key,o.input?l[0].trim():void 0),o.key==="A"&&e.onApprove&&e.onApprove(),o.key==="C"&&e.onDeny&&e.onDeny(),o.key==="B"&&e.onEdit&&e.onEdit(l[0]),a[1](null))}function r(o){let f=o.target.tagName;if(s||f==="TEXTAREA"||f==="INPUT")return;let d=n.find(m=>m.key===o.key.toUpperCase());d&&(o.preventDefault(),c(d))}let u=e.family?iv[e.family]:void 0;if(s){let o=n.find(f=>f.key===s.key)||{key:s.key,label:""};return(0,ne.jsxs)("div",{className:p("tf-approval tf-approval-done",s.key==="A"||s.key==="B"?"yes":"no",e.className),children:[(0,ne.jsx)(ze,{status:s.key==="A"||s.key==="B"?"ok":"idle"}),(0,ne.jsx)("b",{children:o.key+" \xB7 "+o.label}),e.title&&(0,ne.jsx)("span",{className:"tf-approval-done-what",children:e.title}),(0,ne.jsx)("span",{className:"tf-approval-done-by",children:[s.by,s.at].filter(Boolean).join(" \xB7 ")}),s.text&&(0,ne.jsx)("span",{className:"tf-approval-done-note",children:"\u201C"+s.text+"\u201D"})]})}return(0,ne.jsxs)("div",{ref:i,className:p("tf-approval",e.compact&&"compact",e.className),tabIndex:0,onKeyDown:r,role:"group","aria-label":typeof e.title=="string"?e.title:void 0,children:[(0,ne.jsxs)("div",{className:"tf-approval-top",children:[(0,ne.jsx)(ze,{status:"signal"}),(0,ne.jsx)("b",{children:e.heading||t.approvalNeeded}),(e.agent||e.project)&&(0,ne.jsx)("span",{className:"tf-approval-who",children:[e.agent,e.project].filter(Boolean).join(" \xB7 ")}),u&&(0,ne.jsxs)(Oe,{tone:"neutral",dot:!1,className:"tf-family",children:[(0,ne.jsx)(x,{name:u,size:12}),e.familyLabel||e.family&&t.riskFamily[e.family]]}),e.age&&(0,ne.jsx)("span",{className:"tf-approval-age",children:e.age})]}),(0,ne.jsxs)("div",{className:"tf-approval-main",children:[e.title&&(0,ne.jsx)("p",{className:"tf-approval-title",children:e.title}),e.text&&(0,ne.jsx)("p",{className:"tf-approval-reason",children:e.text}),e.children&&(0,ne.jsx)("div",{className:"tf-approval-body",children:e.children})]}),(0,ne.jsx)("div",{className:"tf-approval-opts",role:"list",children:n.map((o,f)=>(0,ne.jsxs)("div",{role:"listitem",children:[(0,ne.jsxs)("button",{type:"button",className:p("tf-approval-opt",f===0&&"primary",a[0]===o.key&&"open"),onClick:()=>{c(o)},"aria-keyshortcuts":o.key,children:[(0,ne.jsx)("kbd",{children:o.key}),(0,ne.jsx)("span",{children:o.label}),o.input&&a[0]!==o.key&&(0,ne.jsx)(x,{name:"chevronRight",size:14})]}),o.input&&a[0]===o.key&&(0,ne.jsxs)("div",{className:"tf-approval-input tf-in",children:[(0,ne.jsx)("textarea",{className:"tf-input",rows:2,autoFocus:!0,placeholder:o.placeholder||(typeof o.input=="string"?o.input:void 0),value:l[0],onChange:d=>{l[1](d.target.value)},onKeyDown:d=>{d.key==="Enter"&&(d.metaKey||d.ctrlKey)&&c(o),d.key==="Escape"&&a[1](null)}}),(0,ne.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:[(0,ne.jsx)(K,{size:"sm",variant:"ghost",onClick:()=>{a[1](null)},children:t.cancel}),(0,ne.jsx)(K,{size:"sm",disabled:!l[0].trim(),onClick:()=>{c(o)},children:o.key+" \xB7 "+t.send})]})]})]},o.key))}),(e.escalation||e.trace||e.note)&&(0,ne.jsxs)("div",{className:"tf-approval-foot",children:[e.escalation&&(0,ne.jsxs)("span",{children:[(0,ne.jsx)(x,{name:"clock",size:13}),e.escalation]}),e.note&&(0,ne.jsx)("span",{children:e.note}),e.trace&&(0,ne.jsx)("span",{className:"tf-approval-trace",children:e.trace})]})]})}function cv(e){let t=M(bi),n=(e.items||[]).slice().sort((a,l)=>(l.ageMin||0)-(a.ageMin||0));return(0,ne.jsx)("div",{className:"tf-inbox",role:"listbox","aria-label":e.label||t.approvals,onKeyDown:a=>{let l=n.findIndex(i=>i.id===e.selected);if(a.key==="j"||a.key==="ArrowDown"){a.preventDefault();let i=n[Math.min(n.length-1,l+1)];i&&e.onSelect&&e.onSelect(i.id)}if(a.key==="k"||a.key==="ArrowUp"){a.preventDefault();let i=n[Math.max(0,l-1)];i&&e.onSelect&&e.onSelect(i.id)}},children:n.length===0?(0,ne.jsx)(Ti,{icon:"check",tint:"mint",title:e.emptyTitle||t.nothingWaiting,text:e.emptyText}):n.map(a=>{let l=a.family?iv[a.family]:void 0;return(0,ne.jsxs)("button",{type:"button",role:"option","aria-selected":a.id===e.selected,className:p("tf-inbox-row",a.id===e.selected&&"on"),onClick:()=>{e.onSelect&&e.onSelect(a.id)},children:[(0,ne.jsx)(ze,{status:"signal"}),(0,ne.jsxs)("span",{className:"tf-inbox-text",children:[(0,ne.jsx)("b",{children:a.title}),(0,ne.jsx)("small",{children:[a.agent,a.project].filter(Boolean).join(" \xB7 ")})]}),l&&(0,ne.jsxs)(Oe,{tone:"neutral",dot:!1,className:"tf-family",children:[(0,ne.jsx)(x,{name:l,size:12}),a.familyLabel||a.family&&t.riskFamily[a.family]]}),(0,ne.jsxs)("span",{className:p("tf-inbox-age",a.urgent&&"warn"),children:[a.urgent&&(0,ne.jsx)(ze,{status:"warn"}),a.age]})]},a.id)})})}var Z=G(ye(),1),Ka=G(re(),1);function rv(e){let t=M(kl),n=e.value||{},a=Object.keys(n).filter(s=>n[s]!=null&&n[s]!=="");function l(s,c){let r=Object.assign({},n);c==null?delete r[s]:r[s]=c,e.onChange?.(r)}let i=(e.filters||[]).filter(s=>a.indexOf(s.key)<0);return(0,Z.jsxs)("div",{className:"tf-filterbar",children:[e.search&&(0,Z.jsx)(Dn,{placeholder:e.search,value:e.query,onChange:s=>{e.onQuery?.(s.target.value)},style:{minWidth:0,flex:"1 1 220px",maxWidth:320}}),a.map(s=>{let c=(e.filters||[]).find(r=>r.key===s)||{key:s,label:s,options:[]};return(0,Z.jsx)(Ue,{width:220,flush:!0,trigger:r=>(0,Z.jsxs)("span",{className:"tf-filterchip",children:[(0,Z.jsxs)("button",{type:"button",onClick:r.toggle,children:[(0,Z.jsx)("span",{children:c.label+":"}),(0,Z.jsx)("b",{children:n[s]})]}),(0,Z.jsx)("button",{type:"button",className:"x","aria-label":t.removeFilter(c.label),onClick:()=>{l(s,null)},children:(0,Z.jsx)(x,{name:"x",size:12})})]}),children:r=>(0,Z.jsx)(At,{items:c.options.map(u=>({label:u,icon:u===n[s]?"check":void 0,onClick:()=>{l(s,u),r.close()}}))})},s)}),i.length>0&&(0,Z.jsx)(Ue,{width:240,flush:!0,trigger:s=>(0,Z.jsxs)("button",{type:"button",className:"tf-chip tf-chip-dashed",onClick:s.toggle,children:[(0,Z.jsx)(x,{name:"plus",size:14}),t.addFilter]}),children:s=>(0,Z.jsx)(zx,{avail:i,onPick:(c,r)=>{l(c,r),s.close()}})}),a.length>1&&(0,Z.jsx)("button",{type:"button",className:"tf-linkbtn",onClick:()=>{e.onChange?.({})},children:t.clearAll}),e.right&&(0,Z.jsx)("div",{className:"tf-filterbar-right",children:e.right})]})}function zx(e){let t=M(kl),n=Ka.useState(null),a=n[0];return a?(0,Z.jsx)(At,{items:[{label:t.back,icon:"chevronLeft",onClick:()=>{n[1](null)}},"-",...a.options.map(l=>({label:l,onClick:()=>{e.onPick?.(a.key,l)}}))]}):(0,Z.jsx)(At,{items:e.avail.map(l=>({label:l.label,icon:l.icon||"filter",onClick:()=>{n[1](l)}}))})}function Qs(e){let t=M(kl),n=e.columns||[],a=e.rowKey||"id",l=Ka.useState(e.defaultSort||null),i=Ka.useState([]),s=Ka.useState(n.filter(b=>b.hidden).map(b=>b.key)),c=Ka.useState({}),r=l[0],u=(e.rows||[]).slice();if(r){let b=n.find(q=>q.key===r.key),y=r.dir==="desc"?-1:1,z=b&&b.sortValue||(q=>q[r.key]);u.sort((q,U)=>{let O=z(q),P=z(U);return(O>P?1:O<P?-1:0)*y})}let o=n.filter(b=>s[0].indexOf(b.key)<0),f=u.map(b=>b[a]),d=i[0].filter(b=>f.indexOf(b)>=0),m=f.length>0&&d.length===f.length,N=d.length>0&&!m;function S(b){i[1](d.indexOf(b)>=0?d.filter(y=>y!==b):d.concat([b]))}function k(b,y,z,q){return(0,Z.jsxs)("span",{className:"tf-checkbox",children:[(0,Z.jsx)("input",{type:"checkbox",checked:b,onChange:y,"aria-label":z,ref:U=>{U&&(U.indeterminate=!!q)}}),(0,Z.jsx)("span",{className:p("tf-checkbox-box",q&&"ind"),"aria-hidden":!0,children:(0,Z.jsx)("svg",{viewBox:"0 0 24 24",width:14,height:14,fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,Z.jsx)("path",{d:q?"M6 12h12":"M5 12.5l4.5 4.5L19 7.5"})})})]})}let g=o.length+(e.selectable?1:0)+(e.renderExpanded?1:0),v=u.filter(b=>d.indexOf(b[a])>=0);return(0,Z.jsxs)("div",{className:p("tf-dt",e.className),children:[(e.toolbar||e.columnToggle!==!1)&&(0,Z.jsxs)("div",{className:"tf-dt-toolbar",children:[e.toolbar,e.columnToggle!==!1&&(0,Z.jsx)(Ue,{align:"end",width:220,flush:!0,trigger:b=>(0,Z.jsx)(et,{label:t.columns,children:(0,Z.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-soft","aria-label":t.chooseColumns,onClick:b.toggle,children:(0,Z.jsx)(x,{name:"grid"})})}),children:(0,Z.jsxs)("div",{className:"tf-menu tf-menu-static",children:[(0,Z.jsx)("div",{className:"tf-menu-label",children:t.columns}),n.filter(b=>b.hideable!==!1&&b.label).map(b=>{let y=s[0].indexOf(b.key)<0;return(0,Z.jsxs)("label",{className:"tf-menu-item",children:[k(y,()=>{s[1](y?s[0].concat([b.key]):s[0].filter(z=>z!==b.key))},typeof b.label=="string"?b.label:b.key),b.label]},b.key)})]})})]}),(0,Z.jsx)("div",{className:p("tf-dt-scroll",e.stickyHeader&&"sticky"),style:e.maxHeight?{maxHeight:e.maxHeight}:void 0,children:(0,Z.jsxs)("table",{className:"tf-table tf-dt-table",children:[(0,Z.jsx)("thead",{children:(0,Z.jsxs)("tr",{children:[e.selectable&&(0,Z.jsx)("th",{className:"tf-dt-sel",children:k(m,()=>{i[1](m?[]:f)},t.selectAllRows,N)}),e.renderExpanded&&(0,Z.jsx)("th",{className:"tf-dt-exp","aria-label":t.expand}),o.map(b=>{let y=l[0]&&l[0].key===b.key?l[0].dir:null;return(0,Z.jsx)("th",{className:p(b.align==="right"&&"tf-num"),style:b.width?{width:b.width}:void 0,"aria-sort":y?y==="asc"?"ascending":"descending":void 0,children:b.sortable?(0,Z.jsxs)("button",{type:"button",className:p("tf-dt-sort",y&&"on"),onClick:()=>{l[1](y==="asc"?{key:b.key,dir:"desc"}:y==="desc"?null:{key:b.key,dir:"asc"})},children:[b.label,(0,Z.jsx)(x,{name:"chevronDown",size:12,className:p("tf-dt-arrow",y==="asc"&&"up",!y&&"idle")})]}):b.label},b.key)})]})}),(0,Z.jsx)("tbody",{children:u.length===0?(0,Z.jsx)("tr",{children:(0,Z.jsx)("td",{colSpan:g,className:"tf-dt-empty",children:e.empty||t.nothingMatchesFilters})}):u.map(b=>{let y=b[a],z=d.indexOf(y)>=0,q=!!c[0][String(y)];return(0,Z.jsxs)(Ka.Fragment,{children:[(0,Z.jsxs)("tr",{className:p(z&&"selected",q&&"expanded"),children:[e.selectable&&(0,Z.jsx)("td",{className:"tf-dt-sel",children:k(z,()=>{S(y)},t.selectRow)}),e.renderExpanded&&(0,Z.jsx)("td",{className:"tf-dt-exp",children:(0,Z.jsx)("button",{type:"button",className:p("tf-dt-toggle",q&&"open"),"aria-expanded":q,"aria-label":q?t.collapseRow:t.expandRow,onClick:()=>{let U=Object.assign({},c[0]);U[String(y)]=!q,c[1](U)},children:(0,Z.jsx)(x,{name:"chevronRight",size:14})})}),o.map(U=>(0,Z.jsx)("td",{className:U.align==="right"?"tf-num":void 0,children:U.render?U.render(b):b[U.key]},U.key))]}),q&&(0,Z.jsx)("tr",{className:"tf-dt-detail",children:(0,Z.jsx)("td",{colSpan:g,children:(0,Z.jsx)("div",{className:"tf-dt-detail-in tf-in",children:e.renderExpanded?.(b)})})})]},y)})})]})}),e.selectable&&d.length>0&&(0,Z.jsxs)("div",{className:"tf-bulkbar",role:"toolbar","aria-label":t.bulkActions,children:[(0,Z.jsx)("b",{children:t.selectedCount(d.length)}),(0,Z.jsx)("button",{type:"button",className:"tf-linkbtn on-frame",onClick:()=>{i[1]([])},children:t.clear}),(0,Z.jsx)("div",{className:"tf-bulkbar-actions",children:(e.bulkActions||[]).map(b=>(0,Z.jsxs)("button",{type:"button",className:p("tf-bulk-btn",b.danger&&"danger"),onClick:()=>{b.onClick(v,()=>{i[1]([])})},children:[b.icon&&(0,Z.jsx)(x,{name:b.icon,size:14}),b.label]},b.label))})]})]})}var qe=G(ye(),1),an=G(re(),1);var Ax=e=>typeof e=="string"?{value:e,label:e}:e;function ov(e){let t=M(_s),n=Se("sel"),a=e.id||n,l=ha(e.name),i=e.error||l,s=(e.options||[]).map(Ax),c=$(e.value,e.defaultValue??"",e.onChange),[r,u]=an.useState(!1),[o,f]=an.useState(-1),d=an.useRef(null),m=an.useRef(null),N=an.useRef(null),S=an.useRef({s:"",t:0}),k=s.find(O=>O.value===c[0]),g=s.map((O,P)=>O.disabled?-1:P).filter(O=>O>=0),v=O=>{f(O??Math.max(0,s.indexOf(k))),u(!0)},b=(O=!0)=>{u(!1),O&&d.current?.focus()},y=O=>{let P=s[O];!P||P.disabled||(c[1](P.value),b(),requestAnimationFrame(()=>N.current?.dispatchEvent(new Event("change",{bubbles:!0}))))},z=O=>{let P=g.indexOf(o),I=g[Math.min(g.length-1,Math.max(0,P+O))];I!=null&&f(I)},q=O=>{let P=Date.now();S.current={s:(P-S.current.t<600?S.current.s:"")+O,t:P};let I=S.current.s.toLowerCase();return s.findIndex(Fe=>!Fe.disabled&&Fe.label.toLowerCase().startsWith(I))};an.useEffect(()=>{r&&m.current?.focus()},[r]),an.useEffect(()=>{!r||o<0||m.current?.querySelector(`#${CSS.escape(`${n}-o${o}`)}`)?.scrollIntoView({block:"nearest"})},[r,o,n]);let U=[];return s.forEach((O,P)=>{let I=U[U.length-1];I&&I[0]===O.group?I[1].push(P):U.push([O.group,[P]])}),(0,qe.jsxs)("div",{className:p("tf-field",e.className),style:e.style,children:[e.label&&(0,qe.jsxs)("label",{className:"tf-field-label",htmlFor:a,id:`${a}-label`,children:[e.label,e.required&&(0,qe.jsx)("span",{className:"tf-req","aria-hidden":!0,children:" *"})]}),(0,qe.jsx)(Ue,{block:!0,open:r,onOpenChange:O=>O?v():b(!1),role:"presentation",flush:!0,trigger:()=>(0,qe.jsxs)("button",{ref:d,id:a,type:"button",className:p("tf-input","tf-selectmenu",!k&&"empty"),role:"combobox","aria-haspopup":"listbox","aria-expanded":r,"aria-controls":`${n}-list`,"aria-invalid":i?"true":void 0,"aria-describedby":i||e.hint?`${a}-msg`:void 0,disabled:e.disabled,onClick:()=>r?b():v(),onKeyDown:O=>{if(["ArrowDown","ArrowUp","Enter"," "].includes(O.key))O.preventDefault(),v();else if(O.key.length===1&&/\S/.test(O.key)){let P=q(O.key);P>=0&&c[1](s[P]?.value)}},children:[k?.icon&&(0,qe.jsx)(x,{name:k.icon,size:15}),(0,qe.jsx)("span",{className:"tf-selectmenu-value",children:k?k.label:e.placeholder||t.selectPlaceholder}),(0,qe.jsx)(x,{name:"chevronDown",size:16,className:"tf-selectmenu-chev"})]}),children:(0,qe.jsx)("div",{ref:m,id:`${n}-list`,className:"tf-selectmenu-list",role:"listbox",tabIndex:-1,"aria-labelledby":e.label?`${a}-label`:void 0,"aria-label":e.label?void 0:e.placeholder||t.options,"aria-activedescendant":o>=0?`${n}-o${o}`:void 0,onKeyDown:O=>{let I={ArrowDown:()=>z(1),ArrowUp:()=>z(-1),Home:()=>f(g[0]??-1),End:()=>f(g[g.length-1]??-1),Enter:()=>y(o)," ":()=>y(o),Escape:()=>b()}[O.key];if(I)O.preventDefault(),I();else if(O.key==="Tab")b(!1);else if(O.key.length===1&&/\S/.test(O.key)){let Fe=q(O.key);Fe>=0&&f(Fe)}},children:U.map(([O,P],I)=>{let Fe=P.map(ua=>{let kn=s[ua],Kc=kn.value===c[0];return(0,qe.jsxs)("div",{id:`${n}-o${ua}`,role:"option","aria-selected":Kc,"aria-disabled":kn.disabled||void 0,className:p("tf-selectmenu-opt",ua===o&&"active"),onPointerMove:()=>!kn.disabled&&f(ua),onClick:()=>y(ua),children:[kn.icon&&(0,qe.jsx)(x,{name:kn.icon,size:15}),(0,qe.jsxs)("span",{className:"tf-option-text",children:[(0,qe.jsx)("b",{children:kn.label}),kn.hint&&(0,qe.jsx)("small",{children:kn.hint})]}),Kc&&(0,qe.jsx)(x,{name:"check",size:15,className:"tf-selectmenu-check"})]},kn.value)});return O?(0,qe.jsxs)("div",{role:"group","aria-labelledby":`${n}-g${I}`,children:[(0,qe.jsx)("div",{id:`${n}-g${I}`,className:"tf-menu-label",role:"presentation",children:O}),Fe]},O+I):(0,qe.jsx)(an.Fragment,{children:Fe},"g"+I)})})}),(0,qe.jsx)("input",{ref:N,type:"hidden",name:e.name,value:c[0]}),i?(0,qe.jsxs)("span",{id:`${a}-msg`,className:"tf-field-error",role:"alert",children:[(0,qe.jsx)(x,{name:"x",size:12}),i]}):e.hint&&(0,qe.jsx)("span",{id:`${a}-msg`,className:"tf-field-hint",children:e.hint})]})}var X=G(ye(),1),Ju=G(re(),1);var C=G(ye(),1),va=G(re(),1);function fv(e){let t=M(Gt);return(0,C.jsxs)("nav",{className:"tf-subnav","aria-label":t.sectionPages(e.eyebrow),children:[(0,C.jsxs)("div",{className:"tf-subnav-head",children:[e.eyebrow&&(0,C.jsx)("span",{className:"tf-subnav-eyebrow",children:e.eyebrow}),e.action&&(0,C.jsxs)("button",{type:"button",className:"tf-subnav-action",onClick:e.action.onClick,children:[(0,C.jsx)(x,{name:e.action.icon||"plus",size:15}),(0,C.jsx)("span",{children:e.action.label})]})]}),(0,C.jsx)("div",{className:"tf-subnav-list",children:(e.items||[]).map(n=>{let a=n.id||n.label;return(0,C.jsxs)("button",{type:"button",className:"tf-subnav-item","aria-current":e.current===a?"page":void 0,title:n.label,onClick:()=>{e.onPick&&e.onPick(a)},children:[(0,C.jsx)(x,{name:n.icon,size:17}),(0,C.jsx)("span",{className:"tf-subnav-label",children:n.label}),n.count?(0,C.jsx)("span",{className:"tf-subnav-count",children:n.count}):null]},a)})}),e.children]})}function wr(e){let t=M(Gt),n=va.useRef(null),a=Nt(e.open??!0);return Ol(n,e.onClose),a.mounted?(0,C.jsx)("div",{...ft(a.closing),className:p("tf-drawer-wrap",e.inline&&"inline"),onMouseDown:l=>{l.target===l.currentTarget&&e.onClose&&e.onClose?.()},children:(0,C.jsxs)("aside",{ref:n,className:p("tf-drawer",e.side&&e.side!=="right"&&"side-"+e.side),role:"dialog","aria-modal":"true","aria-label":e.title,style:e.width?{width:e.width}:void 0,children:[(0,C.jsxs)("div",{className:"tf-header",style:{alignItems:"center"},children:[(0,C.jsxs)("div",{className:"tf-row",style:{flexWrap:"nowrap",minWidth:0},children:[e.avatar&&(0,C.jsx)(Ve,{name:e.avatar,size:44}),(0,C.jsxs)("div",{style:{minWidth:0},children:[(0,C.jsx)("div",{className:"tf-panel-title",children:e.title}),e.subtitle&&(0,C.jsx)("div",{className:"tf-panel-sub",children:e.subtitle})]})]}),(0,C.jsx)(W,{icon:"x",label:t.close,onClick:e.onClose})]}),e.children]})}):null}function dv(e){let t=M(Gt),n=va.useState(""),a=va.useState(0),l=va.useRef(null),i=Nt(e.open??!0);Ol(l,e.onClose);let s=n[0].toLowerCase().trim(),c=e.items||[],r=(s?c.filter(m=>s.split(/\s+/).every(N=>(m.label+" "+(m.hint||"")+" "+(m.group||"")).toLowerCase().indexOf(N)>-1)):c.filter(m=>!m.searchOnly)).slice(0,40),u=Math.min(a[0],Math.max(0,r.length-1));function o(m){e.onClose&&e.onClose?.(),m&&m.run&&m.run()}function f(m){m.key==="ArrowDown"?(m.preventDefault(),a[1](Math.min(r.length-1,u+1))):m.key==="ArrowUp"?(m.preventDefault(),a[1](Math.max(0,u-1))):m.key==="Enter"&&(m.preventDefault(),o(r[u]))}let d=[];return r.forEach((m,N)=>{let S=m.group||t.results;(!d.length||d[d.length-1].g!==S)&&d.push({g:S,items:[]}),d[d.length-1].items.push([m,N])}),i.mounted?(0,C.jsx)("div",{...ft(i.closing),className:p("tf-palette-wrap",e.inline&&"inline"),onMouseDown:m=>{m.target===m.currentTarget&&e.onClose&&e.onClose?.()},children:(0,C.jsxs)("div",{ref:l,className:"tf-palette",role:"dialog","aria-modal":"true","aria-label":t.commandPalette,children:[(0,C.jsxs)("div",{className:"tf-palette-input",children:[(0,C.jsx)(x,{name:"search",size:18}),(0,C.jsx)("input",{placeholder:e.placeholder||t.paletteSearchPlaceholder,"aria-label":t.search,value:n[0],onChange:m=>{n[1](m.target.value),a[1](0),e.onQueryChange?.(m.target.value)},onKeyDown:f}),(0,C.jsx)("kbd",{children:t.escKey})]}),(0,C.jsxs)("div",{className:"tf-palette-list",role:"listbox","aria-label":t.results,children:[e.loading&&(0,C.jsxs)("div",{className:"tf-palette-empty",role:"status",children:[(0,C.jsx)(Tr,{})," ",t.searching]}),r.length?d.map(m=>(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"tf-palette-group",children:m.g}),m.items.map(N=>{let S=N[0],k=N[1];return(0,C.jsxs)("button",{type:"button",role:"option","aria-selected":k===u?"true":"false",className:"tf-palette-item",onMouseMove:()=>{k!==u&&a[1](k)},onClick:()=>{o(S)},children:[(0,C.jsx)(ce,{icon:S.icon||"search",tint:S.tint||"plain"}),(0,C.jsxs)("span",{className:"tf-palette-label",children:[(0,C.jsx)("b",{children:S.label}),S.hint&&(0,C.jsx)("span",{children:S.hint})]}),k===u&&(0,C.jsx)("kbd",{children:"\u21B5"})]},S.id||S.label)})]},m.g)):e.loading?null:(0,C.jsx)("div",{className:"tf-palette-empty",children:e.empty??t.nothingMatches(n[0])})]}),(0,C.jsxs)("div",{className:"tf-palette-foot",children:[(0,C.jsxs)("span",{children:[(0,C.jsx)("kbd",{children:"\u2191"}),(0,C.jsx)("kbd",{children:"\u2193"})," ",t.paletteMove]}),(0,C.jsxs)("span",{children:[(0,C.jsx)("kbd",{children:"\u21B5"})," ",t.paletteOpen]}),(0,C.jsxs)("span",{children:[(0,C.jsx)("kbd",{children:"\u2318"}),(0,C.jsx)("kbd",{children:"K"})," "+t.paletteAnywhere]})]})]})}):null}function mv(e){let t=M(Gt),n=va.useState("all"),a=(e.items||[]).filter(l=>n[0]==="all"||l.unread);return(0,C.jsxs)("div",{className:"tf-notes",role:"region","aria-label":t.notifications,children:[(0,C.jsxs)("div",{className:"tf-header",style:{alignItems:"center",padding:"6px 8px 0"},children:[(0,C.jsx)("b",{style:{fontSize:16},children:t.notifications}),(0,C.jsx)(K,{variant:"ghost",size:"sm",icon:"check",disabled:!(e.items||[]).some(l=>l.unread),onClick:e.onReadAll,children:t.markAllRead})]}),(0,C.jsx)("div",{style:{padding:"0 8px"},children:(0,C.jsx)(br,{block:!0,items:[t.all,t.unread],value:n[0]==="all"?t.all:t.unread,onChange:l=>n[1](l===t.unread?"unread":"all")})}),(0,C.jsx)("div",{className:"tf-notes-list",children:a.length?a.map(l=>(0,C.jsxs)("button",{type:"button",className:p("tf-note",l.unread&&"unread"),onClick:()=>{e.onOpen&&e.onOpen(l)},children:[(0,C.jsx)(ce,{icon:l.icon,tint:l.tint}),(0,C.jsxs)("span",{className:"tf-note-text",children:[(0,C.jsx)("b",{children:l.title}),(0,C.jsx)("span",{children:l.text})]}),(0,C.jsxs)("span",{className:"tf-note-time",children:[l.time,l.unread&&(0,C.jsx)("span",{className:"tf-unread"})]})]},l.id)):(0,C.jsxs)("div",{className:"tf-notes-empty",children:[(0,C.jsx)(ce,{icon:"check",tint:"mint",size:40}),(0,C.jsx)("b",{children:t.allCaughtUp})]})})]})}var _x=()=>({trigger:["zap","sky"],condition:["filter","blush"],agent:["bot","lilac"],approval:["user","butter"],action:["send","mint"]});function hv(e){let t=M(Gt);return(0,C.jsx)("ol",{className:"tf-flow tf-stagger",style:{"--base":"120ms"},children:(e.steps||[]).map((n,a)=>{let l=_x(),i=l[n.kind]?n.kind:"action",s=l[i],c=a<(e.active==null?-1:e.active)?"done":a===e.active?e.waiting?"wait":"active":"";return(0,C.jsxs)("li",{className:p("tf-flow-node",c),children:[(0,C.jsx)("span",{className:"tf-flow-icon tf-t-"+s[1],children:(0,C.jsx)(x,{name:c==="done"?"check":s[0],size:16})}),(0,C.jsxs)("div",{className:"tf-flow-card",children:[(0,C.jsxs)("div",{className:"tf-flow-kind",children:[t.flowStep[i],c==="active"&&(0,C.jsx)("span",{className:"tf-flow-live",children:t.flowRunning}),c==="wait"&&(0,C.jsx)("span",{className:"tf-flow-live wait",children:t.waitingForYou})]}),(0,C.jsx)("div",{className:"tf-flow-text",children:n.text}),c==="wait"&&e.onApprove&&(0,C.jsxs)("div",{className:"tf-row",style:{marginTop:8},children:[(0,C.jsx)(K,{size:"sm",icon:"check",onClick:e.onApprove,children:t.approve}),e.onReject&&(0,C.jsx)(K,{size:"sm",variant:"ghost",onClick:e.onReject,children:t.reject})]})]}),e.tools&&c===""?(0,C.jsx)("div",{className:"tf-flow-tools",children:e.tools(n,a)}):null]},a)})})}var uv={pdf:["file","blush"],doc:["book","sky"],sheet:["chart","mint"],fig:["sparkle","lilac"],img:["eye","butter"],zip:["folder","butter"]};function Iu(e){let t=e.kind,n=e.big;return t==="sheet"?(0,C.jsx)("span",{className:"tf-t-sheet",children:Array.from({length:n?7:4},(a,l)=>(0,C.jsx)("span",{children:Array.from({length:4},(i,s)=>(0,C.jsx)("i",{style:{opacity:l===0?1:.55}},s))},l))}):t==="img"||t==="fig"?(0,C.jsxs)("span",{className:p("tf-t-art",t==="fig"&&"fig"),children:[(0,C.jsx)("i",{}),(0,C.jsx)("i",{}),(0,C.jsx)("i",{})]}):t==="zip"?(0,C.jsx)("span",{className:"tf-t-zip",children:(e.entries||["logo.svg","colors.json","fonts/"]).map(a=>(0,C.jsxs)("span",{children:[(0,C.jsx)(x,{name:"file",size:11}),a]},a))}):(0,C.jsxs)("span",{className:"tf-t-doc",children:[(0,C.jsx)("b",{children:(e.title||"").replace(/\.[^.]+$/,"")}),Array.from({length:n?9:4},(a,l)=>(0,C.jsx)("i",{style:{width:60+l*37%40+"%"}},l))]})}function gv(e){let t=M(Gt),n=uv[e.kind]||uv.doc;return(0,C.jsxs)("button",{type:"button",className:"tf-filecard",onClick:e.onClick,children:[(0,C.jsx)("span",{className:"tf-thumb tf-bg-"+n[1],children:(0,C.jsx)(Iu,{kind:e.kind,title:e.name})}),(0,C.jsx)("span",{className:"tf-filecard-name",children:e.name}),(0,C.jsxs)("span",{className:"tf-filecard-meta",children:[[e.size,e.meta].filter(Boolean).join(" \xB7 "),e.shared&&(0,C.jsx)(x,{name:"users",size:12,label:t.shared})]})]})}function vv(e){let t=M(Gt),n=e.steps||[],a=e.current||0,l=e.done||{};return(0,C.jsxs)("div",{className:"tf-wizard",role:"group","aria-label":e.label||t.setup,children:[(0,C.jsxs)("aside",{className:"tf-wizard-rail",children:[e.brand&&(0,C.jsxs)("span",{className:"tf-brand",style:{color:"var(--on-frame)"},children:[e.brand,(0,C.jsx)("span",{className:"tf-brand-dot"})]}),(0,C.jsx)("ol",{children:n.map((i,s)=>{let c=l[i.id||s];return(0,C.jsx)("li",{children:(0,C.jsxs)("button",{type:"button",className:p("tf-wizard-step",s===a&&"cur",c&&"ok"),"aria-current":s===a?"step":void 0,onClick:()=>{e.onPick&&e.onPick(s)},children:[(0,C.jsx)("span",{children:c?(0,C.jsx)(x,{name:"check",size:12}):s+1}),i.label]})},s)})})]}),(0,C.jsxs)("div",{className:"tf-wizard-main",children:[(0,C.jsx)("div",{className:"tf-card-desc",children:t.stepOf(a+1,n.length)}),(0,C.jsxs)("div",{className:"tf-wizard-body",children:[n[a]&&n[a].icon&&(0,C.jsx)(ce,{icon:n[a].icon,tint:"sky",size:44}),n[a]&&(0,C.jsx)("h2",{className:"tf-modal-title",children:n[a].label}),e.children]},a),e.footer&&(0,C.jsx)("div",{className:"tf-modal-foot",style:{justifyContent:"space-between"},children:e.footer})]})]})}function bv(e){let t=M(Gt),n=()=>t.permissionLevels,a=va.useRef(null);return ma(a),(0,C.jsx)("div",{ref:a,className:"tf-scroll",children:(0,C.jsxs)("table",{className:"tf-table tf-perm",children:[(0,C.jsx)("thead",{children:(0,C.jsxs)("tr",{children:[(0,C.jsx)("th",{children:t.role}),(e.areas||[]).map(l=>(0,C.jsx)("th",{children:l},l))]})}),(0,C.jsx)("tbody",{className:"tf-stagger",style:{"--base":"120ms"},children:(e.roles||[]).map((l,i)=>(0,C.jsxs)("tr",{children:[(0,C.jsxs)("td",{children:[(0,C.jsx)("div",{style:{fontWeight:700},children:l.name}),l.people!=null&&(0,C.jsx)("div",{className:"tf-card-desc",children:t.memberCount(l.people)})]}),l.levels.map((s,c)=>(0,C.jsx)("td",{children:(0,C.jsx)("button",{type:"button",className:"tf-perm-cell lv"+s,disabled:l.locked,"aria-label":l.name+" \xB7 "+e.areas[c]+": "+n()[s],onClick:()=>{e.onChange&&e.onChange(i,c,(s+1)%4)},children:n()[s]})},c))]},l.name))})]})})}function pv(){let{formatMoney:e}=J();return t=>e(t,null,{minimumFractionDigits:2})}function yv(e){let t=M(Gt),n=pv(),{formatPercent:a}=J(),l=e.lines||[],i=0,s={};l.forEach(u=>{let o=u.q*u.u;i+=o,s[u.v]=(s[u.v]||0)+o*u.v/100});let c=0;Object.keys(s).forEach(u=>{c+=s[Number(u)]??0});let r=e.format||n;return(0,C.jsxs)("div",{className:"tf-paper",children:[(0,C.jsxs)("div",{className:"tf-paper-top",children:[(0,C.jsxs)("div",{children:[e.brand&&(0,C.jsxs)("div",{className:"tf-brand",style:{color:"var(--ink)",fontSize:18},children:[e.brand,(0,C.jsx)("span",{className:"tf-brand-dot"})]}),e.from&&(0,C.jsx)("div",{className:"tf-paper-small",children:e.from})]}),(0,C.jsxs)("div",{className:"tf-paper-id",children:[(0,C.jsx)("div",{className:"tf-paper-kind",children:e.kind||t.invoice}),(0,C.jsx)("div",{className:"tf-mono",children:"#"+e.number})]})]}),(0,C.jsxs)("div",{className:"tf-paper-meta",children:[(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{children:t.billTo}),(0,C.jsx)("b",{children:e.to})]}),(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{children:t.issued}),(0,C.jsx)("b",{children:e.issued})]}),(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{children:t.due}),(0,C.jsx)("b",{children:e.due})]})]}),(0,C.jsx)("div",{className:"tf-paper-lines",children:l.map((u,o)=>(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{children:(u.d||t.untitledLine)+(u.q!==1?" \xD7 "+u.q:"")}),(0,C.jsx)("b",{children:r(u.q*u.u)})]},o))}),(0,C.jsxs)("div",{className:"tf-paper-totals",children:[(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{children:t.net}),(0,C.jsx)("b",{children:r(i)})]}),Object.keys(s).filter(u=>+u>0).map(u=>(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{children:t.vatAt(a(Number(u),{maximumFractionDigits:2}))}),(0,C.jsx)("b",{children:r(s[Number(u)]??0)})]},u)),(0,C.jsxs)("div",{className:"grand",children:[(0,C.jsx)("span",{children:t.totalDue}),(0,C.jsx)("b",{children:r(i+c)})]})]}),e.note&&(0,C.jsx)("div",{className:"tf-paper-small",children:e.note})]})}function Nv(e){let t=M(Gt),n=pv(),a=va.useState(!1),l=e.amount>0;return(0,C.jsxs)("div",{className:p("tf-tx",!e.matched&&"unmatched"),children:[(0,C.jsxs)("div",{className:"tf-tx-row",children:[(0,C.jsx)(ce,{icon:l?"download":"send",tint:l?"mint":"plain"}),(0,C.jsxs)("div",{className:"tf-tx-text",children:[(0,C.jsx)("b",{className:"tf-mono",children:e.text}),(0,C.jsx)("span",{children:e.date+(e.matched&&e.matchRef?" \xB7 "+t.matchedTo(e.matchRef):"")})]}),(0,C.jsx)("b",{className:p("tf-tx-amt",l?"in":"out"),children:(l?"+":"\u2212")+n(Math.abs(e.amount))}),e.matched?(0,C.jsx)(Oe,{tone:"success",children:t.matched}):(0,C.jsx)(K,{size:"sm",variant:a[0]?"soft":"primary",onClick:()=>{a[1](!a[0])},children:a[0]?t.close:t.match})]}),a[0]&&!e.matched&&(0,C.jsxs)("div",{className:"tf-tx-suggest tf-in",children:[(0,C.jsx)(ce,{icon:"bot",tint:"butter"}),(0,C.jsx)("span",{style:{flex:1,minWidth:0},children:e.hint||t.noSuggestion}),(0,C.jsx)(K,{size:"sm",icon:"check",onClick:()=>{a[1](!1),e.onMatch&&e.onMatch()},children:t.accept})]})]})}function Sv(e){let t=M(Rl),n=Ju.useState(""),a=(e.accounts||[]).filter(i=>!n[0]||i.address.toLowerCase().indexOf(n[0].toLowerCase())>-1),l=(e.accounts||[]).find(i=>i.address===e.value);return(0,X.jsx)(Ue,{width:320,trigger:i=>(0,X.jsxs)("button",{type:"button",className:"tf-acct",onClick:i.toggle,"aria-haspopup":"dialog","aria-expanded":i.open,children:[(0,X.jsxs)("span",{className:"tf-option-text",children:[(0,X.jsx)("b",{className:l?"tf-mono":void 0,children:l?l.address:e.allLabel||t.allInboxes}),(0,X.jsx)("small",{children:l?l.domain:t.addressCount((e.accounts||[]).length)})]}),(0,X.jsx)(x,{name:"chevronDown",size:14})]}),children:i=>(0,X.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,X.jsx)(Dn,{placeholder:t.findAddress,value:n[0],onChange:s=>{n[1](s.target.value)}}),(0,X.jsxs)("div",{className:"tf-acct-list",children:[(0,X.jsxs)("button",{type:"button",className:p("tf-option",!e.value&&"on"),onClick:()=>{e.onChange&&e.onChange(null),i.close()},children:[(0,X.jsx)(x,{name:"inbox",size:15}),(0,X.jsx)("span",{className:"tf-option-text",children:e.allLabel||t.allInboxes}),e.unread!=null&&(0,X.jsx)("span",{className:"tf-nav-count",children:e.unread})]}),a.map(s=>(0,X.jsxs)("button",{type:"button",className:p("tf-option",s.address===e.value&&"on"),onClick:()=>{e.onChange&&e.onChange(s.address),i.close()},children:[(0,X.jsxs)("span",{className:"tf-option-text",children:[(0,X.jsx)("span",{className:"tf-mono",children:s.address}),(0,X.jsx)("small",{children:s.domain})]}),s.unread?(0,X.jsx)("span",{className:"tf-nav-count",children:s.unread}):null]},s.address))]})]})})}function xv(e){let t=M(Rl);return(0,X.jsx)("div",{className:"tf-inboxlist",role:"list",children:(e.items||[]).map(n=>(0,X.jsxs)("button",{type:"button",role:"listitem",className:p("tf-mailrow",n.unread&&"unread",n.id===e.selected&&"on"),onClick:()=>{e.onOpen&&e.onOpen(n)},children:[(0,X.jsx)("span",{className:"tf-mailrow-dot",role:n.unread?"img":void 0,"aria-label":n.unread?t.unread:void 0}),(0,X.jsxs)("span",{className:"tf-mailrow-main",children:[(0,X.jsxs)("span",{className:"tf-mailrow-top",children:[(0,X.jsx)("b",{children:n.from}),(0,X.jsx)("small",{className:"tf-mono",children:n.time})]}),(0,X.jsx)("span",{className:"tf-mailrow-subject",children:n.subject}),(0,X.jsx)("span",{className:"tf-mailrow-snippet",children:n.snippet}),(n.to||n.tags||n.agent)&&(0,X.jsxs)("span",{className:"tf-mailrow-tags",children:[n.to&&(0,X.jsx)("span",{className:"tf-mono",children:n.to}),n.agent&&(0,X.jsx)(Oe,{tone:n.agent.tone||"highlight",children:n.agent.label}),(n.tags||[]).map(a=>(0,X.jsx)(Oe,{tone:"neutral",dot:!1,children:a},a))]})]})]},n.id))})}function Cv(e){let t=Ju.useState((e.messages||[]).length?[e.messages[e.messages.length-1].id]:[]);return(0,X.jsxs)("div",{className:"tf-thread",children:[e.subject&&(0,X.jsx)("h3",{className:"tf-thread-subject",children:e.subject}),(e.messages||[]).map(n=>{let a=t[0].indexOf(n.id)>-1;return(0,X.jsxs)("div",{className:p("tf-threadmsg",a&&"open",n.agent&&"agent"),children:[(0,X.jsxs)("button",{type:"button",className:"tf-threadmsg-head","aria-expanded":a,onClick:()=>{t[1](a?t[0].filter(l=>l!==n.id):t[0].concat([n.id]))},children:[n.agent?(0,X.jsx)(Xt,{tint:n.tint,size:32}):(0,X.jsx)(Ve,{name:n.from,size:32}),(0,X.jsxs)("span",{className:"tf-option-text",children:[(0,X.jsxs)("b",{children:[n.from,n.agentNote&&(0,X.jsx)("span",{className:"tf-threadmsg-note",children:" \xB7 "+n.agentNote})]}),(0,X.jsx)("small",{children:a?n.to:n.snippet})]}),(0,X.jsx)("small",{className:"tf-mono",children:n.time})]}),a&&(0,X.jsxs)("div",{className:"tf-threadmsg-body",children:[n.body,n.attachments&&(0,X.jsx)("div",{className:"tf-msg-attach",children:n.attachments.map(l=>(0,X.jsxs)("span",{className:"tf-attach-chip",children:[(0,X.jsx)(x,{name:"paperclip",size:13}),l.name,l.size&&(0,X.jsx)("small",{children:l.size})]},l.name))})]})]},n.id)}),e.reply]})}function Tv(e){let t=M(Rl),n=$(e.value,e.defaultValue||{},e.onChange),a=e.fields||[{key:"name",label:t.colName},{key:"role",label:t.role},{key:"company",label:t.company},{key:"phone",label:t.phone},{key:"website",label:t.website}];function l(i,s){let c=Object.assign({},n[0]);c[i]=s,n[1](c)}return(0,X.jsxs)("div",{className:"tf-sig",children:[(0,X.jsxs)("div",{className:"tf-col",style:{gap:12},children:[a.map(i=>(0,X.jsx)(mr,{label:i.label,value:n[0][i.key]||"",onChange:s=>{l(i.key,s.target.value)}},i.key)),e.extra]}),(0,X.jsxs)("div",{className:"tf-sig-preview",children:[(0,X.jsx)("span",{className:"tf-menu-label",style:{padding:0},children:e.previewLabel||t.preview}),(0,X.jsxs)("div",{className:"tf-paper tf-sig-paper",children:[(0,X.jsx)("p",{children:"\u2014"}),(0,X.jsx)("b",{children:n[0].name}),n[0].role&&(0,X.jsx)("div",{children:n[0].role+(n[0].company?" \xB7 "+n[0].company:"")}),n[0].phone&&(0,X.jsx)("div",{children:n[0].phone}),n[0].website&&(0,X.jsx)("div",{children:n[0].website}),e.note&&(0,X.jsx)("small",{children:e.note})]})]})]})}function Ev(e){return(0,X.jsx)(wr,{title:e.name,subtitle:e.meta,onClose:e.onClose,width:e.width||820,inline:e.inline,children:(0,X.jsxs)("div",{className:"tf-attprev",children:[(0,X.jsx)("div",{className:"tf-attprev-doc",children:e.children}),(0,X.jsxs)("div",{className:"tf-col",style:{gap:16},children:[e.facts&&(0,X.jsx)(Fn,{items:e.facts}),e.found,e.actions&&(0,X.jsx)("div",{className:"tf-col",style:{gap:8},children:e.actions})]})]})})}var ae=G(ye(),1),ba=G(re(),1);function Mv(e){let t=M(wl),n=$(e.selected,e.variants?.[0]?.id??"",e.onSelect),a=(e.variants||[]).find(l=>l.id===n[0])||{};return(0,ae.jsxs)("div",{className:"tf-imgvar",children:[(0,ae.jsxs)("div",{className:"tf-imgvar-stage",style:a.ratio?{aspectRatio:a.ratio}:void 0,children:[a.src?(0,ae.jsx)("img",{src:a.src,alt:e.alt||""}):(0,ae.jsx)("div",{className:p("tf-imgvar-ph","tf-t-"+(e.tint||"sky")),children:(0,ae.jsx)(x,{name:"image",size:32})}),a.label&&(0,ae.jsx)("span",{className:"tf-imgvar-tag",children:a.label})]}),(0,ae.jsx)("div",{className:"tf-imgvar-list",role:"listbox","aria-label":t.variants,children:(e.variants||[]).map(l=>(0,ae.jsxs)("button",{type:"button",role:"option","aria-selected":l.id===n[0],className:p("tf-imgvar-item",l.id===n[0]&&"on"),onClick:()=>{n[1](l.id)},children:[(0,ae.jsx)("span",{className:"tf-imgvar-thumb",style:l.ratio?{aspectRatio:l.ratio}:void 0,children:l.src?(0,ae.jsx)("img",{src:l.src,alt:""}):(0,ae.jsx)(x,{name:"image",size:14})}),(0,ae.jsxs)("span",{className:"tf-option-text",children:[(0,ae.jsx)("b",{children:l.label}),(0,ae.jsx)("small",{className:"tf-mono",children:[l.size,l.format,l.weight].filter(Boolean).join(" \xB7 ")})]}),l.status&&(0,ae.jsx)(ze,{status:l.status})]},l.id))}),e.actions&&(0,ae.jsx)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:e.actions})]})}function kv(e){let t=M(wl),n=e.items||[],a=ba.useState(e.start||0),l=ba.useState(!1),i=n.length,s=n[a[0]]||{};function c(o){a[1]((a[0]+o+i)%i)}ba.useEffect(()=>{if(!l[0])return;function o(f){f.key==="Escape"&&l[1](!1),f.key==="ArrowRight"&&c(1),f.key==="ArrowLeft"&&c(-1)}return document.addEventListener("keydown",o),()=>{document.removeEventListener("keydown",o)}});function r(o,f,d=e.loading||"lazy"){return o.src?(0,ae.jsx)("img",{className:f,src:o.src,alt:o.alt||"",loading:d,decoding:"async",referrerPolicy:e.referrerPolicy}):(0,ae.jsx)("div",{className:p(f,"tf-gallery-ph","tf-t-"+(o.tint||"sky")),children:o.art||(0,ae.jsx)(x,{name:"image",size:28})})}let u=(0,ae.jsxs)("div",{className:"tf-gallery-stage",style:{aspectRatio:e.ratio||"3 / 2"},children:[r(s,"tf-gallery-img"),i>1&&(0,ae.jsx)(W,{icon:"chevronLeft",label:t.previousImage,className:"tf-gallery-prev",onClick:()=>{c(-1)}}),i>1&&(0,ae.jsx)(W,{icon:"chevronRight",label:t.nextImage,className:"tf-gallery-next",onClick:()=>{c(1)}}),(0,ae.jsx)("span",{className:"tf-gallery-count",children:a[0]+1+" / "+i}),!l[0]&&e.fullscreen!==!1&&(0,ae.jsx)(W,{icon:"expand",label:t.fullScreen,className:"tf-gallery-full",onClick:()=>{l[1](!0)}}),e.badge&&(0,ae.jsx)("span",{className:"tf-gallery-badge",children:e.badge})]});return(0,ae.jsxs)("div",{className:"tf-gallery",children:[u,e.thumbs!==!1&&i>1&&(0,ae.jsx)("div",{className:"tf-gallery-thumbs",role:"tablist","aria-label":t.images,children:n.map((o,f)=>(0,ae.jsx)("button",{type:"button",role:"tab","aria-selected":f===a[0],className:p(f===a[0]&&"on"),onClick:()=>{a[1](f)},"aria-label":o.caption||o.alt||(o.src?t.imageN(f+1):void 0),children:r(o,"tf-gallery-thumb","lazy")},f))}),l[0]&&(0,ae.jsx)(An,{children:(0,ae.jsxs)("div",{className:"tf-lightbox",role:"dialog","aria-modal":"true","aria-label":t.images,children:[(0,ae.jsx)(W,{icon:"x",label:t.close,className:"tf-lightbox-close",onClick:()=>{l[1](!1)}}),(0,ae.jsxs)("div",{className:"tf-lightbox-stage",children:[r(s,"tf-gallery-img","eager"),i>1&&(0,ae.jsx)(W,{icon:"chevronLeft",label:t.previousImage,className:"tf-gallery-prev",onClick:()=>{c(-1)}}),i>1&&(0,ae.jsx)(W,{icon:"chevronRight",label:t.nextImage,className:"tf-gallery-next",onClick:()=>{c(1)}})]}),(0,ae.jsx)("span",{className:"tf-lightbox-cap",children:(s.caption?s.caption+" \xB7 ":"")+(a[0]+1)+" / "+i})]})})]})}function Rv(e){let t=M(wl),n=J(),a=ba.useState(e.start!=null?e.start:50),l=Math.round(a[0]),i=e.beforeLabel||t.before,s=e.afterLabel||t.after,c=ba.useRef(null),r=ba.useRef(!1);function u(f){if(!c.current)return;let d=c.current.getBoundingClientRect();a[1](Math.max(0,Math.min(100,(f.clientX-d.left)/d.width*100)))}function o(f,d){return f&&f.src?(0,ae.jsx)("img",{className:d,src:f.src,alt:f.alt||"",loading:e.loading||"lazy",decoding:"async",referrerPolicy:e.referrerPolicy}):(0,ae.jsx)("div",{className:p(d,"tf-ba-ph",f&&f.tint&&"tf-t-"+f.tint),children:f&&f.art})}return(0,ae.jsxs)("div",{ref:c,className:"tf-ba",style:{aspectRatio:e.ratio||"3 / 2"},onPointerDown:f=>{r.current=!0,f.currentTarget.setPointerCapture(f.pointerId),u(f)},onPointerMove:f=>{r.current&&u(f)},onPointerUp:()=>{r.current=!1},children:[o(e.after,"tf-ba-img"),(0,ae.jsx)("div",{className:"tf-ba-before",style:{clipPath:"inset(0 "+(100-a[0])+"% 0 0)"},children:o(e.before,"tf-ba-img")}),(0,ae.jsx)("span",{className:"tf-ba-tag left",children:i}),(0,ae.jsx)("span",{className:"tf-ba-tag right",children:s}),(0,ae.jsx)("div",{className:"tf-ba-line",style:{left:a[0]+"%"},children:(0,ae.jsxs)("span",{className:"tf-ba-knob",role:"slider",tabIndex:0,"aria-label":e.label||t.compareBeforeAfter,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l,"aria-valuetext":e.valueText?e.valueText(l):`${i} ${n.formatPercent(l)}, ${s} ${n.formatPercent(100-l)}`,onKeyDown:f=>{let d=f.key==="ArrowLeft"||f.key==="ArrowDown"?a[0]-5:f.key==="ArrowRight"||f.key==="ArrowUp"?a[0]+5:f.key==="PageDown"?a[0]-25:f.key==="PageUp"?a[0]+25:f.key==="Home"?0:f.key==="End"?100:null;d!=null&&(f.preventDefault(),a[1](Math.max(0,Math.min(100,d))))},children:[(0,ae.jsx)(x,{name:"chevronLeft",size:12}),(0,ae.jsx)(x,{name:"chevronRight",size:12})]})})]})}var A=G(ye(),1),$u=G(re(),1);function wv(e){let t={connected:"ok",expiring:"warn",error:"danger",missing:"idle"}[e.status]||"idle";return(0,A.jsxs)("div",{className:"tf-conn",children:[(0,A.jsx)("span",{className:"tf-conn-ico",children:e.logo||(0,A.jsx)(x,{name:e.icon||"link",size:18})}),(0,A.jsxs)("span",{className:"tf-option-text",children:[(0,A.jsx)("b",{children:e.name}),(0,A.jsx)("small",{children:e.text})]}),(0,A.jsx)(Be,{status:t,label:e.statusLabel}),e.action&&(0,A.jsx)("span",{className:"tf-conn-act",children:e.action})]})}function zv(e){let t=M(tn);return!e.state||e.state==="online"?null:(0,A.jsxs)("div",{className:p("tf-connbanner",e.state),role:"status",children:[(0,A.jsx)(ze,{status:e.state==="offline"?"danger":"warn"}),(0,A.jsx)("span",{children:e.text||(e.state==="offline"?t.offline:t.connectionLost(e.seconds))}),e.onRetry&&(0,A.jsx)("button",{type:"button",className:"tf-linkbtn",onClick:e.onRetry,children:t.retryNow})]})}function Av(e){let t=M(tn);return(0,A.jsxs)("div",{className:"tf-server",children:[(0,A.jsxs)("div",{className:"tf-server-top",children:[(0,A.jsx)("span",{className:"tf-conn-ico",children:e.logo||(0,A.jsx)(x,{name:"server",size:18})}),(0,A.jsxs)("span",{className:"tf-option-text",children:[(0,A.jsx)("b",{children:e.name}),(0,A.jsx)("small",{className:"tf-mono",children:[e.provider,e.address].filter(Boolean).join(" \xB7 ")})]}),(0,A.jsx)(Be,{status:e.status||"idle",label:e.statusLabel})]}),(0,A.jsx)("div",{className:"tf-col",style:{gap:12},children:(e.meters||[]).map(n=>n.value==null?(0,A.jsxs)("div",{className:"tf-usage-top",children:[(0,A.jsx)("span",{children:n.label}),(0,A.jsx)("b",{children:n.unknown||t.unknown})]},n.label):(0,A.jsx)(Xa,{label:n.label,value:n.value,max:n.max,text:n.text},n.label))}),e.uptime&&(0,A.jsx)(kr,{...e.uptime}),e.foot&&(0,A.jsx)("div",{className:"tf-server-foot",children:e.foot})]})}function _v(e){let t=M(tn);return(0,A.jsx)("ol",{className:"tf-pipeline",tabIndex:0,"aria-label":t.deployPipeline,children:(e.stages||[]).map((n,a)=>(0,A.jsxs)("li",{className:p("tf-stage","st-"+(n.status||"idle")),children:[(0,A.jsx)(ze,{status:n.status==="done"?"ok":n.status||"idle"}),(0,A.jsx)("b",{children:n.name}),(0,A.jsx)("small",{className:"tf-mono",children:n.duration||"\u2014"}),n.action]},a))})}function Dv(e){let t=M(tn);return(0,A.jsx)(Qs,{rows:e.records||[],rowKey:"id",columnToggle:!1,selectable:e.selectable,bulkActions:e.bulkActions,toolbar:e.toolbar,columns:[{key:"type",label:t.colType,sortable:!0,render:n=>(0,A.jsx)(Oe,{tone:"neutral",dot:!1,className:"tf-mono",children:n.type})},{key:"name",label:t.colName,sortable:!0,render:n=>(0,A.jsx)("span",{className:"tf-mono",children:n.name})},{key:"content",label:t.colContent,render:n=>(0,A.jsx)(et,{label:n.content,children:(0,A.jsx)("span",{className:"tf-mono tf-trunc",tabIndex:0,children:n.content})})},{key:"ttl",label:"TTL",align:"right",render:n=>(0,A.jsx)("span",{className:"tf-mono",children:n.ttl})},{key:"proxy",label:t.colProxy,render:n=>n.proxy==null?"\u2014":(0,A.jsx)(Be,{status:n.proxy?"ok":"idle",label:n.proxy?t.proxied:t.dnsOnly})},{key:"x",label:"",align:"right",hideable:!1,render:n=>e.rowMenu?(0,A.jsx)(Ue,{align:"end",flush:!0,width:200,trigger:a=>(0,A.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-ghost tf-iconbtn-sm","aria-label":t.actions,onClick:a.toggle,children:(0,A.jsx)(x,{name:"more"})}),children:a=>(0,A.jsx)(At,{items:(e.rowMenu?.(n)??[]).map(l=>l==="-"?l:Object.assign({},l,{onClick:()=>{a.close(),l.onClick&&l.onClick()}}))})}):null}]})}function Ov(e){let t=M(tn);return(0,A.jsx)("div",{className:"tf-domains",children:(e.items||[]).slice().sort((n,a)=>(n.days==null?9999:n.days)-(a.days==null?9999:a.days)).map(n=>{let a=n.days==null?"idle":n.days<7?"danger":n.days<30?"warn":"ok";return(0,A.jsxs)("button",{type:"button",className:"tf-domainrow",onClick:()=>{e.onOpen&&e.onOpen(n)},children:[(0,A.jsx)(ze,{status:a}),(0,A.jsxs)("span",{className:"tf-option-text",children:[(0,A.jsx)("b",{className:"tf-mono",children:n.name}),(0,A.jsx)("small",{children:[n.registrar,n.dns].filter(Boolean).join(" \xB7 ")})]}),(0,A.jsxs)("span",{className:"tf-domainrow-cell",children:[(0,A.jsx)("small",{children:t.expires}),(0,A.jsx)("b",{className:"tf-mono",children:n.days==null?"\u2014":t.daysCount(n.days)})]}),(0,A.jsxs)("span",{className:"tf-domainrow-cell",children:[(0,A.jsx)("small",{children:"SSL"}),(0,A.jsx)(Be,{status:n.ssl||"idle",label:n.sslLabel})]})]},n.name)})})}function jv(e){let t=M(tn),n=e.columns||["MX","SPF","DKIM","DMARC"],a=$u.useRef(null);return ma(a),(0,A.jsx)("div",{ref:a,className:"tf-scroll-x",children:(0,A.jsxs)("table",{className:"tf-table tf-mailauth",children:[(0,A.jsx)("thead",{children:(0,A.jsxs)("tr",{children:[(0,A.jsx)("th",{children:t.domain}),n.map(l=>(0,A.jsx)("th",{children:l},l))]})}),(0,A.jsx)("tbody",{children:(e.rows||[]).map(l=>(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{className:"tf-mono",children:l.domain}),n.map(i=>{let s=l[i.toLowerCase()]||{status:"idle"};return(0,A.jsx)("td",{children:(0,A.jsx)("button",{type:"button",className:"tf-mailauth-cell",onClick:()=>{e.onOpen&&e.onOpen(l,i)},children:(0,A.jsx)(Be,{status:s.status,label:s.label})})},i)})]},l.domain))})]})})}function Lv(e){let t=M(tn),{formatMoney:n}=J(),a=e.currency;return(0,A.jsx)(Qs,{rows:e.rows||[],selectable:e.selectable,bulkActions:e.bulkActions,toolbar:e.toolbar,stickyHeader:!0,maxHeight:e.maxHeight,columnToggle:e.columnToggle,columns:[{key:"date",label:t.colDate,sortable:!0,render:l=>(0,A.jsx)("span",{className:"tf-mono",children:l.date})},{key:"ref",label:t.colRef,render:l=>(0,A.jsx)("span",{className:"tf-mono",children:l.ref})},{key:"text",label:t.colDescription,render:l=>(0,A.jsxs)("span",{className:"tf-option-text",children:[(0,A.jsx)("b",{children:l.text}),l.suggested&&(0,A.jsxs)("small",{children:[(0,A.jsx)(ze,{status:"signal"})," ",t.suggestedBy(l.suggested)]})]})},{key:"category",label:t.colCategory,render:l=>e.categories?(0,A.jsx)(Er,{value:l.category||"",options:e.categories,onSave:i=>{e.onEdit?.(l,{category:i})}}):l.category},{key:"project",label:t.colProject,render:l=>l.project&&(0,A.jsxs)("span",{className:"tf-row",style:{gap:8,flexWrap:"nowrap"},children:[(0,A.jsx)("i",{className:"tf-sw tf-sw-"+(l.projectTint||"ink")}),l.project]})},{key:"net",label:t.net,align:"right",sortable:!0,render:l=>n(l.net,a,{minimumFractionDigits:2})},{key:"vat",label:t.vat,align:"right",render:l=>n(l.vat||0,a,{minimumFractionDigits:2})},{key:"gross",label:t.grossLabel,align:"right",sortable:!0,render:l=>(0,A.jsx)("b",{className:l.gross<0?"tf-neg":void 0,children:n(l.gross,a,{minimumFractionDigits:2})})},{key:"status",label:t.status,render:l=>(0,A.jsx)(Be,{status:l.status||"ok",label:l.statusLabel})}]})}function Hv(e){let t=M(tn),{formatMoney:n}=J(),a=e.columns||[],l=$u.useRef(null);return ma(l),(0,A.jsx)("div",{ref:l,className:"tf-scroll-x",children:(0,A.jsxs)("table",{className:"tf-table tf-pnl",children:[(0,A.jsx)("thead",{children:(0,A.jsxs)("tr",{children:[(0,A.jsx)("th",{children:e.label||""}),a.map(i=>(0,A.jsx)("th",{className:"tf-num",children:i},i)),e.total!==!1&&(0,A.jsx)("th",{className:"tf-num",children:t.total})]})}),(0,A.jsx)("tbody",{children:(e.rows||[]).map((i,s)=>{let c=(i.values||[]).reduce((r,u)=>r+(u||0),0);return(0,A.jsxs)("tr",{className:i.kind,children:[(0,A.jsx)("td",{children:i.label}),i.kind==="section"?(0,A.jsx)("td",{colSpan:a.length+(e.total!==!1?1:0)}):a.map((r,u)=>{let o=(i.values||[])[u];return(0,A.jsx)("td",{className:p("tf-num",o<0&&"tf-neg"),children:o==null?"\u2014":n(o,e.currency)},u)}),i.kind!=="section"&&e.total!==!1&&(0,A.jsx)("td",{className:p("tf-num",c<0&&"tf-neg"),children:(0,A.jsx)("b",{children:n(c,e.currency)})})]},s)})})]})})}function Uv(e){let t=M(tn),{formatPercent:n}=J();return(0,A.jsxs)("div",{className:"tf-receipt",children:[(0,A.jsxs)("div",{className:"tf-receipt-src",children:[(0,A.jsx)(ce,{icon:"paperclip",tint:"sky"}),(0,A.jsxs)("span",{className:"tf-option-text",children:[(0,A.jsx)("b",{children:e.file}),(0,A.jsx)("small",{children:e.source})]})]}),(0,A.jsx)("div",{className:"tf-receipt-grid",children:(e.fields||[]).map(a=>(0,A.jsxs)("div",{className:"tf-receipt-field",children:[(0,A.jsx)("small",{children:a.label}),(0,A.jsx)("b",{className:a.mono?"tf-mono":void 0,children:a.value}),a.confidence!=null&&(0,A.jsx)("span",{className:p("tf-conf",a.confidence<.8&&"low"),children:n(a.confidence*100)})]},a.label))}),e.suggestion&&(0,A.jsxs)("div",{className:"tf-receipt-sugg",children:[(0,A.jsx)(ze,{status:"signal"}),(0,A.jsx)("span",{children:e.suggestion})]}),e.children,(0,A.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:[e.onDiscard&&(0,A.jsx)(K,{variant:"ghost",size:"sm",onClick:e.onDiscard,children:e.discardLabel||t.notAReceipt}),e.onConfirm&&(0,A.jsx)(K,{size:"sm",icon:"check",onClick:e.onConfirm,children:e.confirmLabel||t.bookIt})]})]})}var pe=G(ye(),1),Ak=G(re(),1);function Bv(e){let t=M(Ni),n=$(e.device,"desktop",e.onDevice);return(0,pe.jsxs)("div",{className:"tf-mailprev",children:[(0,pe.jsxs)("div",{className:"tf-mailprev-head",children:[(0,pe.jsxs)("div",{className:"tf-mailprev-inbox",children:[(0,pe.jsx)(Ve,{name:e.fromName||e.from||"",size:36}),(0,pe.jsxs)("div",{className:"tf-option-text",children:[(0,pe.jsx)("b",{children:e.fromName||e.from}),(0,pe.jsxs)("span",{className:"tf-mailprev-subj",children:[(0,pe.jsx)("b",{children:e.subject||t.noSubject}),e.preheader&&(0,pe.jsx)("span",{children:" \u2014 "+e.preheader})]})]})]}),(0,pe.jsx)(Zn,{size:"sm",value:n[0],onChange:n[1],label:t.device,options:[{value:"desktop",label:t.desktop},{value:"mobile",label:t.mobile}]})]}),(0,pe.jsx)("div",{className:p("tf-mailprev-stage",n[0]),children:(0,pe.jsx)("div",{className:"tf-mailprev-frame",children:e.html!=null?(0,pe.jsx)("iframe",{title:t.emailPreview,sandbox:"",srcDoc:e.html}):(0,pe.jsx)("div",{className:"tf-mailprev-body",children:e.children})})}),e.checks&&(0,pe.jsx)("div",{className:"tf-mailprev-checks",children:e.checks.map((a,l)=>(0,pe.jsx)(Be,{status:a.status,label:a.label,size:"sm"},l))})]})}function Vv(e){let t=M(Ni),n=$(e.device,"mobile",e.onDevice),a=(e.headlines||[]).filter(Boolean).slice(0,3),l=(e.descriptions||[]).filter(Boolean).slice(0,2),i=[["headlines",30],["descriptions",90],["paths",15]],s=[];i.forEach(r=>{(e[r[0]]||[]).forEach((u,o)=>{u&&u.length>r[1]&&s.push(t.adTooLong(r[0],o+1,u.length,r[1]))})});let c=(e.domain||"")+(e.paths||[]).filter(Boolean).map(r=>" \u203A "+r).join("");return(0,pe.jsxs)("div",{className:"tf-adprev",children:[(0,pe.jsxs)("div",{className:"tf-row",style:{justifyContent:"space-between"},children:[(0,pe.jsx)("span",{className:"tf-menu-label",style:{padding:0},children:t.preview}),(0,pe.jsx)(Zn,{size:"sm",value:n[0],onChange:n[1],label:t.device,options:[{value:"mobile",label:t.mobile},{value:"desktop",label:t.desktop}]})]}),(0,pe.jsxs)("div",{className:p("tf-adprev-card",n[0]),children:[(0,pe.jsxs)("div",{className:"tf-adprev-top",children:[(0,pe.jsx)("span",{className:"tf-adprev-fav","aria-hidden":!0,children:(e.name||e.domain||"?").charAt(0).toUpperCase()}),(0,pe.jsxs)("div",{className:"tf-option-text",children:[(0,pe.jsx)("b",{children:e.name||e.domain}),(0,pe.jsx)("small",{children:c})]}),(0,pe.jsx)("span",{className:"tf-adprev-tag",children:e.sponsoredLabel||t.sponsored})]}),(0,pe.jsx)("a",{className:"tf-adprev-hl",href:"#",onClick:r=>{r.preventDefault()},children:a.join(" | ")||t.yourHeadline}),(0,pe.jsx)("p",{className:"tf-adprev-desc",children:l.join(" ")||t.yourDescription}),e.sitelinks&&e.sitelinks.length>0&&(0,pe.jsx)("div",{className:"tf-adprev-links",children:e.sitelinks.map((r,u)=>(0,pe.jsx)("span",{children:r},u))})]}),s.length>0&&(0,pe.jsx)("div",{className:"tf-col",style:{gap:4},children:s.map((r,u)=>(0,pe.jsx)(Be,{status:"warn",label:r,size:"sm"},u))})]})}var he=G(ye(),1),jn=G(re(),1);function qv(e){let t=Se("acc"),n=e.items||[],a=n.map((c,r)=>c.id??String(r)),l=$(e.value,e.defaultValue||[],e.onChange),i=jn.useRef(null),s=c=>{let r=l[0].includes(c);l[1](r?l[0].filter(u=>u!==c):e.multiple?l[0].concat(c):[c])};return(0,he.jsx)("div",{ref:i,className:p("tf-accordion",e.variant==="flush"&&"flush",e.className),style:e.style,onKeyDown:c=>{c.target.classList.contains("tf-accordion-head")&&Hl(c,i.current,".tf-accordion-head","vertical")},children:n.map((c,r)=>{let u=a[r],o=l[0].includes(u);return(0,he.jsxs)("div",{className:p("tf-accordion-item",o&&"open"),children:[(0,he.jsx)("h3",{className:"tf-accordion-h",children:(0,he.jsxs)("button",{type:"button",id:`${t}-h${r}`,className:"tf-accordion-head","aria-expanded":o,"aria-controls":`${t}-p${r}`,disabled:c.disabled,onClick:()=>s(u),children:[c.icon&&(0,he.jsx)(x,{name:c.icon}),(0,he.jsx)("span",{className:"tf-accordion-title",children:c.title}),c.meta&&(0,he.jsx)("span",{className:"tf-accordion-meta",children:c.meta}),(0,he.jsx)(x,{name:"chevronDown",size:16,className:"tf-accordion-chev"})]})}),(0,he.jsx)("div",{id:`${t}-p${r}`,role:"region","aria-labelledby":`${t}-h${r}`,className:"tf-accordion-panel",hidden:!o,children:(0,he.jsx)("div",{className:"tf-accordion-body",children:c.content})})]},u)})})}function Gv(e){let t=e.orientation==="vertical";return e.label&&!t?(0,he.jsx)("div",{className:p("tf-sep","labelled",e.className),style:e.style,role:"separator",children:(0,he.jsx)("span",{children:e.label})}):(0,he.jsx)("div",{className:p("tf-sep",t&&"vertical",e.className),style:e.style,role:"separator","aria-orientation":t?"vertical":void 0})}function Yv(e){return(0,he.jsx)("div",{className:p("tf-aspect",e.className),style:{aspectRatio:String(e.ratio||16/9),...e.style},children:e.children})}function Qv(e){return(0,he.jsxs)("label",{className:p("tf-field-label","tf-label",e.className),style:e.style,htmlFor:e.htmlFor,children:[e.children,e.required&&(0,he.jsx)("span",{className:"tf-label-req","aria-hidden":!0,children:"*"}),e.hint&&(0,he.jsx)("span",{className:"tf-label-hint",children:e.hint})]})}function Xv(e){let t=$(e.pressed,!!e.defaultPressed,e.onChange),n=!!e.icon&&!e.children;return(0,he.jsxs)("button",{type:"button",className:p("tf-toggle",e.size==="sm"&&"sm",n&&"icon",e.className),style:e.style,"aria-pressed":t[0],"aria-label":n?e.label:void 0,title:n?e.label:void 0,disabled:e.disabled,onClick:()=>t[1](!t[0]),children:[e.icon&&(0,he.jsx)(x,{name:e.icon}),e.children]})}var Dx=e=>typeof e=="string"?{value:e,label:e}:e;function Kv(e){let t=$(e.value,e.defaultValue||[],e.onChange),n=jn.useRef(null),a=(e.items||[]).map(Dx);return(0,he.jsx)("div",{ref:n,className:p("tf-togglegroup",e.size==="sm"&&"sm",e.className),style:e.style,role:"group","aria-label":e.label,onKeyDown:l=>Hl(l,n.current,".tf-toggle","horizontal"),children:a.map(l=>{let i=t[0].includes(l.value),s=!!l.icon&&!l.label;return(0,he.jsxs)("button",{type:"button",className:p("tf-toggle",e.size==="sm"&&"sm",s&&"icon"),"aria-pressed":i,"aria-label":s?l.hint||l.value:void 0,title:l.hint,onClick:()=>t[1](e.type==="multiple"?i?t[0].filter(c=>c!==l.value):t[0].concat(l.value):i?[]:[l.value]),children:[l.icon&&(0,he.jsx)(x,{name:l.icon}),l.label]},l.value)})})}function Zv(e){return(0,he.jsx)("div",{className:p("tf-btngroup",e.orientation==="vertical"&&"vertical",e.className),style:e.style,role:"group","aria-label":e.label,children:e.children})}function Fv(e){let t=e.orientation||"vertical";return(0,he.jsx)("div",{className:p("tf-scrollarea",t,e.className),style:{height:e.height,maxHeight:e.maxHeight,...e.style},role:"region","aria-label":e.label,tabIndex:0,children:e.children})}function Iv(e){let[t,n]=jn.useState(!1),a=jn.useRef(void 0),l=jn.useRef(null),i=Nt(t);Ll(l,t);let s=(c,r)=>{clearTimeout(a.current),a.current=setTimeout(()=>n(c),r)};return jn.useEffect(()=>()=>clearTimeout(a.current),[]),(0,he.jsxs)("span",{className:p("tf-hovercard-anchor",e.className),style:e.style,onPointerEnter:()=>s(!0,e.openDelay??500),onPointerLeave:()=>s(!1,e.closeDelay??200),onFocus:()=>s(!0,0),onBlur:c=>{c.currentTarget.contains(c.relatedTarget)||s(!1,0)},onKeyDown:c=>{c.key==="Escape"&&s(!1,0)},children:[e.trigger,i.mounted&&(0,he.jsx)("div",{...ft(i.closing),ref:l,className:p("tf-hovercard","tf-hc-"+(e.side||"bottom"),"tf-hc-"+(e.align||"center")),style:e.width?{width:e.width}:void 0,children:e.children})]})}function Jv(e){let t=M(zs),n=e.slides||[],a=n.length,l=$(e.index,e.defaultIndex||0,e.onChange),i=jn.useRef(null),s=Math.max(1,e.perView||1),c=Math.max(0,a-s),r=u=>{let o=e.loop?u>c?0:u<0?c:u:Math.min(c,Math.max(0,u)),f=i.current?.children[o];f&&i.current&&i.current.scrollTo({left:f.offsetLeft-i.current.offsetLeft,behavior:"smooth"}),l[1](o)};return jn.useEffect(()=>{let u=i.current;if(!u)return;let o=0,f=()=>{cancelAnimationFrame(o),o=requestAnimationFrame(()=>{let d=u.firstElementChild?.offsetWidth||1,m=parseFloat(getComputedStyle(u).columnGap)||0,N=Math.round(u.scrollLeft/(d+m));N!==l[0]&&l[1](Math.min(c,N))})};return u.addEventListener("scroll",f,{passive:!0}),()=>{u.removeEventListener("scroll",f),cancelAnimationFrame(o)}}),(0,he.jsxs)("section",{className:p("tf-carousel",e.className),style:{"--per":s,...e.style},"aria-roledescription":"carousel","aria-label":e.label,onKeyDown:u=>{u.key==="ArrowRight"?(u.preventDefault(),r(l[0]+1)):u.key==="ArrowLeft"&&(u.preventDefault(),r(l[0]-1))},children:[(0,he.jsx)("div",{ref:i,className:"tf-carousel-track",tabIndex:0,children:n.map((u,o)=>(0,he.jsx)("div",{className:"tf-carousel-slide",role:"group","aria-roledescription":t.slide,"aria-label":t.slideOf(o+1,a),children:u},o))}),(0,he.jsxs)("div",{className:"tf-carousel-bar",children:[(0,he.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-soft tf-iconbtn-sm","aria-label":t.previousSlide,disabled:!e.loop&&l[0]<=0,onClick:()=>r(l[0]-1),children:(0,he.jsx)(x,{name:"chevronLeft"})}),e.dots!==!1&&(0,he.jsx)("div",{className:"tf-carousel-dots",children:Array.from({length:c+1},(u,o)=>(0,he.jsx)("button",{type:"button",className:"tf-carousel-dot","aria-label":t.goToSlide(o+1),"aria-current":o===l[0]?"true":void 0,onClick:()=>r(o)},o))}),(0,he.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-soft tf-iconbtn-sm","aria-label":t.nextSlide,disabled:!e.loop&&l[0]>=c,onClick:()=>r(l[0]+1),children:(0,he.jsx)(x,{name:"chevronRight"})})]})]})}var V=G(ye(),1),Zk=G(re(),1);function Ox(e,t,{formatNumber:n}){return[e.area!=null&&[(0,V.jsx)(x,{name:"ruler",size:14},"i"),`${n(e.area)} m\xB2`],e.rooms!=null&&[(0,V.jsx)(x,{name:"bed",size:14},"i"),t.rooms(n(e.rooms),e.rooms)],e.place&&[(0,V.jsx)(x,{name:"pin",size:14},"i"),e.place]].filter(Boolean).map((a,l)=>(0,V.jsx)("span",{children:a},l))}function jx(e,t,{formatMoney:n}){return e.price==null?(0,V.jsx)("b",{className:"tf-listing-price",children:t.priceOnRequest}):(0,V.jsxs)("b",{className:"tf-listing-price",children:[n(e.price,e.currency),e.rent&&(0,V.jsxs)("small",{children:[" ",t.perMonth]})]})}function $v(e){let t=M(fa),n=J(),{formatMoney:a,formatNumber:l}=n,i=e.listing||e;return(0,V.jsxs)("article",{className:p("tf-listing",e.layout==="row"&&"row",e.selected&&"selected",i.status==="unread"&&"unread"),onClick:e.onOpen&&(()=>{e.onOpen?.(i)}),children:[(0,V.jsxs)("div",{className:"tf-listing-media",children:[i.image?(0,V.jsx)("img",{src:i.image,alt:""}):(0,V.jsx)("div",{className:p("tf-listing-ph","tf-t-"+(i.tint||"sky")),children:(0,V.jsx)(x,{name:"image",size:24})}),i.isNew&&(0,V.jsx)("span",{className:"tf-listing-new",children:t.isNew}),(i.photos??0)>1&&(0,V.jsxs)("span",{className:"tf-listing-photos",children:[(0,V.jsx)(x,{name:"image",size:12}),l(i.photos??0)]}),e.onSelect&&(0,V.jsx)("label",{className:"tf-listing-sel",onClick:s=>{s.stopPropagation()},children:Us({checked:!!e.selected,onChange:()=>{e.onSelect?.(i)},label:t.select})})]}),(0,V.jsxs)("div",{className:"tf-listing-body",children:[(0,V.jsxs)("div",{className:"tf-listing-top",children:[jx(i,t,n),i.pricePerSqm!=null&&(0,V.jsx)("span",{className:"tf-listing-ppsqm",children:a(i.pricePerSqm,i.currency)+" / m\xB2"}),e.onWish&&(0,V.jsx)(W,{icon:"heart",size:"sm",label:i.wished?t.removeFromSaved:t.save,className:p("tf-listing-wish",i.wished&&"on"),onClick:s=>{s.stopPropagation(),e.onWish?.(i)}})]}),(0,V.jsx)("b",{className:"tf-listing-title",children:i.title}),(0,V.jsx)("div",{className:"tf-listing-facts",children:Ox(i,t,n)}),(0,V.jsxs)("div",{className:"tf-listing-foot",children:[i.source&&(0,V.jsx)("span",{className:"tf-listing-src",children:i.source}),i.seller&&(0,V.jsx)(Oe,{tone:i.seller==="private"?"success":"neutral",dot:!1,children:i.sellerLabel||(i.seller==="private"?t.privateSeller:t.agent)}),i.phone&&(0,V.jsx)("span",{className:"tf-listing-flag",title:t.phoneAvailable,children:(0,V.jsx)(x,{name:"phone",size:13})}),(0,V.jsx)("span",{style:{flex:1}}),i.age&&(0,V.jsx)("span",{className:"tf-listing-age",children:i.age}),e.statusOptions&&(0,V.jsx)("span",{onClick:s=>{s.stopPropagation()},children:(0,V.jsx)(Rr,{size:"sm",options:e.statusOptions,value:i.status,onChange:s=>{e.onStatus&&e.onStatus(i,s)},label:t.status})})]})]})]})}function Pv(e){let t=M(fa),{formatNumber:n}=J(),a=e.total>0&&e.selected===e.total,l=(e.selected??0)>0&&!a;return(0,V.jsxs)("div",{className:"tf-results",children:[e.onSelectAll&&(0,V.jsx)("label",{className:"tf-check",children:Us({checked:a,indeterminate:l,onChange:()=>{e.onSelectAll?.(!a)},label:a?t.deselectAll:t.selectAll})}),(0,V.jsxs)("div",{className:"tf-option-text",style:{marginRight:"auto"},children:[(0,V.jsx)("b",{children:(e.selected??0)>0?t.selectedCount(e.selected??0,n(e.selected??0)):e.title||t.results}),(0,V.jsx)("small",{children:t.foundCount(e.total||0,n(e.total||0))+(e.meta?" \xB7 "+e.meta:"")})]}),(e.selected??0)>0&&(e.bulkActions||[]).map((i,s)=>(0,V.jsx)(K,{size:"sm",variant:i.variant||"secondary",icon:i.icon,disabled:i.busy,onClick:i.onClick,children:i.busy?i.busyLabel||t.workingEllipsis:i.label},s)),e.sortOptions&&(0,V.jsxs)("label",{className:"tf-results-sort",children:[(0,V.jsx)("span",{children:t.sort}),(0,V.jsx)("select",{className:"tf-input",value:e.sort,onChange:i=>{e.onSort&&e.onSort(i.target.value)},children:e.sortOptions.map(i=>(0,V.jsx)("option",{value:i.value,children:i.label},i.value))})]}),e.views&&(0,V.jsx)(Zn,{size:"sm",value:e.view,onChange:e.onView,label:t.view,options:e.views.map(i=>({value:i,icon:i==="grid"?"grid":i==="map"?"map":"list",label:i==="grid"?t.viewGrid:i==="map"?t.viewMap:t.viewList}))})]})}function Wv(e){let t=M(fa),{formatNumber:n}=J();return(0,V.jsxs)("div",{className:p("tf-saved",e.enabled===!1&&"off"),children:[(0,V.jsxs)("div",{className:"tf-saved-head",children:[(0,V.jsx)(ce,{icon:e.icon||"search",tint:e.tint||"sky",size:36}),(0,V.jsxs)("div",{className:"tf-option-text",style:{flex:1,minWidth:0},children:[(0,V.jsx)("b",{children:e.name}),(0,V.jsx)("small",{children:[e.lastRun&&t.checkedAt(e.lastRun),e.frequency].filter(Boolean).join(" \xB7 ")})]}),(e.newCount??0)>0&&(0,V.jsx)("span",{className:"tf-nav-count",children:n(e.newCount??0)}),e.onToggle&&(0,V.jsx)(Qa,{checked:e.enabled!==!1,onChange:e.onToggle,label:t.enabled})]}),(0,V.jsx)("div",{className:"tf-saved-crit",children:(e.criteria||[]).map((a,l)=>(0,V.jsx)("span",{className:"tf-saved-chip",children:a},l))}),(e.onOpen||e.onEdit)&&(0,V.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:[e.onEdit&&(0,V.jsx)(K,{size:"sm",variant:"ghost",icon:"edit",onClick:e.onEdit,children:t.edit}),e.onOpen&&(0,V.jsx)(K,{size:"sm",variant:"soft",onClick:e.onOpen,children:e.openLabel||t.showResults})]})]})}function eb(e){let t=M(fa),{formatMoney:n,formatNumber:a}=J(),l=e.low,i=e.high,s=e.value,c=i-l||1,r=(s-l)/c*100,u=e.confidence,o=u==null?null:u>=.75?["ok",t.highConfidence]:u>=.5?["warn",t.mediumConfidence]:["danger",t.lowConfidence];return(0,V.jsxs)("div",{className:"tf-valuation",children:[(0,V.jsxs)("div",{className:"tf-valuation-head",children:[(0,V.jsx)("span",{className:"tf-menu-label",style:{padding:0},children:e.title||t.estimatedValue}),o&&(0,V.jsx)(Be,{status:o[0],label:e.confidenceLabel||o[1],size:"sm"})]}),(0,V.jsx)("div",{className:"tf-valuation-val",children:n(s,e.currency)}),e.perSqm!=null&&(0,V.jsx)("span",{className:"tf-valuation-sub",children:n(e.perSqm,e.currency)+" / m\xB2"+(e.compare?" \xB7 "+e.compare:"")}),(0,V.jsxs)("div",{className:"tf-valuation-range",role:"img","aria-label":t.range(n(l,e.currency),n(i,e.currency)),children:[(0,V.jsxs)("div",{className:"tf-valuation-bar",children:[e.asking!=null&&(0,V.jsx)("span",{className:"tf-valuation-ask",style:{left:Math.max(0,Math.min(100,(e.asking-l)/c*100))+"%"},title:t.askingPrice}),(0,V.jsx)("span",{className:"tf-valuation-mark",style:{left:r+"%"}})]}),(0,V.jsxs)("div",{className:"tf-valuation-ends",children:[(0,V.jsx)("span",{children:n(l,e.currency)}),(0,V.jsx)("span",{children:n(i,e.currency)})]})]}),e.asking!=null&&(0,V.jsx)("span",{className:p("tf-valuation-diff",e.asking>i?"bad":e.asking<l?"good":""),children:t.askingPrice+" "+n(e.asking,e.currency)+" \xB7 "+(e.asking>s?"+":"")+a((e.asking-s)/s,{style:"percent",maximumFractionDigits:1})}),e.facts&&(0,V.jsx)(Fn,{dense:!0,items:e.facts}),e.note&&(0,V.jsx)("p",{className:"tf-card-desc",style:{margin:0},children:e.note}),e.action]})}var Lx=["A+","A","B","C","D","E","F","G","H"];function tb(e){let t=M(fa),{formatNumber:n}=J(),a=e.scale||Lx,l=a.indexOf(e.value);return(0,V.jsxs)("div",{className:"tf-energy",role:"img","aria-label":t.energyClass(e.value)+(e.kwh!=null?", "+n(e.kwh)+" kWh/(m\xB2\xB7a)":""),children:[(0,V.jsx)("div",{className:"tf-energy-scale",style:{gridTemplateColumns:"repeat("+a.length+", 1fr)"},children:a.map((i,s)=>(0,V.jsx)("span",{className:p("tf-energy-c",s===l&&"on"),style:{"--e":s/(a.length-1)},children:i},i))}),(e.kwh!=null||e.kind)&&(0,V.jsx)("span",{className:"tf-energy-meta",children:[e.kwh!=null&&n(e.kwh)+" kWh/(m\xB2\xB7a)",e.kind].filter(Boolean).join(" \xB7 ")})]})}var Ge=G(ye(),1),Ln=G(re(),1);var Hx={P:1,H3:1,BLOCKQUOTE:1,UL:1,OL:1,LI:1,B:1,STRONG:1,I:1,EM:1,U:1,A:1,BR:1},Ux={P:1,H3:1,BLOCKQUOTE:1,UL:1,OL:1};function nb(e){let t=document.createElement("div");return t.innerHTML=e||"",(function n(a){Array.from(a.childNodes).forEach(l=>{let i=l;if(i.nodeType===3)return;if(i.nodeType!==1||!Hx[i.tagName]){if(i.nodeType===1&&!/^(SCRIPT|STYLE|IFRAME|OBJECT)$/.test(i.tagName))for(n(i);i.firstChild;)a.insertBefore(i.firstChild,i);a.removeChild(i);return}let s=i.tagName==="A"?i.getAttribute("href"):null;Array.from(i.attributes).forEach(c=>{i.removeAttribute(c.name)}),i.tagName==="A"&&s&&/^(https?:|mailto:|tel:|\/|#|\{)/i.test(s)&&(i.setAttribute("href",s),i.setAttribute("rel","noopener noreferrer")),n(i)})})(t),Array.from(t.childNodes).forEach(n=>{if(n.nodeType===3?(n.textContent||"").trim():!Ux[n.tagName]){let a=document.createElement("p");t.insertBefore(a,n),a.appendChild(n)}else n.nodeType===3&&t.removeChild(n)}),t.innerHTML}function ab(e){let t=M(As),n=Ln.useRef(null),a=Ln.useState(0),l=Ln.useState({}),i=Ln.useState(!1),s=Ln.useState(""),c=Ln.useRef(null),r=Ln.useRef({stack:[],i:-1,t:void 0});function u(){return n.current}function o(){let j=window.getSelection();if(!j||!j.rangeCount)return null;let H=j.getRangeAt(0);return n.current&&n.current.contains(H.commonAncestorContainer)?H:null}function f(j){let H=window.getSelection();H&&(H.removeAllRanges(),H.addRange(j))}function d(j,H){let B=j;for(;B&&B!==u();){if(B.nodeType===1&&H(B))return B;B=B.parentNode}return null}function m(j,H){let B=j;if(B===u()){let F=u().childNodes;return F[Math.max(0,Math.min(F.length-1,(H||0)-(H?1:0)))]||null}for(;B&&B.parentNode!==u();)B=B.parentNode;return B&&B!==u()?B:null}function N(j){let H=o(),B=H&&{sc:H.startContainer,so:H.startOffset,ec:H.endContainer,eo:H.endOffset};if(j(H),B&&u().contains(B.sc)&&u().contains(B.ec))try{let F=document.createRange();F.setStart(B.sc,B.so),F.setEnd(B.ec,B.eo),f(F)}catch{}g(!0)}function S(j){let H=r.current;clearTimeout(H.t);function B(){let F=u().innerHTML;H.stack[H.i]!==F&&(H.stack=H.stack.slice(0,H.i+1).concat([F]).slice(-100),H.i=H.stack.length-1)}j?B():H.t=setTimeout(B,400)}function k(){let j=u();j&&(a[1]((j.innerText??j.textContent??"").trim().length),e.onChange&&e.onChange(nb(j.innerHTML)))}function g(j){S(j),k(),v()}function v(){let j=o();if(!j)return l[1]({});let H=j.startContainer,B=m(H),F=d(H,oe=>oe.tagName==="UL"||oe.tagName==="OL");l[1]({bold:!!d(H,oe=>oe.tagName==="B"||oe.tagName==="STRONG"),italic:!!d(H,oe=>oe.tagName==="I"||oe.tagName==="EM"),underline:!!d(H,oe=>oe.tagName==="U"),link:!!d(H,oe=>oe.tagName==="A"),heading:!!B&&B.tagName==="H3",quote:!!B&&B.tagName==="BLOCKQUOTE",list:!!F&&F.tagName==="UL",olist:!!F&&F.tagName==="OL"})}Ln.useEffect(()=>(u().innerHTML=nb(e.defaultValue||e.value||"")||"<p><br></p>",a[1]((u().innerText??u().textContent??"").trim().length),S(!0),document.addEventListener("selectionchange",v),()=>{document.removeEventListener("selectionchange",v)}),[]);function b(j){let H=j.parentNode;for(;j.firstChild;)H.insertBefore(j.firstChild,j);H.removeChild(j)}function y(j,H){let B=o();if(!B)return;let F=d(B.startContainer,Wt=>Wt.tagName===j||Wt.tagName===H);if(F)return b(F),g(!0);if(B.collapsed)return;let oe=document.createElement(j);oe.appendChild(B.extractContents()),Array.prototype.slice.call(oe.querySelectorAll(j+(H?","+H:""))).forEach(b),B.insertNode(oe);let lt=document.createRange();lt.selectNodeContents(oe),f(lt),g(!0)}function z(j){let H=m(j.startContainer,j.startOffset),B=m(j.endContainer,j.endOffset),F=[],oe=H;for(;oe&&(F.push(oe),oe!==B);)oe=oe.nextSibling;return F}function q(j){o()&&N(H=>{if(!H)return;let B=z(H),F=B.every(oe=>oe.tagName===j);B.forEach(oe=>{(oe.tagName==="UL"||oe.tagName==="OL"?Array.from(oe.children):[oe]).forEach(Wt=>{let Tl=document.createElement(F?"P":j);for(;Wt.firstChild;)Tl.appendChild(Wt.firstChild);u().insertBefore(Tl,oe)}),u().removeChild(oe)})})}function U(j){o()&&N(H=>{if(!H)return;let B=z(H),F=B[0];if(!F)return;if(B.length===1&&F.tagName===j){Array.from(F.children).forEach(lt=>{let Wt=document.createElement("P");for(;lt.firstChild;)Wt.appendChild(lt.firstChild);u().insertBefore(Wt,F)}),u().removeChild(F);return}let oe=document.createElement(j);u().insertBefore(oe,F),B.forEach(lt=>{(lt.tagName==="UL"||lt.tagName==="OL"?Array.from(lt.children):[lt]).forEach(Tl=>{let fi=document.createElement("LI");for(;Tl.firstChild;)fi.appendChild(Tl.firstChild);oe.appendChild(fi)}),u().removeChild(lt)})})}function O(){let j=o();if(!j)return;c.current=j.cloneRange();let H=d(j.startContainer,B=>B.tagName==="A");s[1](H&&H.getAttribute("href")||""),i[1](!0)}function P(j){let H=c.current;if(i[1](!1),!H)return;u().focus(),f(H);let B=d(H.startContainer,lt=>lt.tagName==="A"),F=s[0].trim();if(F&&!/^(https?:|mailto:|tel:|\/|#|\{)/i.test(F)&&(F="https://"+F),j||!F)return B&&b(B),g(!0);if(B)return B.setAttribute("href",F),g(!0);let oe=document.createElement("A");oe.setAttribute("href",F),oe.setAttribute("rel","noopener noreferrer"),H.collapsed?oe.textContent=F:oe.appendChild(H.extractContents()),H.insertNode(oe),g(!0)}function I(j){let H=o();if(H||(u().focus(),H=o()),!H)return;H.deleteContents();let B=document.createTextNode(j);H.insertNode(B);let F=document.createRange();F.setStartAfter(B),F.collapse(!0),f(F),g(!0)}function Fe(j){let H=r.current;S(!0);let B=H.i+j;if(B<0||B>=H.stack.length)return;H.i=B,u().innerHTML=H.stack[B]??"";let F=document.createRange();F.selectNodeContents(u()),F.collapse(!1),f(F),k()}function ua(j){if(!(j.metaKey||j.ctrlKey))return;let B=j.key.toLowerCase();B==="b"?(j.preventDefault(),y("B","STRONG")):B==="i"?(j.preventDefault(),y("I","EM")):B==="u"?(j.preventDefault(),y("U")):B==="k"?(j.preventDefault(),O()):B==="z"?(j.preventDefault(),Fe(j.shiftKey?1:-1)):B==="y"&&(j.preventDefault(),Fe(1))}function kn(j){j.preventDefault();let B=j.clipboardData.getData("text/plain").replace(/\r/g,"").split(`
|
|
30
|
-
`);if(I(B[0]??""),B.length>1){let F=o(),lt=F&&m(F.startContainer,F.startOffset);if(!lt)return g(!0);B.slice(1).forEach(Tl=>{let fi=document.createElement("P");fi.textContent=Tl;let ih=lt;ih.parentNode?.insertBefore(fi,ih.nextSibling),lt=fi});let Wt=document.createRange();Wt.selectNodeContents(lt),Wt.collapse(!1),f(Wt),g(!0)}}function Kc(){let j=u();(!j.firstChild||j.innerHTML==="<br>")&&(j.innerHTML="<p><br></p>"),Array.from(j.childNodes).forEach(H=>{if(H.nodeType===3&&(H.textContent||"").trim()){let B=document.createElement("P");j.insertBefore(B,H),B.appendChild(H);let F=document.createRange();F.selectNodeContents(B),F.collapse(!1),f(F)}}),g(!1)}let zS=[["bold",()=>{y("B","STRONG")},t.bold,"B"],["italic",()=>{y("I","EM")},t.italic,"I"],["underline",()=>{y("U")},t.underline,"U"],"-",["heading",()=>{q("H3")},t.heading],["quote",()=>{q("BLOCKQUOTE")},t.quote],["list",()=>{U("UL")},t.bulletedList],["olist",()=>{U("OL")},t.numberedList],"-",["link",O,t.link,"K"],"-",["undo",()=>{Fe(-1)},t.undo,"Z"],["redo",()=>{Fe(1)},t.redo]],lh=e.maxLength&&a[0]>e.maxLength,AS=typeof navigator<"u"&&/Mac|iPhone|iPad/.test(navigator.platform||"")?"\u2318":"Ctrl+";return(0,Ge.jsx)(mt,{label:e.label,hint:e.hint,error:e.error,children:(0,Ge.jsxs)("div",{className:p("tf-rte",lh&&"invalid"),children:[(0,Ge.jsxs)("div",{className:"tf-rte-bar",role:"toolbar","aria-label":t.formatting,children:[zS.map((j,H)=>{if(j==="-")return(0,Ge.jsx)("span",{className:"tf-rte-sep","aria-hidden":!0},H);let B=(0,Ge.jsx)("button",{type:"button",className:p("tf-rte-btn",l[0][j[0]]&&"on"),title:j[2]+(j[3]?" ("+AS+j[3]+")":""),"aria-label":j[2],"aria-pressed":j[0]==="undo"||j[0]==="redo"?void 0:!!l[0][j[0]],disabled:e.disabled,onMouseDown:F=>{F.preventDefault()},onClick:j[1],children:(0,Ge.jsx)(x,{name:j[0],size:15})},H);return j[0]==="link"?(0,Ge.jsx)(Ue,{width:300,open:i[0],onOpenChange:i[1],trigger:B,children:(0,Ge.jsxs)("form",{className:"tf-col",style:{gap:8},onSubmit:F=>{F.preventDefault(),P(!1)},children:[(0,Ge.jsx)("input",{className:"tf-input",autoFocus:!0,value:s[0],onChange:F=>{s[1](F.target.value)},placeholder:t.linkAddress,"aria-label":t.linkAddress,inputMode:"url"}),(0,Ge.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end",gap:8},children:[l[0].link&&(0,Ge.jsx)(K,{size:"sm",variant:"ghost",onClick:()=>{P(!0)},children:t.removeLink}),(0,Ge.jsx)(K,{size:"sm",type:"submit",children:t.apply})]})]})},H):B}),e.variables&&e.variables.length>0&&(0,Ge.jsx)(Ue,{width:240,trigger:j=>(0,Ge.jsxs)("button",{type:"button",className:"tf-rte-var",onMouseDown:H=>{H.preventDefault()},onClick:j.toggle,"aria-expanded":j.open,children:["{ }",(0,Ge.jsx)("span",{children:t.insertField})]}),children:j=>(0,Ge.jsx)("div",{className:"tf-menu",children:(e.variables||[]).map(H=>(0,Ge.jsxs)("button",{type:"button",className:"tf-menu-item",onMouseDown:B=>{B.preventDefault()},onClick:()=>{I("{"+H.key+"}"),j.close&&j.close()},children:[(0,Ge.jsx)("span",{style:{flex:1},children:H.label}),(0,Ge.jsx)("code",{children:"{"+H.key+"}"})]},H.key))})})]}),(0,Ge.jsx)("div",{ref:n,className:"tf-rte-area",contentEditable:!e.disabled,role:"textbox","aria-multiline":"true","aria-label":typeof e.label=="string"?e.label:t.text,"data-placeholder":e.placeholder||"",suppressContentEditableWarning:!0,onInput:Kc,onKeyDown:ua,onPaste:kn,onBlur:k,style:{minHeight:e.minHeight||160}}),(e.maxLength||e.footer)&&(0,Ge.jsxs)("div",{className:"tf-rte-foot",children:[e.footer,e.maxLength&&(0,Ge.jsx)("span",{className:p("tf-rte-count",lh&&"over"),children:wn(a[0])+" / "+wn(e.maxLength)})]})]})})}var se=G(ye(),1),Za=G(re(),1);function Pu(e){let t=M(zl);return(0,se.jsxs)("nav",{className:"tf-topbar","aria-label":t.mainNavigation,children:[e.brand&&(0,se.jsxs)("span",{className:"tf-brand",children:[e.brand,(0,se.jsx)("span",{className:"tf-brand-dot","aria-hidden":!0}),e.tag&&(0,se.jsx)("span",{className:"tf-brand-tag",children:e.tag})]}),(0,se.jsx)("div",{className:"tf-nav",children:(e.items||[]).map(n=>{let a=n.label===e.active;return(0,se.jsxs)("button",{type:"button",className:"tf-nav-item","aria-current":a?"page":void 0,title:n.label,onClick:()=>{e.onNavigate&&e.onNavigate(n.label)},children:[(0,se.jsx)(x,{name:n.icon}),(0,se.jsx)("span",{className:"tf-nav-label",children:n.label}),n.count?(0,se.jsx)("span",{className:"tf-nav-count",children:n.count}):null]},n.label)})}),e.extra&&(0,se.jsx)("div",{className:"tf-topbar-extra",children:e.extra}),e.user&&(0,se.jsxs)("button",{type:"button",className:"tf-user","aria-haspopup":"menu","aria-expanded":e.userOpen?"true":"false",onClick:e.onUser,children:[(0,se.jsx)(Ve,{name:e.user.name,size:28}),(0,se.jsxs)("span",{className:"tf-user-text",children:[(0,se.jsx)("span",{className:"tf-user-name",children:e.user.name}),e.user.email&&(0,se.jsx)("span",{className:"tf-user-mail",children:e.user.email})]}),(0,se.jsx)(x,{name:"chevronDown",size:14})]})]})}function lb(e,t){return(0,se.jsxs)("button",{type:"button",className:"tf-rail-btn",style:{animationDelay:`calc(${200+t*50}ms * var(--motion-time, 1))`},"aria-label":e.count?`${e.label}, ${e.count}`:e.label,title:e.label,"aria-current":e.active?"page":void 0,onClick:e.onClick,children:[(0,se.jsx)(x,{name:e.icon}),e.count?(0,se.jsx)("span",{className:"tf-dotcount",children:e.count}):null]},e.label)}function Wu(e){let t=M(zl);return(0,se.jsxs)("aside",{className:"tf-rail","aria-label":t.tools,children:[(0,se.jsx)("div",{className:"tf-rail-group",children:(e.top||[]).map(lb)}),(0,se.jsx)("div",{className:"tf-rail-group",children:(e.bottom||[]).map((n,a)=>lb(n,a+3))})]})}function ef(e){let t=M(zl);return(0,se.jsx)("div",{className:p("tf-dock",e.surface&&"tf-"+e.surface,e.className),style:e.style,role:"toolbar","aria-label":e.label||t.quickActions,children:(e.items||[]).map(n=>(0,se.jsx)("button",{type:"button",className:p("tf-dock-btn","tf-t-"+(n.tint||"plain")),"aria-label":n.label,title:n.label,onClick:n.onClick,children:(0,se.jsx)(x,{name:n.icon})},n.label))})}function ib(e){let t=e.surface??"glass";return(0,se.jsxs)("div",{className:p("tf-floating",e.className),style:{minHeight:e.height??640,...e.style},role:"region","aria-label":e.label,"data-surface":t,children:[e.background!=null&&(0,se.jsx)("div",{className:"tf-floating-bg",children:e.background}),(0,se.jsxs)("div",{className:"tf-floating-ui",children:[e.top!=null&&(0,se.jsx)("div",{className:"tf-floating-top",children:e.top}),e.start!=null&&(0,se.jsx)("div",{className:"tf-floating-start",children:e.start}),e.end!=null&&(0,se.jsx)("div",{className:"tf-floating-end",children:e.end}),e.bottom!=null&&(0,se.jsx)("div",{className:"tf-floating-bottom",children:e.bottom})]}),e.children]})}function sb(e){let t=Za.useRef(null),[n,a]=Za.useState(!1),l=e.animate!==!1&&!e.src&&!e.children;Za.useEffect(()=>{let r=t.current;if(!r||!l||typeof IntersectionObserver>"u")return;let u=new IntersectionObserver(o=>a(!o.some(f=>f.isIntersecting)));return u.observe(r),()=>u.disconnect()},[l]);let i=Za.useRef(null);Za.useEffect(()=>{let r=i.current;r&&Rn(r)&&r.pause()},[e.src]);let s=e.colors?.length?e.colors:["var(--ambient-1)","var(--ambient-2)","var(--ambient-3)","var(--ambient-4)"],c=!!e.src&&!e.children;return(0,se.jsx)("div",{ref:t,"aria-hidden":!0,className:p("tf-ambient",e.fixed&&"fixed",c&&"media",!l&&"still",e.className),style:e.style,"data-paused":n?"":void 0,children:e.children??(c?e.video?(0,se.jsx)("video",{ref:i,className:"tf-ambient-media",src:e.src,muted:!0,loop:!0,autoPlay:!0,playsInline:!0}):(0,se.jsx)("img",{className:"tf-ambient-media",src:e.src,alt:""}):s.map((r,u)=>(0,se.jsx)("span",{className:"tf-ambient-field",style:{"--field":r}},u)))})}var tf=()=>[{label:"Home",icon:"home"},{label:"People",icon:"users"},{label:"Projects",icon:"grid"},{label:"Inbox",icon:"mail"},{label:"Calendar",icon:"calendar"},{label:"Billing",icon:"card"},{label:"Reports",icon:"chart"},{label:"Settings",icon:"settings"}],Bx=()=>[{label:"Share",icon:"share",active:!0},{label:"List view",icon:"menu"},{label:"Grid view",icon:"grid"}],Vx=()=>[{label:"Notifications",icon:"bell",count:3},{label:"Zoom in",icon:"plus"},{label:"Zoom out",icon:"minus"}],qx=()=>[{label:"Invite",icon:"users",tint:"sky"},{label:"New page",icon:"file",tint:"lilac"},{label:"New invoice",icon:"card",tint:"blush"},{label:"Announce",icon:"send",tint:"butter"},{label:"Export",icon:"download",tint:"mint"},{label:"More",icon:"plus"}];function cb(e){return(0,se.jsxs)("div",{className:p("tf-shell",e.className),style:e.style,children:[(0,se.jsx)(Pu,{brand:e.brand,tag:e.tag,active:e.active,items:e.nav||tf(),onNavigate:e.onNavigate,user:e.user,extra:e.topExtra}),(0,se.jsxs)("div",{className:p("tf-sheet",!e.side&&"tf-sheet-2"),style:e.sheetStyle,children:[(0,se.jsx)(Wu,{top:e.railTop||Bx(),bottom:e.railBottom||Vx()}),(0,se.jsx)("main",{className:p("tf-main",e.dock!==!1&&"tf-main-dock"),children:e.children},e.contentKey),e.side||null,e.dock!==!1&&(0,se.jsx)("div",{className:"tf-dock-float",children:(0,se.jsx)(ef,{items:e.dockItems||qx()})})]})]})}var de=G(ye(),1),zi=G(re(),1);function rb(e){let t=M(Al),n=$(e.open,!1,e.onOpenChange);return(0,de.jsxs)("div",{className:p("tf-launch",n[0]&&"open",e.inline&&"inline"),children:[n[0]&&(0,de.jsxs)("div",{className:"tf-launch-panel",role:"dialog","aria-label":e.title||t.assistant,children:[(0,de.jsxs)("div",{className:"tf-launch-head",children:[(0,de.jsx)(Xt,{tint:e.tint||"lilac",size:32}),(0,de.jsxs)("div",{className:"tf-option-text",style:{flex:1},children:[(0,de.jsx)("b",{children:e.title||t.assistant}),e.context&&(0,de.jsx)("small",{children:e.context})]}),e.headerAction,(0,de.jsx)(W,{icon:"x",size:"sm",label:t.close,onClick:()=>{n[1](!1)}})]}),(0,de.jsx)("div",{className:"tf-launch-body",children:e.children}),e.composer&&(0,de.jsx)("div",{className:"tf-launch-foot",children:e.composer})]}),(0,de.jsxs)("button",{type:"button",className:"tf-launch-btn","aria-label":n[0]?t.closeAssistant:e.title||t.openAssistant,"aria-expanded":n[0],onClick:()=>{n[1](!n[0])},children:[(0,de.jsx)(x,{name:n[0]?"x":"sparkle",size:22}),!n[0]&&(e.unread??0)>0&&(0,de.jsx)("span",{className:"tf-nav-count",children:e.unread})]})]})}function ob(e){let t=M(Al),n=zi.useState(!1),a=zi.useState((e.categories||[]).reduce((i,s)=>(i[s.id]=!!(s.required||s.default),i),{}));if(e.open===!1)return null;function l(i){let s=Object.assign({},a[0]);(e.categories||[]).forEach(c=>{i===!0&&(s[c.id]=!0),i===!1&&(s[c.id]=!!c.required)}),e.onSave&&e.onSave(s)}return(0,de.jsxs)("div",{className:p("tf-cookie",e.inline&&"inline"),role:"dialog","aria-label":e.title||t.privacySettings,children:[(0,de.jsxs)("div",{className:"tf-row",style:{gap:12,alignItems:"flex-start",flexWrap:"nowrap"},children:[(0,de.jsx)(ce,{icon:"cookie",tint:"butter",size:36}),(0,de.jsxs)("div",{className:"tf-col",style:{gap:4},children:[(0,de.jsx)("b",{children:e.title||t.privacySettings}),(0,de.jsxs)("p",{className:"tf-card-desc",style:{margin:0},children:[e.text||t.cookieText,e.policy&&(0,de.jsxs)(zi.Fragment,{children:[" ",e.policy]})]})]})]}),n[0]&&(0,de.jsx)("div",{className:"tf-cookie-cats",children:(e.categories||[]).map(i=>(0,de.jsxs)("div",{className:"tf-cookie-cat",children:[(0,de.jsxs)("div",{className:"tf-option-text",style:{flex:1},children:[(0,de.jsx)("b",{children:i.label}),i.text&&(0,de.jsx)("small",{children:i.text})]}),i.required?(0,de.jsx)("span",{className:"tf-card-desc",children:t.alwaysOn}):(0,de.jsx)(Qa,{checked:!!a[0][i.id],onChange:()=>{let s=Object.assign({},a[0]);s[i.id]=!s[i.id],a[1](s)}})]},i.id))}),(0,de.jsxs)("div",{className:"tf-cookie-actions",children:[n[0]?(0,de.jsx)(K,{variant:"secondary",onClick:()=>{l(void 0)},children:t.saveChoice}):(0,de.jsx)(K,{variant:"ghost",onClick:()=>{n[1](!0)},children:t.settings}),(0,de.jsx)(K,{variant:"secondary",onClick:()=>{l(!1)},children:t.onlyNecessary}),(0,de.jsx)(K,{onClick:()=>{l(!0)},children:t.acceptAll})]})]})}function ub(e){let t=M(Al),n=zi.useState(!1);return n[0]?null:(0,de.jsxs)("div",{className:p("tf-announce","tf-t-"+(e.tint||"butter")),role:"status",children:[e.icon!==!1&&(0,de.jsx)(x,{name:e.icon||"sparkle",size:15}),(0,de.jsx)("span",{children:e.children}),e.action,e.onDismiss!==!1&&(0,de.jsx)("button",{type:"button",className:"tf-announce-x","aria-label":t.dismiss,onClick:()=>{n[1](!0),e.onDismiss&&e.onDismiss()},children:(0,de.jsx)(x,{name:"x",size:14})})]})}var Pe=G(ye(),1),wR=G(re(),1);function fb(e){let t=e.code||"404",n={404:["Page not found","The link may be old, or the page moved. Nothing is broken on your side.","search","sky"],500:["Something broke on our side","We\u2019ve been notified and are on it. Your data is safe; try again in a minute.","x","blush"],maintenance:["Back in a few minutes","We\u2019re upgrading the database. Everything you saved is safe.","settings","butter"],offline:["You\u2019re offline","Changes are kept on this device and sync when you\u2019re back.","globe","lilac"],403:["You don\u2019t have access","Ask a workspace owner to invite you to this area.","lock","lilac"]}[t]||[e.title,e.text,"sparkle","sky"];return(0,Pe.jsxs)("div",{className:"tf-status-screen",children:[(0,Pe.jsxs)("div",{className:"tf-status-art","aria-hidden":!0,children:[/^\d+$/.test(t)&&(0,Pe.jsx)("span",{className:"tf-status-code",children:t}),(0,Pe.jsx)(ce,{icon:e.icon||n[2],tint:e.tint||n[3],size:56})]}),(0,Pe.jsx)("h1",{children:e.title||n[0]}),(0,Pe.jsx)("p",{children:e.text||n[1]}),e.extra,(0,Pe.jsx)("div",{className:"tf-row",style:{justifyContent:"center"},children:e.actions||[(0,Pe.jsx)(K,{icon:"home",onClick:e.onHome,children:"Back to overview"},"h"),(0,Pe.jsx)(K,{variant:"secondary",icon:"mail",onClick:e.onContact,children:"Contact support"},"s")]}),e.reference&&(0,Pe.jsx)("span",{className:"tf-status-ref",children:`Reference ${e.reference}`})]})}function db(e){return(0,Pe.jsxs)("div",{className:"tf-auth",children:[e.brand&&(0,Pe.jsxs)("div",{className:"tf-auth-brand",children:[(0,Pe.jsx)("span",{className:"tf-brand-word",children:e.brand}),(0,Pe.jsx)("span",{className:"tf-brand-dot"})]}),e.icon&&(0,Pe.jsx)(ce,{icon:e.icon,tint:e.tint||"sky",size:48}),(0,Pe.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,Pe.jsx)("h1",{className:"tf-auth-title",children:e.title}),e.text&&(0,Pe.jsx)("p",{className:"tf-auth-text",children:e.text})]}),e.children,e.foot&&(0,Pe.jsx)("div",{className:"tf-auth-foot",children:e.foot})]})}var Xe=G(re(),1),bu=G(lr(),1),TS=G(mS(),1);var gS=/^\d{4}-\d{2}-\d{2}(?:[T ][\d:.]+(?:Z|[+-]\d{2}:?\d{2})?)?$/,hS=/^\s*-?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?\s*$/i;function eh(e){let t=new Date(e);return Number.isNaN(t.getTime())?void 0:t}function X5(e,t){return typeof t=="string"&&gS.test(t)?eh(t)??t:t}function vS(e,t){if(t===null)return;if(e.flags.includes("?")&&t==="null")return null;switch(e.kind){case"b":return t!=="false";case"n":return hS.test(t)?Number(t):void 0;case"x":return hS.test(t)?Number(t):t;case"s":return e.flags.includes("!")&&t==="false"?!1:t;case"d":return eh(t);case"r":return t;case"R":case"K":case"j":{let a=t.trim();try{return JSON.parse(a,e.flags.includes("t")?X5:void 0)}catch{return e.kind==="R"?[t]:e.flags.includes("t")&&gS.test(a)?eh(a):e.flags.includes("l")?a.split(",").map(l=>l.trim()).filter(Boolean):t}}default:return}}function bS(e){if(!e||!e.trim())return;let t={};for(let n of e.split(/;(?![^(]*\))/)){let a=n.indexOf(":");if(a<0)continue;let l=n.slice(0,a).trim(),i=n.slice(a+1).trim();!l||!i||(t[l.startsWith("--")?l:l.replace(/-([a-z])/g,(s,c)=>c.toUpperCase())]=i)}return t}function pS(e){if(!e||typeof e!="object"||!("nativeEvent"in e)||!("target"in e))return e;let t=e.target;return t instanceof HTMLInputElement&&(t.type==="checkbox"||t.type==="radio")?t.checked:t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement?t.value:null}function yS(e){return!!e&&typeof e=="object"&&"nativeEvent"in e&&"target"in e}function NS(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").toLowerCase()}function SS(e){return e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase())}var gu=e=>e?e.split(" ").filter(Boolean):[];function xS(e){let t=gu(e.p).map(l=>{let[i="",s="j"]=l.split(":");return{name:i,attr:NS(i),kind:s.charAt(0),flags:s.slice(1)}}),n=gu(e.e).map(l=>{let[i="",s="0"]=l.split(":");return{prop:i,type:i.slice(2).toLowerCase(),arity:parseInt(s,10)||0,conditional:s.endsWith("?")}}),a=gu(e.s).map(l=>{let[i="",s="",c="detail"]=l.split(":");return{event:i,prop:s,from:c==="false"?"false":"detail"}});return{tag:e.t,component:e.c,props:t,byAttr:new Map(t.map(l=>[l.attr,l])),byName:new Map(t.map(l=>[l.name,l])),events:n,byType:new Map(n.map(l=>[l.type,l])),sync:a,dismiss:new Set(gu(e.x)),dialog:!!e.dialog,closeChildren:!!e.close}}var th=new WeakSet,K5=new Set(["title","role","lang"]),Z5=e=>K5.has(e)||e.startsWith("aria-"),ES=new Set(["id","slot","hidden","children","className","style","dir","inert","autofocus","tabIndex","accessKey","draggable","translate","spellcheck","contentEditable","nonce","part","popover","innerHTML","textContent"]),CS="tf-root",nh=0;function vu(e){for(let t=e.parentNode;t;t=t.parentNode)if(t instanceof Oa)return t;return null}function F5(e,t){for(let n=e.parentNode;n&&n!==t;n=n.parentNode){if(n===t._stash)return"stash";let a=n.__tfSlot;if(a)return a.owner===t?a:null}return null}var I5=e=>e.nodeType===Node.ELEMENT_NODE||e.nodeType===Node.TEXT_NODE&&!/^\s*\n\s*$/.test(e.nodeValue??"")&&e.nodeValue!=="";function MS({el:e}){return(0,Xe.useSyncExternalStore)(e._subscribe,e._snapshot,e._snapshot),(0,Xe.useLayoutEffect)(()=>{e._sweep()}),e._view()}function ah({owner:e,nodes:t}){let n=(0,Xe.useRef)(null),[a,l]=(0,Xe.useState)([]),i=(0,Xe.useMemo)(()=>{let s=[],c={owner:e,rescan(){let r=n.current;if(!r||!r.isConnected)return;let u=[];for(let o of r.querySelectorAll("*"))o instanceof Oa&&vu(o)===e&&o.isConnected&&u.push(o);for(let o of u)o._slot!==c&&o._enterPortal(c);for(let o of s)!u.includes(o)&&o._slot===c&&o._leave();(u.length!==s.length||u.some((o,f)=>o!==s[f]))&&(s=u,l(u))},release(r){s.includes(r)&&(s=s.filter(u=>u!==r),l(s))}};return c},[e]);return(0,Xe.useLayoutEffect)(()=>{let s=n.current;if(!s)return;if(s.__tfSlot=i,!(s.childNodes.length===t.length&&t.every((f,d)=>s.childNodes[d]===f)))for(let f of t)s.appendChild(f);let r=!1,u=()=>{r||(r=!0,queueMicrotask(()=>{r=!1,i.rescan()}))};u();let o=new MutationObserver(f=>{for(let d of f)for(let m of[d.addedNodes,d.removedNodes])for(let N of m)if(N instanceof Element&&(N instanceof Oa||N.querySelector(Oa.selector)))return u()});return o.observe(s,{childList:!0,subtree:!0}),()=>{o.disconnect(),queueMicrotask(()=>e._sweep())}},[t,i,e]),(0,Xe.createElement)("span",{ref:n,"data-tf-slot":"",style:{display:"contents"}},a.map(s=>s._mount?(0,bu.createPortal)((0,Xe.createElement)(MS,{el:s}),s._mount,s._mountKey):null))}function J5({onClose:e,children:t}){let n=(0,Xe.useRef)(null);return Ol(n,e),(0,Xe.useEffect)(()=>{let a=setTimeout(()=>{let l=n.current,i=l?.querySelector('[autofocus], input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select'),s=document.activeElement,c=s instanceof HTMLInputElement||s instanceof HTMLTextAreaElement||s instanceof HTMLSelectElement;l&&i&&!(c&&l.contains(s))&&i.focus()},30);return()=>clearTimeout(a)},[]),(0,Xe.createElement)("div",{ref:n,"data-tf-dialog":"",style:{position:"fixed",inset:0,zIndex:85,overflowY:"auto"},onClick:a=>{a.target instanceof Element&&a.target.classList.contains("tf-backdrop")&&e?.()}},t)}var Oa=class e extends HTMLElement{static def;static component;static selector="tf-provider";_key=`tf${(++nh).toString(36)}`;_values=new Map;_fns=new Map;_slots=null;_views=new Map;_root=null;_mount=null;_mountKey="";_slot=null;_stash=null;_rendered=!1;_version=0;_subs=new Set;_listeners=new Map;_callbacks=new Map;_closeFn;_stripping=new Set;_waiting=!1;_observer=null;constructor(){super();let t=this._def;for(let a of t.events)a.type!=="click"&&HTMLElement.prototype.addEventListener.call(this,a.type,l=>{!th.has(l)&&l.target!==this&&this._isOwnDom(l.target)&&l.stopImmediatePropagation()});if(t.closeChildren){let a=l=>{l.target!==this&&th.has(l)&&this._closeFn?.()};HTMLElement.prototype.addEventListener.call(this,"close",a),this._listeners.set("close",new Set([a]))}let n=this;for(let a of[...t.props.map(l=>l.name),...t.events.map(l=>l.prop)])if(!ES.has(a)&&Object.prototype.hasOwnProperty.call(this,a)){let l=n[a];delete n[a],n[a]=l}}get _def(){return this.constructor.def}connectedCallback(){this._waiting||(document.readyState==="loading"?(this._waiting=!0,document.addEventListener("DOMContentLoaded",()=>{this._waiting=!1,this._attach()},{once:!0})):queueMicrotask(()=>this._attach()))}disconnectedCallback(){queueMicrotask(()=>{this.isConnected||this._leave()})}attributeChangedCallback(t,n,a){if(a===null&&this._stripping.delete(t))return;let i=this._def.byAttr.get(t);if(i){let s=vS(i,a);s===void 0?this._values.delete(i.name):this._values.set(i.name,s),Z5(t)&&a!==null&&(this._stripping.add(t),this.removeAttribute(t))}this._bump()}_attach(){if(!this.isConnected)return;let t=vu(this);if(t){let l=F5(this,t);if(l==="stash")return;if(l){this._slot!==l&&l.rescan();return}if(!t._rendered)return}if(this._root)return;this._leave(),this._prepare();let n=this._newMount(),a=(0,TS.createRoot)(n,{identifierPrefix:`${this._key}-`});this._root=a,(0,bu.flushSync)(()=>a.render((0,Xe.createElement)(MS,{el:this})))}_leave(){let t=this._root,n=this._slot;this._root=null,this._slot=null,this._mount?.remove(),this._mount=null,t&&t.unmount(),n?.release(this)}_enterPortal(t){this._leave(),this._prepare(),this._newMount(),this._slot=t}_newMount(){let t=document.createElement(CS);return t.style.display="contents",this._mount=t,this._mountKey=`${this._key}-${(++nh).toString(36)}`,this.appendChild(t),t}_prepare(){if(!this._slots){this._slots=new Map;for(let t of[...this.childNodes])this._take(t);this._observer=new MutationObserver(t=>{if(this._mount&&this._mount.parentNode!==this){this._slots=null,this._views.clear(),this._observer?.disconnect(),this._leave(),this._attach();return}let n=!1;for(let a of t)for(let l of a.addedNodes)l.parentNode===this&&(n=this._take(l)||n);n&&(this._views.clear(),this._bump())}),this._observer.observe(this,{childList:!0})}}_take(t){if(t===this._mount||t===this._stash||t instanceof Element&&t.localName===CS||!I5(t))return!1;let n=t instanceof Element?t.getAttribute("slot"):null,a="children";if(n){let l=n.indexOf(":"),i=SS(l<0?n:n.slice(0,l));a=l<0?i:`${i}:${n.slice(l+1)}`}return this._slots?.set(a,[...this._slots.get(a)??[],t]),!0}_sweep(){if(this._rendered=!0,!!this._slots){for(let t of this._slots.values())for(let n of t)if(n.parentNode===this||!this.contains(n)){if(!this._stash){let a=document.createElement("div");a.hidden=!0,a.dataset.tfStash="",this._stash=a}this._stash.parentNode!==this&&this.appendChild(this._stash),this._stash.appendChild(n)}}}_isOwnDom(t){for(let n=t;n&&n!==this;n=n.parentNode)if(n.__tfSlot?.owner===this)return!1;return!0}_subscribe=t=>(this._subs.add(t),()=>this._subs.delete(t));_snapshot=()=>this._version;_bump(){this._version++;for(let t of this._subs)t()}addEventListener(t,n,a){if(!n)return;super.addEventListener(t,n,a);let l=this._listeners.get(t);l||this._listeners.set(t,l=new Set);let i=l.size===0;l.add(n),i&&this._bumpTree(t)}removeEventListener(t,n,a){if(!n)return;super.removeEventListener(t,n,a);let l=this._listeners.get(t);l?.delete(n)&&l.size===0&&this._bumpTree(t)}_listens(t){let n=a=>{let l=a;return!!a._listeners.get(t)?.size||a.hasAttribute(`on${t}`)||typeof l[`on${t}`]=="function"||typeof l[`__${t}`]=="function"};if(n(this))return!0;for(let a=vu(this);a;a=vu(a))if(n(a))return!0;return!1}_bumpTree(t){this._def.byType.get(t)?.conditional&&this._bump();for(let n of this.querySelectorAll(e.selector))n instanceof e&&n._def.byType.get(t)?.conditional&&n._bump()}_slotView(t,n){let a=`${t}|${n?1:0}`;if(this._views.has(a))return this._views.get(a);let l=this._slots?.get(t),i;return l?.length&&(i=l.length===1&&!n?(0,Xe.createElement)(ah,{owner:this,nodes:l}):l.map((s,c)=>(0,Xe.createElement)(ah,{key:c,owner:this,nodes:[s]}))),this._views.set(a,i),i}_nodeView(t){if(t instanceof Node){let n=this._views.get(`node|${t.__tfKey??""}`);if(!n){let a=t.__tfKey??=`n${(++nh).toString(36)}`;n=(0,Xe.createElement)(ah,{key:a,owner:this,nodes:[t]}),this._views.set(`node|${a}`,n)}return n}return Array.isArray(t)?t.map(n=>this._nodeView(n)):t}_propValue(t){if(t.kind==="r"||t.kind==="R"){let a=this._slotView(t.name,t.kind==="R");if(a!==void 0)return a}if(t.kind==="K"&&this._slots){let a;for(let l of this._slots.keys())l.startsWith(`${t.name}:`)&&((a??={})[l.slice(t.name.length+1)]=this._slotView(l,!1));if(a)return{...this._values.get(t.name),...a}}if(t.kind==="f")return this._fns.get(t.name);let n=this._values.get(t.name);if(n!==void 0)return t.kind==="r"||t.kind==="R"?this._nodeView(n):n}_callback(t){let n=this._callbacks.get(t.prop);return n||(n=(...a)=>this._fire(t,a),this._callbacks.set(t.prop,n)),n}_fire(t,n){let a=this._fns.get(t.prop),l=a?a.apply(this,n):void 0,i=n[0];if(t.type==="click"&&yS(i)&&i.nativeEvent.type==="click")return l;let s=n.map(pS),c=t.arity>1?Array.from({length:Math.max(t.arity,s.length)},(u,o)=>s[o]):s.length?s[0]:null,r=new CustomEvent(t.type,{detail:c,bubbles:!0,composed:!0,cancelable:!0});return th.add(r),this.dispatchEvent(r)&&this._after(t,s[0]),l}_after(t,n){let a=this._def,l=!1;for(let i of a.sync)i.event===t.prop&&this._values.get(i.prop)!==void 0&&(this._values.set(i.prop,i.from==="false"?!1:n),l=!0);l?this._bump():a.dismiss.has(t.prop)&&(this.hidden=!0)}_passes(t){return!t.conditional||this._fns.has(t.prop)||this._def.sync.some(n=>n.event===t.prop&&this._values.get(n.prop)!==void 0)?!0:this._listens(t.type)}_props(){let t=this._def,n={};for(let s of t.props){let c=this._propValue(s);c!==void 0&&(n[s.name]=c)}let a=this._slotView("children",!1);t.closeChildren?n.children=s=>(this._closeFn=s.close,a??null):a!==void 0&&(n.children=a);let l=this.getAttribute("class");l&&(n.className=l);let i=bS(this.getAttribute("style"));i&&(n.style=i);for(let s of t.events)this._passes(s)&&(n[s.prop]=this._callback(s));return n}_view(){if(this.hidden)return null;let t=this.constructor.component,n=this._props(),a=(0,Xe.createElement)(t,n);return this._def.dialog?(0,Xe.createElement)(J5,{onClose:n.onClose},a):a}};function kS(e,t){let n=[...e.props.filter(s=>s.kind!=="f").map(s=>s.attr),...e.events.map(s=>`on${s.type}`),"class","style","hidden"];class a extends Oa{static def=e;static component=t;static observedAttributes=[...new Set(n)]}let l=a.prototype,i=(s,c,r)=>{ES.has(s)||Object.defineProperty(l,s,{configurable:!0,enumerable:!0,get:c,set:r})};for(let s of e.props)i(s.name,function(){return s.kind==="f"?this._fns.get(s.name):this._values.get(s.name)},function(c){s.kind==="f"?typeof c=="function"?this._fns.set(s.name,c):this._fns.delete(s.name):c===void 0?this._values.delete(s.name):this._values.set(s.name,c),this._views.clear(),this._bump()});for(let s of e.events)i(s.prop,function(){return this._fns.get(s.prop)},function(c){typeof c=="function"?this._fns.set(s.prop,c):this._fns.delete(s.prop),this._bump()});return a}var pu=[{t:"tf-provider",c:"UIProvider",p:"kit:s theme:s density:s scope:s tokens:j surface:s motion:s locale:s messages:j"},{t:"tf-icon",c:"Icon",p:"name:s size:n label:s"},{t:"tf-range-slider",c:"RangeSlider",p:"label:r min:n max:n step:n value:j defaultValue:j unit:s inputs:b openEnd:b format:f hint:r",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-bar-list",c:"BarList",p:"items:j format:f label:s",e:"onPick:1?"},{t:"tf-status-select",c:"StatusSelect",p:"options:j value:s defaultValue:s size:s label:s width:n",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-tile-picker",c:"TilePicker",p:"options:j value:j defaultValue:j multiple:b min:n label:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-live-feed",c:"LiveFeed",p:"items:j types:j paused:b maxHeight:n emptyText:s",e:"onPause:1"},{t:"tf-map-view",c:"MapView",p:"points:j bounds:j background:r bubbles:b selected:x? renderPopup:f legend:r controls:r height:x label:s surface:s",e:"onSelect:1"},{t:"tf-balance-card",c:"BalanceCard",p:"name:s sub:r logo:r icon:s tint:s balance:n currency:s perDay:n low:n spark:j status:s statusLabel:s topUpLabel:s action:r",e:"onTopUp:0?"},{t:"tf-service-monitor",c:"ServiceMonitor",p:"items:j label:s"},{t:"tf-run-history",c:"RunHistory",p:"items:j label:s"},{t:"tf-webhook-endpoint",c:"WebhookEndpoint",p:"url:s events:jl status:s statusLabel:s successRate:n enabled:b secret:r deliveries:j menu:jl defaultOpen:b",e:"onToggle:0? onRetry:1?"},{t:"tf-backup-list",c:"BackupList",p:"items:j footer:r label:s",e:"onDownload:1? onRestore:1?"},{t:"tf-block-list",c:"BlockList",p:"items:j addLabel:s removeLabel:s searchPlaceholder:s emptyText:s",e:"onAdd:0? onRemove:1?"},{t:"tf-review-card",c:"ReviewCard",p:"author:s verified:b product:s date:s rating:n title:s text:s state:s stateLabel:s highlight:jl reply:s replyLabel:s",e:"onPublish:0? onHide:0? onReply:1?"},{t:"tf-coupon-card",c:"CouponCard",p:"code:s kind:s value:n currency:s used:n limit:n until:s min:n revenue:n text:r status:s statusLabel:s menu:jl",e:"onCopy:0"},{t:"tf-locale-field",c:"LocaleField",p:"label:r locales:j value:j defaultValue:j source:s active:s multiline:b rows:n placeholder:s hint:r error:r",e:"onChange:1 onTranslate:2?",s:"onChange:value:detail"},{t:"tf-locale-switcher",c:"LocaleSwitcher",p:"languages:j language:s currencies:jl currency:s variant:s",e:"onLanguage:1 onCurrency:1"},{t:"tf-workspace-switcher",c:"WorkspaceSwitcher",p:"items:j value:s label:s footer:r variant:s width:n",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-export-dialog",c:"ExportDialog",p:"open:b inline:b title:s text:r count:n formats:jl format:s columns:j ranges:b range:jt note:r download:r doneText:s",e:"onClose:0 onExport:2 onDownload:0",s:"onClose:open:false",x:"onClose"},{t:"tf-two-factor-setup",c:"TwoFactorSetup",p:"qr:r secret:s codes:jl step:n scanText:s codesText:s",e:"onVerify:1? onDownload:0? onDone:0"},{t:"tf-color-field",c:"ColorField",p:"label:r value:s defaultValue:s against:s! hint:r",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-agent-card",c:"AgentCard",p:"name:s role:s tint:s status:s statusLabel:s model:s cost:s last:r",e:"onClick:0? onChat:0?"},{t:"tf-agent-details",c:"AgentDetails",p:"name:s role:s tint:s status:s statusLabel:s sections:j actions:R"},{t:"tf-chat-list",c:"ChatList",p:"groups:j selected:s filters:r searchPlaceholder:s",e:"onSelect:1 onSearch:1"},{t:"tf-chat-workspace",c:"ChatWorkspace",p:"list:r thread:r details:r"},{t:"tf-search-hits",c:"SearchHits",p:"items:j query:s emptyText:s",e:"onOpen:1"},{t:"tf-thinking-line",c:"ThinkingLine",p:"text:s"},{t:"tf-feedback-rating",c:"FeedbackRating",p:"value:s? label:s placeholder:s thanks:s askOnUp:b",e:"onRate:1 onSubmit:2"},{t:"tf-activity-feed",c:"ActivityFeed",p:"groups:j items:j"},{t:"tf-daily-briefing",c:"DailyBriefing",p:"title:s time:s tint:s summary:r attention:j suggestions:R attentionTitle:s suggestionsTitle:s"},{t:"tf-budget-stop",c:"BudgetStop",p:"spent:n budget:n title:s text:r paused:r running:r actionLabel:s",e:"onRaise:0?"},{t:"tf-memory-viewer",c:"MemoryViewer",p:"items:j",e:"onEdit:1? onDelete:1?"},{t:"tf-override-diff",c:"OverrideDiff",p:"title:s versions:r by:r before:s after:s discardLabel:s promoteLabel:s",e:"onDiscard:0? onPromote:0?"},{t:"tf-trigger-list",c:"TriggerList",p:"items:j",e:"onToggle:1? onRun:1?"},{t:"tf-schedule-calendar",c:"ScheduleCalendar",p:"events:j from:n to:n days:jl",e:"onOpen:1"},{t:"tf-org-chart",c:"OrgChart",p:"root:j"},{t:"tf-voice-mode",c:"VoiceMode",p:"name:s tint:s state:s stateLabel:s transcript:r muted:b",e:"onMute:0? onEnd:0?"},{t:"tf-mobile-tab-bar",c:"MobileTabBar",p:"items:j active:s label:s",e:"onPick:1"},{t:"tf-push-notification",c:"PushNotification",p:"app:s time:s title:s text:r actions:j"},{t:"tf-config-pr-summary",c:"ConfigPRSummary",p:"title:s meta:r status:s statusLabel:s summary:r items:j actions:R"},{t:"tf-module-registry",c:"ModuleRegistry",p:"items:j coreLabel:s",e:"onToggle:1"},{t:"tf-approval-card",c:"ApprovalCard",p:"title:r text:r agent:s project:s family:s familyLabel:s age:s escalation:r trace:r note:r heading:s options:j approveLabel:s decision:j compact:b state:s",e:"onDecide:2 onApprove:0 onDeny:0 onEdit:1"},{t:"tf-approval-inbox",c:"ApprovalInbox",p:"items:j selected:x emptyTitle:s emptyText:s label:s",e:"onSelect:1?"},{t:"tf-kbd",c:"Kbd",p:"keys:jl"},{t:"tf-key-value",c:"KeyValue",p:"items:j dense:b"},{t:"tf-spinner",c:"Spinner",p:"size:s label:s"},{t:"tf-collapsible",c:"Collapsible",p:"title:r meta:r defaultOpen:b open:b",e:"onOpenChange:1",s:"onOpenChange:open:detail"},{t:"tf-context-menu",c:"ContextMenu",p:"items:jl"},{t:"tf-split-pane",c:"SplitPane",p:"left:r right:r defaultSize:n min:n max:n storageKey:s"},{t:"tf-resizable-panels",c:"ResizablePanels",p:"panels:R defaultSizes:j min:n orientation:s storageKey:s labels:jl"},{t:"tf-tree-view",c:"TreeView",p:"items:j defaultOpen:jl selected:s label:s",e:"onSelect:1"},{t:"tf-inline-edit",c:"InlineEdit",p:"value:s options:jl mono:b type:s display:f align:s label:s",e:"onSave:1"},{t:"tf-bar-chart",c:"BarChart",p:"data:j tint:s height:n width:n barWidth:n format:f label:s"},{t:"tf-line-chart",c:"LineChart",p:"labels:jl series:j height:n width:n format:f label:s"},{t:"tf-sparkline",c:"Sparkline",p:"values:j tint:s width:n height:n label:s"},{t:"tf-donut",c:"Donut",p:"data:j center:s caption:s size:n stroke:n legend:b label:s"},{t:"tf-legend",c:"Legend",p:"items:j"},{t:"tf-stacked-bar-chart",c:"StackedBarChart",p:"labels:jl series:j height:n width:n barWidth:n format:f legend:b label:s"},{t:"tf-area-chart",c:"AreaChart",p:"labels:jl series:j stacked:b height:n width:n format:f legend:b label:s"},{t:"tf-heatmap",c:"Heatmap",p:"rows:jl cols:jl values:j colEvery:n caption:s format:f label:s"},{t:"tf-funnel",c:"Funnel",p:"steps:j tint:s format:f"},{t:"tf-gauge",c:"Gauge",p:"value:n max:n caption:s format:f tint:s thresholds:j size:n stroke:n showRange:b label:s"},{t:"tf-rich-text",c:"RichText",p:"text:s streaming:b"},{t:"tf-code-block",c:"CodeBlock",p:"code:s lang:s open:b"},{t:"tf-typing-dots",c:"TypingDots",p:"label:s"},{t:"tf-agent-mark",c:"AgentMark",p:"tint:s icon:s size:n live:b"},{t:"tf-chat-message",c:"ChatMessage",p:"role:s name:s time:s model:s text:s streaming:b tint:s sources:j attachments:j usage:s actions:b before:r after:r feedback:s?",e:"onRetry:0? onFeedback:1"},{t:"tf-tool-call",c:"ToolCall",p:"name:s icon:s status:s summary:r duration:s input:j output:j defaultOpen:b"},{t:"tf-reasoning",c:"Reasoning",p:"steps:jl text:r duration:s streaming:b defaultOpen:b"},{t:"tf-prompt-starters",c:"PromptStarters",p:"items:j",e:"onPick:1"},{t:"tf-model-picker",c:"ModelPicker",p:"models:j value:s side:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-composer",c:"Composer",p:"value:s busy:b placeholder:s label:s models:j model:s commands:j attachments:j hint:s left:r disabled:b",e:"onChange:1 onSend:2 onStop:0 onModel:1 onCommand:1? onAttach:1? onRemoveAttachment:1?",s:"onChange:value:detail"},{t:"tf-agent-status",c:"AgentStatus",p:"status:s step:s"},{t:"tf-run-trace",c:"RunTrace",p:"steps:j defaultOpen:n? footer:r"},{t:"tf-usage-meter",c:"UsageMeter",p:"used:n limit:n label:s caption:s format:f"},{t:"tf-product-art",c:"ProductArt",p:"kind:s tint:s size:n label:s"},{t:"tf-price",c:"Price",p:"value:n compareAt:n currency:s size:s showSave:b"},{t:"tf-rating",c:"Rating",p:"value:n count:n size:n"},{t:"tf-stock-badge",c:"StockBadge",p:"stock:n low:n compact:b"},{t:"tf-product-card",c:"ProductCard",p:"name:s meta:s art:s tint:s price:n compareAt:n rating:n reviews:n badge:s badgeTone:s stock:n wished:b added:b",e:"onWish:0? onAdd:0? onClick:0"},{t:"tf-variant-picker",c:"VariantPicker",p:"label:s type:s options:jl value:s defaultValue:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-cart-line",c:"CartLine",p:"name:s variant:s note:s art:s tint:s price:n qty:n",e:"onQty:1? onRemove:0"},{t:"tf-order-summary",c:"OrderSummary",p:"lines:j showLines:b discount:j shipping:n? freeShippingFrom:n vat:n title:s! action:r",e:"onCoupon:1?"},{t:"tf-checkout-steps",c:"CheckoutSteps",p:"steps:jl current:n",e:"onPick:1?"},{t:"tf-order-timeline",c:"OrderTimeline",p:"status:s times:j"},{t:"tf-plan-card",c:"PlanCard",p:"name:s text:s price:n? was:n per:s features:jl featured:b flag:s current:b cta:s disabled:b",e:"onPick:0"},{t:"tf-count-up",c:"CountUp",p:"value:x duration:n delay:n"},{t:"tf-stat-tile",c:"StatTile",p:"value:r label:s tint:s delta:s delay:n"},{t:"tf-card",c:"Card",p:"title:s description:s meta:jl corner:r status:r actions:R tint:s eyebrow:r surface:s",e:"onClick:0?"},{t:"tf-event-card",c:"EventCard",p:"kind:s label:s date:s time:s tint:s icon:s actions:b"},{t:"tf-panel",c:"Panel",p:"side:b title:s subtitle:s action:r surface:s"},{t:"tf-page-header",c:"PageHeader",p:"crumbs:jl title:s subtitle:s actions:R"},{t:"tf-stagger",c:"Stagger",p:"as:s delay:n reveal:b"},{t:"tf-table",c:"Table",p:"columns:j rows:j animate:b"},{t:"tf-list-row",c:"ListRow",p:"avatar:s icon:s tint:s leading:r title:r subtitle:r meta:r trailing:r unread:b active:b",e:"onClick:0"},{t:"tf-timeline",c:"Timeline",p:"items:j delay:n"},{t:"tf-file-row",c:"FileRow",p:"name:s meta:s kind:s"},{t:"tf-kanban-column",c:"KanbanColumn",p:"title:s dot:s delay:n",e:"onAdd:0"},{t:"tf-progress",c:"Progress",p:"value:n tint:s label:s"},{t:"tf-progress-ring",c:"ProgressRing",p:"value:n tint:s size:n stroke:n caption:s label:s"},{t:"tf-filter-bar",c:"FilterBar",p:"filters:j value:j search:s query:s right:r",e:"onChange:1 onQuery:1",s:"onChange:value:detail"},{t:"tf-data-table",c:"DataTable",p:"columns:j rows:j rowKey:s selectable:b bulkActions:j renderExpanded:f stickyHeader:b maxHeight:x defaultSort:j toolbar:r columnToggle:b empty:r"},{t:"tf-log-view",c:"LogView",p:"lines:jl title:r right:r numbers:b follow:b maxHeight:n"},{t:"tf-code-viewer",c:"CodeViewer",p:"value:j lang:s"},{t:"tf-secret-field",c:"SecretField",p:"prefix:s last4:s value:s meta:r",e:"onReveal:0? onCopy:0? onRotate:0?"},{t:"tf-money-input",c:"MoneyInput",p:"label:s value:n? currency:s vat:s vatOptions:j showGross:b hint:r error:r defaultValue:n? required:b",e:"onChange:1 onVat:1",s:"onChange:value:detail"},{t:"tf-settings-layout",c:"SettingsLayout",p:"sections:j footer:r"},{t:"tf-shortcuts-overlay",c:"ShortcutsOverlay",p:"open:b title:s groups:j",e:"onClose:0",s:"onClose:open:false",x:"onClose"},{t:"tf-stat-cell",c:"StatCell",p:"label:r value:r delta:n deltaText:s compare:s invert:b spark:j icon:s iconTint:s tint:s"},{t:"tf-uptime-bar",c:"UptimeBar",p:"days:jl uptime:n caption:r"},{t:"tf-meter",c:"Meter",p:"label:r value:n? max:n text:r warn:n danger:n tone:s"},{t:"tf-skeleton",c:"Skeleton",p:"variant:s width:x height:x"},{t:"tf-menu",c:"Menu",p:"items:jl label:s autoFocus:b",e:"onClose:0?"},{t:"tf-modal",c:"Modal",p:"title:s text:s icon:s tint:s actions:R open:b",e:"onClose:0",s:"onClose:open:false",x:"onClose",dialog:1},{t:"tf-toast",c:"Toast",p:"icon:s tint:s action:s",e:"onAction:0"},{t:"tf-empty-state",c:"EmptyState",p:"title:s text:s icon:s tint:s action:r"},{t:"tf-alert",c:"Alert",p:"tone:s title:r icon:s action:r",e:"onDismiss:0?",x:"onDismiss"},{t:"tf-confirm-dialog",c:"ConfirmDialog",p:"open:b title:s text:s danger:b icon:s confirmLabel:s cancelLabel:s confirmText:s",e:"onConfirm:0 onCancel:0",s:"onCancel:open:false onConfirm:open:false"},{t:"tf-toaster",c:"Toaster",p:"position:s"},{t:"tf-form-field",c:"FormField",p:"name:s label:r required:b optional:b hint:r error:r success:r"},{t:"tf-text-field",c:"TextField",p:"type:s icon:s suffix:r value:s defaultValue:s placeholder:s disabled:b readOnly:b autoComplete:s autoFocus:b min:x max:x step:x minLength:n maxLength:n pattern:s inputMode:s name:s label:r required:b optional:b hint:r error:r success:r",e:"onChange:1 onBlur:1",s:"onChange:value:detail"},{t:"tf-radio-group",c:"RadioGroup",p:"label:s options:jl value:s defaultValue:s cards:b hint:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-segmented",c:"Segmented",p:"options:jl value:s defaultValue:s size:s block:b label:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-combobox",c:"Combobox",p:"label:s options:jl value:j defaultValue:j multiple:b creatable:b placeholder:s hint:s error:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-tag-input",c:"TagInput",p:"label:s value:jl defaultValue:jl placeholder:s hint:s error:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-calendar",c:"Calendar",p:"range:b value:jt today:d min:d max:d month:d",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-date-picker",c:"DatePicker",p:"label:s range:b value:jt defaultValue:jt presets:b min:d max:d today:d placeholder:s hint:s error:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-number-input",c:"NumberInput",p:"label:s value:n defaultValue:n min:n max:n step:n unit:s hint:s error:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-slider",c:"Slider",p:"label:s min:n max:n step:n value:n defaultValue:n format:f marks:b hint:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-otp-input",c:"OtpInput",p:"length:n error:b label:s",e:"onComplete:1"},{t:"tf-file-drop",c:"FileDrop",p:"files:j simulateProgress:b title:s hint:s accept:s multiple:b",e:"onChange:1 onFiles:1? onReject:1 onRemove:1"},{t:"tf-button",c:"Button",p:"variant:s size:s icon:s iconRight:s disabled:b type:s asChild:b name:s value:s form:s title:s tabIndex:n autoFocus:b aria-label:s aria-labelledby:s aria-describedby:s aria-expanded:j aria-controls:s aria-haspopup:j aria-pressed:j aria-current:j",e:"onClick:1"},{t:"tf-icon-button",c:"IconButton",p:"icon:s label:s variant:s size:s type:s disabled:b asChild:b name:s value:s form:s title:s tabIndex:n autoFocus:b aria-label:s aria-labelledby:s aria-describedby:s aria-expanded:j aria-controls:s aria-haspopup:j aria-pressed:j aria-current:j",e:"onClick:1"},{t:"tf-chip",c:"Chip",p:"selected:b icon:s count:n",e:"onClick:1"},{t:"tf-badge",c:"Badge",p:"tone:s dot:b live:b"},{t:"tf-tint-icon",c:"TintIcon",p:"icon:s tint:s label:s size:n"},{t:"tf-avatar",c:"Avatar",p:"name:s src:s size:n tint:s"},{t:"tf-avatar-stack",c:"AvatarStack",p:"names:jl max:n size:n"},{t:"tf-input",c:"Input",p:"type:s placeholder:s value:s defaultValue:s disabled:b label:s hint:s error:s name:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-select",c:"Select",p:"options:jl value:s defaultValue:s label:s hint:s error:s name:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-textarea",c:"Textarea",p:"placeholder:s value:s defaultValue:s rows:n disabled:b label:s hint:s error:s name:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-search-field",c:"SearchField",p:"placeholder:s label:s shortcut:s value:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-checkbox",c:"Checkbox",p:"name:s value:s required:b checked:b defaultChecked:b disabled:b label:s",e:"onChange:1",s:"onChange:checked:detail"},{t:"tf-switch",c:"Switch",p:"name:s checked:b defaultChecked:b spread:b disabled:b label:s",e:"onChange:1",s:"onChange:checked:detail"},{t:"tf-form",c:"Form",p:"rules:j errors:j",e:"onSubmit:1 onInvalid:1"},{t:"tf-select-menu",c:"SelectMenu",p:"options:jl value:s defaultValue:s placeholder:s disabled:b label:s hint:s error:s name:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-account-switcher",c:"AccountSwitcher",p:"accounts:j value:s? unread:n allLabel:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-inbox-list",c:"InboxList",p:"items:j selected:x",e:"onOpen:1"},{t:"tf-mail-thread",c:"MailThread",p:"subject:s messages:j reply:r"},{t:"tf-signature-editor",c:"SignatureEditor",p:"value:j fields:j note:r extra:r defaultValue:j previewLabel:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-attachment-preview",c:"AttachmentPreview",p:"name:s meta:r facts:j found:r actions:r width:x inline:b",e:"onClose:0",x:"onClose"},{t:"tf-image-variants",c:"ImageVariants",p:"variants:j selected:x alt:s tint:s actions:r",e:"onSelect:1"},{t:"tf-gallery",c:"Gallery",p:"items:j loading:s referrerPolicy:s start:n ratio:s thumbs:b fullscreen:b badge:r"},{t:"tf-before-after",c:"BeforeAfter",p:"before:j after:j start:n ratio:s beforeLabel:s afterLabel:s label:s valueText:f loading:s referrerPolicy:s"},{t:"tf-tabs",c:"Tabs",p:"items:jl value:s defaultValue:s block:b panels:K label:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-breadcrumb",c:"Breadcrumb",p:"items:jl"},{t:"tf-pagination",c:"Pagination",p:"total:n page:n defaultPage:n",e:"onChange:1?",s:"onChange:page:detail"},{t:"tf-menubar",c:"Menubar",p:"menus:j label:s"},{t:"tf-navigation-menu",c:"NavigationMenu",p:"items:j label:s"},{t:"tf-sidebar",c:"Sidebar",p:"groups:j current:s collapsed:b defaultCollapsed:b header:r footer:r label:s",e:"onPick:1 onCollapsedChange:1",s:"onCollapsedChange:collapsed:detail"},{t:"tf-connection-card",c:"ConnectionCard",p:"name:s icon:s logo:r text:r status:s statusLabel:s action:r"},{t:"tf-connection-banner",c:"ConnectionBanner",p:"state:s seconds:n text:r",e:"onRetry:0?"},{t:"tf-server-card",c:"ServerCard",p:"name:s provider:s address:s logo:r status:s statusLabel:s meters:j uptime:j foot:r"},{t:"tf-deploy-pipeline",c:"DeployPipeline",p:"stages:j"},{t:"tf-dns-record-table",c:"DnsRecordTable",p:"records:j rowMenu:f selectable:b bulkActions:j toolbar:r"},{t:"tf-domain-list",c:"DomainList",p:"items:j",e:"onOpen:1"},{t:"tf-mail-auth-status",c:"MailAuthStatus",p:"rows:j columns:jl",e:"onOpen:2"},{t:"tf-ledger-table",c:"LedgerTable",p:"rows:j categories:jl currency:s selectable:b bulkActions:j toolbar:r maxHeight:n columnToggle:b",e:"onEdit:2"},{t:"tf-pnl-statement",c:"PnLStatement",p:"columns:jl rows:j currency:s total:b label:s"},{t:"tf-receipt-suggestion",c:"ReceiptSuggestion",p:"file:s source:r fields:j suggestion:r confirmLabel:s discardLabel:s",e:"onConfirm:0? onDiscard:0?"},{t:"tf-popover",c:"Popover",p:"trigger:r open:b align:s side:s width:n flush:b block:b role:s",e:"onOpenChange:1",s:"onOpenChange:open:detail",close:1},{t:"tf-tooltip",c:"Tooltip",p:"label:r shortcut:s side:s defaultOpen:b"},{t:"tf-email-preview",c:"EmailPreview",p:"from:s fromName:s subject:s preheader:s html:s device:s checks:j",e:"onDevice:1"},{t:"tf-search-ad-preview",c:"SearchAdPreview",p:"name:s domain:s paths:jl headlines:jl descriptions:jl sitelinks:jl device:s sponsoredLabel:s",e:"onDevice:1"},{t:"tf-accordion",c:"Accordion",p:"items:j multiple:b value:jl defaultValue:jl variant:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-separator",c:"Separator",p:"orientation:s label:s"},{t:"tf-aspect-ratio",c:"AspectRatio",p:"ratio:n"},{t:"tf-label",c:"Label",p:"htmlFor:s required:b hint:r"},{t:"tf-toggle",c:"Toggle",p:"pressed:b defaultPressed:b icon:s label:s size:s disabled:b",e:"onChange:1",s:"onChange:pressed:detail"},{t:"tf-toggle-group",c:"ToggleGroup",p:"items:jl type:s value:jl defaultValue:jl label:s size:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-button-group",c:"ButtonGroup",p:"label:s orientation:s"},{t:"tf-scroll-area",c:"ScrollArea",p:"height:x maxHeight:x orientation:s label:s"},{t:"tf-hover-card",c:"HoverCard",p:"trigger:r side:s align:s openDelay:n closeDelay:n width:n"},{t:"tf-carousel",c:"Carousel",p:"slides:R label:s perView:n loop:b dots:b index:n defaultIndex:n",e:"onChange:1",s:"onChange:index:detail"},{t:"tf-listing-card",c:"ListingCard",p:"listing:j layout:s selected:b statusOptions:j",e:"onSelect:1? onWish:1? onStatus:2 onOpen:1?"},{t:"tf-results-toolbar",c:"ResultsToolbar",p:"title:s total:n meta:s selected:n bulkActions:j sortOptions:j sort:s views:jl view:s",e:"onSelectAll:1? onSort:1 onView:1"},{t:"tf-saved-search",c:"SavedSearch",p:"name:s criteria:R lastRun:s frequency:s newCount:n enabled:b openLabel:s icon:s tint:s",e:"onToggle:0? onEdit:0? onOpen:0?"},{t:"tf-valuation-card",c:"ValuationCard",p:"value:n low:n high:n asking:n perSqm:n compare:s currency:s confidence:n confidenceLabel:s facts:j note:r title:s action:r"},{t:"tf-energy-class",c:"EnergyClass",p:"value:s kwh:n kind:s scale:jl"},{t:"tf-rich-text-editor",c:"RichTextEditor",p:"label:r defaultValue:s value:s placeholder:s variables:j maxLength:n minHeight:n footer:r hint:r error:r disabled:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-top-bar",c:"TopBar",p:"brand:s tag:s items:j active:s user:j extra:r userOpen:b",e:"onNavigate:1 onUser:0"},{t:"tf-side-rail",c:"SideRail",p:"top:j bottom:j"},{t:"tf-dock",c:"Dock",p:"items:j label:s surface:s"},{t:"tf-floating-layout",c:"FloatingLayout",p:"background:r top:r start:r end:r bottom:r height:x surface:s label:s"},{t:"tf-ambient",c:"Ambient",p:"colors:jl src:s video:b animate:b fixed:b"},{t:"tf-app-shell",c:"AppShell",p:"active:s brand:s tag:s nav:j user:j topExtra:r sheetStyle:j contentKey:x side:r dock:b dockItems:j railTop:j railBottom:j",e:"onNavigate:1"},{t:"tf-chat-launcher",c:"ChatLauncher",p:"title:s context:r tint:s open:b unread:n headerAction:r composer:r inline:b",e:"onOpenChange:1",s:"onOpenChange:open:detail"},{t:"tf-cookie-consent",c:"CookieConsent",p:"title:s text:r policy:r categories:j open:b inline:b",e:"onSave:1"},{t:"tf-announcement-bar",c:"AnnouncementBar",p:"tint:s icon:s! action:r",e:"onDismiss:0?",x:"onDismiss"},{t:"tf-status-shape",c:"StatusShape",p:"status:s"},{t:"tf-status-indicator",c:"StatusIndicator",p:"status:s label:r size:s"},{t:"tf-status-screen",c:"StatusScreen",p:"code:s title:s text:s icon:s tint:s extra:r actions:R reference:s",e:"onHome:0 onContact:0"},{t:"tf-auth-card",c:"AuthCard",p:"title:s text:s icon:s tint:s brand:s foot:r"},{t:"tf-sub-nav",c:"SubNav",p:"eyebrow:s action:j items:j current:s",e:"onPick:1"},{t:"tf-drawer",c:"Drawer",p:"title:s subtitle:r avatar:s width:x inline:b open:b side:s",e:"onClose:0",s:"onClose:open:false",x:"onClose"},{t:"tf-command-palette",c:"CommandPalette",p:"items:j placeholder:s inline:b loading:b empty:r open:b",e:"onClose:0 onQueryChange:1",s:"onClose:open:false",x:"onClose"},{t:"tf-notification-list",c:"NotificationList",p:"items:j",e:"onOpen:1 onReadAll:0"},{t:"tf-flow",c:"Flow",p:"steps:j active:n? waiting:b tools:f",e:"onApprove:0? onReject:0?"},{t:"tf-file-thumb",c:"FileThumb",p:"kind:s title:s big:b entries:jl"},{t:"tf-file-card",c:"FileCard",p:"name:s kind:s size:s meta:s shared:b",e:"onClick:0"},{t:"tf-wizard",c:"Wizard",p:"steps:j current:n done:j footer:r brand:s label:s",e:"onPick:1"},{t:"tf-permission-matrix",c:"PermissionMatrix",p:"roles:j areas:jl",e:"onChange:3"},{t:"tf-invoice-preview",c:"InvoicePreview",p:"number:x from:s to:s issued:s due:s lines:j note:s kind:s brand:s format:f"},{t:"tf-transaction-row",c:"TransactionRow",p:"text:s date:s amount:n matched:b matchRef:s hint:s",e:"onMatch:0"}];var H4="0.3.1",U4=Object.freeze(Object.fromEntries(pu.map(e=>[e.t,e.c]))),wS=pu.map(e=>e.t),RS=!1;function $5(){if(RS)return;RS=!0;let e=wS.join(","),t=`:where(${e},tf-root){display:contents}:where(${e})[hidden]{display:none}`;try{let n=new CSSStyleSheet;n.replaceSync(t),document.adoptedStyleSheets=[...document.adoptedStyleSheets,n]}catch{let n=document.createElement("style");n.dataset.tfElements="",n.textContent=t,document.head.prepend(n)}}function P5(){if(typeof window>"u"||typeof customElements>"u")return;Oa.selector=wS.join(","),$5();let e=nf;for(let t of pu){if(customElements.get(t.t))continue;let n=e[t.c];typeof n=="function"&&customElements.define(t.t,kS(xS(t),n))}}P5();export{U4 as ELEMENTS,H4 as VERSION,P5 as defineElements,Qn as formatDate,Ml as formatMoney,wn as formatNumber,Rs as formatPercent,St as toast};
|
|
13
|
+
${a}}
|
|
14
|
+
`:""}function _d(e,t={}){let a=t.kit??"halo",n=u6[a],l=t.scoped?`[data-kit="${a}"]`:":root",i=f=>t.scoped?[`${l}${f}`,`${l} ${f}`]:[f],o=Dd(e.light,a,"light"),r=Dd(e.dark,a,"dark"),c=nr(o," "),u=nr(r," "),s=nr(r," "),d=nr(o," "),m="";return e.radius&&(m+=Un([l],` --radius: ${e.radius.trim()};`)),m+=Un(n==="dark"?[`${l}:not([data-theme])`]:[l],n==="dark"?u:c),n==="system"&&s&&(m+=`@media (prefers-color-scheme: dark) {
|
|
15
|
+
${Un([`${l}:not([data-theme])`],s," ")}}
|
|
16
|
+
`),s&&(m+=`@media (prefers-color-scheme: dark) {
|
|
17
|
+
${Un(i('[data-theme="system"]'),s," ")}}
|
|
18
|
+
`),d&&(m+=`@media (prefers-color-scheme: light) {
|
|
19
|
+
${Un(i('[data-theme="system"]'),d," ")}}
|
|
20
|
+
`),m+=Un(i('[data-theme="light"]'),c),m+=Un([...i(".light")],c),m+=Un([...i('[data-theme="dark"]'),...i(".dark")],u),m}function Oi(e,t){let a={};for(let[n,l]of Object.entries(e??{}))Ds(n)&&l&&(a[`--${n}`]=l);return t&&(a["--radius"]=t),a}function Od(e){let t={},n=[...e.replace(/\/\*[\s\S]*?\*\//g,"").matchAll(/([^{}]+)\{([^{}]*)\}/g)];for(let[,l="",i=""]of n){let o=l.trim(),r=/\.dark\b|\[data-theme=["']?dark/.test(o)?"dark":/:root|\[data-theme=["']?light|html|:host/.test(o)?"light":null;if(r)for(let c of i.matchAll(/--([\w-]+)\s*:\s*([^;]+);?/g)){let u=c[1],s=c[2].trim();if(u==="radius"){t.radius=s;continue}Ds(u)&&(/^-?[\d.]+\s+[\d.]+%\s+[\d.]+%(\s*\/\s*[\d.]+%?)?$/.test(s)&&(s=`hsl(${s})`),(t[r]??={})[u]=s)}}return t}function lr(e){let t=/^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(e.trim());if(!t)return;let a=t[1].length===3?[...t[1]].map(r=>r+r).join(""):t[1],n=[0,2,4].map(r=>parseInt(a.slice(r,r+2),16)/255).map(r=>r<=.04045?r/12.92:((r+.055)/1.055)**2.4),l=.2126*n[0]+.7152*n[1]+.0722*n[2],i=1.05/(l+.05);return(l+.05)/.05>=i?"#111114":"#ffffff"}function Bn(e,t){let a=lr(e),n=t??e,l=lr(n),i=(o,r)=>({primary:o,...r?{"primary-foreground":r,"sidebar-primary-foreground":r}:{},ring:o,"sidebar-primary":o,"sidebar-ring":o});return{light:i(e,a),dark:i(n,l)}}var Ld={blue:{label:"Blue",theme:Bn("#2563eb","#60a5fa")},violet:{label:"Violet",theme:Bn("#7c3aed","#a78bfa")},emerald:{label:"Emerald",theme:Bn("#047857","#34d399")},orange:{label:"Orange",theme:Bn("#c2410c","#fb923c")},rose:{label:"Rose",theme:Bn("#e11d48","#fb7185")},teal:{label:"Teal",theme:Bn("#0f766e","#2dd4bf")}};function m6(e,t,a){let[n,l]=(0,aa.useState)(!1);return(0,aa.useEffect)(()=>{if(!a||typeof window>"u"||!window.matchMedia)return;let i=window.matchMedia("(prefers-color-scheme: dark)"),o=()=>l(i.matches);return o(),i.addEventListener("change",o),()=>i.removeEventListener("change",o)},[a]),e==="dark"?!0:e==="light"?!1:e===void 0&&t==="pro"?!0:n}var jd=e=>"light"in e||"dark"in e||"radius"in e;function Hd(e){let t=mn(),a=e.scope??"document",n=e.kit??t.kit,l=e.theme??t.theme,i=e.density??t.density,o=e.surface??t.surface,r=e.motion??t.motion,c=e.locale||t.locale,u=(0,aa.useMemo)(()=>e.messages?_i(t.messages,e.messages):t.messages,[t.messages,e.messages]),s=!!e.tokens&&jd(e.tokens),d=m6(l,n,s),m=(0,aa.useMemo)(()=>{if(e.tokens)return jd(e.tokens)?Oi(d?e.tokens.dark:e.tokens.light,e.tokens.radius):Oi(e.tokens)},[e.tokens,d]);(0,aa.useEffect)(()=>{if(a!=="document"||!m)return;let g=document.documentElement;for(let[y,E]of Object.entries(m))g.style.setProperty(y,E);return()=>{for(let y of Object.keys(m))g.style.removeProperty(y)}},[a,m]);let f=(0,aa.useRef)(new Set);(0,aa.useEffect)(()=>{if(a!=="document")return;let g=document.documentElement,y=(E,V)=>{V?(g.setAttribute(E,V),f.current.add(E)):f.current.has(E)&&(g.removeAttribute(E),f.current.delete(E))};y("data-kit",e.kit),y("data-theme",e.theme),y("data-density",e.density),y("data-surface",e.surface),y("data-motion",e.motion)},[a,e.kit,e.theme,e.density,e.surface,e.motion]);let[x,N]=(0,aa.useState)(null),C=(0,aa.useMemo)(()=>({kit:n,theme:l,density:i,surface:o,motion:r,locale:c,messages:u,portalRoot:x}),[n,l,i,o,r,c,u,x]),v=e.theme??(m?l??(n==="pro"?"dark":"system"):void 0),p=e.children;return a==="subtree"?(0,zl.jsx)(_0.Provider,{value:C,children:(0,zl.jsxs)("div",{className:e.className,style:m?{...m,...e.style}:e.style,"data-kit":e.kit,"data-theme":v,"data-density":e.density,"data-surface":e.surface,"data-motion":e.motion,children:[p,(0,zl.jsx)("div",{ref:N,"data-tf-portal":""})]})}):(0,zl.jsx)(_0.Provider,{value:C,children:p})}var rr=G(ce(),1),Yd=G(or(),1);function Ea({children:e}){let{portalRoot:t}=mn(),[a,n]=(0,rr.useState)(!1);return(0,rr.useEffect)(()=>n(!0),[]),!a||typeof document>"u"?null:(0,Yd.createPortal)(e,t??document.body)}var cr=G(ce(),1);async function Xd(e){let t=typeof document>"u"?void 0:document,a=t?.startViewTransition;if(!t||!a||Ca()){await e();return}try{await a.call(t,e).finished}catch{}}function Kd(){let{motion:e}=mn(),[t,a]=(0,cr.useState)(!1);return(0,cr.useEffect)(()=>{if(typeof window>"u"||!window.matchMedia)return;let n=window.matchMedia("(prefers-reduced-motion: reduce)"),l=()=>a(n.matches);return l(),n.addEventListener("change",l),()=>n.removeEventListener("change",l)},[]),t?"off":e??"standard"}var Vn=G(ce(),1);function xt(e){let[t,a]=(0,Vn.useState)(e),[n,l]=(0,Vn.useState)(!1),i=(0,Vn.useRef)(null);return(0,Vn.useEffect)(()=>{if(i.current&&(clearTimeout(i.current),i.current=null),e){a(!0),l(!1);return}if(!t)return;let o=Ca()?0:fl("--dur-exit",0);if(o<=0){a(!1),l(!1);return}l(!0),i.current=setTimeout(()=>{i.current=null,a(!1),l(!1)},o)},[e]),(0,Vn.useEffect)(()=>()=>{i.current&&clearTimeout(i.current)},[]),{mounted:t||e,closing:n&&!e}}function dt(e){return e?{"data-closing":"",inert:!0}:{}}var Qd=G(ce(),1),mt=G(ce(),1),Zd=typeof window<"u"?mt.useLayoutEffect:mt.useEffect;function P(e,t,a){let[n,l]=(0,mt.useState)(t),i=e!==void 0,o=i?e:n,r=(0,mt.useCallback)(c=>{i||l(c),a?.(c)},[i,a]);return[o,r]}function Gn(e=30){let[t,a]=(0,mt.useState)(!1);return(0,mt.useEffect)(()=>{let n=setTimeout(()=>a(!0),e);return()=>clearTimeout(n)},[e]),t}function Aa(e,t,a){let n=(0,mt.useRef)(a);n.current=a,(0,mt.useEffect)(()=>{if(!t)return;let l=o=>{e.current&&!e.current.contains(o.target)&&n.current()},i=o=>{o.key==="Escape"&&n.current()};return document.addEventListener("pointerdown",l),document.addEventListener("keydown",i),()=>{document.removeEventListener("pointerdown",l),document.removeEventListener("keydown",i)}},[t,e])}var sr='button:not([disabled]), [href], input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function O0(e,t){let a=(0,mt.useRef)(t);a.current=t,(0,mt.useEffect)(()=>{let n=e.current,l=document.activeElement;if(!n)return;n.contains(document.activeElement)||(n.querySelector('[autofocus], input:not([type="checkbox"]), textarea')||n.querySelector(sr))?.focus();let i=o=>{if(o.key==="Escape"&&a.current){a.current();return}if(o.key!=="Tab")return;let r=Array.from(n.querySelectorAll(sr)).filter(s=>s.offsetParent!==null||s===document.activeElement);if(!r.length)return;let c=r[0],u=r[r.length-1];o.shiftKey&&document.activeElement===c?(o.preventDefault(),u.focus()):!o.shiftKey&&document.activeElement===u&&(o.preventDefault(),c.focus())};return n.addEventListener("keydown",i),()=>{n.removeEventListener("keydown",i),l&&typeof l.focus=="function"&&document.contains(l)&&l.focus()}},[e])}function L0(e,t){let a=(0,mt.useRef)(null),[n,l]=(0,mt.useState)(e||0);return Zd(()=>{if(e||!a.current)return;let i=a.current,o=()=>{let r=Math.floor(i.getBoundingClientRect().width);r>40?l(c=>Math.abs(c-r)>1?r:c):l(c=>c||t)};if(o(),typeof ResizeObserver<"u"){let r=new ResizeObserver(o);return r.observe(i),()=>r.disconnect()}},[e,t]),[a,e||n||t]}function Ne(e="tf"){return`${e}-${Qd.useId().replace(/[^\w-]/g,"")}`}function j0(e,t){Zd(()=>{let a=e.current;if(!t||!a)return;a.style.translate="",a.style.maxWidth="";let n=8,l=window.innerWidth-8;for(let r=a.parentElement;r;r=r.parentElement){let c=getComputedStyle(r);if(c.overflowX!=="visible"){let u=r.getBoundingClientRect();n=Math.max(n,u.left+r.clientLeft+parseFloat(c.paddingLeft)),l=Math.min(l,u.left+r.clientLeft+r.clientWidth-parseFloat(c.paddingRight));break}}if(l-n<40)return;let i=a.getBoundingClientRect();i.width>l-n&&(a.style.maxWidth=l-n+"px",i=a.getBoundingClientRect());let o=0;i.right>l&&(o=l-i.right),i.left+o<n&&(o=n-i.left),o&&(a.style.translate=`${Math.round(o)}px 0`)},[t])}function fn(e){(0,mt.useEffect)(()=>{let t=e.current;if(!t||typeof ResizeObserver>"u")return;let a=()=>{t.scrollWidth>t.clientWidth+1?t.tabIndex=0:t.removeAttribute("tabindex")};a();let n=new ResizeObserver(a);return n.observe(t),t.firstElementChild&&n.observe(t.firstElementChild),()=>n.disconnect()},[e])}function H0(e,t,a,n="vertical",l=!0){if(!t)return!1;let i=Array.from(t.querySelectorAll(a)).filter(s=>!s.hasAttribute("disabled")&&s.getAttribute("aria-disabled")!=="true");if(!i.length)return!1;let o=i.indexOf(document.activeElement),r=["ArrowDown","ArrowRight"].filter(s=>n==="both"||n==="vertical"==(s==="ArrowDown")),c=["ArrowUp","ArrowLeft"].filter(s=>n==="both"||n==="vertical"==(s==="ArrowUp")),u;if(r.includes(e.key))u=o<0?0:o+1>=i.length?l?0:o:o+1;else if(c.includes(e.key))u=o<0?i.length-1:o-1<0?l?i.length-1:0:o-1;else if(e.key==="Home")u=0;else if(e.key==="End")u=i.length-1;else if(e.key.length===1&&/\S/.test(e.key)){let s=e.key.toLowerCase(),m=i.slice(o+1).concat(i.slice(0,o+1)).find(f=>(f.textContent||"").trim().toLowerCase().startsWith(s));if(!m)return!1;u=i.indexOf(m)}else return!1;return e.preventDefault(),i[u]?.focus(),!0}var Ka=[],_s=new Set,ji=()=>_s.forEach(e=>e());function Nt(e){let t=typeof e=="string"?{text:e}:e,a={id:Math.random().toString(36).slice(2),...t,tone:t.tone??"success",duration:t.duration??(t.undo?6e3:4e3)};return Ka=[...Ka,a].slice(-3),ji(),a.id}Nt.dismiss=e=>{let t=g6();if(t<=0){Ka=Ka.filter(a=>a.id!==e),ji();return}Ka=Ka.map(a=>a.id===e?{...a,leaving:!0}:a),ji(),setTimeout(()=>{Ka=Ka.filter(a=>a.id!==e),ji()},t)};function g6(){try{if(typeof window>"u"||window.matchMedia?.("(prefers-reduced-motion: reduce)").matches||document.documentElement.closest("[data-motion]")?.getAttribute("data-motion")==="off")return 0;let e=getComputedStyle(document.documentElement).getPropertyValue("--dur-exit").trim(),t=parseFloat(e);return isNaN(t)?0:e.endsWith("ms")?t:t*1e3}catch{return 0}}Nt.clear=()=>{Ka=[],ji()};function ur(e){return _s.add(e),()=>_s.delete(e)}function dr(){return Ka}var b6=[];function mr(){return b6}var U0={thumbUp:"M6.74 10.75v9.5H3.74v-9.5h3zM6.74 10.75l4-7c1.4 0 2.5 1.1 2.5 2.5v3h5a2 2 0 0 1 2 2.3l-1.2 6.8a2 2 0 0 1-2 1.9H6.74",thumbDown:"M6.74 13.25V3.75H3.74v9.5h3zM6.74 13.25l4 7c1.4 0 2.5-1.1 2.5-2.5v-3h5a2 2 0 0 0 2-2.3l-1.2-6.8A2 2 0 0 0 17.04 3.75H6.74",arrowUp:"M12 19V5M6 11l6-6 6 6",heart:"M12 19.02s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 6.42 4.3 4.3 0 0 1 19.5 9.02c0 5.4-7.5 10-7.5 10z",tag:"M3.5 12.25V3.75h8.5l8.5 8.5 -8 8 -9-8zM8 8.25h0.01",cart:"M3.35 4h2.5l2.2 11h10.6l2-8H6.95M9.35 20h0.01M17.35 20h0.01",package:"M12 3.5l8 4.5v8L12 20.5 4 16V8l8-4.5zM4 8l8 4.5L20 8M12 12.5v8",truck:"M3 5.5h11v10h-11zM14 9h4l3 3.5V15.5h-7M7 18.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM17.5 18.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",plus:"M12 5v14M5 12h14",minus:"M5 12h14",check:"M5 12.25l4.5 4.5L19 7.25",x:"M6 6l12 12M18 6L6 18",more:"M6 12h.01M12 12h.01M18 12h.01",search:"M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14zM20 20l-3.5-3.5",bell:"M6 14.25V9.25a6 6 0 1 1 12 0v5l1.5 2h-15L6 14.25zM10 18.75a2 2 0 0 0 4 0",clock:"M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM12 7.5V12l3 2",eye:"M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12zM12 9.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z",edit:"M4.5 19.5h4L19.5 8.5l-4-4L4.5 15.5v4zM14 6l4 4",trash:"M4.5 6.75h15M9.5 6.75V4.25h5V6.75M6.5 6.75l1 13h9l1-13",users:"M9 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zM2.5 20c0-3.3 2.9-5.5 6.5-5.5s6.5 2.2 6.5 5.5M16 4.3a3.5 3.5 0 0 1 0 6.4M18 14.8c2 .7 3.5 2.6 3.5 5.2",user:"M12 11.25a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4.5 20.75c0-3.6 3.4-6 7.5-6s7.5 2.4 7.5 6",home:"M4 10.5L12 4l8 6.5V20h-5v-6H9v6H4v-9.5z",chart:"M4 19h16M7 15v-5M12 15V5M17 15v-8",mail:"M3.5 6.5h17v11h-17zM4 7l8 6 8-6",grid:"M4 4h6.5v6.5H4zM13.5 4H20v6.5h-6.5zM4 13.5h6.5V20H4zM13.5 13.5H20V20h-6.5z",share:"M18 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM6 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM18 22a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM8.6 13.5l6.8 4M15.4 6.5l-6.8 4",menu:"M4 8h16M4 16h16",play:"M8 5.5v13l10.5-6.5L8 5.5z",calendar:"M4 6.75h16V20.25H4zM4 10.75h16M8.5 3.75v5M15.5 3.75v5",file:"M6 3.5h8l4 4V20.5H6zM14 3.5v4h4",card:"M3 6.5h18v11H3zM3 10.5h18",swap:"M4 8h14l-3.5-3.5M20 16H6l3.5 3.5",send:"M20.5 3.5L3.5 10.5l7 3 3 7 7-17zM10.5 13.5l4-4",download:"M12 4v11M7 10.5l5 5 5-5M4.5 20h15",book:"M4 5.5C4 4.7 4.7 4 5.5 4H11v16H5.5c-.8 0-1.5-.7-1.5-1.5V5.5zM13 4h5.5c.8 0 1.5.7 1.5 1.5v13c0 .8-.7 1.5-1.5 1.5H13V4z",chevronDown:"M6 9l6 6 6-6",chevronLeft:"M15 6l-6 6 6 6",chevronRight:"M9 6l6 6-6 6",arrowUpRight:"M7 17L17 7M8 7h9v9",sparkle:"M12 3.5l2 6.5 6.5 2-6.5 2-2 6.5-2-6.5-6.5-2 6.5-2 2-6.5z",filter:"M4 6h16M7 12h10M10 18h4",settings:"M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM12 2.5v3M12 18.5v3M4.4 4.4l2.1 2.1M17.5 17.5l2.1 2.1M2.5 12h3M18.5 12h3M4.4 19.6l2.1-2.1M17.5 6.5l2.1-2.1",lock:"M6 10.5h12v9.5H6zM8.5 10.5V7.5a3.5 3.5 0 0 1 7 0v3",link:"M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1",paperclip:"M20 11.74l-8 8a5 5 0 0 1-7-7l8.5-8.5a3.3 3.3 0 0 1 4.7 4.7L9.7 17.44a1.7 1.7 0 0 1-2.4-2.4L15 7.24",star:"M12 4.25l2.5 5.2 5.5 0.8 -4 3.9 1 5.6 -5-2.7 -5 2.7 1-5.6 -4-3.9 5.5-0.8L12 4.25z",flag:"M6.5 20.5V3.5M6.5 4h11l-2 4 2 4h-11",trend:"M3.5 16.5l6-6 4 4 7-7M15 7.5h5.5V13",globe:"M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM3.5 12h17M12 3.5c2.5 2.6 3.5 5.4 3.5 8.5s-1 5.9-3.5 8.5c-2.5-2.6-3.5-5.4-3.5-8.5s1-5.9 3.5-8.5z",inbox:"M3.5 13.25l2.5-8h12l2.5 8V18.75h-17v-5.5zM3.5 13.25H9l1 2h4l1-2h5.5",logout:"M13.75 4.5h4.5v15H13.75M9.75 8l-4 4 4 4M5.75 12h9",moon:"M19.91 13.59A8 8 0 1 1 10.41 4.09a6.5 6.5 0 0 0 9.5 9.5z",bot:"M12 4v3M7 8h10a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3zM9.5 13.5v1M14.5 13.5v1M2 14v2M22 14v2",code:"M8.5 7l-5 5 5 5M15.5 7l5 5-5 5",branch:"M6 3.5v11M6 14.5a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM18 9.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM18 9.5c0 5-6 3.5-12 7",terminal:"M3.5 5h17v14h-17zM7 9.5l3 2.5-3 2.5M12.5 15h4.5",server:"M4 4.5h16v6H4zM4 13.5h16v6H4zM7.5 7.5h.01M7.5 16.5h.01",key:"M15 3.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11zM11 13L3.5 20.5M6 18l2 2M8.5 15.5l2 2",database:"M12 3.5c4.4 0 8 1.3 8 3s-3.6 3-8 3-8-1.3-8-3 3.6-3 8-3zM4 6.5v11c0 1.7 3.6 3 8 3s8-1.3 8-3v-11M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3",refresh:"M19.5 12a7.5 7.5 0 1 1-2.2-5.3M19.5 4.5v4h-4",pause:"M8.5 5.5v13M15.5 5.5v13",archive:"M3.5 4.5h17v4h-17zM5 8.5v11h14v-11M10 12.5h4",reply:"M9.75 5.75L4.25 11.25 9.75 16.75M4.75 11.25h9a6 6 0 0 1 6 6v1",shield:"M12 3l7.5 3v5.5c0 4.5-3.2 8-7.5 9.5-4.3-1.5-7.5-5-7.5-9.5V6L12 3z",help:"M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01",cpu:"M7 7h10v10H7zM10 3.5V7M14 3.5V7M10 17v3.5M14 17v3.5M3.5 10H7M3.5 14H7M17 10h3.5M17 14h3.5",zap:"M13.5 3L5.5 13.5h6L10.5 21l8-10.5h-6L13.5 3z",folder:"M3.5 6h6l2 2h9v10h-17z",image:"M4 5h16v14H4zM4 15.5l4.5-4.5 4 4 2.5-2.5 5 5M15.5 9.5h.01",pin:"M12 20.75s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11zM12 7.25a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z",map:"M9 4.5L3.5 6.5v13L9 17.5l6 2 5.5-2v-13L15 6.5l-6-2zM9 4.5v13M15 6.5v13",upload:"M12 15.75V4.25M7.5 8.75L12 4.25l4.5 4.5M4.5 15.25v4.5h15V15.25",copy:"M8.5 8.5h11v11h-11zM15.5 8.5v-4h-11v11h4",bed:"M3.5 18v-12M3.5 13h17v5M20.5 18v-3M7.5 10a1.5 1.5 0 1 0 0 0.01M10.5 13v-3h7a3 3 0 0 1 3 3",ruler:"M3.5 15.5l12-12 5 5-12 12zM7 12l2 2M10 9l2 2M13 6l2 2",wallet:"M4.25 7.75h15.5v12H4.25zM4.25 7.75l12-3.5v3.5M15.75 13.75h0.01",ban:"M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM6 6l12 12",list:"M8.25 6.5h12M8.25 12h12M8.25 17.5h12M3.75 6.5h0.01M3.75 12h0.01M3.75 17.5h0.01",layers:"M12 3.5l8.5 4.5L12 12.5 3.5 8 12 3.5zM3.5 12l8.5 4.5 8.5-4.5M3.5 16l8.5 4.5 8.5-4.5",bold:"M6.63 4.75h6a3.5 3.5 0 0 1 0 7H6.63zM6.63 11.75h7a3.75 3.75 0 0 1 0 7.5H6.63z",italic:"M10 4.5h8M6 19.5h8M14.5 4.5l-5 15",underline:"M7 4v7a5 5 0 0 0 10 0V4M5 20h14",olist:"M9.75 7.5h10.5M9.75 13h10.5M9.75 18.5h10.5M3.75 6l1.5-1v5M3.75 15.5a1.5 1.5 0 1 1 2.5 1L3.75 19h3",heading:"M6 4.5v15M18 4.5v15M6 12h12",quote:"M5 16.5c0-4 1.5-7 5-9M14 16.5c0-4 1.5-7 5-9M5 16.5h3.5v-4H5zM14 16.5h3.5v-4H14z",undo:"M9.25 4.5L4.25 9.5l5 5M4.75 9.5h10a5 5 0 0 1 0 10h-2",redo:"M14.75 4.5l5 5 -5 5M19.25 9.5h-10a5 5 0 0 0 0 10h2",monitor:"M3.5 4.25h17v11h-17zM8.5 19.75h7M12 15.25V19.75",phone:"M7.5 3h9v18h-9zM11 18h2",expand:"M4.5 9.5v-5h5M19.5 9.5v-5h-5M4.5 14.5v5h5M19.5 14.5v5h-5",sun:"M12 7.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zM12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M5.3 18.7l1.4-1.4M17.3 6.7l1.4-1.4",cookie:"M12 3.5a8.5 8.5 0 1 0 8.5 8.5 3 3 0 0 1-3.5-3.5 3 3 0 0 1-3.5-3.5 3 3 0 0 1-1.5-1.5zM8.5 10h.01M14.5 15h.01M9.5 15.5h.01",webhook:"M10.67 8.24a3.5 3.5 0 1 1 5.5 2.9L18.67 15.74M8.67 19.24a3.5 3.5 0 0 1-1-6.8M18.67 19.24H11.67M7.67 12.44L11.17 6.74"},fr=Object.keys(U0),Fd=new Map;function Hi(e){for(let[t,a]of Object.entries(e))t in U0||Fd.set(t,a)}function hr(e){return U0[e]??Fd.get(e)}var Os=G(ye(),1);var Id=new Set;function z({name:e,size:t=16,label:a,className:n,style:l}){let i=hr(e);i===void 0&&(Id.has(e)||(Id.add(e),console.warn(`Twentyfirst UI: no icon "${e}". Register it first: registerIcons({ ${e} }) with ${e} from "@twentyfirstmedia/halo/icons" (or /pro/icons).`)),i=U0.sparkle);let o=typeof i!="string"||e==="play";return(0,Os.jsx)("svg",{className:b("tf-ico",n),width:t,height:t,viewBox:"0 0 24 24",fill:o?"currentColor":"none",stroke:typeof i=="string"?"currentColor":"none",strokeWidth:e==="more"?3.2:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":a?void 0:!0,role:a?"img":void 0,"aria-label":a,style:{width:t,height:t,...l},children:(0,Os.jsx)("path",{d:typeof i=="string"?i:i.d})})}z.names=fr;var h=G(ye(),1),Pe=G(ce(),1);var D=G(ye(),1),it=G(ce(),1);var Ls=G(ye(),1),Yt=G(ce(),1);var Pd=Yt.createContext(null);function hn(e){let t=Yt.useContext(Pd);return e&&t?t.errors[e]:void 0}var y6=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function x6(e,t,a,n=xl){let l=Array.isArray(t)?t.join(","):t??"",i=l.trim()==="";if(e.required&&i)return typeof e.required=="string"?e.required:n.fieldRequired;if(i)return;if(e.email&&!y6.test(l))return e.message||n.invalidEmail;if(e.minLength!=null&&l.length<e.minLength)return e.message||n.minLength(e.minLength);if(e.maxLength!=null&&l.length>e.maxLength)return e.message||n.maxLength(e.maxLength);let o=Number(l.replace(/[^\d.-]/g,""));return e.min!=null&&o<e.min?e.message||n.minValue(e.min):e.max!=null&&o>e.max?e.message||n.maxValue(e.max):e.pattern&&!e.pattern.test(l)?e.message||n.invalidFormat:e.validate?.(l,a)||void 0}function Jd(e){let t={};return new FormData(e).forEach((a,n)=>{let l=typeof a=="string"?a:a.name,i=t[n];t[n]=i===void 0?l:Array.isArray(i)?i.concat(l):[i,l]}),t}function $d(e){let t=w(xl),a=Yt.useRef(null),[n,l]=Yt.useState({}),[i,o]=Yt.useState(!1),r=e.rules||{},c=(d,m)=>{let f=m?{...n}:{};for(let[x,N]of Object.entries(r)){if(m&&x!==m)continue;let C=x6(N,d[x],d,t);C?f[x]=C:delete f[x]}return f},u=Yt.useRef(()=>{});u.current=d=>{i&&r[d]&&a.current&&l(c(Jd(a.current),d))},Yt.useEffect(()=>{let d=a.current;if(!d)return;let m=f=>{let x=f.target?.name;x&&u.current(x)};return d.addEventListener("change",m),d.addEventListener("input",m),()=>{d.removeEventListener("change",m),d.removeEventListener("input",m)}},[]);let s=Yt.useMemo(()=>({errors:{...n,...e.errors||{}}}),[n,e.errors]);return(0,Ls.jsx)(Pd.Provider,{value:s,children:(0,Ls.jsx)("form",{ref:a,className:b("tf-form",e.className),style:e.style,noValidate:!0,onSubmit:d=>{d.preventDefault();let m=Jd(d.currentTarget),f=c(m);l(f),o(!0);let x=Object.keys(f);if(x.length){e.onInvalid?.(f),d.currentTarget.querySelector(x.map(C=>`[name="${CSS.escape(C)}"]`).join(","))?.focus();return}e.onSubmit?.(m)},children:e.children})})}var Qe=G(ye(),1),B0=G(ce(),1);function em(e,t,a,n){return B0.isValidElement(e)?B0.cloneElement(e,{...a,className:b(t,e.props.className),children:n(e.props.children)}):null}function Q(e){let{variant:t,size:a,icon:n,iconRight:l,asChild:i,className:o,children:r,type:c,...u}=e,d=b("tf-btn","tf-btn-"+(t||"primary"),a==="sm"&&"tf-btn-sm",o),m=f=>(0,Qe.jsxs)(Qe.Fragment,{children:[n&&(0,Qe.jsx)(z,{name:n,size:15}),f,l&&(0,Qe.jsx)(z,{name:l,size:15})]});if(i){let f=em(B0.Children.only(r),d,u,m);if(f)return f}return(0,Qe.jsx)("button",{...u,type:c||"button",className:d,children:m(r)})}function W(e){let{icon:t,label:a,variant:n,size:l,asChild:i,className:o,children:r,type:c,...u}=e,s=b("tf-iconbtn","tf-iconbtn-"+(n||"soft"),l&&"tf-iconbtn-"+l,o),d={"aria-label":a,title:a,...u};if(i&&r){let m=em(B0.Children.only(r),s,d,()=>(0,Qe.jsx)(z,{name:t}));if(m)return m}return(0,Qe.jsx)("button",{...d,type:c||"button",className:s,children:(0,Qe.jsx)(z,{name:t})})}function q0(e){return(0,Qe.jsxs)("button",{type:"button",className:b("tf-chip",e.className),"aria-pressed":e.selected?"true":"false",onClick:e.onClick,children:[e.icon&&(0,Qe.jsx)(z,{name:e.icon,size:14}),e.children,e.count!=null&&(0,Qe.jsx)("span",{className:"tf-chip-count",children:e.count})]})}var N6={ok:"success",warn:"warning",signal:"highlight",idle:"neutral",running:"info",error:"danger"};function Oe(e){let t=e.tone&&N6[e.tone]||e.tone||"neutral";return(0,Qe.jsxs)("span",{className:b("tf-badge","tf-badge-"+t,(e.live||e.tone==="running")&&"tf-badge-live",e.className),children:[e.dot!==!1&&(0,Qe.jsx)("span",{className:"tf-badge-dot","aria-hidden":!0}),e.children]})}function re(e){return(0,Qe.jsx)("span",{className:b("tf-tinticon","tf-t-"+(e.tint||"plain"),e.className),"aria-hidden":e.label?void 0:!0,title:e.label,style:e.size?{width:e.size,height:e.size}:void 0,children:(0,Qe.jsx)(z,{name:e.icon})})}var Wd=["lilac","sky","mint","butter","blush"];function qe(e){let t=e.size||32,a=e.tint||Wd[(e.name||"").length%Wd.length];return(0,Qe.jsx)("span",{className:b("tf-avatar",e.className),style:{width:t,height:t,"--av":"var(--"+a+")",fontSize:Math.round(t*.36)},title:e.name,children:e.src?(0,Qe.jsx)("img",{src:e.src,alt:e.name||""}):Io(e.name)})}function tm(e){let t=e.names||[],a=e.max||4,n=t.length-a;return(0,Qe.jsxs)("span",{className:"tf-avatar-stack",children:[t.slice(0,a).map(l=>(0,Qe.jsx)(qe,{name:l,size:e.size||28},l)),n>0&&(0,Qe.jsx)(qe,{name:"+"+n,tint:"surface-sunken",size:e.size||28})]})}var Yn=G(ye(),1),Xt=G(ce(),1);function Ue(e){let t=Xt.useRef(null),a=Xt.useRef(null),n=P(e.open,!1,e.onOpenChange),l=xt(n[0]);Aa(t,n[0],()=>{n[1](!1)}),j0(a,n[0]);let[i,o]=Xt.useState(!1);Xt.useLayoutEffect(()=>{if(!n[0]){o(!1);return}let c=a.current,u=t.current;if(!c||!u)return;let s=c.getBoundingClientRect(),d=u.getBoundingClientRect(),m=window.innerHeight,f=e.side==="top",x=m-d.bottom-8,N=d.top-8;!f&&s.bottom>m-8&&N>s.height&&N>x&&o(!0),f&&s.top<8&&x>s.height&&o(!0)},[n[0]]);let r=typeof e.trigger=="function"?e.trigger({open:n[0],toggle:()=>{n[1](!n[0])}}):(0,Yn.jsx)("span",{onClick:()=>{n[1](!n[0])},children:e.trigger});return(0,Yn.jsxs)("span",{ref:t,className:b("tf-pop-anchor",e.block&&"block",e.className),children:[r,l.mounted&&(0,Yn.jsx)("div",{...dt(l.closing),ref:a,className:b("tf-popover","tf-pop-"+(e.align||"start"),e.side==="top"!==i&&"top",e.flush&&"flush"),role:e.role||"dialog",style:e.width==null?void 0:{"--pop-w":typeof e.width=="number"?e.width+"px":e.width},children:typeof e.children=="function"?e.children({close:()=>{n[1](!1)}}):e.children})]})}function et(e){let t=Ne("tip"),a=Xt.useState(!!e.defaultOpen),n=Xt.useRef(void 0),l=Xt.useRef(null),i=e.side||"top",o=xt(a[0]);j0(l,a[0]&&i!=="left"&&i!=="right");function r(){clearTimeout(n.current),n.current=setTimeout(()=>{a[1](!0)},350)}function c(){clearTimeout(n.current),a[1](!1)}let u=Xt.Children.only(e.children);return(0,Yn.jsxs)("span",{className:"tf-tip-anchor",onPointerEnter:r,onPointerLeave:c,onFocus:()=>{a[1](!0)},onBlur:c,onKeyDown:s=>{s.key==="Escape"&&c()},children:[Xt.cloneElement(u,{"aria-describedby":a[0]?t:void 0}),o.mounted&&(0,Yn.jsxs)("span",{...dt(o.closing),id:t,ref:l,role:"tooltip",className:b("tf-tooltip","tf-tip-"+i),children:[e.label,e.shortcut&&(0,Yn.jsx)("kbd",{children:e.shortcut})]})]})}function ft(e){let t=e.id,a=hn(e.name),n=e.error||a;return(0,D.jsxs)("div",{className:b("tf-field",e.className),style:e.style,children:[e.label&&(0,D.jsxs)("label",{className:"tf-field-label",htmlFor:t,children:[e.label,e.required&&(0,D.jsx)("span",{className:"tf-req","aria-hidden":!0,children:" *"}),e.optional&&(0,D.jsxs)("span",{className:"tf-opt",children:[" ","optional"]})]}),e.children,n?(0,D.jsxs)("span",{id:t?`${t}-msg`:void 0,className:"tf-field-error",role:"alert",children:[(0,D.jsx)(z,{name:"x",size:12}),n]}):e.success?(0,D.jsxs)("span",{className:"tf-field-success",children:[(0,D.jsx)(z,{name:"check",size:12}),e.success]}):e.hint&&(0,D.jsx)("span",{id:t?`${t}-msg`:void 0,className:"tf-field-hint",children:e.hint})]})}function pr(e){let t=Ne("tf"),a=e.id||t,n=hn(e.name),l=e.error||n;return(0,D.jsx)(ft,{id:a,label:e.label,required:e.required,optional:e.optional,hint:e.hint,error:l,success:e.success,children:(0,D.jsxs)("span",{className:b("tf-inputwrap",e.icon&&"has-icon",(l||e.success||e.suffix)&&"has-suffix"),children:[e.icon&&(0,D.jsx)(z,{name:e.icon,size:15,className:"tf-input-icon"}),(0,D.jsx)("input",{id:a,name:e.name,className:b("tf-input",e.success&&"is-valid"),type:e.type||"text",placeholder:e.placeholder,value:e.value,defaultValue:e.defaultValue,onChange:e.onChange,onBlur:e.onBlur,required:e.required,disabled:e.disabled,readOnly:e.readOnly,min:e.min,max:e.max,step:e.step,minLength:e.minLength,maxLength:e.maxLength,pattern:e.pattern,inputMode:e.inputMode,autoFocus:e.autoFocus,"aria-invalid":l?"true":void 0,"aria-describedby":l||e.hint?`${a}-msg`:void 0,autoComplete:e.autoComplete}),l?(0,D.jsx)("span",{className:"tf-input-suffix err",children:(0,D.jsx)(z,{name:"x",size:14})}):e.success?(0,D.jsx)("span",{className:"tf-input-suffix ok",children:(0,D.jsx)(z,{name:"check",size:14})}):e.suffix&&(0,D.jsx)("span",{className:"tf-input-suffix",children:e.suffix})]})})}function lm(e){let t=Ne("rg"),a=P(e.value,e.defaultValue,e.onChange);return(0,D.jsxs)("fieldset",{className:b("tf-radiogroup",e.cards&&"cards",e.className),children:[e.label&&(0,D.jsx)("legend",{className:"tf-field-label",children:e.label}),(0,D.jsx)("div",{className:"tf-radiogroup-items",children:(e.options||[]).map(n=>{let l=typeof n=="string"?{value:n,label:n}:n,i=a[0]===l.value;return(0,D.jsxs)("label",{className:b("tf-radio",i&&"on",l.disabled&&"disabled"),children:[(0,D.jsx)("input",{type:"radio",name:t,value:l.value,checked:i,disabled:l.disabled,onChange:()=>{a[1](l.value)}}),(0,D.jsx)("span",{className:"tf-radio-dot","aria-hidden":!0}),(0,D.jsxs)("span",{className:"tf-radio-text",children:[(0,D.jsx)("b",{children:l.label}),l.hint&&(0,D.jsx)("small",{children:l.hint})]})]},l.value)})}),e.hint&&(0,D.jsx)("span",{className:"tf-field-hint",children:e.hint})]})}function Qa(e){let t=P(e.value,e.defaultValue!=null?e.defaultValue:im((e.options||[])[0]??"").value,e.onChange),a=Ne("seg");return(0,D.jsx)("div",{className:b("tf-seg",e.size==="sm"&&"sm",e.block&&"block",e.className),role:"radiogroup","aria-label":e.label,children:(e.options||[]).map(n=>{let l=typeof n=="string"?{value:n,label:n}:n,i=t[0]===l.value;return(0,D.jsxs)("label",{className:b("tf-seg-item",i&&"on"),children:[(0,D.jsx)("input",{type:"radio",name:a,checked:i,onChange:()=>{t[1](l.value)}}),l.icon&&(0,D.jsx)(z,{name:l.icon,size:14}),l.label]},l.value)})})}function im(e){return typeof e=="string"?{value:e,label:e}:e}function om(e){let t=w(Ra),a=!!e.multiple,n=(e.options||[]).map(im),l=Ne("cb"),i=P(e.value,e.defaultValue!=null?e.defaultValue:a?[]:null,e.onChange),o=it.useState(""),r=it.useState(!1),c=it.useState(0),u=it.useRef(null),s=it.useRef(null),d=xt(!!r[0]);Aa(u,r[0],()=>{r[1](!1),o[1]("")});let m=a?i[0]||[]:[],f=a?null:i[0]??null,x=n.filter(y=>!o[0]||y.label.toLowerCase().indexOf(o[0].toLowerCase())>=0),N=e.creatable&&o[0].trim()&&!n.some(y=>y.label.toLowerCase()===o[0].trim().toLowerCase());function C(y){return a?m.indexOf(y.value)>=0:f===y.value}function v(y){a?(i[1](C(y)?m.filter(E=>E!==y.value):m.concat([y.value])),o[1](""),s.current&&s.current.focus()):(i[1](y.value),r[1](!1),o[1](""))}function p(y){let E=x.length+(N?1:0);if(y.key==="ArrowDown")y.preventDefault(),r[1](!0),c[1](Math.min(E-1,c[0]+1));else if(y.key==="ArrowUp")y.preventDefault(),c[1](Math.max(0,c[0]-1));else if(y.key==="Enter"){if(y.preventDefault(),!r[0])return r[1](!0);c[0]<x.length?v(x[c[0]]):N&&v({value:o[0].trim(),label:o[0].trim()})}else y.key==="Backspace"&&a&&!o[0]&&m.length&&i[1](m.slice(0,-1))}let g=y=>{let E=n.find(V=>V.value===y);return E?E.label:y};return(0,D.jsx)(ft,{id:l,label:e.label,required:e.required,hint:e.hint,error:e.error,className:e.className,children:(0,D.jsxs)("div",{ref:u,className:b("tf-combo",r[0]&&"open",e.error&&"invalid"),children:[(0,D.jsxs)("div",{className:"tf-combo-box",onClick:()=>{r[1](!0),s.current&&s.current.focus()},children:[a&&m.map(y=>(0,D.jsxs)("span",{className:"tf-token",children:[g(y),(0,D.jsx)("button",{type:"button","aria-label":t.removeItem(g(y)),onClick:E=>{E.stopPropagation(),i[1](m.filter(V=>V!==y))},children:(0,D.jsx)(z,{name:"x",size:12})})]},y)),(0,D.jsx)("input",{ref:s,id:l,role:"combobox","aria-expanded":r[0],"aria-controls":l+"-list","aria-autocomplete":"list",autoComplete:"off",className:"tf-combo-input",placeholder:a?m.length?"":e.placeholder:f!=null&&!o[0]?g(f):e.placeholder||t.selectPlaceholder,value:o[0],onChange:y=>{o[1](y.target.value),r[1](!0),c[1](0)},onFocus:()=>{r[1](!0)},onKeyDown:p,style:!a&&f!=null&&!o[0]?{"--ph":"var(--ink)"}:void 0}),(0,D.jsx)("span",{className:"tf-combo-chev",children:(0,D.jsx)(z,{name:"chevronDown",size:15})})]}),d.mounted&&(0,D.jsxs)("div",{...dt(d.closing),className:"tf-popover tf-combo-pop",id:l+"-list",role:"listbox","aria-multiselectable":a||void 0,children:[x.length===0&&!N&&(0,D.jsx)("div",{className:"tf-combo-empty",children:t.noMatches}),x.map((y,E)=>(0,D.jsxs)("div",{role:"option","aria-selected":C(y),className:b("tf-option",E===c[0]&&"active",C(y)&&"on"),onPointerDown:V=>{V.preventDefault()},onClick:()=>{v(y)},onPointerEnter:()=>{c[1](E)},children:[y.avatar&&(0,D.jsx)(qe,{name:y.label,size:24}),y.icon&&(0,D.jsx)(z,{name:y.icon,size:15}),(0,D.jsxs)("span",{className:"tf-option-text",children:[y.label,y.hint&&(0,D.jsx)("small",{children:y.hint})]}),C(y)&&(0,D.jsx)(z,{name:"check",size:15,className:"tf-option-check"})]},y.value)),N&&(0,D.jsxs)("div",{role:"option",className:b("tf-option",c[0]===x.length&&"active"),onPointerDown:y=>{y.preventDefault()},onClick:()=>{v({value:o[0].trim(),label:o[0].trim()})},children:[(0,D.jsx)(z,{name:"plus",size:15}),(0,D.jsx)("span",{className:"tf-option-text",children:t.createOption(o[0].trim())})]})]})]})})}function rm(e){let t=w(Ra),a=P(e.value,e.defaultValue||[],e.onChange),n=it.useState(""),l=Ne("tag");function i(o){let r=o.trim().replace(/,$/,"");r&&a[0].indexOf(r)<0&&a[1](a[0].concat([r])),n[1]("")}return(0,D.jsx)(ft,{id:l,label:e.label,hint:e.hint,error:e.error,children:(0,D.jsxs)("div",{className:"tf-combo-box tf-tags",onClick:o=>{let r=o.currentTarget.querySelector("input");r&&r.focus()},children:[a[0].map(o=>(0,D.jsxs)("span",{className:"tf-token",children:[o,(0,D.jsx)("button",{type:"button","aria-label":t.removeItem(o),onClick:()=>{a[1](a[0].filter(r=>r!==o))},children:(0,D.jsx)(z,{name:"x",size:12})})]},o)),(0,D.jsx)("input",{id:l,className:"tf-combo-input",placeholder:a[0].length?"":e.placeholder||t.tagPlaceholder,value:n[0],onChange:o=>{let r=o.target.value;/,$/.test(r)?i(r):n[1](r)},onKeyDown:o=>{o.key==="Enter"?(o.preventDefault(),i(n[0])):o.key==="Backspace"&&!n[0]&&a[0].length&&a[1](a[0].slice(0,-1))},onBlur:()=>{n[0]&&i(n[0])}})]})})}function am(e,t){return Ya(e,{month:"long",year:"numeric"},t)}function Bs(e){let t=[];for(let a=0;a<7;a++){let n=new Date(2024,0,1+(1+a-1)%7);t.push(Ya(n,{weekday:"short"},e))}return t}function vr(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function Ui(e,t){return!!(e&&t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())}function js(e,t){return e?Ya(e,void 0,t):""}function Us(e,t){let a=new Date(e);return a.setDate(a.getDate()+t),a}function qs(e){let t=w(Ra),{locale:a}=J(),n=e.range?e.value??null:null,l=vr(e.today||new Date),i=e.range?n&&n.from:e.value,o=e.month||(i instanceof Date?i:null)||l,r=it.useState(new Date(o.getFullYear(),o.getMonth(),1)),c=it.useState(null),u=r[0],s=Us(u,-((u.getDay()-1+7)%7)),d=[];for(let N=0;N<42;N++)d.push(Us(s,N));let m=i??null,f=e.range?n&&n.to||(m&&c[0]&&c[0]>m?c[0]:null):null;function x(N){r[1](new Date(u.getFullYear(),u.getMonth()+N,1))}return(0,D.jsxs)("div",{className:"tf-cal",children:[(0,D.jsxs)("div",{className:"tf-cal-head",children:[(0,D.jsx)(W,{icon:"chevronLeft",label:t.previousMonth,size:"sm",variant:"soft",onClick:()=>{x(-1)}}),(0,D.jsx)("b",{children:am(u,a)}),(0,D.jsx)(W,{icon:"chevronRight",label:t.nextMonth,size:"sm",variant:"soft",onClick:()=>{x(1)}})]}),(0,D.jsxs)("div",{className:"tf-cal-grid",role:"group","aria-label":am(u,a),children:[Bs(a).map((N,C)=>(0,D.jsx)("span",{className:"tf-cal-wd",children:N},C)),d.map(N=>{let C=N.getMonth()!==u.getMonth(),v=Ui(N,m),p=Ui(N,f),g=m&&f&&N>m&&N<f,y=e.min&&N<vr(e.min)||e.max&&N>vr(e.max);return(0,D.jsx)("button",{type:"button",disabled:y,className:b("tf-cal-day",C&&"out",Ui(N,l)&&"today",(v||p)&&"sel",g&&"inrange",v&&f&&"start",p&&m&&"end"),"aria-pressed":v||p,"aria-label":Ya(N,{day:"numeric",month:"long",year:"numeric"},a),onPointerEnter:()=>{e.range&&c[1](N)},onClick:()=>{if(!e.range)return e.onChange?.(N);!m||m&&n?.to||N<m?e.onChange?.({from:N,to:null}):e.onChange?.({from:m,to:N})},children:N.getDate()},+N)})]})]})}function gr(e){let t=w(Ra),{locale:a}=J(),n=Ne("dp"),l=P(e.value,e.defaultValue||(e.range?{from:null,to:null}:null),e.onChange),i=vr(e.today||new Date),o=e.presets!==!1&&e.range?[[t.lastDays(7),-6],[t.lastDays(30),-29],[t.lastDays(90),-89],[t.thisYear,"y"]]:null,r=e.range?l[0]??null:null,c=e.range?r&&r.from?js(r.from,a)+" \u2013 "+(r.to?js(r.to,a):"\u2026"):"":js(l[0],a);return(0,D.jsx)(ft,{id:n,label:e.label,required:e.required,hint:e.hint,error:e.error,className:e.className,children:(0,D.jsx)(Ue,{block:!0,width:o?476:304,trigger:u=>(0,D.jsxs)("button",{id:n,type:"button",className:b("tf-input tf-picker",!c&&"empty"),"aria-haspopup":"dialog","aria-expanded":u.open,onClick:u.toggle,children:[(0,D.jsx)(z,{name:"calendar",size:15}),(0,D.jsx)("span",{children:c||e.placeholder||(e.range?t.pickRange:t.pickDate)})]}),children:u=>(0,D.jsxs)("div",{className:b("tf-dp",o&&"with-presets"),children:[o&&(0,D.jsx)("div",{className:"tf-dp-presets",children:o.map(s=>{let d=s[1]==="y"?new Date(i.getFullYear(),0,1):Us(i,s[1]),m=!!r&&Ui(r.from,d)&&Ui(r.to,i);return(0,D.jsx)("button",{type:"button",className:b("tf-dp-preset",m&&"on"),onClick:()=>{l[1]({from:d,to:i}),u.close()},children:s[0]},s[0])})}),(0,D.jsx)(qs,{range:e.range,value:l[0],today:i,min:e.min,max:e.max,onChange:s=>{l[1](s),(!e.range||s.to)&&u.close()}})]})})})}function cm(e){let t=w(Ra),a=Ne("num"),n=P(e.value,e.defaultValue!=null?e.defaultValue:0,e.onChange),l=e.step||1;function i(o){e.min!=null&&(o=Math.max(e.min,o)),e.max!=null&&(o=Math.min(e.max,o)),n[1](Math.round(o*1e3)/1e3)}return(0,D.jsx)(ft,{id:a,label:e.label,hint:e.hint,error:e.error,children:(0,D.jsxs)("div",{className:"tf-number",children:[(0,D.jsx)(W,{icon:"minus",label:t.decrease,size:"sm",disabled:e.min!=null&&n[0]<=e.min,onClick:()=>{i(n[0]-l)}}),(0,D.jsx)("input",{id:a,className:"tf-number-input",inputMode:"decimal",value:n[0],onChange:o=>{let r=parseFloat(o.target.value);isNaN(r)?o.target.value===""&&n[1](0):i(r)},onKeyDown:o=>{o.key==="ArrowUp"&&(o.preventDefault(),i(n[0]+l)),o.key==="ArrowDown"&&(o.preventDefault(),i(n[0]-l))}}),e.unit&&(0,D.jsx)("span",{className:"tf-number-unit",children:e.unit}),(0,D.jsx)(W,{icon:"plus",label:t.increase,size:"sm",disabled:e.max!=null&&n[0]>=e.max,onClick:()=>{i(n[0]+l)}})]})})}function sm(e){let t=Ne("sl"),a=e.min||0,n=e.max!=null?e.max:100,l=P(e.value,e.defaultValue!=null?e.defaultValue:a,e.onChange),i=(l[0]-a)/(n-a)*100,o=e.format||String;return(0,D.jsx)(ft,{id:t,label:e.label,hint:e.hint,children:(0,D.jsxs)("div",{className:"tf-slider",children:[(0,D.jsxs)("div",{className:"tf-slider-track",children:[(0,D.jsx)("input",{id:t,type:"range",min:a,max:n,step:e.step||1,value:l[0],onChange:r=>{l[1](+r.target.value)},style:{"--pct":i+"%"},"aria-valuetext":o(l[0])}),(0,D.jsx)("span",{className:"tf-slider-val",style:{left:"calc("+i+"% + "+(10-i*.2)+"px)"},children:o(l[0])})]}),e.marks!==!1&&(0,D.jsxs)("div",{className:"tf-slider-marks",children:[(0,D.jsx)("span",{children:o(a)}),(0,D.jsx)("span",{children:o(n)})]})]})})}function br(e){let t=w(Ra),a=e.length||6,n=it.useState(Array(a).fill("")),l=it.useRef([]);function i(o,r){let c=n[0].slice();c[o]=r,n[1](c),r&&o<a-1&&l.current[o+1]?.focus(),c.every(Boolean)&&e.onComplete&&e.onComplete(c.join(""))}return(0,D.jsx)("div",{className:b("tf-otp",e.error&&"invalid"),role:"group","aria-label":e.label||t.verificationCode,children:n[0].map((o,r)=>(0,D.jsxs)(it.Fragment,{children:[r===a/2&&a>4&&(0,D.jsx)("span",{className:"tf-otp-sep","aria-hidden":!0}),(0,D.jsx)("input",{ref:c=>{l.current[r]=c},className:"tf-otp-cell",inputMode:"numeric",autoComplete:r===0?"one-time-code":"off",maxLength:1,value:o,"aria-label":t.digitN(r+1),onChange:c=>{i(r,c.target.value.replace(/\D/g,"").slice(-1))},onKeyDown:c=>{c.key==="Backspace"&&!n[0][r]&&r>0&&l.current[r-1]?.focus(),c.key==="ArrowLeft"&&r>0&&l.current[r-1]?.focus(),c.key==="ArrowRight"&&r<a-1&&l.current[r+1]?.focus()},onPaste:c=>{let u=(c.clipboardData.getData("text")||"").replace(/\D/g,"").slice(0,a);if(!u)return;c.preventDefault();let s=Array(a).fill("").map((d,m)=>u[m]||"");n[1](s),l.current[Math.min(u.length,a-1)]?.focus(),u.length===a&&e.onComplete&&e.onComplete(u)}})]},r))})}function Hs(e,t){return e>1048576?`${t.formatNumber(e/1048576,{maximumFractionDigits:1})} MB`:`${t.formatNumber(Math.max(1,Math.round(e/1024)))} KB`}function nm(e,t){let a=(t||"").split(",").map(i=>i.trim().toLowerCase()).filter(Boolean);if(!a.length)return!0;let n=e.name.toLowerCase(),l=(e.type||"").toLowerCase();return a.some(i=>i.startsWith(".")?n.endsWith(i):i.endsWith("/*")?l.startsWith(i.slice(0,-1)):l===i)}function um(e){let t=w(Ra),a=J(),n=it.useState(!1),l=P(e.files,[],e.onChange),i=it.useRef(null),o=it.useRef([]),r=e.simulateProgress??!e.onFiles,c=r||e.files!==void 0;it.useEffect(()=>()=>{o.current.forEach(clearInterval)},[]);function u(s){let d=Array.from(s||[]),m=d.filter(N=>!nm(N,e.accept));if(d=d.filter(N=>nm(N,e.accept)),e.multiple===!1&&(d=d.slice(0,1)),m.length&&e.onReject?.(m),!d.length)return;e.onFiles?.(d);let f=d.map(N=>({name:N.name,size:N.size,progress:0,file:N,id:Math.random().toString(36).slice(2)})),x=(e.multiple===!1?[]:l[0]).concat(f);l[1](x),r&&f.forEach((N,C)=>{let v=0,p=setInterval(()=>{v+=20+Math.random()*25,N.progress=Math.min(100,v),l[1](x.slice()),v>=100&&clearInterval(p)},160+C*40);o.current.push(p)})}return(0,D.jsxs)("div",{className:"tf-col",style:{gap:12},children:[(0,D.jsxs)("div",{className:b("tf-drop",n[0]&&"over"),role:"button",tabIndex:0,onClick:()=>{i.current?.click()},onKeyDown:s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),i.current?.click())},onDragOver:s=>{s.preventDefault(),n[1](!0)},onDragLeave:()=>{n[1](!1)},onDrop:s=>{s.preventDefault(),n[1](!1),u(s.dataTransfer.files)},children:[(0,D.jsx)(re,{icon:"upload",tint:n[0]?"mint":"sky",size:40}),(0,D.jsx)("b",{children:n[0]?t.dropToUpload:e.title||t.dropFiles}),(0,D.jsx)("span",{children:e.hint||t.dropHint}),(0,D.jsx)("input",{ref:i,type:"file",hidden:!0,multiple:e.multiple!==!1,accept:e.accept,onChange:s=>{u(s.target.files),s.target.value=""}})]}),l[0].length>0&&(0,D.jsx)("div",{className:"tf-col",style:{gap:8},children:l[0].map(s=>{let d=c&&s.progress<100,m=c&&s.progress>=100;return(0,D.jsxs)("div",{className:"tf-upload",children:[(0,D.jsx)(re,{icon:"file",tint:d?"sky":"mint"}),(0,D.jsxs)("div",{className:"tf-upload-text",children:[(0,D.jsx)("b",{children:s.name}),(0,D.jsx)("span",{children:m?t.uploaded(Hs(s.size,a)):d?a.formatPercent(Math.round(s.progress))+" \xB7 "+Hs(s.size,a):Hs(s.size,a)}),d&&(0,D.jsx)("span",{className:"tf-progress",role:"progressbar","aria-label":s.name,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(s.progress),children:(0,D.jsx)("span",{style:{width:s.progress+"%"}})})]}),(0,D.jsx)(W,{icon:d?"x":"trash",label:d?t.cancelUpload:t.removeItem(s.name),size:"sm",onClick:()=>{l[1](l[0].filter(f=>f.id!==s.id)),e.onRemove?.(s)}})]},s.id)})})]})}var Sl=G(ye(),1),RR=G(ce(),1);var z6={ok:"dot",running:"pulse",signal:"diamond",warn:"triangle",danger:"square",idle:"ring"};function Ee(e){return(0,Sl.jsx)("span",{className:b("tf-shape","tf-shape-"+(z6[e.status]||"ring"),"tf-st-"+(e.status||"idle"),e.className),"aria-hidden":!0})}function Be(e){return(0,Sl.jsxs)("span",{className:b("tf-status",e.size==="sm"&&"sm",e.className),role:e.label?void 0:"img","aria-label":e.label?void 0:e.status,children:[(0,Sl.jsx)(Ee,{status:e.status}),e.label&&(0,Sl.jsx)("span",{className:"tf-status-label",children:e.label})]})}var _=G(ye(),1),kl=G(ce(),1);var j=G(ye(),1),vt=G(ce(),1);var ee=G(ye(),1),ht=G(ce(),1);var X=G(ye(),1),Et=G(ce(),1);function mm(e){let t=e.variant||"text";return(0,X.jsx)("span",{className:b("tf-skel","tf-skel-"+t,e.className),"aria-hidden":!0,style:{width:e.width,height:e.height||(t==="circle"?e.width:void 0)}})}var dm=':scope > [role^="menuitem"], :scope > .tf-menu-subwrap > [role^="menuitem"]';function At(e){let t=Et.useRef(null),[a,n]=Et.useState(null),l=Et.useRef(!1);Et.useEffect(()=>{e.autoFocus&&t.current?.querySelector(dm)?.focus()},[e.autoFocus]);let i=o=>{o.onClick?.(),o.type!=="checkbox"&&o.type!=="radio"&&e.onClose?.()};return(0,X.jsx)("div",{ref:t,className:b("tf-menu",e.className),style:e.style,role:"menu","aria-label":e.label,onKeyDown:o=>{if(H0(o,t.current,dm,"vertical",!0)){o.stopPropagation();return}o.key==="Escape"&&e.onClose&&(o.stopPropagation(),e.onClose())},children:(e.items||[]).map((o,r)=>{if(o==="-")return(0,X.jsx)("div",{className:"tf-menu-sep",role:"separator"},r);let c=o.type==="checkbox"||o.type==="radio",u=o.type==="checkbox"?"menuitemcheckbox":o.type==="radio"?"menuitemradio":"menuitem",s=(0,X.jsxs)(X.Fragment,{children:[c?(0,X.jsx)("span",{className:b("tf-menu-mark",o.type),"aria-hidden":!0,children:o.checked&&(o.type==="checkbox"?(0,X.jsx)(z,{name:"check",size:14}):(0,X.jsx)("i",{}))}):o.icon&&(0,X.jsx)(z,{name:o.icon,size:15}),(0,X.jsx)("span",{className:"tf-menu-text",children:o.label}),o.shortcut&&(0,X.jsx)("kbd",{children:o.shortcut}),o.items&&(0,X.jsx)(z,{name:"chevronRight",size:14,className:"tf-menu-subchev"})]});if(o.items){let d=a===r;return(0,X.jsxs)("div",{className:"tf-menu-subwrap",onPointerEnter:()=>n(r),onPointerLeave:()=>n(null),onKeyDownCapture:m=>{m.target.closest(".tf-menu-sub")&&(m.key==="ArrowLeft"||m.key==="Escape")&&(m.preventDefault(),m.stopPropagation(),n(null),m.currentTarget.firstElementChild?.focus())},children:[(0,X.jsx)("button",{type:"button",role:"menuitem",className:b("tf-menu-item",d&&"on"),"aria-haspopup":"menu","aria-expanded":d,disabled:o.disabled,onClick:()=>{l.current=!0,n(d?null:r)},onKeyDown:m=>{(m.key==="ArrowRight"||m.key==="Enter"||m.key===" ")&&(m.preventDefault(),m.stopPropagation(),l.current=!0,n(r))},children:s}),d&&(0,X.jsx)(At,{className:"tf-menu-sub",label:o.label,items:o.items,autoFocus:l.current,onClose:()=>{n(null),l.current=!1,e.onClose?.()}})]},r)}return(0,X.jsx)("button",{type:"button",role:u,"aria-checked":c?!!o.checked:void 0,className:b("tf-menu-item",o.danger&&"danger"),disabled:o.disabled,onClick:()=>i(o),children:s},r)})})}function fm(e){let t=w(jn),a=xt(e.open??!0);return a.mounted?(0,X.jsxs)("div",{...dt(a.closing),className:"tf-modal-wrap",style:e.style,children:[(0,X.jsx)("div",{className:"tf-backdrop","aria-hidden":!0}),(0,X.jsxs)("div",{className:"tf-modal",role:"dialog","aria-modal":"true","aria-label":e.title,children:[(0,X.jsx)("span",{className:"tf-modal-close",children:(0,X.jsx)(W,{icon:"x",label:t.close,size:"sm",onClick:e.onClose})}),e.icon&&(0,X.jsx)(re,{icon:e.icon,tint:e.tint||"sky",size:40}),(0,X.jsxs)("div",{children:[(0,X.jsx)("h2",{className:"tf-modal-title",children:e.title}),e.text&&(0,X.jsx)("p",{className:"tf-modal-text",style:{marginTop:6},children:e.text})]}),e.children,e.actions&&(0,X.jsx)("div",{className:"tf-modal-foot",children:e.actions})]})]}):null}function hm(e){return(0,X.jsxs)("div",{className:"tf-toast",role:"status",children:[(0,X.jsx)(re,{icon:e.icon||"check",tint:e.tint||"mint"}),e.children,e.action&&(0,X.jsx)(Q,{variant:"soft",size:"sm",onClick:e.onAction,children:e.action})]})}function Ml(e){return(0,X.jsxs)("div",{className:"tf-empty tf-in",children:[(0,X.jsx)(re,{icon:e.icon||"sparkle",tint:e.tint||"sky",size:44}),(0,X.jsx)("p",{className:"tf-empty-title",children:e.title}),e.text&&(0,X.jsx)("p",{className:"tf-empty-text",children:e.text}),e.action]})}var vm={info:"bell",success:"check",warning:"flag",danger:"x",highlight:"sparkle"},S6={info:"sky",success:"mint",warning:"butter",danger:"blush",highlight:"lilac"};function yr(e){let t=w(jn),a=e.tone||"info";return(0,X.jsxs)("div",{className:b("tf-alert","tf-alert-"+a,e.className),role:a==="danger"||a==="warning"?"alert":"status",children:[(0,X.jsx)("span",{className:"tf-alert-icon",children:(0,X.jsx)(z,{name:e.icon||vm[a],size:15})}),(0,X.jsxs)("div",{className:"tf-alert-body",children:[e.title&&(0,X.jsx)("b",{children:e.title}),e.children&&(0,X.jsx)("span",{children:e.children})]}),(e.action||e.onDismiss)&&(0,X.jsxs)("div",{className:"tf-alert-actions",children:[e.action,e.onDismiss&&(0,X.jsx)(W,{icon:"x",label:t.dismiss,size:"sm",variant:"ghost",onClick:e.onDismiss})]})]})}function pm(e){let t=w(jn),a=Ne("confirm"),n=Et.useState(""),l=!e.confirmText||n[0]===e.confirmText,i=Et.useRef(null),o=xt(!!e.open);return Et.useEffect(()=>{if(!e.open)return;n[1](""),setTimeout(()=>{i.current&&i.current.focus()},30);function r(c){c.key==="Escape"&&e.onCancel&&e.onCancel()}return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)}},[e.open]),o.mounted?(0,X.jsx)(Ea,{children:(0,X.jsxs)("div",{...dt(o.closing),className:"tf-overlay",children:[(0,X.jsx)("div",{className:"tf-backdrop",onClick:e.onCancel}),(0,X.jsxs)("div",{className:"tf-modal tf-confirm",role:"alertdialog","aria-modal":"true","aria-labelledby":a,children:[(0,X.jsx)(re,{icon:e.icon||(e.danger?"trash":"check"),tint:e.danger?"blush":"sky",size:40}),(0,X.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,X.jsx)("h2",{id:a,className:"tf-modal-title tf-confirm-t",children:e.title}),e.text&&(0,X.jsx)("p",{className:"tf-modal-text",children:e.text})]}),e.confirmText&&(0,X.jsxs)("label",{className:"tf-field",children:[(0,X.jsx)("span",{className:"tf-field-hint",children:t.typeToConfirm((0,X.jsx)("b",{className:"tf-mono",children:e.confirmText}))}),(0,X.jsx)("input",{className:"tf-input",value:n[0],onChange:r=>{n[1](r.target.value)},autoComplete:"off"})]}),(0,X.jsxs)("div",{className:"tf-modal-foot",children:[(0,X.jsx)("button",{ref:i,type:"button",className:"tf-btn tf-btn-ghost",onClick:e.onCancel,children:e.cancelLabel||t.cancel}),(0,X.jsx)(Q,{variant:e.danger?"danger-solid":"primary",disabled:!l,onClick:e.onConfirm,children:e.confirmLabel||t.confirm})]})]})]})}):null}function M6(e){let t=w(jn),a=e.t,n=Et.useState(!1),l=Et.useRef(a.duration),i=Et.useRef(Date.now());Et.useEffect(()=>{if(n[0])return;i.current=Date.now();let r=setTimeout(()=>{Nt.dismiss(a.id)},l.current);return()=>{clearTimeout(r),l.current-=Date.now()-i.current}},[n[0]]);let o=S6[a.tone]||"mint";return(0,X.jsxs)("div",{...dt(!!a.leaving),className:"tf-toast tf-toast-x",role:a.tone==="danger"?"alert":"status",onPointerEnter:()=>{n[1](!0)},onPointerLeave:()=>{n[1](!1)},children:[(0,X.jsx)(re,{icon:a.icon||vm[a.tone]||"check",tint:o}),(0,X.jsx)("span",{className:"tf-toast-text",children:a.text}),a.undo&&(0,X.jsx)("button",{type:"button",className:"tf-toast-action",onClick:()=>{a.undo?.(),Nt.dismiss(a.id)},children:t.undo}),a.action&&(0,X.jsx)("button",{type:"button",className:"tf-toast-action",onClick:()=>{a.action?.onClick(),Nt.dismiss(a.id)},children:a.action.label}),(0,X.jsx)("button",{type:"button",className:"tf-toast-close","aria-label":t.dismiss,onClick:()=>{Nt.dismiss(a.id)},children:(0,X.jsx)(z,{name:"x",size:13})}),(0,X.jsx)("span",{className:"tf-toast-timer",style:{animationDuration:a.duration+"ms",animationPlayState:n[0]?"paused":"running"}})]})}function gm(e){let t=Et.useSyncExternalStore(ur,dr,mr);return(0,X.jsx)(Ea,{children:(0,X.jsx)("div",{className:b("tf-toaster",e&&e.position==="top"&&"top"),"aria-live":"polite",children:t.map(a=>(0,X.jsx)(M6,{t:a},a.id))})})}function xr(e){let t=e.items||[],a=ht.useState(e.defaultValue||t[0]),n=e.value!=null?e.value:a[0],l=Ne("tabs"),i=ht.useRef(null),o=ht.useState({x:0,w:0,ready:!1});ht.useLayoutEffect(()=>{let s=i.current&&i.current.querySelector('[aria-selected="true"]');s&&o[1]({x:s.offsetLeft,w:s.offsetWidth,ready:!0})},[n,t.join("|")]);let r=s=>{a[1](s),e.onChange&&e.onChange(s)},c=s=>l+"-"+t.indexOf(s),u=(0,ee.jsxs)("div",{ref:i,className:b("tf-tabs",e.block&&"tf-tabs-block",e.className),style:e.panels?void 0:e.style,role:"tablist","aria-label":e.label,onKeyDown:s=>{if(H0(s,i.current,'[role="tab"]',"horizontal")){let d=document.activeElement?.dataset.tab;d!=null&&r(d)}},children:[(0,ee.jsx)("span",{className:"tf-tabs-ind","aria-hidden":!0,style:{width:o[0].w,transform:"translateX("+o[0].x+"px)",opacity:o[0].ready?1:0}}),t.map(s=>(0,ee.jsx)("button",{id:c(s)+"-t",type:"button",role:"tab",className:"tf-tab","data-tab":s,"aria-selected":s===n?"true":"false","aria-controls":e.panels?c(s)+"-p":void 0,tabIndex:s===n?0:-1,onClick:()=>r(s),children:s},s))]});return e.panels?(0,ee.jsxs)("div",{className:"tf-tabset",style:e.style,children:[u,t.map(s=>(0,ee.jsx)("div",{id:c(s)+"-p",role:"tabpanel","aria-labelledby":c(s)+"-t",className:"tf-tabpanel",tabIndex:0,hidden:s!==n,children:e.panels?.[s]},s))]}):u}function Nr(e){let t=w(Hn),a=e.items||[];return(0,ee.jsx)("nav",{className:"tf-crumbs","aria-label":t.breadcrumb,children:a.map((n,l)=>{let i=l===a.length-1;return(0,ee.jsxs)(ht.Fragment,{children:[i?(0,ee.jsx)("span",{"aria-current":"page",children:n}):(0,ee.jsx)("a",{href:"#",children:n}),!i&&(0,ee.jsx)(z,{name:"chevronRight",size:13})]},l)})})}function bm(e){let t=w(Hn),a=Math.max(1,e.total||1),n=e.page!==void 0&&e.onChange!==void 0,l=P(n?e.page:void 0,e.defaultPage??e.page??1,e.onChange),i=Math.min(a,Math.max(1,l[0])),o=c=>{let u=Math.min(a,Math.max(1,c));u!==i&&l[1](u)},r=[];for(let c=1;c<=a;c++)c===1||c===a||Math.abs(c-i)<=1?r.push(c):r[r.length-1]!=="\u2026"&&r.push("\u2026");return(0,ee.jsxs)("nav",{className:"tf-pager","aria-label":t.pagination,children:[(0,ee.jsx)(W,{icon:"chevronLeft",label:t.previousPage,size:"sm",onClick:()=>{o(i-1)}}),r.map((c,u)=>c==="\u2026"?(0,ee.jsx)("span",{className:"tf-page","aria-hidden":!0,children:"\u2026"},"e"+u):(0,ee.jsx)("button",{type:"button",className:"tf-page","aria-current":c===i?"page":void 0,onClick:()=>{o(c)},children:c},c)),(0,ee.jsx)(W,{icon:"chevronRight",label:t.nextPage,size:"sm",onClick:()=>{o(i+1)}})]})}function ym(e){let t=ht.useRef(null),[a,n]=ht.useState(null),[l,i]=ht.useState(!1);Aa(t,a!=null,()=>n(null));let o=()=>Array.from(t.current?.querySelectorAll(":scope > .tf-menubar-item > button")||[]),r=c=>o()[c]?.focus();return(0,ee.jsx)("div",{ref:t,className:b("tf-menubar",e.className),style:e.style,role:"menubar","aria-label":e.label,onKeyDown:c=>{let u=e.menus.length,s=o().indexOf(document.activeElement),d=c.target.closest(".tf-menu");if(c.key==="ArrowRight"||c.key==="ArrowLeft"){if(d&&c.target.closest(".tf-menu-sub")||d&&c.key==="ArrowRight"&&c.target.getAttribute("aria-haspopup"))return;c.preventDefault();let f=((a??s)+(c.key==="ArrowRight"?1:-1)+u)%u;a!=null&&(i(!0),n(f)),r(f)}else!d&&(c.key==="ArrowDown"||c.key==="Enter"||c.key===" ")&&s>=0?(c.preventDefault(),i(!0),n(s)):!d&&(c.key==="Home"||c.key==="End")&&(c.preventDefault(),r(c.key==="Home"?0:u-1))},children:e.menus.map((c,u)=>(0,ee.jsxs)("div",{className:"tf-menubar-item",children:[(0,ee.jsx)("button",{type:"button",role:"menuitem",className:"tf-menubar-btn","aria-haspopup":"menu","aria-expanded":a===u,tabIndex:u===(a??0)?0:-1,onClick:()=>{i(!1),n(a===u?null:u)},onPointerEnter:()=>a!=null&&a!==u&&n(u),children:c.label}),a===u&&(0,ee.jsx)(At,{className:"tf-menubar-menu",label:c.label,items:c.items,autoFocus:l,onClose:()=>{n(null),r(u)}})]},c.label))})}function xm(e){let t=w(Hn),a=Ne("nav"),n=ht.useRef(null),[l,i]=ht.useState(null),o=ht.useRef(void 0);Aa(n,l!=null,()=>i(null));let r=c=>{clearTimeout(o.current),o.current=setTimeout(()=>i(c),c==null?150:80)};return ht.useEffect(()=>()=>clearTimeout(o.current),[]),(0,ee.jsx)("nav",{ref:n,className:b("tf-navmenu",e.className),style:e.style,"aria-label":e.label||t.mainNavigation,onKeyDown:c=>{if(c.key==="Escape"&&l!=null){let u=n.current?.querySelector(`#${a}-t${l}`);i(null),u?.focus()}},children:(0,ee.jsx)("ul",{className:"tf-navmenu-list",children:e.items.map((c,u)=>(0,ee.jsxs)("li",{className:"tf-navmenu-item",onPointerEnter:()=>c.links&&r(u),onPointerLeave:()=>c.links&&r(null),children:[c.links?(0,ee.jsxs)("button",{id:`${a}-t${u}`,type:"button",className:"tf-navmenu-trigger","aria-expanded":l===u,"aria-controls":`${a}-p${u}`,onClick:()=>i(l===u?null:u),children:[c.label,(0,ee.jsx)(z,{name:"chevronDown",size:14,className:"tf-navmenu-chev"})]}):(0,ee.jsx)("a",{className:"tf-navmenu-trigger",href:c.href||"#",children:c.label}),c.links&&l===u&&(0,ee.jsxs)("div",{id:`${a}-p${u}`,className:b("tf-navmenu-panel",c.feature&&"with-feature"),children:[c.feature&&(0,ee.jsx)("div",{className:"tf-navmenu-feature",children:c.feature}),(0,ee.jsx)("ul",{className:"tf-navmenu-links",children:c.links.map(s=>(0,ee.jsx)("li",{children:(0,ee.jsxs)("a",{className:"tf-navmenu-link",href:s.href||"#",onClick:()=>{s.onClick?.(),i(null)},children:[s.icon&&(0,ee.jsx)(z,{name:s.icon}),(0,ee.jsxs)("span",{className:"tf-option-text",children:[(0,ee.jsx)("b",{children:s.label}),s.description&&(0,ee.jsx)("small",{children:s.description})]})]})},s.label))})]})]},c.label))})})}function Nm(e){let t=w(Hn),a=P(e.collapsed,!!e.defaultCollapsed,e.onCollapsedChange),n=u=>u.id||u.label,l=u=>n(u)===e.current||!!u.items?.some(s=>n(s)===e.current),[i,o]=ht.useState(()=>e.groups.flatMap(u=>u.items.filter(s=>s.items&&l(s)).map(n))),r=Ne("side"),c=(u,s=!1)=>{let d=n(u),m=i.includes(d),f=d===e.current;return(0,ee.jsxs)("li",{children:[(0,ee.jsxs)("button",{type:"button",className:b("tf-sidebar-item",s&&"nested",u.items&&l(u)&&"has-current"),"aria-current":f?"page":void 0,"aria-expanded":u.items?m:void 0,"aria-controls":u.items&&m&&!a[0]?`${r}-${d}`:void 0,title:a[0]?u.label:void 0,onClick:()=>{u.items&&!a[0]?o(m?i.filter(x=>x!==d):i.concat(d)):e.onPick?.(d)},children:[!s&&(0,ee.jsx)(z,{name:u.icon}),(0,ee.jsx)("span",{className:"tf-sidebar-label",children:u.label}),u.count?(0,ee.jsx)("span",{className:"tf-subnav-count",children:u.count}):null,u.items&&(0,ee.jsx)(z,{name:"chevronDown",size:14,className:"tf-sidebar-chev"})]}),u.items&&m&&!a[0]&&(0,ee.jsx)("ul",{id:`${r}-${d}`,className:"tf-sidebar-sub",children:u.items.map(x=>c(x,!0))})]},d)};return(0,ee.jsxs)("nav",{className:b("tf-sidebar",a[0]&&"collapsed",e.className),style:e.style,"aria-label":e.label||t.sidebar,children:[e.header&&(0,ee.jsx)("div",{className:"tf-sidebar-head",children:e.header}),(0,ee.jsx)("div",{className:"tf-sidebar-body",children:e.groups.map((u,s)=>(0,ee.jsxs)("div",{className:"tf-sidebar-group",children:[u.label&&(0,ee.jsx)("div",{className:"tf-sidebar-grouplabel",id:`${r}-g${s}`,children:u.label}),(0,ee.jsx)("ul",{"aria-labelledby":u.label?`${r}-g${s}`:void 0,children:u.items.map(d=>c(d))})]},u.label||s))}),(0,ee.jsxs)("div",{className:"tf-sidebar-foot",children:[e.footer,(0,ee.jsx)(W,{icon:a[0]?"chevronRight":"chevronLeft",label:a[0]?t.expandSidebar:t.collapseSidebar,variant:"ghost",size:"sm",onClick:()=>a[1](!a[0])})]})]})}function vn(e){let{locale:t}=J(),a=Jo(e.value,t),n=(u,s)=>Po(u,s,t),l=a&&typeof e.value=="number"?n(e.value,a):String(e.value),i=vt.useState(a?n(0,a):l),o=vt.useRef(0),r=vt.useRef(!0),c=vt.useRef(null);return vt.useEffect(()=>{if(!a||Ca(c.current)){i[1](l);return}let u=fl("--dur-slow",900,c.current),s=o.current,d=null,m=0,f=r.current?e.duration||u:u/2,x=r.current?(e.delay||0)+rd(c.current):0;r.current=!1;let N=a;function C(v){d===null&&(d=v);let p=Math.min(1,Math.max(0,(v-d-x)/f)),g=1-Math.pow(1-p,3),y=s+(N.value-s)*g;o.current=y,i[1](n(y,N)),p<1?m=requestAnimationFrame(C):(o.current=N.value,i[1](l))}return m=requestAnimationFrame(C),()=>{cancelAnimationFrame(m)}},[e.value,t]),(0,j.jsx)("span",{ref:c,className:e.className,children:i[0]})}function Mm(e){let t=e.tint||"sky";return(0,j.jsxs)("div",{className:b("tf-stat",t==="placeholder"?"tf-stat-placeholder":"tf-bg-"+t,e.className),children:[typeof e.value=="string"||typeof e.value=="number"?(0,j.jsx)(vn,{className:"tf-stat-value",value:e.value,delay:e.delay||120}):(0,j.jsx)("span",{className:"tf-stat-value",children:e.value}),(0,j.jsx)("span",{className:"tf-stat-label",children:e.label}),e.delta&&(0,j.jsx)("span",{className:"tf-stat-delta",children:e.delta})]})}function km(e){let t=e.tint&&e.tint!=="surface"?"tf-bg-"+e.tint:null;return(0,j.jsxs)("article",{className:b("tf-card",t,e.onClick&&"tf-card-interactive",e.surface&&"tf-"+e.surface,e.className),style:e.style,tabIndex:e.onClick?0:void 0,onClick:e.onClick,children:[e.corner&&(0,j.jsx)("span",{className:"tf-card-corner",children:e.corner}),e.eyebrow&&(0,j.jsx)("span",{className:"tf-card-meta",children:e.eyebrow}),e.title&&(0,j.jsx)("h3",{className:"tf-card-title",children:e.title}),e.description&&(0,j.jsx)("p",{className:"tf-card-desc",children:e.description}),e.meta&&(0,j.jsx)("div",{className:"tf-card-meta",children:e.meta.map((a,n)=>(0,j.jsx)("span",{children:a},n))}),e.children,(e.status||e.actions)&&(0,j.jsxs)("div",{className:"tf-card-foot",children:[e.status||(0,j.jsx)("span",{}),e.actions&&(0,j.jsx)("div",{className:"tf-row",children:e.actions})]})]})}var zm={meeting:["users","sky"],deadline:["clock","butter"],review:["eye","lilac"],launch:["sparkle","mint"],incident:["bell","blush"]};function wm(e){let t=w(Xa),a=zm[e.kind||"meeting"]||zm.meeting,n=e.tint||a[1];return(0,j.jsxs)("div",{className:b("tf-event","tf-bg-"+n,e.className),children:[(0,j.jsxs)("div",{className:"tf-event-head",children:[(0,j.jsxs)("span",{className:"tf-event-kind",children:[(0,j.jsx)(z,{name:e.icon||a[0],size:14}),e.label]}),(0,j.jsx)("span",{className:"tf-event-date",children:e.date})]}),(0,j.jsx)("p",{className:"tf-event-body",children:e.children}),(0,j.jsxs)("div",{className:"tf-event-bar",children:[(0,j.jsxs)("span",{className:"tf-row",children:[(0,j.jsx)(z,{name:"clock",size:14})," ",e.time]}),e.actions!==!1&&(0,j.jsxs)("span",{className:"tf-row",children:[(0,j.jsx)(W,{icon:"eye",label:t.open,size:"sm",variant:"outline"}),(0,j.jsx)(W,{icon:"edit",label:t.edit,size:"sm",variant:"outline"}),(0,j.jsx)(W,{icon:"trash",label:t.remove,size:"sm",variant:"outline"})]})]})]})}function Cm(e){return(0,j.jsxs)("section",{className:b("tf-panel",e.side&&"tf-side",e.surface&&"tf-"+e.surface,e.className),style:e.style,children:[(e.title||e.action)&&(0,j.jsxs)("div",{className:"tf-header",children:[(0,j.jsxs)("div",{children:[(0,j.jsx)("h2",{className:"tf-panel-title",children:e.title}),e.subtitle&&(0,j.jsx)("p",{className:"tf-panel-sub",children:e.subtitle})]}),e.action]}),e.children]})}function Tm(e){return(0,j.jsxs)("header",{className:"tf-header",children:[(0,j.jsxs)("div",{children:[e.crumbs&&(0,j.jsx)("div",{style:{marginBottom:8},children:(0,j.jsx)(Nr,{items:e.crumbs})}),(0,j.jsx)("h1",{className:"tf-header-title",children:e.title}),e.subtitle&&(0,j.jsx)("p",{className:"tf-header-sub",children:e.subtitle})]}),e.actions&&(0,j.jsx)("div",{className:"tf-row",children:e.actions})]})}var k6=typeof window>"u"?vt.useEffect:vt.useLayoutEffect;function Vs(e){let t={...e.style};e.delay&&(t["--base"]=e.delay+"ms");let a=vt.useRef(null),[n,l]=vt.useState(!1);return k6(()=>{let i=a.current;if(!i||e.reveal===!1||typeof IntersectionObserver>"u"||Ca(i)||i.getBoundingClientRect().top<window.innerHeight)return;l(!0);let o=new IntersectionObserver(r=>{r.some(c=>c.isIntersecting)&&(l(!1),o.disconnect())},{rootMargin:"0px 0px -8% 0px"});return o.observe(i),()=>o.disconnect()},[]),vt.createElement(e.as||"div",{ref:a,className:b("tf-stagger",e.className),style:t,"data-reveal":n?"waiting":void 0},e.children)}function Rm(e){let t=e.columns||[],a=vt.useRef(null);return fn(a),(0,j.jsx)("div",{ref:a,className:"tf-table-scroll",children:(0,j.jsxs)("table",{className:"tf-table",children:[(0,j.jsx)("thead",{children:(0,j.jsx)("tr",{children:t.map(n=>(0,j.jsx)("th",{className:n.align==="right"?"tf-num":void 0,style:n.width?{width:n.width}:void 0,children:n.label},n.key))})}),(0,j.jsx)("tbody",{className:e.animate===!1?void 0:"tf-stagger",style:{"--base":"180ms"},children:(e.rows||[]).map((n,l)=>(0,j.jsx)("tr",{children:t.map(i=>(0,j.jsx)("td",{className:i.align==="right"?"tf-num":void 0,children:i.render?i.render(n):n[i.key]},i.key))},l))})]})})}function Em(e){let t=w(Xa);return(0,j.jsxs)("button",{type:"button",className:"tf-row-item","aria-current":e.active?"true":void 0,onClick:e.onClick,children:[e.leading||(e.avatar?(0,j.jsx)(qe,{name:e.avatar,size:36}):(0,j.jsx)(re,{icon:e.icon||"mail",tint:e.tint||"plain",size:36})),(0,j.jsxs)("span",{style:{minWidth:0},children:[(0,j.jsxs)("span",{className:"tf-row-title",children:[e.unread&&(0,j.jsx)("span",{className:"tf-unread",role:"img","aria-label":t.unread}),e.title]}),e.subtitle&&(0,j.jsx)("span",{className:"tf-row-sub",style:{display:"block"},children:e.subtitle})]}),(0,j.jsxs)("span",{className:"tf-row-meta",children:[e.meta,e.trailing]})]})}function Am(e){return(0,j.jsx)("ol",{className:"tf-timeline tf-stagger",style:{"--base":(e.delay||200)+"ms"},children:(e.items||[]).map((t,a)=>(0,j.jsxs)("li",{className:"tf-tl-item",children:[t.avatar?(0,j.jsx)(qe,{name:t.avatar,size:30}):(0,j.jsx)(re,{icon:t.icon||"sparkle",tint:t.tint||"plain"}),(0,j.jsxs)("div",{children:[(0,j.jsx)("p",{className:"tf-tl-text",children:t.text}),(0,j.jsx)("span",{className:"tf-tl-time",children:t.time})]})]},a))})}var Sm={pdf:["file","blush"],fig:["sparkle","lilac"],sheet:["chart","mint"],doc:["book","sky"],zip:["folder","butter"]};function Dm(e){let t=w(Xa),a=Sm[e.kind||"doc"]||Sm.doc;return(0,j.jsxs)("div",{className:"tf-file",children:[(0,j.jsx)(re,{icon:a[0],tint:a[1]}),(0,j.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,j.jsx)("div",{className:"tf-file-name",children:e.name}),(0,j.jsx)("div",{className:"tf-file-meta",children:e.meta})]}),(0,j.jsx)(W,{icon:"download",label:t.downloadItem(e.name),size:"sm"})]})}function _m(e){let t=w(Xa);return(0,j.jsxs)("section",{className:"tf-kanban","aria-label":e.title,children:[(0,j.jsxs)("div",{className:"tf-kanban-head",children:[(0,j.jsxs)("span",{className:"tf-row",style:{gap:0},children:[e.dot&&(0,j.jsx)("span",{className:"tf-badge-dot",style:{color:"var(--"+e.dot+"-ink)",width:8,height:8,borderRadius:"50%",background:"currentColor",marginRight:8}}),e.title,(0,j.jsx)("span",{className:"tf-kanban-count",children:vt.Children.count(e.children)})]}),(0,j.jsx)(W,{icon:"more",label:t.columnOptions,size:"sm"})]}),(0,j.jsx)(Vs,{className:"tf-col",style:{gap:10},delay:e.delay||0,children:e.children}),(0,j.jsxs)("button",{type:"button",className:"tf-kanban-add",onClick:e.onAdd,children:[(0,j.jsx)(z,{name:"plus",size:14}),t.addCard]})]})}function zr(e){let t=w(Xa),a=Math.max(0,Math.min(100,e.value||0));return(0,j.jsx)("div",{className:b("tf-progress",e.tint&&"tf-progress-"+e.tint),role:"progressbar","aria-valuenow":a,"aria-valuemin":0,"aria-valuemax":100,"aria-label":e.label||t.progress,children:(0,j.jsx)("span",{style:{width:a+"%"}})})}function Om(e){let t=w(Xa),{formatPercent:a}=J(),n=e.size||88,l=e.stroke||9,i=(n-l)/2,o=2*Math.PI*i,r=Math.max(0,Math.min(100,e.value||0)),c=Gn(150);return(0,j.jsxs)("div",{className:"tf-ring",style:{width:n,height:n},role:"img","aria-label":(e.label||t.progress)+" "+a(r,{maximumFractionDigits:2}),children:[(0,j.jsxs)("svg",{width:n,height:n,viewBox:"0 0 "+n+" "+n,children:[(0,j.jsx)("circle",{className:"tf-arc-track",cx:n/2,cy:n/2,r:i,strokeWidth:l}),(0,j.jsx)("circle",{className:b("tf-arc","tf-arc-"+(e.tint||"ink")),cx:n/2,cy:n/2,r:i,strokeWidth:l,strokeDasharray:o,strokeDashoffset:c?o*(1-r/100):o})]}),(0,j.jsx)("span",{className:"tf-ring-label",children:(0,j.jsxs)("span",{children:[(0,j.jsx)(vn,{value:a(r,{maximumFractionDigits:2}),delay:150}),e.caption&&(0,j.jsx)("small",{children:e.caption})]})})]})}function Sr(e){let t=Math.pow(10,Math.floor(Math.log10(e||1)));return Math.ceil(e/t)*t}function jm(e){let t=w(va),a=L0(e.width,560),n=e.data||[],l=a[1],i=e.height||200,o=34,r=Sr(Math.max.apply(null,n.map(m=>m.value).concat([1]))),c=n.length,u=Math.max(1,(l-o)/c),s=Math.max(1,Math.min(e.barWidth||28,u*.62)),d=[0,.5,1];return(0,_.jsx)("div",{ref:a[0],className:"tf-chart-wrap",children:(0,_.jsxs)("svg",{className:"tf-chart",width:l,height:i+22,viewBox:"0 0 "+l+" "+(i+22),preserveAspectRatio:"xMinYMin meet",role:"img","aria-label":e.label||t.barChart,children:[d.map(m=>{let f=i-m*(i-10);return(0,_.jsxs)("g",{children:[(0,_.jsx)("line",{className:"grid",x1:o,x2:l,y1:f,y2:f,strokeDasharray:m?"3 5":void 0}),(0,_.jsx)("text",{x:0,y:f+4,children:e.format?e.format(r*m):Math.round(r*m)})]},m)}),n.map((m,f)=>{let x=Math.max(4,m.value/r*(i-10)),N=o+u*f+(u-s)/2;return(0,_.jsxs)("g",{children:[(0,_.jsx)("rect",{className:b("tf-bar","tf-bar-"+(m.tint||e.tint||"ink")),x:N,y:i-x,width:s,height:x,rx:Math.min(10,s/2),style:{animationDelay:`calc(var(--enter-delay, 0ms) + ${120+f*55}ms * var(--motion-time, 1))`},children:(0,_.jsx)("title",{children:m.label+": "+m.value})}),(0,_.jsx)("text",{x:N+s/2,y:i+18,textAnchor:"middle",children:m.label})]},f)})]})})}function Hm(e){let t=w(va),a=L0(e.width,560),n=e.series||[],l=e.labels||[],i=a[1],o=e.height||200,r=44,c=[];n.forEach(x=>{c=c.concat(x.values)});let u=Sr(Math.max(...c,1)),s=l.length||n[0]&&n[0].values.length||1;function d(x){return r+14+(i-r-32)*(s===1?0:x/(s-1))}function m(x){return o-x/u*(o-12)}function f(x){return x.map((N,C)=>(C?"L":"M")+d(C).toFixed(1)+" "+m(N).toFixed(1)).join(" ")}return(0,_.jsx)("div",{ref:a[0],className:"tf-chart-wrap",children:(0,_.jsxs)("svg",{className:"tf-chart",width:i,height:o+22,viewBox:"0 0 "+i+" "+(o+22),preserveAspectRatio:"xMinYMin meet",role:"img","aria-label":e.label||t.lineChart,children:[[0,.5,1].map(x=>{let N=o-x*(o-12);return(0,_.jsxs)("g",{children:[(0,_.jsx)("line",{className:"grid",x1:r,x2:i,y1:N,y2:N,strokeDasharray:x?"3 5":void 0}),(0,_.jsx)("text",{x:0,y:N+4,children:e.format?e.format(u*x):Math.round(u*x)})]},x)}),l.map((x,N)=>(0,_.jsx)("text",{x:d(N),y:o+18,textAnchor:"middle",children:x},x+N)),n.map((x,N)=>{let C=x.tint||"ink",v=f(x.values),p=x.values.length-1;return(0,_.jsxs)("g",{children:[x.area&&(0,_.jsx)("path",{className:b("tf-area","tf-area-"+C),d:v+" L"+d(p)+" "+o+" L"+d(0)+" "+o+" Z"}),(0,_.jsx)("path",{className:b("tf-line","tf-line-"+C),d:v,pathLength:1,style:{animationDelay:`calc(var(--enter-delay, 0ms) + ${150+N*200}ms * var(--motion-time, 1))`}}),(0,_.jsx)("circle",{className:b("tf-dotpt","tf-line-"+C),cx:d(p),cy:m(x.values[p]),r:4.5})]},N)})]})})}function wl(e){let t=w(va),a=e.values||[],n=e.width||120,l=e.height||36,i=Math.max.apply(null,a),o=Math.min.apply(null,a),r=i-o||1,c=a.map((u,s)=>(s?"L":"M")+(2+(n-4)*s/(a.length-1)).toFixed(1)+" "+(l-3-(u-o)/r*(l-6)).toFixed(1)).join(" ");return(0,_.jsx)("svg",{className:"tf-chart",viewBox:"0 0 "+n+" "+l,width:n,height:l,role:"img","aria-label":e.label||t.trend,children:(0,_.jsx)("path",{className:b("tf-line","tf-line-"+(e.tint||"ink")),d:c,pathLength:1,style:{strokeWidth:2}})})}function Um(e){let t=w(va),a=e.data||[],n=e.size||168,l=e.stroke||22,i=(n-l)/2,o=2*Math.PI*i,r=a.reduce((d,m)=>d+m.value,0)||1,c=Gn(150),u=0,s=a.length>1?6:0;return(0,_.jsxs)("div",{className:"tf-donut",style:{gap:24},children:[(0,_.jsxs)("div",{className:"tf-ring",style:{width:n,height:n},children:[(0,_.jsxs)("svg",{width:n,height:n,viewBox:"0 0 "+n+" "+n,role:"img","aria-label":e.label||t.breakdown,children:[(0,_.jsx)("circle",{className:"tf-arc-track",cx:n/2,cy:n/2,r:i,strokeWidth:l}),a.map((d,m)=>{let f=Math.max(0,o*d.value/r-s),x=u;return u+=o*d.value/r,(0,_.jsx)("circle",{className:b("tf-arc","tf-arc-"+(d.tint||"ink")),cx:n/2,cy:n/2,r:i,strokeWidth:l,strokeDasharray:(c?f:0)+" "+o,strokeDashoffset:-x,style:{transition:"stroke-dasharray var(--dur-slow) var(--ease-out) "+m*90+"ms"}},m)})]}),e.center&&(0,_.jsx)("span",{className:"tf-ring-label",children:(0,_.jsxs)("span",{children:[(0,_.jsx)(vn,{value:e.center}),e.caption&&(0,_.jsx)("small",{children:e.caption})]})})]}),e.legend!==!1&&(0,_.jsx)("div",{className:"tf-col tf-donut-legend",style:{gap:12},children:a.map((d,m)=>(0,_.jsxs)("div",{className:"tf-legend",style:{justifyContent:"space-between"},children:[(0,_.jsxs)("span",{children:[(0,_.jsx)("i",{style:{background:(d.tint||"ink")==="ink"?"var(--primary)":"var(--"+d.tint+"-ink)"}}),d.label]}),(0,_.jsx)("b",{style:{color:"var(--ink)"},children:Math.round(d.value/r*100)+"%"})]},m))})]})}function Bm(e){return(0,_.jsxs)("div",{className:"tf-chart-tip",style:{left:e.x,top:e.y},children:[(0,_.jsx)("b",{children:e.title}),e.rows.map(t=>(0,_.jsxs)("span",{children:[(0,_.jsx)("i",{className:"tf-sw tf-sw-"+t.tint}),t.label,(0,_.jsx)("em",{children:t.value})]},t.label))]})}function Mr(e){return(0,_.jsx)("div",{className:"tf-legend",children:(e.items||[]).map(t=>(0,_.jsxs)("span",{children:[(0,_.jsx)("i",{className:"tf-sw tf-sw-"+(t.tint||"ink")}),t.name||t.label]},t.name||t.label))})}function qm(e){let t=w(va),a=L0(e.width,560),n=a[1],l=e.height||200,i=40,o=e.series||[],r=e.labels||[],c=kl.useState(null),u=e.format||(N=>Math.round(N)),s=r.map((N,C)=>o.reduce((v,p)=>v+(p.values[C]||0),0)),d=Sr(Math.max.apply(null,s.concat([1]))),m=r.length||1,f=Math.max(1,(n-i)/m),x=Math.max(1,Math.min(e.barWidth||28,f*.62));return(0,_.jsxs)("div",{ref:a[0],className:"tf-chart-wrap tf-chart-hover",children:[(0,_.jsxs)("svg",{className:"tf-chart",width:n,height:l+22,viewBox:"0 0 "+n+" "+(l+22),role:"img","aria-label":e.label||t.stackedBarChart,onPointerLeave:()=>{c[1](null)},children:[[0,.5,1].map(N=>{let C=l-N*(l-10);return(0,_.jsxs)("g",{children:[(0,_.jsx)("line",{className:"grid",x1:i,x2:n,y1:C,y2:C,strokeDasharray:N?"3 5":void 0}),(0,_.jsx)("text",{x:0,y:C+4,children:u(d*N)})]},N)}),r.map((N,C)=>{let v=i+f*C+(f-x)/2,p=0;return(0,_.jsxs)("g",{onPointerEnter:()=>{c[1](C)},className:c[0]!=null&&c[0]!==C?"dim":void 0,children:[(0,_.jsx)("rect",{x:i+f*C,y:0,width:f,height:l,fill:"transparent"}),o.map((g,y)=>{let E=g.values[C]||0,V=E/d*(l-10),U=l-p-V;p+=V;let O=y===o.length-1||o.slice(y+1).every($=>!($.values[C]>0));return E>0&&(0,_.jsx)("path",{className:b("tf-seg-bar","tf-sf-"+(g.tint||"ink")),style:{animationDelay:`calc(var(--enter-delay, 0ms) + ${120+C*45}ms * var(--motion-time, 1))`},d:O?w6(v,U,x,Math.max(V-2,1),Math.min(8,x/2)):"M"+v+" "+U+"h"+x+"v"+Math.max(V-2,1)+"h-"+x+"z"},y)}),(0,_.jsx)("text",{x:v+x/2,y:l+18,textAnchor:"middle",children:N})]},C)})]}),c[0]!=null&&(0,_.jsx)(Bm,{x:Math.min(n-180,i+f*c[0]+f/2+12),y:8,title:r[c[0]]+" \xB7 "+u(s[c[0]]),rows:o.slice().reverse().map(N=>({label:N.name,tint:N.tint||"ink",value:u(N.values[c[0]]||0)}))}),e.legend!==!1&&(0,_.jsx)(Mr,{items:o})]})}function w6(e,t,a,n,l){return l=Math.min(l,n),"M"+e+" "+(t+n)+"V"+(t+l)+"Q"+e+" "+t+" "+(e+l)+" "+t+"H"+(e+a-l)+"Q"+(e+a)+" "+t+" "+(e+a)+" "+(t+l)+"V"+(t+n)+"Z"}function Lm(e){if(e.length<2)return"";let t="M"+e[0][0].toFixed(1)+" "+e[0][1].toFixed(1);for(let a=0;a<e.length-1;a++){let n=e[a],l=e[a+1],i=(n[0]+l[0])/2;t+=" C"+i.toFixed(1)+" "+n[1].toFixed(1)+" "+i.toFixed(1)+" "+l[1].toFixed(1)+" "+l[0].toFixed(1)+" "+l[1].toFixed(1)}return t}function Vm(e){let t=w(va),a=L0(e.width,560),n=a[1],l=e.height||200,i=44,o=e.series||[],r=e.labels||[],c=kl.useState(null),u=e.format||(v=>Math.round(v)),s=r.length,d=e.stacked!==!1,m=r.map(()=>0),f=[];o.forEach(v=>{let p=v.values.map((g,y)=>(d?m[y]:0)+g);f.push({s:v,lo:d?m.slice():r.map(()=>0),hi:p}),d&&(m=p)});let x=Sr(Math.max(...f.reduce((v,p)=>v.concat(p.hi),[1])));function N(v){return i+8+(n-i-16)*(s===1?0:v/(s-1))}function C(v){return l-v/x*(l-12)}return(0,_.jsxs)("div",{ref:a[0],className:"tf-chart-wrap tf-chart-hover",children:[(0,_.jsxs)("svg",{className:"tf-chart",width:n,height:l+22,viewBox:"0 0 "+n+" "+(l+22),role:"img","aria-label":e.label||t.areaChart,onPointerMove:v=>{let p=v.currentTarget.getBoundingClientRect(),g=(v.clientX-p.left)*n/p.width;c[1](Math.max(0,Math.min(s-1,Math.round((g-i-8)/((n-i-16)/Math.max(1,s-1))))))},onPointerLeave:()=>{c[1](null)},children:[[0,.5,1].map(v=>{let p=l-v*(l-12);return(0,_.jsxs)("g",{children:[(0,_.jsx)("line",{className:"grid",x1:i,x2:n,y1:p,y2:p,strokeDasharray:v?"3 5":void 0}),(0,_.jsx)("text",{x:0,y:p+4,children:u(x*v)})]},v)}),r.map((v,p)=>(s<=12||p%Math.ceil(s/8)===0)&&(0,_.jsx)("text",{x:N(p),y:l+18,textAnchor:"middle",children:v},p)),f.slice().reverse().map((v,p)=>{let g=v.hi.map((O,$)=>[N($),C(O)]),y=v.lo.map((O,$)=>[N($),C(O)]).reverse(),E=v.s.tint||"ink",V=Lm(g),U=Lm(y).replace(/^M/,"L");return(0,_.jsxs)("g",{children:[(0,_.jsx)("path",{className:b("tf-area2","tf-af-"+E),d:V+" "+U+" Z"}),(0,_.jsx)("path",{className:b("tf-line","tf-line-"+E),d:V,pathLength:1,style:{strokeWidth:2}})]},p)}),c[0]!=null&&(0,_.jsxs)("g",{children:[(0,_.jsx)("line",{className:"tf-crosshair",x1:N(c[0]),x2:N(c[0]),y1:0,y2:l}),f.map((v,p)=>(0,_.jsx)("circle",{className:b("tf-hoverpt","tf-line-"+(v.s.tint||"ink")),cx:N(c[0]),cy:C(v.hi[c[0]]),r:4},p))]})]}),c[0]!=null&&(0,_.jsx)(Bm,{x:N(c[0])>n-200?N(c[0])-192:N(c[0])+12,y:8,title:r[c[0]],rows:o.slice().reverse().map(v=>({label:v.name,tint:v.tint||"ink",value:u(v.values[c[0]])}))}),e.legend!==!1&&(0,_.jsx)(Mr,{items:o})]})}function Gm(e){let t=w(va),a=e.rows||[],n=e.cols||[],l=e.values||[],i=l.flat(),o=Math.max(...i,1),r=e.format||String,c=kl.useState(null);function u(s){return s<=0?0:Math.min(4,Math.ceil(s/o*4))}return(0,_.jsxs)("div",{className:"tf-heat-wrap",children:[(0,_.jsxs)("div",{className:"tf-heat",style:{gridTemplateColumns:"auto repeat("+n.length+", minmax(0, 1fr))"},role:"img","aria-label":e.label||t.heatmap,onPointerLeave:()=>{c[1](null)},children:[(0,_.jsx)("span",{}),n.map((s,d)=>(0,_.jsx)("span",{className:"tf-heat-col",children:!e.colEvery||d%e.colEvery===0?s:""},"c"+d)),a.map((s,d)=>(0,_.jsxs)(kl.Fragment,{children:[(0,_.jsx)("span",{className:"tf-heat-row",children:s}),n.map((m,f)=>{let x=(l[d]||[])[f]||0;return(0,_.jsx)("span",{className:b("tf-heat-cell","l"+u(x),c[0]&&c[0][0]===d&&c[0][1]===f&&"hov"),style:{animationDelay:`calc(var(--enter-delay, 0ms) + ${f*12+d*30}ms * var(--motion-time, 1))`},onPointerEnter:()=>{c[1]([d,f])},title:s+" "+m+": "+r(x)},f)})]},d))]}),(0,_.jsxs)("div",{className:"tf-heat-foot",children:[(0,_.jsx)("span",{children:c[0]?a[c[0][0]]+" \xB7 "+n[c[0][1]]+" \u2014 "+r((l[c[0][0]]||[])[c[0][1]]||0):e.caption||""}),(0,_.jsxs)("span",{className:"tf-heat-scale",children:[t.less,[0,1,2,3,4].map(s=>(0,_.jsx)("i",{className:"tf-heat-cell l"+s},s)),t.more]})]})]})}function Ym(e){let{formatNumber:t}=J(),a=e.steps||[],n=a[0]&&a[0].value||1,l=e.format||(o=>t(o)),i=Gn(120);return(0,_.jsx)("div",{className:"tf-funnel",children:a.map((o,r)=>{let c=o.value/n*100,u=r?o.value/(a[r-1].value||1)*100:null;return(0,_.jsxs)("div",{className:"tf-funnel-row",children:[(0,_.jsxs)("div",{className:"tf-funnel-label",children:[(0,_.jsx)("b",{children:o.label}),(0,_.jsx)("span",{children:l(o.value)})]}),(0,_.jsxs)("div",{className:"tf-funnel-track",children:[(0,_.jsx)("span",{className:b("tf-funnel-bar","tf-sf-"+(o.tint||e.tint||"sky")),style:{width:(i?Math.max(c,2):0)+"%",transitionDelay:r*90+"ms"}}),(0,_.jsx)("em",{children:Math.round(c)+"%"})]}),(0,_.jsx)("div",{className:"tf-funnel-conv",children:u!=null?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(z,{name:"chevronDown",size:12}),Math.round(u)+"%"]}):""})]},r)})})}function Xm(e){let t=w(va),a=e.size||200,n=e.stroke||18,l=(a-n)/2,i=Math.PI*l,o=e.max||100,r=Math.max(0,Math.min(o,e.value||0)),c=Gn(150),u=e.tint||(e.thresholds?r>=e.thresholds[1]?"blush":r>=e.thresholds[0]?"butter":"mint":"ink");return(0,_.jsxs)("div",{className:"tf-gauge",style:{width:a},children:[(0,_.jsxs)("svg",{width:a,height:a/2+n/2,viewBox:"0 0 "+a+" "+(a/2+n/2),role:"img","aria-label":t.gaugeValue(e.label||t.gauge,r,o),children:[(0,_.jsx)("path",{className:"tf-arc-track",d:"M"+n/2+" "+a/2+" A"+l+" "+l+" 0 0 1 "+(a-n/2)+" "+a/2,strokeWidth:n,strokeLinecap:"round"}),(0,_.jsx)("path",{className:b("tf-gauge-arc","tf-arc-"+u),d:"M"+n/2+" "+a/2+" A"+l+" "+l+" 0 0 1 "+(a-n/2)+" "+a/2,strokeWidth:n,strokeLinecap:"round",strokeDasharray:i,strokeDashoffset:c?i*(1-r/o):i})]}),(0,_.jsxs)("div",{className:"tf-gauge-label",children:[(0,_.jsx)("b",{children:e.format?e.format(r):(0,_.jsx)(vn,{value:r})}),e.caption&&(0,_.jsx)("span",{children:e.caption})]}),e.showRange!==!1&&(0,_.jsxs)("div",{className:"tf-gauge-range",children:[(0,_.jsx)("span",{children:e.format?e.format(0):0}),(0,_.jsx)("span",{children:e.format?e.format(o):o})]})]})}var ke=G(ye(),1),mE=G(ce(),1);function Gs(e){let t=Ne("in"),a=hn(e.name),n=e.id||t,l=e.error||a;return{id:n,error:l,describedBy:l||e.hint?`${n}-msg`:void 0}}function Ys(e,t,a){return(0,ke.jsxs)("div",{className:b("tf-field",e.className),style:e.style,children:[e.label&&(0,ke.jsxs)("label",{className:"tf-field-label",htmlFor:t.id,children:[e.label,e.required&&(0,ke.jsx)("span",{className:"tf-req","aria-hidden":!0,children:" *"})]}),a,t.error?(0,ke.jsxs)("span",{id:`${t.id}-msg`,className:"tf-field-error",role:"alert",children:[(0,ke.jsx)(z,{name:"x",size:12}),t.error]}):e.hint&&(0,ke.jsx)("span",{id:`${t.id}-msg`,className:"tf-field-hint",children:e.hint})]})}function Km(e){let t=Gs(e);return Ys(e,t,(0,ke.jsx)("input",{id:t.id,name:e.name,className:"tf-input",type:e.type||"text",placeholder:e.placeholder,defaultValue:e.defaultValue,value:e.value,onChange:e.onChange,disabled:e.disabled,required:e.required,"aria-invalid":t.error?"true":void 0,"aria-describedby":t.describedBy}))}function Qm(e){let t=Gs(e);return Ys(e,t,(0,ke.jsx)("select",{id:t.id,name:e.name,className:"tf-input",defaultValue:e.defaultValue,value:e.value,onChange:e.onChange,required:e.required,"aria-invalid":t.error?"true":void 0,"aria-describedby":t.describedBy,children:(e.options||[]).map(a=>(0,ke.jsx)("option",{value:a,children:a},a))}))}function Zm(e){let t=Gs(e);return Ys(e,t,(0,ke.jsx)("textarea",{id:t.id,name:e.name,className:"tf-input",placeholder:e.placeholder,value:e.value,defaultValue:e.defaultValue,onChange:e.onChange,disabled:e.disabled,required:e.required,rows:e.rows||4,"aria-invalid":t.error?"true":void 0,"aria-describedby":t.describedBy}))}function Da(e){let t=w();return(0,ke.jsxs)("label",{className:b("tf-search",e.className),style:e.style,children:[(0,ke.jsx)(z,{name:"search",size:15}),(0,ke.jsx)("input",{type:"search",placeholder:e.placeholder||t.search,"aria-label":e.label||e.placeholder||t.search,value:e.value,onChange:e.onChange}),e.shortcut&&(0,ke.jsx)("span",{className:"tf-kbd",children:e.shortcut})]})}function kr(e){return(0,ke.jsxs)("label",{className:"tf-check",children:[(0,ke.jsxs)("span",{className:"tf-checkbox",children:[(0,ke.jsx)("input",{type:"checkbox",name:e.name,value:e.value,required:e.required,defaultChecked:e.defaultChecked,checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-label":e.label}),(0,ke.jsx)("span",{className:"tf-checkbox-box","aria-hidden":!0,children:(0,ke.jsx)("svg",{viewBox:"0 0 24 24",width:14,height:14,fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,ke.jsx)("path",{d:"M5 12.5l4.5 4.5L19 7.5"})})})]}),e.children]})}function Xn(e){return(0,ke.jsxs)("label",{className:"tf-check",style:e.spread?{justifyContent:"space-between",width:"100%"}:void 0,children:[e.spread&&e.children,(0,ke.jsx)("input",{type:"checkbox",role:"switch",className:"tf-switch",name:e.name,defaultChecked:e.defaultChecked,checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-label":e.label}),!e.spread&&e.children]})}function Bi(e){return(0,ke.jsxs)("span",{className:"tf-checkbox",children:[(0,ke.jsx)("input",{type:"checkbox",checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-label":e.label,ref:e.indeterminate!=null?t=>{t&&(t.indeterminate=!!e.indeterminate)}:void 0}),(0,ke.jsx)("span",{className:"tf-checkbox-box","aria-hidden":!0,children:(0,ke.jsx)("svg",{viewBox:"0 0 24 24",width:14,height:14,fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,ke.jsx)("path",{d:e.indeterminate?"M6 12h12":"M5 12.5l4.5 4.5L19 7.5"})})})]})}var de=G(ye(),1),ot=G(ce(),1);function wr(e){let t=e.keys||[e.children];return(0,de.jsx)("span",{className:"tf-kbds",children:t.map((a,n)=>(0,de.jsx)("kbd",{className:"tf-kbd2",children:a},n))})}function Za(e){return(0,de.jsx)("dl",{className:b("tf-kv",e.dense&&"dense",e.className),children:(e.items||[]).map((t,a)=>{let n=Array.isArray(t)?{k:t[0],v:t[1],mono:t[2]}:t;return(0,de.jsxs)("div",{children:[(0,de.jsx)("dt",{children:n.k}),(0,de.jsx)("dd",{className:n.mono?"tf-mono":void 0,children:n.v==null||n.v===""?(0,de.jsx)("span",{className:"tf-kv-empty",children:"\u2014"}):n.v})]},a)})})}function Cr(e){let t=w(yl);return(0,de.jsx)("span",{className:b("tf-spinner",e.size==="lg"&&"lg"),role:"status","aria-label":e.label||t.loading})}function Cl(e){let t=P(e.open,!!e.defaultOpen,e.onOpenChange);return(0,de.jsxs)("div",{className:b("tf-collapse",t[0]&&"open",e.className),children:[(0,de.jsxs)("button",{type:"button",className:"tf-collapse-head","aria-expanded":t[0],onClick:()=>{t[1](!t[0])},children:[(0,de.jsx)(z,{name:"chevronRight",size:14,className:"tf-collapse-chev"}),(0,de.jsx)("b",{children:e.title}),e.meta&&(0,de.jsx)("span",{className:"tf-collapse-meta",children:e.meta})]}),t[0]&&(0,de.jsx)("div",{className:"tf-collapse-body tf-in",children:e.children})]})}function Fm(e){let t=ot.useState(null),a=ot.useRef(null),n=ot.useRef(void 0);Aa(a,!!t[0],()=>{t[1](null)});function l(i,o){if(!a.current)return;let r=a.current.getBoundingClientRect();t[1]({x:i-r.left,y:o-r.top})}return(0,de.jsxs)("div",{ref:a,className:"tf-ctx",onContextMenu:i=>{i.preventDefault(),l(i.clientX,i.clientY)},onTouchStart:i=>{let o=i.touches[0];o&&(n.current=setTimeout(()=>{l(o.clientX,o.clientY)},500))},onTouchEnd:()=>{clearTimeout(n.current)},children:[e.children,t[0]&&(0,de.jsx)("div",{className:"tf-ctx-menu",style:{left:t[0].x,top:t[0].y},children:(0,de.jsx)(At,{items:(e.items||[]).map(i=>i==="-"?i:Object.assign({},i,{onClick:()=>{t[1](null),i.onClick&&i.onClick()}}))})})]})}function Im(e){let t=e.storageKey&&"tf-split-"+e.storageKey,a=e.defaultSize||360;try{let r=t?localStorage.getItem(t):null;r&&(a=+r)}catch{}let n=ot.useState(a),l=ot.useRef(null),i=ot.useRef(!1);function o(r){r=Math.max(e.min||200,Math.min(e.max||720,r)),n[1](r);try{t&&localStorage.setItem(t,String(r))}catch{}}return ot.useEffect(()=>{function r(u){if(!i.current||!l.current)return;let s=l.current.getBoundingClientRect();o(u.clientX-s.left)}function c(){i.current=!1,document.body.style.cursor=""}return window.addEventListener("pointermove",r),window.addEventListener("pointerup",c),()=>{window.removeEventListener("pointermove",r),window.removeEventListener("pointerup",c)}},[]),(0,de.jsxs)("div",{ref:l,className:b("tf-split",e.className),style:{"--split":n[0]+"px"},children:[(0,de.jsx)("div",{className:"tf-split-a",children:e.left}),(0,de.jsx)("div",{className:"tf-split-handle",role:"separator","aria-orientation":"vertical","aria-valuenow":n[0],tabIndex:0,onPointerDown:r=>{r.preventDefault(),i.current=!0,document.body.style.cursor="col-resize"},onDoubleClick:()=>{o(e.defaultSize||360)},onKeyDown:r=>{r.key==="ArrowLeft"&&o(n[0]-16),r.key==="ArrowRight"&&o(n[0]+16)}}),(0,de.jsx)("div",{className:"tf-split-b",children:e.right})]})}function Jm(e){let t=ot.useState(e.defaultOpen||[]),a=P(e.selected,void 0,e.onSelect);function n(l,i){let o=l.children&&l.children.length,r=t[0].indexOf(l.id)>-1;return(0,de.jsxs)("li",{role:"treeitem","aria-expanded":o?r:void 0,"aria-selected":a[0]===l.id,children:[(0,de.jsxs)("div",{className:b("tf-tree-row",a[0]===l.id&&"on"),style:{paddingLeft:8+i*16},tabIndex:0,onClick:()=>{a[1](l.id),o&&t[1](r?t[0].filter(c=>c!==l.id):t[0].concat([l.id]))},onKeyDown:c=>{c.key==="ArrowRight"&&o&&!r&&t[1](t[0].concat([l.id])),c.key==="ArrowLeft"&&r&&t[1](t[0].filter(u=>u!==l.id)),c.key==="Enter"&&a[1](l.id)},children:[o?(0,de.jsx)(z,{name:"chevronRight",size:13,className:b("tf-tree-chev",r&&"open")}):(0,de.jsx)("span",{className:"tf-tree-sp"}),l.icon&&(0,de.jsx)(z,{name:l.icon,size:15}),(0,de.jsx)("span",{className:"tf-tree-label",children:l.label}),l.meta!=null&&(0,de.jsx)("span",{className:"tf-tree-meta",children:l.meta})]}),o&&r&&(0,de.jsx)("ul",{role:"group",children:l.children?.map(c=>n(c,i+1))})]},l.id)}return(0,de.jsx)("ul",{className:"tf-tree",role:"tree","aria-label":e.label,children:(e.items||[]).map(l=>n(l,0))})}function Tr(e){let t=ot.useState(!1),a=ot.useState(e.value);function n(){t[1](!1),a[0]!==e.value&&e.onSave&&e.onSave(a[0])}return t[0]?e.options?(0,de.jsx)("select",{className:"tf-input tf-inline-input",autoFocus:!0,value:a[0],onChange:l=>{a[1](l.target.value)},onBlur:n,onKeyDown:l=>{l.key==="Enter"&&n(),l.key==="Escape"&&t[1](!1)},children:e.options.map(l=>(0,de.jsx)("option",{value:l,children:l},l))}):(0,de.jsx)("input",{className:b("tf-input tf-inline-input",e.mono&&"tf-mono"),autoFocus:!0,value:a[0],type:e.type||"text",onChange:l=>{a[1](l.target.value)},onBlur:n,onKeyDown:l=>{l.key==="Enter"&&n(),l.key==="Escape"&&t[1](!1)}}):(0,de.jsxs)("span",{className:b("tf-inline",e.mono&&"tf-mono",e.align==="right"&&"right"),tabIndex:0,role:"button","aria-label":e.label,onDoubleClick:()=>{a[1](e.value),t[1](!0)},onKeyDown:l=>{l.key==="Enter"&&(a[1](e.value),t[1](!0))},children:[e.display?e.display(e.value):e.value,(0,de.jsx)(z,{name:"edit",size:12,className:"tf-inline-ico"})]})}function Pm(e){let t=w(yl),a=(e.panels||[]).length,n=e.orientation==="vertical",l=e.min??10,i=()=>{let f=Array.from({length:a},()=>100/a),x=e.defaultSizes&&e.defaultSizes.length===a?e.defaultSizes:f;try{let N=e.storageKey?localStorage.getItem("tf-panels-"+e.storageKey):null,C=N?JSON.parse(N):null;if(C&&C.length===a)return C}catch{}return x},[o,r]=ot.useState(i),c=ot.useRef(null),u=ot.useRef(null),s=f=>{r(f);try{e.storageKey&&localStorage.setItem("tf-panels-"+e.storageKey,JSON.stringify(f))}catch{}},d=(f,x)=>{let N=o[f]??0,C=o[f+1]??0,v=Math.max(l-N,Math.min(C-l,x));if(!v)return;let p=o.slice();p[f]=N+v,p[f+1]=C-v,s(p)};ot.useEffect(()=>{let f=N=>{let C=u.current;if(C==null||!c.current)return;let v=c.current.getBoundingClientRect(),p=n?(N.clientY-v.top)/v.height:(N.clientX-v.left)/v.width,g=o.slice(0,C+1).reduce((y,E)=>y+E,0);d(C,p*100-g)},x=()=>{u.current=null,document.body.style.cursor=""};return window.addEventListener("pointermove",f),window.addEventListener("pointerup",x),()=>{window.removeEventListener("pointermove",f),window.removeEventListener("pointerup",x)}});let m=o.map(f=>`minmax(0, ${f}fr)`).join(" 9px ");return(0,de.jsx)("div",{ref:c,className:b("tf-panels",n&&"vertical",e.className),style:{[n?"gridTemplateRows":"gridTemplateColumns"]:m,...e.style},children:(e.panels||[]).map((f,x)=>(0,de.jsxs)(ot.Fragment,{children:[(0,de.jsx)("div",{className:"tf-panels-pane",children:f}),x<a-1&&(0,de.jsx)("div",{className:"tf-panels-handle",role:"separator","aria-orientation":n?"horizontal":"vertical","aria-label":t.resizePanel(e.labels?.[x],x+1),"aria-valuenow":Math.round(o[x]??0),"aria-valuemin":l,"aria-valuemax":Math.round((o[x]??0)+(o[x+1]??0)-l),tabIndex:0,onPointerDown:N=>{N.preventDefault(),u.current=x,document.body.style.cursor=n?"row-resize":"col-resize"},onDoubleClick:()=>s(Array.from({length:a},()=>100/a)),onKeyDown:N=>{let C=n?"ArrowUp":"ArrowLeft",v=n?"ArrowDown":"ArrowRight";N.key===C||N.key===v?(N.preventDefault(),d(x,N.key===v?2:-2)):(N.key==="Home"||N.key==="End")&&(N.preventDefault(),d(x,N.key==="End"?100:-100))}})]},x))})}var T=G(ye(),1),Xs=G(ce(),1);var Ks={tee:"M38 22l-14 8 6 12 8-4v38h48V38l8 4 6-12-14-8c-3 6-10 10-24 10S41 28 38 22z",mug:"M30 34h44v36a8 8 0 0 1-8 8H38a8 8 0 0 1-8-8V34zM74 42h6a8 8 0 0 1 0 16h-6",bottle:"M52 18h16v10l6 8v42a6 6 0 0 1-6 6H52a6 6 0 0 1-6-6V36l6-8V18z",cap:"M24 64c0-20 16-32 36-32s36 12 36 32H24zM24 64h60c8 0 14 4 16 8H24v-8z",tote:"M32 42h56l-4 40H36l-4-40zM46 42v-6a14 14 0 0 1 28 0v6",sneaker:"M20 62l6-20c10 2 18 0 24-6l8 4c4 8 14 12 28 14 8 2 14 6 14 12v4H20v-8z",watch:"M48 20h24v14H48zM48 86h24V72H48zM60 34a20 20 0 1 1 0 40 20 20 0 0 1 0-40zM60 46v10l6 4",lamp:"M44 24h32l10 26H34l10-26zM60 50v28M44 82h32"};function Tl(e){let t=e.size;return(0,T.jsx)("span",{className:b("tf-art","tf-bg-"+(e.tint||"sky"),e.className),style:t?{width:t,height:t}:void 0,role:e.label?"img":void 0,"aria-label":e.label,"aria-hidden":e.label?void 0:!0,children:(0,T.jsx)("svg",{viewBox:"0 0 120 100",fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,T.jsx)("path",{d:Ks[e.kind]||Ks.tote})})})}Tl.kinds=Object.keys(Ks);function Rr(e,t,a){return w0(Number(e),t,void 0,a)}function Qs(){let{locale:e}=J();return(t,a)=>Rr(t,a,e)}function Zs(e){let t=Qs(),{formatPercent:a}=J(),n=e.compareAt&&e.compareAt>e.value;return(0,T.jsxs)("span",{className:b("tf-price",e.size&&"tf-price-"+e.size),children:[(0,T.jsx)("b",{children:t(e.value,e.currency)}),n&&(0,T.jsx)("s",{children:t(e.compareAt??0,e.currency)}),n&&e.showSave!==!1&&(0,T.jsx)("span",{className:"tf-price-save",children:"\u2212"+a(Math.round((1-e.value/(e.compareAt||e.value))*100))})]})}function qi(e){let t=w(ea),{formatNumber:a}=J(),n=e.value||0,l=a(n,{minimumFractionDigits:1,maximumFractionDigits:1});return(0,T.jsxs)("span",{className:"tf-rating",role:"img","aria-label":t.ratingLabel(l,e.count),children:[(0,T.jsx)("span",{className:"tf-stars","aria-hidden":!0,children:[0,1,2,3,4].map(i=>{let o=Math.max(0,Math.min(1,n-i));return(0,T.jsxs)("span",{className:"tf-star",children:[(0,T.jsx)(z,{name:"star",size:e.size||14}),(0,T.jsx)("span",{className:"tf-star-fill",style:{width:o*100+"%"},children:(0,T.jsx)(z,{name:"star",size:e.size||14})})]},i)})}),(0,T.jsx)("b",{children:l}),e.count!=null&&(0,T.jsx)("span",{children:"("+a(e.count)+")"})]})}function Wm(e){let t=w(ea),a=e.stock;return a==null?null:a<=0?(0,T.jsx)(Oe,{tone:"danger",children:t.outOfStock}):a<=(e.low||10)?(0,T.jsx)(Oe,{tone:"warning",children:t.lowStock(a)}):(0,T.jsx)(Oe,{tone:"success",children:e.compact?t.inStock:t.inStockCount(a)})}function ef(e){let t=w(ea);return(0,T.jsxs)("div",{className:b("tf-product",e.className),onClick:e.onClick,children:[(0,T.jsxs)("div",{className:"tf-product-media",children:[(0,T.jsx)(Tl,{kind:e.art,tint:e.tint}),e.badge&&(0,T.jsx)("span",{className:"tf-product-badge",children:(0,T.jsx)(Oe,{tone:e.badgeTone||"highlight",dot:!1,children:e.badge})}),e.onWish&&(0,T.jsx)("button",{type:"button",className:b("tf-product-wish",e.wished&&"on"),"aria-pressed":!!e.wished,"aria-label":`${e.wished?"Remove":"Save"} ${e.name}`,onClick:a=>{a.stopPropagation(),e.onWish?.()},children:(0,T.jsx)(z,{name:"heart",size:16})})]}),(0,T.jsxs)("div",{className:"tf-product-body",children:[(0,T.jsxs)("div",{className:"tf-product-top",children:[(0,T.jsx)("b",{className:"tf-product-name",children:e.name}),e.meta&&(0,T.jsx)("span",{className:"tf-product-meta",children:e.meta})]}),e.rating!=null&&(0,T.jsx)(qi,{value:e.rating,count:e.reviews,size:12}),(0,T.jsxs)("div",{className:"tf-product-foot",children:[(0,T.jsx)(Zs,{value:e.price,compareAt:e.compareAt}),e.onAdd&&(e.stock===0?(0,T.jsx)("span",{className:"tf-card-desc",children:t.soldOut}):(0,T.jsx)(W,{icon:e.added?"check":"plus",label:t.addToCart(e.name),variant:e.added?"solid":"soft",size:"sm",onClick:a=>{a&&a.stopPropagation&&a.stopPropagation(),e.onAdd?.()}}))]})]})]})}function tf(e){let t=w(ea),a=(e.options||[]).map(o=>typeof o=="string"?{value:o,label:o}:o),n=P(e.value,e.defaultValue??"",e.onChange),l=e.type==="color",i=a.find(o=>o.value===n[0]);return(0,T.jsxs)("fieldset",{className:"tf-variants",children:[(0,T.jsxs)("legend",{className:"tf-field-label",children:[e.label,i&&(0,T.jsx)("span",{className:"tf-variants-cur",children:i.label||i.value})]}),(0,T.jsx)("div",{className:b("tf-variants-row",l?"colors":"sizes"),children:a.map(o=>{let r=o.value,c=o.label||o.value,u=r===n[0],s=o.disabled;return(0,T.jsx)("button",{type:"button",className:b("tf-variant",u&&"on",s&&"off"),"aria-pressed":u,disabled:s,"aria-label":l?s?t.variantSoldOut(c):c:void 0,title:l?c:void 0,onClick:()=>{n[1](r)},children:l?(0,T.jsx)("span",{className:"tf-swatch",style:{background:o.color}}):c},r)})})]})}function af(e){let t=w(ea);return(0,T.jsxs)("div",{className:"tf-cartline",children:[(0,T.jsx)(Tl,{kind:e.art,tint:e.tint,size:64}),(0,T.jsxs)("div",{className:"tf-cartline-text",children:[(0,T.jsx)("b",{children:e.name}),e.variant&&(0,T.jsx)("span",{children:e.variant}),e.note&&(0,T.jsx)("span",{className:"tf-cartline-note",children:e.note})]}),e.onQty?(0,T.jsxs)("div",{className:"tf-number tf-number-sm",children:[(0,T.jsx)(W,{icon:e.qty<=1?"trash":"minus",label:e.qty<=1?t.removeItem(e.name):t.oneLess,size:"sm",onClick:()=>{e.qty<=1?e.onRemove&&e.onRemove():e.onQty?.(e.qty-1)}}),(0,T.jsx)("span",{className:"tf-number-input","aria-live":"polite",children:e.qty}),(0,T.jsx)(W,{icon:"plus",label:t.oneMore,size:"sm",onClick:()=>{e.onQty?.(e.qty+1)}})]}):(0,T.jsx)("span",{className:"tf-card-desc",children:"\xD7 "+e.qty}),(0,T.jsx)("b",{className:"tf-cartline-total",children:Rr(e.price*e.qty)})]})}function nf(e){let t=w(ea),a=Qs(),{formatPercent:n}=J(),l=e.lines||[],i=l.reduce((f,x)=>f+x.price*x.qty,0),o=e.discount?e.discount.pct?i*e.discount.pct/100:e.discount.amount||0:0,r=e.shipping!=null?e.shipping:i-o>=(e.freeShippingFrom||75)?0:4.9,c=i-o+r,u=c-c/(1+(e.vat||19)/100),s=Xs.useState(""),d=Xs.useState(null),m=(e.freeShippingFrom||75)-(i-o);return(0,T.jsxs)("div",{className:"tf-summary",children:[e.title!==!1&&(0,T.jsx)("b",{className:"tf-summary-title",children:e.title||t.orderSummary}),e.showLines&&(0,T.jsx)("div",{className:"tf-col",style:{gap:12},children:l.map((f,x)=>(0,T.jsxs)("div",{className:"tf-summary-line",children:[(0,T.jsxs)("span",{className:"tf-summary-thumb",children:[(0,T.jsx)(Tl,{kind:f.art,tint:f.tint,size:40}),(0,T.jsx)("i",{children:f.qty})]}),(0,T.jsxs)("span",{className:"tf-summary-name",children:[f.name,f.variant&&(0,T.jsx)("small",{children:f.variant})]}),(0,T.jsx)("b",{children:a(f.price*f.qty)})]},x))}),m>0&&e.freeShippingFrom!==0&&(0,T.jsxs)("div",{className:"tf-freeship",children:[(0,T.jsx)("span",{children:t.freeShippingIn((0,T.jsx)("b",{children:a(Math.ceil(m*100)/100)}))}),(0,T.jsx)("span",{className:"tf-usage-track",children:(0,T.jsx)("span",{className:"tf-usage-fill tf-sf-mint",style:{width:Math.min(100,(i-o)/(e.freeShippingFrom||75)*100)+"%"}})})]}),e.onCoupon&&(e.discount?(0,T.jsxs)("div",{className:"tf-coupon-on",children:[(0,T.jsx)(z,{name:"tag",size:14}),(0,T.jsx)("b",{children:e.discount.code}),(0,T.jsx)("span",{children:e.discount.label}),(0,T.jsx)("button",{type:"button",className:"tf-linkbtn",onClick:()=>{e.onCoupon?.(null)},children:t.remove})]}):(0,T.jsxs)("form",{className:"tf-coupon",onSubmit:f=>{f.preventDefault();let x=e.onCoupon?.(s[0].trim().toUpperCase());d[1](x===!1?t.invalidCode:null),x!==!1&&s[1]("")},children:[(0,T.jsx)("input",{className:"tf-input",placeholder:t.discountCode,"aria-label":t.discountCode,value:s[0],onChange:f=>{s[1](f.target.value),d[1](null)},"aria-invalid":d[0]?"true":void 0}),(0,T.jsx)(Q,{type:"submit",variant:"soft",disabled:!s[0].trim(),children:t.apply}),d[0]&&(0,T.jsx)("span",{className:"tf-field-error",style:{gridColumn:"1 / -1"},children:d[0]})]})),(0,T.jsxs)("dl",{className:"tf-summary-rows",children:[(0,T.jsxs)("div",{children:[(0,T.jsx)("dt",{children:t.subtotal}),(0,T.jsx)("dd",{children:a(i)})]}),o>0&&(0,T.jsxs)("div",{className:"save",children:[(0,T.jsx)("dt",{children:t.discount}),(0,T.jsx)("dd",{children:"\u2212"+a(o)})]}),(0,T.jsxs)("div",{children:[(0,T.jsx)("dt",{children:t.shipping}),(0,T.jsx)("dd",{children:r===0?t.free:a(r)})]}),(0,T.jsxs)("div",{className:"total",children:[(0,T.jsx)("dt",{children:t.total}),(0,T.jsx)("dd",{children:a(c)})]}),(0,T.jsxs)("div",{className:"vat",children:[(0,T.jsx)("dt",{children:t.inclVat(n(e.vat||19))}),(0,T.jsx)("dd",{children:a(Math.round(u*100)/100)})]})]}),e.action]})}function lf(e){let t=w(ea),a=e.steps||t.checkoutSteps,n=e.current||0;return(0,T.jsx)("ol",{className:"tf-csteps","aria-label":t.checkoutProgress,children:a.map((l,i)=>(0,T.jsx)("li",{className:b(i<n&&"done",i===n&&"cur"),"aria-current":i===n?"step":void 0,children:(0,T.jsxs)("button",{type:"button",disabled:i>n||!e.onPick,onClick:()=>{e.onPick&&e.onPick(i)},children:[(0,T.jsx)("span",{className:"tf-cstep-n",children:i<n?(0,T.jsx)(z,{name:"check",size:12}):i+1}),l]})},l))})}var $m=["Placed","Paid","Packed","Shipped","Delivered"];function of(e){let t=w(ea),a=o=>t.orderStatus[o]??o,n=$m.indexOf(e.status),l=e.times||{},i=e.status==="Cancelled"||e.status==="Refunded";return(0,T.jsxs)("div",{className:b("tf-otl",i&&"cancelled"),children:[$m.map((o,r)=>{let c=!i&&r<=n;return(0,T.jsxs)("div",{className:b("tf-otl-step",c&&"done",r===n&&!i&&"cur"),children:[(0,T.jsx)("span",{className:"tf-otl-dot",children:c?(0,T.jsx)(z,{name:r===n&&o!=="Delivered"?"clock":"check",size:12}):null}),(0,T.jsx)("b",{children:a(o)}),(0,T.jsx)("small",{children:l[o]||(c?"":"\u2014")})]},o)}),i&&(0,T.jsx)("div",{className:"tf-otl-cancel",children:(0,T.jsx)(Oe,{tone:"danger",children:a(e.status)})})]})}function rf(e){let t=w(ea),a=Qs();return(0,T.jsxs)("div",{className:b("tf-plan",e.featured&&"featured",e.current&&"current"),children:[e.featured&&(0,T.jsx)("span",{className:"tf-plan-flag",children:e.flag||t.mostPopular}),(0,T.jsxs)("div",{className:"tf-plan-head",children:[(0,T.jsx)("b",{children:e.name}),e.text&&(0,T.jsx)("span",{children:e.text})]}),(0,T.jsxs)("div",{className:"tf-plan-price",children:[e.price===0?(0,T.jsx)("b",{children:t.free}):e.price==null?(0,T.jsx)("b",{children:t.letsTalk}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("b",{children:a(e.price)}),(0,T.jsx)("span",{children:e.per||t.perSeatMonth})]}),e.was&&(0,T.jsx)("s",{children:a(e.was)})]}),(0,T.jsx)(Q,{variant:e.current?"soft":e.featured?"primary":"secondary",disabled:e.current||e.disabled,onClick:e.onPick,className:"tf-plan-cta",children:e.current?t.currentPlan:e.cta||t.choosePlan(e.name)}),(0,T.jsx)("ul",{className:"tf-plan-feats",children:(e.features||[]).map((n,l)=>(0,T.jsxs)("li",{className:n[0]==="-"?"no":void 0,children:[(0,T.jsx)(z,{name:n[0]==="-"?"minus":"check",size:14}),n.replace(/^-/,"")]},l))})]})}var Y=G(ye(),1),_a=G(ce(),1);var k=G(ye(),1),jt=G(ce(),1);function C6(e){return/^(https?:|mailto:|\/|#|\.)/i.test(e.trim())?e:void 0}function Vi(e,t){let a=[],n=/(\*\*[^*]+\*\*|`[^`]+`|\[[^\]]+\]\([^)]+\))/g,l=0,i,o=0;for(;i=n.exec(e);){i.index>l&&a.push(e.slice(l,i.index));let r=i[0];if(r[0]==="*")a.push((0,k.jsx)("b",{children:r.slice(2,-2)},t+"b"+o++));else if(r[0]==="`")a.push((0,k.jsx)("code",{className:"tf-icode",children:r.slice(1,-1)},t+"c"+o++));else{let c=/\[([^\]]+)\]\(([^)]+)\)/.exec(r);a.push((0,k.jsx)("a",{href:C6(c[2]),target:"_blank",rel:"noreferrer",children:c[1]},t+"a"+o++))}l=i.index+r.length}return l<e.length&&a.push(e.slice(l)),a}function Fs(e){let t=String(e.text||""),a=[],n=t.split(/```/);return n.forEach((l,i)=>{if(i%2===1){let o=l.indexOf(`
|
|
21
|
+
`),r=o>-1?l.slice(0,o).trim():"",c=o>-1?l.slice(o+1):l;a.push((0,k.jsx)(Gi,{lang:r,code:c.replace(/\n$/,""),open:e.streaming&&i===n.length-1},"cb"+i));return}l.split(/\n{2,}/).forEach((o,r)=>{let c=o.split(`
|
|
22
|
+
`).filter(s=>s.trim()!=="");if(!c.length)return;let u=i+"-"+r;c.every(s=>/^\s*[-*] /.test(s))?a.push((0,k.jsx)("ul",{children:c.map((s,d)=>(0,k.jsx)("li",{children:Vi(s.replace(/^\s*[-*] /,""),u+d)},d))},u)):c.every(s=>/^\s*\d+\. /.test(s))?a.push((0,k.jsx)("ol",{children:c.map((s,d)=>(0,k.jsx)("li",{children:Vi(s.replace(/^\s*\d+\. /,""),u+d)},d))},u)):/^#{1,3} /.test(c[0])?a.push((0,k.jsx)("p",{className:"tf-rt-h",children:Vi(c[0].replace(/^#+ /,""),u)},u),c.length>1&&(0,k.jsx)("p",{children:Vi(c.slice(1).join(" "),u+"r")},u+"r")):a.push((0,k.jsx)("p",{children:c.map((s,d)=>(0,k.jsxs)(jt.Fragment,{children:[d>0&&(0,k.jsx)("br",{}),Vi(s,u+d)]},d))},u))})}),(0,k.jsxs)("div",{className:b("tf-rt",e.className),children:[a,e.streaming&&(0,k.jsx)("span",{className:"tf-caret","aria-hidden":!0})]})}function T6(e,t){let a=[],n=/("[^"]*"|'[^']*'|\/\/.*$|#.*$|\b\d+(\.\d+)?\b|\b(?:const|let|var|function|return|if|else|for|await|async|import|from|export|new|true|false|null|SELECT|FROM|WHERE|LIMIT|def|class)\b)/g,l=0,i,o=0;for(;i=n.exec(e);){i.index>l&&a.push(e.slice(l,i.index));let r=i[0],c=/^["']/.test(r)?"s":/^(\/\/|#)/.test(r)?"c":/^\d/.test(r)?"n":"k";a.push((0,k.jsx)("span",{className:"tk-"+c,children:r},t+"-"+o++)),l=i.index+r.length}return l<e.length&&a.push(e.slice(l)),a}function Gi(e){let t=w(Vt),a=jt.useState(!1);function n(){try{navigator.clipboard.writeText(e.code)}catch{}a[1](!0),setTimeout(()=>{a[1](!1)},1400)}return(0,k.jsxs)("div",{className:"tf-code",children:[(0,k.jsxs)("div",{className:"tf-code-head",children:[(0,k.jsx)("span",{children:e.lang||"text"}),(0,k.jsxs)("button",{type:"button",className:"tf-code-copy",onClick:n,"aria-label":t.copyCode,children:[(0,k.jsx)(z,{name:a[0]?"check":"file",size:13}),a[0]?t.copied:t.copy]})]}),(0,k.jsx)("pre",{tabIndex:0,children:(0,k.jsx)("code",{children:String(e.code||"").split(`
|
|
23
|
+
`).map((l,i)=>(0,k.jsxs)("span",{className:"tf-code-line",children:[T6(l,i),`
|
|
24
|
+
`]},i))})})]})}function Yi(e){let t=w(Vt);return(0,k.jsxs)("span",{className:"tf-typing",role:"status","aria-label":e.label||t.working,children:[(0,k.jsx)("i",{}),(0,k.jsx)("i",{}),(0,k.jsx)("i",{})]})}function Kt(e){let t=e.size||32;return(0,k.jsx)("span",{className:b("tf-agentmark","tf-t-"+(e.tint||"lilac"),e.live&&"live",e.className),style:{width:t,height:t},"aria-hidden":!0,children:(0,k.jsx)(z,{name:e.icon||"bot",size:Math.round(t*.5)})})}function cf(e){let t=w(Vt),a=e.role==="user",n=jt.useState(!1),l=jt.useState(e.feedback||null);if(e.role==="system")return(0,k.jsx)("div",{className:"tf-msg-system",children:(0,k.jsx)("span",{children:e.children||e.text})});function i(){try{navigator.clipboard.writeText(e.text||"")}catch{}n[1](!0),setTimeout(()=>{n[1](!1)},1400)}return(0,k.jsxs)("div",{className:b("tf-msg",a?"me":"ai",e.className),children:[a?(0,k.jsx)(qe,{name:e.name||t.you,size:32}):(0,k.jsx)(Kt,{tint:e.tint,live:e.streaming}),(0,k.jsxs)("div",{className:"tf-msg-col",children:[(e.name||e.time)&&(0,k.jsxs)("div",{className:"tf-msg-meta",children:[(0,k.jsx)("b",{children:e.name}),e.time&&(0,k.jsx)("span",{children:e.time}),e.model&&(0,k.jsx)("span",{className:"tf-msg-model",children:e.model})]}),e.before,(e.text||e.children||e.streaming)&&(0,k.jsx)("div",{className:"tf-bubble",children:e.children||(a?(0,k.jsx)("p",{className:"tf-rt-plain",children:e.text}):e.text?(0,k.jsx)(Fs,{text:e.text,streaming:e.streaming}):(0,k.jsx)(Yi,{}))}),e.attachments&&e.attachments.length>0&&(0,k.jsx)("div",{className:"tf-msg-attach",children:e.attachments.map(o=>(0,k.jsxs)("span",{className:"tf-attach-chip",children:[(0,k.jsx)(z,{name:o.kind==="img"?"file":"paperclip",size:13}),o.name,o.size&&(0,k.jsx)("small",{children:o.size})]},o.name))}),e.sources&&e.sources.length>0&&(0,k.jsx)("div",{className:"tf-msg-sources",children:e.sources.map((o,r)=>(0,k.jsxs)("a",{className:"tf-source",href:o.url||"#",onClick:o.onClick?c=>{c.preventDefault(),o.onClick?.()}:void 0,children:[(0,k.jsx)("span",{className:"tf-source-n",children:r+1}),(0,k.jsx)(z,{name:o.icon||"book",size:12}),o.title]},r))}),!a&&!e.streaming&&e.actions!==!1&&(0,k.jsxs)("div",{className:"tf-msg-actions",children:[(0,k.jsx)(et,{label:n[0]?t.copied:t.copy,children:(0,k.jsx)("button",{type:"button",className:"tf-msg-act","aria-label":t.copyReply,onClick:i,children:(0,k.jsx)(z,{name:n[0]?"check":"file",size:14})})}),e.onRetry&&(0,k.jsx)(et,{label:t.regenerate,children:(0,k.jsx)("button",{type:"button",className:"tf-msg-act","aria-label":t.regenerateReply,onClick:e.onRetry,children:(0,k.jsx)(z,{name:"refresh",size:14})})}),(0,k.jsx)(et,{label:t.goodReply,children:(0,k.jsx)("button",{type:"button",className:b("tf-msg-act",l[0]==="up"&&"on"),"aria-pressed":l[0]==="up","aria-label":t.goodReply,onClick:()=>{l[1](l[0]==="up"?null:"up"),e.onFeedback&&e.onFeedback("up")},children:(0,k.jsx)(z,{name:"thumbUp",size:14})})}),(0,k.jsx)(et,{label:t.badReply,children:(0,k.jsx)("button",{type:"button",className:b("tf-msg-act",l[0]==="down"&&"on"),"aria-pressed":l[0]==="down","aria-label":t.badReply,onClick:()=>{l[1](l[0]==="down"?null:"down"),e.onFeedback&&e.onFeedback("down")},children:(0,k.jsx)(z,{name:"thumbDown",size:14})})}),e.usage&&(0,k.jsx)("span",{className:"tf-msg-usage",children:e.usage})]}),e.after]})]})}var R6={running:null,done:"check",error:"x",waiting:"clock"};function sf(e){let t=w(Vt),a=jt.useState(!!e.defaultOpen),n=e.status||"done";return(0,k.jsxs)("div",{className:b("tf-tool","is-"+n,a[0]&&"open"),children:[(0,k.jsxs)("button",{type:"button",className:"tf-tool-head","aria-expanded":a[0],onClick:()=>{a[1](!a[0])},children:[(0,k.jsx)("span",{className:"tf-tool-ico",children:n==="running"?(0,k.jsx)("span",{className:"tf-spin","aria-hidden":!0}):(0,k.jsx)(z,{name:R6[n]||"zap",size:12})}),(0,k.jsx)(z,{name:e.icon||"zap",size:14,className:"tf-tool-kind"}),(0,k.jsx)("b",{children:e.name}),(0,k.jsx)("span",{className:"tf-tool-sum",children:e.summary}),e.duration&&(0,k.jsx)("span",{className:"tf-tool-time",children:e.duration}),(0,k.jsx)(z,{name:"chevronDown",size:14,className:"tf-tool-chev"})]}),a[0]&&(0,k.jsxs)("div",{className:"tf-tool-body",children:[e.input!=null&&(0,k.jsxs)("div",{children:[(0,k.jsx)("span",{className:"tf-tool-label",children:t.toolInput}),(0,k.jsx)("pre",{children:typeof e.input=="string"?e.input:JSON.stringify(e.input,null,2)})]}),e.output!=null&&(0,k.jsxs)("div",{children:[(0,k.jsx)("span",{className:"tf-tool-label",children:n==="error"?t.toolError:t.toolResult}),(0,k.jsx)("pre",{className:n==="error"?"err":void 0,children:typeof e.output=="string"?e.output:JSON.stringify(e.output,null,2)})]})]})]})}function uf(e){let t=w(Vt),a=jt.useState(!!e.defaultOpen);return(0,k.jsxs)("div",{className:b("tf-reason",a[0]&&"open",e.streaming&&"live"),children:[(0,k.jsxs)("button",{type:"button",className:"tf-reason-head","aria-expanded":a[0],onClick:()=>{a[1](!a[0])},children:[(0,k.jsx)(z,{name:"sparkle",size:13}),e.streaming?t.thinking:t.thoughtFor(e.duration),(0,k.jsx)(z,{name:"chevronDown",size:13,className:"tf-tool-chev"})]}),a[0]&&(0,k.jsx)("div",{className:"tf-reason-body",children:e.steps?(0,k.jsx)("ol",{children:e.steps.map((n,l)=>(0,k.jsx)("li",{children:n},l))}):e.text})]})}function df(e){return(0,k.jsx)("div",{className:"tf-starters",children:(e.items||[]).map((t,a)=>(0,k.jsxs)("button",{type:"button",className:"tf-starter tf-in",style:{"--d":a*60+"ms"},onClick:()=>{e.onPick&&e.onPick(t.prompt||t.title)},children:[(0,k.jsx)(re,{icon:t.icon||"sparkle",tint:t.tint||"sky"}),(0,k.jsx)("b",{children:t.title}),t.text&&(0,k.jsx)("span",{children:t.text})]},a))})}function Is(e){let t=w(Vt),a=e.models||[],n=a.find(l=>l.id===e.value)||a[0]||{};return(0,k.jsx)(Ue,{side:e.side||"top",width:300,flush:!0,trigger:l=>(0,k.jsxs)("button",{type:"button",className:"tf-model-btn","aria-haspopup":"menu","aria-expanded":l.open,onClick:l.toggle,children:[(0,k.jsx)(z,{name:"sparkle",size:13}),n.label,(0,k.jsx)(z,{name:"chevronDown",size:13})]}),children:l=>(0,k.jsxs)("div",{className:"tf-menu tf-menu-static",role:"menu",children:[(0,k.jsx)("div",{className:"tf-menu-label",children:t.model}),a.map(i=>(0,k.jsxs)("button",{type:"button",role:"menuitemradio","aria-checked":i.id===n.id,className:"tf-menu-item tf-model-item",onClick:()=>{e.onChange&&e.onChange(i.id),l.close()},children:[(0,k.jsxs)("span",{className:"tf-option-text",children:[(0,k.jsx)("b",{children:i.label}),i.hint&&(0,k.jsx)("small",{children:i.hint})]}),i.id===n.id&&(0,k.jsx)(z,{name:"check",size:15})]},i.id))]})})}function mf(e){let t=w(Vt),a=jt.useRef(null),n=jt.useRef(null),l=P(e.value,"",e.onChange),i=e.attachments||[],o=jt.useState(0),r=(e.commands||[]).filter(s=>/^\/\S*$/.test(l[0])&&("/"+s.name).indexOf(l[0])===0);jt.useLayoutEffect(()=>{let s=n.current;s&&(s.style.height="auto",s.style.height=Math.min(s.scrollHeight,200)+"px")},[l[0]]);function c(){e.busy||!l[0].trim()&&!i.length||(e.onSend&&e.onSend(l[0],i),l[1](""))}function u(s){l[1](""),e.onCommand?e.onCommand(s):l[1]((s.insert||"")+" "),n.current&&n.current.focus()}return(0,k.jsxs)("div",{className:b("tf-composer",e.busy&&"busy"),onDragOver:s=>{e.onAttach&&s.preventDefault()},onDrop:s=>{e.onAttach&&(s.preventDefault(),e.onAttach?.(s.dataTransfer.files))},children:[r.length>0&&(0,k.jsxs)("div",{className:"tf-popover tf-composer-cmds top",role:"listbox",children:[(0,k.jsx)("div",{className:"tf-menu-label",children:t.commands}),r.map((s,d)=>(0,k.jsxs)("button",{type:"button",role:"option","aria-selected":d===o[0],className:b("tf-option",d===o[0]&&"active"),onPointerDown:m=>{m.preventDefault()},onClick:()=>{u(s)},children:[(0,k.jsx)(z,{name:s.icon||"zap",size:15}),(0,k.jsxs)("span",{className:"tf-option-text",children:[(0,k.jsx)("b",{children:"/"+s.name}),s.hint&&(0,k.jsx)("small",{children:s.hint})]})]},s.name))]}),i.length>0&&(0,k.jsx)("div",{className:"tf-composer-files",children:i.map((s,d)=>(0,k.jsxs)("span",{className:"tf-attach-chip",children:[(0,k.jsx)(z,{name:"paperclip",size:13}),s.name,e.onRemoveAttachment&&(0,k.jsx)("button",{type:"button","aria-label":t.removeItem(s.name),onClick:()=>{e.onRemoveAttachment?.(d)},children:(0,k.jsx)(z,{name:"x",size:12})})]},s.name+d))}),(0,k.jsx)("textarea",{ref:n,rows:1,className:"tf-composer-input",placeholder:e.placeholder||t.messagePlaceholder,"aria-label":e.label||e.placeholder||t.message,value:l[0],disabled:e.disabled,onChange:s=>{l[1](s.target.value),o[1](0)},onKeyDown:s=>{if(r.length){if(s.key==="ArrowDown"){s.preventDefault(),o[1]((o[0]+1)%r.length);return}if(s.key==="ArrowUp"){s.preventDefault(),o[1]((o[0]-1+r.length)%r.length);return}if(s.key==="Enter"||s.key==="Tab"){s.preventDefault(),u(r[o[0]]);return}}s.key==="Enter"&&!s.shiftKey&&!s.nativeEvent.isComposing&&(s.preventDefault(),c())}}),(0,k.jsxs)("div",{className:"tf-composer-bar",children:[e.onAttach&&(0,k.jsx)(et,{label:t.attachFiles,children:(0,k.jsxs)("button",{type:"button",className:"tf-composer-tool","aria-label":t.attachFiles,onClick:()=>a.current?.click(),children:[(0,k.jsx)(z,{name:"paperclip",size:16}),(0,k.jsx)("input",{ref:a,type:"file",multiple:!0,hidden:!0,tabIndex:-1,onChange:s=>{s.target.files&&e.onAttach?.(s.target.files),s.target.value=""}})]})}),e.commands&&(0,k.jsx)(et,{label:t.commands,shortcut:"/",children:(0,k.jsx)("button",{type:"button",className:"tf-composer-tool","aria-label":t.commands,onClick:()=>{l[1]("/"),n.current&&n.current.focus()},children:(0,k.jsx)(z,{name:"code",size:16})})}),e.models&&(0,k.jsx)(Is,{models:e.models,value:e.model,onChange:e.onModel}),e.left,(0,k.jsx)("span",{className:"tf-composer-hint",children:e.hint!=null?e.hint:t.composerHint}),e.busy?(0,k.jsx)("button",{type:"button",className:"tf-send stop","aria-label":t.stop,onClick:e.onStop,children:(0,k.jsx)("span",{className:"tf-stop-sq"})}):(0,k.jsx)("button",{type:"button",className:"tf-send","aria-label":t.send,disabled:!l[0].trim()&&!i.length,onClick:c,children:(0,k.jsx)(z,{name:"arrowUp",size:16})})]})]})}var E6={Running:"success",Thinking:"info","Waiting for approval":"highlight",Idle:"neutral",Paused:"neutral",Error:"danger"};function ff(e){let t=w(Vt),a=e.status||"Idle";return(0,k.jsxs)("span",{className:"tf-agentstatus",children:[(0,k.jsx)(Oe,{tone:E6[a]||"neutral",live:a==="Running"||a==="Thinking",children:t.agentStatus[a]??a}),e.step&&(0,k.jsx)("span",{className:"tf-agentstatus-step",children:e.step})]})}var A6={model:"sparkle",tool:"zap",search:"search",approval:"lock",message:"send",error:"x",memory:"book"};function hf(e){let t=w(Vt),{formatNumber:a}=J(),n=e.steps||[],l=n.reduce((r,c)=>Math.max(r,(c.start||0)+(c.ms||0)),1),i=jt.useState(e.defaultOpen!=null?e.defaultOpen:null);function o(r){return r>=1e3?`${a(r/1e3,{minimumFractionDigits:1,maximumFractionDigits:1})} s`:`${a(r)} ms`}return(0,k.jsxs)("div",{className:"tf-trace",children:[(0,k.jsxs)("div",{className:"tf-trace-head",children:[(0,k.jsx)("span",{children:t.step}),(0,k.jsx)("span",{children:t.timeline(o(l))})]}),n.map((r,c)=>{let u=i[0]===c,s=r.status||"done";return(0,k.jsxs)("div",{className:b("tf-trace-row","is-"+s,u&&"open"),children:[(0,k.jsxs)("button",{type:"button",className:"tf-trace-main","aria-expanded":u,onClick:()=>{i[1](u?null:c)},children:[(0,k.jsx)("span",{className:b("tf-trace-ico","k-"+(r.kind||"tool")),children:(0,k.jsx)(z,{name:r.kind&&A6[r.kind]||"zap",size:13})}),(0,k.jsxs)("span",{className:"tf-trace-label",children:[(0,k.jsx)("b",{children:r.label}),r.meta&&(0,k.jsx)("small",{children:r.meta})]}),(0,k.jsxs)("span",{className:"tf-trace-bar",children:[(0,k.jsx)("i",{style:{left:(r.start||0)/l*100+"%",width:Math.max(1.5,(r.ms||0)/l*100)+"%"}}),(0,k.jsx)("em",{children:s==="running"?t.stepRunning:o(r.ms||0)})]})]}),u&&r.detail&&(0,k.jsx)("div",{className:"tf-trace-detail tf-in",children:typeof r.detail=="string"?(0,k.jsx)("pre",{children:r.detail}):r.detail})]},c)}),e.footer&&(0,k.jsx)("div",{className:"tf-trace-foot",children:e.footer})]})}function vf(e){let t=w(Vt),a=Math.min(100,(e.used||0)/(e.limit||1)*100),n=a>=90?"blush":a>=70?"butter":"mint";return(0,k.jsxs)("div",{className:"tf-usage",children:[(0,k.jsxs)("div",{className:"tf-usage-top",children:[(0,k.jsx)("span",{children:e.label||t.context}),(0,k.jsx)("b",{children:(e.format||String)(e.used)+" / "+(e.format||String)(e.limit)})]}),(0,k.jsx)("span",{className:"tf-usage-track",children:(0,k.jsx)("span",{className:"tf-usage-fill tf-sf-"+n,style:{width:a+"%"}})}),e.caption&&(0,k.jsx)("small",{children:e.caption})]})}function pf(e){let t=_a.useRef(null),a=_a.useRef(!1);return _a.useEffect(()=>{e.follow!==!1&&!a.current&&t.current&&(t.current.scrollTop=t.current.scrollHeight)},[(e.lines||[]).length]),(0,Y.jsxs)("div",{className:b("tf-log",e.className),style:{maxHeight:e.maxHeight},children:[e.title&&(0,Y.jsxs)("div",{className:"tf-code-head",children:[(0,Y.jsx)("span",{children:e.title}),e.right]}),(0,Y.jsx)("pre",{ref:t,onPointerEnter:()=>{a.current=!0},onPointerLeave:()=>{a.current=!1},children:(e.lines||[]).map((n,l)=>{let i=typeof n=="string"?{text:n}:n;return(0,Y.jsxs)("span",{className:b("tf-log-line",i.level&&"lv-"+i.level,i.fresh&&"fresh"),children:[e.numbers!==!1&&(0,Y.jsx)("i",{children:l+1}),i.time&&(0,Y.jsx)("em",{children:i.time}),i.text,`
|
|
25
|
+
`]},l)})})]})}function gf(e){let t=typeof e.value=="string"?e.value:JSON.stringify(e.value,null,2);return(0,Y.jsx)(Gi,{code:t,lang:e.lang||(typeof e.value=="string"?"text":"json")})}function bf(e){let t=w(Ln),a=_a.useState(!1),n=_a.useState(!1),l=(e.prefix||"")+"\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"+(e.last4||"");return(0,Y.jsxs)("div",{className:"tf-secret",children:[(0,Y.jsx)(z,{name:"key",size:15}),(0,Y.jsx)("span",{className:"tf-mono tf-secret-val",children:a[0]&&e.value?e.value:l}),e.meta&&(0,Y.jsx)("span",{className:"tf-secret-meta",children:e.meta}),(0,Y.jsxs)("span",{className:"tf-row",style:{flexWrap:"nowrap",gap:4},children:[e.onReveal&&(0,Y.jsx)(et,{label:a[0]?t.hide:t.reveal,children:(0,Y.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-ghost tf-iconbtn-sm","aria-label":a[0]?t.hide:t.reveal,onClick:()=>{if(a[0])return a[1](!1);Promise.resolve(e.onReveal?.()).then(i=>{i!==!1&&a[1](!0)})},children:(0,Y.jsx)(z,{name:"eye",size:16})})}),e.onCopy&&(0,Y.jsx)(et,{label:n[0]?t.copied:t.copy,children:(0,Y.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-ghost tf-iconbtn-sm","aria-label":t.copy,onClick:()=>{e.onCopy?.(),n[1](!0),setTimeout(()=>{n[1](!1)},1400)},children:(0,Y.jsx)(z,{name:n[0]?"check":"file",size:16})})}),e.onRotate&&(0,Y.jsx)(Q,{size:"sm",variant:"soft",icon:"refresh",onClick:e.onRotate,children:t.rotate})]})]})}function yf(e){let t=w(Ln),{formatMoney:a,formatNumber:n,formatPercent:l}=J(),i=Ne("mi"),o=P(e.value,e.defaultValue!=null?e.defaultValue:null,e.onChange),r=_a.useState(o[0]!=null?n(o[0],{minimumFractionDigits:2,maximumFractionDigits:2}):""),c=(n(1.5).match(/[^0-9]/)||["."])[0];function u(d){let m=d.replace(new RegExp("[^0-9"+(c===","?",":".")+"-]","g"),"").replace(",","."),f=parseFloat(m);return isNaN(f)?null:Math.round(f*100)/100}let s=a(0,e.currency).replace(/[\d.,\s]/g,"");return(0,Y.jsxs)(ft,{id:i,label:e.label,hint:e.hint,error:e.error,required:e.required,children:[(0,Y.jsxs)("div",{className:"tf-money",children:[(0,Y.jsxs)("span",{className:"tf-inputwrap",style:{flex:1},children:[(0,Y.jsx)("input",{id:i,className:"tf-input tf-money-input",inputMode:"decimal",value:r[0],placeholder:n(0,{minimumFractionDigits:2}),onChange:d=>{r[1](d.target.value)},onBlur:()=>{let d=u(r[0]);o[1](d),r[1](d==null?"":n(d,{minimumFractionDigits:2,maximumFractionDigits:2}))}}),(0,Y.jsx)("span",{className:"tf-input-suffix",children:s})]}),e.vatOptions&&(0,Y.jsx)("select",{className:"tf-input tf-money-vat","aria-label":t.vatRate,value:e.vat,onChange:d=>{e.onVat&&e.onVat(d.target.value)},children:e.vatOptions.map(d=>{let m=typeof d=="object"?d:{value:d,label:l(Number(d))};return(0,Y.jsx)("option",{value:m.value,children:m.label},m.value)})})]}),e.showGross&&o[0]!=null&&e.vat!=null&&!isNaN(+e.vat)&&(0,Y.jsx)("span",{className:"tf-field-hint",children:t.gross(a(o[0]*(1+Number(e.vat)/100),e.currency,{minimumFractionDigits:2}))})]})}function xf(e){return(0,Y.jsxs)("div",{className:"tf-settings",children:[(e.sections||[]).map((t,a)=>(0,Y.jsxs)("section",{className:"tf-settings-row",children:[(0,Y.jsxs)("div",{className:"tf-settings-label",children:[(0,Y.jsx)("b",{children:t.title}),t.text&&(0,Y.jsx)("span",{children:t.text}),t.badge]}),(0,Y.jsx)("div",{className:"tf-settings-ctl",children:t.children})]},t.id||a)),e.footer&&(0,Y.jsx)("div",{className:"tf-settings-foot",children:e.footer})]})}function Nf(e){let t=w(Ln),a=xt(!!e.open);return _a.useEffect(()=>{if(!e.open)return;function n(l){l.key==="Escape"&&e.onClose&&e.onClose()}return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[e.open]),a.mounted?(0,Y.jsx)(Ea,{children:(0,Y.jsxs)("div",{...dt(a.closing),className:"tf-overlay",children:[(0,Y.jsx)("div",{className:"tf-backdrop",onClick:e.onClose}),(0,Y.jsxs)("div",{className:"tf-modal tf-shortcuts",role:"dialog","aria-modal":"true","aria-label":e.title||t.keyboardShortcuts,children:[(0,Y.jsxs)("div",{className:"tf-row",style:{justifyContent:"space-between"},children:[(0,Y.jsx)("h2",{className:"tf-modal-title",children:e.title||t.keyboardShortcuts}),(0,Y.jsx)(W,{icon:"x",label:t.close,size:"sm",onClick:e.onClose})]}),(0,Y.jsx)("div",{className:"tf-shortcuts-grid",children:(e.groups||[]).map(n=>(0,Y.jsxs)("div",{className:"tf-shortcuts-group",children:[(0,Y.jsx)("span",{className:"tf-menu-label",children:n.title}),n.items.map(l=>(0,Y.jsxs)("div",{className:"tf-shortcut",children:[(0,Y.jsx)("span",{children:l[0]}),(0,Y.jsx)(wr,{keys:l[1]})]},l[0]))]},n.title))})]})]})}):null}function zf(e){let{formatNumber:t}=J(),a=e.delta!=null&&e.delta>=0,n=e.invert?!a:a;return(0,Y.jsxs)("div",{className:b("tf-statcell",e.tint&&"tf-bg-"+e.tint,e.className),children:[(0,Y.jsxs)("div",{className:"tf-statcell-top",children:[(0,Y.jsx)("span",{className:"tf-statcell-label",children:e.label}),e.icon&&(0,Y.jsx)(re,{icon:e.icon,tint:e.iconTint||"plain"})]}),(0,Y.jsxs)("div",{className:"tf-statcell-mid",children:[(0,Y.jsxs)("div",{style:{minWidth:0},children:[typeof e.value=="string"||typeof e.value=="number"?(0,Y.jsx)(vn,{className:"tf-statcell-value",value:e.value}):(0,Y.jsx)("span",{className:"tf-statcell-value",children:e.value}),e.delta!=null&&(0,Y.jsxs)("div",{className:b("tf-delta",n?"good":"bad"),children:[(0,Y.jsx)("span",{"aria-hidden":!0,children:a?"\u25B2":"\u25BC"})," ",(e.deltaText||t(Math.abs(e.delta),{maximumFractionDigits:1})+"%")+(e.compare?" "+e.compare:"")]})]}),e.spark&&(0,Y.jsx)("div",{className:"tf-statcell-spark",children:(0,Y.jsx)(wl,{values:e.spark,tint:n?"mint":"blush",width:88,height:32})})]})]})}function Er(e){let t=w(Ln),{formatPercent:a}=J(),n=(e.days||[]).map(i=>typeof i=="string"?{status:i}:i),l=_a.useState(null);return(0,Y.jsxs)("div",{className:"tf-uptime",children:[(0,Y.jsx)("div",{className:"tf-uptime-bar",onPointerLeave:()=>{l[1](null)},children:n.map((i,o)=>(0,Y.jsx)("i",{className:"st-"+(i.status||"none"),onPointerEnter:()=>{l[1](o)}},o))}),(0,Y.jsxs)("div",{className:"tf-uptime-foot",children:[(0,Y.jsx)("span",{children:l[0]!=null?(n[l[0]].label||t.daysAgo(n.length-l[0]-1))+(n[l[0]].note?" \xB7 "+n[l[0]].note:""):e.caption||t.lastDays(n.length)}),e.uptime!=null&&(0,Y.jsx)("b",{className:"tf-mono",children:a(e.uptime,{maximumFractionDigits:2})})]})]})}function Kn(e){let{formatPercent:t}=J(),a=Math.max(0,Math.min(100,(e.value||0)/(e.max||100)*100)),n=e.tone||(a>=(e.danger||90)?"blush":a>=(e.warn||75)?"butter":"mint");return(0,Y.jsxs)("div",{className:"tf-meter",children:[(0,Y.jsxs)("div",{className:"tf-usage-top",children:[(0,Y.jsx)("span",{children:e.label}),(0,Y.jsx)("b",{children:e.text||t(a)})]}),(0,Y.jsx)("span",{className:"tf-usage-track",children:(0,Y.jsx)("span",{className:"tf-usage-fill tf-sf-"+n,style:{width:a+"%"}})})]})}function Mf(e){let t=w(ut),{formatNumber:a}=J(),n=Ne("rs"),l=e.min||0,i=e.max!=null?e.max:100,o=e.step||1,r=e.format||a,c=P(e.value,e.defaultValue||[l,i],e.onChange),u=c[0][0],s=c[0][1];function d(f){return(f-l)/(i-l)*100}function m(f,x){let N=Math.max(l,Math.min(i,Number(x))),C=c[0].slice();C[f]=N,C[0]>C[1]&&(C=f?[N,N]:[N,N]),c[1](C)}return(0,h.jsx)(ft,{id:n,label:e.label,hint:e.hint,children:(0,h.jsxs)("div",{className:"tf-range",children:[(0,h.jsxs)("div",{className:"tf-range-track",children:[(0,h.jsx)("span",{style:{left:d(u)+"%",width:d(s)-d(u)+"%"}}),(0,h.jsx)("input",{type:"range",min:l,max:i,step:o,value:u,"aria-label":t.minimum,onChange:f=>{m(0,f.target.value)}}),(0,h.jsx)("input",{type:"range",min:l,max:i,step:o,value:s,"aria-label":t.maximum,onChange:f=>{m(1,f.target.value)}})]}),e.inputs!==!1?(0,h.jsxs)("div",{className:"tf-range-inputs",children:[(0,h.jsxs)("label",{className:"tf-range-num",children:[(0,h.jsx)("small",{children:t.min}),(0,h.jsx)("input",{id:n,className:"tf-input",inputMode:"numeric",value:a(u),onChange:f=>{m(0,f.target.value.replace(/\D/g,"")||l)}}),e.unit&&(0,h.jsx)("span",{children:e.unit})]}),(0,h.jsx)("span",{className:"tf-range-dash","aria-hidden":!0,children:"\u2013"}),(0,h.jsxs)("label",{className:"tf-range-num",children:[(0,h.jsx)("small",{children:t.max}),(0,h.jsx)("input",{className:"tf-input",inputMode:"numeric",value:a(s),onChange:f=>{m(1,f.target.value.replace(/\D/g,"")||i)}}),e.unit&&(0,h.jsx)("span",{children:e.unit})]})]}):(0,h.jsxs)("div",{className:"tf-range-vals",children:[(0,h.jsx)("span",{children:r(u)}),(0,h.jsx)("span",{children:s>=i&&e.openEnd?r(s)+"+":r(s)})]})]})})}function kf(e){let{formatNumber:t}=J(),a=e.items||[],n=Math.max.apply(null,a.map(i=>i.value).concat([1])),l=e.format||t;return(0,h.jsx)("div",{className:"tf-barlist",role:"list","aria-label":e.label,children:a.map((i,o)=>(0,h.jsxs)("div",{role:"listitem",className:b("tf-barlist-row",e.onPick&&"is-btn"),onClick:e.onPick&&(()=>{e.onPick?.(i)}),children:[(0,h.jsx)("span",{className:b("tf-barlist-bar",i.tint&&"tf-t-"+i.tint),style:{width:i.value/n*100+"%"}}),(0,h.jsxs)("span",{className:"tf-barlist-label",children:[i.mark&&(0,h.jsx)("span",{className:"tf-barlist-mark","aria-hidden":!0,children:i.mark}),i.label]}),(0,h.jsxs)("span",{className:"tf-barlist-val",children:[l(i.value),i.share!=null&&(0,h.jsx)("small",{children:t(i.share,{style:"percent",maximumFractionDigits:1})})]})]},i.id||(typeof i.label=="string"?i.label:o)))})}function Ar(e){let t=e.options||[],a=P(e.value,e.defaultValue!=null?e.defaultValue:t[0]&&t[0].value,e.onChange),n=t.find(l=>l.value===a[0])||t[0]||{};return(0,h.jsx)(Ue,{width:e.width||220,trigger:l=>(0,h.jsxs)("button",{type:"button",className:b("tf-statussel",e.size==="sm"&&"sm"),"aria-haspopup":"listbox","aria-expanded":l.open,"aria-label":e.label?`${e.label}: ${n.label??""}`:void 0,onClick:i=>{i.stopPropagation(),l.toggle()},children:[(0,h.jsx)(Ee,{status:n.status||"idle"}),(0,h.jsx)("span",{children:n.label}),(0,h.jsx)(z,{name:"chevronDown",size:13})]}),children:l=>(0,h.jsx)("div",{className:"tf-menu",role:"listbox","aria-label":e.label,children:t.map(i=>(0,h.jsxs)("button",{type:"button",role:"option","aria-selected":i.value===a[0],className:b("tf-menu-item",i.value===a[0]&&"on"),onClick:()=>{a[1](i.value),l.close&&l.close()},children:[(0,h.jsx)(Ee,{status:i.status||"idle"}),(0,h.jsx)("span",{style:{flex:1},children:i.label}),i.value===a[0]&&(0,h.jsx)(z,{name:"check",size:14})]},i.value))})})}function wf(e){let t=!!e.multiple,a=P(e.value,e.defaultValue!=null?e.defaultValue:t?[]:null,e.onChange),n=t?a[0]||[]:[];function l(o){return t?n.indexOf(o)>-1:a[0]===o}function i(o){if(!t)return a[1](o);a[1](l(o)?n.filter(r=>r!==o):n.concat([o]))}return(0,h.jsx)("div",{className:"tf-tiles",role:t?"group":"radiogroup","aria-label":e.label,style:{gridTemplateColumns:"repeat(auto-fill, minmax("+(e.min||120)+"px, 1fr))"},children:(e.options||[]).map(o=>(0,h.jsxs)("button",{type:"button",role:t?"checkbox":"radio","aria-checked":l(o.value),disabled:o.disabled,className:b("tf-tile",l(o.value)&&"on"),onClick:()=>{i(o.value)},children:[(0,h.jsx)("span",{className:b("tf-tile-art",o.tint&&"tf-t-"+o.tint),style:o.color?{background:o.color}:void 0,children:o.image?(0,h.jsx)("img",{src:o.image,alt:""}):o.icon?(0,h.jsx)(z,{name:o.icon,size:22}):o.art}),(0,h.jsxs)("span",{className:"tf-tile-label",children:[o.label,o.meta&&(0,h.jsx)("small",{children:o.meta})]}),l(o.value)&&(0,h.jsx)("span",{className:"tf-tile-check","aria-hidden":!0,children:(0,h.jsx)(z,{name:"check",size:12})})]},o.value))})}function Cf(e){let t=w(ut),{formatMoney:a}=J(),n=P(e.paused,!1,e.onPause),l=Pe.useRef(null),i=Pe.useState(null);(!n[0]||!l.current)&&(l.current=e.items||[]);let o=l.current,r=(n[0]?o:e.items||[]).filter(s=>!i[0]||s.type===i[0]),c=n[0]?Math.max(0,(e.items||[]).length-o.length):0,u=e.types||[];return(0,h.jsxs)("div",{className:"tf-livefeed",children:[(0,h.jsxs)("div",{className:"tf-livefeed-head",children:[(0,h.jsxs)("span",{className:b("tf-live",n[0]&&"off"),children:[(0,h.jsx)("span",{className:"tf-live-dot","aria-hidden":!0}),n[0]?t.paused:t.live]}),u.length>0&&(0,h.jsxs)("div",{className:"tf-row",style:{gap:4},children:[(0,h.jsx)(q0,{selected:!i[0],onClick:()=>{i[1](null)},children:t.all}),u.map(s=>(0,h.jsx)(q0,{selected:i[0]===s.value,onClick:()=>{i[1](i[0]===s.value?null:s.value)},children:s.label},s.value))]}),(0,h.jsx)("span",{style:{flex:1}}),c>0&&(0,h.jsx)("button",{type:"button",className:"tf-livefeed-new",onClick:()=>{n[1](!1)},children:t.newCount(c)}),(0,h.jsx)(W,{icon:n[0]?"play":"pause",size:"sm",label:n[0]?t.resume:t.pause,onClick:()=>{n[1](!n[0])}})]}),(0,h.jsx)("div",{className:"tf-livefeed-list",role:"log","aria-live":n[0]?"off":"polite",style:e.maxHeight?{maxHeight:e.maxHeight}:void 0,children:r.length===0?(0,h.jsx)("p",{className:"tf-card-desc",style:{padding:16},children:e.emptyText||t.waitingForEvents}):r.map(s=>(0,h.jsxs)("div",{className:b("tf-livefeed-row",s.fresh&&"fresh"),children:[(0,h.jsx)(re,{icon:s.icon||"zap",tint:s.tint||"sky",size:32}),(0,h.jsxs)("span",{className:"tf-livefeed-text",children:[(0,h.jsx)("b",{children:s.title}),s.text&&(0,h.jsx)("small",{children:s.text})]}),s.amount!=null&&(0,h.jsx)("span",{className:b("tf-livefeed-amt",s.amount<0&&"neg"),children:(s.amount>0?"+":"")+a(s.amount,s.currency)}),(0,h.jsx)("span",{className:"tf-livefeed-time",children:s.time})]},s.id))})]})}var Sf="0000000001fe03ff000000000000000000000000000079f7ffff8001c01000070000000000000010439fffff0002c0000000000000000000007cdf007fff00000001800ffc01e000000003c4af003ffe0000000408ffffe0000001f8001e67f83ffc000070001bffffffff0083ffffc67e5c1fe00003ff2ffbffffffffff67fffffff83a1f01c007bcffffffffffffff03ffffffe0080e00001e7fffffffffffffff03fbffffc0700200003e5ffffffffffffc6000403fffe07e000002063fffffffffff018001001ffffc7f0000021cfffffffffffc038000000ffffe7fc0000f3fffffffffffff8200000003ffffff0000027fffffffffffff4000000003fffffce00003ffffffffffffff0000000003ffffff000000fbf5e7fffffffe0000000003fffff000000f8de0e7fffffffcc000000003ffffc000000f12eff7ffffff708000000001ffff8000000f00dff3fffffe300000000000ffffc0000001f043ffffffff1700000000007fff0000000ff803ffffffff0800000000001ffe0000000ffeffffffffff8000000000003f810000001fffffe7ffffff0000000000001f810000003ffffdfbffffff00000000000007800000007ffffcff0ffffe80000000400003884000007ffffefe07e7e000000000000001f83400003ffffe7e07c3e0800000000000005c0000007fffff780701e0800000000000000e0000007fffffc00301f0c0000000000000023900003ffffff003016040000000000000017f00001ffffff000810060000000000000007fc0000f3ffff000008200000000000000007ff000000fffe00001860000000000000000fff000000fffc000008ec000000000000000fffc00000fff800000ce8400000000000000ffff80000fff0000004003c0000000000000ffffc00007ff0000002801e00000000000007fffc00007ff0000000000808000000000007fff800007ff0000000000000000000000007fff000007ff100000002c000000000000001fff000007ff300000007ec00000000000000fff000007fc300000007fe00000000000000fff000003fc60000003fff02000000000000ffc000003fc60000007fff80000000000000ff8000003f800000003fff80000000000001ff0000001f800000003fff80000000000001ff0000001f000000003fff80000000000001fe0000001800000000303f80000000000001f80000000000000000000f00000000000001f00000000000000000000200200000000003c00000000000000000000200400000000001c000000000000000000000008000000000038000000000000000000000010000000000038000000000000000000000000000000000030800000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",Js=null;function D6(){if(!Js){let e=[];for(let a=0;a<Sf.length;a++){let n=parseInt(Sf[a],16);for(let l=0;l<4;l++)if(n&8>>l){let i=a*4+l,o=i%144,r=Math.floor(i/144);e.push("M"+(o+.5)+" "+(r+.5)+"h0")}}Js=e.join("")}return(0,h.jsx)("svg",{className:"tf-map-world",viewBox:"0 0 144 58",preserveAspectRatio:"none","aria-hidden":!0,children:(0,h.jsx)("path",{d:Js})})}function Tf(e){let t=w(ut),{formatNumber:a}=J(),n=e.bounds||{n:84,s:-60,w:-180,e:180},l=P(e.selected,null,e.onSelect),i=e.height||320,o=e.points||[],r=Math.max.apply(null,o.map(s=>s.value||1).concat([1]));function c(s){return{x:(s.lng-n.w)/(n.e-n.w)*100,y:(n.n-s.lat)/(n.n-n.s)*100}}let u=o.find(s=>s.id===l[0]);return(0,h.jsxs)("div",{className:b("tf-map",e.className),style:{height:i},role:"region","aria-label":e.label||t.viewMap,children:[e.background||(e.bounds?null:(0,h.jsx)(D6,{}))||(0,h.jsx)("svg",{className:"tf-map-grid",viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":!0,children:[10,20,30,40,50,60,70,80,90].map(s=>(0,h.jsxs)("g",{children:[(0,h.jsx)("line",{x1:s,x2:s,y1:0,y2:100}),(0,h.jsx)("line",{y1:s,y2:s,x1:0,x2:100})]},s))}),o.map(s=>{let d=c(s),m=e.bubbles?10+Math.sqrt((s.value||1)/r)*26:null;return(0,h.jsx)("button",{type:"button",className:b(e.bubbles?"tf-map-bubble":"tf-map-pin","tf-t-"+(s.tint||"sky"),l[0]===s.id&&"on",s.pulse&&"pulse"),style:{left:d.x+"%",top:d.y+"%",width:m||void 0,height:m||void 0},"aria-label":[typeof s.text=="string"&&!e.bubbles?s.text:null,s.label,s.value!=null?a(s.value):null].filter(Boolean).join(", "),onClick:()=>{l[1](l[0]===s.id?null:s.id)},children:e.bubbles?null:s.text!=null?(0,h.jsx)("span",{children:s.text}):(0,h.jsx)(z,{name:"pin",size:14})},s.id)}),u&&(0,h.jsx)("div",{className:b("tf-map-pop",e.surface&&"tf-"+e.surface),style:{left:Math.min(72,Math.max(28,c(u).x))+"%",top:c(u).y+"%"},children:e.renderPopup?e.renderPopup(u):(0,h.jsxs)("div",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:u.label}),u.sub&&(0,h.jsx)("small",{children:u.sub})]})}),e.legend&&(0,h.jsx)("div",{className:b("tf-map-legend",e.surface&&"tf-"+e.surface),children:e.legend}),e.controls&&(0,h.jsx)("div",{className:b("tf-map-ctl",e.surface&&"tf-"+e.surface),children:e.controls})]})}function Rf(e){let t=w(ut),{formatMoney:a}=J(),n=e.perDay&&e.perDay>0?Math.floor(e.balance/e.perDay):null,l=e.low!=null&&e.balance<=e.low,i=e.status||(e.balance<=0?"danger":l?"warn":"ok");return(0,h.jsxs)("div",{className:b("tf-balance","is-"+i),children:[(0,h.jsxs)("div",{className:"tf-balance-head",children:[e.logo||(0,h.jsx)(re,{icon:e.icon||"wallet",tint:e.tint||"butter",size:36}),(0,h.jsxs)("div",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:e.name}),e.sub&&(0,h.jsx)("small",{children:e.sub})]}),(0,h.jsx)(Be,{status:i,label:e.statusLabel||(i==="danger"?t.balanceEmpty:l?t.balanceLow:t.balanceOk),size:"sm"})]}),(0,h.jsxs)("div",{className:"tf-balance-main",children:[(0,h.jsxs)("div",{className:"tf-col",style:{gap:2},children:[(0,h.jsx)("span",{className:"tf-balance-amt",children:a(e.balance,e.currency,{maximumFractionDigits:2})}),(0,h.jsx)("span",{className:"tf-balance-meta",children:[e.perDay!=null&&t.perDay(a(e.perDay,e.currency)),n!=null&&e.balance>0&&t.lastsAbout(n)].filter(Boolean).join(" \xB7 ")}),e.low!=null&&(0,h.jsx)("span",{className:"tf-balance-meta",children:t.warnsBelow(a(e.low,e.currency))})]}),e.spark&&(0,h.jsx)(wl,{values:e.spark,width:96,height:32,tint:i==="ok"?"mint":i==="warn"?"butter":"blush"})]}),(e.onTopUp||e.action)&&(0,h.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:[e.action,e.onTopUp&&(0,h.jsx)(Q,{size:"sm",variant:l?"primary":"soft",icon:"plus",onClick:e.onTopUp,children:e.topUpLabel||t.topUp})]})]})}function Ef(e){let{formatNumber:t}=J();return(0,h.jsx)("div",{className:"tf-svcmon",role:"list","aria-label":e.label,children:(e.items||[]).map(a=>(0,h.jsxs)("div",{role:"listitem",className:"tf-svcmon-row",children:[(0,h.jsx)(Ee,{status:a.status}),(0,h.jsxs)("span",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:a.name}),(0,h.jsx)("small",{children:a.statusLabel||a.status})]}),a.history&&(0,h.jsx)("span",{className:"tf-svcmon-hist","aria-hidden":!0,children:a.history.map((n,l)=>(0,h.jsx)("i",{className:"tf-st-"+n},l))}),(0,h.jsx)("span",{className:"tf-svcmon-num",children:a.latency!=null?t(a.latency)+" ms":"\u2014"}),(0,h.jsx)("span",{className:b("tf-svcmon-num",(a.errorRate??0)>1&&"bad"),children:a.errorRate!=null?t(a.errorRate/100,{style:"percent",maximumFractionDigits:1}):"\u2014"}),(0,h.jsx)("span",{className:"tf-svcmon-time",children:a.checked})]},a.id||a.name))})}function Af(e){let{formatNumber:t}=J(),a=Pe.useState(null);return(0,h.jsx)("div",{className:"tf-runs",role:"list","aria-label":e.label,children:(e.items||[]).map(n=>{let l=a[0]===n.id;return(0,h.jsxs)("div",{role:"listitem",className:b("tf-runs-row",l&&"open"),children:[(0,h.jsxs)("button",{type:"button",className:"tf-runs-main","aria-expanded":n.detail?l:void 0,onClick:n.detail?()=>{a[1](l?null:n.id)}:void 0,children:[(0,h.jsx)(Ee,{status:n.status}),(0,h.jsxs)("span",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:n.name}),(0,h.jsx)("small",{children:[n.started,n.duration,n.by].filter(Boolean).join(" \xB7 ")})]}),(0,h.jsx)("span",{className:"tf-runs-counts",children:(n.counts||[]).map((i,o)=>(0,h.jsxs)("span",{className:i.tone?"tf-tone-"+i.tone:void 0,children:[(0,h.jsx)("b",{children:t(i.value)})," ",i.label]},o))}),n.detail&&(0,h.jsx)(z,{name:l?"chevronDown":"chevronRight",size:14})]}),l&&(0,h.jsx)("div",{className:"tf-runs-detail",children:n.detail})]},n.id)})})}function Df(e){let t=w(ut),{formatNumber:a}=J(),n=Pe.useState(!!e.defaultOpen);return(0,h.jsxs)("div",{className:"tf-hook",children:[(0,h.jsxs)("div",{className:"tf-hook-head",children:[(0,h.jsx)(re,{icon:"webhook",tint:"lilac",size:36}),(0,h.jsxs)("div",{className:"tf-option-text",style:{minWidth:0,flex:1},children:[(0,h.jsx)("b",{className:"tf-mono tf-hook-url",children:e.url}),(0,h.jsx)("small",{children:(e.events||[]).join(", ")})]}),(0,h.jsx)(Be,{status:e.status||"ok",label:e.statusLabel,size:"sm"}),e.successRate!=null&&(0,h.jsx)("span",{className:"tf-hook-rate",children:a(e.successRate/100,{style:"percent",maximumFractionDigits:1})}),e.onToggle&&(0,h.jsx)(Xn,{checked:e.enabled!==!1,onChange:e.onToggle,label:t.enabled}),e.menu&&(0,h.jsx)(Ue,{width:200,trigger:l=>(0,h.jsx)(W,{icon:"more",size:"sm",label:t.more,onClick:l.toggle}),children:()=>(0,h.jsx)(At,{items:e.menu||[]})})]}),e.secret&&e.secret,(e.deliveries||[]).length>0&&(0,h.jsx)(Cl,{title:t.recentDeliveries,meta:a((e.deliveries||[]).length),open:n[0],onOpenChange:n[1],children:(0,h.jsx)("div",{className:"tf-hook-dl",children:(e.deliveries||[]).map(l=>{let i=l.code!=null&&l.code>=200&&l.code<300;return(0,h.jsxs)("div",{className:"tf-hook-dl-row",children:[(0,h.jsx)("span",{className:b("tf-hook-code",i?"ok":"bad"),children:l.code||"\u2014"}),(0,h.jsx)("span",{className:"tf-mono",children:l.event}),(0,h.jsxs)("span",{className:"tf-hook-dl-time",children:[l.time,l.ms!=null&&" \xB7 "+a(l.ms)+" ms"]}),!i&&e.onRetry&&(0,h.jsx)(Q,{size:"sm",variant:"soft",icon:"refresh",onClick:()=>{e.onRetry?.(l)},children:t.retry})]},l.id)})})})]})}function _f(e){let t=w(ut);return(0,h.jsxs)("div",{className:"tf-backups",role:"list","aria-label":e.label,children:[(e.items||[]).map(a=>(0,h.jsxs)("div",{role:"listitem",className:"tf-backups-row",children:[(0,h.jsx)(Ee,{status:a.status||"ok"}),(0,h.jsxs)("span",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:a.name||a.time}),(0,h.jsx)("small",{children:[a.kind,a.where,a.retention].filter(Boolean).join(" \xB7 ")})]}),(0,h.jsx)("span",{className:"tf-backups-size",children:a.size}),(0,h.jsxs)("span",{className:"tf-row",style:{gap:4},children:[e.onDownload&&(0,h.jsx)(W,{icon:"download",size:"sm",label:t.download,onClick:()=>{e.onDownload?.(a)}}),e.onRestore&&(0,h.jsx)(Q,{size:"sm",variant:"secondary",onClick:()=>{e.onRestore?.(a)},children:t.restore})]})]},a.id)),e.footer&&(0,h.jsx)("div",{className:"tf-backups-foot",children:e.footer})]})}function Of(e){let t=w(ut),a=Pe.useState(""),n=(e.items||[]).filter(l=>!a[0]||(l.value+" "+(l.reason||"")).toLowerCase().indexOf(a[0].toLowerCase())>-1);return(0,h.jsxs)("div",{className:"tf-col",style:{gap:12},children:[(0,h.jsxs)("div",{className:"tf-filterbar",children:[(0,h.jsx)(Da,{placeholder:e.searchPlaceholder||t.searchBlocked,value:a[0],onChange:l=>{a[1](l.target.value)},style:{flex:"1 1 220px",minWidth:0}}),e.onAdd&&(0,h.jsx)(Q,{size:"sm",icon:"plus",onClick:e.onAdd,children:e.addLabel||t.block})]}),n.length===0?(0,h.jsx)("p",{className:"tf-card-desc",children:e.emptyText||t.nothingBlocked}):(0,h.jsx)("div",{className:"tf-blocks",role:"list",children:n.map(l=>(0,h.jsxs)("div",{role:"listitem",className:"tf-blocks-row",children:[(0,h.jsx)(z,{name:"ban",size:15}),(0,h.jsxs)("span",{className:"tf-option-text",style:{minWidth:0},children:[(0,h.jsx)("b",{className:"tf-mono",children:l.value}),(0,h.jsx)("small",{children:[l.kind,l.reason].filter(Boolean).join(" \xB7 ")})]}),(0,h.jsx)("span",{className:"tf-blocks-meta",children:[l.by,l.until?t.until(l.until):t.permanent].filter(Boolean).join(" \xB7 ")}),e.onRemove&&(0,h.jsx)(Q,{size:"sm",variant:"ghost",onClick:()=>{e.onRemove?.(l)},children:e.removeLabel||t.unblock})]},l.id))})]})}function Lf(e){let t=w(ut),a=Pe.useState(!1),n=Pe.useState(e.reply||""),l={pending:["signal",t.reviewState.pending],published:["ok",t.reviewState.published],hidden:["idle",t.reviewState.hidden],flagged:["warn",t.reviewState.flagged]}[e.state||"pending"];return(0,h.jsxs)("article",{className:b("tf-review","is-"+(e.state||"pending")),children:[(0,h.jsxs)("div",{className:"tf-review-head",children:[(0,h.jsx)(qe,{name:e.author,size:36}),(0,h.jsxs)("div",{className:"tf-option-text",style:{flex:1},children:[(0,h.jsxs)("b",{children:[e.author,e.verified&&(0,h.jsxs)("span",{className:"tf-review-ver",children:[" \xB7 ",t.verifiedPurchase]})]}),(0,h.jsx)("small",{children:[e.product,e.date].filter(Boolean).join(" \xB7 ")})]}),(0,h.jsx)(qi,{value:e.rating}),(0,h.jsx)(Be,{status:l[0],label:e.stateLabel||l[1],size:"sm"})]}),e.title&&(0,h.jsx)("b",{className:"tf-review-title",children:e.title}),(0,h.jsx)("p",{className:"tf-review-text",children:e.highlight?_6(e.text,e.highlight):e.text}),e.reply&&!a[0]&&(0,h.jsxs)("div",{className:"tf-review-reply",children:[(0,h.jsx)("small",{children:e.replyLabel||t.yourReply}),e.reply]}),a[0]&&(0,h.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,h.jsx)("textarea",{className:"tf-input",rows:3,value:n[0],onChange:i=>{n[1](i.target.value)},placeholder:t.writeReply,"aria-label":t.reply}),(0,h.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:[(0,h.jsx)(Q,{size:"sm",variant:"ghost",onClick:()=>{a[1](!1)},children:t.cancel}),(0,h.jsx)(Q,{size:"sm",icon:"send",onClick:()=>{e.onReply&&e.onReply(n[0]),a[1](!1)},children:t.postReply})]})]}),!a[0]&&(0,h.jsxs)("div",{className:"tf-review-actions",children:[e.state!=="published"&&e.onPublish&&(0,h.jsx)(Q,{size:"sm",icon:"check",onClick:e.onPublish,children:t.publish}),e.state!=="hidden"&&e.onHide&&(0,h.jsx)(Q,{size:"sm",variant:"secondary",icon:"eye",onClick:e.onHide,children:t.hide}),e.onReply&&(0,h.jsx)(Q,{size:"sm",variant:"ghost",icon:"reply",onClick:()=>{a[1](!0)},children:e.reply?t.editReply:t.reply})]})]})}function _6(e,t){let a=new RegExp("("+t.map(n=>n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|")+")","gi");return String(e).split(a).map((n,l)=>l%2?(0,h.jsx)("mark",{children:n},l):n)}function jf(e){let t=w(ut),{formatMoney:a,formatNumber:n}=J(),l=e.used||0,i=e.status||(e.limit&&l>=e.limit?"idle":"ok");return(0,h.jsxs)("div",{className:b("tf-coupon",i!=="ok"&&"off"),children:[(0,h.jsxs)("div",{className:"tf-coupon-val",children:[(0,h.jsx)("b",{children:e.kind==="fixed"?a(e.value,e.currency):n(e.value/100,{style:"percent"})}),(0,h.jsx)("small",{children:(e.kind==="fixed","off")})]}),(0,h.jsxs)("div",{className:"tf-coupon-main",children:[(0,h.jsxs)("div",{className:"tf-row",style:{gap:8},children:[(0,h.jsxs)("button",{type:"button",className:"tf-coupon-code",title:t.copy,onClick:()=>{try{navigator.clipboard.writeText(e.code)}catch{}Nt&&Nt({text:t.copied}),e.onCopy&&e.onCopy()},children:[e.code,(0,h.jsx)(z,{name:"copy",size:13})]}),(0,h.jsx)(Be,{status:i,label:e.statusLabel,size:"sm"})]}),e.text&&(0,h.jsx)("small",{className:"tf-coupon-text",children:e.text}),(0,h.jsx)(Kn,{value:l,max:e.limit||Math.max(l,1),text:e.limit?t.usedOf(n(l),n(e.limit)):t.used(n(l)),tone:"sky",warn:101,danger:101}),(0,h.jsx)("span",{className:"tf-coupon-foot",children:[e.until&&t.validUntil(e.until),e.min!=null&&t.fromAmount(a(e.min,e.currency)),e.revenue!=null&&t.revenue(a(e.revenue,e.currency))].filter(Boolean).join(" \xB7 ")})]}),e.menu&&(0,h.jsx)(Ue,{width:200,trigger:o=>(0,h.jsx)(W,{icon:"more",size:"sm",label:t.more,onClick:o.toggle}),children:()=>(0,h.jsx)(At,{items:e.menu||[]})})]})}function Hf(e){let t=w(ut),a=e.locales||[],n=P(e.value,e.defaultValue||{},e.onChange),l=Pe.useState(e.active||a[0]&&a[0].code),i=Ne("lf"),o=e.source||a[0]&&a[0].code,r=n[0][l[0]]||"";function c(s){let d=Object.assign({},n[0]);d[l[0]]=s,n[1](d)}let u=a.filter(s=>(n[0][s.code]||"").trim()).length;return(0,h.jsx)(ft,{id:i,label:e.label,hint:e.hint,error:e.error,children:(0,h.jsxs)("div",{className:"tf-locfield",children:[(0,h.jsxs)("div",{className:"tf-locfield-tabs",role:"tablist","aria-label":t.languages,children:[a.map(s=>{let d=(n[0][s.code]||"").trim();return(0,h.jsxs)("button",{type:"button",role:"tab","aria-selected":l[0]===s.code,className:b("tf-locfield-tab",l[0]===s.code&&"on",!d&&"missing"),onClick:()=>{l[1](s.code)},children:[s.flag&&(0,h.jsx)("span",{"aria-hidden":!0,children:s.flag}),s.label||s.code.toUpperCase(),!d&&(0,h.jsx)("span",{className:"tf-locfield-miss",title:t.missing})]},s.code)}),(0,h.jsx)("span",{className:"tf-locfield-done",children:t.doneOf(u,a.length)})]}),e.multiline?(0,h.jsx)("textarea",{id:i,className:"tf-input",rows:e.rows||3,value:r,onChange:s=>{c(s.target.value)},placeholder:l[0]!==o?n[0][o]||"":e.placeholder}):(0,h.jsx)("input",{id:i,className:"tf-input",value:r,onChange:s=>{c(s.target.value)},placeholder:l[0]!==o?n[0][o]||"":e.placeholder}),l[0]!==o&&(0,h.jsxs)("div",{className:"tf-row",style:{gap:8},children:[(0,h.jsx)(Q,{size:"sm",variant:"ghost",icon:"copy",onClick:()=>{c(n[0][o]||"")},children:t.copyFrom((a.find(s=>s.code===o)||{}).label||o)}),e.onTranslate&&(0,h.jsx)(Q,{size:"sm",variant:"ghost",icon:"sparkle",onClick:()=>{Promise.resolve(e.onTranslate?.(n[0][o]||"",l[0])).then(s=>{s&&c(s)})},children:t.translate})]})]})})}function Uf(e){let t=w(ut),a=P(e.language,e.languages&&e.languages[0]&&e.languages[0].code,e.onLanguage),n=P(e.currency,e.currencies&&e.currencies[0],e.onCurrency),l=(e.languages||[]).find(i=>i.code===a[0])||{};return(0,h.jsx)(Ue,{width:280,trigger:i=>(0,h.jsxs)("button",{type:"button",className:b("tf-locsw",e.variant==="frame"&&"on-frame"),"aria-haspopup":"dialog","aria-expanded":i.open,onClick:i.toggle,title:t.languageAndCurrency,children:[l.flag?(0,h.jsx)("span",{children:l.flag}):(0,h.jsx)(z,{name:"globe",size:15}),(0,h.jsx)("span",{children:(l.short||a[0]||"").toUpperCase()}),n[0]&&(0,h.jsx)("span",{className:"tf-locsw-cur",children:n[0]}),(0,h.jsx)(z,{name:"chevronDown",size:13})]}),children:()=>(0,h.jsxs)("div",{className:"tf-col",style:{gap:12},children:[e.languages&&(0,h.jsxs)("div",{className:"tf-col",style:{gap:4},children:[(0,h.jsx)("span",{className:"tf-menu-label",style:{padding:"0 8px"},children:t.language}),(0,h.jsx)("div",{className:"tf-menu",style:{padding:0,boxShadow:"none"},children:e.languages.map(i=>(0,h.jsxs)("button",{type:"button",className:b("tf-menu-item",i.code===a[0]&&"on"),onClick:()=>{a[1](i.code)},children:[i.flag&&(0,h.jsx)("span",{"aria-hidden":!0,children:i.flag}),(0,h.jsx)("span",{style:{flex:1},children:i.label}),i.code===a[0]&&(0,h.jsx)(z,{name:"check",size:14})]},i.code))})]}),e.currencies&&(0,h.jsxs)("div",{className:"tf-col",style:{gap:6},children:[(0,h.jsx)("span",{className:"tf-menu-label",style:{padding:"0 8px"},children:t.currency}),(0,h.jsx)(Qa,{size:"sm",block:!0,value:n[0],onChange:n[1],options:e.currencies})]})]})})}function Bf(e){let t=e.items||[],a=P(e.value,t[0]&&t[0].id,e.onChange),n=t.find(l=>l.id===a[0])||{};return(0,h.jsx)(Ue,{width:e.width||300,trigger:l=>(0,h.jsxs)("button",{type:"button",className:b("tf-wssw",e.variant==="frame"&&"on-frame"),"aria-haspopup":"listbox","aria-expanded":l.open,onClick:l.toggle,children:[n.logo||(0,h.jsx)("span",{className:b("tf-wssw-mark","tf-t-"+(n.tint||"sky")),children:(n.name||"?").charAt(0)}),(0,h.jsxs)("span",{className:"tf-option-text",children:[(0,h.jsx)("b",{children:n.name}),n.sub&&(0,h.jsx)("small",{children:n.sub})]}),(0,h.jsx)(z,{name:"chevronDown",size:14})]}),children:l=>(0,h.jsxs)("div",{className:"tf-col",style:{gap:8},children:[e.label&&(0,h.jsx)("span",{className:"tf-menu-label",style:{padding:"0 8px"},children:e.label}),(0,h.jsx)("div",{className:"tf-menu",role:"listbox",style:{padding:0,boxShadow:"none"},children:t.map(i=>(0,h.jsxs)("button",{type:"button",role:"option","aria-selected":i.id===a[0],className:b("tf-menu-item",i.id===a[0]&&"on"),onClick:()=>{a[1](i.id),l.close&&l.close()},children:[i.logo||(0,h.jsx)("span",{className:b("tf-wssw-mark sm","tf-t-"+(i.tint||"sky")),children:i.name.charAt(0)}),(0,h.jsxs)("span",{className:"tf-option-text",style:{flex:1},children:[(0,h.jsx)("span",{children:i.name}),i.sub&&(0,h.jsx)("small",{children:i.sub})]}),i.id===a[0]&&(0,h.jsx)(z,{name:"check",size:14})]},i.id))}),e.footer]})})}function qf(e){let t=w(ut),{formatNumber:a,formatPercent:n}=J(),l=Pe.useState(e.format||(e.formats||["csv"])[0]),i=Pe.useState((e.columns||[]).filter(d=>d.default!==!1).map(d=>d.key)),o=Pe.useState(e.range||null),r=Pe.useState("form"),c=Pe.useState(0);if(!e.open&&!e.inline)return null;function u(){r[1]("running"),c[1](0);let d=e.onExport?.({format:l[0],columns:i[0],range:o[0]},m=>{c[1](m)});Promise.resolve(d).then(()=>{c[1](100),r[1]("done")})}let s=(0,h.jsxs)("div",{className:"tf-modal tf-export",role:"dialog","aria-modal":e.inline?void 0:"true","aria-label":e.title||t.export,children:[(0,h.jsx)("span",{className:"tf-modal-close",children:(0,h.jsx)(W,{icon:"x",label:t.close,size:"sm",onClick:e.onClose})}),(0,h.jsxs)("div",{children:[(0,h.jsx)("h2",{className:"tf-modal-title",children:e.title||t.export}),(0,h.jsx)("p",{className:"tf-modal-text",style:{marginTop:6},children:e.text||t.rowsMatch(a(e.count||0),e.count||0)})]}),r[0]==="form"?(0,h.jsxs)(Pe.Fragment,{children:[(0,h.jsx)(ft,{label:t.format,children:(0,h.jsx)(Qa,{block:!0,value:l[0],onChange:l[1],options:(e.formats||["csv","xlsx","json"]).map(d=>({value:d,label:d.toUpperCase()}))})}),e.ranges!==!1&&(0,h.jsx)(gr,{label:t.period,range:!0,value:o[0],onChange:d=>o[1](d),placeholder:t.allTime}),(e.columns||[]).length>0&&(0,h.jsx)(ft,{label:t.columns,hint:t.selectedCount(i[0].length),children:(0,h.jsx)("div",{className:"tf-export-cols",children:(e.columns||[]).map(d=>{let m=i[0].indexOf(d.key)>-1;return(0,h.jsxs)("label",{className:"tf-check",children:[Bi({checked:m,onChange:()=>{i[1](m?i[0].filter(f=>f!==d.key):i[0].concat([d.key]))}}),d.label]},d.key)})})}),e.note&&(0,h.jsx)("p",{className:"tf-card-desc",style:{margin:0},children:e.note}),(0,h.jsxs)("div",{className:"tf-modal-foot",children:[(0,h.jsx)(Q,{variant:"ghost",onClick:e.onClose,children:t.cancel}),(0,h.jsx)(Q,{icon:"download",disabled:!i[0].length&&(e.columns||[]).length>0,onClick:u,children:t.export})]})]}):r[0]==="running"?(0,h.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,h.jsx)(zr,{value:c[0],label:t.exportProgress}),(0,h.jsx)("span",{className:"tf-card-desc",children:t.preparingFile+" "+n(Math.round(c[0]))})]}):(0,h.jsxs)(Pe.Fragment,{children:[(0,h.jsx)(Be,{status:"ok",label:e.doneText||t.fileReady}),(0,h.jsxs)("div",{className:"tf-modal-foot",children:[(0,h.jsx)(Q,{variant:"ghost",onClick:()=>{r[1]("form")},children:t.newExport}),e.download||(0,h.jsx)(Q,{icon:"download",onClick:e.onDownload,children:t.download})]})]})]});return e.inline?s:(0,h.jsx)(Ea,{children:(0,h.jsxs)("div",{className:"tf-overlay",children:[(0,h.jsx)("div",{className:"tf-backdrop",onClick:e.onClose}),s]})})}function Vf(e){let t=w(ut),a=Pe.useState(e.step||0),n=Pe.useState(null),l=Pe.useState(!1),i=t.twoFactorSteps;return(0,h.jsxs)("div",{className:"tf-2fa",children:[(0,h.jsx)("ol",{className:"tf-2fa-steps",children:i.map((o,r)=>(0,h.jsxs)("li",{className:b(r===a[0]&&"on",r<a[0]&&"done"),children:[(0,h.jsx)("span",{children:r<a[0]?(0,h.jsx)(z,{name:"check",size:12}):r+1}),o]},r))}),a[0]===0&&(0,h.jsxs)("div",{className:"tf-2fa-scan",children:[(0,h.jsx)("div",{className:"tf-2fa-qr",role:"img","aria-label":t.qrCode,children:e.qr||(0,h.jsx)(z,{name:"grid",size:48})}),(0,h.jsxs)("div",{className:"tf-col",style:{gap:12,minWidth:0},children:[(0,h.jsx)("p",{className:"tf-card-desc",style:{margin:0},children:e.scanText||t.scanText}),(0,h.jsxs)("button",{type:"button",className:"tf-2fa-key",onClick:()=>{try{navigator.clipboard.writeText(e.secret)}catch{}Nt&&Nt({text:t.copied})},children:[(0,h.jsx)("span",{className:"tf-mono",children:(e.secret||"").replace(/(.{4})/g,"$1 ").trim()}),(0,h.jsx)(z,{name:"copy",size:14})]}),(0,h.jsx)("div",{children:(0,h.jsx)(Q,{onClick:()=>{a[1](1)},children:t.next})})]})]}),a[0]===1&&(0,h.jsxs)("div",{className:"tf-col",style:{gap:12},children:[(0,h.jsx)("p",{className:"tf-card-desc",style:{margin:0},children:t.enterCode}),(0,h.jsx)(br,{error:!!n[0],onComplete:o=>{Promise.resolve(e.onVerify?e.onVerify(o):!0).then(r=>{r?(n[1](null),a[1](2)):n[1](t.codeFailed)})}}),n[0]&&(0,h.jsx)("span",{className:"tf-field-error",children:n[0]}),(0,h.jsx)("div",{children:(0,h.jsx)(Q,{variant:"ghost",onClick:()=>{a[1](0)},children:t.back})})]}),a[0]===2&&(0,h.jsxs)("div",{className:"tf-col",style:{gap:12},children:[(0,h.jsx)("p",{className:"tf-card-desc",style:{margin:0},children:e.codesText||t.codesText}),(0,h.jsx)("div",{className:"tf-2fa-codes",children:(e.codes||[]).map(o=>(0,h.jsx)("code",{children:o},o))}),(0,h.jsxs)("div",{className:"tf-row",children:[(0,h.jsx)(Q,{variant:"secondary",icon:"copy",onClick:()=>{try{navigator.clipboard.writeText((e.codes||[]).join(`
|
|
26
|
+
`))}catch{}Nt&&Nt({text:t.copied})},children:t.copy}),e.onDownload&&(0,h.jsx)(Q,{variant:"secondary",icon:"download",onClick:e.onDownload,children:t.download})]}),(0,h.jsx)(kr,{checked:l[0],onChange:()=>{l[1](!l[0])},children:t.savedCodes}),(0,h.jsx)("div",{children:(0,h.jsx)(Q,{icon:"check",disabled:!l[0],onClick:e.onDone,children:t.turnOnTwoFactor})})]})]})}function Gf(e){let t=w(ut),{formatNumber:a}=J(),n=Ne("cf"),l=P(e.value,e.defaultValue||"#000000",e.onChange);function i(u){let s=/^#?([0-9a-f]{6})$/i.exec(u||"");if(!s)return null;let d=parseInt(s[1],16),m=[d>>16&255,d>>8&255,d&255].map(f=>(f/=255,f<=.03928?f/12.92:Math.pow((f+.055)/1.055,2.4)));return .2126*m[0]+.7152*m[1]+.0722*m[2]}let o=i(l[0]),r=i(e.against||"#ffffff"),c=o!=null&&r!=null?(Math.max(o,r)+.05)/(Math.min(o,r)+.05):null;return(0,h.jsx)(ft,{id:n,label:e.label,hint:e.hint,children:(0,h.jsxs)("div",{className:"tf-colorf",children:[(0,h.jsx)("label",{className:"tf-colorf-sw",style:{background:l[0]},children:(0,h.jsx)("input",{type:"color",value:/^#[0-9a-f]{6}$/i.test(l[0])?l[0]:"#000000",onChange:u=>{l[1](u.target.value)},"aria-label":t.pickColour})}),(0,h.jsx)("input",{id:n,"aria-label":e.label?void 0:t.pickColour,className:"tf-input tf-mono",value:l[0],onChange:u=>{l[1](u.target.value)},spellCheck:!1}),c!=null&&e.against!==!1&&(0,h.jsx)("span",{className:b("tf-colorf-ratio",c>=4.5?"ok":c>=3?"warn":"bad"),title:t.contrastAgainst(e.against||"#ffffff"),children:a(c,{maximumFractionDigits:1})+":1 "+(c>=4.5?t.contrastAA:c>=3?t.contrastAALarge:t.contrastFails)})]})})}var M=G(ye(),1),Rl=G(ce(),1);function Yf(e){let t=w(Ot);return(0,M.jsxs)("div",{className:b("tf-agentcard",e.onClick&&"click"),onClick:e.onClick,tabIndex:e.onClick?0:void 0,children:[(0,M.jsxs)("div",{className:"tf-agentcard-top",children:[(0,M.jsx)(Kt,{tint:e.tint,live:e.status==="running",size:40}),(0,M.jsxs)("div",{className:"tf-option-text",children:[(0,M.jsx)("b",{children:e.name}),(0,M.jsx)("small",{children:e.role})]}),e.onChat&&(0,M.jsx)(W,{icon:"mail",label:t.chatWith(e.name),size:"sm",onClick:a=>{a.stopPropagation(),e.onChat?.()}})]}),(0,M.jsx)(Be,{status:e.status||"idle",label:e.statusLabel}),(0,M.jsx)(Za,{dense:!0,items:[[t.model,e.model],[t.costToday,e.cost,!0],[t.lastAction,e.last]].filter(a=>a[1]!=null)})]})}function Xf(e){return(0,M.jsxs)("div",{className:"tf-agentdetails",children:[(0,M.jsxs)("div",{className:"tf-agentdetails-id",children:[(0,M.jsx)(Kt,{tint:e.tint,size:56,live:e.status==="running"}),(0,M.jsx)("b",{children:e.name}),(0,M.jsx)("span",{className:"tf-card-desc",children:e.role}),(0,M.jsx)(Be,{status:e.status||"idle",label:e.statusLabel})]}),(e.sections||[]).map((t,a)=>(0,M.jsx)(Cl,{title:t.title,meta:t.meta,defaultOpen:t.open!==!1,children:t.items?(0,M.jsx)(Za,{dense:!0,items:t.items}):t.children},a)),e.actions&&(0,M.jsx)("div",{className:"tf-col",style:{gap:8},children:e.actions})]})}function Kf(e){let t=w(Ot),a=Rl.useState(""),n=(e.groups||[]).map(l=>Object.assign({},l,{items:l.items.filter(i=>!a[0]||(i.name+" "+(i.sub||"")).toLowerCase().indexOf(a[0].toLowerCase())>-1)})).filter(l=>l.items.length);return(0,M.jsxs)("div",{className:"tf-chatlist",children:[(0,M.jsx)(Da,{placeholder:e.searchPlaceholder||t.searchChats,value:a[0],onChange:l=>{a[1](l.target.value),e.onSearch&&e.onSearch(l.target.value)}}),e.filters,(0,M.jsx)("div",{className:"tf-chatlist-scroll",children:n.length===0?(0,M.jsx)("p",{className:"tf-card-desc",style:{padding:12},children:t.noChatsMatch}):n.map(l=>(0,M.jsxs)("div",{className:"tf-chatlist-group",children:[(0,M.jsxs)("div",{className:"tf-menu-label",children:[l.mark&&(0,M.jsx)("i",{className:"tf-sw tf-sw-"+l.mark}),l.title]}),l.items.map(i=>(0,M.jsxs)("button",{type:"button",className:b("tf-chatrow",i.id===e.selected&&"on"),onClick:()=>{e.onSelect&&e.onSelect(i.id)},children:[i.avatar?(0,M.jsx)(qe,{name:i.name,size:36}):(0,M.jsx)(Kt,{tint:i.tint,live:i.status==="running",size:36}),(0,M.jsxs)("span",{className:"tf-chatrow-text",children:[(0,M.jsxs)("span",{className:"tf-chatrow-top",children:[(0,M.jsx)("b",{children:i.name}),(0,M.jsx)("small",{children:i.time})]}),(0,M.jsxs)("span",{className:"tf-chatrow-sub",children:[i.status&&(0,M.jsx)(Ee,{status:i.status}),i.sub]})]}),i.unread?(0,M.jsx)("span",{className:"tf-nav-count",children:i.unread}):i.pinned?(0,M.jsx)(z,{name:"star",size:13,className:"tf-chatrow-pin"}):null]},i.id))]},l.title))})]})}function Qf(e){return(0,M.jsxs)("div",{className:b("tf-chatws",e.details&&"with-details",e.className),children:[(0,M.jsx)("div",{className:"tf-chatws-list",children:e.list}),(0,M.jsx)("div",{className:"tf-chatws-thread",children:e.thread}),e.details&&(0,M.jsx)("div",{className:"tf-chatws-details",children:e.details})]})}function Zf(e){let t=w(Ot);return(0,M.jsx)("div",{className:"tf-hits",children:(e.items||[]).length===0?(0,M.jsx)(Ml,{icon:"search",title:t.nothingFound,text:e.emptyText}):e.items.map(a=>{let n=String(a.text).split(new RegExp("("+(e.query||"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+")","ig"));return(0,M.jsxs)("button",{type:"button",className:"tf-hit",onClick:()=>{e.onOpen&&e.onOpen(a)},children:[(0,M.jsxs)("span",{className:"tf-hit-top",children:[(0,M.jsx)("b",{children:a.chat}),(0,M.jsx)("small",{children:a.time})]}),(0,M.jsxs)("span",{className:"tf-hit-text",children:[a.who&&(0,M.jsx)("b",{children:a.who+": "}),n.map((l,i)=>i%2?(0,M.jsx)("mark",{children:l},i):l)]})]},a.id)})})}function Ff(e){let t=w(Ot);return(0,M.jsxs)("div",{className:"tf-thinking",role:"status",children:[(0,M.jsx)(Yi,{}),(0,M.jsx)("span",{children:e.text||t.thinking})]})}function If(e){let t=w(Ot),a=P(e.value,null,i=>{i&&e.onRate?.(i)}),n=Rl.useState(""),l=Rl.useState(!1);return l[0]?(0,M.jsxs)("span",{className:"tf-feedback-done",children:[(0,M.jsx)(z,{name:"check",size:13}),e.thanks||t.thanksNoted]}):(0,M.jsxs)("div",{className:"tf-feedback",children:[(0,M.jsxs)("div",{className:"tf-row",style:{gap:4,flexWrap:"nowrap"},children:[e.label&&(0,M.jsx)("span",{className:"tf-card-desc",children:e.label}),(0,M.jsx)("button",{type:"button",className:b("tf-msg-act",a[0]==="up"&&"on"),"aria-pressed":a[0]==="up","aria-label":t.good,onClick:()=>{a[1]("up"),e.askOnUp||(l[1](!0),e.onSubmit&&e.onSubmit("up",""))},children:(0,M.jsx)(z,{name:"thumbUp",size:14})}),(0,M.jsx)("button",{type:"button",className:b("tf-msg-act",a[0]==="down"&&"on"),"aria-pressed":a[0]==="down","aria-label":t.notGood,onClick:()=>{a[1]("down")},children:(0,M.jsx)(z,{name:"thumbDown",size:14})})]}),a[0]==="down"&&(0,M.jsxs)("form",{className:"tf-feedback-form tf-in",onSubmit:i=>{i.preventDefault(),l[1](!0),e.onSubmit&&e.onSubmit("down",n[0])},children:[(0,M.jsx)("input",{className:"tf-input",autoFocus:!0,placeholder:e.placeholder||t.whatShouldBeDifferent,value:n[0],onChange:i=>{n[1](i.target.value)}}),(0,M.jsx)(Q,{type:"submit",size:"sm",children:t.send})]})]})}function Jf(e){return(0,M.jsx)("div",{className:"tf-activity",children:(e.groups||[{items:e.items||[]}]).map((t,a)=>(0,M.jsxs)("div",{className:"tf-activity-group",children:[t.title&&(0,M.jsx)("div",{className:"tf-menu-label",children:t.title}),(0,M.jsx)("ol",{children:t.items.map((n,l)=>(0,M.jsxs)("li",{className:"tf-activity-item",children:[(0,M.jsx)("span",{className:"tf-activity-time tf-mono",children:n.time}),(0,M.jsx)("span",{className:"tf-activity-spine",children:(0,M.jsx)(Ee,{status:n.status||"ok"})}),(0,M.jsxs)("span",{className:"tf-activity-text",children:[n.actor&&(0,M.jsx)("b",{children:n.actor+" "}),n.text,n.link&&(0,M.jsxs)("span",{children:[" ",n.link]})]})]},l))})]},a))})}function Pf(e){let t=w(Ot);return(0,M.jsxs)("div",{className:"tf-briefing",children:[(0,M.jsxs)("div",{className:"tf-briefing-head",children:[(0,M.jsx)(Kt,{tint:e.tint||"lilac",size:40}),(0,M.jsxs)("div",{className:"tf-option-text",children:[(0,M.jsx)("b",{children:e.title}),(0,M.jsx)("small",{children:e.time})]})]}),(0,M.jsx)("p",{className:"tf-briefing-text",children:e.summary}),e.attention&&e.attention.length>0&&(0,M.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,M.jsx)("span",{className:"tf-menu-label",style:{padding:0},children:e.attentionTitle||t.needsYou}),e.attention.map((a,n)=>(0,M.jsxs)("button",{type:"button",className:"tf-briefing-item",onClick:a.onClick,children:[(0,M.jsx)(Ee,{status:a.status||"signal"}),(0,M.jsx)("span",{children:a.text}),(0,M.jsx)(z,{name:"chevronRight",size:14})]},n))]}),e.suggestions&&e.suggestions.length>0&&(0,M.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,M.jsx)("span",{className:"tf-menu-label",style:{padding:0},children:e.suggestionsTitle||t.suggestions}),(0,M.jsx)("ul",{className:"tf-briefing-sugg",children:e.suggestions.map((a,n)=>(0,M.jsx)("li",{children:a},n))})]})]})}function $f(e){let t=w(Ot),{formatMoney:a}=J();return(0,M.jsxs)("div",{className:"tf-budgetstop",children:[(0,M.jsx)(yr,{tone:"danger",title:e.title||t.budgetUsedUp,action:e.onRaise&&(0,M.jsx)(Q,{size:"sm",variant:"secondary",onClick:e.onRaise,children:e.actionLabel||t.raiseBudget}),children:e.text||t.budgetText}),(0,M.jsx)(Kn,{label:t.spentThisMonth,value:e.spent,max:e.budget,text:a(e.spent)+" / "+a(e.budget),tone:"blush"}),e.paused&&(0,M.jsx)(Za,{dense:!0,items:[[t.paused,e.paused],[t.stillRunning,e.running||t.nothing]]})]})}function Wf(e){let t=w(Ot),a=Rl.useState(""),n=Rl.useState(null),l=[];(e.items||[]).forEach(o=>{l.indexOf(o.scope)<0&&l.push(o.scope)});let i=(e.items||[]).filter(o=>(!n[0]||o.scope===n[0])&&(!a[0]||o.text.toLowerCase().indexOf(a[0].toLowerCase())>-1));return(0,M.jsxs)("div",{className:"tf-memory",children:[(0,M.jsxs)("div",{className:"tf-filterbar",children:[(0,M.jsx)(Da,{placeholder:t.searchMemory,value:a[0],onChange:o=>{a[1](o.target.value)},style:{flex:"1 1 200px",minWidth:0}}),l.map(o=>(0,M.jsx)(q0,{selected:n[0]===o,onClick:()=>{n[1](n[0]===o?null:o)},children:o},o))]}),i.length===0?(0,M.jsx)("p",{className:"tf-card-desc",children:t.nothingRemembered}):i.map(o=>(0,M.jsxs)("div",{className:"tf-memitem",children:[(0,M.jsx)("p",{children:o.text}),(0,M.jsxs)("div",{className:"tf-memitem-meta",children:[(0,M.jsx)(Oe,{tone:"neutral",dot:!1,children:o.scope}),o.source&&(0,M.jsx)("span",{children:o.source}),o.date&&(0,M.jsx)("span",{children:o.date}),(0,M.jsxs)("span",{className:"tf-row",style:{marginLeft:"auto",gap:4,flexWrap:"nowrap"},children:[e.onEdit&&(0,M.jsx)(W,{icon:"edit",label:t.edit,size:"sm",variant:"ghost",onClick:()=>{e.onEdit?.(o)}}),e.onDelete&&(0,M.jsx)(W,{icon:"trash",label:t.forget,size:"sm",variant:"ghost",onClick:()=>{e.onDelete?.(o)}})]})]})]},o.id))]})}function eh(e){let t=w(Ot),a=String(e.before||"").split(`
|
|
27
|
+
`),n=String(e.after||"").split(`
|
|
28
|
+
`),l=[],i=0,o=0;for(;i<a.length||o<n.length;)a[i]===n[o]?(l.push([" ",a[i]]),i++,o++):o<n.length&&a.indexOf(n[o],i)<0?(l.push(["+",n[o]]),o++):i<a.length?(l.push(["-",a[i]]),i++):(l.push(["+",n[o]]),o++);return(0,M.jsxs)("div",{className:"tf-diff",children:[(0,M.jsxs)("div",{className:"tf-diff-head",children:[(0,M.jsxs)("div",{className:"tf-option-text",children:[(0,M.jsx)("b",{children:e.title}),(0,M.jsx)("small",{children:[e.versions,e.by].filter(Boolean).join(" \xB7 ")})]}),(0,M.jsxs)("span",{className:"tf-row",style:{flexWrap:"nowrap"},children:[e.onDiscard&&(0,M.jsx)(Q,{size:"sm",variant:"ghost",onClick:e.onDiscard,children:e.discardLabel||t.discardOverride}),e.onPromote&&(0,M.jsx)(Q,{size:"sm",variant:"soft",icon:"branch",onClick:e.onPromote,children:e.promoteLabel||t.moveToCode})]})]}),(0,M.jsx)("pre",{className:"tf-diff-body",children:l.map((r,c)=>(0,M.jsxs)("span",{className:r[0]==="+"?"add":r[0]==="-"?"del":"",children:[(0,M.jsx)("i",{children:r[0]}),r[1],`
|
|
29
|
+
`]},c))})]})}var O6={schedule:"clock",event:"zap",webhook:"link",mail:"mail"};function th(e){let t=w(Ot);return(0,M.jsx)("div",{className:"tf-triggers",children:(e.items||[]).map(a=>(0,M.jsxs)("div",{className:b("tf-trigger",a.enabled===!1&&"off"),children:[(0,M.jsx)(re,{icon:O6[a.type]||"zap",tint:a.enabled===!1?"plain":"sky"}),(0,M.jsxs)("span",{className:"tf-option-text",children:[(0,M.jsx)("b",{children:a.rule}),(0,M.jsx)("small",{children:[a.agent,a.by].filter(Boolean).join(" \xB7 ")})]}),(0,M.jsx)("span",{className:"tf-trigger-next",children:a.next}),e.onToggle&&(0,M.jsx)("input",{type:"checkbox",role:"switch",className:"tf-switch",checked:a.enabled!==!1,"aria-label":typeof a.rule=="string"?a.rule:void 0,onChange:()=>{e.onToggle?.(a)}}),e.onRun&&(0,M.jsx)(et,{label:t.runNow,children:(0,M.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-soft tf-iconbtn-sm","aria-label":t.runNow,onClick:()=>{e.onRun?.(a)},children:(0,M.jsx)(z,{name:"play"})})})]},a.id))})}function ah(e){let{locale:t}=J(),a=e.from!=null?e.from:6,n=e.to!=null?e.to:22,l=[];for(let r=a;r<n;r++)l.push(r);let i=e.days||Bs(t),o=32;return(0,M.jsxs)("div",{className:"tf-sched",style:{"--rows":l.length,"--row-h":o+"px"},children:[(0,M.jsx)("span",{}),i.map((r,c)=>(0,M.jsx)("span",{className:"tf-sched-day",children:r},c)),(0,M.jsx)("div",{className:"tf-sched-times",children:l.map(r=>(0,M.jsx)("span",{children:(r<10?"0":"")+r+":00"},r))}),i.map((r,c)=>(0,M.jsx)("div",{className:"tf-sched-col",children:(e.events||[]).filter(u=>u.day===c).map((u,s)=>{let d=(u.start-a)*o,m=Math.max(o/2,(u.end-u.start)*o-4);return(0,M.jsxs)("button",{type:"button",className:b("tf-sched-ev","tf-bg-"+(u.tint||"sky"),u.self&&"self"),style:{top:d,height:m},title:u.label,onClick:()=>{e.onOpen&&e.onOpen(u)},children:[(0,M.jsx)("b",{children:u.label}),m>30&&u.sub&&(0,M.jsx)("small",{children:u.sub})]},s)})},c))]})}function nh(e){function t(a){return(0,M.jsxs)("li",{children:[(0,M.jsxs)("div",{className:b("tf-org-node",a.root&&"root"),children:[a.avatar?(0,M.jsx)(qe,{name:a.name,size:32}):(0,M.jsx)(Kt,{tint:a.tint,size:32,live:a.status==="running"}),(0,M.jsxs)("span",{className:"tf-option-text",children:[(0,M.jsx)("b",{children:a.name}),(0,M.jsx)("small",{children:a.role})]}),a.status&&(0,M.jsx)(Ee,{status:a.status})]}),a.children&&a.children.length>0&&(0,M.jsx)("ul",{children:a.children.map(t)})]},a.id||a.name)}return(0,M.jsx)("div",{className:"tf-org",children:(0,M.jsx)("ul",{children:t(Object.assign({root:!0},e.root))})})}function lh(e){let t=w(Ot),a=e.state||"listening",n=[];for(let l=0;l<24;l++)n.push(l);return(0,M.jsxs)("div",{className:b("tf-voice","is-"+a),children:[(0,M.jsx)(Kt,{tint:e.tint||"lilac",size:72,live:a!=="idle"}),(0,M.jsx)("b",{className:"tf-voice-name",children:e.name}),(0,M.jsx)("span",{className:"tf-voice-state",children:e.stateLabel||(a==="listening"?t.listening:a==="thinking"?t.thinking:a==="speaking"?t.speaking:t.paused)}),(0,M.jsx)("div",{className:"tf-voice-wave","aria-hidden":!0,children:n.map(l=>(0,M.jsx)("i",{style:{animationDelay:l*47%600+"ms",height:a==="idle"?4:void 0}},l))}),e.transcript&&(0,M.jsx)("p",{className:"tf-voice-transcript",children:e.transcript}),(0,M.jsxs)("div",{className:"tf-row",style:{justifyContent:"center"},children:[e.onMute&&(0,M.jsx)(W,{icon:e.muted?"x":"user",label:e.muted?t.unmute:t.mute,variant:"soft",size:"lg",onClick:e.onMute}),e.onEnd&&(0,M.jsx)("button",{type:"button",className:"tf-voice-end",onClick:e.onEnd,"aria-label":t.endConversation,children:(0,M.jsx)(z,{name:"x",size:20})})]})]})}var ie=G(ye(),1),HA=G(ce(),1);function ih(e){let t=w(gl);return(0,ie.jsx)("nav",{className:"tf-tabbar","aria-label":e.label||t.mainNavigation,children:(e.items||[]).map(a=>{let n=a.id===e.active;return(0,ie.jsxs)("button",{type:"button",className:b("tf-tabbar-item",n&&"on"),"aria-current":n?"page":void 0,onClick:()=>{e.onPick&&e.onPick(a.id)},children:[(0,ie.jsxs)("span",{className:"tf-tabbar-ico",children:[(0,ie.jsx)(z,{name:a.icon,size:20}),a.count?(0,ie.jsx)("span",{className:"tf-dotcount",children:a.count}):null]}),(0,ie.jsx)("span",{children:a.label})]},a.id)})})}function oh(e){return(0,ie.jsxs)("div",{className:"tf-push",children:[(0,ie.jsxs)("div",{className:"tf-push-top",children:[(0,ie.jsx)("span",{className:"tf-push-app",children:e.app}),(0,ie.jsx)("small",{children:e.time})]}),(0,ie.jsx)("b",{children:e.title}),(0,ie.jsx)("p",{children:e.text}),e.actions&&(0,ie.jsx)("div",{className:"tf-push-actions",children:e.actions.map(t=>(0,ie.jsx)("button",{type:"button",onClick:t.onClick,children:t.label},t.label))})]})}function rh(e){let t={project:"grid",team:"users",agent:"bot",tool:"zap",trigger:"clock",file:"file"};return(0,ie.jsxs)("div",{className:"tf-prsum",children:[(0,ie.jsxs)("div",{className:"tf-prsum-head",children:[(0,ie.jsx)(re,{icon:"branch",tint:"lilac"}),(0,ie.jsxs)("span",{className:"tf-option-text",children:[(0,ie.jsx)("b",{children:e.title}),(0,ie.jsx)("small",{children:e.meta})]}),e.status&&(0,ie.jsx)(Be,{status:e.status,label:e.statusLabel})]}),e.summary&&(0,ie.jsx)("p",{className:"tf-card-desc",style:{margin:0,fontSize:14,lineHeight:"22px"},children:e.summary}),(0,ie.jsx)("ul",{className:"tf-prsum-list",children:(e.items||[]).map((a,n)=>(0,ie.jsxs)("li",{className:"op-"+(a.op||"add"),children:[(0,ie.jsx)("span",{className:"tf-prsum-op",children:a.op==="remove"?"\u2212":a.op==="change"?"~":"+"}),(0,ie.jsx)(z,{name:t[a.kind]||"file",size:14}),(0,ie.jsxs)("span",{className:"tf-option-text",children:[(0,ie.jsx)("b",{children:a.name}),a.detail&&(0,ie.jsx)("small",{children:a.detail})]})]},n))}),e.actions&&(0,ie.jsx)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:e.actions})]})}function ch(e){let t=w(gl);return(0,ie.jsx)("div",{className:"tf-modules",children:(e.items||[]).map(a=>(0,ie.jsxs)("div",{className:"tf-module",children:[(0,ie.jsx)(re,{icon:a.icon||"grid",tint:a.core?"plain":a.enabled?"mint":"plain"}),(0,ie.jsxs)("span",{className:"tf-option-text",children:[(0,ie.jsxs)("b",{children:[a.name," ",(0,ie.jsx)("span",{className:"tf-mono tf-module-v",children:a.version})]}),(0,ie.jsx)("small",{children:a.text})]}),a.adds&&(0,ie.jsx)("span",{className:"tf-module-adds",children:a.adds.map(n=>(0,ie.jsx)(Oe,{tone:"neutral",dot:!1,children:n},n))}),a.core?(0,ie.jsx)(et,{label:e.coreLabel||t.coreModule,children:(0,ie.jsx)("span",{className:"tf-module-lock",tabIndex:0,children:(0,ie.jsx)(z,{name:"lock",size:14})})}):(0,ie.jsx)("input",{type:"checkbox",role:"switch",className:"tf-switch",checked:!!a.enabled,"aria-label":a.name,onChange:()=>{e.onToggle&&e.onToggle(a)}})]},a.id))})}var ae=G(ye(),1),Xi=G(ce(),1);var sh={money:"card",infra:"server",comms:"mail",marketing:"trend",apps:"code",legal:"book"};function uh(e){let t=w(bl),a=e.options||[{key:"A",label:e.approveLabel||t.approveAsShown},{key:"B",label:t.approveWithChange,input:t.whatShouldChange},{key:"C",label:t.discard},{key:"D",label:t.differentInstruction,input:t.whatInstead}],n=Xi.useState(null),l=Xi.useState(""),i=Xi.useRef(null),o=e.decision||(e.state==="approved"?{key:"A"}:e.state==="denied"?{key:"C"}:null);function r(s){if(s.input&&n[0]!==s.key){n[1](s.key),l[1]("");return}s.input&&!l[0].trim()||(e.onDecide&&e.onDecide(s.key,s.input?l[0].trim():void 0),s.key==="A"&&e.onApprove&&e.onApprove(),s.key==="C"&&e.onDeny&&e.onDeny(),s.key==="B"&&e.onEdit&&e.onEdit(l[0]),n[1](null))}function c(s){let d=s.target.tagName;if(o||d==="TEXTAREA"||d==="INPUT")return;let m=a.find(f=>f.key===s.key.toUpperCase());m&&(s.preventDefault(),r(m))}let u=e.family?sh[e.family]:void 0;if(o){let s=a.find(d=>d.key===o.key)||{key:o.key,label:""};return(0,ae.jsxs)("div",{className:b("tf-approval tf-approval-done",o.key==="A"||o.key==="B"?"yes":"no",e.className),children:[(0,ae.jsx)(Ee,{status:o.key==="A"||o.key==="B"?"ok":"idle"}),(0,ae.jsx)("b",{children:s.key+" \xB7 "+s.label}),e.title&&(0,ae.jsx)("span",{className:"tf-approval-done-what",children:e.title}),(0,ae.jsx)("span",{className:"tf-approval-done-by",children:[o.by,o.at].filter(Boolean).join(" \xB7 ")}),o.text&&(0,ae.jsx)("span",{className:"tf-approval-done-note",children:"\u201C"+o.text+"\u201D"})]})}return(0,ae.jsxs)("div",{ref:i,className:b("tf-approval",e.compact&&"compact",e.className),tabIndex:0,onKeyDown:c,role:"group","aria-label":typeof e.title=="string"?e.title:void 0,children:[(0,ae.jsxs)("div",{className:"tf-approval-top",children:[(0,ae.jsx)(Ee,{status:"signal"}),(0,ae.jsx)("b",{children:e.heading||t.approvalNeeded}),(e.agent||e.project)&&(0,ae.jsx)("span",{className:"tf-approval-who",children:[e.agent,e.project].filter(Boolean).join(" \xB7 ")}),u&&(0,ae.jsxs)(Oe,{tone:"neutral",dot:!1,className:"tf-family",children:[(0,ae.jsx)(z,{name:u,size:12}),e.familyLabel||e.family&&t.riskFamily[e.family]]}),e.age&&(0,ae.jsx)("span",{className:"tf-approval-age",children:e.age})]}),(0,ae.jsxs)("div",{className:"tf-approval-main",children:[e.title&&(0,ae.jsx)("p",{className:"tf-approval-title",children:e.title}),e.text&&(0,ae.jsx)("p",{className:"tf-approval-reason",children:e.text}),e.children&&(0,ae.jsx)("div",{className:"tf-approval-body",children:e.children})]}),(0,ae.jsx)("div",{className:"tf-approval-opts",role:"list",children:a.map((s,d)=>(0,ae.jsxs)("div",{role:"listitem",children:[(0,ae.jsxs)("button",{type:"button",className:b("tf-approval-opt",d===0&&"primary",n[0]===s.key&&"open"),onClick:()=>{r(s)},"aria-keyshortcuts":s.key,children:[(0,ae.jsx)("kbd",{children:s.key}),(0,ae.jsx)("span",{children:s.label}),s.input&&n[0]!==s.key&&(0,ae.jsx)(z,{name:"chevronRight",size:14})]}),s.input&&n[0]===s.key&&(0,ae.jsxs)("div",{className:"tf-approval-input tf-in",children:[(0,ae.jsx)("textarea",{className:"tf-input",rows:2,autoFocus:!0,placeholder:s.placeholder||(typeof s.input=="string"?s.input:void 0),value:l[0],onChange:m=>{l[1](m.target.value)},onKeyDown:m=>{m.key==="Enter"&&(m.metaKey||m.ctrlKey)&&r(s),m.key==="Escape"&&n[1](null)}}),(0,ae.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:[(0,ae.jsx)(Q,{size:"sm",variant:"ghost",onClick:()=>{n[1](null)},children:t.cancel}),(0,ae.jsx)(Q,{size:"sm",disabled:!l[0].trim(),onClick:()=>{r(s)},children:s.key+" \xB7 "+t.send})]})]})]},s.key))}),(e.escalation||e.trace||e.note)&&(0,ae.jsxs)("div",{className:"tf-approval-foot",children:[e.escalation&&(0,ae.jsxs)("span",{children:[(0,ae.jsx)(z,{name:"clock",size:13}),e.escalation]}),e.note&&(0,ae.jsx)("span",{children:e.note}),e.trace&&(0,ae.jsx)("span",{className:"tf-approval-trace",children:e.trace})]})]})}function dh(e){let t=w(bl),a=(e.items||[]).slice().sort((n,l)=>(l.ageMin||0)-(n.ageMin||0));return(0,ae.jsx)("div",{className:"tf-inbox",role:"listbox","aria-label":e.label||t.approvals,onKeyDown:n=>{let l=a.findIndex(i=>i.id===e.selected);if(n.key==="j"||n.key==="ArrowDown"){n.preventDefault();let i=a[Math.min(a.length-1,l+1)];i&&e.onSelect&&e.onSelect(i.id)}if(n.key==="k"||n.key==="ArrowUp"){n.preventDefault();let i=a[Math.max(0,l-1)];i&&e.onSelect&&e.onSelect(i.id)}},children:a.length===0?(0,ae.jsx)(Ml,{icon:"check",tint:"mint",title:e.emptyTitle||t.nothingWaiting,text:e.emptyText}):a.map(n=>{let l=n.family?sh[n.family]:void 0;return(0,ae.jsxs)("button",{type:"button",role:"option","aria-selected":n.id===e.selected,className:b("tf-inbox-row",n.id===e.selected&&"on"),onClick:()=>{e.onSelect&&e.onSelect(n.id)},children:[(0,ae.jsx)(Ee,{status:"signal"}),(0,ae.jsxs)("span",{className:"tf-inbox-text",children:[(0,ae.jsx)("b",{children:n.title}),(0,ae.jsx)("small",{children:[n.agent,n.project].filter(Boolean).join(" \xB7 ")})]}),l&&(0,ae.jsxs)(Oe,{tone:"neutral",dot:!1,className:"tf-family",children:[(0,ae.jsx)(z,{name:l,size:12}),n.familyLabel||n.family&&t.riskFamily[n.family]]}),(0,ae.jsxs)("span",{className:b("tf-inbox-age",n.urgent&&"warn"),children:[n.urgent&&(0,ae.jsx)(Ee,{status:"warn"}),n.age]})]},n.id)})})}var Z=G(ye(),1),Qn=G(ce(),1);function mh(e){let t=w(C0),a=e.value||{},n=Object.keys(a).filter(o=>a[o]!=null&&a[o]!=="");function l(o,r){let c=Object.assign({},a);r==null?delete c[o]:c[o]=r,e.onChange?.(c)}let i=(e.filters||[]).filter(o=>n.indexOf(o.key)<0);return(0,Z.jsxs)("div",{className:"tf-filterbar",children:[e.search&&(0,Z.jsx)(Da,{placeholder:e.search,value:e.query,onChange:o=>{e.onQuery?.(o.target.value)},style:{minWidth:0,flex:"1 1 220px",maxWidth:320}}),n.map(o=>{let r=(e.filters||[]).find(c=>c.key===o)||{key:o,label:o,options:[]};return(0,Z.jsx)(Ue,{width:220,flush:!0,trigger:c=>(0,Z.jsxs)("span",{className:"tf-filterchip",children:[(0,Z.jsxs)("button",{type:"button",onClick:c.toggle,children:[(0,Z.jsx)("span",{children:r.label+":"}),(0,Z.jsx)("b",{children:a[o]})]}),(0,Z.jsx)("button",{type:"button",className:"x","aria-label":t.removeFilter(r.label),onClick:()=>{l(o,null)},children:(0,Z.jsx)(z,{name:"x",size:12})})]}),children:c=>(0,Z.jsx)(At,{items:r.options.map(u=>({label:u,icon:u===a[o]?"check":void 0,onClick:()=>{l(o,u),c.close()}}))})},o)}),i.length>0&&(0,Z.jsx)(Ue,{width:240,flush:!0,trigger:o=>(0,Z.jsxs)("button",{type:"button",className:"tf-chip tf-chip-dashed",onClick:o.toggle,children:[(0,Z.jsx)(z,{name:"plus",size:14}),t.addFilter]}),children:o=>(0,Z.jsx)(L6,{avail:i,onPick:(r,c)=>{l(r,c),o.close()}})}),n.length>1&&(0,Z.jsx)("button",{type:"button",className:"tf-linkbtn",onClick:()=>{e.onChange?.({})},children:t.clearAll}),e.right&&(0,Z.jsx)("div",{className:"tf-filterbar-right",children:e.right})]})}function L6(e){let t=w(C0),a=Qn.useState(null),n=a[0];return n?(0,Z.jsx)(At,{items:[{label:t.back,icon:"chevronLeft",onClick:()=>{a[1](null)}},"-",...n.options.map(l=>({label:l,onClick:()=>{e.onPick?.(n.key,l)}}))]}):(0,Z.jsx)(At,{items:e.avail.map(l=>({label:l.label,icon:l.icon||"filter",onClick:()=>{a[1](l)}}))})}function Ki(e){let t=w(C0),a=e.columns||[],n=e.rowKey||"id",l=Qn.useState(e.defaultSort||null),i=Qn.useState([]),o=Qn.useState(a.filter(g=>g.hidden).map(g=>g.key)),r=Qn.useState({}),c=l[0],u=(e.rows||[]).slice();if(c){let g=a.find(V=>V.key===c.key),y=c.dir==="desc"?-1:1,E=g&&g.sortValue||(V=>V[c.key]);u.sort((V,U)=>{let O=E(V),$=E(U);return(O>$?1:O<$?-1:0)*y})}let s=a.filter(g=>o[0].indexOf(g.key)<0),d=u.map(g=>g[n]),m=i[0].filter(g=>d.indexOf(g)>=0),f=d.length>0&&m.length===d.length,x=m.length>0&&!f;function N(g){i[1](m.indexOf(g)>=0?m.filter(y=>y!==g):m.concat([g]))}function C(g,y,E,V){return(0,Z.jsxs)("span",{className:"tf-checkbox",children:[(0,Z.jsx)("input",{type:"checkbox",checked:g,onChange:y,"aria-label":E,ref:U=>{U&&(U.indeterminate=!!V)}}),(0,Z.jsx)("span",{className:b("tf-checkbox-box",V&&"ind"),"aria-hidden":!0,children:(0,Z.jsx)("svg",{viewBox:"0 0 24 24",width:14,height:14,fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,Z.jsx)("path",{d:V?"M6 12h12":"M5 12.5l4.5 4.5L19 7.5"})})})]})}let v=s.length+(e.selectable?1:0)+(e.renderExpanded?1:0),p=u.filter(g=>m.indexOf(g[n])>=0);return(0,Z.jsxs)("div",{className:b("tf-dt",e.className),children:[(e.toolbar||e.columnToggle!==!1)&&(0,Z.jsxs)("div",{className:"tf-dt-toolbar",children:[e.toolbar,e.columnToggle!==!1&&(0,Z.jsx)(Ue,{align:"end",width:220,flush:!0,trigger:g=>(0,Z.jsx)(et,{label:t.columns,children:(0,Z.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-soft","aria-label":t.chooseColumns,onClick:g.toggle,children:(0,Z.jsx)(z,{name:"grid"})})}),children:(0,Z.jsxs)("div",{className:"tf-menu tf-menu-static",children:[(0,Z.jsx)("div",{className:"tf-menu-label",children:t.columns}),a.filter(g=>g.hideable!==!1&&g.label).map(g=>{let y=o[0].indexOf(g.key)<0;return(0,Z.jsxs)("label",{className:"tf-menu-item",children:[C(y,()=>{o[1](y?o[0].concat([g.key]):o[0].filter(E=>E!==g.key))},typeof g.label=="string"?g.label:g.key),g.label]},g.key)})]})})]}),(0,Z.jsx)("div",{className:b("tf-dt-scroll",e.stickyHeader&&"sticky"),style:e.maxHeight?{maxHeight:e.maxHeight}:void 0,children:(0,Z.jsxs)("table",{className:"tf-table tf-dt-table",children:[(0,Z.jsx)("thead",{children:(0,Z.jsxs)("tr",{children:[e.selectable&&(0,Z.jsx)("th",{className:"tf-dt-sel",children:C(f,()=>{i[1](f?[]:d)},t.selectAllRows,x)}),e.renderExpanded&&(0,Z.jsx)("th",{className:"tf-dt-exp","aria-label":t.expand}),s.map(g=>{let y=l[0]&&l[0].key===g.key?l[0].dir:null;return(0,Z.jsx)("th",{className:b(g.align==="right"&&"tf-num"),style:g.width?{width:g.width}:void 0,"aria-sort":y?y==="asc"?"ascending":"descending":void 0,children:g.sortable?(0,Z.jsxs)("button",{type:"button",className:b("tf-dt-sort",y&&"on"),onClick:()=>{l[1](y==="asc"?{key:g.key,dir:"desc"}:y==="desc"?null:{key:g.key,dir:"asc"})},children:[g.label,(0,Z.jsx)(z,{name:"chevronDown",size:12,className:b("tf-dt-arrow",y==="asc"&&"up",!y&&"idle")})]}):g.label},g.key)})]})}),(0,Z.jsx)("tbody",{children:u.length===0?(0,Z.jsx)("tr",{children:(0,Z.jsx)("td",{colSpan:v,className:"tf-dt-empty",children:e.empty||t.nothingMatchesFilters})}):u.map(g=>{let y=g[n],E=m.indexOf(y)>=0,V=!!r[0][String(y)];return(0,Z.jsxs)(Qn.Fragment,{children:[(0,Z.jsxs)("tr",{className:b(E&&"selected",V&&"expanded"),children:[e.selectable&&(0,Z.jsx)("td",{className:"tf-dt-sel",children:C(E,()=>{N(y)},t.selectRow)}),e.renderExpanded&&(0,Z.jsx)("td",{className:"tf-dt-exp",children:(0,Z.jsx)("button",{type:"button",className:b("tf-dt-toggle",V&&"open"),"aria-expanded":V,"aria-label":V?t.collapseRow:t.expandRow,onClick:()=>{let U=Object.assign({},r[0]);U[String(y)]=!V,r[1](U)},children:(0,Z.jsx)(z,{name:"chevronRight",size:14})})}),s.map(U=>(0,Z.jsx)("td",{className:U.align==="right"?"tf-num":void 0,children:U.render?U.render(g):g[U.key]},U.key))]}),V&&(0,Z.jsx)("tr",{className:"tf-dt-detail",children:(0,Z.jsx)("td",{colSpan:v,children:(0,Z.jsx)("div",{className:"tf-dt-detail-in tf-in",children:e.renderExpanded?.(g)})})})]},y)})})]})}),e.selectable&&m.length>0&&(0,Z.jsxs)("div",{className:"tf-bulkbar",role:"toolbar","aria-label":t.bulkActions,children:[(0,Z.jsx)("b",{children:t.selectedCount(m.length)}),(0,Z.jsx)("button",{type:"button",className:"tf-linkbtn on-frame",onClick:()=>{i[1]([])},children:t.clear}),(0,Z.jsx)("div",{className:"tf-bulkbar-actions",children:(e.bulkActions||[]).map(g=>(0,Z.jsxs)("button",{type:"button",className:b("tf-bulk-btn",g.danger&&"danger"),onClick:()=>{g.onClick(p,()=>{i[1]([])})},children:[g.icon&&(0,Z.jsx)(z,{name:g.icon,size:14}),g.label]},g.label))})]})]})}var Ve=G(ye(),1),na=G(ce(),1);var j6=e=>typeof e=="string"?{value:e,label:e}:e;function fh(e){let t=w(Di),a=Ne("sel"),n=e.id||a,l=hn(e.name),i=e.error||l,o=(e.options||[]).map(j6),r=P(e.value,e.defaultValue??"",e.onChange),[c,u]=na.useState(!1),[s,d]=na.useState(-1),m=na.useRef(null),f=na.useRef(null),x=na.useRef(null),N=na.useRef({s:"",t:0}),C=o.find(O=>O.value===r[0]),v=o.map((O,$)=>O.disabled?-1:$).filter(O=>O>=0),p=O=>{d(O??Math.max(0,o.indexOf(C))),u(!0)},g=(O=!0)=>{u(!1),O&&m.current?.focus()},y=O=>{let $=o[O];!$||$.disabled||(r[1]($.value),g(),requestAnimationFrame(()=>x.current?.dispatchEvent(new Event("change",{bubbles:!0}))))},E=O=>{let $=v.indexOf(s),I=v[Math.min(v.length-1,Math.max(0,$+O))];I!=null&&d(I)},V=O=>{let $=Date.now();N.current={s:($-N.current.t<600?N.current.s:"")+O,t:$};let I=N.current.s.toLowerCase();return o.findIndex(Fe=>!Fe.disabled&&Fe.label.toLowerCase().startsWith(I))};na.useEffect(()=>{c&&f.current?.focus()},[c]),na.useEffect(()=>{!c||s<0||f.current?.querySelector(`#${CSS.escape(`${a}-o${s}`)}`)?.scrollIntoView({block:"nearest"})},[c,s,a]);let U=[];return o.forEach((O,$)=>{let I=U[U.length-1];I&&I[0]===O.group?I[1].push($):U.push([O.group,[$]])}),(0,Ve.jsxs)("div",{className:b("tf-field",e.className),style:e.style,children:[e.label&&(0,Ve.jsxs)("label",{className:"tf-field-label",htmlFor:n,id:`${n}-label`,children:[e.label,e.required&&(0,Ve.jsx)("span",{className:"tf-req","aria-hidden":!0,children:" *"})]}),(0,Ve.jsx)(Ue,{block:!0,open:c,onOpenChange:O=>O?p():g(!1),role:"presentation",flush:!0,trigger:()=>(0,Ve.jsxs)("button",{ref:m,id:n,type:"button",className:b("tf-input","tf-selectmenu",!C&&"empty"),role:"combobox","aria-haspopup":"listbox","aria-expanded":c,"aria-controls":`${a}-list`,"aria-invalid":i?"true":void 0,"aria-describedby":i||e.hint?`${n}-msg`:void 0,disabled:e.disabled,onClick:()=>c?g():p(),onKeyDown:O=>{if(["ArrowDown","ArrowUp","Enter"," "].includes(O.key))O.preventDefault(),p();else if(O.key.length===1&&/\S/.test(O.key)){let $=V(O.key);$>=0&&r[1](o[$]?.value)}},children:[C?.icon&&(0,Ve.jsx)(z,{name:C.icon,size:15}),(0,Ve.jsx)("span",{className:"tf-selectmenu-value",children:C?C.label:e.placeholder||t.selectPlaceholder}),(0,Ve.jsx)(z,{name:"chevronDown",size:16,className:"tf-selectmenu-chev"})]}),children:(0,Ve.jsx)("div",{ref:f,id:`${a}-list`,className:"tf-selectmenu-list",role:"listbox",tabIndex:-1,"aria-labelledby":e.label?`${n}-label`:void 0,"aria-label":e.label?void 0:e.placeholder||t.options,"aria-activedescendant":s>=0?`${a}-o${s}`:void 0,onKeyDown:O=>{let I={ArrowDown:()=>E(1),ArrowUp:()=>E(-1),Home:()=>d(v[0]??-1),End:()=>d(v[v.length-1]??-1),Enter:()=>y(s)," ":()=>y(s),Escape:()=>g()}[O.key];if(I)O.preventDefault(),I();else if(O.key==="Tab")g(!1);else if(O.key.length===1&&/\S/.test(O.key)){let Fe=V(O.key);Fe>=0&&d(Fe)}},children:U.map(([O,$],I)=>{let Fe=$.map(un=>{let wa=o[un],Fo=wa.value===r[0];return(0,Ve.jsxs)("div",{id:`${a}-o${un}`,role:"option","aria-selected":Fo,"aria-disabled":wa.disabled||void 0,className:b("tf-selectmenu-opt",un===s&&"active"),onPointerMove:()=>!wa.disabled&&d(un),onClick:()=>y(un),children:[wa.icon&&(0,Ve.jsx)(z,{name:wa.icon,size:15}),(0,Ve.jsxs)("span",{className:"tf-option-text",children:[(0,Ve.jsx)("b",{children:wa.label}),wa.hint&&(0,Ve.jsx)("small",{children:wa.hint})]}),Fo&&(0,Ve.jsx)(z,{name:"check",size:15,className:"tf-selectmenu-check"})]},wa.value)});return O?(0,Ve.jsxs)("div",{role:"group","aria-labelledby":`${a}-g${I}`,children:[(0,Ve.jsx)("div",{id:`${a}-g${I}`,className:"tf-menu-label",role:"presentation",children:O}),Fe]},O+I):(0,Ve.jsx)(na.Fragment,{children:Fe},"g"+I)})})}),(0,Ve.jsx)("input",{ref:x,type:"hidden",name:e.name,value:r[0]}),i?(0,Ve.jsxs)("span",{id:`${n}-msg`,className:"tf-field-error",role:"alert",children:[(0,Ve.jsx)(z,{name:"x",size:12}),i]}):e.hint&&(0,Ve.jsx)("span",{id:`${n}-msg`,className:"tf-field-hint",children:e.hint})]})}var K=G(ye(),1),$s=G(ce(),1);var S=G(ye(),1),pn=G(ce(),1);function vh(e){let t=w(Gt);return(0,S.jsxs)("nav",{className:"tf-subnav","aria-label":t.sectionPages(e.eyebrow),children:[(0,S.jsxs)("div",{className:"tf-subnav-head",children:[e.eyebrow&&(0,S.jsx)("span",{className:"tf-subnav-eyebrow",children:e.eyebrow}),e.action&&(0,S.jsxs)("button",{type:"button",className:"tf-subnav-action",onClick:e.action.onClick,children:[(0,S.jsx)(z,{name:e.action.icon||"plus",size:15}),(0,S.jsx)("span",{children:e.action.label})]})]}),(0,S.jsx)("div",{className:"tf-subnav-list",children:(e.items||[]).map(a=>{let n=a.id||a.label;return(0,S.jsxs)("button",{type:"button",className:"tf-subnav-item","aria-current":e.current===n?"page":void 0,title:a.label,onClick:()=>{e.onPick&&e.onPick(n)},children:[(0,S.jsx)(z,{name:a.icon,size:17}),(0,S.jsx)("span",{className:"tf-subnav-label",children:a.label}),a.count?(0,S.jsx)("span",{className:"tf-subnav-count",children:a.count}):null]},n)})}),e.children]})}function Dr(e){let t=w(Gt),a=pn.useRef(null),n=xt(e.open??!0);return O0(a,e.onClose),n.mounted?(0,S.jsx)("div",{...dt(n.closing),className:b("tf-drawer-wrap",e.inline&&"inline"),onMouseDown:l=>{l.target===l.currentTarget&&e.onClose&&e.onClose?.()},children:(0,S.jsxs)("aside",{ref:a,className:b("tf-drawer",e.side&&e.side!=="right"&&"side-"+e.side),role:"dialog","aria-modal":"true","aria-label":e.title,style:e.width?{width:e.width}:void 0,children:[(0,S.jsxs)("div",{className:"tf-header",style:{alignItems:"center"},children:[(0,S.jsxs)("div",{className:"tf-row",style:{flexWrap:"nowrap",minWidth:0},children:[e.avatar&&(0,S.jsx)(qe,{name:e.avatar,size:44}),(0,S.jsxs)("div",{style:{minWidth:0},children:[(0,S.jsx)("div",{className:"tf-panel-title",children:e.title}),e.subtitle&&(0,S.jsx)("div",{className:"tf-panel-sub",children:e.subtitle})]})]}),(0,S.jsx)(W,{icon:"x",label:t.close,onClick:e.onClose})]}),e.children]})}):null}function ph(e){let t=w(Gt),a=pn.useState(""),n=pn.useState(0),l=pn.useRef(null),i=xt(e.open??!0);O0(l,e.onClose);let o=a[0].toLowerCase().trim(),r=e.items||[],c=(o?r.filter(f=>o.split(/\s+/).every(x=>(f.label+" "+(f.hint||"")+" "+(f.group||"")).toLowerCase().indexOf(x)>-1)):r.filter(f=>!f.searchOnly)).slice(0,40),u=Math.min(n[0],Math.max(0,c.length-1));function s(f){e.onClose&&e.onClose?.(),f&&f.run&&f.run()}function d(f){f.key==="ArrowDown"?(f.preventDefault(),n[1](Math.min(c.length-1,u+1))):f.key==="ArrowUp"?(f.preventDefault(),n[1](Math.max(0,u-1))):f.key==="Enter"&&(f.preventDefault(),s(c[u]))}let m=[];return c.forEach((f,x)=>{let N=f.group||t.results;(!m.length||m[m.length-1].g!==N)&&m.push({g:N,items:[]}),m[m.length-1].items.push([f,x])}),i.mounted?(0,S.jsx)("div",{...dt(i.closing),className:b("tf-palette-wrap",e.inline&&"inline"),onMouseDown:f=>{f.target===f.currentTarget&&e.onClose&&e.onClose?.()},children:(0,S.jsxs)("div",{ref:l,className:"tf-palette",role:"dialog","aria-modal":"true","aria-label":t.commandPalette,children:[(0,S.jsxs)("div",{className:"tf-palette-input",children:[(0,S.jsx)(z,{name:"search",size:18}),(0,S.jsx)("input",{placeholder:e.placeholder||t.paletteSearchPlaceholder,"aria-label":t.search,value:a[0],onChange:f=>{a[1](f.target.value),n[1](0),e.onQueryChange?.(f.target.value)},onKeyDown:d}),(0,S.jsx)("kbd",{children:t.escKey})]}),(0,S.jsxs)("div",{className:"tf-palette-list",role:"listbox","aria-label":t.results,children:[e.loading&&(0,S.jsxs)("div",{className:"tf-palette-empty",role:"status",children:[(0,S.jsx)(Cr,{})," ",t.searching]}),c.length?m.map(f=>(0,S.jsxs)("div",{children:[(0,S.jsx)("div",{className:"tf-palette-group",children:f.g}),f.items.map(x=>{let N=x[0],C=x[1];return(0,S.jsxs)("button",{type:"button",role:"option","aria-selected":C===u?"true":"false",className:"tf-palette-item",onMouseMove:()=>{C!==u&&n[1](C)},onClick:()=>{s(N)},children:[(0,S.jsx)(re,{icon:N.icon||"search",tint:N.tint||"plain"}),(0,S.jsxs)("span",{className:"tf-palette-label",children:[(0,S.jsx)("b",{children:N.label}),N.hint&&(0,S.jsx)("span",{children:N.hint})]}),C===u&&(0,S.jsx)("kbd",{children:"\u21B5"})]},N.id||N.label)})]},f.g)):e.loading?null:(0,S.jsx)("div",{className:"tf-palette-empty",children:e.empty??t.nothingMatches(a[0])})]}),(0,S.jsxs)("div",{className:"tf-palette-foot",children:[(0,S.jsxs)("span",{children:[(0,S.jsx)("kbd",{children:"\u2191"}),(0,S.jsx)("kbd",{children:"\u2193"})," ",t.paletteMove]}),(0,S.jsxs)("span",{children:[(0,S.jsx)("kbd",{children:"\u21B5"})," ",t.paletteOpen]}),(0,S.jsxs)("span",{children:[(0,S.jsx)("kbd",{children:"\u2318"}),(0,S.jsx)("kbd",{children:"K"})," "+t.paletteAnywhere]})]})]})}):null}function gh(e){let t=w(Gt),a=pn.useState("all"),n=(e.items||[]).filter(l=>a[0]==="all"||l.unread);return(0,S.jsxs)("div",{className:"tf-notes",role:"region","aria-label":t.notifications,children:[(0,S.jsxs)("div",{className:"tf-header",style:{alignItems:"center",padding:"6px 8px 0"},children:[(0,S.jsx)("b",{style:{fontSize:16},children:t.notifications}),(0,S.jsx)(Q,{variant:"ghost",size:"sm",icon:"check",disabled:!(e.items||[]).some(l=>l.unread),onClick:e.onReadAll,children:t.markAllRead})]}),(0,S.jsx)("div",{style:{padding:"0 8px"},children:(0,S.jsx)(xr,{block:!0,items:[t.all,t.unread],value:a[0]==="all"?t.all:t.unread,onChange:l=>a[1](l===t.unread?"unread":"all")})}),(0,S.jsx)("div",{className:"tf-notes-list",children:n.length?n.map(l=>(0,S.jsxs)("button",{type:"button",className:b("tf-note",l.unread&&"unread"),onClick:()=>{e.onOpen&&e.onOpen(l)},children:[(0,S.jsx)(re,{icon:l.icon,tint:l.tint}),(0,S.jsxs)("span",{className:"tf-note-text",children:[(0,S.jsx)("b",{children:l.title}),(0,S.jsx)("span",{children:l.text})]}),(0,S.jsxs)("span",{className:"tf-note-time",children:[l.time,l.unread&&(0,S.jsx)("span",{className:"tf-unread"})]})]},l.id)):(0,S.jsxs)("div",{className:"tf-notes-empty",children:[(0,S.jsx)(re,{icon:"check",tint:"mint",size:40}),(0,S.jsx)("b",{children:t.allCaughtUp})]})})]})}var H6=()=>({trigger:["zap","sky"],condition:["filter","blush"],agent:["bot","lilac"],approval:["user","butter"],action:["send","mint"]});function bh(e){let t=w(Gt);return(0,S.jsx)("ol",{className:"tf-flow tf-stagger",style:{"--base":"120ms"},children:(e.steps||[]).map((a,n)=>{let l=H6(),i=l[a.kind]?a.kind:"action",o=l[i],r=n<(e.active==null?-1:e.active)?"done":n===e.active?e.waiting?"wait":"active":"";return(0,S.jsxs)("li",{className:b("tf-flow-node",r),children:[(0,S.jsx)("span",{className:"tf-flow-icon tf-t-"+o[1],children:(0,S.jsx)(z,{name:r==="done"?"check":o[0],size:16})}),(0,S.jsxs)("div",{className:"tf-flow-card",children:[(0,S.jsxs)("div",{className:"tf-flow-kind",children:[t.flowStep[i],r==="active"&&(0,S.jsx)("span",{className:"tf-flow-live",children:t.flowRunning}),r==="wait"&&(0,S.jsx)("span",{className:"tf-flow-live wait",children:t.waitingForYou})]}),(0,S.jsx)("div",{className:"tf-flow-text",children:a.text}),r==="wait"&&e.onApprove&&(0,S.jsxs)("div",{className:"tf-row",style:{marginTop:8},children:[(0,S.jsx)(Q,{size:"sm",icon:"check",onClick:e.onApprove,children:t.approve}),e.onReject&&(0,S.jsx)(Q,{size:"sm",variant:"ghost",onClick:e.onReject,children:t.reject})]})]}),e.tools&&r===""?(0,S.jsx)("div",{className:"tf-flow-tools",children:e.tools(a,n)}):null]},n)})})}var hh={pdf:["file","blush"],doc:["book","sky"],sheet:["chart","mint"],fig:["sparkle","lilac"],img:["eye","butter"],zip:["folder","butter"]};function Ps(e){let t=e.kind,a=e.big;return t==="sheet"?(0,S.jsx)("span",{className:"tf-t-sheet",children:Array.from({length:a?7:4},(n,l)=>(0,S.jsx)("span",{children:Array.from({length:4},(i,o)=>(0,S.jsx)("i",{style:{opacity:l===0?1:.55}},o))},l))}):t==="img"||t==="fig"?(0,S.jsxs)("span",{className:b("tf-t-art",t==="fig"&&"fig"),children:[(0,S.jsx)("i",{}),(0,S.jsx)("i",{}),(0,S.jsx)("i",{})]}):t==="zip"?(0,S.jsx)("span",{className:"tf-t-zip",children:(e.entries||["logo.svg","colors.json","fonts/"]).map(n=>(0,S.jsxs)("span",{children:[(0,S.jsx)(z,{name:"file",size:11}),n]},n))}):(0,S.jsxs)("span",{className:"tf-t-doc",children:[(0,S.jsx)("b",{children:(e.title||"").replace(/\.[^.]+$/,"")}),Array.from({length:a?9:4},(n,l)=>(0,S.jsx)("i",{style:{width:60+l*37%40+"%"}},l))]})}function yh(e){let t=w(Gt),a=hh[e.kind]||hh.doc;return(0,S.jsxs)("button",{type:"button",className:"tf-filecard",onClick:e.onClick,children:[(0,S.jsx)("span",{className:"tf-thumb tf-bg-"+a[1],children:(0,S.jsx)(Ps,{kind:e.kind,title:e.name})}),(0,S.jsx)("span",{className:"tf-filecard-name",children:e.name}),(0,S.jsxs)("span",{className:"tf-filecard-meta",children:[[e.size,e.meta].filter(Boolean).join(" \xB7 "),e.shared&&(0,S.jsx)(z,{name:"users",size:12,label:t.shared})]})]})}function xh(e){let t=w(Gt),a=e.steps||[],n=e.current||0,l=e.done||{};return(0,S.jsxs)("div",{className:"tf-wizard",role:"group","aria-label":e.label||t.setup,children:[(0,S.jsxs)("aside",{className:"tf-wizard-rail",children:[e.brand&&(0,S.jsxs)("span",{className:"tf-brand",style:{color:"var(--on-frame)"},children:[e.brand,(0,S.jsx)("span",{className:"tf-brand-dot"})]}),(0,S.jsx)("ol",{children:a.map((i,o)=>{let r=l[i.id||o];return(0,S.jsx)("li",{children:(0,S.jsxs)("button",{type:"button",className:b("tf-wizard-step",o===n&&"cur",r&&"ok"),"aria-current":o===n?"step":void 0,onClick:()=>{e.onPick&&e.onPick(o)},children:[(0,S.jsx)("span",{children:r?(0,S.jsx)(z,{name:"check",size:12}):o+1}),i.label]})},o)})})]}),(0,S.jsxs)("div",{className:"tf-wizard-main",children:[(0,S.jsx)("div",{className:"tf-card-desc",children:t.stepOf(n+1,a.length)}),(0,S.jsxs)("div",{className:"tf-wizard-body",children:[a[n]&&a[n].icon&&(0,S.jsx)(re,{icon:a[n].icon,tint:"sky",size:44}),a[n]&&(0,S.jsx)("h2",{className:"tf-modal-title",children:a[n].label}),e.children]},n),e.footer&&(0,S.jsx)("div",{className:"tf-modal-foot",style:{justifyContent:"space-between"},children:e.footer})]})]})}function Nh(e){let t=w(Gt),a=()=>t.permissionLevels,n=pn.useRef(null);return fn(n),(0,S.jsx)("div",{ref:n,className:"tf-scroll",children:(0,S.jsxs)("table",{className:"tf-table tf-perm",children:[(0,S.jsx)("thead",{children:(0,S.jsxs)("tr",{children:[(0,S.jsx)("th",{children:t.role}),(e.areas||[]).map(l=>(0,S.jsx)("th",{children:l},l))]})}),(0,S.jsx)("tbody",{className:"tf-stagger",style:{"--base":"120ms"},children:(e.roles||[]).map((l,i)=>(0,S.jsxs)("tr",{children:[(0,S.jsxs)("td",{children:[(0,S.jsx)("div",{style:{fontWeight:700},children:l.name}),l.people!=null&&(0,S.jsx)("div",{className:"tf-card-desc",children:t.memberCount(l.people)})]}),l.levels.map((o,r)=>(0,S.jsx)("td",{children:(0,S.jsx)("button",{type:"button",className:"tf-perm-cell lv"+o,disabled:l.locked,"aria-label":l.name+" \xB7 "+e.areas[r]+": "+a()[o],onClick:()=>{e.onChange&&e.onChange(i,r,(o+1)%4)},children:a()[o]})},r))]},l.name))})]})})}function zh(){let{formatMoney:e}=J();return t=>e(t,null,{minimumFractionDigits:2})}function Sh(e){let t=w(Gt),a=zh(),{formatPercent:n}=J(),l=e.lines||[],i=0,o={};l.forEach(u=>{let s=u.q*u.u;i+=s,o[u.v]=(o[u.v]||0)+s*u.v/100});let r=0;Object.keys(o).forEach(u=>{r+=o[Number(u)]??0});let c=e.format||a;return(0,S.jsxs)("div",{className:"tf-paper",children:[(0,S.jsxs)("div",{className:"tf-paper-top",children:[(0,S.jsxs)("div",{children:[e.brand&&(0,S.jsxs)("div",{className:"tf-brand",style:{color:"var(--ink)",fontSize:18},children:[e.brand,(0,S.jsx)("span",{className:"tf-brand-dot"})]}),e.from&&(0,S.jsx)("div",{className:"tf-paper-small",children:e.from})]}),(0,S.jsxs)("div",{className:"tf-paper-id",children:[(0,S.jsx)("div",{className:"tf-paper-kind",children:e.kind||t.invoice}),(0,S.jsx)("div",{className:"tf-mono",children:"#"+e.number})]})]}),(0,S.jsxs)("div",{className:"tf-paper-meta",children:[(0,S.jsxs)("div",{children:[(0,S.jsx)("span",{children:t.billTo}),(0,S.jsx)("b",{children:e.to})]}),(0,S.jsxs)("div",{children:[(0,S.jsx)("span",{children:t.issued}),(0,S.jsx)("b",{children:e.issued})]}),(0,S.jsxs)("div",{children:[(0,S.jsx)("span",{children:t.due}),(0,S.jsx)("b",{children:e.due})]})]}),(0,S.jsx)("div",{className:"tf-paper-lines",children:l.map((u,s)=>(0,S.jsxs)("div",{children:[(0,S.jsx)("span",{children:(u.d||t.untitledLine)+(u.q!==1?" \xD7 "+u.q:"")}),(0,S.jsx)("b",{children:c(u.q*u.u)})]},s))}),(0,S.jsxs)("div",{className:"tf-paper-totals",children:[(0,S.jsxs)("div",{children:[(0,S.jsx)("span",{children:t.net}),(0,S.jsx)("b",{children:c(i)})]}),Object.keys(o).filter(u=>+u>0).map(u=>(0,S.jsxs)("div",{children:[(0,S.jsx)("span",{children:t.vatAt(n(Number(u),{maximumFractionDigits:2}))}),(0,S.jsx)("b",{children:c(o[Number(u)]??0)})]},u)),(0,S.jsxs)("div",{className:"grand",children:[(0,S.jsx)("span",{children:t.totalDue}),(0,S.jsx)("b",{children:c(i+r)})]})]}),e.note&&(0,S.jsx)("div",{className:"tf-paper-small",children:e.note})]})}function Mh(e){let t=w(Gt),a=zh(),n=pn.useState(!1),l=e.amount>0;return(0,S.jsxs)("div",{className:b("tf-tx",!e.matched&&"unmatched"),children:[(0,S.jsxs)("div",{className:"tf-tx-row",children:[(0,S.jsx)(re,{icon:l?"download":"send",tint:l?"mint":"plain"}),(0,S.jsxs)("div",{className:"tf-tx-text",children:[(0,S.jsx)("b",{className:"tf-mono",children:e.text}),(0,S.jsx)("span",{children:e.date+(e.matched&&e.matchRef?" \xB7 "+t.matchedTo(e.matchRef):"")})]}),(0,S.jsx)("b",{className:b("tf-tx-amt",l?"in":"out"),children:(l?"+":"\u2212")+a(Math.abs(e.amount))}),e.matched?(0,S.jsx)(Oe,{tone:"success",children:t.matched}):(0,S.jsx)(Q,{size:"sm",variant:n[0]?"soft":"primary",onClick:()=>{n[1](!n[0])},children:n[0]?t.close:t.match})]}),n[0]&&!e.matched&&(0,S.jsxs)("div",{className:"tf-tx-suggest tf-in",children:[(0,S.jsx)(re,{icon:"bot",tint:"butter"}),(0,S.jsx)("span",{style:{flex:1,minWidth:0},children:e.hint||t.noSuggestion}),(0,S.jsx)(Q,{size:"sm",icon:"check",onClick:()=>{n[1](!1),e.onMatch&&e.onMatch()},children:t.accept})]})]})}function kh(e){let t=w(T0),a=$s.useState(""),n=(e.accounts||[]).filter(i=>!a[0]||i.address.toLowerCase().indexOf(a[0].toLowerCase())>-1),l=(e.accounts||[]).find(i=>i.address===e.value);return(0,K.jsx)(Ue,{width:320,trigger:i=>(0,K.jsxs)("button",{type:"button",className:"tf-acct",onClick:i.toggle,"aria-haspopup":"dialog","aria-expanded":i.open,children:[(0,K.jsxs)("span",{className:"tf-option-text",children:[(0,K.jsx)("b",{className:l?"tf-mono":void 0,children:l?l.address:e.allLabel||t.allInboxes}),(0,K.jsx)("small",{children:l?l.domain:t.addressCount((e.accounts||[]).length)})]}),(0,K.jsx)(z,{name:"chevronDown",size:14})]}),children:i=>(0,K.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,K.jsx)(Da,{placeholder:t.findAddress,value:a[0],onChange:o=>{a[1](o.target.value)}}),(0,K.jsxs)("div",{className:"tf-acct-list",children:[(0,K.jsxs)("button",{type:"button",className:b("tf-option",!e.value&&"on"),onClick:()=>{e.onChange&&e.onChange(null),i.close()},children:[(0,K.jsx)(z,{name:"inbox",size:15}),(0,K.jsx)("span",{className:"tf-option-text",children:e.allLabel||t.allInboxes}),e.unread!=null&&(0,K.jsx)("span",{className:"tf-nav-count",children:e.unread})]}),n.map(o=>(0,K.jsxs)("button",{type:"button",className:b("tf-option",o.address===e.value&&"on"),onClick:()=>{e.onChange&&e.onChange(o.address),i.close()},children:[(0,K.jsxs)("span",{className:"tf-option-text",children:[(0,K.jsx)("span",{className:"tf-mono",children:o.address}),(0,K.jsx)("small",{children:o.domain})]}),o.unread?(0,K.jsx)("span",{className:"tf-nav-count",children:o.unread}):null]},o.address))]})]})})}function wh(e){let t=w(T0);return(0,K.jsx)("div",{className:"tf-inboxlist",role:"list",children:(e.items||[]).map(a=>(0,K.jsxs)("button",{type:"button",role:"listitem",className:b("tf-mailrow",a.unread&&"unread",a.id===e.selected&&"on"),onClick:()=>{e.onOpen&&e.onOpen(a)},children:[(0,K.jsx)("span",{className:"tf-mailrow-dot",role:a.unread?"img":void 0,"aria-label":a.unread?t.unread:void 0}),(0,K.jsxs)("span",{className:"tf-mailrow-main",children:[(0,K.jsxs)("span",{className:"tf-mailrow-top",children:[(0,K.jsx)("b",{children:a.from}),(0,K.jsx)("small",{className:"tf-mono",children:a.time})]}),(0,K.jsx)("span",{className:"tf-mailrow-subject",children:a.subject}),(0,K.jsx)("span",{className:"tf-mailrow-snippet",children:a.snippet}),(a.to||a.tags||a.agent)&&(0,K.jsxs)("span",{className:"tf-mailrow-tags",children:[a.to&&(0,K.jsx)("span",{className:"tf-mono",children:a.to}),a.agent&&(0,K.jsx)(Oe,{tone:a.agent.tone||"highlight",children:a.agent.label}),(a.tags||[]).map(n=>(0,K.jsx)(Oe,{tone:"neutral",dot:!1,children:n},n))]})]})]},a.id))})}function Ch(e){let t=$s.useState((e.messages||[]).length?[e.messages[e.messages.length-1].id]:[]);return(0,K.jsxs)("div",{className:"tf-thread",children:[e.subject&&(0,K.jsx)("h3",{className:"tf-thread-subject",children:e.subject}),(e.messages||[]).map(a=>{let n=t[0].indexOf(a.id)>-1;return(0,K.jsxs)("div",{className:b("tf-threadmsg",n&&"open",a.agent&&"agent"),children:[(0,K.jsxs)("button",{type:"button",className:"tf-threadmsg-head","aria-expanded":n,onClick:()=>{t[1](n?t[0].filter(l=>l!==a.id):t[0].concat([a.id]))},children:[a.agent?(0,K.jsx)(Kt,{tint:a.tint,size:32}):(0,K.jsx)(qe,{name:a.from,size:32}),(0,K.jsxs)("span",{className:"tf-option-text",children:[(0,K.jsxs)("b",{children:[a.from,a.agentNote&&(0,K.jsx)("span",{className:"tf-threadmsg-note",children:" \xB7 "+a.agentNote})]}),(0,K.jsx)("small",{children:n?a.to:a.snippet})]}),(0,K.jsx)("small",{className:"tf-mono",children:a.time})]}),n&&(0,K.jsxs)("div",{className:"tf-threadmsg-body",children:[a.body,a.attachments&&(0,K.jsx)("div",{className:"tf-msg-attach",children:a.attachments.map(l=>(0,K.jsxs)("span",{className:"tf-attach-chip",children:[(0,K.jsx)(z,{name:"paperclip",size:13}),l.name,l.size&&(0,K.jsx)("small",{children:l.size})]},l.name))})]})]},a.id)}),e.reply]})}function Th(e){let t=w(T0),a=P(e.value,e.defaultValue||{},e.onChange),n=e.fields||[{key:"name",label:t.colName},{key:"role",label:t.role},{key:"company",label:t.company},{key:"phone",label:t.phone},{key:"website",label:t.website}];function l(i,o){let r=Object.assign({},a[0]);r[i]=o,a[1](r)}return(0,K.jsxs)("div",{className:"tf-sig",children:[(0,K.jsxs)("div",{className:"tf-col",style:{gap:12},children:[n.map(i=>(0,K.jsx)(pr,{label:i.label,value:a[0][i.key]||"",onChange:o=>{l(i.key,o.target.value)}},i.key)),e.extra]}),(0,K.jsxs)("div",{className:"tf-sig-preview",children:[(0,K.jsx)("span",{className:"tf-menu-label",style:{padding:0},children:e.previewLabel||t.preview}),(0,K.jsxs)("div",{className:"tf-paper tf-sig-paper",children:[(0,K.jsx)("p",{children:"\u2014"}),(0,K.jsx)("b",{children:a[0].name}),a[0].role&&(0,K.jsx)("div",{children:a[0].role+(a[0].company?" \xB7 "+a[0].company:"")}),a[0].phone&&(0,K.jsx)("div",{children:a[0].phone}),a[0].website&&(0,K.jsx)("div",{children:a[0].website}),e.note&&(0,K.jsx)("small",{children:e.note})]})]})]})}function Rh(e){return(0,K.jsx)(Dr,{title:e.name,subtitle:e.meta,onClose:e.onClose,width:e.width||820,inline:e.inline,children:(0,K.jsxs)("div",{className:"tf-attprev",children:[(0,K.jsx)("div",{className:"tf-attprev-doc",children:e.children}),(0,K.jsxs)("div",{className:"tf-col",style:{gap:16},children:[e.facts&&(0,K.jsx)(Za,{items:e.facts}),e.found,e.actions&&(0,K.jsx)("div",{className:"tf-col",style:{gap:8},children:e.actions})]})]})})}var ne=G(ye(),1),gn=G(ce(),1);function Eh(e){let t=w(R0),a=P(e.selected,e.variants?.[0]?.id??"",e.onSelect),n=(e.variants||[]).find(l=>l.id===a[0])||{};return(0,ne.jsxs)("div",{className:"tf-imgvar",children:[(0,ne.jsxs)("div",{className:"tf-imgvar-stage",style:n.ratio?{aspectRatio:n.ratio}:void 0,children:[n.src?(0,ne.jsx)("img",{src:n.src,alt:e.alt||""}):(0,ne.jsx)("div",{className:b("tf-imgvar-ph","tf-t-"+(e.tint||"sky")),children:(0,ne.jsx)(z,{name:"image",size:32})}),n.label&&(0,ne.jsx)("span",{className:"tf-imgvar-tag",children:n.label})]}),(0,ne.jsx)("div",{className:"tf-imgvar-list",role:"listbox","aria-label":t.variants,children:(e.variants||[]).map(l=>(0,ne.jsxs)("button",{type:"button",role:"option","aria-selected":l.id===a[0],className:b("tf-imgvar-item",l.id===a[0]&&"on"),onClick:()=>{a[1](l.id)},children:[(0,ne.jsx)("span",{className:"tf-imgvar-thumb",style:l.ratio?{aspectRatio:l.ratio}:void 0,children:l.src?(0,ne.jsx)("img",{src:l.src,alt:""}):(0,ne.jsx)(z,{name:"image",size:14})}),(0,ne.jsxs)("span",{className:"tf-option-text",children:[(0,ne.jsx)("b",{children:l.label}),(0,ne.jsx)("small",{className:"tf-mono",children:[l.size,l.format,l.weight].filter(Boolean).join(" \xB7 ")})]}),l.status&&(0,ne.jsx)(Ee,{status:l.status})]},l.id))}),e.actions&&(0,ne.jsx)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:e.actions})]})}function Ah(e){let t=w(R0),a=e.items||[],n=gn.useState(e.start||0),l=gn.useState(!1),i=a.length,o=a[n[0]]||{};function r(s){n[1]((n[0]+s+i)%i)}gn.useEffect(()=>{if(!l[0])return;function s(d){d.key==="Escape"&&l[1](!1),d.key==="ArrowRight"&&r(1),d.key==="ArrowLeft"&&r(-1)}return document.addEventListener("keydown",s),()=>{document.removeEventListener("keydown",s)}});function c(s,d,m=e.loading||"lazy"){return s.src?(0,ne.jsx)("img",{className:d,src:s.src,alt:s.alt||"",loading:m,decoding:"async",referrerPolicy:e.referrerPolicy}):(0,ne.jsx)("div",{className:b(d,"tf-gallery-ph","tf-t-"+(s.tint||"sky")),children:s.art||(0,ne.jsx)(z,{name:"image",size:28})})}let u=(0,ne.jsxs)("div",{className:"tf-gallery-stage",style:{aspectRatio:e.ratio||"3 / 2"},children:[c(o,"tf-gallery-img"),i>1&&(0,ne.jsx)(W,{icon:"chevronLeft",label:t.previousImage,className:"tf-gallery-prev",onClick:()=>{r(-1)}}),i>1&&(0,ne.jsx)(W,{icon:"chevronRight",label:t.nextImage,className:"tf-gallery-next",onClick:()=>{r(1)}}),(0,ne.jsx)("span",{className:"tf-gallery-count",children:n[0]+1+" / "+i}),!l[0]&&e.fullscreen!==!1&&(0,ne.jsx)(W,{icon:"expand",label:t.fullScreen,className:"tf-gallery-full",onClick:()=>{l[1](!0)}}),e.badge&&(0,ne.jsx)("span",{className:"tf-gallery-badge",children:e.badge})]});return(0,ne.jsxs)("div",{className:"tf-gallery",children:[u,e.thumbs!==!1&&i>1&&(0,ne.jsx)("div",{className:"tf-gallery-thumbs",role:"tablist","aria-label":t.images,children:a.map((s,d)=>(0,ne.jsx)("button",{type:"button",role:"tab","aria-selected":d===n[0],className:b(d===n[0]&&"on"),onClick:()=>{n[1](d)},"aria-label":s.caption||s.alt||(s.src?t.imageN(d+1):void 0),children:c(s,"tf-gallery-thumb","lazy")},d))}),l[0]&&(0,ne.jsx)(Ea,{children:(0,ne.jsxs)("div",{className:"tf-lightbox",role:"dialog","aria-modal":"true","aria-label":t.images,children:[(0,ne.jsx)(W,{icon:"x",label:t.close,className:"tf-lightbox-close",onClick:()=>{l[1](!1)}}),(0,ne.jsxs)("div",{className:"tf-lightbox-stage",children:[c(o,"tf-gallery-img","eager"),i>1&&(0,ne.jsx)(W,{icon:"chevronLeft",label:t.previousImage,className:"tf-gallery-prev",onClick:()=>{r(-1)}}),i>1&&(0,ne.jsx)(W,{icon:"chevronRight",label:t.nextImage,className:"tf-gallery-next",onClick:()=>{r(1)}})]}),(0,ne.jsx)("span",{className:"tf-lightbox-cap",children:(o.caption?o.caption+" \xB7 ":"")+(n[0]+1)+" / "+i})]})})]})}function Dh(e){let t=w(R0),a=J(),n=gn.useState(e.start!=null?e.start:50),l=Math.round(n[0]),i=e.beforeLabel||t.before,o=e.afterLabel||t.after,r=gn.useRef(null),c=gn.useRef(!1);function u(d){if(!r.current)return;let m=r.current.getBoundingClientRect();n[1](Math.max(0,Math.min(100,(d.clientX-m.left)/m.width*100)))}function s(d,m){return d&&d.src?(0,ne.jsx)("img",{className:m,src:d.src,alt:d.alt||"",loading:e.loading||"lazy",decoding:"async",referrerPolicy:e.referrerPolicy}):(0,ne.jsx)("div",{className:b(m,"tf-ba-ph",d&&d.tint&&"tf-t-"+d.tint),children:d&&d.art})}return(0,ne.jsxs)("div",{ref:r,className:"tf-ba",style:{aspectRatio:e.ratio||"3 / 2"},onPointerDown:d=>{c.current=!0,d.currentTarget.setPointerCapture(d.pointerId),u(d)},onPointerMove:d=>{c.current&&u(d)},onPointerUp:()=>{c.current=!1},children:[s(e.after,"tf-ba-img"),(0,ne.jsx)("div",{className:"tf-ba-before",style:{clipPath:"inset(0 "+(100-n[0])+"% 0 0)"},children:s(e.before,"tf-ba-img")}),(0,ne.jsx)("span",{className:"tf-ba-tag left",children:i}),(0,ne.jsx)("span",{className:"tf-ba-tag right",children:o}),(0,ne.jsx)("div",{className:"tf-ba-line",style:{left:n[0]+"%"},children:(0,ne.jsxs)("span",{className:"tf-ba-knob",role:"slider",tabIndex:0,"aria-label":e.label||t.compareBeforeAfter,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l,"aria-valuetext":e.valueText?e.valueText(l):`${i} ${a.formatPercent(l)}, ${o} ${a.formatPercent(100-l)}`,onKeyDown:d=>{let m=d.key==="ArrowLeft"||d.key==="ArrowDown"?n[0]-5:d.key==="ArrowRight"||d.key==="ArrowUp"?n[0]+5:d.key==="PageDown"?n[0]-25:d.key==="PageUp"?n[0]+25:d.key==="Home"?0:d.key==="End"?100:null;m!=null&&(d.preventDefault(),n[1](Math.max(0,Math.min(100,m))))},children:[(0,ne.jsx)(z,{name:"chevronLeft",size:12}),(0,ne.jsx)(z,{name:"chevronRight",size:12})]})})]})}var A=G(ye(),1),Ws=G(ce(),1);function _h(e){let t={connected:"ok",expiring:"warn",error:"danger",missing:"idle"}[e.status]||"idle";return(0,A.jsxs)("div",{className:"tf-conn",children:[(0,A.jsx)("span",{className:"tf-conn-ico",children:e.logo||(0,A.jsx)(z,{name:e.icon||"link",size:18})}),(0,A.jsxs)("span",{className:"tf-option-text",children:[(0,A.jsx)("b",{children:e.name}),(0,A.jsx)("small",{children:e.text})]}),(0,A.jsx)(Be,{status:t,label:e.statusLabel}),e.action&&(0,A.jsx)("span",{className:"tf-conn-act",children:e.action})]})}function Oh(e){let t=w(ta);return!e.state||e.state==="online"?null:(0,A.jsxs)("div",{className:b("tf-connbanner",e.state),role:"status",children:[(0,A.jsx)(Ee,{status:e.state==="offline"?"danger":"warn"}),(0,A.jsx)("span",{children:e.text||(e.state==="offline"?t.offline:t.connectionLost(e.seconds))}),e.onRetry&&(0,A.jsx)("button",{type:"button",className:"tf-linkbtn",onClick:e.onRetry,children:t.retryNow})]})}function Lh(e){let t=w(ta);return(0,A.jsxs)("div",{className:"tf-server",children:[(0,A.jsxs)("div",{className:"tf-server-top",children:[(0,A.jsx)("span",{className:"tf-conn-ico",children:e.logo||(0,A.jsx)(z,{name:"server",size:18})}),(0,A.jsxs)("span",{className:"tf-option-text",children:[(0,A.jsx)("b",{children:e.name}),(0,A.jsx)("small",{className:"tf-mono",children:[e.provider,e.address].filter(Boolean).join(" \xB7 ")})]}),(0,A.jsx)(Be,{status:e.status||"idle",label:e.statusLabel})]}),(0,A.jsx)("div",{className:"tf-col",style:{gap:12},children:(e.meters||[]).map(a=>a.value==null?(0,A.jsxs)("div",{className:"tf-usage-top",children:[(0,A.jsx)("span",{children:a.label}),(0,A.jsx)("b",{children:a.unknown||t.unknown})]},a.label):(0,A.jsx)(Kn,{label:a.label,value:a.value,max:a.max,text:a.text},a.label))}),e.uptime&&(0,A.jsx)(Er,{...e.uptime}),e.foot&&(0,A.jsx)("div",{className:"tf-server-foot",children:e.foot})]})}function jh(e){let t=w(ta);return(0,A.jsx)("ol",{className:"tf-pipeline",tabIndex:0,"aria-label":t.deployPipeline,children:(e.stages||[]).map((a,n)=>(0,A.jsxs)("li",{className:b("tf-stage","st-"+(a.status||"idle")),children:[(0,A.jsx)(Ee,{status:a.status==="done"?"ok":a.status||"idle"}),(0,A.jsx)("b",{children:a.name}),(0,A.jsx)("small",{className:"tf-mono",children:a.duration||"\u2014"}),a.action]},n))})}function Hh(e){let t=w(ta);return(0,A.jsx)(Ki,{rows:e.records||[],rowKey:"id",columnToggle:!1,selectable:e.selectable,bulkActions:e.bulkActions,toolbar:e.toolbar,columns:[{key:"type",label:t.colType,sortable:!0,render:a=>(0,A.jsx)(Oe,{tone:"neutral",dot:!1,className:"tf-mono",children:a.type})},{key:"name",label:t.colName,sortable:!0,render:a=>(0,A.jsx)("span",{className:"tf-mono",children:a.name})},{key:"content",label:t.colContent,render:a=>(0,A.jsx)(et,{label:a.content,children:(0,A.jsx)("span",{className:"tf-mono tf-trunc",tabIndex:0,children:a.content})})},{key:"ttl",label:"TTL",align:"right",render:a=>(0,A.jsx)("span",{className:"tf-mono",children:a.ttl})},{key:"proxy",label:t.colProxy,render:a=>a.proxy==null?"\u2014":(0,A.jsx)(Be,{status:a.proxy?"ok":"idle",label:a.proxy?t.proxied:t.dnsOnly})},{key:"x",label:"",align:"right",hideable:!1,render:a=>e.rowMenu?(0,A.jsx)(Ue,{align:"end",flush:!0,width:200,trigger:n=>(0,A.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-ghost tf-iconbtn-sm","aria-label":t.actions,onClick:n.toggle,children:(0,A.jsx)(z,{name:"more"})}),children:n=>(0,A.jsx)(At,{items:(e.rowMenu?.(a)??[]).map(l=>l==="-"?l:Object.assign({},l,{onClick:()=>{n.close(),l.onClick&&l.onClick()}}))})}):null}]})}function Uh(e){let t=w(ta);return(0,A.jsx)("div",{className:"tf-domains",children:(e.items||[]).slice().sort((a,n)=>(a.days==null?9999:a.days)-(n.days==null?9999:n.days)).map(a=>{let n=a.days==null?"idle":a.days<7?"danger":a.days<30?"warn":"ok";return(0,A.jsxs)("button",{type:"button",className:"tf-domainrow",onClick:()=>{e.onOpen&&e.onOpen(a)},children:[(0,A.jsx)(Ee,{status:n}),(0,A.jsxs)("span",{className:"tf-option-text",children:[(0,A.jsx)("b",{className:"tf-mono",children:a.name}),(0,A.jsx)("small",{children:[a.registrar,a.dns].filter(Boolean).join(" \xB7 ")})]}),(0,A.jsxs)("span",{className:"tf-domainrow-cell",children:[(0,A.jsx)("small",{children:t.expires}),(0,A.jsx)("b",{className:"tf-mono",children:a.days==null?"\u2014":t.daysCount(a.days)})]}),(0,A.jsxs)("span",{className:"tf-domainrow-cell",children:[(0,A.jsx)("small",{children:"SSL"}),(0,A.jsx)(Be,{status:a.ssl||"idle",label:a.sslLabel})]})]},a.name)})})}function Bh(e){let t=w(ta),a=e.columns||["MX","SPF","DKIM","DMARC"],n=Ws.useRef(null);return fn(n),(0,A.jsx)("div",{ref:n,className:"tf-scroll-x",children:(0,A.jsxs)("table",{className:"tf-table tf-mailauth",children:[(0,A.jsx)("thead",{children:(0,A.jsxs)("tr",{children:[(0,A.jsx)("th",{children:t.domain}),a.map(l=>(0,A.jsx)("th",{children:l},l))]})}),(0,A.jsx)("tbody",{children:(e.rows||[]).map(l=>(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{className:"tf-mono",children:l.domain}),a.map(i=>{let o=l[i.toLowerCase()]||{status:"idle"};return(0,A.jsx)("td",{children:(0,A.jsx)("button",{type:"button",className:"tf-mailauth-cell",onClick:()=>{e.onOpen&&e.onOpen(l,i)},children:(0,A.jsx)(Be,{status:o.status,label:o.label})})},i)})]},l.domain))})]})})}function qh(e){let t=w(ta),{formatMoney:a}=J(),n=e.currency;return(0,A.jsx)(Ki,{rows:e.rows||[],selectable:e.selectable,bulkActions:e.bulkActions,toolbar:e.toolbar,stickyHeader:!0,maxHeight:e.maxHeight,columnToggle:e.columnToggle,columns:[{key:"date",label:t.colDate,sortable:!0,render:l=>(0,A.jsx)("span",{className:"tf-mono",children:l.date})},{key:"ref",label:t.colRef,render:l=>(0,A.jsx)("span",{className:"tf-mono",children:l.ref})},{key:"text",label:t.colDescription,render:l=>(0,A.jsxs)("span",{className:"tf-option-text",children:[(0,A.jsx)("b",{children:l.text}),l.suggested&&(0,A.jsxs)("small",{children:[(0,A.jsx)(Ee,{status:"signal"})," ",t.suggestedBy(l.suggested)]})]})},{key:"category",label:t.colCategory,render:l=>e.categories?(0,A.jsx)(Tr,{value:l.category||"",options:e.categories,onSave:i=>{e.onEdit?.(l,{category:i})}}):l.category},{key:"project",label:t.colProject,render:l=>l.project&&(0,A.jsxs)("span",{className:"tf-row",style:{gap:8,flexWrap:"nowrap"},children:[(0,A.jsx)("i",{className:"tf-sw tf-sw-"+(l.projectTint||"ink")}),l.project]})},{key:"net",label:t.net,align:"right",sortable:!0,render:l=>a(l.net,n,{minimumFractionDigits:2})},{key:"vat",label:t.vat,align:"right",render:l=>a(l.vat||0,n,{minimumFractionDigits:2})},{key:"gross",label:t.grossLabel,align:"right",sortable:!0,render:l=>(0,A.jsx)("b",{className:l.gross<0?"tf-neg":void 0,children:a(l.gross,n,{minimumFractionDigits:2})})},{key:"status",label:t.status,render:l=>(0,A.jsx)(Be,{status:l.status||"ok",label:l.statusLabel})}]})}function Vh(e){let t=w(ta),{formatMoney:a}=J(),n=e.columns||[],l=Ws.useRef(null);return fn(l),(0,A.jsx)("div",{ref:l,className:"tf-scroll-x",children:(0,A.jsxs)("table",{className:"tf-table tf-pnl",children:[(0,A.jsx)("thead",{children:(0,A.jsxs)("tr",{children:[(0,A.jsx)("th",{children:e.label||""}),n.map(i=>(0,A.jsx)("th",{className:"tf-num",children:i},i)),e.total!==!1&&(0,A.jsx)("th",{className:"tf-num",children:t.total})]})}),(0,A.jsx)("tbody",{children:(e.rows||[]).map((i,o)=>{let r=(i.values||[]).reduce((c,u)=>c+(u||0),0);return(0,A.jsxs)("tr",{className:i.kind,children:[(0,A.jsx)("td",{children:i.label}),i.kind==="section"?(0,A.jsx)("td",{colSpan:n.length+(e.total!==!1?1:0)}):n.map((c,u)=>{let s=(i.values||[])[u];return(0,A.jsx)("td",{className:b("tf-num",s<0&&"tf-neg"),children:s==null?"\u2014":a(s,e.currency)},u)}),i.kind!=="section"&&e.total!==!1&&(0,A.jsx)("td",{className:b("tf-num",r<0&&"tf-neg"),children:(0,A.jsx)("b",{children:a(r,e.currency)})})]},o)})})]})})}function Gh(e){let t=w(ta),{formatPercent:a}=J();return(0,A.jsxs)("div",{className:"tf-receipt",children:[(0,A.jsxs)("div",{className:"tf-receipt-src",children:[(0,A.jsx)(re,{icon:"paperclip",tint:"sky"}),(0,A.jsxs)("span",{className:"tf-option-text",children:[(0,A.jsx)("b",{children:e.file}),(0,A.jsx)("small",{children:e.source})]})]}),(0,A.jsx)("div",{className:"tf-receipt-grid",children:(e.fields||[]).map(n=>(0,A.jsxs)("div",{className:"tf-receipt-field",children:[(0,A.jsx)("small",{children:n.label}),(0,A.jsx)("b",{className:n.mono?"tf-mono":void 0,children:n.value}),n.confidence!=null&&(0,A.jsx)("span",{className:b("tf-conf",n.confidence<.8&&"low"),children:a(n.confidence*100)})]},n.label))}),e.suggestion&&(0,A.jsxs)("div",{className:"tf-receipt-sugg",children:[(0,A.jsx)(Ee,{status:"signal"}),(0,A.jsx)("span",{children:e.suggestion})]}),e.children,(0,A.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:[e.onDiscard&&(0,A.jsx)(Q,{variant:"ghost",size:"sm",onClick:e.onDiscard,children:e.discardLabel||t.notAReceipt}),e.onConfirm&&(0,A.jsx)(Q,{size:"sm",icon:"check",onClick:e.onConfirm,children:e.confirmLabel||t.bookIt})]})]})}var be=G(ye(),1),r_=G(ce(),1);function Yh(e){let t=w(Nl),a=P(e.device,"desktop",e.onDevice);return(0,be.jsxs)("div",{className:"tf-mailprev",children:[(0,be.jsxs)("div",{className:"tf-mailprev-head",children:[(0,be.jsxs)("div",{className:"tf-mailprev-inbox",children:[(0,be.jsx)(qe,{name:e.fromName||e.from||"",size:36}),(0,be.jsxs)("div",{className:"tf-option-text",children:[(0,be.jsx)("b",{children:e.fromName||e.from}),(0,be.jsxs)("span",{className:"tf-mailprev-subj",children:[(0,be.jsx)("b",{children:e.subject||t.noSubject}),e.preheader&&(0,be.jsx)("span",{children:" \u2014 "+e.preheader})]})]})]}),(0,be.jsx)(Qa,{size:"sm",value:a[0],onChange:a[1],label:t.device,options:[{value:"desktop",label:t.desktop},{value:"mobile",label:t.mobile}]})]}),(0,be.jsx)("div",{className:b("tf-mailprev-stage",a[0]),children:(0,be.jsx)("div",{className:"tf-mailprev-frame",children:e.html!=null?(0,be.jsx)("iframe",{title:t.emailPreview,sandbox:"",srcDoc:e.html}):(0,be.jsx)("div",{className:"tf-mailprev-body",children:e.children})})}),e.checks&&(0,be.jsx)("div",{className:"tf-mailprev-checks",children:e.checks.map((n,l)=>(0,be.jsx)(Be,{status:n.status,label:n.label,size:"sm"},l))})]})}function Xh(e){let t=w(Nl),a=P(e.device,"mobile",e.onDevice),n=(e.headlines||[]).filter(Boolean).slice(0,3),l=(e.descriptions||[]).filter(Boolean).slice(0,2),i=[["headlines",30],["descriptions",90],["paths",15]],o=[];i.forEach(c=>{(e[c[0]]||[]).forEach((u,s)=>{u&&u.length>c[1]&&o.push(t.adTooLong(c[0],s+1,u.length,c[1]))})});let r=(e.domain||"")+(e.paths||[]).filter(Boolean).map(c=>" \u203A "+c).join("");return(0,be.jsxs)("div",{className:"tf-adprev",children:[(0,be.jsxs)("div",{className:"tf-row",style:{justifyContent:"space-between"},children:[(0,be.jsx)("span",{className:"tf-menu-label",style:{padding:0},children:t.preview}),(0,be.jsx)(Qa,{size:"sm",value:a[0],onChange:a[1],label:t.device,options:[{value:"mobile",label:t.mobile},{value:"desktop",label:t.desktop}]})]}),(0,be.jsxs)("div",{className:b("tf-adprev-card",a[0]),children:[(0,be.jsxs)("div",{className:"tf-adprev-top",children:[(0,be.jsx)("span",{className:"tf-adprev-fav","aria-hidden":!0,children:(e.name||e.domain||"?").charAt(0).toUpperCase()}),(0,be.jsxs)("div",{className:"tf-option-text",children:[(0,be.jsx)("b",{children:e.name||e.domain}),(0,be.jsx)("small",{children:r})]}),(0,be.jsx)("span",{className:"tf-adprev-tag",children:e.sponsoredLabel||t.sponsored})]}),(0,be.jsx)("a",{className:"tf-adprev-hl",href:"#",onClick:c=>{c.preventDefault()},children:n.join(" | ")||t.yourHeadline}),(0,be.jsx)("p",{className:"tf-adprev-desc",children:l.join(" ")||t.yourDescription}),e.sitelinks&&e.sitelinks.length>0&&(0,be.jsx)("div",{className:"tf-adprev-links",children:e.sitelinks.map((c,u)=>(0,be.jsx)("span",{children:c},u))})]}),o.length>0&&(0,be.jsx)("div",{className:"tf-col",style:{gap:4},children:o.map((c,u)=>(0,be.jsx)(Be,{status:"warn",label:c,size:"sm"},u))})]})}var he=G(ye(),1),Oa=G(ce(),1);function Kh(e){let t=Ne("acc"),a=e.items||[],n=a.map((r,c)=>r.id??String(c)),l=P(e.value,e.defaultValue||[],e.onChange),i=Oa.useRef(null),o=r=>{let c=l[0].includes(r);l[1](c?l[0].filter(u=>u!==r):e.multiple?l[0].concat(r):[r])};return(0,he.jsx)("div",{ref:i,className:b("tf-accordion",e.variant==="flush"&&"flush",e.className),style:e.style,onKeyDown:r=>{r.target.classList.contains("tf-accordion-head")&&H0(r,i.current,".tf-accordion-head","vertical")},children:a.map((r,c)=>{let u=n[c],s=l[0].includes(u);return(0,he.jsxs)("div",{className:b("tf-accordion-item",s&&"open"),children:[(0,he.jsx)("h3",{className:"tf-accordion-h",children:(0,he.jsxs)("button",{type:"button",id:`${t}-h${c}`,className:"tf-accordion-head","aria-expanded":s,"aria-controls":`${t}-p${c}`,disabled:r.disabled,onClick:()=>o(u),children:[r.icon&&(0,he.jsx)(z,{name:r.icon}),(0,he.jsx)("span",{className:"tf-accordion-title",children:r.title}),r.meta&&(0,he.jsx)("span",{className:"tf-accordion-meta",children:r.meta}),(0,he.jsx)(z,{name:"chevronDown",size:16,className:"tf-accordion-chev"})]})}),(0,he.jsx)("div",{id:`${t}-p${c}`,role:"region","aria-labelledby":`${t}-h${c}`,className:"tf-accordion-panel",hidden:!s,children:(0,he.jsx)("div",{className:"tf-accordion-body",children:r.content})})]},u)})})}function Qh(e){let t=e.orientation==="vertical";return e.label&&!t?(0,he.jsx)("div",{className:b("tf-sep","labelled",e.className),style:e.style,role:"separator",children:(0,he.jsx)("span",{children:e.label})}):(0,he.jsx)("div",{className:b("tf-sep",t&&"vertical",e.className),style:e.style,role:"separator","aria-orientation":t?"vertical":void 0})}function Zh(e){return(0,he.jsx)("div",{className:b("tf-aspect",e.className),style:{aspectRatio:String(e.ratio||16/9),...e.style},children:e.children})}function Fh(e){return(0,he.jsxs)("label",{className:b("tf-field-label","tf-label",e.className),style:e.style,htmlFor:e.htmlFor,children:[e.children,e.required&&(0,he.jsx)("span",{className:"tf-label-req","aria-hidden":!0,children:"*"}),e.hint&&(0,he.jsx)("span",{className:"tf-label-hint",children:e.hint})]})}function Ih(e){let t=P(e.pressed,!!e.defaultPressed,e.onChange),a=!!e.icon&&!e.children;return(0,he.jsxs)("button",{type:"button",className:b("tf-toggle",e.size==="sm"&&"sm",a&&"icon",e.className),style:e.style,"aria-pressed":t[0],"aria-label":a?e.label:void 0,title:a?e.label:void 0,disabled:e.disabled,onClick:()=>t[1](!t[0]),children:[e.icon&&(0,he.jsx)(z,{name:e.icon}),e.children]})}var U6=e=>typeof e=="string"?{value:e,label:e}:e;function Jh(e){let t=P(e.value,e.defaultValue||[],e.onChange),a=Oa.useRef(null),n=(e.items||[]).map(U6);return(0,he.jsx)("div",{ref:a,className:b("tf-togglegroup",e.size==="sm"&&"sm",e.className),style:e.style,role:"group","aria-label":e.label,onKeyDown:l=>H0(l,a.current,".tf-toggle","horizontal"),children:n.map(l=>{let i=t[0].includes(l.value),o=!!l.icon&&!l.label;return(0,he.jsxs)("button",{type:"button",className:b("tf-toggle",e.size==="sm"&&"sm",o&&"icon"),"aria-pressed":i,"aria-label":o?l.hint||l.value:void 0,title:l.hint,onClick:()=>t[1](e.type==="multiple"?i?t[0].filter(r=>r!==l.value):t[0].concat(l.value):i?[]:[l.value]),children:[l.icon&&(0,he.jsx)(z,{name:l.icon}),l.label]},l.value)})})}function Ph(e){return(0,he.jsx)("div",{className:b("tf-btngroup",e.orientation==="vertical"&&"vertical",e.className),style:e.style,role:"group","aria-label":e.label,children:e.children})}function $h(e){let t=e.orientation||"vertical";return(0,he.jsx)("div",{className:b("tf-scrollarea",t,e.className),style:{height:e.height,maxHeight:e.maxHeight,...e.style},role:"region","aria-label":e.label,tabIndex:0,children:e.children})}function Wh(e){let[t,a]=Oa.useState(!1),n=Oa.useRef(void 0),l=Oa.useRef(null),i=xt(t);j0(l,t);let o=(r,c)=>{clearTimeout(n.current),n.current=setTimeout(()=>a(r),c)};return Oa.useEffect(()=>()=>clearTimeout(n.current),[]),(0,he.jsxs)("span",{className:b("tf-hovercard-anchor",e.className),style:e.style,onPointerEnter:()=>o(!0,e.openDelay??500),onPointerLeave:()=>o(!1,e.closeDelay??200),onFocus:()=>o(!0,0),onBlur:r=>{r.currentTarget.contains(r.relatedTarget)||o(!1,0)},onKeyDown:r=>{r.key==="Escape"&&o(!1,0)},children:[e.trigger,i.mounted&&(0,he.jsx)("div",{...dt(i.closing),ref:l,className:b("tf-hovercard","tf-hc-"+(e.side||"bottom"),"tf-hc-"+(e.align||"center")),style:e.width?{width:e.width}:void 0,children:e.children})]})}function e4(e){let t=w(Ei),a=e.slides||[],n=a.length,l=P(e.index,e.defaultIndex||0,e.onChange),i=Oa.useRef(null),o=Math.max(1,e.perView||1),r=Math.max(0,n-o),c=u=>{let s=e.loop?u>r?0:u<0?r:u:Math.min(r,Math.max(0,u)),d=i.current?.children[s];d&&i.current&&i.current.scrollTo({left:d.offsetLeft-i.current.offsetLeft,behavior:"smooth"}),l[1](s)};return Oa.useEffect(()=>{let u=i.current;if(!u)return;let s=0,d=()=>{cancelAnimationFrame(s),s=requestAnimationFrame(()=>{let m=u.firstElementChild?.offsetWidth||1,f=parseFloat(getComputedStyle(u).columnGap)||0,x=Math.round(u.scrollLeft/(m+f));x!==l[0]&&l[1](Math.min(r,x))})};return u.addEventListener("scroll",d,{passive:!0}),()=>{u.removeEventListener("scroll",d),cancelAnimationFrame(s)}}),(0,he.jsxs)("section",{className:b("tf-carousel",e.className),style:{"--per":o,...e.style},"aria-roledescription":"carousel","aria-label":e.label,onKeyDown:u=>{u.key==="ArrowRight"?(u.preventDefault(),c(l[0]+1)):u.key==="ArrowLeft"&&(u.preventDefault(),c(l[0]-1))},children:[(0,he.jsx)("div",{ref:i,className:"tf-carousel-track",tabIndex:0,children:a.map((u,s)=>(0,he.jsx)("div",{className:"tf-carousel-slide",role:"group","aria-roledescription":t.slide,"aria-label":t.slideOf(s+1,n),children:u},s))}),(0,he.jsxs)("div",{className:"tf-carousel-bar",children:[(0,he.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-soft tf-iconbtn-sm","aria-label":t.previousSlide,disabled:!e.loop&&l[0]<=0,onClick:()=>c(l[0]-1),children:(0,he.jsx)(z,{name:"chevronLeft"})}),e.dots!==!1&&(0,he.jsx)("div",{className:"tf-carousel-dots",children:Array.from({length:r+1},(u,s)=>(0,he.jsx)("button",{type:"button",className:"tf-carousel-dot","aria-label":t.goToSlide(s+1),"aria-current":s===l[0]?"true":void 0,onClick:()=>c(s)},s))}),(0,he.jsx)("button",{type:"button",className:"tf-iconbtn tf-iconbtn-soft tf-iconbtn-sm","aria-label":t.nextSlide,disabled:!e.loop&&l[0]>=r,onClick:()=>c(l[0]+1),children:(0,he.jsx)(z,{name:"chevronRight"})})]})]})}var q=G(ye(),1),S_=G(ce(),1);function B6(e,t,{formatNumber:a}){return[e.area!=null&&[(0,q.jsx)(z,{name:"ruler",size:14},"i"),`${a(e.area)} m\xB2`],e.rooms!=null&&[(0,q.jsx)(z,{name:"bed",size:14},"i"),t.rooms(a(e.rooms),e.rooms)],e.place&&[(0,q.jsx)(z,{name:"pin",size:14},"i"),e.place]].filter(Boolean).map((n,l)=>(0,q.jsx)("span",{children:n},l))}function q6(e,t,{formatMoney:a}){return e.price==null?(0,q.jsx)("b",{className:"tf-listing-price",children:t.priceOnRequest}):(0,q.jsxs)("b",{className:"tf-listing-price",children:[a(e.price,e.currency),e.rent&&(0,q.jsxs)("small",{children:[" ",t.perMonth]})]})}function t4(e){let t=w(dn),a=J(),{formatMoney:n,formatNumber:l}=a,i=e.listing||e;return(0,q.jsxs)("article",{className:b("tf-listing",e.layout==="row"&&"row",e.selected&&"selected",i.status==="unread"&&"unread"),onClick:e.onOpen&&(()=>{e.onOpen?.(i)}),children:[(0,q.jsxs)("div",{className:"tf-listing-media",children:[i.image?(0,q.jsx)("img",{src:i.image,alt:""}):(0,q.jsx)("div",{className:b("tf-listing-ph","tf-t-"+(i.tint||"sky")),children:(0,q.jsx)(z,{name:"image",size:24})}),i.isNew&&(0,q.jsx)("span",{className:"tf-listing-new",children:t.isNew}),(i.photos??0)>1&&(0,q.jsxs)("span",{className:"tf-listing-photos",children:[(0,q.jsx)(z,{name:"image",size:12}),l(i.photos??0)]}),e.onSelect&&(0,q.jsx)("label",{className:"tf-listing-sel",onClick:o=>{o.stopPropagation()},children:Bi({checked:!!e.selected,onChange:()=>{e.onSelect?.(i)},label:t.select})})]}),(0,q.jsxs)("div",{className:"tf-listing-body",children:[(0,q.jsxs)("div",{className:"tf-listing-top",children:[q6(i,t,a),i.pricePerSqm!=null&&(0,q.jsx)("span",{className:"tf-listing-ppsqm",children:n(i.pricePerSqm,i.currency)+" / m\xB2"}),e.onWish&&(0,q.jsx)(W,{icon:"heart",size:"sm",label:i.wished?t.removeFromSaved:t.save,className:b("tf-listing-wish",i.wished&&"on"),onClick:o=>{o.stopPropagation(),e.onWish?.(i)}})]}),(0,q.jsx)("b",{className:"tf-listing-title",children:i.title}),(0,q.jsx)("div",{className:"tf-listing-facts",children:B6(i,t,a)}),(0,q.jsxs)("div",{className:"tf-listing-foot",children:[i.source&&(0,q.jsx)("span",{className:"tf-listing-src",children:i.source}),i.seller&&(0,q.jsx)(Oe,{tone:i.seller==="private"?"success":"neutral",dot:!1,children:i.sellerLabel||(i.seller==="private"?t.privateSeller:t.agent)}),i.phone&&(0,q.jsx)("span",{className:"tf-listing-flag",title:t.phoneAvailable,children:(0,q.jsx)(z,{name:"phone",size:13})}),(0,q.jsx)("span",{style:{flex:1}}),i.age&&(0,q.jsx)("span",{className:"tf-listing-age",children:i.age}),e.statusOptions&&(0,q.jsx)("span",{onClick:o=>{o.stopPropagation()},children:(0,q.jsx)(Ar,{size:"sm",options:e.statusOptions,value:i.status,onChange:o=>{e.onStatus&&e.onStatus(i,o)},label:t.status})})]})]})]})}function a4(e){let t=w(dn),{formatNumber:a}=J(),n=e.total>0&&e.selected===e.total,l=(e.selected??0)>0&&!n;return(0,q.jsxs)("div",{className:"tf-results",children:[e.onSelectAll&&(0,q.jsx)("label",{className:"tf-check",children:Bi({checked:n,indeterminate:l,onChange:()=>{e.onSelectAll?.(!n)},label:n?t.deselectAll:t.selectAll})}),(0,q.jsxs)("div",{className:"tf-option-text",style:{marginRight:"auto"},children:[(0,q.jsx)("b",{children:(e.selected??0)>0?t.selectedCount(e.selected??0,a(e.selected??0)):e.title||t.results}),(0,q.jsx)("small",{children:t.foundCount(e.total||0,a(e.total||0))+(e.meta?" \xB7 "+e.meta:"")})]}),(e.selected??0)>0&&(e.bulkActions||[]).map((i,o)=>(0,q.jsx)(Q,{size:"sm",variant:i.variant||"secondary",icon:i.icon,disabled:i.busy,onClick:i.onClick,children:i.busy?i.busyLabel||t.workingEllipsis:i.label},o)),e.sortOptions&&(0,q.jsxs)("label",{className:"tf-results-sort",children:[(0,q.jsx)("span",{children:t.sort}),(0,q.jsx)("select",{className:"tf-input",value:e.sort,onChange:i=>{e.onSort&&e.onSort(i.target.value)},children:e.sortOptions.map(i=>(0,q.jsx)("option",{value:i.value,children:i.label},i.value))})]}),e.views&&(0,q.jsx)(Qa,{size:"sm",value:e.view,onChange:e.onView,label:t.view,options:e.views.map(i=>({value:i,icon:i==="grid"?"grid":i==="map"?"map":"list",label:i==="grid"?t.viewGrid:i==="map"?t.viewMap:t.viewList}))})]})}function n4(e){let t=w(dn),{formatNumber:a}=J();return(0,q.jsxs)("div",{className:b("tf-saved",e.enabled===!1&&"off"),children:[(0,q.jsxs)("div",{className:"tf-saved-head",children:[(0,q.jsx)(re,{icon:e.icon||"search",tint:e.tint||"sky",size:36}),(0,q.jsxs)("div",{className:"tf-option-text",style:{flex:1,minWidth:0},children:[(0,q.jsx)("b",{children:e.name}),(0,q.jsx)("small",{children:[e.lastRun&&t.checkedAt(e.lastRun),e.frequency].filter(Boolean).join(" \xB7 ")})]}),(e.newCount??0)>0&&(0,q.jsx)("span",{className:"tf-nav-count",children:a(e.newCount??0)}),e.onToggle&&(0,q.jsx)(Xn,{checked:e.enabled!==!1,onChange:e.onToggle,label:t.enabled})]}),(0,q.jsx)("div",{className:"tf-saved-crit",children:(e.criteria||[]).map((n,l)=>(0,q.jsx)("span",{className:"tf-saved-chip",children:n},l))}),(e.onOpen||e.onEdit)&&(0,q.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end"},children:[e.onEdit&&(0,q.jsx)(Q,{size:"sm",variant:"ghost",icon:"edit",onClick:e.onEdit,children:t.edit}),e.onOpen&&(0,q.jsx)(Q,{size:"sm",variant:"soft",onClick:e.onOpen,children:e.openLabel||t.showResults})]})]})}function l4(e){let t=w(dn),{formatMoney:a,formatNumber:n}=J(),l=e.low,i=e.high,o=e.value,r=i-l||1,c=(o-l)/r*100,u=e.confidence,s=u==null?null:u>=.75?["ok",t.highConfidence]:u>=.5?["warn",t.mediumConfidence]:["danger",t.lowConfidence];return(0,q.jsxs)("div",{className:"tf-valuation",children:[(0,q.jsxs)("div",{className:"tf-valuation-head",children:[(0,q.jsx)("span",{className:"tf-menu-label",style:{padding:0},children:e.title||t.estimatedValue}),s&&(0,q.jsx)(Be,{status:s[0],label:e.confidenceLabel||s[1],size:"sm"})]}),(0,q.jsx)("div",{className:"tf-valuation-val",children:a(o,e.currency)}),e.perSqm!=null&&(0,q.jsx)("span",{className:"tf-valuation-sub",children:a(e.perSqm,e.currency)+" / m\xB2"+(e.compare?" \xB7 "+e.compare:"")}),(0,q.jsxs)("div",{className:"tf-valuation-range",role:"img","aria-label":t.range(a(l,e.currency),a(i,e.currency)),children:[(0,q.jsxs)("div",{className:"tf-valuation-bar",children:[e.asking!=null&&(0,q.jsx)("span",{className:"tf-valuation-ask",style:{left:Math.max(0,Math.min(100,(e.asking-l)/r*100))+"%"},title:t.askingPrice}),(0,q.jsx)("span",{className:"tf-valuation-mark",style:{left:c+"%"}})]}),(0,q.jsxs)("div",{className:"tf-valuation-ends",children:[(0,q.jsx)("span",{children:a(l,e.currency)}),(0,q.jsx)("span",{children:a(i,e.currency)})]})]}),e.asking!=null&&(0,q.jsx)("span",{className:b("tf-valuation-diff",e.asking>i?"bad":e.asking<l?"good":""),children:t.askingPrice+" "+a(e.asking,e.currency)+" \xB7 "+(e.asking>o?"+":"")+n((e.asking-o)/o,{style:"percent",maximumFractionDigits:1})}),e.facts&&(0,q.jsx)(Za,{dense:!0,items:e.facts}),e.note&&(0,q.jsx)("p",{className:"tf-card-desc",style:{margin:0},children:e.note}),e.action]})}var V6=["A+","A","B","C","D","E","F","G","H"];function i4(e){let t=w(dn),{formatNumber:a}=J(),n=e.scale||V6,l=n.indexOf(e.value);return(0,q.jsxs)("div",{className:"tf-energy",role:"img","aria-label":t.energyClass(e.value)+(e.kwh!=null?", "+a(e.kwh)+" kWh/(m\xB2\xB7a)":""),children:[(0,q.jsx)("div",{className:"tf-energy-scale",style:{gridTemplateColumns:"repeat("+n.length+", 1fr)"},children:n.map((i,o)=>(0,q.jsx)("span",{className:b("tf-energy-c",o===l&&"on"),style:{"--e":o/(n.length-1)},children:i},i))}),(e.kwh!=null||e.kind)&&(0,q.jsx)("span",{className:"tf-energy-meta",children:[e.kwh!=null&&a(e.kwh)+" kWh/(m\xB2\xB7a)",e.kind].filter(Boolean).join(" \xB7 ")})]})}var Ge=G(ye(),1),La=G(ce(),1);var G6={P:1,H3:1,BLOCKQUOTE:1,UL:1,OL:1,LI:1,B:1,STRONG:1,I:1,EM:1,U:1,A:1,BR:1},Y6={P:1,H3:1,BLOCKQUOTE:1,UL:1,OL:1};function o4(e){let t=document.createElement("div");return t.innerHTML=e||"",(function a(n){Array.from(n.childNodes).forEach(l=>{let i=l;if(i.nodeType===3)return;if(i.nodeType!==1||!G6[i.tagName]){if(i.nodeType===1&&!/^(SCRIPT|STYLE|IFRAME|OBJECT)$/.test(i.tagName))for(a(i);i.firstChild;)n.insertBefore(i.firstChild,i);n.removeChild(i);return}let o=i.tagName==="A"?i.getAttribute("href"):null;Array.from(i.attributes).forEach(r=>{i.removeAttribute(r.name)}),i.tagName==="A"&&o&&/^(https?:|mailto:|tel:|\/|#|\{)/i.test(o)&&(i.setAttribute("href",o),i.setAttribute("rel","noopener noreferrer")),a(i)})})(t),Array.from(t.childNodes).forEach(a=>{if(a.nodeType===3?(a.textContent||"").trim():!Y6[a.tagName]){let n=document.createElement("p");t.insertBefore(n,a),n.appendChild(a)}else a.nodeType===3&&t.removeChild(a)}),t.innerHTML}function r4(e){let t=w(Ai),a=La.useRef(null),n=La.useState(0),l=La.useState({}),i=La.useState(!1),o=La.useState(""),r=La.useRef(null),c=La.useRef({stack:[],i:-1,t:void 0});function u(){return a.current}function s(){let L=window.getSelection();if(!L||!L.rangeCount)return null;let H=L.getRangeAt(0);return a.current&&a.current.contains(H.commonAncestorContainer)?H:null}function d(L){let H=window.getSelection();H&&(H.removeAllRanges(),H.addRange(L))}function m(L,H){let B=L;for(;B&&B!==u();){if(B.nodeType===1&&H(B))return B;B=B.parentNode}return null}function f(L,H){let B=L;if(B===u()){let F=u().childNodes;return F[Math.max(0,Math.min(F.length-1,(H||0)-(H?1:0)))]||null}for(;B&&B.parentNode!==u();)B=B.parentNode;return B&&B!==u()?B:null}function x(L){let H=s(),B=H&&{sc:H.startContainer,so:H.startOffset,ec:H.endContainer,eo:H.endOffset};if(L(H),B&&u().contains(B.sc)&&u().contains(B.ec))try{let F=document.createRange();F.setStart(B.sc,B.so),F.setEnd(B.ec,B.eo),d(F)}catch{}v(!0)}function N(L){let H=c.current;clearTimeout(H.t);function B(){let F=u().innerHTML;H.stack[H.i]!==F&&(H.stack=H.stack.slice(0,H.i+1).concat([F]).slice(-100),H.i=H.stack.length-1)}L?B():H.t=setTimeout(B,400)}function C(){let L=u();L&&(n[1]((L.innerText??L.textContent??"").trim().length),e.onChange&&e.onChange(o4(L.innerHTML)))}function v(L){N(L),C(),p()}function p(){let L=s();if(!L)return l[1]({});let H=L.startContainer,B=f(H),F=m(H,se=>se.tagName==="UL"||se.tagName==="OL");l[1]({bold:!!m(H,se=>se.tagName==="B"||se.tagName==="STRONG"),italic:!!m(H,se=>se.tagName==="I"||se.tagName==="EM"),underline:!!m(H,se=>se.tagName==="U"),link:!!m(H,se=>se.tagName==="A"),heading:!!B&&B.tagName==="H3",quote:!!B&&B.tagName==="BLOCKQUOTE",list:!!F&&F.tagName==="UL",olist:!!F&&F.tagName==="OL"})}La.useEffect(()=>(u().innerHTML=o4(e.defaultValue||e.value||"")||"<p><br></p>",n[1]((u().innerText??u().textContent??"").trim().length),N(!0),document.addEventListener("selectionchange",p),()=>{document.removeEventListener("selectionchange",p)}),[]);function g(L){let H=L.parentNode;for(;L.firstChild;)H.insertBefore(L.firstChild,L);H.removeChild(L)}function y(L,H){let B=s();if(!B)return;let F=m(B.startContainer,Wt=>Wt.tagName===L||Wt.tagName===H);if(F)return g(F),v(!0);if(B.collapsed)return;let se=document.createElement(L);se.appendChild(B.extractContents()),Array.prototype.slice.call(se.querySelectorAll(L+(H?","+H:""))).forEach(g),B.insertNode(se);let lt=document.createRange();lt.selectNodeContents(se),d(lt),v(!0)}function E(L){let H=f(L.startContainer,L.startOffset),B=f(L.endContainer,L.endOffset),F=[],se=H;for(;se&&(F.push(se),se!==B);)se=se.nextSibling;return F}function V(L){s()&&x(H=>{if(!H)return;let B=E(H),F=B.every(se=>se.tagName===L);B.forEach(se=>{(se.tagName==="UL"||se.tagName==="OL"?Array.from(se.children):[se]).forEach(Wt=>{let M0=document.createElement(F?"P":L);for(;Wt.firstChild;)M0.appendChild(Wt.firstChild);u().insertBefore(M0,se)}),u().removeChild(se)})})}function U(L){s()&&x(H=>{if(!H)return;let B=E(H),F=B[0];if(!F)return;if(B.length===1&&F.tagName===L){Array.from(F.children).forEach(lt=>{let Wt=document.createElement("P");for(;lt.firstChild;)Wt.appendChild(lt.firstChild);u().insertBefore(Wt,F)}),u().removeChild(F);return}let se=document.createElement(L);u().insertBefore(se,F),B.forEach(lt=>{(lt.tagName==="UL"||lt.tagName==="OL"?Array.from(lt.children):[lt]).forEach(M0=>{let ml=document.createElement("LI");for(;M0.firstChild;)ml.appendChild(M0.firstChild);se.appendChild(ml)}),u().removeChild(lt)})})}function O(){let L=s();if(!L)return;r.current=L.cloneRange();let H=m(L.startContainer,B=>B.tagName==="A");o[1](H&&H.getAttribute("href")||""),i[1](!0)}function $(L){let H=r.current;if(i[1](!1),!H)return;u().focus(),d(H);let B=m(H.startContainer,lt=>lt.tagName==="A"),F=o[0].trim();if(F&&!/^(https?:|mailto:|tel:|\/|#|\{)/i.test(F)&&(F="https://"+F),L||!F)return B&&g(B),v(!0);if(B)return B.setAttribute("href",F),v(!0);let se=document.createElement("A");se.setAttribute("href",F),se.setAttribute("rel","noopener noreferrer"),H.collapsed?se.textContent=F:se.appendChild(H.extractContents()),H.insertNode(se),v(!0)}function I(L){let H=s();if(H||(u().focus(),H=s()),!H)return;H.deleteContents();let B=document.createTextNode(L);H.insertNode(B);let F=document.createRange();F.setStartAfter(B),F.collapse(!0),d(F),v(!0)}function Fe(L){let H=c.current;N(!0);let B=H.i+L;if(B<0||B>=H.stack.length)return;H.i=B,u().innerHTML=H.stack[B]??"";let F=document.createRange();F.selectNodeContents(u()),F.collapse(!1),d(F),C()}function un(L){if(!(L.metaKey||L.ctrlKey))return;let B=L.key.toLowerCase();B==="b"?(L.preventDefault(),y("B","STRONG")):B==="i"?(L.preventDefault(),y("I","EM")):B==="u"?(L.preventDefault(),y("U")):B==="k"?(L.preventDefault(),O()):B==="z"?(L.preventDefault(),Fe(L.shiftKey?1:-1)):B==="y"&&(L.preventDefault(),Fe(1))}function wa(L){L.preventDefault();let B=L.clipboardData.getData("text/plain").replace(/\r/g,"").split(`
|
|
30
|
+
`);if(I(B[0]??""),B.length>1){let F=s(),lt=F&&f(F.startContainer,F.startOffset);if(!lt)return v(!0);B.slice(1).forEach(M0=>{let ml=document.createElement("P");ml.textContent=M0;let od=lt;od.parentNode?.insertBefore(ml,od.nextSibling),lt=ml});let Wt=document.createRange();Wt.selectNodeContents(lt),Wt.collapse(!1),d(Wt),v(!0)}}function Fo(){let L=u();(!L.firstChild||L.innerHTML==="<br>")&&(L.innerHTML="<p><br></p>"),Array.from(L.childNodes).forEach(H=>{if(H.nodeType===3&&(H.textContent||"").trim()){let B=document.createElement("P");L.insertBefore(B,H),B.appendChild(H);let F=document.createRange();F.selectNodeContents(B),F.collapse(!1),d(F)}}),v(!1)}let Lg=[["bold",()=>{y("B","STRONG")},t.bold,"B"],["italic",()=>{y("I","EM")},t.italic,"I"],["underline",()=>{y("U")},t.underline,"U"],"-",["heading",()=>{V("H3")},t.heading],["quote",()=>{V("BLOCKQUOTE")},t.quote],["list",()=>{U("UL")},t.bulletedList],["olist",()=>{U("OL")},t.numberedList],"-",["link",O,t.link,"K"],"-",["undo",()=>{Fe(-1)},t.undo,"Z"],["redo",()=>{Fe(1)},t.redo]],id=e.maxLength&&n[0]>e.maxLength,jg=typeof navigator<"u"&&/Mac|iPhone|iPad/.test(navigator.platform||"")?"\u2318":"Ctrl+";return(0,Ge.jsx)(ft,{label:e.label,hint:e.hint,error:e.error,children:(0,Ge.jsxs)("div",{className:b("tf-rte",id&&"invalid"),children:[(0,Ge.jsxs)("div",{className:"tf-rte-bar",role:"toolbar","aria-label":t.formatting,children:[Lg.map((L,H)=>{if(L==="-")return(0,Ge.jsx)("span",{className:"tf-rte-sep","aria-hidden":!0},H);let B=(0,Ge.jsx)("button",{type:"button",className:b("tf-rte-btn",l[0][L[0]]&&"on"),title:L[2]+(L[3]?" ("+jg+L[3]+")":""),"aria-label":L[2],"aria-pressed":L[0]==="undo"||L[0]==="redo"?void 0:!!l[0][L[0]],disabled:e.disabled,onMouseDown:F=>{F.preventDefault()},onClick:L[1],children:(0,Ge.jsx)(z,{name:L[0],size:15})},H);return L[0]==="link"?(0,Ge.jsx)(Ue,{width:300,open:i[0],onOpenChange:i[1],trigger:B,children:(0,Ge.jsxs)("form",{className:"tf-col",style:{gap:8},onSubmit:F=>{F.preventDefault(),$(!1)},children:[(0,Ge.jsx)("input",{className:"tf-input",autoFocus:!0,value:o[0],onChange:F=>{o[1](F.target.value)},placeholder:t.linkAddress,"aria-label":t.linkAddress,inputMode:"url"}),(0,Ge.jsxs)("div",{className:"tf-row",style:{justifyContent:"flex-end",gap:8},children:[l[0].link&&(0,Ge.jsx)(Q,{size:"sm",variant:"ghost",onClick:()=>{$(!0)},children:t.removeLink}),(0,Ge.jsx)(Q,{size:"sm",type:"submit",children:t.apply})]})]})},H):B}),e.variables&&e.variables.length>0&&(0,Ge.jsx)(Ue,{width:240,trigger:L=>(0,Ge.jsxs)("button",{type:"button",className:"tf-rte-var",onMouseDown:H=>{H.preventDefault()},onClick:L.toggle,"aria-expanded":L.open,children:["{ }",(0,Ge.jsx)("span",{children:t.insertField})]}),children:L=>(0,Ge.jsx)("div",{className:"tf-menu",children:(e.variables||[]).map(H=>(0,Ge.jsxs)("button",{type:"button",className:"tf-menu-item",onMouseDown:B=>{B.preventDefault()},onClick:()=>{I("{"+H.key+"}"),L.close&&L.close()},children:[(0,Ge.jsx)("span",{style:{flex:1},children:H.label}),(0,Ge.jsx)("code",{children:"{"+H.key+"}"})]},H.key))})})]}),(0,Ge.jsx)("div",{ref:a,className:"tf-rte-area",contentEditable:!e.disabled,role:"textbox","aria-multiline":"true","aria-label":typeof e.label=="string"?e.label:t.text,"data-placeholder":e.placeholder||"",suppressContentEditableWarning:!0,onInput:Fo,onKeyDown:un,onPaste:wa,onBlur:C,style:{minHeight:e.minHeight||160}}),(e.maxLength||e.footer)&&(0,Ge.jsxs)("div",{className:"tf-rte-foot",children:[e.footer,e.maxLength&&(0,Ge.jsx)("span",{className:b("tf-rte-count",id&&"over"),children:Ta(n[0])+" / "+Ta(e.maxLength)})]})]})})}var oe=G(ye(),1),Zn=G(ce(),1);function e1(e){let t=w(E0);return(0,oe.jsxs)("nav",{className:"tf-topbar","aria-label":t.mainNavigation,children:[e.brand&&(0,oe.jsxs)("span",{className:"tf-brand",children:[e.brand,(0,oe.jsx)("span",{className:"tf-brand-dot","aria-hidden":!0}),e.tag&&(0,oe.jsx)("span",{className:"tf-brand-tag",children:e.tag})]}),(0,oe.jsx)("div",{className:"tf-nav",children:(e.items||[]).map(a=>{let n=a.label===e.active;return(0,oe.jsxs)("button",{type:"button",className:"tf-nav-item","aria-current":n?"page":void 0,title:a.label,onClick:()=>{e.onNavigate&&e.onNavigate(a.label)},children:[(0,oe.jsx)(z,{name:a.icon}),(0,oe.jsx)("span",{className:"tf-nav-label",children:a.label}),a.count?(0,oe.jsx)("span",{className:"tf-nav-count",children:a.count}):null]},a.label)})}),e.extra&&(0,oe.jsx)("div",{className:"tf-topbar-extra",children:e.extra}),e.user&&(0,oe.jsxs)("button",{type:"button",className:"tf-user","aria-haspopup":"menu","aria-expanded":e.userOpen?"true":"false",onClick:e.onUser,children:[(0,oe.jsx)(qe,{name:e.user.name,size:28}),(0,oe.jsxs)("span",{className:"tf-user-text",children:[(0,oe.jsx)("span",{className:"tf-user-name",children:e.user.name}),e.user.email&&(0,oe.jsx)("span",{className:"tf-user-mail",children:e.user.email})]}),(0,oe.jsx)(z,{name:"chevronDown",size:14})]})]})}function c4(e,t){return(0,oe.jsxs)("button",{type:"button",className:"tf-rail-btn",style:{animationDelay:`calc(${200+t*50}ms * var(--motion-time, 1))`},"aria-label":e.count?`${e.label}, ${e.count}`:e.label,title:e.label,"aria-current":e.active?"page":void 0,onClick:e.onClick,children:[(0,oe.jsx)(z,{name:e.icon}),e.count?(0,oe.jsx)("span",{className:"tf-dotcount",children:e.count}):null]},e.label)}function t1(e){let t=w(E0);return(0,oe.jsxs)("aside",{className:"tf-rail","aria-label":t.tools,children:[(0,oe.jsx)("div",{className:"tf-rail-group",children:(e.top||[]).map(c4)}),(0,oe.jsx)("div",{className:"tf-rail-group",children:(e.bottom||[]).map((a,n)=>c4(a,n+3))})]})}function a1(e){let t=w(E0);return(0,oe.jsx)("div",{className:b("tf-dock",e.surface&&"tf-"+e.surface,e.className),style:e.style,role:"toolbar","aria-label":e.label||t.quickActions,children:(e.items||[]).map(a=>(0,oe.jsx)("button",{type:"button",className:b("tf-dock-btn","tf-t-"+(a.tint||"plain")),"aria-label":a.label,title:a.label,onClick:a.onClick,children:(0,oe.jsx)(z,{name:a.icon})},a.label))})}function s4(e){let t=e.surface??"glass";return(0,oe.jsxs)("div",{className:b("tf-floating",e.className),style:{minHeight:e.height??640,...e.style},role:"region","aria-label":e.label,"data-surface":t,children:[e.background!=null&&(0,oe.jsx)("div",{className:"tf-floating-bg",children:e.background}),(0,oe.jsxs)("div",{className:"tf-floating-ui",children:[e.top!=null&&(0,oe.jsx)("div",{className:"tf-floating-top",children:e.top}),e.start!=null&&(0,oe.jsx)("div",{className:"tf-floating-start",children:e.start}),e.end!=null&&(0,oe.jsx)("div",{className:"tf-floating-end",children:e.end}),e.bottom!=null&&(0,oe.jsx)("div",{className:"tf-floating-bottom",children:e.bottom})]}),e.children]})}function u4(e){let t=Zn.useRef(null),[a,n]=Zn.useState(!1),l=e.animate!==!1&&!e.src&&!e.children;Zn.useEffect(()=>{let c=t.current;if(!c||!l||typeof IntersectionObserver>"u")return;let u=new IntersectionObserver(s=>n(!s.some(d=>d.isIntersecting)));return u.observe(c),()=>u.disconnect()},[l]);let i=Zn.useRef(null);Zn.useEffect(()=>{let c=i.current;c&&Ca(c)&&c.pause()},[e.src]);let o=e.colors?.length?e.colors:["var(--ambient-1)","var(--ambient-2)","var(--ambient-3)","var(--ambient-4)"],r=!!e.src&&!e.children;return(0,oe.jsx)("div",{ref:t,"aria-hidden":!0,className:b("tf-ambient",e.fixed&&"fixed",r&&"media",!l&&"still",e.className),style:e.style,"data-paused":a?"":void 0,children:e.children??(r?e.video?(0,oe.jsx)("video",{ref:i,className:"tf-ambient-media",src:e.src,muted:!0,loop:!0,autoPlay:!0,playsInline:!0}):(0,oe.jsx)("img",{className:"tf-ambient-media",src:e.src,alt:""}):o.map((c,u)=>(0,oe.jsx)("span",{className:"tf-ambient-field",style:{"--field":c}},u)))})}var n1=()=>[{label:"Home",icon:"home"},{label:"People",icon:"users"},{label:"Projects",icon:"grid"},{label:"Inbox",icon:"mail"},{label:"Calendar",icon:"calendar"},{label:"Billing",icon:"card"},{label:"Reports",icon:"chart"},{label:"Settings",icon:"settings"}],X6=()=>[{label:"Share",icon:"share",active:!0},{label:"List view",icon:"menu"},{label:"Grid view",icon:"grid"}],K6=()=>[{label:"Notifications",icon:"bell",count:3},{label:"Zoom in",icon:"plus"},{label:"Zoom out",icon:"minus"}],Q6=()=>[{label:"Invite",icon:"users",tint:"sky"},{label:"New page",icon:"file",tint:"lilac"},{label:"New invoice",icon:"card",tint:"blush"},{label:"Announce",icon:"send",tint:"butter"},{label:"Export",icon:"download",tint:"mint"},{label:"More",icon:"plus"}];function d4(e){return(0,oe.jsxs)("div",{className:b("tf-shell",e.className),style:e.style,children:[(0,oe.jsx)(e1,{brand:e.brand,tag:e.tag,active:e.active,items:e.nav||n1(),onNavigate:e.onNavigate,user:e.user,extra:e.topExtra}),(0,oe.jsxs)("div",{className:b("tf-sheet",!e.side&&"tf-sheet-2"),style:e.sheetStyle,children:[(0,oe.jsx)(t1,{top:e.railTop||X6(),bottom:e.railBottom||K6()}),(0,oe.jsx)("main",{className:b("tf-main",e.dock!==!1&&"tf-main-dock"),children:e.children},e.contentKey),e.side||null,e.dock!==!1&&(0,oe.jsx)("div",{className:"tf-dock-float",children:(0,oe.jsx)(a1,{items:e.dockItems||Q6()})})]})]})}var me=G(ye(),1),El=G(ce(),1);function m4(e){let t=w(A0),a=P(e.open,!1,e.onOpenChange);return(0,me.jsxs)("div",{className:b("tf-launch",a[0]&&"open",e.inline&&"inline"),children:[a[0]&&(0,me.jsxs)("div",{className:"tf-launch-panel",role:"dialog","aria-label":e.title||t.assistant,children:[(0,me.jsxs)("div",{className:"tf-launch-head",children:[(0,me.jsx)(Kt,{tint:e.tint||"lilac",size:32}),(0,me.jsxs)("div",{className:"tf-option-text",style:{flex:1},children:[(0,me.jsx)("b",{children:e.title||t.assistant}),e.context&&(0,me.jsx)("small",{children:e.context})]}),e.headerAction,(0,me.jsx)(W,{icon:"x",size:"sm",label:t.close,onClick:()=>{a[1](!1)}})]}),(0,me.jsx)("div",{className:"tf-launch-body",children:e.children}),e.composer&&(0,me.jsx)("div",{className:"tf-launch-foot",children:e.composer})]}),(0,me.jsxs)("button",{type:"button",className:"tf-launch-btn","aria-label":a[0]?t.closeAssistant:e.title||t.openAssistant,"aria-expanded":a[0],onClick:()=>{a[1](!a[0])},children:[(0,me.jsx)(z,{name:a[0]?"x":"sparkle",size:22}),!a[0]&&(e.unread??0)>0&&(0,me.jsx)("span",{className:"tf-nav-count",children:e.unread})]})]})}function f4(e){let t=w(A0),a=El.useState(!1),n=El.useState((e.categories||[]).reduce((i,o)=>(i[o.id]=!!(o.required||o.default),i),{}));if(e.open===!1)return null;function l(i){let o=Object.assign({},n[0]);(e.categories||[]).forEach(r=>{i===!0&&(o[r.id]=!0),i===!1&&(o[r.id]=!!r.required)}),e.onSave&&e.onSave(o)}return(0,me.jsxs)("div",{className:b("tf-cookie",e.inline&&"inline"),role:"dialog","aria-label":e.title||t.privacySettings,children:[(0,me.jsxs)("div",{className:"tf-row",style:{gap:12,alignItems:"flex-start",flexWrap:"nowrap"},children:[(0,me.jsx)(re,{icon:"cookie",tint:"butter",size:36}),(0,me.jsxs)("div",{className:"tf-col",style:{gap:4},children:[(0,me.jsx)("b",{children:e.title||t.privacySettings}),(0,me.jsxs)("p",{className:"tf-card-desc",style:{margin:0},children:[e.text||t.cookieText,e.policy&&(0,me.jsxs)(El.Fragment,{children:[" ",e.policy]})]})]})]}),a[0]&&(0,me.jsx)("div",{className:"tf-cookie-cats",children:(e.categories||[]).map(i=>(0,me.jsxs)("div",{className:"tf-cookie-cat",children:[(0,me.jsxs)("div",{className:"tf-option-text",style:{flex:1},children:[(0,me.jsx)("b",{children:i.label}),i.text&&(0,me.jsx)("small",{children:i.text})]}),i.required?(0,me.jsx)("span",{className:"tf-card-desc",children:t.alwaysOn}):(0,me.jsx)(Xn,{checked:!!n[0][i.id],onChange:()=>{let o=Object.assign({},n[0]);o[i.id]=!o[i.id],n[1](o)}})]},i.id))}),(0,me.jsxs)("div",{className:"tf-cookie-actions",children:[a[0]?(0,me.jsx)(Q,{variant:"secondary",onClick:()=>{l(void 0)},children:t.saveChoice}):(0,me.jsx)(Q,{variant:"ghost",onClick:()=>{a[1](!0)},children:t.settings}),(0,me.jsx)(Q,{variant:"secondary",onClick:()=>{l(!1)},children:t.onlyNecessary}),(0,me.jsx)(Q,{onClick:()=>{l(!0)},children:t.acceptAll})]})]})}function h4(e){let t=w(A0),a=El.useState(!1);return a[0]?null:(0,me.jsxs)("div",{className:b("tf-announce","tf-t-"+(e.tint||"butter")),role:"status",children:[e.icon!==!1&&(0,me.jsx)(z,{name:e.icon||"sparkle",size:15}),(0,me.jsx)("span",{children:e.children}),e.action,e.onDismiss!==!1&&(0,me.jsx)("button",{type:"button",className:"tf-announce-x","aria-label":t.dismiss,onClick:()=>{a[1](!0),e.onDismiss&&e.onDismiss()},children:(0,me.jsx)(z,{name:"x",size:14})})]})}var $e=G(ye(),1),iO=G(ce(),1);function v4(e){let t=e.code||"404",a={404:["Page not found","The link may be old, or the page moved. Nothing is broken on your side.","search","sky"],500:["Something broke on our side","We\u2019ve been notified and are on it. Your data is safe; try again in a minute.","x","blush"],maintenance:["Back in a few minutes","We\u2019re upgrading the database. Everything you saved is safe.","settings","butter"],offline:["You\u2019re offline","Changes are kept on this device and sync when you\u2019re back.","globe","lilac"],403:["You don\u2019t have access","Ask a workspace owner to invite you to this area.","lock","lilac"]}[t]||[e.title,e.text,"sparkle","sky"];return(0,$e.jsxs)("div",{className:"tf-status-screen",children:[(0,$e.jsxs)("div",{className:"tf-status-art","aria-hidden":!0,children:[/^\d+$/.test(t)&&(0,$e.jsx)("span",{className:"tf-status-code",children:t}),(0,$e.jsx)(re,{icon:e.icon||a[2],tint:e.tint||a[3],size:56})]}),(0,$e.jsx)("h1",{children:e.title||a[0]}),(0,$e.jsx)("p",{children:e.text||a[1]}),e.extra,(0,$e.jsx)("div",{className:"tf-row",style:{justifyContent:"center"},children:e.actions||[(0,$e.jsx)(Q,{icon:"home",onClick:e.onHome,children:"Back to overview"},"h"),(0,$e.jsx)(Q,{variant:"secondary",icon:"mail",onClick:e.onContact,children:"Contact support"},"s")]}),e.reference&&(0,$e.jsx)("span",{className:"tf-status-ref",children:`Reference ${e.reference}`})]})}function p4(e){return(0,$e.jsxs)("div",{className:"tf-auth",children:[e.brand&&(0,$e.jsxs)("div",{className:"tf-auth-brand",children:[(0,$e.jsx)("span",{className:"tf-brand-word",children:e.brand}),(0,$e.jsx)("span",{className:"tf-brand-dot"})]}),e.icon&&(0,$e.jsx)(re,{icon:e.icon,tint:e.tint||"sky",size:48}),(0,$e.jsxs)("div",{className:"tf-col",style:{gap:8},children:[(0,$e.jsx)("h1",{className:"tf-auth-title",children:e.title}),e.text&&(0,$e.jsx)("p",{className:"tf-auth-text",children:e.text})]}),e.children,e.foot&&(0,$e.jsx)("div",{className:"tf-auth-foot",children:e.foot})]})}var Z6="M21.17 6.81a1 1 0 0 0-3.98-3.98l-13.35 13.34a2 2 0 0 0-0.5 0.83l-1.32 4.36a0.5 0.5 0 0 0 0.62 0.62l4.36-1.32a2 2 0 0 0 0.83-0.5z m-6.17-1.81l4 4",F6="M15.2 3a2 2 0 0 1 1.4 0.6l3.8 3.8a2 2 0 0 1 0.6 1.4v10.2a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m1.8 18v-7a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1v7m0-18v4a1 1 0 0 0 1 1h7",I6="M10.73 5.08a10.74 10.74 0 0 1 11.21 6.57 1 1 0 0 1 0 0.7 10.75 10.75 0 0 1-1.45 2.49m-6.41-0.68a3 3 0 0 1-4.24-4.24m7.64 7.58a10.75 10.75 0 0 1-15.42-5.15 1 1 0 0 1 0-0.7 10.75 10.75 0 0 1 4.45-5.14m-4.51-4.51l20 20",J6="M10 17l5-5-5-5m5 5h-12m12-9h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",P6="M15 3h6v6m0-6l-7 7m-11 11l7-7m-1 7h-6v-6",$6="M14 10l7-7m-1 7h-6v-6m-11 17l7-7m-6 0h6v6",W6="M3 11a8 8 0 1 0 16 0 8 8 0 1 0-16 0z m18 10l-4.35-4.35m-5.65-8.65l0 6m-3-3l6 0",eb="M3 11a8 8 0 1 0 16 0 8 8 0 1 0-16 0z m18 10l-4.35-4.35m-8.65-5.65l6 0",tb="M15 5a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-12 7a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m12 7a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-6.41-5.49l6.83 3.98m-0.01-10.98l-6.82 3.98",ab="M9 17h-2a5 5 0 0 1 0-10h2m6 0h2a5 5 0 1 1 0 10h-2m-7-5l8 0",nb="M18.84 12.25l1.72-1.71h-0.02a5 5 0 0 0-0.12-7.07 5.01 5.01 0 0 0-6.95 0l-1.72 1.71m-6.58 6.57l-1.71 1.71a5 5 0 0 0 0.12 7.07 5.01 5.01 0 0 0 6.95 0l1.71-1.71m-4.24-16.82l0 3m-6 3l3 0m11 11l0 3m3-6l3 0",lb="M15 3h6v6m-11 5l11-11m-3 10v6a2 2 0 0 1-2 2h-11a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2h6",ib="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74l-2.26 2.26m0-5v5h5",ob="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74l2.26 2.26m0-5v5h-5",rb="M17 2l4 4-4 4m-14 1v-1a4 4 0 0 1 4-4h14m-14 16l-4-4 4-4m14-1v1a4 4 0 0 1-4 4h-14",cb="M18 14l4 4-4 4m0-20l4 4-4 4m-16 8h1.97a4 4 0 0 0 3.3-1.7l5.46-8.6a4 4 0 0 1 3.3-1.7h5.97m-20 0h1.97a4 4 0 0 1 3.6 2.2m14.43 9.8h-6.04a4 4 0 0 1-3.3-1.8l-0.36-0.45",sb="M2 5h20m-16 7h12m-9 7h6",ub="M21 16l-4 4-4-4m4 4v-16m-14 4l4-4 4 4m-4-4v16",db="M3 16l4 4 4-4m-4 4v-16m4 0h10m-10 4h7m-7 4h4",mb="M3 8l4-4 4 4m-4-4v16m4-8h4m-4 4h7m-7 4h10",fb="M18 6.25l-11 11-5-5m20-2l-7.5 7.5-1.5-1.5",hb="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m6 0h8m-4-4v8",vb="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m6 0h8",pb="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m14-3l-5.5 5.5-2.5-2.5",gb="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m13-3l-6 6m0-6l6 6",bb="M3 3h18a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-18a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1z m1 5v11a2 2 0 0 0 2 2h2m12-13v11a2 2 0 0 1-2 2h-2m-7-6l3-3 3 3m-3-3v9",yb="M8.5 2h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1z m-1 2h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2m-4-14h2a2 2 0 0 1 2 2v4m1 4h-10m4-4l-4 4 4 4",xb="M10.5 14h10m-5-10h2a2 2 0 0 1 2 2v1.34m-3 10.66l4-4-4-4m-9-6h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.79-1.11m-10.79-18.89h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1z",Nb="M3.5 6a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m5.12 2.12l3.88 3.88m8-8l-11.88 11.88m-5.12 2.12a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m11.8-3.2l5.2 5.2",zb="M12 17v5m-3-11.24a2 2 0 0 1-1.11 1.79l-1.78 0.9a2 2 0 0 0-1.11 1.79v0.76a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-0.76a2 2 0 0 0-1.11-1.79l-1.78-0.9a2 2 0 0 1-1.11-1.79v-3.76a1 1 0 0 1 1-1 2 2 0 0 0 0-4h-8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",Sb="M12 17v5m3-12.66v-2.34a1 1 0 0 1 1-1 2 2 0 0 0 0-4h-8.11m-5.89 0l20 20m-13-13v1.76a2 2 0 0 1-1.11 1.79l-1.78 0.9a2 2 0 0 0-1.11 1.79v0.76a1 1 0 0 0 1 1h11",Mb="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.5 0.87l-4.51-2.58a2 2 0 0 0-1.98 0l-4.51 2.58a1 1 0 0 1-1.5-0.87v-15a2 2 0 0 1 2-2z",kb="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.5 0.87l-4.51-2.58a2 2 0 0 0-1.98 0l-4.51 2.58a1 1 0 0 1-1.5-0.87v-15a2 2 0 0 1 2-2z m-8 7l2 2 4-4",wb="M12 7v6m3-3h-6m8-7a2 2 0 0 1 2 2v15a1 1 0 0 1-1.5 0.87l-4.51-2.58a2 2 0 0 0-1.98 0l-4.51 2.58a1 1 0 0 1-1.5-0.87v-15a2 2 0 0 1 2-2z",Cb="M11 12a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m0-7a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m0 14a1 1 0 1 0 2 0 1 1 0 1 0-2 0z",Tb="M8 12a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m0-7a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m0 14a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m6-7a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m0-7a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m0 14a1 1 0 1 0 2 0 1 1 0 1 0-2 0z",Rb="M11 9a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m7 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m-14 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m7 6a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m7 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m-14 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0z",Eb="M14.4 4.5l-2 1.9m-6.9 2l-2.9-0.8m3.8 4.8l-1.9 2m3.1-11.8l0.8 2.9m1.04 4.59a0.5 0.5 0 0 1 0.65-0.65l11 4.5a0.5 0.5 0 0 1-0.07 0.95l-4.35 1.04a1 1 0 0 0-0.74 0.74l-1.04 4.35a0.5 0.5 0 0 1-0.95 0.07z",Ab="M22.05 14a8 8 0 0 1-8 8m4-11v-1a2 2 0 0 0-2-2 2 2 0 0 0-2 2m0 0v-1a2 2 0 0 0-2-2 2 2 0 0 0-2 2v1m0-0.5v-5.5a2 2 0 0 0-2-2 2 2 0 0 0-2 2v10m12-3a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-2c-2.8 0-4.5-0.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82l1.76 1.76",Db="M18.05 11v-5a2 2 0 0 0-2-2 2 2 0 0 0-2 2m0 4v-6a2 2 0 0 0-2-2 2 2 0 0 0-2 2v2m0 4.5v-4.5a2 2 0 0 0-2-2 2 2 0 0 0-2 2v8m12-6a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-0.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82l1.76 1.76",_b="M12 2v20m3-3l-3 3-3-3m10-10l3 3-3 3m-17-3h20m-17-3l-3 3 3 3m4-10l3-3 3 3",Ob="M11.97 2.02v10m6.4-5.4a9 9 0 1 1-12.77 0.04",Lb="M12 5v14m7-7l-7 7-7-7",jb="M12 19l-7-7 7-7m7 7h-14",Hb="M5 12h14m-7-7l7 7-7 7",Ub="M17 7l-10 10m10 0h-10v-10",Bb="M7 7l10 10m0-10v10h-10",qb="M7 17v-10h10m0 10l-10-10",Vb="M8 3l-4 4 4 4m-4-4h16m-4 14l4-4-4-4m4 4h-16",Gb="M12 17v-14m-6 8l6 6 6-6m1 10h-14",Yb="M18 9l-6-6-6 6m6-6v14m-7 4h14",Xb="M18 15l-6-6-6 6",Kb="M7 15l5 5 5-5m-10-6l5-5 5 5",Qb="M11 17l-5-5 5-5m7 10l-5-5 5-5",Zb="M6 17l5-5-5-5m7 10l5-5-5-5",Fb="M17 11l-5-5-5 5m10 7l-5-5-5 5",Ib="M7 6l5 5 5-5m-10 7l5 5 5-5",Jb="M20 4v7a4 4 0 0 1-4 4h-12m5-5l-5 5 5 5",Pb="M15 14l5-5-5-5m-11 16v-7a4 4 0 0 1 4-4h12",$b="M18 8l4 4-4 4m-16-4h20m-16-4l-4 4 4 4",Wb="M12 2v20m-4-4l4 4 4-4m-8-12l4-4 4 4",e7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m4 0v18",t7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m10 0v18",a7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m-2 12h18",n7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m-2 6h18",l7="M4 3h5a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1z m11 0h5a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1z m0 9h5a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1z m-11 4h5a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1z",i7="M4 3h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z m11 0h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z m0 11h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z m-11 0h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z",o7="M4 3h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z m0 11h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z m10-10h7m-7 5h7m-7 6h7m-7 5h7",r7="M4 3h16a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-16a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z m0 11h7a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z m13 0h3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z",c7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m7 0v18",s7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m-2 9h18",u7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m3 4v7m4-7v4m4-4v9",d7="M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-12a2 2 0 0 1 2-2z m6 0v4m-8 0h20m-16-4v4",m7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m4 0v18m5-12l3 3-3 3",f7="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m14.24-4.24l-1.8 5.41a2 2 0 0 1-1.27 1.27l-5.41 1.8 1.8-5.41a2 2 0 0 1 1.27-1.27z",h7="M2.5 11.5l19-9-9 19-2-8-8-2z",v7="M14 17h-9m14-10h-9m4 10a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-10-10a3 3 0 1 0 6 0 3 3 0 1 0-6 0z",p7="M10 5h-7m9 14h-9m11-16v4m2 10v4m5-9h-9m9 7h-5m5-14h-7m-6 5v4m0-2h-5",g7="M10 8h4m-2 13v-9m0-4v-5m5 13h4m-2-4v-9m0 18v-5m-16-2h4m-2-4v-7m0 18v-7",b7="M6 12a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m3-7h6a7 7 0 0 1 7 7v0a7 7 0 0 1-7 7h-6a7 7 0 0 1-7-7v0a7 7 0 0 1 7-7z",y7="M12 12a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-3-7h6a7 7 0 0 1 7 7v0a7 7 0 0 1-7 7h-6a7 7 0 0 1-7-7v0a7 7 0 0 1 7-7z",x7="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m10 4v-4m0-4h0.01",N7="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m10-4l0 4m0 4l0.01 0",z7="M21.74 18.01l-8-14a2 2 0 0 0-3.48 0l-8 14a2 2 0 0 0 1.75 3h16a2 2 0 0 0 1.73-3m-9.73-9v4m0 4h0.01",S7="M12 16h0.01m-0.01-8v4m3.31-10a2 2 0 0 1 1.42 0.59l4.68 4.68a2 2 0 0 1 0.59 1.42v6.62a2 2 0 0 1-0.59 1.42l-4.68 4.68a2 2 0 0 1-1.42 0.59h-6.62a2 2 0 0 1-1.42-0.59l-4.68-4.68a2 2 0 0 1-0.59-1.42v-6.62a2 2 0 0 1 0.59-1.42l4.68-4.68a2 2 0 0 1 1.42-0.59z",M7="M3.86 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76z m12.15 0.38l-5.5 5.5-2.5-2.5",k7="M3.86 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76z m8.15-0.62l0 4m0 4l0.01 0",w7="M3.86 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76z m8.15 7.38l0-4m0-4l0.01 0",C7="M11 12a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m-9 0a10 10 0 1 0 20 0 10 10 0 1 0-20 0z",T7="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z",R7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z",E7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m11 6l-5.5 5.5-2.5-2.5",A7="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m10 6l-6 6m0-6l6 6",D7="M12 2v4m4.2 1.8l2.9-2.9m-1.1 7.1h4m-5.8 4.2l2.9 2.9m-7.1-1.1v4m-7.1-2.9l2.9-2.9m-5.8-4.2h4m-1.1-7.1l2.9 2.9",_7="M21 12a9 9 0 1 1-6.22-8.56",O7="M5 22h14m-14-20h14m-2 20v-4.17a2 2 0 0 0-0.59-1.42l-4.41-4.41-4.41 4.41a2 2 0 0 0-0.59 1.42v4.17m0-20v4.17a2 2 0 0 0 0.59 1.42l4.41 4.41 4.41-4.41a2 2 0 0 0 0.59-1.42v-4.17",L7="M10.27 21a2 2 0 0 0 3.46 0m3.27-4h-13a1 1 0 0 1-0.74-1.67c1.33-1.37 2.74-2.83 2.74-7.33a6 6 0 0 1 0.26-1.74m-4.26-4.26l20 20m-13.33-18.99a6 6 0 0 1 9.33 4.99c0 2.69 0.77 4.65 1.71 6.05",j7="M10.27 21a2 2 0 0 0 3.46 0m8.27-13c0-2.3-0.8-4.3-2-6m-16.74 13.33a1 1 0 0 0 0.74 1.67h16a1 1 0 0 0 0.74-1.67c-1.33-1.37-2.74-2.83-2.74-7.33a6 6 0 0 0-12 0c0 4.5-1.41 5.96-2.74 7.33m0.74-13.33c-1.2 1.7-2 3.7-2 6",H7="M10.27 21a2 2 0 0 0 3.46 0m-2.05-18.99a6 6 0 0 0-5.68 5.99c0 4.5-1.41 5.96-2.74 7.33a1 1 0 0 0 0.74 1.67h16a1 1 0 0 0 0.74-1.67c-0.82-0.85-1.68-1.73-2.21-3.35m-3.53-6.98a3 3 0 1 0 6 0 3 3 0 1 0-6 0z",U7="M13 5h8m-8 7h8m-8 7h8m-18-2l2 2 4-4m-6-8l2 2 4-4",B7="M13 5.5h8m-8 7h8m-8 7h8m-18-2l2 2 4-4m-5-11h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",q7="M17 18.8a2.1 2.1 0 0 0-0.99 0.25l-4.61 2.42a0.53 0.53 0 0 1-0.77-0.56l0.88-5.13a2.12 2.12 0 0 0-0.61-1.88l-3.74-3.64a0.53 0.53 0 0 1 0.29-0.91l5.17-0.75a2.12 2.12 0 0 0 1.6-1.16l2.31-4.68a0.53 0.53 0 0 1 0.47-0.3",V7="M5.5 22v-19.2a0.8 0.8 0 0 1 1.17-0.71l11.38 5.69a0.8 0.8 0 0 1 0 1.44l-12.55 6.28",G7="M7 18v-6a5 5 0 1 1 10 0v6m-12 3a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2h-10a2 2 0 0 0-2 2z m16-9h1m-3.5-7.5l-0.5 0.5m-16 7h1m9-10v1m-7.07 1.93l0.71 0.71m6.36 6.36v6",Y7="M12.04 10a2 2 0 0 0-2 2c0 1.02-0.1 2.51-0.26 4m4.26-2.88c0 2.38 0 6.38-1 8.88m4.29-0.98c0.12-0.6 0.43-2.3 0.5-3.02m-15.79-6a10 10 0 0 1 18-6m-18 10h0.01m19.79 0c0.2-2 0.13-5.35 0-6m-16.8 9.5c0.5-1.5 1-4.5 1-7.5a6 6 0 0 1 0.34-2m2.31 12c0.21-0.66 0.45-1.32 0.57-2m-0.22-13.2a6 6 0 0 1 9 5.2v2",X7="M3 7v-2a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2m-10 0h-2a2 2 0 0 1-2-2v-2m5-3s1.5 2 4 2 4-2 4-2m-7-5h0.01m5.99 0h0.01",K7="M2.57 17.43a2 2 0 0 0-0.59 1.42v2.17a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h0.17a2 2 0 0 0 1.42-0.59l0.81-0.81a6.5 6.5 0 1 0-4-4z m13.41-9.91a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z",Q7="M5 11h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2z m2 0v-4a5 5 0 0 1 9.9-1",Z7="M11 16a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m-6-6h14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2z m2 0v-3a5 5 0 0 1 10 0v3",F7="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-0.67-0.01c-4.17-1.44-7.67-3.94-7.67-8.94v-7a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0c1.75 1.53 4.24 2.72 6.24 2.72a1 1 0 0 1 1 1z m-11-1l2 2 4-4",I7="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-0.67-0.01c-4.17-1.44-7.67-3.94-7.67-8.94v-7a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0c1.75 1.53 4.24 2.72 6.24 2.72a1 1 0 0 1 1 1z m-8-5v4m0 4h0.01",J7="M2 2l20 20m-17-17a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 0.67 0.01c2.35-0.82 4.48-1.97 5.9-3.71m-8.93-14.59a12.25 12.25 0 0 0 1.93-1.37 1.17 1.17 0 0 1 1.52 0c1.75 1.53 4.24 2.72 6.24 2.72a1 1 0 0 1 1 1v7a9.78 9.78 0 0 1-0.08 1.26",P7="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-0.67-0.01c-4.17-1.44-7.67-3.94-7.67-8.94v-7a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0c1.75 1.53 4.24 2.72 6.24 2.72a1 1 0 0 1 1 1z m-13.62 5.91a6 6 0 0 1 11.24 0m-9.62-7.91a4 4 0 1 0 8 0 4 4 0 1 0-8 0z",$7="M12 13v3m8-3c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-0.67-0.01c-4.17-1.44-7.67-3.94-7.67-8.94v-7a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0c1.75 1.53 4.24 2.72 6.24 2.72a1 1 0 0 1 1 1z m-10-2a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",W7="M16 11l2 2 4-4m-6 12v-2a4 4 0 0 0-4-4h-6a4 4 0 0 0-4 4v2m3-14a4 4 0 1 0 8 0 4 4 0 1 0-8 0z",e8="M16 21v-2a4 4 0 0 0-4-4h-6a4 4 0 0 0-4 4v2m3-14a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m12 1l5 5m0-5l-5 5",t8="M16 21v-2a4 4 0 0 0-4-4h-6a4 4 0 0 0-4 4v2m3-14a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m14 1l0 6m3-3l-6 0",a8="M16 21v-2a4 4 0 0 0-4-4h-6a4 4 0 0 0-4 4v2m3-14a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m17 4l-6 0",n8="M7 8a5 5 0 1 0 10 0 5 5 0 1 0-10 0z m13 13a8 8 0 0 0-16 0",l8="M10.15 15h-4a4 4 0 0 0-4 4v2m12.31-4.47l0.92-0.38m0-2.3l-0.92-0.38m2.54-1.24l-0.38-0.93m0.38 6.47l-0.38 0.93m2.68-6.47l0.38-0.93m0 7.4l-0.38-0.93m1.62-3.92l0.93-0.38m-0.93 2.68l0.93 0.38m-6.7-1.53a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-10-8a4 4 0 1 0 8 0 4 4 0 1 0-8 0z",i8="M19 16v-2a2 2 0 0 0-4 0v2m-5.5-1h-2.5a4 4 0 0 0-4 4v2m3-14a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m7.9 9h6.2a0.9 0.9 0 0 1 0.9 0.9v3.2a0.9 0.9 0 0 1-0.9 0.9h-6.2a0.9 0.9 0 0 1-0.9-0.9v-3.2a0.9 0.9 0 0 1 0.9-0.9z",o8="M19.5 11v6m0-4h2m-19 8v-2a4 4 0 0 1 4-4h6a4 4 0 0 1 2.07 0.58m-9.07-8.58a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m12 12a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",r8="M18 21a8 8 0 0 0-16 0m3-13a5 5 0 1 0 10 0 5 5 0 1 0-10 0z m17 12c0-3.37-2-6.5-4-8a5 5 0 0 0-0.45-8.3",c8="M13 19a4 4 0 0 0-8 0m11-9h2m-2 4h2m-12-2a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-2-7h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-10a2 2 0 0 1 2-2z",s8="M16 2.5v2m-9 17v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2m-9-19v2m1 6a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-4-7h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z",u8="M3 7v-2a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2m-10 0h-2a2 2 0 0 1-2-2v-2m8-5a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m7.94 0.33a1 1 0 0 0 0-0.66 7.5 7.5 0 0 0-13.88 0 1 1 0 0 0 0 0.66 7.5 7.5 0 0 0 13.88 0",d8="M3 7v-2a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2m-10 0h-2a2 2 0 0 1-2-2v-2",m8="M3 7v-2a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2m-10 0h-2a2 2 0 0 1-2-2v-2m4-5h10",f8="M4 2.99h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1z m13 0h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1z m-13 13h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1z m17 0h-3a2 2 0 0 0-2 2v3m5 0v0.02m-9-14.02v3a2 2 0 0 1-2 2h-3m-4 0h0.01m8.99-9h0.01m-0.01 13v0.02m4-4.02h1m4 0v0.01m-9 8.99v-1",h8="M17 12v4a1 1 0 0 1-1 1h-4m5-14h2a2 2 0 0 1 2 2v2m-4 1v-1m4 10v2a2 2 0 0 1-2 2h-2m-14-14v-2a2 2 0 0 1 2-2h2m0 14h0.01m-0.01 4h-2a2 2 0 0 1-2-2v-2m5-10h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1z",v8="M2.99 6h5a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-10a1 1 0 0 1 1-1z m10 2.32a7.43 7.43 0 0 1 0 7.36m3.46-9.47a11.76 11.76 0 0 1 0 11.58m3.45-13.69a15.91 15.91 0 0 1 0.01 15.8",p8="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m2 4.5a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m0.9 0.4l2.7 2.7m5.4-3.1a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m-2.6 3.1l2.7-2.7m-9.1 8.6a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m0.9-0.4l2.7-2.7m5.4 3.1a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m-2.6-3.1l2.7 2.7m-6.1-4.1a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",g8="M4.5 9.8v-5.8a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.71 0.71l3.58 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2h-3m-1-20v5a1 1 0 0 0 1 1h5m-11 9v-2a2 2 0 0 0-4 0v2m-1 0h6a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1z",b8="M18 10.5c-1.5 0-2.5 0.5-3 2m-11-7a2 2 0 0 0-2 2v4a5 5 0 0 0 5 5 8 8 0 0 1 5 2 8 8 0 0 1 5-2 5 5 0 0 0 5-5v-4a2 2 0 0 0-2-2h-3a8 8 0 0 0-5 2 8 8 0 0 0-5-2z m2 5c1.5 0 2.5 0.5 3 2",y8="M2.99 16.34a2 2 0 0 1 0.1 1.17l-1.07 3.29a1 1 0 0 0 1.24 1.17l3.41-1a2 2 0 0 1 1.1 0.09 10 10 0 1 0-4.78-4.72",x8="M22 16.5a2 2 0 0 1-2 2h-13.17a2 2 0 0 0-1.42 0.59l-2.2 2.2a0.71 0.71 0 0 1-1.21-0.5v-16.29a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",N8="M16 10a2 2 0 0 1-2 2h-7.17a2 2 0 0 0-1.42 0.59l-2.2 2.2a0.71 0.71 0 0 1-1.21-0.5v-10.29a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z m4-1a2 2 0 0 1 2 2v10.29a0.71 0.71 0 0 1-1.21 0.5l-2.2-2.2a2 2 0 0 0-1.42-0.59h-7.17a2 2 0 0 1-2-2v-1",z8="M2.99 16.34a2 2 0 0 1 0.1 1.17l-1.07 3.29a1 1 0 0 0 1.24 1.17l3.41-1a2 2 0 0 1 1.1 0.09 10 10 0 1 0-4.78-4.72m5.01-4.34h0.01m3.99 0h0.01m3.99 0h0.01",S8="M22 16.5a2 2 0 0 1-2 2h-13.17a2 2 0 0 0-1.42 0.59l-2.2 2.2a0.71 0.71 0 0 1-1.21-0.5v-16.29a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z m-15-6h10m-10 4h6m-6-8h8",M8="M21.2 8.4c0.5 0.38 0.8 0.97 0.8 1.6v10a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-10a2 2 0 0 1 0.8-1.6l8-6a2 2 0 0 1 2.4 0l8 6z m0.8 1.6l-8.97 5.7a1.94 1.94 0 0 1-2.06 0l-8.97-5.7",k8="M22 12.5v-7a2 2 0 0 0-2-2h-16a2 2 0 0 0-2 2v12c0 1.1 0.9 2 2 2h8m10-13l-8.97 5.7a1.94 1.94 0 0 1-2.06 0l-8.97-5.7m14 12l2 2 4-4",w8="M22 12v-7a2 2 0 0 0-2-2h-16a2 2 0 0 0-2 2v12c0 1.1 0.9 2 2 2h8m10-13l-8.97 5.7a1.94 1.94 0 0 1-2.06 0l-8.97-5.7m17 9v6m-3-3h6",C8="M3.22 3.05a0.5 0.5 0 0 0-0.69 0.63l2.85 7.62a2 2 0 0 1 0 1.4l-2.85 7.63a0.5 0.5 0 0 0 0.69 0.62l18-8.5a0.5 0.5 0 0 0 0-0.9z m2.28 8.95h16",T8="M8 12a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m8-4v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",R8="M13 2a9 9 0 0 1 9 9m-9-5a5 5 0 0 1 5 5m-4.17 5.57a1 1 0 0 0 1.21-0.31l0.36-0.46a2 2 0 0 1 1.6-0.8h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-18-18 2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-0.8 1.6l-0.47 0.35a1 1 0 0 0-0.29 1.23 14 14 0 0 0 6.39 6.39",E8="M16 2v6h6m0-6l-6 6m-2.17 8.57a1 1 0 0 0 1.21-0.31l0.36-0.46a2 2 0 0 1 1.6-0.8h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-18-18 2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-0.8 1.6l-0.47 0.35a1 1 0 0 0-0.29 1.23 14 14 0 0 0 6.39 6.39",A8="M16 8l6-6m0 6v-6h-6m-2.17 14.57a1 1 0 0 0 1.21-0.31l0.36-0.46a2 2 0 0 1 1.6-0.8h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-18-18 2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-0.8 1.6l-0.47 0.35a1 1 0 0 0-0.29 1.23 14 14 0 0 0 6.39 6.39",D8="M16 2l6 6m0-6l-6 6m-2.17 8.57a1 1 0 0 0 1.21-0.31l0.36-0.46a2 2 0 0 1 1.6-0.8h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-18-18 2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-0.8 1.6l-0.47 0.35a1 1 0 0 0-0.29 1.23 14 14 0 0 0 6.39 6.39",_8="M2 12a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m12 0a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m-8 4l12 0",O8="M16 13l5.22 3.48a0.5 0.5 0 0 0 0.78-0.41v-8.2a0.5 0.5 0 0 0-0.75-0.43l-5.25 3.06m-12-4.5h10a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2z",L8="M10.66 6h3.34a2 2 0 0 1 2 2v2.5l5.25-3.06a0.5 0.5 0 0 1 0.75 0.43v8.2m-6-0.07a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2m-4-4l20 20",j8="M12 19v3m7-12v2a7 7 0 0 1-14 0v-2m7-8h0a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h0a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3z",H8="M12 19v3m3-12.66v-4.34a3 3 0 0 0-5.68-1.33m7.63 13.28a7 7 0 0 1-11.95-4.95v-2m13.89 3.23a7 7 0 0 0 0.11-1.23v-2m-17-8l20 20m-13-13v3a3 3 0 0 0 5.12 2.12",U8="M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",B8="M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-5z m0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3z m0 5v2a4 4 0 0 1-4 4h-5",q8="M11 5.5a13 13 0 0 0 8.4-2.8 1 1 0 0 1 1.6 0.8v12a1 1 0 0 1-1.6 0.8 13 13 0 0 0-8.4-2.8h-6a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z m-5 8a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4 8 8 0 0 1-1.6-4.8m-2-8v8",V8="M8.8 20.58v-4.1l1.9 0.2a2.3 2.3 0 0 0 2.17-2.1v-5.7a5.37 5.37 0 0 0-10.87-0.05c0 2.8 0.66 3.05 1 4.55a5.77 5.77 0 0 1 0.03 2.76l-1.03 4.44m17.8-2.2a7.5 7.5 0 0 0 0-10.6m-2.8 7.8a3.5 3.5 0 0 0-0.02-4.98",G8="M4 11a9 9 0 0 1 9 9m-9-16a16 16 0 0 1 16 16m-16-1a1 1 0 1 0 2 0 1 1 0 1 0-2 0z",Y8="M4 9l16 0m-16 6l16 0m-10-12l-2 18m8-18l-2 18",X8="M15 13a3 3 0 1 0-6 0m-5 6.5v-15a2.5 2.5 0 0 1 2.5-2.5h12.5a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1h-12.5a1 1 0 0 1 0-5h13.5m-10-9a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",K8="M15 10v-1m1.47 6a6 6 0 0 1-8.94 0m1.47-5v-1m-7 3a10 10 0 1 0 20 0 10 10 0 1 0-20 0z",Q8="M15 10v-1m-6 1v-1m0 7a5 5 0 0 1 6 0m-13-4a10 10 0 1 0 20 0 10 10 0 1 0-20 0z",Z8="M15 10v-1m-7 7h8m-7-6v-1m-7 3a10 10 0 1 0 20 0 10 10 0 1 0-20 0z",F8="M15 10v-1m-7.92 5.3a5.12 5.12 0 0 0 9.84 0 0.24 0.24 0 0 0-0.24-0.3h-9.36a0.24 0.24 0 0 0-0.24 0.3m1.92-4.3v-1m-7 3a10 10 0 1 0 20 0 10 10 0 1 0-20 0z",I8="M13.27 2.08a10 10 0 1 0 8.65 8.65m-6.92-0.73v-1m1-4h6m-5.53 10a6 6 0 0 1-8.94 0m11.47-13v6m-10 2v-1",J8="M15 12v-1.58m2-0.42a5 5 0 0 0-3 1m-7-1a5 5 0 0 1 3 1m-1 1v-1.58m0 6.58a5 5 0 0 1 6 0m-13-5a10 10 0 1 0 20 0 10 10 0 1 0-20 0z",P8="M5 8l6 6m-7 0l6-6 2-3m-10 0h12m-7-3h1m14 20l-5-10-5 10m2-4h6",$8="M19.41 13.91c1.59-1.59 2.59-2.91 2.59-4.91a5.5 5.5 0 0 0-9.59-3.68 0.6 0.6 0 0 1-0.82 0.01 5.5 5.5 0 0 0-9.59 3.67c0 2.3 1.5 4 3 5.5l5.54 5.36a2 2 0 0 0 2.87 0.05 2.12 2.12 0 0 0 0-3 2.12 2.12 0 1 0 3-3 2.12 2.12 0 0 0 3 0 2 2 0 0 0 0-2.82l-1.88-1.89a2.41 2.41 0 0 0-3.41 0l-1.71 1.71a2 2 0 0 1-2.82 0 2 2 0 0 1 0-2.82l2.82-2.77",W8="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-10 1h-2m8 4h-8m8 4h-8",ey="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-11 7h6m-3 3v-6",ty="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-11 7h6",ay="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-11 7l2 2 4-4",ny="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-5.5 4.5l-5 5m0-5l5 5",ly="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-11 6.5a2.5 2.5 0 1 0 5 0 2.5 2.5 0 1 0-5 0z m4.3 1.8l1.7 1.7",iy="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-10 4.5l-2 2.5 2 2.5m4-5l2 2.5-2 2.5",oy="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-12 4a2 2 0 1 0 4 0 2 2 0 1 0-4 0z m12 5l-1.3-1.3a2.41 2.41 0 0 0-3.4 0l-6.3 6.3",ry="M4.5 12v-8a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.71 0.71l3.58 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2m-4-20v5a1 1 0 0 0 1 1h5m-10 9.84l3.03-1.75a0.64 0.64 0 0 1 0.97 0.56v4.7a0.65 0.65 0 0 1-0.97 0.56l-3.03-1.75m-6-4.16h5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",cy="M11.65 22h6.35a2 2 0 0 0 2-2v-12a2.4 2.4 0 0 0-0.71-1.71l-3.58-3.58a2.4 2.4 0 0 0-1.71-0.71h-8a2 2 0 0 0-2 2v10.35m10-12.35v5a1 1 0 0 0 1 1h5m-12 12v-7l3 1.47m-7 5.53a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",sy="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-12 5h2m4 0h2m-8 4h2m4 0h2",uy="M13.66 22h4.34a2 2 0 0 0 2-2v-12a2.4 2.4 0 0 0-0.71-1.71l-3.58-3.58a2.4 2.4 0 0 0-1.71-0.71h-8a2 2 0 0 0-2 2v11.5m10-13.5v5a1 1 0 0 0 1 1h5m-12 4v-1m0 7v-2m0-9v-1m-2 14a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",dy="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-8 10v-6m-3 3l3 3 3-3",my="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-8 4v6m3-3l-3-3-3 3",fy="M13.36 13.63a2 2 0 0 0-0.5 0.86l-0.84 2.87a0.5 0.5 0 0 0 0.62 0.62l2.87-0.84a2 2 0 0 0 0.85-0.5l4.02-4.01a1 1 0 0 0-3.01-3.01z m0.13-5.77a1 1 0 0 1-0.49-0.86v-5m6 17.65v0.35a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l2.52 2.51m-10.22 12.78h1",hy="M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-7m-4.29-5.29a2.4 2.4 0 0 0-1.71-0.71v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-0.71-1.71z m-11.71 4.29a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.73-1",vy="M6 14.5l1.5-2.9a2 2 0 0 1 1.74-1.1h10.76a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5h-14.45a2 2 0 0 1-2-2v-13a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69 0.9l0.81 1.2a2 2 0 0 0 1.67 0.9h5.93a2 2 0 0 1 2 2v2",py="M12 10.5v6m-3-3h6m5 7a2 2 0 0 0 2-2v-10a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-0.9l-0.81-1.2a2 2 0 0 0-1.67-0.9h-3.93a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z",gy="M20 10a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-0.8-0.4l-0.9-1.2a1 1 0 0 0-0.8-0.4h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1z m0 11a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-0.88-0.55l-0.42-0.85a1 1 0 0 0-0.92-0.6h-1.88a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1z m-17-16a2 2 0 0 0 2 2h3m-5-4v13a2 2 0 0 0 2 2h3",by="M15 16.5h6a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1z m-5 3h-6a2 2 0 0 1-2-2v-13a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69 0.9l0.81 1.2a2 2 0 0 0 1.67 0.9h7.93a2 2 0 0 1 2 2v2.5m-2 6.5v-2a2 2 0 1 0-4 0v2",yy="M9 2h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1z m7 2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h2",xy="M9 2h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1z m7 2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h2m1 10l2 2 4-4",Ny="M9 2h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1z m7 2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h2m4 7h4m-4 5h4m-8-5h0.01m-0.01 5h0.01",zy="M3 6h4m-4 4h4m-4 4h4m-4 4h4m0-16h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2z m10 0v20",Sy="M13.4 2h-7.4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4m-18-6.6h4m-4 4h4m-4 4h4m-4 4h4m15.38-12.37a1 1 0 1 0-3.01-3.01l-5.01 5.01a2 2 0 0 0-0.5 0.86l-0.84 2.87a0.5 0.5 0 0 0 0.62 0.62l2.87-0.84a2 2 0 0 0 0.85-0.5z",My="M12 5v16m8-2a2 2 0 0 0 2-2v-12a2 2 0 0 0-2-2l-4 0a5 5 0 0 0-4 2 5 5 0 0 0-4-2h-4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4a5 5 0 0 1 4 2 5 5 0 0 1 4-2z",ky="M16 6l4 14m-8-14v14m-4-12v12m-4-16v16",wy="M15 12h-5m5-4h-5m9 9v-12a2 2 0 0 0-2-2h-13m4 18h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1h-10a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0v-14a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",Cy="M15 18h-5m8-4h-8m-6 8h16a2 2 0 0 0 2-2v-16a2 2 0 0 0-2-2h-12a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2m5-3h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1z",Ty="M21 9a2.4 2.4 0 0 0-0.71-1.71l-3.58-3.58a2.4 2.4 0 0 0-1.71-0.71h-10a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z m-6-6v5a1 1 0 0 0 1 1h5",Ry="M6 18h-2a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2m-12-9v-6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6m-11 5h10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-10a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1z",Ey="M10 16h0.01m-7.8-4.42a2 2 0 0 0-0.21 0.89v5.53a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.53a2 2 0 0 0-0.21-0.89l-3.24-6.47a2 2 0 0 0-1.79-1.11h-9.52a2 2 0 0 0-1.79 1.11z m19.74 0.43h-19.9m3.95 3.99h0.01",Ay="M17.5 19h-8.5a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9z",Dy="M12 13v8m-8-6.1a7 7 0 1 1 11.71-6.9h1.79a4.5 4.5 0 0 1 2.5 8.24m-12 0.76l4-4 4 4",_y="M12 13v8l-4-4m4 4l4-4m-11.61-1.73a7 7 0 1 1 11.32-7.27h1.79a4.5 4.5 0 0 1 2.43 8.28",Oy="M10.94 5.27a7 7 0 0 1 4.77 4.73h1.79a4.5 4.5 0 0 1 4.22 6.06m-2.92 2.75a4.5 4.5 0 0 1-1.3 0.19h-8.5a7 7 0 0 1-3.21-13.22m-3.79-3.78l20 20",Ly="M21 17.5l-2.16-1.87a0.5 0.5 0 0 0-0.84 0.37v0.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.54-3.99-3.97-8.5-4a1 1 0 0 0 0 5c4.15 0 4.75-11.29 5.71-13.5a2.5 2.5 0 1 1 3.31 3.28m-11.52 14.22h18",jy="M13.5 22h5a2 2 0 0 0 2-2v-12a2.4 2.4 0 0 0-0.71-1.71l-3.58-3.58a2.4 2.4 0 0 0-1.71-0.71h-8a2 2 0 0 0-2 2v3.3m10-5.3v5a1 1 0 0 0 1 1h5m-12.31 8.48l1.29 4.88a0.5 0.5 0 0 1-0.7 0.59l-1.84-0.85a1 1 0 0 0-0.88 0l-1.85 0.85a0.5 0.5 0 0 1-0.69-0.59l1.29-4.88m-1.31-2.48a3 3 0 1 0 6 0 3 3 0 1 0-6 0z",Hy="M18 13l-0.66-4.74a4 4 0 0 0-2.75-3.26l-9.17-2.9a2 2 0 0 0-2.01 0.49l-0.82 0.82a2 2 0 0 0-0.49 2.01l2.9 9.17a4 4 0 0 0 3.26 2.75l4.74 0.66m5.65-5.65a1.21 1.21 0 0 1 1.7 0l1.3 1.3a1.21 1.21 0 0 1 0 1.7l-6.3 6.3a1.21 1.21 0 0 1-1.7 0l-1.3-1.3a1.21 1.21 0 0 1 0-1.7z m-15.65-9.35l6.58 6.58m-0.58 1.42a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",Uy="M13 21h8m0.17-14.19a1 1 0 0 0-3.98-3.98l-13.35 13.34a2 2 0 0 0-0.5 0.83l-1.32 4.36a0.5 0.5 0 0 0 0.62 0.62l4.36-1.32a2 2 0 0 0 0.83-0.5z",By="M21 21h-13a2 2 0 0 1-1.42-0.59l-3.99-4a2 2 0 0 1 0-2.82l10-10a2 2 0 0 1 2.83 0l5.99 6a2 2 0 0 1 0 2.82l-8.58 8.59m-7.75-9.91l8.83 8.83",qy="M8.5 11l-6 6v3h9l3-3m7-5l-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8l4.6-4.6",Vy="M12 4v16m-8-13v-2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2m-11 13h6",Gy="M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2h-1m7-12h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7m-8 0h-1a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1m1-4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1m-3 2v12",Yy="M15 17l2.54-7.33a1.02 1.02 0 0 1 1.92 0l2.54 7.33m-6.3-2h5.6m-19.3 2l4.04-9.69a0.5 0.5 0 0 1 0.92 0l4.04 9.69m-7.7-3h6.4",Xy="M16 4h-7a3 3 0 0 0-2.83 4m7.83 4a4 4 0 0 1 0 8h-8m-2-8l16 0",Ky="M21 5h-18m12 7h-12m14 7h-14",Qy="M21 5h-18m14 7h-10m12 7h-14",Zy="M21 5h-18m18 7h-12m12 7h-14",Fy="M3 5h18m-18 7h18m-18 7h18",Iy="M21 5h-10m10 7h-10m10 7h-10m-8-11l4 4-4 4",Jy="M21 5h-10m10 7h-10m10 7h-10m-4-11l-4 4 4 4",Py="M4 12h8m-8 6v-12m8 12v-12m5 6l3-2v8",$y="M3.5 12h8m-8 6v-12m8 12v-12m9 12h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",Wy="M3.5 11.91h8m-8 6v-12m8 12v-12m5.5 4.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2m-2 3.5c2 1.5 4 0.3 4-1.5a2 2 0 0 0-2-2",e9="M13 4v16m4-16v16m2-16h-9.5a4.5 4.5 0 0 0 0 9h3.5",t9="M18 16l4-4-4-4m-12 0l-4 4 4 4m8.5-12l-5 16",a9="M8 3h-1a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1 0.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1 0.9-2 2-2a2 2 0 0 1-2-2v-5a2 2 0 0 0-2-2h-1",n9="M16 3h3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-3m-8 0h-3a1 1 0 0 1-1-1v-16a1 1 0 0 1 1-1h3",l9="M21.64 3.64l-1.28-1.28a1.21 1.21 0 0 0-1.72 0l-16.28 16.28a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0l16.28-16.28a1.2 1.2 0 0 0 0-1.72m-7.64 3.36l3 3m-12-4v4m14 4v4m-9-16v2m-3 4h-4m18 8h-4m-6-13h-2",i9="M6 2v14a2 2 0 0 0 2 2h14m-4 4v-14a2 2 0 0 0-2-2h-14",o9="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l0.3 0.4a1.75 1.75 0 0 1-1.4 2.8z m1-15.5a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m4 4a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m-11 2a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m2-5a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z",r9="M11.99 9.01l-8.41 8.41a2 2 0 0 0-0.59 1.42v1.34a2 2 0 0 1-0.59 1.42 2 2 0 0 1 1.42-0.59h1.34a2 2 0 0 0 1.42-0.59l8.41-8.41m3-3l0.4 0.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l0.4 0.4 3.4-3.4a1 1 0 1 1 3 3z m-16 13l0.41-0.41",c9="M14.62 17.91l-10.68-2.91m14.44-12.36a1 1 0 1 1 3 3l-4.02 4.02a0.5 0.5 0 0 0 0 0.71l0.94 0.94a2.41 2.41 0 0 1 0 3.41l-0.94 0.94a0.5 0.5 0 0 1-0.71 0l-8.3-8.29a0.5 0.5 0 0 1 0-0.71l0.95-0.95a2.41 2.41 0 0 1 3.41 0l0.94 0.95a0.5 0.5 0 0 0 0.71 0z m-9.38 5.38c-1.8 2.71-3.97 3.46-6.58 3.95a0.51 0.51 0 0 0-0.31 0.81l7.32 8.89a1 1 0 0 0 1.19 0.2c2.11-1.45 5.38-5.06 5.38-6.85",s9="M11 10.5l3 3m-7.5 8a3.5 3.5 0 1 0-3.5-3.5 2.62 2.62 0 0 1-0.71 1.79 1 1 0 0 0 0.71 1.71z m3.47-3.97l11.41-11.41a1 1 0 0 0-3-3l-11.41 11.41",u9="M20 14.75l-5.5 5.5-2.5-2.5m-8-2l6-12 5.12 10.23m-9.12-2.23h8",d9="M2 17l4.04-9.69a0.5 0.5 0 0 1 0.92 0l4.04 9.69m11-7v7m-18.7-3h6.4m5.3-0.5a3.5 3.5 0 1 0 7 0 3.5 3.5 0 1 0-7 0z",m9="M12 3v18m-7-18h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m-2 6h18m-18 6h18",f9="M3 9h18m-12-6v18m-4-18h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z",h9="M18 7v-2a1 1 0 0 0-1-1h-10.5a0.5 0.5 0 0 0-0.4 0.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a0.5 0.5 0 0 0 0.4 0.8h10.5a1 1 0 0 0 1-1v-2",v9="M17 5h-14m18 7h-13m13 7h-13m-5-7v7",p9="M4 20h16m-14-4l6-12 6 12m-10-4h8",g9="M15.5 5.5h6m-3-3v6m2 3.5v7.5a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h7.5m8.5 12l-3.09-3.09a2 2 0 0 0-2.82 0l-9.09 9.09m1-12a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",b9="M22 11l-1.3-1.3a2.4 2.4 0 0 0-3.4 0l-6.3 6.3m-7-8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2m-4-13a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m-2-5h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-10a2 2 0 0 1 2-2z",y9="M14 4a2 2 0 0 1 1.76 1.05l0.48 0.9a2 2 0 0 0 1.76 1.05h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2a2 2 0 0 0 1.76-1.05l0.49-0.9a2 2 0 0 1 1.75-1.05z m-5 9a3 3 0 1 0 6 0 3 3 0 1 0-6 0z",x9="M14.56 14.56a3 3 0 1 1-4.12-4.12m-8.44-8.44l20 20m-2-2h-16a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2a2 2 0 0 0 0.82-0.17m2.88-2.81a2 2 0 0 1 0.3-0.02h4a2 2 0 0 1 1.76 1.05l0.48 0.9a2 2 0 0 0 1.76 1.05h2a2 2 0 0 1 2 2v7.34",N9="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m2 0v18m-4-13.5h4m-4 4.5h18m-18 4.5h4m10-13.5v18m0-13.5h4m-4 9h4",z9="M12.78 3.95l3.02 3.96m4.89-1.42l-17.2 5-0.9-2.4c-0.3-1.1 0.3-2.2 1.3-2.5l13.5-4c1.1-0.3 2.2 0.3 2.5 1.3z m-17.2 5h18v8a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2z m3.18-5.73l3.1 3.9",S9="M21 16v-13a1 1 0 0 0-1.28-0.96l-10 2.92a1 1 0 0 0-0.72 0.96v13.08m6-3a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-12 3a3 3 0 1 0 6 0 3 3 0 1 0-6 0z",M9="M19 6l-5.2-3.9a0.5 0.5 0 0 0-0.8 0.4v15.5m-8 0a4 4 0 1 0 8 0 4 4 0 1 0-8 0z",k9="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m4 0c0-1.7 0.7-3.2 1.8-4.2m2.2 4.2a2 2 0 1 0 4 0 2 2 0 1 0-4 0z m8 0c0 1.7-0.7 3.2-1.8 4.2",w9="M16.5 4.7a0.7 0.7 0 0 0-1.2-0.5l-3.39 3.39a1.4 1.4 0 0 1-0.99 0.41h-2.42a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.42a1.4 1.4 0 0 1 0.99 0.41l3.39 3.39a0.7 0.7 0 0 0 1.2-0.5z",C9="M13.5 4.7a0.7 0.7 0 0 0-1.2-0.5l-3.39 3.39a1.4 1.4 0 0 1-0.99 0.41h-2.42a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.42a1.4 1.4 0 0 1 0.99 0.41l3.39 3.39a0.7 0.7 0 0 0 1.2-0.5z m5 4.3a5 5 0 0 1 0 6",T9="M11 4.7a0.7 0.7 0 0 0-1.2-0.5l-3.39 3.39a1.4 1.4 0 0 1-0.99 0.41h-2.42a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.42a1.4 1.4 0 0 1 0.99 0.41l3.39 3.39a0.7 0.7 0 0 0 1.2-0.5z m5 4.3a5 5 0 0 1 0 6m3.36 3.36a9 9 0 0 0 0-12.73",R9="M11.25 4.7a0.7 0.7 0 0 0-1.2-0.5l-3.39 3.39a1.4 1.4 0 0 1-0.99 0.41h-2.42a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.42a1.4 1.4 0 0 1 0.99 0.41l3.39 3.39a0.7 0.7 0 0 0 1.2-0.5z m5.5 9.8l5-5m-5 0l5 5",E9="M9 9a1 1 0 0 1 1.52-0.86l4.99 3a1 1 0 0 1 0 1.72l-4.99 3a1 1 0 0 1-1.52-0.86z m-7 3a10 10 0 1 0 20 0 10 10 0 1 0-20 0z",A9="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m8 3l0-6m4 6l0-6",D9="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m8-3h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",_9="M17.97 4.28a2 2 0 0 1 3.03 1.72v12a2 2 0 0 1-3.03 1.71l-10-5.99a2 2 0 0 1 0-3.44z m-14.97 15.72v-16",O9="M21 4v16m-14.97-15.71a2 2 0 0 0-3.03 1.71v12a2 2 0 0 0 3.03 1.71l10-5.99a2 2 0 0 0 0-3.44z",L9="M12 6a2 2 0 0 0-3.41-1.41l-6 6a2 2 0 0 0 0 2.82l6 6a2 2 0 0 0 3.41-1.41z m10 0a2 2 0 0 0-3.41-1.41l-6 6a2 2 0 0 0 0 2.82l6 6a2 2 0 0 0 3.41-1.41z",j9="M12 6a2 2 0 0 1 3.41-1.41l6 6a2 2 0 0 1 0 2.82l-6 6a2 2 0 0 1-3.41-1.41z m-10 0a2 2 0 0 1 3.41-1.41l6 6a2 2 0 0 1 0 2.82l-6 6a2 2 0 0 1-3.41-1.41z",H9="M10.09 7.58l-5.99 8.19a1 1 0 0 0 0.1 1.3l0.82 0.82a1 1 0 0 0 1.31 0.09l7.85-6m1.41 9.18c-1-0.67-2.13-1.17-3.5-1.18-2.06 0-3.93 2.36-6 2-2.07-0.36-2.78-3.37-1.5-4.5m5.5-10.5a5 5 0 1 0 10 0 5 5 0 1 0-10 0z",U9="M16.25 7.76a6 6 0 0 1 0 8.48m2.82-11.31a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14m2.82 11.31a6 6 0 0 1 0-8.48m2.25 4.24a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",B9="M17 2l-5 5-5-5m-3 5h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2z",q9="M2 8v-2a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6m-12-8a9 9 0 0 1 8 8m-8-4a5 5 0 0 1 4 4m-4 0l0.01 0",V9="M5 17h-1a2 2 0 0 1-2-2v-10a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1m-7-2l5 6h-10z",G9="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m12.31-4l5.74 9.94m-10.36-9.94h11.48m-13.79 4l5.74-9.94m-3.43 13.94l-5.74-9.94m10.36 9.94h-11.48m13.79-4l-5.74 9.94",Y9="M9 12a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-6-5v-2a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2m-10 0h-2a2 2 0 0 1-2-2v-2",X9="M2 3v18m6-18h8a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m14 0v18",K9="M5 5h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-10a2 2 0 0 1 2-2z m2 10h4m4 0h2m-10-4h2m4 0h4",Q9="M2 10v3m4-7v11m4-14v18m4-13v7m4-10v13m4-8v3",Z9="M16 5h-13m8 7h-8m8 7h-8m18-3v-11m-6 11a3 3 0 1 0 6 0 3 3 0 1 0-6 0z",F9="M18 4.5a2 2 0 0 1 2 2v8.53a2 2 0 0 0 0.21 0.89l1.07 2.13a1 1 0 0 1-0.9 1.45h-16.76a1 1 0 0 1-0.9-1.45l1.07-2.13a2 2 0 0 0 0.21-0.89v-8.53a2 2 0 0 1 2-2z m2.05 10.99h-16.1",I9="M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2z m5 16h0.01",J9="M6 2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2z m6 16l0.01 0",P9="M12 10.02v2.2l1.6 1m2.53-5.54l-0.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-0.78 4.05m0.02 8.7l0.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l0.81-4.05m-10.21-4.31a6 6 0 1 0 12 0 6 6 0 1 0-12 0z",$9="M10 8h0.01m1.99 4h0.01m1.99-4h0.01m1.99 4h0.01m1.99-4h0.01m-12.01 0h0.01m0.99 8h10m-9-4h0.01m-4.01-8h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-12a2 2 0 0 1 2-2z",W9="M12 2h0a7 7 0 0 1 7 7v6a7 7 0 0 1-7 7h0a7 7 0 0 1-7-7v-6a7 7 0 0 1 7-7z m0 4v4",ex="M12 19.5h0.01m-10.01-11.18a15 15 0 0 1 20 0m-17 4.04a10 10 0 0 1 14 0m-10.5 3.57a5 5 0 0 1 7 0",tx="M12 20h0.01m-3.51-3.57a5 5 0 0 1 7 0m-10.5-3.57a10 10 0 0 1 5.17-2.69m8.83 2.69a10 10 0 0 0-2.01-1.52m-14.99-2.52a15 15 0 0 1 4.18-2.64m15.82 2.64a15 15 0 0 0-11.29-3.76m-8.71-3.06l20 20",ax="M7 7l10 10-5 5v-20l5 5-10 10",nx="M22 14l0-4m-18-4h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2z",lx="M11 7l-3 5h4l-3 5m5.86-11h1.14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.94m8.94-4v-4m-16.86 8h-1.14a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.94",ix="M22 14v-4m-16 4v-4m-2-4h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2z",ox="M10 10v4m4-4v4m8 0v-4m-16 0v4m-2-8h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2z",rx="M12 22v-5m3-9v-6m2 6a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4v-4a1 1 0 0 1 1-1z m-8 0v-6",cx="M9 7a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m-6 13a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m1.7-0.7l14.3-14.3m2-2l-3 1 2 2z m-11.74 4.68l-4.26 4.32 2 5m3-3l5 2 3.5-3.5m-0.5-0.5l1-1 1 1-1 1z",sx="M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z m0 2v-2m2-5v-7.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0v-7.5m16 11v-2m-18-14v-2m1 7a2 2 0 0 1-2-2v-2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z m3-5v-2",ux="M4 14h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z m2.01 4h-0.01m4.01 0h-0.01m5-8v4m2.84-6.83a4 4 0 0 0-5.66 0m8.48-2.83a8 8 0 0 0-11.31 0",dx="M12 12v-2m0 8v-2m4-4v-2m0 8v-2m-14-5h1.5m16.5 7v-2m0.5-5h1.5m-18 7v-2m4-4v-2m0 8v-2m-4-10h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2z",mx="M6 11l4 0m-2-2l0 4m7-1l0.01 0m2.99-2l0.01 0m-0.69-5h-10.64a4 4 0 0 0-3.98 3.59c-0.01 0.05-0.01 0.1-0.02 0.15-0.08 0.67-0.68 5.71-0.68 7.26a3 3 0 0 0 3 3c1 0 1.5-0.5 2-1l1.41-1.41a2 2 0 0 1 1.42-0.59h4.34a2 2 0 0 1 1.42 0.59l1.41 1.41c0.5 0.5 1 1 2 1a3 3 0 0 0 3-3c0-1.54-0.6-6.58-0.68-7.26-0.01-0.05-0.01-0.1-0.02-0.15a4 4 0 0 0-3.98-3.59z",fx="M18 7v-2a2 2 0 0 0-2-2h-12a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8m-2 4v-3.96 3.15m-3 0.81h5m6-7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2z",hx="M18 12a6 6 0 0 0-6-6m-9.17 4.46a8 8 0 0 0 10.71 10.71c0.56-0.28 0.62-1.01 0.19-1.45l-9.45-9.45c-0.44-0.44-1.18-0.38-1.45 0.19m19.17 1.54a10 10 0 0 0-10-10m-3 13l4-4",vx="M2 20h0.01m4.99 0v-4m5 4v-8m5 8v-12m5-4v16",px="M2 12l5-10m0 10l5-10m0 10l5-10m0 10l5-10m-17.5 5h15m-7.5 9v6",gx="M5.49 8.32a7.43 7.43 0 0 1 0 7.36m3.46-9.47a11.76 11.76 0 0 1 0 11.58m3.45-13.69a15.91 15.91 0 0 1 0.01 15.8m3.45-17.9a20.16 20.16 0 0 1 0 20",bx="M18.36 6.61a9 9 0 0 1 2.41 8.36m-14.61-8.84a9 9 0 1 0 12.68 12.68m-6.84-16.84v4m-10-4l20 20",yx="M13.5 22h-6.5a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v0.5m-2 3.5l2 2 4-4m-16 1h-2a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v2m-16-4v-6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",xx="M6 2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2z m6 4h0.01m-4.01 8a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m4 0h0.01",Nx="M4 10a8 8 0 1 0 16 0 8 8 0 1 0-16 0z m5 0a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-2 12h10m-5 0v-4",zx="M12 20.5v-9m2-4a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z m0.12-3.12l1.88-1.88m5 19a4 4 0 0 0-3.81-4m3.81-12a4 4 0 0 1-3.55 3.97m4.55 4.03h-4m-15 8a4 4 0 0 1 3.81-4m-3.81-12a4 4 0 0 0 3.55 3.97m-0.55 4.03h-4m6-11l1.88 1.88m-0.88 3.25v-1.13a3 3 0 1 1 6 0v1.13",Sx="M15 18a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-12-12a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m10 0h3a2 2 0 0 1 2 2v7m-12-6l0 12",Mx="M9 12a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-6 0l6 0m6 0l6 0",kx="M15 18a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-12-12a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m3 15v-12a9 9 0 0 0 9 9",wx="M9 18a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-6-12a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m12 0a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m3 3v2c0 0.6-0.4 1-1 1h-10c-0.6 0-1-0.4-1-1v-2m6 3v3",Cx="M15 18a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-12-12a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m10 0h3a2 2 0 0 1 2 2v7m-7 3h-3a2 2 0 0 1-2-2v-7",Tx="M15.39 4.39a1 1 0 0 0 1.68-0.47 2.5 2.5 0 1 1 3.01 3.01 1 1 0 0 0-0.47 1.68l1.68 1.68a2.41 2.41 0 0 1 0 3.42l-1.68 1.68a1 1 0 0 1-1.68-0.47 2.5 2.5 0 1 0-3.01 3.01 1 1 0 0 1 0.47 1.68l-1.68 1.68a2.41 2.41 0 0 1-3.42 0l-1.68-1.68a1 1 0 0 0-1.68 0.47 2.5 2.5 0 1 1-3.01-3.01 1 1 0 0 0 0.47-1.68l-1.68-1.68a2.41 2.41 0 0 1 0-3.42l1.68-1.68a1 1 0 0 1 1.68 0.47 2.5 2.5 0 1 0 3.01-3.01 1 1 0 0 1-0.47-1.68l1.68-1.68a2.41 2.41 0 0 1 3.42 0z",Rx="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a0.25 0.25 0 0 1-0.48 0l-5.52-19.64a0.25 0.25 0 0 0-0.48 0l-2.35 8.36a2 2 0 0 1-1.92 1.46h-2.49",Ex="M12 14.5l4-4m-12.66 9a10 10 0 1 1 17.32 0",Ax="M17 16h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z m-14 0h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z m7-14h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z m-5 14v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3m-7-4v-4",Dx="M5 3h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z m2 8v4a2 2 0 0 0 2 2h4m2-4h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z",_x="M10 22v-15a1 1 0 0 0-1-1h-5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1h-15m13-12h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1z",Ox="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4a2 2 0 0 0-1 1.73v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4a2 2 0 0 0 1-1.73z m-17.7-1l8.7 5 8.7-5m-8.7 15v-10",Lx="M2.97 12.92a2 2 0 0 0-0.97 1.71v3.24a2 2 0 0 0 0.97 1.71l3 1.8a2 2 0 0 0 2.06 0l3.97-2.38v-5.5l-5-3-4.03 2.42z m4.03 3.58l-4.74-2.85m4.74 2.85l5-3m-5 3v5.17m5-8.17v5.5l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 0.97-1.71v-3.24a2 2 0 0 0-0.97-1.71l-4.03-2.42-5 3z m5 3l-5-3m5 3l4.74-2.85m-4.74 2.85v5.17m-9.03-17.25a2 2 0 0 0-0.97 1.71v4.37l5 3 5-3v-4.37a2 2 0 0 0-0.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8z m4.03 3.58l-4.74-2.85m4.74 2.85l4.74-2.85m-4.74 8.35v-5.5",jx="M22 7.7c0-0.6-0.4-1.2-0.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-0.5 0.2-0.9 0.8-0.9 1.4v6.6c0 0.5 0.4 1.2 0.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c0.5-0.3 0.9-1 0.9-1.5z m-12 14.2v-7.9l-7.9-4.9m7.9 4.9l11.9-6.9m-7.9 12.7v-8.1m4 5.8v-8.1",Hx="M10.88 19.92l-0.38 0.92m2.68-6.46l0.38-0.93m-0.38 6.47a3 3 0 1 0-2.3-5.54l-0.38-0.93m3.06 7.39l-0.38-0.92a3 3 0 1 1-2.3-5.54m3.92 1.62l0.92-0.38m-0.92 2.68l0.92 0.38m-11.49-3.43a7 7 0 1 1 9.93-9.86 7 7 0 0 1 1.58 2.76h1.79a4.5 4.5 0 0 1 2.5 8.2m-10.77-0.35l-0.93-0.38m0.93 2.68l-0.93 0.38",Ux="M8 21s-4-3-4-9 4-9 4-9m8 0s4 3 4 9-4 9-4 9m-1-12l-6 6m0-6l6 6",Bx="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m4 14c2 0 2.8-1 2.8-2.8v-4.2c0-2 1-3.3 3.2-3m-6 4.2h5.7",qx="M16.84 3v10m-4.33-7.5l8.65 5m-8.65 0l8.65-5m-12.32 11.5a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z",Vx="M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5-1.4 0-2.5-1.1-2.5-2.5v-17.5m-1 0h7m-1 14h-5",Gx="M14 2v6a2 2 0 0 0 0.25 0.96l5.51 10.08a2 2 0 0 1-1.76 2.96h-12a2 2 0 0 1-1.75-2.96l5.51-10.08a2 2 0 0 0 0.24-0.96v-6m-3.55 13h11.1m-9.05-13h7",Yx="M11 12a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m9.2 8.2c2.04-2.03 0.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-0.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5z m-4.5-4.5c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-0.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36 0.02 11.9-4.5z",Xx="M12 18v-13m3 8a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4m8.71-6.7a3 3 0 1 0-5.71-1.3 3 3 0 1 0-5.71 1.3m11.71-1.17a4 4 0 0 1 2.52 5.77m-2.52 7.1a4 4 0 0 0 2-7.46m-0.03 6.94a4 4 0 1 1-7.97 0.52 4 4 0 1 1-7.97-0.52m1.97 0.52a4 4 0 0 1-2-7.46m2-5.41a4 4 0 0 0-2.52 5.77",Kx="M12.75 13h4m-4 5h6a2 2 0 0 1 2 2v1m-8-13h8m-8 1a4.17 4.17 0 0 1-3 4m7-5v-3a2 2 0 0 1 2-2m-12 15a4 4 0 0 1-2-7.46m2-5.41a4 4 0 0 0-2.52 5.77m2.81-4.6a3 3 0 1 1 5.71-1.3v13a4 4 0 1 1-7.97-0.51m11.47-4.49a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m2-10a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m2 18a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m0-13a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z",Qx="M11.02 2.81a1 1 0 0 1 1.96 0l1.05 5.56a2 2 0 0 0 1.6 1.6l5.56 1.05a1 1 0 0 1 0 1.96l-5.56 1.05a2 2 0 0 0-1.6 1.6l-1.05 5.56a1 1 0 0 1-1.96 0l-1.05-5.56a2 2 0 0 0-1.6-1.6l-5.56-1.05a1 1 0 0 1 0-1.96l5.56-1.05a2 2 0 0 0 1.6-1.6z m8.98-0.81v4m2-2h-4m-16 16a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",Zx="M12 6.5v-4h-4m7 9v2m-13-1h2m16 0h2m-2 4a2 2 0 0 1-2 2h-9.17a2 2 0 0 0-1.42 0.59l-2.2 2.2a0.71 0.71 0 0 1-1.21-0.5v-12.29a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2z m-11-5v2",Fx="M16 14h0a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h0a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2z m-8-10h0a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h0a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2z m-2 16h4m4-10h4m-12 4h2v6m6-16h2v6",Ix="M6 22a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.7 0.71l3.59 3.58a2.4 2.4 0 0 1 0.71 1.71v12a2 2 0 0 1-2 2z m8-20v5a1 1 0 0 0 1 1h5m-10 4a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1m4 0a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",Jx="M7 11l2-2-2-2m4 6h4m-10-10h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z",Px="M7.3 19.8a2.4 2.4 0 0 0 3.4 0l2.3-2.3-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4z m-4.3 1.7l3-3m2.5-5.5l2.5-2.5m0.5 5.5l2.5-2.5m5-11l-4 4h6l-4 4",$x="M11.75 15.25v5s3.03-0.55 4-2c1.08-1.62 0-5 0-5m-11.5 3.5c-1.5 1.26-2 5-2 5s3.74-0.5 5-2c0.71-0.84 0.7-2.13-0.09-2.91a2.18 2.18 0 0 0-2.91-0.09m4.5-4.5a22 22 0 0 1 2-3.95 12.88 12.88 0 0 1 11-6.05c0 2.72-0.78 7.5-6 11a22.4 22.4 0 0 1-4 2z m0 0h-5s0.55-3.03 2-4c1.62-1.08 5 0.05 5 0.05",Wx="M16 17h6v-6m0 6l-8.5-8.5-5 5-6.5-6.5",eN="M21.02 11.98c0.55 0 1-0.45 0.95-1a10 10 0 0 0-8.95-8.95c-0.55-0.05-1 0.4-1 0.95v8a1 1 0 0 0 1 1z m0.21 3.89a10 10 0 1 1-13.21-13.06",tN="M3 3v16a2 2 0 0 0 2 2h16m-2-12l-5 5-4-4-3 3",aN="M3 3v16a2 2 0 0 0 2 2h16m-3-4v-8m-5 8v-12m-5 12v-3",nN="M3 3v16a2 2 0 0 0 2 2h16m-14-5h8m-8-5h12m-12-5h3",lN="M3 3v16a2 2 0 0 0 2 2h16m-14-9.79a0.5 0.5 0 0 1 0.15-0.36l2-2a0.5 0.5 0 0 1 0.7 0l3.3 3.3a0.5 0.5 0 0 0 0.7 0l4.3-4.3a0.5 0.5 0 0 1 0.85 0.36v7.79a1 1 0 0 1-1 1h-10a1 1 0 0 1-1-1z",iN="M9 5v4m-1 0h2a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z m1 6v2m8-14v2m-1 0h2a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1z m1 8v3m-14-13v16a2 2 0 0 0 2 2h16",oN="M7 7.5a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m11-2a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m-7 6a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m-4 5a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m10-2a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z m-14-11.5v16a2 2 0 0 0 2 2h16",rN="M5 21v-6m7 6v-18m7 18v-12",cN="M3 3v16a2 2 0 0 0 2 2h16m-14-5c0.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7",sN="M2 3h20m-1 0v11a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-11m4 18l5-5 5 5",uN="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m4 0a6 6 0 1 0 12 0 6 6 0 1 0-12 0z m4 0a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",dN="M19 5l-14 14m-1-12.5a2.5 2.5 0 1 0 5 0 2.5 2.5 0 1 0-5 0z m11 11a2.5 2.5 0 1 0 5 0 2.5 2.5 0 1 0-5 0z",mN="M5 3v14m7-14v8m7-8v18",fN="M15 3v18m-10-18h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m16 6h-18m18 6h-18",hN="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m-2 6l18 0m-18 6l18 0m-12-6l0 12m6-12l0 12",vN="M8 2.5v3m8-3v3m-11-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m-2 6h18m-13 4h0.01m3.99 0h0.01m3.99 0h0.01m-8.01 4h0.01m3.99 0h0.01m3.99 0h0.01",pN="M8 2.5v3m8-3v3m-11-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m-2 6h18m-12 6l2 2 4-4",gN="M15.5 18.5h6m-6-16v3m3 10v6m2-9.5v-6.5a2 2 0 0 0-2-2h-14a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.3m-10.3-12h18m-13-7v3",bN="M8 2.5v3m8-3v3m-11-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m-2 6h18m-7 4l-4 4m0-4l4 4",yN="M15.5 14v2.2l1.6 1m-1.6-15.2v3m5 2.34v-2.34a2 2 0 0 0-2-2h-14a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2.34m-4.34-12h5.86m-0.86-7v3m2 11a6 6 0 1 0 12 0 6 6 0 1 0-12 0z",xN="M5 3.5h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2z m11-1v3m-13 4h18m-13-7v3m9 8h-6m2 4h-6m0-4h0.01m9.99 4h0.01",NN="M11.63 21.5h-7.13a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.12m-6.38 7.68a2.25 2.25 0 1 1 3.38-2.96 2.25 2.25 0 1 1 3.38 2.96l-2.62 2.86a1 1 0 0 1-1.51 0z m1.38-15.8v3m-13 4h18m-13-7v3",zN="M4 13a8 8 0 1 0 16 0 8 8 0 1 0-16 0z m8-4v4l2 2m-9-12l-3 3m20 0l-3-3m-12.62 15.7l-2.38 2.3m13.64-2.33l2.36 2.33",SN="M10 2l4 0m-2 12l3-3m-11 3a8 8 0 1 0 16 0 8 8 0 1 0-16 0z",MN="M10 2h4m-2 12v-4m-8 3a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14l-2.7-2.4m5-0.6h-5v5",kN="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74l-2.26 2.26m0-5v5h5m4-1v5l4 2",wN="M12 2v8m-7.07 0.93l1.41 1.41m-4.34 5.66h2m16 0h2m-2.93-7.07l-1.41 1.41m4.34 9.66h-20m6-16l4-4 4 4m0 12a4 4 0 0 0-8 0",CN="M12 10v-8m-7.07 8.93l1.41 1.41m-4.34 5.66h2m16 0h2m-2.93-7.07l-1.41 1.41m4.34 9.66h-20m14-16l-4 4-4-4m8 12a4 4 0 0 0-8 0",TN="M12.38 6v6l4 2m4-2v5m0 4h0.01m1.24-12.8a10 10 0 1 0-5.25 12.96",RN="M21.95 13a10 10 0 1 0-8.69 8.92m-1.26-15.92v6l4 2m0 5l2 2 4-4",EN="M16 10a4 4 0 0 1-8 0m-4.9-3.97h17.8m-17.5-0.56a2 2 0 0 0-0.4 1.2v13.33a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-13.33a2 2 0 0 0-0.4-1.2l-2-2.67a2 2 0 0 0-1.6-0.8h-10a2 2 0 0 0-1.6 0.8z",AN="M15 11l-1 9m5-9l-4-7m-13 7h20m-18.5 0l1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4m-16.1 4.5h15m-14.5-4.5l4-7m0 7l1 9",DN="M15 21.5v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5m8.77-10.69a1.12 1.12 0 0 0-1.55 0 2.5 2.5 0 0 1-3.45 0 1.12 1.12 0 0 0-1.55 0 2.5 2.5 0 0 1-3.45 0 1.12 1.12 0 0 0-1.55 0 2.5 2.5 0 0 1-3.77-3.25l2.89-4.18a2 2 0 0 1 1.66-0.88h10a2 2 0 0 1 1.65 0.87l2.9 4.2a2.5 2.5 0 0 1-3.78 3.24m-13.77 0.64v8.05a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",_N="M12 17v-10m4 1h-6a2 2 0 0 0 0 4h4a2 2 0 0 1 0 4h-6m-4-13a1 1 0 0 1 1-1 1.3 1.3 0 0 1 0.7 0.2l0.93 0.6a1.3 1.3 0 0 0 1.4 0l0.94-0.6a1.3 1.3 0 0 1 1.4 0l0.93 0.6a1.3 1.3 0 0 0 1.4 0l0.93-0.6a1.3 1.3 0 0 1 1.4 0l0.94 0.6a1.3 1.3 0 0 0 1.4 0l0.93-0.6a1.3 1.3 0 0 1 0.7-0.2 1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-0.7-0.2l-0.93-0.6a1.3 1.3 0 0 0-1.4 0l-0.94 0.6a1.3 1.3 0 0 1-1.4 0l-0.93-0.6a1.3 1.3 0 0 0-1.4 0l-0.93 0.6a1.3 1.3 0 0 1-1.4 0l-0.94-0.6a1.3 1.3 0 0 0-1.4 0l-0.93 0.6a1.3 1.3 0 0 1-0.7 0.2 1 1 0 0 1-1-1z",ON="M13 16h-5m6-8h-6m8 4h-8m-4-9a1 1 0 0 1 1-1 1.3 1.3 0 0 1 0.7 0.2l0.93 0.6a1.3 1.3 0 0 0 1.4 0l0.94-0.6a1.3 1.3 0 0 1 1.4 0l0.93 0.6a1.3 1.3 0 0 0 1.4 0l0.93-0.6a1.3 1.3 0 0 1 1.4 0l0.94 0.6a1.3 1.3 0 0 0 1.4 0l0.93-0.6a1.3 1.3 0 0 1 0.7-0.2 1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-0.7-0.2l-0.93-0.6a1.3 1.3 0 0 0-1.4 0l-0.94 0.6a1.3 1.3 0 0 1-1.4 0l-0.93-0.6a1.3 1.3 0 0 0-1.4 0l-0.93 0.6a1.3 1.3 0 0 1-1.4 0l-0.94-0.6a1.3 1.3 0 0 0-1.4 0l-0.93 0.6a1.3 1.3 0 0 1-0.7 0.2 1 1 0 0 1-1-1z",LN="M3.86 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76z m11.15 0.38l-6 6m0-6h0.01m5.99 6h0.01",jN="M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6v-2a2 2 0 0 0-2-2h-16a2 2 0 0 0-2 2z m11-4v2m0 10v2m0-8v2",HN="M12 7.5v14m8-10v8a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-8m3.5-4a1 1 0 0 1 0-5 8 4.8 90 0 1 4.5 5 8 4.8 90 0 1 4.5-5 1 1 0 0 1 0 5m-12.5 0h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-16a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1z",UN="M13.74 17.74a6 6 0 1 1-7.48-7.48m8.74-4.26h1v4m-9.87 4.77l0.87-0.5 2 3.46m1-9.73a6 6 0 1 0 12 0 6 6 0 1 0-12 0z",BN="M4 6h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2z m6 6a2 2 0 1 0 4 0 2 2 0 1 0-4 0z m-4 0h0.01m11.99 0h0.01",qN="M11 17.5h3v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a3.16 3.16 0 0 0 2-2h1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1a5 5 0 0 0-2-4v-3a4 4 0 0 0-3.2 1.6l-0.3 0.4h-3.5a6 6 0 0 0-6 6v1a5 5 0 0 0 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z m5-7h0.01m-14.01-2v1a2 2 0 0 0 2 2h1",VN="M10 18v-7m1.12-8.8a2 2 0 0 1 1.76 0l7.84 3.85a0.5 0.5 0 0 1-0.22 0.95h-17a0.5 0.5 0 0 1-0.22-0.95z m2.88 15.8v-7m4 7v-7m-15 11h18m-15-4v-7",GN="M10.99 15h2a2 2 0 1 0 0-4h-3c-0.6 0-1.1 0.2-1.4 0.6l-5.6 5.4m4 4l1.6-1.4c0.3-0.4 0.8-0.6 1.4-0.6h4c1.1 0 2.1-0.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9m-12.45 1.61l6 6m5.1-13a2.9 2.9 0 1 0 5.8 0 2.9 2.9 0 1 0-5.8 0z m-10.1-4a3 3 0 1 0 6 0 3 3 0 1 0-6 0z",YN="M4.5 10h12m-12 4h9m6-8a7.7 7.7 0 0 0-5.2-2 7.9 7.9 0 0 0-7.8 8c0 4.4 3.5 8 7.8 8 2 0 3.8-0.8 5.2-2",XN="M12 3v18m5-16h-7.5a1 1 0 0 0 0 7h5a1 1 0 0 1 0 7h-8.5",KN="M18 18a2 2 0 0 1-2 2h-10a3 3 0 0 0 3-3v-9a4 4 0 0 1 8 0m-10 4h7",QN="M10 10h7m-7 10v-15a1 1 0 0 1 1-1h7m-12 12h9",ZN="M12.17 19.24c4.92 0.87 6.14-6.03 1.21-6.89m-1.21 6.89l-5.91-1.04m5.91 1.04l-0.35 1.97m1.56-8.86c4.92 0.87 6.14-6.03 1.22-6.9m-1.22 6.9l-3.94-0.7m5.16-6.2l-5.91-1.04m5.91 1.04l0.35-1.97m-7.07 17.04l3.13-17.73",FN="M6 2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2z m2 4l8 0m0 8l0 4m0-8h0.01m-4.01 0h0.01m-4.01 0h0.01m3.99 4h0.01m-4.01 0h0.01m3.99 4h0.01m-4.01 0h0.01",IN="M12 3v18m7-13l3 8a5 5 0 0 1-6 0zv-1m-16 0h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1m-16 1l3 8a5 5 0 0 1-6 0zv-1m2 14h10",JN="M11 16.94l2 2a1 1 0 1 0 3-3m-2-2l2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-0.88 0.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-0.87l0.47 0.28a2 2 0 0 0 1.42 0.25l1.74-0.35m0-1l1 11h-2m-17-11l-1 11 6.5 6.5a1 1 0 1 0 3-3m-8.5-13.5h8",PN="M16 21v-16a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16m-4-14h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-10a2 2 0 0 1 2-2z",$N="M12 10h0.01m-0.01 4h0.01m-0.01-8h0.01m3.99 4h0.01m-0.01 4h0.01m-0.01-8h0.01m-8.01 4h0.01m-0.01 4h0.01m-0.01-8h0.01m0.99 16v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3m-9-20h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2z",WN="M10 12h4m-4-4h4m0 13v-3a2 2 0 0 0-4 0v3m-4-11h-2a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-10a2 2 0 0 0-2-2h-2m-12 14v-16a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",ez="M12 16h0.01m3.99 0h0.01m-13.01 3a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-10.5a0.5 0.5 0 0 0-0.77-0.42l-4.46 2.84a0.5 0.5 0 0 1-0.77-0.42v-2a0.5 0.5 0 0 0-0.77-0.42l-4.46 2.84a0.5 0.5 0 0 1-0.77-0.42v-5.5a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2z m5-3h0.01",tz="M18 21.5v-11a1 1 0 0 0-1-1h-10a1 1 0 0 0-1 1v11m16-2a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-11a2 2 0 0 1 1.13-1.8l7.95-3.98a2 2 0 0 1 1.84 0l7.95 3.98a2 2 0 0 1 1.13 1.8z m-16-6h12m-12 4h12",az="M3 5v14m5-14v14m4-14v14m5-14v14m4-14v14",nz="M3 7v-2a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2m-10 0h-2a2 2 0 0 1-2-2v-2m5-10v10m4-10v10m5-10v10",lz="M11.5 22v-10m4 5l2 2 4-4m-1-3.87v-3.13a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4a2 2 0 0 0-1 1.73v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l1.32-0.75m-11.03-13.98l8.71 5 8.71-5m-13.21-2.73l9 5.15",iz="M12 22.01v-9m3.17-10.79a1.67 1.67 0 0 1 1.63 0l4.2 2.36a1.93 1.93 0 0 1 0 3.36l-12.18 6.86a1.66 1.66 0 0 1-1.64 0l-4.18-2.36a1.93 1.93 0 0 1 0-3.36z m4.83 10.79v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08a2.06 2.06 0 0 1-1.11-1.83v-3.87m17-0.57a1.93 1.93 0 0 0 0-3.36l-12.17-6.87a1.64 1.64 0 0 0-1.63 0l-4.2 2.37a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.64 1.64 0 0 0 1.63 0z",oz="M15.48 12.89l1.51 8.53a0.5 0.5 0 0 1-0.81 0.47l-3.58-2.69a1 1 0 0 0-1.19 0l-3.59 2.69a0.5 0.5 0 0 1-0.81-0.47l1.51-8.53m-2.52-4.89a6 6 0 1 0 12 0 6 6 0 1 0-12 0z",rz="M10 14.66v2.34a1 1 0 0 1-1 1 2 2 0 0 0-2 2v2m7-7.34v2.34a1 1 0 0 0 1 1 2 2 0 0 1 2 2v2m0.92-12h1.58a2.5 2.5 0 0 0 2.5-2.5v-2.5a1 1 0 0 0-1-1h-3m-14 18h16m-14-13a6 6 0 0 0 12 0v-6a1 1 0 0 0-1-1h-10a1 1 0 0 0-1 1z m0.08 1h-1.58a2.5 2.5 0 0 1-2.5-2.5v-2.5a1 1 0 0 1 1-1h3",cz="M7.21 15l-4.55-7.86a2 2 0 0 1 0.13-2.2l1.61-2.14a2 2 0 0 1 1.6-0.8h12a2 2 0 0 1 1.6 0.8l1.6 2.14a2 2 0 0 1 0.14 2.2l-4.55 7.86m-5.79-3l-5.88-9.8m7.88 9.8l5.88-9.8m-10.88 4.8h8m-9 10a5 5 0 1 0 10 0 5 5 0 1 0-10 0z m5 1v-2h-0.5",sz="M11.56 3.26a0.5 0.5 0 0 1 0.88 0l2.95 5.61a1 1 0 0 0 1.52 0.29l4.27-3.66a0.5 0.5 0 0 1 0.8 0.52l-2.83 10.24a1 1 0 0 1-0.96 0.74h-12.38a1 1 0 0 1-0.96-0.74l-2.83-10.24a0.5 0.5 0 0 1 0.8-0.52l4.27 3.66a1 1 0 0 0 1.52-0.29z m-6.56 17.74h14",uz="M10.5 2.5l-2.5 6 4 13 4-13-2.5-6m3.5 0a2 2 0 0 1 1.6 0.8l3 4a2 2 0 0 1 0.01 2.38l-7.99 10.99a2 2 0 0 1-3.24 0l-7.99-10.99a2 2 0 0 1 0.01-2.38l3-4a2 2 0 0 1 1.6-0.8z m-15 6h20",dz="M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0z m14-4h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4h-6m4 2v-12",mz="M13.17 2a2 2 0 0 1 1.41 0.58l6.71 6.71a2.4 2.4 0 0 1 0 3.41l-4.59 4.59a2.4 2.4 0 0 1-3.41 0l-6.71-6.71a2 2 0 0 1-0.58-1.41v-6.17a1 1 0 0 1 1-1z m-11.17 5v6.17a2 2 0 0 0 0.58 1.41l6.71 6.71a2.4 2.4 0 0 0 3.19 0.2m-2.48-14.99a0.5 0.5 0 1 0 1 0 0.5 0.5 0 1 0-1 0z",fz="M20 10c0 4.99-5.54 10.19-7.4 11.8a1 1 0 0 1-1.2 0c-1.86-1.61-7.4-6.81-7.4-11.8a8 8 0 0 1 16 0m-11 0a3 3 0 1 0 6 0 3 3 0 1 0-6 0z",hz="M18 8c0 3.61-3.87 7.43-5.39 8.79a1 1 0 0 1-1.22 0c-1.52-1.37-5.39-5.18-5.39-8.79a6 6 0 0 1 12 0m-13.53 7h-0.19a1 1 0 0 0-0.97 0.75l-1.1 4.35a1.5 1.5 0 0 0 1.44 1.9l16.69 0a1.5 1.5 0 0 0 1.45-1.9l-1.1-4.35a1 1 0 0 0-0.97-0.75h-0.19m-9.53-7a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",vz="M2 12l3 0m14 0l3 0m-10-10l0 3m0 14l0 3m-7-10a7 7 0 1 0 14 0 7 7 0 1 0-14 0z",pz="M2 12l3 0m14 0l3 0m-10-10l0 3m0 14l0 3m-7-10a7 7 0 1 0 14 0 7 7 0 1 0-14 0z m4 0a3 3 0 1 0 6 0 3 3 0 1 0-6 0z",gz="M3 19a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m6 0h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7h8.5m0 0a3 3 0 1 0 6 0 3 3 0 1 0-6 0z",bz="M12 13v8m0-18v3m-9.65 4.35a1.21 1.21 0 0 1 0-1.7l2.06-2.06a2 2 0 0 1 1.42-0.59h12.34a2 2 0 0 1 1.42 0.59l2.06 2.06a1.21 1.21 0 0 1 0 1.7l-2.06 2.06a2 2 0 0 1-1.42 0.59h-12.34a2 2 0 0 1-1.42-0.59z",yz="M17.71 19.29l-1.8-8.2 3.5-3.5c1.5-1.5 2-3.5 1.5-4.5-1-0.5-3 0-4.5 1.5l-3.5 3.5-8.2-1.8c-0.5-0.1-0.9 0.1-1.1 0.5l-0.3 0.5c-0.2 0.5-0.1 1 0.3 1.3l5.3 3.5-2 3h-3l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c0.3 0.4 0.8 0.5 1.3 0.3l0.5-0.2c0.4-0.3 0.6-0.7 0.5-1.2z",xz="M1.99 20.33h20m-15.64-4.6l-2.36-0.4-2-4 1.1-0.55a2 2 0 0 1 1.8 0l0.17 0.1a2 2 0 0 0 1.8 0l1.13-0.55-3-6 0.9-0.45a2 2 0 0 1 2.09 0.2l4.02 3a2 2 0 0 0 2.1 0.2l4.19-2.06a2.41 2.41 0 0 1 1.73-0.17l0.97 0.28a1.4 1.4 0 0 1 0.87 1.99l-0.38 0.76c-0.23 0.46-0.6 0.84-1.07 1.08l-12.84 6.37a2 2 0 0 1-1.22 0.18z",Nz="M8 3.1v3.9a4 4 0 0 0 8 0v-3.9m-7 11.9l-1-1m7 1l1-1m-7 5c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5z m-1 0l-2 3m10-3l2 3",zz="M8 5v6m7-6v6m-13 0h19.6m-3.6 6h3s0.5-1.7 0.8-2.8c0.1-0.4 0.2-0.8 0.2-1.2 0-0.4-0.1-0.8-0.2-1.2l-1.4-5c-0.3-1-1.3-1.8-2.4-1.8h-14a2 2 0 0 0-2 2v10h3m0 0a2 2 0 1 0 4 0 2 2 0 1 0-4 0z m4 0h5m0 0a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",Sz="M19 16h2c0.6 0 1-0.4 1-1v-3c0-0.9-0.7-1.7-1.5-1.9-1.8-0.5-4.5-1.1-4.5-1.1s-1.3-1.4-2.2-2.3c-0.5-0.4-1.1-0.7-1.8-0.7h-7c-0.6 0-1.1 0.4-1.4 0.9l-1.4 2.9a3.7 3.7 0 0 0-0.2 1.2v4c0 0.6 0.4 1 1 1h2m0 0a2 2 0 1 0 4 0 2 2 0 1 0-4 0z m4 0h6m0 0a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",Mz="M15 17a3.5 3.5 0 1 0 7 0 3.5 3.5 0 1 0-7 0z m-13 0a3.5 3.5 0 1 0 7 0 3.5 3.5 0 1 0-7 0z m12-12.5a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m-2 12.5v-3.5l-3-3 4-3 2 3h2",kz="M12 2.5v2m0 5.19v3.81m7-1v-6a2 2 0 0 0-2-2h-10a2 2 0 0 0-2 2v6m14.38 7a11.6 11.6 0 0 0 1.62-6l-8.19-3.64a2 2 0 0 0-1.62 0l-8.19 3.64a11.6 11.6 0 0 0 2.81 7.76m-3.81-0.76c0.6 0.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9 0.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9 0.5 2.5 1",wz="M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-7a2 2 0 0 0-0.59-1.42l-3.41-3.58m-4 16v-16a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v16m-1 0h13m-12-12h11",Cz="M10 22v-6.57m2-4.43h0.01m-0.01-4h0.01m1.99 8.43v6.57m1-6a5 5 0 0 0-6 0m7-5h0.01m-0.01-4h0.01m-8.01 4h0.01m-0.01-4h0.01m-2.01-5h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2z",Tz="M3.5 21l10.5-18m6.5 18l-10.5-18m5.5 18l-3.5-6-3.5 6m-6.5 0h20",Rz="M8 3l4 8 5-5 5 15h-20l6-18z",Ez="M10.32 9.5v0.2a3 3 0 0 1-1.1 5.8h-3.9a3 3 0 0 1-1-5.8v-0.2a3 3 0 0 1 6 0z m-3 6v6m6-3v3m-1-3h8.3a1 1 0 0 0 0.7-1.7l-3-3.3h0.3a1 1 0 0 0 0.7-1.7l-3-3.3h0.2a1 1 0 0 0 0.8-1.7l-4-4.3-1.4 1.5",Az="M17 13.5l3 3.3a1 1 0 0 1-0.7 1.7h-14.6a1 1 0 0 1-0.7-1.7l3-3.3h-0.3a1 1 0 0 1-0.7-1.7l3-3.3h-0.2a1 1 0 0 1-0.8-1.7l4-4.3 4 4.3a1 1 0 0 1-0.8 1.7h-0.2l3 3.3a1 1 0 0 1-0.7 1.7h-0.3z m-5 8v-3",Dz="M21.54 15h-4.54a2 2 0 0 0-2 2v4.54m-8-18.2v1.66a3 3 0 0 0 3 3 2 2 0 0 1 2 2c0 1.1 0.9 2 2 2a2 2 0 0 0 2-2c0-1.1 0.9-2 2-2h3.17m-10.17 13.95v-3.95a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2h-2.95m-0.05 1a10 10 0 1 0 20 0 10 10 0 1 0-20 0z",_z="M6 20a2 2 0 0 1-2-2v-10a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2m-10-2v-14a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14m-6 2h4m0 0a2 2 0 1 0 4 0 2 2 0 1 0-4 0z m-8 0a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",Oz="M3 2v7c0 1.1 0.9 2 2 2h4a2 2 0 0 0 2-2v-7m-4 0v20m14-7v-13a5 5 0 0 0-5 5v6c0 1.1 0.9 2 2 2h3z m0 0v7",Lz="M9.5 2.5v2m4-2v2m2 4a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4h-6a4 4 0 0 1-4-4v-8a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1m-11-14v2",jz="M8 22h8m-9-12h10m-5 5v7m0-7a5 5 0 0 0 5-5c0-2-0.5-4-2-8h-6c-1.5 4-2 6-2 8a5 5 0 0 0 5 5z",Hz="M17 11h1a3 3 0 0 1 0 6h-1m-8-5v6m4-6v6m1-10.5c-1 0-1.44 0.5-3 0.5s-2-0.5-3-0.5-1.72 0.5-2.5 0.5a2.5 2.5 0 0 1 0-5c0.78 0 1.57 0.5 2.5 0.5s1.44-1.5 3-1.5 2 1.5 3 1.5 1.72-0.5 2.5-0.5a2.5 2.5 0 0 1 0 5c-0.78 0-1.5-0.5-2.5-0.5z m-9 0.5v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-12",Uz="M11 18.88l-1.11-0.55a2 2 0 0 0-1.78 0l-3.66 1.83a1 1 0 0 1-1.45-0.9v-12.76a1 1 0 0 1 0.55-0.89l4.56-2.28a2 2 0 0 1 1.78 0l4.22 2.1a2 2 0 0 0 1.78 0l3.66-1.83a1 1 0 0 1 1.45 0.9v7.38m-6-6.23v6.23m3 3v6m3-3h-6m-6-14.76v15",Bz="M11.5 13v8m0-18v3m6.17 0a2 2 0 0 1 1.42 0.59l2.06 2.06a1.21 1.21 0 0 1 0 1.7l-2.06 2.06a2 2 0 0 1-1.42 0.59h-14.17a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z",qz="M10 3h4m7 6l-2 2-1.5-3.7a2 2 0 0 0-1.85-1.3h-7.25a2 2 0 0 0-1.9 1.26l-1.5 3.74-2-2m4 6h0.01m9.99 0h0.01m-12.01-4h14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z m0 8v2m14-2v2",Vz="M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-7a2 2 0 0 0-0.59-1.42l-3.41-3.58m-4 16v-16a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v16m-1 0h13m-12-14h11m-5 4l-2 3h3l-2 3",Gz="M12.35 21.5h-7.35a2 2 0 0 1-2-2v-9a2 2 0 0 1 0.71-1.53l7-6a2 2 0 0 1 2.58 0l7 6a2 2 0 0 1 0.71 1.53v2.35m-6.2 0.05a1 1 0 0 0-0.8-0.4h-4a1 1 0 0 0-1 1v8m6-3h6m-3-3v6",Yz="M10 21h-8m8-18h-3a2 2 0 0 0-2 2v16m9-9h0.01m4.99 9v-16a2 2 0 0 0-1.68-1.97l-6.16-1.02a1 1 0 0 0-1.16 0.99v18a1 1 0 0 0 1.12 0.99z m3 0h-3",Xz="M19 21v-16a2 2 0 0 0-2-2h-10a2 2 0 0 0-2 2v16m-3 0h20m-13-9h0.01",Kz="M20 9v-3a2 2 0 0 0-2-2h-12a2 2 0 0 0-2 2v3m-2 7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a0.5 0.5 0 0 1-0.5 0.5h-11a0.5 0.5 0 0 1-0.5-0.5v-1.5a2 2 0 0 0-4 0z m2 2v2m16-2v2m-8-16v9",Qz="M10 4l-2 2m9 13v2m-15-9h20m-15 7v2m2-16l-1.38-1.38a2.12 2.12 0 0 0-3.62 1.38v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",Zz="M4 3.99l2.5 2.5m7 0a4.95 4.95 0 0 0-7 7m8.5-8.5l-10 10m9 2v0.02m-4-1.02v0.02m3-3.02v0.01m3-3.01v0.01m-5 9.99v0.02m6-6.02v0.01m3-3.01v0.01",Fz="M12 12v6m-7.92-7.38a1 1 0 0 0 0.92 1.38h14a1 1 0 0 0 0.92-1.38l-3.07-7.39a2 2 0 0 0-1.85-1.23h-6a2 2 0 0 0-1.85 1.23z m3.92 9.38a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1z",Iz="M15 14c0.2-1 0.7-1.7 1.5-2.5 1-0.9 1.5-2.2 1.5-3.5a6 6 0 0 0-12 0c0 1 0.2 2.2 1.5 3.5 0.7 0.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4",Jz="M19 9v-3a2 2 0 0 0-2-2h-10a2 2 0 0 0-2 2v3m-2 7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a0.5 0.5 0 0 1-0.5 0.5h-9a0.5 0.5 0 0 1-0.5-0.5v-1.5a2 2 0 0 0-4 0z m2 2v2m14-2v2",Pz="M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8m-18-10v-4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4m-8-6v6m-10 8h20",$z="M3 20v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8m-16-10v-4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v4m-16 8h18",Wz="M4 3l-2 2v15c0 0.6 0.4 1 1 1h2c0.6 0 1-0.4 1-1v-15z m2 5h4m-4 10h4m2-15l-2 2v15c0 0.6 0.4 1 1 1h2c0.6 0 1-0.4 1-1v-15z m2 5h4m-4 10h4m2-15l-2 2v15c0 0.6 0.4 1 1 1h2c0.6 0 1-0.4 1-1v-15z",eS="M15 11.5l-9.38 9.38a1 1 0 0 1-3-3l9.38-9.38m6 6l4-4m-0.5 0.5l-1.92-1.91a2 2 0 0 1-0.58-1.42v-0.34a2 2 0 0 0-0.59-1.41l-1.66-1.66a6 6 0 0 0-4.24-1.76h-3.51l1.24 1.25a6 6 0 0 1 1.76 4.24v1.51l2 2h1.17a2 2 0 0 1 1.41 0.59l1.92 1.91",tS="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.1-3.1c0.32-0.32 0.86-0.22 0.99 0.21a6 6 0 0 1-8.26 7.06l-7.91 7.91a1 1 0 0 1-3-3l7.91-7.91a6 6 0 0 1 7.06-8.26c0.44 0.12 0.54 0.66 0.22 0.99z",aS="M10 18a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-5a3 3 0 0 1-3-3 1 1 0 0 1 1-1z m3-8h-9a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h9a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1l-0.81 3.24a1 1 0 0 1-0.97 0.76h-3.22m6-10h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-3m4-2h4m-17 4l-2 8m4 0l2-8",nS="M4 2h12a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2z m6 14v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2h-2m-9 11h2a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",lS="M3 6h18a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-18a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1z m14 8v7m-10-7v7m10-18v3m-10-3v3m3 8l-7.7-7.7m11.7-0.3l7.7 7.7m-13.7-7.7l8 8",iS="M14 4v10.54a4 4 0 1 1-4 0v-10.54a2 2 0 0 1 4 0z",oS="M11 8c2-3-2-3 0-6m4.5 6c2-3-2-3 0-6m-9.5 8h0.01m-0.01 4h0.01m3.99 2v-4m4 4v-4m4 4v-4m2-6a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-10a2 2 0 0 1 2-2h3m-2 14v2m14-2v2",rS="M18 17a2.5 2.5 0 1 1-4 2.03v-7.53m-8 0h-2a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2m-12-4h12m-11.4 7.57a2 2 0 1 0 3.4 1.43v-5",cS="M11 2h2m1.28 12l-4.56 8m11.28 0l-1.56-4h-14.88m-1.56-8v2m3.24 3.04a2 2 0 0 1 1.76-1.04h12a1 1 0 0 1 0.86 1.5l-3.11 5.46a2 2 0 0 1-1.75 1.04h-12a1 1 0 0 1-0.86-1.51z m0.76-13.04a4 4 0 0 1-4 4m5.66 1.66l1.41 1.41",sS="M12 2.5q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",uS="M12 21.5a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-0.5 2.5-2 4.9-4 6.5-2 1.6-3 3.5-3 5.5a7 7 0 0 0 7 7z",dS="M10 20l-1.25-2.5-2.75 0.5m4-14l-1.25 2.5-2.75-0.5m8 14l1.25-2.5 2.75 0.5m-4-14l1.25 2.5 2.75-0.5m-1 15l-3-6h-4m7-12l-3 6 1.5 3m-13.5 0h6.5l1.5-3m10 1l-1.5 2 1.5 2m2-2h-6.5l-1.5 3m-10-5l1.5 2-1.5 2m3 7l3-6-1.5-3m-1.5-9l3 6h4",mS="M12.8 19.6a2 2 0 1 0 1.2-3.6h-12m15.5-8a2.5 2.5 0 1 1 2 4h-17.5m7.8-7.6a2 2 0 1 1 1.2 3.6h-9",fS="M11.5 20.5a10 10 0 0 0 10-10 25.9 25.9 0 0 0-1.04-7.28 1 1 0 0 0-1.76-0.33c-2.37 3.11-5.21 3.11-8.4 3.71a7 7 0 0 0 1.2 13.9m-9 1a5 5 0 0 1 2.91-4.54c2.7-1.24 3.44-1.22 6.09-3.46",hS="M14 9.54v-2.54a4 4 0 0 1 4-4h1.5a0.5 0.5 0 0 1 0.5 0.5v1.5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3m-8-12a5 5 0 0 1 8 4 5 5 0 0 1-8-4m1 12h14",vS="M7 18.5h-2.18a1.83 1.83 0 0 1-1.57-0.88 1.78 1.78 0 0 1-0.01-1.78l3.96-6.84m3.8 9.5h8.2a1.83 1.83 0 0 0 1.56-0.89 1.78 1.78 0 0 0 0-1.77l-1.23-2.12m-5.53 1.78l-3 3 3 3m-5.71-8.4l-1.09-4.1-4.1 1.1m6.24-4.79l1.1-1.89a1.83 1.83 0 0 1 1.55-0.92 1.78 1.78 0 0 1 1.54 0.89l3.94 6.84m-4.09-1.1l4.09 1.1 1.1-4.09",pS="M3.5 3h18m-1 4h-12m12 4h-12m2 8h10m-12-4h12m-16-12v14m-2 2a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",gS="M10.29 2.29a1 1 0 0 1 1.42 0l2.5 2.5 5.99 1.23a1 1 0 0 1 0.51 1.69l-7 7a1 1 0 0 1-1.69-0.51l-1.23-5.99-2.5-2.5a1 1 0 0 1 0-1.42z m3.92 2.5l-3.42 3.42m-7.79 11.79a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1z m6.09-13.5l-4.8 4.79a1 1 0 0 0-0.18 1.17l2.89 5.54",bS="M3 6h3m11 0h0.01m-12.01-4h14a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-16a2 2 0 0 1 2-2z m2 11a5 5 0 1 0 10 0 5 5 0 1 0-10 0z m5 5a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5",yS="M5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v14a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-14z m0 4h14m-4-3v6",xS="M4 3.5h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2z m3 4h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1z m11 0v7m-12 4v2m12-2v2",NS="M12.42 2.68a2.5 2.5 0 0 1 3.4 0l5.5 5.5a2.5 2.5 0 0 1 0 3.4l-3.7 3.7a2.5 2.5 0 0 1-3.4 0l-5.5-5.5a2.5 2.5 0 0 1 0-3.4z m1.6 4.3l3 3m-7.6 0.6l-6.82 6.82a2 2 0 0 0-0.58 1.41v2.17a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h0.17a2 2 0 0 0 1.41-0.58l0.82-0.82",zS="M10 15v-3m4 3v-3m4 3v-3m-16-4v-4m20 2h-20m20 2v-4m-16 11v-3m-2 0h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z",SS="M12 2v2m-7.07 0.93l1.41 1.41m13.66 5.66h2m-2.93-7.07l-1.41 1.41m-1.71 6.31a4 4 0 0 0-5.93-4.13m2.98 13.48h-6a5 5 0 1 1 4.9-6h1.1a3 3 0 0 1 0 6z",MS="M4 14.4a7 7 0 1 1 11.71-6.9h1.79a4.5 4.5 0 0 1 2.5 8.24m-4-2.24v6m-8-6v6m4-4v6",kS="M4 14.9a7 7 0 1 1 11.71-6.9h1.79a4.5 4.5 0 0 1 2.5 8.24m-12-1.24h0.01m-0.01 4h0.01m3.99-2h0.01m-0.01 4h0.01m3.99-6h0.01m-0.01 4h0.01",wS="M6 15.82a7 7 0 1 1 9.71-8.32h1.79a4.5 4.5 0 0 1 0.5 8.97m-5-4.97l-3 5h4l-3 5",CS="M4 14.9a7 7 0 1 1 11.71-6.9h1.79a4.5 4.5 0 0 1 2.5 8.24m-4 0.76h-9m10 4h-8",TS="M12 13v7a2 2 0 0 0 4 0m-4-18v2m8.99 9a1 1 0 0 0 0.97-1.27 10.28 10.28 0 0 0-19.92 0 1 1 0 0 0 0.96 1.27z",RS="M22 17a10 10 0 0 0-20 0m4 0a6 6 0 0 1 12 0m-8 0a2 2 0 0 1 4 0",ES="M17.5 5h4m-2-2v4m0.99 5.49a9 9 0 1 1-9.48-9.48c0.4-0.02 0.62 0.46 0.4 0.81a6 6 0 0 0 8.27 8.26c0.34-0.21 0.82 0 0.81 0.41",AS="M9 12a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m3 4.5a4.5 4.5 0 1 1-4.5-4.5 4.5 4.5 0 1 1 4.5-4.5 4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5m0-9v1.5m-4.5 3h1.5m7.5 0h-1.5m-3 4.5v-1.5m-4-7l1.88 1.88m4.24 0l1.88-1.88m-8 8l1.88-1.88m4.24 0l1.88 1.88",DS="M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1m-3 2a3 3 0 1 0 3 3m-3-3h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1m-2-2a2 2 0 1 0 4 0 2 2 0 1 0-4 0z m2 2v12m0 0c4.2 0 7-1.67 7-5-4.2 0-7 1.67-7 5z m0 0c-4.2 0-7-1.67-7-5 4.2 0 7 1.67 7 5z",_S="M9 4a2 2 0 1 0 4 0 2 2 0 1 0-4 0z m7 4a2 2 0 1 0 4 0 2 2 0 1 0-4 0z m2 8a2 2 0 1 0 4 0 2 2 0 1 0-4 0z m-9-6a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.05q-0.64-2.07-2.7-2.71a3.5 3.5 0 0 1 1.04-6.84z",OS="M11.12 16.28h1.5l-0.75 0.75z m4.75-2.25v0.5m-11.58-3.26a13.15 13.15 0 0 0-0.42 3.31c0 4.17 3.58 6.44 8 6.45s8-2.27 8-6.45a11.7 11.7 0 0 0-0.5-3.31m-11.5 2.76v0.5m0.5-6c-0.38 1.05-1.08 2.03-2.35 2.5-1.93 0.72-3.58-0.3-3.65-1-0.11-0.99 1.18-6.53 4-7 1.92-0.32 3.65 0.84 3.65 2.23a7.5 7.5 0 0 1 3.85 0.04c0-1.39 1.84-2.6 3.76-2.27 2.82 0.47 4.11 6.01 4 7-0.08 0.7-1.73 1.72-3.65 1-1.26-0.47-1.86-1.45-2.24-2.5",LS="M12.01 5.09c0.67 0 1.35 0.09 2 0.26 1.78-2 5.03-2.84 6.42-2.26 1.4 0.58-0.42 7-0.42 7 0.57 1.07 1 2.24 1 3.44 0 4.46-4.03 7.56-9 7.56s-9-3-9-7.56c0-1.25 0.5-2.4 1-3.44 0 0-1.89-6.42-0.5-7 1.39-0.58 4.72 0.23 6.5 2.23a9.04 9.04 0 0 1 2-0.23z m-4 9v0.5m8-0.5v0.5m-4.75 1.75h1.5l-0.75 0.75-0.75-0.75z",jS="M16 7.01h0.01m-12.61 11h8.6a8 8 0 0 0 8-8v-3a4 4 0 0 0-7.28-2.3l-10.72 15.3m18-13l2 0.5-2 0.5m-10 10v3m4-3.25v3.25m-7-3a6 6 0 0 0 3.84-10.61",HS="M6.5 12c0.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-0.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6z m11.5 0v0.5m-2 5.43a9.77 9.77 0 0 1 0-11.86m-9 4.6c0-2.67-1.42-4.7-4.27-5.17-1 1.5-1 5 0.23 6.5-1.24 1.5-1.24 5-0.23 6.5 2.85-0.47 4.27-2.5 4.27-5.17m3.46-6.07c-0.26-1.38-1.29-3.02-2.46-4.26h5.8a2 2 0 0 1 1.98 1.67l0.23 1.4m0 11.86l-0.23 1.4a2 2 0 0 1-1.98 1.67h-4.3a5.96 5.96 0 0 0 1.49-3.98",US="M14.09 18.42a2 2 0 0 1-1.42 0.58h-7.67v-7.67a2 2 0 0 1 0.59-1.41l6.16-6.17a6 6 0 1 1 8.49 8.49z m1.91-10.42l-14 14m15.49-7h-8.49",BS="M11.5 2.5v2m2.84 12.38a6 6 0 1 1-7.23-7.22c0.62-0.15 0.97 0.66 0.72 1.25a4 4 0 0 0 5.26 5.26c0.59-0.26 1.4 0.09 1.25 0.71m1.16-4.38a4 4 0 0 0-4-4m7-3l-1.26 1.26m2.26 5.74h2",qS="M21 4h-18m15 4h-12m13 4h-10m7 4h-6m1 4h-2",VS="M2 12q2.5 2 5 0t5 0 5 0 5 0m-20 7q2.5 2 5 0t5 0 5 0 5 0m-20-14q2.5 2 5 0t5 0 5 0 5 0",GS="M7 3.34v1.66a3 3 0 0 0 3 3m1 13.95v-3.95a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2h-2.95m19.49 4h-4.54a2 2 0 0 0-2 2v4.54m-3-19.54a10 10 0 1 0 9.54 13m-1.54-9v-2a2 2 0 1 0-4 0v2m-1 0h6a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1z",YS="M2 9.01a5.5 5.5 0 0 1 9.59-3.68 0.56 0.56 0 0 0 0.82 0 5.49 5.49 0 0 1 9.59 3.68c0 2.29-1.5 4-3 5.5l-5.49 5.31a2 2 0 0 1-3 0.02l-5.51-5.33c-1.5-1.5-3-3.2-3-5.5m1.22 3.5h6.28l0.5-1 2 4.5 2-7 1.5 3.5h5.27",XS="M11 2.5v2m-6-2v2m0-1h-1a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0v-4a2 2 0 0 0-2-2h-1m-3 12a6 6 0 0 0 12 0v-3m-2-2a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",KS="M10.5 20.5l10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7z m-2-12l7 7",QS="M18 2l4 4m-5 1l3-3m-1 5l-10.3 10.3c-1 1-2.5 1-3.4 0l-0.6-0.6c-1-1-1-2.5 0-3.4l10.3-10.3m-6 6l4 4m-8 4l-3 3m12-18l6 6",ZS="M12 7v4m2 10v-3a2 2 0 0 0-4 0v3m4-12h-4m8 2h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2m12 13v-16a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2v16",FS="M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z",IS="M15.49 4.02a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m3 15l1-7-6 1m-8-5l3-3 5.5 3-2.36 3.5m-6.9 3a5 5 0 0 0 6.88 6m2.64-3a5 5 0 0 0-6.88-6",JS="M10 16.04c0.5 0.3 1.2 0.5 2 0.5s1.5-0.2 2-0.5m1-4h0.01m4.37-5.18a9 9 0 0 1 1.42 3.38 2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6 9 9 0 0 1 8.8-7.2c2 0 3.5 1.1 3.5 2.5s-0.9 2.5-2 2.5c-0.8 0-1.5-0.4-1.5-1m-3 5h0.01",PS="M11 5a1 1 0 1 0 2 0 1 1 0 1 0-2 0z m-2 15l3-6 3 6m-9-12l6 2 6-2m-6 2v4",$S="M4 16v-2.38c0-2.12-1.03-3.12-1-5.62 0.03-2.72 1.49-6 4.5-6 1.87 0 2.5 1.8 2.5 3.5 0 3.11-2 5.66-2 8.68v1.82a2 2 0 1 1-4 0z m16 4v-2.38c0-2.12 1.03-3.12 1-5.62-0.03-2.72-1.49-6-4.5-6-1.87 0-2.5 1.8-2.5 3.5 0 3.11 2 5.66 2 8.68v1.82a2 2 0 1 0 4 0z m-4-3h4m-16-4h4",WS="M17.6 12.77a2 2 0 1 0 2.82-2.83l-1.76-1.77a2 2 0 0 0 2.82-2.83l-2.82-2.83a2 2 0 0 0-2.83 2.83l-1.77-1.77a2 2 0 1 0-2.83 2.83z m-15.1 8.73l1.4-1.4m16.2-16.2l1.4-1.4m-16.16 18.98a2 2 0 1 0 2.83-2.82l1.77 1.76a2 2 0 1 0 2.83-2.82l-6.37-6.37a2 2 0 1 0-2.83 2.83l1.77 1.77a2 2 0 0 0-2.83 2.83z m4.26-7.08l4.8-4.8",eM="M12 6.53v-3.53a1 1 0 0 1 1-1h0m5.24 19a15 15 0 0 0 3.76-10 6 6 0 0 0-10-4.47 6 6 0 0 0-10 4.47 15.1 15.1 0 0 0 3.76 10 3 3 0 0 0 3.65 0.65 5.5 5.5 0 0 1 5.18 0 3 3 0 0 0 3.65-0.65",tM="M10.99 14h2a2 2 0 0 0 0-4h-3c-0.6 0-1.1 0.2-1.4 0.6l-5.6 5.4m11.45-2.61l5.05-4.69c0.7-0.7 1.5-1.85 1.5-2.95a2.75 2.75 0 0 0-4.8-1.84 0.28 0.28 0 0 1-0.41 0 2.75 2.75 0 0 0-4.79 1.84c0 1.2 0.8 2.25 1.5 2.95l3.5 3.25m-14 3.05l6 6m-1-1l1.6-1.4c0.3-0.4 0.8-0.6 1.4-0.6h4c1.1 0 2.1-0.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91",aM="M10.99 11.03h2a2 2 0 1 0 0-4h-3c-0.6 0-1.1 0.2-1.4 0.6l-5.6 5.4m4 4l1.6-1.4c0.3-0.4 0.8-0.6 1.4-0.6h4c1.1 0 2.1-0.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9m-12.45 1.61l6 6",nM="M21.41 10.92a1 1 0 0 0-0.02-1.84l-8.57-3.9a2 2 0 0 0-1.66 0l-8.57 3.9a1 1 0 0 0 0 1.83l8.57 3.91a2 2 0 0 0 1.66 0z m0.58-0.92v6m-16-3.5v3.5a6 3 0 0 0 12 0v-3.5",lM="M14 21.5v-3a2 2 0 0 0-4 0v3m8-16.07v16.07m-14-15l7.11-3.79a2 2 0 0 1 1.78 0l7.11 3.79m-14 5l-3.52 2.15a1 1 0 0 0-0.48 0.85v5a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a1 1 0 0 0-0.48-0.85l-3.52-2.15m-12-6.07v16.07m4-12a2 2 0 1 0 4 0 2 2 0 1 0-4 0z",iM="M2 15a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m12 0a4 4 0 1 0 8 0 4 4 0 1 0-8 0z m0 0a2 2 0 0 0-2-2 2 2 0 0 0-2 2m-7.5-2l2.5-6c0.7-1.3 1.4-2 3-2m13.5 8l-2.5-6c-0.7-1.3-1.5-2-3-2",oM="M20.38 3.46l-4.38-1.46a4 4 0 0 1-8 0l-4.38 1.46a2 2 0 0 0-1.34 2.23l0.58 3.47a1 1 0 0 0 0.99 0.84h2.15v10c0 1.1 0.9 2 2 2h8a2 2 0 0 0 2-2v-10h2.15a1 1 0 0 0 0.99-0.84l0.58-3.47a2 2 0 0 0-1.34-2.23z",rM="M20 20.5v-8a2 2 0 0 0-2-2h-12a2 2 0 0 0-2 2v8m0-5s0.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1m-18 5h20m-15-13v3m5-3v3m5-3v3m-10-7h0.01m4.99 0h0.01m4.99 0h0.01",cM="M5.79 11.3l-3.8 10.7 10.7-3.79m-8.7-15.21h0.01m18 5h0.01m-7.01-6h0.01m6.99 18h0.01m-0.01-18l-2.25 0.75a2.9 2.9 0 0 0-1.96 3.12c0.1 0.86-0.57 1.63-1.45 1.63h-0.38c-0.86 0-1.6 0.6-1.76 1.44l-0.2 1.06m8 3l-0.82-0.33c-0.86-0.34-1.82 0.2-1.98 1.11-0.11 0.7-0.72 1.22-1.43 1.22h-0.77m-6-13l0.33 0.82c0.34 0.86-0.2 1.82-1.11 1.98-0.7 0.1-1.22 0.72-1.22 1.43v0.77m2 6c1.93 1.93 2.83 4.17 2 5-0.83 0.83-3.07-0.07-5-2-1.93-1.93-2.83-4.17-2-5 0.83-0.83 3.07 0.07 5 2z",sM="M10 10.01h0.01m-0.01 4h0.01m3.99-4h0.01m-0.01 4h0.01m3.99-8.01v12m-12-12v12m-2-12h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-16a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2z",uM="M12 2v2m0 4a4 4 0 0 0-1.65 7.64m-8.35-3.64h2m16 2.54a4 4 0 1 1-4 0v-10.54a2 2 0 0 1 4 0z m-15.07-9.61l1.41 1.41m0 11.32l-1.41 1.41",dM="M8.98 5.5a3 3 0 1 0 6 0 3 3 0 1 0-6 0z m-2.5 3a2 2 0 0 0-1.9 1.46l-2.5 9.04a2 2 0 0 0 1.9 2.5h16a2 2 0 0 0 1.93-2.54l-2.53-8.96a2 2 0 0 0-1.92-1.5z",mM="M19.5 12a2.5 2.5 0 0 0 0.39-2.21 2 2 0 0 0 0.43-3.29 2 2 0 0 0-1.32-3.5 2 2 0 0 0-1.5 0.68 2 2 0 0 0-3.29 0.42 2.5 2.5 0 0 0-3.19 2.06 3 3 0 0 0 0.98 5.84l4-4m-12 4a1 1 0 0 0-0.99 1.13 9 9 0 0 0 8.99 7.87 9 9 0 0 0 8.99-7.87 1 1 0 0 0-0.99-1.13z m3 9h10m-7.15-14.09a3.5 3.5 0 0 0-4.8 5.09",fM={d:"M13.86 10.47l7.29-8.47h-1.73l-6.32 7.35-5.06-7.35h-5.83l7.64 11.12-7.63 8.88h1.72l6.68-7.76 5.34 7.76h5.83z m-2.36 2.75l-0.78-1.11-6.16-8.81h2.66l4.97 7.11 0.77 1.11 6.46 9.24h-2.65z",filled:!0},hM={d:"M9.58 21.74v-6.65h-2.06v-3.05h2.06v-1.32c0-3.4 1.54-4.98 4.89-4.98 0.33 0 0.8 0.04 1.22 0.08a7.23 7.23 0 0 1 0.95 0.17v2.77a7.19 7.19 0 0 0-0.54-0.03 22.34 22.34 0 0 0-0.62-0.01c-0.59 0-1.05 0.08-1.39 0.26a1.41 1.41 0 0 0-0.57 0.52c-0.21 0.35-0.31 0.83-0.31 1.46v1.08h3.27l-0.32 1.75-0.24 1.3h-2.71v6.87c4.95-0.6 8.79-4.81 8.79-9.92 0-5.52-4.48-10-10-10s-10 4.48-10 10c0 4.69 3.23 8.62 7.58 9.7z",filled:!0},vM={d:"M7.86 2.07c-1.06 0.05-1.79 0.22-2.43 0.47-0.66 0.26-1.21 0.6-1.77 1.16-0.55 0.56-0.9 1.11-1.15 1.77-0.25 0.64-0.41 1.36-0.46 2.43-0.05 1.06-0.06 1.41-0.05 4.12 0.01 2.72 0.02 3.06 0.07 4.12 0.05 1.06 0.22 1.79 0.47 2.43 0.26 0.66 0.6 1.21 1.16 1.77 0.56 0.55 1.11 0.9 1.77 1.15 0.64 0.25 1.36 0.41 2.43 0.46 1.06 0.05 1.41 0.06 4.12 0.05 2.71-0.01 3.06-0.02 4.12-0.07 1.07-0.05 1.79-0.22 2.43-0.47 0.66-0.26 1.21-0.6 1.77-1.16 0.55-0.56 0.9-1.11 1.15-1.77 0.25-0.64 0.41-1.36 0.46-2.43 0.05-1.07 0.06-1.41 0.05-4.12-0.01-2.72-0.02-3.06-0.07-4.12-0.05-1.07-0.22-1.79-0.47-2.43-0.26-0.66-0.6-1.21-1.16-1.77-0.56-0.55-1.11-0.9-1.77-1.15-0.64-0.25-1.36-0.41-2.43-0.46-1.06-0.05-1.41-0.06-4.12-0.05-2.72 0.01-3.06 0.02-4.12 0.07m0.12 18.08c-0.97-0.04-1.5-0.2-1.86-0.34-0.47-0.18-0.8-0.4-1.15-0.75-0.35-0.35-0.57-0.68-0.75-1.15-0.14-0.35-0.3-0.88-0.35-1.85-0.05-1.05-0.06-1.37-0.07-4.04-0.01-2.67 0-2.99 0.05-4.04 0.04-0.97 0.2-1.5 0.34-1.86 0.18-0.47 0.4-0.8 0.75-1.15 0.35-0.35 0.68-0.57 1.15-0.75 0.35-0.14 0.88-0.3 1.85-0.35 1.05-0.05 1.37-0.06 4.04-0.07 2.67-0.01 2.99 0 4.05 0.06 0.97 0.04 1.5 0.2 1.85 0.34 0.47 0.18 0.8 0.4 1.15 0.74 0.35 0.35 0.57 0.68 0.75 1.15 0.14 0.35 0.3 0.88 0.35 1.86 0.05 1.05 0.06 1.37 0.07 4.04 0 2.67 0 2.99-0.05 4.04-0.04 0.98-0.2 1.5-0.34 1.85-0.18 0.47-0.4 0.8-0.75 1.15-0.35 0.35-0.68 0.57-1.15 0.75-0.35 0.14-0.88 0.3-1.85 0.35-1.05 0.05-1.37 0.06-4.04 0.07-2.67 0.01-2.99 0-4.04-0.05m8.15-13.49a1.2 1.2 0 1 0 1.2-1.21 1.2 1.2 0 0 0-1.2 1.21m-9.26 5.35c0.01 2.84 2.31 5.13 5.14 5.12 2.84-0.01 5.13-2.31 5.13-5.14-0.01-2.84-2.31-5.13-5.15-5.12-2.84 0.01-5.13 2.31-5.12 5.14m1.8 0a3.33 3.33 0 1 1 3.34 3.32 3.33 3.33 0 0 1-3.34-3.32",filled:!0},pM={d:"M17.22 11.25c-0.02-2.91-1.6-4.66-4.26-4.66-1.77 0-3.27 0.8-4.05 2.09l1.72 1.19c0.45-0.7 1.06-1.29 2.19-1.28 1.27 0 1.93 0.71 2.12 2.02a12.5 12.5 0 0 0-1.87-0.14c-3.44 0-5.06 1.56-5.05 3.61s1.62 3.32 4 3.33c2.62 0 4.18-1.76 4.82-3.95 0.67 0.3 1.12 1 1.12 2.06 0 2.82-3.26 4.36-6.02 4.36-4.07 0-6.73-2.67-6.73-7.02 0-5.33 3.52-8.74 8.25-8.74 3.17 0 4.74 1.39 5.81 3.26l1.76-1.23c-1.16-2.42-3.75-4.15-7.64-4.15-6.2 0-10.41 4.4-10.42 10.78 0 5.83 4.13 9.22 9.05 9.22 4.07 0 8.17-2.37 8.17-6.43 0-2.12-1.22-3.53-2.97-4.32m-5.28 4.04c-0.9 0-1.69-0.43-1.68-1.21 0-1.24 1.52-1.61 3-1.61 0.57 0 1.12 0.04 1.61 0.15-0.35 1.61-1.39 2.68-2.93 2.67z",filled:!0},gM={d:"M21.58 7.16a2.51 2.51 0 0 0-1.77-1.79c-1.56-0.42-7.81-0.42-7.81-0.42s-6.25 0-7.81 0.42a2.51 2.51 0 0 0-1.77 1.79c-0.42 1.57-0.42 4.84-0.42 4.84s0 3.28 0.42 4.84a2.51 2.51 0 0 0 1.77 1.79c1.56 0.42 7.81 0.42 7.81 0.42s6.25 0 7.81-0.42a2.51 2.51 0 0 0 1.77-1.79c0.42-1.57 0.42-4.84 0.42-4.84s0-3.27-0.42-4.84z m-11.63 7.81v-5.94l5.23 2.97-5.23 2.97z",filled:!0},bM={d:"M12.44 2.02c1.09-0.02 2.18-0.01 3.26-0.02 0.07 1.28 0.52 2.58 1.45 3.47 0.93 0.93 2.25 1.35 3.54 1.5v3.35c-1.2-0.04-2.41-0.29-3.5-0.8-0.48-0.22-0.92-0.49-1.35-0.78-0.01 2.43 0.01 4.87-0.02 7.29-0.07 1.17-0.45 2.33-1.12 3.29-1.09 1.6-2.98 2.64-4.93 2.67-1.19 0.07-2.38-0.26-3.4-0.86-1.68-0.99-2.87-2.81-3.04-4.76-0.02-0.42-0.02-0.83-0.01-1.24 0.15-1.58 0.93-3.1 2.15-4.13 1.38-1.2 3.32-1.78 5.13-1.43 0.02 1.23-0.03 2.47-0.04 3.7-0.83-0.27-1.79-0.19-2.51 0.3-0.52 0.34-0.92 0.87-1.14 1.46-0.17 0.42-0.13 0.89-0.11 1.34 0.2 1.37 1.52 2.52 2.91 2.4 0.93-0.01 1.82-0.55 2.31-1.35 0.16-0.27 0.33-0.56 0.34-0.88 0.08-1.49 0.05-2.98 0.06-4.47 0.01-3.36-0.01-6.71 0.02-10.05z",filled:!0},yM={d:"M16.56 13.99c-0.25-0.12-1.46-0.72-1.69-0.81-0.23-0.08-0.39-0.12-0.56 0.12-0.16 0.25-0.64 0.8-0.78 0.97-0.14 0.17-0.29 0.19-0.54 0.07-0.25-0.13-1.05-0.39-1.99-1.23-0.74-0.66-1.23-1.47-1.38-1.72-0.14-0.25-0.02-0.38 0.11-0.5 0.11-0.11 0.25-0.29 0.37-0.44 0.12-0.14 0.16-0.25 0.25-0.41 0.08-0.16 0.04-0.31-0.02-0.43-0.06-0.12-0.56-1.34-0.77-1.84-0.2-0.48-0.41-0.42-0.55-0.43-0.14-0.01-0.31-0.01-0.48-0.01-0.17 0-0.43 0.06-0.66 0.31-0.23 0.25-0.87 0.85-0.86 2.07 0 1.22 0.89 2.4 1.01 2.56 0.12 0.17 1.75 2.67 4.23 3.74 0.59 0.25 1.05 0.41 1.41 0.52 0.59 0.19 1.13 0.16 1.56 0.1 0.48-0.07 1.47-0.6 1.67-1.18 0.21-0.58 0.21-1.07 0.14-1.18-0.06-0.1-0.23-0.16-0.47-0.28m-4.52 6.16h0a8.22 8.22 0 0 1-4.19-1.14l-0.31-0.18-3.11 0.82 0.83-3.04-0.2-0.32a8.22 8.22 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24 2.2 0 4.27 0.86 5.83 2.42a8.19 8.19 0 0 1 2.41 5.83c0 4.54-3.7 8.24-8.24 8.23m7.01-15.24a9.85 9.85 0 0 0-7.01-2.91c-5.46 0-9.91 4.45-9.91 9.91 0 1.75 0.46 3.45 1.32 4.95l-1.4 5.14 5.25-1.38a9.9 9.9 0 0 0 4.74 1.21h0c5.46 0 9.91-4.45 9.91-9.91a9.85 9.85 0 0 0-2.9-7.01z",filled:!0},xM={d:"M11.95 2a10 10 0 0 0-9.95 10 10 10 0 0 0 10 10 10 10 0 0 0 10-10 10 10 0 0 0-10-10 10 10 0 0 0-0.05 0z m4.14 6.02c0.08 0 0.27 0.02 0.39 0.12a0.42 0.42 0 0 1 0.14 0.27c0.01 0.08 0.03 0.26 0.02 0.39-0.15 1.58-0.8 5.42-1.14 7.19-0.14 0.75-0.42 1-0.68 1.03-0.58 0.05-1.02-0.38-1.58-0.76-0.88-0.58-1.38-0.94-2.24-1.5-0.99-0.65-0.35-1.01 0.22-1.59 0.15-0.15 2.71-2.48 2.75-2.69 0.01-0.03 0.01-0.13-0.04-0.18s-0.14-0.03-0.21-0.02c-0.09 0.02-1.49 0.95-4.22 2.79-0.4 0.27-0.76 0.41-1.08 0.4-0.36-0.01-1.04-0.2-1.56-0.37-0.63-0.2-1.12-0.31-1.08-0.65 0.02-0.18 0.27-0.36 0.75-0.56 2.92-1.27 4.86-2.11 5.83-2.51 2.78-1.15 3.35-1.36 3.73-1.36z",filled:!0},NM={d:"M12 2q-0.78 0-1.53 0.12l0.15 0.92a9.17 9.17 0 0 1 2.76 0l0.15-0.92a10 10 0 0 0-1.53-0.12m-2.37 0.28a10 10 0 0 0-2.82 1.17l0.48 0.8a9 9 0 0 1 2.56-1.06z m4.74 0l-0.22 0.91a9 9 0 0 1 2.55 1.06l0.49-0.8a10 10 0 0 0-2.82-1.17m-2.37 1.59a8.13 8.13 0 0 0-7.12 12.05c0.06 0.11 0.08 0.24 0.06 0.37l-0.85 3.62 3.62-0.85a0.52 0.52 0 0 1 0.37 0.06 8.08 8.08 0 0 0 3.92 1c4.49 0 8.13-3.64 8.12-8.12s-3.64-8.13-8.12-8.13m-5.91 0.06a10 10 0 0 0-2.16 2.16l0.76 0.55a9.17 9.17 0 0 1 1.95-1.95z m11.82 0l-0.55 0.76a9.17 9.17 0 0 1 1.95 1.95l0.76-0.55a10 10 0 0 0-2.16-2.16m-14.46 2.88a10 10 0 0 0-1.17 2.82l0.91 0.22a9 9 0 0 1 1.06-2.56z m17.1 0l-0.8 0.48a9 9 0 0 1 1.06 2.56l0.91-0.22a10 10 0 0 0-1.17-2.82m-18.44 3.66a10 10 0 0 0-0.11 1.53q0 0.78 0.12 1.52l0.92-0.14a9.17 9.17 0 0 1-0.1-1.38q0-0.71 0.1-1.38z m19.77 0l-0.92 0.15q0.1 0.68 0.1 1.38c0 0.71-0.04 0.93-0.1 1.38l0.92 0.15a10.08 10.08 0 0 0 0-3.06m-18.69 3.68l-0.91 0.22a10 10 0 0 0 0.8 2.16l-0.22 0.95 0.92 0.21 0.3-1.28-0.16-0.3a9 9 0 0 1-0.73-1.96m17.61 0a9 9 0 0 1-1.05 2.56l0.8 0.48a10 10 0 0 0 1.17-2.82z m-1.49 3.21a9.17 9.17 0 0 1-1.95 1.95l0.55 0.76a10 10 0 0 0 2.16-2.16z m-16.63 0.91l-0.38 1.63a1.5 1.5 0 0 0 1.8 1.8l1.63-0.38-0.22-0.91-1.62 0.38a0.56 0.56 0 0 1-0.68-0.68l0.38-1.63z m14.02 1.48a9 9 0 0 1-2.55 1.06l0.22 0.91a10 10 0 0 0 2.82-1.17z m-9.11 0.17l-1.29 0.3 0.22 0.92 0.95-0.22c0.68 0.35 1.4 0.62 2.16 0.8l0.22-0.92a9 9 0 0 1-1.96-0.72z m3.03 1.04l-0.15 0.92a10.08 10.08 0 0 0 3.05 0l-0.14-0.92q-0.68 0.1-1.38 0.1a9.17 9.17 0 0 1-1.38-0.1",filled:!0},zM={d:"M12 2c-5.63 0-10 4.13-10 9.7 0 2.92 1.2 5.43 3.14 7.18a0.8 0.8 0 0 1 0.27 0.56l0.05 1.78a0.8 0.8 0 0 0 1.13 0.71l1.98-0.88a0.8 0.8 0 0 1 0.53-0.03 10.83 10.83 0 0 0 2.9 0.38c5.63 0 10-4.13 10-9.7s-4.37-9.7-10-9.7m5.67 6.2c0.43-0.02 0.81 0.47 0.53 0.91l-3.49 5.38a0.59 0.59 0 0 1-0.81 0.18l-3.22-2.09a0.37 0.37 0 0 0-0.41 0.01l-3.64 2.5c-0.53 0.36-1.18-0.26-0.83-0.8l3.48-5.38a0.59 0.59 0 0 1 0.82-0.18l3.22 2.09c0.13 0.08 0.29 0.08 0.41-0.01l3.64-2.5a0.58 0.58 0 0 1 0.3-0.11",filled:!0},SM={d:"M18.93 5.64a16.49 16.49 0 0 0-4.07-1.26 0.06 0.06 0 0 0-0.07 0.03c-0.18 0.31-0.37 0.72-0.5 1.04-1.54-0.23-3.07-0.23-4.57 0-0.14-0.33-0.34-0.73-0.52-1.04a0.06 0.06 0 0 0-0.06-0.03 16.45 16.45 0 0 0-4.08 1.26 0.06 0.06 0 0 0-0.02 0.02c-2.59 3.87-3.3 7.65-2.96 11.39a0.07 0.07 0 0 0 0.03 0.04c1.71 1.26 3.37 2.02 4.99 2.53a0.06 0.06 0 0 0 0.07-0.02c0.38-0.53 0.73-1.08 1.02-1.67a0.06 0.06 0 0 0-0.03-0.08c-0.54-0.21-1.06-0.46-1.56-0.75a0.06 0.06 0 0 1-0.01-0.1c0.1-0.08 0.21-0.16 0.31-0.25a0.06 0.06 0 0 1 0.07-0.01c3.27 1.49 6.82 1.49 10.05 0a0.06 0.06 0 0 1 0.06 0.01c0.1 0.08 0.2 0.17 0.32 0.25a0.06 0.06 0 0 1-0.01 0.1 10.25 10.25 0 0 1-1.56 0.75 0.06 0.06 0 0 0-0.04 0.08c0.3 0.58 0.64 1.14 1.03 1.67a0.06 0.06 0 0 0 0.07 0.02c1.63-0.51 3.29-1.27 5-2.53a0.06 0.06 0 0 0 0.02-0.04c0.42-4.31-0.7-8.06-2.95-11.38a0.05 0.05 0 0 0-0.03-0.03z m-10.25 9.14c-0.99 0-1.8-0.9-1.79-2.02 0-1.11 0.8-2.02 1.79-2.02 1.01 0 1.81 0.91 1.8 2.02 0 1.11-0.8 2.02-1.8 2.02z m6.65 0c-0.99 0-1.8-0.9-1.8-2.02 0-1.11 0.8-2.02 1.8-2.02 1.01 0 1.81 0.91 1.8 2.02 0 1.11-0.79 2.02-1.8 2.02z",filled:!0},MM={d:"M6.33 4.38c2.29 1.72 4.76 5.21 5.67 7.08 0.91-1.87 3.37-5.36 5.67-7.08 1.65-1.24 4.33-2.2 4.33 0.86 0 0.61-0.35 5.13-0.56 5.86-0.71 2.55-3.32 3.2-5.63 2.81 4.04 0.69 5.07 2.97 2.86 5.25-4.22 4.33-6.07-1.09-6.54-2.48-0.09-0.25-0.13-0.37-0.13-0.27 0-0.1-0.04 0.02-0.13 0.27-0.47 1.39-2.32 6.8-6.54 2.48-2.22-2.28-1.19-4.56 2.85-5.25-2.31 0.39-4.92-0.26-5.62-2.81-0.21-0.73-0.56-5.25-0.56-5.86 0-3.06 2.68-2.1 4.34-0.86",filled:!0},kM={d:"M21.39 6.43c-0.29-2.15-2.18-3.84-4.42-4.17-0.38-0.06-1.81-0.26-5.13-0.26h-0.02c-3.32 0-4.03 0.2-4.41 0.26-2.18 0.32-4.17 1.84-4.65 4.01-0.23 1.07-0.26 2.26-0.21 3.35 0.06 1.56 0.07 3.12 0.22 4.68 0.1 1.03 0.27 2.06 0.51 3.06 0.46 1.86 2.31 3.41 4.14 4.05 1.95 0.66 4.04 0.77 6.04 0.32 0.22-0.05 0.44-0.11 0.66-0.18 0.49-0.15 1.06-0.32 1.48-0.63a0.05 0.05 0 0 0 0.02-0.03v-1.51a0.04 0.04 0 0 0-0.02-0.04 0.04 0.04 0 0 0-0.04 0 16.9 16.9 0 0 1-3.92 0.45c-2.28 0-2.89-1.07-3.06-1.52a4.66 4.66 0 0 1-0.27-1.19 0.04 0.04 0 0 1 0.05-0.04c1.26 0.3 2.56 0.46 3.86 0.45 0.31 0 0.63 0 0.94-0.01 1.31-0.04 2.69-0.1 3.98-0.35 0.03-0.01 0.06-0.01 0.09-0.02 2.03-0.39 3.96-1.6 4.15-4.67 0.01-0.12 0.03-1.27 0.03-1.39 0-0.43 0.14-3.03-0.02-4.62z m-3.12 7.66h-2.14v-5.18c0-1.09-0.46-1.65-1.39-1.65-1.03 0-1.54 0.66-1.54 1.96v2.84h-2.12v-2.84c0-1.3-0.51-1.96-1.54-1.96-0.93 0-1.39 0.56-1.39 1.65v5.18h-2.13v-5.34c0-1.09 0.28-1.96 0.84-2.6 0.58-0.64 1.34-0.97 2.28-0.97 1.09 0 1.92 0.42 2.47 1.25l0.53 0.88 0.54-0.88c0.55-0.83 1.38-1.25 2.46-1.25 0.94 0 1.7 0.33 2.29 0.97 0.56 0.64 0.84 1.51 0.84 2.6z",filled:!0},wM={d:"M12 2c-5.52 0-10 4.48-10 10 0 2.76 1.12 5.26 2.93 7.07l-1.91 1.91c-0.38 0.38-0.11 1.02 0.43 1.02h8.55c5.52 0 10-4.48 10-10s-4.48-10-10-10z m3.66 2.67c0.92 0 1.67 0.75 1.66 1.66 0 0.92-0.75 1.67-1.66 1.67-0.79 0-1.45-0.55-1.63-1.28v0c-0.96 0.14-1.69 0.96-1.69 1.95v0c1.48 0.06 2.83 0.47 3.91 1.14 0.39-0.3 0.89-0.48 1.42-0.48 1.29 0 2.34 1.04 2.33 2.33 0 0.93-0.55 1.73-1.33 2.11-0.07 2.71-3.03 4.9-6.66 4.9-3.63 0-6.59-2.18-6.67-4.89-0.79-0.37-1.34-1.18-1.34-2.12 0-1.29 1.05-2.34 2.33-2.33 0.54 0 1.03 0.18 1.43 0.48 1.06-0.66 2.4-1.08 3.86-1.13v-0.01c0-1.39 1.05-2.53 2.4-2.67 0.16-0.76 0.83-1.33 1.64-1.33z m-6.74 6.98c-0.65 0-1.22 0.65-1.26 1.49-0.04 0.85 0.53 1.19 1.19 1.19 0.65 0 1.14-0.31 1.18-1.15 0.04-0.85-0.46-1.53-1.11-1.53z m6.17 0c-0.65 0-1.15 0.69-1.11 1.53 0.04 0.85 0.53 1.15 1.18 1.15 0.65 0 1.23-0.34 1.19-1.19-0.04-0.85-0.6-1.5-1.26-1.49z m-3.09 3.34c-0.81 0-1.59 0.04-2.3 0.11-0.12 0.01-0.2 0.14-0.16 0.26 0.4 0.96 1.35 1.64 2.46 1.63 1.11 0 2.06-0.67 2.47-1.63 0.05-0.11-0.03-0.24-0.16-0.26-0.72-0.07-1.5-0.11-2.31-0.11z",filled:!0},CM={d:"M12.01 2c-5.52 0-9.99 4.47-9.99 9.99 0 4.23 2.63 7.85 6.35 9.3-0.09-0.79-0.17-2 0.04-2.86 0.18-0.78 1.17-4.96 1.17-4.97s-0.3-0.6-0.3-1.48c0-1.39 0.81-2.43 1.81-2.43 0.85 0 1.27 0.64 1.26 1.41 0 0.86-0.54 2.14-0.83 3.32-0.24 0.99 0.5 1.8 1.48 1.81 1.77 0 3.14-1.87 3.14-4.57 0-2.38-1.72-4.06-4.17-4.06-2.84 0-4.51 2.13-4.51 4.33 0 0.86 0.33 1.79 0.74 2.28 0.08 0.1 0.09 0.19 0.07 0.29-0.07 0.31-0.24 1-0.27 1.14-0.04 0.19-0.14 0.23-0.34 0.14-1.25-0.58-2.03-2.4-2.03-3.88 0-3.15 2.29-6.04 6.6-6.04 3.47 0 6.16 2.47 6.16 5.77 0 3.45-2.17 6.22-5.19 6.22-1.01 0-1.96-0.52-2.3-1.15l-0.62 2.37c-0.22 0.87-0.84 1.96-1.25 2.62 0.94 0.29 1.92 0.45 2.96 0.45 5.51 0 9.99-4.47 9.99-9.99 0-5.52-4.48-9.99-9.99-9.99l0.02-0.02z",filled:!0},TM={d:"M12.17 2.66c0.82 0 3.62 0.23 4.94 3.18 0.44 0.99 0.34 2.68 0.25 4.04l0 0.05c-0.01 0.15-0.02 0.29-0.02 0.43 0.06 0.04 0.17 0.08 0.33 0.07 0.25-0.01 0.55-0.1 0.86-0.25 0.14-0.07 0.29-0.09 0.39-0.08 0.15 0 0.3 0.02 0.42 0.07 0.38 0.12 0.61 0.4 0.61 0.7 0.01 0.37-0.32 0.7-1.01 0.97-0.07 0.02-0.17 0.06-0.29 0.1-0.38 0.11-0.95 0.3-1.11 0.68-0.07 0.19-0.05 0.44 0.1 0.72l0.02 0.01c0.05 0.11 1.27 2.9 3.99 3.35 0.21 0.04 0.36 0.22 0.35 0.42 0 0.06-0.01 0.12-0.04 0.19-0.2 0.47-1.06 0.82-2.62 1.06-0.05 0.08-0.1 0.31-0.14 0.47-0.02 0.15-0.06 0.3-0.11 0.47-0.06 0.23-0.22 0.34-0.46 0.33h-0.03c-0.11 0-0.26-0.03-0.44-0.06-0.3-0.06-0.64-0.11-1.07-0.11-0.25 0-0.5 0.01-0.76 0.06-0.5 0.09-0.94 0.39-1.43 0.74-0.71 0.5-1.52 1.07-2.75 1.07-0.05 0-0.1-0.01-0.15-0.01h-0.12c-1.22 0-2.02-0.56-2.73-1.08-0.5-0.35-0.92-0.65-1.43-0.73-0.26-0.04-0.52-0.06-0.77-0.06-0.45 0-0.8 0.07-1.06 0.12-0.18 0.04-0.33 0.06-0.45 0.06-0.31 0-0.44-0.19-0.49-0.35-0.05-0.16-0.08-0.32-0.11-0.47-0.04-0.15-0.09-0.41-0.14-0.48-1.6-0.19-2.46-0.54-2.65-1.02-0.03-0.05-0.04-0.13-0.05-0.18-0.01-0.2 0.14-0.39 0.35-0.43 2.72-0.45 3.94-3.23 3.99-3.35l0.02-0.02c0.15-0.29 0.19-0.54 0.1-0.73-0.16-0.36-0.74-0.55-1.11-0.67-0.1-0.02-0.2-0.06-0.29-0.1-0.92-0.36-1.05-0.78-1-1.06 0.08-0.4 0.56-0.66 0.97-0.66 0.12 0 0.22 0.02 0.32 0.06 0.35 0.16 0.66 0.25 0.92 0.25 0.19 0 0.32-0.05 0.39-0.09l-0.04-0.47c-0.08-1.35-0.19-3.04 0.26-4.03 1.28-2.94 4.07-3.16 4.89-3.17l0.35-0.01h0.05z",filled:!0},RM={d:"M14.14 22c-4.24 0-5.86-3.13-5.86-5.34v-6.54h-2.02v-2.58c3.02-1.09 3.76-3.83 3.93-5.39 0.01-0.11 0.1-0.15 0.14-0.15h2.93v5.09h4v3.03h-4.01v6.23c0.01 0.83 0.31 1.98 1.84 1.97h0.07c0.53-0.02 1.24-0.17 1.61-0.35l0.97 2.86c-0.36 0.53-2 1.14-3.47 1.17h-0.14l0 0z",filled:!0},EM={d:"M11.64 5.93h1.43v4.28h-1.43z m3.93 0h1.43v4.28h-1.43z m-8.57-3.93l-3.57 3.57v12.86h4.28v3.57l3.58-3.57h2.85l6.43-6.43v-10z m12.14 9.29l-2.85 2.85h-2.86l-2.5 2.5v-2.5h-3.22v-10.71h11.43z",filled:!0},AM={d:"M21.98 7.35c-0.09 1.95-1.45 4.62-4.08 8-2.72 3.54-5.02 5.31-6.91 5.31-1.17 0-2.15-1.08-2.96-3.23l-1.6-5.93c-0.6-2.15-1.24-3.23-1.92-3.23-0.15 0-0.67 0.31-1.57 0.94l-0.94-1.21a262.55 262.55 0 0 0 2.92-2.61c1.32-1.14 2.3-1.74 2.96-1.8 1.56-0.15 2.51 0.92 2.87 3.2 0.39 2.46 0.66 3.99 0.81 4.59 0.45 2.04 0.94 3.06 1.48 3.06 0.42 0 1.05-0.66 1.89-1.99 0.84-1.32 1.28-2.33 1.34-3.02 0.12-1.14-0.33-1.72-1.34-1.72-0.48 0-0.97 0.1-1.48 0.33 0.99-3.22 2.86-4.8 5.63-4.7 2.06 0.05 3.02 1.39 2.91 4z",filled:!0},DM={d:"M12 2c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.45-10-10-10z m4.6 14.45c-0.2 0.3-0.55 0.4-0.85 0.2-2.35-1.45-5.3-1.75-8.8-0.95-0.35 0.1-0.65-0.15-0.75-0.45-0.1-0.35 0.15-0.65 0.45-0.75 3.8-0.85 7.1-0.5 9.7 1.1 0.35 0.15 0.4 0.55 0.25 0.85z m1.2-2.75c-0.25 0.35-0.7 0.5-1.05 0.25-2.7-1.65-6.8-2.15-9.95-1.15-0.4 0.1-0.85-0.1-0.95-0.5-0.1-0.4 0.1-0.85 0.5-0.95 3.65-1.1 8.15-0.55 11.25 1.35 0.3 0.15 0.45 0.65 0.2 1z m0.1-2.8c-3.2-1.9-8.55-2.1-11.6-1.15-0.5 0.15-1-0.15-1.15-0.6-0.15-0.5 0.15-1 0.6-1.15 3.55-1.05 9.4-0.85 13.1 1.35 0.45 0.25 0.6 0.85 0.35 1.3-0.25 0.35-0.85 0.5-1.3 0.25z",filled:!0},_M={d:"M22 13.8c-0.04 1.5-1.34 2.64-2.83 2.65h-6.82a0.57 0.57 0 0 1-0.56-0.57v-7.33a0.62 0.62 0 0 1 0.37-0.6s0.63-0.43 1.95-0.43a4.47 4.47 0 0 1 2.3 0.63 4.53 4.53 0 0 1 2.14 2.95c0.23-0.07 0.48-0.1 0.72-0.1 0.74 0 1.44 0.3 1.96 0.83s0.79 1.24 0.77 1.97z m-11.07-4.78c0.21 2.48 0.36 4.75 0 7.22a0.22 0.22 0 0 1-0.44 0c-0.33-2.45-0.18-4.76 0-7.22a0.22 0.22 0 0 1 0.44 0z m-1.37 0.85c0.24 2.22 0.31 4.15-0.01 6.38a0.23 0.23 0 0 1-0.45 0c-0.28-2.19-0.21-4.18 0-6.38a0.23 0.23 0 0 1 0.46 0z m-1.39-0.21c0.22 2.27 0.32 4.31 0 6.59a0.22 0.22 0 0 1-0.44 0c-0.32-2.24-0.21-4.34 0-6.59a0.22 0.22 0 0 1 0.44 0z m-1.37 0.64a21.76 21.76 0 0 1-0.01 5.96 0.23 0.23 0 0 1-0.45 0 23.3 23.3 0 0 1 0-5.96 0.23 0.23 0 0 1 0.46 0z m-1.39 1.48c0.35 1.55 0.19 2.92-0.02 4.49a0.21 0.21 0 0 1-0.43 0c-0.18-1.55-0.33-2.96 0-4.5a0.23 0.23 0 0 1 0.45 0z m-1.38-0.23c0.32 1.58 0.22 2.92-0.01 4.51-0.02 0.23-0.43 0.24-0.45 0-0.2-1.57-0.29-2.95-0.01-4.51a0.24 0.24 0 0 1 0.47 0z m-1.39 0.76c0.33 1.06 0.21 1.91-0.02 2.97a0.21 0.21 0 0 1-0.43 0c-0.2-1.05-0.29-1.93-0.02-2.97a0.24 0.24 0 0 1 0.47 0z",filled:!0},OM={d:"M5.51 2a3.5 3.5 0 0 0-3.51 3.51v12.98a3.5 3.5 0 0 0 3.51 3.51h12.98a3.5 3.5 0 0 0 3.51-3.51v-0.91c-0.11 0.01-0.23 0.02-0.35 0.02-2.15 0-3.36-1.79-3.41-4.03a6.33 6.33 0 0 1 0.02-0.59c0.08-0.99 0.4-1.87 0.92-2.52a3.24 3.24 0 0 1 1.16-0.91c0.39-0.2 0.94-0.31 1.39-0.31h0.02c0.08 0 0.17 0 0.25 0.01v-3.74a3.5 3.5 0 0 0-3.51-3.51z m0.16 4.65h3.47l2.99 7.03 3-7.03h3.22v0.12l-0.02 0.01c-0.59 0.13-0.89 0.33-0.89 1.04h0l0 8.56c0.05 0.56 0.35 0.74 0.89 0.86l0.02 0.01v0.12h-4.11v-0.12l0.02-0.01c0.53-0.12 0.83-0.29 0.88-0.86v-8.32l-3.96 9.29h-0.21l-3.85-9.04v7.87c0 0.71 0.3 0.91 0.89 1.04l0.02 0.01v0.12h-2.36v-0.12l0.02-0.01c0.59-0.13 0.89-0.33 0.88-1.04v-8.36c0-0.71-0.3-0.91-0.88-1.04l-0.02-0.01z m16.04 3.06c-0.91 0.02-1.44 1.1-1.51 2.6h1.8v-2.56a1.15 1.15 0 0 0-0.29-0.04z m-1.55 3.03c-0.08 1.46 0.72 2.7 1.84 3.02v-3.02z",filled:!0},LM={d:"M20.78 8.87h-17.56v-2.36h17.56v2.36z m-17.56 2.14v10.99l8.78-4.91 8.78 4.91v-10.99h-17.56z m17.56-9.01h-17.56v2.36h17.56v-2.36z",filled:!0},jM={d:"M21.13 8.01c0-2.55-1.99-4.65-4.33-5.4-2.9-0.94-6.72-0.8-9.48 0.5-3.35 1.58-4.41 5.05-4.45 8.51-0.03 2.84 0.25 10.33 4.48 10.38 3.14 0.04 3.61-4 5.05-5.95 1.03-1.38 2.36-1.78 4-2.18 2.81-0.7 4.73-2.92 4.73-5.86z",filled:!0},HM={d:"M17.16 2c-0.43 0-0.62 0.27-0.78 0.55 0 0-6.21 11.02-6.41 11.38 0.01 0.02 4.1 7.52 4.1 7.52 0.14 0.26 0.36 0.55 0.8 0.55h2.88c0.18 0 0.31-0.06 0.39-0.18 0.07-0.13 0.07-0.29-0.01-0.45l-4.07-7.43c0 0 0-0.01 0-0.02l6.39-11.29c0.08-0.16 0.08-0.32 0-0.45-0.07-0.12-0.21-0.18-0.38-0.18h-2.91z m-12.12 3.95c-0.18 0-0.32 0.06-0.39 0.18-0.08 0.12-0.06 0.28 0.01 0.44l1.95 3.38c0 0.01 0 0.01 0 0.01l-3.06 5.42c-0.08 0.16-0.08 0.32 0 0.44 0.07 0.12 0.2 0.2 0.38 0.19h2.88c0.43 0 0.64-0.29 0.79-0.55l3.11-5.51-1.98-3.46c-0.14-0.26-0.36-0.55-0.8-0.55h-2.89v0.01z",filled:!0},UM={d:"M9.24 3.82c-4 0-7.24 2.74-7.24 6.12 0 1.84 0.98 3.5 2.5 4.63a0.49 0.49 0 0 1 0.18 0.55l-0.33 1.23c-0.02 0.06-0.04 0.12-0.04 0.18 0 0.14 0.11 0.25 0.25 0.25a0.27 0.27 0 0 0 0.13-0.05l1.59-0.93a0.72 0.72 0 0 1 0.6-0.08 8.47 8.47 0 0 0 2.36 0.34c0.23 0 0.45-0.02 0.68-0.04-0.71-2.15 0.13-4.14 1.61-5.38 1.42-1.18 3.24-1.65 4.88-1.53-0.48-2.99-3.5-5.29-7.17-5.29z m-2.42 3.17c0.54 0 0.97 0.44 0.97 0.99a0.97 0.97 0 0 1-0.97 0.98 0.97 0.97 0 0 1-0.97-0.99c0-0.54 0.43-0.98 0.97-0.98z m4.84 0c0.54 0 0.97 0.44 0.97 0.99a0.97 0.97 0 0 1-0.97 0.98 0.97 0.97 0 0 1-0.96-0.98c0-0.54 0.43-0.98 0.96-0.99z m4.46 2.39c-1.5-0.04-3.12 0.43-4.41 1.49-1.43 1.19-2.24 3.1-1.48 5.18 0.79 2.04 3.05 3.52 5.74 3.53 0.69 0 1.35-0.1 1.97-0.28a0.6 0.6 0 0 1 0.49 0.07l1.32 0.77a0.23 0.23 0 0 0 0.12 0.04c0.11 0 0.2-0.09 0.2-0.21 0-0.05-0.02-0.1-0.03-0.15l-0.27-1.02a0.48 0.48 0 0 1-0.02-0.13 0.41 0.41 0 0 1 0.16-0.34c1.27-0.93 2.09-2.32 2.09-3.85 0-2.68-2.44-4.86-5.55-5.07v0c-0.11-0.01-0.22-0.02-0.34-0.03z m-2.11 2.73c0.45 0 0.81 0.37 0.8 0.82a0.81 0.81 0 0 1-0.8 0.82 0.81 0.81 0 0 1-0.81-0.82c0-0.45 0.36-0.82 0.81-0.82z m4.03 0c0.45 0 0.81 0.37 0.81 0.82a0.81 0.81 0 0 1-0.81 0.82 0.81 0.81 0 0 1-0.8-0.82c0-0.45 0.36-0.82 0.8-0.82z",filled:!0},BM={d:"M18.14 10.22c0.29 0 0.52 0.24 0.52 0.52 0 0.29-0.23 0.53-0.52 0.53h-1.47v0.94h1.47c0.29 0 0.52 0.24 0.52 0.52 0 0.29-0.23 0.52-0.52 0.53h-1.99c-0.29 0-0.52-0.24-0.52-0.53v-3.97c0-0.29 0.24-0.53 0.52-0.53h1.99c0.29 0 0.52 0.24 0.52 0.53 0 0.29-0.23 0.53-0.52 0.52h-1.47v0.94h1.47z m-3.22 2.51c0 0.22-0.14 0.43-0.36 0.5-0.05 0.02-0.11 0.03-0.16 0.02-0.18 0-0.33-0.07-0.43-0.2l-2.03-2.77v2.45c0 0.29-0.23 0.52-0.53 0.53-0.29 0-0.52-0.24-0.52-0.53v-3.97c0-0.22 0.14-0.43 0.36-0.5 0.05-0.02 0.11-0.03 0.16-0.03 0.16 0 0.31 0.09 0.41 0.21l2.05 2.78v-2.46c0-0.29 0.24-0.53 0.53-0.53 0.29 0 0.53 0.24 0.52 0.53v3.97z m-4.78 0c0 0.29-0.24 0.52-0.53 0.53-0.29 0-0.52-0.24-0.52-0.53v-3.97c0-0.29 0.23-0.53 0.53-0.53 0.29 0 0.52 0.24 0.52 0.53v3.97z m-2.05 0.53h-1.99c-0.29 0-0.53-0.24-0.53-0.53v-3.97c0-0.29 0.24-0.53 0.53-0.53 0.29 0 0.52 0.24 0.52 0.53v3.45h1.47c0.29 0 0.52 0.24 0.52 0.52 0 0.29-0.23 0.52-0.52 0.53m13.91-2.67c0-4.48-4.49-8.12-10-8.11s-10 3.64-10 8.11c0 4.01 3.56 7.37 8.36 8.01 0.33 0.07 0.77 0.21 0.88 0.49 0.1 0.25 0.07 0.64 0.04 0.9l-0.14 0.85c-0.04 0.25-0.2 0.99 0.87 0.54 1.08-0.45 5.76-3.4 7.87-5.81 1.44-1.57 2.12-3.19 2.12-4.98",filled:!0},qM={d:"M11.5 2c-1.61 0.02-5.06 0.29-6.98 2.06-1.43 1.43-1.94 3.53-1.99 6.12-0.05 2.6-0.12 7.47 4.57 8.79h0l0 2.01s-0.03 0.81 0.51 0.98c0.65 0.2 1.03-0.42 1.65-1.08 0.34-0.37 0.81-0.9 1.16-1.32 3.21 0.27 5.68-0.35 5.96-0.44 0.65-0.21 4.31-0.68 4.91-5.55 0.62-5.02-0.3-8.19-1.95-9.62-0.5-0.46-2.5-1.92-6.98-1.93 0 0-0.33-0.02-0.86-0.02z m0.05 1.41c0.45 0 0.73 0.01 0.73 0.02 3.79 0.02 5.6 1.16 6.02 1.53 1.4 1.2 2.11 4.06 1.59 8.25v0c-0.5 4.06-3.48 4.32-4.03 4.5-0.23 0.07-2.4 0.61-5.13 0.44 0 0-2.03 2.45-2.66 3.08-0.1 0.1-0.22 0.14-0.29 0.12-0.11-0.03-0.14-0.16-0.14-0.34l0.02-3.35c-3.97-1.1-3.74-5.24-3.7-7.41 0.04-2.17 0.45-3.95 1.67-5.15 1.63-1.48 4.56-1.68 5.92-1.69z m0.32 2.17c-0.14 0-0.25 0.11-0.26 0.25 0 0.14 0.11 0.25 0.25 0.26 1.35 0.01 2.46 0.45 3.36 1.32 0.89 0.87 1.35 2.06 1.36 3.61 0 0.14 0.12 0.25 0.26 0.25 0.14 0 0.25-0.12 0.25-0.25-0.01-1.65-0.52-3-1.52-3.97-0.99-0.97-2.24-1.46-3.7-1.47z m-3.3 0.58c-0.16-0.03-0.33 0-0.52 0.1l-0.01 0c-0.36 0.21-0.68 0.47-0.95 0.77 0 0 0 0-0.01 0.01-0.22 0.27-0.35 0.53-0.38 0.79-0.01 0.04-0.01 0.08-0.01 0.12 0 0.11 0.02 0.22 0.06 0.33l0.01 0.01c0.11 0.4 0.39 1.06 1 2.17 0.35 0.64 0.75 1.25 1.21 1.82 0.23 0.29 0.47 0.56 0.72 0.82l0.11 0.11c0.26 0.26 0.53 0.5 0.82 0.73 0.57 0.45 1.18 0.86 1.82 1.2 1.11 0.61 1.77 0.89 2.17 1.01l0.01 0.01c0.11 0.04 0.22 0.05 0.34 0.05 0.04 0 0.08 0 0.11-0.01 0.26-0.03 0.52-0.16 0.79-0.38 0 0 0 0 0.01 0 0.31-0.27 0.57-0.6 0.77-0.96l0.01-0.01c0.19-0.36 0.12-0.7-0.15-0.93 0 0-0.58-0.48-0.87-0.69-0.3-0.21-0.61-0.41-0.93-0.59-0.42-0.24-0.86-0.09-1.04 0.14l-0.37 0.47c-0.19 0.24-0.55 0.21-0.55 0.21-2.6-0.66-3.3-3.3-3.29-3.3s-0.03-0.36 0.21-0.55l0.46-0.37c0.23-0.18 0.38-0.61 0.15-1.04-0.18-0.32-0.38-0.63-0.6-0.93-0.21-0.28-0.69-0.86-0.69-0.86-0.11-0.14-0.26-0.22-0.42-0.25z m3.74 0.73c-0.13 0-0.24 0.1-0.25 0.24-0.01 0.14 0.1 0.26 0.23 0.27 0.97 0.07 1.68 0.39 2.21 0.96 0.53 0.57 0.77 1.27 0.75 2.14 0 0.14 0.11 0.26 0.25 0.26 0.14 0 0.25-0.11 0.26-0.25 0.02-0.98-0.28-1.83-0.89-2.5-0.62-0.67-1.48-1.04-2.54-1.12h-0.02z m0.38 1.36c-0.13 0-0.24 0.11-0.25 0.24-0.01 0.14 0.1 0.26 0.24 0.27 0.44 0.02 0.73 0.15 0.93 0.35 0.2 0.2 0.32 0.52 0.35 0.97 0.01 0.14 0.13 0.25 0.26 0.24 0.14-0.01 0.25-0.13 0.24-0.27-0.03-0.54-0.18-0.98-0.48-1.29-0.31-0.31-0.74-0.48-1.27-0.51h-0.01z",filled:!0},VM={d:"M12 2.25c-5.52 0-10 4.48-10 10 0 4.42 2.87 8.17 6.84 9.49 0.5 0.09 0.68-0.21 0.68-0.49 0-0.24-0.01-0.87-0.01-1.7-2.78 0.6-3.37-1.34-3.37-1.34-0.46-1.15-1.11-1.46-1.11-1.46-0.91-0.62 0.07-0.61 0.07-0.61 1 0.07 1.53 1.03 1.53 1.03 0.89 1.53 2.34 1.09 2.91 0.83 0.09-0.65 0.35-1.09 0.64-1.33-2.22-0.25-4.55-1.11-4.56-4.94 0-1.09 0.39-1.98 1.03-2.69-0.11-0.25-0.45-1.27 0.09-2.64 0 0 0.84-0.27 2.75 1.02 0.8-0.22 1.65-0.33 2.5-0.34 0.85 0 1.7 0.11 2.5 0.34 1.9-1.29 2.74-1.03 2.73-1.02 0.54 1.38 0.2 2.39 0.1 2.64 0.64 0.7 1.02 1.59 1.03 2.69 0 3.84-2.34 4.69-4.56 4.93 0.35 0.3 0.68 0.91 0.67 1.85 0 1.34-0.01 2.41-0.01 2.74 0 0.26 0.18 0.58 0.69 0.47 4-1.31 6.86-5.06 6.86-9.47 0-5.52-4.48-10-10-10",filled:!0},GM={d:"M21.67 9.99l-0.03-0.07-2.72-7.1a0.71 0.71 0 0 0-0.28-0.34 0.73 0.73 0 0 0-0.84 0.05 0.73 0.73 0 0 0-0.24 0.36l-1.84 5.63h-7.44l-1.84-5.63a0.71 0.71 0 0 0-0.24-0.37 0.73 0.73 0 0 0-0.83-0.04 0.72 0.72 0 0 0-0.28 0.34l-2.73 7.1-0.03 0.07a5.05 5.05 0 0 0 1.68 5.84l0.01 0.01 0.03 0.02 4.14 3.1 2.05 1.56 1.25 0.94a0.84 0.84 0 0 0 1.02 0l1.25-0.94 2.05-1.56 4.17-3.12 0.01-0.01a5.06 5.06 0 0 0 1.68-5.84z",filled:!0},YM={d:"M12 22c-5.51 0-10-4.49-10-10s4.49-10 10-10 10 4.49 10 10-4.49 10-10 10z m8.43-8.63c-0.29-0.09-2.64-0.79-5.32-0.37 1.12 3.07 1.57 5.57 1.66 6.09 1.92-1.3 3.28-3.35 3.67-5.72z m-5.09 6.51c-0.13-0.75-0.63-3.36-1.83-6.48l-0.05 0.02c-4.82 1.68-6.55 5.02-6.7 5.33 1.44 1.13 3.27 1.8 5.24 1.81 1.18 0 2.31-0.24 3.33-0.68z m-9.69-2.16c0.19-0.33 2.54-4.21 6.95-5.63 0.11-0.04 0.22-0.07 0.33-0.1-0.22-0.49-0.45-0.97-0.69-1.45-4.27 1.28-8.4 1.22-8.78 1.21l0 0.26c0 2.19 0.83 4.2 2.19 5.71z m-2.01-7.46c0.38 0.01 3.9 0.02 7.89-1.04-1.42-2.51-2.94-4.63-3.16-4.94-2.39 1.13-4.17 3.33-4.73 5.98z m6.36-6.55c0.23 0.32 1.79 2.43 3.18 5 3.04-1.14 4.33-2.87 4.48-3.08-1.51-1.34-3.49-2.16-5.66-2.16-0.69 0-1.36 0.08-2 0.24z m8.61 2.9c-0.18 0.24-1.61 2.08-4.77 3.37 0.2 0.41 0.39 0.82 0.57 1.24 0.07 0.15 0.13 0.3 0.18 0.44 2.84-0.36 5.67 0.22 5.95 0.27-0.02-2.02-0.73-3.87-1.92-5.31z",filled:!0},XM={d:"M16.14 16.11a2.13 2.13 0 0 0 1.59 0.56 2.08 2.08 0 0 0 1.27-0.4c0.3-0.2 0.53-0.49 0.65-0.82h2.15a4.24 4.24 0 0 1-1.58 2.41 4.41 4.41 0 0 1-2.57 0.74 4.87 4.87 0 0 1-1.91-0.37 4.06 4.06 0 0 1-1.43-1 4.71 4.71 0 0 1-0.9-1.57 5.88 5.88 0 0 1-0.32-1.99c0-0.67 0.11-1.33 0.33-1.96a4.43 4.43 0 0 1 4.24-3 4.06 4.06 0 0 1 1.98 0.47c0.55 0.3 1.03 0.73 1.39 1.24a5.17 5.17 0 0 1 0.78 1.77c0.16 0.68 0.22 1.39 0.17 2.09h-6.41c-0.05 0.66 0.15 1.31 0.57 1.83z m-8.35-10.71a6.72 6.72 0 0 1 1.61 0.17 3.58 3.58 0 0 1 1.24 0.53c0.35 0.25 0.62 0.59 0.8 0.98 0.2 0.48 0.3 1 0.28 1.53a2.92 2.92 0 0 1-0.42 1.63 3.1 3.1 0 0 1-1.25 1.08 2.99 2.99 0 0 1 1.69 1.19c0.39 0.62 0.58 1.35 0.55 2.08a3.83 3.83 0 0 1-0.35 1.7 3.29 3.29 0 0 1-0.97 1.17 4.26 4.26 0 0 1-1.4 0.68 5.95 5.95 0 0 1-1.61 0.21h-5.96v-12.95h5.79z m-0.2 10.75c0.26 0 0.51-0.02 0.77-0.08a1.82 1.82 0 0 0 0.64-0.28c0.19-0.13 0.34-0.31 0.44-0.51 0.12-0.26 0.17-0.55 0.16-0.84a1.73 1.73 0 0 0-0.54-1.43 2.18 2.18 0 0 0-1.41-0.42h-2.95v3.56h2.89z m11.37-4.97a1.77 1.77 0 0 0-1.38-0.52 1.95 1.95 0 0 0-0.97 0.22 2.06 2.06 0 0 0-0.62 0.52 1.97 1.97 0 0 0-0.33 0.66c-0.06 0.2-0.1 0.4-0.11 0.61h3.97a2.7 2.7 0 0 0-0.56-1.49l0 0z m-11.51-0.54a1.88 1.88 0 0 0 1.18-0.36c0.33-0.3 0.51-0.73 0.47-1.18a1.6 1.6 0 0 0-0.15-0.74 1.08 1.08 0 0 0-0.41-0.44 1.54 1.54 0 0 0-0.6-0.23 3.31 3.31 0 0 0-0.69-0.06h-2.55v3.02h2.75v-0.01z m12.57-4.37h-4.98v1.27h4.98v-1.27z",filled:!0},KM={d:"M15.21 9.48h-3.82v-7.48h3.82c2.06 0 3.74 1.68 3.74 3.74s-1.68 3.74-3.74 3.74z m-2.6-1.22h2.6c1.39 0 2.52-1.13 2.52-2.52s-1.13-2.52-2.52-2.51h-2.6v5.03z m0 1.22h-3.82c-2.06 0-3.74-1.68-3.74-3.74s1.68-3.74 3.74-3.74h3.82v7.48z m-3.82-6.25c-1.39 0-2.52 1.13-2.52 2.51s1.13 2.52 2.52 2.52h2.6v-5.03h-2.6z m3.82 12.51h-3.82c-2.06 0-3.74-1.68-3.74-3.74s1.68-3.74 3.74-3.74h3.82v7.48z m-3.82-6.26c-1.39 0-2.52 1.13-2.52 2.52s1.13 2.52 2.52 2.52h2.6v-5.04h-2.6z m0.02 12.52c-2.07 0-3.76-1.68-3.76-3.74s1.68-3.74 3.74-3.74h3.82v3.7c0 2.09-1.71 3.78-3.8 3.78z m-0.02-6.26a2.52 2.52 0 0 0-2.52 2.52c0 1.39 1.14 2.52 2.54 2.51 1.42 0 2.58-1.15 2.58-2.55v-2.48h-2.6z m6.42 0h-0.08c-2.06 0-3.74-1.68-3.74-3.74s1.68-3.74 3.74-3.74h0.08c2.06 0 3.74 1.68 3.74 3.74s-1.68 3.74-3.74 3.74z m-0.08-6.26c-1.39 0-2.52 1.13-2.52 2.52s1.13 2.52 2.52 2.52h0.08c1.39 0 2.52-1.13 2.52-2.52s-1.13-2.52-2.52-2.52h-0.08z",filled:!0},QM={d:"M5.72 5.51c0.62 0.5 0.85 0.47 2.02 0.38l11.01-0.66c0.23 0 0.04-0.23-0.04-0.27l-1.83-1.32c-0.35-0.27-0.82-0.58-1.71-0.51l-10.66 0.78c-0.39 0.04-0.47 0.23-0.31 0.39z m0.66 2.56v11.59c0 0.62 0.31 0.86 1.01 0.82l12.1-0.7c0.7-0.04 0.78-0.47 0.78-0.98v-11.51c0-0.5-0.19-0.78-0.62-0.73l-12.65 0.73c-0.47 0.04-0.62 0.27-0.62 0.78z m11.94 0.62c0.08 0.35 0 0.7-0.35 0.74l-0.58 0.12v8.55c-0.51 0.27-0.97 0.43-1.36 0.43-0.62 0-0.78-0.2-1.25-0.78l-3.81-5.98v5.79l1.21 0.27s0 0.7-0.98 0.7l-2.68 0.16c-0.08-0.15 0-0.54 0.27-0.62l0.7-0.2v-7.66l-0.97-0.08c-0.08-0.35 0.12-0.86 0.66-0.89l2.88-0.2 3.97 6.07v-5.37l-1.01-0.11c-0.08-0.43 0.23-0.74 0.62-0.78z m-14.71-5.83l11.1-0.81c1.36-0.12 1.71-0.04 2.56 0.58l3.54 2.49c0.58 0.43 0.78 0.54 0.78 1.01v13.65c0 0.86-0.31 1.36-1.4 1.43l-12.88 0.78c-0.82 0.04-1.21-0.08-1.63-0.62l-2.61-3.38c-0.47-0.62-0.66-1.09-0.66-1.64v-12.13c0-0.7 0.31-1.28 1.2-1.36z",filled:!0},ZM={d:"M3.47 2c-0.81 0-1.47 0.66-1.47 1.47v17.06c0 0.81 0.66 1.47 1.47 1.47h17.06c0.81 0 1.47-0.66 1.47-1.47v-17.06c0-0.81-0.66-1.47-1.47-1.47z m2.81 4.44l11.53 0.01-0.01 11.53h-2.89l0.01-8.65h-2.88l-0.01 8.65h-5.77z",filled:!0},FM={d:"M13.65 11.23h1.77a0.15 0.15 0 0 0 0.15-0.15v-1.58a0.15 0.15 0 0 0-0.15-0.15h-1.77a0.15 0.15 0 0 0-0.15 0.15v1.58c0 0.09 0.07 0.15 0.15 0.15m-2.46-4.52h1.77a0.15 0.15 0 0 0 0.15-0.16v-1.57a0.15 0.15 0 0 0-0.15-0.16h-1.77a0.15 0.15 0 0 0-0.15 0.16v1.57c0 0.08 0.07 0.15 0.15 0.16m0 2.26h1.77a0.16 0.16 0 0 0 0.15-0.16v-1.57a0.15 0.15 0 0 0-0.15-0.15h-1.77a0.15 0.15 0 0 0-0.15 0.15v1.57c0 0.08 0.07 0.15 0.15 0.16m-2.44 0h1.77a0.15 0.15 0 0 0 0.15-0.16v-1.57a0.15 0.15 0 0 0-0.15-0.15h-1.77a0.15 0.15 0 0 0-0.15 0.15v1.57c0 0.08 0.07 0.15 0.15 0.16m-2.47 0h1.77a0.15 0.15 0 0 0 0.15-0.16v-1.57a0.15 0.15 0 0 0-0.15-0.15h-1.77a0.15 0.15 0 0 0-0.15 0.15v1.57c0 0.08 0.07 0.15 0.15 0.16m4.91 2.26h1.77a0.15 0.15 0 0 0 0.15-0.15v-1.58a0.15 0.15 0 0 0-0.15-0.15h-1.77a0.15 0.15 0 0 0-0.15 0.15v1.58c0 0.09 0.07 0.15 0.15 0.15m-2.44 0h1.77a0.15 0.15 0 0 0 0.15-0.15v-1.58a0.15 0.15 0 0 0-0.15-0.15h-1.77a0.15 0.15 0 0 0-0.15 0.15v1.58c0 0.09 0.07 0.15 0.15 0.15m-2.47 0h1.77a0.15 0.15 0 0 0 0.15-0.15v-1.58a0.15 0.15 0 0 0-0.15-0.15h-1.77a0.15 0.15 0 0 0-0.15 0.15v1.58c0 0.09 0.07 0.15 0.15 0.15m-2.43 0h1.76a0.15 0.15 0 0 0 0.16-0.15v-1.58a0.15 0.15 0 0 0-0.16-0.15h-1.76a0.15 0.15 0 0 0-0.16 0.15v1.58c0 0.09 0.07 0.15 0.16 0.15m17.95-0.99c-0.05-0.04-0.56-0.43-1.63-0.42-0.28 0-0.56 0.03-0.84 0.07-0.21-1.42-1.38-2.11-1.43-2.14l-0.28-0.17-0.19 0.28c-0.24 0.36-0.41 0.77-0.51 1.19-0.19 0.81-0.07 1.57 0.33 2.22-0.5 0.28-1.29 0.34-1.45 0.35h-13.17a0.63 0.63 0 0 0-0.63 0.62 9.48 9.48 0 0 0 0.58 3.38c0.45 1.19 1.13 2.07 2.01 2.61 0.98 0.6 2.58 0.95 4.39 0.95 0.82 0 1.64-0.07 2.44-0.23a10.21 10.21 0 0 0 3.19-1.15c0.82-0.47 1.55-1.07 2.17-1.78 1.04-1.18 1.66-2.5 2.13-3.67h0.19c1.14 0 1.85-0.46 2.23-0.84 0.26-0.24 0.46-0.54 0.59-0.87l0.08-0.24z",filled:!0},IM={d:"M12 3.34l10 17.32h-20z",filled:!0},JM={d:"M15.1 2l-1.43 1.06 5.33 7.16 1.43-1.06-5.33-7.16z m-3.28 2.85l-1.14 1.37 6.85 5.71 1.14-1.37-6.85-5.71z m-2.62 3.72l-0.76 1.62 8.09 3.76 0.75-1.62-8.08-3.76z m-1.55 4.05l-0.36 1.74 8.72 1.84 0.37-1.75-8.73-1.83z m-4.08 2.27v7.11h16v-7.11h-1.78v5.33h-12.44v-5.33h-1.78z m3.56 1.78v1.77h8.88v-1.77h-8.88z",filled:!0},PM={d:"M13.34 9h-2.84v3h2.84c0.83 0 1.5-0.67 1.5-1.5 0-0.83-0.67-1.5-1.5-1.5z m-1.34-7c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10z m1.34 12h-2.84v3h-2v-10h4.84c1.93 0 3.5 1.57 3.5 3.5 0 1.93-1.57 3.5-3.5 3.5z",filled:!0},$M={d:"M12.02 2.94c-4.81 0-8.71 3.87-8.71 8.65 0 0.93 0.15 1.82 0.42 2.66 0.05-0.18 0.17-0.37 0.35-0.49a0.8 0.8 0 0 1 0.44-0.12c0.24 0 0.49 0.1 0.7 0.24 0.23 0.14 0.4 0.34 0.59 0.57 0.19 0.23 0.38 0.51 0.57 0.8v-0.01c0.01-0.27 0.09-0.52 0.22-0.73s0.34-0.41 0.63-0.46c0.25-0.04 0.5 0.05 0.66 0.17s0.26 0.26 0.33 0.39c0.13 0.21 0.18 0.39 0.2 0.45 0.01 0.02 0.54 1.29 1.38 2.12 0.51 0.5 0.84 1.02 0.9 1.59 0.05 0.45-0.08 0.88-0.32 1.31 0.53 0.1 1.08 0.16 1.64 0.16 0.55 0 1.08-0.05 1.6-0.15-0.24-0.43-0.37-0.87-0.32-1.32 0.06-0.57 0.39-1.09 0.9-1.59 0.84-0.82 1.37-2.09 1.38-2.12 0.02-0.06 0.07-0.24 0.2-0.45 0.07-0.13 0.17-0.27 0.33-0.39a0.9 0.9 0 0 1 0.66-0.17c0.3 0.05 0.5 0.24 0.63 0.46s0.21 0.46 0.22 0.73v0.01c0.19-0.28 0.38-0.56 0.57-0.8 0.19-0.24 0.36-0.43 0.59-0.57 0.21-0.13 0.46-0.24 0.7-0.24a0.81 0.81 0 0 1 0.44 0.12c0.19 0.12 0.31 0.32 0.36 0.53l0 0.03a8.58 8.58 0 0 0 0.45-2.73c0-4.78-3.9-8.65-8.71-8.65m-3.08 4.55a1.25 1.25 0 0 1 0.59 0.14 1.24 1.24 0 0 1 0.52 1.68c-0.15 0.29-0.64-0.18-0.92-0.08-0.32 0.11-0.44 0.76-0.76 0.59a1.24 1.24 0 0 1 0.57-2.33m6.24 0a1.24 1.24 0 0 1 0.57 2.33c-0.32 0.17-0.45-0.48-0.76-0.59-0.28-0.1-0.77 0.36-0.92 0.08a1.24 1.24 0 0 1 0.51-1.68 1.25 1.25 0 0 1 0.6-0.14m-8.9 1.29a0.8 0.8 0 1 1 0 1.6 0.8 0.8 0 0 1 0-1.6m11.53 0a0.8 0.8 0 1 1 0 1.6 0.8 0.8 0 0 1 0-1.6m-8.74 2.77c0.49 0.01 1.64 0.96 2.98 0.97 1.34-0.01 2.49-0.96 2.98-0.97 0.16 0 0.25 0.1 0.25 0.38 0 0.74-0.35 1.94-1.3 2.67-0.18-0.63-1.16-1.14-1.36-1.1q-0.01 0-0.02 0l-0.03 0.02-0.01 0.01-0.03 0.02q-0.02 0.01-0.02 0.03l-0.03 0.03a0.83 0.83 0 0 0-0.05 0.08l-0.01 0.02q-0.04 0.07-0.09 0.16a0.83 0.83 0 0 1-0.07 0.09 1 1 0 0 1-0.15 0.15q-0.03 0.02-0.06 0.05a1.08 1.08 0 0 1-0.21-0.2 0.83 0.83 0 0 1-0.06-0.09c-0.1-0.16-0.15-0.3-0.28-0.37-0.03-0.01-0.09-0.01-0.17 0.02q-0.08 0.03-0.18 0.07-0.05 0.02-0.1 0.05l-0.11 0.07q-0.06 0.03-0.11 0.07a2.5 2.5 0 0 0-0.12 0.08 2.5 2.5 0 0 0-0.21 0.18 1.67 1.67 0 0 0-0.1 0.1 1.67 1.67 0 0 0-0.09 0.11l0 0a1.67 1.67 0 0 0-0.08 0.11l0 0a1 1 0 0 0-0.09 0.18q-0.01 0.03-0.02 0.06c-0.95-0.73-1.3-1.93-1.3-2.67 0-0.28 0.09-0.38 0.25-0.38m0.7 8.63c0.69-0.99 0.64-1.73-0.3-2.66-0.94-0.93-1.49-2.28-1.49-2.29s-0.21-0.79-0.68-0.71-0.81 1.25 0.17 1.97c0.98 0.72-0.19 1.21-0.57 0.53-0.38-0.68-1.4-2.41-1.93-2.74s-0.91-0.15-0.78 0.53 2.35 2.34 2.13 2.71-0.98-0.42-0.98-0.42-2.39-2.14-2.91-1.59 0.39 1.02 1.7 1.8c1.3 0.78 1.41 0.98 1.22 1.28s-3.06-2.09-3.33-1.08c-0.27 1.01 2.94 1.31 2.74 2-0.2 0.7-2.26-1.32-2.68-0.53-0.42 0.79 2.91 1.71 2.93 1.72 1.07 0.27 3.81 0.86 4.76-0.52m4.46 0c-0.69-0.99-0.64-1.74 0.3-2.66 0.94-0.93 1.49-2.28 1.49-2.29s0.2-0.79 0.68-0.71 0.81 1.25-0.17 1.97c-0.98 0.72 0.19 1.21 0.57 0.53 0.38-0.68 1.4-2.41 1.93-2.74s0.91-0.15 0.78 0.53-2.35 2.34-2.13 2.71 0.98-0.42 0.98-0.42 2.39-2.14 2.91-1.59-0.39 1.03-1.7 1.8c-1.3 0.78-1.41 0.98-1.22 1.28s3.06-2.09 3.33-1.08c0.27 1.01-2.94 1.31-2.74 2 0.2 0.7 2.26-1.32 2.68-0.53 0.42 0.79-2.91 1.71-2.93 1.72-1.08 0.27-3.81 0.86-4.76-0.52",filled:!0},WM={d:"M16.42 4.95h-3.06l5.58 14.1h3.06z m-8.84 0l-5.58 14.1h3.12l1.14-2.96h5.84l1.14 2.96h3.12l-5.58-14.1z m-0.31 8.52l1.91-4.95 1.91 4.95z",filled:!0},ek={d:"M5.93 15.3l3.93-2.21 0.07-0.19-0.07-0.11h-0.19l-0.66-0.04-2.25-0.06-1.94-0.08-1.89-0.1-0.48-0.1-0.44-0.59 0.04-0.29 0.4-0.27 0.57 0.05 1.27 0.09 1.9 0.13 1.37 0.08 2.04 0.21h0.33l0.04-0.13-0.11-0.08-0.09-0.08-1.96-1.33-2.12-1.41-1.12-0.81-0.6-0.41-0.3-0.38-0.13-0.84 0.54-0.61 0.74 0.05 0.18 0.06 0.75 0.57 1.59 1.23 2.07 1.52 0.3 0.26 0.12-0.09 0.02-0.06-0.14-0.23-1.13-2.04-1.2-2.07-0.54-0.86-0.14-0.52c-0.05-0.21-0.09-0.39-0.08-0.6l0.62-0.85 0.34-0.11 0.83 0.11 0.35 0.3 0.52 1.18 0.83 1.86 1.3 2.53 0.38 0.74 0.2 0.7 0.08 0.21h0.13v-0.12l0.1-1.42 0.2-1.75 0.19-2.25 0.07-0.63 0.31-0.76 0.62-0.41 0.49 0.24 0.4 0.57-0.06 0.37-0.23 1.54-0.47 2.42-0.3 1.62h0.17l0.21-0.2 0.82-1.09 1.37-1.72 0.61-0.69 0.71-0.75 0.45-0.36h0.86l0.64 0.94-0.29 0.97-0.88 1.13-0.74 0.95-1.05 1.41-0.66 1.14 0.06 0.09 0.16-0.02 2.38-0.5 1.28-0.23 1.54-0.27 0.69 0.33 0.08 0.32-0.28 0.68-1.64 0.4-1.92 0.39-2.86 0.68-0.04 0.02 0.04 0.05 1.29 0.12 0.55 0.03h1.36l2.51 0.19 0.66 0.44 0.39 0.53-0.06 0.4-1.02 0.52-1.36-0.33-3.19-0.76-1.09-0.27h-0.15v0.09l0.91 0.89 1.67 1.51 2.09 1.94 0.1 0.48-0.27 0.38-0.28-0.04-1.84-1.38-0.7-0.62-1.61-1.35h-0.1v0.14l0.37 0.54 1.95 2.94 0.1 0.9-0.14 0.29-0.51 0.18-0.55-0.1-1.15-1.61-1.18-1.8-0.95-1.62-0.11 0.06-0.57 6.05-0.26 0.31-0.61 0.23-0.5-0.38-0.27-0.63 0.27-1.23 0.32-1.6 0.26-1.28 0.24-1.58 0.14-0.52-0.01-0.04-0.11 0.01-1.2 1.64-1.81 2.46-1.44 1.54-0.34 0.13-0.6-0.31 0.06-0.55 0.33-0.49 1.99-2.53 1.2-1.57 0.77-0.9 0-0.13h-0.05l-5.28 3.43-0.94 0.12-0.41-0.38 0.05-0.62 0.2-0.21 1.58-1.09z",filled:!0},tk={d:"M12.13 7.75c-0.79 0-2.01-0.9-3.3-0.87-1.7 0.02-3.26 0.99-4.14 2.51-1.76 3.06-0.46 7.59 1.27 10.08 0.84 1.21 1.84 2.57 3.16 2.53 1.27-0.05 1.74-0.82 3.28-0.82 1.53 0 1.96 0.82 3.3 0.79 1.36-0.02 2.23-1.23 3.06-2.46 0.96-1.41 1.36-2.77 1.39-2.85-0.03-0.01-2.65-1.02-2.69-4.04-0.02-2.53 2.07-3.75 2.17-3.8-1.19-1.74-3.02-1.94-3.66-1.98-1.67-0.13-3.06 0.91-3.84 0.91z m2.81-2.56c0.7-0.84 1.17-2.02 1.04-3.19-1.01 0.04-2.22 0.67-2.94 1.51-0.65 0.75-1.21 1.95-1.06 3.1 1.12 0.09 2.26-0.57 2.96-1.42",filled:!0},ak={d:"M12.4 11.1v2.73h6.53c-0.2 1.53-0.71 2.66-1.49 3.45-0.96 0.96-2.44 2-5.04 2-4.02 0-7.17-3.24-7.17-7.27s3.14-7.27 7.17-7.27c2.17 0 3.76 0.86 4.92 1.96l1.92-1.92c-1.62-1.58-3.8-2.78-6.84-2.78-5.51 0-10.14 4.49-10.14 10s4.63 10 10.14 10c2.98 0 5.22-0.98 6.98-2.8 1.8-1.8 2.37-4.34 2.36-6.39 0-0.63-0.04-1.22-0.14-1.71h-9.2z",filled:!0},nk={d:"M17.37 6.63c-0.56 0.97-1.13 1.94-1.69 2.92-0.03-0.01-0.06-0.02-0.1-0.04-1.52-0.58-2.9-0.67-3.68-0.65-1.55 0.02-2.8 0.39-3.55 0.68-0.07-0.12-1.46-2.52-1.68-2.91a0.95 0.95 0 0 0-0.12-0.16c-0.28-0.3-0.75-0.4-1.15-0.16-0.4 0.23-0.59 0.78-0.32 1.25 1.62 2.81-0.08-0.18 1.62 2.8 0.01 0.03-0.41 0.22-1.16 0.84-1.12 0.94-3.16 3.11-3.54 6.63h20c-0.1-0.93-0.31-1.75-0.62-2.56-0.62-1.59-1.54-2.74-2.29-3.49a10.09 10.09 0 0 0-1.77-1.4c0.55-0.93 1.09-1.88 1.64-2.82 0.17-0.3 0.16-0.66-0.01-0.94a0.92 0.92 0 0 0-0.71-0.44c-0.44-0.04-0.78 0.26-0.87 0.45z m-0.04 7.05c0.33 0.49 0.27 1.11-0.13 1.38-0.4 0.27-0.99 0.08-1.31-0.41-0.33-0.49-0.27-1.11 0.13-1.38 0.39-0.26 0.98-0.09 1.31 0.41z m-9.32-0.41c0.4 0.27 0.46 0.88 0.13 1.38-0.33 0.49-0.92 0.68-1.32 0.41-0.4-0.27-0.46-0.88-0.13-1.37 0.33-0.5 0.92-0.68 1.32-0.42z",filled:!0},lk={d:"M7 3.51l-5 3.18 5 3.19 5-3.19-5-3.18z m10 0l-5 3.18 5 3.19 5-3.19-5-3.18z m-15 9.55l5 3.19 5-3.19-5-3.18-5 3.18z m15-3.18l-5 3.18 5 3.19 5-3.19-5-3.18z m-10 7.43l5 3.18 5-3.18-5-3.19-5 3.19z",filled:!0},ik={d:"M12.01 3.24c-1.73 0-3.13 0.02-3.12 0.04 0.01 0.02 1.42 2.5 3.14 5.51l3.14 5.48h3.13c1.73 0 3.13-0.02 3.12-0.04 0-0.02-1.42-2.5-3.15-5.51l-3.13-5.48z m-3.97 1.44a658.22 658.19 90 0 0-3.02 5.26l-3.02 5.28 1.58 2.75 1.57 2.75 3.01-5.28 3.02-5.28-1.57-2.73c-0.86-1.51-1.56-2.74-1.57-2.75z m1.88 10.54l-0.16 0.29c-0.1 0.16-0.8 1.39-1.57 2.74a353.29 353.28 90 0 1-1.42 2.48c-0.01 0.02 2.7 0.04 6.02 0.03h6.04l1.5-2.63c0.83-1.45 1.54-2.69 1.58-2.77l0.09-0.14h-6.04z",filled:!0},ok={d:"M6.19 14.21h-3.57a0.62 0.62 0 0 1-0.57-0.38 0.62 0.62 0 0 1 0.13-0.68l2.48-2.48h-1.78a0.88 0.88 0 0 1-0.88-0.88h3.3c0.25 0 0.48 0.15 0.57 0.38a0.62 0.62 0 0 1-0.13 0.68l-2.48 2.47h2.05c0.49 0 0.88 0.4 0.89 0.89z m15.81-2.76c0-0.95-0.77-1.72-1.72-1.72-0.51 0-0.97 0.22-1.28 0.57a1.72 1.72 0 0 0-1.28-0.57c-0.95 0-1.72 0.77-1.72 1.72v2.76a0.88 0.88 0 0 0 0.88-0.89v-1.87a0.84 0.84 0 0 1 1.68 0v1.87c0 0.49 0.39 0.88 0.88 0.89v-2.76a0.84 0.84 0 0 1 1.68 0v1.87c0 0.49 0.4 0.88 0.88 0.89z m-6.45 0.55a2.27 2.27 0 1 1-4.54 0 2.27 2.27 0 0 1 4.54 0z m-0.88 0a1.39 1.39 0 1 0-2.78 0 1.39 1.39 0 0 0 2.78 0z m-4.02 0a2.27 2.27 0 1 1-4.54 0 2.27 2.27 0 0 1 4.54 0z m-0.88 0a1.39 1.39 0 1 0-2.78 0 1.39 1.39 0 0 0 2.78 0z",filled:!0},rk={d:"M19.62 2h-15.24a2.38 2.38 0 0 0-2.38 2.38v15.24a2.38 2.38 0 0 0 2.38 2.38h15.24a2.38 2.38 0 0 0 2.38-2.38v-15.24a2.38 2.38 0 0 0-2.38-2.38z m-9 14.41a0.79 0.79 0 0 1-0.8 0.79h-3.33a0.8 0.8 0 0 1-0.8-0.79v-9.93a0.79 0.79 0 0 1 0.8-0.79h3.33a0.8 0.8 0 0 1 0.8 0.79z m7.69-4.56a0.79 0.79 0 0 1-0.79 0.79h-3.34a0.79 0.79 0 0 1-0.79-0.79v-5.37a0.79 0.79 0 0 1 0.79-0.79h3.34a0.8 0.8 0 0 1 0.79 0.79z",filled:!0},ck={d:"M15.01 5.88h-5.56l-1.91 12.16h-4.02l2.53-16.04h6.66c3.13 0 5.31 1.91 5.4 4.59-0.54-0.4-1.75-0.72-3.1-0.71m5.47 4.62c0 2.84-2.51 5.71-5.8 5.71h-2.07l-0.95 5.79h-4.04l1.53-9.62h3c3.51 0 6.12-3.03 5.96-5.79a4.37 4.37 0 0 1 2.37 3.91m-10.44-3.88h5.34c0.76 0 1.62 0.19 1.97 0.45-0.16 2.28-2.21 4.57-5.36 4.57h-2.73z",filled:!0},sk={d:"M13.65 9.62c-1.81-0.67-2.8-1.19-2.8-2 0-0.69 0.57-1.09 1.58-1.09 1.86 0 3.76 0.71 5.08 1.36l0.74-4.58c-1.04-0.5-3.17-1.31-6.11-1.31-2.08 0-3.81 0.54-5.05 1.56-1.29 1.06-1.96 2.6-1.96 4.46 0 3.37 2.06 4.8 5.4 6.01 2.15 0.77 2.87 1.31 2.87 2.15 0 0.82-0.7 1.29-1.96 1.29-1.56 0-4.14-0.77-5.83-1.76l-0.75 4.63c1.45 0.82 4.13 1.66 6.9 1.66 2.2 0 4.04-0.52 5.27-1.51 1.39-1.09 2.1-2.7 2.11-4.78 0-3.44-2.1-4.88-5.5-6.08h0.01z",filled:!0},uk={d:"M5.83 3.67v16.66h-3.83v-16.66h3.83z m9.55 0c0 3.5-1.32 6.75-3.68 9.22l-0.23 0.24 5.28 7.2h-4.72l-5.75-7.83 1.49-1.11c2.38-1.78 3.78-4.48 3.86-7.44l0-0.28h3.75z m4.54 12.5a2.08 2.08 0 1 1 0 4.16 2.08 2.08 0 0 1 0-4.16z",filled:!0},dk={d:"M9.59 8.89l-2.62 6.24h-1.7l-1.29-4.98c-0.08-0.31-0.15-0.42-0.39-0.55-0.39-0.21-1.03-0.41-1.59-0.53l0.04-0.18h2.75a0.75 0.75 0 0 1 0.74 0.63l0.68 3.62 1.69-4.25z m6.7 4.2c0.01-1.65-2.28-1.74-2.27-2.47 0-0.22 0.22-0.46 0.69-0.53a3.05 3.05 0 0 1 1.59 0.28l0.29-1.32a4.34 4.34 0 0 0-1.52-0.28c-1.6 0-2.72 0.85-2.73 2.07-0.01 0.9 0.8 1.4 1.42 1.7 0.63 0.31 0.84 0.5 0.84 0.77 0 0.42-0.5 0.6-0.97 0.61-0.81 0.01-1.28-0.22-1.66-0.39l-0.29 1.37c0.38 0.17 1.07 0.33 1.79 0.33 1.7 0 2.81-0.84 2.82-2.14m4.21 2.04h1.5l-1.3-6.24h-1.38a0.74 0.74 0 0 0-0.69 0.45l-2.43 5.79h1.7l0.34-0.93h2.07z m-1.8-2.21l0.85-2.35 0.49 2.35z m-6.8-4.03l-1.33 6.24h-1.62l1.34-6.24z",filled:!0},mk={d:"M11.45 17.03c0.05 0.04 0.1 0.08 0.15 0.12-0.98 0.65-2.16 1.03-3.42 1.03-3.41 0-6.18-2.77-6.18-6.18 0-3.41 2.77-6.18 6.18-6.18 1.27 0 2.44 0.38 3.42 1.03-0.05 0.04-0.1 0.08-0.14 0.13-1.46 1.26-2.3 3.1-2.3 5.02 0 1.93 0.83 3.76 2.29 5.03z m4.37-11.21c-1.27 0-2.44 0.38-3.42 1.03 0.05 0.04 0.1 0.08 0.14 0.13 1.46 1.26 2.3 3.1 2.3 5.02 0 1.93-0.83 3.76-2.29 5.03-0.05 0.04-0.1 0.08-0.15 0.12 0.98 0.65 2.16 1.03 3.42 1.03 3.41 0 6.18-2.77 6.18-6.18 0-3.41-2.77-6.18-6.18-6.18z m-3.82 1.33c-0.08 0.06-0.16 0.13-0.23 0.19-1.3 1.13-2.13 2.8-2.13 4.66 0 1.86 0.82 3.53 2.13 4.66 0.07 0.07 0.15 0.13 0.23 0.2 0.08-0.06 0.16-0.13 0.23-0.2 1.3-1.13 2.13-2.8 2.13-4.66 0-1.86-0.82-3.53-2.13-4.66-0.07-0.07-0.15-0.13-0.23-0.19z",filled:!0},fk={d:"M3.79 5.6a35.13 35.13 0 0 0-0.38 0c-0.13 0-0.25 0.01-0.37 0.03a1.2 1.2 0 0 0-0.89 0.65c-0.06 0.12-0.1 0.23-0.11 0.36-0.02 0.12-0.03 0.25-0.04 0.37a8.5 8.5 0 0 0 0 0.18v9.63c0 0.06 0 0.12 0 0.17 0 0.12 0.01 0.25 0.04 0.38 0.02 0.13 0.06 0.24 0.11 0.35a1.2 1.2 0 0 0 0.53 0.53c0.11 0.06 0.23 0.1 0.36 0.12 0.12 0.02 0.25 0.03 0.37 0.03l0.18 0h16.82l0.18 0c0.13 0 0.25-0.01 0.37-0.03 0.13-0.02 0.24-0.06 0.36-0.12a1.19 1.19 0 0 0 0.53-0.53c0.06-0.12 0.1-0.23 0.11-0.36 0.02-0.12 0.03-0.25 0.04-0.37 0-0.06 0-0.12 0-0.17l0-0.21v-9.43c0-0.06 0-0.11 0-0.17a2.5 2.5 0 0 0-0.04-0.37 1.21 1.21 0 0 0-1-1.01 2.52 2.52 0 0 0-0.37-0.03 8.71 8.71 0 0 0-0.38 0z m0 0.43h16.62c0.05 0 0.11 0 0.16 0 0.1 0 0.21 0.01 0.32 0.02 0.09 0.02 0.17 0.04 0.24 0.08a0.77 0.77 0 0 1 0.33 0.34 0.83 0.83 0 0 1 0.08 0.24c0.02 0.1 0.02 0.21 0.03 0.31 0 0.05 0 0.11 0 0.17v9.62c0 0.05 0 0.11 0 0.17 0 0.1-0.01 0.21-0.03 0.31a0.77 0.77 0 0 1-0.41 0.58 0.84 0.84 0 0 1-0.24 0.08 2.17 2.17 0 0 1-0.31 0.02l-0.17 0.01h-16.82c-0.06 0-0.11 0-0.17-0.01a2.17 2.17 0 0 1-0.31-0.02c-0.09-0.02-0.17-0.04-0.24-0.08a0.77 0.77 0 0 1-0.34-0.34 0.84 0.84 0 0 1-0.07-0.24 2.11 2.11 0 0 1-0.03-0.31 7.99 7.99 0 0 1 0-0.17v-9.62c0-0.05 0-0.11 0-0.17 0-0.09 0.01-0.21 0.03-0.31 0.02-0.09 0.04-0.17 0.07-0.24a0.77 0.77 0 0 1 0.34-0.34 0.86 0.86 0 0 1 0.24-0.08c0.1-0.02 0.22-0.02 0.31-0.02 0.05 0 0.11 0 0.17 0z m3.93 3.08c-0.25 0.01-0.56 0.17-0.74 0.38-0.16 0.18-0.3 0.48-0.26 0.76 0.28 0.02 0.56-0.14 0.74-0.34 0.17-0.21 0.29-0.5 0.26-0.8z m1.84 0.35v4.58h0.71v-1.57h0.98c0.9 0 1.53-0.62 1.53-1.51 0-0.89-0.62-1.5-1.51-1.5z m0.71 0.6h0.81c0.62 0 0.97 0.33 0.97 0.91 0 0.58-0.35 0.91-0.97 0.91h-0.81z m-2.63 0.25c-0.38 0.01-0.69 0.23-0.88 0.23-0.2 0-0.49-0.22-0.82-0.21a1.21 1.21 0 0 0-1.02 0.62c-0.44 0.76-0.12 1.88 0.31 2.5 0.21 0.3 0.46 0.64 0.79 0.62 0.31-0.01 0.43-0.2 0.81-0.2 0.38 0 0.49 0.2 0.82 0.2 0.34-0.01 0.56-0.3 0.76-0.61 0.24-0.35 0.34-0.68 0.34-0.7-0.01-0.01-0.66-0.26-0.66-1.01-0.01-0.63 0.51-0.93 0.53-0.95-0.29-0.43-0.75-0.48-0.91-0.49a0.94 0.94 0 0 0-0.07 0z m6.83 0.33c-0.83 0-1.34 0.44-1.37 1.05h0.65c0.06-0.3 0.31-0.49 0.7-0.49 0.42 0 0.67 0.22 0.67 0.59v0.26l-0.92 0.05c-0.79 0.04-1.24 0.4-1.24 0.99 0 0.6 0.46 1.01 1.11 1 0.44 0 0.86-0.23 1.06-0.6h0.01v0.55h0.66v-2.3c0-0.67-0.52-1.1-1.33-1.1z m1.62 0.06l1.21 3.34c0 0-0.06 0.2-0.06 0.21-0.1 0.34-0.27 0.48-0.6 0.47-0.06 0-0.17 0-0.22-0.01v0.55c0.05 0.01 0.22 0.02 0.28 0.02 0.69 0 1.02-0.26 1.31-1.07l1.25-3.51h-0.73l-0.84 2.71h-0.01l-0.85-2.71z m-0.97 1.82v0.27c0 0.43-0.38 0.76-0.85 0.76-0.37 0-0.61-0.19-0.61-0.48 0-0.29 0.23-0.47 0.64-0.5z",filled:!0},hk={d:"M5.3 8.03a3.3 3.3 0 0 0-2.95 1.82 3.3 3.3 0 0 0 0 2.96 3.3 3.3 0 0 0 2.95 1.82c0.89 0 1.64-0.29 2.19-0.79 0.62-0.57 0.98-1.43 0.98-2.43a3.94 3.94 0 0 0-0.05-0.67h-3.12v1.27h1.79a1.53 1.53 0 0 1-0.66 1c-0.3 0.2-0.68 0.32-1.13 0.32-0.86 0-1.59-0.58-1.85-1.37a1.98 1.98 0 0 1 0-1.26c0.26-0.78 0.99-1.36 1.85-1.36a1.79 1.79 0 0 1 1.27 0.49l0.94-0.94a3.17 3.17 0 0 0-2.21-0.86z m5.42 0.46v5.75h0.74v-2.33h1.22c0.5 0 0.92-0.16 1.27-0.49a1.59 1.59 0 0 0 0.53-1.22 1.6 1.6 0 0 0-0.53-1.22 1.77 1.77 0 0 0-1.27-0.49z m2.02 0.71a0.96 0.96 0 0 1 0.69 0.3 0.98 0.98 0 0 1 0 1.4 0.98 0.98 0 0 1-0.73 0.3h-1.24v-2h1.24a0.96 0.96 0 0 1 0.04 0z m3.44 0.97c-0.7 0-1.23 0.26-1.59 0.78l0.65 0.4c0.24-0.35 0.57-0.52 0.98-0.52a1.05 1.05 0 0 1 0.71 0.27 0.84 0.84 0 0 1 0.31 0.66v0.16c-0.28-0.16-0.65-0.24-1.09-0.24-0.51 0-0.92 0.12-1.23 0.37-0.31 0.24-0.46 0.56-0.46 0.97a1.23 1.23 0 0 0 0.44 0.96c0.29 0.26 0.65 0.39 1.09 0.39 0.51 0 0.91-0.22 1.22-0.68h0.03v0.55h0.7v-2.43c0-0.51-0.16-0.91-0.47-1.2-0.32-0.29-0.75-0.44-1.29-0.44z m1.88 0.13l1.63 3.69-0.92 1.98h0.76l2.47-5.67h-0.8l-1.14 2.83h-0.02l-1.17-2.83z m-1.78 1.98c0.41 0 0.73 0.09 0.96 0.27 0 0.31-0.12 0.58-0.37 0.81a1.18 1.18 0 0 1-0.83 0.35 0.9 0.9 0 0 1-0.57-0.2 0.59 0.59 0 0 1-0.25-0.48c0-0.21 0.1-0.39 0.31-0.54 0.2-0.14 0.45-0.22 0.75-0.21z",filled:!0},vk={d:"M12 17.23c-1.13-1.41-1.79-2.65-2.01-3.72-0.22-0.86-0.13-1.54 0.24-2.05 0.4-0.59 0.99-0.88 1.77-0.88s1.37 0.29 1.77 0.89c0.37 0.51 0.46 1.19 0.23 2.05-0.24 1.08-0.9 2.32-2.01 3.72z m8 0.95c-0.15 1.04-0.86 1.9-1.83 2.32-1.88 0.82-3.74-0.49-5.33-2.26 2.63-3.29 3.12-5.86 1.99-7.51-0.66-0.95-1.61-1.41-2.83-1.41-2.45 0-3.8 2.08-3.27 4.48 0.31 1.3 1.13 2.79 2.43 4.45-0.82 0.9-1.59 1.55-2.28 1.94-0.53 0.29-1.04 0.46-1.52 0.51-2.23 0.33-3.98-1.83-3.19-4.07 0.11-0.29 0.33-0.82 0.71-1.63l0.02-0.05c1.22-2.65 2.7-5.66 4.4-8.99l0.04-0.11 0.49-0.93c0.38-0.68 0.53-0.99 1.12-1.37 0.29-0.17 0.64-0.26 1.04-0.27 0.79 0 1.42 0.46 1.68 0.84 0.13 0.2 0.29 0.46 0.49 0.8l0.46 0.91 0.07 0.13c1.7 3.34 3.18 6.34 4.4 8.99l0.02 0.02 0.44 1.02 0.27 0.64c0.2 0.51 0.24 1.02 0.18 1.55z m1.02-1.99c-0.16-0.49-0.42-1.06-0.75-1.75v-0.02c-1.57-3.34-3.04-6.34-4.42-9.04l-0.1-0.14c-0.99-2.03-1.7-3.25-3.75-3.24-2.03 0-2.9 1.41-3.78 3.25l-0.07 0.13c-1.39 2.7-2.85 5.7-4.42 9.04v0.04l-0.46 1.02c-0.17 0.42-0.26 0.64-0.29 0.71-1.12 3.1 1.19 5.81 4 5.81 0.02 0 0.11 0 0.22-0.02h0.31c1.46-0.18 2.96-1.1 4.49-2.77 1.52 1.66 3.03 2.59 4.49 2.77h0.31c0.11 0.02 0.2 0.02 0.22 0.02 2.81 0 5.13-2.72 4-5.81z",filled:!0},pk={d:"M12.01 5.58c-2.22 0-4.45 0.65-6.38 1.96h-3.63l1.64 1.78a5 5 0 0 0 3.36 8.69 4.98 4.98 0 0 0 3.4-1.33l1.6 1.74 1.6-1.74a4.98 4.98 0 0 0 3.4 1.33 5 5 0 0 0 5-5 4.99 4.99 0 0 0-1.64-3.69l1.64-1.78h-3.63a11.31 11.31 0 0 0-6.37-1.96z m-0.01 1.63c1.28 0 2.55 0.25 3.75 0.76-2.13 0.82-3.75 2.73-3.75 4.95 0-2.23-1.62-4.13-3.75-4.95a9.77 9.77 0 0 1 3.75-0.76z m-5 2.42a3.38 3.38 0 1 1 0 6.77 3.38 3.38 0 0 1 0-6.77z m10 0a3.38 3.38 0 1 1 0 6.77 3.38 3.38 0 0 1 0-6.77z m-10 1.61a1.77 1.77 0 0 0 0 3.55 1.77 1.77 0 0 0 0-3.55z m10 0a1.77 1.77 0 0 0 0 3.55 1.77 1.77 0 0 0 0-3.55z",filled:!0},gk={d:"M8.41 14.62l-3.06 0.7c-0.31 0.07-0.63 0.15-0.96 0.13-0.22-0.02-0.43-0.03-0.63-0.17a0.98 0.98 0 0 1-0.28-0.3c-0.29-0.46-0.3-1.14-0.3-1.67a5.24 5.24 0 0 1 0.27-1.72 1.55 1.55 0 0 1 0.09-0.21 1.95 1.95 0 0 1 0.11-0.18 2.05 2.05 0 0 1 0.13-0.16 0.98 0.98 0 0 1 0.33-0.24 0.9 0.9 0 0 1 0.38-0.07c0.2 0 0.43 0.04 0.76 0.15 0.05 0.02 0.1 0.03 0.15 0.05 0.27 0.08 0.59 0.2 0.96 0.33 0.57 0.2 1.14 0.41 1.71 0.61l1.01 0.37c0.18 0.07 0.36 0.15 0.53 0.25 0.14 0.08 0.27 0.19 0.38 0.32a1.01 1.01 0 0 1 0.16 0.36 1.02 1.02 0 0 1-0.73 1.21c-0.04 0.01-0.07 0.02-0.09 0.03l-0.92 0.21 0 0z m9.27-6.32a1.54 1.54 0 0 0-0.17-0.14 2.01 2.01 0 0 0-0.17-0.12 1.97 1.97 0 0 0-0.19-0.09 0.98 0.98 0 0 0-0.4-0.07 0.91 0.91 0 0 0-0.37 0.11c-0.18 0.09-0.37 0.23-0.62 0.46-0.04 0.03-0.08 0.07-0.12 0.11-0.21 0.2-0.44 0.44-0.72 0.72a95.53 95.53 0 0 0-1.26 1.3l-0.75 0.78a3.49 3.49 0 0 0-0.37 0.46 1.28 1.28 0 0 0-0.2 0.45 1.02 1.02 0 0 0 0.01 0.38l0 0.01a1.02 1.02 0 0 0 1.19 0.77 0.97 0.97 0 0 0 0.09-0.01l3.98-0.92c0.31-0.07 0.63-0.14 0.91-0.31 0.19-0.11 0.37-0.22 0.5-0.43a0.98 0.98 0 0 0 0.11-0.39c0.06-0.54-0.22-1.16-0.45-1.64a5.23 5.23 0 0 0-1-1.43z m-8.2-6.24a7.23 7.23 0 0 0-0.7 0.13c-0.23 0.06-0.46 0.12-0.68 0.19-0.72 0.24-1.74 0.67-1.91 1.5-0.1 0.47 0.13 0.95 0.31 1.39 0.22 0.52 0.51 0.99 0.78 1.48 0.71 1.3 1.44 2.58 2.16 3.87 0.22 0.38 0.45 0.87 0.87 1.07a0.88 0.88 0 0 0 0.09 0.03c0.19 0.07 0.39 0.08 0.59 0.04a3.58 3.58 0 0 0 0.03 0 1.01 1.01 0 0 0 0.47-0.29 0.92 0.92 0 0 0 0.07-0.07c0.29-0.36 0.29-0.9 0.31-1.34 0.09-1.48 0.18-2.95 0.25-4.43 0.03-0.56 0.09-1.11 0.06-1.67-0.03-0.46-0.03-1-0.33-1.38-0.52-0.67-1.62-0.62-2.37-0.52z m1.73 13.29a0.92 0.92 0 0 0-1.02-0.34 0.95 0.95 0 0 0-0.13 0.05 1.23 1.23 0 0 0-0.18 0.12c-0.17 0.12-0.31 0.28-0.43 0.44-0.03 0.04-0.06 0.1-0.1 0.13l-0.65 0.88a94.93 94.93 0 0 0-1.07 1.49c-0.23 0.32-0.43 0.6-0.59 0.84-0.03 0.05-0.06 0.1-0.09 0.14-0.19 0.29-0.3 0.51-0.35 0.7a0.91 0.91 0 0 0-0.04 0.39c0.02 0.14 0.06 0.27 0.13 0.39 0.04 0.06 0.08 0.12 0.13 0.17a1.95 1.95 0 0 0 0.14 0.15 1.54 1.54 0 0 0 0.18 0.15c0.44 0.31 0.93 0.53 1.44 0.7a5.08 5.08 0 0 0 1.3 0.25c0.08 0 0.15 0 0.23-0.01a1.99 1.99 0 0 0 0.21-0.03 1.99 1.99 0 0 0 0.2-0.06 0.99 0.99 0 0 0 0.35-0.22c0.09-0.09 0.17-0.21 0.21-0.33 0.07-0.18 0.12-0.42 0.16-0.77 0-0.05 0.01-0.11 0.01-0.16 0.03-0.29 0.04-0.63 0.06-1.03 0.03-0.61 0.06-1.22 0.07-1.83 0 0 0.04-1.09 0.05-1.09 0.01-0.25 0-0.53-0.07-0.78a1.16 1.16 0 0 0-0.15-0.34z m7.23 1.71c-0.13-0.15-0.32-0.29-0.62-0.48-0.04-0.02-0.09-0.06-0.14-0.08-0.25-0.15-0.55-0.31-0.9-0.5a100.63 100.63 0 0 0-1.62-0.86l-0.96-0.51c-0.05-0.01-0.1-0.05-0.14-0.08-0.18-0.09-0.38-0.17-0.59-0.21a1.24 1.24 0 0 0-0.21-0.02 0.96 0.96 0 0 0-0.14 0.01 0.92 0.92 0 0 0-0.77 0.76 1.18 1.18 0 0 0 0.02 0.37c0.05 0.26 0.16 0.51 0.28 0.73l0.51 0.96c0.29 0.54 0.57 1.08 0.87 1.61 0.19 0.35 0.35 0.65 0.5 0.9 0.03 0.05 0.06 0.1 0.08 0.14 0.18 0.3 0.33 0.49 0.48 0.62 0.1 0.09 0.21 0.16 0.33 0.21 0.13 0.04 0.27 0.06 0.41 0.05a1.97 1.97 0 0 0 0.21-0.04c0.07-0.02 0.14-0.04 0.2-0.07a1.55 1.55 0 0 0 0.21-0.09 5.08 5.08 0 0 0 1.07-0.8c0.38-0.38 0.72-0.79 0.98-1.26 0.04-0.07 0.07-0.14 0.09-0.21a2.08 2.08 0 0 0 0.07-0.2c0.02-0.07 0.03-0.14 0.04-0.21a0.99 0.99 0 0 0-0.05-0.41 0.91 0.91 0 0 0-0.21-0.33z m2.38 3.12a0.71 0.71 0 0 1-0.09 0.35c-0.06 0.11-0.15 0.2-0.26 0.26a0.7 0.7 0 0 1-0.36 0.1 0.71 0.71 0 0 1-0.37-0.1 0.71 0.71 0 0 1-0.26-0.26 0.71 0.71 0 0 1-0.09-0.35c0-0.13 0.03-0.25 0.1-0.36a0.7 0.7 0 0 1 0.26-0.26 0.71 0.71 0 0 1 0.36-0.1 0.71 0.71 0 0 1 0.36 0.09 0.7 0.7 0 0 1 0.26 0.27 0.71 0.71 0 0 1 0.09 0.36z m-0.1 0c0-0.11-0.03-0.21-0.08-0.31s-0.13-0.17-0.22-0.23a0.59 0.59 0 0 0-0.31-0.08 0.6 0.6 0 0 0-0.31 0.08 0.62 0.62 0 0 0-0.23 0.23 0.6 0.6 0 0 0-0.08 0.31c0 0.11 0.03 0.21 0.08 0.31a0.61 0.61 0 0 0 0.23 0.22 0.61 0.61 0 0 0 0.31 0.08 0.6 0.6 0 0 0 0.31-0.08 0.62 0.62 0 0 0 0.22-0.22 0.6 0.6 0 0 0 0.08-0.31z m-0.48 0.05l0.23 0.37h-0.16l-0.2-0.34h-0.13v0.34h-0.14v-0.85h0.25c0.11 0 0.18 0.02 0.23 0.06 0.05 0.04 0.07 0.1 0.08 0.19a0.23 0.23 0 0 1-0.04 0.14c-0.03 0.04-0.06 0.07-0.12 0.09z m-0.03-0.12a0.13 0.13 0 0 0 0.05-0.1c0-0.05-0.01-0.08-0.04-0.11-0.03-0.02-0.07-0.03-0.13-0.03h-0.11v0.28h0.11c0.05 0 0.09-0.01 0.12-0.04z",filled:!0},g4={pencil:Z6,save:F6,eyeOff:I6,logIn:J6,maximize2:P6,minimize2:$6,zoomIn:W6,zoomOut:eb,share2:tb,link2:ab,unlink:nb,externalLink:lb,rotateCcw:ib,rotateCw:ob,repeat:rb,shuffle:cb,listFilter:sb,arrowUpDown:ub,arrowDownWideNarrow:db,arrowUpNarrowWide:mb,checkCheck:fb,circlePlus:hb,circleMinus:vb,circleCheck:pb,circleX:gb,archiveRestore:bb,clipboardCopy:yb,clipboardPaste:xb,scissors:Nb,pushpin:zb,pinOff:Sb,bookmark:Mb,bookmarkCheck:kb,bookmarkPlus:wb,ellipsisVertical:Cb,gripVertical:Tb,gripHorizontal:Rb,mousePointerClick:Eb,pointer:Ab,hand:Db,move:_b,power:Ob,arrowDown:Lb,arrowLeft:jb,arrowRight:Hb,arrowDownLeft:Ub,arrowDownRight:Bb,arrowUpLeft:qb,arrowLeftRight:Vb,arrowDownToLine:Gb,arrowUpFromLine:Yb,chevronUp:Xb,chevronsUpDown:Kb,chevronsLeft:Qb,chevronsRight:Zb,chevronsUp:Fb,chevronsDown:Ib,cornerDownLeft:Jb,cornerUpRight:Pb,moveHorizontal:$b,moveVertical:Wb,panelLeft:e7,panelRight:t7,panelBottom:a7,panelTop:n7,layoutDashboard:l7,layoutGrid:i7,layoutList:o7,layoutTemplate:r7,columns2:c7,rows2:s7,squareKanban:u7,appWindow:d7,sidebar:m7,compass:f7,navigation:h7,settings2:v7,slidersHorizontal:p7,slidersVertical:g7,toggleLeft:b7,toggleRight:y7,info:x7,alertCircle:N7,alertTriangle:z7,alertOctagon:S7,badgeCheck:M7,badgeAlert:k7,badgeInfo:w7,circleDot:C7,circle:T7,square:R7,squareCheck:E7,squareX:A7,loader:D7,loaderCircle:_7,hourglass:O7,bellOff:L7,bellRing:j7,bellDot:H7,listChecks:U7,listTodo:B7,starHalf:q7,flagTriangleRight:V7,siren:G7,fingerprint:Y7,scanFace:X7,keyRound:K7,lockOpen:Q7,lockKeyhole:Z7,shieldCheck:F7,shieldAlert:I7,shieldOff:J7,shieldUser:P7,shieldKeyhole:$7,userCheck:W7,userX:e8,userPlus:t8,userMinus:a8,userRound:n8,userCog:l8,userLock:i8,userKey:o8,usersRound:r8,idCard:c8,contact:s8,scanEye:u8,scan:d8,scanLine:m8,qrCode:f8,scanQrCode:h8,smartphoneNfc:v8,vault:p8,fileLock:g8,venetianMask:b8,messageCircle:y8,messageSquare:x8,messagesSquare:N8,messageCircleMore:z8,messageSquareText:S8,mailOpen:M8,mailCheck:k8,mailPlus:w8,sendHorizontal:C8,atSign:T8,phoneCall:R8,phoneIncoming:E8,phoneOutgoing:A8,phoneMissed:D8,voicemail:_8,video:O8,videoOff:L8,mic:j8,micOff:H8,headphones:U8,headset:B8,megaphone:q8,speech:V8,rss:G8,hash:Y8,bookUser:X8,smile:K8,frown:Q8,meh:Z8,laugh:F8,smilePlus:I8,angry:J8,languages:P8,heartHandshake:$8,fileText:W8,filePlus:ey,fileMinus:ty,fileCheck:ay,fileX:ny,fileSearch:ly,fileCode:iy,fileImage:oy,fileVideoCamera:ry,fileMusic:cy,fileSpreadsheet:sy,fileArchive:uy,fileDown:dy,fileUp:my,filePenLine:fy,files:hy,folderOpen:vy,folderPlus:py,folderTree:gy,folderLock:by,clipboard:yy,clipboardCheck:xy,clipboardList:Ny,notebook:zy,notebookPen:Sy,bookOpen:My,library:ky,scrollText:wy,newspaper:Cy,stickyNote:Ty,printer:Ry,hardDrive:Ey,cloud:Ay,cloudUpload:Dy,cloudDownload:_y,cloudOff:Oy,signature:Ly,fileBadge:jy,penTool:Hy,penLine:Uy,eraser:By,highlighter:qy,type:Vy,textCursorInput:Gy,aLargeSmall:Yy,strikethrough:Xy,textAlignStart:Ky,textAlignCenter:Qy,textAlignEnd:Zy,textAlignJustify:Fy,listIndentIncrease:Iy,listIndentDecrease:Jy,heading1:Py,heading2:$y,heading3:Wy,pilcrow:e9,codeXml:t9,braces:a9,brackets:n9,wandSparkles:l9,crop:i9,palette:o9,pipette:r9,paintbrush:c9,brush:s9,spellCheck:u9,caseSensitive:d9,table:m9,table2:f9,sigma:h9,textQuote:v9,baseline:p9,imagePlus:g9,images:b9,camera:y9,cameraOff:x9,film:N9,clapperboard:z9,music:S9,musicNote:M9,disc3:k9,volume:w9,volume1:C9,volume2:T9,volumeX:R9,circlePlay:E9,circlePause:A9,circleStop:D9,skipBack:_9,skipForward:O9,rewind:L9,fastForward:j9,micVocal:H9,radio:U9,tv:B9,cast:q9,airplay:V9,aperture:G9,focus:Y9,galleryHorizontal:X9,captions:K9,audioLines:Q9,listMusic:Z9,laptop:F9,smartphone:I9,tablet:J9,watch:P9,keyboard:$9,mouse:W9,wifi:ex,wifiOff:tx,bluetooth:ax,battery:nx,batteryCharging:lx,batteryLow:ix,batteryFull:ox,plug:rx,usb:cx,cable:sx,router:ux,memoryStick:dx,gamepad2:mx,monitorSmartphone:fx,satelliteDish:hx,signal:vx,antenna:px,nfc:gx,powerOff:bx,printerCheck:yx,speaker:xx,webcam:Nx,bug:zx,gitPullRequest:Sx,gitCommitHorizontal:Mx,gitMerge:kx,gitFork:wx,gitCompare:Cx,puzzle:Tx,activity:Rx,gauge:Ex,network:Ax,workflow:Dx,blocks:_x,box:Ox,boxes:Lx,container:jx,cloudCog:Hx,variable:Ux,squareFunction:Bx,regex:qx,testTube:Vx,flaskConical:Gx,atom:Yx,brain:Xx,brainCircuit:Kx,sparkles:Qx,botMessageSquare:Zx,binary:Fx,fileBraces:Ix,squareTerminal:Jx,plugZap:Px,rocket:$x,trendDown:Wx,chartPie:eN,chartLine:tN,chartColumn:aN,chartBar:nN,chartArea:lN,chartCandlestick:iN,chartScatter:oN,chartNoAxesColumn:rN,chartSpline:cN,presentation:sN,target:uN,percent:dN,kanban:mN,tableProperties:fN,sheet:hN,calendarDays:vN,calendarCheck:pN,calendarPlus:gN,calendarX:bN,calendarClock:yN,calendarRange:xN,calendarHeart:NN,alarmClock:zN,timer:SN,timerReset:MN,history:kN,sunrise:wN,sunset:CN,clockAlert:TN,clockCheck:RN,shoppingBag:EN,shoppingBasket:AN,store:DN,receipt:_N,receiptText:ON,badgePercent:LN,ticket:jN,gift:HN,coins:UN,banknote:BN,piggyBank:qN,landmark:VN,handCoins:GN,euro:YN,dollarSign:XN,poundSterling:KN,swissFranc:QN,bitcoin:ZN,calculator:FN,scale:IN,handshake:JN,briefcase:PN,building:$N,buildings:WN,factory:ez,warehouse:tz,barcode:az,scanBarcode:nz,packageCheck:lz,packageOpen:iz,award:oz,trophy:rz,medal:cz,crown:sz,gem:uz,circleDollarSign:dz,tags:mz,mapPin:fz,mapPinned:hz,locate:vz,locateFixed:pz,route:gz,signpost:bz,plane:yz,planeTakeoff:xz,trainFront:Nz,bus:zz,car:Sz,bike:Mz,ship:kz,fuel:wz,hotel:Cz,tent:Tz,mountain:Rz,trees:Ez,treePine:Az,earth:Dz,luggage:_z,utensils:Oz,coffee:Lz,wine:jz,beer:Hz,mapPlus:Uz,milestone:Bz,carTaxiFront:qz,evCharger:Vz,housePlus:Gz,doorOpen:Yz,doorClosed:Xz,sofa:Kz,bath:Qz,showerHead:Zz,lamp:Fz,lightbulb:Iz,armchair:Jz,bedDouble:Pz,bedSingle:$z,fence:Wz,hammer:eS,wrench:tS,drill:aS,paintRoller:nS,construction:lS,thermometer:iS,heater:oS,airVent:rS,solarPanel:cS,flame:sS,droplet:uS,snowflake:dS,wind:mS,leaf:fS,sprout:hS,recycle:vS,blinds:pS,lampDesk:gS,washingMachine:bS,refrigerator:yS,microwave:xS,keySquare:NS,rulerDimensionLine:zS,cloudSun:SS,cloudRain:MS,cloudSnow:kS,cloudLightning:wS,cloudFog:CS,umbrella:TS,rainbow:RS,moonStar:ES,flower:AS,flower2:DS,pawPrint:_S,dog:OS,cat:LS,bird:jS,fish:HS,feather:US,sunMoon:BS,tornado:qS,waves:VS,earthLock:GS,heartPulse:YS,stethoscope:XS,pill:KS,syringe:QS,hospital:ZS,cross:FS,accessibility:IS,baby:JS,personStanding:PS,footprints:$S,dumbbell:WS,apple:eM,handHeart:tM,handHelping:aM,graduationCap:nM,school:lM,glasses:iM,shirt:oM,cake:rM,partyPopper:cM,bandage:sM,thermometerSun:uM,weight:dM,salad:mM,brandX:fM,brandFacebook:hM,brandInstagram:vM,brandThreads:pM,brandYoutube:gM,brandTiktok:bM,brandWhatsapp:yM,brandTelegram:xM,brandSignal:NM,brandMessenger:zM,brandDiscord:SM,brandBluesky:MM,brandMastodon:kM,brandReddit:wM,brandPinterest:CM,brandSnapchat:TM,brandTumblr:RM,brandTwitch:EM,brandVimeo:AM,brandSpotify:DM,brandSoundcloud:_M,brandMedium:OM,brandSubstack:LM,brandPatreon:jM,brandXing:HM,brandWechat:UM,brandLine:BM,brandViber:qM,brandGithub:VM,brandGitlab:GM,brandDribbble:YM,brandBehance:XM,brandFigma:KM,brandNotion:QM,brandNpm:ZM,brandDocker:FM,brandVercel:IM,brandStackoverflow:JM,brandProducthunt:PM,brandHuggingface:$M,brandAnthropic:WM,brandClaude:ek,brandApple:tk,brandGoogle:ak,brandAndroid:nk,brandDropbox:lk,brandGoogledrive:ik,brandZoom:ok,brandTrello:rk,brandPaypal:ck,brandStripe:sk,brandKlarna:uk,brandVisa:dk,brandMastercard:mk,brandApplepay:fk,brandGooglepay:hk,brandAirbnb:vk,brandTripadvisor:pk,brandYelp:gk};var Ke=G(ce(),1),ys=G(or(),1),Rg=G(bg(),1);var xg=/^\d{4}-\d{2}-\d{2}(?:[T ][\d:.]+(?:Z|[+-]\d{2}:?\d{2})?)?$/,yg=/^\s*-?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?\s*$/i;function td(e){let t=new Date(e);return Number.isNaN(t.getTime())?void 0:t}function NT(e,t){return typeof t=="string"&&xg.test(t)?td(t)??t:t}function Ng(e,t){if(t===null)return;if(e.flags.includes("?")&&t==="null")return null;switch(e.kind){case"b":return t!=="false";case"n":return yg.test(t)?Number(t):void 0;case"x":return yg.test(t)?Number(t):t;case"s":return e.flags.includes("!")&&t==="false"?!1:t;case"d":return td(t);case"r":return t;case"R":case"K":case"j":{let n=t.trim();try{return JSON.parse(n,e.flags.includes("t")?NT:void 0)}catch{return e.kind==="R"?[t]:e.flags.includes("t")&&xg.test(n)?td(n):e.flags.includes("l")?n.split(",").map(l=>l.trim()).filter(Boolean):t}}default:return}}function zg(e){if(!e||!e.trim())return;let t={};for(let a of e.split(/;(?![^(]*\))/)){let n=a.indexOf(":");if(n<0)continue;let l=a.slice(0,n).trim(),i=a.slice(n+1).trim();!l||!i||(t[l.startsWith("--")?l:l.replace(/-([a-z])/g,(o,r)=>r.toUpperCase())]=i)}return t}function Sg(e){if(!e||typeof e!="object"||!("nativeEvent"in e)||!("target"in e))return e;let t=e.target;return t instanceof HTMLInputElement&&(t.type==="checkbox"||t.type==="radio")?t.checked:t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement?t.value:null}function Mg(e){return!!e&&typeof e=="object"&&"nativeEvent"in e&&"target"in e}function kg(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").toLowerCase()}function wg(e){return e.replace(/-([a-z0-9])/g,(t,a)=>a.toUpperCase())}var gs=e=>e?e.split(" ").filter(Boolean):[];function Cg(e){let t=gs(e.p).map(l=>{let[i="",o="j"]=l.split(":");return{name:i,attr:kg(i),kind:o.charAt(0),flags:o.slice(1)}}),a=gs(e.e).map(l=>{let[i="",o="0"]=l.split(":");return{prop:i,type:i.slice(2).toLowerCase(),arity:parseInt(o,10)||0,conditional:o.endsWith("?")}}),n=gs(e.s).map(l=>{let[i="",o="",r="detail"]=l.split(":");return{event:i,prop:o,from:r==="false"?"false":"detail"}});return{tag:e.t,component:e.c,props:t,byAttr:new Map(t.map(l=>[l.attr,l])),byName:new Map(t.map(l=>[l.name,l])),events:a,byType:new Map(a.map(l=>[l.type,l])),sync:n,dismiss:new Set(gs(e.x)),dialog:!!e.dialog,closeChildren:!!e.close}}var ad=new WeakSet,zT=new Set(["title","role","lang"]),ST=e=>zT.has(e)||e.startsWith("aria-"),Eg=new Set(["id","slot","hidden","children","className","style","dir","inert","autofocus","tabIndex","accessKey","draggable","translate","spellcheck","contentEditable","nonce","part","popover","innerHTML","textContent"]),Tg="tf-root",nd=0;function bs(e){for(let t=e.parentNode;t;t=t.parentNode)if(t instanceof On)return t;return null}function MT(e,t){for(let a=e.parentNode;a&&a!==t;a=a.parentNode){if(a===t._stash)return"stash";let n=a.__tfSlot;if(n)return n.owner===t?n:null}return null}var kT=e=>e.nodeType===Node.ELEMENT_NODE||e.nodeType===Node.TEXT_NODE&&!/^\s*\n\s*$/.test(e.nodeValue??"")&&e.nodeValue!=="";function Ag({el:e}){return(0,Ke.useSyncExternalStore)(e._subscribe,e._snapshot,e._snapshot),(0,Ke.useLayoutEffect)(()=>{e._sweep()}),e._view()}function ld({owner:e,nodes:t}){let a=(0,Ke.useRef)(null),[n,l]=(0,Ke.useState)([]),i=(0,Ke.useMemo)(()=>{let o=[],r={owner:e,rescan(){let c=a.current;if(!c||!c.isConnected)return;let u=[];for(let s of c.querySelectorAll("*"))s instanceof On&&bs(s)===e&&s.isConnected&&u.push(s);for(let s of u)s._slot!==r&&s._enterPortal(r);for(let s of o)!u.includes(s)&&s._slot===r&&s._leave();(u.length!==o.length||u.some((s,d)=>s!==o[d]))&&(o=u,l(u))},release(c){o.includes(c)&&(o=o.filter(u=>u!==c),l(o))}};return r},[e]);return(0,Ke.useLayoutEffect)(()=>{let o=a.current;if(!o)return;if(o.__tfSlot=i,!(o.childNodes.length===t.length&&t.every((d,m)=>o.childNodes[m]===d)))for(let d of t)o.appendChild(d);let c=!1,u=()=>{c||(c=!0,queueMicrotask(()=>{c=!1,i.rescan()}))};u();let s=new MutationObserver(d=>{for(let m of d)for(let f of[m.addedNodes,m.removedNodes])for(let x of f)if(x instanceof Element&&(x instanceof On||x.querySelector(On.selector)))return u()});return s.observe(o,{childList:!0,subtree:!0}),()=>{s.disconnect(),queueMicrotask(()=>e._sweep())}},[t,i,e]),(0,Ke.createElement)("span",{ref:a,"data-tf-slot":"",style:{display:"contents"}},n.map(o=>o._mount?(0,ys.createPortal)((0,Ke.createElement)(Ag,{el:o}),o._mount,o._mountKey):null))}function wT({onClose:e,children:t}){let a=(0,Ke.useRef)(null);return O0(a,e),(0,Ke.useEffect)(()=>{let n=setTimeout(()=>{let l=a.current,i=l?.querySelector('[autofocus], input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select'),o=document.activeElement,r=o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement||o instanceof HTMLSelectElement;l&&i&&!(r&&l.contains(o))&&i.focus()},30);return()=>clearTimeout(n)},[]),(0,Ke.createElement)("div",{ref:a,"data-tf-dialog":"",style:{position:"fixed",inset:0,zIndex:85,overflowY:"auto"},onClick:n=>{n.target instanceof Element&&n.target.classList.contains("tf-backdrop")&&e?.()}},t)}var On=class e extends HTMLElement{static def;static component;static selector="tf-provider";_key=`tf${(++nd).toString(36)}`;_values=new Map;_fns=new Map;_slots=null;_views=new Map;_root=null;_mount=null;_mountKey="";_slot=null;_stash=null;_rendered=!1;_version=0;_subs=new Set;_listeners=new Map;_callbacks=new Map;_closeFn;_stripping=new Set;_waiting=!1;_observer=null;constructor(){super();let t=this._def;for(let n of t.events)n.type!=="click"&&HTMLElement.prototype.addEventListener.call(this,n.type,l=>{!ad.has(l)&&l.target!==this&&this._isOwnDom(l.target)&&l.stopImmediatePropagation()});if(t.closeChildren){let n=l=>{l.target!==this&&ad.has(l)&&this._closeFn?.()};HTMLElement.prototype.addEventListener.call(this,"close",n),this._listeners.set("close",new Set([n]))}let a=this;for(let n of[...t.props.map(l=>l.name),...t.events.map(l=>l.prop)])if(!Eg.has(n)&&Object.prototype.hasOwnProperty.call(this,n)){let l=a[n];delete a[n],a[n]=l}}get _def(){return this.constructor.def}connectedCallback(){this._waiting||(document.readyState==="loading"?(this._waiting=!0,document.addEventListener("DOMContentLoaded",()=>{this._waiting=!1,this._attach()},{once:!0})):queueMicrotask(()=>this._attach()))}disconnectedCallback(){queueMicrotask(()=>{this.isConnected||this._leave()})}attributeChangedCallback(t,a,n){if(n===null&&this._stripping.delete(t))return;let i=this._def.byAttr.get(t);if(i){let o=Ng(i,n);o===void 0?this._values.delete(i.name):this._values.set(i.name,o),ST(t)&&n!==null&&(this._stripping.add(t),this.removeAttribute(t))}this._bump()}_attach(){if(!this.isConnected)return;let t=bs(this);if(t){let l=MT(this,t);if(l==="stash")return;if(l){this._slot!==l&&l.rescan();return}if(!t._rendered)return}if(this._root)return;this._leave(),this._prepare();let a=this._newMount(),n=(0,Rg.createRoot)(a,{identifierPrefix:`${this._key}-`});this._root=n,(0,ys.flushSync)(()=>n.render((0,Ke.createElement)(Ag,{el:this})))}_leave(){let t=this._root,a=this._slot;this._root=null,this._slot=null,this._mount?.remove(),this._mount=null,t&&t.unmount(),a?.release(this)}_enterPortal(t){this._leave(),this._prepare(),this._newMount(),this._slot=t}_newMount(){let t=document.createElement(Tg);return t.style.display="contents",this._mount=t,this._mountKey=`${this._key}-${(++nd).toString(36)}`,this.appendChild(t),t}_prepare(){if(!this._slots){this._slots=new Map;for(let t of[...this.childNodes])this._take(t);this._observer=new MutationObserver(t=>{if(this._mount&&this._mount.parentNode!==this){this._slots=null,this._views.clear(),this._observer?.disconnect(),this._leave(),this._attach();return}let a=!1;for(let n of t)for(let l of n.addedNodes)l.parentNode===this&&(a=this._take(l)||a);a&&(this._views.clear(),this._bump())}),this._observer.observe(this,{childList:!0})}}_take(t){if(t===this._mount||t===this._stash||t instanceof Element&&t.localName===Tg||!kT(t))return!1;let a=t instanceof Element?t.getAttribute("slot"):null,n="children";if(a){let l=a.indexOf(":"),i=wg(l<0?a:a.slice(0,l));n=l<0?i:`${i}:${a.slice(l+1)}`}return this._slots?.set(n,[...this._slots.get(n)??[],t]),!0}_sweep(){if(this._rendered=!0,!!this._slots){for(let t of this._slots.values())for(let a of t)if(a.parentNode===this||!this.contains(a)){if(!this._stash){let n=document.createElement("div");n.hidden=!0,n.dataset.tfStash="",this._stash=n}this._stash.parentNode!==this&&this.appendChild(this._stash),this._stash.appendChild(a)}}}_isOwnDom(t){for(let a=t;a&&a!==this;a=a.parentNode)if(a.__tfSlot?.owner===this)return!1;return!0}_subscribe=t=>(this._subs.add(t),()=>this._subs.delete(t));_snapshot=()=>this._version;_bump(){this._version++;for(let t of this._subs)t()}addEventListener(t,a,n){if(!a)return;super.addEventListener(t,a,n);let l=this._listeners.get(t);l||this._listeners.set(t,l=new Set);let i=l.size===0;l.add(a),i&&this._bumpTree(t)}removeEventListener(t,a,n){if(!a)return;super.removeEventListener(t,a,n);let l=this._listeners.get(t);l?.delete(a)&&l.size===0&&this._bumpTree(t)}_listens(t){let a=n=>{let l=n;return!!n._listeners.get(t)?.size||n.hasAttribute(`on${t}`)||typeof l[`on${t}`]=="function"||typeof l[`__${t}`]=="function"};if(a(this))return!0;for(let n=bs(this);n;n=bs(n))if(a(n))return!0;return!1}_bumpTree(t){this._def.byType.get(t)?.conditional&&this._bump();for(let a of this.querySelectorAll(e.selector))a instanceof e&&a._def.byType.get(t)?.conditional&&a._bump()}_slotView(t,a){let n=`${t}|${a?1:0}`;if(this._views.has(n))return this._views.get(n);let l=this._slots?.get(t),i;return l?.length&&(i=l.length===1&&!a?(0,Ke.createElement)(ld,{owner:this,nodes:l}):l.map((o,r)=>(0,Ke.createElement)(ld,{key:r,owner:this,nodes:[o]}))),this._views.set(n,i),i}_nodeView(t){if(t instanceof Node){let a=this._views.get(`node|${t.__tfKey??""}`);if(!a){let n=t.__tfKey??=`n${(++nd).toString(36)}`;a=(0,Ke.createElement)(ld,{key:n,owner:this,nodes:[t]}),this._views.set(`node|${n}`,a)}return a}return Array.isArray(t)?t.map(a=>this._nodeView(a)):t}_propValue(t){if(t.kind==="r"||t.kind==="R"){let n=this._slotView(t.name,t.kind==="R");if(n!==void 0)return n}if(t.kind==="K"&&this._slots){let n;for(let l of this._slots.keys())l.startsWith(`${t.name}:`)&&((n??={})[l.slice(t.name.length+1)]=this._slotView(l,!1));if(n)return{...this._values.get(t.name),...n}}if(t.kind==="f")return this._fns.get(t.name);let a=this._values.get(t.name);if(a!==void 0)return t.kind==="r"||t.kind==="R"?this._nodeView(a):a}_callback(t){let a=this._callbacks.get(t.prop);return a||(a=(...n)=>this._fire(t,n),this._callbacks.set(t.prop,a)),a}_fire(t,a){let n=this._fns.get(t.prop),l=n?n.apply(this,a):void 0,i=a[0];if(t.type==="click"&&Mg(i)&&i.nativeEvent.type==="click")return l;let o=a.map(Sg),r=t.arity>1?Array.from({length:Math.max(t.arity,o.length)},(u,s)=>o[s]):o.length?o[0]:null,c=new CustomEvent(t.type,{detail:r,bubbles:!0,composed:!0,cancelable:!0});return ad.add(c),this.dispatchEvent(c)&&this._after(t,o[0]),l}_after(t,a){let n=this._def,l=!1;for(let i of n.sync)i.event===t.prop&&this._values.get(i.prop)!==void 0&&(this._values.set(i.prop,i.from==="false"?!1:a),l=!0);l?this._bump():n.dismiss.has(t.prop)&&(this.hidden=!0)}_passes(t){return!t.conditional||this._fns.has(t.prop)||this._def.sync.some(a=>a.event===t.prop&&this._values.get(a.prop)!==void 0)?!0:this._listens(t.type)}_props(){let t=this._def,a={};for(let o of t.props){let r=this._propValue(o);r!==void 0&&(a[o.name]=r)}let n=this._slotView("children",!1);t.closeChildren?a.children=o=>(this._closeFn=o.close,n??null):n!==void 0&&(a.children=n);let l=this.getAttribute("class");l&&(a.className=l);let i=zg(this.getAttribute("style"));i&&(a.style=i);for(let o of t.events)this._passes(o)&&(a[o.prop]=this._callback(o));return a}_view(){if(this.hidden)return null;let t=this.constructor.component,a=this._props(),n=(0,Ke.createElement)(t,a);return this._def.dialog?(0,Ke.createElement)(wT,{onClose:a.onClose},n):n}};function Dg(e,t){let a=[...e.props.filter(o=>o.kind!=="f").map(o=>o.attr),...e.events.map(o=>`on${o.type}`),"class","style","hidden"];class n extends On{static def=e;static component=t;static observedAttributes=[...new Set(a)]}let l=n.prototype,i=(o,r,c)=>{Eg.has(o)||Object.defineProperty(l,o,{configurable:!0,enumerable:!0,get:r,set:c})};for(let o of e.props)i(o.name,function(){return o.kind==="f"?this._fns.get(o.name):this._values.get(o.name)},function(r){o.kind==="f"?typeof r=="function"?this._fns.set(o.name,r):this._fns.delete(o.name):r===void 0?this._values.delete(o.name):this._values.set(o.name,r),this._views.clear(),this._bump()});for(let o of e.events)i(o.prop,function(){return this._fns.get(o.prop)},function(r){typeof r=="function"?this._fns.set(o.prop,r):this._fns.delete(o.prop),this._bump()});return n}var xs=[{t:"tf-provider",c:"UIProvider",p:"kit:s theme:s density:s scope:s tokens:j surface:s motion:s locale:s messages:j"},{t:"tf-icon",c:"Icon",p:"name:s size:n label:s"},{t:"tf-range-slider",c:"RangeSlider",p:"label:r min:n max:n step:n value:j defaultValue:j unit:s inputs:b openEnd:b format:f hint:r",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-bar-list",c:"BarList",p:"items:j format:f label:s",e:"onPick:1?"},{t:"tf-status-select",c:"StatusSelect",p:"options:j value:s defaultValue:s size:s label:s width:n",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-tile-picker",c:"TilePicker",p:"options:j value:j defaultValue:j multiple:b min:n label:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-live-feed",c:"LiveFeed",p:"items:j types:j paused:b maxHeight:n emptyText:s",e:"onPause:1"},{t:"tf-map-view",c:"MapView",p:"points:j bounds:j background:r bubbles:b selected:x? renderPopup:f legend:r controls:r height:x label:s surface:s",e:"onSelect:1"},{t:"tf-balance-card",c:"BalanceCard",p:"name:s sub:r logo:r icon:s tint:s balance:n currency:s perDay:n low:n spark:j status:s statusLabel:s topUpLabel:s action:r",e:"onTopUp:0?"},{t:"tf-service-monitor",c:"ServiceMonitor",p:"items:j label:s"},{t:"tf-run-history",c:"RunHistory",p:"items:j label:s"},{t:"tf-webhook-endpoint",c:"WebhookEndpoint",p:"url:s events:jl status:s statusLabel:s successRate:n enabled:b secret:r deliveries:j menu:jl defaultOpen:b",e:"onToggle:0? onRetry:1?"},{t:"tf-backup-list",c:"BackupList",p:"items:j footer:r label:s",e:"onDownload:1? onRestore:1?"},{t:"tf-block-list",c:"BlockList",p:"items:j addLabel:s removeLabel:s searchPlaceholder:s emptyText:s",e:"onAdd:0? onRemove:1?"},{t:"tf-review-card",c:"ReviewCard",p:"author:s verified:b product:s date:s rating:n title:s text:s state:s stateLabel:s highlight:jl reply:s replyLabel:s",e:"onPublish:0? onHide:0? onReply:1?"},{t:"tf-coupon-card",c:"CouponCard",p:"code:s kind:s value:n currency:s used:n limit:n until:s min:n revenue:n text:r status:s statusLabel:s menu:jl",e:"onCopy:0"},{t:"tf-locale-field",c:"LocaleField",p:"label:r locales:j value:j defaultValue:j source:s active:s multiline:b rows:n placeholder:s hint:r error:r",e:"onChange:1 onTranslate:2?",s:"onChange:value:detail"},{t:"tf-locale-switcher",c:"LocaleSwitcher",p:"languages:j language:s currencies:jl currency:s variant:s",e:"onLanguage:1 onCurrency:1"},{t:"tf-workspace-switcher",c:"WorkspaceSwitcher",p:"items:j value:s label:s footer:r variant:s width:n",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-export-dialog",c:"ExportDialog",p:"open:b inline:b title:s text:r count:n formats:jl format:s columns:j ranges:b range:jt note:r download:r doneText:s",e:"onClose:0 onExport:2 onDownload:0",s:"onClose:open:false",x:"onClose"},{t:"tf-two-factor-setup",c:"TwoFactorSetup",p:"qr:r secret:s codes:jl step:n scanText:s codesText:s",e:"onVerify:1? onDownload:0? onDone:0"},{t:"tf-color-field",c:"ColorField",p:"label:r value:s defaultValue:s against:s! hint:r",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-agent-card",c:"AgentCard",p:"name:s role:s tint:s status:s statusLabel:s model:s cost:s last:r",e:"onClick:0? onChat:0?"},{t:"tf-agent-details",c:"AgentDetails",p:"name:s role:s tint:s status:s statusLabel:s sections:j actions:R"},{t:"tf-chat-list",c:"ChatList",p:"groups:j selected:s filters:r searchPlaceholder:s",e:"onSelect:1 onSearch:1"},{t:"tf-chat-workspace",c:"ChatWorkspace",p:"list:r thread:r details:r"},{t:"tf-search-hits",c:"SearchHits",p:"items:j query:s emptyText:s",e:"onOpen:1"},{t:"tf-thinking-line",c:"ThinkingLine",p:"text:s"},{t:"tf-feedback-rating",c:"FeedbackRating",p:"value:s? label:s placeholder:s thanks:s askOnUp:b",e:"onRate:1 onSubmit:2"},{t:"tf-activity-feed",c:"ActivityFeed",p:"groups:j items:j"},{t:"tf-daily-briefing",c:"DailyBriefing",p:"title:s time:s tint:s summary:r attention:j suggestions:R attentionTitle:s suggestionsTitle:s"},{t:"tf-budget-stop",c:"BudgetStop",p:"spent:n budget:n title:s text:r paused:r running:r actionLabel:s",e:"onRaise:0?"},{t:"tf-memory-viewer",c:"MemoryViewer",p:"items:j",e:"onEdit:1? onDelete:1?"},{t:"tf-override-diff",c:"OverrideDiff",p:"title:s versions:r by:r before:s after:s discardLabel:s promoteLabel:s",e:"onDiscard:0? onPromote:0?"},{t:"tf-trigger-list",c:"TriggerList",p:"items:j",e:"onToggle:1? onRun:1?"},{t:"tf-schedule-calendar",c:"ScheduleCalendar",p:"events:j from:n to:n days:jl",e:"onOpen:1"},{t:"tf-org-chart",c:"OrgChart",p:"root:j"},{t:"tf-voice-mode",c:"VoiceMode",p:"name:s tint:s state:s stateLabel:s transcript:r muted:b",e:"onMute:0? onEnd:0?"},{t:"tf-mobile-tab-bar",c:"MobileTabBar",p:"items:j active:s label:s",e:"onPick:1"},{t:"tf-push-notification",c:"PushNotification",p:"app:s time:s title:s text:r actions:j"},{t:"tf-config-pr-summary",c:"ConfigPRSummary",p:"title:s meta:r status:s statusLabel:s summary:r items:j actions:R"},{t:"tf-module-registry",c:"ModuleRegistry",p:"items:j coreLabel:s",e:"onToggle:1"},{t:"tf-approval-card",c:"ApprovalCard",p:"title:r text:r agent:s project:s family:s familyLabel:s age:s escalation:r trace:r note:r heading:s options:j approveLabel:s decision:j compact:b state:s",e:"onDecide:2 onApprove:0 onDeny:0 onEdit:1"},{t:"tf-approval-inbox",c:"ApprovalInbox",p:"items:j selected:x emptyTitle:s emptyText:s label:s",e:"onSelect:1?"},{t:"tf-kbd",c:"Kbd",p:"keys:jl"},{t:"tf-key-value",c:"KeyValue",p:"items:j dense:b"},{t:"tf-spinner",c:"Spinner",p:"size:s label:s"},{t:"tf-collapsible",c:"Collapsible",p:"title:r meta:r defaultOpen:b open:b",e:"onOpenChange:1",s:"onOpenChange:open:detail"},{t:"tf-context-menu",c:"ContextMenu",p:"items:jl"},{t:"tf-split-pane",c:"SplitPane",p:"left:r right:r defaultSize:n min:n max:n storageKey:s"},{t:"tf-resizable-panels",c:"ResizablePanels",p:"panels:R defaultSizes:j min:n orientation:s storageKey:s labels:jl"},{t:"tf-tree-view",c:"TreeView",p:"items:j defaultOpen:jl selected:s label:s",e:"onSelect:1"},{t:"tf-inline-edit",c:"InlineEdit",p:"value:s options:jl mono:b type:s display:f align:s label:s",e:"onSave:1"},{t:"tf-bar-chart",c:"BarChart",p:"data:j tint:s height:n width:n barWidth:n format:f label:s"},{t:"tf-line-chart",c:"LineChart",p:"labels:jl series:j height:n width:n format:f label:s"},{t:"tf-sparkline",c:"Sparkline",p:"values:j tint:s width:n height:n label:s"},{t:"tf-donut",c:"Donut",p:"data:j center:s caption:s size:n stroke:n legend:b label:s"},{t:"tf-legend",c:"Legend",p:"items:j"},{t:"tf-stacked-bar-chart",c:"StackedBarChart",p:"labels:jl series:j height:n width:n barWidth:n format:f legend:b label:s"},{t:"tf-area-chart",c:"AreaChart",p:"labels:jl series:j stacked:b height:n width:n format:f legend:b label:s"},{t:"tf-heatmap",c:"Heatmap",p:"rows:jl cols:jl values:j colEvery:n caption:s format:f label:s"},{t:"tf-funnel",c:"Funnel",p:"steps:j tint:s format:f"},{t:"tf-gauge",c:"Gauge",p:"value:n max:n caption:s format:f tint:s thresholds:j size:n stroke:n showRange:b label:s"},{t:"tf-rich-text",c:"RichText",p:"text:s streaming:b"},{t:"tf-code-block",c:"CodeBlock",p:"code:s lang:s open:b"},{t:"tf-typing-dots",c:"TypingDots",p:"label:s"},{t:"tf-agent-mark",c:"AgentMark",p:"tint:s icon:s size:n live:b"},{t:"tf-chat-message",c:"ChatMessage",p:"role:s name:s time:s model:s text:s streaming:b tint:s sources:j attachments:j usage:s actions:b before:r after:r feedback:s?",e:"onRetry:0? onFeedback:1"},{t:"tf-tool-call",c:"ToolCall",p:"name:s icon:s status:s summary:r duration:s input:j output:j defaultOpen:b"},{t:"tf-reasoning",c:"Reasoning",p:"steps:jl text:r duration:s streaming:b defaultOpen:b"},{t:"tf-prompt-starters",c:"PromptStarters",p:"items:j",e:"onPick:1"},{t:"tf-model-picker",c:"ModelPicker",p:"models:j value:s side:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-composer",c:"Composer",p:"value:s busy:b placeholder:s label:s models:j model:s commands:j attachments:j hint:s left:r disabled:b",e:"onChange:1 onSend:2 onStop:0 onModel:1 onCommand:1? onAttach:1? onRemoveAttachment:1?",s:"onChange:value:detail"},{t:"tf-agent-status",c:"AgentStatus",p:"status:s step:s"},{t:"tf-run-trace",c:"RunTrace",p:"steps:j defaultOpen:n? footer:r"},{t:"tf-usage-meter",c:"UsageMeter",p:"used:n limit:n label:s caption:s format:f"},{t:"tf-product-art",c:"ProductArt",p:"kind:s tint:s size:n label:s"},{t:"tf-price",c:"Price",p:"value:n compareAt:n currency:s size:s showSave:b"},{t:"tf-rating",c:"Rating",p:"value:n count:n size:n"},{t:"tf-stock-badge",c:"StockBadge",p:"stock:n low:n compact:b"},{t:"tf-product-card",c:"ProductCard",p:"name:s meta:s art:s tint:s price:n compareAt:n rating:n reviews:n badge:s badgeTone:s stock:n wished:b added:b",e:"onWish:0? onAdd:0? onClick:0"},{t:"tf-variant-picker",c:"VariantPicker",p:"label:s type:s options:jl value:s defaultValue:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-cart-line",c:"CartLine",p:"name:s variant:s note:s art:s tint:s price:n qty:n",e:"onQty:1? onRemove:0"},{t:"tf-order-summary",c:"OrderSummary",p:"lines:j showLines:b discount:j shipping:n? freeShippingFrom:n vat:n title:s! action:r",e:"onCoupon:1?"},{t:"tf-checkout-steps",c:"CheckoutSteps",p:"steps:jl current:n",e:"onPick:1?"},{t:"tf-order-timeline",c:"OrderTimeline",p:"status:s times:j"},{t:"tf-plan-card",c:"PlanCard",p:"name:s text:s price:n? was:n per:s features:jl featured:b flag:s current:b cta:s disabled:b",e:"onPick:0"},{t:"tf-count-up",c:"CountUp",p:"value:x duration:n delay:n"},{t:"tf-stat-tile",c:"StatTile",p:"value:r label:s tint:s delta:s delay:n"},{t:"tf-card",c:"Card",p:"title:s description:s meta:jl corner:r status:r actions:R tint:s eyebrow:r surface:s",e:"onClick:0?"},{t:"tf-event-card",c:"EventCard",p:"kind:s label:s date:s time:s tint:s icon:s actions:b"},{t:"tf-panel",c:"Panel",p:"side:b title:s subtitle:s action:r surface:s"},{t:"tf-page-header",c:"PageHeader",p:"crumbs:jl title:s subtitle:s actions:R"},{t:"tf-stagger",c:"Stagger",p:"as:s delay:n reveal:b"},{t:"tf-table",c:"Table",p:"columns:j rows:j animate:b"},{t:"tf-list-row",c:"ListRow",p:"avatar:s icon:s tint:s leading:r title:r subtitle:r meta:r trailing:r unread:b active:b",e:"onClick:0"},{t:"tf-timeline",c:"Timeline",p:"items:j delay:n"},{t:"tf-file-row",c:"FileRow",p:"name:s meta:s kind:s"},{t:"tf-kanban-column",c:"KanbanColumn",p:"title:s dot:s delay:n",e:"onAdd:0"},{t:"tf-progress",c:"Progress",p:"value:n tint:s label:s"},{t:"tf-progress-ring",c:"ProgressRing",p:"value:n tint:s size:n stroke:n caption:s label:s"},{t:"tf-filter-bar",c:"FilterBar",p:"filters:j value:j search:s query:s right:r",e:"onChange:1 onQuery:1",s:"onChange:value:detail"},{t:"tf-data-table",c:"DataTable",p:"columns:j rows:j rowKey:s selectable:b bulkActions:j renderExpanded:f stickyHeader:b maxHeight:x defaultSort:j toolbar:r columnToggle:b empty:r"},{t:"tf-log-view",c:"LogView",p:"lines:jl title:r right:r numbers:b follow:b maxHeight:n"},{t:"tf-code-viewer",c:"CodeViewer",p:"value:j lang:s"},{t:"tf-secret-field",c:"SecretField",p:"prefix:s last4:s value:s meta:r",e:"onReveal:0? onCopy:0? onRotate:0?"},{t:"tf-money-input",c:"MoneyInput",p:"label:s value:n? currency:s vat:s vatOptions:j showGross:b hint:r error:r defaultValue:n? required:b",e:"onChange:1 onVat:1",s:"onChange:value:detail"},{t:"tf-settings-layout",c:"SettingsLayout",p:"sections:j footer:r"},{t:"tf-shortcuts-overlay",c:"ShortcutsOverlay",p:"open:b title:s groups:j",e:"onClose:0",s:"onClose:open:false",x:"onClose"},{t:"tf-stat-cell",c:"StatCell",p:"label:r value:r delta:n deltaText:s compare:s invert:b spark:j icon:s iconTint:s tint:s"},{t:"tf-uptime-bar",c:"UptimeBar",p:"days:jl uptime:n caption:r"},{t:"tf-meter",c:"Meter",p:"label:r value:n? max:n text:r warn:n danger:n tone:s"},{t:"tf-skeleton",c:"Skeleton",p:"variant:s width:x height:x"},{t:"tf-menu",c:"Menu",p:"items:jl label:s autoFocus:b",e:"onClose:0?"},{t:"tf-modal",c:"Modal",p:"title:s text:s icon:s tint:s actions:R open:b",e:"onClose:0",s:"onClose:open:false",x:"onClose",dialog:1},{t:"tf-toast",c:"Toast",p:"icon:s tint:s action:s",e:"onAction:0"},{t:"tf-empty-state",c:"EmptyState",p:"title:s text:s icon:s tint:s action:r"},{t:"tf-alert",c:"Alert",p:"tone:s title:r icon:s action:r",e:"onDismiss:0?",x:"onDismiss"},{t:"tf-confirm-dialog",c:"ConfirmDialog",p:"open:b title:s text:s danger:b icon:s confirmLabel:s cancelLabel:s confirmText:s",e:"onConfirm:0 onCancel:0",s:"onCancel:open:false onConfirm:open:false"},{t:"tf-toaster",c:"Toaster",p:"position:s"},{t:"tf-form-field",c:"FormField",p:"name:s label:r required:b optional:b hint:r error:r success:r"},{t:"tf-text-field",c:"TextField",p:"type:s icon:s suffix:r value:s defaultValue:s placeholder:s disabled:b readOnly:b autoComplete:s autoFocus:b min:x max:x step:x minLength:n maxLength:n pattern:s inputMode:s name:s label:r required:b optional:b hint:r error:r success:r",e:"onChange:1 onBlur:1",s:"onChange:value:detail"},{t:"tf-radio-group",c:"RadioGroup",p:"label:s options:jl value:s defaultValue:s cards:b hint:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-segmented",c:"Segmented",p:"options:jl value:s defaultValue:s size:s block:b label:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-combobox",c:"Combobox",p:"label:s options:jl value:j defaultValue:j multiple:b creatable:b placeholder:s hint:s error:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-tag-input",c:"TagInput",p:"label:s value:jl defaultValue:jl placeholder:s hint:s error:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-calendar",c:"Calendar",p:"range:b value:jt today:d min:d max:d month:d",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-date-picker",c:"DatePicker",p:"label:s range:b value:jt defaultValue:jt presets:b min:d max:d today:d placeholder:s hint:s error:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-number-input",c:"NumberInput",p:"label:s value:n defaultValue:n min:n max:n step:n unit:s hint:s error:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-slider",c:"Slider",p:"label:s min:n max:n step:n value:n defaultValue:n format:f marks:b hint:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-otp-input",c:"OtpInput",p:"length:n error:b label:s",e:"onComplete:1"},{t:"tf-file-drop",c:"FileDrop",p:"files:j simulateProgress:b title:s hint:s accept:s multiple:b",e:"onChange:1 onFiles:1? onReject:1 onRemove:1"},{t:"tf-button",c:"Button",p:"variant:s size:s icon:s iconRight:s disabled:b type:s asChild:b name:s value:s form:s title:s tabIndex:n autoFocus:b aria-label:s aria-labelledby:s aria-describedby:s aria-expanded:j aria-controls:s aria-haspopup:j aria-pressed:j aria-current:j",e:"onClick:1"},{t:"tf-icon-button",c:"IconButton",p:"icon:s label:s variant:s size:s type:s disabled:b asChild:b name:s value:s form:s title:s tabIndex:n autoFocus:b aria-label:s aria-labelledby:s aria-describedby:s aria-expanded:j aria-controls:s aria-haspopup:j aria-pressed:j aria-current:j",e:"onClick:1"},{t:"tf-chip",c:"Chip",p:"selected:b icon:s count:n",e:"onClick:1"},{t:"tf-badge",c:"Badge",p:"tone:s dot:b live:b"},{t:"tf-tint-icon",c:"TintIcon",p:"icon:s tint:s label:s size:n"},{t:"tf-avatar",c:"Avatar",p:"name:s src:s size:n tint:s"},{t:"tf-avatar-stack",c:"AvatarStack",p:"names:jl max:n size:n"},{t:"tf-input",c:"Input",p:"type:s placeholder:s value:s defaultValue:s disabled:b label:s hint:s error:s name:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-select",c:"Select",p:"options:jl value:s defaultValue:s label:s hint:s error:s name:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-textarea",c:"Textarea",p:"placeholder:s value:s defaultValue:s rows:n disabled:b label:s hint:s error:s name:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-search-field",c:"SearchField",p:"placeholder:s label:s shortcut:s value:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-checkbox",c:"Checkbox",p:"name:s value:s required:b checked:b defaultChecked:b disabled:b label:s",e:"onChange:1",s:"onChange:checked:detail"},{t:"tf-switch",c:"Switch",p:"name:s checked:b defaultChecked:b spread:b disabled:b label:s",e:"onChange:1",s:"onChange:checked:detail"},{t:"tf-form",c:"Form",p:"rules:j errors:j",e:"onSubmit:1 onInvalid:1"},{t:"tf-select-menu",c:"SelectMenu",p:"options:jl value:s defaultValue:s placeholder:s disabled:b label:s hint:s error:s name:s required:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-account-switcher",c:"AccountSwitcher",p:"accounts:j value:s? unread:n allLabel:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-inbox-list",c:"InboxList",p:"items:j selected:x",e:"onOpen:1"},{t:"tf-mail-thread",c:"MailThread",p:"subject:s messages:j reply:r"},{t:"tf-signature-editor",c:"SignatureEditor",p:"value:j fields:j note:r extra:r defaultValue:j previewLabel:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-attachment-preview",c:"AttachmentPreview",p:"name:s meta:r facts:j found:r actions:r width:x inline:b",e:"onClose:0",x:"onClose"},{t:"tf-image-variants",c:"ImageVariants",p:"variants:j selected:x alt:s tint:s actions:r",e:"onSelect:1"},{t:"tf-gallery",c:"Gallery",p:"items:j loading:s referrerPolicy:s start:n ratio:s thumbs:b fullscreen:b badge:r"},{t:"tf-before-after",c:"BeforeAfter",p:"before:j after:j start:n ratio:s beforeLabel:s afterLabel:s label:s valueText:f loading:s referrerPolicy:s"},{t:"tf-tabs",c:"Tabs",p:"items:jl value:s defaultValue:s block:b panels:K label:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-breadcrumb",c:"Breadcrumb",p:"items:jl"},{t:"tf-pagination",c:"Pagination",p:"total:n page:n defaultPage:n",e:"onChange:1?",s:"onChange:page:detail"},{t:"tf-menubar",c:"Menubar",p:"menus:j label:s"},{t:"tf-navigation-menu",c:"NavigationMenu",p:"items:j label:s"},{t:"tf-sidebar",c:"Sidebar",p:"groups:j current:s collapsed:b defaultCollapsed:b header:r footer:r label:s",e:"onPick:1 onCollapsedChange:1",s:"onCollapsedChange:collapsed:detail"},{t:"tf-connection-card",c:"ConnectionCard",p:"name:s icon:s logo:r text:r status:s statusLabel:s action:r"},{t:"tf-connection-banner",c:"ConnectionBanner",p:"state:s seconds:n text:r",e:"onRetry:0?"},{t:"tf-server-card",c:"ServerCard",p:"name:s provider:s address:s logo:r status:s statusLabel:s meters:j uptime:j foot:r"},{t:"tf-deploy-pipeline",c:"DeployPipeline",p:"stages:j"},{t:"tf-dns-record-table",c:"DnsRecordTable",p:"records:j rowMenu:f selectable:b bulkActions:j toolbar:r"},{t:"tf-domain-list",c:"DomainList",p:"items:j",e:"onOpen:1"},{t:"tf-mail-auth-status",c:"MailAuthStatus",p:"rows:j columns:jl",e:"onOpen:2"},{t:"tf-ledger-table",c:"LedgerTable",p:"rows:j categories:jl currency:s selectable:b bulkActions:j toolbar:r maxHeight:n columnToggle:b",e:"onEdit:2"},{t:"tf-pnl-statement",c:"PnLStatement",p:"columns:jl rows:j currency:s total:b label:s"},{t:"tf-receipt-suggestion",c:"ReceiptSuggestion",p:"file:s source:r fields:j suggestion:r confirmLabel:s discardLabel:s",e:"onConfirm:0? onDiscard:0?"},{t:"tf-popover",c:"Popover",p:"trigger:r open:b align:s side:s width:n flush:b block:b role:s",e:"onOpenChange:1",s:"onOpenChange:open:detail",close:1},{t:"tf-tooltip",c:"Tooltip",p:"label:r shortcut:s side:s defaultOpen:b"},{t:"tf-email-preview",c:"EmailPreview",p:"from:s fromName:s subject:s preheader:s html:s device:s checks:j",e:"onDevice:1"},{t:"tf-search-ad-preview",c:"SearchAdPreview",p:"name:s domain:s paths:jl headlines:jl descriptions:jl sitelinks:jl device:s sponsoredLabel:s",e:"onDevice:1"},{t:"tf-accordion",c:"Accordion",p:"items:j multiple:b value:jl defaultValue:jl variant:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-separator",c:"Separator",p:"orientation:s label:s"},{t:"tf-aspect-ratio",c:"AspectRatio",p:"ratio:n"},{t:"tf-label",c:"Label",p:"htmlFor:s required:b hint:r"},{t:"tf-toggle",c:"Toggle",p:"pressed:b defaultPressed:b icon:s label:s size:s disabled:b",e:"onChange:1",s:"onChange:pressed:detail"},{t:"tf-toggle-group",c:"ToggleGroup",p:"items:jl type:s value:jl defaultValue:jl label:s size:s",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-button-group",c:"ButtonGroup",p:"label:s orientation:s"},{t:"tf-scroll-area",c:"ScrollArea",p:"height:x maxHeight:x orientation:s label:s"},{t:"tf-hover-card",c:"HoverCard",p:"trigger:r side:s align:s openDelay:n closeDelay:n width:n"},{t:"tf-carousel",c:"Carousel",p:"slides:R label:s perView:n loop:b dots:b index:n defaultIndex:n",e:"onChange:1",s:"onChange:index:detail"},{t:"tf-listing-card",c:"ListingCard",p:"listing:j layout:s selected:b statusOptions:j",e:"onSelect:1? onWish:1? onStatus:2 onOpen:1?"},{t:"tf-results-toolbar",c:"ResultsToolbar",p:"title:s total:n meta:s selected:n bulkActions:j sortOptions:j sort:s views:jl view:s",e:"onSelectAll:1? onSort:1 onView:1"},{t:"tf-saved-search",c:"SavedSearch",p:"name:s criteria:R lastRun:s frequency:s newCount:n enabled:b openLabel:s icon:s tint:s",e:"onToggle:0? onEdit:0? onOpen:0?"},{t:"tf-valuation-card",c:"ValuationCard",p:"value:n low:n high:n asking:n perSqm:n compare:s currency:s confidence:n confidenceLabel:s facts:j note:r title:s action:r"},{t:"tf-energy-class",c:"EnergyClass",p:"value:s kwh:n kind:s scale:jl"},{t:"tf-rich-text-editor",c:"RichTextEditor",p:"label:r defaultValue:s value:s placeholder:s variables:j maxLength:n minHeight:n footer:r hint:r error:r disabled:b",e:"onChange:1",s:"onChange:value:detail"},{t:"tf-top-bar",c:"TopBar",p:"brand:s tag:s items:j active:s user:j extra:r userOpen:b",e:"onNavigate:1 onUser:0"},{t:"tf-side-rail",c:"SideRail",p:"top:j bottom:j"},{t:"tf-dock",c:"Dock",p:"items:j label:s surface:s"},{t:"tf-floating-layout",c:"FloatingLayout",p:"background:r top:r start:r end:r bottom:r height:x surface:s label:s"},{t:"tf-ambient",c:"Ambient",p:"colors:jl src:s video:b animate:b fixed:b"},{t:"tf-app-shell",c:"AppShell",p:"active:s brand:s tag:s nav:j user:j topExtra:r sheetStyle:j contentKey:x side:r dock:b dockItems:j railTop:j railBottom:j",e:"onNavigate:1"},{t:"tf-chat-launcher",c:"ChatLauncher",p:"title:s context:r tint:s open:b unread:n headerAction:r composer:r inline:b",e:"onOpenChange:1",s:"onOpenChange:open:detail"},{t:"tf-cookie-consent",c:"CookieConsent",p:"title:s text:r policy:r categories:j open:b inline:b",e:"onSave:1"},{t:"tf-announcement-bar",c:"AnnouncementBar",p:"tint:s icon:s! action:r",e:"onDismiss:0?",x:"onDismiss"},{t:"tf-status-shape",c:"StatusShape",p:"status:s"},{t:"tf-status-indicator",c:"StatusIndicator",p:"status:s label:r size:s"},{t:"tf-status-screen",c:"StatusScreen",p:"code:s title:s text:s icon:s tint:s extra:r actions:R reference:s",e:"onHome:0 onContact:0"},{t:"tf-auth-card",c:"AuthCard",p:"title:s text:s icon:s tint:s brand:s foot:r"},{t:"tf-sub-nav",c:"SubNav",p:"eyebrow:s action:j items:j current:s",e:"onPick:1"},{t:"tf-drawer",c:"Drawer",p:"title:s subtitle:r avatar:s width:x inline:b open:b side:s",e:"onClose:0",s:"onClose:open:false",x:"onClose"},{t:"tf-command-palette",c:"CommandPalette",p:"items:j placeholder:s inline:b loading:b empty:r open:b",e:"onClose:0 onQueryChange:1",s:"onClose:open:false",x:"onClose"},{t:"tf-notification-list",c:"NotificationList",p:"items:j",e:"onOpen:1 onReadAll:0"},{t:"tf-flow",c:"Flow",p:"steps:j active:n? waiting:b tools:f",e:"onApprove:0? onReject:0?"},{t:"tf-file-thumb",c:"FileThumb",p:"kind:s title:s big:b entries:jl"},{t:"tf-file-card",c:"FileCard",p:"name:s kind:s size:s meta:s shared:b",e:"onClick:0"},{t:"tf-wizard",c:"Wizard",p:"steps:j current:n done:j footer:r brand:s label:s",e:"onPick:1"},{t:"tf-permission-matrix",c:"PermissionMatrix",p:"roles:j areas:jl",e:"onChange:3"},{t:"tf-invoice-preview",c:"InvoicePreview",p:"number:x from:s to:s issued:s due:s lines:j note:s kind:s brand:s format:f"},{t:"tf-transaction-row",c:"TransactionRow",p:"text:s date:s amount:n matched:b matchRef:s hint:s",e:"onMatch:0"}];Hi(g4);var vL="0.4.0",pL=Object.freeze(Object.fromEntries(xs.map(e=>[e.t,e.c]))),Og=xs.map(e=>e.t),_g=!1;function CT(){if(_g)return;_g=!0;let e=Og.join(","),t=`:where(${e},tf-root){display:contents}:where(${e})[hidden]{display:none}`;try{let a=new CSSStyleSheet;a.replaceSync(t),document.adoptedStyleSheets=[...document.adoptedStyleSheets,a]}catch{let a=document.createElement("style");a.dataset.tfElements="",a.textContent=t,document.head.prepend(a)}}function TT(){if(typeof window>"u"||typeof customElements>"u")return;On.selector=Og.join(","),CT();let e=l1;for(let t of xs){if(customElements.get(t.t))continue;let a=e[t.c];typeof a=="function"&&customElements.define(t.t,Dg(Cg(t),a))}}TT();export{pL as ELEMENTS,vL as VERSION,TT as defineElements,Ya as formatDate,w0 as formatMoney,Ta as formatNumber,Ti as formatPercent,Hi as registerIcons,Nt as toast};
|
|
31
31
|
/*! Bundled license information:
|
|
32
32
|
|
|
33
33
|
react/cjs/react.production.js:
|