(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();function Bo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bu={exports:{}},ll={},es={exports:{}},R={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Jt=Symbol.for("react.element"),yc=Symbol.for("react.portal"),gc=Symbol.for("react.fragment"),wc=Symbol.for("react.strict_mode"),Sc=Symbol.for("react.profiler"),kc=Symbol.for("react.provider"),Ec=Symbol.for("react.context"),xc=Symbol.for("react.forward_ref"),_c=Symbol.for("react.suspense"),Cc=Symbol.for("react.memo"),Nc=Symbol.for("react.lazy"),Vi=Symbol.iterator;function Pc(e){return e===null||typeof e!="object"?null:(e=Vi&&e[Vi]||e["@@iterator"],typeof e=="function"?e:null)}var ns={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ts=Object.assign,rs={};function ut(e,n,t){this.props=e,this.context=n,this.refs=rs,this.updater=t||ns}ut.prototype.isReactComponent={};ut.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};ut.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ls(){}ls.prototype=ut.prototype;function Wo(e,n,t){this.props=e,this.context=n,this.refs=rs,this.updater=t||ns}var Qo=Wo.prototype=new ls;Qo.constructor=Wo;ts(Qo,ut.prototype);Qo.isPureReactComponent=!0;var Ai=Array.isArray,os=Object.prototype.hasOwnProperty,Ko={current:null},is={key:!0,ref:!0,__self:!0,__source:!0};function us(e,n,t){var r,l={},o=null,i=null;if(n!=null)for(r in n.ref!==void 0&&(i=n.ref),n.key!==void 0&&(o=""+n.key),n)os.call(n,r)&&!is.hasOwnProperty(r)&&(l[r]=n[r]);var u=arguments.length-2;if(u===1)l.children=t;else if(1>>1,Z=C[W];if(0>>1;Wl(El,L))Snl(rr,El)?(C[W]=rr,C[Sn]=L,W=Sn):(C[W]=El,C[wn]=L,W=wn);else if(Snl(rr,L))C[W]=rr,C[Sn]=L,W=Sn;else break e}}return T}function l(C,T){var L=C.sortIndex-T.sortIndex;return L!==0?L:C.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],c=[],m=1,h=null,p=3,g=!1,w=!1,S=!1,O=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(C){for(var T=t(c);T!==null;){if(T.callback===null)r(c);else if(T.startTime<=C)r(c),T.sortIndex=T.expirationTime,n(s,T);else break;T=t(c)}}function v(C){if(S=!1,f(C),!w)if(t(s)!==null)w=!0,Sl(k);else{var T=t(c);T!==null&&kl(v,T.startTime-C)}}function k(C,T){w=!1,S&&(S=!1,d(N),N=-1),g=!0;var L=p;try{for(f(T),h=t(s);h!==null&&(!(h.expirationTime>T)||C&&!Pe());){var W=h.callback;if(typeof W=="function"){h.callback=null,p=h.priorityLevel;var Z=W(h.expirationTime<=T);T=e.unstable_now(),typeof Z=="function"?h.callback=Z:h===t(s)&&r(s),f(T)}else r(s);h=t(s)}if(h!==null)var tr=!0;else{var wn=t(c);wn!==null&&kl(v,wn.startTime-T),tr=!1}return tr}finally{h=null,p=L,g=!1}}var E=!1,x=null,N=-1,D=5,z=-1;function Pe(){return!(e.unstable_now()-zC||125W?(C.sortIndex=L,n(c,C),t(s)===null&&C===t(c)&&(S?(d(N),N=-1):S=!0,kl(v,L-W))):(C.sortIndex=Z,n(s,C),w||g||(w=!0,Sl(k))),C},e.unstable_shouldYield=Pe,e.unstable_wrapCallback=function(C){var T=p;return function(){var L=p;p=T;try{return C.apply(this,arguments)}finally{p=L}}}})(ds);fs.exports=ds;var Uc=fs.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Vc=X,ge=Uc;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zl=Object.prototype.hasOwnProperty,Ac=/^[: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]*$/,Bi={},Wi={};function Hc(e){return Zl.call(Wi,e)?!0:Zl.call(Bi,e)?!1:Ac.test(e)?Wi[e]=!0:(Bi[e]=!0,!1)}function Bc(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Wc(e,n,t,r){if(n===null||typeof n>"u"||Bc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ae(e,n,t,r,l,o,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=i}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];ne[n]=new ae(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ae(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ne[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Yo=/[\-:]([a-z])/g;function Go(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Yo,Go);ne[n]=new ae(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Yo,Go);ne[n]=new ae(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Yo,Go);ne[n]=new ae(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function Zo(e,n,t,r){var l=ne.hasOwnProperty(n)?ne[n]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` `+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?kt(e):""}function Qc(e){switch(e.tag){case 5:return kt(e.type);case 16:return kt("Lazy");case 13:return kt("Suspense");case 19:return kt("SuspenseList");case 0:case 2:case 15:return e=Nl(e.type,!1),e;case 11:return e=Nl(e.type.render,!1),e;case 1:return e=Nl(e.type,!0),e;default:return""}}function eo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fn:return"Fragment";case In:return"Portal";case Jl:return"Profiler";case Jo:return"StrictMode";case ql:return"Suspense";case bl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hs:return(e.displayName||"Context")+".Consumer";case ms:return(e._context.displayName||"Context")+".Provider";case qo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bo:return n=e.displayName||null,n!==null?n:eo(e.type)||"Memo";case be:n=e._payload,e=e._init;try{return eo(e(n))}catch{}}return null}function Kc(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return eo(n);case 8:return n===Jo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function mn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ys(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Xc(e){var n=ys(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function ir(e){e._valueTracker||(e._valueTracker=Xc(e))}function gs(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=ys(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Mr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function no(e,n){var t=n.checked;return H({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Ki(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=mn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ws(e,n){n=n.checked,n!=null&&Zo(e,"checked",n,!1)}function to(e,n){ws(e,n);var t=mn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?ro(e,n.type,t):n.hasOwnProperty("defaultValue")&&ro(e,n.type,mn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Xi(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function ro(e,n,t){(n!=="number"||Mr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var Et=Array.isArray;function Yn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=ur.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Dt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Ct={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Yc=["Webkit","ms","Moz","O"];Object.keys(Ct).forEach(function(e){Yc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Ct[n]=Ct[e]})});function xs(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Ct.hasOwnProperty(e)&&Ct[e]?(""+n).trim():n+"px"}function _s(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=xs(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Gc=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function io(e,n){if(n){if(Gc[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function uo(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";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 so=null;function ei(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ao=null,Gn=null,Zn=null;function Zi(e){if(e=er(e)){if(typeof ao!="function")throw Error(y(280));var n=e.stateNode;n&&(n=al(n),ao(e.stateNode,e.type,n))}}function Cs(e){Gn?Zn?Zn.push(e):Zn=[e]:Gn=e}function Ns(){if(Gn){var e=Gn,n=Zn;if(Zn=Gn=null,Zi(e),n)for(e=0;e>>=0,e===0?32:31-(uf(e)/sf|0)|0}var sr=64,ar=4194304;function xt(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function $r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=t&268435455;if(i!==0){var u=i&~l;u!==0?r=xt(u):(o&=i,o!==0&&(r=xt(o)))}else i=t&~l,i!==0?r=xt(i):o!==0&&(r=xt(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,o=n&-n,l>=o||l===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Me(n),e[n]=t}function df(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Pt),ou=" ",iu=!1;function Ks(e,n){switch(e){case"keyup":return Vf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $n=!1;function Hf(e,n){switch(e){case"compositionend":return Xs(n);case"keypress":return n.which!==32?null:(iu=!0,ou);case"textInput":return e=n.data,e===ou&&iu?null:e;default:return null}}function Bf(e,n){if($n)return e==="compositionend"||!si&&Ks(e,n)?(e=Ws(),_r=oi=rn=null,$n=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=cu(t)}}function Js(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Js(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function qs(){for(var e=window,n=Mr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Mr(e.document)}return n}function ai(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function qf(e){var n=qs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Js(t.ownerDocument.documentElement,t)){if(r!==null&&ai(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=fu(t,o);var i=fu(t,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Un=null,vo=null,Tt=null,yo=!1;function du(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;yo||Un==null||Un!==Mr(r)||(r=Un,"selectionStart"in r&&ai(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Tt&&At(Tt,r)||(Tt=r,r=Ar(vo,"onSelect"),0Hn||(e.current=xo[Hn],xo[Hn]=null,Hn--)}function I(e,n){Hn++,xo[Hn]=e.current,e.current=n}var hn={},oe=yn(hn),de=yn(!1),zn=hn;function nt(e,n){var t=e.type.contextTypes;if(!t)return hn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function Br(){$(de),$(oe)}function wu(e,n,t){if(oe.current!==hn)throw Error(y(168));I(oe,n),I(de,t)}function ua(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Kc(e)||"Unknown",l));return H({},t,r)}function Wr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hn,zn=oe.current,I(oe,e),I(de,de.current),!0}function Su(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ua(e,n,zn),r.__reactInternalMemoizedMergedChildContext=e,$(de),$(oe),I(oe,e)):$(de),I(de,t)}var Be=null,cl=!1,Vl=!1;function sa(e){Be===null?Be=[e]:Be.push(e)}function cd(e){cl=!0,sa(e)}function gn(){if(!Vl&&Be!==null){Vl=!0;var e=0,n=M;try{var t=Be;for(M=1;e>=i,l-=i,We=1<<32-Me(n)+l|t<N?(D=x,x=null):D=x.sibling;var z=p(d,x,f[N],v);if(z===null){x===null&&(x=D);break}e&&x&&z.alternate===null&&n(d,x),a=o(z,a,N),E===null?k=z:E.sibling=z,E=z,x=D}if(N===f.length)return t(d,x),U&&kn(d,N),k;if(x===null){for(;NN?(D=x,x=null):D=x.sibling;var Pe=p(d,x,z.value,v);if(Pe===null){x===null&&(x=D);break}e&&x&&Pe.alternate===null&&n(d,x),a=o(Pe,a,N),E===null?k=Pe:E.sibling=Pe,E=Pe,x=D}if(z.done)return t(d,x),U&&kn(d,N),k;if(x===null){for(;!z.done;N++,z=f.next())z=h(d,z.value,v),z!==null&&(a=o(z,a,N),E===null?k=z:E.sibling=z,E=z);return U&&kn(d,N),k}for(x=r(d,x);!z.done;N++,z=f.next())z=g(x,d,N,z.value,v),z!==null&&(e&&z.alternate!==null&&x.delete(z.key===null?N:z.key),a=o(z,a,N),E===null?k=z:E.sibling=z,E=z);return e&&x.forEach(function(ct){return n(d,ct)}),U&&kn(d,N),k}function O(d,a,f,v){if(typeof f=="object"&&f!==null&&f.type===Fn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case or:e:{for(var k=f.key,E=a;E!==null;){if(E.key===k){if(k=f.type,k===Fn){if(E.tag===7){t(d,E.sibling),a=l(E,f.props.children),a.return=d,d=a;break e}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===be&&xu(k)===E.type){t(d,E.sibling),a=l(E,f.props),a.ref=yt(d,E,f),a.return=d,d=a;break e}t(d,E);break}else n(d,E);E=E.sibling}f.type===Fn?(a=Pn(f.props.children,d.mode,v,f.key),a.return=d,d=a):(v=jr(f.type,f.key,f.props,null,d.mode,v),v.ref=yt(d,a,f),v.return=d,d=v)}return i(d);case In:e:{for(E=f.key;a!==null;){if(a.key===E)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){t(d,a.sibling),a=l(a,f.children||[]),a.return=d,d=a;break e}else{t(d,a);break}else n(d,a);a=a.sibling}a=Yl(f,d.mode,v),a.return=d,d=a}return i(d);case be:return E=f._init,O(d,a,E(f._payload),v)}if(Et(f))return w(d,a,f,v);if(dt(f))return S(d,a,f,v);vr(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(t(d,a.sibling),a=l(a,f),a.return=d,d=a):(t(d,a),a=Xl(f,d.mode,v),a.return=d,d=a),i(d)):t(d,a)}return O}var rt=da(!0),pa=da(!1),Xr=yn(null),Yr=null,Qn=null,pi=null;function mi(){pi=Qn=Yr=null}function hi(e){var n=Xr.current;$(Xr),e._currentValue=n}function No(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function qn(e,n){Yr=e,pi=Qn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(fe=!0),e.firstContext=null)}function Ce(e){var n=e._currentValue;if(pi!==e)if(e={context:e,memoizedValue:n,next:null},Qn===null){if(Yr===null)throw Error(y(308));Qn=e,Yr.dependencies={lanes:0,firstContext:e}}else Qn=Qn.next=e;return n}var _n=null;function vi(e){_n===null?_n=[e]:_n.push(e)}function ma(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,vi(n)):(t.next=l.next,l.next=t),n.interleaved=t,Ge(e,r)}function Ge(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var en=!1;function yi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ha(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ke(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function cn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,j&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Ge(e,t)}return l=r.interleaved,l===null?(n.next=n,vi(r)):(n.next=l.next,l.next=n),r.interleaved=n,Ge(e,t)}function Nr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,ti(e,t)}}function _u(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,o=null;if(t=t.firstBaseUpdate,t!==null){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};o===null?l=o=i:o=o.next=i,t=t.next}while(t!==null);o===null?l=o=n:o=o.next=n}else l=o=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Gr(e,n,t,r){var l=e.updateQueue;en=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,i===null?o=c:i.next=c,i=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==i&&(u===null?m.firstBaseUpdate=c:u.next=c,m.lastBaseUpdate=s))}if(o!==null){var h=l.baseState;i=0,m=c=s=null,u=o;do{var p=u.lane,g=u.eventTime;if((r&p)===p){m!==null&&(m=m.next={eventTime:g,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,S=u;switch(p=n,g=t,S.tag){case 1:if(w=S.payload,typeof w=="function"){h=w.call(g,h,p);break e}h=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=S.payload,p=typeof w=="function"?w.call(g,h,p):w,p==null)break e;h=H({},h,p);break e;case 2:en=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[u]:p.push(u))}else g={eventTime:g,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(c=m=g,s=h):m=m.next=g,i|=p;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;p=u,u=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(m===null&&(s=h),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=m,n=l.shared.interleaved,n!==null){l=n;do i|=l.lane,l=l.next;while(l!==n)}else o===null&&(l.shared.lanes=0);Rn|=i,e.lanes=i,e.memoizedState=h}}function Cu(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=Hl.transition;Hl.transition={};try{e(!1),n()}finally{M=t,Hl.transition=r}}function ja(){return Ne().memoizedState}function md(e,n,t){var r=dn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Oa(e))Ma(n,t);else if(t=ma(e,n,t,r),t!==null){var l=ue();De(t,e,r,l),Da(t,n,r)}}function hd(e,n,t){var r=dn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Oa(e))Ma(n,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var i=n.lastRenderedState,u=o(i,t);if(l.hasEagerState=!0,l.eagerState=u,Ie(u,i)){var s=n.interleaved;s===null?(l.next=l,vi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=ma(e,n,l,r),t!==null&&(l=ue(),De(t,e,r,l),Da(t,n,r))}}function Oa(e){var n=e.alternate;return e===A||n!==null&&n===A}function Ma(e,n){Lt=Jr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Da(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,ti(e,t)}}var qr={readContext:Ce,useCallback:te,useContext:te,useEffect:te,useImperativeHandle:te,useInsertionEffect:te,useLayoutEffect:te,useMemo:te,useReducer:te,useRef:te,useState:te,useDebugValue:te,useDeferredValue:te,useTransition:te,useMutableSource:te,useSyncExternalStore:te,useId:te,unstable_isNewReconciler:!1},vd={readContext:Ce,useCallback:function(e,n){return $e().memoizedState=[e,n===void 0?null:n],e},useContext:Ce,useEffect:Pu,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,zr(4194308,4,Pa.bind(null,n,e),t)},useLayoutEffect:function(e,n){return zr(4194308,4,e,n)},useInsertionEffect:function(e,n){return zr(4,2,e,n)},useMemo:function(e,n){var t=$e();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=$e();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=md.bind(null,A,e),[r.memoizedState,e]},useRef:function(e){var n=$e();return e={current:e},n.memoizedState=e},useState:Nu,useDebugValue:Ci,useDeferredValue:function(e){return $e().memoizedState=e},useTransition:function(){var e=Nu(!1),n=e[0];return e=pd.bind(null,e[1]),$e().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=A,l=$e();if(U){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),q===null)throw Error(y(349));Ln&30||wa(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,Pu(ka.bind(null,r,o,e),[e]),r.flags|=2048,Gt(9,Sa.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=$e(),n=q.identifierPrefix;if(U){var t=Qe,r=We;t=(r&~(1<<32-Me(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Xt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(t,{is:r.is}):(e=i.createElement(t),t==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,t),e[Ue]=n,e[Wt]=r,Qa(e,n,!1,!1),n.stateNode=e;e:{switch(i=uo(t,r),t){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;l<_t.length;l++)F(_t[l],e);l=r;break;case"source":F("error",e),l=r;break;case"img":case"image":case"link":F("error",e),F("load",e),l=r;break;case"details":F("toggle",e),l=r;break;case"input":Ki(e,r),l=no(e,r),F("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=H({},r,{value:void 0}),F("invalid",e);break;case"textarea":Yi(e,r),l=lo(e,r),F("invalid",e);break;default:l=r}io(t,l),u=l;for(o in u)if(u.hasOwnProperty(o)){var s=u[o];o==="style"?_s(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Es(e,s)):o==="children"?typeof s=="string"?(t!=="textarea"||s!=="")&&Dt(e,s):typeof s=="number"&&Dt(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Mt.hasOwnProperty(o)?s!=null&&o==="onScroll"&&F("scroll",e):s!=null&&Zo(e,o,s,i))}switch(t){case"input":ir(e),Xi(e,r,!1);break;case"textarea":ir(e),Gi(e);break;case"option":r.value!=null&&e.setAttribute("value",""+mn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Yn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Yn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Hr)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return re(n),null;case 6:if(e&&n.stateNode!=null)Xa(e,n,e.memoizedProps,r);else{if(typeof r!="string"&&n.stateNode===null)throw Error(y(166));if(t=Cn(Kt.current),Cn(Ae.current),hr(n)){if(r=n.stateNode,t=n.memoizedProps,r[Ue]=n,(o=r.nodeValue!==t)&&(e=ye,e!==null))switch(e.tag){case 3:mr(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&mr(r.nodeValue,t,(e.mode&1)!==0)}o&&(n.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[Ue]=n,n.stateNode=r}return re(n),null;case 13:if($(V),r=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(U&&ve!==null&&n.mode&1&&!(n.flags&128))fa(),tt(),n.flags|=98560,o=!1;else if(o=hr(n),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(y(318));if(o=n.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(y(317));o[Ue]=n}else tt(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;re(n),o=!1}else Oe!==null&&(Ho(Oe),Oe=null),o=!0;if(!o)return n.flags&65536?n:null}return n.flags&128?(n.lanes=t,n):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(n.child.flags|=8192,n.mode&1&&(e===null||V.current&1?G===0&&(G=3):ji())),n.updateQueue!==null&&(n.flags|=4),re(n),null);case 4:return lt(),Mo(e,n),e===null&&Ht(n.stateNode.containerInfo),re(n),null;case 10:return hi(n.type._context),re(n),null;case 17:return pe(n.type)&&Br(),re(n),null;case 19:if($(V),o=n.memoizedState,o===null)return re(n),null;if(r=(n.flags&128)!==0,i=o.rendering,i===null)if(r)gt(o,!1);else{if(G!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(i=Zr(e),i!==null){for(n.flags|=128,gt(o,!1),r=i.updateQueue,r!==null&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;t!==null;)o=t,e=r,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return I(V,V.current&1|2),n.child}e=e.sibling}o.tail!==null&&Q()>it&&(n.flags|=128,r=!0,gt(o,!1),n.lanes=4194304)}else{if(!r)if(e=Zr(i),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),gt(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!U)return re(n),null}else 2*Q()-o.renderingStartTime>it&&t!==1073741824&&(n.flags|=128,r=!0,gt(o,!1),n.lanes=4194304);o.isBackwards?(i.sibling=n.child,n.child=i):(t=o.last,t!==null?t.sibling=i:n.child=i,o.last=i)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=Q(),n.sibling=null,t=V.current,I(V,r?t&1|2:t&1),n):(re(n),null);case 22:case 23:return Ri(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?he&1073741824&&(re(n),n.subtreeFlags&6&&(n.flags|=8192)):re(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function _d(e,n){switch(fi(n),n.tag){case 1:return pe(n.type)&&Br(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return lt(),$(de),$(oe),Si(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return wi(n),null;case 13:if($(V),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));tt()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return $(V),null;case 4:return lt(),null;case 10:return hi(n.type._context),null;case 22:case 23:return Ri(),null;case 24:return null;default:return null}}var gr=!1,le=!1,Cd=typeof WeakSet=="function"?WeakSet:Set,_=null;function Kn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){B(e,n,r)}else t.current=null}function Do(e,n,t){try{t()}catch(r){B(e,n,r)}}var $u=!1;function Nd(e,n){if(go=Ur,e=qs(),ai(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var i=0,u=-1,s=-1,c=0,m=0,h=e,p=null;n:for(;;){for(var g;h!==t||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(g=h.firstChild)!==null;)p=h,h=g;for(;;){if(h===e)break n;if(p===t&&++c===l&&(u=i),p===o&&++m===r&&(s=i),(g=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=g}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(wo={focusedElem:e,selectionRange:t},Ur=!1,_=n;_!==null;)if(n=_,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,_=e;else for(;_!==null;){n=_;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,O=w.memoizedState,d=n.stateNode,a=d.getSnapshotBeforeUpdate(n.elementType===n.type?S:Le(n.type,S),O);d.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(v){B(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,_=e;break}_=n.return}return w=$u,$u=!1,w}function Rt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Do(n,t,o)}l=l.next}while(l!==r)}}function pl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Io(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Ya(e){var n=e.alternate;n!==null&&(e.alternate=null,Ya(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ue],delete n[Wt],delete n[Eo],delete n[sd],delete n[ad])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ga(e){return e.tag===5||e.tag===3||e.tag===4}function Uu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ga(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.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 Fo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Hr));else if(r!==4&&(e=e.child,e!==null))for(Fo(e,n,t),e=e.sibling;e!==null;)Fo(e,n,t),e=e.sibling}function $o(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for($o(e,n,t),e=e.sibling;e!==null;)$o(e,n,t),e=e.sibling}var b=null,Re=!1;function qe(e,n,t){for(t=t.child;t!==null;)Za(e,n,t),t=t.sibling}function Za(e,n,t){if(Ve&&typeof Ve.onCommitFiberUnmount=="function")try{Ve.onCommitFiberUnmount(ol,t)}catch{}switch(t.tag){case 5:le||Kn(t,n);case 6:var r=b,l=Re;b=null,qe(e,n,t),b=r,Re=l,b!==null&&(Re?(e=b,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):b.removeChild(t.stateNode));break;case 18:b!==null&&(Re?(e=b,t=t.stateNode,e.nodeType===8?Ul(e.parentNode,t):e.nodeType===1&&Ul(e,t),Ut(e)):Ul(b,t.stateNode));break;case 4:r=b,l=Re,b=t.stateNode.containerInfo,Re=!0,qe(e,n,t),b=r,Re=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Do(t,n,i),l=l.next}while(l!==r)}qe(e,n,t);break;case 1:if(!le&&(Kn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){B(t,n,u)}qe(e,n,t);break;case 21:qe(e,n,t);break;case 22:t.mode&1?(le=(r=le)||t.memoizedState!==null,qe(e,n,t),le=r):qe(e,n,t);break;default:qe(e,n,t)}}function Vu(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new Cd),n.forEach(function(r){var l=Dd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function ze(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*zd(r/1960))-r,10e?16:e,ln===null)var r=!1;else{if(e=ln,ln=null,nl=0,j&6)throw Error(y(331));var l=j;for(j|=4,_=e.current;_!==null;){var o=_,i=o.child;if(_.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sQ()-Ti?Nn(e,0):zi|=t),me(e,n)}function lc(e,n){n===0&&(e.mode&1?(n=ar,ar<<=1,!(ar&130023424)&&(ar=4194304)):n=1);var t=ue();e=Ge(e,n),e!==null&&(qt(e,n,t),me(e,t))}function Md(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),lc(e,t)}function Dd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),lc(e,t)}var oc;oc=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||de.current)fe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return fe=!1,Ed(e,n,t);fe=!!(e.flags&131072)}else fe=!1,U&&n.flags&1048576&&aa(n,Kr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Tr(e,n),e=n.pendingProps;var l=nt(n,oe.current);qn(n,t),l=Ei(null,n,r,e,l,t);var o=xi();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,pe(r)?(o=!0,Wr(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,yi(n),l.updater=dl,n.stateNode=l,l._reactInternals=n,zo(n,r,e,t),n=Ro(null,n,r,!0,o,t)):(n.tag=0,U&&o&&ci(n),ie(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Tr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Fd(r),e=Le(r,e),l){case 0:n=Lo(null,n,r,e,t);break e;case 1:n=Du(null,n,r,e,t);break e;case 11:n=Ou(null,n,r,e,t);break e;case 14:n=Mu(null,n,r,Le(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Lo(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Du(e,n,r,l,t);case 3:e:{if(Ha(n),e===null)throw Error(y(387));r=n.pendingProps,o=n.memoizedState,l=o.element,ha(e,n),Gr(n,r,null,t);var i=n.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){l=ot(Error(y(423)),n),n=Iu(e,n,r,t,l);break e}else if(r!==l){l=ot(Error(y(424)),n),n=Iu(e,n,r,t,l);break e}else for(ve=an(n.stateNode.containerInfo.firstChild),ye=n,U=!0,Oe=null,t=pa(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(tt(),r===l){n=Ze(e,n,t);break e}ie(e,n,r,t)}n=n.child}return n;case 5:return va(n),e===null&&Co(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,So(r,l)?i=null:o!==null&&So(r,o)&&(n.flags|=32),Aa(e,n),ie(e,n,i,t),n.child;case 6:return e===null&&Co(n),null;case 13:return Ba(e,n,t);case 4:return gi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=rt(n,null,r,t):ie(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Ou(e,n,r,l,t);case 7:return ie(e,n,n.pendingProps,t),n.child;case 8:return ie(e,n,n.pendingProps.children,t),n.child;case 12:return ie(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,o=n.memoizedProps,i=l.value,I(Xr,r._currentValue),r._currentValue=i,o!==null)if(Ie(o.value,i)){if(o.children===l.children&&!de.current){n=Ze(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ke(-1,t&-t),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),No(o.return,t,n),u.lanes|=t;break}s=s.next}}else if(o.tag===10)i=o.type===n.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(y(341));i.lanes|=t,u=i.alternate,u!==null&&(u.lanes|=t),No(i,t,n),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===n){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ie(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,qn(n,t),l=Ce(l),r=r(l),n.flags|=1,ie(e,n,r,t),n.child;case 14:return r=n.type,l=Le(r,n.pendingProps),l=Le(r.type,l),Mu(e,n,r,l,t);case 15:return Ua(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Tr(e,n),n.tag=1,pe(r)?(e=!0,Wr(n)):e=!1,qn(n,t),Ia(n,r,l),zo(n,r,l,t),Ro(null,n,r,!0,e,t);case 19:return Wa(e,n,t);case 22:return Va(e,n,t)}throw Error(y(156,n.tag))};function ic(e,n){return Os(e,n)}function Id(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xe(e,n,t,r){return new Id(e,n,t,r)}function Oi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Fd(e){if(typeof e=="function")return Oi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qo)return 11;if(e===bo)return 14}return 2}function pn(e,n){var t=e.alternate;return t===null?(t=xe(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function jr(e,n,t,r,l,o){var i=2;if(r=e,typeof e=="function")Oi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Fn:return Pn(t.children,l,o,n);case Jo:i=8,l|=8;break;case Jl:return e=xe(12,t,n,l|2),e.elementType=Jl,e.lanes=o,e;case ql:return e=xe(13,t,n,l),e.elementType=ql,e.lanes=o,e;case bl:return e=xe(19,t,n,l),e.elementType=bl,e.lanes=o,e;case vs:return hl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ms:i=10;break e;case hs:i=9;break e;case qo:i=11;break e;case bo:i=14;break e;case be:i=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=xe(i,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function Pn(e,n,t,r){return e=xe(7,e,r,n),e.lanes=t,e}function hl(e,n,t,r){return e=xe(22,e,r,n),e.elementType=vs,e.lanes=t,e.stateNode={isHidden:!1},e}function Xl(e,n,t){return e=xe(6,e,null,n),e.lanes=t,e}function Yl(e,n,t){return n=xe(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function $d(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zl(0),this.expirationTimes=zl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Mi(e,n,t,r,l,o,i,u,s){return e=new $d(e,n,t,u,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=xe(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},yi(o),e}function Ud(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cc)}catch(e){console.error(e)}}cc(),cs.exports=we;var Wd=cs.exports,Yu=Wd;Gl.createRoot=Yu.createRoot,Gl.hydrateRoot=Yu.hydrateRoot;const Qd="_colors_e8laq_1",Kd={colors:Qd};var fc={exports:{}},Xd="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Yd=Xd,Gd=Yd;function dc(){}function pc(){}pc.resetWarningCache=dc;var Zd=function(){function e(r,l,o,i,u,s){if(s!==Gd){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function n(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:pc,resetWarningCache:dc};return t.PropTypes=t,t};fc.exports=Zd();var Jd=fc.exports;const je=Bo(Jd);var mc={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var o="",i=0;i{const o=e/n*(r-t);return Math.round(o)},Zu=(e,n,t,r)=>{const o=e/(r-t)*n;return Math.round(o)};function Or({id:e,color:n,kind:t}){const{cssvars:r,updateVar:l}=X.useContext($i),{start:o,current:i}=r[e],[u,s]=ip[t],c=X.useRef(null),m=X.useRef(null),[h,p]=X.useState(!1),[g,w]=X.useState(Zu(o,360,u,s)),S=E=>{p(!0);const N=c.current.getBoundingClientRect(),D=E.clientX-N.left;w(D)},O=()=>{p(!1)},d=()=>{p(!1)};X.useEffect(()=>{const x=c.current.getBoundingClientRect(),N=up(g,x.width,u,s);l(e,N)},[e,u,s,l,g]),X.useEffect(()=>{const E=Zu(i,360,u,s);w(E)},[u,s,i]),X.useEffect(()=>{const E=x=>{if(!h||!c.current||!m.current)return;const D=c.current.getBoundingClientRect();let z=x.clientX-D.left;z<0?z=0:z>D.width&&(z=D.width),w(z)};return window.addEventListener("mousemove",E),()=>{window.removeEventListener("mousemove",E)}},[h,u,s,g]),X.useEffect(()=>(window.addEventListener("mouseleave",O),()=>{window.removeEventListener("mouseleave",O)}),[]),X.useEffect(()=>(window.addEventListener("mouseup",d),()=>{window.removeEventListener("mouseup",d)}),[]);const a=Gu({[St.main]:!0,[St.moving]:h}),f=Gu({[St.background]:!0,[St[t]]:!0}),v={"--h":`var(--bulma-${n}-h)`,"--s":`var(--bulma-${n}-s)`,"--l":`var(--bulma-${n}-l)`},k={transform:`translateX(${g}px)`};return P.jsx("div",{className:a,ref:c,style:v,onMouseDown:S,children:P.jsx("div",{className:f,children:P.jsx("span",{ref:m,className:St.handle,style:k})})})}Or.propTypes={id:je.string,kind:je.string,color:je.string,original:je.string,start:je.number,unit:je.string,getValue:je.func};const sp="_main_stbv3_1",ap="_side_stbv3_9",cp="_swatch_stbv3_13",fp="_name_stbv3_21",dp="_lines_stbv3_34",pp="_line_stbv3_34",mp="_form_stbv3_51",Te={main:sp,side:ap,swatch:cp,name:fp,lines:dp,line:pp,form:mp};function hp(e,n,t){n/=100,t/=100;let r=(1-Math.abs(2*t-1))*n,l=r*(1-Math.abs(e/60%2-1)),o=t-r/2,i=0,u=0,s=0;return 0<=e&&e<60?(i=r,u=l,s=0):60<=e&&e<120?(i=l,u=r,s=0):120<=e&&e<180?(i=0,u=r,s=l):180<=e&&e<240?(i=0,u=l,s=r):240<=e&&e<300?(i=l,u=0,s=r):300<=e&&e<360&&(i=r,u=0,s=l),i=Math.round((i+o)*255),u=Math.round((u+o)*255),s=Math.round((s+o)*255),`${((1<<24)+(i<<16)+(u<<8)+s).toString(16).slice(1).toUpperCase()}`}function Ju(e){e=e.replace(/^#/,"");let n=parseInt(e.slice(0,2),16),t=parseInt(e.slice(2,4),16),r=parseInt(e.slice(4,6),16);n/=255,t/=255,r/=255;let l=Math.max(n,t,r),o=Math.min(n,t,r),i,u,s=(l+o)/2;if(l===o)i=u=0;else{let c=l-o;switch(u=s>.5?c/(2-l-o):c/(l+o),l){case n:i=(t-r)/c+(t{a.preventDefault(),t(s.id,s.start),t(c.id,c.start),t(m.id,m.start)},w=a=>{a.preventDefault();let f=window.prompt("Enter a Hexadecimal value (e.g. 00d1b2)");if(f.startsWith("#")&&(f=f.replace(/^#/,"")),!/^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$/.test(f)||f.length>6){window.prompt("That is not a valid Hexadecimal value. Please try again.");return}f.length===3&&(f=f[0]+f[0]+f[1]+f[1]+f[2]+f[2]);const{hue:k,saturation:E,lightness:x}=Ju(f);t(s.id,k),t(c.id,E),t(m.id,x)},S=a=>{let f=a.target.value;if(f.startsWith("#")&&(f=f.replace(/^#/,"")),l(f),!/^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$/.test(f)||f.length<6)return;const{hue:k,saturation:E,lightness:x}=Ju(f);t(s.id,k),t(c.id,E),t(m.id,x)},O=(a,f)=>{let v=a.target.value;t(f.id,v)};if(X.useEffect(()=>{if(!s)return;const a=hp(s.current,c.current,m.current);l(a)},[s,c,m]),!s)return;const d=s.current===s.start&&c.current===c.start&&m.current===m.start;return P.jsxs("div",{className:Te.main,style:h,children:[P.jsxs("div",{className:Te.side,children:[P.jsxs("div",{className:Te.name,children:[P.jsx("div",{className:Te.swatch}),P.jsx("p",{children:p})]}),P.jsx("button",{className:"button is-small",onClick:w,children:"Enter a Hex code"}),P.jsxs("div",{className:"is-hidden field has-addons",children:[P.jsx("p",{className:"control",children:P.jsx("span",{className:"button is-static",children:"#"})}),P.jsx("p",{className:"control",children:P.jsx("input",{className:"input",type:"text",value:r,onChange:S})}),P.jsx("p",{className:"control",children:P.jsx("span",{className:"button is-icon",children:"Copy"})})]})]}),P.jsxs("div",{className:Te.lines,children:[P.jsxs("div",{className:Te.line,children:[P.jsx("p",{children:"Hue"}),P.jsx(Or,{id:o,kind:"hue",color:e}),P.jsxs("p",{className:Te.form,children:[P.jsx("input",{type:"text",className:"input",value:s.current,onChange:a=>O(a,s),size:"3"}),P.jsx("span",{children:s.unit})]})]}),P.jsxs("div",{className:Te.line,children:[P.jsx("p",{children:"Saturation"}),P.jsx(Or,{id:i,kind:"saturation",color:e}),P.jsxs("p",{className:Te.form,children:[P.jsx("input",{type:"text",className:"input",value:c.current,onChange:a=>O(a,c),size:"3"}),P.jsx("span",{children:c.unit})]})]}),P.jsxs("div",{className:Te.line,children:[P.jsx("p",{children:"Lightness"}),P.jsx(Or,{id:u,kind:"lightness",color:e}),P.jsxs("p",{className:Te.form,children:[P.jsx("input",{type:"text",className:"input",value:m.current,onChange:a=>O(a,m),size:"3"}),P.jsx("span",{children:m.unit})]})]})]}),P.jsxs("div",{className:"buttons",children:[P.jsx("button",{className:`button is-${e}`,children:p}),P.jsx("button",{className:"button",onClick:g,disabled:d,children:"Reset"})]})]})}hc.propTypes={color:je.string,h:je.string,s:je.string,l:je.string};const vp=["primary","link","info","success","warning","danger"],yp=["scheme-h","primary-h","primary-s","primary-l","link-h","link-s","link-l","info-h","info-s","info-l","success-h","success-s","success-l","warning-h","warning-s","warning-l","danger-h","danger-s","danger-l","skeleton-lines-gap"],gp=["deg","rem","em","%"],qu={"-h":"hue","-s":"saturation","-l":"lightness","-gap":"gap"},$i=X.createContext({cssvars:{},getVar:()=>{},updateVar:()=>{}});function wp(){const e={cssvars:{},getVar:r=>n.cssvars[r],updateVar:(r,l)=>{t(o=>{const{start:i,unit:u}=o.cssvars[r],s=`${l}${u}`;return i===l?document.documentElement.style.removeProperty(`--bulma-${r}`):document.documentElement.style.setProperty(`--bulma-${r}`,s),{...o,cssvars:{...o.cssvars,[r]:{...o.cssvars[r],current:l}}}})}},[n,t]=X.useState(e);return X.useEffect(()=>{const r=window.getComputedStyle(document.documentElement),l={};yp.map(o=>{const i=r.getPropertyValue(`--bulma-${o}`),u=Object.keys(qu).find(m=>o.endsWith(m)),s=gp.find(m=>i.endsWith(m))||"",c=s!==""?i.split(s)[0]:i;l[o]={id:o,kind:qu[u]||"any",original:i,unit:s,current:Number(c),start:Number(c)}}),t(o=>({...o,cssvars:l}))},[]),P.jsx($i.Provider,{value:n,children:P.jsx("section",{className:"section",children:P.jsx("div",{className:"card",children:P.jsx("div",{className:"card-content",children:P.jsx("div",{className:Kd.colors,children:vp.map(r=>P.jsx(hc,{color:r},r))})})})})})}Gl.createRoot(document.getElementById("root")).render(P.jsx(jc.StrictMode,{children:P.jsx(wp,{})}));