@appchy/jarvis 0.1.60 → 0.1.61
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/bin.js +1 -1
- package/dist/ui/app.js +7 -7
- package/package.json +4 -4
package/dist/ui/app.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var gV=Object.create;var W5=Object.defineProperty;var vV=Object.getOwnPropertyDescriptor;var uV=Object.getOwnPropertyNames;var MV=Object.getPrototypeOf,fV=Object.prototype.hasOwnProperty;var b1=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports),hn=(t,a)=>{for(var r in a)W5(t,r,{get:a[r],enumerable:!0})},mV=(t,a,r,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of uV(a))!fV.call(t,i)&&i!==r&&W5(t,i,{get:()=>a[i],enumerable:!(e=vV(a,i))||e.enumerable});return t};var W=(t,a,r)=>(r=t!=null?gV(MV(t)):{},mV(a||!t||!t.__esModule?W5(r,"default",{value:t,enumerable:!0}):r,t));var W8=b1(ft=>{"use strict";var ho=Symbol.for("react.element"),xV=Symbol.for("react.portal"),zV=Symbol.for("react.fragment"),kV=Symbol.for("react.strict_mode"),LV=Symbol.for("react.profiler"),wV=Symbol.for("react.provider"),bV=Symbol.for("react.context"),HV=Symbol.for("react.forward_ref"),CV=Symbol.for("react.suspense"),BV=Symbol.for("react.memo"),VV=Symbol.for("react.lazy"),k8=Symbol.iterator;function TV(t){return t===null||typeof t!="object"?null:(t=k8&&t[k8]||t["@@iterator"],typeof t=="function"?t:null)}var b8={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H8=Object.assign,C8={};function ae(t,a,r){this.props=t,this.context=a,this.refs=C8,this.updater=r||b8}ae.prototype.isReactComponent={};ae.prototype.setState=function(t,a){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,a,"setState")};ae.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function B8(){}B8.prototype=ae.prototype;function O5(t,a,r){this.props=t,this.context=a,this.refs=C8,this.updater=r||b8}var A5=O5.prototype=new B8;A5.constructor=O5;H8(A5,ae.prototype);A5.isPureReactComponent=!0;var L8=Array.isArray,V8=Object.prototype.hasOwnProperty,P5={current:null},T8={key:!0,ref:!0,__self:!0,__source:!0};function y8(t,a,r){var e,i={},o=null,l=null;if(a!=null)for(e in a.ref!==void 0&&(l=a.ref),a.key!==void 0&&(o=""+a.key),a)V8.call(a,e)&&!T8.hasOwnProperty(e)&&(i[e]=a[e]);var n=arguments.length-2;if(n===1)i.children=r;else if(1<n){for(var h=Array(n),c=0;c<n;c++)h[c]=arguments[c+2];i.children=h}if(t&&t.defaultProps)for(e in n=t.defaultProps,n)i[e]===void 0&&(i[e]=n[e]);return{$$typeof:ho,type:t,key:o,ref:l,props:i,_owner:P5.current}}function yV(t,a){return{$$typeof:ho,type:t.type,key:a,ref:t.ref,props:t.props,_owner:t._owner}}function E5(t){return typeof t=="object"&&t!==null&&t.$$typeof===ho}function SV(t){var a={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return a[r]})}var w8=/\/+/g;function j5(t,a){return typeof t=="object"&&t!==null&&t.key!=null?SV(""+t.key):a.toString(36)}function dn(t,a,r,e,i){var o=typeof t;(o==="undefined"||o==="boolean")&&(t=null);var l=!1;if(t===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case ho:case xV:l=!0}}if(l)return l=t,i=i(l),t=e===""?"."+j5(l,0):e,L8(i)?(r="",t!=null&&(r=t.replace(w8,"$&/")+"/"),dn(i,a,r,"",function(c){return c})):i!=null&&(E5(i)&&(i=yV(i,r+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(w8,"$&/")+"/")+t)),a.push(i)),1;if(l=0,e=e===""?".":e+":",L8(t))for(var n=0;n<t.length;n++){o=t[n];var h=e+j5(o,n);l+=dn(o,a,r,h,i)}else if(h=TV(t),typeof h=="function")for(t=h.call(t),n=0;!(o=t.next()).done;)o=o.value,h=e+j5(o,n++),l+=dn(o,a,r,h,i);else if(o==="object")throw a=String(t),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.");return l}function cn(t,a,r){if(t==null)return t;var e=[],i=0;return dn(t,e,"","",function(o){return a.call(r,o,i++)}),e}function WV(t){if(t._status===-1){var a=t._result;a=a(),a.then(function(r){(t._status===0||t._status===-1)&&(t._status=1,t._result=r)},function(r){(t._status===0||t._status===-1)&&(t._status=2,t._result=r)}),t._status===-1&&(t._status=0,t._result=a)}if(t._status===1)return t._result.default;throw t._result}var X1={current:null},sn={transition:null},jV={ReactCurrentDispatcher:X1,ReactCurrentBatchConfig:sn,ReactCurrentOwner:P5};function S8(){throw Error("act(...) is not supported in production builds of React.")}ft.Children={map:cn,forEach:function(t,a,r){cn(t,function(){a.apply(this,arguments)},r)},count:function(t){var a=0;return cn(t,function(){a++}),a},toArray:function(t){return cn(t,function(a){return a})||[]},only:function(t){if(!E5(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};ft.Component=ae;ft.Fragment=zV;ft.Profiler=LV;ft.PureComponent=O5;ft.StrictMode=kV;ft.Suspense=CV;ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jV;ft.act=S8;ft.cloneElement=function(t,a,r){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var e=H8({},t.props),i=t.key,o=t.ref,l=t._owner;if(a!=null){if(a.ref!==void 0&&(o=a.ref,l=P5.current),a.key!==void 0&&(i=""+a.key),t.type&&t.type.defaultProps)var n=t.type.defaultProps;for(h in a)V8.call(a,h)&&!T8.hasOwnProperty(h)&&(e[h]=a[h]===void 0&&n!==void 0?n[h]:a[h])}var h=arguments.length-2;if(h===1)e.children=r;else if(1<h){n=Array(h);for(var c=0;c<h;c++)n[c]=arguments[c+2];e.children=n}return{$$typeof:ho,type:t.type,key:i,ref:o,props:e,_owner:l}};ft.createContext=function(t){return t={$$typeof:bV,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:wV,_context:t},t.Consumer=t};ft.createElement=y8;ft.createFactory=function(t){var a=y8.bind(null,t);return a.type=t,a};ft.createRef=function(){return{current:null}};ft.forwardRef=function(t){return{$$typeof:HV,render:t}};ft.isValidElement=E5;ft.lazy=function(t){return{$$typeof:VV,_payload:{_status:-1,_result:t},_init:WV}};ft.memo=function(t,a){return{$$typeof:BV,type:t,compare:a===void 0?null:a}};ft.startTransition=function(t){var a=sn.transition;sn.transition={};try{t()}finally{sn.transition=a}};ft.unstable_act=S8;ft.useCallback=function(t,a){return X1.current.useCallback(t,a)};ft.useContext=function(t){return X1.current.useContext(t)};ft.useDebugValue=function(){};ft.useDeferredValue=function(t){return X1.current.useDeferredValue(t)};ft.useEffect=function(t,a){return X1.current.useEffect(t,a)};ft.useId=function(){return X1.current.useId()};ft.useImperativeHandle=function(t,a,r){return X1.current.useImperativeHandle(t,a,r)};ft.useInsertionEffect=function(t,a){return X1.current.useInsertionEffect(t,a)};ft.useLayoutEffect=function(t,a){return X1.current.useLayoutEffect(t,a)};ft.useMemo=function(t,a){return X1.current.useMemo(t,a)};ft.useReducer=function(t,a,r){return X1.current.useReducer(t,a,r)};ft.useRef=function(t){return X1.current.useRef(t)};ft.useState=function(t){return X1.current.useState(t)};ft.useSyncExternalStore=function(t,a,r){return X1.current.useSyncExternalStore(t,a,r)};ft.useTransition=function(){return X1.current.useTransition()};ft.version="18.3.1"});var at=b1((CD,j8)=>{"use strict";j8.exports=W8()});var N8=b1(It=>{"use strict";function I5(t,a){var r=t.length;t.push(a);t:for(;0<r;){var e=r-1>>>1,i=t[e];if(0<pn(i,a))t[e]=a,t[r]=i,r=e;else break t}}function Z2(t){return t.length===0?null:t[0]}function vn(t){if(t.length===0)return null;var a=t[0],r=t.pop();if(r!==a){t[0]=r;t:for(var e=0,i=t.length,o=i>>>1;e<o;){var l=2*(e+1)-1,n=t[l],h=l+1,c=t[h];if(0>pn(n,r))h<i&&0>pn(c,n)?(t[e]=c,t[h]=r,e=h):(t[e]=n,t[l]=r,e=l);else if(h<i&&0>pn(c,r))t[e]=c,t[h]=r,e=h;else break t}}return a}function pn(t,a){var r=t.sortIndex-a.sortIndex;return r!==0?r:t.id-a.id}typeof performance=="object"&&typeof performance.now=="function"?(O8=performance,It.unstable_now=function(){return O8.now()}):(R5=Date,A8=R5.now(),It.unstable_now=function(){return R5.now()-A8});var O8,R5,A8,v0=[],sa=[],OV=1,S2=null,D1=3,un=!1,ar=!1,so=!1,R8=typeof setTimeout=="function"?setTimeout:null,_8=typeof clearTimeout=="function"?clearTimeout:null,P8=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function D5(t){for(var a=Z2(sa);a!==null;){if(a.callback===null)vn(sa);else if(a.startTime<=t)vn(sa),a.sortIndex=a.expirationTime,I5(v0,a);else break;a=Z2(sa)}}function N5(t){if(so=!1,D5(t),!ar)if(Z2(v0)!==null)ar=!0,G5(U5);else{var a=Z2(sa);a!==null&&q5(N5,a.startTime-t)}}function U5(t,a){ar=!1,so&&(so=!1,_8(po),po=-1),un=!0;var r=D1;try{for(D5(a),S2=Z2(v0);S2!==null&&(!(S2.expirationTime>a)||t&&!D8());){var e=S2.callback;if(typeof e=="function"){S2.callback=null,D1=S2.priorityLevel;var i=e(S2.expirationTime<=a);a=It.unstable_now(),typeof i=="function"?S2.callback=i:S2===Z2(v0)&&vn(v0),D5(a)}else vn(v0);S2=Z2(v0)}if(S2!==null)var o=!0;else{var l=Z2(sa);l!==null&&q5(N5,l.startTime-a),o=!1}return o}finally{S2=null,D1=r,un=!1}}var Mn=!1,gn=null,po=-1,F8=5,I8=-1;function D8(){return!(It.unstable_now()-I8<F8)}function _5(){if(gn!==null){var t=It.unstable_now();I8=t;var a=!0;try{a=gn(!0,t)}finally{a?co():(Mn=!1,gn=null)}}else Mn=!1}var co;typeof P8=="function"?co=function(){P8(_5)}:typeof MessageChannel<"u"?(F5=new MessageChannel,E8=F5.port2,F5.port1.onmessage=_5,co=function(){E8.postMessage(null)}):co=function(){R8(_5,0)};var F5,E8;function G5(t){gn=t,Mn||(Mn=!0,co())}function q5(t,a){po=R8(function(){t(It.unstable_now())},a)}It.unstable_IdlePriority=5;It.unstable_ImmediatePriority=1;It.unstable_LowPriority=4;It.unstable_NormalPriority=3;It.unstable_Profiling=null;It.unstable_UserBlockingPriority=2;It.unstable_cancelCallback=function(t){t.callback=null};It.unstable_continueExecution=function(){ar||un||(ar=!0,G5(U5))};It.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F8=0<t?Math.floor(1e3/t):5};It.unstable_getCurrentPriorityLevel=function(){return D1};It.unstable_getFirstCallbackNode=function(){return Z2(v0)};It.unstable_next=function(t){switch(D1){case 1:case 2:case 3:var a=3;break;default:a=D1}var r=D1;D1=a;try{return t()}finally{D1=r}};It.unstable_pauseExecution=function(){};It.unstable_requestPaint=function(){};It.unstable_runWithPriority=function(t,a){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var r=D1;D1=t;try{return a()}finally{D1=r}};It.unstable_scheduleCallback=function(t,a,r){var e=It.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?e+r:e):r=e,t){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=r+i,t={id:OV++,callback:a,priorityLevel:t,startTime:r,expirationTime:i,sortIndex:-1},r>e?(t.sortIndex=r,I5(sa,t),Z2(v0)===null&&t===Z2(sa)&&(so?(_8(po),po=-1):so=!0,q5(N5,r-e))):(t.sortIndex=i,I5(v0,t),ar||un||(ar=!0,G5(U5))),t};It.unstable_shouldYield=D8;It.unstable_wrapCallback=function(t){var a=D1;return function(){var r=D1;D1=a;try{return t.apply(this,arguments)}finally{D1=r}}}});var G8=b1((VD,U8)=>{"use strict";U8.exports=N8()});var Yv=b1(H2=>{"use strict";var AV=at(),w2=G8();function G(t){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)a+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Zp=new Set,Oo={};function vr(t,a){Le(t,a),Le(t+"Capture",a)}function Le(t,a){for(Oo[t]=a,t=0;t<a.length;t++)Zp.add(a[t])}var G0=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ud=Object.prototype.hasOwnProperty,PV=/^[: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]*$/,q8={},$8={};function EV(t){return ud.call($8,t)?!0:ud.call(q8,t)?!1:PV.test(t)?$8[t]=!0:(q8[t]=!0,!1)}function RV(t,a,r,e){if(r!==null&&r.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return e?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function _V(t,a,r,e){if(a===null||typeof a>"u"||RV(t,a,r,e))return!0;if(e)return!1;if(r!==null)switch(r.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function J1(t,a,r,e,i,o,l){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=e,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=a,this.sanitizeURL=o,this.removeEmptyString=l}var E1={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){E1[t]=new J1(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var a=t[0];E1[a]=new J1(a,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){E1[t]=new J1(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){E1[t]=new J1(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){E1[t]=new J1(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){E1[t]=new J1(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){E1[t]=new J1(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){E1[t]=new J1(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){E1[t]=new J1(t,5,!1,t.toLowerCase(),null,!1,!1)});var n3=/[\-:]([a-z])/g;function h3(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var a=t.replace(n3,h3);E1[a]=new J1(a,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var a=t.replace(n3,h3);E1[a]=new J1(a,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var a=t.replace(n3,h3);E1[a]=new J1(a,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){E1[t]=new J1(t,1,!1,t.toLowerCase(),null,!1,!1)});E1.xlinkHref=new J1("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){E1[t]=new J1(t,1,!1,t.toLowerCase(),null,!0,!0)});function c3(t,a,r,e){var i=E1.hasOwnProperty(a)?E1[a]:null;(i!==null?i.type!==0:e||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(_V(a,r,i,e)&&(r=null),e||i===null?EV(a)&&(r===null?t.removeAttribute(a):t.setAttribute(a,""+r)):i.mustUseProperty?t[i.propertyName]=r===null?i.type===3?!1:"":r:(a=i.attributeName,e=i.attributeNamespace,r===null?t.removeAttribute(a):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,e?t.setAttributeNS(e,a,r):t.setAttribute(a,r))))}var Y0=AV.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fn=Symbol.for("react.element"),ie=Symbol.for("react.portal"),oe=Symbol.for("react.fragment"),d3=Symbol.for("react.strict_mode"),Md=Symbol.for("react.profiler"),Jp=Symbol.for("react.provider"),tg=Symbol.for("react.context"),s3=Symbol.for("react.forward_ref"),fd=Symbol.for("react.suspense"),md=Symbol.for("react.suspense_list"),p3=Symbol.for("react.memo"),ga=Symbol.for("react.lazy"),ag=Symbol.for("react.offscreen"),K8=Symbol.iterator;function go(t){return t===null||typeof t!="object"?null:(t=K8&&t[K8]||t["@@iterator"],typeof t=="function"?t:null)}var Qt=Object.assign,$5;function ko(t){if($5===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);$5=a&&a[1]||""}return`
|
|
1
|
+
var gV=Object.create;var W5=Object.defineProperty;var vV=Object.getOwnPropertyDescriptor;var uV=Object.getOwnPropertyNames;var MV=Object.getPrototypeOf,fV=Object.prototype.hasOwnProperty;var b1=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports),hn=(t,a)=>{for(var r in a)W5(t,r,{get:a[r],enumerable:!0})},mV=(t,a,r,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of uV(a))!fV.call(t,i)&&i!==r&&W5(t,i,{get:()=>a[i],enumerable:!(e=vV(a,i))||e.enumerable});return t};var W=(t,a,r)=>(r=t!=null?gV(MV(t)):{},mV(a||!t||!t.__esModule?W5(r,"default",{value:t,enumerable:!0}):r,t));var W8=b1(ft=>{"use strict";var ho=Symbol.for("react.element"),xV=Symbol.for("react.portal"),zV=Symbol.for("react.fragment"),kV=Symbol.for("react.strict_mode"),LV=Symbol.for("react.profiler"),wV=Symbol.for("react.provider"),bV=Symbol.for("react.context"),HV=Symbol.for("react.forward_ref"),CV=Symbol.for("react.suspense"),BV=Symbol.for("react.memo"),VV=Symbol.for("react.lazy"),k8=Symbol.iterator;function TV(t){return t===null||typeof t!="object"?null:(t=k8&&t[k8]||t["@@iterator"],typeof t=="function"?t:null)}var b8={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H8=Object.assign,C8={};function ae(t,a,r){this.props=t,this.context=a,this.refs=C8,this.updater=r||b8}ae.prototype.isReactComponent={};ae.prototype.setState=function(t,a){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,a,"setState")};ae.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function B8(){}B8.prototype=ae.prototype;function O5(t,a,r){this.props=t,this.context=a,this.refs=C8,this.updater=r||b8}var A5=O5.prototype=new B8;A5.constructor=O5;H8(A5,ae.prototype);A5.isPureReactComponent=!0;var L8=Array.isArray,V8=Object.prototype.hasOwnProperty,P5={current:null},T8={key:!0,ref:!0,__self:!0,__source:!0};function y8(t,a,r){var e,i={},o=null,l=null;if(a!=null)for(e in a.ref!==void 0&&(l=a.ref),a.key!==void 0&&(o=""+a.key),a)V8.call(a,e)&&!T8.hasOwnProperty(e)&&(i[e]=a[e]);var n=arguments.length-2;if(n===1)i.children=r;else if(1<n){for(var h=Array(n),c=0;c<n;c++)h[c]=arguments[c+2];i.children=h}if(t&&t.defaultProps)for(e in n=t.defaultProps,n)i[e]===void 0&&(i[e]=n[e]);return{$$typeof:ho,type:t,key:o,ref:l,props:i,_owner:P5.current}}function yV(t,a){return{$$typeof:ho,type:t.type,key:a,ref:t.ref,props:t.props,_owner:t._owner}}function E5(t){return typeof t=="object"&&t!==null&&t.$$typeof===ho}function SV(t){var a={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return a[r]})}var w8=/\/+/g;function j5(t,a){return typeof t=="object"&&t!==null&&t.key!=null?SV(""+t.key):a.toString(36)}function dn(t,a,r,e,i){var o=typeof t;(o==="undefined"||o==="boolean")&&(t=null);var l=!1;if(t===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case ho:case xV:l=!0}}if(l)return l=t,i=i(l),t=e===""?"."+j5(l,0):e,L8(i)?(r="",t!=null&&(r=t.replace(w8,"$&/")+"/"),dn(i,a,r,"",function(c){return c})):i!=null&&(E5(i)&&(i=yV(i,r+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(w8,"$&/")+"/")+t)),a.push(i)),1;if(l=0,e=e===""?".":e+":",L8(t))for(var n=0;n<t.length;n++){o=t[n];var h=e+j5(o,n);l+=dn(o,a,r,h,i)}else if(h=TV(t),typeof h=="function")for(t=h.call(t),n=0;!(o=t.next()).done;)o=o.value,h=e+j5(o,n++),l+=dn(o,a,r,h,i);else if(o==="object")throw a=String(t),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.");return l}function cn(t,a,r){if(t==null)return t;var e=[],i=0;return dn(t,e,"","",function(o){return a.call(r,o,i++)}),e}function WV(t){if(t._status===-1){var a=t._result;a=a(),a.then(function(r){(t._status===0||t._status===-1)&&(t._status=1,t._result=r)},function(r){(t._status===0||t._status===-1)&&(t._status=2,t._result=r)}),t._status===-1&&(t._status=0,t._result=a)}if(t._status===1)return t._result.default;throw t._result}var X1={current:null},sn={transition:null},jV={ReactCurrentDispatcher:X1,ReactCurrentBatchConfig:sn,ReactCurrentOwner:P5};function S8(){throw Error("act(...) is not supported in production builds of React.")}ft.Children={map:cn,forEach:function(t,a,r){cn(t,function(){a.apply(this,arguments)},r)},count:function(t){var a=0;return cn(t,function(){a++}),a},toArray:function(t){return cn(t,function(a){return a})||[]},only:function(t){if(!E5(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};ft.Component=ae;ft.Fragment=zV;ft.Profiler=LV;ft.PureComponent=O5;ft.StrictMode=kV;ft.Suspense=CV;ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jV;ft.act=S8;ft.cloneElement=function(t,a,r){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var e=H8({},t.props),i=t.key,o=t.ref,l=t._owner;if(a!=null){if(a.ref!==void 0&&(o=a.ref,l=P5.current),a.key!==void 0&&(i=""+a.key),t.type&&t.type.defaultProps)var n=t.type.defaultProps;for(h in a)V8.call(a,h)&&!T8.hasOwnProperty(h)&&(e[h]=a[h]===void 0&&n!==void 0?n[h]:a[h])}var h=arguments.length-2;if(h===1)e.children=r;else if(1<h){n=Array(h);for(var c=0;c<h;c++)n[c]=arguments[c+2];e.children=n}return{$$typeof:ho,type:t.type,key:i,ref:o,props:e,_owner:l}};ft.createContext=function(t){return t={$$typeof:bV,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:wV,_context:t},t.Consumer=t};ft.createElement=y8;ft.createFactory=function(t){var a=y8.bind(null,t);return a.type=t,a};ft.createRef=function(){return{current:null}};ft.forwardRef=function(t){return{$$typeof:HV,render:t}};ft.isValidElement=E5;ft.lazy=function(t){return{$$typeof:VV,_payload:{_status:-1,_result:t},_init:WV}};ft.memo=function(t,a){return{$$typeof:BV,type:t,compare:a===void 0?null:a}};ft.startTransition=function(t){var a=sn.transition;sn.transition={};try{t()}finally{sn.transition=a}};ft.unstable_act=S8;ft.useCallback=function(t,a){return X1.current.useCallback(t,a)};ft.useContext=function(t){return X1.current.useContext(t)};ft.useDebugValue=function(){};ft.useDeferredValue=function(t){return X1.current.useDeferredValue(t)};ft.useEffect=function(t,a){return X1.current.useEffect(t,a)};ft.useId=function(){return X1.current.useId()};ft.useImperativeHandle=function(t,a,r){return X1.current.useImperativeHandle(t,a,r)};ft.useInsertionEffect=function(t,a){return X1.current.useInsertionEffect(t,a)};ft.useLayoutEffect=function(t,a){return X1.current.useLayoutEffect(t,a)};ft.useMemo=function(t,a){return X1.current.useMemo(t,a)};ft.useReducer=function(t,a,r){return X1.current.useReducer(t,a,r)};ft.useRef=function(t){return X1.current.useRef(t)};ft.useState=function(t){return X1.current.useState(t)};ft.useSyncExternalStore=function(t,a,r){return X1.current.useSyncExternalStore(t,a,r)};ft.useTransition=function(){return X1.current.useTransition()};ft.version="18.3.1"});var at=b1((VD,j8)=>{"use strict";j8.exports=W8()});var N8=b1(It=>{"use strict";function I5(t,a){var r=t.length;t.push(a);t:for(;0<r;){var e=r-1>>>1,i=t[e];if(0<pn(i,a))t[e]=a,t[r]=i,r=e;else break t}}function Z2(t){return t.length===0?null:t[0]}function vn(t){if(t.length===0)return null;var a=t[0],r=t.pop();if(r!==a){t[0]=r;t:for(var e=0,i=t.length,o=i>>>1;e<o;){var l=2*(e+1)-1,n=t[l],h=l+1,c=t[h];if(0>pn(n,r))h<i&&0>pn(c,n)?(t[e]=c,t[h]=r,e=h):(t[e]=n,t[l]=r,e=l);else if(h<i&&0>pn(c,r))t[e]=c,t[h]=r,e=h;else break t}}return a}function pn(t,a){var r=t.sortIndex-a.sortIndex;return r!==0?r:t.id-a.id}typeof performance=="object"&&typeof performance.now=="function"?(O8=performance,It.unstable_now=function(){return O8.now()}):(R5=Date,A8=R5.now(),It.unstable_now=function(){return R5.now()-A8});var O8,R5,A8,v0=[],sa=[],OV=1,S2=null,D1=3,un=!1,ar=!1,so=!1,R8=typeof setTimeout=="function"?setTimeout:null,_8=typeof clearTimeout=="function"?clearTimeout:null,P8=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function D5(t){for(var a=Z2(sa);a!==null;){if(a.callback===null)vn(sa);else if(a.startTime<=t)vn(sa),a.sortIndex=a.expirationTime,I5(v0,a);else break;a=Z2(sa)}}function N5(t){if(so=!1,D5(t),!ar)if(Z2(v0)!==null)ar=!0,G5(U5);else{var a=Z2(sa);a!==null&&q5(N5,a.startTime-t)}}function U5(t,a){ar=!1,so&&(so=!1,_8(po),po=-1),un=!0;var r=D1;try{for(D5(a),S2=Z2(v0);S2!==null&&(!(S2.expirationTime>a)||t&&!D8());){var e=S2.callback;if(typeof e=="function"){S2.callback=null,D1=S2.priorityLevel;var i=e(S2.expirationTime<=a);a=It.unstable_now(),typeof i=="function"?S2.callback=i:S2===Z2(v0)&&vn(v0),D5(a)}else vn(v0);S2=Z2(v0)}if(S2!==null)var o=!0;else{var l=Z2(sa);l!==null&&q5(N5,l.startTime-a),o=!1}return o}finally{S2=null,D1=r,un=!1}}var Mn=!1,gn=null,po=-1,F8=5,I8=-1;function D8(){return!(It.unstable_now()-I8<F8)}function _5(){if(gn!==null){var t=It.unstable_now();I8=t;var a=!0;try{a=gn(!0,t)}finally{a?co():(Mn=!1,gn=null)}}else Mn=!1}var co;typeof P8=="function"?co=function(){P8(_5)}:typeof MessageChannel<"u"?(F5=new MessageChannel,E8=F5.port2,F5.port1.onmessage=_5,co=function(){E8.postMessage(null)}):co=function(){R8(_5,0)};var F5,E8;function G5(t){gn=t,Mn||(Mn=!0,co())}function q5(t,a){po=R8(function(){t(It.unstable_now())},a)}It.unstable_IdlePriority=5;It.unstable_ImmediatePriority=1;It.unstable_LowPriority=4;It.unstable_NormalPriority=3;It.unstable_Profiling=null;It.unstable_UserBlockingPriority=2;It.unstable_cancelCallback=function(t){t.callback=null};It.unstable_continueExecution=function(){ar||un||(ar=!0,G5(U5))};It.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F8=0<t?Math.floor(1e3/t):5};It.unstable_getCurrentPriorityLevel=function(){return D1};It.unstable_getFirstCallbackNode=function(){return Z2(v0)};It.unstable_next=function(t){switch(D1){case 1:case 2:case 3:var a=3;break;default:a=D1}var r=D1;D1=a;try{return t()}finally{D1=r}};It.unstable_pauseExecution=function(){};It.unstable_requestPaint=function(){};It.unstable_runWithPriority=function(t,a){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var r=D1;D1=t;try{return a()}finally{D1=r}};It.unstable_scheduleCallback=function(t,a,r){var e=It.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?e+r:e):r=e,t){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=r+i,t={id:OV++,callback:a,priorityLevel:t,startTime:r,expirationTime:i,sortIndex:-1},r>e?(t.sortIndex=r,I5(sa,t),Z2(v0)===null&&t===Z2(sa)&&(so?(_8(po),po=-1):so=!0,q5(N5,r-e))):(t.sortIndex=i,I5(v0,t),ar||un||(ar=!0,G5(U5))),t};It.unstable_shouldYield=D8;It.unstable_wrapCallback=function(t){var a=D1;return function(){var r=D1;D1=a;try{return t.apply(this,arguments)}finally{D1=r}}}});var G8=b1((yD,U8)=>{"use strict";U8.exports=N8()});var Yv=b1(H2=>{"use strict";var AV=at(),w2=G8();function G(t){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)a+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Zp=new Set,Oo={};function vr(t,a){Le(t,a),Le(t+"Capture",a)}function Le(t,a){for(Oo[t]=a,t=0;t<a.length;t++)Zp.add(a[t])}var G0=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ud=Object.prototype.hasOwnProperty,PV=/^[: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]*$/,q8={},$8={};function EV(t){return ud.call($8,t)?!0:ud.call(q8,t)?!1:PV.test(t)?$8[t]=!0:(q8[t]=!0,!1)}function RV(t,a,r,e){if(r!==null&&r.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return e?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function _V(t,a,r,e){if(a===null||typeof a>"u"||RV(t,a,r,e))return!0;if(e)return!1;if(r!==null)switch(r.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function J1(t,a,r,e,i,o,l){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=e,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=a,this.sanitizeURL=o,this.removeEmptyString=l}var E1={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){E1[t]=new J1(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var a=t[0];E1[a]=new J1(a,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){E1[t]=new J1(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){E1[t]=new J1(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){E1[t]=new J1(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){E1[t]=new J1(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){E1[t]=new J1(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){E1[t]=new J1(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){E1[t]=new J1(t,5,!1,t.toLowerCase(),null,!1,!1)});var n3=/[\-:]([a-z])/g;function h3(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var a=t.replace(n3,h3);E1[a]=new J1(a,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var a=t.replace(n3,h3);E1[a]=new J1(a,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var a=t.replace(n3,h3);E1[a]=new J1(a,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){E1[t]=new J1(t,1,!1,t.toLowerCase(),null,!1,!1)});E1.xlinkHref=new J1("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){E1[t]=new J1(t,1,!1,t.toLowerCase(),null,!0,!0)});function c3(t,a,r,e){var i=E1.hasOwnProperty(a)?E1[a]:null;(i!==null?i.type!==0:e||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(_V(a,r,i,e)&&(r=null),e||i===null?EV(a)&&(r===null?t.removeAttribute(a):t.setAttribute(a,""+r)):i.mustUseProperty?t[i.propertyName]=r===null?i.type===3?!1:"":r:(a=i.attributeName,e=i.attributeNamespace,r===null?t.removeAttribute(a):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,e?t.setAttributeNS(e,a,r):t.setAttribute(a,r))))}var Y0=AV.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fn=Symbol.for("react.element"),ie=Symbol.for("react.portal"),oe=Symbol.for("react.fragment"),d3=Symbol.for("react.strict_mode"),Md=Symbol.for("react.profiler"),Jp=Symbol.for("react.provider"),tg=Symbol.for("react.context"),s3=Symbol.for("react.forward_ref"),fd=Symbol.for("react.suspense"),md=Symbol.for("react.suspense_list"),p3=Symbol.for("react.memo"),ga=Symbol.for("react.lazy"),ag=Symbol.for("react.offscreen"),K8=Symbol.iterator;function go(t){return t===null||typeof t!="object"?null:(t=K8&&t[K8]||t["@@iterator"],typeof t=="function"?t:null)}var Qt=Object.assign,$5;function ko(t){if($5===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);$5=a&&a[1]||""}return`
|
|
2
2
|
`+$5+t}var K5=!1;function Y5(t,a){if(!t||K5)return"";K5=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(a)if(a=function(){throw Error()},Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(c){var e=c}Reflect.construct(t,[],a)}else{try{a.call()}catch(c){e=c}t.call(a.prototype)}else{try{throw Error()}catch(c){e=c}t()}}catch(c){if(c&&e&&typeof c.stack=="string"){for(var i=c.stack.split(`
|
|
3
3
|
`),o=e.stack.split(`
|
|
4
4
|
`),l=i.length-1,n=o.length-1;1<=l&&0<=n&&i[l]!==o[n];)n--;for(;1<=l&&0<=n;l--,n--)if(i[l]!==o[n]){if(l!==1||n!==1)do if(l--,n--,0>n||i[l]!==o[n]){var h=`
|
|
5
5
|
`+i[l].replace(" at new "," at ");return t.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",t.displayName)),h}while(1<=l&&0<=n);break}}}finally{K5=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?ko(t):""}function FV(t){switch(t.tag){case 5:return ko(t.type);case 16:return ko("Lazy");case 13:return ko("Suspense");case 19:return ko("SuspenseList");case 0:case 2:case 15:return t=Y5(t.type,!1),t;case 11:return t=Y5(t.type.render,!1),t;case 1:return t=Y5(t.type,!0),t;default:return""}}function xd(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case oe:return"Fragment";case ie:return"Portal";case Md:return"Profiler";case d3:return"StrictMode";case fd:return"Suspense";case md:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case tg:return(t.displayName||"Context")+".Consumer";case Jp:return(t._context.displayName||"Context")+".Provider";case s3:var a=t.render;return t=t.displayName,t||(t=a.displayName||a.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case p3:return a=t.displayName||null,a!==null?a:xd(t.type)||"Memo";case ga:a=t._payload,t=t._init;try{return xd(t(a))}catch{}}return null}function IV(t){var a=t.type;switch(t.tag){case 24:return"Cache";case 9:return(a.displayName||"Context")+".Consumer";case 10:return(a._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=a.render,t=t.displayName||t.name||"",a.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xd(a);case 8:return a===d3?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a}return null}function Ba(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function rg(t){var a=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function DV(t){var a=rg(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,a),e=""+t[a];if(!t.hasOwnProperty(a)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(t,a,{configurable:!0,get:function(){return i.call(this)},set:function(l){e=""+l,o.call(this,l)}}),Object.defineProperty(t,a,{enumerable:r.enumerable}),{getValue:function(){return e},setValue:function(l){e=""+l},stopTracking:function(){t._valueTracker=null,delete t[a]}}}}function mn(t){t._valueTracker||(t._valueTracker=DV(t))}function eg(t){if(!t)return!1;var a=t._valueTracker;if(!a)return!0;var r=a.getValue(),e="";return t&&(e=rg(t)?t.checked?"true":"false":t.value),t=e,t!==r?(a.setValue(t),!0):!1}function qn(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function zd(t,a){var r=a.checked;return Qt({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function Y8(t,a){var r=a.defaultValue==null?"":a.defaultValue,e=a.checked!=null?a.checked:a.defaultChecked;r=Ba(a.value!=null?a.value:r),t._wrapperState={initialChecked:e,initialValue:r,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function ig(t,a){a=a.checked,a!=null&&c3(t,"checked",a,!1)}function kd(t,a){ig(t,a);var r=Ba(a.value),e=a.type;if(r!=null)e==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(e==="submit"||e==="reset"){t.removeAttribute("value");return}a.hasOwnProperty("value")?Ld(t,a.type,r):a.hasOwnProperty("defaultValue")&&Ld(t,a.type,Ba(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(t.defaultChecked=!!a.defaultChecked)}function X8(t,a,r){if(a.hasOwnProperty("value")||a.hasOwnProperty("defaultValue")){var e=a.type;if(!(e!=="submit"&&e!=="reset"||a.value!==void 0&&a.value!==null))return;a=""+t._wrapperState.initialValue,r||a===t.value||(t.value=a),t.defaultValue=a}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function Ld(t,a,r){(a!=="number"||qn(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var Lo=Array.isArray;function Me(t,a,r,e){if(t=t.options,a){a={};for(var i=0;i<r.length;i++)a["$"+r[i]]=!0;for(r=0;r<t.length;r++)i=a.hasOwnProperty("$"+t[r].value),t[r].selected!==i&&(t[r].selected=i),i&&e&&(t[r].defaultSelected=!0)}else{for(r=""+Ba(r),a=null,i=0;i<t.length;i++){if(t[i].value===r){t[i].selected=!0,e&&(t[i].defaultSelected=!0);return}a!==null||t[i].disabled||(a=t[i])}a!==null&&(a.selected=!0)}}function wd(t,a){if(a.dangerouslySetInnerHTML!=null)throw Error(G(91));return Qt({},a,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Q8(t,a){var r=a.value;if(r==null){if(r=a.children,a=a.defaultValue,r!=null){if(a!=null)throw Error(G(92));if(Lo(r)){if(1<r.length)throw Error(G(93));r=r[0]}a=r}a==null&&(a=""),r=a}t._wrapperState={initialValue:Ba(r)}}function og(t,a){var r=Ba(a.value),e=Ba(a.defaultValue);r!=null&&(r=""+r,r!==t.value&&(t.value=r),a.defaultValue==null&&t.defaultValue!==r&&(t.defaultValue=r)),e!=null&&(t.defaultValue=""+e)}function Z8(t){var a=t.textContent;a===t._wrapperState.initialValue&&a!==""&&a!==null&&(t.value=a)}function lg(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function bd(t,a){return t==null||t==="http://www.w3.org/1999/xhtml"?lg(a):t==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var xn,ng=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,r,e,i){MSApp.execUnsafeLocalFunction(function(){return t(a,r,e,i)})}:t})(function(t,a){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=a;else{for(xn=xn||document.createElement("div"),xn.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=xn.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;a.firstChild;)t.appendChild(a.firstChild)}});function Ao(t,a){if(a){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=a;return}}t.textContent=a}var Ho={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},NV=["Webkit","ms","Moz","O"];Object.keys(Ho).forEach(function(t){NV.forEach(function(a){a=a+t.charAt(0).toUpperCase()+t.substring(1),Ho[a]=Ho[t]})});function hg(t,a,r){return a==null||typeof a=="boolean"||a===""?"":r||typeof a!="number"||a===0||Ho.hasOwnProperty(t)&&Ho[t]?(""+a).trim():a+"px"}function cg(t,a){t=t.style;for(var r in a)if(a.hasOwnProperty(r)){var e=r.indexOf("--")===0,i=hg(r,a[r],e);r==="float"&&(r="cssFloat"),e?t.setProperty(r,i):t[r]=i}}var UV=Qt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Hd(t,a){if(a){if(UV[t]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(G(137,t));if(a.dangerouslySetInnerHTML!=null){if(a.children!=null)throw Error(G(60));if(typeof a.dangerouslySetInnerHTML!="object"||!("__html"in a.dangerouslySetInnerHTML))throw Error(G(61))}if(a.style!=null&&typeof a.style!="object")throw Error(G(62))}}function Cd(t,a){if(t.indexOf("-")===-1)return typeof a.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Bd=null;function g3(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Vd=null,fe=null,me=null;function J8(t){if(t=Jo(t)){if(typeof Vd!="function")throw Error(G(280));var a=t.stateNode;a&&(a=z4(a),Vd(t.stateNode,t.type,a))}}function dg(t){fe?me?me.push(t):me=[t]:fe=t}function sg(){if(fe){var t=fe,a=me;if(me=fe=null,J8(t),a)for(t=0;t<a.length;t++)J8(a[t])}}function pg(t,a){return t(a)}function gg(){}var X5=!1;function vg(t,a,r){if(X5)return t(a,r);X5=!0;try{return pg(t,a,r)}finally{X5=!1,(fe!==null||me!==null)&&(gg(),sg())}}function Po(t,a){var r=t.stateNode;if(r===null)return null;var e=z4(r);if(e===null)return null;r=e[a];t:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(e=!e.disabled)||(t=t.type,e=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!e;break t;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(G(231,a,typeof r));return r}var Td=!1;if(G0)try{re={},Object.defineProperty(re,"passive",{get:function(){Td=!0}}),window.addEventListener("test",re,re),window.removeEventListener("test",re,re)}catch{Td=!1}var re;function GV(t,a,r,e,i,o,l,n,h){var c=Array.prototype.slice.call(arguments,3);try{a.apply(r,c)}catch(d){this.onError(d)}}var Co=!1,$n=null,Kn=!1,yd=null,qV={onError:function(t){Co=!0,$n=t}};function $V(t,a,r,e,i,o,l,n,h){Co=!1,$n=null,GV.apply(qV,arguments)}function KV(t,a,r,e,i,o,l,n,h){if($V.apply(this,arguments),Co){if(Co){var c=$n;Co=!1,$n=null}else throw Error(G(198));Kn||(Kn=!0,yd=c)}}function ur(t){var a=t,r=t;if(t.alternate)for(;a.return;)a=a.return;else{t=a;do a=t,(a.flags&4098)!==0&&(r=a.return),t=a.return;while(t)}return a.tag===3?r:null}function ug(t){if(t.tag===13){var a=t.memoizedState;if(a===null&&(t=t.alternate,t!==null&&(a=t.memoizedState)),a!==null)return a.dehydrated}return null}function tp(t){if(ur(t)!==t)throw Error(G(188))}function YV(t){var a=t.alternate;if(!a){if(a=ur(t),a===null)throw Error(G(188));return a!==t?null:t}for(var r=t,e=a;;){var i=r.return;if(i===null)break;var o=i.alternate;if(o===null){if(e=i.return,e!==null){r=e;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return tp(i),t;if(o===e)return tp(i),a;o=o.sibling}throw Error(G(188))}if(r.return!==e.return)r=i,e=o;else{for(var l=!1,n=i.child;n;){if(n===r){l=!0,r=i,e=o;break}if(n===e){l=!0,e=i,r=o;break}n=n.sibling}if(!l){for(n=o.child;n;){if(n===r){l=!0,r=o,e=i;break}if(n===e){l=!0,e=o,r=i;break}n=n.sibling}if(!l)throw Error(G(189))}}if(r.alternate!==e)throw Error(G(190))}if(r.tag!==3)throw Error(G(188));return r.stateNode.current===r?t:a}function Mg(t){return t=YV(t),t!==null?fg(t):null}function fg(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var a=fg(t);if(a!==null)return a;t=t.sibling}return null}var mg=w2.unstable_scheduleCallback,ap=w2.unstable_cancelCallback,XV=w2.unstable_shouldYield,QV=w2.unstable_requestPaint,l1=w2.unstable_now,ZV=w2.unstable_getCurrentPriorityLevel,v3=w2.unstable_ImmediatePriority,xg=w2.unstable_UserBlockingPriority,Yn=w2.unstable_NormalPriority,JV=w2.unstable_LowPriority,zg=w2.unstable_IdlePriority,M4=null,m0=null;function tT(t){if(m0&&typeof m0.onCommitFiberRoot=="function")try{m0.onCommitFiberRoot(M4,t,void 0,(t.current.flags&128)===128)}catch{}}var e0=Math.clz32?Math.clz32:eT,aT=Math.log,rT=Math.LN2;function eT(t){return t>>>=0,t===0?32:31-(aT(t)/rT|0)|0}var zn=64,kn=4194304;function wo(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Xn(t,a){var r=t.pendingLanes;if(r===0)return 0;var e=0,i=t.suspendedLanes,o=t.pingedLanes,l=r&268435455;if(l!==0){var n=l&~i;n!==0?e=wo(n):(o&=l,o!==0&&(e=wo(o)))}else l=r&~i,l!==0?e=wo(l):o!==0&&(e=wo(o));if(e===0)return 0;if(a!==0&&a!==e&&(a&i)===0&&(i=e&-e,o=a&-a,i>=o||i===16&&(o&4194240)!==0))return a;if((e&4)!==0&&(e|=r&16),a=t.entangledLanes,a!==0)for(t=t.entanglements,a&=e;0<a;)r=31-e0(a),i=1<<r,e|=t[r],a&=~i;return e}function iT(t,a){switch(t){case 1:case 2:case 4:return a+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function oT(t,a){for(var r=t.suspendedLanes,e=t.pingedLanes,i=t.expirationTimes,o=t.pendingLanes;0<o;){var l=31-e0(o),n=1<<l,h=i[l];h===-1?((n&r)===0||(n&e)!==0)&&(i[l]=iT(n,a)):h<=a&&(t.expiredLanes|=n),o&=~n}}function Sd(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function kg(){var t=zn;return zn<<=1,(zn&4194240)===0&&(zn=64),t}function Q5(t){for(var a=[],r=0;31>r;r++)a.push(t);return a}function Qo(t,a,r){t.pendingLanes|=a,a!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,a=31-e0(a),t[a]=r}function lT(t,a){var r=t.pendingLanes&~a;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=a,t.mutableReadLanes&=a,t.entangledLanes&=a,a=t.entanglements;var e=t.eventTimes;for(t=t.expirationTimes;0<r;){var i=31-e0(r),o=1<<i;a[i]=0,e[i]=-1,t[i]=-1,r&=~o}}function u3(t,a){var r=t.entangledLanes|=a;for(t=t.entanglements;r;){var e=31-e0(r),i=1<<e;i&a|t[e]&a&&(t[e]|=a),r&=~i}}var St=0;function Lg(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var wg,M3,bg,Hg,Cg,Wd=!1,Ln=[],xa=null,za=null,ka=null,Eo=new Map,Ro=new Map,ua=[],nT="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function rp(t,a){switch(t){case"focusin":case"focusout":xa=null;break;case"dragenter":case"dragleave":za=null;break;case"mouseover":case"mouseout":ka=null;break;case"pointerover":case"pointerout":Eo.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ro.delete(a.pointerId)}}function vo(t,a,r,e,i,o){return t===null||t.nativeEvent!==o?(t={blockedOn:a,domEventName:r,eventSystemFlags:e,nativeEvent:o,targetContainers:[i]},a!==null&&(a=Jo(a),a!==null&&M3(a)),t):(t.eventSystemFlags|=e,a=t.targetContainers,i!==null&&a.indexOf(i)===-1&&a.push(i),t)}function hT(t,a,r,e,i){switch(a){case"focusin":return xa=vo(xa,t,a,r,e,i),!0;case"dragenter":return za=vo(za,t,a,r,e,i),!0;case"mouseover":return ka=vo(ka,t,a,r,e,i),!0;case"pointerover":var o=i.pointerId;return Eo.set(o,vo(Eo.get(o)||null,t,a,r,e,i)),!0;case"gotpointercapture":return o=i.pointerId,Ro.set(o,vo(Ro.get(o)||null,t,a,r,e,i)),!0}return!1}function Bg(t){var a=ir(t.target);if(a!==null){var r=ur(a);if(r!==null){if(a=r.tag,a===13){if(a=ug(r),a!==null){t.blockedOn=a,Cg(t.priority,function(){bg(r)});return}}else if(a===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Pn(t){if(t.blockedOn!==null)return!1;for(var a=t.targetContainers;0<a.length;){var r=jd(t.domEventName,t.eventSystemFlags,a[0],t.nativeEvent);if(r===null){r=t.nativeEvent;var e=new r.constructor(r.type,r);Bd=e,r.target.dispatchEvent(e),Bd=null}else return a=Jo(r),a!==null&&M3(a),t.blockedOn=r,!1;a.shift()}return!0}function ep(t,a,r){Pn(t)&&r.delete(a)}function cT(){Wd=!1,xa!==null&&Pn(xa)&&(xa=null),za!==null&&Pn(za)&&(za=null),ka!==null&&Pn(ka)&&(ka=null),Eo.forEach(ep),Ro.forEach(ep)}function uo(t,a){t.blockedOn===a&&(t.blockedOn=null,Wd||(Wd=!0,w2.unstable_scheduleCallback(w2.unstable_NormalPriority,cT)))}function _o(t){function a(i){return uo(i,t)}if(0<Ln.length){uo(Ln[0],t);for(var r=1;r<Ln.length;r++){var e=Ln[r];e.blockedOn===t&&(e.blockedOn=null)}}for(xa!==null&&uo(xa,t),za!==null&&uo(za,t),ka!==null&&uo(ka,t),Eo.forEach(a),Ro.forEach(a),r=0;r<ua.length;r++)e=ua[r],e.blockedOn===t&&(e.blockedOn=null);for(;0<ua.length&&(r=ua[0],r.blockedOn===null);)Bg(r),r.blockedOn===null&&ua.shift()}var xe=Y0.ReactCurrentBatchConfig,Qn=!0;function dT(t,a,r,e){var i=St,o=xe.transition;xe.transition=null;try{St=1,f3(t,a,r,e)}finally{St=i,xe.transition=o}}function sT(t,a,r,e){var i=St,o=xe.transition;xe.transition=null;try{St=4,f3(t,a,r,e)}finally{St=i,xe.transition=o}}function f3(t,a,r,e){if(Qn){var i=jd(t,a,r,e);if(i===null)id(t,a,e,Zn,r),rp(t,e);else if(hT(i,t,a,r,e))e.stopPropagation();else if(rp(t,e),a&4&&-1<nT.indexOf(t)){for(;i!==null;){var o=Jo(i);if(o!==null&&wg(o),o=jd(t,a,r,e),o===null&&id(t,a,e,Zn,r),o===i)break;i=o}i!==null&&e.stopPropagation()}else id(t,a,e,null,r)}}var Zn=null;function jd(t,a,r,e){if(Zn=null,t=g3(e),t=ir(t),t!==null)if(a=ur(t),a===null)t=null;else if(r=a.tag,r===13){if(t=ug(a),t!==null)return t;t=null}else if(r===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;t=null}else a!==t&&(t=null);return Zn=t,null}function Vg(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ZV()){case v3:return 1;case xg:return 4;case Yn:case JV:return 16;case zg:return 536870912;default:return 16}default:return 16}}var fa=null,m3=null,En=null;function Tg(){if(En)return En;var t,a=m3,r=a.length,e,i="value"in fa?fa.value:fa.textContent,o=i.length;for(t=0;t<r&&a[t]===i[t];t++);var l=r-t;for(e=1;e<=l&&a[r-e]===i[o-e];e++);return En=i.slice(t,1<e?1-e:void 0)}function Rn(t){var a=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),32<=t||t===13?t:0}function wn(){return!0}function ip(){return!1}function b2(t){function a(r,e,i,o,l){this._reactName=r,this._targetInst=i,this.type=e,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var n in t)t.hasOwnProperty(n)&&(r=t[n],this[n]=r?r(o):o[n]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?wn:ip,this.isPropagationStopped=ip,this}return Qt(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=wn)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=wn)},persist:function(){},isPersistent:wn}),a}var Te={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},x3=b2(Te),Zo=Qt({},Te,{view:0,detail:0}),pT=b2(Zo),Z5,J5,Mo,f4=Qt({},Zo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:z3,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Mo&&(Mo&&t.type==="mousemove"?(Z5=t.screenX-Mo.screenX,J5=t.screenY-Mo.screenY):J5=Z5=0,Mo=t),Z5)},movementY:function(t){return"movementY"in t?t.movementY:J5}}),op=b2(f4),gT=Qt({},f4,{dataTransfer:0}),vT=b2(gT),uT=Qt({},Zo,{relatedTarget:0}),td=b2(uT),MT=Qt({},Te,{animationName:0,elapsedTime:0,pseudoElement:0}),fT=b2(MT),mT=Qt({},Te,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),xT=b2(mT),zT=Qt({},Te,{data:0}),lp=b2(zT),kT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},LT={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"},wT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function bT(t){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(t):(t=wT[t])?!!a[t]:!1}function z3(){return bT}var HT=Qt({},Zo,{key:function(t){if(t.key){var a=kT[t.key]||t.key;if(a!=="Unidentified")return a}return t.type==="keypress"?(t=Rn(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?LT[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:z3,charCode:function(t){return t.type==="keypress"?Rn(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Rn(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),CT=b2(HT),BT=Qt({},f4,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),np=b2(BT),VT=Qt({},Zo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:z3}),TT=b2(VT),yT=Qt({},Te,{propertyName:0,elapsedTime:0,pseudoElement:0}),ST=b2(yT),WT=Qt({},f4,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),jT=b2(WT),OT=[9,13,27,32],k3=G0&&"CompositionEvent"in window,Bo=null;G0&&"documentMode"in document&&(Bo=document.documentMode);var AT=G0&&"TextEvent"in window&&!Bo,yg=G0&&(!k3||Bo&&8<Bo&&11>=Bo),hp=" ",cp=!1;function Sg(t,a){switch(t){case"keyup":return OT.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wg(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var le=!1;function PT(t,a){switch(t){case"compositionend":return Wg(a);case"keypress":return a.which!==32?null:(cp=!0,hp);case"textInput":return t=a.data,t===hp&&cp?null:t;default:return null}}function ET(t,a){if(le)return t==="compositionend"||!k3&&Sg(t,a)?(t=Tg(),En=m3=fa=null,le=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return yg&&a.locale!=="ko"?null:a.data;default:return null}}var RT={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 dp(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a==="input"?!!RT[t.type]:a==="textarea"}function jg(t,a,r,e){dg(e),a=Jn(a,"onChange"),0<a.length&&(r=new x3("onChange","change",null,r,e),t.push({event:r,listeners:a}))}var Vo=null,Fo=null;function _T(t){Ug(t,0)}function m4(t){var a=ce(t);if(eg(a))return t}function FT(t,a){if(t==="change")return a}var Og=!1;G0&&(G0?(Hn="oninput"in document,Hn||(ad=document.createElement("div"),ad.setAttribute("oninput","return;"),Hn=typeof ad.oninput=="function"),bn=Hn):bn=!1,Og=bn&&(!document.documentMode||9<document.documentMode));var bn,Hn,ad;function sp(){Vo&&(Vo.detachEvent("onpropertychange",Ag),Fo=Vo=null)}function Ag(t){if(t.propertyName==="value"&&m4(Fo)){var a=[];jg(a,Fo,t,g3(t)),vg(_T,a)}}function IT(t,a,r){t==="focusin"?(sp(),Vo=a,Fo=r,Vo.attachEvent("onpropertychange",Ag)):t==="focusout"&&sp()}function DT(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return m4(Fo)}function NT(t,a){if(t==="click")return m4(a)}function UT(t,a){if(t==="input"||t==="change")return m4(a)}function GT(t,a){return t===a&&(t!==0||1/t===1/a)||t!==t&&a!==a}var o0=typeof Object.is=="function"?Object.is:GT;function Io(t,a){if(o0(t,a))return!0;if(typeof t!="object"||t===null||typeof a!="object"||a===null)return!1;var r=Object.keys(t),e=Object.keys(a);if(r.length!==e.length)return!1;for(e=0;e<r.length;e++){var i=r[e];if(!ud.call(a,i)||!o0(t[i],a[i]))return!1}return!0}function pp(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function gp(t,a){var r=pp(t);t=0;for(var e;r;){if(r.nodeType===3){if(e=t+r.textContent.length,t<=a&&e>=a)return{node:r,offset:a-t};t=e}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=pp(r)}}function Pg(t,a){return t&&a?t===a?!0:t&&t.nodeType===3?!1:a&&a.nodeType===3?Pg(t,a.parentNode):"contains"in t?t.contains(a):t.compareDocumentPosition?!!(t.compareDocumentPosition(a)&16):!1:!1}function Eg(){for(var t=window,a=qn();a instanceof t.HTMLIFrameElement;){try{var r=typeof a.contentWindow.location.href=="string"}catch{r=!1}if(r)t=a.contentWindow;else break;a=qn(t.document)}return a}function L3(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a&&(a==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||a==="textarea"||t.contentEditable==="true")}function qT(t){var a=Eg(),r=t.focusedElem,e=t.selectionRange;if(a!==r&&r&&r.ownerDocument&&Pg(r.ownerDocument.documentElement,r)){if(e!==null&&L3(r)){if(a=e.start,t=e.end,t===void 0&&(t=a),"selectionStart"in r)r.selectionStart=a,r.selectionEnd=Math.min(t,r.value.length);else if(t=(a=r.ownerDocument||document)&&a.defaultView||window,t.getSelection){t=t.getSelection();var i=r.textContent.length,o=Math.min(e.start,i);e=e.end===void 0?o:Math.min(e.end,i),!t.extend&&o>e&&(i=e,e=o,o=i),i=gp(r,o);var l=gp(r,e);i&&l&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==l.node||t.focusOffset!==l.offset)&&(a=a.createRange(),a.setStart(i.node,i.offset),t.removeAllRanges(),o>e?(t.addRange(a),t.extend(l.node,l.offset)):(a.setEnd(l.node,l.offset),t.addRange(a)))}}for(a=[],t=r;t=t.parentNode;)t.nodeType===1&&a.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<a.length;r++)t=a[r],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var $T=G0&&"documentMode"in document&&11>=document.documentMode,ne=null,Od=null,To=null,Ad=!1;function vp(t,a,r){var e=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Ad||ne==null||ne!==qn(e)||(e=ne,"selectionStart"in e&&L3(e)?e={start:e.selectionStart,end:e.selectionEnd}:(e=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection(),e={anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}),To&&Io(To,e)||(To=e,e=Jn(Od,"onSelect"),0<e.length&&(a=new x3("onSelect","select",null,a,r),t.push({event:a,listeners:e}),a.target=ne)))}function Cn(t,a){var r={};return r[t.toLowerCase()]=a.toLowerCase(),r["Webkit"+t]="webkit"+a,r["Moz"+t]="moz"+a,r}var he={animationend:Cn("Animation","AnimationEnd"),animationiteration:Cn("Animation","AnimationIteration"),animationstart:Cn("Animation","AnimationStart"),transitionend:Cn("Transition","TransitionEnd")},rd={},Rg={};G0&&(Rg=document.createElement("div").style,"AnimationEvent"in window||(delete he.animationend.animation,delete he.animationiteration.animation,delete he.animationstart.animation),"TransitionEvent"in window||delete he.transitionend.transition);function x4(t){if(rd[t])return rd[t];if(!he[t])return t;var a=he[t],r;for(r in a)if(a.hasOwnProperty(r)&&r in Rg)return rd[t]=a[r];return t}var _g=x4("animationend"),Fg=x4("animationiteration"),Ig=x4("animationstart"),Dg=x4("transitionend"),Ng=new Map,up="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ta(t,a){Ng.set(t,a),vr(a,[t])}for(Bn=0;Bn<up.length;Bn++)Vn=up[Bn],Mp=Vn.toLowerCase(),fp=Vn[0].toUpperCase()+Vn.slice(1),Ta(Mp,"on"+fp);var Vn,Mp,fp,Bn;Ta(_g,"onAnimationEnd");Ta(Fg,"onAnimationIteration");Ta(Ig,"onAnimationStart");Ta("dblclick","onDoubleClick");Ta("focusin","onFocus");Ta("focusout","onBlur");Ta(Dg,"onTransitionEnd");Le("onMouseEnter",["mouseout","mouseover"]);Le("onMouseLeave",["mouseout","mouseover"]);Le("onPointerEnter",["pointerout","pointerover"]);Le("onPointerLeave",["pointerout","pointerover"]);vr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));vr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));vr("onBeforeInput",["compositionend","keypress","textInput","paste"]);vr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));vr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));vr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bo="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(" "),KT=new Set("cancel close invalid load scroll toggle".split(" ").concat(bo));function mp(t,a,r){var e=t.type||"unknown-event";t.currentTarget=r,KV(e,a,void 0,t),t.currentTarget=null}function Ug(t,a){a=(a&4)!==0;for(var r=0;r<t.length;r++){var e=t[r],i=e.event;e=e.listeners;t:{var o=void 0;if(a)for(var l=e.length-1;0<=l;l--){var n=e[l],h=n.instance,c=n.currentTarget;if(n=n.listener,h!==o&&i.isPropagationStopped())break t;mp(i,n,c),o=h}else for(l=0;l<e.length;l++){if(n=e[l],h=n.instance,c=n.currentTarget,n=n.listener,h!==o&&i.isPropagationStopped())break t;mp(i,n,c),o=h}}}if(Kn)throw t=yd,Kn=!1,yd=null,t}function Nt(t,a){var r=a[Fd];r===void 0&&(r=a[Fd]=new Set);var e=t+"__bubble";r.has(e)||(Gg(a,t,2,!1),r.add(e))}function ed(t,a,r){var e=0;a&&(e|=4),Gg(r,t,e,a)}var Tn="_reactListening"+Math.random().toString(36).slice(2);function Do(t){if(!t[Tn]){t[Tn]=!0,Zp.forEach(function(r){r!=="selectionchange"&&(KT.has(r)||ed(r,!1,t),ed(r,!0,t))});var a=t.nodeType===9?t:t.ownerDocument;a===null||a[Tn]||(a[Tn]=!0,ed("selectionchange",!1,a))}}function Gg(t,a,r,e){switch(Vg(a)){case 1:var i=dT;break;case 4:i=sT;break;default:i=f3}r=i.bind(null,a,r,t),i=void 0,!Td||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(i=!0),e?i!==void 0?t.addEventListener(a,r,{capture:!0,passive:i}):t.addEventListener(a,r,!0):i!==void 0?t.addEventListener(a,r,{passive:i}):t.addEventListener(a,r,!1)}function id(t,a,r,e,i){var o=e;if((a&1)===0&&(a&2)===0&&e!==null)t:for(;;){if(e===null)return;var l=e.tag;if(l===3||l===4){var n=e.stateNode.containerInfo;if(n===i||n.nodeType===8&&n.parentNode===i)break;if(l===4)for(l=e.return;l!==null;){var h=l.tag;if((h===3||h===4)&&(h=l.stateNode.containerInfo,h===i||h.nodeType===8&&h.parentNode===i))return;l=l.return}for(;n!==null;){if(l=ir(n),l===null)return;if(h=l.tag,h===5||h===6){e=o=l;continue t}n=n.parentNode}}e=e.return}vg(function(){var c=o,d=g3(r),s=[];t:{var p=Ng.get(t);if(p!==void 0){var g=x3,u=t;switch(t){case"keypress":if(Rn(r)===0)break t;case"keydown":case"keyup":g=CT;break;case"focusin":u="focus",g=td;break;case"focusout":u="blur",g=td;break;case"beforeblur":case"afterblur":g=td;break;case"click":if(r.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=op;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=vT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=TT;break;case _g:case Fg:case Ig:g=fT;break;case Dg:g=ST;break;case"scroll":g=pT;break;case"wheel":g=jT;break;case"copy":case"cut":case"paste":g=xT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=np}var f=(a&4)!==0,z=!f&&t==="scroll",v=f?p!==null?p+"Capture":null:p;f=[];for(var M=c,m;M!==null;){m=M;var L=m.stateNode;if(m.tag===5&&L!==null&&(m=L,v!==null&&(L=Po(M,v),L!=null&&f.push(No(M,L,m)))),z)break;M=M.return}0<f.length&&(p=new g(p,u,null,r,d),s.push({event:p,listeners:f}))}}if((a&7)===0){t:{if(p=t==="mouseover"||t==="pointerover",g=t==="mouseout"||t==="pointerout",p&&r!==Bd&&(u=r.relatedTarget||r.fromElement)&&(ir(u)||u[q0]))break t;if((g||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,g?(u=r.relatedTarget||r.toElement,g=c,u=u?ir(u):null,u!==null&&(z=ur(u),u!==z||u.tag!==5&&u.tag!==6)&&(u=null)):(g=null,u=c),g!==u)){if(f=op,L="onMouseLeave",v="onMouseEnter",M="mouse",(t==="pointerout"||t==="pointerover")&&(f=np,L="onPointerLeave",v="onPointerEnter",M="pointer"),z=g==null?p:ce(g),m=u==null?p:ce(u),p=new f(L,M+"leave",g,r,d),p.target=z,p.relatedTarget=m,L=null,ir(d)===c&&(f=new f(v,M+"enter",u,r,d),f.target=m,f.relatedTarget=z,L=f),z=L,g&&u)a:{for(f=g,v=u,M=0,m=f;m;m=ee(m))M++;for(m=0,L=v;L;L=ee(L))m++;for(;0<M-m;)f=ee(f),M--;for(;0<m-M;)v=ee(v),m--;for(;M--;){if(f===v||v!==null&&f===v.alternate)break a;f=ee(f),v=ee(v)}f=null}else f=null;g!==null&&xp(s,p,g,f,!1),u!==null&&z!==null&&xp(s,z,u,f,!0)}}t:{if(p=c?ce(c):window,g=p.nodeName&&p.nodeName.toLowerCase(),g==="select"||g==="input"&&p.type==="file")var H=FT;else if(dp(p))if(Og)H=UT;else{H=DT;var x=IT}else(g=p.nodeName)&&g.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(H=NT);if(H&&(H=H(t,c))){jg(s,H,r,d);break t}x&&x(t,p,c),t==="focusout"&&(x=p._wrapperState)&&x.controlled&&p.type==="number"&&Ld(p,"number",p.value)}switch(x=c?ce(c):window,t){case"focusin":(dp(x)||x.contentEditable==="true")&&(ne=x,Od=c,To=null);break;case"focusout":To=Od=ne=null;break;case"mousedown":Ad=!0;break;case"contextmenu":case"mouseup":case"dragend":Ad=!1,vp(s,r,d);break;case"selectionchange":if($T)break;case"keydown":case"keyup":vp(s,r,d)}var B;if(k3)t:{switch(t){case"compositionstart":var C="onCompositionStart";break t;case"compositionend":C="onCompositionEnd";break t;case"compositionupdate":C="onCompositionUpdate";break t}C=void 0}else le?Sg(t,r)&&(C="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(C="onCompositionStart");C&&(yg&&r.locale!=="ko"&&(le||C!=="onCompositionStart"?C==="onCompositionEnd"&&le&&(B=Tg()):(fa=d,m3="value"in fa?fa.value:fa.textContent,le=!0)),x=Jn(c,C),0<x.length&&(C=new lp(C,t,null,r,d),s.push({event:C,listeners:x}),B?C.data=B:(B=Wg(r),B!==null&&(C.data=B)))),(B=AT?PT(t,r):ET(t,r))&&(c=Jn(c,"onBeforeInput"),0<c.length&&(d=new lp("onBeforeInput","beforeinput",null,r,d),s.push({event:d,listeners:c}),d.data=B))}Ug(s,a)})}function No(t,a,r){return{instance:t,listener:a,currentTarget:r}}function Jn(t,a){for(var r=a+"Capture",e=[];t!==null;){var i=t,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Po(t,r),o!=null&&e.unshift(No(t,o,i)),o=Po(t,a),o!=null&&e.push(No(t,o,i))),t=t.return}return e}function ee(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function xp(t,a,r,e,i){for(var o=a._reactName,l=[];r!==null&&r!==e;){var n=r,h=n.alternate,c=n.stateNode;if(h!==null&&h===e)break;n.tag===5&&c!==null&&(n=c,i?(h=Po(r,o),h!=null&&l.unshift(No(r,h,n))):i||(h=Po(r,o),h!=null&&l.push(No(r,h,n)))),r=r.return}l.length!==0&&t.push({event:a,listeners:l})}var YT=/\r\n?/g,XT=/\u0000|\uFFFD/g;function zp(t){return(typeof t=="string"?t:""+t).replace(YT,`
|
|
6
6
|
`).replace(XT,"")}function yn(t,a,r){if(a=zp(a),zp(t)!==a&&r)throw Error(G(425))}function t4(){}var Pd=null,Ed=null;function Rd(t,a){return t==="textarea"||t==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var _d=typeof setTimeout=="function"?setTimeout:void 0,QT=typeof clearTimeout=="function"?clearTimeout:void 0,kp=typeof Promise=="function"?Promise:void 0,ZT=typeof queueMicrotask=="function"?queueMicrotask:typeof kp<"u"?function(t){return kp.resolve(null).then(t).catch(JT)}:_d;function JT(t){setTimeout(function(){throw t})}function od(t,a){var r=a,e=0;do{var i=r.nextSibling;if(t.removeChild(r),i&&i.nodeType===8)if(r=i.data,r==="/$"){if(e===0){t.removeChild(i),_o(a);return}e--}else r!=="$"&&r!=="$?"&&r!=="$!"||e++;r=i}while(r);_o(a)}function La(t){for(;t!=null;t=t.nextSibling){var a=t.nodeType;if(a===1||a===3)break;if(a===8){if(a=t.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return t}function Lp(t){t=t.previousSibling;for(var a=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"){if(a===0)return t;a--}else r==="/$"&&a++}t=t.previousSibling}return null}var ye=Math.random().toString(36).slice(2),f0="__reactFiber$"+ye,Uo="__reactProps$"+ye,q0="__reactContainer$"+ye,Fd="__reactEvents$"+ye,ty="__reactListeners$"+ye,ay="__reactHandles$"+ye;function ir(t){var a=t[f0];if(a)return a;for(var r=t.parentNode;r;){if(a=r[q0]||r[f0]){if(r=a.alternate,a.child!==null||r!==null&&r.child!==null)for(t=Lp(t);t!==null;){if(r=t[f0])return r;t=Lp(t)}return a}t=r,r=t.parentNode}return null}function Jo(t){return t=t[f0]||t[q0],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function ce(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(G(33))}function z4(t){return t[Uo]||null}var Id=[],de=-1;function ya(t){return{current:t}}function Ut(t){0>de||(t.current=Id[de],Id[de]=null,de--)}function Dt(t,a){de++,Id[de]=t.current,t.current=a}var Va={},q1=ya(Va),d2=ya(!1),cr=Va;function we(t,a){var r=t.type.contextTypes;if(!r)return Va;var e=t.stateNode;if(e&&e.__reactInternalMemoizedUnmaskedChildContext===a)return e.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=a[o];return e&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=a,t.__reactInternalMemoizedMaskedChildContext=i),i}function s2(t){return t=t.childContextTypes,t!=null}function a4(){Ut(d2),Ut(q1)}function wp(t,a,r){if(q1.current!==Va)throw Error(G(168));Dt(q1,a),Dt(d2,r)}function qg(t,a,r){var e=t.stateNode;if(a=a.childContextTypes,typeof e.getChildContext!="function")return r;e=e.getChildContext();for(var i in e)if(!(i in a))throw Error(G(108,IV(t)||"Unknown",i));return Qt({},r,e)}function r4(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Va,cr=q1.current,Dt(q1,t),Dt(d2,d2.current),!0}function bp(t,a,r){var e=t.stateNode;if(!e)throw Error(G(169));r?(t=qg(t,a,cr),e.__reactInternalMemoizedMergedChildContext=t,Ut(d2),Ut(q1),Dt(q1,t)):Ut(d2),Dt(d2,r)}var I0=null,k4=!1,ld=!1;function $g(t){I0===null?I0=[t]:I0.push(t)}function ry(t){k4=!0,$g(t)}function Sa(){if(!ld&&I0!==null){ld=!0;var t=0,a=St;try{var r=I0;for(St=1;t<r.length;t++){var e=r[t];do e=e(!0);while(e!==null)}I0=null,k4=!1}catch(i){throw I0!==null&&(I0=I0.slice(t+1)),mg(v3,Sa),i}finally{St=a,ld=!1}}return null}var se=[],pe=0,e4=null,i4=0,W2=[],j2=0,dr=null,D0=1,N0="";function rr(t,a){se[pe++]=i4,se[pe++]=e4,e4=t,i4=a}function Kg(t,a,r){W2[j2++]=D0,W2[j2++]=N0,W2[j2++]=dr,dr=t;var e=D0;t=N0;var i=32-e0(e)-1;e&=~(1<<i),r+=1;var o=32-e0(a)+i;if(30<o){var l=i-i%5;o=(e&(1<<l)-1).toString(32),e>>=l,i-=l,D0=1<<32-e0(a)+i|r<<i|e,N0=o+t}else D0=1<<o|r<<i|e,N0=t}function w3(t){t.return!==null&&(rr(t,1),Kg(t,1,0))}function b3(t){for(;t===e4;)e4=se[--pe],se[pe]=null,i4=se[--pe],se[pe]=null;for(;t===dr;)dr=W2[--j2],W2[j2]=null,N0=W2[--j2],W2[j2]=null,D0=W2[--j2],W2[j2]=null}var L2=null,k2=null,qt=!1,r0=null;function Yg(t,a){var r=O2(5,null,null,0);r.elementType="DELETED",r.stateNode=a,r.return=t,a=t.deletions,a===null?(t.deletions=[r],t.flags|=16):a.push(r)}function Hp(t,a){switch(t.tag){case 5:var r=t.type;return a=a.nodeType!==1||r.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(t.stateNode=a,L2=t,k2=La(a.firstChild),!0):!1;case 6:return a=t.pendingProps===""||a.nodeType!==3?null:a,a!==null?(t.stateNode=a,L2=t,k2=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(r=dr!==null?{id:D0,overflow:N0}:null,t.memoizedState={dehydrated:a,treeContext:r,retryLane:1073741824},r=O2(18,null,null,0),r.stateNode=a,r.return=t,t.child=r,L2=t,k2=null,!0):!1;default:return!1}}function Dd(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Nd(t){if(qt){var a=k2;if(a){var r=a;if(!Hp(t,a)){if(Dd(t))throw Error(G(418));a=La(r.nextSibling);var e=L2;a&&Hp(t,a)?Yg(e,r):(t.flags=t.flags&-4097|2,qt=!1,L2=t)}}else{if(Dd(t))throw Error(G(418));t.flags=t.flags&-4097|2,qt=!1,L2=t}}}function Cp(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;L2=t}function Sn(t){if(t!==L2)return!1;if(!qt)return Cp(t),qt=!0,!1;var a;if((a=t.tag!==3)&&!(a=t.tag!==5)&&(a=t.type,a=a!=="head"&&a!=="body"&&!Rd(t.type,t.memoizedProps)),a&&(a=k2)){if(Dd(t))throw Xg(),Error(G(418));for(;a;)Yg(t,a),a=La(a.nextSibling)}if(Cp(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(G(317));t:{for(t=t.nextSibling,a=0;t;){if(t.nodeType===8){var r=t.data;if(r==="/$"){if(a===0){k2=La(t.nextSibling);break t}a--}else r!=="$"&&r!=="$!"&&r!=="$?"||a++}t=t.nextSibling}k2=null}}else k2=L2?La(t.stateNode.nextSibling):null;return!0}function Xg(){for(var t=k2;t;)t=La(t.nextSibling)}function be(){k2=L2=null,qt=!1}function H3(t){r0===null?r0=[t]:r0.push(t)}var ey=Y0.ReactCurrentBatchConfig;function fo(t,a,r){if(t=r.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(G(309));var e=r.stateNode}if(!e)throw Error(G(147,t));var i=e,o=""+t;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===o?a.ref:(a=function(l){var n=i.refs;l===null?delete n[o]:n[o]=l},a._stringRef=o,a)}if(typeof t!="string")throw Error(G(284));if(!r._owner)throw Error(G(290,t))}return t}function Wn(t,a){throw t=Object.prototype.toString.call(a),Error(G(31,t==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":t))}function Bp(t){var a=t._init;return a(t._payload)}function Qg(t){function a(v,M){if(t){var m=v.deletions;m===null?(v.deletions=[M],v.flags|=16):m.push(M)}}function r(v,M){if(!t)return null;for(;M!==null;)a(v,M),M=M.sibling;return null}function e(v,M){for(v=new Map;M!==null;)M.key!==null?v.set(M.key,M):v.set(M.index,M),M=M.sibling;return v}function i(v,M){return v=Ca(v,M),v.index=0,v.sibling=null,v}function o(v,M,m){return v.index=m,t?(m=v.alternate,m!==null?(m=m.index,m<M?(v.flags|=2,M):m):(v.flags|=2,M)):(v.flags|=1048576,M)}function l(v){return t&&v.alternate===null&&(v.flags|=2),v}function n(v,M,m,L){return M===null||M.tag!==6?(M=gd(m,v.mode,L),M.return=v,M):(M=i(M,m),M.return=v,M)}function h(v,M,m,L){var H=m.type;return H===oe?d(v,M,m.props.children,L,m.key):M!==null&&(M.elementType===H||typeof H=="object"&&H!==null&&H.$$typeof===ga&&Bp(H)===M.type)?(L=i(M,m.props),L.ref=fo(v,M,m),L.return=v,L):(L=Gn(m.type,m.key,m.props,null,v.mode,L),L.ref=fo(v,M,m),L.return=v,L)}function c(v,M,m,L){return M===null||M.tag!==4||M.stateNode.containerInfo!==m.containerInfo||M.stateNode.implementation!==m.implementation?(M=vd(m,v.mode,L),M.return=v,M):(M=i(M,m.children||[]),M.return=v,M)}function d(v,M,m,L,H){return M===null||M.tag!==7?(M=hr(m,v.mode,L,H),M.return=v,M):(M=i(M,m),M.return=v,M)}function s(v,M,m){if(typeof M=="string"&&M!==""||typeof M=="number")return M=gd(""+M,v.mode,m),M.return=v,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case fn:return m=Gn(M.type,M.key,M.props,null,v.mode,m),m.ref=fo(v,null,M),m.return=v,m;case ie:return M=vd(M,v.mode,m),M.return=v,M;case ga:var L=M._init;return s(v,L(M._payload),m)}if(Lo(M)||go(M))return M=hr(M,v.mode,m,null),M.return=v,M;Wn(v,M)}return null}function p(v,M,m,L){var H=M!==null?M.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return H!==null?null:n(v,M,""+m,L);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case fn:return m.key===H?h(v,M,m,L):null;case ie:return m.key===H?c(v,M,m,L):null;case ga:return H=m._init,p(v,M,H(m._payload),L)}if(Lo(m)||go(m))return H!==null?null:d(v,M,m,L,null);Wn(v,m)}return null}function g(v,M,m,L,H){if(typeof L=="string"&&L!==""||typeof L=="number")return v=v.get(m)||null,n(M,v,""+L,H);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case fn:return v=v.get(L.key===null?m:L.key)||null,h(M,v,L,H);case ie:return v=v.get(L.key===null?m:L.key)||null,c(M,v,L,H);case ga:var x=L._init;return g(v,M,m,x(L._payload),H)}if(Lo(L)||go(L))return v=v.get(m)||null,d(M,v,L,H,null);Wn(M,L)}return null}function u(v,M,m,L){for(var H=null,x=null,B=M,C=M=0,S=null;B!==null&&C<m.length;C++){B.index>C?(S=B,B=null):S=B.sibling;var k=p(v,B,m[C],L);if(k===null){B===null&&(B=S);break}t&&B&&k.alternate===null&&a(v,B),M=o(k,M,C),x===null?H=k:x.sibling=k,x=k,B=S}if(C===m.length)return r(v,B),qt&&rr(v,C),H;if(B===null){for(;C<m.length;C++)B=s(v,m[C],L),B!==null&&(M=o(B,M,C),x===null?H=B:x.sibling=B,x=B);return qt&&rr(v,C),H}for(B=e(v,B);C<m.length;C++)S=g(B,v,C,m[C],L),S!==null&&(t&&S.alternate!==null&&B.delete(S.key===null?C:S.key),M=o(S,M,C),x===null?H=S:x.sibling=S,x=S);return t&&B.forEach(function(P){return a(v,P)}),qt&&rr(v,C),H}function f(v,M,m,L){var H=go(m);if(typeof H!="function")throw Error(G(150));if(m=H.call(m),m==null)throw Error(G(151));for(var x=H=null,B=M,C=M=0,S=null,k=m.next();B!==null&&!k.done;C++,k=m.next()){B.index>C?(S=B,B=null):S=B.sibling;var P=p(v,B,k.value,L);if(P===null){B===null&&(B=S);break}t&&B&&P.alternate===null&&a(v,B),M=o(P,M,C),x===null?H=P:x.sibling=P,x=P,B=S}if(k.done)return r(v,B),qt&&rr(v,C),H;if(B===null){for(;!k.done;C++,k=m.next())k=s(v,k.value,L),k!==null&&(M=o(k,M,C),x===null?H=k:x.sibling=k,x=k);return qt&&rr(v,C),H}for(B=e(v,B);!k.done;C++,k=m.next())k=g(B,v,C,k.value,L),k!==null&&(t&&k.alternate!==null&&B.delete(k.key===null?C:k.key),M=o(k,M,C),x===null?H=k:x.sibling=k,x=k);return t&&B.forEach(function(j){return a(v,j)}),qt&&rr(v,C),H}function z(v,M,m,L){if(typeof m=="object"&&m!==null&&m.type===oe&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case fn:t:{for(var H=m.key,x=M;x!==null;){if(x.key===H){if(H=m.type,H===oe){if(x.tag===7){r(v,x.sibling),M=i(x,m.props.children),M.return=v,v=M;break t}}else if(x.elementType===H||typeof H=="object"&&H!==null&&H.$$typeof===ga&&Bp(H)===x.type){r(v,x.sibling),M=i(x,m.props),M.ref=fo(v,x,m),M.return=v,v=M;break t}r(v,x);break}else a(v,x);x=x.sibling}m.type===oe?(M=hr(m.props.children,v.mode,L,m.key),M.return=v,v=M):(L=Gn(m.type,m.key,m.props,null,v.mode,L),L.ref=fo(v,M,m),L.return=v,v=L)}return l(v);case ie:t:{for(x=m.key;M!==null;){if(M.key===x)if(M.tag===4&&M.stateNode.containerInfo===m.containerInfo&&M.stateNode.implementation===m.implementation){r(v,M.sibling),M=i(M,m.children||[]),M.return=v,v=M;break t}else{r(v,M);break}else a(v,M);M=M.sibling}M=vd(m,v.mode,L),M.return=v,v=M}return l(v);case ga:return x=m._init,z(v,M,x(m._payload),L)}if(Lo(m))return u(v,M,m,L);if(go(m))return f(v,M,m,L);Wn(v,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,M!==null&&M.tag===6?(r(v,M.sibling),M=i(M,m),M.return=v,v=M):(r(v,M),M=gd(m,v.mode,L),M.return=v,v=M),l(v)):r(v,M)}return z}var He=Qg(!0),Zg=Qg(!1),o4=ya(null),l4=null,ge=null,C3=null;function B3(){C3=ge=l4=null}function V3(t){var a=o4.current;Ut(o4),t._currentValue=a}function Ud(t,a,r){for(;t!==null;){var e=t.alternate;if((t.childLanes&a)!==a?(t.childLanes|=a,e!==null&&(e.childLanes|=a)):e!==null&&(e.childLanes&a)!==a&&(e.childLanes|=a),t===r)break;t=t.return}}function ze(t,a){l4=t,C3=ge=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&a)!==0&&(c2=!0),t.firstContext=null)}function P2(t){var a=t._currentValue;if(C3!==t)if(t={context:t,memoizedValue:a,next:null},ge===null){if(l4===null)throw Error(G(308));ge=t,l4.dependencies={lanes:0,firstContext:t}}else ge=ge.next=t;return a}var or=null;function T3(t){or===null?or=[t]:or.push(t)}function Jg(t,a,r,e){var i=a.interleaved;return i===null?(r.next=r,T3(a)):(r.next=i.next,i.next=r),a.interleaved=r,$0(t,e)}function $0(t,a){t.lanes|=a;var r=t.alternate;for(r!==null&&(r.lanes|=a),r=t,t=t.return;t!==null;)t.childLanes|=a,r=t.alternate,r!==null&&(r.childLanes|=a),r=t,t=t.return;return r.tag===3?r.stateNode:null}var va=!1;function y3(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function tv(t,a){t=t.updateQueue,a.updateQueue===t&&(a.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function U0(t,a){return{eventTime:t,lane:a,tag:0,payload:null,callback:null,next:null}}function wa(t,a,r){var e=t.updateQueue;if(e===null)return null;if(e=e.shared,(bt&2)!==0){var i=e.pending;return i===null?a.next=a:(a.next=i.next,i.next=a),e.pending=a,$0(t,r)}return i=e.interleaved,i===null?(a.next=a,T3(e)):(a.next=i.next,i.next=a),e.interleaved=a,$0(t,r)}function _n(t,a,r){if(a=a.updateQueue,a!==null&&(a=a.shared,(r&4194240)!==0)){var e=a.lanes;e&=t.pendingLanes,r|=e,a.lanes=r,u3(t,r)}}function Vp(t,a){var r=t.updateQueue,e=t.alternate;if(e!==null&&(e=e.updateQueue,r===e)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=l:o=o.next=l,r=r.next}while(r!==null);o===null?i=o=a:o=o.next=a}else i=o=a;r={baseState:e.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:e.shared,effects:e.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=a:t.next=a,r.lastBaseUpdate=a}function n4(t,a,r,e){var i=t.updateQueue;va=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,n=i.shared.pending;if(n!==null){i.shared.pending=null;var h=n,c=h.next;h.next=null,l===null?o=c:l.next=c,l=h;var d=t.alternate;d!==null&&(d=d.updateQueue,n=d.lastBaseUpdate,n!==l&&(n===null?d.firstBaseUpdate=c:n.next=c,d.lastBaseUpdate=h))}if(o!==null){var s=i.baseState;l=0,d=c=h=null,n=o;do{var p=n.lane,g=n.eventTime;if((e&p)===p){d!==null&&(d=d.next={eventTime:g,lane:0,tag:n.tag,payload:n.payload,callback:n.callback,next:null});t:{var u=t,f=n;switch(p=a,g=r,f.tag){case 1:if(u=f.payload,typeof u=="function"){s=u.call(g,s,p);break t}s=u;break t;case 3:u.flags=u.flags&-65537|128;case 0:if(u=f.payload,p=typeof u=="function"?u.call(g,s,p):u,p==null)break t;s=Qt({},s,p);break t;case 2:va=!0}}n.callback!==null&&n.lane!==0&&(t.flags|=64,p=i.effects,p===null?i.effects=[n]:p.push(n))}else g={eventTime:g,lane:p,tag:n.tag,payload:n.payload,callback:n.callback,next:null},d===null?(c=d=g,h=s):d=d.next=g,l|=p;if(n=n.next,n===null){if(n=i.shared.pending,n===null)break;p=n,n=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(d===null&&(h=s),i.baseState=h,i.firstBaseUpdate=c,i.lastBaseUpdate=d,a=i.shared.interleaved,a!==null){i=a;do l|=i.lane,i=i.next;while(i!==a)}else o===null&&(i.shared.lanes=0);pr|=l,t.lanes=l,t.memoizedState=s}}function Tp(t,a,r){if(t=a.effects,a.effects=null,t!==null)for(a=0;a<t.length;a++){var e=t[a],i=e.callback;if(i!==null){if(e.callback=null,e=r,typeof i!="function")throw Error(G(191,i));i.call(e)}}}var tl={},x0=ya(tl),Go=ya(tl),qo=ya(tl);function lr(t){if(t===tl)throw Error(G(174));return t}function S3(t,a){switch(Dt(qo,a),Dt(Go,t),Dt(x0,tl),t=a.nodeType,t){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:bd(null,"");break;default:t=t===8?a.parentNode:a,a=t.namespaceURI||null,t=t.tagName,a=bd(a,t)}Ut(x0),Dt(x0,a)}function Ce(){Ut(x0),Ut(Go),Ut(qo)}function av(t){lr(qo.current);var a=lr(x0.current),r=bd(a,t.type);a!==r&&(Dt(Go,t),Dt(x0,r))}function W3(t){Go.current===t&&(Ut(x0),Ut(Go))}var Yt=ya(0);function h4(t){for(var a=t;a!==null;){if(a.tag===13){var r=a.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var nd=[];function j3(){for(var t=0;t<nd.length;t++)nd[t]._workInProgressVersionPrimary=null;nd.length=0}var Fn=Y0.ReactCurrentDispatcher,hd=Y0.ReactCurrentBatchConfig,sr=0,Xt=null,f1=null,H1=null,c4=!1,yo=!1,$o=0,iy=0;function N1(){throw Error(G(321))}function O3(t,a){if(a===null)return!1;for(var r=0;r<a.length&&r<t.length;r++)if(!o0(t[r],a[r]))return!1;return!0}function A3(t,a,r,e,i,o){if(sr=o,Xt=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,Fn.current=t===null||t.memoizedState===null?hy:cy,t=r(e,i),yo){o=0;do{if(yo=!1,$o=0,25<=o)throw Error(G(301));o+=1,H1=f1=null,a.updateQueue=null,Fn.current=dy,t=r(e,i)}while(yo)}if(Fn.current=d4,a=f1!==null&&f1.next!==null,sr=0,H1=f1=Xt=null,c4=!1,a)throw Error(G(300));return t}function P3(){var t=$o!==0;return $o=0,t}function M0(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return H1===null?Xt.memoizedState=H1=t:H1=H1.next=t,H1}function E2(){if(f1===null){var t=Xt.alternate;t=t!==null?t.memoizedState:null}else t=f1.next;var a=H1===null?Xt.memoizedState:H1.next;if(a!==null)H1=a,f1=t;else{if(t===null)throw Error(G(310));f1=t,t={memoizedState:f1.memoizedState,baseState:f1.baseState,baseQueue:f1.baseQueue,queue:f1.queue,next:null},H1===null?Xt.memoizedState=H1=t:H1=H1.next=t}return H1}function Ko(t,a){return typeof a=="function"?a(t):a}function cd(t){var a=E2(),r=a.queue;if(r===null)throw Error(G(311));r.lastRenderedReducer=t;var e=f1,i=e.baseQueue,o=r.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}e.baseQueue=i=o,r.pending=null}if(i!==null){o=i.next,e=e.baseState;var n=l=null,h=null,c=o;do{var d=c.lane;if((sr&d)===d)h!==null&&(h=h.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),e=c.hasEagerState?c.eagerState:t(e,c.action);else{var s={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};h===null?(n=h=s,l=e):h=h.next=s,Xt.lanes|=d,pr|=d}c=c.next}while(c!==null&&c!==o);h===null?l=e:h.next=n,o0(e,a.memoizedState)||(c2=!0),a.memoizedState=e,a.baseState=l,a.baseQueue=h,r.lastRenderedState=e}if(t=r.interleaved,t!==null){i=t;do o=i.lane,Xt.lanes|=o,pr|=o,i=i.next;while(i!==t)}else i===null&&(r.lanes=0);return[a.memoizedState,r.dispatch]}function dd(t){var a=E2(),r=a.queue;if(r===null)throw Error(G(311));r.lastRenderedReducer=t;var e=r.dispatch,i=r.pending,o=a.memoizedState;if(i!==null){r.pending=null;var l=i=i.next;do o=t(o,l.action),l=l.next;while(l!==i);o0(o,a.memoizedState)||(c2=!0),a.memoizedState=o,a.baseQueue===null&&(a.baseState=o),r.lastRenderedState=o}return[o,e]}function rv(){}function ev(t,a){var r=Xt,e=E2(),i=a(),o=!o0(e.memoizedState,i);if(o&&(e.memoizedState=i,c2=!0),e=e.queue,E3(lv.bind(null,r,e,t),[t]),e.getSnapshot!==a||o||H1!==null&&H1.memoizedState.tag&1){if(r.flags|=2048,Yo(9,ov.bind(null,r,e,i,a),void 0,null),C1===null)throw Error(G(349));(sr&30)!==0||iv(r,a,i)}return i}function iv(t,a,r){t.flags|=16384,t={getSnapshot:a,value:r},a=Xt.updateQueue,a===null?(a={lastEffect:null,stores:null},Xt.updateQueue=a,a.stores=[t]):(r=a.stores,r===null?a.stores=[t]:r.push(t))}function ov(t,a,r,e){a.value=r,a.getSnapshot=e,nv(a)&&hv(t)}function lv(t,a,r){return r(function(){nv(a)&&hv(t)})}function nv(t){var a=t.getSnapshot;t=t.value;try{var r=a();return!o0(t,r)}catch{return!0}}function hv(t){var a=$0(t,1);a!==null&&i0(a,t,1,-1)}function yp(t){var a=M0();return typeof t=="function"&&(t=t()),a.memoizedState=a.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:t},a.queue=t,t=t.dispatch=ny.bind(null,Xt,t),[a.memoizedState,t]}function Yo(t,a,r,e){return t={tag:t,create:a,destroy:r,deps:e,next:null},a=Xt.updateQueue,a===null?(a={lastEffect:null,stores:null},Xt.updateQueue=a,a.lastEffect=t.next=t):(r=a.lastEffect,r===null?a.lastEffect=t.next=t:(e=r.next,r.next=t,t.next=e,a.lastEffect=t)),t}function cv(){return E2().memoizedState}function In(t,a,r,e){var i=M0();Xt.flags|=t,i.memoizedState=Yo(1|a,r,void 0,e===void 0?null:e)}function L4(t,a,r,e){var i=E2();e=e===void 0?null:e;var o=void 0;if(f1!==null){var l=f1.memoizedState;if(o=l.destroy,e!==null&&O3(e,l.deps)){i.memoizedState=Yo(a,r,o,e);return}}Xt.flags|=t,i.memoizedState=Yo(1|a,r,o,e)}function Sp(t,a){return In(8390656,8,t,a)}function E3(t,a){return L4(2048,8,t,a)}function dv(t,a){return L4(4,2,t,a)}function sv(t,a){return L4(4,4,t,a)}function pv(t,a){if(typeof a=="function")return t=t(),a(t),function(){a(null)};if(a!=null)return t=t(),a.current=t,function(){a.current=null}}function gv(t,a,r){return r=r!=null?r.concat([t]):null,L4(4,4,pv.bind(null,a,t),r)}function R3(){}function vv(t,a){var r=E2();a=a===void 0?null:a;var e=r.memoizedState;return e!==null&&a!==null&&O3(a,e[1])?e[0]:(r.memoizedState=[t,a],t)}function uv(t,a){var r=E2();a=a===void 0?null:a;var e=r.memoizedState;return e!==null&&a!==null&&O3(a,e[1])?e[0]:(t=t(),r.memoizedState=[t,a],t)}function Mv(t,a,r){return(sr&21)===0?(t.baseState&&(t.baseState=!1,c2=!0),t.memoizedState=r):(o0(r,a)||(r=kg(),Xt.lanes|=r,pr|=r,t.baseState=!0),a)}function oy(t,a){var r=St;St=r!==0&&4>r?r:4,t(!0);var e=hd.transition;hd.transition={};try{t(!1),a()}finally{St=r,hd.transition=e}}function fv(){return E2().memoizedState}function ly(t,a,r){var e=Ha(t);if(r={lane:e,action:r,hasEagerState:!1,eagerState:null,next:null},mv(t))xv(a,r);else if(r=Jg(t,a,r,e),r!==null){var i=Z1();i0(r,t,e,i),zv(r,a,e)}}function ny(t,a,r){var e=Ha(t),i={lane:e,action:r,hasEagerState:!1,eagerState:null,next:null};if(mv(t))xv(a,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=a.lastRenderedReducer,o!==null))try{var l=a.lastRenderedState,n=o(l,r);if(i.hasEagerState=!0,i.eagerState=n,o0(n,l)){var h=a.interleaved;h===null?(i.next=i,T3(a)):(i.next=h.next,h.next=i),a.interleaved=i;return}}catch{}r=Jg(t,a,i,e),r!==null&&(i=Z1(),i0(r,t,e,i),zv(r,a,e))}}function mv(t){var a=t.alternate;return t===Xt||a!==null&&a===Xt}function xv(t,a){yo=c4=!0;var r=t.pending;r===null?a.next=a:(a.next=r.next,r.next=a),t.pending=a}function zv(t,a,r){if((r&4194240)!==0){var e=a.lanes;e&=t.pendingLanes,r|=e,a.lanes=r,u3(t,r)}}var d4={readContext:P2,useCallback:N1,useContext:N1,useEffect:N1,useImperativeHandle:N1,useInsertionEffect:N1,useLayoutEffect:N1,useMemo:N1,useReducer:N1,useRef:N1,useState:N1,useDebugValue:N1,useDeferredValue:N1,useTransition:N1,useMutableSource:N1,useSyncExternalStore:N1,useId:N1,unstable_isNewReconciler:!1},hy={readContext:P2,useCallback:function(t,a){return M0().memoizedState=[t,a===void 0?null:a],t},useContext:P2,useEffect:Sp,useImperativeHandle:function(t,a,r){return r=r!=null?r.concat([t]):null,In(4194308,4,pv.bind(null,a,t),r)},useLayoutEffect:function(t,a){return In(4194308,4,t,a)},useInsertionEffect:function(t,a){return In(4,2,t,a)},useMemo:function(t,a){var r=M0();return a=a===void 0?null:a,t=t(),r.memoizedState=[t,a],t},useReducer:function(t,a,r){var e=M0();return a=r!==void 0?r(a):a,e.memoizedState=e.baseState=a,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},e.queue=t,t=t.dispatch=ly.bind(null,Xt,t),[e.memoizedState,t]},useRef:function(t){var a=M0();return t={current:t},a.memoizedState=t},useState:yp,useDebugValue:R3,useDeferredValue:function(t){return M0().memoizedState=t},useTransition:function(){var t=yp(!1),a=t[0];return t=oy.bind(null,t[1]),M0().memoizedState=t,[a,t]},useMutableSource:function(){},useSyncExternalStore:function(t,a,r){var e=Xt,i=M0();if(qt){if(r===void 0)throw Error(G(407));r=r()}else{if(r=a(),C1===null)throw Error(G(349));(sr&30)!==0||iv(e,a,r)}i.memoizedState=r;var o={value:r,getSnapshot:a};return i.queue=o,Sp(lv.bind(null,e,o,t),[t]),e.flags|=2048,Yo(9,ov.bind(null,e,o,r,a),void 0,null),r},useId:function(){var t=M0(),a=C1.identifierPrefix;if(qt){var r=N0,e=D0;r=(e&~(1<<32-e0(e)-1)).toString(32)+r,a=":"+a+"R"+r,r=$o++,0<r&&(a+="H"+r.toString(32)),a+=":"}else r=iy++,a=":"+a+"r"+r.toString(32)+":";return t.memoizedState=a},unstable_isNewReconciler:!1},cy={readContext:P2,useCallback:vv,useContext:P2,useEffect:E3,useImperativeHandle:gv,useInsertionEffect:dv,useLayoutEffect:sv,useMemo:uv,useReducer:cd,useRef:cv,useState:function(){return cd(Ko)},useDebugValue:R3,useDeferredValue:function(t){var a=E2();return Mv(a,f1.memoizedState,t)},useTransition:function(){var t=cd(Ko)[0],a=E2().memoizedState;return[t,a]},useMutableSource:rv,useSyncExternalStore:ev,useId:fv,unstable_isNewReconciler:!1},dy={readContext:P2,useCallback:vv,useContext:P2,useEffect:E3,useImperativeHandle:gv,useInsertionEffect:dv,useLayoutEffect:sv,useMemo:uv,useReducer:dd,useRef:cv,useState:function(){return dd(Ko)},useDebugValue:R3,useDeferredValue:function(t){var a=E2();return f1===null?a.memoizedState=t:Mv(a,f1.memoizedState,t)},useTransition:function(){var t=dd(Ko)[0],a=E2().memoizedState;return[t,a]},useMutableSource:rv,useSyncExternalStore:ev,useId:fv,unstable_isNewReconciler:!1};function t0(t,a){if(t&&t.defaultProps){a=Qt({},a),t=t.defaultProps;for(var r in t)a[r]===void 0&&(a[r]=t[r]);return a}return a}function Gd(t,a,r,e){a=t.memoizedState,r=r(e,a),r=r==null?a:Qt({},a,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var w4={isMounted:function(t){return(t=t._reactInternals)?ur(t)===t:!1},enqueueSetState:function(t,a,r){t=t._reactInternals;var e=Z1(),i=Ha(t),o=U0(e,i);o.payload=a,r!=null&&(o.callback=r),a=wa(t,o,i),a!==null&&(i0(a,t,i,e),_n(a,t,i))},enqueueReplaceState:function(t,a,r){t=t._reactInternals;var e=Z1(),i=Ha(t),o=U0(e,i);o.tag=1,o.payload=a,r!=null&&(o.callback=r),a=wa(t,o,i),a!==null&&(i0(a,t,i,e),_n(a,t,i))},enqueueForceUpdate:function(t,a){t=t._reactInternals;var r=Z1(),e=Ha(t),i=U0(r,e);i.tag=2,a!=null&&(i.callback=a),a=wa(t,i,e),a!==null&&(i0(a,t,e,r),_n(a,t,e))}};function Wp(t,a,r,e,i,o,l){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(e,o,l):a.prototype&&a.prototype.isPureReactComponent?!Io(r,e)||!Io(i,o):!0}function kv(t,a,r){var e=!1,i=Va,o=a.contextType;return typeof o=="object"&&o!==null?o=P2(o):(i=s2(a)?cr:q1.current,e=a.contextTypes,o=(e=e!=null)?we(t,i):Va),a=new a(r,o),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=w4,t.stateNode=a,a._reactInternals=t,e&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),a}function jp(t,a,r,e){t=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(r,e),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(r,e),a.state!==t&&w4.enqueueReplaceState(a,a.state,null)}function qd(t,a,r,e){var i=t.stateNode;i.props=r,i.state=t.memoizedState,i.refs={},y3(t);var o=a.contextType;typeof o=="object"&&o!==null?i.context=P2(o):(o=s2(a)?cr:q1.current,i.context=we(t,o)),i.state=t.memoizedState,o=a.getDerivedStateFromProps,typeof o=="function"&&(Gd(t,a,o,r),i.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(a=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),a!==i.state&&w4.enqueueReplaceState(i,i.state,null),n4(t,r,i,e),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308)}function Be(t,a){try{var r="",e=a;do r+=FV(e),e=e.return;while(e);var i=r}catch(o){i=`
|
|
7
7
|
Error generating stack: `+o.message+`
|
|
8
|
-
`+o.stack}return{value:t,source:a,stack:i,digest:null}}function sd(t,a,r){return{value:t,source:null,stack:r??null,digest:a??null}}function $d(t,a){try{console.error(a.value)}catch(r){setTimeout(function(){throw r})}}var sy=typeof WeakMap=="function"?WeakMap:Map;function Lv(t,a,r){r=U0(-1,r),r.tag=3,r.payload={element:null};var e=a.value;return r.callback=function(){p4||(p4=!0,e3=e),$d(t,a)},r}function wv(t,a,r){r=U0(-1,r),r.tag=3;var e=t.type.getDerivedStateFromError;if(typeof e=="function"){var i=a.value;r.payload=function(){return e(i)},r.callback=function(){$d(t,a)}}var o=t.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){$d(t,a),typeof e!="function"&&(ba===null?ba=new Set([this]):ba.add(this));var l=a.stack;this.componentDidCatch(a.value,{componentStack:l!==null?l:""})}),r}function Op(t,a,r){var e=t.pingCache;if(e===null){e=t.pingCache=new sy;var i=new Set;e.set(a,i)}else i=e.get(a),i===void 0&&(i=new Set,e.set(a,i));i.has(r)||(i.add(r),t=Hy.bind(null,t,a,r),a.then(t,t))}function Ap(t){do{var a;if((a=t.tag===13)&&(a=t.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return t;t=t.return}while(t!==null);return null}function Pp(t,a,r,e,i){return(t.mode&1)===0?(t===a?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(a=U0(-1,1),a.tag=2,wa(r,a,1))),r.lanes|=1),t):(t.flags|=65536,t.lanes=i,t)}var py=Y0.ReactCurrentOwner,c2=!1;function Q1(t,a,r,e){a.child=t===null?Zg(a,null,r,e):He(a,t.child,r,e)}function Ep(t,a,r,e,i){r=r.render;var o=a.ref;return ze(a,i),e=A3(t,a,r,e,o,i),r=P3(),t!==null&&!c2?(a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~i,K0(t,a,i)):(qt&&r&&w3(a),a.flags|=1,Q1(t,a,e,i),a.child)}function Rp(t,a,r,e,i){if(t===null){var o=r.type;return typeof o=="function"&&!q3(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(a.tag=15,a.type=o,bv(t,a,o,e,i)):(t=Gn(r.type,null,e,a,a.mode,i),t.ref=a.ref,t.return=a,a.child=t)}if(o=t.child,(t.lanes&i)===0){var l=o.memoizedProps;if(r=r.compare,r=r!==null?r:Io,r(l,e)&&t.ref===a.ref)return K0(t,a,i)}return a.flags|=1,t=Ca(o,e),t.ref=a.ref,t.return=a,a.child=t}function bv(t,a,r,e,i){if(t!==null){var o=t.memoizedProps;if(Io(o,e)&&t.ref===a.ref)if(c2=!1,a.pendingProps=e=o,(t.lanes&i)!==0)(t.flags&131072)!==0&&(c2=!0);else return a.lanes=t.lanes,K0(t,a,i)}return Kd(t,a,r,e,i)}function Hv(t,a,r){var e=a.pendingProps,i=e.children,o=t!==null?t.memoizedState:null;if(e.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},Dt(ue,z2),z2|=r;else{if((r&1073741824)===0)return t=o!==null?o.baseLanes|r:r,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:t,cachePool:null,transitions:null},a.updateQueue=null,Dt(ue,z2),z2|=t,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},e=o!==null?o.baseLanes:r,Dt(ue,z2),z2|=e}else o!==null?(e=o.baseLanes|r,a.memoizedState=null):e=r,Dt(ue,z2),z2|=e;return Q1(t,a,i,r),a.child}function Cv(t,a){var r=a.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(a.flags|=512,a.flags|=2097152)}function Kd(t,a,r,e,i){var o=s2(r)?cr:q1.current;return o=we(a,o),ze(a,i),r=A3(t,a,r,e,o,i),e=P3(),t!==null&&!c2?(a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~i,K0(t,a,i)):(qt&&e&&w3(a),a.flags|=1,Q1(t,a,r,i),a.child)}function _p(t,a,r,e,i){if(s2(r)){var o=!0;r4(a)}else o=!1;if(ze(a,i),a.stateNode===null)Dn(t,a),kv(a,r,e),qd(a,r,e,i),e=!0;else if(t===null){var l=a.stateNode,n=a.memoizedProps;l.props=n;var h=l.context,c=r.contextType;typeof c=="object"&&c!==null?c=P2(c):(c=s2(r)?cr:q1.current,c=we(a,c));var d=r.getDerivedStateFromProps,s=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";s||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(n!==e||h!==c)&&jp(a,l,e,c),va=!1;var p=a.memoizedState;l.state=p,n4(a,e,l,i),h=a.memoizedState,n!==e||p!==h||d2.current||va?(typeof d=="function"&&(Gd(a,r,d,e),h=a.memoizedState),(n=va||Wp(a,r,n,e,p,h,c))?(s||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(a.flags|=4194308)):(typeof l.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=e,a.memoizedState=h),l.props=e,l.state=h,l.context=c,e=n):(typeof l.componentDidMount=="function"&&(a.flags|=4194308),e=!1)}else{l=a.stateNode,tv(t,a),n=a.memoizedProps,c=a.type===a.elementType?n:t0(a.type,n),l.props=c,s=a.pendingProps,p=l.context,h=r.contextType,typeof h=="object"&&h!==null?h=P2(h):(h=s2(r)?cr:q1.current,h=we(a,h));var g=r.getDerivedStateFromProps;(d=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(n!==s||p!==h)&&jp(a,l,e,h),va=!1,p=a.memoizedState,l.state=p,n4(a,e,l,i);var u=a.memoizedState;n!==s||p!==u||d2.current||va?(typeof g=="function"&&(Gd(a,r,g,e),u=a.memoizedState),(c=va||Wp(a,r,c,e,p,u,h)||!1)?(d||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(e,u,h),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(e,u,h)),typeof l.componentDidUpdate=="function"&&(a.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof l.componentDidUpdate!="function"||n===t.memoizedProps&&p===t.memoizedState||(a.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||n===t.memoizedProps&&p===t.memoizedState||(a.flags|=1024),a.memoizedProps=e,a.memoizedState=u),l.props=e,l.state=u,l.context=h,e=c):(typeof l.componentDidUpdate!="function"||n===t.memoizedProps&&p===t.memoizedState||(a.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||n===t.memoizedProps&&p===t.memoizedState||(a.flags|=1024),e=!1)}return Yd(t,a,r,e,o,i)}function Yd(t,a,r,e,i,o){Cv(t,a);var l=(a.flags&128)!==0;if(!e&&!l)return i&&bp(a,r,!1),K0(t,a,o);e=a.stateNode,py.current=a;var n=l&&typeof r.getDerivedStateFromError!="function"?null:e.render();return a.flags|=1,t!==null&&l?(a.child=He(a,t.child,null,o),a.child=He(a,null,n,o)):Q1(t,a,n,o),a.memoizedState=e.state,i&&bp(a,r,!0),a.child}function Bv(t){var a=t.stateNode;a.pendingContext?wp(t,a.pendingContext,a.pendingContext!==a.context):a.context&&wp(t,a.context,!1),S3(t,a.containerInfo)}function Fp(t,a,r,e,i){return be(),H3(i),a.flags|=256,Q1(t,a,r,e),a.child}var Xd={dehydrated:null,treeContext:null,retryLane:0};function Qd(t){return{baseLanes:t,cachePool:null,transitions:null}}function Vv(t,a,r){var e=a.pendingProps,i=Yt.current,o=!1,l=(a.flags&128)!==0,n;if((n=l)||(n=t!==null&&t.memoizedState===null?!1:(i&2)!==0),n?(o=!0,a.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),Dt(Yt,i&1),t===null)return Nd(a),t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((a.mode&1)===0?a.lanes=1:t.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(l=e.children,t=e.fallback,o?(e=a.mode,o=a.child,l={mode:"hidden",children:l},(e&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=l):o=C4(l,e,0,null),t=hr(t,e,r,null),o.return=a,t.return=a,o.sibling=t,a.child=o,a.child.memoizedState=Qd(r),a.memoizedState=Xd,t):_3(a,l));if(i=t.memoizedState,i!==null&&(n=i.dehydrated,n!==null))return gy(t,a,l,e,n,i,r);if(o){o=e.fallback,l=a.mode,i=t.child,n=i.sibling;var h={mode:"hidden",children:e.children};return(l&1)===0&&a.child!==i?(e=a.child,e.childLanes=0,e.pendingProps=h,a.deletions=null):(e=Ca(i,h),e.subtreeFlags=i.subtreeFlags&14680064),n!==null?o=Ca(n,o):(o=hr(o,l,r,null),o.flags|=2),o.return=a,e.return=a,e.sibling=o,a.child=e,e=o,o=a.child,l=t.child.memoizedState,l=l===null?Qd(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=t.childLanes&~r,a.memoizedState=Xd,e}return o=t.child,t=o.sibling,e=Ca(o,{mode:"visible",children:e.children}),(a.mode&1)===0&&(e.lanes=r),e.return=a,e.sibling=null,t!==null&&(r=a.deletions,r===null?(a.deletions=[t],a.flags|=16):r.push(t)),a.child=e,a.memoizedState=null,e}function _3(t,a){return a=C4({mode:"visible",children:a},t.mode,0,null),a.return=t,t.child=a}function jn(t,a,r,e){return e!==null&&H3(e),He(a,t.child,null,r),t=_3(a,a.pendingProps.children),t.flags|=2,a.memoizedState=null,t}function gy(t,a,r,e,i,o,l){if(r)return a.flags&256?(a.flags&=-257,e=sd(Error(G(422))),jn(t,a,l,e)):a.memoizedState!==null?(a.child=t.child,a.flags|=128,null):(o=e.fallback,i=a.mode,e=C4({mode:"visible",children:e.children},i,0,null),o=hr(o,i,l,null),o.flags|=2,e.return=a,o.return=a,e.sibling=o,a.child=e,(a.mode&1)!==0&&He(a,t.child,null,l),a.child.memoizedState=Qd(l),a.memoizedState=Xd,o);if((a.mode&1)===0)return jn(t,a,l,null);if(i.data==="$!"){if(e=i.nextSibling&&i.nextSibling.dataset,e)var n=e.dgst;return e=n,o=Error(G(419)),e=sd(o,e,void 0),jn(t,a,l,e)}if(n=(l&t.childLanes)!==0,c2||n){if(e=C1,e!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(e.suspendedLanes|l))!==0?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,$0(t,i),i0(e,t,i,-1))}return G3(),e=sd(Error(G(421))),jn(t,a,l,e)}return i.data==="$?"?(a.flags|=128,a.child=t.child,a=Cy.bind(null,t),i._reactRetry=a,null):(t=o.treeContext,k2=La(i.nextSibling),L2=a,qt=!0,r0=null,t!==null&&(W2[j2++]=D0,W2[j2++]=N0,W2[j2++]=dr,D0=t.id,N0=t.overflow,dr=a),a=_3(a,e.children),a.flags|=4096,a)}function Ip(t,a,r){t.lanes|=a;var e=t.alternate;e!==null&&(e.lanes|=a),Ud(t.return,a,r)}function pd(t,a,r,e,i){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:e,tail:r,tailMode:i}:(o.isBackwards=a,o.rendering=null,o.renderingStartTime=0,o.last=e,o.tail=r,o.tailMode=i)}function Tv(t,a,r){var e=a.pendingProps,i=e.revealOrder,o=e.tail;if(Q1(t,a,e.children,r),e=Yt.current,(e&2)!==0)e=e&1|2,a.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=a.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ip(t,r,a);else if(t.tag===19)Ip(t,r,a);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===a)break t;for(;t.sibling===null;){if(t.return===null||t.return===a)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}e&=1}if(Dt(Yt,e),(a.mode&1)===0)a.memoizedState=null;else switch(i){case"forwards":for(r=a.child,i=null;r!==null;)t=r.alternate,t!==null&&h4(t)===null&&(i=r),r=r.sibling;r=i,r===null?(i=a.child,a.child=null):(i=r.sibling,r.sibling=null),pd(a,!1,i,r,o);break;case"backwards":for(r=null,i=a.child,a.child=null;i!==null;){if(t=i.alternate,t!==null&&h4(t)===null){a.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}pd(a,!0,r,null,o);break;case"together":pd(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Dn(t,a){(a.mode&1)===0&&t!==null&&(t.alternate=null,a.alternate=null,a.flags|=2)}function K0(t,a,r){if(t!==null&&(a.dependencies=t.dependencies),pr|=a.lanes,(r&a.childLanes)===0)return null;if(t!==null&&a.child!==t.child)throw Error(G(153));if(a.child!==null){for(t=a.child,r=Ca(t,t.pendingProps),a.child=r,r.return=a;t.sibling!==null;)t=t.sibling,r=r.sibling=Ca(t,t.pendingProps),r.return=a;r.sibling=null}return a.child}function vy(t,a,r){switch(a.tag){case 3:Bv(a),be();break;case 5:av(a);break;case 1:s2(a.type)&&r4(a);break;case 4:S3(a,a.stateNode.containerInfo);break;case 10:var e=a.type._context,i=a.memoizedProps.value;Dt(o4,e._currentValue),e._currentValue=i;break;case 13:if(e=a.memoizedState,e!==null)return e.dehydrated!==null?(Dt(Yt,Yt.current&1),a.flags|=128,null):(r&a.child.childLanes)!==0?Vv(t,a,r):(Dt(Yt,Yt.current&1),t=K0(t,a,r),t!==null?t.sibling:null);Dt(Yt,Yt.current&1);break;case 19:if(e=(r&a.childLanes)!==0,(t.flags&128)!==0){if(e)return Tv(t,a,r);a.flags|=128}if(i=a.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Dt(Yt,Yt.current),e)break;return null;case 22:case 23:return a.lanes=0,Hv(t,a,r)}return K0(t,a,r)}var yv,Zd,Sv,Wv;yv=function(t,a){for(var r=a.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===a)break;for(;r.sibling===null;){if(r.return===null||r.return===a)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Zd=function(){};Sv=function(t,a,r,e){var i=t.memoizedProps;if(i!==e){t=a.stateNode,lr(x0.current);var o=null;switch(r){case"input":i=zd(t,i),e=zd(t,e),o=[];break;case"select":i=Qt({},i,{value:void 0}),e=Qt({},e,{value:void 0}),o=[];break;case"textarea":i=wd(t,i),e=wd(t,e),o=[];break;default:typeof i.onClick!="function"&&typeof e.onClick=="function"&&(t.onclick=t4)}Hd(r,e);var l;r=null;for(c in i)if(!e.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var n=i[c];for(l in n)n.hasOwnProperty(l)&&(r||(r={}),r[l]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Oo.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in e){var h=e[c];if(n=i?.[c],e.hasOwnProperty(c)&&h!==n&&(h!=null||n!=null))if(c==="style")if(n){for(l in n)!n.hasOwnProperty(l)||h&&h.hasOwnProperty(l)||(r||(r={}),r[l]="");for(l in h)h.hasOwnProperty(l)&&n[l]!==h[l]&&(r||(r={}),r[l]=h[l])}else r||(o||(o=[]),o.push(c,r)),r=h;else c==="dangerouslySetInnerHTML"?(h=h?h.__html:void 0,n=n?n.__html:void 0,h!=null&&n!==h&&(o=o||[]).push(c,h)):c==="children"?typeof h!="string"&&typeof h!="number"||(o=o||[]).push(c,""+h):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Oo.hasOwnProperty(c)?(h!=null&&c==="onScroll"&&Nt("scroll",t),o||n===h||(o=[])):(o=o||[]).push(c,h))}r&&(o=o||[]).push("style",r);var c=o;(a.updateQueue=c)&&(a.flags|=4)}};Wv=function(t,a,r,e){r!==e&&(a.flags|=4)};function mo(t,a){if(!qt)switch(t.tailMode){case"hidden":a=t.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var e=null;r!==null;)r.alternate!==null&&(e=r),r=r.sibling;e===null?a||t.tail===null?t.tail=null:t.tail.sibling=null:e.sibling=null}}function U1(t){var a=t.alternate!==null&&t.alternate.child===t.child,r=0,e=0;if(a)for(var i=t.child;i!==null;)r|=i.lanes|i.childLanes,e|=i.subtreeFlags&14680064,e|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)r|=i.lanes|i.childLanes,e|=i.subtreeFlags,e|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=e,t.childLanes=r,a}function uy(t,a,r){var e=a.pendingProps;switch(b3(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return U1(a),null;case 1:return s2(a.type)&&a4(),U1(a),null;case 3:return e=a.stateNode,Ce(),Ut(d2),Ut(q1),j3(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(t===null||t.child===null)&&(Sn(a)?a.flags|=4:t===null||t.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,r0!==null&&(l3(r0),r0=null))),Zd(t,a),U1(a),null;case 5:W3(a);var i=lr(qo.current);if(r=a.type,t!==null&&a.stateNode!=null)Sv(t,a,r,e,i),t.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!e){if(a.stateNode===null)throw Error(G(166));return U1(a),null}if(t=lr(x0.current),Sn(a)){e=a.stateNode,r=a.type;var o=a.memoizedProps;switch(e[f0]=a,e[Uo]=o,t=(a.mode&1)!==0,r){case"dialog":Nt("cancel",e),Nt("close",e);break;case"iframe":case"object":case"embed":Nt("load",e);break;case"video":case"audio":for(i=0;i<bo.length;i++)Nt(bo[i],e);break;case"source":Nt("error",e);break;case"img":case"image":case"link":Nt("error",e),Nt("load",e);break;case"details":Nt("toggle",e);break;case"input":Y8(e,o),Nt("invalid",e);break;case"select":e._wrapperState={wasMultiple:!!o.multiple},Nt("invalid",e);break;case"textarea":Q8(e,o),Nt("invalid",e)}Hd(r,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var n=o[l];l==="children"?typeof n=="string"?e.textContent!==n&&(o.suppressHydrationWarning!==!0&&yn(e.textContent,n,t),i=["children",n]):typeof n=="number"&&e.textContent!==""+n&&(o.suppressHydrationWarning!==!0&&yn(e.textContent,n,t),i=["children",""+n]):Oo.hasOwnProperty(l)&&n!=null&&l==="onScroll"&&Nt("scroll",e)}switch(r){case"input":mn(e),X8(e,o,!0);break;case"textarea":mn(e),Z8(e);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(e.onclick=t4)}e=i,a.updateQueue=e,e!==null&&(a.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=lg(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=l.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof e.is=="string"?t=l.createElement(r,{is:e.is}):(t=l.createElement(r),r==="select"&&(l=t,e.multiple?l.multiple=!0:e.size&&(l.size=e.size))):t=l.createElementNS(t,r),t[f0]=a,t[Uo]=e,yv(t,a,!1,!1),a.stateNode=t;t:{switch(l=Cd(r,e),r){case"dialog":Nt("cancel",t),Nt("close",t),i=e;break;case"iframe":case"object":case"embed":Nt("load",t),i=e;break;case"video":case"audio":for(i=0;i<bo.length;i++)Nt(bo[i],t);i=e;break;case"source":Nt("error",t),i=e;break;case"img":case"image":case"link":Nt("error",t),Nt("load",t),i=e;break;case"details":Nt("toggle",t),i=e;break;case"input":Y8(t,e),i=zd(t,e),Nt("invalid",t);break;case"option":i=e;break;case"select":t._wrapperState={wasMultiple:!!e.multiple},i=Qt({},e,{value:void 0}),Nt("invalid",t);break;case"textarea":Q8(t,e),i=wd(t,e),Nt("invalid",t);break;default:i=e}Hd(r,i),n=i;for(o in n)if(n.hasOwnProperty(o)){var h=n[o];o==="style"?cg(t,h):o==="dangerouslySetInnerHTML"?(h=h?h.__html:void 0,h!=null&&ng(t,h)):o==="children"?typeof h=="string"?(r!=="textarea"||h!=="")&&Ao(t,h):typeof h=="number"&&Ao(t,""+h):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Oo.hasOwnProperty(o)?h!=null&&o==="onScroll"&&Nt("scroll",t):h!=null&&c3(t,o,h,l))}switch(r){case"input":mn(t),X8(t,e,!1);break;case"textarea":mn(t),Z8(t);break;case"option":e.value!=null&&t.setAttribute("value",""+Ba(e.value));break;case"select":t.multiple=!!e.multiple,o=e.value,o!=null?Me(t,!!e.multiple,o,!1):e.defaultValue!=null&&Me(t,!!e.multiple,e.defaultValue,!0);break;default:typeof i.onClick=="function"&&(t.onclick=t4)}switch(r){case"button":case"input":case"select":case"textarea":e=!!e.autoFocus;break t;case"img":e=!0;break t;default:e=!1}}e&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return U1(a),null;case 6:if(t&&a.stateNode!=null)Wv(t,a,t.memoizedProps,e);else{if(typeof e!="string"&&a.stateNode===null)throw Error(G(166));if(r=lr(qo.current),lr(x0.current),Sn(a)){if(e=a.stateNode,r=a.memoizedProps,e[f0]=a,(o=e.nodeValue!==r)&&(t=L2,t!==null))switch(t.tag){case 3:yn(e.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&yn(e.nodeValue,r,(t.mode&1)!==0)}o&&(a.flags|=4)}else e=(r.nodeType===9?r:r.ownerDocument).createTextNode(e),e[f0]=a,a.stateNode=e}return U1(a),null;case 13:if(Ut(Yt),e=a.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(qt&&k2!==null&&(a.mode&1)!==0&&(a.flags&128)===0)Xg(),be(),a.flags|=98560,o=!1;else if(o=Sn(a),e!==null&&e.dehydrated!==null){if(t===null){if(!o)throw Error(G(318));if(o=a.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(G(317));o[f0]=a}else be(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;U1(a),o=!1}else r0!==null&&(l3(r0),r0=null),o=!0;if(!o)return a.flags&65536?a:null}return(a.flags&128)!==0?(a.lanes=r,a):(e=e!==null,e!==(t!==null&&t.memoizedState!==null)&&e&&(a.child.flags|=8192,(a.mode&1)!==0&&(t===null||(Yt.current&1)!==0?m1===0&&(m1=3):G3())),a.updateQueue!==null&&(a.flags|=4),U1(a),null);case 4:return Ce(),Zd(t,a),t===null&&Do(a.stateNode.containerInfo),U1(a),null;case 10:return V3(a.type._context),U1(a),null;case 17:return s2(a.type)&&a4(),U1(a),null;case 19:if(Ut(Yt),o=a.memoizedState,o===null)return U1(a),null;if(e=(a.flags&128)!==0,l=o.rendering,l===null)if(e)mo(o,!1);else{if(m1!==0||t!==null&&(t.flags&128)!==0)for(t=a.child;t!==null;){if(l=h4(t),l!==null){for(a.flags|=128,mo(o,!1),e=l.updateQueue,e!==null&&(a.updateQueue=e,a.flags|=4),a.subtreeFlags=0,e=r,r=a.child;r!==null;)o=r,t=e,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=t,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,t=l.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return Dt(Yt,Yt.current&1|2),a.child}t=t.sibling}o.tail!==null&&l1()>Ve&&(a.flags|=128,e=!0,mo(o,!1),a.lanes=4194304)}else{if(!e)if(t=h4(l),t!==null){if(a.flags|=128,e=!0,r=t.updateQueue,r!==null&&(a.updateQueue=r,a.flags|=4),mo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!qt)return U1(a),null}else 2*l1()-o.renderingStartTime>Ve&&r!==1073741824&&(a.flags|=128,e=!0,mo(o,!1),a.lanes=4194304);o.isBackwards?(l.sibling=a.child,a.child=l):(r=o.last,r!==null?r.sibling=l:a.child=l,o.last=l)}return o.tail!==null?(a=o.tail,o.rendering=a,o.tail=a.sibling,o.renderingStartTime=l1(),a.sibling=null,r=Yt.current,Dt(Yt,e?r&1|2:r&1),a):(U1(a),null);case 22:case 23:return U3(),e=a.memoizedState!==null,t!==null&&t.memoizedState!==null!==e&&(a.flags|=8192),e&&(a.mode&1)!==0?(z2&1073741824)!==0&&(U1(a),a.subtreeFlags&6&&(a.flags|=8192)):U1(a),null;case 24:return null;case 25:return null}throw Error(G(156,a.tag))}function My(t,a){switch(b3(a),a.tag){case 1:return s2(a.type)&&a4(),t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 3:return Ce(),Ut(d2),Ut(q1),j3(),t=a.flags,(t&65536)!==0&&(t&128)===0?(a.flags=t&-65537|128,a):null;case 5:return W3(a),null;case 13:if(Ut(Yt),t=a.memoizedState,t!==null&&t.dehydrated!==null){if(a.alternate===null)throw Error(G(340));be()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 19:return Ut(Yt),null;case 4:return Ce(),null;case 10:return V3(a.type._context),null;case 22:case 23:return U3(),null;case 24:return null;default:return null}}var On=!1,G1=!1,fy=typeof WeakSet=="function"?WeakSet:Set,J=null;function ve(t,a){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(e){a1(t,a,e)}else r.current=null}function Jd(t,a,r){try{r()}catch(e){a1(t,a,e)}}var Dp=!1;function my(t,a){if(Pd=Qn,t=Eg(),L3(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else t:{r=(r=t.ownerDocument)&&r.defaultView||window;var e=r.getSelection&&r.getSelection();if(e&&e.rangeCount!==0){r=e.anchorNode;var i=e.anchorOffset,o=e.focusNode;e=e.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break t}var l=0,n=-1,h=-1,c=0,d=0,s=t,p=null;a:for(;;){for(var g;s!==r||i!==0&&s.nodeType!==3||(n=l+i),s!==o||e!==0&&s.nodeType!==3||(h=l+e),s.nodeType===3&&(l+=s.nodeValue.length),(g=s.firstChild)!==null;)p=s,s=g;for(;;){if(s===t)break a;if(p===r&&++c===i&&(n=l),p===o&&++d===e&&(h=l),(g=s.nextSibling)!==null)break;s=p,p=s.parentNode}s=g}r=n===-1||h===-1?null:{start:n,end:h}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ed={focusedElem:t,selectionRange:r},Qn=!1,J=a;J!==null;)if(a=J,t=a.child,(a.subtreeFlags&1028)!==0&&t!==null)t.return=a,J=t;else for(;J!==null;){a=J;try{var u=a.alternate;if((a.flags&1024)!==0)switch(a.tag){case 0:case 11:case 15:break;case 1:if(u!==null){var f=u.memoizedProps,z=u.memoizedState,v=a.stateNode,M=v.getSnapshotBeforeUpdate(a.elementType===a.type?f:t0(a.type,f),z);v.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var m=a.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(G(163))}}catch(L){a1(a,a.return,L)}if(t=a.sibling,t!==null){t.return=a.return,J=t;break}J=a.return}return u=Dp,Dp=!1,u}function So(t,a,r){var e=a.updateQueue;if(e=e!==null?e.lastEffect:null,e!==null){var i=e=e.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&Jd(a,r,o)}i=i.next}while(i!==e)}}function b4(t,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var r=a=a.next;do{if((r.tag&t)===t){var e=r.create;r.destroy=e()}r=r.next}while(r!==a)}}function t3(t){var a=t.ref;if(a!==null){var r=t.stateNode;t.tag,t=r,typeof a=="function"?a(t):a.current=t}}function jv(t){var a=t.alternate;a!==null&&(t.alternate=null,jv(a)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(a=t.stateNode,a!==null&&(delete a[f0],delete a[Uo],delete a[Fd],delete a[ty],delete a[ay])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Ov(t){return t.tag===5||t.tag===3||t.tag===4}function Np(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Ov(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function a3(t,a,r){var e=t.tag;if(e===5||e===6)t=t.stateNode,a?r.nodeType===8?r.parentNode.insertBefore(t,a):r.insertBefore(t,a):(r.nodeType===8?(a=r.parentNode,a.insertBefore(t,r)):(a=r,a.appendChild(t)),r=r._reactRootContainer,r!=null||a.onclick!==null||(a.onclick=t4));else if(e!==4&&(t=t.child,t!==null))for(a3(t,a,r),t=t.sibling;t!==null;)a3(t,a,r),t=t.sibling}function r3(t,a,r){var e=t.tag;if(e===5||e===6)t=t.stateNode,a?r.insertBefore(t,a):r.appendChild(t);else if(e!==4&&(t=t.child,t!==null))for(r3(t,a,r),t=t.sibling;t!==null;)r3(t,a,r),t=t.sibling}var A1=null,a0=!1;function pa(t,a,r){for(r=r.child;r!==null;)Av(t,a,r),r=r.sibling}function Av(t,a,r){if(m0&&typeof m0.onCommitFiberUnmount=="function")try{m0.onCommitFiberUnmount(M4,r)}catch{}switch(r.tag){case 5:G1||ve(r,a);case 6:var e=A1,i=a0;A1=null,pa(t,a,r),A1=e,a0=i,A1!==null&&(a0?(t=A1,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):A1.removeChild(r.stateNode));break;case 18:A1!==null&&(a0?(t=A1,r=r.stateNode,t.nodeType===8?od(t.parentNode,r):t.nodeType===1&&od(t,r),_o(t)):od(A1,r.stateNode));break;case 4:e=A1,i=a0,A1=r.stateNode.containerInfo,a0=!0,pa(t,a,r),A1=e,a0=i;break;case 0:case 11:case 14:case 15:if(!G1&&(e=r.updateQueue,e!==null&&(e=e.lastEffect,e!==null))){i=e=e.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&((o&2)!==0||(o&4)!==0)&&Jd(r,a,l),i=i.next}while(i!==e)}pa(t,a,r);break;case 1:if(!G1&&(ve(r,a),e=r.stateNode,typeof e.componentWillUnmount=="function"))try{e.props=r.memoizedProps,e.state=r.memoizedState,e.componentWillUnmount()}catch(n){a1(r,a,n)}pa(t,a,r);break;case 21:pa(t,a,r);break;case 22:r.mode&1?(G1=(e=G1)||r.memoizedState!==null,pa(t,a,r),G1=e):pa(t,a,r);break;default:pa(t,a,r)}}function Up(t){var a=t.updateQueue;if(a!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new fy),a.forEach(function(e){var i=By.bind(null,t,e);r.has(e)||(r.add(e),e.then(i,i))})}}function J2(t,a){var r=a.deletions;if(r!==null)for(var e=0;e<r.length;e++){var i=r[e];try{var o=t,l=a,n=l;t:for(;n!==null;){switch(n.tag){case 5:A1=n.stateNode,a0=!1;break t;case 3:A1=n.stateNode.containerInfo,a0=!0;break t;case 4:A1=n.stateNode.containerInfo,a0=!0;break t}n=n.return}if(A1===null)throw Error(G(160));Av(o,l,i),A1=null,a0=!1;var h=i.alternate;h!==null&&(h.return=null),i.return=null}catch(c){a1(i,a,c)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)Pv(a,t),a=a.sibling}function Pv(t,a){var r=t.alternate,e=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(J2(a,t),u0(t),e&4){try{So(3,t,t.return),b4(3,t)}catch(f){a1(t,t.return,f)}try{So(5,t,t.return)}catch(f){a1(t,t.return,f)}}break;case 1:J2(a,t),u0(t),e&512&&r!==null&&ve(r,r.return);break;case 5:if(J2(a,t),u0(t),e&512&&r!==null&&ve(r,r.return),t.flags&32){var i=t.stateNode;try{Ao(i,"")}catch(f){a1(t,t.return,f)}}if(e&4&&(i=t.stateNode,i!=null)){var o=t.memoizedProps,l=r!==null?r.memoizedProps:o,n=t.type,h=t.updateQueue;if(t.updateQueue=null,h!==null)try{n==="input"&&o.type==="radio"&&o.name!=null&&ig(i,o),Cd(n,l);var c=Cd(n,o);for(l=0;l<h.length;l+=2){var d=h[l],s=h[l+1];d==="style"?cg(i,s):d==="dangerouslySetInnerHTML"?ng(i,s):d==="children"?Ao(i,s):c3(i,d,s,c)}switch(n){case"input":kd(i,o);break;case"textarea":og(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var g=o.value;g!=null?Me(i,!!o.multiple,g,!1):p!==!!o.multiple&&(o.defaultValue!=null?Me(i,!!o.multiple,o.defaultValue,!0):Me(i,!!o.multiple,o.multiple?[]:"",!1))}i[Uo]=o}catch(f){a1(t,t.return,f)}}break;case 6:if(J2(a,t),u0(t),e&4){if(t.stateNode===null)throw Error(G(162));i=t.stateNode,o=t.memoizedProps;try{i.nodeValue=o}catch(f){a1(t,t.return,f)}}break;case 3:if(J2(a,t),u0(t),e&4&&r!==null&&r.memoizedState.isDehydrated)try{_o(a.containerInfo)}catch(f){a1(t,t.return,f)}break;case 4:J2(a,t),u0(t);break;case 13:J2(a,t),u0(t),i=t.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(D3=l1())),e&4&&Up(t);break;case 22:if(d=r!==null&&r.memoizedState!==null,t.mode&1?(G1=(c=G1)||d,J2(a,t),G1=c):J2(a,t),u0(t),e&8192){if(c=t.memoizedState!==null,(t.stateNode.isHidden=c)&&!d&&(t.mode&1)!==0)for(J=t,d=t.child;d!==null;){for(s=J=d;J!==null;){switch(p=J,g=p.child,p.tag){case 0:case 11:case 14:case 15:So(4,p,p.return);break;case 1:ve(p,p.return);var u=p.stateNode;if(typeof u.componentWillUnmount=="function"){e=p,r=p.return;try{a=e,u.props=a.memoizedProps,u.state=a.memoizedState,u.componentWillUnmount()}catch(f){a1(e,r,f)}}break;case 5:ve(p,p.return);break;case 22:if(p.memoizedState!==null){qp(s);continue}}g!==null?(g.return=p,J=g):qp(s)}d=d.sibling}t:for(d=null,s=t;;){if(s.tag===5){if(d===null){d=s;try{i=s.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(n=s.stateNode,h=s.memoizedProps.style,l=h!=null&&h.hasOwnProperty("display")?h.display:null,n.style.display=hg("display",l))}catch(f){a1(t,t.return,f)}}}else if(s.tag===6){if(d===null)try{s.stateNode.nodeValue=c?"":s.memoizedProps}catch(f){a1(t,t.return,f)}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===t)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break t;for(;s.sibling===null;){if(s.return===null||s.return===t)break t;d===s&&(d=null),s=s.return}d===s&&(d=null),s.sibling.return=s.return,s=s.sibling}}break;case 19:J2(a,t),u0(t),e&4&&Up(t);break;case 21:break;default:J2(a,t),u0(t)}}function u0(t){var a=t.flags;if(a&2){try{t:{for(var r=t.return;r!==null;){if(Ov(r)){var e=r;break t}r=r.return}throw Error(G(160))}switch(e.tag){case 5:var i=e.stateNode;e.flags&32&&(Ao(i,""),e.flags&=-33);var o=Np(t);r3(t,o,i);break;case 3:case 4:var l=e.stateNode.containerInfo,n=Np(t);a3(t,n,l);break;default:throw Error(G(161))}}catch(h){a1(t,t.return,h)}t.flags&=-3}a&4096&&(t.flags&=-4097)}function xy(t,a,r){J=t,Ev(t,a,r)}function Ev(t,a,r){for(var e=(t.mode&1)!==0;J!==null;){var i=J,o=i.child;if(i.tag===22&&e){var l=i.memoizedState!==null||On;if(!l){var n=i.alternate,h=n!==null&&n.memoizedState!==null||G1;n=On;var c=G1;if(On=l,(G1=h)&&!c)for(J=i;J!==null;)l=J,h=l.child,l.tag===22&&l.memoizedState!==null?$p(i):h!==null?(h.return=l,J=h):$p(i);for(;o!==null;)J=o,Ev(o,a,r),o=o.sibling;J=i,On=n,G1=c}Gp(t,a,r)}else(i.subtreeFlags&8772)!==0&&o!==null?(o.return=i,J=o):Gp(t,a,r)}}function Gp(t){for(;J!==null;){var a=J;if((a.flags&8772)!==0){var r=a.alternate;try{if((a.flags&8772)!==0)switch(a.tag){case 0:case 11:case 15:G1||b4(5,a);break;case 1:var e=a.stateNode;if(a.flags&4&&!G1)if(r===null)e.componentDidMount();else{var i=a.elementType===a.type?r.memoizedProps:t0(a.type,r.memoizedProps);e.componentDidUpdate(i,r.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}var o=a.updateQueue;o!==null&&Tp(a,o,e);break;case 3:var l=a.updateQueue;if(l!==null){if(r=null,a.child!==null)switch(a.child.tag){case 5:r=a.child.stateNode;break;case 1:r=a.child.stateNode}Tp(a,l,r)}break;case 5:var n=a.stateNode;if(r===null&&a.flags&4){r=n;var h=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":h.autoFocus&&r.focus();break;case"img":h.src&&(r.src=h.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var c=a.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var s=d.dehydrated;s!==null&&_o(s)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(G(163))}G1||a.flags&512&&t3(a)}catch(p){a1(a,a.return,p)}}if(a===t){J=null;break}if(r=a.sibling,r!==null){r.return=a.return,J=r;break}J=a.return}}function qp(t){for(;J!==null;){var a=J;if(a===t){J=null;break}var r=a.sibling;if(r!==null){r.return=a.return,J=r;break}J=a.return}}function $p(t){for(;J!==null;){var a=J;try{switch(a.tag){case 0:case 11:case 15:var r=a.return;try{b4(4,a)}catch(h){a1(a,r,h)}break;case 1:var e=a.stateNode;if(typeof e.componentDidMount=="function"){var i=a.return;try{e.componentDidMount()}catch(h){a1(a,i,h)}}var o=a.return;try{t3(a)}catch(h){a1(a,o,h)}break;case 5:var l=a.return;try{t3(a)}catch(h){a1(a,l,h)}}}catch(h){a1(a,a.return,h)}if(a===t){J=null;break}var n=a.sibling;if(n!==null){n.return=a.return,J=n;break}J=a.return}}var zy=Math.ceil,s4=Y0.ReactCurrentDispatcher,F3=Y0.ReactCurrentOwner,A2=Y0.ReactCurrentBatchConfig,bt=0,C1=null,s1=null,P1=0,z2=0,ue=ya(0),m1=0,Xo=null,pr=0,H4=0,I3=0,Wo=null,h2=null,D3=0,Ve=1/0,F0=null,p4=!1,e3=null,ba=null,An=!1,ma=null,g4=0,jo=0,i3=null,Nn=-1,Un=0;function Z1(){return(bt&6)!==0?l1():Nn!==-1?Nn:Nn=l1()}function Ha(t){return(t.mode&1)===0?1:(bt&2)!==0&&P1!==0?P1&-P1:ey.transition!==null?(Un===0&&(Un=kg()),Un):(t=St,t!==0||(t=window.event,t=t===void 0?16:Vg(t.type)),t)}function i0(t,a,r,e){if(50<jo)throw jo=0,i3=null,Error(G(185));Qo(t,r,e),((bt&2)===0||t!==C1)&&(t===C1&&((bt&2)===0&&(H4|=r),m1===4&&Ma(t,P1)),p2(t,e),r===1&&bt===0&&(a.mode&1)===0&&(Ve=l1()+500,k4&&Sa()))}function p2(t,a){var r=t.callbackNode;oT(t,a);var e=Xn(t,t===C1?P1:0);if(e===0)r!==null&&ap(r),t.callbackNode=null,t.callbackPriority=0;else if(a=e&-e,t.callbackPriority!==a){if(r!=null&&ap(r),a===1)t.tag===0?ry(Kp.bind(null,t)):$g(Kp.bind(null,t)),ZT(function(){(bt&6)===0&&Sa()}),r=null;else{switch(Lg(e)){case 1:r=v3;break;case 4:r=xg;break;case 16:r=Yn;break;case 536870912:r=zg;break;default:r=Yn}r=Gv(r,Rv.bind(null,t))}t.callbackPriority=a,t.callbackNode=r}}function Rv(t,a){if(Nn=-1,Un=0,(bt&6)!==0)throw Error(G(327));var r=t.callbackNode;if(ke()&&t.callbackNode!==r)return null;var e=Xn(t,t===C1?P1:0);if(e===0)return null;if((e&30)!==0||(e&t.expiredLanes)!==0||a)a=v4(t,e);else{a=e;var i=bt;bt|=2;var o=Fv();(C1!==t||P1!==a)&&(F0=null,Ve=l1()+500,nr(t,a));do try{wy();break}catch(n){_v(t,n)}while(!0);B3(),s4.current=o,bt=i,s1!==null?a=0:(C1=null,P1=0,a=m1)}if(a!==0){if(a===2&&(i=Sd(t),i!==0&&(e=i,a=o3(t,i))),a===1)throw r=Xo,nr(t,0),Ma(t,e),p2(t,l1()),r;if(a===6)Ma(t,e);else{if(i=t.current.alternate,(e&30)===0&&!ky(i)&&(a=v4(t,e),a===2&&(o=Sd(t),o!==0&&(e=o,a=o3(t,o))),a===1))throw r=Xo,nr(t,0),Ma(t,e),p2(t,l1()),r;switch(t.finishedWork=i,t.finishedLanes=e,a){case 0:case 1:throw Error(G(345));case 2:er(t,h2,F0);break;case 3:if(Ma(t,e),(e&130023424)===e&&(a=D3+500-l1(),10<a)){if(Xn(t,0)!==0)break;if(i=t.suspendedLanes,(i&e)!==e){Z1(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=_d(er.bind(null,t,h2,F0),a);break}er(t,h2,F0);break;case 4:if(Ma(t,e),(e&4194240)===e)break;for(a=t.eventTimes,i=-1;0<e;){var l=31-e0(e);o=1<<l,l=a[l],l>i&&(i=l),e&=~o}if(e=i,e=l1()-e,e=(120>e?120:480>e?480:1080>e?1080:1920>e?1920:3e3>e?3e3:4320>e?4320:1960*zy(e/1960))-e,10<e){t.timeoutHandle=_d(er.bind(null,t,h2,F0),e);break}er(t,h2,F0);break;case 5:er(t,h2,F0);break;default:throw Error(G(329))}}}return p2(t,l1()),t.callbackNode===r?Rv.bind(null,t):null}function o3(t,a){var r=Wo;return t.current.memoizedState.isDehydrated&&(nr(t,a).flags|=256),t=v4(t,a),t!==2&&(a=h2,h2=r,a!==null&&l3(a)),t}function l3(t){h2===null?h2=t:h2.push.apply(h2,t)}function ky(t){for(var a=t;;){if(a.flags&16384){var r=a.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var e=0;e<r.length;e++){var i=r[e],o=i.getSnapshot;i=i.value;try{if(!o0(o(),i))return!1}catch{return!1}}}if(r=a.child,a.subtreeFlags&16384&&r!==null)r.return=a,a=r;else{if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ma(t,a){for(a&=~I3,a&=~H4,t.suspendedLanes|=a,t.pingedLanes&=~a,t=t.expirationTimes;0<a;){var r=31-e0(a),e=1<<r;t[r]=-1,a&=~e}}function Kp(t){if((bt&6)!==0)throw Error(G(327));ke();var a=Xn(t,0);if((a&1)===0)return p2(t,l1()),null;var r=v4(t,a);if(t.tag!==0&&r===2){var e=Sd(t);e!==0&&(a=e,r=o3(t,e))}if(r===1)throw r=Xo,nr(t,0),Ma(t,a),p2(t,l1()),r;if(r===6)throw Error(G(345));return t.finishedWork=t.current.alternate,t.finishedLanes=a,er(t,h2,F0),p2(t,l1()),null}function N3(t,a){var r=bt;bt|=1;try{return t(a)}finally{bt=r,bt===0&&(Ve=l1()+500,k4&&Sa())}}function gr(t){ma!==null&&ma.tag===0&&(bt&6)===0&&ke();var a=bt;bt|=1;var r=A2.transition,e=St;try{if(A2.transition=null,St=1,t)return t()}finally{St=e,A2.transition=r,bt=a,(bt&6)===0&&Sa()}}function U3(){z2=ue.current,Ut(ue)}function nr(t,a){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,QT(r)),s1!==null)for(r=s1.return;r!==null;){var e=r;switch(b3(e),e.tag){case 1:e=e.type.childContextTypes,e!=null&&a4();break;case 3:Ce(),Ut(d2),Ut(q1),j3();break;case 5:W3(e);break;case 4:Ce();break;case 13:Ut(Yt);break;case 19:Ut(Yt);break;case 10:V3(e.type._context);break;case 22:case 23:U3()}r=r.return}if(C1=t,s1=t=Ca(t.current,null),P1=z2=a,m1=0,Xo=null,I3=H4=pr=0,h2=Wo=null,or!==null){for(a=0;a<or.length;a++)if(r=or[a],e=r.interleaved,e!==null){r.interleaved=null;var i=e.next,o=r.pending;if(o!==null){var l=o.next;o.next=i,e.next=l}r.pending=e}or=null}return t}function _v(t,a){do{var r=s1;try{if(B3(),Fn.current=d4,c4){for(var e=Xt.memoizedState;e!==null;){var i=e.queue;i!==null&&(i.pending=null),e=e.next}c4=!1}if(sr=0,H1=f1=Xt=null,yo=!1,$o=0,F3.current=null,r===null||r.return===null){m1=1,Xo=a,s1=null;break}t:{var o=t,l=r.return,n=r,h=a;if(a=P1,n.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){var c=h,d=n,s=d.tag;if((d.mode&1)===0&&(s===0||s===11||s===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var g=Ap(l);if(g!==null){g.flags&=-257,Pp(g,l,n,o,a),g.mode&1&&Op(o,c,a),a=g,h=c;var u=a.updateQueue;if(u===null){var f=new Set;f.add(h),a.updateQueue=f}else u.add(h);break t}else{if((a&1)===0){Op(o,c,a),G3();break t}h=Error(G(426))}}else if(qt&&n.mode&1){var z=Ap(l);if(z!==null){(z.flags&65536)===0&&(z.flags|=256),Pp(z,l,n,o,a),H3(Be(h,n));break t}}o=h=Be(h,n),m1!==4&&(m1=2),Wo===null?Wo=[o]:Wo.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,a&=-a,o.lanes|=a;var v=Lv(o,h,a);Vp(o,v);break t;case 1:n=h;var M=o.type,m=o.stateNode;if((o.flags&128)===0&&(typeof M.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(ba===null||!ba.has(m)))){o.flags|=65536,a&=-a,o.lanes|=a;var L=wv(o,n,a);Vp(o,L);break t}}o=o.return}while(o!==null)}Dv(r)}catch(H){a=H,s1===r&&r!==null&&(s1=r=r.return);continue}break}while(!0)}function Fv(){var t=s4.current;return s4.current=d4,t===null?d4:t}function G3(){(m1===0||m1===3||m1===2)&&(m1=4),C1===null||(pr&268435455)===0&&(H4&268435455)===0||Ma(C1,P1)}function v4(t,a){var r=bt;bt|=2;var e=Fv();(C1!==t||P1!==a)&&(F0=null,nr(t,a));do try{Ly();break}catch(i){_v(t,i)}while(!0);if(B3(),bt=r,s4.current=e,s1!==null)throw Error(G(261));return C1=null,P1=0,m1}function Ly(){for(;s1!==null;)Iv(s1)}function wy(){for(;s1!==null&&!XV();)Iv(s1)}function Iv(t){var a=Uv(t.alternate,t,z2);t.memoizedProps=t.pendingProps,a===null?Dv(t):s1=a,F3.current=null}function Dv(t){var a=t;do{var r=a.alternate;if(t=a.return,(a.flags&32768)===0){if(r=uy(r,a,z2),r!==null){s1=r;return}}else{if(r=My(r,a),r!==null){r.flags&=32767,s1=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{m1=6,s1=null;return}}if(a=a.sibling,a!==null){s1=a;return}s1=a=t}while(a!==null);m1===0&&(m1=5)}function er(t,a,r){var e=St,i=A2.transition;try{A2.transition=null,St=1,by(t,a,r,e)}finally{A2.transition=i,St=e}return null}function by(t,a,r,e){do ke();while(ma!==null);if((bt&6)!==0)throw Error(G(327));r=t.finishedWork;var i=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(G(177));t.callbackNode=null,t.callbackPriority=0;var o=r.lanes|r.childLanes;if(lT(t,o),t===C1&&(s1=C1=null,P1=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||An||(An=!0,Gv(Yn,function(){return ke(),null})),o=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||o){o=A2.transition,A2.transition=null;var l=St;St=1;var n=bt;bt|=4,F3.current=null,my(t,r),Pv(r,t),qT(Ed),Qn=!!Pd,Ed=Pd=null,t.current=r,xy(r,t,i),QV(),bt=n,St=l,A2.transition=o}else t.current=r;if(An&&(An=!1,ma=t,g4=i),o=t.pendingLanes,o===0&&(ba=null),tT(r.stateNode,e),p2(t,l1()),a!==null)for(e=t.onRecoverableError,r=0;r<a.length;r++)i=a[r],e(i.value,{componentStack:i.stack,digest:i.digest});if(p4)throw p4=!1,t=e3,e3=null,t;return(g4&1)!==0&&t.tag!==0&&ke(),o=t.pendingLanes,(o&1)!==0?t===i3?jo++:(jo=0,i3=t):jo=0,Sa(),null}function ke(){if(ma!==null){var t=Lg(g4),a=A2.transition,r=St;try{if(A2.transition=null,St=16>t?16:t,ma===null)var e=!1;else{if(t=ma,ma=null,g4=0,(bt&6)!==0)throw Error(G(331));var i=bt;for(bt|=4,J=t.current;J!==null;){var o=J,l=o.child;if((J.flags&16)!==0){var n=o.deletions;if(n!==null){for(var h=0;h<n.length;h++){var c=n[h];for(J=c;J!==null;){var d=J;switch(d.tag){case 0:case 11:case 15:So(8,d,o)}var s=d.child;if(s!==null)s.return=d,J=s;else for(;J!==null;){d=J;var p=d.sibling,g=d.return;if(jv(d),d===c){J=null;break}if(p!==null){p.return=g,J=p;break}J=g}}}var u=o.alternate;if(u!==null){var f=u.child;if(f!==null){u.child=null;do{var z=f.sibling;f.sibling=null,f=z}while(f!==null)}}J=o}}if((o.subtreeFlags&2064)!==0&&l!==null)l.return=o,J=l;else t:for(;J!==null;){if(o=J,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:So(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,J=v;break t}J=o.return}}var M=t.current;for(J=M;J!==null;){l=J;var m=l.child;if((l.subtreeFlags&2064)!==0&&m!==null)m.return=l,J=m;else t:for(l=M;J!==null;){if(n=J,(n.flags&2048)!==0)try{switch(n.tag){case 0:case 11:case 15:b4(9,n)}}catch(H){a1(n,n.return,H)}if(n===l){J=null;break t}var L=n.sibling;if(L!==null){L.return=n.return,J=L;break t}J=n.return}}if(bt=i,Sa(),m0&&typeof m0.onPostCommitFiberRoot=="function")try{m0.onPostCommitFiberRoot(M4,t)}catch{}e=!0}return e}finally{St=r,A2.transition=a}}return!1}function Yp(t,a,r){a=Be(r,a),a=Lv(t,a,1),t=wa(t,a,1),a=Z1(),t!==null&&(Qo(t,1,a),p2(t,a))}function a1(t,a,r){if(t.tag===3)Yp(t,t,r);else for(;a!==null;){if(a.tag===3){Yp(a,t,r);break}else if(a.tag===1){var e=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof e.componentDidCatch=="function"&&(ba===null||!ba.has(e))){t=Be(r,t),t=wv(a,t,1),a=wa(a,t,1),t=Z1(),a!==null&&(Qo(a,1,t),p2(a,t));break}}a=a.return}}function Hy(t,a,r){var e=t.pingCache;e!==null&&e.delete(a),a=Z1(),t.pingedLanes|=t.suspendedLanes&r,C1===t&&(P1&r)===r&&(m1===4||m1===3&&(P1&130023424)===P1&&500>l1()-D3?nr(t,0):I3|=r),p2(t,a)}function Nv(t,a){a===0&&((t.mode&1)===0?a=1:(a=kn,kn<<=1,(kn&130023424)===0&&(kn=4194304)));var r=Z1();t=$0(t,a),t!==null&&(Qo(t,a,r),p2(t,r))}function Cy(t){var a=t.memoizedState,r=0;a!==null&&(r=a.retryLane),Nv(t,r)}function By(t,a){var r=0;switch(t.tag){case 13:var e=t.stateNode,i=t.memoizedState;i!==null&&(r=i.retryLane);break;case 19:e=t.stateNode;break;default:throw Error(G(314))}e!==null&&e.delete(a),Nv(t,r)}var Uv;Uv=function(t,a,r){if(t!==null)if(t.memoizedProps!==a.pendingProps||d2.current)c2=!0;else{if((t.lanes&r)===0&&(a.flags&128)===0)return c2=!1,vy(t,a,r);c2=(t.flags&131072)!==0}else c2=!1,qt&&(a.flags&1048576)!==0&&Kg(a,i4,a.index);switch(a.lanes=0,a.tag){case 2:var e=a.type;Dn(t,a),t=a.pendingProps;var i=we(a,q1.current);ze(a,r),i=A3(null,a,e,t,i,r);var o=P3();return a.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,s2(e)?(o=!0,r4(a)):o=!1,a.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,y3(a),i.updater=w4,a.stateNode=i,i._reactInternals=a,qd(a,e,t,r),a=Yd(null,a,e,!0,o,r)):(a.tag=0,qt&&o&&w3(a),Q1(null,a,i,r),a=a.child),a;case 16:e=a.elementType;t:{switch(Dn(t,a),t=a.pendingProps,i=e._init,e=i(e._payload),a.type=e,i=a.tag=Ty(e),t=t0(e,t),i){case 0:a=Kd(null,a,e,t,r);break t;case 1:a=_p(null,a,e,t,r);break t;case 11:a=Ep(null,a,e,t,r);break t;case 14:a=Rp(null,a,e,t0(e.type,t),r);break t}throw Error(G(306,e,""))}return a;case 0:return e=a.type,i=a.pendingProps,i=a.elementType===e?i:t0(e,i),Kd(t,a,e,i,r);case 1:return e=a.type,i=a.pendingProps,i=a.elementType===e?i:t0(e,i),_p(t,a,e,i,r);case 3:t:{if(Bv(a),t===null)throw Error(G(387));e=a.pendingProps,o=a.memoizedState,i=o.element,tv(t,a),n4(a,e,null,r);var l=a.memoizedState;if(e=l.element,o.isDehydrated)if(o={element:e,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},a.updateQueue.baseState=o,a.memoizedState=o,a.flags&256){i=Be(Error(G(423)),a),a=Fp(t,a,e,r,i);break t}else if(e!==i){i=Be(Error(G(424)),a),a=Fp(t,a,e,r,i);break t}else for(k2=La(a.stateNode.containerInfo.firstChild),L2=a,qt=!0,r0=null,r=Zg(a,null,e,r),a.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(be(),e===i){a=K0(t,a,r);break t}Q1(t,a,e,r)}a=a.child}return a;case 5:return av(a),t===null&&Nd(a),e=a.type,i=a.pendingProps,o=t!==null?t.memoizedProps:null,l=i.children,Rd(e,i)?l=null:o!==null&&Rd(e,o)&&(a.flags|=32),Cv(t,a),Q1(t,a,l,r),a.child;case 6:return t===null&&Nd(a),null;case 13:return Vv(t,a,r);case 4:return S3(a,a.stateNode.containerInfo),e=a.pendingProps,t===null?a.child=He(a,null,e,r):Q1(t,a,e,r),a.child;case 11:return e=a.type,i=a.pendingProps,i=a.elementType===e?i:t0(e,i),Ep(t,a,e,i,r);case 7:return Q1(t,a,a.pendingProps,r),a.child;case 8:return Q1(t,a,a.pendingProps.children,r),a.child;case 12:return Q1(t,a,a.pendingProps.children,r),a.child;case 10:t:{if(e=a.type._context,i=a.pendingProps,o=a.memoizedProps,l=i.value,Dt(o4,e._currentValue),e._currentValue=l,o!==null)if(o0(o.value,l)){if(o.children===i.children&&!d2.current){a=K0(t,a,r);break t}}else for(o=a.child,o!==null&&(o.return=a);o!==null;){var n=o.dependencies;if(n!==null){l=o.child;for(var h=n.firstContext;h!==null;){if(h.context===e){if(o.tag===1){h=U0(-1,r&-r),h.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?h.next=h:(h.next=d.next,d.next=h),c.pending=h}}o.lanes|=r,h=o.alternate,h!==null&&(h.lanes|=r),Ud(o.return,r,a),n.lanes|=r;break}h=h.next}}else if(o.tag===10)l=o.type===a.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(G(341));l.lanes|=r,n=l.alternate,n!==null&&(n.lanes|=r),Ud(l,r,a),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===a){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Q1(t,a,i.children,r),a=a.child}return a;case 9:return i=a.type,e=a.pendingProps.children,ze(a,r),i=P2(i),e=e(i),a.flags|=1,Q1(t,a,e,r),a.child;case 14:return e=a.type,i=t0(e,a.pendingProps),i=t0(e.type,i),Rp(t,a,e,i,r);case 15:return bv(t,a,a.type,a.pendingProps,r);case 17:return e=a.type,i=a.pendingProps,i=a.elementType===e?i:t0(e,i),Dn(t,a),a.tag=1,s2(e)?(t=!0,r4(a)):t=!1,ze(a,r),kv(a,e,i),qd(a,e,i,r),Yd(null,a,e,!0,t,r);case 19:return Tv(t,a,r);case 22:return Hv(t,a,r)}throw Error(G(156,a.tag))};function Gv(t,a){return mg(t,a)}function Vy(t,a,r,e){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=e,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function O2(t,a,r,e){return new Vy(t,a,r,e)}function q3(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Ty(t){if(typeof t=="function")return q3(t)?1:0;if(t!=null){if(t=t.$$typeof,t===s3)return 11;if(t===p3)return 14}return 2}function Ca(t,a){var r=t.alternate;return r===null?(r=O2(t.tag,a,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=a,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,a=t.dependencies,r.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function Gn(t,a,r,e,i,o){var l=2;if(e=t,typeof t=="function")q3(t)&&(l=1);else if(typeof t=="string")l=5;else t:switch(t){case oe:return hr(r.children,i,o,a);case d3:l=8,i|=8;break;case Md:return t=O2(12,r,a,i|2),t.elementType=Md,t.lanes=o,t;case fd:return t=O2(13,r,a,i),t.elementType=fd,t.lanes=o,t;case md:return t=O2(19,r,a,i),t.elementType=md,t.lanes=o,t;case ag:return C4(r,i,o,a);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Jp:l=10;break t;case tg:l=9;break t;case s3:l=11;break t;case p3:l=14;break t;case ga:l=16,e=null;break t}throw Error(G(130,t==null?t:typeof t,""))}return a=O2(l,r,a,i),a.elementType=t,a.type=e,a.lanes=o,a}function hr(t,a,r,e){return t=O2(7,t,e,a),t.lanes=r,t}function C4(t,a,r,e){return t=O2(22,t,e,a),t.elementType=ag,t.lanes=r,t.stateNode={isHidden:!1},t}function gd(t,a,r){return t=O2(6,t,null,a),t.lanes=r,t}function vd(t,a,r){return a=O2(4,t.children!==null?t.children:[],t.key,a),a.lanes=r,a.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},a}function yy(t,a,r,e,i){this.tag=a,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Q5(0),this.expirationTimes=Q5(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Q5(0),this.identifierPrefix=e,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function $3(t,a,r,e,i,o,l,n,h){return t=new yy(t,a,r,n,h),a===1?(a=1,o===!0&&(a|=8)):a=0,o=O2(3,null,null,a),t.current=o,o.stateNode=t,o.memoizedState={element:e,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},y3(o),t}function Sy(t,a,r){var e=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ie,key:e==null?null:""+e,children:t,containerInfo:a,implementation:r}}function qv(t){if(!t)return Va;t=t._reactInternals;t:{if(ur(t)!==t||t.tag!==1)throw Error(G(170));var a=t;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(s2(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(a!==null);throw Error(G(171))}if(t.tag===1){var r=t.type;if(s2(r))return qg(t,r,a)}return a}function $v(t,a,r,e,i,o,l,n,h){return t=$3(r,e,!0,t,i,o,l,n,h),t.context=qv(null),r=t.current,e=Z1(),i=Ha(r),o=U0(e,i),o.callback=a??null,wa(r,o,i),t.current.lanes=i,Qo(t,i,e),p2(t,e),t}function B4(t,a,r,e){var i=a.current,o=Z1(),l=Ha(i);return r=qv(r),a.context===null?a.context=r:a.pendingContext=r,a=U0(o,l),a.payload={element:t},e=e===void 0?null:e,e!==null&&(a.callback=e),t=wa(i,a,l),t!==null&&(i0(t,i,l,o),_n(t,i,l)),l}function u4(t){return t=t.current,t.child?(t.child.tag===5,t.child.stateNode):null}function Xp(t,a){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<a?r:a}}function K3(t,a){Xp(t,a),(t=t.alternate)&&Xp(t,a)}function Wy(){return null}var Kv=typeof reportError=="function"?reportError:function(t){console.error(t)};function Y3(t){this._internalRoot=t}V4.prototype.render=Y3.prototype.render=function(t){var a=this._internalRoot;if(a===null)throw Error(G(409));B4(t,a,null,null)};V4.prototype.unmount=Y3.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var a=t.containerInfo;gr(function(){B4(null,t,null,null)}),a[q0]=null}};function V4(t){this._internalRoot=t}V4.prototype.unstable_scheduleHydration=function(t){if(t){var a=Hg();t={blockedOn:null,target:t,priority:a};for(var r=0;r<ua.length&&a!==0&&a<ua[r].priority;r++);ua.splice(r,0,t),r===0&&Bg(t)}};function X3(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function T4(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function Qp(){}function jy(t,a,r,e,i){if(i){if(typeof e=="function"){var o=e;e=function(){var c=u4(l);o.call(c)}}var l=$v(a,e,t,0,null,!1,!1,"",Qp);return t._reactRootContainer=l,t[q0]=l.current,Do(t.nodeType===8?t.parentNode:t),gr(),l}for(;i=t.lastChild;)t.removeChild(i);if(typeof e=="function"){var n=e;e=function(){var c=u4(h);n.call(c)}}var h=$3(t,0,!1,null,null,!1,!1,"",Qp);return t._reactRootContainer=h,t[q0]=h.current,Do(t.nodeType===8?t.parentNode:t),gr(function(){B4(a,h,r,e)}),h}function y4(t,a,r,e,i){var o=r._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var n=i;i=function(){var h=u4(l);n.call(h)}}B4(a,l,t,i)}else l=jy(r,a,t,i,e);return u4(l)}wg=function(t){switch(t.tag){case 3:var a=t.stateNode;if(a.current.memoizedState.isDehydrated){var r=wo(a.pendingLanes);r!==0&&(u3(a,r|1),p2(a,l1()),(bt&6)===0&&(Ve=l1()+500,Sa()))}break;case 13:gr(function(){var e=$0(t,1);if(e!==null){var i=Z1();i0(e,t,1,i)}}),K3(t,1)}};M3=function(t){if(t.tag===13){var a=$0(t,134217728);if(a!==null){var r=Z1();i0(a,t,134217728,r)}K3(t,134217728)}};bg=function(t){if(t.tag===13){var a=Ha(t),r=$0(t,a);if(r!==null){var e=Z1();i0(r,t,a,e)}K3(t,a)}};Hg=function(){return St};Cg=function(t,a){var r=St;try{return St=t,a()}finally{St=r}};Vd=function(t,a,r){switch(a){case"input":if(kd(t,r),a=r.name,r.type==="radio"&&a!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<r.length;a++){var e=r[a];if(e!==t&&e.form===t.form){var i=z4(e);if(!i)throw Error(G(90));eg(e),kd(e,i)}}}break;case"textarea":og(t,r);break;case"select":a=r.value,a!=null&&Me(t,!!r.multiple,a,!1)}};pg=N3;gg=gr;var Oy={usingClientEntryPoint:!1,Events:[Jo,ce,z4,dg,sg,N3]},xo={findFiberByHostInstance:ir,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ay={bundleType:xo.bundleType,version:xo.version,rendererPackageName:xo.rendererPackageName,rendererConfig:xo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y0.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Mg(t),t===null?null:t.stateNode},findFiberByHostInstance:xo.findFiberByHostInstance||Wy,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(zo=__REACT_DEVTOOLS_GLOBAL_HOOK__,!zo.isDisabled&&zo.supportsFiber))try{M4=zo.inject(Ay),m0=zo}catch{}var zo;H2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Oy;H2.createPortal=function(t,a){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!X3(a))throw Error(G(200));return Sy(t,a,null,r)};H2.createRoot=function(t,a){if(!X3(t))throw Error(G(299));var r=!1,e="",i=Kv;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(e=a.identifierPrefix),a.onRecoverableError!==void 0&&(i=a.onRecoverableError)),a=$3(t,1,!1,null,null,r,!1,e,i),t[q0]=a.current,Do(t.nodeType===8?t.parentNode:t),new Y3(a)};H2.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var a=t._reactInternals;if(a===void 0)throw typeof t.render=="function"?Error(G(188)):(t=Object.keys(t).join(","),Error(G(268,t)));return t=Mg(a),t=t===null?null:t.stateNode,t};H2.flushSync=function(t){return gr(t)};H2.hydrate=function(t,a,r){if(!T4(a))throw Error(G(200));return y4(null,t,a,!0,r)};H2.hydrateRoot=function(t,a,r){if(!X3(t))throw Error(G(405));var e=r!=null&&r.hydratedSources||null,i=!1,o="",l=Kv;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onRecoverableError!==void 0&&(l=r.onRecoverableError)),a=$v(a,null,t,1,r??null,i,!1,o,l),t[q0]=a.current,Do(t),e)for(t=0;t<e.length;t++)r=e[t],i=r._getVersion,i=i(r._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[r,i]:a.mutableSourceEagerHydrationData.push(r,i);return new V4(a)};H2.render=function(t,a,r){if(!T4(a))throw Error(G(200));return y4(null,t,a,!1,r)};H2.unmountComponentAtNode=function(t){if(!T4(t))throw Error(G(40));return t._reactRootContainer?(gr(function(){y4(null,null,t,!1,function(){t._reactRootContainer=null,t[q0]=null})}),!0):!1};H2.unstable_batchedUpdates=N3;H2.unstable_renderSubtreeIntoContainer=function(t,a,r,e){if(!T4(r))throw Error(G(200));if(t==null||t._reactInternals===void 0)throw Error(G(38));return y4(t,a,r,!1,e)};H2.version="18.3.1-next-f1338f8080-20240426"});var S4=b1((yD,Qv)=>{"use strict";function Xv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Xv)}catch(t){console.error(t)}}Xv(),Qv.exports=Yv()});var Jv=b1(Q3=>{"use strict";var Zv=S4();Q3.createRoot=Zv.createRoot,Q3.hydrateRoot=Zv.hydrateRoot;var SD});var au=b1(W4=>{"use strict";var Py=at(),Ey=Symbol.for("react.element"),Ry=Symbol.for("react.fragment"),_y=Object.prototype.hasOwnProperty,Fy=Py.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Iy={key:!0,ref:!0,__self:!0,__source:!0};function tu(t,a,r){var e,i={},o=null,l=null;r!==void 0&&(o=""+r),a.key!==void 0&&(o=""+a.key),a.ref!==void 0&&(l=a.ref);for(e in a)_y.call(a,e)&&!Iy.hasOwnProperty(e)&&(i[e]=a[e]);if(t&&t.defaultProps)for(e in a=t.defaultProps,a)i[e]===void 0&&(i[e]=a[e]);return{$$typeof:Ey,type:t,key:o,ref:l,props:i,_owner:Fy.current}}W4.Fragment=Ry;W4.jsx=tu;W4.jsxs=tu});var K=b1((OD,ru)=>{"use strict";ru.exports=au()});var Bu=b1(Wt=>{"use strict";var B1=typeof Symbol=="function"&&Symbol.for,a9=B1?Symbol.for("react.element"):60103,r9=B1?Symbol.for("react.portal"):60106,I4=B1?Symbol.for("react.fragment"):60107,D4=B1?Symbol.for("react.strict_mode"):60108,N4=B1?Symbol.for("react.profiler"):60114,U4=B1?Symbol.for("react.provider"):60109,G4=B1?Symbol.for("react.context"):60110,e9=B1?Symbol.for("react.async_mode"):60111,q4=B1?Symbol.for("react.concurrent_mode"):60111,$4=B1?Symbol.for("react.forward_ref"):60112,K4=B1?Symbol.for("react.suspense"):60113,tS=B1?Symbol.for("react.suspense_list"):60120,Y4=B1?Symbol.for("react.memo"):60115,X4=B1?Symbol.for("react.lazy"):60116,aS=B1?Symbol.for("react.block"):60121,rS=B1?Symbol.for("react.fundamental"):60117,eS=B1?Symbol.for("react.responder"):60118,iS=B1?Symbol.for("react.scope"):60119;function C2(t){if(typeof t=="object"&&t!==null){var a=t.$$typeof;switch(a){case a9:switch(t=t.type,t){case e9:case q4:case I4:case N4:case D4:case K4:return t;default:switch(t=t&&t.$$typeof,t){case G4:case $4:case X4:case Y4:case U4:return t;default:return a}}case r9:return a}}}function Cu(t){return C2(t)===q4}Wt.AsyncMode=e9;Wt.ConcurrentMode=q4;Wt.ContextConsumer=G4;Wt.ContextProvider=U4;Wt.Element=a9;Wt.ForwardRef=$4;Wt.Fragment=I4;Wt.Lazy=X4;Wt.Memo=Y4;Wt.Portal=r9;Wt.Profiler=N4;Wt.StrictMode=D4;Wt.Suspense=K4;Wt.isAsyncMode=function(t){return Cu(t)||C2(t)===e9};Wt.isConcurrentMode=Cu;Wt.isContextConsumer=function(t){return C2(t)===G4};Wt.isContextProvider=function(t){return C2(t)===U4};Wt.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===a9};Wt.isForwardRef=function(t){return C2(t)===$4};Wt.isFragment=function(t){return C2(t)===I4};Wt.isLazy=function(t){return C2(t)===X4};Wt.isMemo=function(t){return C2(t)===Y4};Wt.isPortal=function(t){return C2(t)===r9};Wt.isProfiler=function(t){return C2(t)===N4};Wt.isStrictMode=function(t){return C2(t)===D4};Wt.isSuspense=function(t){return C2(t)===K4};Wt.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===I4||t===q4||t===N4||t===D4||t===K4||t===tS||typeof t=="object"&&t!==null&&(t.$$typeof===X4||t.$$typeof===Y4||t.$$typeof===U4||t.$$typeof===G4||t.$$typeof===$4||t.$$typeof===rS||t.$$typeof===eS||t.$$typeof===iS||t.$$typeof===aS)};Wt.typeOf=C2});var Tu=b1((lN,Vu)=>{"use strict";Vu.exports=Bu()});var Pu=b1((nN,Au)=>{"use strict";var i9=Tu(),oS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},lS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},nS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ju={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o9={};o9[i9.ForwardRef]=nS;o9[i9.Memo]=ju;function yu(t){return i9.isMemo(t)?ju:o9[t.$$typeof]||oS}var hS=Object.defineProperty,cS=Object.getOwnPropertyNames,Su=Object.getOwnPropertySymbols,dS=Object.getOwnPropertyDescriptor,sS=Object.getPrototypeOf,Wu=Object.prototype;function Ou(t,a,r){if(typeof a!="string"){if(Wu){var e=sS(a);e&&e!==Wu&&Ou(t,e,r)}var i=cS(a);Su&&(i=i.concat(Su(a)));for(var o=yu(t),l=yu(a),n=0;n<i.length;++n){var h=i[n];if(!lS[h]&&!(r&&r[h])&&!(l&&l[h])&&!(o&&o[h])){var c=dS(a,h);try{hS(t,h,c)}catch{}}}}return t}Au.exports=Ou});var Sw=b1((m3t,yw)=>{"use strict";var Cw=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,xA=/\n/g,zA=/^\s*/,kA=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,LA=/^:\s*/,wA=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,bA=/^[;\s]*/,HA=/^\s+|\s+$/g,CA=`
|
|
9
|
-
`,Bw="/",Vw="*",_r="",BA="comment",VA="declaration";function TA(t,a){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];a=a||{};var r=1,e=1;function i(u){var f=u.match(xA);f&&(r+=f.length);var z=u.lastIndexOf(CA);e=~z?u.length-z:e+u.length}function o(){var u={line:r,column:e};return function(f){return f.position=new l(u),c(),f}}function l(u){this.start=u,this.end={line:r,column:e},this.source=a.source}l.prototype.content=t;function n(u){var f=new Error(a.source+":"+r+":"+e+": "+u);if(f.reason=u,f.filename=a.source,f.line=r,f.column=e,f.source=t,!a.silent)throw f}function h(u){var f=u.exec(t);if(f){var z=f[0];return i(z),t=t.slice(z.length),f}}function c(){h(zA)}function d(u){var f;for(u=u||[];f=s();)f!==!1&&u.push(f);return u}function s(){var u=o();if(!(Bw!=t.charAt(0)||Vw!=t.charAt(1))){for(var f=2;_r!=t.charAt(f)&&(Vw!=t.charAt(f)||Bw!=t.charAt(f+1));)++f;if(f+=2,_r===t.charAt(f-1))return n("End of comment missing");var z=t.slice(2,f-2);return e+=2,i(z),t=t.slice(f),e+=2,u({type:BA,comment:z})}}function p(){var u=o(),f=h(kA);if(f){if(s(),!h(LA))return n("property missing ':'");var z=h(wA),v=u({type:VA,property:Tw(f[0].replace(Cw,_r)),value:z?Tw(z[0].replace(Cw,_r)):_r});return h(bA),v}}function g(){var u=[];d(u);for(var f;f=p();)f!==!1&&(u.push(f),d(u));return u}return c(),g()}function Tw(t){return t?t.replace(HA,_r):_r}yw.exports=TA});var Ww=b1(Il=>{"use strict";var yA=Il&&Il.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Il,"__esModule",{value:!0});Il.default=WA;var SA=yA(Sw());function WA(t,a){let r=null;if(!t||typeof t!="string")return r;let e=(0,SA.default)(t),i=typeof a=="function";return e.forEach(o=>{if(o.type!=="declaration")return;let{property:l,value:n}=o;i?a(l,n,o):n&&(r=r||{},r[l]=n)}),r}});var Ow=b1(wc=>{"use strict";Object.defineProperty(wc,"__esModule",{value:!0});wc.camelCase=void 0;var jA=/^--[a-zA-Z0-9_-]+$/,OA=/-([a-z])/g,AA=/^[^-]+$/,PA=/^-(webkit|moz|ms|o|khtml)-/,EA=/^-(ms)-/,RA=function(t){return!t||AA.test(t)||jA.test(t)},_A=function(t,a){return a.toUpperCase()},jw=function(t,a){return"".concat(a,"-")},FA=function(t,a){return a===void 0&&(a={}),RA(t)?t:(t=t.toLowerCase(),a.reactCompat?t=t.replace(EA,jw):t=t.replace(PA,jw),t.replace(OA,_A))};wc.camelCase=FA});var Pw=b1((l7,Aw)=>{"use strict";var IA=l7&&l7.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},DA=IA(Ww()),NA=Ow();function o7(t,a){var r={};return!t||typeof t!="string"||(0,DA.default)(t,function(e,i){e&&i&&(r[(0,NA.camelCase)(e,a)]=i)}),r}o7.default=o7;Aw.exports=o7});var nH=b1((K8t,lH)=>{"use strict";var $c=Object.prototype.hasOwnProperty,oH=Object.prototype.toString,Jb=Object.defineProperty,tH=Object.getOwnPropertyDescriptor,aH=function(a){return typeof Array.isArray=="function"?Array.isArray(a):oH.call(a)==="[object Array]"},rH=function(a){if(!a||oH.call(a)!=="[object Object]")return!1;var r=$c.call(a,"constructor"),e=a.constructor&&a.constructor.prototype&&$c.call(a.constructor.prototype,"isPrototypeOf");if(a.constructor&&!r&&!e)return!1;var i;for(i in a);return typeof i>"u"||$c.call(a,i)},eH=function(a,r){Jb&&r.name==="__proto__"?Jb(a,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):a[r.name]=r.newValue},iH=function(a,r){if(r==="__proto__")if($c.call(a,r)){if(tH)return tH(a,r).value}else return;return a[r]};lH.exports=function t(){var a,r,e,i,o,l,n=arguments[0],h=1,c=arguments.length,d=!1;for(typeof n=="boolean"&&(d=n,n=arguments[1]||{},h=2),(n==null||typeof n!="object"&&typeof n!="function")&&(n={});h<c;++h)if(a=arguments[h],a!=null)for(r in a)e=iH(n,r),i=iH(a,r),n!==i&&(d&&i&&(rH(i)||(o=aH(i)))?(o?(o=!1,l=e&&aH(e)?e:[]):l=e&&rH(e)?e:{},eH(n,{name:r,newValue:t(d,l,i)})):typeof i<"u"&&eH(n,{name:r,newValue:i}));return n}});var QC=b1((gvt,XC)=>{"use strict";function RC(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(a=>{let r=t[a],e=typeof r;(e==="object"||e==="function")&&!Object.isFrozen(r)&&RC(r)}),t}var o5=class{constructor(a){a.data===void 0&&(a.data={}),this.data=a.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function _C(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Za(t,...a){let r=Object.create(null);for(let e in t)r[e]=t[e];return a.forEach(function(e){for(let i in e)r[i]=e[i]}),r}var f_="</span>",WC=t=>!!t.scope,m_=(t,{prefix:a})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){let r=t.split(".");return[`${a}${r.shift()}`,...r.map((e,i)=>`${e}${"_".repeat(i+1)}`)].join(" ")}return`${a}${t}`},J7=class{constructor(a,r){this.buffer="",this.classPrefix=r.classPrefix,a.walk(this)}addText(a){this.buffer+=_C(a)}openNode(a){if(!WC(a))return;let r=m_(a.scope,{prefix:this.classPrefix});this.span(r)}closeNode(a){WC(a)&&(this.buffer+=f_)}value(){return this.buffer}span(a){this.buffer+=`<span class="${a}">`}},jC=(t={})=>{let a={children:[]};return Object.assign(a,t),a},ts=class t{constructor(){this.rootNode=jC(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(a){this.top.children.push(a)}openNode(a){let r=jC({scope:a});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(a){return this.constructor._walk(a,this.rootNode)}static _walk(a,r){return typeof r=="string"?a.addText(r):r.children&&(a.openNode(r),r.children.forEach(e=>this._walk(a,e)),a.closeNode(r)),a}static _collapse(a){typeof a!="string"&&a.children&&(a.children.every(r=>typeof r=="string")?a.children=[a.children.join("")]:a.children.forEach(r=>{t._collapse(r)}))}},as=class extends ts{constructor(a){super(),this.options=a}addText(a){a!==""&&this.add(a)}startScope(a){this.openNode(a)}endScope(){this.closeNode()}__addSublanguage(a,r){let e=a.root;r&&(e.scope=`language:${r}`),this.add(e)}toHTML(){return new J7(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function tn(t){return t?typeof t=="string"?t:t.source:null}function FC(t){return Xr("(?=",t,")")}function x_(t){return Xr("(?:",t,")*")}function z_(t){return Xr("(?:",t,")?")}function Xr(...t){return t.map(r=>tn(r)).join("")}function k_(t){let a=t[t.length-1];return typeof a=="object"&&a.constructor===Object?(t.splice(t.length-1,1),a):{}}function es(...t){return"("+(k_(t).capture?"":"?:")+t.map(e=>tn(e)).join("|")+")"}function IC(t){return new RegExp(t.toString()+"|").exec("").length-1}function L_(t,a){let r=t&&t.exec(a);return r&&r.index===0}var w_=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function is(t,{joinWith:a}){let r=0;return t.map(e=>{r+=1;let i=r,o=tn(e),l="";for(;o.length>0;){let n=w_.exec(o);if(!n){l+=o;break}l+=o.substring(0,n.index),o=o.substring(n.index+n[0].length),n[0][0]==="\\"&&n[1]?l+="\\"+String(Number(n[1])+i):(l+=n[0],n[0]==="("&&r++)}return l}).map(e=>`(${e})`).join(a)}var b_=/\b\B/,DC="[a-zA-Z]\\w*",os="[a-zA-Z_]\\w*",NC="\\b\\d+(\\.\\d+)?",UC="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",GC="\\b(0b[01]+)",H_="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",C_=(t={})=>{let a=/^#![ ]*\//;return t.binary&&(t.begin=Xr(a,/.*\b/,t.binary,/\b.*/)),Za({scope:"meta",begin:a,end:/$/,relevance:0,"on:begin":(r,e)=>{r.index!==0&&e.ignoreMatch()}},t)},an={begin:"\\\\[\\s\\S]",relevance:0},B_={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[an]},V_={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[an]},T_={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},n5=function(t,a,r={}){let e=Za({scope:"comment",begin:t,end:a,contains:[]},r);e.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=es("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return e.contains.push({begin:Xr(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),e},y_=n5("//","$"),S_=n5("/\\*","\\*/"),W_=n5("#","$"),j_={scope:"number",begin:NC,relevance:0},O_={scope:"number",begin:UC,relevance:0},A_={scope:"number",begin:GC,relevance:0},P_={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[an,{begin:/\[/,end:/\]/,relevance:0,contains:[an]}]},E_={scope:"title",begin:DC,relevance:0},R_={scope:"title",begin:os,relevance:0},__={begin:"\\.\\s*"+os,relevance:0},F_=function(t){return Object.assign(t,{"on:begin":(a,r)=>{r.data._beginMatch=a[1]},"on:end":(a,r)=>{r.data._beginMatch!==a[1]&&r.ignoreMatch()}})},i5=Object.freeze({__proto__:null,APOS_STRING_MODE:B_,BACKSLASH_ESCAPE:an,BINARY_NUMBER_MODE:A_,BINARY_NUMBER_RE:GC,COMMENT:n5,C_BLOCK_COMMENT_MODE:S_,C_LINE_COMMENT_MODE:y_,C_NUMBER_MODE:O_,C_NUMBER_RE:UC,END_SAME_AS_BEGIN:F_,HASH_COMMENT_MODE:W_,IDENT_RE:DC,MATCH_NOTHING_RE:b_,METHOD_GUARD:__,NUMBER_MODE:j_,NUMBER_RE:NC,PHRASAL_WORDS_MODE:T_,QUOTE_STRING_MODE:V_,REGEXP_MODE:P_,RE_STARTERS_RE:H_,SHEBANG:C_,TITLE_MODE:E_,UNDERSCORE_IDENT_RE:os,UNDERSCORE_TITLE_MODE:R_});function I_(t,a){t.input[t.index-1]==="."&&a.ignoreMatch()}function D_(t,a){t.className!==void 0&&(t.scope=t.className,delete t.className)}function N_(t,a){a&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=I_,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function U_(t,a){Array.isArray(t.illegal)&&(t.illegal=es(...t.illegal))}function G_(t,a){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function q_(t,a){t.relevance===void 0&&(t.relevance=1)}var $_=(t,a)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");let r=Object.assign({},t);Object.keys(t).forEach(e=>{delete t[e]}),t.keywords=r.keywords,t.begin=Xr(r.beforeMatch,FC(r.begin)),t.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},t.relevance=0,delete r.beforeMatch},K_=["of","and","for","in","not","or","if","then","parent","list","value"],Y_="keyword";function qC(t,a,r=Y_){let e=Object.create(null);return typeof t=="string"?i(r,t.split(" ")):Array.isArray(t)?i(r,t):Object.keys(t).forEach(function(o){Object.assign(e,qC(t[o],a,o))}),e;function i(o,l){a&&(l=l.map(n=>n.toLowerCase())),l.forEach(function(n){let h=n.split("|");e[h[0]]=[o,X_(h[0],h[1])]})}}function X_(t,a){return a?Number(a):Q_(t)?0:1}function Q_(t){return K_.includes(t.toLowerCase())}var OC={},Yr=t=>{console.error(t)},AC=(t,...a)=>{console.log(`WARN: ${t}`,...a)},Yi=(t,a)=>{OC[`${t}/${a}`]||(console.log(`Deprecated as of ${t}. ${a}`),OC[`${t}/${a}`]=!0)},l5=new Error;function $C(t,a,{key:r}){let e=0,i=t[r],o={},l={};for(let n=1;n<=a.length;n++)l[n+e]=i[n],o[n+e]=!0,e+=IC(a[n-1]);t[r]=l,t[r]._emit=o,t[r]._multi=!0}function Z_(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Yr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),l5;if(typeof t.beginScope!="object"||t.beginScope===null)throw Yr("beginScope must be object"),l5;$C(t,t.begin,{key:"beginScope"}),t.begin=is(t.begin,{joinWith:""})}}function J_(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Yr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),l5;if(typeof t.endScope!="object"||t.endScope===null)throw Yr("endScope must be object"),l5;$C(t,t.end,{key:"endScope"}),t.end=is(t.end,{joinWith:""})}}function tF(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function aF(t){tF(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Z_(t),J_(t)}function rF(t){function a(l,n){return new RegExp(tn(l),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(n?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(n,h){h.position=this.position++,this.matchIndexes[this.matchAt]=h,this.regexes.push([h,n]),this.matchAt+=IC(n)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let n=this.regexes.map(h=>h[1]);this.matcherRe=a(is(n,{joinWith:"|"}),!0),this.lastIndex=0}exec(n){this.matcherRe.lastIndex=this.lastIndex;let h=this.matcherRe.exec(n);if(!h)return null;let c=h.findIndex((s,p)=>p>0&&s!==void 0),d=this.matchIndexes[c];return h.splice(0,c),Object.assign(h,d)}}class e{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(n){if(this.multiRegexes[n])return this.multiRegexes[n];let h=new r;return this.rules.slice(n).forEach(([c,d])=>h.addRule(c,d)),h.compile(),this.multiRegexes[n]=h,h}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(n,h){this.rules.push([n,h]),h.type==="begin"&&this.count++}exec(n){let h=this.getMatcher(this.regexIndex);h.lastIndex=this.lastIndex;let c=h.exec(n);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){let d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,c=d.exec(n)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(l){let n=new e;return l.contains.forEach(h=>n.addRule(h.begin,{rule:h,type:"begin"})),l.terminatorEnd&&n.addRule(l.terminatorEnd,{type:"end"}),l.illegal&&n.addRule(l.illegal,{type:"illegal"}),n}function o(l,n){let h=l;if(l.isCompiled)return h;[D_,G_,aF,$_].forEach(d=>d(l,n)),t.compilerExtensions.forEach(d=>d(l,n)),l.__beforeBegin=null,[N_,U_,q_].forEach(d=>d(l,n)),l.isCompiled=!0;let c=null;return typeof l.keywords=="object"&&l.keywords.$pattern&&(l.keywords=Object.assign({},l.keywords),c=l.keywords.$pattern,delete l.keywords.$pattern),c=c||/\w+/,l.keywords&&(l.keywords=qC(l.keywords,t.case_insensitive)),h.keywordPatternRe=a(c,!0),n&&(l.begin||(l.begin=/\B|\b/),h.beginRe=a(h.begin),!l.end&&!l.endsWithParent&&(l.end=/\B|\b/),l.end&&(h.endRe=a(h.end)),h.terminatorEnd=tn(h.end)||"",l.endsWithParent&&n.terminatorEnd&&(h.terminatorEnd+=(l.end?"|":"")+n.terminatorEnd)),l.illegal&&(h.illegalRe=a(l.illegal)),l.contains||(l.contains=[]),l.contains=[].concat(...l.contains.map(function(d){return eF(d==="self"?l:d)})),l.contains.forEach(function(d){o(d,h)}),l.starts&&o(l.starts,n),h.matcher=i(h),h}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Za(t.classNameAliases||{}),o(t)}function KC(t){return t?t.endsWithParent||KC(t.starts):!1}function eF(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(a){return Za(t,{variants:null},a)})),t.cachedVariants?t.cachedVariants:KC(t)?Za(t,{starts:t.starts?Za(t.starts):null}):Object.isFrozen(t)?Za(t):t}var iF="11.11.1",rs=class extends Error{constructor(a,r){super(a),this.name="HTMLInjectionError",this.html=r}},Z7=_C,PC=Za,EC=Symbol("nomatch"),oF=7,YC=function(t){let a=Object.create(null),r=Object.create(null),e=[],i=!0,o="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]},n={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:as};function h(y){return n.noHighlightRe.test(y)}function c(y){let F=y.className+" ";F+=y.parentNode?y.parentNode.className:"";let N=n.languageDetectRe.exec(F);if(N){let X=C(N[1]);return X||(AC(o.replace("{}",N[1])),AC("Falling back to no-highlight mode for this block.",y)),X?N[1]:"no-highlight"}return F.split(/\s+/).find(X=>h(X)||C(X))}function d(y,F,N){let X="",b="";typeof F=="object"?(X=y,N=F.ignoreIllegals,b=F.language):(Yi("10.7.0","highlight(lang, code, ...args) has been deprecated."),Yi("10.7.0",`Please use highlight(code, options) instead.
|
|
8
|
+
`+o.stack}return{value:t,source:a,stack:i,digest:null}}function sd(t,a,r){return{value:t,source:null,stack:r??null,digest:a??null}}function $d(t,a){try{console.error(a.value)}catch(r){setTimeout(function(){throw r})}}var sy=typeof WeakMap=="function"?WeakMap:Map;function Lv(t,a,r){r=U0(-1,r),r.tag=3,r.payload={element:null};var e=a.value;return r.callback=function(){p4||(p4=!0,e3=e),$d(t,a)},r}function wv(t,a,r){r=U0(-1,r),r.tag=3;var e=t.type.getDerivedStateFromError;if(typeof e=="function"){var i=a.value;r.payload=function(){return e(i)},r.callback=function(){$d(t,a)}}var o=t.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){$d(t,a),typeof e!="function"&&(ba===null?ba=new Set([this]):ba.add(this));var l=a.stack;this.componentDidCatch(a.value,{componentStack:l!==null?l:""})}),r}function Op(t,a,r){var e=t.pingCache;if(e===null){e=t.pingCache=new sy;var i=new Set;e.set(a,i)}else i=e.get(a),i===void 0&&(i=new Set,e.set(a,i));i.has(r)||(i.add(r),t=Hy.bind(null,t,a,r),a.then(t,t))}function Ap(t){do{var a;if((a=t.tag===13)&&(a=t.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return t;t=t.return}while(t!==null);return null}function Pp(t,a,r,e,i){return(t.mode&1)===0?(t===a?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(a=U0(-1,1),a.tag=2,wa(r,a,1))),r.lanes|=1),t):(t.flags|=65536,t.lanes=i,t)}var py=Y0.ReactCurrentOwner,c2=!1;function Q1(t,a,r,e){a.child=t===null?Zg(a,null,r,e):He(a,t.child,r,e)}function Ep(t,a,r,e,i){r=r.render;var o=a.ref;return ze(a,i),e=A3(t,a,r,e,o,i),r=P3(),t!==null&&!c2?(a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~i,K0(t,a,i)):(qt&&r&&w3(a),a.flags|=1,Q1(t,a,e,i),a.child)}function Rp(t,a,r,e,i){if(t===null){var o=r.type;return typeof o=="function"&&!q3(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(a.tag=15,a.type=o,bv(t,a,o,e,i)):(t=Gn(r.type,null,e,a,a.mode,i),t.ref=a.ref,t.return=a,a.child=t)}if(o=t.child,(t.lanes&i)===0){var l=o.memoizedProps;if(r=r.compare,r=r!==null?r:Io,r(l,e)&&t.ref===a.ref)return K0(t,a,i)}return a.flags|=1,t=Ca(o,e),t.ref=a.ref,t.return=a,a.child=t}function bv(t,a,r,e,i){if(t!==null){var o=t.memoizedProps;if(Io(o,e)&&t.ref===a.ref)if(c2=!1,a.pendingProps=e=o,(t.lanes&i)!==0)(t.flags&131072)!==0&&(c2=!0);else return a.lanes=t.lanes,K0(t,a,i)}return Kd(t,a,r,e,i)}function Hv(t,a,r){var e=a.pendingProps,i=e.children,o=t!==null?t.memoizedState:null;if(e.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},Dt(ue,z2),z2|=r;else{if((r&1073741824)===0)return t=o!==null?o.baseLanes|r:r,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:t,cachePool:null,transitions:null},a.updateQueue=null,Dt(ue,z2),z2|=t,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},e=o!==null?o.baseLanes:r,Dt(ue,z2),z2|=e}else o!==null?(e=o.baseLanes|r,a.memoizedState=null):e=r,Dt(ue,z2),z2|=e;return Q1(t,a,i,r),a.child}function Cv(t,a){var r=a.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(a.flags|=512,a.flags|=2097152)}function Kd(t,a,r,e,i){var o=s2(r)?cr:q1.current;return o=we(a,o),ze(a,i),r=A3(t,a,r,e,o,i),e=P3(),t!==null&&!c2?(a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~i,K0(t,a,i)):(qt&&e&&w3(a),a.flags|=1,Q1(t,a,r,i),a.child)}function _p(t,a,r,e,i){if(s2(r)){var o=!0;r4(a)}else o=!1;if(ze(a,i),a.stateNode===null)Dn(t,a),kv(a,r,e),qd(a,r,e,i),e=!0;else if(t===null){var l=a.stateNode,n=a.memoizedProps;l.props=n;var h=l.context,c=r.contextType;typeof c=="object"&&c!==null?c=P2(c):(c=s2(r)?cr:q1.current,c=we(a,c));var d=r.getDerivedStateFromProps,s=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";s||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(n!==e||h!==c)&&jp(a,l,e,c),va=!1;var p=a.memoizedState;l.state=p,n4(a,e,l,i),h=a.memoizedState,n!==e||p!==h||d2.current||va?(typeof d=="function"&&(Gd(a,r,d,e),h=a.memoizedState),(n=va||Wp(a,r,n,e,p,h,c))?(s||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(a.flags|=4194308)):(typeof l.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=e,a.memoizedState=h),l.props=e,l.state=h,l.context=c,e=n):(typeof l.componentDidMount=="function"&&(a.flags|=4194308),e=!1)}else{l=a.stateNode,tv(t,a),n=a.memoizedProps,c=a.type===a.elementType?n:t0(a.type,n),l.props=c,s=a.pendingProps,p=l.context,h=r.contextType,typeof h=="object"&&h!==null?h=P2(h):(h=s2(r)?cr:q1.current,h=we(a,h));var g=r.getDerivedStateFromProps;(d=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(n!==s||p!==h)&&jp(a,l,e,h),va=!1,p=a.memoizedState,l.state=p,n4(a,e,l,i);var u=a.memoizedState;n!==s||p!==u||d2.current||va?(typeof g=="function"&&(Gd(a,r,g,e),u=a.memoizedState),(c=va||Wp(a,r,c,e,p,u,h)||!1)?(d||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(e,u,h),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(e,u,h)),typeof l.componentDidUpdate=="function"&&(a.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof l.componentDidUpdate!="function"||n===t.memoizedProps&&p===t.memoizedState||(a.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||n===t.memoizedProps&&p===t.memoizedState||(a.flags|=1024),a.memoizedProps=e,a.memoizedState=u),l.props=e,l.state=u,l.context=h,e=c):(typeof l.componentDidUpdate!="function"||n===t.memoizedProps&&p===t.memoizedState||(a.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||n===t.memoizedProps&&p===t.memoizedState||(a.flags|=1024),e=!1)}return Yd(t,a,r,e,o,i)}function Yd(t,a,r,e,i,o){Cv(t,a);var l=(a.flags&128)!==0;if(!e&&!l)return i&&bp(a,r,!1),K0(t,a,o);e=a.stateNode,py.current=a;var n=l&&typeof r.getDerivedStateFromError!="function"?null:e.render();return a.flags|=1,t!==null&&l?(a.child=He(a,t.child,null,o),a.child=He(a,null,n,o)):Q1(t,a,n,o),a.memoizedState=e.state,i&&bp(a,r,!0),a.child}function Bv(t){var a=t.stateNode;a.pendingContext?wp(t,a.pendingContext,a.pendingContext!==a.context):a.context&&wp(t,a.context,!1),S3(t,a.containerInfo)}function Fp(t,a,r,e,i){return be(),H3(i),a.flags|=256,Q1(t,a,r,e),a.child}var Xd={dehydrated:null,treeContext:null,retryLane:0};function Qd(t){return{baseLanes:t,cachePool:null,transitions:null}}function Vv(t,a,r){var e=a.pendingProps,i=Yt.current,o=!1,l=(a.flags&128)!==0,n;if((n=l)||(n=t!==null&&t.memoizedState===null?!1:(i&2)!==0),n?(o=!0,a.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),Dt(Yt,i&1),t===null)return Nd(a),t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((a.mode&1)===0?a.lanes=1:t.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(l=e.children,t=e.fallback,o?(e=a.mode,o=a.child,l={mode:"hidden",children:l},(e&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=l):o=C4(l,e,0,null),t=hr(t,e,r,null),o.return=a,t.return=a,o.sibling=t,a.child=o,a.child.memoizedState=Qd(r),a.memoizedState=Xd,t):_3(a,l));if(i=t.memoizedState,i!==null&&(n=i.dehydrated,n!==null))return gy(t,a,l,e,n,i,r);if(o){o=e.fallback,l=a.mode,i=t.child,n=i.sibling;var h={mode:"hidden",children:e.children};return(l&1)===0&&a.child!==i?(e=a.child,e.childLanes=0,e.pendingProps=h,a.deletions=null):(e=Ca(i,h),e.subtreeFlags=i.subtreeFlags&14680064),n!==null?o=Ca(n,o):(o=hr(o,l,r,null),o.flags|=2),o.return=a,e.return=a,e.sibling=o,a.child=e,e=o,o=a.child,l=t.child.memoizedState,l=l===null?Qd(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=t.childLanes&~r,a.memoizedState=Xd,e}return o=t.child,t=o.sibling,e=Ca(o,{mode:"visible",children:e.children}),(a.mode&1)===0&&(e.lanes=r),e.return=a,e.sibling=null,t!==null&&(r=a.deletions,r===null?(a.deletions=[t],a.flags|=16):r.push(t)),a.child=e,a.memoizedState=null,e}function _3(t,a){return a=C4({mode:"visible",children:a},t.mode,0,null),a.return=t,t.child=a}function jn(t,a,r,e){return e!==null&&H3(e),He(a,t.child,null,r),t=_3(a,a.pendingProps.children),t.flags|=2,a.memoizedState=null,t}function gy(t,a,r,e,i,o,l){if(r)return a.flags&256?(a.flags&=-257,e=sd(Error(G(422))),jn(t,a,l,e)):a.memoizedState!==null?(a.child=t.child,a.flags|=128,null):(o=e.fallback,i=a.mode,e=C4({mode:"visible",children:e.children},i,0,null),o=hr(o,i,l,null),o.flags|=2,e.return=a,o.return=a,e.sibling=o,a.child=e,(a.mode&1)!==0&&He(a,t.child,null,l),a.child.memoizedState=Qd(l),a.memoizedState=Xd,o);if((a.mode&1)===0)return jn(t,a,l,null);if(i.data==="$!"){if(e=i.nextSibling&&i.nextSibling.dataset,e)var n=e.dgst;return e=n,o=Error(G(419)),e=sd(o,e,void 0),jn(t,a,l,e)}if(n=(l&t.childLanes)!==0,c2||n){if(e=C1,e!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(e.suspendedLanes|l))!==0?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,$0(t,i),i0(e,t,i,-1))}return G3(),e=sd(Error(G(421))),jn(t,a,l,e)}return i.data==="$?"?(a.flags|=128,a.child=t.child,a=Cy.bind(null,t),i._reactRetry=a,null):(t=o.treeContext,k2=La(i.nextSibling),L2=a,qt=!0,r0=null,t!==null&&(W2[j2++]=D0,W2[j2++]=N0,W2[j2++]=dr,D0=t.id,N0=t.overflow,dr=a),a=_3(a,e.children),a.flags|=4096,a)}function Ip(t,a,r){t.lanes|=a;var e=t.alternate;e!==null&&(e.lanes|=a),Ud(t.return,a,r)}function pd(t,a,r,e,i){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:e,tail:r,tailMode:i}:(o.isBackwards=a,o.rendering=null,o.renderingStartTime=0,o.last=e,o.tail=r,o.tailMode=i)}function Tv(t,a,r){var e=a.pendingProps,i=e.revealOrder,o=e.tail;if(Q1(t,a,e.children,r),e=Yt.current,(e&2)!==0)e=e&1|2,a.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=a.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ip(t,r,a);else if(t.tag===19)Ip(t,r,a);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===a)break t;for(;t.sibling===null;){if(t.return===null||t.return===a)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}e&=1}if(Dt(Yt,e),(a.mode&1)===0)a.memoizedState=null;else switch(i){case"forwards":for(r=a.child,i=null;r!==null;)t=r.alternate,t!==null&&h4(t)===null&&(i=r),r=r.sibling;r=i,r===null?(i=a.child,a.child=null):(i=r.sibling,r.sibling=null),pd(a,!1,i,r,o);break;case"backwards":for(r=null,i=a.child,a.child=null;i!==null;){if(t=i.alternate,t!==null&&h4(t)===null){a.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}pd(a,!0,r,null,o);break;case"together":pd(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Dn(t,a){(a.mode&1)===0&&t!==null&&(t.alternate=null,a.alternate=null,a.flags|=2)}function K0(t,a,r){if(t!==null&&(a.dependencies=t.dependencies),pr|=a.lanes,(r&a.childLanes)===0)return null;if(t!==null&&a.child!==t.child)throw Error(G(153));if(a.child!==null){for(t=a.child,r=Ca(t,t.pendingProps),a.child=r,r.return=a;t.sibling!==null;)t=t.sibling,r=r.sibling=Ca(t,t.pendingProps),r.return=a;r.sibling=null}return a.child}function vy(t,a,r){switch(a.tag){case 3:Bv(a),be();break;case 5:av(a);break;case 1:s2(a.type)&&r4(a);break;case 4:S3(a,a.stateNode.containerInfo);break;case 10:var e=a.type._context,i=a.memoizedProps.value;Dt(o4,e._currentValue),e._currentValue=i;break;case 13:if(e=a.memoizedState,e!==null)return e.dehydrated!==null?(Dt(Yt,Yt.current&1),a.flags|=128,null):(r&a.child.childLanes)!==0?Vv(t,a,r):(Dt(Yt,Yt.current&1),t=K0(t,a,r),t!==null?t.sibling:null);Dt(Yt,Yt.current&1);break;case 19:if(e=(r&a.childLanes)!==0,(t.flags&128)!==0){if(e)return Tv(t,a,r);a.flags|=128}if(i=a.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Dt(Yt,Yt.current),e)break;return null;case 22:case 23:return a.lanes=0,Hv(t,a,r)}return K0(t,a,r)}var yv,Zd,Sv,Wv;yv=function(t,a){for(var r=a.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===a)break;for(;r.sibling===null;){if(r.return===null||r.return===a)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Zd=function(){};Sv=function(t,a,r,e){var i=t.memoizedProps;if(i!==e){t=a.stateNode,lr(x0.current);var o=null;switch(r){case"input":i=zd(t,i),e=zd(t,e),o=[];break;case"select":i=Qt({},i,{value:void 0}),e=Qt({},e,{value:void 0}),o=[];break;case"textarea":i=wd(t,i),e=wd(t,e),o=[];break;default:typeof i.onClick!="function"&&typeof e.onClick=="function"&&(t.onclick=t4)}Hd(r,e);var l;r=null;for(c in i)if(!e.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var n=i[c];for(l in n)n.hasOwnProperty(l)&&(r||(r={}),r[l]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Oo.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in e){var h=e[c];if(n=i?.[c],e.hasOwnProperty(c)&&h!==n&&(h!=null||n!=null))if(c==="style")if(n){for(l in n)!n.hasOwnProperty(l)||h&&h.hasOwnProperty(l)||(r||(r={}),r[l]="");for(l in h)h.hasOwnProperty(l)&&n[l]!==h[l]&&(r||(r={}),r[l]=h[l])}else r||(o||(o=[]),o.push(c,r)),r=h;else c==="dangerouslySetInnerHTML"?(h=h?h.__html:void 0,n=n?n.__html:void 0,h!=null&&n!==h&&(o=o||[]).push(c,h)):c==="children"?typeof h!="string"&&typeof h!="number"||(o=o||[]).push(c,""+h):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Oo.hasOwnProperty(c)?(h!=null&&c==="onScroll"&&Nt("scroll",t),o||n===h||(o=[])):(o=o||[]).push(c,h))}r&&(o=o||[]).push("style",r);var c=o;(a.updateQueue=c)&&(a.flags|=4)}};Wv=function(t,a,r,e){r!==e&&(a.flags|=4)};function mo(t,a){if(!qt)switch(t.tailMode){case"hidden":a=t.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var e=null;r!==null;)r.alternate!==null&&(e=r),r=r.sibling;e===null?a||t.tail===null?t.tail=null:t.tail.sibling=null:e.sibling=null}}function U1(t){var a=t.alternate!==null&&t.alternate.child===t.child,r=0,e=0;if(a)for(var i=t.child;i!==null;)r|=i.lanes|i.childLanes,e|=i.subtreeFlags&14680064,e|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)r|=i.lanes|i.childLanes,e|=i.subtreeFlags,e|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=e,t.childLanes=r,a}function uy(t,a,r){var e=a.pendingProps;switch(b3(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return U1(a),null;case 1:return s2(a.type)&&a4(),U1(a),null;case 3:return e=a.stateNode,Ce(),Ut(d2),Ut(q1),j3(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(t===null||t.child===null)&&(Sn(a)?a.flags|=4:t===null||t.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,r0!==null&&(l3(r0),r0=null))),Zd(t,a),U1(a),null;case 5:W3(a);var i=lr(qo.current);if(r=a.type,t!==null&&a.stateNode!=null)Sv(t,a,r,e,i),t.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!e){if(a.stateNode===null)throw Error(G(166));return U1(a),null}if(t=lr(x0.current),Sn(a)){e=a.stateNode,r=a.type;var o=a.memoizedProps;switch(e[f0]=a,e[Uo]=o,t=(a.mode&1)!==0,r){case"dialog":Nt("cancel",e),Nt("close",e);break;case"iframe":case"object":case"embed":Nt("load",e);break;case"video":case"audio":for(i=0;i<bo.length;i++)Nt(bo[i],e);break;case"source":Nt("error",e);break;case"img":case"image":case"link":Nt("error",e),Nt("load",e);break;case"details":Nt("toggle",e);break;case"input":Y8(e,o),Nt("invalid",e);break;case"select":e._wrapperState={wasMultiple:!!o.multiple},Nt("invalid",e);break;case"textarea":Q8(e,o),Nt("invalid",e)}Hd(r,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var n=o[l];l==="children"?typeof n=="string"?e.textContent!==n&&(o.suppressHydrationWarning!==!0&&yn(e.textContent,n,t),i=["children",n]):typeof n=="number"&&e.textContent!==""+n&&(o.suppressHydrationWarning!==!0&&yn(e.textContent,n,t),i=["children",""+n]):Oo.hasOwnProperty(l)&&n!=null&&l==="onScroll"&&Nt("scroll",e)}switch(r){case"input":mn(e),X8(e,o,!0);break;case"textarea":mn(e),Z8(e);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(e.onclick=t4)}e=i,a.updateQueue=e,e!==null&&(a.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=lg(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=l.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof e.is=="string"?t=l.createElement(r,{is:e.is}):(t=l.createElement(r),r==="select"&&(l=t,e.multiple?l.multiple=!0:e.size&&(l.size=e.size))):t=l.createElementNS(t,r),t[f0]=a,t[Uo]=e,yv(t,a,!1,!1),a.stateNode=t;t:{switch(l=Cd(r,e),r){case"dialog":Nt("cancel",t),Nt("close",t),i=e;break;case"iframe":case"object":case"embed":Nt("load",t),i=e;break;case"video":case"audio":for(i=0;i<bo.length;i++)Nt(bo[i],t);i=e;break;case"source":Nt("error",t),i=e;break;case"img":case"image":case"link":Nt("error",t),Nt("load",t),i=e;break;case"details":Nt("toggle",t),i=e;break;case"input":Y8(t,e),i=zd(t,e),Nt("invalid",t);break;case"option":i=e;break;case"select":t._wrapperState={wasMultiple:!!e.multiple},i=Qt({},e,{value:void 0}),Nt("invalid",t);break;case"textarea":Q8(t,e),i=wd(t,e),Nt("invalid",t);break;default:i=e}Hd(r,i),n=i;for(o in n)if(n.hasOwnProperty(o)){var h=n[o];o==="style"?cg(t,h):o==="dangerouslySetInnerHTML"?(h=h?h.__html:void 0,h!=null&&ng(t,h)):o==="children"?typeof h=="string"?(r!=="textarea"||h!=="")&&Ao(t,h):typeof h=="number"&&Ao(t,""+h):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Oo.hasOwnProperty(o)?h!=null&&o==="onScroll"&&Nt("scroll",t):h!=null&&c3(t,o,h,l))}switch(r){case"input":mn(t),X8(t,e,!1);break;case"textarea":mn(t),Z8(t);break;case"option":e.value!=null&&t.setAttribute("value",""+Ba(e.value));break;case"select":t.multiple=!!e.multiple,o=e.value,o!=null?Me(t,!!e.multiple,o,!1):e.defaultValue!=null&&Me(t,!!e.multiple,e.defaultValue,!0);break;default:typeof i.onClick=="function"&&(t.onclick=t4)}switch(r){case"button":case"input":case"select":case"textarea":e=!!e.autoFocus;break t;case"img":e=!0;break t;default:e=!1}}e&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return U1(a),null;case 6:if(t&&a.stateNode!=null)Wv(t,a,t.memoizedProps,e);else{if(typeof e!="string"&&a.stateNode===null)throw Error(G(166));if(r=lr(qo.current),lr(x0.current),Sn(a)){if(e=a.stateNode,r=a.memoizedProps,e[f0]=a,(o=e.nodeValue!==r)&&(t=L2,t!==null))switch(t.tag){case 3:yn(e.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&yn(e.nodeValue,r,(t.mode&1)!==0)}o&&(a.flags|=4)}else e=(r.nodeType===9?r:r.ownerDocument).createTextNode(e),e[f0]=a,a.stateNode=e}return U1(a),null;case 13:if(Ut(Yt),e=a.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(qt&&k2!==null&&(a.mode&1)!==0&&(a.flags&128)===0)Xg(),be(),a.flags|=98560,o=!1;else if(o=Sn(a),e!==null&&e.dehydrated!==null){if(t===null){if(!o)throw Error(G(318));if(o=a.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(G(317));o[f0]=a}else be(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;U1(a),o=!1}else r0!==null&&(l3(r0),r0=null),o=!0;if(!o)return a.flags&65536?a:null}return(a.flags&128)!==0?(a.lanes=r,a):(e=e!==null,e!==(t!==null&&t.memoizedState!==null)&&e&&(a.child.flags|=8192,(a.mode&1)!==0&&(t===null||(Yt.current&1)!==0?m1===0&&(m1=3):G3())),a.updateQueue!==null&&(a.flags|=4),U1(a),null);case 4:return Ce(),Zd(t,a),t===null&&Do(a.stateNode.containerInfo),U1(a),null;case 10:return V3(a.type._context),U1(a),null;case 17:return s2(a.type)&&a4(),U1(a),null;case 19:if(Ut(Yt),o=a.memoizedState,o===null)return U1(a),null;if(e=(a.flags&128)!==0,l=o.rendering,l===null)if(e)mo(o,!1);else{if(m1!==0||t!==null&&(t.flags&128)!==0)for(t=a.child;t!==null;){if(l=h4(t),l!==null){for(a.flags|=128,mo(o,!1),e=l.updateQueue,e!==null&&(a.updateQueue=e,a.flags|=4),a.subtreeFlags=0,e=r,r=a.child;r!==null;)o=r,t=e,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=t,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,t=l.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return Dt(Yt,Yt.current&1|2),a.child}t=t.sibling}o.tail!==null&&l1()>Ve&&(a.flags|=128,e=!0,mo(o,!1),a.lanes=4194304)}else{if(!e)if(t=h4(l),t!==null){if(a.flags|=128,e=!0,r=t.updateQueue,r!==null&&(a.updateQueue=r,a.flags|=4),mo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!qt)return U1(a),null}else 2*l1()-o.renderingStartTime>Ve&&r!==1073741824&&(a.flags|=128,e=!0,mo(o,!1),a.lanes=4194304);o.isBackwards?(l.sibling=a.child,a.child=l):(r=o.last,r!==null?r.sibling=l:a.child=l,o.last=l)}return o.tail!==null?(a=o.tail,o.rendering=a,o.tail=a.sibling,o.renderingStartTime=l1(),a.sibling=null,r=Yt.current,Dt(Yt,e?r&1|2:r&1),a):(U1(a),null);case 22:case 23:return U3(),e=a.memoizedState!==null,t!==null&&t.memoizedState!==null!==e&&(a.flags|=8192),e&&(a.mode&1)!==0?(z2&1073741824)!==0&&(U1(a),a.subtreeFlags&6&&(a.flags|=8192)):U1(a),null;case 24:return null;case 25:return null}throw Error(G(156,a.tag))}function My(t,a){switch(b3(a),a.tag){case 1:return s2(a.type)&&a4(),t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 3:return Ce(),Ut(d2),Ut(q1),j3(),t=a.flags,(t&65536)!==0&&(t&128)===0?(a.flags=t&-65537|128,a):null;case 5:return W3(a),null;case 13:if(Ut(Yt),t=a.memoizedState,t!==null&&t.dehydrated!==null){if(a.alternate===null)throw Error(G(340));be()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 19:return Ut(Yt),null;case 4:return Ce(),null;case 10:return V3(a.type._context),null;case 22:case 23:return U3(),null;case 24:return null;default:return null}}var On=!1,G1=!1,fy=typeof WeakSet=="function"?WeakSet:Set,J=null;function ve(t,a){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(e){a1(t,a,e)}else r.current=null}function Jd(t,a,r){try{r()}catch(e){a1(t,a,e)}}var Dp=!1;function my(t,a){if(Pd=Qn,t=Eg(),L3(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else t:{r=(r=t.ownerDocument)&&r.defaultView||window;var e=r.getSelection&&r.getSelection();if(e&&e.rangeCount!==0){r=e.anchorNode;var i=e.anchorOffset,o=e.focusNode;e=e.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break t}var l=0,n=-1,h=-1,c=0,d=0,s=t,p=null;a:for(;;){for(var g;s!==r||i!==0&&s.nodeType!==3||(n=l+i),s!==o||e!==0&&s.nodeType!==3||(h=l+e),s.nodeType===3&&(l+=s.nodeValue.length),(g=s.firstChild)!==null;)p=s,s=g;for(;;){if(s===t)break a;if(p===r&&++c===i&&(n=l),p===o&&++d===e&&(h=l),(g=s.nextSibling)!==null)break;s=p,p=s.parentNode}s=g}r=n===-1||h===-1?null:{start:n,end:h}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ed={focusedElem:t,selectionRange:r},Qn=!1,J=a;J!==null;)if(a=J,t=a.child,(a.subtreeFlags&1028)!==0&&t!==null)t.return=a,J=t;else for(;J!==null;){a=J;try{var u=a.alternate;if((a.flags&1024)!==0)switch(a.tag){case 0:case 11:case 15:break;case 1:if(u!==null){var f=u.memoizedProps,z=u.memoizedState,v=a.stateNode,M=v.getSnapshotBeforeUpdate(a.elementType===a.type?f:t0(a.type,f),z);v.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var m=a.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(G(163))}}catch(L){a1(a,a.return,L)}if(t=a.sibling,t!==null){t.return=a.return,J=t;break}J=a.return}return u=Dp,Dp=!1,u}function So(t,a,r){var e=a.updateQueue;if(e=e!==null?e.lastEffect:null,e!==null){var i=e=e.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&Jd(a,r,o)}i=i.next}while(i!==e)}}function b4(t,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var r=a=a.next;do{if((r.tag&t)===t){var e=r.create;r.destroy=e()}r=r.next}while(r!==a)}}function t3(t){var a=t.ref;if(a!==null){var r=t.stateNode;t.tag,t=r,typeof a=="function"?a(t):a.current=t}}function jv(t){var a=t.alternate;a!==null&&(t.alternate=null,jv(a)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(a=t.stateNode,a!==null&&(delete a[f0],delete a[Uo],delete a[Fd],delete a[ty],delete a[ay])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Ov(t){return t.tag===5||t.tag===3||t.tag===4}function Np(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Ov(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function a3(t,a,r){var e=t.tag;if(e===5||e===6)t=t.stateNode,a?r.nodeType===8?r.parentNode.insertBefore(t,a):r.insertBefore(t,a):(r.nodeType===8?(a=r.parentNode,a.insertBefore(t,r)):(a=r,a.appendChild(t)),r=r._reactRootContainer,r!=null||a.onclick!==null||(a.onclick=t4));else if(e!==4&&(t=t.child,t!==null))for(a3(t,a,r),t=t.sibling;t!==null;)a3(t,a,r),t=t.sibling}function r3(t,a,r){var e=t.tag;if(e===5||e===6)t=t.stateNode,a?r.insertBefore(t,a):r.appendChild(t);else if(e!==4&&(t=t.child,t!==null))for(r3(t,a,r),t=t.sibling;t!==null;)r3(t,a,r),t=t.sibling}var A1=null,a0=!1;function pa(t,a,r){for(r=r.child;r!==null;)Av(t,a,r),r=r.sibling}function Av(t,a,r){if(m0&&typeof m0.onCommitFiberUnmount=="function")try{m0.onCommitFiberUnmount(M4,r)}catch{}switch(r.tag){case 5:G1||ve(r,a);case 6:var e=A1,i=a0;A1=null,pa(t,a,r),A1=e,a0=i,A1!==null&&(a0?(t=A1,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):A1.removeChild(r.stateNode));break;case 18:A1!==null&&(a0?(t=A1,r=r.stateNode,t.nodeType===8?od(t.parentNode,r):t.nodeType===1&&od(t,r),_o(t)):od(A1,r.stateNode));break;case 4:e=A1,i=a0,A1=r.stateNode.containerInfo,a0=!0,pa(t,a,r),A1=e,a0=i;break;case 0:case 11:case 14:case 15:if(!G1&&(e=r.updateQueue,e!==null&&(e=e.lastEffect,e!==null))){i=e=e.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&((o&2)!==0||(o&4)!==0)&&Jd(r,a,l),i=i.next}while(i!==e)}pa(t,a,r);break;case 1:if(!G1&&(ve(r,a),e=r.stateNode,typeof e.componentWillUnmount=="function"))try{e.props=r.memoizedProps,e.state=r.memoizedState,e.componentWillUnmount()}catch(n){a1(r,a,n)}pa(t,a,r);break;case 21:pa(t,a,r);break;case 22:r.mode&1?(G1=(e=G1)||r.memoizedState!==null,pa(t,a,r),G1=e):pa(t,a,r);break;default:pa(t,a,r)}}function Up(t){var a=t.updateQueue;if(a!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new fy),a.forEach(function(e){var i=By.bind(null,t,e);r.has(e)||(r.add(e),e.then(i,i))})}}function J2(t,a){var r=a.deletions;if(r!==null)for(var e=0;e<r.length;e++){var i=r[e];try{var o=t,l=a,n=l;t:for(;n!==null;){switch(n.tag){case 5:A1=n.stateNode,a0=!1;break t;case 3:A1=n.stateNode.containerInfo,a0=!0;break t;case 4:A1=n.stateNode.containerInfo,a0=!0;break t}n=n.return}if(A1===null)throw Error(G(160));Av(o,l,i),A1=null,a0=!1;var h=i.alternate;h!==null&&(h.return=null),i.return=null}catch(c){a1(i,a,c)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)Pv(a,t),a=a.sibling}function Pv(t,a){var r=t.alternate,e=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(J2(a,t),u0(t),e&4){try{So(3,t,t.return),b4(3,t)}catch(f){a1(t,t.return,f)}try{So(5,t,t.return)}catch(f){a1(t,t.return,f)}}break;case 1:J2(a,t),u0(t),e&512&&r!==null&&ve(r,r.return);break;case 5:if(J2(a,t),u0(t),e&512&&r!==null&&ve(r,r.return),t.flags&32){var i=t.stateNode;try{Ao(i,"")}catch(f){a1(t,t.return,f)}}if(e&4&&(i=t.stateNode,i!=null)){var o=t.memoizedProps,l=r!==null?r.memoizedProps:o,n=t.type,h=t.updateQueue;if(t.updateQueue=null,h!==null)try{n==="input"&&o.type==="radio"&&o.name!=null&&ig(i,o),Cd(n,l);var c=Cd(n,o);for(l=0;l<h.length;l+=2){var d=h[l],s=h[l+1];d==="style"?cg(i,s):d==="dangerouslySetInnerHTML"?ng(i,s):d==="children"?Ao(i,s):c3(i,d,s,c)}switch(n){case"input":kd(i,o);break;case"textarea":og(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var g=o.value;g!=null?Me(i,!!o.multiple,g,!1):p!==!!o.multiple&&(o.defaultValue!=null?Me(i,!!o.multiple,o.defaultValue,!0):Me(i,!!o.multiple,o.multiple?[]:"",!1))}i[Uo]=o}catch(f){a1(t,t.return,f)}}break;case 6:if(J2(a,t),u0(t),e&4){if(t.stateNode===null)throw Error(G(162));i=t.stateNode,o=t.memoizedProps;try{i.nodeValue=o}catch(f){a1(t,t.return,f)}}break;case 3:if(J2(a,t),u0(t),e&4&&r!==null&&r.memoizedState.isDehydrated)try{_o(a.containerInfo)}catch(f){a1(t,t.return,f)}break;case 4:J2(a,t),u0(t);break;case 13:J2(a,t),u0(t),i=t.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(D3=l1())),e&4&&Up(t);break;case 22:if(d=r!==null&&r.memoizedState!==null,t.mode&1?(G1=(c=G1)||d,J2(a,t),G1=c):J2(a,t),u0(t),e&8192){if(c=t.memoizedState!==null,(t.stateNode.isHidden=c)&&!d&&(t.mode&1)!==0)for(J=t,d=t.child;d!==null;){for(s=J=d;J!==null;){switch(p=J,g=p.child,p.tag){case 0:case 11:case 14:case 15:So(4,p,p.return);break;case 1:ve(p,p.return);var u=p.stateNode;if(typeof u.componentWillUnmount=="function"){e=p,r=p.return;try{a=e,u.props=a.memoizedProps,u.state=a.memoizedState,u.componentWillUnmount()}catch(f){a1(e,r,f)}}break;case 5:ve(p,p.return);break;case 22:if(p.memoizedState!==null){qp(s);continue}}g!==null?(g.return=p,J=g):qp(s)}d=d.sibling}t:for(d=null,s=t;;){if(s.tag===5){if(d===null){d=s;try{i=s.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(n=s.stateNode,h=s.memoizedProps.style,l=h!=null&&h.hasOwnProperty("display")?h.display:null,n.style.display=hg("display",l))}catch(f){a1(t,t.return,f)}}}else if(s.tag===6){if(d===null)try{s.stateNode.nodeValue=c?"":s.memoizedProps}catch(f){a1(t,t.return,f)}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===t)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break t;for(;s.sibling===null;){if(s.return===null||s.return===t)break t;d===s&&(d=null),s=s.return}d===s&&(d=null),s.sibling.return=s.return,s=s.sibling}}break;case 19:J2(a,t),u0(t),e&4&&Up(t);break;case 21:break;default:J2(a,t),u0(t)}}function u0(t){var a=t.flags;if(a&2){try{t:{for(var r=t.return;r!==null;){if(Ov(r)){var e=r;break t}r=r.return}throw Error(G(160))}switch(e.tag){case 5:var i=e.stateNode;e.flags&32&&(Ao(i,""),e.flags&=-33);var o=Np(t);r3(t,o,i);break;case 3:case 4:var l=e.stateNode.containerInfo,n=Np(t);a3(t,n,l);break;default:throw Error(G(161))}}catch(h){a1(t,t.return,h)}t.flags&=-3}a&4096&&(t.flags&=-4097)}function xy(t,a,r){J=t,Ev(t,a,r)}function Ev(t,a,r){for(var e=(t.mode&1)!==0;J!==null;){var i=J,o=i.child;if(i.tag===22&&e){var l=i.memoizedState!==null||On;if(!l){var n=i.alternate,h=n!==null&&n.memoizedState!==null||G1;n=On;var c=G1;if(On=l,(G1=h)&&!c)for(J=i;J!==null;)l=J,h=l.child,l.tag===22&&l.memoizedState!==null?$p(i):h!==null?(h.return=l,J=h):$p(i);for(;o!==null;)J=o,Ev(o,a,r),o=o.sibling;J=i,On=n,G1=c}Gp(t,a,r)}else(i.subtreeFlags&8772)!==0&&o!==null?(o.return=i,J=o):Gp(t,a,r)}}function Gp(t){for(;J!==null;){var a=J;if((a.flags&8772)!==0){var r=a.alternate;try{if((a.flags&8772)!==0)switch(a.tag){case 0:case 11:case 15:G1||b4(5,a);break;case 1:var e=a.stateNode;if(a.flags&4&&!G1)if(r===null)e.componentDidMount();else{var i=a.elementType===a.type?r.memoizedProps:t0(a.type,r.memoizedProps);e.componentDidUpdate(i,r.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}var o=a.updateQueue;o!==null&&Tp(a,o,e);break;case 3:var l=a.updateQueue;if(l!==null){if(r=null,a.child!==null)switch(a.child.tag){case 5:r=a.child.stateNode;break;case 1:r=a.child.stateNode}Tp(a,l,r)}break;case 5:var n=a.stateNode;if(r===null&&a.flags&4){r=n;var h=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":h.autoFocus&&r.focus();break;case"img":h.src&&(r.src=h.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var c=a.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var s=d.dehydrated;s!==null&&_o(s)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(G(163))}G1||a.flags&512&&t3(a)}catch(p){a1(a,a.return,p)}}if(a===t){J=null;break}if(r=a.sibling,r!==null){r.return=a.return,J=r;break}J=a.return}}function qp(t){for(;J!==null;){var a=J;if(a===t){J=null;break}var r=a.sibling;if(r!==null){r.return=a.return,J=r;break}J=a.return}}function $p(t){for(;J!==null;){var a=J;try{switch(a.tag){case 0:case 11:case 15:var r=a.return;try{b4(4,a)}catch(h){a1(a,r,h)}break;case 1:var e=a.stateNode;if(typeof e.componentDidMount=="function"){var i=a.return;try{e.componentDidMount()}catch(h){a1(a,i,h)}}var o=a.return;try{t3(a)}catch(h){a1(a,o,h)}break;case 5:var l=a.return;try{t3(a)}catch(h){a1(a,l,h)}}}catch(h){a1(a,a.return,h)}if(a===t){J=null;break}var n=a.sibling;if(n!==null){n.return=a.return,J=n;break}J=a.return}}var zy=Math.ceil,s4=Y0.ReactCurrentDispatcher,F3=Y0.ReactCurrentOwner,A2=Y0.ReactCurrentBatchConfig,bt=0,C1=null,s1=null,P1=0,z2=0,ue=ya(0),m1=0,Xo=null,pr=0,H4=0,I3=0,Wo=null,h2=null,D3=0,Ve=1/0,F0=null,p4=!1,e3=null,ba=null,An=!1,ma=null,g4=0,jo=0,i3=null,Nn=-1,Un=0;function Z1(){return(bt&6)!==0?l1():Nn!==-1?Nn:Nn=l1()}function Ha(t){return(t.mode&1)===0?1:(bt&2)!==0&&P1!==0?P1&-P1:ey.transition!==null?(Un===0&&(Un=kg()),Un):(t=St,t!==0||(t=window.event,t=t===void 0?16:Vg(t.type)),t)}function i0(t,a,r,e){if(50<jo)throw jo=0,i3=null,Error(G(185));Qo(t,r,e),((bt&2)===0||t!==C1)&&(t===C1&&((bt&2)===0&&(H4|=r),m1===4&&Ma(t,P1)),p2(t,e),r===1&&bt===0&&(a.mode&1)===0&&(Ve=l1()+500,k4&&Sa()))}function p2(t,a){var r=t.callbackNode;oT(t,a);var e=Xn(t,t===C1?P1:0);if(e===0)r!==null&&ap(r),t.callbackNode=null,t.callbackPriority=0;else if(a=e&-e,t.callbackPriority!==a){if(r!=null&&ap(r),a===1)t.tag===0?ry(Kp.bind(null,t)):$g(Kp.bind(null,t)),ZT(function(){(bt&6)===0&&Sa()}),r=null;else{switch(Lg(e)){case 1:r=v3;break;case 4:r=xg;break;case 16:r=Yn;break;case 536870912:r=zg;break;default:r=Yn}r=Gv(r,Rv.bind(null,t))}t.callbackPriority=a,t.callbackNode=r}}function Rv(t,a){if(Nn=-1,Un=0,(bt&6)!==0)throw Error(G(327));var r=t.callbackNode;if(ke()&&t.callbackNode!==r)return null;var e=Xn(t,t===C1?P1:0);if(e===0)return null;if((e&30)!==0||(e&t.expiredLanes)!==0||a)a=v4(t,e);else{a=e;var i=bt;bt|=2;var o=Fv();(C1!==t||P1!==a)&&(F0=null,Ve=l1()+500,nr(t,a));do try{wy();break}catch(n){_v(t,n)}while(!0);B3(),s4.current=o,bt=i,s1!==null?a=0:(C1=null,P1=0,a=m1)}if(a!==0){if(a===2&&(i=Sd(t),i!==0&&(e=i,a=o3(t,i))),a===1)throw r=Xo,nr(t,0),Ma(t,e),p2(t,l1()),r;if(a===6)Ma(t,e);else{if(i=t.current.alternate,(e&30)===0&&!ky(i)&&(a=v4(t,e),a===2&&(o=Sd(t),o!==0&&(e=o,a=o3(t,o))),a===1))throw r=Xo,nr(t,0),Ma(t,e),p2(t,l1()),r;switch(t.finishedWork=i,t.finishedLanes=e,a){case 0:case 1:throw Error(G(345));case 2:er(t,h2,F0);break;case 3:if(Ma(t,e),(e&130023424)===e&&(a=D3+500-l1(),10<a)){if(Xn(t,0)!==0)break;if(i=t.suspendedLanes,(i&e)!==e){Z1(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=_d(er.bind(null,t,h2,F0),a);break}er(t,h2,F0);break;case 4:if(Ma(t,e),(e&4194240)===e)break;for(a=t.eventTimes,i=-1;0<e;){var l=31-e0(e);o=1<<l,l=a[l],l>i&&(i=l),e&=~o}if(e=i,e=l1()-e,e=(120>e?120:480>e?480:1080>e?1080:1920>e?1920:3e3>e?3e3:4320>e?4320:1960*zy(e/1960))-e,10<e){t.timeoutHandle=_d(er.bind(null,t,h2,F0),e);break}er(t,h2,F0);break;case 5:er(t,h2,F0);break;default:throw Error(G(329))}}}return p2(t,l1()),t.callbackNode===r?Rv.bind(null,t):null}function o3(t,a){var r=Wo;return t.current.memoizedState.isDehydrated&&(nr(t,a).flags|=256),t=v4(t,a),t!==2&&(a=h2,h2=r,a!==null&&l3(a)),t}function l3(t){h2===null?h2=t:h2.push.apply(h2,t)}function ky(t){for(var a=t;;){if(a.flags&16384){var r=a.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var e=0;e<r.length;e++){var i=r[e],o=i.getSnapshot;i=i.value;try{if(!o0(o(),i))return!1}catch{return!1}}}if(r=a.child,a.subtreeFlags&16384&&r!==null)r.return=a,a=r;else{if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ma(t,a){for(a&=~I3,a&=~H4,t.suspendedLanes|=a,t.pingedLanes&=~a,t=t.expirationTimes;0<a;){var r=31-e0(a),e=1<<r;t[r]=-1,a&=~e}}function Kp(t){if((bt&6)!==0)throw Error(G(327));ke();var a=Xn(t,0);if((a&1)===0)return p2(t,l1()),null;var r=v4(t,a);if(t.tag!==0&&r===2){var e=Sd(t);e!==0&&(a=e,r=o3(t,e))}if(r===1)throw r=Xo,nr(t,0),Ma(t,a),p2(t,l1()),r;if(r===6)throw Error(G(345));return t.finishedWork=t.current.alternate,t.finishedLanes=a,er(t,h2,F0),p2(t,l1()),null}function N3(t,a){var r=bt;bt|=1;try{return t(a)}finally{bt=r,bt===0&&(Ve=l1()+500,k4&&Sa())}}function gr(t){ma!==null&&ma.tag===0&&(bt&6)===0&&ke();var a=bt;bt|=1;var r=A2.transition,e=St;try{if(A2.transition=null,St=1,t)return t()}finally{St=e,A2.transition=r,bt=a,(bt&6)===0&&Sa()}}function U3(){z2=ue.current,Ut(ue)}function nr(t,a){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,QT(r)),s1!==null)for(r=s1.return;r!==null;){var e=r;switch(b3(e),e.tag){case 1:e=e.type.childContextTypes,e!=null&&a4();break;case 3:Ce(),Ut(d2),Ut(q1),j3();break;case 5:W3(e);break;case 4:Ce();break;case 13:Ut(Yt);break;case 19:Ut(Yt);break;case 10:V3(e.type._context);break;case 22:case 23:U3()}r=r.return}if(C1=t,s1=t=Ca(t.current,null),P1=z2=a,m1=0,Xo=null,I3=H4=pr=0,h2=Wo=null,or!==null){for(a=0;a<or.length;a++)if(r=or[a],e=r.interleaved,e!==null){r.interleaved=null;var i=e.next,o=r.pending;if(o!==null){var l=o.next;o.next=i,e.next=l}r.pending=e}or=null}return t}function _v(t,a){do{var r=s1;try{if(B3(),Fn.current=d4,c4){for(var e=Xt.memoizedState;e!==null;){var i=e.queue;i!==null&&(i.pending=null),e=e.next}c4=!1}if(sr=0,H1=f1=Xt=null,yo=!1,$o=0,F3.current=null,r===null||r.return===null){m1=1,Xo=a,s1=null;break}t:{var o=t,l=r.return,n=r,h=a;if(a=P1,n.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){var c=h,d=n,s=d.tag;if((d.mode&1)===0&&(s===0||s===11||s===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var g=Ap(l);if(g!==null){g.flags&=-257,Pp(g,l,n,o,a),g.mode&1&&Op(o,c,a),a=g,h=c;var u=a.updateQueue;if(u===null){var f=new Set;f.add(h),a.updateQueue=f}else u.add(h);break t}else{if((a&1)===0){Op(o,c,a),G3();break t}h=Error(G(426))}}else if(qt&&n.mode&1){var z=Ap(l);if(z!==null){(z.flags&65536)===0&&(z.flags|=256),Pp(z,l,n,o,a),H3(Be(h,n));break t}}o=h=Be(h,n),m1!==4&&(m1=2),Wo===null?Wo=[o]:Wo.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,a&=-a,o.lanes|=a;var v=Lv(o,h,a);Vp(o,v);break t;case 1:n=h;var M=o.type,m=o.stateNode;if((o.flags&128)===0&&(typeof M.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(ba===null||!ba.has(m)))){o.flags|=65536,a&=-a,o.lanes|=a;var L=wv(o,n,a);Vp(o,L);break t}}o=o.return}while(o!==null)}Dv(r)}catch(H){a=H,s1===r&&r!==null&&(s1=r=r.return);continue}break}while(!0)}function Fv(){var t=s4.current;return s4.current=d4,t===null?d4:t}function G3(){(m1===0||m1===3||m1===2)&&(m1=4),C1===null||(pr&268435455)===0&&(H4&268435455)===0||Ma(C1,P1)}function v4(t,a){var r=bt;bt|=2;var e=Fv();(C1!==t||P1!==a)&&(F0=null,nr(t,a));do try{Ly();break}catch(i){_v(t,i)}while(!0);if(B3(),bt=r,s4.current=e,s1!==null)throw Error(G(261));return C1=null,P1=0,m1}function Ly(){for(;s1!==null;)Iv(s1)}function wy(){for(;s1!==null&&!XV();)Iv(s1)}function Iv(t){var a=Uv(t.alternate,t,z2);t.memoizedProps=t.pendingProps,a===null?Dv(t):s1=a,F3.current=null}function Dv(t){var a=t;do{var r=a.alternate;if(t=a.return,(a.flags&32768)===0){if(r=uy(r,a,z2),r!==null){s1=r;return}}else{if(r=My(r,a),r!==null){r.flags&=32767,s1=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{m1=6,s1=null;return}}if(a=a.sibling,a!==null){s1=a;return}s1=a=t}while(a!==null);m1===0&&(m1=5)}function er(t,a,r){var e=St,i=A2.transition;try{A2.transition=null,St=1,by(t,a,r,e)}finally{A2.transition=i,St=e}return null}function by(t,a,r,e){do ke();while(ma!==null);if((bt&6)!==0)throw Error(G(327));r=t.finishedWork;var i=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(G(177));t.callbackNode=null,t.callbackPriority=0;var o=r.lanes|r.childLanes;if(lT(t,o),t===C1&&(s1=C1=null,P1=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||An||(An=!0,Gv(Yn,function(){return ke(),null})),o=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||o){o=A2.transition,A2.transition=null;var l=St;St=1;var n=bt;bt|=4,F3.current=null,my(t,r),Pv(r,t),qT(Ed),Qn=!!Pd,Ed=Pd=null,t.current=r,xy(r,t,i),QV(),bt=n,St=l,A2.transition=o}else t.current=r;if(An&&(An=!1,ma=t,g4=i),o=t.pendingLanes,o===0&&(ba=null),tT(r.stateNode,e),p2(t,l1()),a!==null)for(e=t.onRecoverableError,r=0;r<a.length;r++)i=a[r],e(i.value,{componentStack:i.stack,digest:i.digest});if(p4)throw p4=!1,t=e3,e3=null,t;return(g4&1)!==0&&t.tag!==0&&ke(),o=t.pendingLanes,(o&1)!==0?t===i3?jo++:(jo=0,i3=t):jo=0,Sa(),null}function ke(){if(ma!==null){var t=Lg(g4),a=A2.transition,r=St;try{if(A2.transition=null,St=16>t?16:t,ma===null)var e=!1;else{if(t=ma,ma=null,g4=0,(bt&6)!==0)throw Error(G(331));var i=bt;for(bt|=4,J=t.current;J!==null;){var o=J,l=o.child;if((J.flags&16)!==0){var n=o.deletions;if(n!==null){for(var h=0;h<n.length;h++){var c=n[h];for(J=c;J!==null;){var d=J;switch(d.tag){case 0:case 11:case 15:So(8,d,o)}var s=d.child;if(s!==null)s.return=d,J=s;else for(;J!==null;){d=J;var p=d.sibling,g=d.return;if(jv(d),d===c){J=null;break}if(p!==null){p.return=g,J=p;break}J=g}}}var u=o.alternate;if(u!==null){var f=u.child;if(f!==null){u.child=null;do{var z=f.sibling;f.sibling=null,f=z}while(f!==null)}}J=o}}if((o.subtreeFlags&2064)!==0&&l!==null)l.return=o,J=l;else t:for(;J!==null;){if(o=J,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:So(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,J=v;break t}J=o.return}}var M=t.current;for(J=M;J!==null;){l=J;var m=l.child;if((l.subtreeFlags&2064)!==0&&m!==null)m.return=l,J=m;else t:for(l=M;J!==null;){if(n=J,(n.flags&2048)!==0)try{switch(n.tag){case 0:case 11:case 15:b4(9,n)}}catch(H){a1(n,n.return,H)}if(n===l){J=null;break t}var L=n.sibling;if(L!==null){L.return=n.return,J=L;break t}J=n.return}}if(bt=i,Sa(),m0&&typeof m0.onPostCommitFiberRoot=="function")try{m0.onPostCommitFiberRoot(M4,t)}catch{}e=!0}return e}finally{St=r,A2.transition=a}}return!1}function Yp(t,a,r){a=Be(r,a),a=Lv(t,a,1),t=wa(t,a,1),a=Z1(),t!==null&&(Qo(t,1,a),p2(t,a))}function a1(t,a,r){if(t.tag===3)Yp(t,t,r);else for(;a!==null;){if(a.tag===3){Yp(a,t,r);break}else if(a.tag===1){var e=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof e.componentDidCatch=="function"&&(ba===null||!ba.has(e))){t=Be(r,t),t=wv(a,t,1),a=wa(a,t,1),t=Z1(),a!==null&&(Qo(a,1,t),p2(a,t));break}}a=a.return}}function Hy(t,a,r){var e=t.pingCache;e!==null&&e.delete(a),a=Z1(),t.pingedLanes|=t.suspendedLanes&r,C1===t&&(P1&r)===r&&(m1===4||m1===3&&(P1&130023424)===P1&&500>l1()-D3?nr(t,0):I3|=r),p2(t,a)}function Nv(t,a){a===0&&((t.mode&1)===0?a=1:(a=kn,kn<<=1,(kn&130023424)===0&&(kn=4194304)));var r=Z1();t=$0(t,a),t!==null&&(Qo(t,a,r),p2(t,r))}function Cy(t){var a=t.memoizedState,r=0;a!==null&&(r=a.retryLane),Nv(t,r)}function By(t,a){var r=0;switch(t.tag){case 13:var e=t.stateNode,i=t.memoizedState;i!==null&&(r=i.retryLane);break;case 19:e=t.stateNode;break;default:throw Error(G(314))}e!==null&&e.delete(a),Nv(t,r)}var Uv;Uv=function(t,a,r){if(t!==null)if(t.memoizedProps!==a.pendingProps||d2.current)c2=!0;else{if((t.lanes&r)===0&&(a.flags&128)===0)return c2=!1,vy(t,a,r);c2=(t.flags&131072)!==0}else c2=!1,qt&&(a.flags&1048576)!==0&&Kg(a,i4,a.index);switch(a.lanes=0,a.tag){case 2:var e=a.type;Dn(t,a),t=a.pendingProps;var i=we(a,q1.current);ze(a,r),i=A3(null,a,e,t,i,r);var o=P3();return a.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,s2(e)?(o=!0,r4(a)):o=!1,a.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,y3(a),i.updater=w4,a.stateNode=i,i._reactInternals=a,qd(a,e,t,r),a=Yd(null,a,e,!0,o,r)):(a.tag=0,qt&&o&&w3(a),Q1(null,a,i,r),a=a.child),a;case 16:e=a.elementType;t:{switch(Dn(t,a),t=a.pendingProps,i=e._init,e=i(e._payload),a.type=e,i=a.tag=Ty(e),t=t0(e,t),i){case 0:a=Kd(null,a,e,t,r);break t;case 1:a=_p(null,a,e,t,r);break t;case 11:a=Ep(null,a,e,t,r);break t;case 14:a=Rp(null,a,e,t0(e.type,t),r);break t}throw Error(G(306,e,""))}return a;case 0:return e=a.type,i=a.pendingProps,i=a.elementType===e?i:t0(e,i),Kd(t,a,e,i,r);case 1:return e=a.type,i=a.pendingProps,i=a.elementType===e?i:t0(e,i),_p(t,a,e,i,r);case 3:t:{if(Bv(a),t===null)throw Error(G(387));e=a.pendingProps,o=a.memoizedState,i=o.element,tv(t,a),n4(a,e,null,r);var l=a.memoizedState;if(e=l.element,o.isDehydrated)if(o={element:e,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},a.updateQueue.baseState=o,a.memoizedState=o,a.flags&256){i=Be(Error(G(423)),a),a=Fp(t,a,e,r,i);break t}else if(e!==i){i=Be(Error(G(424)),a),a=Fp(t,a,e,r,i);break t}else for(k2=La(a.stateNode.containerInfo.firstChild),L2=a,qt=!0,r0=null,r=Zg(a,null,e,r),a.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(be(),e===i){a=K0(t,a,r);break t}Q1(t,a,e,r)}a=a.child}return a;case 5:return av(a),t===null&&Nd(a),e=a.type,i=a.pendingProps,o=t!==null?t.memoizedProps:null,l=i.children,Rd(e,i)?l=null:o!==null&&Rd(e,o)&&(a.flags|=32),Cv(t,a),Q1(t,a,l,r),a.child;case 6:return t===null&&Nd(a),null;case 13:return Vv(t,a,r);case 4:return S3(a,a.stateNode.containerInfo),e=a.pendingProps,t===null?a.child=He(a,null,e,r):Q1(t,a,e,r),a.child;case 11:return e=a.type,i=a.pendingProps,i=a.elementType===e?i:t0(e,i),Ep(t,a,e,i,r);case 7:return Q1(t,a,a.pendingProps,r),a.child;case 8:return Q1(t,a,a.pendingProps.children,r),a.child;case 12:return Q1(t,a,a.pendingProps.children,r),a.child;case 10:t:{if(e=a.type._context,i=a.pendingProps,o=a.memoizedProps,l=i.value,Dt(o4,e._currentValue),e._currentValue=l,o!==null)if(o0(o.value,l)){if(o.children===i.children&&!d2.current){a=K0(t,a,r);break t}}else for(o=a.child,o!==null&&(o.return=a);o!==null;){var n=o.dependencies;if(n!==null){l=o.child;for(var h=n.firstContext;h!==null;){if(h.context===e){if(o.tag===1){h=U0(-1,r&-r),h.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?h.next=h:(h.next=d.next,d.next=h),c.pending=h}}o.lanes|=r,h=o.alternate,h!==null&&(h.lanes|=r),Ud(o.return,r,a),n.lanes|=r;break}h=h.next}}else if(o.tag===10)l=o.type===a.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(G(341));l.lanes|=r,n=l.alternate,n!==null&&(n.lanes|=r),Ud(l,r,a),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===a){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Q1(t,a,i.children,r),a=a.child}return a;case 9:return i=a.type,e=a.pendingProps.children,ze(a,r),i=P2(i),e=e(i),a.flags|=1,Q1(t,a,e,r),a.child;case 14:return e=a.type,i=t0(e,a.pendingProps),i=t0(e.type,i),Rp(t,a,e,i,r);case 15:return bv(t,a,a.type,a.pendingProps,r);case 17:return e=a.type,i=a.pendingProps,i=a.elementType===e?i:t0(e,i),Dn(t,a),a.tag=1,s2(e)?(t=!0,r4(a)):t=!1,ze(a,r),kv(a,e,i),qd(a,e,i,r),Yd(null,a,e,!0,t,r);case 19:return Tv(t,a,r);case 22:return Hv(t,a,r)}throw Error(G(156,a.tag))};function Gv(t,a){return mg(t,a)}function Vy(t,a,r,e){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=e,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function O2(t,a,r,e){return new Vy(t,a,r,e)}function q3(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Ty(t){if(typeof t=="function")return q3(t)?1:0;if(t!=null){if(t=t.$$typeof,t===s3)return 11;if(t===p3)return 14}return 2}function Ca(t,a){var r=t.alternate;return r===null?(r=O2(t.tag,a,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=a,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,a=t.dependencies,r.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function Gn(t,a,r,e,i,o){var l=2;if(e=t,typeof t=="function")q3(t)&&(l=1);else if(typeof t=="string")l=5;else t:switch(t){case oe:return hr(r.children,i,o,a);case d3:l=8,i|=8;break;case Md:return t=O2(12,r,a,i|2),t.elementType=Md,t.lanes=o,t;case fd:return t=O2(13,r,a,i),t.elementType=fd,t.lanes=o,t;case md:return t=O2(19,r,a,i),t.elementType=md,t.lanes=o,t;case ag:return C4(r,i,o,a);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Jp:l=10;break t;case tg:l=9;break t;case s3:l=11;break t;case p3:l=14;break t;case ga:l=16,e=null;break t}throw Error(G(130,t==null?t:typeof t,""))}return a=O2(l,r,a,i),a.elementType=t,a.type=e,a.lanes=o,a}function hr(t,a,r,e){return t=O2(7,t,e,a),t.lanes=r,t}function C4(t,a,r,e){return t=O2(22,t,e,a),t.elementType=ag,t.lanes=r,t.stateNode={isHidden:!1},t}function gd(t,a,r){return t=O2(6,t,null,a),t.lanes=r,t}function vd(t,a,r){return a=O2(4,t.children!==null?t.children:[],t.key,a),a.lanes=r,a.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},a}function yy(t,a,r,e,i){this.tag=a,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Q5(0),this.expirationTimes=Q5(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Q5(0),this.identifierPrefix=e,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function $3(t,a,r,e,i,o,l,n,h){return t=new yy(t,a,r,n,h),a===1?(a=1,o===!0&&(a|=8)):a=0,o=O2(3,null,null,a),t.current=o,o.stateNode=t,o.memoizedState={element:e,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},y3(o),t}function Sy(t,a,r){var e=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ie,key:e==null?null:""+e,children:t,containerInfo:a,implementation:r}}function qv(t){if(!t)return Va;t=t._reactInternals;t:{if(ur(t)!==t||t.tag!==1)throw Error(G(170));var a=t;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(s2(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(a!==null);throw Error(G(171))}if(t.tag===1){var r=t.type;if(s2(r))return qg(t,r,a)}return a}function $v(t,a,r,e,i,o,l,n,h){return t=$3(r,e,!0,t,i,o,l,n,h),t.context=qv(null),r=t.current,e=Z1(),i=Ha(r),o=U0(e,i),o.callback=a??null,wa(r,o,i),t.current.lanes=i,Qo(t,i,e),p2(t,e),t}function B4(t,a,r,e){var i=a.current,o=Z1(),l=Ha(i);return r=qv(r),a.context===null?a.context=r:a.pendingContext=r,a=U0(o,l),a.payload={element:t},e=e===void 0?null:e,e!==null&&(a.callback=e),t=wa(i,a,l),t!==null&&(i0(t,i,l,o),_n(t,i,l)),l}function u4(t){return t=t.current,t.child?(t.child.tag===5,t.child.stateNode):null}function Xp(t,a){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<a?r:a}}function K3(t,a){Xp(t,a),(t=t.alternate)&&Xp(t,a)}function Wy(){return null}var Kv=typeof reportError=="function"?reportError:function(t){console.error(t)};function Y3(t){this._internalRoot=t}V4.prototype.render=Y3.prototype.render=function(t){var a=this._internalRoot;if(a===null)throw Error(G(409));B4(t,a,null,null)};V4.prototype.unmount=Y3.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var a=t.containerInfo;gr(function(){B4(null,t,null,null)}),a[q0]=null}};function V4(t){this._internalRoot=t}V4.prototype.unstable_scheduleHydration=function(t){if(t){var a=Hg();t={blockedOn:null,target:t,priority:a};for(var r=0;r<ua.length&&a!==0&&a<ua[r].priority;r++);ua.splice(r,0,t),r===0&&Bg(t)}};function X3(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function T4(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function Qp(){}function jy(t,a,r,e,i){if(i){if(typeof e=="function"){var o=e;e=function(){var c=u4(l);o.call(c)}}var l=$v(a,e,t,0,null,!1,!1,"",Qp);return t._reactRootContainer=l,t[q0]=l.current,Do(t.nodeType===8?t.parentNode:t),gr(),l}for(;i=t.lastChild;)t.removeChild(i);if(typeof e=="function"){var n=e;e=function(){var c=u4(h);n.call(c)}}var h=$3(t,0,!1,null,null,!1,!1,"",Qp);return t._reactRootContainer=h,t[q0]=h.current,Do(t.nodeType===8?t.parentNode:t),gr(function(){B4(a,h,r,e)}),h}function y4(t,a,r,e,i){var o=r._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var n=i;i=function(){var h=u4(l);n.call(h)}}B4(a,l,t,i)}else l=jy(r,a,t,i,e);return u4(l)}wg=function(t){switch(t.tag){case 3:var a=t.stateNode;if(a.current.memoizedState.isDehydrated){var r=wo(a.pendingLanes);r!==0&&(u3(a,r|1),p2(a,l1()),(bt&6)===0&&(Ve=l1()+500,Sa()))}break;case 13:gr(function(){var e=$0(t,1);if(e!==null){var i=Z1();i0(e,t,1,i)}}),K3(t,1)}};M3=function(t){if(t.tag===13){var a=$0(t,134217728);if(a!==null){var r=Z1();i0(a,t,134217728,r)}K3(t,134217728)}};bg=function(t){if(t.tag===13){var a=Ha(t),r=$0(t,a);if(r!==null){var e=Z1();i0(r,t,a,e)}K3(t,a)}};Hg=function(){return St};Cg=function(t,a){var r=St;try{return St=t,a()}finally{St=r}};Vd=function(t,a,r){switch(a){case"input":if(kd(t,r),a=r.name,r.type==="radio"&&a!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<r.length;a++){var e=r[a];if(e!==t&&e.form===t.form){var i=z4(e);if(!i)throw Error(G(90));eg(e),kd(e,i)}}}break;case"textarea":og(t,r);break;case"select":a=r.value,a!=null&&Me(t,!!r.multiple,a,!1)}};pg=N3;gg=gr;var Oy={usingClientEntryPoint:!1,Events:[Jo,ce,z4,dg,sg,N3]},xo={findFiberByHostInstance:ir,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ay={bundleType:xo.bundleType,version:xo.version,rendererPackageName:xo.rendererPackageName,rendererConfig:xo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y0.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Mg(t),t===null?null:t.stateNode},findFiberByHostInstance:xo.findFiberByHostInstance||Wy,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(zo=__REACT_DEVTOOLS_GLOBAL_HOOK__,!zo.isDisabled&&zo.supportsFiber))try{M4=zo.inject(Ay),m0=zo}catch{}var zo;H2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Oy;H2.createPortal=function(t,a){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!X3(a))throw Error(G(200));return Sy(t,a,null,r)};H2.createRoot=function(t,a){if(!X3(t))throw Error(G(299));var r=!1,e="",i=Kv;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(e=a.identifierPrefix),a.onRecoverableError!==void 0&&(i=a.onRecoverableError)),a=$3(t,1,!1,null,null,r,!1,e,i),t[q0]=a.current,Do(t.nodeType===8?t.parentNode:t),new Y3(a)};H2.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var a=t._reactInternals;if(a===void 0)throw typeof t.render=="function"?Error(G(188)):(t=Object.keys(t).join(","),Error(G(268,t)));return t=Mg(a),t=t===null?null:t.stateNode,t};H2.flushSync=function(t){return gr(t)};H2.hydrate=function(t,a,r){if(!T4(a))throw Error(G(200));return y4(null,t,a,!0,r)};H2.hydrateRoot=function(t,a,r){if(!X3(t))throw Error(G(405));var e=r!=null&&r.hydratedSources||null,i=!1,o="",l=Kv;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onRecoverableError!==void 0&&(l=r.onRecoverableError)),a=$v(a,null,t,1,r??null,i,!1,o,l),t[q0]=a.current,Do(t),e)for(t=0;t<e.length;t++)r=e[t],i=r._getVersion,i=i(r._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[r,i]:a.mutableSourceEagerHydrationData.push(r,i);return new V4(a)};H2.render=function(t,a,r){if(!T4(a))throw Error(G(200));return y4(null,t,a,!1,r)};H2.unmountComponentAtNode=function(t){if(!T4(t))throw Error(G(40));return t._reactRootContainer?(gr(function(){y4(null,null,t,!1,function(){t._reactRootContainer=null,t[q0]=null})}),!0):!1};H2.unstable_batchedUpdates=N3;H2.unstable_renderSubtreeIntoContainer=function(t,a,r,e){if(!T4(r))throw Error(G(200));if(t==null||t._reactInternals===void 0)throw Error(G(38));return y4(t,a,r,!1,e)};H2.version="18.3.1-next-f1338f8080-20240426"});var S4=b1((WD,Qv)=>{"use strict";function Xv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Xv)}catch(t){console.error(t)}}Xv(),Qv.exports=Yv()});var Jv=b1(Q3=>{"use strict";var Zv=S4();Q3.createRoot=Zv.createRoot,Q3.hydrateRoot=Zv.hydrateRoot;var jD});var au=b1(W4=>{"use strict";var Py=at(),Ey=Symbol.for("react.element"),Ry=Symbol.for("react.fragment"),_y=Object.prototype.hasOwnProperty,Fy=Py.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Iy={key:!0,ref:!0,__self:!0,__source:!0};function tu(t,a,r){var e,i={},o=null,l=null;r!==void 0&&(o=""+r),a.key!==void 0&&(o=""+a.key),a.ref!==void 0&&(l=a.ref);for(e in a)_y.call(a,e)&&!Iy.hasOwnProperty(e)&&(i[e]=a[e]);if(t&&t.defaultProps)for(e in a=t.defaultProps,a)i[e]===void 0&&(i[e]=a[e]);return{$$typeof:Ey,type:t,key:o,ref:l,props:i,_owner:Fy.current}}W4.Fragment=Ry;W4.jsx=tu;W4.jsxs=tu});var K=b1((PD,ru)=>{"use strict";ru.exports=au()});var Bu=b1(Wt=>{"use strict";var B1=typeof Symbol=="function"&&Symbol.for,a9=B1?Symbol.for("react.element"):60103,r9=B1?Symbol.for("react.portal"):60106,I4=B1?Symbol.for("react.fragment"):60107,D4=B1?Symbol.for("react.strict_mode"):60108,N4=B1?Symbol.for("react.profiler"):60114,U4=B1?Symbol.for("react.provider"):60109,G4=B1?Symbol.for("react.context"):60110,e9=B1?Symbol.for("react.async_mode"):60111,q4=B1?Symbol.for("react.concurrent_mode"):60111,$4=B1?Symbol.for("react.forward_ref"):60112,K4=B1?Symbol.for("react.suspense"):60113,tS=B1?Symbol.for("react.suspense_list"):60120,Y4=B1?Symbol.for("react.memo"):60115,X4=B1?Symbol.for("react.lazy"):60116,aS=B1?Symbol.for("react.block"):60121,rS=B1?Symbol.for("react.fundamental"):60117,eS=B1?Symbol.for("react.responder"):60118,iS=B1?Symbol.for("react.scope"):60119;function C2(t){if(typeof t=="object"&&t!==null){var a=t.$$typeof;switch(a){case a9:switch(t=t.type,t){case e9:case q4:case I4:case N4:case D4:case K4:return t;default:switch(t=t&&t.$$typeof,t){case G4:case $4:case X4:case Y4:case U4:return t;default:return a}}case r9:return a}}}function Cu(t){return C2(t)===q4}Wt.AsyncMode=e9;Wt.ConcurrentMode=q4;Wt.ContextConsumer=G4;Wt.ContextProvider=U4;Wt.Element=a9;Wt.ForwardRef=$4;Wt.Fragment=I4;Wt.Lazy=X4;Wt.Memo=Y4;Wt.Portal=r9;Wt.Profiler=N4;Wt.StrictMode=D4;Wt.Suspense=K4;Wt.isAsyncMode=function(t){return Cu(t)||C2(t)===e9};Wt.isConcurrentMode=Cu;Wt.isContextConsumer=function(t){return C2(t)===G4};Wt.isContextProvider=function(t){return C2(t)===U4};Wt.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===a9};Wt.isForwardRef=function(t){return C2(t)===$4};Wt.isFragment=function(t){return C2(t)===I4};Wt.isLazy=function(t){return C2(t)===X4};Wt.isMemo=function(t){return C2(t)===Y4};Wt.isPortal=function(t){return C2(t)===r9};Wt.isProfiler=function(t){return C2(t)===N4};Wt.isStrictMode=function(t){return C2(t)===D4};Wt.isSuspense=function(t){return C2(t)===K4};Wt.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===I4||t===q4||t===N4||t===D4||t===K4||t===tS||typeof t=="object"&&t!==null&&(t.$$typeof===X4||t.$$typeof===Y4||t.$$typeof===U4||t.$$typeof===G4||t.$$typeof===$4||t.$$typeof===rS||t.$$typeof===eS||t.$$typeof===iS||t.$$typeof===aS)};Wt.typeOf=C2});var Tu=b1((hN,Vu)=>{"use strict";Vu.exports=Bu()});var Pu=b1((cN,Au)=>{"use strict";var i9=Tu(),oS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},lS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},nS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ju={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o9={};o9[i9.ForwardRef]=nS;o9[i9.Memo]=ju;function yu(t){return i9.isMemo(t)?ju:o9[t.$$typeof]||oS}var hS=Object.defineProperty,cS=Object.getOwnPropertyNames,Su=Object.getOwnPropertySymbols,dS=Object.getOwnPropertyDescriptor,sS=Object.getPrototypeOf,Wu=Object.prototype;function Ou(t,a,r){if(typeof a!="string"){if(Wu){var e=sS(a);e&&e!==Wu&&Ou(t,e,r)}var i=cS(a);Su&&(i=i.concat(Su(a)));for(var o=yu(t),l=yu(a),n=0;n<i.length;++n){var h=i[n];if(!lS[h]&&!(r&&r[h])&&!(l&&l[h])&&!(o&&o[h])){var c=dS(a,h);try{hS(t,h,c)}catch{}}}}return t}Au.exports=Ou});var Sw=b1((z3t,yw)=>{"use strict";var Cw=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,xA=/\n/g,zA=/^\s*/,kA=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,LA=/^:\s*/,wA=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,bA=/^[;\s]*/,HA=/^\s+|\s+$/g,CA=`
|
|
9
|
+
`,Bw="/",Vw="*",_r="",BA="comment",VA="declaration";function TA(t,a){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];a=a||{};var r=1,e=1;function i(u){var f=u.match(xA);f&&(r+=f.length);var z=u.lastIndexOf(CA);e=~z?u.length-z:e+u.length}function o(){var u={line:r,column:e};return function(f){return f.position=new l(u),c(),f}}function l(u){this.start=u,this.end={line:r,column:e},this.source=a.source}l.prototype.content=t;function n(u){var f=new Error(a.source+":"+r+":"+e+": "+u);if(f.reason=u,f.filename=a.source,f.line=r,f.column=e,f.source=t,!a.silent)throw f}function h(u){var f=u.exec(t);if(f){var z=f[0];return i(z),t=t.slice(z.length),f}}function c(){h(zA)}function d(u){var f;for(u=u||[];f=s();)f!==!1&&u.push(f);return u}function s(){var u=o();if(!(Bw!=t.charAt(0)||Vw!=t.charAt(1))){for(var f=2;_r!=t.charAt(f)&&(Vw!=t.charAt(f)||Bw!=t.charAt(f+1));)++f;if(f+=2,_r===t.charAt(f-1))return n("End of comment missing");var z=t.slice(2,f-2);return e+=2,i(z),t=t.slice(f),e+=2,u({type:BA,comment:z})}}function p(){var u=o(),f=h(kA);if(f){if(s(),!h(LA))return n("property missing ':'");var z=h(wA),v=u({type:VA,property:Tw(f[0].replace(Cw,_r)),value:z?Tw(z[0].replace(Cw,_r)):_r});return h(bA),v}}function g(){var u=[];d(u);for(var f;f=p();)f!==!1&&(u.push(f),d(u));return u}return c(),g()}function Tw(t){return t?t.replace(HA,_r):_r}yw.exports=TA});var Ww=b1(Il=>{"use strict";var yA=Il&&Il.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Il,"__esModule",{value:!0});Il.default=WA;var SA=yA(Sw());function WA(t,a){let r=null;if(!t||typeof t!="string")return r;let e=(0,SA.default)(t),i=typeof a=="function";return e.forEach(o=>{if(o.type!=="declaration")return;let{property:l,value:n}=o;i?a(l,n,o):n&&(r=r||{},r[l]=n)}),r}});var Ow=b1(wc=>{"use strict";Object.defineProperty(wc,"__esModule",{value:!0});wc.camelCase=void 0;var jA=/^--[a-zA-Z0-9_-]+$/,OA=/-([a-z])/g,AA=/^[^-]+$/,PA=/^-(webkit|moz|ms|o|khtml)-/,EA=/^-(ms)-/,RA=function(t){return!t||AA.test(t)||jA.test(t)},_A=function(t,a){return a.toUpperCase()},jw=function(t,a){return"".concat(a,"-")},FA=function(t,a){return a===void 0&&(a={}),RA(t)?t:(t=t.toLowerCase(),a.reactCompat?t=t.replace(EA,jw):t=t.replace(PA,jw),t.replace(OA,_A))};wc.camelCase=FA});var Pw=b1((l7,Aw)=>{"use strict";var IA=l7&&l7.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},DA=IA(Ww()),NA=Ow();function o7(t,a){var r={};return!t||typeof t!="string"||(0,DA.default)(t,function(e,i){e&&i&&(r[(0,NA.camelCase)(e,a)]=i)}),r}o7.default=o7;Aw.exports=o7});var nH=b1((X8t,lH)=>{"use strict";var $c=Object.prototype.hasOwnProperty,oH=Object.prototype.toString,Jb=Object.defineProperty,tH=Object.getOwnPropertyDescriptor,aH=function(a){return typeof Array.isArray=="function"?Array.isArray(a):oH.call(a)==="[object Array]"},rH=function(a){if(!a||oH.call(a)!=="[object Object]")return!1;var r=$c.call(a,"constructor"),e=a.constructor&&a.constructor.prototype&&$c.call(a.constructor.prototype,"isPrototypeOf");if(a.constructor&&!r&&!e)return!1;var i;for(i in a);return typeof i>"u"||$c.call(a,i)},eH=function(a,r){Jb&&r.name==="__proto__"?Jb(a,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):a[r.name]=r.newValue},iH=function(a,r){if(r==="__proto__")if($c.call(a,r)){if(tH)return tH(a,r).value}else return;return a[r]};lH.exports=function t(){var a,r,e,i,o,l,n=arguments[0],h=1,c=arguments.length,d=!1;for(typeof n=="boolean"&&(d=n,n=arguments[1]||{},h=2),(n==null||typeof n!="object"&&typeof n!="function")&&(n={});h<c;++h)if(a=arguments[h],a!=null)for(r in a)e=iH(n,r),i=iH(a,r),n!==i&&(d&&i&&(rH(i)||(o=aH(i)))?(o?(o=!1,l=e&&aH(e)?e:[]):l=e&&rH(e)?e:{},eH(n,{name:r,newValue:t(d,l,i)})):typeof i<"u"&&eH(n,{name:r,newValue:i}));return n}});var QC=b1((uvt,XC)=>{"use strict";function RC(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(a=>{let r=t[a],e=typeof r;(e==="object"||e==="function")&&!Object.isFrozen(r)&&RC(r)}),t}var o5=class{constructor(a){a.data===void 0&&(a.data={}),this.data=a.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function _C(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Za(t,...a){let r=Object.create(null);for(let e in t)r[e]=t[e];return a.forEach(function(e){for(let i in e)r[i]=e[i]}),r}var f_="</span>",WC=t=>!!t.scope,m_=(t,{prefix:a})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){let r=t.split(".");return[`${a}${r.shift()}`,...r.map((e,i)=>`${e}${"_".repeat(i+1)}`)].join(" ")}return`${a}${t}`},J7=class{constructor(a,r){this.buffer="",this.classPrefix=r.classPrefix,a.walk(this)}addText(a){this.buffer+=_C(a)}openNode(a){if(!WC(a))return;let r=m_(a.scope,{prefix:this.classPrefix});this.span(r)}closeNode(a){WC(a)&&(this.buffer+=f_)}value(){return this.buffer}span(a){this.buffer+=`<span class="${a}">`}},jC=(t={})=>{let a={children:[]};return Object.assign(a,t),a},ts=class t{constructor(){this.rootNode=jC(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(a){this.top.children.push(a)}openNode(a){let r=jC({scope:a});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(a){return this.constructor._walk(a,this.rootNode)}static _walk(a,r){return typeof r=="string"?a.addText(r):r.children&&(a.openNode(r),r.children.forEach(e=>this._walk(a,e)),a.closeNode(r)),a}static _collapse(a){typeof a!="string"&&a.children&&(a.children.every(r=>typeof r=="string")?a.children=[a.children.join("")]:a.children.forEach(r=>{t._collapse(r)}))}},as=class extends ts{constructor(a){super(),this.options=a}addText(a){a!==""&&this.add(a)}startScope(a){this.openNode(a)}endScope(){this.closeNode()}__addSublanguage(a,r){let e=a.root;r&&(e.scope=`language:${r}`),this.add(e)}toHTML(){return new J7(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function tn(t){return t?typeof t=="string"?t:t.source:null}function FC(t){return Xr("(?=",t,")")}function x_(t){return Xr("(?:",t,")*")}function z_(t){return Xr("(?:",t,")?")}function Xr(...t){return t.map(r=>tn(r)).join("")}function k_(t){let a=t[t.length-1];return typeof a=="object"&&a.constructor===Object?(t.splice(t.length-1,1),a):{}}function es(...t){return"("+(k_(t).capture?"":"?:")+t.map(e=>tn(e)).join("|")+")"}function IC(t){return new RegExp(t.toString()+"|").exec("").length-1}function L_(t,a){let r=t&&t.exec(a);return r&&r.index===0}var w_=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function is(t,{joinWith:a}){let r=0;return t.map(e=>{r+=1;let i=r,o=tn(e),l="";for(;o.length>0;){let n=w_.exec(o);if(!n){l+=o;break}l+=o.substring(0,n.index),o=o.substring(n.index+n[0].length),n[0][0]==="\\"&&n[1]?l+="\\"+String(Number(n[1])+i):(l+=n[0],n[0]==="("&&r++)}return l}).map(e=>`(${e})`).join(a)}var b_=/\b\B/,DC="[a-zA-Z]\\w*",os="[a-zA-Z_]\\w*",NC="\\b\\d+(\\.\\d+)?",UC="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",GC="\\b(0b[01]+)",H_="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",C_=(t={})=>{let a=/^#![ ]*\//;return t.binary&&(t.begin=Xr(a,/.*\b/,t.binary,/\b.*/)),Za({scope:"meta",begin:a,end:/$/,relevance:0,"on:begin":(r,e)=>{r.index!==0&&e.ignoreMatch()}},t)},an={begin:"\\\\[\\s\\S]",relevance:0},B_={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[an]},V_={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[an]},T_={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},n5=function(t,a,r={}){let e=Za({scope:"comment",begin:t,end:a,contains:[]},r);e.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=es("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return e.contains.push({begin:Xr(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),e},y_=n5("//","$"),S_=n5("/\\*","\\*/"),W_=n5("#","$"),j_={scope:"number",begin:NC,relevance:0},O_={scope:"number",begin:UC,relevance:0},A_={scope:"number",begin:GC,relevance:0},P_={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[an,{begin:/\[/,end:/\]/,relevance:0,contains:[an]}]},E_={scope:"title",begin:DC,relevance:0},R_={scope:"title",begin:os,relevance:0},__={begin:"\\.\\s*"+os,relevance:0},F_=function(t){return Object.assign(t,{"on:begin":(a,r)=>{r.data._beginMatch=a[1]},"on:end":(a,r)=>{r.data._beginMatch!==a[1]&&r.ignoreMatch()}})},i5=Object.freeze({__proto__:null,APOS_STRING_MODE:B_,BACKSLASH_ESCAPE:an,BINARY_NUMBER_MODE:A_,BINARY_NUMBER_RE:GC,COMMENT:n5,C_BLOCK_COMMENT_MODE:S_,C_LINE_COMMENT_MODE:y_,C_NUMBER_MODE:O_,C_NUMBER_RE:UC,END_SAME_AS_BEGIN:F_,HASH_COMMENT_MODE:W_,IDENT_RE:DC,MATCH_NOTHING_RE:b_,METHOD_GUARD:__,NUMBER_MODE:j_,NUMBER_RE:NC,PHRASAL_WORDS_MODE:T_,QUOTE_STRING_MODE:V_,REGEXP_MODE:P_,RE_STARTERS_RE:H_,SHEBANG:C_,TITLE_MODE:E_,UNDERSCORE_IDENT_RE:os,UNDERSCORE_TITLE_MODE:R_});function I_(t,a){t.input[t.index-1]==="."&&a.ignoreMatch()}function D_(t,a){t.className!==void 0&&(t.scope=t.className,delete t.className)}function N_(t,a){a&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=I_,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function U_(t,a){Array.isArray(t.illegal)&&(t.illegal=es(...t.illegal))}function G_(t,a){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function q_(t,a){t.relevance===void 0&&(t.relevance=1)}var $_=(t,a)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");let r=Object.assign({},t);Object.keys(t).forEach(e=>{delete t[e]}),t.keywords=r.keywords,t.begin=Xr(r.beforeMatch,FC(r.begin)),t.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},t.relevance=0,delete r.beforeMatch},K_=["of","and","for","in","not","or","if","then","parent","list","value"],Y_="keyword";function qC(t,a,r=Y_){let e=Object.create(null);return typeof t=="string"?i(r,t.split(" ")):Array.isArray(t)?i(r,t):Object.keys(t).forEach(function(o){Object.assign(e,qC(t[o],a,o))}),e;function i(o,l){a&&(l=l.map(n=>n.toLowerCase())),l.forEach(function(n){let h=n.split("|");e[h[0]]=[o,X_(h[0],h[1])]})}}function X_(t,a){return a?Number(a):Q_(t)?0:1}function Q_(t){return K_.includes(t.toLowerCase())}var OC={},Yr=t=>{console.error(t)},AC=(t,...a)=>{console.log(`WARN: ${t}`,...a)},Yi=(t,a)=>{OC[`${t}/${a}`]||(console.log(`Deprecated as of ${t}. ${a}`),OC[`${t}/${a}`]=!0)},l5=new Error;function $C(t,a,{key:r}){let e=0,i=t[r],o={},l={};for(let n=1;n<=a.length;n++)l[n+e]=i[n],o[n+e]=!0,e+=IC(a[n-1]);t[r]=l,t[r]._emit=o,t[r]._multi=!0}function Z_(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Yr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),l5;if(typeof t.beginScope!="object"||t.beginScope===null)throw Yr("beginScope must be object"),l5;$C(t,t.begin,{key:"beginScope"}),t.begin=is(t.begin,{joinWith:""})}}function J_(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Yr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),l5;if(typeof t.endScope!="object"||t.endScope===null)throw Yr("endScope must be object"),l5;$C(t,t.end,{key:"endScope"}),t.end=is(t.end,{joinWith:""})}}function tF(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function aF(t){tF(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Z_(t),J_(t)}function rF(t){function a(l,n){return new RegExp(tn(l),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(n?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(n,h){h.position=this.position++,this.matchIndexes[this.matchAt]=h,this.regexes.push([h,n]),this.matchAt+=IC(n)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let n=this.regexes.map(h=>h[1]);this.matcherRe=a(is(n,{joinWith:"|"}),!0),this.lastIndex=0}exec(n){this.matcherRe.lastIndex=this.lastIndex;let h=this.matcherRe.exec(n);if(!h)return null;let c=h.findIndex((s,p)=>p>0&&s!==void 0),d=this.matchIndexes[c];return h.splice(0,c),Object.assign(h,d)}}class e{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(n){if(this.multiRegexes[n])return this.multiRegexes[n];let h=new r;return this.rules.slice(n).forEach(([c,d])=>h.addRule(c,d)),h.compile(),this.multiRegexes[n]=h,h}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(n,h){this.rules.push([n,h]),h.type==="begin"&&this.count++}exec(n){let h=this.getMatcher(this.regexIndex);h.lastIndex=this.lastIndex;let c=h.exec(n);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){let d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,c=d.exec(n)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(l){let n=new e;return l.contains.forEach(h=>n.addRule(h.begin,{rule:h,type:"begin"})),l.terminatorEnd&&n.addRule(l.terminatorEnd,{type:"end"}),l.illegal&&n.addRule(l.illegal,{type:"illegal"}),n}function o(l,n){let h=l;if(l.isCompiled)return h;[D_,G_,aF,$_].forEach(d=>d(l,n)),t.compilerExtensions.forEach(d=>d(l,n)),l.__beforeBegin=null,[N_,U_,q_].forEach(d=>d(l,n)),l.isCompiled=!0;let c=null;return typeof l.keywords=="object"&&l.keywords.$pattern&&(l.keywords=Object.assign({},l.keywords),c=l.keywords.$pattern,delete l.keywords.$pattern),c=c||/\w+/,l.keywords&&(l.keywords=qC(l.keywords,t.case_insensitive)),h.keywordPatternRe=a(c,!0),n&&(l.begin||(l.begin=/\B|\b/),h.beginRe=a(h.begin),!l.end&&!l.endsWithParent&&(l.end=/\B|\b/),l.end&&(h.endRe=a(h.end)),h.terminatorEnd=tn(h.end)||"",l.endsWithParent&&n.terminatorEnd&&(h.terminatorEnd+=(l.end?"|":"")+n.terminatorEnd)),l.illegal&&(h.illegalRe=a(l.illegal)),l.contains||(l.contains=[]),l.contains=[].concat(...l.contains.map(function(d){return eF(d==="self"?l:d)})),l.contains.forEach(function(d){o(d,h)}),l.starts&&o(l.starts,n),h.matcher=i(h),h}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Za(t.classNameAliases||{}),o(t)}function KC(t){return t?t.endsWithParent||KC(t.starts):!1}function eF(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(a){return Za(t,{variants:null},a)})),t.cachedVariants?t.cachedVariants:KC(t)?Za(t,{starts:t.starts?Za(t.starts):null}):Object.isFrozen(t)?Za(t):t}var iF="11.11.1",rs=class extends Error{constructor(a,r){super(a),this.name="HTMLInjectionError",this.html=r}},Z7=_C,PC=Za,EC=Symbol("nomatch"),oF=7,YC=function(t){let a=Object.create(null),r=Object.create(null),e=[],i=!0,o="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]},n={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:as};function h(y){return n.noHighlightRe.test(y)}function c(y){let F=y.className+" ";F+=y.parentNode?y.parentNode.className:"";let N=n.languageDetectRe.exec(F);if(N){let X=C(N[1]);return X||(AC(o.replace("{}",N[1])),AC("Falling back to no-highlight mode for this block.",y)),X?N[1]:"no-highlight"}return F.split(/\s+/).find(X=>h(X)||C(X))}function d(y,F,N){let X="",b="";typeof F=="object"?(X=y,N=F.ignoreIllegals,b=F.language):(Yi("10.7.0","highlight(lang, code, ...args) has been deprecated."),Yi("10.7.0",`Please use highlight(code, options) instead.
|
|
10
10
|
https://github.com/highlightjs/highlight.js/issues/2277`),b=y,X=F),N===void 0&&(N=!0);let st={code:X,language:b};A("before:highlight",st);let vt=st.result?st.result:s(st.language,st.code,N);return vt.code=st.code,A("after:highlight",vt),vt}function s(y,F,N,X){let b=Object.create(null);function st(T,O){return T.keywords[O]}function vt(){if(!nt.keywords){t1.addText(Vt);return}let T=0;nt.keywordPatternRe.lastIndex=0;let O=nt.keywordPatternRe.exec(Vt),$="";for(;O;){$+=Vt.substring(T,O.index);let tt=Ft.case_insensitive?O[0].toLowerCase():O[0],gt=st(nt,tt);if(gt){let[o1,R0]=gt;if(t1.addText($),$="",b[tt]=(b[tt]||0)+1,b[tt]<=oF&&(E0+=R0),o1.startsWith("_"))$+=O[0];else{let Q2=Ft.classNameAliases[o1]||o1;pt(O[0],Q2)}}else $+=O[0];T=nt.keywordPatternRe.lastIndex,O=nt.keywordPatternRe.exec(Vt)}$+=Vt.substring(T),t1.addText($)}function w(){if(Vt==="")return;let T=null;if(typeof nt.subLanguage=="string"){if(!a[nt.subLanguage]){t1.addText(Vt);return}T=s(nt.subLanguage,Vt,!0,g0[nt.subLanguage]),g0[nt.subLanguage]=T._top}else T=g(Vt,nt.subLanguage.length?nt.subLanguage:null);nt.relevance>0&&(E0+=T.relevance),t1.__addSublanguage(T._emitter,T.language)}function it(){nt.subLanguage!=null?w():vt(),Vt=""}function pt(T,O){T!==""&&(t1.startScope(O),t1.addText(T),t1.endScope())}function Kt(T,O){let $=1,tt=O.length-1;for(;$<=tt;){if(!T._emit[$]){$++;continue}let gt=Ft.classNameAliases[T[$]]||T[$],o1=O[$];gt?pt(o1,gt):(Vt=o1,vt(),Vt=""),$++}}function w1(T,O){return T.scope&&typeof T.scope=="string"&&t1.openNode(Ft.classNameAliases[T.scope]||T.scope),T.beginScope&&(T.beginScope._wrap?(pt(Vt,Ft.classNameAliases[T.beginScope._wrap]||T.beginScope._wrap),Vt=""):T.beginScope._multi&&(Kt(T.beginScope,O),Vt="")),nt=Object.create(T,{parent:{value:nt}}),nt}function _(T,O,$){let tt=L_(T.endRe,$);if(tt){if(T["on:end"]){let gt=new o5(T);T["on:end"](O,gt),gt.isMatchIgnored&&(tt=!1)}if(tt){for(;T.endsParent&&T.parent;)T=T.parent;return T}}if(T.endsWithParent)return _(T.parent,O,$)}function D(T){return nt.matcher.regexIndex===0?(Vt+=T[0],1):(oo=!0,0)}function lt(T){let O=T[0],$=T.rule,tt=new o5($),gt=[$.__beforeBegin,$["on:begin"]];for(let o1 of gt)if(o1&&(o1(T,tt),tt.isMatchIgnored))return D(O);return $.skip?Vt+=O:($.excludeBegin&&(Vt+=O),it(),!$.returnBegin&&!$.excludeBegin&&(Vt=O)),w1($,T),$.returnBegin?0:O.length}function dt(T){let O=T[0],$=F.substring(T.index),tt=_(nt,T,$);if(!tt)return EC;let gt=nt;nt.endScope&&nt.endScope._wrap?(it(),pt(O,nt.endScope._wrap)):nt.endScope&&nt.endScope._multi?(it(),Kt(nt.endScope,T)):gt.skip?Vt+=O:(gt.returnEnd||gt.excludeEnd||(Vt+=O),it(),gt.excludeEnd&&(Vt=O));do nt.scope&&t1.closeNode(),!nt.skip&&!nt.subLanguage&&(E0+=nt.relevance),nt=nt.parent;while(nt!==tt.parent);return tt.starts&&w1(tt.starts,T),gt.returnEnd?0:O.length}function xt(){let T=[];for(let O=nt;O!==Ft;O=O.parent)O.scope&&T.unshift(O.scope);T.forEach(O=>t1.openNode(O))}let yt={};function M1(T,O){let $=O&&O[0];if(Vt+=T,$==null)return it(),0;if(yt.type==="begin"&&O.type==="end"&&yt.index===O.index&&$===""){if(Vt+=F.slice(O.index,O.index+1),!i){let tt=new Error(`0 width match regex (${y})`);throw tt.languageName=y,tt.badRule=yt.rule,tt}return 1}if(yt=O,O.type==="begin")return lt(O);if(O.type==="illegal"&&!N){let tt=new Error('Illegal lexeme "'+$+'" for mode "'+(nt.scope||"<unnamed>")+'"');throw tt.mode=nt,tt}else if(O.type==="end"){let tt=dt(O);if(tt!==EC)return tt}if(O.type==="illegal"&&$==="")return Vt+=`
|
|
11
|
-
`,1;if(io>1e5&&io>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Vt+=$,$.length}let Ft=C(y);if(!Ft)throw Yr(o.replace("{}",y)),new Error('Unknown language: "'+y+'"');let zt=rF(Ft),f2="",nt=X||zt,g0={},t1=new n.__emitter(n);xt();let Vt="",E0=0,m2=0,io=0,oo=!1;try{if(Ft.__emitTokens)Ft.__emitTokens(F,t1);else{for(nt.matcher.considerAll();;){io++,oo?oo=!1:nt.matcher.considerAll(),nt.matcher.lastIndex=m2;let T=nt.matcher.exec(F);if(!T)break;let O=F.substring(m2,T.index),$=M1(O,T);m2=T.index+$}M1(F.substring(m2))}return t1.finalize(),f2=t1.toHTML(),{language:y,value:f2,relevance:E0,illegal:!1,_emitter:t1,_top:nt}}catch(T){if(T.message&&T.message.includes("Illegal"))return{language:y,value:Z7(F),illegal:!0,relevance:0,_illegalBy:{message:T.message,index:m2,context:F.slice(m2-100,m2+100),mode:T.mode,resultSoFar:f2},_emitter:t1};if(i)return{language:y,value:Z7(F),illegal:!1,relevance:0,errorRaised:T,_emitter:t1,_top:nt};throw T}}function p(y){let F={value:Z7(y),illegal:!1,relevance:0,_top:l,_emitter:new n.__emitter(n)};return F._emitter.addText(y),F}function g(y,F){F=F||n.languages||Object.keys(a);let N=p(y),X=F.filter(C).filter(k).map(it=>s(it,y,!1));X.unshift(N);let b=X.sort((it,pt)=>{if(it.relevance!==pt.relevance)return pt.relevance-it.relevance;if(it.language&&pt.language){if(C(it.language).supersetOf===pt.language)return 1;if(C(pt.language).supersetOf===it.language)return-1}return 0}),[st,vt]=b,w=st;return w.secondBest=vt,w}function u(y,F,N){let X=F&&r[F]||N;y.classList.add("hljs"),y.classList.add(`language-${X}`)}function f(y){let F=null,N=c(y);if(h(N))return;if(A("before:highlightElement",{el:y,language:N}),y.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",y);return}if(y.children.length>0&&(n.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(y)),n.throwUnescapedHTML))throw new rs("One of your code blocks includes unescaped HTML.",y.innerHTML);F=y;let X=F.textContent,b=N?d(X,{language:N,ignoreIllegals:!0}):g(X);y.innerHTML=b.value,y.dataset.highlighted="yes",u(y,N,b.language),y.result={language:b.language,re:b.relevance,relevance:b.relevance},b.secondBest&&(y.secondBest={language:b.secondBest.language,relevance:b.secondBest.relevance}),A("after:highlightElement",{el:y,result:b,text:X})}function z(y){n=PC(n,y)}let v=()=>{L(),Yi("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function M(){L(),Yi("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let m=!1;function L(){function y(){L()}if(document.readyState==="loading"){m||window.addEventListener("DOMContentLoaded",y,!1),m=!0;return}document.querySelectorAll(n.cssSelector).forEach(f)}function H(y,F){let N=null;try{N=F(t)}catch(X){if(Yr("Language definition for '{}' could not be registered.".replace("{}",y)),i)Yr(X);else throw X;N=l}N.name||(N.name=y),a[y]=N,N.rawDefinition=F.bind(null,t),N.aliases&&S(N.aliases,{languageName:y})}function x(y){delete a[y];for(let F of Object.keys(r))r[F]===y&&delete r[F]}function B(){return Object.keys(a)}function C(y){return y=(y||"").toLowerCase(),a[y]||a[r[y]]}function S(y,{languageName:F}){typeof y=="string"&&(y=[y]),y.forEach(N=>{r[N.toLowerCase()]=F})}function k(y){let F=C(y);return F&&!F.disableAutodetect}function P(y){y["before:highlightBlock"]&&!y["before:highlightElement"]&&(y["before:highlightElement"]=F=>{y["before:highlightBlock"](Object.assign({block:F.el},F))}),y["after:highlightBlock"]&&!y["after:highlightElement"]&&(y["after:highlightElement"]=F=>{y["after:highlightBlock"](Object.assign({block:F.el},F))})}function j(y){P(y),e.push(y)}function V(y){let F=e.indexOf(y);F!==-1&&e.splice(F,1)}function A(y,F){let N=y;e.forEach(function(X){X[N]&&X[N](F)})}function E(y){return Yi("10.7.0","highlightBlock will be removed entirely in v12.0"),Yi("10.7.0","Please use highlightElement now."),f(y)}Object.assign(t,{highlight:d,highlightAuto:g,highlightAll:L,highlightElement:f,highlightBlock:E,configure:z,initHighlighting:v,initHighlightingOnLoad:M,registerLanguage:H,unregisterLanguage:x,listLanguages:B,getLanguage:C,registerAliases:S,autoDetection:k,inherit:PC,addPlugin:j,removePlugin:V}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=iF,t.regex={concat:Xr,lookahead:FC,either:es,optional:z_,anyNumberOfTimes:x_};for(let y in i5)typeof i5[y]=="object"&&RC(i5[y]);return Object.assign(t,i5),t},Xi=YC({});Xi.newInstance=()=>YC({});XC.exports=Xi;Xi.HighlightJS=Xi;Xi.default=Xi});var x8=W(at(),1),pV=W(Jv(),1);var w0=W(K(),1);function j4(t){var a=Object.create(null);return function(r){return a[r]===void 0&&(a[r]=t(r)),a[r]}}var Dy=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,eu=j4(function(t){return Dy.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});var _2=W(at()),Q4=W(at());var Ny=!1;function Uy(t){if(t.sheet)return t.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===t)return document.styleSheets[a]}function Gy(t){var a=document.createElement("style");return a.setAttribute("data-emotion",t.key),t.nonce!==void 0&&a.setAttribute("nonce",t.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}var iu=(function(){function t(r){var e=this;this._insertTag=function(i){var o;e.tags.length===0?e.insertionPoint?o=e.insertionPoint.nextSibling:e.prepend?o=e.container.firstChild:o=e.before:o=e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(i,o),e.tags.push(i)},this.isSpeedy=r.speedy===void 0?!Ny:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var a=t.prototype;return a.hydrate=function(e){e.forEach(this._insertTag)},a.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Gy(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Uy(i);try{o.insertRule(e,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(e));this.ctr++},a.flush=function(){this.tags.forEach(function(e){var i;return(i=e.parentNode)==null?void 0:i.removeChild(e)}),this.tags=[],this.ctr=0},t})();var R1="-ms-",al="-moz-",Ct="-webkit-",O4="comm",Se="rule",We="decl";var ou="@import";var A4="@keyframes";var lu="@layer";var nu=Math.abs,Mr=String.fromCharCode,hu=Object.assign;function cu(t,a){return n1(t,0)^45?(((a<<2^n1(t,0))<<2^n1(t,1))<<2^n1(t,2))<<2^n1(t,3):0}function P4(t){return t.trim()}function Z3(t,a){return(t=a.exec(t))?t[0]:t}function Lt(t,a,r){return t.replace(a,r)}function rl(t,a){return t.indexOf(a)}function n1(t,a){return t.charCodeAt(a)|0}function Wa(t,a,r){return t.slice(a,r)}function t2(t){return t.length}function je(t){return t.length}function Oe(t,a){return a.push(t),t}function J3(t,a){return t.map(a).join("")}var E4=1,Ae=1,du=0,a2=0,p1=0,Ee="";function el(t,a,r,e,i,o,l){return{value:t,root:a,parent:r,type:e,props:i,children:o,line:E4,column:Ae,length:l,return:""}}function Re(t,a){return hu(el("",null,null,"",null,null,0),t,{length:-t.length},a)}function su(){return p1}function pu(){return p1=a2>0?n1(Ee,--a2):0,Ae--,p1===10&&(Ae=1,E4--),p1}function r2(){return p1=a2<du?n1(Ee,a2++):0,Ae++,p1===10&&(Ae=1,E4++),p1}function R2(){return n1(Ee,a2)}function il(){return a2}function _e(t,a){return Wa(Ee,t,a)}function Pe(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R4(t){return E4=Ae=1,du=t2(Ee=t),a2=0,[]}function _4(t){return Ee="",t}function Fe(t){return P4(_e(a2-1,t9(t===91?t+2:t===40?t+1:t)))}function gu(t){for(;(p1=R2())&&p1<33;)r2();return Pe(t)>2||Pe(p1)>3?"":" "}function vu(t,a){for(;--a&&r2()&&!(p1<48||p1>102||p1>57&&p1<65||p1>70&&p1<97););return _e(t,il()+(a<6&&R2()==32&&r2()==32))}function t9(t){for(;r2();)switch(p1){case t:return a2;case 34:case 39:t!==34&&t!==39&&t9(p1);break;case 40:t===41&&t9(t);break;case 92:r2();break}return a2}function uu(t,a){for(;r2()&&t+p1!==57;)if(t+p1===84&&R2()===47)break;return"/*"+_e(a,a2-1)+"*"+Mr(t===47?t:r2())}function Mu(t){for(;!Pe(R2());)r2();return _e(t,a2)}function xu(t){return _4(F4("",null,null,null,[""],t=R4(t),0,[0],t))}function F4(t,a,r,e,i,o,l,n,h){for(var c=0,d=0,s=l,p=0,g=0,u=0,f=1,z=1,v=1,M=0,m="",L=i,H=o,x=e,B=m;z;)switch(u=M,M=r2()){case 40:if(u!=108&&n1(B,s-1)==58){rl(B+=Lt(Fe(M),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:B+=Fe(M);break;case 9:case 10:case 13:case 32:B+=gu(u);break;case 92:B+=vu(il()-1,7);continue;case 47:switch(R2()){case 42:case 47:Oe(qy(uu(r2(),il()),a,r),h);break;default:B+="/"}break;case 123*f:n[c++]=t2(B)*v;case 125*f:case 59:case 0:switch(M){case 0:case 125:z=0;case 59+d:v==-1&&(B=Lt(B,/\f/g,"")),g>0&&t2(B)-s&&Oe(g>32?mu(B+";",e,r,s-1):mu(Lt(B," ","")+";",e,r,s-2),h);break;case 59:B+=";";default:if(Oe(x=fu(B,a,r,c,d,i,n,m,L=[],H=[],s),o),M===123)if(d===0)F4(B,a,x,x,L,o,s,n,H);else switch(p===99&&n1(B,3)===110?100:p){case 100:case 108:case 109:case 115:F4(t,x,x,e&&Oe(fu(t,x,x,0,0,i,n,m,i,L=[],s),H),i,H,s,n,e?L:H);break;default:F4(B,x,x,x,[""],H,0,n,H)}}c=d=g=0,f=v=1,m=B="",s=l;break;case 58:s=1+t2(B),g=u;default:if(f<1){if(M==123)--f;else if(M==125&&f++==0&&pu()==125)continue}switch(B+=Mr(M),M*f){case 38:v=d>0?1:(B+="\f",-1);break;case 44:n[c++]=(t2(B)-1)*v,v=1;break;case 64:R2()===45&&(B+=Fe(r2())),p=R2(),d=s=t2(m=B+=Mu(il())),M++;break;case 45:u===45&&t2(B)==2&&(f=0)}}return o}function fu(t,a,r,e,i,o,l,n,h,c,d){for(var s=i-1,p=i===0?o:[""],g=je(p),u=0,f=0,z=0;u<e;++u)for(var v=0,M=Wa(t,s+1,s=nu(f=l[u])),m=t;v<g;++v)(m=P4(f>0?p[v]+" "+M:Lt(M,/&\f/g,p[v])))&&(h[z++]=m);return el(t,a,r,i===0?Se:n,h,c,d)}function qy(t,a,r){return el(t,a,r,O4,Mr(su()),Wa(t,2,-2),0)}function mu(t,a,r,e){return el(t,a,r,We,Wa(t,0,e),Wa(t,e+1,-1),e)}function fr(t,a){for(var r="",e=je(t),i=0;i<e;i++)r+=a(t[i],i,t,a)||"";return r}function zu(t,a,r,e){switch(t.type){case lu:if(t.children.length)break;case ou:case We:return t.return=t.return||t.value;case O4:return"";case A4:return t.return=t.value+"{"+fr(t.children,e)+"}";case Se:t.value=t.props.join(",")}return t2(r=fr(t.children,e))?t.return=t.value+"{"+r+"}":""}function ku(t){var a=je(t);return function(r,e,i,o){for(var l="",n=0;n<a;n++)l+=t[n](r,e,i,o)||"";return l}}function Lu(t){return function(a){a.root||(a=a.return)&&t(a)}}var $y=function(a,r,e){for(var i=0,o=0;i=o,o=R2(),i===38&&o===12&&(r[e]=1),!Pe(o);)r2();return _e(a,a2)},Ky=function(a,r){var e=-1,i=44;do switch(Pe(i)){case 0:i===38&&R2()===12&&(r[e]=1),a[e]+=$y(a2-1,r,e);break;case 2:a[e]+=Fe(i);break;case 4:if(i===44){a[++e]=R2()===58?"&\f":"",r[e]=a[e].length;break}default:a[e]+=Mr(i)}while(i=r2());return a},Yy=function(a,r){return _4(Ky(R4(a),r))},wu=new WeakMap,Xy=function(a){if(!(a.type!=="rule"||!a.parent||a.length<1)){for(var r=a.value,e=a.parent,i=a.column===e.column&&a.line===e.line;e.type!=="rule";)if(e=e.parent,!e)return;if(!(a.props.length===1&&r.charCodeAt(0)!==58&&!wu.get(e))&&!i){wu.set(a,!0);for(var o=[],l=Yy(r,o),n=e.props,h=0,c=0;h<l.length;h++)for(var d=0;d<n.length;d++,c++)a.props[c]=o[h]?l[h].replace(/&\f/g,n[d]):n[d]+" "+l[h]}}},Qy=function(a){if(a.type==="decl"){var r=a.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(a.return="",a.value="")}};function bu(t,a){switch(cu(t,a)){case 5103:return Ct+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ct+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Ct+t+al+t+R1+t+t;case 6828:case 4268:return Ct+t+R1+t+t;case 6165:return Ct+t+R1+"flex-"+t+t;case 5187:return Ct+t+Lt(t,/(\w+).+(:[^]+)/,Ct+"box-$1$2"+R1+"flex-$1$2")+t;case 5443:return Ct+t+R1+"flex-item-"+Lt(t,/flex-|-self/,"")+t;case 4675:return Ct+t+R1+"flex-line-pack"+Lt(t,/align-content|flex-|-self/,"")+t;case 5548:return Ct+t+R1+Lt(t,"shrink","negative")+t;case 5292:return Ct+t+R1+Lt(t,"basis","preferred-size")+t;case 6060:return Ct+"box-"+Lt(t,"-grow","")+Ct+t+R1+Lt(t,"grow","positive")+t;case 4554:return Ct+Lt(t,/([^-])(transform)/g,"$1"+Ct+"$2")+t;case 6187:return Lt(Lt(Lt(t,/(zoom-|grab)/,Ct+"$1"),/(image-set)/,Ct+"$1"),t,"")+t;case 5495:case 3959:return Lt(t,/(image-set\([^]*)/,Ct+"$1$`$1");case 4968:return Lt(Lt(t,/(.+:)(flex-)?(.*)/,Ct+"box-pack:$3"+R1+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ct+t+t;case 4095:case 3583:case 4068:case 2532:return Lt(t,/(.+)-inline(.+)/,Ct+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(t2(t)-1-a>6)switch(n1(t,a+1)){case 109:if(n1(t,a+4)!==45)break;case 102:return Lt(t,/(.+:)(.+)-([^]+)/,"$1"+Ct+"$2-$3$1"+al+(n1(t,a+3)==108?"$3":"$2-$3"))+t;case 115:return~rl(t,"stretch")?bu(Lt(t,"stretch","fill-available"),a)+t:t}break;case 4949:if(n1(t,a+1)!==115)break;case 6444:switch(n1(t,t2(t)-3-(~rl(t,"!important")&&10))){case 107:return Lt(t,":",":"+Ct)+t;case 101:return Lt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ct+(n1(t,14)===45?"inline-":"")+"box$3$1"+Ct+"$2$3$1"+R1+"$2box$3")+t}break;case 5936:switch(n1(t,a+11)){case 114:return Ct+t+R1+Lt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Ct+t+R1+Lt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Ct+t+R1+Lt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Ct+t+R1+t+t}return t}var Zy=function(a,r,e,i){if(a.length>-1&&!a.return)switch(a.type){case We:a.return=bu(a.value,a.length);break;case A4:return fr([Re(a,{value:Lt(a.value,"@","@"+Ct)})],i);case Se:if(a.length)return J3(a.props,function(o){switch(Z3(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fr([Re(a,{props:[Lt(o,/:(read-\w+)/,":"+al+"$1")]})],i);case"::placeholder":return fr([Re(a,{props:[Lt(o,/:(plac\w+)/,":"+Ct+"input-$1")]}),Re(a,{props:[Lt(o,/:(plac\w+)/,":"+al+"$1")]}),Re(a,{props:[Lt(o,/:(plac\w+)/,R1+"input-$1")]})],i)}return""})}},Jy=[Zy],Hu=function(a){var r=a.key;if(r==="css"){var e=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(e,function(f){var z=f.getAttribute("data-emotion");z.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var i=a.stylisPlugins||Jy,o={},l,n=[];l=a.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(f){for(var z=f.getAttribute("data-emotion").split(" "),v=1;v<z.length;v++)o[z[v]]=!0;n.push(f)});var h,c=[Xy,Qy];{var d,s=[zu,Lu(function(f){d.insert(f)})],p=ku(c.concat(i,s)),g=function(z){return fr(xu(z),p)};h=function(z,v,M,m){d=M,g(z?z+"{"+v.styles+"}":v.styles),m&&(u.inserted[v.name]=!0)}}var u={key:r,sheet:new iu({key:r,container:l,nonce:a.nonce,speedy:a.speedy,prepend:a.prepend,insertionPoint:a.insertionPoint}),nonce:a.nonce,inserted:o,registered:{},insert:h};return u.sheet.hydrate(n),u};var pS=!0;function ol(t,a,r){var e="";return r.split(" ").forEach(function(i){t[i]!==void 0?a.push(t[i]+";"):i&&(e+=i+" ")}),e}var Ie=function(a,r,e){var i=a.key+"-"+r.name;(e===!1||pS===!1)&&a.registered[i]===void 0&&(a.registered[i]=r.styles)},De=function(a,r,e){Ie(a,r,e);var i=a.key+"-"+r.name;if(a.inserted[r.name]===void 0){var o=r;do a.insert(r===o?"."+i:"",o,a.sheet,!0),o=o.next;while(o!==void 0)}};function Eu(t){for(var a=0,r,e=0,i=t.length;i>=4;++e,i-=4)r=t.charCodeAt(e)&255|(t.charCodeAt(++e)&255)<<8|(t.charCodeAt(++e)&255)<<16|(t.charCodeAt(++e)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,a=(r&65535)*1540483477+((r>>>16)*59797<<16)^(a&65535)*1540483477+((a>>>16)*59797<<16);switch(i){case 3:a^=(t.charCodeAt(e+2)&255)<<16;case 2:a^=(t.charCodeAt(e+1)&255)<<8;case 1:a^=t.charCodeAt(e)&255,a=(a&65535)*1540483477+((a>>>16)*59797<<16)}return a^=a>>>13,a=(a&65535)*1540483477+((a>>>16)*59797<<16),((a^a>>>15)>>>0).toString(36)}var Ru={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var gS=!1,vS=/[A-Z]|^ms/g,uS=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Du=function(a){return a.charCodeAt(1)===45},_u=function(a){return a!=null&&typeof a!="boolean"},l9=j4(function(t){return Du(t)?t:t.replace(vS,"-$&").toLowerCase()}),Fu=function(a,r){switch(a){case"animation":case"animationName":if(typeof r=="string")return r.replace(uS,function(e,i,o){return z0={name:i,styles:o,next:z0},i})}return Ru[a]!==1&&!Du(a)&&typeof r=="number"&&r!==0?r+"px":r},MS="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ll(t,a,r){if(r==null)return"";var e=r;if(e.__emotion_styles!==void 0)return e;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return z0={name:i.name,styles:i.styles,next:z0},i.name;var o=r;if(o.styles!==void 0){var l=o.next;if(l!==void 0)for(;l!==void 0;)z0={name:l.name,styles:l.styles,next:z0},l=l.next;var n=o.styles+";";return n}return fS(t,a,r)}case"function":{if(t!==void 0){var h=z0,c=r(t);return z0=h,ll(t,a,c)}break}}var d=r;if(a==null)return d;var s=a[d];return s!==void 0?s:d}function fS(t,a,r){var e="";if(Array.isArray(r))for(var i=0;i<r.length;i++)e+=ll(t,a,r[i])+";";else for(var o in r){var l=r[o];if(typeof l!="object"){var n=l;a!=null&&a[n]!==void 0?e+=o+"{"+a[n]+"}":_u(n)&&(e+=l9(o)+":"+Fu(o,n)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&gS)throw new Error(MS);if(Array.isArray(l)&&typeof l[0]=="string"&&(a==null||a[l[0]]===void 0))for(var h=0;h<l.length;h++)_u(l[h])&&(e+=l9(o)+":"+Fu(o,l[h])+";");else{var c=ll(t,a,l);switch(o){case"animation":case"animationName":{e+=l9(o)+":"+c+";";break}default:e+=o+"{"+c+"}"}}}}return e}var Iu=/label:\s*([^\s;{]+)\s*(;|$)/g,z0;function Ne(t,a,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var e=!0,i="";z0=void 0;var o=t[0];if(o==null||o.raw===void 0)e=!1,i+=ll(r,a,o);else{var l=o;i+=l[0]}for(var n=1;n<t.length;n++)if(i+=ll(r,a,t[n]),e){var h=o;i+=h[n]}Iu.lastIndex=0;for(var c="",d;(d=Iu.exec(i))!==null;)c+="-"+d[1];var s=Eu(i)+c;return{name:s,styles:i,next:z0}}var nl=W(at()),mS=function(a){return a()},Nu=nl.useInsertionEffect?nl.useInsertionEffect:!1,hl=Nu||mS,n9=Nu||nl.useLayoutEffect;var Uu=!1,Gu=_2.createContext(typeof HTMLElement<"u"?Hu({key:"css"}):null),xS=Gu.Provider;var Ue=function(a){return(0,Q4.forwardRef)(function(r,e){var i=(0,Q4.useContext)(Gu);return a(r,i,e)})},Ge=_2.createContext({});var Z4={}.hasOwnProperty,h9="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",qu=function(a,r){var e={};for(var i in r)Z4.call(r,i)&&(e[i]=r[i]);return e[h9]=a,e},zS=function(a){var r=a.cache,e=a.serialized,i=a.isStringTag;return Ie(r,e,i),hl(function(){return De(r,e,i)}),null},kS=Ue(function(t,a,r){var e=t.css;typeof e=="string"&&a.registered[e]!==void 0&&(e=a.registered[e]);var i=t[h9],o=[e],l="";typeof t.className=="string"?l=ol(a.registered,o,t.className):t.className!=null&&(l=t.className+" ");var n=Ne(o,void 0,_2.useContext(Ge));l+=a.key+"-"+n.name;var h={};for(var c in t)Z4.call(t,c)&&c!=="css"&&c!==h9&&!Uu&&(h[c]=t[c]);return h.className=l,r&&(h.ref=r),_2.createElement(_2.Fragment,null,_2.createElement(zS,{cache:a,serialized:n,isStringTag:typeof i=="string"}),_2.createElement(i,h))}),$u=kS;var ja=W(at());var PN=W(Pu()),Ku=function(a,r){var e=arguments;if(r==null||!Z4.call(r,"css"))return ja.createElement.apply(void 0,e);var i=e.length,o=new Array(i);o[0]=$u,o[1]=qu(a,r);for(var l=2;l<i;l++)o[l]=e[l];return ja.createElement.apply(null,o)};(function(t){var a;a||(a=t.JSX||(t.JSX={}))})(Ku||(Ku={}));var c9=Ue(function(t,a){var r=t.styles,e=Ne([r],void 0,ja.useContext(Ge)),i=ja.useRef();return n9(function(){var o=a.key+"-global",l=new a.sheet.constructor({key:o,nonce:a.sheet.nonce,container:a.sheet.container,speedy:a.sheet.isSpeedy}),n=!1,h=document.querySelector('style[data-emotion="'+o+" "+e.name+'"]');return a.sheet.tags.length&&(l.before=a.sheet.tags[0]),h!==null&&(n=!0,h.setAttribute("data-emotion",o),l.hydrate([h])),i.current=[l,n],function(){l.flush()}},[a]),n9(function(){var o=i.current,l=o[0],n=o[1];if(n){o[1]=!1;return}if(e.next!==void 0&&De(a,e.next,!0),l.tags.length){var h=l.tags[l.tags.length-1].nextElementSibling;l.before=h,l.flush()}a.insert("",e,l,!1)},[a,e.name]),null});var B2=W(at(),1);function Yu(...t){return function(...r){t.forEach(e=>e?.(...r))}}var LS=(...t)=>t.map(a=>a?.trim?.()).filter(Boolean).join(" "),wS=/^on[A-Z]/;function mr(...t){let a={};for(let r of t){for(let e in a){if(wS.test(e)&&typeof a[e]=="function"&&typeof r[e]=="function"){a[e]=Yu(a[e],r[e]);continue}if(e==="className"||e==="class"){a[e]=LS(a[e],r[e]);continue}if(e==="style"){a[e]=Object.assign({},a[e]??{},r[e]??{});continue}a[e]=r[e]!==void 0?r[e]:a[e]}for(let e in r)a[e]===void 0&&(a[e]=r[e])}return a}var Xu=W(at(),1),bS=parseInt(Xu.version.split(".")[0],10),HS=bS>=19;function d9(t,a){if(t!=null){if(typeof t=="function")return t(a);try{t.current=a}catch{throw new Error(`Cannot assign value '${a}' to ref '${t}'`)}}}function Qu(...t){let a=t.filter(r=>r!=null);if(HS){let r=new Map;return e=>(a.forEach(i=>{let o=d9(i,e);o&&r.set(i,o)}),()=>{a.forEach(i=>{let o=r.get(i);o&&typeof o=="function"?o():d9(i,null)}),r.clear()})}else return r=>{a.forEach(e=>{d9(e,r)})}}function k0(t){let a=Object.assign({},t);for(let r in a)a[r]===void 0&&delete a[r];return a}var Zt=t=>t!=null&&typeof t=="object"&&!Array.isArray(t);var h1=t=>typeof t=="string",qe=t=>typeof t=="function";var _1=(...t)=>{let a=[];for(let r=0;r<t.length;r++){let e=t[r];if(!h1(e))continue;let i=e.trim();i&&a.push(i)}return a.join(" ")};function Zu(t){return t.default||t}var Ju=W(at(),1);function tM(t){let a=Ju.version;return!h1(a)||a.startsWith("18.")?t?.ref:t?.props?.ref}var $e=(...t)=>{let a=t.reduce((r,e)=>(e?.forEach(i=>r.add(i)),r),new Set([]));return Array.from(a)};var cl=W(K(),1);var J4=W(at(),1);function CS(t,a){return`${t} returned \`undefined\`. Seems you forgot to wrap component within ${a}`}function Oa(t={}){let{name:a,strict:r=!0,hookName:e="useContext",providerName:i="Provider",errorMessage:o,defaultValue:l}=t,n=(0,J4.createContext)(l);n.displayName=a;function h(){let c=(0,J4.useContext)(n);if(!c&&r){let d=new Error(o??CS(e,i));throw d.name="ContextError",Error.captureStackTrace?.(d,h),d}return c}return[n.Provider,h,n]}var[BS,X0]=Oa({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function s9(t){let{value:a,children:r}=t;return(0,cl.jsxs)(BS,{value:a,children:[!a._config.disableLayers&&(0,cl.jsx)(c9,{styles:a.layers.atRule}),(0,cl.jsx)(c9,{styles:a._global}),r]})}var th=W(at(),1);var VS=(t,a)=>{let r={},e={},i=Object.keys(t);for(let o of i)a(o)?e[o]=t[o]:r[o]=t[o];return[e,r]},L0=(t,a)=>{let r=qe(a)?a:e=>a.includes(e);return VS(t,r)};var TS=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function aM(t){return typeof t=="string"&&TS.has(t)}function rM(t,a,r){let{css:e,isValidProperty:i}=X0(),{children:o,...l}=t,n=(0,th.useMemo)(()=>{let[p,g]=L0(l,M=>r(M,a.variantKeys)),[u,f]=L0(g,a.variantKeys),[z,v]=L0(f,i);return{forwardedProps:p,variantProps:u,styleProps:z,elementProps:v}},[a.variantKeys,r,l,i]),{css:h,...c}=n.styleProps,d=(0,th.useMemo)(()=>{let p={...n.variantProps},g=a.variantKeys.includes("colorPalette"),u=a.variantKeys.includes("orientation");return g||(p.colorPalette=l.colorPalette),u||(p.orientation=l.orientation),a(p)},[a,n.variantProps,l.colorPalette,l.orientation]);return{styles:(0,th.useMemo)(()=>e(d,...yS(h),c),[e,d,h,c]),props:{...n.forwardedProps,...n.elementProps,children:o}}}var yS=t=>(Array.isArray(t)?t:[t]).filter(Boolean).flat();var SS=Zu(eu),WS=SS,jS=t=>t!=="theme",OS=(t,a,r)=>{let e;if(a){let i=a.shouldForwardProp;e=t.__emotion_forwardProp&&i?o=>t.__emotion_forwardProp(o)&&i(o):i}return typeof e!="function"&&r&&(e=t.__emotion_forwardProp),e},AS=typeof document<"u",eM=({cache:t,serialized:a,isStringTag:r})=>{Ie(t,a,r);let e=hl(()=>De(t,a,r));if(!AS&&e!==void 0){let i=a.name,o=a.next;for(;o!==void 0;)i=_1(i,o.name),o=o.next;return(0,w0.jsx)("style",{"data-emotion":_1(t.key,i),dangerouslySetInnerHTML:{__html:e},nonce:t.sheet.nonce})}return null},iM={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},PS=(t,a)=>Object.prototype.hasOwnProperty.call(t,a),ES=(t,a={},r={})=>{if(PS(iM,t)){r.forwardProps||(r.forwardProps=[]);let c=iM[t];r.forwardProps=$e([...r.forwardProps,...c])}let e=t.__emotion_real===t,i=e&&t.__emotion_base||t,o,l;r!==void 0&&(o=r.label,l=r.target);let n=[],h=Ue((c,d,s)=>{let{cva:p,isValidProperty:g}=X0(),u=a.__cva__?a:p(a),f=t.__emotion_cva&&!t.__emotion_cva.__cva__?p(t.__emotion_cva):t.__emotion_cva,z=_S(f,u),v=y=>(F,N)=>y.includes(F)?!0:!N?.includes(F)&&!g(F);!r.shouldForwardProp&&r.forwardProps&&(r.shouldForwardProp=v(r.forwardProps));let M=(y,F)=>{let N=typeof t=="string"&&t.charCodeAt(0)>96?WS:jS,X=!F?.includes(y)&&!g(y);return N(y)&&X},m=OS(t,r,e)||M,L=B2.useMemo(()=>Object.assign({},r.defaultProps,k0(c)),[c]),{props:H,styles:x}=rM(L,z,m),B="",C=[x],S=H;if(H.theme==null){S={};for(let y in H)S[y]=H[y];S.theme=B2.useContext(Ge)}typeof H.className=="string"?B=ol(d.registered,C,H.className):H.className!=null&&(B=_1(B,H.className));let k=Ne(n.concat(C),d.registered,S);k.styles&&(B=_1(B,`${d.key}-${k.name}`)),l!==void 0&&(B=_1(B,l));let P=!m("as"),j=P&&H.as||i,V={};for(let y in H)if(!(P&&y==="as")){if(aM(y)){let F=y.replace("html","").toLowerCase();V[F]=H[y];continue}m(y)&&(V[y]=H[y])}let A=B.trim();A?V.className=A:Reflect.deleteProperty(V,"className"),V.ref=s;let E=r.forwardAsChild||r.forwardProps?.includes("asChild");if(H.asChild&&!E){let y=B2.isValidElement(H.children)?B2.Children.only(H.children):B2.Children.toArray(H.children).find(B2.isValidElement);if(!y)throw new Error("[chakra-ui > factory] No valid child found");j=y.type,V.children=null,Reflect.deleteProperty(V,"asChild"),V=mr(V,y.props),V.ref=Qu(s,tM(y))}return V.as&&E?(V.as=void 0,(0,w0.jsxs)(B2.Fragment,{children:[(0,w0.jsx)(eM,{cache:d,serialized:k,isStringTag:typeof j=="string"}),(0,w0.jsx)(j,{asChild:!0,...V,children:(0,w0.jsx)(H.as,{children:V.children})})]})):(0,w0.jsxs)(B2.Fragment,{children:[(0,w0.jsx)(eM,{cache:d,serialized:k,isStringTag:typeof j=="string"}),(0,w0.jsx)(j,{...V})]})});return h.displayName=o!==void 0?o:`chakra(${typeof i=="string"?i:i.displayName||i.name||"Component"})`,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_forwardProp=r.shouldForwardProp,h.__emotion_cva=a,Object.defineProperty(h,"toString",{value(){return`.${l}`}}),h},p9=ES.bind(),g9=new Map,RS=new Proxy(p9,{apply(t,a,r){return p9(...r)},get(t,a){return g9.has(a)||g9.set(a,p9(a)),g9.get(a)}}),Et=RS,_S=(t,a)=>t&&!a?t:!t&&a?a:t.merge(a);var Z=Et("div");Z.displayName="Box";var dM=W(K(),1),dl=W(at(),1);function Ke(t){if(typeof t!="string")return t.displayName||t.name}function Ye(t){return t&&t.charAt(0).toUpperCase()+t.slice(1)}function v9(t,a){return t+Ye(a)}function oM(t,a){if(a)return t+Ye(a)}var lM=Object.freeze({}),nM=Object.freeze({});var hM=W(at(),1);function cM(t){let{key:a,recipe:r}=t,e=X0();return(0,hM.useMemo)(()=>r?e.cva(r):a!=null?e.getRecipeFn(a):e.cva({}),[a,r,e])}function b0(t){let{key:a,recipe:r}=t,e=Ye(a||r.className||"Component"),[i,o]=Oa({strict:!1,name:`${e}PropsContext`,providerName:`${e}PropsContext`});function l(c){let{unstyled:d,...s}=c,p=cM({key:a,recipe:s.recipe||r}),[g,u]=(0,dl.useMemo)(()=>p.splitVariantProps(s),[p,s]);return{styles:d?lM:p(g),className:p.className,props:u}}let n=(c,d)=>{let{displayName:s,...p}=d??{},g=Et(c,{},p),u=(0,dl.forwardRef)((f,z)=>{let v=o(),M=(0,dl.useMemo)(()=>mr(v,f),[f,v]),{styles:m,className:L,props:H}=l(M);return(0,dM.jsx)(g,{...H,ref:z,css:[m,M.css],className:_1(L,M.className)})});return u.displayName=s??e??Ke(c),u};function h(){return i}return{withContext:n,PropsProvider:i,withPropsProvider:h,usePropsContext:o,useRecipeResult:l}}function sM(t){return t==null?[]:Array.isArray(t)?t:[t]}var FS=t=>t!=null&&typeof t=="object";var Xe=t=>typeof t=="string",l0=t=>typeof t=="function",pM=t=>t==null,u9=(t,a)=>Object.prototype.hasOwnProperty.call(t,a),IS=t=>Object.prototype.toString.call(t),gM=Function.prototype.toString,DS=gM.call(Object),vM=t=>{if(!FS(t)||IS(t)!="[object Object]"||GS(t))return!1;let a=Object.getPrototypeOf(t);if(a===null)return!0;let r=u9(a,"constructor")&&a.constructor;return typeof r=="function"&&r instanceof r&&gM.call(r)==DS},NS=t=>typeof t=="object"&&t!==null&&"$$typeof"in t&&"props"in t,US=t=>typeof t=="object"&&t!==null&&"__v_isVNode"in t,GS=t=>NS(t)||US(t);var uM=t=>t(),M9=()=>{},sl=(...t)=>(...a)=>{t.forEach(function(r){r?.(...a)})};function pl(t){if(!vM(t)||t===void 0)return t;let a=Reflect.ownKeys(t).filter(e=>typeof e=="string"),r={};for(let e of a){let i=t[e];i!==void 0&&(r[e]=pl(i))}return r}function MM(t,a=Object.is){let r={...t},e=new Set,i=d=>(e.add(d),()=>e.delete(d)),o=()=>{e.forEach(d=>d())};return{subscribe:i,get:d=>r[d],set:(d,s)=>{a(r[d],s)||(r[d]=s,o())},update:d=>{let s=!1;for(let p in d){let g=d[p];g!==void 0&&!a(r[p],g)&&(r[p]=g,s=!0)}s&&o()},snapshot:()=>({...r})}}function ah(...t){let a=t.length===1?t[0]:t[1],r=t.length===2?t[0]:!0}function f9(...t){let a=t.length===1?t[0]:t[1],r=t.length===2?t[0]:!0}function gl(t,a){if(t==null)throw new Error(a())}function fM(t,a,r){let e=[];for(let i of a)t[i]==null&&e.push(i);if(e.length>0)throw new Error(`[zag-js${r?` > ${r}`:""}] missing required props: ${e.join(", ")}`)}var rh=W(at(),1);function qS(t,a){return`${t} returned \`undefined\`. Seems you forgot to wrap component within ${a}`}function F2(t={}){let{name:a,strict:r=!0,hookName:e="useContext",providerName:i="Provider",errorMessage:o,defaultValue:l}=t,n=(0,rh.createContext)(l);n.displayName=a;function h(){let c=(0,rh.useContext)(n);if(!c&&r){let d=new Error(o??qS(e,i));throw d.name="ContextError",u9(Error,"captureStackTrace")&&l0(Error.captureStackTrace)&&Error.captureStackTrace(d,h),d}return c}return[n.Provider,h,n]}var[GU,eh]=F2({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});function Aa(...t){return a=>{let r=[];for(let e of t)if(typeof e=="function"){let i=e(a);typeof i=="function"&&r.push(i)}else e&&(e.current=a);if(r.length)return()=>{for(let e of r)e()}}}var D2=W(at(),1);var $S=(...t)=>t.map(a=>a?.trim?.()).filter(Boolean).join(" "),KS=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,mM=t=>{let a={},r;for(;r=KS.exec(t);)a[r[1]]=r[2];return a},YS=(t,a)=>{if(Xe(t)){if(Xe(a))return`${t};${a}`;t=mM(t)}else Xe(a)&&(a=mM(a));return Object.assign({},t??{},a??{})};function kt(...t){let a={};for(let r of t){if(!r)continue;for(let i in a){if(i.startsWith("on")&&typeof a[i]=="function"&&typeof r[i]=="function"){a[i]=sl(r[i],a[i]);continue}if(i==="className"||i==="class"){a[i]=$S(a[i],r[i]);continue}if(i==="style"){a[i]=YS(a[i],r[i]);continue}a[i]=r[i]!==void 0?r[i]:a[i]}for(let i in r)a[i]===void 0&&(a[i]=r[i]);let e=Object.getOwnPropertySymbols(r);for(let i of e)a[i]=r[i]}return a}var Pa=".",kM="#",xM=new WeakMap,LM=new WeakMap;function m9(t){return t.join(Pa)}function XS(t){return t.includes(Pa)}function wM(t){return t.startsWith(kM)}function QS(t){return t.startsWith(Pa)}function ZS(t){return wM(t)?t.slice(kM.length):t}function x9(t,a){return t?`${t}${Pa}${a}`:a}function JS(t){let a=new Map,r=new Map,e=(i,o)=>{a.set(i,o);let l=o.id;l&&(r.has(l)&&f9(`[zag-js] Duplicate state id: "${l}"`),r.set(l,i));let n=o.states;if(n){gl(o.initial,()=>`[zag-js] Compound state "${i}" has child states but no "initial" property`),o.initial in n||f9(`[zag-js] Compound state "${i}" has initial "${String(o.initial)}" which is not a child state`);for(let[h,c]of Object.entries(n)){if(!c)continue;let d=x9(i,h);e(d,c)}}};for(let[i,o]of Object.entries(t.states))o&&e(i,o);return{index:a,idIndex:r}}function Qe(t){let a=xM.get(t);if(a)return a;let{index:r,idIndex:e}=JS(t);return xM.set(t,r),LM.set(t,e),r}function tW(t,a){return Qe(t),LM.get(t)?.get(a)}function z9(t){return t?String(t).split(Pa).filter(Boolean):[]}function ih(t,a){if(!a)return[];let r=Qe(t),e=z9(a),i=[],o=[];for(let l of e){o.push(l);let n=m9(o),h=r.get(n);if(!h)break;i.push({path:n,state:h})}return i}function vl(t,a){let r=Qe(t),e=z9(a);if(!e.length)return a;let i=[];for(let n of e){i.push(n);let h=m9(i);if(!r.has(h))return a}let o=m9(i),l=r.get(o);for(;l?.initial;){let n=`${o}${Pa}${l.initial}`,h=r.get(n);if(!h)break;o=n,l=h}return o}function zM(t,a){return Qe(t).has(a)}function k9(t,a,r){let e=String(a);if(wM(e)){let i=ZS(e),o=tW(t,i);return gl(o,()=>`[zag-js] Unknown state id: "${i}"`),vl(t,o)}if(QS(e)&&r){let i=x9(r,e.slice(1));return vl(t,i)}if(!XS(e)&&r){let i=z9(r);for(let o=i.length-1;o>=1;o--){let l=i.slice(0,o).join(Pa),n=x9(l,e);if(zM(t,n))return vl(t,n)}if(zM(t,e))return vl(t,e)}return vl(t,e)}function bM(t,a,r){let e=ih(t,a);for(let o=e.length-1;o>=0;o--){let n=e[o]?.state.on?.[r];if(n)return{transitions:n,source:e[o]?.path}}return{transitions:t.on?.[r],source:void 0}}function HM(t,a,r,e){let i=a?ih(t,a):[],o=ih(t,r),l=0;for(;l<i.length&&l<o.length&&i[l]?.path===o[l]?.path;)l+=1;let n=i.slice(l).reverse(),h=o.slice(l),c=i.at(-1)?.path===o.at(-1)?.path;return e&&c&&(n=i.slice().reverse(),h=o),{exiting:n,entering:h}}function CM(t,a){return t?t===a||t.startsWith(`${a}${Pa}`):!1}function BM(t,a,r){return ih(t,a).some(e=>e.state.tags?.includes(r))}function VM(){return{and:(...t)=>function(r){return t.every(e=>r.guard(e))},or:(...t)=>function(r){return t.some(e=>r.guard(e))},not:t=>function(r){return!r.guard(t)}}}function oh(t){return Qe(t),t}var Ea=(t=>(t.NotStarted="Not Started",t.Started="Started",t.Stopped="Stopped",t))(Ea||{}),ul="__init__";var aW=Object.defineProperty,rW=(t,a,r)=>a in t?aW(t,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[a]=r,lh=(t,a,r)=>rW(t,typeof a!="symbol"?a+"":a,r);var L9=()=>{},Ml=t=>typeof t=="object"&&t!==null;var F1=t=>t?"":void 0,w9=t=>t?"true":void 0;var eW=1,iW=9,oW=11;var Ra=t=>Ml(t)&&t.nodeType===eW&&typeof t.nodeName=="string",TM=t=>Ml(t)&&t.nodeType===iW,lW=t=>Ml(t)&&t===t.window;var yM=t=>Ra(t)?t.localName||"":"#document";function SM(t){return["html","body","#document"].includes(yM(t))}var nW=t=>Ml(t)&&t.nodeType!==void 0,b9=t=>nW(t)&&t.nodeType===oW&&"host"in t;function WM(t){if(!t)return!1;let a=t.getRootNode();return fl(a)===t}function I2(t){return TM(t)?t:lW(t)?t.document:t?.ownerDocument??document}function hW(t){return I2(t).documentElement}function V1(t){return b9(t)?V1(t.host):TM(t)?t.defaultView??window:Ra(t)?t.ownerDocument?.defaultView??window:window}function fl(t){let a=t.activeElement;for(;a?.shadowRoot;){let r=a.shadowRoot.activeElement;if(!r||r===a)break;a=r}return a}function jM(t){if(yM(t)==="html")return t;let a=t.assignedSlot||t.parentNode||b9(t)&&t.host||hW(t);return b9(a)?a.host:a}var H9=new WeakMap;function Ze(t){return H9.has(t)||H9.set(t,V1(t).getComputedStyle(t)),H9.get(t)}var OM=()=>typeof document<"u";function cW(){return navigator.userAgentData?.platform??navigator.platform}function dW(){let t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(({brand:a,version:r})=>`${a}/${r}`).join(" "):navigator.userAgent}var sW=t=>OM()&&t.test(cW()),pW=t=>OM()&&t.test(dW());var C9=()=>sW(/^Mac/i);var AM=()=>pW(/Android/i);function gW(t){return t.composedPath?.()??t.nativeEvent?.composedPath?.()}function Je(t){return gW(t)?.[0]??t.target}function PM(t){return vW(t).isComposing||t.keyCode===229}function EM(t){return t.pointerType===""&&t.isTrusted?!0:AM()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}var RM=t=>t.button===0;function vW(t){return t.nativeEvent??t}var nh=(t,a,r,e)=>{let i=typeof t=="function"?t():t;return i?.addEventListener(a,r,e),()=>{i?.removeEventListener(a,r,e)}};var uW=class _M{constructor(){lh(this,"id",null),lh(this,"fn_cleanup"),lh(this,"cleanup",()=>{this.cancel()})}static create(){return new _M}request(a){this.cancel(),this.id=globalThis.requestAnimationFrame(()=>{this.id=null,this.fn_cleanup=a?.()})}cancel(){this.id!==null&&(globalThis.cancelAnimationFrame(this.id),this.id=null),this.fn_cleanup?.(),this.fn_cleanup=void 0}isActive(){return this.id!==null}};function ml(t){let a=uW.create();return a.request(t),a.cleanup}function FM(t){let a=new Set;function r(e){let i=globalThis.requestAnimationFrame(e);a.add(()=>globalThis.cancelAnimationFrame(i))}return r(()=>r(t)),function(){a.forEach(i=>i())}}function IM(t){let a=jM(t);return SM(a)?I2(a).body:Ra(a)&&DM(a)?a:IM(a)}function B9(t,a=[]){let r=IM(t),e=r===t.ownerDocument.body,i=V1(r);return e?a.concat(i,i.visualViewport||[],DM(r)?r:[]):a.concat(r,B9(r,[]))}var MW=/auto|scroll|overlay|hidden|clip/,fW=new Set(["inline","contents"]);function DM(t){let a=V1(t),{overflow:r,overflowX:e,overflowY:i,display:o}=a.getComputedStyle(t);return MW.test(r+i+e)&&!fW.has(o)}function NM(t,a){return Array.from(t?.querySelectorAll(a)??[])}function UM(t,a){if(!t)return L9;let r=Object.keys(a).reduce((e,i)=>(e[i]=t.style.getPropertyValue(i),e),{});return mW(r,a)?L9:(Object.assign(t.style,a),()=>{Object.assign(t.style,r),t.style.length===0&&t.removeAttribute("style")})}function mW(t,a){return Object.keys(t).every(r=>t[r]===a[r])}function GM(t){let a=()=>t.getRootNode?.()??document,r=()=>I2(a());return{...t,getRootNode:a,getDoc:r,getWin:()=>r().defaultView??window,getActiveElement:()=>fl(a()),isActiveElement:WM,getById:l=>a().getElementById(l)}}function xW(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var V9=t=>{let a=(0,D2.memo)((0,D2.forwardRef)((r,e)=>{let{asChild:i,children:o,...l}=r;if(!i)return(0,D2.createElement)(t,{...l,ref:e},o);if(!(0,D2.isValidElement)(o))return null;let n=D2.Children.only(o),h=xW(n);return(0,D2.cloneElement)(n,{...kt(l,n.props),ref:e?Aa(e,h):h})}));return a.displayName=t.displayName||t.name,a},zW=()=>{let t=new Map;return new Proxy(V9,{apply(a,r,e){return V9(e[0])},get(a,r){let e=r;return t.has(e)||t.set(e,V9(e)),t.get(e)}})},jt=zW();var[oq,ti]=F2({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}});var qM=Object.defineProperty,hh=(t,a)=>{let r={};for(var e in t)qM(r,e,{get:t[e],enumerable:!0});return a||qM(r,Symbol.toStringTag,{value:"Module"}),r};var{withContext:kW,PropsProvider:cq}=b0({key:"heading"}),T9=kW("h2");var _a=()=>(t,a)=>a.reduce((r,e)=>{let[i,o]=r,l=e;return o[l]!==void 0&&(i[l]=o[l]),delete o[l],[i,o]},[{},{...t}]);var ch=t=>_a()(t,["immediate","lazyMount","onExitComplete","present","skipAnimationOnMount","unmountOnExit"]);var dh=W(at(),1);function $M(t,a={}){let{sync:r=!1}=a,e=LW(t);return(0,dh.useCallback)((...i)=>r?queueMicrotask(()=>e.current?.(...i)):e.current?.(...i),[r,e])}function LW(t){let a=(0,dh.useRef)(t);return a.current=t,a}var af=W(at(),1);var bW=W(at(),1);var H0=W(at(),1),y9=W(S4(),1);var Q0=W(at(),1),KM=W(S4(),1);var sh=W(at(),1),ph=typeof globalThis.document<"u"?sh.useLayoutEffect:sh.useEffect;function xl(t){let a=t().value??t().defaultValue,r=t().isEqual??Object.is,[e]=(0,Q0.useState)(a),[i,o]=(0,Q0.useState)(e),l=t().value!==void 0,n=(0,Q0.useRef)(i);n.current=l?t().value:i;let h=(0,Q0.useRef)(n.current);ph(()=>{h.current=n.current},[i,t().value]);let c=s=>{let p=h.current,g=l0(s)?s(p):s;t().debug&&console.log(`[bindable > ${t().debug}] setValue`,{next:g,prev:p}),l||o(g),r(g,p)||t().onChange?.(g,p)};function d(){return l?t().value:i}return{initial:e,ref:n,get:d,set(s){(t().sync?KM.flushSync:uM)(()=>c(s))},invoke(s,p){t().onChange?.(s,p)},hash(s){return t().hash?.(s)??String(s)}}}xl.cleanup=t=>{(0,Q0.useEffect)(()=>t,[])};xl.ref=t=>{let a=(0,Q0.useRef)(t);return{get:()=>a.current,set:r=>{a.current=r}}};var YM=W(at(),1);function XM(t){let a=(0,YM.useRef)(t);return{get(r){return a.current[r]},set(r,e){a.current[r]=e}}}var ai=W(at(),1),QM=(t,a)=>{let r=(0,ai.useRef)(!1),e=(0,ai.useRef)(!1);(0,ai.useEffect)(()=>{if(r.current&&e.current)return a();e.current=!0},[...(t??[]).map(i=>typeof i=="function"?i():i)]),(0,ai.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])};function gh(t,a={}){let r=(0,H0.useMemo)(()=>{let{id:P,ids:j,getRootNode:V}=a;return GM({id:P,ids:j,getRootNode:V})},[a]),e=(...P)=>{t.debug&&console.log(...P)},i=t.props?.({props:pl(a),scope:r})??a,o=wW(i),l=t.context?.({prop:o,bindable:xl,scope:r,flush:ZM,getContext(){return h},getComputed(){return H},getRefs(){return f},getEvent(){return g()}}),n=JM(l),h={get(P){return n.current?.[P].ref.current},set(P,j){n.current?.[P].set(j)},initial(P){return n.current?.[P].initial},hash(P){let j=n.current?.[P].get();return n.current?.[P].hash(j)}},c=(0,H0.useRef)(new Map),d=(0,H0.useRef)(null),s=(0,H0.useRef)(null),p=(0,H0.useRef)({type:""}),g=()=>({...p.current,current(){return p.current},previous(){return s.current}}),u=()=>({...x,matches(...P){return P.some(j=>CM(x.ref.current,j))},hasTag(P){return BM(t,x.ref.current,P)}}),f=XM(t.refs?.({prop:o,context:h})??{}),z=()=>({state:u(),context:h,event:g(),prop:o,send:k,action:v,guard:M,track:QM,refs:f,computed:H,flush:ZM,scope:r,choose:L}),v=P=>{let j=l0(P)?P(z()):P;if(!j)return;let V=j.map(A=>{let E=t.implementations?.actions?.[A];return E||ah(`[zag-js] No implementation found for action "${JSON.stringify(A)}"`),E});for(let A of V)A?.(z())},M=P=>{if(l0(P))return P(z());let j=t.implementations?.guards?.[P];return j||ah(`[zag-js] No implementation found for guard "${JSON.stringify(P)}"`),j?.(z())},m=P=>{let j=l0(P)?P(z()):P;if(!j)return;let V=j.map(E=>{let y=t.implementations?.effects?.[E];return y||ah(`[zag-js] No implementation found for effect "${JSON.stringify(E)}"`),y}),A=[];for(let E of V){let y=E?.(z());y&&A.push(y)}return()=>A.forEach(E=>E?.())},L=P=>sM(P).find(j=>{let V=!j.guard;return Xe(j.guard)?V=!!M(j.guard):l0(j.guard)&&(V=j.guard(z())),V}),H=P=>{gl(t.computed,()=>"[zag-js] No computed object found on machine");let j=t.computed[P];return j({context:h,event:g(),prop:o,refs:f,scope:r,computed:H})},x=xl(()=>({defaultValue:k9(t,t.initialState({prop:o})),onChange(P,j){let{exiting:V,entering:A}=HM(t,j,P,d.current?.reenter);if(V.forEach(E=>{c.current.get(E.path)?.(),c.current.delete(E.path)}),V.forEach(E=>{v(E.state?.exit)}),v(d.current?.actions),A.forEach(E=>{let y=m(E.state?.effects);if(y){let F=c.current.get(E.path);c.current.set(E.path,F?sl(F,y):y)}}),j===ul){v(t.entry);let E=m(t.effects);if(E){let y=c.current.get(ul);c.current.set(ul,y?sl(y,E):E)}}A.forEach(E=>{v(E.state?.entry)})}})),B=(0,H0.useRef)(void 0),C=(0,H0.useRef)(Ea.NotStarted);ph(()=>{queueMicrotask(()=>{let j=C.current===Ea.Started;C.current=Ea.Started,e(j?"rehydrating...":"initializing...");let V=B.current??x.initial;x.invoke(V,j?x.get():ul)});let P=c.current;return()=>{let j=S();e("unmounting..."),B.current=j,C.current=Ea.Stopped,P.forEach(V=>V?.()),c.current=new Map,d.current=null,queueMicrotask(()=>{v(t.exit),C.current=Ea.Stopped})}},[]);let S=()=>"ref"in x?x.ref.current:x.get(),k=P=>{queueMicrotask(()=>{if(C.current!==Ea.Started)return;s.current=p.current,p.current=P;let j=S(),{transitions:V,source:A}=bM(t,j,P.type),E=L(V);if(!E)return;d.current=E;let y=k9(t,E.target??j,A);e("transition",P.type,E.target||j,`(${E.actions})`),y!==j?(0,y9.flushSync)(()=>x.set(y)):E.reenter?x.invoke(j,j):v(E.actions??[])})};return t.watch?.(z()),{state:u(),send:k,context:h,prop:o,scope:r,refs:f,computed:H,event:g(),getStatus:()=>C.current}}function JM(t){let a=(0,H0.useRef)(t);return a.current=t,a}function wW(t){let a=JM(t);return function(e){return a.current[e]}}function ZM(t){queueMicrotask(()=>{(0,y9.flushSync)(()=>t())})}function tf(t){return new Proxy({},{get(a,r){return r==="style"?e=>t({style:e}).style:t}})}var vh=tf(t=>t);function S9(t,a){let{state:r,send:e,context:i}=t,o=r.matches("mounted","unmountSuspended");return{skip:!i.get("initial"),present:o,setNode(l){l&&e({type:"NODE.SET",node:l})},unmount(){e({type:"UNMOUNT"})}}}var W9=oh({props({props:t}){return{...t,present:!!t.present}},initialState({prop:t}){return t("present")?"mounted":"unmounted"},refs(){return{node:null,styles:null}},context({bindable:t}){return{unmountAnimationName:t(()=>({defaultValue:null})),prevAnimationName:t(()=>({defaultValue:null})),present:t(()=>({defaultValue:!1})),initial:t(()=>({sync:!0,defaultValue:!1}))}},exit:["cleanupNode"],watch({track:t,prop:a,send:r}){t([()=>a("present")],()=>{r({type:"PRESENCE.CHANGED"})})},on:{"NODE.SET":{actions:["setupNode"]},"PRESENCE.CHANGED":{actions:["setInitial","syncPresence"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}},unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:t})=>{t.get("initial")||queueMicrotask(()=>{t.set("initial",!0)})},invokeOnExitComplete:({prop:t,refs:a})=>{t("onExitComplete")?.();let r=a.get("node");if(!r)return;let e=V1(r),i=new e.CustomEvent("exitcomplete",{bubbles:!1});r.dispatchEvent(i)},setupNode:({refs:t,event:a})=>{t.get("node")!==a.node&&(t.set("node",a.node),t.set("styles",Ze(a.node)))},cleanupNode:({refs:t})=>{t.set("node",null),t.set("styles",null)},syncPresence:({context:t,refs:a,send:r,prop:e})=>{let i=e("present");if(i)return r({type:"MOUNT",src:"presence.changed"});let o=a.get("node");if(!i&&o?.ownerDocument.visibilityState==="hidden")return r({type:"UNMOUNT",src:"visibilitychange"});ml(()=>{if(e("present"))return;let l=uh(a.get("styles"));t.set("unmountAnimationName",l),l==="none"||l===t.get("prevAnimationName")||a.get("styles")?.display==="none"||a.get("styles")?.animationDuration==="0s"?r({type:"UNMOUNT",src:"presence.changed"}):r({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName:({context:t,refs:a})=>{ml(()=>{t.set("prevAnimationName",uh(a.get("styles")))})},clearPrevAnimationName:({context:t})=>{t.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:t,refs:a,send:r,prop:e})=>{let i=a.get("node");if(!i)return;let o=c=>{(c.composedPath?.()?.[0]??c.target)===i&&t.set("prevAnimationName",uh(a.get("styles")))},l=c=>{let d=uh(a.get("styles"));Je(c)===i&&d===t.get("unmountAnimationName")&&!e("present")&&r({type:"UNMOUNT",src:"animationend"})},n=c=>{Je(c)===i&&!e("present")&&r({type:"UNMOUNT",src:"animationcancel"})};i.addEventListener("animationstart",o),i.addEventListener("animationcancel",n),i.addEventListener("animationend",l);let h=UM(i,{animationFillMode:"forwards"});return()=>{i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",l),FM(()=>h())}}}}});function uh(t){return t?.animationName||"none"}var Mh=(t={})=>{let{lazyMount:a,unmountOnExit:r,present:e,skipAnimationOnMount:i=!1,...o}=t,l=(0,af.useRef)(!1),n={...o,present:e,onExitComplete:$M(t.onExitComplete)},h=gh(W9,n),c=S9(h,vh);c.present&&(l.current=!0);let d=!c.present&&!l.current&&a||r&&!c.present&&l.current,s=()=>({"data-state":c.skip&&i?void 0:e?"open":"closed",hidden:!c.present});return{ref:c.setNode,getPresenceProps:s,present:c.present,unmounted:d}};var[fh,mh]=F2({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"});var{withContext:CW,PropsProvider:Yq}=b0({key:"text"}),et=CW("p");var q=(t,a=[])=>({parts:(...r)=>{if(BW(a))return q(t,r);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...r)=>q(t,[...a,...r]),omit:(...r)=>q(t,a.filter(e=>!r.includes(e))),rename:r=>q(r,a),keys:()=>a,build:()=>[...new Set(a)].reduce((r,e)=>Object.assign(r,{[e]:{selector:[`&[data-scope="${ri(t)}"][data-part="${ri(e)}"]`,`& [data-scope="${ri(t)}"][data-part="${ri(e)}"]`].join(", "),attrs:{"data-scope":ri(t),"data-part":ri(e)}}}),{})}),ri=t=>t.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),BW=t=>t.length===0;var ei=q("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),a$=ei.build();var ii=q("avatar").parts("root","image","fallback"),c$=ii.build();var xh=q("carousel").parts("root","itemGroup","item","control","nextTrigger","prevTrigger","indicatorGroup","indicator","autoplayTrigger","progressText"),f$=xh.build();var j9=xh.extendWith("progressText","autoplayIndicator");var zh=q("checkbox").parts("root","label","control","indicator"),H$=zh.build();function VW(t){return!(t.metaKey||!C9()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}var TW=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function yW(t,a,r){let e=r?Je(r):null,i=I2(e),o=V1(e),l=fl(i);return t=t||l instanceof o.HTMLInputElement&&!TW.has(l?.type)||l instanceof o.HTMLTextAreaElement||l instanceof o.HTMLElement&&l.isContentEditable,!(t&&a==="keyboard"&&r instanceof o.KeyboardEvent&&!Reflect.has(SW,r.key))}var xr=null,O9=new Set,kh=new Map,zr=!1,A9=!1,rf=!1,SW={Tab:!0,Escape:!0};function P9(t,a){for(let r of O9)r(t,a)}function Lh(t){zr=!0,VW(t)&&(xr="keyboard",P9("keyboard",t))}function N2(t){xr="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(zr=!0,P9("pointer",t))}function ef(t){EM(t)&&(zr=!0,xr="virtual")}function of(t){let a=Je(t);a===V1(a)||a===I2(a)||rf||!t.isTrusted||(!zr&&!A9&&(xr="virtual",P9("virtual",t)),zr=!1,A9=!1)}function lf(){rf||(zr=!1,A9=!0)}function WW(t){if(typeof window>"u"||kh.get(V1(t)))return;let a=V1(t),r=I2(t),e=a.HTMLElement.prototype.focus;function i(){zr=!0,e.apply(this,arguments)}try{Object.defineProperty(a.HTMLElement.prototype,"focus",{configurable:!0,value:i})}catch{}r.addEventListener("keydown",Lh,!0),r.addEventListener("keyup",Lh,!0),r.addEventListener("click",ef,!0),a.addEventListener("focus",of,!0),a.addEventListener("blur",lf,!1),typeof a.PointerEvent<"u"?(r.addEventListener("pointerdown",N2,!0),r.addEventListener("pointermove",N2,!0),r.addEventListener("pointerup",N2,!0)):(r.addEventListener("mousedown",N2,!0),r.addEventListener("mousemove",N2,!0),r.addEventListener("mouseup",N2,!0)),a.addEventListener("beforeunload",()=>{jW(t)},{once:!0}),kh.set(a,{focus:e})}var jW=(t,a)=>{let r=V1(t),e=I2(t);a&&e.removeEventListener("DOMContentLoaded",a);let i=kh.get(r);if(i){try{Object.defineProperty(r.HTMLElement.prototype,"focus",{configurable:!0,value:i.focus})}catch{}e.removeEventListener("keydown",Lh,!0),e.removeEventListener("keyup",Lh,!0),e.removeEventListener("click",ef,!0),r.removeEventListener("focus",of,!0),r.removeEventListener("blur",lf,!1),typeof r.PointerEvent<"u"?(e.removeEventListener("pointerdown",N2,!0),e.removeEventListener("pointermove",N2,!0),e.removeEventListener("pointerup",N2,!0)):(e.removeEventListener("mousedown",N2,!0),e.removeEventListener("mousemove",N2,!0),e.removeEventListener("mouseup",N2,!0)),kh.delete(r)}};function wh(){return xr==="keyboard"||xr==="virtual"}function nf(t={}){let{isTextInput:a,autoFocus:r,onChange:e,root:i}=t;WW(i),e?.({isFocusVisible:r||wh(),modality:xr});let o=(l,n)=>{yW(!!a,l,n)&&e?.({isFocusVisible:wh(),modality:l})};return O9.add(o),()=>{O9.delete(o)}}var E9=zh.extendWith("group");var oi=q("clipboard").parts("root","control","trigger","indicator","input","label"),A$=oi.build();var li=q("collapsible").parts("root","trigger","content","indicator"),N$=li.build();var bh=q("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]),Q$=bh.build();var df=["top","right","bottom","left"];var C0=Math.min,n0=Math.max,kl=Math.round,Ll=Math.floor,B0=t=>({x:t,y:t}),OW={left:"right",right:"left",bottom:"top",top:"bottom"};function R9(t,a,r){return n0(t,C0(a,r))}function V0(t,a){return typeof t=="function"?t(a):t}function Z0(t){return t.split("-")[0]}function kr(t){return t.split("-")[1]}function Ch(t){return t==="x"?"y":"x"}function Bh(t){return t==="y"?"height":"width"}function h0(t){let a=t[0];return a==="t"||a==="b"?"y":"x"}function Vh(t){return Ch(h0(t))}function sf(t,a,r){r===void 0&&(r=!1);let e=kr(t),i=Vh(t),o=Bh(i),l=i==="x"?e===(r?"end":"start")?"right":"left":e==="start"?"bottom":"top";return a.reference[o]>a.floating[o]&&(l=zl(l)),[l,zl(l)]}function pf(t){let a=zl(t);return[Hh(t),a,Hh(a)]}function Hh(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var hf=["left","right"],cf=["right","left"],AW=["top","bottom"],PW=["bottom","top"];function EW(t,a,r){switch(t){case"top":case"bottom":return r?a?cf:hf:a?hf:cf;case"left":case"right":return a?AW:PW;default:return[]}}function gf(t,a,r,e){let i=kr(t),o=EW(Z0(t),r==="start",e);return i&&(o=o.map(l=>l+"-"+i),a&&(o=o.concat(o.map(Hh)))),o}function zl(t){let a=Z0(t);return OW[a]+t.slice(a.length)}function RW(t){var a,r,e,i;return{top:(a=t.top)!=null?a:0,right:(r=t.right)!=null?r:0,bottom:(e=t.bottom)!=null?e:0,left:(i=t.left)!=null?i:0}}function _9(t){return typeof t!="number"?RW(t):{top:t,right:t,bottom:t,left:t}}function Lr(t){let{x:a,y:r,width:e,height:i}=t;return{width:e,height:i,top:r,left:a,right:a+e,bottom:r+i,x:a,y:r}}function vf(t,a,r){let{reference:e,floating:i}=t,o=h0(a),l=Vh(a),n=Bh(l),h=Z0(a),c=o==="y",d=e.x+e.width/2-i.width/2,s=e.y+e.height/2-i.height/2,p=e[n]/2-i[n]/2,g;switch(h){case"top":g={x:d,y:e.y-i.height};break;case"bottom":g={x:d,y:e.y+e.height};break;case"right":g={x:e.x+e.width,y:s};break;case"left":g={x:e.x-i.width,y:s};break;default:g={x:e.x,y:e.y}}let u=kr(a);return u&&(g[l]+=p*(u==="end"?1:-1)*(r&&c?-1:1)),g}async function ff(t,a){var r;a===void 0&&(a={});let{x:e,y:i,platform:o,rects:l,elements:n,strategy:h}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:s="floating",altBoundary:p=!1,padding:g=0}=V0(a,t),u=_9(g),z=n[p?s==="floating"?"reference":"floating":s],v=Lr(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(z)))==null||r?z:z.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(n.floating)),boundary:c,rootBoundary:d,strategy:h})),M=s==="floating"?{x:e,y:i,width:l.floating.width,height:l.floating.height}:l.reference,m=await(o.getOffsetParent==null?void 0:o.getOffsetParent(n.floating)),L=await(o.isElement==null?void 0:o.isElement(m))&&await(o.getScale==null?void 0:o.getScale(m))||{x:1,y:1},H=Lr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:n,rect:M,offsetParent:m,strategy:h}):M);return{top:(v.top-H.top+u.top)/L.y,bottom:(H.bottom-v.bottom+u.bottom)/L.y,left:(v.left-H.left+u.left)/L.x,right:(H.right-v.right+u.right)/L.x}}var _W=50,mf=async(t,a,r)=>{let{placement:e="bottom",strategy:i="absolute",middleware:o=[],platform:l}=r,n=l.detectOverflow?l:{...l,detectOverflow:ff},h=await(l.isRTL==null?void 0:l.isRTL(a)),c=await l.getElementRects({reference:t,floating:a,strategy:i}),{x:d,y:s}=vf(c,e,h),p=e,g=0,u={};for(let f=0;f<o.length;f++){let z=o[f];if(!z)continue;let{name:v,fn:M}=z,{x:m,y:L,data:H,reset:x}=await M({x:d,y:s,initialPlacement:e,placement:p,strategy:i,middlewareData:u,rects:c,platform:n,elements:{reference:t,floating:a}});d=m??d,s=L??s,u[v]={...u[v],...H},x&&g<_W&&(g++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(c=x.rects===!0?await l.getElementRects({reference:t,floating:a,strategy:i}):x.rects),{x:d,y:s}=vf(c,p,h)),f=-1)}return{x:d,y:s,placement:p,strategy:i,middlewareData:u}},xf=t=>({name:"arrow",options:t,async fn(a){let{x:r,y:e,placement:i,rects:o,platform:l,elements:n,middlewareData:h}=a,{element:c,padding:d=0}=V0(t,a)||{};if(c==null)return{};let s=_9(d),p={x:r,y:e},g=Vh(i),u=Bh(g),f=await l.getDimensions(c),z=g==="y",v=z?"top":"left",M=z?"bottom":"right",m=z?"clientHeight":"clientWidth",L=o.reference[u]+o.reference[g]-p[g]-o.floating[u],H=p[g]-o.reference[g],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(c)),B=x?x[m]:0;(!B||!await(l.isElement==null?void 0:l.isElement(x)))&&(B=n.floating[m]||o.floating[u]);let C=L/2-H/2,S=B/2-f[u]/2-1,k=C0(s[v],S),P=C0(s[M],S),j=B-f[u]-P,V=B/2-f[u]/2+C,A=R9(k,V,j),E=!h.arrow&&kr(i)!=null&&V!==A&&o.reference[u]/2-(V<k?k:P)-f[u]/2<0,y=E?V<k?V-k:V-j:0;return{[g]:p[g]+y,data:{[g]:A,centerOffset:V-A-y,...E&&{alignmentOffset:y}},reset:E}}});var zf=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(a){var r,e;let{placement:i,middlewareData:o,rects:l,initialPlacement:n,platform:h,elements:c}=a,{mainAxis:d=!0,crossAxis:s=!0,fallbackPlacements:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:f=!0,...z}=V0(t,a);if((r=o.arrow)!=null&&r.alignmentOffset)return{};let v=Z0(i),M=h0(n),m=Z0(n)===n,L=await(h.isRTL==null?void 0:h.isRTL(c.floating)),H=p||(m||!f?[zl(n)]:pf(n)),x=u!=="none";!p&&x&&H.push(...gf(n,f,u,L));let B=[n,...H],C=await h.detectOverflow(a,z),S=[],k=((e=o.flip)==null?void 0:e.overflows)||[];if(d&&S.push(C[v]),s){let A=sf(i,l,L);S.push(C[A[0]],C[A[1]])}if(k=[...k,{placement:i,overflows:S}],!S.every(A=>A<=0)){var P,j;let A=(((P=o.flip)==null?void 0:P.index)||0)+1,E=B[A];if(E&&(!(s==="alignment"?M!==h0(E):!1)||k.every(N=>h0(N.placement)===M?N.overflows[0]>0:!0)))return{data:{index:A,overflows:k},reset:{placement:E}};let y=(j=k.filter(F=>F.overflows[0]<=0).sort((F,N)=>F.overflows[1]-N.overflows[1])[0])==null?void 0:j.placement;if(!y)switch(g){case"bestFit":{var V;let F=(V=k.filter(N=>{if(x){let X=h0(N.placement);return X===M||X==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(X=>X>0).reduce((X,b)=>X+b,0)]).sort((N,X)=>N[1]-X[1])[0])==null?void 0:V[0];F&&(y=F);break}case"initialPlacement":y=n;break}if(i!==y)return{reset:{placement:y}}}return{}}}};function uf(t,a){return{top:t.top-a.height,right:t.right-a.width,bottom:t.bottom-a.height,left:t.left-a.width}}function Mf(t){return df.some(a=>t[a]>=0)}var kf=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(a){let{rects:r,platform:e}=a,{strategy:i="referenceHidden",...o}=V0(t,a);switch(i){case"referenceHidden":{let l=await e.detectOverflow(a,{...o,elementContext:"reference"}),n=uf(l,r.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:Mf(n)}}}case"escaped":{let l=await e.detectOverflow(a,{...o,altBoundary:!0}),n=uf(l,r.floating);return{data:{escapedOffsets:n,escaped:Mf(n)}}}default:return{}}}}};var Lf=new Set(["left","top"]);async function FW(t,a){let{placement:r,platform:e,elements:i}=t,o=await(e.isRTL==null?void 0:e.isRTL(i.floating)),l=Z0(r),n=kr(r),h=h0(r)==="y",c=Lf.has(l)?-1:1,d=o&&h?-1:1,s=V0(a,t),{mainAxis:p,crossAxis:g,alignmentAxis:u}=typeof s=="number"?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return n&&typeof u=="number"&&(g=n==="end"?u*-1:u),h?{x:g*d,y:p*c}:{x:p*c,y:g*d}}var wf=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(a){var r,e;let{x:i,y:o,placement:l,middlewareData:n}=a,h=await FW(a,t);return l===((r=n.offset)==null?void 0:r.placement)&&(e=n.arrow)!=null&&e.alignmentOffset?{}:{x:i+h.x,y:o+h.y,data:{...h,placement:l}}}}},bf=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(a){let{x:r,y:e,placement:i,platform:o}=a,{mainAxis:l=!0,crossAxis:n=!1,limiter:h={fn:M=>{let{x:m,y:L}=M;return{x:m,y:L}}},...c}=V0(t,a),d={x:r,y:e},s=await o.detectOverflow(a,c),p=h0(i),g=Ch(p),u=d[g],f=d[p],z=(M,m)=>R9(m+s[M==="y"?"top":"left"],m,m-s[M==="y"?"bottom":"right"]);l&&(u=z(g,u)),n&&(f=z(p,f));let v=h.fn({...a,[g]:u,[p]:f});return{...v,data:{x:v.x-r,y:v.y-e,enabled:{[g]:l,[p]:n}}}}}},Hf=function(t){return t===void 0&&(t={}),{options:t,fn(a){var r,e;let{x:i,y:o,placement:l,rects:n,middlewareData:h}=a,{offset:c=0,mainAxis:d=!0,crossAxis:s=!0}=V0(t,a),p={x:i,y:o},g=h0(l),u=Ch(g),f=p[u],z=p[g],v=V0(c,a),M=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:(r=v.mainAxis)!=null?r:0,crossAxis:(e=v.crossAxis)!=null?e:0};if(d){let H=u==="y"?"height":"width",x=n.reference[u]-n.floating[H]+M.mainAxis,B=n.reference[u]+n.reference[H]-M.mainAxis;f<x?f=x:f>B&&(f=B)}if(s){var m,L;let H=u==="y"?"width":"height",x=Lf.has(Z0(l)),B=n.reference[g]-n.floating[H]+(x&&((m=h.offset)==null?void 0:m[g])||0)+(x?0:M.crossAxis),C=n.reference[g]+n.reference[H]+(x?0:((L=h.offset)==null?void 0:L[g])||0)-(x?M.crossAxis:0);z<B?z=B:z>C&&(z=C)}return{[u]:f,[g]:z}}}},Cf=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(a){let{placement:r,rects:e,platform:i,elements:o}=a,{apply:l=()=>{},...n}=V0(t,a),h=await i.detectOverflow(a,n),c=Z0(r),d=kr(r),s=h0(r)==="y",{width:p,height:g}=e.floating,u,f;c==="top"||c==="bottom"?(u=c,f=d===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(f=c,u=d==="end"?"top":"bottom");let z=g-h.top-h.bottom,v=p-h.left-h.right,M=C0(g-h[u],z),m=C0(p-h[f],v),L=a.middlewareData.shift,H=!L,x=M,B=m;L!=null&&L.enabled.x&&(B=v),L!=null&&L.enabled.y&&(x=z),H&&!d&&(s?B=p-2*n0(h.left,h.right):x=g-2*n0(h.top,h.bottom)),await l({...a,availableWidth:B,availableHeight:x});let C=await i.getDimensions(o.floating);return p!==C.width||g!==C.height?{reset:{rects:!0}}:{}}}};function Th(){return typeof window<"u"}function br(t){return Vf(t)?(t.nodeName||"").toLowerCase():"#document"}function e2(t){var a;return(t==null||(a=t.ownerDocument)==null?void 0:a.defaultView)||window}function T0(t){var a;return(a=(Vf(t)?t.ownerDocument:t.document)||window.document)==null?void 0:a.documentElement}function Vf(t){return Th()?t instanceof Node||t instanceof e2(t).Node:!1}function c0(t){return Th()?t instanceof Element||t instanceof e2(t).Element:!1}function J0(t){return Th()?t instanceof HTMLElement||t instanceof e2(t).HTMLElement:!1}function Bf(t){return!Th()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof e2(t).ShadowRoot}function wl(t){let{overflow:a,overflowX:r,overflowY:e,display:i}=d0(t);return/auto|scroll|overlay|hidden|clip/.test(a+e+r)&&i!=="inline"&&i!=="contents"}function Tf(t){return/^(table|td|th)$/.test(br(t))}function bl(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var IW=/transform|translate|scale|rotate|perspective|filter/,DW=/paint|layout|strict|content/,wr=t=>!!t&&t!=="none",F9;function yh(t){let a=c0(t)?d0(t):t;return wr(a.transform)||wr(a.translate)||wr(a.scale)||wr(a.rotate)||wr(a.perspective)||!Sh()&&(wr(a.backdropFilter)||wr(a.filter))||IW.test(a.willChange||"")||DW.test(a.contain||"")}function yf(t){let a=Fa(t);for(;J0(a)&&!hi(a);){if(yh(a))return a;if(bl(a))return null;a=Fa(a)}return null}function Sh(){return F9==null&&(F9=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),F9}function hi(t){return/^(html|body|#document)$/.test(br(t))}function d0(t){return e2(t).getComputedStyle(t)}function Hl(t){return c0(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Fa(t){if(br(t)==="html")return t;let a=t.assignedSlot||t.parentNode||Bf(t)&&t.host||T0(t);return Bf(a)?a.host:a}function Sf(t){let a=Fa(t);return hi(a)?(t.ownerDocument||t).body:J0(a)&&wl(a)?a:Sf(a)}function ni(t,a,r){var e;a===void 0&&(a=[]),r===void 0&&(r=!0);let i=Sf(t),o=i===((e=t.ownerDocument)==null?void 0:e.body),l=e2(i);if(o){let n=Wh(l);return a.concat(l,l.visualViewport||[],wl(i)?i:[],n&&r?ni(n):[])}else return a.concat(i,ni(i,[],r))}function Wh(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Of(t){let a=d0(t),r=parseFloat(a.width)||0,e=parseFloat(a.height)||0,i=J0(t),o=i?t.offsetWidth:r,l=i?t.offsetHeight:e,n=kl(r)!==o||kl(e)!==l;return n&&(r=o,e=l),{width:r,height:e,$:n}}function D9(t){return c0(t)?t:t.contextElement}function ci(t){let a=D9(t);if(!J0(a))return B0(1);let r=a.getBoundingClientRect(),{width:e,height:i,$:o}=Of(a),l=(o?kl(r.width):r.width)/e,n=(o?kl(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!n||!Number.isFinite(n))&&(n=1),{x:l,y:n}}var NW=B0(0);function Af(t){let a=e2(t);return!Sh()||!a.visualViewport?NW:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function UW(t,a,r){return a===void 0&&(a=!1),!!r&&a&&r===e2(t)}function Hr(t,a,r,e){a===void 0&&(a=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),o=D9(t),l=B0(1);a&&(e?c0(e)&&(l=ci(e)):l=ci(t));let n=UW(o,r,e)?Af(o):B0(0),h=(i.left+n.x)/l.x,c=(i.top+n.y)/l.y,d=i.width/l.x,s=i.height/l.y;if(o&&e){let p=e2(o),g=c0(e)?e2(e):e,u=p,f=Wh(u);for(;f&&g!==u;){let z=ci(f),v=f.getBoundingClientRect(),M=d0(f),m=v.left+(f.clientLeft+parseFloat(M.paddingLeft))*z.x,L=v.top+(f.clientTop+parseFloat(M.paddingTop))*z.y;h*=z.x,c*=z.y,d*=z.x,s*=z.y,h+=m,c+=L,u=e2(f),f=Wh(u)}}return Lr({width:d,height:s,x:h,y:c})}function jh(t,a){let r=Hl(t).scrollLeft;return a?a.left+r:Hr(T0(t)).left+r}function Pf(t,a){let r=t.getBoundingClientRect(),e=r.left+a.scrollLeft-jh(t,r),i=r.top+a.scrollTop;return{x:e,y:i}}function GW(t){let{elements:a,rect:r,offsetParent:e,strategy:i}=t,o=i==="fixed",l=T0(e),n=a?bl(a.floating):!1;if(e===l||n&&o)return r;let h={scrollLeft:0,scrollTop:0},c=B0(1),d=B0(0),s=J0(e);if((s||!o)&&((br(e)!=="body"||wl(l))&&(h=Hl(e)),s)){let g=Hr(e);c=ci(e),d.x=g.x+e.clientLeft,d.y=g.y+e.clientTop}let p=l&&!s&&!o?Pf(l,h):B0(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-h.scrollLeft*c.x+d.x+p.x,y:r.y*c.y-h.scrollTop*c.y+d.y+p.y}}function qW(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function $W(t){let a=Hl(t),r=t.ownerDocument.body,e=n0(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=n0(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-a.scrollLeft+jh(t),l=-a.scrollTop;return d0(r).direction==="rtl"&&(o+=n0(t.clientWidth,r.clientWidth)-e),{width:e,height:i,x:o,y:l}}var KW=25;function YW(t,a,r){r===void 0&&(r="viewport");let e=r==="layoutViewport",i=e2(t),o=T0(t),l=i.visualViewport,n=o.clientWidth,h=o.clientHeight,c=0,d=0;if(l){let p=!Sh()||a==="fixed";e?p||(c=-l.offsetLeft,d=-l.offsetTop):(n=l.width,h=l.height,p&&(c=l.offsetLeft,d=l.offsetTop))}if(jh(o)<=0){let p=o.ownerDocument,g=p.body,u=getComputedStyle(g),f=p.compatMode==="CSS1Compat"&&parseFloat(u.marginLeft)+parseFloat(u.marginRight)||0,z=Math.abs(o.clientWidth-g.clientWidth-f),v=getComputedStyle(o).scrollbarGutter==="stable both-edges"?z/2:z;v<=KW&&(n-=v)}return{width:n,height:h,x:c,y:d}}function XW(t,a){let r=Hr(t,!0,a==="fixed"),e=r.top+t.clientTop,i=r.left+t.clientLeft,o=ci(t),l=t.clientWidth*o.x,n=t.clientHeight*o.y,h=i*o.x,c=e*o.y;return{width:l,height:n,x:h,y:c}}function Wf(t,a,r){let e;if(a==="viewport"||a==="layoutViewport")e=YW(t,r,a);else if(a==="document")e=$W(T0(t));else if(c0(a))e=XW(a,r);else{let i=Af(t);e={x:a.x-i.x,y:a.y-i.y,width:a.width,height:a.height}}return Lr(e)}function QW(t,a){let r=a.get(t);if(r)return r;let e=ni(t,[],!1).filter(n=>c0(n)&&br(n)!=="body"),i=null,o=d0(t).position==="fixed",l=o?Fa(t):t;for(;c0(l)&&!hi(l);){let n=d0(l),h=yh(l),c=i?i.position:o?"fixed":"";!h&&(c==="fixed"||c==="absolute"&&n.position==="static")?e=e.filter(s=>s!==l):i=n,l=Fa(l)}return a.set(t,e),e}function ZW(t){let{element:a,boundary:r,rootBoundary:e,strategy:i}=t,l=[...r==="clippingAncestors"?bl(a)?[]:QW(a,this._c):[].concat(r),e],n=Wf(a,l[0],i),h=n.top,c=n.right,d=n.bottom,s=n.left;for(let p=1;p<l.length;p++){let g=Wf(a,l[p],i);h=n0(g.top,h),c=C0(g.right,c),d=C0(g.bottom,d),s=n0(g.left,s)}return{width:c-s,height:d-h,x:s,y:h}}function JW(t){let{width:a,height:r}=Of(t);return{width:a,height:r}}function tj(t,a,r){let e=J0(a),i=T0(a),o=r==="fixed",l=Hr(t,!0,o,a),n={scrollLeft:0,scrollTop:0},h=B0(0);if((e||!o)&&((br(a)!=="body"||wl(i))&&(n=Hl(a)),e)){let p=Hr(a,!0,o,a);h.x=p.x+a.clientLeft,h.y=p.y+a.clientTop}!e&&i&&(h.x=jh(i));let c=i&&!e&&!o?Pf(i,n):B0(0),d=l.left+n.scrollLeft-h.x-c.x,s=l.top+n.scrollTop-h.y-c.y;return{x:d,y:s,width:l.width,height:l.height}}function I9(t){return d0(t).position==="static"}function jf(t,a){if(!J0(t)||d0(t).position==="fixed")return null;if(a)return a(t);let r=t.offsetParent;return T0(t)===r&&(r=r.ownerDocument.body),r}function Ef(t,a){let r=e2(t);if(bl(t))return r;if(!J0(t)){let i=Fa(t);for(;i&&!hi(i);){if(c0(i)&&!I9(i))return i;i=Fa(i)}return r}let e=jf(t,a);for(;e&&Tf(e)&&I9(e);)e=jf(e,a);return e&&hi(e)&&I9(e)&&!yh(e)?r:e||yf(t)||r}var aj=async function(t){let a=this.getOffsetParent||Ef,r=this.getDimensions,e=await r(t.floating);return{reference:tj(t.reference,await a(t.floating),t.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function rj(t){return d0(t).direction==="rtl"}var ej={convertOffsetParentRelativeRectToViewportRelativeRect:GW,getDocumentElement:T0,getClippingRect:ZW,getOffsetParent:Ef,getElementRects:aj,getClientRects:qW,getDimensions:JW,getScale:ci,isElement:c0,isRTL:rj};function Rf(t,a){return t.x===a.x&&t.y===a.y&&t.width===a.width&&t.height===a.height}function ij(t,a,r){let e=null,i,o=T0(t);function l(){var d;clearTimeout(i),(d=e)==null||d.disconnect(),e=null}function n(d,s){d===void 0&&(d=!1),s===void 0&&(s=1),l();let p=t.getBoundingClientRect(),{left:g,top:u,width:f,height:z}=p;if(d||a(),!f||!z)return;let v=Ll(u),M=Ll(o.clientWidth-(g+f)),m=Ll(o.clientHeight-(u+z)),L=Ll(g),x={rootMargin:-v+"px "+-M+"px "+-m+"px "+-L+"px",threshold:n0(0,C0(1,s))||1},B=!0;function C(S){let k=S[0].intersectionRatio;if(!Rf(p,t.getBoundingClientRect()))return n();if(k!==s){if(!B)return n();k?n(!1,k):i=setTimeout(()=>{n(!1,1e-7)},1e3)}B=!1}try{e=new IntersectionObserver(C,{...x,root:o.ownerDocument})}catch{e=new IntersectionObserver(C,x)}e.observe(t)}let h=e2(t),c=()=>n(r);return h.addEventListener("resize",c),n(!0),()=>{h.removeEventListener("resize",c),l()}}function _f(t,a,r,e){e===void 0&&(e={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:n=typeof IntersectionObserver=="function",animationFrame:h=!1}=e,c=D9(t),d=i||o?[...c?ni(c):[],...a?ni(a):[]]:[];d.forEach(v=>{i&&v.addEventListener("scroll",r),o&&v.addEventListener("resize",r)});let s=c&&n?ij(c,r,o):null,p=-1,g=null;l&&(g=new ResizeObserver(v=>{let[M]=v;M&&M.target===c&&g&&a&&(g.unobserve(a),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var m;(m=g)==null||m.observe(a)})),r()}),c&&!h&&g.observe(c),a&&g.observe(a));let u,f=h?Hr(t):null;h&&z();function z(){let v=Hr(t);f&&!Rf(f,v)&&r(),f=v,u=requestAnimationFrame(z)}return r(),()=>{var v;d.forEach(M=>{i&&M.removeEventListener("scroll",r),o&&M.removeEventListener("resize",r)}),s?.(),(v=g)==null||v.disconnect(),g=null,h&&cancelAnimationFrame(u)}}var Ff=wf;var If=bf,Df=zf,Nf=Cf,Uf=kf,Gf=xf;var qf=Hf,$f=(t,a,r)=>{let e=new Map,i=r??{},o={...ej,...i.platform,_c:e};return mf(t,a,{...i,platform:o})};function Kf(t=0,a=0,r=0,e=0){if(typeof DOMRect=="function")return new DOMRect(t,a,r,e);let i={x:t,y:a,width:r,height:e,top:a,right:t+r,bottom:a+e,left:t};return{...i,toJSON:()=>i}}function oj(t){if(!t)return Kf();let{x:a,y:r,width:e,height:i}=t;return Kf(a,r,e,i)}function Yf(t,a){return{contextElement:Ra(t)?t:t?.contextElement,getBoundingClientRect:()=>{let r=t,e=a?.(r);return e||!r?oj(e):r.getBoundingClientRect()}}}var Cl=t=>({variable:t,reference:`var(${t})`}),y0={arrowSize:Cl("--arrow-size"),arrowSizeHalf:Cl("--arrow-size-half"),arrowBg:Cl("--arrow-background"),transformOrigin:Cl("--transform-origin"),arrowOffset:Cl("--arrow-offset")},lj=t=>t==="top"||t==="bottom"?"y":"x";function Xf(t,a){return{name:"transformOrigin",fn(r){let{elements:e,middlewareData:i,placement:o,rects:l,y:n}=r,h=o.split("-")[0],c=lj(h),d=i.arrow?.x||0,s=i.arrow?.y||0,p=a?.clientWidth||0,g=a?.clientHeight||0,u=d+p/2,f=s+g/2,z=Math.abs(i.shift?.y||0),v=l.reference.height/2,M=g/2,m=t.offset?.mainAxis??t.gutter,L=typeof m=="number"?m+M:m??M,H=z>L,x={top:`${u}px calc(100% + ${L}px)`,bottom:`${u}px ${-L}px`,left:`calc(100% + ${L}px) ${f}px`,right:`${-L}px ${f}px`}[h],B=`${u}px ${l.reference.y+v-n}px`,C=!!t.overlap&&c==="y"&&H;return e.floating.style.setProperty(y0.transformOrigin.variable,C?B:x),{data:{transformOrigin:C?B:x}}}}}var Qf={name:"rects",fn({rects:t}){return{data:t}}},Zf=t=>{if(t)return{name:"shiftArrow",fn({placement:a,middlewareData:r}){if(!r.arrow)return{};let{x:e,y:i}=r.arrow,o=a.split("-")[0];return Object.assign(t.style,{left:e!=null?`${e}px`:"",top:i!=null?`${i}px`:"",[o]:`calc(100% + ${y0.arrowOffset.reference})`}),{}}}};function Jf(t){let[a,r]=t.split("-");return{side:a,align:r,hasAlign:r!=null}}function N9(t){return t.split("-")[0]}var nj={strategy:"absolute",placement:"bottom",listeners:!0,restoreStyles:!1,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function tm(t,a){let r=t.devicePixelRatio||1;return Math.round(a*r)/r}function di(t,a){return t!=null&&Math.abs(t-a)<.5}function Oh(t){return typeof t=="function"?t():t==="clipping-ancestors"?"clippingAncestors":t}function hj(t,a,r){let e=t||a.createElement("div");return Gf({element:e,padding:r.arrowPadding})}function cj(t,a){if(!pM(a.offset??a.gutter))return Ff(({placement:r})=>{let e=(t?.clientHeight||0)/2,i=a.offset?.mainAxis??a.gutter,o=typeof i=="number"?i+e:i??e,{hasAlign:l}=Jf(r),n=l?void 0:a.shift,h=a.offset?.crossAxis??n;return pl({crossAxis:h,mainAxis:o,alignmentAxis:a.shift})})}function dj(t){if(t.flip)return Df(()=>{let a=Oh(t.boundary);return{...a?{boundary:a}:void 0,padding:t.overflowPadding,fallbackPlacements:t.flip===!0?void 0:t.flip}})}function sj(t){if(!(!t.slide&&!t.overlap))return If(()=>{let a=Oh(t.boundary);return{...a?{boundary:a}:void 0,mainAxis:t.slide,crossAxis:t.overlap,padding:t.overflowPadding,limiter:qf()}})}function pj(t){if(t.sizeMiddleware===!1&&!t.sameWidth&&!t.fitViewport)return;let a,r,e,i;return Nf(()=>{let o=Oh(t.boundary);return{padding:t.overflowPadding,...o?{boundary:o}:void 0,apply({elements:l,rects:n,availableHeight:h,availableWidth:c}){let d=l.floating,s=Math.round(n.reference.width),p=Math.round(n.reference.height);c=Math.floor(c),h=Math.floor(h),di(a,s)||(d.style.setProperty("--reference-width",`${s}px`),a=s),di(r,p)||(d.style.setProperty("--reference-height",`${p}px`),r=p),di(e,c)||(d.style.setProperty("--available-width",`${c}px`),e=c),di(i,h)||(d.style.setProperty("--available-height",`${h}px`),i=h)}}})}function gj(t){if(t.hideWhenDetached)return Uf(()=>({strategy:"referenceHidden",boundary:Oh(t.boundary)??"clippingAncestors"}))}function vj(t){return t?t===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:t:{}}var uj=["transform","visibility","pointer-events","--x","--y","--z-index","--reference-width","--reference-height","--available-width","--available-height","--transform-origin"],Mj=["top","right","bottom","left"];function am(t,a){if(!t)return M9;let r=new Map(a.map(e=>[e,t.style.getPropertyValue(e)]));return()=>{r.forEach((e,i)=>{e?t.style.setProperty(i,e):t.style.removeProperty(i)}),t.style.length===0&&t.removeAttribute("style")}}function rm(t){return t==null?null:Ra(t)?t:typeof t=="object"&&t&&"contextElement"in t&&t.contextElement?t.contextElement:t}function fj(t,a,r={}){let e=()=>(typeof a=="function"?a():a)??null,i=()=>{let k=typeof t=="function"?t():t;return r.getAnchorElement?.()??k},o=()=>{let k=i();return!k&&!r.getAnchorRect?null:Yf(k,r.getAnchorRect)},l=Object.assign({},nj,r),n=[],h=null,c,d;function s(k){c?.(),d?.(),h=k,c=l.restoreStyles?am(k,uj):void 0;let P=k.querySelector("[data-part=arrow]");d=l.restoreStyles?am(P,Mj):void 0,n=[cj(P,l),dj(l),sj(l),hj(P,k.ownerDocument,l),Zf(P),Xf({gutter:l.gutter,offset:l.offset,overlap:l.overlap},P),pj(l),gj(l),Qf]}let{placement:p,strategy:g,onComplete:u,onPositioned:f}=l,z,v,M=!1,m,L,H=M9,x=vj(l.listeners);function B(){if(!l.listeners)return;let k=i(),P=o(),j=e();if(!P||!j)return;(rm(k)!==rm(m)||j!==L)&&(H(),m=k,L=j,H=_f(P,j,S,x))}async function C(){B();let k=e();if(!k)return;k!==h&&(s(k),M=!1);let P=o();if(!P)return;let j=await $f(P,k,{placement:p,middleware:n,strategy:g});u?.(j);let V=V1(k),A=tm(V,j.x),E=tm(V,j.y);if(di(z,A)||(k.style.setProperty("--x",`${A}px`),z=A),di(v,E)||(k.style.setProperty("--y",`${E}px`),v=E),l.hideWhenDetached&&(j.middlewareData.hide?.referenceHidden?(k.style.setProperty("visibility","hidden"),k.style.setProperty("pointer-events","none")):(k.style.removeProperty("visibility"),k.style.removeProperty("pointer-events"))),!M){let y=k.firstElementChild;y&&(k.style.setProperty("--z-index",Ze(y).zIndex),M=!0)}}async function S(){r.updatePosition?(await r.updatePosition({updatePosition:C,floatingElement:e()}),f?.({placed:!0})):await C()}return S(),()=>{H(),d?.(),c?.(),f?.({placed:!1})}}function Bl(t,a,r={}){let{defer:e,...i}=r,o=e?ml:n=>n(),l=[];return l.push(o(()=>{l.push(fj(t,a,i))})),()=>{l.forEach(n=>n?.())}}var mj={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function U9(t={}){let{placement:a,sameWidth:r,fitViewport:e,strategy:i="absolute"}=t;return{arrow:{position:"absolute",width:y0.arrowSize.reference,height:y0.arrowSize.reference,[y0.arrowSizeHalf.variable]:`calc(${y0.arrowSize.reference} / 2)`,[y0.arrowOffset.variable]:`calc(${y0.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:a?mj[a.split("-")[0]]:void 0,background:y0.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:i,isolation:"isolate",minWidth:r?void 0:"max-content",width:r?"var(--reference-width)":void 0,maxWidth:e?"var(--available-width)":void 0,maxHeight:e?"var(--available-height)":void 0,pointerEvents:a?void 0:"none",top:"0px",left:"0px",transform:a?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}var G9=bh.extendWith("view");var Ah=q("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger"),AK=Ah.build();var q9=Ah.extendWith("empty");var Ph=q("date-picker").parts("clearTrigger","content","control","input","label","monthSelect","nextTrigger","positioner","presetTrigger","prevTrigger","rangeText","root","table","tableBody","tableCell","tableCellTrigger","tableHead","tableHeader","tableRow","trigger","view","viewControl","viewTrigger","yearSelect"),NK=Ph.build();var $9=Ph.extendWith("view","valueText");var Cr=q("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),QK=Cr.build();var si=q("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control"),oY=si.build();var Eh=q("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator"),V2=Eh.build();var Rh=q("fieldset").parts("root","errorText","helperText","legend"),uY=Rh.build();var pi=q("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger"),mY=pi.build();var gi=q("floating-panel").parts("trigger","positioner","content","header","body","title","resizeTrigger","dragTrigger","stageTrigger","closeTrigger","control"),CY=gi.build();var vi=q("hoverCard").parts("arrow","arrowTip","trigger","positioner","content"),OY=vi.build();var _h=q("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText"),DY=_h.build();var K9=_h.extendWith("empty");var ui=q("marquee").parts("root","viewport","content","edge","item"),XY=ui.build();var Mi=q("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem"),iX=Mi.build();var fi=q("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber"),pX=fi.build();var mi=q("pinInput").parts("root","label","input","control"),zX=mi.build();var xi=q("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger"),VX=xi.build();var Ia=q("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange"),PX=Ia.build();var zi=q("qr-code").parts("root","frame","pattern","overlay","downloadTrigger"),UX=zi.build();var Da=q("radio-group").parts("root","label","item","itemText","itemControl","indicator"),ZX=Da.build();var ki=q("rating-group").parts("root","label","item","control"),lQ=ki.build();var Li=q("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner"),vQ=Li.build();var Fh=Da.rename("segment-group"),LQ=Fh.build();var wi=q("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText"),HQ=wi.build();var bi=q("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator"),jQ=bi.build();var Hi=q("splitter").parts("root","panel","resizeTrigger","resizeTriggerIndicator"),IQ=Hi.build();var Ci=q("switch").parts("root","label","control","thumb"),YQ=Ci.build();var Bi=q("tagsInput").parts("root","label","control","input","clearTrigger","item","itemPreview","itemInput","itemText","itemDeleteTrigger"),eZ=Bi.build();var em=t=>{if(!t)return;let a=Ze(t),r=V1(t),e=I2(t),i=()=>{requestAnimationFrame(()=>{t.style.height="auto";let c;a.boxSizing==="content-box"?c=t.scrollHeight-(parseFloat(a.paddingTop)+parseFloat(a.paddingBottom)):c=t.scrollHeight+parseFloat(a.borderTopWidth)+parseFloat(a.borderBottomWidth),a.maxHeight!=="none"&&c>parseFloat(a.maxHeight)?(a.overflowY==="hidden"&&(t.style.overflowY="scroll"),c=parseFloat(a.maxHeight)):a.overflowY!=="hidden"&&(t.style.overflowY="hidden"),t.style.height=`${c}px`})};t.addEventListener("input",i),t.form?.addEventListener("reset",i);let o=Object.getPrototypeOf(t),l=Object.getOwnPropertyDescriptor(o,"value");l&&Object.defineProperty(t,"value",{...l,set(c){let d=l.get?.call(this);l.set?.call(this,c),i(),d!==c&&queueMicrotask(()=>{t.dispatchEvent(new r.InputEvent("input",{bubbles:!0}))})}});let n=new r.ResizeObserver(()=>{requestAnimationFrame(()=>i())});n.observe(t);let h=new r.MutationObserver(()=>i());return h.observe(t,{attributes:!0,attributeFilter:["rows","placeholder"]}),e.fonts?.addEventListener("loadingdone",i),()=>{t.removeEventListener("input",i),t.form?.removeEventListener("reset",i),e.fonts?.removeEventListener("loadingdone",i),n.disconnect(),h.disconnect()}};var Vi=q("tooltip").parts("trigger","arrow","arrowTip","positioner","content"),Ti=Vi.build();var Ih=(t,a)=>{let r=t.ids?.trigger;return r!=null?l0(r)?r(a):r:a?`tooltip:${t.id}:trigger:${a}`:`tooltip:${t.id}:trigger`},im=t=>t.ids?.content??`tooltip:${t.id}:content`,om=t=>t.ids?.arrow??`tooltip:${t.id}:arrow`,Y9=t=>t.ids?.positioner??`tooltip:${t.id}:popper`,xj=t=>t.getById(Ih(t));var Dh=t=>t.getById(Y9(t));var zj=t=>NM(t.getRootNode(),`[data-scope="tooltip"][data-part="trigger"][data-ownedby="${t.id}"]`),yi=(t,a)=>a==null?xj(t)??zj(t)[0]:t.getById(Ih(t,a));var i2=MM({id:null,prevId:null,instant:!1});function X9(t,a){let{state:r,context:e,send:i,scope:o,prop:l,event:n}=t,h=l("id"),c=!!l("aria-label"),d=r.matches("open","closing"),s=e.get("triggerValue"),p=e.get("currentPlacement"),g=p?N9(p):void 0,u=im(o),f=l("disabled"),z=U9({...l("positioning"),placement:p});return{open:d,setOpen(v){r.matches("open","closing")!==v&&i({type:v?"open":"close"})},triggerValue:s,setTriggerValue(v){i({type:"triggerValue.set",value:v??void 0})},reposition(v={}){i({type:"positioning.set",options:v})},getTriggerProps(v={}){let{value:M}=v,m=M==null?!1:s===M,L=Ih(o,M);return a.button({...Ti.trigger.attrs,id:L,"data-ownedby":o.id,"data-value":M,"data-current":F1(m),dir:l("dir"),"data-expanded":F1(d),"data-state":d?"open":"closed","aria-describedby":d?u:void 0,onClick(H){if(H.defaultPrevented||f||!l("closeOnClick"))return;let x=d&&M!=null&&!m;i({type:x?"triggerValue.set":"close",src:"trigger.click",value:M,triggerId:L})},onFocus(H){if(H.defaultPrevented||f||!wh())return;let x=d&&M!=null&&!m;i({type:x?"triggerValue.set":"open",src:"trigger.focus",value:M,triggerId:L})},onBlur(H){if(H.defaultPrevented||f||h!==i2.get("id"))return;(H.relatedTarget??o.getDoc().activeElement)?.closest(`[data-ownedby="${o.id}"]`)!=null||i({type:"close",src:"trigger.blur",value:M,triggerId:L})},onPointerDown(H){H.defaultPrevented||f||RM(H)&&l("closeOnPointerDown")&&h===i2.get("id")&&i({type:"close",src:"trigger.pointerdown",value:M,triggerId:L})},onPointerMove(H){if(H.defaultPrevented||f||H.pointerType==="touch")return;let x=d&&M!=null&&!m;i({type:x?"triggerValue.set":"pointer.move",value:M,triggerId:L})},onPointerOver(H){H.defaultPrevented||f||H.pointerType!=="touch"&&i({type:"pointer.move",value:M,triggerId:L})},onPointerLeave(){f||i({type:"pointer.leave"})},onPointerCancel(){f||i({type:"pointer.leave"})}})},getArrowProps(){return a.element({id:om(o),...Ti.arrow.attrs,dir:l("dir"),style:z.arrow})},getArrowTipProps(){return a.element({...Ti.arrowTip.attrs,dir:l("dir"),style:z.arrowTip})},getPositionerProps(){return a.element({id:Y9(o),...Ti.positioner.attrs,dir:l("dir"),style:z.floating})},getContentProps(){let v=i2.get("id")===h,M=i2.get("prevId")===h,m=i2.get("instant")&&(d&&v||M);return a.element({...Ti.content.attrs,dir:l("dir"),hidden:!d,"data-state":d?"open":"closed","data-instant":F1(m),role:c?void 0:"tooltip",id:c?void 0:u,"data-placement":p,"data-side":g,onPointerEnter(){i({type:"content.pointer.move"})},onPointerLeave(){i({type:"content.pointer.leave"})},style:{pointerEvents:l("interactive")?"auto":"none"}})}}}var{and:kj,not:nm}=VM(),Q9=oh({initialState:({prop:t})=>t("open")||t("defaultOpen")?"open":"closed",props({props:t}){fM(t,["id"]);let a=t.closeOnClick??!0,r=t.closeOnPointerDown??a;return{openDelay:400,closeDelay:150,closeOnEscape:!0,interactive:!1,closeOnScroll:!0,disabled:!1,...t,closeOnPointerDown:r,closeOnClick:a,positioning:{placement:"bottom",...t.positioning}}},effects:["trackFocusVisible","trackStore"],context:({bindable:t,prop:a,scope:r})=>({currentPlacement:t(()=>({defaultValue:void 0})),hasPointerMoveOpened:t(()=>({defaultValue:null})),triggerValue:t(()=>({defaultValue:a("defaultTriggerValue")??null,value:a("triggerValue"),onChange(e){let i=a("onTriggerValueChange");if(!i)return;let o=yi(r,e);i({value:e,triggerElement:o})}}))}),watch({track:t,action:a,prop:r}){t([()=>r("disabled")],()=>{a(["closeIfDisabled"])}),t([()=>r("open")],()=>{a(["toggleVisibility"])}),t([()=>r("triggerValue")],()=>{a(["repositionImmediate"])})},on:{"triggerValue.set":{actions:["setTriggerValue","repositionImmediate"]}},states:{closed:{entry:["clearGlobalId"],on:{"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["setTriggerValue","invokeOnOpen"]},{target:"open",actions:["setTriggerValue","invokeOnOpen"]}],"pointer.leave":{actions:["clearPointerMoveOpened"]},"pointer.move":[{guard:kj("noVisibleTooltip",nm("hasPointerMoveOpened")),target:"opening",actions:["setTriggerValue"]},{guard:nm("hasPointerMoveOpened"),target:"open",actions:["setPointerMoveOpened","invokeOnOpen","setTriggerValue"]}]}},opening:{effects:["trackScroll","trackPointerlockChange","waitForOpenDelay"],on:{"after.openDelay":[{guard:"isOpenControlled",actions:["setPointerMoveOpened","invokeOnOpen"]},{target:"open",actions:["setPointerMoveOpened","invokeOnOpen"]}],"controlled.open":{target:"open"},"controlled.close":{target:"closed"},open:[{guard:"isOpenControlled",actions:["setTriggerValue","invokeOnOpen"]},{target:"open",actions:["setTriggerValue","invokeOnOpen"]}],"pointer.leave":[{guard:"isOpenControlled",actions:["clearPointerMoveOpened","invokeOnClose","toggleVisibility"]},{target:"closed",actions:["clearPointerMoveOpened","invokeOnClose"]}],close:[{guard:"isOpenControlled",actions:["invokeOnClose","toggleVisibility"]},{target:"closed",actions:["invokeOnClose"]}]}},open:{effects:["trackEscapeKey","trackScroll","trackPointerlockChange","trackPositioning"],entry:["setGlobalId"],on:{"controlled.close":{target:"closed"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"pointer.leave":[{guard:"isVisible",target:"closing",actions:["clearPointerMoveOpened"]},{guard:"isOpenControlled",actions:["clearPointerMoveOpened","invokeOnClose"]},{target:"closed",actions:["clearPointerMoveOpened","invokeOnClose"]}],"content.pointer.leave":{guard:"isInteractive",target:"closing"},"positioning.set":{actions:["reposition"]},"triggerValue.set":{target:"closing",actions:["setTriggerValue","immediateReopen"]}}},closing:{effects:["trackPositioning","waitForCloseDelay"],on:{"after.closeDelay":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"controlled.close":{target:"closed"},"controlled.open":{target:"open"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"pointer.move":[{guard:"isOpenControlled",actions:["setPointerMoveOpened","setTriggerValue","invokeOnOpen","toggleVisibility"]},{target:"open",actions:["setPointerMoveOpened","setTriggerValue","invokeOnOpen"]}],"triggerValue.set":{target:"open",actions:["setTriggerValue","repositionImmediate"]},reopen:{target:"open"},"content.pointer.move":{guard:"isInteractive",target:"open"},"positioning.set":{actions:["reposition"]}}}},implementations:{guards:{noVisibleTooltip:()=>i2.get("id")===null,isVisible:({prop:t})=>t("id")===i2.get("id"),isInteractive:({prop:t})=>!!t("interactive"),hasPointerMoveOpened:({context:t})=>!!t.get("hasPointerMoveOpened"),isOpenControlled:({prop:t})=>t("open")!==void 0},actions:{setGlobalId:({prop:t})=>{let a=i2.get("id"),r=a!==null&&a!==t("id");i2.update({id:t("id"),prevId:r?a:null,instant:r})},clearGlobalId:({prop:t})=>{t("id")===i2.get("id")&&i2.update({id:null,prevId:null,instant:!1})},invokeOnOpen:({prop:t})=>{t("onOpenChange")?.({open:!0})},invokeOnClose:({prop:t})=>{t("onOpenChange")?.({open:!1})},closeIfDisabled:({prop:t,send:a})=>{t("disabled")&&a({type:"close",src:"disabled.change"})},reposition:({context:t,event:a,prop:r,scope:e})=>{if(a.type!=="positioning.set")return;Bl(()=>yi(e,t.get("triggerValue")),()=>Dh(e),{...r("positioning"),...a.options,listeners:!1,onComplete(l){t.set("currentPlacement",l.placement)}})},repositionImmediate:({context:t,event:a,prop:r,scope:e})=>{let i=a.value??t.get("triggerValue");return Bl(()=>yi(e,i),()=>Dh(e),{...r("positioning"),onComplete(n){t.set("currentPlacement",n.placement)}})},toggleVisibility:({prop:t,event:a,send:r})=>{queueMicrotask(()=>{r({type:t("open")?"controlled.open":"controlled.close",previousEvent:a})})},setPointerMoveOpened:({context:t,event:a})=>{let r=a.triggerId??a.previousEvent?.triggerId;t.set("hasPointerMoveOpened",r??null)},clearPointerMoveOpened:({context:t})=>{t.set("hasPointerMoveOpened",null)},setTriggerValue:({context:t,event:a})=>{a.value!==void 0&&t.set("triggerValue",a.value)},immediateReopen:({send:t})=>{queueMicrotask(()=>{t({type:"reopen"})})}},effects:{trackFocusVisible:({scope:t})=>nf({root:t.getRootNode?.()}),trackPositioning:({context:t,prop:a,scope:r})=>(t.get("currentPlacement")||t.set("currentPlacement",a("positioning").placement),Bl(()=>yi(r,t.get("triggerValue")),()=>Dh(r),{...a("positioning"),defer:!0,onComplete(o){t.set("currentPlacement",o.placement)}})),trackPointerlockChange:({send:t,scope:a})=>{let r=a.getDoc();return nh(r,"pointerlockchange",()=>t({type:"close",src:"pointerlock:change"}),!1)},trackScroll:({send:t,prop:a,scope:r,context:e})=>{if(!a("closeOnScroll"))return;let i=e.get("triggerValue"),o=yi(r,i);if(!o)return;let n=B9(o).map(h=>nh(h,"scroll",()=>{t({type:"close",src:"scroll"})},{passive:!0,capture:!0}));return()=>{n.forEach(h=>h?.())}},trackStore:({prop:t,send:a})=>{let r;return queueMicrotask(()=>{r=i2.subscribe(()=>{i2.get("id")!==t("id")&&a({type:"close",src:"id.change"})})}),()=>r?.()},trackEscapeKey:({send:t,prop:a})=>a("closeOnEscape")?nh(document,"keydown",e=>{PM(e)||e.key==="Escape"&&(e.stopPropagation(),t({type:"close",src:"keydown.escape"}))},!0):void 0,waitForOpenDelay:({send:t,prop:a,event:r})=>{let e=setTimeout(()=>{t({type:"after.openDelay",previousEvent:r})},a("openDelay"));return()=>clearTimeout(e)},waitForCloseDelay:({send:t,prop:a,event:r})=>{let e=setTimeout(()=>{t({type:"after.closeDelay",previousEvent:r})},a("closeDelay"));return()=>clearTimeout(e)}}}});var Si=q("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","nodeRenameInput","root","tree"),RZ=Si.build();var[qZ,hm]=F2({name:"FieldsetContext",hookName:"useFieldsetContext",providerName:"<FieldsetProvider />",strict:!1});var Nh=W(at(),1),cm=typeof window<"u"?Nh.useLayoutEffect:Nh.useEffect;var[Wi,T1]=F2({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});var dm=t=>t.children(T1());var sm=W(at(),1);var pm=W(K(),1),Z9=(0,sm.forwardRef)((t,a)=>{let r=T1(),e=kt(r.getErrorTextProps(),t);return r?.invalid?(0,pm.jsx)(jt.span,{...e,ref:a}):null});Z9.displayName="FieldErrorText";var gm=W(at(),1);var vm=W(K(),1),J9=(0,gm.forwardRef)((t,a)=>{let r=kt(T1()?.getHelperTextProps(),t);return(0,vm.jsx)(jt.span,{...r,ref:a})});J9.displayName="FieldHelperText";var um=W(at(),1);var Mm=W(K(),1),t6=(0,um.forwardRef)((t,a)=>{let r=kt(T1()?.getInputProps(),t);return(0,Mm.jsx)(jt.input,{...r,ref:a})});t6.displayName="FieldInput";var fm=W(at(),1),mm=W(K(),1),a6=t=>{let{value:a,children:r}=t,e=T1();return(0,mm.jsx)(Wi,{value:(0,fm.useMemo)(()=>{if(!e)throw new Error("Field.Item must be used within Field.Root");let i=`field::${e.ids.control}::item::${a}`,o=`${i}::label`,l=()=>({...e.getInputProps(),id:i});return{...e,ids:{...e.ids,control:i,label:o},getLabelProps:()=>({...e.getLabelProps(),id:o,htmlFor:i}),getInputProps:()=>({...l(),...V2.input.attrs}),getSelectProps:()=>({...l(),...V2.select.attrs}),getTextareaProps:()=>({...l(),...V2.textarea.attrs})}},[e,a]),children:r})};a6.displayName="FieldItem";var xm=W(at(),1);var zm=W(K(),1),r6=(0,xm.forwardRef)((t,a)=>{let r=kt(T1()?.getLabelProps(),t);return(0,zm.jsx)(jt.label,{...r,ref:a})});r6.displayName="FieldLabel";var km=W(at(),1),Lm=W(K(),1);var e6=(0,km.forwardRef)(({fallback:t,...a},r)=>{let e=T1();if(!e.required)return t;let i=kt(e.getRequiredIndicatorProps(),a);return(0,Lm.jsx)(jt.span,{...i,ref:r,children:a.children??"*"})});e6.displayName="FieldRequiredIndicator";var y1=W(at(),1);var wm=(t={})=>{let a=hm(),r=eh(),{ids:e,target:i,disabled:o=!!a?.disabled,invalid:l=!1,readOnly:n=!1,required:h=!1}=t,[c,d]=(0,y1.useState)(!1),[s,p]=(0,y1.useState)(!1),g=(0,y1.useId)(),u=t.id??g,f=(0,y1.useRef)(null),z=e?.control??`field::${u}`,v=e?.errorText??`field::${u}::error-text`,M=e?.helperText??`field::${u}::helper-text`,m=e?.label??`field::${u}::label`;cm(()=>{let E=f.current;if(!E)return;let y=()=>{let N=r.getRootNode();d(!!N.getElementById(v)),p(!!N.getElementById(M))};y();let F=new(r.getWindow()).MutationObserver(y);return F.observe(E,{childList:!0,subtree:!0}),()=>F.disconnect()},[r,v,M]);let L=(0,y1.useMemo)(()=>{let E=[];return c&&l&&E.push(v),s&&E.push(M),E.join(" ")||void 0},[l,v,M,c,s]),H=(0,y1.useMemo)(()=>()=>({...V2.root.attrs,id:z,ref:f,role:"group","data-disabled":F1(o),"data-invalid":F1(l),"data-readonly":F1(n)}),[o,l,n,z]),x=i?`field::${u}::item::${i}`:void 0,B=(0,y1.useMemo)(()=>()=>({...V2.label.attrs,id:m,"data-disabled":F1(o),"data-invalid":F1(l),"data-readonly":F1(n),"data-required":F1(h),htmlFor:x??u}),[o,l,n,h,u,m,x]),C=(0,y1.useMemo)(()=>()=>({"aria-describedby":L,"aria-invalid":w9(l),"data-invalid":F1(l),"data-required":F1(h),"data-readonly":F1(n),id:u,required:h,disabled:o,readOnly:n}),[L,l,h,n,u,o]),S=(0,y1.useMemo)(()=>()=>({...C(),...V2.input.attrs}),[C]),k=(0,y1.useMemo)(()=>()=>({...C(),...V2.textarea.attrs}),[C]),P=(0,y1.useMemo)(()=>()=>({...C(),...V2.select.attrs}),[C]),j=(0,y1.useMemo)(()=>()=>({id:M,...V2.helperText.attrs,"data-disabled":F1(o)}),[o,M]),V=(0,y1.useMemo)(()=>()=>({id:v,...V2.errorText.attrs,"aria-live":"polite"}),[v]),A=(0,y1.useMemo)(()=>()=>({"aria-hidden":!0,...V2.requiredIndicator.attrs}),[]);return{ariaDescribedby:L,ids:{root:z,control:u,label:m,errorText:v,helperText:M},refs:{rootRef:f},disabled:o,invalid:l,readOnly:n,required:h,getLabelProps:B,getRootProps:H,getInputProps:S,getTextareaProps:k,getSelectProps:P,getHelperTextProps:j,getErrorTextProps:V,getRequiredIndicatorProps:A}};var bm=W(at(),1);var i6=W(K(),1),wj=_a(),o6=(0,bm.forwardRef)((t,a)=>{let[r,e]=wj(t,["id","ids","disabled","invalid","readOnly","required","target"]),i=wm(r),o=kt(i.getRootProps(),e);return(0,i6.jsx)(Wi,{value:i,children:(0,i6.jsx)(jt.div,{...o,ref:Aa(a,i.refs.rootRef)})})});o6.displayName="FieldRoot";var Hm=W(at(),1);var l6=W(K(),1),bj=_a(),n6=(0,Hm.forwardRef)((t,a)=>{let[{value:r},e]=bj(t,["value"]),i=kt(r.getRootProps(),e);return(0,l6.jsx)(Wi,{value:r,children:(0,l6.jsx)(jt.div,{...i,ref:a})})});n6.displayName="FieldRootProvider";var Cm=W(at(),1);var Bm=W(K(),1),h6=(0,Cm.forwardRef)((t,a)=>{let r=kt(T1()?.getSelectProps(),t);return(0,Bm.jsx)(jt.select,{...r,ref:a})});h6.displayName="FieldSelect";var ji=W(at(),1);var Vm=W(K(),1);var c6=(0,ji.forwardRef)((t,a)=>{let{autoresize:r,...e}=t,i=(0,ji.useRef)(null),o=kt(T1()?.getTextareaProps(),{style:{resize:r?"none":void 0}},e);return(0,ji.useEffect)(()=>{if(r)return em(i.current)},[r]),(0,Vm.jsx)(jt.textarea,{...o,ref:Aa(a,i)})});c6.displayName="FieldTextarea";var d6=hh({Context:()=>dm,ErrorText:()=>Z9,HelperText:()=>J9,Input:()=>t6,Item:()=>a6,Label:()=>r6,RequiredIndicator:()=>e6,Root:()=>o6,RootProvider:()=>n6,Select:()=>h6,Textarea:()=>c6});var[Uh,U2]=F2({name:"TooltipContext",hookName:"useTooltipContext",providerName:"<TooltipProvider />"});var Tm=W(at(),1);var ym=W(K(),1),s6=(0,Tm.forwardRef)((t,a)=>{let r=kt(U2().getArrowProps(),t);return(0,ym.jsx)(jt.div,{...r,ref:a})});s6.displayName="TooltipArrow";var Sm=W(at(),1);var Wm=W(K(),1),p6=(0,Sm.forwardRef)((t,a)=>{let r=kt(U2().getArrowTipProps(),t);return(0,Wm.jsx)(jt.div,{...r,ref:a})});p6.displayName="TooltipArrowTip";var jm=W(at(),1);var Om=W(K(),1),g6=(0,jm.forwardRef)((t,a)=>{let r=U2(),e=mh(),i=kt(r.getContentProps(),e.getPresenceProps(),t);return e.unmounted?null:(0,Om.jsx)(jt.div,{...i,ref:Aa(e.ref,a)})});g6.displayName="TooltipContent";var Am=t=>t.children(U2());var Pm=W(at(),1);var Em=W(K(),1),v6=(0,Pm.forwardRef)((t,a)=>{let r=kt(U2().getPositionerProps(),t);return mh().unmounted?null:(0,Em.jsx)(jt.div,{...r,ref:a})});v6.displayName="TooltipPositioner";var Rm=W(at(),1);var _m=t=>{let a=(0,Rm.useId)(),{getRootNode:r}=eh(),{dir:e}=ti(),i={id:a,dir:e,getRootNode:r,...t},o=gh(Q9,i);return X9(o,vh)};var u6=W(K(),1),Fm=t=>{let[a,{children:r,...e}]=ch(t),i=_m(e);return(0,u6.jsx)(Uh,{value:i,children:(0,u6.jsx)(fh,{value:Mh(kt({present:i.open},a)),children:r})})};var M6=W(K(),1),Im=t=>{let[a,{value:r,children:e}]=ch(t);return(0,M6.jsx)(Uh,{value:r,children:(0,M6.jsx)(fh,{value:Mh(kt({present:r.open},a)),children:e})})};var Dm=W(at(),1);var Nm=W(K(),1),Hj=_a(),f6=(0,Dm.forwardRef)((t,a)=>{let[r,e]=Hj(t,["value"]),i=kt(U2().getTriggerProps(r),e);return(0,Nm.jsx)(jt.button,{...i,ref:a})});f6.displayName="TooltipTrigger";var S0=hh({Arrow:()=>s6,ArrowTip:()=>p6,Content:()=>g6,Context:()=>Am,Positioner:()=>v6,Root:()=>Fm,RootProvider:()=>Im,Trigger:()=>f6});function Oi(t,a=[]){let r=Object.assign({},t);for(let e of a)e in r&&delete r[e];return r}var Um=(t,a)=>{if(!t||typeof t!="string")return{invalid:!0,value:t};let[r,e]=t.split("/");if(!r||!e||r==="currentBg")return{invalid:!0,value:r};let i=a(`colors.${r}`),o=a.raw(`opacity.${e}`)?.value;if(!o&&isNaN(Number(e)))return{invalid:!0,value:r};let l=o?Number(o)*100+"%":`${e}%`,n=i??r;return{invalid:!1,color:n,value:`color-mix(in srgb, ${n} ${l}, transparent)`}},Ot=t=>(a,r)=>{let e=r.utils.colorMix(a);if(e.invalid)return{[t]:a};let i="--mix-"+t;return{[i]:e.value,[t]:`var(${i}, ${e.color})`}};function Gh(t){if(t===null||typeof t!="object")return t;if(Array.isArray(t))return t.map(r=>Gh(r));let a=Object.create(Object.getPrototypeOf(t));for(let r of Object.keys(t))a[r]=Gh(t[r]);return a}function m6(t,a){if(a==null)return t;for(let r of Object.keys(a))if(!(a[r]===void 0||r==="__proto__"))if(!Zt(t[r])&&Zt(a[r]))Object.assign(t,{[r]:a[r]});else if(t[r]&&Zt(a[r]))m6(t[r],a[r]);else if(Array.isArray(a[r])&&Array.isArray(t[r])){let e=0;for(;e<a[r].length;e++)Zt(t[r][e])&&Zt(a[r][e])?m6(t[r][e],a[r][e]):t[r][e]=a[r][e]}else Object.assign(t,{[r]:a[r]});return t}function G2(t,...a){for(let r of a)m6(t,r);return t}var x6=t=>t!=null;function $1(t,a,r={}){let{stop:e,getKey:i}=r;function o(l,n=[]){if(Zt(l)||Array.isArray(l)){let h={};for(let[c,d]of Object.entries(l)){let s=i?.(c,d)??c,p=[...n,s];if(e?.(l,p))return a(l,n);let g=o(d,p);x6(g)&&(h[s]=g)}return h}return a(l,n)}return o(t)}function qh(t,a){return Array.isArray(t)?t.map(r=>x6(r)?a(r):r):Zt(t)?$1(t,r=>a(r)):x6(t)?a(t):t}var $h=["value","type","description"],Cj=t=>t&&typeof t=="object"&&!Array.isArray(t),Kh=(...t)=>{let a=G2({},...t.map(Gh));return a.theme?.tokens&&$1(a.theme.tokens,r=>{let o=Object.keys(r).filter(n=>!$h.includes(n)).length>0,l=$h.some(n=>r[n]!=null);return o&&l&&(r.DEFAULT||(r.DEFAULT={}),$h.forEach(n=>{var h;r[n]!=null&&((h=r.DEFAULT)[n]||(h[n]=r[n]),delete r[n])})),r},{stop(r){return Cj(r)&&$h.some(e=>r[e]!=null)}}),a};var z6=t=>t,rt=t=>t,R=t=>t,k6=t=>t,L6=t=>t,T2=t=>t,w6=t=>t,b6=t=>t,H6=t=>t;function Gm(){let t=a=>a;return new Proxy(t,{get(){return t}})}var ut=Gm(),Br=Gm(),Vl=t=>t;var Bj=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function Vj(t){return`${t}`.replace(Bj,a=>`\\${a}`)}var Tj=/[A-Z]/g;function yj(t){return t.replace(Tj,a=>`-${a.toLowerCase()}`)}function Yh(t,a={}){let{fallback:r="",prefix:e=""}=a,i=yj(["-",e,Vj(t)].filter(Boolean).join("-"));return{var:i,ref:`var(${i}${r?`, ${r}`:""})`}}var Sj=t=>/^var\(--.+\)$/.test(t),S1=(t,a)=>a!=null?`${t}(${a})`:a,Vr=t=>{if(Sj(t)||t==null)return t;let a=typeof t=="string"&&!t.endsWith("deg");return typeof t=="number"||a?`${t}deg`:t},qm=t=>({values:["outside","inside","mixed","none"],transform(a,{token:r}){let e=r("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":e,[t]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":e,[t]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":e,[t]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":e,[t]:{outline:"none"}}}[a]??{}}}),Wj=Ot("borderColor"),ta=t=>({transition:t,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),jj=z6({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),Ai=Yh("bg-currentcolor"),$m=t=>t===Ai.ref||t==="currentBg",Rt=t=>({...t("colors"),currentBg:Ai}),Km=Vl({conditions:jj,utilities:{background:{values:Rt,shorthand:["bg"],transform(t,a){if($m(a.raw))return{background:Ai.ref};let r=Ot("background")(t,a);return{...r,[Ai.var]:r?.background}}},backgroundColor:{values:Rt,shorthand:["bgColor"],transform(t,a){if($m(a.raw))return{backgroundColor:Ai.ref};let r=Ot("backgroundColor")(t,a);return{...r,[Ai.var]:r?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}}},backgroundGradient:{shorthand:["bgGradient"],values(t){return{...t("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}},transform(t){return{"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:t}}},gradientFrom:{values:Rt,transform:Ot("--gradient-from")},gradientTo:{values:Rt,transform:Ot("--gradient-to")},gradientVia:{values:Rt,transform(t,a){return{...Ot("--gradient-via")(t,a),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"}}},backgroundImage:{values(t){return{...t("gradients"),...t("assets")}},shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:Rt,transform:Ot("borderColor")},borderTopColor:{values:Rt,transform:Ot("borderTopColor")},borderBlockStartColor:{values:Rt,transform:Ot("borderBlockStartColor")},borderBottomColor:{values:Rt,transform:Ot("borderBottomColor")},borderBlockEndColor:{values:Rt,transform:Ot("borderBlockEndColor")},borderLeftColor:{values:Rt,transform:Ot("borderLeftColor")},borderInlineStartColor:{values:Rt,shorthand:["borderStartColor"],transform:Ot("borderInlineStartColor")},borderRightColor:{values:Rt,transform:Ot("borderRightColor")},borderInlineEndColor:{values:Rt,shorthand:["borderEndColor"],transform:Ot("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:t=>({borderStartStartRadius:t,borderEndStartRadius:t})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:t=>({borderStartEndRadius:t,borderEndEndRadius:t})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:t=>({borderTopLeftRadius:t,borderTopRightRadius:t})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:t=>({borderBottomLeftRadius:t,borderBottomRightRadius:t})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:t=>({borderTopLeftRadius:t,borderBottomLeftRadius:t})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:t=>({borderTopRightRadius:t,borderBottomRightRadius:t})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:Rt,transform:Ot("color")},fill:{values:Rt,transform:Ot("fill")},stroke:{values:Rt,transform:Ot("stroke")},accentColor:{values:Rt,transform:Ot("accentColor")},divideX:{values:{type:"string"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:t,borderInlineEndWidth:"0px"}}}},divideY:{values:{type:"string"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:t,borderBottomWidth:"0px"}}}},divideColor:{values:Rt,transform(t,a){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":Wj(t,a)}}},divideStyle:{property:"borderStyle",transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:t}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:Rt,transform:Ot("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform(t){return t!=="auto"?{filter:t}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}}},blur:{values:"blurs",transform:t=>({"--blur":S1("blur",t)})},brightness:{transform:t=>({"--brightness":S1("brightness",t)})},contrast:{transform:t=>({"--contrast":S1("contrast",t)})},grayscale:{transform:t=>({"--grayscale":S1("grayscale",t)})},hueRotate:{transform:t=>({"--hue-rotate":S1("hue-rotate",Vr(t))})},invert:{transform:t=>({"--invert":S1("invert",t)})},saturate:{transform:t=>({"--saturate":S1("saturate",t)})},sepia:{transform:t=>({"--sepia":S1("sepia",t)})},dropShadow:{transform:t=>({"--drop-shadow":S1("drop-shadow",t)})},backdropFilter:{transform(t){return t!=="auto"?{backdropFilter:t}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}}},backdropBlur:{values:"blurs",transform:t=>({"--backdrop-blur":S1("blur",t)})},backdropBrightness:{transform:t=>({"--backdrop-brightness":S1("brightness",t)})},backdropContrast:{transform:t=>({"--backdrop-contrast":S1("contrast",t)})},backdropGrayscale:{transform:t=>({"--backdrop-grayscale":S1("grayscale",t)})},backdropHueRotate:{transform:t=>({"--backdrop-hue-rotate":S1("hue-rotate",Vr(t))})},backdropInvert:{transform:t=>({"--backdrop-invert":S1("invert",t)})},backdropOpacity:{transform:t=>({"--backdrop-opacity":S1("opacity",t)})},backdropSaturate:{transform:t=>({"--backdrop-saturate":S1("saturate",t)})},backdropSepia:{transform:t=>({"--backdrop-sepia":S1("sepia",t)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:Rt,transform:Ot("outlineColor")},focusRing:qm("&:is(:focus, [data-focus])"),focusVisibleRing:qm("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:Rt,transform:Ot("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:t=>({"--focus-ring-offset":t})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:t=>({"--focus-ring-width":t})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:t=>({"--focus-ring-style":t})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:t=>({width:t,height:t})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(t,{raw:a,token:r})=>({[r.raw(`breakpoints.${a}`)?`@breakpoint ${a}`:`@media screen and (min-width: ${t})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(t,{raw:a,token:r}){return{[r.raw(`breakpoints.${a}`)?`@breakpoint ${a}Down`:`@media screen and (max-width: ${t})`]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(t){switch(t){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:Rt,transform:Ot("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:t=>({scrollMarginLeft:t,scrollMarginRight:t})},scrollMarginY:{values:"spacing",transform:t=>({scrollMarginTop:t,scrollMarginBottom:t})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:t=>({"--scroll-snap-strictness":t})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform(t){return{"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":t,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"}}},ringColor:{values:Rt,transform:Ot("--ring-color")},ringOffset:{transform:t=>({"--ring-offset-width":t})},ringOffsetColor:{values:Rt,transform:Ot("--ring-offset-color")},ringInset:{transform:t=>({"--ring-inset":t})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:Rt,transform:Ot("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:t=>{let a=t;return t==="auto"&&(a="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),t==="auto-gpu"&&(a="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:a}}},skewX:{transform:t=>({"--skew-x":Vr(t)})},skewY:{transform:t=>({"--skew-y":Vr(t)})},scaleX:{transform:t=>({"--scale-x":t})},scaleY:{transform:t=>({"--scale-y":t})},scale:{transform(t){return t!=="auto"?{scale:t}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}}},spaceXReverse:{values:{type:"boolean"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":t?"1":void 0}}}},spaceX:{property:"marginInlineStart",values:"spacing",transform:t=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${t} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${t} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":t?"1":void 0}}}},spaceY:{property:"marginTop",values:"spacing",transform:t=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${t} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${t} * var(--space-y-reverse))`}})},rotate:{transform(t){return t!=="auto"?{rotate:Vr(t)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(t){return{"--rotate-x":Vr(t)}}},rotateY:{transform(t){return{"--rotate-y":Vr(t)}}},translate:{transform(t){return t!=="auto"?{translate:t}:{translate:"var(--translate-x) var(--translate-y)"}}},translateX:{values:"spacing",transform:t=>({"--translate-x":t})},translateY:{values:"spacing",transform:t=>({"--translate-y":t})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(t){switch(t){case"all":return ta("all");case"position":return ta("left, right, top, bottom, inset-inline, inset-block");case"colors":return ta("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return ta("opacity");case"shadow":return ta("box-shadow");case"transform":return ta("transform");case"size":return ta("width, height");case"backgrounds":return ta("background, background-color, background-image, background-position");case"common":return ta("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:t}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform(t){return t===!0?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}}},lineClamp:{transform(t){return t==="none"?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:t,WebkitBoxOrient:"vertical",textWrap:"wrap"}}},borderSpacing:{values:t=>({...t("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform(t){return{"--border-spacing-x":t}}},borderSpacingY:{values:"spacing",transform(t){return{"--border-spacing-y":t}}},srOnly:{values:{type:"boolean"},transform(t){return Oj[t]||{}}},debug:{values:{type:"boolean"},transform(t){return t?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:Rt,transform:Ot("caretColor")},cursor:{values:"cursor"}}}),Oj={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var Aj="",Pj=Aj.split(","),Ej="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,cornerShape,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",Rj=Ej.split(",").concat(Pj),_j=new Map(Rj.map(t=>[t,!0]));function Fj(t){let a=Object.create(null);return r=>(a[r]===void 0&&(a[r]=t(r)),a[r])}var Ij=/&|@/,Ym=Fj(t=>_j.has(t)||t.startsWith("--")||Ij.test(t));function x1(t,a){let r={};for(let e in t){let i=a(e,t[e]);r[i[0]]=i[1]}return r}function C6(t,a){let r={};return $1(t,(e,i)=>{e&&(r[i.join(".")]=e.value)},{stop:a}),r}var Dj=Object.defineProperty,Nj=(t,a,r)=>a in t?Dj(t,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[a]=r,Xm=(t,a,r)=>Nj(t,typeof a!="symbol"?a+"":a,r);function Xh(t){if(t===null)return"null";if(t===void 0)return"undefined";let a=typeof t;return a==="string"?`s:${t}`:a==="number"?`n:${t}`:a==="boolean"?`b:${t}`:a==="function"?`f:${t.name||"anonymous"}`:Array.isArray(t)?`a:[${t.map(Xh).join(",")}]`:a==="object"?`o:{${Object.keys(t).sort().map(e=>`${e}:${Xh(t[e])}`).join(",")}}`:String(t)}var B6=class{constructor(a=500){Xm(this,"cache",new Map),Xm(this,"maxSize"),this.maxSize=a}get(a){let r=this.cache.get(a);return r!==void 0&&(this.cache.delete(a),this.cache.set(a,r)),r}set(a,r){if(this.cache.has(a))this.cache.delete(a);else if(this.cache.size>=this.maxSize){let e=this.cache.keys().next().value;e!==void 0&&this.cache.delete(e)}this.cache.set(a,r)}clear(){this.cache.clear()}},_t=t=>{let a=new B6;function r(...e){let i=e.length===1?Xh(e[0]):e.map(Xh).join("|"),o=a.get(i);return o===void 0&&(o=t.apply(this,e),a.set(i,o)),o}return r};function Qm(t=""){let a=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),r=new RegExp("px|em|rem");return t.match(new RegExp(`${a.source}(${r.source})`))?.[1]}function Qh(t=""){if(typeof t=="number")return`${t}px`;let a=Qm(t);if(!a||a==="px")return t;if(a==="em"||a==="rem")return`${parseFloat(t)*16}px`}function V6(t=""){let a=Qm(t);if(!a||a==="rem")return t;if(a==="em")return`${parseFloat(t)}rem`;if(a==="px")return`${parseFloat(t)/16}rem`}var Uj=t=>t.charAt(0).toUpperCase()+t.slice(1);function Zm(t){let a=Gj(t),r=Object.fromEntries(a);function e(p){return r[p]}function i(p){return Pi(e(p))}function o(){let p=Object.keys(r),g=qj(p),u=p.flatMap(f=>{let z=e(f),v=[`${f}Down`,Pi({max:Zh(z.min)})],M=[f,Pi({min:z.min})],m=[`${f}Only`,i(f)];return[M,m,v]}).filter(([,f])=>f!=="").concat(g.map(([f,z])=>{let v=e(f),M=e(z);return[`${f}To${Uj(z)}`,Pi({min:v.min,max:Zh(M.min)})]}));return Object.fromEntries(u)}function l(){let p=o();return Object.fromEntries(Object.entries(p))}let n=l(),h=p=>n[p];function c(){return $e(["base",...Object.keys(r)])}function d(p){return Pi({min:e(p).min})}function s(p){return Pi({max:Zh(e(p).min)})}return{values:Object.values(r),only:i,keys:c,conditions:n,getCondition:h,up:d,down:s}}function Zh(t){let a=parseFloat(Qh(t)??"")-.04;return V6(`${a}px`)}function Gj(t){return Object.entries(t).sort(([,r],[,e])=>parseInt(r,10)<parseInt(e,10)?-1:1).map(([r,e],i,o)=>{let l=null;return i<=o.length-1&&(l=o[i+1]?.[1]),l!=null&&(l=Zh(l)),[r,{name:r,min:V6(e),max:l}]})}function qj(t){let a=[];return t.forEach((r,e)=>{let i=e;i++;let o=t[i];for(;o;)a.push([r,o]),i++,o=t[i]}),a}function Pi({min:t,max:a}){return t==null&&a==null?"":["@media screen",t&&`(min-width: ${t})`,a&&`(max-width: ${a})`].filter(Boolean).join(" and ")}var $j=/^@|&|&$/,Jm=t=>{let{breakpoints:a,conditions:r={}}=t,e=x1(r,(d,s)=>[`_${d}`,s]),i=Object.assign({},e,a.conditions);function o(){return Object.keys(i)}function l(d){return o().includes(d)||$j.test(d)||d.startsWith("_")}let n=_t(d=>d.filter(s=>s!=="base").sort((s,p)=>{let g=l(s),u=l(p);return g&&!u?1:!g&&u?-1:0}));function h(d){return d.startsWith("@breakpoint")?a.getCondition(d.replace("@breakpoint ","")):d}function c(d){return Reflect.get(i,d)||d}return{keys:o,sort:n,has:l,resolve:c,breakpoints:a.keys(),expandAtRule:h}};var wt=Object.freeze(Object.create(null)),tx=Object.freeze([]);function Tr(){return Object.create(null)}var nx=t=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${t})(.|
|
|
11
|
+
`,1;if(io>1e5&&io>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Vt+=$,$.length}let Ft=C(y);if(!Ft)throw Yr(o.replace("{}",y)),new Error('Unknown language: "'+y+'"');let zt=rF(Ft),f2="",nt=X||zt,g0={},t1=new n.__emitter(n);xt();let Vt="",E0=0,m2=0,io=0,oo=!1;try{if(Ft.__emitTokens)Ft.__emitTokens(F,t1);else{for(nt.matcher.considerAll();;){io++,oo?oo=!1:nt.matcher.considerAll(),nt.matcher.lastIndex=m2;let T=nt.matcher.exec(F);if(!T)break;let O=F.substring(m2,T.index),$=M1(O,T);m2=T.index+$}M1(F.substring(m2))}return t1.finalize(),f2=t1.toHTML(),{language:y,value:f2,relevance:E0,illegal:!1,_emitter:t1,_top:nt}}catch(T){if(T.message&&T.message.includes("Illegal"))return{language:y,value:Z7(F),illegal:!0,relevance:0,_illegalBy:{message:T.message,index:m2,context:F.slice(m2-100,m2+100),mode:T.mode,resultSoFar:f2},_emitter:t1};if(i)return{language:y,value:Z7(F),illegal:!1,relevance:0,errorRaised:T,_emitter:t1,_top:nt};throw T}}function p(y){let F={value:Z7(y),illegal:!1,relevance:0,_top:l,_emitter:new n.__emitter(n)};return F._emitter.addText(y),F}function g(y,F){F=F||n.languages||Object.keys(a);let N=p(y),X=F.filter(C).filter(k).map(it=>s(it,y,!1));X.unshift(N);let b=X.sort((it,pt)=>{if(it.relevance!==pt.relevance)return pt.relevance-it.relevance;if(it.language&&pt.language){if(C(it.language).supersetOf===pt.language)return 1;if(C(pt.language).supersetOf===it.language)return-1}return 0}),[st,vt]=b,w=st;return w.secondBest=vt,w}function u(y,F,N){let X=F&&r[F]||N;y.classList.add("hljs"),y.classList.add(`language-${X}`)}function f(y){let F=null,N=c(y);if(h(N))return;if(A("before:highlightElement",{el:y,language:N}),y.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",y);return}if(y.children.length>0&&(n.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(y)),n.throwUnescapedHTML))throw new rs("One of your code blocks includes unescaped HTML.",y.innerHTML);F=y;let X=F.textContent,b=N?d(X,{language:N,ignoreIllegals:!0}):g(X);y.innerHTML=b.value,y.dataset.highlighted="yes",u(y,N,b.language),y.result={language:b.language,re:b.relevance,relevance:b.relevance},b.secondBest&&(y.secondBest={language:b.secondBest.language,relevance:b.secondBest.relevance}),A("after:highlightElement",{el:y,result:b,text:X})}function z(y){n=PC(n,y)}let v=()=>{L(),Yi("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function M(){L(),Yi("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let m=!1;function L(){function y(){L()}if(document.readyState==="loading"){m||window.addEventListener("DOMContentLoaded",y,!1),m=!0;return}document.querySelectorAll(n.cssSelector).forEach(f)}function H(y,F){let N=null;try{N=F(t)}catch(X){if(Yr("Language definition for '{}' could not be registered.".replace("{}",y)),i)Yr(X);else throw X;N=l}N.name||(N.name=y),a[y]=N,N.rawDefinition=F.bind(null,t),N.aliases&&S(N.aliases,{languageName:y})}function x(y){delete a[y];for(let F of Object.keys(r))r[F]===y&&delete r[F]}function B(){return Object.keys(a)}function C(y){return y=(y||"").toLowerCase(),a[y]||a[r[y]]}function S(y,{languageName:F}){typeof y=="string"&&(y=[y]),y.forEach(N=>{r[N.toLowerCase()]=F})}function k(y){let F=C(y);return F&&!F.disableAutodetect}function P(y){y["before:highlightBlock"]&&!y["before:highlightElement"]&&(y["before:highlightElement"]=F=>{y["before:highlightBlock"](Object.assign({block:F.el},F))}),y["after:highlightBlock"]&&!y["after:highlightElement"]&&(y["after:highlightElement"]=F=>{y["after:highlightBlock"](Object.assign({block:F.el},F))})}function j(y){P(y),e.push(y)}function V(y){let F=e.indexOf(y);F!==-1&&e.splice(F,1)}function A(y,F){let N=y;e.forEach(function(X){X[N]&&X[N](F)})}function E(y){return Yi("10.7.0","highlightBlock will be removed entirely in v12.0"),Yi("10.7.0","Please use highlightElement now."),f(y)}Object.assign(t,{highlight:d,highlightAuto:g,highlightAll:L,highlightElement:f,highlightBlock:E,configure:z,initHighlighting:v,initHighlightingOnLoad:M,registerLanguage:H,unregisterLanguage:x,listLanguages:B,getLanguage:C,registerAliases:S,autoDetection:k,inherit:PC,addPlugin:j,removePlugin:V}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=iF,t.regex={concat:Xr,lookahead:FC,either:es,optional:z_,anyNumberOfTimes:x_};for(let y in i5)typeof i5[y]=="object"&&RC(i5[y]);return Object.assign(t,i5),t},Xi=YC({});Xi.newInstance=()=>YC({});XC.exports=Xi;Xi.HighlightJS=Xi;Xi.default=Xi});var x8=W(at(),1),pV=W(Jv(),1);var w0=W(K(),1);function j4(t){var a=Object.create(null);return function(r){return a[r]===void 0&&(a[r]=t(r)),a[r]}}var Dy=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,eu=j4(function(t){return Dy.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});var _2=W(at()),Q4=W(at());var Ny=!1;function Uy(t){if(t.sheet)return t.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===t)return document.styleSheets[a]}function Gy(t){var a=document.createElement("style");return a.setAttribute("data-emotion",t.key),t.nonce!==void 0&&a.setAttribute("nonce",t.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}var iu=(function(){function t(r){var e=this;this._insertTag=function(i){var o;e.tags.length===0?e.insertionPoint?o=e.insertionPoint.nextSibling:e.prepend?o=e.container.firstChild:o=e.before:o=e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(i,o),e.tags.push(i)},this.isSpeedy=r.speedy===void 0?!Ny:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var a=t.prototype;return a.hydrate=function(e){e.forEach(this._insertTag)},a.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Gy(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Uy(i);try{o.insertRule(e,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(e));this.ctr++},a.flush=function(){this.tags.forEach(function(e){var i;return(i=e.parentNode)==null?void 0:i.removeChild(e)}),this.tags=[],this.ctr=0},t})();var R1="-ms-",al="-moz-",Ct="-webkit-",O4="comm",Se="rule",We="decl";var ou="@import";var A4="@keyframes";var lu="@layer";var nu=Math.abs,Mr=String.fromCharCode,hu=Object.assign;function cu(t,a){return n1(t,0)^45?(((a<<2^n1(t,0))<<2^n1(t,1))<<2^n1(t,2))<<2^n1(t,3):0}function P4(t){return t.trim()}function Z3(t,a){return(t=a.exec(t))?t[0]:t}function Lt(t,a,r){return t.replace(a,r)}function rl(t,a){return t.indexOf(a)}function n1(t,a){return t.charCodeAt(a)|0}function Wa(t,a,r){return t.slice(a,r)}function t2(t){return t.length}function je(t){return t.length}function Oe(t,a){return a.push(t),t}function J3(t,a){return t.map(a).join("")}var E4=1,Ae=1,du=0,a2=0,p1=0,Ee="";function el(t,a,r,e,i,o,l){return{value:t,root:a,parent:r,type:e,props:i,children:o,line:E4,column:Ae,length:l,return:""}}function Re(t,a){return hu(el("",null,null,"",null,null,0),t,{length:-t.length},a)}function su(){return p1}function pu(){return p1=a2>0?n1(Ee,--a2):0,Ae--,p1===10&&(Ae=1,E4--),p1}function r2(){return p1=a2<du?n1(Ee,a2++):0,Ae++,p1===10&&(Ae=1,E4++),p1}function R2(){return n1(Ee,a2)}function il(){return a2}function _e(t,a){return Wa(Ee,t,a)}function Pe(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R4(t){return E4=Ae=1,du=t2(Ee=t),a2=0,[]}function _4(t){return Ee="",t}function Fe(t){return P4(_e(a2-1,t9(t===91?t+2:t===40?t+1:t)))}function gu(t){for(;(p1=R2())&&p1<33;)r2();return Pe(t)>2||Pe(p1)>3?"":" "}function vu(t,a){for(;--a&&r2()&&!(p1<48||p1>102||p1>57&&p1<65||p1>70&&p1<97););return _e(t,il()+(a<6&&R2()==32&&r2()==32))}function t9(t){for(;r2();)switch(p1){case t:return a2;case 34:case 39:t!==34&&t!==39&&t9(p1);break;case 40:t===41&&t9(t);break;case 92:r2();break}return a2}function uu(t,a){for(;r2()&&t+p1!==57;)if(t+p1===84&&R2()===47)break;return"/*"+_e(a,a2-1)+"*"+Mr(t===47?t:r2())}function Mu(t){for(;!Pe(R2());)r2();return _e(t,a2)}function xu(t){return _4(F4("",null,null,null,[""],t=R4(t),0,[0],t))}function F4(t,a,r,e,i,o,l,n,h){for(var c=0,d=0,s=l,p=0,g=0,u=0,f=1,z=1,v=1,M=0,m="",L=i,H=o,x=e,B=m;z;)switch(u=M,M=r2()){case 40:if(u!=108&&n1(B,s-1)==58){rl(B+=Lt(Fe(M),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:B+=Fe(M);break;case 9:case 10:case 13:case 32:B+=gu(u);break;case 92:B+=vu(il()-1,7);continue;case 47:switch(R2()){case 42:case 47:Oe(qy(uu(r2(),il()),a,r),h);break;default:B+="/"}break;case 123*f:n[c++]=t2(B)*v;case 125*f:case 59:case 0:switch(M){case 0:case 125:z=0;case 59+d:v==-1&&(B=Lt(B,/\f/g,"")),g>0&&t2(B)-s&&Oe(g>32?mu(B+";",e,r,s-1):mu(Lt(B," ","")+";",e,r,s-2),h);break;case 59:B+=";";default:if(Oe(x=fu(B,a,r,c,d,i,n,m,L=[],H=[],s),o),M===123)if(d===0)F4(B,a,x,x,L,o,s,n,H);else switch(p===99&&n1(B,3)===110?100:p){case 100:case 108:case 109:case 115:F4(t,x,x,e&&Oe(fu(t,x,x,0,0,i,n,m,i,L=[],s),H),i,H,s,n,e?L:H);break;default:F4(B,x,x,x,[""],H,0,n,H)}}c=d=g=0,f=v=1,m=B="",s=l;break;case 58:s=1+t2(B),g=u;default:if(f<1){if(M==123)--f;else if(M==125&&f++==0&&pu()==125)continue}switch(B+=Mr(M),M*f){case 38:v=d>0?1:(B+="\f",-1);break;case 44:n[c++]=(t2(B)-1)*v,v=1;break;case 64:R2()===45&&(B+=Fe(r2())),p=R2(),d=s=t2(m=B+=Mu(il())),M++;break;case 45:u===45&&t2(B)==2&&(f=0)}}return o}function fu(t,a,r,e,i,o,l,n,h,c,d){for(var s=i-1,p=i===0?o:[""],g=je(p),u=0,f=0,z=0;u<e;++u)for(var v=0,M=Wa(t,s+1,s=nu(f=l[u])),m=t;v<g;++v)(m=P4(f>0?p[v]+" "+M:Lt(M,/&\f/g,p[v])))&&(h[z++]=m);return el(t,a,r,i===0?Se:n,h,c,d)}function qy(t,a,r){return el(t,a,r,O4,Mr(su()),Wa(t,2,-2),0)}function mu(t,a,r,e){return el(t,a,r,We,Wa(t,0,e),Wa(t,e+1,-1),e)}function fr(t,a){for(var r="",e=je(t),i=0;i<e;i++)r+=a(t[i],i,t,a)||"";return r}function zu(t,a,r,e){switch(t.type){case lu:if(t.children.length)break;case ou:case We:return t.return=t.return||t.value;case O4:return"";case A4:return t.return=t.value+"{"+fr(t.children,e)+"}";case Se:t.value=t.props.join(",")}return t2(r=fr(t.children,e))?t.return=t.value+"{"+r+"}":""}function ku(t){var a=je(t);return function(r,e,i,o){for(var l="",n=0;n<a;n++)l+=t[n](r,e,i,o)||"";return l}}function Lu(t){return function(a){a.root||(a=a.return)&&t(a)}}var $y=function(a,r,e){for(var i=0,o=0;i=o,o=R2(),i===38&&o===12&&(r[e]=1),!Pe(o);)r2();return _e(a,a2)},Ky=function(a,r){var e=-1,i=44;do switch(Pe(i)){case 0:i===38&&R2()===12&&(r[e]=1),a[e]+=$y(a2-1,r,e);break;case 2:a[e]+=Fe(i);break;case 4:if(i===44){a[++e]=R2()===58?"&\f":"",r[e]=a[e].length;break}default:a[e]+=Mr(i)}while(i=r2());return a},Yy=function(a,r){return _4(Ky(R4(a),r))},wu=new WeakMap,Xy=function(a){if(!(a.type!=="rule"||!a.parent||a.length<1)){for(var r=a.value,e=a.parent,i=a.column===e.column&&a.line===e.line;e.type!=="rule";)if(e=e.parent,!e)return;if(!(a.props.length===1&&r.charCodeAt(0)!==58&&!wu.get(e))&&!i){wu.set(a,!0);for(var o=[],l=Yy(r,o),n=e.props,h=0,c=0;h<l.length;h++)for(var d=0;d<n.length;d++,c++)a.props[c]=o[h]?l[h].replace(/&\f/g,n[d]):n[d]+" "+l[h]}}},Qy=function(a){if(a.type==="decl"){var r=a.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(a.return="",a.value="")}};function bu(t,a){switch(cu(t,a)){case 5103:return Ct+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ct+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Ct+t+al+t+R1+t+t;case 6828:case 4268:return Ct+t+R1+t+t;case 6165:return Ct+t+R1+"flex-"+t+t;case 5187:return Ct+t+Lt(t,/(\w+).+(:[^]+)/,Ct+"box-$1$2"+R1+"flex-$1$2")+t;case 5443:return Ct+t+R1+"flex-item-"+Lt(t,/flex-|-self/,"")+t;case 4675:return Ct+t+R1+"flex-line-pack"+Lt(t,/align-content|flex-|-self/,"")+t;case 5548:return Ct+t+R1+Lt(t,"shrink","negative")+t;case 5292:return Ct+t+R1+Lt(t,"basis","preferred-size")+t;case 6060:return Ct+"box-"+Lt(t,"-grow","")+Ct+t+R1+Lt(t,"grow","positive")+t;case 4554:return Ct+Lt(t,/([^-])(transform)/g,"$1"+Ct+"$2")+t;case 6187:return Lt(Lt(Lt(t,/(zoom-|grab)/,Ct+"$1"),/(image-set)/,Ct+"$1"),t,"")+t;case 5495:case 3959:return Lt(t,/(image-set\([^]*)/,Ct+"$1$`$1");case 4968:return Lt(Lt(t,/(.+:)(flex-)?(.*)/,Ct+"box-pack:$3"+R1+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ct+t+t;case 4095:case 3583:case 4068:case 2532:return Lt(t,/(.+)-inline(.+)/,Ct+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(t2(t)-1-a>6)switch(n1(t,a+1)){case 109:if(n1(t,a+4)!==45)break;case 102:return Lt(t,/(.+:)(.+)-([^]+)/,"$1"+Ct+"$2-$3$1"+al+(n1(t,a+3)==108?"$3":"$2-$3"))+t;case 115:return~rl(t,"stretch")?bu(Lt(t,"stretch","fill-available"),a)+t:t}break;case 4949:if(n1(t,a+1)!==115)break;case 6444:switch(n1(t,t2(t)-3-(~rl(t,"!important")&&10))){case 107:return Lt(t,":",":"+Ct)+t;case 101:return Lt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ct+(n1(t,14)===45?"inline-":"")+"box$3$1"+Ct+"$2$3$1"+R1+"$2box$3")+t}break;case 5936:switch(n1(t,a+11)){case 114:return Ct+t+R1+Lt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Ct+t+R1+Lt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Ct+t+R1+Lt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Ct+t+R1+t+t}return t}var Zy=function(a,r,e,i){if(a.length>-1&&!a.return)switch(a.type){case We:a.return=bu(a.value,a.length);break;case A4:return fr([Re(a,{value:Lt(a.value,"@","@"+Ct)})],i);case Se:if(a.length)return J3(a.props,function(o){switch(Z3(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fr([Re(a,{props:[Lt(o,/:(read-\w+)/,":"+al+"$1")]})],i);case"::placeholder":return fr([Re(a,{props:[Lt(o,/:(plac\w+)/,":"+Ct+"input-$1")]}),Re(a,{props:[Lt(o,/:(plac\w+)/,":"+al+"$1")]}),Re(a,{props:[Lt(o,/:(plac\w+)/,R1+"input-$1")]})],i)}return""})}},Jy=[Zy],Hu=function(a){var r=a.key;if(r==="css"){var e=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(e,function(f){var z=f.getAttribute("data-emotion");z.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var i=a.stylisPlugins||Jy,o={},l,n=[];l=a.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(f){for(var z=f.getAttribute("data-emotion").split(" "),v=1;v<z.length;v++)o[z[v]]=!0;n.push(f)});var h,c=[Xy,Qy];{var d,s=[zu,Lu(function(f){d.insert(f)})],p=ku(c.concat(i,s)),g=function(z){return fr(xu(z),p)};h=function(z,v,M,m){d=M,g(z?z+"{"+v.styles+"}":v.styles),m&&(u.inserted[v.name]=!0)}}var u={key:r,sheet:new iu({key:r,container:l,nonce:a.nonce,speedy:a.speedy,prepend:a.prepend,insertionPoint:a.insertionPoint}),nonce:a.nonce,inserted:o,registered:{},insert:h};return u.sheet.hydrate(n),u};var pS=!0;function ol(t,a,r){var e="";return r.split(" ").forEach(function(i){t[i]!==void 0?a.push(t[i]+";"):i&&(e+=i+" ")}),e}var Ie=function(a,r,e){var i=a.key+"-"+r.name;(e===!1||pS===!1)&&a.registered[i]===void 0&&(a.registered[i]=r.styles)},De=function(a,r,e){Ie(a,r,e);var i=a.key+"-"+r.name;if(a.inserted[r.name]===void 0){var o=r;do a.insert(r===o?"."+i:"",o,a.sheet,!0),o=o.next;while(o!==void 0)}};function Eu(t){for(var a=0,r,e=0,i=t.length;i>=4;++e,i-=4)r=t.charCodeAt(e)&255|(t.charCodeAt(++e)&255)<<8|(t.charCodeAt(++e)&255)<<16|(t.charCodeAt(++e)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,a=(r&65535)*1540483477+((r>>>16)*59797<<16)^(a&65535)*1540483477+((a>>>16)*59797<<16);switch(i){case 3:a^=(t.charCodeAt(e+2)&255)<<16;case 2:a^=(t.charCodeAt(e+1)&255)<<8;case 1:a^=t.charCodeAt(e)&255,a=(a&65535)*1540483477+((a>>>16)*59797<<16)}return a^=a>>>13,a=(a&65535)*1540483477+((a>>>16)*59797<<16),((a^a>>>15)>>>0).toString(36)}var Ru={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var gS=!1,vS=/[A-Z]|^ms/g,uS=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Du=function(a){return a.charCodeAt(1)===45},_u=function(a){return a!=null&&typeof a!="boolean"},l9=j4(function(t){return Du(t)?t:t.replace(vS,"-$&").toLowerCase()}),Fu=function(a,r){switch(a){case"animation":case"animationName":if(typeof r=="string")return r.replace(uS,function(e,i,o){return z0={name:i,styles:o,next:z0},i})}return Ru[a]!==1&&!Du(a)&&typeof r=="number"&&r!==0?r+"px":r},MS="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ll(t,a,r){if(r==null)return"";var e=r;if(e.__emotion_styles!==void 0)return e;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return z0={name:i.name,styles:i.styles,next:z0},i.name;var o=r;if(o.styles!==void 0){var l=o.next;if(l!==void 0)for(;l!==void 0;)z0={name:l.name,styles:l.styles,next:z0},l=l.next;var n=o.styles+";";return n}return fS(t,a,r)}case"function":{if(t!==void 0){var h=z0,c=r(t);return z0=h,ll(t,a,c)}break}}var d=r;if(a==null)return d;var s=a[d];return s!==void 0?s:d}function fS(t,a,r){var e="";if(Array.isArray(r))for(var i=0;i<r.length;i++)e+=ll(t,a,r[i])+";";else for(var o in r){var l=r[o];if(typeof l!="object"){var n=l;a!=null&&a[n]!==void 0?e+=o+"{"+a[n]+"}":_u(n)&&(e+=l9(o)+":"+Fu(o,n)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&gS)throw new Error(MS);if(Array.isArray(l)&&typeof l[0]=="string"&&(a==null||a[l[0]]===void 0))for(var h=0;h<l.length;h++)_u(l[h])&&(e+=l9(o)+":"+Fu(o,l[h])+";");else{var c=ll(t,a,l);switch(o){case"animation":case"animationName":{e+=l9(o)+":"+c+";";break}default:e+=o+"{"+c+"}"}}}}return e}var Iu=/label:\s*([^\s;{]+)\s*(;|$)/g,z0;function Ne(t,a,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var e=!0,i="";z0=void 0;var o=t[0];if(o==null||o.raw===void 0)e=!1,i+=ll(r,a,o);else{var l=o;i+=l[0]}for(var n=1;n<t.length;n++)if(i+=ll(r,a,t[n]),e){var h=o;i+=h[n]}Iu.lastIndex=0;for(var c="",d;(d=Iu.exec(i))!==null;)c+="-"+d[1];var s=Eu(i)+c;return{name:s,styles:i,next:z0}}var nl=W(at()),mS=function(a){return a()},Nu=nl.useInsertionEffect?nl.useInsertionEffect:!1,hl=Nu||mS,n9=Nu||nl.useLayoutEffect;var Uu=!1,Gu=_2.createContext(typeof HTMLElement<"u"?Hu({key:"css"}):null),xS=Gu.Provider;var Ue=function(a){return(0,Q4.forwardRef)(function(r,e){var i=(0,Q4.useContext)(Gu);return a(r,i,e)})},Ge=_2.createContext({});var Z4={}.hasOwnProperty,h9="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",qu=function(a,r){var e={};for(var i in r)Z4.call(r,i)&&(e[i]=r[i]);return e[h9]=a,e},zS=function(a){var r=a.cache,e=a.serialized,i=a.isStringTag;return Ie(r,e,i),hl(function(){return De(r,e,i)}),null},kS=Ue(function(t,a,r){var e=t.css;typeof e=="string"&&a.registered[e]!==void 0&&(e=a.registered[e]);var i=t[h9],o=[e],l="";typeof t.className=="string"?l=ol(a.registered,o,t.className):t.className!=null&&(l=t.className+" ");var n=Ne(o,void 0,_2.useContext(Ge));l+=a.key+"-"+n.name;var h={};for(var c in t)Z4.call(t,c)&&c!=="css"&&c!==h9&&!Uu&&(h[c]=t[c]);return h.className=l,r&&(h.ref=r),_2.createElement(_2.Fragment,null,_2.createElement(zS,{cache:a,serialized:n,isStringTag:typeof i=="string"}),_2.createElement(i,h))}),$u=kS;var ja=W(at());var RN=W(Pu()),Ku=function(a,r){var e=arguments;if(r==null||!Z4.call(r,"css"))return ja.createElement.apply(void 0,e);var i=e.length,o=new Array(i);o[0]=$u,o[1]=qu(a,r);for(var l=2;l<i;l++)o[l]=e[l];return ja.createElement.apply(null,o)};(function(t){var a;a||(a=t.JSX||(t.JSX={}))})(Ku||(Ku={}));var c9=Ue(function(t,a){var r=t.styles,e=Ne([r],void 0,ja.useContext(Ge)),i=ja.useRef();return n9(function(){var o=a.key+"-global",l=new a.sheet.constructor({key:o,nonce:a.sheet.nonce,container:a.sheet.container,speedy:a.sheet.isSpeedy}),n=!1,h=document.querySelector('style[data-emotion="'+o+" "+e.name+'"]');return a.sheet.tags.length&&(l.before=a.sheet.tags[0]),h!==null&&(n=!0,h.setAttribute("data-emotion",o),l.hydrate([h])),i.current=[l,n],function(){l.flush()}},[a]),n9(function(){var o=i.current,l=o[0],n=o[1];if(n){o[1]=!1;return}if(e.next!==void 0&&De(a,e.next,!0),l.tags.length){var h=l.tags[l.tags.length-1].nextElementSibling;l.before=h,l.flush()}a.insert("",e,l,!1)},[a,e.name]),null});var B2=W(at(),1);function Yu(...t){return function(...r){t.forEach(e=>e?.(...r))}}var LS=(...t)=>t.map(a=>a?.trim?.()).filter(Boolean).join(" "),wS=/^on[A-Z]/;function mr(...t){let a={};for(let r of t){for(let e in a){if(wS.test(e)&&typeof a[e]=="function"&&typeof r[e]=="function"){a[e]=Yu(a[e],r[e]);continue}if(e==="className"||e==="class"){a[e]=LS(a[e],r[e]);continue}if(e==="style"){a[e]=Object.assign({},a[e]??{},r[e]??{});continue}a[e]=r[e]!==void 0?r[e]:a[e]}for(let e in r)a[e]===void 0&&(a[e]=r[e])}return a}var Xu=W(at(),1),bS=parseInt(Xu.version.split(".")[0],10),HS=bS>=19;function d9(t,a){if(t!=null){if(typeof t=="function")return t(a);try{t.current=a}catch{throw new Error(`Cannot assign value '${a}' to ref '${t}'`)}}}function Qu(...t){let a=t.filter(r=>r!=null);if(HS){let r=new Map;return e=>(a.forEach(i=>{let o=d9(i,e);o&&r.set(i,o)}),()=>{a.forEach(i=>{let o=r.get(i);o&&typeof o=="function"?o():d9(i,null)}),r.clear()})}else return r=>{a.forEach(e=>{d9(e,r)})}}function k0(t){let a=Object.assign({},t);for(let r in a)a[r]===void 0&&delete a[r];return a}var Zt=t=>t!=null&&typeof t=="object"&&!Array.isArray(t);var h1=t=>typeof t=="string",qe=t=>typeof t=="function";var _1=(...t)=>{let a=[];for(let r=0;r<t.length;r++){let e=t[r];if(!h1(e))continue;let i=e.trim();i&&a.push(i)}return a.join(" ")};function Zu(t){return t.default||t}var Ju=W(at(),1);function tM(t){let a=Ju.version;return!h1(a)||a.startsWith("18.")?t?.ref:t?.props?.ref}var $e=(...t)=>{let a=t.reduce((r,e)=>(e?.forEach(i=>r.add(i)),r),new Set([]));return Array.from(a)};var cl=W(K(),1);var J4=W(at(),1);function CS(t,a){return`${t} returned \`undefined\`. Seems you forgot to wrap component within ${a}`}function Oa(t={}){let{name:a,strict:r=!0,hookName:e="useContext",providerName:i="Provider",errorMessage:o,defaultValue:l}=t,n=(0,J4.createContext)(l);n.displayName=a;function h(){let c=(0,J4.useContext)(n);if(!c&&r){let d=new Error(o??CS(e,i));throw d.name="ContextError",Error.captureStackTrace?.(d,h),d}return c}return[n.Provider,h,n]}var[BS,X0]=Oa({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function s9(t){let{value:a,children:r}=t;return(0,cl.jsxs)(BS,{value:a,children:[!a._config.disableLayers&&(0,cl.jsx)(c9,{styles:a.layers.atRule}),(0,cl.jsx)(c9,{styles:a._global}),r]})}var th=W(at(),1);var VS=(t,a)=>{let r={},e={},i=Object.keys(t);for(let o of i)a(o)?e[o]=t[o]:r[o]=t[o];return[e,r]},L0=(t,a)=>{let r=qe(a)?a:e=>a.includes(e);return VS(t,r)};var TS=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function aM(t){return typeof t=="string"&&TS.has(t)}function rM(t,a,r){let{css:e,isValidProperty:i}=X0(),{children:o,...l}=t,n=(0,th.useMemo)(()=>{let[p,g]=L0(l,M=>r(M,a.variantKeys)),[u,f]=L0(g,a.variantKeys),[z,v]=L0(f,i);return{forwardedProps:p,variantProps:u,styleProps:z,elementProps:v}},[a.variantKeys,r,l,i]),{css:h,...c}=n.styleProps,d=(0,th.useMemo)(()=>{let p={...n.variantProps},g=a.variantKeys.includes("colorPalette"),u=a.variantKeys.includes("orientation");return g||(p.colorPalette=l.colorPalette),u||(p.orientation=l.orientation),a(p)},[a,n.variantProps,l.colorPalette,l.orientation]);return{styles:(0,th.useMemo)(()=>e(d,...yS(h),c),[e,d,h,c]),props:{...n.forwardedProps,...n.elementProps,children:o}}}var yS=t=>(Array.isArray(t)?t:[t]).filter(Boolean).flat();var SS=Zu(eu),WS=SS,jS=t=>t!=="theme",OS=(t,a,r)=>{let e;if(a){let i=a.shouldForwardProp;e=t.__emotion_forwardProp&&i?o=>t.__emotion_forwardProp(o)&&i(o):i}return typeof e!="function"&&r&&(e=t.__emotion_forwardProp),e},AS=typeof document<"u",eM=({cache:t,serialized:a,isStringTag:r})=>{Ie(t,a,r);let e=hl(()=>De(t,a,r));if(!AS&&e!==void 0){let i=a.name,o=a.next;for(;o!==void 0;)i=_1(i,o.name),o=o.next;return(0,w0.jsx)("style",{"data-emotion":_1(t.key,i),dangerouslySetInnerHTML:{__html:e},nonce:t.sheet.nonce})}return null},iM={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},PS=(t,a)=>Object.prototype.hasOwnProperty.call(t,a),ES=(t,a={},r={})=>{if(PS(iM,t)){r.forwardProps||(r.forwardProps=[]);let c=iM[t];r.forwardProps=$e([...r.forwardProps,...c])}let e=t.__emotion_real===t,i=e&&t.__emotion_base||t,o,l;r!==void 0&&(o=r.label,l=r.target);let n=[],h=Ue((c,d,s)=>{let{cva:p,isValidProperty:g}=X0(),u=a.__cva__?a:p(a),f=t.__emotion_cva&&!t.__emotion_cva.__cva__?p(t.__emotion_cva):t.__emotion_cva,z=_S(f,u),v=y=>(F,N)=>y.includes(F)?!0:!N?.includes(F)&&!g(F);!r.shouldForwardProp&&r.forwardProps&&(r.shouldForwardProp=v(r.forwardProps));let M=(y,F)=>{let N=typeof t=="string"&&t.charCodeAt(0)>96?WS:jS,X=!F?.includes(y)&&!g(y);return N(y)&&X},m=OS(t,r,e)||M,L=B2.useMemo(()=>Object.assign({},r.defaultProps,k0(c)),[c]),{props:H,styles:x}=rM(L,z,m),B="",C=[x],S=H;if(H.theme==null){S={};for(let y in H)S[y]=H[y];S.theme=B2.useContext(Ge)}typeof H.className=="string"?B=ol(d.registered,C,H.className):H.className!=null&&(B=_1(B,H.className));let k=Ne(n.concat(C),d.registered,S);k.styles&&(B=_1(B,`${d.key}-${k.name}`)),l!==void 0&&(B=_1(B,l));let P=!m("as"),j=P&&H.as||i,V={};for(let y in H)if(!(P&&y==="as")){if(aM(y)){let F=y.replace("html","").toLowerCase();V[F]=H[y];continue}m(y)&&(V[y]=H[y])}let A=B.trim();A?V.className=A:Reflect.deleteProperty(V,"className"),V.ref=s;let E=r.forwardAsChild||r.forwardProps?.includes("asChild");if(H.asChild&&!E){let y=B2.isValidElement(H.children)?B2.Children.only(H.children):B2.Children.toArray(H.children).find(B2.isValidElement);if(!y)throw new Error("[chakra-ui > factory] No valid child found");j=y.type,V.children=null,Reflect.deleteProperty(V,"asChild"),V=mr(V,y.props),V.ref=Qu(s,tM(y))}return V.as&&E?(V.as=void 0,(0,w0.jsxs)(B2.Fragment,{children:[(0,w0.jsx)(eM,{cache:d,serialized:k,isStringTag:typeof j=="string"}),(0,w0.jsx)(j,{asChild:!0,...V,children:(0,w0.jsx)(H.as,{children:V.children})})]})):(0,w0.jsxs)(B2.Fragment,{children:[(0,w0.jsx)(eM,{cache:d,serialized:k,isStringTag:typeof j=="string"}),(0,w0.jsx)(j,{...V})]})});return h.displayName=o!==void 0?o:`chakra(${typeof i=="string"?i:i.displayName||i.name||"Component"})`,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_forwardProp=r.shouldForwardProp,h.__emotion_cva=a,Object.defineProperty(h,"toString",{value(){return`.${l}`}}),h},p9=ES.bind(),g9=new Map,RS=new Proxy(p9,{apply(t,a,r){return p9(...r)},get(t,a){return g9.has(a)||g9.set(a,p9(a)),g9.get(a)}}),Et=RS,_S=(t,a)=>t&&!a?t:!t&&a?a:t.merge(a);var Z=Et("div");Z.displayName="Box";var dM=W(K(),1),dl=W(at(),1);function Ke(t){if(typeof t!="string")return t.displayName||t.name}function Ye(t){return t&&t.charAt(0).toUpperCase()+t.slice(1)}function v9(t,a){return t+Ye(a)}function oM(t,a){if(a)return t+Ye(a)}var lM=Object.freeze({}),nM=Object.freeze({});var hM=W(at(),1);function cM(t){let{key:a,recipe:r}=t,e=X0();return(0,hM.useMemo)(()=>r?e.cva(r):a!=null?e.getRecipeFn(a):e.cva({}),[a,r,e])}function b0(t){let{key:a,recipe:r}=t,e=Ye(a||r.className||"Component"),[i,o]=Oa({strict:!1,name:`${e}PropsContext`,providerName:`${e}PropsContext`});function l(c){let{unstyled:d,...s}=c,p=cM({key:a,recipe:s.recipe||r}),[g,u]=(0,dl.useMemo)(()=>p.splitVariantProps(s),[p,s]);return{styles:d?lM:p(g),className:p.className,props:u}}let n=(c,d)=>{let{displayName:s,...p}=d??{},g=Et(c,{},p),u=(0,dl.forwardRef)((f,z)=>{let v=o(),M=(0,dl.useMemo)(()=>mr(v,f),[f,v]),{styles:m,className:L,props:H}=l(M);return(0,dM.jsx)(g,{...H,ref:z,css:[m,M.css],className:_1(L,M.className)})});return u.displayName=s??e??Ke(c),u};function h(){return i}return{withContext:n,PropsProvider:i,withPropsProvider:h,usePropsContext:o,useRecipeResult:l}}function sM(t){return t==null?[]:Array.isArray(t)?t:[t]}var FS=t=>t!=null&&typeof t=="object";var Xe=t=>typeof t=="string",l0=t=>typeof t=="function",pM=t=>t==null,u9=(t,a)=>Object.prototype.hasOwnProperty.call(t,a),IS=t=>Object.prototype.toString.call(t),gM=Function.prototype.toString,DS=gM.call(Object),vM=t=>{if(!FS(t)||IS(t)!="[object Object]"||GS(t))return!1;let a=Object.getPrototypeOf(t);if(a===null)return!0;let r=u9(a,"constructor")&&a.constructor;return typeof r=="function"&&r instanceof r&&gM.call(r)==DS},NS=t=>typeof t=="object"&&t!==null&&"$$typeof"in t&&"props"in t,US=t=>typeof t=="object"&&t!==null&&"__v_isVNode"in t,GS=t=>NS(t)||US(t);var uM=t=>t(),M9=()=>{},sl=(...t)=>(...a)=>{t.forEach(function(r){r?.(...a)})};function pl(t){if(!vM(t)||t===void 0)return t;let a=Reflect.ownKeys(t).filter(e=>typeof e=="string"),r={};for(let e of a){let i=t[e];i!==void 0&&(r[e]=pl(i))}return r}function MM(t,a=Object.is){let r={...t},e=new Set,i=d=>(e.add(d),()=>e.delete(d)),o=()=>{e.forEach(d=>d())};return{subscribe:i,get:d=>r[d],set:(d,s)=>{a(r[d],s)||(r[d]=s,o())},update:d=>{let s=!1;for(let p in d){let g=d[p];g!==void 0&&!a(r[p],g)&&(r[p]=g,s=!0)}s&&o()},snapshot:()=>({...r})}}function ah(...t){let a=t.length===1?t[0]:t[1],r=t.length===2?t[0]:!0}function f9(...t){let a=t.length===1?t[0]:t[1],r=t.length===2?t[0]:!0}function gl(t,a){if(t==null)throw new Error(a())}function fM(t,a,r){let e=[];for(let i of a)t[i]==null&&e.push(i);if(e.length>0)throw new Error(`[zag-js${r?` > ${r}`:""}] missing required props: ${e.join(", ")}`)}var rh=W(at(),1);function qS(t,a){return`${t} returned \`undefined\`. Seems you forgot to wrap component within ${a}`}function F2(t={}){let{name:a,strict:r=!0,hookName:e="useContext",providerName:i="Provider",errorMessage:o,defaultValue:l}=t,n=(0,rh.createContext)(l);n.displayName=a;function h(){let c=(0,rh.useContext)(n);if(!c&&r){let d=new Error(o??qS(e,i));throw d.name="ContextError",u9(Error,"captureStackTrace")&&l0(Error.captureStackTrace)&&Error.captureStackTrace(d,h),d}return c}return[n.Provider,h,n]}var[$U,eh]=F2({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});function Aa(...t){return a=>{let r=[];for(let e of t)if(typeof e=="function"){let i=e(a);typeof i=="function"&&r.push(i)}else e&&(e.current=a);if(r.length)return()=>{for(let e of r)e()}}}var D2=W(at(),1);var $S=(...t)=>t.map(a=>a?.trim?.()).filter(Boolean).join(" "),KS=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,mM=t=>{let a={},r;for(;r=KS.exec(t);)a[r[1]]=r[2];return a},YS=(t,a)=>{if(Xe(t)){if(Xe(a))return`${t};${a}`;t=mM(t)}else Xe(a)&&(a=mM(a));return Object.assign({},t??{},a??{})};function kt(...t){let a={};for(let r of t){if(!r)continue;for(let i in a){if(i.startsWith("on")&&typeof a[i]=="function"&&typeof r[i]=="function"){a[i]=sl(r[i],a[i]);continue}if(i==="className"||i==="class"){a[i]=$S(a[i],r[i]);continue}if(i==="style"){a[i]=YS(a[i],r[i]);continue}a[i]=r[i]!==void 0?r[i]:a[i]}for(let i in r)a[i]===void 0&&(a[i]=r[i]);let e=Object.getOwnPropertySymbols(r);for(let i of e)a[i]=r[i]}return a}var Pa=".",kM="#",xM=new WeakMap,LM=new WeakMap;function m9(t){return t.join(Pa)}function XS(t){return t.includes(Pa)}function wM(t){return t.startsWith(kM)}function QS(t){return t.startsWith(Pa)}function ZS(t){return wM(t)?t.slice(kM.length):t}function x9(t,a){return t?`${t}${Pa}${a}`:a}function JS(t){let a=new Map,r=new Map,e=(i,o)=>{a.set(i,o);let l=o.id;l&&(r.has(l)&&f9(`[zag-js] Duplicate state id: "${l}"`),r.set(l,i));let n=o.states;if(n){gl(o.initial,()=>`[zag-js] Compound state "${i}" has child states but no "initial" property`),o.initial in n||f9(`[zag-js] Compound state "${i}" has initial "${String(o.initial)}" which is not a child state`);for(let[h,c]of Object.entries(n)){if(!c)continue;let d=x9(i,h);e(d,c)}}};for(let[i,o]of Object.entries(t.states))o&&e(i,o);return{index:a,idIndex:r}}function Qe(t){let a=xM.get(t);if(a)return a;let{index:r,idIndex:e}=JS(t);return xM.set(t,r),LM.set(t,e),r}function tW(t,a){return Qe(t),LM.get(t)?.get(a)}function z9(t){return t?String(t).split(Pa).filter(Boolean):[]}function ih(t,a){if(!a)return[];let r=Qe(t),e=z9(a),i=[],o=[];for(let l of e){o.push(l);let n=m9(o),h=r.get(n);if(!h)break;i.push({path:n,state:h})}return i}function vl(t,a){let r=Qe(t),e=z9(a);if(!e.length)return a;let i=[];for(let n of e){i.push(n);let h=m9(i);if(!r.has(h))return a}let o=m9(i),l=r.get(o);for(;l?.initial;){let n=`${o}${Pa}${l.initial}`,h=r.get(n);if(!h)break;o=n,l=h}return o}function zM(t,a){return Qe(t).has(a)}function k9(t,a,r){let e=String(a);if(wM(e)){let i=ZS(e),o=tW(t,i);return gl(o,()=>`[zag-js] Unknown state id: "${i}"`),vl(t,o)}if(QS(e)&&r){let i=x9(r,e.slice(1));return vl(t,i)}if(!XS(e)&&r){let i=z9(r);for(let o=i.length-1;o>=1;o--){let l=i.slice(0,o).join(Pa),n=x9(l,e);if(zM(t,n))return vl(t,n)}if(zM(t,e))return vl(t,e)}return vl(t,e)}function bM(t,a,r){let e=ih(t,a);for(let o=e.length-1;o>=0;o--){let n=e[o]?.state.on?.[r];if(n)return{transitions:n,source:e[o]?.path}}return{transitions:t.on?.[r],source:void 0}}function HM(t,a,r,e){let i=a?ih(t,a):[],o=ih(t,r),l=0;for(;l<i.length&&l<o.length&&i[l]?.path===o[l]?.path;)l+=1;let n=i.slice(l).reverse(),h=o.slice(l),c=i.at(-1)?.path===o.at(-1)?.path;return e&&c&&(n=i.slice().reverse(),h=o),{exiting:n,entering:h}}function CM(t,a){return t?t===a||t.startsWith(`${a}${Pa}`):!1}function BM(t,a,r){return ih(t,a).some(e=>e.state.tags?.includes(r))}function VM(){return{and:(...t)=>function(r){return t.every(e=>r.guard(e))},or:(...t)=>function(r){return t.some(e=>r.guard(e))},not:t=>function(r){return!r.guard(t)}}}function oh(t){return Qe(t),t}var Ea=(t=>(t.NotStarted="Not Started",t.Started="Started",t.Stopped="Stopped",t))(Ea||{}),ul="__init__";var aW=Object.defineProperty,rW=(t,a,r)=>a in t?aW(t,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[a]=r,lh=(t,a,r)=>rW(t,typeof a!="symbol"?a+"":a,r);var L9=()=>{},Ml=t=>typeof t=="object"&&t!==null;var F1=t=>t?"":void 0,w9=t=>t?"true":void 0;var eW=1,iW=9,oW=11;var Ra=t=>Ml(t)&&t.nodeType===eW&&typeof t.nodeName=="string",TM=t=>Ml(t)&&t.nodeType===iW,lW=t=>Ml(t)&&t===t.window;var yM=t=>Ra(t)?t.localName||"":"#document";function SM(t){return["html","body","#document"].includes(yM(t))}var nW=t=>Ml(t)&&t.nodeType!==void 0,b9=t=>nW(t)&&t.nodeType===oW&&"host"in t;function WM(t){if(!t)return!1;let a=t.getRootNode();return fl(a)===t}function I2(t){return TM(t)?t:lW(t)?t.document:t?.ownerDocument??document}function hW(t){return I2(t).documentElement}function V1(t){return b9(t)?V1(t.host):TM(t)?t.defaultView??window:Ra(t)?t.ownerDocument?.defaultView??window:window}function fl(t){let a=t.activeElement;for(;a?.shadowRoot;){let r=a.shadowRoot.activeElement;if(!r||r===a)break;a=r}return a}function jM(t){if(yM(t)==="html")return t;let a=t.assignedSlot||t.parentNode||b9(t)&&t.host||hW(t);return b9(a)?a.host:a}var H9=new WeakMap;function Ze(t){return H9.has(t)||H9.set(t,V1(t).getComputedStyle(t)),H9.get(t)}var OM=()=>typeof document<"u";function cW(){return navigator.userAgentData?.platform??navigator.platform}function dW(){let t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(({brand:a,version:r})=>`${a}/${r}`).join(" "):navigator.userAgent}var sW=t=>OM()&&t.test(cW()),pW=t=>OM()&&t.test(dW());var C9=()=>sW(/^Mac/i);var AM=()=>pW(/Android/i);function gW(t){return t.composedPath?.()??t.nativeEvent?.composedPath?.()}function Je(t){return gW(t)?.[0]??t.target}function PM(t){return vW(t).isComposing||t.keyCode===229}function EM(t){return t.pointerType===""&&t.isTrusted?!0:AM()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}var RM=t=>t.button===0;function vW(t){return t.nativeEvent??t}var nh=(t,a,r,e)=>{let i=typeof t=="function"?t():t;return i?.addEventListener(a,r,e),()=>{i?.removeEventListener(a,r,e)}};var uW=class _M{constructor(){lh(this,"id",null),lh(this,"fn_cleanup"),lh(this,"cleanup",()=>{this.cancel()})}static create(){return new _M}request(a){this.cancel(),this.id=globalThis.requestAnimationFrame(()=>{this.id=null,this.fn_cleanup=a?.()})}cancel(){this.id!==null&&(globalThis.cancelAnimationFrame(this.id),this.id=null),this.fn_cleanup?.(),this.fn_cleanup=void 0}isActive(){return this.id!==null}};function ml(t){let a=uW.create();return a.request(t),a.cleanup}function FM(t){let a=new Set;function r(e){let i=globalThis.requestAnimationFrame(e);a.add(()=>globalThis.cancelAnimationFrame(i))}return r(()=>r(t)),function(){a.forEach(i=>i())}}function IM(t){let a=jM(t);return SM(a)?I2(a).body:Ra(a)&&DM(a)?a:IM(a)}function B9(t,a=[]){let r=IM(t),e=r===t.ownerDocument.body,i=V1(r);return e?a.concat(i,i.visualViewport||[],DM(r)?r:[]):a.concat(r,B9(r,[]))}var MW=/auto|scroll|overlay|hidden|clip/,fW=new Set(["inline","contents"]);function DM(t){let a=V1(t),{overflow:r,overflowX:e,overflowY:i,display:o}=a.getComputedStyle(t);return MW.test(r+i+e)&&!fW.has(o)}function NM(t,a){return Array.from(t?.querySelectorAll(a)??[])}function UM(t,a){if(!t)return L9;let r=Object.keys(a).reduce((e,i)=>(e[i]=t.style.getPropertyValue(i),e),{});return mW(r,a)?L9:(Object.assign(t.style,a),()=>{Object.assign(t.style,r),t.style.length===0&&t.removeAttribute("style")})}function mW(t,a){return Object.keys(t).every(r=>t[r]===a[r])}function GM(t){let a=()=>t.getRootNode?.()??document,r=()=>I2(a());return{...t,getRootNode:a,getDoc:r,getWin:()=>r().defaultView??window,getActiveElement:()=>fl(a()),isActiveElement:WM,getById:l=>a().getElementById(l)}}function xW(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var V9=t=>{let a=(0,D2.memo)((0,D2.forwardRef)((r,e)=>{let{asChild:i,children:o,...l}=r;if(!i)return(0,D2.createElement)(t,{...l,ref:e},o);if(!(0,D2.isValidElement)(o))return null;let n=D2.Children.only(o),h=xW(n);return(0,D2.cloneElement)(n,{...kt(l,n.props),ref:e?Aa(e,h):h})}));return a.displayName=t.displayName||t.name,a},zW=()=>{let t=new Map;return new Proxy(V9,{apply(a,r,e){return V9(e[0])},get(a,r){let e=r;return t.has(e)||t.set(e,V9(e)),t.get(e)}})},jt=zW();var[nq,ti]=F2({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}});var qM=Object.defineProperty,hh=(t,a)=>{let r={};for(var e in t)qM(r,e,{get:t[e],enumerable:!0});return a||qM(r,Symbol.toStringTag,{value:"Module"}),r};var{withContext:kW,PropsProvider:sq}=b0({key:"heading"}),T9=kW("h2");var _a=()=>(t,a)=>a.reduce((r,e)=>{let[i,o]=r,l=e;return o[l]!==void 0&&(i[l]=o[l]),delete o[l],[i,o]},[{},{...t}]);var ch=t=>_a()(t,["immediate","lazyMount","onExitComplete","present","skipAnimationOnMount","unmountOnExit"]);var dh=W(at(),1);function $M(t,a={}){let{sync:r=!1}=a,e=LW(t);return(0,dh.useCallback)((...i)=>r?queueMicrotask(()=>e.current?.(...i)):e.current?.(...i),[r,e])}function LW(t){let a=(0,dh.useRef)(t);return a.current=t,a}var af=W(at(),1);var bW=W(at(),1);var H0=W(at(),1),y9=W(S4(),1);var Q0=W(at(),1),KM=W(S4(),1);var sh=W(at(),1),ph=typeof globalThis.document<"u"?sh.useLayoutEffect:sh.useEffect;function xl(t){let a=t().value??t().defaultValue,r=t().isEqual??Object.is,[e]=(0,Q0.useState)(a),[i,o]=(0,Q0.useState)(e),l=t().value!==void 0,n=(0,Q0.useRef)(i);n.current=l?t().value:i;let h=(0,Q0.useRef)(n.current);ph(()=>{h.current=n.current},[i,t().value]);let c=s=>{let p=h.current,g=l0(s)?s(p):s;t().debug&&console.log(`[bindable > ${t().debug}] setValue`,{next:g,prev:p}),l||o(g),r(g,p)||t().onChange?.(g,p)};function d(){return l?t().value:i}return{initial:e,ref:n,get:d,set(s){(t().sync?KM.flushSync:uM)(()=>c(s))},invoke(s,p){t().onChange?.(s,p)},hash(s){return t().hash?.(s)??String(s)}}}xl.cleanup=t=>{(0,Q0.useEffect)(()=>t,[])};xl.ref=t=>{let a=(0,Q0.useRef)(t);return{get:()=>a.current,set:r=>{a.current=r}}};var YM=W(at(),1);function XM(t){let a=(0,YM.useRef)(t);return{get(r){return a.current[r]},set(r,e){a.current[r]=e}}}var ai=W(at(),1),QM=(t,a)=>{let r=(0,ai.useRef)(!1),e=(0,ai.useRef)(!1);(0,ai.useEffect)(()=>{if(r.current&&e.current)return a();e.current=!0},[...(t??[]).map(i=>typeof i=="function"?i():i)]),(0,ai.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])};function gh(t,a={}){let r=(0,H0.useMemo)(()=>{let{id:P,ids:j,getRootNode:V}=a;return GM({id:P,ids:j,getRootNode:V})},[a]),e=(...P)=>{t.debug&&console.log(...P)},i=t.props?.({props:pl(a),scope:r})??a,o=wW(i),l=t.context?.({prop:o,bindable:xl,scope:r,flush:ZM,getContext(){return h},getComputed(){return H},getRefs(){return f},getEvent(){return g()}}),n=JM(l),h={get(P){return n.current?.[P].ref.current},set(P,j){n.current?.[P].set(j)},initial(P){return n.current?.[P].initial},hash(P){let j=n.current?.[P].get();return n.current?.[P].hash(j)}},c=(0,H0.useRef)(new Map),d=(0,H0.useRef)(null),s=(0,H0.useRef)(null),p=(0,H0.useRef)({type:""}),g=()=>({...p.current,current(){return p.current},previous(){return s.current}}),u=()=>({...x,matches(...P){return P.some(j=>CM(x.ref.current,j))},hasTag(P){return BM(t,x.ref.current,P)}}),f=XM(t.refs?.({prop:o,context:h})??{}),z=()=>({state:u(),context:h,event:g(),prop:o,send:k,action:v,guard:M,track:QM,refs:f,computed:H,flush:ZM,scope:r,choose:L}),v=P=>{let j=l0(P)?P(z()):P;if(!j)return;let V=j.map(A=>{let E=t.implementations?.actions?.[A];return E||ah(`[zag-js] No implementation found for action "${JSON.stringify(A)}"`),E});for(let A of V)A?.(z())},M=P=>{if(l0(P))return P(z());let j=t.implementations?.guards?.[P];return j||ah(`[zag-js] No implementation found for guard "${JSON.stringify(P)}"`),j?.(z())},m=P=>{let j=l0(P)?P(z()):P;if(!j)return;let V=j.map(E=>{let y=t.implementations?.effects?.[E];return y||ah(`[zag-js] No implementation found for effect "${JSON.stringify(E)}"`),y}),A=[];for(let E of V){let y=E?.(z());y&&A.push(y)}return()=>A.forEach(E=>E?.())},L=P=>sM(P).find(j=>{let V=!j.guard;return Xe(j.guard)?V=!!M(j.guard):l0(j.guard)&&(V=j.guard(z())),V}),H=P=>{gl(t.computed,()=>"[zag-js] No computed object found on machine");let j=t.computed[P];return j({context:h,event:g(),prop:o,refs:f,scope:r,computed:H})},x=xl(()=>({defaultValue:k9(t,t.initialState({prop:o})),onChange(P,j){let{exiting:V,entering:A}=HM(t,j,P,d.current?.reenter);if(V.forEach(E=>{c.current.get(E.path)?.(),c.current.delete(E.path)}),V.forEach(E=>{v(E.state?.exit)}),v(d.current?.actions),A.forEach(E=>{let y=m(E.state?.effects);if(y){let F=c.current.get(E.path);c.current.set(E.path,F?sl(F,y):y)}}),j===ul){v(t.entry);let E=m(t.effects);if(E){let y=c.current.get(ul);c.current.set(ul,y?sl(y,E):E)}}A.forEach(E=>{v(E.state?.entry)})}})),B=(0,H0.useRef)(void 0),C=(0,H0.useRef)(Ea.NotStarted);ph(()=>{queueMicrotask(()=>{let j=C.current===Ea.Started;C.current=Ea.Started,e(j?"rehydrating...":"initializing...");let V=B.current??x.initial;x.invoke(V,j?x.get():ul)});let P=c.current;return()=>{let j=S();e("unmounting..."),B.current=j,C.current=Ea.Stopped,P.forEach(V=>V?.()),c.current=new Map,d.current=null,queueMicrotask(()=>{v(t.exit),C.current=Ea.Stopped})}},[]);let S=()=>"ref"in x?x.ref.current:x.get(),k=P=>{queueMicrotask(()=>{if(C.current!==Ea.Started)return;s.current=p.current,p.current=P;let j=S(),{transitions:V,source:A}=bM(t,j,P.type),E=L(V);if(!E)return;d.current=E;let y=k9(t,E.target??j,A);e("transition",P.type,E.target||j,`(${E.actions})`),y!==j?(0,y9.flushSync)(()=>x.set(y)):E.reenter?x.invoke(j,j):v(E.actions??[])})};return t.watch?.(z()),{state:u(),send:k,context:h,prop:o,scope:r,refs:f,computed:H,event:g(),getStatus:()=>C.current}}function JM(t){let a=(0,H0.useRef)(t);return a.current=t,a}function wW(t){let a=JM(t);return function(e){return a.current[e]}}function ZM(t){queueMicrotask(()=>{(0,y9.flushSync)(()=>t())})}function tf(t){return new Proxy({},{get(a,r){return r==="style"?e=>t({style:e}).style:t}})}var vh=tf(t=>t);function S9(t,a){let{state:r,send:e,context:i}=t,o=r.matches("mounted","unmountSuspended");return{skip:!i.get("initial"),present:o,setNode(l){l&&e({type:"NODE.SET",node:l})},unmount(){e({type:"UNMOUNT"})}}}var W9=oh({props({props:t}){return{...t,present:!!t.present}},initialState({prop:t}){return t("present")?"mounted":"unmounted"},refs(){return{node:null,styles:null}},context({bindable:t}){return{unmountAnimationName:t(()=>({defaultValue:null})),prevAnimationName:t(()=>({defaultValue:null})),present:t(()=>({defaultValue:!1})),initial:t(()=>({sync:!0,defaultValue:!1}))}},exit:["cleanupNode"],watch({track:t,prop:a,send:r}){t([()=>a("present")],()=>{r({type:"PRESENCE.CHANGED"})})},on:{"NODE.SET":{actions:["setupNode"]},"PRESENCE.CHANGED":{actions:["setInitial","syncPresence"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}},unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:t})=>{t.get("initial")||queueMicrotask(()=>{t.set("initial",!0)})},invokeOnExitComplete:({prop:t,refs:a})=>{t("onExitComplete")?.();let r=a.get("node");if(!r)return;let e=V1(r),i=new e.CustomEvent("exitcomplete",{bubbles:!1});r.dispatchEvent(i)},setupNode:({refs:t,event:a})=>{t.get("node")!==a.node&&(t.set("node",a.node),t.set("styles",Ze(a.node)))},cleanupNode:({refs:t})=>{t.set("node",null),t.set("styles",null)},syncPresence:({context:t,refs:a,send:r,prop:e})=>{let i=e("present");if(i)return r({type:"MOUNT",src:"presence.changed"});let o=a.get("node");if(!i&&o?.ownerDocument.visibilityState==="hidden")return r({type:"UNMOUNT",src:"visibilitychange"});ml(()=>{if(e("present"))return;let l=uh(a.get("styles"));t.set("unmountAnimationName",l),l==="none"||l===t.get("prevAnimationName")||a.get("styles")?.display==="none"||a.get("styles")?.animationDuration==="0s"?r({type:"UNMOUNT",src:"presence.changed"}):r({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName:({context:t,refs:a})=>{ml(()=>{t.set("prevAnimationName",uh(a.get("styles")))})},clearPrevAnimationName:({context:t})=>{t.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:t,refs:a,send:r,prop:e})=>{let i=a.get("node");if(!i)return;let o=c=>{(c.composedPath?.()?.[0]??c.target)===i&&t.set("prevAnimationName",uh(a.get("styles")))},l=c=>{let d=uh(a.get("styles"));Je(c)===i&&d===t.get("unmountAnimationName")&&!e("present")&&r({type:"UNMOUNT",src:"animationend"})},n=c=>{Je(c)===i&&!e("present")&&r({type:"UNMOUNT",src:"animationcancel"})};i.addEventListener("animationstart",o),i.addEventListener("animationcancel",n),i.addEventListener("animationend",l);let h=UM(i,{animationFillMode:"forwards"});return()=>{i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",l),FM(()=>h())}}}}});function uh(t){return t?.animationName||"none"}var Mh=(t={})=>{let{lazyMount:a,unmountOnExit:r,present:e,skipAnimationOnMount:i=!1,...o}=t,l=(0,af.useRef)(!1),n={...o,present:e,onExitComplete:$M(t.onExitComplete)},h=gh(W9,n),c=S9(h,vh);c.present&&(l.current=!0);let d=!c.present&&!l.current&&a||r&&!c.present&&l.current,s=()=>({"data-state":c.skip&&i?void 0:e?"open":"closed",hidden:!c.present});return{ref:c.setNode,getPresenceProps:s,present:c.present,unmounted:d}};var[fh,mh]=F2({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"});var{withContext:CW,PropsProvider:Qq}=b0({key:"text"}),et=CW("p");var q=(t,a=[])=>({parts:(...r)=>{if(BW(a))return q(t,r);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...r)=>q(t,[...a,...r]),omit:(...r)=>q(t,a.filter(e=>!r.includes(e))),rename:r=>q(r,a),keys:()=>a,build:()=>[...new Set(a)].reduce((r,e)=>Object.assign(r,{[e]:{selector:[`&[data-scope="${ri(t)}"][data-part="${ri(e)}"]`,`& [data-scope="${ri(t)}"][data-part="${ri(e)}"]`].join(", "),attrs:{"data-scope":ri(t),"data-part":ri(e)}}}),{})}),ri=t=>t.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),BW=t=>t.length===0;var ei=q("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),e$=ei.build();var ii=q("avatar").parts("root","image","fallback"),s$=ii.build();var xh=q("carousel").parts("root","itemGroup","item","control","nextTrigger","prevTrigger","indicatorGroup","indicator","autoplayTrigger","progressText"),x$=xh.build();var j9=xh.extendWith("progressText","autoplayIndicator");var zh=q("checkbox").parts("root","label","control","indicator"),B$=zh.build();function VW(t){return!(t.metaKey||!C9()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}var TW=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function yW(t,a,r){let e=r?Je(r):null,i=I2(e),o=V1(e),l=fl(i);return t=t||l instanceof o.HTMLInputElement&&!TW.has(l?.type)||l instanceof o.HTMLTextAreaElement||l instanceof o.HTMLElement&&l.isContentEditable,!(t&&a==="keyboard"&&r instanceof o.KeyboardEvent&&!Reflect.has(SW,r.key))}var xr=null,O9=new Set,kh=new Map,zr=!1,A9=!1,rf=!1,SW={Tab:!0,Escape:!0};function P9(t,a){for(let r of O9)r(t,a)}function Lh(t){zr=!0,VW(t)&&(xr="keyboard",P9("keyboard",t))}function N2(t){xr="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(zr=!0,P9("pointer",t))}function ef(t){EM(t)&&(zr=!0,xr="virtual")}function of(t){let a=Je(t);a===V1(a)||a===I2(a)||rf||!t.isTrusted||(!zr&&!A9&&(xr="virtual",P9("virtual",t)),zr=!1,A9=!1)}function lf(){rf||(zr=!1,A9=!0)}function WW(t){if(typeof window>"u"||kh.get(V1(t)))return;let a=V1(t),r=I2(t),e=a.HTMLElement.prototype.focus;function i(){zr=!0,e.apply(this,arguments)}try{Object.defineProperty(a.HTMLElement.prototype,"focus",{configurable:!0,value:i})}catch{}r.addEventListener("keydown",Lh,!0),r.addEventListener("keyup",Lh,!0),r.addEventListener("click",ef,!0),a.addEventListener("focus",of,!0),a.addEventListener("blur",lf,!1),typeof a.PointerEvent<"u"?(r.addEventListener("pointerdown",N2,!0),r.addEventListener("pointermove",N2,!0),r.addEventListener("pointerup",N2,!0)):(r.addEventListener("mousedown",N2,!0),r.addEventListener("mousemove",N2,!0),r.addEventListener("mouseup",N2,!0)),a.addEventListener("beforeunload",()=>{jW(t)},{once:!0}),kh.set(a,{focus:e})}var jW=(t,a)=>{let r=V1(t),e=I2(t);a&&e.removeEventListener("DOMContentLoaded",a);let i=kh.get(r);if(i){try{Object.defineProperty(r.HTMLElement.prototype,"focus",{configurable:!0,value:i.focus})}catch{}e.removeEventListener("keydown",Lh,!0),e.removeEventListener("keyup",Lh,!0),e.removeEventListener("click",ef,!0),r.removeEventListener("focus",of,!0),r.removeEventListener("blur",lf,!1),typeof r.PointerEvent<"u"?(e.removeEventListener("pointerdown",N2,!0),e.removeEventListener("pointermove",N2,!0),e.removeEventListener("pointerup",N2,!0)):(e.removeEventListener("mousedown",N2,!0),e.removeEventListener("mousemove",N2,!0),e.removeEventListener("mouseup",N2,!0)),kh.delete(r)}};function wh(){return xr==="keyboard"||xr==="virtual"}function nf(t={}){let{isTextInput:a,autoFocus:r,onChange:e,root:i}=t;WW(i),e?.({isFocusVisible:r||wh(),modality:xr});let o=(l,n)=>{yW(!!a,l,n)&&e?.({isFocusVisible:wh(),modality:l})};return O9.add(o),()=>{O9.delete(o)}}var E9=zh.extendWith("group");var oi=q("clipboard").parts("root","control","trigger","indicator","input","label"),E$=oi.build();var li=q("collapsible").parts("root","trigger","content","indicator"),G$=li.build();var bh=q("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]),J$=bh.build();var df=["top","right","bottom","left"];var C0=Math.min,n0=Math.max,kl=Math.round,Ll=Math.floor,B0=t=>({x:t,y:t}),OW={left:"right",right:"left",bottom:"top",top:"bottom"};function R9(t,a,r){return n0(t,C0(a,r))}function V0(t,a){return typeof t=="function"?t(a):t}function Z0(t){return t.split("-")[0]}function kr(t){return t.split("-")[1]}function Ch(t){return t==="x"?"y":"x"}function Bh(t){return t==="y"?"height":"width"}function h0(t){let a=t[0];return a==="t"||a==="b"?"y":"x"}function Vh(t){return Ch(h0(t))}function sf(t,a,r){r===void 0&&(r=!1);let e=kr(t),i=Vh(t),o=Bh(i),l=i==="x"?e===(r?"end":"start")?"right":"left":e==="start"?"bottom":"top";return a.reference[o]>a.floating[o]&&(l=zl(l)),[l,zl(l)]}function pf(t){let a=zl(t);return[Hh(t),a,Hh(a)]}function Hh(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var hf=["left","right"],cf=["right","left"],AW=["top","bottom"],PW=["bottom","top"];function EW(t,a,r){switch(t){case"top":case"bottom":return r?a?cf:hf:a?hf:cf;case"left":case"right":return a?AW:PW;default:return[]}}function gf(t,a,r,e){let i=kr(t),o=EW(Z0(t),r==="start",e);return i&&(o=o.map(l=>l+"-"+i),a&&(o=o.concat(o.map(Hh)))),o}function zl(t){let a=Z0(t);return OW[a]+t.slice(a.length)}function RW(t){var a,r,e,i;return{top:(a=t.top)!=null?a:0,right:(r=t.right)!=null?r:0,bottom:(e=t.bottom)!=null?e:0,left:(i=t.left)!=null?i:0}}function _9(t){return typeof t!="number"?RW(t):{top:t,right:t,bottom:t,left:t}}function Lr(t){let{x:a,y:r,width:e,height:i}=t;return{width:e,height:i,top:r,left:a,right:a+e,bottom:r+i,x:a,y:r}}function vf(t,a,r){let{reference:e,floating:i}=t,o=h0(a),l=Vh(a),n=Bh(l),h=Z0(a),c=o==="y",d=e.x+e.width/2-i.width/2,s=e.y+e.height/2-i.height/2,p=e[n]/2-i[n]/2,g;switch(h){case"top":g={x:d,y:e.y-i.height};break;case"bottom":g={x:d,y:e.y+e.height};break;case"right":g={x:e.x+e.width,y:s};break;case"left":g={x:e.x-i.width,y:s};break;default:g={x:e.x,y:e.y}}let u=kr(a);return u&&(g[l]+=p*(u==="end"?1:-1)*(r&&c?-1:1)),g}async function ff(t,a){var r;a===void 0&&(a={});let{x:e,y:i,platform:o,rects:l,elements:n,strategy:h}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:s="floating",altBoundary:p=!1,padding:g=0}=V0(a,t),u=_9(g),z=n[p?s==="floating"?"reference":"floating":s],v=Lr(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(z)))==null||r?z:z.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(n.floating)),boundary:c,rootBoundary:d,strategy:h})),M=s==="floating"?{x:e,y:i,width:l.floating.width,height:l.floating.height}:l.reference,m=await(o.getOffsetParent==null?void 0:o.getOffsetParent(n.floating)),L=await(o.isElement==null?void 0:o.isElement(m))&&await(o.getScale==null?void 0:o.getScale(m))||{x:1,y:1},H=Lr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:n,rect:M,offsetParent:m,strategy:h}):M);return{top:(v.top-H.top+u.top)/L.y,bottom:(H.bottom-v.bottom+u.bottom)/L.y,left:(v.left-H.left+u.left)/L.x,right:(H.right-v.right+u.right)/L.x}}var _W=50,mf=async(t,a,r)=>{let{placement:e="bottom",strategy:i="absolute",middleware:o=[],platform:l}=r,n=l.detectOverflow?l:{...l,detectOverflow:ff},h=await(l.isRTL==null?void 0:l.isRTL(a)),c=await l.getElementRects({reference:t,floating:a,strategy:i}),{x:d,y:s}=vf(c,e,h),p=e,g=0,u={};for(let f=0;f<o.length;f++){let z=o[f];if(!z)continue;let{name:v,fn:M}=z,{x:m,y:L,data:H,reset:x}=await M({x:d,y:s,initialPlacement:e,placement:p,strategy:i,middlewareData:u,rects:c,platform:n,elements:{reference:t,floating:a}});d=m??d,s=L??s,u[v]={...u[v],...H},x&&g<_W&&(g++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(c=x.rects===!0?await l.getElementRects({reference:t,floating:a,strategy:i}):x.rects),{x:d,y:s}=vf(c,p,h)),f=-1)}return{x:d,y:s,placement:p,strategy:i,middlewareData:u}},xf=t=>({name:"arrow",options:t,async fn(a){let{x:r,y:e,placement:i,rects:o,platform:l,elements:n,middlewareData:h}=a,{element:c,padding:d=0}=V0(t,a)||{};if(c==null)return{};let s=_9(d),p={x:r,y:e},g=Vh(i),u=Bh(g),f=await l.getDimensions(c),z=g==="y",v=z?"top":"left",M=z?"bottom":"right",m=z?"clientHeight":"clientWidth",L=o.reference[u]+o.reference[g]-p[g]-o.floating[u],H=p[g]-o.reference[g],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(c)),B=x?x[m]:0;(!B||!await(l.isElement==null?void 0:l.isElement(x)))&&(B=n.floating[m]||o.floating[u]);let C=L/2-H/2,S=B/2-f[u]/2-1,k=C0(s[v],S),P=C0(s[M],S),j=B-f[u]-P,V=B/2-f[u]/2+C,A=R9(k,V,j),E=!h.arrow&&kr(i)!=null&&V!==A&&o.reference[u]/2-(V<k?k:P)-f[u]/2<0,y=E?V<k?V-k:V-j:0;return{[g]:p[g]+y,data:{[g]:A,centerOffset:V-A-y,...E&&{alignmentOffset:y}},reset:E}}});var zf=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(a){var r,e;let{placement:i,middlewareData:o,rects:l,initialPlacement:n,platform:h,elements:c}=a,{mainAxis:d=!0,crossAxis:s=!0,fallbackPlacements:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:f=!0,...z}=V0(t,a);if((r=o.arrow)!=null&&r.alignmentOffset)return{};let v=Z0(i),M=h0(n),m=Z0(n)===n,L=await(h.isRTL==null?void 0:h.isRTL(c.floating)),H=p||(m||!f?[zl(n)]:pf(n)),x=u!=="none";!p&&x&&H.push(...gf(n,f,u,L));let B=[n,...H],C=await h.detectOverflow(a,z),S=[],k=((e=o.flip)==null?void 0:e.overflows)||[];if(d&&S.push(C[v]),s){let A=sf(i,l,L);S.push(C[A[0]],C[A[1]])}if(k=[...k,{placement:i,overflows:S}],!S.every(A=>A<=0)){var P,j;let A=(((P=o.flip)==null?void 0:P.index)||0)+1,E=B[A];if(E&&(!(s==="alignment"?M!==h0(E):!1)||k.every(N=>h0(N.placement)===M?N.overflows[0]>0:!0)))return{data:{index:A,overflows:k},reset:{placement:E}};let y=(j=k.filter(F=>F.overflows[0]<=0).sort((F,N)=>F.overflows[1]-N.overflows[1])[0])==null?void 0:j.placement;if(!y)switch(g){case"bestFit":{var V;let F=(V=k.filter(N=>{if(x){let X=h0(N.placement);return X===M||X==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(X=>X>0).reduce((X,b)=>X+b,0)]).sort((N,X)=>N[1]-X[1])[0])==null?void 0:V[0];F&&(y=F);break}case"initialPlacement":y=n;break}if(i!==y)return{reset:{placement:y}}}return{}}}};function uf(t,a){return{top:t.top-a.height,right:t.right-a.width,bottom:t.bottom-a.height,left:t.left-a.width}}function Mf(t){return df.some(a=>t[a]>=0)}var kf=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(a){let{rects:r,platform:e}=a,{strategy:i="referenceHidden",...o}=V0(t,a);switch(i){case"referenceHidden":{let l=await e.detectOverflow(a,{...o,elementContext:"reference"}),n=uf(l,r.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:Mf(n)}}}case"escaped":{let l=await e.detectOverflow(a,{...o,altBoundary:!0}),n=uf(l,r.floating);return{data:{escapedOffsets:n,escaped:Mf(n)}}}default:return{}}}}};var Lf=new Set(["left","top"]);async function FW(t,a){let{placement:r,platform:e,elements:i}=t,o=await(e.isRTL==null?void 0:e.isRTL(i.floating)),l=Z0(r),n=kr(r),h=h0(r)==="y",c=Lf.has(l)?-1:1,d=o&&h?-1:1,s=V0(a,t),{mainAxis:p,crossAxis:g,alignmentAxis:u}=typeof s=="number"?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return n&&typeof u=="number"&&(g=n==="end"?u*-1:u),h?{x:g*d,y:p*c}:{x:p*c,y:g*d}}var wf=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(a){var r,e;let{x:i,y:o,placement:l,middlewareData:n}=a,h=await FW(a,t);return l===((r=n.offset)==null?void 0:r.placement)&&(e=n.arrow)!=null&&e.alignmentOffset?{}:{x:i+h.x,y:o+h.y,data:{...h,placement:l}}}}},bf=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(a){let{x:r,y:e,placement:i,platform:o}=a,{mainAxis:l=!0,crossAxis:n=!1,limiter:h={fn:M=>{let{x:m,y:L}=M;return{x:m,y:L}}},...c}=V0(t,a),d={x:r,y:e},s=await o.detectOverflow(a,c),p=h0(i),g=Ch(p),u=d[g],f=d[p],z=(M,m)=>R9(m+s[M==="y"?"top":"left"],m,m-s[M==="y"?"bottom":"right"]);l&&(u=z(g,u)),n&&(f=z(p,f));let v=h.fn({...a,[g]:u,[p]:f});return{...v,data:{x:v.x-r,y:v.y-e,enabled:{[g]:l,[p]:n}}}}}},Hf=function(t){return t===void 0&&(t={}),{options:t,fn(a){var r,e;let{x:i,y:o,placement:l,rects:n,middlewareData:h}=a,{offset:c=0,mainAxis:d=!0,crossAxis:s=!0}=V0(t,a),p={x:i,y:o},g=h0(l),u=Ch(g),f=p[u],z=p[g],v=V0(c,a),M=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:(r=v.mainAxis)!=null?r:0,crossAxis:(e=v.crossAxis)!=null?e:0};if(d){let H=u==="y"?"height":"width",x=n.reference[u]-n.floating[H]+M.mainAxis,B=n.reference[u]+n.reference[H]-M.mainAxis;f<x?f=x:f>B&&(f=B)}if(s){var m,L;let H=u==="y"?"width":"height",x=Lf.has(Z0(l)),B=n.reference[g]-n.floating[H]+(x&&((m=h.offset)==null?void 0:m[g])||0)+(x?0:M.crossAxis),C=n.reference[g]+n.reference[H]+(x?0:((L=h.offset)==null?void 0:L[g])||0)-(x?M.crossAxis:0);z<B?z=B:z>C&&(z=C)}return{[u]:f,[g]:z}}}},Cf=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(a){let{placement:r,rects:e,platform:i,elements:o}=a,{apply:l=()=>{},...n}=V0(t,a),h=await i.detectOverflow(a,n),c=Z0(r),d=kr(r),s=h0(r)==="y",{width:p,height:g}=e.floating,u,f;c==="top"||c==="bottom"?(u=c,f=d===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(f=c,u=d==="end"?"top":"bottom");let z=g-h.top-h.bottom,v=p-h.left-h.right,M=C0(g-h[u],z),m=C0(p-h[f],v),L=a.middlewareData.shift,H=!L,x=M,B=m;L!=null&&L.enabled.x&&(B=v),L!=null&&L.enabled.y&&(x=z),H&&!d&&(s?B=p-2*n0(h.left,h.right):x=g-2*n0(h.top,h.bottom)),await l({...a,availableWidth:B,availableHeight:x});let C=await i.getDimensions(o.floating);return p!==C.width||g!==C.height?{reset:{rects:!0}}:{}}}};function Th(){return typeof window<"u"}function br(t){return Vf(t)?(t.nodeName||"").toLowerCase():"#document"}function e2(t){var a;return(t==null||(a=t.ownerDocument)==null?void 0:a.defaultView)||window}function T0(t){var a;return(a=(Vf(t)?t.ownerDocument:t.document)||window.document)==null?void 0:a.documentElement}function Vf(t){return Th()?t instanceof Node||t instanceof e2(t).Node:!1}function c0(t){return Th()?t instanceof Element||t instanceof e2(t).Element:!1}function J0(t){return Th()?t instanceof HTMLElement||t instanceof e2(t).HTMLElement:!1}function Bf(t){return!Th()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof e2(t).ShadowRoot}function wl(t){let{overflow:a,overflowX:r,overflowY:e,display:i}=d0(t);return/auto|scroll|overlay|hidden|clip/.test(a+e+r)&&i!=="inline"&&i!=="contents"}function Tf(t){return/^(table|td|th)$/.test(br(t))}function bl(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var IW=/transform|translate|scale|rotate|perspective|filter/,DW=/paint|layout|strict|content/,wr=t=>!!t&&t!=="none",F9;function yh(t){let a=c0(t)?d0(t):t;return wr(a.transform)||wr(a.translate)||wr(a.scale)||wr(a.rotate)||wr(a.perspective)||!Sh()&&(wr(a.backdropFilter)||wr(a.filter))||IW.test(a.willChange||"")||DW.test(a.contain||"")}function yf(t){let a=Fa(t);for(;J0(a)&&!hi(a);){if(yh(a))return a;if(bl(a))return null;a=Fa(a)}return null}function Sh(){return F9==null&&(F9=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),F9}function hi(t){return/^(html|body|#document)$/.test(br(t))}function d0(t){return e2(t).getComputedStyle(t)}function Hl(t){return c0(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Fa(t){if(br(t)==="html")return t;let a=t.assignedSlot||t.parentNode||Bf(t)&&t.host||T0(t);return Bf(a)?a.host:a}function Sf(t){let a=Fa(t);return hi(a)?(t.ownerDocument||t).body:J0(a)&&wl(a)?a:Sf(a)}function ni(t,a,r){var e;a===void 0&&(a=[]),r===void 0&&(r=!0);let i=Sf(t),o=i===((e=t.ownerDocument)==null?void 0:e.body),l=e2(i);if(o){let n=Wh(l);return a.concat(l,l.visualViewport||[],wl(i)?i:[],n&&r?ni(n):[])}else return a.concat(i,ni(i,[],r))}function Wh(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Of(t){let a=d0(t),r=parseFloat(a.width)||0,e=parseFloat(a.height)||0,i=J0(t),o=i?t.offsetWidth:r,l=i?t.offsetHeight:e,n=kl(r)!==o||kl(e)!==l;return n&&(r=o,e=l),{width:r,height:e,$:n}}function D9(t){return c0(t)?t:t.contextElement}function ci(t){let a=D9(t);if(!J0(a))return B0(1);let r=a.getBoundingClientRect(),{width:e,height:i,$:o}=Of(a),l=(o?kl(r.width):r.width)/e,n=(o?kl(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!n||!Number.isFinite(n))&&(n=1),{x:l,y:n}}var NW=B0(0);function Af(t){let a=e2(t);return!Sh()||!a.visualViewport?NW:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function UW(t,a,r){return a===void 0&&(a=!1),!!r&&a&&r===e2(t)}function Hr(t,a,r,e){a===void 0&&(a=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),o=D9(t),l=B0(1);a&&(e?c0(e)&&(l=ci(e)):l=ci(t));let n=UW(o,r,e)?Af(o):B0(0),h=(i.left+n.x)/l.x,c=(i.top+n.y)/l.y,d=i.width/l.x,s=i.height/l.y;if(o&&e){let p=e2(o),g=c0(e)?e2(e):e,u=p,f=Wh(u);for(;f&&g!==u;){let z=ci(f),v=f.getBoundingClientRect(),M=d0(f),m=v.left+(f.clientLeft+parseFloat(M.paddingLeft))*z.x,L=v.top+(f.clientTop+parseFloat(M.paddingTop))*z.y;h*=z.x,c*=z.y,d*=z.x,s*=z.y,h+=m,c+=L,u=e2(f),f=Wh(u)}}return Lr({width:d,height:s,x:h,y:c})}function jh(t,a){let r=Hl(t).scrollLeft;return a?a.left+r:Hr(T0(t)).left+r}function Pf(t,a){let r=t.getBoundingClientRect(),e=r.left+a.scrollLeft-jh(t,r),i=r.top+a.scrollTop;return{x:e,y:i}}function GW(t){let{elements:a,rect:r,offsetParent:e,strategy:i}=t,o=i==="fixed",l=T0(e),n=a?bl(a.floating):!1;if(e===l||n&&o)return r;let h={scrollLeft:0,scrollTop:0},c=B0(1),d=B0(0),s=J0(e);if((s||!o)&&((br(e)!=="body"||wl(l))&&(h=Hl(e)),s)){let g=Hr(e);c=ci(e),d.x=g.x+e.clientLeft,d.y=g.y+e.clientTop}let p=l&&!s&&!o?Pf(l,h):B0(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-h.scrollLeft*c.x+d.x+p.x,y:r.y*c.y-h.scrollTop*c.y+d.y+p.y}}function qW(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function $W(t){let a=Hl(t),r=t.ownerDocument.body,e=n0(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=n0(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-a.scrollLeft+jh(t),l=-a.scrollTop;return d0(r).direction==="rtl"&&(o+=n0(t.clientWidth,r.clientWidth)-e),{width:e,height:i,x:o,y:l}}var KW=25;function YW(t,a,r){r===void 0&&(r="viewport");let e=r==="layoutViewport",i=e2(t),o=T0(t),l=i.visualViewport,n=o.clientWidth,h=o.clientHeight,c=0,d=0;if(l){let p=!Sh()||a==="fixed";e?p||(c=-l.offsetLeft,d=-l.offsetTop):(n=l.width,h=l.height,p&&(c=l.offsetLeft,d=l.offsetTop))}if(jh(o)<=0){let p=o.ownerDocument,g=p.body,u=getComputedStyle(g),f=p.compatMode==="CSS1Compat"&&parseFloat(u.marginLeft)+parseFloat(u.marginRight)||0,z=Math.abs(o.clientWidth-g.clientWidth-f),v=getComputedStyle(o).scrollbarGutter==="stable both-edges"?z/2:z;v<=KW&&(n-=v)}return{width:n,height:h,x:c,y:d}}function XW(t,a){let r=Hr(t,!0,a==="fixed"),e=r.top+t.clientTop,i=r.left+t.clientLeft,o=ci(t),l=t.clientWidth*o.x,n=t.clientHeight*o.y,h=i*o.x,c=e*o.y;return{width:l,height:n,x:h,y:c}}function Wf(t,a,r){let e;if(a==="viewport"||a==="layoutViewport")e=YW(t,r,a);else if(a==="document")e=$W(T0(t));else if(c0(a))e=XW(a,r);else{let i=Af(t);e={x:a.x-i.x,y:a.y-i.y,width:a.width,height:a.height}}return Lr(e)}function QW(t,a){let r=a.get(t);if(r)return r;let e=ni(t,[],!1).filter(n=>c0(n)&&br(n)!=="body"),i=null,o=d0(t).position==="fixed",l=o?Fa(t):t;for(;c0(l)&&!hi(l);){let n=d0(l),h=yh(l),c=i?i.position:o?"fixed":"";!h&&(c==="fixed"||c==="absolute"&&n.position==="static")?e=e.filter(s=>s!==l):i=n,l=Fa(l)}return a.set(t,e),e}function ZW(t){let{element:a,boundary:r,rootBoundary:e,strategy:i}=t,l=[...r==="clippingAncestors"?bl(a)?[]:QW(a,this._c):[].concat(r),e],n=Wf(a,l[0],i),h=n.top,c=n.right,d=n.bottom,s=n.left;for(let p=1;p<l.length;p++){let g=Wf(a,l[p],i);h=n0(g.top,h),c=C0(g.right,c),d=C0(g.bottom,d),s=n0(g.left,s)}return{width:c-s,height:d-h,x:s,y:h}}function JW(t){let{width:a,height:r}=Of(t);return{width:a,height:r}}function tj(t,a,r){let e=J0(a),i=T0(a),o=r==="fixed",l=Hr(t,!0,o,a),n={scrollLeft:0,scrollTop:0},h=B0(0);if((e||!o)&&((br(a)!=="body"||wl(i))&&(n=Hl(a)),e)){let p=Hr(a,!0,o,a);h.x=p.x+a.clientLeft,h.y=p.y+a.clientTop}!e&&i&&(h.x=jh(i));let c=i&&!e&&!o?Pf(i,n):B0(0),d=l.left+n.scrollLeft-h.x-c.x,s=l.top+n.scrollTop-h.y-c.y;return{x:d,y:s,width:l.width,height:l.height}}function I9(t){return d0(t).position==="static"}function jf(t,a){if(!J0(t)||d0(t).position==="fixed")return null;if(a)return a(t);let r=t.offsetParent;return T0(t)===r&&(r=r.ownerDocument.body),r}function Ef(t,a){let r=e2(t);if(bl(t))return r;if(!J0(t)){let i=Fa(t);for(;i&&!hi(i);){if(c0(i)&&!I9(i))return i;i=Fa(i)}return r}let e=jf(t,a);for(;e&&Tf(e)&&I9(e);)e=jf(e,a);return e&&hi(e)&&I9(e)&&!yh(e)?r:e||yf(t)||r}var aj=async function(t){let a=this.getOffsetParent||Ef,r=this.getDimensions,e=await r(t.floating);return{reference:tj(t.reference,await a(t.floating),t.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function rj(t){return d0(t).direction==="rtl"}var ej={convertOffsetParentRelativeRectToViewportRelativeRect:GW,getDocumentElement:T0,getClippingRect:ZW,getOffsetParent:Ef,getElementRects:aj,getClientRects:qW,getDimensions:JW,getScale:ci,isElement:c0,isRTL:rj};function Rf(t,a){return t.x===a.x&&t.y===a.y&&t.width===a.width&&t.height===a.height}function ij(t,a,r){let e=null,i,o=T0(t);function l(){var d;clearTimeout(i),(d=e)==null||d.disconnect(),e=null}function n(d,s){d===void 0&&(d=!1),s===void 0&&(s=1),l();let p=t.getBoundingClientRect(),{left:g,top:u,width:f,height:z}=p;if(d||a(),!f||!z)return;let v=Ll(u),M=Ll(o.clientWidth-(g+f)),m=Ll(o.clientHeight-(u+z)),L=Ll(g),x={rootMargin:-v+"px "+-M+"px "+-m+"px "+-L+"px",threshold:n0(0,C0(1,s))||1},B=!0;function C(S){let k=S[0].intersectionRatio;if(!Rf(p,t.getBoundingClientRect()))return n();if(k!==s){if(!B)return n();k?n(!1,k):i=setTimeout(()=>{n(!1,1e-7)},1e3)}B=!1}try{e=new IntersectionObserver(C,{...x,root:o.ownerDocument})}catch{e=new IntersectionObserver(C,x)}e.observe(t)}let h=e2(t),c=()=>n(r);return h.addEventListener("resize",c),n(!0),()=>{h.removeEventListener("resize",c),l()}}function _f(t,a,r,e){e===void 0&&(e={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:n=typeof IntersectionObserver=="function",animationFrame:h=!1}=e,c=D9(t),d=i||o?[...c?ni(c):[],...a?ni(a):[]]:[];d.forEach(v=>{i&&v.addEventListener("scroll",r),o&&v.addEventListener("resize",r)});let s=c&&n?ij(c,r,o):null,p=-1,g=null;l&&(g=new ResizeObserver(v=>{let[M]=v;M&&M.target===c&&g&&a&&(g.unobserve(a),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var m;(m=g)==null||m.observe(a)})),r()}),c&&!h&&g.observe(c),a&&g.observe(a));let u,f=h?Hr(t):null;h&&z();function z(){let v=Hr(t);f&&!Rf(f,v)&&r(),f=v,u=requestAnimationFrame(z)}return r(),()=>{var v;d.forEach(M=>{i&&M.removeEventListener("scroll",r),o&&M.removeEventListener("resize",r)}),s?.(),(v=g)==null||v.disconnect(),g=null,h&&cancelAnimationFrame(u)}}var Ff=wf;var If=bf,Df=zf,Nf=Cf,Uf=kf,Gf=xf;var qf=Hf,$f=(t,a,r)=>{let e=new Map,i=r??{},o={...ej,...i.platform,_c:e};return mf(t,a,{...i,platform:o})};function Kf(t=0,a=0,r=0,e=0){if(typeof DOMRect=="function")return new DOMRect(t,a,r,e);let i={x:t,y:a,width:r,height:e,top:a,right:t+r,bottom:a+e,left:t};return{...i,toJSON:()=>i}}function oj(t){if(!t)return Kf();let{x:a,y:r,width:e,height:i}=t;return Kf(a,r,e,i)}function Yf(t,a){return{contextElement:Ra(t)?t:t?.contextElement,getBoundingClientRect:()=>{let r=t,e=a?.(r);return e||!r?oj(e):r.getBoundingClientRect()}}}var Cl=t=>({variable:t,reference:`var(${t})`}),y0={arrowSize:Cl("--arrow-size"),arrowSizeHalf:Cl("--arrow-size-half"),arrowBg:Cl("--arrow-background"),transformOrigin:Cl("--transform-origin"),arrowOffset:Cl("--arrow-offset")},lj=t=>t==="top"||t==="bottom"?"y":"x";function Xf(t,a){return{name:"transformOrigin",fn(r){let{elements:e,middlewareData:i,placement:o,rects:l,y:n}=r,h=o.split("-")[0],c=lj(h),d=i.arrow?.x||0,s=i.arrow?.y||0,p=a?.clientWidth||0,g=a?.clientHeight||0,u=d+p/2,f=s+g/2,z=Math.abs(i.shift?.y||0),v=l.reference.height/2,M=g/2,m=t.offset?.mainAxis??t.gutter,L=typeof m=="number"?m+M:m??M,H=z>L,x={top:`${u}px calc(100% + ${L}px)`,bottom:`${u}px ${-L}px`,left:`calc(100% + ${L}px) ${f}px`,right:`${-L}px ${f}px`}[h],B=`${u}px ${l.reference.y+v-n}px`,C=!!t.overlap&&c==="y"&&H;return e.floating.style.setProperty(y0.transformOrigin.variable,C?B:x),{data:{transformOrigin:C?B:x}}}}}var Qf={name:"rects",fn({rects:t}){return{data:t}}},Zf=t=>{if(t)return{name:"shiftArrow",fn({placement:a,middlewareData:r}){if(!r.arrow)return{};let{x:e,y:i}=r.arrow,o=a.split("-")[0];return Object.assign(t.style,{left:e!=null?`${e}px`:"",top:i!=null?`${i}px`:"",[o]:`calc(100% + ${y0.arrowOffset.reference})`}),{}}}};function Jf(t){let[a,r]=t.split("-");return{side:a,align:r,hasAlign:r!=null}}function N9(t){return t.split("-")[0]}var nj={strategy:"absolute",placement:"bottom",listeners:!0,restoreStyles:!1,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function tm(t,a){let r=t.devicePixelRatio||1;return Math.round(a*r)/r}function di(t,a){return t!=null&&Math.abs(t-a)<.5}function Oh(t){return typeof t=="function"?t():t==="clipping-ancestors"?"clippingAncestors":t}function hj(t,a,r){let e=t||a.createElement("div");return Gf({element:e,padding:r.arrowPadding})}function cj(t,a){if(!pM(a.offset??a.gutter))return Ff(({placement:r})=>{let e=(t?.clientHeight||0)/2,i=a.offset?.mainAxis??a.gutter,o=typeof i=="number"?i+e:i??e,{hasAlign:l}=Jf(r),n=l?void 0:a.shift,h=a.offset?.crossAxis??n;return pl({crossAxis:h,mainAxis:o,alignmentAxis:a.shift})})}function dj(t){if(t.flip)return Df(()=>{let a=Oh(t.boundary);return{...a?{boundary:a}:void 0,padding:t.overflowPadding,fallbackPlacements:t.flip===!0?void 0:t.flip}})}function sj(t){if(!(!t.slide&&!t.overlap))return If(()=>{let a=Oh(t.boundary);return{...a?{boundary:a}:void 0,mainAxis:t.slide,crossAxis:t.overlap,padding:t.overflowPadding,limiter:qf()}})}function pj(t){if(t.sizeMiddleware===!1&&!t.sameWidth&&!t.fitViewport)return;let a,r,e,i;return Nf(()=>{let o=Oh(t.boundary);return{padding:t.overflowPadding,...o?{boundary:o}:void 0,apply({elements:l,rects:n,availableHeight:h,availableWidth:c}){let d=l.floating,s=Math.round(n.reference.width),p=Math.round(n.reference.height);c=Math.floor(c),h=Math.floor(h),di(a,s)||(d.style.setProperty("--reference-width",`${s}px`),a=s),di(r,p)||(d.style.setProperty("--reference-height",`${p}px`),r=p),di(e,c)||(d.style.setProperty("--available-width",`${c}px`),e=c),di(i,h)||(d.style.setProperty("--available-height",`${h}px`),i=h)}}})}function gj(t){if(t.hideWhenDetached)return Uf(()=>({strategy:"referenceHidden",boundary:Oh(t.boundary)??"clippingAncestors"}))}function vj(t){return t?t===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:t:{}}var uj=["transform","visibility","pointer-events","--x","--y","--z-index","--reference-width","--reference-height","--available-width","--available-height","--transform-origin"],Mj=["top","right","bottom","left"];function am(t,a){if(!t)return M9;let r=new Map(a.map(e=>[e,t.style.getPropertyValue(e)]));return()=>{r.forEach((e,i)=>{e?t.style.setProperty(i,e):t.style.removeProperty(i)}),t.style.length===0&&t.removeAttribute("style")}}function rm(t){return t==null?null:Ra(t)?t:typeof t=="object"&&t&&"contextElement"in t&&t.contextElement?t.contextElement:t}function fj(t,a,r={}){let e=()=>(typeof a=="function"?a():a)??null,i=()=>{let k=typeof t=="function"?t():t;return r.getAnchorElement?.()??k},o=()=>{let k=i();return!k&&!r.getAnchorRect?null:Yf(k,r.getAnchorRect)},l=Object.assign({},nj,r),n=[],h=null,c,d;function s(k){c?.(),d?.(),h=k,c=l.restoreStyles?am(k,uj):void 0;let P=k.querySelector("[data-part=arrow]");d=l.restoreStyles?am(P,Mj):void 0,n=[cj(P,l),dj(l),sj(l),hj(P,k.ownerDocument,l),Zf(P),Xf({gutter:l.gutter,offset:l.offset,overlap:l.overlap},P),pj(l),gj(l),Qf]}let{placement:p,strategy:g,onComplete:u,onPositioned:f}=l,z,v,M=!1,m,L,H=M9,x=vj(l.listeners);function B(){if(!l.listeners)return;let k=i(),P=o(),j=e();if(!P||!j)return;(rm(k)!==rm(m)||j!==L)&&(H(),m=k,L=j,H=_f(P,j,S,x))}async function C(){B();let k=e();if(!k)return;k!==h&&(s(k),M=!1);let P=o();if(!P)return;let j=await $f(P,k,{placement:p,middleware:n,strategy:g});u?.(j);let V=V1(k),A=tm(V,j.x),E=tm(V,j.y);if(di(z,A)||(k.style.setProperty("--x",`${A}px`),z=A),di(v,E)||(k.style.setProperty("--y",`${E}px`),v=E),l.hideWhenDetached&&(j.middlewareData.hide?.referenceHidden?(k.style.setProperty("visibility","hidden"),k.style.setProperty("pointer-events","none")):(k.style.removeProperty("visibility"),k.style.removeProperty("pointer-events"))),!M){let y=k.firstElementChild;y&&(k.style.setProperty("--z-index",Ze(y).zIndex),M=!0)}}async function S(){r.updatePosition?(await r.updatePosition({updatePosition:C,floatingElement:e()}),f?.({placed:!0})):await C()}return S(),()=>{H(),d?.(),c?.(),f?.({placed:!1})}}function Bl(t,a,r={}){let{defer:e,...i}=r,o=e?ml:n=>n(),l=[];return l.push(o(()=>{l.push(fj(t,a,i))})),()=>{l.forEach(n=>n?.())}}var mj={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function U9(t={}){let{placement:a,sameWidth:r,fitViewport:e,strategy:i="absolute"}=t;return{arrow:{position:"absolute",width:y0.arrowSize.reference,height:y0.arrowSize.reference,[y0.arrowSizeHalf.variable]:`calc(${y0.arrowSize.reference} / 2)`,[y0.arrowOffset.variable]:`calc(${y0.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:a?mj[a.split("-")[0]]:void 0,background:y0.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:i,isolation:"isolate",minWidth:r?void 0:"max-content",width:r?"var(--reference-width)":void 0,maxWidth:e?"var(--available-width)":void 0,maxHeight:e?"var(--available-height)":void 0,pointerEvents:a?void 0:"none",top:"0px",left:"0px",transform:a?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}var G9=bh.extendWith("view");var Ah=q("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger"),EK=Ah.build();var q9=Ah.extendWith("empty");var Ph=q("date-picker").parts("clearTrigger","content","control","input","label","monthSelect","nextTrigger","positioner","presetTrigger","prevTrigger","rangeText","root","table","tableBody","tableCell","tableCellTrigger","tableHead","tableHeader","tableRow","trigger","view","viewControl","viewTrigger","yearSelect"),GK=Ph.build();var $9=Ph.extendWith("view","valueText");var Cr=q("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),JK=Cr.build();var si=q("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control"),nY=si.build();var Eh=q("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator"),V2=Eh.build();var Rh=q("fieldset").parts("root","errorText","helperText","legend"),fY=Rh.build();var pi=q("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger"),zY=pi.build();var gi=q("floating-panel").parts("trigger","positioner","content","header","body","title","resizeTrigger","dragTrigger","stageTrigger","closeTrigger","control"),VY=gi.build();var vi=q("hoverCard").parts("arrow","arrowTip","trigger","positioner","content"),PY=vi.build();var _h=q("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText"),UY=_h.build();var K9=_h.extendWith("empty");var ui=q("marquee").parts("root","viewport","content","edge","item"),ZY=ui.build();var Mi=q("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem"),lX=Mi.build();var fi=q("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber"),vX=fi.build();var mi=q("pinInput").parts("root","label","input","control"),LX=mi.build();var xi=q("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger"),yX=xi.build();var Ia=q("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange"),RX=Ia.build();var zi=q("qr-code").parts("root","frame","pattern","overlay","downloadTrigger"),qX=zi.build();var Da=q("radio-group").parts("root","label","item","itemText","itemControl","indicator"),tQ=Da.build();var ki=q("rating-group").parts("root","label","item","control"),hQ=ki.build();var Li=q("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner"),MQ=Li.build();var Fh=Da.rename("segment-group"),bQ=Fh.build();var wi=q("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText"),BQ=wi.build();var bi=q("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator"),AQ=bi.build();var Hi=q("splitter").parts("root","panel","resizeTrigger","resizeTriggerIndicator"),NQ=Hi.build();var Ci=q("switch").parts("root","label","control","thumb"),QQ=Ci.build();var Bi=q("tagsInput").parts("root","label","control","input","clearTrigger","item","itemPreview","itemInput","itemText","itemDeleteTrigger"),oZ=Bi.build();var em=t=>{if(!t)return;let a=Ze(t),r=V1(t),e=I2(t),i=()=>{requestAnimationFrame(()=>{t.style.height="auto";let c;a.boxSizing==="content-box"?c=t.scrollHeight-(parseFloat(a.paddingTop)+parseFloat(a.paddingBottom)):c=t.scrollHeight+parseFloat(a.borderTopWidth)+parseFloat(a.borderBottomWidth),a.maxHeight!=="none"&&c>parseFloat(a.maxHeight)?(a.overflowY==="hidden"&&(t.style.overflowY="scroll"),c=parseFloat(a.maxHeight)):a.overflowY!=="hidden"&&(t.style.overflowY="hidden"),t.style.height=`${c}px`})};t.addEventListener("input",i),t.form?.addEventListener("reset",i);let o=Object.getPrototypeOf(t),l=Object.getOwnPropertyDescriptor(o,"value");l&&Object.defineProperty(t,"value",{...l,set(c){let d=l.get?.call(this);l.set?.call(this,c),i(),d!==c&&queueMicrotask(()=>{t.dispatchEvent(new r.InputEvent("input",{bubbles:!0}))})}});let n=new r.ResizeObserver(()=>{requestAnimationFrame(()=>i())});n.observe(t);let h=new r.MutationObserver(()=>i());return h.observe(t,{attributes:!0,attributeFilter:["rows","placeholder"]}),e.fonts?.addEventListener("loadingdone",i),()=>{t.removeEventListener("input",i),t.form?.removeEventListener("reset",i),e.fonts?.removeEventListener("loadingdone",i),n.disconnect(),h.disconnect()}};var Vi=q("tooltip").parts("trigger","arrow","arrowTip","positioner","content"),Ti=Vi.build();var Ih=(t,a)=>{let r=t.ids?.trigger;return r!=null?l0(r)?r(a):r:a?`tooltip:${t.id}:trigger:${a}`:`tooltip:${t.id}:trigger`},im=t=>t.ids?.content??`tooltip:${t.id}:content`,om=t=>t.ids?.arrow??`tooltip:${t.id}:arrow`,Y9=t=>t.ids?.positioner??`tooltip:${t.id}:popper`,xj=t=>t.getById(Ih(t));var Dh=t=>t.getById(Y9(t));var zj=t=>NM(t.getRootNode(),`[data-scope="tooltip"][data-part="trigger"][data-ownedby="${t.id}"]`),yi=(t,a)=>a==null?xj(t)??zj(t)[0]:t.getById(Ih(t,a));var i2=MM({id:null,prevId:null,instant:!1});function X9(t,a){let{state:r,context:e,send:i,scope:o,prop:l,event:n}=t,h=l("id"),c=!!l("aria-label"),d=r.matches("open","closing"),s=e.get("triggerValue"),p=e.get("currentPlacement"),g=p?N9(p):void 0,u=im(o),f=l("disabled"),z=U9({...l("positioning"),placement:p});return{open:d,setOpen(v){r.matches("open","closing")!==v&&i({type:v?"open":"close"})},triggerValue:s,setTriggerValue(v){i({type:"triggerValue.set",value:v??void 0})},reposition(v={}){i({type:"positioning.set",options:v})},getTriggerProps(v={}){let{value:M}=v,m=M==null?!1:s===M,L=Ih(o,M);return a.button({...Ti.trigger.attrs,id:L,"data-ownedby":o.id,"data-value":M,"data-current":F1(m),dir:l("dir"),"data-expanded":F1(d),"data-state":d?"open":"closed","aria-describedby":d?u:void 0,onClick(H){if(H.defaultPrevented||f||!l("closeOnClick"))return;let x=d&&M!=null&&!m;i({type:x?"triggerValue.set":"close",src:"trigger.click",value:M,triggerId:L})},onFocus(H){if(H.defaultPrevented||f||!wh())return;let x=d&&M!=null&&!m;i({type:x?"triggerValue.set":"open",src:"trigger.focus",value:M,triggerId:L})},onBlur(H){if(H.defaultPrevented||f||h!==i2.get("id"))return;(H.relatedTarget??o.getDoc().activeElement)?.closest(`[data-ownedby="${o.id}"]`)!=null||i({type:"close",src:"trigger.blur",value:M,triggerId:L})},onPointerDown(H){H.defaultPrevented||f||RM(H)&&l("closeOnPointerDown")&&h===i2.get("id")&&i({type:"close",src:"trigger.pointerdown",value:M,triggerId:L})},onPointerMove(H){if(H.defaultPrevented||f||H.pointerType==="touch")return;let x=d&&M!=null&&!m;i({type:x?"triggerValue.set":"pointer.move",value:M,triggerId:L})},onPointerOver(H){H.defaultPrevented||f||H.pointerType!=="touch"&&i({type:"pointer.move",value:M,triggerId:L})},onPointerLeave(){f||i({type:"pointer.leave"})},onPointerCancel(){f||i({type:"pointer.leave"})}})},getArrowProps(){return a.element({id:om(o),...Ti.arrow.attrs,dir:l("dir"),style:z.arrow})},getArrowTipProps(){return a.element({...Ti.arrowTip.attrs,dir:l("dir"),style:z.arrowTip})},getPositionerProps(){return a.element({id:Y9(o),...Ti.positioner.attrs,dir:l("dir"),style:z.floating})},getContentProps(){let v=i2.get("id")===h,M=i2.get("prevId")===h,m=i2.get("instant")&&(d&&v||M);return a.element({...Ti.content.attrs,dir:l("dir"),hidden:!d,"data-state":d?"open":"closed","data-instant":F1(m),role:c?void 0:"tooltip",id:c?void 0:u,"data-placement":p,"data-side":g,onPointerEnter(){i({type:"content.pointer.move"})},onPointerLeave(){i({type:"content.pointer.leave"})},style:{pointerEvents:l("interactive")?"auto":"none"}})}}}var{and:kj,not:nm}=VM(),Q9=oh({initialState:({prop:t})=>t("open")||t("defaultOpen")?"open":"closed",props({props:t}){fM(t,["id"]);let a=t.closeOnClick??!0,r=t.closeOnPointerDown??a;return{openDelay:400,closeDelay:150,closeOnEscape:!0,interactive:!1,closeOnScroll:!0,disabled:!1,...t,closeOnPointerDown:r,closeOnClick:a,positioning:{placement:"bottom",...t.positioning}}},effects:["trackFocusVisible","trackStore"],context:({bindable:t,prop:a,scope:r})=>({currentPlacement:t(()=>({defaultValue:void 0})),hasPointerMoveOpened:t(()=>({defaultValue:null})),triggerValue:t(()=>({defaultValue:a("defaultTriggerValue")??null,value:a("triggerValue"),onChange(e){let i=a("onTriggerValueChange");if(!i)return;let o=yi(r,e);i({value:e,triggerElement:o})}}))}),watch({track:t,action:a,prop:r}){t([()=>r("disabled")],()=>{a(["closeIfDisabled"])}),t([()=>r("open")],()=>{a(["toggleVisibility"])}),t([()=>r("triggerValue")],()=>{a(["repositionImmediate"])})},on:{"triggerValue.set":{actions:["setTriggerValue","repositionImmediate"]}},states:{closed:{entry:["clearGlobalId"],on:{"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["setTriggerValue","invokeOnOpen"]},{target:"open",actions:["setTriggerValue","invokeOnOpen"]}],"pointer.leave":{actions:["clearPointerMoveOpened"]},"pointer.move":[{guard:kj("noVisibleTooltip",nm("hasPointerMoveOpened")),target:"opening",actions:["setTriggerValue"]},{guard:nm("hasPointerMoveOpened"),target:"open",actions:["setPointerMoveOpened","invokeOnOpen","setTriggerValue"]}]}},opening:{effects:["trackScroll","trackPointerlockChange","waitForOpenDelay"],on:{"after.openDelay":[{guard:"isOpenControlled",actions:["setPointerMoveOpened","invokeOnOpen"]},{target:"open",actions:["setPointerMoveOpened","invokeOnOpen"]}],"controlled.open":{target:"open"},"controlled.close":{target:"closed"},open:[{guard:"isOpenControlled",actions:["setTriggerValue","invokeOnOpen"]},{target:"open",actions:["setTriggerValue","invokeOnOpen"]}],"pointer.leave":[{guard:"isOpenControlled",actions:["clearPointerMoveOpened","invokeOnClose","toggleVisibility"]},{target:"closed",actions:["clearPointerMoveOpened","invokeOnClose"]}],close:[{guard:"isOpenControlled",actions:["invokeOnClose","toggleVisibility"]},{target:"closed",actions:["invokeOnClose"]}]}},open:{effects:["trackEscapeKey","trackScroll","trackPointerlockChange","trackPositioning"],entry:["setGlobalId"],on:{"controlled.close":{target:"closed"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"pointer.leave":[{guard:"isVisible",target:"closing",actions:["clearPointerMoveOpened"]},{guard:"isOpenControlled",actions:["clearPointerMoveOpened","invokeOnClose"]},{target:"closed",actions:["clearPointerMoveOpened","invokeOnClose"]}],"content.pointer.leave":{guard:"isInteractive",target:"closing"},"positioning.set":{actions:["reposition"]},"triggerValue.set":{target:"closing",actions:["setTriggerValue","immediateReopen"]}}},closing:{effects:["trackPositioning","waitForCloseDelay"],on:{"after.closeDelay":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"controlled.close":{target:"closed"},"controlled.open":{target:"open"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"pointer.move":[{guard:"isOpenControlled",actions:["setPointerMoveOpened","setTriggerValue","invokeOnOpen","toggleVisibility"]},{target:"open",actions:["setPointerMoveOpened","setTriggerValue","invokeOnOpen"]}],"triggerValue.set":{target:"open",actions:["setTriggerValue","repositionImmediate"]},reopen:{target:"open"},"content.pointer.move":{guard:"isInteractive",target:"open"},"positioning.set":{actions:["reposition"]}}}},implementations:{guards:{noVisibleTooltip:()=>i2.get("id")===null,isVisible:({prop:t})=>t("id")===i2.get("id"),isInteractive:({prop:t})=>!!t("interactive"),hasPointerMoveOpened:({context:t})=>!!t.get("hasPointerMoveOpened"),isOpenControlled:({prop:t})=>t("open")!==void 0},actions:{setGlobalId:({prop:t})=>{let a=i2.get("id"),r=a!==null&&a!==t("id");i2.update({id:t("id"),prevId:r?a:null,instant:r})},clearGlobalId:({prop:t})=>{t("id")===i2.get("id")&&i2.update({id:null,prevId:null,instant:!1})},invokeOnOpen:({prop:t})=>{t("onOpenChange")?.({open:!0})},invokeOnClose:({prop:t})=>{t("onOpenChange")?.({open:!1})},closeIfDisabled:({prop:t,send:a})=>{t("disabled")&&a({type:"close",src:"disabled.change"})},reposition:({context:t,event:a,prop:r,scope:e})=>{if(a.type!=="positioning.set")return;Bl(()=>yi(e,t.get("triggerValue")),()=>Dh(e),{...r("positioning"),...a.options,listeners:!1,onComplete(l){t.set("currentPlacement",l.placement)}})},repositionImmediate:({context:t,event:a,prop:r,scope:e})=>{let i=a.value??t.get("triggerValue");return Bl(()=>yi(e,i),()=>Dh(e),{...r("positioning"),onComplete(n){t.set("currentPlacement",n.placement)}})},toggleVisibility:({prop:t,event:a,send:r})=>{queueMicrotask(()=>{r({type:t("open")?"controlled.open":"controlled.close",previousEvent:a})})},setPointerMoveOpened:({context:t,event:a})=>{let r=a.triggerId??a.previousEvent?.triggerId;t.set("hasPointerMoveOpened",r??null)},clearPointerMoveOpened:({context:t})=>{t.set("hasPointerMoveOpened",null)},setTriggerValue:({context:t,event:a})=>{a.value!==void 0&&t.set("triggerValue",a.value)},immediateReopen:({send:t})=>{queueMicrotask(()=>{t({type:"reopen"})})}},effects:{trackFocusVisible:({scope:t})=>nf({root:t.getRootNode?.()}),trackPositioning:({context:t,prop:a,scope:r})=>(t.get("currentPlacement")||t.set("currentPlacement",a("positioning").placement),Bl(()=>yi(r,t.get("triggerValue")),()=>Dh(r),{...a("positioning"),defer:!0,onComplete(o){t.set("currentPlacement",o.placement)}})),trackPointerlockChange:({send:t,scope:a})=>{let r=a.getDoc();return nh(r,"pointerlockchange",()=>t({type:"close",src:"pointerlock:change"}),!1)},trackScroll:({send:t,prop:a,scope:r,context:e})=>{if(!a("closeOnScroll"))return;let i=e.get("triggerValue"),o=yi(r,i);if(!o)return;let n=B9(o).map(h=>nh(h,"scroll",()=>{t({type:"close",src:"scroll"})},{passive:!0,capture:!0}));return()=>{n.forEach(h=>h?.())}},trackStore:({prop:t,send:a})=>{let r;return queueMicrotask(()=>{r=i2.subscribe(()=>{i2.get("id")!==t("id")&&a({type:"close",src:"id.change"})})}),()=>r?.()},trackEscapeKey:({send:t,prop:a})=>a("closeOnEscape")?nh(document,"keydown",e=>{PM(e)||e.key==="Escape"&&(e.stopPropagation(),t({type:"close",src:"keydown.escape"}))},!0):void 0,waitForOpenDelay:({send:t,prop:a,event:r})=>{let e=setTimeout(()=>{t({type:"after.openDelay",previousEvent:r})},a("openDelay"));return()=>clearTimeout(e)},waitForCloseDelay:({send:t,prop:a,event:r})=>{let e=setTimeout(()=>{t({type:"after.closeDelay",previousEvent:r})},a("closeDelay"));return()=>clearTimeout(e)}}}});var Si=q("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","nodeRenameInput","root","tree"),FZ=Si.build();var[KZ,hm]=F2({name:"FieldsetContext",hookName:"useFieldsetContext",providerName:"<FieldsetProvider />",strict:!1});var Nh=W(at(),1),cm=typeof window<"u"?Nh.useLayoutEffect:Nh.useEffect;var[Wi,T1]=F2({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});var dm=t=>t.children(T1());var sm=W(at(),1);var pm=W(K(),1),Z9=(0,sm.forwardRef)((t,a)=>{let r=T1(),e=kt(r.getErrorTextProps(),t);return r?.invalid?(0,pm.jsx)(jt.span,{...e,ref:a}):null});Z9.displayName="FieldErrorText";var gm=W(at(),1);var vm=W(K(),1),J9=(0,gm.forwardRef)((t,a)=>{let r=kt(T1()?.getHelperTextProps(),t);return(0,vm.jsx)(jt.span,{...r,ref:a})});J9.displayName="FieldHelperText";var um=W(at(),1);var Mm=W(K(),1),t6=(0,um.forwardRef)((t,a)=>{let r=kt(T1()?.getInputProps(),t);return(0,Mm.jsx)(jt.input,{...r,ref:a})});t6.displayName="FieldInput";var fm=W(at(),1),mm=W(K(),1),a6=t=>{let{value:a,children:r}=t,e=T1();return(0,mm.jsx)(Wi,{value:(0,fm.useMemo)(()=>{if(!e)throw new Error("Field.Item must be used within Field.Root");let i=`field::${e.ids.control}::item::${a}`,o=`${i}::label`,l=()=>({...e.getInputProps(),id:i});return{...e,ids:{...e.ids,control:i,label:o},getLabelProps:()=>({...e.getLabelProps(),id:o,htmlFor:i}),getInputProps:()=>({...l(),...V2.input.attrs}),getSelectProps:()=>({...l(),...V2.select.attrs}),getTextareaProps:()=>({...l(),...V2.textarea.attrs})}},[e,a]),children:r})};a6.displayName="FieldItem";var xm=W(at(),1);var zm=W(K(),1),r6=(0,xm.forwardRef)((t,a)=>{let r=kt(T1()?.getLabelProps(),t);return(0,zm.jsx)(jt.label,{...r,ref:a})});r6.displayName="FieldLabel";var km=W(at(),1),Lm=W(K(),1);var e6=(0,km.forwardRef)(({fallback:t,...a},r)=>{let e=T1();if(!e.required)return t;let i=kt(e.getRequiredIndicatorProps(),a);return(0,Lm.jsx)(jt.span,{...i,ref:r,children:a.children??"*"})});e6.displayName="FieldRequiredIndicator";var y1=W(at(),1);var wm=(t={})=>{let a=hm(),r=eh(),{ids:e,target:i,disabled:o=!!a?.disabled,invalid:l=!1,readOnly:n=!1,required:h=!1}=t,[c,d]=(0,y1.useState)(!1),[s,p]=(0,y1.useState)(!1),g=(0,y1.useId)(),u=t.id??g,f=(0,y1.useRef)(null),z=e?.control??`field::${u}`,v=e?.errorText??`field::${u}::error-text`,M=e?.helperText??`field::${u}::helper-text`,m=e?.label??`field::${u}::label`;cm(()=>{let E=f.current;if(!E)return;let y=()=>{let N=r.getRootNode();d(!!N.getElementById(v)),p(!!N.getElementById(M))};y();let F=new(r.getWindow()).MutationObserver(y);return F.observe(E,{childList:!0,subtree:!0}),()=>F.disconnect()},[r,v,M]);let L=(0,y1.useMemo)(()=>{let E=[];return c&&l&&E.push(v),s&&E.push(M),E.join(" ")||void 0},[l,v,M,c,s]),H=(0,y1.useMemo)(()=>()=>({...V2.root.attrs,id:z,ref:f,role:"group","data-disabled":F1(o),"data-invalid":F1(l),"data-readonly":F1(n)}),[o,l,n,z]),x=i?`field::${u}::item::${i}`:void 0,B=(0,y1.useMemo)(()=>()=>({...V2.label.attrs,id:m,"data-disabled":F1(o),"data-invalid":F1(l),"data-readonly":F1(n),"data-required":F1(h),htmlFor:x??u}),[o,l,n,h,u,m,x]),C=(0,y1.useMemo)(()=>()=>({"aria-describedby":L,"aria-invalid":w9(l),"data-invalid":F1(l),"data-required":F1(h),"data-readonly":F1(n),id:u,required:h,disabled:o,readOnly:n}),[L,l,h,n,u,o]),S=(0,y1.useMemo)(()=>()=>({...C(),...V2.input.attrs}),[C]),k=(0,y1.useMemo)(()=>()=>({...C(),...V2.textarea.attrs}),[C]),P=(0,y1.useMemo)(()=>()=>({...C(),...V2.select.attrs}),[C]),j=(0,y1.useMemo)(()=>()=>({id:M,...V2.helperText.attrs,"data-disabled":F1(o)}),[o,M]),V=(0,y1.useMemo)(()=>()=>({id:v,...V2.errorText.attrs,"aria-live":"polite"}),[v]),A=(0,y1.useMemo)(()=>()=>({"aria-hidden":!0,...V2.requiredIndicator.attrs}),[]);return{ariaDescribedby:L,ids:{root:z,control:u,label:m,errorText:v,helperText:M},refs:{rootRef:f},disabled:o,invalid:l,readOnly:n,required:h,getLabelProps:B,getRootProps:H,getInputProps:S,getTextareaProps:k,getSelectProps:P,getHelperTextProps:j,getErrorTextProps:V,getRequiredIndicatorProps:A}};var bm=W(at(),1);var i6=W(K(),1),wj=_a(),o6=(0,bm.forwardRef)((t,a)=>{let[r,e]=wj(t,["id","ids","disabled","invalid","readOnly","required","target"]),i=wm(r),o=kt(i.getRootProps(),e);return(0,i6.jsx)(Wi,{value:i,children:(0,i6.jsx)(jt.div,{...o,ref:Aa(a,i.refs.rootRef)})})});o6.displayName="FieldRoot";var Hm=W(at(),1);var l6=W(K(),1),bj=_a(),n6=(0,Hm.forwardRef)((t,a)=>{let[{value:r},e]=bj(t,["value"]),i=kt(r.getRootProps(),e);return(0,l6.jsx)(Wi,{value:r,children:(0,l6.jsx)(jt.div,{...i,ref:a})})});n6.displayName="FieldRootProvider";var Cm=W(at(),1);var Bm=W(K(),1),h6=(0,Cm.forwardRef)((t,a)=>{let r=kt(T1()?.getSelectProps(),t);return(0,Bm.jsx)(jt.select,{...r,ref:a})});h6.displayName="FieldSelect";var ji=W(at(),1);var Vm=W(K(),1);var c6=(0,ji.forwardRef)((t,a)=>{let{autoresize:r,...e}=t,i=(0,ji.useRef)(null),o=kt(T1()?.getTextareaProps(),{style:{resize:r?"none":void 0}},e);return(0,ji.useEffect)(()=>{if(r)return em(i.current)},[r]),(0,Vm.jsx)(jt.textarea,{...o,ref:Aa(a,i)})});c6.displayName="FieldTextarea";var d6=hh({Context:()=>dm,ErrorText:()=>Z9,HelperText:()=>J9,Input:()=>t6,Item:()=>a6,Label:()=>r6,RequiredIndicator:()=>e6,Root:()=>o6,RootProvider:()=>n6,Select:()=>h6,Textarea:()=>c6});var[Uh,U2]=F2({name:"TooltipContext",hookName:"useTooltipContext",providerName:"<TooltipProvider />"});var Tm=W(at(),1);var ym=W(K(),1),s6=(0,Tm.forwardRef)((t,a)=>{let r=kt(U2().getArrowProps(),t);return(0,ym.jsx)(jt.div,{...r,ref:a})});s6.displayName="TooltipArrow";var Sm=W(at(),1);var Wm=W(K(),1),p6=(0,Sm.forwardRef)((t,a)=>{let r=kt(U2().getArrowTipProps(),t);return(0,Wm.jsx)(jt.div,{...r,ref:a})});p6.displayName="TooltipArrowTip";var jm=W(at(),1);var Om=W(K(),1),g6=(0,jm.forwardRef)((t,a)=>{let r=U2(),e=mh(),i=kt(r.getContentProps(),e.getPresenceProps(),t);return e.unmounted?null:(0,Om.jsx)(jt.div,{...i,ref:Aa(e.ref,a)})});g6.displayName="TooltipContent";var Am=t=>t.children(U2());var Pm=W(at(),1);var Em=W(K(),1),v6=(0,Pm.forwardRef)((t,a)=>{let r=kt(U2().getPositionerProps(),t);return mh().unmounted?null:(0,Em.jsx)(jt.div,{...r,ref:a})});v6.displayName="TooltipPositioner";var Rm=W(at(),1);var _m=t=>{let a=(0,Rm.useId)(),{getRootNode:r}=eh(),{dir:e}=ti(),i={id:a,dir:e,getRootNode:r,...t},o=gh(Q9,i);return X9(o,vh)};var u6=W(K(),1),Fm=t=>{let[a,{children:r,...e}]=ch(t),i=_m(e);return(0,u6.jsx)(Uh,{value:i,children:(0,u6.jsx)(fh,{value:Mh(kt({present:i.open},a)),children:r})})};var M6=W(K(),1),Im=t=>{let[a,{value:r,children:e}]=ch(t);return(0,M6.jsx)(Uh,{value:r,children:(0,M6.jsx)(fh,{value:Mh(kt({present:r.open},a)),children:e})})};var Dm=W(at(),1);var Nm=W(K(),1),Hj=_a(),f6=(0,Dm.forwardRef)((t,a)=>{let[r,e]=Hj(t,["value"]),i=kt(U2().getTriggerProps(r),e);return(0,Nm.jsx)(jt.button,{...i,ref:a})});f6.displayName="TooltipTrigger";var S0=hh({Arrow:()=>s6,ArrowTip:()=>p6,Content:()=>g6,Context:()=>Am,Positioner:()=>v6,Root:()=>Fm,RootProvider:()=>Im,Trigger:()=>f6});function Oi(t,a=[]){let r=Object.assign({},t);for(let e of a)e in r&&delete r[e];return r}var Um=(t,a)=>{if(!t||typeof t!="string")return{invalid:!0,value:t};let[r,e]=t.split("/");if(!r||!e||r==="currentBg")return{invalid:!0,value:r};let i=a(`colors.${r}`),o=a.raw(`opacity.${e}`)?.value;if(!o&&isNaN(Number(e)))return{invalid:!0,value:r};let l=o?Number(o)*100+"%":`${e}%`,n=i??r;return{invalid:!1,color:n,value:`color-mix(in srgb, ${n} ${l}, transparent)`}},Ot=t=>(a,r)=>{let e=r.utils.colorMix(a);if(e.invalid)return{[t]:a};let i="--mix-"+t;return{[i]:e.value,[t]:`var(${i}, ${e.color})`}};function Gh(t){if(t===null||typeof t!="object")return t;if(Array.isArray(t))return t.map(r=>Gh(r));let a=Object.create(Object.getPrototypeOf(t));for(let r of Object.keys(t))a[r]=Gh(t[r]);return a}function m6(t,a){if(a==null)return t;for(let r of Object.keys(a))if(!(a[r]===void 0||r==="__proto__"))if(!Zt(t[r])&&Zt(a[r]))Object.assign(t,{[r]:a[r]});else if(t[r]&&Zt(a[r]))m6(t[r],a[r]);else if(Array.isArray(a[r])&&Array.isArray(t[r])){let e=0;for(;e<a[r].length;e++)Zt(t[r][e])&&Zt(a[r][e])?m6(t[r][e],a[r][e]):t[r][e]=a[r][e]}else Object.assign(t,{[r]:a[r]});return t}function G2(t,...a){for(let r of a)m6(t,r);return t}var x6=t=>t!=null;function $1(t,a,r={}){let{stop:e,getKey:i}=r;function o(l,n=[]){if(Zt(l)||Array.isArray(l)){let h={};for(let[c,d]of Object.entries(l)){let s=i?.(c,d)??c,p=[...n,s];if(e?.(l,p))return a(l,n);let g=o(d,p);x6(g)&&(h[s]=g)}return h}return a(l,n)}return o(t)}function qh(t,a){return Array.isArray(t)?t.map(r=>x6(r)?a(r):r):Zt(t)?$1(t,r=>a(r)):x6(t)?a(t):t}var $h=["value","type","description"],Cj=t=>t&&typeof t=="object"&&!Array.isArray(t),Kh=(...t)=>{let a=G2({},...t.map(Gh));return a.theme?.tokens&&$1(a.theme.tokens,r=>{let o=Object.keys(r).filter(n=>!$h.includes(n)).length>0,l=$h.some(n=>r[n]!=null);return o&&l&&(r.DEFAULT||(r.DEFAULT={}),$h.forEach(n=>{var h;r[n]!=null&&((h=r.DEFAULT)[n]||(h[n]=r[n]),delete r[n])})),r},{stop(r){return Cj(r)&&$h.some(e=>r[e]!=null)}}),a};var z6=t=>t,rt=t=>t,R=t=>t,k6=t=>t,L6=t=>t,T2=t=>t,w6=t=>t,b6=t=>t,H6=t=>t;function Gm(){let t=a=>a;return new Proxy(t,{get(){return t}})}var ut=Gm(),Br=Gm(),Vl=t=>t;var Bj=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function Vj(t){return`${t}`.replace(Bj,a=>`\\${a}`)}var Tj=/[A-Z]/g;function yj(t){return t.replace(Tj,a=>`-${a.toLowerCase()}`)}function Yh(t,a={}){let{fallback:r="",prefix:e=""}=a,i=yj(["-",e,Vj(t)].filter(Boolean).join("-"));return{var:i,ref:`var(${i}${r?`, ${r}`:""})`}}var Sj=t=>/^var\(--.+\)$/.test(t),S1=(t,a)=>a!=null?`${t}(${a})`:a,Vr=t=>{if(Sj(t)||t==null)return t;let a=typeof t=="string"&&!t.endsWith("deg");return typeof t=="number"||a?`${t}deg`:t},qm=t=>({values:["outside","inside","mixed","none"],transform(a,{token:r}){let e=r("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":e,[t]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":e,[t]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":e,[t]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":e,[t]:{outline:"none"}}}[a]??{}}}),Wj=Ot("borderColor"),ta=t=>({transition:t,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),jj=z6({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),Ai=Yh("bg-currentcolor"),$m=t=>t===Ai.ref||t==="currentBg",Rt=t=>({...t("colors"),currentBg:Ai}),Km=Vl({conditions:jj,utilities:{background:{values:Rt,shorthand:["bg"],transform(t,a){if($m(a.raw))return{background:Ai.ref};let r=Ot("background")(t,a);return{...r,[Ai.var]:r?.background}}},backgroundColor:{values:Rt,shorthand:["bgColor"],transform(t,a){if($m(a.raw))return{backgroundColor:Ai.ref};let r=Ot("backgroundColor")(t,a);return{...r,[Ai.var]:r?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}}},backgroundGradient:{shorthand:["bgGradient"],values(t){return{...t("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}},transform(t){return{"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:t}}},gradientFrom:{values:Rt,transform:Ot("--gradient-from")},gradientTo:{values:Rt,transform:Ot("--gradient-to")},gradientVia:{values:Rt,transform(t,a){return{...Ot("--gradient-via")(t,a),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"}}},backgroundImage:{values(t){return{...t("gradients"),...t("assets")}},shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:Rt,transform:Ot("borderColor")},borderTopColor:{values:Rt,transform:Ot("borderTopColor")},borderBlockStartColor:{values:Rt,transform:Ot("borderBlockStartColor")},borderBottomColor:{values:Rt,transform:Ot("borderBottomColor")},borderBlockEndColor:{values:Rt,transform:Ot("borderBlockEndColor")},borderLeftColor:{values:Rt,transform:Ot("borderLeftColor")},borderInlineStartColor:{values:Rt,shorthand:["borderStartColor"],transform:Ot("borderInlineStartColor")},borderRightColor:{values:Rt,transform:Ot("borderRightColor")},borderInlineEndColor:{values:Rt,shorthand:["borderEndColor"],transform:Ot("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:t=>({borderStartStartRadius:t,borderEndStartRadius:t})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:t=>({borderStartEndRadius:t,borderEndEndRadius:t})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:t=>({borderTopLeftRadius:t,borderTopRightRadius:t})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:t=>({borderBottomLeftRadius:t,borderBottomRightRadius:t})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:t=>({borderTopLeftRadius:t,borderBottomLeftRadius:t})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:t=>({borderTopRightRadius:t,borderBottomRightRadius:t})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:Rt,transform:Ot("color")},fill:{values:Rt,transform:Ot("fill")},stroke:{values:Rt,transform:Ot("stroke")},accentColor:{values:Rt,transform:Ot("accentColor")},divideX:{values:{type:"string"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:t,borderInlineEndWidth:"0px"}}}},divideY:{values:{type:"string"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:t,borderBottomWidth:"0px"}}}},divideColor:{values:Rt,transform(t,a){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":Wj(t,a)}}},divideStyle:{property:"borderStyle",transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:t}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:Rt,transform:Ot("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform(t){return t!=="auto"?{filter:t}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}}},blur:{values:"blurs",transform:t=>({"--blur":S1("blur",t)})},brightness:{transform:t=>({"--brightness":S1("brightness",t)})},contrast:{transform:t=>({"--contrast":S1("contrast",t)})},grayscale:{transform:t=>({"--grayscale":S1("grayscale",t)})},hueRotate:{transform:t=>({"--hue-rotate":S1("hue-rotate",Vr(t))})},invert:{transform:t=>({"--invert":S1("invert",t)})},saturate:{transform:t=>({"--saturate":S1("saturate",t)})},sepia:{transform:t=>({"--sepia":S1("sepia",t)})},dropShadow:{transform:t=>({"--drop-shadow":S1("drop-shadow",t)})},backdropFilter:{transform(t){return t!=="auto"?{backdropFilter:t}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}}},backdropBlur:{values:"blurs",transform:t=>({"--backdrop-blur":S1("blur",t)})},backdropBrightness:{transform:t=>({"--backdrop-brightness":S1("brightness",t)})},backdropContrast:{transform:t=>({"--backdrop-contrast":S1("contrast",t)})},backdropGrayscale:{transform:t=>({"--backdrop-grayscale":S1("grayscale",t)})},backdropHueRotate:{transform:t=>({"--backdrop-hue-rotate":S1("hue-rotate",Vr(t))})},backdropInvert:{transform:t=>({"--backdrop-invert":S1("invert",t)})},backdropOpacity:{transform:t=>({"--backdrop-opacity":S1("opacity",t)})},backdropSaturate:{transform:t=>({"--backdrop-saturate":S1("saturate",t)})},backdropSepia:{transform:t=>({"--backdrop-sepia":S1("sepia",t)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:Rt,transform:Ot("outlineColor")},focusRing:qm("&:is(:focus, [data-focus])"),focusVisibleRing:qm("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:Rt,transform:Ot("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:t=>({"--focus-ring-offset":t})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:t=>({"--focus-ring-width":t})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:t=>({"--focus-ring-style":t})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:t=>({width:t,height:t})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(t,{raw:a,token:r})=>({[r.raw(`breakpoints.${a}`)?`@breakpoint ${a}`:`@media screen and (min-width: ${t})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(t,{raw:a,token:r}){return{[r.raw(`breakpoints.${a}`)?`@breakpoint ${a}Down`:`@media screen and (max-width: ${t})`]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(t){switch(t){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:Rt,transform:Ot("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:t=>({scrollMarginLeft:t,scrollMarginRight:t})},scrollMarginY:{values:"spacing",transform:t=>({scrollMarginTop:t,scrollMarginBottom:t})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:t=>({"--scroll-snap-strictness":t})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform(t){return{"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":t,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"}}},ringColor:{values:Rt,transform:Ot("--ring-color")},ringOffset:{transform:t=>({"--ring-offset-width":t})},ringOffsetColor:{values:Rt,transform:Ot("--ring-offset-color")},ringInset:{transform:t=>({"--ring-inset":t})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:Rt,transform:Ot("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:t=>{let a=t;return t==="auto"&&(a="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),t==="auto-gpu"&&(a="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:a}}},skewX:{transform:t=>({"--skew-x":Vr(t)})},skewY:{transform:t=>({"--skew-y":Vr(t)})},scaleX:{transform:t=>({"--scale-x":t})},scaleY:{transform:t=>({"--scale-y":t})},scale:{transform(t){return t!=="auto"?{scale:t}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}}},spaceXReverse:{values:{type:"boolean"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":t?"1":void 0}}}},spaceX:{property:"marginInlineStart",values:"spacing",transform:t=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${t} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${t} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":t?"1":void 0}}}},spaceY:{property:"marginTop",values:"spacing",transform:t=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${t} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${t} * var(--space-y-reverse))`}})},rotate:{transform(t){return t!=="auto"?{rotate:Vr(t)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(t){return{"--rotate-x":Vr(t)}}},rotateY:{transform(t){return{"--rotate-y":Vr(t)}}},translate:{transform(t){return t!=="auto"?{translate:t}:{translate:"var(--translate-x) var(--translate-y)"}}},translateX:{values:"spacing",transform:t=>({"--translate-x":t})},translateY:{values:"spacing",transform:t=>({"--translate-y":t})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(t){switch(t){case"all":return ta("all");case"position":return ta("left, right, top, bottom, inset-inline, inset-block");case"colors":return ta("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return ta("opacity");case"shadow":return ta("box-shadow");case"transform":return ta("transform");case"size":return ta("width, height");case"backgrounds":return ta("background, background-color, background-image, background-position");case"common":return ta("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:t}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform(t){return t===!0?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}}},lineClamp:{transform(t){return t==="none"?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:t,WebkitBoxOrient:"vertical",textWrap:"wrap"}}},borderSpacing:{values:t=>({...t("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform(t){return{"--border-spacing-x":t}}},borderSpacingY:{values:"spacing",transform(t){return{"--border-spacing-y":t}}},srOnly:{values:{type:"boolean"},transform(t){return Oj[t]||{}}},debug:{values:{type:"boolean"},transform(t){return t?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:Rt,transform:Ot("caretColor")},cursor:{values:"cursor"}}}),Oj={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var Aj="",Pj=Aj.split(","),Ej="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,cornerShape,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",Rj=Ej.split(",").concat(Pj),_j=new Map(Rj.map(t=>[t,!0]));function Fj(t){let a=Object.create(null);return r=>(a[r]===void 0&&(a[r]=t(r)),a[r])}var Ij=/&|@/,Ym=Fj(t=>_j.has(t)||t.startsWith("--")||Ij.test(t));function x1(t,a){let r={};for(let e in t){let i=a(e,t[e]);r[i[0]]=i[1]}return r}function C6(t,a){let r={};return $1(t,(e,i)=>{e&&(r[i.join(".")]=e.value)},{stop:a}),r}var Dj=Object.defineProperty,Nj=(t,a,r)=>a in t?Dj(t,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[a]=r,Xm=(t,a,r)=>Nj(t,typeof a!="symbol"?a+"":a,r);function Xh(t){if(t===null)return"null";if(t===void 0)return"undefined";let a=typeof t;return a==="string"?`s:${t}`:a==="number"?`n:${t}`:a==="boolean"?`b:${t}`:a==="function"?`f:${t.name||"anonymous"}`:Array.isArray(t)?`a:[${t.map(Xh).join(",")}]`:a==="object"?`o:{${Object.keys(t).sort().map(e=>`${e}:${Xh(t[e])}`).join(",")}}`:String(t)}var B6=class{constructor(a=500){Xm(this,"cache",new Map),Xm(this,"maxSize"),this.maxSize=a}get(a){let r=this.cache.get(a);return r!==void 0&&(this.cache.delete(a),this.cache.set(a,r)),r}set(a,r){if(this.cache.has(a))this.cache.delete(a);else if(this.cache.size>=this.maxSize){let e=this.cache.keys().next().value;e!==void 0&&this.cache.delete(e)}this.cache.set(a,r)}clear(){this.cache.clear()}},_t=t=>{let a=new B6;function r(...e){let i=e.length===1?Xh(e[0]):e.map(Xh).join("|"),o=a.get(i);return o===void 0&&(o=t.apply(this,e),a.set(i,o)),o}return r};function Qm(t=""){let a=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),r=new RegExp("px|em|rem");return t.match(new RegExp(`${a.source}(${r.source})`))?.[1]}function Qh(t=""){if(typeof t=="number")return`${t}px`;let a=Qm(t);if(!a||a==="px")return t;if(a==="em"||a==="rem")return`${parseFloat(t)*16}px`}function V6(t=""){let a=Qm(t);if(!a||a==="rem")return t;if(a==="em")return`${parseFloat(t)}rem`;if(a==="px")return`${parseFloat(t)/16}rem`}var Uj=t=>t.charAt(0).toUpperCase()+t.slice(1);function Zm(t){let a=Gj(t),r=Object.fromEntries(a);function e(p){return r[p]}function i(p){return Pi(e(p))}function o(){let p=Object.keys(r),g=qj(p),u=p.flatMap(f=>{let z=e(f),v=[`${f}Down`,Pi({max:Zh(z.min)})],M=[f,Pi({min:z.min})],m=[`${f}Only`,i(f)];return[M,m,v]}).filter(([,f])=>f!=="").concat(g.map(([f,z])=>{let v=e(f),M=e(z);return[`${f}To${Uj(z)}`,Pi({min:v.min,max:Zh(M.min)})]}));return Object.fromEntries(u)}function l(){let p=o();return Object.fromEntries(Object.entries(p))}let n=l(),h=p=>n[p];function c(){return $e(["base",...Object.keys(r)])}function d(p){return Pi({min:e(p).min})}function s(p){return Pi({max:Zh(e(p).min)})}return{values:Object.values(r),only:i,keys:c,conditions:n,getCondition:h,up:d,down:s}}function Zh(t){let a=parseFloat(Qh(t)??"")-.04;return V6(`${a}px`)}function Gj(t){return Object.entries(t).sort(([,r],[,e])=>parseInt(r,10)<parseInt(e,10)?-1:1).map(([r,e],i,o)=>{let l=null;return i<=o.length-1&&(l=o[i+1]?.[1]),l!=null&&(l=Zh(l)),[r,{name:r,min:V6(e),max:l}]})}function qj(t){let a=[];return t.forEach((r,e)=>{let i=e;i++;let o=t[i];for(;o;)a.push([r,o]),i++,o=t[i]}),a}function Pi({min:t,max:a}){return t==null&&a==null?"":["@media screen",t&&`(min-width: ${t})`,a&&`(max-width: ${a})`].filter(Boolean).join(" and ")}var $j=/^@|&|&$/,Jm=t=>{let{breakpoints:a,conditions:r={}}=t,e=x1(r,(d,s)=>[`_${d}`,s]),i=Object.assign({},e,a.conditions);function o(){return Object.keys(i)}function l(d){return o().includes(d)||$j.test(d)||d.startsWith("_")}let n=_t(d=>d.filter(s=>s!=="base").sort((s,p)=>{let g=l(s),u=l(p);return g&&!u?1:!g&&u?-1:0}));function h(d){return d.startsWith("@breakpoint")?a.getCondition(d.replace("@breakpoint ","")):d}function c(d){return Reflect.get(i,d)||d}return{keys:o,sort:n,has:l,resolve:c,breakpoints:a.keys(),expandAtRule:h}};var wt=Object.freeze(Object.create(null)),tx=Object.freeze([]);function Tr(){return Object.create(null)}var nx=t=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${t})(.|
|
|
12
12
|
)+\\(\\s*max(-device)?-${t}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${t}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${t})(.|
|
|
13
|
-
)+\\(\\s*min(-device)?-${t}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${t}`,"i")}),Kj=nx("width"),Yj=nx("height"),hx=t=>({isMin:lx(t.minMax,t.maxMin,t.min),isMax:lx(t.maxMin,t.minMax,t.max)}),{isMin:T6,isMax:ax}=hx(Kj),{isMin:y6,isMax:rx}=hx(Yj),ex=/print/i,ix=/^print$/i,Xj=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,Qj=/(\d)/,Tl=Number.MAX_VALUE,Zj={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function ox(t){let a=Xj.exec(t)||(T6(t)||y6(t)?Qj.exec(t):null);if(!a)return Tl;if(a[0]==="0")return 0;let r=parseFloat(a[1]),e=a[2];return r*(Zj[e]||1)}function lx(t,a,r){return e=>t.test(e)||!a.test(e)&&r.test(e)}function Jj(t,a){let r=ex.test(t),e=ix.test(t),i=ex.test(a),o=ix.test(a);return r&&i?!e&&o?1:e&&!o?-1:t.localeCompare(a):r?1:i?-1:null}var cx=_t((t,a)=>{let r=Jj(t,a);if(r!==null)return r;let e=T6(t)||y6(t),i=ax(t)||rx(t),o=T6(a)||y6(a),l=ax(a)||rx(a);if(e&&l)return-1;if(i&&o)return 1;let n=ox(t),h=ox(a);return n===Tl&&h===Tl?t.localeCompare(a):n===Tl?1:h===Tl?-1:n!==h?n>h?i?-1:1:i?1:-1:t.localeCompare(a)});function dx(t){return t.sort(([a],[r])=>cx(a,r))}function S6(t){let a=[],r=[],e={};for(let[l,n]of Object.entries(t))l.startsWith("@media")?a.push([l,n]):l.startsWith("@container")?r.push([l,n]):Zt(n)?e[l]=S6(n):e[l]=n;let i=dx(a),o=dx(r);return{...e,...Object.fromEntries(i),...Object.fromEntries(o)}}var sx=/\s*!(important)?/i,tO=_t(t=>h1(t)?sx.test(t):!1),aO=_t(t=>h1(t)?t.replace(sx,"").trim():t);function Jh(t){let{transform:a,conditions:r,normalize:e}=t,i=iO(t);return _t(function(...l){let n=i(...l),h=e(n),c=Tr();return $1(h,(d,s)=>{if(d==null)return;let[p,...g]=r.sort(s).map(r.resolve),u=tO(d);u&&(d=aO(d));let f=a(p,d)??wt;f=$1(f,z=>h1(z)&&u?`${z} !important`:z,{getKey:z=>r.expandAtRule(z)}),rO(c,g.flat(),f)}),S6(c)})}function rO(t,a,r){let e=t;for(let i of a)i&&(e[i]||(e[i]=Tr()),e=e[i]);G2(e,r)}function eO(...t){return t.filter(a=>{if(!Zt(a))return!1;let r=k0(a);return Object.keys(r).length>0})}function iO(t){function a(r){let e=eO(...r);return e.length===1?e:e.map(i=>t.normalize(i))}return _t(function(...e){return G2({},...a(e))})}var W6=t=>({base:wt,variants:wt,defaultVariants:wt,compoundVariants:[],...t});function gx(t){let{css:a,conditions:r,normalize:e,layers:i}=t;function o(n={}){let h=W6(n),{base:c,defaultVariants:d,compoundVariants:s}=h,p=x1(h.variants,(m,L)=>[m,x1(L,(H,x)=>[H,e(x)])]),g=Jh({conditions:r,normalize:e,transform(m,L){return p[m]?.[L]}}),u=_t(function(L={}){let H=e({...d,...k0(L)}),x={...e(c)};G2(x,g(H));let B=l(s,H);return i.wrap("recipes",a(x,B))}),f=Object.keys(p),z=m=>{let L=Oi(m,["recipe"]),[H,x]=L0(L,f),B=f.includes("colorPalette"),C=f.includes("orientation");return B||(H.colorPalette=m.colorPalette||d.colorPalette),C&&(x.orientation=m.orientation),[H,x]},v=x1(p,(m,L)=>[m,Object.keys(L)]),M=_t(function(L){return a(u(L))});return Object.assign(M,{className:n.className,__cva__:!0,variantMap:v,variantKeys:f,raw:u,config:n,splitVariantProps:z,merge(m){return o(oO(this,m))}})}function l(n,h){let c=wt;return n.forEach(d=>{Object.entries(d).every(([p,g])=>p==="css"?!0:(Array.isArray(g)?g:[g]).some(f=>h[p]===f))&&(c=a(c,d.css))}),c}return o}var px=t=>(t?.__cva__?t.config:t)??wt;function oO(t,a){let r=W6(px(t)),e=W6(px(a)),i=$e(Object.keys(r.variants),Object.keys(e.variants)),o=G2({},r.base,e.base),l=Object.fromEntries(i.map(d=>[d,G2({},r.variants[d],e.variants[d])])),n=G2({},r.defaultVariants,e.defaultVariants),h=[...r.compoundVariants,...e.compoundVariants];return{className:_1(r.className,e.className),base:o,variants:l,defaultVariants:n,compoundVariants:h}}var lO={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},vx={reset:0,base:1,tokens:2,recipes:3};function ux(t){let a=t.layers??lO,e=Object.values(a).sort((i,o)=>vx[i]-vx[o]);return{names:e,atRule:`@layer ${e.join(", ")};`,wrap(i,o){return t.disableLayers?o:{[`@layer ${a[i]}`]:o}}}}function Mx(t){let{utility:a,normalize:r}=t,{hasShorthand:e,resolveShorthand:i}=a;return function(o){return $1(o,r,{stop:l=>Array.isArray(l),getKey:e?i:void 0})}}function fx(t){let{preflight:a}=t;if(!a)return{};let{scope:r="",level:e="parent"}=Zt(a)?a:{},i="";r&&e==="parent"?i=`${r} `:r&&e==="element"&&(i=`&${r}`);let o={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAppearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},l={[r||"html"]:{lineHeight:1.5,"--font-fallback":"ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};if(e==="element"){let n=Object.entries(o).reduce((h,[c,d])=>(h[c]={[i]:d},h),{});Object.assign(l,n)}else i?l[i]=o:Object.assign(l,o);return l}function mx(t){let{conditions:a,isValidProperty:r}=t,e=_t((i,o)=>r(i)?!o.split(",").every(l=>l==="base"||a.has(l)):!0);return function(o){return $1(o,l=>l,{stop:l=>Array.isArray(l),getKey:(l,n)=>!Zt(n)||a.has(l)?l:e(l,Object.keys(n).join(","))?hO(l).map(h=>{let c=h.startsWith("&")?h.slice(1):h;return nO(c)?`${c} &`:`&${c}`}).join(", "):l})}}function nO(t){let a=t.toLowerCase();return a.startsWith(":host-context")||a.startsWith(":host")||a.startsWith("::slotted")}function hO(t){let a=[],r=0,e="",i=!1;for(let o=0;o<t.length;o++){let l=t[o];if(l==="\\"&&!i){i=!0,e+=l;continue}if(i){i=!1,e+=l;continue}l==="("?r++:l===")"&&r--,l===","&&r===0?(a.push(e.trim()),e=""):e+=l}return e&&a.push(e.trim()),a}var cO=(t=wt)=>{let a=i=>({base:t.base?.[i]??wt,variants:Tr(),defaultVariants:t.defaultVariants??wt,compoundVariants:t.compoundVariants?dO(t.compoundVariants,i):tx}),e=(t.slots??[]).map(i=>[i,a(i)]);for(let[i,o]of Object.entries(t.variants??{}))for(let[l,n]of Object.entries(o))e.forEach(([h,c])=>{var d;(d=c.variants)[i]??(d[i]={}),c.variants[i][l]=n[h]??wt});return Object.fromEntries(e)},dO=(t,a)=>t.filter(r=>r.css[a]).map(r=>({...r,css:r.css[a]}));function xx(t){let{cva:a}=t;return function(e=wt){let i=Object.entries(cO(e)).map(([s,p])=>[s,a(p)]),o=_t(function(p){let g=i.map(([u,f])=>[u,f(p)]);return Object.fromEntries(g)}),l=e.variants??wt,n=Object.keys(l);function h(s){let p=Oi(s,["recipe"]),[g,u]=L0(p,n),f=n.includes("colorPalette"),z=n.includes("orientation");return f||(g.colorPalette=s.colorPalette||e.defaultVariants?.colorPalette),z&&(u.orientation=s.orientation),[g,u]}let c=x1(l,(s,p)=>[s,Object.keys(p)]),d={};return e.className&&(d=Object.fromEntries(e.slots.map(s=>[s,`${e.className}__${s}`]))),Object.assign(o,{variantMap:c,variantKeys:n,splitVariantProps:h,classNameMap:d})}}var zx=()=>t=>Array.from(new Set(t));var sO=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,pO=function(t,a){return a?t==="\0"?"\uFFFD":t==="-"&&t.length===1?"\\-":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16):"\\"+t},tc=t=>(t+"").replace(sO,pO);var j6=(t,a)=>{let r="",e=0,i="char",o="",l="",n=[];for(;e<t.length;){let h=t[e];if(h==="{"){let d=t.indexOf("}",e);if(d===-1)break;let s=t.slice(e+1,d),p=a(s);r+=p??s,e=d+1;continue}if(i==="token"&&h===","){t[e]===""&&e++,i="fallback",n.push(i);let d=a(o);d?.endsWith(")")&&(r+=d.slice(0,-1)),o="",l="";continue}if(i==="fallback"&&l+h===", var("){let p=gO(t.slice(e+1))+e+1,g=t.slice(e+1,p);if(p===-1)break;r+=", var("+g+")",e=p+1,i=n.pop()??i,l="";continue}if(i==="token"||i==="fallback"){if(e++,h===")"){i=n.pop()??i??"char",l+=h;let d=o&&(a(o)??tc(o));if(l){if(l=l.slice(1).trim(),!l.startsWith("token(")&&l.endsWith(")")&&(l=l.slice(0,-1)),l.includes("token(")){let p=j6(l,a);p&&(l=p.slice(0,-1))}else if(l){let p=a(l);p&&(l=p)}}let s=r.at(-1);l?s?.trim()?r+=d.slice(0,-1)+(", "+l+")"):r+=l:r+=d||")",o="",l="",i="char";continue}i==="token"&&(o+=h),i==="fallback"&&(l+=h);continue}let c=t.indexOf("token(",e);if(c!==-1){let d=c+6;r+=t.slice(e,c),e=d,i="token",n.push(i);continue}r+=h,e++}return r},gO=t=>{let a=0,r=["("];for(;a<t.length;){let e=t[a];if(e==="(")r.push(e);else if(e===")"&&(r.pop(),r.length===0))return a;a++}return a};function ac(t){let a={};return t.forEach((r,e)=>{r instanceof Map?a[e]=Object.fromEntries(r):a[e]=r}),a}var kx=/({([^}]*)})/g,vO=/[{}]/g,Lx=/\w+\.\w+/,rc=t=>{if(!h1(t))return[];let a=t.match(kx);return a?a.map(r=>r.replace(vO,"").trim()):[]},wx=t=>kx.test(t);function O6(t){if(!t.extensions?.references)return t.extensions?.cssVar?.ref??t.value;let a=t.extensions.references??{},r=t.value,e=Object.keys(a);for(let i=0;i<e.length;i++){let o=e[i],l=a[o];if(l.extensions.conditions)continue;let n=O6(l);r=r.replace(`{${o}}`,n)}return t.value=r,delete t.extensions.references,t.value}function A6(t,a){if(a==null||!Array.isArray(a))return a;switch(t){case"easings":return`cubic-bezier(${a.join(", ")})`;case"animations":case"fonts":case"gradients":case"shadows":return a.join(", ");default:return a}}function bx(t,a){let r={};for(let e in a)r[e]=A6(t,a[e]);return r}var uO=/calc/g;function Tx(t){return Zt(t)&&t.reference?t.reference:String(t)}var ec=(t,...a)=>a.map(Tx).join(` ${t} `).replace(uO,""),Hx=(...t)=>`calc(${ec("+",...t)})`,Cx=(...t)=>`calc(${ec("-",...t)})`,P6=(...t)=>`calc(${ec("*",...t)})`,Bx=(...t)=>`calc(${ec("/",...t)})`,Vx=t=>{let a=Tx(t);return a!=null&&!Number.isNaN(parseFloat(a))?String(a).startsWith("-")?String(a).slice(1):`-${a}`:P6(a,-1)},yr=Object.assign(t=>({add:(...a)=>yr(Hx(t,...a)),subtract:(...a)=>yr(Cx(t,...a)),multiply:(...a)=>yr(P6(t,...a)),divide:(...a)=>yr(Bx(t,...a)),negate:()=>yr(Vx(t)),toString:()=>t.toString()}),{add:Hx,subtract:Cx,multiply:P6,divide:Bx,negate:Vx});var MO={enforce:"pre",transform(t){let{prefix:a,allTokens:r,formatCssVar:e,formatTokenName:i,registerToken:o}=t;r.filter(({extensions:n})=>n.category==="spacing").forEach(n=>{let h=n.path.slice(),c=e(h,a);if(h1(n.value)&&n.value==="0rem")return;let d=[...n.path],s=d[d.length-1];s!=null&&(d[d.length-1]=`-${s}`);let p={...n,value:yr.negate(c.ref),name:i(d),path:d,extensions:{...n.extensions,negative:!0,prop:`-${n.extensions.prop}`,originalPath:h}};o(p)})}},fO=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),mO={enforce:"post",transform(t){t.allTokens.filter(r=>fO.has(r.extensions.category)&&!r.extensions.negative).forEach(r=>{Object.assign(r.extensions,{pixelValue:Qh(r.value)})})}},xO={enforce:"post",transform(t){let{allTokens:a,registerToken:r,formatTokenName:e}=t,i=a.filter(({extensions:n})=>n.category==="colors"),o=new Map,l=new Map;i.forEach(n=>{let{colorPalette:h}=n.extensions;h&&(h.keys.forEach(c=>{o.set(e(c),c)}),h.roots.forEach(c=>{let d=e(c),s=l.get(d)||[];if(s.push(n),l.set(d,s),n.extensions.default&&c.length===1){let p=h.keys[0]?.filter(Boolean);if(!p.length)return;let g=c.concat(p);o.set(e(g),[])}}))}),o.forEach(n=>{let h=["colors","colorPalette",...n].filter(Boolean),c=e(h),d=e(h.slice(1));r({name:c,value:c,originalValue:c,path:h,extensions:{condition:"base",originalPath:h,category:"colors",prop:d,virtual:!0}},"pre")})}},zO={enforce:"post",transform(t){let a=[],r=[];t.allTokens.forEach(e=>{e.value===""?a.push(e):r.push(e)}),t.allTokens.splice(0,t.allTokens.length,...r),a.forEach(e=>{if(t.tokenMap.get(e.name)!==e)return;let i=t.allTokens.find(o=>o.name===e.name);if(!i){t.tokenMap.delete(e.name);return}e.extensions.conditions&&!i.extensions.conditions&&(i.extensions.conditions=e.extensions.conditions),t.tokenMap.set(e.name,i)})}},yx=[MO,xO,mO,zO];var kO={type:"extensions",enforce:"pre",name:"tokens/css-var",transform(t,a){let{prefix:r,formatCssVar:e}=a,{negative:i,originalPath:o}=t.extensions,l=i?o:t.path;return{cssVar:e(l.filter(Boolean),r)}}},LO={enforce:"post",type:"value",name:"tokens/conditionals",transform(t,a){let{prefix:r,formatCssVar:e,getByName:i}=a,o=rc(t.value);return o.length&&o.forEach(l=>{if(!i(l))return;let n=e(l.split("."),r);t.value=t.value.replaceAll(`{${l}}`,n.ref)}),t.value}},wO={type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(t){return t.extensions.category==="colors"&&!t.extensions.virtual},transform(t,a){let r=t.path.slice();if(r.pop(),r.shift(),r.length===0){let n=[...t.path];n.shift(),r=n}if(r.length===0)return{};let e=r.reduce((n,h,c,d)=>{let s=d.slice(0,c+1);return n.push(s),n},[]),i=r[0],o=a.formatTokenName(r),l=t.path.slice(t.path.indexOf(i)+1).reduce((n,h,c,d)=>(n.push(d.slice(c)),n),[]);return l.length===0&&l.push([""]),{colorPalette:{value:o,roots:e,keys:l}}}},Sx=[kO,LO,wO];var Wx=t=>Zt(t)&&Object.prototype.hasOwnProperty.call(t,"value");function bO(t){return t?{breakpoints:qh(t,a=>({value:a})),sizes:x1(t,(a,r)=>[`breakpoint-${a}`,{value:r}])}:{breakpoints:{},sizes:{}}}function Ox(t){let{prefix:a="",tokens:r={},semanticTokens:e={},breakpoints:i={}}=t,o=_=>_.join("."),l=(_,D)=>Yh(_.join("-"),{prefix:D}),n=[],h=new Map,c=new Map,d=new Map,s=new Map,p=new Map,g=new Map,u=new Map,f=new Map,z=[];function v(_,D){n.push(_),(_.extensions.condition==="base"||!h.has(_.name))&&h.set(_.name,_),D&&f.forEach(lt=>{lt.enforce===D&&b(lt,_)})}let M=bO(i),m=k0({...r,breakpoints:M.breakpoints,sizes:{...r.sizes,...M.sizes}});function L(){$1(m,(_,D)=>{let lt=D.includes("DEFAULT");D=jx(D);let dt=D[0],xt=o(D),yt=h1(_)?{value:_}:_,M1=A6(dt,yt.value),Ft={value:M1,originalValue:M1,name:xt,path:D,extensions:{condition:"base",originalPath:D,category:dt,prop:o(D.slice(1))}};lt&&(Ft.extensions.default=!0),v(Ft)},{stop:Wx}),$1(e,(_,D)=>{let lt=D.includes("DEFAULT");D=Ax(jx(D));let dt=D[0],xt=o(D),yt=h1(_.value)||Array.isArray(_.value)?{value:{base:_.value}}:_,M1=bx(dt,yt.value),Ft={value:M1.base??"",originalValue:M1.base??"",name:xt,path:D,extensions:{originalPath:D,category:dt,conditions:M1,condition:"base",prop:o(D.slice(1))}};lt&&(Ft.extensions.default=!0),v(Ft)},{stop:Wx})}function H(_){return h.get(_)}function x(_){let{condition:D}=_.extensions;D&&(c.has(D)||c.set(D,new Set),c.get(D).add(_))}function B(_){let{category:D,prop:lt,condition:dt,conditions:xt}=_.extensions;if(!D)return;u.has(D)||u.set(D,new Map);let yt=u.get(D),M1=yt.get(lt);if(dt==null||dt==="base"){yt.set(lt,_);return}xt&&!M1&&yt.set(lt,_)}function C(_){let{condition:D,negative:lt,virtual:dt,cssVar:xt}=_.extensions;lt||dt||!D||!xt||_.value===""||(d.has(D)||d.set(D,new Map),d.get(D).set(xt.var,_.value))}function S(_){let{category:D,prop:lt,cssVar:dt,negative:xt}=_.extensions;if(!D)return;g.has(D)||g.set(D,new Map);let yt=xt?_.extensions.conditions?_.originalValue:_.value:dt.ref;g.get(D).set(lt,yt),p.set([D,lt].join("."),yt)}function k(_){let{colorPalette:D,virtual:lt,default:dt}=_.extensions;!D||lt||D.roots.forEach(xt=>{let yt=o(xt);s.has(yt)||s.set(yt,new Map);let M1=CO([..._.path],[...xt]),Ft=o(M1),zt=H(Ft);if(!zt||!zt.extensions.cssVar)return;let{var:f2}=zt.extensions.cssVar;if(s.get(yt).set(f2,_.extensions.cssVar.ref),dt&&xt.length===1){let nt=o(["colors","colorPalette"]),g0=H(nt);if(!g0)return;let t1=o(_.path),Vt=H(t1);if(!Vt)return;let E0=D.keys[0]?.filter(Boolean);if(!E0.length)return;let m2=o(xt.concat(E0));s.has(m2)||s.set(m2,new Map),s.get(m2).set(g0.extensions.cssVar.var,Vt.extensions.cssVar.ref)}})}let P={};function j(){n.forEach(_=>{x(_),B(_),C(_),S(_),k(_)}),P=ac(g)}let V=(_,D)=>{if(!_||typeof _!="string")return{invalid:!0,value:_};let[lt,dt]=_.split("/");if(!lt||!dt)return{invalid:!0,value:lt};let xt=D(lt),yt=H(`opacity.${dt}`)?.value;if(!yt&&isNaN(Number(dt)))return{invalid:!0,value:lt};let M1=yt?Number(yt)*100+"%":`${dt}%`,Ft=xt??lt;return{invalid:!1,color:Ft,value:`color-mix(in srgb, ${Ft} ${M1}, transparent)`}},A=_t((_,D)=>p.get(_)??D),E=_t(_=>P[_]||null),y=_t(_=>j6(_,D=>{if(!D)return;if(D.includes("/")){let dt=V(D,xt=>A(xt));if(dt.invalid)throw new Error("Invalid color mix at "+D+": "+dt.value);return dt.value}let lt=A(D);return lt||(Lx.test(D)?tc(D):D)})),F={prefix:a,allTokens:n,tokenMap:h,registerToken:v,getByName:H,formatTokenName:o,formatCssVar:l,flatMap:p,cssVarMap:d,categoryMap:u,colorPaletteMap:s,getVar:A,getCategoryValues:E,expandReferenceInValue:y};function N(..._){_.forEach(D=>{f.set(D.name,D)})}function X(..._){z.push(..._)}function b(_,D){if(D.extensions.references||qe(_.match)&&!_.match(D))return;let dt=(xt=>_.transform(xt,F))(D);switch(!0){case _.type==="extensions":Object.assign(D.extensions,dt);break;case _.type==="value":D.value=dt;break;default:D[_.type]=dt;break}}function st(_){z.forEach(D=>{D.enforce===_&&D.transform(F)})}function vt(_){f.forEach(D=>{D.enforce===_&&n.forEach(lt=>{b(D,lt)})})}function w(){n.slice().forEach(_=>{let D=HO(_);!D||D.length===0||D.forEach(lt=>{v(lt)})})}function it(_){let D=rc(_),lt=[];for(let dt=0;dt<D.length;dt++){let xt=H(D[dt]);xt&<.push(xt)}return lt}function pt(){n.forEach(_=>{if(!wx(_.value))return;let D=it(_.value);_.extensions.references=D.reduce((lt,dt)=>(lt[dt.name]=dt,lt),{})})}function Kt(){n.forEach(_=>{O6(_)})}function w1(){st("pre"),vt("pre"),w(),pt(),Kt(),st("post"),vt("post"),j()}return L(),N(...Sx),X(...yx),w1(),F}function jx(t){return t[0]==="DEFAULT"?t:t.filter(a=>a!=="DEFAULT")}function Ax(t){return t.filter(a=>a!=="base")}function HO(t){if(!t.extensions.conditions)return;let{conditions:a}=t.extensions,r=[];return $1(a,(e,i)=>{let o=Ax(i);if(!o.length)return;let l={...t,value:e,extensions:{...t.extensions,condition:o.join(":")}};r.push(l)}),r}function CO(t,a){let r=t.findIndex((e,i)=>a.every((o,l)=>t[i+l]===o));return r===-1||(t.splice(r,a.length),t.splice(r,0,"colorPalette")),t}var c0t=zx()(["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"]);function BO(t){return x1(t,(a,r)=>[a,r])}function Px(t){let a=BO(t.config),r=t.tokens,e=new Map,i=new Map;function o(C,S){a[C]=S,l(C,S)}let l=(C,S)=>{let k=f(S);k&&(i.set(C,k),s(C,S))},n=()=>{for(let[C,S]of Object.entries(a))S&&l(C,S)},h=()=>{for(let[C,S]of Object.entries(a)){let{shorthand:k}=S??{};if(!k)continue;(Array.isArray(k)?k:[k]).forEach(j=>e.set(j,C))}},c=()=>{let C=ac(r.colorPaletteMap);o("colorPalette",{values:Object.keys(C),transform:_t(S=>C[S])})},d=new Map,s=(C,S)=>{if(!S)return;let k=f(S,j=>`type:Tokens["${j}"]`);if(typeof k=="object"&&k.type){d.set(C,new Set([`type:${k.type}`]));return}if(k){let j=new Set(Object.keys(k));d.set(C,j)}let P=d.get(C)??new Set;S.property&&d.set(C,P.add(`CssProperties["${S.property}"]`))},p=()=>{for(let[C,S]of Object.entries(a))S&&s(C,S)},g=(C,S)=>{let k=d.get(C)??new Set;d.set(C,new Set([...k,...S]))},u=()=>{let C=new Map;for(let[S,k]of d.entries()){if(k.size===0){C.set(S,["string"]);continue}let P=Array.from(k).map(j=>j.startsWith("CssProperties")?j:j.startsWith("type:")?j.replace("type:",""):JSON.stringify(j));C.set(S,P)}return C},f=(C,S)=>{let{values:k}=C,P=j=>{let V=S?.(j);return V?{[V]:V}:void 0};if(h1(k))return P?.(k)??r.getCategoryValues(k)??wt;if(Array.isArray(k)){let j={};for(let V=0;V<k.length;V++)j[k[V]]=k[V];return j}return qe(k)?k(S?P:r.getCategoryValues):k},z=_t((C,S)=>({[C]:C.startsWith("--")?r.getVar(S,S):S})),v=Object.assign(r.getVar,{raw:C=>r.getByName(C)}),M=_t((C,S)=>{let k=H(C);h1(S)&&!S.includes("_EMO_")&&(S=r.expandReferenceInValue(S));let P=a[k];if(!P)return z(k,S);let j=i.get(k)?.[S];if(!P.transform)return z(C,j??S);let V=A=>Um(A,v);return P.transform(j??S,{raw:S,token:v,utils:{colorMix:V}})});function m(){h(),c(),n(),p()}m();let L=e.size>0,H=_t(C=>e.get(C)??C);return{keys:()=>[...Array.from(e.keys()),...Object.keys(a)],hasShorthand:L,transform:M,shorthands:e,resolveShorthand:H,register:o,getTypes:u,addPropertyType:g}}function yl(...t){let a=Kh(...t),{theme:r={},utilities:e={},globalCss:i={},cssVarsRoot:o=":where(:root, :host)",cssVarsPrefix:l="chakra",preflight:n}=a,h=ux(a),c=Ox({breakpoints:r.breakpoints,tokens:r.tokens,semanticTokens:r.semanticTokens,prefix:l}),d=Zm(r.breakpoints??wt),s=Jm({conditions:a.conditions??wt,breakpoints:d}),p=Px({config:e,tokens:c});function g(){let{textStyles:w,layerStyles:it,animationStyles:pt}=r,Kt=k0({textStyle:w,layerStyle:it,animationStyle:pt});for(let[w1,_]of Object.entries(Kt)){let D=C6(_??wt,_x);p.register(w1,{values:Object.keys(D),transform(lt){return m(D[lt])}})}}g(),p.addPropertyType("animationName",Object.keys(r.keyframes??wt));let u=new Set(["css",...p.keys(),...s.keys()]),f=_t(w=>u.has(w)||Ym(w)),z=w=>{if(Array.isArray(w)){let it=Tr();for(let pt=0;pt<w.length;pt++){let Kt=w[pt];if(Kt!=null){let w1=s.breakpoints[pt];it[w1]=Kt}}return it}return w},v=Mx({utility:p,normalize:z}),M=mx({conditions:s,isValidProperty:f}),m=Jh({transform:p.transform,conditions:s,normalize:v}),L=gx({css:m,conditions:s,normalize:v,layers:h}),H=xx({cva:L});function x(){let w={};for(let[it,pt]of c.cssVarMap.entries()){let Kt=Object.fromEntries(pt);if(Object.keys(Kt).length===0)continue;let w1=it==="base"?o:s.resolve(it),_=w1.startsWith("@"),D=m(M({[w1]:_?{[o]:Kt}:Kt}));G2(w,D)}return h.wrap("tokens",w)}function B(){let w=x1(r.keyframes??wt,(pt,Kt)=>[`@keyframes ${pt}`,Kt]),it=Object.assign({},w,m(M(i)));return h.wrap("base",it)}function C(w){return L0(w,f)}function S(){let w=fx({preflight:n});return h.wrap("reset",w)}let k=VO(c),P=(w,it)=>k.get(w)?.value||it;P.var=(w,it)=>k.get(w)?.variable||it;function j(w,it){return r.recipes?.[w]??it}function V(w,it){return r.slotRecipes?.[w]??it}let A=new Map,E=new Map;function y(w,it){let pt=A.get(w);return pt||(pt=L(j(w,it??wt)),A.set(w,pt)),pt}function F(w,it){let pt=E.get(w);return pt||(pt=H(V(w,it??wt)),E.set(w,pt)),pt}function N(w){return Object.hasOwnProperty.call(r.recipes??wt,w)}function X(w){return Object.hasOwnProperty.call(r.slotRecipes??wt,w)}function b(w){return N(w)||X(w)}let st=[S(),B(),x()],vt={layerStyles:E6(r.layerStyles??wt),textStyles:E6(r.textStyles??wt),animationStyles:E6(r.animationStyles??wt),tokens:Ex(c,Object.keys(r.tokens??wt),(w,it)=>!w.extensions.conditions&&!it.includes("colorPalette")),semanticTokens:Ex(c,Object.keys(r.semanticTokens??wt),w=>!!w.extensions.conditions),keyframes:Rx(r.keyframes??wt),breakpoints:Rx(r.breakpoints??wt)};return{$$chakra:!0,_config:a,_global:st,breakpoints:d,tokens:c,conditions:s,utility:p,token:P,properties:u,layers:h,isValidProperty:f,splitCssProps:C,normalizeValue:z,getTokenCss:x,getGlobalCss:B,getPreflightCss:S,css:m,cva:L,sva:H,getRecipe:j,getSlotRecipe:V,getRecipeFn:y,getSlotRecipeFn:F,hasRecipe:b,isRecipe:N,isSlotRecipe:X,query:vt}}function VO(t){let a=new Map,r=new Set(t.allTokens.map(e=>e.name));for(let e of r){let i=t.getByName(e);if(!i?.extensions.cssVar)continue;let{cssVar:o,virtual:l,conditions:n}=i.extensions,c=!!n||l?o.ref:i.value;a.set(e,{value:c,variable:o.ref})}return a}var _x=t=>Zt(t)&&"value"in t,E6=t=>({list(){return Object.keys(C6(t,_x))},search(a){return this.list().filter(r=>r.includes(a))}}),Ex=(t,a,r)=>({categoryKeys:a,list(e){let i=t.categoryMap.get(e),o=i?[...i.entries()]:[],l=[];for(let n=0;n<o.length;n++){let[h,c]=o[n];r(c,h)&&l.push(h)}return l},search(e,i){return this.list(e).filter(o=>o.includes(i))}}),Rx=t=>({list(){return Object.keys(t)},search(a){return this.list().filter(r=>r.includes(a))}});var Fx={sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"};var R6="var(--chakra-empty, )",Ix=L6({"*":{fontFeatureSettings:'"cv11"',"--ring-inset":R6,"--ring-offset-width":"0px","--ring-offset-color":"#fff","--ring-color":"rgba(66, 153, 225, 0.6)","--ring-offset-shadow":"0 0 #0000","--ring-shadow":"0 0 #0000",...Object.fromEntries(["brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"].map(t=>[`--${t}`,R6])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(t=>[`--backdrop-${t}`,R6])),"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body","--global-color-border":"colors.border"},html:{color:"fg",bg:"bg",lineHeight:"1.5",colorPalette:"gray"},"*::placeholder, *[data-placeholder]":{color:"fg.muted/80"},"*::selection":{bg:"colorPalette.emphasized/80"}});var Dx=H6({"fill.muted":{value:{background:"colorPalette.muted",color:"colorPalette.fg"}},"fill.subtle":{value:{background:"colorPalette.subtle",color:"colorPalette.fg"}},"fill.surface":{value:{background:"colorPalette.subtle",color:"colorPalette.fg",boxShadow:"0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.muted"}},"fill.solid":{value:{background:"colorPalette.solid",color:"colorPalette.contrast"}},"outline.subtle":{value:{color:"colorPalette.fg",boxShadow:"inset 0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.subtle"}},"outline.solid":{value:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg"}},"indicator.bottom":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",bottom:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.top":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",top:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.start":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineStart:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.end":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineEnd:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},disabled:{value:{opacity:"0.5",cursor:"not-allowed"}},none:{value:{}}});var Nx=b6({"slide-fade-in":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-from-bottom, fade-in"},"&[data-placement^=bottom]":{animationName:"slide-from-top, fade-in"},"&[data-placement^=left]":{animationName:"slide-from-right, fade-in"},"&[data-placement^=right]":{animationName:"slide-from-left, fade-in"}}},"slide-fade-out":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-to-bottom, fade-out"},"&[data-placement^=bottom]":{animationName:"slide-to-top, fade-out"},"&[data-placement^=left]":{animationName:"slide-to-right, fade-out"},"&[data-placement^=right]":{animationName:"slide-to-left, fade-out"}}},"scale-fade-in":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-in, fade-in"}},"scale-fade-out":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-out, fade-out"}}});var Ei=rt({className:"chakra-badge",base:{display:"inline-flex",alignItems:"center",borderRadius:"l2",gap:"1",fontWeight:"medium",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap",userSelect:"none"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{color:"colorPalette.fg","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"var(--outline-shadow, var(--outline-shadow-legacy))"},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},plain:{color:"colorPalette.fg"}},size:{xs:{textStyle:"2xs",px:"1",minH:"4"},sm:{textStyle:"xs",px:"1.5",minH:"5"},md:{textStyle:"sm",px:"2",minH:"6"},lg:{textStyle:"sm",px:"2.5",minH:"7"}}},defaultVariants:{variant:"subtle",size:"sm"}});var Ux=rt({className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px","--outline-color-legacy":"colors.colorPalette.muted","--outline-color":"colors.colorPalette.border",borderColor:"var(--outline-color, var(--outline-color-legacy))",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}});var g1=rt({className:"chakra-checkmark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"l1",cursor:"checkbox",focusVisibleRing:"outside",_icon:{boxSize:"full"},_invalid:{colorPalette:"red",borderColor:"border.error"},_disabled:{opacity:"0.5",cursor:"disabled"}},variants:{size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5",p:"0.5"},lg:{boxSize:"6",p:"0.5"}},variant:{solid:{borderColor:"border.emphasized","&:is([data-state=checked], [data-state=indeterminate])":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},outline:{borderColor:"border","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg",borderColor:"colorPalette.solid"}},subtle:{bg:"colorPalette.muted",borderColor:"colorPalette.muted","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},inverted:{borderColor:"border",color:"colorPalette.fg","&:is([data-state=checked], [data-state=indeterminate])":{borderColor:"colorPalette.solid"}}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}});var{variants:TO,defaultVariants:yO}=Ei,Gx=rt({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:TO,defaultVariants:yO});var ic=rt({className:"color-swatch",base:{boxSize:"var(--swatch-size)",shadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.1)","--checker-size":"8px","--checker-bg":"colors.bg","--checker-fg":"colors.bg.emphasized",background:"linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},variants:{size:{"2xs":{"--swatch-size":"sizes.3.5"},xs:{"--swatch-size":"sizes.4"},sm:{"--swatch-size":"sizes.4.5"},md:{"--swatch-size":"sizes.5"},lg:{"--swatch-size":"sizes.6"},xl:{"--swatch-size":"sizes.7"},"2xl":{"--swatch-size":"sizes.8"},inherit:{"--swatch-size":"inherit"},full:{"--swatch-size":"100%"}},shape:{square:{borderRadius:"none"},circle:{borderRadius:"full"},rounded:{borderRadius:"l1"}}},defaultVariants:{size:"md",shape:"rounded"}});var qx=rt({className:"chakra-container",base:{position:"relative",maxWidth:"8xl",w:"100%",mx:"auto",px:{base:"4",md:"6",lg:"8"}},variants:{centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}},fluid:{true:{maxWidth:"full"}}}});var $x=rt({className:"chakra-heading",base:{fontFamily:"heading",fontWeight:"semibold"},variants:{size:{xs:{textStyle:"xs"},sm:{textStyle:"sm"},md:{textStyle:"md"},lg:{textStyle:"lg"},xl:{textStyle:"xl"},"2xl":{textStyle:"2xl"},"3xl":{textStyle:"3xl"},"4xl":{textStyle:"4xl"},"5xl":{textStyle:"5xl"},"6xl":{textStyle:"6xl"},"7xl":{textStyle:"7xl"}}},defaultVariants:{size:"xl"}});var Kx=rt({className:"chakra-icon",base:{display:"inline-block",lineHeight:"1em",flexShrink:"0",color:"currentcolor",verticalAlign:"middle"},variants:{size:{inherit:{},xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"},xl:{boxSize:"7"},"2xl":{boxSize:"8"}}},defaultVariants:{size:"inherit"}});var Gt=rt({className:"chakra-input",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},height:"var(--input-height)",minW:"var(--input-height)","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{"2xs":{textStyle:"xs",px:"2","--input-height":"sizes.7"},xs:{textStyle:"xs",px:"2","--input-height":"sizes.8"},sm:{textStyle:"sm",px:"2.5","--input-height":"sizes.9"},md:{textStyle:"sm",px:"3","--input-height":"sizes.10"},lg:{textStyle:"md",px:"4","--input-height":"sizes.11"},xl:{textStyle:"md",px:"4.5","--input-height":"sizes.12"},"2xl":{textStyle:"lg",px:"5","--input-height":"sizes.16"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}}}},defaultVariants:{size:"md",variant:"outline"}});var Yx=rt({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:Gt.variants.size,variant:{outline:{borderWidth:"1px",borderColor:"border",bg:"bg.muted"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.emphasized"},flushed:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}},defaultVariants:{size:"md",variant:"outline"}});var Xx=rt({className:"chakra-kbd",base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",wordSpacing:"-0.5em",userSelect:"none",px:"1",borderRadius:"l2"},variants:{variant:{raised:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderWidth:"1px",borderBottomWidth:"2px",borderColor:"colorPalette.muted"},outline:{borderWidth:"1px",color:"colorPalette.fg"},subtle:{bg:"colorPalette.muted",color:"colorPalette.fg"},plain:{color:"colorPalette.fg"}},size:{sm:{textStyle:"xs",height:"4.5"},md:{textStyle:"sm",height:"5"},lg:{textStyle:"md",height:"6"}}},defaultVariants:{size:"md",variant:"raised"}});var Qx=rt({className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusVisibleRing:"outside"},variants:{variant:{underline:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"},plain:{color:"colorPalette.fg",_hover:{textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"}}}},defaultVariants:{variant:"plain"}});var Zx=rt({className:"chakra-mark",base:{bg:"transparent",color:"inherit",whiteSpace:"nowrap"},variants:{variant:{subtle:{bg:"colorPalette.subtle",color:"inherit"},solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},text:{fontWeight:"medium"},plain:{}}}});var v1=rt({className:"chakra-radiomark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,verticalAlign:"top",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"full",cursor:"radio",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing",outlineOffset:"2px"},_invalid:{colorPalette:"red",borderColor:"red.500"},_disabled:{opacity:"0.5",cursor:"disabled"},"& .dot":{height:"100%",width:"100%",borderRadius:"full",bg:"currentColor",scale:"0.4"}},variants:{variant:{solid:{borderWidth:"1px",borderColor:"border.emphasized",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},subtle:{borderWidth:"1px",bg:"colorPalette.muted",borderColor:"colorPalette.muted",color:"transparent",_checked:{color:"colorPalette.fg"}},outline:{borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.fg",borderColor:"colorPalette.solid"},"& .dot":{scale:"0.6"}},inverted:{bg:"bg",borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.solid",borderColor:"currentcolor"}}},size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}});var Jx=rt({className:"chakra-separator",base:{display:"block",borderColor:"border"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{borderInlineStartWidth:"var(--separator-thickness)"},horizontal:{borderTopWidth:"var(--separator-thickness)"}},size:{xs:{"--separator-thickness":"0.5px"},sm:{"--separator-thickness":"1px"},md:{"--separator-thickness":"2px"},lg:{"--separator-thickness":"3px"}}},defaultVariants:{size:"sm",variant:"solid",orientation:"horizontal"}});var tz=rt({className:"chakra-skeleton",base:{},variants:{loading:{true:{borderRadius:"l2",boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none",flexShrink:"0","&::before, &::after, *":{visibility:"hidden"}},false:{background:"unset",animation:"fade-in var(--fade-duration, 0.1s) ease-out !important"}},variant:{pulse:{background:"bg.emphasized",animation:"pulse",animationDuration:"var(--duration, 1.2s)"},shine:{"--animate-from":"200%","--animate-to":"-200%","--start-color":"colors.bg.muted","--end-color":"colors.bg.emphasized",backgroundImage:"linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))",backgroundSize:"400% 100%",animation:"bg-position var(--duration, 5s) ease-in-out infinite"},none:{animation:"none"}}},defaultVariants:{variant:"pulse",loading:!0}});var az=rt({className:"chakra-skip-nav",base:{display:"inline-flex",bg:"bg.panel",padding:"2.5",borderRadius:"l2",fontWeight:"semibold",focusVisibleRing:"outside",textStyle:"sm",userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",_focusVisible:{clip:"auto",width:"auto",height:"auto",position:"fixed",top:"6",insetStart:"6"}}});var rz=rt({className:"chakra-spinner",base:{display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderWidth:"2px",borderRadius:"full",width:"var(--spinner-size)",height:"var(--spinner-size)",animation:"spin",animationDuration:"slowest","--spinner-track-color":"transparent",borderBottomColor:"var(--spinner-track-color)",borderInlineStartColor:"var(--spinner-track-color)"},variants:{size:{inherit:{"--spinner-size":"1em"},xs:{"--spinner-size":"sizes.3"},sm:{"--spinner-size":"sizes.4"},md:{"--spinner-size":"sizes.5"},lg:{"--spinner-size":"sizes.8"},xl:{"--spinner-size":"sizes.10"}}},defaultVariants:{size:"md"}});var ez=rt({className:"chakra-textarea",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{xs:{textStyle:"xs",px:"2",py:"1.5",scrollPaddingBottom:"1.5"},sm:{textStyle:"sm",px:"2.5",py:"2",scrollPaddingBottom:"2"},md:{textStyle:"sm",px:"3",py:"2",scrollPaddingBottom:"2"},lg:{textStyle:"md",px:"4",py:"3",scrollPaddingBottom:"3"},xl:{textStyle:"md",px:"4.5",py:"3.5",scrollPaddingBottom:"3.5"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}}}},defaultVariants:{size:"md",variant:"outline"}});var iz={badge:Ei,button:Ux,code:Gx,container:qx,heading:$x,input:Gt,inputAddon:Yx,kbd:Xx,link:Qx,mark:Zx,separator:Jx,skeleton:tz,skipNavLink:az,spinner:rz,textarea:ez,icon:Kx,checkmark:g1,radiomark:v1,colorSwatch:ic};var oz=Br.colors({bg:{DEFAULT:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},emphasized:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},inverted:{value:{_light:"{colors.black}",_dark:"{colors.white}"}},panel:{value:{_light:"{colors.white}",_dark:"{colors.gray.950}"}},error:{value:{_light:"{colors.red.50}",_dark:"{colors.red.950}"}},warning:{value:{_light:"{colors.orange.50}",_dark:"{colors.orange.950}"}},success:{value:{_light:"{colors.green.50}",_dark:"{colors.green.950}"}},info:{value:{_light:"{colors.blue.50}",_dark:"{colors.blue.950}"}}},fg:{DEFAULT:{value:{_light:"{colors.black}",_dark:"{colors.gray.50}"}},muted:{value:{_light:"{colors.gray.600}",_dark:"{colors.gray.400}"}},subtle:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.500}"}},inverted:{value:{_light:"{colors.gray.50}",_dark:"{colors.black}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.300}"}},success:{value:{_light:"{colors.green.600}",_dark:"{colors.green.300}"}},info:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.300}"}}},border:{DEFAULT:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},inverted:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}},success:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}},info:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},gray:{contrast:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},fg:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},subtle:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},muted:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},solid:{value:{_light:"{colors.gray.900}",_dark:"{colors.white}"}},focusRing:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.400}"}},border:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}}},red:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.red.700}",_dark:"{colors.red.300}"}},subtle:{value:{_light:"{colors.red.100}",_dark:"{colors.red.900}"}},muted:{value:{_light:"{colors.red.200}",_dark:"{colors.red.800}"}},emphasized:{value:{_light:"{colors.red.300}",_dark:"{colors.red.700}"}},solid:{value:{_light:"{colors.red.600}",_dark:"{colors.red.600}"}},focusRing:{value:{_light:"{colors.red.500}",_dark:"{colors.red.500}"}},border:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}}},orange:{contrast:{value:{_light:"white",_dark:"black"}},fg:{value:{_light:"{colors.orange.700}",_dark:"{colors.orange.300}"}},subtle:{value:{_light:"{colors.orange.100}",_dark:"{colors.orange.900}"}},muted:{value:{_light:"{colors.orange.200}",_dark:"{colors.orange.800}"}},emphasized:{value:{_light:"{colors.orange.300}",_dark:"{colors.orange.700}"}},solid:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.500}"}},focusRing:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.500}"}},border:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}}},green:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.green.700}",_dark:"{colors.green.300}"}},subtle:{value:{_light:"{colors.green.100}",_dark:"{colors.green.900}"}},muted:{value:{_light:"{colors.green.200}",_dark:"{colors.green.800}"}},emphasized:{value:{_light:"{colors.green.300}",_dark:"{colors.green.700}"}},solid:{value:{_light:"{colors.green.600}",_dark:"{colors.green.600}"}},focusRing:{value:{_light:"{colors.green.500}",_dark:"{colors.green.500}"}},border:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}}},blue:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.blue.700}",_dark:"{colors.blue.300}"}},subtle:{value:{_light:"{colors.blue.100}",_dark:"{colors.blue.900}"}},muted:{value:{_light:"{colors.blue.200}",_dark:"{colors.blue.800}"}},emphasized:{value:{_light:"{colors.blue.300}",_dark:"{colors.blue.700}"}},solid:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.600}"}},focusRing:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.500}"}},border:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},yellow:{contrast:{value:{_light:"black",_dark:"black"}},fg:{value:{_light:"{colors.yellow.800}",_dark:"{colors.yellow.300}"}},subtle:{value:{_light:"{colors.yellow.100}",_dark:"{colors.yellow.900}"}},muted:{value:{_light:"{colors.yellow.200}",_dark:"{colors.yellow.800}"}},emphasized:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.700}"}},solid:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.300}"}},focusRing:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}},border:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}}},teal:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.teal.700}",_dark:"{colors.teal.300}"}},subtle:{value:{_light:"{colors.teal.100}",_dark:"{colors.teal.900}"}},muted:{value:{_light:"{colors.teal.200}",_dark:"{colors.teal.800}"}},emphasized:{value:{_light:"{colors.teal.300}",_dark:"{colors.teal.700}"}},solid:{value:{_light:"{colors.teal.600}",_dark:"{colors.teal.600}"}},focusRing:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.500}"}},border:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.400}"}}},purple:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.purple.700}",_dark:"{colors.purple.300}"}},subtle:{value:{_light:"{colors.purple.100}",_dark:"{colors.purple.900}"}},muted:{value:{_light:"{colors.purple.200}",_dark:"{colors.purple.800}"}},emphasized:{value:{_light:"{colors.purple.300}",_dark:"{colors.purple.700}"}},solid:{value:{_light:"{colors.purple.600}",_dark:"{colors.purple.600}"}},focusRing:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.500}"}},border:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.400}"}}},pink:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.pink.700}",_dark:"{colors.pink.300}"}},subtle:{value:{_light:"{colors.pink.100}",_dark:"{colors.pink.900}"}},muted:{value:{_light:"{colors.pink.200}",_dark:"{colors.pink.800}"}},emphasized:{value:{_light:"{colors.pink.300}",_dark:"{colors.pink.700}"}},solid:{value:{_light:"{colors.pink.600}",_dark:"{colors.pink.600}"}},focusRing:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.500}"}},border:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.400}"}}},cyan:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.cyan.700}",_dark:"{colors.cyan.300}"}},subtle:{value:{_light:"{colors.cyan.100}",_dark:"{colors.cyan.900}"}},muted:{value:{_light:"{colors.cyan.200}",_dark:"{colors.cyan.800}"}},emphasized:{value:{_light:"{colors.cyan.300}",_dark:"{colors.cyan.700}"}},solid:{value:{_light:"{colors.cyan.600}",_dark:"{colors.cyan.600}"}},focusRing:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.500}"}},border:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.400}"}}}});var lz=Br.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}});var nz=Br.shadows({xs:{value:{_light:"0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",_dark:"0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"}},sm:{value:{_light:"0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},md:{value:{_light:"0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},lg:{value:{_light:"0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},xl:{value:{_light:"0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},"2xl":{value:{_light:"0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},inner:{value:{_light:"inset 0 2px 4px 0 {black/5}",_dark:"inset 0 2px 4px 0 black"}},inset:{value:{_light:"inset 0 0 0 1px {black/5}",_dark:"inset 0 0 0 1px {colors.gray.300/5}"}}});var hz=ei.extendWith("itemBody"),cz=q("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),dz=q("alert").parts("title","description","root","indicator","content"),sz=q("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),pz=q("blockquote").parts("root","icon","content","caption"),gz=q("card").parts("root","header","body","footer","title","description"),vz=q("checkbox-card",["root","control","label","description","addon","indicator","content"]),uz=q("data-list").parts("root","item","itemLabel","itemValue"),Mz=$9.extendWith("indicatorGroup"),fz=Cr.extendWith("header","body","footer","backdrop"),mz=Cr.extendWith("header","body","footer","backdrop"),xz=si.extendWith("textarea"),zz=q("empty-state",["root","content","indicator","title","description"]),kz=Eh.extendWith("requiredIndicator"),Lz=Rh.extendWith("content"),wz=pi.extendWith("itemContent","dropzoneContent","fileText"),bz=q("list").parts("root","item","indicator"),Hz=Mi.extendWith("itemCommand"),Cz=q("select").parts("root","field","indicator"),Bz=xi.extendWith("header","body","footer"),_6=Da.extendWith("itemAddon","itemIndicator"),Vz=_6.extendWith("itemContent","itemDescription"),Tz=ki.extendWith("itemIndicator"),yz=wi.extendWith("indicatorGroup"),Sz=q9.extendWith("indicatorGroup","empty"),Wz=bi.extendWith("markerIndicator","markerLabel"),jz=q("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),Oz=q("status").parts("root","indicator"),Az=q("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),Pz=Ci.extendWith("indicator"),Ez=q("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),Rz=q("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),_z=q("tabs").parts("root","trigger","list","content","contentGroup","indicator"),Fz=q("tag").parts("root","label","closeTrigger","startElement","endElement"),Iz=q("timeline").parts("root","item","content","separator","indicator","connector","title","description"),Dz=G9.extendWith("channelText"),Nz=q("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]),Uz=Hi.extendWith("resizeTriggerSeparator","resizeTriggerIndicator"),Eet=oi.extendWith("valueText"),Gz=K9;var qz=R({className:"chakra-accordion",slots:hz.keys(),base:{root:{width:"full","--accordion-radius":"radii.l2"},item:{overflowAnchor:"none"},itemTrigger:{display:"flex",alignItems:"center",textAlign:"start",width:"full",outline:"0",gap:"3",fontWeight:"medium",borderRadius:"var(--accordion-radius)",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{layerStyle:"disabled"}},itemBody:{pt:"var(--accordion-padding-y)",pb:"calc(var(--accordion-padding-y) * 2)"},itemContent:{overflow:"hidden",borderRadius:"var(--accordion-radius)",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}},itemIndicator:{transition:"rotate 0.2s",transformOrigin:"center",color:"fg.subtle",_open:{rotate:"180deg"},_icon:{width:"1.2em",height:"1.2em"}}},variants:{variant:{outline:{item:{borderBottomWidth:"1px"}},subtle:{itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{borderRadius:"var(--accordion-radius)",_open:{bg:"colorPalette.subtle"}}},enclosed:{root:{borderWidth:"1px",borderRadius:"var(--accordion-radius)",divideY:"1px",overflow:"hidden"},itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{_open:{bg:"bg.subtle"}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":"spacing.3","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"sm",py:"var(--accordion-padding-y)"}},md:{root:{"--accordion-padding-x":"spacing.4","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"md",py:"var(--accordion-padding-y)"}},lg:{root:{"--accordion-padding-x":"spacing.4.5","--accordion-padding-y":"spacing.2.5"},itemTrigger:{textStyle:"lg",py:"var(--accordion-padding-y)"}}}},defaultVariants:{size:"md",variant:"outline"}});var $z=R({className:"chakra-action-bar",slots:cz.keys(),base:{positioner:{position:"fixed",display:"flex",pointerEvents:"none",insetInline:"0","--action-bar-offset":"spacing.4"},content:{bg:"bg.panel",shadow:"md",display:"flex",alignItems:"center",gap:"3",borderRadius:"l3",py:"2.5",px:"3",pointerEvents:"auto",translate:"calc(-1 * var(--scrollbar-width) / 2) 0px",_open:{animationName:"slide-from-bottom, fade-in",animationDuration:"moderate"},_closed:{animationName:"slide-to-bottom, fade-out",animationDuration:"faster"}},separator:{width:"1px",height:"5",bg:"border"},selectionTrigger:{display:"inline-flex",alignItems:"center",gap:"2",alignSelf:"stretch",textStyle:"sm",px:"4",py:"1",borderRadius:"l2",borderWidth:"1px",borderStyle:"dashed"}},variants:{placement:{bottom:{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"center"}},"bottom-start":{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"flex-start",ps:"var(--action-bar-offset)"}},"bottom-end":{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"flex-end",pe:"var(--action-bar-offset)"}}}},defaultVariants:{placement:"bottom"}});var Kz=R({slots:dz.keys(),className:"chakra-alert",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",borderRadius:"l3"},title:{fontWeight:"medium"},description:{display:"inline"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",width:"1em",height:"1em",_icon:{boxSize:"full"}},content:{display:"flex",flex:"1",gap:"1"}},variants:{status:{info:{root:{colorPalette:"blue"}},warning:{root:{colorPalette:"orange"}},success:{root:{colorPalette:"green"}},error:{root:{colorPalette:"red"}},neutral:{root:{colorPalette:"gray"}}},inline:{true:{content:{display:"inline-flex",flexDirection:"row",alignItems:"center"}},false:{content:{display:"flex",flexDirection:"column"}}},variant:{subtle:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},surface:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",shadowColor:"var(--outline-shadow, var(--outline-shadow-legacy))"},indicator:{color:"colorPalette.fg"}},solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"},indicator:{color:"colorPalette.contrast"}}},size:{sm:{root:{gap:"2",px:"3",py:"3",textStyle:"xs"},indicator:{textStyle:"lg"}},md:{root:{gap:"3",px:"4",py:"4",textStyle:"sm"},indicator:{textStyle:"xl"}},lg:{root:{gap:"3",px:"4",py:"4",textStyle:"md"},indicator:{textStyle:"2xl"}}}},defaultVariants:{status:"info",variant:"subtle",size:"md",inline:!1}});var Yz=R({slots:ii.keys(),className:"chakra-avatar",base:{root:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",position:"relative",verticalAlign:"top",flexShrink:"0",userSelect:"none",width:"var(--avatar-size)",height:"var(--avatar-size)",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)","&[data-group-item]":{borderWidth:"2px",borderColor:"bg"}},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"var(--avatar-radius)"},fallback:{lineHeight:"1",textTransform:"uppercase",fontWeight:"medium",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)"}},variants:{size:{full:{root:{"--avatar-size":"100%","--avatar-font-size":"100%"}},"2xs":{root:{"--avatar-font-size":"fontSizes.2xs","--avatar-size":"sizes.6"}},xs:{root:{"--avatar-font-size":"fontSizes.xs","--avatar-size":"sizes.8"}},sm:{root:{"--avatar-font-size":"fontSizes.sm","--avatar-size":"sizes.9"}},md:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.10"}},lg:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.11"}},xl:{root:{"--avatar-font-size":"fontSizes.lg","--avatar-size":"sizes.12"}},"2xl":{root:{"--avatar-font-size":"fontSizes.xl","--avatar-size":"sizes.16"}}},variant:{solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},subtle:{root:{bg:"colorPalette.muted",color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",borderWidth:"1px","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",borderColor:"var(--outline-shadow, var(--outline-shadow-legacy))"}}},shape:{square:{},rounded:{root:{"--avatar-radius":"radii.l3"}},full:{root:{"--avatar-radius":"radii.full"}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:"0px"}}}}},defaultVariants:{size:"md",shape:"full",variant:"subtle"}});var Xz=R({className:"chakra-blockquote",slots:pz.keys(),base:{root:{position:"relative",display:"flex",flexDirection:"column",gap:"2"},caption:{textStyle:"sm",color:"fg.muted"},icon:{boxSize:"5"}},variants:{justify:{start:{root:{alignItems:"flex-start",textAlign:"start"}},center:{root:{alignItems:"center",textAlign:"center"}},end:{root:{alignItems:"flex-end",textAlign:"end"}}},variant:{subtle:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.muted"},icon:{color:"colorPalette.fg"}},solid:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.solid"},icon:{color:"colorPalette.solid"}},plain:{root:{paddingX:"5"},icon:{color:"colorPalette.solid"}}}},defaultVariants:{variant:"subtle",justify:"start"}});var Qz=R({className:"chakra-breadcrumb",slots:sz.keys(),base:{list:{display:"flex",alignItems:"center",wordBreak:"break-word",color:"fg.muted",listStyle:"none"},link:{outline:"0",textDecoration:"none",borderRadius:"l1",focusRing:"outside",display:"inline-flex",alignItems:"center",gap:"2"},item:{display:"inline-flex",alignItems:"center"},separator:{color:"fg.muted",opacity:"0.8",_icon:{boxSize:"1em"},_rtl:{rotate:"180deg"}},ellipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"1em"}}},variants:{variant:{underline:{link:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"0.2em",textDecorationColor:"colorPalette.muted"},currentLink:{color:"colorPalette.fg"}},plain:{link:{color:"fg.muted",_hover:{color:"fg"}},currentLink:{color:"fg"}}},size:{sm:{list:{gap:"1",textStyle:"xs"}},md:{list:{gap:"1.5",textStyle:"sm"}},lg:{list:{gap:"2",textStyle:"md"}}}},defaultVariants:{variant:"plain",size:"md"}});var Zz=R({className:"chakra-card",slots:gz.keys(),base:{root:{display:"flex",flexDirection:"column",position:"relative",minWidth:"0",wordWrap:"break-word",borderRadius:"l3",color:"fg",textAlign:"start"},title:{fontWeight:"semibold"},description:{color:"fg.muted",fontSize:"sm"},header:{paddingInline:"var(--card-padding)",paddingTop:"var(--card-padding)",display:"flex",flexDirection:"column",gap:"1.5"},body:{padding:"var(--card-padding)",flex:"1",display:"flex",flexDirection:"column"},footer:{display:"flex",alignItems:"center",gap:"2",paddingInline:"var(--card-padding)",paddingBottom:"var(--card-padding)"}},variants:{size:{sm:{root:{"--card-padding":"spacing.4"},title:{textStyle:"md"}},md:{root:{"--card-padding":"spacing.6"},title:{textStyle:"lg"}},lg:{root:{"--card-padding":"spacing.7"},title:{textStyle:"xl"}}},variant:{elevated:{root:{bg:"bg.panel",boxShadow:"md"}},outline:{root:{bg:"bg.panel",borderWidth:"1px",borderColor:"border"}},subtle:{root:{bg:"bg.muted"}}}},defaultVariants:{variant:"outline",size:"md"}});var Jz=R({className:"carousel",slots:j9.keys(),base:{root:{position:"relative",display:"flex",gap:"2",_horizontal:{flexDirection:"column"},_vertical:{flexDirection:"row"}},item:{_horizontal:{width:"100%"},_vertical:{height:"100%"}},control:{display:"flex",alignItems:"center",_horizontal:{flexDirection:"row",width:"100%"},_vertical:{flexDirection:"column",height:"100%"}},indicatorGroup:{display:"flex",justifyContent:"center",gap:"3",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},indicator:{width:"2.5",height:"2.5",borderRadius:"full",bg:"colorPalette.subtle",cursor:"button",_current:{bg:"colorPalette.solid"}}},defaultVariants:{}});var tk=R({slots:E9.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:g1.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:g1.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:g1.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:g1.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:g1.variants?.size?.lg}},variant:{outline:{control:g1.variants?.variant?.outline},solid:{control:g1.variants?.variant?.solid},subtle:{control:g1.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}});var ak=R({slots:vz.keys(),className:"chakra-checkbox-card",base:{root:{display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",flex:"1",focusVisibleRing:"outside",_disabled:{opacity:"0.8"},_invalid:{outline:"2px solid",outlineColor:"border.error"}},control:{display:"inline-flex",flex:"1",position:"relative",borderRadius:"inherit",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"},label:{fontWeight:"medium",display:"flex",alignItems:"center",gap:"2",flex:"1",_disabled:{opacity:"0.5"}},description:{opacity:"0.64",textStyle:"sm",_disabled:{opacity:"0.5"}},addon:{_disabled:{opacity:"0.5"}},indicator:g1.base,content:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"}},variants:{size:{sm:{root:{textStyle:"sm"},control:{padding:"3",gap:"1.5"},addon:{px:"3",py:"1.5",borderTopWidth:"1px"},indicator:g1.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:g1.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:g1.variants?.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:g1.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:g1.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"inset 0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:g1.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:g1.variants?.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":"flex-start"}},end:{root:{"--checkbox-card-justify":"flex-end"}},center:{root:{"--checkbox-card-justify":"center"}}},align:{start:{root:{"--checkbox-card-align":"flex-start"},content:{textAlign:"start"}},end:{root:{"--checkbox-card-align":"flex-end"},content:{textAlign:"end"}},center:{root:{"--checkbox-card-align":"center"},content:{textAlign:"center"}}},orientation:{vertical:{control:{flexDirection:"column"}},horizontal:{control:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}});var rk=R({slots:Nz.keys(),className:"code-block",base:{root:{colorPalette:"gray",rounded:"var(--code-block-radius)",overflow:"hidden",bg:"bg",color:"fg",borderWidth:"1px","--code-block-max-height":"320px","--code-block-bg":"colors.bg","--code-block-fg":"colors.fg","--code-block-obscured-opacity":"0.5","--code-block-obscured-blur":"1px","--code-block-line-number-width":"sizes.3","--code-block-line-number-margin":"spacing.4","--code-block-highlight-bg":"{colors.teal.focusRing/20}","--code-block-highlight-border":"colors.teal.focusRing","--code-block-highlight-added-bg":"{colors.green.focusRing/20}","--code-block-highlight-added-border":"colors.green.focusRing","--code-block-highlight-removed-bg":"{colors.red.focusRing/20}","--code-block-highlight-removed-border":"colors.red.focusRing"},header:{display:"flex",alignItems:"center",gap:"2",position:"relative",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)",mb:"calc(var(--code-block-padding) / 2 * -1)"},title:{display:"inline-flex",alignItems:"center",gap:"1.5",flex:"1",color:"fg.muted"},control:{gap:"1.5",display:"inline-flex",alignItems:"center"},footer:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)"},content:{position:"relative",colorScheme:"dark",borderBottomRadius:"var(--code-block-radius)",maxHeight:"var(--code-block-max-height)","& ::selection":{bg:"blue.500/40"},_expanded:{maxHeight:"unset"}},overlay:{"--bg":"{colors.black/50}",display:"flex",alignItems:"flex-end",justifyContent:"center",padding:"4",bgImage:"linear-gradient(0deg,var(--bg) 25%,transparent 100%)",color:"white",minH:"5rem",pos:"absolute",bottom:"0",insetInline:"0",zIndex:"1",fontWeight:"medium",_expanded:{display:"none"}},code:{fontFamily:"mono",lineHeight:"tall",whiteSpace:"pre",counterReset:"line 0",overflowX:"auto",overflowY:"hidden"},codeText:{px:"var(--code-block-padding)",py:"var(--code-block-padding)",position:"relative",display:"block",width:"100%","&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:"opacity, filter",transitionDuration:"moderate",transitionTimingFunction:"ease-in-out",opacity:"var(--code-block-obscured-opacity)",filter:"blur(var(--code-block-obscured-blur))"},"&:hover":{"--code-block-obscured-opacity":"1","--code-block-obscured-blur":"0px"}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:"calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))"},"& [data-line]":{position:"relative",paddingInlineEnd:"var(--code-block-padding)","--highlight-bg":"var(--code-block-highlight-bg)","--highlight-border":"var(--code-block-highlight-border)","&[data-highlight], &[data-diff]":{display:"inline-block",width:"full","&:after":{content:"''",display:"block",position:"absolute",top:"0",insetStart:"calc(var(--code-block-padding) * -1)",insetEnd:"0px",width:"calc(100% + var(--code-block-padding) * 2)",height:"100%",bg:"var(--highlight-bg)",borderStartWidth:"2px",borderStartColor:"var(--highlight-border)"}},"&[data-diff='added']":{"--highlight-bg":"var(--code-block-highlight-added-bg)","--highlight-border":"var(--code-block-highlight-added-border)"},"&[data-diff='removed']":{"--highlight-bg":"var(--code-block-highlight-removed-bg)","--highlight-border":"var(--code-block-highlight-removed-border)"}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:"pre-wrap",wordBreak:"break-all"}},"&[data-has-line-numbers]":{"--content":"counter(line)","& [data-line]:before":{content:"var(--content)",counterIncrement:"line",width:"var(--code-block-line-number-width)",marginRight:"var(--code-block-line-number-margin)",display:"inline-block",textAlign:"end",userSelect:"none",whiteSpace:"nowrap",opacity:.4},"& [data-diff='added']:before":{content:"'+'"},"& [data-diff='removed']:before":{content:"'-'"}}}},variants:{size:{sm:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.md","--code-block-header-height":"sizes.8"},title:{textStyle:"xs"},code:{fontSize:"xs"}},md:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.lg","--code-block-header-height":"sizes.10"},title:{textStyle:"xs"},code:{fontSize:"sm"}},lg:{root:{"--code-block-padding":"spacing.5","--code-block-radius":"radii.xl","--code-block-header-height":"sizes.12"},title:{textStyle:"sm"},code:{fontSize:"sm"}}}},defaultVariants:{size:"md"}});var ek=R({slots:li.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate","&[data-has-collapsed-size]":{animationName:"expand-height"}},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate","&[data-has-collapsed-size]":{animationName:"collapse-height"}}}}});var ik=R({className:"colorPicker",slots:Dz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5"},label:{color:"fg",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},valueText:{textAlign:"start"},control:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2",position:"relative"},swatchTrigger:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",flexShrink:"0",gap:"2",textStyle:"sm",minH:"var(--input-height)",minW:"var(--input-height)",px:"1",rounded:"l2",_disabled:{opacity:"0.5"},"--focus-color":"colors.colorPalette.focusRing","&:focus-visible":{borderColor:"var(--focus-color)",outline:"1px solid var(--focus-color)"},"&[data-fit-content]":{"--input-height":"unset",px:"0",border:"0"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l3",boxShadow:"lg",width:"64",p:"4",gap:"3","--color-picker-z-index":"zIndex.popover",zIndex:"calc(var(--color-picker-z-index) + var(--layer-index, 0))",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},area:{height:"180px",borderRadius:"l2",overflow:"hidden"},areaThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",focusVisibleRing:"mixed",focusRingColor:"white"},areaBackground:{height:"full"},channelSlider:{borderRadius:"l2",flex:"1"},channelSliderTrack:{height:"var(--slider-height)",borderRadius:"inherit",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"},channelText:{textStyle:"xs",color:"fg.muted",fontWeight:"medium",textTransform:"capitalize"},swatchGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"2"},swatch:{...ic.base,borderRadius:"l1"},swatchIndicator:{color:"white",rounded:"full"},channelSliderThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",transform:"translate(-50%, -50%)",focusVisibleRing:"outside",focusRingOffset:"1px"},channelInput:{...Gt.base,"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},formatSelect:{textStyle:"xs",textTransform:"uppercase",borderWidth:"1px",minH:"6",focusRing:"inside",rounded:"l2"},transparencyGrid:{borderRadius:"l2"},view:{display:"flex",flexDirection:"column",gap:"2"}},variants:{size:{"2xs":{channelInput:Gt.variants?.size?.["2xs"],swatch:{"--swatch-size":"sizes.4.5"},trigger:{"--input-height":"sizes.7"},area:{"--thumb-size":"sizes.3"},channelSlider:{"--slider-height":"sizes.3","--thumb-size":"sizes.3"}},xs:{channelInput:Gt.variants?.size?.xs,swatch:{"--swatch-size":"sizes.5"},trigger:{"--input-height":"sizes.8"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},sm:{channelInput:Gt.variants?.size?.sm,swatch:{"--swatch-size":"sizes.6"},trigger:{"--input-height":"sizes.9"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},md:{channelInput:Gt.variants?.size?.md,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.10"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},lg:{channelInput:Gt.variants?.size?.lg,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.11"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},xl:{channelInput:Gt.variants?.size?.xl,swatch:{"--swatch-size":"sizes.8"},trigger:{"--input-height":"sizes.12"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},"2xl":{channelInput:Gt.variants?.size?.["2xl"],swatch:{"--swatch-size":"sizes.10"},trigger:{"--input-height":"sizes.16"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}}},variant:{outline:{channelInput:Gt.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:Gt.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}});var ok=R({className:"chakra-combobox",slots:Sz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},control:{pos:"relative","--padding-factor":"1","--combobox-input-padding-end":"var(--combobox-input-padding-x)","&:has([data-part=trigger]), &:has([data-part=clear-trigger])":{"--combobox-input-padding-end":"calc(var(--combobox-input-height) * var(--padding-factor))"},"&:has([data-part=trigger]):has([data-part=clear-trigger]:not([hidden]))":{"--padding-factor":"1.5"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",ps:"var(--combobox-input-padding-x)",pe:"var(--combobox-input-padding-end)","--input-height":"var(--combobox-input-height)",borderRadius:"l2",outline:0,userSelect:"none",textAlign:"start",_placeholderShown:{color:"fg.muted"},_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center","--input-height":"var(--combobox-input-height)"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"},indicatorGroup:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--combobox-input-padding-x)",_icon:{boxSize:"var(--combobox-indicator-size)"},"[data-disabled] &":{opacity:.5}},content:{background:"bg.panel",display:"flex",flexDirection:"column","--combobox-z-index":"zIndex.popover",zIndex:"calc(var(--combobox-z-index) + var(--layer-index, 0))",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"0s"},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{boxSize:"var(--combobox-indicator-size)"}},empty:{py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{pb:"var(--combobox-item-padding-y)",_last:{pb:"0"}},itemGroupLabel:{fontWeight:"medium",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"}},variants:{variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},indicatorGroup:{px:"0"}}},size:{xs:{root:{"--combobox-input-height":"sizes.8","--combobox-input-padding-x":"spacing.2","--combobox-indicator-size":"sizes.3.5"},input:{textStyle:"xs"},content:{"--combobox-item-padding-x":"spacing.1.5","--combobox-item-padding-y":"spacing.1","--combobox-indicator-size":"sizes.3.5",p:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"}},sm:{root:{"--combobox-input-height":"sizes.9","--combobox-input-padding-x":"spacing.2.5","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"}},md:{root:{"--combobox-input-height":"sizes.10","--combobox-input-padding-x":"spacing.3","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{textStyle:"sm",gap:"2"}},lg:{root:{"--combobox-input-height":"sizes.12","--combobox-input-padding-x":"spacing.4","--combobox-indicator-size":"sizes.5"},input:{textStyle:"md"},content:{"--combobox-item-padding-y":"spacing.2","--combobox-item-padding-x":"spacing.3","--combobox-indicator-size":"sizes.5",p:"1.5",textStyle:"md"},trigger:{textStyle:"md",py:"3",gap:"2"}}}},defaultVariants:{size:"md",variant:"outline"}});var lk=R({slots:uz.keys(),className:"chakra-data-list",base:{itemLabel:{display:"flex",alignItems:"center",gap:"1"},itemValue:{display:"flex",minWidth:"0",flex:"1"}},variants:{orientation:{horizontal:{root:{display:"flex",flexDirection:"column"},item:{display:"inline-flex",alignItems:"center",gap:"4"},itemLabel:{minWidth:"120px"}},vertical:{root:{display:"flex",flexDirection:"column"},item:{display:"flex",flexDirection:"column",gap:"1"}}},size:{sm:{root:{gap:"3"},item:{textStyle:"xs"}},md:{root:{gap:"4"},item:{textStyle:"sm"}},lg:{root:{gap:"5"},item:{textStyle:"md"}}},variant:{subtle:{itemLabel:{color:"fg.muted"}},bold:{itemLabel:{fontWeight:"medium"},itemValue:{color:"fg.muted"}}}},defaultVariants:{size:"md",orientation:"vertical",variant:"subtle"}});var nk=T2({display:"inline-flex",alignItems:"center",justifyContent:"center",boxSize:"var(--datepicker-nav-trigger-size)",borderRadius:"l2",color:"fg",focusVisibleRing:"inside",focusRingWidth:"2px",_hover:{bg:"colorPalette.subtle"},_focusVisible:{boxShadow:"0 0 0 2px var(--colors-color-palette-focus-ring)"},_disabled:{opacity:.5},_icon:{boxSize:"4"}}),SO=`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")`,hk=T2({height:"var(--datepicker-select-height)",ps:"2",pe:"8",textStyle:"sm",borderWidth:"1px",borderRadius:"l2",outline:"none",focusVisibleRing:"inside",appearance:"none",fieldSizing:"content",backgroundImage:SO,backgroundRepeat:"no-repeat",backgroundPosition:"right 0.375rem center",backgroundSize:"1.25em"}),ck=R({className:"date-picker",slots:Mz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full","--datepicker-indicators-offset":"sizes.3",_disabled:{opacity:.5}},label:{textStyle:"sm",fontWeight:"medium"},indicatorGroup:{position:"absolute",insetEnd:"var(--datepicker-indicators-offset)",top:"50%",transform:"translateY(-50%)",display:"flex",alignItems:"center",justifyContent:"center",gap:"1"},control:{display:"flex",alignItems:"center",gap:"2",width:"full",position:"relative"},input:{flex:"1",minWidth:"0",height:"var(--datepicker-input-height)","--input-height":"var(--datepicker-input-height)",px:"var(--datepicker-input-px)",textStyle:"sm",bg:"transparent",borderRadius:"l2",outline:"0",appearance:"none",color:"fg","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"6",height:"6",borderRadius:"l1",color:"fg.muted",outline:"none",_hover:{color:"fg"},focusVisibleRing:"inside",focusRingWidth:"2px",_icon:{boxSize:"4"}},content:{display:"flex",flexDirection:"column",gap:"3",p:"3",minW:"18rem",bg:"bg.panel",borderRadius:"l2",boxShadow:"lg",color:"fg","--date-picker-z-index":"zIndex.popover",zIndex:"calc(var(--date-picker-z-index) + var(--layer-index, 0))",outline:"none",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},view:{display:"flex",flexDirection:"column",gap:"3"},viewControl:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"2",height:"var(--datepicker-nav-trigger-size)"},viewTrigger:{display:"inline-flex",flex:"1",alignItems:"center",justifyContent:"center",gap:"1",py:"1.5",px:"2",textStyle:"sm",fontWeight:"semibold",borderRadius:"l2",focusVisibleRing:"inside",focusRingWidth:"2px",_hover:{bg:"colorPalette.subtle"}},prevTrigger:nk,nextTrigger:nk,rangeText:{textStyle:"sm",fontWeight:"semibold"},table:{borderCollapse:"separate",borderSpacing:"0"},tableHeader:{width:"var(--table-cell-size)",py:"2",textStyle:"xs",fontWeight:"medium",color:"fg.muted",textAlign:"center",textTransform:"uppercase","&[data-type='week-number']":{color:"fg.subtle"}},tableCell:{py:"0.5","&[data-type='week-number']":{color:"fg.subtle"}},tableCellTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",minWidth:"var(--table-cell-size)",minHeight:"var(--table-cell-size)",textStyle:"sm",borderRadius:"l2",focusVisibleRing:"inside",focusRingWidth:"2px",focusRingOffset:"0px",cursor:"default",position:"relative",_hover:{bg:"colorPalette.subtle"},"[data-view=month] &, [data-view=year] &":{width:"calc(var(--table-cell-size) * 1.75)"},_today:{color:"colorPalette.fg",fontWeight:"semibold",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationThickness:"2px"},"&[data-selected]":{bg:"colorPalette.solid",color:"colorPalette.contrast",_hover:{bg:"colorPalette.solid"}},"&[data-in-range]":{bg:"colorPalette.subtle",color:"colorPalette.fg",borderRadius:"0",_hover:{bg:"colorPalette.subtle"}},"&[data-in-range][data-selected]":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderRadius:"0",_hover:{bg:"colorPalette.solid"},"&[data-range-start][data-range-end]":{borderRadius:"l2"},"&[data-range-start]:not([data-range-end])":{borderStartRadius:"l2",borderEndRadius:"0"},"&[data-range-end]:not([data-range-start])":{borderEndRadius:"l2",borderStartRadius:"0"}},_disabled:{opacity:.4}},monthSelect:hk,yearSelect:hk,clearTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"6",height:"6",flexShrink:0,textStyle:"xs",borderRadius:"l2",color:"fg.muted",_hover:{color:"fg"},focusVisibleRing:"inside",_icon:{width:"4",height:"4"}}},variants:{size:{xs:{root:{"--datepicker-input-height":"sizes.8","--datepicker-input-px":"sizes.2","--datepicker-indicators-offset":"sizes.2"},view:{"--table-cell-size":"sizes.8","--datepicker-nav-trigger-size":"sizes.7","--datepicker-select-height":"sizes.8"}},sm:{root:{"--datepicker-input-height":"sizes.9","--datepicker-input-px":"sizes.2.5","--datepicker-indicators-offset":"sizes.2.5"},view:{"--table-cell-size":"sizes.9","--datepicker-nav-trigger-size":"sizes.8","--datepicker-select-height":"sizes.9"}},md:{root:{"--datepicker-input-height":"sizes.10","--datepicker-input-px":"sizes.3"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.8","--datepicker-select-height":"sizes.10"}},lg:{root:{"--datepicker-input-height":"sizes.11","--datepicker-input-px":"sizes.4"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.9","--datepicker-select-height":"sizes.10"}},xl:{root:{"--datepicker-input-height":"sizes.12","--datepicker-input-px":"sizes.4.5"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.9","--datepicker-select-height":"sizes.10"}}},hideOutsideDays:{true:{tableCellTrigger:{"&[data-outside-range]":{visibility:"hidden"}}}},variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}},indicatorGroup:{insetEnd:"0"}}}},defaultVariants:{size:"md",variant:"outline"}});var dk=R({slots:fz.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh","--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0) - 1)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100dvw",height:"100dvh",position:"fixed",left:0,top:0,"--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",justifyContent:"center",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,borderRadius:"l3",textStyle:"sm",my:"var(--dialog-margin, var(--dialog-base-margin))","--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"moderate"},_closed:{animationDuration:"faster"}},header:{display:"flex",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{flex:"1",px:"6",pt:"2",pb:"6"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"2",insetEnd:"2"}},variants:{placement:{center:{positioner:{alignItems:"center"},content:{"--dialog-base-margin":"auto",mx:"auto"}},top:{positioner:{alignItems:"flex-start"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}},bottom:{positioner:{alignItems:"flex-end"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}}},scrollBehavior:{inside:{positioner:{overflow:"hidden"},content:{maxH:"calc(100% - 7.5rem)"},body:{overflow:"auto"}},outside:{positioner:{overflow:"auto",pointerEvents:"auto"}}},size:{xs:{content:{maxW:"sm"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},cover:{positioner:{padding:"10"},content:{width:"100%",height:"100%","--dialog-margin":"0"}},full:{content:{maxW:"100dvw",minH:"100dvh","--dialog-margin":"0",borderRadius:"0"}}},motionPreset:{scale:{content:{_open:{animationName:"scale-in, fade-in"},_closed:{animationName:"scale-out, fade-out"}}},"slide-in-bottom":{content:{_open:{animationName:"slide-from-bottom, fade-in"},_closed:{animationName:"slide-to-bottom, fade-out"}}},"slide-in-top":{content:{_open:{animationName:"slide-from-top, fade-in"},_closed:{animationName:"slide-to-top, fade-out"}}},"slide-in-left":{content:{_open:{animationName:"slide-from-left, fade-in"},_closed:{animationName:"slide-to-left, fade-out"}}},"slide-in-right":{content:{_open:{animationName:"slide-from-right, fade-in"},_closed:{animationName:"slide-to-right, fade-out"}}},none:{}}},defaultVariants:{size:"md",scrollBehavior:"outside",placement:"top",motionPreset:"scale"}});var sk=R({slots:mz.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh","--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0) - 1)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",insetInlineStart:0,top:0,"--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0))",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,"--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0))",textStyle:"sm",maxH:"100dvh",color:"inherit",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"slowest",animationTimingFunction:"ease-in-smooth"},_closed:{animationDuration:"slower",animationTimingFunction:"ease-in-smooth"}},header:{display:"flex",alignItems:"center",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{px:"6",py:"2",flex:"1",overflow:"auto"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{flex:"1",textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"3",insetEnd:"2"}},variants:{size:{xs:{content:{maxW:"xs"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},full:{content:{maxW:"100vw",h:"100dvh"}}},placement:{start:{positioner:{justifyContent:"flex-start",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-left-full, fade-in",_rtl:"slide-from-right-full, fade-in"}},_closed:{animationName:{base:"slide-to-left-full, fade-out",_rtl:"slide-to-right-full, fade-out"}}}},end:{positioner:{justifyContent:"flex-end",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-right-full, fade-in",_rtl:"slide-from-left-full, fade-in"}},_closed:{animationName:{base:"slide-to-right-full, fade-out",_rtl:"slide-to-left-full, fade-out"}}}},top:{positioner:{justifyContent:"stretch",alignItems:"flex-start"},content:{maxW:"100%",_open:{animationName:"slide-from-top-full, fade-in"},_closed:{animationName:"slide-to-top-full, fade-out"}}},bottom:{positioner:{justifyContent:"stretch",alignItems:"flex-end"},content:{maxW:"100%",_open:{animationName:"slide-from-bottom-full, fade-in"},_closed:{animationName:"slide-to-bottom-full, fade-out"}}}},contained:{true:{positioner:{padding:"4"},content:{borderRadius:"l3"}}}},defaultVariants:{size:"xs",placement:"end"}});var pk=T2({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),gk=R({slots:xz.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...pk,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...pk,outline:"0",py:"1",px:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",focusVisibleRing:"inside",focusRingWidth:"2px",_placeholder:{opacity:.6}},control:{display:"inline-flex",alignItems:"center",gap:"1.5"}},variants:{size:{sm:{root:{textStyle:"sm"},preview:{minH:"8"},input:{minH:"8"}},md:{root:{textStyle:"sm"},preview:{minH:"9"},input:{minH:"9"}},lg:{root:{textStyle:"md"},preview:{minH:"10"},input:{minH:"10"}}}},defaultVariants:{size:"md"}});var vk=R({slots:zz.keys(),className:"chakra-empty-state",base:{root:{width:"full"},content:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",_icon:{boxSize:"1em"}},title:{fontWeight:"semibold"},description:{textStyle:"sm",color:"fg.muted"}},variants:{size:{sm:{root:{px:"4",py:"6"},title:{textStyle:"md"},content:{gap:"4"},indicator:{textStyle:"2xl"}},md:{root:{px:"8",py:"12"},title:{textStyle:"lg"},content:{gap:"6"},indicator:{textStyle:"4xl"}},lg:{root:{px:"12",py:"16"},title:{textStyle:"xl"},content:{gap:"8"},indicator:{textStyle:"6xl"}}}},defaultVariants:{size:"md"}});var uk=R({className:"chakra-field",slots:kz.keys(),base:{requiredIndicator:{color:"fg.error",lineHeight:"1"},root:{display:"flex",width:"100%",position:"relative",gap:"1.5"},label:{display:"flex",alignItems:"center",textAlign:"start",textStyle:"sm",fontWeight:"medium",gap:"1",userSelect:"none",_disabled:{opacity:"0.5"}},errorText:{display:"inline-flex",alignItems:"center",fontWeight:"medium",gap:"1",color:"fg.error",textStyle:"xs"},helperText:{color:"fg.muted",textStyle:"xs"}},variants:{orientation:{vertical:{root:{flexDirection:"column",alignItems:"flex-start"}},horizontal:{root:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},label:{flex:"0 0 var(--field-label-width, 80px)"}}}},defaultVariants:{orientation:"vertical"}});var Mk=R({className:"fieldset",slots:Lz.keys(),base:{root:{display:"flex",flexDirection:"column",width:"full"},content:{display:"flex",flexDirection:"column",width:"full"},legend:{color:"fg",fontWeight:"medium",_disabled:{opacity:"0.5"}},helperText:{color:"fg.muted",textStyle:"sm"},errorText:{display:"inline-flex",alignItems:"center",color:"fg.error",gap:"2",fontWeight:"medium",textStyle:"sm"}},variants:{size:{sm:{root:{spaceY:"2"},content:{gap:"1.5"},legend:{textStyle:"sm"}},md:{root:{spaceY:"4"},content:{gap:"4"},legend:{textStyle:"sm"}},lg:{root:{spaceY:"6"},content:{gap:"4"},legend:{textStyle:"md"}}}},defaultVariants:{size:"md"}});var fk=R({className:"chakra-file-upload",slots:wz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"4",width:"100%",alignItems:"flex-start"},label:{fontWeight:"medium",textStyle:"sm"},dropzone:{background:"bg",borderRadius:"l3",borderWidth:"2px",borderStyle:"dashed",display:"flex",alignItems:"center",flexDirection:"column",gap:"4",justifyContent:"center",minHeight:"2xs",px:"3",py:"2",transition:"backgrounds",focusVisibleRing:"outside",_hover:{bg:"bg.subtle"},_dragging:{bg:"colorPalette.subtle",borderStyle:"solid",borderColor:"colorPalette.solid"}},dropzoneContent:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:"1",textStyle:"sm"},item:{pos:"relative",textStyle:"sm",animationName:"fade-in",animationDuration:"moderate",background:"bg",borderRadius:"l2",borderWidth:"1px",width:"100%",display:"flex",alignItems:"center",gap:"3",p:"4"},itemGroup:{width:"100%",display:"flex",flexDirection:"column",gap:"3",_empty:{display:"none"}},itemName:{color:"fg",fontWeight:"medium",lineClamp:"1"},itemContent:{display:"flex",flexDirection:"column",gap:"0.5",flex:"1"},itemSizeText:{color:"fg.muted",textStyle:"xs"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",boxSize:"5",p:"2px",color:"fg.muted",cursor:"button"},itemPreview:{color:"fg.muted",_icon:{boxSize:"4.5"}}},defaultVariants:{}});var mk=R({slots:gi.keys(),className:"chakra-floating-panel",base:{positioner:{"--floating-panel-z-index":"zIndex.popover",zIndex:"calc(var(--floating-panel-z-index) + var(--layer-index, 0))","&:has([data-topmost])":{"--layer-index":"100"},"&:has([data-behind])":{"--layer-index":"-100"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l2",boxShadow:"lg",overflow:"hidden",outline:0,position:"relative",_open:{animationName:"scale-in, fade-in",animationDuration:"moderate"}},dragTrigger:{flex:"1",display:"flex",alignItems:"center",gap:"2",minW:"0"},header:{display:"flex",alignItems:"center",gap:"2",px:"3",py:"2",borderBottomWidth:"1px",bg:"bg.subtle",flex:"none"},title:{fontWeight:"semibold",textStyle:"sm",flex:"1",truncate:!0},body:{flex:"1",overflow:"auto",p:"3",textStyle:"sm"},resizeTrigger:{zIndex:"1","--size":"sizes.2.5",'&[data-axis="n"], &[data-axis="s"]':{h:"var(--size)"},'&[data-axis="e"], &[data-axis="w"]':{w:"var(--size)"},'&[data-axis]:is([data-axis="ne"], [data-axis="nw"], [data-axis="se"], [data-axis="sw"])':{w:"var(--size)",h:"var(--size)"}}}});var xk=R({className:"chakra-hover-card",slots:vi.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--hovercard-bg":"colors.bg.panel",bg:"var(--hovercard-bg)",boxShadow:"lg",maxWidth:"80",borderRadius:"l3","--hover-card-z-index":"zIndex.popover",zIndex:"calc(var(--hover-card-z-index) + var(--layer-index, 0))",transformOrigin:"var(--transform-origin)",outline:"0",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--hovercard-bg)"},arrowTip:{borderTopWidth:"0.5px",borderLeftWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}});var zk=R({className:"chakra-list",slots:bz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"var(--list-gap)","& :where(ul, ol)":{marginTop:"var(--list-gap)"}},item:{whiteSpace:"normal",display:"list-item"},indicator:{marginEnd:"2",minHeight:"1lh",flexShrink:0,display:"inline-block",verticalAlign:"middle"}},variants:{variant:{marker:{root:{listStyle:"revert"},item:{_marker:{color:"fg.subtle"}}},plain:{item:{alignItems:"flex-start",display:"inline-flex"}}},align:{center:{item:{alignItems:"center"}},start:{item:{alignItems:"flex-start"}},end:{item:{alignItems:"flex-end"}}}},defaultVariants:{variant:"marker"}});var kk=R({className:"chakra-listbox",slots:Gz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},content:{display:"flex",maxH:"96",p:"1",gap:"1",textStyle:"sm",outline:"none",scrollPadding:"1",_horizontal:{flexDirection:"row",overflowX:"auto"},_vertical:{flexDirection:"column",overflowY:"auto"},"--listbox-item-padding-x":"spacing.2","--listbox-item-padding-y":"spacing.1.5"},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"pointer",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)",_highlighted:{outline:"2px solid",outlineColor:"border.emphasized"},_disabled:{pointerEvents:"none",opacity:"0.5"}},empty:{py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{mt:"1.5",_first:{mt:"0"}},itemGroupLabel:{py:"1.5",px:"2",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"4"}}},variants:{variant:{subtle:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_hover:{bg:"bg.emphasized/60"},_selected:{bg:"bg.muted"}}},solid:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_selected:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}},plain:{}}},defaultVariants:{variant:"subtle"}});var Lk=R({className:"chakra-marquee",slots:ui.keys(),base:{root:{position:"relative",width:"100%","--marquee-edge-color":"colors.bg","--marquee-edge-size":"20%","&[data-paused]":{animationPlayState:"paused !important","& *":{animationPlayState:"paused !important"}}},viewport:{overflow:"hidden",display:"flex",width:"100%",height:"100%"},content:{display:"flex",minWidth:"max-content",animationTimingFunction:"linear",animationFillMode:"forwards",animationDuration:"var(--marquee-duration)",animationDelay:"var(--marquee-delay)",animationIterationCount:"var(--marquee-loop-count)",_motionReduce:{animation:"none !important"},"&[data-side='start'], &[data-side='end']":{animationName:"marqueeX"},"&[data-side='top'], &[data-side='bottom']":{animationName:"marqueeY"},"&[data-reverse]":{animationDirection:"reverse"},"&[data-orientation='horizontal']":{flexDirection:"row"},"&[data-orientation='vertical']":{flexDirection:"column"}},edge:{position:"absolute",zIndex:"1",pointerEvents:"none","&[data-side='start']":{width:"var(--marquee-edge-size)",insetY:"0",insetInlineStart:"0",background:"linear-gradient(to right, var(--marquee-edge-color, white), transparent)",_rtl:{background:"linear-gradient(to left, var(--marquee-edge-color, white), transparent)"}},"&[data-side='end']":{width:"var(--marquee-edge-size)",insetY:"0",insetInlineEnd:"0",background:"linear-gradient(to left, var(--marquee-edge-color, white), transparent)",_rtl:{background:"linear-gradient(to right, var(--marquee-edge-color, white), transparent)"}},"&[data-side='top']":{height:"var(--marquee-edge-size)",insetX:"0",top:"0",background:"linear-gradient(to bottom, var(--marquee-edge-color, white), transparent)"},"&[data-side='bottom']":{height:"var(--marquee-edge-size)",insetX:"0",bottom:"0",background:"linear-gradient(to top, var(--marquee-edge-color, white), transparent)"}}}});var wk=R({className:"chakra-menu",slots:Hz.keys(),base:{content:{outline:0,"--menu-bg":"colors.bg.panel",bg:"var(--menu-bg)",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.popover",zIndex:"calc(var(--menu-z-index) + var(--layer-index, 0))",borderRadius:"l2",overflow:"hidden",overflowY:"auto",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},item:{textDecoration:"none",color:"fg",userSelect:"none",borderRadius:"l1",width:"100%",display:"flex",cursor:"menuitem",alignItems:"center",textAlign:"start",position:"relative",flex:"0 0 auto",outline:0,_disabled:{layerStyle:"disabled"},"&[data-type]":{ps:"8"}},itemText:{flex:"1"},itemIndicator:{position:"absolute",insetStart:"2",transform:"translateY(-50%)",top:"50%"},itemGroupLabel:{px:"2",py:"1.5",fontWeight:"semibold",textStyle:"sm"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},itemCommand:{opacity:"0.6",textStyle:"xs",ms:"auto",ps:"4",letterSpacing:"widest",fontFamily:"inherit"},separator:{height:"1px",bg:"bg.muted",my:"1",mx:"-1"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--menu-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px"}},variants:{variant:{subtle:{item:{_highlighted:{bg:"bg.emphasized/60"}}},solid:{item:{_highlighted:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}}},size:{sm:{content:{minW:"8rem",padding:"1",scrollPadding:"1"},item:{gap:"1",textStyle:"xs",py:"1",px:"1.5"}},md:{content:{minW:"8rem",padding:"1.5",scrollPadding:"1.5"},item:{gap:"2",textStyle:"sm",py:"1.5",px:"2"}}}},defaultVariants:{size:"md",variant:"subtle"}});var Sr=R({className:"chakra-select",slots:yz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",minH:"var(--select-trigger-height)","--input-height":"var(--select-trigger-height)",px:"var(--select-trigger-padding-x)",borderRadius:"l2",userSelect:"none",textAlign:"start",focusVisibleRing:"inside",_placeholderShown:{color:"fg.muted/80"},_disabled:{layerStyle:"disabled"},_invalid:{borderColor:"border.error"}},indicatorGroup:{display:"flex",alignItems:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--select-trigger-padding-x)",pointerEvents:"none"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:{base:"fg.muted",_disabled:"fg.subtle",_invalid:"fg.error"}},content:{background:"bg.panel",display:"flex",flexDirection:"column","--select-z-index":"zIndex.popover",zIndex:"calc(var(--select-z-index) + var(--layer-index, 0))",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"fastest"}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{width:"4",height:"4"}},control:{pos:"relative"},itemText:{flex:"1"},itemGroup:{_first:{mt:"0"}},itemGroupLabel:{py:"1",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"}},variants:{variant:{outline:{trigger:{bg:"transparent",borderWidth:"1px",borderColor:"border",_expanded:{borderColor:"border.emphasized"}}},subtle:{trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}},ghost:{trigger:{bg:"transparent",_expanded:{bg:"bg.muted"}}}},size:{xs:{root:{"--select-trigger-height":"sizes.8","--select-trigger-padding-x":"spacing.2"},content:{p:"1",gap:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"},item:{py:"1",px:"2"},itemGroupLabel:{py:"1",px:"2"},indicator:{_icon:{width:"3.5",height:"3.5"}}},sm:{root:{"--select-trigger-height":"sizes.9","--select-trigger-padding-x":"spacing.2.5"},content:{p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"},indicator:{_icon:{width:"4",height:"4"}},item:{py:"1",px:"1.5"},itemGroup:{mt:"1"},itemGroupLabel:{py:"1",px:"1.5"}},md:{root:{"--select-trigger-height":"sizes.10","--select-trigger-padding-x":"spacing.3"},content:{p:"1",textStyle:"sm"},itemGroup:{mt:"1.5"},item:{py:"1.5",px:"2"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},itemGroupLabel:{py:"1.5",px:"2"},trigger:{textStyle:"sm",gap:"2"},indicator:{_icon:{width:"4",height:"4"}}},lg:{root:{"--select-trigger-height":"sizes.12","--select-trigger-padding-x":"spacing.4"},content:{p:"1.5",textStyle:"md"},itemGroup:{mt:"2"},item:{py:"2",px:"3"},itemGroupLabel:{py:"2",px:"3"},trigger:{textStyle:"md",py:"3",gap:"2"},indicator:{_icon:{width:"5",height:"5"}}}}},defaultVariants:{size:"md",variant:"outline"}});var bk=R({className:"chakra-native-select",slots:Cz.keys(),base:{root:{height:"fit-content",display:"flex",width:"100%",position:"relative"},field:{width:"100%",minWidth:"0",outline:"0",appearance:"none",borderRadius:"l2","--error-color":"colors.border.error","--input-height":"var(--select-field-height)",height:"var(--select-field-height)",_disabled:{layerStyle:"disabled"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"},focusVisibleRing:"inside",lineHeight:"normal","& > option, & > optgroup":{bg:"bg"}},indicator:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)",height:"100%",color:"fg.muted",_disabled:{opacity:"0.5"},_invalid:{color:"fg.error"},_icon:{width:"1em",height:"1em"}}},variants:{variant:{outline:{field:Sr.variants?.variant.outline.trigger},subtle:{field:Sr.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}},ghost:{field:Sr.variants?.variant.ghost.trigger}},size:{xs:{root:{"--select-field-height":"sizes.8"},field:{textStyle:"xs",ps:"2",pe:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{root:{"--select-field-height":"sizes.9"},field:{textStyle:"sm",ps:"2.5",pe:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{root:{"--select-field-height":"sizes.10"},field:{textStyle:"sm",ps:"3",pe:"8"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{root:{"--select-field-height":"sizes.11"},field:{textStyle:"md",ps:"4",pe:"8"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{root:{"--select-field-height":"sizes.12"},field:{textStyle:"md",ps:"4.5",pe:"10"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:Sr.defaultVariants});var Hk=T2({display:"flex",justifyContent:"center",alignItems:"center",flex:"1",userSelect:"none",cursor:"button",lineHeight:"1",color:"fg.muted","--stepper-base-radius":"radii.l1","--stepper-radius":"calc(var(--stepper-base-radius) + 1px)",_icon:{boxSize:"1em"},_disabled:{opacity:"0.5"},_hover:{bg:"bg.muted"},_active:{bg:"bg.emphasized"}}),Ck=R({className:"chakra-number-input",slots:fi.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...Gt.base,verticalAlign:"top",pe:"calc(var(--stepper-width) + 0.5rem)"},control:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",width:"var(--stepper-width)",height:"calc(100% - 2px)",zIndex:"1",borderStartWidth:"1px",divideY:"1px"},incrementTrigger:{...Hk,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...Hk,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:Gt.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:Gt.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:Gt.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:Gt.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:x1(Gt.variants.variant,(t,a)=>[t,{input:a}])},defaultVariants:{size:"md",variant:"outline"}});var{variants:Bk,defaultVariants:WO}=Gt,Vk=R({className:"chakra-pin-input",slots:mi.keys(),base:{input:{...Gt.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:x1(Bk.size,(t,a)=>[t,{input:{...a,px:"1"}}]),variant:x1(Bk.variant,(t,a)=>[t,{input:a}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:WO});var Tk=R({className:"chakra-popover",slots:Bz.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--popover-bg":"colors.bg.panel",bg:"var(--popover-bg)",boxShadow:"lg","--popover-size":"sizes.xs","--popover-mobile-size":"calc(100dvw - 1rem)",width:{base:"min(var(--popover-mobile-size), var(--popover-size))",sm:"var(--popover-size)"},borderRadius:"l3","--popover-z-index":"zIndex.popover",zIndex:"calc(var(--popover-z-index) + var(--layer-index, 0))",outline:"0",transformOrigin:"var(--transform-origin)",maxHeight:"var(--available-height)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},header:{paddingInline:"var(--popover-padding)",paddingTop:"var(--popover-padding)"},body:{padding:"var(--popover-padding)",flex:"1"},footer:{display:"flex",alignItems:"center",paddingInline:"var(--popover-padding)",paddingBottom:"var(--popover-padding)"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--popover-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px"}},variants:{size:{xs:{content:{"--popover-padding":"spacing.3"}},sm:{content:{"--popover-padding":"spacing.4"}},md:{content:{"--popover-padding":"spacing.5"}},lg:{content:{"--popover-padding":"spacing.6"}}}},defaultVariants:{size:"md"}});var yk=R({slots:Ia.keys(),className:"chakra-progress",base:{root:{textStyle:"sm",position:"relative"},track:{overflow:"hidden",position:"relative"},range:{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"width, height",transitionDuration:"slow",height:"100%",bgColor:"var(--track-color)",_indeterminate:{"--animate-from-x":"-40%","--animate-to-x":"100%",position:"absolute",willChange:"left",minWidth:"50%",animation:"position 1s ease infinite normal none running",backgroundImage:"linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)"}},label:{display:"inline-flex",fontWeight:"medium",alignItems:"center",gap:"1"},valueText:{textStyle:"xs",lineHeight:"1",fontWeight:"medium"}},variants:{variant:{outline:{track:{shadow:"inset",bgColor:"bg.muted"},range:{bgColor:"colorPalette.solid"}},subtle:{track:{bgColor:"colorPalette.muted"},range:{bgColor:"colorPalette.solid/72"}}},shape:{square:{},rounded:{track:{borderRadius:"l1"}},full:{track:{borderRadius:"full"}}},striped:{true:{range:{backgroundImage:"linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)",backgroundSize:"var(--stripe-size) var(--stripe-size)","--stripe-size":"1rem","--stripe-color":{_light:"rgba(255, 255, 255, 0.3)",_dark:"rgba(0, 0, 0, 0.3)"}}}},animated:{true:{range:{"--animate-from":"var(--stripe-size)",animation:"bg-position 1s linear infinite"}}},size:{xs:{track:{h:"1.5"}},sm:{track:{h:"2"}},md:{track:{h:"2.5"}},lg:{track:{h:"3"}},xl:{track:{h:"4"}}}},defaultVariants:{variant:"outline",size:"md",shape:"rounded"}});var Sk=R({className:"chakra-progress-circle",slots:Ia.keys(),base:{root:{display:"inline-flex",textStyle:"sm",position:"relative"},circle:{_indeterminate:{animation:"spin 2s linear infinite"}},circleTrack:{"--track-color":"colors.colorPalette.muted",stroke:"var(--track-color)"},circleRange:{stroke:"colorPalette.solid",transitionProperty:"stroke-dashoffset, stroke-dasharray",transitionDuration:"0.6s",_indeterminate:{animation:"circular-progress 1.5s linear infinite"}},label:{display:"inline-flex"},valueText:{lineHeight:"1",fontWeight:"medium",letterSpacing:"tight",fontVariantNumeric:"tabular-nums"}},variants:{size:{xs:{circle:{"--size":"24px","--thickness":"4px"},valueText:{textStyle:"2xs"}},sm:{circle:{"--size":"32px","--thickness":"5px"},valueText:{textStyle:"2xs"}},md:{circle:{"--size":"40px","--thickness":"6px"},valueText:{textStyle:"xs"}},lg:{circle:{"--size":"48px","--thickness":"7px"},valueText:{textStyle:"sm"}},xl:{circle:{"--size":"64px","--thickness":"8px"},valueText:{textStyle:"sm"}}}},defaultVariants:{size:"md"}});var Wk=R({slots:zi.keys(),className:"chakra-qr-code",base:{root:{position:"relative",width:"fit-content","--qr-code-overlay-size":"calc(var(--qr-code-size) / 3)"},frame:{width:"var(--qr-code-size)",height:"var(--qr-code-size)",fill:"currentColor"},overlay:{display:"flex",alignItems:"center",justifyContent:"center",width:"var(--qr-code-overlay-size)",height:"var(--qr-code-overlay-size)",padding:"1",bg:"bg",rounded:"l1"}},variants:{size:{"2xs":{root:{"--qr-code-size":"40px"}},xs:{root:{"--qr-code-size":"64px"}},sm:{root:{"--qr-code-size":"80px"}},md:{root:{"--qr-code-size":"120px"}},lg:{root:{"--qr-code-size":"160px"}},xl:{root:{"--qr-code-size":"200px"}},"2xl":{root:{"--qr-code-size":"240px"}},full:{root:{"--qr-code-size":"100%"}}}},defaultVariants:{size:"md"}});var jk=R({className:"chakra-radio-card",slots:Vz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",isolation:"isolate"},item:{flex:"1",display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",_focus:{bg:"colorPalette.muted/20"},_disabled:{opacity:"0.5"},_checked:{zIndex:"1"}},label:{display:"inline-flex",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},itemText:{fontWeight:"medium",flex:"1"},itemDescription:{opacity:"0.64",textStyle:"sm"},itemControl:{display:"inline-flex",flex:"1",pos:"relative",rounded:"inherit",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)",_disabled:{bg:"bg.muted"}},itemIndicator:v1.base,itemAddon:{roundedBottom:"inherit",_disabled:{color:"fg.muted"}},itemContent:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)"}},variants:{size:{sm:{item:{textStyle:"sm"},itemControl:{padding:"3",gap:"1.5"},itemAddon:{px:"3",py:"1.5",borderTopWidth:"1px"},itemIndicator:v1.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:v1.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:v1.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:v1.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:v1.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"inset 0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:v1.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemControl:{_disabled:{bg:"unset"}},itemIndicator:v1.variants?.variant.inverted}},justify:{start:{item:{"--radio-card-justify":"flex-start"}},end:{item:{"--radio-card-justify":"flex-end"}},center:{item:{"--radio-card-justify":"center"}}},align:{start:{item:{"--radio-card-align":"flex-start"},itemControl:{textAlign:"start"}},end:{item:{"--radio-card-align":"flex-end"},itemControl:{textAlign:"end"}},center:{item:{"--radio-card-align":"center"},itemControl:{textAlign:"center"}}},orientation:{vertical:{itemControl:{flexDirection:"column"}},horizontal:{itemControl:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}});var Ok=R({className:"chakra-radio-group",slots:_6.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:v1.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:v1.variants?.variant?.outline},subtle:{itemControl:v1.variants?.variant?.subtle},solid:{itemControl:v1.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:v1.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:v1.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:v1.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:v1.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}});var Ak=R({className:"chakra-rating-group",slots:Tz.keys(),base:{root:{display:"inline-flex"},control:{display:"inline-flex",alignItems:"center"},item:{display:"inline-flex",alignItems:"center",justifyContent:"center",userSelect:"none"},itemIndicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"1em",height:"1em",position:"relative","--clip-path":{base:"inset(0 50% 0 0)",_rtl:"inset(0 0 0 50%)"},_icon:{stroke:"currentColor",width:"100%",height:"100%",display:"inline-block",flexShrink:0,position:"absolute",left:0,top:0},"& [data-bg]":{color:"bg.emphasized"},"& [data-fg]":{color:"transparent"},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:"colorPalette.solid"}},"&[data-half]":{"& [data-fg]":{color:"colorPalette.solid",clipPath:"var(--clip-path)"}}}},variants:{size:{xs:{item:{textStyle:"sm"}},sm:{item:{textStyle:"md"}},md:{item:{textStyle:"xl"}},lg:{item:{textStyle:"2xl"}}}},defaultVariants:{size:"md"}});var Pk=R({className:"chakra-scroll-area",slots:Li.keys(),base:{root:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",overflow:"hidden","--scrollbar-margin":"2px","--scrollbar-click-area":"calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))"},viewport:{display:"flex",flexDirection:"column",height:"100%",width:"100%",borderRadius:"inherit",WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},content:{minWidth:"100%"},scrollbar:{display:"flex",userSelect:"none",touchAction:"none",borderRadius:"full",colorPalette:"gray",transition:"opacity 150ms 300ms",position:"relative",margin:"var(--scrollbar-margin)","&:not([data-overflow-x], [data-overflow-y])":{display:"none"},bg:"{colors.colorPalette.solid/10}","--thumb-bg":"{colors.colorPalette.solid/25}","&:is(:hover, :active)":{"--thumb-bg":"{colors.colorPalette.solid/50}"},_before:{content:'""',position:"absolute"},_vertical:{width:"var(--scrollbar-size)",flexDirection:"column","&::before":{width:"var(--scrollbar-click-area)",height:"100%",insetInlineStart:"calc(var(--scrollbar-margin) * -1)"}},_horizontal:{height:"var(--scrollbar-size)",flexDirection:"row","&::before":{height:"var(--scrollbar-click-area)",width:"100%",top:"calc(var(--scrollbar-margin) * -1)"}}},thumb:{borderRadius:"inherit",bg:"var(--thumb-bg)",transition:"backgrounds",_vertical:{width:"full"},_horizontal:{height:"full"}},corner:{bg:"bg.muted",margin:"var(--scrollbar-margin)",opacity:0,transition:"opacity 150ms 300ms","&[data-hover]":{transitionDelay:"0ms",opacity:1}}},variants:{variant:{hover:{scrollbar:{opacity:"0","&[data-hover], &[data-scrolling]":{opacity:"1",transitionDuration:"faster",transitionDelay:"0ms"}}},always:{scrollbar:{opacity:"1"}}},size:{xs:{root:{"--scrollbar-size":"sizes.1"}},sm:{root:{"--scrollbar-size":"sizes.1.5"}},md:{root:{"--scrollbar-size":"sizes.2"}},lg:{root:{"--scrollbar-size":"sizes.3"}}}},defaultVariants:{size:"md",variant:"hover"}});var Ek=R({className:"chakra-segment-group",slots:Fh.keys(),base:{root:{"--segment-radius":"radii.l2","--segment-indicator-bg":{_light:"colors.bg",_dark:"colors.bg.emphasized"},"--segment-indicator-shadow":"shadows.sm",borderRadius:"var(--segment-radius)",display:"inline-flex",boxShadow:"inset",minW:"max-content",textAlign:"center",position:"relative",isolation:"isolate",bg:"bg.muted",_vertical:{flexDirection:"column"}},item:{display:"flex",alignItems:"center",justifyContent:"center",userSelect:"none",fontSize:"sm",position:"relative",color:"fg",borderRadius:"var(--segment-radius)",_disabled:{opacity:"0.5"},"&:has(input:focus-visible)":{focusRing:"outside"},_before:{content:'""',position:"absolute",bg:"border",transition:"opacity 0.2s"},_horizontal:{_before:{insetInlineStart:0,insetBlock:"1.5",width:"1px"}},_vertical:{_before:{insetBlockStart:0,insetInline:"1.5",height:"1px"}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:"0"}},"&[data-state=checked][data-ssr]":{shadow:"sm",bg:"bg",borderRadius:"var(--segment-radius)"}},indicator:{shadow:"var(--segment-indicator-shadow)",pos:"absolute",bg:"var(--segment-indicator-bg)",width:"var(--width)",height:"var(--height)",top:"var(--top)",left:"var(--left)",zIndex:-1,borderRadius:"var(--segment-radius)"}},variants:{size:{xs:{item:{textStyle:"xs",px:"3",gap:"1",height:"6"}},sm:{item:{textStyle:"sm",px:"4",gap:"2",height:"8"}},md:{item:{textStyle:"sm",px:"4",gap:"2",height:"10"}},lg:{item:{textStyle:"md",px:"4.5",gap:"3",height:"11"}}}},defaultVariants:{size:"md"}});var Rk=R({className:"chakra-slider",slots:Wz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",textStyle:"sm",position:"relative",isolation:"isolate",touchAction:"none"},label:{fontWeight:"medium",textStyle:"sm"},control:{display:"inline-flex",alignItems:"center",position:"relative"},track:{overflow:"hidden",borderRadius:"full",flex:"1"},range:{width:"inherit",height:"inherit",_disabled:{bg:"border.emphasized!"}},markerGroup:{position:"absolute!",zIndex:"1"},marker:{"--marker-bg":{base:"white",_underValue:"colors.bg"},display:"flex",alignItems:"center",gap:"calc(var(--slider-thumb-size) / 2)",color:"fg.muted",textStyle:"xs"},markerIndicator:{width:"var(--slider-marker-size)",height:"var(--slider-marker-size)",borderRadius:"full",bg:"var(--marker-bg)"},thumb:{width:"var(--slider-thumb-size)",height:"var(--slider-thumb-size)",display:"flex",alignItems:"center",justifyContent:"center",outline:0,zIndex:"2",borderRadius:"full",transition:"shadow",_focusVisible:{ring:"3px",ringColor:"colorPalette.focusRing/50"}}},variants:{size:{sm:{root:{"--slider-thumb-size":"sizes.4","--slider-track-size":"sizes.1.5","--slider-marker-center":"6px","--slider-marker-size":"sizes.1","--slider-marker-inset":"3px"}},md:{root:{"--slider-thumb-size":"sizes.5","--slider-track-size":"sizes.2","--slider-marker-center":"8px","--slider-marker-size":"sizes.1","--slider-marker-inset":"4px"}},lg:{root:{"--slider-thumb-size":"sizes.6","--slider-track-size":"sizes.2.5","--slider-marker-center":"9px","--slider-marker-size":"sizes.1.5","--slider-marker-inset":"5px"}}},variant:{outline:{track:{shadow:"inset",bg:"bg.emphasized/72"},range:{bg:"colorPalette.solid"},thumb:{borderWidth:"2px",borderColor:"colorPalette.solid",bg:"bg",_disabled:{bg:"border.emphasized",borderColor:"border.emphasized"}}},solid:{track:{bg:"colorPalette.subtle",_disabled:{bg:"bg.muted"}},range:{bg:"colorPalette.solid"},thumb:{bg:"colorPalette.solid",_disabled:{bg:"border.emphasized"}}}},orientation:{vertical:{root:{display:"inline-flex"},control:{flexDirection:"column",height:"100%",minWidth:"var(--slider-thumb-size)","&:has(.chakra-slider__markerLabel)":{marginEnd:"4"}},track:{width:"var(--slider-track-size)"},thumb:{left:"50%",translate:"-50% 0"},markerGroup:{insetStart:"var(--slider-marker-center)",insetBlock:"var(--slider-marker-inset)"},marker:{flexDirection:"row"}},horizontal:{control:{flexDirection:"row",width:"100%",minHeight:"var(--slider-thumb-size)","&:has(.chakra-slider__markerLabel)":{marginBottom:"4"}},track:{height:"var(--slider-track-size)"},thumb:{top:"50%",translate:"0 -50%"},markerGroup:{top:"var(--slider-marker-center)",insetInline:"var(--slider-marker-inset)"},marker:{flexDirection:"column"}}}},defaultVariants:{size:"md",variant:"outline",orientation:"horizontal"}});var _k=R({slots:Uz.keys(),className:"splitter",base:{resizeTrigger:{"--splitter-border-color":"colors.border","--splitter-thumb-color":"colors.bg","--splitter-thumb-size":"sizes.2","--splitter-thumb-inset":"calc(var(--splitter-thumb-size) * -0.5)","--splitter-border-size":"1px","--splitter-handle-size":"sizes.6",outline:"0",display:"grid",placeItems:"center",position:"relative",_focus:{"--splitter-border-color":"colors.border.emphasized","--splitter-thumb-color":"colors.colorPalette.subtle"},_dragging:{"--splitter-thumb-color":"colors.colorPalette.focusRing"},_horizontal:{minWidth:"var(--splitter-thumb-size)",marginInline:"var(--splitter-thumb-inset)"},_vertical:{minHeight:"var(--splitter-thumb-size)",marginBlock:"var(--splitter-thumb-inset)"}},resizeTriggerSeparator:{position:"absolute",bg:"var(--splitter-border-color)","[data-part='resize-trigger'][data-orientation=horizontal] &":{insetInlineEnd:"calc(var(--splitter-thumb-size) * 0.5)",insetBlock:"0",insetInlineStart:"auto",w:"var(--splitter-border-size)"},"[data-part='resize-trigger'][data-orientation=vertical] &":{insetBlockEnd:"calc(var(--splitter-thumb-size) * 0.5)",insetInline:"0",insetBlockStart:"auto",h:"var(--splitter-border-size)"}},resizeTriggerIndicator:{position:"relative",rounded:"full",bg:"var(--splitter-thumb-color)",shadow:"xs",borderWidth:"1px",zIndex:"1","[data-part='resize-trigger'][data-orientation=horizontal] &":{w:"full",h:"var(--splitter-handle-size)"},"[data-part='resize-trigger'][data-orientation=vertical] &":{w:"var(--splitter-handle-size)",h:"full"},"[data-part='resize-trigger'][data-focus]:focus-visible &":{outlineWidth:"2px",outlineColor:"colorPalette.focusRing",outlineStyle:"solid"},"[data-part='resize-trigger'][data-disabled] &":{visibility:"hidden"}}}});var Fk=R({className:"chakra-stat",slots:jz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",position:"relative",flex:"1"},label:{display:"inline-flex",gap:"1.5",alignItems:"center",color:"fg.muted",textStyle:"sm"},helpText:{color:"fg.muted",textStyle:"xs"},valueUnit:{color:"fg.muted",textStyle:"xs",fontWeight:"initial",letterSpacing:"initial"},valueText:{verticalAlign:"baseline",fontWeight:"semibold",letterSpacing:"tight",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums",display:"inline-flex",gap:"1"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",marginEnd:1,"& :where(svg)":{w:"1em",h:"1em"},"&[data-type=up]":{color:"fg.success"},"&[data-type=down]":{color:"fg.error"}}},variants:{size:{sm:{valueText:{textStyle:"xl"}},md:{valueText:{textStyle:"2xl"}},lg:{valueText:{textStyle:"3xl"}}}},defaultVariants:{size:"md"}});var Ik=R({className:"chakra-status",slots:Oz.keys(),base:{root:{display:"inline-flex",alignItems:"center",gap:"2"},indicator:{width:"0.64em",height:"0.64em",flexShrink:0,borderRadius:"full",forcedColorAdjust:"none",bg:"colorPalette.solid"}},variants:{size:{sm:{root:{textStyle:"xs"}},md:{root:{textStyle:"sm"}},lg:{root:{textStyle:"md"}}}},defaultVariants:{size:"md"}});var Dk=R({className:"chakra-steps",slots:Az.keys(),base:{root:{display:"flex",width:"full"},list:{display:"flex",justifyContent:"space-between","--steps-gutter":"spacing.3","--steps-thickness":"2px"},title:{fontWeight:"medium",color:"fg"},description:{color:"fg.muted"},separator:{bg:"border",flex:"1"},indicator:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0",borderRadius:"full",fontWeight:"medium",width:"var(--steps-size)",height:"var(--steps-size)",_icon:{flexShrink:"0",width:"var(--steps-icon-size)",height:"var(--steps-icon-size)"}},item:{position:"relative",display:"flex",gap:"3",flex:"1 0 0","&:last-of-type":{flex:"initial","& [data-part=separator]":{display:"none"}}},trigger:{display:"flex",alignItems:"center",gap:"3",textAlign:"start",focusVisibleRing:"outside",borderRadius:"l2"},content:{focusVisibleRing:"outside"}},variants:{orientation:{vertical:{root:{flexDirection:"row",height:"100%"},list:{flexDirection:"column",alignItems:"flex-start"},separator:{position:"absolute",width:"var(--steps-thickness)",height:"100%",maxHeight:"calc(100% - var(--steps-size) - var(--steps-gutter) * 2)",top:"calc(var(--steps-size) + var(--steps-gutter))",insetStart:"calc(var(--steps-size) / 2 - 1px)"},item:{alignItems:"flex-start"}},horizontal:{root:{flexDirection:"column",width:"100%"},list:{flexDirection:"row",alignItems:"center"},separator:{width:"100%",height:"var(--steps-thickness)",marginX:"var(--steps-gutter)"},item:{alignItems:"center"}}},variant:{solid:{indicator:{_incomplete:{borderWidth:"var(--steps-thickness)"},_current:{bg:"colorPalette.muted",borderWidth:"var(--steps-thickness)",borderColor:"colorPalette.solid",color:"colorPalette.fg"},_complete:{bg:"colorPalette.solid",borderColor:"colorPalette.solid",color:"colorPalette.contrast"}},separator:{_complete:{bg:"colorPalette.solid"}}},subtle:{indicator:{_incomplete:{bg:"bg.muted"},_current:{bg:"colorPalette.muted",color:"colorPalette.fg"},_complete:{bg:"colorPalette.emphasized",color:"colorPalette.fg"}},separator:{_complete:{bg:"colorPalette.emphasized"}}}},size:{xs:{root:{gap:"2.5"},list:{"--steps-size":"sizes.6","--steps-icon-size":"sizes.3.5",textStyle:"xs"},title:{textStyle:"sm"}},sm:{root:{gap:"3"},list:{"--steps-size":"sizes.8","--steps-icon-size":"sizes.4",textStyle:"xs"},title:{textStyle:"sm"}},md:{root:{gap:"4"},list:{"--steps-size":"sizes.10","--steps-icon-size":"sizes.4",textStyle:"sm"},title:{textStyle:"sm"}},lg:{root:{gap:"6"},list:{"--steps-size":"sizes.11","--steps-icon-size":"sizes.5",textStyle:"md"},title:{textStyle:"md"}}}},defaultVariants:{size:"md",variant:"solid",orientation:"horizontal"}});var Nk=R({slots:Pz.keys(),className:"chakra-switch",base:{root:{display:"inline-flex",gap:"2.5",alignItems:"center",position:"relative",verticalAlign:"middle","--switch-diff":"calc(var(--switch-width) - var(--switch-height))","--switch-x":{base:"var(--switch-diff)",_rtl:"calc(var(--switch-diff) * -1)"}},label:{lineHeight:"1",userSelect:"none",fontSize:"sm",fontWeight:"medium",_disabled:{opacity:"0.5"}},indicator:{position:"absolute",height:"var(--switch-height)",width:"var(--switch-height)",fontSize:"var(--switch-indicator-font-size)",fontWeight:"medium",flexShrink:0,userSelect:"none",display:"grid",placeContent:"center",transition:"inset-inline-start 0.12s ease",insetInlineStart:"calc(var(--switch-x) - 2px)",_checked:{insetInlineStart:"2px"}},control:{display:"inline-flex",gap:"0.5rem",flexShrink:0,justifyContent:"flex-start",cursor:"switch",borderRadius:"full",position:"relative",width:"var(--switch-width)",height:"var(--switch-height)",transition:"backgrounds",_disabled:{opacity:"0.5",cursor:"not-allowed"},_invalid:{outline:"2px solid",outlineColor:"border.error",outlineOffset:"2px"}},thumb:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transitionProperty:"translate",transitionDuration:"fast",borderRadius:"inherit",_checked:{translate:"var(--switch-x) 0"}}},variants:{variant:{solid:{control:{borderRadius:"full",bg:"bg.emphasized",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}},thumb:{bg:"white",width:"var(--switch-height)",height:"var(--switch-height)",scale:"0.8",boxShadow:"sm",_checked:{bg:"colorPalette.contrast"}}},raised:{control:{borderRadius:"full",height:"calc(var(--switch-height) / 2)",bg:"bg.muted",boxShadow:"inset",_checked:{bg:"colorPalette.solid/60"}},thumb:{width:"var(--switch-height)",height:"var(--switch-height)",position:"relative",top:"calc(var(--switch-height) * -0.25)",bg:"white",boxShadow:"xs",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}}}},size:{xs:{root:{"--switch-width":"sizes.6","--switch-height":"sizes.3","--switch-indicator-font-size":"fontSizes.xs"}},sm:{root:{"--switch-width":"sizes.8","--switch-height":"sizes.4","--switch-indicator-font-size":"fontSizes.xs"}},md:{root:{"--switch-width":"sizes.10","--switch-height":"sizes.5","--switch-indicator-font-size":"fontSizes.sm"}},lg:{root:{"--switch-width":"sizes.12","--switch-height":"sizes.6","--switch-indicator-font-size":"fontSizes.md"}}}},defaultVariants:{variant:"solid",size:"md"}});var Uk=R({className:"chakra-table",slots:Ez.keys(),base:{root:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full",textAlign:"start",verticalAlign:"top"},row:{_selected:{bg:"colorPalette.subtle"}},cell:{textAlign:"start",alignItems:"center"},columnHeader:{fontWeight:"medium",textAlign:"start",color:"fg"},caption:{fontWeight:"medium",textStyle:"xs"},footer:{fontWeight:"medium"}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:"colorPalette.subtle"}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:"var(--table-sticky-offset, 0)",position:"sticky",zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:"bg.muted"}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}}}},variant:{line:{columnHeader:{borderBottomWidth:"1px"},cell:{borderBottomWidth:"1px"},row:{bg:"bg"}},outline:{root:{boxShadow:"0 0 0 1px {colors.border}"},columnHeader:{borderBottomWidth:"1px"},header:{bg:"bg.muted"},row:{"&:not(:last-of-type)":{borderBottomWidth:"1px"}},footer:{borderTopWidth:"1px"}}},size:{sm:{root:{textStyle:"sm"},columnHeader:{px:"2",py:"2"},cell:{px:"2",py:"2"}},md:{root:{textStyle:"sm"},columnHeader:{px:"3",py:"3"},cell:{px:"3",py:"3"}},lg:{root:{textStyle:"md"},columnHeader:{px:"4",py:"3"},cell:{px:"4",py:"3"}}}},defaultVariants:{variant:"line",size:"md"}});var Gk=R({slots:_z.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate",minH:"var(--tabs-height)",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},trigger:{outline:"0",minW:"var(--tabs-height)",height:"var(--tabs-height)",display:"flex",alignItems:"center",fontWeight:"medium",position:"relative",cursor:"button",gap:"2",_focusVisible:{zIndex:1,outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{cursor:"not-allowed",opacity:.5}},content:{focusVisibleRing:"inside",_horizontal:{width:"100%",pt:"var(--tabs-content-padding)"},_vertical:{height:"100%",ps:"var(--tabs-content-padding)"}},indicator:{width:"var(--width)",height:"var(--height)",borderRadius:"var(--tabs-trigger-radius)",bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",zIndex:-1}},variants:{fitted:{true:{list:{display:"flex"},trigger:{flex:1,textAlign:"center",justifyContent:"center"}}},justify:{start:{list:{justifyContent:"flex-start"}},center:{list:{justifyContent:"center"}},end:{list:{justifyContent:"flex-end"}}},size:{sm:{root:{"--tabs-height":"sizes.9","--tabs-content-padding":"spacing.3"},trigger:{py:"1",px:"3",textStyle:"sm"}},md:{root:{"--tabs-height":"sizes.10","--tabs-content-padding":"spacing.4"},trigger:{py:"2",px:"4",textStyle:"sm"}},lg:{root:{"--tabs-height":"sizes.11","--tabs-content-padding":"spacing.4.5"},trigger:{py:"2",px:"4.5",textStyle:"md"}}},variant:{line:{list:{display:"flex",borderColor:"border",_horizontal:{borderBottomWidth:"1px"},_vertical:{borderEndWidth:"1px"}},trigger:{color:"fg.muted",_disabled:{_active:{bg:"initial"}},_selected:{color:"fg",_horizontal:{layerStyle:"indicator.bottom","--indicator-offset-y":"-1px","--indicator-color":"colors.colorPalette.solid"},_vertical:{layerStyle:"indicator.end","--indicator-offset-x":"-1px"}}}},subtle:{trigger:{borderRadius:"var(--tabs-trigger-radius)",color:"fg.muted",_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}},enclosed:{list:{bg:"bg.muted",padding:"1",borderRadius:"l3",minH:"calc(var(--tabs-height) - 4px)"},trigger:{justifyContent:"center",color:"fg.muted",borderRadius:"var(--tabs-trigger-radius)",_selected:{bg:"bg",color:"colorPalette.fg",shadow:"xs"}}},outline:{list:{"--line-thickness":"1px","--line-offset":"calc(var(--line-thickness) * -1)",borderColor:"border",display:"flex",_horizontal:{_before:{content:'""',position:"absolute",bottom:"0px",width:"100%",borderBottomWidth:"var(--line-thickness)",borderBottomColor:"border"}},_vertical:{_before:{content:'""',position:"absolute",insetInline:"var(--line-offset)",height:"calc(100% - calc(var(--line-thickness) * 2))",borderEndWidth:"var(--line-thickness)",borderEndColor:"border"}}},trigger:{color:"fg.muted",borderWidth:"1px",borderColor:"transparent",_selected:{bg:"currentBg",color:"colorPalette.fg"},_horizontal:{borderTopRadius:"var(--tabs-trigger-radius)",marginBottom:"var(--line-offset)",marginEnd:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderBottomColor:"transparent"}},_vertical:{borderStartRadius:"var(--tabs-trigger-radius)",marginEnd:"var(--line-offset)",marginBottom:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderEndColor:"transparent"}}}},plain:{trigger:{color:"fg.muted",_selected:{color:"colorPalette.fg"},borderRadius:"var(--tabs-trigger-radius)","&[data-selected][data-ssr]":{bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",borderRadius:"var(--tabs-trigger-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}});var oc=Ei.variants?.variant,qk=R({slots:Fz.keys(),className:"chakra-tag",base:{root:{display:"inline-flex",alignItems:"center",verticalAlign:"top",maxWidth:"100%",userSelect:"none",borderRadius:"l2",focusVisibleRing:"outside"},label:{lineClamp:"1"},closeTrigger:{display:"flex",alignItems:"center",justifyContent:"center",outline:"0",borderRadius:"l1",color:"currentColor",focusVisibleRing:"inside",focusRingWidth:"2px"},startElement:{flexShrink:0,boxSize:"var(--tag-element-size)",ms:"var(--tag-element-offset)","&:has([data-scope=avatar])":{boxSize:"var(--tag-avatar-size)",ms:"calc(var(--tag-element-offset) * 1.5)"},_icon:{boxSize:"100%"}},endElement:{flexShrink:0,boxSize:"var(--tag-element-size)",me:"var(--tag-element-offset)",_icon:{boxSize:"100%"},"&:has(button)":{ms:"calc(var(--tag-element-offset) * -1)"}}},variants:{size:{sm:{root:{px:"1.5",minH:"4.5",gap:"1","--tag-avatar-size":"spacing.3","--tag-element-size":"spacing.3","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},md:{root:{px:"1.5",minH:"5",gap:"1","--tag-avatar-size":"spacing.3.5","--tag-element-size":"spacing.3.5","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},lg:{root:{px:"2",minH:"6",gap:"1.5","--tag-avatar-size":"spacing.4.5","--tag-element-size":"spacing.4","--tag-element-offset":"-3px"},label:{textStyle:"sm"}},xl:{root:{px:"2.5",minH:"8",gap:"1.5","--tag-avatar-size":"spacing.6","--tag-element-size":"spacing.4.5","--tag-element-offset":"-4px"},label:{textStyle:"sm"}}},variant:{subtle:{root:oc?.subtle},solid:{root:oc?.solid},outline:{root:oc?.outline},surface:{root:oc?.surface}}},defaultVariants:{size:"md",variant:"surface"}});var $k=R({slots:Bi.keys(),className:"tags-input",base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},control:{"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",minH:"var(--tags-input-height)","--input-height":"var(--tags-input-height)",px:"var(--tags-input-px)",py:"var(--tags-input-py)",gap:"var(--tags-input-gap)",display:"flex",flexWrap:"wrap",alignItems:"center",borderRadius:"l2",pos:"relative",transitionProperty:"border-color, box-shadow",transitionDuration:"normal",_disabled:{opacity:"0.5"},_invalid:{borderColor:"var(--error-color)"}},input:{flex:"1",minWidth:"20",outline:"none",bg:"transparent",color:"fg",px:"calc(var(--tags-input-item-px) / 1.25)",height:"var(--tags-input-item-height)",_readOnly:{display:"none"}},item:{maxWidth:"100%",minWidth:"0"},itemText:{lineClamp:"1",minWidth:"0"},itemInput:{outline:"none",bg:"transparent",minWidth:"2ch",color:"inherit",px:"var(--tags-input-item-px)",height:"var(--tags-input-item-height)"},itemPreview:{height:"var(--tags-input-item-height)",userSelect:"none",display:"inline-flex",alignItems:"center",gap:"1",rounded:"l1",px:"var(--tags-input-item-px)",maxWidth:"100%"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:"0",boxSize:"calc(var(--tags-input-item-height) / 1.5)",cursor:{base:"button",_disabled:"initial"},me:"-1",opacity:"0.4",_hover:{opacity:"1"},"[data-highlighted] &":{opacity:"1"},_icon:{boxSize:"80%"}},clearTrigger:{display:"flex",alignItems:"center",justifyContent:"center",boxSize:"calc(var(--tags-input-item-height) / 1.5)",cursor:{base:"button",_disabled:"initial"},color:"fg.muted",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1",_icon:{boxSize:"5"}}},variants:{size:{xs:{root:{"--tags-input-height":"sizes.8","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.6","--tags-input-item-px":"spacing.2",textStyle:"xs"}},sm:{root:{"--tags-input-height":"sizes.9","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.6","--tags-input-item-px":"spacing.2",textStyle:"sm"}},md:{root:{"--tags-input-height":"sizes.10","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.7","--tags-input-item-px":"spacing.2",textStyle:"sm"}},lg:{root:{"--tags-input-height":"sizes.11","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.8","--tags-input-item-px":"spacing.2",textStyle:"md"}}},variant:{outline:{control:{borderWidth:"1px",bg:"bg",_focus:{outlineWidth:"1px",outlineStyle:"solid",outlineColor:"var(--focus-color)",borderColor:"var(--focus-color)",_invalid:{outlineColor:"var(--error-color)",borderColor:"var(--error-color)"}}},itemPreview:{bg:"colorPalette.subtle",_highlighted:{bg:"colorPalette.muted"}}},subtle:{control:{bg:"bg.muted",borderWidth:"1px",borderColor:"transparent",_focus:{outlineWidth:"1px",outlineStyle:"solid",outlineColor:"var(--focus-color)",borderColor:"var(--focus-color)",_invalid:{outlineColor:"var(--error-color)",borderColor:"var(--error-color)"}}},itemPreview:{bg:"bg",borderWidth:"1px",_highlighted:{bg:"colorPalette.subtle",borderColor:"colorPalette.emphasized"}}},flushed:{control:{borderRadius:"0",px:"0",bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",_focus:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},itemPreview:{bg:"colorPalette.subtle",_highlighted:{bg:"colorPalette.muted"}}}}},defaultVariants:{size:"md",variant:"outline"}});var Kk=R({slots:Iz.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{"--timeline-content-gap":"spacing.6",display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"--timeline-content-gap":"0"}},separator:{display:"var(--timeline-separator-display)",position:"absolute",borderStartWidth:"var(--timeline-thickness)",ms:"calc(-1 * var(--timeline-thickness) / 2)",insetInlineStart:"calc(var(--timeline-indicator-size) / 2)",insetBlock:"0",borderColor:"border"},indicator:{outline:"2px solid {colors.bg}",position:"relative",flexShrink:"0",boxSize:"var(--timeline-indicator-size)",fontSize:"var(--timeline-font-size)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontWeight:"medium"},connector:{alignSelf:"stretch",position:"relative"},content:{pb:"var(--timeline-content-gap)",display:"flex",flexDirection:"column",width:"full",gap:"2"},title:{display:"flex",fontWeight:"medium",flexWrap:"wrap",gap:"1.5",alignItems:"center",mt:"var(--timeline-margin)"},description:{color:"fg.muted",textStyle:"xs"}},variants:{variant:{subtle:{indicator:{bg:"colorPalette.muted"}},solid:{indicator:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},outline:{indicator:{bg:"currentBg",borderWidth:"1px",borderColor:"colorPalette.muted"}},plain:{}},showLastSeparator:{true:{item:{_last:{"--timeline-separator-display":"initial"}}},false:{item:{_last:{"--timeline-separator-display":"none"}}}},size:{sm:{root:{"--timeline-indicator-size":"sizes.4","--timeline-font-size":"fontSizes.2xs"},title:{textStyle:"xs"}},md:{root:{"--timeline-indicator-size":"sizes.5","--timeline-font-size":"fontSizes.xs"},title:{textStyle:"sm"}},lg:{root:{"--timeline-indicator-size":"sizes.6","--timeline-font-size":"fontSizes.xs"},title:{mt:"0.5",textStyle:"sm"}},xl:{root:{"--timeline-indicator-size":"sizes.8","--timeline-font-size":"fontSizes.sm"},title:{mt:"1.5",textStyle:"sm"}}}},defaultVariants:{size:"md",variant:"solid",showLastSeparator:!1}});var Yk=R({slots:Rz.keys(),className:"chakra-toast",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",gap:"3",py:"4",ps:"4",pe:"6",borderRadius:"l2",translate:"var(--x) var(--y)",scale:"var(--scale)",zIndex:"var(--z-index)",height:"var(--height)",opacity:"var(--opacity)",willChange:"translate, opacity, scale",transition:"translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",transitionTimingFunction:"cubic-bezier(0.21, 1.02, 0.73, 1)",_closed:{transition:"translate 400ms, scale 400ms, opacity 200ms",transitionTimingFunction:"cubic-bezier(0.06, 0.71, 0.55, 1)"},bg:"bg.panel",color:"fg",boxShadow:"xl","--toast-trigger-bg":"colors.bg.muted","&[data-type=warning]":{bg:"orange.solid",color:"orange.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=success]":{bg:"green.solid",color:"green.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=error]":{bg:"red.solid",color:"red.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"}},title:{fontWeight:"medium",textStyle:"sm",marginEnd:"2"},description:{display:"inline",textStyle:"sm",opacity:"0.8"},indicator:{flexShrink:"0",boxSize:"5"},actionTrigger:{textStyle:"sm",fontWeight:"medium",height:"8",px:"3",borderRadius:"l2",alignSelf:"center",borderWidth:"1px",borderColor:"var(--toast-border-color, inherit)",transition:"background 200ms",_hover:{bg:"var(--toast-trigger-bg)"}},closeTrigger:{position:"absolute",top:"1",insetEnd:"1",padding:"1",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"{currentColor/60}",borderRadius:"l2",textStyle:"md",transition:"background 200ms",_icon:{boxSize:"1em"}}}});var Xk=R({slots:Vi.keys(),className:"chakra-tooltip",base:{content:{"--tooltip-bg":"colors.bg.inverted",bg:"var(--tooltip-bg)",color:"fg.inverted",px:"2.5",py:"1",borderRadius:"l2",fontWeight:"medium",textStyle:"xs",boxShadow:"md",maxW:"xs",zIndex:"tooltip",transformOrigin:"var(--transform-origin)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"fast"}},arrow:{"--arrow-size":"sizes.2","--arrow-background":"var(--tooltip-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px",borderColor:"var(--tooltip-bg)"}}});var Qk=T2({display:"flex",alignItems:"center",gap:"var(--tree-item-gap)",rounded:"l2",userSelect:"none",position:"relative","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-icon-offset":"calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))",ps:"var(--tree-offset)",pe:"var(--tree-padding-inline)",py:"var(--tree-padding-block)",focusVisibleRing:"inside",focusRingColor:"border.emphasized",focusRingWidth:"2px","&:hover, &:focus-visible":{bg:"bg.muted"},_disabled:{layerStyle:"disabled"}}),Zk=T2({flex:"1"}),Jk=T2({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),tL=T2({_selected:{layerStyle:"fill.solid"}}),aL=R({slots:Si.keys(),className:"chakra-tree-view",base:{root:{width:"full",display:"flex",flexDirection:"column",gap:"2"},tree:{display:"flex",flexDirection:"column","--tree-item-gap":"spacing.2",_icon:{boxSize:"var(--tree-icon-size)"}},label:{fontWeight:"medium",textStyle:"sm"},branch:{position:"relative"},branchContent:{position:"relative"},branchIndentGuide:{height:"100%",width:"1px",bg:"border",position:"absolute","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset))","--tree-icon-offset":"calc(var(--tree-icon-size) * 0.5 * var(--depth))",insetInlineStart:"calc(var(--tree-offset) + var(--tree-icon-offset))",zIndex:"1"},branchIndicator:{color:"fg.muted",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(90deg)"}},branchTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center"},branchControl:Qk,item:Qk,itemText:Zk,branchText:Zk,nodeCheckbox:{display:"inline-flex"}},variants:{size:{md:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1.5","--tree-icon-size":"spacing.4"}},sm:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}},xs:{tree:{textStyle:"xs","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.2","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}}},variant:{subtle:{branchControl:Jk,item:Jk},solid:{branchControl:tL,item:tL}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}});var rL={accordion:qz,actionBar:$z,alert:Kz,avatar:Yz,blockquote:Xz,breadcrumb:Qz,card:Zz,carousel:Jz,checkbox:tk,checkboxCard:ak,codeBlock:rk,collapsible:ek,dataList:lk,datePicker:ck,dialog:dk,drawer:sk,editable:gk,emptyState:vk,field:uk,fieldset:Mk,fileUpload:fk,hoverCard:xk,list:zk,listbox:kk,menu:wk,nativeSelect:bk,numberInput:Ck,pinInput:Vk,popover:Tk,progress:yk,progressCircle:Sk,radioCard:jk,radioGroup:Ok,ratingGroup:Ak,scrollArea:Pk,segmentGroup:Ek,select:Sr,combobox:ok,slider:Rk,splitter:_k,stat:Fk,steps:Dk,switch:Nk,table:Uk,tabs:Gk,tag:qk,tagsInput:$k,toast:Yk,tooltip:Xk,status:Ik,timeline:Kk,colorPicker:ik,qrCode:Wk,treeView:aL,marquee:Lk,floatingPanel:mk};var eL=w6({"2xs":{value:{fontSize:"2xs",lineHeight:"0.75rem"}},xs:{value:{fontSize:"xs",lineHeight:"1rem"}},sm:{value:{fontSize:"sm",lineHeight:"1.25rem"}},md:{value:{fontSize:"md",lineHeight:"1.5rem"}},lg:{value:{fontSize:"lg",lineHeight:"1.75rem"}},xl:{value:{fontSize:"xl",lineHeight:"1.875rem"}},"2xl":{value:{fontSize:"2xl",lineHeight:"2rem"}},"3xl":{value:{fontSize:"3xl",lineHeight:"2.375rem"}},"4xl":{value:{fontSize:"4xl",lineHeight:"2.75rem",letterSpacing:"-0.025em"}},"5xl":{value:{fontSize:"5xl",lineHeight:"3.75rem",letterSpacing:"-0.025em"}},"6xl":{value:{fontSize:"6xl",lineHeight:"4.5rem",letterSpacing:"-0.025em"}},"7xl":{value:{fontSize:"7xl",lineHeight:"5.75rem",letterSpacing:"-0.025em"}},none:{value:{}},label:{value:{fontSize:"sm",lineHeight:"1.25rem",fontWeight:"medium"}}});var iL=ut.animations({spin:{value:"spin 1s linear infinite"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},bounce:{value:"bounce 1s infinite"}});var oL=ut.aspectRatios({square:{value:"1 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},wide:{value:"16 / 9"},ultrawide:{value:"18 / 5"},golden:{value:"1.618 / 1"}});var lL=ut.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}});var nL=ut.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}});var hL=ut.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#09090B"},white:{value:"#FFFFFF"},whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"},950:{value:"rgba(255, 255, 255, 0.95)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"},950:{value:"rgba(0, 0, 0, 0.95)"}},gray:{50:{value:"#fafafa"},100:{value:"#f4f4f5"},200:{value:"#e4e4e7"},300:{value:"#d4d4d8"},400:{value:"#a1a1aa"},500:{value:"#71717a"},600:{value:"#52525b"},700:{value:"#3f3f46"},800:{value:"#27272a"},900:{value:"#18181b"},950:{value:"#111111"}},red:{50:{value:"#fef2f2"},100:{value:"#fee2e2"},200:{value:"#fecaca"},300:{value:"#fca5a5"},400:{value:"#f87171"},500:{value:"#ef4444"},600:{value:"#dc2626"},700:{value:"#991919"},800:{value:"#511111"},900:{value:"#300c0c"},950:{value:"#1f0808"}},orange:{50:{value:"#fff7ed"},100:{value:"#ffedd5"},200:{value:"#fed7aa"},300:{value:"#fdba74"},400:{value:"#fb923c"},500:{value:"#f97316"},600:{value:"#ea580c"},700:{value:"#92310a"},800:{value:"#6c2710"},900:{value:"#3b1106"},950:{value:"#220a04"}},yellow:{50:{value:"#fefce8"},100:{value:"#fef9c3"},200:{value:"#fef08a"},300:{value:"#fde047"},400:{value:"#facc15"},500:{value:"#eab308"},600:{value:"#ca8a04"},700:{value:"#845209"},800:{value:"#713f12"},900:{value:"#422006"},950:{value:"#281304"}},green:{50:{value:"#f0fdf4"},100:{value:"#dcfce7"},200:{value:"#bbf7d0"},300:{value:"#86efac"},400:{value:"#4ade80"},500:{value:"#22c55e"},600:{value:"#16a34a"},700:{value:"#116932"},800:{value:"#124a28"},900:{value:"#042713"},950:{value:"#03190c"}},teal:{50:{value:"#f0fdfa"},100:{value:"#ccfbf1"},200:{value:"#99f6e4"},300:{value:"#5eead4"},400:{value:"#2dd4bf"},500:{value:"#14b8a6"},600:{value:"#0d9488"},700:{value:"#0c5d56"},800:{value:"#114240"},900:{value:"#032726"},950:{value:"#021716"}},blue:{50:{value:"#eff6ff"},100:{value:"#dbeafe"},200:{value:"#bfdbfe"},300:{value:"#a3cfff"},400:{value:"#60a5fa"},500:{value:"#3b82f6"},600:{value:"#2563eb"},700:{value:"#173da6"},800:{value:"#1a3478"},900:{value:"#14204a"},950:{value:"#0c142e"}},cyan:{50:{value:"#ecfeff"},100:{value:"#cffafe"},200:{value:"#a5f3fc"},300:{value:"#67e8f9"},400:{value:"#22d3ee"},500:{value:"#06b6d4"},600:{value:"#0891b2"},700:{value:"#0c5c72"},800:{value:"#134152"},900:{value:"#072a38"},950:{value:"#051b24"}},purple:{50:{value:"#faf5ff"},100:{value:"#f3e8ff"},200:{value:"#e9d5ff"},300:{value:"#d8b4fe"},400:{value:"#c084fc"},500:{value:"#a855f7"},600:{value:"#9333ea"},700:{value:"#641ba3"},800:{value:"#4a1772"},900:{value:"#2f0553"},950:{value:"#1a032e"}},pink:{50:{value:"#fdf2f8"},100:{value:"#fce7f3"},200:{value:"#fbcfe8"},300:{value:"#f9a8d4"},400:{value:"#f472b6"},500:{value:"#ec4899"},600:{value:"#db2777"},700:{value:"#a41752"},800:{value:"#6d0e34"},900:{value:"#45061f"},950:{value:"#2c0514"}}});var cL=ut.cursor({button:{value:"pointer"},checkbox:{value:"default"},disabled:{value:"not-allowed"},menuitem:{value:"default"},option:{value:"default"},radio:{value:"default"},slider:{value:"default"},switch:{value:"pointer"}});var dL=ut.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}});var sL=ut.easings({"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},"ease-in-smooth":{value:"cubic-bezier(0.32, 0.72, 0, 1)"}});var pL=ut.fontSizes({"2xs":{value:"0.625rem"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}});var gL=ut.fontWeights({thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}});var vL='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',uL=ut.fonts({heading:{value:`Inter, ${vL}`},body:{value:`Inter, ${vL}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}});var ML=k6({spin:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},pulse:{"50%":{opacity:"0.5"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"bg-position":{from:{backgroundPosition:"var(--animate-from, 1rem) 0"},to:{backgroundPosition:"var(--animate-to, 0) 0"}},position:{from:{insetInlineStart:"var(--animate-from-x)",insetBlockStart:"var(--animate-from-y)"},to:{insetInlineStart:"var(--animate-to-x)",insetBlockStart:"var(--animate-to-y)"}},"circular-progress":{"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100%"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260%"}},"expand-height":{from:{height:"var(--collapsed-height, 0)"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"var(--collapsed-height, 0)"}},"expand-width":{from:{width:"var(--collapsed-width, 0)"},to:{width:"var(--width)"}},"collapse-width":{from:{width:"var(--width)"},to:{width:"var(--collapsed-width, 0)"}},"fade-in":{from:{opacity:0},to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:"-100% 0"},to:{translate:"0 0"}},"slide-from-right-full":{from:{translate:"100% 0"},to:{translate:"0 0"}},"slide-from-top-full":{from:{translate:"0 -100%"},to:{translate:"0 0"}},"slide-from-bottom-full":{from:{translate:"0 100%"},to:{translate:"0 0"}},"slide-to-left-full":{from:{translate:"0 0"},to:{translate:"-100% 0"}},"slide-to-right-full":{from:{translate:"0 0"},to:{translate:"100% 0"}},"slide-to-top-full":{from:{translate:"0 0"},to:{translate:"0 -100%"}},"slide-to-bottom-full":{from:{translate:"0 0"},to:{translate:"0 100%"}},"slide-from-top":{"0%":{translate:"0 calc(var(--slide-from-top-distance, 0.5rem) * -1)"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 var(--slide-from-bottom-distance, 0.5rem)"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"calc(var(--slide-from-left-distance, 0.5rem) * -1) 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"var(--slide-from-right-distance, 0.5rem) 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 calc(var(--slide-to-top-distance, 0.5rem) * -1)"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 var(--slide-to-bottom-distance, 0.5rem)"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"calc(var(--slide-to-left-distance, 0.5rem) * -1) 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"var(--slide-to-right-distance, 0.5rem) 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}},marqueeX:{from:{transform:"translateX(0%)"},to:{transform:"translateX(var(--marquee-translate))"}},marqueeY:{from:{transform:"translateY(0%)"},to:{transform:"translateY(var(--marquee-translate))"}}});var fL=ut.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}});var mL=ut.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}});var xL=ut.radii({none:{value:"0"},"2xs":{value:"0.0625rem"},xs:{value:"0.125rem"},sm:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},"4xl":{value:"2rem"},full:{value:"9999px"}});var lc=ut.spacing({.5:{value:"0.125rem"},1:{value:"0.25rem"},1.5:{value:"0.375rem"},2:{value:"0.5rem"},2.5:{value:"0.625rem"},3:{value:"0.75rem"},3.5:{value:"0.875rem"},4:{value:"1rem"},4.5:{value:"1.125rem"},5:{value:"1.25rem"},6:{value:"1.5rem"},7:{value:"1.75rem"},8:{value:"2rem"},9:{value:"2.25rem"},10:{value:"2.5rem"},11:{value:"2.75rem"},12:{value:"3rem"},14:{value:"3.5rem"},16:{value:"4rem"},20:{value:"5rem"},24:{value:"6rem"},28:{value:"7rem"},32:{value:"8rem"},36:{value:"9rem"},40:{value:"10rem"},44:{value:"11rem"},48:{value:"12rem"},52:{value:"13rem"},56:{value:"14rem"},60:{value:"15rem"},64:{value:"16rem"},72:{value:"18rem"},80:{value:"20rem"},96:{value:"24rem"}});var jO=ut.sizes({"3xs":{value:"14rem"},"2xs":{value:"16rem"},xs:{value:"20rem"},sm:{value:"24rem"},md:{value:"28rem"},lg:{value:"32rem"},xl:{value:"36rem"},"2xl":{value:"42rem"},"3xl":{value:"48rem"},"4xl":{value:"56rem"},"5xl":{value:"64rem"},"6xl":{value:"72rem"},"7xl":{value:"80rem"},"8xl":{value:"90rem"}}),OO=ut.sizes({max:{value:"max-content"},min:{value:"min-content"},fit:{value:"fit-content"},prose:{value:"60ch"},full:{value:"100%"},dvh:{value:"100dvh"},svh:{value:"100svh"},lvh:{value:"100lvh"},dvw:{value:"100dvw"},svw:{value:"100svw"},lvw:{value:"100lvw"},vw:{value:"100vw"},vh:{value:"100vh"}}),AO=ut.sizes({"1/2":{value:"50%"},"1/3":{value:"33.333333%"},"2/3":{value:"66.666667%"},"1/4":{value:"25%"},"3/4":{value:"75%"},"1/5":{value:"20%"},"2/5":{value:"40%"},"3/5":{value:"60%"},"4/5":{value:"80%"},"1/6":{value:"16.666667%"},"2/6":{value:"33.333333%"},"3/6":{value:"50%"},"4/6":{value:"66.666667%"},"5/6":{value:"83.333333%"},"1/12":{value:"8.333333%"},"2/12":{value:"16.666667%"},"3/12":{value:"25%"},"4/12":{value:"33.333333%"},"5/12":{value:"41.666667%"},"6/12":{value:"50%"},"7/12":{value:"58.333333%"},"8/12":{value:"66.666667%"},"9/12":{value:"75%"},"10/12":{value:"83.333333%"},"11/12":{value:"91.666667%"}}),zL=ut.sizes({...jO,...lc,...AO,...OO});var kL=ut.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:2147483647}});var PO={aspectRatios:oL,animations:iL,blurs:lL,borders:nL,colors:hL,durations:dL,easings:sL,fonts:uL,fontSizes:pL,fontWeights:gL,letterSpacings:fL,lineHeights:mL,radii:xL,spacing:lc,sizes:zL,zIndex:kL,cursor:cL},EO={colors:oz,shadows:nz,radii:lz},RO="chakra",_O=":where(html, .chakra-theme)",LL=Vl({preflight:!0,cssVarsPrefix:RO,cssVarsRoot:_O,globalCss:Ix,theme:{breakpoints:Fx,keyframes:ML,tokens:PO,semanticTokens:EO,recipes:iz,slotRecipes:rL,textStyles:eL,layerStyles:Dx,animationStyles:Nx}});var Ri=Kh(Km,LL),FO=yl(Ri);var Na=W(K(),1),Ua=W(at(),1);var wL=W(at(),1);function bL(t){let{key:a,recipe:r}=t,e=X0();return(0,wL.useMemo)(()=>r?e.sva(r):a!=null?e.getSlotRecipeFn(a):e.sva({slots:[]}),[a,r,e])}var nc=t=>{let{key:a,recipe:r}=t,e=Ye(a||r.className||"Component"),[i,o]=Oa({name:`${e}StylesContext`,errorMessage:`use${e}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${e}.Root />" `}),[l,n]=Oa({name:`${e}ClassNameContext`,errorMessage:`use${e}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${e}.Root />" `,strict:!1}),[h,c]=Oa({strict:!1,name:`${e}PropsContext`,providerName:`${e}PropsContext`,defaultValue:{}});function d(u){let{unstyled:f,...z}=u,v=bL({key:a,recipe:z.recipe||r}),[M,m]=(0,Ua.useMemo)(()=>v.splitVariantProps(z),[z,v]);return{styles:(0,Ua.useMemo)(()=>f?nM:v(M),[f,M,v]),classNames:v.classNameMap,props:m}}function s(u,f={}){let{defaultProps:z,displayName:v}=f,M=Ke(u),m=oM(e,M),L=H=>{let x=c(),B=(0,Ua.useMemo)(()=>mr(z,x,H),[x,H]),{styles:C,classNames:S,props:k}=d(B);return(0,Na.jsx)(i,{value:C,children:(0,Na.jsx)(l,{value:S,children:(0,Na.jsx)(u,{...k})})})};return L.displayName=v??m??M,L}return{StylesProvider:i,ClassNamesProvider:l,PropsProvider:h,usePropsContext:c,useRecipeResult:d,withProvider:(u,f,z)=>{let{defaultProps:v,displayName:M,wrapElement:m,...L}=z??{},H=v9(e,String(f)),x=Et(u,{},L),B=(0,Ua.forwardRef)((C,S)=>{let k=c(),P=(0,Ua.useMemo)(()=>mr(v??{},k,C),[k,C]),{styles:j,props:V,classNames:A}=d(P),E=A[f],y=(0,Na.jsx)(i,{value:j,children:(0,Na.jsx)(l,{value:A,children:(0,Na.jsx)(x,{ref:S,...V,css:[j[f],P.css],className:_1(P.className,E)})})});return m?.(y,P)??y});return B.displayName=M??H??Ke(u),B},withContext:(u,f,z)=>{let{displayName:v,...M}=z??{},m=f!=null&&f!==""?v9(e,String(f)):e,L=Et(u,{},M),H=(0,Ua.forwardRef)((x,B)=>{let{unstyled:C,...S}=x,k=o(),j=n()?.[f];return(0,Na.jsx)(L,{...S,css:[!C&&f?k[f]:void 0,x.css],ref:B,className:_1(x.className,j)})});return H.displayName=v??m??Ke(u),H},withRootProvider:s,useStyles:o,useClassNames:n}};var hc=W(K(),1),g2=W(at(),1);function HL(t){let{gap:a,direction:r}=t,e={column:{marginY:a,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:a,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:a,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:a,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":qh(r,i=>e[i])}}function IO(t){return g2.Children.toArray(t).filter(a=>(0,g2.isValidElement)(a))}var Sl=(0,g2.forwardRef)(function(a,r){let{direction:e="column",align:i,justify:o,gap:l="0.5rem",wrap:n,children:h,separator:c,className:d,...s}=a,p=(0,g2.useMemo)(()=>HL({gap:l,direction:e}),[l,e]),g=(0,g2.useMemo)(()=>(0,g2.isValidElement)(c)?IO(h).map((u,f,z)=>{let v=typeof u.key<"u"?u.key:f,M=c,m=(0,g2.cloneElement)(M,{css:[p,M.props.css]});return(0,hc.jsxs)(g2.Fragment,{children:[u,f===z.length-1?null:m]},v)}):h,[h,c,p]);return(0,hc.jsx)(Et.div,{ref:r,display:"flex",alignItems:i,justifyContent:o,flexDirection:e,flexWrap:n,gap:c?void 0:l,className:_1("chakra-stack",d),...s,children:g})});Sl.displayName="Stack";var Ga={};hn(Ga,{Content:()=>VL,Description:()=>SL,Indicator:()=>TL,PropsProvider:()=>BL,Root:()=>CL,Title:()=>yL});var{withProvider:DO,withContext:cc,useStyles:Nht,PropsProvider:NO}=nc({key:"emptyState"}),CL=DO("div","root"),BL=NO,VL=cc("div","content"),TL=cc("div","indicator"),yL=cc("h3","title"),SL=cc("p","description");var WL=W(K(),1),jL=W(at(),1);var W1=(0,jL.forwardRef)(function(a,r){let{direction:e,align:i,justify:o,wrap:l,basis:n,grow:h,shrink:c,inline:d,...s}=a;return(0,WL.jsx)(Et.div,{ref:r,...s,css:{display:d?"inline-flex":"flex",flexDirection:e,alignItems:i,justifyContent:o,flexWrap:l,flexBasis:n,flexGrow:h,flexShrink:c,...a.css}})});W1.displayName="Flex";var OL=W(K(),1),AL=W(at(),1);var Bt=(0,AL.forwardRef)(function(a,r){return(0,OL.jsx)(Sl,{align:"center",...a,direction:"row",ref:r})});Bt.displayName="HStack";var{withContext:UO,PropsProvider:Zht}=b0({key:"input"}),Wl=UO(d6.Input);var{withContext:GO,PropsProvider:act}=b0({key:"link"}),F6=GO("a");var PL=W(K(),1),EL=W(at(),1);var{useRecipeResult:qO,PropsProvider:dct}=b0({key:"separator"}),dc=(0,EL.forwardRef)(function(a,r){let{styles:e,className:i,props:o}=qO(a),l=a.orientation||"horizontal";return(0,PL.jsx)(Et.span,{ref:r,role:h1(l)?"separator":"presentation","aria-orientation":h1(l)?l:void 0,...Oi(o,["orientation"]),className:_1(i,a.className),css:[e,a.css]})});dc.displayName="Separator";var Wr={};hn(Wr,{Arrow:()=>qL,ArrowTip:()=>I6,Content:()=>GL,Context:()=>$L,Positioner:()=>UL,PropsProvider:()=>DL,Root:()=>IL,RootProvider:()=>FL,Trigger:()=>NL});var RL=W(K(),1);var{withRootProvider:_L,withContext:jl,useStyles:vct,PropsProvider:$O}=nc({key:"tooltip"}),FL=_L(S0.RootProvider),IL=_L(S0.Root,{defaultProps:{lazyMount:!0,unmountOnExit:!0}}),DL=$O,NL=jl(S0.Trigger,"trigger",{forwardAsChild:!0}),UL=jl(S0.Positioner,"positioner",{forwardAsChild:!0}),GL=jl(S0.Content,"content",{forwardAsChild:!0}),I6=jl(S0.ArrowTip,"arrowTip",{forwardAsChild:!0}),qL=jl(S0.Arrow,"arrow",{forwardAsChild:!0,defaultProps:{children:(0,RL.jsx)(I6,{})}}),$L=S0.Context;var KL=W(K(),1),YL=W(at(),1);var Ht=(0,YL.forwardRef)(function(a,r){return(0,KL.jsx)(Sl,{align:"center",...a,direction:"column",ref:r})});Ht.displayName="VStack";var _i=W(at(),1);var D6=W(at(),1),N6={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},U6=D6.default.createContext&&D6.default.createContext(N6);var KO=["attr","size","title"];function YO(t,a){if(t==null)return{};var r,e,i=XO(t,a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(e=0;e<o.length;e++)r=o[e],a.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function XO(t,a){if(t==null)return{};var r={};for(var e in t)if({}.hasOwnProperty.call(t,e)){if(a.indexOf(e)!==-1)continue;r[e]=t[e]}return r}function sc(){return sc=Object.assign?Object.assign.bind():function(t){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var e in r)({}).hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t},sc.apply(null,arguments)}function XL(t,a){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);a&&(e=e.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,e)}return r}function pc(t){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?XL(Object(r),!0).forEach(function(e){QO(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):XL(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function QO(t,a,r){return(a=ZO(a))in t?Object.defineProperty(t,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[a]=r,t}function ZO(t){var a=JO(t,"string");return typeof a=="symbol"?a:a+""}function JO(t,a){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var e=r.call(t,a||"default");if(typeof e!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)}function QL(t){return t&&t.map((a,r)=>_i.default.createElement(a.tag,pc({key:r},a.attr),QL(a.child)))}function qa(t){return a=>_i.default.createElement(tA,sc({attr:pc({},t.attr)},a),QL(t.child))}function tA(t){var a=r=>{var{attr:e,size:i,title:o}=t,l=YO(t,KO),n=i||r.size||"1em",h;return r.className&&(h=r.className),t.className&&(h=(h?h+" ":"")+t.className),_i.default.createElement("svg",sc({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,e,l,{className:h,style:pc(pc({color:t.color||r.color},r.style),t.style),height:n,width:n,xmlns:"http://www.w3.org/2000/svg"}),o&&_i.default.createElement("title",null,o),t.children)};return U6!==void 0?_i.default.createElement(U6.Consumer,null,r=>a(r)):a(N6)}function ZL(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(t)}function JL(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 14h4v-4H3v4zm0 5h4v-4H3v4zM3 9h4V5H3v4zm5 5h13v-4H8v4zm0 5h13v-4H8v4zM8 5v4h13V5H8z"},child:[]}]})(t)}function gc(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7V7h2v10zm4-5h-2V7h2v5zm4 3h-2V7h2v8z"},child:[]}]})(t)}function tw(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"},child:[]}]})(t)}function G6(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"},child:[]}]})(t)}var vc=W(at(),1);function uc(t,a){let[r,e]=(0,vc.useState)({data:null,refusal:null,loading:t!==null});return(0,vc.useEffect)(()=>{if(t===null)return;let i=!1;return e({data:null,refusal:null,loading:!0}),(async()=>{try{let o=await a();i||e({data:o,refusal:null,loading:!1})}catch(o){i||e({data:null,refusal:o instanceof Error?o.message:String(o),loading:!1})}})(),()=>{i=!0}},[t]),r}var rw="/api/v1/board";async function aw(t,a){let r=await fetch(`${a}/items?limit=100&offset=${t}`),e=await r.json().catch(()=>null);if(!r.ok)throw new Error(e?.error??`the board could not be reached (${r.status})`);return{items:e?.items??[],total:e?.total??0,hasMore:e?.hasMore??!1}}async function ew(t=rw){let a=await aw(0,t);if(!a.hasMore||a.items.length===0)return a;let r=a.items.length,e=Math.min(Math.ceil(a.total/r),40),i=await Promise.all(Array.from({length:e-1},(n,h)=>aw(r*(h+1),t))),o=new Map;for(let n of[a,...i])for(let h of n.items)o.set(h.id,h);let l=i[i.length-1]??a;return{items:[...o.values()],total:a.total,hasMore:l.hasMore}}async function iw(t,a=rw){let r=await fetch(`${a}/items/${encodeURIComponent(t)}`),e=await r.json().catch(()=>null);if(!r.ok||!e?.item)throw new Error(e?.error??`the brief could not be read (${r.status})`);return{item:e.item,brief:e.brief??null}}function Mc(){return uc("board",()=>ew())}function q6(t){return uc(t,()=>iw(t))}var z1={headerPy:4,sidebarPx:2,sidebarItemPx:2,sidebarItemPy:1.5,sidebarItemGap:3,sidebarGap:.5,sidebarHeaderH:12,sidebarPanelPy:3,sidebarExpandedWidth:250,sidebarCollapsedWidth:50};var aa=W(at(),1);var I1=W(K(),1),eA="linear-gradient(to bottom, var(--chakra-colors-bg-canvas) 0%, var(--chakra-colors-bg-canvas) 55%, color-mix(in srgb, var(--chakra-colors-bg-canvas) 80%, transparent) 70%, color-mix(in srgb, var(--chakra-colors-bg-canvas) 50%, transparent) 82%, color-mix(in srgb, var(--chakra-colors-bg-canvas) 20%, transparent) 92%, transparent 100%)";function Fi({revealHeight:t=24}){return(0,I1.jsx)(Z,{display:{base:"block",md:"none"},position:"absolute",top:0,left:0,right:0,bottom:`-${t}px`,pointerEvents:"none",bgImage:eA,zIndex:-1})}Fi.displayName="PageHeader.Fade";function nw({children:t,px:a=2,pl:r,pr:e}){let{title:i,search:o,actions:l,extras:n}=iA(t);return(0,I1.jsxs)(Bt,{as:"header",h:12,pl:r??a,pr:e??a,bg:{base:"transparent",md:"bg.canvas"},flexShrink:0,gap:3,align:"center",position:{base:"absolute",md:"relative"},top:{base:0,md:"auto"},left:{base:0,md:"auto"},right:{base:0,md:"auto"},zIndex:2,children:[(0,I1.jsx)(Fi,{}),(0,I1.jsxs)(Bt,{minW:0,flex:1,gap:3,align:"center",position:"relative",zIndex:1,children:[i,n]}),(0,I1.jsxs)(Bt,{gap:2,align:"center",flexShrink:0,position:"relative",zIndex:1,children:[o,l]})]})}nw.displayName="PageHeader";function iA(t){let a=null,r=null,e=null,i=[];return aa.Children.forEach(t,o=>{if(!(0,aa.isValidElement)(o)){o!=null&&i.push(o);return}switch(o.type?.displayName){case"PageHeader.Title":a=o;break;case"PageHeader.Search":r=o;break;case"PageHeader.Actions":e=o;break;default:i.push(o)}}),{title:a,search:r,actions:e,extras:i}}function hw({title:t,subtitle:a,children:r}){return r?(0,I1.jsx)(Z,{minW:0,display:"flex",alignItems:"center",flex:"1",children:r}):(0,I1.jsxs)(Ht,{align:"start",gap:0,minW:0,flex:"1",justify:"center",children:[t&&(0,I1.jsx)(et,{fontSize:"sm",fontWeight:"semibold",lineHeight:"1.2",truncate:!0,w:"full",children:t}),a&&(0,I1.jsx)(et,{fontSize:"xs",lineHeight:"1.2",color:"fg.subtle",truncate:!0,w:"full",children:a})]})}hw.displayName="PageHeader.Title";function cw({children:t}){return(0,I1.jsx)(Bt,{gap:1,align:"center",flexShrink:0,children:t})}cw.displayName="PageHeader.Actions";function dw({defaultValue:t="",onChange:a,placeholder:r="Search\u2026",debounceMs:e=150}){let i=(0,aa.useRef)(a);i.current=a;let o=(0,aa.useRef)(null);return(0,aa.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]),(0,I1.jsxs)(Bt,{gap:2,align:"center",h:8,px:3,rounded:"md",bg:"bg.muted",w:{base:"auto",md:"220px"},display:{base:"none",md:"flex"},children:[(0,I1.jsx)(Z,{color:"fg.subtle",display:"inline-flex",children:(0,I1.jsx)(tw,{size:14})}),(0,I1.jsx)(Wl,{variant:"outline",border:"none",outline:"none",bg:"transparent",h:"full",p:0,fontSize:"sm",defaultValue:t,placeholder:r,onChange:n=>{let h=n.target.value;if(e<=0){i.current(h);return}o.current&&clearTimeout(o.current),o.current=setTimeout(()=>i.current(h),e)},_placeholder:{color:"fg.subtle"},_focus:{boxShadow:"none",outline:"none"}}),(0,I1.jsx)(et,{as:"span",fontSize:"2xs",color:"fg.subtle",fontFamily:"mono",px:1,rounded:"sm",bg:"bg.muted",children:"\u2318K"})]})}dw.displayName="PageHeader.Search";var jr=Object.assign(nw,{Title:hw,Actions:cw,Search:dw,Fade:Fi});function sw(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"},child:[]},{tag:"path",attr:{d:"M9 4l0 16"},child:[]}]})(t)}var u1=W(K(),1);function $6({label:t,dir:a,disabled:r,children:e}){return(0,u1.jsxs)(Wr.Root,{openDelay:300,closeDelay:100,positioning:{placement:a==="rtl"?"left":"right"},disabled:r,children:[(0,u1.jsx)(Wr.Trigger,{asChild:!0,children:(0,u1.jsx)(Z,{w:"fit-content",children:e})}),(0,u1.jsx)(Wr.Positioner,{children:(0,u1.jsx)(Wr.Content,{children:t})})]})}function pw({item:t,active:a,expanded:r,dir:e,onNavigate:i,renderLink:o}){let l=(0,u1.jsxs)(Bt,{gap:z1.sidebarItemGap,px:z1.sidebarItemPx,py:z1.sidebarItemPy,h:8,rounded:"md",bg:a?"bg.subtle":"transparent",color:a?"fg":"fg.muted",_hover:{bg:"bg.subtle",color:"fg"},transition:"background 0.15s, color 0.15s",w:r?"full":"fit-content",justify:"start",cursor:"pointer",children:[(0,u1.jsx)(Z,{flexShrink:0,w:"18px",h:"18px",display:"flex",alignItems:"center",justifyContent:"center",color:a?"primary.fg":"inherit",children:t.icon}),r&&(0,u1.jsxs)(u1.Fragment,{children:[(0,u1.jsx)(et,{fontSize:"sm",fontWeight:a?"medium":"normal",flex:1,truncate:!0,children:t.label}),t.badge!==void 0&&(0,u1.jsx)(et,{fontSize:"xs",fontFamily:"mono",color:"fg.subtle",fontWeight:"normal",children:t.badge})]})]}),n=(0,u1.jsx)(Z,{onClick:i,w:r?"full":"fit-content",children:l}),h=t.href===void 0?(0,u1.jsx)(Et.button,{type:"button",w:r?"full":"fit-content",textAlign:"start",children:n}):o?o(t.href,n):(0,u1.jsx)(Et.a,{href:t.href,display:"block",textDecoration:"none",children:n});return r?(0,u1.jsx)(u1.Fragment,{children:h}):(0,u1.jsx)($6,{label:t.label,dir:e,children:h})}var o2=W(K(),1);function Al({brand:t,nav:a,active:r,onNavigate:e,renderLink:i,onBrandClick:o,expanded:l=!0,onToggle:n,railBody:h,navFooter:c,footer:d}){let{dir:s}=ti(),p=n&&(0,o2.jsx)($6,{label:l?"Collapse sidebar":"Expand sidebar",dir:s,disabled:l,children:(0,o2.jsx)(Et.button,{type:"button",display:"flex",alignItems:"center",justifyContent:"center",w:4,h:4,flexShrink:0,bg:"transparent",border:"none",outline:"none",cursor:"pointer",color:"fg.muted",_hover:{color:"fg"},onClick:u=>{u.stopPropagation(),n()},"aria-label":l?"Collapse sidebar":"Expand sidebar",children:(0,o2.jsx)(sw,{size:18})})}),g=u=>u.map(f=>(0,o2.jsx)(pw,{item:f,active:f.key===r,expanded:l,dir:s,onNavigate:()=>e(f.key),renderLink:i},f.key));return(0,o2.jsxs)(o2.Fragment,{children:[(0,o2.jsx)(Bt,{px:z1.sidebarPx,py:z1.headerPy,h:z1.sidebarHeaderH,alignItems:"center",justify:"start",flex:"none",children:(0,o2.jsxs)(Bt,{gap:z1.sidebarItemGap,px:z1.sidebarItemPx,w:l?void 0:"fit-content",cursor:o?"pointer":void 0,onClick:o,_hover:o?{opacity:.8}:void 0,children:[p,l&&t]})}),(0,o2.jsx)(Ht,{px:z1.sidebarPx,gap:z1.sidebarGap,align:"stretch",flex:"none",children:g(a)}),h&&(0,o2.jsx)(Z,{flex:1,minH:0,children:h}),c&&(0,o2.jsx)(Ht,{px:z1.sidebarPx,gap:z1.sidebarGap,align:"stretch",flex:"none",mt:h?0:"auto",children:g(c)}),d&&(0,o2.jsx)(Z,{flex:"none",mt:h||c?0:"auto",children:d})]})}var ra=W(K(),1);function Pl({aside:t,title:a,subtitle:r,actions:e,children:i,...o}){let l=o.expanded??!0;return(0,ra.jsxs)(W1,{direction:{base:"column",md:"row"},h:"full",w:"full",overflow:"hidden",bg:"bg.canvas",p:{base:0,md:2},gap:{base:0,md:2},children:[(0,ra.jsx)(Z,{as:"aside",h:"full",w:`${l?z1.sidebarExpandedWidth:z1.sidebarCollapsedWidth}px`,flexShrink:0,transition:"width 0.2s ease",display:{base:"none",md:"flex"},flexDirection:"column",bg:"bg.panel",rounded:"xl",overflow:"hidden",children:(0,ra.jsx)(Al,{...o})}),(0,ra.jsxs)(W1,{direction:"column",flex:1,minW:0,minH:0,bg:"transparent",overflow:"hidden",pt:{base:"env(safe-area-inset-top)",md:0},position:"relative",children:[(a||r||e)&&(0,ra.jsxs)(jr,{children:[(0,ra.jsx)(jr.Title,{title:a,subtitle:r}),e&&(0,ra.jsx)(jr.Actions,{children:e})]}),i]}),t]})}var gw=W(K(),1);var vw=W(K(),1);var uw=W(K(),1);function y2({color:t,hollow:a=!1,size:r=2}){return(0,uw.jsx)(Z,{flex:"none",w:r,h:r,borderRadius:"full",bg:a?"transparent":t,borderWidth:a?"1.5px":void 0,borderColor:a?t:void 0})}var Or=W(K(),1);function Ar({label:t,count:a,color:r,pressed:e,dimmed:i,onPress:o}){return(0,Or.jsx)(Z,{as:"button",onClick:o,"aria-pressed":e,cursor:o?"pointer":"default",borderRadius:"full",borderWidth:"1px",borderColor:e?"primary.solid":"border.subtle",bg:e?"bg.emphasized":"bg.subtle",opacity:i&&!e?.45:1,px:2,py:.5,transition:"opacity 120ms, border-color 120ms, background 120ms",_hover:o?{bg:"bg.emphasized"}:void 0,children:(0,Or.jsxs)(Bt,{gap:1.5,children:[r&&(0,Or.jsx)(y2,{color:r}),(0,Or.jsx)(et,{fontSize:"xs",fontWeight:"semibold",color:"fg",lineHeight:"1",children:a}),(0,Or.jsx)(et,{fontSize:"xs",color:"fg.muted",lineHeight:"1",children:t})]})})}var Jt=W(K(),1),oA="200px";function lA(t){let a=new Map;for(let r of t){let e=a.get(r.lane);e?e.push(r):a.set(r.lane,[r])}return a}function nA(t,a){let r=new Set(t.map(i=>i.id)),e=[...a].filter(i=>!r.has(i)).sort();return[...t,...e.map(i=>({id:i}))]}function hA({card:t,selected:a,onSelect:r}){return(0,Jt.jsx)(Et.button,{type:"button",textAlign:"start",w:"full",bg:"bg.panel",borderWidth:"1px",borderColor:a?"primary.solid":"border.subtle",borderRadius:"lg",px:3,py:2.5,cursor:r?"pointer":"default",transition:"border-color 120ms, background 120ms",_hover:r?{borderColor:a?"primary.solid":"border.emphasized"}:{},onClick:()=>r?.(t.id),children:(0,Jt.jsxs)(Bt,{align:"start",gap:2,children:[t.color&&(0,Jt.jsx)(Z,{pt:1.5,children:(0,Jt.jsx)(y2,{color:t.color,hollow:t.hollow??!1})}),(0,Jt.jsxs)(Ht,{align:"stretch",gap:.5,flex:1,minW:0,children:[(0,Jt.jsx)(et,{fontSize:"sm",color:"fg",lineClamp:3,children:t.title}),t.note&&(0,Jt.jsx)(et,{fontSize:"xs",color:"fg.muted",truncate:!0,children:t.note})]})]})})}function cA({lane:t,cards:a,selectedId:r,onSelect:e}){return(0,Jt.jsxs)(Ht,{align:"stretch",gap:2,minW:0,children:[(0,Jt.jsxs)(Bt,{gap:2,px:1,children:[t.color&&(0,Jt.jsx)(y2,{color:t.color}),(0,Jt.jsx)(et,{fontSize:"xs",fontWeight:"semibold",color:"fg.muted",textTransform:"uppercase",letterSpacing:"wider",truncate:!0,children:t.title??t.id}),(0,Jt.jsx)(et,{fontSize:"xs",color:"fg.subtle",ms:"auto",children:a.length})]}),a.length===0?(0,Jt.jsx)(Z,{borderWidth:"1px",borderStyle:"dashed",borderColor:"border.subtle",borderRadius:"lg",px:3,py:3,children:(0,Jt.jsx)(et,{fontSize:"xs",color:"fg.subtle",children:"Empty"})}):(0,Jt.jsx)(Ht,{align:"stretch",gap:2,children:a.map(i=>(0,Jt.jsx)(hA,{card:i,selected:i.id===r,...e?{onSelect:e}:{}},i.id))})]})}function El({lanes:t,cards:a,selectedId:r,onSelect:e,empty:i}){let o=lA(a),l=nA(t,o.keys());return a.length===0?(0,Jt.jsx)(W1,{flex:1,align:"center",justify:"center",p:6,children:(0,Jt.jsx)(et,{fontSize:"sm",color:"fg.subtle",textAlign:"center",children:i??"Nothing here yet."})}):(0,Jt.jsx)(Z,{flex:1,minH:0,minW:0,overflow:"auto",p:4,children:(0,Jt.jsx)(Z,{display:"grid",gridTemplateColumns:`repeat(${l.length}, minmax(${oA}, 1fr))`,gap:3,alignItems:"start",children:l.map(n=>(0,Jt.jsx)(cA,{lane:n,cards:o.get(n.id)??[],selectedId:r??null,...e?{onSelect:e}:{}},n.id))})})}var Y6=W(K(),1);function Rl({segments:t}){let a=t.filter(e=>e.count>0),r=a.reduce((e,i)=>e+i.count,0);return r===0?null:(0,Y6.jsx)(W1,{h:"1.5",w:"full",borderRadius:"full",overflow:"hidden",bg:"bg.subtle",gap:"1px",children:a.map(e=>(0,Y6.jsx)(Z,{bg:e.color,flexBasis:`${e.count/r*100}%`,title:`${e.count} ${e.label}`},e.label))})}var Mw=W(at(),1),Pr=W(K(),1);function $a({icon:t,title:a,description:r,variant:e="default"}){let i=e==="card";return(0,Pr.jsx)(Ga.Root,{py:12,...i?{borderWidth:"1px",borderColor:"border.subtle",rounded:"2xl",h:"full",display:"flex",alignItems:"center",justifyContent:"center"}:{},children:(0,Pr.jsxs)(Ga.Content,{children:[t&&(0,Pr.jsx)(Ga.Indicator,{children:(0,Mw.createElement)(t,{size:24})}),(0,Pr.jsx)(Ga.Title,{children:a}),r&&(0,Pr.jsx)(Ga.Description,{children:r})]})})}var fw=W(K(),1);function Ii({value:t,onChange:a,placeholder:r}){return(0,fw.jsx)(Wl,{type:"search",placeholder:r??"Filter what is on screen\u2026",value:t,onChange:e=>a(e.target.value),rounded:"2xl",h:"8",bg:"bg.subtle",borderWidth:"1px",borderColor:"border.emphasized",_hover:{borderColor:"border.emphasized"},_focusVisible:{borderColor:"primary.solid",outline:"none"}})}var en=W(at(),1);function mw(t,a){let r=a||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var dA=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,sA=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,pA={};function mc(t,a){return((a||pA).jsx?sA:dA).test(t)}var gA=/[ \t\n\f\r]/g;function X6(t){return typeof t=="object"?t.type==="text"?xw(t.value):!1:xw(t)}function xw(t){return t.replace(gA,"")===""}var ea=class{constructor(a,r,e){this.normal=r,this.property=a,e&&(this.space=e)}};ea.prototype.normal={};ea.prototype.property={};ea.prototype.space=void 0;function Q6(t,a){let r={},e={};for(let i of t)Object.assign(r,i.property),Object.assign(e,i.normal);return new ea(r,e,a)}function _l(t){return t.toLowerCase()}var j1=class{constructor(a,r){this.attribute=r,this.property=a}};j1.prototype.attribute="";j1.prototype.booleanish=!1;j1.prototype.boolean=!1;j1.prototype.commaOrSpaceSeparated=!1;j1.prototype.commaSeparated=!1;j1.prototype.defined=!1;j1.prototype.mustUseProperty=!1;j1.prototype.number=!1;j1.prototype.overloadedBoolean=!1;j1.prototype.property="";j1.prototype.spaceSeparated=!1;j1.prototype.space=void 0;var Fl={};hn(Fl,{boolean:()=>ct,booleanish:()=>r1,commaOrSpaceSeparated:()=>v2,commaSeparated:()=>ia,number:()=>U,overloadedBoolean:()=>xc,spaceSeparated:()=>Tt});var vA=0,ct=Er(),r1=Er(),xc=Er(),U=Er(),Tt=Er(),ia=Er(),v2=Er();function Er(){return 2**++vA}var Z6=Object.keys(Fl),Rr=class extends j1{constructor(a,r,e,i){let o=-1;if(super(a,r),zw(this,"space",i),typeof e=="number")for(;++o<Z6.length;){let l=Z6[o];zw(this,Z6[o],(e&Fl[l])===Fl[l])}}};Rr.prototype.defined=!0;function zw(t,a,r){r&&(t[a]=r)}function q2(t){let a={},r={};for(let[e,i]of Object.entries(t.properties)){let o=new Rr(e,t.transform(t.attributes||{},e),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(e)&&(o.mustUseProperty=!0),a[e]=o,r[_l(e)]=e,r[_l(o.attribute)]=e}return new ea(a,r,t.space)}var J6=q2({properties:{ariaActiveDescendant:null,ariaAtomic:r1,ariaAutoComplete:null,ariaBusy:r1,ariaChecked:r1,ariaColCount:U,ariaColIndex:U,ariaColSpan:U,ariaControls:Tt,ariaCurrent:null,ariaDescribedBy:Tt,ariaDetails:null,ariaDisabled:r1,ariaDropEffect:Tt,ariaErrorMessage:null,ariaExpanded:r1,ariaFlowTo:Tt,ariaGrabbed:r1,ariaHasPopup:null,ariaHidden:r1,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Tt,ariaLevel:U,ariaLive:null,ariaModal:r1,ariaMultiLine:r1,ariaMultiSelectable:r1,ariaOrientation:null,ariaOwns:Tt,ariaPlaceholder:null,ariaPosInSet:U,ariaPressed:r1,ariaReadOnly:r1,ariaRelevant:null,ariaRequired:r1,ariaRoleDescription:Tt,ariaRowCount:U,ariaRowIndex:U,ariaRowSpan:U,ariaSelected:r1,ariaSetSize:U,ariaSort:null,ariaValueMax:U,ariaValueMin:U,ariaValueNow:U,ariaValueText:null,role:null},transform(t,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function zc(t,a){return a in t?t[a]:a}function kc(t,a){return zc(t,a.toLowerCase())}var kw=q2({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ia,acceptCharset:Tt,accessKey:Tt,action:null,allow:null,allowFullScreen:ct,allowPaymentRequest:ct,allowUserMedia:ct,alpha:ct,alt:null,as:null,async:ct,autoCapitalize:null,autoComplete:Tt,autoFocus:ct,autoPlay:ct,blocking:Tt,capture:null,charSet:null,checked:ct,cite:null,className:Tt,closedBy:null,colorSpace:null,cols:U,colSpan:U,command:null,commandFor:null,content:null,contentEditable:r1,controls:ct,controlsList:Tt,coords:U|ia,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ct,defer:ct,dir:null,dirName:null,disabled:ct,download:xc,draggable:r1,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ct,formTarget:null,headers:Tt,height:U,hidden:xc,high:U,href:null,hrefLang:null,htmlFor:Tt,httpEquiv:Tt,id:null,imageSizes:null,imageSrcSet:null,inert:ct,inputMode:null,integrity:null,is:null,isMap:ct,itemId:null,itemProp:Tt,itemRef:Tt,itemScope:ct,itemType:Tt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ct,low:U,manifest:null,max:null,maxLength:U,media:null,method:null,min:null,minLength:U,multiple:ct,muted:ct,name:null,nonce:null,noModule:ct,noValidate:ct,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ct,optimum:U,pattern:null,ping:Tt,placeholder:null,playsInline:ct,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ct,referrerPolicy:null,rel:Tt,required:ct,reversed:ct,rows:U,rowSpan:U,sandbox:Tt,scope:null,scoped:ct,seamless:ct,selected:ct,shadowRootClonable:ct,shadowRootCustomElementRegistry:ct,shadowRootDelegatesFocus:ct,shadowRootMode:null,shadowRootSerializable:ct,shape:null,size:U,sizes:null,slot:null,span:U,spellCheck:r1,src:null,srcDoc:null,srcLang:null,srcSet:null,start:U,step:null,style:null,tabIndex:U,target:null,title:null,translate:null,type:null,typeMustMatch:ct,useMap:null,value:r1,width:U,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Tt,axis:null,background:null,bgColor:null,border:U,borderColor:null,bottomMargin:U,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ct,declare:ct,event:null,face:null,frame:null,frameBorder:null,hSpace:U,leftMargin:U,link:null,longDesc:null,lowSrc:null,marginHeight:U,marginWidth:U,noResize:ct,noHref:ct,noShade:ct,noWrap:ct,object:null,profile:null,prompt:null,rev:null,rightMargin:U,rules:null,scheme:null,scrolling:r1,standby:null,summary:null,text:null,topMargin:U,valueType:null,version:null,vAlign:null,vLink:null,vSpace:U,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:ct,disablePictureInPicture:ct,disableRemotePlayback:ct,exportParts:ia,part:Tt,prefix:null,property:null,results:U,security:null,unselectable:null},space:"html",transform:kc});var Lw=q2({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:v2,accentHeight:U,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:U,amplitude:U,arabicForm:null,ascent:U,attributeName:null,attributeType:null,azimuth:U,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:U,by:null,calcMode:null,capHeight:U,className:Tt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:U,diffuseConstant:U,direction:null,display:null,dur:null,divisor:U,dominantBaseline:null,download:ct,dx:null,dy:null,edgeMode:null,editable:null,elevation:U,enableBackground:null,end:null,event:null,exponent:U,externalResourcesRequired:null,fill:null,fillOpacity:U,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ia,g2:ia,glyphName:ia,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:U,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:U,horizOriginX:U,horizOriginY:U,id:null,ideographic:U,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:U,k:U,k1:U,k2:U,k3:U,k4:U,kernelMatrix:v2,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:U,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:U,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:U,overlineThickness:U,paintOrder:null,panose1:null,path:null,pathLength:U,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Tt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:U,pointsAtY:U,pointsAtZ:U,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:v2,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:v2,rev:v2,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:v2,requiredFeatures:v2,requiredFonts:v2,requiredFormats:v2,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:U,specularExponent:U,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:U,strikethroughThickness:U,string:null,stroke:null,strokeDashArray:v2,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:U,strokeOpacity:U,strokeWidth:null,style:null,surfaceScale:U,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:v2,tabIndex:U,tableValues:null,target:null,targetX:U,targetY:U,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:v2,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:U,underlineThickness:U,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:U,values:null,vAlphabetic:U,vMathematical:U,vectorEffect:null,vHanging:U,vIdeographic:U,version:null,vertAdvY:U,vertOriginX:U,vertOriginY:U,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:U,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:zc});var t7=q2({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,a){return"xlink:"+a.slice(5).toLowerCase()}});var a7=q2({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:kc});var r7=q2({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,a){return"xml:"+a.slice(3).toLowerCase()}});var e7={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var uA=/[A-Z]/g,ww=/-[a-z]/g,MA=/^data[-\w.:]+$/i;function i7(t,a){let r=_l(a),e=a,i=j1;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&MA.test(a)){if(a.charAt(4)==="-"){let o=a.slice(5).replace(ww,mA);e="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=a.slice(4);if(!ww.test(o)){let l=o.replace(uA,fA);l.charAt(0)!=="-"&&(l="-"+l),a="data"+l}}i=Rr}return new i(e,a)}function fA(t){return"-"+t.toLowerCase()}function mA(t){return t.charAt(1).toUpperCase()}var bw=Q6([J6,kw,t7,a7,r7],"html"),Lc=Q6([J6,Lw,t7,a7,r7],"svg");function Hw(t){return t.join(" ").trim()}var Fw=W(Pw(),1);var bc=Ew("end"),Di=Ew("start");function Ew(t){return a;function a(r){let e=r&&r.position&&r.position[t]||{};if(typeof e.line=="number"&&e.line>0&&typeof e.column=="number"&&e.column>0)return{line:e.line,column:e.column,offset:typeof e.offset=="number"&&e.offset>-1?e.offset:void 0}}}function n7(t){let a=Di(t),r=bc(t);if(a&&r)return{start:a,end:r}}function Ka(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Rw(t.position):"start"in t||"end"in t?Rw(t):"line"in t||"column"in t?h7(t):""}function h7(t){return _w(t&&t.line)+":"+_w(t&&t.column)}function Rw(t){return h7(t&&t.start)+"-"+h7(t&&t.end)}function _w(t){return t&&typeof t=="number"?t:1}var c1=class extends Error{constructor(a,r,e){super(),typeof r=="string"&&(e=r,r=void 0);let i="",o={},l=!1;if(r&&("line"in r&&"column"in r?o={place:r}:"start"in r&&"end"in r?o={place:r}:"type"in r?o={ancestors:[r],place:r.position}:o={...r}),typeof a=="string"?i=a:!o.cause&&a&&(l=!0,i=a.message,o.cause=a),!o.ruleId&&!o.source&&typeof e=="string"){let h=e.indexOf(":");h===-1?o.ruleId=e:(o.source=e.slice(0,h),o.ruleId=e.slice(h+1))}if(!o.place&&o.ancestors&&o.ancestors){let h=o.ancestors[o.ancestors.length-1];h&&(o.place=h.position)}let n=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=n?n.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=n?n.line:void 0,this.name=Ka(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};c1.prototype.file="";c1.prototype.name="";c1.prototype.reason="";c1.prototype.message="";c1.prototype.stack="";c1.prototype.column=void 0;c1.prototype.line=void 0;c1.prototype.ancestors=void 0;c1.prototype.cause=void 0;c1.prototype.fatal=void 0;c1.prototype.place=void 0;c1.prototype.ruleId=void 0;c1.prototype.source=void 0;var c7={}.hasOwnProperty,UA=new Map,GA=/[A-Z]/g,qA=new Set(["table","tbody","thead","tfoot","tr"]),$A=new Set(["td","th"]),Iw="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function d7(t,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let r=a.filePath||void 0,e;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");e=aP(r,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");e=tP(r,a.jsx,a.jsxs)}let i={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:e,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?Lc:bw,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},o=Dw(i,t,void 0);return o&&typeof o!="string"?o:i.create(t,i.Fragment,{children:o||void 0},void 0)}function Dw(t,a,r){if(a.type==="element")return KA(t,a,r);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return YA(t,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return QA(t,a,r);if(a.type==="mdxjsEsm")return XA(t,a);if(a.type==="root")return ZA(t,a,r);if(a.type==="text")return JA(t,a)}function KA(t,a,r){let e=t.schema,i=e;a.tagName.toLowerCase()==="svg"&&e.space==="html"&&(i=Lc,t.schema=i),t.ancestors.push(a);let o=Uw(t,a.tagName,!1),l=rP(t,a),n=p7(t,a);return qA.has(a.tagName)&&(n=n.filter(function(h){return typeof h=="string"?!X6(h):!0})),Nw(t,l,o,a),s7(l,n),t.ancestors.pop(),t.schema=e,t.create(a,o,l,r)}function YA(t,a){if(a.data&&a.data.estree&&t.evaluater){let e=a.data.estree.body[0];return e.type,t.evaluater.evaluateExpression(e.expression)}Dl(t,a.position)}function XA(t,a){if(a.data&&a.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(a.data.estree);Dl(t,a.position)}function QA(t,a,r){let e=t.schema,i=e;a.name==="svg"&&e.space==="html"&&(i=Lc,t.schema=i),t.ancestors.push(a);let o=a.name===null?t.Fragment:Uw(t,a.name,!0),l=eP(t,a),n=p7(t,a);return Nw(t,l,o,a),s7(l,n),t.ancestors.pop(),t.schema=e,t.create(a,o,l,r)}function ZA(t,a,r){let e={};return s7(e,p7(t,a)),t.create(a,t.Fragment,e,r)}function JA(t,a){return a.value}function Nw(t,a,r,e){typeof r!="string"&&r!==t.Fragment&&t.passNode&&(a.node=e)}function s7(t,a){if(a.length>0){let r=a.length>1?a:a[0];r&&(t.children=r)}}function tP(t,a,r){return e;function e(i,o,l,n){let c=Array.isArray(l.children)?r:a;return n?c(o,l,n):c(o,l)}}function aP(t,a){return r;function r(e,i,o,l){let n=Array.isArray(o.children),h=Di(e);return a(i,o,l,n,{columnNumber:h?h.column-1:void 0,fileName:t,lineNumber:h?h.line:void 0},void 0)}}function rP(t,a){let r={},e,i;for(i in a.properties)if(i!=="children"&&c7.call(a.properties,i)){let o=iP(t,i,a.properties[i]);if(o){let[l,n]=o;t.tableCellAlignToStyle&&l==="align"&&typeof n=="string"&&$A.has(a.tagName)?e=n:r[l]=n}}if(e){let o=r.style||(r.style={});o[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=e}return r}function eP(t,a){let r={};for(let e of a.attributes)if(e.type==="mdxJsxExpressionAttribute")if(e.data&&e.data.estree&&t.evaluater){let o=e.data.estree.body[0];o.type;let l=o.expression;l.type;let n=l.properties[0];n.type,Object.assign(r,t.evaluater.evaluateExpression(n.argument))}else Dl(t,a.position);else{let i=e.name,o;if(e.value&&typeof e.value=="object")if(e.value.data&&e.value.data.estree&&t.evaluater){let n=e.value.data.estree.body[0];n.type,o=t.evaluater.evaluateExpression(n.expression)}else Dl(t,a.position);else o=e.value===null?!0:e.value;r[i]=o}return r}function p7(t,a){let r=[],e=-1,i=t.passKeys?new Map:UA;for(;++e<a.children.length;){let o=a.children[e],l;if(t.passKeys){let h=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(h){let c=i.get(h)||0;l=h+"-"+c,i.set(h,c+1)}}let n=Dw(t,o,l);n!==void 0&&r.push(n)}return r}function iP(t,a,r){let e=i7(t.schema,a);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=e.commaSeparated?mw(r):Hw(r)),e.property==="style"){let i=typeof r=="object"?r:oP(t,String(r));return t.stylePropertyNameCase==="css"&&(i=lP(i)),["style",i]}return[t.elementAttributeNameCase==="react"&&e.space?e7[e.property]||e.property:e.attribute,r]}}function oP(t,a){try{return(0,Fw.default)(a,{reactCompat:!0})}catch(r){if(t.ignoreInvalidStyle)return{};let e=r,i=new c1("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:e,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=t.filePath||void 0,i.url=Iw+"#cannot-parse-style-attribute",i}}function Uw(t,a,r){let e;if(!r)e={type:"Literal",value:a};else if(a.includes(".")){let i=a.split("."),o=-1,l;for(;++o<i.length;){let n=mc(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};l=l?{type:"MemberExpression",object:l,property:n,computed:!!(o&&n.type==="Literal"),optional:!1}:n}e=l}else e=mc(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(e.type==="Literal"){let i=e.value;return c7.call(t.components,i)?t.components[i]:i}if(t.evaluater)return t.evaluater.evaluateExpression(e);Dl(t)}function Dl(t,a){let r=new c1("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=t.filePath||void 0,r.url=Iw+"#cannot-handle-mdx-estrees-without-createevaluater",r}function lP(t){let a={},r;for(r in t)c7.call(t,r)&&(a[nP(r)]=t[r]);return a}function nP(t){let a=t.replace(GA,hP);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function hP(t){return"-"+t.toLowerCase()}var Nl={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var qi=W(K(),1),fH=W(at(),1);var cP={};function Fr(t,a){let r=a||cP,e=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return qw(t,e,i)}function qw(t,a,r){if(dP(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(a&&"alt"in t&&t.alt)return t.alt;if("children"in t)return Gw(t.children,a,r)}return Array.isArray(t)?Gw(t,a,r):""}function Gw(t,a,r){let e=[],i=-1;for(;++i<t.length;)e[i]=qw(t[i],a,r);return e.join("")}function dP(t){return!!(t&&typeof t=="object")}var $w=document.createElement("i");function Ni(t){let a="&"+t+";";$w.innerHTML=a;let r=$w.textContent;return r.charCodeAt(r.length-1)===59&&t!=="semi"||r===a?!1:r}function d1(t,a,r,e){let i=t.length,o=0,l;if(a<0?a=-a>i?0:i+a:a=a>i?i:a,r=r>0?r:0,e.length<1e4)l=Array.from(e),l.unshift(a,r),t.splice(...l);else for(r&&t.splice(a,r);o<e.length;)l=e.slice(o,o+1e4),l.unshift(a,0),t.splice(...l),o+=1e4,a+=1e4}function l2(t,a){return t.length>0?(d1(t,t.length,0,a),t):a}var Kw={}.hasOwnProperty;function Hc(t){let a={},r=-1;for(;++r<t.length;)sP(a,t[r]);return a}function sP(t,a){let r;for(r in a){let i=(Kw.call(t,r)?t[r]:void 0)||(t[r]={}),o=a[r],l;if(o)for(l in o){Kw.call(i,l)||(i[l]=[]);let n=o[l];pP(i[l],Array.isArray(n)?n:n?[n]:[])}}}function pP(t,a){let r=-1,e=[];for(;++r<a.length;)(a[r].add==="after"?t:e).push(a[r]);d1(t,0,0,e)}function Cc(t,a){let r=Number.parseInt(t,a);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCodePoint(r)}function K1(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var k1=Ya(/[A-Za-z]/),e1=Ya(/[\dA-Za-z]/),Yw=Ya(/[#-'*+\--9=?A-Z^-~]/);function Ir(t){return t!==null&&(t<32||t===127)}var Ul=Ya(/\d/),Xw=Ya(/[\dA-Fa-f]/),Qw=Ya(/[!-/:-@[-`{-~]/);function Y(t){return t!==null&&t<-2}function Mt(t){return t!==null&&(t<0||t===32)}function ht(t){return t===-2||t===-1||t===32}var Dr=Ya(/\p{P}|\p{S}/u),W0=Ya(/\s/);function Ya(t){return a;function a(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function $2(t){let a=[],r=-1,e=0,i=0;for(;++r<t.length;){let o=t.charCodeAt(r),l="";if(o===37&&e1(t.charCodeAt(r+1))&&e1(t.charCodeAt(r+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){let n=t.charCodeAt(r+1);o<56320&&n>56319&&n<57344?(l=String.fromCharCode(o,n),i=1):l="\uFFFD"}else l=String.fromCharCode(o);l&&(a.push(t.slice(e,r),encodeURIComponent(l)),e=r+i+1,l=""),i&&(r+=i,i=0)}return a.join("")+t.slice(e)}function ot(t,a,r,e){let i=e?e-1:Number.POSITIVE_INFINITY,o=0;return l;function l(h){return ht(h)?(t.enter(r),n(h)):a(h)}function n(h){return ht(h)&&o++<i?(t.consume(h),n):(t.exit(r),a(h))}}var Zw={tokenize:gP};function gP(t){let a=t.attempt(this.parser.constructs.contentInitial,e,i),r;return a;function e(n){if(n===null){t.consume(n);return}return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),ot(t,a,"linePrefix")}function i(n){return t.enter("paragraph"),o(n)}function o(n){let h=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=h),r=h,l(n)}function l(n){if(n===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(n);return}return Y(n)?(t.consume(n),t.exit("chunkText"),o):(t.consume(n),l)}}var tb={tokenize:vP},Jw={tokenize:uP};function vP(t){let a=this,r=[],e=0,i,o,l;return n;function n(m){if(e<r.length){let L=r[e];return a.containerState=L[1],t.attempt(L[0].continuation,h,c)(m)}return c(m)}function h(m){if(e++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,i&&M();let L=a.events.length,H=L,x;for(;H--;)if(a.events[H][0]==="exit"&&a.events[H][1].type==="chunkFlow"){x=a.events[H][1].end;break}v(e);let B=L;for(;B<a.events.length;)a.events[B][1].end={...x},B++;return d1(a.events,H+1,0,a.events.slice(L)),a.events.length=B,c(m)}return n(m)}function c(m){if(e===r.length){if(!i)return p(m);if(i.currentConstruct&&i.currentConstruct.concrete)return u(m);a.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return a.containerState={},t.check(Jw,d,s)(m)}function d(m){return i&&M(),v(e),p(m)}function s(m){return a.parser.lazy[a.now().line]=e!==r.length,l=a.now().offset,u(m)}function p(m){return a.containerState={},t.attempt(Jw,g,u)(m)}function g(m){return e++,r.push([a.currentConstruct,a.containerState]),p(m)}function u(m){if(m===null){i&&M(),v(0),t.consume(m);return}return i=i||a.parser.flow(a.now()),t.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),f(m)}function f(m){if(m===null){z(t.exit("chunkFlow"),!0),v(0),t.consume(m);return}return Y(m)?(t.consume(m),z(t.exit("chunkFlow")),e=0,a.interrupt=void 0,n):(t.consume(m),f)}function z(m,L){let H=a.sliceStream(m);if(L&&H.push(null),m.previous=o,o&&(o.next=m),o=m,i.defineSkip(m.start),i.write(H),a.parser.lazy[m.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<l&&(!i.events[x][1].end||i.events[x][1].end.offset>l))return;let B=a.events.length,C=B,S,k;for(;C--;)if(a.events[C][0]==="exit"&&a.events[C][1].type==="chunkFlow"){if(S){k=a.events[C][1].end;break}S=!0}for(v(e),x=B;x<a.events.length;)a.events[x][1].end={...k},x++;d1(a.events,C+1,0,a.events.slice(B)),a.events.length=x}}function v(m){let L=r.length;for(;L-- >m;){let H=r[L];a.containerState=H[1],H[0].exit.call(a,t)}r.length=m}function M(){i.write([null]),o=void 0,i=void 0,a.containerState._closeFlow=void 0}}function uP(t,a,r){return ot(t,t.attempt(this.parser.constructs.document,a,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function oa(t){if(t===null||Mt(t)||W0(t))return 1;if(Dr(t))return 2}function Xa(t,a,r){let e=[],i=-1;for(;++i<t.length;){let o=t[i].resolveAll;o&&!e.includes(o)&&(a=o(a,r),e.push(o))}return a}var Gl={name:"attention",resolveAll:MP,tokenize:fP};function MP(t,a){let r=-1,e,i,o,l,n,h,c,d;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(e=r;e--;)if(t[e][0]==="exit"&&t[e][1].type==="attentionSequence"&&t[e][1]._open&&a.sliceSerialize(t[e][1]).charCodeAt(0)===a.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[e][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[e][1].end.offset-t[e][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;h=t[e][1].end.offset-t[e][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;let s={...t[e][1].end},p={...t[r][1].start};ab(s,-h),ab(p,h),l={type:h>1?"strongSequence":"emphasisSequence",start:s,end:{...t[e][1].end}},n={type:h>1?"strongSequence":"emphasisSequence",start:{...t[r][1].start},end:p},o={type:h>1?"strongText":"emphasisText",start:{...t[e][1].end},end:{...t[r][1].start}},i={type:h>1?"strong":"emphasis",start:{...l.start},end:{...n.end}},t[e][1].end={...l.start},t[r][1].start={...n.end},c=[],t[e][1].end.offset-t[e][1].start.offset&&(c=l2(c,[["enter",t[e][1],a],["exit",t[e][1],a]])),c=l2(c,[["enter",i,a],["enter",l,a],["exit",l,a],["enter",o,a]]),c=l2(c,Xa(a.parser.constructs.insideSpan.null,t.slice(e+1,r),a)),c=l2(c,[["exit",o,a],["enter",n,a],["exit",n,a],["exit",i,a]]),t[r][1].end.offset-t[r][1].start.offset?(d=2,c=l2(c,[["enter",t[r][1],a],["exit",t[r][1],a]])):d=0,d1(t,e-1,r-e+3,c),r=e+c.length-d-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function fP(t,a){let r=this.parser.constructs.attentionMarkers.null,e=this.previous,i=oa(e),o;return l;function l(h){return o=h,t.enter("attentionSequence"),n(h)}function n(h){if(h===o)return t.consume(h),n;let c=t.exit("attentionSequence"),d=oa(h),s=!d||d===2&&i||r.includes(h),p=!i||i===2&&d||r.includes(e);return c._open=!!(o===42?s:s&&(i||!p)),c._close=!!(o===42?p:p&&(d||!s)),a(h)}}function ab(t,a){t.column+=a,t.offset+=a,t._bufferIndex+=a}var g7={name:"autolink",tokenize:mP};function mP(t,a,r){let e=0;return i;function i(g){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(g),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o}function o(g){return k1(g)?(t.consume(g),l):g===64?r(g):c(g)}function l(g){return g===43||g===45||g===46||e1(g)?(e=1,n(g)):c(g)}function n(g){return g===58?(t.consume(g),e=0,h):(g===43||g===45||g===46||e1(g))&&e++<32?(t.consume(g),n):(e=0,c(g))}function h(g){return g===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(g),t.exit("autolinkMarker"),t.exit("autolink"),a):g===null||g===32||g===60||Ir(g)?r(g):(t.consume(g),h)}function c(g){return g===64?(t.consume(g),d):Yw(g)?(t.consume(g),c):r(g)}function d(g){return e1(g)?s(g):r(g)}function s(g){return g===46?(t.consume(g),e=0,d):g===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(g),t.exit("autolinkMarker"),t.exit("autolink"),a):p(g)}function p(g){if((g===45||e1(g))&&e++<63){let u=g===45?p:s;return t.consume(g),u}return r(g)}}var j0={partial:!0,tokenize:xP};function xP(t,a,r){return e;function e(o){return ht(o)?ot(t,i,"linePrefix")(o):i(o)}function i(o){return o===null||Y(o)?a(o):r(o)}}var Bc={continuation:{tokenize:kP},exit:LP,name:"blockQuote",tokenize:zP};function zP(t,a,r){let e=this;return i;function i(l){if(l===62){let n=e.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),o}return r(l)}function o(l){return ht(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),a):(t.exit("blockQuotePrefix"),a(l))}}function kP(t,a,r){let e=this;return i;function i(l){return ht(l)?ot(t,o,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return t.attempt(Bc,a,r)(l)}}function LP(t){t.exit("blockQuote")}var Vc={name:"characterEscape",tokenize:wP};function wP(t,a,r){return e;function e(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),i}function i(o){return Qw(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),a):r(o)}}var Tc={name:"characterReference",tokenize:bP};function bP(t,a,r){let e=this,i=0,o,l;return n;function n(s){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),h}function h(s){return s===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(s),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),o=31,l=e1,d(s))}function c(s){return s===88||s===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(s),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,l=Xw,d):(t.enter("characterReferenceValue"),o=7,l=Ul,d(s))}function d(s){if(s===59&&i){let p=t.exit("characterReferenceValue");return l===e1&&!Ni(e.sliceSerialize(p))?r(s):(t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),t.exit("characterReference"),a)}return l(s)&&i++<o?(t.consume(s),d):r(s)}}var rb={partial:!0,tokenize:CP},yc={concrete:!0,name:"codeFenced",tokenize:HP};function HP(t,a,r){let e=this,i={partial:!0,tokenize:H},o=0,l=0,n;return h;function h(x){return c(x)}function c(x){let B=e.events[e.events.length-1];return o=B&&B[1].type==="linePrefix"?B[2].sliceSerialize(B[1],!0).length:0,n=x,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),d(x)}function d(x){return x===n?(l++,t.consume(x),d):l<3?r(x):(t.exit("codeFencedFenceSequence"),ht(x)?ot(t,s,"whitespace")(x):s(x))}function s(x){return x===null||Y(x)?(t.exit("codeFencedFence"),e.interrupt?a(x):t.check(rb,f,L)(x)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===null||Y(x)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),s(x)):ht(x)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),ot(t,g,"whitespace")(x)):x===96&&x===n?r(x):(t.consume(x),p)}function g(x){return x===null||Y(x)?s(x):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),u(x))}function u(x){return x===null||Y(x)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),s(x)):x===96&&x===n?r(x):(t.consume(x),u)}function f(x){return t.attempt(i,L,z)(x)}function z(x){return t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),v}function v(x){return o>0&&ht(x)?ot(t,M,"linePrefix",o+1)(x):M(x)}function M(x){return x===null||Y(x)?t.check(rb,f,L)(x):(t.enter("codeFlowValue"),m(x))}function m(x){return x===null||Y(x)?(t.exit("codeFlowValue"),M(x)):(t.consume(x),m)}function L(x){return t.exit("codeFenced"),a(x)}function H(x,B,C){let S=0;return k;function k(E){return x.enter("lineEnding"),x.consume(E),x.exit("lineEnding"),P}function P(E){return x.enter("codeFencedFence"),ht(E)?ot(x,j,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):j(E)}function j(E){return E===n?(x.enter("codeFencedFenceSequence"),V(E)):C(E)}function V(E){return E===n?(S++,x.consume(E),V):S>=l?(x.exit("codeFencedFenceSequence"),ht(E)?ot(x,A,"whitespace")(E):A(E)):C(E)}function A(E){return E===null||Y(E)?(x.exit("codeFencedFence"),B(E)):C(E)}}}function CP(t,a,r){let e=this;return i;function i(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),o)}function o(l){return e.parser.lazy[e.now().line]?r(l):a(l)}}var ql={name:"codeIndented",tokenize:VP},BP={partial:!0,tokenize:TP};function VP(t,a,r){let e=this;return i;function i(c){return t.enter("codeIndented"),ot(t,o,"linePrefix",5)(c)}function o(c){let d=e.events[e.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?l(c):r(c)}function l(c){return c===null?h(c):Y(c)?t.attempt(BP,l,h)(c):(t.enter("codeFlowValue"),n(c))}function n(c){return c===null||Y(c)?(t.exit("codeFlowValue"),l(c)):(t.consume(c),n)}function h(c){return t.exit("codeIndented"),a(c)}}function TP(t,a,r){let e=this;return i;function i(l){return e.parser.lazy[e.now().line]?r(l):Y(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),i):ot(t,o,"linePrefix",5)(l)}function o(l){let n=e.events[e.events.length-1];return n&&n[1].type==="linePrefix"&&n[2].sliceSerialize(n[1],!0).length>=4?a(l):Y(l)?i(l):r(l)}}var v7={name:"codeText",previous:SP,resolve:yP,tokenize:WP};function yP(t){let a=t.length-4,r=3,e,i;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[a][1].type==="lineEnding"||t[a][1].type==="space")){for(e=r;++e<a;)if(t[e][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[a][1].type="codeTextPadding",r+=2,a-=2;break}}for(e=r-1,a++;++e<=a;)i===void 0?e!==a&&t[e][1].type!=="lineEnding"&&(i=e):(e===a||t[e][1].type==="lineEnding")&&(t[i][1].type="codeTextData",e!==i+2&&(t[i][1].end=t[e-1][1].end,t.splice(i+2,e-i-2),a-=e-i-2,e=i+2),i=void 0);return t}function SP(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function WP(t,a,r){let e=this,i=0,o,l;return n;function n(p){return t.enter("codeText"),t.enter("codeTextSequence"),h(p)}function h(p){return p===96?(t.consume(p),i++,h):(t.exit("codeTextSequence"),c(p))}function c(p){return p===null?r(p):p===32?(t.enter("space"),t.consume(p),t.exit("space"),c):p===96?(l=t.enter("codeTextSequence"),o=0,s(p)):Y(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),c):(t.enter("codeTextData"),d(p))}function d(p){return p===null||p===32||p===96||Y(p)?(t.exit("codeTextData"),c(p)):(t.consume(p),d)}function s(p){return p===96?(t.consume(p),o++,s):o===i?(t.exit("codeTextSequence"),t.exit("codeText"),a(p)):(l.type="codeTextData",d(p))}}var Sc=class{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,r){let e=r??Number.POSITIVE_INFINITY;return e<this.left.length?this.left.slice(a,e):a>this.left.length?this.right.slice(this.right.length-e+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-e+this.left.length).reverse())}splice(a,r,e){let i=r||0;this.setCursor(Math.trunc(a));let o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return e&&$l(this.left,e),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),$l(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),$l(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){let r=this.left.splice(a,Number.POSITIVE_INFINITY);$l(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);$l(this.left,r.reverse())}}};function $l(t,a){let r=0;if(a.length<1e4)t.push(...a);else for(;r<a.length;)t.push(...a.slice(r,r+1e4)),r+=1e4}function Wc(t){let a={},r=-1,e,i,o,l,n,h,c,d=new Sc(t);for(;++r<d.length;){for(;r in a;)r=a[r];if(e=d.get(r),r&&e[1].type==="chunkFlow"&&d.get(r-1)[1].type==="listItemPrefix"&&(h=e[1]._tokenizer.events,o=0,o<h.length&&h[o][1].type==="lineEndingBlank"&&(o+=2),o<h.length&&h[o][1].type==="content"))for(;++o<h.length&&h[o][1].type!=="content";)h[o][1].type==="chunkText"&&(h[o][1]._isInFirstContentOfListItem=!0,o++);if(e[0]==="enter")e[1].contentType&&(Object.assign(a,jP(d,r)),r=a[r],c=!0);else if(e[1]._container){for(o=r,i=void 0;o--;)if(l=d.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(e[1].end={...d.get(i)[1].start},n=d.slice(i,r),n.unshift(e),d.splice(i,r-i+1,n))}}return d1(t,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function jP(t,a){let r=t.get(a)[1],e=t.get(a)[2],i=a-1,o=[],l=r._tokenizer;l||(l=e.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let n=l.events,h=[],c={},d,s,p=-1,g=r,u=0,f=0,z=[f];for(;g;){for(;t.get(++i)[1]!==g;);o.push(i),g._tokenizer||(d=e.sliceStream(g),g.next||d.push(null),s&&l.defineSkip(g.start),g._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(d),g._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),s=g,g=g.next}for(g=r;++p<n.length;)n[p][0]==="exit"&&n[p-1][0]==="enter"&&n[p][1].type===n[p-1][1].type&&n[p][1].start.line!==n[p][1].end.line&&(f=p+1,z.push(f),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(l.events=[],g?(g._tokenizer=void 0,g.previous=void 0):z.pop(),p=z.length;p--;){let v=n.slice(z[p],z[p+1]),M=o.pop();h.push([M,M+v.length-1]),t.splice(M,2,v)}for(h.reverse(),p=-1;++p<h.length;)c[u+h[p][0]]=u+h[p][1],u+=h[p][1]-h[p][0]-1;return c}var u7={resolve:AP,tokenize:PP},OP={partial:!0,tokenize:EP};function AP(t){return Wc(t),t}function PP(t,a){let r;return e;function e(n){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),i(n)}function i(n){return n===null?o(n):Y(n)?t.check(OP,l,o)(n):(t.consume(n),i)}function o(n){return t.exit("chunkContent"),t.exit("content"),a(n)}function l(n){return t.consume(n),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function EP(t,a,r){let e=this;return i;function i(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),ot(t,o,"linePrefix")}function o(l){if(l===null||Y(l))return r(l);let n=e.events[e.events.length-1];return!e.parser.constructs.disable.null.includes("codeIndented")&&n&&n[1].type==="linePrefix"&&n[2].sliceSerialize(n[1],!0).length>=4?a(l):t.interrupt(e.parser.constructs.flow,r,a)(l)}}function jc(t,a,r,e,i,o,l,n,h){let c=h||Number.POSITIVE_INFINITY,d=0;return s;function s(v){return v===60?(t.enter(e),t.enter(i),t.enter(o),t.consume(v),t.exit(o),p):v===null||v===32||v===41||Ir(v)?r(v):(t.enter(e),t.enter(l),t.enter(n),t.enter("chunkString",{contentType:"string"}),f(v))}function p(v){return v===62?(t.enter(o),t.consume(v),t.exit(o),t.exit(i),t.exit(e),a):(t.enter(n),t.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===62?(t.exit("chunkString"),t.exit(n),p(v)):v===null||v===60||Y(v)?r(v):(t.consume(v),v===92?u:g)}function u(v){return v===60||v===62||v===92?(t.consume(v),g):g(v)}function f(v){return!d&&(v===null||v===41||Mt(v))?(t.exit("chunkString"),t.exit(n),t.exit(l),t.exit(e),a(v)):d<c&&v===40?(t.consume(v),d++,f):v===41?(t.consume(v),d--,f):v===null||v===32||v===40||Ir(v)?r(v):(t.consume(v),v===92?z:f)}function z(v){return v===40||v===41||v===92?(t.consume(v),f):f(v)}}function Oc(t,a,r,e,i,o){let l=this,n=0,h;return c;function c(g){return t.enter(e),t.enter(i),t.consume(g),t.exit(i),t.enter(o),d}function d(g){return n>999||g===null||g===91||g===93&&!h||g===94&&!n&&"_hiddenFootnoteSupport"in l.parser.constructs?r(g):g===93?(t.exit(o),t.enter(i),t.consume(g),t.exit(i),t.exit(e),a):Y(g)?(t.enter("lineEnding"),t.consume(g),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),s(g))}function s(g){return g===null||g===91||g===93||Y(g)||n++>999?(t.exit("chunkString"),d(g)):(t.consume(g),h||(h=!ht(g)),g===92?p:s)}function p(g){return g===91||g===92||g===93?(t.consume(g),n++,s):s(g)}}function Ac(t,a,r,e,i,o){let l;return n;function n(p){return p===34||p===39||p===40?(t.enter(e),t.enter(i),t.consume(p),t.exit(i),l=p===40?41:p,h):r(p)}function h(p){return p===l?(t.enter(i),t.consume(p),t.exit(i),t.exit(e),a):(t.enter(o),c(p))}function c(p){return p===l?(t.exit(o),h(l)):p===null?r(p):Y(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),ot(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===l||p===null||Y(p)?(t.exit("chunkString"),c(p)):(t.consume(p),p===92?s:d)}function s(p){return p===l||p===92?(t.consume(p),d):d(p)}}function Nr(t,a){let r;return e;function e(i){return Y(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),r=!0,e):ht(i)?ot(t,e,r?"linePrefix":"lineSuffix")(i):a(i)}}var M7={name:"definition",tokenize:_P},RP={partial:!0,tokenize:FP};function _P(t,a,r){let e=this,i;return o;function o(g){return t.enter("definition"),l(g)}function l(g){return Oc.call(e,t,n,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function n(g){return i=K1(e.sliceSerialize(e.events[e.events.length-1][1]).slice(1,-1)),g===58?(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),h):r(g)}function h(g){return Mt(g)?Nr(t,c)(g):c(g)}function c(g){return jc(t,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function d(g){return t.attempt(RP,s,s)(g)}function s(g){return ht(g)?ot(t,p,"whitespace")(g):p(g)}function p(g){return g===null||Y(g)?(t.exit("definition"),e.parser.defined.push(i),a(g)):r(g)}}function FP(t,a,r){return e;function e(n){return Mt(n)?Nr(t,i)(n):r(n)}function i(n){return Ac(t,o,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function o(n){return ht(n)?ot(t,l,"whitespace")(n):l(n)}function l(n){return n===null||Y(n)?a(n):r(n)}}var f7={name:"hardBreakEscape",tokenize:IP};function IP(t,a,r){return e;function e(o){return t.enter("hardBreakEscape"),t.consume(o),i}function i(o){return Y(o)?(t.exit("hardBreakEscape"),a(o)):r(o)}}var m7={name:"headingAtx",resolve:DP,tokenize:NP};function DP(t,a){let r=t.length-2,e=3,i,o;return t[e][1].type==="whitespace"&&(e+=2),r-2>e&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(e===r-1||r-4>e&&t[r-2][1].type==="whitespace")&&(r-=e+1===r?2:4),r>e&&(i={type:"atxHeadingText",start:t[e][1].start,end:t[r][1].end},o={type:"chunkText",start:t[e][1].start,end:t[r][1].end,contentType:"text"},d1(t,e,r-e+1,[["enter",i,a],["enter",o,a],["exit",o,a],["exit",i,a]])),t}function NP(t,a,r){let e=0;return i;function i(d){return t.enter("atxHeading"),o(d)}function o(d){return t.enter("atxHeadingSequence"),l(d)}function l(d){return d===35&&e++<6?(t.consume(d),l):d===null||Mt(d)?(t.exit("atxHeadingSequence"),n(d)):r(d)}function n(d){return d===35?(t.enter("atxHeadingSequence"),h(d)):d===null||Y(d)?(t.exit("atxHeading"),a(d)):ht(d)?ot(t,n,"whitespace")(d):(t.enter("atxHeadingText"),c(d))}function h(d){return d===35?(t.consume(d),h):(t.exit("atxHeadingSequence"),n(d))}function c(d){return d===null||d===35||Mt(d)?(t.exit("atxHeadingText"),n(d)):(t.consume(d),c)}}var eb=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],x7=["pre","script","style","textarea"];var z7={concrete:!0,name:"htmlFlow",resolveTo:qP,tokenize:$P},UP={partial:!0,tokenize:YP},GP={partial:!0,tokenize:KP};function qP(t){let a=t.length;for(;a--&&!(t[a][0]==="enter"&&t[a][1].type==="htmlFlow"););return a>1&&t[a-2][1].type==="linePrefix"&&(t[a][1].start=t[a-2][1].start,t[a+1][1].start=t[a-2][1].start,t.splice(a-2,2)),t}function $P(t,a,r){let e=this,i,o,l,n,h;return c;function c(w){return d(w)}function d(w){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(w),s}function s(w){return w===33?(t.consume(w),p):w===47?(t.consume(w),o=!0,f):w===63?(t.consume(w),i=3,e.interrupt?a:b):k1(w)?(t.consume(w),l=String.fromCharCode(w),z):r(w)}function p(w){return w===45?(t.consume(w),i=2,g):w===91?(t.consume(w),i=5,n=0,u):k1(w)?(t.consume(w),i=4,e.interrupt?a:b):r(w)}function g(w){return w===45?(t.consume(w),e.interrupt?a:b):r(w)}function u(w){let it="CDATA[";return w===it.charCodeAt(n++)?(t.consume(w),n===it.length?e.interrupt?a:j:u):r(w)}function f(w){return k1(w)?(t.consume(w),l=String.fromCharCode(w),z):r(w)}function z(w){if(w===null||w===47||w===62||Mt(w)){let it=w===47,pt=l.toLowerCase();return!it&&!o&&x7.includes(pt)?(i=1,e.interrupt?a(w):j(w)):eb.includes(l.toLowerCase())?(i=6,it?(t.consume(w),v):e.interrupt?a(w):j(w)):(i=7,e.interrupt&&!e.parser.lazy[e.now().line]?r(w):o?M(w):m(w))}return w===45||e1(w)?(t.consume(w),l+=String.fromCharCode(w),z):r(w)}function v(w){return w===62?(t.consume(w),e.interrupt?a:j):r(w)}function M(w){return ht(w)?(t.consume(w),M):k(w)}function m(w){return w===47?(t.consume(w),k):w===58||w===95||k1(w)?(t.consume(w),L):ht(w)?(t.consume(w),m):k(w)}function L(w){return w===45||w===46||w===58||w===95||e1(w)?(t.consume(w),L):H(w)}function H(w){return w===61?(t.consume(w),x):ht(w)?(t.consume(w),H):m(w)}function x(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(t.consume(w),h=w,B):ht(w)?(t.consume(w),x):C(w)}function B(w){return w===h?(t.consume(w),h=null,S):w===null||Y(w)?r(w):(t.consume(w),B)}function C(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||Mt(w)?H(w):(t.consume(w),C)}function S(w){return w===47||w===62||ht(w)?m(w):r(w)}function k(w){return w===62?(t.consume(w),P):r(w)}function P(w){return w===null||Y(w)?j(w):ht(w)?(t.consume(w),P):r(w)}function j(w){return w===45&&i===2?(t.consume(w),y):w===60&&i===1?(t.consume(w),F):w===62&&i===4?(t.consume(w),st):w===63&&i===3?(t.consume(w),b):w===93&&i===5?(t.consume(w),X):Y(w)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(UP,vt,V)(w)):w===null||Y(w)?(t.exit("htmlFlowData"),V(w)):(t.consume(w),j)}function V(w){return t.check(GP,A,vt)(w)}function A(w){return t.enter("lineEnding"),t.consume(w),t.exit("lineEnding"),E}function E(w){return w===null||Y(w)?V(w):(t.enter("htmlFlowData"),j(w))}function y(w){return w===45?(t.consume(w),b):j(w)}function F(w){return w===47?(t.consume(w),l="",N):j(w)}function N(w){if(w===62){let it=l.toLowerCase();return x7.includes(it)?(t.consume(w),st):j(w)}return k1(w)&&l.length<8?(t.consume(w),l+=String.fromCharCode(w),N):j(w)}function X(w){return w===93?(t.consume(w),b):j(w)}function b(w){return w===62?(t.consume(w),st):w===45&&i===2?(t.consume(w),b):j(w)}function st(w){return w===null||Y(w)?(t.exit("htmlFlowData"),vt(w)):(t.consume(w),st)}function vt(w){return t.exit("htmlFlow"),a(w)}}function KP(t,a,r){let e=this;return i;function i(l){return Y(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),o):r(l)}function o(l){return e.parser.lazy[e.now().line]?r(l):a(l)}}function YP(t,a,r){return e;function e(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(j0,a,r)}}var k7={name:"htmlText",tokenize:XP};function XP(t,a,r){let e=this,i,o,l;return n;function n(b){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(b),h}function h(b){return b===33?(t.consume(b),c):b===47?(t.consume(b),H):b===63?(t.consume(b),m):k1(b)?(t.consume(b),C):r(b)}function c(b){return b===45?(t.consume(b),d):b===91?(t.consume(b),o=0,u):k1(b)?(t.consume(b),M):r(b)}function d(b){return b===45?(t.consume(b),g):r(b)}function s(b){return b===null?r(b):b===45?(t.consume(b),p):Y(b)?(l=s,F(b)):(t.consume(b),s)}function p(b){return b===45?(t.consume(b),g):s(b)}function g(b){return b===62?y(b):b===45?p(b):s(b)}function u(b){let st="CDATA[";return b===st.charCodeAt(o++)?(t.consume(b),o===st.length?f:u):r(b)}function f(b){return b===null?r(b):b===93?(t.consume(b),z):Y(b)?(l=f,F(b)):(t.consume(b),f)}function z(b){return b===93?(t.consume(b),v):f(b)}function v(b){return b===62?y(b):b===93?(t.consume(b),v):f(b)}function M(b){return b===null||b===62?y(b):Y(b)?(l=M,F(b)):(t.consume(b),M)}function m(b){return b===null?r(b):b===63?(t.consume(b),L):Y(b)?(l=m,F(b)):(t.consume(b),m)}function L(b){return b===62?y(b):m(b)}function H(b){return k1(b)?(t.consume(b),x):r(b)}function x(b){return b===45||e1(b)?(t.consume(b),x):B(b)}function B(b){return Y(b)?(l=B,F(b)):ht(b)?(t.consume(b),B):y(b)}function C(b){return b===45||e1(b)?(t.consume(b),C):b===47||b===62||Mt(b)?S(b):r(b)}function S(b){return b===47?(t.consume(b),y):b===58||b===95||k1(b)?(t.consume(b),k):Y(b)?(l=S,F(b)):ht(b)?(t.consume(b),S):y(b)}function k(b){return b===45||b===46||b===58||b===95||e1(b)?(t.consume(b),k):P(b)}function P(b){return b===61?(t.consume(b),j):Y(b)?(l=P,F(b)):ht(b)?(t.consume(b),P):S(b)}function j(b){return b===null||b===60||b===61||b===62||b===96?r(b):b===34||b===39?(t.consume(b),i=b,V):Y(b)?(l=j,F(b)):ht(b)?(t.consume(b),j):(t.consume(b),A)}function V(b){return b===i?(t.consume(b),i=void 0,E):b===null?r(b):Y(b)?(l=V,F(b)):(t.consume(b),V)}function A(b){return b===null||b===34||b===39||b===60||b===61||b===96?r(b):b===47||b===62||Mt(b)?S(b):(t.consume(b),A)}function E(b){return b===47||b===62||Mt(b)?S(b):r(b)}function y(b){return b===62?(t.consume(b),t.exit("htmlTextData"),t.exit("htmlText"),a):r(b)}function F(b){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(b),t.exit("lineEnding"),N}function N(b){return ht(b)?ot(t,X,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):X(b)}function X(b){return t.enter("htmlTextData"),l(b)}}var Ur={name:"labelEnd",resolveAll:tE,resolveTo:aE,tokenize:rE},QP={tokenize:eE},ZP={tokenize:iE},JP={tokenize:oE};function tE(t){let a=-1,r=[];for(;++a<t.length;){let e=t[a][1];if(r.push(t[a]),e.type==="labelImage"||e.type==="labelLink"||e.type==="labelEnd"){let i=e.type==="labelImage"?4:2;e.type="data",a+=i}}return t.length!==r.length&&d1(t,0,t.length,r),t}function aE(t,a){let r=t.length,e=0,i,o,l,n;for(;r--;)if(i=t[r][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(t[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=r,i.type!=="labelLink")){e=2;break}}else i.type==="labelEnd"&&(l=r);let h={type:t[o][1].type==="labelLink"?"link":"image",start:{...t[o][1].start},end:{...t[t.length-1][1].end}},c={type:"label",start:{...t[o][1].start},end:{...t[l][1].end}},d={type:"labelText",start:{...t[o+e+2][1].end},end:{...t[l-2][1].start}};return n=[["enter",h,a],["enter",c,a]],n=l2(n,t.slice(o+1,o+e+3)),n=l2(n,[["enter",d,a]]),n=l2(n,Xa(a.parser.constructs.insideSpan.null,t.slice(o+e+4,l-3),a)),n=l2(n,[["exit",d,a],t[l-2],t[l-1],["exit",c,a]]),n=l2(n,t.slice(l+1)),n=l2(n,[["exit",h,a]]),d1(t,o,t.length,n),t}function rE(t,a,r){let e=this,i=e.events.length,o,l;for(;i--;)if((e.events[i][1].type==="labelImage"||e.events[i][1].type==="labelLink")&&!e.events[i][1]._balanced){o=e.events[i][1];break}return n;function n(p){return o?o._inactive?s(p):(l=e.parser.defined.includes(K1(e.sliceSerialize({start:o.end,end:e.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(p),t.exit("labelMarker"),t.exit("labelEnd"),h):r(p)}function h(p){return p===40?t.attempt(QP,d,l?d:s)(p):p===91?t.attempt(ZP,d,l?c:s)(p):l?d(p):s(p)}function c(p){return t.attempt(JP,d,s)(p)}function d(p){return a(p)}function s(p){return o._balanced=!0,r(p)}}function eE(t,a,r){return e;function e(s){return t.enter("resource"),t.enter("resourceMarker"),t.consume(s),t.exit("resourceMarker"),i}function i(s){return Mt(s)?Nr(t,o)(s):o(s)}function o(s){return s===41?d(s):jc(t,l,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(s)}function l(s){return Mt(s)?Nr(t,h)(s):d(s)}function n(s){return r(s)}function h(s){return s===34||s===39||s===40?Ac(t,c,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(s):d(s)}function c(s){return Mt(s)?Nr(t,d)(s):d(s)}function d(s){return s===41?(t.enter("resourceMarker"),t.consume(s),t.exit("resourceMarker"),t.exit("resource"),a):r(s)}}function iE(t,a,r){let e=this;return i;function i(n){return Oc.call(e,t,o,l,"reference","referenceMarker","referenceString")(n)}function o(n){return e.parser.defined.includes(K1(e.sliceSerialize(e.events[e.events.length-1][1]).slice(1,-1)))?a(n):r(n)}function l(n){return r(n)}}function oE(t,a,r){return e;function e(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),i}function i(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),a):r(o)}}var L7={name:"labelStartImage",resolveAll:Ur.resolveAll,tokenize:lE};function lE(t,a,r){let e=this;return i;function i(n){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(n),t.exit("labelImageMarker"),o}function o(n){return n===91?(t.enter("labelMarker"),t.consume(n),t.exit("labelMarker"),t.exit("labelImage"),l):r(n)}function l(n){return n===94&&"_hiddenFootnoteSupport"in e.parser.constructs?r(n):a(n)}}var w7={name:"labelStartLink",resolveAll:Ur.resolveAll,tokenize:nE};function nE(t,a,r){let e=this;return i;function i(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in e.parser.constructs?r(l):a(l)}}var Kl={name:"lineEnding",tokenize:hE};function hE(t,a){return r;function r(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),ot(t,a,"linePrefix")}}var Gr={name:"thematicBreak",tokenize:cE};function cE(t,a,r){let e=0,i;return o;function o(c){return t.enter("thematicBreak"),l(c)}function l(c){return i=c,n(c)}function n(c){return c===i?(t.enter("thematicBreakSequence"),h(c)):e>=3&&(c===null||Y(c))?(t.exit("thematicBreak"),a(c)):r(c)}function h(c){return c===i?(t.consume(c),e++,h):(t.exit("thematicBreakSequence"),ht(c)?ot(t,n,"whitespace")(c):n(c))}}var Y1={continuation:{tokenize:gE},exit:uE,name:"list",tokenize:pE},dE={partial:!0,tokenize:ME},sE={partial:!0,tokenize:vE};function pE(t,a,r){let e=this,i=e.events[e.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return n;function n(g){let u=e.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(u==="listUnordered"?!e.containerState.marker||g===e.containerState.marker:Ul(g)){if(e.containerState.type||(e.containerState.type=u,t.enter(u,{_container:!0})),u==="listUnordered")return t.enter("listItemPrefix"),g===42||g===45?t.check(Gr,r,c)(g):c(g);if(!e.interrupt||g===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),h(g)}return r(g)}function h(g){return Ul(g)&&++l<10?(t.consume(g),h):(!e.interrupt||l<2)&&(e.containerState.marker?g===e.containerState.marker:g===41||g===46)?(t.exit("listItemValue"),c(g)):r(g)}function c(g){return t.enter("listItemMarker"),t.consume(g),t.exit("listItemMarker"),e.containerState.marker=e.containerState.marker||g,t.check(j0,e.interrupt?r:d,t.attempt(dE,p,s))}function d(g){return e.containerState.initialBlankLine=!0,o++,p(g)}function s(g){return ht(g)?(t.enter("listItemPrefixWhitespace"),t.consume(g),t.exit("listItemPrefixWhitespace"),p):r(g)}function p(g){return e.containerState.size=o+e.sliceSerialize(t.exit("listItemPrefix"),!0).length,a(g)}}function gE(t,a,r){let e=this;return e.containerState._closeFlow=void 0,t.check(j0,i,o);function i(n){return e.containerState.furtherBlankLines=e.containerState.furtherBlankLines||e.containerState.initialBlankLine,ot(t,a,"listItemIndent",e.containerState.size+1)(n)}function o(n){return e.containerState.furtherBlankLines||!ht(n)?(e.containerState.furtherBlankLines=void 0,e.containerState.initialBlankLine=void 0,l(n)):(e.containerState.furtherBlankLines=void 0,e.containerState.initialBlankLine=void 0,t.attempt(sE,a,l)(n))}function l(n){return e.containerState._closeFlow=!0,e.interrupt=void 0,ot(t,t.attempt(Y1,a,r),"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n)}}function vE(t,a,r){let e=this;return ot(t,i,"listItemIndent",e.containerState.size+1);function i(o){let l=e.events[e.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===e.containerState.size?a(o):r(o)}}function uE(t){t.exit(this.containerState.type)}function ME(t,a,r){let e=this;return ot(t,i,"listItemPrefixWhitespace",e.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){let l=e.events[e.events.length-1];return!ht(o)&&l&&l[1].type==="listItemPrefixWhitespace"?a(o):r(o)}}var Pc={name:"setextUnderline",resolveTo:fE,tokenize:mE};function fE(t,a){let r=t.length,e,i,o;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){e=r;break}t[r][1].type==="paragraph"&&(i=r)}else t[r][1].type==="content"&&t.splice(r,1),!o&&t[r][1].type==="definition"&&(o=r);let l={type:"setextHeading",start:{...t[e][1].start},end:{...t[t.length-1][1].end}};return t[i][1].type="setextHeadingText",o?(t.splice(i,0,["enter",l,a]),t.splice(o+1,0,["exit",t[e][1],a]),t[e][1].end={...t[o][1].end}):t[e][1]=l,t.push(["exit",l,a]),t}function mE(t,a,r){let e=this,i;return o;function o(c){let d=e.events.length,s;for(;d--;)if(e.events[d][1].type!=="lineEnding"&&e.events[d][1].type!=="linePrefix"&&e.events[d][1].type!=="content"){s=e.events[d][1].type==="paragraph";break}return!e.parser.lazy[e.now().line]&&(e.interrupt||s)?(t.enter("setextHeadingLine"),i=c,l(c)):r(c)}function l(c){return t.enter("setextHeadingLineSequence"),n(c)}function n(c){return c===i?(t.consume(c),n):(t.exit("setextHeadingLineSequence"),ht(c)?ot(t,h,"lineSuffix")(c):h(c))}function h(c){return c===null||Y(c)?(t.exit("setextHeadingLine"),a(c)):r(c)}}var ib={tokenize:xE};function xE(t){let a=this,r=t.attempt(j0,e,t.attempt(this.parser.constructs.flowInitial,i,ot(t,t.attempt(this.parser.constructs.flow,i,t.attempt(u7,i)),"linePrefix")));return r;function e(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),a.currentConstruct=void 0,r}function i(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),a.currentConstruct=void 0,r}}var ob={resolveAll:cb()},lb=hb("string"),nb=hb("text");function hb(t){return{resolveAll:cb(t==="text"?zE:void 0),tokenize:a};function a(r){let e=this,i=this.parser.constructs[t],o=r.attempt(i,l,n);return l;function l(d){return c(d)?o(d):n(d)}function n(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),h}function h(d){return c(d)?(r.exit("data"),o(d)):(r.consume(d),h)}function c(d){if(d===null)return!0;let s=i[d],p=-1;if(s)for(;++p<s.length;){let g=s[p];if(!g.previous||g.previous.call(e,e.previous))return!0}return!1}}}function cb(t){return a;function a(r,e){let i=-1,o;for(;++i<=r.length;)o===void 0?r[i]&&r[i][1].type==="data"&&(o=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==o+2&&(r[o][1].end=r[i-1][1].end,r.splice(o+2,i-o-2),i=o+2),o=void 0);return t?t(r,e):r}}function zE(t,a){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){let e=t[r-1][1],i=a.sliceStream(e),o=i.length,l=-1,n=0,h;for(;o--;){let c=i[o];if(typeof c=="string"){for(l=c.length;c.charCodeAt(l-1)===32;)n++,l--;if(l)break;l=-1}else if(c===-2)h=!0,n++;else if(c!==-1){o++;break}}if(a._contentTypeTextTrailing&&r===t.length&&(n=0),n){let c={type:r===t.length||h||n<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:e.start._bufferIndex+l,_index:e.start._index+o,line:e.end.line,column:e.end.column-n,offset:e.end.offset-n},end:{...e.end}};e.end={...c.start},e.start.offset===e.end.offset?Object.assign(e,c):(t.splice(r,0,["enter",c,a],["exit",c,a]),r+=2)}r++}return t}var b7={};hn(b7,{attentionMarkers:()=>VE,contentInitial:()=>LE,disable:()=>TE,document:()=>kE,flow:()=>bE,flowInitial:()=>wE,insideSpan:()=>BE,string:()=>HE,text:()=>CE});var kE={42:Y1,43:Y1,45:Y1,48:Y1,49:Y1,50:Y1,51:Y1,52:Y1,53:Y1,54:Y1,55:Y1,56:Y1,57:Y1,62:Bc},LE={91:M7},wE={[-2]:ql,[-1]:ql,32:ql},bE={35:m7,42:Gr,45:[Pc,Gr],60:z7,61:Pc,95:Gr,96:yc,126:yc},HE={38:Tc,92:Vc},CE={[-5]:Kl,[-4]:Kl,[-3]:Kl,33:L7,38:Tc,42:Gl,60:[g7,k7],91:w7,92:[f7,Vc],93:Ur,95:Gl,96:v7},BE={null:[Gl,ob]},VE={null:[42,95]},TE={null:[]};function db(t,a,r){let e={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},o=[],l=[],n=[],h=!0,c={attempt:S(B),check:S(C),consume:L,enter:H,exit:x,interrupt:S(C,{interrupt:!0})},d={code:null,containerState:{},defineSkip:v,events:[],now:z,parser:t,previous:null,sliceSerialize:u,sliceStream:f,write:g},s=a.tokenize.call(d,c),p;return a.resolveAll&&o.push(a),d;function g(V){return l=l2(l,V),M(),l[l.length-1]!==null?[]:(k(a,0),d.events=Xa(o,d.events,d),d.events)}function u(V,A){return SE(f(V),A)}function f(V){return yE(l,V)}function z(){let{_bufferIndex:V,_index:A,line:E,column:y,offset:F}=e;return{_bufferIndex:V,_index:A,line:E,column:y,offset:F}}function v(V){i[V.line]=V.column,j()}function M(){let V;for(;e._index<l.length;){let A=l[e._index];if(typeof A=="string")for(V=e._index,e._bufferIndex<0&&(e._bufferIndex=0);e._index===V&&e._bufferIndex<A.length;)m(A.charCodeAt(e._bufferIndex));else m(A)}}function m(V){h=void 0,p=V,s=s(V)}function L(V){Y(V)?(e.line++,e.column=1,e.offset+=V===-3?2:1,j()):V!==-1&&(e.column++,e.offset++),e._bufferIndex<0?e._index++:(e._bufferIndex++,e._bufferIndex===l[e._index].length&&(e._bufferIndex=-1,e._index++)),d.previous=V,h=!0}function H(V,A){let E=A||{};return E.type=V,E.start=z(),d.events.push(["enter",E,d]),n.push(E),E}function x(V){let A=n.pop();return A.end=z(),d.events.push(["exit",A,d]),A}function B(V,A){k(V,A.from)}function C(V,A){A.restore()}function S(V,A){return E;function E(y,F,N){let X,b,st,vt;return Array.isArray(y)?it(y):"tokenize"in y?it([y]):w(y);function w(_){return D;function D(lt){let dt=lt!==null&&_[lt],xt=lt!==null&&_.null,yt=[...Array.isArray(dt)?dt:dt?[dt]:[],...Array.isArray(xt)?xt:xt?[xt]:[]];return it(yt)(lt)}}function it(_){return X=_,b=0,_.length===0?N:pt(_[b])}function pt(_){return D;function D(lt){return vt=P(),st=_,_.partial||(d.currentConstruct=_),_.name&&d.parser.constructs.disable.null.includes(_.name)?w1(lt):_.tokenize.call(A?Object.assign(Object.create(d),A):d,c,Kt,w1)(lt)}}function Kt(_){return h=!0,V(st,vt),F}function w1(_){return h=!0,vt.restore(),++b<X.length?pt(X[b]):N}}}function k(V,A){V.resolveAll&&!o.includes(V)&&o.push(V),V.resolve&&d1(d.events,A,d.events.length-A,V.resolve(d.events.slice(A),d)),V.resolveTo&&(d.events=V.resolveTo(d.events,d))}function P(){let V=z(),A=d.previous,E=d.currentConstruct,y=d.events.length,F=Array.from(n);return{from:y,restore:N};function N(){e=V,d.previous=A,d.currentConstruct=E,d.events.length=y,n=F,j()}}function j(){e.line in i&&e.column<2&&(e.column=i[e.line],e.offset+=i[e.line]-1)}}function yE(t,a){let r=a.start._index,e=a.start._bufferIndex,i=a.end._index,o=a.end._bufferIndex,l;if(r===i)l=[t[r].slice(e,o)];else{if(l=t.slice(r,i),e>-1){let n=l[0];typeof n=="string"?l[0]=n.slice(e):l.shift()}o>0&&l.push(t[i].slice(0,o))}return l}function SE(t,a){let r=-1,e=[],i;for(;++r<t.length;){let o=t[r],l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
|
|
13
|
+
)+\\(\\s*min(-device)?-${t}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${t}`,"i")}),Kj=nx("width"),Yj=nx("height"),hx=t=>({isMin:lx(t.minMax,t.maxMin,t.min),isMax:lx(t.maxMin,t.minMax,t.max)}),{isMin:T6,isMax:ax}=hx(Kj),{isMin:y6,isMax:rx}=hx(Yj),ex=/print/i,ix=/^print$/i,Xj=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,Qj=/(\d)/,Tl=Number.MAX_VALUE,Zj={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function ox(t){let a=Xj.exec(t)||(T6(t)||y6(t)?Qj.exec(t):null);if(!a)return Tl;if(a[0]==="0")return 0;let r=parseFloat(a[1]),e=a[2];return r*(Zj[e]||1)}function lx(t,a,r){return e=>t.test(e)||!a.test(e)&&r.test(e)}function Jj(t,a){let r=ex.test(t),e=ix.test(t),i=ex.test(a),o=ix.test(a);return r&&i?!e&&o?1:e&&!o?-1:t.localeCompare(a):r?1:i?-1:null}var cx=_t((t,a)=>{let r=Jj(t,a);if(r!==null)return r;let e=T6(t)||y6(t),i=ax(t)||rx(t),o=T6(a)||y6(a),l=ax(a)||rx(a);if(e&&l)return-1;if(i&&o)return 1;let n=ox(t),h=ox(a);return n===Tl&&h===Tl?t.localeCompare(a):n===Tl?1:h===Tl?-1:n!==h?n>h?i?-1:1:i?1:-1:t.localeCompare(a)});function dx(t){return t.sort(([a],[r])=>cx(a,r))}function S6(t){let a=[],r=[],e={};for(let[l,n]of Object.entries(t))l.startsWith("@media")?a.push([l,n]):l.startsWith("@container")?r.push([l,n]):Zt(n)?e[l]=S6(n):e[l]=n;let i=dx(a),o=dx(r);return{...e,...Object.fromEntries(i),...Object.fromEntries(o)}}var sx=/\s*!(important)?/i,tO=_t(t=>h1(t)?sx.test(t):!1),aO=_t(t=>h1(t)?t.replace(sx,"").trim():t);function Jh(t){let{transform:a,conditions:r,normalize:e}=t,i=iO(t);return _t(function(...l){let n=i(...l),h=e(n),c=Tr();return $1(h,(d,s)=>{if(d==null)return;let[p,...g]=r.sort(s).map(r.resolve),u=tO(d);u&&(d=aO(d));let f=a(p,d)??wt;f=$1(f,z=>h1(z)&&u?`${z} !important`:z,{getKey:z=>r.expandAtRule(z)}),rO(c,g.flat(),f)}),S6(c)})}function rO(t,a,r){let e=t;for(let i of a)i&&(e[i]||(e[i]=Tr()),e=e[i]);G2(e,r)}function eO(...t){return t.filter(a=>{if(!Zt(a))return!1;let r=k0(a);return Object.keys(r).length>0})}function iO(t){function a(r){let e=eO(...r);return e.length===1?e:e.map(i=>t.normalize(i))}return _t(function(...e){return G2({},...a(e))})}var W6=t=>({base:wt,variants:wt,defaultVariants:wt,compoundVariants:[],...t});function gx(t){let{css:a,conditions:r,normalize:e,layers:i}=t;function o(n={}){let h=W6(n),{base:c,defaultVariants:d,compoundVariants:s}=h,p=x1(h.variants,(m,L)=>[m,x1(L,(H,x)=>[H,e(x)])]),g=Jh({conditions:r,normalize:e,transform(m,L){return p[m]?.[L]}}),u=_t(function(L={}){let H=e({...d,...k0(L)}),x={...e(c)};G2(x,g(H));let B=l(s,H);return i.wrap("recipes",a(x,B))}),f=Object.keys(p),z=m=>{let L=Oi(m,["recipe"]),[H,x]=L0(L,f),B=f.includes("colorPalette"),C=f.includes("orientation");return B||(H.colorPalette=m.colorPalette||d.colorPalette),C&&(x.orientation=m.orientation),[H,x]},v=x1(p,(m,L)=>[m,Object.keys(L)]),M=_t(function(L){return a(u(L))});return Object.assign(M,{className:n.className,__cva__:!0,variantMap:v,variantKeys:f,raw:u,config:n,splitVariantProps:z,merge(m){return o(oO(this,m))}})}function l(n,h){let c=wt;return n.forEach(d=>{Object.entries(d).every(([p,g])=>p==="css"?!0:(Array.isArray(g)?g:[g]).some(f=>h[p]===f))&&(c=a(c,d.css))}),c}return o}var px=t=>(t?.__cva__?t.config:t)??wt;function oO(t,a){let r=W6(px(t)),e=W6(px(a)),i=$e(Object.keys(r.variants),Object.keys(e.variants)),o=G2({},r.base,e.base),l=Object.fromEntries(i.map(d=>[d,G2({},r.variants[d],e.variants[d])])),n=G2({},r.defaultVariants,e.defaultVariants),h=[...r.compoundVariants,...e.compoundVariants];return{className:_1(r.className,e.className),base:o,variants:l,defaultVariants:n,compoundVariants:h}}var lO={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},vx={reset:0,base:1,tokens:2,recipes:3};function ux(t){let a=t.layers??lO,e=Object.values(a).sort((i,o)=>vx[i]-vx[o]);return{names:e,atRule:`@layer ${e.join(", ")};`,wrap(i,o){return t.disableLayers?o:{[`@layer ${a[i]}`]:o}}}}function Mx(t){let{utility:a,normalize:r}=t,{hasShorthand:e,resolveShorthand:i}=a;return function(o){return $1(o,r,{stop:l=>Array.isArray(l),getKey:e?i:void 0})}}function fx(t){let{preflight:a}=t;if(!a)return{};let{scope:r="",level:e="parent"}=Zt(a)?a:{},i="";r&&e==="parent"?i=`${r} `:r&&e==="element"&&(i=`&${r}`);let o={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAppearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},l={[r||"html"]:{lineHeight:1.5,"--font-fallback":"ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};if(e==="element"){let n=Object.entries(o).reduce((h,[c,d])=>(h[c]={[i]:d},h),{});Object.assign(l,n)}else i?l[i]=o:Object.assign(l,o);return l}function mx(t){let{conditions:a,isValidProperty:r}=t,e=_t((i,o)=>r(i)?!o.split(",").every(l=>l==="base"||a.has(l)):!0);return function(o){return $1(o,l=>l,{stop:l=>Array.isArray(l),getKey:(l,n)=>!Zt(n)||a.has(l)?l:e(l,Object.keys(n).join(","))?hO(l).map(h=>{let c=h.startsWith("&")?h.slice(1):h;return nO(c)?`${c} &`:`&${c}`}).join(", "):l})}}function nO(t){let a=t.toLowerCase();return a.startsWith(":host-context")||a.startsWith(":host")||a.startsWith("::slotted")}function hO(t){let a=[],r=0,e="",i=!1;for(let o=0;o<t.length;o++){let l=t[o];if(l==="\\"&&!i){i=!0,e+=l;continue}if(i){i=!1,e+=l;continue}l==="("?r++:l===")"&&r--,l===","&&r===0?(a.push(e.trim()),e=""):e+=l}return e&&a.push(e.trim()),a}var cO=(t=wt)=>{let a=i=>({base:t.base?.[i]??wt,variants:Tr(),defaultVariants:t.defaultVariants??wt,compoundVariants:t.compoundVariants?dO(t.compoundVariants,i):tx}),e=(t.slots??[]).map(i=>[i,a(i)]);for(let[i,o]of Object.entries(t.variants??{}))for(let[l,n]of Object.entries(o))e.forEach(([h,c])=>{var d;(d=c.variants)[i]??(d[i]={}),c.variants[i][l]=n[h]??wt});return Object.fromEntries(e)},dO=(t,a)=>t.filter(r=>r.css[a]).map(r=>({...r,css:r.css[a]}));function xx(t){let{cva:a}=t;return function(e=wt){let i=Object.entries(cO(e)).map(([s,p])=>[s,a(p)]),o=_t(function(p){let g=i.map(([u,f])=>[u,f(p)]);return Object.fromEntries(g)}),l=e.variants??wt,n=Object.keys(l);function h(s){let p=Oi(s,["recipe"]),[g,u]=L0(p,n),f=n.includes("colorPalette"),z=n.includes("orientation");return f||(g.colorPalette=s.colorPalette||e.defaultVariants?.colorPalette),z&&(u.orientation=s.orientation),[g,u]}let c=x1(l,(s,p)=>[s,Object.keys(p)]),d={};return e.className&&(d=Object.fromEntries(e.slots.map(s=>[s,`${e.className}__${s}`]))),Object.assign(o,{variantMap:c,variantKeys:n,splitVariantProps:h,classNameMap:d})}}var zx=()=>t=>Array.from(new Set(t));var sO=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,pO=function(t,a){return a?t==="\0"?"\uFFFD":t==="-"&&t.length===1?"\\-":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16):"\\"+t},tc=t=>(t+"").replace(sO,pO);var j6=(t,a)=>{let r="",e=0,i="char",o="",l="",n=[];for(;e<t.length;){let h=t[e];if(h==="{"){let d=t.indexOf("}",e);if(d===-1)break;let s=t.slice(e+1,d),p=a(s);r+=p??s,e=d+1;continue}if(i==="token"&&h===","){t[e]===""&&e++,i="fallback",n.push(i);let d=a(o);d?.endsWith(")")&&(r+=d.slice(0,-1)),o="",l="";continue}if(i==="fallback"&&l+h===", var("){let p=gO(t.slice(e+1))+e+1,g=t.slice(e+1,p);if(p===-1)break;r+=", var("+g+")",e=p+1,i=n.pop()??i,l="";continue}if(i==="token"||i==="fallback"){if(e++,h===")"){i=n.pop()??i??"char",l+=h;let d=o&&(a(o)??tc(o));if(l){if(l=l.slice(1).trim(),!l.startsWith("token(")&&l.endsWith(")")&&(l=l.slice(0,-1)),l.includes("token(")){let p=j6(l,a);p&&(l=p.slice(0,-1))}else if(l){let p=a(l);p&&(l=p)}}let s=r.at(-1);l?s?.trim()?r+=d.slice(0,-1)+(", "+l+")"):r+=l:r+=d||")",o="",l="",i="char";continue}i==="token"&&(o+=h),i==="fallback"&&(l+=h);continue}let c=t.indexOf("token(",e);if(c!==-1){let d=c+6;r+=t.slice(e,c),e=d,i="token",n.push(i);continue}r+=h,e++}return r},gO=t=>{let a=0,r=["("];for(;a<t.length;){let e=t[a];if(e==="(")r.push(e);else if(e===")"&&(r.pop(),r.length===0))return a;a++}return a};function ac(t){let a={};return t.forEach((r,e)=>{r instanceof Map?a[e]=Object.fromEntries(r):a[e]=r}),a}var kx=/({([^}]*)})/g,vO=/[{}]/g,Lx=/\w+\.\w+/,rc=t=>{if(!h1(t))return[];let a=t.match(kx);return a?a.map(r=>r.replace(vO,"").trim()):[]},wx=t=>kx.test(t);function O6(t){if(!t.extensions?.references)return t.extensions?.cssVar?.ref??t.value;let a=t.extensions.references??{},r=t.value,e=Object.keys(a);for(let i=0;i<e.length;i++){let o=e[i],l=a[o];if(l.extensions.conditions)continue;let n=O6(l);r=r.replace(`{${o}}`,n)}return t.value=r,delete t.extensions.references,t.value}function A6(t,a){if(a==null||!Array.isArray(a))return a;switch(t){case"easings":return`cubic-bezier(${a.join(", ")})`;case"animations":case"fonts":case"gradients":case"shadows":return a.join(", ");default:return a}}function bx(t,a){let r={};for(let e in a)r[e]=A6(t,a[e]);return r}var uO=/calc/g;function Tx(t){return Zt(t)&&t.reference?t.reference:String(t)}var ec=(t,...a)=>a.map(Tx).join(` ${t} `).replace(uO,""),Hx=(...t)=>`calc(${ec("+",...t)})`,Cx=(...t)=>`calc(${ec("-",...t)})`,P6=(...t)=>`calc(${ec("*",...t)})`,Bx=(...t)=>`calc(${ec("/",...t)})`,Vx=t=>{let a=Tx(t);return a!=null&&!Number.isNaN(parseFloat(a))?String(a).startsWith("-")?String(a).slice(1):`-${a}`:P6(a,-1)},yr=Object.assign(t=>({add:(...a)=>yr(Hx(t,...a)),subtract:(...a)=>yr(Cx(t,...a)),multiply:(...a)=>yr(P6(t,...a)),divide:(...a)=>yr(Bx(t,...a)),negate:()=>yr(Vx(t)),toString:()=>t.toString()}),{add:Hx,subtract:Cx,multiply:P6,divide:Bx,negate:Vx});var MO={enforce:"pre",transform(t){let{prefix:a,allTokens:r,formatCssVar:e,formatTokenName:i,registerToken:o}=t;r.filter(({extensions:n})=>n.category==="spacing").forEach(n=>{let h=n.path.slice(),c=e(h,a);if(h1(n.value)&&n.value==="0rem")return;let d=[...n.path],s=d[d.length-1];s!=null&&(d[d.length-1]=`-${s}`);let p={...n,value:yr.negate(c.ref),name:i(d),path:d,extensions:{...n.extensions,negative:!0,prop:`-${n.extensions.prop}`,originalPath:h}};o(p)})}},fO=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),mO={enforce:"post",transform(t){t.allTokens.filter(r=>fO.has(r.extensions.category)&&!r.extensions.negative).forEach(r=>{Object.assign(r.extensions,{pixelValue:Qh(r.value)})})}},xO={enforce:"post",transform(t){let{allTokens:a,registerToken:r,formatTokenName:e}=t,i=a.filter(({extensions:n})=>n.category==="colors"),o=new Map,l=new Map;i.forEach(n=>{let{colorPalette:h}=n.extensions;h&&(h.keys.forEach(c=>{o.set(e(c),c)}),h.roots.forEach(c=>{let d=e(c),s=l.get(d)||[];if(s.push(n),l.set(d,s),n.extensions.default&&c.length===1){let p=h.keys[0]?.filter(Boolean);if(!p.length)return;let g=c.concat(p);o.set(e(g),[])}}))}),o.forEach(n=>{let h=["colors","colorPalette",...n].filter(Boolean),c=e(h),d=e(h.slice(1));r({name:c,value:c,originalValue:c,path:h,extensions:{condition:"base",originalPath:h,category:"colors",prop:d,virtual:!0}},"pre")})}},zO={enforce:"post",transform(t){let a=[],r=[];t.allTokens.forEach(e=>{e.value===""?a.push(e):r.push(e)}),t.allTokens.splice(0,t.allTokens.length,...r),a.forEach(e=>{if(t.tokenMap.get(e.name)!==e)return;let i=t.allTokens.find(o=>o.name===e.name);if(!i){t.tokenMap.delete(e.name);return}e.extensions.conditions&&!i.extensions.conditions&&(i.extensions.conditions=e.extensions.conditions),t.tokenMap.set(e.name,i)})}},yx=[MO,xO,mO,zO];var kO={type:"extensions",enforce:"pre",name:"tokens/css-var",transform(t,a){let{prefix:r,formatCssVar:e}=a,{negative:i,originalPath:o}=t.extensions,l=i?o:t.path;return{cssVar:e(l.filter(Boolean),r)}}},LO={enforce:"post",type:"value",name:"tokens/conditionals",transform(t,a){let{prefix:r,formatCssVar:e,getByName:i}=a,o=rc(t.value);return o.length&&o.forEach(l=>{if(!i(l))return;let n=e(l.split("."),r);t.value=t.value.replaceAll(`{${l}}`,n.ref)}),t.value}},wO={type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(t){return t.extensions.category==="colors"&&!t.extensions.virtual},transform(t,a){let r=t.path.slice();if(r.pop(),r.shift(),r.length===0){let n=[...t.path];n.shift(),r=n}if(r.length===0)return{};let e=r.reduce((n,h,c,d)=>{let s=d.slice(0,c+1);return n.push(s),n},[]),i=r[0],o=a.formatTokenName(r),l=t.path.slice(t.path.indexOf(i)+1).reduce((n,h,c,d)=>(n.push(d.slice(c)),n),[]);return l.length===0&&l.push([""]),{colorPalette:{value:o,roots:e,keys:l}}}},Sx=[kO,LO,wO];var Wx=t=>Zt(t)&&Object.prototype.hasOwnProperty.call(t,"value");function bO(t){return t?{breakpoints:qh(t,a=>({value:a})),sizes:x1(t,(a,r)=>[`breakpoint-${a}`,{value:r}])}:{breakpoints:{},sizes:{}}}function Ox(t){let{prefix:a="",tokens:r={},semanticTokens:e={},breakpoints:i={}}=t,o=_=>_.join("."),l=(_,D)=>Yh(_.join("-"),{prefix:D}),n=[],h=new Map,c=new Map,d=new Map,s=new Map,p=new Map,g=new Map,u=new Map,f=new Map,z=[];function v(_,D){n.push(_),(_.extensions.condition==="base"||!h.has(_.name))&&h.set(_.name,_),D&&f.forEach(lt=>{lt.enforce===D&&b(lt,_)})}let M=bO(i),m=k0({...r,breakpoints:M.breakpoints,sizes:{...r.sizes,...M.sizes}});function L(){$1(m,(_,D)=>{let lt=D.includes("DEFAULT");D=jx(D);let dt=D[0],xt=o(D),yt=h1(_)?{value:_}:_,M1=A6(dt,yt.value),Ft={value:M1,originalValue:M1,name:xt,path:D,extensions:{condition:"base",originalPath:D,category:dt,prop:o(D.slice(1))}};lt&&(Ft.extensions.default=!0),v(Ft)},{stop:Wx}),$1(e,(_,D)=>{let lt=D.includes("DEFAULT");D=Ax(jx(D));let dt=D[0],xt=o(D),yt=h1(_.value)||Array.isArray(_.value)?{value:{base:_.value}}:_,M1=bx(dt,yt.value),Ft={value:M1.base??"",originalValue:M1.base??"",name:xt,path:D,extensions:{originalPath:D,category:dt,conditions:M1,condition:"base",prop:o(D.slice(1))}};lt&&(Ft.extensions.default=!0),v(Ft)},{stop:Wx})}function H(_){return h.get(_)}function x(_){let{condition:D}=_.extensions;D&&(c.has(D)||c.set(D,new Set),c.get(D).add(_))}function B(_){let{category:D,prop:lt,condition:dt,conditions:xt}=_.extensions;if(!D)return;u.has(D)||u.set(D,new Map);let yt=u.get(D),M1=yt.get(lt);if(dt==null||dt==="base"){yt.set(lt,_);return}xt&&!M1&&yt.set(lt,_)}function C(_){let{condition:D,negative:lt,virtual:dt,cssVar:xt}=_.extensions;lt||dt||!D||!xt||_.value===""||(d.has(D)||d.set(D,new Map),d.get(D).set(xt.var,_.value))}function S(_){let{category:D,prop:lt,cssVar:dt,negative:xt}=_.extensions;if(!D)return;g.has(D)||g.set(D,new Map);let yt=xt?_.extensions.conditions?_.originalValue:_.value:dt.ref;g.get(D).set(lt,yt),p.set([D,lt].join("."),yt)}function k(_){let{colorPalette:D,virtual:lt,default:dt}=_.extensions;!D||lt||D.roots.forEach(xt=>{let yt=o(xt);s.has(yt)||s.set(yt,new Map);let M1=CO([..._.path],[...xt]),Ft=o(M1),zt=H(Ft);if(!zt||!zt.extensions.cssVar)return;let{var:f2}=zt.extensions.cssVar;if(s.get(yt).set(f2,_.extensions.cssVar.ref),dt&&xt.length===1){let nt=o(["colors","colorPalette"]),g0=H(nt);if(!g0)return;let t1=o(_.path),Vt=H(t1);if(!Vt)return;let E0=D.keys[0]?.filter(Boolean);if(!E0.length)return;let m2=o(xt.concat(E0));s.has(m2)||s.set(m2,new Map),s.get(m2).set(g0.extensions.cssVar.var,Vt.extensions.cssVar.ref)}})}let P={};function j(){n.forEach(_=>{x(_),B(_),C(_),S(_),k(_)}),P=ac(g)}let V=(_,D)=>{if(!_||typeof _!="string")return{invalid:!0,value:_};let[lt,dt]=_.split("/");if(!lt||!dt)return{invalid:!0,value:lt};let xt=D(lt),yt=H(`opacity.${dt}`)?.value;if(!yt&&isNaN(Number(dt)))return{invalid:!0,value:lt};let M1=yt?Number(yt)*100+"%":`${dt}%`,Ft=xt??lt;return{invalid:!1,color:Ft,value:`color-mix(in srgb, ${Ft} ${M1}, transparent)`}},A=_t((_,D)=>p.get(_)??D),E=_t(_=>P[_]||null),y=_t(_=>j6(_,D=>{if(!D)return;if(D.includes("/")){let dt=V(D,xt=>A(xt));if(dt.invalid)throw new Error("Invalid color mix at "+D+": "+dt.value);return dt.value}let lt=A(D);return lt||(Lx.test(D)?tc(D):D)})),F={prefix:a,allTokens:n,tokenMap:h,registerToken:v,getByName:H,formatTokenName:o,formatCssVar:l,flatMap:p,cssVarMap:d,categoryMap:u,colorPaletteMap:s,getVar:A,getCategoryValues:E,expandReferenceInValue:y};function N(..._){_.forEach(D=>{f.set(D.name,D)})}function X(..._){z.push(..._)}function b(_,D){if(D.extensions.references||qe(_.match)&&!_.match(D))return;let dt=(xt=>_.transform(xt,F))(D);switch(!0){case _.type==="extensions":Object.assign(D.extensions,dt);break;case _.type==="value":D.value=dt;break;default:D[_.type]=dt;break}}function st(_){z.forEach(D=>{D.enforce===_&&D.transform(F)})}function vt(_){f.forEach(D=>{D.enforce===_&&n.forEach(lt=>{b(D,lt)})})}function w(){n.slice().forEach(_=>{let D=HO(_);!D||D.length===0||D.forEach(lt=>{v(lt)})})}function it(_){let D=rc(_),lt=[];for(let dt=0;dt<D.length;dt++){let xt=H(D[dt]);xt&<.push(xt)}return lt}function pt(){n.forEach(_=>{if(!wx(_.value))return;let D=it(_.value);_.extensions.references=D.reduce((lt,dt)=>(lt[dt.name]=dt,lt),{})})}function Kt(){n.forEach(_=>{O6(_)})}function w1(){st("pre"),vt("pre"),w(),pt(),Kt(),st("post"),vt("post"),j()}return L(),N(...Sx),X(...yx),w1(),F}function jx(t){return t[0]==="DEFAULT"?t:t.filter(a=>a!=="DEFAULT")}function Ax(t){return t.filter(a=>a!=="base")}function HO(t){if(!t.extensions.conditions)return;let{conditions:a}=t.extensions,r=[];return $1(a,(e,i)=>{let o=Ax(i);if(!o.length)return;let l={...t,value:e,extensions:{...t.extensions,condition:o.join(":")}};r.push(l)}),r}function CO(t,a){let r=t.findIndex((e,i)=>a.every((o,l)=>t[i+l]===o));return r===-1||(t.splice(r,a.length),t.splice(r,0,"colorPalette")),t}var s0t=zx()(["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"]);function BO(t){return x1(t,(a,r)=>[a,r])}function Px(t){let a=BO(t.config),r=t.tokens,e=new Map,i=new Map;function o(C,S){a[C]=S,l(C,S)}let l=(C,S)=>{let k=f(S);k&&(i.set(C,k),s(C,S))},n=()=>{for(let[C,S]of Object.entries(a))S&&l(C,S)},h=()=>{for(let[C,S]of Object.entries(a)){let{shorthand:k}=S??{};if(!k)continue;(Array.isArray(k)?k:[k]).forEach(j=>e.set(j,C))}},c=()=>{let C=ac(r.colorPaletteMap);o("colorPalette",{values:Object.keys(C),transform:_t(S=>C[S])})},d=new Map,s=(C,S)=>{if(!S)return;let k=f(S,j=>`type:Tokens["${j}"]`);if(typeof k=="object"&&k.type){d.set(C,new Set([`type:${k.type}`]));return}if(k){let j=new Set(Object.keys(k));d.set(C,j)}let P=d.get(C)??new Set;S.property&&d.set(C,P.add(`CssProperties["${S.property}"]`))},p=()=>{for(let[C,S]of Object.entries(a))S&&s(C,S)},g=(C,S)=>{let k=d.get(C)??new Set;d.set(C,new Set([...k,...S]))},u=()=>{let C=new Map;for(let[S,k]of d.entries()){if(k.size===0){C.set(S,["string"]);continue}let P=Array.from(k).map(j=>j.startsWith("CssProperties")?j:j.startsWith("type:")?j.replace("type:",""):JSON.stringify(j));C.set(S,P)}return C},f=(C,S)=>{let{values:k}=C,P=j=>{let V=S?.(j);return V?{[V]:V}:void 0};if(h1(k))return P?.(k)??r.getCategoryValues(k)??wt;if(Array.isArray(k)){let j={};for(let V=0;V<k.length;V++)j[k[V]]=k[V];return j}return qe(k)?k(S?P:r.getCategoryValues):k},z=_t((C,S)=>({[C]:C.startsWith("--")?r.getVar(S,S):S})),v=Object.assign(r.getVar,{raw:C=>r.getByName(C)}),M=_t((C,S)=>{let k=H(C);h1(S)&&!S.includes("_EMO_")&&(S=r.expandReferenceInValue(S));let P=a[k];if(!P)return z(k,S);let j=i.get(k)?.[S];if(!P.transform)return z(C,j??S);let V=A=>Um(A,v);return P.transform(j??S,{raw:S,token:v,utils:{colorMix:V}})});function m(){h(),c(),n(),p()}m();let L=e.size>0,H=_t(C=>e.get(C)??C);return{keys:()=>[...Array.from(e.keys()),...Object.keys(a)],hasShorthand:L,transform:M,shorthands:e,resolveShorthand:H,register:o,getTypes:u,addPropertyType:g}}function yl(...t){let a=Kh(...t),{theme:r={},utilities:e={},globalCss:i={},cssVarsRoot:o=":where(:root, :host)",cssVarsPrefix:l="chakra",preflight:n}=a,h=ux(a),c=Ox({breakpoints:r.breakpoints,tokens:r.tokens,semanticTokens:r.semanticTokens,prefix:l}),d=Zm(r.breakpoints??wt),s=Jm({conditions:a.conditions??wt,breakpoints:d}),p=Px({config:e,tokens:c});function g(){let{textStyles:w,layerStyles:it,animationStyles:pt}=r,Kt=k0({textStyle:w,layerStyle:it,animationStyle:pt});for(let[w1,_]of Object.entries(Kt)){let D=C6(_??wt,_x);p.register(w1,{values:Object.keys(D),transform(lt){return m(D[lt])}})}}g(),p.addPropertyType("animationName",Object.keys(r.keyframes??wt));let u=new Set(["css",...p.keys(),...s.keys()]),f=_t(w=>u.has(w)||Ym(w)),z=w=>{if(Array.isArray(w)){let it=Tr();for(let pt=0;pt<w.length;pt++){let Kt=w[pt];if(Kt!=null){let w1=s.breakpoints[pt];it[w1]=Kt}}return it}return w},v=Mx({utility:p,normalize:z}),M=mx({conditions:s,isValidProperty:f}),m=Jh({transform:p.transform,conditions:s,normalize:v}),L=gx({css:m,conditions:s,normalize:v,layers:h}),H=xx({cva:L});function x(){let w={};for(let[it,pt]of c.cssVarMap.entries()){let Kt=Object.fromEntries(pt);if(Object.keys(Kt).length===0)continue;let w1=it==="base"?o:s.resolve(it),_=w1.startsWith("@"),D=m(M({[w1]:_?{[o]:Kt}:Kt}));G2(w,D)}return h.wrap("tokens",w)}function B(){let w=x1(r.keyframes??wt,(pt,Kt)=>[`@keyframes ${pt}`,Kt]),it=Object.assign({},w,m(M(i)));return h.wrap("base",it)}function C(w){return L0(w,f)}function S(){let w=fx({preflight:n});return h.wrap("reset",w)}let k=VO(c),P=(w,it)=>k.get(w)?.value||it;P.var=(w,it)=>k.get(w)?.variable||it;function j(w,it){return r.recipes?.[w]??it}function V(w,it){return r.slotRecipes?.[w]??it}let A=new Map,E=new Map;function y(w,it){let pt=A.get(w);return pt||(pt=L(j(w,it??wt)),A.set(w,pt)),pt}function F(w,it){let pt=E.get(w);return pt||(pt=H(V(w,it??wt)),E.set(w,pt)),pt}function N(w){return Object.hasOwnProperty.call(r.recipes??wt,w)}function X(w){return Object.hasOwnProperty.call(r.slotRecipes??wt,w)}function b(w){return N(w)||X(w)}let st=[S(),B(),x()],vt={layerStyles:E6(r.layerStyles??wt),textStyles:E6(r.textStyles??wt),animationStyles:E6(r.animationStyles??wt),tokens:Ex(c,Object.keys(r.tokens??wt),(w,it)=>!w.extensions.conditions&&!it.includes("colorPalette")),semanticTokens:Ex(c,Object.keys(r.semanticTokens??wt),w=>!!w.extensions.conditions),keyframes:Rx(r.keyframes??wt),breakpoints:Rx(r.breakpoints??wt)};return{$$chakra:!0,_config:a,_global:st,breakpoints:d,tokens:c,conditions:s,utility:p,token:P,properties:u,layers:h,isValidProperty:f,splitCssProps:C,normalizeValue:z,getTokenCss:x,getGlobalCss:B,getPreflightCss:S,css:m,cva:L,sva:H,getRecipe:j,getSlotRecipe:V,getRecipeFn:y,getSlotRecipeFn:F,hasRecipe:b,isRecipe:N,isSlotRecipe:X,query:vt}}function VO(t){let a=new Map,r=new Set(t.allTokens.map(e=>e.name));for(let e of r){let i=t.getByName(e);if(!i?.extensions.cssVar)continue;let{cssVar:o,virtual:l,conditions:n}=i.extensions,c=!!n||l?o.ref:i.value;a.set(e,{value:c,variable:o.ref})}return a}var _x=t=>Zt(t)&&"value"in t,E6=t=>({list(){return Object.keys(C6(t,_x))},search(a){return this.list().filter(r=>r.includes(a))}}),Ex=(t,a,r)=>({categoryKeys:a,list(e){let i=t.categoryMap.get(e),o=i?[...i.entries()]:[],l=[];for(let n=0;n<o.length;n++){let[h,c]=o[n];r(c,h)&&l.push(h)}return l},search(e,i){return this.list(e).filter(o=>o.includes(i))}}),Rx=t=>({list(){return Object.keys(t)},search(a){return this.list().filter(r=>r.includes(a))}});var Fx={sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"};var R6="var(--chakra-empty, )",Ix=L6({"*":{fontFeatureSettings:'"cv11"',"--ring-inset":R6,"--ring-offset-width":"0px","--ring-offset-color":"#fff","--ring-color":"rgba(66, 153, 225, 0.6)","--ring-offset-shadow":"0 0 #0000","--ring-shadow":"0 0 #0000",...Object.fromEntries(["brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"].map(t=>[`--${t}`,R6])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(t=>[`--backdrop-${t}`,R6])),"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body","--global-color-border":"colors.border"},html:{color:"fg",bg:"bg",lineHeight:"1.5",colorPalette:"gray"},"*::placeholder, *[data-placeholder]":{color:"fg.muted/80"},"*::selection":{bg:"colorPalette.emphasized/80"}});var Dx=H6({"fill.muted":{value:{background:"colorPalette.muted",color:"colorPalette.fg"}},"fill.subtle":{value:{background:"colorPalette.subtle",color:"colorPalette.fg"}},"fill.surface":{value:{background:"colorPalette.subtle",color:"colorPalette.fg",boxShadow:"0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.muted"}},"fill.solid":{value:{background:"colorPalette.solid",color:"colorPalette.contrast"}},"outline.subtle":{value:{color:"colorPalette.fg",boxShadow:"inset 0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.subtle"}},"outline.solid":{value:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg"}},"indicator.bottom":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",bottom:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.top":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",top:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.start":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineStart:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.end":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineEnd:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},disabled:{value:{opacity:"0.5",cursor:"not-allowed"}},none:{value:{}}});var Nx=b6({"slide-fade-in":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-from-bottom, fade-in"},"&[data-placement^=bottom]":{animationName:"slide-from-top, fade-in"},"&[data-placement^=left]":{animationName:"slide-from-right, fade-in"},"&[data-placement^=right]":{animationName:"slide-from-left, fade-in"}}},"slide-fade-out":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-to-bottom, fade-out"},"&[data-placement^=bottom]":{animationName:"slide-to-top, fade-out"},"&[data-placement^=left]":{animationName:"slide-to-right, fade-out"},"&[data-placement^=right]":{animationName:"slide-to-left, fade-out"}}},"scale-fade-in":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-in, fade-in"}},"scale-fade-out":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-out, fade-out"}}});var Ei=rt({className:"chakra-badge",base:{display:"inline-flex",alignItems:"center",borderRadius:"l2",gap:"1",fontWeight:"medium",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap",userSelect:"none"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{color:"colorPalette.fg","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"var(--outline-shadow, var(--outline-shadow-legacy))"},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},plain:{color:"colorPalette.fg"}},size:{xs:{textStyle:"2xs",px:"1",minH:"4"},sm:{textStyle:"xs",px:"1.5",minH:"5"},md:{textStyle:"sm",px:"2",minH:"6"},lg:{textStyle:"sm",px:"2.5",minH:"7"}}},defaultVariants:{variant:"subtle",size:"sm"}});var Ux=rt({className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px","--outline-color-legacy":"colors.colorPalette.muted","--outline-color":"colors.colorPalette.border",borderColor:"var(--outline-color, var(--outline-color-legacy))",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}});var g1=rt({className:"chakra-checkmark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"l1",cursor:"checkbox",focusVisibleRing:"outside",_icon:{boxSize:"full"},_invalid:{colorPalette:"red",borderColor:"border.error"},_disabled:{opacity:"0.5",cursor:"disabled"}},variants:{size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5",p:"0.5"},lg:{boxSize:"6",p:"0.5"}},variant:{solid:{borderColor:"border.emphasized","&:is([data-state=checked], [data-state=indeterminate])":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},outline:{borderColor:"border","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg",borderColor:"colorPalette.solid"}},subtle:{bg:"colorPalette.muted",borderColor:"colorPalette.muted","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},inverted:{borderColor:"border",color:"colorPalette.fg","&:is([data-state=checked], [data-state=indeterminate])":{borderColor:"colorPalette.solid"}}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}});var{variants:TO,defaultVariants:yO}=Ei,Gx=rt({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:TO,defaultVariants:yO});var ic=rt({className:"color-swatch",base:{boxSize:"var(--swatch-size)",shadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.1)","--checker-size":"8px","--checker-bg":"colors.bg","--checker-fg":"colors.bg.emphasized",background:"linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},variants:{size:{"2xs":{"--swatch-size":"sizes.3.5"},xs:{"--swatch-size":"sizes.4"},sm:{"--swatch-size":"sizes.4.5"},md:{"--swatch-size":"sizes.5"},lg:{"--swatch-size":"sizes.6"},xl:{"--swatch-size":"sizes.7"},"2xl":{"--swatch-size":"sizes.8"},inherit:{"--swatch-size":"inherit"},full:{"--swatch-size":"100%"}},shape:{square:{borderRadius:"none"},circle:{borderRadius:"full"},rounded:{borderRadius:"l1"}}},defaultVariants:{size:"md",shape:"rounded"}});var qx=rt({className:"chakra-container",base:{position:"relative",maxWidth:"8xl",w:"100%",mx:"auto",px:{base:"4",md:"6",lg:"8"}},variants:{centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}},fluid:{true:{maxWidth:"full"}}}});var $x=rt({className:"chakra-heading",base:{fontFamily:"heading",fontWeight:"semibold"},variants:{size:{xs:{textStyle:"xs"},sm:{textStyle:"sm"},md:{textStyle:"md"},lg:{textStyle:"lg"},xl:{textStyle:"xl"},"2xl":{textStyle:"2xl"},"3xl":{textStyle:"3xl"},"4xl":{textStyle:"4xl"},"5xl":{textStyle:"5xl"},"6xl":{textStyle:"6xl"},"7xl":{textStyle:"7xl"}}},defaultVariants:{size:"xl"}});var Kx=rt({className:"chakra-icon",base:{display:"inline-block",lineHeight:"1em",flexShrink:"0",color:"currentcolor",verticalAlign:"middle"},variants:{size:{inherit:{},xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"},xl:{boxSize:"7"},"2xl":{boxSize:"8"}}},defaultVariants:{size:"inherit"}});var Gt=rt({className:"chakra-input",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},height:"var(--input-height)",minW:"var(--input-height)","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{"2xs":{textStyle:"xs",px:"2","--input-height":"sizes.7"},xs:{textStyle:"xs",px:"2","--input-height":"sizes.8"},sm:{textStyle:"sm",px:"2.5","--input-height":"sizes.9"},md:{textStyle:"sm",px:"3","--input-height":"sizes.10"},lg:{textStyle:"md",px:"4","--input-height":"sizes.11"},xl:{textStyle:"md",px:"4.5","--input-height":"sizes.12"},"2xl":{textStyle:"lg",px:"5","--input-height":"sizes.16"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}}}},defaultVariants:{size:"md",variant:"outline"}});var Yx=rt({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:Gt.variants.size,variant:{outline:{borderWidth:"1px",borderColor:"border",bg:"bg.muted"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.emphasized"},flushed:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}},defaultVariants:{size:"md",variant:"outline"}});var Xx=rt({className:"chakra-kbd",base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",wordSpacing:"-0.5em",userSelect:"none",px:"1",borderRadius:"l2"},variants:{variant:{raised:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderWidth:"1px",borderBottomWidth:"2px",borderColor:"colorPalette.muted"},outline:{borderWidth:"1px",color:"colorPalette.fg"},subtle:{bg:"colorPalette.muted",color:"colorPalette.fg"},plain:{color:"colorPalette.fg"}},size:{sm:{textStyle:"xs",height:"4.5"},md:{textStyle:"sm",height:"5"},lg:{textStyle:"md",height:"6"}}},defaultVariants:{size:"md",variant:"raised"}});var Qx=rt({className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusVisibleRing:"outside"},variants:{variant:{underline:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"},plain:{color:"colorPalette.fg",_hover:{textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"}}}},defaultVariants:{variant:"plain"}});var Zx=rt({className:"chakra-mark",base:{bg:"transparent",color:"inherit",whiteSpace:"nowrap"},variants:{variant:{subtle:{bg:"colorPalette.subtle",color:"inherit"},solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},text:{fontWeight:"medium"},plain:{}}}});var v1=rt({className:"chakra-radiomark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,verticalAlign:"top",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"full",cursor:"radio",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing",outlineOffset:"2px"},_invalid:{colorPalette:"red",borderColor:"red.500"},_disabled:{opacity:"0.5",cursor:"disabled"},"& .dot":{height:"100%",width:"100%",borderRadius:"full",bg:"currentColor",scale:"0.4"}},variants:{variant:{solid:{borderWidth:"1px",borderColor:"border.emphasized",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},subtle:{borderWidth:"1px",bg:"colorPalette.muted",borderColor:"colorPalette.muted",color:"transparent",_checked:{color:"colorPalette.fg"}},outline:{borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.fg",borderColor:"colorPalette.solid"},"& .dot":{scale:"0.6"}},inverted:{bg:"bg",borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.solid",borderColor:"currentcolor"}}},size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}});var Jx=rt({className:"chakra-separator",base:{display:"block",borderColor:"border"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{borderInlineStartWidth:"var(--separator-thickness)"},horizontal:{borderTopWidth:"var(--separator-thickness)"}},size:{xs:{"--separator-thickness":"0.5px"},sm:{"--separator-thickness":"1px"},md:{"--separator-thickness":"2px"},lg:{"--separator-thickness":"3px"}}},defaultVariants:{size:"sm",variant:"solid",orientation:"horizontal"}});var tz=rt({className:"chakra-skeleton",base:{},variants:{loading:{true:{borderRadius:"l2",boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none",flexShrink:"0","&::before, &::after, *":{visibility:"hidden"}},false:{background:"unset",animation:"fade-in var(--fade-duration, 0.1s) ease-out !important"}},variant:{pulse:{background:"bg.emphasized",animation:"pulse",animationDuration:"var(--duration, 1.2s)"},shine:{"--animate-from":"200%","--animate-to":"-200%","--start-color":"colors.bg.muted","--end-color":"colors.bg.emphasized",backgroundImage:"linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))",backgroundSize:"400% 100%",animation:"bg-position var(--duration, 5s) ease-in-out infinite"},none:{animation:"none"}}},defaultVariants:{variant:"pulse",loading:!0}});var az=rt({className:"chakra-skip-nav",base:{display:"inline-flex",bg:"bg.panel",padding:"2.5",borderRadius:"l2",fontWeight:"semibold",focusVisibleRing:"outside",textStyle:"sm",userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",_focusVisible:{clip:"auto",width:"auto",height:"auto",position:"fixed",top:"6",insetStart:"6"}}});var rz=rt({className:"chakra-spinner",base:{display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderWidth:"2px",borderRadius:"full",width:"var(--spinner-size)",height:"var(--spinner-size)",animation:"spin",animationDuration:"slowest","--spinner-track-color":"transparent",borderBottomColor:"var(--spinner-track-color)",borderInlineStartColor:"var(--spinner-track-color)"},variants:{size:{inherit:{"--spinner-size":"1em"},xs:{"--spinner-size":"sizes.3"},sm:{"--spinner-size":"sizes.4"},md:{"--spinner-size":"sizes.5"},lg:{"--spinner-size":"sizes.8"},xl:{"--spinner-size":"sizes.10"}}},defaultVariants:{size:"md"}});var ez=rt({className:"chakra-textarea",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{xs:{textStyle:"xs",px:"2",py:"1.5",scrollPaddingBottom:"1.5"},sm:{textStyle:"sm",px:"2.5",py:"2",scrollPaddingBottom:"2"},md:{textStyle:"sm",px:"3",py:"2",scrollPaddingBottom:"2"},lg:{textStyle:"md",px:"4",py:"3",scrollPaddingBottom:"3"},xl:{textStyle:"md",px:"4.5",py:"3.5",scrollPaddingBottom:"3.5"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}}}},defaultVariants:{size:"md",variant:"outline"}});var iz={badge:Ei,button:Ux,code:Gx,container:qx,heading:$x,input:Gt,inputAddon:Yx,kbd:Xx,link:Qx,mark:Zx,separator:Jx,skeleton:tz,skipNavLink:az,spinner:rz,textarea:ez,icon:Kx,checkmark:g1,radiomark:v1,colorSwatch:ic};var oz=Br.colors({bg:{DEFAULT:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},emphasized:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},inverted:{value:{_light:"{colors.black}",_dark:"{colors.white}"}},panel:{value:{_light:"{colors.white}",_dark:"{colors.gray.950}"}},error:{value:{_light:"{colors.red.50}",_dark:"{colors.red.950}"}},warning:{value:{_light:"{colors.orange.50}",_dark:"{colors.orange.950}"}},success:{value:{_light:"{colors.green.50}",_dark:"{colors.green.950}"}},info:{value:{_light:"{colors.blue.50}",_dark:"{colors.blue.950}"}}},fg:{DEFAULT:{value:{_light:"{colors.black}",_dark:"{colors.gray.50}"}},muted:{value:{_light:"{colors.gray.600}",_dark:"{colors.gray.400}"}},subtle:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.500}"}},inverted:{value:{_light:"{colors.gray.50}",_dark:"{colors.black}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.300}"}},success:{value:{_light:"{colors.green.600}",_dark:"{colors.green.300}"}},info:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.300}"}}},border:{DEFAULT:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},inverted:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}},success:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}},info:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},gray:{contrast:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},fg:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},subtle:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},muted:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},solid:{value:{_light:"{colors.gray.900}",_dark:"{colors.white}"}},focusRing:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.400}"}},border:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}}},red:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.red.700}",_dark:"{colors.red.300}"}},subtle:{value:{_light:"{colors.red.100}",_dark:"{colors.red.900}"}},muted:{value:{_light:"{colors.red.200}",_dark:"{colors.red.800}"}},emphasized:{value:{_light:"{colors.red.300}",_dark:"{colors.red.700}"}},solid:{value:{_light:"{colors.red.600}",_dark:"{colors.red.600}"}},focusRing:{value:{_light:"{colors.red.500}",_dark:"{colors.red.500}"}},border:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}}},orange:{contrast:{value:{_light:"white",_dark:"black"}},fg:{value:{_light:"{colors.orange.700}",_dark:"{colors.orange.300}"}},subtle:{value:{_light:"{colors.orange.100}",_dark:"{colors.orange.900}"}},muted:{value:{_light:"{colors.orange.200}",_dark:"{colors.orange.800}"}},emphasized:{value:{_light:"{colors.orange.300}",_dark:"{colors.orange.700}"}},solid:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.500}"}},focusRing:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.500}"}},border:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}}},green:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.green.700}",_dark:"{colors.green.300}"}},subtle:{value:{_light:"{colors.green.100}",_dark:"{colors.green.900}"}},muted:{value:{_light:"{colors.green.200}",_dark:"{colors.green.800}"}},emphasized:{value:{_light:"{colors.green.300}",_dark:"{colors.green.700}"}},solid:{value:{_light:"{colors.green.600}",_dark:"{colors.green.600}"}},focusRing:{value:{_light:"{colors.green.500}",_dark:"{colors.green.500}"}},border:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}}},blue:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.blue.700}",_dark:"{colors.blue.300}"}},subtle:{value:{_light:"{colors.blue.100}",_dark:"{colors.blue.900}"}},muted:{value:{_light:"{colors.blue.200}",_dark:"{colors.blue.800}"}},emphasized:{value:{_light:"{colors.blue.300}",_dark:"{colors.blue.700}"}},solid:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.600}"}},focusRing:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.500}"}},border:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},yellow:{contrast:{value:{_light:"black",_dark:"black"}},fg:{value:{_light:"{colors.yellow.800}",_dark:"{colors.yellow.300}"}},subtle:{value:{_light:"{colors.yellow.100}",_dark:"{colors.yellow.900}"}},muted:{value:{_light:"{colors.yellow.200}",_dark:"{colors.yellow.800}"}},emphasized:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.700}"}},solid:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.300}"}},focusRing:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}},border:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}}},teal:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.teal.700}",_dark:"{colors.teal.300}"}},subtle:{value:{_light:"{colors.teal.100}",_dark:"{colors.teal.900}"}},muted:{value:{_light:"{colors.teal.200}",_dark:"{colors.teal.800}"}},emphasized:{value:{_light:"{colors.teal.300}",_dark:"{colors.teal.700}"}},solid:{value:{_light:"{colors.teal.600}",_dark:"{colors.teal.600}"}},focusRing:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.500}"}},border:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.400}"}}},purple:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.purple.700}",_dark:"{colors.purple.300}"}},subtle:{value:{_light:"{colors.purple.100}",_dark:"{colors.purple.900}"}},muted:{value:{_light:"{colors.purple.200}",_dark:"{colors.purple.800}"}},emphasized:{value:{_light:"{colors.purple.300}",_dark:"{colors.purple.700}"}},solid:{value:{_light:"{colors.purple.600}",_dark:"{colors.purple.600}"}},focusRing:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.500}"}},border:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.400}"}}},pink:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.pink.700}",_dark:"{colors.pink.300}"}},subtle:{value:{_light:"{colors.pink.100}",_dark:"{colors.pink.900}"}},muted:{value:{_light:"{colors.pink.200}",_dark:"{colors.pink.800}"}},emphasized:{value:{_light:"{colors.pink.300}",_dark:"{colors.pink.700}"}},solid:{value:{_light:"{colors.pink.600}",_dark:"{colors.pink.600}"}},focusRing:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.500}"}},border:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.400}"}}},cyan:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.cyan.700}",_dark:"{colors.cyan.300}"}},subtle:{value:{_light:"{colors.cyan.100}",_dark:"{colors.cyan.900}"}},muted:{value:{_light:"{colors.cyan.200}",_dark:"{colors.cyan.800}"}},emphasized:{value:{_light:"{colors.cyan.300}",_dark:"{colors.cyan.700}"}},solid:{value:{_light:"{colors.cyan.600}",_dark:"{colors.cyan.600}"}},focusRing:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.500}"}},border:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.400}"}}}});var lz=Br.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}});var nz=Br.shadows({xs:{value:{_light:"0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",_dark:"0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"}},sm:{value:{_light:"0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},md:{value:{_light:"0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},lg:{value:{_light:"0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},xl:{value:{_light:"0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},"2xl":{value:{_light:"0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},inner:{value:{_light:"inset 0 2px 4px 0 {black/5}",_dark:"inset 0 2px 4px 0 black"}},inset:{value:{_light:"inset 0 0 0 1px {black/5}",_dark:"inset 0 0 0 1px {colors.gray.300/5}"}}});var hz=ei.extendWith("itemBody"),cz=q("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),dz=q("alert").parts("title","description","root","indicator","content"),sz=q("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),pz=q("blockquote").parts("root","icon","content","caption"),gz=q("card").parts("root","header","body","footer","title","description"),vz=q("checkbox-card",["root","control","label","description","addon","indicator","content"]),uz=q("data-list").parts("root","item","itemLabel","itemValue"),Mz=$9.extendWith("indicatorGroup"),fz=Cr.extendWith("header","body","footer","backdrop"),mz=Cr.extendWith("header","body","footer","backdrop"),xz=si.extendWith("textarea"),zz=q("empty-state",["root","content","indicator","title","description"]),kz=Eh.extendWith("requiredIndicator"),Lz=Rh.extendWith("content"),wz=pi.extendWith("itemContent","dropzoneContent","fileText"),bz=q("list").parts("root","item","indicator"),Hz=Mi.extendWith("itemCommand"),Cz=q("select").parts("root","field","indicator"),Bz=xi.extendWith("header","body","footer"),_6=Da.extendWith("itemAddon","itemIndicator"),Vz=_6.extendWith("itemContent","itemDescription"),Tz=ki.extendWith("itemIndicator"),yz=wi.extendWith("indicatorGroup"),Sz=q9.extendWith("indicatorGroup","empty"),Wz=bi.extendWith("markerIndicator","markerLabel"),jz=q("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),Oz=q("status").parts("root","indicator"),Az=q("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),Pz=Ci.extendWith("indicator"),Ez=q("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),Rz=q("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),_z=q("tabs").parts("root","trigger","list","content","contentGroup","indicator"),Fz=q("tag").parts("root","label","closeTrigger","startElement","endElement"),Iz=q("timeline").parts("root","item","content","separator","indicator","connector","title","description"),Dz=G9.extendWith("channelText"),Nz=q("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]),Uz=Hi.extendWith("resizeTriggerSeparator","resizeTriggerIndicator"),_et=oi.extendWith("valueText"),Gz=K9;var qz=R({className:"chakra-accordion",slots:hz.keys(),base:{root:{width:"full","--accordion-radius":"radii.l2"},item:{overflowAnchor:"none"},itemTrigger:{display:"flex",alignItems:"center",textAlign:"start",width:"full",outline:"0",gap:"3",fontWeight:"medium",borderRadius:"var(--accordion-radius)",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{layerStyle:"disabled"}},itemBody:{pt:"var(--accordion-padding-y)",pb:"calc(var(--accordion-padding-y) * 2)"},itemContent:{overflow:"hidden",borderRadius:"var(--accordion-radius)",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}},itemIndicator:{transition:"rotate 0.2s",transformOrigin:"center",color:"fg.subtle",_open:{rotate:"180deg"},_icon:{width:"1.2em",height:"1.2em"}}},variants:{variant:{outline:{item:{borderBottomWidth:"1px"}},subtle:{itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{borderRadius:"var(--accordion-radius)",_open:{bg:"colorPalette.subtle"}}},enclosed:{root:{borderWidth:"1px",borderRadius:"var(--accordion-radius)",divideY:"1px",overflow:"hidden"},itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{_open:{bg:"bg.subtle"}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":"spacing.3","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"sm",py:"var(--accordion-padding-y)"}},md:{root:{"--accordion-padding-x":"spacing.4","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"md",py:"var(--accordion-padding-y)"}},lg:{root:{"--accordion-padding-x":"spacing.4.5","--accordion-padding-y":"spacing.2.5"},itemTrigger:{textStyle:"lg",py:"var(--accordion-padding-y)"}}}},defaultVariants:{size:"md",variant:"outline"}});var $z=R({className:"chakra-action-bar",slots:cz.keys(),base:{positioner:{position:"fixed",display:"flex",pointerEvents:"none",insetInline:"0","--action-bar-offset":"spacing.4"},content:{bg:"bg.panel",shadow:"md",display:"flex",alignItems:"center",gap:"3",borderRadius:"l3",py:"2.5",px:"3",pointerEvents:"auto",translate:"calc(-1 * var(--scrollbar-width) / 2) 0px",_open:{animationName:"slide-from-bottom, fade-in",animationDuration:"moderate"},_closed:{animationName:"slide-to-bottom, fade-out",animationDuration:"faster"}},separator:{width:"1px",height:"5",bg:"border"},selectionTrigger:{display:"inline-flex",alignItems:"center",gap:"2",alignSelf:"stretch",textStyle:"sm",px:"4",py:"1",borderRadius:"l2",borderWidth:"1px",borderStyle:"dashed"}},variants:{placement:{bottom:{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"center"}},"bottom-start":{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"flex-start",ps:"var(--action-bar-offset)"}},"bottom-end":{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"flex-end",pe:"var(--action-bar-offset)"}}}},defaultVariants:{placement:"bottom"}});var Kz=R({slots:dz.keys(),className:"chakra-alert",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",borderRadius:"l3"},title:{fontWeight:"medium"},description:{display:"inline"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",width:"1em",height:"1em",_icon:{boxSize:"full"}},content:{display:"flex",flex:"1",gap:"1"}},variants:{status:{info:{root:{colorPalette:"blue"}},warning:{root:{colorPalette:"orange"}},success:{root:{colorPalette:"green"}},error:{root:{colorPalette:"red"}},neutral:{root:{colorPalette:"gray"}}},inline:{true:{content:{display:"inline-flex",flexDirection:"row",alignItems:"center"}},false:{content:{display:"flex",flexDirection:"column"}}},variant:{subtle:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},surface:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",shadowColor:"var(--outline-shadow, var(--outline-shadow-legacy))"},indicator:{color:"colorPalette.fg"}},solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"},indicator:{color:"colorPalette.contrast"}}},size:{sm:{root:{gap:"2",px:"3",py:"3",textStyle:"xs"},indicator:{textStyle:"lg"}},md:{root:{gap:"3",px:"4",py:"4",textStyle:"sm"},indicator:{textStyle:"xl"}},lg:{root:{gap:"3",px:"4",py:"4",textStyle:"md"},indicator:{textStyle:"2xl"}}}},defaultVariants:{status:"info",variant:"subtle",size:"md",inline:!1}});var Yz=R({slots:ii.keys(),className:"chakra-avatar",base:{root:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",position:"relative",verticalAlign:"top",flexShrink:"0",userSelect:"none",width:"var(--avatar-size)",height:"var(--avatar-size)",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)","&[data-group-item]":{borderWidth:"2px",borderColor:"bg"}},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"var(--avatar-radius)"},fallback:{lineHeight:"1",textTransform:"uppercase",fontWeight:"medium",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)"}},variants:{size:{full:{root:{"--avatar-size":"100%","--avatar-font-size":"100%"}},"2xs":{root:{"--avatar-font-size":"fontSizes.2xs","--avatar-size":"sizes.6"}},xs:{root:{"--avatar-font-size":"fontSizes.xs","--avatar-size":"sizes.8"}},sm:{root:{"--avatar-font-size":"fontSizes.sm","--avatar-size":"sizes.9"}},md:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.10"}},lg:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.11"}},xl:{root:{"--avatar-font-size":"fontSizes.lg","--avatar-size":"sizes.12"}},"2xl":{root:{"--avatar-font-size":"fontSizes.xl","--avatar-size":"sizes.16"}}},variant:{solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},subtle:{root:{bg:"colorPalette.muted",color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",borderWidth:"1px","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",borderColor:"var(--outline-shadow, var(--outline-shadow-legacy))"}}},shape:{square:{},rounded:{root:{"--avatar-radius":"radii.l3"}},full:{root:{"--avatar-radius":"radii.full"}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:"0px"}}}}},defaultVariants:{size:"md",shape:"full",variant:"subtle"}});var Xz=R({className:"chakra-blockquote",slots:pz.keys(),base:{root:{position:"relative",display:"flex",flexDirection:"column",gap:"2"},caption:{textStyle:"sm",color:"fg.muted"},icon:{boxSize:"5"}},variants:{justify:{start:{root:{alignItems:"flex-start",textAlign:"start"}},center:{root:{alignItems:"center",textAlign:"center"}},end:{root:{alignItems:"flex-end",textAlign:"end"}}},variant:{subtle:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.muted"},icon:{color:"colorPalette.fg"}},solid:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.solid"},icon:{color:"colorPalette.solid"}},plain:{root:{paddingX:"5"},icon:{color:"colorPalette.solid"}}}},defaultVariants:{variant:"subtle",justify:"start"}});var Qz=R({className:"chakra-breadcrumb",slots:sz.keys(),base:{list:{display:"flex",alignItems:"center",wordBreak:"break-word",color:"fg.muted",listStyle:"none"},link:{outline:"0",textDecoration:"none",borderRadius:"l1",focusRing:"outside",display:"inline-flex",alignItems:"center",gap:"2"},item:{display:"inline-flex",alignItems:"center"},separator:{color:"fg.muted",opacity:"0.8",_icon:{boxSize:"1em"},_rtl:{rotate:"180deg"}},ellipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"1em"}}},variants:{variant:{underline:{link:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"0.2em",textDecorationColor:"colorPalette.muted"},currentLink:{color:"colorPalette.fg"}},plain:{link:{color:"fg.muted",_hover:{color:"fg"}},currentLink:{color:"fg"}}},size:{sm:{list:{gap:"1",textStyle:"xs"}},md:{list:{gap:"1.5",textStyle:"sm"}},lg:{list:{gap:"2",textStyle:"md"}}}},defaultVariants:{variant:"plain",size:"md"}});var Zz=R({className:"chakra-card",slots:gz.keys(),base:{root:{display:"flex",flexDirection:"column",position:"relative",minWidth:"0",wordWrap:"break-word",borderRadius:"l3",color:"fg",textAlign:"start"},title:{fontWeight:"semibold"},description:{color:"fg.muted",fontSize:"sm"},header:{paddingInline:"var(--card-padding)",paddingTop:"var(--card-padding)",display:"flex",flexDirection:"column",gap:"1.5"},body:{padding:"var(--card-padding)",flex:"1",display:"flex",flexDirection:"column"},footer:{display:"flex",alignItems:"center",gap:"2",paddingInline:"var(--card-padding)",paddingBottom:"var(--card-padding)"}},variants:{size:{sm:{root:{"--card-padding":"spacing.4"},title:{textStyle:"md"}},md:{root:{"--card-padding":"spacing.6"},title:{textStyle:"lg"}},lg:{root:{"--card-padding":"spacing.7"},title:{textStyle:"xl"}}},variant:{elevated:{root:{bg:"bg.panel",boxShadow:"md"}},outline:{root:{bg:"bg.panel",borderWidth:"1px",borderColor:"border"}},subtle:{root:{bg:"bg.muted"}}}},defaultVariants:{variant:"outline",size:"md"}});var Jz=R({className:"carousel",slots:j9.keys(),base:{root:{position:"relative",display:"flex",gap:"2",_horizontal:{flexDirection:"column"},_vertical:{flexDirection:"row"}},item:{_horizontal:{width:"100%"},_vertical:{height:"100%"}},control:{display:"flex",alignItems:"center",_horizontal:{flexDirection:"row",width:"100%"},_vertical:{flexDirection:"column",height:"100%"}},indicatorGroup:{display:"flex",justifyContent:"center",gap:"3",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},indicator:{width:"2.5",height:"2.5",borderRadius:"full",bg:"colorPalette.subtle",cursor:"button",_current:{bg:"colorPalette.solid"}}},defaultVariants:{}});var tk=R({slots:E9.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:g1.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:g1.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:g1.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:g1.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:g1.variants?.size?.lg}},variant:{outline:{control:g1.variants?.variant?.outline},solid:{control:g1.variants?.variant?.solid},subtle:{control:g1.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}});var ak=R({slots:vz.keys(),className:"chakra-checkbox-card",base:{root:{display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",flex:"1",focusVisibleRing:"outside",_disabled:{opacity:"0.8"},_invalid:{outline:"2px solid",outlineColor:"border.error"}},control:{display:"inline-flex",flex:"1",position:"relative",borderRadius:"inherit",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"},label:{fontWeight:"medium",display:"flex",alignItems:"center",gap:"2",flex:"1",_disabled:{opacity:"0.5"}},description:{opacity:"0.64",textStyle:"sm",_disabled:{opacity:"0.5"}},addon:{_disabled:{opacity:"0.5"}},indicator:g1.base,content:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"}},variants:{size:{sm:{root:{textStyle:"sm"},control:{padding:"3",gap:"1.5"},addon:{px:"3",py:"1.5",borderTopWidth:"1px"},indicator:g1.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:g1.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:g1.variants?.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:g1.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:g1.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"inset 0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:g1.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:g1.variants?.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":"flex-start"}},end:{root:{"--checkbox-card-justify":"flex-end"}},center:{root:{"--checkbox-card-justify":"center"}}},align:{start:{root:{"--checkbox-card-align":"flex-start"},content:{textAlign:"start"}},end:{root:{"--checkbox-card-align":"flex-end"},content:{textAlign:"end"}},center:{root:{"--checkbox-card-align":"center"},content:{textAlign:"center"}}},orientation:{vertical:{control:{flexDirection:"column"}},horizontal:{control:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}});var rk=R({slots:Nz.keys(),className:"code-block",base:{root:{colorPalette:"gray",rounded:"var(--code-block-radius)",overflow:"hidden",bg:"bg",color:"fg",borderWidth:"1px","--code-block-max-height":"320px","--code-block-bg":"colors.bg","--code-block-fg":"colors.fg","--code-block-obscured-opacity":"0.5","--code-block-obscured-blur":"1px","--code-block-line-number-width":"sizes.3","--code-block-line-number-margin":"spacing.4","--code-block-highlight-bg":"{colors.teal.focusRing/20}","--code-block-highlight-border":"colors.teal.focusRing","--code-block-highlight-added-bg":"{colors.green.focusRing/20}","--code-block-highlight-added-border":"colors.green.focusRing","--code-block-highlight-removed-bg":"{colors.red.focusRing/20}","--code-block-highlight-removed-border":"colors.red.focusRing"},header:{display:"flex",alignItems:"center",gap:"2",position:"relative",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)",mb:"calc(var(--code-block-padding) / 2 * -1)"},title:{display:"inline-flex",alignItems:"center",gap:"1.5",flex:"1",color:"fg.muted"},control:{gap:"1.5",display:"inline-flex",alignItems:"center"},footer:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)"},content:{position:"relative",colorScheme:"dark",borderBottomRadius:"var(--code-block-radius)",maxHeight:"var(--code-block-max-height)","& ::selection":{bg:"blue.500/40"},_expanded:{maxHeight:"unset"}},overlay:{"--bg":"{colors.black/50}",display:"flex",alignItems:"flex-end",justifyContent:"center",padding:"4",bgImage:"linear-gradient(0deg,var(--bg) 25%,transparent 100%)",color:"white",minH:"5rem",pos:"absolute",bottom:"0",insetInline:"0",zIndex:"1",fontWeight:"medium",_expanded:{display:"none"}},code:{fontFamily:"mono",lineHeight:"tall",whiteSpace:"pre",counterReset:"line 0",overflowX:"auto",overflowY:"hidden"},codeText:{px:"var(--code-block-padding)",py:"var(--code-block-padding)",position:"relative",display:"block",width:"100%","&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:"opacity, filter",transitionDuration:"moderate",transitionTimingFunction:"ease-in-out",opacity:"var(--code-block-obscured-opacity)",filter:"blur(var(--code-block-obscured-blur))"},"&:hover":{"--code-block-obscured-opacity":"1","--code-block-obscured-blur":"0px"}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:"calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))"},"& [data-line]":{position:"relative",paddingInlineEnd:"var(--code-block-padding)","--highlight-bg":"var(--code-block-highlight-bg)","--highlight-border":"var(--code-block-highlight-border)","&[data-highlight], &[data-diff]":{display:"inline-block",width:"full","&:after":{content:"''",display:"block",position:"absolute",top:"0",insetStart:"calc(var(--code-block-padding) * -1)",insetEnd:"0px",width:"calc(100% + var(--code-block-padding) * 2)",height:"100%",bg:"var(--highlight-bg)",borderStartWidth:"2px",borderStartColor:"var(--highlight-border)"}},"&[data-diff='added']":{"--highlight-bg":"var(--code-block-highlight-added-bg)","--highlight-border":"var(--code-block-highlight-added-border)"},"&[data-diff='removed']":{"--highlight-bg":"var(--code-block-highlight-removed-bg)","--highlight-border":"var(--code-block-highlight-removed-border)"}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:"pre-wrap",wordBreak:"break-all"}},"&[data-has-line-numbers]":{"--content":"counter(line)","& [data-line]:before":{content:"var(--content)",counterIncrement:"line",width:"var(--code-block-line-number-width)",marginRight:"var(--code-block-line-number-margin)",display:"inline-block",textAlign:"end",userSelect:"none",whiteSpace:"nowrap",opacity:.4},"& [data-diff='added']:before":{content:"'+'"},"& [data-diff='removed']:before":{content:"'-'"}}}},variants:{size:{sm:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.md","--code-block-header-height":"sizes.8"},title:{textStyle:"xs"},code:{fontSize:"xs"}},md:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.lg","--code-block-header-height":"sizes.10"},title:{textStyle:"xs"},code:{fontSize:"sm"}},lg:{root:{"--code-block-padding":"spacing.5","--code-block-radius":"radii.xl","--code-block-header-height":"sizes.12"},title:{textStyle:"sm"},code:{fontSize:"sm"}}}},defaultVariants:{size:"md"}});var ek=R({slots:li.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate","&[data-has-collapsed-size]":{animationName:"expand-height"}},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate","&[data-has-collapsed-size]":{animationName:"collapse-height"}}}}});var ik=R({className:"colorPicker",slots:Dz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5"},label:{color:"fg",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},valueText:{textAlign:"start"},control:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2",position:"relative"},swatchTrigger:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",flexShrink:"0",gap:"2",textStyle:"sm",minH:"var(--input-height)",minW:"var(--input-height)",px:"1",rounded:"l2",_disabled:{opacity:"0.5"},"--focus-color":"colors.colorPalette.focusRing","&:focus-visible":{borderColor:"var(--focus-color)",outline:"1px solid var(--focus-color)"},"&[data-fit-content]":{"--input-height":"unset",px:"0",border:"0"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l3",boxShadow:"lg",width:"64",p:"4",gap:"3","--color-picker-z-index":"zIndex.popover",zIndex:"calc(var(--color-picker-z-index) + var(--layer-index, 0))",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},area:{height:"180px",borderRadius:"l2",overflow:"hidden"},areaThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",focusVisibleRing:"mixed",focusRingColor:"white"},areaBackground:{height:"full"},channelSlider:{borderRadius:"l2",flex:"1"},channelSliderTrack:{height:"var(--slider-height)",borderRadius:"inherit",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"},channelText:{textStyle:"xs",color:"fg.muted",fontWeight:"medium",textTransform:"capitalize"},swatchGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"2"},swatch:{...ic.base,borderRadius:"l1"},swatchIndicator:{color:"white",rounded:"full"},channelSliderThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",transform:"translate(-50%, -50%)",focusVisibleRing:"outside",focusRingOffset:"1px"},channelInput:{...Gt.base,"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},formatSelect:{textStyle:"xs",textTransform:"uppercase",borderWidth:"1px",minH:"6",focusRing:"inside",rounded:"l2"},transparencyGrid:{borderRadius:"l2"},view:{display:"flex",flexDirection:"column",gap:"2"}},variants:{size:{"2xs":{channelInput:Gt.variants?.size?.["2xs"],swatch:{"--swatch-size":"sizes.4.5"},trigger:{"--input-height":"sizes.7"},area:{"--thumb-size":"sizes.3"},channelSlider:{"--slider-height":"sizes.3","--thumb-size":"sizes.3"}},xs:{channelInput:Gt.variants?.size?.xs,swatch:{"--swatch-size":"sizes.5"},trigger:{"--input-height":"sizes.8"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},sm:{channelInput:Gt.variants?.size?.sm,swatch:{"--swatch-size":"sizes.6"},trigger:{"--input-height":"sizes.9"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},md:{channelInput:Gt.variants?.size?.md,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.10"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},lg:{channelInput:Gt.variants?.size?.lg,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.11"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},xl:{channelInput:Gt.variants?.size?.xl,swatch:{"--swatch-size":"sizes.8"},trigger:{"--input-height":"sizes.12"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},"2xl":{channelInput:Gt.variants?.size?.["2xl"],swatch:{"--swatch-size":"sizes.10"},trigger:{"--input-height":"sizes.16"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}}},variant:{outline:{channelInput:Gt.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:Gt.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}});var ok=R({className:"chakra-combobox",slots:Sz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},control:{pos:"relative","--padding-factor":"1","--combobox-input-padding-end":"var(--combobox-input-padding-x)","&:has([data-part=trigger]), &:has([data-part=clear-trigger])":{"--combobox-input-padding-end":"calc(var(--combobox-input-height) * var(--padding-factor))"},"&:has([data-part=trigger]):has([data-part=clear-trigger]:not([hidden]))":{"--padding-factor":"1.5"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",ps:"var(--combobox-input-padding-x)",pe:"var(--combobox-input-padding-end)","--input-height":"var(--combobox-input-height)",borderRadius:"l2",outline:0,userSelect:"none",textAlign:"start",_placeholderShown:{color:"fg.muted"},_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center","--input-height":"var(--combobox-input-height)"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"},indicatorGroup:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--combobox-input-padding-x)",_icon:{boxSize:"var(--combobox-indicator-size)"},"[data-disabled] &":{opacity:.5}},content:{background:"bg.panel",display:"flex",flexDirection:"column","--combobox-z-index":"zIndex.popover",zIndex:"calc(var(--combobox-z-index) + var(--layer-index, 0))",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"0s"},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{boxSize:"var(--combobox-indicator-size)"}},empty:{py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{pb:"var(--combobox-item-padding-y)",_last:{pb:"0"}},itemGroupLabel:{fontWeight:"medium",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"}},variants:{variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},indicatorGroup:{px:"0"}}},size:{xs:{root:{"--combobox-input-height":"sizes.8","--combobox-input-padding-x":"spacing.2","--combobox-indicator-size":"sizes.3.5"},input:{textStyle:"xs"},content:{"--combobox-item-padding-x":"spacing.1.5","--combobox-item-padding-y":"spacing.1","--combobox-indicator-size":"sizes.3.5",p:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"}},sm:{root:{"--combobox-input-height":"sizes.9","--combobox-input-padding-x":"spacing.2.5","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"}},md:{root:{"--combobox-input-height":"sizes.10","--combobox-input-padding-x":"spacing.3","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{textStyle:"sm",gap:"2"}},lg:{root:{"--combobox-input-height":"sizes.12","--combobox-input-padding-x":"spacing.4","--combobox-indicator-size":"sizes.5"},input:{textStyle:"md"},content:{"--combobox-item-padding-y":"spacing.2","--combobox-item-padding-x":"spacing.3","--combobox-indicator-size":"sizes.5",p:"1.5",textStyle:"md"},trigger:{textStyle:"md",py:"3",gap:"2"}}}},defaultVariants:{size:"md",variant:"outline"}});var lk=R({slots:uz.keys(),className:"chakra-data-list",base:{itemLabel:{display:"flex",alignItems:"center",gap:"1"},itemValue:{display:"flex",minWidth:"0",flex:"1"}},variants:{orientation:{horizontal:{root:{display:"flex",flexDirection:"column"},item:{display:"inline-flex",alignItems:"center",gap:"4"},itemLabel:{minWidth:"120px"}},vertical:{root:{display:"flex",flexDirection:"column"},item:{display:"flex",flexDirection:"column",gap:"1"}}},size:{sm:{root:{gap:"3"},item:{textStyle:"xs"}},md:{root:{gap:"4"},item:{textStyle:"sm"}},lg:{root:{gap:"5"},item:{textStyle:"md"}}},variant:{subtle:{itemLabel:{color:"fg.muted"}},bold:{itemLabel:{fontWeight:"medium"},itemValue:{color:"fg.muted"}}}},defaultVariants:{size:"md",orientation:"vertical",variant:"subtle"}});var nk=T2({display:"inline-flex",alignItems:"center",justifyContent:"center",boxSize:"var(--datepicker-nav-trigger-size)",borderRadius:"l2",color:"fg",focusVisibleRing:"inside",focusRingWidth:"2px",_hover:{bg:"colorPalette.subtle"},_focusVisible:{boxShadow:"0 0 0 2px var(--colors-color-palette-focus-ring)"},_disabled:{opacity:.5},_icon:{boxSize:"4"}}),SO=`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")`,hk=T2({height:"var(--datepicker-select-height)",ps:"2",pe:"8",textStyle:"sm",borderWidth:"1px",borderRadius:"l2",outline:"none",focusVisibleRing:"inside",appearance:"none",fieldSizing:"content",backgroundImage:SO,backgroundRepeat:"no-repeat",backgroundPosition:"right 0.375rem center",backgroundSize:"1.25em"}),ck=R({className:"date-picker",slots:Mz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full","--datepicker-indicators-offset":"sizes.3",_disabled:{opacity:.5}},label:{textStyle:"sm",fontWeight:"medium"},indicatorGroup:{position:"absolute",insetEnd:"var(--datepicker-indicators-offset)",top:"50%",transform:"translateY(-50%)",display:"flex",alignItems:"center",justifyContent:"center",gap:"1"},control:{display:"flex",alignItems:"center",gap:"2",width:"full",position:"relative"},input:{flex:"1",minWidth:"0",height:"var(--datepicker-input-height)","--input-height":"var(--datepicker-input-height)",px:"var(--datepicker-input-px)",textStyle:"sm",bg:"transparent",borderRadius:"l2",outline:"0",appearance:"none",color:"fg","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"6",height:"6",borderRadius:"l1",color:"fg.muted",outline:"none",_hover:{color:"fg"},focusVisibleRing:"inside",focusRingWidth:"2px",_icon:{boxSize:"4"}},content:{display:"flex",flexDirection:"column",gap:"3",p:"3",minW:"18rem",bg:"bg.panel",borderRadius:"l2",boxShadow:"lg",color:"fg","--date-picker-z-index":"zIndex.popover",zIndex:"calc(var(--date-picker-z-index) + var(--layer-index, 0))",outline:"none",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},view:{display:"flex",flexDirection:"column",gap:"3"},viewControl:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"2",height:"var(--datepicker-nav-trigger-size)"},viewTrigger:{display:"inline-flex",flex:"1",alignItems:"center",justifyContent:"center",gap:"1",py:"1.5",px:"2",textStyle:"sm",fontWeight:"semibold",borderRadius:"l2",focusVisibleRing:"inside",focusRingWidth:"2px",_hover:{bg:"colorPalette.subtle"}},prevTrigger:nk,nextTrigger:nk,rangeText:{textStyle:"sm",fontWeight:"semibold"},table:{borderCollapse:"separate",borderSpacing:"0"},tableHeader:{width:"var(--table-cell-size)",py:"2",textStyle:"xs",fontWeight:"medium",color:"fg.muted",textAlign:"center",textTransform:"uppercase","&[data-type='week-number']":{color:"fg.subtle"}},tableCell:{py:"0.5","&[data-type='week-number']":{color:"fg.subtle"}},tableCellTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",minWidth:"var(--table-cell-size)",minHeight:"var(--table-cell-size)",textStyle:"sm",borderRadius:"l2",focusVisibleRing:"inside",focusRingWidth:"2px",focusRingOffset:"0px",cursor:"default",position:"relative",_hover:{bg:"colorPalette.subtle"},"[data-view=month] &, [data-view=year] &":{width:"calc(var(--table-cell-size) * 1.75)"},_today:{color:"colorPalette.fg",fontWeight:"semibold",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationThickness:"2px"},"&[data-selected]":{bg:"colorPalette.solid",color:"colorPalette.contrast",_hover:{bg:"colorPalette.solid"}},"&[data-in-range]":{bg:"colorPalette.subtle",color:"colorPalette.fg",borderRadius:"0",_hover:{bg:"colorPalette.subtle"}},"&[data-in-range][data-selected]":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderRadius:"0",_hover:{bg:"colorPalette.solid"},"&[data-range-start][data-range-end]":{borderRadius:"l2"},"&[data-range-start]:not([data-range-end])":{borderStartRadius:"l2",borderEndRadius:"0"},"&[data-range-end]:not([data-range-start])":{borderEndRadius:"l2",borderStartRadius:"0"}},_disabled:{opacity:.4}},monthSelect:hk,yearSelect:hk,clearTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"6",height:"6",flexShrink:0,textStyle:"xs",borderRadius:"l2",color:"fg.muted",_hover:{color:"fg"},focusVisibleRing:"inside",_icon:{width:"4",height:"4"}}},variants:{size:{xs:{root:{"--datepicker-input-height":"sizes.8","--datepicker-input-px":"sizes.2","--datepicker-indicators-offset":"sizes.2"},view:{"--table-cell-size":"sizes.8","--datepicker-nav-trigger-size":"sizes.7","--datepicker-select-height":"sizes.8"}},sm:{root:{"--datepicker-input-height":"sizes.9","--datepicker-input-px":"sizes.2.5","--datepicker-indicators-offset":"sizes.2.5"},view:{"--table-cell-size":"sizes.9","--datepicker-nav-trigger-size":"sizes.8","--datepicker-select-height":"sizes.9"}},md:{root:{"--datepicker-input-height":"sizes.10","--datepicker-input-px":"sizes.3"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.8","--datepicker-select-height":"sizes.10"}},lg:{root:{"--datepicker-input-height":"sizes.11","--datepicker-input-px":"sizes.4"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.9","--datepicker-select-height":"sizes.10"}},xl:{root:{"--datepicker-input-height":"sizes.12","--datepicker-input-px":"sizes.4.5"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.9","--datepicker-select-height":"sizes.10"}}},hideOutsideDays:{true:{tableCellTrigger:{"&[data-outside-range]":{visibility:"hidden"}}}},variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}},indicatorGroup:{insetEnd:"0"}}}},defaultVariants:{size:"md",variant:"outline"}});var dk=R({slots:fz.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh","--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0) - 1)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100dvw",height:"100dvh",position:"fixed",left:0,top:0,"--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",justifyContent:"center",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,borderRadius:"l3",textStyle:"sm",my:"var(--dialog-margin, var(--dialog-base-margin))","--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"moderate"},_closed:{animationDuration:"faster"}},header:{display:"flex",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{flex:"1",px:"6",pt:"2",pb:"6"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"2",insetEnd:"2"}},variants:{placement:{center:{positioner:{alignItems:"center"},content:{"--dialog-base-margin":"auto",mx:"auto"}},top:{positioner:{alignItems:"flex-start"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}},bottom:{positioner:{alignItems:"flex-end"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}}},scrollBehavior:{inside:{positioner:{overflow:"hidden"},content:{maxH:"calc(100% - 7.5rem)"},body:{overflow:"auto"}},outside:{positioner:{overflow:"auto",pointerEvents:"auto"}}},size:{xs:{content:{maxW:"sm"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},cover:{positioner:{padding:"10"},content:{width:"100%",height:"100%","--dialog-margin":"0"}},full:{content:{maxW:"100dvw",minH:"100dvh","--dialog-margin":"0",borderRadius:"0"}}},motionPreset:{scale:{content:{_open:{animationName:"scale-in, fade-in"},_closed:{animationName:"scale-out, fade-out"}}},"slide-in-bottom":{content:{_open:{animationName:"slide-from-bottom, fade-in"},_closed:{animationName:"slide-to-bottom, fade-out"}}},"slide-in-top":{content:{_open:{animationName:"slide-from-top, fade-in"},_closed:{animationName:"slide-to-top, fade-out"}}},"slide-in-left":{content:{_open:{animationName:"slide-from-left, fade-in"},_closed:{animationName:"slide-to-left, fade-out"}}},"slide-in-right":{content:{_open:{animationName:"slide-from-right, fade-in"},_closed:{animationName:"slide-to-right, fade-out"}}},none:{}}},defaultVariants:{size:"md",scrollBehavior:"outside",placement:"top",motionPreset:"scale"}});var sk=R({slots:mz.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh","--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0) - 1)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",insetInlineStart:0,top:0,"--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0))",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,"--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0))",textStyle:"sm",maxH:"100dvh",color:"inherit",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"slowest",animationTimingFunction:"ease-in-smooth"},_closed:{animationDuration:"slower",animationTimingFunction:"ease-in-smooth"}},header:{display:"flex",alignItems:"center",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{px:"6",py:"2",flex:"1",overflow:"auto"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{flex:"1",textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"3",insetEnd:"2"}},variants:{size:{xs:{content:{maxW:"xs"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},full:{content:{maxW:"100vw",h:"100dvh"}}},placement:{start:{positioner:{justifyContent:"flex-start",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-left-full, fade-in",_rtl:"slide-from-right-full, fade-in"}},_closed:{animationName:{base:"slide-to-left-full, fade-out",_rtl:"slide-to-right-full, fade-out"}}}},end:{positioner:{justifyContent:"flex-end",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-right-full, fade-in",_rtl:"slide-from-left-full, fade-in"}},_closed:{animationName:{base:"slide-to-right-full, fade-out",_rtl:"slide-to-left-full, fade-out"}}}},top:{positioner:{justifyContent:"stretch",alignItems:"flex-start"},content:{maxW:"100%",_open:{animationName:"slide-from-top-full, fade-in"},_closed:{animationName:"slide-to-top-full, fade-out"}}},bottom:{positioner:{justifyContent:"stretch",alignItems:"flex-end"},content:{maxW:"100%",_open:{animationName:"slide-from-bottom-full, fade-in"},_closed:{animationName:"slide-to-bottom-full, fade-out"}}}},contained:{true:{positioner:{padding:"4"},content:{borderRadius:"l3"}}}},defaultVariants:{size:"xs",placement:"end"}});var pk=T2({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),gk=R({slots:xz.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...pk,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...pk,outline:"0",py:"1",px:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",focusVisibleRing:"inside",focusRingWidth:"2px",_placeholder:{opacity:.6}},control:{display:"inline-flex",alignItems:"center",gap:"1.5"}},variants:{size:{sm:{root:{textStyle:"sm"},preview:{minH:"8"},input:{minH:"8"}},md:{root:{textStyle:"sm"},preview:{minH:"9"},input:{minH:"9"}},lg:{root:{textStyle:"md"},preview:{minH:"10"},input:{minH:"10"}}}},defaultVariants:{size:"md"}});var vk=R({slots:zz.keys(),className:"chakra-empty-state",base:{root:{width:"full"},content:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",_icon:{boxSize:"1em"}},title:{fontWeight:"semibold"},description:{textStyle:"sm",color:"fg.muted"}},variants:{size:{sm:{root:{px:"4",py:"6"},title:{textStyle:"md"},content:{gap:"4"},indicator:{textStyle:"2xl"}},md:{root:{px:"8",py:"12"},title:{textStyle:"lg"},content:{gap:"6"},indicator:{textStyle:"4xl"}},lg:{root:{px:"12",py:"16"},title:{textStyle:"xl"},content:{gap:"8"},indicator:{textStyle:"6xl"}}}},defaultVariants:{size:"md"}});var uk=R({className:"chakra-field",slots:kz.keys(),base:{requiredIndicator:{color:"fg.error",lineHeight:"1"},root:{display:"flex",width:"100%",position:"relative",gap:"1.5"},label:{display:"flex",alignItems:"center",textAlign:"start",textStyle:"sm",fontWeight:"medium",gap:"1",userSelect:"none",_disabled:{opacity:"0.5"}},errorText:{display:"inline-flex",alignItems:"center",fontWeight:"medium",gap:"1",color:"fg.error",textStyle:"xs"},helperText:{color:"fg.muted",textStyle:"xs"}},variants:{orientation:{vertical:{root:{flexDirection:"column",alignItems:"flex-start"}},horizontal:{root:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},label:{flex:"0 0 var(--field-label-width, 80px)"}}}},defaultVariants:{orientation:"vertical"}});var Mk=R({className:"fieldset",slots:Lz.keys(),base:{root:{display:"flex",flexDirection:"column",width:"full"},content:{display:"flex",flexDirection:"column",width:"full"},legend:{color:"fg",fontWeight:"medium",_disabled:{opacity:"0.5"}},helperText:{color:"fg.muted",textStyle:"sm"},errorText:{display:"inline-flex",alignItems:"center",color:"fg.error",gap:"2",fontWeight:"medium",textStyle:"sm"}},variants:{size:{sm:{root:{spaceY:"2"},content:{gap:"1.5"},legend:{textStyle:"sm"}},md:{root:{spaceY:"4"},content:{gap:"4"},legend:{textStyle:"sm"}},lg:{root:{spaceY:"6"},content:{gap:"4"},legend:{textStyle:"md"}}}},defaultVariants:{size:"md"}});var fk=R({className:"chakra-file-upload",slots:wz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"4",width:"100%",alignItems:"flex-start"},label:{fontWeight:"medium",textStyle:"sm"},dropzone:{background:"bg",borderRadius:"l3",borderWidth:"2px",borderStyle:"dashed",display:"flex",alignItems:"center",flexDirection:"column",gap:"4",justifyContent:"center",minHeight:"2xs",px:"3",py:"2",transition:"backgrounds",focusVisibleRing:"outside",_hover:{bg:"bg.subtle"},_dragging:{bg:"colorPalette.subtle",borderStyle:"solid",borderColor:"colorPalette.solid"}},dropzoneContent:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:"1",textStyle:"sm"},item:{pos:"relative",textStyle:"sm",animationName:"fade-in",animationDuration:"moderate",background:"bg",borderRadius:"l2",borderWidth:"1px",width:"100%",display:"flex",alignItems:"center",gap:"3",p:"4"},itemGroup:{width:"100%",display:"flex",flexDirection:"column",gap:"3",_empty:{display:"none"}},itemName:{color:"fg",fontWeight:"medium",lineClamp:"1"},itemContent:{display:"flex",flexDirection:"column",gap:"0.5",flex:"1"},itemSizeText:{color:"fg.muted",textStyle:"xs"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",boxSize:"5",p:"2px",color:"fg.muted",cursor:"button"},itemPreview:{color:"fg.muted",_icon:{boxSize:"4.5"}}},defaultVariants:{}});var mk=R({slots:gi.keys(),className:"chakra-floating-panel",base:{positioner:{"--floating-panel-z-index":"zIndex.popover",zIndex:"calc(var(--floating-panel-z-index) + var(--layer-index, 0))","&:has([data-topmost])":{"--layer-index":"100"},"&:has([data-behind])":{"--layer-index":"-100"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l2",boxShadow:"lg",overflow:"hidden",outline:0,position:"relative",_open:{animationName:"scale-in, fade-in",animationDuration:"moderate"}},dragTrigger:{flex:"1",display:"flex",alignItems:"center",gap:"2",minW:"0"},header:{display:"flex",alignItems:"center",gap:"2",px:"3",py:"2",borderBottomWidth:"1px",bg:"bg.subtle",flex:"none"},title:{fontWeight:"semibold",textStyle:"sm",flex:"1",truncate:!0},body:{flex:"1",overflow:"auto",p:"3",textStyle:"sm"},resizeTrigger:{zIndex:"1","--size":"sizes.2.5",'&[data-axis="n"], &[data-axis="s"]':{h:"var(--size)"},'&[data-axis="e"], &[data-axis="w"]':{w:"var(--size)"},'&[data-axis]:is([data-axis="ne"], [data-axis="nw"], [data-axis="se"], [data-axis="sw"])':{w:"var(--size)",h:"var(--size)"}}}});var xk=R({className:"chakra-hover-card",slots:vi.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--hovercard-bg":"colors.bg.panel",bg:"var(--hovercard-bg)",boxShadow:"lg",maxWidth:"80",borderRadius:"l3","--hover-card-z-index":"zIndex.popover",zIndex:"calc(var(--hover-card-z-index) + var(--layer-index, 0))",transformOrigin:"var(--transform-origin)",outline:"0",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--hovercard-bg)"},arrowTip:{borderTopWidth:"0.5px",borderLeftWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}});var zk=R({className:"chakra-list",slots:bz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"var(--list-gap)","& :where(ul, ol)":{marginTop:"var(--list-gap)"}},item:{whiteSpace:"normal",display:"list-item"},indicator:{marginEnd:"2",minHeight:"1lh",flexShrink:0,display:"inline-block",verticalAlign:"middle"}},variants:{variant:{marker:{root:{listStyle:"revert"},item:{_marker:{color:"fg.subtle"}}},plain:{item:{alignItems:"flex-start",display:"inline-flex"}}},align:{center:{item:{alignItems:"center"}},start:{item:{alignItems:"flex-start"}},end:{item:{alignItems:"flex-end"}}}},defaultVariants:{variant:"marker"}});var kk=R({className:"chakra-listbox",slots:Gz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},content:{display:"flex",maxH:"96",p:"1",gap:"1",textStyle:"sm",outline:"none",scrollPadding:"1",_horizontal:{flexDirection:"row",overflowX:"auto"},_vertical:{flexDirection:"column",overflowY:"auto"},"--listbox-item-padding-x":"spacing.2","--listbox-item-padding-y":"spacing.1.5"},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"pointer",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)",_highlighted:{outline:"2px solid",outlineColor:"border.emphasized"},_disabled:{pointerEvents:"none",opacity:"0.5"}},empty:{py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{mt:"1.5",_first:{mt:"0"}},itemGroupLabel:{py:"1.5",px:"2",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"4"}}},variants:{variant:{subtle:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_hover:{bg:"bg.emphasized/60"},_selected:{bg:"bg.muted"}}},solid:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_selected:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}},plain:{}}},defaultVariants:{variant:"subtle"}});var Lk=R({className:"chakra-marquee",slots:ui.keys(),base:{root:{position:"relative",width:"100%","--marquee-edge-color":"colors.bg","--marquee-edge-size":"20%","&[data-paused]":{animationPlayState:"paused !important","& *":{animationPlayState:"paused !important"}}},viewport:{overflow:"hidden",display:"flex",width:"100%",height:"100%"},content:{display:"flex",minWidth:"max-content",animationTimingFunction:"linear",animationFillMode:"forwards",animationDuration:"var(--marquee-duration)",animationDelay:"var(--marquee-delay)",animationIterationCount:"var(--marquee-loop-count)",_motionReduce:{animation:"none !important"},"&[data-side='start'], &[data-side='end']":{animationName:"marqueeX"},"&[data-side='top'], &[data-side='bottom']":{animationName:"marqueeY"},"&[data-reverse]":{animationDirection:"reverse"},"&[data-orientation='horizontal']":{flexDirection:"row"},"&[data-orientation='vertical']":{flexDirection:"column"}},edge:{position:"absolute",zIndex:"1",pointerEvents:"none","&[data-side='start']":{width:"var(--marquee-edge-size)",insetY:"0",insetInlineStart:"0",background:"linear-gradient(to right, var(--marquee-edge-color, white), transparent)",_rtl:{background:"linear-gradient(to left, var(--marquee-edge-color, white), transparent)"}},"&[data-side='end']":{width:"var(--marquee-edge-size)",insetY:"0",insetInlineEnd:"0",background:"linear-gradient(to left, var(--marquee-edge-color, white), transparent)",_rtl:{background:"linear-gradient(to right, var(--marquee-edge-color, white), transparent)"}},"&[data-side='top']":{height:"var(--marquee-edge-size)",insetX:"0",top:"0",background:"linear-gradient(to bottom, var(--marquee-edge-color, white), transparent)"},"&[data-side='bottom']":{height:"var(--marquee-edge-size)",insetX:"0",bottom:"0",background:"linear-gradient(to top, var(--marquee-edge-color, white), transparent)"}}}});var wk=R({className:"chakra-menu",slots:Hz.keys(),base:{content:{outline:0,"--menu-bg":"colors.bg.panel",bg:"var(--menu-bg)",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.popover",zIndex:"calc(var(--menu-z-index) + var(--layer-index, 0))",borderRadius:"l2",overflow:"hidden",overflowY:"auto",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},item:{textDecoration:"none",color:"fg",userSelect:"none",borderRadius:"l1",width:"100%",display:"flex",cursor:"menuitem",alignItems:"center",textAlign:"start",position:"relative",flex:"0 0 auto",outline:0,_disabled:{layerStyle:"disabled"},"&[data-type]":{ps:"8"}},itemText:{flex:"1"},itemIndicator:{position:"absolute",insetStart:"2",transform:"translateY(-50%)",top:"50%"},itemGroupLabel:{px:"2",py:"1.5",fontWeight:"semibold",textStyle:"sm"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},itemCommand:{opacity:"0.6",textStyle:"xs",ms:"auto",ps:"4",letterSpacing:"widest",fontFamily:"inherit"},separator:{height:"1px",bg:"bg.muted",my:"1",mx:"-1"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--menu-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px"}},variants:{variant:{subtle:{item:{_highlighted:{bg:"bg.emphasized/60"}}},solid:{item:{_highlighted:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}}},size:{sm:{content:{minW:"8rem",padding:"1",scrollPadding:"1"},item:{gap:"1",textStyle:"xs",py:"1",px:"1.5"}},md:{content:{minW:"8rem",padding:"1.5",scrollPadding:"1.5"},item:{gap:"2",textStyle:"sm",py:"1.5",px:"2"}}}},defaultVariants:{size:"md",variant:"subtle"}});var Sr=R({className:"chakra-select",slots:yz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",minH:"var(--select-trigger-height)","--input-height":"var(--select-trigger-height)",px:"var(--select-trigger-padding-x)",borderRadius:"l2",userSelect:"none",textAlign:"start",focusVisibleRing:"inside",_placeholderShown:{color:"fg.muted/80"},_disabled:{layerStyle:"disabled"},_invalid:{borderColor:"border.error"}},indicatorGroup:{display:"flex",alignItems:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--select-trigger-padding-x)",pointerEvents:"none"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:{base:"fg.muted",_disabled:"fg.subtle",_invalid:"fg.error"}},content:{background:"bg.panel",display:"flex",flexDirection:"column","--select-z-index":"zIndex.popover",zIndex:"calc(var(--select-z-index) + var(--layer-index, 0))",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"fastest"}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{width:"4",height:"4"}},control:{pos:"relative"},itemText:{flex:"1"},itemGroup:{_first:{mt:"0"}},itemGroupLabel:{py:"1",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"}},variants:{variant:{outline:{trigger:{bg:"transparent",borderWidth:"1px",borderColor:"border",_expanded:{borderColor:"border.emphasized"}}},subtle:{trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}},ghost:{trigger:{bg:"transparent",_expanded:{bg:"bg.muted"}}}},size:{xs:{root:{"--select-trigger-height":"sizes.8","--select-trigger-padding-x":"spacing.2"},content:{p:"1",gap:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"},item:{py:"1",px:"2"},itemGroupLabel:{py:"1",px:"2"},indicator:{_icon:{width:"3.5",height:"3.5"}}},sm:{root:{"--select-trigger-height":"sizes.9","--select-trigger-padding-x":"spacing.2.5"},content:{p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"},indicator:{_icon:{width:"4",height:"4"}},item:{py:"1",px:"1.5"},itemGroup:{mt:"1"},itemGroupLabel:{py:"1",px:"1.5"}},md:{root:{"--select-trigger-height":"sizes.10","--select-trigger-padding-x":"spacing.3"},content:{p:"1",textStyle:"sm"},itemGroup:{mt:"1.5"},item:{py:"1.5",px:"2"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},itemGroupLabel:{py:"1.5",px:"2"},trigger:{textStyle:"sm",gap:"2"},indicator:{_icon:{width:"4",height:"4"}}},lg:{root:{"--select-trigger-height":"sizes.12","--select-trigger-padding-x":"spacing.4"},content:{p:"1.5",textStyle:"md"},itemGroup:{mt:"2"},item:{py:"2",px:"3"},itemGroupLabel:{py:"2",px:"3"},trigger:{textStyle:"md",py:"3",gap:"2"},indicator:{_icon:{width:"5",height:"5"}}}}},defaultVariants:{size:"md",variant:"outline"}});var bk=R({className:"chakra-native-select",slots:Cz.keys(),base:{root:{height:"fit-content",display:"flex",width:"100%",position:"relative"},field:{width:"100%",minWidth:"0",outline:"0",appearance:"none",borderRadius:"l2","--error-color":"colors.border.error","--input-height":"var(--select-field-height)",height:"var(--select-field-height)",_disabled:{layerStyle:"disabled"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"},focusVisibleRing:"inside",lineHeight:"normal","& > option, & > optgroup":{bg:"bg"}},indicator:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)",height:"100%",color:"fg.muted",_disabled:{opacity:"0.5"},_invalid:{color:"fg.error"},_icon:{width:"1em",height:"1em"}}},variants:{variant:{outline:{field:Sr.variants?.variant.outline.trigger},subtle:{field:Sr.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}},ghost:{field:Sr.variants?.variant.ghost.trigger}},size:{xs:{root:{"--select-field-height":"sizes.8"},field:{textStyle:"xs",ps:"2",pe:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{root:{"--select-field-height":"sizes.9"},field:{textStyle:"sm",ps:"2.5",pe:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{root:{"--select-field-height":"sizes.10"},field:{textStyle:"sm",ps:"3",pe:"8"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{root:{"--select-field-height":"sizes.11"},field:{textStyle:"md",ps:"4",pe:"8"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{root:{"--select-field-height":"sizes.12"},field:{textStyle:"md",ps:"4.5",pe:"10"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:Sr.defaultVariants});var Hk=T2({display:"flex",justifyContent:"center",alignItems:"center",flex:"1",userSelect:"none",cursor:"button",lineHeight:"1",color:"fg.muted","--stepper-base-radius":"radii.l1","--stepper-radius":"calc(var(--stepper-base-radius) + 1px)",_icon:{boxSize:"1em"},_disabled:{opacity:"0.5"},_hover:{bg:"bg.muted"},_active:{bg:"bg.emphasized"}}),Ck=R({className:"chakra-number-input",slots:fi.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...Gt.base,verticalAlign:"top",pe:"calc(var(--stepper-width) + 0.5rem)"},control:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",width:"var(--stepper-width)",height:"calc(100% - 2px)",zIndex:"1",borderStartWidth:"1px",divideY:"1px"},incrementTrigger:{...Hk,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...Hk,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:Gt.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:Gt.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:Gt.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:Gt.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:x1(Gt.variants.variant,(t,a)=>[t,{input:a}])},defaultVariants:{size:"md",variant:"outline"}});var{variants:Bk,defaultVariants:WO}=Gt,Vk=R({className:"chakra-pin-input",slots:mi.keys(),base:{input:{...Gt.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:x1(Bk.size,(t,a)=>[t,{input:{...a,px:"1"}}]),variant:x1(Bk.variant,(t,a)=>[t,{input:a}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:WO});var Tk=R({className:"chakra-popover",slots:Bz.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--popover-bg":"colors.bg.panel",bg:"var(--popover-bg)",boxShadow:"lg","--popover-size":"sizes.xs","--popover-mobile-size":"calc(100dvw - 1rem)",width:{base:"min(var(--popover-mobile-size), var(--popover-size))",sm:"var(--popover-size)"},borderRadius:"l3","--popover-z-index":"zIndex.popover",zIndex:"calc(var(--popover-z-index) + var(--layer-index, 0))",outline:"0",transformOrigin:"var(--transform-origin)",maxHeight:"var(--available-height)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},header:{paddingInline:"var(--popover-padding)",paddingTop:"var(--popover-padding)"},body:{padding:"var(--popover-padding)",flex:"1"},footer:{display:"flex",alignItems:"center",paddingInline:"var(--popover-padding)",paddingBottom:"var(--popover-padding)"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--popover-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px"}},variants:{size:{xs:{content:{"--popover-padding":"spacing.3"}},sm:{content:{"--popover-padding":"spacing.4"}},md:{content:{"--popover-padding":"spacing.5"}},lg:{content:{"--popover-padding":"spacing.6"}}}},defaultVariants:{size:"md"}});var yk=R({slots:Ia.keys(),className:"chakra-progress",base:{root:{textStyle:"sm",position:"relative"},track:{overflow:"hidden",position:"relative"},range:{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"width, height",transitionDuration:"slow",height:"100%",bgColor:"var(--track-color)",_indeterminate:{"--animate-from-x":"-40%","--animate-to-x":"100%",position:"absolute",willChange:"left",minWidth:"50%",animation:"position 1s ease infinite normal none running",backgroundImage:"linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)"}},label:{display:"inline-flex",fontWeight:"medium",alignItems:"center",gap:"1"},valueText:{textStyle:"xs",lineHeight:"1",fontWeight:"medium"}},variants:{variant:{outline:{track:{shadow:"inset",bgColor:"bg.muted"},range:{bgColor:"colorPalette.solid"}},subtle:{track:{bgColor:"colorPalette.muted"},range:{bgColor:"colorPalette.solid/72"}}},shape:{square:{},rounded:{track:{borderRadius:"l1"}},full:{track:{borderRadius:"full"}}},striped:{true:{range:{backgroundImage:"linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)",backgroundSize:"var(--stripe-size) var(--stripe-size)","--stripe-size":"1rem","--stripe-color":{_light:"rgba(255, 255, 255, 0.3)",_dark:"rgba(0, 0, 0, 0.3)"}}}},animated:{true:{range:{"--animate-from":"var(--stripe-size)",animation:"bg-position 1s linear infinite"}}},size:{xs:{track:{h:"1.5"}},sm:{track:{h:"2"}},md:{track:{h:"2.5"}},lg:{track:{h:"3"}},xl:{track:{h:"4"}}}},defaultVariants:{variant:"outline",size:"md",shape:"rounded"}});var Sk=R({className:"chakra-progress-circle",slots:Ia.keys(),base:{root:{display:"inline-flex",textStyle:"sm",position:"relative"},circle:{_indeterminate:{animation:"spin 2s linear infinite"}},circleTrack:{"--track-color":"colors.colorPalette.muted",stroke:"var(--track-color)"},circleRange:{stroke:"colorPalette.solid",transitionProperty:"stroke-dashoffset, stroke-dasharray",transitionDuration:"0.6s",_indeterminate:{animation:"circular-progress 1.5s linear infinite"}},label:{display:"inline-flex"},valueText:{lineHeight:"1",fontWeight:"medium",letterSpacing:"tight",fontVariantNumeric:"tabular-nums"}},variants:{size:{xs:{circle:{"--size":"24px","--thickness":"4px"},valueText:{textStyle:"2xs"}},sm:{circle:{"--size":"32px","--thickness":"5px"},valueText:{textStyle:"2xs"}},md:{circle:{"--size":"40px","--thickness":"6px"},valueText:{textStyle:"xs"}},lg:{circle:{"--size":"48px","--thickness":"7px"},valueText:{textStyle:"sm"}},xl:{circle:{"--size":"64px","--thickness":"8px"},valueText:{textStyle:"sm"}}}},defaultVariants:{size:"md"}});var Wk=R({slots:zi.keys(),className:"chakra-qr-code",base:{root:{position:"relative",width:"fit-content","--qr-code-overlay-size":"calc(var(--qr-code-size) / 3)"},frame:{width:"var(--qr-code-size)",height:"var(--qr-code-size)",fill:"currentColor"},overlay:{display:"flex",alignItems:"center",justifyContent:"center",width:"var(--qr-code-overlay-size)",height:"var(--qr-code-overlay-size)",padding:"1",bg:"bg",rounded:"l1"}},variants:{size:{"2xs":{root:{"--qr-code-size":"40px"}},xs:{root:{"--qr-code-size":"64px"}},sm:{root:{"--qr-code-size":"80px"}},md:{root:{"--qr-code-size":"120px"}},lg:{root:{"--qr-code-size":"160px"}},xl:{root:{"--qr-code-size":"200px"}},"2xl":{root:{"--qr-code-size":"240px"}},full:{root:{"--qr-code-size":"100%"}}}},defaultVariants:{size:"md"}});var jk=R({className:"chakra-radio-card",slots:Vz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",isolation:"isolate"},item:{flex:"1",display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",_focus:{bg:"colorPalette.muted/20"},_disabled:{opacity:"0.5"},_checked:{zIndex:"1"}},label:{display:"inline-flex",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},itemText:{fontWeight:"medium",flex:"1"},itemDescription:{opacity:"0.64",textStyle:"sm"},itemControl:{display:"inline-flex",flex:"1",pos:"relative",rounded:"inherit",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)",_disabled:{bg:"bg.muted"}},itemIndicator:v1.base,itemAddon:{roundedBottom:"inherit",_disabled:{color:"fg.muted"}},itemContent:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)"}},variants:{size:{sm:{item:{textStyle:"sm"},itemControl:{padding:"3",gap:"1.5"},itemAddon:{px:"3",py:"1.5",borderTopWidth:"1px"},itemIndicator:v1.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:v1.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:v1.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:v1.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:v1.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"inset 0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:v1.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemControl:{_disabled:{bg:"unset"}},itemIndicator:v1.variants?.variant.inverted}},justify:{start:{item:{"--radio-card-justify":"flex-start"}},end:{item:{"--radio-card-justify":"flex-end"}},center:{item:{"--radio-card-justify":"center"}}},align:{start:{item:{"--radio-card-align":"flex-start"},itemControl:{textAlign:"start"}},end:{item:{"--radio-card-align":"flex-end"},itemControl:{textAlign:"end"}},center:{item:{"--radio-card-align":"center"},itemControl:{textAlign:"center"}}},orientation:{vertical:{itemControl:{flexDirection:"column"}},horizontal:{itemControl:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}});var Ok=R({className:"chakra-radio-group",slots:_6.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:v1.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:v1.variants?.variant?.outline},subtle:{itemControl:v1.variants?.variant?.subtle},solid:{itemControl:v1.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:v1.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:v1.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:v1.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:v1.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}});var Ak=R({className:"chakra-rating-group",slots:Tz.keys(),base:{root:{display:"inline-flex"},control:{display:"inline-flex",alignItems:"center"},item:{display:"inline-flex",alignItems:"center",justifyContent:"center",userSelect:"none"},itemIndicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"1em",height:"1em",position:"relative","--clip-path":{base:"inset(0 50% 0 0)",_rtl:"inset(0 0 0 50%)"},_icon:{stroke:"currentColor",width:"100%",height:"100%",display:"inline-block",flexShrink:0,position:"absolute",left:0,top:0},"& [data-bg]":{color:"bg.emphasized"},"& [data-fg]":{color:"transparent"},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:"colorPalette.solid"}},"&[data-half]":{"& [data-fg]":{color:"colorPalette.solid",clipPath:"var(--clip-path)"}}}},variants:{size:{xs:{item:{textStyle:"sm"}},sm:{item:{textStyle:"md"}},md:{item:{textStyle:"xl"}},lg:{item:{textStyle:"2xl"}}}},defaultVariants:{size:"md"}});var Pk=R({className:"chakra-scroll-area",slots:Li.keys(),base:{root:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",overflow:"hidden","--scrollbar-margin":"2px","--scrollbar-click-area":"calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))"},viewport:{display:"flex",flexDirection:"column",height:"100%",width:"100%",borderRadius:"inherit",WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},content:{minWidth:"100%"},scrollbar:{display:"flex",userSelect:"none",touchAction:"none",borderRadius:"full",colorPalette:"gray",transition:"opacity 150ms 300ms",position:"relative",margin:"var(--scrollbar-margin)","&:not([data-overflow-x], [data-overflow-y])":{display:"none"},bg:"{colors.colorPalette.solid/10}","--thumb-bg":"{colors.colorPalette.solid/25}","&:is(:hover, :active)":{"--thumb-bg":"{colors.colorPalette.solid/50}"},_before:{content:'""',position:"absolute"},_vertical:{width:"var(--scrollbar-size)",flexDirection:"column","&::before":{width:"var(--scrollbar-click-area)",height:"100%",insetInlineStart:"calc(var(--scrollbar-margin) * -1)"}},_horizontal:{height:"var(--scrollbar-size)",flexDirection:"row","&::before":{height:"var(--scrollbar-click-area)",width:"100%",top:"calc(var(--scrollbar-margin) * -1)"}}},thumb:{borderRadius:"inherit",bg:"var(--thumb-bg)",transition:"backgrounds",_vertical:{width:"full"},_horizontal:{height:"full"}},corner:{bg:"bg.muted",margin:"var(--scrollbar-margin)",opacity:0,transition:"opacity 150ms 300ms","&[data-hover]":{transitionDelay:"0ms",opacity:1}}},variants:{variant:{hover:{scrollbar:{opacity:"0","&[data-hover], &[data-scrolling]":{opacity:"1",transitionDuration:"faster",transitionDelay:"0ms"}}},always:{scrollbar:{opacity:"1"}}},size:{xs:{root:{"--scrollbar-size":"sizes.1"}},sm:{root:{"--scrollbar-size":"sizes.1.5"}},md:{root:{"--scrollbar-size":"sizes.2"}},lg:{root:{"--scrollbar-size":"sizes.3"}}}},defaultVariants:{size:"md",variant:"hover"}});var Ek=R({className:"chakra-segment-group",slots:Fh.keys(),base:{root:{"--segment-radius":"radii.l2","--segment-indicator-bg":{_light:"colors.bg",_dark:"colors.bg.emphasized"},"--segment-indicator-shadow":"shadows.sm",borderRadius:"var(--segment-radius)",display:"inline-flex",boxShadow:"inset",minW:"max-content",textAlign:"center",position:"relative",isolation:"isolate",bg:"bg.muted",_vertical:{flexDirection:"column"}},item:{display:"flex",alignItems:"center",justifyContent:"center",userSelect:"none",fontSize:"sm",position:"relative",color:"fg",borderRadius:"var(--segment-radius)",_disabled:{opacity:"0.5"},"&:has(input:focus-visible)":{focusRing:"outside"},_before:{content:'""',position:"absolute",bg:"border",transition:"opacity 0.2s"},_horizontal:{_before:{insetInlineStart:0,insetBlock:"1.5",width:"1px"}},_vertical:{_before:{insetBlockStart:0,insetInline:"1.5",height:"1px"}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:"0"}},"&[data-state=checked][data-ssr]":{shadow:"sm",bg:"bg",borderRadius:"var(--segment-radius)"}},indicator:{shadow:"var(--segment-indicator-shadow)",pos:"absolute",bg:"var(--segment-indicator-bg)",width:"var(--width)",height:"var(--height)",top:"var(--top)",left:"var(--left)",zIndex:-1,borderRadius:"var(--segment-radius)"}},variants:{size:{xs:{item:{textStyle:"xs",px:"3",gap:"1",height:"6"}},sm:{item:{textStyle:"sm",px:"4",gap:"2",height:"8"}},md:{item:{textStyle:"sm",px:"4",gap:"2",height:"10"}},lg:{item:{textStyle:"md",px:"4.5",gap:"3",height:"11"}}}},defaultVariants:{size:"md"}});var Rk=R({className:"chakra-slider",slots:Wz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",textStyle:"sm",position:"relative",isolation:"isolate",touchAction:"none"},label:{fontWeight:"medium",textStyle:"sm"},control:{display:"inline-flex",alignItems:"center",position:"relative"},track:{overflow:"hidden",borderRadius:"full",flex:"1"},range:{width:"inherit",height:"inherit",_disabled:{bg:"border.emphasized!"}},markerGroup:{position:"absolute!",zIndex:"1"},marker:{"--marker-bg":{base:"white",_underValue:"colors.bg"},display:"flex",alignItems:"center",gap:"calc(var(--slider-thumb-size) / 2)",color:"fg.muted",textStyle:"xs"},markerIndicator:{width:"var(--slider-marker-size)",height:"var(--slider-marker-size)",borderRadius:"full",bg:"var(--marker-bg)"},thumb:{width:"var(--slider-thumb-size)",height:"var(--slider-thumb-size)",display:"flex",alignItems:"center",justifyContent:"center",outline:0,zIndex:"2",borderRadius:"full",transition:"shadow",_focusVisible:{ring:"3px",ringColor:"colorPalette.focusRing/50"}}},variants:{size:{sm:{root:{"--slider-thumb-size":"sizes.4","--slider-track-size":"sizes.1.5","--slider-marker-center":"6px","--slider-marker-size":"sizes.1","--slider-marker-inset":"3px"}},md:{root:{"--slider-thumb-size":"sizes.5","--slider-track-size":"sizes.2","--slider-marker-center":"8px","--slider-marker-size":"sizes.1","--slider-marker-inset":"4px"}},lg:{root:{"--slider-thumb-size":"sizes.6","--slider-track-size":"sizes.2.5","--slider-marker-center":"9px","--slider-marker-size":"sizes.1.5","--slider-marker-inset":"5px"}}},variant:{outline:{track:{shadow:"inset",bg:"bg.emphasized/72"},range:{bg:"colorPalette.solid"},thumb:{borderWidth:"2px",borderColor:"colorPalette.solid",bg:"bg",_disabled:{bg:"border.emphasized",borderColor:"border.emphasized"}}},solid:{track:{bg:"colorPalette.subtle",_disabled:{bg:"bg.muted"}},range:{bg:"colorPalette.solid"},thumb:{bg:"colorPalette.solid",_disabled:{bg:"border.emphasized"}}}},orientation:{vertical:{root:{display:"inline-flex"},control:{flexDirection:"column",height:"100%",minWidth:"var(--slider-thumb-size)","&:has(.chakra-slider__markerLabel)":{marginEnd:"4"}},track:{width:"var(--slider-track-size)"},thumb:{left:"50%",translate:"-50% 0"},markerGroup:{insetStart:"var(--slider-marker-center)",insetBlock:"var(--slider-marker-inset)"},marker:{flexDirection:"row"}},horizontal:{control:{flexDirection:"row",width:"100%",minHeight:"var(--slider-thumb-size)","&:has(.chakra-slider__markerLabel)":{marginBottom:"4"}},track:{height:"var(--slider-track-size)"},thumb:{top:"50%",translate:"0 -50%"},markerGroup:{top:"var(--slider-marker-center)",insetInline:"var(--slider-marker-inset)"},marker:{flexDirection:"column"}}}},defaultVariants:{size:"md",variant:"outline",orientation:"horizontal"}});var _k=R({slots:Uz.keys(),className:"splitter",base:{resizeTrigger:{"--splitter-border-color":"colors.border","--splitter-thumb-color":"colors.bg","--splitter-thumb-size":"sizes.2","--splitter-thumb-inset":"calc(var(--splitter-thumb-size) * -0.5)","--splitter-border-size":"1px","--splitter-handle-size":"sizes.6",outline:"0",display:"grid",placeItems:"center",position:"relative",_focus:{"--splitter-border-color":"colors.border.emphasized","--splitter-thumb-color":"colors.colorPalette.subtle"},_dragging:{"--splitter-thumb-color":"colors.colorPalette.focusRing"},_horizontal:{minWidth:"var(--splitter-thumb-size)",marginInline:"var(--splitter-thumb-inset)"},_vertical:{minHeight:"var(--splitter-thumb-size)",marginBlock:"var(--splitter-thumb-inset)"}},resizeTriggerSeparator:{position:"absolute",bg:"var(--splitter-border-color)","[data-part='resize-trigger'][data-orientation=horizontal] &":{insetInlineEnd:"calc(var(--splitter-thumb-size) * 0.5)",insetBlock:"0",insetInlineStart:"auto",w:"var(--splitter-border-size)"},"[data-part='resize-trigger'][data-orientation=vertical] &":{insetBlockEnd:"calc(var(--splitter-thumb-size) * 0.5)",insetInline:"0",insetBlockStart:"auto",h:"var(--splitter-border-size)"}},resizeTriggerIndicator:{position:"relative",rounded:"full",bg:"var(--splitter-thumb-color)",shadow:"xs",borderWidth:"1px",zIndex:"1","[data-part='resize-trigger'][data-orientation=horizontal] &":{w:"full",h:"var(--splitter-handle-size)"},"[data-part='resize-trigger'][data-orientation=vertical] &":{w:"var(--splitter-handle-size)",h:"full"},"[data-part='resize-trigger'][data-focus]:focus-visible &":{outlineWidth:"2px",outlineColor:"colorPalette.focusRing",outlineStyle:"solid"},"[data-part='resize-trigger'][data-disabled] &":{visibility:"hidden"}}}});var Fk=R({className:"chakra-stat",slots:jz.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",position:"relative",flex:"1"},label:{display:"inline-flex",gap:"1.5",alignItems:"center",color:"fg.muted",textStyle:"sm"},helpText:{color:"fg.muted",textStyle:"xs"},valueUnit:{color:"fg.muted",textStyle:"xs",fontWeight:"initial",letterSpacing:"initial"},valueText:{verticalAlign:"baseline",fontWeight:"semibold",letterSpacing:"tight",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums",display:"inline-flex",gap:"1"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",marginEnd:1,"& :where(svg)":{w:"1em",h:"1em"},"&[data-type=up]":{color:"fg.success"},"&[data-type=down]":{color:"fg.error"}}},variants:{size:{sm:{valueText:{textStyle:"xl"}},md:{valueText:{textStyle:"2xl"}},lg:{valueText:{textStyle:"3xl"}}}},defaultVariants:{size:"md"}});var Ik=R({className:"chakra-status",slots:Oz.keys(),base:{root:{display:"inline-flex",alignItems:"center",gap:"2"},indicator:{width:"0.64em",height:"0.64em",flexShrink:0,borderRadius:"full",forcedColorAdjust:"none",bg:"colorPalette.solid"}},variants:{size:{sm:{root:{textStyle:"xs"}},md:{root:{textStyle:"sm"}},lg:{root:{textStyle:"md"}}}},defaultVariants:{size:"md"}});var Dk=R({className:"chakra-steps",slots:Az.keys(),base:{root:{display:"flex",width:"full"},list:{display:"flex",justifyContent:"space-between","--steps-gutter":"spacing.3","--steps-thickness":"2px"},title:{fontWeight:"medium",color:"fg"},description:{color:"fg.muted"},separator:{bg:"border",flex:"1"},indicator:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0",borderRadius:"full",fontWeight:"medium",width:"var(--steps-size)",height:"var(--steps-size)",_icon:{flexShrink:"0",width:"var(--steps-icon-size)",height:"var(--steps-icon-size)"}},item:{position:"relative",display:"flex",gap:"3",flex:"1 0 0","&:last-of-type":{flex:"initial","& [data-part=separator]":{display:"none"}}},trigger:{display:"flex",alignItems:"center",gap:"3",textAlign:"start",focusVisibleRing:"outside",borderRadius:"l2"},content:{focusVisibleRing:"outside"}},variants:{orientation:{vertical:{root:{flexDirection:"row",height:"100%"},list:{flexDirection:"column",alignItems:"flex-start"},separator:{position:"absolute",width:"var(--steps-thickness)",height:"100%",maxHeight:"calc(100% - var(--steps-size) - var(--steps-gutter) * 2)",top:"calc(var(--steps-size) + var(--steps-gutter))",insetStart:"calc(var(--steps-size) / 2 - 1px)"},item:{alignItems:"flex-start"}},horizontal:{root:{flexDirection:"column",width:"100%"},list:{flexDirection:"row",alignItems:"center"},separator:{width:"100%",height:"var(--steps-thickness)",marginX:"var(--steps-gutter)"},item:{alignItems:"center"}}},variant:{solid:{indicator:{_incomplete:{borderWidth:"var(--steps-thickness)"},_current:{bg:"colorPalette.muted",borderWidth:"var(--steps-thickness)",borderColor:"colorPalette.solid",color:"colorPalette.fg"},_complete:{bg:"colorPalette.solid",borderColor:"colorPalette.solid",color:"colorPalette.contrast"}},separator:{_complete:{bg:"colorPalette.solid"}}},subtle:{indicator:{_incomplete:{bg:"bg.muted"},_current:{bg:"colorPalette.muted",color:"colorPalette.fg"},_complete:{bg:"colorPalette.emphasized",color:"colorPalette.fg"}},separator:{_complete:{bg:"colorPalette.emphasized"}}}},size:{xs:{root:{gap:"2.5"},list:{"--steps-size":"sizes.6","--steps-icon-size":"sizes.3.5",textStyle:"xs"},title:{textStyle:"sm"}},sm:{root:{gap:"3"},list:{"--steps-size":"sizes.8","--steps-icon-size":"sizes.4",textStyle:"xs"},title:{textStyle:"sm"}},md:{root:{gap:"4"},list:{"--steps-size":"sizes.10","--steps-icon-size":"sizes.4",textStyle:"sm"},title:{textStyle:"sm"}},lg:{root:{gap:"6"},list:{"--steps-size":"sizes.11","--steps-icon-size":"sizes.5",textStyle:"md"},title:{textStyle:"md"}}}},defaultVariants:{size:"md",variant:"solid",orientation:"horizontal"}});var Nk=R({slots:Pz.keys(),className:"chakra-switch",base:{root:{display:"inline-flex",gap:"2.5",alignItems:"center",position:"relative",verticalAlign:"middle","--switch-diff":"calc(var(--switch-width) - var(--switch-height))","--switch-x":{base:"var(--switch-diff)",_rtl:"calc(var(--switch-diff) * -1)"}},label:{lineHeight:"1",userSelect:"none",fontSize:"sm",fontWeight:"medium",_disabled:{opacity:"0.5"}},indicator:{position:"absolute",height:"var(--switch-height)",width:"var(--switch-height)",fontSize:"var(--switch-indicator-font-size)",fontWeight:"medium",flexShrink:0,userSelect:"none",display:"grid",placeContent:"center",transition:"inset-inline-start 0.12s ease",insetInlineStart:"calc(var(--switch-x) - 2px)",_checked:{insetInlineStart:"2px"}},control:{display:"inline-flex",gap:"0.5rem",flexShrink:0,justifyContent:"flex-start",cursor:"switch",borderRadius:"full",position:"relative",width:"var(--switch-width)",height:"var(--switch-height)",transition:"backgrounds",_disabled:{opacity:"0.5",cursor:"not-allowed"},_invalid:{outline:"2px solid",outlineColor:"border.error",outlineOffset:"2px"}},thumb:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transitionProperty:"translate",transitionDuration:"fast",borderRadius:"inherit",_checked:{translate:"var(--switch-x) 0"}}},variants:{variant:{solid:{control:{borderRadius:"full",bg:"bg.emphasized",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}},thumb:{bg:"white",width:"var(--switch-height)",height:"var(--switch-height)",scale:"0.8",boxShadow:"sm",_checked:{bg:"colorPalette.contrast"}}},raised:{control:{borderRadius:"full",height:"calc(var(--switch-height) / 2)",bg:"bg.muted",boxShadow:"inset",_checked:{bg:"colorPalette.solid/60"}},thumb:{width:"var(--switch-height)",height:"var(--switch-height)",position:"relative",top:"calc(var(--switch-height) * -0.25)",bg:"white",boxShadow:"xs",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}}}},size:{xs:{root:{"--switch-width":"sizes.6","--switch-height":"sizes.3","--switch-indicator-font-size":"fontSizes.xs"}},sm:{root:{"--switch-width":"sizes.8","--switch-height":"sizes.4","--switch-indicator-font-size":"fontSizes.xs"}},md:{root:{"--switch-width":"sizes.10","--switch-height":"sizes.5","--switch-indicator-font-size":"fontSizes.sm"}},lg:{root:{"--switch-width":"sizes.12","--switch-height":"sizes.6","--switch-indicator-font-size":"fontSizes.md"}}}},defaultVariants:{variant:"solid",size:"md"}});var Uk=R({className:"chakra-table",slots:Ez.keys(),base:{root:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full",textAlign:"start",verticalAlign:"top"},row:{_selected:{bg:"colorPalette.subtle"}},cell:{textAlign:"start",alignItems:"center"},columnHeader:{fontWeight:"medium",textAlign:"start",color:"fg"},caption:{fontWeight:"medium",textStyle:"xs"},footer:{fontWeight:"medium"}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:"colorPalette.subtle"}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:"var(--table-sticky-offset, 0)",position:"sticky",zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:"bg.muted"}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}}}},variant:{line:{columnHeader:{borderBottomWidth:"1px"},cell:{borderBottomWidth:"1px"},row:{bg:"bg"}},outline:{root:{boxShadow:"0 0 0 1px {colors.border}"},columnHeader:{borderBottomWidth:"1px"},header:{bg:"bg.muted"},row:{"&:not(:last-of-type)":{borderBottomWidth:"1px"}},footer:{borderTopWidth:"1px"}}},size:{sm:{root:{textStyle:"sm"},columnHeader:{px:"2",py:"2"},cell:{px:"2",py:"2"}},md:{root:{textStyle:"sm"},columnHeader:{px:"3",py:"3"},cell:{px:"3",py:"3"}},lg:{root:{textStyle:"md"},columnHeader:{px:"4",py:"3"},cell:{px:"4",py:"3"}}}},defaultVariants:{variant:"line",size:"md"}});var Gk=R({slots:_z.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate",minH:"var(--tabs-height)",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},trigger:{outline:"0",minW:"var(--tabs-height)",height:"var(--tabs-height)",display:"flex",alignItems:"center",fontWeight:"medium",position:"relative",cursor:"button",gap:"2",_focusVisible:{zIndex:1,outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{cursor:"not-allowed",opacity:.5}},content:{focusVisibleRing:"inside",_horizontal:{width:"100%",pt:"var(--tabs-content-padding)"},_vertical:{height:"100%",ps:"var(--tabs-content-padding)"}},indicator:{width:"var(--width)",height:"var(--height)",borderRadius:"var(--tabs-trigger-radius)",bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",zIndex:-1}},variants:{fitted:{true:{list:{display:"flex"},trigger:{flex:1,textAlign:"center",justifyContent:"center"}}},justify:{start:{list:{justifyContent:"flex-start"}},center:{list:{justifyContent:"center"}},end:{list:{justifyContent:"flex-end"}}},size:{sm:{root:{"--tabs-height":"sizes.9","--tabs-content-padding":"spacing.3"},trigger:{py:"1",px:"3",textStyle:"sm"}},md:{root:{"--tabs-height":"sizes.10","--tabs-content-padding":"spacing.4"},trigger:{py:"2",px:"4",textStyle:"sm"}},lg:{root:{"--tabs-height":"sizes.11","--tabs-content-padding":"spacing.4.5"},trigger:{py:"2",px:"4.5",textStyle:"md"}}},variant:{line:{list:{display:"flex",borderColor:"border",_horizontal:{borderBottomWidth:"1px"},_vertical:{borderEndWidth:"1px"}},trigger:{color:"fg.muted",_disabled:{_active:{bg:"initial"}},_selected:{color:"fg",_horizontal:{layerStyle:"indicator.bottom","--indicator-offset-y":"-1px","--indicator-color":"colors.colorPalette.solid"},_vertical:{layerStyle:"indicator.end","--indicator-offset-x":"-1px"}}}},subtle:{trigger:{borderRadius:"var(--tabs-trigger-radius)",color:"fg.muted",_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}},enclosed:{list:{bg:"bg.muted",padding:"1",borderRadius:"l3",minH:"calc(var(--tabs-height) - 4px)"},trigger:{justifyContent:"center",color:"fg.muted",borderRadius:"var(--tabs-trigger-radius)",_selected:{bg:"bg",color:"colorPalette.fg",shadow:"xs"}}},outline:{list:{"--line-thickness":"1px","--line-offset":"calc(var(--line-thickness) * -1)",borderColor:"border",display:"flex",_horizontal:{_before:{content:'""',position:"absolute",bottom:"0px",width:"100%",borderBottomWidth:"var(--line-thickness)",borderBottomColor:"border"}},_vertical:{_before:{content:'""',position:"absolute",insetInline:"var(--line-offset)",height:"calc(100% - calc(var(--line-thickness) * 2))",borderEndWidth:"var(--line-thickness)",borderEndColor:"border"}}},trigger:{color:"fg.muted",borderWidth:"1px",borderColor:"transparent",_selected:{bg:"currentBg",color:"colorPalette.fg"},_horizontal:{borderTopRadius:"var(--tabs-trigger-radius)",marginBottom:"var(--line-offset)",marginEnd:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderBottomColor:"transparent"}},_vertical:{borderStartRadius:"var(--tabs-trigger-radius)",marginEnd:"var(--line-offset)",marginBottom:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderEndColor:"transparent"}}}},plain:{trigger:{color:"fg.muted",_selected:{color:"colorPalette.fg"},borderRadius:"var(--tabs-trigger-radius)","&[data-selected][data-ssr]":{bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",borderRadius:"var(--tabs-trigger-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}});var oc=Ei.variants?.variant,qk=R({slots:Fz.keys(),className:"chakra-tag",base:{root:{display:"inline-flex",alignItems:"center",verticalAlign:"top",maxWidth:"100%",userSelect:"none",borderRadius:"l2",focusVisibleRing:"outside"},label:{lineClamp:"1"},closeTrigger:{display:"flex",alignItems:"center",justifyContent:"center",outline:"0",borderRadius:"l1",color:"currentColor",focusVisibleRing:"inside",focusRingWidth:"2px"},startElement:{flexShrink:0,boxSize:"var(--tag-element-size)",ms:"var(--tag-element-offset)","&:has([data-scope=avatar])":{boxSize:"var(--tag-avatar-size)",ms:"calc(var(--tag-element-offset) * 1.5)"},_icon:{boxSize:"100%"}},endElement:{flexShrink:0,boxSize:"var(--tag-element-size)",me:"var(--tag-element-offset)",_icon:{boxSize:"100%"},"&:has(button)":{ms:"calc(var(--tag-element-offset) * -1)"}}},variants:{size:{sm:{root:{px:"1.5",minH:"4.5",gap:"1","--tag-avatar-size":"spacing.3","--tag-element-size":"spacing.3","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},md:{root:{px:"1.5",minH:"5",gap:"1","--tag-avatar-size":"spacing.3.5","--tag-element-size":"spacing.3.5","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},lg:{root:{px:"2",minH:"6",gap:"1.5","--tag-avatar-size":"spacing.4.5","--tag-element-size":"spacing.4","--tag-element-offset":"-3px"},label:{textStyle:"sm"}},xl:{root:{px:"2.5",minH:"8",gap:"1.5","--tag-avatar-size":"spacing.6","--tag-element-size":"spacing.4.5","--tag-element-offset":"-4px"},label:{textStyle:"sm"}}},variant:{subtle:{root:oc?.subtle},solid:{root:oc?.solid},outline:{root:oc?.outline},surface:{root:oc?.surface}}},defaultVariants:{size:"md",variant:"surface"}});var $k=R({slots:Bi.keys(),className:"tags-input",base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},control:{"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",minH:"var(--tags-input-height)","--input-height":"var(--tags-input-height)",px:"var(--tags-input-px)",py:"var(--tags-input-py)",gap:"var(--tags-input-gap)",display:"flex",flexWrap:"wrap",alignItems:"center",borderRadius:"l2",pos:"relative",transitionProperty:"border-color, box-shadow",transitionDuration:"normal",_disabled:{opacity:"0.5"},_invalid:{borderColor:"var(--error-color)"}},input:{flex:"1",minWidth:"20",outline:"none",bg:"transparent",color:"fg",px:"calc(var(--tags-input-item-px) / 1.25)",height:"var(--tags-input-item-height)",_readOnly:{display:"none"}},item:{maxWidth:"100%",minWidth:"0"},itemText:{lineClamp:"1",minWidth:"0"},itemInput:{outline:"none",bg:"transparent",minWidth:"2ch",color:"inherit",px:"var(--tags-input-item-px)",height:"var(--tags-input-item-height)"},itemPreview:{height:"var(--tags-input-item-height)",userSelect:"none",display:"inline-flex",alignItems:"center",gap:"1",rounded:"l1",px:"var(--tags-input-item-px)",maxWidth:"100%"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:"0",boxSize:"calc(var(--tags-input-item-height) / 1.5)",cursor:{base:"button",_disabled:"initial"},me:"-1",opacity:"0.4",_hover:{opacity:"1"},"[data-highlighted] &":{opacity:"1"},_icon:{boxSize:"80%"}},clearTrigger:{display:"flex",alignItems:"center",justifyContent:"center",boxSize:"calc(var(--tags-input-item-height) / 1.5)",cursor:{base:"button",_disabled:"initial"},color:"fg.muted",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1",_icon:{boxSize:"5"}}},variants:{size:{xs:{root:{"--tags-input-height":"sizes.8","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.6","--tags-input-item-px":"spacing.2",textStyle:"xs"}},sm:{root:{"--tags-input-height":"sizes.9","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.6","--tags-input-item-px":"spacing.2",textStyle:"sm"}},md:{root:{"--tags-input-height":"sizes.10","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.7","--tags-input-item-px":"spacing.2",textStyle:"sm"}},lg:{root:{"--tags-input-height":"sizes.11","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.8","--tags-input-item-px":"spacing.2",textStyle:"md"}}},variant:{outline:{control:{borderWidth:"1px",bg:"bg",_focus:{outlineWidth:"1px",outlineStyle:"solid",outlineColor:"var(--focus-color)",borderColor:"var(--focus-color)",_invalid:{outlineColor:"var(--error-color)",borderColor:"var(--error-color)"}}},itemPreview:{bg:"colorPalette.subtle",_highlighted:{bg:"colorPalette.muted"}}},subtle:{control:{bg:"bg.muted",borderWidth:"1px",borderColor:"transparent",_focus:{outlineWidth:"1px",outlineStyle:"solid",outlineColor:"var(--focus-color)",borderColor:"var(--focus-color)",_invalid:{outlineColor:"var(--error-color)",borderColor:"var(--error-color)"}}},itemPreview:{bg:"bg",borderWidth:"1px",_highlighted:{bg:"colorPalette.subtle",borderColor:"colorPalette.emphasized"}}},flushed:{control:{borderRadius:"0",px:"0",bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",_focus:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},itemPreview:{bg:"colorPalette.subtle",_highlighted:{bg:"colorPalette.muted"}}}}},defaultVariants:{size:"md",variant:"outline"}});var Kk=R({slots:Iz.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{"--timeline-content-gap":"spacing.6",display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"--timeline-content-gap":"0"}},separator:{display:"var(--timeline-separator-display)",position:"absolute",borderStartWidth:"var(--timeline-thickness)",ms:"calc(-1 * var(--timeline-thickness) / 2)",insetInlineStart:"calc(var(--timeline-indicator-size) / 2)",insetBlock:"0",borderColor:"border"},indicator:{outline:"2px solid {colors.bg}",position:"relative",flexShrink:"0",boxSize:"var(--timeline-indicator-size)",fontSize:"var(--timeline-font-size)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontWeight:"medium"},connector:{alignSelf:"stretch",position:"relative"},content:{pb:"var(--timeline-content-gap)",display:"flex",flexDirection:"column",width:"full",gap:"2"},title:{display:"flex",fontWeight:"medium",flexWrap:"wrap",gap:"1.5",alignItems:"center",mt:"var(--timeline-margin)"},description:{color:"fg.muted",textStyle:"xs"}},variants:{variant:{subtle:{indicator:{bg:"colorPalette.muted"}},solid:{indicator:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},outline:{indicator:{bg:"currentBg",borderWidth:"1px",borderColor:"colorPalette.muted"}},plain:{}},showLastSeparator:{true:{item:{_last:{"--timeline-separator-display":"initial"}}},false:{item:{_last:{"--timeline-separator-display":"none"}}}},size:{sm:{root:{"--timeline-indicator-size":"sizes.4","--timeline-font-size":"fontSizes.2xs"},title:{textStyle:"xs"}},md:{root:{"--timeline-indicator-size":"sizes.5","--timeline-font-size":"fontSizes.xs"},title:{textStyle:"sm"}},lg:{root:{"--timeline-indicator-size":"sizes.6","--timeline-font-size":"fontSizes.xs"},title:{mt:"0.5",textStyle:"sm"}},xl:{root:{"--timeline-indicator-size":"sizes.8","--timeline-font-size":"fontSizes.sm"},title:{mt:"1.5",textStyle:"sm"}}}},defaultVariants:{size:"md",variant:"solid",showLastSeparator:!1}});var Yk=R({slots:Rz.keys(),className:"chakra-toast",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",gap:"3",py:"4",ps:"4",pe:"6",borderRadius:"l2",translate:"var(--x) var(--y)",scale:"var(--scale)",zIndex:"var(--z-index)",height:"var(--height)",opacity:"var(--opacity)",willChange:"translate, opacity, scale",transition:"translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",transitionTimingFunction:"cubic-bezier(0.21, 1.02, 0.73, 1)",_closed:{transition:"translate 400ms, scale 400ms, opacity 200ms",transitionTimingFunction:"cubic-bezier(0.06, 0.71, 0.55, 1)"},bg:"bg.panel",color:"fg",boxShadow:"xl","--toast-trigger-bg":"colors.bg.muted","&[data-type=warning]":{bg:"orange.solid",color:"orange.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=success]":{bg:"green.solid",color:"green.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=error]":{bg:"red.solid",color:"red.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"}},title:{fontWeight:"medium",textStyle:"sm",marginEnd:"2"},description:{display:"inline",textStyle:"sm",opacity:"0.8"},indicator:{flexShrink:"0",boxSize:"5"},actionTrigger:{textStyle:"sm",fontWeight:"medium",height:"8",px:"3",borderRadius:"l2",alignSelf:"center",borderWidth:"1px",borderColor:"var(--toast-border-color, inherit)",transition:"background 200ms",_hover:{bg:"var(--toast-trigger-bg)"}},closeTrigger:{position:"absolute",top:"1",insetEnd:"1",padding:"1",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"{currentColor/60}",borderRadius:"l2",textStyle:"md",transition:"background 200ms",_icon:{boxSize:"1em"}}}});var Xk=R({slots:Vi.keys(),className:"chakra-tooltip",base:{content:{"--tooltip-bg":"colors.bg.inverted",bg:"var(--tooltip-bg)",color:"fg.inverted",px:"2.5",py:"1",borderRadius:"l2",fontWeight:"medium",textStyle:"xs",boxShadow:"md",maxW:"xs",zIndex:"tooltip",transformOrigin:"var(--transform-origin)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"fast"}},arrow:{"--arrow-size":"sizes.2","--arrow-background":"var(--tooltip-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px",borderColor:"var(--tooltip-bg)"}}});var Qk=T2({display:"flex",alignItems:"center",gap:"var(--tree-item-gap)",rounded:"l2",userSelect:"none",position:"relative","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-icon-offset":"calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))",ps:"var(--tree-offset)",pe:"var(--tree-padding-inline)",py:"var(--tree-padding-block)",focusVisibleRing:"inside",focusRingColor:"border.emphasized",focusRingWidth:"2px","&:hover, &:focus-visible":{bg:"bg.muted"},_disabled:{layerStyle:"disabled"}}),Zk=T2({flex:"1"}),Jk=T2({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),tL=T2({_selected:{layerStyle:"fill.solid"}}),aL=R({slots:Si.keys(),className:"chakra-tree-view",base:{root:{width:"full",display:"flex",flexDirection:"column",gap:"2"},tree:{display:"flex",flexDirection:"column","--tree-item-gap":"spacing.2",_icon:{boxSize:"var(--tree-icon-size)"}},label:{fontWeight:"medium",textStyle:"sm"},branch:{position:"relative"},branchContent:{position:"relative"},branchIndentGuide:{height:"100%",width:"1px",bg:"border",position:"absolute","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset))","--tree-icon-offset":"calc(var(--tree-icon-size) * 0.5 * var(--depth))",insetInlineStart:"calc(var(--tree-offset) + var(--tree-icon-offset))",zIndex:"1"},branchIndicator:{color:"fg.muted",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(90deg)"}},branchTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center"},branchControl:Qk,item:Qk,itemText:Zk,branchText:Zk,nodeCheckbox:{display:"inline-flex"}},variants:{size:{md:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1.5","--tree-icon-size":"spacing.4"}},sm:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}},xs:{tree:{textStyle:"xs","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.2","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}}},variant:{subtle:{branchControl:Jk,item:Jk},solid:{branchControl:tL,item:tL}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}});var rL={accordion:qz,actionBar:$z,alert:Kz,avatar:Yz,blockquote:Xz,breadcrumb:Qz,card:Zz,carousel:Jz,checkbox:tk,checkboxCard:ak,codeBlock:rk,collapsible:ek,dataList:lk,datePicker:ck,dialog:dk,drawer:sk,editable:gk,emptyState:vk,field:uk,fieldset:Mk,fileUpload:fk,hoverCard:xk,list:zk,listbox:kk,menu:wk,nativeSelect:bk,numberInput:Ck,pinInput:Vk,popover:Tk,progress:yk,progressCircle:Sk,radioCard:jk,radioGroup:Ok,ratingGroup:Ak,scrollArea:Pk,segmentGroup:Ek,select:Sr,combobox:ok,slider:Rk,splitter:_k,stat:Fk,steps:Dk,switch:Nk,table:Uk,tabs:Gk,tag:qk,tagsInput:$k,toast:Yk,tooltip:Xk,status:Ik,timeline:Kk,colorPicker:ik,qrCode:Wk,treeView:aL,marquee:Lk,floatingPanel:mk};var eL=w6({"2xs":{value:{fontSize:"2xs",lineHeight:"0.75rem"}},xs:{value:{fontSize:"xs",lineHeight:"1rem"}},sm:{value:{fontSize:"sm",lineHeight:"1.25rem"}},md:{value:{fontSize:"md",lineHeight:"1.5rem"}},lg:{value:{fontSize:"lg",lineHeight:"1.75rem"}},xl:{value:{fontSize:"xl",lineHeight:"1.875rem"}},"2xl":{value:{fontSize:"2xl",lineHeight:"2rem"}},"3xl":{value:{fontSize:"3xl",lineHeight:"2.375rem"}},"4xl":{value:{fontSize:"4xl",lineHeight:"2.75rem",letterSpacing:"-0.025em"}},"5xl":{value:{fontSize:"5xl",lineHeight:"3.75rem",letterSpacing:"-0.025em"}},"6xl":{value:{fontSize:"6xl",lineHeight:"4.5rem",letterSpacing:"-0.025em"}},"7xl":{value:{fontSize:"7xl",lineHeight:"5.75rem",letterSpacing:"-0.025em"}},none:{value:{}},label:{value:{fontSize:"sm",lineHeight:"1.25rem",fontWeight:"medium"}}});var iL=ut.animations({spin:{value:"spin 1s linear infinite"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},bounce:{value:"bounce 1s infinite"}});var oL=ut.aspectRatios({square:{value:"1 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},wide:{value:"16 / 9"},ultrawide:{value:"18 / 5"},golden:{value:"1.618 / 1"}});var lL=ut.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}});var nL=ut.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}});var hL=ut.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#09090B"},white:{value:"#FFFFFF"},whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"},950:{value:"rgba(255, 255, 255, 0.95)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"},950:{value:"rgba(0, 0, 0, 0.95)"}},gray:{50:{value:"#fafafa"},100:{value:"#f4f4f5"},200:{value:"#e4e4e7"},300:{value:"#d4d4d8"},400:{value:"#a1a1aa"},500:{value:"#71717a"},600:{value:"#52525b"},700:{value:"#3f3f46"},800:{value:"#27272a"},900:{value:"#18181b"},950:{value:"#111111"}},red:{50:{value:"#fef2f2"},100:{value:"#fee2e2"},200:{value:"#fecaca"},300:{value:"#fca5a5"},400:{value:"#f87171"},500:{value:"#ef4444"},600:{value:"#dc2626"},700:{value:"#991919"},800:{value:"#511111"},900:{value:"#300c0c"},950:{value:"#1f0808"}},orange:{50:{value:"#fff7ed"},100:{value:"#ffedd5"},200:{value:"#fed7aa"},300:{value:"#fdba74"},400:{value:"#fb923c"},500:{value:"#f97316"},600:{value:"#ea580c"},700:{value:"#92310a"},800:{value:"#6c2710"},900:{value:"#3b1106"},950:{value:"#220a04"}},yellow:{50:{value:"#fefce8"},100:{value:"#fef9c3"},200:{value:"#fef08a"},300:{value:"#fde047"},400:{value:"#facc15"},500:{value:"#eab308"},600:{value:"#ca8a04"},700:{value:"#845209"},800:{value:"#713f12"},900:{value:"#422006"},950:{value:"#281304"}},green:{50:{value:"#f0fdf4"},100:{value:"#dcfce7"},200:{value:"#bbf7d0"},300:{value:"#86efac"},400:{value:"#4ade80"},500:{value:"#22c55e"},600:{value:"#16a34a"},700:{value:"#116932"},800:{value:"#124a28"},900:{value:"#042713"},950:{value:"#03190c"}},teal:{50:{value:"#f0fdfa"},100:{value:"#ccfbf1"},200:{value:"#99f6e4"},300:{value:"#5eead4"},400:{value:"#2dd4bf"},500:{value:"#14b8a6"},600:{value:"#0d9488"},700:{value:"#0c5d56"},800:{value:"#114240"},900:{value:"#032726"},950:{value:"#021716"}},blue:{50:{value:"#eff6ff"},100:{value:"#dbeafe"},200:{value:"#bfdbfe"},300:{value:"#a3cfff"},400:{value:"#60a5fa"},500:{value:"#3b82f6"},600:{value:"#2563eb"},700:{value:"#173da6"},800:{value:"#1a3478"},900:{value:"#14204a"},950:{value:"#0c142e"}},cyan:{50:{value:"#ecfeff"},100:{value:"#cffafe"},200:{value:"#a5f3fc"},300:{value:"#67e8f9"},400:{value:"#22d3ee"},500:{value:"#06b6d4"},600:{value:"#0891b2"},700:{value:"#0c5c72"},800:{value:"#134152"},900:{value:"#072a38"},950:{value:"#051b24"}},purple:{50:{value:"#faf5ff"},100:{value:"#f3e8ff"},200:{value:"#e9d5ff"},300:{value:"#d8b4fe"},400:{value:"#c084fc"},500:{value:"#a855f7"},600:{value:"#9333ea"},700:{value:"#641ba3"},800:{value:"#4a1772"},900:{value:"#2f0553"},950:{value:"#1a032e"}},pink:{50:{value:"#fdf2f8"},100:{value:"#fce7f3"},200:{value:"#fbcfe8"},300:{value:"#f9a8d4"},400:{value:"#f472b6"},500:{value:"#ec4899"},600:{value:"#db2777"},700:{value:"#a41752"},800:{value:"#6d0e34"},900:{value:"#45061f"},950:{value:"#2c0514"}}});var cL=ut.cursor({button:{value:"pointer"},checkbox:{value:"default"},disabled:{value:"not-allowed"},menuitem:{value:"default"},option:{value:"default"},radio:{value:"default"},slider:{value:"default"},switch:{value:"pointer"}});var dL=ut.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}});var sL=ut.easings({"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},"ease-in-smooth":{value:"cubic-bezier(0.32, 0.72, 0, 1)"}});var pL=ut.fontSizes({"2xs":{value:"0.625rem"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}});var gL=ut.fontWeights({thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}});var vL='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',uL=ut.fonts({heading:{value:`Inter, ${vL}`},body:{value:`Inter, ${vL}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}});var ML=k6({spin:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},pulse:{"50%":{opacity:"0.5"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"bg-position":{from:{backgroundPosition:"var(--animate-from, 1rem) 0"},to:{backgroundPosition:"var(--animate-to, 0) 0"}},position:{from:{insetInlineStart:"var(--animate-from-x)",insetBlockStart:"var(--animate-from-y)"},to:{insetInlineStart:"var(--animate-to-x)",insetBlockStart:"var(--animate-to-y)"}},"circular-progress":{"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100%"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260%"}},"expand-height":{from:{height:"var(--collapsed-height, 0)"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"var(--collapsed-height, 0)"}},"expand-width":{from:{width:"var(--collapsed-width, 0)"},to:{width:"var(--width)"}},"collapse-width":{from:{width:"var(--width)"},to:{width:"var(--collapsed-width, 0)"}},"fade-in":{from:{opacity:0},to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:"-100% 0"},to:{translate:"0 0"}},"slide-from-right-full":{from:{translate:"100% 0"},to:{translate:"0 0"}},"slide-from-top-full":{from:{translate:"0 -100%"},to:{translate:"0 0"}},"slide-from-bottom-full":{from:{translate:"0 100%"},to:{translate:"0 0"}},"slide-to-left-full":{from:{translate:"0 0"},to:{translate:"-100% 0"}},"slide-to-right-full":{from:{translate:"0 0"},to:{translate:"100% 0"}},"slide-to-top-full":{from:{translate:"0 0"},to:{translate:"0 -100%"}},"slide-to-bottom-full":{from:{translate:"0 0"},to:{translate:"0 100%"}},"slide-from-top":{"0%":{translate:"0 calc(var(--slide-from-top-distance, 0.5rem) * -1)"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 var(--slide-from-bottom-distance, 0.5rem)"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"calc(var(--slide-from-left-distance, 0.5rem) * -1) 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"var(--slide-from-right-distance, 0.5rem) 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 calc(var(--slide-to-top-distance, 0.5rem) * -1)"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 var(--slide-to-bottom-distance, 0.5rem)"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"calc(var(--slide-to-left-distance, 0.5rem) * -1) 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"var(--slide-to-right-distance, 0.5rem) 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}},marqueeX:{from:{transform:"translateX(0%)"},to:{transform:"translateX(var(--marquee-translate))"}},marqueeY:{from:{transform:"translateY(0%)"},to:{transform:"translateY(var(--marquee-translate))"}}});var fL=ut.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}});var mL=ut.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}});var xL=ut.radii({none:{value:"0"},"2xs":{value:"0.0625rem"},xs:{value:"0.125rem"},sm:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},"4xl":{value:"2rem"},full:{value:"9999px"}});var lc=ut.spacing({.5:{value:"0.125rem"},1:{value:"0.25rem"},1.5:{value:"0.375rem"},2:{value:"0.5rem"},2.5:{value:"0.625rem"},3:{value:"0.75rem"},3.5:{value:"0.875rem"},4:{value:"1rem"},4.5:{value:"1.125rem"},5:{value:"1.25rem"},6:{value:"1.5rem"},7:{value:"1.75rem"},8:{value:"2rem"},9:{value:"2.25rem"},10:{value:"2.5rem"},11:{value:"2.75rem"},12:{value:"3rem"},14:{value:"3.5rem"},16:{value:"4rem"},20:{value:"5rem"},24:{value:"6rem"},28:{value:"7rem"},32:{value:"8rem"},36:{value:"9rem"},40:{value:"10rem"},44:{value:"11rem"},48:{value:"12rem"},52:{value:"13rem"},56:{value:"14rem"},60:{value:"15rem"},64:{value:"16rem"},72:{value:"18rem"},80:{value:"20rem"},96:{value:"24rem"}});var jO=ut.sizes({"3xs":{value:"14rem"},"2xs":{value:"16rem"},xs:{value:"20rem"},sm:{value:"24rem"},md:{value:"28rem"},lg:{value:"32rem"},xl:{value:"36rem"},"2xl":{value:"42rem"},"3xl":{value:"48rem"},"4xl":{value:"56rem"},"5xl":{value:"64rem"},"6xl":{value:"72rem"},"7xl":{value:"80rem"},"8xl":{value:"90rem"}}),OO=ut.sizes({max:{value:"max-content"},min:{value:"min-content"},fit:{value:"fit-content"},prose:{value:"60ch"},full:{value:"100%"},dvh:{value:"100dvh"},svh:{value:"100svh"},lvh:{value:"100lvh"},dvw:{value:"100dvw"},svw:{value:"100svw"},lvw:{value:"100lvw"},vw:{value:"100vw"},vh:{value:"100vh"}}),AO=ut.sizes({"1/2":{value:"50%"},"1/3":{value:"33.333333%"},"2/3":{value:"66.666667%"},"1/4":{value:"25%"},"3/4":{value:"75%"},"1/5":{value:"20%"},"2/5":{value:"40%"},"3/5":{value:"60%"},"4/5":{value:"80%"},"1/6":{value:"16.666667%"},"2/6":{value:"33.333333%"},"3/6":{value:"50%"},"4/6":{value:"66.666667%"},"5/6":{value:"83.333333%"},"1/12":{value:"8.333333%"},"2/12":{value:"16.666667%"},"3/12":{value:"25%"},"4/12":{value:"33.333333%"},"5/12":{value:"41.666667%"},"6/12":{value:"50%"},"7/12":{value:"58.333333%"},"8/12":{value:"66.666667%"},"9/12":{value:"75%"},"10/12":{value:"83.333333%"},"11/12":{value:"91.666667%"}}),zL=ut.sizes({...jO,...lc,...AO,...OO});var kL=ut.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:2147483647}});var PO={aspectRatios:oL,animations:iL,blurs:lL,borders:nL,colors:hL,durations:dL,easings:sL,fonts:uL,fontSizes:pL,fontWeights:gL,letterSpacings:fL,lineHeights:mL,radii:xL,spacing:lc,sizes:zL,zIndex:kL,cursor:cL},EO={colors:oz,shadows:nz,radii:lz},RO="chakra",_O=":where(html, .chakra-theme)",LL=Vl({preflight:!0,cssVarsPrefix:RO,cssVarsRoot:_O,globalCss:Ix,theme:{breakpoints:Fx,keyframes:ML,tokens:PO,semanticTokens:EO,recipes:iz,slotRecipes:rL,textStyles:eL,layerStyles:Dx,animationStyles:Nx}});var Ri=Kh(Km,LL),FO=yl(Ri);var Na=W(K(),1),Ua=W(at(),1);var wL=W(at(),1);function bL(t){let{key:a,recipe:r}=t,e=X0();return(0,wL.useMemo)(()=>r?e.sva(r):a!=null?e.getSlotRecipeFn(a):e.sva({slots:[]}),[a,r,e])}var nc=t=>{let{key:a,recipe:r}=t,e=Ye(a||r.className||"Component"),[i,o]=Oa({name:`${e}StylesContext`,errorMessage:`use${e}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${e}.Root />" `}),[l,n]=Oa({name:`${e}ClassNameContext`,errorMessage:`use${e}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${e}.Root />" `,strict:!1}),[h,c]=Oa({strict:!1,name:`${e}PropsContext`,providerName:`${e}PropsContext`,defaultValue:{}});function d(u){let{unstyled:f,...z}=u,v=bL({key:a,recipe:z.recipe||r}),[M,m]=(0,Ua.useMemo)(()=>v.splitVariantProps(z),[z,v]);return{styles:(0,Ua.useMemo)(()=>f?nM:v(M),[f,M,v]),classNames:v.classNameMap,props:m}}function s(u,f={}){let{defaultProps:z,displayName:v}=f,M=Ke(u),m=oM(e,M),L=H=>{let x=c(),B=(0,Ua.useMemo)(()=>mr(z,x,H),[x,H]),{styles:C,classNames:S,props:k}=d(B);return(0,Na.jsx)(i,{value:C,children:(0,Na.jsx)(l,{value:S,children:(0,Na.jsx)(u,{...k})})})};return L.displayName=v??m??M,L}return{StylesProvider:i,ClassNamesProvider:l,PropsProvider:h,usePropsContext:c,useRecipeResult:d,withProvider:(u,f,z)=>{let{defaultProps:v,displayName:M,wrapElement:m,...L}=z??{},H=v9(e,String(f)),x=Et(u,{},L),B=(0,Ua.forwardRef)((C,S)=>{let k=c(),P=(0,Ua.useMemo)(()=>mr(v??{},k,C),[k,C]),{styles:j,props:V,classNames:A}=d(P),E=A[f],y=(0,Na.jsx)(i,{value:j,children:(0,Na.jsx)(l,{value:A,children:(0,Na.jsx)(x,{ref:S,...V,css:[j[f],P.css],className:_1(P.className,E)})})});return m?.(y,P)??y});return B.displayName=M??H??Ke(u),B},withContext:(u,f,z)=>{let{displayName:v,...M}=z??{},m=f!=null&&f!==""?v9(e,String(f)):e,L=Et(u,{},M),H=(0,Ua.forwardRef)((x,B)=>{let{unstyled:C,...S}=x,k=o(),j=n()?.[f];return(0,Na.jsx)(L,{...S,css:[!C&&f?k[f]:void 0,x.css],ref:B,className:_1(x.className,j)})});return H.displayName=v??m??Ke(u),H},withRootProvider:s,useStyles:o,useClassNames:n}};var hc=W(K(),1),g2=W(at(),1);function HL(t){let{gap:a,direction:r}=t,e={column:{marginY:a,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:a,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:a,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:a,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":qh(r,i=>e[i])}}function IO(t){return g2.Children.toArray(t).filter(a=>(0,g2.isValidElement)(a))}var Sl=(0,g2.forwardRef)(function(a,r){let{direction:e="column",align:i,justify:o,gap:l="0.5rem",wrap:n,children:h,separator:c,className:d,...s}=a,p=(0,g2.useMemo)(()=>HL({gap:l,direction:e}),[l,e]),g=(0,g2.useMemo)(()=>(0,g2.isValidElement)(c)?IO(h).map((u,f,z)=>{let v=typeof u.key<"u"?u.key:f,M=c,m=(0,g2.cloneElement)(M,{css:[p,M.props.css]});return(0,hc.jsxs)(g2.Fragment,{children:[u,f===z.length-1?null:m]},v)}):h,[h,c,p]);return(0,hc.jsx)(Et.div,{ref:r,display:"flex",alignItems:i,justifyContent:o,flexDirection:e,flexWrap:n,gap:c?void 0:l,className:_1("chakra-stack",d),...s,children:g})});Sl.displayName="Stack";var Ga={};hn(Ga,{Content:()=>VL,Description:()=>SL,Indicator:()=>TL,PropsProvider:()=>BL,Root:()=>CL,Title:()=>yL});var{withProvider:DO,withContext:cc,useStyles:Ght,PropsProvider:NO}=nc({key:"emptyState"}),CL=DO("div","root"),BL=NO,VL=cc("div","content"),TL=cc("div","indicator"),yL=cc("h3","title"),SL=cc("p","description");var WL=W(K(),1),jL=W(at(),1);var W1=(0,jL.forwardRef)(function(a,r){let{direction:e,align:i,justify:o,wrap:l,basis:n,grow:h,shrink:c,inline:d,...s}=a;return(0,WL.jsx)(Et.div,{ref:r,...s,css:{display:d?"inline-flex":"flex",flexDirection:e,alignItems:i,justifyContent:o,flexWrap:l,flexBasis:n,flexGrow:h,flexShrink:c,...a.css}})});W1.displayName="Flex";var OL=W(K(),1),AL=W(at(),1);var Bt=(0,AL.forwardRef)(function(a,r){return(0,OL.jsx)(Sl,{align:"center",...a,direction:"row",ref:r})});Bt.displayName="HStack";var{withContext:UO,PropsProvider:tct}=b0({key:"input"}),Wl=UO(d6.Input);var{withContext:GO,PropsProvider:ect}=b0({key:"link"}),F6=GO("a");var PL=W(K(),1),EL=W(at(),1);var{useRecipeResult:qO,PropsProvider:pct}=b0({key:"separator"}),dc=(0,EL.forwardRef)(function(a,r){let{styles:e,className:i,props:o}=qO(a),l=a.orientation||"horizontal";return(0,PL.jsx)(Et.span,{ref:r,role:h1(l)?"separator":"presentation","aria-orientation":h1(l)?l:void 0,...Oi(o,["orientation"]),className:_1(i,a.className),css:[e,a.css]})});dc.displayName="Separator";var Wr={};hn(Wr,{Arrow:()=>qL,ArrowTip:()=>I6,Content:()=>GL,Context:()=>$L,Positioner:()=>UL,PropsProvider:()=>DL,Root:()=>IL,RootProvider:()=>FL,Trigger:()=>NL});var RL=W(K(),1);var{withRootProvider:_L,withContext:jl,useStyles:Mct,PropsProvider:$O}=nc({key:"tooltip"}),FL=_L(S0.RootProvider),IL=_L(S0.Root,{defaultProps:{lazyMount:!0,unmountOnExit:!0}}),DL=$O,NL=jl(S0.Trigger,"trigger",{forwardAsChild:!0}),UL=jl(S0.Positioner,"positioner",{forwardAsChild:!0}),GL=jl(S0.Content,"content",{forwardAsChild:!0}),I6=jl(S0.ArrowTip,"arrowTip",{forwardAsChild:!0}),qL=jl(S0.Arrow,"arrow",{forwardAsChild:!0,defaultProps:{children:(0,RL.jsx)(I6,{})}}),$L=S0.Context;var KL=W(K(),1),YL=W(at(),1);var Ht=(0,YL.forwardRef)(function(a,r){return(0,KL.jsx)(Sl,{align:"center",...a,direction:"column",ref:r})});Ht.displayName="VStack";var _i=W(at(),1);var D6=W(at(),1),N6={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},U6=D6.default.createContext&&D6.default.createContext(N6);var KO=["attr","size","title"];function YO(t,a){if(t==null)return{};var r,e,i=XO(t,a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(e=0;e<o.length;e++)r=o[e],a.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function XO(t,a){if(t==null)return{};var r={};for(var e in t)if({}.hasOwnProperty.call(t,e)){if(a.indexOf(e)!==-1)continue;r[e]=t[e]}return r}function sc(){return sc=Object.assign?Object.assign.bind():function(t){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var e in r)({}).hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t},sc.apply(null,arguments)}function XL(t,a){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);a&&(e=e.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,e)}return r}function pc(t){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?XL(Object(r),!0).forEach(function(e){QO(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):XL(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function QO(t,a,r){return(a=ZO(a))in t?Object.defineProperty(t,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[a]=r,t}function ZO(t){var a=JO(t,"string");return typeof a=="symbol"?a:a+""}function JO(t,a){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var e=r.call(t,a||"default");if(typeof e!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)}function QL(t){return t&&t.map((a,r)=>_i.default.createElement(a.tag,pc({key:r},a.attr),QL(a.child)))}function qa(t){return a=>_i.default.createElement(tA,sc({attr:pc({},t.attr)},a),QL(t.child))}function tA(t){var a=r=>{var{attr:e,size:i,title:o}=t,l=YO(t,KO),n=i||r.size||"1em",h;return r.className&&(h=r.className),t.className&&(h=(h?h+" ":"")+t.className),_i.default.createElement("svg",sc({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,e,l,{className:h,style:pc(pc({color:t.color||r.color},r.style),t.style),height:n,width:n,xmlns:"http://www.w3.org/2000/svg"}),o&&_i.default.createElement("title",null,o),t.children)};return U6!==void 0?_i.default.createElement(U6.Consumer,null,r=>a(r)):a(N6)}function ZL(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(t)}function JL(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 14h4v-4H3v4zm0 5h4v-4H3v4zM3 9h4V5H3v4zm5 5h13v-4H8v4zm0 5h13v-4H8v4zM8 5v4h13V5H8z"},child:[]}]})(t)}function gc(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7V7h2v10zm4-5h-2V7h2v5zm4 3h-2V7h2v8z"},child:[]}]})(t)}function tw(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"},child:[]}]})(t)}function G6(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"},child:[]}]})(t)}var vc=W(at(),1);function uc(t,a){let[r,e]=(0,vc.useState)({data:null,refusal:null,loading:t!==null});return(0,vc.useEffect)(()=>{if(t===null)return;let i=!1;return e({data:null,refusal:null,loading:!0}),(async()=>{try{let o=await a();i||e({data:o,refusal:null,loading:!1})}catch(o){i||e({data:null,refusal:o instanceof Error?o.message:String(o),loading:!1})}})(),()=>{i=!0}},[t]),r}var rw="/api/v1/board";async function aw(t,a){let r=await fetch(`${a}/items?limit=100&offset=${t}`),e=await r.json().catch(()=>null);if(!r.ok)throw new Error(e?.error??`the board could not be reached (${r.status})`);return{items:e?.items??[],total:e?.total??0,hasMore:e?.hasMore??!1}}async function ew(t=rw){let a=await aw(0,t);if(!a.hasMore||a.items.length===0)return a;let r=a.items.length,e=Math.min(Math.ceil(a.total/r),40),i=await Promise.all(Array.from({length:e-1},(n,h)=>aw(r*(h+1),t))),o=new Map;for(let n of[a,...i])for(let h of n.items)o.set(h.id,h);let l=i[i.length-1]??a;return{items:[...o.values()],total:a.total,hasMore:l.hasMore}}async function iw(t,a=rw){let r=await fetch(`${a}/items/${encodeURIComponent(t)}`),e=await r.json().catch(()=>null);if(!r.ok||!e?.item)throw new Error(e?.error??`the brief could not be read (${r.status})`);return{item:e.item,brief:e.brief??null}}function Mc(){return uc("board",()=>ew())}function q6(t){return uc(t,()=>iw(t))}var z1={headerPy:4,sidebarPx:2,sidebarItemPx:2,sidebarItemPy:1.5,sidebarItemGap:3,sidebarGap:.5,sidebarHeaderH:12,sidebarPanelPy:3,sidebarExpandedWidth:250,sidebarCollapsedWidth:50};var aa=W(at(),1);var I1=W(K(),1),eA="linear-gradient(to bottom, var(--chakra-colors-bg-canvas) 0%, var(--chakra-colors-bg-canvas) 55%, color-mix(in srgb, var(--chakra-colors-bg-canvas) 80%, transparent) 70%, color-mix(in srgb, var(--chakra-colors-bg-canvas) 50%, transparent) 82%, color-mix(in srgb, var(--chakra-colors-bg-canvas) 20%, transparent) 92%, transparent 100%)";function Fi({revealHeight:t=24}){return(0,I1.jsx)(Z,{display:{base:"block",md:"none"},position:"absolute",top:0,left:0,right:0,bottom:`-${t}px`,pointerEvents:"none",bgImage:eA,zIndex:-1})}Fi.displayName="PageHeader.Fade";function nw({children:t,px:a=2,pl:r,pr:e}){let{title:i,search:o,actions:l,extras:n}=iA(t);return(0,I1.jsxs)(Bt,{as:"header",h:12,pl:r??a,pr:e??a,bg:{base:"transparent",md:"bg.canvas"},flexShrink:0,gap:3,align:"center",position:{base:"absolute",md:"relative"},top:{base:0,md:"auto"},left:{base:0,md:"auto"},right:{base:0,md:"auto"},zIndex:2,children:[(0,I1.jsx)(Fi,{}),(0,I1.jsxs)(Bt,{minW:0,flex:1,gap:3,align:"center",position:"relative",zIndex:1,children:[i,n]}),(0,I1.jsxs)(Bt,{gap:2,align:"center",flexShrink:0,position:"relative",zIndex:1,children:[o,l]})]})}nw.displayName="PageHeader";function iA(t){let a=null,r=null,e=null,i=[];return aa.Children.forEach(t,o=>{if(!(0,aa.isValidElement)(o)){o!=null&&i.push(o);return}switch(o.type?.displayName){case"PageHeader.Title":a=o;break;case"PageHeader.Search":r=o;break;case"PageHeader.Actions":e=o;break;default:i.push(o)}}),{title:a,search:r,actions:e,extras:i}}function hw({title:t,subtitle:a,children:r}){return r?(0,I1.jsx)(Z,{minW:0,display:"flex",alignItems:"center",flex:"1",children:r}):(0,I1.jsxs)(Ht,{align:"start",gap:0,minW:0,flex:"1",justify:"center",children:[t&&(0,I1.jsx)(et,{fontSize:"sm",fontWeight:"semibold",lineHeight:"1.2",truncate:!0,w:"full",children:t}),a&&(0,I1.jsx)(et,{fontSize:"xs",lineHeight:"1.2",color:"fg.subtle",truncate:!0,w:"full",children:a})]})}hw.displayName="PageHeader.Title";function cw({children:t}){return(0,I1.jsx)(Bt,{gap:1,align:"center",flexShrink:0,children:t})}cw.displayName="PageHeader.Actions";function dw({defaultValue:t="",onChange:a,placeholder:r="Search\u2026",debounceMs:e=150}){let i=(0,aa.useRef)(a);i.current=a;let o=(0,aa.useRef)(null);return(0,aa.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]),(0,I1.jsxs)(Bt,{gap:2,align:"center",h:8,px:3,rounded:"md",bg:"bg.muted",w:{base:"auto",md:"220px"},display:{base:"none",md:"flex"},children:[(0,I1.jsx)(Z,{color:"fg.subtle",display:"inline-flex",children:(0,I1.jsx)(tw,{size:14})}),(0,I1.jsx)(Wl,{variant:"outline",border:"none",outline:"none",bg:"transparent",h:"full",p:0,fontSize:"sm",defaultValue:t,placeholder:r,onChange:n=>{let h=n.target.value;if(e<=0){i.current(h);return}o.current&&clearTimeout(o.current),o.current=setTimeout(()=>i.current(h),e)},_placeholder:{color:"fg.subtle"},_focus:{boxShadow:"none",outline:"none"}}),(0,I1.jsx)(et,{as:"span",fontSize:"2xs",color:"fg.subtle",fontFamily:"mono",px:1,rounded:"sm",bg:"bg.muted",children:"\u2318K"})]})}dw.displayName="PageHeader.Search";var jr=Object.assign(nw,{Title:hw,Actions:cw,Search:dw,Fade:Fi});function sw(t){return qa({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"},child:[]},{tag:"path",attr:{d:"M9 4l0 16"},child:[]}]})(t)}var u1=W(K(),1);function $6({label:t,dir:a,disabled:r,children:e}){return(0,u1.jsxs)(Wr.Root,{openDelay:300,closeDelay:100,positioning:{placement:a==="rtl"?"left":"right"},disabled:r,children:[(0,u1.jsx)(Wr.Trigger,{asChild:!0,children:(0,u1.jsx)(Z,{w:"fit-content",children:e})}),(0,u1.jsx)(Wr.Positioner,{children:(0,u1.jsx)(Wr.Content,{children:t})})]})}function pw({item:t,active:a,expanded:r,dir:e,onNavigate:i,renderLink:o}){let l=(0,u1.jsxs)(Bt,{gap:z1.sidebarItemGap,px:z1.sidebarItemPx,py:z1.sidebarItemPy,h:8,rounded:"md",bg:a?"bg.subtle":"transparent",color:a?"fg":"fg.muted",_hover:{bg:"bg.subtle",color:"fg"},transition:"background 0.15s, color 0.15s",w:r?"full":"fit-content",justify:"start",cursor:"pointer",children:[(0,u1.jsx)(Z,{flexShrink:0,w:"18px",h:"18px",display:"flex",alignItems:"center",justifyContent:"center",color:a?"primary.fg":"inherit",children:t.icon}),r&&(0,u1.jsxs)(u1.Fragment,{children:[(0,u1.jsx)(et,{fontSize:"sm",fontWeight:a?"medium":"normal",flex:1,truncate:!0,children:t.label}),t.badge!==void 0&&(0,u1.jsx)(et,{fontSize:"xs",fontFamily:"mono",color:"fg.subtle",fontWeight:"normal",children:t.badge})]})]}),n=(0,u1.jsx)(Z,{onClick:i,w:r?"full":"fit-content",children:l}),h=t.href===void 0?(0,u1.jsx)(Et.button,{type:"button",w:r?"full":"fit-content",textAlign:"start",children:n}):o?o(t.href,n):(0,u1.jsx)(Et.a,{href:t.href,display:"block",textDecoration:"none",children:n});return r?(0,u1.jsx)(u1.Fragment,{children:h}):(0,u1.jsx)($6,{label:t.label,dir:e,children:h})}var o2=W(K(),1);function Al({brand:t,nav:a,active:r,onNavigate:e,renderLink:i,onBrandClick:o,expanded:l=!0,onToggle:n,railBody:h,navFooter:c,footer:d}){let{dir:s}=ti(),p=n&&(0,o2.jsx)($6,{label:l?"Collapse sidebar":"Expand sidebar",dir:s,disabled:l,children:(0,o2.jsx)(Et.button,{type:"button",display:"flex",alignItems:"center",justifyContent:"center",w:4,h:4,flexShrink:0,bg:"transparent",border:"none",outline:"none",cursor:"pointer",color:"fg.muted",_hover:{color:"fg"},onClick:u=>{u.stopPropagation(),n()},"aria-label":l?"Collapse sidebar":"Expand sidebar",children:(0,o2.jsx)(sw,{size:18})})}),g=u=>u.map(f=>(0,o2.jsx)(pw,{item:f,active:f.key===r,expanded:l,dir:s,onNavigate:()=>e(f.key),renderLink:i},f.key));return(0,o2.jsxs)(o2.Fragment,{children:[(0,o2.jsx)(Bt,{px:z1.sidebarPx,py:z1.headerPy,h:z1.sidebarHeaderH,alignItems:"center",justify:"start",flex:"none",children:(0,o2.jsxs)(Bt,{gap:z1.sidebarItemGap,px:z1.sidebarItemPx,w:l?void 0:"fit-content",cursor:o?"pointer":void 0,onClick:o,_hover:o?{opacity:.8}:void 0,children:[p,l&&t]})}),(0,o2.jsx)(Ht,{px:z1.sidebarPx,gap:z1.sidebarGap,align:"stretch",flex:"none",children:g(a)}),h&&(0,o2.jsx)(Z,{flex:1,minH:0,children:h}),c&&(0,o2.jsx)(Ht,{px:z1.sidebarPx,gap:z1.sidebarGap,align:"stretch",flex:"none",mt:h?0:"auto",children:g(c)}),d&&(0,o2.jsx)(Z,{flex:"none",mt:h||c?0:"auto",children:d})]})}var ra=W(K(),1);function Pl({aside:t,title:a,subtitle:r,actions:e,children:i,...o}){let l=o.expanded??!0;return(0,ra.jsxs)(W1,{direction:{base:"column",md:"row"},h:"full",w:"full",overflow:"hidden",bg:"bg.canvas",p:{base:0,md:2},gap:{base:0,md:2},children:[(0,ra.jsx)(Z,{as:"aside",h:"full",w:`${l?z1.sidebarExpandedWidth:z1.sidebarCollapsedWidth}px`,flexShrink:0,transition:"width 0.2s ease",display:{base:"none",md:"flex"},flexDirection:"column",bg:"bg.panel",rounded:"xl",overflow:"hidden",children:(0,ra.jsx)(Al,{...o})}),(0,ra.jsxs)(W1,{direction:"column",flex:1,minW:0,minH:0,bg:"transparent",overflow:"hidden",pt:{base:"env(safe-area-inset-top)",md:0},position:"relative",children:[(a||r||e)&&(0,ra.jsxs)(jr,{children:[(0,ra.jsx)(jr.Title,{title:a,subtitle:r}),e&&(0,ra.jsx)(jr.Actions,{children:e})]}),i]}),t]})}var gw=W(K(),1);var vw=W(K(),1);var uw=W(K(),1);function y2({color:t,hollow:a=!1,size:r=2}){return(0,uw.jsx)(Z,{flex:"none",w:r,h:r,borderRadius:"full",bg:a?"transparent":t,borderWidth:a?"1.5px":void 0,borderColor:a?t:void 0})}var Or=W(K(),1);function Ar({label:t,count:a,color:r,pressed:e,dimmed:i,onPress:o}){return(0,Or.jsx)(Z,{as:"button",onClick:o,"aria-pressed":e,cursor:o?"pointer":"default",borderRadius:"full",borderWidth:"1px",borderColor:e?"primary.solid":"border.subtle",bg:e?"bg.emphasized":"bg.subtle",opacity:i&&!e?.45:1,px:2,py:.5,transition:"opacity 120ms, border-color 120ms, background 120ms",_hover:o?{bg:"bg.emphasized"}:void 0,children:(0,Or.jsxs)(Bt,{gap:1.5,children:[r&&(0,Or.jsx)(y2,{color:r}),(0,Or.jsx)(et,{fontSize:"xs",fontWeight:"semibold",color:"fg",lineHeight:"1",children:a}),(0,Or.jsx)(et,{fontSize:"xs",color:"fg.muted",lineHeight:"1",children:t})]})})}var Jt=W(K(),1),oA="200px";function lA(t){let a=new Map;for(let r of t){let e=a.get(r.lane);e?e.push(r):a.set(r.lane,[r])}return a}function nA(t,a){let r=new Set(t.map(i=>i.id)),e=[...a].filter(i=>!r.has(i)).sort();return[...t,...e.map(i=>({id:i}))]}function hA({card:t,selected:a,onSelect:r}){return(0,Jt.jsx)(Et.button,{type:"button",textAlign:"start",w:"full",bg:"bg.panel",borderWidth:"1px",borderColor:a?"primary.solid":"border.subtle",borderRadius:"lg",px:3,py:2.5,cursor:r?"pointer":"default",transition:"border-color 120ms, background 120ms",_hover:r?{borderColor:a?"primary.solid":"border.emphasized"}:{},onClick:()=>r?.(t.id),children:(0,Jt.jsxs)(Bt,{align:"start",gap:2,children:[t.color&&(0,Jt.jsx)(Z,{pt:1.5,children:(0,Jt.jsx)(y2,{color:t.color,hollow:t.hollow??!1})}),(0,Jt.jsxs)(Ht,{align:"stretch",gap:.5,flex:1,minW:0,children:[(0,Jt.jsx)(et,{fontSize:"sm",color:"fg",lineClamp:3,children:t.title}),t.note&&(0,Jt.jsx)(et,{fontSize:"xs",color:"fg.muted",truncate:!0,children:t.note})]})]})})}function cA({lane:t,cards:a,selectedId:r,onSelect:e}){return(0,Jt.jsxs)(Ht,{align:"stretch",gap:2,minW:0,children:[(0,Jt.jsxs)(Bt,{gap:2,px:1,children:[t.color&&(0,Jt.jsx)(y2,{color:t.color}),(0,Jt.jsx)(et,{fontSize:"xs",fontWeight:"semibold",color:"fg.muted",textTransform:"uppercase",letterSpacing:"wider",truncate:!0,children:t.title??t.id}),(0,Jt.jsx)(et,{fontSize:"xs",color:"fg.subtle",ms:"auto",children:a.length})]}),a.length===0?(0,Jt.jsx)(Z,{borderWidth:"1px",borderStyle:"dashed",borderColor:"border.subtle",borderRadius:"lg",px:3,py:3,children:(0,Jt.jsx)(et,{fontSize:"xs",color:"fg.subtle",children:"Empty"})}):(0,Jt.jsx)(Ht,{align:"stretch",gap:2,children:a.map(i=>(0,Jt.jsx)(hA,{card:i,selected:i.id===r,...e?{onSelect:e}:{}},i.id))})]})}function El({lanes:t,cards:a,selectedId:r,onSelect:e,empty:i}){let o=lA(a),l=nA(t,o.keys());return a.length===0?(0,Jt.jsx)(W1,{flex:1,align:"center",justify:"center",p:6,children:(0,Jt.jsx)(et,{fontSize:"sm",color:"fg.subtle",textAlign:"center",children:i??"Nothing here yet."})}):(0,Jt.jsx)(Z,{flex:1,minH:0,minW:0,overflow:"auto",p:4,children:(0,Jt.jsx)(Z,{display:"grid",gridTemplateColumns:`repeat(${l.length}, minmax(${oA}, 1fr))`,gap:3,alignItems:"start",children:l.map(n=>(0,Jt.jsx)(cA,{lane:n,cards:o.get(n.id)??[],selectedId:r??null,...e?{onSelect:e}:{}},n.id))})})}var Y6=W(K(),1);function Rl({segments:t}){let a=t.filter(e=>e.count>0),r=a.reduce((e,i)=>e+i.count,0);return r===0?null:(0,Y6.jsx)(W1,{h:"1.5",w:"full",borderRadius:"full",overflow:"hidden",bg:"bg.subtle",gap:"1px",children:a.map(e=>(0,Y6.jsx)(Z,{bg:e.color,flexBasis:`${e.count/r*100}%`,title:`${e.count} ${e.label}`},e.label))})}var Mw=W(at(),1),Pr=W(K(),1);function $a({icon:t,title:a,description:r,variant:e="default"}){let i=e==="card";return(0,Pr.jsx)(Ga.Root,{py:12,...i?{borderWidth:"1px",borderColor:"border.subtle",rounded:"2xl",h:"full",display:"flex",alignItems:"center",justifyContent:"center"}:{},children:(0,Pr.jsxs)(Ga.Content,{children:[t&&(0,Pr.jsx)(Ga.Indicator,{children:(0,Mw.createElement)(t,{size:24})}),(0,Pr.jsx)(Ga.Title,{children:a}),r&&(0,Pr.jsx)(Ga.Description,{children:r})]})})}var fw=W(K(),1);function Ii({value:t,onChange:a,placeholder:r}){return(0,fw.jsx)(Wl,{type:"search",placeholder:r??"Filter what is on screen\u2026",value:t,onChange:e=>a(e.target.value),rounded:"2xl",h:"8",bg:"bg.subtle",borderWidth:"1px",borderColor:"border.emphasized",_hover:{borderColor:"border.emphasized"},_focusVisible:{borderColor:"primary.solid",outline:"none"}})}var en=W(at(),1);function mw(t,a){let r=a||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var dA=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,sA=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,pA={};function mc(t,a){return((a||pA).jsx?sA:dA).test(t)}var gA=/[ \t\n\f\r]/g;function X6(t){return typeof t=="object"?t.type==="text"?xw(t.value):!1:xw(t)}function xw(t){return t.replace(gA,"")===""}var ea=class{constructor(a,r,e){this.normal=r,this.property=a,e&&(this.space=e)}};ea.prototype.normal={};ea.prototype.property={};ea.prototype.space=void 0;function Q6(t,a){let r={},e={};for(let i of t)Object.assign(r,i.property),Object.assign(e,i.normal);return new ea(r,e,a)}function _l(t){return t.toLowerCase()}var j1=class{constructor(a,r){this.attribute=r,this.property=a}};j1.prototype.attribute="";j1.prototype.booleanish=!1;j1.prototype.boolean=!1;j1.prototype.commaOrSpaceSeparated=!1;j1.prototype.commaSeparated=!1;j1.prototype.defined=!1;j1.prototype.mustUseProperty=!1;j1.prototype.number=!1;j1.prototype.overloadedBoolean=!1;j1.prototype.property="";j1.prototype.spaceSeparated=!1;j1.prototype.space=void 0;var Fl={};hn(Fl,{boolean:()=>ct,booleanish:()=>r1,commaOrSpaceSeparated:()=>v2,commaSeparated:()=>ia,number:()=>U,overloadedBoolean:()=>xc,spaceSeparated:()=>Tt});var vA=0,ct=Er(),r1=Er(),xc=Er(),U=Er(),Tt=Er(),ia=Er(),v2=Er();function Er(){return 2**++vA}var Z6=Object.keys(Fl),Rr=class extends j1{constructor(a,r,e,i){let o=-1;if(super(a,r),zw(this,"space",i),typeof e=="number")for(;++o<Z6.length;){let l=Z6[o];zw(this,Z6[o],(e&Fl[l])===Fl[l])}}};Rr.prototype.defined=!0;function zw(t,a,r){r&&(t[a]=r)}function q2(t){let a={},r={};for(let[e,i]of Object.entries(t.properties)){let o=new Rr(e,t.transform(t.attributes||{},e),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(e)&&(o.mustUseProperty=!0),a[e]=o,r[_l(e)]=e,r[_l(o.attribute)]=e}return new ea(a,r,t.space)}var J6=q2({properties:{ariaActiveDescendant:null,ariaAtomic:r1,ariaAutoComplete:null,ariaBusy:r1,ariaChecked:r1,ariaColCount:U,ariaColIndex:U,ariaColSpan:U,ariaControls:Tt,ariaCurrent:null,ariaDescribedBy:Tt,ariaDetails:null,ariaDisabled:r1,ariaDropEffect:Tt,ariaErrorMessage:null,ariaExpanded:r1,ariaFlowTo:Tt,ariaGrabbed:r1,ariaHasPopup:null,ariaHidden:r1,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Tt,ariaLevel:U,ariaLive:null,ariaModal:r1,ariaMultiLine:r1,ariaMultiSelectable:r1,ariaOrientation:null,ariaOwns:Tt,ariaPlaceholder:null,ariaPosInSet:U,ariaPressed:r1,ariaReadOnly:r1,ariaRelevant:null,ariaRequired:r1,ariaRoleDescription:Tt,ariaRowCount:U,ariaRowIndex:U,ariaRowSpan:U,ariaSelected:r1,ariaSetSize:U,ariaSort:null,ariaValueMax:U,ariaValueMin:U,ariaValueNow:U,ariaValueText:null,role:null},transform(t,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function zc(t,a){return a in t?t[a]:a}function kc(t,a){return zc(t,a.toLowerCase())}var kw=q2({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ia,acceptCharset:Tt,accessKey:Tt,action:null,allow:null,allowFullScreen:ct,allowPaymentRequest:ct,allowUserMedia:ct,alpha:ct,alt:null,as:null,async:ct,autoCapitalize:null,autoComplete:Tt,autoFocus:ct,autoPlay:ct,blocking:Tt,capture:null,charSet:null,checked:ct,cite:null,className:Tt,closedBy:null,colorSpace:null,cols:U,colSpan:U,command:null,commandFor:null,content:null,contentEditable:r1,controls:ct,controlsList:Tt,coords:U|ia,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ct,defer:ct,dir:null,dirName:null,disabled:ct,download:xc,draggable:r1,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ct,formTarget:null,headers:Tt,height:U,hidden:xc,high:U,href:null,hrefLang:null,htmlFor:Tt,httpEquiv:Tt,id:null,imageSizes:null,imageSrcSet:null,inert:ct,inputMode:null,integrity:null,is:null,isMap:ct,itemId:null,itemProp:Tt,itemRef:Tt,itemScope:ct,itemType:Tt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ct,low:U,manifest:null,max:null,maxLength:U,media:null,method:null,min:null,minLength:U,multiple:ct,muted:ct,name:null,nonce:null,noModule:ct,noValidate:ct,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ct,optimum:U,pattern:null,ping:Tt,placeholder:null,playsInline:ct,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ct,referrerPolicy:null,rel:Tt,required:ct,reversed:ct,rows:U,rowSpan:U,sandbox:Tt,scope:null,scoped:ct,seamless:ct,selected:ct,shadowRootClonable:ct,shadowRootCustomElementRegistry:ct,shadowRootDelegatesFocus:ct,shadowRootMode:null,shadowRootSerializable:ct,shape:null,size:U,sizes:null,slot:null,span:U,spellCheck:r1,src:null,srcDoc:null,srcLang:null,srcSet:null,start:U,step:null,style:null,tabIndex:U,target:null,title:null,translate:null,type:null,typeMustMatch:ct,useMap:null,value:r1,width:U,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Tt,axis:null,background:null,bgColor:null,border:U,borderColor:null,bottomMargin:U,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ct,declare:ct,event:null,face:null,frame:null,frameBorder:null,hSpace:U,leftMargin:U,link:null,longDesc:null,lowSrc:null,marginHeight:U,marginWidth:U,noResize:ct,noHref:ct,noShade:ct,noWrap:ct,object:null,profile:null,prompt:null,rev:null,rightMargin:U,rules:null,scheme:null,scrolling:r1,standby:null,summary:null,text:null,topMargin:U,valueType:null,version:null,vAlign:null,vLink:null,vSpace:U,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:ct,disablePictureInPicture:ct,disableRemotePlayback:ct,exportParts:ia,part:Tt,prefix:null,property:null,results:U,security:null,unselectable:null},space:"html",transform:kc});var Lw=q2({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:v2,accentHeight:U,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:U,amplitude:U,arabicForm:null,ascent:U,attributeName:null,attributeType:null,azimuth:U,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:U,by:null,calcMode:null,capHeight:U,className:Tt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:U,diffuseConstant:U,direction:null,display:null,dur:null,divisor:U,dominantBaseline:null,download:ct,dx:null,dy:null,edgeMode:null,editable:null,elevation:U,enableBackground:null,end:null,event:null,exponent:U,externalResourcesRequired:null,fill:null,fillOpacity:U,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ia,g2:ia,glyphName:ia,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:U,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:U,horizOriginX:U,horizOriginY:U,id:null,ideographic:U,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:U,k:U,k1:U,k2:U,k3:U,k4:U,kernelMatrix:v2,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:U,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:U,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:U,overlineThickness:U,paintOrder:null,panose1:null,path:null,pathLength:U,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Tt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:U,pointsAtY:U,pointsAtZ:U,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:v2,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:v2,rev:v2,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:v2,requiredFeatures:v2,requiredFonts:v2,requiredFormats:v2,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:U,specularExponent:U,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:U,strikethroughThickness:U,string:null,stroke:null,strokeDashArray:v2,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:U,strokeOpacity:U,strokeWidth:null,style:null,surfaceScale:U,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:v2,tabIndex:U,tableValues:null,target:null,targetX:U,targetY:U,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:v2,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:U,underlineThickness:U,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:U,values:null,vAlphabetic:U,vMathematical:U,vectorEffect:null,vHanging:U,vIdeographic:U,version:null,vertAdvY:U,vertOriginX:U,vertOriginY:U,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:U,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:zc});var t7=q2({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,a){return"xlink:"+a.slice(5).toLowerCase()}});var a7=q2({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:kc});var r7=q2({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,a){return"xml:"+a.slice(3).toLowerCase()}});var e7={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var uA=/[A-Z]/g,ww=/-[a-z]/g,MA=/^data[-\w.:]+$/i;function i7(t,a){let r=_l(a),e=a,i=j1;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&MA.test(a)){if(a.charAt(4)==="-"){let o=a.slice(5).replace(ww,mA);e="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=a.slice(4);if(!ww.test(o)){let l=o.replace(uA,fA);l.charAt(0)!=="-"&&(l="-"+l),a="data"+l}}i=Rr}return new i(e,a)}function fA(t){return"-"+t.toLowerCase()}function mA(t){return t.charAt(1).toUpperCase()}var bw=Q6([J6,kw,t7,a7,r7],"html"),Lc=Q6([J6,Lw,t7,a7,r7],"svg");function Hw(t){return t.join(" ").trim()}var Fw=W(Pw(),1);var bc=Ew("end"),Di=Ew("start");function Ew(t){return a;function a(r){let e=r&&r.position&&r.position[t]||{};if(typeof e.line=="number"&&e.line>0&&typeof e.column=="number"&&e.column>0)return{line:e.line,column:e.column,offset:typeof e.offset=="number"&&e.offset>-1?e.offset:void 0}}}function n7(t){let a=Di(t),r=bc(t);if(a&&r)return{start:a,end:r}}function Ka(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Rw(t.position):"start"in t||"end"in t?Rw(t):"line"in t||"column"in t?h7(t):""}function h7(t){return _w(t&&t.line)+":"+_w(t&&t.column)}function Rw(t){return h7(t&&t.start)+"-"+h7(t&&t.end)}function _w(t){return t&&typeof t=="number"?t:1}var c1=class extends Error{constructor(a,r,e){super(),typeof r=="string"&&(e=r,r=void 0);let i="",o={},l=!1;if(r&&("line"in r&&"column"in r?o={place:r}:"start"in r&&"end"in r?o={place:r}:"type"in r?o={ancestors:[r],place:r.position}:o={...r}),typeof a=="string"?i=a:!o.cause&&a&&(l=!0,i=a.message,o.cause=a),!o.ruleId&&!o.source&&typeof e=="string"){let h=e.indexOf(":");h===-1?o.ruleId=e:(o.source=e.slice(0,h),o.ruleId=e.slice(h+1))}if(!o.place&&o.ancestors&&o.ancestors){let h=o.ancestors[o.ancestors.length-1];h&&(o.place=h.position)}let n=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=n?n.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=n?n.line:void 0,this.name=Ka(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};c1.prototype.file="";c1.prototype.name="";c1.prototype.reason="";c1.prototype.message="";c1.prototype.stack="";c1.prototype.column=void 0;c1.prototype.line=void 0;c1.prototype.ancestors=void 0;c1.prototype.cause=void 0;c1.prototype.fatal=void 0;c1.prototype.place=void 0;c1.prototype.ruleId=void 0;c1.prototype.source=void 0;var c7={}.hasOwnProperty,UA=new Map,GA=/[A-Z]/g,qA=new Set(["table","tbody","thead","tfoot","tr"]),$A=new Set(["td","th"]),Iw="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function d7(t,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let r=a.filePath||void 0,e;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");e=aP(r,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");e=tP(r,a.jsx,a.jsxs)}let i={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:e,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?Lc:bw,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},o=Dw(i,t,void 0);return o&&typeof o!="string"?o:i.create(t,i.Fragment,{children:o||void 0},void 0)}function Dw(t,a,r){if(a.type==="element")return KA(t,a,r);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return YA(t,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return QA(t,a,r);if(a.type==="mdxjsEsm")return XA(t,a);if(a.type==="root")return ZA(t,a,r);if(a.type==="text")return JA(t,a)}function KA(t,a,r){let e=t.schema,i=e;a.tagName.toLowerCase()==="svg"&&e.space==="html"&&(i=Lc,t.schema=i),t.ancestors.push(a);let o=Uw(t,a.tagName,!1),l=rP(t,a),n=p7(t,a);return qA.has(a.tagName)&&(n=n.filter(function(h){return typeof h=="string"?!X6(h):!0})),Nw(t,l,o,a),s7(l,n),t.ancestors.pop(),t.schema=e,t.create(a,o,l,r)}function YA(t,a){if(a.data&&a.data.estree&&t.evaluater){let e=a.data.estree.body[0];return e.type,t.evaluater.evaluateExpression(e.expression)}Dl(t,a.position)}function XA(t,a){if(a.data&&a.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(a.data.estree);Dl(t,a.position)}function QA(t,a,r){let e=t.schema,i=e;a.name==="svg"&&e.space==="html"&&(i=Lc,t.schema=i),t.ancestors.push(a);let o=a.name===null?t.Fragment:Uw(t,a.name,!0),l=eP(t,a),n=p7(t,a);return Nw(t,l,o,a),s7(l,n),t.ancestors.pop(),t.schema=e,t.create(a,o,l,r)}function ZA(t,a,r){let e={};return s7(e,p7(t,a)),t.create(a,t.Fragment,e,r)}function JA(t,a){return a.value}function Nw(t,a,r,e){typeof r!="string"&&r!==t.Fragment&&t.passNode&&(a.node=e)}function s7(t,a){if(a.length>0){let r=a.length>1?a:a[0];r&&(t.children=r)}}function tP(t,a,r){return e;function e(i,o,l,n){let c=Array.isArray(l.children)?r:a;return n?c(o,l,n):c(o,l)}}function aP(t,a){return r;function r(e,i,o,l){let n=Array.isArray(o.children),h=Di(e);return a(i,o,l,n,{columnNumber:h?h.column-1:void 0,fileName:t,lineNumber:h?h.line:void 0},void 0)}}function rP(t,a){let r={},e,i;for(i in a.properties)if(i!=="children"&&c7.call(a.properties,i)){let o=iP(t,i,a.properties[i]);if(o){let[l,n]=o;t.tableCellAlignToStyle&&l==="align"&&typeof n=="string"&&$A.has(a.tagName)?e=n:r[l]=n}}if(e){let o=r.style||(r.style={});o[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=e}return r}function eP(t,a){let r={};for(let e of a.attributes)if(e.type==="mdxJsxExpressionAttribute")if(e.data&&e.data.estree&&t.evaluater){let o=e.data.estree.body[0];o.type;let l=o.expression;l.type;let n=l.properties[0];n.type,Object.assign(r,t.evaluater.evaluateExpression(n.argument))}else Dl(t,a.position);else{let i=e.name,o;if(e.value&&typeof e.value=="object")if(e.value.data&&e.value.data.estree&&t.evaluater){let n=e.value.data.estree.body[0];n.type,o=t.evaluater.evaluateExpression(n.expression)}else Dl(t,a.position);else o=e.value===null?!0:e.value;r[i]=o}return r}function p7(t,a){let r=[],e=-1,i=t.passKeys?new Map:UA;for(;++e<a.children.length;){let o=a.children[e],l;if(t.passKeys){let h=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(h){let c=i.get(h)||0;l=h+"-"+c,i.set(h,c+1)}}let n=Dw(t,o,l);n!==void 0&&r.push(n)}return r}function iP(t,a,r){let e=i7(t.schema,a);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=e.commaSeparated?mw(r):Hw(r)),e.property==="style"){let i=typeof r=="object"?r:oP(t,String(r));return t.stylePropertyNameCase==="css"&&(i=lP(i)),["style",i]}return[t.elementAttributeNameCase==="react"&&e.space?e7[e.property]||e.property:e.attribute,r]}}function oP(t,a){try{return(0,Fw.default)(a,{reactCompat:!0})}catch(r){if(t.ignoreInvalidStyle)return{};let e=r,i=new c1("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:e,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=t.filePath||void 0,i.url=Iw+"#cannot-parse-style-attribute",i}}function Uw(t,a,r){let e;if(!r)e={type:"Literal",value:a};else if(a.includes(".")){let i=a.split("."),o=-1,l;for(;++o<i.length;){let n=mc(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};l=l?{type:"MemberExpression",object:l,property:n,computed:!!(o&&n.type==="Literal"),optional:!1}:n}e=l}else e=mc(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(e.type==="Literal"){let i=e.value;return c7.call(t.components,i)?t.components[i]:i}if(t.evaluater)return t.evaluater.evaluateExpression(e);Dl(t)}function Dl(t,a){let r=new c1("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=t.filePath||void 0,r.url=Iw+"#cannot-handle-mdx-estrees-without-createevaluater",r}function lP(t){let a={},r;for(r in t)c7.call(t,r)&&(a[nP(r)]=t[r]);return a}function nP(t){let a=t.replace(GA,hP);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function hP(t){return"-"+t.toLowerCase()}var Nl={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var qi=W(K(),1),fH=W(at(),1);var cP={};function Fr(t,a){let r=a||cP,e=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return qw(t,e,i)}function qw(t,a,r){if(dP(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(a&&"alt"in t&&t.alt)return t.alt;if("children"in t)return Gw(t.children,a,r)}return Array.isArray(t)?Gw(t,a,r):""}function Gw(t,a,r){let e=[],i=-1;for(;++i<t.length;)e[i]=qw(t[i],a,r);return e.join("")}function dP(t){return!!(t&&typeof t=="object")}var $w=document.createElement("i");function Ni(t){let a="&"+t+";";$w.innerHTML=a;let r=$w.textContent;return r.charCodeAt(r.length-1)===59&&t!=="semi"||r===a?!1:r}function d1(t,a,r,e){let i=t.length,o=0,l;if(a<0?a=-a>i?0:i+a:a=a>i?i:a,r=r>0?r:0,e.length<1e4)l=Array.from(e),l.unshift(a,r),t.splice(...l);else for(r&&t.splice(a,r);o<e.length;)l=e.slice(o,o+1e4),l.unshift(a,0),t.splice(...l),o+=1e4,a+=1e4}function l2(t,a){return t.length>0?(d1(t,t.length,0,a),t):a}var Kw={}.hasOwnProperty;function Hc(t){let a={},r=-1;for(;++r<t.length;)sP(a,t[r]);return a}function sP(t,a){let r;for(r in a){let i=(Kw.call(t,r)?t[r]:void 0)||(t[r]={}),o=a[r],l;if(o)for(l in o){Kw.call(i,l)||(i[l]=[]);let n=o[l];pP(i[l],Array.isArray(n)?n:n?[n]:[])}}}function pP(t,a){let r=-1,e=[];for(;++r<a.length;)(a[r].add==="after"?t:e).push(a[r]);d1(t,0,0,e)}function Cc(t,a){let r=Number.parseInt(t,a);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCodePoint(r)}function K1(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var k1=Ya(/[A-Za-z]/),e1=Ya(/[\dA-Za-z]/),Yw=Ya(/[#-'*+\--9=?A-Z^-~]/);function Ir(t){return t!==null&&(t<32||t===127)}var Ul=Ya(/\d/),Xw=Ya(/[\dA-Fa-f]/),Qw=Ya(/[!-/:-@[-`{-~]/);function Y(t){return t!==null&&t<-2}function Mt(t){return t!==null&&(t<0||t===32)}function ht(t){return t===-2||t===-1||t===32}var Dr=Ya(/\p{P}|\p{S}/u),W0=Ya(/\s/);function Ya(t){return a;function a(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function $2(t){let a=[],r=-1,e=0,i=0;for(;++r<t.length;){let o=t.charCodeAt(r),l="";if(o===37&&e1(t.charCodeAt(r+1))&&e1(t.charCodeAt(r+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){let n=t.charCodeAt(r+1);o<56320&&n>56319&&n<57344?(l=String.fromCharCode(o,n),i=1):l="\uFFFD"}else l=String.fromCharCode(o);l&&(a.push(t.slice(e,r),encodeURIComponent(l)),e=r+i+1,l=""),i&&(r+=i,i=0)}return a.join("")+t.slice(e)}function ot(t,a,r,e){let i=e?e-1:Number.POSITIVE_INFINITY,o=0;return l;function l(h){return ht(h)?(t.enter(r),n(h)):a(h)}function n(h){return ht(h)&&o++<i?(t.consume(h),n):(t.exit(r),a(h))}}var Zw={tokenize:gP};function gP(t){let a=t.attempt(this.parser.constructs.contentInitial,e,i),r;return a;function e(n){if(n===null){t.consume(n);return}return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),ot(t,a,"linePrefix")}function i(n){return t.enter("paragraph"),o(n)}function o(n){let h=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=h),r=h,l(n)}function l(n){if(n===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(n);return}return Y(n)?(t.consume(n),t.exit("chunkText"),o):(t.consume(n),l)}}var tb={tokenize:vP},Jw={tokenize:uP};function vP(t){let a=this,r=[],e=0,i,o,l;return n;function n(m){if(e<r.length){let L=r[e];return a.containerState=L[1],t.attempt(L[0].continuation,h,c)(m)}return c(m)}function h(m){if(e++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,i&&M();let L=a.events.length,H=L,x;for(;H--;)if(a.events[H][0]==="exit"&&a.events[H][1].type==="chunkFlow"){x=a.events[H][1].end;break}v(e);let B=L;for(;B<a.events.length;)a.events[B][1].end={...x},B++;return d1(a.events,H+1,0,a.events.slice(L)),a.events.length=B,c(m)}return n(m)}function c(m){if(e===r.length){if(!i)return p(m);if(i.currentConstruct&&i.currentConstruct.concrete)return u(m);a.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return a.containerState={},t.check(Jw,d,s)(m)}function d(m){return i&&M(),v(e),p(m)}function s(m){return a.parser.lazy[a.now().line]=e!==r.length,l=a.now().offset,u(m)}function p(m){return a.containerState={},t.attempt(Jw,g,u)(m)}function g(m){return e++,r.push([a.currentConstruct,a.containerState]),p(m)}function u(m){if(m===null){i&&M(),v(0),t.consume(m);return}return i=i||a.parser.flow(a.now()),t.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),f(m)}function f(m){if(m===null){z(t.exit("chunkFlow"),!0),v(0),t.consume(m);return}return Y(m)?(t.consume(m),z(t.exit("chunkFlow")),e=0,a.interrupt=void 0,n):(t.consume(m),f)}function z(m,L){let H=a.sliceStream(m);if(L&&H.push(null),m.previous=o,o&&(o.next=m),o=m,i.defineSkip(m.start),i.write(H),a.parser.lazy[m.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<l&&(!i.events[x][1].end||i.events[x][1].end.offset>l))return;let B=a.events.length,C=B,S,k;for(;C--;)if(a.events[C][0]==="exit"&&a.events[C][1].type==="chunkFlow"){if(S){k=a.events[C][1].end;break}S=!0}for(v(e),x=B;x<a.events.length;)a.events[x][1].end={...k},x++;d1(a.events,C+1,0,a.events.slice(B)),a.events.length=x}}function v(m){let L=r.length;for(;L-- >m;){let H=r[L];a.containerState=H[1],H[0].exit.call(a,t)}r.length=m}function M(){i.write([null]),o=void 0,i=void 0,a.containerState._closeFlow=void 0}}function uP(t,a,r){return ot(t,t.attempt(this.parser.constructs.document,a,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function oa(t){if(t===null||Mt(t)||W0(t))return 1;if(Dr(t))return 2}function Xa(t,a,r){let e=[],i=-1;for(;++i<t.length;){let o=t[i].resolveAll;o&&!e.includes(o)&&(a=o(a,r),e.push(o))}return a}var Gl={name:"attention",resolveAll:MP,tokenize:fP};function MP(t,a){let r=-1,e,i,o,l,n,h,c,d;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(e=r;e--;)if(t[e][0]==="exit"&&t[e][1].type==="attentionSequence"&&t[e][1]._open&&a.sliceSerialize(t[e][1]).charCodeAt(0)===a.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[e][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[e][1].end.offset-t[e][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;h=t[e][1].end.offset-t[e][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;let s={...t[e][1].end},p={...t[r][1].start};ab(s,-h),ab(p,h),l={type:h>1?"strongSequence":"emphasisSequence",start:s,end:{...t[e][1].end}},n={type:h>1?"strongSequence":"emphasisSequence",start:{...t[r][1].start},end:p},o={type:h>1?"strongText":"emphasisText",start:{...t[e][1].end},end:{...t[r][1].start}},i={type:h>1?"strong":"emphasis",start:{...l.start},end:{...n.end}},t[e][1].end={...l.start},t[r][1].start={...n.end},c=[],t[e][1].end.offset-t[e][1].start.offset&&(c=l2(c,[["enter",t[e][1],a],["exit",t[e][1],a]])),c=l2(c,[["enter",i,a],["enter",l,a],["exit",l,a],["enter",o,a]]),c=l2(c,Xa(a.parser.constructs.insideSpan.null,t.slice(e+1,r),a)),c=l2(c,[["exit",o,a],["enter",n,a],["exit",n,a],["exit",i,a]]),t[r][1].end.offset-t[r][1].start.offset?(d=2,c=l2(c,[["enter",t[r][1],a],["exit",t[r][1],a]])):d=0,d1(t,e-1,r-e+3,c),r=e+c.length-d-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function fP(t,a){let r=this.parser.constructs.attentionMarkers.null,e=this.previous,i=oa(e),o;return l;function l(h){return o=h,t.enter("attentionSequence"),n(h)}function n(h){if(h===o)return t.consume(h),n;let c=t.exit("attentionSequence"),d=oa(h),s=!d||d===2&&i||r.includes(h),p=!i||i===2&&d||r.includes(e);return c._open=!!(o===42?s:s&&(i||!p)),c._close=!!(o===42?p:p&&(d||!s)),a(h)}}function ab(t,a){t.column+=a,t.offset+=a,t._bufferIndex+=a}var g7={name:"autolink",tokenize:mP};function mP(t,a,r){let e=0;return i;function i(g){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(g),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o}function o(g){return k1(g)?(t.consume(g),l):g===64?r(g):c(g)}function l(g){return g===43||g===45||g===46||e1(g)?(e=1,n(g)):c(g)}function n(g){return g===58?(t.consume(g),e=0,h):(g===43||g===45||g===46||e1(g))&&e++<32?(t.consume(g),n):(e=0,c(g))}function h(g){return g===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(g),t.exit("autolinkMarker"),t.exit("autolink"),a):g===null||g===32||g===60||Ir(g)?r(g):(t.consume(g),h)}function c(g){return g===64?(t.consume(g),d):Yw(g)?(t.consume(g),c):r(g)}function d(g){return e1(g)?s(g):r(g)}function s(g){return g===46?(t.consume(g),e=0,d):g===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(g),t.exit("autolinkMarker"),t.exit("autolink"),a):p(g)}function p(g){if((g===45||e1(g))&&e++<63){let u=g===45?p:s;return t.consume(g),u}return r(g)}}var j0={partial:!0,tokenize:xP};function xP(t,a,r){return e;function e(o){return ht(o)?ot(t,i,"linePrefix")(o):i(o)}function i(o){return o===null||Y(o)?a(o):r(o)}}var Bc={continuation:{tokenize:kP},exit:LP,name:"blockQuote",tokenize:zP};function zP(t,a,r){let e=this;return i;function i(l){if(l===62){let n=e.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),o}return r(l)}function o(l){return ht(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),a):(t.exit("blockQuotePrefix"),a(l))}}function kP(t,a,r){let e=this;return i;function i(l){return ht(l)?ot(t,o,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return t.attempt(Bc,a,r)(l)}}function LP(t){t.exit("blockQuote")}var Vc={name:"characterEscape",tokenize:wP};function wP(t,a,r){return e;function e(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),i}function i(o){return Qw(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),a):r(o)}}var Tc={name:"characterReference",tokenize:bP};function bP(t,a,r){let e=this,i=0,o,l;return n;function n(s){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),h}function h(s){return s===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(s),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),o=31,l=e1,d(s))}function c(s){return s===88||s===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(s),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,l=Xw,d):(t.enter("characterReferenceValue"),o=7,l=Ul,d(s))}function d(s){if(s===59&&i){let p=t.exit("characterReferenceValue");return l===e1&&!Ni(e.sliceSerialize(p))?r(s):(t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),t.exit("characterReference"),a)}return l(s)&&i++<o?(t.consume(s),d):r(s)}}var rb={partial:!0,tokenize:CP},yc={concrete:!0,name:"codeFenced",tokenize:HP};function HP(t,a,r){let e=this,i={partial:!0,tokenize:H},o=0,l=0,n;return h;function h(x){return c(x)}function c(x){let B=e.events[e.events.length-1];return o=B&&B[1].type==="linePrefix"?B[2].sliceSerialize(B[1],!0).length:0,n=x,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),d(x)}function d(x){return x===n?(l++,t.consume(x),d):l<3?r(x):(t.exit("codeFencedFenceSequence"),ht(x)?ot(t,s,"whitespace")(x):s(x))}function s(x){return x===null||Y(x)?(t.exit("codeFencedFence"),e.interrupt?a(x):t.check(rb,f,L)(x)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===null||Y(x)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),s(x)):ht(x)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),ot(t,g,"whitespace")(x)):x===96&&x===n?r(x):(t.consume(x),p)}function g(x){return x===null||Y(x)?s(x):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),u(x))}function u(x){return x===null||Y(x)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),s(x)):x===96&&x===n?r(x):(t.consume(x),u)}function f(x){return t.attempt(i,L,z)(x)}function z(x){return t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),v}function v(x){return o>0&&ht(x)?ot(t,M,"linePrefix",o+1)(x):M(x)}function M(x){return x===null||Y(x)?t.check(rb,f,L)(x):(t.enter("codeFlowValue"),m(x))}function m(x){return x===null||Y(x)?(t.exit("codeFlowValue"),M(x)):(t.consume(x),m)}function L(x){return t.exit("codeFenced"),a(x)}function H(x,B,C){let S=0;return k;function k(E){return x.enter("lineEnding"),x.consume(E),x.exit("lineEnding"),P}function P(E){return x.enter("codeFencedFence"),ht(E)?ot(x,j,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):j(E)}function j(E){return E===n?(x.enter("codeFencedFenceSequence"),V(E)):C(E)}function V(E){return E===n?(S++,x.consume(E),V):S>=l?(x.exit("codeFencedFenceSequence"),ht(E)?ot(x,A,"whitespace")(E):A(E)):C(E)}function A(E){return E===null||Y(E)?(x.exit("codeFencedFence"),B(E)):C(E)}}}function CP(t,a,r){let e=this;return i;function i(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),o)}function o(l){return e.parser.lazy[e.now().line]?r(l):a(l)}}var ql={name:"codeIndented",tokenize:VP},BP={partial:!0,tokenize:TP};function VP(t,a,r){let e=this;return i;function i(c){return t.enter("codeIndented"),ot(t,o,"linePrefix",5)(c)}function o(c){let d=e.events[e.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?l(c):r(c)}function l(c){return c===null?h(c):Y(c)?t.attempt(BP,l,h)(c):(t.enter("codeFlowValue"),n(c))}function n(c){return c===null||Y(c)?(t.exit("codeFlowValue"),l(c)):(t.consume(c),n)}function h(c){return t.exit("codeIndented"),a(c)}}function TP(t,a,r){let e=this;return i;function i(l){return e.parser.lazy[e.now().line]?r(l):Y(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),i):ot(t,o,"linePrefix",5)(l)}function o(l){let n=e.events[e.events.length-1];return n&&n[1].type==="linePrefix"&&n[2].sliceSerialize(n[1],!0).length>=4?a(l):Y(l)?i(l):r(l)}}var v7={name:"codeText",previous:SP,resolve:yP,tokenize:WP};function yP(t){let a=t.length-4,r=3,e,i;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[a][1].type==="lineEnding"||t[a][1].type==="space")){for(e=r;++e<a;)if(t[e][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[a][1].type="codeTextPadding",r+=2,a-=2;break}}for(e=r-1,a++;++e<=a;)i===void 0?e!==a&&t[e][1].type!=="lineEnding"&&(i=e):(e===a||t[e][1].type==="lineEnding")&&(t[i][1].type="codeTextData",e!==i+2&&(t[i][1].end=t[e-1][1].end,t.splice(i+2,e-i-2),a-=e-i-2,e=i+2),i=void 0);return t}function SP(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function WP(t,a,r){let e=this,i=0,o,l;return n;function n(p){return t.enter("codeText"),t.enter("codeTextSequence"),h(p)}function h(p){return p===96?(t.consume(p),i++,h):(t.exit("codeTextSequence"),c(p))}function c(p){return p===null?r(p):p===32?(t.enter("space"),t.consume(p),t.exit("space"),c):p===96?(l=t.enter("codeTextSequence"),o=0,s(p)):Y(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),c):(t.enter("codeTextData"),d(p))}function d(p){return p===null||p===32||p===96||Y(p)?(t.exit("codeTextData"),c(p)):(t.consume(p),d)}function s(p){return p===96?(t.consume(p),o++,s):o===i?(t.exit("codeTextSequence"),t.exit("codeText"),a(p)):(l.type="codeTextData",d(p))}}var Sc=class{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,r){let e=r??Number.POSITIVE_INFINITY;return e<this.left.length?this.left.slice(a,e):a>this.left.length?this.right.slice(this.right.length-e+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-e+this.left.length).reverse())}splice(a,r,e){let i=r||0;this.setCursor(Math.trunc(a));let o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return e&&$l(this.left,e),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),$l(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),$l(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){let r=this.left.splice(a,Number.POSITIVE_INFINITY);$l(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);$l(this.left,r.reverse())}}};function $l(t,a){let r=0;if(a.length<1e4)t.push(...a);else for(;r<a.length;)t.push(...a.slice(r,r+1e4)),r+=1e4}function Wc(t){let a={},r=-1,e,i,o,l,n,h,c,d=new Sc(t);for(;++r<d.length;){for(;r in a;)r=a[r];if(e=d.get(r),r&&e[1].type==="chunkFlow"&&d.get(r-1)[1].type==="listItemPrefix"&&(h=e[1]._tokenizer.events,o=0,o<h.length&&h[o][1].type==="lineEndingBlank"&&(o+=2),o<h.length&&h[o][1].type==="content"))for(;++o<h.length&&h[o][1].type!=="content";)h[o][1].type==="chunkText"&&(h[o][1]._isInFirstContentOfListItem=!0,o++);if(e[0]==="enter")e[1].contentType&&(Object.assign(a,jP(d,r)),r=a[r],c=!0);else if(e[1]._container){for(o=r,i=void 0;o--;)if(l=d.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(e[1].end={...d.get(i)[1].start},n=d.slice(i,r),n.unshift(e),d.splice(i,r-i+1,n))}}return d1(t,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function jP(t,a){let r=t.get(a)[1],e=t.get(a)[2],i=a-1,o=[],l=r._tokenizer;l||(l=e.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let n=l.events,h=[],c={},d,s,p=-1,g=r,u=0,f=0,z=[f];for(;g;){for(;t.get(++i)[1]!==g;);o.push(i),g._tokenizer||(d=e.sliceStream(g),g.next||d.push(null),s&&l.defineSkip(g.start),g._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(d),g._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),s=g,g=g.next}for(g=r;++p<n.length;)n[p][0]==="exit"&&n[p-1][0]==="enter"&&n[p][1].type===n[p-1][1].type&&n[p][1].start.line!==n[p][1].end.line&&(f=p+1,z.push(f),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(l.events=[],g?(g._tokenizer=void 0,g.previous=void 0):z.pop(),p=z.length;p--;){let v=n.slice(z[p],z[p+1]),M=o.pop();h.push([M,M+v.length-1]),t.splice(M,2,v)}for(h.reverse(),p=-1;++p<h.length;)c[u+h[p][0]]=u+h[p][1],u+=h[p][1]-h[p][0]-1;return c}var u7={resolve:AP,tokenize:PP},OP={partial:!0,tokenize:EP};function AP(t){return Wc(t),t}function PP(t,a){let r;return e;function e(n){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),i(n)}function i(n){return n===null?o(n):Y(n)?t.check(OP,l,o)(n):(t.consume(n),i)}function o(n){return t.exit("chunkContent"),t.exit("content"),a(n)}function l(n){return t.consume(n),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function EP(t,a,r){let e=this;return i;function i(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),ot(t,o,"linePrefix")}function o(l){if(l===null||Y(l))return r(l);let n=e.events[e.events.length-1];return!e.parser.constructs.disable.null.includes("codeIndented")&&n&&n[1].type==="linePrefix"&&n[2].sliceSerialize(n[1],!0).length>=4?a(l):t.interrupt(e.parser.constructs.flow,r,a)(l)}}function jc(t,a,r,e,i,o,l,n,h){let c=h||Number.POSITIVE_INFINITY,d=0;return s;function s(v){return v===60?(t.enter(e),t.enter(i),t.enter(o),t.consume(v),t.exit(o),p):v===null||v===32||v===41||Ir(v)?r(v):(t.enter(e),t.enter(l),t.enter(n),t.enter("chunkString",{contentType:"string"}),f(v))}function p(v){return v===62?(t.enter(o),t.consume(v),t.exit(o),t.exit(i),t.exit(e),a):(t.enter(n),t.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===62?(t.exit("chunkString"),t.exit(n),p(v)):v===null||v===60||Y(v)?r(v):(t.consume(v),v===92?u:g)}function u(v){return v===60||v===62||v===92?(t.consume(v),g):g(v)}function f(v){return!d&&(v===null||v===41||Mt(v))?(t.exit("chunkString"),t.exit(n),t.exit(l),t.exit(e),a(v)):d<c&&v===40?(t.consume(v),d++,f):v===41?(t.consume(v),d--,f):v===null||v===32||v===40||Ir(v)?r(v):(t.consume(v),v===92?z:f)}function z(v){return v===40||v===41||v===92?(t.consume(v),f):f(v)}}function Oc(t,a,r,e,i,o){let l=this,n=0,h;return c;function c(g){return t.enter(e),t.enter(i),t.consume(g),t.exit(i),t.enter(o),d}function d(g){return n>999||g===null||g===91||g===93&&!h||g===94&&!n&&"_hiddenFootnoteSupport"in l.parser.constructs?r(g):g===93?(t.exit(o),t.enter(i),t.consume(g),t.exit(i),t.exit(e),a):Y(g)?(t.enter("lineEnding"),t.consume(g),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),s(g))}function s(g){return g===null||g===91||g===93||Y(g)||n++>999?(t.exit("chunkString"),d(g)):(t.consume(g),h||(h=!ht(g)),g===92?p:s)}function p(g){return g===91||g===92||g===93?(t.consume(g),n++,s):s(g)}}function Ac(t,a,r,e,i,o){let l;return n;function n(p){return p===34||p===39||p===40?(t.enter(e),t.enter(i),t.consume(p),t.exit(i),l=p===40?41:p,h):r(p)}function h(p){return p===l?(t.enter(i),t.consume(p),t.exit(i),t.exit(e),a):(t.enter(o),c(p))}function c(p){return p===l?(t.exit(o),h(l)):p===null?r(p):Y(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),ot(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===l||p===null||Y(p)?(t.exit("chunkString"),c(p)):(t.consume(p),p===92?s:d)}function s(p){return p===l||p===92?(t.consume(p),d):d(p)}}function Nr(t,a){let r;return e;function e(i){return Y(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),r=!0,e):ht(i)?ot(t,e,r?"linePrefix":"lineSuffix")(i):a(i)}}var M7={name:"definition",tokenize:_P},RP={partial:!0,tokenize:FP};function _P(t,a,r){let e=this,i;return o;function o(g){return t.enter("definition"),l(g)}function l(g){return Oc.call(e,t,n,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function n(g){return i=K1(e.sliceSerialize(e.events[e.events.length-1][1]).slice(1,-1)),g===58?(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),h):r(g)}function h(g){return Mt(g)?Nr(t,c)(g):c(g)}function c(g){return jc(t,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function d(g){return t.attempt(RP,s,s)(g)}function s(g){return ht(g)?ot(t,p,"whitespace")(g):p(g)}function p(g){return g===null||Y(g)?(t.exit("definition"),e.parser.defined.push(i),a(g)):r(g)}}function FP(t,a,r){return e;function e(n){return Mt(n)?Nr(t,i)(n):r(n)}function i(n){return Ac(t,o,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function o(n){return ht(n)?ot(t,l,"whitespace")(n):l(n)}function l(n){return n===null||Y(n)?a(n):r(n)}}var f7={name:"hardBreakEscape",tokenize:IP};function IP(t,a,r){return e;function e(o){return t.enter("hardBreakEscape"),t.consume(o),i}function i(o){return Y(o)?(t.exit("hardBreakEscape"),a(o)):r(o)}}var m7={name:"headingAtx",resolve:DP,tokenize:NP};function DP(t,a){let r=t.length-2,e=3,i,o;return t[e][1].type==="whitespace"&&(e+=2),r-2>e&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(e===r-1||r-4>e&&t[r-2][1].type==="whitespace")&&(r-=e+1===r?2:4),r>e&&(i={type:"atxHeadingText",start:t[e][1].start,end:t[r][1].end},o={type:"chunkText",start:t[e][1].start,end:t[r][1].end,contentType:"text"},d1(t,e,r-e+1,[["enter",i,a],["enter",o,a],["exit",o,a],["exit",i,a]])),t}function NP(t,a,r){let e=0;return i;function i(d){return t.enter("atxHeading"),o(d)}function o(d){return t.enter("atxHeadingSequence"),l(d)}function l(d){return d===35&&e++<6?(t.consume(d),l):d===null||Mt(d)?(t.exit("atxHeadingSequence"),n(d)):r(d)}function n(d){return d===35?(t.enter("atxHeadingSequence"),h(d)):d===null||Y(d)?(t.exit("atxHeading"),a(d)):ht(d)?ot(t,n,"whitespace")(d):(t.enter("atxHeadingText"),c(d))}function h(d){return d===35?(t.consume(d),h):(t.exit("atxHeadingSequence"),n(d))}function c(d){return d===null||d===35||Mt(d)?(t.exit("atxHeadingText"),n(d)):(t.consume(d),c)}}var eb=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],x7=["pre","script","style","textarea"];var z7={concrete:!0,name:"htmlFlow",resolveTo:qP,tokenize:$P},UP={partial:!0,tokenize:YP},GP={partial:!0,tokenize:KP};function qP(t){let a=t.length;for(;a--&&!(t[a][0]==="enter"&&t[a][1].type==="htmlFlow"););return a>1&&t[a-2][1].type==="linePrefix"&&(t[a][1].start=t[a-2][1].start,t[a+1][1].start=t[a-2][1].start,t.splice(a-2,2)),t}function $P(t,a,r){let e=this,i,o,l,n,h;return c;function c(w){return d(w)}function d(w){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(w),s}function s(w){return w===33?(t.consume(w),p):w===47?(t.consume(w),o=!0,f):w===63?(t.consume(w),i=3,e.interrupt?a:b):k1(w)?(t.consume(w),l=String.fromCharCode(w),z):r(w)}function p(w){return w===45?(t.consume(w),i=2,g):w===91?(t.consume(w),i=5,n=0,u):k1(w)?(t.consume(w),i=4,e.interrupt?a:b):r(w)}function g(w){return w===45?(t.consume(w),e.interrupt?a:b):r(w)}function u(w){let it="CDATA[";return w===it.charCodeAt(n++)?(t.consume(w),n===it.length?e.interrupt?a:j:u):r(w)}function f(w){return k1(w)?(t.consume(w),l=String.fromCharCode(w),z):r(w)}function z(w){if(w===null||w===47||w===62||Mt(w)){let it=w===47,pt=l.toLowerCase();return!it&&!o&&x7.includes(pt)?(i=1,e.interrupt?a(w):j(w)):eb.includes(l.toLowerCase())?(i=6,it?(t.consume(w),v):e.interrupt?a(w):j(w)):(i=7,e.interrupt&&!e.parser.lazy[e.now().line]?r(w):o?M(w):m(w))}return w===45||e1(w)?(t.consume(w),l+=String.fromCharCode(w),z):r(w)}function v(w){return w===62?(t.consume(w),e.interrupt?a:j):r(w)}function M(w){return ht(w)?(t.consume(w),M):k(w)}function m(w){return w===47?(t.consume(w),k):w===58||w===95||k1(w)?(t.consume(w),L):ht(w)?(t.consume(w),m):k(w)}function L(w){return w===45||w===46||w===58||w===95||e1(w)?(t.consume(w),L):H(w)}function H(w){return w===61?(t.consume(w),x):ht(w)?(t.consume(w),H):m(w)}function x(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(t.consume(w),h=w,B):ht(w)?(t.consume(w),x):C(w)}function B(w){return w===h?(t.consume(w),h=null,S):w===null||Y(w)?r(w):(t.consume(w),B)}function C(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||Mt(w)?H(w):(t.consume(w),C)}function S(w){return w===47||w===62||ht(w)?m(w):r(w)}function k(w){return w===62?(t.consume(w),P):r(w)}function P(w){return w===null||Y(w)?j(w):ht(w)?(t.consume(w),P):r(w)}function j(w){return w===45&&i===2?(t.consume(w),y):w===60&&i===1?(t.consume(w),F):w===62&&i===4?(t.consume(w),st):w===63&&i===3?(t.consume(w),b):w===93&&i===5?(t.consume(w),X):Y(w)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(UP,vt,V)(w)):w===null||Y(w)?(t.exit("htmlFlowData"),V(w)):(t.consume(w),j)}function V(w){return t.check(GP,A,vt)(w)}function A(w){return t.enter("lineEnding"),t.consume(w),t.exit("lineEnding"),E}function E(w){return w===null||Y(w)?V(w):(t.enter("htmlFlowData"),j(w))}function y(w){return w===45?(t.consume(w),b):j(w)}function F(w){return w===47?(t.consume(w),l="",N):j(w)}function N(w){if(w===62){let it=l.toLowerCase();return x7.includes(it)?(t.consume(w),st):j(w)}return k1(w)&&l.length<8?(t.consume(w),l+=String.fromCharCode(w),N):j(w)}function X(w){return w===93?(t.consume(w),b):j(w)}function b(w){return w===62?(t.consume(w),st):w===45&&i===2?(t.consume(w),b):j(w)}function st(w){return w===null||Y(w)?(t.exit("htmlFlowData"),vt(w)):(t.consume(w),st)}function vt(w){return t.exit("htmlFlow"),a(w)}}function KP(t,a,r){let e=this;return i;function i(l){return Y(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),o):r(l)}function o(l){return e.parser.lazy[e.now().line]?r(l):a(l)}}function YP(t,a,r){return e;function e(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(j0,a,r)}}var k7={name:"htmlText",tokenize:XP};function XP(t,a,r){let e=this,i,o,l;return n;function n(b){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(b),h}function h(b){return b===33?(t.consume(b),c):b===47?(t.consume(b),H):b===63?(t.consume(b),m):k1(b)?(t.consume(b),C):r(b)}function c(b){return b===45?(t.consume(b),d):b===91?(t.consume(b),o=0,u):k1(b)?(t.consume(b),M):r(b)}function d(b){return b===45?(t.consume(b),g):r(b)}function s(b){return b===null?r(b):b===45?(t.consume(b),p):Y(b)?(l=s,F(b)):(t.consume(b),s)}function p(b){return b===45?(t.consume(b),g):s(b)}function g(b){return b===62?y(b):b===45?p(b):s(b)}function u(b){let st="CDATA[";return b===st.charCodeAt(o++)?(t.consume(b),o===st.length?f:u):r(b)}function f(b){return b===null?r(b):b===93?(t.consume(b),z):Y(b)?(l=f,F(b)):(t.consume(b),f)}function z(b){return b===93?(t.consume(b),v):f(b)}function v(b){return b===62?y(b):b===93?(t.consume(b),v):f(b)}function M(b){return b===null||b===62?y(b):Y(b)?(l=M,F(b)):(t.consume(b),M)}function m(b){return b===null?r(b):b===63?(t.consume(b),L):Y(b)?(l=m,F(b)):(t.consume(b),m)}function L(b){return b===62?y(b):m(b)}function H(b){return k1(b)?(t.consume(b),x):r(b)}function x(b){return b===45||e1(b)?(t.consume(b),x):B(b)}function B(b){return Y(b)?(l=B,F(b)):ht(b)?(t.consume(b),B):y(b)}function C(b){return b===45||e1(b)?(t.consume(b),C):b===47||b===62||Mt(b)?S(b):r(b)}function S(b){return b===47?(t.consume(b),y):b===58||b===95||k1(b)?(t.consume(b),k):Y(b)?(l=S,F(b)):ht(b)?(t.consume(b),S):y(b)}function k(b){return b===45||b===46||b===58||b===95||e1(b)?(t.consume(b),k):P(b)}function P(b){return b===61?(t.consume(b),j):Y(b)?(l=P,F(b)):ht(b)?(t.consume(b),P):S(b)}function j(b){return b===null||b===60||b===61||b===62||b===96?r(b):b===34||b===39?(t.consume(b),i=b,V):Y(b)?(l=j,F(b)):ht(b)?(t.consume(b),j):(t.consume(b),A)}function V(b){return b===i?(t.consume(b),i=void 0,E):b===null?r(b):Y(b)?(l=V,F(b)):(t.consume(b),V)}function A(b){return b===null||b===34||b===39||b===60||b===61||b===96?r(b):b===47||b===62||Mt(b)?S(b):(t.consume(b),A)}function E(b){return b===47||b===62||Mt(b)?S(b):r(b)}function y(b){return b===62?(t.consume(b),t.exit("htmlTextData"),t.exit("htmlText"),a):r(b)}function F(b){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(b),t.exit("lineEnding"),N}function N(b){return ht(b)?ot(t,X,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):X(b)}function X(b){return t.enter("htmlTextData"),l(b)}}var Ur={name:"labelEnd",resolveAll:tE,resolveTo:aE,tokenize:rE},QP={tokenize:eE},ZP={tokenize:iE},JP={tokenize:oE};function tE(t){let a=-1,r=[];for(;++a<t.length;){let e=t[a][1];if(r.push(t[a]),e.type==="labelImage"||e.type==="labelLink"||e.type==="labelEnd"){let i=e.type==="labelImage"?4:2;e.type="data",a+=i}}return t.length!==r.length&&d1(t,0,t.length,r),t}function aE(t,a){let r=t.length,e=0,i,o,l,n;for(;r--;)if(i=t[r][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(t[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=r,i.type!=="labelLink")){e=2;break}}else i.type==="labelEnd"&&(l=r);let h={type:t[o][1].type==="labelLink"?"link":"image",start:{...t[o][1].start},end:{...t[t.length-1][1].end}},c={type:"label",start:{...t[o][1].start},end:{...t[l][1].end}},d={type:"labelText",start:{...t[o+e+2][1].end},end:{...t[l-2][1].start}};return n=[["enter",h,a],["enter",c,a]],n=l2(n,t.slice(o+1,o+e+3)),n=l2(n,[["enter",d,a]]),n=l2(n,Xa(a.parser.constructs.insideSpan.null,t.slice(o+e+4,l-3),a)),n=l2(n,[["exit",d,a],t[l-2],t[l-1],["exit",c,a]]),n=l2(n,t.slice(l+1)),n=l2(n,[["exit",h,a]]),d1(t,o,t.length,n),t}function rE(t,a,r){let e=this,i=e.events.length,o,l;for(;i--;)if((e.events[i][1].type==="labelImage"||e.events[i][1].type==="labelLink")&&!e.events[i][1]._balanced){o=e.events[i][1];break}return n;function n(p){return o?o._inactive?s(p):(l=e.parser.defined.includes(K1(e.sliceSerialize({start:o.end,end:e.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(p),t.exit("labelMarker"),t.exit("labelEnd"),h):r(p)}function h(p){return p===40?t.attempt(QP,d,l?d:s)(p):p===91?t.attempt(ZP,d,l?c:s)(p):l?d(p):s(p)}function c(p){return t.attempt(JP,d,s)(p)}function d(p){return a(p)}function s(p){return o._balanced=!0,r(p)}}function eE(t,a,r){return e;function e(s){return t.enter("resource"),t.enter("resourceMarker"),t.consume(s),t.exit("resourceMarker"),i}function i(s){return Mt(s)?Nr(t,o)(s):o(s)}function o(s){return s===41?d(s):jc(t,l,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(s)}function l(s){return Mt(s)?Nr(t,h)(s):d(s)}function n(s){return r(s)}function h(s){return s===34||s===39||s===40?Ac(t,c,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(s):d(s)}function c(s){return Mt(s)?Nr(t,d)(s):d(s)}function d(s){return s===41?(t.enter("resourceMarker"),t.consume(s),t.exit("resourceMarker"),t.exit("resource"),a):r(s)}}function iE(t,a,r){let e=this;return i;function i(n){return Oc.call(e,t,o,l,"reference","referenceMarker","referenceString")(n)}function o(n){return e.parser.defined.includes(K1(e.sliceSerialize(e.events[e.events.length-1][1]).slice(1,-1)))?a(n):r(n)}function l(n){return r(n)}}function oE(t,a,r){return e;function e(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),i}function i(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),a):r(o)}}var L7={name:"labelStartImage",resolveAll:Ur.resolveAll,tokenize:lE};function lE(t,a,r){let e=this;return i;function i(n){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(n),t.exit("labelImageMarker"),o}function o(n){return n===91?(t.enter("labelMarker"),t.consume(n),t.exit("labelMarker"),t.exit("labelImage"),l):r(n)}function l(n){return n===94&&"_hiddenFootnoteSupport"in e.parser.constructs?r(n):a(n)}}var w7={name:"labelStartLink",resolveAll:Ur.resolveAll,tokenize:nE};function nE(t,a,r){let e=this;return i;function i(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in e.parser.constructs?r(l):a(l)}}var Kl={name:"lineEnding",tokenize:hE};function hE(t,a){return r;function r(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),ot(t,a,"linePrefix")}}var Gr={name:"thematicBreak",tokenize:cE};function cE(t,a,r){let e=0,i;return o;function o(c){return t.enter("thematicBreak"),l(c)}function l(c){return i=c,n(c)}function n(c){return c===i?(t.enter("thematicBreakSequence"),h(c)):e>=3&&(c===null||Y(c))?(t.exit("thematicBreak"),a(c)):r(c)}function h(c){return c===i?(t.consume(c),e++,h):(t.exit("thematicBreakSequence"),ht(c)?ot(t,n,"whitespace")(c):n(c))}}var Y1={continuation:{tokenize:gE},exit:uE,name:"list",tokenize:pE},dE={partial:!0,tokenize:ME},sE={partial:!0,tokenize:vE};function pE(t,a,r){let e=this,i=e.events[e.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return n;function n(g){let u=e.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(u==="listUnordered"?!e.containerState.marker||g===e.containerState.marker:Ul(g)){if(e.containerState.type||(e.containerState.type=u,t.enter(u,{_container:!0})),u==="listUnordered")return t.enter("listItemPrefix"),g===42||g===45?t.check(Gr,r,c)(g):c(g);if(!e.interrupt||g===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),h(g)}return r(g)}function h(g){return Ul(g)&&++l<10?(t.consume(g),h):(!e.interrupt||l<2)&&(e.containerState.marker?g===e.containerState.marker:g===41||g===46)?(t.exit("listItemValue"),c(g)):r(g)}function c(g){return t.enter("listItemMarker"),t.consume(g),t.exit("listItemMarker"),e.containerState.marker=e.containerState.marker||g,t.check(j0,e.interrupt?r:d,t.attempt(dE,p,s))}function d(g){return e.containerState.initialBlankLine=!0,o++,p(g)}function s(g){return ht(g)?(t.enter("listItemPrefixWhitespace"),t.consume(g),t.exit("listItemPrefixWhitespace"),p):r(g)}function p(g){return e.containerState.size=o+e.sliceSerialize(t.exit("listItemPrefix"),!0).length,a(g)}}function gE(t,a,r){let e=this;return e.containerState._closeFlow=void 0,t.check(j0,i,o);function i(n){return e.containerState.furtherBlankLines=e.containerState.furtherBlankLines||e.containerState.initialBlankLine,ot(t,a,"listItemIndent",e.containerState.size+1)(n)}function o(n){return e.containerState.furtherBlankLines||!ht(n)?(e.containerState.furtherBlankLines=void 0,e.containerState.initialBlankLine=void 0,l(n)):(e.containerState.furtherBlankLines=void 0,e.containerState.initialBlankLine=void 0,t.attempt(sE,a,l)(n))}function l(n){return e.containerState._closeFlow=!0,e.interrupt=void 0,ot(t,t.attempt(Y1,a,r),"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n)}}function vE(t,a,r){let e=this;return ot(t,i,"listItemIndent",e.containerState.size+1);function i(o){let l=e.events[e.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===e.containerState.size?a(o):r(o)}}function uE(t){t.exit(this.containerState.type)}function ME(t,a,r){let e=this;return ot(t,i,"listItemPrefixWhitespace",e.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){let l=e.events[e.events.length-1];return!ht(o)&&l&&l[1].type==="listItemPrefixWhitespace"?a(o):r(o)}}var Pc={name:"setextUnderline",resolveTo:fE,tokenize:mE};function fE(t,a){let r=t.length,e,i,o;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){e=r;break}t[r][1].type==="paragraph"&&(i=r)}else t[r][1].type==="content"&&t.splice(r,1),!o&&t[r][1].type==="definition"&&(o=r);let l={type:"setextHeading",start:{...t[e][1].start},end:{...t[t.length-1][1].end}};return t[i][1].type="setextHeadingText",o?(t.splice(i,0,["enter",l,a]),t.splice(o+1,0,["exit",t[e][1],a]),t[e][1].end={...t[o][1].end}):t[e][1]=l,t.push(["exit",l,a]),t}function mE(t,a,r){let e=this,i;return o;function o(c){let d=e.events.length,s;for(;d--;)if(e.events[d][1].type!=="lineEnding"&&e.events[d][1].type!=="linePrefix"&&e.events[d][1].type!=="content"){s=e.events[d][1].type==="paragraph";break}return!e.parser.lazy[e.now().line]&&(e.interrupt||s)?(t.enter("setextHeadingLine"),i=c,l(c)):r(c)}function l(c){return t.enter("setextHeadingLineSequence"),n(c)}function n(c){return c===i?(t.consume(c),n):(t.exit("setextHeadingLineSequence"),ht(c)?ot(t,h,"lineSuffix")(c):h(c))}function h(c){return c===null||Y(c)?(t.exit("setextHeadingLine"),a(c)):r(c)}}var ib={tokenize:xE};function xE(t){let a=this,r=t.attempt(j0,e,t.attempt(this.parser.constructs.flowInitial,i,ot(t,t.attempt(this.parser.constructs.flow,i,t.attempt(u7,i)),"linePrefix")));return r;function e(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),a.currentConstruct=void 0,r}function i(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),a.currentConstruct=void 0,r}}var ob={resolveAll:cb()},lb=hb("string"),nb=hb("text");function hb(t){return{resolveAll:cb(t==="text"?zE:void 0),tokenize:a};function a(r){let e=this,i=this.parser.constructs[t],o=r.attempt(i,l,n);return l;function l(d){return c(d)?o(d):n(d)}function n(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),h}function h(d){return c(d)?(r.exit("data"),o(d)):(r.consume(d),h)}function c(d){if(d===null)return!0;let s=i[d],p=-1;if(s)for(;++p<s.length;){let g=s[p];if(!g.previous||g.previous.call(e,e.previous))return!0}return!1}}}function cb(t){return a;function a(r,e){let i=-1,o;for(;++i<=r.length;)o===void 0?r[i]&&r[i][1].type==="data"&&(o=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==o+2&&(r[o][1].end=r[i-1][1].end,r.splice(o+2,i-o-2),i=o+2),o=void 0);return t?t(r,e):r}}function zE(t,a){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){let e=t[r-1][1],i=a.sliceStream(e),o=i.length,l=-1,n=0,h;for(;o--;){let c=i[o];if(typeof c=="string"){for(l=c.length;c.charCodeAt(l-1)===32;)n++,l--;if(l)break;l=-1}else if(c===-2)h=!0,n++;else if(c!==-1){o++;break}}if(a._contentTypeTextTrailing&&r===t.length&&(n=0),n){let c={type:r===t.length||h||n<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:e.start._bufferIndex+l,_index:e.start._index+o,line:e.end.line,column:e.end.column-n,offset:e.end.offset-n},end:{...e.end}};e.end={...c.start},e.start.offset===e.end.offset?Object.assign(e,c):(t.splice(r,0,["enter",c,a],["exit",c,a]),r+=2)}r++}return t}var b7={};hn(b7,{attentionMarkers:()=>VE,contentInitial:()=>LE,disable:()=>TE,document:()=>kE,flow:()=>bE,flowInitial:()=>wE,insideSpan:()=>BE,string:()=>HE,text:()=>CE});var kE={42:Y1,43:Y1,45:Y1,48:Y1,49:Y1,50:Y1,51:Y1,52:Y1,53:Y1,54:Y1,55:Y1,56:Y1,57:Y1,62:Bc},LE={91:M7},wE={[-2]:ql,[-1]:ql,32:ql},bE={35:m7,42:Gr,45:[Pc,Gr],60:z7,61:Pc,95:Gr,96:yc,126:yc},HE={38:Tc,92:Vc},CE={[-5]:Kl,[-4]:Kl,[-3]:Kl,33:L7,38:Tc,42:Gl,60:[g7,k7],91:w7,92:[f7,Vc],93:Ur,95:Gl,96:v7},BE={null:[Gl,ob]},VE={null:[42,95]},TE={null:[]};function db(t,a,r){let e={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},o=[],l=[],n=[],h=!0,c={attempt:S(B),check:S(C),consume:L,enter:H,exit:x,interrupt:S(C,{interrupt:!0})},d={code:null,containerState:{},defineSkip:v,events:[],now:z,parser:t,previous:null,sliceSerialize:u,sliceStream:f,write:g},s=a.tokenize.call(d,c),p;return a.resolveAll&&o.push(a),d;function g(V){return l=l2(l,V),M(),l[l.length-1]!==null?[]:(k(a,0),d.events=Xa(o,d.events,d),d.events)}function u(V,A){return SE(f(V),A)}function f(V){return yE(l,V)}function z(){let{_bufferIndex:V,_index:A,line:E,column:y,offset:F}=e;return{_bufferIndex:V,_index:A,line:E,column:y,offset:F}}function v(V){i[V.line]=V.column,j()}function M(){let V;for(;e._index<l.length;){let A=l[e._index];if(typeof A=="string")for(V=e._index,e._bufferIndex<0&&(e._bufferIndex=0);e._index===V&&e._bufferIndex<A.length;)m(A.charCodeAt(e._bufferIndex));else m(A)}}function m(V){h=void 0,p=V,s=s(V)}function L(V){Y(V)?(e.line++,e.column=1,e.offset+=V===-3?2:1,j()):V!==-1&&(e.column++,e.offset++),e._bufferIndex<0?e._index++:(e._bufferIndex++,e._bufferIndex===l[e._index].length&&(e._bufferIndex=-1,e._index++)),d.previous=V,h=!0}function H(V,A){let E=A||{};return E.type=V,E.start=z(),d.events.push(["enter",E,d]),n.push(E),E}function x(V){let A=n.pop();return A.end=z(),d.events.push(["exit",A,d]),A}function B(V,A){k(V,A.from)}function C(V,A){A.restore()}function S(V,A){return E;function E(y,F,N){let X,b,st,vt;return Array.isArray(y)?it(y):"tokenize"in y?it([y]):w(y);function w(_){return D;function D(lt){let dt=lt!==null&&_[lt],xt=lt!==null&&_.null,yt=[...Array.isArray(dt)?dt:dt?[dt]:[],...Array.isArray(xt)?xt:xt?[xt]:[]];return it(yt)(lt)}}function it(_){return X=_,b=0,_.length===0?N:pt(_[b])}function pt(_){return D;function D(lt){return vt=P(),st=_,_.partial||(d.currentConstruct=_),_.name&&d.parser.constructs.disable.null.includes(_.name)?w1(lt):_.tokenize.call(A?Object.assign(Object.create(d),A):d,c,Kt,w1)(lt)}}function Kt(_){return h=!0,V(st,vt),F}function w1(_){return h=!0,vt.restore(),++b<X.length?pt(X[b]):N}}}function k(V,A){V.resolveAll&&!o.includes(V)&&o.push(V),V.resolve&&d1(d.events,A,d.events.length-A,V.resolve(d.events.slice(A),d)),V.resolveTo&&(d.events=V.resolveTo(d.events,d))}function P(){let V=z(),A=d.previous,E=d.currentConstruct,y=d.events.length,F=Array.from(n);return{from:y,restore:N};function N(){e=V,d.previous=A,d.currentConstruct=E,d.events.length=y,n=F,j()}}function j(){e.line in i&&e.column<2&&(e.column=i[e.line],e.offset+=i[e.line]-1)}}function yE(t,a){let r=a.start._index,e=a.start._bufferIndex,i=a.end._index,o=a.end._bufferIndex,l;if(r===i)l=[t[r].slice(e,o)];else{if(l=t.slice(r,i),e>-1){let n=l[0];typeof n=="string"?l[0]=n.slice(e):l.shift()}o>0&&l.push(t[i].slice(0,o))}return l}function SE(t,a){let r=-1,e=[],i;for(;++r<t.length;){let o=t[r],l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
|
|
14
14
|
`;break}case-3:{l=`\r
|
|
15
15
|
`;break}case-2:{l=a?" ":" ";break}case-1:{if(!a&&i)continue;l=" ";break}default:l=String.fromCharCode(o)}i=o===-2,e.push(l)}return e.join("")}function H7(t){let e={constructs:Hc([b7,...(t||{}).extensions||[]]),content:i(Zw),defined:[],document:i(tb),flow:i(ib),lazy:{},string:i(lb),text:i(nb)};return e;function i(o){return l;function l(n){return db(e,o,n)}}}function C7(t){for(;!Wc(t););return t}var sb=/[\0\t\n\r]/g;function B7(){let t=1,a="",r=!0,e;return i;function i(o,l,n){let h=[],c,d,s,p,g;for(o=a+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),s=0,a="",r&&(o.charCodeAt(0)===65279&&s++,r=void 0);s<o.length;){if(sb.lastIndex=s,c=sb.exec(o),p=c&&c.index!==void 0?c.index:o.length,g=o.charCodeAt(p),!c){a=o.slice(s);break}if(g===10&&s===p&&e)h.push(-3),e=void 0;else switch(e&&(h.push(-5),e=void 0),s<p&&(h.push(o.slice(s,p)),t+=p-s),g){case 0:{h.push(65533),t++;break}case 9:{for(d=Math.ceil(t/4)*4,h.push(-2);t++<d;)h.push(-1);break}case 10:{h.push(-4),t=1;break}default:e=!0,t=1}s=p+1}return n&&(e&&h.push(-5),a&&h.push(a),h.push(null)),h}}var WE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function pb(t){return t.replace(WE,jE)}function jE(t,a,r){if(a)return a;if(r.charCodeAt(0)===35){let i=r.charCodeAt(1),o=i===120||i===88;return Cc(r.slice(o?2:1),o?16:10)}return Ni(r)||t}var vb={}.hasOwnProperty;function V7(t,a,r){return a&&typeof a=="object"&&(r=a,a=void 0),OE(r)(C7(H7(r).document().write(B7()(t,a,!0))))}function OE(t){let a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(g0),autolinkProtocol:S,autolinkEmail:S,atxHeading:o(Ft),blockQuote:o(lt),characterEscape:S,characterReference:S,codeFenced:o(dt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(dt,l),codeText:o(xt,l),codeTextData:S,data:S,codeFlowValue:S,definition:o(yt),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(M1),hardBreakEscape:o(zt),hardBreakTrailing:o(zt),htmlFlow:o(f2,l),htmlFlowData:S,htmlText:o(f2,l),htmlTextData:S,image:o(nt),label:l,link:o(g0),listItem:o(Vt),listItemValue:p,listOrdered:o(t1,s),listUnordered:o(t1),paragraph:o(E0),reference:w,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(Ft),strong:o(m2),thematicBreak:o(oo)},exit:{atxHeading:h(),atxHeadingSequence:H,autolink:h(),autolinkEmail:D,autolinkProtocol:_,blockQuote:h(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:pt,characterReferenceMarkerNumeric:pt,characterReferenceValue:Kt,characterReference:w1,codeFenced:h(z),codeFencedFence:f,codeFencedFenceInfo:g,codeFencedFenceMeta:u,codeFlowValue:k,codeIndented:h(v),codeText:h(E),codeTextData:k,data:k,definition:h(),definitionDestinationString:L,definitionLabelString:M,definitionTitleString:m,emphasis:h(),hardBreakEscape:h(j),hardBreakTrailing:h(j),htmlFlow:h(V),htmlFlowData:k,htmlText:h(A),htmlTextData:k,image:h(F),label:X,labelText:N,lineEnding:P,link:h(y),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:it,resourceDestinationString:b,resourceTitleString:st,resource:vt,setextHeading:h(C),setextHeadingLineSequence:B,setextHeadingText:x,strong:h(),thematicBreak:h()}};ub(a,(t||{}).mdastExtensions||[]);let r={};return e;function e(T){let O={type:"root",children:[]},$={stack:[O],tokenStack:[],config:a,enter:n,exit:c,buffer:l,resume:d,data:r},tt=[],gt=-1;for(;++gt<T.length;)if(T[gt][1].type==="listOrdered"||T[gt][1].type==="listUnordered")if(T[gt][0]==="enter")tt.push(gt);else{let o1=tt.pop();gt=i(T,o1,gt)}for(gt=-1;++gt<T.length;){let o1=a[T[gt][0]];vb.call(o1,T[gt][1].type)&&o1[T[gt][1].type].call(Object.assign({sliceSerialize:T[gt][2].sliceSerialize},$),T[gt][1])}if($.tokenStack.length>0){let o1=$.tokenStack[$.tokenStack.length-1];(o1[1]||gb).call($,void 0,o1[0])}for(O.position={start:Qa(T.length>0?T[0][1].start:{line:1,column:1,offset:0}),end:Qa(T.length>0?T[T.length-2][1].end:{line:1,column:1,offset:0})},gt=-1;++gt<a.transforms.length;)O=a.transforms[gt](O)||O;return O}function i(T,O,$){let tt=O-1,gt=-1,o1=!1,R0,Q2,lo,no;for(;++tt<=$;){let x2=T[tt];switch(x2[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{x2[0]==="enter"?gt++:gt--,no=void 0;break}case"lineEndingBlank":{x2[0]==="enter"&&(R0&&!no&&!gt&&!lo&&(lo=tt),no=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:no=void 0}if(!gt&&x2[0]==="enter"&&x2[1].type==="listItemPrefix"||gt===-1&&x2[0]==="exit"&&(x2[1].type==="listUnordered"||x2[1].type==="listOrdered")){if(R0){let te=tt;for(Q2=void 0;te--;){let _0=T[te];if(_0[1].type==="lineEnding"||_0[1].type==="lineEndingBlank"){if(_0[0]==="exit")continue;Q2&&(T[Q2][1].type="lineEndingBlank",o1=!0),_0[1].type="lineEnding",Q2=te}else if(!(_0[1].type==="linePrefix"||_0[1].type==="blockQuotePrefix"||_0[1].type==="blockQuotePrefixWhitespace"||_0[1].type==="blockQuoteMarker"||_0[1].type==="listItemIndent"))break}lo&&(!Q2||lo<Q2)&&(R0._spread=!0),R0.end=Object.assign({},Q2?T[Q2][1].start:x2[1].end),T.splice(Q2||tt,0,["exit",R0,x2[2]]),tt++,$++}if(x2[1].type==="listItemPrefix"){let te={type:"listItem",_spread:!1,start:Object.assign({},x2[1].start),end:void 0};R0=te,T.splice(tt,0,["enter",te,x2[2]]),tt++,$++,lo=void 0,no=!0}}}return T[O][1]._spread=o1,$}function o(T,O){return $;function $(tt){n.call(this,T(tt),tt),O&&O.call(this,tt)}}function l(){this.stack.push({type:"fragment",children:[]})}function n(T,O,$){this.stack[this.stack.length-1].children.push(T),this.stack.push(T),this.tokenStack.push([O,$||void 0]),T.position={start:Qa(O.start),end:void 0}}function h(T){return O;function O($){T&&T.call(this,$),c.call(this,$)}}function c(T,O){let $=this.stack.pop(),tt=this.tokenStack.pop();if(tt)tt[0].type!==T.type&&(O?O.call(this,T,tt[0]):(tt[1]||gb).call(this,T,tt[0]));else throw new Error("Cannot close `"+T.type+"` ("+Ka({start:T.start,end:T.end})+"): it\u2019s not open");$.position.end=Qa(T.end)}function d(){return Fr(this.stack.pop())}function s(){this.data.expectingFirstListItemValue=!0}function p(T){if(this.data.expectingFirstListItemValue){let O=this.stack[this.stack.length-2];O.start=Number.parseInt(this.sliceSerialize(T),10),this.data.expectingFirstListItemValue=void 0}}function g(){let T=this.resume(),O=this.stack[this.stack.length-1];O.lang=T}function u(){let T=this.resume(),O=this.stack[this.stack.length-1];O.meta=T}function f(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function z(){let T=this.resume(),O=this.stack[this.stack.length-1];O.value=T.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){let T=this.resume(),O=this.stack[this.stack.length-1];O.value=T.replace(/(\r?\n|\r)$/g,"")}function M(T){let O=this.resume(),$=this.stack[this.stack.length-1];$.label=O,$.identifier=K1(this.sliceSerialize(T)).toLowerCase()}function m(){let T=this.resume(),O=this.stack[this.stack.length-1];O.title=T}function L(){let T=this.resume(),O=this.stack[this.stack.length-1];O.url=T}function H(T){let O=this.stack[this.stack.length-1];if(!O.depth){let $=this.sliceSerialize(T).length;O.depth=$}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function B(T){let O=this.stack[this.stack.length-1];O.depth=this.sliceSerialize(T).codePointAt(0)===61?1:2}function C(){this.data.setextHeadingSlurpLineEnding=void 0}function S(T){let $=this.stack[this.stack.length-1].children,tt=$[$.length-1];(!tt||tt.type!=="text")&&(tt=io(),tt.position={start:Qa(T.start),end:void 0},$.push(tt)),this.stack.push(tt)}function k(T){let O=this.stack.pop();O.value+=this.sliceSerialize(T),O.position.end=Qa(T.end)}function P(T){let O=this.stack[this.stack.length-1];if(this.data.atHardBreak){let $=O.children[O.children.length-1];$.position.end=Qa(T.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(O.type)&&(S.call(this,T),k.call(this,T))}function j(){this.data.atHardBreak=!0}function V(){let T=this.resume(),O=this.stack[this.stack.length-1];O.value=T}function A(){let T=this.resume(),O=this.stack[this.stack.length-1];O.value=T}function E(){let T=this.resume(),O=this.stack[this.stack.length-1];O.value=T}function y(){let T=this.stack[this.stack.length-1];if(this.data.inReference){let O=this.data.referenceType||"shortcut";T.type+="Reference",T.referenceType=O,delete T.url,delete T.title}else delete T.identifier,delete T.label;this.data.referenceType=void 0}function F(){let T=this.stack[this.stack.length-1];if(this.data.inReference){let O=this.data.referenceType||"shortcut";T.type+="Reference",T.referenceType=O,delete T.url,delete T.title}else delete T.identifier,delete T.label;this.data.referenceType=void 0}function N(T){let O=this.sliceSerialize(T),$=this.stack[this.stack.length-2];$.label=pb(O),$.identifier=K1(O).toLowerCase()}function X(){let T=this.stack[this.stack.length-1],O=this.resume(),$=this.stack[this.stack.length-1];if(this.data.inReference=!0,$.type==="link"){let tt=T.children;$.children=tt}else $.alt=O}function b(){let T=this.resume(),O=this.stack[this.stack.length-1];O.url=T}function st(){let T=this.resume(),O=this.stack[this.stack.length-1];O.title=T}function vt(){this.data.inReference=void 0}function w(){this.data.referenceType="collapsed"}function it(T){let O=this.resume(),$=this.stack[this.stack.length-1];$.label=O,$.identifier=K1(this.sliceSerialize(T)).toLowerCase(),this.data.referenceType="full"}function pt(T){this.data.characterReferenceType=T.type}function Kt(T){let O=this.sliceSerialize(T),$=this.data.characterReferenceType,tt;$?(tt=Cc(O,$==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):tt=Ni(O);let gt=this.stack[this.stack.length-1];gt.value+=tt}function w1(T){let O=this.stack.pop();O.position.end=Qa(T.end)}function _(T){k.call(this,T);let O=this.stack[this.stack.length-1];O.url=this.sliceSerialize(T)}function D(T){k.call(this,T);let O=this.stack[this.stack.length-1];O.url="mailto:"+this.sliceSerialize(T)}function lt(){return{type:"blockquote",children:[]}}function dt(){return{type:"code",lang:null,meta:null,value:""}}function xt(){return{type:"inlineCode",value:""}}function yt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function M1(){return{type:"emphasis",children:[]}}function Ft(){return{type:"heading",depth:0,children:[]}}function zt(){return{type:"break"}}function f2(){return{type:"html",value:""}}function nt(){return{type:"image",title:null,url:"",alt:null}}function g0(){return{type:"link",title:null,url:"",children:[]}}function t1(T){return{type:"list",ordered:T.type==="listOrdered",start:null,spread:T._spread,children:[]}}function Vt(T){return{type:"listItem",spread:T._spread,checked:null,children:[]}}function E0(){return{type:"paragraph",children:[]}}function m2(){return{type:"strong",children:[]}}function io(){return{type:"text",value:""}}function oo(){return{type:"thematicBreak"}}}function Qa(t){return{line:t.line,column:t.column,offset:t.offset}}function ub(t,a){let r=-1;for(;++r<a.length;){let e=a[r];Array.isArray(e)?ub(t,e):AE(t,e)}}function AE(t,a){let r;for(r in a)if(vb.call(a,r))switch(r){case"canContainEols":{let e=a[r];e&&t[r].push(...e);break}case"transforms":{let e=a[r];e&&t[r].push(...e);break}case"enter":case"exit":{let e=a[r];e&&Object.assign(t[r],e);break}}}function gb(t,a){throw t?new Error("Cannot close `"+t.type+"` ("+Ka({start:t.start,end:t.end})+"): a different token (`"+a.type+"`, "+Ka({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+Ka({start:a.start,end:a.end})+") is still open")}function Ec(t){let a=this;a.parser=r;function r(e){return V7(e,{...a.data("settings"),...t,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function Mb(t,a){let r={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(a),!0)};return t.patch(a,r),t.applyData(a,r)}function fb(t,a){let r={type:"element",tagName:"br",properties:{},children:[]};return t.patch(a,r),[t.applyData(a,r),{type:"text",value:`
|
|
16
16
|
`}]}function mb(t,a){let r=a.value?a.value+`
|
|
@@ -41,9 +41,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`),b=y,X=F),N===void 0&&(
|
|
|
41
41
|
`))+1))}let l="#".repeat(i),n=r.enter("headingAtx"),h=r.enter("phrasing");o.move(l+" ");let c=r.containerPhrasing(t,{before:"# ",after:`
|
|
42
42
|
`,...o.current()});return/^[\t ]/.test(c)&&(c=Ja(c.charCodeAt(0))+c.slice(1)),c=c?l+" "+c:l,r.options.closeAtx&&(c+=" "+l),h(),n(),c}Ls.peek=IF;function Ls(t){return t.value||""}function IF(){return"<"}ws.peek=DF;function ws(t,a,r,e){let i=Qi(r),o=i==='"'?"Quote":"Apostrophe",l=r.enter("image"),n=r.enter("label"),h=r.createTracker(e),c=h.move("![");return c+=h.move(r.safe(t.alt,{before:c,after:"]",...h.current()})),c+=h.move("]("),n(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(n=r.enter("destinationLiteral"),c+=h.move("<"),c+=h.move(r.safe(t.url,{before:c,after:">",...h.current()})),c+=h.move(">")):(n=r.enter("destinationRaw"),c+=h.move(r.safe(t.url,{before:c,after:t.title?" ":")",...h.current()}))),n(),t.title&&(n=r.enter(`title${o}`),c+=h.move(" "+i),c+=h.move(r.safe(t.title,{before:c,after:i,...h.current()})),c+=h.move(i),n()),c+=h.move(")"),l(),c}function DF(){return"!"}bs.peek=NF;function bs(t,a,r,e){let i=t.referenceType,o=r.enter("imageReference"),l=r.enter("label"),n=r.createTracker(e),h=n.move("!["),c=r.safe(t.alt,{before:h,after:"]",...n.current()});h+=n.move(c+"]["),l();let d=r.stack;r.stack=[],l=r.enter("reference");let s=r.safe(r.associationId(t),{before:h,after:"]",...n.current()});return l(),r.stack=d,o(),i==="full"||!c||c!==s?h+=n.move(s+"]"):i==="shortcut"?h=h.slice(0,-1):h+=n.move("]"),h}function NF(){return"!"}Hs.peek=UF;function Hs(t,a,r){let e=t.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(e);)i+="`";for(/[^ \r\n]/.test(e)&&(/^[ \r\n]/.test(e)&&/[ \r\n]$/.test(e)||/^`|`$/.test(e))&&(e=" "+e+" ");++o<r.unsafe.length;){let l=r.unsafe[o],n=r.compilePattern(l),h;if(l.atBreak)for(;h=n.exec(e);){let c=h.index;e.charCodeAt(c)===10&&e.charCodeAt(c-1)===13&&c--,e=e.slice(0,c)+" "+e.slice(h.index+1)}}return i+e+i}function UF(){return"`"}function Cs(t,a){let r=Fr(t);return!!(!a.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(r===t.url||"mailto:"+r===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}Bs.peek=GF;function Bs(t,a,r,e){let i=Qi(r),o=i==='"'?"Quote":"Apostrophe",l=r.createTracker(e),n,h;if(Cs(t,r)){let d=r.stack;r.stack=[],n=r.enter("autolink");let s=l.move("<");return s+=l.move(r.containerPhrasing(t,{before:s,after:">",...l.current()})),s+=l.move(">"),n(),r.stack=d,s}n=r.enter("link"),h=r.enter("label");let c=l.move("[");return c+=l.move(r.containerPhrasing(t,{before:c,after:"](",...l.current()})),c+=l.move("]("),h(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(h=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(h=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,{before:c,after:t.title?" ":")",...l.current()}))),h(),t.title&&(h=r.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(r.safe(t.title,{before:c,after:i,...l.current()})),c+=l.move(i),h()),c+=l.move(")"),n(),c}function GF(t,a,r){return Cs(t,r)?"<":"["}Vs.peek=qF;function Vs(t,a,r,e){let i=t.referenceType,o=r.enter("linkReference"),l=r.enter("label"),n=r.createTracker(e),h=n.move("["),c=r.containerPhrasing(t,{before:h,after:"]",...n.current()});h+=n.move(c+"]["),l();let d=r.stack;r.stack=[],l=r.enter("reference");let s=r.safe(r.associationId(t),{before:h,after:"]",...n.current()});return l(),r.stack=d,o(),i==="full"||!c||c!==s?h+=n.move(s+"]"):i==="shortcut"?h=h.slice(0,-1):h+=n.move("]"),h}function qF(){return"["}function Ji(t){let a=t.options.bullet||"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bullet`, expected `*`, `+`, or `-`");return a}function mB(t){let a=Ji(t),r=t.options.bulletOther;if(!r)return a==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===a)throw new Error("Expected `bullet` (`"+a+"`) and `bulletOther` (`"+r+"`) to be different");return r}function xB(t){let a=t.options.bulletOrdered||".";if(a!=="."&&a!==")")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOrdered`, expected `.` or `)`");return a}function c5(t){let a=t.options.rule||"*";if(a!=="*"&&a!=="-"&&a!=="_")throw new Error("Cannot serialize rules with `"+a+"` for `options.rule`, expected `*`, `-`, or `_`");return a}function zB(t,a,r,e){let i=r.enter("list"),o=r.bulletCurrent,l=t.ordered?xB(r):Ji(r),n=t.ordered?l==="."?")":".":mB(r),h=a&&r.bulletLastUsed?l===r.bulletLastUsed:!1;if(!t.ordered){let d=t.children?t.children[0]:void 0;if((l==="*"||l==="-")&&d&&(!d.children||!d.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(h=!0),c5(r)===l&&d){let s=-1;for(;++s<t.children.length;){let p=t.children[s];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){h=!0;break}}}}h&&(l=n),r.bulletCurrent=l;let c=r.containerFlow(t,e);return r.bulletLastUsed=l,r.bulletCurrent=o,i(),c}function kB(t){let a=t.options.listItemIndent||"one";if(a!=="tab"&&a!=="one"&&a!=="mixed")throw new Error("Cannot serialize items with `"+a+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return a}function LB(t,a,r,e){let i=kB(r),o=r.bulletCurrent||Ji(r);a&&a.type==="list"&&a.ordered&&(o=(typeof a.start=="number"&&a.start>-1?a.start:1)+(r.options.incrementListMarker===!1?0:a.children.indexOf(t))+o);let l=o.length+1;(i==="tab"||i==="mixed"&&(a&&a.type==="list"&&a.spread||t.spread))&&(l=Math.ceil(l/4)*4);let n=r.createTracker(e);n.move(o+" ".repeat(l-o.length)),n.shift(l);let h=r.enter("listItem"),c=r.indentLines(r.containerFlow(t,n.current()),d);return h(),c;function d(s,p,g){return p?(g?"":" ".repeat(l))+s:(g?o:o+" ".repeat(l-o.length))+s}}function wB(t,a,r,e){let i=r.enter("paragraph"),o=r.enter("phrasing"),l=r.containerPhrasing(t,e);return o(),i(),l}var Ts=O0(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function bB(t,a,r,e){return(t.children.some(function(l){return Ts(l)})?r.containerPhrasing:r.containerFlow).call(r,t,e)}function HB(t){let a=t.options.strong||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize strong with `"+a+"` for `options.strong`, expected `*`, or `_`");return a}ys.peek=$F;function ys(t,a,r,e){let i=HB(r),o=r.enter("strong"),l=r.createTracker(e),n=l.move(i+i),h=l.move(r.containerPhrasing(t,{after:i,before:n,...l.current()})),c=h.charCodeAt(0),d=Zi(e.before.charCodeAt(e.before.length-1),c,i);d.inside&&(h=Ja(c)+h.slice(1));let s=h.charCodeAt(h.length-1),p=Zi(e.after.charCodeAt(0),s,i);p.inside&&(h=h.slice(0,-1)+Ja(s));let g=l.move(i+i);return o(),r.attentionEncodeSurroundingInfo={after:p.outside,before:d.outside},n+h+g}function $F(t,a,r){return r.options.strong||"*"}function CB(t,a,r,e){return r.safe(t.value,e)}function BB(t){let a=t.options.ruleRepetition||3;if(a<3)throw new Error("Cannot serialize rules with repetition `"+a+"` for `options.ruleRepetition`, expected `3` or more");return a}function VB(t,a,r){let e=(c5(r)+(r.options.ruleSpaces?" ":"")).repeat(BB(r));return r.options.ruleSpaces?e.slice(0,-1):e}var rn={blockquote:nB,break:zs,code:gB,definition:vB,emphasis:ks,hardBreak:zs,heading:fB,html:Ls,image:ws,imageReference:bs,inlineCode:Hs,link:Bs,linkReference:Vs,list:zB,listItem:LB,paragraph:wB,root:bB,strong:ys,text:CB,thematicBreak:VB};function Ws(){return{enter:{table:KF,tableData:TB,tableHeader:TB,tableRow:XF},exit:{codeText:QF,table:YF,tableData:Ss,tableHeader:Ss,tableRow:Ss}}}function KF(t){let a=t._align;this.enter({type:"table",align:a.map(function(r){return r==="none"?null:r}),children:[]},t),this.data.inTable=!0}function YF(t){this.exit(t),this.data.inTable=void 0}function XF(t){this.enter({type:"tableRow",children:[]},t)}function Ss(t){this.exit(t)}function TB(t){this.enter({type:"tableCell",children:[]},t)}function QF(t){let a=this.resume();this.data.inTable&&(a=a.replace(/\\([\\|])/g,ZF));let r=this.stack[this.stack.length-1];r.type,r.value=a,this.exit(t)}function ZF(t,a){return a==="|"?a:t}function js(t){let a=t||{},r=a.tableCellPadding,e=a.tablePipeAlign,i=a.stringLength,o=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
43
43
|
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:l,tableCell:h,tableRow:n}};function l(g,u,f,z){return c(d(g,f,z),g.align)}function n(g,u,f,z){let v=s(g,f,z),M=c([v]);return M.slice(0,M.indexOf(`
|
|
44
|
-
`))}function h(g,u,f,z){let v=f.enter("tableCell"),M=f.enter("phrasing"),m=f.containerPhrasing(g,{...z,before:o,after:o});return M(),v(),m}function c(g,u){return lB(g,{align:u,alignDelimiters:e,padding:r,stringLength:i})}function d(g,u,f){let z=g.children,v=-1,M=[],m=u.enter("table");for(;++v<z.length;)M[v]=s(z[v],u,f);return m(),M}function s(g,u,f){let z=g.children,v=-1,M=[],m=u.enter("tableRow");for(;++v<z.length;)M[v]=h(z[v],g,u,f);return m(),M}function p(g,u,f){let z=rn.inlineCode(g,u,f);return f.stack.includes("tableCell")&&(z=z.replace(/\|/g,"\\$&")),z}}function Os(){return{exit:{taskListCheckValueChecked:yB,taskListCheckValueUnchecked:yB,paragraph:JF}}}function As(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:tI}}}function yB(t){let a=this.stack[this.stack.length-2];a.type,a.checked=t.type==="taskListCheckValueChecked"}function JF(t){let a=this.stack[this.stack.length-2];if(a&&a.type==="listItem"&&typeof a.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let e=r.children[0];if(e&&e.type==="text"){let i=a.children,o=-1,l;for(;++o<i.length;){let n=i[o];if(n.type==="paragraph"){l=n;break}}l===r&&(e.value=e.value.slice(1),e.value.length===0?r.children.shift():r.position&&e.position&&typeof e.position.start.offset=="number"&&(e.position.start.column++,e.position.start.offset++,r.position.start=Object.assign({},e.position.start)))}}this.exit(t)}function tI(t,a,r,e){let i=t.children[0],o=typeof t.checked=="boolean"&&i&&i.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",n=r.createTracker(e);o&&n.move(l);let h=rn.listItem(t,a,r,{...e,...n.current()});return o&&(h=h.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),h;function c(d){return d+l}}function Ps(){return[vs(),Ms(),ms(),Ws(),Os()]}function Es(t){return{extensions:[us(),fs(t),xs(),js(t),As()]}}var aI={tokenize:lI,partial:!0},SB={tokenize:nI,partial:!0},WB={tokenize:hI,partial:!0},jB={tokenize:cI,partial:!0},rI={tokenize:dI,partial:!0},OB={name:"wwwAutolink",tokenize:iI,previous:PB},AB={name:"protocolAutolink",tokenize:oI,previous:EB},ha={name:"emailAutolink",tokenize:eI,previous:RB},P0={};function _s(){return{text:P0}}var Qr=48;for(;Qr<123;)P0[Qr]=ha,Qr++,Qr===58?Qr=65:Qr===91&&(Qr=97);P0[43]=ha;P0[45]=ha;P0[46]=ha;P0[95]=ha;P0[72]=[ha,AB];P0[104]=[ha,AB];P0[87]=[ha,OB];P0[119]=[ha,OB];function eI(t,a,r){let e=this,i,o;return l;function l(s){return!Rs(s)||!RB.call(e,e.previous)||Fs(e.events)?r(s):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),n(s))}function n(s){return Rs(s)?(t.consume(s),n):s===64?(t.consume(s),h):r(s)}function h(s){return s===46?t.check(rI,d,c)(s):s===45||s===95||e1(s)?(o=!0,t.consume(s),h):d(s)}function c(s){return t.consume(s),i=!0,h}function d(s){return o&&i&&k1(e.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),a(s)):r(s)}}function iI(t,a,r){let e=this;return i;function i(l){return l!==87&&l!==119||!PB.call(e,e.previous)||Fs(e.events)?r(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(aI,t.attempt(SB,t.attempt(WB,o),r),r)(l))}function o(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),a(l)}}function oI(t,a,r){let e=this,i="",o=!1;return l;function l(s){return(s===72||s===104)&&EB.call(e,e.previous)&&!Fs(e.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(s),t.consume(s),n):r(s)}function n(s){if(k1(s)&&i.length<5)return i+=String.fromCodePoint(s),t.consume(s),n;if(s===58){let p=i.toLowerCase();if(p==="http"||p==="https")return t.consume(s),h}return r(s)}function h(s){return s===47?(t.consume(s),o?c:(o=!0,h)):r(s)}function c(s){return s===null||Ir(s)||Mt(s)||W0(s)||Dr(s)?r(s):t.attempt(SB,t.attempt(WB,d),r)(s)}function d(s){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),a(s)}}function lI(t,a,r){let e=0;return i;function i(l){return(l===87||l===119)&&e<3?(e++,t.consume(l),i):l===46&&e===3?(t.consume(l),o):r(l)}function o(l){return l===null?r(l):a(l)}}function nI(t,a,r){let e,i,o;return l;function l(c){return c===46||c===95?t.check(jB,h,n)(c):c===null||Mt(c)||W0(c)||c!==45&&Dr(c)?h(c):(o=!0,t.consume(c),l)}function n(c){return c===95?e=!0:(i=e,e=void 0),t.consume(c),l}function h(c){return i||e||!o?r(c):a(c)}}function hI(t,a){let r=0,e=0;return i;function i(l){return l===40?(r++,t.consume(l),i):l===41&&e<r?o(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?t.check(jB,a,o)(l):l===null||Mt(l)||W0(l)?a(l):(t.consume(l),i)}function o(l){return l===41&&e++,t.consume(l),i}}function cI(t,a,r){return e;function e(n){return n===33||n===34||n===39||n===41||n===42||n===44||n===46||n===58||n===59||n===63||n===95||n===126?(t.consume(n),e):n===38?(t.consume(n),o):n===93?(t.consume(n),i):n===60||n===null||Mt(n)||W0(n)?a(n):r(n)}function i(n){return n===null||n===40||n===91||Mt(n)||W0(n)?a(n):e(n)}function o(n){return k1(n)?l(n):r(n)}function l(n){return n===59?(t.consume(n),e):k1(n)?(t.consume(n),l):r(n)}}function dI(t,a,r){return e;function e(o){return t.consume(o),i}function i(o){return e1(o)?r(o):a(o)}}function PB(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Mt(t)}function EB(t){return!k1(t)}function RB(t){return!(t===47||Rs(t))}function Rs(t){return t===43||t===45||t===46||t===95||e1(t)}function Fs(t){let a=t.length,r=!1;for(;a--;){let e=t[a][1];if((e.type==="labelLink"||e.type==="labelImage")&&!e._balanced){r=!0;break}if(e._gfmAutolinkLiteralWalkedInto){r=!1;break}}return t.length>0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var sI={tokenize:mI,partial:!0};function Is(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:uI,continuation:{tokenize:MI},exit:fI}},text:{91:{name:"gfmFootnoteCall",tokenize:vI},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:pI,resolveTo:gI}}}}function pI(t,a,r){let e=this,i=e.events.length,o=e.parser.gfmFootnotes||(e.parser.gfmFootnotes=[]),l;for(;i--;){let h=e.events[i][1];if(h.type==="labelImage"){l=h;break}if(h.type==="gfmFootnoteCall"||h.type==="labelLink"||h.type==="label"||h.type==="image"||h.type==="link")break}return n;function n(h){if(!l||!l._balanced)return r(h);let c=K1(e.sliceSerialize({start:l.end,end:e.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?r(h):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(h),t.exit("gfmFootnoteCallLabelMarker"),a(h))}}function gI(t,a){let r=t.length,e;for(;r--;)if(t[r][1].type==="labelImage"&&t[r][0]==="enter"){e=t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},n={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},h=[t[r+1],t[r+2],["enter",i,a],t[r+3],t[r+4],["enter",o,a],["exit",o,a],["enter",l,a],["enter",n,a],["exit",n,a],["exit",l,a],t[t.length-2],t[t.length-1],["exit",i,a]];return t.splice(r,t.length-r+1,...h),t}function vI(t,a,r){let e=this,i=e.parser.gfmFootnotes||(e.parser.gfmFootnotes=[]),o=0,l;return n;function n(s){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),h}function h(s){return s!==94?r(s):(t.enter("gfmFootnoteCallMarker"),t.consume(s),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(s){if(o>999||s===93&&!l||s===null||s===91||Mt(s))return r(s);if(s===93){t.exit("chunkString");let p=t.exit("gfmFootnoteCallString");return i.includes(K1(e.sliceSerialize(p)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),a):r(s)}return Mt(s)||(l=!0),o++,t.consume(s),s===92?d:c}function d(s){return s===91||s===92||s===93?(t.consume(s),o++,c):c(s)}}function uI(t,a,r){let e=this,i=e.parser.gfmFootnotes||(e.parser.gfmFootnotes=[]),o,l=0,n;return h;function h(u){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(u),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(u){return u===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(u),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",d):r(u)}function d(u){if(l>999||u===93&&!n||u===null||u===91||Mt(u))return r(u);if(u===93){t.exit("chunkString");let f=t.exit("gfmFootnoteDefinitionLabelString");return o=K1(e.sliceSerialize(f)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(u),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),p}return Mt(u)||(n=!0),l++,t.consume(u),u===92?s:d}function s(u){return u===91||u===92||u===93?(t.consume(u),l++,d):d(u)}function p(u){return u===58?(t.enter("definitionMarker"),t.consume(u),t.exit("definitionMarker"),i.includes(o)||i.push(o),ot(t,g,"gfmFootnoteDefinitionWhitespace")):r(u)}function g(u){return a(u)}}function MI(t,a,r){return t.check(j0,a,t.attempt(sI,a,r))}function fI(t){t.exit("gfmFootnoteDefinition")}function mI(t,a,r){let e=this;return ot(t,i,"gfmFootnoteDefinitionIndent",5);function i(o){let l=e.events[e.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?a(o):r(o)}}function Ds(t){let r=(t||{}).singleTilde,e={name:"strikethrough",tokenize:o,resolveAll:i};return r==null&&(r=!0),{text:{126:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function i(l,n){let h=-1;for(;++h<l.length;)if(l[h][0]==="enter"&&l[h][1].type==="strikethroughSequenceTemporary"&&l[h][1]._close){let c=h;for(;c--;)if(l[c][0]==="exit"&&l[c][1].type==="strikethroughSequenceTemporary"&&l[c][1]._open&&l[h][1].end.offset-l[h][1].start.offset===l[c][1].end.offset-l[c][1].start.offset){l[h][1].type="strikethroughSequence",l[c][1].type="strikethroughSequence";let d={type:"strikethrough",start:Object.assign({},l[c][1].start),end:Object.assign({},l[h][1].end)},s={type:"strikethroughText",start:Object.assign({},l[c][1].end),end:Object.assign({},l[h][1].start)},p=[["enter",d,n],["enter",l[c][1],n],["exit",l[c][1],n],["enter",s,n]],g=n.parser.constructs.insideSpan.null;g&&d1(p,p.length,0,Xa(g,l.slice(c+1,h),n)),d1(p,p.length,0,[["exit",s,n],["enter",l[h][1],n],["exit",l[h][1],n],["exit",d,n]]),d1(l,c-1,h-c+3,p),h=c+p.length-2;break}}for(h=-1;++h<l.length;)l[h][1].type==="strikethroughSequenceTemporary"&&(l[h][1].type="data");return l}function o(l,n,h){let c=this.previous,d=this.events,s=0;return p;function p(u){return c===126&&d[d.length-1][1].type!=="characterEscape"?h(u):(l.enter("strikethroughSequenceTemporary"),g(u))}function g(u){let f=oa(c);if(u===126)return s>1?h(u):(l.consume(u),s++,g);if(s<2&&!r)return h(u);let z=l.exit("strikethroughSequenceTemporary"),v=oa(u);return z._open=!v||v===2&&!!f,z._close=!f||f===2&&!!v,n(u)}}}var d5=class{constructor(){this.map=[]}add(a,r,e){xI(this,a,r,e)}consume(a){if(this.map.sort(function(o,l){return o[0]-l[0]}),this.map.length===0)return;let r=this.map.length,e=[];for(;r>0;)r-=1,e.push(a.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),a.length=this.map[r][0];e.push(a.slice()),a.length=0;let i=e.pop();for(;i;){for(let o of i)a.push(o);i=e.pop()}this.map.length=0}};function xI(t,a,r,e){let i=0;if(!(r===0&&e.length===0)){for(;i<t.map.length;){if(t.map[i][0]===a){t.map[i][1]+=r,t.map[i][2].push(...e);return}i+=1}t.map.push([a,r,e])}}function _B(t,a){let r=!1,e=[];for(;a<t.length;){let i=t[a];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&e.push(t[a+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[a-1][1].type==="tableDelimiterMarker"){let o=e.length-1;e[o]=e[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);a+=1}return e}function Ns(){return{flow:{null:{name:"table",tokenize:zI,resolveAll:kI}}}}function zI(t,a,r){let e=this,i=0,o=0,l;return n;function n(k){let P=e.events.length-1;for(;P>-1;){let A=e.events[P][1].type;if(A==="lineEnding"||A==="linePrefix")P--;else break}let j=P>-1?e.events[P][1].type:null,V=j==="tableHead"||j==="tableRow"?x:h;return V===x&&e.parser.lazy[e.now().line]?r(k):V(k)}function h(k){return t.enter("tableHead"),t.enter("tableRow"),c(k)}function c(k){return k===124||(l=!0,o+=1),d(k)}function d(k){return k===null?r(k):Y(k)?o>1?(o=0,e.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),g):r(k):ht(k)?ot(t,d,"whitespace")(k):(o+=1,l&&(l=!1,i+=1),k===124?(t.enter("tableCellDivider"),t.consume(k),t.exit("tableCellDivider"),l=!0,d):(t.enter("data"),s(k)))}function s(k){return k===null||k===124||Mt(k)?(t.exit("data"),d(k)):(t.consume(k),k===92?p:s)}function p(k){return k===92||k===124?(t.consume(k),s):s(k)}function g(k){return e.interrupt=!1,e.parser.lazy[e.now().line]?r(k):(t.enter("tableDelimiterRow"),l=!1,ht(k)?ot(t,u,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):u(k))}function u(k){return k===45||k===58?z(k):k===124?(l=!0,t.enter("tableCellDivider"),t.consume(k),t.exit("tableCellDivider"),f):H(k)}function f(k){return ht(k)?ot(t,z,"whitespace")(k):z(k)}function z(k){return k===58?(o+=1,l=!0,t.enter("tableDelimiterMarker"),t.consume(k),t.exit("tableDelimiterMarker"),v):k===45?(o+=1,v(k)):k===null||Y(k)?L(k):H(k)}function v(k){return k===45?(t.enter("tableDelimiterFiller"),M(k)):H(k)}function M(k){return k===45?(t.consume(k),M):k===58?(l=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(k),t.exit("tableDelimiterMarker"),m):(t.exit("tableDelimiterFiller"),m(k))}function m(k){return ht(k)?ot(t,L,"whitespace")(k):L(k)}function L(k){return k===124?u(k):k===null||Y(k)?!l||i!==o?H(k):(t.exit("tableDelimiterRow"),t.exit("tableHead"),a(k)):H(k)}function H(k){return r(k)}function x(k){return t.enter("tableRow"),B(k)}function B(k){return k===124?(t.enter("tableCellDivider"),t.consume(k),t.exit("tableCellDivider"),B):k===null||Y(k)?(t.exit("tableRow"),a(k)):ht(k)?ot(t,B,"whitespace")(k):(t.enter("data"),C(k))}function C(k){return k===null||k===124||Mt(k)?(t.exit("data"),B(k)):(t.consume(k),k===92?S:C)}function S(k){return k===92||k===124?(t.consume(k),C):C(k)}}function kI(t,a){let r=-1,e=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],n=!1,h=0,c,d,s,p=new d5;for(;++r<t.length;){let g=t[r],u=g[1];g[0]==="enter"?u.type==="tableHead"?(n=!1,h!==0&&(FB(p,a,h,c,d),d=void 0,h=0),c={type:"table",start:Object.assign({},u.start),end:Object.assign({},u.end)},p.add(r,0,[["enter",c,a]])):u.type==="tableRow"||u.type==="tableDelimiterRow"?(e=!0,s=void 0,o=[0,0,0,0],l=[0,r+1,0,0],n&&(n=!1,d={type:"tableBody",start:Object.assign({},u.start),end:Object.assign({},u.end)},p.add(r,0,[["enter",d,a]])),i=u.type==="tableDelimiterRow"?2:d?3:1):i&&(u.type==="data"||u.type==="tableDelimiterMarker"||u.type==="tableDelimiterFiller")?(e=!1,l[2]===0&&(o[1]!==0&&(l[0]=l[1],s=s5(p,a,o,i,void 0,s),o=[0,0,0,0]),l[2]=r)):u.type==="tableCellDivider"&&(e?e=!1:(o[1]!==0&&(l[0]=l[1],s=s5(p,a,o,i,void 0,s)),o=l,l=[o[1],r,0,0])):u.type==="tableHead"?(n=!0,h=r):u.type==="tableRow"||u.type==="tableDelimiterRow"?(h=r,o[1]!==0?(l[0]=l[1],s=s5(p,a,o,i,r,s)):l[1]!==0&&(s=s5(p,a,l,i,r,s)),i=0):i&&(u.type==="data"||u.type==="tableDelimiterMarker"||u.type==="tableDelimiterFiller")&&(l[3]=r)}for(h!==0&&FB(p,a,h,c,d),p.consume(a.events),r=-1;++r<a.events.length;){let g=a.events[r];g[0]==="enter"&&g[1].type==="table"&&(g[1]._align=_B(a.events,r))}return t}function s5(t,a,r,e,i,o){let l=e===1?"tableHeader":e===2?"tableDelimiter":"tableData",n="tableContent";r[0]!==0&&(o.end=Object.assign({},to(a.events,r[0])),t.add(r[0],0,[["exit",o,a]]));let h=to(a.events,r[1]);if(o={type:l,start:Object.assign({},h),end:Object.assign({},h)},t.add(r[1],0,[["enter",o,a]]),r[2]!==0){let c=to(a.events,r[2]),d=to(a.events,r[3]),s={type:n,start:Object.assign({},c),end:Object.assign({},d)};if(t.add(r[2],0,[["enter",s,a]]),e!==2){let p=a.events[r[2]],g=a.events[r[3]];if(p[1].end=Object.assign({},g[1].end),p[1].type="chunkText",p[1].contentType="text",r[3]>r[2]+1){let u=r[2]+1,f=r[3]-r[2]-1;t.add(u,f,[])}}t.add(r[3]+1,0,[["exit",s,a]])}return i!==void 0&&(o.end=Object.assign({},to(a.events,i)),t.add(i,0,[["exit",o,a]]),o=void 0),o}function FB(t,a,r,e,i){let o=[],l=to(a.events,r);i&&(i.end=Object.assign({},l),o.push(["exit",i,a])),e.end=Object.assign({},l),o.push(["exit",e,a]),t.add(r+1,0,o)}function to(t,a){let r=t[a],e=r[0]==="enter"?"start":"end";return r[1][e]}var LI={name:"tasklistCheck",tokenize:wI};function Us(){return{text:{91:LI}}}function wI(t,a,r){let e=this;return i;function i(h){return e.previous!==null||!e._gfmTasklistFirstContentOfListItem?r(h):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(h),t.exit("taskListCheckMarker"),o)}function o(h){return Mt(h)?(t.enter("taskListCheckValueUnchecked"),t.consume(h),t.exit("taskListCheckValueUnchecked"),l):h===88||h===120?(t.enter("taskListCheckValueChecked"),t.consume(h),t.exit("taskListCheckValueChecked"),l):r(h)}function l(h){return h===93?(t.enter("taskListCheckMarker"),t.consume(h),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),n):r(h)}function n(h){return Y(h)?a(h):ht(h)?t.check({tokenize:bI},a,r)(h):r(h)}}function bI(t,a,r){return ot(t,e,"whitespace");function e(i){return i===null?r(i):a(i)}}function IB(t){return Hc([_s(),Is(),Ds(t),Ns(),Us()])}var HI={};function p5(t){let a=this,r=t||HI,e=a.data(),i=e.micromarkExtensions||(e.micromarkExtensions=[]),o=e.fromMarkdownExtensions||(e.fromMarkdownExtensions=[]),l=e.toMarkdownExtensions||(e.toMarkdownExtensions=[]);i.push(IB(r)),o.push(Ps()),l.push(Es(r))}var Pt=W(K(),1),CI=Et("img"),Gs="#ref:",BI=/\[\[([^\]|]+?)(?:\|([^\]]+?))?\]\]/g,VI=/(```[\s\S]*?```|~~~[\s\S]*?~~~|`[^`\n]*`)/;function TI(t){return t.split(VI).map((a,r)=>r%2===1?a:a.replace(BI,(e,i,o)=>`[${o??i}](${Gs}${encodeURIComponent(i.trim())})`)).join("")}var DB={"& .hljs-comment, & .hljs-quote":{color:"fg.subtle",fontStyle:"italic"},"& .hljs-keyword, & .hljs-selector-tag, & .hljs-literal, & .hljs-type, & .hljs-built_in":{color:"info.fg"},"& .hljs-string, & .hljs-addition, & .hljs-attr, & .hljs-attribute":{color:"positive.fg"},"& .hljs-number, & .hljs-variable, & .hljs-template-variable, & .hljs-regexp":{color:"warning.fg"},"& .hljs-title, & .hljs-section, & .hljs-name, & .hljs-selector-id, & .hljs-selector-class":{color:"primary.fg"},"& .hljs-meta, & .hljs-symbol, & .hljs-bullet, & .hljs-link":{color:"secondary.fg"},"& .hljs-deletion":{color:"negative.fg"},"& .hljs-strong":{fontWeight:"bold"},"& .hljs-emphasis":{fontStyle:"italic"}};function yI({children:t}){return(0,Pt.jsx)(Z,{as:"pre",bg:"bg.subtle",borderWidth:"1px",borderColor:"border.subtle",borderRadius:"md",p:3,my:3,overflowX:"auto",fontSize:"xs",fontFamily:"mono",lineHeight:"tall",children:t})}function SI(t){return!!(t&&(t.includes("hljs")||t.includes("language-")))}var WI={h1:({children:t})=>(0,Pt.jsx)(Z,{as:"h1",fontSize:"2xl",fontWeight:"bold",color:"fg",letterSpacing:"tight",mt:5,mb:2,children:t}),h2:({children:t})=>(0,Pt.jsx)(Z,{as:"h2",fontSize:"xl",fontWeight:"bold",color:"fg",mt:5,mb:2,children:t}),h3:({children:t})=>(0,Pt.jsx)(Z,{as:"h3",fontSize:"lg",fontWeight:"semibold",color:"fg",mt:4,mb:1.5,children:t}),h4:({children:t})=>(0,Pt.jsx)(Z,{as:"h4",fontSize:"md",fontWeight:"semibold",color:"fg",mt:3,mb:1,children:t}),h5:({children:t})=>(0,Pt.jsx)(Z,{as:"h5",fontSize:"sm",fontWeight:"semibold",color:"fg.muted",mt:3,mb:1,children:t}),h6:({children:t})=>(0,Pt.jsx)(Z,{as:"h6",fontSize:"sm",fontWeight:"semibold",color:"fg.muted",mt:3,mb:1,children:t}),p:({children:t})=>(0,Pt.jsx)(Z,{as:"p",fontSize:"sm",color:"fg",lineHeight:"tall",children:t}),ul:({children:t})=>(0,Pt.jsx)(Z,{as:"ul",pl:6,fontSize:"sm",color:"fg",lineHeight:"tall",css:{listStyleType:"disc"},children:t}),ol:({children:t})=>(0,Pt.jsx)(Z,{as:"ol",pl:6,fontSize:"sm",color:"fg",lineHeight:"tall",css:{listStyleType:"decimal"},children:t}),li:({children:t})=>(0,Pt.jsx)(Z,{as:"li",mb:1,css:{display:"list-item"},children:t}),strong:({children:t})=>(0,Pt.jsx)(Z,{as:"strong",fontWeight:"bold",color:"fg",children:t}),em:({children:t})=>(0,Pt.jsx)(Z,{as:"em",fontStyle:"italic",children:t}),hr:()=>(0,Pt.jsx)(Z,{as:"hr",borderTopWidth:"1px",borderColor:"border.subtle",my:4}),blockquote:({children:t})=>(0,Pt.jsx)(Z,{as:"blockquote",borderLeftWidth:"3px",borderColor:"border.emphasized",pl:4,py:1,my:3,color:"fg.muted",fontStyle:"italic",children:t}),pre:yI,code:({className:t,children:a})=>SI(t)?(0,Pt.jsx)(Z,{as:"code",className:t,fontFamily:"mono",css:{background:"transparent",padding:0,color:"inherit"},children:a}):(0,Pt.jsx)(Z,{as:"code",fontFamily:"mono",fontSize:"0.85em",bg:"bg.subtle",borderWidth:"1px",borderColor:"border.subtle",borderRadius:"sm",px:1.5,py:.5,color:"fg",children:a}),table:({children:t})=>(0,Pt.jsx)(Z,{overflowX:"auto",my:3,children:(0,Pt.jsx)(Z,{as:"table",fontSize:"sm",color:"fg",w:"full",css:{borderCollapse:"collapse"},children:t})}),th:({children:t})=>(0,Pt.jsx)(Z,{as:"th",textAlign:"start",fontWeight:"semibold",px:3,py:2,bg:"bg.subtle",borderBottomWidth:"2px",borderColor:"border.muted",children:t}),td:({children:t})=>(0,Pt.jsx)(Z,{as:"td",px:3,py:2,borderBottomWidth:"1px",borderColor:"border.subtle",children:t}),img:({src:t,alt:a})=>(0,Pt.jsx)(CI,{src:typeof t=="string"?t:void 0,alt:a,maxW:"full",borderRadius:"sm"})};function jI(t){return{...WI,a:({children:a,href:r})=>{let e=r?.startsWith(Gs)?decodeURIComponent(r.slice(Gs.length)):null;if(e&&!t)return(0,Pt.jsx)(Z,{as:"span",color:"fg",children:a});if(e)return(0,Pt.jsx)(Et.button,{type:"button",display:"inline",bg:"transparent",border:"none",p:0,font:"inherit",textAlign:"start",cursor:"pointer",color:"primary.fg",textDecoration:"underline",_hover:{color:"primary.text"},onClick:()=>t?.(e),children:a});let i=!!(r&&/^[a-z]+:\/\//i.test(r));return(0,Pt.jsx)(F6,{href:r,color:"primary.fg",textDecoration:"underline",...i?{target:"_blank",rel:"noopener noreferrer"}:{},children:a})}}}function on({content:t,onOpen:a,css:r,...e}){let i=(0,en.useMemo)(()=>[p5],[]),o=(0,en.useMemo)(()=>[h5],[]),l=(0,en.useMemo)(()=>jI(a),[a]),n=(0,en.useMemo)(()=>TI(t),[t]);return(0,Pt.jsx)(Z,{display:"flex",flexDirection:"column",gap:2,w:"full",minW:0,css:r?[DB,r].flat():DB,...e,children:(0,Pt.jsx)(U7,{remarkPlugins:i,rehypePlugins:o,components:l,children:n})})}var OI=W(K(),1);var UB=W(at(),1);var GB=W(K(),1);var qB=W(K(),1);var $B=W(at(),1);var KB=W(K(),1);var AI=W(at(),1);var PI=W(K(),1);var RI=W(K(),1);var _I=W(K(),1);var FI=W(K(),1);var II=W(at(),1);var YB=W(K(),1);var K2=W(at(),1);var I=W(K(),1),Zr=[{status:"blocked",label:"blocked",color:"negative.solid"},{status:"in-progress",label:"in progress",color:"primary.solid"},{status:"queue",label:"queued",color:"fg.muted"},{status:"complete",label:"done",color:"positive.solid"}],XB="jarvis.board.view";function u5(){let[t,a]=(0,K2.useState)("list");return(0,K2.useEffect)(()=>{try{let e=window.localStorage.getItem(XB);(e==="kanban"||e==="list")&&a(e)}catch{}},[]),{view:t,onView:e=>{a(e);try{window.localStorage.setItem(XB,e)}catch{}}}}var Ks=new Map(Zr.map(t=>[t.status,t.color])),QB=new Map(Zr.map((t,a)=>[t.status,a]));function ZB(t){let a=new Map;for(let r of t)a.set(r.status,(a.get(r.status)??0)+1);return a}function DI(t,a){let r=(QB.get(t.status)??9)-(QB.get(a.status)??9);return r!==0?r:t.title.localeCompare(a.title)}function JB(t,a){let r=new Map;for(let e of t){let i=r.get(a(e));i?i.push(e):r.set(a(e),[e])}return r}function NI(t){return[...JB(t,a=>a.version)].map(([a,r])=>({version:a,items:r,counts:ZB(r),goals:[...JB(r,e=>e.epic)].map(([e,i])=>({epic:e,items:i,counts:ZB(i)})).sort((e,i)=>{let o=n=>(n.counts.get("in-progress")??0)>0,l=n=>n.items.length-(n.counts.get("complete")??0);return o(e)!==o(i)?o(e)?-1:1:l(e)>0!=l(i)>0?l(e)>0?-1:1:e.epic.localeCompare(i.epic)})})).sort((a,r)=>{let e=i=>(i.counts.get("in-progress")??0)>0;return e(a)!==e(r)?e(a)?-1:1:r.version.localeCompare(a.version)})}function tV(t){return t.replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/[`*_]/g,"").trim().toLowerCase()}function UI(t,a){let r=t.split(`
|
|
44
|
+
`))}function h(g,u,f,z){let v=f.enter("tableCell"),M=f.enter("phrasing"),m=f.containerPhrasing(g,{...z,before:o,after:o});return M(),v(),m}function c(g,u){return lB(g,{align:u,alignDelimiters:e,padding:r,stringLength:i})}function d(g,u,f){let z=g.children,v=-1,M=[],m=u.enter("table");for(;++v<z.length;)M[v]=s(z[v],u,f);return m(),M}function s(g,u,f){let z=g.children,v=-1,M=[],m=u.enter("tableRow");for(;++v<z.length;)M[v]=h(z[v],g,u,f);return m(),M}function p(g,u,f){let z=rn.inlineCode(g,u,f);return f.stack.includes("tableCell")&&(z=z.replace(/\|/g,"\\$&")),z}}function Os(){return{exit:{taskListCheckValueChecked:yB,taskListCheckValueUnchecked:yB,paragraph:JF}}}function As(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:tI}}}function yB(t){let a=this.stack[this.stack.length-2];a.type,a.checked=t.type==="taskListCheckValueChecked"}function JF(t){let a=this.stack[this.stack.length-2];if(a&&a.type==="listItem"&&typeof a.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let e=r.children[0];if(e&&e.type==="text"){let i=a.children,o=-1,l;for(;++o<i.length;){let n=i[o];if(n.type==="paragraph"){l=n;break}}l===r&&(e.value=e.value.slice(1),e.value.length===0?r.children.shift():r.position&&e.position&&typeof e.position.start.offset=="number"&&(e.position.start.column++,e.position.start.offset++,r.position.start=Object.assign({},e.position.start)))}}this.exit(t)}function tI(t,a,r,e){let i=t.children[0],o=typeof t.checked=="boolean"&&i&&i.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",n=r.createTracker(e);o&&n.move(l);let h=rn.listItem(t,a,r,{...e,...n.current()});return o&&(h=h.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),h;function c(d){return d+l}}function Ps(){return[vs(),Ms(),ms(),Ws(),Os()]}function Es(t){return{extensions:[us(),fs(t),xs(),js(t),As()]}}var aI={tokenize:lI,partial:!0},SB={tokenize:nI,partial:!0},WB={tokenize:hI,partial:!0},jB={tokenize:cI,partial:!0},rI={tokenize:dI,partial:!0},OB={name:"wwwAutolink",tokenize:iI,previous:PB},AB={name:"protocolAutolink",tokenize:oI,previous:EB},ha={name:"emailAutolink",tokenize:eI,previous:RB},P0={};function _s(){return{text:P0}}var Qr=48;for(;Qr<123;)P0[Qr]=ha,Qr++,Qr===58?Qr=65:Qr===91&&(Qr=97);P0[43]=ha;P0[45]=ha;P0[46]=ha;P0[95]=ha;P0[72]=[ha,AB];P0[104]=[ha,AB];P0[87]=[ha,OB];P0[119]=[ha,OB];function eI(t,a,r){let e=this,i,o;return l;function l(s){return!Rs(s)||!RB.call(e,e.previous)||Fs(e.events)?r(s):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),n(s))}function n(s){return Rs(s)?(t.consume(s),n):s===64?(t.consume(s),h):r(s)}function h(s){return s===46?t.check(rI,d,c)(s):s===45||s===95||e1(s)?(o=!0,t.consume(s),h):d(s)}function c(s){return t.consume(s),i=!0,h}function d(s){return o&&i&&k1(e.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),a(s)):r(s)}}function iI(t,a,r){let e=this;return i;function i(l){return l!==87&&l!==119||!PB.call(e,e.previous)||Fs(e.events)?r(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(aI,t.attempt(SB,t.attempt(WB,o),r),r)(l))}function o(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),a(l)}}function oI(t,a,r){let e=this,i="",o=!1;return l;function l(s){return(s===72||s===104)&&EB.call(e,e.previous)&&!Fs(e.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(s),t.consume(s),n):r(s)}function n(s){if(k1(s)&&i.length<5)return i+=String.fromCodePoint(s),t.consume(s),n;if(s===58){let p=i.toLowerCase();if(p==="http"||p==="https")return t.consume(s),h}return r(s)}function h(s){return s===47?(t.consume(s),o?c:(o=!0,h)):r(s)}function c(s){return s===null||Ir(s)||Mt(s)||W0(s)||Dr(s)?r(s):t.attempt(SB,t.attempt(WB,d),r)(s)}function d(s){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),a(s)}}function lI(t,a,r){let e=0;return i;function i(l){return(l===87||l===119)&&e<3?(e++,t.consume(l),i):l===46&&e===3?(t.consume(l),o):r(l)}function o(l){return l===null?r(l):a(l)}}function nI(t,a,r){let e,i,o;return l;function l(c){return c===46||c===95?t.check(jB,h,n)(c):c===null||Mt(c)||W0(c)||c!==45&&Dr(c)?h(c):(o=!0,t.consume(c),l)}function n(c){return c===95?e=!0:(i=e,e=void 0),t.consume(c),l}function h(c){return i||e||!o?r(c):a(c)}}function hI(t,a){let r=0,e=0;return i;function i(l){return l===40?(r++,t.consume(l),i):l===41&&e<r?o(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?t.check(jB,a,o)(l):l===null||Mt(l)||W0(l)?a(l):(t.consume(l),i)}function o(l){return l===41&&e++,t.consume(l),i}}function cI(t,a,r){return e;function e(n){return n===33||n===34||n===39||n===41||n===42||n===44||n===46||n===58||n===59||n===63||n===95||n===126?(t.consume(n),e):n===38?(t.consume(n),o):n===93?(t.consume(n),i):n===60||n===null||Mt(n)||W0(n)?a(n):r(n)}function i(n){return n===null||n===40||n===91||Mt(n)||W0(n)?a(n):e(n)}function o(n){return k1(n)?l(n):r(n)}function l(n){return n===59?(t.consume(n),e):k1(n)?(t.consume(n),l):r(n)}}function dI(t,a,r){return e;function e(o){return t.consume(o),i}function i(o){return e1(o)?r(o):a(o)}}function PB(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Mt(t)}function EB(t){return!k1(t)}function RB(t){return!(t===47||Rs(t))}function Rs(t){return t===43||t===45||t===46||t===95||e1(t)}function Fs(t){let a=t.length,r=!1;for(;a--;){let e=t[a][1];if((e.type==="labelLink"||e.type==="labelImage")&&!e._balanced){r=!0;break}if(e._gfmAutolinkLiteralWalkedInto){r=!1;break}}return t.length>0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var sI={tokenize:mI,partial:!0};function Is(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:uI,continuation:{tokenize:MI},exit:fI}},text:{91:{name:"gfmFootnoteCall",tokenize:vI},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:pI,resolveTo:gI}}}}function pI(t,a,r){let e=this,i=e.events.length,o=e.parser.gfmFootnotes||(e.parser.gfmFootnotes=[]),l;for(;i--;){let h=e.events[i][1];if(h.type==="labelImage"){l=h;break}if(h.type==="gfmFootnoteCall"||h.type==="labelLink"||h.type==="label"||h.type==="image"||h.type==="link")break}return n;function n(h){if(!l||!l._balanced)return r(h);let c=K1(e.sliceSerialize({start:l.end,end:e.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?r(h):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(h),t.exit("gfmFootnoteCallLabelMarker"),a(h))}}function gI(t,a){let r=t.length,e;for(;r--;)if(t[r][1].type==="labelImage"&&t[r][0]==="enter"){e=t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},n={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},h=[t[r+1],t[r+2],["enter",i,a],t[r+3],t[r+4],["enter",o,a],["exit",o,a],["enter",l,a],["enter",n,a],["exit",n,a],["exit",l,a],t[t.length-2],t[t.length-1],["exit",i,a]];return t.splice(r,t.length-r+1,...h),t}function vI(t,a,r){let e=this,i=e.parser.gfmFootnotes||(e.parser.gfmFootnotes=[]),o=0,l;return n;function n(s){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),h}function h(s){return s!==94?r(s):(t.enter("gfmFootnoteCallMarker"),t.consume(s),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(s){if(o>999||s===93&&!l||s===null||s===91||Mt(s))return r(s);if(s===93){t.exit("chunkString");let p=t.exit("gfmFootnoteCallString");return i.includes(K1(e.sliceSerialize(p)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),a):r(s)}return Mt(s)||(l=!0),o++,t.consume(s),s===92?d:c}function d(s){return s===91||s===92||s===93?(t.consume(s),o++,c):c(s)}}function uI(t,a,r){let e=this,i=e.parser.gfmFootnotes||(e.parser.gfmFootnotes=[]),o,l=0,n;return h;function h(u){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(u),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(u){return u===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(u),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",d):r(u)}function d(u){if(l>999||u===93&&!n||u===null||u===91||Mt(u))return r(u);if(u===93){t.exit("chunkString");let f=t.exit("gfmFootnoteDefinitionLabelString");return o=K1(e.sliceSerialize(f)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(u),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),p}return Mt(u)||(n=!0),l++,t.consume(u),u===92?s:d}function s(u){return u===91||u===92||u===93?(t.consume(u),l++,d):d(u)}function p(u){return u===58?(t.enter("definitionMarker"),t.consume(u),t.exit("definitionMarker"),i.includes(o)||i.push(o),ot(t,g,"gfmFootnoteDefinitionWhitespace")):r(u)}function g(u){return a(u)}}function MI(t,a,r){return t.check(j0,a,t.attempt(sI,a,r))}function fI(t){t.exit("gfmFootnoteDefinition")}function mI(t,a,r){let e=this;return ot(t,i,"gfmFootnoteDefinitionIndent",5);function i(o){let l=e.events[e.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?a(o):r(o)}}function Ds(t){let r=(t||{}).singleTilde,e={name:"strikethrough",tokenize:o,resolveAll:i};return r==null&&(r=!0),{text:{126:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function i(l,n){let h=-1;for(;++h<l.length;)if(l[h][0]==="enter"&&l[h][1].type==="strikethroughSequenceTemporary"&&l[h][1]._close){let c=h;for(;c--;)if(l[c][0]==="exit"&&l[c][1].type==="strikethroughSequenceTemporary"&&l[c][1]._open&&l[h][1].end.offset-l[h][1].start.offset===l[c][1].end.offset-l[c][1].start.offset){l[h][1].type="strikethroughSequence",l[c][1].type="strikethroughSequence";let d={type:"strikethrough",start:Object.assign({},l[c][1].start),end:Object.assign({},l[h][1].end)},s={type:"strikethroughText",start:Object.assign({},l[c][1].end),end:Object.assign({},l[h][1].start)},p=[["enter",d,n],["enter",l[c][1],n],["exit",l[c][1],n],["enter",s,n]],g=n.parser.constructs.insideSpan.null;g&&d1(p,p.length,0,Xa(g,l.slice(c+1,h),n)),d1(p,p.length,0,[["exit",s,n],["enter",l[h][1],n],["exit",l[h][1],n],["exit",d,n]]),d1(l,c-1,h-c+3,p),h=c+p.length-2;break}}for(h=-1;++h<l.length;)l[h][1].type==="strikethroughSequenceTemporary"&&(l[h][1].type="data");return l}function o(l,n,h){let c=this.previous,d=this.events,s=0;return p;function p(u){return c===126&&d[d.length-1][1].type!=="characterEscape"?h(u):(l.enter("strikethroughSequenceTemporary"),g(u))}function g(u){let f=oa(c);if(u===126)return s>1?h(u):(l.consume(u),s++,g);if(s<2&&!r)return h(u);let z=l.exit("strikethroughSequenceTemporary"),v=oa(u);return z._open=!v||v===2&&!!f,z._close=!f||f===2&&!!v,n(u)}}}var d5=class{constructor(){this.map=[]}add(a,r,e){xI(this,a,r,e)}consume(a){if(this.map.sort(function(o,l){return o[0]-l[0]}),this.map.length===0)return;let r=this.map.length,e=[];for(;r>0;)r-=1,e.push(a.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),a.length=this.map[r][0];e.push(a.slice()),a.length=0;let i=e.pop();for(;i;){for(let o of i)a.push(o);i=e.pop()}this.map.length=0}};function xI(t,a,r,e){let i=0;if(!(r===0&&e.length===0)){for(;i<t.map.length;){if(t.map[i][0]===a){t.map[i][1]+=r,t.map[i][2].push(...e);return}i+=1}t.map.push([a,r,e])}}function _B(t,a){let r=!1,e=[];for(;a<t.length;){let i=t[a];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&e.push(t[a+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[a-1][1].type==="tableDelimiterMarker"){let o=e.length-1;e[o]=e[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);a+=1}return e}function Ns(){return{flow:{null:{name:"table",tokenize:zI,resolveAll:kI}}}}function zI(t,a,r){let e=this,i=0,o=0,l;return n;function n(k){let P=e.events.length-1;for(;P>-1;){let A=e.events[P][1].type;if(A==="lineEnding"||A==="linePrefix")P--;else break}let j=P>-1?e.events[P][1].type:null,V=j==="tableHead"||j==="tableRow"?x:h;return V===x&&e.parser.lazy[e.now().line]?r(k):V(k)}function h(k){return t.enter("tableHead"),t.enter("tableRow"),c(k)}function c(k){return k===124||(l=!0,o+=1),d(k)}function d(k){return k===null?r(k):Y(k)?o>1?(o=0,e.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),g):r(k):ht(k)?ot(t,d,"whitespace")(k):(o+=1,l&&(l=!1,i+=1),k===124?(t.enter("tableCellDivider"),t.consume(k),t.exit("tableCellDivider"),l=!0,d):(t.enter("data"),s(k)))}function s(k){return k===null||k===124||Mt(k)?(t.exit("data"),d(k)):(t.consume(k),k===92?p:s)}function p(k){return k===92||k===124?(t.consume(k),s):s(k)}function g(k){return e.interrupt=!1,e.parser.lazy[e.now().line]?r(k):(t.enter("tableDelimiterRow"),l=!1,ht(k)?ot(t,u,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):u(k))}function u(k){return k===45||k===58?z(k):k===124?(l=!0,t.enter("tableCellDivider"),t.consume(k),t.exit("tableCellDivider"),f):H(k)}function f(k){return ht(k)?ot(t,z,"whitespace")(k):z(k)}function z(k){return k===58?(o+=1,l=!0,t.enter("tableDelimiterMarker"),t.consume(k),t.exit("tableDelimiterMarker"),v):k===45?(o+=1,v(k)):k===null||Y(k)?L(k):H(k)}function v(k){return k===45?(t.enter("tableDelimiterFiller"),M(k)):H(k)}function M(k){return k===45?(t.consume(k),M):k===58?(l=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(k),t.exit("tableDelimiterMarker"),m):(t.exit("tableDelimiterFiller"),m(k))}function m(k){return ht(k)?ot(t,L,"whitespace")(k):L(k)}function L(k){return k===124?u(k):k===null||Y(k)?!l||i!==o?H(k):(t.exit("tableDelimiterRow"),t.exit("tableHead"),a(k)):H(k)}function H(k){return r(k)}function x(k){return t.enter("tableRow"),B(k)}function B(k){return k===124?(t.enter("tableCellDivider"),t.consume(k),t.exit("tableCellDivider"),B):k===null||Y(k)?(t.exit("tableRow"),a(k)):ht(k)?ot(t,B,"whitespace")(k):(t.enter("data"),C(k))}function C(k){return k===null||k===124||Mt(k)?(t.exit("data"),B(k)):(t.consume(k),k===92?S:C)}function S(k){return k===92||k===124?(t.consume(k),C):C(k)}}function kI(t,a){let r=-1,e=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],n=!1,h=0,c,d,s,p=new d5;for(;++r<t.length;){let g=t[r],u=g[1];g[0]==="enter"?u.type==="tableHead"?(n=!1,h!==0&&(FB(p,a,h,c,d),d=void 0,h=0),c={type:"table",start:Object.assign({},u.start),end:Object.assign({},u.end)},p.add(r,0,[["enter",c,a]])):u.type==="tableRow"||u.type==="tableDelimiterRow"?(e=!0,s=void 0,o=[0,0,0,0],l=[0,r+1,0,0],n&&(n=!1,d={type:"tableBody",start:Object.assign({},u.start),end:Object.assign({},u.end)},p.add(r,0,[["enter",d,a]])),i=u.type==="tableDelimiterRow"?2:d?3:1):i&&(u.type==="data"||u.type==="tableDelimiterMarker"||u.type==="tableDelimiterFiller")?(e=!1,l[2]===0&&(o[1]!==0&&(l[0]=l[1],s=s5(p,a,o,i,void 0,s),o=[0,0,0,0]),l[2]=r)):u.type==="tableCellDivider"&&(e?e=!1:(o[1]!==0&&(l[0]=l[1],s=s5(p,a,o,i,void 0,s)),o=l,l=[o[1],r,0,0])):u.type==="tableHead"?(n=!0,h=r):u.type==="tableRow"||u.type==="tableDelimiterRow"?(h=r,o[1]!==0?(l[0]=l[1],s=s5(p,a,o,i,r,s)):l[1]!==0&&(s=s5(p,a,l,i,r,s)),i=0):i&&(u.type==="data"||u.type==="tableDelimiterMarker"||u.type==="tableDelimiterFiller")&&(l[3]=r)}for(h!==0&&FB(p,a,h,c,d),p.consume(a.events),r=-1;++r<a.events.length;){let g=a.events[r];g[0]==="enter"&&g[1].type==="table"&&(g[1]._align=_B(a.events,r))}return t}function s5(t,a,r,e,i,o){let l=e===1?"tableHeader":e===2?"tableDelimiter":"tableData",n="tableContent";r[0]!==0&&(o.end=Object.assign({},to(a.events,r[0])),t.add(r[0],0,[["exit",o,a]]));let h=to(a.events,r[1]);if(o={type:l,start:Object.assign({},h),end:Object.assign({},h)},t.add(r[1],0,[["enter",o,a]]),r[2]!==0){let c=to(a.events,r[2]),d=to(a.events,r[3]),s={type:n,start:Object.assign({},c),end:Object.assign({},d)};if(t.add(r[2],0,[["enter",s,a]]),e!==2){let p=a.events[r[2]],g=a.events[r[3]];if(p[1].end=Object.assign({},g[1].end),p[1].type="chunkText",p[1].contentType="text",r[3]>r[2]+1){let u=r[2]+1,f=r[3]-r[2]-1;t.add(u,f,[])}}t.add(r[3]+1,0,[["exit",s,a]])}return i!==void 0&&(o.end=Object.assign({},to(a.events,i)),t.add(i,0,[["exit",o,a]]),o=void 0),o}function FB(t,a,r,e,i){let o=[],l=to(a.events,r);i&&(i.end=Object.assign({},l),o.push(["exit",i,a])),e.end=Object.assign({},l),o.push(["exit",e,a]),t.add(r+1,0,o)}function to(t,a){let r=t[a],e=r[0]==="enter"?"start":"end";return r[1][e]}var LI={name:"tasklistCheck",tokenize:wI};function Us(){return{text:{91:LI}}}function wI(t,a,r){let e=this;return i;function i(h){return e.previous!==null||!e._gfmTasklistFirstContentOfListItem?r(h):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(h),t.exit("taskListCheckMarker"),o)}function o(h){return Mt(h)?(t.enter("taskListCheckValueUnchecked"),t.consume(h),t.exit("taskListCheckValueUnchecked"),l):h===88||h===120?(t.enter("taskListCheckValueChecked"),t.consume(h),t.exit("taskListCheckValueChecked"),l):r(h)}function l(h){return h===93?(t.enter("taskListCheckMarker"),t.consume(h),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),n):r(h)}function n(h){return Y(h)?a(h):ht(h)?t.check({tokenize:bI},a,r)(h):r(h)}}function bI(t,a,r){return ot(t,e,"whitespace");function e(i){return i===null?r(i):a(i)}}function IB(t){return Hc([_s(),Is(),Ds(t),Ns(),Us()])}var HI={};function p5(t){let a=this,r=t||HI,e=a.data(),i=e.micromarkExtensions||(e.micromarkExtensions=[]),o=e.fromMarkdownExtensions||(e.fromMarkdownExtensions=[]),l=e.toMarkdownExtensions||(e.toMarkdownExtensions=[]);i.push(IB(r)),o.push(Ps()),l.push(Es(r))}var Pt=W(K(),1),CI=Et("img"),Gs="#ref:",BI=/\[\[([^\]|]+?)(?:\|([^\]]+?))?\]\]/g,VI=/(```[\s\S]*?```|~~~[\s\S]*?~~~|`[^`\n]*`)/;function TI(t){return t.split(VI).map((a,r)=>r%2===1?a:a.replace(BI,(e,i,o)=>`[${o??i}](${Gs}${encodeURIComponent(i.trim())})`)).join("")}var DB={"& .hljs-comment, & .hljs-quote":{color:"fg.subtle",fontStyle:"italic"},"& .hljs-keyword, & .hljs-selector-tag, & .hljs-literal, & .hljs-type, & .hljs-built_in":{color:"info.fg"},"& .hljs-string, & .hljs-addition, & .hljs-attr, & .hljs-attribute":{color:"positive.fg"},"& .hljs-number, & .hljs-variable, & .hljs-template-variable, & .hljs-regexp":{color:"warning.fg"},"& .hljs-title, & .hljs-section, & .hljs-name, & .hljs-selector-id, & .hljs-selector-class":{color:"primary.fg"},"& .hljs-meta, & .hljs-symbol, & .hljs-bullet, & .hljs-link":{color:"secondary.fg"},"& .hljs-deletion":{color:"negative.fg"},"& .hljs-strong":{fontWeight:"bold"},"& .hljs-emphasis":{fontStyle:"italic"}};function yI({children:t}){return(0,Pt.jsx)(Z,{as:"pre",bg:"bg.subtle",borderWidth:"1px",borderColor:"border.subtle",borderRadius:"md",p:3,my:3,overflowX:"auto",fontSize:"xs",fontFamily:"mono",lineHeight:"tall",children:t})}function SI(t){return!!(t&&(t.includes("hljs")||t.includes("language-")))}var WI={h1:({children:t})=>(0,Pt.jsx)(Z,{as:"h1",fontSize:"2xl",fontWeight:"bold",color:"fg",letterSpacing:"tight",mt:5,mb:2,children:t}),h2:({children:t})=>(0,Pt.jsx)(Z,{as:"h2",fontSize:"xl",fontWeight:"bold",color:"fg",mt:5,mb:2,children:t}),h3:({children:t})=>(0,Pt.jsx)(Z,{as:"h3",fontSize:"lg",fontWeight:"semibold",color:"fg",mt:4,mb:1.5,children:t}),h4:({children:t})=>(0,Pt.jsx)(Z,{as:"h4",fontSize:"md",fontWeight:"semibold",color:"fg",mt:3,mb:1,children:t}),h5:({children:t})=>(0,Pt.jsx)(Z,{as:"h5",fontSize:"sm",fontWeight:"semibold",color:"fg.muted",mt:3,mb:1,children:t}),h6:({children:t})=>(0,Pt.jsx)(Z,{as:"h6",fontSize:"sm",fontWeight:"semibold",color:"fg.muted",mt:3,mb:1,children:t}),p:({children:t})=>(0,Pt.jsx)(Z,{as:"p",fontSize:"sm",color:"fg",lineHeight:"tall",children:t}),ul:({children:t})=>(0,Pt.jsx)(Z,{as:"ul",pl:6,fontSize:"sm",color:"fg",lineHeight:"tall",css:{listStyleType:"disc"},children:t}),ol:({children:t})=>(0,Pt.jsx)(Z,{as:"ol",pl:6,fontSize:"sm",color:"fg",lineHeight:"tall",css:{listStyleType:"decimal"},children:t}),li:({children:t})=>(0,Pt.jsx)(Z,{as:"li",mb:1,css:{display:"list-item"},children:t}),strong:({children:t})=>(0,Pt.jsx)(Z,{as:"strong",fontWeight:"bold",color:"fg",children:t}),em:({children:t})=>(0,Pt.jsx)(Z,{as:"em",fontStyle:"italic",children:t}),hr:()=>(0,Pt.jsx)(Z,{as:"hr",borderTopWidth:"1px",borderColor:"border.subtle",my:4}),blockquote:({children:t})=>(0,Pt.jsx)(Z,{as:"blockquote",borderLeftWidth:"3px",borderColor:"border.emphasized",pl:4,py:1,my:3,color:"fg.muted",fontStyle:"italic",children:t}),pre:yI,code:({className:t,children:a})=>SI(t)?(0,Pt.jsx)(Z,{as:"code",className:t,fontFamily:"mono",css:{background:"transparent",padding:0,color:"inherit"},children:a}):(0,Pt.jsx)(Z,{as:"code",fontFamily:"mono",fontSize:"0.85em",bg:"bg.subtle",borderWidth:"1px",borderColor:"border.subtle",borderRadius:"sm",px:1.5,py:.5,color:"fg",children:a}),table:({children:t})=>(0,Pt.jsx)(Z,{overflowX:"auto",my:3,children:(0,Pt.jsx)(Z,{as:"table",fontSize:"sm",color:"fg",w:"full",css:{borderCollapse:"collapse"},children:t})}),th:({children:t})=>(0,Pt.jsx)(Z,{as:"th",textAlign:"start",fontWeight:"semibold",px:3,py:2,bg:"bg.subtle",borderBottomWidth:"2px",borderColor:"border.muted",children:t}),td:({children:t})=>(0,Pt.jsx)(Z,{as:"td",px:3,py:2,borderBottomWidth:"1px",borderColor:"border.subtle",children:t}),img:({src:t,alt:a})=>(0,Pt.jsx)(CI,{src:typeof t=="string"?t:void 0,alt:a,maxW:"full",borderRadius:"sm"})};function jI(t){return{...WI,a:({children:a,href:r})=>{let e=r?.startsWith(Gs)?decodeURIComponent(r.slice(Gs.length)):null;if(e&&!t)return(0,Pt.jsx)(Z,{as:"span",color:"fg",children:a});if(e)return(0,Pt.jsx)(Et.button,{type:"button",display:"inline",bg:"transparent",border:"none",p:0,font:"inherit",textAlign:"start",cursor:"pointer",color:"primary.fg",textDecoration:"underline",_hover:{color:"primary.text"},onClick:()=>t?.(e),children:a});let i=!!(r&&/^[a-z]+:\/\//i.test(r));return(0,Pt.jsx)(F6,{href:r,color:"primary.fg",textDecoration:"underline",...i?{target:"_blank",rel:"noopener noreferrer"}:{},children:a})}}}function on({content:t,onOpen:a,css:r,...e}){let i=(0,en.useMemo)(()=>[p5],[]),o=(0,en.useMemo)(()=>[h5],[]),l=(0,en.useMemo)(()=>jI(a),[a]),n=(0,en.useMemo)(()=>TI(t),[t]);return(0,Pt.jsx)(Z,{display:"flex",flexDirection:"column",gap:2,w:"full",minW:0,css:r?[DB,r].flat():DB,...e,children:(0,Pt.jsx)(U7,{remarkPlugins:i,rehypePlugins:o,components:l,children:n})})}var OI=W(K(),1);var UB=W(at(),1);var GB=W(K(),1);var qB=W(K(),1);var $B=W(at(),1);var KB=W(K(),1);var AI=W(at(),1);var PI=W(K(),1);var RI=W(K(),1);var _I=W(K(),1);var FI=W(K(),1);var II=W(at(),1);var YB=W(K(),1);var K2=W(at(),1);var I=W(K(),1),Zr=[{status:"blocked",label:"blocked",color:"negative.solid"},{status:"in-progress",label:"in progress",color:"primary.solid"},{status:"queue",label:"queued",color:"fg.muted"},{status:"complete",label:"done",color:"positive.solid"}],XB="jarvis.board.view";function u5(){let[t,a]=(0,K2.useState)("list");return(0,K2.useEffect)(()=>{try{let e=window.localStorage.getItem(XB);(e==="kanban"||e==="list")&&a(e)}catch{}},[]),{view:t,onView:e=>{a(e);try{window.localStorage.setItem(XB,e)}catch{}}}}var DI=["queue","in-progress","blocked","complete"],NI=DI.map(t=>Zr.find(a=>a.status===t)).filter(t=>t!==void 0),Ks=new Map(Zr.map(t=>[t.status,t.color])),QB=new Map(Zr.map((t,a)=>[t.status,a]));function ZB(t){let a=new Map;for(let r of t)a.set(r.status,(a.get(r.status)??0)+1);return a}function UI(t,a){let r=(QB.get(t.status)??9)-(QB.get(a.status)??9);return r!==0?r:t.title.localeCompare(a.title)}function JB(t,a){let r=new Map;for(let e of t){let i=r.get(a(e));i?i.push(e):r.set(a(e),[e])}return r}function GI(t){return[...JB(t,a=>a.version)].map(([a,r])=>({version:a,items:r,counts:ZB(r),goals:[...JB(r,e=>e.epic)].map(([e,i])=>({epic:e,items:i,counts:ZB(i)})).sort((e,i)=>{let o=n=>(n.counts.get("in-progress")??0)>0,l=n=>n.items.length-(n.counts.get("complete")??0);return o(e)!==o(i)?o(e)?-1:1:l(e)>0!=l(i)>0?l(e)>0?-1:1:e.epic.localeCompare(i.epic)})})).sort((a,r)=>{let e=i=>(i.counts.get("in-progress")??0)>0;return e(a)!==e(r)?e(a)?-1:1:r.version.localeCompare(a.version)})}function tV(t){return t.replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/[`*_]/g,"").trim().toLowerCase()}function qI(t,a){let r=t.split(`
|
|
45
45
|
`),e=0;if(r[0]?.trim()==="---"){let o=r.findIndex((l,n)=>n>0&&l.trim()==="---");o>0&&(e=o+1)}for(;e<r.length&&!r[e]?.trim();)e++;let i=r[e];return i?.startsWith("# ")&&tV(i.slice(2))===tV(a)&&e++,r.slice(e).join(`
|
|
46
|
-
`).trim()}function aV(t,a){let r=new Set(t);return r.has(a)?r.delete(a):r.add(a),r}function Ys(t){let a=t[t.length-1];return a?{by:a.by,quiet:a.quiet}:null}function GI({item:t,selected:a,onSelect:r}){let e=Ys(t.holders),i=Ks.get(t.status)??"fg.muted";return(0,I.jsx)(Z,{as:"button",onClick:r,w:"full",textAlign:"left",px:2.5,py:2,borderRadius:"lg",borderWidth:"1px",borderColor:a?"primary.solid":"transparent",bg:a?"bg.emphasized":"transparent",cursor:"pointer",transition:"background 120ms, border-color 120ms",_hover:{bg:a?"bg.emphasized":"bg.subtle"},children:(0,I.jsxs)(Bt,{align:"start",gap:2,children:[(0,I.jsx)(Z,{pt:1.5,children:(0,I.jsx)(y2,{color:i,hollow:t.status==="queue"})}),(0,I.jsxs)(Ht,{align:"stretch",gap:.5,flex:1,minW:0,children:[(0,I.jsx)(et,{fontSize:"sm",color:"fg",lineClamp:2,children:t.title}),(e||t.status==="blocked")&&(0,I.jsxs)(Bt,{gap:2,wrap:"wrap",children:[e&&(0,I.jsxs)(et,{fontSize:"xs",color:e.quiet?"fg.subtle":"fg.muted",children:[e.by,e.quiet?" \xB7 idle":""]}),t.status==="blocked"&&(0,I.jsx)(et,{fontSize:"xs",color:"negative.fg",children:"blocked"})]})]})]})})}function qI({goal:t,open:a,onToggle:r,selectedId:e,onSelect:i,matches:o}){let l=t.items.filter(o).sort(DI),n=t.counts.get("complete")??0,h=(t.counts.get("in-progress")??0)>0;return l.length===0?null:(0,I.jsxs)(Ht,{align:"stretch",gap:.5,children:[(0,I.jsx)(Z,{as:"button",onClick:r,textAlign:"left",cursor:"pointer",px:2.5,py:1,borderRadius:"md",_hover:{bg:"bg.subtle"},children:(0,I.jsxs)(Bt,{justify:"space-between",gap:2,children:[(0,I.jsxs)(Bt,{gap:1.5,minW:0,children:[(0,I.jsx)(et,{fontSize:"xs",color:"fg.subtle",w:3,flex:"none",children:a?"\u25BE":"\u25B8"}),(0,I.jsx)(et,{fontSize:"xs",fontWeight:"medium",color:h?"fg":"fg.muted",truncate:!0,children:t.epic})]}),(0,I.jsxs)(et,{fontSize:"xs",color:"fg.subtle",flex:"none",children:[n," of ",t.items.length]})]})}),a&&(0,I.jsx)(Ht,{align:"stretch",gap:.5,pl:3,children:l.map(c=>(0,I.jsx)(GI,{item:c,selected:c.id===e,onSelect:()=>i(c)},c.id))})]})}function rV({release:t,onToggle:a,statusFilter:r,onStatus:e}){let i=Zr.filter(o=>(t.counts.get(o.status)??0)>0);return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Z,{as:"button",onClick:a,textAlign:"left",cursor:a?"pointer":"default",px:1,_hover:a?{opacity:.8}:{},children:(0,I.jsxs)(Bt,{justify:"space-between",gap:2,children:[(0,I.jsx)(et,{fontSize:"sm",fontWeight:"semibold",color:"fg",truncate:!0,children:t.version}),(0,I.jsxs)(et,{fontSize:"xs",color:"fg.subtle",children:[t.counts.get("complete")??0," of ",t.items.length]})]})}),(0,I.jsx)(Z,{px:1,children:(0,I.jsx)(Rl,{segments:Zr.map(o=>({label:o.label,count:t.counts.get(o.status)??0,color:o.color}))})}),(0,I.jsx)(Bt,{gap:1.5,wrap:"wrap",px:1,children:i.map(o=>(0,I.jsx)(Ar,{label:o.label,count:t.counts.get(o.status)??0,color:o.color,pressed:r===o.status,dimmed:r!==null,onPress:()=>e(o.status)},o.status))})]})}function $I({release:t,open:a,onToggle:r,statusFilter:e,onStatus:i,isGoalOpen:o,onGoal:l,selectedId:n,onSelect:h,matches:c}){let d=t.goals.filter(s=>s.items.some(c));return(0,I.jsxs)(Ht,{align:"stretch",gap:2,children:[(0,I.jsx)(rV,{release:t,onToggle:r,statusFilter:e,onStatus:i}),a&&(0,I.jsx)(Ht,{align:"stretch",gap:1,children:d.length===0?(0,I.jsx)(et,{fontSize:"xs",color:"fg.subtle",px:2.5,py:1,children:"Nothing here matches."}):d.map(s=>(0,I.jsx)(qI,{goal:s,open:o(s),onToggle:()=>l(s.epic),selectedId:n,onSelect:h,matches:c},s.epic))})]})}function KI({release:t,statusFilter:a,onStatus:r,selectedGoal:e,onGoal:i,matches:o}){let l=t.goals.filter(n=>n.items.some(o));return l.length===0?null:(0,I.jsxs)(Ht,{align:"stretch",gap:2,children:[(0,I.jsx)(rV,{release:t,statusFilter:a,onStatus:r}),(0,I.jsx)(Ht,{align:"stretch",gap:.5,children:l.map(n=>{let h=n.epic===e,c=n.counts.get("complete")??0,d=(n.counts.get("in-progress")??0)>0;return(0,I.jsx)(Z,{as:"button",onClick:()=>i(n.epic),textAlign:"left",cursor:"pointer",px:2.5,py:1.5,borderRadius:"md",borderWidth:"1px",borderColor:h?"primary.solid":"transparent",bg:h?"bg.emphasized":"transparent",transition:"background 120ms, border-color 120ms",_hover:{bg:h?"bg.emphasized":"bg.subtle"},children:(0,I.jsxs)(Bt,{justify:"space-between",gap:2,children:[(0,I.jsx)(et,{fontSize:"xs",fontWeight:"medium",color:d?"fg":"fg.muted",truncate:!0,children:n.epic}),(0,I.jsxs)(et,{fontSize:"xs",color:"fg.subtle",flex:"none",children:[c," of ",n.items.length]})]})},n.epic)})})]})}function YI({item:t,onOpen:a,onClose:r,pane:e}){let i=Ys(t.holders),o=Ks.get(t.status)??"fg.muted",l=Zr.find(n=>n.status===t.status)?.label??t.status;return(0,I.jsxs)(Z,{position:{base:"fixed",md:"static"},insetInline:{base:0,md:"auto"},bottom:{base:0,md:"auto"},zIndex:{base:"modal",md:"auto"},maxH:{base:"78dvh",md:"none"},w:{base:"auto",md:e==="aside"?"420px":"auto"},flex:{base:"none",md:e==="aside"?"none":1},minW:0,minH:0,overflowY:"auto",bg:"bg.panel",borderTopWidth:{base:"1px",md:0},borderLeftWidth:{base:0,md:e==="aside"?"1px":0},borderColor:"border.subtle",borderTopRadius:{base:"xl",md:0},boxShadow:{base:"lg",md:"none"},pb:{base:"env(safe-area-inset-bottom)",md:0},children:[(0,I.jsx)(W1,{justify:"center",pt:2,pb:1,display:{base:"flex",md:"none"},children:(0,I.jsx)(Z,{w:9,h:1,borderRadius:"full",bg:"border.emphasized"})}),(0,I.jsxs)(Ht,{align:"stretch",gap:5,p:6,pt:{base:3,md:6},children:[(0,I.jsxs)(Ht,{align:"stretch",gap:2,children:[(0,I.jsxs)(Bt,{gap:2,children:[(0,I.jsx)(y2,{color:o,size:2.5}),(0,I.jsxs)(et,{fontSize:"xs",color:"fg.muted",children:[l," \xB7 ",t.priority," \xB7 ",t.version]}),(0,I.jsx)(Et.button,{type:"button","aria-label":"Close",title:"Close",ms:"auto",display:"flex",alignItems:"center",bg:"transparent",border:"none",cursor:"pointer",color:"fg.subtle",_hover:{color:"fg"},onClick:r,children:(0,I.jsx)(ZL,{size:16})})]}),(0,I.jsx)(T9,{size:"lg",color:"fg",children:t.title}),(0,I.jsx)(et,{fontSize:"xs",color:"fg.subtle",fontFamily:"mono",children:t.id})]}),i&&(0,I.jsx)(v5,{label:"On it",children:(0,I.jsxs)(et,{fontSize:"sm",color:"fg",children:[i.by,i.quiet&&(0,I.jsxs)(et,{as:"span",color:"fg.subtle",children:[" ","\u2014 no commits in over eight hours"]})]})}),t.dependsOn.length>0&&(0,I.jsx)(v5,{label:"Waiting on",children:(0,I.jsx)(Ht,{align:"stretch",gap:1,children:t.dependsOn.map(n=>(0,I.jsx)(et,{fontSize:"sm",color:"primary.fg",fontFamily:"mono",cursor:"pointer",onClick:()=>a(n),_hover:{textDecoration:"underline"},children:n},n))})}),t.owner&&(0,I.jsx)(v5,{label:"Serves",children:(0,I.jsxs)(et,{fontSize:"sm",color:"fg",children:[t.owner,t.covers.length>0&&(0,I.jsxs)(et,{as:"span",color:"fg.muted",children:[" ","\u2014 ",t.covers.join(", ")]})]})}),t.code.length>0&&(0,I.jsx)(v5,{label:"Touches",children:(0,I.jsx)(et,{fontSize:"sm",color:"fg",children:t.code.join(" \xB7 ")})}),(0,I.jsx)(Z,{borderTopWidth:"1px",borderColor:"border.subtle",pt:5,children:(0,I.jsx)(XI,{item:t,onOpen:a})})]})]})}function XI({item:t,onOpen:a}){let{data:r,refusal:e,loading:i}=q6(t.id),o=r?.brief?UI(r.brief,t.title):"";return(0,I.jsxs)(Ht,{align:"stretch",gap:3,children:[i&&(0,I.jsx)(et,{fontSize:"sm",color:"fg.subtle",children:"Reading the brief\u2026"}),e&&(0,I.jsx)(et,{fontSize:"sm",color:"negative.fg",children:e}),r&&!r.brief&&(0,I.jsx)(et,{fontSize:"sm",color:"fg.muted",children:"This item has a brief at the path below, and its text could not be read from here."}),r?.brief&&!o&&(0,I.jsx)(et,{fontSize:"sm",color:"fg.muted",children:"This brief has nothing in it yet."}),o&&(0,I.jsx)(on,{content:o,onOpen:a}),(0,I.jsx)(et,{fontSize:"xs",color:"fg.subtle",fontFamily:"mono",children:t.path})]})}function v5({label:t,children:a}){return(0,I.jsxs)(Ht,{align:"stretch",gap:1,children:[(0,I.jsx)(et,{fontSize:"xs",color:"fg.subtle",textTransform:"uppercase",letterSpacing:"wider",children:t}),a]})}function M5({onOpen:t,view:a}){let{data:r,refusal:e,loading:i}=Mc(),[o,l]=(0,K2.useState)(""),[n,h]=(0,K2.useState)(null),[c,d]=(0,K2.useState)(null),[s,p]=(0,K2.useState)(new Set),[g,u]=(0,K2.useState)(new Set),[f,z]=(0,K2.useState)(null),v=(0,K2.useMemo)(()=>NI(r?.items??[]),[r]),M=v.find(V=>(V.counts.get("in-progress")??0)>0)?.version,m=n!==null||o!=="",L=V=>{if(m)return!0;let A=V===M;return s.has(V)?!A:A},H=V=>{if(m)return!0;let A=(V.counts.get("in-progress")??0)>0;return g.has(V.epic)?!A:A},x=V=>{let A=r?.items.find(E=>E.id===V);A?d(A):t(V)},B=V=>{if(n&&V.status!==n)return!1;if(!o)return!0;let A=o.toLowerCase();return V.title.toLowerCase().includes(A)||V.id.toLowerCase().includes(A)},C=new Map;for(let V of r?.items??[])C.set(V.status,(C.get(V.status)??0)+1);let k=v.flatMap(V=>V.goals).filter(V=>V.items.some(B)),P=k.find(V=>V.epic===f)??k.find(V=>(V.counts.get("in-progress")??0)>0)??k[0],j=(P?.items??[]).filter(B).map(V=>{let A=Ys(V.holders);return{id:V.id,title:V.title,lane:V.status,color:Ks.get(V.status)??"fg.muted",hollow:V.status==="queue",...A?{note:A.quiet?`${A.by} \xB7 idle`:A.by}:{}}});return e?(0,I.jsx)($a,{variant:"card",title:"The board could not be reached",description:e}):!i&&(r?.items.length??0)===0?(0,I.jsx)($a,{variant:"card",title:"Nothing on the board",description:"This workspace has recorded no work. That is a board with nothing on it, not a board that could not be read."}):(0,I.jsxs)(W1,{direction:{base:"column",md:"row"},flex:1,minH:0,w:"full",children:[(0,I.jsxs)(W1,{direction:"column",w:{base:"full",md:a==="kanban"?"280px":"360px"},maxH:{base:a==="kanban"?"40dvh":"none",md:"none"},flex:{base:a==="kanban"?"none":1,md:"none"},minH:0,borderRightWidth:{base:0,md:"1px"},borderBottomWidth:{base:"1px",md:0},borderColor:"border.subtle",children:[(0,I.jsxs)(Ht,{align:"stretch",gap:2,p:3,pt:{base:16,md:3},borderBottomWidth:"1px",borderColor:"border.subtle",children:[(0,I.jsx)(Ii,{value:o,onChange:l,placeholder:"Filter work\u2026"}),(0,I.jsxs)(Bt,{gap:1.5,wrap:"wrap",children:[(0,I.jsx)(Ar,{label:"all",count:r?.items.length??0,pressed:n===null,onPress:()=>h(null)}),Zr.filter(V=>(C.get(V.status)??0)>0).map(V=>(0,I.jsx)(Ar,{label:V.label,count:C.get(V.status)??0,color:V.color,pressed:n===V.status,dimmed:n!==null,onPress:()=>h(n===V.status?null:V.status)},V.status))]})]}),(0,I.jsx)(Z,{flex:1,minH:0,overflowY:"auto",p:3,children:i?(0,I.jsx)(et,{fontSize:"sm",color:"fg.subtle",px:1,children:"Reading the board\u2026"}):(0,I.jsx)(Ht,{align:"stretch",gap:5,children:v.map(V=>a==="kanban"?(0,I.jsx)(KI,{release:V,statusFilter:n,onStatus:A=>h(n===A?null:A),selectedGoal:P?.epic??null,onGoal:z,matches:B},V.version):(0,I.jsx)($I,{release:V,open:L(V.version),onToggle:()=>p(A=>aV(A,V.version)),isGoalOpen:H,onGoal:A=>u(E=>aV(E,A)),statusFilter:n,onStatus:A=>h(n===A?null:A),selectedId:c?.id??null,onSelect:d,matches:B},V.version))})})]}),a==="kanban"?(0,I.jsx)(W1,{direction:"column",flex:1,minW:0,minH:0,children:i?null:P?(0,I.jsx)(El,{lanes:Zr.map(V=>({id:V.status,title:V.label,color:V.color})),cards:j,selectedId:c?.id??null,onSelect:x,empty:"Nothing in this goal matches."}):(0,I.jsx)(W1,{align:"center",justify:"center",h:"full",p:6,children:(0,I.jsx)(et,{fontSize:"sm",color:"fg.subtle",children:"Pick a goal to see its work."})})}):!c&&(0,I.jsx)(W1,{flex:1,minW:0,display:{base:"none",md:"flex"},align:"center",justify:"center",p:6,children:(0,I.jsx)(et,{fontSize:"sm",color:"fg.subtle",children:"Select something to read it."})}),c&&(0,I.jsx)(YI,{item:c,onOpen:x,onClose:()=>d(null),pane:a==="kanban"?"aside":"fill"},c.id)]})}function f5({view:t,onView:a}){let r=t==="list"?"kanban":"list",e=r==="kanban"?"Show as columns":"Show as a list";return(0,I.jsx)(Et.button,{type:"button","aria-label":e,title:e,display:"flex",alignItems:"center",justifyContent:"center",flex:"none",w:8,h:8,borderRadius:"2xl",bg:"bg.subtle",border:"none",cursor:"pointer",color:"fg.muted",_hover:{color:"fg"},onClick:()=>a(r),children:r==="kanban"?(0,I.jsx)(gc,{size:16}):(0,I.jsx)(JL,{size:16})})}var Xs={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};for(let t in Xs)Object.freeze(Xs[t]);var Y2=Object.freeze(Xs);var eV=Object.create(null);for(let t in Y2)Object.hasOwn(Y2,t)&&(eV[Y2[t]]=t);var u2={to:{},get:{}};u2.get=function(t){let a=t.slice(0,3).toLowerCase(),r,e;switch(a){case"hsl":{r=u2.get.hsl(t),e="hsl";break}case"hwb":{r=u2.get.hwb(t),e="hwb";break}default:{r=u2.get.rgb(t),e="rgb";break}}return r?{model:e,value:r}:null};u2.get.rgb=function(t){if(!t)return null;let a=/^#([a-f\d]{3,4})$/i,r=/^#([a-f\d]{6})([a-f\d]{2})?$/i,e=/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i,i=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i,o=/^(\w+)$/,l=[0,0,0,1],n,h,c;if(n=t.match(r)){for(c=n[2],n=n[1],h=0;h<3;h++){let d=h*2;l[h]=Number.parseInt(n.slice(d,d+2),16)}c&&(l[3]=Number.parseInt(c,16)/255)}else if(n=t.match(a)){for(n=n[1],c=n[3],h=0;h<3;h++)l[h]=Number.parseInt(n[h]+n[h],16);c&&(l[3]=Number.parseInt(c+c,16)/255)}else if(n=t.match(e)){for(h=0;h<3;h++)l[h]=Number.parseFloat(n[h+1]);n[4]&&(l[3]=n[5]?Number.parseFloat(n[4])*.01:Number.parseFloat(n[4]))}else if(n=t.match(i)){for(h=0;h<3;h++)l[h]=Math.round(Number.parseFloat(n[h+1])*2.55);n[4]&&(l[3]=n[5]?Number.parseFloat(n[4])*.01:Number.parseFloat(n[4]))}else return(n=t.toLowerCase().match(o))?n[1]==="transparent"?[0,0,0,0]:Object.hasOwn(Y2,n[1])?(l=Y2[n[1]].slice(),l[3]=1,l):null:null;for(h=0;h<3;h++)l[h]=tr(l[h],0,255);return l[3]=tr(l[3],0,1),l};u2.get.hsl=function(t){if(!t)return null;let a=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,r=t.match(a);if(r){let e=Number.parseFloat(r[4]),i=(Number.parseFloat(r[1])%360+360)%360,o=tr(Number.parseFloat(r[2]),0,100),l=tr(Number.parseFloat(r[3]),0,100),n=tr(Number.isNaN(e)?1:e,0,1);return[i,o,l,n]}return null};u2.get.hwb=function(t){if(!t)return null;let a=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,r=t.match(a);if(r){let e=Number.parseFloat(r[4]),i=(Number.parseFloat(r[1])%360+360)%360,o=tr(Number.parseFloat(r[2]),0,100),l=tr(Number.parseFloat(r[3]),0,100),n=tr(Number.isNaN(e)?1:e,0,1);return[i,o,l,n]}return null};u2.to.hex=function(...t){return"#"+m5(t[0])+m5(t[1])+m5(t[2])+(t[3]<1?m5(Math.round(t[3]*255)):"")};u2.to.rgb=function(...t){return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};u2.to.rgb.percent=function(...t){let a=Math.round(t[0]/255*100),r=Math.round(t[1]/255*100),e=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+a+"%, "+r+"%, "+e+"%)":"rgba("+a+"%, "+r+"%, "+e+"%, "+t[3]+")"};u2.to.hsl=function(...t){return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};u2.to.hwb=function(...t){let a="";return t.length>=4&&t[3]!==1&&(a=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+a+")"};u2.to.keyword=function(...t){return eV[t.slice(0,3)]};function tr(t,a,r){return Math.min(Math.max(a,t),r)}function m5(t){let a=Math.round(t).toString(16).toUpperCase();return a.length<2?"0"+a:a}var Jr=u2;var iV={};for(let t of Object.keys(Y2))iV[Y2[t]]=t;var Q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},da=Q,ca=(6/29)**3;function ao(t){let a=t>.0031308?1.055*t**.4166666666666667-.055:t*12.92;return Math.min(Math.max(0,a),1)}function ro(t){return t>.04045?((t+.055)/1.055)**2.4:t/12.92}for(let t of Object.keys(Q)){if(!("channels"in Q[t]))throw new Error("missing channels property: "+t);if(!("labels"in Q[t]))throw new Error("missing channel labels property: "+t);if(Q[t].labels.length!==Q[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:a,labels:r}=Q[t];delete Q[t].channels,delete Q[t].labels,Object.defineProperty(Q[t],"channels",{value:a}),Object.defineProperty(Q[t],"labels",{value:r})}Q.rgb.hsl=function(t){let a=t[0]/255,r=t[1]/255,e=t[2]/255,i=Math.min(a,r,e),o=Math.max(a,r,e),l=o-i,n,h;switch(o){case i:{n=0;break}case a:{n=(r-e)/l;break}case r:{n=2+(e-a)/l;break}case e:{n=4+(a-r)/l;break}}n=Math.min(n*60,360),n<0&&(n+=360);let c=(i+o)/2;return o===i?h=0:c<=.5?h=l/(o+i):h=l/(2-o-i),[n,h*100,c*100]};Q.rgb.hsv=function(t){let a,r,e,i,o,l=t[0]/255,n=t[1]/255,h=t[2]/255,c=Math.max(l,n,h),d=c-Math.min(l,n,h),s=function(p){return(c-p)/6/d+1/2};if(d===0)i=0,o=0;else{switch(o=d/c,a=s(l),r=s(n),e=s(h),c){case l:{i=e-r;break}case n:{i=1/3+a-e;break}case h:{i=2/3+r-a;break}}i<0?i+=1:i>1&&(i-=1)}return[i*360,o*100,c*100]};Q.rgb.hwb=function(t){let a=t[0],r=t[1],e=t[2],i=Q.rgb.hsl(t)[0],o=1/255*Math.min(a,Math.min(r,e));return e=1-1/255*Math.max(a,Math.max(r,e)),[i,o*100,e*100]};Q.rgb.oklab=function(t){let a=ro(t[0]/255),r=ro(t[1]/255),e=ro(t[2]/255),i=Math.cbrt(.4122214708*a+.5363325363*r+.0514459929*e),o=Math.cbrt(.2119034982*a+.6806995451*r+.1073969566*e),l=Math.cbrt(.0883024619*a+.2817188376*r+.6299787005*e),n=.2104542553*i+.793617785*o-.0040720468*l,h=1.9779984951*i-2.428592205*o+.4505937099*l,c=.0259040371*i+.7827717662*o-.808675766*l;return[n*100,h*100,c*100]};Q.rgb.cmyk=function(t){let a=t[0]/255,r=t[1]/255,e=t[2]/255,i=Math.min(1-a,1-r,1-e),o=(1-a-i)/(1-i)||0,l=(1-r-i)/(1-i)||0,n=(1-e-i)/(1-i)||0;return[o*100,l*100,n*100,i*100]};function rD(t,a){return(t[0]-a[0])**2+(t[1]-a[1])**2+(t[2]-a[2])**2}Q.rgb.keyword=function(t){let a=iV[t];if(a)return a;let r=Number.POSITIVE_INFINITY,e;for(let i of Object.keys(Y2)){let o=Y2[i],l=rD(t,o);l<r&&(r=l,e=i)}return e};Q.keyword.rgb=function(t){return[...Y2[t]]};Q.rgb.xyz=function(t){let a=ro(t[0]/255),r=ro(t[1]/255),e=ro(t[2]/255),i=a*.4124564+r*.3575761+e*.1804375,o=a*.2126729+r*.7151522+e*.072175,l=a*.0193339+r*.119192+e*.9503041;return[i*100,o*100,l*100]};Q.rgb.lab=function(t){let a=Q.rgb.xyz(t),r=a[0],e=a[1],i=a[2];r/=95.047,e/=100,i/=108.883,r=r>ca?r**(1/3):7.787*r+16/116,e=e>ca?e**(1/3):7.787*e+16/116,i=i>ca?i**(1/3):7.787*i+16/116;let o=116*e-16,l=500*(r-e),n=200*(e-i);return[o,l,n]};Q.hsl.rgb=function(t){let a=t[0]/360,r=t[1]/100,e=t[2]/100,i,o;if(r===0)return o=e*255,[o,o,o];let l=e<.5?e*(1+r):e+r-e*r,n=2*e-l,h=[0,0,0];for(let c=0;c<3;c++)i=a+1/3*-(c-1),i<0&&i++,i>1&&i--,6*i<1?o=n+(l-n)*6*i:2*i<1?o=l:3*i<2?o=n+(l-n)*(2/3-i)*6:o=n,h[c]=o*255;return h};Q.hsl.hsv=function(t){let a=t[0],r=t[1]/100,e=t[2]/100,i=r,o=Math.max(e,.01);e*=2,r*=e<=1?e:2-e,i*=o<=1?o:2-o;let l=(e+r)/2,n=e===0?2*i/(o+i):2*r/(e+r);return[a,n*100,l*100]};Q.hsv.rgb=function(t){let a=t[0]/60,r=t[1]/100,e=t[2]/100,i=Math.floor(a)%6,o=a-Math.floor(a),l=255*e*(1-r),n=255*e*(1-r*o),h=255*e*(1-r*(1-o));switch(e*=255,i){case 0:return[e,h,l];case 1:return[n,e,l];case 2:return[l,e,h];case 3:return[l,n,e];case 4:return[h,l,e];case 5:return[e,l,n]}};Q.hsv.hsl=function(t){let a=t[0],r=t[1]/100,e=t[2]/100,i=Math.max(e,.01),o,l;l=(2-r)*e;let n=(2-r)*i;return o=r*i,o/=n<=1?n:2-n,o=o||0,l/=2,[a,o*100,l*100]};Q.hwb.rgb=function(t){let a=t[0]/360,r=t[1]/100,e=t[2]/100,i=r+e,o;i>1&&(r/=i,e/=i);let l=Math.floor(6*a),n=1-e;o=6*a-l,(l&1)!==0&&(o=1-o);let h=r+o*(n-r),c,d,s;switch(l){default:case 6:case 0:{c=n,d=h,s=r;break}case 1:{c=h,d=n,s=r;break}case 2:{c=r,d=n,s=h;break}case 3:{c=r,d=h,s=n;break}case 4:{c=h,d=r,s=n;break}case 5:{c=n,d=r,s=h;break}}return[c*255,d*255,s*255]};Q.cmyk.rgb=function(t){let a=t[0]/100,r=t[1]/100,e=t[2]/100,i=t[3]/100,o=1-Math.min(1,a*(1-i)+i),l=1-Math.min(1,r*(1-i)+i),n=1-Math.min(1,e*(1-i)+i);return[o*255,l*255,n*255]};Q.xyz.rgb=function(t){let a=t[0]/100,r=t[1]/100,e=t[2]/100,i,o,l;return i=a*3.2404542+r*-1.5371385+e*-.4985314,o=a*-.969266+r*1.8760108+e*.041556,l=a*.0556434+r*-.2040259+e*1.0572252,i=ao(i),o=ao(o),l=ao(l),[i*255,o*255,l*255]};Q.xyz.lab=function(t){let a=t[0],r=t[1],e=t[2];a/=95.047,r/=100,e/=108.883,a=a>ca?a**(1/3):7.787*a+16/116,r=r>ca?r**(1/3):7.787*r+16/116,e=e>ca?e**(1/3):7.787*e+16/116;let i=116*r-16,o=500*(a-r),l=200*(r-e);return[i,o,l]};Q.xyz.oklab=function(t){let a=t[0]/100,r=t[1]/100,e=t[2]/100,i=Math.cbrt(.8189330101*a+.3618667424*r-.1288597137*e),o=Math.cbrt(.0329845436*a+.9293118715*r+.0361456387*e),l=Math.cbrt(.0482003018*a+.2643662691*r+.633851707*e),n=.2104542553*i+.793617785*o-.0040720468*l,h=1.9779984951*i-2.428592205*o+.4505937099*l,c=.0259040371*i+.7827717662*o-.808675766*l;return[n*100,h*100,c*100]};Q.oklab.oklch=function(t){return Q.lab.lch(t)};Q.oklab.xyz=function(t){let a=t[0]/100,r=t[1]/100,e=t[2]/100,i=(.999999998*a+.396337792*r+.215803758*e)**3,o=(1.000000008*a-.105561342*r-.063854175*e)**3,l=(1.000000055*a-.089484182*r-1.291485538*e)**3,n=1.227013851*i-.55779998*o+.281256149*l,h=-.040580178*i+1.11225687*o-.071676679*l,c=-.076381285*i-.421481978*o+1.58616322*l;return[n*100,h*100,c*100]};Q.oklab.rgb=function(t){let a=t[0]/100,r=t[1]/100,e=t[2]/100,i=(a+.3963377774*r+.2158037573*e)**3,o=(a-.1055613458*r-.0638541728*e)**3,l=(a-.0894841775*r-1.291485548*e)**3,n=ao(4.0767416621*i-3.3077115913*o+.2309699292*l),h=ao(-1.2684380046*i+2.6097574011*o-.3413193965*l),c=ao(-.0041960863*i-.7034186147*o+1.707614701*l);return[n*255,h*255,c*255]};Q.oklch.oklab=function(t){return Q.lch.lab(t)};Q.lab.xyz=function(t){let a=t[0],r=t[1],e=t[2],i,o,l;o=(a+16)/116,i=r/500+o,l=o-e/200;let n=o**3,h=i**3,c=l**3;return o=n>ca?n:(o-16/116)/7.787,i=h>ca?h:(i-16/116)/7.787,l=c>ca?c:(l-16/116)/7.787,i*=95.047,o*=100,l*=108.883,[i,o,l]};Q.lab.lch=function(t){let a=t[0],r=t[1],e=t[2],i;i=Math.atan2(e,r)*360/2/Math.PI,i<0&&(i+=360);let l=Math.sqrt(r*r+e*e);return[a,l,i]};Q.lch.lab=function(t){let a=t[0],r=t[1],i=t[2]/360*2*Math.PI,o=r*Math.cos(i),l=r*Math.sin(i);return[a,o,l]};Q.rgb.ansi16=function(t,a=null){let[r,e,i]=t,o=a===null?Q.rgb.hsv(t)[2]:a;if(o=Math.round(o/50),o===0)return 30;let l=30+(Math.round(i/255)<<2|Math.round(e/255)<<1|Math.round(r/255));return o===2&&(l+=60),l};Q.hsv.ansi16=function(t){return Q.rgb.ansi16(Q.hsv.rgb(t),t[2])};Q.rgb.ansi256=function(t){let a=t[0],r=t[1],e=t[2];return a>>4===r>>4&&r>>4===e>>4?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(r/255*5)+Math.round(e/255*5)};Q.ansi16.rgb=function(t){t=t[0];let a=t%10;if(a===0||a===7)return t>50&&(a+=3.5),a=a/10.5*255,[a,a,a];let r=(Math.trunc(t>50)+1)*.5,e=(a&1)*r*255,i=(a>>1&1)*r*255,o=(a>>2&1)*r*255;return[e,i,o]};Q.ansi256.rgb=function(t){if(t=t[0],t>=232){let o=(t-232)*10+8;return[o,o,o]}t-=16;let a,r=Math.floor(t/36)/5*255,e=Math.floor((a=t%36)/6)/5*255,i=a%6/5*255;return[r,e,i]};Q.rgb.hex=function(t){let r=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".slice(r.length)+r};Q.hex.rgb=function(t){let a=t.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!a)return[0,0,0];let r=a[0];a[0].length===3&&(r=[...r].map(n=>n+n).join(""));let e=Number.parseInt(r,16),i=e>>16&255,o=e>>8&255,l=e&255;return[i,o,l]};Q.rgb.hcg=function(t){let a=t[0]/255,r=t[1]/255,e=t[2]/255,i=Math.max(Math.max(a,r),e),o=Math.min(Math.min(a,r),e),l=i-o,n,h=l<1?o/(1-l):0;return l<=0?n=0:i===a?n=(r-e)/l%6:i===r?n=2+(e-a)/l:n=4+(a-r)/l,n/=6,n%=1,[n*360,l*100,h*100]};Q.hsl.hcg=function(t){let a=t[1]/100,r=t[2]/100,e=r<.5?2*a*r:2*a*(1-r),i=0;return e<1&&(i=(r-.5*e)/(1-e)),[t[0],e*100,i*100]};Q.hsv.hcg=function(t){let a=t[1]/100,r=t[2]/100,e=a*r,i=0;return e<1&&(i=(r-e)/(1-e)),[t[0],e*100,i*100]};Q.hcg.rgb=function(t){let a=t[0]/360,r=t[1]/100,e=t[2]/100;if(r===0)return[e*255,e*255,e*255];let i=[0,0,0],o=a%1*6,l=o%1,n=1-l,h=0;switch(Math.floor(o)){case 0:{i[0]=1,i[1]=l,i[2]=0;break}case 1:{i[0]=n,i[1]=1,i[2]=0;break}case 2:{i[0]=0,i[1]=1,i[2]=l;break}case 3:{i[0]=0,i[1]=n,i[2]=1;break}case 4:{i[0]=l,i[1]=0,i[2]=1;break}default:i[0]=1,i[1]=0,i[2]=n}return h=(1-r)*e,[(r*i[0]+h)*255,(r*i[1]+h)*255,(r*i[2]+h)*255]};Q.hcg.hsv=function(t){let a=t[1]/100,r=t[2]/100,e=a+r*(1-a),i=0;return e>0&&(i=a/e),[t[0],i*100,e*100]};Q.hcg.hsl=function(t){let a=t[1]/100,e=t[2]/100*(1-a)+.5*a,i=0;return e>0&&e<.5?i=a/(2*e):e>=.5&&e<1&&(i=a/(2*(1-e))),[t[0],i*100,e*100]};Q.hcg.hwb=function(t){let a=t[1]/100,r=t[2]/100,e=a+r*(1-a);return[t[0],(e-a)*100,(1-e)*100]};Q.hwb.hcg=function(t){let a=t[1]/100,e=1-t[2]/100,i=e-a,o=0;return i<1&&(o=(e-i)/(1-i)),[t[0],i*100,o*100]};Q.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};Q.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};Q.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};Q.gray.hsl=function(t){return[0,0,t[0]]};Q.gray.hsv=Q.gray.hsl;Q.gray.hwb=function(t){return[0,100,t[0]]};Q.gray.cmyk=function(t){return[0,0,0,t[0]]};Q.gray.lab=function(t){return[t[0],0,0]};Q.gray.hex=function(t){let a=Math.round(t[0]/100*255)&255,e=((a<<16)+(a<<8)+a).toString(16).toUpperCase();return"000000".slice(e.length)+e};Q.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function eD(){let t={},a=Object.keys(da);for(let{length:r}=a,e=0;e<r;e++)t[a[e]]={distance:-1,parent:null};return t}function iD(t){let a=eD(),r=[t];for(a[t].distance=0;r.length>0;){let e=r.pop(),i=Object.keys(da[e]);for(let{length:o}=i,l=0;l<o;l++){let n=i[l],h=a[n];h.distance===-1&&(h.distance=a[e].distance+1,h.parent=e,r.unshift(n))}}return a}function oD(t,a){return function(r){return a(t(r))}}function lD(t,a){let r=[a[t].parent,t],e=da[a[t].parent][t],i=a[t].parent;for(;a[i].parent;)r.unshift(a[i].parent),e=oD(da[a[i].parent][i],e),i=a[i].parent;return e.conversion=r,e}function nD(t){let a=iD(t),r={},e=Object.keys(a);for(let{length:i}=e,o=0;o<i;o++){let l=e[o];a[l].parent!==null&&(r[l]=lD(l,a))}return r}var oV=nD;var eo={},hD=Object.keys(da);function cD(t){let a=function(...r){let e=r[0];return e==null?e:(e.length>1&&(r=e),t(r))};return"conversion"in t&&(a.conversion=t.conversion),a}function dD(t){let a=function(...r){let e=r[0];if(e==null)return e;e.length>1&&(r=e);let i=t(r);if(typeof i=="object")for(let{length:o}=i,l=0;l<o;l++)i[l]=Math.round(i[l]);return i};return"conversion"in t&&(a.conversion=t.conversion),a}for(let t of hD){eo[t]={},Object.defineProperty(eo[t],"channels",{value:da[t].channels}),Object.defineProperty(eo[t],"labels",{value:da[t].labels});let a=oV(t),r=Object.keys(a);for(let e of r){let i=a[e];eo[t][e]=dD(i),eo[t][e].raw=cD(i)}}var M2=eo;var lV=["keyword","gray","hex"],Qs={};for(let t of Object.keys(M2))Qs[[...M2[t].labels].sort().join("")]=t;var Zs={};function O1(t,a){if(!(this instanceof O1))return new O1(t,a);if(a&&a in lV&&(a=null),a&&!(a in M2))throw new Error("Unknown model: "+a);let r,e;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof O1)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){let i=Jr.get(t);if(i===null)throw new Error("Unable to parse color from string: "+t);this.model=i.model,e=M2[this.model].channels,this.color=i.value.slice(0,e),this.valpha=typeof i.value[e]=="number"?i.value[e]:1}else if(t.length>0){this.model=a||"rgb",e=M2[this.model].channels;let i=Array.prototype.slice.call(t,0,e);this.color=Js(i,e),this.valpha=typeof t[e]=="number"?t[e]:1}else if(typeof t=="number")this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;let i=Object.keys(t);"alpha"in t&&(i.splice(i.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);let o=i.sort().join("");if(!(o in Qs))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=Qs[o];let{labels:l}=M2[this.model],n=[];for(r=0;r<l.length;r++)n.push(t[l[r]]);this.color=Js(n)}if(Zs[this.model])for(e=M2[this.model].channels,r=0;r<e;r++){let i=Zs[this.model][r];i&&(this.color[r]=i(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}O1.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let a=this.model in Jr.to?this:this.rgb();a=a.round(typeof t=="number"?t:1);let r=a.valpha===1?a.color:[...a.color,this.valpha];return Jr.to[a.model](...r)},percentString(t){let a=this.rgb().round(typeof t=="number"?t:1),r=a.valpha===1?a.color:[...a.color,this.valpha];return Jr.to.rgb.percent(...r)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){let t={},{channels:a}=M2[this.model],{labels:r}=M2[this.model];for(let e=0;e<a;e++)t[r[e]]=this.color[e];return this.valpha!==1&&(t.alpha=this.valpha),t},unitArray(){let t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,this.valpha!==1&&t.push(this.valpha),t},unitObject(){let t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,this.valpha!==1&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new O1([...this.color.map(pD(t)),this.valpha],this.model)},alpha(t){return t!==void 0?new O1([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:i1("rgb",0,L1(255)),green:i1("rgb",1,L1(255)),blue:i1("rgb",2,L1(255)),hue:i1(["hsl","hsv","hsl","hwb","hcg"],0,t=>(t%360+360)%360),saturationl:i1("hsl",1,L1(100)),lightness:i1("hsl",2,L1(100)),saturationv:i1("hsv",1,L1(100)),value:i1("hsv",2,L1(100)),chroma:i1("hcg",1,L1(100)),gray:i1("hcg",2,L1(100)),white:i1("hwb",1,L1(100)),wblack:i1("hwb",2,L1(100)),cyan:i1("cmyk",0,L1(100)),magenta:i1("cmyk",1,L1(100)),yellow:i1("cmyk",2,L1(100)),black:i1("cmyk",3,L1(100)),x:i1("xyz",0,L1(95.047)),y:i1("xyz",1,L1(100)),z:i1("xyz",2,L1(108.833)),l:i1("lab",0,L1(100)),a:i1("lab",1),b:i1("lab",2),keyword(t){return t!==void 0?new O1(t):M2[this.model].keyword(this.color)},hex(t){return t!==void 0?new O1(t):Jr.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new O1(t);let a=this.rgb().round().color,r=Math.round(this.valpha*255).toString(16).toUpperCase();return r.length===1&&(r="0"+r),Jr.to.hex(...a)+r},rgbNumber(){let t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){let t=this.rgb().color,a=[];for(let[r,e]of t.entries()){let i=e/255;a[r]=i<=.04045?i/12.92:((i+.055)/1.055)**2.4}return .2126*a[0]+.7152*a[1]+.0722*a[2]},contrast(t){let a=this.luminosity(),r=t.luminosity();return a>r?(a+.05)/(r+.05):(r+.05)/(a+.05)},level(t){let a=this.contrast(t);return a>=7?"AAA":a>=4.5?"AA":""},isDark(){let t=this.rgb().color;return(t[0]*2126+t[1]*7152+t[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let t=this.rgb();for(let a=0;a<3;a++)t.color[a]=255-t.color[a];return t},lighten(t){let a=this.hsl();return a.color[2]+=a.color[2]*t,a},darken(t){let a=this.hsl();return a.color[2]-=a.color[2]*t,a},saturate(t){let a=this.hsl();return a.color[1]+=a.color[1]*t,a},desaturate(t){let a=this.hsl();return a.color[1]-=a.color[1]*t,a},whiten(t){let a=this.hwb();return a.color[1]+=a.color[1]*t,a},blacken(t){let a=this.hwb();return a.color[2]+=a.color[2]*t,a},grayscale(){let t=this.rgb().color,a=t[0]*.3+t[1]*.59+t[2]*.11;return O1.rgb(a,a,a)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){let a=this.hsl(),r=a.color[0];return r=(r+t)%360,r=r<0?360+r:r,a.color[0]=r,a},mix(t,a){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);let r=t.rgb(),e=this.rgb(),i=a===void 0?.5:a,o=2*i-1,l=r.alpha()-e.alpha(),n=((o*l===-1?o:(o+l)/(1+o*l))+1)/2,h=1-n;return O1.rgb(n*r.red()+h*e.red(),n*r.green()+h*e.green(),n*r.blue()+h*e.blue(),r.alpha()*i+e.alpha()*(1-i))}};for(let t of Object.keys(M2)){if(lV.includes(t))continue;let{channels:a}=M2[t];O1.prototype[t]=function(...r){return this.model===t?new O1(this):r.length>0?new O1(r,t):new O1([...gD(M2[this.model][t].raw(this.color)),this.valpha],t)},O1[t]=function(...r){let e=r[0];return typeof e=="number"&&(e=Js(r,a)),new O1(e,t)}}function sD(t,a){return Number(t.toFixed(a))}function pD(t){return function(a){return sD(a,t)}}function i1(t,a,r){t=Array.isArray(t)?t:[t];for(let e of t)(Zs[e]||=[])[a]=r;return t=t[0],function(e){let i;return e!==void 0?(r&&(e=r(e)),i=this[t](),i.color[a]=e,i):(i=this[t]().color[a],r&&(i=r(i)),i)}}function L1(t){return function(a){return Math.max(0,Math.min(t,a))}}function gD(t){return Array.isArray(t)?t:[t]}function Js(t,a){for(let r=0;r<a;r++)typeof t[r]!="number"&&(t[r]=0);return t}var t8=O1;function x5(t,a){try{let r=t8(t),e=r.lightness();return{50:{value:r.lightness(Math.min(e+45,98)).hex()},100:{value:r.lightness(Math.min(e+38,95)).hex()},200:{value:r.lightness(Math.min(e+30,90)).hex()},300:{value:r.lightness(Math.min(e+20,80)).hex()},400:{value:r.lightness(Math.min(e+10,70)).hex()},500:{value:r.hex()},600:{value:r.lightness(Math.max(e-10,40)).hex()},700:{value:r.lightness(Math.max(e-20,30)).hex()},800:{value:r.lightness(Math.max(e-30,20)).hex()},900:{value:r.lightness(Math.max(e-38,12)).hex()},950:{value:r.lightness(Math.max(e-45,8)).hex()}}}catch(r){throw console.error(`Error generating color palette for ${a||t}:`,r),new Error(`Invalid color format: ${t}. Please provide a valid hex, rgb, hsl, or color name.`)}}function z5(t){try{return t8(t),!0}catch{return!1}}function vD(t,a){let{paletteName:r,contrastColor:e="white",contrastColorDark:i}=a,o=i||e,l=r==="yellow",n=t==="warning",h=l?`{colors.${r}.600}`:`{colors.${r}.500}`,c=`{colors.${r}.500}`,d=n?`{colors.${r}.950}`:l?"white":e,s=n||l?`{colors.${r}.950}`:o,p=l?`{colors.${r}.700}`:`{colors.${r}.700}`,g=l?`{colors.${r}.400}`:`{colors.${r}.400}`,u=l?`{colors.${r}.700}`:`{colors.${r}.600}`;return{solid:{value:{base:h,_dark:c},description:`${t} solid background color`},contrast:{value:{base:d,_dark:s},description:`Contrast text color on ${t} solid background`},fg:{value:{base:p,_dark:g},description:`${t} foreground/text color`},muted:{value:{base:`{colors.${r}.100}`,_dark:`{colors.${r}.900}`},description:`${t} muted background`},subtle:{value:{base:`{colors.${r}.50}`,_dark:`{colors.${r}.950}`},description:`${t} subtle background`},emphasized:{value:{base:u,_dark:`{colors.${r}.600}`},description:`${t} emphasized color`},focusRing:{value:{base:h,_dark:c},description:`${t} focus ring color`}}}var uD={primary:"purple",secondary:"teal",positive:"green",negative:"red",warning:"yellow",neutral:"gray"};function nV(t){let a={...uD,...t},r={};for(let[e,i]of Object.entries(a))r[e]=vD(e,{paletteName:i});return r}var k5={0:{value:"0px"},1:{value:"4px"},2:{value:"8px"},3:{value:"12px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},10:{value:"40px"},12:{value:"48px"},16:{value:"64px"},20:{value:"80px"},24:{value:"96px"},32:{value:"128px"},40:{value:"160px"},48:{value:"192px"},56:{value:"224px"},64:{value:"256px"}},L5={"2xs":{value:"10px"},xs:{value:"12px"},sm:{value:"14px"},md:{value:"16px"},lg:{value:"18px"},xl:{value:"20px"},"2xl":{value:"24px"},"3xl":{value:"32px"},"4xl":{value:"36px"},"5xl":{value:"48px"},"6xl":{value:"64px"}},w5={normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800}},b5={3:{value:"12px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},tight:{value:1.25},snug:{value:1.375},normal:{value:1.5},relaxed:{value:1.625},loose:{value:2}},p0={purple:{50:{value:"#f0eaf9"},100:{value:"#ddd2ef"},200:{value:"#beadd9"},300:{value:"#9d8acc"},400:{value:"#8b73bd"},500:{value:"#7159a3"},600:{value:"#5d4889"},700:{value:"#483a70"},800:{value:"#3d325d"},900:{value:"#322949"},950:{value:"#2c2443"}},teal:{50:{value:"#e3f3ef"},100:{value:"#c9e8e0"},200:{value:"#99d2c4"},300:{value:"#6dc0a9"},400:{value:"#5fb09c"},500:{value:"#4d9483"},600:{value:"#3e7c6c"},700:{value:"#346458"},800:{value:"#2d5650"},900:{value:"#264540"},950:{value:"#213833"}},gray:{25:{value:"#FCFCFC"},50:{value:"#FAFAFA"},100:{value:"#F5F5F5"},200:{value:"#E5E5E5"},300:{value:"#D4D4D4"},400:{value:"#A3A3A3"},500:{value:"#737373"},600:{value:"#525252"},700:{value:"#404040"},800:{value:"#262626"},850:{value:"#1A1A1A"},900:{value:"#171717"},950:{value:"#0D0D0D"}},green:{50:{value:"#e6f5ea"},100:{value:"#cce8d2"},200:{value:"#a4d4ad"},300:{value:"#7fbd8e"},400:{value:"#6cb380"},500:{value:"#59986a"},600:{value:"#498057"},700:{value:"#3c6948"},800:{value:"#335939"},900:{value:"#294a30"},950:{value:"#233c28"}},red:{50:{value:"#faddde"},100:{value:"#f4c0c0"},200:{value:"#e69191"},300:{value:"#d66c6c"},400:{value:"#c75252"},500:{value:"#ab3e3e"},600:{value:"#903131"},700:{value:"#762828"},800:{value:"#632222"},900:{value:"#511c1c"},950:{value:"#441616"}},yellow:{50:{value:"#f9f1e0"},100:{value:"#f4e3c0"},200:{value:"#ebcd92"},300:{value:"#ddb462"},400:{value:"#c79e3f"},500:{value:"#a78023"},600:{value:"#8b6a1d"},700:{value:"#715718"},800:{value:"#604a16"},900:{value:"#4f3d14"},950:{value:"#423110"}},cyan:{50:{value:"#e6f3f7"},100:{value:"#cce8ee"},200:{value:"#a3d3dc"},300:{value:"#79bccc"},400:{value:"#5da5ba"},500:{value:"#4a899c"},600:{value:"#3d7280"},700:{value:"#335d68"},800:{value:"#2c5057"},900:{value:"#244147"},950:{value:"#1d363c"}},blue:{50:{value:"#ecf1f8"},100:{value:"#d9e2ef"},200:{value:"#b9c5dc"},300:{value:"#99a7cc"},400:{value:"#8a97bd"},500:{value:"#6675a3"},600:{value:"#4e5e89"},700:{value:"#3c4870"},800:{value:"#353e5d"},900:{value:"#2c3349"},950:{value:"#2a3043"}}},H5={xs:{value:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},sm:{value:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"},md:{value:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"},lg:{value:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},xl:{value:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"},"2xl":{value:"0 25px 50px -12px rgb(0 0 0 / 0.25)"},inner:{value:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},none:{value:"0 0 #0000"},glass:{value:"0 8px 32px rgba(15, 10, 46, 0.15)"},elevated:{value:"0 4px 20px rgba(15, 10, 46, 0.1), 0 1px 3px rgba(15, 10, 46, 0.08)"},dramatic:{value:"0 20px 40px rgba(15, 10, 46, 0.2)"}},C5={none:{value:"0px"},sm:{value:"2px"},md:{value:"6px"},lg:{value:"8px"},xl:{value:"12px"},"2xl":{value:"16px"},"3xl":{value:"24px"},full:{value:"9999px"}},B5={hide:{value:-1},auto:{value:"auto"},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipLink:{value:1600},toast:{value:1700},tooltip:{value:1800}},V5={colors:{bg:{DEFAULT:{value:{base:"white",_dark:"{colors.gray.950}"},description:"Default page background"},canvas:{value:{base:"{colors.gray.100}",_dark:"#0A0A0A"},description:"Canvas background \u2014 gutter behind floating panels"},canvasDeep:{value:{base:"#EEEEEE",_dark:"#050505"},description:"Deeper canvas for maximum elevation contrast"},surface:{value:{base:"white",_dark:"{colors.gray.900}"},description:"Surface background for cards, panels"},panel:{value:{base:"white",_dark:"{colors.gray.900}"},description:"Panel background \u2014 floating sidebar + right panel"},subtle:{value:{base:"{colors.gray.100}",_dark:"{colors.gray.850}"},description:"Subtle background"},muted:{value:{base:"{colors.gray.200}",_dark:"{colors.gray.800}"},description:"Muted background"},emphasized:{value:{base:"{colors.gray.300}",_dark:"{colors.gray.700}"},description:"Emphasized background"}},fg:{DEFAULT:{value:{base:"#0A0A0A",_dark:"{colors.gray.100}"},description:"Default text color"},muted:{value:{base:"{colors.gray.700}",_dark:"{colors.gray.400}"},description:"Muted text"},subtle:{value:{base:"{colors.gray.500}",_dark:"{colors.gray.500}"},description:"Subtle text"},disabled:{value:{base:"{colors.gray.400}",_dark:"{colors.gray.600}"},description:"Disabled text"}},border:{DEFAULT:{value:{base:"{colors.gray.200}",_dark:"{colors.gray.700}"},description:"Default border"},subtle:{value:{base:"{colors.gray.200}",_dark:"{colors.gray.800}"},description:"Subtle border"},muted:{value:{base:"{colors.gray.300}",_dark:"{colors.gray.700}"},description:"Muted border"},emphasized:{value:{base:"{colors.gray.400}",_dark:"{colors.gray.600}"},description:"Emphasized border"}},positive:{solid:{value:{base:"{colors.green.500}",_dark:"{colors.green.500}"},description:"Positive solid"},contrast:{value:{base:"white",_dark:"white"},description:"Positive contrast"},fg:{value:{base:"{colors.green.700}",_dark:"{colors.green.400}"},description:"Positive foreground"},muted:{value:{base:"{colors.green.100}",_dark:"{colors.green.900}"},description:"Positive muted"},subtle:{value:{base:"{colors.green.50}",_dark:"{colors.green.950}"},description:"Positive subtle"},emphasized:{value:{base:"{colors.green.600}",_dark:"{colors.green.600}"},description:"Positive emphasized"}},negative:{solid:{value:{base:"{colors.red.500}",_dark:"{colors.red.500}"},description:"Negative solid"},contrast:{value:{base:"white",_dark:"white"},description:"Negative contrast"},fg:{value:{base:"{colors.red.700}",_dark:"{colors.red.400}"},description:"Negative foreground"},muted:{value:{base:"{colors.red.100}",_dark:"{colors.red.900}"},description:"Negative muted"},subtle:{value:{base:"{colors.red.50}",_dark:"{colors.red.950}"},description:"Negative subtle"},emphasized:{value:{base:"{colors.red.600}",_dark:"{colors.red.600}"},description:"Negative emphasized"}},warning:{solid:{value:{base:"{colors.yellow.500}",_dark:"{colors.yellow.500}"},description:"Warning solid"},contrast:{value:{base:"{colors.yellow.950}",_dark:"{colors.yellow.950}"},description:"Warning contrast"},fg:{value:{base:"{colors.yellow.700}",_dark:"{colors.yellow.400}"},description:"Warning foreground"},muted:{value:{base:"{colors.yellow.100}",_dark:"{colors.yellow.900}"},description:"Warning muted"},subtle:{value:{base:"{colors.yellow.50}",_dark:"{colors.yellow.950}"},description:"Warning subtle"},emphasized:{value:{base:"{colors.yellow.600}",_dark:"{colors.yellow.600}"},description:"Warning emphasized"}},info:{solid:{value:{base:"{colors.blue.500}",_dark:"{colors.blue.500}"},description:"Info solid"},contrast:{value:{base:"white",_dark:"white"},description:"Info contrast"},fg:{value:{base:"{colors.blue.700}",_dark:"{colors.blue.400}"},description:"Info foreground"},muted:{value:{base:"{colors.blue.100}",_dark:"{colors.blue.900}"},description:"Info muted"},subtle:{value:{base:"{colors.blue.50}",_dark:"{colors.blue.950}"},description:"Info subtle"},emphasized:{value:{base:"{colors.blue.600}",_dark:"{colors.blue.600}"},description:"Info emphasized"}}}};var a8=rt({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",rounded:"full"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},outline:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg",bg:"transparent",_hover:{bg:"colorPalette.subtle"}},ghost:{color:"colorPalette.fg",bg:"transparent",_hover:{bg:"colorPalette.subtle"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},surface:{bg:"bg.surface",color:"fg.default",borderWidth:"1px",borderColor:"border.default"}},size:{xs:{px:"3",py:"1",fontSize:"xs",h:"7"},sm:{px:"4",py:"2",fontSize:"sm",h:"8"},md:{px:"6",py:"2",fontSize:"md",h:"10"},lg:{px:"8",py:"2",fontSize:"lg",h:"12"},xl:{px:"10",py:"3",fontSize:"xl",h:"14"}}},defaultVariants:{variant:"solid",size:"md"}});var r8=rt({base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",rounded:"full",gap:"2"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg",bg:"transparent"},surface:{bg:"bg.muted",color:"fg.default",borderWidth:"1px",borderColor:"border.default"}},size:{xs:{px:"2",py:"0",fontSize:"xs",h:"4"},sm:{px:"3",py:"0",fontSize:"xs",h:"5"},md:{px:"3",py:"1",fontSize:"xs",h:"6"},lg:{px:"4",py:"1",fontSize:"sm",h:"7"}}},defaultVariants:{variant:"subtle",size:"md"}});var e8=rt({base:{width:"100%",rounded:"lg",borderColor:"border.default",color:"fg.default",bg:"transparent",_placeholder:{color:"fg.muted"}},variants:{variant:{outline:{borderWidth:"1px",borderColor:"border.default",bg:"bg.surface"},filled:{bg:"bg.muted",borderWidth:"0"},flushed:{borderWidth:"0",borderBottomWidth:"1px",borderRadius:"0",px:"0"},subtle:{bg:"bg.subtle",borderWidth:"0"}},size:{sm:{px:"3",py:"1.5",fontSize:"md",h:"8"},md:{px:"3.5",py:"2",fontSize:"md",h:"10"},lg:{px:"4",py:"2.5",fontSize:"md",h:"12"}}},defaultVariants:{variant:"outline",size:"md"}});var i8=rt({base:{width:"100%",rounded:"lg",borderColor:"border.default",color:"fg.default",bg:"transparent"},variants:{variant:{outline:{borderWidth:"1px",borderColor:"border.default"},filled:{bg:"bg.muted",borderWidth:"0"},flushed:{borderWidth:"0",borderBottomWidth:"1px",borderRadius:"0",px:"0"},subtle:{bg:"bg.subtle",borderWidth:"0"}},size:{sm:{px:"3",py:"1.5",fontSize:"sm",h:"8"},md:{px:"3.5",py:"2",fontSize:"sm",h:"10"},lg:{px:"4",py:"2.5",fontSize:"md",h:"12"}}},defaultVariants:{variant:"outline",size:"md"}});var o8=rt({base:{borderColor:"border.subtle"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},orientation:{horizontal:{borderBottomWidth:"1px",width:"100%"},vertical:{borderRightWidth:"1px",height:"100%"}}},defaultVariants:{variant:"solid",orientation:"horizontal"}});var l8=rt({base:{display:"flex",flexDirection:"row",alignItems:"center",gap:"4"},variants:{gap:{none:{gap:"0"},xs:{gap:"1"},sm:{gap:"2"},md:{gap:"4"},lg:{gap:"6"},xl:{gap:"8"}}},defaultVariants:{gap:"md"}});var n8=rt({base:{display:"flex",flexDirection:"column",alignItems:"stretch",gap:"4"},variants:{gap:{none:{gap:"0"},xs:{gap:"1"},sm:{gap:"2"},md:{gap:"4"},lg:{gap:"6"},xl:{gap:"8"}}},defaultVariants:{gap:"md"}});var h8=rt({base:{display:"flex",gap:"4"},variants:{direction:{row:{flexDirection:"row"},column:{flexDirection:"column"},rowReverse:{flexDirection:"row-reverse"},columnReverse:{flexDirection:"column-reverse"}},gap:{none:{gap:"0"},xs:{gap:"1"},sm:{gap:"2"},md:{gap:"4"},lg:{gap:"6"},xl:{gap:"8"}},align:{start:{alignItems:"flex-start"},center:{alignItems:"center"},end:{alignItems:"flex-end"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},justify:{start:{justifyContent:"flex-start"},center:{justifyContent:"center"},end:{justifyContent:"flex-end"},between:{justifyContent:"space-between"},around:{justifyContent:"space-around"},evenly:{justifyContent:"space-evenly"}},wrap:{nowrap:{flexWrap:"nowrap"},wrap:{flexWrap:"wrap"},wrapReverse:{flexWrap:"wrap-reverse"}}},defaultVariants:{direction:"row",gap:"md"}});var c8=rt({base:{width:"100%",mx:"auto",px:"4"},variants:{size:{sm:{maxW:"640px"},md:{maxW:"768px"},lg:{maxW:"1024px"},xl:{maxW:"1280px"},"2xl":{maxW:"1536px"},full:{maxW:"100%"}},centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}}},defaultVariants:{size:"lg"}});var d8=rt({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",rounded:"full",flexShrink:0},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},outline:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg",bg:"transparent"},ghost:{color:"colorPalette.fg",bg:"transparent",_hover:{bg:"colorPalette.subtle"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},surface:{bg:"bg.surface",color:"fg.default",borderWidth:"1px",borderColor:"border.default"}},size:{xs:{w:"7",h:"7",fontSize:"sm"},sm:{w:"8",h:"8",fontSize:"md"},md:{w:"10",h:"10",fontSize:"lg"},lg:{w:"12",h:"12",fontSize:"xl"},xl:{w:"14",h:"14",fontSize:"2xl"}}},defaultVariants:{variant:"ghost",size:"sm"}});var s8=rt({base:{color:"colorPalette.solid"},variants:{size:{xs:{boxSize:"4"},sm:{boxSize:"6"},md:{boxSize:"8"},lg:{boxSize:"12"},xl:{boxSize:"16"}}},defaultVariants:{size:"md"}});var p8=rt({base:{overflow:"hidden",transition:"height 0.2s ease-in-out"},variants:{},defaultVariants:{}});var g8=R({slots:["root","header","body","footer","title","description"],base:{root:{display:"flex",flexDirection:"column",bg:"bg.surface",rounded:"xl",overflow:"hidden",borderWidth:0},header:{px:"6",py:"4"},body:{px:"6",py:"4",gap:"4",flex:"1"},footer:{px:"6",py:"4"},title:{fontWeight:"semibold",fontSize:"lg"},description:{color:"fg.muted",fontSize:"sm"}},variants:{variant:{subtle:{root:{bg:"bg.subtle"}},outline:{root:{borderWidth:"1px",borderColor:"border.subtle"}},elevated:{root:{shadow:"lg"}}},size:{sm:{header:{px:"4",py:"3"},body:{px:"4",py:"3"},footer:{px:"4",py:"3"}},md:{header:{px:"6",py:"4"},body:{px:"6",py:"4"},footer:{px:"6",py:"4"}},lg:{header:{px:"8",py:"5"},body:{px:"8",py:"5"},footer:{px:"8",py:"5"}}}},defaultVariants:{variant:"subtle",size:"md"}});var v8=R({slots:["root","image","fallback","group"],base:{root:{rounded:"full",overflow:"hidden",flexShrink:0,position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center"},image:{width:"100%",height:"100%",objectFit:"cover"},fallback:{bg:"colorPalette.muted",color:"colorPalette.fg",fontWeight:"medium",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},group:{display:"flex",alignItems:"center",gap:"2"}},variants:{size:{xs:{root:{boxSize:"6"},fallback:{fontSize:"xs"}},sm:{root:{boxSize:"8"},fallback:{fontSize:"sm"}},md:{root:{boxSize:"10"},fallback:{fontSize:"md"}},lg:{root:{boxSize:"12"},fallback:{fontSize:"lg"}},xl:{root:{boxSize:"16"},fallback:{fontSize:"xl"}},"2xl":{root:{boxSize:"24"},fallback:{fontSize:"2xl"}}}},defaultVariants:{size:"md"}});var u8=R({slots:["root","header","body","row","columnHeader","cell","footer"],base:{root:{width:"100%",borderCollapse:"collapse",bg:"bg.surface",color:"fg.default"},header:{bg:"bg.surface"},columnHeader:{px:"4",py:"3",textAlign:"start",fontSize:"sm",fontWeight:"semibold",color:"fg.default",borderBottomWidth:"1px",borderColor:"border.default"},cell:{px:"4",py:"3",fontSize:"sm",borderBottomWidth:"1px",borderColor:"border.subtle"},row:{_hover:{bg:"bg.subtle"}},footer:{bg:"bg.surface",fontWeight:"medium"}},variants:{variant:{simple:{},striped:{body:{"& tr:nth-of-type(odd)":{bg:"bg.subtle"}}}},size:{sm:{columnHeader:{px:"3",py:"2",fontSize:"xs"},cell:{px:"3",py:"2",fontSize:"xs"}},md:{columnHeader:{px:"4",py:"3",fontSize:"sm"},cell:{px:"4",py:"3",fontSize:"sm"}},lg:{columnHeader:{px:"6",py:"4",fontSize:"md"},cell:{px:"6",py:"4",fontSize:"md"}}}},defaultVariants:{variant:"simple",size:"md"}});var M8=R({slots:["content","arrow"],base:{content:{bg:"bg.inverted",color:"fg.inverted",px:"2",py:"1",rounded:"md",fontSize:"xs",fontWeight:"medium",maxW:"xs",textAlign:"center",_open:{animationStyle:"fade-in",animationDuration:"fast"}},arrow:{"--arrow-size":"4px","--arrow-background":"colors.bg.inverted"}},variants:{size:{sm:{content:{px:"2",py:"1",fontSize:"xs"}},md:{content:{px:"2",py:"1",fontSize:"xs"}},lg:{content:{px:"3",py:"2",fontSize:"sm"}}}},defaultVariants:{size:"md"}});var f8=R({slots:["root","icon","title","description","action"],base:{root:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",py:"12",px:"6",gap:"4"},icon:{boxSize:"12",color:"fg.muted",mb:"2"},title:{fontSize:"lg",fontWeight:"semibold",color:"fg.default"},description:{fontSize:"sm",color:"fg.muted",maxW:"md"},action:{mt:"2"}},variants:{size:{sm:{root:{py:"8",px:"4",gap:"3"},icon:{boxSize:"8"},title:{fontSize:"md"},description:{fontSize:"xs"}},md:{root:{py:"12",px:"6",gap:"4"},icon:{boxSize:"12"},title:{fontSize:"lg"},description:{fontSize:"sm"}},lg:{root:{py:"16",px:"8",gap:"6"},icon:{boxSize:"16"},title:{fontSize:"xl"},description:{fontSize:"md"}}}},defaultVariants:{size:"md"}});function T5(t){let{colors:a}=t;if(!z5(a.primary))throw new Error(`Invalid primary color: "${a.primary}".`);if(!z5(a.secondary))throw new Error(`Invalid secondary color: "${a.secondary}".`);let r=t.includeDefaultPalettes??!0,e=x5(a.primary,"primary"),i=x5(a.secondary,"secondary"),o={},l={positive:a.positive,negative:a.negative,warning:a.warning,neutral:a.neutral||"gray"};for(let[g,u]of Object.entries(l))u&&(z5(u)?o[g]=x5(u,g):p0[u]?o[g]=p0[u]:console.warn(`Color "${u}" not found in default palettes. Skipping.`));let n={primary:e,secondary:i,...o,...r?{gray:p0.gray,green:o.positive||p0.green,red:o.negative||p0.red,yellow:o.warning||p0.yellow,cyan:p0.cyan,blue:p0.blue}:{}},h={primary:"primary",secondary:"secondary",positive:l.positive?"positive":"green",negative:l.negative?"negative":"red",warning:l.warning?"warning":"yellow",neutral:l.neutral?"neutral":"gray"},c=nV(h),d={colors:{...V5.colors,...c}},s={...H5,...t.shadows??{}},p={...Ri,conditions:{...Ri.conditions,light:".light &",dark:".dark &"},globalCss:{"*":{scrollbarWidth:"thin",scrollbarColor:"rgba(255, 255, 255, 0.2) transparent"},"*::-webkit-scrollbar":{width:"8px",height:"8px"},"*::-webkit-scrollbar-track":{background:"transparent"},"*::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"4px",border:"2px solid transparent",backgroundClip:"padding-box"},"*::-webkit-scrollbar-thumb:hover":{background:"rgba(255, 255, 255, 0.3)",backgroundClip:"padding-box"}},theme:{...t.keyframes?{keyframes:t.keyframes}:{},tokens:{colors:n,spacing:t.spacing||k5,fontSizes:L5,fontWeights:w5,lineHeights:b5,shadows:s,radii:C5,zIndex:B5,...t.typography?.fontFamily&&{fonts:{body:{value:t.typography.fontFamily}}},...t.typography?.headingFontFamily&&{fonts:{heading:{value:t.typography.headingFontFamily}}}},semanticTokens:d,textStyles:{"display.2xl":{fontSize:{value:"{fontSizes.6xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.xl":{fontSize:{value:"{fontSizes.5xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.lg":{fontSize:{value:"{fontSizes.4xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.md":{fontSize:{value:"{fontSizes.3xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.sm":{fontSize:{value:"{fontSizes.2xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"heading.2xl":{fontSize:{value:"{fontSizes.2xl}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.xl":{fontSize:{value:"{fontSizes.xl}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.lg":{fontSize:{value:"{fontSizes.lg}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.md":{fontSize:{value:"{fontSizes.md}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.sm":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"body.lg":{fontSize:{value:"{fontSizes.lg}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.relaxed}"}},"body.md":{fontSize:{value:"{fontSizes.md}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.relaxed}"}},"body.sm":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.relaxed}"}},"label.lg":{fontSize:{value:"{fontSizes.md}"},fontWeight:{value:"{fontWeights.medium}"},lineHeight:{value:"{lineHeights.normal}"}},"label.md":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.medium}"},lineHeight:{value:"{lineHeights.normal}"}},"label.sm":{fontSize:{value:"{fontSizes.xs}"},fontWeight:{value:"{fontWeights.medium}"},lineHeight:{value:"{lineHeights.normal}"}},"caption.lg":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.normal}"},color:{value:"{colors.fg.muted}"}},"caption.md":{fontSize:{value:"{fontSizes.xs}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.normal}"},color:{value:"{colors.fg.muted}"}}},layerStyles:{elevated:{value:{bg:"bg.subtle",p:4,borderRadius:"2xl"}},card:{value:{bg:"bg.muted",p:3,borderRadius:"lg",transition:"background 200ms",_hover:{bg:"bg.emphasized"}}},input:{value:{bg:"bg.muted",p:3,borderRadius:"lg"}},...t.layerStyles??{}},recipes:{button:a8,badge:r8,input:e8,select:i8,separator:o8,hstack:l8,vstack:n8,flex:h8,container:c8,iconButton:d8,spinner:s8,collapse:p8},slotRecipes:{card:g8,avatar:v8,table:u8,tooltip:M8,emptyState:f8}}};return yl(Ri,p)}var y5=T5({colors:{primary:"#F59E0B",secondary:"#1DBFAE"},shadows:{glow:{value:"0 0 20px rgba(245, 158, 11, 0.3)"},"glow-sm":{value:"0 0 8px rgba(245, 158, 11, 0.15)"},"glow-lg":{value:"0 0 40px rgba(245, 158, 11, 0.2)"}},keyframes:{"jarvis-pulse":{"0%, 100%":{opacity:1},"50%":{opacity:.6}},"jarvis-attention-pulse":{"0%, 100%":{opacity:1,transform:"scale(1)"},"50%":{opacity:.45,transform:"scale(0.85)"}}}});var S5=W(at(),1);var fD="/api/v1/machine";async function hV(t=fD){let a=await fetch(t),r=await a.json().catch(()=>null);if(!a.ok||!r?.repo)throw new Error(r?.error??`this machine could not be read (${a.status})`);return r}function cV(){let[t,a]=(0,S5.useState)({data:null,refusal:null,loading:!0});return(0,S5.useEffect)(()=>{let r=!1;return(async()=>{try{let e=await hV();r||a({data:e,refusal:null,loading:!1})}catch(e){r||a({data:null,refusal:e instanceof Error?e.message:String(e),loading:!1})}})(),()=>{r=!0}},[]),t}var mt=W(K(),1);function X2({label:t,value:a,ok:r,note:e}){return(0,mt.jsxs)(W1,{align:"baseline",gap:4,py:2.5,borderBottomWidth:"1px",borderColor:"border.subtle",wrap:"wrap",children:[(0,mt.jsx)(et,{fontSize:"xs",color:"fg.subtle",w:"140px",flex:"none",children:t}),(0,mt.jsxs)(Ht,{align:"stretch",gap:.5,flex:1,minW:0,children:[(0,mt.jsxs)(Bt,{gap:2,children:[r!==void 0&&(0,mt.jsx)(y2,{color:r?"positive.solid":"warning.solid",hollow:!r}),(0,mt.jsx)(et,{fontSize:"sm",color:"fg",wordBreak:"break-word",children:a})]}),e&&(0,mt.jsx)(et,{fontSize:"xs",color:"fg.muted",wordBreak:"break-word",children:e})]})]})}function m8({title:t,children:a}){return(0,mt.jsxs)(Ht,{align:"stretch",gap:0,children:[(0,mt.jsx)(et,{fontSize:"xs",color:"fg.subtle",textTransform:"uppercase",letterSpacing:"wider",mb:1,children:t}),a]})}function xD({hooks:t}){if(t.length===0)return(0,mt.jsx)(X2,{label:"Claude Code",value:"This build installs no hooks."});let a=t.filter(e=>e.wired).length,r=t.filter(e=>e.command);return a===t.length?(0,mt.jsx)(X2,{label:"Claude Code",value:`All ${t.length} hooks wired here`,ok:!0}):r.length===t.length?(0,mt.jsx)(X2,{label:"Claude Code",value:"Hooked to another install of jarvis",note:`All ${t.length} hooks run ${r[0]?.command} \u2014 correct if that is the jarvis you meant to be running, and worth a look if it is not.`}):(0,mt.jsx)(X2,{label:"Claude Code",value:`${a} of ${t.length} hooks wired here`,ok:!1,note:r.length>0?`${r.length} run another install, at ${r[0]?.command}. \`jarvis init\` points them here.`:"`jarvis init` wires them."})}function dV({machine:t}){let{data:a,refusal:r,loading:e}=t;return e?(0,mt.jsx)(Z,{p:6,children:(0,mt.jsx)(et,{fontSize:"sm",color:"fg.subtle",children:"Reading this machine\u2026"})}):r||!a?(0,mt.jsx)(Z,{p:6,children:(0,mt.jsx)(et,{fontSize:"sm",color:"negative.fg",children:r??"this machine could not be read"})}):(0,mt.jsxs)(Ht,{align:"stretch",gap:6,p:6,maxW:"720px",children:[(0,mt.jsxs)(m8,{title:"What you are reading",children:[(0,mt.jsx)(X2,{label:"Repo",value:a.repo.name,note:a.repo.path}),(0,mt.jsx)(X2,{label:"Branch",value:a.repo.branch??"no branch \u2014 detached HEAD",note:"A branch's work tree describes that branch's world."})]}),(0,mt.jsxs)(m8,{title:"This machine",children:[(0,mt.jsx)(X2,{label:"Jarvis",value:a.version}),(0,mt.jsx)(X2,{label:"Config",value:a.configDir,note:"The config dir IS this machine's identity."}),(0,mt.jsx)(X2,{label:"Daemon",value:a.daemon.running?`running${a.daemon.pid?` (pid ${a.daemon.pid})`:""}`:"not running",ok:a.daemon.running,note:a.daemon.running?void 0:"`jarvis start` runs it."}),(0,mt.jsx)(xD,{hooks:a.hooks})]}),(0,mt.jsx)(m8,{title:"Instance",children:a.instance?(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(X2,{label:"Joined",value:a.instance.url,ok:a.instance.reachable,note:a.instance.reachable?void 0:"Not answering right now."}),a.instance.envId&&(0,mt.jsx)(X2,{label:"Machine id",value:a.instance.envId})]}):(0,mt.jsx)(X2,{label:"Joined",value:"nothing \u2014 and that is a working machine",note:"Everything on this page runs with no instance. Joining one adds the web surface and sessions across machines: `jarvis init --url <address>`."})}),(0,mt.jsx)(et,{fontSize:"xs",color:"fg.subtle",children:"Read-only. Changing any of this runs machine lifecycle, so it is the terminal's job \u2014 the command that owns each fact is named beside it."})]})}var $t=W(K(),1),nn={key:"work",label:"Work",icon:(0,$t.jsx)(gc,{size:17}),title:"Work",subtitle:"What this workspace has to do"},z8={key:"machine",label:"This machine",icon:(0,$t.jsx)(G6,{size:17}),title:"This machine",subtitle:"What is set up here, and what is not"},zD=[nn,z8],kD=[nn],LD=[z8];function wD(){let[t,a]=(0,x8.useState)(nn),[r,e]=(0,x8.useState)(!0),i=cV(),o=u5();return(0,$t.jsx)(s9,{value:y5,children:(0,$t.jsx)(Pl,{brand:(0,$t.jsxs)(Ht,{align:"start",gap:0,children:[(0,$t.jsx)(et,{fontSize:"sm",fontWeight:"semibold",color:"fg",lineHeight:"short",children:"Jarvis"}),i.data&&(0,$t.jsx)(et,{fontSize:"xs",color:"fg.subtle",lineHeight:"short",truncate:!0,maxW:"150px",children:i.data.repo.name})]}),nav:kD.map(({key:l,label:n,icon:h})=>({key:l,label:n,icon:h})),navFooter:LD.map(({key:l,label:n,icon:h})=>({key:l,label:n,icon:h})),active:t.key,onNavigate:l=>a(zD.find(n=>n.key===l)??nn),expanded:r,onToggle:()=>e(l=>!l),title:t.title,subtitle:t.subtitle,actions:t===nn?(0,$t.jsx)(f5,{...o}):void 0,footer:(0,$t.jsxs)($t.Fragment,{children:[(0,$t.jsx)(Z,{px:2,py:2,children:(0,$t.jsx)(dc,{})}),(0,$t.jsxs)(Bt,{px:4,pb:3,gap:2.5,align:"start",children:[(0,$t.jsx)(Z,{color:"fg.muted",pt:.5,flex:"none",children:(0,$t.jsx)(G6,{size:16})}),r&&(0,$t.jsxs)(Ht,{align:"start",gap:0,minW:0,children:[(0,$t.jsx)(et,{fontSize:"xs",color:"fg.muted",lineHeight:"short",children:"read-only \xB7 this machine"}),i.data&&(0,$t.jsx)(et,{fontSize:"xs",color:"fg.subtle",lineHeight:"short",children:i.data.version})]})]})]}),children:t===z8?(0,$t.jsx)(dV,{machine:i}):(0,$t.jsx)(M5,{onOpen:()=>{},view:o.view})})})}var sV=document.getElementById("root");sV&&(0,pV.createRoot)(sV).render((0,$t.jsx)(wD,{}));
|
|
46
|
+
`).trim()}function aV(t,a){let r=new Set(t);return r.has(a)?r.delete(a):r.add(a),r}function Ys(t){let a=t[t.length-1];return a?{by:a.by,quiet:a.quiet}:null}function $I({item:t,selected:a,onSelect:r}){let e=Ys(t.holders),i=Ks.get(t.status)??"fg.muted";return(0,I.jsx)(Z,{as:"button",onClick:r,w:"full",textAlign:"left",px:2.5,py:2,borderRadius:"lg",borderWidth:"1px",borderColor:a?"primary.solid":"transparent",bg:a?"bg.emphasized":"transparent",cursor:"pointer",transition:"background 120ms, border-color 120ms",_hover:{bg:a?"bg.emphasized":"bg.subtle"},children:(0,I.jsxs)(Bt,{align:"start",gap:2,children:[(0,I.jsx)(Z,{pt:1.5,children:(0,I.jsx)(y2,{color:i,hollow:t.status==="queue"})}),(0,I.jsxs)(Ht,{align:"stretch",gap:.5,flex:1,minW:0,children:[(0,I.jsx)(et,{fontSize:"sm",color:"fg",lineClamp:2,children:t.title}),(e||t.status==="blocked")&&(0,I.jsxs)(Bt,{gap:2,wrap:"wrap",children:[e&&(0,I.jsxs)(et,{fontSize:"xs",color:e.quiet?"fg.subtle":"fg.muted",children:[e.by,e.quiet?" \xB7 idle":""]}),t.status==="blocked"&&(0,I.jsx)(et,{fontSize:"xs",color:"negative.fg",children:"blocked"})]})]})]})})}function KI({goal:t,open:a,onToggle:r,selectedId:e,onSelect:i,matches:o}){let l=t.items.filter(o).sort(UI),n=t.counts.get("complete")??0,h=(t.counts.get("in-progress")??0)>0;return l.length===0?null:(0,I.jsxs)(Ht,{align:"stretch",gap:.5,children:[(0,I.jsx)(Z,{as:"button",onClick:r,textAlign:"left",cursor:"pointer",px:2.5,py:1,borderRadius:"md",_hover:{bg:"bg.subtle"},children:(0,I.jsxs)(Bt,{justify:"space-between",gap:2,children:[(0,I.jsxs)(Bt,{gap:1.5,minW:0,children:[(0,I.jsx)(et,{fontSize:"xs",color:"fg.subtle",w:3,flex:"none",children:a?"\u25BE":"\u25B8"}),(0,I.jsx)(et,{fontSize:"xs",fontWeight:"medium",color:h?"fg":"fg.muted",truncate:!0,children:t.epic})]}),(0,I.jsxs)(et,{fontSize:"xs",color:"fg.subtle",flex:"none",children:[n," of ",t.items.length]})]})}),a&&(0,I.jsx)(Ht,{align:"stretch",gap:.5,pl:3,children:l.map(c=>(0,I.jsx)($I,{item:c,selected:c.id===e,onSelect:()=>i(c)},c.id))})]})}function rV({release:t,onToggle:a,statusFilter:r,onStatus:e}){let i=Zr.filter(o=>(t.counts.get(o.status)??0)>0);return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Z,{as:"button",onClick:a,textAlign:"left",cursor:a?"pointer":"default",px:1,_hover:a?{opacity:.8}:{},children:(0,I.jsxs)(Bt,{justify:"space-between",gap:2,children:[(0,I.jsx)(et,{fontSize:"sm",fontWeight:"semibold",color:"fg",truncate:!0,children:t.version}),(0,I.jsxs)(et,{fontSize:"xs",color:"fg.subtle",children:[t.counts.get("complete")??0," of ",t.items.length]})]})}),(0,I.jsx)(Z,{px:1,children:(0,I.jsx)(Rl,{segments:Zr.map(o=>({label:o.label,count:t.counts.get(o.status)??0,color:o.color}))})}),(0,I.jsx)(Bt,{gap:1.5,wrap:"wrap",px:1,children:i.map(o=>(0,I.jsx)(Ar,{label:o.label,count:t.counts.get(o.status)??0,color:o.color,pressed:r===o.status,dimmed:r!==null,onPress:()=>e(o.status)},o.status))})]})}function YI({release:t,open:a,onToggle:r,statusFilter:e,onStatus:i,isGoalOpen:o,onGoal:l,selectedId:n,onSelect:h,matches:c}){let d=t.goals.filter(s=>s.items.some(c));return(0,I.jsxs)(Ht,{align:"stretch",gap:2,children:[(0,I.jsx)(rV,{release:t,onToggle:r,statusFilter:e,onStatus:i}),a&&(0,I.jsx)(Ht,{align:"stretch",gap:1,children:d.length===0?(0,I.jsx)(et,{fontSize:"xs",color:"fg.subtle",px:2.5,py:1,children:"Nothing here matches."}):d.map(s=>(0,I.jsx)(KI,{goal:s,open:o(s),onToggle:()=>l(s.epic),selectedId:n,onSelect:h,matches:c},s.epic))})]})}function XI({release:t,statusFilter:a,onStatus:r,selectedGoal:e,onGoal:i,matches:o}){let l=t.goals.filter(n=>n.items.some(o));return l.length===0?null:(0,I.jsxs)(Ht,{align:"stretch",gap:2,children:[(0,I.jsx)(rV,{release:t,statusFilter:a,onStatus:r}),(0,I.jsx)(Ht,{align:"stretch",gap:.5,children:l.map(n=>{let h=n.epic===e,c=n.counts.get("complete")??0,d=(n.counts.get("in-progress")??0)>0;return(0,I.jsx)(Z,{as:"button",onClick:()=>i(n.epic),textAlign:"left",cursor:"pointer",px:2.5,py:1.5,borderRadius:"md",borderWidth:"1px",borderColor:h?"primary.solid":"transparent",bg:h?"bg.emphasized":"transparent",transition:"background 120ms, border-color 120ms",_hover:{bg:h?"bg.emphasized":"bg.subtle"},children:(0,I.jsxs)(Bt,{justify:"space-between",gap:2,children:[(0,I.jsx)(et,{fontSize:"xs",fontWeight:"medium",color:d?"fg":"fg.muted",truncate:!0,children:n.epic}),(0,I.jsxs)(et,{fontSize:"xs",color:"fg.subtle",flex:"none",children:[c," of ",n.items.length]})]})},n.epic)})})]})}function QI({item:t,onOpen:a,onClose:r,pane:e}){let i=Ys(t.holders),o=Ks.get(t.status)??"fg.muted",l=Zr.find(n=>n.status===t.status)?.label??t.status;return(0,I.jsxs)(Z,{position:{base:"fixed",md:"static"},insetInline:{base:0,md:"auto"},bottom:{base:0,md:"auto"},zIndex:{base:"modal",md:"auto"},maxH:{base:"78dvh",md:"none"},w:{base:"auto",md:e==="aside"?"420px":"auto"},flex:{base:"none",md:e==="aside"?"none":1},minW:0,minH:0,overflowY:"auto",bg:"bg.panel",borderTopWidth:{base:"1px",md:0},borderLeftWidth:{base:0,md:e==="aside"?"1px":0},borderColor:"border.subtle",borderTopRadius:{base:"xl",md:0},boxShadow:{base:"lg",md:"none"},pb:{base:"env(safe-area-inset-bottom)",md:0},children:[(0,I.jsx)(W1,{justify:"center",pt:2,pb:1,display:{base:"flex",md:"none"},children:(0,I.jsx)(Z,{w:9,h:1,borderRadius:"full",bg:"border.emphasized"})}),(0,I.jsxs)(Ht,{align:"stretch",gap:5,p:6,pt:{base:3,md:6},children:[(0,I.jsxs)(Ht,{align:"stretch",gap:2,children:[(0,I.jsxs)(Bt,{gap:2,children:[(0,I.jsx)(y2,{color:o,size:2.5}),(0,I.jsxs)(et,{fontSize:"xs",color:"fg.muted",children:[l," \xB7 ",t.priority," \xB7 ",t.version]}),(0,I.jsx)(Et.button,{type:"button","aria-label":"Close",title:"Close",ms:"auto",display:"flex",alignItems:"center",bg:"transparent",border:"none",cursor:"pointer",color:"fg.subtle",_hover:{color:"fg"},onClick:r,children:(0,I.jsx)(ZL,{size:16})})]}),(0,I.jsx)(T9,{size:"lg",color:"fg",children:t.title}),(0,I.jsx)(et,{fontSize:"xs",color:"fg.subtle",fontFamily:"mono",children:t.id})]}),i&&(0,I.jsx)(v5,{label:"On it",children:(0,I.jsxs)(et,{fontSize:"sm",color:"fg",children:[i.by,i.quiet&&(0,I.jsxs)(et,{as:"span",color:"fg.subtle",children:[" ","\u2014 no commits in over eight hours"]})]})}),t.dependsOn.length>0&&(0,I.jsx)(v5,{label:"Waiting on",children:(0,I.jsx)(Ht,{align:"stretch",gap:1,children:t.dependsOn.map(n=>(0,I.jsx)(et,{fontSize:"sm",color:"primary.fg",fontFamily:"mono",cursor:"pointer",onClick:()=>a(n),_hover:{textDecoration:"underline"},children:n},n))})}),t.owner&&(0,I.jsx)(v5,{label:"Serves",children:(0,I.jsxs)(et,{fontSize:"sm",color:"fg",children:[t.owner,t.covers.length>0&&(0,I.jsxs)(et,{as:"span",color:"fg.muted",children:[" ","\u2014 ",t.covers.join(", ")]})]})}),t.code.length>0&&(0,I.jsx)(v5,{label:"Touches",children:(0,I.jsx)(et,{fontSize:"sm",color:"fg",children:t.code.join(" \xB7 ")})}),(0,I.jsx)(Z,{borderTopWidth:"1px",borderColor:"border.subtle",pt:5,children:(0,I.jsx)(ZI,{item:t,onOpen:a})})]})]})}function ZI({item:t,onOpen:a}){let{data:r,refusal:e,loading:i}=q6(t.id),o=r?.brief?qI(r.brief,t.title):"";return(0,I.jsxs)(Ht,{align:"stretch",gap:3,children:[i&&(0,I.jsx)(et,{fontSize:"sm",color:"fg.subtle",children:"Reading the brief\u2026"}),e&&(0,I.jsx)(et,{fontSize:"sm",color:"negative.fg",children:e}),r&&!r.brief&&(0,I.jsx)(et,{fontSize:"sm",color:"fg.muted",children:"This item has a brief at the path below, and its text could not be read from here."}),r?.brief&&!o&&(0,I.jsx)(et,{fontSize:"sm",color:"fg.muted",children:"This brief has nothing in it yet."}),o&&(0,I.jsx)(on,{content:o,onOpen:a}),(0,I.jsx)(et,{fontSize:"xs",color:"fg.subtle",fontFamily:"mono",children:t.path})]})}function v5({label:t,children:a}){return(0,I.jsxs)(Ht,{align:"stretch",gap:1,children:[(0,I.jsx)(et,{fontSize:"xs",color:"fg.subtle",textTransform:"uppercase",letterSpacing:"wider",children:t}),a]})}function M5({onOpen:t,view:a}){let{data:r,refusal:e,loading:i}=Mc(),[o,l]=(0,K2.useState)(""),[n,h]=(0,K2.useState)(null),[c,d]=(0,K2.useState)(null),[s,p]=(0,K2.useState)(new Set),[g,u]=(0,K2.useState)(new Set),[f,z]=(0,K2.useState)(null),v=(0,K2.useMemo)(()=>GI(r?.items??[]),[r]),M=v.find(V=>(V.counts.get("in-progress")??0)>0)?.version,m=n!==null||o!=="",L=V=>{if(m)return!0;let A=V===M;return s.has(V)?!A:A},H=V=>{if(m)return!0;let A=(V.counts.get("in-progress")??0)>0;return g.has(V.epic)?!A:A},x=V=>{let A=r?.items.find(E=>E.id===V);A?d(A):t(V)},B=V=>{if(n&&V.status!==n)return!1;if(!o)return!0;let A=o.toLowerCase();return V.title.toLowerCase().includes(A)||V.id.toLowerCase().includes(A)},C=new Map;for(let V of r?.items??[])C.set(V.status,(C.get(V.status)??0)+1);let k=v.flatMap(V=>V.goals).filter(V=>V.items.some(B)),P=k.find(V=>V.epic===f)??k.find(V=>(V.counts.get("in-progress")??0)>0)??k[0],j=(P?.items??[]).filter(B).map(V=>{let A=Ys(V.holders);return{id:V.id,title:V.title,lane:V.status,color:Ks.get(V.status)??"fg.muted",hollow:V.status==="queue",...A?{note:A.quiet?`${A.by} \xB7 idle`:A.by}:{}}});return e?(0,I.jsx)($a,{variant:"card",title:"The board could not be reached",description:e}):!i&&(r?.items.length??0)===0?(0,I.jsx)($a,{variant:"card",title:"Nothing on the board",description:"This workspace has recorded no work. That is a board with nothing on it, not a board that could not be read."}):(0,I.jsxs)(W1,{direction:{base:"column",md:"row"},flex:1,minH:0,w:"full",children:[(0,I.jsxs)(W1,{direction:"column",w:{base:"full",md:a==="kanban"?"280px":"360px"},maxH:{base:a==="kanban"?"40dvh":"none",md:"none"},flex:{base:a==="kanban"?"none":1,md:"none"},minH:0,borderRightWidth:{base:0,md:"1px"},borderBottomWidth:{base:"1px",md:0},borderColor:"border.subtle",children:[(0,I.jsxs)(Ht,{align:"stretch",gap:2,p:3,pt:{base:16,md:3},borderBottomWidth:"1px",borderColor:"border.subtle",children:[(0,I.jsx)(Ii,{value:o,onChange:l,placeholder:"Filter work\u2026"}),(0,I.jsxs)(Bt,{gap:1.5,wrap:"wrap",children:[(0,I.jsx)(Ar,{label:"all",count:r?.items.length??0,pressed:n===null,onPress:()=>h(null)}),Zr.filter(V=>(C.get(V.status)??0)>0).map(V=>(0,I.jsx)(Ar,{label:V.label,count:C.get(V.status)??0,color:V.color,pressed:n===V.status,dimmed:n!==null,onPress:()=>h(n===V.status?null:V.status)},V.status))]})]}),(0,I.jsx)(Z,{flex:1,minH:0,overflowY:"auto",p:3,children:i?(0,I.jsx)(et,{fontSize:"sm",color:"fg.subtle",px:1,children:"Reading the board\u2026"}):(0,I.jsx)(Ht,{align:"stretch",gap:5,children:v.map(V=>a==="kanban"?(0,I.jsx)(XI,{release:V,statusFilter:n,onStatus:A=>h(n===A?null:A),selectedGoal:P?.epic??null,onGoal:z,matches:B},V.version):(0,I.jsx)(YI,{release:V,open:L(V.version),onToggle:()=>p(A=>aV(A,V.version)),isGoalOpen:H,onGoal:A=>u(E=>aV(E,A)),statusFilter:n,onStatus:A=>h(n===A?null:A),selectedId:c?.id??null,onSelect:d,matches:B},V.version))})})]}),a==="kanban"?(0,I.jsx)(W1,{direction:"column",flex:1,minW:0,minH:0,children:i?null:P?(0,I.jsx)(El,{lanes:NI.map(V=>({id:V.status,title:V.label,color:V.color})),cards:j,selectedId:c?.id??null,onSelect:x,empty:"Nothing in this goal matches."}):(0,I.jsx)(W1,{align:"center",justify:"center",h:"full",p:6,children:(0,I.jsx)(et,{fontSize:"sm",color:"fg.subtle",children:"Pick a goal to see its work."})})}):!c&&(0,I.jsx)(W1,{flex:1,minW:0,display:{base:"none",md:"flex"},align:"center",justify:"center",p:6,children:(0,I.jsx)(et,{fontSize:"sm",color:"fg.subtle",children:"Select something to read it."})}),c&&(0,I.jsx)(QI,{item:c,onOpen:x,onClose:()=>d(null),pane:a==="kanban"?"aside":"fill"},c.id)]})}function f5({view:t,onView:a}){let r=t==="list"?"kanban":"list",e=r==="kanban"?"Show as columns":"Show as a list";return(0,I.jsx)(Et.button,{type:"button","aria-label":e,title:e,display:"flex",alignItems:"center",justifyContent:"center",flex:"none",w:8,h:8,borderRadius:"2xl",bg:"bg.subtle",border:"none",cursor:"pointer",color:"fg.muted",_hover:{color:"fg"},onClick:()=>a(r),children:r==="kanban"?(0,I.jsx)(gc,{size:16}):(0,I.jsx)(JL,{size:16})})}var Xs={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};for(let t in Xs)Object.freeze(Xs[t]);var Y2=Object.freeze(Xs);var eV=Object.create(null);for(let t in Y2)Object.hasOwn(Y2,t)&&(eV[Y2[t]]=t);var u2={to:{},get:{}};u2.get=function(t){let a=t.slice(0,3).toLowerCase(),r,e;switch(a){case"hsl":{r=u2.get.hsl(t),e="hsl";break}case"hwb":{r=u2.get.hwb(t),e="hwb";break}default:{r=u2.get.rgb(t),e="rgb";break}}return r?{model:e,value:r}:null};u2.get.rgb=function(t){if(!t)return null;let a=/^#([a-f\d]{3,4})$/i,r=/^#([a-f\d]{6})([a-f\d]{2})?$/i,e=/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i,i=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i,o=/^(\w+)$/,l=[0,0,0,1],n,h,c;if(n=t.match(r)){for(c=n[2],n=n[1],h=0;h<3;h++){let d=h*2;l[h]=Number.parseInt(n.slice(d,d+2),16)}c&&(l[3]=Number.parseInt(c,16)/255)}else if(n=t.match(a)){for(n=n[1],c=n[3],h=0;h<3;h++)l[h]=Number.parseInt(n[h]+n[h],16);c&&(l[3]=Number.parseInt(c+c,16)/255)}else if(n=t.match(e)){for(h=0;h<3;h++)l[h]=Number.parseFloat(n[h+1]);n[4]&&(l[3]=n[5]?Number.parseFloat(n[4])*.01:Number.parseFloat(n[4]))}else if(n=t.match(i)){for(h=0;h<3;h++)l[h]=Math.round(Number.parseFloat(n[h+1])*2.55);n[4]&&(l[3]=n[5]?Number.parseFloat(n[4])*.01:Number.parseFloat(n[4]))}else return(n=t.toLowerCase().match(o))?n[1]==="transparent"?[0,0,0,0]:Object.hasOwn(Y2,n[1])?(l=Y2[n[1]].slice(),l[3]=1,l):null:null;for(h=0;h<3;h++)l[h]=tr(l[h],0,255);return l[3]=tr(l[3],0,1),l};u2.get.hsl=function(t){if(!t)return null;let a=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,r=t.match(a);if(r){let e=Number.parseFloat(r[4]),i=(Number.parseFloat(r[1])%360+360)%360,o=tr(Number.parseFloat(r[2]),0,100),l=tr(Number.parseFloat(r[3]),0,100),n=tr(Number.isNaN(e)?1:e,0,1);return[i,o,l,n]}return null};u2.get.hwb=function(t){if(!t)return null;let a=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,r=t.match(a);if(r){let e=Number.parseFloat(r[4]),i=(Number.parseFloat(r[1])%360+360)%360,o=tr(Number.parseFloat(r[2]),0,100),l=tr(Number.parseFloat(r[3]),0,100),n=tr(Number.isNaN(e)?1:e,0,1);return[i,o,l,n]}return null};u2.to.hex=function(...t){return"#"+m5(t[0])+m5(t[1])+m5(t[2])+(t[3]<1?m5(Math.round(t[3]*255)):"")};u2.to.rgb=function(...t){return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};u2.to.rgb.percent=function(...t){let a=Math.round(t[0]/255*100),r=Math.round(t[1]/255*100),e=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+a+"%, "+r+"%, "+e+"%)":"rgba("+a+"%, "+r+"%, "+e+"%, "+t[3]+")"};u2.to.hsl=function(...t){return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};u2.to.hwb=function(...t){let a="";return t.length>=4&&t[3]!==1&&(a=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+a+")"};u2.to.keyword=function(...t){return eV[t.slice(0,3)]};function tr(t,a,r){return Math.min(Math.max(a,t),r)}function m5(t){let a=Math.round(t).toString(16).toUpperCase();return a.length<2?"0"+a:a}var Jr=u2;var iV={};for(let t of Object.keys(Y2))iV[Y2[t]]=t;var Q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},da=Q,ca=(6/29)**3;function ao(t){let a=t>.0031308?1.055*t**.4166666666666667-.055:t*12.92;return Math.min(Math.max(0,a),1)}function ro(t){return t>.04045?((t+.055)/1.055)**2.4:t/12.92}for(let t of Object.keys(Q)){if(!("channels"in Q[t]))throw new Error("missing channels property: "+t);if(!("labels"in Q[t]))throw new Error("missing channel labels property: "+t);if(Q[t].labels.length!==Q[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:a,labels:r}=Q[t];delete Q[t].channels,delete Q[t].labels,Object.defineProperty(Q[t],"channels",{value:a}),Object.defineProperty(Q[t],"labels",{value:r})}Q.rgb.hsl=function(t){let a=t[0]/255,r=t[1]/255,e=t[2]/255,i=Math.min(a,r,e),o=Math.max(a,r,e),l=o-i,n,h;switch(o){case i:{n=0;break}case a:{n=(r-e)/l;break}case r:{n=2+(e-a)/l;break}case e:{n=4+(a-r)/l;break}}n=Math.min(n*60,360),n<0&&(n+=360);let c=(i+o)/2;return o===i?h=0:c<=.5?h=l/(o+i):h=l/(2-o-i),[n,h*100,c*100]};Q.rgb.hsv=function(t){let a,r,e,i,o,l=t[0]/255,n=t[1]/255,h=t[2]/255,c=Math.max(l,n,h),d=c-Math.min(l,n,h),s=function(p){return(c-p)/6/d+1/2};if(d===0)i=0,o=0;else{switch(o=d/c,a=s(l),r=s(n),e=s(h),c){case l:{i=e-r;break}case n:{i=1/3+a-e;break}case h:{i=2/3+r-a;break}}i<0?i+=1:i>1&&(i-=1)}return[i*360,o*100,c*100]};Q.rgb.hwb=function(t){let a=t[0],r=t[1],e=t[2],i=Q.rgb.hsl(t)[0],o=1/255*Math.min(a,Math.min(r,e));return e=1-1/255*Math.max(a,Math.max(r,e)),[i,o*100,e*100]};Q.rgb.oklab=function(t){let a=ro(t[0]/255),r=ro(t[1]/255),e=ro(t[2]/255),i=Math.cbrt(.4122214708*a+.5363325363*r+.0514459929*e),o=Math.cbrt(.2119034982*a+.6806995451*r+.1073969566*e),l=Math.cbrt(.0883024619*a+.2817188376*r+.6299787005*e),n=.2104542553*i+.793617785*o-.0040720468*l,h=1.9779984951*i-2.428592205*o+.4505937099*l,c=.0259040371*i+.7827717662*o-.808675766*l;return[n*100,h*100,c*100]};Q.rgb.cmyk=function(t){let a=t[0]/255,r=t[1]/255,e=t[2]/255,i=Math.min(1-a,1-r,1-e),o=(1-a-i)/(1-i)||0,l=(1-r-i)/(1-i)||0,n=(1-e-i)/(1-i)||0;return[o*100,l*100,n*100,i*100]};function iD(t,a){return(t[0]-a[0])**2+(t[1]-a[1])**2+(t[2]-a[2])**2}Q.rgb.keyword=function(t){let a=iV[t];if(a)return a;let r=Number.POSITIVE_INFINITY,e;for(let i of Object.keys(Y2)){let o=Y2[i],l=iD(t,o);l<r&&(r=l,e=i)}return e};Q.keyword.rgb=function(t){return[...Y2[t]]};Q.rgb.xyz=function(t){let a=ro(t[0]/255),r=ro(t[1]/255),e=ro(t[2]/255),i=a*.4124564+r*.3575761+e*.1804375,o=a*.2126729+r*.7151522+e*.072175,l=a*.0193339+r*.119192+e*.9503041;return[i*100,o*100,l*100]};Q.rgb.lab=function(t){let a=Q.rgb.xyz(t),r=a[0],e=a[1],i=a[2];r/=95.047,e/=100,i/=108.883,r=r>ca?r**(1/3):7.787*r+16/116,e=e>ca?e**(1/3):7.787*e+16/116,i=i>ca?i**(1/3):7.787*i+16/116;let o=116*e-16,l=500*(r-e),n=200*(e-i);return[o,l,n]};Q.hsl.rgb=function(t){let a=t[0]/360,r=t[1]/100,e=t[2]/100,i,o;if(r===0)return o=e*255,[o,o,o];let l=e<.5?e*(1+r):e+r-e*r,n=2*e-l,h=[0,0,0];for(let c=0;c<3;c++)i=a+1/3*-(c-1),i<0&&i++,i>1&&i--,6*i<1?o=n+(l-n)*6*i:2*i<1?o=l:3*i<2?o=n+(l-n)*(2/3-i)*6:o=n,h[c]=o*255;return h};Q.hsl.hsv=function(t){let a=t[0],r=t[1]/100,e=t[2]/100,i=r,o=Math.max(e,.01);e*=2,r*=e<=1?e:2-e,i*=o<=1?o:2-o;let l=(e+r)/2,n=e===0?2*i/(o+i):2*r/(e+r);return[a,n*100,l*100]};Q.hsv.rgb=function(t){let a=t[0]/60,r=t[1]/100,e=t[2]/100,i=Math.floor(a)%6,o=a-Math.floor(a),l=255*e*(1-r),n=255*e*(1-r*o),h=255*e*(1-r*(1-o));switch(e*=255,i){case 0:return[e,h,l];case 1:return[n,e,l];case 2:return[l,e,h];case 3:return[l,n,e];case 4:return[h,l,e];case 5:return[e,l,n]}};Q.hsv.hsl=function(t){let a=t[0],r=t[1]/100,e=t[2]/100,i=Math.max(e,.01),o,l;l=(2-r)*e;let n=(2-r)*i;return o=r*i,o/=n<=1?n:2-n,o=o||0,l/=2,[a,o*100,l*100]};Q.hwb.rgb=function(t){let a=t[0]/360,r=t[1]/100,e=t[2]/100,i=r+e,o;i>1&&(r/=i,e/=i);let l=Math.floor(6*a),n=1-e;o=6*a-l,(l&1)!==0&&(o=1-o);let h=r+o*(n-r),c,d,s;switch(l){default:case 6:case 0:{c=n,d=h,s=r;break}case 1:{c=h,d=n,s=r;break}case 2:{c=r,d=n,s=h;break}case 3:{c=r,d=h,s=n;break}case 4:{c=h,d=r,s=n;break}case 5:{c=n,d=r,s=h;break}}return[c*255,d*255,s*255]};Q.cmyk.rgb=function(t){let a=t[0]/100,r=t[1]/100,e=t[2]/100,i=t[3]/100,o=1-Math.min(1,a*(1-i)+i),l=1-Math.min(1,r*(1-i)+i),n=1-Math.min(1,e*(1-i)+i);return[o*255,l*255,n*255]};Q.xyz.rgb=function(t){let a=t[0]/100,r=t[1]/100,e=t[2]/100,i,o,l;return i=a*3.2404542+r*-1.5371385+e*-.4985314,o=a*-.969266+r*1.8760108+e*.041556,l=a*.0556434+r*-.2040259+e*1.0572252,i=ao(i),o=ao(o),l=ao(l),[i*255,o*255,l*255]};Q.xyz.lab=function(t){let a=t[0],r=t[1],e=t[2];a/=95.047,r/=100,e/=108.883,a=a>ca?a**(1/3):7.787*a+16/116,r=r>ca?r**(1/3):7.787*r+16/116,e=e>ca?e**(1/3):7.787*e+16/116;let i=116*r-16,o=500*(a-r),l=200*(r-e);return[i,o,l]};Q.xyz.oklab=function(t){let a=t[0]/100,r=t[1]/100,e=t[2]/100,i=Math.cbrt(.8189330101*a+.3618667424*r-.1288597137*e),o=Math.cbrt(.0329845436*a+.9293118715*r+.0361456387*e),l=Math.cbrt(.0482003018*a+.2643662691*r+.633851707*e),n=.2104542553*i+.793617785*o-.0040720468*l,h=1.9779984951*i-2.428592205*o+.4505937099*l,c=.0259040371*i+.7827717662*o-.808675766*l;return[n*100,h*100,c*100]};Q.oklab.oklch=function(t){return Q.lab.lch(t)};Q.oklab.xyz=function(t){let a=t[0]/100,r=t[1]/100,e=t[2]/100,i=(.999999998*a+.396337792*r+.215803758*e)**3,o=(1.000000008*a-.105561342*r-.063854175*e)**3,l=(1.000000055*a-.089484182*r-1.291485538*e)**3,n=1.227013851*i-.55779998*o+.281256149*l,h=-.040580178*i+1.11225687*o-.071676679*l,c=-.076381285*i-.421481978*o+1.58616322*l;return[n*100,h*100,c*100]};Q.oklab.rgb=function(t){let a=t[0]/100,r=t[1]/100,e=t[2]/100,i=(a+.3963377774*r+.2158037573*e)**3,o=(a-.1055613458*r-.0638541728*e)**3,l=(a-.0894841775*r-1.291485548*e)**3,n=ao(4.0767416621*i-3.3077115913*o+.2309699292*l),h=ao(-1.2684380046*i+2.6097574011*o-.3413193965*l),c=ao(-.0041960863*i-.7034186147*o+1.707614701*l);return[n*255,h*255,c*255]};Q.oklch.oklab=function(t){return Q.lch.lab(t)};Q.lab.xyz=function(t){let a=t[0],r=t[1],e=t[2],i,o,l;o=(a+16)/116,i=r/500+o,l=o-e/200;let n=o**3,h=i**3,c=l**3;return o=n>ca?n:(o-16/116)/7.787,i=h>ca?h:(i-16/116)/7.787,l=c>ca?c:(l-16/116)/7.787,i*=95.047,o*=100,l*=108.883,[i,o,l]};Q.lab.lch=function(t){let a=t[0],r=t[1],e=t[2],i;i=Math.atan2(e,r)*360/2/Math.PI,i<0&&(i+=360);let l=Math.sqrt(r*r+e*e);return[a,l,i]};Q.lch.lab=function(t){let a=t[0],r=t[1],i=t[2]/360*2*Math.PI,o=r*Math.cos(i),l=r*Math.sin(i);return[a,o,l]};Q.rgb.ansi16=function(t,a=null){let[r,e,i]=t,o=a===null?Q.rgb.hsv(t)[2]:a;if(o=Math.round(o/50),o===0)return 30;let l=30+(Math.round(i/255)<<2|Math.round(e/255)<<1|Math.round(r/255));return o===2&&(l+=60),l};Q.hsv.ansi16=function(t){return Q.rgb.ansi16(Q.hsv.rgb(t),t[2])};Q.rgb.ansi256=function(t){let a=t[0],r=t[1],e=t[2];return a>>4===r>>4&&r>>4===e>>4?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(r/255*5)+Math.round(e/255*5)};Q.ansi16.rgb=function(t){t=t[0];let a=t%10;if(a===0||a===7)return t>50&&(a+=3.5),a=a/10.5*255,[a,a,a];let r=(Math.trunc(t>50)+1)*.5,e=(a&1)*r*255,i=(a>>1&1)*r*255,o=(a>>2&1)*r*255;return[e,i,o]};Q.ansi256.rgb=function(t){if(t=t[0],t>=232){let o=(t-232)*10+8;return[o,o,o]}t-=16;let a,r=Math.floor(t/36)/5*255,e=Math.floor((a=t%36)/6)/5*255,i=a%6/5*255;return[r,e,i]};Q.rgb.hex=function(t){let r=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".slice(r.length)+r};Q.hex.rgb=function(t){let a=t.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!a)return[0,0,0];let r=a[0];a[0].length===3&&(r=[...r].map(n=>n+n).join(""));let e=Number.parseInt(r,16),i=e>>16&255,o=e>>8&255,l=e&255;return[i,o,l]};Q.rgb.hcg=function(t){let a=t[0]/255,r=t[1]/255,e=t[2]/255,i=Math.max(Math.max(a,r),e),o=Math.min(Math.min(a,r),e),l=i-o,n,h=l<1?o/(1-l):0;return l<=0?n=0:i===a?n=(r-e)/l%6:i===r?n=2+(e-a)/l:n=4+(a-r)/l,n/=6,n%=1,[n*360,l*100,h*100]};Q.hsl.hcg=function(t){let a=t[1]/100,r=t[2]/100,e=r<.5?2*a*r:2*a*(1-r),i=0;return e<1&&(i=(r-.5*e)/(1-e)),[t[0],e*100,i*100]};Q.hsv.hcg=function(t){let a=t[1]/100,r=t[2]/100,e=a*r,i=0;return e<1&&(i=(r-e)/(1-e)),[t[0],e*100,i*100]};Q.hcg.rgb=function(t){let a=t[0]/360,r=t[1]/100,e=t[2]/100;if(r===0)return[e*255,e*255,e*255];let i=[0,0,0],o=a%1*6,l=o%1,n=1-l,h=0;switch(Math.floor(o)){case 0:{i[0]=1,i[1]=l,i[2]=0;break}case 1:{i[0]=n,i[1]=1,i[2]=0;break}case 2:{i[0]=0,i[1]=1,i[2]=l;break}case 3:{i[0]=0,i[1]=n,i[2]=1;break}case 4:{i[0]=l,i[1]=0,i[2]=1;break}default:i[0]=1,i[1]=0,i[2]=n}return h=(1-r)*e,[(r*i[0]+h)*255,(r*i[1]+h)*255,(r*i[2]+h)*255]};Q.hcg.hsv=function(t){let a=t[1]/100,r=t[2]/100,e=a+r*(1-a),i=0;return e>0&&(i=a/e),[t[0],i*100,e*100]};Q.hcg.hsl=function(t){let a=t[1]/100,e=t[2]/100*(1-a)+.5*a,i=0;return e>0&&e<.5?i=a/(2*e):e>=.5&&e<1&&(i=a/(2*(1-e))),[t[0],i*100,e*100]};Q.hcg.hwb=function(t){let a=t[1]/100,r=t[2]/100,e=a+r*(1-a);return[t[0],(e-a)*100,(1-e)*100]};Q.hwb.hcg=function(t){let a=t[1]/100,e=1-t[2]/100,i=e-a,o=0;return i<1&&(o=(e-i)/(1-i)),[t[0],i*100,o*100]};Q.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};Q.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};Q.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};Q.gray.hsl=function(t){return[0,0,t[0]]};Q.gray.hsv=Q.gray.hsl;Q.gray.hwb=function(t){return[0,100,t[0]]};Q.gray.cmyk=function(t){return[0,0,0,t[0]]};Q.gray.lab=function(t){return[t[0],0,0]};Q.gray.hex=function(t){let a=Math.round(t[0]/100*255)&255,e=((a<<16)+(a<<8)+a).toString(16).toUpperCase();return"000000".slice(e.length)+e};Q.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function oD(){let t={},a=Object.keys(da);for(let{length:r}=a,e=0;e<r;e++)t[a[e]]={distance:-1,parent:null};return t}function lD(t){let a=oD(),r=[t];for(a[t].distance=0;r.length>0;){let e=r.pop(),i=Object.keys(da[e]);for(let{length:o}=i,l=0;l<o;l++){let n=i[l],h=a[n];h.distance===-1&&(h.distance=a[e].distance+1,h.parent=e,r.unshift(n))}}return a}function nD(t,a){return function(r){return a(t(r))}}function hD(t,a){let r=[a[t].parent,t],e=da[a[t].parent][t],i=a[t].parent;for(;a[i].parent;)r.unshift(a[i].parent),e=nD(da[a[i].parent][i],e),i=a[i].parent;return e.conversion=r,e}function cD(t){let a=lD(t),r={},e=Object.keys(a);for(let{length:i}=e,o=0;o<i;o++){let l=e[o];a[l].parent!==null&&(r[l]=hD(l,a))}return r}var oV=cD;var eo={},dD=Object.keys(da);function sD(t){let a=function(...r){let e=r[0];return e==null?e:(e.length>1&&(r=e),t(r))};return"conversion"in t&&(a.conversion=t.conversion),a}function pD(t){let a=function(...r){let e=r[0];if(e==null)return e;e.length>1&&(r=e);let i=t(r);if(typeof i=="object")for(let{length:o}=i,l=0;l<o;l++)i[l]=Math.round(i[l]);return i};return"conversion"in t&&(a.conversion=t.conversion),a}for(let t of dD){eo[t]={},Object.defineProperty(eo[t],"channels",{value:da[t].channels}),Object.defineProperty(eo[t],"labels",{value:da[t].labels});let a=oV(t),r=Object.keys(a);for(let e of r){let i=a[e];eo[t][e]=pD(i),eo[t][e].raw=sD(i)}}var M2=eo;var lV=["keyword","gray","hex"],Qs={};for(let t of Object.keys(M2))Qs[[...M2[t].labels].sort().join("")]=t;var Zs={};function O1(t,a){if(!(this instanceof O1))return new O1(t,a);if(a&&a in lV&&(a=null),a&&!(a in M2))throw new Error("Unknown model: "+a);let r,e;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof O1)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){let i=Jr.get(t);if(i===null)throw new Error("Unable to parse color from string: "+t);this.model=i.model,e=M2[this.model].channels,this.color=i.value.slice(0,e),this.valpha=typeof i.value[e]=="number"?i.value[e]:1}else if(t.length>0){this.model=a||"rgb",e=M2[this.model].channels;let i=Array.prototype.slice.call(t,0,e);this.color=Js(i,e),this.valpha=typeof t[e]=="number"?t[e]:1}else if(typeof t=="number")this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;let i=Object.keys(t);"alpha"in t&&(i.splice(i.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);let o=i.sort().join("");if(!(o in Qs))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=Qs[o];let{labels:l}=M2[this.model],n=[];for(r=0;r<l.length;r++)n.push(t[l[r]]);this.color=Js(n)}if(Zs[this.model])for(e=M2[this.model].channels,r=0;r<e;r++){let i=Zs[this.model][r];i&&(this.color[r]=i(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}O1.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let a=this.model in Jr.to?this:this.rgb();a=a.round(typeof t=="number"?t:1);let r=a.valpha===1?a.color:[...a.color,this.valpha];return Jr.to[a.model](...r)},percentString(t){let a=this.rgb().round(typeof t=="number"?t:1),r=a.valpha===1?a.color:[...a.color,this.valpha];return Jr.to.rgb.percent(...r)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){let t={},{channels:a}=M2[this.model],{labels:r}=M2[this.model];for(let e=0;e<a;e++)t[r[e]]=this.color[e];return this.valpha!==1&&(t.alpha=this.valpha),t},unitArray(){let t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,this.valpha!==1&&t.push(this.valpha),t},unitObject(){let t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,this.valpha!==1&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new O1([...this.color.map(vD(t)),this.valpha],this.model)},alpha(t){return t!==void 0?new O1([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:i1("rgb",0,L1(255)),green:i1("rgb",1,L1(255)),blue:i1("rgb",2,L1(255)),hue:i1(["hsl","hsv","hsl","hwb","hcg"],0,t=>(t%360+360)%360),saturationl:i1("hsl",1,L1(100)),lightness:i1("hsl",2,L1(100)),saturationv:i1("hsv",1,L1(100)),value:i1("hsv",2,L1(100)),chroma:i1("hcg",1,L1(100)),gray:i1("hcg",2,L1(100)),white:i1("hwb",1,L1(100)),wblack:i1("hwb",2,L1(100)),cyan:i1("cmyk",0,L1(100)),magenta:i1("cmyk",1,L1(100)),yellow:i1("cmyk",2,L1(100)),black:i1("cmyk",3,L1(100)),x:i1("xyz",0,L1(95.047)),y:i1("xyz",1,L1(100)),z:i1("xyz",2,L1(108.833)),l:i1("lab",0,L1(100)),a:i1("lab",1),b:i1("lab",2),keyword(t){return t!==void 0?new O1(t):M2[this.model].keyword(this.color)},hex(t){return t!==void 0?new O1(t):Jr.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new O1(t);let a=this.rgb().round().color,r=Math.round(this.valpha*255).toString(16).toUpperCase();return r.length===1&&(r="0"+r),Jr.to.hex(...a)+r},rgbNumber(){let t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){let t=this.rgb().color,a=[];for(let[r,e]of t.entries()){let i=e/255;a[r]=i<=.04045?i/12.92:((i+.055)/1.055)**2.4}return .2126*a[0]+.7152*a[1]+.0722*a[2]},contrast(t){let a=this.luminosity(),r=t.luminosity();return a>r?(a+.05)/(r+.05):(r+.05)/(a+.05)},level(t){let a=this.contrast(t);return a>=7?"AAA":a>=4.5?"AA":""},isDark(){let t=this.rgb().color;return(t[0]*2126+t[1]*7152+t[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let t=this.rgb();for(let a=0;a<3;a++)t.color[a]=255-t.color[a];return t},lighten(t){let a=this.hsl();return a.color[2]+=a.color[2]*t,a},darken(t){let a=this.hsl();return a.color[2]-=a.color[2]*t,a},saturate(t){let a=this.hsl();return a.color[1]+=a.color[1]*t,a},desaturate(t){let a=this.hsl();return a.color[1]-=a.color[1]*t,a},whiten(t){let a=this.hwb();return a.color[1]+=a.color[1]*t,a},blacken(t){let a=this.hwb();return a.color[2]+=a.color[2]*t,a},grayscale(){let t=this.rgb().color,a=t[0]*.3+t[1]*.59+t[2]*.11;return O1.rgb(a,a,a)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){let a=this.hsl(),r=a.color[0];return r=(r+t)%360,r=r<0?360+r:r,a.color[0]=r,a},mix(t,a){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);let r=t.rgb(),e=this.rgb(),i=a===void 0?.5:a,o=2*i-1,l=r.alpha()-e.alpha(),n=((o*l===-1?o:(o+l)/(1+o*l))+1)/2,h=1-n;return O1.rgb(n*r.red()+h*e.red(),n*r.green()+h*e.green(),n*r.blue()+h*e.blue(),r.alpha()*i+e.alpha()*(1-i))}};for(let t of Object.keys(M2)){if(lV.includes(t))continue;let{channels:a}=M2[t];O1.prototype[t]=function(...r){return this.model===t?new O1(this):r.length>0?new O1(r,t):new O1([...uD(M2[this.model][t].raw(this.color)),this.valpha],t)},O1[t]=function(...r){let e=r[0];return typeof e=="number"&&(e=Js(r,a)),new O1(e,t)}}function gD(t,a){return Number(t.toFixed(a))}function vD(t){return function(a){return gD(a,t)}}function i1(t,a,r){t=Array.isArray(t)?t:[t];for(let e of t)(Zs[e]||=[])[a]=r;return t=t[0],function(e){let i;return e!==void 0?(r&&(e=r(e)),i=this[t](),i.color[a]=e,i):(i=this[t]().color[a],r&&(i=r(i)),i)}}function L1(t){return function(a){return Math.max(0,Math.min(t,a))}}function uD(t){return Array.isArray(t)?t:[t]}function Js(t,a){for(let r=0;r<a;r++)typeof t[r]!="number"&&(t[r]=0);return t}var t8=O1;function x5(t,a){try{let r=t8(t),e=r.lightness();return{50:{value:r.lightness(Math.min(e+45,98)).hex()},100:{value:r.lightness(Math.min(e+38,95)).hex()},200:{value:r.lightness(Math.min(e+30,90)).hex()},300:{value:r.lightness(Math.min(e+20,80)).hex()},400:{value:r.lightness(Math.min(e+10,70)).hex()},500:{value:r.hex()},600:{value:r.lightness(Math.max(e-10,40)).hex()},700:{value:r.lightness(Math.max(e-20,30)).hex()},800:{value:r.lightness(Math.max(e-30,20)).hex()},900:{value:r.lightness(Math.max(e-38,12)).hex()},950:{value:r.lightness(Math.max(e-45,8)).hex()}}}catch(r){throw console.error(`Error generating color palette for ${a||t}:`,r),new Error(`Invalid color format: ${t}. Please provide a valid hex, rgb, hsl, or color name.`)}}function z5(t){try{return t8(t),!0}catch{return!1}}function MD(t,a){let{paletteName:r,contrastColor:e="white",contrastColorDark:i}=a,o=i||e,l=r==="yellow",n=t==="warning",h=l?`{colors.${r}.600}`:`{colors.${r}.500}`,c=`{colors.${r}.500}`,d=n?`{colors.${r}.950}`:l?"white":e,s=n||l?`{colors.${r}.950}`:o,p=l?`{colors.${r}.700}`:`{colors.${r}.700}`,g=l?`{colors.${r}.400}`:`{colors.${r}.400}`,u=l?`{colors.${r}.700}`:`{colors.${r}.600}`;return{solid:{value:{base:h,_dark:c},description:`${t} solid background color`},contrast:{value:{base:d,_dark:s},description:`Contrast text color on ${t} solid background`},fg:{value:{base:p,_dark:g},description:`${t} foreground/text color`},muted:{value:{base:`{colors.${r}.100}`,_dark:`{colors.${r}.900}`},description:`${t} muted background`},subtle:{value:{base:`{colors.${r}.50}`,_dark:`{colors.${r}.950}`},description:`${t} subtle background`},emphasized:{value:{base:u,_dark:`{colors.${r}.600}`},description:`${t} emphasized color`},focusRing:{value:{base:h,_dark:c},description:`${t} focus ring color`}}}var fD={primary:"purple",secondary:"teal",positive:"green",negative:"red",warning:"yellow",neutral:"gray"};function nV(t){let a={...fD,...t},r={};for(let[e,i]of Object.entries(a))r[e]=MD(e,{paletteName:i});return r}var k5={0:{value:"0px"},1:{value:"4px"},2:{value:"8px"},3:{value:"12px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},10:{value:"40px"},12:{value:"48px"},16:{value:"64px"},20:{value:"80px"},24:{value:"96px"},32:{value:"128px"},40:{value:"160px"},48:{value:"192px"},56:{value:"224px"},64:{value:"256px"}},L5={"2xs":{value:"10px"},xs:{value:"12px"},sm:{value:"14px"},md:{value:"16px"},lg:{value:"18px"},xl:{value:"20px"},"2xl":{value:"24px"},"3xl":{value:"32px"},"4xl":{value:"36px"},"5xl":{value:"48px"},"6xl":{value:"64px"}},w5={normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800}},b5={3:{value:"12px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},tight:{value:1.25},snug:{value:1.375},normal:{value:1.5},relaxed:{value:1.625},loose:{value:2}},p0={purple:{50:{value:"#f0eaf9"},100:{value:"#ddd2ef"},200:{value:"#beadd9"},300:{value:"#9d8acc"},400:{value:"#8b73bd"},500:{value:"#7159a3"},600:{value:"#5d4889"},700:{value:"#483a70"},800:{value:"#3d325d"},900:{value:"#322949"},950:{value:"#2c2443"}},teal:{50:{value:"#e3f3ef"},100:{value:"#c9e8e0"},200:{value:"#99d2c4"},300:{value:"#6dc0a9"},400:{value:"#5fb09c"},500:{value:"#4d9483"},600:{value:"#3e7c6c"},700:{value:"#346458"},800:{value:"#2d5650"},900:{value:"#264540"},950:{value:"#213833"}},gray:{25:{value:"#FCFCFC"},50:{value:"#FAFAFA"},100:{value:"#F5F5F5"},200:{value:"#E5E5E5"},300:{value:"#D4D4D4"},400:{value:"#A3A3A3"},500:{value:"#737373"},600:{value:"#525252"},700:{value:"#404040"},800:{value:"#262626"},850:{value:"#1A1A1A"},900:{value:"#171717"},950:{value:"#0D0D0D"}},green:{50:{value:"#e6f5ea"},100:{value:"#cce8d2"},200:{value:"#a4d4ad"},300:{value:"#7fbd8e"},400:{value:"#6cb380"},500:{value:"#59986a"},600:{value:"#498057"},700:{value:"#3c6948"},800:{value:"#335939"},900:{value:"#294a30"},950:{value:"#233c28"}},red:{50:{value:"#faddde"},100:{value:"#f4c0c0"},200:{value:"#e69191"},300:{value:"#d66c6c"},400:{value:"#c75252"},500:{value:"#ab3e3e"},600:{value:"#903131"},700:{value:"#762828"},800:{value:"#632222"},900:{value:"#511c1c"},950:{value:"#441616"}},yellow:{50:{value:"#f9f1e0"},100:{value:"#f4e3c0"},200:{value:"#ebcd92"},300:{value:"#ddb462"},400:{value:"#c79e3f"},500:{value:"#a78023"},600:{value:"#8b6a1d"},700:{value:"#715718"},800:{value:"#604a16"},900:{value:"#4f3d14"},950:{value:"#423110"}},cyan:{50:{value:"#e6f3f7"},100:{value:"#cce8ee"},200:{value:"#a3d3dc"},300:{value:"#79bccc"},400:{value:"#5da5ba"},500:{value:"#4a899c"},600:{value:"#3d7280"},700:{value:"#335d68"},800:{value:"#2c5057"},900:{value:"#244147"},950:{value:"#1d363c"}},blue:{50:{value:"#ecf1f8"},100:{value:"#d9e2ef"},200:{value:"#b9c5dc"},300:{value:"#99a7cc"},400:{value:"#8a97bd"},500:{value:"#6675a3"},600:{value:"#4e5e89"},700:{value:"#3c4870"},800:{value:"#353e5d"},900:{value:"#2c3349"},950:{value:"#2a3043"}}},H5={xs:{value:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},sm:{value:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"},md:{value:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"},lg:{value:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},xl:{value:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"},"2xl":{value:"0 25px 50px -12px rgb(0 0 0 / 0.25)"},inner:{value:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},none:{value:"0 0 #0000"},glass:{value:"0 8px 32px rgba(15, 10, 46, 0.15)"},elevated:{value:"0 4px 20px rgba(15, 10, 46, 0.1), 0 1px 3px rgba(15, 10, 46, 0.08)"},dramatic:{value:"0 20px 40px rgba(15, 10, 46, 0.2)"}},C5={none:{value:"0px"},sm:{value:"2px"},md:{value:"6px"},lg:{value:"8px"},xl:{value:"12px"},"2xl":{value:"16px"},"3xl":{value:"24px"},full:{value:"9999px"}},B5={hide:{value:-1},auto:{value:"auto"},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipLink:{value:1600},toast:{value:1700},tooltip:{value:1800}},V5={colors:{bg:{DEFAULT:{value:{base:"white",_dark:"{colors.gray.950}"},description:"Default page background"},canvas:{value:{base:"{colors.gray.100}",_dark:"#0A0A0A"},description:"Canvas background \u2014 gutter behind floating panels"},canvasDeep:{value:{base:"#EEEEEE",_dark:"#050505"},description:"Deeper canvas for maximum elevation contrast"},surface:{value:{base:"white",_dark:"{colors.gray.900}"},description:"Surface background for cards, panels"},panel:{value:{base:"white",_dark:"{colors.gray.900}"},description:"Panel background \u2014 floating sidebar + right panel"},subtle:{value:{base:"{colors.gray.100}",_dark:"{colors.gray.850}"},description:"Subtle background"},muted:{value:{base:"{colors.gray.200}",_dark:"{colors.gray.800}"},description:"Muted background"},emphasized:{value:{base:"{colors.gray.300}",_dark:"{colors.gray.700}"},description:"Emphasized background"}},fg:{DEFAULT:{value:{base:"#0A0A0A",_dark:"{colors.gray.100}"},description:"Default text color"},muted:{value:{base:"{colors.gray.700}",_dark:"{colors.gray.400}"},description:"Muted text"},subtle:{value:{base:"{colors.gray.500}",_dark:"{colors.gray.500}"},description:"Subtle text"},disabled:{value:{base:"{colors.gray.400}",_dark:"{colors.gray.600}"},description:"Disabled text"}},border:{DEFAULT:{value:{base:"{colors.gray.200}",_dark:"{colors.gray.700}"},description:"Default border"},subtle:{value:{base:"{colors.gray.200}",_dark:"{colors.gray.800}"},description:"Subtle border"},muted:{value:{base:"{colors.gray.300}",_dark:"{colors.gray.700}"},description:"Muted border"},emphasized:{value:{base:"{colors.gray.400}",_dark:"{colors.gray.600}"},description:"Emphasized border"}},positive:{solid:{value:{base:"{colors.green.500}",_dark:"{colors.green.500}"},description:"Positive solid"},contrast:{value:{base:"white",_dark:"white"},description:"Positive contrast"},fg:{value:{base:"{colors.green.700}",_dark:"{colors.green.400}"},description:"Positive foreground"},muted:{value:{base:"{colors.green.100}",_dark:"{colors.green.900}"},description:"Positive muted"},subtle:{value:{base:"{colors.green.50}",_dark:"{colors.green.950}"},description:"Positive subtle"},emphasized:{value:{base:"{colors.green.600}",_dark:"{colors.green.600}"},description:"Positive emphasized"}},negative:{solid:{value:{base:"{colors.red.500}",_dark:"{colors.red.500}"},description:"Negative solid"},contrast:{value:{base:"white",_dark:"white"},description:"Negative contrast"},fg:{value:{base:"{colors.red.700}",_dark:"{colors.red.400}"},description:"Negative foreground"},muted:{value:{base:"{colors.red.100}",_dark:"{colors.red.900}"},description:"Negative muted"},subtle:{value:{base:"{colors.red.50}",_dark:"{colors.red.950}"},description:"Negative subtle"},emphasized:{value:{base:"{colors.red.600}",_dark:"{colors.red.600}"},description:"Negative emphasized"}},warning:{solid:{value:{base:"{colors.yellow.500}",_dark:"{colors.yellow.500}"},description:"Warning solid"},contrast:{value:{base:"{colors.yellow.950}",_dark:"{colors.yellow.950}"},description:"Warning contrast"},fg:{value:{base:"{colors.yellow.700}",_dark:"{colors.yellow.400}"},description:"Warning foreground"},muted:{value:{base:"{colors.yellow.100}",_dark:"{colors.yellow.900}"},description:"Warning muted"},subtle:{value:{base:"{colors.yellow.50}",_dark:"{colors.yellow.950}"},description:"Warning subtle"},emphasized:{value:{base:"{colors.yellow.600}",_dark:"{colors.yellow.600}"},description:"Warning emphasized"}},info:{solid:{value:{base:"{colors.blue.500}",_dark:"{colors.blue.500}"},description:"Info solid"},contrast:{value:{base:"white",_dark:"white"},description:"Info contrast"},fg:{value:{base:"{colors.blue.700}",_dark:"{colors.blue.400}"},description:"Info foreground"},muted:{value:{base:"{colors.blue.100}",_dark:"{colors.blue.900}"},description:"Info muted"},subtle:{value:{base:"{colors.blue.50}",_dark:"{colors.blue.950}"},description:"Info subtle"},emphasized:{value:{base:"{colors.blue.600}",_dark:"{colors.blue.600}"},description:"Info emphasized"}}}};var a8=rt({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",rounded:"full"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},outline:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg",bg:"transparent",_hover:{bg:"colorPalette.subtle"}},ghost:{color:"colorPalette.fg",bg:"transparent",_hover:{bg:"colorPalette.subtle"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},surface:{bg:"bg.surface",color:"fg.default",borderWidth:"1px",borderColor:"border.default"}},size:{xs:{px:"3",py:"1",fontSize:"xs",h:"7"},sm:{px:"4",py:"2",fontSize:"sm",h:"8"},md:{px:"6",py:"2",fontSize:"md",h:"10"},lg:{px:"8",py:"2",fontSize:"lg",h:"12"},xl:{px:"10",py:"3",fontSize:"xl",h:"14"}}},defaultVariants:{variant:"solid",size:"md"}});var r8=rt({base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",rounded:"full",gap:"2"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg",bg:"transparent"},surface:{bg:"bg.muted",color:"fg.default",borderWidth:"1px",borderColor:"border.default"}},size:{xs:{px:"2",py:"0",fontSize:"xs",h:"4"},sm:{px:"3",py:"0",fontSize:"xs",h:"5"},md:{px:"3",py:"1",fontSize:"xs",h:"6"},lg:{px:"4",py:"1",fontSize:"sm",h:"7"}}},defaultVariants:{variant:"subtle",size:"md"}});var e8=rt({base:{width:"100%",rounded:"lg",borderColor:"border.default",color:"fg.default",bg:"transparent",_placeholder:{color:"fg.muted"}},variants:{variant:{outline:{borderWidth:"1px",borderColor:"border.default",bg:"bg.surface"},filled:{bg:"bg.muted",borderWidth:"0"},flushed:{borderWidth:"0",borderBottomWidth:"1px",borderRadius:"0",px:"0"},subtle:{bg:"bg.subtle",borderWidth:"0"}},size:{sm:{px:"3",py:"1.5",fontSize:"md",h:"8"},md:{px:"3.5",py:"2",fontSize:"md",h:"10"},lg:{px:"4",py:"2.5",fontSize:"md",h:"12"}}},defaultVariants:{variant:"outline",size:"md"}});var i8=rt({base:{width:"100%",rounded:"lg",borderColor:"border.default",color:"fg.default",bg:"transparent"},variants:{variant:{outline:{borderWidth:"1px",borderColor:"border.default"},filled:{bg:"bg.muted",borderWidth:"0"},flushed:{borderWidth:"0",borderBottomWidth:"1px",borderRadius:"0",px:"0"},subtle:{bg:"bg.subtle",borderWidth:"0"}},size:{sm:{px:"3",py:"1.5",fontSize:"sm",h:"8"},md:{px:"3.5",py:"2",fontSize:"sm",h:"10"},lg:{px:"4",py:"2.5",fontSize:"md",h:"12"}}},defaultVariants:{variant:"outline",size:"md"}});var o8=rt({base:{borderColor:"border.subtle"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},orientation:{horizontal:{borderBottomWidth:"1px",width:"100%"},vertical:{borderRightWidth:"1px",height:"100%"}}},defaultVariants:{variant:"solid",orientation:"horizontal"}});var l8=rt({base:{display:"flex",flexDirection:"row",alignItems:"center",gap:"4"},variants:{gap:{none:{gap:"0"},xs:{gap:"1"},sm:{gap:"2"},md:{gap:"4"},lg:{gap:"6"},xl:{gap:"8"}}},defaultVariants:{gap:"md"}});var n8=rt({base:{display:"flex",flexDirection:"column",alignItems:"stretch",gap:"4"},variants:{gap:{none:{gap:"0"},xs:{gap:"1"},sm:{gap:"2"},md:{gap:"4"},lg:{gap:"6"},xl:{gap:"8"}}},defaultVariants:{gap:"md"}});var h8=rt({base:{display:"flex",gap:"4"},variants:{direction:{row:{flexDirection:"row"},column:{flexDirection:"column"},rowReverse:{flexDirection:"row-reverse"},columnReverse:{flexDirection:"column-reverse"}},gap:{none:{gap:"0"},xs:{gap:"1"},sm:{gap:"2"},md:{gap:"4"},lg:{gap:"6"},xl:{gap:"8"}},align:{start:{alignItems:"flex-start"},center:{alignItems:"center"},end:{alignItems:"flex-end"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},justify:{start:{justifyContent:"flex-start"},center:{justifyContent:"center"},end:{justifyContent:"flex-end"},between:{justifyContent:"space-between"},around:{justifyContent:"space-around"},evenly:{justifyContent:"space-evenly"}},wrap:{nowrap:{flexWrap:"nowrap"},wrap:{flexWrap:"wrap"},wrapReverse:{flexWrap:"wrap-reverse"}}},defaultVariants:{direction:"row",gap:"md"}});var c8=rt({base:{width:"100%",mx:"auto",px:"4"},variants:{size:{sm:{maxW:"640px"},md:{maxW:"768px"},lg:{maxW:"1024px"},xl:{maxW:"1280px"},"2xl":{maxW:"1536px"},full:{maxW:"100%"}},centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}}},defaultVariants:{size:"lg"}});var d8=rt({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",rounded:"full",flexShrink:0},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},outline:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg",bg:"transparent"},ghost:{color:"colorPalette.fg",bg:"transparent",_hover:{bg:"colorPalette.subtle"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},surface:{bg:"bg.surface",color:"fg.default",borderWidth:"1px",borderColor:"border.default"}},size:{xs:{w:"7",h:"7",fontSize:"sm"},sm:{w:"8",h:"8",fontSize:"md"},md:{w:"10",h:"10",fontSize:"lg"},lg:{w:"12",h:"12",fontSize:"xl"},xl:{w:"14",h:"14",fontSize:"2xl"}}},defaultVariants:{variant:"ghost",size:"sm"}});var s8=rt({base:{color:"colorPalette.solid"},variants:{size:{xs:{boxSize:"4"},sm:{boxSize:"6"},md:{boxSize:"8"},lg:{boxSize:"12"},xl:{boxSize:"16"}}},defaultVariants:{size:"md"}});var p8=rt({base:{overflow:"hidden",transition:"height 0.2s ease-in-out"},variants:{},defaultVariants:{}});var g8=R({slots:["root","header","body","footer","title","description"],base:{root:{display:"flex",flexDirection:"column",bg:"bg.surface",rounded:"xl",overflow:"hidden",borderWidth:0},header:{px:"6",py:"4"},body:{px:"6",py:"4",gap:"4",flex:"1"},footer:{px:"6",py:"4"},title:{fontWeight:"semibold",fontSize:"lg"},description:{color:"fg.muted",fontSize:"sm"}},variants:{variant:{subtle:{root:{bg:"bg.subtle"}},outline:{root:{borderWidth:"1px",borderColor:"border.subtle"}},elevated:{root:{shadow:"lg"}}},size:{sm:{header:{px:"4",py:"3"},body:{px:"4",py:"3"},footer:{px:"4",py:"3"}},md:{header:{px:"6",py:"4"},body:{px:"6",py:"4"},footer:{px:"6",py:"4"}},lg:{header:{px:"8",py:"5"},body:{px:"8",py:"5"},footer:{px:"8",py:"5"}}}},defaultVariants:{variant:"subtle",size:"md"}});var v8=R({slots:["root","image","fallback","group"],base:{root:{rounded:"full",overflow:"hidden",flexShrink:0,position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center"},image:{width:"100%",height:"100%",objectFit:"cover"},fallback:{bg:"colorPalette.muted",color:"colorPalette.fg",fontWeight:"medium",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},group:{display:"flex",alignItems:"center",gap:"2"}},variants:{size:{xs:{root:{boxSize:"6"},fallback:{fontSize:"xs"}},sm:{root:{boxSize:"8"},fallback:{fontSize:"sm"}},md:{root:{boxSize:"10"},fallback:{fontSize:"md"}},lg:{root:{boxSize:"12"},fallback:{fontSize:"lg"}},xl:{root:{boxSize:"16"},fallback:{fontSize:"xl"}},"2xl":{root:{boxSize:"24"},fallback:{fontSize:"2xl"}}}},defaultVariants:{size:"md"}});var u8=R({slots:["root","header","body","row","columnHeader","cell","footer"],base:{root:{width:"100%",borderCollapse:"collapse",bg:"bg.surface",color:"fg.default"},header:{bg:"bg.surface"},columnHeader:{px:"4",py:"3",textAlign:"start",fontSize:"sm",fontWeight:"semibold",color:"fg.default",borderBottomWidth:"1px",borderColor:"border.default"},cell:{px:"4",py:"3",fontSize:"sm",borderBottomWidth:"1px",borderColor:"border.subtle"},row:{_hover:{bg:"bg.subtle"}},footer:{bg:"bg.surface",fontWeight:"medium"}},variants:{variant:{simple:{},striped:{body:{"& tr:nth-of-type(odd)":{bg:"bg.subtle"}}}},size:{sm:{columnHeader:{px:"3",py:"2",fontSize:"xs"},cell:{px:"3",py:"2",fontSize:"xs"}},md:{columnHeader:{px:"4",py:"3",fontSize:"sm"},cell:{px:"4",py:"3",fontSize:"sm"}},lg:{columnHeader:{px:"6",py:"4",fontSize:"md"},cell:{px:"6",py:"4",fontSize:"md"}}}},defaultVariants:{variant:"simple",size:"md"}});var M8=R({slots:["content","arrow"],base:{content:{bg:"bg.inverted",color:"fg.inverted",px:"2",py:"1",rounded:"md",fontSize:"xs",fontWeight:"medium",maxW:"xs",textAlign:"center",_open:{animationStyle:"fade-in",animationDuration:"fast"}},arrow:{"--arrow-size":"4px","--arrow-background":"colors.bg.inverted"}},variants:{size:{sm:{content:{px:"2",py:"1",fontSize:"xs"}},md:{content:{px:"2",py:"1",fontSize:"xs"}},lg:{content:{px:"3",py:"2",fontSize:"sm"}}}},defaultVariants:{size:"md"}});var f8=R({slots:["root","icon","title","description","action"],base:{root:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",py:"12",px:"6",gap:"4"},icon:{boxSize:"12",color:"fg.muted",mb:"2"},title:{fontSize:"lg",fontWeight:"semibold",color:"fg.default"},description:{fontSize:"sm",color:"fg.muted",maxW:"md"},action:{mt:"2"}},variants:{size:{sm:{root:{py:"8",px:"4",gap:"3"},icon:{boxSize:"8"},title:{fontSize:"md"},description:{fontSize:"xs"}},md:{root:{py:"12",px:"6",gap:"4"},icon:{boxSize:"12"},title:{fontSize:"lg"},description:{fontSize:"sm"}},lg:{root:{py:"16",px:"8",gap:"6"},icon:{boxSize:"16"},title:{fontSize:"xl"},description:{fontSize:"md"}}}},defaultVariants:{size:"md"}});function T5(t){let{colors:a}=t;if(!z5(a.primary))throw new Error(`Invalid primary color: "${a.primary}".`);if(!z5(a.secondary))throw new Error(`Invalid secondary color: "${a.secondary}".`);let r=t.includeDefaultPalettes??!0,e=x5(a.primary,"primary"),i=x5(a.secondary,"secondary"),o={},l={positive:a.positive,negative:a.negative,warning:a.warning,neutral:a.neutral||"gray"};for(let[g,u]of Object.entries(l))u&&(z5(u)?o[g]=x5(u,g):p0[u]?o[g]=p0[u]:console.warn(`Color "${u}" not found in default palettes. Skipping.`));let n={primary:e,secondary:i,...o,...r?{gray:p0.gray,green:o.positive||p0.green,red:o.negative||p0.red,yellow:o.warning||p0.yellow,cyan:p0.cyan,blue:p0.blue}:{}},h={primary:"primary",secondary:"secondary",positive:l.positive?"positive":"green",negative:l.negative?"negative":"red",warning:l.warning?"warning":"yellow",neutral:l.neutral?"neutral":"gray"},c=nV(h),d={colors:{...V5.colors,...c}},s={...H5,...t.shadows??{}},p={...Ri,conditions:{...Ri.conditions,light:".light &",dark:".dark &"},globalCss:{"*":{scrollbarWidth:"thin",scrollbarColor:"rgba(255, 255, 255, 0.2) transparent"},"*::-webkit-scrollbar":{width:"8px",height:"8px"},"*::-webkit-scrollbar-track":{background:"transparent"},"*::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"4px",border:"2px solid transparent",backgroundClip:"padding-box"},"*::-webkit-scrollbar-thumb:hover":{background:"rgba(255, 255, 255, 0.3)",backgroundClip:"padding-box"}},theme:{...t.keyframes?{keyframes:t.keyframes}:{},tokens:{colors:n,spacing:t.spacing||k5,fontSizes:L5,fontWeights:w5,lineHeights:b5,shadows:s,radii:C5,zIndex:B5,...t.typography?.fontFamily&&{fonts:{body:{value:t.typography.fontFamily}}},...t.typography?.headingFontFamily&&{fonts:{heading:{value:t.typography.headingFontFamily}}}},semanticTokens:d,textStyles:{"display.2xl":{fontSize:{value:"{fontSizes.6xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.xl":{fontSize:{value:"{fontSizes.5xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.lg":{fontSize:{value:"{fontSizes.4xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.md":{fontSize:{value:"{fontSizes.3xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.sm":{fontSize:{value:"{fontSizes.2xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"heading.2xl":{fontSize:{value:"{fontSizes.2xl}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.xl":{fontSize:{value:"{fontSizes.xl}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.lg":{fontSize:{value:"{fontSizes.lg}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.md":{fontSize:{value:"{fontSizes.md}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.sm":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"body.lg":{fontSize:{value:"{fontSizes.lg}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.relaxed}"}},"body.md":{fontSize:{value:"{fontSizes.md}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.relaxed}"}},"body.sm":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.relaxed}"}},"label.lg":{fontSize:{value:"{fontSizes.md}"},fontWeight:{value:"{fontWeights.medium}"},lineHeight:{value:"{lineHeights.normal}"}},"label.md":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.medium}"},lineHeight:{value:"{lineHeights.normal}"}},"label.sm":{fontSize:{value:"{fontSizes.xs}"},fontWeight:{value:"{fontWeights.medium}"},lineHeight:{value:"{lineHeights.normal}"}},"caption.lg":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.normal}"},color:{value:"{colors.fg.muted}"}},"caption.md":{fontSize:{value:"{fontSizes.xs}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.normal}"},color:{value:"{colors.fg.muted}"}}},layerStyles:{elevated:{value:{bg:"bg.subtle",p:4,borderRadius:"2xl"}},card:{value:{bg:"bg.muted",p:3,borderRadius:"lg",transition:"background 200ms",_hover:{bg:"bg.emphasized"}}},input:{value:{bg:"bg.muted",p:3,borderRadius:"lg"}},...t.layerStyles??{}},recipes:{button:a8,badge:r8,input:e8,select:i8,separator:o8,hstack:l8,vstack:n8,flex:h8,container:c8,iconButton:d8,spinner:s8,collapse:p8},slotRecipes:{card:g8,avatar:v8,table:u8,tooltip:M8,emptyState:f8}}};return yl(Ri,p)}var y5=T5({colors:{primary:"#F59E0B",secondary:"#1DBFAE"},shadows:{glow:{value:"0 0 20px rgba(245, 158, 11, 0.3)"},"glow-sm":{value:"0 0 8px rgba(245, 158, 11, 0.15)"},"glow-lg":{value:"0 0 40px rgba(245, 158, 11, 0.2)"}},keyframes:{"jarvis-pulse":{"0%, 100%":{opacity:1},"50%":{opacity:.6}},"jarvis-attention-pulse":{"0%, 100%":{opacity:1,transform:"scale(1)"},"50%":{opacity:.45,transform:"scale(0.85)"}}}});var S5=W(at(),1);var xD="/api/v1/machine";async function hV(t=xD){let a=await fetch(t),r=await a.json().catch(()=>null);if(!a.ok||!r?.repo)throw new Error(r?.error??`this machine could not be read (${a.status})`);return r}function cV(){let[t,a]=(0,S5.useState)({data:null,refusal:null,loading:!0});return(0,S5.useEffect)(()=>{let r=!1;return(async()=>{try{let e=await hV();r||a({data:e,refusal:null,loading:!1})}catch(e){r||a({data:null,refusal:e instanceof Error?e.message:String(e),loading:!1})}})(),()=>{r=!0}},[]),t}var mt=W(K(),1);function X2({label:t,value:a,ok:r,note:e}){return(0,mt.jsxs)(W1,{align:"baseline",gap:4,py:2.5,borderBottomWidth:"1px",borderColor:"border.subtle",wrap:"wrap",children:[(0,mt.jsx)(et,{fontSize:"xs",color:"fg.subtle",w:"140px",flex:"none",children:t}),(0,mt.jsxs)(Ht,{align:"stretch",gap:.5,flex:1,minW:0,children:[(0,mt.jsxs)(Bt,{gap:2,children:[r!==void 0&&(0,mt.jsx)(y2,{color:r?"positive.solid":"warning.solid",hollow:!r}),(0,mt.jsx)(et,{fontSize:"sm",color:"fg",wordBreak:"break-word",children:a})]}),e&&(0,mt.jsx)(et,{fontSize:"xs",color:"fg.muted",wordBreak:"break-word",children:e})]})]})}function m8({title:t,children:a}){return(0,mt.jsxs)(Ht,{align:"stretch",gap:0,children:[(0,mt.jsx)(et,{fontSize:"xs",color:"fg.subtle",textTransform:"uppercase",letterSpacing:"wider",mb:1,children:t}),a]})}function kD({hooks:t}){if(t.length===0)return(0,mt.jsx)(X2,{label:"Claude Code",value:"This build installs no hooks."});let a=t.filter(e=>e.wired).length,r=t.filter(e=>e.command);return a===t.length?(0,mt.jsx)(X2,{label:"Claude Code",value:`All ${t.length} hooks wired here`,ok:!0}):r.length===t.length?(0,mt.jsx)(X2,{label:"Claude Code",value:"Hooked to another install of jarvis",note:`All ${t.length} hooks run ${r[0]?.command} \u2014 correct if that is the jarvis you meant to be running, and worth a look if it is not.`}):(0,mt.jsx)(X2,{label:"Claude Code",value:`${a} of ${t.length} hooks wired here`,ok:!1,note:r.length>0?`${r.length} run another install, at ${r[0]?.command}. \`jarvis init\` points them here.`:"`jarvis init` wires them."})}function dV({machine:t}){let{data:a,refusal:r,loading:e}=t;return e?(0,mt.jsx)(Z,{p:6,children:(0,mt.jsx)(et,{fontSize:"sm",color:"fg.subtle",children:"Reading this machine\u2026"})}):r||!a?(0,mt.jsx)(Z,{p:6,children:(0,mt.jsx)(et,{fontSize:"sm",color:"negative.fg",children:r??"this machine could not be read"})}):(0,mt.jsxs)(Ht,{align:"stretch",gap:6,p:6,maxW:"720px",children:[(0,mt.jsxs)(m8,{title:"What you are reading",children:[(0,mt.jsx)(X2,{label:"Repo",value:a.repo.name,note:a.repo.path}),(0,mt.jsx)(X2,{label:"Branch",value:a.repo.branch??"no branch \u2014 detached HEAD",note:"A branch's work tree describes that branch's world."})]}),(0,mt.jsxs)(m8,{title:"This machine",children:[(0,mt.jsx)(X2,{label:"Jarvis",value:a.version}),(0,mt.jsx)(X2,{label:"Config",value:a.configDir,note:"The config dir IS this machine's identity."}),(0,mt.jsx)(X2,{label:"Daemon",value:a.daemon.running?`running${a.daemon.pid?` (pid ${a.daemon.pid})`:""}`:"not running",ok:a.daemon.running,note:a.daemon.running?void 0:"`jarvis start` runs it."}),(0,mt.jsx)(kD,{hooks:a.hooks})]}),(0,mt.jsx)(m8,{title:"Instance",children:a.instance?(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(X2,{label:"Joined",value:a.instance.url,ok:a.instance.reachable,note:a.instance.reachable?void 0:"Not answering right now."}),a.instance.envId&&(0,mt.jsx)(X2,{label:"Machine id",value:a.instance.envId})]}):(0,mt.jsx)(X2,{label:"Joined",value:"nothing \u2014 and that is a working machine",note:"Everything on this page runs with no instance. Joining one adds the web surface and sessions across machines: `jarvis init --url <address>`."})}),(0,mt.jsx)(et,{fontSize:"xs",color:"fg.subtle",children:"Read-only. Changing any of this runs machine lifecycle, so it is the terminal's job \u2014 the command that owns each fact is named beside it."})]})}var $t=W(K(),1),nn={key:"work",label:"Work",icon:(0,$t.jsx)(gc,{size:17}),title:"Work",subtitle:"What this workspace has to do"},z8={key:"machine",label:"This machine",icon:(0,$t.jsx)(G6,{size:17}),title:"This machine",subtitle:"What is set up here, and what is not"},LD=[nn,z8],wD=[nn],bD=[z8];function HD(){let[t,a]=(0,x8.useState)(nn),[r,e]=(0,x8.useState)(!0),i=cV(),o=u5();return(0,$t.jsx)(s9,{value:y5,children:(0,$t.jsx)(Pl,{brand:(0,$t.jsxs)(Ht,{align:"start",gap:0,children:[(0,$t.jsx)(et,{fontSize:"sm",fontWeight:"semibold",color:"fg",lineHeight:"short",children:"Jarvis"}),i.data&&(0,$t.jsx)(et,{fontSize:"xs",color:"fg.subtle",lineHeight:"short",truncate:!0,maxW:"150px",children:i.data.repo.name})]}),nav:wD.map(({key:l,label:n,icon:h})=>({key:l,label:n,icon:h})),navFooter:bD.map(({key:l,label:n,icon:h})=>({key:l,label:n,icon:h})),active:t.key,onNavigate:l=>a(LD.find(n=>n.key===l)??nn),expanded:r,onToggle:()=>e(l=>!l),title:t.title,subtitle:t.subtitle,actions:t===nn?(0,$t.jsx)(f5,{...o}):void 0,footer:(0,$t.jsxs)($t.Fragment,{children:[(0,$t.jsx)(Z,{px:2,py:2,children:(0,$t.jsx)(dc,{})}),(0,$t.jsxs)(Bt,{px:4,pb:3,gap:2.5,align:"start",children:[(0,$t.jsx)(Z,{color:"fg.muted",pt:.5,flex:"none",children:(0,$t.jsx)(G6,{size:16})}),r&&(0,$t.jsxs)(Ht,{align:"start",gap:0,minW:0,children:[(0,$t.jsx)(et,{fontSize:"xs",color:"fg.muted",lineHeight:"short",children:"read-only \xB7 this machine"}),i.data&&(0,$t.jsx)(et,{fontSize:"xs",color:"fg.subtle",lineHeight:"short",children:i.data.version})]})]})]}),children:t===z8?(0,$t.jsx)(dV,{machine:i}):(0,$t.jsx)(M5,{onOpen:()=>{},view:o.view})})})}var sV=document.getElementById("root");sV&&(0,pV.createRoot)(sV).render((0,$t.jsx)(HD,{}));
|
|
47
47
|
/*! Bundled license information:
|
|
48
48
|
|
|
49
49
|
react/cjs/react.production.min.js:
|