@salesforce/ui-design-mode 10.2.1 → 10.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring/core/DesignPropertyPanelRoot.d.cts +52 -0
- package/dist/authoring/core/DesignPropertyPanelRoot.d.ts +52 -0
- package/dist/authoring/core/DesignPropertyPanelRoot.d.ts.map +1 -0
- package/dist/authoring/core/DesignPropertyPanelSection.d.cts +8 -0
- package/dist/authoring/core/DesignPropertyPanelSection.d.ts +8 -0
- package/dist/authoring/core/DesignPropertyPanelSection.d.ts.map +1 -0
- package/dist/authoring/core/editors/BaseEditorContainer.d.cts +16 -0
- package/dist/authoring/core/editors/BaseEditorContainer.d.ts +16 -0
- package/dist/authoring/core/editors/BaseEditorContainer.d.ts.map +1 -0
- package/dist/authoring/core/editors/BorderStyleEditor.d.cts +8 -0
- package/dist/authoring/core/editors/BorderStyleEditor.d.ts +8 -0
- package/dist/authoring/core/editors/BorderStyleEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/BoxDimensionEditor.d.cts +34 -0
- package/dist/authoring/core/editors/BoxDimensionEditor.d.ts +34 -0
- package/dist/authoring/core/editors/BoxDimensionEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/ColorEditor.d.cts +15 -0
- package/dist/authoring/core/editors/ColorEditor.d.ts +15 -0
- package/dist/authoring/core/editors/ColorEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/DimensionEditor.d.cts +31 -0
- package/dist/authoring/core/editors/DimensionEditor.d.ts +31 -0
- package/dist/authoring/core/editors/DimensionEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/FontFamilyEditor.d.cts +11 -0
- package/dist/authoring/core/editors/FontFamilyEditor.d.ts +11 -0
- package/dist/authoring/core/editors/FontFamilyEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/FontStyleEditor.d.cts +8 -0
- package/dist/authoring/core/editors/FontStyleEditor.d.ts +8 -0
- package/dist/authoring/core/editors/FontStyleEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/FontWeightEditor.d.cts +11 -0
- package/dist/authoring/core/editors/FontWeightEditor.d.ts +11 -0
- package/dist/authoring/core/editors/FontWeightEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/OverflowEditor.d.cts +8 -0
- package/dist/authoring/core/editors/OverflowEditor.d.ts +8 -0
- package/dist/authoring/core/editors/OverflowEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/PicklistEditor.d.cts +26 -0
- package/dist/authoring/core/editors/PicklistEditor.d.ts +26 -0
- package/dist/authoring/core/editors/PicklistEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/RadioGroupEditor.d.cts +26 -0
- package/dist/authoring/core/editors/RadioGroupEditor.d.ts +26 -0
- package/dist/authoring/core/editors/RadioGroupEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/TextAlignmentEditor.d.cts +8 -0
- package/dist/authoring/core/editors/TextAlignmentEditor.d.ts +8 -0
- package/dist/authoring/core/editors/TextAlignmentEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/TextDecorationEditor.d.cts +8 -0
- package/dist/authoring/core/editors/TextDecorationEditor.d.ts +8 -0
- package/dist/authoring/core/editors/TextDecorationEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/TextTransformEditor.d.cts +8 -0
- package/dist/authoring/core/editors/TextTransformEditor.d.ts +8 -0
- package/dist/authoring/core/editors/TextTransformEditor.d.ts.map +1 -0
- package/dist/authoring/core/history/commandExecutor.d.cts +29 -0
- package/dist/authoring/core/history/commandExecutor.d.ts +29 -0
- package/dist/authoring/core/history/commandExecutor.d.ts.map +1 -0
- package/dist/authoring/core/history/historyManager.d.cts +77 -0
- package/dist/authoring/core/history/historyManager.d.ts +77 -0
- package/dist/authoring/core/history/historyManager.d.ts.map +1 -0
- package/dist/authoring/core/history/historyService.d.cts +37 -0
- package/dist/authoring/core/history/historyService.d.ts +37 -0
- package/dist/authoring/core/history/historyService.d.ts.map +1 -0
- package/dist/authoring/core/history/iframeCommandExecutor.d.cts +10 -0
- package/dist/authoring/core/history/iframeCommandExecutor.d.ts +10 -0
- package/dist/authoring/core/history/iframeCommandExecutor.d.ts.map +1 -0
- package/dist/authoring/core/history/targetResolver.d.cts +59 -0
- package/dist/authoring/core/history/targetResolver.d.ts +59 -0
- package/dist/authoring/core/history/targetResolver.d.ts.map +1 -0
- package/dist/authoring/core/hooks/usePopover.d.cts +26 -0
- package/dist/authoring/core/hooks/usePopover.d.ts +26 -0
- package/dist/authoring/core/hooks/usePopover.d.ts.map +1 -0
- package/dist/authoring/core/utils/colorUtils.d.cts +73 -0
- package/dist/authoring/core/utils/colorUtils.d.ts +73 -0
- package/dist/authoring/core/utils/colorUtils.d.ts.map +1 -0
- package/dist/authoring/core/utils/dimensionUtils.d.cts +81 -0
- package/dist/authoring/core/utils/dimensionUtils.d.ts +81 -0
- package/dist/authoring/core/utils/dimensionUtils.d.ts.map +1 -0
- package/dist/authoring/core/utils/domUtils.d.cts +7 -0
- package/dist/authoring/core/utils/domUtils.d.ts +7 -0
- package/dist/authoring/core/utils/domUtils.d.ts.map +1 -0
- package/dist/authoring/react/index.d.cts +14 -0
- package/dist/authoring/react/index.d.ts +14 -0
- package/dist/authoring/react/index.d.ts.map +1 -0
- package/dist/authoring/react/index.js +119 -0
- package/dist/authoring/web-component/index.d.cts +18 -0
- package/dist/authoring/web-component/index.d.ts +18 -0
- package/dist/authoring/web-component/index.d.ts.map +1 -0
- package/dist/authoring/web-component/index.js +1229 -0
- package/dist/protocol/editableElementTags.cjs +16 -0
- package/dist/protocol/editableElementTags.d.cts +14 -0
- package/dist/protocol/editableElementTags.d.ts +14 -0
- package/dist/protocol/editableElementTags.d.ts.map +1 -0
- package/dist/protocol/editableElementTags.js +16 -0
- package/dist/protocol/index.cjs +2 -0
- package/dist/protocol/index.d.cts +1 -0
- package/dist/protocol/index.d.ts +1 -0
- package/dist/protocol/index.d.ts.map +1 -1
- package/dist/protocol/index.js +2 -0
- package/dist/protocol/messageTypes.d.cts +49 -6
- package/dist/protocol/messageTypes.d.ts +49 -6
- package/dist/protocol/messageTypes.d.ts.map +1 -1
- package/dist/runtime/design-mode-interactions.js +44 -21
- package/dist/runtime/interactions/communicationManager.d.cts +2 -26
- package/dist/runtime/interactions/communicationManager.d.ts +2 -26
- package/dist/runtime/interactions/communicationManager.d.ts.map +1 -1
- package/dist/runtime/interactions/componentMatcher.d.cts +6 -2
- package/dist/runtime/interactions/componentMatcher.d.ts +6 -2
- package/dist/runtime/interactions/componentMatcher.d.ts.map +1 -1
- package/dist/runtime/interactions/editableManager.d.cts +2 -1
- package/dist/runtime/interactions/editableManager.d.ts +2 -1
- package/dist/runtime/interactions/editableManager.d.ts.map +1 -1
- package/dist/runtime/interactions/utils/sourceUtils.d.cts +4 -1
- package/dist/runtime/interactions/utils/sourceUtils.d.ts +4 -1
- package/dist/runtime/interactions/utils/sourceUtils.d.ts.map +1 -1
- package/package.json +27 -3
|
@@ -0,0 +1,1229 @@
|
|
|
1
|
+
var nh=Object.create;var f9=Object.defineProperty;var ih=Object.getOwnPropertyDescriptor;var uh=Object.getOwnPropertyNames;var dh=Object.getPrototypeOf,sh=Object.prototype.hasOwnProperty;var _c=e=>{throw TypeError(e)};var ch=(e,t,a)=>t in e?f9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var I1=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var fh=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of uh(t))!sh.call(e,l)&&l!==a&&f9(e,l,{get:()=>t[l],enumerable:!(o=ih(t,l))||o.enumerable});return e};var U=(e,t,a)=>(a=e!=null?nh(dh(e)):{},fh(t||!e||!e.__esModule?f9(a,"default",{value:e,enumerable:!0}):a,e));var So=(e,t,a)=>ch(e,typeof t!="symbol"?t+"":t,a),p9=(e,t,a)=>t.has(e)||_c("Cannot "+a);var b1=(e,t,a)=>(p9(e,t,"read from private field"),a?a.call(e):t.get(e)),Ro=(e,t,a)=>t.has(e)?_c("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),rl=(e,t,a,o)=>(p9(e,t,"write to private field"),o?o.call(e,a):t.set(e,a),a),Wt=(e,t,a)=>(p9(e,t,"access private method"),a);var Uc=I1(ae=>{"use strict";var h9=Symbol.for("react.transitional.element"),ph=Symbol.for("react.portal"),Ch=Symbol.for("react.fragment"),mh=Symbol.for("react.strict_mode"),hh=Symbol.for("react.profiler"),gh=Symbol.for("react.consumer"),vh=Symbol.for("react.context"),xh=Symbol.for("react.forward_ref"),Lh=Symbol.for("react.suspense"),bh=Symbol.for("react.memo"),Bc=Symbol.for("react.lazy"),wh=Symbol.for("react.activity"),Ec=Symbol.iterator;function yh(e){return e===null||typeof e!="object"?null:(e=Ec&&e[Ec]||e["@@iterator"],typeof e=="function"?e:null)}var Ac={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zc=Object.assign,zc={};function il(e,t,a){this.props=e,this.context=t,this.refs=zc,this.updater=a||Ac}il.prototype.isReactComponent={};il.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};il.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Nc(){}Nc.prototype=il.prototype;function g9(e,t,a){this.props=e,this.context=t,this.refs=zc,this.updater=a||Ac}var v9=g9.prototype=new Nc;v9.constructor=g9;Zc(v9,il.prototype);v9.isPureReactComponent=!0;var Oc=Array.isArray;function m9(){}var De={H:null,A:null,T:null,S:null},Pc=Object.prototype.hasOwnProperty;function x9(e,t,a){var o=a.ref;return{$$typeof:h9,type:e,key:t,ref:o!==void 0?o:null,props:a}}function Ih(e,t){return x9(e.type,t,e.props)}function L9(e){return typeof e=="object"&&e!==null&&e.$$typeof===h9}function Mh(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var Dc=/\/+/g;function C9(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Mh(""+e.key):t.toString(36)}function Sh(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(m9,m9):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function nl(e,t,a,o,l){var r=typeof e;(r==="undefined"||r==="boolean")&&(e=null);var n=!1;if(e===null)n=!0;else switch(r){case"bigint":case"string":case"number":n=!0;break;case"object":switch(e.$$typeof){case h9:case ph:n=!0;break;case Bc:return n=e._init,nl(n(e._payload),t,a,o,l)}}if(n)return l=l(e),n=o===""?"."+C9(e,0):o,Oc(l)?(a="",n!=null&&(a=n.replace(Dc,"$&/")+"/"),nl(l,t,a,"",function(d){return d})):l!=null&&(L9(l)&&(l=Ih(l,a+(l.key==null||e&&e.key===l.key?"":(""+l.key).replace(Dc,"$&/")+"/")+n)),t.push(l)),1;n=0;var i=o===""?".":o+":";if(Oc(e))for(var u=0;u<e.length;u++)o=e[u],r=i+C9(o,u),n+=nl(o,t,a,r,l);else if(u=yh(e),typeof u=="function")for(e=u.call(e),u=0;!(o=e.next()).done;)o=o.value,r=i+C9(o,u++),n+=nl(o,t,a,r,l);else if(r==="object"){if(typeof e.then=="function")return nl(Sh(e),t,a,o,l);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return n}function C0(e,t,a){if(e==null)return e;var o=[],l=0;return nl(e,o,"","",function(r){return t.call(a,r,l++)}),o}function Rh(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Vc=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Hh={map:C0,forEach:function(e,t,a){C0(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return C0(e,function(){t++}),t},toArray:function(e){return C0(e,function(t){return t})||[]},only:function(e){if(!L9(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ae.Activity=wh;ae.Children=Hh;ae.Component=il;ae.Fragment=Ch;ae.Profiler=hh;ae.PureComponent=g9;ae.StrictMode=mh;ae.Suspense=Lh;ae.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=De;ae.__COMPILER_RUNTIME={__proto__:null,c:function(e){return De.H.useMemoCache(e)}};ae.cache=function(e){return function(){return e.apply(null,arguments)}};ae.cacheSignal=function(){return null};ae.cloneElement=function(e,t,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=Zc({},e.props),l=e.key;if(t!=null)for(r in t.key!==void 0&&(l=""+t.key),t)!Pc.call(t,r)||r==="key"||r==="__self"||r==="__source"||r==="ref"&&t.ref===void 0||(o[r]=t[r]);var r=arguments.length-2;if(r===1)o.children=a;else if(1<r){for(var n=Array(r),i=0;i<r;i++)n[i]=arguments[i+2];o.children=n}return x9(e.type,l,o)};ae.createContext=function(e){return e={$$typeof:vh,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:gh,_context:e},e};ae.createElement=function(e,t,a){var o,l={},r=null;if(t!=null)for(o in t.key!==void 0&&(r=""+t.key),t)Pc.call(t,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(l[o]=t[o]);var n=arguments.length-2;if(n===1)l.children=a;else if(1<n){for(var i=Array(n),u=0;u<n;u++)i[u]=arguments[u+2];l.children=i}if(e&&e.defaultProps)for(o in n=e.defaultProps,n)l[o]===void 0&&(l[o]=n[o]);return x9(e,r,l)};ae.createRef=function(){return{current:null}};ae.forwardRef=function(e){return{$$typeof:xh,render:e}};ae.isValidElement=L9;ae.lazy=function(e){return{$$typeof:Bc,_payload:{_status:-1,_result:e},_init:Rh}};ae.memo=function(e,t){return{$$typeof:bh,type:e,compare:t===void 0?null:t}};ae.startTransition=function(e){var t=De.T,a={};De.T=a;try{var o=e(),l=De.S;l!==null&&l(a,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(m9,Vc)}catch(r){Vc(r)}finally{t!==null&&a.types!==null&&(t.types=a.types),De.T=t}};ae.unstable_useCacheRefresh=function(){return De.H.useCacheRefresh()};ae.use=function(e){return De.H.use(e)};ae.useActionState=function(e,t,a){return De.H.useActionState(e,t,a)};ae.useCallback=function(e,t){return De.H.useCallback(e,t)};ae.useContext=function(e){return De.H.useContext(e)};ae.useDebugValue=function(){};ae.useDeferredValue=function(e,t){return De.H.useDeferredValue(e,t)};ae.useEffect=function(e,t){return De.H.useEffect(e,t)};ae.useEffectEvent=function(e){return De.H.useEffectEvent(e)};ae.useId=function(){return De.H.useId()};ae.useImperativeHandle=function(e,t,a){return De.H.useImperativeHandle(e,t,a)};ae.useInsertionEffect=function(e,t){return De.H.useInsertionEffect(e,t)};ae.useLayoutEffect=function(e,t){return De.H.useLayoutEffect(e,t)};ae.useMemo=function(e,t){return De.H.useMemo(e,t)};ae.useOptimistic=function(e,t){return De.H.useOptimistic(e,t)};ae.useReducer=function(e,t,a){return De.H.useReducer(e,t,a)};ae.useRef=function(e){return De.H.useRef(e)};ae.useState=function(e){return De.H.useState(e)};ae.useSyncExternalStore=function(e,t,a){return De.H.useSyncExternalStore(e,t,a)};ae.useTransition=function(){return De.H.useTransition()};ae.version="19.2.4"});var ge=I1((rS,qc)=>{"use strict";qc.exports=Uc()});var e3=I1(Ze=>{"use strict";function I9(e,t){var a=e.length;e.push(t);e:for(;0<a;){var o=a-1>>>1,l=e[o];if(0<m0(l,t))e[o]=t,e[a]=l,a=o;else break e}}function At(e){return e.length===0?null:e[0]}function g0(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var o=0,l=e.length,r=l>>>1;o<r;){var n=2*(o+1)-1,i=e[n],u=n+1,d=e[u];if(0>m0(i,a))u<l&&0>m0(d,i)?(e[o]=d,e[u]=a,o=u):(e[o]=i,e[n]=a,o=n);else if(u<l&&0>m0(d,a))e[o]=d,e[u]=a,o=u;else break e}}return t}function m0(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}Ze.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Fc=performance,Ze.unstable_now=function(){return Fc.now()}):(b9=Date,jc=b9.now(),Ze.unstable_now=function(){return b9.now()-jc});var Fc,b9,jc,Jt=[],_a=[],Th=1,ut=null,w1=3,M9=!1,Or=!1,Dr=!1,S9=!1,Xc=typeof setTimeout=="function"?setTimeout:null,Qc=typeof clearTimeout=="function"?clearTimeout:null,Gc=typeof setImmediate<"u"?setImmediate:null;function h0(e){for(var t=At(_a);t!==null;){if(t.callback===null)g0(_a);else if(t.startTime<=e)g0(_a),t.sortIndex=t.expirationTime,I9(Jt,t);else break;t=At(_a)}}function R9(e){if(Dr=!1,h0(e),!Or)if(At(Jt)!==null)Or=!0,dl||(dl=!0,ul());else{var t=At(_a);t!==null&&H9(R9,t.startTime-e)}}var dl=!1,Vr=-1,Yc=5,Wc=-1;function Jc(){return S9?!0:!(Ze.unstable_now()-Wc<Yc)}function w9(){if(S9=!1,dl){var e=Ze.unstable_now();Wc=e;var t=!0;try{e:{Or=!1,Dr&&(Dr=!1,Qc(Vr),Vr=-1),M9=!0;var a=w1;try{t:{for(h0(e),ut=At(Jt);ut!==null&&!(ut.expirationTime>e&&Jc());){var o=ut.callback;if(typeof o=="function"){ut.callback=null,w1=ut.priorityLevel;var l=o(ut.expirationTime<=e);if(e=Ze.unstable_now(),typeof l=="function"){ut.callback=l,h0(e),t=!0;break t}ut===At(Jt)&&g0(Jt),h0(e)}else g0(Jt);ut=At(Jt)}if(ut!==null)t=!0;else{var r=At(_a);r!==null&&H9(R9,r.startTime-e),t=!1}}break e}finally{ut=null,w1=a,M9=!1}t=void 0}}finally{t?ul():dl=!1}}}var ul;typeof Gc=="function"?ul=function(){Gc(w9)}:typeof MessageChannel<"u"?(y9=new MessageChannel,Kc=y9.port2,y9.port1.onmessage=w9,ul=function(){Kc.postMessage(null)}):ul=function(){Xc(w9,0)};var y9,Kc;function H9(e,t){Vr=Xc(function(){e(Ze.unstable_now())},t)}Ze.unstable_IdlePriority=5;Ze.unstable_ImmediatePriority=1;Ze.unstable_LowPriority=4;Ze.unstable_NormalPriority=3;Ze.unstable_Profiling=null;Ze.unstable_UserBlockingPriority=2;Ze.unstable_cancelCallback=function(e){e.callback=null};Ze.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Yc=0<e?Math.floor(1e3/e):5};Ze.unstable_getCurrentPriorityLevel=function(){return w1};Ze.unstable_next=function(e){switch(w1){case 1:case 2:case 3:var t=3;break;default:t=w1}var a=w1;w1=t;try{return e()}finally{w1=a}};Ze.unstable_requestPaint=function(){S9=!0};Ze.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=w1;w1=e;try{return t()}finally{w1=a}};Ze.unstable_scheduleCallback=function(e,t,a){var o=Ze.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?o+a:o):a=o,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=a+l,e={id:Th++,callback:t,priorityLevel:e,startTime:a,expirationTime:l,sortIndex:-1},a>o?(e.sortIndex=a,I9(_a,e),At(Jt)===null&&e===At(_a)&&(Dr?(Qc(Vr),Vr=-1):Dr=!0,H9(R9,a-o))):(e.sortIndex=l,I9(Jt,e),Or||M9||(Or=!0,dl||(dl=!0,ul()))),e};Ze.unstable_shouldYield=Jc;Ze.unstable_wrapCallback=function(e){var t=w1;return function(){var a=w1;w1=t;try{return e.apply(this,arguments)}finally{w1=a}}}});var a3=I1((uS,t3)=>{"use strict";t3.exports=e3()});var l3=I1(S1=>{"use strict";var _h=ge();function o3(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Ea(){}var M1={d:{f:Ea,r:function(){throw Error(o3(522))},D:Ea,C:Ea,L:Ea,m:Ea,X:Ea,S:Ea,M:Ea},p:0,findDOMNode:null},Eh=Symbol.for("react.portal");function Oh(e,t,a){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Eh,key:o==null?null:""+o,children:e,containerInfo:t,implementation:a}}var Br=_h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v0(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}S1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M1;S1.createPortal=function(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(o3(299));return Oh(e,t,null,a)};S1.flushSync=function(e){var t=Br.T,a=M1.p;try{if(Br.T=null,M1.p=2,e)return e()}finally{Br.T=t,M1.p=a,M1.d.f()}};S1.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,M1.d.C(e,t))};S1.prefetchDNS=function(e){typeof e=="string"&&M1.d.D(e)};S1.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var a=t.as,o=v0(a,t.crossOrigin),l=typeof t.integrity=="string"?t.integrity:void 0,r=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;a==="style"?M1.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:o,integrity:l,fetchPriority:r}):a==="script"&&M1.d.X(e,{crossOrigin:o,integrity:l,fetchPriority:r,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};S1.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var a=v0(t.as,t.crossOrigin);M1.d.M(e,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&M1.d.M(e)};S1.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var a=t.as,o=v0(a,t.crossOrigin);M1.d.L(e,a,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};S1.preloadModule=function(e,t){if(typeof e=="string")if(t){var a=v0(t.as,t.crossOrigin);M1.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else M1.d.m(e)};S1.requestFormReset=function(e){M1.d.r(e)};S1.unstable_batchedUpdates=function(e,t){return e(t)};S1.useFormState=function(e,t,a){return Br.H.useFormState(e,t,a)};S1.useFormStatus=function(){return Br.H.useHostTransitionStatus()};S1.version="19.2.4"});var Ar=I1((sS,n3)=>{"use strict";function r3(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r3)}catch(e){console.error(e)}}r3(),n3.exports=l3()});var x8=I1(qi=>{"use strict";var t1=a3(),E7=ge(),Dh=Ar();function H(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function O7(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function In(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function D7(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function V7(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function i3(e){if(In(e)!==e)throw Error(H(188))}function Vh(e){var t=e.alternate;if(!t){if(t=In(e),t===null)throw Error(H(188));return t!==e?null:e}for(var a=e,o=t;;){var l=a.return;if(l===null)break;var r=l.alternate;if(r===null){if(o=l.return,o!==null){a=o;continue}break}if(l.child===r.child){for(r=l.child;r;){if(r===a)return i3(l),e;if(r===o)return i3(l),t;r=r.sibling}throw Error(H(188))}if(a.return!==o.return)a=l,o=r;else{for(var n=!1,i=l.child;i;){if(i===a){n=!0,a=l,o=r;break}if(i===o){n=!0,o=l,a=r;break}i=i.sibling}if(!n){for(i=r.child;i;){if(i===a){n=!0,a=r,o=l;break}if(i===o){n=!0,o=r,a=l;break}i=i.sibling}if(!n)throw Error(H(189))}}if(a.alternate!==o)throw Error(H(190))}if(a.tag!==3)throw Error(H(188));return a.stateNode.current===a?e:t}function B7(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=B7(e),t!==null)return t;e=e.sibling}return null}var Ae=Object.assign,Bh=Symbol.for("react.element"),x0=Symbol.for("react.transitional.element"),Fr=Symbol.for("react.portal"),ml=Symbol.for("react.fragment"),A7=Symbol.for("react.strict_mode"),uu=Symbol.for("react.profiler"),Z7=Symbol.for("react.consumer"),ia=Symbol.for("react.context"),o5=Symbol.for("react.forward_ref"),du=Symbol.for("react.suspense"),su=Symbol.for("react.suspense_list"),l5=Symbol.for("react.memo"),Oa=Symbol.for("react.lazy");Symbol.for("react.scope");var cu=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var Ah=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var u3=Symbol.iterator;function Zr(e){return e===null||typeof e!="object"?null:(e=u3&&e[u3]||e["@@iterator"],typeof e=="function"?e:null)}var Zh=Symbol.for("react.client.reference");function fu(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Zh?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ml:return"Fragment";case uu:return"Profiler";case A7:return"StrictMode";case du:return"Suspense";case su:return"SuspenseList";case cu:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Fr:return"Portal";case ia:return e.displayName||"Context";case Z7:return(e._context.displayName||"Context")+".Consumer";case o5:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case l5:return t=e.displayName||null,t!==null?t:fu(e.type)||"Memo";case Oa:t=e._payload,e=e._init;try{return fu(e(t))}catch{}}return null}var jr=Array.isArray,ee=E7.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,be=Dh.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Oo={pending:!1,data:null,method:null,action:null},pu=[],hl=-1;function Ut(e){return{current:e}}function n1(e){0>hl||(e.current=pu[hl],pu[hl]=null,hl--)}function Ee(e,t){hl++,pu[hl]=e.current,e.current=t}var Pt=Ut(null),sn=Ut(null),$a=Ut(null),W0=Ut(null);function J0(e,t){switch(Ee($a,t),Ee(sn,e),Ee(Pt,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?m7(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=m7(t),e=r8(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}n1(Pt),Ee(Pt,e)}function Dl(){n1(Pt),n1(sn),n1($a)}function Cu(e){e.memoizedState!==null&&Ee(W0,e);var t=Pt.current,a=r8(t,e.type);t!==a&&(Ee(sn,e),Ee(Pt,a))}function ei(e){sn.current===e&&(n1(Pt),n1(sn)),W0.current===e&&(n1(W0),bn._currentValue=Oo)}var k9,d3;function ko(e){if(k9===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);k9=t&&t[1]||"",d3=-1<a.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+k9+e+d3}var T9=!1;function _9(e,t){if(!e||T9)return"";T9=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(t){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(m){var p=m}Reflect.construct(e,[],C)}else{try{C.call()}catch(m){p=m}e.call(C.prototype)}}else{try{throw Error()}catch(m){p=m}(C=e())&&typeof C.catch=="function"&&C.catch(function(){})}}catch(m){if(m&&p&&typeof m.stack=="string")return[m.stack,p.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=o.DetermineComponentFrameRoot(),n=r[0],i=r[1];if(n&&i){var u=n.split(`
|
|
4
|
+
`),d=i.split(`
|
|
5
|
+
`);for(l=o=0;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;for(;l<d.length&&!d[l].includes("DetermineComponentFrameRoot");)l++;if(o===u.length||l===d.length)for(o=u.length-1,l=d.length-1;1<=o&&0<=l&&u[o]!==d[l];)l--;for(;1<=o&&0<=l;o--,l--)if(u[o]!==d[l]){if(o!==1||l!==1)do if(o--,l--,0>l||u[o]!==d[l]){var c=`
|
|
6
|
+
`+u[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=l);break}}}finally{T9=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?ko(a):""}function zh(e,t){switch(e.tag){case 26:case 27:case 5:return ko(e.type);case 16:return ko("Lazy");case 13:return e.child!==t&&t!==null?ko("Suspense Fallback"):ko("Suspense");case 19:return ko("SuspenseList");case 0:case 15:return _9(e.type,!1);case 11:return _9(e.type.render,!1);case 1:return _9(e.type,!0);case 31:return ko("Activity");default:return""}}function s3(e){try{var t="",a=null;do t+=zh(e,a),a=e,e=e.return;while(e);return t}catch(o){return`
|
|
7
|
+
Error generating stack: `+o.message+`
|
|
8
|
+
`+o.stack}}var mu=Object.prototype.hasOwnProperty,r5=t1.unstable_scheduleCallback,E9=t1.unstable_cancelCallback,Nh=t1.unstable_shouldYield,Ph=t1.unstable_requestPaint,W1=t1.unstable_now,Uh=t1.unstable_getCurrentPriorityLevel,z7=t1.unstable_ImmediatePriority,N7=t1.unstable_UserBlockingPriority,ti=t1.unstable_NormalPriority,qh=t1.unstable_LowPriority,P7=t1.unstable_IdlePriority,$h=t1.log,Fh=t1.unstable_setDisableYieldValue,Mn=null,J1=null;function za(e){if(typeof $h=="function"&&Fh(e),J1&&typeof J1.setStrictMode=="function")try{J1.setStrictMode(Mn,e)}catch{}}var et=Math.clz32?Math.clz32:Kh,jh=Math.log,Gh=Math.LN2;function Kh(e){return e>>>=0,e===0?32:31-(jh(e)/Gh|0)|0}var L0=256,b0=262144,w0=4194304;function To(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ri(e,t,a){var o=e.pendingLanes;if(o===0)return 0;var l=0,r=e.suspendedLanes,n=e.pingedLanes;e=e.warmLanes;var i=o&134217727;return i!==0?(o=i&~r,o!==0?l=To(o):(n&=i,n!==0?l=To(n):a||(a=i&~e,a!==0&&(l=To(a))))):(i=o&~r,i!==0?l=To(i):n!==0?l=To(n):a||(a=o&~e,a!==0&&(l=To(a)))),l===0?0:t!==0&&t!==l&&!(t&r)&&(r=l&-l,a=t&-t,r>=a||r===32&&(a&4194048)!==0)?t:l}function Sn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Xh(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function U7(){var e=w0;return w0<<=1,!(w0&62914560)&&(w0=4194304),e}function O9(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Rn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Qh(e,t,a,o,l,r){var n=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var i=e.entanglements,u=e.expirationTimes,d=e.hiddenUpdates;for(a=n&~a;0<a;){var c=31-et(a),C=1<<c;i[c]=0,u[c]=-1;var p=d[c];if(p!==null)for(d[c]=null,c=0;c<p.length;c++){var m=p[c];m!==null&&(m.lane&=-536870913)}a&=~C}o!==0&&q7(e,o,0),r!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=r&~(n&~t))}function q7(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-et(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|a&261930}function $7(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var o=31-et(a),l=1<<o;l&t|e[o]&t&&(e[o]|=t),a&=~l}}function F7(e,t){var a=t&-t;return a=a&42?1:n5(a),a&(e.suspendedLanes|t)?0:a}function n5(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function i5(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function j7(){var e=be.p;return e!==0?e:(e=window.event,e===void 0?32:h8(e.type))}function c3(e,t){var a=be.p;try{return be.p=e,t()}finally{be.p=a}}var oo=Math.random().toString(36).slice(2),f1="__reactFiber$"+oo,Z1="__reactProps$"+oo,Fl="__reactContainer$"+oo,hu="__reactEvents$"+oo,Yh="__reactListeners$"+oo,Wh="__reactHandles$"+oo,f3="__reactResources$"+oo,Hn="__reactMarker$"+oo;function u5(e){delete e[f1],delete e[Z1],delete e[hu],delete e[Yh],delete e[Wh]}function gl(e){var t=e[f1];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Fl]||a[f1]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=L7(e);e!==null;){if(a=e[f1])return a;e=L7(e)}return t}e=a,a=e.parentNode}return null}function jl(e){if(e=e[f1]||e[Fl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Gr(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(H(33))}function Rl(e){var t=e[f3];return t||(t=e[f3]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function r1(e){e[Hn]=!0}var G7=new Set,K7={};function qo(e,t){Vl(e,t),Vl(e+"Capture",t)}function Vl(e,t){for(K7[e]=t,e=0;e<t.length;e++)G7.add(t[e])}var Jh=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),p3={},C3={};function eg(e){return mu.call(C3,e)?!0:mu.call(p3,e)?!1:Jh.test(e)?C3[e]=!0:(p3[e]=!0,!1)}function A0(e,t,a){if(eg(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function y0(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function ea(e,t,a,o){if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+o)}}function st(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function X7(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function tg(e,t,a){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var l=o.get,r=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(n){a=""+n,r.call(this,n)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(n){a=""+n},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gu(e){if(!e._valueTracker){var t=X7(e)?"checked":"value";e._valueTracker=tg(e,t,""+e[t])}}function Q7(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),o="";return e&&(o=X7(e)?e.checked?"true":"false":e.value),e=o,e!==a?(t.setValue(e),!0):!1}function ai(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var ag=/[\n"\\]/g;function pt(e){return e.replace(ag,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function vu(e,t,a,o,l,r,n,i){e.name="",n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"?e.type=n:e.removeAttribute("type"),t!=null?n==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+st(t)):e.value!==""+st(t)&&(e.value=""+st(t)):n!=="submit"&&n!=="reset"||e.removeAttribute("value"),t!=null?xu(e,n,st(t)):a!=null?xu(e,n,st(a)):o!=null&&e.removeAttribute("value"),l==null&&r!=null&&(e.defaultChecked=!!r),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.name=""+st(i):e.removeAttribute("name")}function Y7(e,t,a,o,l,r,n,i){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),t!=null||a!=null){if(!(r!=="submit"&&r!=="reset"||t!=null)){gu(e);return}a=a!=null?""+st(a):"",t=t!=null?""+st(t):a,i||t===e.value||(e.value=t),e.defaultValue=t}o=o??l,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=i?e.checked:!!o,e.defaultChecked=!!o,n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(e.name=n),gu(e)}function xu(e,t,a){t==="number"&&ai(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Hl(e,t,a,o){if(e=e.options,t){t={};for(var l=0;l<a.length;l++)t["$"+a[l]]=!0;for(a=0;a<e.length;a++)l=t.hasOwnProperty("$"+e[a].value),e[a].selected!==l&&(e[a].selected=l),l&&o&&(e[a].defaultSelected=!0)}else{for(a=""+st(a),t=null,l=0;l<e.length;l++){if(e[l].value===a){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function W7(e,t,a){if(t!=null&&(t=""+st(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+st(a):""}function J7(e,t,a,o){if(t==null){if(o!=null){if(a!=null)throw Error(H(92));if(jr(o)){if(1<o.length)throw Error(H(93));o=o[0]}a=o}a==null&&(a=""),t=a}a=st(t),e.defaultValue=a,o=e.textContent,o===a&&o!==""&&o!==null&&(e.value=o),gu(e)}function Bl(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var og=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function m3(e,t,a){var o=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,a):typeof a!="number"||a===0||og.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function ef(e,t,a){if(t!=null&&typeof t!="object")throw Error(H(62));if(e=e.style,a!=null){for(var o in a)!a.hasOwnProperty(o)||t!=null&&t.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var l in t)o=t[l],t.hasOwnProperty(l)&&a[l]!==o&&m3(e,l,o)}else for(var r in t)t.hasOwnProperty(r)&&m3(e,r,t[r])}function d5(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var lg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),rg=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Z0(e){return rg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ua(){}var Lu=null;function s5(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var vl=null,kl=null;function h3(e){var t=jl(e);if(t&&(e=t.stateNode)){var a=e[Z1]||null;e:switch(e=t.stateNode,t.type){case"input":if(vu(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+pt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var o=a[t];if(o!==e&&o.form===e.form){var l=o[Z1]||null;if(!l)throw Error(H(90));vu(o,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<a.length;t++)o=a[t],o.form===e.form&&Q7(o)}break e;case"textarea":W7(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Hl(e,!!a.multiple,t,!1)}}}var D9=!1;function tf(e,t,a){if(D9)return e(t,a);D9=!0;try{var o=e(t);return o}finally{if(D9=!1,(vl!==null||kl!==null)&&(zi(),vl&&(t=vl,e=kl,kl=vl=null,h3(t),e)))for(t=0;t<e.length;t++)h3(e[t])}}function cn(e,t){var a=e.stateNode;if(a===null)return null;var o=a[Z1]||null;if(o===null)return null;a=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(H(231,t,typeof a));return a}var pa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bu=!1;if(pa)try{sl={},Object.defineProperty(sl,"passive",{get:function(){bu=!0}}),window.addEventListener("test",sl,sl),window.removeEventListener("test",sl,sl)}catch{bu=!1}var sl,Na=null,c5=null,z0=null;function af(){if(z0)return z0;var e,t=c5,a=t.length,o,l="value"in Na?Na.value:Na.textContent,r=l.length;for(e=0;e<a&&t[e]===l[e];e++);var n=a-e;for(o=1;o<=n&&t[a-o]===l[r-o];o++);return z0=l.slice(e,1<o?1-o:void 0)}function N0(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function I0(){return!0}function g3(){return!1}function z1(e){function t(a,o,l,r,n){this._reactName=a,this._targetInst=l,this.type=o,this.nativeEvent=r,this.target=n,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(a=e[i],this[i]=a?a(r):r[i]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?I0:g3,this.isPropagationStopped=g3,this}return Ae(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=I0)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=I0)},persist:function(){},isPersistent:I0}),t}var $o={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hi=z1($o),kn=Ae({},$o,{view:0,detail:0}),ng=z1(kn),V9,B9,zr,ki=Ae({},kn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:f5,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==zr&&(zr&&e.type==="mousemove"?(V9=e.screenX-zr.screenX,B9=e.screenY-zr.screenY):B9=V9=0,zr=e),V9)},movementY:function(e){return"movementY"in e?e.movementY:B9}}),v3=z1(ki),ig=Ae({},ki,{dataTransfer:0}),ug=z1(ig),dg=Ae({},kn,{relatedTarget:0}),A9=z1(dg),sg=Ae({},$o,{animationName:0,elapsedTime:0,pseudoElement:0}),cg=z1(sg),fg=Ae({},$o,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pg=z1(fg),Cg=Ae({},$o,{data:0}),x3=z1(Cg),mg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hg={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"},gg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=gg[e])?!!t[e]:!1}function f5(){return vg}var xg=Ae({},kn,{key:function(e){if(e.key){var t=mg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=N0(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?hg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:f5,charCode:function(e){return e.type==="keypress"?N0(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?N0(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Lg=z1(xg),bg=Ae({},ki,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),L3=z1(bg),wg=Ae({},kn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:f5}),yg=z1(wg),Ig=Ae({},$o,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mg=z1(Ig),Sg=Ae({},ki,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rg=z1(Sg),Hg=Ae({},$o,{newState:0,oldState:0}),kg=z1(Hg),Tg=[9,13,27,32],p5=pa&&"CompositionEvent"in window,Qr=null;pa&&"documentMode"in document&&(Qr=document.documentMode);var _g=pa&&"TextEvent"in window&&!Qr,of=pa&&(!p5||Qr&&8<Qr&&11>=Qr),b3=" ",w3=!1;function lf(e,t){switch(e){case"keyup":return Tg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xl=!1;function Eg(e,t){switch(e){case"compositionend":return rf(t);case"keypress":return t.which!==32?null:(w3=!0,b3);case"textInput":return e=t.data,e===b3&&w3?null:e;default:return null}}function Og(e,t){if(xl)return e==="compositionend"||!p5&&lf(e,t)?(e=af(),z0=c5=Na=null,xl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return of&&t.locale!=="ko"?null:t.data;default:return null}}var Dg={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 y3(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Dg[e.type]:t==="textarea"}function nf(e,t,a,o){vl?kl?kl.push(o):kl=[o]:vl=o,t=Li(t,"onChange"),0<t.length&&(a=new Hi("onChange","change",null,a,o),e.push({event:a,listeners:t}))}var Yr=null,fn=null;function Vg(e){a8(e,0)}function Ti(e){var t=Gr(e);if(Q7(t))return e}function I3(e,t){if(e==="change")return t}var uf=!1;pa&&(pa?(S0="oninput"in document,S0||(Z9=document.createElement("div"),Z9.setAttribute("oninput","return;"),S0=typeof Z9.oninput=="function"),M0=S0):M0=!1,uf=M0&&(!document.documentMode||9<document.documentMode));var M0,S0,Z9;function M3(){Yr&&(Yr.detachEvent("onpropertychange",df),fn=Yr=null)}function df(e){if(e.propertyName==="value"&&Ti(fn)){var t=[];nf(t,fn,e,s5(e)),tf(Vg,t)}}function Bg(e,t,a){e==="focusin"?(M3(),Yr=t,fn=a,Yr.attachEvent("onpropertychange",df)):e==="focusout"&&M3()}function Ag(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ti(fn)}function Zg(e,t){if(e==="click")return Ti(t)}function zg(e,t){if(e==="input"||e==="change")return Ti(t)}function Ng(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var at=typeof Object.is=="function"?Object.is:Ng;function pn(e,t){if(at(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var l=a[o];if(!mu.call(t,l)||!at(e[l],t[l]))return!1}return!0}function S3(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function R3(e,t){var a=S3(e);e=0;for(var o;a;){if(a.nodeType===3){if(o=e+a.textContent.length,e<=t&&o>=t)return{node:a,offset:t-e};e=o}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=S3(a)}}function sf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ai(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=ai(e.document)}return t}function C5(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Pg=pa&&"documentMode"in document&&11>=document.documentMode,Ll=null,wu=null,Wr=null,yu=!1;function H3(e,t,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;yu||Ll==null||Ll!==ai(o)||(o=Ll,"selectionStart"in o&&C5(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Wr&&pn(Wr,o)||(Wr=o,o=Li(wu,"onSelect"),0<o.length&&(t=new Hi("onSelect","select",null,t,a),e.push({event:t,listeners:o}),t.target=Ll)))}function Ho(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var bl={animationend:Ho("Animation","AnimationEnd"),animationiteration:Ho("Animation","AnimationIteration"),animationstart:Ho("Animation","AnimationStart"),transitionrun:Ho("Transition","TransitionRun"),transitionstart:Ho("Transition","TransitionStart"),transitioncancel:Ho("Transition","TransitionCancel"),transitionend:Ho("Transition","TransitionEnd")},z9={},ff={};pa&&(ff=document.createElement("div").style,"AnimationEvent"in window||(delete bl.animationend.animation,delete bl.animationiteration.animation,delete bl.animationstart.animation),"TransitionEvent"in window||delete bl.transitionend.transition);function Fo(e){if(z9[e])return z9[e];if(!bl[e])return e;var t=bl[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in ff)return z9[e]=t[a];return e}var pf=Fo("animationend"),Cf=Fo("animationiteration"),mf=Fo("animationstart"),Ug=Fo("transitionrun"),qg=Fo("transitionstart"),$g=Fo("transitioncancel"),hf=Fo("transitionend"),gf=new Map,Iu="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Iu.push("scrollEnd");function _t(e,t){gf.set(e,t),qo(t,[e])}var oi=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},dt=[],wl=0,m5=0;function _i(){for(var e=wl,t=m5=wl=0;t<e;){var a=dt[t];dt[t++]=null;var o=dt[t];dt[t++]=null;var l=dt[t];dt[t++]=null;var r=dt[t];if(dt[t++]=null,o!==null&&l!==null){var n=o.pending;n===null?l.next=l:(l.next=n.next,n.next=l),o.pending=l}r!==0&&vf(a,l,r)}}function Ei(e,t,a,o){dt[wl++]=e,dt[wl++]=t,dt[wl++]=a,dt[wl++]=o,m5|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function h5(e,t,a,o){return Ei(e,t,a,o),li(e)}function jo(e,t){return Ei(e,null,null,t),li(e)}function vf(e,t,a){e.lanes|=a;var o=e.alternate;o!==null&&(o.lanes|=a);for(var l=!1,r=e.return;r!==null;)r.childLanes|=a,o=r.alternate,o!==null&&(o.childLanes|=a),r.tag===22&&(e=r.stateNode,e===null||e._visibility&1||(l=!0)),e=r,r=r.return;return e.tag===3?(r=e.stateNode,l&&t!==null&&(l=31-et(a),e=r.hiddenUpdates,o=e[l],o===null?e[l]=[t]:o.push(t),t.lane=a|536870912),r):null}function li(e){if(50<un)throw un=0,Fu=null,Error(H(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var yl={};function Fg(e,t,a,o){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Q1(e,t,a,o){return new Fg(e,t,a,o)}function g5(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sa(e,t){var a=e.alternate;return a===null?(a=Q1(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function xf(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function P0(e,t,a,o,l,r){var n=0;if(o=e,typeof e=="function")g5(e)&&(n=1);else if(typeof e=="string")n=Kv(e,a,Pt.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case cu:return e=Q1(31,a,t,l),e.elementType=cu,e.lanes=r,e;case ml:return Do(a.children,l,r,t);case A7:n=8,l|=24;break;case uu:return e=Q1(12,a,t,l|2),e.elementType=uu,e.lanes=r,e;case du:return e=Q1(13,a,t,l),e.elementType=du,e.lanes=r,e;case su:return e=Q1(19,a,t,l),e.elementType=su,e.lanes=r,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ia:n=10;break e;case Z7:n=9;break e;case o5:n=11;break e;case l5:n=14;break e;case Oa:n=16,o=null;break e}n=29,a=Error(H(130,e===null?"null":typeof e,"")),o=null}return t=Q1(n,a,t,l),t.elementType=e,t.type=o,t.lanes=r,t}function Do(e,t,a,o){return e=Q1(7,e,o,t),e.lanes=a,e}function N9(e,t,a){return e=Q1(6,e,null,t),e.lanes=a,e}function Lf(e){var t=Q1(18,null,null,0);return t.stateNode=e,t}function P9(e,t,a){return t=Q1(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var k3=new WeakMap;function Ct(e,t){if(typeof e=="object"&&e!==null){var a=k3.get(e);return a!==void 0?a:(t={value:e,source:t,stack:s3(t)},k3.set(e,t),t)}return{value:e,source:t,stack:s3(t)}}var Il=[],Ml=0,ri=null,Cn=0,ct=[],ft=0,Ja=null,Zt=1,zt="";function ra(e,t){Il[Ml++]=Cn,Il[Ml++]=ri,ri=e,Cn=t}function bf(e,t,a){ct[ft++]=Zt,ct[ft++]=zt,ct[ft++]=Ja,Ja=e;var o=Zt;e=zt;var l=32-et(o)-1;o&=~(1<<l),a+=1;var r=32-et(t)+l;if(30<r){var n=l-l%5;r=(o&(1<<n)-1).toString(32),o>>=n,l-=n,Zt=1<<32-et(t)+l|a<<l|o,zt=r+e}else Zt=1<<r|a<<l|o,zt=e}function v5(e){e.return!==null&&(ra(e,1),bf(e,1,0))}function x5(e){for(;e===ri;)ri=Il[--Ml],Il[Ml]=null,Cn=Il[--Ml],Il[Ml]=null;for(;e===Ja;)Ja=ct[--ft],ct[ft]=null,zt=ct[--ft],ct[ft]=null,Zt=ct[--ft],ct[ft]=null}function wf(e,t){ct[ft++]=Zt,ct[ft++]=zt,ct[ft++]=Ja,Zt=t.id,zt=t.overflow,Ja=e}var p1=null,Be=null,Ce=!1,Fa=null,mt=!1,Mu=Error(H(519));function eo(e){var t=Error(H(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw mn(Ct(t,e)),Mu}function T3(e){var t=e.stateNode,a=e.type,o=e.memoizedProps;switch(t[f1]=e,t[Z1]=o,a){case"dialog":se("cancel",t),se("close",t);break;case"iframe":case"object":case"embed":se("load",t);break;case"video":case"audio":for(a=0;a<xn.length;a++)se(xn[a],t);break;case"source":se("error",t);break;case"img":case"image":case"link":se("error",t),se("load",t);break;case"details":se("toggle",t);break;case"input":se("invalid",t),Y7(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":se("invalid",t);break;case"textarea":se("invalid",t),J7(t,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||o.suppressHydrationWarning===!0||l8(t.textContent,a)?(o.popover!=null&&(se("beforetoggle",t),se("toggle",t)),o.onScroll!=null&&se("scroll",t),o.onScrollEnd!=null&&se("scrollend",t),o.onClick!=null&&(t.onclick=ua),t=!0):t=!1,t||eo(e,!0)}function _3(e){for(p1=e.return;p1;)switch(p1.tag){case 5:case 31:case 13:mt=!1;return;case 27:case 3:mt=!0;return;default:p1=p1.return}}function cl(e){if(e!==p1)return!1;if(!Ce)return _3(e),Ce=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Qu(e.type,e.memoizedProps)),a=!a),a&&Be&&eo(e),_3(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(H(317));Be=x7(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(H(317));Be=x7(e)}else t===27?(t=Be,lo(e.type)?(e=e5,e5=null,Be=e):Be=t):Be=p1?gt(e.stateNode.nextSibling):null;return!0}function Zo(){Be=p1=null,Ce=!1}function U9(){var e=Fa;return e!==null&&(B1===null?B1=e:B1.push.apply(B1,e),Fa=null),e}function mn(e){Fa===null?Fa=[e]:Fa.push(e)}var Su=Ut(null),Go=null,da=null;function Va(e,t,a){Ee(Su,t._currentValue),t._currentValue=a}function ca(e){e._currentValue=Su.current,n1(Su)}function Ru(e,t,a){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===a)break;e=e.return}}function Hu(e,t,a,o){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var r=l.dependencies;if(r!==null){var n=l.child;r=r.firstContext;e:for(;r!==null;){var i=r;r=l;for(var u=0;u<t.length;u++)if(i.context===t[u]){r.lanes|=a,i=r.alternate,i!==null&&(i.lanes|=a),Ru(r.return,a,e),o||(n=null);break e}r=i.next}}else if(l.tag===18){if(n=l.return,n===null)throw Error(H(341));n.lanes|=a,r=n.alternate,r!==null&&(r.lanes|=a),Ru(n,a,e),n=null}else n=l.child;if(n!==null)n.return=l;else for(n=l;n!==null;){if(n===e){n=null;break}if(l=n.sibling,l!==null){l.return=n.return,n=l;break}n=n.return}l=n}}function Gl(e,t,a,o){e=null;for(var l=t,r=!1;l!==null;){if(!r){if(l.flags&524288)r=!0;else if(l.flags&262144)break}if(l.tag===10){var n=l.alternate;if(n===null)throw Error(H(387));if(n=n.memoizedProps,n!==null){var i=l.type;at(l.pendingProps.value,n.value)||(e!==null?e.push(i):e=[i])}}else if(l===W0.current){if(n=l.alternate,n===null)throw Error(H(387));n.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(bn):e=[bn])}l=l.return}e!==null&&Hu(t,e,a,o),t.flags|=262144}function ni(e){for(e=e.firstContext;e!==null;){if(!at(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function zo(e){Go=e,da=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function C1(e){return yf(Go,e)}function R0(e,t){return Go===null&&zo(e),yf(e,t)}function yf(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},da===null){if(e===null)throw Error(H(308));da=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else da=da.next=t;return a}var jg=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Gg=t1.unstable_scheduleCallback,Kg=t1.unstable_NormalPriority,Ye={$$typeof:ia,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function L5(){return{controller:new jg,data:new Map,refCount:0}}function Tn(e){e.refCount--,e.refCount===0&&Gg(Kg,function(){e.controller.abort()})}var Jr=null,ku=0,Al=0,Tl=null;function Xg(e,t){if(Jr===null){var a=Jr=[];ku=0,Al=F5(),Tl={status:"pending",value:void 0,then:function(o){a.push(o)}}}return ku++,t.then(E3,E3),t}function E3(){if(--ku===0&&Jr!==null){Tl!==null&&(Tl.status="fulfilled");var e=Jr;Jr=null,Al=0,Tl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Qg(e,t){var a=[],o={status:"pending",value:null,reason:null,then:function(l){a.push(l)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var l=0;l<a.length;l++)(0,a[l])(t)},function(l){for(o.status="rejected",o.reason=l,l=0;l<a.length;l++)(0,a[l])(void 0)}),o}var O3=ee.S;ee.S=function(e,t){A4=W1(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Xg(e,t),O3!==null&&O3(e,t)};var Vo=Ut(null);function b5(){var e=Vo.current;return e!==null?e:_e.pooledCache}function U0(e,t){t===null?Ee(Vo,Vo.current):Ee(Vo,t.pool)}function If(){var e=b5();return e===null?null:{parent:Ye._currentValue,pool:e}}var Kl=Error(H(460)),w5=Error(H(474)),Oi=Error(H(542)),ii={then:function(){}};function D3(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Mf(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(ua,ua),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,B3(e),e;default:if(typeof t.status=="string")t.then(ua,ua);else{if(e=_e,e!==null&&100<e.shellSuspendCounter)throw Error(H(482));e=t,e.status="pending",e.then(function(o){if(t.status==="pending"){var l=t;l.status="fulfilled",l.value=o}},function(o){if(t.status==="pending"){var l=t;l.status="rejected",l.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,B3(e),e}throw Bo=t,Kl}}function _o(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Bo=a,Kl):a}}var Bo=null;function V3(){if(Bo===null)throw Error(H(459));var e=Bo;return Bo=null,e}function B3(e){if(e===Kl||e===Oi)throw Error(H(483))}var _l=null,hn=0;function H0(e){var t=hn;return hn+=1,_l===null&&(_l=[]),Mf(_l,e,t)}function Nr(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function k0(e,t){throw t.$$typeof===Bh?Error(H(525)):(e=Object.prototype.toString.call(t),Error(H(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Sf(e){function t(f,s){if(e){var h=f.deletions;h===null?(f.deletions=[s],f.flags|=16):h.push(s)}}function a(f,s){if(!e)return null;for(;s!==null;)t(f,s),s=s.sibling;return null}function o(f){for(var s=new Map;f!==null;)f.key!==null?s.set(f.key,f):s.set(f.index,f),f=f.sibling;return s}function l(f,s){return f=sa(f,s),f.index=0,f.sibling=null,f}function r(f,s,h){return f.index=h,e?(h=f.alternate,h!==null?(h=h.index,h<s?(f.flags|=67108866,s):h):(f.flags|=67108866,s)):(f.flags|=1048576,s)}function n(f){return e&&f.alternate===null&&(f.flags|=67108866),f}function i(f,s,h,g){return s===null||s.tag!==6?(s=N9(h,f.mode,g),s.return=f,s):(s=l(s,h),s.return=f,s)}function u(f,s,h,g){var b=h.type;return b===ml?c(f,s,h.props.children,g,h.key):s!==null&&(s.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Oa&&_o(b)===s.type)?(s=l(s,h.props),Nr(s,h),s.return=f,s):(s=P0(h.type,h.key,h.props,null,f.mode,g),Nr(s,h),s.return=f,s)}function d(f,s,h,g){return s===null||s.tag!==4||s.stateNode.containerInfo!==h.containerInfo||s.stateNode.implementation!==h.implementation?(s=P9(h,f.mode,g),s.return=f,s):(s=l(s,h.children||[]),s.return=f,s)}function c(f,s,h,g,b){return s===null||s.tag!==7?(s=Do(h,f.mode,g,b),s.return=f,s):(s=l(s,h),s.return=f,s)}function C(f,s,h){if(typeof s=="string"&&s!==""||typeof s=="number"||typeof s=="bigint")return s=N9(""+s,f.mode,h),s.return=f,s;if(typeof s=="object"&&s!==null){switch(s.$$typeof){case x0:return h=P0(s.type,s.key,s.props,null,f.mode,h),Nr(h,s),h.return=f,h;case Fr:return s=P9(s,f.mode,h),s.return=f,s;case Oa:return s=_o(s),C(f,s,h)}if(jr(s)||Zr(s))return s=Do(s,f.mode,h,null),s.return=f,s;if(typeof s.then=="function")return C(f,H0(s),h);if(s.$$typeof===ia)return C(f,R0(f,s),h);k0(f,s)}return null}function p(f,s,h,g){var b=s!==null?s.key:null;if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return b!==null?null:i(f,s,""+h,g);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case x0:return h.key===b?u(f,s,h,g):null;case Fr:return h.key===b?d(f,s,h,g):null;case Oa:return h=_o(h),p(f,s,h,g)}if(jr(h)||Zr(h))return b!==null?null:c(f,s,h,g,null);if(typeof h.then=="function")return p(f,s,H0(h),g);if(h.$$typeof===ia)return p(f,s,R0(f,h),g);k0(f,h)}return null}function m(f,s,h,g,b){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return f=f.get(h)||null,i(s,f,""+g,b);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case x0:return f=f.get(g.key===null?h:g.key)||null,u(s,f,g,b);case Fr:return f=f.get(g.key===null?h:g.key)||null,d(s,f,g,b);case Oa:return g=_o(g),m(f,s,h,g,b)}if(jr(g)||Zr(g))return f=f.get(h)||null,c(s,f,g,b,null);if(typeof g.then=="function")return m(f,s,h,H0(g),b);if(g.$$typeof===ia)return m(f,s,h,R0(s,g),b);k0(s,g)}return null}function v(f,s,h,g){for(var b=null,R=null,S=s,w=s=0,I=null;S!==null&&w<h.length;w++){S.index>w?(I=S,S=null):I=S.sibling;var N=p(f,S,h[w],g);if(N===null){S===null&&(S=I);break}e&&S&&N.alternate===null&&t(f,S),s=r(N,s,w),R===null?b=N:R.sibling=N,R=N,S=I}if(w===h.length)return a(f,S),Ce&&ra(f,w),b;if(S===null){for(;w<h.length;w++)S=C(f,h[w],g),S!==null&&(s=r(S,s,w),R===null?b=S:R.sibling=S,R=S);return Ce&&ra(f,w),b}for(S=o(S);w<h.length;w++)I=m(S,f,w,h[w],g),I!==null&&(e&&I.alternate!==null&&S.delete(I.key===null?w:I.key),s=r(I,s,w),R===null?b=I:R.sibling=I,R=I);return e&&S.forEach(function(_){return t(f,_)}),Ce&&ra(f,w),b}function L(f,s,h,g){if(h==null)throw Error(H(151));for(var b=null,R=null,S=s,w=s=0,I=null,N=h.next();S!==null&&!N.done;w++,N=h.next()){S.index>w?(I=S,S=null):I=S.sibling;var _=p(f,S,N.value,g);if(_===null){S===null&&(S=I);break}e&&S&&_.alternate===null&&t(f,S),s=r(_,s,w),R===null?b=_:R.sibling=_,R=_,S=I}if(N.done)return a(f,S),Ce&&ra(f,w),b;if(S===null){for(;!N.done;w++,N=h.next())N=C(f,N.value,g),N!==null&&(s=r(N,s,w),R===null?b=N:R.sibling=N,R=N);return Ce&&ra(f,w),b}for(S=o(S);!N.done;w++,N=h.next())N=m(S,f,w,N.value,g),N!==null&&(e&&N.alternate!==null&&S.delete(N.key===null?w:N.key),s=r(N,s,w),R===null?b=N:R.sibling=N,R=N);return e&&S.forEach(function(O){return t(f,O)}),Ce&&ra(f,w),b}function x(f,s,h,g){if(typeof h=="object"&&h!==null&&h.type===ml&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case x0:e:{for(var b=h.key;s!==null;){if(s.key===b){if(b=h.type,b===ml){if(s.tag===7){a(f,s.sibling),g=l(s,h.props.children),g.return=f,f=g;break e}}else if(s.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Oa&&_o(b)===s.type){a(f,s.sibling),g=l(s,h.props),Nr(g,h),g.return=f,f=g;break e}a(f,s);break}else t(f,s);s=s.sibling}h.type===ml?(g=Do(h.props.children,f.mode,g,h.key),g.return=f,f=g):(g=P0(h.type,h.key,h.props,null,f.mode,g),Nr(g,h),g.return=f,f=g)}return n(f);case Fr:e:{for(b=h.key;s!==null;){if(s.key===b)if(s.tag===4&&s.stateNode.containerInfo===h.containerInfo&&s.stateNode.implementation===h.implementation){a(f,s.sibling),g=l(s,h.children||[]),g.return=f,f=g;break e}else{a(f,s);break}else t(f,s);s=s.sibling}g=P9(h,f.mode,g),g.return=f,f=g}return n(f);case Oa:return h=_o(h),x(f,s,h,g)}if(jr(h))return v(f,s,h,g);if(Zr(h)){if(b=Zr(h),typeof b!="function")throw Error(H(150));return h=b.call(h),L(f,s,h,g)}if(typeof h.then=="function")return x(f,s,H0(h),g);if(h.$$typeof===ia)return x(f,s,R0(f,h),g);k0(f,h)}return typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint"?(h=""+h,s!==null&&s.tag===6?(a(f,s.sibling),g=l(s,h),g.return=f,f=g):(a(f,s),g=N9(h,f.mode,g),g.return=f,f=g),n(f)):a(f,s)}return function(f,s,h,g){try{hn=0;var b=x(f,s,h,g);return _l=null,b}catch(S){if(S===Kl||S===Oi)throw S;var R=Q1(29,S,null,f.mode);return R.lanes=g,R.return=f,R}finally{}}}var No=Sf(!0),Rf=Sf(!1),Da=!1;function y5(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Tu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ja(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ga(e,t,a){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,Le&2){var l=o.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,t=li(e),vf(e,null,a),t}return Ei(e,o,t,a),li(e)}function en(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,a|=o,t.lanes=a,$7(e,a)}}function q9(e,t){var a=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var l=null,r=null;if(a=a.firstBaseUpdate,a!==null){do{var n={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};r===null?l=r=n:r=r.next=n,a=a.next}while(a!==null);r===null?l=r=t:r=r.next=t}else l=r=t;a={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:r,shared:o.shared,callbacks:o.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var _u=!1;function tn(){if(_u){var e=Tl;if(e!==null)throw e}}function an(e,t,a,o){_u=!1;var l=e.updateQueue;Da=!1;var r=l.firstBaseUpdate,n=l.lastBaseUpdate,i=l.shared.pending;if(i!==null){l.shared.pending=null;var u=i,d=u.next;u.next=null,n===null?r=d:n.next=d,n=u;var c=e.alternate;c!==null&&(c=c.updateQueue,i=c.lastBaseUpdate,i!==n&&(i===null?c.firstBaseUpdate=d:i.next=d,c.lastBaseUpdate=u))}if(r!==null){var C=l.baseState;n=0,c=d=u=null,i=r;do{var p=i.lane&-536870913,m=p!==i.lane;if(m?(pe&p)===p:(o&p)===p){p!==0&&p===Al&&(_u=!0),c!==null&&(c=c.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});e:{var v=e,L=i;p=t;var x=a;switch(L.tag){case 1:if(v=L.payload,typeof v=="function"){C=v.call(x,C,p);break e}C=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=L.payload,p=typeof v=="function"?v.call(x,C,p):v,p==null)break e;C=Ae({},C,p);break e;case 2:Da=!0}}p=i.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=l.callbacks,m===null?l.callbacks=[p]:m.push(p))}else m={lane:p,tag:i.tag,payload:i.payload,callback:i.callback,next:null},c===null?(d=c=m,u=C):c=c.next=m,n|=p;if(i=i.next,i===null){if(i=l.shared.pending,i===null)break;m=i,i=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);c===null&&(u=C),l.baseState=u,l.firstBaseUpdate=d,l.lastBaseUpdate=c,r===null&&(l.shared.lanes=0),ao|=n,e.lanes=n,e.memoizedState=C}}function Hf(e,t){if(typeof e!="function")throw Error(H(191,e));e.call(t)}function kf(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Hf(a[e],t)}var Zl=Ut(null),ui=Ut(0);function A3(e,t){e=ga,Ee(ui,e),Ee(Zl,t),ga=e|t.baseLanes}function Eu(){Ee(ui,ga),Ee(Zl,Zl.current)}function I5(){ga=ui.current,n1(Zl),n1(ui)}var ot=Ut(null),ht=null;function Ba(e){var t=e.alternate;Ee(Fe,Fe.current&1),Ee(ot,e),ht===null&&(t===null||Zl.current!==null||t.memoizedState!==null)&&(ht=e)}function Ou(e){Ee(Fe,Fe.current),Ee(ot,e),ht===null&&(ht=e)}function Tf(e){e.tag===22?(Ee(Fe,Fe.current),Ee(ot,e),ht===null&&(ht=e)):Aa(e)}function Aa(){Ee(Fe,Fe.current),Ee(ot,ot.current)}function X1(e){n1(ot),ht===e&&(ht=null),n1(Fe)}var Fe=Ut(0);function di(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Wu(a)||Ju(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ca=0,oe=null,ke=null,Xe=null,si=!1,El=!1,Po=!1,ci=0,gn=0,Ol=null,Yg=0;function qe(){throw Error(H(321))}function M5(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!at(e[a],t[a]))return!1;return!0}function S5(e,t,a,o,l,r){return Ca=r,oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ee.H=e===null||e.memoizedState===null?i4:A5,Po=!1,r=a(o,l),Po=!1,El&&(r=Ef(t,a,o,l)),_f(e),r}function _f(e){ee.H=vn;var t=ke!==null&&ke.next!==null;if(Ca=0,Xe=ke=oe=null,si=!1,gn=0,Ol=null,t)throw Error(H(300));e===null||We||(e=e.dependencies,e!==null&&ni(e)&&(We=!0))}function Ef(e,t,a,o){oe=e;var l=0;do{if(El&&(Ol=null),gn=0,El=!1,25<=l)throw Error(H(301));if(l+=1,Xe=ke=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}ee.H=u4,r=t(a,o)}while(El);return r}function Wg(){var e=ee.H,t=e.useState()[0];return t=typeof t.then=="function"?_n(t):t,e=e.useState()[0],(ke!==null?ke.memoizedState:null)!==e&&(oe.flags|=1024),t}function R5(){var e=ci!==0;return ci=0,e}function H5(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function k5(e){if(si){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}si=!1}Ca=0,Xe=ke=oe=null,El=!1,gn=ci=0,Ol=null}function R1(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?oe.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function je(){if(ke===null){var e=oe.alternate;e=e!==null?e.memoizedState:null}else e=ke.next;var t=Xe===null?oe.memoizedState:Xe.next;if(t!==null)Xe=t,ke=e;else{if(e===null)throw oe.alternate===null?Error(H(467)):Error(H(310));ke=e,e={memoizedState:ke.memoizedState,baseState:ke.baseState,baseQueue:ke.baseQueue,queue:ke.queue,next:null},Xe===null?oe.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function Di(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function _n(e){var t=gn;return gn+=1,Ol===null&&(Ol=[]),e=Mf(Ol,e,t),t=oe,(Xe===null?t.memoizedState:Xe.next)===null&&(t=t.alternate,ee.H=t===null||t.memoizedState===null?i4:A5),e}function Vi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return _n(e);if(e.$$typeof===ia)return C1(e)}throw Error(H(438,String(e)))}function T5(e){var t=null,a=oe.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var o=oe.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Di(),oe.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),o=0;o<e;o++)a[o]=Ah;return t.index++,a}function ma(e,t){return typeof t=="function"?t(e):t}function q0(e){var t=je();return _5(t,ke,e)}function _5(e,t,a){var o=e.queue;if(o===null)throw Error(H(311));o.lastRenderedReducer=a;var l=e.baseQueue,r=o.pending;if(r!==null){if(l!==null){var n=l.next;l.next=r.next,r.next=n}t.baseQueue=l=r,o.pending=null}if(r=e.baseState,l===null)e.memoizedState=r;else{t=l.next;var i=n=null,u=null,d=t,c=!1;do{var C=d.lane&-536870913;if(C!==d.lane?(pe&C)===C:(Ca&C)===C){var p=d.revertLane;if(p===0)u!==null&&(u=u.next={lane:0,revertLane:0,gesture:null,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),C===Al&&(c=!0);else if((Ca&p)===p){d=d.next,p===Al&&(c=!0);continue}else C={lane:0,revertLane:d.revertLane,gesture:null,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},u===null?(i=u=C,n=r):u=u.next=C,oe.lanes|=p,ao|=p;C=d.action,Po&&a(r,C),r=d.hasEagerState?d.eagerState:a(r,C)}else p={lane:C,revertLane:d.revertLane,gesture:d.gesture,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},u===null?(i=u=p,n=r):u=u.next=p,oe.lanes|=C,ao|=C;d=d.next}while(d!==null&&d!==t);if(u===null?n=r:u.next=i,!at(r,e.memoizedState)&&(We=!0,c&&(a=Tl,a!==null)))throw a;e.memoizedState=r,e.baseState=n,e.baseQueue=u,o.lastRenderedState=r}return l===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function $9(e){var t=je(),a=t.queue;if(a===null)throw Error(H(311));a.lastRenderedReducer=e;var o=a.dispatch,l=a.pending,r=t.memoizedState;if(l!==null){a.pending=null;var n=l=l.next;do r=e(r,n.action),n=n.next;while(n!==l);at(r,t.memoizedState)||(We=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),a.lastRenderedState=r}return[r,o]}function Of(e,t,a){var o=oe,l=je(),r=Ce;if(r){if(a===void 0)throw Error(H(407));a=a()}else a=t();var n=!at((ke||l).memoizedState,a);if(n&&(l.memoizedState=a,We=!0),l=l.queue,E5(Bf.bind(null,o,l,e),[e]),l.getSnapshot!==t||n||Xe!==null&&Xe.memoizedState.tag&1){if(o.flags|=2048,zl(9,{destroy:void 0},Vf.bind(null,o,l,a,t),null),_e===null)throw Error(H(349));r||Ca&127||Df(o,t,a)}return a}function Df(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=oe.updateQueue,t===null?(t=Di(),oe.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Vf(e,t,a,o){t.value=a,t.getSnapshot=o,Af(t)&&Zf(e)}function Bf(e,t,a){return a(function(){Af(t)&&Zf(e)})}function Af(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!at(e,a)}catch{return!0}}function Zf(e){var t=jo(e,2);t!==null&&A1(t,e,2)}function Du(e){var t=R1();if(typeof e=="function"){var a=e;if(e=a(),Po){za(!0);try{a()}finally{za(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ma,lastRenderedState:e},t}function zf(e,t,a,o){return e.baseState=a,_5(e,ke,typeof o=="function"?o:ma)}function Jg(e,t,a,o,l){if(Ai(e))throw Error(H(485));if(e=t.action,e!==null){var r={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(n){r.listeners.push(n)}};ee.T!==null?a(!0):r.isTransition=!1,o(r),a=t.pending,a===null?(r.next=t.pending=r,Nf(t,r)):(r.next=a.next,t.pending=a.next=r)}}function Nf(e,t){var a=t.action,o=t.payload,l=e.state;if(t.isTransition){var r=ee.T,n={};ee.T=n;try{var i=a(l,o),u=ee.S;u!==null&&u(n,i),Z3(e,t,i)}catch(d){Vu(e,t,d)}finally{r!==null&&n.types!==null&&(r.types=n.types),ee.T=r}}else try{r=a(l,o),Z3(e,t,r)}catch(d){Vu(e,t,d)}}function Z3(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(o){z3(e,t,o)},function(o){return Vu(e,t,o)}):z3(e,t,a)}function z3(e,t,a){t.status="fulfilled",t.value=a,Pf(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Nf(e,a)))}function Vu(e,t,a){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=a,Pf(t),t=t.next;while(t!==o)}e.action=null}function Pf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Uf(e,t){return t}function N3(e,t){if(Ce){var a=_e.formState;if(a!==null){e:{var o=oe;if(Ce){if(Be){t:{for(var l=Be,r=mt;l.nodeType!==8;){if(!r){l=null;break t}if(l=gt(l.nextSibling),l===null){l=null;break t}}r=l.data,l=r==="F!"||r==="F"?l:null}if(l){Be=gt(l.nextSibling),o=l.data==="F!";break e}}eo(o)}o=!1}o&&(t=a[0])}}return a=R1(),a.memoizedState=a.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uf,lastRenderedState:t},a.queue=o,a=l4.bind(null,oe,o),o.dispatch=a,o=Du(!1),r=B5.bind(null,oe,!1,o.queue),o=R1(),l={state:t,dispatch:null,action:e,pending:null},o.queue=l,a=Jg.bind(null,oe,l,r,a),l.dispatch=a,o.memoizedState=e,[t,a,!1]}function P3(e){var t=je();return qf(t,ke,e)}function qf(e,t,a){if(t=_5(e,t,Uf)[0],e=q0(ma)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=_n(t)}catch(n){throw n===Kl?Oi:n}else o=t;t=je();var l=t.queue,r=l.dispatch;return a!==t.memoizedState&&(oe.flags|=2048,zl(9,{destroy:void 0},ev.bind(null,l,a),null)),[o,r,e]}function ev(e,t){e.action=t}function U3(e){var t=je(),a=ke;if(a!==null)return qf(t,a,e);je(),t=t.memoizedState,a=je();var o=a.queue.dispatch;return a.memoizedState=e,[t,o,!1]}function zl(e,t,a,o){return e={tag:e,create:a,deps:o,inst:t,next:null},t=oe.updateQueue,t===null&&(t=Di(),oe.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(o=a.next,a.next=e,e.next=o,t.lastEffect=e),e}function $f(){return je().memoizedState}function $0(e,t,a,o){var l=R1();oe.flags|=e,l.memoizedState=zl(1|t,{destroy:void 0},a,o===void 0?null:o)}function Bi(e,t,a,o){var l=je();o=o===void 0?null:o;var r=l.memoizedState.inst;ke!==null&&o!==null&&M5(o,ke.memoizedState.deps)?l.memoizedState=zl(t,r,a,o):(oe.flags|=e,l.memoizedState=zl(1|t,r,a,o))}function q3(e,t){$0(8390656,8,e,t)}function E5(e,t){Bi(2048,8,e,t)}function tv(e){oe.flags|=4;var t=oe.updateQueue;if(t===null)t=Di(),oe.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Ff(e){var t=je().memoizedState;return tv({ref:t,nextImpl:e}),function(){if(Le&2)throw Error(H(440));return t.impl.apply(void 0,arguments)}}function jf(e,t){return Bi(4,2,e,t)}function Gf(e,t){return Bi(4,4,e,t)}function Kf(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Xf(e,t,a){a=a!=null?a.concat([e]):null,Bi(4,4,Kf.bind(null,t,e),a)}function O5(){}function Qf(e,t){var a=je();t=t===void 0?null:t;var o=a.memoizedState;return t!==null&&M5(t,o[1])?o[0]:(a.memoizedState=[e,t],e)}function Yf(e,t){var a=je();t=t===void 0?null:t;var o=a.memoizedState;if(t!==null&&M5(t,o[1]))return o[0];if(o=e(),Po){za(!0);try{e()}finally{za(!1)}}return a.memoizedState=[o,t],o}function D5(e,t,a){return a===void 0||Ca&1073741824&&!(pe&261930)?e.memoizedState=t:(e.memoizedState=a,e=z4(),oe.lanes|=e,ao|=e,a)}function Wf(e,t,a,o){return at(a,t)?a:Zl.current!==null?(e=D5(e,a,o),at(e,t)||(We=!0),e):!(Ca&42)||Ca&1073741824&&!(pe&261930)?(We=!0,e.memoizedState=a):(e=z4(),oe.lanes|=e,ao|=e,t)}function Jf(e,t,a,o,l){var r=be.p;be.p=r!==0&&8>r?r:8;var n=ee.T,i={};ee.T=i,B5(e,!1,t,a);try{var u=l(),d=ee.S;if(d!==null&&d(i,u),u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=Qg(u,o);on(e,t,c,tt(e))}else on(e,t,o,tt(e))}catch(C){on(e,t,{then:function(){},status:"rejected",reason:C},tt())}finally{be.p=r,n!==null&&i.types!==null&&(n.types=i.types),ee.T=n}}function av(){}function Bu(e,t,a,o){if(e.tag!==5)throw Error(H(476));var l=e4(e).queue;Jf(e,l,t,Oo,a===null?av:function(){return t4(e),a(o)})}function e4(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Oo,baseState:Oo,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ma,lastRenderedState:Oo},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ma,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function t4(e){var t=e4(e);t.next===null&&(t=e.alternate.memoizedState),on(e,t.next.queue,{},tt())}function V5(){return C1(bn)}function a4(){return je().memoizedState}function o4(){return je().memoizedState}function ov(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=tt();e=ja(a);var o=Ga(t,e,a);o!==null&&(A1(o,t,a),en(o,t,a)),t={cache:L5()},e.payload=t;return}t=t.return}}function lv(e,t,a){var o=tt();a={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ai(e)?r4(t,a):(a=h5(e,t,a,o),a!==null&&(A1(a,e,o),n4(a,t,o)))}function l4(e,t,a){var o=tt();on(e,t,a,o)}function on(e,t,a,o){var l={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ai(e))r4(t,l);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var n=t.lastRenderedState,i=r(n,a);if(l.hasEagerState=!0,l.eagerState=i,at(i,n))return Ei(e,t,l,0),_e===null&&_i(),!1}catch{}finally{}if(a=h5(e,t,l,o),a!==null)return A1(a,e,o),n4(a,t,o),!0}return!1}function B5(e,t,a,o){if(o={lane:2,revertLane:F5(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Ai(e)){if(t)throw Error(H(479))}else t=h5(e,a,o,2),t!==null&&A1(t,e,2)}function Ai(e){var t=e.alternate;return e===oe||t!==null&&t===oe}function r4(e,t){El=si=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function n4(e,t,a){if(a&4194048){var o=t.lanes;o&=e.pendingLanes,a|=o,t.lanes=a,$7(e,a)}}var vn={readContext:C1,use:Vi,useCallback:qe,useContext:qe,useEffect:qe,useImperativeHandle:qe,useLayoutEffect:qe,useInsertionEffect:qe,useMemo:qe,useReducer:qe,useRef:qe,useState:qe,useDebugValue:qe,useDeferredValue:qe,useTransition:qe,useSyncExternalStore:qe,useId:qe,useHostTransitionStatus:qe,useFormState:qe,useActionState:qe,useOptimistic:qe,useMemoCache:qe,useCacheRefresh:qe};vn.useEffectEvent=qe;var i4={readContext:C1,use:Vi,useCallback:function(e,t){return R1().memoizedState=[e,t===void 0?null:t],e},useContext:C1,useEffect:q3,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,$0(4194308,4,Kf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return $0(4194308,4,e,t)},useInsertionEffect:function(e,t){$0(4,2,e,t)},useMemo:function(e,t){var a=R1();t=t===void 0?null:t;var o=e();if(Po){za(!0);try{e()}finally{za(!1)}}return a.memoizedState=[o,t],o},useReducer:function(e,t,a){var o=R1();if(a!==void 0){var l=a(t);if(Po){za(!0);try{a(t)}finally{za(!1)}}}else l=t;return o.memoizedState=o.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},o.queue=e,e=e.dispatch=lv.bind(null,oe,e),[o.memoizedState,e]},useRef:function(e){var t=R1();return e={current:e},t.memoizedState=e},useState:function(e){e=Du(e);var t=e.queue,a=l4.bind(null,oe,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:O5,useDeferredValue:function(e,t){var a=R1();return D5(a,e,t)},useTransition:function(){var e=Du(!1);return e=Jf.bind(null,oe,e.queue,!0,!1),R1().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var o=oe,l=R1();if(Ce){if(a===void 0)throw Error(H(407));a=a()}else{if(a=t(),_e===null)throw Error(H(349));pe&127||Df(o,t,a)}l.memoizedState=a;var r={value:a,getSnapshot:t};return l.queue=r,q3(Bf.bind(null,o,r,e),[e]),o.flags|=2048,zl(9,{destroy:void 0},Vf.bind(null,o,r,a,t),null),a},useId:function(){var e=R1(),t=_e.identifierPrefix;if(Ce){var a=zt,o=Zt;a=(o&~(1<<32-et(o)-1)).toString(32)+a,t="_"+t+"R_"+a,a=ci++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Yg++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:V5,useFormState:N3,useActionState:N3,useOptimistic:function(e){var t=R1();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=B5.bind(null,oe,!0,a),a.dispatch=t,[e,t]},useMemoCache:T5,useCacheRefresh:function(){return R1().memoizedState=ov.bind(null,oe)},useEffectEvent:function(e){var t=R1(),a={impl:e};return t.memoizedState=a,function(){if(Le&2)throw Error(H(440));return a.impl.apply(void 0,arguments)}}},A5={readContext:C1,use:Vi,useCallback:Qf,useContext:C1,useEffect:E5,useImperativeHandle:Xf,useInsertionEffect:jf,useLayoutEffect:Gf,useMemo:Yf,useReducer:q0,useRef:$f,useState:function(){return q0(ma)},useDebugValue:O5,useDeferredValue:function(e,t){var a=je();return Wf(a,ke.memoizedState,e,t)},useTransition:function(){var e=q0(ma)[0],t=je().memoizedState;return[typeof e=="boolean"?e:_n(e),t]},useSyncExternalStore:Of,useId:a4,useHostTransitionStatus:V5,useFormState:P3,useActionState:P3,useOptimistic:function(e,t){var a=je();return zf(a,ke,e,t)},useMemoCache:T5,useCacheRefresh:o4};A5.useEffectEvent=Ff;var u4={readContext:C1,use:Vi,useCallback:Qf,useContext:C1,useEffect:E5,useImperativeHandle:Xf,useInsertionEffect:jf,useLayoutEffect:Gf,useMemo:Yf,useReducer:$9,useRef:$f,useState:function(){return $9(ma)},useDebugValue:O5,useDeferredValue:function(e,t){var a=je();return ke===null?D5(a,e,t):Wf(a,ke.memoizedState,e,t)},useTransition:function(){var e=$9(ma)[0],t=je().memoizedState;return[typeof e=="boolean"?e:_n(e),t]},useSyncExternalStore:Of,useId:a4,useHostTransitionStatus:V5,useFormState:U3,useActionState:U3,useOptimistic:function(e,t){var a=je();return ke!==null?zf(a,ke,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:T5,useCacheRefresh:o4};u4.useEffectEvent=Ff;function F9(e,t,a,o){t=e.memoizedState,a=a(o,t),a=a==null?t:Ae({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Au={enqueueSetState:function(e,t,a){e=e._reactInternals;var o=tt(),l=ja(o);l.payload=t,a!=null&&(l.callback=a),t=Ga(e,l,o),t!==null&&(A1(t,e,o),en(t,e,o))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var o=tt(),l=ja(o);l.tag=1,l.payload=t,a!=null&&(l.callback=a),t=Ga(e,l,o),t!==null&&(A1(t,e,o),en(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=tt(),o=ja(a);o.tag=2,t!=null&&(o.callback=t),t=Ga(e,o,a),t!==null&&(A1(t,e,a),en(t,e,a))}};function $3(e,t,a,o,l,r,n){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,r,n):t.prototype&&t.prototype.isPureReactComponent?!pn(a,o)||!pn(l,r):!0}function F3(e,t,a,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,o),t.state!==e&&Au.enqueueReplaceState(t,t.state,null)}function Uo(e,t){var a=t;if("ref"in t){a={};for(var o in t)o!=="ref"&&(a[o]=t[o])}if(e=e.defaultProps){a===t&&(a=Ae({},a));for(var l in e)a[l]===void 0&&(a[l]=e[l])}return a}function d4(e){oi(e)}function s4(e){console.error(e)}function c4(e){oi(e)}function fi(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(o){setTimeout(function(){throw o})}}function j3(e,t,a){try{var o=e.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function Zu(e,t,a){return a=ja(a),a.tag=3,a.payload={element:null},a.callback=function(){fi(e,t)},a}function f4(e){return e=ja(e),e.tag=3,e}function p4(e,t,a,o){var l=a.type.getDerivedStateFromError;if(typeof l=="function"){var r=o.value;e.payload=function(){return l(r)},e.callback=function(){j3(t,a,o)}}var n=a.stateNode;n!==null&&typeof n.componentDidCatch=="function"&&(e.callback=function(){j3(t,a,o),typeof l!="function"&&(Ka===null?Ka=new Set([this]):Ka.add(this));var i=o.stack;this.componentDidCatch(o.value,{componentStack:i!==null?i:""})})}function rv(e,t,a,o,l){if(a.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=a.alternate,t!==null&&Gl(t,a,l,!0),a=ot.current,a!==null){switch(a.tag){case 31:case 13:return ht===null?gi():a.alternate===null&&$e===0&&($e=3),a.flags&=-257,a.flags|=65536,a.lanes=l,o===ii?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([o]):t.add(o),au(e,o,l)),!1;case 22:return a.flags|=65536,o===ii?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([o]):a.add(o)),au(e,o,l)),!1}throw Error(H(435,a.tag))}return au(e,o,l),gi(),!1}if(Ce)return t=ot.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=l,o!==Mu&&(e=Error(H(422),{cause:o}),mn(Ct(e,a)))):(o!==Mu&&(t=Error(H(423),{cause:o}),mn(Ct(t,a))),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,o=Ct(o,a),l=Zu(e.stateNode,o,l),q9(e,l),$e!==4&&($e=2)),!1;var r=Error(H(520),{cause:o});if(r=Ct(r,a),nn===null?nn=[r]:nn.push(r),$e!==4&&($e=2),t===null)return!0;o=Ct(o,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=l&-l,a.lanes|=e,e=Zu(a.stateNode,o,e),q9(a,e),!1;case 1:if(t=a.type,r=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Ka===null||!Ka.has(r))))return a.flags|=65536,l&=-l,a.lanes|=l,l=f4(l),p4(l,e,a,o),q9(a,l),!1}a=a.return}while(a!==null);return!1}var Z5=Error(H(461)),We=!1;function c1(e,t,a,o){t.child=e===null?Rf(t,null,a,o):No(t,e.child,a,o)}function G3(e,t,a,o,l){a=a.render;var r=t.ref;if("ref"in o){var n={};for(var i in o)i!=="ref"&&(n[i]=o[i])}else n=o;return zo(t),o=S5(e,t,a,n,r,l),i=R5(),e!==null&&!We?(H5(e,t,l),ha(e,t,l)):(Ce&&i&&v5(t),t.flags|=1,c1(e,t,o,l),t.child)}function K3(e,t,a,o,l){if(e===null){var r=a.type;return typeof r=="function"&&!g5(r)&&r.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=r,C4(e,t,r,o,l)):(e=P0(a.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!z5(e,l)){var n=r.memoizedProps;if(a=a.compare,a=a!==null?a:pn,a(n,o)&&e.ref===t.ref)return ha(e,t,l)}return t.flags|=1,e=sa(r,o),e.ref=t.ref,e.return=t,t.child=e}function C4(e,t,a,o,l){if(e!==null){var r=e.memoizedProps;if(pn(r,o)&&e.ref===t.ref)if(We=!1,t.pendingProps=o=r,z5(e,l))e.flags&131072&&(We=!0);else return t.lanes=e.lanes,ha(e,t,l)}return zu(e,t,a,o,l)}function m4(e,t,a,o){var l=o.children,r=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if(t.flags&128){if(r=r!==null?r.baseLanes|a:a,e!==null){for(o=t.child=e.child,l=0;o!==null;)l=l|o.lanes|o.childLanes,o=o.sibling;o=l&~r}else o=0,t.child=null;return X3(e,t,r,a,o)}if(a&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&U0(t,r!==null?r.cachePool:null),r!==null?A3(t,r):Eu(),Tf(t);else return o=t.lanes=536870912,X3(e,t,r!==null?r.baseLanes|a:a,a,o)}else r!==null?(U0(t,r.cachePool),A3(t,r),Aa(t),t.memoizedState=null):(e!==null&&U0(t,null),Eu(),Aa(t));return c1(e,t,l,a),t.child}function Kr(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function X3(e,t,a,o,l){var r=b5();return r=r===null?null:{parent:Ye._currentValue,pool:r},t.memoizedState={baseLanes:a,cachePool:r},e!==null&&U0(t,null),Eu(),Tf(t),e!==null&&Gl(e,t,o,!0),t.childLanes=l,null}function F0(e,t){return t=pi({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Q3(e,t,a){return No(t,e.child,null,a),e=F0(t,t.pendingProps),e.flags|=2,X1(t),t.memoizedState=null,e}function nv(e,t,a){var o=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ce){if(o.mode==="hidden")return e=F0(t,o),t.lanes=536870912,Kr(null,e);if(Ou(t),(e=Be)?(e=i8(e,mt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ja!==null?{id:Zt,overflow:zt}:null,retryLane:536870912,hydrationErrors:null},a=Lf(e),a.return=t,t.child=a,p1=t,Be=null)):e=null,e===null)throw eo(t);return t.lanes=536870912,null}return F0(t,o)}var r=e.memoizedState;if(r!==null){var n=r.dehydrated;if(Ou(t),l)if(t.flags&256)t.flags&=-257,t=Q3(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(H(558));else if(We||Gl(e,t,a,!1),l=(a&e.childLanes)!==0,We||l){if(o=_e,o!==null&&(n=F7(o,a),n!==0&&n!==r.retryLane))throw r.retryLane=n,jo(e,n),A1(o,e,n),Z5;gi(),t=Q3(e,t,a)}else e=r.treeContext,Be=gt(n.nextSibling),p1=t,Ce=!0,Fa=null,mt=!1,e!==null&&wf(t,e),t=F0(t,o),t.flags|=4096;return t}return e=sa(e.child,{mode:o.mode,children:o.children}),e.ref=t.ref,t.child=e,e.return=t,e}function j0(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(H(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function zu(e,t,a,o,l){return zo(t),a=S5(e,t,a,o,void 0,l),o=R5(),e!==null&&!We?(H5(e,t,l),ha(e,t,l)):(Ce&&o&&v5(t),t.flags|=1,c1(e,t,a,l),t.child)}function Y3(e,t,a,o,l,r){return zo(t),t.updateQueue=null,a=Ef(t,o,a,l),_f(e),o=R5(),e!==null&&!We?(H5(e,t,r),ha(e,t,r)):(Ce&&o&&v5(t),t.flags|=1,c1(e,t,a,r),t.child)}function W3(e,t,a,o,l){if(zo(t),t.stateNode===null){var r=yl,n=a.contextType;typeof n=="object"&&n!==null&&(r=C1(n)),r=new a(o,r),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Au,t.stateNode=r,r._reactInternals=t,r=t.stateNode,r.props=o,r.state=t.memoizedState,r.refs={},y5(t),n=a.contextType,r.context=typeof n=="object"&&n!==null?C1(n):yl,r.state=t.memoizedState,n=a.getDerivedStateFromProps,typeof n=="function"&&(F9(t,a,n,o),r.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(n=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),n!==r.state&&Au.enqueueReplaceState(r,r.state,null),an(t,o,r,l),tn(),r.state=t.memoizedState),typeof r.componentDidMount=="function"&&(t.flags|=4194308),o=!0}else if(e===null){r=t.stateNode;var i=t.memoizedProps,u=Uo(a,i);r.props=u;var d=r.context,c=a.contextType;n=yl,typeof c=="object"&&c!==null&&(n=C1(c));var C=a.getDerivedStateFromProps;c=typeof C=="function"||typeof r.getSnapshotBeforeUpdate=="function",i=t.pendingProps!==i,c||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(i||d!==n)&&F3(t,r,o,n),Da=!1;var p=t.memoizedState;r.state=p,an(t,o,r,l),tn(),d=t.memoizedState,i||p!==d||Da?(typeof C=="function"&&(F9(t,a,C,o),d=t.memoizedState),(u=Da||$3(t,a,u,o,p,d,n))?(c||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(t.flags|=4194308)):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=d),r.props=o,r.state=d,r.context=n,o=u):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{r=t.stateNode,Tu(e,t),n=t.memoizedProps,c=Uo(a,n),r.props=c,C=t.pendingProps,p=r.context,d=a.contextType,u=yl,typeof d=="object"&&d!==null&&(u=C1(d)),i=a.getDerivedStateFromProps,(d=typeof i=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(n!==C||p!==u)&&F3(t,r,o,u),Da=!1,p=t.memoizedState,r.state=p,an(t,o,r,l),tn();var m=t.memoizedState;n!==C||p!==m||Da||e!==null&&e.dependencies!==null&&ni(e.dependencies)?(typeof i=="function"&&(F9(t,a,i,o),m=t.memoizedState),(c=Da||$3(t,a,c,o,p,m,u)||e!==null&&e.dependencies!==null&&ni(e.dependencies))?(d||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(o,m,u),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(o,m,u)),typeof r.componentDidUpdate=="function"&&(t.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof r.componentDidUpdate!="function"||n===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||n===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=m),r.props=o,r.state=m,r.context=u,o=c):(typeof r.componentDidUpdate!="function"||n===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||n===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),o=!1)}return r=o,j0(e,t),o=(t.flags&128)!==0,r||o?(r=t.stateNode,a=o&&typeof a.getDerivedStateFromError!="function"?null:r.render(),t.flags|=1,e!==null&&o?(t.child=No(t,e.child,null,l),t.child=No(t,null,a,l)):c1(e,t,a,l),t.memoizedState=r.state,e=t.child):e=ha(e,t,l),e}function J3(e,t,a,o){return Zo(),t.flags|=256,c1(e,t,a,o),t.child}var j9={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function G9(e){return{baseLanes:e,cachePool:If()}}function K9(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Y1),e}function h4(e,t,a){var o=t.pendingProps,l=!1,r=(t.flags&128)!==0,n;if((n=r)||(n=e!==null&&e.memoizedState===null?!1:(Fe.current&2)!==0),n&&(l=!0,t.flags&=-129),n=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ce){if(l?Ba(t):Aa(t),(e=Be)?(e=i8(e,mt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ja!==null?{id:Zt,overflow:zt}:null,retryLane:536870912,hydrationErrors:null},a=Lf(e),a.return=t,t.child=a,p1=t,Be=null)):e=null,e===null)throw eo(t);return Ju(e)?t.lanes=32:t.lanes=536870912,null}var i=o.children;return o=o.fallback,l?(Aa(t),l=t.mode,i=pi({mode:"hidden",children:i},l),o=Do(o,l,a,null),i.return=t,o.return=t,i.sibling=o,t.child=i,o=t.child,o.memoizedState=G9(a),o.childLanes=K9(e,n,a),t.memoizedState=j9,Kr(null,o)):(Ba(t),Nu(t,i))}var u=e.memoizedState;if(u!==null&&(i=u.dehydrated,i!==null)){if(r)t.flags&256?(Ba(t),t.flags&=-257,t=X9(e,t,a)):t.memoizedState!==null?(Aa(t),t.child=e.child,t.flags|=128,t=null):(Aa(t),i=o.fallback,l=t.mode,o=pi({mode:"visible",children:o.children},l),i=Do(i,l,a,null),i.flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,No(t,e.child,null,a),o=t.child,o.memoizedState=G9(a),o.childLanes=K9(e,n,a),t.memoizedState=j9,t=Kr(null,o));else if(Ba(t),Ju(i)){if(n=i.nextSibling&&i.nextSibling.dataset,n)var d=n.dgst;n=d,o=Error(H(419)),o.stack="",o.digest=n,mn({value:o,source:null,stack:null}),t=X9(e,t,a)}else if(We||Gl(e,t,a,!1),n=(a&e.childLanes)!==0,We||n){if(n=_e,n!==null&&(o=F7(n,a),o!==0&&o!==u.retryLane))throw u.retryLane=o,jo(e,o),A1(n,e,o),Z5;Wu(i)||gi(),t=X9(e,t,a)}else Wu(i)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,Be=gt(i.nextSibling),p1=t,Ce=!0,Fa=null,mt=!1,e!==null&&wf(t,e),t=Nu(t,o.children),t.flags|=4096);return t}return l?(Aa(t),i=o.fallback,l=t.mode,u=e.child,d=u.sibling,o=sa(u,{mode:"hidden",children:o.children}),o.subtreeFlags=u.subtreeFlags&65011712,d!==null?i=sa(d,i):(i=Do(i,l,a,null),i.flags|=2),i.return=t,o.return=t,o.sibling=i,t.child=o,Kr(null,o),o=t.child,i=e.child.memoizedState,i===null?i=G9(a):(l=i.cachePool,l!==null?(u=Ye._currentValue,l=l.parent!==u?{parent:u,pool:u}:l):l=If(),i={baseLanes:i.baseLanes|a,cachePool:l}),o.memoizedState=i,o.childLanes=K9(e,n,a),t.memoizedState=j9,Kr(e.child,o)):(Ba(t),a=e.child,e=a.sibling,a=sa(a,{mode:"visible",children:o.children}),a.return=t,a.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a)}function Nu(e,t){return t=pi({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function pi(e,t){return e=Q1(22,e,null,t),e.lanes=0,e}function X9(e,t,a){return No(t,e.child,null,a),e=Nu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function e7(e,t,a){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Ru(e.return,t,a)}function Q9(e,t,a,o,l,r){var n=e.memoizedState;n===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:l,treeForkCount:r}:(n.isBackwards=t,n.rendering=null,n.renderingStartTime=0,n.last=o,n.tail=a,n.tailMode=l,n.treeForkCount=r)}function g4(e,t,a){var o=t.pendingProps,l=o.revealOrder,r=o.tail;o=o.children;var n=Fe.current,i=(n&2)!==0;if(i?(n=n&1|2,t.flags|=128):n&=1,Ee(Fe,n),c1(e,t,o,a),o=Ce?Cn:0,!i&&e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&e7(e,a,t);else if(e.tag===19)e7(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(l){case"forwards":for(a=t.child,l=null;a!==null;)e=a.alternate,e!==null&&di(e)===null&&(l=a),a=a.sibling;a=l,a===null?(l=t.child,t.child=null):(l=a.sibling,a.sibling=null),Q9(t,!1,l,a,r,o);break;case"backwards":case"unstable_legacy-backwards":for(a=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&di(e)===null){t.child=l;break}e=l.sibling,l.sibling=a,a=l,l=e}Q9(t,!0,a,null,r,o);break;case"together":Q9(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function ha(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),ao|=t.lanes,!(a&t.childLanes))if(e!==null){if(Gl(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(H(153));if(t.child!==null){for(e=t.child,a=sa(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=sa(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function z5(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&ni(e)))}function iv(e,t,a){switch(t.tag){case 3:J0(t,t.stateNode.containerInfo),Va(t,Ye,e.memoizedState.cache),Zo();break;case 27:case 5:Cu(t);break;case 4:J0(t,t.stateNode.containerInfo);break;case 10:Va(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Ou(t),null;break;case 13:var o=t.memoizedState;if(o!==null)return o.dehydrated!==null?(Ba(t),t.flags|=128,null):a&t.child.childLanes?h4(e,t,a):(Ba(t),e=ha(e,t,a),e!==null?e.sibling:null);Ba(t);break;case 19:var l=(e.flags&128)!==0;if(o=(a&t.childLanes)!==0,o||(Gl(e,t,a,!1),o=(a&t.childLanes)!==0),l){if(o)return g4(e,t,a);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Ee(Fe,Fe.current),o)break;return null;case 22:return t.lanes=0,m4(e,t,a,t.pendingProps);case 24:Va(t,Ye,e.memoizedState.cache)}return ha(e,t,a)}function v4(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)We=!0;else{if(!z5(e,a)&&!(t.flags&128))return We=!1,iv(e,t,a);We=!!(e.flags&131072)}else We=!1,Ce&&t.flags&1048576&&bf(t,Cn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var o=t.pendingProps;if(e=_o(t.elementType),t.type=e,typeof e=="function")g5(e)?(o=Uo(e,o),t.tag=1,t=W3(null,t,e,o,a)):(t.tag=0,t=zu(null,t,e,o,a));else{if(e!=null){var l=e.$$typeof;if(l===o5){t.tag=11,t=G3(null,t,e,o,a);break e}else if(l===l5){t.tag=14,t=K3(null,t,e,o,a);break e}}throw t=fu(e)||e,Error(H(306,t,""))}}return t;case 0:return zu(e,t,t.type,t.pendingProps,a);case 1:return o=t.type,l=Uo(o,t.pendingProps),W3(e,t,o,l,a);case 3:e:{if(J0(t,t.stateNode.containerInfo),e===null)throw Error(H(387));o=t.pendingProps;var r=t.memoizedState;l=r.element,Tu(e,t),an(t,o,null,a);var n=t.memoizedState;if(o=n.cache,Va(t,Ye,o),o!==r.cache&&Hu(t,[Ye],a,!0),tn(),o=n.element,r.isDehydrated)if(r={element:o,isDehydrated:!1,cache:n.cache},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){t=J3(e,t,o,a);break e}else if(o!==l){l=Ct(Error(H(424)),t),mn(l),t=J3(e,t,o,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Be=gt(e.firstChild),p1=t,Ce=!0,Fa=null,mt=!0,a=Rf(t,null,o,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Zo(),o===l){t=ha(e,t,a);break e}c1(e,t,o,a)}t=t.child}return t;case 26:return j0(e,t),e===null?(a=w7(t.type,null,t.pendingProps,null))?t.memoizedState=a:Ce||(a=t.type,e=t.pendingProps,o=bi($a.current).createElement(a),o[f1]=t,o[Z1]=e,m1(o,a,e),r1(o),t.stateNode=o):t.memoizedState=w7(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Cu(t),e===null&&Ce&&(o=t.stateNode=u8(t.type,t.pendingProps,$a.current),p1=t,mt=!0,l=Be,lo(t.type)?(e5=l,Be=gt(o.firstChild)):Be=l),c1(e,t,t.pendingProps.children,a),j0(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ce&&((l=o=Be)&&(o=Vv(o,t.type,t.pendingProps,mt),o!==null?(t.stateNode=o,p1=t,Be=gt(o.firstChild),mt=!1,l=!0):l=!1),l||eo(t)),Cu(t),l=t.type,r=t.pendingProps,n=e!==null?e.memoizedProps:null,o=r.children,Qu(l,r)?o=null:n!==null&&Qu(l,n)&&(t.flags|=32),t.memoizedState!==null&&(l=S5(e,t,Wg,null,null,a),bn._currentValue=l),j0(e,t),c1(e,t,o,a),t.child;case 6:return e===null&&Ce&&((e=a=Be)&&(a=Bv(a,t.pendingProps,mt),a!==null?(t.stateNode=a,p1=t,Be=null,e=!0):e=!1),e||eo(t)),null;case 13:return h4(e,t,a);case 4:return J0(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=No(t,null,o,a):c1(e,t,o,a),t.child;case 11:return G3(e,t,t.type,t.pendingProps,a);case 7:return c1(e,t,t.pendingProps,a),t.child;case 8:return c1(e,t,t.pendingProps.children,a),t.child;case 12:return c1(e,t,t.pendingProps.children,a),t.child;case 10:return o=t.pendingProps,Va(t,t.type,o.value),c1(e,t,o.children,a),t.child;case 9:return l=t.type._context,o=t.pendingProps.children,zo(t),l=C1(l),o=o(l),t.flags|=1,c1(e,t,o,a),t.child;case 14:return K3(e,t,t.type,t.pendingProps,a);case 15:return C4(e,t,t.type,t.pendingProps,a);case 19:return g4(e,t,a);case 31:return nv(e,t,a);case 22:return m4(e,t,a,t.pendingProps);case 24:return zo(t),o=C1(Ye),e===null?(l=b5(),l===null&&(l=_e,r=L5(),l.pooledCache=r,r.refCount++,r!==null&&(l.pooledCacheLanes|=a),l=r),t.memoizedState={parent:o,cache:l},y5(t),Va(t,Ye,l)):(e.lanes&a&&(Tu(e,t),an(t,null,null,a),tn()),l=e.memoizedState,r=t.memoizedState,l.parent!==o?(l={parent:o,cache:o},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),Va(t,Ye,o)):(o=r.cache,Va(t,Ye,o),o!==l.cache&&Hu(t,[Ye],a,!0))),c1(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(H(156,t.tag))}function ta(e){e.flags|=4}function Y9(e,t,a,o,l){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(U4())e.flags|=8192;else throw Bo=ii,w5}else e.flags&=-16777217}function t7(e,t){if(t.type!=="stylesheet"||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!c8(t))if(U4())e.flags|=8192;else throw Bo=ii,w5}function T0(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?U7():536870912,e.lanes|=t,Nl|=t)}function Pr(e,t){if(!Ce)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ve(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,o=0;if(t)for(var l=e.child;l!==null;)a|=l.lanes|l.childLanes,o|=l.subtreeFlags&65011712,o|=l.flags&65011712,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)a|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=a,t}function uv(e,t,a){var o=t.pendingProps;switch(x5(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ve(t),null;case 1:return Ve(t),null;case 3:return a=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),ca(Ye),Dl(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(cl(t)?ta(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,U9())),Ve(t),null;case 26:var l=t.type,r=t.memoizedState;return e===null?(ta(t),r!==null?(Ve(t),t7(t,r)):(Ve(t),Y9(t,l,null,o,a))):r?r!==e.memoizedState?(ta(t),Ve(t),t7(t,r)):(Ve(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&ta(t),Ve(t),Y9(t,l,e,o,a)),null;case 27:if(ei(t),a=$a.current,l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&ta(t);else{if(!o){if(t.stateNode===null)throw Error(H(166));return Ve(t),null}e=Pt.current,cl(t)?T3(t,e):(e=u8(l,o,a),t.stateNode=e,ta(t))}return Ve(t),null;case 5:if(ei(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&ta(t);else{if(!o){if(t.stateNode===null)throw Error(H(166));return Ve(t),null}if(r=Pt.current,cl(t))T3(t,r);else{var n=bi($a.current);switch(r){case 1:r=n.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:r=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":r=n.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":r=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":r=n.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof o.is=="string"?n.createElement("select",{is:o.is}):n.createElement("select"),o.multiple?r.multiple=!0:o.size&&(r.size=o.size);break;default:r=typeof o.is=="string"?n.createElement(l,{is:o.is}):n.createElement(l)}}r[f1]=t,r[Z1]=o;e:for(n=t.child;n!==null;){if(n.tag===5||n.tag===6)r.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}t.stateNode=r;e:switch(m1(r,l,o),l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&ta(t)}}return Ve(t),Y9(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&ta(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error(H(166));if(e=$a.current,cl(t)){if(e=t.stateNode,a=t.memoizedProps,o=null,l=p1,l!==null)switch(l.tag){case 27:case 5:o=l.memoizedProps}e[f1]=t,e=!!(e.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||l8(e.nodeValue,a)),e||eo(t,!0)}else e=bi(e).createTextNode(o),e[f1]=t,t.stateNode=e}return Ve(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(o=cl(t),a!==null){if(e===null){if(!o)throw Error(H(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(H(557));e[f1]=t}else Zo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ve(t),e=!1}else a=U9(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(X1(t),t):(X1(t),null);if(t.flags&128)throw Error(H(558))}return Ve(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=cl(t),o!==null&&o.dehydrated!==null){if(e===null){if(!l)throw Error(H(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(H(317));l[f1]=t}else Zo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ve(t),l=!1}else l=U9(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(X1(t),t):(X1(t),null)}return X1(t),t.flags&128?(t.lanes=a,t):(a=o!==null,e=e!==null&&e.memoizedState!==null,a&&(o=t.child,l=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(l=o.alternate.memoizedState.cachePool.pool),r=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(r=o.memoizedState.cachePool.pool),r!==l&&(o.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),T0(t,t.updateQueue),Ve(t),null);case 4:return Dl(),e===null&&j5(t.stateNode.containerInfo),Ve(t),null;case 10:return ca(t.type),Ve(t),null;case 19:if(n1(Fe),o=t.memoizedState,o===null)return Ve(t),null;if(l=(t.flags&128)!==0,r=o.rendering,r===null)if(l)Pr(o,!1);else{if($e!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(r=di(e),r!==null){for(t.flags|=128,Pr(o,!1),e=r.updateQueue,t.updateQueue=e,T0(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)xf(a,e),a=a.sibling;return Ee(Fe,Fe.current&1|2),Ce&&ra(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&W1()>mi&&(t.flags|=128,l=!0,Pr(o,!1),t.lanes=4194304)}else{if(!l)if(e=di(r),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,T0(t,e),Pr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!r.alternate&&!Ce)return Ve(t),null}else 2*W1()-o.renderingStartTime>mi&&a!==536870912&&(t.flags|=128,l=!0,Pr(o,!1),t.lanes=4194304);o.isBackwards?(r.sibling=t.child,t.child=r):(e=o.last,e!==null?e.sibling=r:t.child=r,o.last=r)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=W1(),e.sibling=null,a=Fe.current,Ee(Fe,l?a&1|2:a&1),Ce&&ra(t,o.treeForkCount),e):(Ve(t),null);case 22:case 23:return X1(t),I5(),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?a&536870912&&!(t.flags&128)&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),a=t.updateQueue,a!==null&&T0(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==a&&(t.flags|=2048),e!==null&&n1(Vo),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ca(Ye),Ve(t),null;case 25:return null;case 30:return null}throw Error(H(156,t.tag))}function dv(e,t){switch(x5(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ca(Ye),Dl(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ei(t),null;case 31:if(t.memoizedState!==null){if(X1(t),t.alternate===null)throw Error(H(340));Zo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(X1(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(H(340));Zo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return n1(Fe),null;case 4:return Dl(),null;case 10:return ca(t.type),null;case 22:case 23:return X1(t),I5(),e!==null&&n1(Vo),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ca(Ye),null;case 25:return null;default:return null}}function x4(e,t){switch(x5(t),t.tag){case 3:ca(Ye),Dl();break;case 26:case 27:case 5:ei(t);break;case 4:Dl();break;case 31:t.memoizedState!==null&&X1(t);break;case 13:X1(t);break;case 19:n1(Fe);break;case 10:ca(t.type);break;case 22:case 23:X1(t),I5(),e!==null&&n1(Vo);break;case 24:ca(Ye)}}function En(e,t){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var l=o.next;a=l;do{if((a.tag&e)===e){o=void 0;var r=a.create,n=a.inst;o=r(),n.destroy=o}a=a.next}while(a!==l)}}catch(i){Me(t,t.return,i)}}function to(e,t,a){try{var o=t.updateQueue,l=o!==null?o.lastEffect:null;if(l!==null){var r=l.next;o=r;do{if((o.tag&e)===e){var n=o.inst,i=n.destroy;if(i!==void 0){n.destroy=void 0,l=t;var u=a,d=i;try{d()}catch(c){Me(l,u,c)}}}o=o.next}while(o!==r)}}catch(c){Me(t,t.return,c)}}function L4(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{kf(t,a)}catch(o){Me(e,e.return,o)}}}function b4(e,t,a){a.props=Uo(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(o){Me(e,t,o)}}function ln(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof a=="function"?e.refCleanup=a(o):a.current=o}}catch(l){Me(e,t,l)}}function Nt(e,t){var a=e.ref,o=e.refCleanup;if(a!==null)if(typeof o=="function")try{o()}catch(l){Me(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(l){Me(e,t,l)}else a.current=null}function w4(e){var t=e.type,a=e.memoizedProps,o=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&o.focus();break e;case"img":a.src?o.src=a.src:a.srcSet&&(o.srcset=a.srcSet)}}catch(l){Me(e,e.return,l)}}function W9(e,t,a){try{var o=e.stateNode;kv(o,e.type,a,t),o[Z1]=t}catch(l){Me(e,e.return,l)}}function y4(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&lo(e.type)||e.tag===4}function J9(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||y4(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&lo(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Pu(e,t,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=ua));else if(o!==4&&(o===27&&lo(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Pu(e,t,a),e=e.sibling;e!==null;)Pu(e,t,a),e=e.sibling}function Ci(e,t,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(o!==4&&(o===27&&lo(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Ci(e,t,a),e=e.sibling;e!==null;)Ci(e,t,a),e=e.sibling}function I4(e){var t=e.stateNode,a=e.memoizedProps;try{for(var o=e.type,l=t.attributes;l.length;)t.removeAttributeNode(l[0]);m1(t,o,a),t[f1]=e,t[Z1]=a}catch(r){Me(e,e.return,r)}}var na=!1,Qe=!1,eu=!1,a7=typeof WeakSet=="function"?WeakSet:Set,l1=null;function sv(e,t){if(e=e.containerInfo,Ku=Mi,e=cf(e),C5(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var l=o.anchorOffset,r=o.focusNode;o=o.focusOffset;try{a.nodeType,r.nodeType}catch{a=null;break e}var n=0,i=-1,u=-1,d=0,c=0,C=e,p=null;t:for(;;){for(var m;C!==a||l!==0&&C.nodeType!==3||(i=n+l),C!==r||o!==0&&C.nodeType!==3||(u=n+o),C.nodeType===3&&(n+=C.nodeValue.length),(m=C.firstChild)!==null;)p=C,C=m;for(;;){if(C===e)break t;if(p===a&&++d===l&&(i=n),p===r&&++c===o&&(u=n),(m=C.nextSibling)!==null)break;C=p,p=C.parentNode}C=m}a=i===-1||u===-1?null:{start:i,end:u}}else a=null}a=a||{start:0,end:0}}else a=null;for(Xu={focusedElem:e,selectionRange:a},Mi=!1,l1=t;l1!==null;)if(t=l1,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,l1=e;else for(;l1!==null;){switch(t=l1,r=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)l=e[a],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&r!==null){e=void 0,a=t,l=r.memoizedProps,r=r.memoizedState,o=a.stateNode;try{var v=Uo(a.type,l);e=o.getSnapshotBeforeUpdate(v,r),o.__reactInternalSnapshotBeforeUpdate=e}catch(L){Me(a,a.return,L)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Yu(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Yu(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(H(163))}if(e=t.sibling,e!==null){e.return=t.return,l1=e;break}l1=t.return}}function M4(e,t,a){var o=a.flags;switch(a.tag){case 0:case 11:case 15:oa(e,a),o&4&&En(5,a);break;case 1:if(oa(e,a),o&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(n){Me(a,a.return,n)}else{var l=Uo(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(l,t,e.__reactInternalSnapshotBeforeUpdate)}catch(n){Me(a,a.return,n)}}o&64&&L4(a),o&512&&ln(a,a.return);break;case 3:if(oa(e,a),o&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{kf(e,t)}catch(n){Me(a,a.return,n)}}break;case 27:t===null&&o&4&&I4(a);case 26:case 5:oa(e,a),t===null&&o&4&&w4(a),o&512&&ln(a,a.return);break;case 12:oa(e,a);break;case 31:oa(e,a),o&4&&H4(e,a);break;case 13:oa(e,a),o&4&&k4(e,a),o&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=xv.bind(null,a),Av(e,a))));break;case 22:if(o=a.memoizedState!==null||na,!o){t=t!==null&&t.memoizedState!==null||Qe,l=na;var r=Qe;na=o,(Qe=t)&&!r?la(e,a,(a.subtreeFlags&8772)!==0):oa(e,a),na=l,Qe=r}break;case 30:break;default:oa(e,a)}}function S4(e){var t=e.alternate;t!==null&&(e.alternate=null,S4(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&u5(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ze=null,V1=!1;function aa(e,t,a){for(a=a.child;a!==null;)R4(e,t,a),a=a.sibling}function R4(e,t,a){if(J1&&typeof J1.onCommitFiberUnmount=="function")try{J1.onCommitFiberUnmount(Mn,a)}catch{}switch(a.tag){case 26:Qe||Nt(a,t),aa(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Qe||Nt(a,t);var o=ze,l=V1;lo(a.type)&&(ze=a.stateNode,V1=!1),aa(e,t,a),dn(a.stateNode),ze=o,V1=l;break;case 5:Qe||Nt(a,t);case 6:if(o=ze,l=V1,ze=null,aa(e,t,a),ze=o,V1=l,ze!==null)if(V1)try{(ze.nodeType===9?ze.body:ze.nodeName==="HTML"?ze.ownerDocument.body:ze).removeChild(a.stateNode)}catch(r){Me(a,t,r)}else try{ze.removeChild(a.stateNode)}catch(r){Me(a,t,r)}break;case 18:ze!==null&&(V1?(e=ze,g7(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),$l(e)):g7(ze,a.stateNode));break;case 4:o=ze,l=V1,ze=a.stateNode.containerInfo,V1=!0,aa(e,t,a),ze=o,V1=l;break;case 0:case 11:case 14:case 15:to(2,a,t),Qe||to(4,a,t),aa(e,t,a);break;case 1:Qe||(Nt(a,t),o=a.stateNode,typeof o.componentWillUnmount=="function"&&b4(a,t,o)),aa(e,t,a);break;case 21:aa(e,t,a);break;case 22:Qe=(o=Qe)||a.memoizedState!==null,aa(e,t,a),Qe=o;break;default:aa(e,t,a)}}function H4(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{$l(e)}catch(a){Me(t,t.return,a)}}}function k4(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{$l(e)}catch(a){Me(t,t.return,a)}}function cv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new a7),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new a7),t;default:throw Error(H(435,e.tag))}}function _0(e,t){var a=cv(e);t.forEach(function(o){if(!a.has(o)){a.add(o);var l=Lv.bind(null,e,o);o.then(l,l)}})}function O1(e,t){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var l=a[o],r=e,n=t,i=n;e:for(;i!==null;){switch(i.tag){case 27:if(lo(i.type)){ze=i.stateNode,V1=!1;break e}break;case 5:ze=i.stateNode,V1=!1;break e;case 3:case 4:ze=i.stateNode.containerInfo,V1=!0;break e}i=i.return}if(ze===null)throw Error(H(160));R4(r,n,l),ze=null,V1=!1,r=l.alternate,r!==null&&(r.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)T4(t,e),t=t.sibling}var Tt=null;function T4(e,t){var a=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:O1(t,e),D1(e),o&4&&(to(3,e,e.return),En(3,e),to(5,e,e.return));break;case 1:O1(t,e),D1(e),o&512&&(Qe||a===null||Nt(a,a.return)),o&64&&na&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?o:a.concat(o))));break;case 26:var l=Tt;if(O1(t,e),D1(e),o&512&&(Qe||a===null||Nt(a,a.return)),o&4){var r=a!==null?a.memoizedState:null;if(o=e.memoizedState,a===null)if(o===null)if(e.stateNode===null){e:{o=e.type,a=e.memoizedProps,l=l.ownerDocument||l;t:switch(o){case"title":r=l.getElementsByTagName("title")[0],(!r||r[Hn]||r[f1]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=l.createElement(o),l.head.insertBefore(r,l.querySelector("head > title"))),m1(r,o,a),r[f1]=e,r1(r),o=r;break e;case"link":var n=I7("link","href",l).get(o+(a.href||""));if(n){for(var i=0;i<n.length;i++)if(r=n[i],r.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&r.getAttribute("rel")===(a.rel==null?null:a.rel)&&r.getAttribute("title")===(a.title==null?null:a.title)&&r.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){n.splice(i,1);break t}}r=l.createElement(o),m1(r,o,a),l.head.appendChild(r);break;case"meta":if(n=I7("meta","content",l).get(o+(a.content||""))){for(i=0;i<n.length;i++)if(r=n[i],r.getAttribute("content")===(a.content==null?null:""+a.content)&&r.getAttribute("name")===(a.name==null?null:a.name)&&r.getAttribute("property")===(a.property==null?null:a.property)&&r.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&r.getAttribute("charset")===(a.charSet==null?null:a.charSet)){n.splice(i,1);break t}}r=l.createElement(o),m1(r,o,a),l.head.appendChild(r);break;default:throw Error(H(468,o))}r[f1]=e,r1(r),o=r}e.stateNode=o}else M7(l,e.type,e.stateNode);else e.stateNode=y7(l,o,e.memoizedProps);else r!==o?(r===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):r.count--,o===null?M7(l,e.type,e.stateNode):y7(l,o,e.memoizedProps)):o===null&&e.stateNode!==null&&W9(e,e.memoizedProps,a.memoizedProps)}break;case 27:O1(t,e),D1(e),o&512&&(Qe||a===null||Nt(a,a.return)),a!==null&&o&4&&W9(e,e.memoizedProps,a.memoizedProps);break;case 5:if(O1(t,e),D1(e),o&512&&(Qe||a===null||Nt(a,a.return)),e.flags&32){l=e.stateNode;try{Bl(l,"")}catch(v){Me(e,e.return,v)}}o&4&&e.stateNode!=null&&(l=e.memoizedProps,W9(e,l,a!==null?a.memoizedProps:l)),o&1024&&(eu=!0);break;case 6:if(O1(t,e),D1(e),o&4){if(e.stateNode===null)throw Error(H(162));o=e.memoizedProps,a=e.stateNode;try{a.nodeValue=o}catch(v){Me(e,e.return,v)}}break;case 3:if(X0=null,l=Tt,Tt=wi(t.containerInfo),O1(t,e),Tt=l,D1(e),o&4&&a!==null&&a.memoizedState.isDehydrated)try{$l(t.containerInfo)}catch(v){Me(e,e.return,v)}eu&&(eu=!1,_4(e));break;case 4:o=Tt,Tt=wi(e.stateNode.containerInfo),O1(t,e),D1(e),Tt=o;break;case 12:O1(t,e),D1(e);break;case 31:O1(t,e),D1(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,_0(e,o)));break;case 13:O1(t,e),D1(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Zi=W1()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,_0(e,o)));break;case 22:l=e.memoizedState!==null;var u=a!==null&&a.memoizedState!==null,d=na,c=Qe;if(na=d||l,Qe=c||u,O1(t,e),Qe=c,na=d,D1(e),o&8192)e:for(t=e.stateNode,t._visibility=l?t._visibility&-2:t._visibility|1,l&&(a===null||u||na||Qe||Eo(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){u=a=t;try{if(r=u.stateNode,l)n=r.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{i=u.stateNode;var C=u.memoizedProps.style,p=C!=null&&C.hasOwnProperty("display")?C.display:null;i.style.display=p==null||typeof p=="boolean"?"":(""+p).trim()}}catch(v){Me(u,u.return,v)}}}else if(t.tag===6){if(a===null){u=t;try{u.stateNode.nodeValue=l?"":u.memoizedProps}catch(v){Me(u,u.return,v)}}}else if(t.tag===18){if(a===null){u=t;try{var m=u.stateNode;l?v7(m,!0):v7(u.stateNode,!1)}catch(v){Me(u,u.return,v)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}o&4&&(o=e.updateQueue,o!==null&&(a=o.retryQueue,a!==null&&(o.retryQueue=null,_0(e,a))));break;case 19:O1(t,e),D1(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,_0(e,o)));break;case 30:break;case 21:break;default:O1(t,e),D1(e)}}function D1(e){var t=e.flags;if(t&2){try{for(var a,o=e.return;o!==null;){if(y4(o)){a=o;break}o=o.return}if(a==null)throw Error(H(160));switch(a.tag){case 27:var l=a.stateNode,r=J9(e);Ci(e,r,l);break;case 5:var n=a.stateNode;a.flags&32&&(Bl(n,""),a.flags&=-33);var i=J9(e);Ci(e,i,n);break;case 3:case 4:var u=a.stateNode.containerInfo,d=J9(e);Pu(e,d,u);break;default:throw Error(H(161))}}catch(c){Me(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function _4(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;_4(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function oa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)M4(e,t.alternate,t),t=t.sibling}function Eo(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:to(4,t,t.return),Eo(t);break;case 1:Nt(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&b4(t,t.return,a),Eo(t);break;case 27:dn(t.stateNode);case 26:case 5:Nt(t,t.return),Eo(t);break;case 22:t.memoizedState===null&&Eo(t);break;case 30:Eo(t);break;default:Eo(t)}e=e.sibling}}function la(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var o=t.alternate,l=e,r=t,n=r.flags;switch(r.tag){case 0:case 11:case 15:la(l,r,a),En(4,r);break;case 1:if(la(l,r,a),o=r,l=o.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(d){Me(o,o.return,d)}if(o=r,l=o.updateQueue,l!==null){var i=o.stateNode;try{var u=l.shared.hiddenCallbacks;if(u!==null)for(l.shared.hiddenCallbacks=null,l=0;l<u.length;l++)Hf(u[l],i)}catch(d){Me(o,o.return,d)}}a&&n&64&&L4(r),ln(r,r.return);break;case 27:I4(r);case 26:case 5:la(l,r,a),a&&o===null&&n&4&&w4(r),ln(r,r.return);break;case 12:la(l,r,a);break;case 31:la(l,r,a),a&&n&4&&H4(l,r);break;case 13:la(l,r,a),a&&n&4&&k4(l,r);break;case 22:r.memoizedState===null&&la(l,r,a),ln(r,r.return);break;case 30:break;default:la(l,r,a)}t=t.sibling}}function N5(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Tn(a))}function P5(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Tn(e))}function kt(e,t,a,o){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)E4(e,t,a,o),t=t.sibling}function E4(e,t,a,o){var l=t.flags;switch(t.tag){case 0:case 11:case 15:kt(e,t,a,o),l&2048&&En(9,t);break;case 1:kt(e,t,a,o);break;case 3:kt(e,t,a,o),l&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Tn(e)));break;case 12:if(l&2048){kt(e,t,a,o),e=t.stateNode;try{var r=t.memoizedProps,n=r.id,i=r.onPostCommit;typeof i=="function"&&i(n,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(u){Me(t,t.return,u)}}else kt(e,t,a,o);break;case 31:kt(e,t,a,o);break;case 13:kt(e,t,a,o);break;case 23:break;case 22:r=t.stateNode,n=t.alternate,t.memoizedState!==null?r._visibility&2?kt(e,t,a,o):rn(e,t):r._visibility&2?kt(e,t,a,o):(r._visibility|=2,pl(e,t,a,o,(t.subtreeFlags&10256)!==0||!1)),l&2048&&N5(n,t);break;case 24:kt(e,t,a,o),l&2048&&P5(t.alternate,t);break;default:kt(e,t,a,o)}}function pl(e,t,a,o,l){for(l=l&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var r=e,n=t,i=a,u=o,d=n.flags;switch(n.tag){case 0:case 11:case 15:pl(r,n,i,u,l),En(8,n);break;case 23:break;case 22:var c=n.stateNode;n.memoizedState!==null?c._visibility&2?pl(r,n,i,u,l):rn(r,n):(c._visibility|=2,pl(r,n,i,u,l)),l&&d&2048&&N5(n.alternate,n);break;case 24:pl(r,n,i,u,l),l&&d&2048&&P5(n.alternate,n);break;default:pl(r,n,i,u,l)}t=t.sibling}}function rn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,o=t,l=o.flags;switch(o.tag){case 22:rn(a,o),l&2048&&N5(o.alternate,o);break;case 24:rn(a,o),l&2048&&P5(o.alternate,o);break;default:rn(a,o)}t=t.sibling}}var Xr=8192;function fl(e,t,a){if(e.subtreeFlags&Xr)for(e=e.child;e!==null;)O4(e,t,a),e=e.sibling}function O4(e,t,a){switch(e.tag){case 26:fl(e,t,a),e.flags&Xr&&e.memoizedState!==null&&Xv(a,Tt,e.memoizedState,e.memoizedProps);break;case 5:fl(e,t,a);break;case 3:case 4:var o=Tt;Tt=wi(e.stateNode.containerInfo),fl(e,t,a),Tt=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Xr,Xr=16777216,fl(e,t,a),Xr=o):fl(e,t,a));break;default:fl(e,t,a)}}function D4(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ur(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var a=0;a<t.length;a++){var o=t[a];l1=o,B4(o,e)}D4(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)V4(e),e=e.sibling}function V4(e){switch(e.tag){case 0:case 11:case 15:Ur(e),e.flags&2048&&to(9,e,e.return);break;case 3:Ur(e);break;case 12:Ur(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,G0(e)):Ur(e);break;default:Ur(e)}}function G0(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var a=0;a<t.length;a++){var o=t[a];l1=o,B4(o,e)}D4(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:to(8,t,t.return),G0(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,G0(t));break;default:G0(t)}e=e.sibling}}function B4(e,t){for(;l1!==null;){var a=l1;switch(a.tag){case 0:case 11:case 15:to(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var o=a.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Tn(a.memoizedState.cache)}if(o=a.child,o!==null)o.return=a,l1=o;else e:for(a=e;l1!==null;){o=l1;var l=o.sibling,r=o.return;if(S4(o),o===a){l1=null;break e}if(l!==null){l.return=r,l1=l;break e}l1=r}}}var fv={getCacheForType:function(e){var t=C1(Ye),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return C1(Ye).controller.signal}},pv=typeof WeakMap=="function"?WeakMap:Map,Le=0,_e=null,ce=null,pe=0,Ie=0,K1=null,Pa=!1,Xl=!1,U5=!1,ga=0,$e=0,ao=0,Ao=0,q5=0,Y1=0,Nl=0,nn=null,B1=null,Uu=!1,Zi=0,A4=0,mi=1/0,hi=null,Ka=null,e1=0,Xa=null,Pl=null,fa=0,qu=0,$u=null,Z4=null,un=0,Fu=null;function tt(){return Le&2&&pe!==0?pe&-pe:ee.T!==null?F5():j7()}function z4(){if(Y1===0)if(!(pe&536870912)||Ce){var e=b0;b0<<=1,!(b0&3932160)&&(b0=262144),Y1=e}else Y1=536870912;return e=ot.current,e!==null&&(e.flags|=32),Y1}function A1(e,t,a){(e===_e&&(Ie===2||Ie===9)||e.cancelPendingCommit!==null)&&(Ul(e,0),Ua(e,pe,Y1,!1)),Rn(e,a),(!(Le&2)||e!==_e)&&(e===_e&&(!(Le&2)&&(Ao|=a),$e===4&&Ua(e,pe,Y1,!1)),qt(e))}function N4(e,t,a){if(Le&6)throw Error(H(327));var o=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Sn(e,t),l=o?hv(e,t):tu(e,t,!0),r=o;do{if(l===0){Xl&&!o&&Ua(e,t,0,!1);break}else{if(a=e.current.alternate,r&&!Cv(a)){l=tu(e,t,!1),r=!1;continue}if(l===2){if(r=t,e.errorRecoveryDisabledLanes&r)var n=0;else n=e.pendingLanes&-536870913,n=n!==0?n:n&536870912?536870912:0;if(n!==0){t=n;e:{var i=e;l=nn;var u=i.current.memoizedState.isDehydrated;if(u&&(Ul(i,n).flags|=256),n=tu(i,n,!1),n!==2){if(U5&&!u){i.errorRecoveryDisabledLanes|=r,Ao|=r,l=4;break e}r=B1,B1=l,r!==null&&(B1===null?B1=r:B1.push.apply(B1,r))}l=n}if(r=!1,l!==2)continue}}if(l===1){Ul(e,0),Ua(e,t,0,!0);break}e:{switch(o=e,r=l,r){case 0:case 1:throw Error(H(345));case 4:if((t&4194048)!==t)break;case 6:Ua(o,t,Y1,!Pa);break e;case 2:B1=null;break;case 3:case 5:break;default:throw Error(H(329))}if((t&62914560)===t&&(l=Zi+300-W1(),10<l)){if(Ua(o,t,Y1,!Pa),Ri(o,0,!0)!==0)break e;fa=t,o.timeoutHandle=n8(o7.bind(null,o,a,B1,hi,Uu,t,Y1,Ao,Nl,Pa,r,"Throttled",-0,0),l);break e}o7(o,a,B1,hi,Uu,t,Y1,Ao,Nl,Pa,r,null,-0,0)}}break}while(!0);qt(e)}function o7(e,t,a,o,l,r,n,i,u,d,c,C,p,m){if(e.timeoutHandle=-1,C=t.subtreeFlags,C&8192||(C&16785408)===16785408){C={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ua},O4(t,r,C);var v=(r&62914560)===r?Zi-W1():(r&4194048)===r?A4-W1():0;if(v=Qv(C,v),v!==null){fa=r,e.cancelPendingCommit=v(r7.bind(null,e,t,r,a,o,l,n,i,u,c,C,null,p,m)),Ua(e,r,n,!d);return}}r7(e,t,r,a,o,l,n,i,u)}function Cv(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var l=a[o],r=l.getSnapshot;l=l.value;try{if(!at(r(),l))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ua(e,t,a,o){t&=~q5,t&=~Ao,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var l=t;0<l;){var r=31-et(l),n=1<<r;o[r]=-1,l&=~n}a!==0&&q7(e,a,t)}function zi(){return Le&6?!0:(On(0,!1),!1)}function $5(){if(ce!==null){if(Ie===0)var e=ce.return;else e=ce,da=Go=null,k5(e),_l=null,hn=0,e=ce;for(;e!==null;)x4(e.alternate,e),e=e.return;ce=null}}function Ul(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,Ev(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),fa=0,$5(),_e=e,ce=a=sa(e.current,null),pe=t,Ie=0,K1=null,Pa=!1,Xl=Sn(e,t),U5=!1,Nl=Y1=q5=Ao=ao=$e=0,B1=nn=null,Uu=!1,t&8&&(t|=t&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=t;0<o;){var l=31-et(o),r=1<<l;t|=e[l],o&=~r}return ga=t,_i(),a}function P4(e,t){oe=null,ee.H=vn,t===Kl||t===Oi?(t=V3(),Ie=3):t===w5?(t=V3(),Ie=4):Ie=t===Z5?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,K1=t,ce===null&&($e=1,fi(e,Ct(t,e.current)))}function U4(){var e=ot.current;return e===null?!0:(pe&4194048)===pe?ht===null:(pe&62914560)===pe||pe&536870912?e===ht:!1}function q4(){var e=ee.H;return ee.H=vn,e===null?vn:e}function $4(){var e=ee.A;return ee.A=fv,e}function gi(){$e=4,Pa||(pe&4194048)!==pe&&ot.current!==null||(Xl=!0),!(ao&134217727)&&!(Ao&134217727)||_e===null||Ua(_e,pe,Y1,!1)}function tu(e,t,a){var o=Le;Le|=2;var l=q4(),r=$4();(_e!==e||pe!==t)&&(hi=null,Ul(e,t)),t=!1;var n=$e;e:do try{if(Ie!==0&&ce!==null){var i=ce,u=K1;switch(Ie){case 8:$5(),n=6;break e;case 3:case 2:case 9:case 6:ot.current===null&&(t=!0);var d=Ie;if(Ie=0,K1=null,Sl(e,i,u,d),a&&Xl){n=0;break e}break;default:d=Ie,Ie=0,K1=null,Sl(e,i,u,d)}}mv(),n=$e;break}catch(c){P4(e,c)}while(!0);return t&&e.shellSuspendCounter++,da=Go=null,Le=o,ee.H=l,ee.A=r,ce===null&&(_e=null,pe=0,_i()),n}function mv(){for(;ce!==null;)F4(ce)}function hv(e,t){var a=Le;Le|=2;var o=q4(),l=$4();_e!==e||pe!==t?(hi=null,mi=W1()+500,Ul(e,t)):Xl=Sn(e,t);e:do try{if(Ie!==0&&ce!==null){t=ce;var r=K1;t:switch(Ie){case 1:Ie=0,K1=null,Sl(e,t,r,1);break;case 2:case 9:if(D3(r)){Ie=0,K1=null,l7(t);break}t=function(){Ie!==2&&Ie!==9||_e!==e||(Ie=7),qt(e)},r.then(t,t);break e;case 3:Ie=7;break e;case 4:Ie=5;break e;case 7:D3(r)?(Ie=0,K1=null,l7(t)):(Ie=0,K1=null,Sl(e,t,r,7));break;case 5:var n=null;switch(ce.tag){case 26:n=ce.memoizedState;case 5:case 27:var i=ce;if(n?c8(n):i.stateNode.complete){Ie=0,K1=null;var u=i.sibling;if(u!==null)ce=u;else{var d=i.return;d!==null?(ce=d,Ni(d)):ce=null}break t}}Ie=0,K1=null,Sl(e,t,r,5);break;case 6:Ie=0,K1=null,Sl(e,t,r,6);break;case 8:$5(),$e=6;break e;default:throw Error(H(462))}}gv();break}catch(c){P4(e,c)}while(!0);return da=Go=null,ee.H=o,ee.A=l,Le=a,ce!==null?0:(_e=null,pe=0,_i(),$e)}function gv(){for(;ce!==null&&!Nh();)F4(ce)}function F4(e){var t=v4(e.alternate,e,ga);e.memoizedProps=e.pendingProps,t===null?Ni(e):ce=t}function l7(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Y3(a,t,t.pendingProps,t.type,void 0,pe);break;case 11:t=Y3(a,t,t.pendingProps,t.type.render,t.ref,pe);break;case 5:k5(t);default:x4(a,t),t=ce=xf(t,ga),t=v4(a,t,ga)}e.memoizedProps=e.pendingProps,t===null?Ni(e):ce=t}function Sl(e,t,a,o){da=Go=null,k5(t),_l=null,hn=0;var l=t.return;try{if(rv(e,l,t,a,pe)){$e=1,fi(e,Ct(a,e.current)),ce=null;return}}catch(r){if(l!==null)throw ce=l,r;$e=1,fi(e,Ct(a,e.current)),ce=null;return}t.flags&32768?(Ce||o===1?e=!0:Xl||pe&536870912?e=!1:(Pa=e=!0,(o===2||o===9||o===3||o===6)&&(o=ot.current,o!==null&&o.tag===13&&(o.flags|=16384))),j4(t,e)):Ni(t)}function Ni(e){var t=e;do{if(t.flags&32768){j4(t,Pa);return}e=t.return;var a=uv(t.alternate,t,ga);if(a!==null){ce=a;return}if(t=t.sibling,t!==null){ce=t;return}ce=t=e}while(t!==null);$e===0&&($e=5)}function j4(e,t){do{var a=dv(e.alternate,e);if(a!==null){a.flags&=32767,ce=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){ce=e;return}ce=e=a}while(e!==null);$e=6,ce=null}function r7(e,t,a,o,l,r,n,i,u){e.cancelPendingCommit=null;do Pi();while(e1!==0);if(Le&6)throw Error(H(327));if(t!==null){if(t===e.current)throw Error(H(177));if(r=t.lanes|t.childLanes,r|=m5,Qh(e,a,r,n,i,u),e===_e&&(ce=_e=null,pe=0),Pl=t,Xa=e,fa=a,qu=r,$u=l,Z4=o,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,bv(ti,function(){return Y4(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(t.flags&13878)!==0,t.subtreeFlags&13878||o){o=ee.T,ee.T=null,l=be.p,be.p=2,n=Le,Le|=4;try{sv(e,t,a)}finally{Le=n,be.p=l,ee.T=o}}e1=1,G4(),K4(),X4()}}function G4(){if(e1===1){e1=0;var e=Xa,t=Pl,a=(t.flags&13878)!==0;if(t.subtreeFlags&13878||a){a=ee.T,ee.T=null;var o=be.p;be.p=2;var l=Le;Le|=4;try{T4(t,e);var r=Xu,n=cf(e.containerInfo),i=r.focusedElem,u=r.selectionRange;if(n!==i&&i&&i.ownerDocument&&sf(i.ownerDocument.documentElement,i)){if(u!==null&&C5(i)){var d=u.start,c=u.end;if(c===void 0&&(c=d),"selectionStart"in i)i.selectionStart=d,i.selectionEnd=Math.min(c,i.value.length);else{var C=i.ownerDocument||document,p=C&&C.defaultView||window;if(p.getSelection){var m=p.getSelection(),v=i.textContent.length,L=Math.min(u.start,v),x=u.end===void 0?L:Math.min(u.end,v);!m.extend&&L>x&&(n=x,x=L,L=n);var f=R3(i,L),s=R3(i,x);if(f&&s&&(m.rangeCount!==1||m.anchorNode!==f.node||m.anchorOffset!==f.offset||m.focusNode!==s.node||m.focusOffset!==s.offset)){var h=C.createRange();h.setStart(f.node,f.offset),m.removeAllRanges(),L>x?(m.addRange(h),m.extend(s.node,s.offset)):(h.setEnd(s.node,s.offset),m.addRange(h))}}}}for(C=[],m=i;m=m.parentNode;)m.nodeType===1&&C.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<C.length;i++){var g=C[i];g.element.scrollLeft=g.left,g.element.scrollTop=g.top}}Mi=!!Ku,Xu=Ku=null}finally{Le=l,be.p=o,ee.T=a}}e.current=t,e1=2}}function K4(){if(e1===2){e1=0;var e=Xa,t=Pl,a=(t.flags&8772)!==0;if(t.subtreeFlags&8772||a){a=ee.T,ee.T=null;var o=be.p;be.p=2;var l=Le;Le|=4;try{M4(e,t.alternate,t)}finally{Le=l,be.p=o,ee.T=a}}e1=3}}function X4(){if(e1===4||e1===3){e1=0,Ph();var e=Xa,t=Pl,a=fa,o=Z4;t.subtreeFlags&10256||t.flags&10256?e1=5:(e1=0,Pl=Xa=null,Q4(e,e.pendingLanes));var l=e.pendingLanes;if(l===0&&(Ka=null),i5(a),t=t.stateNode,J1&&typeof J1.onCommitFiberRoot=="function")try{J1.onCommitFiberRoot(Mn,t,void 0,(t.current.flags&128)===128)}catch{}if(o!==null){t=ee.T,l=be.p,be.p=2,ee.T=null;try{for(var r=e.onRecoverableError,n=0;n<o.length;n++){var i=o[n];r(i.value,{componentStack:i.stack})}}finally{ee.T=t,be.p=l}}fa&3&&Pi(),qt(e),l=e.pendingLanes,a&261930&&l&42?e===Fu?un++:(un=0,Fu=e):un=0,On(0,!1)}}function Q4(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Tn(t)))}function Pi(){return G4(),K4(),X4(),Y4()}function Y4(){if(e1!==5)return!1;var e=Xa,t=qu;qu=0;var a=i5(fa),o=ee.T,l=be.p;try{be.p=32>a?32:a,ee.T=null,a=$u,$u=null;var r=Xa,n=fa;if(e1=0,Pl=Xa=null,fa=0,Le&6)throw Error(H(331));var i=Le;if(Le|=4,V4(r.current),E4(r,r.current,n,a),Le=i,On(0,!1),J1&&typeof J1.onPostCommitFiberRoot=="function")try{J1.onPostCommitFiberRoot(Mn,r)}catch{}return!0}finally{be.p=l,ee.T=o,Q4(e,t)}}function n7(e,t,a){t=Ct(a,t),t=Zu(e.stateNode,t,2),e=Ga(e,t,2),e!==null&&(Rn(e,2),qt(e))}function Me(e,t,a){if(e.tag===3)n7(e,e,a);else for(;t!==null;){if(t.tag===3){n7(t,e,a);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Ka===null||!Ka.has(o))){e=Ct(a,e),a=f4(2),o=Ga(t,a,2),o!==null&&(p4(a,o,t,e),Rn(o,2),qt(o));break}}t=t.return}}function au(e,t,a){var o=e.pingCache;if(o===null){o=e.pingCache=new pv;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(a)||(U5=!0,l.add(a),e=vv.bind(null,e,t,a),t.then(e,e))}function vv(e,t,a){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,_e===e&&(pe&a)===a&&($e===4||$e===3&&(pe&62914560)===pe&&300>W1()-Zi?!(Le&2)&&Ul(e,0):q5|=a,Nl===pe&&(Nl=0)),qt(e)}function W4(e,t){t===0&&(t=U7()),e=jo(e,t),e!==null&&(Rn(e,t),qt(e))}function xv(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),W4(e,a)}function Lv(e,t){var a=0;switch(e.tag){case 31:case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(a=l.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(H(314))}o!==null&&o.delete(t),W4(e,a)}function bv(e,t){return r5(e,t)}var vi=null,Cl=null,ju=!1,xi=!1,ou=!1,qa=0;function qt(e){e!==Cl&&e.next===null&&(Cl===null?vi=Cl=e:Cl=Cl.next=e),xi=!0,ju||(ju=!0,yv())}function On(e,t){if(!ou&&xi){ou=!0;do for(var a=!1,o=vi;o!==null;){if(!t)if(e!==0){var l=o.pendingLanes;if(l===0)var r=0;else{var n=o.suspendedLanes,i=o.pingedLanes;r=(1<<31-et(42|e)+1)-1,r&=l&~(n&~i),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(a=!0,i7(o,r))}else r=pe,r=Ri(o,o===_e?r:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),!(r&3)||Sn(o,r)||(a=!0,i7(o,r));o=o.next}while(a);ou=!1}}function wv(){J4()}function J4(){xi=ju=!1;var e=0;qa!==0&&_v()&&(e=qa);for(var t=W1(),a=null,o=vi;o!==null;){var l=o.next,r=e8(o,t);r===0?(o.next=null,a===null?vi=l:a.next=l,l===null&&(Cl=a)):(a=o,(e!==0||r&3)&&(xi=!0)),o=l}e1!==0&&e1!==5||On(e,!1),qa!==0&&(qa=0)}function e8(e,t){for(var a=e.suspendedLanes,o=e.pingedLanes,l=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var n=31-et(r),i=1<<n,u=l[n];u===-1?(!(i&a)||i&o)&&(l[n]=Xh(i,t)):u<=t&&(e.expiredLanes|=i),r&=~i}if(t=_e,a=pe,a=Ri(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,a===0||e===t&&(Ie===2||Ie===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&E9(o),e.callbackNode=null,e.callbackPriority=0;if(!(a&3)||Sn(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(o!==null&&E9(o),i5(a)){case 2:case 8:a=N7;break;case 32:a=ti;break;case 268435456:a=P7;break;default:a=ti}return o=t8.bind(null,e),a=r5(a,o),e.callbackPriority=t,e.callbackNode=a,t}return o!==null&&o!==null&&E9(o),e.callbackPriority=2,e.callbackNode=null,2}function t8(e,t){if(e1!==0&&e1!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Pi()&&e.callbackNode!==a)return null;var o=pe;return o=Ri(e,e===_e?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(N4(e,o,t),e8(e,W1()),e.callbackNode!=null&&e.callbackNode===a?t8.bind(null,e):null)}function i7(e,t){if(Pi())return null;N4(e,t,!0)}function yv(){Ov(function(){Le&6?r5(z7,wv):J4()})}function F5(){if(qa===0){var e=Al;e===0&&(e=L0,L0<<=1,!(L0&261888)&&(L0=256)),qa=e}return qa}function u7(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Z0(""+e)}function d7(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Iv(e,t,a,o,l){if(t==="submit"&&a&&a.stateNode===l){var r=u7((l[Z1]||null).action),n=o.submitter;n&&(t=(t=n[Z1]||null)?u7(t.formAction):n.getAttribute("formAction"),t!==null&&(r=t,n=null));var i=new Hi("action","action",null,o,l);e.push({event:i,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(qa!==0){var u=n?d7(l,n):new FormData(l);Bu(a,{pending:!0,data:u,method:l.method,action:r},null,u)}}else typeof r=="function"&&(i.preventDefault(),u=n?d7(l,n):new FormData(l),Bu(a,{pending:!0,data:u,method:l.method,action:r},r,u))},currentTarget:l}]})}}for(E0=0;E0<Iu.length;E0++)O0=Iu[E0],s7=O0.toLowerCase(),c7=O0[0].toUpperCase()+O0.slice(1),_t(s7,"on"+c7);var O0,s7,c7,E0;_t(pf,"onAnimationEnd");_t(Cf,"onAnimationIteration");_t(mf,"onAnimationStart");_t("dblclick","onDoubleClick");_t("focusin","onFocus");_t("focusout","onBlur");_t(Ug,"onTransitionRun");_t(qg,"onTransitionStart");_t($g,"onTransitionCancel");_t(hf,"onTransitionEnd");Vl("onMouseEnter",["mouseout","mouseover"]);Vl("onMouseLeave",["mouseout","mouseover"]);Vl("onPointerEnter",["pointerout","pointerover"]);Vl("onPointerLeave",["pointerout","pointerover"]);qo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));qo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));qo("onBeforeInput",["compositionend","keypress","textInput","paste"]);qo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));qo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));qo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xn="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(" "),Mv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xn));function a8(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var o=e[a],l=o.event;o=o.listeners;e:{var r=void 0;if(t)for(var n=o.length-1;0<=n;n--){var i=o[n],u=i.instance,d=i.currentTarget;if(i=i.listener,u!==r&&l.isPropagationStopped())break e;r=i,l.currentTarget=d;try{r(l)}catch(c){oi(c)}l.currentTarget=null,r=u}else for(n=0;n<o.length;n++){if(i=o[n],u=i.instance,d=i.currentTarget,i=i.listener,u!==r&&l.isPropagationStopped())break e;r=i,l.currentTarget=d;try{r(l)}catch(c){oi(c)}l.currentTarget=null,r=u}}}}function se(e,t){var a=t[hu];a===void 0&&(a=t[hu]=new Set);var o=e+"__bubble";a.has(o)||(o8(t,e,2,!1),a.add(o))}function lu(e,t,a){var o=0;t&&(o|=4),o8(a,e,o,t)}var D0="_reactListening"+Math.random().toString(36).slice(2);function j5(e){if(!e[D0]){e[D0]=!0,G7.forEach(function(a){a!=="selectionchange"&&(Mv.has(a)||lu(a,!1,e),lu(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[D0]||(t[D0]=!0,lu("selectionchange",!1,t))}}function o8(e,t,a,o){switch(h8(t)){case 2:var l=Jv;break;case 8:l=ex;break;default:l=Q5}a=l.bind(null,t,a,e),l=void 0,!bu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),o?l!==void 0?e.addEventListener(t,a,{capture:!0,passive:l}):e.addEventListener(t,a,!0):l!==void 0?e.addEventListener(t,a,{passive:l}):e.addEventListener(t,a,!1)}function ru(e,t,a,o,l){var r=o;if(!(t&1)&&!(t&2)&&o!==null)e:for(;;){if(o===null)return;var n=o.tag;if(n===3||n===4){var i=o.stateNode.containerInfo;if(i===l)break;if(n===4)for(n=o.return;n!==null;){var u=n.tag;if((u===3||u===4)&&n.stateNode.containerInfo===l)return;n=n.return}for(;i!==null;){if(n=gl(i),n===null)return;if(u=n.tag,u===5||u===6||u===26||u===27){o=r=n;continue e}i=i.parentNode}}o=o.return}tf(function(){var d=r,c=s5(a),C=[];e:{var p=gf.get(e);if(p!==void 0){var m=Hi,v=e;switch(e){case"keypress":if(N0(a)===0)break e;case"keydown":case"keyup":m=Lg;break;case"focusin":v="focus",m=A9;break;case"focusout":v="blur",m=A9;break;case"beforeblur":case"afterblur":m=A9;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=v3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=ug;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=yg;break;case pf:case Cf:case mf:m=cg;break;case hf:m=Mg;break;case"scroll":case"scrollend":m=ng;break;case"wheel":m=Rg;break;case"copy":case"cut":case"paste":m=pg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=L3;break;case"toggle":case"beforetoggle":m=kg}var L=(t&4)!==0,x=!L&&(e==="scroll"||e==="scrollend"),f=L?p!==null?p+"Capture":null:p;L=[];for(var s=d,h;s!==null;){var g=s;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||f===null||(g=cn(s,f),g!=null&&L.push(Ln(s,g,h))),x)break;s=s.return}0<L.length&&(p=new m(p,v,null,a,c),C.push({event:p,listeners:L}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",p&&a!==Lu&&(v=a.relatedTarget||a.fromElement)&&(gl(v)||v[Fl]))break e;if((m||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,m?(v=a.relatedTarget||a.toElement,m=d,v=v?gl(v):null,v!==null&&(x=In(v),L=v.tag,v!==x||L!==5&&L!==27&&L!==6)&&(v=null)):(m=null,v=d),m!==v)){if(L=v3,g="onMouseLeave",f="onMouseEnter",s="mouse",(e==="pointerout"||e==="pointerover")&&(L=L3,g="onPointerLeave",f="onPointerEnter",s="pointer"),x=m==null?p:Gr(m),h=v==null?p:Gr(v),p=new L(g,s+"leave",m,a,c),p.target=x,p.relatedTarget=h,g=null,gl(c)===d&&(L=new L(f,s+"enter",v,a,c),L.target=h,L.relatedTarget=x,g=L),x=g,m&&v)t:{for(L=Sv,f=m,s=v,h=0,g=f;g;g=L(g))h++;g=0;for(var b=s;b;b=L(b))g++;for(;0<h-g;)f=L(f),h--;for(;0<g-h;)s=L(s),g--;for(;h--;){if(f===s||s!==null&&f===s.alternate){L=f;break t}f=L(f),s=L(s)}L=null}else L=null;m!==null&&f7(C,p,m,L,!1),v!==null&&x!==null&&f7(C,x,v,L,!0)}}e:{if(p=d?Gr(d):window,m=p.nodeName&&p.nodeName.toLowerCase(),m==="select"||m==="input"&&p.type==="file")var R=I3;else if(y3(p))if(uf)R=zg;else{R=Ag;var S=Bg}else m=p.nodeName,!m||m.toLowerCase()!=="input"||p.type!=="checkbox"&&p.type!=="radio"?d&&d5(d.elementType)&&(R=I3):R=Zg;if(R&&(R=R(e,d))){nf(C,R,a,c);break e}S&&S(e,p,d),e==="focusout"&&d&&p.type==="number"&&d.memoizedProps.value!=null&&xu(p,"number",p.value)}switch(S=d?Gr(d):window,e){case"focusin":(y3(S)||S.contentEditable==="true")&&(Ll=S,wu=d,Wr=null);break;case"focusout":Wr=wu=Ll=null;break;case"mousedown":yu=!0;break;case"contextmenu":case"mouseup":case"dragend":yu=!1,H3(C,a,c);break;case"selectionchange":if(Pg)break;case"keydown":case"keyup":H3(C,a,c)}var w;if(p5)e:{switch(e){case"compositionstart":var I="onCompositionStart";break e;case"compositionend":I="onCompositionEnd";break e;case"compositionupdate":I="onCompositionUpdate";break e}I=void 0}else xl?lf(e,a)&&(I="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(I="onCompositionStart");I&&(of&&a.locale!=="ko"&&(xl||I!=="onCompositionStart"?I==="onCompositionEnd"&&xl&&(w=af()):(Na=c,c5="value"in Na?Na.value:Na.textContent,xl=!0)),S=Li(d,I),0<S.length&&(I=new x3(I,e,null,a,c),C.push({event:I,listeners:S}),w?I.data=w:(w=rf(a),w!==null&&(I.data=w)))),(w=_g?Eg(e,a):Og(e,a))&&(I=Li(d,"onBeforeInput"),0<I.length&&(S=new x3("onBeforeInput","beforeinput",null,a,c),C.push({event:S,listeners:I}),S.data=w)),Iv(C,e,d,a,c)}a8(C,t)})}function Ln(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Li(e,t){for(var a=t+"Capture",o=[];e!==null;){var l=e,r=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||r===null||(l=cn(e,a),l!=null&&o.unshift(Ln(e,l,r)),l=cn(e,t),l!=null&&o.push(Ln(e,l,r))),e.tag===3)return o;e=e.return}return[]}function Sv(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function f7(e,t,a,o,l){for(var r=t._reactName,n=[];a!==null&&a!==o;){var i=a,u=i.alternate,d=i.stateNode;if(i=i.tag,u!==null&&u===o)break;i!==5&&i!==26&&i!==27||d===null||(u=d,l?(d=cn(a,r),d!=null&&n.unshift(Ln(a,d,u))):l||(d=cn(a,r),d!=null&&n.push(Ln(a,d,u)))),a=a.return}n.length!==0&&e.push({event:t,listeners:n})}var Rv=/\r\n?/g,Hv=/\u0000|\uFFFD/g;function p7(e){return(typeof e=="string"?e:""+e).replace(Rv,`
|
|
9
|
+
`).replace(Hv,"")}function l8(e,t){return t=p7(t),p7(e)===t}function He(e,t,a,o,l,r){switch(a){case"children":typeof o=="string"?t==="body"||t==="textarea"&&o===""||Bl(e,o):(typeof o=="number"||typeof o=="bigint")&&t!=="body"&&Bl(e,""+o);break;case"className":y0(e,"class",o);break;case"tabIndex":y0(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":y0(e,a,o);break;case"style":ef(e,o,r);break;case"data":if(t!=="object"){y0(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=Z0(""+o),e.setAttribute(a,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(a==="formAction"?(t!=="input"&&He(e,t,"name",l.name,l,null),He(e,t,"formEncType",l.formEncType,l,null),He(e,t,"formMethod",l.formMethod,l,null),He(e,t,"formTarget",l.formTarget,l,null)):(He(e,t,"encType",l.encType,l,null),He(e,t,"method",l.method,l,null),He(e,t,"target",l.target,l,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=Z0(""+o),e.setAttribute(a,o);break;case"onClick":o!=null&&(e.onclick=ua);break;case"onScroll":o!=null&&se("scroll",e);break;case"onScrollEnd":o!=null&&se("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(H(61));if(a=o.__html,a!=null){if(l.children!=null)throw Error(H(60));e.innerHTML=a}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}a=Z0(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""+o):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":o===!0?e.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,o):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(a,o):e.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(a):e.setAttribute(a,o);break;case"popover":se("beforetoggle",e),se("toggle",e),A0(e,"popover",o);break;case"xlinkActuate":ea(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":ea(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":ea(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":ea(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":ea(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":ea(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":ea(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":ea(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":ea(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":A0(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=lg.get(a)||a,A0(e,a,o))}}function Gu(e,t,a,o,l,r){switch(a){case"style":ef(e,o,r);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(H(61));if(a=o.__html,a!=null){if(l.children!=null)throw Error(H(60));e.innerHTML=a}}break;case"children":typeof o=="string"?Bl(e,o):(typeof o=="number"||typeof o=="bigint")&&Bl(e,""+o);break;case"onScroll":o!=null&&se("scroll",e);break;case"onScrollEnd":o!=null&&se("scrollend",e);break;case"onClick":o!=null&&(e.onclick=ua);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!K7.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(l=a.endsWith("Capture"),t=a.slice(2,l?a.length-7:void 0),r=e[Z1]||null,r=r!=null?r[a]:null,typeof r=="function"&&e.removeEventListener(t,r,l),typeof o=="function")){typeof r!="function"&&r!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,o,l);break e}a in e?e[a]=o:o===!0?e.setAttribute(a,""):A0(e,a,o)}}}function m1(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":se("error",e),se("load",e);var o=!1,l=!1,r;for(r in a)if(a.hasOwnProperty(r)){var n=a[r];if(n!=null)switch(r){case"src":o=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(H(137,t));default:He(e,t,r,n,a,null)}}l&&He(e,t,"srcSet",a.srcSet,a,null),o&&He(e,t,"src",a.src,a,null);return;case"input":se("invalid",e);var i=r=n=l=null,u=null,d=null;for(o in a)if(a.hasOwnProperty(o)){var c=a[o];if(c!=null)switch(o){case"name":l=c;break;case"type":n=c;break;case"checked":u=c;break;case"defaultChecked":d=c;break;case"value":r=c;break;case"defaultValue":i=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(H(137,t));break;default:He(e,t,o,c,a,null)}}Y7(e,r,i,u,d,n,l,!1);return;case"select":se("invalid",e),o=n=r=null;for(l in a)if(a.hasOwnProperty(l)&&(i=a[l],i!=null))switch(l){case"value":r=i;break;case"defaultValue":n=i;break;case"multiple":o=i;default:He(e,t,l,i,a,null)}t=r,a=n,e.multiple=!!o,t!=null?Hl(e,!!o,t,!1):a!=null&&Hl(e,!!o,a,!0);return;case"textarea":se("invalid",e),r=l=o=null;for(n in a)if(a.hasOwnProperty(n)&&(i=a[n],i!=null))switch(n){case"value":o=i;break;case"defaultValue":l=i;break;case"children":r=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(H(91));break;default:He(e,t,n,i,a,null)}J7(e,o,l,r);return;case"option":for(u in a)if(a.hasOwnProperty(u)&&(o=a[u],o!=null))switch(u){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:He(e,t,u,o,a,null)}return;case"dialog":se("beforetoggle",e),se("toggle",e),se("cancel",e),se("close",e);break;case"iframe":case"object":se("load",e);break;case"video":case"audio":for(o=0;o<xn.length;o++)se(xn[o],e);break;case"image":se("error",e),se("load",e);break;case"details":se("toggle",e);break;case"embed":case"source":case"link":se("error",e),se("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(d in a)if(a.hasOwnProperty(d)&&(o=a[d],o!=null))switch(d){case"children":case"dangerouslySetInnerHTML":throw Error(H(137,t));default:He(e,t,d,o,a,null)}return;default:if(d5(t)){for(c in a)a.hasOwnProperty(c)&&(o=a[c],o!==void 0&&Gu(e,t,c,o,a,void 0));return}}for(i in a)a.hasOwnProperty(i)&&(o=a[i],o!=null&&He(e,t,i,o,a,null))}function kv(e,t,a,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,r=null,n=null,i=null,u=null,d=null,c=null;for(m in a){var C=a[m];if(a.hasOwnProperty(m)&&C!=null)switch(m){case"checked":break;case"value":break;case"defaultValue":u=C;default:o.hasOwnProperty(m)||He(e,t,m,null,o,C)}}for(var p in o){var m=o[p];if(C=a[p],o.hasOwnProperty(p)&&(m!=null||C!=null))switch(p){case"type":r=m;break;case"name":l=m;break;case"checked":d=m;break;case"defaultChecked":c=m;break;case"value":n=m;break;case"defaultValue":i=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(H(137,t));break;default:m!==C&&He(e,t,p,m,o,C)}}vu(e,n,i,u,d,c,r,l);return;case"select":m=n=i=p=null;for(r in a)if(u=a[r],a.hasOwnProperty(r)&&u!=null)switch(r){case"value":break;case"multiple":m=u;default:o.hasOwnProperty(r)||He(e,t,r,null,o,u)}for(l in o)if(r=o[l],u=a[l],o.hasOwnProperty(l)&&(r!=null||u!=null))switch(l){case"value":p=r;break;case"defaultValue":i=r;break;case"multiple":n=r;default:r!==u&&He(e,t,l,r,o,u)}t=i,a=n,o=m,p!=null?Hl(e,!!a,p,!1):!!o!=!!a&&(t!=null?Hl(e,!!a,t,!0):Hl(e,!!a,a?[]:"",!1));return;case"textarea":m=p=null;for(i in a)if(l=a[i],a.hasOwnProperty(i)&&l!=null&&!o.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:He(e,t,i,null,o,l)}for(n in o)if(l=o[n],r=a[n],o.hasOwnProperty(n)&&(l!=null||r!=null))switch(n){case"value":p=l;break;case"defaultValue":m=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(H(91));break;default:l!==r&&He(e,t,n,l,o,r)}W7(e,p,m);return;case"option":for(var v in a)if(p=a[v],a.hasOwnProperty(v)&&p!=null&&!o.hasOwnProperty(v))switch(v){case"selected":e.selected=!1;break;default:He(e,t,v,null,o,p)}for(u in o)if(p=o[u],m=a[u],o.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case"selected":e.selected=p&&typeof p!="function"&&typeof p!="symbol";break;default:He(e,t,u,p,o,m)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var L in a)p=a[L],a.hasOwnProperty(L)&&p!=null&&!o.hasOwnProperty(L)&&He(e,t,L,null,o,p);for(d in o)if(p=o[d],m=a[d],o.hasOwnProperty(d)&&p!==m&&(p!=null||m!=null))switch(d){case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(H(137,t));break;default:He(e,t,d,p,o,m)}return;default:if(d5(t)){for(var x in a)p=a[x],a.hasOwnProperty(x)&&p!==void 0&&!o.hasOwnProperty(x)&&Gu(e,t,x,void 0,o,p);for(c in o)p=o[c],m=a[c],!o.hasOwnProperty(c)||p===m||p===void 0&&m===void 0||Gu(e,t,c,p,o,m);return}}for(var f in a)p=a[f],a.hasOwnProperty(f)&&p!=null&&!o.hasOwnProperty(f)&&He(e,t,f,null,o,p);for(C in o)p=o[C],m=a[C],!o.hasOwnProperty(C)||p===m||p==null&&m==null||He(e,t,C,p,o,m)}function C7(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Tv(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var l=a[o],r=l.transferSize,n=l.initiatorType,i=l.duration;if(r&&i&&C7(n)){for(n=0,i=l.responseEnd,o+=1;o<a.length;o++){var u=a[o],d=u.startTime;if(d>i)break;var c=u.transferSize,C=u.initiatorType;c&&C7(C)&&(u=u.responseEnd,n+=c*(u<i?1:(i-d)/(u-d)))}if(--o,t+=8*(r+n)/(l.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ku=null,Xu=null;function bi(e){return e.nodeType===9?e:e.ownerDocument}function m7(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function r8(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Qu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var nu=null;function _v(){var e=window.event;return e&&e.type==="popstate"?e===nu?!1:(nu=e,!0):(nu=null,!1)}var n8=typeof setTimeout=="function"?setTimeout:void 0,Ev=typeof clearTimeout=="function"?clearTimeout:void 0,h7=typeof Promise=="function"?Promise:void 0,Ov=typeof queueMicrotask=="function"?queueMicrotask:typeof h7<"u"?function(e){return h7.resolve(null).then(e).catch(Dv)}:n8;function Dv(e){setTimeout(function(){throw e})}function lo(e){return e==="head"}function g7(e,t){var a=t,o=0;do{var l=a.nextSibling;if(e.removeChild(a),l&&l.nodeType===8)if(a=l.data,a==="/$"||a==="/&"){if(o===0){e.removeChild(l),$l(t);return}o--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")o++;else if(a==="html")dn(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,dn(a);for(var r=a.firstChild;r;){var n=r.nextSibling,i=r.nodeName;r[Hn]||i==="SCRIPT"||i==="STYLE"||i==="LINK"&&r.rel.toLowerCase()==="stylesheet"||a.removeChild(r),r=n}}else a==="body"&&dn(e.ownerDocument.body);a=l}while(a);$l(t)}function v7(e,t){var a=e;e=0;do{var o=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=o}while(a)}function Yu(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Yu(a),u5(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Vv(e,t,a,o){for(;e.nodeType===1;){var l=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[Hn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(r=e.getAttribute("rel"),r==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(r!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var r=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=gt(e.nextSibling),e===null)break}return null}function Bv(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=gt(e.nextSibling),e===null))return null;return e}function i8(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=gt(e.nextSibling),e===null))return null;return e}function Wu(e){return e.data==="$?"||e.data==="$~"}function Ju(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Av(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var o=function(){t(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function gt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var e5=null;function x7(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return gt(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function L7(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function u8(e,t,a){switch(t=bi(a),e){case"html":if(e=t.documentElement,!e)throw Error(H(452));return e;case"head":if(e=t.head,!e)throw Error(H(453));return e;case"body":if(e=t.body,!e)throw Error(H(454));return e;default:throw Error(H(451))}}function dn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);u5(e)}var vt=new Map,b7=new Set;function wi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var va=be.d;be.d={f:Zv,r:zv,D:Nv,C:Pv,L:Uv,m:qv,X:Fv,S:$v,M:jv};function Zv(){var e=va.f(),t=zi();return e||t}function zv(e){var t=jl(e);t!==null&&t.tag===5&&t.type==="form"?t4(t):va.r(e)}var Ql=typeof document>"u"?null:document;function d8(e,t,a){var o=Ql;if(o&&typeof t=="string"&&t){var l=pt(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),b7.has(l)||(b7.add(l),e={rel:e,crossOrigin:a,href:t},o.querySelector(l)===null&&(t=o.createElement("link"),m1(t,"link",e),r1(t),o.head.appendChild(t)))}}function Nv(e){va.D(e),d8("dns-prefetch",e,null)}function Pv(e,t){va.C(e,t),d8("preconnect",e,t)}function Uv(e,t,a){va.L(e,t,a);var o=Ql;if(o&&e&&t){var l='link[rel="preload"][as="'+pt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+pt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+pt(a.imageSizes)+'"]')):l+='[href="'+pt(e)+'"]';var r=l;switch(t){case"style":r=ql(e);break;case"script":r=Yl(e)}vt.has(r)||(e=Ae({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),vt.set(r,e),o.querySelector(l)!==null||t==="style"&&o.querySelector(Dn(r))||t==="script"&&o.querySelector(Vn(r))||(t=o.createElement("link"),m1(t,"link",e),r1(t),o.head.appendChild(t)))}}function qv(e,t){va.m(e,t);var a=Ql;if(a&&e){var o=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+pt(o)+'"][href="'+pt(e)+'"]',r=l;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Yl(e)}if(!vt.has(r)&&(e=Ae({rel:"modulepreload",href:e},t),vt.set(r,e),a.querySelector(l)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Vn(r)))return}o=a.createElement("link"),m1(o,"link",e),r1(o),a.head.appendChild(o)}}}function $v(e,t,a){va.S(e,t,a);var o=Ql;if(o&&e){var l=Rl(o).hoistableStyles,r=ql(e);t=t||"default";var n=l.get(r);if(!n){var i={loading:0,preload:null};if(n=o.querySelector(Dn(r)))i.loading=5;else{e=Ae({rel:"stylesheet",href:e,"data-precedence":t},a),(a=vt.get(r))&&G5(e,a);var u=n=o.createElement("link");r1(u),m1(u,"link",e),u._p=new Promise(function(d,c){u.onload=d,u.onerror=c}),u.addEventListener("load",function(){i.loading|=1}),u.addEventListener("error",function(){i.loading|=2}),i.loading|=4,K0(n,t,o)}n={type:"stylesheet",instance:n,count:1,state:i},l.set(r,n)}}}function Fv(e,t){va.X(e,t);var a=Ql;if(a&&e){var o=Rl(a).hoistableScripts,l=Yl(e),r=o.get(l);r||(r=a.querySelector(Vn(l)),r||(e=Ae({src:e,async:!0},t),(t=vt.get(l))&&K5(e,t),r=a.createElement("script"),r1(r),m1(r,"link",e),a.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},o.set(l,r))}}function jv(e,t){va.M(e,t);var a=Ql;if(a&&e){var o=Rl(a).hoistableScripts,l=Yl(e),r=o.get(l);r||(r=a.querySelector(Vn(l)),r||(e=Ae({src:e,async:!0,type:"module"},t),(t=vt.get(l))&&K5(e,t),r=a.createElement("script"),r1(r),m1(r,"link",e),a.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},o.set(l,r))}}function w7(e,t,a,o){var l=(l=$a.current)?wi(l):null;if(!l)throw Error(H(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=ql(a.href),a=Rl(l).hoistableStyles,o=a.get(t),o||(o={type:"style",instance:null,count:0,state:null},a.set(t,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=ql(a.href);var r=Rl(l).hoistableStyles,n=r.get(e);if(n||(l=l.ownerDocument||l,n={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,n),(r=l.querySelector(Dn(e)))&&!r._p&&(n.instance=r,n.state.loading=5),vt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},vt.set(e,a),r||Gv(l,e,a,n.state))),t&&o===null)throw Error(H(528,""));return n}if(t&&o!==null)throw Error(H(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Yl(a),a=Rl(l).hoistableScripts,o=a.get(t),o||(o={type:"script",instance:null,count:0,state:null},a.set(t,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(H(444,e))}}function ql(e){return'href="'+pt(e)+'"'}function Dn(e){return'link[rel="stylesheet"]['+e+"]"}function s8(e){return Ae({},e,{"data-precedence":e.precedence,precedence:null})}function Gv(e,t,a,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=1:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=1}),t.addEventListener("error",function(){return o.loading|=2}),m1(t,"link",a),r1(t),e.head.appendChild(t))}function Yl(e){return'[src="'+pt(e)+'"]'}function Vn(e){return"script[async]"+e}function y7(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+pt(a.href)+'"]');if(o)return t.instance=o,r1(o),o;var l=Ae({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),r1(o),m1(o,"style",l),K0(o,a.precedence,e),t.instance=o;case"stylesheet":l=ql(a.href);var r=e.querySelector(Dn(l));if(r)return t.state.loading|=4,t.instance=r,r1(r),r;o=s8(a),(l=vt.get(l))&&G5(o,l),r=(e.ownerDocument||e).createElement("link"),r1(r);var n=r;return n._p=new Promise(function(i,u){n.onload=i,n.onerror=u}),m1(r,"link",o),t.state.loading|=4,K0(r,a.precedence,e),t.instance=r;case"script":return r=Yl(a.src),(l=e.querySelector(Vn(r)))?(t.instance=l,r1(l),l):(o=a,(l=vt.get(r))&&(o=Ae({},a),K5(o,l)),e=e.ownerDocument||e,l=e.createElement("script"),r1(l),m1(l,"link",o),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(H(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(o=t.instance,t.state.loading|=4,K0(o,a.precedence,e));return t.instance}function K0(e,t,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=o.length?o[o.length-1]:null,r=l,n=0;n<o.length;n++){var i=o[n];if(i.dataset.precedence===t)r=i;else if(r!==l)break}r?r.parentNode.insertBefore(e,r.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function G5(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function K5(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var X0=null;function I7(e,t,a){if(X0===null){var o=new Map,l=X0=new Map;l.set(a,o)}else l=X0,o=l.get(a),o||(o=new Map,l.set(a,o));if(o.has(e))return o;for(o.set(e,null),a=a.getElementsByTagName(e),l=0;l<a.length;l++){var r=a[l];if(!(r[Hn]||r[f1]||e==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var n=r.getAttribute(t)||"";n=e+n;var i=o.get(n);i?i.push(r):o.set(n,[r])}}return o}function M7(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Kv(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function c8(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}function Xv(e,t,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&!(a.state.loading&4)){if(a.instance===null){var l=ql(o.href),r=t.querySelector(Dn(l));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=yi.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=r,r1(r);return}r=t.ownerDocument||t,o=s8(o),(l=vt.get(l))&&G5(o,l),r=r.createElement("link"),r1(r);var n=r;n._p=new Promise(function(i,u){n.onload=i,n.onerror=u}),m1(r,"link",o),a.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&!(a.state.loading&3)&&(e.count++,a=yi.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var iu=0;function Qv(e,t){return e.stylesheets&&e.count===0&&Q0(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var o=setTimeout(function(){if(e.stylesheets&&Q0(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},6e4+t);0<e.imgBytes&&iu===0&&(iu=62500*Tv());var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Q0(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>iu?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(l)}}:null}function yi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Q0(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ii=null;function Q0(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ii=new Map,t.forEach(Yv,e),Ii=null,yi.call(e))}function Yv(e,t){if(!(t.state.loading&4)){var a=Ii.get(e);if(a)var o=a.get(null);else{a=new Map,Ii.set(e,a);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<l.length;r++){var n=l[r];(n.nodeName==="LINK"||n.getAttribute("media")!=="not all")&&(a.set(n.dataset.precedence,n),o=n)}o&&a.set(null,o)}l=t.instance,n=l.getAttribute("data-precedence"),r=a.get(n)||o,r===o&&a.set(null,l),a.set(n,l),this.count++,o=yi.bind(this),l.addEventListener("load",o),l.addEventListener("error",o),r?r.parentNode.insertBefore(l,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=4}}var bn={$$typeof:ia,Provider:null,Consumer:null,_currentValue:Oo,_currentValue2:Oo,_threadCount:0};function Wv(e,t,a,o,l,r,n,i,u){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=O9(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=O9(0),this.hiddenUpdates=O9(null),this.identifierPrefix=o,this.onUncaughtError=l,this.onCaughtError=r,this.onRecoverableError=n,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=u,this.incompleteTransitions=new Map}function f8(e,t,a,o,l,r,n,i,u,d,c,C){return e=new Wv(e,t,a,n,u,d,c,C,i),t=1,r===!0&&(t|=24),r=Q1(3,null,null,t),e.current=r,r.stateNode=e,t=L5(),t.refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:o,isDehydrated:a,cache:t},y5(r),e}function p8(e){return e?(e=yl,e):yl}function C8(e,t,a,o,l,r){l=p8(l),o.context===null?o.context=l:o.pendingContext=l,o=ja(t),o.payload={element:a},r=r===void 0?null:r,r!==null&&(o.callback=r),a=Ga(e,o,t),a!==null&&(A1(a,e,t),en(a,e,t))}function S7(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function X5(e,t){S7(e,t),(e=e.alternate)&&S7(e,t)}function m8(e){if(e.tag===13||e.tag===31){var t=jo(e,67108864);t!==null&&A1(t,e,67108864),X5(e,67108864)}}function R7(e){if(e.tag===13||e.tag===31){var t=tt();t=n5(t);var a=jo(e,t);a!==null&&A1(a,e,t),X5(e,t)}}var Mi=!0;function Jv(e,t,a,o){var l=ee.T;ee.T=null;var r=be.p;try{be.p=2,Q5(e,t,a,o)}finally{be.p=r,ee.T=l}}function ex(e,t,a,o){var l=ee.T;ee.T=null;var r=be.p;try{be.p=8,Q5(e,t,a,o)}finally{be.p=r,ee.T=l}}function Q5(e,t,a,o){if(Mi){var l=t5(o);if(l===null)ru(e,t,o,Si,a),H7(e,o);else if(ax(l,e,t,a,o))o.stopPropagation();else if(H7(e,o),t&4&&-1<tx.indexOf(e)){for(;l!==null;){var r=jl(l);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var n=To(r.pendingLanes);if(n!==0){var i=r;for(i.pendingLanes|=2,i.entangledLanes|=2;n;){var u=1<<31-et(n);i.entanglements[1]|=u,n&=~u}qt(r),!(Le&6)&&(mi=W1()+500,On(0,!1))}}break;case 31:case 13:i=jo(r,2),i!==null&&A1(i,r,2),zi(),X5(r,2)}if(r=t5(o),r===null&&ru(e,t,o,Si,a),r===l)break;l=r}l!==null&&o.stopPropagation()}else ru(e,t,o,null,a)}}function t5(e){return e=s5(e),Y5(e)}var Si=null;function Y5(e){if(Si=null,e=gl(e),e!==null){var t=In(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=D7(t),e!==null)return e;e=null}else if(a===31){if(e=V7(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Si=e,null}function h8(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Uh()){case z7:return 2;case N7:return 8;case ti:case qh:return 32;case P7:return 268435456;default:return 32}default:return 32}}var a5=!1,Qa=null,Ya=null,Wa=null,wn=new Map,yn=new Map,Za=[],tx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function H7(e,t){switch(e){case"focusin":case"focusout":Qa=null;break;case"dragenter":case"dragleave":Ya=null;break;case"mouseover":case"mouseout":Wa=null;break;case"pointerover":case"pointerout":wn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":yn.delete(t.pointerId)}}function qr(e,t,a,o,l,r){return e===null||e.nativeEvent!==r?(e={blockedOn:t,domEventName:a,eventSystemFlags:o,nativeEvent:r,targetContainers:[l]},t!==null&&(t=jl(t),t!==null&&m8(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function ax(e,t,a,o,l){switch(t){case"focusin":return Qa=qr(Qa,e,t,a,o,l),!0;case"dragenter":return Ya=qr(Ya,e,t,a,o,l),!0;case"mouseover":return Wa=qr(Wa,e,t,a,o,l),!0;case"pointerover":var r=l.pointerId;return wn.set(r,qr(wn.get(r)||null,e,t,a,o,l)),!0;case"gotpointercapture":return r=l.pointerId,yn.set(r,qr(yn.get(r)||null,e,t,a,o,l)),!0}return!1}function g8(e){var t=gl(e.target);if(t!==null){var a=In(t);if(a!==null){if(t=a.tag,t===13){if(t=D7(a),t!==null){e.blockedOn=t,c3(e.priority,function(){R7(a)});return}}else if(t===31){if(t=V7(a),t!==null){e.blockedOn=t,c3(e.priority,function(){R7(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Y0(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=t5(e.nativeEvent);if(a===null){a=e.nativeEvent;var o=new a.constructor(a.type,a);Lu=o,a.target.dispatchEvent(o),Lu=null}else return t=jl(a),t!==null&&m8(t),e.blockedOn=a,!1;t.shift()}return!0}function k7(e,t,a){Y0(e)&&a.delete(t)}function ox(){a5=!1,Qa!==null&&Y0(Qa)&&(Qa=null),Ya!==null&&Y0(Ya)&&(Ya=null),Wa!==null&&Y0(Wa)&&(Wa=null),wn.forEach(k7),yn.forEach(k7)}function V0(e,t){e.blockedOn===t&&(e.blockedOn=null,a5||(a5=!0,t1.unstable_scheduleCallback(t1.unstable_NormalPriority,ox)))}var B0=null;function T7(e){B0!==e&&(B0=e,t1.unstable_scheduleCallback(t1.unstable_NormalPriority,function(){B0===e&&(B0=null);for(var t=0;t<e.length;t+=3){var a=e[t],o=e[t+1],l=e[t+2];if(typeof o!="function"){if(Y5(o||a)===null)continue;break}var r=jl(a);r!==null&&(e.splice(t,3),t-=3,Bu(r,{pending:!0,data:l,method:a.method,action:o},o,l))}}))}function $l(e){function t(u){return V0(u,e)}Qa!==null&&V0(Qa,e),Ya!==null&&V0(Ya,e),Wa!==null&&V0(Wa,e),wn.forEach(t),yn.forEach(t);for(var a=0;a<Za.length;a++){var o=Za[a];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Za.length&&(a=Za[0],a.blockedOn===null);)g8(a),a.blockedOn===null&&Za.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var l=a[o],r=a[o+1],n=l[Z1]||null;if(typeof r=="function")n||T7(a);else if(n){var i=null;if(r&&r.hasAttribute("formAction")){if(l=r,n=r[Z1]||null)i=n.formAction;else if(Y5(l)!==null)continue}else i=n.action;typeof i=="function"?a[o+1]=i:(a.splice(o,3),o-=3),T7(a)}}}function v8(){function e(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(n){return l=n})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function W5(e){this._internalRoot=e}Ui.prototype.render=W5.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(H(409));var a=t.current,o=tt();C8(a,o,e,t,null,null)};Ui.prototype.unmount=W5.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;C8(e.current,2,null,e,null,null),zi(),t[Fl]=null}};function Ui(e){this._internalRoot=e}Ui.prototype.unstable_scheduleHydration=function(e){if(e){var t=j7();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Za.length&&t!==0&&t<Za[a].priority;a++);Za.splice(a,0,e),a===0&&g8(e)}};var _7=E7.version;if(_7!=="19.2.4")throw Error(H(527,_7,"19.2.4"));be.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(H(188)):(e=Object.keys(e).join(","),Error(H(268,e)));return e=Vh(t),e=e!==null?B7(e):null,e=e===null?null:e.stateNode,e};var lx={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:ee,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&($r=__REACT_DEVTOOLS_GLOBAL_HOOK__,!$r.isDisabled&&$r.supportsFiber))try{Mn=$r.inject(lx),J1=$r}catch{}var $r;qi.createRoot=function(e,t){if(!O7(e))throw Error(H(299));var a=!1,o="",l=d4,r=s4,n=c4;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(r=t.onCaughtError),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=f8(e,1,!1,null,null,a,o,null,l,r,n,v8),e[Fl]=t.current,j5(e),new W5(t)};qi.hydrateRoot=function(e,t,a){if(!O7(e))throw Error(H(299));var o=!1,l="",r=d4,n=s4,i=c4,u=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(r=a.onUncaughtError),a.onCaughtError!==void 0&&(n=a.onCaughtError),a.onRecoverableError!==void 0&&(i=a.onRecoverableError),a.formState!==void 0&&(u=a.formState)),t=f8(e,1,!0,t,a??null,o,l,u,r,n,i,v8),t.context=p8(null),a=t.current,o=tt(),o=n5(o),l=ja(o),l.callback=null,Ga(a,l,o),a=o,t.current.lanes=a,Rn(t,a),qt(t),e[Fl]=t.current,j5(e),new Ui(t)};qi.version="19.2.4"});var J5=I1((fS,b8)=>{"use strict";function L8(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(L8)}catch(e){console.error(e)}}L8(),b8.exports=x8()});var X8=I1($i=>{"use strict";var Ex=Symbol.for("react.transitional.element"),Ox=Symbol.for("react.fragment");function K8(e,t,a){var o=null;if(a!==void 0&&(o=""+a),t.key!==void 0&&(o=""+t.key),"key"in t){a={};for(var l in t)l!=="key"&&(a[l]=t[l])}else a=t;return t=a.ref,{$$typeof:Ex,type:e,key:o,ref:t!==void 0?t:null,props:a}}$i.Fragment=Ox;$i.jsx=K8;$i.jsxs=K8});var le=I1((hS,Q8)=>{"use strict";Q8.exports=X8()});var OC=I1((MA,EC)=>{"use strict";var cI="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";EC.exports=cI});var AC=I1((SA,BC)=>{"use strict";var fI=OC();function DC(){}function VC(){}VC.resetWarningCache=DC;BC.exports=function(){function e(o,l,r,n,i,u){if(u!==fI){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:VC,resetWarningCache:DC};return a.PropTypes=a,a}});var zC=I1((kA,ZC)=>{ZC.exports=AC()();var RA,HA});var PC=I1(Se=>{"use strict";var Ms=Symbol.for("react.element"),Ss=Symbol.for("react.portal"),N2=Symbol.for("react.fragment"),P2=Symbol.for("react.strict_mode"),U2=Symbol.for("react.profiler"),q2=Symbol.for("react.provider"),$2=Symbol.for("react.context"),pI=Symbol.for("react.server_context"),F2=Symbol.for("react.forward_ref"),j2=Symbol.for("react.suspense"),G2=Symbol.for("react.suspense_list"),K2=Symbol.for("react.memo"),X2=Symbol.for("react.lazy"),CI=Symbol.for("react.offscreen"),NC;NC=Symbol.for("react.module.reference");function Mt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ms:switch(e=e.type,e){case N2:case U2:case P2:case j2:case G2:return e;default:switch(e=e&&e.$$typeof,e){case pI:case $2:case F2:case X2:case K2:case q2:return e;default:return t}}case Ss:return t}}}Se.ContextConsumer=$2;Se.ContextProvider=q2;Se.Element=Ms;Se.ForwardRef=F2;Se.Fragment=N2;Se.Lazy=X2;Se.Memo=K2;Se.Portal=Ss;Se.Profiler=U2;Se.StrictMode=P2;Se.Suspense=j2;Se.SuspenseList=G2;Se.isAsyncMode=function(){return!1};Se.isConcurrentMode=function(){return!1};Se.isContextConsumer=function(e){return Mt(e)===$2};Se.isContextProvider=function(e){return Mt(e)===q2};Se.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ms};Se.isForwardRef=function(e){return Mt(e)===F2};Se.isFragment=function(e){return Mt(e)===N2};Se.isLazy=function(e){return Mt(e)===X2};Se.isMemo=function(e){return Mt(e)===K2};Se.isPortal=function(e){return Mt(e)===Ss};Se.isProfiler=function(e){return Mt(e)===U2};Se.isStrictMode=function(e){return Mt(e)===P2};Se.isSuspense=function(e){return Mt(e)===j2};Se.isSuspenseList=function(e){return Mt(e)===G2};Se.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===N2||e===U2||e===P2||e===j2||e===G2||e===CI||typeof e=="object"&&e!==null&&(e.$$typeof===X2||e.$$typeof===K2||e.$$typeof===q2||e.$$typeof===$2||e.$$typeof===F2||e.$$typeof===NC||e.getModuleId!==void 0)};Se.typeOf=Mt});var qC=I1((_A,UC)=>{"use strict";UC.exports=PC()});var kc=U(ge(),1);var $c=`/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-900:oklch(39.6% .141 25.723);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-400:oklch(75% .183 55.934);--color-orange-600:oklch(64.6% .222 41.116);--color-orange-900:oklch(40.8% .123 38.172);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-900:oklch(42.1% .095 57.708);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-600:oklch(62.7% .194 149.214);--color-green-900:oklch(39.3% .095 152.535);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-900:oklch(37.9% .146 265.522);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-900:oklch(35.9% .144 278.697);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-900:oklch(38.1% .176 304.987);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-600:oklch(59.2% .249 .584);--color-pink-900:oklch(40.8% .153 2.432);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-600:oklch(44.6% .03 256.802);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-2xl:42rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--tracking-tight:-.025em;--leading-tight:1.25;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.z-\\[1\\]{z-index:1}.z-\\[2\\]{z-index:2}.z-\\[3\\]{z-index:3}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-2{margin-block:calc(var(--spacing)*2)}.my-4{margin-block:calc(var(--spacing)*4)}.my-6{margin-block:calc(var(--spacing)*6)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-20{margin-top:calc(var(--spacing)*20)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-16{margin-bottom:calc(var(--spacing)*16)}.ml-8{margin-left:calc(var(--spacing)*8)}.flex{display:flex}.grid{display:grid}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-\\[280px\\]{height:280px}.h-full{height:100%}.max-h-4{max-height:calc(var(--spacing)*4)}.max-h-40{max-height:calc(var(--spacing)*40)}.min-h-screen{min-height:100vh}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-32{width:calc(var(--spacing)*32)}.w-\\[280px\\]{width:280px}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-md{max-width:var(--container-md)}.min-w-64{min-width:calc(var(--spacing)*64)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.animate-pulse{animation:var(--animate-pulse)}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-inherit{border-radius:inherit}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-gray-200{border-color:var(--color-gray-200)}.border-white{border-color:var(--color-white)}.bg-black\\/5{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.bg-black\\/5{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-green-100{background-color:var(--color-green-100)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-50{background-color:var(--color-red-50)}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.p-1{padding:calc(var(--spacing)*1)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-10{padding-block:calc(var(--spacing)*10)}.py-12{padding-block:calc(var(--spacing)*12)}.py-20{padding-block:calc(var(--spacing)*20)}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-2{padding-right:calc(var(--spacing)*2)}.pb-28{padding-bottom:calc(var(--spacing)*28)}.text-center{text-align:center}.font-\\[family-name\\:var\\(--font-inter\\)\\]{font-family:var(--font-inter)}.font-\\[family-name\\:var\\(--font-pacifico\\)\\]{font-family:var(--font-pacifico)}.font-mono{font-family:var(--font-mono)}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-\\[\\#61DAFB\\]{color:#61dafb}.text-black{color:var(--color-black)}.text-black\\/70{color:#000000b3}@supports (color:color-mix(in lab,red,red)){.text-black\\/70{color:color-mix(in oklab,var(--color-black)70%,transparent)}}.text-blue-600{color:var(--color-blue-600)}.text-gray-600{color:var(--color-gray-600)}.text-green-600{color:var(--color-green-600)}.text-indigo-600{color:var(--color-indigo-600)}.text-orange-600{color:var(--color-orange-600)}.text-pink-600{color:var(--color-pink-600)}.text-purple-600{color:var(--color-purple-600)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-yellow-700{color:var(--color-yellow-700)}.opacity-80{opacity:.8}.shadow-\\[0_2px_8px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow:0 2px 8px var(--tw-shadow-color,#00000026);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\\:rotate-12:is(:where(.group):hover *){rotate:12deg}.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:bg-black\\/10:hover{background-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/10:hover{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-red-100:hover{background-color:var(--color-red-100)}.hover\\:bg-yellow-100:hover{background-color:var(--color-yellow-100)}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.active\\:cursor-grabbing:active{cursor:grabbing}@media (min-width:40rem){.sm\\:flex-row{flex-direction:row}}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.md\\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}}@media (min-width:64rem){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-color-scheme:dark){.dark\\:bg-black\\/200{background-color:#000}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-black\\/200{background-color:color-mix(in oklab,var(--color-black)200%,transparent)}}.dark\\:bg-blue-900\\/20{background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/20{background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:bg-green-900\\/20{background-color:#0d542b33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-green-900\\/20{background-color:color-mix(in oklab,var(--color-green-900)20%,transparent)}}.dark\\:bg-indigo-900\\/20{background-color:#312c8533}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-indigo-900\\/20{background-color:color-mix(in oklab,var(--color-indigo-900)20%,transparent)}}.dark\\:bg-orange-900\\/20{background-color:#7e2a0c33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-orange-900\\/20{background-color:color-mix(in oklab,var(--color-orange-900)20%,transparent)}}.dark\\:bg-pink-900\\/20{background-color:#86104333}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-pink-900\\/20{background-color:color-mix(in oklab,var(--color-pink-900)20%,transparent)}}.dark\\:bg-purple-900\\/20{background-color:#59168b33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-purple-900\\/20{background-color:color-mix(in oklab,var(--color-purple-900)20%,transparent)}}.dark\\:bg-red-900\\/20{background-color:#82181a33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-900\\/20{background-color:color-mix(in oklab,var(--color-red-900)20%,transparent)}}.dark\\:bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-white\\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.dark\\:bg-yellow-900\\/20{background-color:#733e0a33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-yellow-900\\/20{background-color:color-mix(in oklab,var(--color-yellow-900)20%,transparent)}}.dark\\:text-blue-400{color:var(--color-blue-400)}.dark\\:text-gray-400{color:var(--color-gray-400)}.dark\\:text-green-400{color:var(--color-green-400)}.dark\\:text-indigo-400{color:var(--color-indigo-400)}.dark\\:text-orange-400{color:var(--color-orange-400)}.dark\\:text-pink-400{color:var(--color-pink-400)}.dark\\:text-purple-400{color:var(--color-purple-400)}.dark\\:text-red-400{color:var(--color-red-400)}.dark\\:text-white{color:var(--color-white)}.dark\\:text-white\\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.dark\\:text-white\\/70{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.dark\\:text-yellow-400{color:var(--color-yellow-400)}@media (hover:hover){.dark\\:hover\\:bg-blue-900\\/30:hover{background-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/30:hover{background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:hover\\:bg-red-900\\/30:hover{background-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-red-900\\/30:hover{background-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.dark\\:hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.dark\\:hover\\:bg-white\\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-white\\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.dark\\:hover\\:bg-yellow-900\\/30:hover{background-color:#733e0a4d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-yellow-900\\/30:hover{background-color:color-mix(in oklab,var(--color-yellow-900)30%,transparent)}}.dark\\:hover\\:text-white:hover{color:var(--color-white)}}}.focus\\:\\[\\&_\\.react-colorful-pointer\\]\\:scale-110:focus .react-colorful-pointer{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes pulse{50%{opacity:.5}}
|
|
10
|
+
`;var lh=U(J5(),1);var w8=`/*
|
|
11
|
+
* Copyright (c) 2026, salesforce.com, inc.
|
|
12
|
+
* All rights reserved.
|
|
13
|
+
* Licensed under the BSD 3-Clause license.
|
|
14
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
15
|
+
*
|
|
16
|
+
* Design property panel styles (DesignPropertyPanelRoot). Loaded only when design mode is enabled.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
:root {
|
|
20
|
+
--design-property-panel-width: 300px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.property-panel {
|
|
24
|
+
width: var(--design-property-panel-width);
|
|
25
|
+
min-height: 0;
|
|
26
|
+
background-color: var(--vscode-sideBar-background);
|
|
27
|
+
border-left: 1px solid var(--vscode-panel-border);
|
|
28
|
+
transition: width 0.3s ease;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
flex-shrink: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.property-panel > div {
|
|
36
|
+
flex: 1;
|
|
37
|
+
min-height: 0;
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
overflow-y: auto;
|
|
41
|
+
overflow-x: hidden;
|
|
42
|
+
-webkit-overflow-scrolling: touch;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.property-panel--hidden {
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.property-panel-root,
|
|
50
|
+
.property-panel-container {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
flex: 1;
|
|
54
|
+
min-height: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.property-panel-header {
|
|
58
|
+
padding: 0 12px;
|
|
59
|
+
height: 35px;
|
|
60
|
+
background-color: var(--vscode-sideBar-background);
|
|
61
|
+
border-bottom: 1px solid var(--vscode-panel-border);
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
flex-shrink: 0;
|
|
65
|
+
overflow: visible;
|
|
66
|
+
z-index: 1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.property-panel-title {
|
|
70
|
+
margin: 0;
|
|
71
|
+
font-weight: 400;
|
|
72
|
+
white-space: nowrap;
|
|
73
|
+
color: var(--vscode-foreground);
|
|
74
|
+
font-size: 13px;
|
|
75
|
+
flex: 1;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.property-panel-header-actions {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
gap: 2px;
|
|
82
|
+
margin-left: auto;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.property-panel-content {
|
|
86
|
+
padding: 16px;
|
|
87
|
+
color: var(--vscode-foreground);
|
|
88
|
+
flex: 1 1 auto;
|
|
89
|
+
min-height: min-content;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.property-panel-content h4 {
|
|
93
|
+
color: var(--vscode-foreground);
|
|
94
|
+
font-size: 13px;
|
|
95
|
+
font-weight: 600;
|
|
96
|
+
margin-bottom: 12px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.property-panel-selected-component {
|
|
100
|
+
border-bottom: 1px solid var(--vscode-panel-border);
|
|
101
|
+
padding-bottom: 12px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.property-panel-selected-component-info {
|
|
105
|
+
display: flex;
|
|
106
|
+
flex-direction: column;
|
|
107
|
+
gap: 4px;
|
|
108
|
+
font-family: var(--vscode-editor-font-family);
|
|
109
|
+
background: var(--vscode-list-hoverBackground);
|
|
110
|
+
padding: 10px;
|
|
111
|
+
border-radius: 4px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.property-panel-selected-component-name {
|
|
115
|
+
font-size: 11px;
|
|
116
|
+
color: var(--vscode-foreground);
|
|
117
|
+
word-break: break-word;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.property-panel-selected-component-action {
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
justify-content: center;
|
|
124
|
+
box-sizing: border-box;
|
|
125
|
+
width: 22px;
|
|
126
|
+
height: 22px;
|
|
127
|
+
padding: 3px;
|
|
128
|
+
margin: 0;
|
|
129
|
+
border: none;
|
|
130
|
+
background: transparent;
|
|
131
|
+
color: var(--vscode-descriptionForeground);
|
|
132
|
+
cursor: pointer;
|
|
133
|
+
border-radius: 5px;
|
|
134
|
+
flex-shrink: 0;
|
|
135
|
+
position: relative;
|
|
136
|
+
transition:
|
|
137
|
+
color 0.15s ease,
|
|
138
|
+
background-color 0.15s ease;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.property-panel-selected-component-action:hover {
|
|
142
|
+
color: var(--vscode-foreground);
|
|
143
|
+
background: var(--vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31));
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.property-panel-selected-component-action:focus-visible {
|
|
147
|
+
outline: 1px solid var(--vscode-focusBorder);
|
|
148
|
+
outline-offset: -1px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.property-panel-selected-component-action[data-tooltip]::after {
|
|
152
|
+
content: attr(data-tooltip);
|
|
153
|
+
position: absolute;
|
|
154
|
+
top: calc(100% + 6px);
|
|
155
|
+
right: -4px;
|
|
156
|
+
background: var(--vscode-editorHoverWidget-background, #2d2d30);
|
|
157
|
+
color: var(--vscode-editorHoverWidget-foreground, #cccccc);
|
|
158
|
+
border: 1px solid var(--vscode-editorHoverWidget-border, #454545);
|
|
159
|
+
font-size: 12px;
|
|
160
|
+
font-weight: 400;
|
|
161
|
+
line-height: 1.36;
|
|
162
|
+
white-space: normal;
|
|
163
|
+
max-width: 220px;
|
|
164
|
+
width: max-content;
|
|
165
|
+
padding: 4px 8px;
|
|
166
|
+
border-radius: 3px;
|
|
167
|
+
pointer-events: none;
|
|
168
|
+
opacity: 0;
|
|
169
|
+
visibility: hidden;
|
|
170
|
+
transition:
|
|
171
|
+
opacity 0.1s ease,
|
|
172
|
+
visibility 0.1s ease;
|
|
173
|
+
z-index: 10000;
|
|
174
|
+
font-family: var(--vscode-font-family, -apple-system, BlinkMacSystemFont, sans-serif);
|
|
175
|
+
box-shadow: 0 2px 8px var(--vscode-widget-shadow, rgba(0, 0, 0, 0.36));
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.property-panel-selected-component-action[data-tooltip]::before {
|
|
179
|
+
content: "";
|
|
180
|
+
position: absolute;
|
|
181
|
+
top: calc(100% + 2px);
|
|
182
|
+
left: 50%;
|
|
183
|
+
width: 8px;
|
|
184
|
+
height: 8px;
|
|
185
|
+
background: var(--vscode-editorHoverWidget-background, #2d2d30);
|
|
186
|
+
border-top: 1px solid var(--vscode-editorHoverWidget-border, #454545);
|
|
187
|
+
border-right: 1px solid var(--vscode-editorHoverWidget-border, #454545);
|
|
188
|
+
transform: translateX(-50%) rotate(-45deg);
|
|
189
|
+
pointer-events: none;
|
|
190
|
+
opacity: 0;
|
|
191
|
+
visibility: hidden;
|
|
192
|
+
transition:
|
|
193
|
+
opacity 0.1s ease,
|
|
194
|
+
visibility 0.1s ease;
|
|
195
|
+
z-index: 10001;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.property-panel-selected-component-action[data-tooltip]:hover::after,
|
|
199
|
+
.property-panel-selected-component-action[data-tooltip]:hover::before {
|
|
200
|
+
opacity: 1;
|
|
201
|
+
visibility: visible;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.property-panel-selected-component-action-help {
|
|
205
|
+
cursor: help;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.property-panel-selected-component-source-row {
|
|
209
|
+
font-size: 11px;
|
|
210
|
+
color: var(--vscode-foreground);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.property-panel-selected-component-source {
|
|
214
|
+
font-size: 11px;
|
|
215
|
+
color: var(--vscode-textLink-foreground);
|
|
216
|
+
word-break: break-word;
|
|
217
|
+
text-decoration: none;
|
|
218
|
+
cursor: pointer;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.property-panel-selected-component-source:hover {
|
|
222
|
+
text-decoration: underline;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.property-panel-selected-component-placeholder {
|
|
226
|
+
font-size: 11px;
|
|
227
|
+
color: var(--vscode-descriptionForeground);
|
|
228
|
+
margin: 0;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.property-panel-style-properties-container {
|
|
232
|
+
display: none;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.property-panel-style-properties-container.visible {
|
|
236
|
+
display: block;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.property-panel-style-properties {
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: column;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.property-panel-row-2col {
|
|
245
|
+
display: grid;
|
|
246
|
+
grid-template-columns: 1fr 1fr;
|
|
247
|
+
gap: 8px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/* Visible focus for keyboard users (a11y) */
|
|
251
|
+
.property-panel input:focus-visible,
|
|
252
|
+
.property-panel select:focus-visible {
|
|
253
|
+
border-color: var(--vscode-focusBorder);
|
|
254
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
255
|
+
outline: none;
|
|
256
|
+
}
|
|
257
|
+
`;var P=U(ge());function Oe(e,t){if(e==null)return{};var a={},o=Object.keys(e),l,r;for(r=0;r<o.length;r++)l=o[r],!(t.indexOf(l)>=0)&&(a[l]=e[l]);return a}var nx=["color"],y8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,nx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M0 7.5C0 7.22386 0.223858 7 0.5 7H3C3.27614 7 3.5 7.22386 3.5 7.5C3.5 7.77614 3.27614 8 3 8H0.5C0.223858 8 0 7.77614 0 7.5ZM5.75 7.5C5.75 7.22386 5.97386 7 6.25 7H8.75C9.02614 7 9.25 7.22386 9.25 7.5C9.25 7.77614 9.02614 8 8.75 8H6.25C5.97386 8 5.75 7.77614 5.75 7.5ZM12 7C11.7239 7 11.5 7.22386 11.5 7.5C11.5 7.77614 11.7239 8 12 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),ix=["color"],I8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,ix);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M1.5 6.625C1.01675 6.625 0.625 7.01675 0.625 7.5C0.625 7.98325 1.01675 8.375 1.5 8.375C1.98325 8.375 2.375 7.98325 2.375 7.5C2.375 7.01675 1.98325 6.625 1.5 6.625ZM5.5 6.625C5.01675 6.625 4.625 7.01675 4.625 7.5C4.625 7.98325 5.01675 8.375 5.5 8.375C5.98325 8.375 6.375 7.98325 6.375 7.5C6.375 7.01675 5.98325 6.625 5.5 6.625ZM9.5 6.625C9.01675 6.625 8.625 7.01675 8.625 7.5C8.625 7.98325 9.01675 8.375 9.5 8.375C9.98325 8.375 10.375 7.98325 10.375 7.5C10.375 7.01675 9.98325 6.625 9.5 6.625ZM12.625 7.5C12.625 7.01675 13.0168 6.625 13.5 6.625C13.9832 6.625 14.375 7.01675 14.375 7.5C14.375 7.98325 13.9832 8.375 13.5 8.375C13.0168 8.375 12.625 7.98325 12.625 7.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var ux=["color"],M8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,ux);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M1.25 7.5C1.25 7.22386 1.47386 7 1.75 7H13.25C13.5261 7 13.75 7.22386 13.75 7.5C13.75 7.77614 13.5261 8 13.25 8H1.75C1.47386 8 1.25 7.77614 1.25 7.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var dx=["color"],S8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,dx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var sx=["color"],Wl=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,sx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var cx=["color"],R8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,cx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M5.67494 3.50017C5.67494 3.25164 5.87641 3.05017 6.12494 3.05017H10.6249C10.8735 3.05017 11.0749 3.25164 11.0749 3.50017C11.0749 3.7487 10.8735 3.95017 10.6249 3.95017H9.00587L7.2309 11.05H8.87493C9.12345 11.05 9.32493 11.2515 9.32493 11.5C9.32493 11.7486 9.12345 11.95 8.87493 11.95H4.37493C4.1264 11.95 3.92493 11.7486 3.92493 11.5C3.92493 11.2515 4.1264 11.05 4.37493 11.05H5.99397L7.76894 3.95017H6.12494C5.87641 3.95017 5.67494 3.7487 5.67494 3.50017Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),fx=["color"],H8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,fx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M4.79993 3.50017C4.79993 3.25164 5.0014 3.05017 5.24993 3.05017H9.74993C9.99845 3.05017 10.1999 3.25164 10.1999 3.50017C10.1999 3.7487 9.99845 3.95017 9.74993 3.95017H8.09993V11.05H9.74994C9.99847 11.05 10.1999 11.2515 10.1999 11.5C10.1999 11.7486 9.99847 11.95 9.74994 11.95H5.24994C5.00141 11.95 4.79994 11.7486 4.79994 11.5C4.79994 11.2515 5.00141 11.05 5.24994 11.05H6.89993V3.95017H5.24993C5.0014 3.95017 4.79993 3.7487 4.79993 3.50017Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),px=["color"],k8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,px);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M2.78233 2.21707C2.70732 2.14206 2.60557 2.09991 2.49949 2.09991C2.3934 2.09991 2.29166 2.14206 2.21664 2.21707L0.216645 4.21707C0.0604351 4.37328 0.0604351 4.62655 0.216645 4.78276C0.372855 4.93897 0.626121 4.93897 0.78233 4.78276L2.09949 3.4656L2.09949 11.5342L0.78233 10.2171C0.62612 10.0609 0.372854 10.0609 0.216645 10.2171C0.0604349 10.3733 0.0604349 10.6265 0.216645 10.7828L2.21664 12.7828C2.29166 12.8578 2.3934 12.8999 2.49949 12.8999C2.60557 12.8999 2.70731 12.8578 2.78233 12.7828L4.78233 10.7828C4.93854 10.6265 4.93854 10.3733 4.78233 10.2171C4.62612 10.0609 4.37285 10.0609 4.21664 10.2171L2.89949 11.5342L2.89949 3.4656L4.21664 4.78276C4.37285 4.93897 4.62612 4.93897 4.78233 4.78276C4.93854 4.62655 4.93854 4.37328 4.78233 4.21707L2.78233 2.21707ZM10.5 2.74997C10.7107 2.74997 10.8988 2.88211 10.9703 3.08036L13.9703 11.3999C14.064 11.6597 13.9293 11.9462 13.6696 12.0399C13.4098 12.1336 13.1233 11.9989 13.0296 11.7392L12.0477 9.016H8.95228L7.97033 11.7392C7.87666 11.9989 7.59013 12.1336 7.33036 12.0399C7.07059 11.9462 6.93595 11.6597 7.02962 11.3999L10.0296 3.08036C10.1011 2.88211 10.2892 2.74997 10.5 2.74997ZM10.5 4.72396L11.7412 8.166H9.25879L10.5 4.72396Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var Cx=["color"],T8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,Cx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M7.1813 1.68179C7.35704 1.50605 7.64196 1.50605 7.8177 1.68179L10.3177 4.18179C10.4934 4.35753 10.4934 4.64245 10.3177 4.81819C10.142 4.99392 9.85704 4.99392 9.6813 4.81819L7.9495 3.08638L7.9495 11.9136L9.6813 10.1818C9.85704 10.0061 10.142 10.0061 10.3177 10.1818C10.4934 10.3575 10.4934 10.6424 10.3177 10.8182L7.8177 13.3182C7.73331 13.4026 7.61885 13.45 7.4995 13.45C7.38015 13.45 7.26569 13.4026 7.1813 13.3182L4.6813 10.8182C4.50557 10.6424 4.50557 10.3575 4.6813 10.1818C4.85704 10.0061 5.14196 10.0061 5.3177 10.1818L7.0495 11.9136L7.0495 3.08638L5.3177 4.81819C5.14196 4.99392 4.85704 4.99392 4.6813 4.81819C4.50557 4.64245 4.50557 4.35753 4.6813 4.18179L7.1813 1.68179Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var mx=["color"],_8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,mx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M6.5 1C6.22386 1 6 1.22386 6 1.5C6 1.77614 6.22386 2 6.5 2C7.12671 2 7.45718 2.20028 7.65563 2.47812C7.8781 2.78957 8 3.28837 8 4V11C8 11.7116 7.8781 12.2104 7.65563 12.5219C7.45718 12.7997 7.12671 13 6.5 13C6.22386 13 6 13.2239 6 13.5C6 13.7761 6.22386 14 6.5 14C7.37329 14 8.04282 13.7003 8.46937 13.1031C8.47976 13.0886 8.48997 13.0739 8.5 13.0591C8.51003 13.0739 8.52024 13.0886 8.53063 13.1031C8.95718 13.7003 9.62671 14 10.5 14C10.7761 14 11 13.7761 11 13.5C11 13.2239 10.7761 13 10.5 13C9.87329 13 9.54282 12.7997 9.34437 12.5219C9.1219 12.2104 9 11.7116 9 11V4C9 3.28837 9.1219 2.78957 9.34437 2.47812C9.54282 2.20028 9.87329 2 10.5 2C10.7761 2 11 1.77614 11 1.5C11 1.22386 10.7761 1 10.5 1C9.62671 1 8.95718 1.29972 8.53063 1.89688C8.52024 1.91143 8.51003 1.92611 8.5 1.9409C8.48997 1.92611 8.47976 1.91143 8.46937 1.89688C8.04282 1.29972 7.37329 1 6.5 1ZM14 5H11V4H14C14.5523 4 15 4.44772 15 5V10C15 10.5523 14.5523 11 14 11H11V10H14V5ZM6 4V5H1L1 10H6V11H1C0.447715 11 0 10.5523 0 10V5C0 4.44772 0.447715 4 1 4H6Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var hx=["color"],E8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,hx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M3.68979 2.75C3.89667 2.74979 4.08232 2.87701 4.15679 3.07003L7.36662 11.39C7.46602 11.6477 7.33774 11.9371 7.0801 12.0365C6.82247 12.1359 6.53304 12.0076 6.43365 11.75L5.3825 9.02537H2.01133L0.966992 11.749C0.868128 12.0068 0.578964 12.1357 0.321126 12.0369C0.0632878 11.938 -0.0655864 11.6488 0.0332774 11.391L3.22344 3.07099C3.29751 2.87782 3.4829 2.75021 3.68979 2.75ZM3.69174 4.64284L5.05458 8.17537H2.33724L3.69174 4.64284ZM10.8989 5.20703C9.25818 5.20703 8.00915 6.68569 8.00915 8.60972C8.00915 10.6337 9.35818 12.0124 10.8989 12.0124C11.7214 12.0124 12.5744 11.6692 13.1543 11.0219V11.53C13.1543 11.7785 13.3557 11.98 13.6043 11.98C13.8528 11.98 14.0543 11.7785 14.0543 11.53V5.72C14.0543 5.47147 13.8528 5.27 13.6043 5.27C13.3557 5.27 13.1543 5.47147 13.1543 5.72V6.22317C12.6054 5.60095 11.7924 5.20703 10.8989 5.20703ZM13.1543 9.79823V7.30195C12.7639 6.58101 11.9414 6.05757 11.0868 6.05757C10.1088 6.05757 9.03503 6.96581 9.03503 8.60955C9.03503 10.1533 10.0088 11.1615 11.0868 11.1615C11.9701 11.1615 12.7719 10.4952 13.1543 9.79823Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),gx=["color"],O8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,gx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M3.69899 5.20703C2.05823 5.20703 0.809204 6.68569 0.809204 8.60972C0.809204 10.6337 2.15823 12.0124 3.69899 12.0124C4.52126 12.0124 5.37402 11.6693 5.9539 11.0223V11.53C5.9539 11.7785 6.15537 11.98 6.4039 11.98C6.65243 11.98 6.8539 11.7785 6.8539 11.53V5.72001C6.8539 5.47149 6.65243 5.27001 6.4039 5.27001C6.15537 5.27001 5.9539 5.47149 5.9539 5.72001V6.22269C5.40506 5.60075 4.59218 5.20703 3.69899 5.20703ZM5.9539 9.799V7.30117C5.56339 6.58064 4.74118 6.05757 3.8868 6.05757C2.9089 6.05757 1.83508 6.96581 1.83508 8.60955C1.83508 10.1533 2.80889 11.1615 3.8868 11.1615C4.76984 11.1615 5.57141 10.4957 5.9539 9.799ZM10.799 5.20703C9.15823 5.20703 7.9092 6.68569 7.9092 8.60972C7.9092 10.6337 9.25823 12.0124 10.799 12.0124C11.6215 12.0124 12.4744 11.6692 13.0543 11.0218V11.53C13.0543 11.7785 13.2558 11.98 13.5043 11.98C13.7529 11.98 13.9543 11.7785 13.9543 11.53V5.72C13.9543 5.47147 13.7529 5.27 13.5043 5.27C13.2558 5.27 13.0543 5.47147 13.0543 5.72V6.22318C12.5055 5.60095 11.6924 5.20703 10.799 5.20703ZM13.0543 9.79822V7.30196C12.664 6.58102 11.8415 6.05757 10.9868 6.05757C10.0089 6.05757 8.93508 6.96581 8.93508 8.60955C8.93508 10.1533 9.90889 11.1615 10.9868 11.1615C11.8702 11.1615 12.672 10.4952 13.0543 9.79822Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var vx=["color"],D8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,vx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M3.6255 2.75C3.83478 2.75 4.02192 2.88034 4.09448 3.07664L7.16985 11.3962C7.2656 11.6552 7.13324 11.9428 6.87423 12.0386C6.61522 12.1343 6.32763 12.002 6.23188 11.7429L5.22387 9.01603H2.02712L1.01911 11.7429C0.923362 12.002 0.635774 12.1343 0.376762 12.0386C0.117749 11.9428 -0.0146052 11.6552 0.0811401 11.3962L3.15651 3.07664C3.22908 2.88034 3.41621 2.75 3.6255 2.75ZM3.6255 4.69207L4.90966 8.16603H2.34133L3.6255 4.69207ZM11.3719 2.75C11.5811 2.75 11.7683 2.88034 11.8408 3.07664L14.9162 11.3962C15.012 11.6552 14.8796 11.9428 14.6206 12.0386C14.3616 12.1343 14.074 12.002 13.9782 11.7429L12.9702 9.01603H9.77348L8.76547 11.7429C8.66972 12.002 8.38213 12.1343 8.12312 12.0386C7.86411 11.9428 7.73175 11.6552 7.8275 11.3962L10.9029 3.07664C10.9754 2.88034 11.1626 2.75 11.3719 2.75ZM11.3719 4.69207L12.656 8.16603H10.0877L11.3719 4.69207Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),xx=["color"],V8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,xx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M4.55293 0.999969C4.75295 0.999969 4.93372 1.11917 5.0125 1.30301L8.01106 8.29982C8.11984 8.55363 8.00226 8.84757 7.74844 8.95635C7.49463 9.06512 7.20069 8.94754 7.09191 8.69373L6.11613 6.41685H2.98973L2.01395 8.69373C1.90517 8.94754 1.61123 9.06512 1.35742 8.95635C1.1036 8.84757 0.986023 8.55363 1.0948 8.29982L4.09336 1.30301C4.17214 1.11917 4.35291 0.999969 4.55293 0.999969ZM4.55293 2.76929L5.75186 5.56685H3.354L4.55293 2.76929ZM11.0562 9.00214C11.2617 9.00214 11.4463 8.87633 11.5215 8.68502L14.2733 1.68299C14.3743 1.42598 14.2478 1.13575 13.9908 1.03475C13.7338 0.933747 13.4436 1.06021 13.3426 1.31722L11.0562 7.13514L8.76973 1.31722C8.66873 1.06021 8.3785 0.933747 8.1215 1.03475C7.86449 1.13575 7.73802 1.42598 7.83902 1.68299L10.5908 8.68502C10.666 8.87633 10.8506 9.00214 11.0562 9.00214ZM14.9537 12.4999C14.9537 12.606 14.9115 12.7077 14.8365 12.7828L12.8365 14.7828C12.6803 14.939 12.4271 14.939 12.2708 14.7828C12.1146 14.6265 12.1146 14.3733 12.2708 14.2171L13.588 12.8999H1.51937L2.83653 14.2171C2.99274 14.3733 2.99274 14.6265 2.83653 14.7828C2.68032 14.939 2.42705 14.939 2.27084 14.7828L0.270843 12.7828C0.195828 12.7077 0.153687 12.606 0.153687 12.4999C0.153687 12.3938 0.195828 12.2921 0.270843 12.2171L2.27084 10.2171C2.42705 10.0609 2.68032 10.0609 2.83653 10.2171C2.99274 10.3733 2.99274 10.6265 2.83653 10.7828L1.51937 12.0999L13.588 12.0999L12.2708 10.7828C12.1146 10.6265 12.1146 10.3733 12.2708 10.2171C12.4271 10.0609 12.6803 10.0609 12.8365 10.2171L14.8365 12.2171C14.9115 12.2921 14.9537 12.3938 14.9537 12.4999Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var Lx=["color"],B8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,Lx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M3.78233 2.21713C3.70732 2.14212 3.60557 2.09998 3.49949 2.09998C3.3934 2.09998 3.29166 2.14212 3.21664 2.21713L1.21664 4.21713C1.06044 4.37334 1.06044 4.62661 1.21664 4.78282C1.37285 4.93903 1.62612 4.93903 1.78233 4.78282L3.09949 3.46566L3.09949 11.5343L1.78233 10.2171C1.62612 10.0609 1.37285 10.0609 1.21664 10.2171C1.06043 10.3733 1.06043 10.6266 1.21664 10.7828L3.21664 12.7828C3.29166 12.8578 3.3934 12.9 3.49949 12.9C3.60557 12.9 3.70731 12.8578 3.78233 12.7828L5.78233 10.7828C5.93854 10.6266 5.93854 10.3733 5.78233 10.2171C5.62612 10.0609 5.37285 10.0609 5.21664 10.2171L3.89949 11.5343L3.89949 3.46566L5.21664 4.78282C5.37285 4.93903 5.62612 4.93903 5.78233 4.78282C5.93854 4.62661 5.93854 4.37334 5.78233 4.21713L3.78233 2.21713ZM8.49998 3.99997C8.22383 3.99997 7.99998 4.22382 7.99998 4.49997C7.99998 4.77611 8.22383 4.99997 8.49998 4.99997H14.5C14.7761 4.99997 15 4.77611 15 4.49997C15 4.22382 14.7761 3.99997 14.5 3.99997H8.49998ZM7.99998 7.49997C7.99998 7.22382 8.22383 6.99997 8.49998 6.99997H14.5C14.7761 6.99997 15 7.22382 15 7.49997C15 7.77611 14.7761 7.99997 14.5 7.99997H8.49998C8.22383 7.99997 7.99998 7.77611 7.99998 7.49997ZM8.49998 9.99997C8.22383 9.99997 7.99998 10.2238 7.99998 10.5C7.99998 10.7761 8.22383 11 8.49998 11H14.5C14.7761 11 15 10.7761 15 10.5C15 10.2238 14.7761 9.99997 14.5 9.99997H8.49998Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),bx=["color"],A8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,bx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M4.62471 4.00001L4.56402 4.00001C4.04134 3.99993 3.70687 3.99988 3.4182 4.055C2.2379 4.28039 1.29846 5.17053 1.05815 6.33035C0.999538 6.61321 0.999604 6.93998 0.999703 7.43689L0.999711 7.50001L0.999703 7.56313C0.999604 8.06004 0.999538 8.38681 1.05815 8.66967C1.29846 9.8295 2.2379 10.7196 3.4182 10.945C3.70688 11.0001 4.04135 11.0001 4.56403 11L4.62471 11H5.49971C5.77585 11 5.99971 10.7762 5.99971 10.5C5.99971 10.2239 5.77585 10 5.49971 10H4.62471C4.02084 10 3.78907 9.99777 3.60577 9.96277C2.80262 9.8094 2.19157 9.21108 2.03735 8.46678C2.00233 8.29778 1.99971 8.08251 1.99971 7.50001C1.99971 6.91752 2.00233 6.70225 2.03735 6.53324C2.19157 5.78895 2.80262 5.19062 3.60577 5.03725C3.78907 5.00225 4.02084 5.00001 4.62471 5.00001H5.49971C5.77585 5.00001 5.99971 4.77615 5.99971 4.50001C5.99971 4.22387 5.77585 4.00001 5.49971 4.00001H4.62471ZM10.3747 5.00001C10.9786 5.00001 11.2104 5.00225 11.3937 5.03725C12.1968 5.19062 12.8079 5.78895 12.9621 6.53324C12.9971 6.70225 12.9997 6.91752 12.9997 7.50001C12.9997 8.08251 12.9971 8.29778 12.9621 8.46678C12.8079 9.21108 12.1968 9.8094 11.3937 9.96277C11.2104 9.99777 10.9786 10 10.3747 10H9.49971C9.22357 10 8.99971 10.2239 8.99971 10.5C8.99971 10.7762 9.22357 11 9.49971 11H10.3747L10.4354 11C10.9581 11.0001 11.2925 11.0001 11.5812 10.945C12.7615 10.7196 13.701 9.8295 13.9413 8.66967C13.9999 8.38681 13.9998 8.06005 13.9997 7.56314L13.9997 7.50001L13.9997 7.43688C13.9998 6.93998 13.9999 6.61321 13.9413 6.33035C13.701 5.17053 12.7615 4.28039 11.5812 4.055C11.2925 3.99988 10.9581 3.99993 10.4354 4.00001L10.3747 4.00001H9.49971C9.22357 4.00001 8.99971 4.22387 8.99971 4.50001C8.99971 4.77615 9.22357 5.00001 9.49971 5.00001H10.3747ZM5.00038 7C4.72424 7 4.50038 7.22386 4.50038 7.5C4.50038 7.77614 4.72424 8 5.00038 8H10.0004C10.2765 8 10.5004 7.77614 10.5004 7.5C10.5004 7.22386 10.2765 7 10.0004 7H5.00038Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var wx=["color"],Z8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,wx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M4.56427 3.99988C4.58422 3.99989 4.60445 3.99989 4.62496 3.99989H5.49996C5.7761 3.99989 5.99996 4.22375 5.99996 4.49989C5.99996 4.77603 5.7761 4.99989 5.49996 4.99989H4.62496C4.02108 4.99989 3.78932 5.00213 3.60601 5.03713C2.80287 5.1905 2.19181 5.78883 2.03759 6.53312C2.00257 6.70212 1.99996 6.91739 1.99996 7.49989C1.99996 8.08239 2.00257 8.29766 2.03759 8.46666C2.19181 9.21095 2.80287 9.80928 3.60601 9.96265C3.78932 9.99765 4.02108 9.99989 4.62496 9.99989H5.49996C5.7761 9.99989 5.99996 10.2237 5.99996 10.4999C5.99996 10.776 5.7761 10.9999 5.49996 10.9999H4.62496C4.60445 10.9999 4.58422 10.9999 4.56427 10.9999C4.04159 11 3.70712 11 3.41845 10.9449C2.23814 10.7195 1.29871 9.82937 1.05839 8.66955C0.999782 8.38669 0.999848 8.05992 0.999947 7.56301C0.999951 7.54227 0.999955 7.52123 0.999955 7.49989C0.999955 7.47855 0.999951 7.45751 0.999947 7.43677C0.999848 6.93986 0.999782 6.61309 1.05839 6.33023C1.29871 5.17041 2.23814 4.28027 3.41845 4.05488C3.70712 3.99976 4.04159 3.99981 4.56427 3.99988ZM11.3939 5.03713C11.2106 5.00213 10.9788 4.99989 10.375 4.99989H9.49996C9.22381 4.99989 8.99996 4.77603 8.99996 4.49989C8.99996 4.22375 9.22381 3.99989 9.49996 3.99989H10.375C10.3955 3.99989 10.4157 3.99989 10.4356 3.99988C10.9583 3.99981 11.2928 3.99976 11.5815 4.05488C12.7618 4.28027 13.7012 5.17041 13.9415 6.33023C14.0001 6.61309 14.0001 6.93985 14 7.43676C14 7.4575 14 7.47854 14 7.49989C14 7.52124 14 7.54228 14 7.56302C14.0001 8.05992 14.0001 8.38669 13.9415 8.66955C13.7012 9.82937 12.7618 10.7195 11.5815 10.9449C11.2928 11 10.9583 11 10.4356 10.9999C10.4157 10.9999 10.3955 10.9999 10.375 10.9999H9.49996C9.22381 10.9999 8.99996 10.776 8.99996 10.4999C8.99996 10.2237 9.22381 9.99989 9.49996 9.99989H10.375C10.9788 9.99989 11.2106 9.99765 11.3939 9.96265C12.197 9.80928 12.8081 9.21095 12.9623 8.46666C12.9973 8.29766 13 8.08239 13 7.49989C13 6.91739 12.9973 6.70212 12.9623 6.53312C12.8081 5.78883 12.197 5.1905 11.3939 5.03713Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var yx=["color"],z8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,yx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M5.00003 3.25C5.00003 2.97386 4.77617 2.75 4.50003 2.75C4.22389 2.75 4.00003 2.97386 4.00003 3.25V7.10003H2.49998C2.27906 7.10003 2.09998 7.27912 2.09998 7.50003C2.09998 7.72094 2.27906 7.90003 2.49998 7.90003H4.00003V8.55C4.00003 10.483 5.56703 12.05 7.50003 12.05C9.43303 12.05 11 10.483 11 8.55V7.90003H12.5C12.7209 7.90003 12.9 7.72094 12.9 7.50003C12.9 7.27912 12.7209 7.10003 12.5 7.10003H11V3.25C11 2.97386 10.7762 2.75 10.5 2.75C10.2239 2.75 10 2.97386 10 3.25V7.10003H5.00003V3.25ZM5.00003 7.90003V8.55C5.00003 9.93071 6.11932 11.05 7.50003 11.05C8.88074 11.05 10 9.93071 10 8.55V7.90003H5.00003Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var Ix=["color"],N8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,Ix);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM4 7.5C4 7.22386 4.22386 7 4.5 7H10.5C10.7761 7 11 7.22386 11 7.5C11 7.77614 10.7761 8 10.5 8H4.5C4.22386 8 4 7.77614 4 7.5ZM3 10.5C3 10.2239 3.22386 10 3.5 10H11.5C11.7761 10 12 10.2239 12 10.5C12 10.7761 11.7761 11 11.5 11H3.5C3.22386 11 3 10.7761 3 10.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),Mx=["color"],P8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,Mx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M2.5 4C2.22386 4 2 4.22386 2 4.5C2 4.77614 2.22386 5 2.5 5H12.5C12.7761 5 13 4.77614 13 4.5C13 4.22386 12.7761 4 12.5 4H2.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),Sx=["color"],U8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,Sx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H7.5C7.77614 7 8 7.22386 8 7.5C8 7.77614 7.77614 8 7.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H10.5C10.7761 10 11 10.2239 11 10.5C11 10.7761 10.7761 11 10.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var Rx=["color"],q8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,Rx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM7 7.5C7 7.22386 7.22386 7 7.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H7.5C7.22386 8 7 7.77614 7 7.5ZM4 10.5C4 10.2239 4.22386 10 4.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H4.5C4.22386 11 4 10.7761 4 10.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var Hx=["color"],$8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,Hx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M4 6H11L7.5 10.5L4 6Z",fill:o}))});var kx=["color"],F8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,kx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M4 9H11L7.5 4.5L4 9Z",fill:o}))});var Tx=["color"],j8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,Tx);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M5.00001 2.75C5.00001 2.47386 4.77615 2.25 4.50001 2.25C4.22387 2.25 4.00001 2.47386 4.00001 2.75V8.05C4.00001 9.983 5.56702 11.55 7.50001 11.55C9.43301 11.55 11 9.983 11 8.05V2.75C11 2.47386 10.7762 2.25 10.5 2.25C10.2239 2.25 10 2.47386 10 2.75V8.05C10 9.43071 8.88072 10.55 7.50001 10.55C6.1193 10.55 5.00001 9.43071 5.00001 8.05V2.75ZM3.49998 13.1001C3.27906 13.1001 3.09998 13.2791 3.09998 13.5001C3.09998 13.721 3.27906 13.9001 3.49998 13.9001H11.5C11.7209 13.9001 11.9 13.721 11.9 13.5001C11.9 13.2791 11.7209 13.1001 11.5 13.1001H3.49998Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var _x=["color"],G8=(0,P.forwardRef)(function(e,t){var a=e.color,o=a===void 0?"currentColor":a,l=Oe(e,_x);return(0,P.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,P.createElement)("path",{d:"M4.81812 4.68161C4.99386 4.85734 4.99386 5.14227 4.81812 5.318L3.08632 7.0498H11.9135L10.1817 5.318C10.006 5.14227 10.006 4.85734 10.1817 4.68161C10.3575 4.50587 10.6424 4.50587 10.8181 4.68161L13.3181 7.18161C13.4939 7.35734 13.4939 7.64227 13.3181 7.818L10.8181 10.318C10.6424 10.4937 10.3575 10.4937 10.1817 10.318C10.006 10.1423 10.006 9.85734 10.1817 9.68161L11.9135 7.9498H3.08632L4.81812 9.68161C4.99386 9.85734 4.99386 10.1423 4.81812 10.318C4.64239 10.4937 4.35746 10.4937 4.18173 10.318L1.68173 7.818C1.50599 7.64227 1.50599 7.35734 1.68173 7.18161L4.18173 4.68161C4.35746 4.50587 4.64239 4.50587 4.81812 4.68161Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});var v1=U(ge(),1),zM=U(J5(),1);var ed=U(ge(),1),Ko=U(le(),1);function Jl({title:e,defaultOpen:t=!0,children:a}){let[o,l]=ed.default.useState(t),r=ed.default.useCallback(n=>{l(n.currentTarget.open)},[]);return(0,Ko.jsxs)("details",{className:"property-panel-section",open:o,onToggle:r,children:[(0,Ko.jsxs)("summary",{className:"property-panel-section-trigger",children:[(0,Ko.jsx)("span",{children:e}),(0,Ko.jsx)(S8,{className:"property-panel-section-chevron",width:12,height:12,"aria-hidden":"true"})]}),(0,Ko.jsx)("div",{className:"property-panel-section-content",children:a})]})}var Y8=["H1","H2","H3","H4","H5","H6","P","SPAN","A","BUTTON","LABEL"];var Lt=U(ge(),1);var xa=U(ge(),1),W8=U(le(),1);function er(e,t=[]){let a=[];function o(r,n){let i=xa.createContext(n),u=a.length;a=[...a,n];let d=C=>{let{scope:p,children:m,...v}=C,L=p?.[e]?.[u]||i,x=xa.useMemo(()=>v,Object.values(v));return(0,W8.jsx)(L.Provider,{value:x,children:m})};d.displayName=r+"Provider";function c(C,p){let m=p?.[e]?.[u]||i,v=xa.useContext(m);if(v)return v;if(n!==void 0)return n;throw new Error(`\`${C}\` must be used within \`${r}\``)}return[d,c]}let l=()=>{let r=a.map(n=>xa.createContext(n));return function(i){let u=i?.[e]||r;return xa.useMemo(()=>({[`__scope${e}`]:{...i,[e]:u}}),[i,u])}};return l.scopeName=e,[o,Dx(l,...t)]}function Dx(...e){let t=e[0];if(e.length===1)return t;let a=()=>{let o=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(r){let n=o.reduce((i,{useScope:u,scopeName:d})=>{let C=u(r)[`__scope${d}`];return{...i,...C}},{});return xa.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return a.scopeName=t.scopeName,a}var t6=U(ge(),1),Nx=U(Ar(),1);var a1=U(ge(),1);var e6=U(ge(),1);function J8(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function td(...e){return t=>{let a=!1,o=e.map(l=>{let r=J8(l,t);return!a&&typeof r=="function"&&(a=!0),r});if(a)return()=>{for(let l=0;l<o.length;l++){let r=o[l];typeof r=="function"?r():J8(e[l],null)}}}}function Bn(...e){return e6.useCallback(td(...e),e)}var Fi=U(le(),1);function An(e){let t=Vx(e),a=a1.forwardRef((o,l)=>{let{children:r,...n}=o,i=a1.Children.toArray(r),u=i.find(Ax);if(u){let d=u.props.children,c=i.map(C=>C===u?a1.Children.count(d)>1?a1.Children.only(null):a1.isValidElement(d)?d.props.children:null:C);return(0,Fi.jsx)(t,{...n,ref:l,children:a1.isValidElement(d)?a1.cloneElement(d,void 0,c):null})}return(0,Fi.jsx)(t,{...n,ref:l,children:r})});return a.displayName=`${e}.Slot`,a}function Vx(e){let t=a1.forwardRef((a,o)=>{let{children:l,...r}=a;if(a1.isValidElement(l)){let n=zx(l),i=Zx(r,l.props);return l.type!==a1.Fragment&&(i.ref=o?td(o,n):n),a1.cloneElement(l,i)}return a1.Children.count(l)>1?a1.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Bx=Symbol("radix.slottable");function Ax(e){return a1.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Bx}function Zx(e,t){let a={...t};for(let o in t){let l=e[o],r=t[o];/^on[A-Z]/.test(o)?l&&r?a[o]=(...i)=>{let u=r(...i);return l(...i),u}:l&&(a[o]=l):o==="style"?a[o]={...l,...r}:o==="className"&&(a[o]=[l,r].filter(Boolean).join(" "))}return{...e,...a}}function zx(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var a6=U(le(),1),Px=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ro=Px.reduce((e,t)=>{let a=An(`Primitive.${t}`),o=t6.forwardRef((l,r)=>{let{asChild:n,...i}=l,u=n?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,a6.jsx)(u,{...i,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});var i1=U(ge(),1);var ES=!!(typeof window<"u"&&window.document&&window.document.createElement);function La(e,t,{checkForDefaultPrevented:a=!0}={}){return function(l){if(e?.(l),a===!1||!l.defaultPrevented)return t?.(l)}}var no=U(ge(),1);var ji=U(le(),1),Ux=U(ge(),1);var qx=U(le(),1);function o6(e){let t=e+"CollectionProvider",[a,o]=er(t),[l,r]=a(t,{collectionRef:{current:null},itemMap:new Map}),n=L=>{let{scope:x,children:f}=L,s=no.default.useRef(null),h=no.default.useRef(new Map).current;return(0,ji.jsx)(l,{scope:x,itemMap:h,collectionRef:s,children:f})};n.displayName=t;let i=e+"CollectionSlot",u=An(i),d=no.default.forwardRef((L,x)=>{let{scope:f,children:s}=L,h=r(i,f),g=Bn(x,h.collectionRef);return(0,ji.jsx)(u,{ref:g,children:s})});d.displayName=i;let c=e+"CollectionItemSlot",C="data-radix-collection-item",p=An(c),m=no.default.forwardRef((L,x)=>{let{scope:f,children:s,...h}=L,g=no.default.useRef(null),b=Bn(x,g),R=r(c,f);return no.default.useEffect(()=>(R.itemMap.set(g,{ref:g,...h}),()=>void R.itemMap.delete(g))),(0,ji.jsx)(p,{[C]:"",ref:b,children:s})});m.displayName=c;function v(L){let x=r(e+"CollectionConsumer",L);return no.default.useCallback(()=>{let s=x.collectionRef.current;if(!s)return[];let h=Array.from(s.querySelectorAll(`[${C}]`));return Array.from(x.itemMap.values()).sort((R,S)=>h.indexOf(R.ref.current)-h.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:n,Slot:d,ItemSlot:m},v,o]}var ad=U(ge(),1);var l6=U(ge(),1),Gi=globalThis?.document?l6.useLayoutEffect:()=>{};var $x=ad[" useId ".trim().toString()]||(()=>{}),Fx=0;function r6(e){let[t,a]=ad.useState($x());return Gi(()=>{e||a(o=>o??String(Fx++))},[e]),e||(t?`radix-${t}`:"")}var tr=U(ge(),1);function n6(e){let t=tr.useRef(e);return tr.useEffect(()=>{t.current=e}),tr.useMemo(()=>(...a)=>t.current?.(...a),[])}var xt=U(ge(),1);var Ki=U(ge(),1);var jx=xt[" useInsertionEffect ".trim().toString()]||Gi;function Xo({prop:e,defaultProp:t,onChange:a=()=>{},caller:o}){let[l,r,n]=Gx({defaultProp:t,onChange:a}),i=e!==void 0,u=i?e:l;{let c=xt.useRef(e!==void 0);xt.useEffect(()=>{let C=c.current;C!==i&&console.warn(`${o} is changing from ${C?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=i},[i,o])}let d=xt.useCallback(c=>{if(i){let C=Kx(c)?c(e):c;C!==e&&n.current?.(C)}else r(c)},[i,e,r,n]);return[u,d]}function Gx({defaultProp:e,onChange:t}){let[a,o]=xt.useState(e),l=xt.useRef(a),r=xt.useRef(t);return jx(()=>{r.current=t},[t]),xt.useEffect(()=>{l.current!==a&&(r.current?.(a),l.current=a)},[a,l]),[a,o,r]}function Kx(e){return typeof e=="function"}var $S=Symbol("RADIX:SYNC_STATE");var Xi=U(ge(),1),Xx=U(le(),1),Qx=Xi.createContext(void 0);function Qi(e){let t=Xi.useContext(Qx);return e||t||"ltr"}var io=U(le(),1),od="rovingFocusGroup.onEntryFocus",Yx={bubbles:!1,cancelable:!0},Zn="RovingFocusGroup",[ld,i6,Wx]=o6(Zn),[Jx,rd]=er(Zn,[Wx]),[eL,tL]=Jx(Zn),u6=i1.forwardRef((e,t)=>(0,io.jsx)(ld.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,io.jsx)(ld.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,io.jsx)(aL,{...e,ref:t})})}));u6.displayName=Zn;var aL=i1.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:a,orientation:o,loop:l=!1,dir:r,currentTabStopId:n,defaultCurrentTabStopId:i,onCurrentTabStopIdChange:u,onEntryFocus:d,preventScrollOnEntryFocus:c=!1,...C}=e,p=i1.useRef(null),m=Bn(t,p),v=Qi(r),[L,x]=Xo({prop:n,defaultProp:i??null,onChange:u,caller:Zn}),[f,s]=i1.useState(!1),h=n6(d),g=i6(a),b=i1.useRef(!1),[R,S]=i1.useState(0);return i1.useEffect(()=>{let w=p.current;if(w)return w.addEventListener(od,h),()=>w.removeEventListener(od,h)},[h]),(0,io.jsx)(eL,{scope:a,orientation:o,dir:v,loop:l,currentTabStopId:L,onItemFocus:i1.useCallback(w=>x(w),[x]),onItemShiftTab:i1.useCallback(()=>s(!0),[]),onFocusableItemAdd:i1.useCallback(()=>S(w=>w+1),[]),onFocusableItemRemove:i1.useCallback(()=>S(w=>w-1),[]),children:(0,io.jsx)(ro.div,{tabIndex:f||R===0?-1:0,"data-orientation":o,...C,ref:m,style:{outline:"none",...e.style},onMouseDown:La(e.onMouseDown,()=>{b.current=!0}),onFocus:La(e.onFocus,w=>{let I=!b.current;if(w.target===w.currentTarget&&I&&!f){let N=new CustomEvent(od,Yx);if(w.currentTarget.dispatchEvent(N),!N.defaultPrevented){let _=g().filter(T=>T.focusable),O=_.find(T=>T.active),k=_.find(T=>T.id===L),A=[O,k,..._].filter(Boolean).map(T=>T.ref.current);c6(A,c)}}b.current=!1}),onBlur:La(e.onBlur,()=>s(!1))})})}),d6="RovingFocusGroupItem",s6=i1.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:a,focusable:o=!0,active:l=!1,tabStopId:r,children:n,...i}=e,u=r6(),d=r||u,c=tL(d6,a),C=c.currentTabStopId===d,p=i6(a),{onFocusableItemAdd:m,onFocusableItemRemove:v,currentTabStopId:L}=c;return i1.useEffect(()=>{if(o)return m(),()=>v()},[o,m,v]),(0,io.jsx)(ld.ItemSlot,{scope:a,id:d,focusable:o,active:l,children:(0,io.jsx)(ro.span,{tabIndex:C?0:-1,"data-orientation":c.orientation,...i,ref:t,onMouseDown:La(e.onMouseDown,x=>{o?c.onItemFocus(d):x.preventDefault()}),onFocus:La(e.onFocus,()=>c.onItemFocus(d)),onKeyDown:La(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){c.onItemShiftTab();return}if(x.target!==x.currentTarget)return;let f=rL(x,c.orientation,c.dir);if(f!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let h=p().filter(g=>g.focusable).map(g=>g.ref.current);if(f==="last")h.reverse();else if(f==="prev"||f==="next"){f==="prev"&&h.reverse();let g=h.indexOf(x.currentTarget);h=c.loop?nL(h,g+1):h.slice(g+1)}setTimeout(()=>c6(h))}}),children:typeof n=="function"?n({isCurrentTabStop:C,hasTabStop:L!=null}):n})})});s6.displayName=d6;var oL={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function lL(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function rL(e,t,a){let o=lL(e.key,a);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return oL[o]}function c6(e,t=!1){let a=document.activeElement;for(let o of e)if(o===a||(o.focus({preventScroll:t}),document.activeElement!==a))return}function nL(e,t){return e.map((a,o)=>e[(t+o)%e.length])}var f6=u6,p6=s6;var C6=U(ge(),1);var m6=U(le(),1),h6="Toggle",nd=C6.forwardRef((e,t)=>{let{pressed:a,defaultPressed:o,onPressedChange:l,...r}=e,[n,i]=Xo({prop:a,onChange:l,defaultProp:o??!1,caller:h6});return(0,m6.jsx)(ro.button,{type:"button","aria-pressed":n,"data-state":n?"on":"off","data-disabled":e.disabled?"":void 0,...r,ref:t,onClick:La(e.onClick,()=>{e.disabled||i(!n)})})});nd.displayName=h6;var H1=U(le(),1),uo="ToggleGroup",[v6,fR]=er(uo,[rd]),x6=rd(),id=Lt.default.forwardRef((e,t)=>{let{type:a,...o}=e;if(a==="single")return(0,H1.jsx)(uL,{...o,ref:t});if(a==="multiple")return(0,H1.jsx)(dL,{...o,ref:t});throw new Error(`Missing prop \`type\` expected on \`${uo}\``)});id.displayName=uo;var[L6,b6]=v6(uo),uL=Lt.default.forwardRef((e,t)=>{let{value:a,defaultValue:o,onValueChange:l=()=>{},...r}=e,[n,i]=Xo({prop:a,defaultProp:o??"",onChange:l,caller:uo});return(0,H1.jsx)(L6,{scope:e.__scopeToggleGroup,type:"single",value:Lt.default.useMemo(()=>n?[n]:[],[n]),onItemActivate:i,onItemDeactivate:Lt.default.useCallback(()=>i(""),[i]),children:(0,H1.jsx)(w6,{...r,ref:t})})}),dL=Lt.default.forwardRef((e,t)=>{let{value:a,defaultValue:o,onValueChange:l=()=>{},...r}=e,[n,i]=Xo({prop:a,defaultProp:o??[],onChange:l,caller:uo}),u=Lt.default.useCallback(c=>i((C=[])=>[...C,c]),[i]),d=Lt.default.useCallback(c=>i((C=[])=>C.filter(p=>p!==c)),[i]);return(0,H1.jsx)(L6,{scope:e.__scopeToggleGroup,type:"multiple",value:n,onItemActivate:u,onItemDeactivate:d,children:(0,H1.jsx)(w6,{...r,ref:t})})});id.displayName=uo;var[sL,cL]=v6(uo),w6=Lt.default.forwardRef((e,t)=>{let{__scopeToggleGroup:a,disabled:o=!1,rovingFocus:l=!0,orientation:r,dir:n,loop:i=!0,...u}=e,d=x6(a),c=Qi(n),C={role:"group",dir:c,...u};return(0,H1.jsx)(sL,{scope:a,rovingFocus:l,disabled:o,children:l?(0,H1.jsx)(f6,{asChild:!0,...d,orientation:r,dir:c,loop:i,children:(0,H1.jsx)(ro.div,{...C,ref:t})}):(0,H1.jsx)(ro.div,{...C,ref:t})})}),Yi="ToggleGroupItem",y6=Lt.default.forwardRef((e,t)=>{let a=b6(Yi,e.__scopeToggleGroup),o=cL(Yi,e.__scopeToggleGroup),l=x6(e.__scopeToggleGroup),r=a.value.includes(e.value),n=o.disabled||e.disabled,i={...e,pressed:r,disabled:n},u=Lt.default.useRef(null);return o.rovingFocus?(0,H1.jsx)(p6,{asChild:!0,...l,focusable:!n,active:r,ref:u,children:(0,H1.jsx)(g6,{...i,ref:t})}):(0,H1.jsx)(g6,{...i,ref:t})});y6.displayName=Yi;var g6=Lt.default.forwardRef((e,t)=>{let{__scopeToggleGroup:a,value:o,...l}=e,r=b6(Yi,a),n={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},i=r.type==="single"?n:void 0;return(0,H1.jsx)(nd,{...i,...l,ref:t,onPressedChange:u=>{u?r.onItemActivate(o):r.onItemDeactivate(o)}})}),I6=id,M6=y6;var S6=U(ge(),1);var Wi=U(le(),1),pL={border:"none",margin:0,padding:0,minWidth:0},CL={color:"var(--vscode-foreground)",fontSize:"11px",display:"block",marginBottom:"5px",padding:0};function $t({label:e,id:t,className:a,children:o}){let l=`${t}-legend`;return(0,Wi.jsxs)("fieldset",{style:pL,className:a,"aria-labelledby":l,children:[(0,Wi.jsx)("legend",{id:l,style:CL,children:e}),o]})}var Ji=U(le(),1);function Ft({label:e,options:t,value:a,onChange:o,id:l="radio-group"}){let r=S6.default.useCallback(n=>{n&&typeof o=="function"&&o(n)},[o]);return(0,Ji.jsx)($t,{label:e,id:l,className:"radioGroupEditor-fieldset",children:(0,Ji.jsx)(I6,{type:"single",value:a,onValueChange:r,className:"radioGroupEditor-root","aria-label":e,children:t.map(n=>(0,Ji.jsx)(M6,{value:n.value,className:"radioGroupEditor-item","aria-label":n.label,title:n.label,children:n.icon??n.label},n.value))})})}var ar=U(le(),1),H6=[{value:"none",label:"None",icon:(0,ar.jsx)(Wl,{width:14,height:14})},{value:"solid",label:"Solid",icon:(0,ar.jsx)(M8,{width:14,height:14})},{value:"dashed",label:"Dashed",icon:(0,ar.jsx)(y8,{width:14,height:14})},{value:"dotted",label:"Dotted",icon:(0,ar.jsx)(I8,{width:14,height:14})}],R6=new Set(H6.map(e=>e.value));function mL(e){if(!e)return"none";if(R6.has(e))return e;let t=e.split(/\s+/)[0]??"";return R6.has(t)?t:"none"}function k6({label:e="Border Style",value:t,onChange:a,id:o="border-style"}){return(0,ar.jsx)(Ft,{label:e,options:H6,value:mL(t),onChange:a,id:o})}var h1=U(ge(),1);var e2=[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"},{value:"pt",label:"pt"},{value:"vw",label:"vw"},{value:"vh",label:"vh"},{value:"vmin",label:"vmin"},{value:"vmax",label:"vmax"},{value:"ch",label:"ch"},{value:"ex",label:"ex"},{value:"cm",label:"cm"},{value:"mm",label:"mm"},{value:"in",label:"in"},{value:"pc",label:"pc"}],Et={px:{min:0,max:1e4,step:1,decimals:1},em:{min:0,max:100,step:.1,decimals:3},rem:{min:0,max:100,step:.1,decimals:3},"%":{min:0,max:1e3,step:1,decimals:2},pt:{min:0,max:1e4,step:1,decimals:1},vw:{min:0,max:100,step:.1,decimals:1},vh:{min:0,max:100,step:.1,decimals:1},vmin:{min:0,max:100,step:.1,decimals:1},vmax:{min:0,max:100,step:.1,decimals:1},ch:{min:0,max:100,step:.1,decimals:1},ex:{min:0,max:100,step:.1,decimals:1},cm:{min:0,max:100,step:.1,decimals:2},mm:{min:0,max:1e3,step:1,decimals:1},in:{min:0,max:50,step:.01,decimals:2},pc:{min:0,max:500,step:1,decimals:0}},hL=Et.px??{min:0,max:1e4,step:1,decimals:0};function zn(e){let t=e.map(a=>a.value).join("|");return new RegExp(`^(-?\\d*\\.?\\d+)\\s*(${t})$`)}var gL=zn(e2);function N1(e,t="px",a=gL){if(e==null||e==="")return{numericValue:"",unit:t};let o=String(e).trim();if(o==="")return{numericValue:"",unit:t};let l=o.match(a);if(l&&l[1]!=null&&l[2]!=null)return{numericValue:parseFloat(l[1]),unit:l[2]};let r=parseFloat(o);return isNaN(r)?{numericValue:"",unit:t}:{numericValue:r,unit:t}}function ud(e,t=Et){return t[e]||hL}function Ot(e,t,a=Et){let o=ud(t,a);return Math.min(o.max,Math.max(o.min,e))}function Dt(e,t,a=Et){if(e===""||e==null||isNaN(e))return"";let o=ud(t,a);return Number(Number(e).toFixed(o.decimals))}function t2(e,t){return e===""||e==null||isNaN(e)?"":`${e}${t}`}function a2(e,t,a,o,l=Et){let r=parseFloat(e)||0,n=ud(o,l),i=a?10:1,u=(t==="ArrowUp"?1:-1)*n.step*i,d=Ot(r+u,o,l);return String(Dt(d,o,l))}function dd({top:e,right:t,bottom:a,left:o}){return`${e||"0px"} ${t||"0px"} ${a||"0px"} ${o||"0px"}`}function or(e){let t={top:"",right:"",bottom:"",left:""};if(!e||typeof e!="string")return t;let a=e.trim().split(/\s+/),[o="",l="",r="",n=""]=a;return a.length===0||a.length===1&&o===""?t:a.length===1?{top:o,right:o,bottom:o,left:o}:a.length===2?{top:o,right:l,bottom:o,left:l}:a.length===3?{top:o,right:l,bottom:r,left:l}:{top:o,right:l,bottom:r,left:n}}function bt(...e){return e2.filter(t=>e.includes(t.value))}var jt={width:{units:bt("px","em","rem","vw","ch","%"),icon:G8},minWidth:{units:bt("px","em","rem","vw","ch","%")},maxWidth:{units:bt("px","em","rem","vw","ch","%")},height:{units:bt("px","em","rem","vh","%"),icon:T8},minHeight:{units:bt("px","em","rem","vh","%")},maxHeight:{units:bt("px","em","rem","vh","%")},fontSize:{units:bt("px","em","rem","%","pt"),constraints:{...Et,px:{min:0,max:1e3,step:1,decimals:0},"%":{min:0,max:1e3,step:1,decimals:0}},icon:k8},lineHeight:{units:[],defaultUnit:"",constraints:{"":{min:0,max:10,step:.1,decimals:2}},icon:B8},letterSpacing:{units:bt("px","em","rem"),constraints:{...Et,px:{min:-100,max:1e3,step:.5,decimals:1},em:{min:-10,max:100,step:.01,decimals:3},rem:{min:-10,max:100,step:.01,decimals:3}},icon:V8}},Nn={padding:{units:bt("px","em","rem","%")},margin:{units:bt("px","em","rem","%")},borderRadius:{units:bt("px","em","rem","%"),sideLabels:["Top Left","Top Right","Bottom Right","Bottom Left"]},borderWidth:{units:bt("px","em","rem")}};var g1=U(le(),1),vL=[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"}],lr=["top","right","bottom","left"],xL=["Top","Right","Bottom","Left"],LL=(0,g1.jsx)(A8,{width:14,height:14}),bL=(0,g1.jsx)(Z8,{width:14,height:14});function Pn(e){return typeof e=="string"&&e.trim().toLowerCase()==="auto"}function sd(e,t,a){let o={top:"",right:"",bottom:"",left:""};for(let l of lr){let r=e[l];if(r==null||r==="")o[l]="";else if(Pn(r))o[l]="auto";else{let n=N1(String(r),t,a);o[l]=n.numericValue!==""?String(n.numericValue):""}}return o}function cd(e){let t=e.top||"";return t===(e.right||"")&&t===(e.bottom||"")&&t===(e.left||"")}function T6(e,t,a){for(let o of lr){let l=e[o];if(l!=null&&l!==""&&l!=="0"){let r=N1(String(l),"px",t);if(r.unit&&a.has(r.unit))return r.unit}}return"px"}function wL(e,t,a){if(Pn(e))return"auto";let o=parseFloat(e);if(e===""||isNaN(o))return"";let l=Ot(o,t,a);return`${Dt(l,t,a)}${t}`}function _6(e){if(!e)return"";let t=or(e);return!t.top&&!t.right&&!t.bottom&&!t.left?"":dd(t)}function Un({label:e,value:t="",onChange:a,id:o="",units:l=vL,constraints:r=Et,allowAuto:n=!1,sideLabels:i=xL,sideIcons:u,placeholder:d=""}){let c=h1.default.useRef(a);c.current=a;let C=h1.default.useMemo(()=>zn(l),[l]),p=h1.default.useMemo(()=>new Set(l.map(O=>O.value)),[l]),m=h1.default.useMemo(()=>{if(!d)return{top:"0",right:"0",bottom:"0",left:"0"};let O=or(d),k={top:"0",right:"0",bottom:"0",left:"0"};for(let D of lr){let A=O[D];if(!A||A==="")k[D]="0";else{let T=N1(A,"px",C);k[D]=T.numericValue!==""?String(T.numericValue):"0"}}return k},[d,C]),v=h1.default.useMemo(()=>or(t),[]),[L,x]=h1.default.useState(()=>T6(v,C,p)),[f,s]=h1.default.useState(()=>sd(v,L,C)),[h,g]=h1.default.useState(()=>cd(f)),b=h1.default.useRef(_6(t));h1.default.useEffect(()=>{if(t===b.current)return;let O=_6(t);if(O===b.current)return;b.current=O;let k=or(t),D=T6(k,C,p);x(D);let A=sd(k,D,C);s(A),g(cd(A))},[t,C,p]);let R=h1.default.useCallback((O,k)=>{let D={top:"",right:"",bottom:"",left:""},A=!0;for(let Z of lr)D[Z]=wL(O[Z],k,r),D[Z]!==""&&(A=!1);let T=A?"":dd(D);T!==b.current&&(b.current=T,typeof c.current=="function"&&c.current(T))},[r]),S=h1.default.useCallback((O,k)=>{s(h?{top:k,right:k,bottom:k,left:k}:A=>({...A,[O]:k}));let D=N1(k,L,C);D.numericValue!==""&&D.unit&&p.has(D.unit)&&D.unit!==L&&x(D.unit)},[h,L,C,p]),w=h1.default.useCallback((O,k)=>{let D=k.clipboardData.getData("text"),A=N1(D,L,C);if(A.numericValue!==""&&A.unit&&p.has(A.unit)){k.preventDefault();let T=Ot(A.numericValue,A.unit,r),Z=String(Dt(T,A.unit,r)),E=h?{top:Z,right:Z,bottom:Z,left:Z}:{...f,[O]:Z};s(E),A.unit!==L&&x(A.unit),R(E,A.unit)}},[h,f,L,C,p,r,R]),I=h1.default.useCallback(O=>{let k=f[O];if(k===""){let E=h?{top:"",right:"",bottom:"",left:""}:{...f,[O]:""};s(E),R(E,L);return}if(n&&Pn(k)){let E="auto",re=h?{top:E,right:E,bottom:E,left:E}:{...f,[O]:E};s(re),R(re,L);return}let D=parseFloat(k);if(isNaN(D)){let E=or(b.current);s(sd(E,L,C));return}let A=Ot(D,L,r),T=String(Dt(A,L,r)),Z=h?{top:T,right:T,bottom:T,left:T}:{...f,[O]:T};s(Z),R(Z,L)},[f,h,L,C,r,R,n]),N=h1.default.useCallback((O,k)=>{if(k.key==="Enter"){k.currentTarget.blur();return}if(k.key==="ArrowUp"||k.key==="ArrowDown"){if(Pn(f[O]))return;k.preventDefault();let D=a2(f[O],k.key,k.shiftKey,L,r);if(D===null)return;let A=h?{top:D,right:D,bottom:D,left:D}:{...f,[O]:D};s(A),R(A,L)}},[f,h,L,r,R]),_=h1.default.useCallback(O=>{let k=O.target.value;if(!p.has(k))return;x(k);let D={top:"",right:"",bottom:"",left:""};for(let A of lr){let T=f[A];if(Pn(T))D[A]="auto";else if(T!==""){let Z=parseFloat(T);if(isNaN(Z))D[A]=T;else{let E=Ot(Z,k,r);D[A]=String(Dt(E,k,r))}}else D[A]=""}s(D),R(D,k)},[f,p,r,R]);return(0,g1.jsxs)($t,{label:e,id:o,className:"boxDimensionEditor-fieldset",children:[(0,g1.jsx)("div",{className:"boxDimensionEditor-header",children:(0,g1.jsxs)("div",{className:"boxDimensionEditor-controls",children:[(0,g1.jsx)("button",{type:"button",className:"boxDimensionEditor-link-btn"+(h?" boxDimensionEditor-link-btn--active":""),onClick:()=>{if(!h){let O=f.top;if(!cd(f)){let k={top:O,right:O,bottom:O,left:O};s(k),R(k,L)}}g(O=>!O)},"aria-label":h?"Unlink sides":"Link all sides","aria-pressed":h,title:h?"Unlink sides":"Link all sides",children:h?LL:bL}),(0,g1.jsx)("select",{className:"boxDimensionEditor-unit",value:L,onChange:_,"aria-label":`${e} unit`,children:l.map(O=>(0,g1.jsx)("option",{value:O.value,children:O.label},O.value))})]})}),(0,g1.jsx)("div",{className:"boxDimensionEditor-grid",children:lr.map((O,k)=>{let D=u&&u[k];return(0,g1.jsxs)("div",{className:"boxDimensionEditor-cell",children:[(0,g1.jsx)("label",{htmlFor:`${o}-${O}`,className:"boxDimensionEditor-label",children:i[k]}),(0,g1.jsxs)("div",{className:"boxDimensionEditor-input-row",children:[D&&(0,g1.jsx)("span",{className:"boxDimensionEditor-input-icon","aria-hidden":"true",children:(0,g1.jsx)(D,{size:12,width:12,height:12})}),(0,g1.jsx)("input",{id:`${o}-${O}`,type:"text",className:D?"boxDimensionEditor-input boxDimensionEditor-input--with-icon":"boxDimensionEditor-input",value:f[O],placeholder:m[O],onChange:A=>S(O,A.target.value),onPaste:A=>w(O,A),onBlur:()=>I(O),onKeyDown:A=>N(O,A),"aria-label":`${e} ${i[k]}`,autoComplete:"off",spellCheck:"false"})]})]},O)})})]})}var l2=U(ge());var o2=(...e)=>e.filter((t,a,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===a).join(" ").trim();var E6=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var O6=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,o)=>o?o.toUpperCase():a.toLowerCase());var fd=e=>{let t=O6(e);return t.charAt(0).toUpperCase()+t.slice(1)};var qn=U(ge());var D6={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var V6=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};var B6=(0,qn.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:l="",children:r,iconNode:n,...i},u)=>(0,qn.createElement)("svg",{ref:u,...D6,width:t,height:t,stroke:e,strokeWidth:o?Number(a)*24/Number(t):a,className:o2("lucide",l),...!r&&!V6(i)&&{"aria-hidden":"true"},...i},[...n.map(([d,c])=>(0,qn.createElement)(d,c)),...Array.isArray(r)?r:[r]]));var A6=(e,t)=>{let a=(0,l2.forwardRef)(({className:o,...l},r)=>(0,l2.createElement)(B6,{ref:r,iconNode:t,className:o2(`lucide-${E6(fd(e))}`,`lucide-${e}`,o),...l}));return a.displayName=fd(e),a};var yL=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],$n=A6("pipette",yL);var Pe=U(ge(),1);var ie=U(ge(),1),Z6={exports:{}},Fn={};var z6;function IL(){if(z6)return Fn;z6=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(o,l,r){var n=null;if(r!==void 0&&(n=""+r),l.key!==void 0&&(n=""+l.key),"key"in l){r={};for(var i in l)i!=="key"&&(r[i]=l[i])}else r=l;return l=r.ref,{$$typeof:e,type:o,key:n,ref:l!==void 0?l:null,props:r}}return Fn.Fragment=t,Fn.jsx=a,Fn.jsxs=a,Fn}var N6;function ML(){return N6||(N6=1,Z6.exports=IL()),Z6.exports}var Ge=ML();function X6(e){var t,a,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(a=X6(e[t]))&&(o&&(o+=" "),o+=a)}else for(a in e)e[a]&&(o&&(o+=" "),o+=a);return o}function SL(){for(var e,t,a=0,o="",l=arguments.length;a<l;a++)(e=arguments[a])&&(t=X6(e))&&(o&&(o+=" "),o+=t);return o}var Ld="-",RL=e=>{let t=kL(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let r=l.split(Ld);return r[0]===""&&r.length!==1&&r.shift(),Q6(r,t)||HL(l)},getConflictingClassGroupIds:(l,r)=>{let n=a[l]||[];return r&&o[l]?[...n,...o[l]]:n}}},Q6=(e,t)=>{if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),l=o?Q6(e.slice(1),o):void 0;if(l)return l;if(t.validators.length===0)return;let r=e.join(Ld);return t.validators.find(({validator:n})=>n(r))?.classGroupId},P6=/^\[(.+)\]$/,HL=e=>{if(P6.test(e)){let t=P6.exec(e)[1],a=t?.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},kL=e=>{let{theme:t,classGroups:a}=e,o={nextPart:new Map,validators:[]};for(let l in a)md(a[l],o,l,t);return o},md=(e,t,a,o)=>{e.forEach(l=>{if(typeof l=="string"){let r=l===""?t:U6(t,l);r.classGroupId=a;return}if(typeof l=="function"){if(TL(l)){md(l(o),t,a,o);return}t.validators.push({validator:l,classGroupId:a});return}Object.entries(l).forEach(([r,n])=>{md(n,U6(t,r),a,o)})})},U6=(e,t)=>{let a=e;return t.split(Ld).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},TL=e=>e.isThemeGetter,_L=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,l=(r,n)=>{a.set(r,n),t++,t>e&&(t=0,o=a,a=new Map)};return{get(r){let n=a.get(r);if(n!==void 0)return n;if((n=o.get(r))!==void 0)return l(r,n),n},set(r,n){a.has(r)?a.set(r,n):l(r,n)}}},hd="!",gd=":",EL=gd.length,OL=e=>{let{prefix:t,experimentalParseClassName:a}=e,o=l=>{let r=[],n=0,i=0,u=0,d;for(let v=0;v<l.length;v++){let L=l[v];if(n===0&&i===0){if(L===gd){r.push(l.slice(u,v)),u=v+EL;continue}if(L==="/"){d=v;continue}}L==="["?n++:L==="]"?n--:L==="("?i++:L===")"&&i--}let c=r.length===0?l:l.substring(u),C=DL(c),p=C!==c,m=d&&d>u?d-u:void 0;return{modifiers:r,hasImportantModifier:p,baseClassName:C,maybePostfixModifierPosition:m}};if(t){let l=t+gd,r=o;o=n=>n.startsWith(l)?r(n.substring(l.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:n,maybePostfixModifierPosition:void 0}}if(a){let l=o;o=r=>a({className:r,parseClassName:l})}return o},DL=e=>e.endsWith(hd)?e.substring(0,e.length-1):e.startsWith(hd)?e.substring(1):e,VL=e=>{let t=Object.fromEntries(e.orderSensitiveModifiers.map(a=>[a,!0]));return a=>{if(a.length<=1)return a;let o=[],l=[];return a.forEach(r=>{r[0]==="["||t[r]?(o.push(...l.sort(),r),l=[]):l.push(r)}),o.push(...l.sort()),o}},BL=e=>({cache:_L(e.cacheSize),parseClassName:OL(e),sortModifiers:VL(e),...RL(e)}),AL=/\s+/,ZL=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:r}=t,n=[],i=e.trim().split(AL),u="";for(let d=i.length-1;d>=0;d-=1){let c=i[d],{isExternal:C,modifiers:p,hasImportantModifier:m,baseClassName:v,maybePostfixModifierPosition:L}=a(c);if(C){u=c+(u.length>0?" "+u:u);continue}let x=!!L,f=o(x?v.substring(0,L):v);if(!f){if(!x){u=c+(u.length>0?" "+u:u);continue}if(f=o(v),!f){u=c+(u.length>0?" "+u:u);continue}x=!1}let s=r(p).join(":"),h=m?s+hd:s,g=h+f;if(n.includes(g))continue;n.push(g);let b=l(f,x);for(let R=0;R<b.length;++R){let S=b[R];n.push(h+S)}u=c+(u.length>0?" "+u:u)}return u};function zL(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=Y6(t))&&(o&&(o+=" "),o+=a);return o}var Y6=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=Y6(e[o]))&&(a&&(a+=" "),a+=t);return a};function NL(e,...t){let a,o,l,r=n;function n(u){let d=t.reduce((c,C)=>C(c),e());return a=BL(d),o=a.cache.get,l=a.cache.set,r=i,i(u)}function i(u){let d=o(u);if(d)return d;let c=ZL(u,a);return l(u,c),c}return function(){return r(zL.apply(null,arguments))}}var o1=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},W6=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,J6=/^\((?:(\w[\w-]*):)?(.+)\)$/i,PL=/^\d+\/\d+$/,UL=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qL=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$L=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,FL=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jL=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rr=e=>PL.test(e),ue=e=>!!e&&!Number.isNaN(Number(e)),so=e=>!!e&&Number.isInteger(Number(e)),pd=e=>e.endsWith("%")&&ue(e.slice(0,-1)),ba=e=>UL.test(e),GL=()=>!0,KL=e=>qL.test(e)&&!$L.test(e),ep=()=>!1,XL=e=>FL.test(e),QL=e=>jL.test(e),YL=e=>!K(e)&&!X(e),WL=e=>nr(e,op,ep),K=e=>W6.test(e),Qo=e=>nr(e,lp,KL),Cd=e=>nr(e,ob,ue),q6=e=>nr(e,tp,ep),JL=e=>nr(e,ap,QL),r2=e=>nr(e,rp,XL),X=e=>J6.test(e),jn=e=>ir(e,lp),eb=e=>ir(e,lb),$6=e=>ir(e,tp),tb=e=>ir(e,op),ab=e=>ir(e,ap),n2=e=>ir(e,rp,!0),nr=(e,t,a)=>{let o=W6.exec(e);return o?o[1]?t(o[1]):a(o[2]):!1},ir=(e,t,a=!1)=>{let o=J6.exec(e);return o?o[1]?t(o[1]):a:!1},tp=e=>e==="position"||e==="percentage",ap=e=>e==="image"||e==="url",op=e=>e==="length"||e==="size"||e==="bg-size",lp=e=>e==="length",ob=e=>e==="number",lb=e=>e==="family-name",rp=e=>e==="shadow",rb=()=>{let e=o1("color"),t=o1("font"),a=o1("text"),o=o1("font-weight"),l=o1("tracking"),r=o1("leading"),n=o1("breakpoint"),i=o1("container"),u=o1("spacing"),d=o1("radius"),c=o1("shadow"),C=o1("inset-shadow"),p=o1("text-shadow"),m=o1("drop-shadow"),v=o1("blur"),L=o1("perspective"),x=o1("aspect"),f=o1("ease"),s=o1("animate"),h=()=>["auto","avoid","all","avoid-page","page","left","right","column"],g=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],b=()=>[...g(),X,K],R=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],w=()=>[X,K,u],I=()=>[rr,"full","auto",...w()],N=()=>[so,"none","subgrid",X,K],_=()=>["auto",{span:["full",so,X,K]},so,X,K],O=()=>[so,"auto",X,K],k=()=>["auto","min","max","fr",X,K],D=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],A=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...w()],Z=()=>[rr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],E=()=>[e,X,K],re=()=>[...g(),$6,q6,{position:[X,K]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],y=()=>["auto","cover","contain",tb,WL,{size:[X,K]}],M=()=>[pd,jn,Qo],G=()=>["","none","full",d,X,K],z=()=>["",ue,jn,Qo],$=()=>["solid","dashed","dotted","double"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>[ue,pd,$6,q6],ne=()=>["","none",v,X,K],he=()=>["none",ue,X,K],fe=()=>["none",ue,X,K],ve=()=>[ue,X,K],xe=()=>[rr,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ba],breakpoint:[ba],color:[GL],container:[ba],"drop-shadow":[ba],ease:["in","out","in-out"],font:[YL],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ba],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ba],shadow:[ba],spacing:["px",ue],text:[ba],"text-shadow":[ba],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",rr,K,X,x]}],container:["container"],columns:[{columns:[ue,K,X,i]}],"break-after":[{"break-after":h()}],"break-before":[{"break-before":h()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:b()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[so,"auto",X,K]}],basis:[{basis:[rr,"full","auto",i,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ue,rr,"auto","initial","none",K]}],grow:[{grow:["",ue,X,K]}],shrink:[{shrink:["",ue,X,K]}],order:[{order:[so,"first","last","none",X,K]}],"grid-cols":[{"grid-cols":N()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":N()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...D(),"normal"]}],"justify-items":[{"justify-items":[...A(),"normal"]}],"justify-self":[{"justify-self":["auto",...A()]}],"align-content":[{content:["normal",...D()]}],"align-items":[{items:[...A(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...A(),{baseline:["","last"]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...A(),"baseline"]}],"place-self":[{"place-self":["auto",...A()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:Z()}],w:[{w:[i,"screen",...Z()]}],"min-w":[{"min-w":[i,"screen","none",...Z()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[n]},...Z()]}],h:[{h:["screen","lh",...Z()]}],"min-h":[{"min-h":["screen","lh","none",...Z()]}],"max-h":[{"max-h":["screen","lh",...Z()]}],"font-size":[{text:["base",a,jn,Qo]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,X,Cd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pd,K]}],"font-family":[{font:[eb,K,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,X,K]}],"line-clamp":[{"line-clamp":[ue,"none",X,Cd]}],leading:[{leading:[r,...w()]}],"list-image":[{"list-image":["none",X,K]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",X,K]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:E()}],"text-color":[{text:E()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:[ue,"from-font","auto",X,Qo]}],"text-decoration-color":[{decoration:E()}],"underline-offset":[{"underline-offset":[ue,"auto",X,K]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X,K]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X,K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:re()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},so,X,K],radial:["",X,K],conic:[so,X,K]},ab,JL]}],"bg-color":[{bg:E()}],"gradient-from-pos":[{from:M()}],"gradient-via-pos":[{via:M()}],"gradient-to-pos":[{to:M()}],"gradient-from":[{from:E()}],"gradient-via":[{via:E()}],"gradient-to":[{to:E()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:z()}],"border-w-x":[{"border-x":z()}],"border-w-y":[{"border-y":z()}],"border-w-s":[{"border-s":z()}],"border-w-e":[{"border-e":z()}],"border-w-t":[{"border-t":z()}],"border-w-r":[{"border-r":z()}],"border-w-b":[{"border-b":z()}],"border-w-l":[{"border-l":z()}],"divide-x":[{"divide-x":z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...$(),"hidden","none"]}],"divide-style":[{divide:[...$(),"hidden","none"]}],"border-color":[{border:E()}],"border-color-x":[{"border-x":E()}],"border-color-y":[{"border-y":E()}],"border-color-s":[{"border-s":E()}],"border-color-e":[{"border-e":E()}],"border-color-t":[{"border-t":E()}],"border-color-r":[{"border-r":E()}],"border-color-b":[{"border-b":E()}],"border-color-l":[{"border-l":E()}],"divide-color":[{divide:E()}],"outline-style":[{outline:[...$(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ue,X,K]}],"outline-w":[{outline:["",ue,jn,Qo]}],"outline-color":[{outline:E()}],shadow:[{shadow:["","none",c,n2,r2]}],"shadow-color":[{shadow:E()}],"inset-shadow":[{"inset-shadow":["none",C,n2,r2]}],"inset-shadow-color":[{"inset-shadow":E()}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:E()}],"ring-offset-w":[{"ring-offset":[ue,Qo]}],"ring-offset-color":[{"ring-offset":E()}],"inset-ring-w":[{"inset-ring":z()}],"inset-ring-color":[{"inset-ring":E()}],"text-shadow":[{"text-shadow":["none",p,n2,r2]}],"text-shadow-color":[{"text-shadow":E()}],opacity:[{opacity:[ue,X,K]}],"mix-blend":[{"mix-blend":[...q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":q()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ue]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":E()}],"mask-image-linear-to-color":[{"mask-linear-to":E()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":E()}],"mask-image-t-to-color":[{"mask-t-to":E()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":E()}],"mask-image-r-to-color":[{"mask-r-to":E()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":E()}],"mask-image-b-to-color":[{"mask-b-to":E()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":E()}],"mask-image-l-to-color":[{"mask-l-to":E()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":E()}],"mask-image-x-to-color":[{"mask-x-to":E()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":E()}],"mask-image-y-to-color":[{"mask-y-to":E()}],"mask-image-radial":[{"mask-radial":[X,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":E()}],"mask-image-radial-to-color":[{"mask-radial-to":E()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":g()}],"mask-image-conic-pos":[{"mask-conic":[ue]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":E()}],"mask-image-conic-to-color":[{"mask-conic-to":E()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:re()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",X,K]}],filter:[{filter:["","none",X,K]}],blur:[{blur:ne()}],brightness:[{brightness:[ue,X,K]}],contrast:[{contrast:[ue,X,K]}],"drop-shadow":[{"drop-shadow":["","none",m,n2,r2]}],"drop-shadow-color":[{"drop-shadow":E()}],grayscale:[{grayscale:["",ue,X,K]}],"hue-rotate":[{"hue-rotate":[ue,X,K]}],invert:[{invert:["",ue,X,K]}],saturate:[{saturate:[ue,X,K]}],sepia:[{sepia:["",ue,X,K]}],"backdrop-filter":[{"backdrop-filter":["","none",X,K]}],"backdrop-blur":[{"backdrop-blur":ne()}],"backdrop-brightness":[{"backdrop-brightness":[ue,X,K]}],"backdrop-contrast":[{"backdrop-contrast":[ue,X,K]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ue,X,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ue,X,K]}],"backdrop-invert":[{"backdrop-invert":["",ue,X,K]}],"backdrop-opacity":[{"backdrop-opacity":[ue,X,K]}],"backdrop-saturate":[{"backdrop-saturate":[ue,X,K]}],"backdrop-sepia":[{"backdrop-sepia":["",ue,X,K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",X,K]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ue,"initial",X,K]}],ease:[{ease:["linear","initial",f,X,K]}],delay:[{delay:[ue,X,K]}],animate:[{animate:["none",s,X,K]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[L,X,K]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:he()}],"rotate-x":[{"rotate-x":he()}],"rotate-y":[{"rotate-y":he()}],"rotate-z":[{"rotate-z":he()}],scale:[{scale:fe()}],"scale-x":[{"scale-x":fe()}],"scale-y":[{"scale-y":fe()}],"scale-z":[{"scale-z":fe()}],"scale-3d":["scale-3d"],skew:[{skew:ve()}],"skew-x":[{"skew-x":ve()}],"skew-y":[{"skew-y":ve()}],transform:[{transform:[X,K,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:xe()}],"translate-x":[{"translate-x":xe()}],"translate-y":[{"translate-y":xe()}],"translate-z":[{"translate-z":xe()}],"translate-none":["translate-none"],accent:[{accent:E()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:E()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X,K]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X,K]}],fill:[{fill:["none",...E()]}],"stroke-w":[{stroke:[ue,jn,Qo,Cd]}],stroke:[{stroke:["none",...E()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},nb=NL(rb),ib=(e,t,a)=>Math.min(Math.max(e,t),a),i2=e=>Math.round(ib(e,0,255)),np=e=>{let t=e.replace("#",""),a=parseInt(t,16);return{r:a>>16&255,g:a>>8&255,b:a&255}},ub=({r:e,g:t,b:a})=>{let o=l=>i2(l).toString(16).padStart(2,"0");return`#${o(e)}${o(t)}${o(a)}`},vd=({h:e,s:t,v:a})=>{e=e/360,t=t/100,a=a/100;let o=Math.floor(e*6),l=e*6-o,r=a*(1-t),n=a*(1-l*t),i=a*(1-(1-l)*t),u,d,c;switch(o%6){case 0:u=a,d=i,c=r;break;case 1:u=n,d=a,c=r;break;case 2:u=r,d=a,c=i;break;case 3:u=r,d=n,c=a;break;case 4:u=i,d=r,c=a;break;case 5:u=a,d=r,c=n;break;default:u=d=c=0}return{r:i2(u*255),g:i2(d*255),b:i2(c*255)}},xd=({r:e,g:t,b:a})=>{e/=255,t/=255,a/=255;let o=Math.max(e,t,a),l=Math.min(e,t,a),r=o-l,n=0,i=o===0?0:r/o,u=o;if(r!==0)switch(o){case e:n=((t-a)/r+(t<a?6:0))/6;break;case t:n=((a-e)/r+2)/6;break;case a:n=((e-t)/r+4)/6;break}return{h:Math.round(n*360),s:Math.round(i*100),v:Math.round(u*100)}},db=e=>ub(vd(e)),sb=e=>xd(np(e));var F6=({h:e,s:t,v:a})=>{let o=a*(2-t/100)/2,l=o!==0&&o!==100?(a-o)/Math.min(o,100-o)*100:0;return{h:e,s:Math.round(l),l:Math.round(o)}},j6=({h:e,s:t,l:a})=>{let o=a+t*Math.min(a,100-a)/100,l=o===0?0:2*(1-a/o)*100;return{h:e,s:Math.round(l),v:Math.round(o)}},cb=e=>{let{r:t,g:a,b:o}=np(e);return(.299*t+.587*a+.114*o)/255>.5?"#000000":"#ffffff"};var fb=(e,t="hex")=>{switch(t){case"hex":return e.getHex();case"rgb":let a=e.getRgb();return`rgb(${a.r}, ${a.g}, ${a.b})`;case"rgba":let o=e.getRgba();return`rgba(${o.r}, ${o.g}, ${o.b}, ${o.a})`;case"hsl":let l=e.getHsl();return`hsl(${l.h}, ${l.s}%, ${l.l}%)`;case"hsla":let r=e.getHsla();return`hsla(${r.h}, ${r.s}%, ${r.l}%, ${r.a})`;default:u2()}};function pb(e){switch(e.type){case"hex":return{...sb(e.value),a:1};case"rgb":return{...xd(e),a:1};case"rgba":return{...xd(e),a:e.a};case"hsl":return{...j6(e),a:1};case"hsla":return{...j6(e),a:1};case"hsv":return{...e,a:1};case"hsva":return{...e};default:u2()}}function co(e,t){let a=pb(e);switch(t){case"hex":return db(a);case"rgb":return vd(a);case"rgba":return{...vd(a),a:a.a};case"hsl":return F6(a);case"hsla":return{...F6(a),a:a.a};case"hsv":return{h:a.h,s:a.s,v:a.v};case"hsva":return a;default:u2()}}var Yo=(...e)=>nb(SL(e)),wa=(e,t,a)=>Math.min(Math.max(e,t),a),fo=e=>Math.round(e);function u2(e){throw new Error("You should never get here.")}var po=class e{constructor(t){this.colorInput=t,typeof t=="string"?this.color={type:"hex",value:t}:"type"in t?this.color=t:"r"in t?"a"in t?this.color={type:"rgba",...t}:this.color={type:"rgb",...t}:"v"in t?"a"in t?this.color={type:"hsva",...t}:this.color={type:"hsv",...t}:"a"in t?this.color={type:"hsla",...t}:this.color={type:"hsl",...t}}getRgb(){return co(this.color,"rgb")}getHsv(){return co(this.color,"hsv")}getHsla(){return co(this.color,"hsla")}getHsva(){return co(this.color,"hsva")}getHex(){return co(this.color,"hex")}getHsl(){return co(this.color,"hsl")}getRgba(){return co(this.color,"rgba")}format(t="hex"){return fb(this,t)}getContrastingColor(){return new e({type:"hex",value:cb(this.getHex())})}},G6=(e,t)=>{let a=e.getBoundingClientRect(),o,l;if("touches"in t){let d=t.touches[0]||t.changedTouches[0];o=d.clientX,l=d.clientY}else o=t.clientX,l=t.clientY;let r=o-a.left,n=l-a.top,i=wa(r/a.width,0,1),u=wa(n/a.height,0,1);return{left:i,top:u}},bd=({onMove:e,onMoveEnd:t,onKey:a,children:o,className:l,...r})=>{let n=(0,ie.useRef)(null),i=(0,ie.useRef)(!1),u=(0,ie.useCallback)(p=>{!i.current||!n.current||(p.preventDefault(),e(G6(n.current,p)))},[e]),d=(0,ie.useCallback)(()=>{i.current=!1,t(),document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",d),document.removeEventListener("touchmove",u),document.removeEventListener("touchend",d)},[u,t]),c=(0,ie.useCallback)(p=>{let m=n.current;m&&(p.preventDefault(),i.current=!0,e(G6(m,p.nativeEvent)),document.addEventListener("mousemove",u),document.addEventListener("mouseup",d),document.addEventListener("touchmove",u,{passive:!1}),document.addEventListener("touchend",d))},[e,u,d]),C=(0,ie.useCallback)(p=>{if(!a)return;let m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),a({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},[a]);return(0,ie.useEffect)(()=>()=>{document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",d),document.removeEventListener("touchmove",u),document.removeEventListener("touchend",d)},[u,d]),Ge.jsx("div",{ref:n,className:Yo("rounded-inherit absolute inset-0 touch-none outline-none","focus:[&_.react-colorful-pointer]:scale-110",l),onTouchStart:c,onMouseDown:c,onKeyDown:C,tabIndex:0,role:"slider",...r,children:o})},wd=({className:e,top:t=.5,left:a,color:o})=>Ge.jsx("div",{className:Yo("absolute z-[1] h-6 w-6 -translate-x-1/2 -translate-y-1/2 cursor-grab rounded-full border-2 border-white bg-white active:cursor-grabbing","react-colorful-pointer shadow-[0_2px_8px_rgba(0,0,0,0.15)] transition-transform",e),style:{top:`${t*100}%`,left:`${a*100}%`}}),Cb=({hsva:e,onChange:t,className:a,onFinishedUpdates:o})=>{let l=(0,ie.useCallback)(u=>{t({a:u.left},!1)},[t]),r=(0,ie.useCallback)(u=>{t({a:wa(e.a+u.left,0,1)},!0)},[e.a,t]),n=(0,ie.useMemo)(()=>new po({type:"hsva",h:e.h,s:e.s,v:e.v,a:0}).format("hsla"),[e.h,e.s,e.v]),i=(0,ie.useMemo)(()=>new po({type:"hsva",h:e.h,s:e.s,v:e.v,a:1}).format("hsla"),[e.h,e.s,e.v]);return Ge.jsx("div",{className:Yo("relative h-full w-full",a),children:Ge.jsxs(bd,{onMove:l,onMoveEnd:o,onKey:r,"aria-label":"Alpha","aria-valuetext":`${fo(e.a*100)}%`,"aria-valuenow":fo(e.a*100),"aria-valuemin":0,"aria-valuemax":100,className:"h-full w-full rounded-lg",children:[Ge.jsx("div",{className:"absolute inset-0 rounded-lg bg-white",style:{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><rect x="8" width="8" height="8"/><rect y="8" width="8" height="8"/></svg>')`}}),Ge.jsx("div",{className:"absolute inset-0 rounded-lg",style:{backgroundImage:`linear-gradient(90deg, ${n}, ${i})`}}),Ge.jsx(wd,{className:"z-[1]",top:.5,left:e.a,color:""})]})})},mb=({hue:e,onChange:t,className:a,onFinishedUpdates:o})=>{let l=(0,ie.useCallback)(n=>{let i=fo(wa(360*n.left,0,360));t({h:i},!1)},[t]),r=(0,ie.useCallback)(n=>{t({h:wa(e+n.left*360,0,360)},!0)},[e,t]);return Ge.jsx("div",{className:Yo("relative h-full w-full",a),children:Ge.jsxs(bd,{onMove:l,onMoveEnd:o,onKey:r,"aria-label":"Hue","aria-valuenow":fo(e),"aria-valuemax":360,"aria-valuemin":0,className:"h-full w-full rounded-lg",children:[Ge.jsx("div",{className:"absolute inset-0 rounded-lg",style:{background:"linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)"}}),Ge.jsx(wd,{className:"z-[2]",top:.5,left:e/360,color:""})]})})},hb=({hsva:e,onChange:t,className:a,onFinishedUpdates:o})=>{let l=(0,ie.useCallback)(i=>{let u=fo(wa(i.left*100,0,100)),d=fo(wa(100-i.top*100,0,100));t({s:u,v:d},!1)},[t]),r=(0,ie.useCallback)(i=>{t({s:wa(e.s+i.left*100,0,100),v:wa(e.v-i.top*100,0,100)},!0)},[e.s,e.v,t]),n=`hsl(${e.h}, 100%, 50%)`;return Ge.jsx("div",{className:Yo("relative h-full w-full rounded-xl",a),children:Ge.jsxs(bd,{onMove:l,onMoveEnd:o,onKey:r,"aria-label":"Color","aria-valuetext":`Saturation ${fo(e.s)}%, Brightness ${fo(e.v)}%`,className:"rounded-inherit h-full w-full",children:[Ge.jsx("div",{className:"rounded-inherit absolute inset-0 rounded-b-none",style:{backgroundColor:n,backgroundImage:"linear-gradient(to top, #000, rgba(0, 0, 0, 0)), linear-gradient(to right, #fff, rgba(255, 255, 255, 0))",boxShadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.05)"}}),Ge.jsx(wd,{className:"z-[3]",top:1-e.v/100,left:e.s/100,color:""})]})})},ip=(0,ie.createContext)(null),d2=()=>{let e=(0,ie.useContext)(ip);if(!e)throw new Error("ColorPicker compound components must be used within a ColorPicker");return e};function K6(e){return"type"in e?new po(e):e}var gb=({color:e,onChange:t,className:a,children:o,defaultColor:l,...r})=>{let[n,i]=(0,ie.useState)(K6(e??l??{h:340,s:58,v:100,a:1,type:"hsva"})),u=(0,ie.useRef)(!1),d=(0,ie.useRef)(n);(0,ie.useEffect)(()=>{!u.current&&e&&(d.current=K6(e),i(d.current))},[e]);let c=(0,ie.useCallback)((v,L)=>{let x=new po({type:"hsva",...d.current.getHsva(),...v});d.current=x,i(x),u.current=!L,t?.(x)},[t]),C=(0,ie.useCallback)(()=>{u.current=!1},[]),p=(0,ie.useCallback)(async()=>{if(!("EyeDropper"in window)){console.log("EyeDropper API not supported");return}try{let v=await new window.EyeDropper().open();v.sRGBHex&&c(co({type:"hex",value:v.sRGBHex},"hsva"),!0)}catch(v){console.log("EyeDropper cancelled or failed:",v)}},[t]),m={hsva:n.getHsva(),updateHsva:c,handleEyeDropper:p,onFinishedUpdates:C};return Ge.jsx(ip.Provider,{value:m,children:Ge.jsx("div",{...r,className:Yo("relative flex h-[280px] w-[280px] cursor-default flex-col rounded-2xl bg-white shadow-lg select-none",a),children:o})})},vb=({className:e})=>{let{hsva:t,updateHsva:a,onFinishedUpdates:o}=d2(),l=(0,ie.useCallback)((r,n)=>{a(r,n)},[a]);return Ge.jsx(hb,{hsva:t,onChange:l,className:e,onFinishedUpdates:o})},xb=({className:e})=>{let{hsva:t,updateHsva:a,onFinishedUpdates:o}=d2(),l=(0,ie.useCallback)((r,n)=>{a(r,n)},[a]);return Ge.jsx(mb,{hue:t.h,onChange:l,className:e,onFinishedUpdates:o})},Lb=({className:e})=>{let{hsva:t,updateHsva:a,onFinishedUpdates:o}=d2(),l=(0,ie.useCallback)((r,n)=>{a(r,n)},[a]);return Ge.jsx(Cb,{hsva:t,onChange:l,className:e,onFinishedUpdates:o})},bb=({className:e,title:t="Pick color from screen",children:a})=>{let{handleEyeDropper:o}=d2(),[l,r]=(0,ie.useState)(!1);return(0,ie.useEffect)(()=>{typeof window<"u"&&"EyeDropper"in window&&r(!0)},[]),l?Ge.jsx("button",{onClick:o,className:Yo("flex h-10 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-gray-100",e),title:t,children:a}):null},ur=Object.assign(gb,{Saturation:vb,Hue:xb,Alpha:Lb,EyeDropper:bb});function wb(e,t){switch(t){case"hex":return{type:"hex",value:e.getHex()};case"rgb":return{type:"rgb",...e.getRgb()};case"rgba":return{type:"rgba",...e.getRgba()};case"hsl":return{type:"hsl",...e.getHsl()};case"hsla":return{type:"hsla",...e.getHsla()};case"hsv":return{type:"hsv",...e.getHsv()};case"hsva":return{type:"hsva",...e.getHsva()};default:u2()}}var up=(e={type:"hex",value:"#ff6b9d"})=>{let[t,a]=(0,ie.useState)(()=>{let n=typeof e=="function"?e():e;return{color:new po(n),type:n.type}}),o=(0,ie.useMemo)(()=>wb(t.color,t.type),[t.color,t.type]),l=(0,ie.useMemo)(()=>{let n=t.color.getHsva();return{hex:t.color.getHex(),rgb:t.color.getRgb(),rgba:t.color.getRgba(),hsl:t.color.getHsl(),hsla:t.color.getHsla(),hsv:t.color.getHsv(),hsva:n,alpha:n.a}},[t.color]),r=(0,ie.useCallback)(n=>{try{let i="type"in n?new po(n):n;a(u=>({color:i,type:u.type}))}catch(i){console.warn("Invalid color input:",n,i)}},[]);return[{colorInput:o,colorState:l},r]};var _C=U(Ar(),1);var u1=U(ge());function dp(e,t,a,o){var l=this,r=(0,u1.useRef)(null),n=(0,u1.useRef)(0),i=(0,u1.useRef)(0),u=(0,u1.useRef)(null),d=(0,u1.useRef)([]),c=(0,u1.useRef)(),C=(0,u1.useRef)(),p=(0,u1.useRef)(e),m=(0,u1.useRef)(!0),v=(0,u1.useRef)(),L=(0,u1.useRef)();p.current=e;var x=typeof window<"u",f=!t&&t!==0&&x;if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var s=!!(a=a||{}).leading,h=!("trailing"in a)||!!a.trailing,g=!!a.flushOnExit&&h,b="maxWait"in a,R="debounceOnServer"in a&&!!a.debounceOnServer,S=b?Math.max(+a.maxWait||0,t):null,w=(0,u1.useMemo)(function(){var I=function(T){var Z=d.current,E=c.current;return d.current=c.current=null,n.current=T,i.current=i.current||T,C.current=p.current.apply(E,Z)},N=function(T,Z){f&&cancelAnimationFrame(u.current),u.current=f?requestAnimationFrame(T):setTimeout(T,Z)},_=function(T){if(!m.current)return!1;var Z=T-r.current;return!r.current||Z>=t||Z<0||b&&T-n.current>=S},O=function(T){return u.current=null,h&&d.current?I(T):(d.current=c.current=null,C.current)},k=function T(){var Z=Date.now();if(s&&i.current===n.current&&D(),_(Z))return O(Z);if(m.current){var E=t-(Z-r.current),re=b?Math.min(E,S-(Z-n.current)):E;N(T,re)}},D=function(){o&&o({})},A=function(){if(x||R){var T,Z=Date.now(),E=_(Z);if(d.current=[].slice.call(arguments),c.current=l,r.current=Z,g&&!v.current&&(v.current=function(){var re;((re=globalThis.document)==null?void 0:re.visibilityState)==="hidden"&&L.current.flush()},(T=globalThis.document)==null||T.addEventListener==null||T.addEventListener("visibilitychange",v.current)),E){if(!u.current&&m.current)return n.current=r.current,N(k,t),s?I(r.current):C.current;if(b)return N(k,t),I(r.current)}return u.current||N(k,t),C.current}};return A.cancel=function(){var T=u.current;T&&(f?cancelAnimationFrame(u.current):clearTimeout(u.current)),n.current=0,d.current=r.current=c.current=u.current=null,T&&o&&o({})},A.isPending=function(){return!!u.current},A.flush=function(){return u.current?O(Date.now()):C.current},A},[s,b,t,S,h,g,f,x,R,o]);return L.current=w,(0,u1.useEffect)(function(){return m.current=!0,function(){var I;g&&L.current.flush(),v.current&&((I=globalThis.document)==null||I.removeEventListener==null||I.removeEventListener("visibilitychange",v.current),v.current=null),m.current=!1}},[g]),w}var y1=U(ge(),1);function Gn(e){let t=e?.parentElement;for(;t;){let{overflowY:a}=getComputedStyle(t);if(a==="auto"||a==="scroll")return t;t=t.parentElement}return null}var sp='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';function cp({computePosition:e,onClose:t,autoFocus:a=!0,trapFocus:o=!1}={}){let[l,r]=y1.default.useState(!1),[n,i]=y1.default.useState({top:0,left:0}),u=y1.default.useRef(null),d=y1.default.useRef(null),c=y1.default.useRef(!1),C=y1.default.useRef(e);C.current=e;let p=y1.default.useRef(t);p.current=t;let m=y1.default.useRef(o);m.current=o;let v=y1.default.useCallback((...s)=>{!u.current||!C.current||i(C.current(u.current,...s))},[]),L=y1.default.useCallback(()=>{v(),c.current=!0,r(!0)},[v]),x=y1.default.useCallback(()=>{p.current&&p.current(),c.current=!1,r(!1),u.current?.focus()},[]),f=y1.default.useCallback(()=>{c.current?x():L()},[L,x]);return y1.default.useEffect(()=>{if(!l)return;let s=g=>{if(g.key==="Escape"&&(g.preventDefault(),x()),m.current&&g.key==="Tab"){let b=d.current;if(!b)return;let R=Array.from(b.querySelectorAll(sp)).filter(I=>!I.hasAttribute("disabled")),S=R[0],w=R.at(-1);if(!S||!w)return;g.shiftKey&&document.activeElement===S?(g.preventDefault(),w.focus()):!g.shiftKey&&document.activeElement===w&&(g.preventDefault(),S.focus())}},h=g=>{let b=d.current,R=u.current;if(!b||!R)return;let S=typeof g.composedPath=="function"?g.composedPath():[],w=S.includes(b)||g.target instanceof Node&&b.contains(g.target),I=S.includes(R)||g.target instanceof Node&&R.contains(g.target);!w&&!I&&x()};return document.addEventListener("keydown",s),document.addEventListener("mousedown",h),document.addEventListener("touchstart",h),()=>{document.removeEventListener("keydown",s),document.removeEventListener("mousedown",h),document.removeEventListener("touchstart",h)}},[l,x]),y1.default.useEffect(()=>{if(!l||!a||!d.current)return;let s=d.current.querySelector(sp);s&&s.focus()},[l,a]),y1.default.useEffect(()=>{if(!l||!u.current)return;let s=Gn(u.current);if(!s)return;let h=()=>x();return s.addEventListener("scroll",h,{passive:!0}),()=>s.removeEventListener("scroll",h)},[l,x]),{isOpen:l,open:L,close:x,toggle:f,triggerRef:u,popoverRef:d,position:n,reposition:v}}var yb=(e,t)=>{if(typeof e=="number"){if(t===3)return{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|e&240)/255,b:(e&15|e<<4&240)/255};if(t===4)return{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|e&240)/255,alpha:(e&15|e<<4&240)/255};if(t===6)return{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(e&255)/255};if(t===8)return{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(e&255)/255}}},s2=yb;var Ib={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},fp=Ib;var Mb=e=>s2(fp[e.toLowerCase()],6),pp=Mb;var Sb=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,Rb=e=>{let t;return(t=e.match(Sb))?s2(parseInt(t[1],16),t[1].length):void 0},Cp=Rb;var k1="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",lH=`(?:${k1}|none)`,Wo=`${k1}%`,rH=`(?:${k1}%|none)`,Kn=`(?:${k1}%|${k1})`,Hb=`(?:${k1}%|${k1}|none)`,mp=`(?:${k1}(deg|grad|rad|turn)|${k1})`,nH=`(?:${k1}(deg|grad|rad|turn)|${k1}|none)`,Co="\\s*,\\s*";var iH=new RegExp("^"+Hb+"$");var kb=new RegExp(`^rgba?\\(\\s*${k1}${Co}${k1}${Co}${k1}\\s*(?:,\\s*${Kn}\\s*)?\\)$`),Tb=new RegExp(`^rgba?\\(\\s*${Wo}${Co}${Wo}${Co}${Wo}\\s*(?:,\\s*${Kn}\\s*)?\\)$`),_b=e=>{let t={mode:"rgb"},a;if(a=e.match(kb))a[1]!==void 0&&(t.r=a[1]/255),a[2]!==void 0&&(t.g=a[2]/255),a[3]!==void 0&&(t.b=a[3]/255);else if(a=e.match(Tb))a[1]!==void 0&&(t.r=a[1]/100),a[2]!==void 0&&(t.g=a[2]/100),a[3]!==void 0&&(t.b=a[3]/100);else return;return a[4]!==void 0?t.alpha=Math.max(0,Math.min(1,a[4]/100)):a[5]!==void 0&&(t.alpha=Math.max(0,Math.min(1,+a[5]))),t},hp=_b;var Eb=(e,t)=>e===void 0?void 0:typeof e!="object"?Jo(e):e.mode!==void 0?e:t?{...e,mode:t}:void 0,c2=Eb;var Ob=(e="rgb")=>t=>(t=c2(t,e))!==void 0?t.mode===e?t:Vt[t.mode][e]?Vt[t.mode][e](t):e==="rgb"?Vt[t.mode].rgb(t):Vt.rgb[e](Vt[t.mode].rgb(t)):void 0,lt=Ob;var Vt={},gp={},Xn=[],yd={},Db=e=>e,we=e=>(Vt[e.mode]={...Vt[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(t=>{Vt[t]||(Vt[t]={}),Vt[t][e.mode]=e.fromMode[t]}),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach(t=>{if(e.ranges[t]===void 0&&(e.ranges[t]=[0,1]),!e.interpolate[t])throw new Error(`Missing interpolator for: ${t}`);typeof e.interpolate[t]=="function"&&(e.interpolate[t]={use:e.interpolate[t]}),e.interpolate[t].fixup||(e.interpolate[t].fixup=Db)}),gp[e.mode]=e,(e.parse||[]).forEach(t=>{Vb(t,e.mode)}),lt(e.mode)),f2=e=>gp[e],Vb=(e,t)=>{if(typeof e=="string"){if(!t)throw new Error("'mode' required when 'parser' is a string");yd[e]=t}else typeof e=="function"&&Xn.indexOf(e)<0&&Xn.push(e)};var Id=/[^\x00-\x7F]|[a-zA-Z_]/,Bb=/[^\x00-\x7F]|[-\w]/,V={Function:"function",Ident:"ident",Number:"number",Percentage:"percentage",ParenClose:")",None:"none",Hue:"hue",Alpha:"alpha"},J=0;function p2(e){let t=e[J],a=e[J+1];return t==="-"||t==="+"?/\d/.test(a)||a==="."&&/\d/.test(e[J+2]):t==="."?/\d/.test(a):/\d/.test(t)}function Md(e){if(J>=e.length)return!1;let t=e[J];if(Id.test(t))return!0;if(t==="-"){if(e.length-J<2)return!1;let a=e[J+1];return!!(a==="-"||Id.test(a))}return!1}var Ab={deg:1,rad:180/Math.PI,grad:9/10,turn:360};function Qn(e){let t="";if((e[J]==="-"||e[J]==="+")&&(t+=e[J++]),t+=C2(e),e[J]==="."&&/\d/.test(e[J+1])&&(t+=e[J++]+C2(e)),(e[J]==="e"||e[J]==="E")&&((e[J+1]==="-"||e[J+1]==="+")&&/\d/.test(e[J+2])?t+=e[J++]+e[J++]+C2(e):/\d/.test(e[J+1])&&(t+=e[J++]+C2(e))),Md(e)){let a=m2(e);return a==="deg"||a==="rad"||a==="turn"||a==="grad"?{type:V.Hue,value:t*Ab[a]}:void 0}return e[J]==="%"?(J++,{type:V.Percentage,value:+t}):{type:V.Number,value:+t}}function C2(e){let t="";for(;/\d/.test(e[J]);)t+=e[J++];return t}function m2(e){let t="";for(;J<e.length&&Bb.test(e[J]);)t+=e[J++];return t}function Zb(e){let t=m2(e);return e[J]==="("?(J++,{type:V.Function,value:t}):t==="none"?{type:V.None,value:void 0}:{type:V.Ident,value:t}}function zb(e=""){let t=e.trim(),a=[],o;for(J=0;J<t.length;){if(o=t[J++],o===`
|
|
258
|
+
`||o===" "||o===" "){for(;J<t.length&&(t[J]===`
|
|
259
|
+
`||t[J]===" "||t[J]===" ");)J++;continue}if(o===",")return;if(o===")"){a.push({type:V.ParenClose});continue}if(o==="+"){if(J--,p2(t)){a.push(Qn(t));continue}return}if(o==="-"){if(J--,p2(t)){a.push(Qn(t));continue}if(Md(t)){a.push({type:V.Ident,value:m2(t)});continue}return}if(o==="."){if(J--,p2(t)){a.push(Qn(t));continue}return}if(o==="/"){for(;J<t.length&&(t[J]===`
|
|
260
|
+
`||t[J]===" "||t[J]===" ");)J++;let l;if(p2(t)&&(l=Qn(t),l.type!==V.Hue)){a.push({type:V.Alpha,value:l});continue}if(Md(t)&&m2(t)==="none"){a.push({type:V.Alpha,value:{type:V.None,value:void 0}});continue}return}if(/\d/.test(o)){J--,a.push(Qn(t));continue}if(Id.test(o)){J--,a.push(Zb(t));continue}return}return a}function Nb(e){e._i=0;let t=e[e._i++];if(!t||t.type!==V.Function||t.value!=="color"||(t=e[e._i++],t.type!==V.Ident))return;let a=yd[t.value];if(!a)return;let o={mode:a},l=vp(e,!1);if(!l)return;let r=f2(a).channels;for(let n=0,i,u;n<r.length;n++)i=l[n],u=r[n],i.type!==V.None&&(o[u]=i.type===V.Number?i.value:i.value/100,u==="alpha"&&(o[u]=Math.max(0,Math.min(1,o[u]))));return o}function vp(e,t){let a=[],o;for(;e._i<e.length;){if(o=e[e._i++],o.type===V.None||o.type===V.Number||o.type===V.Alpha||o.type===V.Percentage||t&&o.type===V.Hue){a.push(o);continue}if(o.type===V.ParenClose){if(e._i<e.length)return;continue}return}if(!(a.length<3||a.length>4)){if(a.length===4){if(a[3].type!==V.Alpha)return;a[3]=a[3].value}return a.length===3&&a.push({type:V.None,value:void 0}),a.every(l=>l.type!==V.Alpha)?a:void 0}}function Pb(e,t){e._i=0;let a=e[e._i++];if(!a||a.type!==V.Function)return;let o=vp(e,t);if(o)return o.unshift(a.value),o}var Ub=e=>{if(typeof e!="string")return;let t=zb(e),a=t?Pb(t,!0):void 0,o,l=0,r=Xn.length;for(;l<r;)if((o=Xn[l++](e,a))!==void 0)return o;return t?Nb(t):void 0},Jo=Ub;function qb(e,t){if(!t||t[0]!=="rgb"&&t[0]!=="rgba")return;let a={mode:"rgb"},[,o,l,r,n]=t;if(!(o.type===V.Hue||l.type===V.Hue||r.type===V.Hue))return o.type!==V.None&&(a.r=o.type===V.Number?o.value/255:o.value/100),l.type!==V.None&&(a.g=l.type===V.Number?l.value/255:l.value/100),r.type!==V.None&&(a.b=r.type===V.Number?r.value/255:r.value/100),n.type!==V.None&&(a.alpha=Math.min(1,Math.max(0,n.type===V.Number?n.value:n.value/100))),a}var xp=qb;var $b=e=>e==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,Lp=$b;var bp=(e,t,a)=>e+a*(t-e);var Fb=e=>{let t=[];for(let a=0;a<e.length-1;a++){let o=e[a],l=e[a+1];o===void 0&&l===void 0?t.push(void 0):o!==void 0&&l!==void 0?t.push([o,l]):t.push(o!==void 0?[o,o]:[l,l])}return t},wp=e=>t=>{let a=Fb(t);return o=>{let l=o*a.length,r=o>=1?a.length-1:Math.max(Math.floor(l),0),n=a[r];return n===void 0?void 0:e(n[0],n[1],l-r)}};var B=wp(bp);var de=e=>{let t=!1,a=e.map(o=>o!==void 0?(t=!0,o):1);return t?a:e};var jb={mode:"rgb",channels:["r","g","b","alpha"],parse:[xp,Cp,hp,pp,Lp,"srgb"],serialize:"srgb",interpolate:{r:B,g:B,b:B,alpha:{use:B,fixup:de}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},wt=jb;var Sd=(e=0)=>Math.pow(Math.abs(e),2.19921875)*Math.sign(e),Gb=e=>{let t=Sd(e.r),a=Sd(e.g),o=Sd(e.b),l={mode:"xyz65",x:.5766690429101305*t+.1855582379065463*a+.1882286462349947*o,y:.297344975250536*t+.6273635662554661*a+.0752914584939979*o,z:.0270313613864123*t+.0706888525358272*a+.9913375368376386*o};return e.alpha!==void 0&&(l.alpha=e.alpha),l},Rd=Gb;var Hd=e=>Math.pow(Math.abs(e),.4547069271758437)*Math.sign(e),Kb=({x:e,y:t,z:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l={mode:"a98",r:Hd(e*2.0415879038107465-t*.5650069742788597-.3447313507783297*a),g:Hd(e*-.9692436362808798+t*1.8759675015077206+.0415550574071756*a),b:Hd(e*.0134442806320312-t*.1183623922310184+1.0151749943912058*a)};return o!==void 0&&(l.alpha=o),l},kd=Kb;var Td=(e=0)=>{let t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},Xb=({r:e,g:t,b:a,alpha:o})=>{let l={mode:"lrgb",r:Td(e),g:Td(t),b:Td(a)};return o!==void 0&&(l.alpha=o),l},yt=Xb;var Qb=e=>{let{r:t,g:a,b:o,alpha:l}=yt(e),r={mode:"xyz65",x:.4123907992659593*t+.357584339383878*a+.1804807884018343*o,y:.2126390058715102*t+.715168678767756*a+.0721923153607337*o,z:.0193308187155918*t+.119194779794626*a+.9505321522496607*o};return l!==void 0&&(r.alpha=l),r},P1=Qb;var _d=(e=0)=>{let t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,.4166666666666667)-.055):e*12.92},Yb=({r:e,g:t,b:a,alpha:o},l="rgb")=>{let r={mode:l,r:_d(e),g:_d(t),b:_d(a)};return o!==void 0&&(r.alpha=o),r},It=Yb;var Wb=({x:e,y:t,z:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=It({r:e*3.2409699419045226-t*1.537383177570094-.4986107602930034*a,g:e*-.9692436362808796+t*1.8759675015077204+.0415550574071756*a,b:e*.0556300796969936-t*.2039769588889765+1.0569715142428784*a});return o!==void 0&&(l.alpha=o),l},U1=Wb;var Jb={...wt,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>kd(P1(e)),xyz65:kd},toMode:{rgb:e=>U1(Rd(e)),xyz65:Rd}},yp=Jb;var ew=e=>(e=e%360)<0?e+360:e,Te=ew;var tw=(e,t)=>e.map((a,o,l)=>{if(a===void 0)return a;let r=Te(a);return o===0||e[o-1]===void 0?r:t(r-Te(l[o-1]))}).reduce((a,o)=>!a.length||o===void 0||a[a.length-1]===void 0?(a.push(o),a):(a.push(o+a[a.length-1]),a),[]),d1=e=>tw(e,t=>Math.abs(t)<=180?t:t-360*Math.sign(t));var Je=[-.14861,1.78277,-.29227,-.90649,1.97294,0],Ip=Math.PI/180,Mp=180/Math.PI;var Sp=Je[3]*Je[4],Rp=Je[1]*Je[4],Hp=Je[1]*Je[2]-Je[0]*Je[3],aw=({r:e,g:t,b:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=(Hp*a+e*Sp-t*Rp)/(Hp+Sp-Rp),r=a-l,n=(Je[4]*(t-l)-Je[2]*r)/Je[3],i={mode:"cubehelix",l,s:l===0||l===1?void 0:Math.sqrt(r*r+n*n)/(Je[4]*l*(1-l))};return i.s&&(i.h=Math.atan2(n,r)*Mp-120),o!==void 0&&(i.alpha=o),i},kp=aw;var ow=({h:e,s:t,l:a,alpha:o})=>{let l={mode:"rgb"};e=(e===void 0?0:e+120)*Ip,a===void 0&&(a=0);let r=t===void 0?0:t*a*(1-a),n=Math.cos(e),i=Math.sin(e);return l.r=a+r*(Je[0]*n+Je[1]*i),l.g=a+r*(Je[2]*n+Je[3]*i),l.b=a+r*(Je[4]*n+Je[5]*i),o!==void 0&&(l.alpha=o),l},Tp=ow;var mo=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.s||!t.s)return 0;let a=Te(e.h),o=Te(t.h),l=Math.sin((o-a+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*t.s)*l},_p=(e,t)=>{if(e.h===void 0||t.h===void 0)return 0;let a=Te(e.h),o=Te(t.h);return Math.abs(o-a)>180?a-(o-360*Math.sign(o-a)):o-a},ho=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.c||!t.c)return 0;let a=Te(e.h),o=Te(t.h),l=Math.sin((o-a+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*l};var s1=e=>{let t=e.reduce((o,l)=>{if(l!==void 0){let r=l*Math.PI/180;o.sin+=Math.sin(r),o.cos+=Math.cos(r)}return o},{sin:0,cos:0}),a=Math.atan2(t.sin,t.cos)*180/Math.PI;return a<0?360+a:a};var lw={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:kp},toMode:{rgb:Tp},interpolate:{h:{use:B,fixup:d1},s:B,l:B,alpha:{use:B,fixup:de}},difference:{h:mo},average:{h:s1}},Ep=lw;var rw=({l:e,a:t,b:a,alpha:o},l="lch")=>{t===void 0&&(t=0),a===void 0&&(a=0);let r=Math.sqrt(t*t+a*a),n={mode:l,l:e,c:r};return r&&(n.h=Te(Math.atan2(a,t)*180/Math.PI)),o!==void 0&&(n.alpha=o),n},rt=rw;var nw=({l:e,c:t,h:a,alpha:o},l="lab")=>{a===void 0&&(a=0);let r={mode:l,l:e,a:t?t*Math.cos(a/180*Math.PI):0,b:t?t*Math.sin(a/180*Math.PI):0};return o!==void 0&&(r.alpha=o),r},nt=nw;var h2=Math.pow(29,3)/Math.pow(3,3),g2=Math.pow(6,3)/Math.pow(29,3);var Ne={X:.9642956764295677,Y:1,Z:.8251046025104602},go={X:.3127/.329,Y:1,Z:(1-.3127-.329)/.329},Lk=Math.pow(29,3)/Math.pow(3,3),bk=Math.pow(6,3)/Math.pow(29,3);var Ed=e=>Math.pow(e,3)>g2?Math.pow(e,3):(116*e-16)/h2,iw=({l:e,a:t,b:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=(e+16)/116,r=t/500+l,n=l-a/200,i={mode:"xyz65",x:Ed(r)*go.X,y:Ed(l)*go.Y,z:Ed(n)*go.Z};return o!==void 0&&(i.alpha=o),i},v2=iw;var uw=e=>U1(v2(e)),vo=uw;var Od=e=>e>g2?Math.cbrt(e):(h2*e+16)/116,dw=({x:e,y:t,z:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=Od(e/go.X),r=Od(t/go.Y),n=Od(a/go.Z),i={mode:"lab65",l:116*r-16,a:500*(l-r),b:200*(r-n)};return o!==void 0&&(i.alpha=o),i},x2=dw;var sw=e=>{let t=x2(P1(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},xo=sw;var el=.14444444444444443*Math.PI,dr=Math.cos(el),sr=Math.sin(el),L2=100/Math.log(139/100);var cw=({l:e,c:t,h:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l={mode:"lab65",l:(Math.exp(e*1/L2)-1)/.0039},r=(Math.exp(.0435*t*1*1)-1)/.075,n=r*Math.cos(a/180*Math.PI-el),i=r*Math.sin(a/180*Math.PI-el);return l.a=n*dr-i/.83*sr,l.b=n*sr+i/.83*dr,o!==void 0&&(l.alpha=o),l},Wn=cw;var fw=({l:e,a:t,b:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=t*dr+a*sr,r=.83*(a*dr-t*sr),n=Math.sqrt(l*l+r*r),i={mode:"dlch",l:L2/1*Math.log(1+.0039*e),c:Math.log(1+.075*n)/(.0435*1*1)};return i.c&&(i.h=Te((Math.atan2(r,l)+el)/Math.PI*180)),o!==void 0&&(i.alpha=o),i},Jn=fw;var Op=e=>Wn(rt(e,"dlch")),Dp=e=>nt(Jn(e),"dlab"),pw={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:Op,rgb:e=>vo(Op(e))},fromMode:{lab65:Dp,rgb:e=>Dp(xo(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:B,a:B,b:B,alpha:{use:B,fixup:de}}},Vp=pw;var Cw={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:Wn,dlab:e=>nt(e,"dlab"),rgb:e=>vo(Wn(e))},fromMode:{lab65:Jn,dlab:e=>rt(e,"dlch"),rgb:e=>Jn(xo(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:B,c:B,h:{use:B,fixup:d1},alpha:{use:B,fixup:de}},difference:{h:ho},average:{h:s1}},Bp=Cw;function Vd({h:e,s:t,i:a,alpha:o}){e=Te(e!==void 0?e:0),t===void 0&&(t=0),a===void 0&&(a=0);let l=Math.abs(e/60%2-1),r;switch(Math.floor(e/60)){case 0:r={r:a*(1+t*(3/(2-l)-1)),g:a*(1+t*(3*(1-l)/(2-l)-1)),b:a*(1-t)};break;case 1:r={r:a*(1+t*(3*(1-l)/(2-l)-1)),g:a*(1+t*(3/(2-l)-1)),b:a*(1-t)};break;case 2:r={r:a*(1-t),g:a*(1+t*(3/(2-l)-1)),b:a*(1+t*(3*(1-l)/(2-l)-1))};break;case 3:r={r:a*(1-t),g:a*(1+t*(3*(1-l)/(2-l)-1)),b:a*(1+t*(3/(2-l)-1))};break;case 4:r={r:a*(1+t*(3*(1-l)/(2-l)-1)),g:a*(1-t),b:a*(1+t*(3/(2-l)-1))};break;case 5:r={r:a*(1+t*(3/(2-l)-1)),g:a*(1-t),b:a*(1+t*(3*(1-l)/(2-l)-1))};break;default:r={r:a*(1-t),g:a*(1-t),b:a*(1-t)}}return r.mode="rgb",o!==void 0&&(r.alpha=o),r}function Bd({r:e,g:t,b:a,alpha:o}){e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=Math.max(e,t,a),r=Math.min(e,t,a),n={mode:"hsi",s:e+t+a===0?0:1-3*r/(e+t+a),i:(e+t+a)/3};return l-r!==0&&(n.h=(l===e?(t-a)/(l-r)+(t<a)*6:l===t?(a-e)/(l-r)+2:(e-t)/(l-r)+4)*60),o!==void 0&&(n.alpha=o),n}var mw={mode:"hsi",toMode:{rgb:Vd},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:Bd},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:B,fixup:d1},s:B,i:B,alpha:{use:B,fixup:de}},difference:{h:mo},average:{h:s1}},Ap=mw;function Ad({h:e,s:t,l:a,alpha:o}){e=Te(e!==void 0?e:0),t===void 0&&(t=0),a===void 0&&(a=0);let l=a+t*(a<.5?a:1-a),r=l-(l-a)*2*Math.abs(e/60%2-1),n;switch(Math.floor(e/60)){case 0:n={r:l,g:r,b:2*a-l};break;case 1:n={r,g:l,b:2*a-l};break;case 2:n={r:2*a-l,g:l,b:r};break;case 3:n={r:2*a-l,g:r,b:l};break;case 4:n={r,g:2*a-l,b:l};break;case 5:n={r:l,g:2*a-l,b:r};break;default:n={r:2*a-l,g:2*a-l,b:2*a-l}}return n.mode="rgb",o!==void 0&&(n.alpha=o),n}function Zd({r:e,g:t,b:a,alpha:o}){e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=Math.max(e,t,a),r=Math.min(e,t,a),n={mode:"hsl",s:l===r?0:(l-r)/(1-Math.abs(l+r-1)),l:.5*(l+r)};return l-r!==0&&(n.h=(l===e?(t-a)/(l-r)+(t<a)*6:l===t?(a-e)/(l-r)+2:(e-t)/(l-r)+4)*60),o!==void 0&&(n.alpha=o),n}var hw=(e,t)=>{switch(t){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return e*360}},Zp=hw;var gw=new RegExp(`^hsla?\\(\\s*${mp}${Co}${Wo}${Co}${Wo}\\s*(?:,\\s*${Kn}\\s*)?\\)$`),vw=e=>{let t=e.match(gw);if(!t)return;let a={mode:"hsl"};return t[3]!==void 0?a.h=+t[3]:t[1]!==void 0&&t[2]!==void 0&&(a.h=Zp(t[1],t[2])),t[4]!==void 0&&(a.s=Math.min(Math.max(0,t[4]/100),1)),t[5]!==void 0&&(a.l=Math.min(Math.max(0,t[5]/100),1)),t[6]!==void 0?a.alpha=Math.max(0,Math.min(1,t[6]/100)):t[7]!==void 0&&(a.alpha=Math.max(0,Math.min(1,+t[7]))),a},zp=vw;function xw(e,t){if(!t||t[0]!=="hsl"&&t[0]!=="hsla")return;let a={mode:"hsl"},[,o,l,r,n]=t;if(o.type!==V.None){if(o.type===V.Percentage)return;a.h=o.value}if(l.type!==V.None){if(l.type===V.Hue)return;a.s=l.value/100}if(r.type!==V.None){if(r.type===V.Hue)return;a.l=r.value/100}return n.type!==V.None&&(a.alpha=Math.min(1,Math.max(0,n.type===V.Number?n.value:n.value/100))),a}var Np=xw;var Lw={mode:"hsl",toMode:{rgb:Ad},fromMode:{rgb:Zd},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[Np,zp],serialize:e=>`hsl(${e.h!==void 0?e.h:"none"} ${e.s!==void 0?e.s*100+"%":"none"} ${e.l!==void 0?e.l*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:B,fixup:d1},s:B,l:B,alpha:{use:B,fixup:de}},difference:{h:mo},average:{h:s1}},b2=Lw;function e0({h:e,s:t,v:a,alpha:o}){e=Te(e!==void 0?e:0),t===void 0&&(t=0),a===void 0&&(a=0);let l=Math.abs(e/60%2-1),r;switch(Math.floor(e/60)){case 0:r={r:a,g:a*(1-t*l),b:a*(1-t)};break;case 1:r={r:a*(1-t*l),g:a,b:a*(1-t)};break;case 2:r={r:a*(1-t),g:a,b:a*(1-t*l)};break;case 3:r={r:a*(1-t),g:a*(1-t*l),b:a};break;case 4:r={r:a*(1-t*l),g:a*(1-t),b:a};break;case 5:r={r:a,g:a*(1-t),b:a*(1-t*l)};break;default:r={r:a*(1-t),g:a*(1-t),b:a*(1-t)}}return r.mode="rgb",o!==void 0&&(r.alpha=o),r}function t0({r:e,g:t,b:a,alpha:o}){e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=Math.max(e,t,a),r=Math.min(e,t,a),n={mode:"hsv",s:l===0?0:1-r/l,v:l};return l-r!==0&&(n.h=(l===e?(t-a)/(l-r)+(t<a)*6:l===t?(a-e)/(l-r)+2:(e-t)/(l-r)+4)*60),o!==void 0&&(n.alpha=o),n}var bw={mode:"hsv",toMode:{rgb:e0},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:t0},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:B,fixup:d1},s:B,v:B,alpha:{use:B,fixup:de}},difference:{h:mo},average:{h:s1}},w2=bw;function zd({h:e,w:t,b:a,alpha:o}){if(t===void 0&&(t=0),a===void 0&&(a=0),t+a>1){let l=t+a;t/=l,a/=l}return e0({h:e,s:a===1?1:1-t/(1-a),v:1-a,alpha:o})}function Nd(e){let t=t0(e);if(t===void 0)return;let a=t.s!==void 0?t.s:0,o=t.v!==void 0?t.v:0,l={mode:"hwb",w:(1-a)*o,b:1-o};return t.h!==void 0&&(l.h=t.h),t.alpha!==void 0&&(l.alpha=t.alpha),l}function ww(e,t){if(!t||t[0]!=="hwb")return;let a={mode:"hwb"},[,o,l,r,n]=t;if(o.type!==V.None){if(o.type===V.Percentage)return;a.h=o.value}if(l.type!==V.None){if(l.type===V.Hue)return;a.w=l.value/100}if(r.type!==V.None){if(r.type===V.Hue)return;a.b=r.value/100}return n.type!==V.None&&(a.alpha=Math.min(1,Math.max(0,n.type===V.Number?n.value:n.value/100))),a}var Pp=ww;var yw={mode:"hwb",toMode:{rgb:zd},fromMode:{rgb:Nd},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[Pp],serialize:e=>`hwb(${e.h!==void 0?e.h:"none"} ${e.w!==void 0?e.w*100+"%":"none"} ${e.b!==void 0?e.b*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:B,fixup:d1},w:B,b:B,alpha:{use:B,fixup:de}},difference:{h:_p},average:{h:s1}},Up=yw;var cr=.1593017578125,qp=78.84375,fr=.8359375,pr=18.8515625,Cr=18.6875;function y2(e){if(e<0)return 0;let t=Math.pow(e,1/qp);return 1e4*Math.pow(Math.max(0,t-fr)/(pr-Cr*t),1/cr)}function I2(e){if(e<0)return 0;let t=Math.pow(e/1e4,cr);return Math.pow((fr+pr*t)/(1+Cr*t),qp)}var Pd=e=>Math.max(e/203,0),Mw=({i:e,t,p:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=y2(e+.008609037037932761*t+.11102962500302593*a),r=y2(e-.00860903703793275*t-.11102962500302599*a),n=y2(e+.5600313357106791*t-.32062717498731885*a),i={mode:"xyz65",x:Pd(2.070152218389422*l-1.3263473389671556*r+.2066510476294051*n),y:Pd(.3647385209748074*l+.680566024947227*r-.0453045459220346*n),z:Pd(-.049747207535812*l-.0492609666966138*r+1.1880659249923042*n)};return o!==void 0&&(i.alpha=o),i},Ud=Mw;var qd=(e=0)=>Math.max(e*203,0),Sw=({x:e,y:t,z:a,alpha:o})=>{let l=qd(e),r=qd(t),n=qd(a),i=I2(.3592832590121217*l+.6976051147779502*r-.0358915932320289*n),u=I2(-.1920808463704995*l+1.1004767970374323*r+.0753748658519118*n),d=I2(.0070797844607477*l+.0748396662186366*r+.8433265453898765*n),c=.5*i+.5*u,C=1.61376953125*i-3.323486328125*u+1.709716796875*d,p=4.378173828125*i-4.24560546875*u-.132568359375*d,m={mode:"itp",i:c,t:C,p};return o!==void 0&&(m.alpha=o),m},$d=Sw;var Rw={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:Ud,rgb:e=>U1(Ud(e))},fromMode:{xyz65:$d,rgb:e=>$d(P1(e))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:B,t:B,p:B,alpha:{use:B,fixup:de}}},$p=Rw;var Hw=134.03437499999998,kw=16295499532821565e-27,Fd=e=>{if(e<0)return 0;let t=Math.pow(e/1e4,cr);return Math.pow((fr+pr*t)/(1+Cr*t),Hw)},jd=(e=0)=>Math.max(e*203,0),Tw=({x:e,y:t,z:a,alpha:o})=>{e=jd(e),t=jd(t),a=jd(a);let l=1.15*e-.15*a,r=.66*t+.34*e,n=Fd(.41478972*l+.579999*r+.014648*a),i=Fd(-.20151*l+1.120649*r+.0531008*a),u=Fd(-.0166008*l+.2648*r+.6684799*a),d=(n+i)/2,c={mode:"jab",j:.44*d/(1-.56*d)-kw,a:3.524*n-4.066708*i+.542708*u,b:.199076*n+1.096799*i-1.295875*u};return o!==void 0&&(c.alpha=o),c},M2=Tw;var _w=134.03437499999998,Fp=16295499532821565e-27,Gd=e=>{if(e<0)return 0;let t=Math.pow(e,1/_w);return 1e4*Math.pow((fr-t)/(Cr*t-pr),1/cr)},Kd=e=>e/203,Ew=({j:e,a:t,b:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=(e+Fp)/(.44+.56*(e+Fp)),r=Gd(l+.13860504*t+.058047316*a),n=Gd(l-.13860504*t-.058047316*a),i=Gd(l-.096019242*t-.8118919*a),u={mode:"xyz65",x:Kd(1.661373024652174*r-.914523081304348*n+.23136208173913045*i),y:Kd(-.3250758611844533*r+1.571847026732543*n-.21825383453227928*i),z:Kd(-.090982811*r-.31272829*n+1.5227666*i)};return o!==void 0&&(u.alpha=o),u},S2=Ew;var Ow=e=>{let t=M2(P1(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},R2=Ow;var Dw=e=>U1(S2(e)),H2=Dw;var Vw={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:R2,xyz65:M2},toMode:{rgb:H2,xyz65:S2},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:B,a:B,b:B,alpha:{use:B,fixup:de}}},jp=Vw;var Bw=({j:e,a:t,b:a,alpha:o})=>{t===void 0&&(t=0),a===void 0&&(a=0);let l=Math.sqrt(t*t+a*a),r={mode:"jch",j:e,c:l};return l&&(r.h=Te(Math.atan2(a,t)*180/Math.PI)),o!==void 0&&(r.alpha=o),r},Xd=Bw;var Aw=({j:e,c:t,h:a,alpha:o})=>{a===void 0&&(a=0);let l={mode:"jab",j:e,a:t?t*Math.cos(a/180*Math.PI):0,b:t?t*Math.sin(a/180*Math.PI):0};return o!==void 0&&(l.alpha=o),l},Qd=Aw;var Zw={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:Qd,rgb:e=>H2(Qd(e))},fromMode:{rgb:e=>Xd(R2(e)),jab:Xd},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:B,fixup:d1},c:B,j:B,alpha:{use:B,fixup:de}},difference:{h:ho},average:{h:s1}},Gp=Zw;var Lo=Math.pow(29,3)/Math.pow(3,3),mr=Math.pow(6,3)/Math.pow(29,3);var Yd=e=>Math.pow(e,3)>mr?Math.pow(e,3):(116*e-16)/Lo,zw=({l:e,a:t,b:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=(e+16)/116,r=t/500+l,n=l-a/200,i={mode:"xyz50",x:Yd(r)*Ne.X,y:Yd(l)*Ne.Y,z:Yd(n)*Ne.Z};return o!==void 0&&(i.alpha=o),i},hr=zw;var Nw=({x:e,y:t,z:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=It({r:e*3.1341359569958707-t*1.6173863321612538-.4906619460083532*a,g:e*-.978795502912089+t*1.916254567259524+.03344273116131949*a,b:e*.07195537988411677-t*.2289768264158322+1.405386058324125*a});return o!==void 0&&(l.alpha=o),l},Gt=Nw;var Pw=e=>Gt(hr(e)),k2=Pw;var Uw=e=>{let{r:t,g:a,b:o,alpha:l}=yt(e),r={mode:"xyz50",x:.436065742824811*t+.3851514688337912*a+.14307845442264197*o,y:.22249319175623702*t+.7168870538238823*a+.06061979053616537*o,z:.013923904500943465*t+.09708128566574634*a+.7140993584005155*o};return l!==void 0&&(r.alpha=l),r},Kt=Uw;var Wd=e=>e>mr?Math.cbrt(e):(Lo*e+16)/116,qw=({x:e,y:t,z:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=Wd(e/Ne.X),r=Wd(t/Ne.Y),n=Wd(a/Ne.Z),i={mode:"lab",l:116*r-16,a:500*(l-r),b:200*(r-n)};return o!==void 0&&(i.alpha=o),i},gr=qw;var $w=e=>{let t=gr(Kt(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},T2=$w;function Fw(e,t){if(!t||t[0]!=="lab")return;let a={mode:"lab"},[,o,l,r,n]=t;if(!(o.type===V.Hue||l.type===V.Hue||r.type===V.Hue))return o.type!==V.None&&(a.l=Math.min(Math.max(0,o.value),100)),l.type!==V.None&&(a.a=l.type===V.Number?l.value:l.value*125/100),r.type!==V.None&&(a.b=r.type===V.Number?r.value:r.value*125/100),n.type!==V.None&&(a.alpha=Math.min(1,Math.max(0,n.type===V.Number?n.value:n.value/100))),a}var Kp=Fw;var jw={mode:"lab",toMode:{xyz50:hr,rgb:k2},fromMode:{xyz50:gr,rgb:T2},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-125,125],b:[-125,125]},parse:[Kp],serialize:e=>`lab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:B,a:B,b:B,alpha:{use:B,fixup:de}}},vr=jw;var Gw={...vr,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:v2,rgb:vo},fromMode:{xyz65:x2,rgb:xo},ranges:{l:[0,100],a:[-125,125],b:[-125,125]}},Xp=Gw;function Kw(e,t){if(!t||t[0]!=="lch")return;let a={mode:"lch"},[,o,l,r,n]=t;if(o.type!==V.None){if(o.type===V.Hue)return;a.l=Math.min(Math.max(0,o.value),100)}if(l.type!==V.None&&(a.c=Math.max(0,l.type===V.Number?l.value:l.value*150/100)),r.type!==V.None){if(r.type===V.Percentage)return;a.h=r.value}return n.type!==V.None&&(a.alpha=Math.min(1,Math.max(0,n.type===V.Number?n.value:n.value/100))),a}var Qp=Kw;var Xw={mode:"lch",toMode:{lab:nt,rgb:e=>k2(nt(e))},fromMode:{rgb:e=>rt(T2(e)),lab:rt},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[Qp],serialize:e=>`lch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h!==void 0?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:B,fixup:d1},c:B,l:B,alpha:{use:B,fixup:de}},difference:{h:ho},average:{h:s1}},xr=Xw;var Qw={...xr,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>nt(e,"lab65"),rgb:e=>vo(nt(e,"lab65"))},fromMode:{rgb:e=>rt(xo(e),"lch65"),lab65:e=>rt(e,"lch65")},ranges:{l:[0,100],c:[0,150],h:[0,360]}},Yp=Qw;var Yw=({l:e,u:t,v:a,alpha:o})=>{t===void 0&&(t=0),a===void 0&&(a=0);let l=Math.sqrt(t*t+a*a),r={mode:"lchuv",l:e,c:l};return l&&(r.h=Te(Math.atan2(a,t)*180/Math.PI)),o!==void 0&&(r.alpha=o),r},Jd=Yw;var Ww=({l:e,c:t,h:a,alpha:o})=>{a===void 0&&(a=0);let l={mode:"luv",l:e,u:t?t*Math.cos(a/180*Math.PI):0,v:t?t*Math.sin(a/180*Math.PI):0};return o!==void 0&&(l.alpha=o),l},es=Ww;var Wp=(e,t,a)=>4*e/(e+15*t+3*a),Jp=(e,t,a)=>9*t/(e+15*t+3*a),Jw=Wp(Ne.X,Ne.Y,Ne.Z),ey=Jp(Ne.X,Ne.Y,Ne.Z),ty=e=>e<=mr?Lo*e:116*Math.cbrt(e)-16,ay=({x:e,y:t,z:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=ty(t/Ne.Y),r=Wp(e,t,a),n=Jp(e,t,a);!isFinite(r)||!isFinite(n)?l=r=n=0:(r=13*l*(r-Jw),n=13*l*(n-ey));let i={mode:"luv",l,u:r,v:n};return o!==void 0&&(i.alpha=o),i},a0=ay;var oy=(e,t,a)=>4*e/(e+15*t+3*a),ly=(e,t,a)=>9*t/(e+15*t+3*a),ry=oy(Ne.X,Ne.Y,Ne.Z),ny=ly(Ne.X,Ne.Y,Ne.Z),iy=({l:e,u:t,v:a,alpha:o})=>{if(e===void 0&&(e=0),e===0)return{mode:"xyz50",x:0,y:0,z:0};t===void 0&&(t=0),a===void 0&&(a=0);let l=t/(13*e)+ry,r=a/(13*e)+ny,n=Ne.Y*(e<=8?e/Lo:Math.pow((e+16)/116,3)),i=n*(9*l)/(4*r),u=n*(12-3*l-20*r)/(4*r),d={mode:"xyz50",x:i,y:n,z:u};return o!==void 0&&(d.alpha=o),d},o0=iy;var uy=e=>Jd(a0(Kt(e))),dy=e=>Gt(o0(es(e))),sy={mode:"lchuv",toMode:{luv:es,rgb:dy},fromMode:{rgb:uy,luv:Jd},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:B,fixup:d1},c:B,l:B,alpha:{use:B,fixup:de}},difference:{h:ho},average:{h:s1}},eC=sy;var cy={...wt,mode:"lrgb",toMode:{rgb:It},fromMode:{rgb:yt},parse:["srgb-linear"],serialize:"srgb-linear"},tC=cy;var fy={mode:"luv",toMode:{xyz50:o0,rgb:e=>Gt(o0(e))},fromMode:{xyz50:a0,rgb:e=>a0(Kt(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:B,u:B,v:B,alpha:{use:B,fixup:de}}},aC=fy;var py=({r:e,g:t,b:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=Math.cbrt(.412221469470763*e+.5363325372617348*t+.0514459932675022*a),r=Math.cbrt(.2119034958178252*e+.6806995506452344*t+.1073969535369406*a),n=Math.cbrt(.0883024591900564*e+.2817188391361215*t+.6299787016738222*a),i={mode:"oklab",l:.210454268309314*l+.7936177747023054*r-.0040720430116193*n,a:1.9779985324311684*l-2.42859224204858*r+.450593709617411*n,b:.0259040424655478*l+.7827717124575296*r-.8086757549230774*n};return o!==void 0&&(i.alpha=o),i},_2=py;var Cy=e=>{let t=_2(yt(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},bo=Cy;var my=({l:e,a:t,b:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=Math.pow(e+.3963377773761749*t+.2158037573099136*a,3),r=Math.pow(e-.1055613458156586*t-.0638541728258133*a,3),n=Math.pow(e-.0894841775298119*t-1.2914855480194092*a,3),i={mode:"lrgb",r:4.076741636075957*l-3.3077115392580616*r+.2309699031821044*n,g:-1.2684379732850317*l+2.6097573492876887*r-.3413193760026573*n,b:-.0041960761386756*l-.7034186179359362*r+1.7076146940746117*n};return o!==void 0&&(i.alpha=o),i},Xt=my;var hy=e=>It(Xt(e)),wo=hy;function l0(e){let o=1.170873786407767;return .5*(o*e-.206+Math.sqrt((o*e-.206)*(o*e-.206)+4*.03*o*e))}function tl(e){return(e*e+.206*e)/(1.170873786407767*(e+.03))}function gy(e,t){let a,o,l,r,n,i,u,d;-1.88170328*e-.80936493*t>1?(a=1.19086277,o=1.76576728,l=.59662641,r=.75515197,n=.56771245,i=4.0767416621,u=-3.3077115913,d=.2309699292):1.81444104*e-1.19445276*t>1?(a=.73956515,o=-.45954404,l=.08285427,r=.1254107,n=.14503204,i=-1.2684380046,u=2.6097574011,d=-.3413193965):(a=1.35733652,o=-.00915799,l=-1.1513021,r=-.50559606,n=.00692167,i=-.0041960863,u=-.7034186147,d=1.707614701);let c=a+o*e+l*t+r*e*e+n*e*t,C=.3963377774*e+.2158037573*t,p=-.1055613458*e-.0638541728*t,m=-.0894841775*e-1.291485548*t;{let v=1+c*C,L=1+c*p,x=1+c*m,f=v*v*v,s=L*L*L,h=x*x*x,g=3*C*v*v,b=3*p*L*L,R=3*m*x*x,S=6*C*C*v,w=6*p*p*L,I=6*m*m*x,N=i*f+u*s+d*h,_=i*g+u*b+d*R,O=i*S+u*w+d*I;c=c-N*_/(_*_-.5*N*O)}return c}function ts(e,t){let a=gy(e,t),o=Xt({l:1,a:a*e,b:a*t}),l=Math.cbrt(1/Math.max(o.r,o.g,o.b)),r=l*a;return[l,r]}function vy(e,t,a,o,l,r=null){r||(r=ts(e,t));let n;if((a-l)*r[1]-(r[0]-l)*o<=0)n=r[1]*l/(o*r[0]+r[1]*(l-a));else{n=r[1]*(l-1)/(o*(r[0]-1)+r[1]*(l-a));{let i=a-l,u=o,d=.3963377774*e+.2158037573*t,c=-.1055613458*e-.0638541728*t,C=-.0894841775*e-1.291485548*t,p=i+u*d,m=i+u*c,v=i+u*C;{let L=l*(1-n)+n*a,x=n*o,f=L+x*d,s=L+x*c,h=L+x*C,g=f*f*f,b=s*s*s,R=h*h*h,S=3*p*f*f,w=3*m*s*s,I=3*v*h*h,N=6*p*p*f,_=6*m*m*s,O=6*v*v*h,k=4.0767416621*g-3.3077115913*b+.2309699292*R-1,D=4.0767416621*S-3.3077115913*w+.2309699292*I,A=4.0767416621*N-3.3077115913*_+.2309699292*O,T=D/(D*D-.5*k*A),Z=-k*T,E=-1.2684380046*g+2.6097574011*b-.3413193965*R-1,re=-1.2684380046*S+2.6097574011*w-.3413193965*I,Q=-1.2684380046*N+2.6097574011*_-.3413193965*O,y=re/(re*re-.5*E*Q),M=-E*y,G=-.0041960863*g-.7034186147*b+1.707614701*R-1,z=-.0041960863*S-.7034186147*w+1.707614701*I,$=-.0041960863*N-.7034186147*_+1.707614701*O,q=z/(z*z-.5*G*$),F=-G*q;Z=T>=0?Z:1e6,M=y>=0?M:1e6,F=q>=0?F:1e6,n+=Math.min(Z,Math.min(M,F))}}}return n}function r0(e,t,a=null){a||(a=ts(e,t));let o=a[0],l=a[1];return[l/o,l/(1-o)]}function E2(e,t,a){let o=ts(t,a),l=vy(t,a,e,1,e,o),r=r0(t,a,o),n=.11516993+1/(7.4477897+4.1590124*a+t*(-2.19557347+1.75198401*a+t*(-2.13704948-10.02301043*a+t*(-4.24894561+5.38770819*a+4.69891013*t)))),i=.11239642+1/(1.6132032-.68124379*a+t*(.40370612+.90148123*a+t*(-.27087943+.6122399*a+t*(.00299215-.45399568*a-.14661872*t)))),u=l/Math.min(e*r[0],(1-e)*r[1]),d=e*n,c=(1-e)*i,C=.9*u*Math.sqrt(Math.sqrt(1/(1/(d*d*d*d)+1/(c*c*c*c))));return d=e*.4,c=(1-e)*.8,[Math.sqrt(1/(1/(d*d)+1/(c*c))),C,l]}function O2(e){let t=e.l!==void 0?e.l:0,a=e.a!==void 0?e.a:0,o=e.b!==void 0?e.b:0,l={mode:"okhsl",l:l0(t)};e.alpha!==void 0&&(l.alpha=e.alpha);let r=Math.sqrt(a*a+o*o);if(!r)return l.s=0,l;let[n,i,u]=E2(t,a/r,o/r),d;if(r<i){let c=0,C=.8*n,p=1-C/i;d=(r-c)/(C+p*(r-c))*.8}else{let c=i,C=.2*i*i*1.25*1.25/n,p=1-C/(u-i);d=.8+.2*((r-c)/(C+p*(r-c)))}return d&&(l.s=d,l.h=Te(Math.atan2(o,a)*180/Math.PI)),l}function D2(e){let t=e.h!==void 0?e.h:0,a=e.s!==void 0?e.s:0,o=e.l!==void 0?e.l:0,l={mode:"oklab",l:tl(o)};if(e.alpha!==void 0&&(l.alpha=e.alpha),!a||o===1)return l.a=l.b=0,l;let r=Math.cos(t/180*Math.PI),n=Math.sin(t/180*Math.PI),[i,u,d]=E2(l.l,r,n),c,C,p,m;a<.8?(c=1.25*a,C=0,p=.8*i,m=1-p/u):(c=5*(a-.8),C=u,p=.2*u*u*1.25*1.25/i,m=1-p/(d-u));let v=C+c*p/(1-m*c);return l.a=v*r,l.b=v*n,l}var xy={...b2,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:O2,rgb:e=>O2(bo(e))},toMode:{oklab:D2,rgb:e=>wo(D2(e))}},oC=xy;function V2(e){let t=e.l!==void 0?e.l:0,a=e.a!==void 0?e.a:0,o=e.b!==void 0?e.b:0,l=Math.sqrt(a*a+o*o),r=l?a/l:1,n=l?o/l:1,[i,u]=r0(r,n),d=.5,c=1-d/i,C=u/(l+t*u),p=C*t,m=C*l,v=tl(p),L=m*v/p,x=Xt({l:v,a:r*L,b:n*L}),f=Math.cbrt(1/Math.max(x.r,x.g,x.b,0));t=t/f,l=l/f*l0(t)/t,t=l0(t);let s={mode:"okhsv",s:l?(d+u)*m/(u*d+u*c*m):0,v:t?t/p:0};return s.s&&(s.h=Te(Math.atan2(o,a)*180/Math.PI)),e.alpha!==void 0&&(s.alpha=e.alpha),s}function B2(e){let t={mode:"oklab"};e.alpha!==void 0&&(t.alpha=e.alpha);let a=e.h!==void 0?e.h:0,o=e.s!==void 0?e.s:0,l=e.v!==void 0?e.v:0,r=Math.cos(a/180*Math.PI),n=Math.sin(a/180*Math.PI),[i,u]=r0(r,n),d=.5,c=1-d/i,C=1-o*d/(d+u-u*c*o),p=o*u*d/(d+u-u*c*o),m=tl(C),v=p*m/C,L=Xt({l:m,a:r*v,b:n*v}),x=Math.cbrt(1/Math.max(L.r,L.g,L.b,0)),f=tl(l*C),s=p*f/C;return t.l=f*x,t.a=s*r*x,t.b=s*n*x,t}var Ly={...w2,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:V2,rgb:e=>V2(bo(e))},toMode:{oklab:B2,rgb:e=>wo(B2(e))}},lC=Ly;function by(e,t){if(!t||t[0]!=="oklab")return;let a={mode:"oklab"},[,o,l,r,n]=t;if(!(o.type===V.Hue||l.type===V.Hue||r.type===V.Hue))return o.type!==V.None&&(a.l=Math.min(Math.max(0,o.type===V.Number?o.value:o.value/100),1)),l.type!==V.None&&(a.a=l.type===V.Number?l.value:l.value*.4/100),r.type!==V.None&&(a.b=r.type===V.Number?r.value:r.value*.4/100),n.type!==V.None&&(a.alpha=Math.min(1,Math.max(0,n.type===V.Number?n.value:n.value/100))),a}var rC=by;var wy={...vr,mode:"oklab",toMode:{lrgb:Xt,rgb:wo},fromMode:{lrgb:_2,rgb:bo},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[rC],serialize:e=>`oklab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`},nC=wy;function yy(e,t){if(!t||t[0]!=="oklch")return;let a={mode:"oklch"},[,o,l,r,n]=t;if(o.type!==V.None){if(o.type===V.Hue)return;a.l=Math.min(Math.max(0,o.type===V.Number?o.value:o.value/100),1)}if(l.type!==V.None&&(a.c=Math.max(0,l.type===V.Number?l.value:l.value*.4/100)),r.type!==V.None){if(r.type===V.Percentage)return;a.h=r.value}return n.type!==V.None&&(a.alpha=Math.min(1,Math.max(0,n.type===V.Number?n.value:n.value/100))),a}var iC=yy;var Iy={...xr,mode:"oklch",toMode:{oklab:e=>nt(e,"oklab"),rgb:e=>wo(nt(e,"oklab"))},fromMode:{rgb:e=>rt(bo(e),"oklch"),oklab:e=>rt(e,"oklch")},parse:[iC],serialize:e=>`oklch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h!==void 0?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},uC=Iy;var My=e=>{let{r:t,g:a,b:o,alpha:l}=yt(e),r={mode:"xyz65",x:.486570948648216*t+.265667693169093*a+.1982172852343625*o,y:.2289745640697487*t+.6917385218365062*a+.079286914093745*o,z:0*t+.0451133818589026*a+1.043944368900976*o};return l!==void 0&&(r.alpha=l),r},as=My;var Sy=({x:e,y:t,z:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=It({r:e*2.4934969119414263-t*.9313836179191242-.402710784450717*a,g:e*-.8294889695615749+t*1.7626640603183465+.0236246858419436*a,b:e*.0358458302437845-t*.0761723892680418+.9568845240076871*a},"p3");return o!==void 0&&(l.alpha=o),l},os=Sy;var Ry={...wt,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>os(P1(e)),xyz65:os},toMode:{rgb:e=>U1(as(e)),xyz65:as}},dC=Ry;var ls=e=>{let t=Math.abs(e);return t>=.001953125?Math.sign(e)*Math.pow(t,.5555555555555556):16*e},Hy=({x:e,y:t,z:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l={mode:"prophoto",r:ls(e*1.3457868816471585-t*.2555720873797946-.0511018649755453*a),g:ls(e*-.5446307051249019+t*1.5082477428451466+.0205274474364214*a),b:ls(e*0+t*0+1.2119675456389452*a)};return o!==void 0&&(l.alpha=o),l},rs=Hy;var ns=(e=0)=>{let t=Math.abs(e);return t>=.03125?Math.sign(e)*Math.pow(t,1.8):e/16},ky=e=>{let t=ns(e.r),a=ns(e.g),o=ns(e.b),l={mode:"xyz50",x:.7977666449006423*t+.1351812974005331*a+.0313477341283922*o,y:.2880748288194013*t+.7118352342418731*a+899369387256e-16*o,z:0*t+0*a+.8251046025104602*o};return e.alpha!==void 0&&(l.alpha=e.alpha),l},is=ky;var Ty={...wt,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:rs,rgb:e=>rs(Kt(e))},toMode:{xyz50:is,rgb:e=>Gt(is(e))}},sC=Ty;var cC=1.09929682680944,_y=.018053968510807,us=e=>{let t=Math.abs(e);return t>_y?(Math.sign(e)||1)*(cC*Math.pow(t,.45)-(cC-1)):4.5*e},Ey=({x:e,y:t,z:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l={mode:"rec2020",r:us(e*1.7166511879712683-t*.3556707837763925-.2533662813736599*a),g:us(e*-.6666843518324893+t*1.6164812366349395+.0157685458139111*a),b:us(e*.0176398574453108-t*.0427706132578085+.9421031212354739*a)};return o!==void 0&&(l.alpha=o),l},ds=Ey;var fC=1.09929682680944,Oy=.018053968510807,ss=(e=0)=>{let t=Math.abs(e);return t<Oy*4.5?e/4.5:(Math.sign(e)||1)*Math.pow((t+fC-1)/fC,1/.45)},Dy=e=>{let t=ss(e.r),a=ss(e.g),o=ss(e.b),l={mode:"xyz65",x:.6369580483012911*t+.1446169035862083*a+.1688809751641721*o,y:.262700212011267*t+.6779980715188708*a+.059301716469862*o,z:0*t+.0280726930490874*a+1.0609850577107909*o};return e.alpha!==void 0&&(l.alpha=e.alpha),l},cs=Dy;var Vy={...wt,mode:"rec2020",fromMode:{xyz65:ds,rgb:e=>ds(P1(e))},toMode:{xyz65:cs,rgb:e=>U1(cs(e))},parse:["rec2020"],serialize:"rec2020"},pC=Vy;var ya=.0037930732552754493,A2=Math.cbrt(ya);var fs=e=>Math.cbrt(e)-A2,By=e=>{let{r:t,g:a,b:o,alpha:l}=yt(e),r=fs(.3*t+.622*a+.078*o+ya),n=fs(.23*t+.692*a+.078*o+ya),i=fs(.2434226892454782*t+.2047674442449682*a+.5518098665095535*o+ya),u={mode:"xyb",x:(r-n)/2,y:(r+n)/2,b:i-(r+n)/2};return l!==void 0&&(u.alpha=l),u},CC=By;var ps=e=>Math.pow(e+A2,3),Ay=({x:e,y:t,b:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l=ps(e+t)-ya,r=ps(t-e)-ya,n=ps(a+t)-ya,i=It({r:11.031566904639861*l-9.866943908131562*r-.16462299650829934*n,g:-3.2541473810744237*l+4.418770377582723*r-.16462299650829934*n,b:-3.6588512867136815*l+2.7129230459360922*r+1.9459282407775895*n});return o!==void 0&&(i.alpha=o),i},mC=Ay;var Zy={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:mC},fromMode:{rgb:CC},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:B,y:B,b:B,alpha:{use:B,fixup:de}}},hC=Zy;var zy={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:Gt,lab:gr},fromMode:{rgb:Kt,lab:hr},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:B,y:B,z:B,alpha:{use:B,fixup:de}}},gC=zy;var Ny=e=>{let{x:t,y:a,z:o,alpha:l}=e;t===void 0&&(t=0),a===void 0&&(a=0),o===void 0&&(o=0);let r={mode:"xyz50",x:1.0479298208405488*t+.0229467933410191*a-.0501922295431356*o,y:.0296278156881593*t+.990434484573249*a-.0170738250293851*o,z:-.0092430581525912*t+.0150551448965779*a+.7518742899580008*o};return l!==void 0&&(r.alpha=l),r},vC=Ny;var Py=e=>{let{x:t,y:a,z:o,alpha:l}=e;t===void 0&&(t=0),a===void 0&&(a=0),o===void 0&&(o=0);let r={mode:"xyz65",x:.9554734527042182*t-.0230985368742614*a+.0632593086610217*o,y:-.0283697069632081*t+1.0099954580058226*a+.021041398966943*o,z:.0123140016883199*t-.0205076964334779*a+1.3303659366080753*o};return l!==void 0&&(r.alpha=l),r},xC=Py;var Uy={mode:"xyz65",toMode:{rgb:U1,xyz50:vC},fromMode:{rgb:P1,xyz50:xC},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:B,y:B,z:B,alpha:{use:B,fixup:de}}},LC=Uy;var qy=({r:e,g:t,b:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l={mode:"yiq",y:.29889531*e+.58662247*t+.11448223*a,i:.59597799*e-.2741761*t-.32180189*a,q:.21147017*e-.52261711*t+.31114694*a};return o!==void 0&&(l.alpha=o),l},bC=qy;var $y=({y:e,i:t,q:a,alpha:o})=>{e===void 0&&(e=0),t===void 0&&(t=0),a===void 0&&(a=0);let l={mode:"rgb",r:e+.95608445*t+.6208885*a,g:e-.27137664*t-.6486059*a,b:e-1.10561724*t+1.70250126*a};return o!==void 0&&(l.alpha=o),l},wC=$y;var Fy={mode:"yiq",toMode:{rgb:wC},fromMode:{rgb:bC},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:B,i:B,q:B,alpha:{use:B,fixup:de}}},yC=Fy;var jy=(e,t)=>Math.round(e*(t=Math.pow(10,t)))/t,Gy=(e=4)=>t=>typeof t=="number"?jy(t,e):t,IC=Gy;var ZV=IC(2);var zV=lt("rgb"),NV=lt("hsl");var Cs=e=>{let t=c2(e);if(!t)return;let a=f2(t.mode);if(!a.serialize||typeof a.serialize=="string"){let o=`color(${a.serialize||`--${t.mode}`} `;return a.channels.forEach((l,r)=>{l!=="alpha"&&(o+=(r?" ":"")+(t[l]!==void 0?t[l]:"none"))}),t.alpha!==void 0&&t.alpha<1&&(o+=` / ${t.alpha}`),o+")"}if(typeof a.serialize=="function")return a.serialize(t)};var RB=we(yp),HB=we(Ep),kB=we(Vp),TB=we(Bp),_B=we(Ap),EB=we(b2),OB=we(w2),DB=we(Up),VB=we($p),BB=we(jp),AB=we(Gp),ZB=we(vr),zB=we(Xp),NB=we(xr),PB=we(Yp),UB=we(eC),qB=we(tC),$B=we(aC),FB=we(oC),jB=we(lC),GB=we(nC),KB=we(uC),XB=we(dC),QB=we(sC),YB=we(pC),WB=we(wt),JB=we(hC),eA=we(gC),tA=we(LC),aA=we(yC);var ms=lt("rgb"),Ky=lt("hsl"),Xy=lt("oklch"),Qy=lt("oklab"),Yy=lt("lch"),Wy=lt("lab"),MC=null;function Jy(){return MC??(MC=document.createElement("canvas").getContext("2d")),MC}function SC(e){try{let t=Jy();if(!t)return null;t.fillStyle="#000000",t.fillStyle=e;let a=t.fillStyle;t.fillStyle="#ffffff",t.fillStyle=e;let o=t.fillStyle;return a===o?a:null}catch{return null}}function RC(e){if(!e||typeof e!="string")return!1;let t=e.trim();return Jo(t)!==void 0?!0:SC(t)!==null}function al(e){let t={r:255,g:255,b:255,a:1};if(!e||typeof e!="string")return t;let a=e.trim(),o=Jo(a);if(o){let r=ms(o);if(r&&"r"in r&&"g"in r&&"b"in r)return{r:Math.round(Math.min(255,Math.max(0,r.r*255))),g:Math.round(Math.min(255,Math.max(0,r.g*255))),b:Math.round(Math.min(255,Math.max(0,r.b*255))),a:r.alpha??1}}let l=SC(a);if(l){if(l.startsWith("#")){let n=l.slice(1);return{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16),a:1}}let r=l.match(/rgba?\(\s*(\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/);if(r&&r[1]!=null&&r[2]!=null&&r[3]!=null)return{r:+r[1],g:+r[2],b:+r[3],a:r[4]!=null?+r[4]:1}}return t}function Lr(e){let t=Math.round(Math.min(255,Math.max(0,e.r))),a=Math.round(Math.min(255,Math.max(0,e.g))),o=Math.round(Math.min(255,Math.max(0,e.b))),l=Math.round(Math.min(1,Math.max(0,e.a))*100)/100;return l>=1?`rgb(${t}, ${a}, ${o})`:`rgba(${t}, ${a}, ${o}, ${l})`}function Z2(e){let t=e.startsWith("#")?e.slice(1):e;return/^[0-9a-fA-F]+$/.test(t)&&[3,4,6,8].includes(t.length)}function n0(e){let t=Math.round(Math.min(255,Math.max(0,e.r))),a=Math.round(Math.min(255,Math.max(0,e.g))),o=Math.round(Math.min(255,Math.max(0,e.b))),l=Math.min(1,Math.max(0,e.a)),r=`#${[t,a,o].map(n=>n.toString(16).padStart(2,"0")).join("")}`;return l<1?r+Math.round(l*255).toString(16).padStart(2,"0"):r}function HC(e){return!e||typeof e!="string"?"rgb":Jo(e.trim())?.mode??"rgb"}function q1(e,t){let a={mode:"rgb",r:e.r/255,g:e.g/255,b:e.b/255,alpha:e.a};switch(t){case"oklch":return Xy(a);case"oklab":return Qy(a);case"lch":return Yy(a);case"lab":return Wy(a);default:return a}}function hs(e){let t=e?ms(e):null;return!t||!("r"in t)||!("g"in t)||!("b"in t)?{r:255,g:255,b:255,a:1}:{r:Math.round(Math.min(255,Math.max(0,t.r*255))),g:Math.round(Math.min(255,Math.max(0,t.g*255))),b:Math.round(Math.min(255,Math.max(0,t.b*255))),a:t.alpha??1}}function gs(e){return e?Cs(e):""}function br(e){let t={mode:"rgb",r:e.r/255,g:e.g/255,b:e.b/255},a=Ky(t);return a?{h:a.h??0,s:a.s*100,l:a.l*100}:{h:0,s:0,l:0}}function vs(e){let t={mode:"hsl",h:e.h,s:e.s/100,l:e.l/100},a=ms(t);return!a||!("r"in a)||!("g"in a)||!("b"in a)?{r:0,g:0,b:0}:{r:Math.round(a.r*255),g:Math.round(a.g*255),b:Math.round(a.b*255)}}var ye=U(le(),1),xs=16,wr=4,eI=245,kC=260,tI=200,aI="linear-gradient(45deg, #e0e0e0 25%, transparent 25%), linear-gradient(-45deg, #e0e0e0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e0e0e0 75%), linear-gradient(-45deg, transparent 75%, #e0e0e0 75%)",oI=["oklch","oklab","lch","lab","hsl"],TC=["oklch","oklab","lch","lab"],Ls=["rgb","hsl","oklch","oklab","lch","lab"];function bs(e){let t=HC(e);return oI.includes(t)?t:"rgb"}function i0(e,t){let a=br({r:e.r,g:e.g,b:e.b}),o=q1(e,"oklch"),l=q1(e,"oklab"),r=q1(e,"lch"),n=q1(e,"lab");return{hex:iI(t,e),r:e.r,g:e.g,b:e.b,h:Math.round(a.h),s:Math.round(a.s),l:Math.round(a.l),a:Math.round(e.a*100),oklch_l:Math.round(o.l*100),oklch_c:Math.round(o.c*1e3)/10,oklch_h:Math.round(o.h||0),oklab_l:Math.round(l.l*100),oklab_a:Math.round(l.a*1e3)/10,oklab_b:Math.round(l.b*1e3)/10,lch_l:Math.round(r.l),lch_c:Math.round(r.c),lch_h:Math.round(r.h||0),lab_l:Math.round(n.l),lab_a:Math.round(n.a),lab_b:Math.round(n.b)}}function ys(e,t){let a=t.a/100;switch(e){case"oklch":return{mode:"oklch",l:t.oklch_l/100,c:t.oklch_c/100,h:t.oklch_h,alpha:a};case"oklab":return{mode:"oklab",l:t.oklab_l/100,a:t.oklab_a/100,b:t.oklab_b/100,alpha:a};case"lch":return{mode:"lch",l:t.lch_l,c:t.lch_c,h:t.lch_h,alpha:a};case"lab":return{mode:"lab",l:t.lab_l,a:t.lab_a,b:t.lab_b,alpha:a};case"hsl":return{mode:"hsl",h:t.h,s:t.s,l:t.l};default:return{mode:"rgb",r:t.r/255,g:t.g/255,b:t.b/255,alpha:a}}}function lI(e){let t=e?.closest(".property-panel-content")??e?.closest(".property-panel");return t?t.getBoundingClientRect():{top:0,bottom:window.innerHeight,left:0,right:window.innerWidth}}function rI(e,t=eI){let a=e.getBoundingClientRect(),o=lI(e),l=o.bottom-a.bottom-wr,r=a.top-o.top-wr,i=l<t&&r>=t?a.top-t-wr:a.bottom+wr;i=Math.max(o.top+wr,Math.min(i,o.bottom-t-wr));let u=a.left;return u+kC>o.right&&(u=o.right-kC-xs),u<o.left+xs&&(u=o.left+xs),{top:i,left:u}}function Is(e){return e!=null&&typeof e=="string"?e:"#ffffff"}function ws(e){let{r:t,g:a,b:o,a:l}=al(Is(e));return{type:"rgba",r:t,g:a,b:o,a:l}}function nI(e,t){let a=e||Lr(t);return t.a>=1?{backgroundColor:a}:{backgroundColor:a,backgroundImage:`linear-gradient(0deg, ${a}, ${a}), ${aI}`,backgroundSize:"100% 100%, 8px 8px, 8px 8px, 8px 8px, 8px 8px",backgroundPosition:"0 0, 0 0, 0 4px, 4px -4px, -4px 0"}}function iI(e,t){let a=typeof e=="string"?e.trim():"";return Z2(a)?a:n0(t)}var uI=e=>e.preventDefault(),dI=e=>{e.key==="Enter"&&e.currentTarget.blur()};function sI(e,t){switch(t.type){case"SET_ALL":return{format:e.format,hex:t.hex,r:t.r,g:t.g,b:t.b,h:t.h,s:t.s,l:t.l,a:t.a,oklch_l:t.oklch_l,oklch_c:t.oklch_c,oklch_h:t.oklch_h,oklab_l:t.oklab_l,oklab_a:t.oklab_a,oklab_b:t.oklab_b,lch_l:t.lch_l,lch_c:t.lch_c,lch_h:t.lch_h,lab_l:t.lab_l,lab_a:t.lab_a,lab_b:t.lab_b};case"SET_RGBA":{let{r:a,g:o,b:l,a:r}=t,n=br({r:a,g:o,b:l}),i={r:a,g:o,b:l,a:r/100},u=q1(i,"oklch"),d=q1(i,"oklab"),c=q1(i,"lch"),C=q1(i,"lab");return{...e,hex:n0(i),r:a,g:o,b:l,h:Math.round(n.h),s:Math.round(n.s),l:Math.round(n.l),a:r,oklch_l:Math.round(u.l*100),oklch_c:Math.round(u.c*1e3)/10,oklch_h:Math.round(u.h||0),oklab_l:Math.round(d.l*100),oklab_a:Math.round(d.a*1e3)/10,oklab_b:Math.round(d.b*1e3)/10,lch_l:Math.round(c.l),lch_c:Math.round(c.c),lch_h:Math.round(c.h||0),lab_l:Math.round(C.l),lab_a:Math.round(C.a),lab_b:Math.round(C.b)}}case"SET_HEX":return{...e,hex:t.hex};case"SET_CHANNEL":{let a={...e,[t.channel]:t.value},o;if(e.format==="rgb")o={r:a.r,g:a.g,b:a.b,a:a.a/100};else if(e.format==="hsl"){let d=vs({h:a.h,s:a.s,l:a.l});a.r=Math.round(d.r),a.g=Math.round(d.g),a.b=Math.round(d.b),o={r:a.r,g:a.g,b:a.b,a:a.a/100}}else{let d=ys(e.format,a);o=hs(d),a.r=o.r,a.g=o.g,a.b=o.b}let l=br({r:a.r,g:a.g,b:a.b}),r=q1(o,"oklch"),n=q1(o,"oklab"),i=q1(o,"lch"),u=q1(o,"lab");return{...a,hex:n0(o),h:Math.round(l.h),s:Math.round(l.s),l:Math.round(l.l),oklch_l:Math.round(r.l*100),oklch_c:Math.round(r.c*1e3)/10,oklch_h:Math.round(r.h||0),oklab_l:Math.round(n.l*100),oklab_a:Math.round(n.a*1e3)/10,oklab_b:Math.round(n.b*1e3)/10,lch_l:Math.round(i.l),lch_c:Math.round(i.c),lch_h:Math.round(i.h||0),lab_l:Math.round(u.l),lab_a:Math.round(u.a),lab_b:Math.round(u.b)}}case"SET_FORMAT":return{...e,format:t.format};default:return e}}function z2({label:e,value:t,onChange:a,id:o="color"}){let l=`${o}-trigger`,r=`${o}-popover`,n=Is(t),[{colorInput:i,colorState:u},d]=up(()=>ws(n)),[c,C]=Pe.default.useReducer(sI,n,y=>{let M=al(y),G=i0(M,y);return{format:bs(y),...G}}),p=Pe.default.useRef(c);p.current=c;let m=Pe.default.useRef(null),v=Pe.default.useRef(t),L=Pe.default.useRef(a);L.current=a;let x=Pe.default.useCallback(y=>{let M=p.current.format,G;if(TC.includes(M)){let z=q1(y,M);G=gs(z)}else if(M==="hsl"){let z=br({r:y.r,g:y.g,b:y.b}),$=Math.round(y.a*100)/100;G=$>=1?`hsl(${Math.round(z.h)}, ${Math.round(z.s)}%, ${Math.round(z.l)}%)`:`hsla(${Math.round(z.h)}, ${Math.round(z.s)}%, ${Math.round(z.l)}%, ${$})`}else G=Lr(y);G!==m.current&&(m.current=G,v.current=G,typeof L.current=="function"&&L.current(G))},[]),f=dp(x,tI),s=cp({computePosition:rI,onClose:f.flush,trapFocus:!0});Pe.default.useEffect(()=>{let y=Is(t);if(y===v.current)return;v.current=y;let M=al(y);d(ws(t));let G=i0(M,y),z=bs(y);C({type:"SET_ALL",...G}),z!==p.current.format&&C({type:"SET_FORMAT",format:z})},[t,d]);let h=Pe.default.useCallback(y=>{f.cancel();let M=y.target.value;if((!M||!M.startsWith("#"))&&(M="#"+M.replace(/^#+/,"")),Z2(M)){d({type:"hex",value:M});let G=al(M),z=i0(G,M);C({type:"SET_ALL",...z})}else C({type:"SET_HEX",hex:M})},[f,d]),g=Pe.default.useCallback(()=>{f.cancel();let y=p.current.hex.trim();if(Z2(y)){let M=al(y),G=i0(M,y);C({type:"SET_ALL",...G}),x(M)}else{let M=p.current;C({type:"SET_HEX",hex:n0({r:M.r,g:M.g,b:M.b,a:M.a/100})})}},[f,x]),b=Pe.default.useMemo(()=>{switch(c.format){case"hsl":return[{key:"h",label:"H",min:0,max:360},{key:"s",label:"S",min:0,max:100},{key:"l",label:"L",min:0,max:100}];case"oklch":return[{key:"oklch_l",label:"L",min:0,max:100,step:1},{key:"oklch_c",label:"C",min:0,max:40,step:.1},{key:"oklch_h",label:"H",min:0,max:360,step:1}];case"oklab":return[{key:"oklab_l",label:"L",min:0,max:100,step:1},{key:"oklab_a",label:"A",min:-40,max:40,step:.1},{key:"oklab_b",label:"B",min:-40,max:40,step:.1}];case"lch":return[{key:"lch_l",label:"L",min:0,max:100,step:1},{key:"lch_c",label:"C",min:0,max:150,step:1},{key:"lch_h",label:"H",min:0,max:360,step:1}];case"lab":return[{key:"lab_l",label:"L",min:0,max:100,step:1},{key:"lab_a",label:"A",min:-128,max:127,step:1},{key:"lab_b",label:"B",min:-128,max:127,step:1}];default:return[{key:"r",label:"R",min:0,max:255},{key:"g",label:"G",min:0,max:255},{key:"b",label:"B",min:0,max:255}]}},[c.format]),R=Pe.default.useCallback((y,M)=>{f.cancel();let G=String(M).trim(),z=["oklch_c","oklab_a","oklab_b"].includes(y),$=G===""?0:z?parseFloat(G):parseInt(G,10);if(Number.isNaN($))return;let q=p.current,F=b.find(Re=>Re.key===y),ne=0,he=100;F?(ne=F.min,he=F.max):y==="a"?(ne=0,he=100):y==="h"?(ne=0,he=360):q.format==="rgb"&&(ne=0,he=255);let fe=Math.min(he,Math.max(ne,$));C({type:"SET_CHANNEL",channel:y,value:fe});let ve={...q,[y]:fe},xe;if(q.format==="rgb")xe={r:ve.r,g:ve.g,b:ve.b,a:ve.a/100};else if(q.format==="hsl"){let Re=vs({h:ve.h,s:ve.s,l:ve.l});xe={r:Re.r,g:Re.g,b:Re.b,a:ve.a/100}}else{let Re=ys(q.format,ve);xe=hs(Re)}d({type:"rgba",...xe}),x(xe)},[f,d,x,b]),S=Pe.default.useCallback(y=>{d(y);let M=y.getRgba();C({type:"SET_RGBA",r:Math.round(M.r),g:Math.round(M.g),b:Math.round(M.b),a:Math.round(M.a*100)}),f({r:M.r,g:M.g,b:M.b,a:M.a})},[d,f]),w=Pe.default.useCallback(y=>{let M=y.target.closest('[role="slider"]');M instanceof HTMLElement&&M.focus()},[]);Pe.default.useLayoutEffect(()=>{if(!s.isOpen||!s.popoverRef.current)return;let y=s.popoverRef.current.offsetHeight;y<=0||s.reposition(y)},[s.isOpen,s.reposition]);let I=u?.rgba??{r:255,g:255,b:255,a:1},_=Pe.default.useCallback(()=>{let y=c.format;if(TC.includes(y)){let M=ys(y,c);return gs(M)}else if(y==="hsl"){let M=br({r:I.r,g:I.g,b:I.b}),G=Math.round(I.a*100)/100;return G>=1?`hsl(${Math.round(M.h)}, ${Math.round(M.s)}%, ${Math.round(M.l)}%)`:`hsla(${Math.round(M.h)}, ${Math.round(M.s)}%, ${Math.round(M.l)}%, ${G})`}else return Lr(I)},[c,I])(),O=nI(_,I),[k,D]=Pe.default.useState(_),A=Pe.default.useRef(k);A.current=k,Pe.default.useEffect(()=>{D(_)},[_]);let T=Pe.default.useCallback(y=>{let M=y.target.value;D(M)},[]),Z=Pe.default.useCallback(()=>{f.cancel();let y=A.current.trim();if(!y||!RC(y)){D(_);return}let M=al(y),G=Lr(M),z=Lr(I);if(G!==z){d(ws(y));let $=i0(M,y),q=bs(y);C({type:"SET_ALL",...$}),q!==p.current.format&&C({type:"SET_FORMAT",format:q}),y!==m.current&&(m.current=y,v.current=y,typeof L.current=="function"&&L.current(y))}else D(_)},[f,_,I,d]),E=Pe.default.useCallback(y=>{y.key==="Enter"&&y.currentTarget.blur()},[]),re=Pe.default.useCallback(()=>{let y=Ls.indexOf(c.format),M=Ls[(y+1)%Ls.length]??c.format;C({type:"SET_FORMAT",format:M})},[c.format]),Q=Pe.default.useMemo(()=>{let y=s.triggerRef.current;if(!y)return document.body;let M=y.getRootNode();return M instanceof ShadowRoot?M:document.body},[s.isOpen,s.triggerRef]);return(0,ye.jsx)($t,{label:e,id:o,className:"colorEditor-fieldset",children:(0,ye.jsxs)("div",{className:"colorEditor-wrapper",children:[(0,ye.jsx)("button",{ref:s.triggerRef,id:l,type:"button",className:"colorEditor-swatch-only",onClick:s.toggle,"aria-expanded":s.isOpen,"aria-haspopup":"dialog","aria-controls":r,"aria-label":`${e}, open color picker. Current color: ${_}`,children:(0,ye.jsx)("span",{style:O,"aria-hidden":"true",className:"colorEditor-swatch"})}),(0,ye.jsx)("input",{type:"text",className:"colorEditor-value-input",value:k,onChange:T,onBlur:Z,onKeyDown:E,"aria-label":`${e} color value`,placeholder:"Enter color value",spellCheck:"false",autoComplete:"off"}),s.isOpen&&(0,_C.createPortal)((0,ye.jsxs)("div",{ref:s.popoverRef,id:r,role:"dialog","aria-modal":"true","aria-label":`${e} picker`,style:{top:s.position.top,left:s.position.left},onDragStart:uI,onMouseUp:w,className:"colorEditor-popover",children:[(0,ye.jsxs)(ur,{color:i,onChange:S,className:"colorEditor-picker",children:[(0,ye.jsx)(ur.Saturation,{className:"colorEditor-picker-saturation","aria-label":"Color saturation and brightness"}),(0,ye.jsxs)("div",{className:"colorEditor-picker-toolbar",children:[(0,ye.jsx)(ur.EyeDropper,{"aria-label":"Pick color from screen",children:(0,ye.jsx)($n,{size:18,"aria-hidden":"true"})}),(0,ye.jsxs)("div",{className:"colorEditor-picker-sliders",children:[(0,ye.jsx)(ur.Hue,{className:"h-4 colorEditor-picker-hue","aria-label":"Hue, 0 to 360 degrees"}),(0,ye.jsx)(ur.Alpha,{className:"h-4 colorEditor-picker-alpha","aria-label":"Alpha transparency, 0 to 100 percent"})]})]})]}),(0,ye.jsxs)("div",{className:"colorEditor-input-wrapper",children:[(0,ye.jsxs)("div",{className:"colorEditor-input-group",children:[(0,ye.jsx)("input",{type:"text",value:c.hex,onChange:h,onBlur:g,onKeyDown:dI,"aria-label":"Hexadecimal color value",className:"colorEditor-input-hex",spellCheck:"false",autoComplete:"off"}),(0,ye.jsx)("label",{className:"colorEditor-input-label","aria-hidden":"true",children:"HEX"})]}),(0,ye.jsxs)("div",{className:"colorEditor-channels-wrapper",children:[(0,ye.jsxs)("div",{className:"colorEditor-input-container",children:[b.map(y=>(0,ye.jsx)("div",{className:"colorEditor-input-group-no-label",children:(0,ye.jsx)("input",{type:"number",min:y.min,max:y.max,step:y.step||1,value:c[y.key],onChange:M=>R(y.key,M.target.value),onBlur:M=>R(y.key,M.target.value),"aria-label":`${y.label} (${c.format.toUpperCase()}), ${y.min} to ${y.max}`,"aria-valuemin":y.min,"aria-valuemax":y.max,"aria-valuenow":c[y.key],className:"colorEditor-input-rgba"})},y.key)),(0,ye.jsx)("div",{className:"colorEditor-input-group-no-label",children:(0,ye.jsx)("input",{type:"number",min:0,max:100,value:c.a,onChange:y=>R("a",y.target.value),onBlur:y=>R("a",y.target.value),"aria-label":"Alpha, 0 to 100 percent","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c.a,className:"colorEditor-input-rgba"})})]}),(0,ye.jsx)("div",{className:"colorEditor-format-selector",children:(0,ye.jsxs)("button",{type:"button",className:"colorEditor-format-picker",onClick:re,"aria-label":`Color format: ${c.format.toUpperCase()}. Click to change format.`,"aria-live":"polite",title:"Click to cycle format: RGB, HSL, OKLCH, OKLAB, LCH, LAB",children:[b.map(y=>(0,ye.jsx)("span",{className:"colorEditor-format-letter","aria-hidden":"true",children:y.label},y.key)),(0,ye.jsx)("span",{className:"colorEditor-format-letter","aria-hidden":"true",children:"A"})]})})]})]})]}),Q)]})})}var T1=U(ge(),1);var Ia=U(le(),1);function Qt({label:e,value:t,onChange:a,units:o=e2,constraints:l=Et,defaultUnit:r="px",placeholder:n=0,id:i="dimension",icon:u}){let d=T1.default.useMemo(()=>new Set(o.map(_=>_.value)),[o]),c=T1.default.useMemo(()=>zn(o),[o]),C=T1.default.useMemo(()=>{if(n==null||n==="")return"";if(typeof n=="number")return String(n);let _=N1(String(n),r,c);return _.numericValue!==""?String(_.numericValue):String(n)},[n,r,c]),[p,m]=T1.default.useState(()=>{let _=N1(t,r,c);return _.numericValue!==""?String(_.numericValue):""}),[v,L]=T1.default.useState(()=>N1(t,r,c).unit),x=T1.default.useRef(a);x.current=a;let f=T1.default.useRef(t);T1.default.useEffect(()=>{if(t===f.current)return;f.current=t;let _=N1(t,r,c);m(_.numericValue!==""?String(_.numericValue):""),L(_.unit)},[t,r,c]);let s=T1.default.useCallback((_,O)=>{let k=parseFloat(_);if(_===""||isNaN(k)){if(f.current==="")return;f.current="",typeof x.current=="function"&&x.current("");return}let D=Ot(k,O,l),A=Dt(D,O,l),T=t2(A,O);T!==f.current&&(f.current=T,typeof x.current=="function"&&x.current(T))},[l]),h=T1.default.useCallback(_=>{let O=_.target.value;m(O);let k=N1(O,r,c);k.numericValue!==""&&k.unit&&d.has(k.unit)&&k.unit!==v&&L(k.unit)},[r,c,v,d]),g=T1.default.useCallback(_=>{let O=_.clipboardData.getData("text"),k=N1(O,r,c);if(k.numericValue!==""&&k.unit&&d.has(k.unit)){_.preventDefault(),m(String(k.numericValue)),L(k.unit);let D=Ot(k.numericValue,k.unit,l),A=Dt(D,k.unit,l),T=t2(A,k.unit);f.current=T,typeof x.current=="function"&&x.current(T)}},[r,c,d,l]),b=T1.default.useCallback(()=>{if(p===""){s("",v);return}let _=parseFloat(p);if(isNaN(_)){let D=N1(t,r,c);m(D.numericValue!==""?String(D.numericValue):"");return}let O=Ot(_,v,l),k=Dt(O,v,l);m(String(k)),s(String(k),v)},[p,v,t,r,c,l,s]),R=T1.default.useCallback(_=>{if(_.key==="Enter"){_.currentTarget.blur();return}if(_.key==="ArrowUp"||_.key==="ArrowDown"){_.preventDefault();let O=a2(p,_.key,_.shiftKey,v,l);if(O===null)return;m(O),s(O,v)}},[p,v,l,s]),S=T1.default.useCallback(_=>{let O=_.target.value;if(!d.has(O))return;if(L(O),p===""){s("",O);return}let k=parseFloat(p);if(isNaN(k))return;let D=Ot(k,O,l),A=Dt(D,O,l);m(String(A));let T=t2(A,O);f.current=T,typeof x.current=="function"&&x.current(T)},[p,d,l,s]),w=`${i}-input`,I=`${i}-unit`,N=o.some(_=>_.value!=="");return(0,Ia.jsx)($t,{label:e,id:i,className:"dimensionEditor-fieldset",children:(0,Ia.jsxs)("div",{className:"dimensionEditor-row",children:[u&&(0,Ia.jsx)("span",{className:"dimensionEditor-icon","aria-hidden":"true",children:(0,Ia.jsx)(u,{size:14,width:14,height:14})}),(0,Ia.jsx)("input",{id:w,type:"text",className:u?"dimensionEditor-input dimensionEditor-input--with-icon":"dimensionEditor-input",value:p,placeholder:C,onChange:h,onPaste:g,onBlur:b,onKeyDown:R,"aria-label":`${e} value`,autoComplete:"off",spellCheck:"false"}),N&&(0,Ia.jsx)("select",{id:I,className:"dimensionEditor-unit",value:v,onChange:S,"aria-label":`${e} unit`,children:o.map(_=>(0,Ia.jsx)("option",{value:_.value,children:_.label},_.value))})]})})}function $1(e,t){if(e==null)return{};var a={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;a[o]=e[o]}return a}function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)({}).hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},te.apply(null,arguments)}var W=U(zC(),1),me=U(ge(),1),j=U(ge(),1),hI=U(qC(),1);var $C=e=>typeof e=="object"&&e!=null&&e.nodeType===1,FC=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",Q2=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let a=getComputedStyle(e,null);return FC(a.overflowY,t)||FC(a.overflowX,t)||(o=>{let l=(r=>{if(!r.ownerDocument||!r.ownerDocument.defaultView)return null;try{return r.ownerDocument.defaultView.frameElement}catch{return null}})(o);return!!l&&(l.clientHeight<o.scrollHeight||l.clientWidth<o.scrollWidth)})(e)}return!1},Y2=(e,t,a,o,l,r,n,i)=>r<e&&n>t||r>e&&n<t?0:r<=e&&i<=a||n>=t&&i>=a?r-e-o:n>t&&i<a||r<e&&i>a?n-t+l:0,mI=e=>{let t=e.parentElement;return t??(e.getRootNode().host||null)},jC=(e,t)=>{var a,o,l,r;if(typeof document>"u")return[];let{scrollMode:n,block:i,inline:u,boundary:d,skipOverflowHiddenElements:c}=t,C=typeof d=="function"?d:T=>T!==d;if(!$C(e))throw new TypeError("Invalid target");let p=document.scrollingElement||document.documentElement,m=[],v=e;for(;$C(v)&&C(v);){if(v=mI(v),v===p){m.push(v);break}v!=null&&v===document.body&&Q2(v)&&!Q2(document.documentElement)||v!=null&&Q2(v,c)&&m.push(v)}let L=(o=(a=window.visualViewport)==null?void 0:a.width)!=null?o:innerWidth,x=(r=(l=window.visualViewport)==null?void 0:l.height)!=null?r:innerHeight,{scrollX:f,scrollY:s}=window,{height:h,width:g,top:b,right:R,bottom:S,left:w}=e.getBoundingClientRect(),{top:I,right:N,bottom:_,left:O}=(T=>{let Z=window.getComputedStyle(T);return{top:parseFloat(Z.scrollMarginTop)||0,right:parseFloat(Z.scrollMarginRight)||0,bottom:parseFloat(Z.scrollMarginBottom)||0,left:parseFloat(Z.scrollMarginLeft)||0}})(e),k=i==="start"||i==="nearest"?b-I:i==="end"?S+_:b+h/2-I+_,D=u==="center"?w+g/2-O+N:u==="end"?R+N:w-O,A=[];for(let T=0;T<m.length;T++){let Z=m[T],{height:E,width:re,top:Q,right:y,bottom:M,left:G}=Z.getBoundingClientRect();if(n==="if-needed"&&b>=0&&w>=0&&S<=x&&R<=L&&(Z===p&&!Q2(Z)||b>=Q&&S<=M&&w>=G&&R<=y))return A;let z=getComputedStyle(Z),$=parseInt(z.borderLeftWidth,10),q=parseInt(z.borderTopWidth,10),F=parseInt(z.borderRightWidth,10),ne=parseInt(z.borderBottomWidth,10),he=0,fe=0,ve="offsetWidth"in Z?Z.offsetWidth-Z.clientWidth-$-F:0,xe="offsetHeight"in Z?Z.offsetHeight-Z.clientHeight-q-ne:0,Re="offsetWidth"in Z?Z.offsetWidth===0?0:re/Z.offsetWidth:0,Ue="offsetHeight"in Z?Z.offsetHeight===0?0:E/Z.offsetHeight:0;if(p===Z)he=i==="start"?k:i==="end"?k-x:i==="nearest"?Y2(s,s+x,x,q,ne,s+k,s+k+h,h):k-x/2,fe=u==="start"?D:u==="center"?D-L/2:u==="end"?D-L:Y2(f,f+L,L,$,F,f+D,f+D+g,g),he=Math.max(0,he+s),fe=Math.max(0,fe+f);else{he=i==="start"?k-Q-q:i==="end"?k-M+ne+xe:i==="nearest"?Y2(Q,M,E,q,ne+xe,k,k+h,h):k-(Q+E/2)+xe/2,fe=u==="start"?D-G-$:u==="center"?D-(G+re/2)+ve/2:u==="end"?D-y+F+ve:Y2(G,y,re,$,F+ve,D,D+g,g);let{scrollLeft:j1,scrollTop:x1}=Z;he=Ue===0?0:Math.max(0,Math.min(x1+he/Ue,Z.scrollHeight-E/Ue+xe)),fe=Re===0?0:Math.max(0,Math.min(j1+fe/Re,Z.scrollWidth-re/Re+ve)),k+=x1-he,D+=j1-fe}A.push({el:Z,top:he,left:fe})}return A};var gI=0;function JC(){return String(gI++)}function s0(e){var t=me.useRef(e);return t.current=e,t}function vI(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return function(o){t.forEach(function(l){typeof l=="function"?l(o):l&&(l.current=o)})}}function Rs(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return function(o){for(var l=arguments.length,r=new Array(l>1?l-1:0),n=1;n<l;n++)r[n-1]=arguments[n];return t.some(function(i){return i&&i.apply(void 0,[o].concat(r)),o.preventDownshiftDefault||o.hasOwnProperty("nativeEvent")&&o.nativeEvent.preventDownshiftDefault})}}function em(e,t){var a;function o(){a&&clearTimeout(a)}function l(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];o(),a=setTimeout(function(){a=null,e.apply(void 0,n)},t)}return l.cancel=o,l}var xI=em(function(e){tm(e).textContent=""},500);function tm(e){var t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}function LI(e,t){if(!(!e||!t)){var a=tm(t);a.textContent=e,xI(t)}}function bI(e){var t=e?.getElementById("a11y-status-message");t&&t.remove()}function c0(){}var ks=c0;function J2(e,t){if(!t)return e;var a=Object.keys(e);return a.reduce(function(o,l){return t[l]!==void 0&&(o[l]=t[l]),o},te({},e))}function wI(e,t){if(e){var a=jC(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});a.forEach(function(o){var l=o.el,r=o.top,n=o.left;l.scrollTop=r,l.scrollLeft=n})}}function GC(e,t,a){var o=e===t||t instanceof a.Node&&e.contains&&e.contains(t);return o}function yI(e,t){var a;function o(){a&&clearTimeout(a)}function l(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];o(),a=setTimeout(function(){a=null,e.apply(void 0,n)},t)}return l.cancel=o,l}function Ke(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return function(o){for(var l=arguments.length,r=new Array(l>1?l-1:0),n=1;n<l;n++)r[n-1]=arguments[n];return t.some(function(i){return i&&i.apply(void 0,[o].concat(r)),o.preventDownshiftDefault||o.hasOwnProperty("nativeEvent")&&o.nativeEvent.preventDownshiftDefault})}}function Ma(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return function(o){t.forEach(function(l){typeof l=="function"?l(o):l&&(l.current=o)})}}function II(e,t){return e[t]!==void 0}function e9(e){var t=e.key,a=e.keyCode;return a>=37&&a<=40&&t.indexOf("Arrow")!==0?"Arrow"+t:t}function yo(e,t,a,o,l){l===void 0&&(l=!1);var r=a.length;if(r===0)return-1;var n=r-1;(typeof e!="number"||e<0||e>n)&&(e=t>0?-1:n+1);var i=e+t;i<0?i=l?n:0:i>n&&(i=l?0:n);var u=yr(i,t<0,a,o,l);return u===-1?e>=r?-1:e:u}function yr(e,t,a,o,l){l===void 0&&(l=!1);var r=a.length;if(t){for(var n=e;n>=0;n--)if(!o(a[n],n))return n}else for(var i=e;i<r;i++)if(!o(a[i],i))return i;return l?yr(t?r-1:0,t,a,o):-1}function KC(e,t,a,o){return o===void 0&&(o=!0),a&&t.some(function(l){return l&&(GC(l,e,a)||o&&GC(l,a.document.activeElement,a))})}function Ts(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function MI(e,t,a,o){for(var l=e.type,r={},n=Object.keys(a),i=0,u=n;i<u.length;i++){var d=u[i];SI(d,e,t,a,o),o[d]!==a[d]&&(r[d]=o[d])}t.onStateChange&&Object.keys(r).length&&t.onStateChange(te({type:l},r))}function SI(e,t,a,o,l){if(l[e]!==o[e]){var r="on"+Ts(e)+"Change",n=a[r];if(typeof n=="function"){var i=t.type;n(te({type:i},l))}}}function am(e,t,a,o){var l=me.useRef(null),r=me.useRef(void 0),n=s0(t),i=me.useCallback(function(p,m){r.current=m,p=J2(p,n.current);var v=e(p,n.current,m),L=n.current.stateReducer(p,te({},m,{changes:v}));return te({},p,L)},[n,e]),u=me.useReducer(i,t,a),d=u[0],c=u[1],C=r.current;return me.useEffect(function(){var p,m=J2((p=l.current)!=null?p:{},n.current),v=C&&l.current&&!o(m,d);v&&MI(C,n.current,m,d),l.current=d},[d,C,o,n]),[d,c]}function _s(e,t,a,o){var l=am(e,t,a,o),r=l[0],n=l[1];return[J2(r,t),n]}function Es(e,t,a,o){if(e!==void 0&&t!==void 0)return[e,t];if(e!==void 0){var l=a.indexOf(e);if(l<0)throw new Error(o);return[e,a.indexOf(e)]}if(t!==void 0){var r=a[t];if(r===void 0)throw new Error(o);return[r,t]}throw new Error(o)}function n9(){var e=me.useRef(!0);return me.useEffect(function(){return e.current=!1,function(){e.current=!0}},[]),e.current}function RI(e,t){return t.changes}var HI={environment:W.default.shape({addEventListener:W.default.func.isRequired,removeEventListener:W.default.func.isRequired,document:W.default.shape({createElement:W.default.func.isRequired,getElementById:W.default.func.isRequired,activeElement:W.default.any.isRequired,body:W.default.any.isRequired}).isRequired,Node:W.default.func.isRequired}),itemToKey:W.default.func,stateReducer:W.default.func};function Yt(e,t,a){var o=e["default"+Ts(t)];return o!==void 0?o:a[t]}function ol(e,t,a){var o=e[t];if(o!==void 0)return o;var l=e["initial"+Ts(t)];return l!==void 0?l:Yt(e,t,a)}var XC=em(function(e,t){LI(e,t)},200);function Os(e,t,a,o){var l=o?.document,r=n9();me.useEffect(function(){if(!(!e||r||!l)){var n=e(t);XC(n,l)}},a),me.useEffect(function(){return function(){XC.cancel(),bI(l)}},[l])}var u0=te({},HI,{getA11yStatusMessage:W.default.func,highlightedIndex:W.default.number,defaultHighlightedIndex:W.default.number,initialHighlightedIndex:W.default.number,isOpen:W.default.bool,defaultIsOpen:W.default.bool,initialIsOpen:W.default.bool,selectedItem:W.default.any,initialSelectedItem:W.default.any,defaultSelectedItem:W.default.any,id:W.default.string,labelId:W.default.string,menuId:W.default.string,getItemId:W.default.func,toggleButtonId:W.default.string,onSelectedItemChange:W.default.func,onHighlightedIndexChange:W.default.func,onStateChange:W.default.func,onIsOpenChange:W.default.func,scrollIntoView:W.default.func}),d0={itemToString:function(t){return t?String(t):""},itemToKey:function(t){return t},stateReducer:RI,scrollIntoView:wI,environment:typeof window>"u"?void 0:window},F1={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},kI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?me.useLayoutEffect:me.useEffect;function TI(e){return/^\S{1}$/.test(e)}function om(e){var t=ol(e,"selectedItem",F1),a=ol(e,"isOpen",F1),o=_I(e),l=ol(e,"inputValue",F1);return{highlightedIndex:o<0&&t&&a?e.items.findIndex(function(r){return e.itemToKey(r)===e.itemToKey(t)}):o,isOpen:a,selectedItem:t,inputValue:l}}function ll(e,t,a){var o=e.items,l=e.initialHighlightedIndex,r=e.defaultHighlightedIndex,n=e.isItemDisabled,i=e.itemToKey,u=t.selectedItem,d=t.highlightedIndex;return o.length===0?-1:l!==void 0&&d===l&&!n(o[l],l)?l:r!==void 0&&!n(o[r],r)?r:u?o.findIndex(function(c){return i(u)===i(c)}):a<0&&!n(o[o.length-1],o.length-1)?o.length-1:a>0&&!n(o[0],0)?0:-1}function lm(e,t,a){var o=me.useRef({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1}),l=me.useCallback(function(){return a.map(function(r){return r.current})},[a]);return me.useEffect(function(){if(!e)return c0;function r(){o.current.isTouchEnd=!1,o.current.isMouseDown=!0}function n(c){o.current.isMouseDown=!1,KC(c.target,l(),e)||t()}function i(){o.current.isTouchEnd=!1,o.current.isTouchMove=!1}function u(){o.current.isTouchMove=!0}function d(c){o.current.isTouchEnd=!0,!o.current.isTouchMove&&!KC(c.target,l(),e,!1)&&t()}return e.addEventListener("mousedown",r),e.addEventListener("mouseup",n),e.addEventListener("touchstart",i),e.addEventListener("touchmove",u),e.addEventListener("touchend",d),function(){e.removeEventListener("mousedown",r),e.removeEventListener("mouseup",n),e.removeEventListener("touchstart",i),e.removeEventListener("touchmove",u),e.removeEventListener("touchend",d)}},[e,l,t]),o.current}var Ds=function(){return c0};function rm(e){var t=e.highlightedIndex,a=e.isOpen,o=e.itemRefs,l=e.getItemNodeFromIndex,r=e.menuElement,n=e.scrollIntoView,i=me.useRef(!0);return kI(function(){t<0||!a||!Object.keys(o.current).length||(i.current===!1?i.current=!0:n(l(t),r))},[t]),i}var Vs=c0;function t9(e,t,a){var o;a===void 0&&(a=!0);var l=((o=e.items)==null?void 0:o.length)&&t>=0;return te({isOpen:!1,highlightedIndex:-1},l&&te({selectedItem:e.items[t],isOpen:Yt(e,"isOpen",F1),highlightedIndex:Yt(e,"highlightedIndex",F1)},a&&{inputValue:e.itemToString(e.items[t])}))}function nm(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function a9(e){var t=Yt(e,"highlightedIndex",F1);return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}function _I(e){var t=ol(e,"highlightedIndex",F1);return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}function im(e,t,a,o){var l=a.type,r;switch(l){case o.ItemMouseMove:r={highlightedIndex:a.disabled?-1:a.index};break;case o.MenuMouseLeave:r={highlightedIndex:-1};break;case o.ToggleButtonClick:case o.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:ll(t,e,0)};break;case o.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:ll(t,e,0)};break;case o.FunctionCloseMenu:r={isOpen:!1};break;case o.FunctionSetHighlightedIndex:r={highlightedIndex:t.isItemDisabled(t.items[a.highlightedIndex],a.highlightedIndex)?-1:a.highlightedIndex};break;case o.FunctionSetInputValue:r={inputValue:a.inputValue};break;case o.FunctionReset:r={highlightedIndex:a9(t),isOpen:Yt(t,"isOpen",F1),selectedItem:Yt(t,"selectedItem",F1),inputValue:Yt(t,"inputValue",F1)};break;default:throw new Error("Reducer called without proper action type.")}return te({},e,r)}var EI=te({},u0,{items:W.default.array.isRequired,isItemDisabled:W.default.func}),OI=te({},d0,{isItemDisabled:function(){return!1}});function DI(e){for(var t=e.keysSoFar,a=e.highlightedIndex,o=e.items,l=e.itemToString,r=e.isItemDisabled,n=t.toLowerCase(),i=0;i<o.length;i++){var u=(i+a+(t.length<2?1:0))%o.length,d=o[u];if(d!==void 0&&l(d).toLowerCase().startsWith(n)&&!r(d,u))return u}return a}var W2=0,Bs=1,As=2,o9=3,Zs=4,zs=5,Ns=6,Ps=7,Us=8,qs=9,$s=10,l9=11,um=12,dm=13,Fs=14,sm=15,cm=16,fm=17,pm=18,js=19,Hs=20,Cm=21,mm=Object.freeze({__proto__:null,FunctionCloseMenu:fm,FunctionOpenMenu:cm,FunctionReset:Cm,FunctionSelectItem:js,FunctionSetHighlightedIndex:pm,FunctionSetInputValue:Hs,FunctionToggleMenu:sm,ItemClick:Fs,ItemMouseMove:dm,MenuMouseLeave:um,ToggleButtonBlur:l9,ToggleButtonClick:W2,ToggleButtonKeyDownArrowDown:Bs,ToggleButtonKeyDownArrowUp:As,ToggleButtonKeyDownCharacter:o9,ToggleButtonKeyDownEnd:Ns,ToggleButtonKeyDownEnter:Ps,ToggleButtonKeyDownEscape:Zs,ToggleButtonKeyDownHome:zs,ToggleButtonKeyDownPageDown:$s,ToggleButtonKeyDownPageUp:qs,ToggleButtonKeyDownSpaceButton:Us});function VI(e,t,a){var o,l=a.type,r=a.altKey,n;switch(l){case Fs:n={isOpen:Yt(t,"isOpen",F1),highlightedIndex:a9(t),selectedItem:t.items[a.index]};break;case o9:{var i=a.key,u=""+e.inputValue+i,d=!e.isOpen&&e.selectedItem?t.items.findIndex(function(m){return t.itemToKey(m)===t.itemToKey(e.selectedItem)}):e.highlightedIndex,c=DI({keysSoFar:u,highlightedIndex:d,items:t.items,itemToString:t.itemToString,isItemDisabled:t.isItemDisabled});n={inputValue:u,highlightedIndex:c,isOpen:!0}}break;case Bs:{var C=e.isOpen?yo(e.highlightedIndex,1,t.items,t.isItemDisabled):r&&e.selectedItem==null?-1:ll(t,e,1);n={highlightedIndex:C,isOpen:!0}}break;case As:if(e.isOpen&&r)n=t9(t,e.highlightedIndex,!1);else{var p=e.isOpen?yo(e.highlightedIndex,-1,t.items,t.isItemDisabled):ll(t,e,-1);n={highlightedIndex:p,isOpen:!0}}break;case Ps:case Us:n=t9(t,e.highlightedIndex,!1);break;case zs:n={highlightedIndex:yr(0,!1,t.items,t.isItemDisabled),isOpen:!0};break;case Ns:n={highlightedIndex:yr(t.items.length-1,!0,t.items,t.isItemDisabled),isOpen:!0};break;case qs:n={highlightedIndex:yo(e.highlightedIndex,-10,t.items,t.isItemDisabled)};break;case $s:n={highlightedIndex:yo(e.highlightedIndex,10,t.items,t.isItemDisabled)};break;case Zs:n={isOpen:!1,highlightedIndex:-1};break;case l9:n=te({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&((o=t.items)==null?void 0:o.length)&&{selectedItem:t.items[e.highlightedIndex]});break;case js:n={selectedItem:a.selectedItem};break;default:return im(e,t,a,mm)}return te({},e,n)}var BI=te({},me),hm=BI.useId,gm=typeof hm=="function"?AI:ZI;function AI(e){var t=e.id,a=e.labelId,o=e.menuId,l=e.getItemId,r=e.toggleButtonId,n=e.inputId,i="downshift-"+hm();t||(t=i);var u=me.useMemo(function(){return{labelId:a??t+"-label",menuId:o??t+"-menu",getItemId:l??function(d){return t+"-item-"+d},toggleButtonId:r??t+"-toggle-button",inputId:n??t+"-input"}},[l,t,n,a,o,r]);return u}function ZI(e){var t=e.id,a=e.labelId,o=e.menuId,l=e.getItemId,r=e.toggleButtonId,n=e.inputId,i=me.useRef(t??"downshift-"+JC()),u=i.current,d=me.useMemo(function(){return{labelId:a??u+"-label",menuId:o??u+"-menu",getItemId:l??function(c){return u+"-item-"+c},toggleButtonId:r??u+"-toggle-button",inputId:n??u+"-input"}},[l,n,a,o,r,u]);return d}var zI=["onClick"],NI=["onMouseLeave","refKey","ref"],PI=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],UI=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];i9.stateChangeTypes=mm;function i9(e){e===void 0&&(e={}),ks(e,i9,EI);var t=te({},OI,e),a=t.scrollIntoView,o=t.environment,l=t.getA11yStatusMessage,r=_s(VI,t,om,nm),n=r[0],i=r[1],u=n.isOpen,d=n.highlightedIndex,c=n.selectedItem,C=n.inputValue,p=(0,j.useRef)(null),m=(0,j.useRef)(null),v=(0,j.useRef)({}),L=(0,j.useRef)(null),x=gm(t),f=s0({state:n,props:t}),s=(0,j.useCallback)(function(Q){return v.current[x.getItemId(Q)]},[x]);Os(l,n,[u,d,c,C],o);var h=rm({menuElement:m.current,highlightedIndex:d,isOpen:u,itemRefs:v,scrollIntoView:a,getItemNodeFromIndex:s});(0,j.useEffect)(function(){return L.current=yI(function(Q){Q({type:Hs,inputValue:""})},500),function(){L.current.cancel()}},[]),(0,j.useEffect)(function(){C&&L.current(i)},[i,C]),Vs({props:t,state:n}),(0,j.useEffect)(function(){var Q=ol(t,"isOpen",F1);Q&&p.current&&p.current.focus()},[]);var g=(0,j.useCallback)(function(){f.current.state.isOpen&&i({type:l9})},[i,f]),b=(0,j.useMemo)(function(){return[m,p]},[]),R=lm(o,g,b),S=Ds("getMenuProps","getToggleButtonProps");(0,j.useEffect)(function(){u||(v.current={})},[u]);var w=(0,j.useMemo)(function(){return{ArrowDown:function(y){y.preventDefault(),i({type:Bs,altKey:y.altKey})},ArrowUp:function(y){y.preventDefault(),i({type:As,altKey:y.altKey})},Home:function(y){y.preventDefault(),i({type:zs})},End:function(y){y.preventDefault(),i({type:Ns})},Escape:function(){f.current.state.isOpen&&i({type:Zs})},Enter:function(y){y.preventDefault(),i({type:f.current.state.isOpen?Ps:W2})},PageUp:function(y){f.current.state.isOpen&&(y.preventDefault(),i({type:qs}))},PageDown:function(y){f.current.state.isOpen&&(y.preventDefault(),i({type:$s}))}," ":function(y){y.preventDefault();var M=f.current.state;if(!M.isOpen){i({type:W2});return}M.inputValue?i({type:o9,key:" "}):i({type:Us})}}},[i,f]),I=(0,j.useCallback)(function(){i({type:sm})},[i]),N=(0,j.useCallback)(function(){i({type:fm})},[i]),_=(0,j.useCallback)(function(){i({type:cm})},[i]),O=(0,j.useCallback)(function(Q){i({type:pm,highlightedIndex:Q})},[i]),k=(0,j.useCallback)(function(Q){i({type:js,selectedItem:Q})},[i]),D=(0,j.useCallback)(function(){i({type:Cm})},[i]),A=(0,j.useCallback)(function(Q){i({type:Hs,inputValue:Q})},[i]),T=(0,j.useCallback)(function(Q){var y=Q===void 0?{}:Q,M=y.onClick,G=$1(y,zI),z=function(){var q;(q=p.current)==null||q.focus()};return te({id:x.labelId,htmlFor:x.toggleButtonId,onClick:Ke(M,z)},G)},[x]),Z=(0,j.useCallback)(function(Q,y){var M,G=Q===void 0?{}:Q,z=G.onMouseLeave,$=G.refKey,q=$===void 0?"ref":$,F=G.ref,ne=$1(G,NI),he=y===void 0?{}:y,fe=he.suppressRefError,ve=fe===void 0?!1:fe,xe=function(){i({type:um})};return S("getMenuProps",ve,q,m),te((M={},M[q]=Ma(F,function(Re){m.current=Re}),M.id=x.menuId,M.role="listbox",M["aria-labelledby"]=ne&&ne["aria-label"]?void 0:""+x.labelId,M.onMouseLeave=Ke(z,xe),M),ne)},[i,S,x]),E=(0,j.useCallback)(function(Q,y){var M,G=Q===void 0?{}:Q,z=G.onBlur,$=G.onClick;G.onPress;var q=G.onKeyDown,F=G.refKey,ne=F===void 0?"ref":F,he=G.ref,fe=$1(G,PI),ve=y===void 0?{}:y,xe=ve.suppressRefError,Re=xe===void 0?!1:xe,Ue=f.current.state,j1=function(){i({type:W2})},x1=function(){Ue.isOpen&&!R.isMouseDown&&i({type:l9})},Ha=function(_1){var it=e9(_1);it&&w[it]?w[it](_1):TI(it)&&i({type:o9,key:it})},L1=te((M={},M[ne]=Ma(he,function(G1){p.current=G1}),M["aria-activedescendant"]=Ue.isOpen&&Ue.highlightedIndex>-1?x.getItemId(Ue.highlightedIndex):"",M["aria-controls"]=x.menuId,M["aria-expanded"]=f.current.state.isOpen,M["aria-haspopup"]="listbox",M["aria-labelledby"]=fe&&fe["aria-label"]?void 0:""+x.labelId,M.id=x.toggleButtonId,M.role="combobox",M.tabIndex=0,M.onBlur=Ke(z,x1),M),fe);return fe.disabled||(L1.onClick=Ke($,j1),L1.onKeyDown=Ke(q,Ha)),S("getToggleButtonProps",Re,ne,p),L1},[i,x,f,R,S,w]),re=(0,j.useCallback)(function(Q){var y,M=Q===void 0?{}:Q,G=M.item,z=M.index,$=M.onMouseMove,q=M.onClick,F=M.onMouseDown;M.onPress;var ne=M.refKey,he=ne===void 0?"ref":ne,fe=M.disabled,ve=M.ref,xe=$1(M,UI);fe!==void 0&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var Re=f.current,Ue=Re.state,j1=Re.props,x1=Es(G,z,j1.items,"Pass either item or index to getItemProps!"),Ha=x1[0],L1=x1[1],G1=j1.isItemDisabled(Ha,L1),_1=function(){R.isTouchEnd||L1===Ue.highlightedIndex||(h.current=!1,i({type:dm,index:L1,disabled:G1}))},it=function(){i({type:Fs,index:L1})},_r=function(Er){return Er.preventDefault()},E1=te((y={},y[he]=Ma(ve,function(Rt){Rt&&(v.current[x.getItemId(L1)]=Rt)}),y["aria-disabled"]=G1,y["aria-selected"]=Ha===Ue.selectedItem,y.id=x.getItemId(L1),y.role="option",y),xe);return G1||(E1.onClick=Ke(q,it)),E1.onMouseMove=Ke($,_1),E1.onMouseDown=Ke(F,_r),E1},[f,x,R,h,i]);return{getToggleButtonProps:E,getLabelProps:T,getMenuProps:Z,getItemProps:re,toggleMenu:I,openMenu:_,closeMenu:N,setHighlightedIndex:O,selectItem:k,reset:D,setInputValue:A,highlightedIndex:d,isOpen:u,selectedItem:c,inputValue:C}}var Gs=0,Ks=1,Xs=2,Qs=3,Ys=4,Ws=5,Js=6,ec=7,tc=8,r9=9,ac=10,vm=11,xm=12,oc=13,Lm=14,bm=15,wm=16,ym=17,Im=18,lc=19,Mm=20,Sm=21,rc=22,Rm=Object.freeze({__proto__:null,ControlledPropUpdatedSelectedItem:rc,FunctionCloseMenu:ym,FunctionOpenMenu:wm,FunctionReset:Sm,FunctionSelectItem:lc,FunctionSetHighlightedIndex:Im,FunctionSetInputValue:Mm,FunctionToggleMenu:bm,InputBlur:r9,InputChange:tc,InputClick:ac,InputKeyDownArrowDown:Gs,InputKeyDownArrowUp:Ks,InputKeyDownEnd:Ys,InputKeyDownEnter:ec,InputKeyDownEscape:Xs,InputKeyDownHome:Qs,InputKeyDownPageDown:Js,InputKeyDownPageUp:Ws,ItemClick:oc,ItemMouseMove:xm,MenuMouseLeave:vm,ToggleButtonClick:Lm});function qI(e){var t=om(e),a=t.selectedItem,o=t.inputValue;return o===""&&a&&e.defaultInputValue===void 0&&e.initialInputValue===void 0&&e.inputValue===void 0&&(o=e.itemToString(a)),te({},t,{inputValue:o})}var $I=te({},u0,{items:W.default.array.isRequired,isItemDisabled:W.default.func,inputValue:W.default.string,defaultInputValue:W.default.string,initialInputValue:W.default.string,inputId:W.default.string,onInputValueChange:W.default.func});function FI(e,t,a,o){var l=(0,j.useRef)(),r=am(e,t,a,o),n=r[0],i=r[1],u=n9();return(0,j.useEffect)(function(){if(II(t,"selectedItem")){if(!u){var d=t.itemToKey(t.selectedItem)!==t.itemToKey(l.current);d&&i({type:rc,inputValue:t.itemToString(t.selectedItem)})}l.current=n.selectedItem===l.current?t.selectedItem:n.selectedItem}},[n.selectedItem,t.selectedItem]),[J2(n,t),i]}var jI=te({},d0,{isItemDisabled:function(){return!1}});function GI(e,t,a){var o,l=a.type,r=a.altKey,n;switch(l){case oc:n={isOpen:Yt(t,"isOpen",F1),highlightedIndex:a9(t),selectedItem:t.items[a.index],inputValue:t.itemToString(t.items[a.index])};break;case Gs:e.isOpen?n={highlightedIndex:yo(e.highlightedIndex,1,t.items,t.isItemDisabled,!0)}:n={highlightedIndex:r&&e.selectedItem==null?-1:ll(t,e,1),isOpen:t.items.length>=0};break;case Ks:e.isOpen?r?n=t9(t,e.highlightedIndex):n={highlightedIndex:yo(e.highlightedIndex,-1,t.items,t.isItemDisabled,!0)}:n={highlightedIndex:ll(t,e,-1),isOpen:t.items.length>=0};break;case ec:n=t9(t,e.highlightedIndex);break;case Xs:n=te({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case Ws:n={highlightedIndex:yo(e.highlightedIndex,-10,t.items,t.isItemDisabled,!0)};break;case Js:n={highlightedIndex:yo(e.highlightedIndex,10,t.items,t.isItemDisabled,!0)};break;case Qs:n={highlightedIndex:yr(0,!1,t.items,t.isItemDisabled)};break;case Ys:n={highlightedIndex:yr(t.items.length-1,!0,t.items,t.isItemDisabled)};break;case r9:n=te({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&((o=t.items)==null?void 0:o.length)&&a.selectItem&&{selectedItem:t.items[e.highlightedIndex],inputValue:t.itemToString(t.items[e.highlightedIndex])});break;case tc:n={isOpen:!0,highlightedIndex:a9(t),inputValue:a.inputValue};break;case ac:n={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:ll(t,e,0)};break;case lc:n={selectedItem:a.selectedItem,inputValue:t.itemToString(a.selectedItem)};break;case rc:n={inputValue:a.inputValue};break;default:return im(e,t,a,Rm)}return te({},e,n)}var KI=["onMouseLeave","refKey","ref"],XI=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],QI=["onClick","onPress","refKey","ref"],YI=["onKeyDown","onChange","onInput","onBlur","onChangeText","onClick","refKey","ref"];Hm.stateChangeTypes=Rm;function Hm(e){e===void 0&&(e={}),ks(e,Hm,$I);var t=te({},jI,e),a=t.items,o=t.scrollIntoView,l=t.environment,r=t.getA11yStatusMessage,n=FI(GI,t,qI,nm),i=n[0],u=n[1],d=i.isOpen,c=i.highlightedIndex,C=i.selectedItem,p=i.inputValue,m=(0,j.useRef)(null),v=(0,j.useRef)({}),L=(0,j.useRef)(null),x=(0,j.useRef)(null),f=n9(),s=gm(t),h=(0,j.useRef)(),g=s0({state:i,props:t}),b=(0,j.useCallback)(function(z){return v.current[s.getItemId(z)]},[s]);Os(r,i,[d,c,C,p],l);var R=rm({menuElement:m.current,highlightedIndex:c,isOpen:d,itemRefs:v,scrollIntoView:o,getItemNodeFromIndex:b});Vs({props:t,state:i}),(0,j.useEffect)(function(){var z=ol(t,"isOpen",F1);z&&L.current&&L.current.focus()},[]),(0,j.useEffect)(function(){f||(h.current=a.length)});var S=(0,j.useCallback)(function(){g.current.state.isOpen&&u({type:r9})},[u,g]),w=(0,j.useMemo)(function(){return[m,x,L]},[]),I=lm(l,S,w),N=Ds("getInputProps","getMenuProps");(0,j.useEffect)(function(){d||(v.current={})},[d]),(0,j.useEffect)(function(){var z;!d||!(l!=null&&l.document)||!(L!=null&&(z=L.current)!=null&&z.focus)||l.document.activeElement!==L.current&&L.current.focus()},[d,l]);var _=(0,j.useMemo)(function(){return{ArrowDown:function($){$.preventDefault(),u({type:Gs,altKey:$.altKey})},ArrowUp:function($){$.preventDefault(),u({type:Ks,altKey:$.altKey})},Home:function($){g.current.state.isOpen&&($.preventDefault(),u({type:Qs}))},End:function($){g.current.state.isOpen&&($.preventDefault(),u({type:Ys}))},Escape:function($){var q=g.current.state;(q.isOpen||q.inputValue||q.selectedItem||q.highlightedIndex>-1)&&($.preventDefault(),u({type:Xs}))},Enter:function($){var q=g.current.state;!q.isOpen||$.which===229||($.preventDefault(),u({type:ec}))},PageUp:function($){g.current.state.isOpen&&($.preventDefault(),u({type:Ws}))},PageDown:function($){g.current.state.isOpen&&($.preventDefault(),u({type:Js}))}}},[u,g]),O=(0,j.useCallback)(function(z){return te({id:s.labelId,htmlFor:s.inputId},z)},[s]),k=(0,j.useCallback)(function(z,$){var q,F=z===void 0?{}:z,ne=F.onMouseLeave,he=F.refKey,fe=he===void 0?"ref":he,ve=F.ref,xe=$1(F,KI),Re=$===void 0?{}:$,Ue=Re.suppressRefError,j1=Ue===void 0?!1:Ue;return N("getMenuProps",j1,fe,m),te((q={},q[fe]=Ma(ve,function(x1){m.current=x1}),q.id=s.menuId,q.role="listbox",q["aria-labelledby"]=xe&&xe["aria-label"]?void 0:""+s.labelId,q.onMouseLeave=Ke(ne,function(){u({type:vm})}),q),xe)},[u,N,s]),D=(0,j.useCallback)(function(z){var $,q,F=z===void 0?{}:z,ne=F.item,he=F.index,fe=F.refKey,ve=fe===void 0?"ref":fe,xe=F.ref,Re=F.onMouseMove,Ue=F.onMouseDown,j1=F.onClick;F.onPress;var x1=F.disabled,Ha=$1(F,XI);x1!==void 0&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');var L1=g.current,G1=L1.props,_1=L1.state,it=Es(ne,he,G1.items,"Pass either item or index to getItemProps!"),_r=it[0],E1=it[1],Rt=G1.isItemDisabled(_r,E1),Er="onClick",p0=j1,ka=function(){I.isTouchEnd||E1===_1.highlightedIndex||(R.current=!1,u({type:xm,index:E1,disabled:Rt}))},Mo=function(){u({type:oc,index:E1})},Ta=function(rh){return rh.preventDefault()};return te(($={},$[ve]=Ma(xe,function(Ht){Ht&&(v.current[s.getItemId(E1)]=Ht)}),$["aria-disabled"]=Rt,$["aria-selected"]=E1===_1.highlightedIndex,$.id=s.getItemId(E1),$.role="option",$),!Rt&&(q={},q[Er]=Ke(p0,Mo),q),{onMouseMove:Ke(Re,ka),onMouseDown:Ke(Ue,Ta)},Ha)},[u,s,g,I,R]),A=(0,j.useCallback)(function(z){var $,q=z===void 0?{}:z,F=q.onClick;q.onPress;var ne=q.refKey,he=ne===void 0?"ref":ne,fe=q.ref,ve=$1(q,QI),xe=g.current.state,Re=function(){u({type:Lm})};return te(($={},$[he]=Ma(fe,function(Ue){x.current=Ue}),$["aria-controls"]=s.menuId,$["aria-expanded"]=xe.isOpen,$.id=s.toggleButtonId,$.tabIndex=-1,$),!ve.disabled&&te({},{onClick:Ke(F,Re)}),ve)},[u,g,s]),T=(0,j.useCallback)(function(z,$){var q,F=z===void 0?{}:z,ne=F.onKeyDown,he=F.onChange,fe=F.onInput,ve=F.onBlur;F.onChangeText;var xe=F.onClick,Re=F.refKey,Ue=Re===void 0?"ref":Re,j1=F.ref,x1=$1(F,YI),Ha=$===void 0?{}:$,L1=Ha.suppressRefError,G1=L1===void 0?!1:L1;N("getInputProps",G1,Ue,L);var _1=g.current.state,it=function(Ta){var Ht=e9(Ta);Ht&&_[Ht]&&_[Ht](Ta)},_r=function(Ta){u({type:tc,inputValue:Ta.target.value})},E1=function(Ta){if(l!=null&&l.document&&_1.isOpen&&!I.isMouseDown){var Ht=Ta.relatedTarget===null&&l.document.activeElement!==l.document.body;u({type:r9,selectItem:!Ht})}},Rt=function(){u({type:ac})},Er="onChange",p0={};if(!x1.disabled){var ka;p0=(ka={},ka[Er]=Ke(he,fe,_r),ka.onKeyDown=Ke(ne,it),ka.onBlur=Ke(ve,E1),ka.onClick=Ke(xe,Rt),ka)}return te((q={},q[Ue]=Ma(j1,function(Mo){L.current=Mo}),q["aria-activedescendant"]=_1.isOpen&&_1.highlightedIndex>-1?s.getItemId(_1.highlightedIndex):"",q["aria-autocomplete"]="list",q["aria-controls"]=s.menuId,q["aria-expanded"]=_1.isOpen,q["aria-labelledby"]=x1&&x1["aria-label"]?void 0:s.labelId,q.autoComplete="off",q.id=s.inputId,q.role="combobox",q.value=_1.inputValue,q),p0,x1)},[u,s,l,_,g,I,N]),Z=(0,j.useCallback)(function(){u({type:bm})},[u]),E=(0,j.useCallback)(function(){u({type:ym})},[u]),re=(0,j.useCallback)(function(){u({type:wm})},[u]),Q=(0,j.useCallback)(function(z){u({type:Im,highlightedIndex:z})},[u]),y=(0,j.useCallback)(function(z){u({type:lc,selectedItem:z})},[u]),M=(0,j.useCallback)(function(z){u({type:Mm,inputValue:z})},[u]),G=(0,j.useCallback)(function(){u({type:Sm})},[u]);return{getItemProps:D,getLabelProps:O,getMenuProps:k,getInputProps:T,getToggleButtonProps:A,toggleMenu:Z,openMenu:re,closeMenu:E,setHighlightedIndex:Q,setInputValue:M,selectItem:y,reset:G,highlightedIndex:c,isOpen:d,selectedItem:C,inputValue:p}}var km={activeIndex:-1,selectedItems:[]};function QC(e,t){return ol(e,t,km)}function YC(e,t){return Yt(e,t,km)}function WI(e){var t=QC(e,"activeIndex"),a=QC(e,"selectedItems");return{activeIndex:t,selectedItems:a}}function WC(e){if(e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)return!1;var t=e.target;return!(t instanceof HTMLInputElement&&t.value!==""&&(t.selectionStart!==0||t.selectionEnd!==0))}function JI(e,t){return e.selectedItems===t.selectedItems&&e.activeIndex===t.activeIndex}var ZA={stateReducer:u0.stateReducer,itemToKey:u0.itemToKey,environment:u0.environment,selectedItems:W.default.array,initialSelectedItems:W.default.array,defaultSelectedItems:W.default.array,getA11yStatusMessage:W.default.func,activeIndex:W.default.number,initialActiveIndex:W.default.number,defaultActiveIndex:W.default.number,onActiveIndexChange:W.default.func,onSelectedItemsChange:W.default.func,keyNavigationNext:W.default.string,keyNavigationPrevious:W.default.string},eM={itemToKey:d0.itemToKey,stateReducer:d0.stateReducer,environment:d0.environment,keyNavigationNext:"ArrowRight",keyNavigationPrevious:"ArrowLeft"},tM=c0,nc=0,ic=1,uc=2,dc=3,sc=4,cc=5,fc=6,pc=7,Cc=8,mc=9,hc=10,gc=11,vc=12,aM=Object.freeze({__proto__:null,DropdownClick:pc,DropdownKeyDownBackspace:fc,DropdownKeyDownNavigationPrevious:cc,FunctionAddSelectedItem:Cc,FunctionRemoveSelectedItem:mc,FunctionReset:vc,FunctionSetActiveIndex:gc,FunctionSetSelectedItems:hc,SelectedItemClick:nc,SelectedItemKeyDownBackspace:uc,SelectedItemKeyDownDelete:ic,SelectedItemKeyDownNavigationNext:dc,SelectedItemKeyDownNavigationPrevious:sc});function oM(e,t,a){var o=a.type,l=a.index,r=a.selectedItem,n=e.activeIndex,i=e.selectedItems,u;switch(o){case nc:u={activeIndex:l};break;case sc:u={activeIndex:n-1<0?0:n-1};break;case dc:u={activeIndex:n+1>=i.length?-1:n+1};break;case uc:case ic:{if(n<0)break;var d=n;i.length===1?d=-1:n===i.length-1&&(d=i.length-2),u=te({selectedItems:[].concat(i.slice(0,n),i.slice(n+1))},{activeIndex:d});break}case cc:u={activeIndex:i.length-1};break;case fc:u={selectedItems:i.slice(0,i.length-1)};break;case Cc:u={selectedItems:[].concat(i,[r])};break;case pc:u={activeIndex:-1};break;case mc:{var c=n,C=i.findIndex(function(v){return t.itemToKey(v)===t.itemToKey(r)});if(C<0)break;i.length===1?c=-1:C===i.length-1&&(c=i.length-2),u={selectedItems:[].concat(i.slice(0,C),i.slice(C+1)),activeIndex:c};break}case hc:{var p=a.selectedItems;u={selectedItems:p};break}case gc:{var m=a.activeIndex;u={activeIndex:m};break}case vc:u={activeIndex:YC(t,"activeIndex"),selectedItems:YC(t,"selectedItems")};break;default:throw new Error("Reducer called without proper action type.")}return te({},e,u)}var lM=["refKey","ref","onClick","onKeyDown","selectedItem","index"],rM=["refKey","ref","onKeyDown","onClick","preventKeyAction"];Tm.stateChangeTypes=aM;function Tm(e){e===void 0&&(e={}),tM(e,Tm);var t=te({},eM,e),a=t.getA11yStatusMessage,o=t.environment,l=t.keyNavigationNext,r=t.keyNavigationPrevious,n=_s(oM,t,WI,JI),i=n[0],u=n[1],d=i.activeIndex,c=i.selectedItems,C=n9(),p=(0,j.useRef)(null),m=(0,j.useRef)();m.current=[];var v=s0({state:i,props:t});Os(a,i,[d,c],o),(0,j.useEffect)(function(){C||(d===-1&&p.current?p.current.focus():m.current[d]&&m.current[d].focus())},[d]),Vs({props:t,state:i});var L=Ds("getDropdownProps"),x=(0,j.useMemo)(function(){var I;return I={},I[r]=function(){u({type:sc})},I[l]=function(){u({type:dc})},I.Delete=function(){u({type:ic})},I.Backspace=function(){u({type:uc})},I},[u,l,r]),f=(0,j.useMemo)(function(){var I;return I={},I[r]=function(N){WC(N)&&u({type:cc})},I.Backspace=function(_){WC(_)&&u({type:fc})},I},[u,r]),s=(0,j.useCallback)(function(I){var N,_=I===void 0?{}:I,O=_.refKey,k=O===void 0?"ref":O,D=_.ref,A=_.onClick,T=_.onKeyDown,Z=_.selectedItem,E=_.index,re=$1(_,lM),Q=v.current.state,y=Es(Z,E,Q.selectedItems,"Pass either item or index to getSelectedItemProps!"),M=y[1],G=M>-1&&M===Q.activeIndex,z=function(){u({type:nc,index:M})},$=function(F){var ne=e9(F);ne&&x[ne]&&x[ne](F)};return te((N={},N[k]=Ma(D,function(q){q&&m.current.push(q)}),N.tabIndex=G?0:-1,N.onClick=Ke(A,z),N.onKeyDown=Ke(T,$),N),re)},[u,v,x]),h=(0,j.useCallback)(function(I,N){var _,O=I===void 0?{}:I,k=O.refKey,D=k===void 0?"ref":k,A=O.ref,T=O.onKeyDown,Z=O.onClick,E=O.preventKeyAction,re=E===void 0?!1:E,Q=$1(O,rM),y=N===void 0?{}:N,M=y.suppressRefError,G=M===void 0?!1:M;L("getDropdownProps",G,D,p);var z=function(F){var ne=e9(F);ne&&f[ne]&&f[ne](F)},$=function(){u({type:pc})};return te((_={},_[D]=Ma(A,function(q){q&&(p.current=q)}),_),!re&&{onKeyDown:Ke(T,z),onClick:Ke(Z,$)},Q)},[u,f,L]),g=(0,j.useCallback)(function(I){u({type:Cc,selectedItem:I})},[u]),b=(0,j.useCallback)(function(I){u({type:mc,selectedItem:I})},[u]),R=(0,j.useCallback)(function(I){u({type:hc,selectedItems:I})},[u]),S=(0,j.useCallback)(function(I){u({type:gc,activeIndex:I})},[u]),w=(0,j.useCallback)(function(){u({type:vc})},[u]);return{getSelectedItemProps:s,getDropdownProps:h,addSelectedItem:g,removeSelectedItem:b,setSelectedItems:R,setActiveIndex:S,reset:w,selectedItems:c,activeIndex:d}}var xc=0,Lc=1,bc=2,wc=3,yc=4,Ic=5,Mc=6,nM=Object.freeze({__proto__:null,FunctionAddItem:Mc,TagClick:xc,TagGroupKeyDownArrowLeft:Lc,TagGroupKeyDownArrowRight:bc,TagGroupKeyDownBackspace:yc,TagGroupKeyDownDelete:wc,TagRemoveClick:Ic});function iM(e,t,a){var o=a.type,l;switch(o){case xc:l={activeIndex:a.index};break;case Lc:l={activeIndex:e.activeIndex===0?e.items.length-1:e.activeIndex-1};break;case bc:l={activeIndex:e.activeIndex===e.items.length-1?0:e.activeIndex+1};break;case yc:case wc:{var r=[].concat(e.items.slice(0,e.activeIndex),e.items.slice(e.activeIndex+1)),n=r.length===0?-1:r.length===e.activeIndex?e.activeIndex-1:e.activeIndex;l={items:[].concat(e.items.slice(0,e.activeIndex),e.items.slice(e.activeIndex+1)),activeIndex:n};break}case Ic:{var i=[].concat(e.items.slice(0,a.index),e.items.slice(a.index+1)),u=i.length===0?-1:i.length===a.index?a.index-1:a.index;l={items:i,activeIndex:u}}break;case Mc:{var d=[];a.index===void 0?d=[].concat(e.items,[a.item]):d=[].concat(e.items.slice(0,a.index),[a.item],e.items.slice(a.index));var c=e.activeIndex===-1?d.length-1:e.activeIndex;l={items:d,activeIndex:c};break}default:throw new Error("Invalid useTagGroup reducer action.")}return te({},e,l)}var uM=te({},me),_m=uM.useId,dM=typeof _m=="function"?sM:cM;function sM(e){var t=e.id,a=e.tagGroupId,o=e.getTagId,l="downshift-"+_m();t||(t=l);var r=me.useMemo(function(){return{tagGroupId:a??t+"-tag-group",getTagId:o??function(n){return t+"-tag-"+n}}},[o,t,a]);return r}function cM(e){var t=e.id,a=e.getTagId,o=e.tagGroupId,l=me.useRef(t??"downshift-"+JC()),r=l.current,n=me.useMemo(function(){return{tagGroupId:o??r+"-tag-group",getTagId:a??function(i){return r+"-tag-"+i}}},[a,r,o]);return n}function fM(e){var t,a,o,l,r=(t=(a=e.items)!=null?a:e.initialItems)!=null?t:[],n=(o=(l=e.activeIndex)!=null?l:e.initialActiveIndex)!=null?o:r.length===0?-1:0;return{activeIndex:n,items:r}}function pM(e,t){return e.activeIndex===t.activeIndex&&e.items===t.items}var Em="tag-group-a11y-description";function CM(e,t){me.useEffect(function(){if(e){var a=e.createElement("div");return a.setAttribute("id",Em),a.style.display="none",a.textContent=t,e.body.appendChild(a),function(){a.remove()}}},[t,e])}function mM(e){return te({stateReducer:function(a,o){var l=o.changes;return l},environment:typeof window>"u"?void 0:window,removeElementDescription:"Press Delete or Backspace to remove tag."},e)}function hM(e,t,a){var o=me.useRef({}),l=me.useRef(e),r=me.useRef(t);return me.useEffect(function(){if(e!==-1&&l.current!==-1&&e!==l.current||r.current===t+1){var n;(n=o.current[a(e)])==null||n.focus()}l.current=e,r.current=t},[e,a,t]),o}var gM={isItemDisabled:W.default.func},vM=["onKeyDown"],xM=["index","refKey","ref","onClick"],LM=["index","onClick"],Om=function(t){var a;t===void 0&&(t={}),ks(t,Om,gM);var o=mM(t),l=_s(iM,o,fM,pM),r=l[0],n=l[1],i=r.activeIndex,u=r.items,d=s0({state:r,props:o}),c=dM({getTagId:o.getTagId,id:o.id,tagGroupId:o.tagGroupId});CM((a=o.environment)==null?void 0:a.document,o.removeElementDescription);var C=hM(i,u.length,c.getTagId),p=(0,j.useCallback)(function(x){var f=x??{},s=f.onKeyDown,h=$1(f,vM),g=function(S){switch(S.key){case"ArrowLeft":n({type:Lc});break;case"ArrowRight":n({type:bc});break;case"Delete":n({type:wc});break;case"Backspace":n({type:yc});break}},b=te({id:c.tagGroupId,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions",role:"listbox",onKeyDown:Rs(s,g)},h);return b},[n,c.tagGroupId]),m=(0,j.useCallback)(function(x){var f,s=x.index,h=x.refKey,g=h===void 0?"ref":h,b=x.ref,R=x.onClick,S=$1(x,xM);if(!Number.isInteger(s)||s<0)throw new Error("Pass correct item index to getTagProps!");var w=d.current.state,I=function(){n({type:xc,index:s})},N=c.getTagId(s);return te((f={"aria-describedby":Em},f[g]=vI(b,function(_){_&&(C.current[N]=_)}),f["aria-labelledby"]=N,f.role="option",f.id=N,f.onClick=Rs(R,I),f.tabIndex=w.activeIndex===s?0:-1,f),S)},[n,c,d,C]),v=(0,j.useCallback)(function(x){var f=x.index,s=x.onClick,h=$1(x,LM);if(!Number.isInteger(f)||f<0)throw new Error("Pass correct item index to getTagRemoveProps!");var g=function(w){w.stopPropagation(),n({type:Ic,index:f})},b=c.getTagId(f),R=b+"-remove";return te({id:R,tabIndex:-1,"aria-labelledby":R+" "+b,onClick:Rs(s,g)},h)},[c,n]),L=(0,j.useCallback)(function(x,f){n({type:Mc,item:x,index:f})},[n]);return{activeIndex:i,addItem:L,getTagGroupProps:p,getTagProps:m,getTagRemoveProps:v,items:u}};Om.stateChangeTypes=nM;var Ir=U(ge(),1),Dm=U(Ar(),1);var Bt=U(le(),1),bM=260,u9=4,wM=(0,Bt.jsx)($8,{width:9,height:9}),yM=(0,Bt.jsx)(F8,{width:9,height:9});function IM(e){let t=e.getBoundingClientRect(),a=Gn(e),o=a?a.getBoundingClientRect():{top:0,bottom:window.innerHeight},l=o.bottom-t.bottom-u9,r=t.top-o.top-u9,n=l<bM&&r>l;return{top:n?t.top-u9:t.bottom+u9,left:t.left,width:t.width,openAbove:n}}function Mr({label:e,options:t,selectedItem:a,onChange:o,id:l="picklist",getOptionStyle:r,getTriggerStyle:n}){let[i,u]=Ir.default.useState({top:0,left:0,width:0,openAbove:!1}),d=Ir.default.useRef(null),c=`${l}-legend`,{isOpen:C,closeMenu:p,highlightedIndex:m,getToggleButtonProps:v,getMenuProps:L,getItemProps:x}=i9({items:t,itemToString:b=>b?b.label:"",selectedItem:a,onSelectedItemChange:({selectedItem:b})=>{typeof o=="function"&&b&&b.value!==a?.value&&o(b.value)},onIsOpenChange:({isOpen:b})=>{b&&d.current&&u(IM(d.current))},id:l,labelId:c});Ir.default.useEffect(()=>{if(!C||!d.current)return;let b=Gn(d.current);if(!b)return;let R=()=>p();return b.addEventListener("scroll",R,{passive:!0}),()=>b.removeEventListener("scroll",R)},[C,p]);let f="picklistEditor-dropdown"+(C?" picklistEditor-dropdown--open":""),s=C?{top:i.top,left:i.left,width:i.width,...i.openAbove?{transform:"translateY(-100%)"}:void 0}:void 0,[h,g]=Ir.default.useState(null);return Ir.default.useLayoutEffect(()=>{let R=d.current?.getRootNode();g(R instanceof ShadowRoot?R:document.body)},[]),(0,Bt.jsx)($t,{label:e,id:l,className:"picklistEditor-fieldset",children:(0,Bt.jsxs)("div",{className:"picklistEditor-wrapper",children:[(0,Bt.jsxs)("button",{type:"button",className:"picklistEditor-trigger",style:n?n(a):void 0,...v({ref:d}),children:[(0,Bt.jsx)("span",{className:"picklistEditor-trigger-label",children:a?.label??"Default"}),(0,Bt.jsx)("span",{className:"picklistEditor-trigger-chevron","aria-hidden":"true",children:C?yM:wM})]}),(0,Dm.createPortal)((0,Bt.jsx)("ul",{className:f,style:s,...L(),children:C&&t.map((b,R)=>(0,Bt.jsx)("li",{className:"picklistEditor-option"+(m===R?" picklistEditor-option--highlighted":"")+(a?.value===b.value?" picklistEditor-option--selected":""),style:r?r(b):void 0,...x({item:b,index:R}),children:b.label},b.value||"default"))}),h??document.body)]})})}var Bm=U(le(),1),MM=[{value:"",label:"Default"},{value:"Arial, sans-serif",label:"Arial"},{value:"Helvetica, sans-serif",label:"Helvetica"},{value:"Verdana, sans-serif",label:"Verdana"},{value:"Tahoma, sans-serif",label:"Tahoma"},{value:"'Trebuchet MS', sans-serif",label:"Trebuchet MS"},{value:"'Lucida Sans Unicode', sans-serif",label:"Lucida Sans"},{value:"Georgia, serif",label:"Georgia"},{value:"'Times New Roman', serif",label:"Times New Roman"},{value:"'Palatino Linotype', serif",label:"Palatino"},{value:"'Courier New', monospace",label:"Courier New"},{value:"'Lucida Console', monospace",label:"Lucida Console"}];function SM(e,t){if(!e)return null;let a=e.replace(/['"]/g,""),o=(a.split(",")[0]??"").trim();for(let l of t){if(!l.value)continue;let r=l.value.replace(/['"]/g,"");if(a.indexOf(r)!==-1||r.indexOf(o)!==-1)return l}return null}var RM=e=>e.value?{fontFamily:e.value}:void 0,HM=e=>e?.value?{fontFamily:e.value}:void 0;function Vm({label:e="Font family",value:t,options:a=MM,onChange:o,matchOption:l=SM,id:r="font-family"}){let n=l(t,a)??a[0]??null;return(0,Bm.jsx)(Mr,{label:e,options:a,selectedItem:n,onChange:o,id:r,getOptionStyle:RM,getTriggerStyle:HM})}var d9=U(le(),1),kM=[{value:"normal",label:"Normal",icon:(0,d9.jsx)(H8,{width:14,height:14})},{value:"italic",label:"Italic",icon:(0,d9.jsx)(R8,{width:14,height:14})}];function Am({label:e="Font Style",value:t,onChange:a,id:o="font-style"}){return(0,d9.jsx)(Ft,{label:e,options:kM,value:t||"normal",onChange:a,id:o})}var zm=U(le(),1),TM=[{value:"",label:"Default"},{value:"100",label:"Thin (100)"},{value:"200",label:"Extra Light (200)"},{value:"300",label:"Light (300)"},{value:"400",label:"Regular (400)"},{value:"500",label:"Medium (500)"},{value:"600",label:"Semi Bold (600)"},{value:"700",label:"Bold (700)"},{value:"800",label:"Extra Bold (800)"},{value:"900",label:"Black (900)"}];function _M(e,t){if(!e)return null;let a=String(e).trim();return t.find(o=>o.value===a)??null}function Zm({label:e="Font weight",value:t,options:a=TM,onChange:o,matchOption:l=_M,id:r="font-weight"}){let n=l(t,a)??a[0]??null;return(0,zm.jsx)(Mr,{label:e,options:a,selectedItem:n,onChange:o,id:r})}var Pm=U(le(),1),Sc=[{value:"",label:"Default"},{value:"visible",label:"Visible"},{value:"hidden",label:"Hidden"},{value:"scroll",label:"Scroll"},{value:"auto",label:"Auto"}];function EM(e,t){if(!e)return null;let a=String(e).trim().toLowerCase();return t.find(o=>o.value===a)??null}function Nm({label:e="Overflow",value:t,onChange:a,id:o="overflow"}){let l=EM(t,Sc)??Sc[0]??null;return(0,Pm.jsx)(Mr,{label:e,options:Sc,selectedItem:l,onChange:a,id:o})}var Sr=U(le(),1),OM=[{value:"left",label:"Left",icon:(0,Sr.jsx)(U8,{width:14,height:14})},{value:"center",label:"Center",icon:(0,Sr.jsx)(N8,{width:14,height:14})},{value:"right",label:"Right",icon:(0,Sr.jsx)(q8,{width:14,height:14})},{value:"justify",label:"Justify",icon:(0,Sr.jsx)(P8,{width:14,height:14})}],DM={start:"left",end:"right"};function Um({label:e="Text Align",value:t,onChange:a,id:o="text-align"}){let l=DM[t||""]||t||"left";return(0,Sr.jsx)(Ft,{label:e,options:OM,value:l,onChange:a,id:o})}var f0=U(le(),1),qm=[{value:"none",label:"None",icon:(0,f0.jsx)(Wl,{width:14,height:14})},{value:"underline",label:"Underline",icon:(0,f0.jsx)(j8,{width:14,height:14})},{value:"line-through",label:"Line Through",icon:(0,f0.jsx)(z8,{width:14,height:14})}];function VM(e){if(!e)return"none";for(let t of qm)if(e===t.value||e.startsWith(t.value+" "))return t.value;return"none"}function $m({label:e="Text Decoration",value:t,onChange:a,id:o="text-decoration"}){return(0,f0.jsx)(Ft,{label:e,options:qm,value:VM(t),onChange:a,id:o})}var Rr=U(le(),1),BM=[{value:"none",label:"None",icon:(0,Rr.jsx)(Wl,{width:14,height:14})},{value:"uppercase",label:"Uppercase",icon:(0,Rr.jsx)(D8,{width:14,height:14})},{value:"lowercase",label:"Lowercase",icon:(0,Rr.jsx)(O8,{width:14,height:14})},{value:"capitalize",label:"Capitalize",icon:(0,Rr.jsx)(E8,{width:14,height:14})}];function Fm({label:e="Text Transform",value:t,onChange:a,id:o="text-transform"}){return(0,Rr.jsx)(Ft,{label:e,options:BM,value:t||"none",onChange:a,id:o})}var Io={CHANGED:"history-changed",COMMAND_PUSHED:"command-pushed",COMMAND_UNDONE:"command-undone",COMMAND_REDONE:"command-redone",CLEARED:"history-cleared"},s9=class{constructor(t={}){So(this,"undoStack",[]);So(this,"redoStack",[]);So(this,"maxHistorySize");So(this,"listeners",new Set);So(this,"_isProcessing",!1);So(this,"commandExecutor");if(this.maxHistorySize=t.maxHistorySize??200,!t.commandExecutor)throw new Error("CommandExecutor is required");this.commandExecutor=t.commandExecutor}createCommand(t,a,o,l){return Object.freeze({id:this._generateCommandId(),type:t,oldValue:a,newValue:o,data:l})}_generateCommandId(){return`cmd-${Date.now()}-${Math.random().toString(36).substr(2,9)}`}subscribe(t){if(typeof t!="function")throw new Error("Listener must be a function");return this.listeners.add(t),()=>{this.listeners.delete(t)}}_notify(t,a={}){if(this.listeners.size===0)return;let o=Object.freeze({type:t,timestamp:Date.now(),canUndo:this.canUndo(),canRedo:this.canRedo(),undoCount:this.getUndoCount(),redoCount:this.getRedoCount(),...a}),l=Array.from(this.listeners);for(let r of l)try{r(o)}catch(n){console.error("[HistoryManager] Error in listener:",n)}}pushCommand(t){if(!t||typeof t!="object")throw new Error("Invalid command: must be an object");if(!t.type)throw new Error("Invalid command: missing required fields (type)");if(this._isProcessing){console.warn("[HistoryManager] pushCommand called during processing, ignoring");return}this.undoStack.push(t),this.redoStack=[],this._trimStack(),this._notify(Io.COMMAND_PUSHED,{command:t}),this._notify(Io.CHANGED)}_trimStack(){if(this.undoStack.length>this.maxHistorySize){let t=this.undoStack.length-this.maxHistorySize;this.undoStack.splice(0,t)}}_applyCommand(t,a){if(!this.commandExecutor.canHandle(t.type))return console.warn("[HistoryManager] No executor for command type:",t.type),!1;try{return this.commandExecutor.execute(t,a)}catch(o){return console.error("[HistoryManager] Error applying command:",o,t),!1}}_createInverseCommand(t,a){let o=this.commandExecutor.getCurrentValue(t);return Object.freeze({id:this._generateCommandId(),type:t.type,oldValue:a?t.oldValue:o,newValue:a?o:t.newValue,data:t.data})}undo(){if(this._isProcessing)return console.warn("[HistoryManager] undo called during processing, ignoring"),!1;if(!this.canUndo())return!1;this._isProcessing=!0;try{let t=this.undoStack.pop(),a=this._applyCommand(t,!0);if(a){let o=this._createInverseCommand(t,!1);this.redoStack.push(o)}else this.undoStack.push(t),console.warn("[HistoryManager] Undo failed, command restored to stack");return this._notify(Io.COMMAND_UNDONE,{command:t,appliedValue:t.oldValue}),this._notify(Io.CHANGED),a}finally{this._isProcessing=!1}}redo(){if(this._isProcessing)return console.warn("[HistoryManager] redo called during processing, ignoring"),!1;if(!this.canRedo())return!1;this._isProcessing=!0;try{let t=this.redoStack.pop();if(!t)return console.warn("[HistoryManager] No command to redo"),!1;let a=this._applyCommand(t,!1);if(a){let o=this._createInverseCommand(t,!0);this.undoStack.push(o),this._trimStack()}else this.redoStack.push(t),console.warn("[HistoryManager] Redo failed, command restored to stack");return this._notify(Io.COMMAND_REDONE,{command:t,appliedValue:t.newValue}),this._notify(Io.CHANGED),a}finally{this._isProcessing=!1}}canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}clear(){this.undoStack=[],this.redoStack=[],this._notify(Io.CLEARED),this._notify(Io.CHANGED)}getUndoCount(){return this.undoStack.length}getRedoCount(){return this.redoStack.length}getUndoStackSnapshot(){return this.undoStack.map(t=>({type:t.type,oldValue:t.oldValue,newValue:t.newValue,data:t.data}))}};var AM=(e,t)=>{let a=t?e.oldValue:e.newValue;return typeof a=="string"?a:String(a??"")},jm=e=>{if(!e||typeof e!="object")return;let t=e;if(!(typeof t.sourceFile!="string"||typeof t.lineNumber!="number"||typeof t.columnNumber!="number"))return{sourceFile:t.sourceFile,lineNumber:t.lineNumber,columnNumber:t.columnNumber}},ZM=e=>typeof e=="object"&&e!==null&&"property"in e&&typeof e.property=="string",Gm=(e,t)=>{let a=new Map;return{execute:(o,l)=>{let r=AM(o,l);a.set(o.id,r);try{if(o.type==="style"&&ZM(o.data)){let n=jm(o.data);return e(o.data.property,r,n),!0}else if(o.type==="text"){let n=jm(o.data);return t(r,n),!0}}catch{return!1}return!1},getCurrentValue:o=>a.get(o.id)??o.newValue,canHandle:o=>o==="style"||o==="text"}};function Km(e,t){let a=Gm(e,t),o=new s9({commandExecutor:a});return{recordStyleChange(l,r,n,i){let u=o.createCommand("style",r,n,{...i,property:l});o.pushCommand(u)},recordTextChange(l,r,n){let i=o.createCommand("text",l,r,{...n});o.pushCommand(i)},undo:()=>o.undo(),redo:()=>o.redo(),canUndo:()=>o.canUndo(),canRedo:()=>o.canRedo(),subscribe:l=>o.subscribe(l),getHistoryStack:()=>o.getUndoStackSnapshot(),clear:()=>o.clear()}}var Y=U(le(),1),NM=!0,PM="This element's text can be edited inline.",UM="This element's text cannot be edited inline because it contains dynamic content.",qM={opacity:.4},$M=new Set(Y8);function FM({size:e=16}){return(0,Y.jsx)("svg",{width:e,height:e,viewBox:"-1 0 252 302",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,Y.jsx)("path",{d:"M57 49Q67 49 74 42Q81 35 81 25Q81 15 74 8Q67 1 57 1Q47 1 40 8Q33 15 33 25Q33 35 40 42Q47 49 57 49ZM193 49Q203 49 210 42Q217 35 217 25Q217 15 210 8Q203 1 193 1Q183 1 176 8Q169 15 169 25Q169 35 176 42Q183 49 193 49ZM125 301Q100 301 71 292Q47 285 26 274Q7 265 3.5 259.5Q0 254 1 249Q13 216 20 189Q24 171 26 157V147Q28 120 30 105Q34 78 40 65Q48 48 63 39Q85 27 125 27Q165 27 186 39Q201 47 209 65Q216 78 220 105Q222 120 224 147V157Q226 171 230 189Q237 216 248 249Q250 254 246.5 259.5Q243 265 224 274Q203 285 179 292Q150 301 125 301ZM23 249Q39 259 63 268Q97 280 125 280Q153 280 187 268Q210 259 227 249Q216 219 210 194Q205 174 204 159L203 148Q199 91 191 73Q188 66 184 62Q177 56 165 52Q150 48 125 48Q90 48 73 57Q64 63 59 73Q51 91 47 148L46 158Q45 174 40 194Q34 220 23 249ZM124 248Q113 248 102 244Q84 236 76 217Q72 209 71 201Q70 193 70 179Q70 163 73 151Q76 142 81.5 134Q87 126 98 120Q109 114 125.5 114Q142 114 152 120Q164 127 169 134.5Q174 142 177 151Q180 163 180 178.5Q180 194 179 200Q178 209 174 218Q167 232 154.5 240Q142 248 126 248ZM124 228H126Q147 228 156 209Q158 203 159 197.5Q160 192 160 179Q160 166 157 157Q155 151 152 146.5Q149 142 141 138Q136 134 125 134Q114 134 107.5 138Q101 142 98 146.5Q95 151 93 157Q90 166 90 178.5Q90 191 91 197Q92 203 94 209Q99 221 111 225Q117 228 124 228ZM195 81Q192 79 190 78Q170 70 146 76Q134 80 125.5 80Q117 80 104 76Q80 70 60 78Q58 79 55 81Q50 84 51 89L55 112Q56 117 59.5 120.5Q63 124 68 125Q83 126 99 126Q111 126 115 114L122 92Q122 91 124 89L125 88L126 89Q128 91 128 92L135 114Q139 126 152 126Q167 126 182 125Q187 124 190.5 120.5Q194 117 195 112L199 89Q200 84 195 81ZM141 192Q137 190 133 193V171Q138 169 141 165Q143 163 144 161Q145 159 145 156.5Q145 154 143.5 152Q142 150 140 148.5Q138 147 134 146Q130 145 125.5 145Q121 145 116 146Q111 147 109 149Q107 151 106 153Q105 155 105 157Q105 159 106 161Q107 163 109.5 166Q112 169 116 171H117V193Q113 190 109 191.5Q105 193 104 196Q103 199 105 202Q108 210 117 213Q124 216 133 213L134 212Q143 209 146 202Q147 199 145.5 196Q144 193 141 192Z"})})}function jM(e,t){let a=e[t];return a!=null?String(a):""}function Xm(e){if(!(!e||!e.name||!e.debugSource))return{sourceFile:e.debugSource.sourceFile,lineNumber:e.debugSource.lineNumber,columnNumber:e.debugSource.columnNumber,componentName:e.name}}function GM({component:e,onOpenSourceFile:t}){if(!e||!e.name)return(0,Y.jsx)("section",{id:"property-panel-selected-component",className:"property-panel-selected-component",children:(0,Y.jsx)("p",{className:"property-panel-selected-component-placeholder",id:"component-info",children:"Click on an element in the preview to select it."})});let a=e.tagName?e.tagName.toLowerCase():"",o=a?`${e.name} > ${a}`:e.name,l=null;if(e.debugSource){let{sourceFile:r,lineNumber:n,columnNumber:i}=e.debugSource,u=r.split("/").pop()||r,d=`:${n}:${i}`;l=(0,Y.jsxs)("a",{href:"#",className:"property-panel-selected-component-source",onClick:C=>{C.preventDefault(),t?.({sourceFile:r,lineNumber:n,columnNumber:i})},title:`${r}${d}`,children:[u,d]})}return(0,Y.jsx)("section",{id:"property-panel-selected-component",className:"property-panel-selected-component","aria-label":"Selected component",children:(0,Y.jsxs)("div",{id:"component-info",className:"property-panel-selected-component-info",children:[(0,Y.jsx)("span",{className:"property-panel-selected-component-name",children:o}),l&&(0,Y.jsxs)("span",{className:"property-panel-selected-component-source-row",children:["\u21B3 ",l]})]})})}function KM({styles:e,computedStyles:t,hasSelection:a,onStyleChange:o}){let l=a?"visible":"";return(0,Y.jsx)("section",{className:"property-panel-style-properties-container"+(l?" "+l:""),"aria-label":"Element styling","aria-hidden":!a,children:(0,Y.jsxs)("div",{className:"property-panel-style-properties",children:[(0,Y.jsx)(Jl,{title:"Background",children:(0,Y.jsx)(z2,{label:"Background Color",value:e.backgroundColor||t.backgroundColor||"#ffffff",onChange:r=>o("backgroundColor",r),id:"design-bg-color"})}),(0,Y.jsxs)(Jl,{title:"Spacing",children:[(0,Y.jsx)(Un,{label:"Padding",id:"design-padding",value:e.padding,placeholder:t.padding,onChange:r=>o("padding",r),...Nn.padding}),(0,Y.jsx)(Un,{label:"Margin",id:"design-margin",value:e.margin,placeholder:t.margin,onChange:r=>o("margin",r),...Nn.margin,allowAuto:!0})]}),(0,Y.jsxs)(Jl,{title:"Border",children:[(0,Y.jsx)(Un,{label:"Border Radius",id:"design-border-radius",value:e.borderRadius,placeholder:t.borderRadius,onChange:r=>o("borderRadius",r),...Nn.borderRadius}),(0,Y.jsx)(Un,{label:"Border Weight",id:"design-border-width",value:e.borderWidth,placeholder:t.borderWidth,onChange:r=>o("borderWidth",r),...Nn.borderWidth}),(0,Y.jsx)(k6,{label:"Border Style",id:"design-border-style",value:e.borderStyle||t.borderStyle,onChange:r=>o("borderStyle",r)}),(0,Y.jsx)(z2,{label:"Border Color",value:e.borderColor||t.borderColor||"#000000",onChange:r=>o("borderColor",r),id:"design-border-color"})]}),(0,Y.jsxs)(Jl,{title:"Typography",children:[(0,Y.jsx)(Vm,{label:"Font Family",id:"design-font-family",value:e.fontFamily||t.fontFamily,onChange:r=>o("fontFamily",r)}),(0,Y.jsx)(Qt,{label:"Font Size",id:"design-font-size",value:e.fontSize,placeholder:t.fontSize,onChange:r=>o("fontSize",r),...jt.fontSize}),(0,Y.jsx)(Zm,{label:"Font Weight",id:"design-font-weight",value:e.fontWeight||t.fontWeight,onChange:r=>o("fontWeight",r)}),(0,Y.jsx)(Am,{label:"Font Style",id:"design-font-style",value:e.fontStyle||t.fontStyle,onChange:r=>o("fontStyle",r)}),(0,Y.jsx)(z2,{label:"Text Color",value:e.color||t.color||"#000000",onChange:r=>o("color",r),id:"design-text-color"}),(0,Y.jsx)(Um,{label:"Text Alignment",id:"design-text-align",value:e.textAlign||t.textAlign,onChange:r=>o("textAlign",r)}),(0,Y.jsx)($m,{label:"Text Formatting",id:"design-text-decoration",value:e.textDecoration||t.textDecoration,onChange:r=>o("textDecoration",r)}),(0,Y.jsx)(Fm,{label:"Text Transform",id:"design-text-transform",value:e.textTransform||t.textTransform,onChange:r=>o("textTransform",r)}),(0,Y.jsx)(Qt,{label:"Line Height",id:"design-line-height",value:e.lineHeight,placeholder:t.lineHeight,onChange:r=>o("lineHeight",r),...jt.lineHeight}),(0,Y.jsx)(Qt,{label:"Letter Spacing",id:"design-letter-spacing",value:e.letterSpacing,placeholder:t.letterSpacing,onChange:r=>o("letterSpacing",r),...jt.letterSpacing})]}),(0,Y.jsxs)(Jl,{title:"Element Dimensions",children:[(0,Y.jsx)(Qt,{label:"Width",id:"design-width",value:e.width,placeholder:t.width,onChange:r=>o("width",r),...jt.width}),(0,Y.jsxs)("div",{className:"property-panel-row-2col",children:[(0,Y.jsx)(Qt,{label:"Minimum Width",id:"design-min-width",value:e.minWidth,placeholder:t.minWidth,onChange:r=>o("minWidth",r),...jt.minWidth}),(0,Y.jsx)(Qt,{label:"Maximum Width",id:"design-max-width",value:e.maxWidth,placeholder:t.maxWidth,onChange:r=>o("maxWidth",r),...jt.maxWidth})]}),(0,Y.jsx)(Qt,{label:"Height",id:"design-height",value:e.height,placeholder:t.height,onChange:r=>o("height",r),...jt.height}),(0,Y.jsxs)("div",{className:"property-panel-row-2col",children:[(0,Y.jsx)(Qt,{label:"Minimum Height",id:"design-min-height",value:e.minHeight,placeholder:t.minHeight,onChange:r=>o("minHeight",r),...jt.minHeight}),(0,Y.jsx)(Qt,{label:"Maximum Height",id:"design-max-height",value:e.maxHeight,placeholder:t.maxHeight,onChange:r=>o("maxHeight",r),...jt.maxHeight})]}),(0,Y.jsx)(Nm,{label:"Overflow",id:"design-overflow",value:e.overflow||t.overflow,onChange:r=>o("overflow",r)})]})]})})}var Hc=["width","minWidth","maxWidth","height","minHeight","maxHeight","overflow","padding","margin","backgroundColor","borderWidth","borderStyle","borderColor","borderRadius","color","fontFamily","fontSize","fontWeight","fontStyle","lineHeight","letterSpacing","textAlign","textDecoration","textTransform"],Rc=Object.fromEntries(Hc.map(e=>[e,""])),Qm=v1.default.forwardRef(function(t,a){let{component:o,styles:l,onStyleChange:r,onTextChange:n,onHistoryStateChange:i,onSendToAgentforce:u,onOpenSourceFile:d}=t,[c,C]=v1.default.useState(Rc),[p,m]=v1.default.useState(Rc),[v,L]=v1.default.useState(()=>new Set),x=v1.default.useRef(v);x.current=v;let f=v1.default.useRef(c);f.current=c;let s=v1.default.useRef(r);s.current=r;let h=v1.default.useRef(n);h.current=n;let g=v1.default.useRef(null);g.current||(g.current=Km((D,A,T)=>s.current(D,A,T),(D,A)=>h.current?.(D,A)));let b=g.current,R=v1.default.useRef(i);R.current=i,v1.default.useEffect(()=>{let D=T=>{R.current?.({canUndo:T.canUndo,canRedo:T.canRedo});let Z=T.type==="command-undone"||T.type==="command-redone",E=T.command?.data?.property;if(Z&&typeof E=="string"){let re=typeof T.appliedValue=="string"?T.appliedValue:"";C(Q=>({...Q,[E]:re})),L(Q=>{let y=new Set(Q);return y.add(E),y})}},A=b.subscribe(D);return R.current?.({canUndo:b.canUndo(),canRedo:b.canRedo()}),A},[b]),v1.default.useImperativeHandle(a,()=>({undo:()=>b.undo(),redo:()=>b.redo(),clearHistory:()=>b.clear(),getHistoryStack:()=>b.getHistoryStack(),recordTextChange:(D,A,T)=>b.recordTextChange(D,A,T),canUndo:()=>b.canUndo(),canRedo:()=>b.canRedo()}),[b]),v1.default.useEffect(()=>{let D=l||{},A=x.current;C(T=>{let Z={...T};for(let E of Hc){let re=D[E];re!=null&&!A.has(E)&&(Z[E]=re.inline??T[E]??"")}return Z}),m(T=>{let Z={...T};for(let E of Hc){let re=D[E];re!=null&&(Z[E]=re.computed??T[E]??"")}return Z})},[l]);let S=o?`${o.name}-${o.tagName??""}-${o.debugSource?.lineNumber??""}-${o.debugSource?.columnNumber??""}`:"none";v1.default.useEffect(()=>{C(Rc),L(new Set)},[S]);let w=v1.default.useCallback((D,A)=>{r(D,A);let T=jM(f.current,D),Z=Xm(o);b.recordStyleChange(D,T,A,Z),C(E=>({...E,[D]:A})),L(E=>{let re=new Set(E);return re.add(D),re})},[r,b,o]),I=!!(o&&o.name),N=c,_=v1.default.useCallback(()=>{let D=Xm(o);D&&u?.(D)},[o,u]),O=I&&o&&o.tagName&&$M.has(o.tagName.toUpperCase()),k=o?.hasNonEditableText?UM:PM;return(0,Y.jsxs)("div",{role:"complementary","aria-label":"Property panel",className:"property-panel-container",children:[(0,Y.jsxs)("header",{className:"property-panel-header",children:[(0,Y.jsx)("h2",{id:"design-property-panel-title",className:"property-panel-title",children:"Selected Element"}),I&&(0,Y.jsxs)("div",{className:"property-panel-header-actions",children:[O&&(0,Y.jsx)("span",{className:"property-panel-selected-component-action property-panel-selected-component-action-help","data-tooltip":k,"aria-label":k,children:(0,Y.jsx)(_8,{width:14,height:14,style:o.hasNonEditableText?qM:void 0})}),NM&&(0,Y.jsx)("button",{type:"button",className:"property-panel-selected-component-action",onClick:_,"data-tooltip":"Send Context to Agentforce Vibes","aria-label":"Send Context to Agentforce Vibes",children:(0,Y.jsx)(FM,{size:14})})]})]}),(0,Y.jsxs)("div",{className:"property-panel-content","aria-labelledby":"design-property-panel-title",children:[(0,Y.jsx)(GM,{component:o,onOpenSourceFile:d}),(0,Y.jsx)(KM,{styles:N,computedStyles:p,hasSelection:I,onStyleChange:w},S)]})]})});var Ym=`/*
|
|
261
|
+
* Copyright (c) 2026, salesforce.com, inc.
|
|
262
|
+
* All rights reserved.
|
|
263
|
+
* Licensed under the BSD 3-Clause license.
|
|
264
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
265
|
+
*/
|
|
266
|
+
|
|
267
|
+
.property-panel-section {
|
|
268
|
+
margin: 0;
|
|
269
|
+
border-bottom: 1px solid var(--vscode-panel-border);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.property-panel-section-trigger {
|
|
273
|
+
display: flex;
|
|
274
|
+
align-items: center;
|
|
275
|
+
gap: 6px;
|
|
276
|
+
padding: 12px 4px;
|
|
277
|
+
color: var(--vscode-foreground);
|
|
278
|
+
font-size: 12px;
|
|
279
|
+
font-weight: 600;
|
|
280
|
+
cursor: pointer;
|
|
281
|
+
line-height: 1;
|
|
282
|
+
list-style: none;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.property-panel-section-trigger::-webkit-details-marker {
|
|
286
|
+
display: none;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.property-panel-section-trigger:hover {
|
|
290
|
+
background: var(--vscode-list-hoverBackground);
|
|
291
|
+
border-radius: 4px;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.property-panel-section-trigger:focus-visible {
|
|
295
|
+
box-shadow: inset 0 0 0 1px var(--vscode-focusBorder);
|
|
296
|
+
outline: none;
|
|
297
|
+
border-radius: 4px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.property-panel-section-chevron {
|
|
301
|
+
flex-shrink: 0;
|
|
302
|
+
margin-left: auto;
|
|
303
|
+
transition: transform 0.15s ease;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.property-panel-section[open] > .property-panel-section-trigger .property-panel-section-chevron {
|
|
307
|
+
transform: rotate(90deg);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.property-panel-section-content {
|
|
311
|
+
padding: 8px 4px 12px;
|
|
312
|
+
display: flex;
|
|
313
|
+
flex-direction: column;
|
|
314
|
+
gap: 10px;
|
|
315
|
+
}
|
|
316
|
+
`;var Wm=`/*
|
|
317
|
+
* Copyright (c) 2026, salesforce.com, inc.
|
|
318
|
+
* All rights reserved.
|
|
319
|
+
* Licensed under the BSD 3-Clause license.
|
|
320
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
321
|
+
*/
|
|
322
|
+
|
|
323
|
+
.boxDimensionEditor-fieldset > legend {
|
|
324
|
+
float: left;
|
|
325
|
+
line-height: 24px;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.boxDimensionEditor-header {
|
|
329
|
+
display: flex;
|
|
330
|
+
align-items: center;
|
|
331
|
+
justify-content: flex-end;
|
|
332
|
+
margin-bottom: 6px;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.boxDimensionEditor-controls {
|
|
336
|
+
display: flex;
|
|
337
|
+
align-items: center;
|
|
338
|
+
gap: 4px;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.boxDimensionEditor-link-btn {
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: center;
|
|
344
|
+
justify-content: center;
|
|
345
|
+
width: 24px;
|
|
346
|
+
height: 24px;
|
|
347
|
+
padding: 0;
|
|
348
|
+
border: 1px solid transparent;
|
|
349
|
+
border-radius: 4px;
|
|
350
|
+
background: transparent;
|
|
351
|
+
color: var(--vscode-descriptionForeground);
|
|
352
|
+
cursor: pointer;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.boxDimensionEditor-link-btn:hover {
|
|
356
|
+
background: var(--vscode-toolbar-hoverBackground);
|
|
357
|
+
color: var(--vscode-foreground);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.boxDimensionEditor-link-btn:focus-visible {
|
|
361
|
+
border-color: var(--vscode-focusBorder);
|
|
362
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
363
|
+
outline: none;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.boxDimensionEditor-link-btn--active {
|
|
367
|
+
background: var(--vscode-toolbar-activeBackground);
|
|
368
|
+
color: var(--vscode-foreground);
|
|
369
|
+
border-color: transparent;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.boxDimensionEditor-link-btn--active:hover {
|
|
373
|
+
background: var(--vscode-toolbar-hoverBackground);
|
|
374
|
+
color: var(--vscode-foreground);
|
|
375
|
+
border-color: transparent;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.boxDimensionEditor-unit {
|
|
379
|
+
width: 52px;
|
|
380
|
+
height: 24px;
|
|
381
|
+
padding: 2px 4px 2px 6px;
|
|
382
|
+
font-size: 11px;
|
|
383
|
+
color: var(--vscode-foreground);
|
|
384
|
+
background: var(--vscode-input-background);
|
|
385
|
+
border: 1px solid var(--vscode-input-border);
|
|
386
|
+
border-radius: 4px;
|
|
387
|
+
box-sizing: border-box;
|
|
388
|
+
cursor: pointer;
|
|
389
|
+
-webkit-appearance: none;
|
|
390
|
+
-moz-appearance: none;
|
|
391
|
+
appearance: none;
|
|
392
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 15 15' fill='none'%3E%3Cpath d='M4 6H11L7.5 10.5L4 6Z' fill='%23999'/%3E%3C/svg%3E");
|
|
393
|
+
background-repeat: no-repeat;
|
|
394
|
+
background-position: right 6px center;
|
|
395
|
+
background-size: 9px 9px;
|
|
396
|
+
padding-right: 20px;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.boxDimensionEditor-unit:hover {
|
|
400
|
+
border-color: var(--vscode-focusBorder);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.boxDimensionEditor-unit:focus-visible {
|
|
404
|
+
border-color: var(--vscode-focusBorder);
|
|
405
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
406
|
+
outline: none;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.boxDimensionEditor-grid {
|
|
410
|
+
display: grid;
|
|
411
|
+
grid-template-columns: 1fr 1fr;
|
|
412
|
+
gap: 6px;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.boxDimensionEditor-cell {
|
|
416
|
+
display: flex;
|
|
417
|
+
flex-direction: column;
|
|
418
|
+
gap: 2px;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.boxDimensionEditor-label {
|
|
422
|
+
color: var(--vscode-descriptionForeground);
|
|
423
|
+
font-size: 10px;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.boxDimensionEditor-input-row {
|
|
427
|
+
display: flex;
|
|
428
|
+
align-items: center;
|
|
429
|
+
gap: 0;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.boxDimensionEditor-input-icon {
|
|
433
|
+
display: flex;
|
|
434
|
+
align-items: center;
|
|
435
|
+
justify-content: center;
|
|
436
|
+
width: 24px;
|
|
437
|
+
flex-shrink: 0;
|
|
438
|
+
height: 28px;
|
|
439
|
+
color: var(--vscode-descriptionForeground);
|
|
440
|
+
background: var(--vscode-input-background);
|
|
441
|
+
border: 1px solid var(--vscode-input-border);
|
|
442
|
+
border-right: none;
|
|
443
|
+
border-radius: 4px 0 0 4px;
|
|
444
|
+
box-sizing: border-box;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.boxDimensionEditor-input {
|
|
448
|
+
width: 100%;
|
|
449
|
+
padding: 4px 6px;
|
|
450
|
+
height: 28px;
|
|
451
|
+
font-size: 12px;
|
|
452
|
+
color: var(--vscode-foreground);
|
|
453
|
+
background: var(--vscode-input-background);
|
|
454
|
+
border: 1px solid var(--vscode-input-border);
|
|
455
|
+
border-radius: 4px;
|
|
456
|
+
box-sizing: border-box;
|
|
457
|
+
-moz-appearance: textfield;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.boxDimensionEditor-input--with-icon {
|
|
461
|
+
border-left: none;
|
|
462
|
+
border-radius: 0 4px 4px 0;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.boxDimensionEditor-input::-webkit-inner-spin-button,
|
|
466
|
+
.boxDimensionEditor-input::-webkit-outer-spin-button {
|
|
467
|
+
-webkit-appearance: none;
|
|
468
|
+
margin: 0;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.boxDimensionEditor-input:hover {
|
|
472
|
+
border-color: var(--vscode-focusBorder);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.boxDimensionEditor-input:focus-visible {
|
|
476
|
+
border-color: var(--vscode-focusBorder);
|
|
477
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
478
|
+
outline: none;
|
|
479
|
+
}
|
|
480
|
+
`;var Jm=`/*
|
|
481
|
+
* Copyright (c) 2026, salesforce.com, inc.
|
|
482
|
+
* All rights reserved.
|
|
483
|
+
* Licensed under the BSD 3-Clause license.
|
|
484
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
485
|
+
*/
|
|
486
|
+
|
|
487
|
+
.colorEditor-wrapper {
|
|
488
|
+
position: relative;
|
|
489
|
+
display: flex;
|
|
490
|
+
align-items: stretch;
|
|
491
|
+
width: 100%;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.colorEditor-swatch-only {
|
|
495
|
+
display: flex;
|
|
496
|
+
align-items: center;
|
|
497
|
+
justify-content: center;
|
|
498
|
+
padding: 6px;
|
|
499
|
+
width: 32px;
|
|
500
|
+
height: 32px;
|
|
501
|
+
background: var(--vscode-input-background);
|
|
502
|
+
border: 1px solid var(--vscode-input-border);
|
|
503
|
+
border-right: none;
|
|
504
|
+
border-radius: 4px 0 0 4px;
|
|
505
|
+
cursor: pointer;
|
|
506
|
+
box-sizing: border-box;
|
|
507
|
+
flex-shrink: 0;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.colorEditor-wrapper:hover .colorEditor-swatch-only,
|
|
511
|
+
.colorEditor-wrapper:hover .colorEditor-value-input {
|
|
512
|
+
border-color: var(--vscode-focusBorder);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.colorEditor-swatch-only:focus-visible {
|
|
516
|
+
border-color: var(--vscode-focusBorder);
|
|
517
|
+
border-right: 1px solid var(--vscode-focusBorder);
|
|
518
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
519
|
+
outline: none;
|
|
520
|
+
z-index: 1;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.colorEditor-swatch {
|
|
524
|
+
width: 18px;
|
|
525
|
+
height: 18px;
|
|
526
|
+
border-radius: 3px;
|
|
527
|
+
flex-shrink: 0;
|
|
528
|
+
border: 1px solid var(--vscode-input-border);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.colorEditor-value-input {
|
|
532
|
+
flex: 1;
|
|
533
|
+
min-width: 0;
|
|
534
|
+
padding: 4px 8px;
|
|
535
|
+
height: 32px;
|
|
536
|
+
font-size: 12px;
|
|
537
|
+
color: var(--vscode-foreground);
|
|
538
|
+
background: var(--vscode-input-background);
|
|
539
|
+
border: 1px solid var(--vscode-input-border);
|
|
540
|
+
border-left: none;
|
|
541
|
+
border-radius: 0 4px 4px 0;
|
|
542
|
+
box-sizing: border-box;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.colorEditor-value-input:focus-visible {
|
|
546
|
+
border-color: var(--vscode-focusBorder);
|
|
547
|
+
border-left: 1px solid var(--vscode-focusBorder);
|
|
548
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
549
|
+
outline: none;
|
|
550
|
+
z-index: 1;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.colorEditor-popover {
|
|
554
|
+
position: fixed;
|
|
555
|
+
overflow: visible;
|
|
556
|
+
padding: 12px;
|
|
557
|
+
background: var(--vscode-editor-background);
|
|
558
|
+
border: 1px solid var(--vscode-panel-border);
|
|
559
|
+
border-radius: 4px;
|
|
560
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
|
|
561
|
+
z-index: 10000;
|
|
562
|
+
width: 260px;
|
|
563
|
+
user-select: none;
|
|
564
|
+
-webkit-user-select: none;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.colorEditor-picker {
|
|
568
|
+
width: 100% !important;
|
|
569
|
+
height: unset;
|
|
570
|
+
max-width: 260px !important;
|
|
571
|
+
background: transparent !important;
|
|
572
|
+
box-shadow: none !important;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.colorEditor-picker-toolbar {
|
|
576
|
+
display: flex;
|
|
577
|
+
align-items: center;
|
|
578
|
+
gap: 12px;
|
|
579
|
+
padding-top: 0;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.colorEditor-picker-sliders {
|
|
583
|
+
display: flex;
|
|
584
|
+
flex: 1;
|
|
585
|
+
flex-direction: column;
|
|
586
|
+
gap: 8px;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.colorEditor-picker-saturation {
|
|
590
|
+
height: 130px;
|
|
591
|
+
margin-bottom: 13px;
|
|
592
|
+
border-radius: 4px;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.colorEditor-picker-saturation > div > .rounded-b-none {
|
|
596
|
+
border-bottom-right-radius: 4px;
|
|
597
|
+
border-bottom-left-radius: 4px;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.colorEditor-picker-hue,
|
|
601
|
+
.colorEditor-picker-alpha {
|
|
602
|
+
height: 16px;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.colorEditor-picker-hue > div > .rounded-lg,
|
|
606
|
+
.colorEditor-picker-alpha > div > .rounded-lg {
|
|
607
|
+
border-radius: 4px;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.colorEditor-picker-hue .react-colorful-pointer,
|
|
611
|
+
.colorEditor-picker-alpha .react-colorful-pointer {
|
|
612
|
+
width: 8px;
|
|
613
|
+
height: 18px;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.colorEditor-picker-saturation .react-colorful-pointer {
|
|
617
|
+
width: 12px;
|
|
618
|
+
height: 12px;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.colorEditor-picker button {
|
|
622
|
+
display: flex;
|
|
623
|
+
align-items: center;
|
|
624
|
+
justify-content: center;
|
|
625
|
+
width: 40px;
|
|
626
|
+
height: 40px;
|
|
627
|
+
flex-shrink: 0;
|
|
628
|
+
border-radius: 6px;
|
|
629
|
+
border: 1px solid var(--vscode-input-border);
|
|
630
|
+
background: var(--vscode-input-background);
|
|
631
|
+
color: var(--vscode-foreground);
|
|
632
|
+
cursor: pointer;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.colorEditor-picker button:hover {
|
|
636
|
+
background: var(--vscode-list-hoverBackground);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.colorEditor-picker button:focus-visible {
|
|
640
|
+
border-color: var(--vscode-focusBorder);
|
|
641
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
642
|
+
outline: none;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.colorEditor-input-wrapper {
|
|
646
|
+
display: flex;
|
|
647
|
+
align-items: flex-start;
|
|
648
|
+
gap: 6px;
|
|
649
|
+
margin-top: 8px;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.colorEditor-channels-wrapper {
|
|
653
|
+
display: flex;
|
|
654
|
+
flex-direction: column;
|
|
655
|
+
gap: 6px;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.colorEditor-input-container {
|
|
659
|
+
display: flex;
|
|
660
|
+
align-items: flex-start;
|
|
661
|
+
gap: 6px;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.colorEditor-format-selector {
|
|
665
|
+
display: flex;
|
|
666
|
+
flex-direction: column;
|
|
667
|
+
gap: 4px;
|
|
668
|
+
width: 100%;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.colorEditor-format-picker {
|
|
672
|
+
display: flex;
|
|
673
|
+
align-items: center;
|
|
674
|
+
gap: 6px;
|
|
675
|
+
padding: 2px 0;
|
|
676
|
+
width: 100%;
|
|
677
|
+
font-size: 10px;
|
|
678
|
+
line-height: 1;
|
|
679
|
+
color: var(--vscode-foreground);
|
|
680
|
+
background: var(--vscode-input-background);
|
|
681
|
+
border: 1px solid var(--vscode-input-border);
|
|
682
|
+
border-radius: 4px;
|
|
683
|
+
cursor: pointer;
|
|
684
|
+
user-select: none;
|
|
685
|
+
box-sizing: border-box;
|
|
686
|
+
height: 20px;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.colorEditor-format-letter {
|
|
690
|
+
width: 35px;
|
|
691
|
+
text-align: center;
|
|
692
|
+
flex-shrink: 0;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.colorEditor-format-picker:hover {
|
|
696
|
+
background: var(--vscode-list-hoverBackground);
|
|
697
|
+
border-color: var(--vscode-focusBorder);
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.colorEditor-format-picker:focus-visible {
|
|
701
|
+
border-color: var(--vscode-focusBorder);
|
|
702
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
703
|
+
outline: none;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.colorEditor-input-group {
|
|
707
|
+
display: flex;
|
|
708
|
+
flex-direction: column;
|
|
709
|
+
align-items: center;
|
|
710
|
+
gap: 6px;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.colorEditor-input-group-no-label {
|
|
714
|
+
display: flex;
|
|
715
|
+
flex-direction: column;
|
|
716
|
+
align-items: center;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.colorEditor-input-label {
|
|
720
|
+
font-size: 10px;
|
|
721
|
+
line-height: 1;
|
|
722
|
+
color: var(--vscode-foreground);
|
|
723
|
+
text-align: center;
|
|
724
|
+
user-select: none;
|
|
725
|
+
height: 20px;
|
|
726
|
+
display: flex;
|
|
727
|
+
align-items: center;
|
|
728
|
+
justify-content: center;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.colorEditor-input-hex {
|
|
732
|
+
width: 70px;
|
|
733
|
+
padding: 4px 6px;
|
|
734
|
+
font-size: 12px;
|
|
735
|
+
color: var(--vscode-foreground);
|
|
736
|
+
background: var(--vscode-input-background);
|
|
737
|
+
border: 1px solid var(--vscode-input-border);
|
|
738
|
+
border-radius: 4px;
|
|
739
|
+
box-sizing: border-box;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.colorEditor-input-hex:hover {
|
|
743
|
+
border-color: var(--vscode-focusBorder);
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.colorEditor-input-hex:focus-visible {
|
|
747
|
+
border-color: var(--vscode-focusBorder);
|
|
748
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
749
|
+
outline: none;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.colorEditor-input-rgba {
|
|
753
|
+
width: 35px;
|
|
754
|
+
padding: 4px 6px;
|
|
755
|
+
font-size: 12px;
|
|
756
|
+
color: var(--vscode-foreground);
|
|
757
|
+
background: var(--vscode-input-background);
|
|
758
|
+
border: 1px solid var(--vscode-input-border);
|
|
759
|
+
border-radius: 4px;
|
|
760
|
+
box-sizing: border-box;
|
|
761
|
+
-moz-appearance: textfield;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.colorEditor-input-rgba:hover {
|
|
765
|
+
border-color: var(--vscode-focusBorder);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.colorEditor-input-rgba:focus-visible {
|
|
769
|
+
border-color: var(--vscode-focusBorder);
|
|
770
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
771
|
+
outline: none;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.colorEditor-input-rgba::-webkit-inner-spin-button,
|
|
775
|
+
.colorEditor-input-rgba::-webkit-outer-spin-button {
|
|
776
|
+
-webkit-appearance: none;
|
|
777
|
+
margin: 0;
|
|
778
|
+
}
|
|
779
|
+
`;var eh=`/*
|
|
780
|
+
* Copyright (c) 2026, salesforce.com, inc.
|
|
781
|
+
* All rights reserved.
|
|
782
|
+
* Licensed under the BSD 3-Clause license.
|
|
783
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
784
|
+
*/
|
|
785
|
+
|
|
786
|
+
.dimensionEditor-row {
|
|
787
|
+
display: flex;
|
|
788
|
+
align-items: center;
|
|
789
|
+
gap: 0;
|
|
790
|
+
width: 100%;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.dimensionEditor-icon {
|
|
794
|
+
display: flex;
|
|
795
|
+
align-items: center;
|
|
796
|
+
justify-content: center;
|
|
797
|
+
width: 28px;
|
|
798
|
+
flex-shrink: 0;
|
|
799
|
+
height: 32px;
|
|
800
|
+
color: var(--vscode-descriptionForeground);
|
|
801
|
+
background: var(--vscode-input-background);
|
|
802
|
+
border: 1px solid var(--vscode-input-border);
|
|
803
|
+
border-right: none;
|
|
804
|
+
border-radius: 4px 0 0 4px;
|
|
805
|
+
box-sizing: border-box;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.dimensionEditor-input {
|
|
809
|
+
flex: 1;
|
|
810
|
+
min-width: 0;
|
|
811
|
+
padding: 4px 8px;
|
|
812
|
+
height: 32px;
|
|
813
|
+
font-size: 12px;
|
|
814
|
+
color: var(--vscode-foreground);
|
|
815
|
+
background: var(--vscode-input-background);
|
|
816
|
+
border: 1px solid var(--vscode-input-border);
|
|
817
|
+
border-right: none;
|
|
818
|
+
border-radius: 4px 0 0 4px;
|
|
819
|
+
box-sizing: border-box;
|
|
820
|
+
-moz-appearance: textfield;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.dimensionEditor-input--with-icon {
|
|
824
|
+
border-left: none;
|
|
825
|
+
border-radius: 0;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.dimensionEditor-input:last-child {
|
|
829
|
+
border-right: 1px solid var(--vscode-input-border);
|
|
830
|
+
border-radius: 4px;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.dimensionEditor-input--with-icon:last-child {
|
|
834
|
+
border-right: 1px solid var(--vscode-input-border);
|
|
835
|
+
border-radius: 0 4px 4px 0;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.dimensionEditor-input::-webkit-inner-spin-button,
|
|
839
|
+
.dimensionEditor-input::-webkit-outer-spin-button {
|
|
840
|
+
-webkit-appearance: none;
|
|
841
|
+
margin: 0;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
.dimensionEditor-input:hover {
|
|
845
|
+
border-color: var(--vscode-focusBorder);
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
.dimensionEditor-input:focus-visible {
|
|
849
|
+
border-color: var(--vscode-focusBorder);
|
|
850
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
851
|
+
outline: none;
|
|
852
|
+
z-index: 1;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.dimensionEditor-unit {
|
|
856
|
+
width: 58px;
|
|
857
|
+
height: 32px;
|
|
858
|
+
padding: 4px 4px 4px 6px;
|
|
859
|
+
font-size: 12px;
|
|
860
|
+
color: var(--vscode-foreground);
|
|
861
|
+
background: var(--vscode-input-background);
|
|
862
|
+
border: 1px solid var(--vscode-input-border);
|
|
863
|
+
border-radius: 0 4px 4px 0;
|
|
864
|
+
box-sizing: border-box;
|
|
865
|
+
cursor: pointer;
|
|
866
|
+
-webkit-appearance: none;
|
|
867
|
+
-moz-appearance: none;
|
|
868
|
+
appearance: none;
|
|
869
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 15 15' fill='none'%3E%3Cpath d='M4 6H11L7.5 10.5L4 6Z' fill='%23999'/%3E%3C/svg%3E");
|
|
870
|
+
background-repeat: no-repeat;
|
|
871
|
+
background-position: right 6px center;
|
|
872
|
+
background-size: 9px 9px;
|
|
873
|
+
padding-right: 20px;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.dimensionEditor-unit:hover {
|
|
877
|
+
border-color: var(--vscode-focusBorder);
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.dimensionEditor-unit:focus-visible {
|
|
881
|
+
border-color: var(--vscode-focusBorder);
|
|
882
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
883
|
+
outline: none;
|
|
884
|
+
z-index: 1;
|
|
885
|
+
}
|
|
886
|
+
`;var th=`/*
|
|
887
|
+
* Copyright (c) 2026, salesforce.com, inc.
|
|
888
|
+
* All rights reserved.
|
|
889
|
+
* Licensed under the BSD 3-Clause license.
|
|
890
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
891
|
+
*/
|
|
892
|
+
|
|
893
|
+
.picklistEditor-wrapper {
|
|
894
|
+
position: relative;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.picklistEditor-trigger {
|
|
898
|
+
display: flex;
|
|
899
|
+
align-items: center;
|
|
900
|
+
justify-content: space-between;
|
|
901
|
+
padding: 4px 8px;
|
|
902
|
+
width: 100%;
|
|
903
|
+
height: 30px;
|
|
904
|
+
font-size: 12px;
|
|
905
|
+
color: var(--vscode-foreground);
|
|
906
|
+
background: var(--vscode-input-background);
|
|
907
|
+
border: 1px solid var(--vscode-input-border);
|
|
908
|
+
border-radius: 4px;
|
|
909
|
+
cursor: pointer;
|
|
910
|
+
box-sizing: border-box;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.picklistEditor-trigger:hover {
|
|
914
|
+
border-color: var(--vscode-focusBorder);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.picklistEditor-trigger:focus-visible {
|
|
918
|
+
border-color: var(--vscode-focusBorder);
|
|
919
|
+
box-shadow: 0 0 0 1px var(--vscode-focusBorder);
|
|
920
|
+
outline: none;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.picklistEditor-trigger-label {
|
|
924
|
+
flex: 1;
|
|
925
|
+
text-align: left;
|
|
926
|
+
overflow: hidden;
|
|
927
|
+
text-overflow: ellipsis;
|
|
928
|
+
white-space: nowrap;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.picklistEditor-trigger-chevron {
|
|
932
|
+
flex-shrink: 0;
|
|
933
|
+
margin-left: 4px;
|
|
934
|
+
display: flex;
|
|
935
|
+
align-items: center;
|
|
936
|
+
opacity: 0.7;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.picklistEditor-dropdown {
|
|
940
|
+
position: fixed;
|
|
941
|
+
overflow: hidden;
|
|
942
|
+
margin: 0;
|
|
943
|
+
padding: 0;
|
|
944
|
+
list-style: none;
|
|
945
|
+
background: var(--vscode-editor-background);
|
|
946
|
+
border: none;
|
|
947
|
+
border-radius: 4px;
|
|
948
|
+
box-shadow: none;
|
|
949
|
+
z-index: 10000;
|
|
950
|
+
max-height: 0;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.picklistEditor-dropdown--open {
|
|
954
|
+
overflow-y: auto;
|
|
955
|
+
padding: 4px 0;
|
|
956
|
+
border: 1px solid var(--vscode-panel-border);
|
|
957
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
|
|
958
|
+
max-height: 260px;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.picklistEditor-option {
|
|
962
|
+
padding: 6px 10px;
|
|
963
|
+
font-size: 12px;
|
|
964
|
+
line-height: 1.4;
|
|
965
|
+
color: var(--vscode-foreground);
|
|
966
|
+
background: transparent;
|
|
967
|
+
cursor: pointer;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.picklistEditor-option--highlighted {
|
|
971
|
+
background: var(--vscode-list-hoverBackground);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.picklistEditor-option--selected {
|
|
975
|
+
background: var(--vscode-list-activeSelectionBackground);
|
|
976
|
+
color: var(--vscode-list-activeSelectionForeground);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
.picklistEditor-option--selected.picklistEditor-option--highlighted {
|
|
980
|
+
background: var(--vscode-list-activeSelectionBackground);
|
|
981
|
+
}
|
|
982
|
+
`;var ah=`/*
|
|
983
|
+
* Copyright (c) 2026, salesforce.com, inc.
|
|
984
|
+
* All rights reserved.
|
|
985
|
+
* Licensed under the BSD 3-Clause license.
|
|
986
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
987
|
+
*/
|
|
988
|
+
|
|
989
|
+
.radioGroupEditor-root {
|
|
990
|
+
display: inline-flex;
|
|
991
|
+
border: 1px solid var(--vscode-input-border);
|
|
992
|
+
border-radius: 4px;
|
|
993
|
+
overflow: hidden;
|
|
994
|
+
background: var(--vscode-input-background);
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.radioGroupEditor-item {
|
|
998
|
+
display: inline-flex;
|
|
999
|
+
align-items: center;
|
|
1000
|
+
justify-content: center;
|
|
1001
|
+
width: 32px;
|
|
1002
|
+
height: 28px;
|
|
1003
|
+
padding: 0;
|
|
1004
|
+
border: none;
|
|
1005
|
+
background: transparent;
|
|
1006
|
+
color: var(--vscode-foreground);
|
|
1007
|
+
cursor: pointer;
|
|
1008
|
+
opacity: 0.6;
|
|
1009
|
+
transition:
|
|
1010
|
+
background 0.1s,
|
|
1011
|
+
opacity 0.1s;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
.radioGroupEditor-item + .radioGroupEditor-item {
|
|
1015
|
+
border-left: 1px solid var(--vscode-input-border);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.radioGroupEditor-item:hover {
|
|
1019
|
+
background: var(--vscode-toolbar-hoverBackground);
|
|
1020
|
+
opacity: 0.85;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.radioGroupEditor-item:focus-visible {
|
|
1024
|
+
box-shadow: inset 0 0 0 1px var(--vscode-focusBorder);
|
|
1025
|
+
outline: none;
|
|
1026
|
+
z-index: 1;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
.radioGroupEditor-item[data-state="on"] {
|
|
1030
|
+
background: var(--vscode-toolbar-activeBackground);
|
|
1031
|
+
color: var(--vscode-foreground);
|
|
1032
|
+
opacity: 1;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.radioGroupEditor-item[data-state="on"]:hover {
|
|
1036
|
+
background: var(--vscode-toolbar-hoverBackground);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.radioGroupEditor-item svg {
|
|
1040
|
+
width: 14px;
|
|
1041
|
+
height: 14px;
|
|
1042
|
+
}
|
|
1043
|
+
`;var tS=`
|
|
1044
|
+
:host {
|
|
1045
|
+
--vscode-foreground: #1f2328;
|
|
1046
|
+
--vscode-descriptionForeground: #6e7781;
|
|
1047
|
+
--vscode-editor-background: #ffffff;
|
|
1048
|
+
--vscode-sideBar-background: #ffffff;
|
|
1049
|
+
--vscode-input-background: #ffffff;
|
|
1050
|
+
--vscode-input-foreground: #1f2328;
|
|
1051
|
+
--vscode-input-border: #d0d7de;
|
|
1052
|
+
--vscode-focusBorder: #0969da;
|
|
1053
|
+
--vscode-panel-border: #d0d7de;
|
|
1054
|
+
--vscode-list-hoverBackground: #f3f4f6;
|
|
1055
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
1056
|
+
color: var(--vscode-foreground);
|
|
1057
|
+
}
|
|
1058
|
+
`,aS=[tS,$c,w8,Ym,Wm,Jm,eh,th,ah].join(`
|
|
1059
|
+
`),oh="design-mode-panel",Sa,Ra,kr,Tr,St,Hr,c9,Tc=class extends HTMLElement{constructor(){super(...arguments);Ro(this,St);Ro(this,Sa,null);Ro(this,Ra,kc.default.createRef());Ro(this,kr,null);Ro(this,Tr,null)}get component(){return b1(this,kr)}set component(a){rl(this,kr,a),Wt(this,St,c9).call(this)}get styles(){return b1(this,Tr)}set styles(a){rl(this,Tr,a),Wt(this,St,c9).call(this)}undo(){b1(this,Ra).current?.undo()}redo(){b1(this,Ra).current?.redo()}clearHistory(){b1(this,Ra).current?.clearHistory()}getHistoryStack(){return b1(this,Ra).current?.getHistoryStack()??[]}recordTextChange(a,o,l){b1(this,Ra).current?.recordTextChange(a,o,l)}connectedCallback(){if(b1(this,Sa))return;let a=this.attachShadow({mode:"open"}),o=document.createElement("style");o.textContent=aS,a.appendChild(o);let l=document.createElement("div");a.appendChild(l),rl(this,Sa,(0,lh.createRoot)(l)),Wt(this,St,c9).call(this)}disconnectedCallback(){b1(this,Sa)?.unmount(),rl(this,Sa,null)}};Sa=new WeakMap,Ra=new WeakMap,kr=new WeakMap,Tr=new WeakMap,St=new WeakSet,Hr=function(a,o){this.dispatchEvent(new CustomEvent(a,{detail:o,composed:!0,bubbles:!0}))},c9=function(){b1(this,Sa)&&b1(this,Sa).render(kc.default.createElement(Qm,{ref:b1(this,Ra),component:b1(this,kr),styles:b1(this,Tr),onStyleChange:(a,o,l)=>Wt(this,St,Hr).call(this,"stylechange",{property:a,value:o,sourceLocation:l}),onTextChange:(a,o)=>Wt(this,St,Hr).call(this,"textchange",{text:a,sourceLocation:o}),onHistoryStateChange:a=>Wt(this,St,Hr).call(this,"historystatechange",a),onSendToAgentforce:a=>Wt(this,St,Hr).call(this,"sendtoagentforce",a),onOpenSourceFile:a=>Wt(this,St,Hr).call(this,"opensourcefile",a)}))};customElements.get(oh)||customElements.define(oh,Tc);export{Tc as DesignModePanelElement};
|
|
1060
|
+
/*! Bundled license information:
|
|
1061
|
+
|
|
1062
|
+
react/cjs/react.production.js:
|
|
1063
|
+
(**
|
|
1064
|
+
* @license React
|
|
1065
|
+
* react.production.js
|
|
1066
|
+
*
|
|
1067
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1068
|
+
*
|
|
1069
|
+
* This source code is licensed under the MIT license found in the
|
|
1070
|
+
* LICENSE file in the root directory of this source tree.
|
|
1071
|
+
*)
|
|
1072
|
+
|
|
1073
|
+
scheduler/cjs/scheduler.production.js:
|
|
1074
|
+
(**
|
|
1075
|
+
* @license React
|
|
1076
|
+
* scheduler.production.js
|
|
1077
|
+
*
|
|
1078
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1079
|
+
*
|
|
1080
|
+
* This source code is licensed under the MIT license found in the
|
|
1081
|
+
* LICENSE file in the root directory of this source tree.
|
|
1082
|
+
*)
|
|
1083
|
+
|
|
1084
|
+
react-dom/cjs/react-dom.production.js:
|
|
1085
|
+
(**
|
|
1086
|
+
* @license React
|
|
1087
|
+
* react-dom.production.js
|
|
1088
|
+
*
|
|
1089
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1090
|
+
*
|
|
1091
|
+
* This source code is licensed under the MIT license found in the
|
|
1092
|
+
* LICENSE file in the root directory of this source tree.
|
|
1093
|
+
*)
|
|
1094
|
+
|
|
1095
|
+
react-dom/cjs/react-dom-client.production.js:
|
|
1096
|
+
(**
|
|
1097
|
+
* @license React
|
|
1098
|
+
* react-dom-client.production.js
|
|
1099
|
+
*
|
|
1100
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1101
|
+
*
|
|
1102
|
+
* This source code is licensed under the MIT license found in the
|
|
1103
|
+
* LICENSE file in the root directory of this source tree.
|
|
1104
|
+
*)
|
|
1105
|
+
|
|
1106
|
+
react/cjs/react-jsx-runtime.production.js:
|
|
1107
|
+
(**
|
|
1108
|
+
* @license React
|
|
1109
|
+
* react-jsx-runtime.production.js
|
|
1110
|
+
*
|
|
1111
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1112
|
+
*
|
|
1113
|
+
* This source code is licensed under the MIT license found in the
|
|
1114
|
+
* LICENSE file in the root directory of this source tree.
|
|
1115
|
+
*)
|
|
1116
|
+
|
|
1117
|
+
react-is/cjs/react-is.production.min.js:
|
|
1118
|
+
(**
|
|
1119
|
+
* @license React
|
|
1120
|
+
* react-is.production.min.js
|
|
1121
|
+
*
|
|
1122
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1123
|
+
*
|
|
1124
|
+
* This source code is licensed under the MIT license found in the
|
|
1125
|
+
* LICENSE file in the root directory of this source tree.
|
|
1126
|
+
*)
|
|
1127
|
+
|
|
1128
|
+
lucide-react/dist/esm/shared/src/utils/mergeClasses.js:
|
|
1129
|
+
(**
|
|
1130
|
+
* @license lucide-react v0.575.0 - ISC
|
|
1131
|
+
*
|
|
1132
|
+
* This source code is licensed under the ISC license.
|
|
1133
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1134
|
+
*)
|
|
1135
|
+
|
|
1136
|
+
lucide-react/dist/esm/shared/src/utils/toKebabCase.js:
|
|
1137
|
+
(**
|
|
1138
|
+
* @license lucide-react v0.575.0 - ISC
|
|
1139
|
+
*
|
|
1140
|
+
* This source code is licensed under the ISC license.
|
|
1141
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1142
|
+
*)
|
|
1143
|
+
|
|
1144
|
+
lucide-react/dist/esm/shared/src/utils/toCamelCase.js:
|
|
1145
|
+
(**
|
|
1146
|
+
* @license lucide-react v0.575.0 - ISC
|
|
1147
|
+
*
|
|
1148
|
+
* This source code is licensed under the ISC license.
|
|
1149
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1150
|
+
*)
|
|
1151
|
+
|
|
1152
|
+
lucide-react/dist/esm/shared/src/utils/toPascalCase.js:
|
|
1153
|
+
(**
|
|
1154
|
+
* @license lucide-react v0.575.0 - ISC
|
|
1155
|
+
*
|
|
1156
|
+
* This source code is licensed under the ISC license.
|
|
1157
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1158
|
+
*)
|
|
1159
|
+
|
|
1160
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
1161
|
+
(**
|
|
1162
|
+
* @license lucide-react v0.575.0 - ISC
|
|
1163
|
+
*
|
|
1164
|
+
* This source code is licensed under the ISC license.
|
|
1165
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1166
|
+
*)
|
|
1167
|
+
|
|
1168
|
+
lucide-react/dist/esm/shared/src/utils/hasA11yProp.js:
|
|
1169
|
+
(**
|
|
1170
|
+
* @license lucide-react v0.575.0 - ISC
|
|
1171
|
+
*
|
|
1172
|
+
* This source code is licensed under the ISC license.
|
|
1173
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1174
|
+
*)
|
|
1175
|
+
|
|
1176
|
+
lucide-react/dist/esm/Icon.js:
|
|
1177
|
+
(**
|
|
1178
|
+
* @license lucide-react v0.575.0 - ISC
|
|
1179
|
+
*
|
|
1180
|
+
* This source code is licensed under the ISC license.
|
|
1181
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1182
|
+
*)
|
|
1183
|
+
|
|
1184
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
1185
|
+
(**
|
|
1186
|
+
* @license lucide-react v0.575.0 - ISC
|
|
1187
|
+
*
|
|
1188
|
+
* This source code is licensed under the ISC license.
|
|
1189
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1190
|
+
*)
|
|
1191
|
+
|
|
1192
|
+
lucide-react/dist/esm/icons/pipette.js:
|
|
1193
|
+
(**
|
|
1194
|
+
* @license lucide-react v0.575.0 - ISC
|
|
1195
|
+
*
|
|
1196
|
+
* This source code is licensed under the ISC license.
|
|
1197
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1198
|
+
*)
|
|
1199
|
+
|
|
1200
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
1201
|
+
(**
|
|
1202
|
+
* @license lucide-react v0.575.0 - ISC
|
|
1203
|
+
*
|
|
1204
|
+
* This source code is licensed under the ISC license.
|
|
1205
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1206
|
+
*)
|
|
1207
|
+
|
|
1208
|
+
react-beautiful-color/dist/index.mjs:
|
|
1209
|
+
(**
|
|
1210
|
+
* @license React
|
|
1211
|
+
* react-jsx-runtime.production.js
|
|
1212
|
+
*
|
|
1213
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1214
|
+
*
|
|
1215
|
+
* This source code is licensed under the MIT license found in the
|
|
1216
|
+
* LICENSE file in the root directory of this source tree.
|
|
1217
|
+
*)
|
|
1218
|
+
|
|
1219
|
+
react-beautiful-color/dist/index.mjs:
|
|
1220
|
+
(**
|
|
1221
|
+
* @license React
|
|
1222
|
+
* react-jsx-runtime.development.js
|
|
1223
|
+
*
|
|
1224
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1225
|
+
*
|
|
1226
|
+
* This source code is licensed under the MIT license found in the
|
|
1227
|
+
* LICENSE file in the root directory of this source tree.
|
|
1228
|
+
*)
|
|
1229
|
+
*/
|