conductor-remote 1.53.0 → 1.53.2
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.
|
@@ -8,7 +8,7 @@ Error generating stack: `+s.message+`
|
|
|
8
8
|
`+s.stack}}var vt=Object.prototype.hasOwnProperty,b0=e.unstable_scheduleCallback,Nt=e.unstable_cancelCallback,Xo=e.unstable_shouldYield,Ko=e.unstable_requestPaint,zt=e.unstable_now,Zo=e.unstable_getCurrentPriorityLevel,le=e.unstable_ImmediatePriority,fe=e.unstable_UserBlockingPriority,ke=e.unstable_NormalPriority,_e=e.unstable_LowPriority,Ve=e.unstable_IdlePriority,en=e.log,Qn=e.unstable_setDisableYieldValue,Rt=null,gt=null;function Ht(t){if(typeof en=="function"&&Qn(t),gt&&typeof gt.setStrictMode=="function")try{gt.setStrictMode(Rt,t)}catch{}}var et=Math.clz32?Math.clz32:Pm,Er=Math.log,Sn=Math.LN2;function Pm(t){return t>>>=0,t===0?32:31-(Er(t)/Sn|0)|0}var Vl=256,Gl=262144,Ql=4194304;function Xr(t){var n=t&42;if(n!==0)return n;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Yl(t,n,l){var s=t.pendingLanes;if(s===0)return 0;var d=0,m=t.suspendedLanes,B=t.pingedLanes;t=t.warmLanes;var D=s&134217727;return D!==0?(s=D&~m,s!==0?d=Xr(s):(B&=D,B!==0?d=Xr(B):l||(l=D&~t,l!==0&&(d=Xr(l))))):(D=s&~m,D!==0?d=Xr(D):B!==0?d=Xr(B):l||(l=s&~t,l!==0&&(d=Xr(l)))),d===0?0:n!==0&&n!==d&&(n&m)===0&&(m=d&-d,l=n&-n,m>=l||m===32&&(l&4194048)!==0)?n:d}function ya(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function Um(t,n){switch(t){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function nf(){var t=Ql;return Ql<<=1,(Ql&62914560)===0&&(Ql=4194304),t}function Jo(t){for(var n=[],l=0;31>l;l++)n.push(t);return n}function Ba(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Hm(t,n,l,s,d,m){var B=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var D=t.entanglements,P=t.expirationTimes,Z=t.hiddenUpdates;for(l=B&~l;0<l;){var ne=31-et(l),oe=1<<ne;D[ne]=0,P[ne]=-1;var J=Z[ne];if(J!==null)for(Z[ne]=null,ne=0;ne<J.length;ne++){var ee=J[ne];ee!==null&&(ee.lane&=-536870913)}l&=~oe}s!==0&&rf(t,s,0),m!==0&&d===0&&t.tag!==0&&(t.suspendedLanes|=m&~(B&~n))}function rf(t,n,l){t.pendingLanes|=n,t.suspendedLanes&=~n;var s=31-et(n);t.entangledLanes|=n,t.entanglements[s]=t.entanglements[s]|1073741824|l&261930}function af(t,n){var l=t.entangledLanes|=n;for(t=t.entanglements;l;){var s=31-et(l),d=1<<s;d&n|t[s]&n&&(t[s]|=n),l&=~d}}function lf(t,n){var l=n&-n;return l=(l&42)!==0?1:Wo(l),(l&(t.suspendedLanes|n))!==0?0:l}function Wo(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function es(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function of(){var t=Y.p;return t!==0?t:(t=window.event,t===void 0?32:G9(t.type))}function sf(t,n){var l=Y.p;try{return Y.p=t,n()}finally{Y.p=l}}var gr=Math.random().toString(36).slice(2),Dt="__reactFiber$"+gr,qt="__reactProps$"+gr,v0="__reactContainer$"+gr,ts="__reactEvents$"+gr,qm="__reactListeners$"+gr,Im="__reactHandles$"+gr,xf="__reactResources$"+gr,Aa="__reactMarker$"+gr;function ns(t){delete t[Dt],delete t[qt],delete t[ts],delete t[qm],delete t[Im]}function D0(t){var n=t[Dt];if(n)return n;for(var l=t.parentNode;l;){if(n=l[v0]||l[Dt]){if(l=n.alternate,n.child!==null||l!==null&&l.child!==null)for(t=M9(t);t!==null;){if(l=t[Dt])return l;t=M9(t)}return n}t=l,l=t.parentNode}return null}function k0(t){if(t=t[Dt]||t[v0]){var n=t.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return t}return null}function ba(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(i(33))}function F0(t){var n=t[xf];return n||(n=t[xf]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function At(t){t[Aa]=!0}var uf=new Set,cf={};function Kr(t,n){w0(t,n),w0(t+"Capture",n)}function w0(t,n){for(cf[t]=n,t=0;t<n.length;t++)uf.add(n[t])}var $m=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]*$"),ff={},df={};function Vm(t){return vt.call(df,t)?!0:vt.call(ff,t)?!1:$m.test(t)?df[t]=!0:(ff[t]=!0,!1)}function Xl(t,n,l){if(Vm(n))if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(n);return;case"boolean":var s=n.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){t.removeAttribute(n);return}}t.setAttribute(n,""+l)}}function Kl(t,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttribute(n,""+l)}}function Yn(t,n,l,s){if(s===null)t.removeAttribute(l);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(n,l,""+s)}}function pn(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function hf(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Gm(t,n,l){var s=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);if(!t.hasOwnProperty(n)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,m=s.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return d.call(this)},set:function(B){l=""+B,m.call(this,B)}}),Object.defineProperty(t,n,{enumerable:s.enumerable}),{getValue:function(){return l},setValue:function(B){l=""+B},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function rs(t){if(!t._valueTracker){var n=hf(t)?"checked":"value";t._valueTracker=Gm(t,n,""+t[n])}}function pf(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var l=n.getValue(),s="";return t&&(s=hf(t)?t.checked?"true":"false":t.value),t=s,t!==l?(n.setValue(t),!0):!1}function Zl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Qm=/[\n"\\]/g;function mn(t){return t.replace(Qm,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function as(t,n,l,s,d,m,B,D){t.name="",B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?t.type=B:t.removeAttribute("type"),n!=null?B==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+pn(n)):t.value!==""+pn(n)&&(t.value=""+pn(n)):B!=="submit"&&B!=="reset"||t.removeAttribute("value"),n!=null?ls(t,B,pn(n)):l!=null?ls(t,B,pn(l)):s!=null&&t.removeAttribute("value"),d==null&&m!=null&&(t.defaultChecked=!!m),d!=null&&(t.checked=d&&typeof d!="function"&&typeof d!="symbol"),D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?t.name=""+pn(D):t.removeAttribute("name")}function mf(t,n,l,s,d,m,B,D){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.type=m),n!=null||l!=null){if(!(m!=="submit"&&m!=="reset"||n!=null)){rs(t);return}l=l!=null?""+pn(l):"",n=n!=null?""+pn(n):l,D||n===t.value||(t.value=n),t.defaultValue=n}s=s??d,s=typeof s!="function"&&typeof s!="symbol"&&!!s,t.checked=D?t.checked:!!s,t.defaultChecked=!!s,B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"&&(t.name=B),rs(t)}function ls(t,n,l){n==="number"&&Zl(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function S0(t,n,l,s){if(t=t.options,n){n={};for(var d=0;d<l.length;d++)n["$"+l[d]]=!0;for(l=0;l<t.length;l++)d=n.hasOwnProperty("$"+t[l].value),t[l].selected!==d&&(t[l].selected=d),d&&s&&(t[l].defaultSelected=!0)}else{for(l=""+pn(l),n=null,d=0;d<t.length;d++){if(t[d].value===l){t[d].selected=!0,s&&(t[d].defaultSelected=!0);return}n!==null||t[d].disabled||(n=t[d])}n!==null&&(n.selected=!0)}}function Ef(t,n,l){if(n!=null&&(n=""+pn(n),n!==t.value&&(t.value=n),l==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=l!=null?""+pn(l):""}function gf(t,n,l,s){if(n==null){if(s!=null){if(l!=null)throw Error(i(92));if(I(s)){if(1<s.length)throw Error(i(93));s=s[0]}l=s}l==null&&(l=""),n=l}l=pn(n),t.defaultValue=l,s=t.textContent,s===l&&s!==""&&s!==null&&(t.value=s),rs(t)}function M0(t,n){if(n){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=n;return}}t.textContent=n}var Ym=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 Cf(t,n,l){var s=n.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?s?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="":s?t.setProperty(n,l):typeof l!="number"||l===0||Ym.has(n)?n==="float"?t.cssFloat=l:t[n]=(""+l).trim():t[n]=l+"px"}function yf(t,n,l){if(n!=null&&typeof n!="object")throw Error(i(62));if(t=t.style,l!=null){for(var s in l)!l.hasOwnProperty(s)||n!=null&&n.hasOwnProperty(s)||(s.indexOf("--")===0?t.setProperty(s,""):s==="float"?t.cssFloat="":t[s]="");for(var d in n)s=n[d],n.hasOwnProperty(d)&&l[d]!==s&&Cf(t,d,s)}else for(var m in n)n.hasOwnProperty(m)&&Cf(t,m,n[m])}function is(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xm=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"]]),Km=/^[\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 Jl(t){return Km.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Xn(){}var os=null;function ss(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var N0=null,T0=null;function Bf(t){var n=k0(t);if(n&&(t=n.stateNode)){var l=t[qt]||null;e:switch(t=n.stateNode,n.type){case"input":if(as(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),n=l.name,l.type==="radio"&&n!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+mn(""+n)+'"][type="radio"]'),n=0;n<l.length;n++){var s=l[n];if(s!==t&&s.form===t.form){var d=s[qt]||null;if(!d)throw Error(i(90));as(s,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(n=0;n<l.length;n++)s=l[n],s.form===t.form&&pf(s)}break e;case"textarea":Ef(t,l.value,l.defaultValue);break e;case"select":n=l.value,n!=null&&S0(t,!!l.multiple,n,!1)}}}var xs=!1;function Af(t,n,l){if(xs)return t(n,l);xs=!0;try{var s=t(n);return s}finally{if(xs=!1,(N0!==null||T0!==null)&&(Pi(),N0&&(n=N0,t=T0,T0=N0=null,Bf(n),t)))for(n=0;n<t.length;n++)Bf(t[n])}}function va(t,n){var l=t.stateNode;if(l===null)return null;var s=l[qt]||null;if(s===null)return null;l=s[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(t=t.type,s=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!s;break e;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(i(231,n,typeof l));return l}var Kn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),us=!1;if(Kn)try{var Da={};Object.defineProperty(Da,"passive",{get:function(){us=!0}}),window.addEventListener("test",Da,Da),window.removeEventListener("test",Da,Da)}catch{us=!1}var Cr=null,cs=null,Wl=null;function bf(){if(Wl)return Wl;var t,n=cs,l=n.length,s,d="value"in Cr?Cr.value:Cr.textContent,m=d.length;for(t=0;t<l&&n[t]===d[t];t++);var B=l-t;for(s=1;s<=B&&n[l-s]===d[m-s];s++);return Wl=d.slice(t,1<s?1-s:void 0)}function ei(t){var n=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function ti(){return!0}function vf(){return!1}function It(t){function n(l,s,d,m,B){this._reactName=l,this._targetInst=d,this.type=s,this.nativeEvent=m,this.target=B,this.currentTarget=null;for(var D in t)t.hasOwnProperty(D)&&(l=t[D],this[D]=l?l(m):m[D]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?ti:vf,this.isPropagationStopped=vf,this}return p(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ti)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ti)},persist:function(){},isPersistent:ti}),n}var Zr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ni=It(Zr),ka=p({},Zr,{view:0,detail:0}),Zm=It(ka),fs,ds,Fa,ri=p({},ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ps,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Fa&&(Fa&&t.type==="mousemove"?(fs=t.screenX-Fa.screenX,ds=t.screenY-Fa.screenY):ds=fs=0,Fa=t),fs)},movementY:function(t){return"movementY"in t?t.movementY:ds}}),Df=It(ri),Jm=p({},ri,{dataTransfer:0}),Wm=It(Jm),e5=p({},ka,{relatedTarget:0}),hs=It(e5),t5=p({},Zr,{animationName:0,elapsedTime:0,pseudoElement:0}),n5=It(t5),r5=p({},Zr,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),a5=It(r5),l5=p({},Zr,{data:0}),kf=It(l5),i5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},o5={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"},s5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function x5(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=s5[t])?!!n[t]:!1}function ps(){return x5}var u5=p({},ka,{key:function(t){if(t.key){var n=i5[t.key]||t.key;if(n!=="Unidentified")return n}return t.type==="keypress"?(t=ei(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?o5[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ps,charCode:function(t){return t.type==="keypress"?ei(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ei(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),c5=It(u5),f5=p({},ri,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ff=It(f5),d5=p({},ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ps}),h5=It(d5),p5=p({},Zr,{propertyName:0,elapsedTime:0,pseudoElement:0}),m5=It(p5),E5=p({},ri,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),g5=It(E5),C5=p({},Zr,{newState:0,oldState:0}),y5=It(C5),B5=[9,13,27,32],ms=Kn&&"CompositionEvent"in window,wa=null;Kn&&"documentMode"in document&&(wa=document.documentMode);var A5=Kn&&"TextEvent"in window&&!wa,wf=Kn&&(!ms||wa&&8<wa&&11>=wa),Sf=" ",Mf=!1;function Nf(t,n){switch(t){case"keyup":return B5.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var _0=!1;function b5(t,n){switch(t){case"compositionend":return Tf(n);case"keypress":return n.which!==32?null:(Mf=!0,Sf);case"textInput":return t=n.data,t===Sf&&Mf?null:t;default:return null}}function v5(t,n){if(_0)return t==="compositionend"||!ms&&Nf(t,n)?(t=bf(),Wl=cs=Cr=null,_0=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return wf&&n.locale!=="ko"?null:n.data;default:return null}}var D5={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 _f(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!D5[t.type]:n==="textarea"}function jf(t,n,l,s){N0?T0?T0.push(s):T0=[s]:N0=s,n=Gi(n,"onChange"),0<n.length&&(l=new ni("onChange","change",null,l,s),t.push({event:l,listeners:n}))}var Sa=null,Ma=null;function k5(t){m9(t,0)}function ai(t){var n=ba(t);if(pf(n))return t}function zf(t,n){if(t==="change")return n}var Rf=!1;if(Kn){var Es;if(Kn){var gs="oninput"in document;if(!gs){var Of=document.createElement("div");Of.setAttribute("oninput","return;"),gs=typeof Of.oninput=="function"}Es=gs}else Es=!1;Rf=Es&&(!document.documentMode||9<document.documentMode)}function Lf(){Sa&&(Sa.detachEvent("onpropertychange",Pf),Ma=Sa=null)}function Pf(t){if(t.propertyName==="value"&&ai(Ma)){var n=[];jf(n,Ma,t,ss(t)),Af(k5,n)}}function F5(t,n,l){t==="focusin"?(Lf(),Sa=n,Ma=l,Sa.attachEvent("onpropertychange",Pf)):t==="focusout"&&Lf()}function w5(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ai(Ma)}function S5(t,n){if(t==="click")return ai(n)}function M5(t,n){if(t==="input"||t==="change")return ai(n)}function N5(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var tn=typeof Object.is=="function"?Object.is:N5;function Na(t,n){if(tn(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var l=Object.keys(t),s=Object.keys(n);if(l.length!==s.length)return!1;for(s=0;s<l.length;s++){var d=l[s];if(!vt.call(n,d)||!tn(t[d],n[d]))return!1}return!0}function Uf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Hf(t,n){var l=Uf(t);t=0;for(var s;l;){if(l.nodeType===3){if(s=t+l.textContent.length,t<=n&&s>=n)return{node:l,offset:n-t};t=s}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Uf(l)}}function qf(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?qf(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function If(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=Zl(t.document);n instanceof t.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)t=n.contentWindow;else break;n=Zl(t.document)}return n}function Cs(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var T5=Kn&&"documentMode"in document&&11>=document.documentMode,j0=null,ys=null,Ta=null,Bs=!1;function $f(t,n,l){var s=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Bs||j0==null||j0!==Zl(s)||(s=j0,"selectionStart"in s&&Cs(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Ta&&Na(Ta,s)||(Ta=s,s=Gi(ys,"onSelect"),0<s.length&&(n=new ni("onSelect","select",null,n,l),t.push({event:n,listeners:s}),n.target=j0)))}function Jr(t,n){var l={};return l[t.toLowerCase()]=n.toLowerCase(),l["Webkit"+t]="webkit"+n,l["Moz"+t]="moz"+n,l}var z0={animationend:Jr("Animation","AnimationEnd"),animationiteration:Jr("Animation","AnimationIteration"),animationstart:Jr("Animation","AnimationStart"),transitionrun:Jr("Transition","TransitionRun"),transitionstart:Jr("Transition","TransitionStart"),transitioncancel:Jr("Transition","TransitionCancel"),transitionend:Jr("Transition","TransitionEnd")},As={},Vf={};Kn&&(Vf=document.createElement("div").style,"AnimationEvent"in window||(delete z0.animationend.animation,delete z0.animationiteration.animation,delete z0.animationstart.animation),"TransitionEvent"in window||delete z0.transitionend.transition);function Wr(t){if(As[t])return As[t];if(!z0[t])return t;var n=z0[t],l;for(l in n)if(n.hasOwnProperty(l)&&l in Vf)return As[t]=n[l];return t}var Gf=Wr("animationend"),Qf=Wr("animationiteration"),Yf=Wr("animationstart"),_5=Wr("transitionrun"),j5=Wr("transitionstart"),z5=Wr("transitioncancel"),Xf=Wr("transitionend"),Kf=new Map,bs="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(" ");bs.push("scrollEnd");function Mn(t,n){Kf.set(t,n),Kr(n,[t])}var li=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},En=[],R0=0,vs=0;function ii(){for(var t=R0,n=vs=R0=0;n<t;){var l=En[n];En[n++]=null;var s=En[n];En[n++]=null;var d=En[n];En[n++]=null;var m=En[n];if(En[n++]=null,s!==null&&d!==null){var B=s.pending;B===null?d.next=d:(d.next=B.next,B.next=d),s.pending=d}m!==0&&Zf(l,d,m)}}function oi(t,n,l,s){En[R0++]=t,En[R0++]=n,En[R0++]=l,En[R0++]=s,vs|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function Ds(t,n,l,s){return oi(t,n,l,s),si(t)}function e0(t,n){return oi(t,null,null,n),si(t)}function Zf(t,n,l){t.lanes|=l;var s=t.alternate;s!==null&&(s.lanes|=l);for(var d=!1,m=t.return;m!==null;)m.childLanes|=l,s=m.alternate,s!==null&&(s.childLanes|=l),m.tag===22&&(t=m.stateNode,t===null||t._visibility&1||(d=!0)),t=m,m=m.return;return t.tag===3?(m=t.stateNode,d&&n!==null&&(d=31-et(l),t=m.hiddenUpdates,s=t[d],s===null?t[d]=[n]:s.push(n),n.lane=l|536870912),m):null}function si(t){if(50<el)throw el=0,jx=null,Error(i(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var O0={};function R5(t,n,l,s){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(t,n,l,s){return new R5(t,n,l,s)}function ks(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Zn(t,n){var l=t.alternate;return l===null?(l=nn(t.tag,n,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=n,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,n=t.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Jf(t,n){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=n,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,n=l.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t}function xi(t,n,l,s,d,m){var B=0;if(s=t,typeof t=="function")ks(t)&&(B=1);else if(typeof t=="string")B=HE(t,l,ae.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case $:return t=nn(31,l,n,d),t.elementType=$,t.lanes=m,t;case b:return t0(l.children,d,m,n);case v:B=8,d|=24;break;case k:return t=nn(12,l,n,d|2),t.elementType=k,t.lanes=m,t;case O:return t=nn(13,l,n,d),t.elementType=O,t.lanes=m,t;case F:return t=nn(19,l,n,d),t.elementType=F,t.lanes=m,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case w:B=10;break e;case L:B=9;break e;case j:B=11;break e;case _:B=14;break e;case z:B=16,s=null;break e}B=29,l=Error(i(130,t===null?"null":typeof t,"")),s=null}return n=nn(B,l,n,d),n.elementType=t,n.type=s,n.lanes=m,n}function t0(t,n,l,s){return t=nn(7,t,s,n),t.lanes=l,t}function Fs(t,n,l){return t=nn(6,t,null,n),t.lanes=l,t}function Wf(t){var n=nn(18,null,null,0);return n.stateNode=t,n}function ws(t,n,l){return n=nn(4,t.children!==null?t.children:[],t.key,n),n.lanes=l,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var ed=new WeakMap;function gn(t,n){if(typeof t=="object"&&t!==null){var l=ed.get(t);return l!==void 0?l:(n={value:t,source:n,stack:Rn(n)},ed.set(t,n),n)}return{value:t,source:n,stack:Rn(n)}}var L0=[],P0=0,ui=null,_a=0,Cn=[],yn=0,yr=null,On=1,Ln="";function Jn(t,n){L0[P0++]=_a,L0[P0++]=ui,ui=t,_a=n}function td(t,n,l){Cn[yn++]=On,Cn[yn++]=Ln,Cn[yn++]=yr,yr=t;var s=On;t=Ln;var d=32-et(s)-1;s&=~(1<<d),l+=1;var m=32-et(n)+d;if(30<m){var B=d-d%5;m=(s&(1<<B)-1).toString(32),s>>=B,d-=B,On=1<<32-et(n)+d|l<<d|s,Ln=m+t}else On=1<<m|l<<d|s,Ln=t}function Ss(t){t.return!==null&&(Jn(t,1),td(t,1,0))}function Ms(t){for(;t===ui;)ui=L0[--P0],L0[P0]=null,_a=L0[--P0],L0[P0]=null;for(;t===yr;)yr=Cn[--yn],Cn[yn]=null,Ln=Cn[--yn],Cn[yn]=null,On=Cn[--yn],Cn[yn]=null}function nd(t,n){Cn[yn++]=On,Cn[yn++]=Ln,Cn[yn++]=yr,On=n.id,Ln=n.overflow,yr=t}var kt=null,at=null,Ue=!1,Br=null,Bn=!1,Ns=Error(i(519));function Ar(t){var n=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ja(gn(n,t)),Ns}function rd(t){var n=t.stateNode,l=t.type,s=t.memoizedProps;switch(n[Dt]=t,n[qt]=s,l){case"dialog":ze("cancel",n),ze("close",n);break;case"iframe":case"object":case"embed":ze("load",n);break;case"video":case"audio":for(l=0;l<nl.length;l++)ze(nl[l],n);break;case"source":ze("error",n);break;case"img":case"image":case"link":ze("error",n),ze("load",n);break;case"details":ze("toggle",n);break;case"input":ze("invalid",n),mf(n,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":ze("invalid",n);break;case"textarea":ze("invalid",n),gf(n,s.value,s.defaultValue,s.children)}l=s.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||n.textContent===""+l||s.suppressHydrationWarning===!0||y9(n.textContent,l)?(s.popover!=null&&(ze("beforetoggle",n),ze("toggle",n)),s.onScroll!=null&&ze("scroll",n),s.onScrollEnd!=null&&ze("scrollend",n),s.onClick!=null&&(n.onclick=Xn),n=!0):n=!1,n||Ar(t,!0)}function ad(t){for(kt=t.return;kt;)switch(kt.tag){case 5:case 31:case 13:Bn=!1;return;case 27:case 3:Bn=!0;return;default:kt=kt.return}}function U0(t){if(t!==kt)return!1;if(!Ue)return ad(t),Ue=!0,!1;var n=t.tag,l;if((l=n!==3&&n!==27)&&((l=n===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Xx(t.type,t.memoizedProps)),l=!l),l&&at&&Ar(t),ad(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));at=S9(t)}else if(n===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));at=S9(t)}else n===27?(n=at,Rr(t.type)?(t=eu,eu=null,at=t):at=n):at=kt?bn(t.stateNode.nextSibling):null;return!0}function n0(){at=kt=null,Ue=!1}function Ts(){var t=Br;return t!==null&&(Qt===null?Qt=t:Qt.push.apply(Qt,t),Br=null),t}function ja(t){Br===null?Br=[t]:Br.push(t)}var _s=R(null),r0=null,Wn=null;function br(t,n,l){T(_s,n._currentValue),n._currentValue=l}function er(t){t._currentValue=_s.current,W(_s)}function js(t,n,l){for(;t!==null;){var s=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,s!==null&&(s.childLanes|=n)):s!==null&&(s.childLanes&n)!==n&&(s.childLanes|=n),t===l)break;t=t.return}}function zs(t,n,l,s){var d=t.child;for(d!==null&&(d.return=t);d!==null;){var m=d.dependencies;if(m!==null){var B=d.child;m=m.firstContext;e:for(;m!==null;){var D=m;m=d;for(var P=0;P<n.length;P++)if(D.context===n[P]){m.lanes|=l,D=m.alternate,D!==null&&(D.lanes|=l),js(m.return,l,t),s||(B=null);break e}m=D.next}}else if(d.tag===18){if(B=d.return,B===null)throw Error(i(341));B.lanes|=l,m=B.alternate,m!==null&&(m.lanes|=l),js(B,l,t),B=null}else B=d.child;if(B!==null)B.return=d;else for(B=d;B!==null;){if(B===t){B=null;break}if(d=B.sibling,d!==null){d.return=B.return,B=d;break}B=B.return}d=B}}function H0(t,n,l,s){t=null;for(var d=n,m=!1;d!==null;){if(!m){if((d.flags&524288)!==0)m=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var B=d.alternate;if(B===null)throw Error(i(387));if(B=B.memoizedProps,B!==null){var D=d.type;tn(d.pendingProps.value,B.value)||(t!==null?t.push(D):t=[D])}}else if(d===H.current){if(B=d.alternate,B===null)throw Error(i(387));B.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(t!==null?t.push(ol):t=[ol])}d=d.return}t!==null&&zs(n,t,l,s),n.flags|=262144}function ci(t){for(t=t.firstContext;t!==null;){if(!tn(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function a0(t){r0=t,Wn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Ft(t){return ld(r0,t)}function fi(t,n){return r0===null&&a0(t),ld(t,n)}function ld(t,n){var l=n._currentValue;if(n={context:n,memoizedValue:l,next:null},Wn===null){if(t===null)throw Error(i(308));Wn=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else Wn=Wn.next=n;return l}var O5=typeof AbortController<"u"?AbortController:function(){var t=[],n=this.signal={aborted:!1,addEventListener:function(l,s){t.push(s)}};this.abort=function(){n.aborted=!0,t.forEach(function(l){return l()})}},L5=e.unstable_scheduleCallback,P5=e.unstable_NormalPriority,dt={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Rs(){return{controller:new O5,data:new Map,refCount:0}}function za(t){t.refCount--,t.refCount===0&&L5(P5,function(){t.controller.abort()})}var Ra=null,Os=0,q0=0,I0=null;function U5(t,n){if(Ra===null){var l=Ra=[];Os=0,q0=Ux(),I0={status:"pending",value:void 0,then:function(s){l.push(s)}}}return Os++,n.then(id,id),n}function id(){if(--Os===0&&Ra!==null){I0!==null&&(I0.status="fulfilled");var t=Ra;Ra=null,q0=0,I0=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function H5(t,n){var l=[],s={status:"pending",value:null,reason:null,then:function(d){l.push(d)}};return t.then(function(){s.status="fulfilled",s.value=n;for(var d=0;d<l.length;d++)(0,l[d])(n)},function(d){for(s.status="rejected",s.reason=d,d=0;d<l.length;d++)(0,l[d])(void 0)}),s}var od=U.S;U.S=function(t,n){$1=zt(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&U5(t,n),od!==null&&od(t,n)};var l0=R(null);function Ls(){var t=l0.current;return t!==null?t:tt.pooledCache}function di(t,n){n===null?T(l0,l0.current):T(l0,n.pool)}function sd(){var t=Ls();return t===null?null:{parent:dt._currentValue,pool:t}}var $0=Error(i(460)),Ps=Error(i(474)),hi=Error(i(542)),pi={then:function(){}};function xd(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ud(t,n,l){switch(l=t[l],l===void 0?t.push(n):l!==n&&(n.then(Xn,Xn),n=l),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,fd(t),t;default:if(typeof n.status=="string")n.then(Xn,Xn);else{if(t=tt,t!==null&&100<t.shellSuspendCounter)throw Error(i(482));t=n,t.status="pending",t.then(function(s){if(n.status==="pending"){var d=n;d.status="fulfilled",d.value=s}},function(s){if(n.status==="pending"){var d=n;d.status="rejected",d.reason=s}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,fd(t),t}throw o0=n,$0}}function i0(t){try{var n=t._init;return n(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(o0=l,$0):l}}var o0=null;function cd(){if(o0===null)throw Error(i(459));var t=o0;return o0=null,t}function fd(t){if(t===$0||t===hi)throw Error(i(483))}var V0=null,Oa=0;function mi(t){var n=Oa;return Oa+=1,V0===null&&(V0=[]),ud(V0,t,n)}function La(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function Ei(t,n){throw n.$$typeof===y?Error(i(525)):(t=Object.prototype.toString.call(n),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function dd(t){function n(Q,q){if(t){var X=Q.deletions;X===null?(Q.deletions=[q],Q.flags|=16):X.push(q)}}function l(Q,q){if(!t)return null;for(;q!==null;)n(Q,q),q=q.sibling;return null}function s(Q){for(var q=new Map;Q!==null;)Q.key!==null?q.set(Q.key,Q):q.set(Q.index,Q),Q=Q.sibling;return q}function d(Q,q){return Q=Zn(Q,q),Q.index=0,Q.sibling=null,Q}function m(Q,q,X){return Q.index=X,t?(X=Q.alternate,X!==null?(X=X.index,X<q?(Q.flags|=67108866,q):X):(Q.flags|=67108866,q)):(Q.flags|=1048576,q)}function B(Q){return t&&Q.alternate===null&&(Q.flags|=67108866),Q}function D(Q,q,X,ie){return q===null||q.tag!==6?(q=Fs(X,Q.mode,ie),q.return=Q,q):(q=d(q,X),q.return=Q,q)}function P(Q,q,X,ie){var ye=X.type;return ye===b?ne(Q,q,X.props.children,ie,X.key):q!==null&&(q.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===z&&i0(ye)===q.type)?(q=d(q,X.props),La(q,X),q.return=Q,q):(q=xi(X.type,X.key,X.props,null,Q.mode,ie),La(q,X),q.return=Q,q)}function Z(Q,q,X,ie){return q===null||q.tag!==4||q.stateNode.containerInfo!==X.containerInfo||q.stateNode.implementation!==X.implementation?(q=ws(X,Q.mode,ie),q.return=Q,q):(q=d(q,X.children||[]),q.return=Q,q)}function ne(Q,q,X,ie,ye){return q===null||q.tag!==7?(q=t0(X,Q.mode,ie,ye),q.return=Q,q):(q=d(q,X),q.return=Q,q)}function oe(Q,q,X){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return q=Fs(""+q,Q.mode,X),q.return=Q,q;if(typeof q=="object"&&q!==null){switch(q.$$typeof){case C:return X=xi(q.type,q.key,q.props,null,Q.mode,X),La(X,q),X.return=Q,X;case A:return q=ws(q,Q.mode,X),q.return=Q,q;case z:return q=i0(q),oe(Q,q,X)}if(I(q)||K(q))return q=t0(q,Q.mode,X,null),q.return=Q,q;if(typeof q.then=="function")return oe(Q,mi(q),X);if(q.$$typeof===w)return oe(Q,fi(Q,q),X);Ei(Q,q)}return null}function J(Q,q,X,ie){var ye=q!==null?q.key:null;if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return ye!==null?null:D(Q,q,""+X,ie);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case C:return X.key===ye?P(Q,q,X,ie):null;case A:return X.key===ye?Z(Q,q,X,ie):null;case z:return X=i0(X),J(Q,q,X,ie)}if(I(X)||K(X))return ye!==null?null:ne(Q,q,X,ie,null);if(typeof X.then=="function")return J(Q,q,mi(X),ie);if(X.$$typeof===w)return J(Q,q,fi(Q,X),ie);Ei(Q,X)}return null}function ee(Q,q,X,ie,ye){if(typeof ie=="string"&&ie!==""||typeof ie=="number"||typeof ie=="bigint")return Q=Q.get(X)||null,D(q,Q,""+ie,ye);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case C:return Q=Q.get(ie.key===null?X:ie.key)||null,P(q,Q,ie,ye);case A:return Q=Q.get(ie.key===null?X:ie.key)||null,Z(q,Q,ie,ye);case z:return ie=i0(ie),ee(Q,q,X,ie,ye)}if(I(ie)||K(ie))return Q=Q.get(X)||null,ne(q,Q,ie,ye,null);if(typeof ie.then=="function")return ee(Q,q,X,mi(ie),ye);if(ie.$$typeof===w)return ee(Q,q,X,fi(q,ie),ye);Ei(q,ie)}return null}function Ee(Q,q,X,ie){for(var ye=null,qe=null,ge=q,Me=q=0,Pe=null;ge!==null&&Me<X.length;Me++){ge.index>Me?(Pe=ge,ge=null):Pe=ge.sibling;var Ie=J(Q,ge,X[Me],ie);if(Ie===null){ge===null&&(ge=Pe);break}t&&ge&&Ie.alternate===null&&n(Q,ge),q=m(Ie,q,Me),qe===null?ye=Ie:qe.sibling=Ie,qe=Ie,ge=Pe}if(Me===X.length)return l(Q,ge),Ue&&Jn(Q,Me),ye;if(ge===null){for(;Me<X.length;Me++)ge=oe(Q,X[Me],ie),ge!==null&&(q=m(ge,q,Me),qe===null?ye=ge:qe.sibling=ge,qe=ge);return Ue&&Jn(Q,Me),ye}for(ge=s(ge);Me<X.length;Me++)Pe=ee(ge,Q,Me,X[Me],ie),Pe!==null&&(t&&Pe.alternate!==null&&ge.delete(Pe.key===null?Me:Pe.key),q=m(Pe,q,Me),qe===null?ye=Pe:qe.sibling=Pe,qe=Pe);return t&&ge.forEach(function(Hr){return n(Q,Hr)}),Ue&&Jn(Q,Me),ye}function be(Q,q,X,ie){if(X==null)throw Error(i(151));for(var ye=null,qe=null,ge=q,Me=q=0,Pe=null,Ie=X.next();ge!==null&&!Ie.done;Me++,Ie=X.next()){ge.index>Me?(Pe=ge,ge=null):Pe=ge.sibling;var Hr=J(Q,ge,Ie.value,ie);if(Hr===null){ge===null&&(ge=Pe);break}t&&ge&&Hr.alternate===null&&n(Q,ge),q=m(Hr,q,Me),qe===null?ye=Hr:qe.sibling=Hr,qe=Hr,ge=Pe}if(Ie.done)return l(Q,ge),Ue&&Jn(Q,Me),ye;if(ge===null){for(;!Ie.done;Me++,Ie=X.next())Ie=oe(Q,Ie.value,ie),Ie!==null&&(q=m(Ie,q,Me),qe===null?ye=Ie:qe.sibling=Ie,qe=Ie);return Ue&&Jn(Q,Me),ye}for(ge=s(ge);!Ie.done;Me++,Ie=X.next())Ie=ee(ge,Q,Me,Ie.value,ie),Ie!==null&&(t&&Ie.alternate!==null&&ge.delete(Ie.key===null?Me:Ie.key),q=m(Ie,q,Me),qe===null?ye=Ie:qe.sibling=Ie,qe=Ie);return t&&ge.forEach(function(JE){return n(Q,JE)}),Ue&&Jn(Q,Me),ye}function We(Q,q,X,ie){if(typeof X=="object"&&X!==null&&X.type===b&&X.key===null&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case C:e:{for(var ye=X.key;q!==null;){if(q.key===ye){if(ye=X.type,ye===b){if(q.tag===7){l(Q,q.sibling),ie=d(q,X.props.children),ie.return=Q,Q=ie;break e}}else if(q.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===z&&i0(ye)===q.type){l(Q,q.sibling),ie=d(q,X.props),La(ie,X),ie.return=Q,Q=ie;break e}l(Q,q);break}else n(Q,q);q=q.sibling}X.type===b?(ie=t0(X.props.children,Q.mode,ie,X.key),ie.return=Q,Q=ie):(ie=xi(X.type,X.key,X.props,null,Q.mode,ie),La(ie,X),ie.return=Q,Q=ie)}return B(Q);case A:e:{for(ye=X.key;q!==null;){if(q.key===ye)if(q.tag===4&&q.stateNode.containerInfo===X.containerInfo&&q.stateNode.implementation===X.implementation){l(Q,q.sibling),ie=d(q,X.children||[]),ie.return=Q,Q=ie;break e}else{l(Q,q);break}else n(Q,q);q=q.sibling}ie=ws(X,Q.mode,ie),ie.return=Q,Q=ie}return B(Q);case z:return X=i0(X),We(Q,q,X,ie)}if(I(X))return Ee(Q,q,X,ie);if(K(X)){if(ye=K(X),typeof ye!="function")throw Error(i(150));return X=ye.call(X),be(Q,q,X,ie)}if(typeof X.then=="function")return We(Q,q,mi(X),ie);if(X.$$typeof===w)return We(Q,q,fi(Q,X),ie);Ei(Q,X)}return typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint"?(X=""+X,q!==null&&q.tag===6?(l(Q,q.sibling),ie=d(q,X),ie.return=Q,Q=ie):(l(Q,q),ie=Fs(X,Q.mode,ie),ie.return=Q,Q=ie),B(Q)):l(Q,q)}return function(Q,q,X,ie){try{Oa=0;var ye=We(Q,q,X,ie);return V0=null,ye}catch(ge){if(ge===$0||ge===hi)throw ge;var qe=nn(29,ge,null,Q.mode);return qe.lanes=ie,qe.return=Q,qe}}}var s0=dd(!0),hd=dd(!1),vr=!1;function Us(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Hs(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Dr(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function kr(t,n,l){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,($e&2)!==0){var d=s.pending;return d===null?n.next=n:(n.next=d.next,d.next=n),s.pending=n,n=si(t),Zf(t,null,l),n}return oi(t,s,n,l),si(t)}function Pa(t,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194048)!==0)){var s=n.lanes;s&=t.pendingLanes,l|=s,n.lanes=l,af(t,l)}}function qs(t,n){var l=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,l===s)){var d=null,m=null;if(l=l.firstBaseUpdate,l!==null){do{var B={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};m===null?d=m=B:m=m.next=B,l=l.next}while(l!==null);m===null?d=m=n:m=m.next=n}else d=m=n;l={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:s.shared,callbacks:s.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=n:t.next=n,l.lastBaseUpdate=n}var Is=!1;function Ua(){if(Is){var t=I0;if(t!==null)throw t}}function Ha(t,n,l,s){Is=!1;var d=t.updateQueue;vr=!1;var m=d.firstBaseUpdate,B=d.lastBaseUpdate,D=d.shared.pending;if(D!==null){d.shared.pending=null;var P=D,Z=P.next;P.next=null,B===null?m=Z:B.next=Z,B=P;var ne=t.alternate;ne!==null&&(ne=ne.updateQueue,D=ne.lastBaseUpdate,D!==B&&(D===null?ne.firstBaseUpdate=Z:D.next=Z,ne.lastBaseUpdate=P))}if(m!==null){var oe=d.baseState;B=0,ne=Z=P=null,D=m;do{var J=D.lane&-536870913,ee=J!==D.lane;if(ee?(Le&J)===J:(s&J)===J){J!==0&&J===q0&&(Is=!0),ne!==null&&(ne=ne.next={lane:0,tag:D.tag,payload:D.payload,callback:null,next:null});e:{var Ee=t,be=D;J=n;var We=l;switch(be.tag){case 1:if(Ee=be.payload,typeof Ee=="function"){oe=Ee.call(We,oe,J);break e}oe=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=be.payload,J=typeof Ee=="function"?Ee.call(We,oe,J):Ee,J==null)break e;oe=p({},oe,J);break e;case 2:vr=!0}}J=D.callback,J!==null&&(t.flags|=64,ee&&(t.flags|=8192),ee=d.callbacks,ee===null?d.callbacks=[J]:ee.push(J))}else ee={lane:J,tag:D.tag,payload:D.payload,callback:D.callback,next:null},ne===null?(Z=ne=ee,P=oe):ne=ne.next=ee,B|=J;if(D=D.next,D===null){if(D=d.shared.pending,D===null)break;ee=D,D=ee.next,ee.next=null,d.lastBaseUpdate=ee,d.shared.pending=null}}while(!0);ne===null&&(P=oe),d.baseState=P,d.firstBaseUpdate=Z,d.lastBaseUpdate=ne,m===null&&(d.shared.lanes=0),Nr|=B,t.lanes=B,t.memoizedState=oe}}function pd(t,n){if(typeof t!="function")throw Error(i(191,t));t.call(n)}function md(t,n){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)pd(l[t],n)}var G0=R(null),gi=R(0);function Ed(t,n){t=xr,T(gi,t),T(G0,n),xr=t|n.baseLanes}function $s(){T(gi,xr),T(G0,G0.current)}function Vs(){xr=gi.current,W(G0),W(gi)}var rn=R(null),An=null;function Fr(t){var n=t.alternate;T(ut,ut.current&1),T(rn,t),An===null&&(n===null||G0.current!==null||n.memoizedState!==null)&&(An=t)}function Gs(t){T(ut,ut.current),T(rn,t),An===null&&(An=t)}function gd(t){t.tag===22?(T(ut,ut.current),T(rn,t),An===null&&(An=t)):wr()}function wr(){T(ut,ut.current),T(rn,rn.current)}function an(t){W(rn),An===t&&(An=null),W(ut)}var ut=R(0);function Ci(t){for(var n=t;n!==null;){if(n.tag===13){var l=n.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Jx(l)||Wx(l)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var tr=0,Se=null,Ze=null,ht=null,yi=!1,Q0=!1,x0=!1,Bi=0,qa=0,Y0=null,q5=0;function st(){throw Error(i(321))}function Qs(t,n){if(n===null)return!1;for(var l=0;l<n.length&&l<t.length;l++)if(!tn(t[l],n[l]))return!1;return!0}function Ys(t,n,l,s,d,m){return tr=m,Se=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,U.H=t===null||t.memoizedState===null?t1:xx,x0=!1,m=l(s,d),x0=!1,Q0&&(m=yd(n,l,s,d)),Cd(t),m}function Cd(t){U.H=Va;var n=Ze!==null&&Ze.next!==null;if(tr=0,ht=Ze=Se=null,yi=!1,qa=0,Y0=null,n)throw Error(i(300));t===null||pt||(t=t.dependencies,t!==null&&ci(t)&&(pt=!0))}function yd(t,n,l,s){Se=t;var d=0;do{if(Q0&&(Y0=null),qa=0,Q0=!1,25<=d)throw Error(i(301));if(d+=1,ht=Ze=null,t.updateQueue!=null){var m=t.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}U.H=n1,m=n(l,s)}while(Q0);return m}function I5(){var t=U.H,n=t.useState()[0];return n=typeof n.then=="function"?Ia(n):n,t=t.useState()[0],(Ze!==null?Ze.memoizedState:null)!==t&&(Se.flags|=1024),n}function Xs(){var t=Bi!==0;return Bi=0,t}function Ks(t,n,l){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~l}function Zs(t){if(yi){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}yi=!1}tr=0,ht=Ze=Se=null,Q0=!1,qa=Bi=0,Y0=null}function Ot(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ht===null?Se.memoizedState=ht=t:ht=ht.next=t,ht}function ct(){if(Ze===null){var t=Se.alternate;t=t!==null?t.memoizedState:null}else t=Ze.next;var n=ht===null?Se.memoizedState:ht.next;if(n!==null)ht=n,Ze=t;else{if(t===null)throw Se.alternate===null?Error(i(467)):Error(i(310));Ze=t,t={memoizedState:Ze.memoizedState,baseState:Ze.baseState,baseQueue:Ze.baseQueue,queue:Ze.queue,next:null},ht===null?Se.memoizedState=ht=t:ht=ht.next=t}return ht}function Ai(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ia(t){var n=qa;return qa+=1,Y0===null&&(Y0=[]),t=ud(Y0,t,n),n=Se,(ht===null?n.memoizedState:ht.next)===null&&(n=n.alternate,U.H=n===null||n.memoizedState===null?t1:xx),t}function bi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ia(t);if(t.$$typeof===w)return Ft(t)}throw Error(i(438,String(t)))}function Js(t){var n=null,l=Se.updateQueue;if(l!==null&&(n=l.memoCache),n==null){var s=Se.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(n={data:s.data.map(function(d){return d.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),l===null&&(l=Ai(),Se.updateQueue=l),l.memoCache=n,l=n.data[n.index],l===void 0)for(l=n.data[n.index]=Array(t),s=0;s<t;s++)l[s]=N;return n.index++,l}function nr(t,n){return typeof n=="function"?n(t):n}function vi(t){var n=ct();return Ws(n,Ze,t)}function Ws(t,n,l){var s=t.queue;if(s===null)throw Error(i(311));s.lastRenderedReducer=l;var d=t.baseQueue,m=s.pending;if(m!==null){if(d!==null){var B=d.next;d.next=m.next,m.next=B}n.baseQueue=d=m,s.pending=null}if(m=t.baseState,d===null)t.memoizedState=m;else{n=d.next;var D=B=null,P=null,Z=n,ne=!1;do{var oe=Z.lane&-536870913;if(oe!==Z.lane?(Le&oe)===oe:(tr&oe)===oe){var J=Z.revertLane;if(J===0)P!==null&&(P=P.next={lane:0,revertLane:0,gesture:null,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null}),oe===q0&&(ne=!0);else if((tr&J)===J){Z=Z.next,J===q0&&(ne=!0);continue}else oe={lane:0,revertLane:Z.revertLane,gesture:null,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},P===null?(D=P=oe,B=m):P=P.next=oe,Se.lanes|=J,Nr|=J;oe=Z.action,x0&&l(m,oe),m=Z.hasEagerState?Z.eagerState:l(m,oe)}else J={lane:oe,revertLane:Z.revertLane,gesture:Z.gesture,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},P===null?(D=P=J,B=m):P=P.next=J,Se.lanes|=oe,Nr|=oe;Z=Z.next}while(Z!==null&&Z!==n);if(P===null?B=m:P.next=D,!tn(m,t.memoizedState)&&(pt=!0,ne&&(l=I0,l!==null)))throw l;t.memoizedState=m,t.baseState=B,t.baseQueue=P,s.lastRenderedState=m}return d===null&&(s.lanes=0),[t.memoizedState,s.dispatch]}function ex(t){var n=ct(),l=n.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=t;var s=l.dispatch,d=l.pending,m=n.memoizedState;if(d!==null){l.pending=null;var B=d=d.next;do m=t(m,B.action),B=B.next;while(B!==d);tn(m,n.memoizedState)||(pt=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),l.lastRenderedState=m}return[m,s]}function Bd(t,n,l){var s=Se,d=ct(),m=Ue;if(m){if(l===void 0)throw Error(i(407));l=l()}else l=n();var B=!tn((Ze||d).memoizedState,l);if(B&&(d.memoizedState=l,pt=!0),d=d.queue,rx(vd.bind(null,s,d,t),[t]),d.getSnapshot!==n||B||ht!==null&&ht.memoizedState.tag&1){if(s.flags|=2048,X0(9,{destroy:void 0},bd.bind(null,s,d,l,n),null),tt===null)throw Error(i(349));m||(tr&127)!==0||Ad(s,n,l)}return l}function Ad(t,n,l){t.flags|=16384,t={getSnapshot:n,value:l},n=Se.updateQueue,n===null?(n=Ai(),Se.updateQueue=n,n.stores=[t]):(l=n.stores,l===null?n.stores=[t]:l.push(t))}function bd(t,n,l,s){n.value=l,n.getSnapshot=s,Dd(n)&&kd(t)}function vd(t,n,l){return l(function(){Dd(n)&&kd(t)})}function Dd(t){var n=t.getSnapshot;t=t.value;try{var l=n();return!tn(t,l)}catch{return!0}}function kd(t){var n=e0(t,2);n!==null&&Yt(n,t,2)}function tx(t){var n=Ot();if(typeof t=="function"){var l=t;if(t=l(),x0){Ht(!0);try{l()}finally{Ht(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nr,lastRenderedState:t},n}function Fd(t,n,l,s){return t.baseState=l,Ws(t,Ze,typeof s=="function"?s:nr)}function $5(t,n,l,s,d){if(Fi(t))throw Error(i(485));if(t=n.action,t!==null){var m={payload:d,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(B){m.listeners.push(B)}};U.T!==null?l(!0):m.isTransition=!1,s(m),l=n.pending,l===null?(m.next=n.pending=m,wd(n,m)):(m.next=l.next,n.pending=l.next=m)}}function wd(t,n){var l=n.action,s=n.payload,d=t.state;if(n.isTransition){var m=U.T,B={};U.T=B;try{var D=l(d,s),P=U.S;P!==null&&P(B,D),Sd(t,n,D)}catch(Z){nx(t,n,Z)}finally{m!==null&&B.types!==null&&(m.types=B.types),U.T=m}}else try{m=l(d,s),Sd(t,n,m)}catch(Z){nx(t,n,Z)}}function Sd(t,n,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(s){Md(t,n,s)},function(s){return nx(t,n,s)}):Md(t,n,l)}function Md(t,n,l){n.status="fulfilled",n.value=l,Nd(n),t.state=l,n=t.pending,n!==null&&(l=n.next,l===n?t.pending=null:(l=l.next,n.next=l,wd(t,l)))}function nx(t,n,l){var s=t.pending;if(t.pending=null,s!==null){s=s.next;do n.status="rejected",n.reason=l,Nd(n),n=n.next;while(n!==s)}t.action=null}function Nd(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function Td(t,n){return n}function _d(t,n){if(Ue){var l=tt.formState;if(l!==null){e:{var s=Se;if(Ue){if(at){t:{for(var d=at,m=Bn;d.nodeType!==8;){if(!m){d=null;break t}if(d=bn(d.nextSibling),d===null){d=null;break t}}m=d.data,d=m==="F!"||m==="F"?d:null}if(d){at=bn(d.nextSibling),s=d.data==="F!";break e}}Ar(s)}s=!1}s&&(n=l[0])}}return l=Ot(),l.memoizedState=l.baseState=n,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Td,lastRenderedState:n},l.queue=s,l=Jd.bind(null,Se,s),s.dispatch=l,s=tx(!1),m=sx.bind(null,Se,!1,s.queue),s=Ot(),d={state:n,dispatch:null,action:t,pending:null},s.queue=d,l=$5.bind(null,Se,d,m,l),d.dispatch=l,s.memoizedState=t,[n,l,!1]}function jd(t){var n=ct();return zd(n,Ze,t)}function zd(t,n,l){if(n=Ws(t,n,Td)[0],t=vi(nr)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var s=Ia(n)}catch(B){throw B===$0?hi:B}else s=n;n=ct();var d=n.queue,m=d.dispatch;return l!==n.memoizedState&&(Se.flags|=2048,X0(9,{destroy:void 0},V5.bind(null,d,l),null)),[s,m,t]}function V5(t,n){t.action=n}function Rd(t){var n=ct(),l=Ze;if(l!==null)return zd(n,l,t);ct(),n=n.memoizedState,l=ct();var s=l.queue.dispatch;return l.memoizedState=t,[n,s,!1]}function X0(t,n,l,s){return t={tag:t,create:l,deps:s,inst:n,next:null},n=Se.updateQueue,n===null&&(n=Ai(),Se.updateQueue=n),l=n.lastEffect,l===null?n.lastEffect=t.next=t:(s=l.next,l.next=t,t.next=s,n.lastEffect=t),t}function Od(){return ct().memoizedState}function Di(t,n,l,s){var d=Ot();Se.flags|=t,d.memoizedState=X0(1|n,{destroy:void 0},l,s===void 0?null:s)}function ki(t,n,l,s){var d=ct();s=s===void 0?null:s;var m=d.memoizedState.inst;Ze!==null&&s!==null&&Qs(s,Ze.memoizedState.deps)?d.memoizedState=X0(n,m,l,s):(Se.flags|=t,d.memoizedState=X0(1|n,m,l,s))}function Ld(t,n){Di(8390656,8,t,n)}function rx(t,n){ki(2048,8,t,n)}function G5(t){Se.flags|=4;var n=Se.updateQueue;if(n===null)n=Ai(),Se.updateQueue=n,n.events=[t];else{var l=n.events;l===null?n.events=[t]:l.push(t)}}function Pd(t){var n=ct().memoizedState;return G5({ref:n,nextImpl:t}),function(){if(($e&2)!==0)throw Error(i(440));return n.impl.apply(void 0,arguments)}}function Ud(t,n){return ki(4,2,t,n)}function Hd(t,n){return ki(4,4,t,n)}function qd(t,n){if(typeof n=="function"){t=t();var l=n(t);return function(){typeof l=="function"?l():n(null)}}if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function Id(t,n,l){l=l!=null?l.concat([t]):null,ki(4,4,qd.bind(null,n,t),l)}function ax(){}function $d(t,n){var l=ct();n=n===void 0?null:n;var s=l.memoizedState;return n!==null&&Qs(n,s[1])?s[0]:(l.memoizedState=[t,n],t)}function Vd(t,n){var l=ct();n=n===void 0?null:n;var s=l.memoizedState;if(n!==null&&Qs(n,s[1]))return s[0];if(s=t(),x0){Ht(!0);try{t()}finally{Ht(!1)}}return l.memoizedState=[s,n],s}function lx(t,n,l){return l===void 0||(tr&1073741824)!==0&&(Le&261930)===0?t.memoizedState=n:(t.memoizedState=l,t=G1(),Se.lanes|=t,Nr|=t,l)}function Gd(t,n,l,s){return tn(l,n)?l:G0.current!==null?(t=lx(t,l,s),tn(t,n)||(pt=!0),t):(tr&42)===0||(tr&1073741824)!==0&&(Le&261930)===0?(pt=!0,t.memoizedState=l):(t=G1(),Se.lanes|=t,Nr|=t,n)}function Qd(t,n,l,s,d){var m=Y.p;Y.p=m!==0&&8>m?m:8;var B=U.T,D={};U.T=D,sx(t,!1,n,l);try{var P=d(),Z=U.S;if(Z!==null&&Z(D,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var ne=H5(P,s);$a(t,n,ne,sn(t))}else $a(t,n,s,sn(t))}catch(oe){$a(t,n,{then:function(){},status:"rejected",reason:oe},sn())}finally{Y.p=m,B!==null&&D.types!==null&&(B.types=D.types),U.T=B}}function Q5(){}function ix(t,n,l,s){if(t.tag!==5)throw Error(i(476));var d=Yd(t).queue;Qd(t,d,n,re,l===null?Q5:function(){return Xd(t),l(s)})}function Yd(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:re,baseState:re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nr,lastRenderedState:re},next:null};var l={};return n.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nr,lastRenderedState:l},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function Xd(t){var n=Yd(t);n.next===null&&(n=t.alternate.memoizedState),$a(t,n.next.queue,{},sn())}function ox(){return Ft(ol)}function Kd(){return ct().memoizedState}function Zd(){return ct().memoizedState}function Y5(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var l=sn();t=Dr(l);var s=kr(n,t,l);s!==null&&(Yt(s,n,l),Pa(s,n,l)),n={cache:Rs()},t.payload=n;return}n=n.return}}function X5(t,n,l){var s=sn();l={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Fi(t)?Wd(n,l):(l=Ds(t,n,l,s),l!==null&&(Yt(l,t,s),e1(l,n,s)))}function Jd(t,n,l){var s=sn();$a(t,n,l,s)}function $a(t,n,l,s){var d={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Fi(t))Wd(n,d);else{var m=t.alternate;if(t.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var B=n.lastRenderedState,D=m(B,l);if(d.hasEagerState=!0,d.eagerState=D,tn(D,B))return oi(t,n,d,0),tt===null&&ii(),!1}catch{}if(l=Ds(t,n,d,s),l!==null)return Yt(l,t,s),e1(l,n,s),!0}return!1}function sx(t,n,l,s){if(s={lane:2,revertLane:Ux(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Fi(t)){if(n)throw Error(i(479))}else n=Ds(t,l,s,2),n!==null&&Yt(n,t,2)}function Fi(t){var n=t.alternate;return t===Se||n!==null&&n===Se}function Wd(t,n){Q0=yi=!0;var l=t.pending;l===null?n.next=n:(n.next=l.next,l.next=n),t.pending=n}function e1(t,n,l){if((l&4194048)!==0){var s=n.lanes;s&=t.pendingLanes,l|=s,n.lanes=l,af(t,l)}}var Va={readContext:Ft,use:bi,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useLayoutEffect:st,useInsertionEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useSyncExternalStore:st,useId:st,useHostTransitionStatus:st,useFormState:st,useActionState:st,useOptimistic:st,useMemoCache:st,useCacheRefresh:st};Va.useEffectEvent=st;var t1={readContext:Ft,use:bi,useCallback:function(t,n){return Ot().memoizedState=[t,n===void 0?null:n],t},useContext:Ft,useEffect:Ld,useImperativeHandle:function(t,n,l){l=l!=null?l.concat([t]):null,Di(4194308,4,qd.bind(null,n,t),l)},useLayoutEffect:function(t,n){return Di(4194308,4,t,n)},useInsertionEffect:function(t,n){Di(4,2,t,n)},useMemo:function(t,n){var l=Ot();n=n===void 0?null:n;var s=t();if(x0){Ht(!0);try{t()}finally{Ht(!1)}}return l.memoizedState=[s,n],s},useReducer:function(t,n,l){var s=Ot();if(l!==void 0){var d=l(n);if(x0){Ht(!0);try{l(n)}finally{Ht(!1)}}}else d=n;return s.memoizedState=s.baseState=d,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:d},s.queue=t,t=t.dispatch=X5.bind(null,Se,t),[s.memoizedState,t]},useRef:function(t){var n=Ot();return t={current:t},n.memoizedState=t},useState:function(t){t=tx(t);var n=t.queue,l=Jd.bind(null,Se,n);return n.dispatch=l,[t.memoizedState,l]},useDebugValue:ax,useDeferredValue:function(t,n){var l=Ot();return lx(l,t,n)},useTransition:function(){var t=tx(!1);return t=Qd.bind(null,Se,t.queue,!0,!1),Ot().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,l){var s=Se,d=Ot();if(Ue){if(l===void 0)throw Error(i(407));l=l()}else{if(l=n(),tt===null)throw Error(i(349));(Le&127)!==0||Ad(s,n,l)}d.memoizedState=l;var m={value:l,getSnapshot:n};return d.queue=m,Ld(vd.bind(null,s,m,t),[t]),s.flags|=2048,X0(9,{destroy:void 0},bd.bind(null,s,m,l,n),null),l},useId:function(){var t=Ot(),n=tt.identifierPrefix;if(Ue){var l=Ln,s=On;l=(s&~(1<<32-et(s)-1)).toString(32)+l,n="_"+n+"R_"+l,l=Bi++,0<l&&(n+="H"+l.toString(32)),n+="_"}else l=q5++,n="_"+n+"r_"+l.toString(32)+"_";return t.memoizedState=n},useHostTransitionStatus:ox,useFormState:_d,useActionState:_d,useOptimistic:function(t){var n=Ot();n.memoizedState=n.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=l,n=sx.bind(null,Se,!0,l),l.dispatch=n,[t,n]},useMemoCache:Js,useCacheRefresh:function(){return Ot().memoizedState=Y5.bind(null,Se)},useEffectEvent:function(t){var n=Ot(),l={impl:t};return n.memoizedState=l,function(){if(($e&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}},xx={readContext:Ft,use:bi,useCallback:$d,useContext:Ft,useEffect:rx,useImperativeHandle:Id,useInsertionEffect:Ud,useLayoutEffect:Hd,useMemo:Vd,useReducer:vi,useRef:Od,useState:function(){return vi(nr)},useDebugValue:ax,useDeferredValue:function(t,n){var l=ct();return Gd(l,Ze.memoizedState,t,n)},useTransition:function(){var t=vi(nr)[0],n=ct().memoizedState;return[typeof t=="boolean"?t:Ia(t),n]},useSyncExternalStore:Bd,useId:Kd,useHostTransitionStatus:ox,useFormState:jd,useActionState:jd,useOptimistic:function(t,n){var l=ct();return Fd(l,Ze,t,n)},useMemoCache:Js,useCacheRefresh:Zd};xx.useEffectEvent=Pd;var n1={readContext:Ft,use:bi,useCallback:$d,useContext:Ft,useEffect:rx,useImperativeHandle:Id,useInsertionEffect:Ud,useLayoutEffect:Hd,useMemo:Vd,useReducer:ex,useRef:Od,useState:function(){return ex(nr)},useDebugValue:ax,useDeferredValue:function(t,n){var l=ct();return Ze===null?lx(l,t,n):Gd(l,Ze.memoizedState,t,n)},useTransition:function(){var t=ex(nr)[0],n=ct().memoizedState;return[typeof t=="boolean"?t:Ia(t),n]},useSyncExternalStore:Bd,useId:Kd,useHostTransitionStatus:ox,useFormState:Rd,useActionState:Rd,useOptimistic:function(t,n){var l=ct();return Ze!==null?Fd(l,Ze,t,n):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Js,useCacheRefresh:Zd};n1.useEffectEvent=Pd;function ux(t,n,l,s){n=t.memoizedState,l=l(s,n),l=l==null?n:p({},n,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var cx={enqueueSetState:function(t,n,l){t=t._reactInternals;var s=sn(),d=Dr(s);d.payload=n,l!=null&&(d.callback=l),n=kr(t,d,s),n!==null&&(Yt(n,t,s),Pa(n,t,s))},enqueueReplaceState:function(t,n,l){t=t._reactInternals;var s=sn(),d=Dr(s);d.tag=1,d.payload=n,l!=null&&(d.callback=l),n=kr(t,d,s),n!==null&&(Yt(n,t,s),Pa(n,t,s))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var l=sn(),s=Dr(l);s.tag=2,n!=null&&(s.callback=n),n=kr(t,s,l),n!==null&&(Yt(n,t,l),Pa(n,t,l))}};function r1(t,n,l,s,d,m,B){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,m,B):n.prototype&&n.prototype.isPureReactComponent?!Na(l,s)||!Na(d,m):!0}function a1(t,n,l,s){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,s),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,s),n.state!==t&&cx.enqueueReplaceState(n,n.state,null)}function u0(t,n){var l=n;if("ref"in n){l={};for(var s in n)s!=="ref"&&(l[s]=n[s])}if(t=t.defaultProps){l===n&&(l=p({},l));for(var d in t)l[d]===void 0&&(l[d]=t[d])}return l}function l1(t){li(t)}function i1(t){console.error(t)}function o1(t){li(t)}function wi(t,n){try{var l=t.onUncaughtError;l(n.value,{componentStack:n.stack})}catch(s){setTimeout(function(){throw s})}}function s1(t,n,l){try{var s=t.onCaughtError;s(l.value,{componentStack:l.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function fx(t,n,l){return l=Dr(l),l.tag=3,l.payload={element:null},l.callback=function(){wi(t,n)},l}function x1(t){return t=Dr(t),t.tag=3,t}function u1(t,n,l,s){var d=l.type.getDerivedStateFromError;if(typeof d=="function"){var m=s.value;t.payload=function(){return d(m)},t.callback=function(){s1(n,l,s)}}var B=l.stateNode;B!==null&&typeof B.componentDidCatch=="function"&&(t.callback=function(){s1(n,l,s),typeof d!="function"&&(Tr===null?Tr=new Set([this]):Tr.add(this));var D=s.stack;this.componentDidCatch(s.value,{componentStack:D!==null?D:""})})}function K5(t,n,l,s,d){if(l.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(n=l.alternate,n!==null&&H0(n,l,d,!0),l=rn.current,l!==null){switch(l.tag){case 31:case 13:return An===null?Ui():l.alternate===null&&xt===0&&(xt=3),l.flags&=-257,l.flags|=65536,l.lanes=d,s===pi?l.flags|=16384:(n=l.updateQueue,n===null?l.updateQueue=new Set([s]):n.add(s),Ox(t,s,d)),!1;case 22:return l.flags|=65536,s===pi?l.flags|=16384:(n=l.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([s])},l.updateQueue=n):(l=n.retryQueue,l===null?n.retryQueue=new Set([s]):l.add(s)),Ox(t,s,d)),!1}throw Error(i(435,l.tag))}return Ox(t,s,d),Ui(),!1}if(Ue)return n=rn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=d,s!==Ns&&(t=Error(i(422),{cause:s}),ja(gn(t,l)))):(s!==Ns&&(n=Error(i(423),{cause:s}),ja(gn(n,l))),t=t.current.alternate,t.flags|=65536,d&=-d,t.lanes|=d,s=gn(s,l),d=fx(t.stateNode,s,d),qs(t,d),xt!==4&&(xt=2)),!1;var m=Error(i(520),{cause:s});if(m=gn(m,l),Wa===null?Wa=[m]:Wa.push(m),xt!==4&&(xt=2),n===null)return!0;s=gn(s,l),l=n;do{switch(l.tag){case 3:return l.flags|=65536,t=d&-d,l.lanes|=t,t=fx(l.stateNode,s,t),qs(l,t),!1;case 1:if(n=l.type,m=l.stateNode,(l.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Tr===null||!Tr.has(m))))return l.flags|=65536,d&=-d,l.lanes|=d,d=x1(d),u1(d,t,l,s),qs(l,d),!1}l=l.return}while(l!==null);return!1}var dx=Error(i(461)),pt=!1;function wt(t,n,l,s){n.child=t===null?hd(n,null,l,s):s0(n,t.child,l,s)}function c1(t,n,l,s,d){l=l.render;var m=n.ref;if("ref"in s){var B={};for(var D in s)D!=="ref"&&(B[D]=s[D])}else B=s;return a0(n),s=Ys(t,n,l,B,m,d),D=Xs(),t!==null&&!pt?(Ks(t,n,d),rr(t,n,d)):(Ue&&D&&Ss(n),n.flags|=1,wt(t,n,s,d),n.child)}function f1(t,n,l,s,d){if(t===null){var m=l.type;return typeof m=="function"&&!ks(m)&&m.defaultProps===void 0&&l.compare===null?(n.tag=15,n.type=m,d1(t,n,m,s,d)):(t=xi(l.type,null,s,n,n.mode,d),t.ref=n.ref,t.return=n,n.child=t)}if(m=t.child,!Bx(t,d)){var B=m.memoizedProps;if(l=l.compare,l=l!==null?l:Na,l(B,s)&&t.ref===n.ref)return rr(t,n,d)}return n.flags|=1,t=Zn(m,s),t.ref=n.ref,t.return=n,n.child=t}function d1(t,n,l,s,d){if(t!==null){var m=t.memoizedProps;if(Na(m,s)&&t.ref===n.ref)if(pt=!1,n.pendingProps=s=m,Bx(t,d))(t.flags&131072)!==0&&(pt=!0);else return n.lanes=t.lanes,rr(t,n,d)}return hx(t,n,l,s,d)}function h1(t,n,l,s){var d=s.children,m=t!==null?t.memoizedState:null;if(t===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((n.flags&128)!==0){if(m=m!==null?m.baseLanes|l:l,t!==null){for(s=n.child=t.child,d=0;s!==null;)d=d|s.lanes|s.childLanes,s=s.sibling;s=d&~m}else s=0,n.child=null;return p1(t,n,m,l,s)}if((l&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&di(n,m!==null?m.cachePool:null),m!==null?Ed(n,m):$s(),gd(n);else return s=n.lanes=536870912,p1(t,n,m!==null?m.baseLanes|l:l,l,s)}else m!==null?(di(n,m.cachePool),Ed(n,m),wr(),n.memoizedState=null):(t!==null&&di(n,null),$s(),wr());return wt(t,n,d,l),n.child}function Ga(t,n){return t!==null&&t.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function p1(t,n,l,s,d){var m=Ls();return m=m===null?null:{parent:dt._currentValue,pool:m},n.memoizedState={baseLanes:l,cachePool:m},t!==null&&di(n,null),$s(),gd(n),t!==null&&H0(t,n,s,!0),n.childLanes=d,null}function Si(t,n){return n=Ni({mode:n.mode,children:n.children},t.mode),n.ref=t.ref,t.child=n,n.return=t,n}function m1(t,n,l){return s0(n,t.child,null,l),t=Si(n,n.pendingProps),t.flags|=2,an(n),n.memoizedState=null,t}function Z5(t,n,l){var s=n.pendingProps,d=(n.flags&128)!==0;if(n.flags&=-129,t===null){if(Ue){if(s.mode==="hidden")return t=Si(n,s),n.lanes=536870912,Ga(null,t);if(Gs(n),(t=at)?(t=w9(t,Bn),t=t!==null&&t.data==="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:yr!==null?{id:On,overflow:Ln}:null,retryLane:536870912,hydrationErrors:null},l=Wf(t),l.return=n,n.child=l,kt=n,at=null)):t=null,t===null)throw Ar(n);return n.lanes=536870912,null}return Si(n,s)}var m=t.memoizedState;if(m!==null){var B=m.dehydrated;if(Gs(n),d)if(n.flags&256)n.flags&=-257,n=m1(t,n,l);else if(n.memoizedState!==null)n.child=t.child,n.flags|=128,n=null;else throw Error(i(558));else if(pt||H0(t,n,l,!1),d=(l&t.childLanes)!==0,pt||d){if(s=tt,s!==null&&(B=lf(s,l),B!==0&&B!==m.retryLane))throw m.retryLane=B,e0(t,B),Yt(s,t,B),dx;Ui(),n=m1(t,n,l)}else t=m.treeContext,at=bn(B.nextSibling),kt=n,Ue=!0,Br=null,Bn=!1,t!==null&&nd(n,t),n=Si(n,s),n.flags|=4096;return n}return t=Zn(t.child,{mode:s.mode,children:s.children}),t.ref=n.ref,n.child=t,t.return=n,t}function Mi(t,n){var l=n.ref;if(l===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(t===null||t.ref!==l)&&(n.flags|=4194816)}}function hx(t,n,l,s,d){return a0(n),l=Ys(t,n,l,s,void 0,d),s=Xs(),t!==null&&!pt?(Ks(t,n,d),rr(t,n,d)):(Ue&&s&&Ss(n),n.flags|=1,wt(t,n,l,d),n.child)}function E1(t,n,l,s,d,m){return a0(n),n.updateQueue=null,l=yd(n,s,l,d),Cd(t),s=Xs(),t!==null&&!pt?(Ks(t,n,m),rr(t,n,m)):(Ue&&s&&Ss(n),n.flags|=1,wt(t,n,l,m),n.child)}function g1(t,n,l,s,d){if(a0(n),n.stateNode===null){var m=O0,B=l.contextType;typeof B=="object"&&B!==null&&(m=Ft(B)),m=new l(s,m),n.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=cx,n.stateNode=m,m._reactInternals=n,m=n.stateNode,m.props=s,m.state=n.memoizedState,m.refs={},Us(n),B=l.contextType,m.context=typeof B=="object"&&B!==null?Ft(B):O0,m.state=n.memoizedState,B=l.getDerivedStateFromProps,typeof B=="function"&&(ux(n,l,B,s),m.state=n.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(B=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),B!==m.state&&cx.enqueueReplaceState(m,m.state,null),Ha(n,s,m,d),Ua(),m.state=n.memoizedState),typeof m.componentDidMount=="function"&&(n.flags|=4194308),s=!0}else if(t===null){m=n.stateNode;var D=n.memoizedProps,P=u0(l,D);m.props=P;var Z=m.context,ne=l.contextType;B=O0,typeof ne=="object"&&ne!==null&&(B=Ft(ne));var oe=l.getDerivedStateFromProps;ne=typeof oe=="function"||typeof m.getSnapshotBeforeUpdate=="function",D=n.pendingProps!==D,ne||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(D||Z!==B)&&a1(n,m,s,B),vr=!1;var J=n.memoizedState;m.state=J,Ha(n,s,m,d),Ua(),Z=n.memoizedState,D||J!==Z||vr?(typeof oe=="function"&&(ux(n,l,oe,s),Z=n.memoizedState),(P=vr||r1(n,l,P,s,J,Z,B))?(ne||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(n.flags|=4194308)):(typeof m.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=s,n.memoizedState=Z),m.props=s,m.state=Z,m.context=B,s=P):(typeof m.componentDidMount=="function"&&(n.flags|=4194308),s=!1)}else{m=n.stateNode,Hs(t,n),B=n.memoizedProps,ne=u0(l,B),m.props=ne,oe=n.pendingProps,J=m.context,Z=l.contextType,P=O0,typeof Z=="object"&&Z!==null&&(P=Ft(Z)),D=l.getDerivedStateFromProps,(Z=typeof D=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(B!==oe||J!==P)&&a1(n,m,s,P),vr=!1,J=n.memoizedState,m.state=J,Ha(n,s,m,d),Ua();var ee=n.memoizedState;B!==oe||J!==ee||vr||t!==null&&t.dependencies!==null&&ci(t.dependencies)?(typeof D=="function"&&(ux(n,l,D,s),ee=n.memoizedState),(ne=vr||r1(n,l,ne,s,J,ee,P)||t!==null&&t.dependencies!==null&&ci(t.dependencies))?(Z||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(s,ee,P),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(s,ee,P)),typeof m.componentDidUpdate=="function"&&(n.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof m.componentDidUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=1024),n.memoizedProps=s,n.memoizedState=ee),m.props=s,m.state=ee,m.context=P,s=ne):(typeof m.componentDidUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&J===t.memoizedState||(n.flags|=1024),s=!1)}return m=s,Mi(t,n),s=(n.flags&128)!==0,m||s?(m=n.stateNode,l=s&&typeof l.getDerivedStateFromError!="function"?null:m.render(),n.flags|=1,t!==null&&s?(n.child=s0(n,t.child,null,d),n.child=s0(n,null,l,d)):wt(t,n,l,d),n.memoizedState=m.state,t=n.child):t=rr(t,n,d),t}function C1(t,n,l,s){return n0(),n.flags|=256,wt(t,n,l,s),n.child}var px={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function mx(t){return{baseLanes:t,cachePool:sd()}}function Ex(t,n,l){return t=t!==null?t.childLanes&~l:0,n&&(t|=on),t}function y1(t,n,l){var s=n.pendingProps,d=!1,m=(n.flags&128)!==0,B;if((B=m)||(B=t!==null&&t.memoizedState===null?!1:(ut.current&2)!==0),B&&(d=!0,n.flags&=-129),B=(n.flags&32)!==0,n.flags&=-33,t===null){if(Ue){if(d?Fr(n):wr(),(t=at)?(t=w9(t,Bn),t=t!==null&&t.data!=="&"?t:null,t!==null&&(n.memoizedState={dehydrated:t,treeContext:yr!==null?{id:On,overflow:Ln}:null,retryLane:536870912,hydrationErrors:null},l=Wf(t),l.return=n,n.child=l,kt=n,at=null)):t=null,t===null)throw Ar(n);return Wx(t)?n.lanes=32:n.lanes=536870912,null}var D=s.children;return s=s.fallback,d?(wr(),d=n.mode,D=Ni({mode:"hidden",children:D},d),s=t0(s,d,l,null),D.return=n,s.return=n,D.sibling=s,n.child=D,s=n.child,s.memoizedState=mx(l),s.childLanes=Ex(t,B,l),n.memoizedState=px,Ga(null,s)):(Fr(n),gx(n,D))}var P=t.memoizedState;if(P!==null&&(D=P.dehydrated,D!==null)){if(m)n.flags&256?(Fr(n),n.flags&=-257,n=Cx(t,n,l)):n.memoizedState!==null?(wr(),n.child=t.child,n.flags|=128,n=null):(wr(),D=s.fallback,d=n.mode,s=Ni({mode:"visible",children:s.children},d),D=t0(D,d,l,null),D.flags|=2,s.return=n,D.return=n,s.sibling=D,n.child=s,s0(n,t.child,null,l),s=n.child,s.memoizedState=mx(l),s.childLanes=Ex(t,B,l),n.memoizedState=px,n=Ga(null,s));else if(Fr(n),Wx(D)){if(B=D.nextSibling&&D.nextSibling.dataset,B)var Z=B.dgst;B=Z,s=Error(i(419)),s.stack="",s.digest=B,ja({value:s,source:null,stack:null}),n=Cx(t,n,l)}else if(pt||H0(t,n,l,!1),B=(l&t.childLanes)!==0,pt||B){if(B=tt,B!==null&&(s=lf(B,l),s!==0&&s!==P.retryLane))throw P.retryLane=s,e0(t,s),Yt(B,t,s),dx;Jx(D)||Ui(),n=Cx(t,n,l)}else Jx(D)?(n.flags|=192,n.child=t.child,n=null):(t=P.treeContext,at=bn(D.nextSibling),kt=n,Ue=!0,Br=null,Bn=!1,t!==null&&nd(n,t),n=gx(n,s.children),n.flags|=4096);return n}return d?(wr(),D=s.fallback,d=n.mode,P=t.child,Z=P.sibling,s=Zn(P,{mode:"hidden",children:s.children}),s.subtreeFlags=P.subtreeFlags&65011712,Z!==null?D=Zn(Z,D):(D=t0(D,d,l,null),D.flags|=2),D.return=n,s.return=n,s.sibling=D,n.child=s,Ga(null,s),s=n.child,D=t.child.memoizedState,D===null?D=mx(l):(d=D.cachePool,d!==null?(P=dt._currentValue,d=d.parent!==P?{parent:P,pool:P}:d):d=sd(),D={baseLanes:D.baseLanes|l,cachePool:d}),s.memoizedState=D,s.childLanes=Ex(t,B,l),n.memoizedState=px,Ga(t.child,s)):(Fr(n),l=t.child,t=l.sibling,l=Zn(l,{mode:"visible",children:s.children}),l.return=n,l.sibling=null,t!==null&&(B=n.deletions,B===null?(n.deletions=[t],n.flags|=16):B.push(t)),n.child=l,n.memoizedState=null,l)}function gx(t,n){return n=Ni({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function Ni(t,n){return t=nn(22,t,null,n),t.lanes=0,t}function Cx(t,n,l){return s0(n,t.child,null,l),t=gx(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function B1(t,n,l){t.lanes|=n;var s=t.alternate;s!==null&&(s.lanes|=n),js(t.return,n,l)}function yx(t,n,l,s,d,m){var B=t.memoizedState;B===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:s,tail:l,tailMode:d,treeForkCount:m}:(B.isBackwards=n,B.rendering=null,B.renderingStartTime=0,B.last=s,B.tail=l,B.tailMode=d,B.treeForkCount=m)}function A1(t,n,l){var s=n.pendingProps,d=s.revealOrder,m=s.tail;s=s.children;var B=ut.current,D=(B&2)!==0;if(D?(B=B&1|2,n.flags|=128):B&=1,T(ut,B),wt(t,n,s,l),s=Ue?_a:0,!D&&t!==null&&(t.flags&128)!==0)e:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&B1(t,l,n);else if(t.tag===19)B1(t,l,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break e;for(;t.sibling===null;){if(t.return===null||t.return===n)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(d){case"forwards":for(l=n.child,d=null;l!==null;)t=l.alternate,t!==null&&Ci(t)===null&&(d=l),l=l.sibling;l=d,l===null?(d=n.child,n.child=null):(d=l.sibling,l.sibling=null),yx(n,!1,d,l,m,s);break;case"backwards":case"unstable_legacy-backwards":for(l=null,d=n.child,n.child=null;d!==null;){if(t=d.alternate,t!==null&&Ci(t)===null){n.child=d;break}t=d.sibling,d.sibling=l,l=d,d=t}yx(n,!0,l,null,m,s);break;case"together":yx(n,!1,null,null,void 0,s);break;default:n.memoizedState=null}return n.child}function rr(t,n,l){if(t!==null&&(n.dependencies=t.dependencies),Nr|=n.lanes,(l&n.childLanes)===0)if(t!==null){if(H0(t,n,l,!1),(l&n.childLanes)===0)return null}else return null;if(t!==null&&n.child!==t.child)throw Error(i(153));if(n.child!==null){for(t=n.child,l=Zn(t,t.pendingProps),n.child=l,l.return=n;t.sibling!==null;)t=t.sibling,l=l.sibling=Zn(t,t.pendingProps),l.return=n;l.sibling=null}return n.child}function Bx(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&ci(t)))}function J5(t,n,l){switch(n.tag){case 3:Ce(n,n.stateNode.containerInfo),br(n,dt,t.memoizedState.cache),n0();break;case 27:case 5:Te(n);break;case 4:Ce(n,n.stateNode.containerInfo);break;case 10:br(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Gs(n),null;break;case 13:var s=n.memoizedState;if(s!==null)return s.dehydrated!==null?(Fr(n),n.flags|=128,null):(l&n.child.childLanes)!==0?y1(t,n,l):(Fr(n),t=rr(t,n,l),t!==null?t.sibling:null);Fr(n);break;case 19:var d=(t.flags&128)!==0;if(s=(l&n.childLanes)!==0,s||(H0(t,n,l,!1),s=(l&n.childLanes)!==0),d){if(s)return A1(t,n,l);n.flags|=128}if(d=n.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),T(ut,ut.current),s)break;return null;case 22:return n.lanes=0,h1(t,n,l,n.pendingProps);case 24:br(n,dt,t.memoizedState.cache)}return rr(t,n,l)}function b1(t,n,l){if(t!==null)if(t.memoizedProps!==n.pendingProps)pt=!0;else{if(!Bx(t,l)&&(n.flags&128)===0)return pt=!1,J5(t,n,l);pt=(t.flags&131072)!==0}else pt=!1,Ue&&(n.flags&1048576)!==0&&td(n,_a,n.index);switch(n.lanes=0,n.tag){case 16:e:{var s=n.pendingProps;if(t=i0(n.elementType),n.type=t,typeof t=="function")ks(t)?(s=u0(t,s),n.tag=1,n=g1(null,n,t,s,l)):(n.tag=0,n=hx(null,n,t,s,l));else{if(t!=null){var d=t.$$typeof;if(d===j){n.tag=11,n=c1(null,n,t,s,l);break e}else if(d===_){n.tag=14,n=f1(null,n,t,s,l);break e}}throw n=te(t)||t,Error(i(306,n,""))}}return n;case 0:return hx(t,n,n.type,n.pendingProps,l);case 1:return s=n.type,d=u0(s,n.pendingProps),g1(t,n,s,d,l);case 3:e:{if(Ce(n,n.stateNode.containerInfo),t===null)throw Error(i(387));s=n.pendingProps;var m=n.memoizedState;d=m.element,Hs(t,n),Ha(n,s,null,l);var B=n.memoizedState;if(s=B.cache,br(n,dt,s),s!==m.cache&&zs(n,[dt],l,!0),Ua(),s=B.element,m.isDehydrated)if(m={element:s,isDehydrated:!1,cache:B.cache},n.updateQueue.baseState=m,n.memoizedState=m,n.flags&256){n=C1(t,n,s,l);break e}else if(s!==d){d=gn(Error(i(424)),n),ja(d),n=C1(t,n,s,l);break e}else for(t=n.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,at=bn(t.firstChild),kt=n,Ue=!0,Br=null,Bn=!0,l=hd(n,null,s,l),n.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(n0(),s===d){n=rr(t,n,l);break e}wt(t,n,s,l)}n=n.child}return n;case 26:return Mi(t,n),t===null?(l=j9(n.type,null,n.pendingProps,null))?n.memoizedState=l:Ue||(l=n.type,t=n.pendingProps,s=Qi(ue.current).createElement(l),s[Dt]=n,s[qt]=t,St(s,l,t),At(s),n.stateNode=s):n.memoizedState=j9(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return Te(n),t===null&&Ue&&(s=n.stateNode=N9(n.type,n.pendingProps,ue.current),kt=n,Bn=!0,d=at,Rr(n.type)?(eu=d,at=bn(s.firstChild)):at=d),wt(t,n,n.pendingProps.children,l),Mi(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&Ue&&((d=s=at)&&(s=wE(s,n.type,n.pendingProps,Bn),s!==null?(n.stateNode=s,kt=n,at=bn(s.firstChild),Bn=!1,d=!0):d=!1),d||Ar(n)),Te(n),d=n.type,m=n.pendingProps,B=t!==null?t.memoizedProps:null,s=m.children,Xx(d,m)?s=null:B!==null&&Xx(d,B)&&(n.flags|=32),n.memoizedState!==null&&(d=Ys(t,n,I5,null,null,l),ol._currentValue=d),Mi(t,n),wt(t,n,s,l),n.child;case 6:return t===null&&Ue&&((t=l=at)&&(l=SE(l,n.pendingProps,Bn),l!==null?(n.stateNode=l,kt=n,at=null,t=!0):t=!1),t||Ar(n)),null;case 13:return y1(t,n,l);case 4:return Ce(n,n.stateNode.containerInfo),s=n.pendingProps,t===null?n.child=s0(n,null,s,l):wt(t,n,s,l),n.child;case 11:return c1(t,n,n.type,n.pendingProps,l);case 7:return wt(t,n,n.pendingProps,l),n.child;case 8:return wt(t,n,n.pendingProps.children,l),n.child;case 12:return wt(t,n,n.pendingProps.children,l),n.child;case 10:return s=n.pendingProps,br(n,n.type,s.value),wt(t,n,s.children,l),n.child;case 9:return d=n.type._context,s=n.pendingProps.children,a0(n),d=Ft(d),s=s(d),n.flags|=1,wt(t,n,s,l),n.child;case 14:return f1(t,n,n.type,n.pendingProps,l);case 15:return d1(t,n,n.type,n.pendingProps,l);case 19:return A1(t,n,l);case 31:return Z5(t,n,l);case 22:return h1(t,n,l,n.pendingProps);case 24:return a0(n),s=Ft(dt),t===null?(d=Ls(),d===null&&(d=tt,m=Rs(),d.pooledCache=m,m.refCount++,m!==null&&(d.pooledCacheLanes|=l),d=m),n.memoizedState={parent:s,cache:d},Us(n),br(n,dt,d)):((t.lanes&l)!==0&&(Hs(t,n),Ha(n,null,null,l),Ua()),d=t.memoizedState,m=n.memoizedState,d.parent!==s?(d={parent:s,cache:s},n.memoizedState=d,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=d),br(n,dt,s)):(s=m.cache,br(n,dt,s),s!==d.cache&&zs(n,[dt],l,!0))),wt(t,n,n.pendingProps.children,l),n.child;case 29:throw n.pendingProps}throw Error(i(156,n.tag))}function ar(t){t.flags|=4}function Ax(t,n,l,s,d){if((n=(t.mode&32)!==0)&&(n=!1),n){if(t.flags|=16777216,(d&335544128)===d)if(t.stateNode.complete)t.flags|=8192;else if(K1())t.flags|=8192;else throw o0=pi,Ps}else t.flags&=-16777217}function v1(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!P9(n))if(K1())t.flags|=8192;else throw o0=pi,Ps}function Ti(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?nf():536870912,t.lanes|=n,W0|=n)}function Qa(t,n){if(!Ue)switch(t.tailMode){case"hidden":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var s=null;l!==null;)l.alternate!==null&&(s=l),l=l.sibling;s===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function lt(t){var n=t.alternate!==null&&t.alternate.child===t.child,l=0,s=0;if(n)for(var d=t.child;d!==null;)l|=d.lanes|d.childLanes,s|=d.subtreeFlags&65011712,s|=d.flags&65011712,d.return=t,d=d.sibling;else for(d=t.child;d!==null;)l|=d.lanes|d.childLanes,s|=d.subtreeFlags,s|=d.flags,d.return=t,d=d.sibling;return t.subtreeFlags|=s,t.childLanes=l,n}function W5(t,n,l){var s=n.pendingProps;switch(Ms(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(n),null;case 1:return lt(n),null;case 3:return l=n.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),n.memoizedState.cache!==s&&(n.flags|=2048),er(dt),ce(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(U0(n)?ar(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Ts())),lt(n),null;case 26:var d=n.type,m=n.memoizedState;return t===null?(ar(n),m!==null?(lt(n),v1(n,m)):(lt(n),Ax(n,d,null,s,l))):m?m!==t.memoizedState?(ar(n),lt(n),v1(n,m)):(lt(n),n.flags&=-16777217):(t=t.memoizedProps,t!==s&&ar(n),lt(n),Ax(n,d,t,s,l)),null;case 27:if(Ge(n),l=ue.current,d=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==s&&ar(n);else{if(!s){if(n.stateNode===null)throw Error(i(166));return lt(n),null}t=ae.current,U0(n)?rd(n):(t=N9(d,s,l),n.stateNode=t,ar(n))}return lt(n),null;case 5:if(Ge(n),d=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==s&&ar(n);else{if(!s){if(n.stateNode===null)throw Error(i(166));return lt(n),null}if(m=ae.current,U0(n))rd(n);else{var B=Qi(ue.current);switch(m){case 1:m=B.createElementNS("http://www.w3.org/2000/svg",d);break;case 2:m=B.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;default:switch(d){case"svg":m=B.createElementNS("http://www.w3.org/2000/svg",d);break;case"math":m=B.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;case"script":m=B.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof s.is=="string"?B.createElement("select",{is:s.is}):B.createElement("select"),s.multiple?m.multiple=!0:s.size&&(m.size=s.size);break;default:m=typeof s.is=="string"?B.createElement(d,{is:s.is}):B.createElement(d)}}m[Dt]=n,m[qt]=s;e:for(B=n.child;B!==null;){if(B.tag===5||B.tag===6)m.appendChild(B.stateNode);else if(B.tag!==4&&B.tag!==27&&B.child!==null){B.child.return=B,B=B.child;continue}if(B===n)break e;for(;B.sibling===null;){if(B.return===null||B.return===n)break e;B=B.return}B.sibling.return=B.return,B=B.sibling}n.stateNode=m;e:switch(St(m,d,s),d){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&ar(n)}}return lt(n),Ax(n,n.type,t===null?null:t.memoizedProps,n.pendingProps,l),null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==s&&ar(n);else{if(typeof s!="string"&&n.stateNode===null)throw Error(i(166));if(t=ue.current,U0(n)){if(t=n.stateNode,l=n.memoizedProps,s=null,d=kt,d!==null)switch(d.tag){case 27:case 5:s=d.memoizedProps}t[Dt]=n,t=!!(t.nodeValue===l||s!==null&&s.suppressHydrationWarning===!0||y9(t.nodeValue,l)),t||Ar(n,!0)}else t=Qi(t).createTextNode(s),t[Dt]=n,n.stateNode=t}return lt(n),null;case 31:if(l=n.memoizedState,t===null||t.memoizedState!==null){if(s=U0(n),l!==null){if(t===null){if(!s)throw Error(i(318));if(t=n.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(557));t[Dt]=n}else n0(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;lt(n),t=!1}else l=Ts(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return n.flags&256?(an(n),n):(an(n),null);if((n.flags&128)!==0)throw Error(i(558))}return lt(n),null;case 13:if(s=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(d=U0(n),s!==null&&s.dehydrated!==null){if(t===null){if(!d)throw Error(i(318));if(d=n.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(i(317));d[Dt]=n}else n0(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;lt(n),d=!1}else d=Ts(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=d),d=!0;if(!d)return n.flags&256?(an(n),n):(an(n),null)}return an(n),(n.flags&128)!==0?(n.lanes=l,n):(l=s!==null,t=t!==null&&t.memoizedState!==null,l&&(s=n.child,d=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(d=s.alternate.memoizedState.cachePool.pool),m=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(m=s.memoizedState.cachePool.pool),m!==d&&(s.flags|=2048)),l!==t&&l&&(n.child.flags|=8192),Ti(n,n.updateQueue),lt(n),null);case 4:return ce(),t===null&&$x(n.stateNode.containerInfo),lt(n),null;case 10:return er(n.type),lt(n),null;case 19:if(W(ut),s=n.memoizedState,s===null)return lt(n),null;if(d=(n.flags&128)!==0,m=s.rendering,m===null)if(d)Qa(s,!1);else{if(xt!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(m=Ci(t),m!==null){for(n.flags|=128,Qa(s,!1),t=m.updateQueue,n.updateQueue=t,Ti(n,t),n.subtreeFlags=0,t=l,l=n.child;l!==null;)Jf(l,t),l=l.sibling;return T(ut,ut.current&1|2),Ue&&Jn(n,s.treeForkCount),n.child}t=t.sibling}s.tail!==null&&zt()>Oi&&(n.flags|=128,d=!0,Qa(s,!1),n.lanes=4194304)}else{if(!d)if(t=Ci(m),t!==null){if(n.flags|=128,d=!0,t=t.updateQueue,n.updateQueue=t,Ti(n,t),Qa(s,!0),s.tail===null&&s.tailMode==="hidden"&&!m.alternate&&!Ue)return lt(n),null}else 2*zt()-s.renderingStartTime>Oi&&l!==536870912&&(n.flags|=128,d=!0,Qa(s,!1),n.lanes=4194304);s.isBackwards?(m.sibling=n.child,n.child=m):(t=s.last,t!==null?t.sibling=m:n.child=m,s.last=m)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=zt(),t.sibling=null,l=ut.current,T(ut,d?l&1|2:l&1),Ue&&Jn(n,s.treeForkCount),t):(lt(n),null);case 22:case 23:return an(n),Vs(),s=n.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(n.flags|=8192):s&&(n.flags|=8192),s?(l&536870912)!==0&&(n.flags&128)===0&&(lt(n),n.subtreeFlags&6&&(n.flags|=8192)):lt(n),l=n.updateQueue,l!==null&&Ti(n,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),s=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),s!==l&&(n.flags|=2048),t!==null&&W(l0),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),er(dt),lt(n),null;case 25:return null;case 30:return null}throw Error(i(156,n.tag))}function eE(t,n){switch(Ms(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return er(dt),ce(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return Ge(n),null;case 31:if(n.memoizedState!==null){if(an(n),n.alternate===null)throw Error(i(340));n0()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 13:if(an(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(i(340));n0()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return W(ut),null;case 4:return ce(),null;case 10:return er(n.type),null;case 22:case 23:return an(n),Vs(),t!==null&&W(l0),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return er(dt),null;case 25:return null;default:return null}}function D1(t,n){switch(Ms(n),n.tag){case 3:er(dt),ce();break;case 26:case 27:case 5:Ge(n);break;case 4:ce();break;case 31:n.memoizedState!==null&&an(n);break;case 13:an(n);break;case 19:W(ut);break;case 10:er(n.type);break;case 22:case 23:an(n),Vs(),t!==null&&W(l0);break;case 24:er(dt)}}function Ya(t,n){try{var l=n.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var d=s.next;l=d;do{if((l.tag&t)===t){s=void 0;var m=l.create,B=l.inst;s=m(),B.destroy=s}l=l.next}while(l!==d)}}catch(D){Ye(n,n.return,D)}}function Sr(t,n,l){try{var s=n.updateQueue,d=s!==null?s.lastEffect:null;if(d!==null){var m=d.next;s=m;do{if((s.tag&t)===t){var B=s.inst,D=B.destroy;if(D!==void 0){B.destroy=void 0,d=n;var P=l,Z=D;try{Z()}catch(ne){Ye(d,P,ne)}}}s=s.next}while(s!==m)}}catch(ne){Ye(n,n.return,ne)}}function k1(t){var n=t.updateQueue;if(n!==null){var l=t.stateNode;try{md(n,l)}catch(s){Ye(t,t.return,s)}}}function F1(t,n,l){l.props=u0(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(s){Ye(t,n,s)}}function Xa(t,n){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var s=t.stateNode;break;case 30:s=t.stateNode;break;default:s=t.stateNode}typeof l=="function"?t.refCleanup=l(s):l.current=s}}catch(d){Ye(t,n,d)}}function Pn(t,n){var l=t.ref,s=t.refCleanup;if(l!==null)if(typeof s=="function")try{s()}catch(d){Ye(t,n,d)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(d){Ye(t,n,d)}else l.current=null}function w1(t){var n=t.type,l=t.memoizedProps,s=t.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&s.focus();break e;case"img":l.src?s.src=l.src:l.srcSet&&(s.srcset=l.srcSet)}}catch(d){Ye(t,t.return,d)}}function bx(t,n,l){try{var s=t.stateNode;AE(s,t.type,l,n),s[qt]=n}catch(d){Ye(t,t.return,d)}}function S1(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Rr(t.type)||t.tag===4}function vx(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||S1(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Rr(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Dx(t,n,l){var s=t.tag;if(s===5||s===6)t=t.stateNode,n?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,n):(n=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,n.appendChild(t),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=Xn));else if(s!==4&&(s===27&&Rr(t.type)&&(l=t.stateNode,n=null),t=t.child,t!==null))for(Dx(t,n,l),t=t.sibling;t!==null;)Dx(t,n,l),t=t.sibling}function _i(t,n,l){var s=t.tag;if(s===5||s===6)t=t.stateNode,n?l.insertBefore(t,n):l.appendChild(t);else if(s!==4&&(s===27&&Rr(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(_i(t,n,l),t=t.sibling;t!==null;)_i(t,n,l),t=t.sibling}function M1(t){var n=t.stateNode,l=t.memoizedProps;try{for(var s=t.type,d=n.attributes;d.length;)n.removeAttributeNode(d[0]);St(n,s,l),n[Dt]=t,n[qt]=l}catch(m){Ye(t,t.return,m)}}var lr=!1,mt=!1,kx=!1,N1=typeof WeakSet=="function"?WeakSet:Set,bt=null;function tE(t,n){if(t=t.containerInfo,Qx=eo,t=If(t),Cs(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else e:{l=(l=t.ownerDocument)&&l.defaultView||window;var s=l.getSelection&&l.getSelection();if(s&&s.rangeCount!==0){l=s.anchorNode;var d=s.anchorOffset,m=s.focusNode;s=s.focusOffset;try{l.nodeType,m.nodeType}catch{l=null;break e}var B=0,D=-1,P=-1,Z=0,ne=0,oe=t,J=null;t:for(;;){for(var ee;oe!==l||d!==0&&oe.nodeType!==3||(D=B+d),oe!==m||s!==0&&oe.nodeType!==3||(P=B+s),oe.nodeType===3&&(B+=oe.nodeValue.length),(ee=oe.firstChild)!==null;)J=oe,oe=ee;for(;;){if(oe===t)break t;if(J===l&&++Z===d&&(D=B),J===m&&++ne===s&&(P=B),(ee=oe.nextSibling)!==null)break;oe=J,J=oe.parentNode}oe=ee}l=D===-1||P===-1?null:{start:D,end:P}}else l=null}l=l||{start:0,end:0}}else l=null;for(Yx={focusedElem:t,selectionRange:l},eo=!1,bt=n;bt!==null;)if(n=bt,t=n.child,(n.subtreeFlags&1028)!==0&&t!==null)t.return=n,bt=t;else for(;bt!==null;){switch(n=bt,m=n.alternate,t=n.flags,n.tag){case 0:if((t&4)!==0&&(t=n.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)d=t[l],d.ref.impl=d.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&m!==null){t=void 0,l=n,d=m.memoizedProps,m=m.memoizedState,s=l.stateNode;try{var Ee=u0(l.type,d);t=s.getSnapshotBeforeUpdate(Ee,m),s.__reactInternalSnapshotBeforeUpdate=t}catch(be){Ye(l,l.return,be)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,l=t.nodeType,l===9)Zx(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Zx(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(i(163))}if(t=n.sibling,t!==null){t.return=n.return,bt=t;break}bt=n.return}}function T1(t,n,l){var s=l.flags;switch(l.tag){case 0:case 11:case 15:or(t,l),s&4&&Ya(5,l);break;case 1:if(or(t,l),s&4)if(t=l.stateNode,n===null)try{t.componentDidMount()}catch(B){Ye(l,l.return,B)}else{var d=u0(l.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(d,n,t.__reactInternalSnapshotBeforeUpdate)}catch(B){Ye(l,l.return,B)}}s&64&&k1(l),s&512&&Xa(l,l.return);break;case 3:if(or(t,l),s&64&&(t=l.updateQueue,t!==null)){if(n=null,l.child!==null)switch(l.child.tag){case 27:case 5:n=l.child.stateNode;break;case 1:n=l.child.stateNode}try{md(t,n)}catch(B){Ye(l,l.return,B)}}break;case 27:n===null&&s&4&&M1(l);case 26:case 5:or(t,l),n===null&&s&4&&w1(l),s&512&&Xa(l,l.return);break;case 12:or(t,l);break;case 31:or(t,l),s&4&&z1(t,l);break;case 13:or(t,l),s&4&&R1(t,l),s&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=uE.bind(null,l),ME(t,l))));break;case 22:if(s=l.memoizedState!==null||lr,!s){n=n!==null&&n.memoizedState!==null||mt,d=lr;var m=mt;lr=s,(mt=n)&&!m?sr(t,l,(l.subtreeFlags&8772)!==0):or(t,l),lr=d,mt=m}break;case 30:break;default:or(t,l)}}function _1(t){var n=t.alternate;n!==null&&(t.alternate=null,_1(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&ns(n)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var ot=null,$t=!1;function ir(t,n,l){for(l=l.child;l!==null;)j1(t,n,l),l=l.sibling}function j1(t,n,l){if(gt&&typeof gt.onCommitFiberUnmount=="function")try{gt.onCommitFiberUnmount(Rt,l)}catch{}switch(l.tag){case 26:mt||Pn(l,n),ir(t,n,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:mt||Pn(l,n);var s=ot,d=$t;Rr(l.type)&&(ot=l.stateNode,$t=!1),ir(t,n,l),al(l.stateNode),ot=s,$t=d;break;case 5:mt||Pn(l,n);case 6:if(s=ot,d=$t,ot=null,ir(t,n,l),ot=s,$t=d,ot!==null)if($t)try{(ot.nodeType===9?ot.body:ot.nodeName==="HTML"?ot.ownerDocument.body:ot).removeChild(l.stateNode)}catch(m){Ye(l,n,m)}else try{ot.removeChild(l.stateNode)}catch(m){Ye(l,n,m)}break;case 18:ot!==null&&($t?(t=ot,k9(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),oa(t)):k9(ot,l.stateNode));break;case 4:s=ot,d=$t,ot=l.stateNode.containerInfo,$t=!0,ir(t,n,l),ot=s,$t=d;break;case 0:case 11:case 14:case 15:Sr(2,l,n),mt||Sr(4,l,n),ir(t,n,l);break;case 1:mt||(Pn(l,n),s=l.stateNode,typeof s.componentWillUnmount=="function"&&F1(l,n,s)),ir(t,n,l);break;case 21:ir(t,n,l);break;case 22:mt=(s=mt)||l.memoizedState!==null,ir(t,n,l),mt=s;break;default:ir(t,n,l)}}function z1(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{oa(t)}catch(l){Ye(n,n.return,l)}}}function R1(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{oa(t)}catch(l){Ye(n,n.return,l)}}function nE(t){switch(t.tag){case 31:case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new N1),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new N1),n;default:throw Error(i(435,t.tag))}}function ji(t,n){var l=nE(t);n.forEach(function(s){if(!l.has(s)){l.add(s);var d=cE.bind(null,t,s);s.then(d,d)}})}function Vt(t,n){var l=n.deletions;if(l!==null)for(var s=0;s<l.length;s++){var d=l[s],m=t,B=n,D=B;e:for(;D!==null;){switch(D.tag){case 27:if(Rr(D.type)){ot=D.stateNode,$t=!1;break e}break;case 5:ot=D.stateNode,$t=!1;break e;case 3:case 4:ot=D.stateNode.containerInfo,$t=!0;break e}D=D.return}if(ot===null)throw Error(i(160));j1(m,B,d),ot=null,$t=!1,m=d.alternate,m!==null&&(m.return=null),d.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)O1(n,t),n=n.sibling}var Nn=null;function O1(t,n){var l=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Vt(n,t),Gt(t),s&4&&(Sr(3,t,t.return),Ya(3,t),Sr(5,t,t.return));break;case 1:Vt(n,t),Gt(t),s&512&&(mt||l===null||Pn(l,l.return)),s&64&&lr&&(t=t.updateQueue,t!==null&&(s=t.callbacks,s!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?s:l.concat(s))));break;case 26:var d=Nn;if(Vt(n,t),Gt(t),s&512&&(mt||l===null||Pn(l,l.return)),s&4){var m=l!==null?l.memoizedState:null;if(s=t.memoizedState,l===null)if(s===null)if(t.stateNode===null){e:{s=t.type,l=t.memoizedProps,d=d.ownerDocument||d;t:switch(s){case"title":m=d.getElementsByTagName("title")[0],(!m||m[Aa]||m[Dt]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=d.createElement(s),d.head.insertBefore(m,d.querySelector("head > title"))),St(m,s,l),m[Dt]=t,At(m),s=m;break e;case"link":var B=O9("link","href",d).get(s+(l.href||""));if(B){for(var D=0;D<B.length;D++)if(m=B[D],m.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&m.getAttribute("rel")===(l.rel==null?null:l.rel)&&m.getAttribute("title")===(l.title==null?null:l.title)&&m.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){B.splice(D,1);break t}}m=d.createElement(s),St(m,s,l),d.head.appendChild(m);break;case"meta":if(B=O9("meta","content",d).get(s+(l.content||""))){for(D=0;D<B.length;D++)if(m=B[D],m.getAttribute("content")===(l.content==null?null:""+l.content)&&m.getAttribute("name")===(l.name==null?null:l.name)&&m.getAttribute("property")===(l.property==null?null:l.property)&&m.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&m.getAttribute("charset")===(l.charSet==null?null:l.charSet)){B.splice(D,1);break t}}m=d.createElement(s),St(m,s,l),d.head.appendChild(m);break;default:throw Error(i(468,s))}m[Dt]=t,At(m),s=m}t.stateNode=s}else L9(d,t.type,t.stateNode);else t.stateNode=R9(d,s,t.memoizedProps);else m!==s?(m===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):m.count--,s===null?L9(d,t.type,t.stateNode):R9(d,s,t.memoizedProps)):s===null&&t.stateNode!==null&&bx(t,t.memoizedProps,l.memoizedProps)}break;case 27:Vt(n,t),Gt(t),s&512&&(mt||l===null||Pn(l,l.return)),l!==null&&s&4&&bx(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Vt(n,t),Gt(t),s&512&&(mt||l===null||Pn(l,l.return)),t.flags&32){d=t.stateNode;try{M0(d,"")}catch(Ee){Ye(t,t.return,Ee)}}s&4&&t.stateNode!=null&&(d=t.memoizedProps,bx(t,d,l!==null?l.memoizedProps:d)),s&1024&&(kx=!0);break;case 6:if(Vt(n,t),Gt(t),s&4){if(t.stateNode===null)throw Error(i(162));s=t.memoizedProps,l=t.stateNode;try{l.nodeValue=s}catch(Ee){Ye(t,t.return,Ee)}}break;case 3:if(Ki=null,d=Nn,Nn=Yi(n.containerInfo),Vt(n,t),Nn=d,Gt(t),s&4&&l!==null&&l.memoizedState.isDehydrated)try{oa(n.containerInfo)}catch(Ee){Ye(t,t.return,Ee)}kx&&(kx=!1,L1(t));break;case 4:s=Nn,Nn=Yi(t.stateNode.containerInfo),Vt(n,t),Gt(t),Nn=s;break;case 12:Vt(n,t),Gt(t);break;case 31:Vt(n,t),Gt(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,ji(t,s)));break;case 13:Vt(n,t),Gt(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Ri=zt()),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,ji(t,s)));break;case 22:d=t.memoizedState!==null;var P=l!==null&&l.memoizedState!==null,Z=lr,ne=mt;if(lr=Z||d,mt=ne||P,Vt(n,t),mt=ne,lr=Z,Gt(t),s&8192)e:for(n=t.stateNode,n._visibility=d?n._visibility&-2:n._visibility|1,d&&(l===null||P||lr||mt||c0(t)),l=null,n=t;;){if(n.tag===5||n.tag===26){if(l===null){P=l=n;try{if(m=P.stateNode,d)B=m.style,typeof B.setProperty=="function"?B.setProperty("display","none","important"):B.display="none";else{D=P.stateNode;var oe=P.memoizedProps.style,J=oe!=null&&oe.hasOwnProperty("display")?oe.display:null;D.style.display=J==null||typeof J=="boolean"?"":(""+J).trim()}}catch(Ee){Ye(P,P.return,Ee)}}}else if(n.tag===6){if(l===null){P=n;try{P.stateNode.nodeValue=d?"":P.memoizedProps}catch(Ee){Ye(P,P.return,Ee)}}}else if(n.tag===18){if(l===null){P=n;try{var ee=P.stateNode;d?F9(ee,!0):F9(P.stateNode,!1)}catch(Ee){Ye(P,P.return,Ee)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;l===n&&(l=null),n=n.return}l===n&&(l=null),n.sibling.return=n.return,n=n.sibling}s&4&&(s=t.updateQueue,s!==null&&(l=s.retryQueue,l!==null&&(s.retryQueue=null,ji(t,l))));break;case 19:Vt(n,t),Gt(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,ji(t,s)));break;case 30:break;case 21:break;default:Vt(n,t),Gt(t)}}function Gt(t){var n=t.flags;if(n&2){try{for(var l,s=t.return;s!==null;){if(S1(s)){l=s;break}s=s.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var d=l.stateNode,m=vx(t);_i(t,m,d);break;case 5:var B=l.stateNode;l.flags&32&&(M0(B,""),l.flags&=-33);var D=vx(t);_i(t,D,B);break;case 3:case 4:var P=l.stateNode.containerInfo,Z=vx(t);Dx(t,Z,P);break;default:throw Error(i(161))}}catch(ne){Ye(t,t.return,ne)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function L1(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;L1(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function or(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)T1(t,n.alternate,n),n=n.sibling}function c0(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:Sr(4,n,n.return),c0(n);break;case 1:Pn(n,n.return);var l=n.stateNode;typeof l.componentWillUnmount=="function"&&F1(n,n.return,l),c0(n);break;case 27:al(n.stateNode);case 26:case 5:Pn(n,n.return),c0(n);break;case 22:n.memoizedState===null&&c0(n);break;case 30:c0(n);break;default:c0(n)}t=t.sibling}}function sr(t,n,l){for(l=l&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var s=n.alternate,d=t,m=n,B=m.flags;switch(m.tag){case 0:case 11:case 15:sr(d,m,l),Ya(4,m);break;case 1:if(sr(d,m,l),s=m,d=s.stateNode,typeof d.componentDidMount=="function")try{d.componentDidMount()}catch(Z){Ye(s,s.return,Z)}if(s=m,d=s.updateQueue,d!==null){var D=s.stateNode;try{var P=d.shared.hiddenCallbacks;if(P!==null)for(d.shared.hiddenCallbacks=null,d=0;d<P.length;d++)pd(P[d],D)}catch(Z){Ye(s,s.return,Z)}}l&&B&64&&k1(m),Xa(m,m.return);break;case 27:M1(m);case 26:case 5:sr(d,m,l),l&&s===null&&B&4&&w1(m),Xa(m,m.return);break;case 12:sr(d,m,l);break;case 31:sr(d,m,l),l&&B&4&&z1(d,m);break;case 13:sr(d,m,l),l&&B&4&&R1(d,m);break;case 22:m.memoizedState===null&&sr(d,m,l),Xa(m,m.return);break;case 30:break;default:sr(d,m,l)}n=n.sibling}}function Fx(t,n){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&za(l))}function wx(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&za(t))}function Tn(t,n,l,s){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)P1(t,n,l,s),n=n.sibling}function P1(t,n,l,s){var d=n.flags;switch(n.tag){case 0:case 11:case 15:Tn(t,n,l,s),d&2048&&Ya(9,n);break;case 1:Tn(t,n,l,s);break;case 3:Tn(t,n,l,s),d&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&za(t)));break;case 12:if(d&2048){Tn(t,n,l,s),t=n.stateNode;try{var m=n.memoizedProps,B=m.id,D=m.onPostCommit;typeof D=="function"&&D(B,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(P){Ye(n,n.return,P)}}else Tn(t,n,l,s);break;case 31:Tn(t,n,l,s);break;case 13:Tn(t,n,l,s);break;case 23:break;case 22:m=n.stateNode,B=n.alternate,n.memoizedState!==null?m._visibility&2?Tn(t,n,l,s):Ka(t,n):m._visibility&2?Tn(t,n,l,s):(m._visibility|=2,K0(t,n,l,s,(n.subtreeFlags&10256)!==0||!1)),d&2048&&Fx(B,n);break;case 24:Tn(t,n,l,s),d&2048&&wx(n.alternate,n);break;default:Tn(t,n,l,s)}}function K0(t,n,l,s,d){for(d=d&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var m=t,B=n,D=l,P=s,Z=B.flags;switch(B.tag){case 0:case 11:case 15:K0(m,B,D,P,d),Ya(8,B);break;case 23:break;case 22:var ne=B.stateNode;B.memoizedState!==null?ne._visibility&2?K0(m,B,D,P,d):Ka(m,B):(ne._visibility|=2,K0(m,B,D,P,d)),d&&Z&2048&&Fx(B.alternate,B);break;case 24:K0(m,B,D,P,d),d&&Z&2048&&wx(B.alternate,B);break;default:K0(m,B,D,P,d)}n=n.sibling}}function Ka(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var l=t,s=n,d=s.flags;switch(s.tag){case 22:Ka(l,s),d&2048&&Fx(s.alternate,s);break;case 24:Ka(l,s),d&2048&&wx(s.alternate,s);break;default:Ka(l,s)}n=n.sibling}}var Za=8192;function Z0(t,n,l){if(t.subtreeFlags&Za)for(t=t.child;t!==null;)U1(t,n,l),t=t.sibling}function U1(t,n,l){switch(t.tag){case 26:Z0(t,n,l),t.flags&Za&&t.memoizedState!==null&&qE(l,Nn,t.memoizedState,t.memoizedProps);break;case 5:Z0(t,n,l);break;case 3:case 4:var s=Nn;Nn=Yi(t.stateNode.containerInfo),Z0(t,n,l),Nn=s;break;case 22:t.memoizedState===null&&(s=t.alternate,s!==null&&s.memoizedState!==null?(s=Za,Za=16777216,Z0(t,n,l),Za=s):Z0(t,n,l));break;default:Z0(t,n,l)}}function H1(t){var n=t.alternate;if(n!==null&&(t=n.child,t!==null)){n.child=null;do n=t.sibling,t.sibling=null,t=n;while(t!==null)}}function Ja(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var s=n[l];bt=s,I1(s,t)}H1(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)q1(t),t=t.sibling}function q1(t){switch(t.tag){case 0:case 11:case 15:Ja(t),t.flags&2048&&Sr(9,t,t.return);break;case 3:Ja(t);break;case 12:Ja(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,zi(t)):Ja(t);break;default:Ja(t)}}function zi(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var s=n[l];bt=s,I1(s,t)}H1(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:Sr(8,n,n.return),zi(n);break;case 22:l=n.stateNode,l._visibility&2&&(l._visibility&=-3,zi(n));break;default:zi(n)}t=t.sibling}}function I1(t,n){for(;bt!==null;){var l=bt;switch(l.tag){case 0:case 11:case 15:Sr(8,l,n);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var s=l.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:za(l.memoizedState.cache)}if(s=l.child,s!==null)s.return=l,bt=s;else e:for(l=t;bt!==null;){s=bt;var d=s.sibling,m=s.return;if(_1(s),s===l){bt=null;break e}if(d!==null){d.return=m,bt=d;break e}bt=m}}}var rE={getCacheForType:function(t){var n=Ft(dt),l=n.data.get(t);return l===void 0&&(l=t(),n.data.set(t,l)),l},cacheSignal:function(){return Ft(dt).controller.signal}},aE=typeof WeakMap=="function"?WeakMap:Map,$e=0,tt=null,je=null,Le=0,Qe=0,ln=null,Mr=!1,J0=!1,Sx=!1,xr=0,xt=0,Nr=0,f0=0,Mx=0,on=0,W0=0,Wa=null,Qt=null,Nx=!1,Ri=0,$1=0,Oi=1/0,Li=null,Tr=null,Ct=0,_r=null,ea=null,ur=0,Tx=0,_x=null,V1=null,el=0,jx=null;function sn(){return($e&2)!==0&&Le!==0?Le&-Le:U.T!==null?Ux():of()}function G1(){if(on===0)if((Le&536870912)===0||Ue){var t=Gl;Gl<<=1,(Gl&3932160)===0&&(Gl=262144),on=t}else on=536870912;return t=rn.current,t!==null&&(t.flags|=32),on}function Yt(t,n,l){(t===tt&&(Qe===2||Qe===9)||t.cancelPendingCommit!==null)&&(ta(t,0),jr(t,Le,on,!1)),Ba(t,l),(($e&2)===0||t!==tt)&&(t===tt&&(($e&2)===0&&(f0|=l),xt===4&&jr(t,Le,on,!1)),Un(t))}function Q1(t,n,l){if(($e&6)!==0)throw Error(i(327));var s=!l&&(n&127)===0&&(n&t.expiredLanes)===0||ya(t,n),d=s?oE(t,n):Rx(t,n,!0),m=s;do{if(d===0){J0&&!s&&jr(t,n,0,!1);break}else{if(l=t.current.alternate,m&&!lE(l)){d=Rx(t,n,!1),m=!1;continue}if(d===2){if(m=n,t.errorRecoveryDisabledLanes&m)var B=0;else B=t.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){n=B;e:{var D=t;d=Wa;var P=D.current.memoizedState.isDehydrated;if(P&&(ta(D,B).flags|=256),B=Rx(D,B,!1),B!==2){if(Sx&&!P){D.errorRecoveryDisabledLanes|=m,f0|=m,d=4;break e}m=Qt,Qt=d,m!==null&&(Qt===null?Qt=m:Qt.push.apply(Qt,m))}d=B}if(m=!1,d!==2)continue}}if(d===1){ta(t,0),jr(t,n,0,!0);break}e:{switch(s=t,m=d,m){case 0:case 1:throw Error(i(345));case 4:if((n&4194048)!==n)break;case 6:jr(s,n,on,!Mr);break e;case 2:Qt=null;break;case 3:case 5:break;default:throw Error(i(329))}if((n&62914560)===n&&(d=Ri+300-zt(),10<d)){if(jr(s,n,on,!Mr),Yl(s,0,!0)!==0)break e;ur=n,s.timeoutHandle=v9(Y1.bind(null,s,l,Qt,Li,Nx,n,on,f0,W0,Mr,m,"Throttled",-0,0),d);break e}Y1(s,l,Qt,Li,Nx,n,on,f0,W0,Mr,m,null,-0,0)}}break}while(!0);Un(t)}function Y1(t,n,l,s,d,m,B,D,P,Z,ne,oe,J,ee){if(t.timeoutHandle=-1,oe=n.subtreeFlags,oe&8192||(oe&16785408)===16785408){oe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Xn},U1(n,m,oe);var Ee=(m&62914560)===m?Ri-zt():(m&4194048)===m?$1-zt():0;if(Ee=IE(oe,Ee),Ee!==null){ur=m,t.cancelPendingCommit=Ee(n9.bind(null,t,n,m,l,s,d,B,D,P,ne,oe,null,J,ee)),jr(t,m,B,!Z);return}}n9(t,n,m,l,s,d,B,D,P)}function lE(t){for(var n=t;;){var l=n.tag;if((l===0||l===11||l===15)&&n.flags&16384&&(l=n.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var s=0;s<l.length;s++){var d=l[s],m=d.getSnapshot;d=d.value;try{if(!tn(m(),d))return!1}catch{return!1}}if(l=n.child,n.subtreeFlags&16384&&l!==null)l.return=n,n=l;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function jr(t,n,l,s){n&=~Mx,n&=~f0,t.suspendedLanes|=n,t.pingedLanes&=~n,s&&(t.warmLanes|=n),s=t.expirationTimes;for(var d=n;0<d;){var m=31-et(d),B=1<<m;s[m]=-1,d&=~B}l!==0&&rf(t,l,n)}function Pi(){return($e&6)===0?(tl(0),!1):!0}function zx(){if(je!==null){if(Qe===0)var t=je.return;else t=je,Wn=r0=null,Zs(t),V0=null,Oa=0,t=je;for(;t!==null;)D1(t.alternate,t),t=t.return;je=null}}function ta(t,n){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,DE(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),ur=0,zx(),tt=t,je=l=Zn(t.current,null),Le=n,Qe=0,ln=null,Mr=!1,J0=ya(t,n),Sx=!1,W0=on=Mx=f0=Nr=xt=0,Qt=Wa=null,Nx=!1,(n&8)!==0&&(n|=n&32);var s=t.entangledLanes;if(s!==0)for(t=t.entanglements,s&=n;0<s;){var d=31-et(s),m=1<<d;n|=t[d],s&=~m}return xr=n,ii(),l}function X1(t,n){Se=null,U.H=Va,n===$0||n===hi?(n=cd(),Qe=3):n===Ps?(n=cd(),Qe=4):Qe=n===dx?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,ln=n,je===null&&(xt=1,wi(t,gn(n,t.current)))}function K1(){var t=rn.current;return t===null?!0:(Le&4194048)===Le?An===null:(Le&62914560)===Le||(Le&536870912)!==0?t===An:!1}function Z1(){var t=U.H;return U.H=Va,t===null?Va:t}function J1(){var t=U.A;return U.A=rE,t}function Ui(){xt=4,Mr||(Le&4194048)!==Le&&rn.current!==null||(J0=!0),(Nr&134217727)===0&&(f0&134217727)===0||tt===null||jr(tt,Le,on,!1)}function Rx(t,n,l){var s=$e;$e|=2;var d=Z1(),m=J1();(tt!==t||Le!==n)&&(Li=null,ta(t,n)),n=!1;var B=xt;e:do try{if(Qe!==0&&je!==null){var D=je,P=ln;switch(Qe){case 8:zx(),B=6;break e;case 3:case 2:case 9:case 6:rn.current===null&&(n=!0);var Z=Qe;if(Qe=0,ln=null,na(t,D,P,Z),l&&J0){B=0;break e}break;default:Z=Qe,Qe=0,ln=null,na(t,D,P,Z)}}iE(),B=xt;break}catch(ne){X1(t,ne)}while(!0);return n&&t.shellSuspendCounter++,Wn=r0=null,$e=s,U.H=d,U.A=m,je===null&&(tt=null,Le=0,ii()),B}function iE(){for(;je!==null;)W1(je)}function oE(t,n){var l=$e;$e|=2;var s=Z1(),d=J1();tt!==t||Le!==n?(Li=null,Oi=zt()+500,ta(t,n)):J0=ya(t,n);e:do try{if(Qe!==0&&je!==null){n=je;var m=ln;t:switch(Qe){case 1:Qe=0,ln=null,na(t,n,m,1);break;case 2:case 9:if(xd(m)){Qe=0,ln=null,e9(n);break}n=function(){Qe!==2&&Qe!==9||tt!==t||(Qe=7),Un(t)},m.then(n,n);break e;case 3:Qe=7;break e;case 4:Qe=5;break e;case 7:xd(m)?(Qe=0,ln=null,e9(n)):(Qe=0,ln=null,na(t,n,m,7));break;case 5:var B=null;switch(je.tag){case 26:B=je.memoizedState;case 5:case 27:var D=je;if(B?P9(B):D.stateNode.complete){Qe=0,ln=null;var P=D.sibling;if(P!==null)je=P;else{var Z=D.return;Z!==null?(je=Z,Hi(Z)):je=null}break t}}Qe=0,ln=null,na(t,n,m,5);break;case 6:Qe=0,ln=null,na(t,n,m,6);break;case 8:zx(),xt=6;break e;default:throw Error(i(462))}}sE();break}catch(ne){X1(t,ne)}while(!0);return Wn=r0=null,U.H=s,U.A=d,$e=l,je!==null?0:(tt=null,Le=0,ii(),xt)}function sE(){for(;je!==null&&!Xo();)W1(je)}function W1(t){var n=b1(t.alternate,t,xr);t.memoizedProps=t.pendingProps,n===null?Hi(t):je=n}function e9(t){var n=t,l=n.alternate;switch(n.tag){case 15:case 0:n=E1(l,n,n.pendingProps,n.type,void 0,Le);break;case 11:n=E1(l,n,n.pendingProps,n.type.render,n.ref,Le);break;case 5:Zs(n);default:D1(l,n),n=je=Jf(n,xr),n=b1(l,n,xr)}t.memoizedProps=t.pendingProps,n===null?Hi(t):je=n}function na(t,n,l,s){Wn=r0=null,Zs(n),V0=null,Oa=0;var d=n.return;try{if(K5(t,d,n,l,Le)){xt=1,wi(t,gn(l,t.current)),je=null;return}}catch(m){if(d!==null)throw je=d,m;xt=1,wi(t,gn(l,t.current)),je=null;return}n.flags&32768?(Ue||s===1?t=!0:J0||(Le&536870912)!==0?t=!1:(Mr=t=!0,(s===2||s===9||s===3||s===6)&&(s=rn.current,s!==null&&s.tag===13&&(s.flags|=16384))),t9(n,t)):Hi(n)}function Hi(t){var n=t;do{if((n.flags&32768)!==0){t9(n,Mr);return}t=n.return;var l=W5(n.alternate,n,xr);if(l!==null){je=l;return}if(n=n.sibling,n!==null){je=n;return}je=n=t}while(n!==null);xt===0&&(xt=5)}function t9(t,n){do{var l=eE(t.alternate,t);if(l!==null){l.flags&=32767,je=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!n&&(t=t.sibling,t!==null)){je=t;return}je=t=l}while(t!==null);xt=6,je=null}function n9(t,n,l,s,d,m,B,D,P){t.cancelPendingCommit=null;do qi();while(Ct!==0);if(($e&6)!==0)throw Error(i(327));if(n!==null){if(n===t.current)throw Error(i(177));if(m=n.lanes|n.childLanes,m|=vs,Hm(t,l,m,B,D,P),t===tt&&(je=tt=null,Le=0),ea=n,_r=t,ur=l,Tx=m,_x=d,V1=s,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,fE(ke,function(){return o9(),null})):(t.callbackNode=null,t.callbackPriority=0),s=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||s){s=U.T,U.T=null,d=Y.p,Y.p=2,B=$e,$e|=4;try{tE(t,n,l)}finally{$e=B,Y.p=d,U.T=s}}Ct=1,r9(),a9(),l9()}}function r9(){if(Ct===1){Ct=0;var t=_r,n=ea,l=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||l){l=U.T,U.T=null;var s=Y.p;Y.p=2;var d=$e;$e|=4;try{O1(n,t);var m=Yx,B=If(t.containerInfo),D=m.focusedElem,P=m.selectionRange;if(B!==D&&D&&D.ownerDocument&&qf(D.ownerDocument.documentElement,D)){if(P!==null&&Cs(D)){var Z=P.start,ne=P.end;if(ne===void 0&&(ne=Z),"selectionStart"in D)D.selectionStart=Z,D.selectionEnd=Math.min(ne,D.value.length);else{var oe=D.ownerDocument||document,J=oe&&oe.defaultView||window;if(J.getSelection){var ee=J.getSelection(),Ee=D.textContent.length,be=Math.min(P.start,Ee),We=P.end===void 0?be:Math.min(P.end,Ee);!ee.extend&&be>We&&(B=We,We=be,be=B);var Q=Hf(D,be),q=Hf(D,We);if(Q&&q&&(ee.rangeCount!==1||ee.anchorNode!==Q.node||ee.anchorOffset!==Q.offset||ee.focusNode!==q.node||ee.focusOffset!==q.offset)){var X=oe.createRange();X.setStart(Q.node,Q.offset),ee.removeAllRanges(),be>We?(ee.addRange(X),ee.extend(q.node,q.offset)):(X.setEnd(q.node,q.offset),ee.addRange(X))}}}}for(oe=[],ee=D;ee=ee.parentNode;)ee.nodeType===1&&oe.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;D<oe.length;D++){var ie=oe[D];ie.element.scrollLeft=ie.left,ie.element.scrollTop=ie.top}}eo=!!Qx,Yx=Qx=null}finally{$e=d,Y.p=s,U.T=l}}t.current=n,Ct=2}}function a9(){if(Ct===2){Ct=0;var t=_r,n=ea,l=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||l){l=U.T,U.T=null;var s=Y.p;Y.p=2;var d=$e;$e|=4;try{T1(t,n.alternate,n)}finally{$e=d,Y.p=s,U.T=l}}Ct=3}}function l9(){if(Ct===4||Ct===3){Ct=0,Ko();var t=_r,n=ea,l=ur,s=V1;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?Ct=5:(Ct=0,ea=_r=null,i9(t,t.pendingLanes));var d=t.pendingLanes;if(d===0&&(Tr=null),es(l),n=n.stateNode,gt&&typeof gt.onCommitFiberRoot=="function")try{gt.onCommitFiberRoot(Rt,n,void 0,(n.current.flags&128)===128)}catch{}if(s!==null){n=U.T,d=Y.p,Y.p=2,U.T=null;try{for(var m=t.onRecoverableError,B=0;B<s.length;B++){var D=s[B];m(D.value,{componentStack:D.stack})}}finally{U.T=n,Y.p=d}}(ur&3)!==0&&qi(),Un(t),d=t.pendingLanes,(l&261930)!==0&&(d&42)!==0?t===jx?el++:(el=0,jx=t):el=0,tl(0)}}function i9(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,za(n)))}function qi(){return r9(),a9(),l9(),o9()}function o9(){if(Ct!==5)return!1;var t=_r,n=Tx;Tx=0;var l=es(ur),s=U.T,d=Y.p;try{Y.p=32>l?32:l,U.T=null,l=_x,_x=null;var m=_r,B=ur;if(Ct=0,ea=_r=null,ur=0,($e&6)!==0)throw Error(i(331));var D=$e;if($e|=4,q1(m.current),P1(m,m.current,B,l),$e=D,tl(0,!1),gt&&typeof gt.onPostCommitFiberRoot=="function")try{gt.onPostCommitFiberRoot(Rt,m)}catch{}return!0}finally{Y.p=d,U.T=s,i9(t,n)}}function s9(t,n,l){n=gn(l,n),n=fx(t.stateNode,n,2),t=kr(t,n,2),t!==null&&(Ba(t,2),Un(t))}function Ye(t,n,l){if(t.tag===3)s9(t,t,l);else for(;n!==null;){if(n.tag===3){s9(n,t,l);break}else if(n.tag===1){var s=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Tr===null||!Tr.has(s))){t=gn(l,t),l=x1(2),s=kr(n,l,2),s!==null&&(u1(l,s,n,t),Ba(s,2),Un(s));break}}n=n.return}}function Ox(t,n,l){var s=t.pingCache;if(s===null){s=t.pingCache=new aE;var d=new Set;s.set(n,d)}else d=s.get(n),d===void 0&&(d=new Set,s.set(n,d));d.has(l)||(Sx=!0,d.add(l),t=xE.bind(null,t,n,l),n.then(t,t))}function xE(t,n,l){var s=t.pingCache;s!==null&&s.delete(n),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,tt===t&&(Le&l)===l&&(xt===4||xt===3&&(Le&62914560)===Le&&300>zt()-Ri?($e&2)===0&&ta(t,0):Mx|=l,W0===Le&&(W0=0)),Un(t)}function x9(t,n){n===0&&(n=nf()),t=e0(t,n),t!==null&&(Ba(t,n),Un(t))}function uE(t){var n=t.memoizedState,l=0;n!==null&&(l=n.retryLane),x9(t,l)}function cE(t,n){var l=0;switch(t.tag){case 31:case 13:var s=t.stateNode,d=t.memoizedState;d!==null&&(l=d.retryLane);break;case 19:s=t.stateNode;break;case 22:s=t.stateNode._retryCache;break;default:throw Error(i(314))}s!==null&&s.delete(n),x9(t,l)}function fE(t,n){return b0(t,n)}var Ii=null,ra=null,Lx=!1,$i=!1,Px=!1,zr=0;function Un(t){t!==ra&&t.next===null&&(ra===null?Ii=ra=t:ra=ra.next=t),$i=!0,Lx||(Lx=!0,hE())}function tl(t,n){if(!Px&&$i){Px=!0;do for(var l=!1,s=Ii;s!==null;){if(t!==0){var d=s.pendingLanes;if(d===0)var m=0;else{var B=s.suspendedLanes,D=s.pingedLanes;m=(1<<31-et(42|t)+1)-1,m&=d&~(B&~D),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(l=!0,d9(s,m))}else m=Le,m=Yl(s,s===tt?m:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(m&3)===0||ya(s,m)||(l=!0,d9(s,m));s=s.next}while(l);Px=!1}}function dE(){u9()}function u9(){$i=Lx=!1;var t=0;zr!==0&&vE()&&(t=zr);for(var n=zt(),l=null,s=Ii;s!==null;){var d=s.next,m=c9(s,n);m===0?(s.next=null,l===null?Ii=d:l.next=d,d===null&&(ra=l)):(l=s,(t!==0||(m&3)!==0)&&($i=!0)),s=d}Ct!==0&&Ct!==5||tl(t),zr!==0&&(zr=0)}function c9(t,n){for(var l=t.suspendedLanes,s=t.pingedLanes,d=t.expirationTimes,m=t.pendingLanes&-62914561;0<m;){var B=31-et(m),D=1<<B,P=d[B];P===-1?((D&l)===0||(D&s)!==0)&&(d[B]=Um(D,n)):P<=n&&(t.expiredLanes|=D),m&=~D}if(n=tt,l=Le,l=Yl(t,t===n?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s=t.callbackNode,l===0||t===n&&(Qe===2||Qe===9)||t.cancelPendingCommit!==null)return s!==null&&s!==null&&Nt(s),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||ya(t,l)){if(n=l&-l,n===t.callbackPriority)return n;switch(s!==null&&Nt(s),es(l)){case 2:case 8:l=fe;break;case 32:l=ke;break;case 268435456:l=Ve;break;default:l=ke}return s=f9.bind(null,t),l=b0(l,s),t.callbackPriority=n,t.callbackNode=l,n}return s!==null&&s!==null&&Nt(s),t.callbackPriority=2,t.callbackNode=null,2}function f9(t,n){if(Ct!==0&&Ct!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(qi()&&t.callbackNode!==l)return null;var s=Le;return s=Yl(t,t===tt?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s===0?null:(Q1(t,s,n),c9(t,zt()),t.callbackNode!=null&&t.callbackNode===l?f9.bind(null,t):null)}function d9(t,n){if(qi())return null;Q1(t,n,!0)}function hE(){kE(function(){($e&6)!==0?b0(le,dE):u9()})}function Ux(){if(zr===0){var t=q0;t===0&&(t=Vl,Vl<<=1,(Vl&261888)===0&&(Vl=256)),zr=t}return zr}function h9(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Jl(""+t)}function p9(t,n){var l=n.ownerDocument.createElement("input");return l.name=n.name,l.value=n.value,t.id&&l.setAttribute("form",t.id),n.parentNode.insertBefore(l,n),t=new FormData(t),l.parentNode.removeChild(l),t}function pE(t,n,l,s,d){if(n==="submit"&&l&&l.stateNode===d){var m=h9((d[qt]||null).action),B=s.submitter;B&&(n=(n=B[qt]||null)?h9(n.formAction):B.getAttribute("formAction"),n!==null&&(m=n,B=null));var D=new ni("action","action",null,s,d);t.push({event:D,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(zr!==0){var P=B?p9(d,B):new FormData(d);ix(l,{pending:!0,data:P,method:d.method,action:m},null,P)}}else typeof m=="function"&&(D.preventDefault(),P=B?p9(d,B):new FormData(d),ix(l,{pending:!0,data:P,method:d.method,action:m},m,P))},currentTarget:d}]})}}for(var Hx=0;Hx<bs.length;Hx++){var qx=bs[Hx],mE=qx.toLowerCase(),EE=qx[0].toUpperCase()+qx.slice(1);Mn(mE,"on"+EE)}Mn(Gf,"onAnimationEnd"),Mn(Qf,"onAnimationIteration"),Mn(Yf,"onAnimationStart"),Mn("dblclick","onDoubleClick"),Mn("focusin","onFocus"),Mn("focusout","onBlur"),Mn(_5,"onTransitionRun"),Mn(j5,"onTransitionStart"),Mn(z5,"onTransitionCancel"),Mn(Xf,"onTransitionEnd"),w0("onMouseEnter",["mouseout","mouseover"]),w0("onMouseLeave",["mouseout","mouseover"]),w0("onPointerEnter",["pointerout","pointerover"]),w0("onPointerLeave",["pointerout","pointerover"]),Kr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Kr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Kr("onBeforeInput",["compositionend","keypress","textInput","paste"]),Kr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Kr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Kr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nl="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(" "),gE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(nl));function m9(t,n){n=(n&4)!==0;for(var l=0;l<t.length;l++){var s=t[l],d=s.event;s=s.listeners;e:{var m=void 0;if(n)for(var B=s.length-1;0<=B;B--){var D=s[B],P=D.instance,Z=D.currentTarget;if(D=D.listener,P!==m&&d.isPropagationStopped())break e;m=D,d.currentTarget=Z;try{m(d)}catch(ne){li(ne)}d.currentTarget=null,m=P}else for(B=0;B<s.length;B++){if(D=s[B],P=D.instance,Z=D.currentTarget,D=D.listener,P!==m&&d.isPropagationStopped())break e;m=D,d.currentTarget=Z;try{m(d)}catch(ne){li(ne)}d.currentTarget=null,m=P}}}}function ze(t,n){var l=n[ts];l===void 0&&(l=n[ts]=new Set);var s=t+"__bubble";l.has(s)||(E9(n,t,2,!1),l.add(s))}function Ix(t,n,l){var s=0;n&&(s|=4),E9(l,t,s,n)}var Vi="_reactListening"+Math.random().toString(36).slice(2);function $x(t){if(!t[Vi]){t[Vi]=!0,uf.forEach(function(l){l!=="selectionchange"&&(gE.has(l)||Ix(l,!1,t),Ix(l,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[Vi]||(n[Vi]=!0,Ix("selectionchange",!1,n))}}function E9(t,n,l,s){switch(G9(n)){case 2:var d=GE;break;case 8:d=QE;break;default:d=lu}l=d.bind(null,n,l,t),d=void 0,!us||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(d=!0),s?d!==void 0?t.addEventListener(n,l,{capture:!0,passive:d}):t.addEventListener(n,l,!0):d!==void 0?t.addEventListener(n,l,{passive:d}):t.addEventListener(n,l,!1)}function Vx(t,n,l,s,d){var m=s;if((n&1)===0&&(n&2)===0&&s!==null)e:for(;;){if(s===null)return;var B=s.tag;if(B===3||B===4){var D=s.stateNode.containerInfo;if(D===d)break;if(B===4)for(B=s.return;B!==null;){var P=B.tag;if((P===3||P===4)&&B.stateNode.containerInfo===d)return;B=B.return}for(;D!==null;){if(B=D0(D),B===null)return;if(P=B.tag,P===5||P===6||P===26||P===27){s=m=B;continue e}D=D.parentNode}}s=s.return}Af(function(){var Z=m,ne=ss(l),oe=[];e:{var J=Kf.get(t);if(J!==void 0){var ee=ni,Ee=t;switch(t){case"keypress":if(ei(l)===0)break e;case"keydown":case"keyup":ee=c5;break;case"focusin":Ee="focus",ee=hs;break;case"focusout":Ee="blur",ee=hs;break;case"beforeblur":case"afterblur":ee=hs;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ee=Df;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=Wm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=h5;break;case Gf:case Qf:case Yf:ee=n5;break;case Xf:ee=m5;break;case"scroll":case"scrollend":ee=Zm;break;case"wheel":ee=g5;break;case"copy":case"cut":case"paste":ee=a5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=Ff;break;case"toggle":case"beforetoggle":ee=y5}var be=(n&4)!==0,We=!be&&(t==="scroll"||t==="scrollend"),Q=be?J!==null?J+"Capture":null:J;be=[];for(var q=Z,X;q!==null;){var ie=q;if(X=ie.stateNode,ie=ie.tag,ie!==5&&ie!==26&&ie!==27||X===null||Q===null||(ie=va(q,Q),ie!=null&&be.push(rl(q,ie,X))),We)break;q=q.return}0<be.length&&(J=new ee(J,Ee,null,l,ne),oe.push({event:J,listeners:be}))}}if((n&7)===0){e:{if(J=t==="mouseover"||t==="pointerover",ee=t==="mouseout"||t==="pointerout",J&&l!==os&&(Ee=l.relatedTarget||l.fromElement)&&(D0(Ee)||Ee[v0]))break e;if((ee||J)&&(J=ne.window===ne?ne:(J=ne.ownerDocument)?J.defaultView||J.parentWindow:window,ee?(Ee=l.relatedTarget||l.toElement,ee=Z,Ee=Ee?D0(Ee):null,Ee!==null&&(We=x(Ee),be=Ee.tag,Ee!==We||be!==5&&be!==27&&be!==6)&&(Ee=null)):(ee=null,Ee=Z),ee!==Ee)){if(be=Df,ie="onMouseLeave",Q="onMouseEnter",q="mouse",(t==="pointerout"||t==="pointerover")&&(be=Ff,ie="onPointerLeave",Q="onPointerEnter",q="pointer"),We=ee==null?J:ba(ee),X=Ee==null?J:ba(Ee),J=new be(ie,q+"leave",ee,l,ne),J.target=We,J.relatedTarget=X,ie=null,D0(ne)===Z&&(be=new be(Q,q+"enter",Ee,l,ne),be.target=X,be.relatedTarget=We,ie=be),We=ie,ee&&Ee)t:{for(be=CE,Q=ee,q=Ee,X=0,ie=Q;ie;ie=be(ie))X++;ie=0;for(var ye=q;ye;ye=be(ye))ie++;for(;0<X-ie;)Q=be(Q),X--;for(;0<ie-X;)q=be(q),ie--;for(;X--;){if(Q===q||q!==null&&Q===q.alternate){be=Q;break t}Q=be(Q),q=be(q)}be=null}else be=null;ee!==null&&g9(oe,J,ee,be,!1),Ee!==null&&We!==null&&g9(oe,We,Ee,be,!0)}}e:{if(J=Z?ba(Z):window,ee=J.nodeName&&J.nodeName.toLowerCase(),ee==="select"||ee==="input"&&J.type==="file")var qe=zf;else if(_f(J))if(Rf)qe=M5;else{qe=w5;var ge=F5}else ee=J.nodeName,!ee||ee.toLowerCase()!=="input"||J.type!=="checkbox"&&J.type!=="radio"?Z&&is(Z.elementType)&&(qe=zf):qe=S5;if(qe&&(qe=qe(t,Z))){jf(oe,qe,l,ne);break e}ge&&ge(t,J,Z),t==="focusout"&&Z&&J.type==="number"&&Z.memoizedProps.value!=null&&ls(J,"number",J.value)}switch(ge=Z?ba(Z):window,t){case"focusin":(_f(ge)||ge.contentEditable==="true")&&(j0=ge,ys=Z,Ta=null);break;case"focusout":Ta=ys=j0=null;break;case"mousedown":Bs=!0;break;case"contextmenu":case"mouseup":case"dragend":Bs=!1,$f(oe,l,ne);break;case"selectionchange":if(T5)break;case"keydown":case"keyup":$f(oe,l,ne)}var Me;if(ms)e:{switch(t){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else _0?Nf(t,l)&&(Pe="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(Pe="onCompositionStart");Pe&&(wf&&l.locale!=="ko"&&(_0||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&_0&&(Me=bf()):(Cr=ne,cs="value"in Cr?Cr.value:Cr.textContent,_0=!0)),ge=Gi(Z,Pe),0<ge.length&&(Pe=new kf(Pe,t,null,l,ne),oe.push({event:Pe,listeners:ge}),Me?Pe.data=Me:(Me=Tf(l),Me!==null&&(Pe.data=Me)))),(Me=A5?b5(t,l):v5(t,l))&&(Pe=Gi(Z,"onBeforeInput"),0<Pe.length&&(ge=new kf("onBeforeInput","beforeinput",null,l,ne),oe.push({event:ge,listeners:Pe}),ge.data=Me)),pE(oe,t,Z,l,ne)}m9(oe,n)})}function rl(t,n,l){return{instance:t,listener:n,currentTarget:l}}function Gi(t,n){for(var l=n+"Capture",s=[];t!==null;){var d=t,m=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||m===null||(d=va(t,l),d!=null&&s.unshift(rl(t,d,m)),d=va(t,n),d!=null&&s.push(rl(t,d,m))),t.tag===3)return s;t=t.return}return[]}function CE(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function g9(t,n,l,s,d){for(var m=n._reactName,B=[];l!==null&&l!==s;){var D=l,P=D.alternate,Z=D.stateNode;if(D=D.tag,P!==null&&P===s)break;D!==5&&D!==26&&D!==27||Z===null||(P=Z,d?(Z=va(l,m),Z!=null&&B.unshift(rl(l,Z,P))):d||(Z=va(l,m),Z!=null&&B.push(rl(l,Z,P)))),l=l.return}B.length!==0&&t.push({event:n,listeners:B})}var yE=/\r\n?/g,BE=/\u0000|\uFFFD/g;function C9(t){return(typeof t=="string"?t:""+t).replace(yE,`
|
|
9
9
|
`).replace(BE,"")}function y9(t,n){return n=C9(n),C9(t)===n}function Je(t,n,l,s,d,m){switch(l){case"children":typeof s=="string"?n==="body"||n==="textarea"&&s===""||M0(t,s):(typeof s=="number"||typeof s=="bigint")&&n!=="body"&&M0(t,""+s);break;case"className":Kl(t,"class",s);break;case"tabIndex":Kl(t,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Kl(t,l,s);break;case"style":yf(t,s,m);break;case"data":if(n!=="object"){Kl(t,"data",s);break}case"src":case"href":if(s===""&&(n!=="a"||l!=="href")){t.removeAttribute(l);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(l);break}s=Jl(""+s),t.setAttribute(l,s);break;case"action":case"formAction":if(typeof s=="function"){t.setAttribute(l,"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 m=="function"&&(l==="formAction"?(n!=="input"&&Je(t,n,"name",d.name,d,null),Je(t,n,"formEncType",d.formEncType,d,null),Je(t,n,"formMethod",d.formMethod,d,null),Je(t,n,"formTarget",d.formTarget,d,null)):(Je(t,n,"encType",d.encType,d,null),Je(t,n,"method",d.method,d,null),Je(t,n,"target",d.target,d,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(l);break}s=Jl(""+s),t.setAttribute(l,s);break;case"onClick":s!=null&&(t.onclick=Xn);break;case"onScroll":s!=null&&ze("scroll",t);break;case"onScrollEnd":s!=null&&ze("scrollend",t);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(i(61));if(l=s.__html,l!=null){if(d.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"multiple":t.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":t.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){t.removeAttribute("xlink:href");break}l=Jl(""+s),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(l,""+s):t.removeAttribute(l);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":s&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":s===!0?t.setAttribute(l,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(l,s):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?t.setAttribute(l,s):t.removeAttribute(l);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?t.removeAttribute(l):t.setAttribute(l,s);break;case"popover":ze("beforetoggle",t),ze("toggle",t),Xl(t,"popover",s);break;case"xlinkActuate":Yn(t,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":Yn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":Yn(t,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":Yn(t,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":Yn(t,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":Yn(t,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Xl(t,"is",s);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Xm.get(l)||l,Xl(t,l,s))}}function Gx(t,n,l,s,d,m){switch(l){case"style":yf(t,s,m);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(i(61));if(l=s.__html,l!=null){if(d.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"children":typeof s=="string"?M0(t,s):(typeof s=="number"||typeof s=="bigint")&&M0(t,""+s);break;case"onScroll":s!=null&&ze("scroll",t);break;case"onScrollEnd":s!=null&&ze("scrollend",t);break;case"onClick":s!=null&&(t.onclick=Xn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!cf.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(d=l.endsWith("Capture"),n=l.slice(2,d?l.length-7:void 0),m=t[qt]||null,m=m!=null?m[l]:null,typeof m=="function"&&t.removeEventListener(n,m,d),typeof s=="function")){typeof m!="function"&&m!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(n,s,d);break e}l in t?t[l]=s:s===!0?t.setAttribute(l,""):Xl(t,l,s)}}}function St(t,n,l){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ze("error",t),ze("load",t);var s=!1,d=!1,m;for(m in l)if(l.hasOwnProperty(m)){var B=l[m];if(B!=null)switch(m){case"src":s=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:Je(t,n,m,B,l,null)}}d&&Je(t,n,"srcSet",l.srcSet,l,null),s&&Je(t,n,"src",l.src,l,null);return;case"input":ze("invalid",t);var D=m=B=d=null,P=null,Z=null;for(s in l)if(l.hasOwnProperty(s)){var ne=l[s];if(ne!=null)switch(s){case"name":d=ne;break;case"type":B=ne;break;case"checked":P=ne;break;case"defaultChecked":Z=ne;break;case"value":m=ne;break;case"defaultValue":D=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(i(137,n));break;default:Je(t,n,s,ne,l,null)}}mf(t,m,D,P,Z,B,d,!1);return;case"select":ze("invalid",t),s=B=m=null;for(d in l)if(l.hasOwnProperty(d)&&(D=l[d],D!=null))switch(d){case"value":m=D;break;case"defaultValue":B=D;break;case"multiple":s=D;default:Je(t,n,d,D,l,null)}n=m,l=B,t.multiple=!!s,n!=null?S0(t,!!s,n,!1):l!=null&&S0(t,!!s,l,!0);return;case"textarea":ze("invalid",t),m=d=s=null;for(B in l)if(l.hasOwnProperty(B)&&(D=l[B],D!=null))switch(B){case"value":s=D;break;case"defaultValue":d=D;break;case"children":m=D;break;case"dangerouslySetInnerHTML":if(D!=null)throw Error(i(91));break;default:Je(t,n,B,D,l,null)}gf(t,s,d,m);return;case"option":for(P in l)l.hasOwnProperty(P)&&(s=l[P],s!=null)&&(P==="selected"?t.selected=s&&typeof s!="function"&&typeof s!="symbol":Je(t,n,P,s,l,null));return;case"dialog":ze("beforetoggle",t),ze("toggle",t),ze("cancel",t),ze("close",t);break;case"iframe":case"object":ze("load",t);break;case"video":case"audio":for(s=0;s<nl.length;s++)ze(nl[s],t);break;case"image":ze("error",t),ze("load",t);break;case"details":ze("toggle",t);break;case"embed":case"source":case"link":ze("error",t),ze("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Z in l)if(l.hasOwnProperty(Z)&&(s=l[Z],s!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:Je(t,n,Z,s,l,null)}return;default:if(is(n)){for(ne in l)l.hasOwnProperty(ne)&&(s=l[ne],s!==void 0&&Gx(t,n,ne,s,l,void 0));return}}for(D in l)l.hasOwnProperty(D)&&(s=l[D],s!=null&&Je(t,n,D,s,l,null))}function AE(t,n,l,s){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,m=null,B=null,D=null,P=null,Z=null,ne=null;for(ee in l){var oe=l[ee];if(l.hasOwnProperty(ee)&&oe!=null)switch(ee){case"checked":break;case"value":break;case"defaultValue":P=oe;default:s.hasOwnProperty(ee)||Je(t,n,ee,null,s,oe)}}for(var J in s){var ee=s[J];if(oe=l[J],s.hasOwnProperty(J)&&(ee!=null||oe!=null))switch(J){case"type":m=ee;break;case"name":d=ee;break;case"checked":Z=ee;break;case"defaultChecked":ne=ee;break;case"value":B=ee;break;case"defaultValue":D=ee;break;case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(i(137,n));break;default:ee!==oe&&Je(t,n,J,ee,s,oe)}}as(t,B,D,P,Z,ne,m,d);return;case"select":ee=B=D=J=null;for(m in l)if(P=l[m],l.hasOwnProperty(m)&&P!=null)switch(m){case"value":break;case"multiple":ee=P;default:s.hasOwnProperty(m)||Je(t,n,m,null,s,P)}for(d in s)if(m=s[d],P=l[d],s.hasOwnProperty(d)&&(m!=null||P!=null))switch(d){case"value":J=m;break;case"defaultValue":D=m;break;case"multiple":B=m;default:m!==P&&Je(t,n,d,m,s,P)}n=D,l=B,s=ee,J!=null?S0(t,!!l,J,!1):!!s!=!!l&&(n!=null?S0(t,!!l,n,!0):S0(t,!!l,l?[]:"",!1));return;case"textarea":ee=J=null;for(D in l)if(d=l[D],l.hasOwnProperty(D)&&d!=null&&!s.hasOwnProperty(D))switch(D){case"value":break;case"children":break;default:Je(t,n,D,null,s,d)}for(B in s)if(d=s[B],m=l[B],s.hasOwnProperty(B)&&(d!=null||m!=null))switch(B){case"value":J=d;break;case"defaultValue":ee=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(i(91));break;default:d!==m&&Je(t,n,B,d,s,m)}Ef(t,J,ee);return;case"option":for(var Ee in l)J=l[Ee],l.hasOwnProperty(Ee)&&J!=null&&!s.hasOwnProperty(Ee)&&(Ee==="selected"?t.selected=!1:Je(t,n,Ee,null,s,J));for(P in s)J=s[P],ee=l[P],s.hasOwnProperty(P)&&J!==ee&&(J!=null||ee!=null)&&(P==="selected"?t.selected=J&&typeof J!="function"&&typeof J!="symbol":Je(t,n,P,J,s,ee));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 be in l)J=l[be],l.hasOwnProperty(be)&&J!=null&&!s.hasOwnProperty(be)&&Je(t,n,be,null,s,J);for(Z in s)if(J=s[Z],ee=l[Z],s.hasOwnProperty(Z)&&J!==ee&&(J!=null||ee!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(i(137,n));break;default:Je(t,n,Z,J,s,ee)}return;default:if(is(n)){for(var We in l)J=l[We],l.hasOwnProperty(We)&&J!==void 0&&!s.hasOwnProperty(We)&&Gx(t,n,We,void 0,s,J);for(ne in s)J=s[ne],ee=l[ne],!s.hasOwnProperty(ne)||J===ee||J===void 0&&ee===void 0||Gx(t,n,ne,J,s,ee);return}}for(var Q in l)J=l[Q],l.hasOwnProperty(Q)&&J!=null&&!s.hasOwnProperty(Q)&&Je(t,n,Q,null,s,J);for(oe in s)J=s[oe],ee=l[oe],!s.hasOwnProperty(oe)||J===ee||J==null&&ee==null||Je(t,n,oe,J,s,ee)}function B9(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function bE(){if(typeof performance.getEntriesByType=="function"){for(var t=0,n=0,l=performance.getEntriesByType("resource"),s=0;s<l.length;s++){var d=l[s],m=d.transferSize,B=d.initiatorType,D=d.duration;if(m&&D&&B9(B)){for(B=0,D=d.responseEnd,s+=1;s<l.length;s++){var P=l[s],Z=P.startTime;if(Z>D)break;var ne=P.transferSize,oe=P.initiatorType;ne&&B9(oe)&&(P=P.responseEnd,B+=ne*(P<D?1:(D-Z)/(P-Z)))}if(--s,n+=8*(m+B)/(d.duration/1e3),t++,10<t)break}}if(0<t)return n/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Qx=null,Yx=null;function Qi(t){return t.nodeType===9?t:t.ownerDocument}function A9(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function b9(t,n){if(t===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&n==="foreignObject"?0:t}function Xx(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Kx=null;function vE(){var t=window.event;return t&&t.type==="popstate"?t===Kx?!1:(Kx=t,!0):(Kx=null,!1)}var v9=typeof setTimeout=="function"?setTimeout:void 0,DE=typeof clearTimeout=="function"?clearTimeout:void 0,D9=typeof Promise=="function"?Promise:void 0,kE=typeof queueMicrotask=="function"?queueMicrotask:typeof D9<"u"?function(t){return D9.resolve(null).then(t).catch(FE)}:v9;function FE(t){setTimeout(function(){throw t})}function Rr(t){return t==="head"}function k9(t,n){var l=n,s=0;do{var d=l.nextSibling;if(t.removeChild(l),d&&d.nodeType===8)if(l=d.data,l==="/$"||l==="/&"){if(s===0){t.removeChild(d),oa(n);return}s--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")s++;else if(l==="html")al(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,al(l);for(var m=l.firstChild;m;){var B=m.nextSibling,D=m.nodeName;m[Aa]||D==="SCRIPT"||D==="STYLE"||D==="LINK"&&m.rel.toLowerCase()==="stylesheet"||l.removeChild(m),m=B}}else l==="body"&&al(t.ownerDocument.body);l=d}while(l);oa(n)}function F9(t,n){var l=t;t=0;do{var s=l.nextSibling;if(l.nodeType===1?n?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(n?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),s&&s.nodeType===8)if(l=s.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=s}while(l)}function Zx(t){var n=t.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var l=n;switch(n=n.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Zx(l),ns(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function wE(t,n,l,s){for(;t.nodeType===1;){var d=l;if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!s&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(s){if(!t[Aa])switch(n){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(m=t.getAttribute("rel"),m==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(m!==d.rel||t.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||t.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||t.getAttribute("title")!==(d.title==null?null:d.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(m=t.getAttribute("src"),(m!==(d.src==null?null:d.src)||t.getAttribute("type")!==(d.type==null?null:d.type)||t.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&m&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(n==="input"&&t.type==="hidden"){var m=d.name==null?null:""+d.name;if(d.type==="hidden"&&t.getAttribute("name")===m)return t}else return t;if(t=bn(t.nextSibling),t===null)break}return null}function SE(t,n,l){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=bn(t.nextSibling),t===null))return null;return t}function w9(t,n){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=bn(t.nextSibling),t===null))return null;return t}function Jx(t){return t.data==="$?"||t.data==="$~"}function Wx(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function ME(t,n){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=n;else if(t.data!=="$?"||l.readyState!=="loading")n();else{var s=function(){n(),l.removeEventListener("DOMContentLoaded",s)};l.addEventListener("DOMContentLoaded",s),t._reactRetry=s}}function bn(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return t}var eu=null;function S9(t){t=t.nextSibling;for(var n=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(n===0)return bn(t.nextSibling);n--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||n++}t=t.nextSibling}return null}function M9(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(n===0)return t;n--}else l!=="/$"&&l!=="/&"||n++}t=t.previousSibling}return null}function N9(t,n,l){switch(n=Qi(l),t){case"html":if(t=n.documentElement,!t)throw Error(i(452));return t;case"head":if(t=n.head,!t)throw Error(i(453));return t;case"body":if(t=n.body,!t)throw Error(i(454));return t;default:throw Error(i(451))}}function al(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);ns(t)}var vn=new Map,T9=new Set;function Yi(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var cr=Y.d;Y.d={f:NE,r:TE,D:_E,C:jE,L:zE,m:RE,X:LE,S:OE,M:PE};function NE(){var t=cr.f(),n=Pi();return t||n}function TE(t){var n=k0(t);n!==null&&n.tag===5&&n.type==="form"?Xd(n):cr.r(t)}var aa=typeof document>"u"?null:document;function _9(t,n,l){var s=aa;if(s&&typeof n=="string"&&n){var d=mn(n);d='link[rel="'+t+'"][href="'+d+'"]',typeof l=="string"&&(d+='[crossorigin="'+l+'"]'),T9.has(d)||(T9.add(d),t={rel:t,crossOrigin:l,href:n},s.querySelector(d)===null&&(n=s.createElement("link"),St(n,"link",t),At(n),s.head.appendChild(n)))}}function _E(t){cr.D(t),_9("dns-prefetch",t,null)}function jE(t,n){cr.C(t,n),_9("preconnect",t,n)}function zE(t,n,l){cr.L(t,n,l);var s=aa;if(s&&t&&n){var d='link[rel="preload"][as="'+mn(n)+'"]';n==="image"&&l&&l.imageSrcSet?(d+='[imagesrcset="'+mn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(d+='[imagesizes="'+mn(l.imageSizes)+'"]')):d+='[href="'+mn(t)+'"]';var m=d;switch(n){case"style":m=la(t);break;case"script":m=ia(t)}vn.has(m)||(t=p({rel:"preload",href:n==="image"&&l&&l.imageSrcSet?void 0:t,as:n},l),vn.set(m,t),s.querySelector(d)!==null||n==="style"&&s.querySelector(ll(m))||n==="script"&&s.querySelector(il(m))||(n=s.createElement("link"),St(n,"link",t),At(n),s.head.appendChild(n)))}}function RE(t,n){cr.m(t,n);var l=aa;if(l&&t){var s=n&&typeof n.as=="string"?n.as:"script",d='link[rel="modulepreload"][as="'+mn(s)+'"][href="'+mn(t)+'"]',m=d;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=ia(t)}if(!vn.has(m)&&(t=p({rel:"modulepreload",href:t},n),vn.set(m,t),l.querySelector(d)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(il(m)))return}s=l.createElement("link"),St(s,"link",t),At(s),l.head.appendChild(s)}}}function OE(t,n,l){cr.S(t,n,l);var s=aa;if(s&&t){var d=F0(s).hoistableStyles,m=la(t);n=n||"default";var B=d.get(m);if(!B){var D={loading:0,preload:null};if(B=s.querySelector(ll(m)))D.loading=5;else{t=p({rel:"stylesheet",href:t,"data-precedence":n},l),(l=vn.get(m))&&tu(t,l);var P=B=s.createElement("link");At(P),St(P,"link",t),P._p=new Promise(function(Z,ne){P.onload=Z,P.onerror=ne}),P.addEventListener("load",function(){D.loading|=1}),P.addEventListener("error",function(){D.loading|=2}),D.loading|=4,Xi(B,n,s)}B={type:"stylesheet",instance:B,count:1,state:D},d.set(m,B)}}}function LE(t,n){cr.X(t,n);var l=aa;if(l&&t){var s=F0(l).hoistableScripts,d=ia(t),m=s.get(d);m||(m=l.querySelector(il(d)),m||(t=p({src:t,async:!0},n),(n=vn.get(d))&&nu(t,n),m=l.createElement("script"),At(m),St(m,"link",t),l.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},s.set(d,m))}}function PE(t,n){cr.M(t,n);var l=aa;if(l&&t){var s=F0(l).hoistableScripts,d=ia(t),m=s.get(d);m||(m=l.querySelector(il(d)),m||(t=p({src:t,async:!0,type:"module"},n),(n=vn.get(d))&&nu(t,n),m=l.createElement("script"),At(m),St(m,"link",t),l.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},s.set(d,m))}}function j9(t,n,l,s){var d=(d=ue.current)?Yi(d):null;if(!d)throw Error(i(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(n=la(l.href),l=F0(d).hoistableStyles,s=l.get(n),s||(s={type:"style",instance:null,count:0,state:null},l.set(n,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=la(l.href);var m=F0(d).hoistableStyles,B=m.get(t);if(B||(d=d.ownerDocument||d,B={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(t,B),(m=d.querySelector(ll(t)))&&!m._p&&(B.instance=m,B.state.loading=5),vn.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},vn.set(t,l),m||UE(d,t,l,B.state))),n&&s===null)throw Error(i(528,""));return B}if(n&&s!==null)throw Error(i(529,""));return null;case"script":return n=l.async,l=l.src,typeof l=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=ia(l),l=F0(d).hoistableScripts,s=l.get(n),s||(s={type:"script",instance:null,count:0,state:null},l.set(n,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,t))}}function la(t){return'href="'+mn(t)+'"'}function ll(t){return'link[rel="stylesheet"]['+t+"]"}function z9(t){return p({},t,{"data-precedence":t.precedence,precedence:null})}function UE(t,n,l,s){t.querySelector('link[rel="preload"][as="style"]['+n+"]")?s.loading=1:(n=t.createElement("link"),s.preload=n,n.addEventListener("load",function(){return s.loading|=1}),n.addEventListener("error",function(){return s.loading|=2}),St(n,"link",l),At(n),t.head.appendChild(n))}function ia(t){return'[src="'+mn(t)+'"]'}function il(t){return"script[async]"+t}function R9(t,n,l){if(n.count++,n.instance===null)switch(n.type){case"style":var s=t.querySelector('style[data-href~="'+mn(l.href)+'"]');if(s)return n.instance=s,At(s),s;var d=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return s=(t.ownerDocument||t).createElement("style"),At(s),St(s,"style",d),Xi(s,l.precedence,t),n.instance=s;case"stylesheet":d=la(l.href);var m=t.querySelector(ll(d));if(m)return n.state.loading|=4,n.instance=m,At(m),m;s=z9(l),(d=vn.get(d))&&tu(s,d),m=(t.ownerDocument||t).createElement("link"),At(m);var B=m;return B._p=new Promise(function(D,P){B.onload=D,B.onerror=P}),St(m,"link",s),n.state.loading|=4,Xi(m,l.precedence,t),n.instance=m;case"script":return m=ia(l.src),(d=t.querySelector(il(m)))?(n.instance=d,At(d),d):(s=l,(d=vn.get(m))&&(s=p({},l),nu(s,d)),t=t.ownerDocument||t,d=t.createElement("script"),At(d),St(d,"link",s),t.head.appendChild(d),n.instance=d);case"void":return null;default:throw Error(i(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(s=n.instance,n.state.loading|=4,Xi(s,l.precedence,t));return n.instance}function Xi(t,n,l){for(var s=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=s.length?s[s.length-1]:null,m=d,B=0;B<s.length;B++){var D=s[B];if(D.dataset.precedence===n)m=D;else if(m!==d)break}m?m.parentNode.insertBefore(t,m.nextSibling):(n=l.nodeType===9?l.head:l,n.insertBefore(t,n.firstChild))}function tu(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function nu(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var Ki=null;function O9(t,n,l){if(Ki===null){var s=new Map,d=Ki=new Map;d.set(l,s)}else d=Ki,s=d.get(l),s||(s=new Map,d.set(l,s));if(s.has(t))return s;for(s.set(t,null),l=l.getElementsByTagName(t),d=0;d<l.length;d++){var m=l[d];if(!(m[Aa]||m[Dt]||t==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var B=m.getAttribute(n)||"";B=t+B;var D=s.get(B);D?D.push(m):s.set(B,[m])}}return s}function L9(t,n,l){t=t.ownerDocument||t,t.head.insertBefore(l,n==="title"?t.querySelector("head > title"):null)}function HE(t,n,l){if(l===1||n.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(t=n.disabled,typeof n.precedence=="string"&&t==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function P9(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function qE(t,n,l,s){if(l.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var d=la(s.href),m=n.querySelector(ll(d));if(m){n=m._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(t.count++,t=Zi.bind(t),n.then(t,t)),l.state.loading|=4,l.instance=m,At(m);return}m=n.ownerDocument||n,s=z9(s),(d=vn.get(d))&&tu(s,d),m=m.createElement("link"),At(m);var B=m;B._p=new Promise(function(D,P){B.onload=D,B.onerror=P}),St(m,"link",s),l.instance=m}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,n),(n=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=Zi.bind(t),n.addEventListener("load",l),n.addEventListener("error",l))}}var ru=0;function IE(t,n){return t.stylesheets&&t.count===0&&Wi(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var s=setTimeout(function(){if(t.stylesheets&&Wi(t,t.stylesheets),t.unsuspend){var m=t.unsuspend;t.unsuspend=null,m()}},6e4+n);0<t.imgBytes&&ru===0&&(ru=62500*bE());var d=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Wi(t,t.stylesheets),t.unsuspend)){var m=t.unsuspend;t.unsuspend=null,m()}},(t.imgBytes>ru?50:800)+n);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(s),clearTimeout(d)}}:null}function Zi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Wi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ji=null;function Wi(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ji=new Map,n.forEach($E,t),Ji=null,Zi.call(t))}function $E(t,n){if(!(n.state.loading&4)){var l=Ji.get(t);if(l)var s=l.get(null);else{l=new Map,Ji.set(t,l);for(var d=t.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<d.length;m++){var B=d[m];(B.nodeName==="LINK"||B.getAttribute("media")!=="not all")&&(l.set(B.dataset.precedence,B),s=B)}s&&l.set(null,s)}d=n.instance,B=d.getAttribute("data-precedence"),m=l.get(B)||s,m===s&&l.set(null,d),l.set(B,d),this.count++,s=Zi.bind(this),d.addEventListener("load",s),d.addEventListener("error",s),m?m.parentNode.insertBefore(d,m.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(d,t.firstChild)),n.state.loading|=4}}var ol={$$typeof:w,Provider:null,Consumer:null,_currentValue:re,_currentValue2:re,_threadCount:0};function VE(t,n,l,s,d,m,B,D,P){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Jo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jo(0),this.hiddenUpdates=Jo(null),this.identifierPrefix=s,this.onUncaughtError=d,this.onCaughtError=m,this.onRecoverableError=B,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=P,this.incompleteTransitions=new Map}function U9(t,n,l,s,d,m,B,D,P,Z,ne,oe){return t=new VE(t,n,l,B,P,Z,ne,oe,D),n=1,m===!0&&(n|=24),m=nn(3,null,null,n),t.current=m,m.stateNode=t,n=Rs(),n.refCount++,t.pooledCache=n,n.refCount++,m.memoizedState={element:s,isDehydrated:l,cache:n},Us(m),t}function H9(t){return t?(t=O0,t):O0}function q9(t,n,l,s,d,m){d=H9(d),s.context===null?s.context=d:s.pendingContext=d,s=Dr(n),s.payload={element:l},m=m===void 0?null:m,m!==null&&(s.callback=m),l=kr(t,s,n),l!==null&&(Yt(l,t,n),Pa(l,t,n))}function I9(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<n?l:n}}function au(t,n){I9(t,n),(t=t.alternate)&&I9(t,n)}function $9(t){if(t.tag===13||t.tag===31){var n=e0(t,67108864);n!==null&&Yt(n,t,67108864),au(t,67108864)}}function V9(t){if(t.tag===13||t.tag===31){var n=sn();n=Wo(n);var l=e0(t,n);l!==null&&Yt(l,t,n),au(t,n)}}var eo=!0;function GE(t,n,l,s){var d=U.T;U.T=null;var m=Y.p;try{Y.p=2,lu(t,n,l,s)}finally{Y.p=m,U.T=d}}function QE(t,n,l,s){var d=U.T;U.T=null;var m=Y.p;try{Y.p=8,lu(t,n,l,s)}finally{Y.p=m,U.T=d}}function lu(t,n,l,s){if(eo){var d=iu(s);if(d===null)Vx(t,n,s,to,l),Q9(t,s);else if(XE(d,t,n,l,s))s.stopPropagation();else if(Q9(t,s),n&4&&-1<YE.indexOf(t)){for(;d!==null;){var m=k0(d);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var B=Xr(m.pendingLanes);if(B!==0){var D=m;for(D.pendingLanes|=2,D.entangledLanes|=2;B;){var P=1<<31-et(B);D.entanglements[1]|=P,B&=~P}Un(m),($e&6)===0&&(Oi=zt()+500,tl(0))}}break;case 31:case 13:D=e0(m,2),D!==null&&Yt(D,m,2),Pi(),au(m,2)}if(m=iu(s),m===null&&Vx(t,n,s,to,l),m===d)break;d=m}d!==null&&s.stopPropagation()}else Vx(t,n,s,null,l)}}function iu(t){return t=ss(t),ou(t)}var to=null;function ou(t){if(to=null,t=D0(t),t!==null){var n=x(t);if(n===null)t=null;else{var l=n.tag;if(l===13){if(t=u(n),t!==null)return t;t=null}else if(l===31){if(t=c(n),t!==null)return t;t=null}else if(l===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return to=t,null}function G9(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Zo()){case le:return 2;case fe:return 8;case ke:case _e:return 32;case Ve:return 268435456;default:return 32}default:return 32}}var su=!1,Or=null,Lr=null,Pr=null,sl=new Map,xl=new Map,Ur=[],YE="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 Q9(t,n){switch(t){case"focusin":case"focusout":Or=null;break;case"dragenter":case"dragleave":Lr=null;break;case"mouseover":case"mouseout":Pr=null;break;case"pointerover":case"pointerout":sl.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":xl.delete(n.pointerId)}}function ul(t,n,l,s,d,m){return t===null||t.nativeEvent!==m?(t={blockedOn:n,domEventName:l,eventSystemFlags:s,nativeEvent:m,targetContainers:[d]},n!==null&&(n=k0(n),n!==null&&$9(n)),t):(t.eventSystemFlags|=s,n=t.targetContainers,d!==null&&n.indexOf(d)===-1&&n.push(d),t)}function XE(t,n,l,s,d){switch(n){case"focusin":return Or=ul(Or,t,n,l,s,d),!0;case"dragenter":return Lr=ul(Lr,t,n,l,s,d),!0;case"mouseover":return Pr=ul(Pr,t,n,l,s,d),!0;case"pointerover":var m=d.pointerId;return sl.set(m,ul(sl.get(m)||null,t,n,l,s,d)),!0;case"gotpointercapture":return m=d.pointerId,xl.set(m,ul(xl.get(m)||null,t,n,l,s,d)),!0}return!1}function Y9(t){var n=D0(t.target);if(n!==null){var l=x(n);if(l!==null){if(n=l.tag,n===13){if(n=u(l),n!==null){t.blockedOn=n,sf(t.priority,function(){V9(l)});return}}else if(n===31){if(n=c(l),n!==null){t.blockedOn=n,sf(t.priority,function(){V9(l)});return}}else if(n===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function no(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var l=iu(t.nativeEvent);if(l===null){l=t.nativeEvent;var s=new l.constructor(l.type,l);os=s,l.target.dispatchEvent(s),os=null}else return n=k0(l),n!==null&&$9(n),t.blockedOn=l,!1;n.shift()}return!0}function X9(t,n,l){no(t)&&l.delete(n)}function KE(){su=!1,Or!==null&&no(Or)&&(Or=null),Lr!==null&&no(Lr)&&(Lr=null),Pr!==null&&no(Pr)&&(Pr=null),sl.forEach(X9),xl.forEach(X9)}function ro(t,n){t.blockedOn===n&&(t.blockedOn=null,su||(su=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,KE)))}var ao=null;function K9(t){ao!==t&&(ao=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){ao===t&&(ao=null);for(var n=0;n<t.length;n+=3){var l=t[n],s=t[n+1],d=t[n+2];if(typeof s!="function"){if(ou(s||l)===null)continue;break}var m=k0(l);m!==null&&(t.splice(n,3),n-=3,ix(m,{pending:!0,data:d,method:l.method,action:s},s,d))}}))}function oa(t){function n(P){return ro(P,t)}Or!==null&&ro(Or,t),Lr!==null&&ro(Lr,t),Pr!==null&&ro(Pr,t),sl.forEach(n),xl.forEach(n);for(var l=0;l<Ur.length;l++){var s=Ur[l];s.blockedOn===t&&(s.blockedOn=null)}for(;0<Ur.length&&(l=Ur[0],l.blockedOn===null);)Y9(l),l.blockedOn===null&&Ur.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(s=0;s<l.length;s+=3){var d=l[s],m=l[s+1],B=d[qt]||null;if(typeof m=="function")B||K9(l);else if(B){var D=null;if(m&&m.hasAttribute("formAction")){if(d=m,B=m[qt]||null)D=B.formAction;else if(ou(d)!==null)continue}else D=B.action;typeof D=="function"?l[s+1]=D:(l.splice(s,3),s-=3),K9(l)}}}function Z9(){function t(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(B){return d=B})},focusReset:"manual",scroll:"manual"})}function n(){d!==null&&(d(),d=null),s||setTimeout(l,20)}function l(){if(!s&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,d=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(l,100),function(){s=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),d!==null&&(d(),d=null)}}}function xu(t){this._internalRoot=t}lo.prototype.render=xu.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(i(409));var l=n.current,s=sn();q9(l,s,t,n,null,null)},lo.prototype.unmount=xu.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;q9(t.current,2,null,t,null,null),Pi(),n[v0]=null}};function lo(t){this._internalRoot=t}lo.prototype.unstable_scheduleHydration=function(t){if(t){var n=of();t={blockedOn:null,target:t,priority:n};for(var l=0;l<Ur.length&&n!==0&&n<Ur[l].priority;l++);Ur.splice(l,0,t),l===0&&Y9(t)}};var J9=r.version;if(J9!=="19.2.7")throw Error(i(527,J9,"19.2.7"));Y.findDOMNode=function(t){var n=t._reactInternals;if(n===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=h(n),t=t!==null?E(t):null,t=t===null?null:t.stateNode,t};var ZE={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var io=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!io.isDisabled&&io.supportsFiber)try{Rt=io.inject(ZE),gt=io}catch{}}return fl.createRoot=function(t,n){if(!o(t))throw Error(i(299));var l=!1,s="",d=l1,m=i1,B=o1;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(d=n.onUncaughtError),n.onCaughtError!==void 0&&(m=n.onCaughtError),n.onRecoverableError!==void 0&&(B=n.onRecoverableError)),n=U9(t,1,!1,null,null,l,s,null,d,m,B,Z9),t[v0]=n.current,$x(t),new xu(n)},fl.hydrateRoot=function(t,n,l){if(!o(t))throw Error(i(299));var s=!1,d="",m=l1,B=i1,D=o1,P=null;return l!=null&&(l.unstable_strictMode===!0&&(s=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onUncaughtError!==void 0&&(m=l.onUncaughtError),l.onCaughtError!==void 0&&(B=l.onCaughtError),l.onRecoverableError!==void 0&&(D=l.onRecoverableError),l.formState!==void 0&&(P=l.formState)),n=U9(t,1,!0,n,l??null,s,d,P,m,B,D,Z9),n.context=H9(null),l=n.current,s=sn(),s=Wo(s),d=Dr(s),d.callback=null,kr(l,d,s),l=s,n.current.lanes=l,Ba(n,l),Un(n),t[v0]=n.current,$x(t),new lo(n)},fl.version="19.2.7",fl}var gh;function V6(){if(gh)return fu.exports;gh=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),fu.exports=$6(),fu.exports}var G6=V6();var gc=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,x2=/^[\\/]{2}/;function Q6(e,r){return r+e.replace(/\\/g,"/")}var Ch="popstate";function yh(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function Y6(e={}){function r(i,o){let x=o.state?.masked,{pathname:u,search:c,hash:f}=x||i.location;return Ku("",{pathname:u,search:c,hash:f},o.state&&o.state.usr||null,o.state&&o.state.key||"default",x?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function a(i,o){return typeof o=="string"?o:Ml(o)}return K6(r,a,null,e)}function it(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function kn(e,r){if(!e){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function X6(){return Math.random().toString(36).substring(2,10)}function Bh(e,r){return{usr:e.state,key:e.key,idx:r,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Ku(e,r,a=null,i,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof r=="string"?da(r):r,state:a,key:r&&r.key||i||X6(),mask:o}}function Ml({pathname:e="/",search:r="",hash:a=""}){return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function da(e){let r={};if(e){let a=e.indexOf("#");a>=0&&(r.hash=e.substring(a),e=e.substring(0,a));let i=e.indexOf("?");i>=0&&(r.search=e.substring(i),e=e.substring(0,i)),e&&(r.pathname=e)}return r}function K6(e,r,a,i={}){let{window:o=document.defaultView,v5Compat:x=!1}=i,u=o.history,c="POP",f=null,h=E();h==null&&(h=0,u.replaceState({...u.state,idx:h},""));function E(){return(u.state||{idx:null}).idx}function p(){c="POP";let v=E(),k=v==null?null:v-h;h=v,f&&f({action:c,location:b.location,delta:k})}function y(v,k){c="PUSH";let L=yh(v)?v:Ku(b.location,v,k);h=E()+1;let w=Bh(L,h),j=b.createHref(L.mask||L);try{u.pushState(w,"",j)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;o.location.assign(j)}x&&f&&f({action:c,location:b.location,delta:1})}function C(v,k){c="REPLACE";let L=yh(v)?v:Ku(b.location,v,k);h=E();let w=Bh(L,h),j=b.createHref(L.mask||L);u.replaceState(w,"",j),x&&f&&f({action:c,location:b.location,delta:0})}function A(v){return Z6(o,v)}let b={get action(){return c},get location(){return e(o,u)},listen(v){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(Ch,p),f=v,()=>{o.removeEventListener(Ch,p),f=null}},createHref(v){return r(o,v)},createURL:A,encodeLocation(v){let k=A(v);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:y,replace:C,go(v){return u.go(v)}};return b}function Z6(e,r,a=!1){let i="http://localhost";e&&(i=e.location.origin!=="null"?e.location.origin:e.location.href),it(i,"No window.location.(origin|href) available to create URL");let o=typeof r=="string"?r:Ml(r);return o=o.replace(/ $/,"%20"),!a&&x2.test(o)&&(o=i+o),new URL(o,i)}function u2(e,r,a="/"){return J6(e,r,a,!1)}function J6(e,r,a,i,o){let x=typeof r=="string"?da(r):r,u=dr(x.pathname||"/",a);if(u==null)return null;let c=W6(e),f=null,h=p2(u);for(let E=0;f==null&&E<c.length;++E)f=x4(c[E],h,i);return f}function W6(e){let r=c2(e);return e4(r),r}function c2(e,r=[],a=[],i="",o=!1){let x=(u,c,f=o,h)=>{let E={relativePath:h===void 0?u.path||"":h,caseSensitive:u.caseSensitive===!0,childrenIndex:c,route:u};if(E.relativePath.startsWith("/")){if(!E.relativePath.startsWith(i)&&f)return;it(E.relativePath.startsWith(i),`Absolute route path "${E.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),E.relativePath=E.relativePath.slice(i.length)}let p=_n([i,E.relativePath]),y=a.concat(E);u.children&&u.children.length>0&&(it(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),c2(u.children,r,y,p,f)),!(u.path==null&&!u.index)&&r.push({path:p,score:o4(p,u.index),routesMeta:y.map((C,A)=>{let[b,v]=h2(C.relativePath,C.caseSensitive,A===y.length-1);return{...C,matcher:b,compiledParams:v}})})};return e.forEach((u,c)=>{if(u.path===""||!u.path?.includes("?"))x(u,c);else for(let f of f2(u.path))x(u,c,!0,f)}),r}function f2(e){let r=e.split("/");if(r.length===0)return[];let[a,...i]=r,o=a.endsWith("?"),x=a.replace(/\?$/,"");if(i.length===0)return o?[x,""]:[x];let u=f2(i.join("/")),c=[];return c.push(...u.map(f=>f===""?x:[x,f].join("/"))),o&&c.push(...u),c.map(f=>e.startsWith("/")&&f===""?"/":f)}function e4(e){e.sort((r,a)=>r.score!==a.score?a.score-r.score:s4(r.routesMeta.map(i=>i.childrenIndex),a.routesMeta.map(i=>i.childrenIndex)))}var t4=/^:[\w-]+$/,n4=3,r4=2,a4=1,l4=10,i4=-2,Ah=e=>e==="*";function o4(e,r){let a=e.split("/"),i=a.length;return a.some(Ah)&&(i+=i4),r&&(i+=r4),a.filter(o=>!Ah(o)).reduce((o,x)=>o+(t4.test(x)?n4:x===""?a4:l4),i)}function s4(e,r){return e.length===r.length&&e.slice(0,-1).every((i,o)=>i===r[o])?e[e.length-1]-r[r.length-1]:0}function x4(e,r,a=!1){let{routesMeta:i}=e,o={},x="/",u=[];for(let c=0;c<i.length;++c){let f=i[c],h=c===i.length-1,E=x==="/"?r:r.slice(x.length)||"/",p={path:f.relativePath,caseSensitive:f.caseSensitive,end:h},y=f.matcher&&f.compiledParams?d2(p,E,f.matcher,f.compiledParams):Nl(p,E),C=f.route;if(!y&&h&&a&&!i[i.length-1].route.index&&(y=Nl({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},E)),!y)return null;Object.assign(o,y.params),u.push({params:o,pathname:_n([x,y.pathname]),pathnameBase:f4(_n([x,y.pathnameBase])),route:C}),y.pathnameBase!=="/"&&(x=_n([x,y.pathnameBase]))}return u}function Nl(e,r){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[a,i]=h2(e.path,e.caseSensitive,e.end);return d2(e,r,a,i)}function d2(e,r,a,i){let o=r.match(a);if(!o)return null;let x=o[0],u=x.replace(/(.)\/+$/,"$1"),c=o.slice(1);return{params:i.reduce((h,{paramName:E,isOptional:p},y)=>{if(E==="*"){let A=c[y]||"";u=x.slice(0,x.length-A.length).replace(/(.)\/+$/,"$1")}const C=c[y];return p&&!C?h[E]=void 0:h[E]=(C||"").replace(/%2F/g,"/"),h},{}),pathname:x,pathnameBase:u,pattern:e}}function h2(e,r=!1,a=!0){kn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,c,f,h,E)=>{if(i.push({paramName:c,isOptional:f!=null}),f){let p=E.charAt(h+u.length);return p&&p!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,r?void 0:"i"),i]}function p2(e){try{return e.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return kn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}function dr(e,r){if(r==="/")return e;if(!e.toLowerCase().startsWith(r.toLowerCase()))return null;let a=r.endsWith("/")?r.length-1:r.length,i=e.charAt(a);return i&&i!=="/"?null:e.slice(a)||"/"}function u4(e,r="/"){let{pathname:a,search:i="",hash:o=""}=typeof e=="string"?da(e):e,x;return a?(a=m2(a),a.startsWith("/")?x=bh(a.substring(1),"/"):x=bh(a,r)):x=r,{pathname:x,search:d4(i),hash:h4(o)}}function bh(e,r){let a=ko(r).split("/");return e.split("/").forEach(o=>{o===".."?a.length>1&&a.pop():o!=="."&&a.push(o)}),a.length>1?a.join("/"):"/"}function mu(e,r,a,i){return`Cannot include a '${e}' character in a manually specified \`to.${r}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function c4(e){return e.filter((r,a)=>a===0||r.route.path&&r.route.path.length>0)}function Cc(e){let r=c4(e);return r.map((a,i)=>i===r.length-1?a.pathname:a.pathnameBase)}function Po(e,r,a,i=!1){let o;typeof e=="string"?o=da(e):(o={...e},it(!o.pathname||!o.pathname.includes("?"),mu("?","pathname","search",o)),it(!o.pathname||!o.pathname.includes("#"),mu("#","pathname","hash",o)),it(!o.search||!o.search.includes("#"),mu("#","search","hash",o)));let x=e===""||o.pathname==="",u=x?"/":o.pathname,c;if(u==null)c=a;else{let p=r.length-1;if(!i&&u.startsWith("..")){let y=u.split("/");for(;y[0]==="..";)y.shift(),p-=1;o.pathname=y.join("/")}c=p>=0?r[p]:"/"}let f=u4(o,c),h=u&&u!=="/"&&u.endsWith("/"),E=(x||u===".")&&a.endsWith("/");return!f.pathname.endsWith("/")&&(h||E)&&(f.pathname+="/"),f}var m2=e=>e.replace(/[\\/]{2,}/g,"/"),_n=e=>m2(e.join("/")),ko=e=>e.replace(/\/+$/,""),f4=e=>ko(e).replace(/^\/*/,"/"),d4=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,h4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,p4=class{constructor(e,r,a,i=!1){this.status=e,this.statusText=r||"",this.internal=i,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function m4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function E4(e){let r=e.map(a=>a.route.path).filter(Boolean);return _n(r)||"/"}var E2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function g2(e,r){let a=e;if(typeof a!="string"||!gc.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let i=a,o=!1;if(E2)try{let x=new URL(window.location.href),u=x2.test(a)?new URL(Q6(a,x.protocol)):new URL(a),c=dr(u.pathname,r);u.origin===x.origin&&c!=null?a=c+u.search+u.hash:o=!0}catch{kn(!1,`<Link to="${a}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:o,to:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var C2=["POST","PUT","PATCH","DELETE"];new Set(C2);var g4=["GET",...C2];new Set(g4);var C4=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function y4(e){try{return C4.includes(new URL(e).protocol)}catch{return!1}}var ha=M.createContext(null);ha.displayName="DataRouter";var Uo=M.createContext(null);Uo.displayName="DataRouterState";var y2=M.createContext(!1);function B4(){return M.useContext(y2)}var B2=M.createContext({isTransitioning:!1});B2.displayName="ViewTransition";var A4=M.createContext(new Map);A4.displayName="Fetchers";var b4=M.createContext(null);b4.displayName="Await";var dn=M.createContext(null);dn.displayName="Navigation";var Ll=M.createContext(null);Ll.displayName="Location";var Fn=M.createContext({outlet:null,matches:[],isDataRoute:!1});Fn.displayName="Route";var yc=M.createContext(null);yc.displayName="RouteError";var A2="REACT_ROUTER_ERROR",v4="REDIRECT",D4="ROUTE_ERROR_RESPONSE";function k4(e){if(e.startsWith(`${A2}:${v4}:{`))try{let r=JSON.parse(e.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function F4(e){if(e.startsWith(`${A2}:${D4}:{`))try{let r=JSON.parse(e.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new p4(r.status,r.statusText,r.data)}catch{}}function w4(e,{relative:r}={}){it(C0(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:i}=M.useContext(dn),{hash:o,pathname:x,search:u}=Pl(e,{relative:r}),c=x;return a!=="/"&&(c=x==="/"?a:_n([a,x])),i.createHref({pathname:c,search:u,hash:o})}function C0(){return M.useContext(Ll)!=null}function wn(){return it(C0(),"useLocation() may be used only in the context of a <Router> component."),M.useContext(Ll).location}function S4(e){it(C0(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:r}=wn();return M.useMemo(()=>Nl(e,p2(r)),[r,e])}var b2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function v2(e){M.useContext(dn).static||M.useLayoutEffect(e)}function pa(){let{isDataRoute:e}=M.useContext(Fn);return e?V4():M4()}function M4(){it(C0(),"useNavigate() may be used only in the context of a <Router> component.");let e=M.useContext(ha),{basename:r,navigator:a}=M.useContext(dn),{matches:i}=M.useContext(Fn),{pathname:o}=wn(),x=JSON.stringify(Cc(i)),u=M.useRef(!1);return v2(()=>{u.current=!0}),M.useCallback((f,h={})=>{if(kn(u.current,b2),!u.current)return;if(typeof f=="number"){a.go(f);return}let E=Po(f,JSON.parse(x),o,h.relative==="path");e==null&&r!=="/"&&(E.pathname=E.pathname==="/"?r:_n([r,E.pathname])),(h.replace?a.replace:a.push)(E,h.state,h)},[r,a,x,o,e])}var N4=M.createContext(null);function T4(e){let r=M.useContext(Fn).outlet;return M.useMemo(()=>r&&M.createElement(N4.Provider,{value:e},r),[r,e])}function _4(){let{matches:e}=M.useContext(Fn);return e[e.length-1]?.params??{}}function Pl(e,{relative:r}={}){let{matches:a}=M.useContext(Fn),{pathname:i}=wn(),o=JSON.stringify(Cc(a));return M.useMemo(()=>Po(e,JSON.parse(o),i,r==="path"),[e,o,i,r])}function j4(e,r){return D2(e,r)}function D2(e,r,a){it(C0(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=M.useContext(dn),{matches:o}=M.useContext(Fn),x=o[o.length-1],u=x?x.params:{},c=x?x.pathname:"/",f=x?x.pathnameBase:"/",h=x&&x.route;{let v=h&&h.path||"";F2(c,!h||v.endsWith("*")||v.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${v}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
10
10
|
|
|
11
|
-
Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}/*`}">.`)}let E=wn(),p;if(r){let v=typeof r=="string"?da(r):r;it(f==="/"||v.pathname?.startsWith(f),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${v.pathname}" was given in the \`location\` prop.`),p=v}else p=E;let y=p.pathname||"/",C=y;if(f!=="/"){let v=f.replace(/^\//,"").split("/");C="/"+y.replace(/^\//,"").split("/").slice(v.length).join("/")}let A=a&&a.state.matches.length?a.state.matches.map(v=>Object.assign(v,{route:a.manifest[v.route.id]||v.route})):u2(e,{pathname:C});kn(h||A!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),kn(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=P4(A&&A.map(v=>Object.assign({},v,{params:Object.assign({},u,v.params),pathname:_n([f,i.encodeLocation?i.encodeLocation(v.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?f:_n([f,i.encodeLocation?i.encodeLocation(v.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathnameBase])})),o,a);return r&&b?M.createElement(Ll.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...p},navigationType:"POP"}},b):b}function z4(){let e=$4(),r=m4(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:i},x={padding:"2px 4px",backgroundColor:i},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:x},"ErrorBoundary")," or"," ",M.createElement("code",{style:x},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},r),a?M.createElement("pre",{style:o},a):null,u)}var R4=M.createElement(z4,null),k2=class extends M.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){this.props.onError?this.props.onError(e,r):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const a=F4(e.digest);a&&(e=a)}let r=e!==void 0?M.createElement(Fn.Provider,{value:this.props.routeContext},M.createElement(yc.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?M.createElement(O4,{error:e},r):r}};k2.contextType=y2;var Eu=new WeakMap;function O4({children:e,error:r}){let{basename:a}=M.useContext(dn);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let i=k4(r.digest);if(i){let o=Eu.get(r);if(o)throw o;let x=g2(i.location,a),u=x.absoluteURL||x.to;if(y4(u))throw new Error("Invalid redirect location");if(E2&&!Eu.get(r))if(x.isExternal||i.reloadDocument)window.location.href=u;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(x.to,{replace:i.replace}));throw Eu.set(r,c),c}return M.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u}`})}}return e}function L4({routeContext:e,match:r,children:a}){let i=M.useContext(ha);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),M.createElement(Fn.Provider,{value:e},a)}function P4(e,r=[],a){let i=a?.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(r.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let o=e,x=i?.errors;if(x!=null){let E=o.findIndex(p=>p.route.id&&x?.[p.route.id]!==void 0);it(E>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(x).join(",")}`),o=o.slice(0,Math.min(o.length,E+1))}let u=!1,c=-1;if(a&&i){u=i.renderFallback;for(let E=0;E<o.length;E++){let p=o[E];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(c=E),p.route.id){let{loaderData:y,errors:C}=i,A=p.route.loader&&!y.hasOwnProperty(p.route.id)&&(!C||C[p.route.id]===void 0);if(p.route.lazy||A){a.isStatic&&(u=!0),c>=0?o=o.slice(0,c+1):o=[o[0]];break}}}}let f=a?.onError,h=i&&f?(E,p)=>{f(E,{location:i.location,params:i.matches?.[0]?.params??{},pattern:E4(i.matches),errorInfo:p})}:void 0;return o.reduceRight((E,p,y)=>{let C,A=!1,b=null,v=null;i&&(C=x&&p.route.id?x[p.route.id]:void 0,b=p.route.errorElement||R4,u&&(c<0&&y===0?(F2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,v=null):c===y&&(A=!0,v=p.route.hydrateFallbackElement||null)));let k=r.concat(o.slice(0,y+1)),L=()=>{let w;return C?w=b:A?w=v:p.route.Component?w=M.createElement(p.route.Component,null):p.route.element?w=p.route.element:w=E,M.createElement(L4,{match:p,routeContext:{outlet:E,matches:k,isDataRoute:i!=null},children:w})};return i&&(p.route.ErrorBoundary||p.route.errorElement||y===0)?M.createElement(k2,{location:i.location,revalidation:i.revalidation,component:b,error:C,children:L(),routeContext:{outlet:null,matches:k,isDataRoute:!0},onError:h}):L()},null)}function Bc(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function U4(e){let r=M.useContext(ha);return it(r,Bc(e)),r}function H4(e){let r=M.useContext(Uo);return it(r,Bc(e)),r}function q4(e){let r=M.useContext(Fn);return it(r,Bc(e)),r}function Ac(e){let r=q4(e),a=r.matches[r.matches.length-1];return it(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function I4(){return Ac("useRouteId")}function $4(){let e=M.useContext(yc),r=H4("useRouteError"),a=Ac("useRouteError");return e!==void 0?e:r.errors?.[a]}function V4(){let{router:e}=U4("useNavigate"),r=Ac("useNavigate"),a=M.useRef(!1);return v2(()=>{a.current=!0}),M.useCallback(async(o,x={})=>{kn(a.current,b2),a.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:r,...x}))},[e,r])}var vh={};function F2(e,r,a){!r&&!vh[e]&&(vh[e]=!0,kn(!1,a))}M.memo(G4);function G4({routes:e,manifest:r,future:a,state:i,isStatic:o,onError:x}){return D2(e,void 0,{manifest:r,state:i,isStatic:o,onError:x})}function Q4({to:e,replace:r,state:a,relative:i}){it(C0(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=M.useContext(dn);kn(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:x}=M.useContext(Fn),{pathname:u}=wn(),c=pa(),f=Po(e,Cc(x),u,i==="path"),h=JSON.stringify(f);return M.useEffect(()=>{c(JSON.parse(h),{replace:r,state:a,relative:i})},[c,h,i,r,a]),null}function Y4(e){return T4(e.context)}function Al(e){it(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function X4({basename:e="/",children:r=null,location:a,navigationType:i="POP",navigator:o,static:x=!1,useTransitions:u}){it(!C0(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),f=M.useMemo(()=>({basename:c,navigator:o,static:x,useTransitions:u,future:{}}),[c,o,x,u]);typeof a=="string"&&(a=da(a));let{pathname:h="/",search:E="",hash:p="",state:y=null,key:C="default",mask:A}=a,b=M.useMemo(()=>{let v=dr(h,c);return v==null?null:{location:{pathname:v,search:E,hash:p,state:y,key:C,mask:A},navigationType:i}},[c,h,E,p,y,C,i,A]);return kn(b!=null,`<Router basename="${c}"> is not able to match the URL "${h}${E}${p}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:M.createElement(dn.Provider,{value:f},M.createElement(Ll.Provider,{children:r,value:b}))}function K4({children:e,location:r}){return j4(Zu(e),r)}function Zu(e,r=[]){let a=[];return M.Children.forEach(e,(i,o)=>{if(!M.isValidElement(i))return;let x=[...r,o];if(i.type===M.Fragment){a.push.apply(a,Zu(i.props.children,x));return}it(i.type===Al,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),it(!i.props.index||!i.props.children,"An index route cannot have child routes.");let u={id:i.props.id||x.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=Zu(i.props.children,x)),a.push(u)}),a}var Co="get",yo="application/x-www-form-urlencoded";function Ho(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Z4(e){return Ho(e)&&e.tagName.toLowerCase()==="button"}function J4(e){return Ho(e)&&e.tagName.toLowerCase()==="form"}function W4(e){return Ho(e)&&e.tagName.toLowerCase()==="input"}function e7(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function t7(e,r){return e.button===0&&(!r||r==="_self")&&!e7(e)}function Ju(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((r,a)=>{let i=e[a];return r.concat(Array.isArray(i)?i.map(o=>[a,o]):[[a,i]])},[]))}function n7(e,r){let a=Ju(e);return r&&r.forEach((i,o)=>{a.has(o)||r.getAll(o).forEach(x=>{a.append(o,x)})}),a}var xo=null;function r7(){if(xo===null)try{new FormData(document.createElement("form"),0),xo=!1}catch{xo=!0}return xo}var a7=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function gu(e){return e!=null&&!a7.has(e)?(kn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${yo}"`),null):e}function l7(e,r){let a,i,o,x,u;if(J4(e)){let c=e.getAttribute("action");i=c?dr(c,r):null,a=e.getAttribute("method")||Co,o=gu(e.getAttribute("enctype"))||yo,x=new FormData(e)}else if(Z4(e)||W4(e)&&(e.type==="submit"||e.type==="image")){let c=e.form;if(c==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||c.getAttribute("action");if(i=f?dr(f,r):null,a=e.getAttribute("formmethod")||c.getAttribute("method")||Co,o=gu(e.getAttribute("formenctype"))||gu(c.getAttribute("enctype"))||yo,x=new FormData(c,e),!r7()){let{name:h,type:E,value:p}=e;if(E==="image"){let y=h?`${h}.`:"";x.append(`${y}x`,"0"),x.append(`${y}y`,"0")}else h&&x.append(h,p)}}else{if(Ho(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=Co,i=null,o=yo,u=e}return x&&o==="text/plain"&&(u=x,x=void 0),{action:i,method:a.toLowerCase(),encType:o,formData:x,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function bc(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function w2(e,r,a,i){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${i}`:o.pathname=`${o.pathname}.${i}`:o.pathname==="/"?o.pathname=`_root.${i}`:r&&dr(o.pathname,r)==="/"?o.pathname=`${ko(r)}/_root.${i}`:o.pathname=`${ko(o.pathname)}.${i}`,o}async function i7(e,r){if(e.id in r)return r[e.id];try{let a=await import(e.module);return r[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function o7(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function s7(e,r,a){let i=await Promise.all(e.map(async o=>{let x=r.routes[o.route.id];if(x){let u=await i7(x,a);return u.links?u.links():[]}return[]}));return f7(i.flat(1).filter(o7).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Dh(e,r,a,i,o,x){let u=(f,h)=>a[h]?f.route.id!==a[h].route.id:!0,c=(f,h)=>a[h].pathname!==f.pathname||a[h].route.path?.endsWith("*")&&a[h].params["*"]!==f.params["*"];return x==="assets"?r.filter((f,h)=>u(f,h)||c(f,h)):x==="data"?r.filter((f,h)=>{let E=i.routes[f.route.id];if(!E||!E.hasLoader)return!1;if(u(f,h)||c(f,h))return!0;if(f.route.shouldRevalidate){let p=f.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof p=="boolean")return p}return!0}):[]}function x7(e,r,{includeHydrateFallback:a}={}){return u7(e.map(i=>{let o=r.routes[i.route.id];if(!o)return[];let x=[o.module];return o.clientActionModule&&(x=x.concat(o.clientActionModule)),o.clientLoaderModule&&(x=x.concat(o.clientLoaderModule)),a&&o.hydrateFallbackModule&&(x=x.concat(o.hydrateFallbackModule)),o.imports&&(x=x.concat(o.imports)),x}).flat(1))}function u7(e){return[...new Set(e)]}function c7(e){let r={},a=Object.keys(e).sort();for(let i of a)r[i]=e[i];return r}function f7(e,r){let a=new Set;return new Set(r),e.reduce((i,o)=>{let x=JSON.stringify(c7(o));return a.has(x)||(a.add(x),i.push({key:x,link:o})),i},[])}function vc(){let e=M.useContext(ha);return bc(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function d7(){let e=M.useContext(Uo);return bc(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Dc=M.createContext(void 0);Dc.displayName="FrameworkContext";function qo(){let e=M.useContext(Dc);return bc(e,"You must render this element inside a <HydratedRouter> element"),e}function h7(e,r){let a=M.useContext(Dc),[i,o]=M.useState(!1),[x,u]=M.useState(!1),{onFocus:c,onBlur:f,onMouseEnter:h,onMouseLeave:E,onTouchStart:p}=r,y=M.useRef(null);M.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let b=k=>{k.forEach(L=>{u(L.isIntersecting)})},v=new IntersectionObserver(b,{threshold:.5});return y.current&&v.observe(y.current),()=>{v.disconnect()}}},[e]),M.useEffect(()=>{if(i){let b=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(b)}}},[i]);let C=()=>{o(!0)},A=()=>{o(!1),u(!1)};return a?e!=="intent"?[x,y,{}]:[x,y,{onFocus:dl(c,C),onBlur:dl(f,A),onMouseEnter:dl(h,C),onMouseLeave:dl(E,A),onTouchStart:dl(p,C)}]:[!1,y,{}]}function dl(e,r){return a=>{e&&e(a),a.defaultPrevented||r(a)}}function p7({page:e,...r}){let a=B4(),{nonce:i}=qo(),{router:o}=vc(),x=M.useMemo(()=>u2(o.routes,e,o.basename),[o.routes,e,o.basename]);return x?(r.nonce==null&&i&&(r={...r,nonce:i}),a?M.createElement(E7,{page:e,matches:x,...r}):M.createElement(g7,{page:e,matches:x,...r})):null}function m7(e){let{manifest:r,routeModules:a}=qo(),[i,o]=M.useState([]);return M.useEffect(()=>{let x=!1;return s7(e,r,a).then(u=>{x||o(u)}),()=>{x=!0}},[e,r,a]),i}function E7({page:e,matches:r,...a}){let i=wn(),{future:o}=qo(),{basename:x}=vc(),u=M.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let c=w2(e,x,o.v8_trailingSlashAwareDataRequests,"rsc"),f=!1,h=[];for(let E of r)typeof E.route.shouldRevalidate=="function"?f=!0:h.push(E.route.id);return f&&h.length>0&&c.searchParams.set("_routes",h.join(",")),[c.pathname+c.search]},[x,o.v8_trailingSlashAwareDataRequests,e,i,r]);return M.createElement(M.Fragment,null,u.map(c=>M.createElement("link",{key:c,rel:"prefetch",as:"fetch",href:c,...a})))}function g7({page:e,matches:r,...a}){let i=wn(),{future:o,manifest:x,routeModules:u}=qo(),{basename:c}=vc(),{loaderData:f,matches:h}=d7(),E=M.useMemo(()=>Dh(e,r,h,x,i,"data"),[e,r,h,x,i]),p=M.useMemo(()=>Dh(e,r,h,x,i,"assets"),[e,r,h,x,i]),y=M.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let b=new Set,v=!1;if(r.forEach(L=>{let w=x.routes[L.route.id];!w||!w.hasLoader||(!E.some(j=>j.route.id===L.route.id)&&L.route.id in f&&u[L.route.id]?.shouldRevalidate||w.hasClientLoader?v=!0:b.add(L.route.id))}),b.size===0)return[];let k=w2(e,c,o.v8_trailingSlashAwareDataRequests,"data");return v&&b.size>0&&k.searchParams.set("_routes",r.filter(L=>b.has(L.route.id)).map(L=>L.route.id).join(",")),[k.pathname+k.search]},[c,o.v8_trailingSlashAwareDataRequests,f,i,x,E,r,e,u]),C=M.useMemo(()=>x7(p,x),[p,x]),A=m7(p);return M.createElement(M.Fragment,null,y.map(b=>M.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...a})),C.map(b=>M.createElement("link",{key:b,rel:"modulepreload",href:b,...a})),A.map(({key:b,link:v})=>M.createElement("link",{key:b,nonce:a.nonce,...v,crossOrigin:v.crossOrigin??a.crossOrigin})))}function C7(...e){return r=>{e.forEach(a=>{typeof a=="function"?a(r):a!=null&&(a.current=r)})}}var y7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{y7&&(window.__reactRouterVersion="7.18.1")}catch{}function B7({basename:e,children:r,useTransitions:a,window:i}){let o=M.useRef();o.current==null&&(o.current=Y6({window:i,v5Compat:!0}));let x=o.current,[u,c]=M.useState({action:x.action,location:x.location}),f=M.useCallback(h=>{a===!1?c(h):M.startTransition(()=>c(h))},[a]);return M.useLayoutEffect(()=>x.listen(f),[x,f]),M.createElement(X4,{basename:e,children:r,location:u.location,navigationType:u.action,navigator:x,useTransitions:a})}var S2=M.forwardRef(function({onClick:r,discover:a="render",prefetch:i="none",relative:o,reloadDocument:x,replace:u,mask:c,state:f,target:h,to:E,preventScrollReset:p,viewTransition:y,defaultShouldRevalidate:C,...A},b){let{basename:v,navigator:k,useTransitions:L}=M.useContext(dn),w=typeof E=="string"&&gc.test(E),j=g2(E,v);E=j.to;let O=w4(E,{relative:o}),F=wn(),_=null;if(c){let I=Po(c,[],F.mask?F.mask.pathname:"/",!0);v!=="/"&&(I.pathname=I.pathname==="/"?v:_n([v,I.pathname])),_=k.createHref(I)}let[z,$,N]=h7(i,A),G=D7(E,{replace:u,mask:c,state:f,target:h,preventScrollReset:p,relative:o,viewTransition:y,defaultShouldRevalidate:C,useTransitions:L});function K(I){r&&r(I),I.defaultPrevented||G(I)}let se=!(j.isExternal||x),te=M.createElement("a",{...A,...N,href:(se?_:void 0)||j.absoluteURL||O,onClick:se?K:r,ref:C7(b,$),target:h,"data-discover":!w&&a==="render"?"true":void 0});return z&&!w?M.createElement(M.Fragment,null,te,M.createElement(p7,{page:O})):te});S2.displayName="Link";var A7=M.forwardRef(function({"aria-current":r="page",caseSensitive:a=!1,className:i="",end:o=!1,style:x,to:u,viewTransition:c,children:f,...h},E){let p=Pl(u,{relative:h.relative}),y=wn(),C=M.useContext(Uo),{navigator:A,basename:b}=M.useContext(dn),v=C!=null&&M7(p)&&c===!0,k=A.encodeLocation?A.encodeLocation(p).pathname:p.pathname,L=y.pathname,w=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;a||(L=L.toLowerCase(),w=w?w.toLowerCase():null,k=k.toLowerCase()),w&&b&&(w=dr(w,b)||w);const j=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let O=L===k||!o&&L.startsWith(k)&&L.charAt(j)==="/",F=w!=null&&(w===k||!o&&w.startsWith(k)&&w.charAt(k.length)==="/"),_={isActive:O,isPending:F,isTransitioning:v},z=O?r:void 0,$;typeof i=="function"?$=i(_):$=[i,O?"active":null,F?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let N=typeof x=="function"?x(_):x;return M.createElement(S2,{...h,"aria-current":z,className:$,ref:E,style:N,to:u,viewTransition:c},typeof f=="function"?f(_):f)});A7.displayName="NavLink";var b7=M.forwardRef(({discover:e="render",fetcherKey:r,navigate:a,reloadDocument:i,replace:o,state:x,method:u=Co,action:c,onSubmit:f,relative:h,preventScrollReset:E,viewTransition:p,defaultShouldRevalidate:y,...C},A)=>{let{useTransitions:b}=M.useContext(dn),v=w7(),k=S7(c,{relative:h}),L=u.toLowerCase()==="get"?"get":"post",w=typeof c=="string"&&gc.test(c),j=O=>{if(f&&f(O),O.defaultPrevented)return;O.preventDefault();let F=O.nativeEvent.submitter,_=F?.getAttribute("formmethod")||u,z=()=>v(F||O.currentTarget,{fetcherKey:r,method:_,navigate:a,replace:o,state:x,relative:h,preventScrollReset:E,viewTransition:p,defaultShouldRevalidate:y});b&&a!==!1?M.startTransition(()=>z()):z()};return M.createElement("form",{ref:A,method:L,action:k,onSubmit:i?f:j,...C,"data-discover":!w&&e==="render"?"true":void 0})});b7.displayName="Form";function v7(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function M2(e){let r=M.useContext(ha);return it(r,v7(e)),r}function D7(e,{target:r,replace:a,mask:i,state:o,preventScrollReset:x,relative:u,viewTransition:c,defaultShouldRevalidate:f,useTransitions:h}={}){let E=pa(),p=wn(),y=Pl(e,{relative:u});return M.useCallback(C=>{if(t7(C,r)){C.preventDefault();let A=a!==void 0?a:Ml(p)===Ml(y),b=()=>E(e,{replace:A,mask:i,state:o,preventScrollReset:x,relative:u,viewTransition:c,defaultShouldRevalidate:f});h?M.startTransition(()=>b()):b()}},[p,E,y,a,i,o,r,e,x,u,c,f,h])}function N2(e){kn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let r=M.useRef(Ju(e)),a=M.useRef(!1),i=wn(),o=M.useMemo(()=>n7(i.search,a.current?null:r.current),[i.search]),x=pa(),u=M.useCallback((c,f)=>{const h=Ju(typeof c=="function"?c(new URLSearchParams(o)):c);a.current=!0,x("?"+h,f)},[x,o]);return[o,u]}var k7=0,F7=()=>`__${String(++k7)}__`;function w7(){let{router:e}=M2("useSubmit"),{basename:r}=M.useContext(dn),a=I4(),i=e.fetch,o=e.navigate;return M.useCallback(async(x,u={})=>{let{action:c,method:f,encType:h,formData:E,body:p}=l7(x,r);if(u.navigate===!1){let y=u.fetcherKey||F7();await i(y,a,u.action||c,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:E,body:p,formMethod:u.method||f,formEncType:u.encType||h,flushSync:u.flushSync})}else await o(u.action||c,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:E,body:p,formMethod:u.method||f,formEncType:u.encType||h,replace:u.replace,state:u.state,fromRouteId:a,flushSync:u.flushSync,viewTransition:u.viewTransition})},[i,o,r,a])}function S7(e,{relative:r}={}){let{basename:a}=M.useContext(dn),i=M.useContext(Fn);it(i,"useFormAction must be used inside a RouteContext");let[o]=i.matches.slice(-1),x={...Pl(e||".",{relative:r})},u=wn();if(e==null){x.search=u.search;let c=new URLSearchParams(x.search),f=c.getAll("index");if(f.some(E=>E==="")){c.delete("index"),f.filter(p=>p).forEach(p=>c.append("index",p));let E=c.toString();x.search=E?`?${E}`:""}}return(!e||e===".")&&o.route.index&&(x.search=x.search?x.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(x.pathname=x.pathname==="/"?a:_n([a,x.pathname])),Ml(x)}function M7(e,{relative:r}={}){let a=M.useContext(B2);it(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=M2("useViewTransitionState"),o=Pl(e,{relative:r});if(!a.isTransitioning)return!1;let x=dr(a.currentLocation.pathname,i)||a.currentLocation.pathname,u=dr(a.nextLocation.pathname,i)||a.nextLocation.pathname;return Nl(o.pathname,u)!=null||Nl(o.pathname,x)!=null}const N7="modulepreload",T7=function(e){return"/"+e},kh={},_7=function(r,a,i){let o=Promise.resolve();if(a&&a.length>0){let h=function(E){return Promise.all(E.map(p=>Promise.resolve(p).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};var u=h;document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),f=c?.nonce||c?.getAttribute("nonce");o=h(a.map(E=>{if(E=T7(E),E in kh)return;kh[E]=!0;const p=E.endsWith(".css"),y=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${E}"]${y}`))return;const C=document.createElement("link");if(C.rel=p?"stylesheet":N7,p||(C.as="script"),C.crossOrigin="",C.href=E,f&&C.setAttribute("nonce",f),document.head.appendChild(C),p)return new Promise((A,b)=>{C.addEventListener("load",A),C.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${E}`)))})}))}function x(c){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=c,window.dispatchEvent(f),!f.defaultPrevented)throw c}return o.then(c=>{for(const f of c||[])f.status==="rejected"&&x(f.reason);return r().catch(x)})};function j7(e={}){const{immediate:r=!1,onNeedReload:a,onNeedRefresh:i,onOfflineReady:o,onRegistered:x,onRegisteredSW:u,onRegisterError:c}=e;let f,h,E;const p=async(C=!0)=>{await h,E?.()};async function y(){if("serviceWorker"in navigator){if(f=await _7(async()=>{const{Workbox:C}=await import("./workbox-window.prod.es5-BBnX5xw4.js");return{Workbox:C}},[]).then(({Workbox:C})=>new C("/sw.js",{scope:"/",type:"classic"})).catch(C=>{c?.(C)}),!f)return;E=()=>{f?.messageSkipWaiting()};{let C=!1;const A=()=>{C=!0,f?.addEventListener("controlling",b=>{b.isUpdate&&(a?a():window.location.reload())}),i?.()};f.addEventListener("installed",b=>{typeof b.isUpdate>"u"?typeof b.isExternal<"u"&&b.isExternal?A():!C&&o?.():b.isUpdate||o?.()}),f.addEventListener("waiting",A)}f.register({immediate:r}).then(C=>{u?u("/sw.js",C):x?.(C)}).catch(C=>{c?.(C)})}}return h=y(),p}function z7(e={}){const{immediate:r=!0,onNeedReload:a,onNeedRefresh:i,onOfflineReady:o,onRegistered:x,onRegisteredSW:u,onRegisterError:c}=e,[f,h]=M.useState(!1),[E,p]=M.useState(!1),[y]=M.useState(()=>j7({immediate:r,onNeedReload:a,onOfflineReady(){p(!0),o?.()},onNeedRefresh(){h(!0),i?.()},onRegistered:x,onRegisteredSW:u,onRegisterError:c}));return{needRefresh:[f,h],offlineReady:[E,p],updateServiceWorker:y}}const T2=(...e)=>e.filter((r,a,i)=>!!r&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();const R7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const O7=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());const Fh=e=>{const r=O7(e);return r.charAt(0).toUpperCase()+r.slice(1)};var L7={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"};const P7=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const U7=M.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:o="",children:x,iconNode:u,...c},f)=>M.createElement("svg",{ref:f,...L7,width:r,height:r,stroke:e,strokeWidth:i?Number(a)*24/Number(r):a,className:T2("lucide",o),...!x&&!P7(c)&&{"aria-hidden":"true"},...c},[...u.map(([h,E])=>M.createElement(h,E)),...Array.isArray(x)?x:[x]]));const V=(e,r)=>{const a=M.forwardRef(({className:i,...o},x)=>M.createElement(U7,{ref:x,iconNode:r,className:T2(`lucide-${R7(Fh(e))}`,`lucide-${e}`,i),...o}));return a.displayName=Fh(e),a};const H7=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],q7=V("activity",H7);const I7=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],$7=V("anchor",I7);const V7=[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]],G7=V("apple",V7);const Q7=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],Y7=V("archive",Q7);const X7=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],K7=V("arrow-up-right",X7);const Z7=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],J7=V("arrow-up",Z7);const W7=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],e3=V("atom",W7);const t3=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],n3=V("award",t3);const r3=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]],a3=V("banknote",r3);const l3=[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]],i3=V("battery",l3);const o3=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],s3=V("beer",o3);const x3=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],_2=V("bell",x3);const u3=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],c3=V("bike",u3);const f3=[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]],d3=V("bird",f3);const h3=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]],p3=V("bluetooth",h3);const m3=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],E3=V("book-open",m3);const g3=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],C3=V("book",g3);const y3=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],B3=V("bookmark",y3);const A3=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],b3=V("bot",A3);const v3=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],D3=V("box",v3);const k3=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],F3=V("brain",k3);const w3=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],S3=V("briefcase",w3);const M3=[["path",{d:"m11 10 3 3",key:"fzmg1i"}],["path",{d:"M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z",key:"p4q2r7"}],["path",{d:"M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031",key:"wy6l02"}]],N3=V("brush",M3);const T3=[["path",{d:"M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97",key:"1gnv52"}],["path",{d:"M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z",key:"1weqy9"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],_3=V("bug-play",T3);const j3=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],z3=V("bug",j3);const R3=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],O3=V("building-2",R3);const L3=[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],P3=V("building",L3);const U3=[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]],H3=V("cake",U3);const q3=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],I3=V("calendar",q3);const $3=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],V3=V("camera",$3);const G3=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],Q3=V("car",G3);const Y3=[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]],X3=V("carrot",Y3);const K3=[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]],Z3=V("cat",K3);const J3=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]],W3=V("chart-bar",J3);const eg=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],tg=V("chart-line",eg);const ng=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],rg=V("chart-pie",ng);const ag=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],hr=V("check",ag);const lg=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ma=V("chevron-down",lg);const ig=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],og=V("chevron-up",ig);const sg=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],xg=V("clapperboard",sg);const ug=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],cg=V("clock",ug);const fg=[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],dg=V("cloud-off",fg);const hg=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],pg=V("cloud-upload",hg);const mg=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],Eg=V("cloud",mg);const gg=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Cg=V("code-xml",gg);const yg=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],Bg=V("code",yg);const Ag=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],bg=V("coffee",Ag);const vg=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],Dg=V("cog",vg);const kg=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Fg=V("compass",kg);const wg=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],kc=V("copy",wg);const Sg=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],Mg=V("cpu",Sg);const Ng=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Tg=V("credit-card",Ng);const _g=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],jg=V("crown",_g);const zg=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Rg=V("database",zg);const Og=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],Lg=V("dna",Og);const Pg=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],Ug=V("dog",Pg);const Hg=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],qg=V("dollar-sign",Hg);const Ig=[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]],$g=V("dumbbell",Ig);const Vg=[["path",{d:"M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12",key:"1le142"}]],Gg=V("egg",Vg);const Qg=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Yg=V("factory",Qg);const Xg=[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]],Kg=V("feather",Xg);const Zg=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],Jg=V("file-code",Zg);const Wg=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],eC=V("file-diff",Wg);const tC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],nC=V("file",tC);const rC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],aC=V("film",rC);const lC=[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]],iC=V("fish",lC);const oC=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],sC=V("flag",oC);const xC=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],uC=V("flame",xC);const cC=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],fC=V("flask-conical",cC);const dC=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],hC=V("folder",dC);const pC=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],mC=V("gamepad-2",pC);const EC=[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]],gC=V("gem",EC);const CC=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],yC=V("gift",CC);const BC=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],AC=V("git-branch",BC);const bC=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],vC=V("git-fork",bC);const DC=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],j2=V("git-merge",DC);const kC=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],FC=V("github",kC);const wC=[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]],SC=V("glasses",wC);const MC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],NC=V("globe",MC);const TC=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],_C=V("graduation-cap",TC);const jC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],zC=V("grid-3x3",jC);const RC=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],OC=V("hammer",RC);const LC=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],PC=V("headphones",LC);const UC=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]],HC=V("heart-pulse",UC);const qC=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],IC=V("heart",qC);const $C=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],VC=V("house",$C);const GC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],QC=V("image",GC);const YC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],XC=V("info",YC);const KC=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],ZC=V("key",KC);const JC=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],WC=V("laptop",JC);const ey=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],ty=V("layers",ey);const ny=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],ry=V("layout-grid",ny);const ay=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],ly=V("leaf",ay);const iy=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],oy=V("lightbulb",iy);const sy=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],xy=V("link",sy);const uy=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],cy=V("list",uy);const fy=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Ea=V("loader-circle",fy);const dy=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],hy=V("lock",dy);const py=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],my=V("log-out",py);const Ey=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],gy=V("mail",Ey);const Cy=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],yy=V("map-pin",Cy);const By=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],Ay=V("map",By);const by=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]],vy=V("martini",by);const Dy=[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]],ky=V("medal",Dy);const Fy=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],wy=V("message-circle",Fy);const Sy=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],My=V("message-square",Sy);const Ny=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],Ty=V("mic",Ny);const _y=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],jy=V("microscope",_y);const zy=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],Ry=V("monitor",zy);const Oy=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Ly=V("moon",Oy);const Py=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],Uy=V("music",Py);const Hy=[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]],qy=V("orbit",Hy);const Iy=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],$y=V("package",Iy);const Vy=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],Gy=V("paintbrush",Vy);const Qy=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],Yy=V("panel-left",Qy);const Xy=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Io=V("paperclip",Xy);const Ky=[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]],Zy=V("paw-print",Ky);const Jy=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Wy=V("pen",Jy);const eB=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],tB=V("pencil",eB);const nB=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],rB=V("phone",nB);const aB=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],lB=V("pill",aB);const iB=[["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"}]],oB=V("pipette",iB);const sB=[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]],xB=V("pizza",sB);const uB=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],cB=V("plane",uB);const fB=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],dB=V("plug",fB);const hB=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],z2=V("plus",hB);const pB=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],mB=V("power",pB);const EB=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],gB=V("puzzle",EB);const CB=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],R2=V("qr-code",CB);const yB=[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]],BB=V("rabbit",yB);const AB=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],bB=V("radio",AB);const vB=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Fc=V("refresh-cw",vB);const DB=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],kB=V("rocket",DB);const FB=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],wB=V("salad",FB);const SB=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],MB=V("ruler",SB);const NB=[["path",{d:"m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5",key:"dzhfyz"}],["path",{d:"M16.5 7.5 19 5",key:"1ltcjm"}],["path",{d:"m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5",key:"nfoymv"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}],["path",{d:"M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z",key:"nv9zqy"}]],TB=V("satellite",NB);const _B=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],jB=V("scissors",_B);const zB=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],O2=V("search",zB);const RB=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],OB=V("server",RB);const LB=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],PB=V("settings",LB);const UB=[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]],HB=V("shell",UB);const qB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],IB=V("shield",qB);const $B=[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]],VB=V("ship",$B);const GB=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],QB=V("shopping-bag",GB);const YB=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],XB=V("shopping-cart",YB);const KB=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],ZB=V("sliders-horizontal",KB);const JB=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],WB=V("smartphone",JB);const eA=[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]],tA=V("snail",eA);const nA=[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]],rA=V("soup",nA);const aA=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],lA=V("sparkles",aA);const iA=[["path",{d:"M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",key:"139s4v"}],["path",{d:"M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4",key:"1dlkgp"}],["path",{d:"M5 21h14",key:"11awu3"}]],oA=V("sprout",iA);const sA=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],xA=V("square",sA);const uA=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],cA=V("star",uA);const fA=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],dA=V("stethoscope",fA);const hA=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],pA=V("store",hA);const mA=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],L2=V("sun",mA);const EA=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],gA=V("tag",EA);const CA=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],yA=V("tags",CA);const BA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],AA=V("target",BA);const bA=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],vA=V("telescope",bA);const DA=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],kA=V("terminal",DA);const FA=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],wA=V("ticket",FA);const SA=[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]],MA=V("train-front",SA);const NA=[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]],TA=V("tree-pine",NA);const _A=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],jA=V("trending-up",_A);const zA=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],wc=V("triangle-alert",zA);const RA=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],OA=V("trophy",RA);const LA=[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]],PA=V("turtle",LA);const UA=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],HA=V("user",UA);const qA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],IA=V("users",qA);const $A=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],VA=V("utensils",$A);const GA=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],QA=V("video",GA);const YA=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],XA=V("wallet",YA);const KA=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],wh=V("wand-sparkles",KA);const ZA=[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]],JA=V("warehouse",ZA);const WA=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],eb=V("wheat",WA);const tb=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Sc=V("wifi-off",tb);const nb=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],P2=V("wifi",nb);const rb=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],ab=V("wine",rb);const lb=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],ib=V("wrench",lb);const ob=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],$n=V("x",ob);const sb=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],U2=V("zap",sb);function Sh(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Xt(e,r){return{method:e,pattern:r,path:()=>r}}function yt(e,r){const[a,i]=r.split(/:[a-zA-Z]+/);if(i===void 0)throw new Error(`route ${r} declares no :param`);return{method:e,pattern:r,path:o=>`${a}${encodeURIComponent(o)}${i}`,re:new RegExp(`^${Sh(a)}([^/]+)${Sh(i)}$`)}}const ve={state:Xt("GET","/api/state"),search:Xt("GET","/api/search"),repos:Xt("GET","/api/repos"),repoIcon:yt("GET","/api/repos/:repo/icon"),localImage:yt("GET","/api/local-images/:path"),filePreview:yt("GET","/api/files/:reference"),stageAttachment:Xt("POST","/api/attachments"),discardStagedAttachment:yt("DELETE","/api/attachments/:attachmentId"),logs:Xt("GET","/api/logs"),settings:Xt("GET","/api/settings"),updateSettings:Xt("PATCH","/api/settings"),armNoSleep:Xt("POST","/api/nosleep"),disarmNoSleep:Xt("DELETE","/api/nosleep"),push:Xt("GET","/api/push"),pushSubscribe:Xt("POST","/api/push/subscribe"),pushUnsubscribe:Xt("POST","/api/push/unsubscribe"),pushTest:Xt("POST","/api/push/test"),createWorkspace:Xt("POST","/api/workspaces"),workspace:yt("GET","/api/workspaces/:workspaceId"),sessions:yt("GET","/api/workspaces/:workspaceId/sessions"),newChat:yt("POST","/api/workspaces/:workspaceId/sessions"),diff:yt("GET","/api/workspaces/:workspaceId/diff"),merge:yt("POST","/api/workspaces/:workspaceId/merge"),workspaceStatus:yt("POST","/api/workspaces/:workspaceId/status"),dismissFirstPrompt:yt("DELETE","/api/workspaces/:workspaceId/prompt"),messages:yt("GET","/api/sessions/:sessionId/messages"),models:yt("GET","/api/sessions/:sessionId/models"),agent:yt("POST","/api/sessions/:sessionId/agent"),stop:yt("POST","/api/sessions/:sessionId/stop"),sendPrompt:yt("POST","/api/sessions/:sessionId/prompt"),uploadAttachment:yt("POST","/api/sessions/:sessionId/attachments"),splitChat:yt("POST","/api/sessions/:sessionId/split"),dismissParkedPrompt:yt("DELETE","/api/sessions/:sessionId/prompt")},Tl="conductor-remote-token";function xb(){const r=new URLSearchParams(location.hash.slice(1)).get("token");return r&&(localStorage.setItem(Tl,r),history.replaceState(null,"",location.pathname+location.search)),localStorage.getItem(Tl)}function Mc(){return localStorage.getItem(Tl)}function ub(){localStorage.removeItem(Tl)}function cb(e){localStorage.setItem(Tl,e)}function fb(e){const r=e.trim();if(!r)return null;const a=r.match(/token=([^&\s]+)/);return a?decodeURIComponent(a[1]):/\s/.test(r)?null:r}class pr extends Error{constructor(r,a){super(r),this.status=a}status}const H2=6e3,un=45e3,db=75e3;async function Xe(e,r={},a=H2){const i=Mc();let o;try{o=await fetch(e,{...r,signal:AbortSignal.timeout(a),headers:{authorization:`Bearer ${i??""}`,"content-type":"application/json","x-client-timeout-ms":String(a),...r.headers}})}catch(x){throw x instanceof DOMException&&x.name==="TimeoutError"?new pr("Request timed out",0):x}if(!o.ok){const x=await o.json().catch(()=>({}));throw new pr(x.error||`HTTP ${o.status}`,o.status)}return o.json()}async function Mh(e,r){const a=Mc();let i;try{i=await fetch(e,{method:"POST",body:r,signal:AbortSignal.timeout(un),headers:{authorization:`Bearer ${a??""}`,"content-type":r.type||"application/octet-stream","x-attachment-name":encodeURIComponent(r.name),"x-client-timeout-ms":String(un)}})}catch(o){throw o instanceof DOMException&&o.name==="TimeoutError"?new pr("Upload timed out",0):o}if(!i.ok){const o=await i.json().catch(()=>({}));throw new pr(o.error||`HTTP ${i.status}`,i.status)}return i.json()}const Cu=new Map;async function hb(e){const r=Mc(),a=await fetch(e,{headers:{authorization:`Bearer ${r??""}`},signal:AbortSignal.timeout(H2)});if(!a.ok)throw new pr(`HTTP ${a.status}`,a.status);return URL.createObjectURL(await a.blob())}function Nh(e){let r=Cu.get(e);return r||(r=hb(e),r.catch(()=>Cu.delete(e)),Cu.set(e,r)),r}const Oe={state:()=>Xe(ve.state.path()),repoIcon:e=>Nh(ve.repoIcon.path(e)),localImage:e=>Nh(ve.localImage.path(e)),filePreview:e=>Xe(ve.filePreview.path(e)),stageAttachment:e=>Mh(ve.stageAttachment.path(),e),discardStagedAttachment:e=>Xe(ve.discardStagedAttachment.path(e),{method:ve.discardStagedAttachment.method}),workspace:e=>Xe(ve.workspace.path(e)),sessions:e=>Xe(ve.sessions.path(e)),messages:(e,r)=>Xe(`${ve.messages.path(e)}?after=${r}`),uploadAttachment:(e,r,a)=>Mh(`${ve.uploadAttachment.path(e)}?workspaceId=${encodeURIComponent(r)}`,a),diff:e=>Xe(ve.diff.path(e)),sendPrompt:(e,r,a,i,o,x)=>Xe(ve.sendPrompt.path(e),{method:ve.sendPrompt.method,body:JSON.stringify({text:r,workspaceId:a,agent:i,clientId:o,queue:x})},db),stop:(e,r)=>Xe(ve.stop.path(e),{method:ve.stop.method,body:JSON.stringify({workspaceId:r})},un),newChat:e=>Xe(ve.newChat.path(e),{method:ve.newChat.method},un),splitChat:(e,r,a,i)=>Xe(ve.splitChat.path(e),{method:ve.splitChat.method,body:JSON.stringify({workspaceId:r,includeThinking:a,includeTools:i})},un),repos:()=>Xe(ve.repos.path()),search:e=>Xe(`${ve.search.path()}?q=${encodeURIComponent(e)}`),dismissPrompt:e=>Xe(ve.dismissFirstPrompt.path(e),{method:ve.dismissFirstPrompt.method}),dismissParked:e=>Xe(ve.dismissParkedPrompt.path(e),{method:ve.dismissParkedPrompt.method}),createWorkspace:(e,r,a=!0,i=[])=>Xe(ve.createWorkspace.path(),{method:ve.createWorkspace.method,body:JSON.stringify({repo:e,prompt:r,sendImmediately:a,attachmentIds:i})},un),setAgent:(e,r,a)=>Xe(ve.agent.path(e),{method:ve.agent.method,body:JSON.stringify({...r,workspaceId:a})},un),models:(e,r)=>Xe(`${ve.models.path(e)}?workspaceId=${encodeURIComponent(r)}`,{},un),logs:(e,r=300)=>Xe(`${ve.logs.path()}?limit=${r}${e?`&file=${encodeURIComponent(e)}`:""}`),push:()=>Xe(ve.push.path()),pushSubscribe:(e,r)=>Xe(ve.pushSubscribe.path(),{method:ve.pushSubscribe.method,body:JSON.stringify({subscription:e,label:r})}),pushUnsubscribe:e=>Xe(ve.pushUnsubscribe.path(),{method:ve.pushUnsubscribe.method,body:JSON.stringify({endpoint:e})}),pushTest:e=>Xe(ve.pushTest.path(),{method:ve.pushTest.method,body:JSON.stringify({id:e})},un),merge:e=>Xe(ve.merge.path(e),{method:ve.merge.method},un),setStatus:(e,r)=>Xe(ve.workspaceStatus.path(e),{method:ve.workspaceStatus.method,body:JSON.stringify({status:r})},un),settings:()=>Xe(ve.settings.path()),patchSettings:e=>Xe(ve.updateSettings.path(),{method:ve.updateSettings.method,body:JSON.stringify(e)}),armNoSleep:e=>Xe(ve.armNoSleep.path(),{method:ve.armNoSleep.method,body:JSON.stringify({seconds:e})},un),disarmNoSleep:()=>Xe(ve.disarmNoSleep.path(),{method:ve.disarmNoSleep.method},un)},Th=e=>{let r;const a=new Set,i=(h,E)=>{const p=typeof h=="function"?h(r):h;if(!Object.is(p,r)){const y=r;r=E??(typeof p!="object"||p===null)?p:Object.assign({},r,p),a.forEach(C=>C(r,y))}},o=()=>r,c={setState:i,getState:o,getInitialState:()=>f,subscribe:h=>(a.add(h),()=>a.delete(h))},f=r=e(i,o,c);return c},pb=(e=>e?Th(e):Th),mb=e=>e;function Eb(e,r=mb){const a=so.useSyncExternalStore(e.subscribe,so.useCallback(()=>r(e.getState()),[e,r]),so.useCallback(()=>r(e.getInitialState()),[e,r]));return so.useDebugValue(a),a}const _h=e=>{const r=pb(e),a=i=>Eb(r,i);return Object.assign(a,r),a},gb=(e=>e?_h(e):_h),Fo="conductor-remote-agent:";function Cb(){const e={};try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(Fo))continue;const i=localStorage.getItem(a);i&&(e[a.slice(Fo.length)]=JSON.parse(i))}}catch{}return e}function jh(e,r){try{Object.keys(r).length?localStorage.setItem(Fo+e,JSON.stringify(r)):localStorage.removeItem(Fo+e)}catch{}}const wo="conductor-remote-draft:";function yb(){const e={};try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(wo))continue;const i=localStorage.getItem(a);i&&(e[a.slice(wo.length)]=i)}}catch{}return e}function yu(e,r){try{r?localStorage.setItem(wo+e,r):localStorage.removeItem(wo+e)}catch{}}const Bb=1e4;function Ab(e,r=Date.now()){return Math.max(0,(e??r)+Bb-r)}const q2="conductor-remote-read",zh=300;function bb(){try{const e=JSON.parse(localStorage.getItem(q2)??"{}");return!e||typeof e!="object"?{}:Object.fromEntries(Object.entries(e).filter(([,r])=>typeof r=="string"))}catch{return{}}}function vb(e){const r=Object.entries(e),a=r.length>zh?r.sort((o,x)=>x[1].localeCompare(o[1])).slice(0,zh):r,i=Object.fromEntries(a);try{localStorage.setItem(q2,JSON.stringify(i))}catch{}return i}const I2=(e,r,a)=>(e[r]??"")<a;function Db(e,r){return(e.unread_sessions??[]).filter(a=>I2(r,a.id,a.at)).length}function kb(e,r){return!!e.unread_count&&I2(r,e.id,e.updated_at)}let sa=null;const $2="conductor-remote-view",V2="conductor-remote-last-new-workspace-repo",Rh={groupBy:"status",repos:[],sortBy:"updated",hideMerged:!1,collapsed:[]};function Oh(e){const r={};return e.model!==void 0&&(r.model=e.model),e.effort!==void 0&&(r.effort=e.effort),e.plan!==void 0&&(r.plan=e.plan),e.fast!==void 0&&(r.fast=e.fast),r}function Fb(){try{const{repo:e,...r}=JSON.parse(localStorage.getItem($2)??"{}"),a=Array.isArray(r.repos)?r.repos.filter(i=>typeof i=="string"):typeof e=="string"?[e]:[];return{...Rh,...r,repos:a}}catch{return Rh}}function wb(){try{return localStorage.getItem(V2)??""}catch{return""}}const De=gb((e,r)=>{const a=i=>{localStorage.setItem($2,JSON.stringify(i)),e({view:i})};return{token:xb(),online:!0,lastSyncAt:null,update:null,workingHints:{},pending:[],drafts:yb(),agentDrafts:Cb(),readMarks:bb(),push:{deviceId:null,devices:0},sidebarOpen:!location.pathname.startsWith("/w/"),lastNewWorkspaceRepo:wb(),view:Fb(),setToken:i=>{i?cb(i):ub(),e({token:i})},setOnline:i=>{if(i){sa&&clearTimeout(sa),sa=null,e({online:i,lastSyncAt:Date.now()});return}if(!r().online||sa)return;const o=Ab(r().lastSyncAt);if(o===0){e({online:!1});return}sa=setTimeout(()=>{sa=null,e({online:!1})},o)},setUpdate:i=>e({update:i}),markWorking:i=>e({workingHints:{...r().workingHints,[i]:Date.now()}}),clearWorking:i=>{const{[i]:o,...x}=r().workingHints;e({workingHints:x})},addPending:i=>e({pending:[...r().pending.filter(o=>o.id!==i.id),{...i,status:"sending",error:void 0,createdAt:Date.now()}]}),failPending:(i,o)=>e({pending:r().pending.map(x=>x.id===i?{...x,status:"error",error:o}:x)}),removePending:i=>e({pending:r().pending.filter(o=>o.id!==i)}),setDraft:(i,o)=>{yu(i,o),e({drafts:{...r().drafts,[i]:o}})},moveDraft:(i,o)=>{const x=r().drafts,u=x[i];if(!u||i===o||x[o]!==void 0)return;yu(i,""),yu(o,u);const{[i]:c,...f}=x;e({drafts:{...f,[o]:u}})},markRead:(i,o)=>{(r().readMarks[i]??"")>=o||e({readMarks:vb({...r().readMarks,[i]:o})})},stageAgent:(i,o)=>{const x=Oh({...r().agentDrafts[i],...o});jh(i,x),e({agentDrafts:{...r().agentDrafts,[i]:x}})},clearAgentDraft:(i,o)=>{const x=r().agentDrafts[i];if(!x)return;const u=Oh({model:x.model===o.model?void 0:x.model,effort:x.effort===o.effort?void 0:x.effort,plan:x.plan===o.plan?void 0:x.plan,fast:x.fast===o.fast?void 0:x.fast});jh(i,u),e({agentDrafts:{...r().agentDrafts,[i]:u}})},setPush:i=>e({push:i}),setSidebarOpen:i=>e({sidebarOpen:i}),setLastNewWorkspaceRepo:i=>{try{localStorage.setItem(V2,i)}catch{}e({lastNewWorkspaceRepo:i})},setView:i=>a({...r().view,...i}),toggleGroup:i=>{const{collapsed:o}=r().view;a({...r().view,collapsed:o.includes(i)?o.filter(x=>x!==i):[...o,i]})}}}),Lh=6e4,Sb=1e4,Bu="pwa-update-attempted-at",Mb=2500,Nb=30*6e4,hl="pwa-update-snoozed-until";async function Tb(){try{if("serviceWorker"in navigator){const r=await navigator.serviceWorker.getRegistrations();await Promise.all(r.map(a=>a.unregister()))}if("caches"in window){const r=await caches.keys();await Promise.all(r.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function _b(){const e=De(p=>p.token),r=M.useRef(null),a=M.useRef(!1),{needRefresh:[i,o],updateServiceWorker:x}=z7({onRegisteredSW(p,y){y&&(r.current=y,setInterval(()=>{y.update().catch(()=>{})},Lh))}}),{data:u}=zn({queryKey:["state"],queryFn:()=>Oe.state(),enabled:!!e,refetchInterval:!1}),c=u?.version,f=M.useRef(null);if(M.useEffect(()=>{!c||c==="1.53.0"||f.current===c||(f.current=c,r.current?.update().catch(()=>{}))},[c]),M.useEffect(()=>{if(!i)return;const p=Number(sessionStorage.getItem(Bu));if(sessionStorage.removeItem(Bu),p&&Date.now()-p<Sb){o(!1);return}const y=Number(sessionStorage.getItem(hl));y&&Date.now()<y&&o(!1)},[i,o]),M.useEffect(()=>{if(i)return;const p=()=>{const C=Number(sessionStorage.getItem(hl));!C||Date.now()<C||r.current?.waiting&&(sessionStorage.removeItem(hl),o(!0))},y=window.setInterval(p,Lh);return document.addEventListener("visibilitychange",p),()=>{window.clearInterval(y),document.removeEventListener("visibilitychange",p)}},[i,o]),!i)return null;const h=()=>{sessionStorage.setItem(hl,String(Date.now()+Nb)),o(!1)},E=()=>{sessionStorage.removeItem(hl),sessionStorage.setItem(Bu,String(Date.now()));const p=()=>{a.current||(a.current=!0,window.location.reload())},y=r.current?.waiting;y?(navigator.serviceWorker?.addEventListener("controllerchange",p,{once:!0}),y.addEventListener("statechange",()=>{y.state==="activated"&&p()}),y.postMessage({type:"SKIP_WAITING"})):x(!0),window.setTimeout(()=>{a.current||(a.current=!0,Tb())},Mb)};return g.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-[60] mx-auto flex max-w-sm items-center gap-3 rounded-t-2xl border border-border-soft bg-surface px-4 py-3 shadow-xl",children:[g.jsx(Fc,{size:15,className:"shrink-0 text-accent"}),g.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),g.jsx("button",{type:"button",onClick:h,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),g.jsx("button",{type:"button",onClick:E,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-black transition active:scale-95",children:"Update"})]})}function jb(e){const r=e??"",i=(r.includes("/")?r.slice(r.indexOf("/")+1):r).replace(/[-_]/g," ").trim();return i?i[0].toUpperCase()+i.slice(1):""}function In(e){return e.workspace_name||e.pr_title||jb(e.branch)||e.directory_name||e.id.slice(0,8)}function zb(e){return e.toLowerCase().match(/[\p{L}\p{N}_]+/gu)??[]}function Rb(e){return e.endsWith(" NEW")?e.slice(0,-4):e}const Ob="",Lb="",Ph=".context/attachments/";function Pb(e){const r=[];let a=0;for(;a<e.length;){const i=e.indexOf("@⟦",a);if(i<0)break;const o=e.indexOf("⟧(",i+2);if(o<0||/[\r\n]/.test(e.slice(i,o))){a=i+2;continue}const x=e.slice(i+2,o),u=o+2;let c=u,f=!1;for(;!f&&(c=e.indexOf(")",c),!(c<0));){const h=e.slice(u,c);try{const E=decodeURIComponent(h),p=E.startsWith(Ph)?E.slice(Ph.length):"",y=p.indexOf("/"),C=y<0?"":p.slice(0,y),A=y<0?"":p.slice(y+1);if(/^[A-Za-z0-9]{6}$/.test(C)&&A===x&&!A.includes("/")){r.push({start:i,end:c+1,name:x,path:E}),a=c+1,f=!0;continue}}catch{}c+=1}f||(a=i+2)}return r}const G2="conductor-remote-models";function Q2(){try{return JSON.parse(localStorage.getItem(G2)??"{}")}catch{return{}}}function Y2(e){return[...new Set(e.map(Rb).filter(Boolean))]}function Uh(e){const r=Q2()[e];return r?.models?.length?{...r,models:Y2(r.models)}:void 0}function Ub(e,r,a){try{localStorage.setItem(G2,JSON.stringify({...Q2(),[e]:{models:Y2(r),at:a}}))}catch{}}function Hb(){return/iP(hone|ad|od)/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function X2(){return window.matchMedia("(display-mode: standalone)").matches||navigator.standalone===!0}function K2(){return window.isSecureContext?"serviceWorker"in navigator?!("PushManager"in window)||!("Notification"in window)?Hb()&&!X2()?"needs-install":"unsupported":"ok":"unsupported":"insecure"}function Z2(){const e=navigator.userAgent,r=/iPhone/.test(e)?"iPhone":/iPad/.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?"iPad":/Android/.test(e)?"Android":/Mac OS X/.test(e)?"Mac":/Windows/.test(e)?"Windows":"Browser";return X2()?r:`${r} (browser)`}function qb(e){const r=e+"=".repeat((4-e.length%4)%4),a=atob(r.replace(/-/g,"+").replace(/_/g,"/")),i=new Uint8Array(a.length);for(let o=0;o<a.length;o++)i[o]=a.charCodeAt(o);return i}function Ib(e){let r="";for(const a of new Uint8Array(e))r+=String.fromCharCode(a);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function J2(){if(!("serviceWorker"in navigator))return null;const e=await navigator.serviceWorker.getRegistration();return e||Promise.race([navigator.serviceWorker.ready,new Promise(r=>setTimeout(()=>r(null),5e3))])}async function W2(){return await(await J2())?.pushManager.getSubscription()??null}function $b(e,r){const a=e.options.applicationServerKey;return!!a&&Ib(a)===r}async function ep(e){const r=await J2();if(!r)throw new Error("the app’s service worker isn’t running yet — reload and try again");return r.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:qb(e)})}function tp(e){const r=e.toJSON(),a=r.keys??{};if(!r.endpoint||!a.p256dh||!a.auth)throw new Error("the browser returned an incomplete subscription");return{endpoint:r.endpoint,keys:{p256dh:a.p256dh,auth:a.auth}}}async function Vb(e){let r=await W2();if(r&&!$b(r,e)&&(await r.unsubscribe().catch(()=>{}),r=Notification.permission==="granted"?await ep(e):null),!r)return null;const a=await Oe.pushSubscribe(tp(r),Z2());return{id:a.id??null,devices:a.devices.length}}function Gb(e){const r=De(o=>o.setSidebarOpen),a=De(o=>o.sidebarOpen),i=M.useRef(a);i.current=a,M.useEffect(()=>{const o=e.current;o&&(o.style.transition="",o.style.transform="")},[a,e]),M.useEffect(()=>{const u=window.matchMedia("(min-width: 768px)"),c=()=>e.current;let f=!1,h=!1,E=!1,p=0,y=0,C=0,A=0;const b=F=>{const _=c();_&&(_.style.transition="none",_.style.transform=`translateX(${F}px)`,A=F)},v=()=>{const F=c();F&&(F.style.transition="",F.style.transform="")},k=F=>{for(let _=F;_;_=_.parentElement)if(_.scrollLeft>0)return!0;return!1},L=()=>{f&&(f=!1,v())},w=F=>{if(L(),u.matches||F.touches.length!==1)return;const _=F.touches[0];if(i.current){const z=c()?.getBoundingClientRect().right??0;if(_.clientX>z)return}else if(_.clientX>44||k(F.target))return;f=!0,h=!1,E=!1,p=_.clientX,y=_.clientY,C=c()?.offsetWidth??0},j=F=>{if(!f||E)return;const _=F.touches[0],z=_.clientX-p,$=_.clientY-y;if(!h){if(Math.abs($)>Math.abs(z)&&Math.abs($)>8){E=!0;return}if(Math.abs(z)<6)return;h=!0}F.preventDefault();const N=i.current?0:-C;b(Math.max(-C,Math.min(0,N+z)))},O=()=>{if(!f)return;if(f=!1,!h||E)return v();const F=C?(A+C)/C:0;v(),r(F>.4)};return window.addEventListener("touchstart",w,{passive:!0}),window.addEventListener("touchmove",j,{passive:!1}),window.addEventListener("touchend",O),window.addEventListener("touchcancel",O),document.addEventListener("visibilitychange",L),()=>{window.removeEventListener("touchstart",w),window.removeEventListener("touchmove",j),window.removeEventListener("touchend",O),window.removeEventListener("touchcancel",O),document.removeEventListener("visibilitychange",L)}},[e,r])}const Hh='input, textarea, [contenteditable]:not([contenteditable="false"])';function Qb(){M.useEffect(()=>{const e=window.visualViewport;if(!e)return;const r=document.documentElement;(matchMedia("(display-mode: standalone)").matches||navigator.standalone)&&r.setAttribute("data-standalone","");let a=0,i;const o=()=>{r.style.removeProperty("--app-height"),r.removeAttribute("data-keyboard")},x=E=>{E&&!i?i=setInterval(u,300):!E&&i&&(clearInterval(i),i=void 0)},u=()=>{const E=document.activeElement,p=E instanceof HTMLElement&&E.matches(Hh),y=e.scale>1.01;!p||y?(!y&&window.innerHeight-e.height<120&&(a=e.height),o()):(a||window.innerHeight)-e.height>40?(r.style.setProperty("--app-height",`${Math.round(e.height+e.offsetTop)}px`),r.setAttribute("data-keyboard","")):o(),x(p||r.hasAttribute("data-keyboard")),window.scrollY!==0&&window.scrollTo(0,0)};let c;const f=()=>{u(),clearTimeout(c),c=setTimeout(u,350)},h=()=>{if(document.visibilityState==="hidden"){const E=document.activeElement;E instanceof HTMLElement&&E.matches(Hh)&&E.blur(),o(),x(!1)}else f()};return u(),e.addEventListener("resize",u),e.addEventListener("scroll",u),window.addEventListener("pageshow",f),document.addEventListener("visibilitychange",h),document.addEventListener("focusin",f),document.addEventListener("focusout",f),()=>{clearTimeout(c),x(!1),e.removeEventListener("resize",u),e.removeEventListener("scroll",u),window.removeEventListener("pageshow",f),document.removeEventListener("visibilitychange",h),document.removeEventListener("focusin",f),document.removeEventListener("focusout",f),o()}},[])}function Ul(){const e=De(a=>a.setOnline),r=De(a=>a.setToken);return M.useCallback((a,i)=>{e(a),i instanceof pr&&i.status===401&&r(null)},[e,r])}function Nc(){const e=Ul(),r=De(i=>i.setUpdate),a=zn({queryKey:["state"],queryFn:()=>Oe.state(),refetchInterval:2500});return M.useEffect(()=>{a.isSuccess&&(e(!0),r(a.data.update??null)),a.isError&&e(!1,a.error)},[a.isSuccess,a.isError,a.error,a.data,e,r]),a}function Yb(){return zn({queryKey:["repos"],queryFn:()=>Oe.repos(),staleTime:6e4})}function Xb(e,r){const[a,i]=M.useState(e);return M.useEffect(()=>{const o=setTimeout(()=>i(e),r);return()=>clearTimeout(o)},[e,r]),a}function Kb(e){const r=e.trim();return zn({queryKey:["search",r],queryFn:()=>Oe.search(r),enabled:r.length>=2,staleTime:3e4,placeholderData:x6})}function Zb(e,r){const a=Ul(),i=zn({queryKey:["workspace",e],queryFn:()=>Oe.workspace(e),enabled:r&&!!e,staleTime:Number.POSITIVE_INFINITY,retry:(o,x)=>!(x instanceof pr&&x.status===404)&&o<1});return M.useEffect(()=>{i.isError&&!(i.error instanceof pr&&i.error.status===404)&&a(!1,i.error)},[i.isError,i.error,a]),i}function np(e,r=!0){const a=Ul(),i=zn({queryKey:["sessions",e],queryFn:()=>Oe.sessions(e),enabled:!!e,refetchInterval:r?2e3:!1});return M.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function rp(e,r){const a=Ul(),i=zn({queryKey:["diff",e],queryFn:()=>Oe.diff(e),enabled:!!e,refetchInterval:5e3});return M.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function Jb(e){return zn({queryKey:["repoIcon",e],queryFn:()=>Oe.repoIcon(e),enabled:!!e,staleTime:Number.POSITIVE_INFINITY,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function Wb(e,r){return zn({queryKey:["logs",e],queryFn:()=>Oe.logs(e),enabled:r,refetchInterval:3e3,retry:!1})}const ev=600*1e3;function tv(e,r,a){const i=e?.agent_type??"claude";return zn({queryKey:["models",i],queryFn:async()=>{const o=await Oe.models(e.id,r);if(!o.ok||!o.models?.length)throw new Error(o.error??"could not read the model list");return Ub(i,o.models,Date.now()),o.models},enabled:a&&!!e,initialData:()=>Uh(i)?.models,initialDataUpdatedAt:()=>Uh(i)?.at,staleTime:ev,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function nv(e,r=!0){const a=Ul(),[i,o]=M.useState({entries:[],loading:!0,error:null}),x=M.useRef(0);return M.useEffect(()=>{if(!e){o({entries:[],loading:!1,error:null});return}x.current=0,o({entries:[],loading:!0,error:null});let u=!0,c=!1;const f=async()=>{if(!c){c=!0;try{const{entries:E,cursor:p}=await Oe.messages(e,x.current);if(!u)return;a(!0),E.length?(x.current=p,o(y=>({entries:[...y.entries,...E],loading:!1,error:null}))):o(y=>y.loading?{...y,loading:!1}:y)}catch(E){if(!u)return;a(!1,E),o(p=>({...p,loading:!1,error:E instanceof Error?E.message:String(E)}))}finally{c=!1}}};f();const h=r?setInterval(f,1e3):void 0;return()=>{u=!1,h&&clearInterval(h)}},[e,r,a]),i}function ap(){const e=Gr(),r=De(u=>u.addPending),a=De(u=>u.failPending),i=De(u=>u.removePending),o=De(u=>u.markWorking),x=De(u=>u.clearAgentDraft);return M.useCallback(async u=>{const c=u.text.trim();if(!c)return!1;const f=u.id??crypto.randomUUID(),{sessionId:h,workspaceId:E}=u;r({id:f,sessionId:h,workspaceId:E,text:c,queue:u.queue});try{const p=De.getState().agentDrafts[h],y=p&&Object.keys(p).length?p:void 0,C=await Oe.sendPrompt(h,c,E,y,f,u.queue);if(C.ok||C.parked)return y&&(x(h,y),e.invalidateQueries({queryKey:["sessions",E]})),C.ok&&o(h),e.invalidateQueries({queryKey:["state"]}),setTimeout(()=>i(f),4e3),!0;a(f,C.error||"Send failed")}catch(p){a(f,p instanceof Error?p.message:String(p))}return!1},[r,a,i,o,x,e])}function lp(e){return zn({queryKey:["push"],queryFn:()=>Oe.push(),enabled:e,staleTime:3e4})}function rv(){const[e]=M.useState(K2),r=De(o=>o.setPush),{data:a}=lp(e==="ok"),i=a?.publicKey;M.useEffect(()=>{if(e!=="ok"||!i)return;let o=!0;return Vb(i).then(x=>{o&&r({deviceId:x?.id??null,devices:x?.devices??0})}).catch(()=>{}),()=>{o=!1}},[e,i,r])}function av(){const[e]=M.useState(K2),[r,a]=M.useState(()=>"Notification"in window?Notification.permission:"unsupported"),[i,o]=M.useState(!1),[x,u]=M.useState(null),{deviceId:c,devices:f}=De(b=>b.push),h=De(b=>b.setPush),E=lp(e==="ok"),p=E.data?.publicKey,y=M.useCallback(async()=>{o(!0),u(null);try{const b=await Notification.requestPermission();if(a(b),b!=="granted"){u(b==="denied"?"Notifications are blocked for this app — allow them in your device settings, then try again.":"Notification permission wasn’t granted.");return}const v=p??(await Oe.push()).publicKey,k=await ep(v),L=await Oe.pushSubscribe(tp(k),Z2());h({deviceId:L.id??null,devices:L.devices.length})}catch(b){u(b instanceof Error?b.message:String(b))}finally{o(!1)}},[p,h]),C=M.useCallback(async()=>{o(!0),u(null);try{const b=await W2();let v=0;b&&(v=(await Oe.pushUnsubscribe(b.endpoint).catch(()=>null))?.devices.length??0,await b.unsubscribe()),h({deviceId:null,devices:v})}catch(b){u(b instanceof Error?b.message:String(b))}finally{o(!1)}},[h]),A=M.useCallback(async()=>{if(c){o(!0),u(null);try{const b=await Oe.pushTest(c);b.ok||u(b.error??"The push service rejected it.")}catch(b){u(b instanceof Error?b.message:String(b))}finally{o(!1)}}},[c]);return{support:e,permission:r,enabled:!!c,relayDisabled:E.data?.enabled===!1,busy:i,error:x,devices:f,enable:y,disable:C,test:A}}const lv="push-route",qh="/__push-route",iv=12e4;async function Ih(){if(!("caches"in window))return null;try{const e=await caches.open(lv),r=await e.match(qh);if(!r)return null;await e.delete(qh);const{url:a,ts:i}=await r.json();return typeof a!="string"||!a.startsWith("/")||typeof i!="number"||Date.now()-i>iv?null:a}catch{return null}}function ov(){const e=pa();M.useEffect(()=>{let r=!0;const a=()=>{Ih().then(x=>{r&&x&&e(x)})},i=x=>{const u=x.data;u?.type==="push-navigate"&&typeof u.url=="string"&&u.url.startsWith("/")&&(Ih(),e(u.url))},o=()=>{document.visibilityState==="visible"&&a()};return"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",i),document.addEventListener("visibilitychange",o),a(),()=>{r=!1,"serviceWorker"in navigator&&navigator.serviceWorker.removeEventListener("message",i),document.removeEventListener("visibilitychange",o)}},[e])}function ip(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(r=0;r<o;r++)e[r]&&(a=ip(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function sv(){for(var e,r,a=0,i="",o=arguments.length;a<o;a++)(e=arguments[a])&&(r=ip(e))&&(i&&(i+=" "),i+=r);return i}const xv=(e,r)=>{const a=new Array(e.length+r.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<r.length;i++)a[e.length+i]=r[i];return a},uv=(e,r)=>({classGroupId:e,validator:r}),op=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a}),So="-",$h=[],cv="arbitrary..",fv=e=>{const r=hv(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return dv(u);const c=u.split(So),f=c[0]===""&&c.length>1?1:0;return sp(c,f,r)},getConflictingClassGroupIds:(u,c)=>{if(c){const f=i[u],h=a[u];return f?h?xv(h,f):f:h||$h}return a[u]||$h}}},sp=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;const o=e[r],x=a.nextPart.get(o);if(x){const h=sp(e,r+1,x);if(h)return h}const u=a.validators;if(u===null)return;const c=r===0?e.join(So):e.slice(r).join(So),f=u.length;for(let h=0;h<f;h++){const E=u[h];if(E.validator(c))return E.classGroupId}},dv=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),a=r.indexOf(":"),i=r.slice(0,a);return i?cv+i:void 0})(),hv=e=>{const{theme:r,classGroups:a}=e;return pv(a,r)},pv=(e,r)=>{const a=op();for(const i in e){const o=e[i];Tc(o,a,i,r)}return a},Tc=(e,r,a,i)=>{const o=e.length;for(let x=0;x<o;x++){const u=e[x];mv(u,r,a,i)}},mv=(e,r,a,i)=>{if(typeof e=="string"){Ev(e,r,a);return}if(typeof e=="function"){gv(e,r,a,i);return}Cv(e,r,a,i)},Ev=(e,r,a)=>{const i=e===""?r:xp(r,e);i.classGroupId=a},gv=(e,r,a,i)=>{if(yv(e)){Tc(e(i),r,a,i);return}r.validators===null&&(r.validators=[]),r.validators.push(uv(a,e))},Cv=(e,r,a,i)=>{const o=Object.entries(e),x=o.length;for(let u=0;u<x;u++){const[c,f]=o[u];Tc(f,xp(r,c),a,i)}},xp=(e,r)=>{let a=e;const i=r.split(So),o=i.length;for(let x=0;x<o;x++){const u=i[x];let c=a.nextPart.get(u);c||(c=op(),a.nextPart.set(u,c)),a=c}return a},yv=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Bv=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null);const o=(x,u)=>{a[x]=u,r++,r>e&&(r=0,i=a,a=Object.create(null))};return{get(x){let u=a[x];if(u!==void 0)return u;if((u=i[x])!==void 0)return o(x,u),u},set(x,u){x in a?a[x]=u:o(x,u)}}},Wu="!",Vh=":",Av=[],Gh=(e,r,a,i,o)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:o}),bv=e=>{const{prefix:r,experimentalParseClassName:a}=e;let i=o=>{const x=[];let u=0,c=0,f=0,h;const E=o.length;for(let b=0;b<E;b++){const v=o[b];if(u===0&&c===0){if(v===Vh){x.push(o.slice(f,b)),f=b+1;continue}if(v==="/"){h=b;continue}}v==="["?u++:v==="]"?u--:v==="("?c++:v===")"&&c--}const p=x.length===0?o:o.slice(f);let y=p,C=!1;p.endsWith(Wu)?(y=p.slice(0,-1),C=!0):p.startsWith(Wu)&&(y=p.slice(1),C=!0);const A=h&&h>f?h-f:void 0;return Gh(x,C,y,A)};if(r){const o=r+Vh,x=i;i=u=>u.startsWith(o)?x(u.slice(o.length)):Gh(Av,!1,u,void 0,!0)}if(a){const o=i;i=x=>a({className:x,parseClassName:o})}return i},vv=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),a=>{const i=[];let o=[];for(let x=0;x<a.length;x++){const u=a[x],c=u[0]==="[",f=r.has(u);c||f?(o.length>0&&(o.sort(),i.push(...o),o=[]),i.push(u)):o.push(u)}return o.length>0&&(o.sort(),i.push(...o)),i}},Dv=e=>({cache:Bv(e.cacheSize),parseClassName:bv(e),sortModifiers:vv(e),postfixLookupClassGroupIds:kv(e),...fv(e)}),kv=e=>{const r=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let i=0;i<a.length;i++)r[a[i]]=!0;return r},Fv=/\s+/,wv=(e,r)=>{const{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:x,postfixLookupClassGroupIds:u}=r,c=[],f=e.trim().split(Fv);let h="";for(let E=f.length-1;E>=0;E-=1){const p=f[E],{isExternal:y,modifiers:C,hasImportantModifier:A,baseClassName:b,maybePostfixModifierPosition:v}=a(p);if(y){h=p+(h.length>0?" "+h:h);continue}let k=!!v,L;if(k){const _=b.substring(0,v);L=i(_);const z=L&&u[L]?i(b):void 0;z&&z!==L&&(L=z,k=!1)}else L=i(b);if(!L){if(!k){h=p+(h.length>0?" "+h:h);continue}if(L=i(b),!L){h=p+(h.length>0?" "+h:h);continue}k=!1}const w=C.length===0?"":C.length===1?C[0]:x(C).join(":"),j=A?w+Wu:w,O=j+L;if(c.indexOf(O)>-1)continue;c.push(O);const F=o(L,k);for(let _=0;_<F.length;++_){const z=F[_];c.push(j+z)}h=p+(h.length>0?" "+h:h)}return h},Sv=(...e)=>{let r=0,a,i,o="";for(;r<e.length;)(a=e[r++])&&(i=up(a))&&(o&&(o+=" "),o+=i);return o},up=e=>{if(typeof e=="string")return e;let r,a="";for(let i=0;i<e.length;i++)e[i]&&(r=up(e[i]))&&(a&&(a+=" "),a+=r);return a},Mv=(e,...r)=>{let a,i,o,x;const u=f=>{const h=r.reduce((E,p)=>p(E),e());return a=Dv(h),i=a.cache.get,o=a.cache.set,x=c,c(f)},c=f=>{const h=i(f);if(h)return h;const E=wv(f,a);return o(f,E),E};return x=u,(...f)=>x(Sv(...f))},Nv=[],Bt=e=>{const r=a=>a[e]||Nv;return r.isThemeGetter=!0,r},cp=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fp=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Tv=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,_v=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jv=/\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$/,zv=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Rv=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ov=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qr=e=>Tv.test(e),Ne=e=>!!e&&!Number.isNaN(Number(e)),Hn=e=>!!e&&Number.isInteger(Number(e)),Au=e=>e.endsWith("%")&&Ne(e.slice(0,-1)),fr=e=>_v.test(e),dp=()=>!0,Lv=e=>jv.test(e)&&!zv.test(e),_c=()=>!1,Pv=e=>Rv.test(e),Uv=e=>Ov.test(e),Hv=e=>!pe(e)&&!me(e),qv=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),Iv=e=>Qr(e,mp,_c),pe=e=>cp.test(e),d0=e=>Qr(e,Ep,Lv),Qh=e=>Qr(e,Zv,Ne),$v=e=>Qr(e,Cp,dp),Vv=e=>Qr(e,gp,_c),Yh=e=>Qr(e,hp,_c),Gv=e=>Qr(e,pp,Uv),uo=e=>Qr(e,yp,Pv),me=e=>fp.test(e),pl=e=>y0(e,Ep),Qv=e=>y0(e,gp),Xh=e=>y0(e,hp),Yv=e=>y0(e,mp),Xv=e=>y0(e,pp),co=e=>y0(e,yp,!0),Kv=e=>y0(e,Cp,!0),Qr=(e,r,a)=>{const i=cp.exec(e);return i?i[1]?r(i[1]):a(i[2]):!1},y0=(e,r,a=!1)=>{const i=fp.exec(e);return i?i[1]?r(i[1]):a:!1},hp=e=>e==="position"||e==="percentage",pp=e=>e==="image"||e==="url",mp=e=>e==="length"||e==="size"||e==="bg-size",Ep=e=>e==="length",Zv=e=>e==="number",gp=e=>e==="family-name",Cp=e=>e==="number"||e==="weight",yp=e=>e==="shadow",Jv=()=>{const e=Bt("color"),r=Bt("font"),a=Bt("text"),i=Bt("font-weight"),o=Bt("tracking"),x=Bt("leading"),u=Bt("breakpoint"),c=Bt("container"),f=Bt("spacing"),h=Bt("radius"),E=Bt("shadow"),p=Bt("inset-shadow"),y=Bt("text-shadow"),C=Bt("drop-shadow"),A=Bt("blur"),b=Bt("perspective"),v=Bt("aspect"),k=Bt("ease"),L=Bt("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...j(),me,pe],F=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],z=()=>[me,pe,f],$=()=>[qr,"full","auto",...z()],N=()=>[Hn,"none","subgrid",me,pe],G=()=>["auto",{span:["full",Hn,me,pe]},Hn,me,pe],K=()=>[Hn,"auto",me,pe],se=()=>["auto","min","max","fr",me,pe],te=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],I=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...z()],Y=()=>[qr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],re=()=>[qr,"screen","full","dvw","lvw","svw","min","max","fit",...z()],he=()=>[qr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],S=()=>[e,me,pe],R=()=>[...j(),Xh,Yh,{position:[me,pe]}],W=()=>["no-repeat",{repeat:["","x","y","space","round"]}],T=()=>["auto","cover","contain",Yv,Iv,{size:[me,pe]}],ae=()=>[Au,pl,d0],de=()=>["","none","full",h,me,pe],ue=()=>["",Ne,pl,d0],H=()=>["solid","dashed","dotted","double"],Ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>[Ne,Au,Xh,Yh],Te=()=>["","none",A,me,pe],Ge=()=>["none",Ne,me,pe],Ke=()=>["none",Ne,me,pe],Wt=()=>[Ne,me,pe],ft=()=>[qr,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fr],breakpoint:[fr],color:[dp],container:[fr],"drop-shadow":[fr],ease:["in","out","in-out"],font:[Hv],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fr],shadow:[fr],spacing:["px",Ne],text:[fr],"text-shadow":[fr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",qr,pe,me,v]}],container:["container"],"container-type":[{"@container":["","normal","size",me,pe]}],"container-named":[qv],columns:[{columns:[Ne,pe,me,c]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"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:O()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$()}],"inset-x":[{"inset-x":$()}],"inset-y":[{"inset-y":$()}],start:[{"inset-s":$(),start:$()}],end:[{"inset-e":$(),end:$()}],"inset-bs":[{"inset-bs":$()}],"inset-be":[{"inset-be":$()}],top:[{top:$()}],right:[{right:$()}],bottom:[{bottom:$()}],left:[{left:$()}],visibility:["visible","invisible","collapse"],z:[{z:[Hn,"auto",me,pe]}],basis:[{basis:[qr,"full","auto",c,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ne,qr,"auto","initial","none",pe]}],grow:[{grow:["",Ne,me,pe]}],shrink:[{shrink:["",Ne,me,pe]}],order:[{order:[Hn,"first","last","none",me,pe]}],"grid-cols":[{"grid-cols":N()}],"col-start-end":[{col:G()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":N()}],"row-start-end":[{row:G()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":se()}],"auto-rows":[{"auto-rows":se()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...te(),"normal"]}],"justify-items":[{"justify-items":[...I(),"normal"]}],"justify-self":[{"justify-self":["auto",...I()]}],"align-content":[{content:["normal",...te()]}],"align-items":[{items:[...I(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...I(),{baseline:["","last"]}]}],"place-content":[{"place-content":te()}],"place-items":[{"place-items":[...I(),"baseline"]}],"place-self":[{"place-self":["auto",...I()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pbs:[{pbs:z()}],pbe:[{pbe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mbs:[{mbs:U()}],mbe:[{mbe:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],"inline-size":[{inline:["auto",...re()]}],"min-inline-size":[{"min-inline":["auto",...re()]}],"max-inline-size":[{"max-inline":["none",...re()]}],"block-size":[{block:["auto",...he()]}],"min-block-size":[{"min-block":["auto",...he()]}],"max-block-size":[{"max-block":["none",...he()]}],w:[{w:[c,"screen",...Y()]}],"min-w":[{"min-w":[c,"screen","none",...Y()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[u]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",a,pl,d0]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Kv,$v]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Au,pe]}],"font-family":[{font:[Qv,Vv,r]}],"font-features":[{"font-features":[pe]}],"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:[o,me,pe]}],"line-clamp":[{"line-clamp":[Ne,"none",me,Qh]}],leading:[{leading:[x,...z()]}],"list-image":[{"list-image":["none",me,pe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",me,pe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:S()}],"text-color":[{text:S()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ne,"from-font","auto",me,d0]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[Ne,"auto",me,pe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"tab-size":[{tab:[Hn,me,pe]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",me,pe]}],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",me,pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:W()}],"bg-size":[{bg:T()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Hn,me,pe],radial:["",me,pe],conic:[Hn,me,pe]},Xv,Gv]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:ue()}],"border-w-x":[{"border-x":ue()}],"border-w-y":[{"border-y":ue()}],"border-w-s":[{"border-s":ue()}],"border-w-e":[{"border-e":ue()}],"border-w-bs":[{"border-bs":ue()}],"border-w-be":[{"border-be":ue()}],"border-w-t":[{"border-t":ue()}],"border-w-r":[{"border-r":ue()}],"border-w-b":[{"border-b":ue()}],"border-w-l":[{"border-l":ue()}],"divide-x":[{"divide-x":ue()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ue()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...H(),"hidden","none"]}],"divide-style":[{divide:[...H(),"hidden","none"]}],"border-color":[{border:S()}],"border-color-x":[{"border-x":S()}],"border-color-y":[{"border-y":S()}],"border-color-s":[{"border-s":S()}],"border-color-e":[{"border-e":S()}],"border-color-bs":[{"border-bs":S()}],"border-color-be":[{"border-be":S()}],"border-color-t":[{"border-t":S()}],"border-color-r":[{"border-r":S()}],"border-color-b":[{"border-b":S()}],"border-color-l":[{"border-l":S()}],"divide-color":[{divide:S()}],"outline-style":[{outline:[...H(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ne,me,pe]}],"outline-w":[{outline:["",Ne,pl,d0]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",E,co,uo]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",p,co,uo]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[Ne,d0]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":ue()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",y,co,uo]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[Ne,me,pe]}],"mix-blend":[{"mix-blend":[...Ce(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ce()}],"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":[Ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[me,pe]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"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":j()}],"mask-image-conic-pos":[{"mask-conic":[Ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:W()}],"mask-size":[{mask:T()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",me,pe]}],filter:[{filter:["","none",me,pe]}],blur:[{blur:Te()}],brightness:[{brightness:[Ne,me,pe]}],contrast:[{contrast:[Ne,me,pe]}],"drop-shadow":[{"drop-shadow":["","none",C,co,uo]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",Ne,me,pe]}],"hue-rotate":[{"hue-rotate":[Ne,me,pe]}],invert:[{invert:["",Ne,me,pe]}],saturate:[{saturate:[Ne,me,pe]}],sepia:[{sepia:["",Ne,me,pe]}],"backdrop-filter":[{"backdrop-filter":["","none",me,pe]}],"backdrop-blur":[{"backdrop-blur":Te()}],"backdrop-brightness":[{"backdrop-brightness":[Ne,me,pe]}],"backdrop-contrast":[{"backdrop-contrast":[Ne,me,pe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ne,me,pe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ne,me,pe]}],"backdrop-invert":[{"backdrop-invert":["",Ne,me,pe]}],"backdrop-opacity":[{"backdrop-opacity":[Ne,me,pe]}],"backdrop-saturate":[{"backdrop-saturate":[Ne,me,pe]}],"backdrop-sepia":[{"backdrop-sepia":["",Ne,me,pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",me,pe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ne,"initial",me,pe]}],ease:[{ease:["linear","initial",k,me,pe]}],delay:[{delay:[Ne,me,pe]}],animate:[{animate:["none",L,me,pe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,me,pe]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:Ge()}],"rotate-x":[{"rotate-x":Ge()}],"rotate-y":[{"rotate-y":Ge()}],"rotate-z":[{"rotate-z":Ge()}],scale:[{scale:Ke()}],"scale-x":[{"scale-x":Ke()}],"scale-y":[{"scale-y":Ke()}],"scale-z":[{"scale-z":Ke()}],"scale-3d":["scale-3d"],skew:[{skew:Wt()}],"skew-x":[{"skew-x":Wt()}],"skew-y":[{"skew-y":Wt()}],transform:[{transform:[me,pe,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ft()}],"translate-x":[{"translate-x":ft()}],"translate-y":[{"translate-y":ft()}],"translate-z":[{"translate-z":ft()}],"translate-none":["translate-none"],zoom:[{zoom:[Hn,me,pe]}],accent:[{accent:S()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:S()}],"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",me,pe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":S()}],"scrollbar-track-color":[{"scrollbar-track":S()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mbs":[{"scroll-mbs":z()}],"scroll-mbe":[{"scroll-mbe":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pbs":[{"scroll-pbs":z()}],"scroll-pbe":[{"scroll-pbe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"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",me,pe]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[Ne,pl,d0,Qh]}],stroke:[{stroke:["none",...S()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Wv=Mv(Jv);function Be(...e){return Wv(sv(e))}function eD(e){const r=[],a=e.split(Ob);for(let i=0;i<a.length;i++){const o=a[i];if(i===0){o&&r.push({text:o,hit:!1});continue}const x=o.indexOf(Lb);if(x<0){o&&r.push({text:o,hit:!0});continue}const u=o.slice(0,x),c=o.slice(x+1);u&&r.push({text:u,hit:!0}),c&&r.push({text:c,hit:!1})}return r}function Bp(e){return e.state==="setting_up"}const tD={merged:"var(--color-pr-merged)",draft:"var(--color-pr-draft)",conflicts:"var(--color-pr-conflicts)",mergeable:"var(--color-pr-mergeable)"};function nD(e){return Bp(e)?{color:"var(--color-muted)",working:!0}:{color:e.pr_status&&tD[e.pr_status]||"var(--color-accent)",working:e.session_status==="working"}}function rD(e){return e.pr_status==="merged"}function Ap(e){return Bp(e)?"setting-up":e.manual_status||e.derived_status||"in-progress"}const Kh=["done","in-review","in-progress","setting-up","backlog","canceled"],aD=["backlog","in-progress","in-review","done","canceled"];function ec(e){return{done:"Done","in-review":"In review","in-progress":"In progress","setting-up":"Setting up",backlog:"Backlog",canceled:"Canceled"}[e]??e}const lD=["today","yesterday","week","month","older"];function iD(e){return{today:"Today",yesterday:"Yesterday",week:"Past week",month:"Past month",older:"Older"}[e]}function Zh(e){const r=new Date(e);return r.setHours(0,0,0,0),r.getTime()}function oD(e,r=new Date){const a=new Date(e);if(!Number.isFinite(a.getTime()))return"older";const i=Math.round((Zh(r)-Zh(a))/864e5);return i<=0?"today":i===1?"yesterday":i<7?"week":i<30?"month":"older"}const jc={done:"var(--color-done)","in-review":"var(--color-idle)","in-progress":"var(--color-working)","setting-up":"var(--color-muted)"};function zc(e){return e?e.replace(/^claude-/,"").replace(/-\d{8}$/,"").replace(/-latest$/,""):""}function Mo(e,r=120){const i=(e.split(`
|
|
11
|
+
Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}/*`}">.`)}let E=wn(),p;if(r){let v=typeof r=="string"?da(r):r;it(f==="/"||v.pathname?.startsWith(f),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${v.pathname}" was given in the \`location\` prop.`),p=v}else p=E;let y=p.pathname||"/",C=y;if(f!=="/"){let v=f.replace(/^\//,"").split("/");C="/"+y.replace(/^\//,"").split("/").slice(v.length).join("/")}let A=a&&a.state.matches.length?a.state.matches.map(v=>Object.assign(v,{route:a.manifest[v.route.id]||v.route})):u2(e,{pathname:C});kn(h||A!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),kn(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=P4(A&&A.map(v=>Object.assign({},v,{params:Object.assign({},u,v.params),pathname:_n([f,i.encodeLocation?i.encodeLocation(v.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?f:_n([f,i.encodeLocation?i.encodeLocation(v.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathnameBase])})),o,a);return r&&b?M.createElement(Ll.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...p},navigationType:"POP"}},b):b}function z4(){let e=$4(),r=m4(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:i},x={padding:"2px 4px",backgroundColor:i},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:x},"ErrorBoundary")," or"," ",M.createElement("code",{style:x},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},r),a?M.createElement("pre",{style:o},a):null,u)}var R4=M.createElement(z4,null),k2=class extends M.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){this.props.onError?this.props.onError(e,r):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const a=F4(e.digest);a&&(e=a)}let r=e!==void 0?M.createElement(Fn.Provider,{value:this.props.routeContext},M.createElement(yc.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?M.createElement(O4,{error:e},r):r}};k2.contextType=y2;var Eu=new WeakMap;function O4({children:e,error:r}){let{basename:a}=M.useContext(dn);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let i=k4(r.digest);if(i){let o=Eu.get(r);if(o)throw o;let x=g2(i.location,a),u=x.absoluteURL||x.to;if(y4(u))throw new Error("Invalid redirect location");if(E2&&!Eu.get(r))if(x.isExternal||i.reloadDocument)window.location.href=u;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(x.to,{replace:i.replace}));throw Eu.set(r,c),c}return M.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u}`})}}return e}function L4({routeContext:e,match:r,children:a}){let i=M.useContext(ha);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),M.createElement(Fn.Provider,{value:e},a)}function P4(e,r=[],a){let i=a?.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(r.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let o=e,x=i?.errors;if(x!=null){let E=o.findIndex(p=>p.route.id&&x?.[p.route.id]!==void 0);it(E>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(x).join(",")}`),o=o.slice(0,Math.min(o.length,E+1))}let u=!1,c=-1;if(a&&i){u=i.renderFallback;for(let E=0;E<o.length;E++){let p=o[E];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(c=E),p.route.id){let{loaderData:y,errors:C}=i,A=p.route.loader&&!y.hasOwnProperty(p.route.id)&&(!C||C[p.route.id]===void 0);if(p.route.lazy||A){a.isStatic&&(u=!0),c>=0?o=o.slice(0,c+1):o=[o[0]];break}}}}let f=a?.onError,h=i&&f?(E,p)=>{f(E,{location:i.location,params:i.matches?.[0]?.params??{},pattern:E4(i.matches),errorInfo:p})}:void 0;return o.reduceRight((E,p,y)=>{let C,A=!1,b=null,v=null;i&&(C=x&&p.route.id?x[p.route.id]:void 0,b=p.route.errorElement||R4,u&&(c<0&&y===0?(F2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,v=null):c===y&&(A=!0,v=p.route.hydrateFallbackElement||null)));let k=r.concat(o.slice(0,y+1)),L=()=>{let w;return C?w=b:A?w=v:p.route.Component?w=M.createElement(p.route.Component,null):p.route.element?w=p.route.element:w=E,M.createElement(L4,{match:p,routeContext:{outlet:E,matches:k,isDataRoute:i!=null},children:w})};return i&&(p.route.ErrorBoundary||p.route.errorElement||y===0)?M.createElement(k2,{location:i.location,revalidation:i.revalidation,component:b,error:C,children:L(),routeContext:{outlet:null,matches:k,isDataRoute:!0},onError:h}):L()},null)}function Bc(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function U4(e){let r=M.useContext(ha);return it(r,Bc(e)),r}function H4(e){let r=M.useContext(Uo);return it(r,Bc(e)),r}function q4(e){let r=M.useContext(Fn);return it(r,Bc(e)),r}function Ac(e){let r=q4(e),a=r.matches[r.matches.length-1];return it(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function I4(){return Ac("useRouteId")}function $4(){let e=M.useContext(yc),r=H4("useRouteError"),a=Ac("useRouteError");return e!==void 0?e:r.errors?.[a]}function V4(){let{router:e}=U4("useNavigate"),r=Ac("useNavigate"),a=M.useRef(!1);return v2(()=>{a.current=!0}),M.useCallback(async(o,x={})=>{kn(a.current,b2),a.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:r,...x}))},[e,r])}var vh={};function F2(e,r,a){!r&&!vh[e]&&(vh[e]=!0,kn(!1,a))}M.memo(G4);function G4({routes:e,manifest:r,future:a,state:i,isStatic:o,onError:x}){return D2(e,void 0,{manifest:r,state:i,isStatic:o,onError:x})}function Q4({to:e,replace:r,state:a,relative:i}){it(C0(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=M.useContext(dn);kn(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:x}=M.useContext(Fn),{pathname:u}=wn(),c=pa(),f=Po(e,Cc(x),u,i==="path"),h=JSON.stringify(f);return M.useEffect(()=>{c(JSON.parse(h),{replace:r,state:a,relative:i})},[c,h,i,r,a]),null}function Y4(e){return T4(e.context)}function Al(e){it(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function X4({basename:e="/",children:r=null,location:a,navigationType:i="POP",navigator:o,static:x=!1,useTransitions:u}){it(!C0(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),f=M.useMemo(()=>({basename:c,navigator:o,static:x,useTransitions:u,future:{}}),[c,o,x,u]);typeof a=="string"&&(a=da(a));let{pathname:h="/",search:E="",hash:p="",state:y=null,key:C="default",mask:A}=a,b=M.useMemo(()=>{let v=dr(h,c);return v==null?null:{location:{pathname:v,search:E,hash:p,state:y,key:C,mask:A},navigationType:i}},[c,h,E,p,y,C,i,A]);return kn(b!=null,`<Router basename="${c}"> is not able to match the URL "${h}${E}${p}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:M.createElement(dn.Provider,{value:f},M.createElement(Ll.Provider,{children:r,value:b}))}function K4({children:e,location:r}){return j4(Zu(e),r)}function Zu(e,r=[]){let a=[];return M.Children.forEach(e,(i,o)=>{if(!M.isValidElement(i))return;let x=[...r,o];if(i.type===M.Fragment){a.push.apply(a,Zu(i.props.children,x));return}it(i.type===Al,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),it(!i.props.index||!i.props.children,"An index route cannot have child routes.");let u={id:i.props.id||x.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=Zu(i.props.children,x)),a.push(u)}),a}var Co="get",yo="application/x-www-form-urlencoded";function Ho(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Z4(e){return Ho(e)&&e.tagName.toLowerCase()==="button"}function J4(e){return Ho(e)&&e.tagName.toLowerCase()==="form"}function W4(e){return Ho(e)&&e.tagName.toLowerCase()==="input"}function e7(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function t7(e,r){return e.button===0&&(!r||r==="_self")&&!e7(e)}function Ju(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((r,a)=>{let i=e[a];return r.concat(Array.isArray(i)?i.map(o=>[a,o]):[[a,i]])},[]))}function n7(e,r){let a=Ju(e);return r&&r.forEach((i,o)=>{a.has(o)||r.getAll(o).forEach(x=>{a.append(o,x)})}),a}var xo=null;function r7(){if(xo===null)try{new FormData(document.createElement("form"),0),xo=!1}catch{xo=!0}return xo}var a7=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function gu(e){return e!=null&&!a7.has(e)?(kn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${yo}"`),null):e}function l7(e,r){let a,i,o,x,u;if(J4(e)){let c=e.getAttribute("action");i=c?dr(c,r):null,a=e.getAttribute("method")||Co,o=gu(e.getAttribute("enctype"))||yo,x=new FormData(e)}else if(Z4(e)||W4(e)&&(e.type==="submit"||e.type==="image")){let c=e.form;if(c==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||c.getAttribute("action");if(i=f?dr(f,r):null,a=e.getAttribute("formmethod")||c.getAttribute("method")||Co,o=gu(e.getAttribute("formenctype"))||gu(c.getAttribute("enctype"))||yo,x=new FormData(c,e),!r7()){let{name:h,type:E,value:p}=e;if(E==="image"){let y=h?`${h}.`:"";x.append(`${y}x`,"0"),x.append(`${y}y`,"0")}else h&&x.append(h,p)}}else{if(Ho(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=Co,i=null,o=yo,u=e}return x&&o==="text/plain"&&(u=x,x=void 0),{action:i,method:a.toLowerCase(),encType:o,formData:x,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function bc(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function w2(e,r,a,i){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${i}`:o.pathname=`${o.pathname}.${i}`:o.pathname==="/"?o.pathname=`_root.${i}`:r&&dr(o.pathname,r)==="/"?o.pathname=`${ko(r)}/_root.${i}`:o.pathname=`${ko(o.pathname)}.${i}`,o}async function i7(e,r){if(e.id in r)return r[e.id];try{let a=await import(e.module);return r[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function o7(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function s7(e,r,a){let i=await Promise.all(e.map(async o=>{let x=r.routes[o.route.id];if(x){let u=await i7(x,a);return u.links?u.links():[]}return[]}));return f7(i.flat(1).filter(o7).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Dh(e,r,a,i,o,x){let u=(f,h)=>a[h]?f.route.id!==a[h].route.id:!0,c=(f,h)=>a[h].pathname!==f.pathname||a[h].route.path?.endsWith("*")&&a[h].params["*"]!==f.params["*"];return x==="assets"?r.filter((f,h)=>u(f,h)||c(f,h)):x==="data"?r.filter((f,h)=>{let E=i.routes[f.route.id];if(!E||!E.hasLoader)return!1;if(u(f,h)||c(f,h))return!0;if(f.route.shouldRevalidate){let p=f.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof p=="boolean")return p}return!0}):[]}function x7(e,r,{includeHydrateFallback:a}={}){return u7(e.map(i=>{let o=r.routes[i.route.id];if(!o)return[];let x=[o.module];return o.clientActionModule&&(x=x.concat(o.clientActionModule)),o.clientLoaderModule&&(x=x.concat(o.clientLoaderModule)),a&&o.hydrateFallbackModule&&(x=x.concat(o.hydrateFallbackModule)),o.imports&&(x=x.concat(o.imports)),x}).flat(1))}function u7(e){return[...new Set(e)]}function c7(e){let r={},a=Object.keys(e).sort();for(let i of a)r[i]=e[i];return r}function f7(e,r){let a=new Set;return new Set(r),e.reduce((i,o)=>{let x=JSON.stringify(c7(o));return a.has(x)||(a.add(x),i.push({key:x,link:o})),i},[])}function vc(){let e=M.useContext(ha);return bc(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function d7(){let e=M.useContext(Uo);return bc(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Dc=M.createContext(void 0);Dc.displayName="FrameworkContext";function qo(){let e=M.useContext(Dc);return bc(e,"You must render this element inside a <HydratedRouter> element"),e}function h7(e,r){let a=M.useContext(Dc),[i,o]=M.useState(!1),[x,u]=M.useState(!1),{onFocus:c,onBlur:f,onMouseEnter:h,onMouseLeave:E,onTouchStart:p}=r,y=M.useRef(null);M.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let b=k=>{k.forEach(L=>{u(L.isIntersecting)})},v=new IntersectionObserver(b,{threshold:.5});return y.current&&v.observe(y.current),()=>{v.disconnect()}}},[e]),M.useEffect(()=>{if(i){let b=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(b)}}},[i]);let C=()=>{o(!0)},A=()=>{o(!1),u(!1)};return a?e!=="intent"?[x,y,{}]:[x,y,{onFocus:dl(c,C),onBlur:dl(f,A),onMouseEnter:dl(h,C),onMouseLeave:dl(E,A),onTouchStart:dl(p,C)}]:[!1,y,{}]}function dl(e,r){return a=>{e&&e(a),a.defaultPrevented||r(a)}}function p7({page:e,...r}){let a=B4(),{nonce:i}=qo(),{router:o}=vc(),x=M.useMemo(()=>u2(o.routes,e,o.basename),[o.routes,e,o.basename]);return x?(r.nonce==null&&i&&(r={...r,nonce:i}),a?M.createElement(E7,{page:e,matches:x,...r}):M.createElement(g7,{page:e,matches:x,...r})):null}function m7(e){let{manifest:r,routeModules:a}=qo(),[i,o]=M.useState([]);return M.useEffect(()=>{let x=!1;return s7(e,r,a).then(u=>{x||o(u)}),()=>{x=!0}},[e,r,a]),i}function E7({page:e,matches:r,...a}){let i=wn(),{future:o}=qo(),{basename:x}=vc(),u=M.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let c=w2(e,x,o.v8_trailingSlashAwareDataRequests,"rsc"),f=!1,h=[];for(let E of r)typeof E.route.shouldRevalidate=="function"?f=!0:h.push(E.route.id);return f&&h.length>0&&c.searchParams.set("_routes",h.join(",")),[c.pathname+c.search]},[x,o.v8_trailingSlashAwareDataRequests,e,i,r]);return M.createElement(M.Fragment,null,u.map(c=>M.createElement("link",{key:c,rel:"prefetch",as:"fetch",href:c,...a})))}function g7({page:e,matches:r,...a}){let i=wn(),{future:o,manifest:x,routeModules:u}=qo(),{basename:c}=vc(),{loaderData:f,matches:h}=d7(),E=M.useMemo(()=>Dh(e,r,h,x,i,"data"),[e,r,h,x,i]),p=M.useMemo(()=>Dh(e,r,h,x,i,"assets"),[e,r,h,x,i]),y=M.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let b=new Set,v=!1;if(r.forEach(L=>{let w=x.routes[L.route.id];!w||!w.hasLoader||(!E.some(j=>j.route.id===L.route.id)&&L.route.id in f&&u[L.route.id]?.shouldRevalidate||w.hasClientLoader?v=!0:b.add(L.route.id))}),b.size===0)return[];let k=w2(e,c,o.v8_trailingSlashAwareDataRequests,"data");return v&&b.size>0&&k.searchParams.set("_routes",r.filter(L=>b.has(L.route.id)).map(L=>L.route.id).join(",")),[k.pathname+k.search]},[c,o.v8_trailingSlashAwareDataRequests,f,i,x,E,r,e,u]),C=M.useMemo(()=>x7(p,x),[p,x]),A=m7(p);return M.createElement(M.Fragment,null,y.map(b=>M.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...a})),C.map(b=>M.createElement("link",{key:b,rel:"modulepreload",href:b,...a})),A.map(({key:b,link:v})=>M.createElement("link",{key:b,nonce:a.nonce,...v,crossOrigin:v.crossOrigin??a.crossOrigin})))}function C7(...e){return r=>{e.forEach(a=>{typeof a=="function"?a(r):a!=null&&(a.current=r)})}}var y7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{y7&&(window.__reactRouterVersion="7.18.1")}catch{}function B7({basename:e,children:r,useTransitions:a,window:i}){let o=M.useRef();o.current==null&&(o.current=Y6({window:i,v5Compat:!0}));let x=o.current,[u,c]=M.useState({action:x.action,location:x.location}),f=M.useCallback(h=>{a===!1?c(h):M.startTransition(()=>c(h))},[a]);return M.useLayoutEffect(()=>x.listen(f),[x,f]),M.createElement(X4,{basename:e,children:r,location:u.location,navigationType:u.action,navigator:x,useTransitions:a})}var S2=M.forwardRef(function({onClick:r,discover:a="render",prefetch:i="none",relative:o,reloadDocument:x,replace:u,mask:c,state:f,target:h,to:E,preventScrollReset:p,viewTransition:y,defaultShouldRevalidate:C,...A},b){let{basename:v,navigator:k,useTransitions:L}=M.useContext(dn),w=typeof E=="string"&&gc.test(E),j=g2(E,v);E=j.to;let O=w4(E,{relative:o}),F=wn(),_=null;if(c){let I=Po(c,[],F.mask?F.mask.pathname:"/",!0);v!=="/"&&(I.pathname=I.pathname==="/"?v:_n([v,I.pathname])),_=k.createHref(I)}let[z,$,N]=h7(i,A),G=D7(E,{replace:u,mask:c,state:f,target:h,preventScrollReset:p,relative:o,viewTransition:y,defaultShouldRevalidate:C,useTransitions:L});function K(I){r&&r(I),I.defaultPrevented||G(I)}let se=!(j.isExternal||x),te=M.createElement("a",{...A,...N,href:(se?_:void 0)||j.absoluteURL||O,onClick:se?K:r,ref:C7(b,$),target:h,"data-discover":!w&&a==="render"?"true":void 0});return z&&!w?M.createElement(M.Fragment,null,te,M.createElement(p7,{page:O})):te});S2.displayName="Link";var A7=M.forwardRef(function({"aria-current":r="page",caseSensitive:a=!1,className:i="",end:o=!1,style:x,to:u,viewTransition:c,children:f,...h},E){let p=Pl(u,{relative:h.relative}),y=wn(),C=M.useContext(Uo),{navigator:A,basename:b}=M.useContext(dn),v=C!=null&&M7(p)&&c===!0,k=A.encodeLocation?A.encodeLocation(p).pathname:p.pathname,L=y.pathname,w=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;a||(L=L.toLowerCase(),w=w?w.toLowerCase():null,k=k.toLowerCase()),w&&b&&(w=dr(w,b)||w);const j=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let O=L===k||!o&&L.startsWith(k)&&L.charAt(j)==="/",F=w!=null&&(w===k||!o&&w.startsWith(k)&&w.charAt(k.length)==="/"),_={isActive:O,isPending:F,isTransitioning:v},z=O?r:void 0,$;typeof i=="function"?$=i(_):$=[i,O?"active":null,F?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let N=typeof x=="function"?x(_):x;return M.createElement(S2,{...h,"aria-current":z,className:$,ref:E,style:N,to:u,viewTransition:c},typeof f=="function"?f(_):f)});A7.displayName="NavLink";var b7=M.forwardRef(({discover:e="render",fetcherKey:r,navigate:a,reloadDocument:i,replace:o,state:x,method:u=Co,action:c,onSubmit:f,relative:h,preventScrollReset:E,viewTransition:p,defaultShouldRevalidate:y,...C},A)=>{let{useTransitions:b}=M.useContext(dn),v=w7(),k=S7(c,{relative:h}),L=u.toLowerCase()==="get"?"get":"post",w=typeof c=="string"&&gc.test(c),j=O=>{if(f&&f(O),O.defaultPrevented)return;O.preventDefault();let F=O.nativeEvent.submitter,_=F?.getAttribute("formmethod")||u,z=()=>v(F||O.currentTarget,{fetcherKey:r,method:_,navigate:a,replace:o,state:x,relative:h,preventScrollReset:E,viewTransition:p,defaultShouldRevalidate:y});b&&a!==!1?M.startTransition(()=>z()):z()};return M.createElement("form",{ref:A,method:L,action:k,onSubmit:i?f:j,...C,"data-discover":!w&&e==="render"?"true":void 0})});b7.displayName="Form";function v7(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function M2(e){let r=M.useContext(ha);return it(r,v7(e)),r}function D7(e,{target:r,replace:a,mask:i,state:o,preventScrollReset:x,relative:u,viewTransition:c,defaultShouldRevalidate:f,useTransitions:h}={}){let E=pa(),p=wn(),y=Pl(e,{relative:u});return M.useCallback(C=>{if(t7(C,r)){C.preventDefault();let A=a!==void 0?a:Ml(p)===Ml(y),b=()=>E(e,{replace:A,mask:i,state:o,preventScrollReset:x,relative:u,viewTransition:c,defaultShouldRevalidate:f});h?M.startTransition(()=>b()):b()}},[p,E,y,a,i,o,r,e,x,u,c,f,h])}function N2(e){kn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let r=M.useRef(Ju(e)),a=M.useRef(!1),i=wn(),o=M.useMemo(()=>n7(i.search,a.current?null:r.current),[i.search]),x=pa(),u=M.useCallback((c,f)=>{const h=Ju(typeof c=="function"?c(new URLSearchParams(o)):c);a.current=!0,x("?"+h,f)},[x,o]);return[o,u]}var k7=0,F7=()=>`__${String(++k7)}__`;function w7(){let{router:e}=M2("useSubmit"),{basename:r}=M.useContext(dn),a=I4(),i=e.fetch,o=e.navigate;return M.useCallback(async(x,u={})=>{let{action:c,method:f,encType:h,formData:E,body:p}=l7(x,r);if(u.navigate===!1){let y=u.fetcherKey||F7();await i(y,a,u.action||c,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:E,body:p,formMethod:u.method||f,formEncType:u.encType||h,flushSync:u.flushSync})}else await o(u.action||c,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:E,body:p,formMethod:u.method||f,formEncType:u.encType||h,replace:u.replace,state:u.state,fromRouteId:a,flushSync:u.flushSync,viewTransition:u.viewTransition})},[i,o,r,a])}function S7(e,{relative:r}={}){let{basename:a}=M.useContext(dn),i=M.useContext(Fn);it(i,"useFormAction must be used inside a RouteContext");let[o]=i.matches.slice(-1),x={...Pl(e||".",{relative:r})},u=wn();if(e==null){x.search=u.search;let c=new URLSearchParams(x.search),f=c.getAll("index");if(f.some(E=>E==="")){c.delete("index"),f.filter(p=>p).forEach(p=>c.append("index",p));let E=c.toString();x.search=E?`?${E}`:""}}return(!e||e===".")&&o.route.index&&(x.search=x.search?x.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(x.pathname=x.pathname==="/"?a:_n([a,x.pathname])),Ml(x)}function M7(e,{relative:r}={}){let a=M.useContext(B2);it(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=M2("useViewTransitionState"),o=Pl(e,{relative:r});if(!a.isTransitioning)return!1;let x=dr(a.currentLocation.pathname,i)||a.currentLocation.pathname,u=dr(a.nextLocation.pathname,i)||a.nextLocation.pathname;return Nl(o.pathname,u)!=null||Nl(o.pathname,x)!=null}const N7="modulepreload",T7=function(e){return"/"+e},kh={},_7=function(r,a,i){let o=Promise.resolve();if(a&&a.length>0){let h=function(E){return Promise.all(E.map(p=>Promise.resolve(p).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};var u=h;document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),f=c?.nonce||c?.getAttribute("nonce");o=h(a.map(E=>{if(E=T7(E),E in kh)return;kh[E]=!0;const p=E.endsWith(".css"),y=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${E}"]${y}`))return;const C=document.createElement("link");if(C.rel=p?"stylesheet":N7,p||(C.as="script"),C.crossOrigin="",C.href=E,f&&C.setAttribute("nonce",f),document.head.appendChild(C),p)return new Promise((A,b)=>{C.addEventListener("load",A),C.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${E}`)))})}))}function x(c){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=c,window.dispatchEvent(f),!f.defaultPrevented)throw c}return o.then(c=>{for(const f of c||[])f.status==="rejected"&&x(f.reason);return r().catch(x)})};function j7(e={}){const{immediate:r=!1,onNeedReload:a,onNeedRefresh:i,onOfflineReady:o,onRegistered:x,onRegisteredSW:u,onRegisterError:c}=e;let f,h,E;const p=async(C=!0)=>{await h,E?.()};async function y(){if("serviceWorker"in navigator){if(f=await _7(async()=>{const{Workbox:C}=await import("./workbox-window.prod.es5-BBnX5xw4.js");return{Workbox:C}},[]).then(({Workbox:C})=>new C("/sw.js",{scope:"/",type:"classic"})).catch(C=>{c?.(C)}),!f)return;E=()=>{f?.messageSkipWaiting()};{let C=!1;const A=()=>{C=!0,f?.addEventListener("controlling",b=>{b.isUpdate&&(a?a():window.location.reload())}),i?.()};f.addEventListener("installed",b=>{typeof b.isUpdate>"u"?typeof b.isExternal<"u"&&b.isExternal?A():!C&&o?.():b.isUpdate||o?.()}),f.addEventListener("waiting",A)}f.register({immediate:r}).then(C=>{u?u("/sw.js",C):x?.(C)}).catch(C=>{c?.(C)})}}return h=y(),p}function z7(e={}){const{immediate:r=!0,onNeedReload:a,onNeedRefresh:i,onOfflineReady:o,onRegistered:x,onRegisteredSW:u,onRegisterError:c}=e,[f,h]=M.useState(!1),[E,p]=M.useState(!1),[y]=M.useState(()=>j7({immediate:r,onNeedReload:a,onOfflineReady(){p(!0),o?.()},onNeedRefresh(){h(!0),i?.()},onRegistered:x,onRegisteredSW:u,onRegisterError:c}));return{needRefresh:[f,h],offlineReady:[E,p],updateServiceWorker:y}}const T2=(...e)=>e.filter((r,a,i)=>!!r&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();const R7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const O7=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());const Fh=e=>{const r=O7(e);return r.charAt(0).toUpperCase()+r.slice(1)};var L7={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"};const P7=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const U7=M.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:o="",children:x,iconNode:u,...c},f)=>M.createElement("svg",{ref:f,...L7,width:r,height:r,stroke:e,strokeWidth:i?Number(a)*24/Number(r):a,className:T2("lucide",o),...!x&&!P7(c)&&{"aria-hidden":"true"},...c},[...u.map(([h,E])=>M.createElement(h,E)),...Array.isArray(x)?x:[x]]));const V=(e,r)=>{const a=M.forwardRef(({className:i,...o},x)=>M.createElement(U7,{ref:x,iconNode:r,className:T2(`lucide-${R7(Fh(e))}`,`lucide-${e}`,i),...o}));return a.displayName=Fh(e),a};const H7=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],q7=V("activity",H7);const I7=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],$7=V("anchor",I7);const V7=[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]],G7=V("apple",V7);const Q7=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],Y7=V("archive",Q7);const X7=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],K7=V("arrow-up-right",X7);const Z7=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],J7=V("arrow-up",Z7);const W7=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],e3=V("atom",W7);const t3=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],n3=V("award",t3);const r3=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]],a3=V("banknote",r3);const l3=[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]],i3=V("battery",l3);const o3=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],s3=V("beer",o3);const x3=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],_2=V("bell",x3);const u3=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],c3=V("bike",u3);const f3=[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]],d3=V("bird",f3);const h3=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]],p3=V("bluetooth",h3);const m3=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],E3=V("book-open",m3);const g3=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],C3=V("book",g3);const y3=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],B3=V("bookmark",y3);const A3=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],b3=V("bot",A3);const v3=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],D3=V("box",v3);const k3=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],F3=V("brain",k3);const w3=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],S3=V("briefcase",w3);const M3=[["path",{d:"m11 10 3 3",key:"fzmg1i"}],["path",{d:"M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z",key:"p4q2r7"}],["path",{d:"M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031",key:"wy6l02"}]],N3=V("brush",M3);const T3=[["path",{d:"M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97",key:"1gnv52"}],["path",{d:"M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z",key:"1weqy9"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],_3=V("bug-play",T3);const j3=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],z3=V("bug",j3);const R3=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],O3=V("building-2",R3);const L3=[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],P3=V("building",L3);const U3=[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]],H3=V("cake",U3);const q3=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],I3=V("calendar",q3);const $3=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],V3=V("camera",$3);const G3=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],Q3=V("car",G3);const Y3=[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]],X3=V("carrot",Y3);const K3=[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]],Z3=V("cat",K3);const J3=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]],W3=V("chart-bar",J3);const eg=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],tg=V("chart-line",eg);const ng=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],rg=V("chart-pie",ng);const ag=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],hr=V("check",ag);const lg=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ma=V("chevron-down",lg);const ig=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],og=V("chevron-up",ig);const sg=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],xg=V("clapperboard",sg);const ug=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],cg=V("clock",ug);const fg=[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],dg=V("cloud-off",fg);const hg=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],pg=V("cloud-upload",hg);const mg=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],Eg=V("cloud",mg);const gg=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Cg=V("code-xml",gg);const yg=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],Bg=V("code",yg);const Ag=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],bg=V("coffee",Ag);const vg=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],Dg=V("cog",vg);const kg=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Fg=V("compass",kg);const wg=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],kc=V("copy",wg);const Sg=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],Mg=V("cpu",Sg);const Ng=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Tg=V("credit-card",Ng);const _g=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],jg=V("crown",_g);const zg=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Rg=V("database",zg);const Og=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],Lg=V("dna",Og);const Pg=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],Ug=V("dog",Pg);const Hg=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],qg=V("dollar-sign",Hg);const Ig=[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]],$g=V("dumbbell",Ig);const Vg=[["path",{d:"M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12",key:"1le142"}]],Gg=V("egg",Vg);const Qg=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Yg=V("factory",Qg);const Xg=[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]],Kg=V("feather",Xg);const Zg=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],Jg=V("file-code",Zg);const Wg=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],eC=V("file-diff",Wg);const tC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],nC=V("file",tC);const rC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],aC=V("film",rC);const lC=[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]],iC=V("fish",lC);const oC=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],sC=V("flag",oC);const xC=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],uC=V("flame",xC);const cC=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],fC=V("flask-conical",cC);const dC=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],hC=V("folder",dC);const pC=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],mC=V("gamepad-2",pC);const EC=[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]],gC=V("gem",EC);const CC=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],yC=V("gift",CC);const BC=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],AC=V("git-branch",BC);const bC=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],vC=V("git-fork",bC);const DC=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],j2=V("git-merge",DC);const kC=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],FC=V("github",kC);const wC=[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]],SC=V("glasses",wC);const MC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],NC=V("globe",MC);const TC=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],_C=V("graduation-cap",TC);const jC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],zC=V("grid-3x3",jC);const RC=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],OC=V("hammer",RC);const LC=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],PC=V("headphones",LC);const UC=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]],HC=V("heart-pulse",UC);const qC=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],IC=V("heart",qC);const $C=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],VC=V("house",$C);const GC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],QC=V("image",GC);const YC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],XC=V("info",YC);const KC=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],ZC=V("key",KC);const JC=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],WC=V("laptop",JC);const ey=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],ty=V("layers",ey);const ny=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],ry=V("layout-grid",ny);const ay=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],ly=V("leaf",ay);const iy=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],oy=V("lightbulb",iy);const sy=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],xy=V("link",sy);const uy=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],cy=V("list",uy);const fy=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Ea=V("loader-circle",fy);const dy=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],hy=V("lock",dy);const py=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],my=V("log-out",py);const Ey=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],gy=V("mail",Ey);const Cy=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],yy=V("map-pin",Cy);const By=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],Ay=V("map",By);const by=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]],vy=V("martini",by);const Dy=[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]],ky=V("medal",Dy);const Fy=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],wy=V("message-circle",Fy);const Sy=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],My=V("message-square",Sy);const Ny=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],Ty=V("mic",Ny);const _y=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],jy=V("microscope",_y);const zy=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],Ry=V("monitor",zy);const Oy=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Ly=V("moon",Oy);const Py=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],Uy=V("music",Py);const Hy=[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]],qy=V("orbit",Hy);const Iy=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],$y=V("package",Iy);const Vy=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],Gy=V("paintbrush",Vy);const Qy=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],Yy=V("panel-left",Qy);const Xy=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Io=V("paperclip",Xy);const Ky=[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]],Zy=V("paw-print",Ky);const Jy=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Wy=V("pen",Jy);const eB=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],tB=V("pencil",eB);const nB=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],rB=V("phone",nB);const aB=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],lB=V("pill",aB);const iB=[["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"}]],oB=V("pipette",iB);const sB=[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]],xB=V("pizza",sB);const uB=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],cB=V("plane",uB);const fB=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],dB=V("plug",fB);const hB=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],z2=V("plus",hB);const pB=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],mB=V("power",pB);const EB=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],gB=V("puzzle",EB);const CB=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],R2=V("qr-code",CB);const yB=[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]],BB=V("rabbit",yB);const AB=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],bB=V("radio",AB);const vB=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Fc=V("refresh-cw",vB);const DB=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],kB=V("rocket",DB);const FB=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],wB=V("salad",FB);const SB=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],MB=V("ruler",SB);const NB=[["path",{d:"m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5",key:"dzhfyz"}],["path",{d:"M16.5 7.5 19 5",key:"1ltcjm"}],["path",{d:"m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5",key:"nfoymv"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}],["path",{d:"M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z",key:"nv9zqy"}]],TB=V("satellite",NB);const _B=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],jB=V("scissors",_B);const zB=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],O2=V("search",zB);const RB=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],OB=V("server",RB);const LB=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],PB=V("settings",LB);const UB=[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]],HB=V("shell",UB);const qB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],IB=V("shield",qB);const $B=[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]],VB=V("ship",$B);const GB=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],QB=V("shopping-bag",GB);const YB=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],XB=V("shopping-cart",YB);const KB=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],ZB=V("sliders-horizontal",KB);const JB=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],WB=V("smartphone",JB);const eA=[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]],tA=V("snail",eA);const nA=[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]],rA=V("soup",nA);const aA=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],lA=V("sparkles",aA);const iA=[["path",{d:"M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",key:"139s4v"}],["path",{d:"M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4",key:"1dlkgp"}],["path",{d:"M5 21h14",key:"11awu3"}]],oA=V("sprout",iA);const sA=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],xA=V("square",sA);const uA=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],cA=V("star",uA);const fA=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],dA=V("stethoscope",fA);const hA=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],pA=V("store",hA);const mA=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],L2=V("sun",mA);const EA=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],gA=V("tag",EA);const CA=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],yA=V("tags",CA);const BA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],AA=V("target",BA);const bA=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],vA=V("telescope",bA);const DA=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],kA=V("terminal",DA);const FA=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],wA=V("ticket",FA);const SA=[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]],MA=V("train-front",SA);const NA=[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]],TA=V("tree-pine",NA);const _A=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],jA=V("trending-up",_A);const zA=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],wc=V("triangle-alert",zA);const RA=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],OA=V("trophy",RA);const LA=[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]],PA=V("turtle",LA);const UA=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],HA=V("user",UA);const qA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],IA=V("users",qA);const $A=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],VA=V("utensils",$A);const GA=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],QA=V("video",GA);const YA=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],XA=V("wallet",YA);const KA=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],wh=V("wand-sparkles",KA);const ZA=[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]],JA=V("warehouse",ZA);const WA=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],eb=V("wheat",WA);const tb=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Sc=V("wifi-off",tb);const nb=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],P2=V("wifi",nb);const rb=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],ab=V("wine",rb);const lb=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],ib=V("wrench",lb);const ob=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],$n=V("x",ob);const sb=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],U2=V("zap",sb);function Sh(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Xt(e,r){return{method:e,pattern:r,path:()=>r}}function yt(e,r){const[a,i]=r.split(/:[a-zA-Z]+/);if(i===void 0)throw new Error(`route ${r} declares no :param`);return{method:e,pattern:r,path:o=>`${a}${encodeURIComponent(o)}${i}`,re:new RegExp(`^${Sh(a)}([^/]+)${Sh(i)}$`)}}const ve={state:Xt("GET","/api/state"),search:Xt("GET","/api/search"),repos:Xt("GET","/api/repos"),repoIcon:yt("GET","/api/repos/:repo/icon"),localImage:yt("GET","/api/local-images/:path"),filePreview:yt("GET","/api/files/:reference"),stageAttachment:Xt("POST","/api/attachments"),discardStagedAttachment:yt("DELETE","/api/attachments/:attachmentId"),logs:Xt("GET","/api/logs"),settings:Xt("GET","/api/settings"),updateSettings:Xt("PATCH","/api/settings"),armNoSleep:Xt("POST","/api/nosleep"),disarmNoSleep:Xt("DELETE","/api/nosleep"),push:Xt("GET","/api/push"),pushSubscribe:Xt("POST","/api/push/subscribe"),pushUnsubscribe:Xt("POST","/api/push/unsubscribe"),pushTest:Xt("POST","/api/push/test"),createWorkspace:Xt("POST","/api/workspaces"),workspace:yt("GET","/api/workspaces/:workspaceId"),sessions:yt("GET","/api/workspaces/:workspaceId/sessions"),newChat:yt("POST","/api/workspaces/:workspaceId/sessions"),diff:yt("GET","/api/workspaces/:workspaceId/diff"),merge:yt("POST","/api/workspaces/:workspaceId/merge"),workspaceStatus:yt("POST","/api/workspaces/:workspaceId/status"),dismissFirstPrompt:yt("DELETE","/api/workspaces/:workspaceId/prompt"),messages:yt("GET","/api/sessions/:sessionId/messages"),models:yt("GET","/api/sessions/:sessionId/models"),agent:yt("POST","/api/sessions/:sessionId/agent"),stop:yt("POST","/api/sessions/:sessionId/stop"),sendPrompt:yt("POST","/api/sessions/:sessionId/prompt"),uploadAttachment:yt("POST","/api/sessions/:sessionId/attachments"),splitChat:yt("POST","/api/sessions/:sessionId/split"),dismissParkedPrompt:yt("DELETE","/api/sessions/:sessionId/prompt")},Tl="conductor-remote-token";function xb(){const r=new URLSearchParams(location.hash.slice(1)).get("token");return r&&(localStorage.setItem(Tl,r),history.replaceState(null,"",location.pathname+location.search)),localStorage.getItem(Tl)}function Mc(){return localStorage.getItem(Tl)}function ub(){localStorage.removeItem(Tl)}function cb(e){localStorage.setItem(Tl,e)}function fb(e){const r=e.trim();if(!r)return null;const a=r.match(/token=([^&\s]+)/);return a?decodeURIComponent(a[1]):/\s/.test(r)?null:r}class pr extends Error{constructor(r,a){super(r),this.status=a}status}const H2=6e3,un=45e3,db=75e3;async function Xe(e,r={},a=H2){const i=Mc();let o;try{o=await fetch(e,{...r,signal:AbortSignal.timeout(a),headers:{authorization:`Bearer ${i??""}`,"content-type":"application/json","x-client-timeout-ms":String(a),...r.headers}})}catch(x){throw x instanceof DOMException&&x.name==="TimeoutError"?new pr("Request timed out",0):x}if(!o.ok){const x=await o.json().catch(()=>({}));throw new pr(x.error||`HTTP ${o.status}`,o.status)}return o.json()}async function Mh(e,r){const a=Mc();let i;try{i=await fetch(e,{method:"POST",body:r,signal:AbortSignal.timeout(un),headers:{authorization:`Bearer ${a??""}`,"content-type":r.type||"application/octet-stream","x-attachment-name":encodeURIComponent(r.name),"x-client-timeout-ms":String(un)}})}catch(o){throw o instanceof DOMException&&o.name==="TimeoutError"?new pr("Upload timed out",0):o}if(!i.ok){const o=await i.json().catch(()=>({}));throw new pr(o.error||`HTTP ${i.status}`,i.status)}return i.json()}const Cu=new Map;async function hb(e){const r=Mc(),a=await fetch(e,{headers:{authorization:`Bearer ${r??""}`},signal:AbortSignal.timeout(H2)});if(!a.ok)throw new pr(`HTTP ${a.status}`,a.status);return URL.createObjectURL(await a.blob())}function Nh(e){let r=Cu.get(e);return r||(r=hb(e),r.catch(()=>Cu.delete(e)),Cu.set(e,r)),r}const Oe={state:()=>Xe(ve.state.path()),repoIcon:e=>Nh(ve.repoIcon.path(e)),localImage:e=>Nh(ve.localImage.path(e)),filePreview:e=>Xe(ve.filePreview.path(e)),stageAttachment:e=>Mh(ve.stageAttachment.path(),e),discardStagedAttachment:e=>Xe(ve.discardStagedAttachment.path(e),{method:ve.discardStagedAttachment.method}),workspace:e=>Xe(ve.workspace.path(e)),sessions:e=>Xe(ve.sessions.path(e)),messages:(e,r)=>Xe(`${ve.messages.path(e)}?after=${r}`),uploadAttachment:(e,r,a)=>Mh(`${ve.uploadAttachment.path(e)}?workspaceId=${encodeURIComponent(r)}`,a),diff:e=>Xe(ve.diff.path(e)),sendPrompt:(e,r,a,i,o,x)=>Xe(ve.sendPrompt.path(e),{method:ve.sendPrompt.method,body:JSON.stringify({text:r,workspaceId:a,agent:i,clientId:o,queue:x})},db),stop:(e,r)=>Xe(ve.stop.path(e),{method:ve.stop.method,body:JSON.stringify({workspaceId:r})},un),newChat:e=>Xe(ve.newChat.path(e),{method:ve.newChat.method},un),splitChat:(e,r,a,i)=>Xe(ve.splitChat.path(e),{method:ve.splitChat.method,body:JSON.stringify({workspaceId:r,includeThinking:a,includeTools:i})},un),repos:()=>Xe(ve.repos.path()),search:e=>Xe(`${ve.search.path()}?q=${encodeURIComponent(e)}`),dismissPrompt:e=>Xe(ve.dismissFirstPrompt.path(e),{method:ve.dismissFirstPrompt.method}),dismissParked:e=>Xe(ve.dismissParkedPrompt.path(e),{method:ve.dismissParkedPrompt.method}),createWorkspace:(e,r,a=!0,i=[])=>Xe(ve.createWorkspace.path(),{method:ve.createWorkspace.method,body:JSON.stringify({repo:e,prompt:r,sendImmediately:a,attachmentIds:i})},un),setAgent:(e,r,a)=>Xe(ve.agent.path(e),{method:ve.agent.method,body:JSON.stringify({...r,workspaceId:a})},un),models:(e,r)=>Xe(`${ve.models.path(e)}?workspaceId=${encodeURIComponent(r)}`,{},un),logs:(e,r=300)=>Xe(`${ve.logs.path()}?limit=${r}${e?`&file=${encodeURIComponent(e)}`:""}`),push:()=>Xe(ve.push.path()),pushSubscribe:(e,r)=>Xe(ve.pushSubscribe.path(),{method:ve.pushSubscribe.method,body:JSON.stringify({subscription:e,label:r})}),pushUnsubscribe:e=>Xe(ve.pushUnsubscribe.path(),{method:ve.pushUnsubscribe.method,body:JSON.stringify({endpoint:e})}),pushTest:e=>Xe(ve.pushTest.path(),{method:ve.pushTest.method,body:JSON.stringify({id:e})},un),merge:e=>Xe(ve.merge.path(e),{method:ve.merge.method},un),setStatus:(e,r)=>Xe(ve.workspaceStatus.path(e),{method:ve.workspaceStatus.method,body:JSON.stringify({status:r})},un),settings:()=>Xe(ve.settings.path()),patchSettings:e=>Xe(ve.updateSettings.path(),{method:ve.updateSettings.method,body:JSON.stringify(e)}),armNoSleep:e=>Xe(ve.armNoSleep.path(),{method:ve.armNoSleep.method,body:JSON.stringify({seconds:e})},un),disarmNoSleep:()=>Xe(ve.disarmNoSleep.path(),{method:ve.disarmNoSleep.method},un)},Th=e=>{let r;const a=new Set,i=(h,E)=>{const p=typeof h=="function"?h(r):h;if(!Object.is(p,r)){const y=r;r=E??(typeof p!="object"||p===null)?p:Object.assign({},r,p),a.forEach(C=>C(r,y))}},o=()=>r,c={setState:i,getState:o,getInitialState:()=>f,subscribe:h=>(a.add(h),()=>a.delete(h))},f=r=e(i,o,c);return c},pb=(e=>e?Th(e):Th),mb=e=>e;function Eb(e,r=mb){const a=so.useSyncExternalStore(e.subscribe,so.useCallback(()=>r(e.getState()),[e,r]),so.useCallback(()=>r(e.getInitialState()),[e,r]));return so.useDebugValue(a),a}const _h=e=>{const r=pb(e),a=i=>Eb(r,i);return Object.assign(a,r),a},gb=(e=>e?_h(e):_h),Fo="conductor-remote-agent:";function Cb(){const e={};try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(Fo))continue;const i=localStorage.getItem(a);i&&(e[a.slice(Fo.length)]=JSON.parse(i))}}catch{}return e}function jh(e,r){try{Object.keys(r).length?localStorage.setItem(Fo+e,JSON.stringify(r)):localStorage.removeItem(Fo+e)}catch{}}const wo="conductor-remote-draft:";function yb(){const e={};try{for(let r=0;r<localStorage.length;r++){const a=localStorage.key(r);if(!a?.startsWith(wo))continue;const i=localStorage.getItem(a);i&&(e[a.slice(wo.length)]=i)}}catch{}return e}function yu(e,r){try{r?localStorage.setItem(wo+e,r):localStorage.removeItem(wo+e)}catch{}}const Bb=1e4;function Ab(e,r=Date.now()){return Math.max(0,(e??r)+Bb-r)}const q2="conductor-remote-read",zh=300;function bb(){try{const e=JSON.parse(localStorage.getItem(q2)??"{}");return!e||typeof e!="object"?{}:Object.fromEntries(Object.entries(e).filter(([,r])=>typeof r=="string"))}catch{return{}}}function vb(e){const r=Object.entries(e),a=r.length>zh?r.sort((o,x)=>x[1].localeCompare(o[1])).slice(0,zh):r,i=Object.fromEntries(a);try{localStorage.setItem(q2,JSON.stringify(i))}catch{}return i}const I2=(e,r,a)=>(e[r]??"")<a;function Db(e,r){return(e.unread_sessions??[]).filter(a=>I2(r,a.id,a.at)).length}function kb(e,r){return!!e.unread_count&&I2(r,e.id,e.updated_at)}let sa=null;const $2="conductor-remote-view",V2="conductor-remote-last-new-workspace-repo",Rh={groupBy:"status",repos:[],sortBy:"updated",hideMerged:!1,collapsed:[]};function Oh(e){const r={};return e.model!==void 0&&(r.model=e.model),e.effort!==void 0&&(r.effort=e.effort),e.plan!==void 0&&(r.plan=e.plan),e.fast!==void 0&&(r.fast=e.fast),r}function Fb(){try{const{repo:e,...r}=JSON.parse(localStorage.getItem($2)??"{}"),a=Array.isArray(r.repos)?r.repos.filter(i=>typeof i=="string"):typeof e=="string"?[e]:[];return{...Rh,...r,repos:a}}catch{return Rh}}function wb(){try{return localStorage.getItem(V2)??""}catch{return""}}const De=gb((e,r)=>{const a=i=>{localStorage.setItem($2,JSON.stringify(i)),e({view:i})};return{token:xb(),online:!0,lastSyncAt:null,update:null,workingHints:{},pending:[],drafts:yb(),agentDrafts:Cb(),readMarks:bb(),push:{deviceId:null,devices:0},sidebarOpen:!location.pathname.startsWith("/w/"),lastNewWorkspaceRepo:wb(),view:Fb(),setToken:i=>{i?cb(i):ub(),e({token:i})},setOnline:i=>{if(i){sa&&clearTimeout(sa),sa=null,e({online:i,lastSyncAt:Date.now()});return}if(!r().online||sa)return;const o=Ab(r().lastSyncAt);if(o===0){e({online:!1});return}sa=setTimeout(()=>{sa=null,e({online:!1})},o)},setUpdate:i=>e({update:i}),markWorking:i=>e({workingHints:{...r().workingHints,[i]:Date.now()}}),clearWorking:i=>{const{[i]:o,...x}=r().workingHints;e({workingHints:x})},addPending:i=>e({pending:[...r().pending.filter(o=>o.id!==i.id),{...i,status:"sending",error:void 0,createdAt:Date.now()}]}),failPending:(i,o)=>e({pending:r().pending.map(x=>x.id===i?{...x,status:"error",error:o}:x)}),removePending:i=>e({pending:r().pending.filter(o=>o.id!==i)}),setDraft:(i,o)=>{yu(i,o),e({drafts:{...r().drafts,[i]:o}})},moveDraft:(i,o)=>{const x=r().drafts,u=x[i];if(!u||i===o||x[o]!==void 0)return;yu(i,""),yu(o,u);const{[i]:c,...f}=x;e({drafts:{...f,[o]:u}})},markRead:(i,o)=>{(r().readMarks[i]??"")>=o||e({readMarks:vb({...r().readMarks,[i]:o})})},stageAgent:(i,o)=>{const x=Oh({...r().agentDrafts[i],...o});jh(i,x),e({agentDrafts:{...r().agentDrafts,[i]:x}})},clearAgentDraft:(i,o)=>{const x=r().agentDrafts[i];if(!x)return;const u=Oh({model:x.model===o.model?void 0:x.model,effort:x.effort===o.effort?void 0:x.effort,plan:x.plan===o.plan?void 0:x.plan,fast:x.fast===o.fast?void 0:x.fast});jh(i,u),e({agentDrafts:{...r().agentDrafts,[i]:u}})},setPush:i=>e({push:i}),setSidebarOpen:i=>e({sidebarOpen:i}),setLastNewWorkspaceRepo:i=>{try{localStorage.setItem(V2,i)}catch{}e({lastNewWorkspaceRepo:i})},setView:i=>a({...r().view,...i}),toggleGroup:i=>{const{collapsed:o}=r().view;a({...r().view,collapsed:o.includes(i)?o.filter(x=>x!==i):[...o,i]})}}}),Lh=6e4,Sb=1e4,Bu="pwa-update-attempted-at",Mb=2500,Nb=30*6e4,hl="pwa-update-snoozed-until";async function Tb(){try{if("serviceWorker"in navigator){const r=await navigator.serviceWorker.getRegistrations();await Promise.all(r.map(a=>a.unregister()))}if("caches"in window){const r=await caches.keys();await Promise.all(r.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function _b(){const e=De(p=>p.token),r=M.useRef(null),a=M.useRef(!1),{needRefresh:[i,o],updateServiceWorker:x}=z7({onRegisteredSW(p,y){y&&(r.current=y,setInterval(()=>{y.update().catch(()=>{})},Lh))}}),{data:u}=zn({queryKey:["state"],queryFn:()=>Oe.state(),enabled:!!e,refetchInterval:!1}),c=u?.version,f=M.useRef(null);if(M.useEffect(()=>{!c||c==="1.53.2"||f.current===c||(f.current=c,r.current?.update().catch(()=>{}))},[c]),M.useEffect(()=>{if(!i)return;const p=Number(sessionStorage.getItem(Bu));if(sessionStorage.removeItem(Bu),p&&Date.now()-p<Sb){o(!1);return}const y=Number(sessionStorage.getItem(hl));y&&Date.now()<y&&o(!1)},[i,o]),M.useEffect(()=>{if(i)return;const p=()=>{const C=Number(sessionStorage.getItem(hl));!C||Date.now()<C||r.current?.waiting&&(sessionStorage.removeItem(hl),o(!0))},y=window.setInterval(p,Lh);return document.addEventListener("visibilitychange",p),()=>{window.clearInterval(y),document.removeEventListener("visibilitychange",p)}},[i,o]),!i)return null;const h=()=>{sessionStorage.setItem(hl,String(Date.now()+Nb)),o(!1)},E=()=>{sessionStorage.removeItem(hl),sessionStorage.setItem(Bu,String(Date.now()));const p=()=>{a.current||(a.current=!0,window.location.reload())},y=r.current?.waiting;y?(navigator.serviceWorker?.addEventListener("controllerchange",p,{once:!0}),y.addEventListener("statechange",()=>{y.state==="activated"&&p()}),y.postMessage({type:"SKIP_WAITING"})):x(!0),window.setTimeout(()=>{a.current||(a.current=!0,Tb())},Mb)};return g.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-[60] mx-auto flex max-w-sm items-center gap-3 rounded-t-2xl border border-border-soft bg-surface px-4 py-3 shadow-xl",children:[g.jsx(Fc,{size:15,className:"shrink-0 text-accent"}),g.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),g.jsx("button",{type:"button",onClick:h,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),g.jsx("button",{type:"button",onClick:E,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-black transition active:scale-95",children:"Update"})]})}function jb(e){const r=e??"",i=(r.includes("/")?r.slice(r.indexOf("/")+1):r).replace(/[-_]/g," ").trim();return i?i[0].toUpperCase()+i.slice(1):""}function In(e){return e.workspace_name||e.pr_title||jb(e.branch)||e.directory_name||e.id.slice(0,8)}function zb(e){return e.toLowerCase().match(/[\p{L}\p{N}_]+/gu)??[]}function Rb(e){return e.endsWith(" NEW")?e.slice(0,-4):e}const Ob="",Lb="",Ph=".context/attachments/";function Pb(e){const r=[];let a=0;for(;a<e.length;){const i=e.indexOf("@⟦",a);if(i<0)break;const o=e.indexOf("⟧(",i+2);if(o<0||/[\r\n]/.test(e.slice(i,o))){a=i+2;continue}const x=e.slice(i+2,o),u=o+2;let c=u,f=!1;for(;!f&&(c=e.indexOf(")",c),!(c<0));){const h=e.slice(u,c);try{const E=decodeURIComponent(h),p=E.startsWith(Ph)?E.slice(Ph.length):"",y=p.indexOf("/"),C=y<0?"":p.slice(0,y),A=y<0?"":p.slice(y+1);if(/^[A-Za-z0-9]{6}$/.test(C)&&A===x&&!A.includes("/")){r.push({start:i,end:c+1,name:x,path:E}),a=c+1,f=!0;continue}}catch{}c+=1}f||(a=i+2)}return r}const G2="conductor-remote-models";function Q2(){try{return JSON.parse(localStorage.getItem(G2)??"{}")}catch{return{}}}function Y2(e){return[...new Set(e.map(Rb).filter(Boolean))]}function Uh(e){const r=Q2()[e];return r?.models?.length?{...r,models:Y2(r.models)}:void 0}function Ub(e,r,a){try{localStorage.setItem(G2,JSON.stringify({...Q2(),[e]:{models:Y2(r),at:a}}))}catch{}}function Hb(){return/iP(hone|ad|od)/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function X2(){return window.matchMedia("(display-mode: standalone)").matches||navigator.standalone===!0}function K2(){return window.isSecureContext?"serviceWorker"in navigator?!("PushManager"in window)||!("Notification"in window)?Hb()&&!X2()?"needs-install":"unsupported":"ok":"unsupported":"insecure"}function Z2(){const e=navigator.userAgent,r=/iPhone/.test(e)?"iPhone":/iPad/.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?"iPad":/Android/.test(e)?"Android":/Mac OS X/.test(e)?"Mac":/Windows/.test(e)?"Windows":"Browser";return X2()?r:`${r} (browser)`}function qb(e){const r=e+"=".repeat((4-e.length%4)%4),a=atob(r.replace(/-/g,"+").replace(/_/g,"/")),i=new Uint8Array(a.length);for(let o=0;o<a.length;o++)i[o]=a.charCodeAt(o);return i}function Ib(e){let r="";for(const a of new Uint8Array(e))r+=String.fromCharCode(a);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function J2(){if(!("serviceWorker"in navigator))return null;const e=await navigator.serviceWorker.getRegistration();return e||Promise.race([navigator.serviceWorker.ready,new Promise(r=>setTimeout(()=>r(null),5e3))])}async function W2(){return await(await J2())?.pushManager.getSubscription()??null}function $b(e,r){const a=e.options.applicationServerKey;return!!a&&Ib(a)===r}async function ep(e){const r=await J2();if(!r)throw new Error("the app’s service worker isn’t running yet — reload and try again");return r.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:qb(e)})}function tp(e){const r=e.toJSON(),a=r.keys??{};if(!r.endpoint||!a.p256dh||!a.auth)throw new Error("the browser returned an incomplete subscription");return{endpoint:r.endpoint,keys:{p256dh:a.p256dh,auth:a.auth}}}async function Vb(e){let r=await W2();if(r&&!$b(r,e)&&(await r.unsubscribe().catch(()=>{}),r=Notification.permission==="granted"?await ep(e):null),!r)return null;const a=await Oe.pushSubscribe(tp(r),Z2());return{id:a.id??null,devices:a.devices.length}}function Gb(e){const r=De(o=>o.setSidebarOpen),a=De(o=>o.sidebarOpen),i=M.useRef(a);i.current=a,M.useEffect(()=>{const o=e.current;o&&(o.style.transition="",o.style.transform="")},[a,e]),M.useEffect(()=>{const u=window.matchMedia("(min-width: 768px)"),c=()=>e.current;let f=!1,h=!1,E=!1,p=0,y=0,C=0,A=0;const b=F=>{const _=c();_&&(_.style.transition="none",_.style.transform=`translateX(${F}px)`,A=F)},v=()=>{const F=c();F&&(F.style.transition="",F.style.transform="")},k=F=>{for(let _=F;_;_=_.parentElement)if(_.scrollLeft>0)return!0;return!1},L=()=>{f&&(f=!1,v())},w=F=>{if(L(),u.matches||F.touches.length!==1)return;const _=F.touches[0];if(i.current){const z=c()?.getBoundingClientRect().right??0;if(_.clientX>z)return}else if(_.clientX>44||k(F.target))return;f=!0,h=!1,E=!1,p=_.clientX,y=_.clientY,C=c()?.offsetWidth??0},j=F=>{if(!f||E)return;const _=F.touches[0],z=_.clientX-p,$=_.clientY-y;if(!h){if(Math.abs($)>Math.abs(z)&&Math.abs($)>8){E=!0;return}if(Math.abs(z)<6)return;h=!0}F.preventDefault();const N=i.current?0:-C;b(Math.max(-C,Math.min(0,N+z)))},O=()=>{if(!f)return;if(f=!1,!h||E)return v();const F=C?(A+C)/C:0;v(),r(F>.4)};return window.addEventListener("touchstart",w,{passive:!0}),window.addEventListener("touchmove",j,{passive:!1}),window.addEventListener("touchend",O),window.addEventListener("touchcancel",O),document.addEventListener("visibilitychange",L),()=>{window.removeEventListener("touchstart",w),window.removeEventListener("touchmove",j),window.removeEventListener("touchend",O),window.removeEventListener("touchcancel",O),document.removeEventListener("visibilitychange",L)}},[e,r])}const Hh='input, textarea, [contenteditable]:not([contenteditable="false"])';function Qb(){M.useEffect(()=>{const e=window.visualViewport;if(!e)return;const r=document.documentElement;(matchMedia("(display-mode: standalone)").matches||navigator.standalone)&&r.setAttribute("data-standalone","");let a=0,i;const o=()=>{r.style.removeProperty("--app-height"),r.removeAttribute("data-keyboard")},x=E=>{E&&!i?i=setInterval(u,300):!E&&i&&(clearInterval(i),i=void 0)},u=()=>{const E=document.activeElement,p=E instanceof HTMLElement&&E.matches(Hh),y=e.scale>1.01;!p||y?(!y&&window.innerHeight-e.height<120&&(a=e.height),o()):(a||window.innerHeight)-e.height>40?(r.style.setProperty("--app-height",`${Math.round(e.height+e.offsetTop)}px`),r.setAttribute("data-keyboard","")):o(),x(p||r.hasAttribute("data-keyboard")),window.scrollY!==0&&window.scrollTo(0,0)};let c;const f=()=>{u(),clearTimeout(c),c=setTimeout(u,350)},h=()=>{if(document.visibilityState==="hidden"){const E=document.activeElement;E instanceof HTMLElement&&E.matches(Hh)&&E.blur(),o(),x(!1)}else f()};return u(),e.addEventListener("resize",u),e.addEventListener("scroll",u),window.addEventListener("pageshow",f),document.addEventListener("visibilitychange",h),document.addEventListener("focusin",f),document.addEventListener("focusout",f),()=>{clearTimeout(c),x(!1),e.removeEventListener("resize",u),e.removeEventListener("scroll",u),window.removeEventListener("pageshow",f),document.removeEventListener("visibilitychange",h),document.removeEventListener("focusin",f),document.removeEventListener("focusout",f),o()}},[])}function Ul(){const e=De(a=>a.setOnline),r=De(a=>a.setToken);return M.useCallback((a,i)=>{e(a),i instanceof pr&&i.status===401&&r(null)},[e,r])}function Nc(){const e=Ul(),r=De(i=>i.setUpdate),a=zn({queryKey:["state"],queryFn:()=>Oe.state(),refetchInterval:2500});return M.useEffect(()=>{a.isSuccess&&(e(!0),r(a.data.update??null)),a.isError&&e(!1,a.error)},[a.isSuccess,a.isError,a.error,a.data,e,r]),a}function Yb(){return zn({queryKey:["repos"],queryFn:()=>Oe.repos(),staleTime:6e4})}function Xb(e,r){const[a,i]=M.useState(e);return M.useEffect(()=>{const o=setTimeout(()=>i(e),r);return()=>clearTimeout(o)},[e,r]),a}function Kb(e){const r=e.trim();return zn({queryKey:["search",r],queryFn:()=>Oe.search(r),enabled:r.length>=2,staleTime:3e4,placeholderData:x6})}function Zb(e,r){const a=Ul(),i=zn({queryKey:["workspace",e],queryFn:()=>Oe.workspace(e),enabled:r&&!!e,staleTime:Number.POSITIVE_INFINITY,retry:(o,x)=>!(x instanceof pr&&x.status===404)&&o<1});return M.useEffect(()=>{i.isError&&!(i.error instanceof pr&&i.error.status===404)&&a(!1,i.error)},[i.isError,i.error,a]),i}function np(e,r=!0){const a=Ul(),i=zn({queryKey:["sessions",e],queryFn:()=>Oe.sessions(e),enabled:!!e,refetchInterval:r?2e3:!1});return M.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function rp(e,r){const a=Ul(),i=zn({queryKey:["diff",e],queryFn:()=>Oe.diff(e),enabled:!!e,refetchInterval:5e3});return M.useEffect(()=>{i.isError&&a(!1,i.error)},[i.isError,i.error,a]),i}function Jb(e){return zn({queryKey:["repoIcon",e],queryFn:()=>Oe.repoIcon(e),enabled:!!e,staleTime:Number.POSITIVE_INFINITY,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function Wb(e,r){return zn({queryKey:["logs",e],queryFn:()=>Oe.logs(e),enabled:r,refetchInterval:3e3,retry:!1})}const ev=600*1e3;function tv(e,r,a){const i=e?.agent_type??"claude";return zn({queryKey:["models",i],queryFn:async()=>{const o=await Oe.models(e.id,r);if(!o.ok||!o.models?.length)throw new Error(o.error??"could not read the model list");return Ub(i,o.models,Date.now()),o.models},enabled:a&&!!e,initialData:()=>Uh(i)?.models,initialDataUpdatedAt:()=>Uh(i)?.at,staleTime:ev,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function nv(e,r=!0){const a=Ul(),[i,o]=M.useState({entries:[],loading:!0,error:null}),x=M.useRef(0);return M.useEffect(()=>{if(!e){o({entries:[],loading:!1,error:null});return}x.current=0,o({entries:[],loading:!0,error:null});let u=!0,c=!1;const f=async()=>{if(!c){c=!0;try{const{entries:E,cursor:p}=await Oe.messages(e,x.current);if(!u)return;a(!0),E.length?(x.current=p,o(y=>({entries:[...y.entries,...E],loading:!1,error:null}))):o(y=>y.loading?{...y,loading:!1}:y)}catch(E){if(!u)return;a(!1,E),o(p=>({...p,loading:!1,error:E instanceof Error?E.message:String(E)}))}finally{c=!1}}};f();const h=r?setInterval(f,1e3):void 0;return()=>{u=!1,h&&clearInterval(h)}},[e,r,a]),i}function ap(){const e=Gr(),r=De(u=>u.addPending),a=De(u=>u.failPending),i=De(u=>u.removePending),o=De(u=>u.markWorking),x=De(u=>u.clearAgentDraft);return M.useCallback(async u=>{const c=u.text.trim();if(!c)return!1;const f=u.id??crypto.randomUUID(),{sessionId:h,workspaceId:E}=u;r({id:f,sessionId:h,workspaceId:E,text:c,queue:u.queue});try{const p=De.getState().agentDrafts[h],y=p&&Object.keys(p).length?p:void 0,C=await Oe.sendPrompt(h,c,E,y,f,u.queue);if(C.ok||C.parked)return y&&(x(h,y),e.invalidateQueries({queryKey:["sessions",E]})),C.ok&&o(h),e.invalidateQueries({queryKey:["state"]}),setTimeout(()=>i(f),4e3),!0;a(f,C.error||"Send failed")}catch(p){a(f,p instanceof Error?p.message:String(p))}return!1},[r,a,i,o,x,e])}function lp(e){return zn({queryKey:["push"],queryFn:()=>Oe.push(),enabled:e,staleTime:3e4})}function rv(){const[e]=M.useState(K2),r=De(o=>o.setPush),{data:a}=lp(e==="ok"),i=a?.publicKey;M.useEffect(()=>{if(e!=="ok"||!i)return;let o=!0;return Vb(i).then(x=>{o&&r({deviceId:x?.id??null,devices:x?.devices??0})}).catch(()=>{}),()=>{o=!1}},[e,i,r])}function av(){const[e]=M.useState(K2),[r,a]=M.useState(()=>"Notification"in window?Notification.permission:"unsupported"),[i,o]=M.useState(!1),[x,u]=M.useState(null),{deviceId:c,devices:f}=De(b=>b.push),h=De(b=>b.setPush),E=lp(e==="ok"),p=E.data?.publicKey,y=M.useCallback(async()=>{o(!0),u(null);try{const b=await Notification.requestPermission();if(a(b),b!=="granted"){u(b==="denied"?"Notifications are blocked for this app — allow them in your device settings, then try again.":"Notification permission wasn’t granted.");return}const v=p??(await Oe.push()).publicKey,k=await ep(v),L=await Oe.pushSubscribe(tp(k),Z2());h({deviceId:L.id??null,devices:L.devices.length})}catch(b){u(b instanceof Error?b.message:String(b))}finally{o(!1)}},[p,h]),C=M.useCallback(async()=>{o(!0),u(null);try{const b=await W2();let v=0;b&&(v=(await Oe.pushUnsubscribe(b.endpoint).catch(()=>null))?.devices.length??0,await b.unsubscribe()),h({deviceId:null,devices:v})}catch(b){u(b instanceof Error?b.message:String(b))}finally{o(!1)}},[h]),A=M.useCallback(async()=>{if(c){o(!0),u(null);try{const b=await Oe.pushTest(c);b.ok||u(b.error??"The push service rejected it.")}catch(b){u(b instanceof Error?b.message:String(b))}finally{o(!1)}}},[c]);return{support:e,permission:r,enabled:!!c,relayDisabled:E.data?.enabled===!1,busy:i,error:x,devices:f,enable:y,disable:C,test:A}}const lv="push-route",qh="/__push-route",iv=12e4;async function Ih(){if(!("caches"in window))return null;try{const e=await caches.open(lv),r=await e.match(qh);if(!r)return null;await e.delete(qh);const{url:a,ts:i}=await r.json();return typeof a!="string"||!a.startsWith("/")||typeof i!="number"||Date.now()-i>iv?null:a}catch{return null}}function ov(){const e=pa();M.useEffect(()=>{let r=!0;const a=()=>{Ih().then(x=>{r&&x&&e(x)})},i=x=>{const u=x.data;u?.type==="push-navigate"&&typeof u.url=="string"&&u.url.startsWith("/")&&(Ih(),e(u.url))},o=()=>{document.visibilityState==="visible"&&a()};return"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",i),document.addEventListener("visibilitychange",o),a(),()=>{r=!1,"serviceWorker"in navigator&&navigator.serviceWorker.removeEventListener("message",i),document.removeEventListener("visibilitychange",o)}},[e])}function ip(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(r=0;r<o;r++)e[r]&&(a=ip(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function sv(){for(var e,r,a=0,i="",o=arguments.length;a<o;a++)(e=arguments[a])&&(r=ip(e))&&(i&&(i+=" "),i+=r);return i}const xv=(e,r)=>{const a=new Array(e.length+r.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<r.length;i++)a[e.length+i]=r[i];return a},uv=(e,r)=>({classGroupId:e,validator:r}),op=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a}),So="-",$h=[],cv="arbitrary..",fv=e=>{const r=hv(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return dv(u);const c=u.split(So),f=c[0]===""&&c.length>1?1:0;return sp(c,f,r)},getConflictingClassGroupIds:(u,c)=>{if(c){const f=i[u],h=a[u];return f?h?xv(h,f):f:h||$h}return a[u]||$h}}},sp=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;const o=e[r],x=a.nextPart.get(o);if(x){const h=sp(e,r+1,x);if(h)return h}const u=a.validators;if(u===null)return;const c=r===0?e.join(So):e.slice(r).join(So),f=u.length;for(let h=0;h<f;h++){const E=u[h];if(E.validator(c))return E.classGroupId}},dv=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),a=r.indexOf(":"),i=r.slice(0,a);return i?cv+i:void 0})(),hv=e=>{const{theme:r,classGroups:a}=e;return pv(a,r)},pv=(e,r)=>{const a=op();for(const i in e){const o=e[i];Tc(o,a,i,r)}return a},Tc=(e,r,a,i)=>{const o=e.length;for(let x=0;x<o;x++){const u=e[x];mv(u,r,a,i)}},mv=(e,r,a,i)=>{if(typeof e=="string"){Ev(e,r,a);return}if(typeof e=="function"){gv(e,r,a,i);return}Cv(e,r,a,i)},Ev=(e,r,a)=>{const i=e===""?r:xp(r,e);i.classGroupId=a},gv=(e,r,a,i)=>{if(yv(e)){Tc(e(i),r,a,i);return}r.validators===null&&(r.validators=[]),r.validators.push(uv(a,e))},Cv=(e,r,a,i)=>{const o=Object.entries(e),x=o.length;for(let u=0;u<x;u++){const[c,f]=o[u];Tc(f,xp(r,c),a,i)}},xp=(e,r)=>{let a=e;const i=r.split(So),o=i.length;for(let x=0;x<o;x++){const u=i[x];let c=a.nextPart.get(u);c||(c=op(),a.nextPart.set(u,c)),a=c}return a},yv=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Bv=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null);const o=(x,u)=>{a[x]=u,r++,r>e&&(r=0,i=a,a=Object.create(null))};return{get(x){let u=a[x];if(u!==void 0)return u;if((u=i[x])!==void 0)return o(x,u),u},set(x,u){x in a?a[x]=u:o(x,u)}}},Wu="!",Vh=":",Av=[],Gh=(e,r,a,i,o)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:o}),bv=e=>{const{prefix:r,experimentalParseClassName:a}=e;let i=o=>{const x=[];let u=0,c=0,f=0,h;const E=o.length;for(let b=0;b<E;b++){const v=o[b];if(u===0&&c===0){if(v===Vh){x.push(o.slice(f,b)),f=b+1;continue}if(v==="/"){h=b;continue}}v==="["?u++:v==="]"?u--:v==="("?c++:v===")"&&c--}const p=x.length===0?o:o.slice(f);let y=p,C=!1;p.endsWith(Wu)?(y=p.slice(0,-1),C=!0):p.startsWith(Wu)&&(y=p.slice(1),C=!0);const A=h&&h>f?h-f:void 0;return Gh(x,C,y,A)};if(r){const o=r+Vh,x=i;i=u=>u.startsWith(o)?x(u.slice(o.length)):Gh(Av,!1,u,void 0,!0)}if(a){const o=i;i=x=>a({className:x,parseClassName:o})}return i},vv=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),a=>{const i=[];let o=[];for(let x=0;x<a.length;x++){const u=a[x],c=u[0]==="[",f=r.has(u);c||f?(o.length>0&&(o.sort(),i.push(...o),o=[]),i.push(u)):o.push(u)}return o.length>0&&(o.sort(),i.push(...o)),i}},Dv=e=>({cache:Bv(e.cacheSize),parseClassName:bv(e),sortModifiers:vv(e),postfixLookupClassGroupIds:kv(e),...fv(e)}),kv=e=>{const r=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let i=0;i<a.length;i++)r[a[i]]=!0;return r},Fv=/\s+/,wv=(e,r)=>{const{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:x,postfixLookupClassGroupIds:u}=r,c=[],f=e.trim().split(Fv);let h="";for(let E=f.length-1;E>=0;E-=1){const p=f[E],{isExternal:y,modifiers:C,hasImportantModifier:A,baseClassName:b,maybePostfixModifierPosition:v}=a(p);if(y){h=p+(h.length>0?" "+h:h);continue}let k=!!v,L;if(k){const _=b.substring(0,v);L=i(_);const z=L&&u[L]?i(b):void 0;z&&z!==L&&(L=z,k=!1)}else L=i(b);if(!L){if(!k){h=p+(h.length>0?" "+h:h);continue}if(L=i(b),!L){h=p+(h.length>0?" "+h:h);continue}k=!1}const w=C.length===0?"":C.length===1?C[0]:x(C).join(":"),j=A?w+Wu:w,O=j+L;if(c.indexOf(O)>-1)continue;c.push(O);const F=o(L,k);for(let _=0;_<F.length;++_){const z=F[_];c.push(j+z)}h=p+(h.length>0?" "+h:h)}return h},Sv=(...e)=>{let r=0,a,i,o="";for(;r<e.length;)(a=e[r++])&&(i=up(a))&&(o&&(o+=" "),o+=i);return o},up=e=>{if(typeof e=="string")return e;let r,a="";for(let i=0;i<e.length;i++)e[i]&&(r=up(e[i]))&&(a&&(a+=" "),a+=r);return a},Mv=(e,...r)=>{let a,i,o,x;const u=f=>{const h=r.reduce((E,p)=>p(E),e());return a=Dv(h),i=a.cache.get,o=a.cache.set,x=c,c(f)},c=f=>{const h=i(f);if(h)return h;const E=wv(f,a);return o(f,E),E};return x=u,(...f)=>x(Sv(...f))},Nv=[],Bt=e=>{const r=a=>a[e]||Nv;return r.isThemeGetter=!0,r},cp=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fp=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Tv=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,_v=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jv=/\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$/,zv=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Rv=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ov=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qr=e=>Tv.test(e),Ne=e=>!!e&&!Number.isNaN(Number(e)),Hn=e=>!!e&&Number.isInteger(Number(e)),Au=e=>e.endsWith("%")&&Ne(e.slice(0,-1)),fr=e=>_v.test(e),dp=()=>!0,Lv=e=>jv.test(e)&&!zv.test(e),_c=()=>!1,Pv=e=>Rv.test(e),Uv=e=>Ov.test(e),Hv=e=>!pe(e)&&!me(e),qv=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),Iv=e=>Qr(e,mp,_c),pe=e=>cp.test(e),d0=e=>Qr(e,Ep,Lv),Qh=e=>Qr(e,Zv,Ne),$v=e=>Qr(e,Cp,dp),Vv=e=>Qr(e,gp,_c),Yh=e=>Qr(e,hp,_c),Gv=e=>Qr(e,pp,Uv),uo=e=>Qr(e,yp,Pv),me=e=>fp.test(e),pl=e=>y0(e,Ep),Qv=e=>y0(e,gp),Xh=e=>y0(e,hp),Yv=e=>y0(e,mp),Xv=e=>y0(e,pp),co=e=>y0(e,yp,!0),Kv=e=>y0(e,Cp,!0),Qr=(e,r,a)=>{const i=cp.exec(e);return i?i[1]?r(i[1]):a(i[2]):!1},y0=(e,r,a=!1)=>{const i=fp.exec(e);return i?i[1]?r(i[1]):a:!1},hp=e=>e==="position"||e==="percentage",pp=e=>e==="image"||e==="url",mp=e=>e==="length"||e==="size"||e==="bg-size",Ep=e=>e==="length",Zv=e=>e==="number",gp=e=>e==="family-name",Cp=e=>e==="number"||e==="weight",yp=e=>e==="shadow",Jv=()=>{const e=Bt("color"),r=Bt("font"),a=Bt("text"),i=Bt("font-weight"),o=Bt("tracking"),x=Bt("leading"),u=Bt("breakpoint"),c=Bt("container"),f=Bt("spacing"),h=Bt("radius"),E=Bt("shadow"),p=Bt("inset-shadow"),y=Bt("text-shadow"),C=Bt("drop-shadow"),A=Bt("blur"),b=Bt("perspective"),v=Bt("aspect"),k=Bt("ease"),L=Bt("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...j(),me,pe],F=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],z=()=>[me,pe,f],$=()=>[qr,"full","auto",...z()],N=()=>[Hn,"none","subgrid",me,pe],G=()=>["auto",{span:["full",Hn,me,pe]},Hn,me,pe],K=()=>[Hn,"auto",me,pe],se=()=>["auto","min","max","fr",me,pe],te=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],I=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...z()],Y=()=>[qr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],re=()=>[qr,"screen","full","dvw","lvw","svw","min","max","fit",...z()],he=()=>[qr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],S=()=>[e,me,pe],R=()=>[...j(),Xh,Yh,{position:[me,pe]}],W=()=>["no-repeat",{repeat:["","x","y","space","round"]}],T=()=>["auto","cover","contain",Yv,Iv,{size:[me,pe]}],ae=()=>[Au,pl,d0],de=()=>["","none","full",h,me,pe],ue=()=>["",Ne,pl,d0],H=()=>["solid","dashed","dotted","double"],Ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>[Ne,Au,Xh,Yh],Te=()=>["","none",A,me,pe],Ge=()=>["none",Ne,me,pe],Ke=()=>["none",Ne,me,pe],Wt=()=>[Ne,me,pe],ft=()=>[qr,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fr],breakpoint:[fr],color:[dp],container:[fr],"drop-shadow":[fr],ease:["in","out","in-out"],font:[Hv],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fr],shadow:[fr],spacing:["px",Ne],text:[fr],"text-shadow":[fr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",qr,pe,me,v]}],container:["container"],"container-type":[{"@container":["","normal","size",me,pe]}],"container-named":[qv],columns:[{columns:[Ne,pe,me,c]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"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:O()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$()}],"inset-x":[{"inset-x":$()}],"inset-y":[{"inset-y":$()}],start:[{"inset-s":$(),start:$()}],end:[{"inset-e":$(),end:$()}],"inset-bs":[{"inset-bs":$()}],"inset-be":[{"inset-be":$()}],top:[{top:$()}],right:[{right:$()}],bottom:[{bottom:$()}],left:[{left:$()}],visibility:["visible","invisible","collapse"],z:[{z:[Hn,"auto",me,pe]}],basis:[{basis:[qr,"full","auto",c,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ne,qr,"auto","initial","none",pe]}],grow:[{grow:["",Ne,me,pe]}],shrink:[{shrink:["",Ne,me,pe]}],order:[{order:[Hn,"first","last","none",me,pe]}],"grid-cols":[{"grid-cols":N()}],"col-start-end":[{col:G()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":N()}],"row-start-end":[{row:G()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":se()}],"auto-rows":[{"auto-rows":se()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...te(),"normal"]}],"justify-items":[{"justify-items":[...I(),"normal"]}],"justify-self":[{"justify-self":["auto",...I()]}],"align-content":[{content:["normal",...te()]}],"align-items":[{items:[...I(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...I(),{baseline:["","last"]}]}],"place-content":[{"place-content":te()}],"place-items":[{"place-items":[...I(),"baseline"]}],"place-self":[{"place-self":["auto",...I()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pbs:[{pbs:z()}],pbe:[{pbe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mbs:[{mbs:U()}],mbe:[{mbe:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],"inline-size":[{inline:["auto",...re()]}],"min-inline-size":[{"min-inline":["auto",...re()]}],"max-inline-size":[{"max-inline":["none",...re()]}],"block-size":[{block:["auto",...he()]}],"min-block-size":[{"min-block":["auto",...he()]}],"max-block-size":[{"max-block":["none",...he()]}],w:[{w:[c,"screen",...Y()]}],"min-w":[{"min-w":[c,"screen","none",...Y()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[u]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",a,pl,d0]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Kv,$v]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Au,pe]}],"font-family":[{font:[Qv,Vv,r]}],"font-features":[{"font-features":[pe]}],"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:[o,me,pe]}],"line-clamp":[{"line-clamp":[Ne,"none",me,Qh]}],leading:[{leading:[x,...z()]}],"list-image":[{"list-image":["none",me,pe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",me,pe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:S()}],"text-color":[{text:S()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ne,"from-font","auto",me,d0]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[Ne,"auto",me,pe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"tab-size":[{tab:[Hn,me,pe]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",me,pe]}],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",me,pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:W()}],"bg-size":[{bg:T()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Hn,me,pe],radial:["",me,pe],conic:[Hn,me,pe]},Xv,Gv]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:ue()}],"border-w-x":[{"border-x":ue()}],"border-w-y":[{"border-y":ue()}],"border-w-s":[{"border-s":ue()}],"border-w-e":[{"border-e":ue()}],"border-w-bs":[{"border-bs":ue()}],"border-w-be":[{"border-be":ue()}],"border-w-t":[{"border-t":ue()}],"border-w-r":[{"border-r":ue()}],"border-w-b":[{"border-b":ue()}],"border-w-l":[{"border-l":ue()}],"divide-x":[{"divide-x":ue()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ue()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...H(),"hidden","none"]}],"divide-style":[{divide:[...H(),"hidden","none"]}],"border-color":[{border:S()}],"border-color-x":[{"border-x":S()}],"border-color-y":[{"border-y":S()}],"border-color-s":[{"border-s":S()}],"border-color-e":[{"border-e":S()}],"border-color-bs":[{"border-bs":S()}],"border-color-be":[{"border-be":S()}],"border-color-t":[{"border-t":S()}],"border-color-r":[{"border-r":S()}],"border-color-b":[{"border-b":S()}],"border-color-l":[{"border-l":S()}],"divide-color":[{divide:S()}],"outline-style":[{outline:[...H(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ne,me,pe]}],"outline-w":[{outline:["",Ne,pl,d0]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",E,co,uo]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",p,co,uo]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[Ne,d0]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":ue()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",y,co,uo]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[Ne,me,pe]}],"mix-blend":[{"mix-blend":[...Ce(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ce()}],"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":[Ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[me,pe]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"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":j()}],"mask-image-conic-pos":[{"mask-conic":[Ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:W()}],"mask-size":[{mask:T()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",me,pe]}],filter:[{filter:["","none",me,pe]}],blur:[{blur:Te()}],brightness:[{brightness:[Ne,me,pe]}],contrast:[{contrast:[Ne,me,pe]}],"drop-shadow":[{"drop-shadow":["","none",C,co,uo]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",Ne,me,pe]}],"hue-rotate":[{"hue-rotate":[Ne,me,pe]}],invert:[{invert:["",Ne,me,pe]}],saturate:[{saturate:[Ne,me,pe]}],sepia:[{sepia:["",Ne,me,pe]}],"backdrop-filter":[{"backdrop-filter":["","none",me,pe]}],"backdrop-blur":[{"backdrop-blur":Te()}],"backdrop-brightness":[{"backdrop-brightness":[Ne,me,pe]}],"backdrop-contrast":[{"backdrop-contrast":[Ne,me,pe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ne,me,pe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ne,me,pe]}],"backdrop-invert":[{"backdrop-invert":["",Ne,me,pe]}],"backdrop-opacity":[{"backdrop-opacity":[Ne,me,pe]}],"backdrop-saturate":[{"backdrop-saturate":[Ne,me,pe]}],"backdrop-sepia":[{"backdrop-sepia":["",Ne,me,pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",me,pe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ne,"initial",me,pe]}],ease:[{ease:["linear","initial",k,me,pe]}],delay:[{delay:[Ne,me,pe]}],animate:[{animate:["none",L,me,pe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,me,pe]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:Ge()}],"rotate-x":[{"rotate-x":Ge()}],"rotate-y":[{"rotate-y":Ge()}],"rotate-z":[{"rotate-z":Ge()}],scale:[{scale:Ke()}],"scale-x":[{"scale-x":Ke()}],"scale-y":[{"scale-y":Ke()}],"scale-z":[{"scale-z":Ke()}],"scale-3d":["scale-3d"],skew:[{skew:Wt()}],"skew-x":[{"skew-x":Wt()}],"skew-y":[{"skew-y":Wt()}],transform:[{transform:[me,pe,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ft()}],"translate-x":[{"translate-x":ft()}],"translate-y":[{"translate-y":ft()}],"translate-z":[{"translate-z":ft()}],"translate-none":["translate-none"],zoom:[{zoom:[Hn,me,pe]}],accent:[{accent:S()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:S()}],"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",me,pe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":S()}],"scrollbar-track-color":[{"scrollbar-track":S()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mbs":[{"scroll-mbs":z()}],"scroll-mbe":[{"scroll-mbe":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pbs":[{"scroll-pbs":z()}],"scroll-pbe":[{"scroll-pbe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"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",me,pe]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[Ne,pl,d0,Qh]}],stroke:[{stroke:["none",...S()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Wv=Mv(Jv);function Be(...e){return Wv(sv(e))}function eD(e){const r=[],a=e.split(Ob);for(let i=0;i<a.length;i++){const o=a[i];if(i===0){o&&r.push({text:o,hit:!1});continue}const x=o.indexOf(Lb);if(x<0){o&&r.push({text:o,hit:!0});continue}const u=o.slice(0,x),c=o.slice(x+1);u&&r.push({text:u,hit:!0}),c&&r.push({text:c,hit:!1})}return r}function Bp(e){return e.state==="setting_up"}const tD={merged:"var(--color-pr-merged)",draft:"var(--color-pr-draft)",conflicts:"var(--color-pr-conflicts)",mergeable:"var(--color-pr-mergeable)"};function nD(e){return Bp(e)?{color:"var(--color-muted)",working:!0}:{color:e.pr_status&&tD[e.pr_status]||"var(--color-accent)",working:e.session_status==="working"}}function rD(e){return e.pr_status==="merged"}function Ap(e){return Bp(e)?"setting-up":e.manual_status||e.derived_status||"in-progress"}const Kh=["done","in-review","in-progress","setting-up","backlog","canceled"],aD=["backlog","in-progress","in-review","done","canceled"];function ec(e){return{done:"Done","in-review":"In review","in-progress":"In progress","setting-up":"Setting up",backlog:"Backlog",canceled:"Canceled"}[e]??e}const lD=["today","yesterday","week","month","older"];function iD(e){return{today:"Today",yesterday:"Yesterday",week:"Past week",month:"Past month",older:"Older"}[e]}function Zh(e){const r=new Date(e);return r.setHours(0,0,0,0),r.getTime()}function oD(e,r=new Date){const a=new Date(e);if(!Number.isFinite(a.getTime()))return"older";const i=Math.round((Zh(r)-Zh(a))/864e5);return i<=0?"today":i===1?"yesterday":i<7?"week":i<30?"month":"older"}const jc={done:"var(--color-done)","in-review":"var(--color-idle)","in-progress":"var(--color-working)","setting-up":"var(--color-muted)"};function zc(e){return e?e.replace(/^claude-/,"").replace(/-\d{8}$/,"").replace(/-latest$/,""):""}function Mo(e,r=120){const i=(e.split(`
|
|
12
12
|
`).find(o=>o.trim())??"").replace(/^[\s>#*\-+]+/,"").replace(/`/g,"").replace(/\s+/g," ").trim();return i.length>r?`${i.slice(0,r-1)}…`:i}function sD(e){const r=Math.max(0,Math.floor(e/1e3)),a=r%60,i=Math.floor(r/60)%60,o=Math.floor(r/3600),x=u=>String(u).padStart(2,"0");return o?`${o}h ${x(i)}m ${x(a)}s`:i?`${i}m ${x(a)}s`:`${a}s`}function xD(e){const r=new Date(e);if(!Number.isFinite(r.getTime()))return"";const a=r.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"}),i=new Date;return r.toDateString()===i.toDateString()?a:`${r.toLocaleDateString(void 0,{month:"short",day:"numeric"})}, ${a}`}function Rc(e){const r=new Date(e).getTime();if(!Number.isFinite(r))return"";const a=Math.round((Date.now()-r)/1e3);if(a<45)return"now";if(a<90)return"1m";const i=Math.round(a/60);if(i<60)return`${i}m`;const o=Math.round(i/60);return o<24?`${o}h`:`${Math.round(o/24)}d`}const uD={activity:q7,anchor:$7,apple:G7,atom:e3,award:n3,banknote:a3,battery:i3,beer:s3,bell:_2,bike:c3,bird:d3,bluetooth:p3,book:C3,"book-open":E3,bookmark:B3,bot:b3,box:D3,brain:F3,briefcase:S3,brush:N3,bug:z3,"bug-play":_3,building:P3,"building-2":O3,cake:H3,calendar:I3,camera:V3,car:Q3,carrot:X3,cat:Z3,"chart-bar":W3,"chart-line":tg,"chart-pie":rg,clapperboard:xg,clock:cg,cloud:Eg,code:Bg,"code-xml":Cg,coffee:bg,cog:Dg,compass:Fg,cpu:Mg,"credit-card":Tg,crown:jg,database:Rg,dna:Lg,dog:Ug,"dollar-sign":qg,dumbbell:$g,egg:Gg,factory:Yg,feather:Kg,file:nC,"file-code":Jg,film:aC,fish:iC,flag:sC,flame:uC,"flask-conical":fC,folder:hC,"gamepad-2":mC,gem:gC,gift:yC,"git-branch":AC,github:FC,glasses:SC,globe:NC,"graduation-cap":_C,"grid-3x3":zC,hammer:OC,headphones:PC,heart:IC,"heart-pulse":HC,house:VC,image:QC,key:ZC,laptop:WC,"layout-grid":ry,layers:ty,leaf:ly,lightbulb:oy,link:xy,lock:hy,mail:gy,map:Ay,"map-pin":yy,martini:vy,medal:ky,"message-circle":wy,"message-square":My,mic:Ty,microscope:jy,monitor:Ry,moon:Ly,music:Uy,orbit:qy,package:$y,paintbrush:Gy,paperclip:Io,"paw-print":Zy,pen:Wy,pencil:tB,phone:rB,pill:lB,pipette:oB,pizza:xB,plane:cB,plug:dB,power:mB,puzzle:gB,rabbit:BB,radio:bB,rocket:kB,ruler:MB,salad:wB,satellite:TB,scissors:jB,server:OB,settings:PB,shell:HB,shield:IB,ship:VB,"shopping-bag":QB,"shopping-cart":XB,smartphone:WB,snail:tA,soup:rA,sparkles:lA,sprout:oA,star:cA,stethoscope:dA,store:pA,sun:L2,tag:gA,tags:yA,target:AA,telescope:vA,terminal:kA,ticket:wA,"train-front":MA,"tree-pine":TA,"trending-up":jA,trophy:OA,turtle:PA,user:HA,users:IA,utensils:VA,video:QA,wallet:XA,"wand-2":wh,"wand-sparkles":wh,warehouse:JA,wheat:eb,wifi:P2,wine:ab,wrench:ib,zap:U2};function cD({w:e,className:r}){const{color:a,working:i}=nD(e);return i?g.jsx("span",{className:Be("dot-spinner",r),style:{"--spin-color":a}}):g.jsx("span",{className:Be("dot",r),style:{background:a}})}function fD(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s`;const a=Math.round(r/60);return a<60?`${a}m`:`${Math.round(a/60)}h`}function dD(){const e=De(u=>u.online),r=De(u=>u.lastSyncAt),a=De(u=>u.update),i=a?.mode==="auto"&&a.available,[o,x]=M.useState(()=>Date.now());return M.useEffect(()=>{if(e)return;const u=setInterval(()=>x(Date.now()),1e3);return()=>clearInterval(u)},[e]),i?g.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-accent/10 px-3 py-1.5 text-xs text-accent",children:[g.jsx(Fc,{size:13,className:"animate-spin"}),g.jsxs("span",{children:["Updating relay to ",a?.latest??"latest","… reconnecting"]})]}):e?null:g.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-del/10 px-3 py-1.5 text-xs text-del",children:[g.jsx(Sc,{size:13}),g.jsxs("span",{children:["Offline — retrying…",r?` last synced ${fD(o-r)} ago`:""]})]})}function No({children:e,className:r}){return g.jsx("span",{className:Be("rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted",r),children:e})}function hD({children:e}){return g.jsx("span",{className:"grid min-w-5 place-items-center rounded-full bg-accent px-1.5 text-[11px] font-bold text-white",children:e})}function pD({error:e}){const r=typeof navigator<"u"&&navigator.onLine===!1,a=e instanceof Error?e.message:String(e??"request failed"),i=!(e instanceof pr)||e.status===0;return r?g.jsxs(Pt,{children:[g.jsx(Sc,{size:20,className:"mx-auto mb-3 text-muted"}),g.jsx("div",{className:"font-medium text-text",children:"This phone is offline"}),g.jsx("div",{className:"mt-1",children:"Check Wi-Fi or cellular. The list comes back on its own."})]}):g.jsxs(Pt,{children:[g.jsx(dg,{size:20,className:"mx-auto mb-3 text-del"}),g.jsx("div",{className:"font-medium text-text",children:i?"Can’t reach the relay":"The relay answered with an error"}),g.jsx("div",{className:"mt-1 break-words font-mono text-[11px] text-muted",children:a}),i?g.jsxs("ul",{className:"mt-4 space-y-2 text-left",children:[g.jsx("li",{children:"Is the Mac awake and online?"}),g.jsxs("li",{children:["If the relay is tailnet-only: Tailscale connected on this phone, and"," ",g.jsx("span",{className:"text-text",children:"iCloud Private Relay off"}),". Private Relay routes around the VPN, so the app stays stuck even while Tailscale says Connected."]}),g.jsx("li",{children:"Otherwise the Funnel may be stale after a network change — re-deploy on the Mac."})]}):null]})}function Pt({children:e}){return g.jsx("div",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:e})}function B0({label:e}){return g.jsxs("div",{className:"flex items-center justify-center gap-2 py-16 text-sm text-muted",children:[g.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-accent"}),e]})}const Bo="grid size-8 place-items-center overflow-hidden rounded-lg bg-surface-2 font-semibold text-muted";function To({icon:e,name:r}){const a=g.jsx("div",{className:Be(Bo,"text-xs"),children:(r.trim()[0]??"?").toUpperCase()});if(!e)return a;if(e.kind==="emoji")return g.jsx("div",{className:Be(Bo,"text-lg leading-none"),children:e.value});if(e.kind==="named"){const i=uD[e.value];return i?g.jsx("div",{className:Bo,children:g.jsx(i,{size:18,className:"text-muted"})}):a}return e.kind==="github"?g.jsx(bp,{src:`https://github.com/${encodeURIComponent(e.owner)}.png?size=64`,fit:"cover",fallback:a}):g.jsx(mD,{repoName:r,fallback:a})}function bp({src:e,fit:r,fallback:a}){const[i,o]=M.useState(!1);return i?g.jsx(g.Fragment,{children:a}):g.jsx("div",{className:Bo,children:g.jsx("img",{src:e,alt:"",loading:"lazy",className:Be("size-full",r==="cover"?"object-cover":"object-contain"),onError:()=>o(!0)})})}function mD({repoName:e,fallback:r}){const{data:a,isError:i}=Jb(e);return!e||i||!a?g.jsx(g.Fragment,{children:r}):g.jsx(bp,{src:a,fit:"contain",fallback:r})}function _o({title:e,subtitle:r,menu:a,right:i}){const o=De(x=>x.setSidebarOpen);return g.jsxs("header",{className:"pt-safe sticky top-0 z-10 border-b border-border-soft bg-bg/80 backdrop-blur-xl",children:[g.jsxs("div",{className:"flex items-center gap-2 px-3 pb-2.5",children:[a?g.jsx("button",{type:"button",onClick:()=>o(!0),"aria-label":"Open workspaces",className:"-ml-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 md:hidden",children:g.jsx(Yy,{size:20})}):g.jsx("span",{className:"w-1"}),g.jsxs("div",{className:"min-w-0 flex-1",children:[g.jsx("div",{className:"truncate text-[15px] font-semibold leading-tight",children:e}),r?g.jsx("div",{className:"truncate text-xs leading-tight text-muted",children:r}):null]}),i]}),g.jsx(dD,{})]})}var Hl=s2();function ED(e,r){const a={};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const gD=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,CD=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,yD={};function Jh(e,r){return(yD.jsx?CD:gD).test(e)}const BD=/[ \t\n\f\r]/g;function AD(e){return typeof e=="object"?e.type==="text"?Wh(e.value):!1:Wh(e)}function Wh(e){return e.replace(BD,"")===""}class ql{constructor(r,a,i){this.normal=a,this.property=r,i&&(this.space=i)}}ql.prototype.normal={};ql.prototype.property={};ql.prototype.space=void 0;function vp(e,r){const a={},i={};for(const o of e)Object.assign(a,o.property),Object.assign(i,o.normal);return new ql(a,i,r)}function tc(e){return e.toLowerCase()}class Jt{constructor(r,a){this.attribute=a,this.property=r}}Jt.prototype.attribute="";Jt.prototype.booleanish=!1;Jt.prototype.boolean=!1;Jt.prototype.commaOrSpaceSeparated=!1;Jt.prototype.commaSeparated=!1;Jt.prototype.defined=!1;Jt.prototype.mustUseProperty=!1;Jt.prototype.number=!1;Jt.prototype.overloadedBoolean=!1;Jt.prototype.property="";Jt.prototype.spaceSeparated=!1;Jt.prototype.space=void 0;let bD=0;const Fe=A0(),Et=A0(),nc=A0(),xe=A0(),nt=A0(),E0=A0(),xn=A0();function A0(){return 2**++bD}const rc=Object.freeze(Object.defineProperty({__proto__:null,boolean:Fe,booleanish:Et,commaOrSpaceSeparated:xn,commaSeparated:E0,number:xe,overloadedBoolean:nc,spaceSeparated:nt},Symbol.toStringTag,{value:"Module"})),bu=Object.keys(rc);class Oc extends Jt{constructor(r,a,i,o){let x=-1;if(super(r,a),e8(this,"space",o),typeof i=="number")for(;++x<bu.length;){const u=bu[x];e8(this,bu[x],(i&rc[u])===rc[u])}}}Oc.prototype.defined=!0;function e8(e,r,a){a&&(e[r]=a)}function ga(e){const r={},a={};for(const[i,o]of Object.entries(e.properties)){const x=new Oc(i,e.transform(e.attributes||{},i),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(x.mustUseProperty=!0),r[i]=x,a[tc(i)]=i,a[tc(x.attribute)]=i}return new ql(r,a,e.space)}const Dp=ga({properties:{ariaActiveDescendant:null,ariaAtomic:Et,ariaAutoComplete:null,ariaBusy:Et,ariaChecked:Et,ariaColCount:xe,ariaColIndex:xe,ariaColSpan:xe,ariaControls:nt,ariaCurrent:null,ariaDescribedBy:nt,ariaDetails:null,ariaDisabled:Et,ariaDropEffect:nt,ariaErrorMessage:null,ariaExpanded:Et,ariaFlowTo:nt,ariaGrabbed:Et,ariaHasPopup:null,ariaHidden:Et,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:nt,ariaLevel:xe,ariaLive:null,ariaModal:Et,ariaMultiLine:Et,ariaMultiSelectable:Et,ariaOrientation:null,ariaOwns:nt,ariaPlaceholder:null,ariaPosInSet:xe,ariaPressed:Et,ariaReadOnly:Et,ariaRelevant:null,ariaRequired:Et,ariaRoleDescription:nt,ariaRowCount:xe,ariaRowIndex:xe,ariaRowSpan:xe,ariaSelected:Et,ariaSetSize:xe,ariaSort:null,ariaValueMax:xe,ariaValueMin:xe,ariaValueNow:xe,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function kp(e,r){return r in e?e[r]:r}function Fp(e,r){return kp(e,r.toLowerCase())}const vD=ga({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:E0,acceptCharset:nt,accessKey:nt,action:null,allow:null,allowFullScreen:Fe,allowPaymentRequest:Fe,allowUserMedia:Fe,alpha:Fe,alt:null,as:null,async:Fe,autoCapitalize:null,autoComplete:nt,autoFocus:Fe,autoPlay:Fe,blocking:nt,capture:null,charSet:null,checked:Fe,cite:null,className:nt,closedBy:null,colorSpace:null,cols:xe,colSpan:xe,command:null,commandFor:null,content:null,contentEditable:Et,controls:Fe,controlsList:nt,coords:xe|E0,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Fe,defer:Fe,dir:null,dirName:null,disabled:Fe,download:nc,draggable:Et,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Fe,formTarget:null,headers:nt,height:xe,hidden:nc,high:xe,href:null,hrefLang:null,htmlFor:nt,httpEquiv:nt,id:null,imageSizes:null,imageSrcSet:null,inert:Fe,inputMode:null,integrity:null,is:null,isMap:Fe,itemId:null,itemProp:nt,itemRef:nt,itemScope:Fe,itemType:nt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Fe,low:xe,manifest:null,max:null,maxLength:xe,media:null,method:null,min:null,minLength:xe,multiple:Fe,muted:Fe,name:null,nonce:null,noModule:Fe,noValidate:Fe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Fe,optimum:xe,pattern:null,ping:nt,placeholder:null,playsInline:Fe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Fe,referrerPolicy:null,rel:nt,required:Fe,reversed:Fe,rows:xe,rowSpan:xe,sandbox:nt,scope:null,scoped:Fe,seamless:Fe,selected:Fe,shadowRootClonable:Fe,shadowRootCustomElementRegistry:Fe,shadowRootDelegatesFocus:Fe,shadowRootMode:null,shadowRootSerializable:Fe,shape:null,size:xe,sizes:null,slot:null,span:xe,spellCheck:Et,src:null,srcDoc:null,srcLang:null,srcSet:null,start:xe,step:null,style:null,tabIndex:xe,target:null,title:null,translate:null,type:null,typeMustMatch:Fe,useMap:null,value:Et,width:xe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:nt,axis:null,background:null,bgColor:null,border:xe,borderColor:null,bottomMargin:xe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Fe,declare:Fe,event:null,face:null,frame:null,frameBorder:null,hSpace:xe,leftMargin:xe,link:null,longDesc:null,lowSrc:null,marginHeight:xe,marginWidth:xe,noResize:Fe,noHref:Fe,noShade:Fe,noWrap:Fe,object:null,profile:null,prompt:null,rev:null,rightMargin:xe,rules:null,scheme:null,scrolling:Et,standby:null,summary:null,text:null,topMargin:xe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:xe,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Fe,disablePictureInPicture:Fe,disableRemotePlayback:Fe,exportParts:E0,part:nt,prefix:null,property:null,results:xe,security:null,unselectable:null},space:"html",transform:Fp}),DD=ga({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:xn,accentHeight:xe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:xe,amplitude:xe,arabicForm:null,ascent:xe,attributeName:null,attributeType:null,azimuth:xe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:xe,by:null,calcMode:null,capHeight:xe,className:nt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:xe,diffuseConstant:xe,direction:null,display:null,dur:null,divisor:xe,dominantBaseline:null,download:Fe,dx:null,dy:null,edgeMode:null,editable:null,elevation:xe,enableBackground:null,end:null,event:null,exponent:xe,externalResourcesRequired:null,fill:null,fillOpacity:xe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:E0,g2:E0,glyphName:E0,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:xe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:xe,horizOriginX:xe,horizOriginY:xe,id:null,ideographic:xe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:xe,k:xe,k1:xe,k2:xe,k3:xe,k4:xe,kernelMatrix:xn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:xe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:xe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:xe,overlineThickness:xe,paintOrder:null,panose1:null,path:null,pathLength:xe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:nt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:xe,pointsAtY:xe,pointsAtZ:xe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:xn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:xn,rev:xn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:xn,requiredFeatures:xn,requiredFonts:xn,requiredFormats:xn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:xe,specularExponent:xe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:xe,strikethroughThickness:xe,string:null,stroke:null,strokeDashArray:xn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:xe,strokeOpacity:xe,strokeWidth:null,style:null,surfaceScale:xe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:xn,tabIndex:xe,tableValues:null,target:null,targetX:xe,targetY:xe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:xn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:xe,underlineThickness:xe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:xe,values:null,vAlphabetic:xe,vMathematical:xe,vectorEffect:null,vHanging:xe,vIdeographic:xe,version:null,vertAdvY:xe,vertOriginX:xe,vertOriginY:xe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:xe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:kp}),wp=ga({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,r){return"xlink:"+r.slice(5).toLowerCase()}}),Sp=ga({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Fp}),Mp=ga({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}}),kD={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},FD=/[A-Z]/g,t8=/-[a-z]/g,wD=/^data[-\w.:]+$/i;function SD(e,r){const a=tc(r);let i=r,o=Jt;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&wD.test(r)){if(r.charAt(4)==="-"){const x=r.slice(5).replace(t8,ND);i="data"+x.charAt(0).toUpperCase()+x.slice(1)}else{const x=r.slice(4);if(!t8.test(x)){let u=x.replace(FD,MD);u.charAt(0)!=="-"&&(u="-"+u),r="data"+u}}o=Oc}return new o(i,r)}function MD(e){return"-"+e.toLowerCase()}function ND(e){return e.charAt(1).toUpperCase()}const TD=vp([Dp,vD,wp,Sp,Mp],"html"),Lc=vp([Dp,DD,wp,Sp,Mp],"svg");function _D(e){return e.join(" ").trim()}var xa={},vu,n8;function jD(){if(n8)return vu;n8=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,x=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g,f=`
|
|
13
13
|
`,h="/",E="*",p="",y="comment",C="declaration";function A(v,k){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];k=k||{};var L=1,w=1;function j(te){var I=te.match(r);I&&(L+=I.length);var U=te.lastIndexOf(f);w=~U?te.length-U:w+te.length}function O(){var te={line:L,column:w};return function(I){return I.position=new F(te),$(),I}}function F(te){this.start=te,this.end={line:L,column:w},this.source=k.source}F.prototype.content=v;function _(te){var I=new Error(k.source+":"+L+":"+w+": "+te);if(I.reason=te,I.filename=k.source,I.line=L,I.column=w,I.source=v,!k.silent)throw I}function z(te){var I=te.exec(v);if(I){var U=I[0];return j(U),v=v.slice(U.length),I}}function $(){z(a)}function N(te){var I;for(te=te||[];I=G();)I!==!1&&te.push(I);return te}function G(){var te=O();if(!(h!=v.charAt(0)||E!=v.charAt(1))){for(var I=2;p!=v.charAt(I)&&(E!=v.charAt(I)||h!=v.charAt(I+1));)++I;if(I+=2,p===v.charAt(I-1))return _("End of comment missing");var U=v.slice(2,I-2);return w+=2,j(U),v=v.slice(I),w+=2,te({type:y,comment:U})}}function K(){var te=O(),I=z(i);if(I){if(G(),!z(o))return _("property missing ':'");var U=z(x),Y=te({type:C,property:b(I[0].replace(e,p)),value:U?b(U[0].replace(e,p)):p});return z(u),Y}}function se(){var te=[];N(te);for(var I;I=K();)I!==!1&&(te.push(I),N(te));return te}return $(),se()}function b(v){return v?v.replace(c,p):p}return vu=A,vu}var r8;function zD(){if(r8)return xa;r8=1;var e=xa&&xa.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(xa,"__esModule",{value:!0}),xa.default=a;const r=e(jD());function a(i,o){let x=null;if(!i||typeof i!="string")return x;const u=(0,r.default)(i),c=typeof o=="function";return u.forEach(f=>{if(f.type!=="declaration")return;const{property:h,value:E}=f;c?o(h,E,f):E&&(x=x||{},x[h]=E)}),x}return xa}var ml={},a8;function RD(){if(a8)return ml;a8=1,Object.defineProperty(ml,"__esModule",{value:!0}),ml.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,a=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,x=function(h){return!h||a.test(h)||e.test(h)},u=function(h,E){return E.toUpperCase()},c=function(h,E){return"".concat(E,"-")},f=function(h,E){return E===void 0&&(E={}),x(h)?h:(h=h.toLowerCase(),E.reactCompat?h=h.replace(o,c):h=h.replace(i,c),h.replace(r,u))};return ml.camelCase=f,ml}var El,l8;function OD(){if(l8)return El;l8=1;var e=El&&El.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},r=e(zD()),a=RD();function i(o,x){var u={};return!o||typeof o!="string"||(0,r.default)(o,function(c,f){c&&f&&(u[(0,a.camelCase)(c,x)]=f)}),u}return i.default=i,El=i,El}var LD=OD();const PD=Lo(LD),Np=Tp("end"),Pc=Tp("start");function Tp(e){return r;function r(a){const i=a&&a.position&&a.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function UD(e){const r=Pc(e),a=Np(e);if(r&&a)return{start:r,end:a}}function bl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?i8(e.position):"start"in e||"end"in e?i8(e):"line"in e||"column"in e?ac(e):""}function ac(e){return o8(e&&e.line)+":"+o8(e&&e.column)}function i8(e){return ac(e&&e.start)+"-"+ac(e&&e.end)}function o8(e){return e&&typeof e=="number"?e:1}class jt extends Error{constructor(r,a,i){super(),typeof a=="string"&&(i=a,a=void 0);let o="",x={},u=!1;if(a&&("line"in a&&"column"in a?x={place:a}:"start"in a&&"end"in a?x={place:a}:"type"in a?x={ancestors:[a],place:a.position}:x={...a}),typeof r=="string"?o=r:!x.cause&&r&&(u=!0,o=r.message,x.cause=r),!x.ruleId&&!x.source&&typeof i=="string"){const f=i.indexOf(":");f===-1?x.ruleId=i:(x.source=i.slice(0,f),x.ruleId=i.slice(f+1))}if(!x.place&&x.ancestors&&x.ancestors){const f=x.ancestors[x.ancestors.length-1];f&&(x.place=f.position)}const c=x.place&&"start"in x.place?x.place.start:x.place;this.ancestors=x.ancestors||void 0,this.cause=x.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=c?c.line:void 0,this.name=bl(x.place)||"1:1",this.place=x.place||void 0,this.reason=this.message,this.ruleId=x.ruleId||void 0,this.source=x.source||void 0,this.stack=u&&x.cause&&typeof x.cause.stack=="string"?x.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}jt.prototype.file="";jt.prototype.name="";jt.prototype.reason="";jt.prototype.message="";jt.prototype.stack="";jt.prototype.column=void 0;jt.prototype.line=void 0;jt.prototype.ancestors=void 0;jt.prototype.cause=void 0;jt.prototype.fatal=void 0;jt.prototype.place=void 0;jt.prototype.ruleId=void 0;jt.prototype.source=void 0;const Uc={}.hasOwnProperty,HD=new Map,qD=/[A-Z]/g,ID=new Set(["table","tbody","thead","tfoot","tr"]),$D=new Set(["td","th"]),_p="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function VD(e,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=r.filePath||void 0;let i;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=WD(a,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");i=JD(a,r.jsx,r.jsxs)}const o={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:i,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?Lc:TD,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},x=jp(o,e,void 0);return x&&typeof x!="string"?x:o.create(e,o.Fragment,{children:x||void 0},void 0)}function jp(e,r,a){if(r.type==="element")return GD(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return QD(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return XD(e,r,a);if(r.type==="mdxjsEsm")return YD(e,r);if(r.type==="root")return KD(e,r,a);if(r.type==="text")return ZD(e,r)}function GD(e,r,a){const i=e.schema;let o=i;r.tagName.toLowerCase()==="svg"&&i.space==="html"&&(o=Lc,e.schema=o),e.ancestors.push(r);const x=Rp(e,r.tagName,!1),u=ek(e,r);let c=qc(e,r);return ID.has(r.tagName)&&(c=c.filter(function(f){return typeof f=="string"?!AD(f):!0})),zp(e,u,x,r),Hc(u,c),e.ancestors.pop(),e.schema=i,e.create(r,x,u,a)}function QD(e,r){if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];return i.type,e.evaluater.evaluateExpression(i.expression)}_l(e,r.position)}function YD(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);_l(e,r.position)}function XD(e,r,a){const i=e.schema;let o=i;r.name==="svg"&&i.space==="html"&&(o=Lc,e.schema=o),e.ancestors.push(r);const x=r.name===null?e.Fragment:Rp(e,r.name,!0),u=tk(e,r),c=qc(e,r);return zp(e,u,x,r),Hc(u,c),e.ancestors.pop(),e.schema=i,e.create(r,x,u,a)}function KD(e,r,a){const i={};return Hc(i,qc(e,r)),e.create(r,e.Fragment,i,a)}function ZD(e,r){return r.value}function zp(e,r,a,i){typeof a!="string"&&a!==e.Fragment&&e.passNode&&(r.node=i)}function Hc(e,r){if(r.length>0){const a=r.length>1?r:r[0];a&&(e.children=a)}}function JD(e,r,a){return i;function i(o,x,u,c){const h=Array.isArray(u.children)?a:r;return c?h(x,u,c):h(x,u)}}function WD(e,r){return a;function a(i,o,x,u){const c=Array.isArray(x.children),f=Pc(i);return r(o,x,u,c,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function ek(e,r){const a={};let i,o;for(o in r.properties)if(o!=="children"&&Uc.call(r.properties,o)){const x=nk(e,o,r.properties[o]);if(x){const[u,c]=x;e.tableCellAlignToStyle&&u==="align"&&typeof c=="string"&&$D.has(r.tagName)?i=c:a[u]=c}}if(i){const x=a.style||(a.style={});x[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return a}function tk(e,r){const a={};for(const i of r.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){const x=i.data.estree.body[0];x.type;const u=x.expression;u.type;const c=u.properties[0];c.type,Object.assign(a,e.evaluater.evaluateExpression(c.argument))}else _l(e,r.position);else{const o=i.name;let x;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&e.evaluater){const c=i.value.data.estree.body[0];c.type,x=e.evaluater.evaluateExpression(c.expression)}else _l(e,r.position);else x=i.value===null?!0:i.value;a[o]=x}return a}function qc(e,r){const a=[];let i=-1;const o=e.passKeys?new Map:HD;for(;++i<r.children.length;){const x=r.children[i];let u;if(e.passKeys){const f=x.type==="element"?x.tagName:x.type==="mdxJsxFlowElement"||x.type==="mdxJsxTextElement"?x.name:void 0;if(f){const h=o.get(f)||0;u=f+"-"+h,o.set(f,h+1)}}const c=jp(e,x,u);c!==void 0&&a.push(c)}return a}function nk(e,r,a){const i=SD(e.schema,r);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=i.commaSeparated?ED(a):_D(a)),i.property==="style"){let o=typeof a=="object"?a:rk(e,String(a));return e.stylePropertyNameCase==="css"&&(o=ak(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&i.space?kD[i.property]||i.property:i.attribute,a]}}function rk(e,r){try{return PD(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};const i=a,o=new jt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=_p+"#cannot-parse-style-attribute",o}}function Rp(e,r,a){let i;if(!a)i={type:"Literal",value:r};else if(r.includes(".")){const o=r.split(".");let x=-1,u;for(;++x<o.length;){const c=Jh(o[x])?{type:"Identifier",name:o[x]}:{type:"Literal",value:o[x]};u=u?{type:"MemberExpression",object:u,property:c,computed:!!(x&&c.type==="Literal"),optional:!1}:c}i=u}else i=Jh(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){const o=i.value;return Uc.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(i);_l(e)}function _l(e,r){const a=new jt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=_p+"#cannot-handle-mdx-estrees-without-createevaluater",a}function ak(e){const r={};let a;for(a in e)Uc.call(e,a)&&(r[lk(a)]=e[a]);return r}function lk(e){let r=e.replace(qD,ik);return r.slice(0,3)==="ms-"&&(r="-"+r),r}function ik(e){return"-"+e.toLowerCase()}const Du={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},ok={};function Ic(e,r){const a=ok,i=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,o=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return Op(e,i,o)}function Op(e,r,a){if(sk(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(r&&"alt"in e&&e.alt)return e.alt;if("children"in e)return s8(e.children,r,a)}return Array.isArray(e)?s8(e,r,a):""}function s8(e,r,a){const i=[];let o=-1;for(;++o<e.length;)i[o]=Op(e[o],r,a);return i.join("")}function sk(e){return!!(e&&typeof e=="object")}const x8=document.createElement("i");function $c(e){const r="&"+e+";";x8.innerHTML=r;const a=x8.textContent;return a.charCodeAt(a.length-1)===59&&e!=="semi"||a===r?!1:a}function fn(e,r,a,i){const o=e.length;let x=0,u;if(r<0?r=-r>o?0:o+r:r=r>o?o:r,a=a>0?a:0,i.length<1e4)u=Array.from(i),u.unshift(r,a),e.splice(...u);else for(a&&e.splice(r,a);x<i.length;)u=i.slice(x,x+1e4),u.unshift(r,0),e.splice(...u),x+=1e4,r+=1e4}function Dn(e,r){return e.length>0?(fn(e,e.length,0,r),e):r}const u8={}.hasOwnProperty;function Lp(e){const r={};let a=-1;for(;++a<e.length;)xk(r,e[a]);return r}function xk(e,r){let a;for(a in r){const o=(u8.call(e,a)?e[a]:void 0)||(e[a]={}),x=r[a];let u;if(x)for(u in x){u8.call(o,u)||(o[u]=[]);const c=x[u];uk(o[u],Array.isArray(c)?c:c?[c]:[])}}}function uk(e,r){let a=-1;const i=[];for(;++a<r.length;)(r[a].add==="after"?e:i).push(r[a]);fn(e,0,0,i)}function Pp(e,r){const a=Number.parseInt(e,r);return a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function jn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Lt=Yr(/[A-Za-z]/),_t=Yr(/[\dA-Za-z]/),ck=Yr(/[#-'*+\--9=?A-Z^-~]/);function jo(e){return e!==null&&(e<32||e===127)}const lc=Yr(/\d/),fk=Yr(/[\dA-Fa-f]/),dk=Yr(/[!-/:-@[-`{-~]/);function Ae(e){return e!==null&&e<-2}function rt(e){return e!==null&&(e<0||e===32)}function Re(e){return e===-2||e===-1||e===32}const $o=Yr(new RegExp("\\p{P}|\\p{S}","u")),g0=Yr(/\s/);function Yr(e){return r;function r(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function Ca(e){const r=[];let a=-1,i=0,o=0;for(;++a<e.length;){const x=e.charCodeAt(a);let u="";if(x===37&&_t(e.charCodeAt(a+1))&&_t(e.charCodeAt(a+2)))o=2;else if(x<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(x))||(u=String.fromCharCode(x));else if(x>55295&&x<57344){const c=e.charCodeAt(a+1);x<56320&&c>56319&&c<57344?(u=String.fromCharCode(x,c),o=1):u="�"}else u=String.fromCharCode(x);u&&(r.push(e.slice(i,a),encodeURIComponent(u)),i=a+o+1,u=""),o&&(a+=o,o=0)}return r.join("")+e.slice(i)}function He(e,r,a,i){const o=i?i-1:Number.POSITIVE_INFINITY;let x=0;return u;function u(f){return Re(f)?(e.enter(a),c(f)):r(f)}function c(f){return Re(f)&&x++<o?(e.consume(f),c):(e.exit(a),r(f))}}const hk={tokenize:pk};function pk(e){const r=e.attempt(this.parser.constructs.contentInitial,i,o);let a;return r;function i(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),He(e,r,"linePrefix")}function o(c){return e.enter("paragraph"),x(c)}function x(c){const f=e.enter("chunkText",{contentType:"text",previous:a});return a&&(a.next=f),a=f,u(c)}function u(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return Ae(c)?(e.consume(c),e.exit("chunkText"),x):(e.consume(c),u)}}const mk={tokenize:Ek},c8={tokenize:gk};function Ek(e){const r=this,a=[];let i=0,o,x,u;return c;function c(w){if(i<a.length){const j=a[i];return r.containerState=j[1],e.attempt(j[0].continuation,f,h)(w)}return h(w)}function f(w){if(i++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&L();const j=r.events.length;let O=j,F;for(;O--;)if(r.events[O][0]==="exit"&&r.events[O][1].type==="chunkFlow"){F=r.events[O][1].end;break}k(i);let _=j;for(;_<r.events.length;)r.events[_][1].end={...F},_++;return fn(r.events,O+1,0,r.events.slice(j)),r.events.length=_,h(w)}return c(w)}function h(w){if(i===a.length){if(!o)return y(w);if(o.currentConstruct&&o.currentConstruct.concrete)return A(w);r.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(c8,E,p)(w)}function E(w){return o&&L(),k(i),y(w)}function p(w){return r.parser.lazy[r.now().line]=i!==a.length,u=r.now().offset,A(w)}function y(w){return r.containerState={},e.attempt(c8,C,A)(w)}function C(w){return i++,a.push([r.currentConstruct,r.containerState]),y(w)}function A(w){if(w===null){o&&L(),k(0),e.consume(w);return}return o=o||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:x}),b(w)}function b(w){if(w===null){v(e.exit("chunkFlow"),!0),k(0),e.consume(w);return}return Ae(w)?(e.consume(w),v(e.exit("chunkFlow")),i=0,r.interrupt=void 0,c):(e.consume(w),b)}function v(w,j){const O=r.sliceStream(w);if(j&&O.push(null),w.previous=x,x&&(x.next=w),x=w,o.defineSkip(w.start),o.write(O),r.parser.lazy[w.start.line]){let F=o.events.length;for(;F--;)if(o.events[F][1].start.offset<u&&(!o.events[F][1].end||o.events[F][1].end.offset>u))return;const _=r.events.length;let z=_,$,N;for(;z--;)if(r.events[z][0]==="exit"&&r.events[z][1].type==="chunkFlow"){if($){N=r.events[z][1].end;break}$=!0}for(k(i),F=_;F<r.events.length;)r.events[F][1].end={...N},F++;fn(r.events,z+1,0,r.events.slice(_)),r.events.length=F}}function k(w){let j=a.length;for(;j-- >w;){const O=a[j];r.containerState=O[1],O[0].exit.call(r,e)}a.length=w}function L(){o.write([null]),x=void 0,o=void 0,r.containerState._closeFlow=void 0}}function gk(e,r,a){return He(e,e.attempt(this.parser.constructs.document,r,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function fa(e){if(e===null||rt(e)||g0(e))return 1;if($o(e))return 2}function Vo(e,r,a){const i=[];let o=-1;for(;++o<e.length;){const x=e[o].resolveAll;x&&!i.includes(x)&&(r=x(r,a),i.push(x))}return r}const ic={name:"attention",resolveAll:Ck,tokenize:yk};function Ck(e,r){let a=-1,i,o,x,u,c,f,h,E;for(;++a<e.length;)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){for(i=a;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&r.sliceSerialize(e[i][1]).charCodeAt(0)===r.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[i][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;f=e[i][1].end.offset-e[i][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const p={...e[i][1].end},y={...e[a][1].start};f8(p,-f),f8(y,f),u={type:f>1?"strongSequence":"emphasisSequence",start:p,end:{...e[i][1].end}},c={type:f>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:y},x={type:f>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[a][1].start}},o={type:f>1?"strong":"emphasis",start:{...u.start},end:{...c.end}},e[i][1].end={...u.start},e[a][1].start={...c.end},h=[],e[i][1].end.offset-e[i][1].start.offset&&(h=Dn(h,[["enter",e[i][1],r],["exit",e[i][1],r]])),h=Dn(h,[["enter",o,r],["enter",u,r],["exit",u,r],["enter",x,r]]),h=Dn(h,Vo(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),h=Dn(h,[["exit",x,r],["enter",c,r],["exit",c,r],["exit",o,r]]),e[a][1].end.offset-e[a][1].start.offset?(E=2,h=Dn(h,[["enter",e[a][1],r],["exit",e[a][1],r]])):E=0,fn(e,i-1,a-i+3,h),a=i+h.length-E-2;break}}for(a=-1;++a<e.length;)e[a][1].type==="attentionSequence"&&(e[a][1].type="data");return e}function yk(e,r){const a=this.parser.constructs.attentionMarkers.null,i=this.previous,o=fa(i);let x;return u;function u(f){return x=f,e.enter("attentionSequence"),c(f)}function c(f){if(f===x)return e.consume(f),c;const h=e.exit("attentionSequence"),E=fa(f),p=!E||E===2&&o||a.includes(f),y=!o||o===2&&E||a.includes(i);return h._open=!!(x===42?p:p&&(o||!y)),h._close=!!(x===42?y:y&&(E||!p)),r(f)}}function f8(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}const Bk={name:"autolink",tokenize:Ak};function Ak(e,r,a){let i=0;return o;function o(C){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),x}function x(C){return Lt(C)?(e.consume(C),u):C===64?a(C):h(C)}function u(C){return C===43||C===45||C===46||_t(C)?(i=1,c(C)):h(C)}function c(C){return C===58?(e.consume(C),i=0,f):(C===43||C===45||C===46||_t(C))&&i++<32?(e.consume(C),c):(i=0,h(C))}function f(C){return C===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.exit("autolink"),r):C===null||C===32||C===60||jo(C)?a(C):(e.consume(C),f)}function h(C){return C===64?(e.consume(C),E):ck(C)?(e.consume(C),h):a(C)}function E(C){return _t(C)?p(C):a(C)}function p(C){return C===46?(e.consume(C),i=0,E):C===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.exit("autolink"),r):y(C)}function y(C){if((C===45||_t(C))&&i++<63){const A=C===45?y:p;return e.consume(C),A}return a(C)}}const Il={partial:!0,tokenize:bk};function bk(e,r,a){return i;function i(x){return Re(x)?He(e,o,"linePrefix")(x):o(x)}function o(x){return x===null||Ae(x)?r(x):a(x)}}const Up={continuation:{tokenize:Dk},exit:kk,name:"blockQuote",tokenize:vk};function vk(e,r,a){const i=this;return o;function o(u){if(u===62){const c=i.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),x}return a(u)}function x(u){return Re(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r):(e.exit("blockQuotePrefix"),r(u))}}function Dk(e,r,a){const i=this;return o;function o(u){return Re(u)?He(e,x,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):x(u)}function x(u){return e.attempt(Up,r,a)(u)}}function kk(e){e.exit("blockQuote")}const Hp={name:"characterEscape",tokenize:Fk};function Fk(e,r,a){return i;function i(x){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(x),e.exit("escapeMarker"),o}function o(x){return dk(x)?(e.enter("characterEscapeValue"),e.consume(x),e.exit("characterEscapeValue"),e.exit("characterEscape"),r):a(x)}}const qp={name:"characterReference",tokenize:wk};function wk(e,r,a){const i=this;let o=0,x,u;return c;function c(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),f}function f(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),x=31,u=_t,E(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),x=6,u=fk,E):(e.enter("characterReferenceValue"),x=7,u=lc,E(p))}function E(p){if(p===59&&o){const y=e.exit("characterReferenceValue");return u===_t&&!$c(i.sliceSerialize(y))?a(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),r)}return u(p)&&o++<x?(e.consume(p),E):a(p)}}const d8={partial:!0,tokenize:Mk},h8={concrete:!0,name:"codeFenced",tokenize:Sk};function Sk(e,r,a){const i=this,o={partial:!0,tokenize:O};let x=0,u=0,c;return f;function f(F){return h(F)}function h(F){const _=i.events[i.events.length-1];return x=_&&_[1].type==="linePrefix"?_[2].sliceSerialize(_[1],!0).length:0,c=F,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),E(F)}function E(F){return F===c?(u++,e.consume(F),E):u<3?a(F):(e.exit("codeFencedFenceSequence"),Re(F)?He(e,p,"whitespace")(F):p(F))}function p(F){return F===null||Ae(F)?(e.exit("codeFencedFence"),i.interrupt?r(F):e.check(d8,b,j)(F)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),y(F))}function y(F){return F===null||Ae(F)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(F)):Re(F)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),He(e,C,"whitespace")(F)):F===96&&F===c?a(F):(e.consume(F),y)}function C(F){return F===null||Ae(F)?p(F):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),A(F))}function A(F){return F===null||Ae(F)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(F)):F===96&&F===c?a(F):(e.consume(F),A)}function b(F){return e.attempt(o,j,v)(F)}function v(F){return e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),k}function k(F){return x>0&&Re(F)?He(e,L,"linePrefix",x+1)(F):L(F)}function L(F){return F===null||Ae(F)?e.check(d8,b,j)(F):(e.enter("codeFlowValue"),w(F))}function w(F){return F===null||Ae(F)?(e.exit("codeFlowValue"),L(F)):(e.consume(F),w)}function j(F){return e.exit("codeFenced"),r(F)}function O(F,_,z){let $=0;return N;function N(I){return F.enter("lineEnding"),F.consume(I),F.exit("lineEnding"),G}function G(I){return F.enter("codeFencedFence"),Re(I)?He(F,K,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):K(I)}function K(I){return I===c?(F.enter("codeFencedFenceSequence"),se(I)):z(I)}function se(I){return I===c?($++,F.consume(I),se):$>=u?(F.exit("codeFencedFenceSequence"),Re(I)?He(F,te,"whitespace")(I):te(I)):z(I)}function te(I){return I===null||Ae(I)?(F.exit("codeFencedFence"),_(I)):z(I)}}}function Mk(e,r,a){const i=this;return o;function o(u){return u===null?a(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),x)}function x(u){return i.parser.lazy[i.now().line]?a(u):r(u)}}const ku={name:"codeIndented",tokenize:Tk},Nk={partial:!0,tokenize:_k};function Tk(e,r,a){const i=this;return o;function o(h){return e.enter("codeIndented"),He(e,x,"linePrefix",5)(h)}function x(h){const E=i.events[i.events.length-1];return E&&E[1].type==="linePrefix"&&E[2].sliceSerialize(E[1],!0).length>=4?u(h):a(h)}function u(h){return h===null?f(h):Ae(h)?e.attempt(Nk,u,f)(h):(e.enter("codeFlowValue"),c(h))}function c(h){return h===null||Ae(h)?(e.exit("codeFlowValue"),u(h)):(e.consume(h),c)}function f(h){return e.exit("codeIndented"),r(h)}}function _k(e,r,a){const i=this;return o;function o(u){return i.parser.lazy[i.now().line]?a(u):Ae(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),o):He(e,x,"linePrefix",5)(u)}function x(u){const c=i.events[i.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?r(u):Ae(u)?o(u):a(u)}}const jk={name:"codeText",previous:Rk,resolve:zk,tokenize:Ok};function zk(e){let r=e.length-4,a=3,i,o;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[r][1].type==="lineEnding"||e[r][1].type==="space")){for(i=a;++i<r;)if(e[i][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}for(i=a-1,r++;++i<=r;)o===void 0?i!==r&&e[i][1].type!=="lineEnding"&&(o=i):(i===r||e[i][1].type==="lineEnding")&&(e[o][1].type="codeTextData",i!==o+2&&(e[o][1].end=e[i-1][1].end,e.splice(o+2,i-o-2),r-=i-o-2,i=o+2),o=void 0);return e}function Rk(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ok(e,r,a){let i=0,o,x;return u;function u(p){return e.enter("codeText"),e.enter("codeTextSequence"),c(p)}function c(p){return p===96?(e.consume(p),i++,c):(e.exit("codeTextSequence"),f(p))}function f(p){return p===null?a(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),f):p===96?(x=e.enter("codeTextSequence"),o=0,E(p)):Ae(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||Ae(p)?(e.exit("codeTextData"),f(p)):(e.consume(p),h)}function E(p){return p===96?(e.consume(p),o++,E):o===i?(e.exit("codeTextSequence"),e.exit("codeText"),r(p)):(x.type="codeTextData",h(p))}}class Lk{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return r<this.left.length?this.left[r]:this.right[this.right.length-r+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(r,a){const i=a??Number.POSITIVE_INFINITY;return i<this.left.length?this.left.slice(r,i):r>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(r,a,i){const o=a||0;this.setCursor(Math.trunc(r));const x=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return i&&gl(this.left,i),x.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),gl(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),gl(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r<this.left.length){const a=this.left.splice(r,Number.POSITIVE_INFINITY);gl(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-r,Number.POSITIVE_INFINITY);gl(this.left,a.reverse())}}}function gl(e,r){let a=0;if(r.length<1e4)e.push(...r);else for(;a<r.length;)e.push(...r.slice(a,a+1e4)),a+=1e4}function Ip(e){const r={};let a=-1,i,o,x,u,c,f,h;const E=new Lk(e);for(;++a<E.length;){for(;a in r;)a=r[a];if(i=E.get(a),a&&i[1].type==="chunkFlow"&&E.get(a-1)[1].type==="listItemPrefix"&&(f=i[1]._tokenizer.events,x=0,x<f.length&&f[x][1].type==="lineEndingBlank"&&(x+=2),x<f.length&&f[x][1].type==="content"))for(;++x<f.length&&f[x][1].type!=="content";)f[x][1].type==="chunkText"&&(f[x][1]._isInFirstContentOfListItem=!0,x++);if(i[0]==="enter")i[1].contentType&&(Object.assign(r,Pk(E,a)),a=r[a],h=!0);else if(i[1]._container){for(x=a,o=void 0;x--;)if(u=E.get(x),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(o&&(E.get(o)[1].type="lineEndingBlank"),u[1].type="lineEnding",o=x);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;o&&(i[1].end={...E.get(o)[1].start},c=E.slice(o,a),c.unshift(i),E.splice(o,a-o+1,c))}}return fn(e,0,Number.POSITIVE_INFINITY,E.slice(0)),!h}function Pk(e,r){const a=e.get(r)[1],i=e.get(r)[2];let o=r-1;const x=[];let u=a._tokenizer;u||(u=i.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const c=u.events,f=[],h={};let E,p,y=-1,C=a,A=0,b=0;const v=[b];for(;C;){for(;e.get(++o)[1]!==C;);x.push(o),C._tokenizer||(E=i.sliceStream(C),C.next||E.push(null),p&&u.defineSkip(C.start),C._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(E),C._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),p=C,C=C.next}for(C=a;++y<c.length;)c[y][0]==="exit"&&c[y-1][0]==="enter"&&c[y][1].type===c[y-1][1].type&&c[y][1].start.line!==c[y][1].end.line&&(b=y+1,v.push(b),C._tokenizer=void 0,C.previous=void 0,C=C.next);for(u.events=[],C?(C._tokenizer=void 0,C.previous=void 0):v.pop(),y=v.length;y--;){const k=c.slice(v[y],v[y+1]),L=x.pop();f.push([L,L+k.length-1]),e.splice(L,2,k)}for(f.reverse(),y=-1;++y<f.length;)h[A+f[y][0]]=A+f[y][1],A+=f[y][1]-f[y][0]-1;return h}const Uk={resolve:qk,tokenize:Ik},Hk={partial:!0,tokenize:$k};function qk(e){return Ip(e),e}function Ik(e,r){let a;return i;function i(c){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),o(c)}function o(c){return c===null?x(c):Ae(c)?e.check(Hk,u,x)(c):(e.consume(c),o)}function x(c){return e.exit("chunkContent"),e.exit("content"),r(c)}function u(c){return e.consume(c),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,o}}function $k(e,r,a){const i=this;return o;function o(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),He(e,x,"linePrefix")}function x(u){if(u===null||Ae(u))return a(u);const c=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?r(u):e.interrupt(i.parser.constructs.flow,a,r)(u)}}function $p(e,r,a,i,o,x,u,c,f){const h=f||Number.POSITIVE_INFINITY;let E=0;return p;function p(k){return k===60?(e.enter(i),e.enter(o),e.enter(x),e.consume(k),e.exit(x),y):k===null||k===32||k===41||jo(k)?a(k):(e.enter(i),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),b(k))}function y(k){return k===62?(e.enter(x),e.consume(k),e.exit(x),e.exit(o),e.exit(i),r):(e.enter(c),e.enter("chunkString",{contentType:"string"}),C(k))}function C(k){return k===62?(e.exit("chunkString"),e.exit(c),y(k)):k===null||k===60||Ae(k)?a(k):(e.consume(k),k===92?A:C)}function A(k){return k===60||k===62||k===92?(e.consume(k),C):C(k)}function b(k){return!E&&(k===null||k===41||rt(k))?(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(i),r(k)):E<h&&k===40?(e.consume(k),E++,b):k===41?(e.consume(k),E--,b):k===null||k===32||k===40||jo(k)?a(k):(e.consume(k),k===92?v:b)}function v(k){return k===40||k===41||k===92?(e.consume(k),b):b(k)}}function Vp(e,r,a,i,o,x){const u=this;let c=0,f;return h;function h(C){return e.enter(i),e.enter(o),e.consume(C),e.exit(o),e.enter(x),E}function E(C){return c>999||C===null||C===91||C===93&&!f||C===94&&!c&&"_hiddenFootnoteSupport"in u.parser.constructs?a(C):C===93?(e.exit(x),e.enter(o),e.consume(C),e.exit(o),e.exit(i),r):Ae(C)?(e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),E):(e.enter("chunkString",{contentType:"string"}),p(C))}function p(C){return C===null||C===91||C===93||Ae(C)||c++>999?(e.exit("chunkString"),E(C)):(e.consume(C),f||(f=!Re(C)),C===92?y:p)}function y(C){return C===91||C===92||C===93?(e.consume(C),c++,p):p(C)}}function Gp(e,r,a,i,o,x){let u;return c;function c(y){return y===34||y===39||y===40?(e.enter(i),e.enter(o),e.consume(y),e.exit(o),u=y===40?41:y,f):a(y)}function f(y){return y===u?(e.enter(o),e.consume(y),e.exit(o),e.exit(i),r):(e.enter(x),h(y))}function h(y){return y===u?(e.exit(x),f(u)):y===null?a(y):Ae(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),He(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),E(y))}function E(y){return y===u||y===null||Ae(y)?(e.exit("chunkString"),h(y)):(e.consume(y),y===92?p:E)}function p(y){return y===u||y===92?(e.consume(y),E):E(y)}}function vl(e,r){let a;return i;function i(o){return Ae(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a=!0,i):Re(o)?He(e,i,a?"linePrefix":"lineSuffix")(o):r(o)}}const Vk={name:"definition",tokenize:Qk},Gk={partial:!0,tokenize:Yk};function Qk(e,r,a){const i=this;let o;return x;function x(C){return e.enter("definition"),u(C)}function u(C){return Vp.call(i,e,c,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(C)}function c(C){return o=jn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),C===58?(e.enter("definitionMarker"),e.consume(C),e.exit("definitionMarker"),f):a(C)}function f(C){return rt(C)?vl(e,h)(C):h(C)}function h(C){return $p(e,E,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(C)}function E(C){return e.attempt(Gk,p,p)(C)}function p(C){return Re(C)?He(e,y,"whitespace")(C):y(C)}function y(C){return C===null||Ae(C)?(e.exit("definition"),i.parser.defined.push(o),r(C)):a(C)}}function Yk(e,r,a){return i;function i(c){return rt(c)?vl(e,o)(c):a(c)}function o(c){return Gp(e,x,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function x(c){return Re(c)?He(e,u,"whitespace")(c):u(c)}function u(c){return c===null||Ae(c)?r(c):a(c)}}const Xk={name:"hardBreakEscape",tokenize:Kk};function Kk(e,r,a){return i;function i(x){return e.enter("hardBreakEscape"),e.consume(x),o}function o(x){return Ae(x)?(e.exit("hardBreakEscape"),r(x)):a(x)}}const Zk={name:"headingAtx",resolve:Jk,tokenize:Wk};function Jk(e,r){let a=e.length-2,i=3,o,x;return e[i][1].type==="whitespace"&&(i+=2),a-2>i&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(i===a-1||a-4>i&&e[a-2][1].type==="whitespace")&&(a-=i+1===a?2:4),a>i&&(o={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},x={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},fn(e,i,a-i+1,[["enter",o,r],["enter",x,r],["exit",x,r],["exit",o,r]])),e}function Wk(e,r,a){let i=0;return o;function o(E){return e.enter("atxHeading"),x(E)}function x(E){return e.enter("atxHeadingSequence"),u(E)}function u(E){return E===35&&i++<6?(e.consume(E),u):E===null||rt(E)?(e.exit("atxHeadingSequence"),c(E)):a(E)}function c(E){return E===35?(e.enter("atxHeadingSequence"),f(E)):E===null||Ae(E)?(e.exit("atxHeading"),r(E)):Re(E)?He(e,c,"whitespace")(E):(e.enter("atxHeadingText"),h(E))}function f(E){return E===35?(e.consume(E),f):(e.exit("atxHeadingSequence"),c(E))}function h(E){return E===null||E===35||rt(E)?(e.exit("atxHeadingText"),c(E)):(e.consume(E),h)}}const eF=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],p8=["pre","script","style","textarea"],tF={concrete:!0,name:"htmlFlow",resolveTo:aF,tokenize:lF},nF={partial:!0,tokenize:oF},rF={partial:!0,tokenize:iF};function aF(e){let r=e.length;for(;r--&&!(e[r][0]==="enter"&&e[r][1].type==="htmlFlow"););return r>1&&e[r-2][1].type==="linePrefix"&&(e[r][1].start=e[r-2][1].start,e[r+1][1].start=e[r-2][1].start,e.splice(r-2,2)),e}function lF(e,r,a){const i=this;let o,x,u,c,f;return h;function h(T){return E(T)}function E(T){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(T),p}function p(T){return T===33?(e.consume(T),y):T===47?(e.consume(T),x=!0,b):T===63?(e.consume(T),o=3,i.interrupt?r:S):Lt(T)?(e.consume(T),u=String.fromCharCode(T),v):a(T)}function y(T){return T===45?(e.consume(T),o=2,C):T===91?(e.consume(T),o=5,c=0,A):Lt(T)?(e.consume(T),o=4,i.interrupt?r:S):a(T)}function C(T){return T===45?(e.consume(T),i.interrupt?r:S):a(T)}function A(T){const ae="CDATA[";return T===ae.charCodeAt(c++)?(e.consume(T),c===ae.length?i.interrupt?r:K:A):a(T)}function b(T){return Lt(T)?(e.consume(T),u=String.fromCharCode(T),v):a(T)}function v(T){if(T===null||T===47||T===62||rt(T)){const ae=T===47,de=u.toLowerCase();return!ae&&!x&&p8.includes(de)?(o=1,i.interrupt?r(T):K(T)):eF.includes(u.toLowerCase())?(o=6,ae?(e.consume(T),k):i.interrupt?r(T):K(T)):(o=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(T):x?L(T):w(T))}return T===45||_t(T)?(e.consume(T),u+=String.fromCharCode(T),v):a(T)}function k(T){return T===62?(e.consume(T),i.interrupt?r:K):a(T)}function L(T){return Re(T)?(e.consume(T),L):N(T)}function w(T){return T===47?(e.consume(T),N):T===58||T===95||Lt(T)?(e.consume(T),j):Re(T)?(e.consume(T),w):N(T)}function j(T){return T===45||T===46||T===58||T===95||_t(T)?(e.consume(T),j):O(T)}function O(T){return T===61?(e.consume(T),F):Re(T)?(e.consume(T),O):w(T)}function F(T){return T===null||T===60||T===61||T===62||T===96?a(T):T===34||T===39?(e.consume(T),f=T,_):Re(T)?(e.consume(T),F):z(T)}function _(T){return T===f?(e.consume(T),f=null,$):T===null||Ae(T)?a(T):(e.consume(T),_)}function z(T){return T===null||T===34||T===39||T===47||T===60||T===61||T===62||T===96||rt(T)?O(T):(e.consume(T),z)}function $(T){return T===47||T===62||Re(T)?w(T):a(T)}function N(T){return T===62?(e.consume(T),G):a(T)}function G(T){return T===null||Ae(T)?K(T):Re(T)?(e.consume(T),G):a(T)}function K(T){return T===45&&o===2?(e.consume(T),U):T===60&&o===1?(e.consume(T),Y):T===62&&o===4?(e.consume(T),R):T===63&&o===3?(e.consume(T),S):T===93&&o===5?(e.consume(T),he):Ae(T)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(nF,W,se)(T)):T===null||Ae(T)?(e.exit("htmlFlowData"),se(T)):(e.consume(T),K)}function se(T){return e.check(rF,te,W)(T)}function te(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),I}function I(T){return T===null||Ae(T)?se(T):(e.enter("htmlFlowData"),K(T))}function U(T){return T===45?(e.consume(T),S):K(T)}function Y(T){return T===47?(e.consume(T),u="",re):K(T)}function re(T){if(T===62){const ae=u.toLowerCase();return p8.includes(ae)?(e.consume(T),R):K(T)}return Lt(T)&&u.length<8?(e.consume(T),u+=String.fromCharCode(T),re):K(T)}function he(T){return T===93?(e.consume(T),S):K(T)}function S(T){return T===62?(e.consume(T),R):T===45&&o===2?(e.consume(T),S):K(T)}function R(T){return T===null||Ae(T)?(e.exit("htmlFlowData"),W(T)):(e.consume(T),R)}function W(T){return e.exit("htmlFlow"),r(T)}}function iF(e,r,a){const i=this;return o;function o(u){return Ae(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),x):a(u)}function x(u){return i.parser.lazy[i.now().line]?a(u):r(u)}}function oF(e,r,a){return i;function i(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(Il,r,a)}}const sF={name:"htmlText",tokenize:xF};function xF(e,r,a){const i=this;let o,x,u;return c;function c(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),f}function f(S){return S===33?(e.consume(S),h):S===47?(e.consume(S),O):S===63?(e.consume(S),w):Lt(S)?(e.consume(S),z):a(S)}function h(S){return S===45?(e.consume(S),E):S===91?(e.consume(S),x=0,A):Lt(S)?(e.consume(S),L):a(S)}function E(S){return S===45?(e.consume(S),C):a(S)}function p(S){return S===null?a(S):S===45?(e.consume(S),y):Ae(S)?(u=p,Y(S)):(e.consume(S),p)}function y(S){return S===45?(e.consume(S),C):p(S)}function C(S){return S===62?U(S):S===45?y(S):p(S)}function A(S){const R="CDATA[";return S===R.charCodeAt(x++)?(e.consume(S),x===R.length?b:A):a(S)}function b(S){return S===null?a(S):S===93?(e.consume(S),v):Ae(S)?(u=b,Y(S)):(e.consume(S),b)}function v(S){return S===93?(e.consume(S),k):b(S)}function k(S){return S===62?U(S):S===93?(e.consume(S),k):b(S)}function L(S){return S===null||S===62?U(S):Ae(S)?(u=L,Y(S)):(e.consume(S),L)}function w(S){return S===null?a(S):S===63?(e.consume(S),j):Ae(S)?(u=w,Y(S)):(e.consume(S),w)}function j(S){return S===62?U(S):w(S)}function O(S){return Lt(S)?(e.consume(S),F):a(S)}function F(S){return S===45||_t(S)?(e.consume(S),F):_(S)}function _(S){return Ae(S)?(u=_,Y(S)):Re(S)?(e.consume(S),_):U(S)}function z(S){return S===45||_t(S)?(e.consume(S),z):S===47||S===62||rt(S)?$(S):a(S)}function $(S){return S===47?(e.consume(S),U):S===58||S===95||Lt(S)?(e.consume(S),N):Ae(S)?(u=$,Y(S)):Re(S)?(e.consume(S),$):U(S)}function N(S){return S===45||S===46||S===58||S===95||_t(S)?(e.consume(S),N):G(S)}function G(S){return S===61?(e.consume(S),K):Ae(S)?(u=G,Y(S)):Re(S)?(e.consume(S),G):$(S)}function K(S){return S===null||S===60||S===61||S===62||S===96?a(S):S===34||S===39?(e.consume(S),o=S,se):Ae(S)?(u=K,Y(S)):Re(S)?(e.consume(S),K):(e.consume(S),te)}function se(S){return S===o?(e.consume(S),o=void 0,I):S===null?a(S):Ae(S)?(u=se,Y(S)):(e.consume(S),se)}function te(S){return S===null||S===34||S===39||S===60||S===61||S===96?a(S):S===47||S===62||rt(S)?$(S):(e.consume(S),te)}function I(S){return S===47||S===62||rt(S)?$(S):a(S)}function U(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),r):a(S)}function Y(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),re}function re(S){return Re(S)?He(e,he,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):he(S)}function he(S){return e.enter("htmlTextData"),u(S)}}const Vc={name:"labelEnd",resolveAll:dF,resolveTo:hF,tokenize:pF},uF={tokenize:mF},cF={tokenize:EF},fF={tokenize:gF};function dF(e){let r=-1;const a=[];for(;++r<e.length;){const i=e[r][1];if(a.push(e[r]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){const o=i.type==="labelImage"?4:2;i.type="data",r+=o}}return e.length!==a.length&&fn(e,0,e.length,a),e}function hF(e,r){let a=e.length,i=0,o,x,u,c;for(;a--;)if(o=e[a][1],x){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[a][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(u){if(e[a][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(x=a,o.type!=="labelLink")){i=2;break}}else o.type==="labelEnd"&&(u=a);const f={type:e[x][1].type==="labelLink"?"link":"image",start:{...e[x][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[x][1].start},end:{...e[u][1].end}},E={type:"labelText",start:{...e[x+i+2][1].end},end:{...e[u-2][1].start}};return c=[["enter",f,r],["enter",h,r]],c=Dn(c,e.slice(x+1,x+i+3)),c=Dn(c,[["enter",E,r]]),c=Dn(c,Vo(r.parser.constructs.insideSpan.null,e.slice(x+i+4,u-3),r)),c=Dn(c,[["exit",E,r],e[u-2],e[u-1],["exit",h,r]]),c=Dn(c,e.slice(u+1)),c=Dn(c,[["exit",f,r]]),fn(e,x,e.length,c),e}function pF(e,r,a){const i=this;let o=i.events.length,x,u;for(;o--;)if((i.events[o][1].type==="labelImage"||i.events[o][1].type==="labelLink")&&!i.events[o][1]._balanced){x=i.events[o][1];break}return c;function c(y){return x?x._inactive?p(y):(u=i.parser.defined.includes(jn(i.sliceSerialize({start:x.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(y),e.exit("labelMarker"),e.exit("labelEnd"),f):a(y)}function f(y){return y===40?e.attempt(uF,E,u?E:p)(y):y===91?e.attempt(cF,E,u?h:p)(y):u?E(y):p(y)}function h(y){return e.attempt(fF,E,p)(y)}function E(y){return r(y)}function p(y){return x._balanced=!0,a(y)}}function mF(e,r,a){return i;function i(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),o}function o(p){return rt(p)?vl(e,x)(p):x(p)}function x(p){return p===41?E(p):$p(e,u,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function u(p){return rt(p)?vl(e,f)(p):E(p)}function c(p){return a(p)}function f(p){return p===34||p===39||p===40?Gp(e,h,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):E(p)}function h(p){return rt(p)?vl(e,E)(p):E(p)}function E(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),r):a(p)}}function EF(e,r,a){const i=this;return o;function o(c){return Vp.call(i,e,x,u,"reference","referenceMarker","referenceString")(c)}function x(c){return i.parser.defined.includes(jn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(c):a(c)}function u(c){return a(c)}}function gF(e,r,a){return i;function i(x){return e.enter("reference"),e.enter("referenceMarker"),e.consume(x),e.exit("referenceMarker"),o}function o(x){return x===93?(e.enter("referenceMarker"),e.consume(x),e.exit("referenceMarker"),e.exit("reference"),r):a(x)}}const CF={name:"labelStartImage",resolveAll:Vc.resolveAll,tokenize:yF};function yF(e,r,a){const i=this;return o;function o(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),x}function x(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),u):a(c)}function u(c){return c===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(c):r(c)}}const BF={name:"labelStartLink",resolveAll:Vc.resolveAll,tokenize:AF};function AF(e,r,a){const i=this;return o;function o(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),x}function x(u){return u===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(u):r(u)}}const Fu={name:"lineEnding",tokenize:bF};function bF(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),He(e,r,"linePrefix")}}const Ao={name:"thematicBreak",tokenize:vF};function vF(e,r,a){let i=0,o;return x;function x(h){return e.enter("thematicBreak"),u(h)}function u(h){return o=h,c(h)}function c(h){return h===o?(e.enter("thematicBreakSequence"),f(h)):i>=3&&(h===null||Ae(h))?(e.exit("thematicBreak"),r(h)):a(h)}function f(h){return h===o?(e.consume(h),i++,f):(e.exit("thematicBreakSequence"),Re(h)?He(e,c,"whitespace")(h):c(h))}}const Kt={continuation:{tokenize:wF},exit:MF,name:"list",tokenize:FF},DF={partial:!0,tokenize:NF},kF={partial:!0,tokenize:SF};function FF(e,r,a){const i=this,o=i.events[i.events.length-1];let x=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,u=0;return c;function c(C){const A=i.containerState.type||(C===42||C===43||C===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!i.containerState.marker||C===i.containerState.marker:lc(C)){if(i.containerState.type||(i.containerState.type=A,e.enter(A,{_container:!0})),A==="listUnordered")return e.enter("listItemPrefix"),C===42||C===45?e.check(Ao,a,h)(C):h(C);if(!i.interrupt||C===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(C)}return a(C)}function f(C){return lc(C)&&++u<10?(e.consume(C),f):(!i.interrupt||u<2)&&(i.containerState.marker?C===i.containerState.marker:C===41||C===46)?(e.exit("listItemValue"),h(C)):a(C)}function h(C){return e.enter("listItemMarker"),e.consume(C),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||C,e.check(Il,i.interrupt?a:E,e.attempt(DF,y,p))}function E(C){return i.containerState.initialBlankLine=!0,x++,y(C)}function p(C){return Re(C)?(e.enter("listItemPrefixWhitespace"),e.consume(C),e.exit("listItemPrefixWhitespace"),y):a(C)}function y(C){return i.containerState.size=x+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(C)}}function wF(e,r,a){const i=this;return i.containerState._closeFlow=void 0,e.check(Il,o,x);function o(c){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,He(e,r,"listItemIndent",i.containerState.size+1)(c)}function x(c){return i.containerState.furtherBlankLines||!Re(c)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,u(c)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(kF,r,u)(c))}function u(c){return i.containerState._closeFlow=!0,i.interrupt=void 0,He(e,e.attempt(Kt,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function SF(e,r,a){const i=this;return He(e,o,"listItemIndent",i.containerState.size+1);function o(x){const u=i.events[i.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===i.containerState.size?r(x):a(x)}}function MF(e){e.exit(this.containerState.type)}function NF(e,r,a){const i=this;return He(e,o,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(x){const u=i.events[i.events.length-1];return!Re(x)&&u&&u[1].type==="listItemPrefixWhitespace"?r(x):a(x)}}const m8={name:"setextUnderline",resolveTo:TF,tokenize:_F};function TF(e,r){let a=e.length,i,o,x;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}e[a][1].type==="paragraph"&&(o=a)}else e[a][1].type==="content"&&e.splice(a,1),!x&&e[a][1].type==="definition"&&(x=a);const u={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",x?(e.splice(o,0,["enter",u,r]),e.splice(x+1,0,["exit",e[i][1],r]),e[i][1].end={...e[x][1].end}):e[i][1]=u,e.push(["exit",u,r]),e}function _F(e,r,a){const i=this;let o;return x;function x(h){let E=i.events.length,p;for(;E--;)if(i.events[E][1].type!=="lineEnding"&&i.events[E][1].type!=="linePrefix"&&i.events[E][1].type!=="content"){p=i.events[E][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||p)?(e.enter("setextHeadingLine"),o=h,u(h)):a(h)}function u(h){return e.enter("setextHeadingLineSequence"),c(h)}function c(h){return h===o?(e.consume(h),c):(e.exit("setextHeadingLineSequence"),Re(h)?He(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||Ae(h)?(e.exit("setextHeadingLine"),r(h)):a(h)}}const jF={tokenize:zF};function zF(e){const r=this,a=e.attempt(Il,i,e.attempt(this.parser.constructs.flowInitial,o,He(e,e.attempt(this.parser.constructs.flow,o,e.attempt(Uk,o)),"linePrefix")));return a;function i(x){if(x===null){e.consume(x);return}return e.enter("lineEndingBlank"),e.consume(x),e.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function o(x){if(x===null){e.consume(x);return}return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),r.currentConstruct=void 0,a}}const RF={resolveAll:Yp()},OF=Qp("string"),LF=Qp("text");function Qp(e){return{resolveAll:Yp(e==="text"?PF:void 0),tokenize:r};function r(a){const i=this,o=this.parser.constructs[e],x=a.attempt(o,u,c);return u;function u(E){return h(E)?x(E):c(E)}function c(E){if(E===null){a.consume(E);return}return a.enter("data"),a.consume(E),f}function f(E){return h(E)?(a.exit("data"),x(E)):(a.consume(E),f)}function h(E){if(E===null)return!0;const p=o[E];let y=-1;if(p)for(;++y<p.length;){const C=p[y];if(!C.previous||C.previous.call(i,i.previous))return!0}return!1}}}function Yp(e){return r;function r(a,i){let o=-1,x;for(;++o<=a.length;)x===void 0?a[o]&&a[o][1].type==="data"&&(x=o,o++):(!a[o]||a[o][1].type!=="data")&&(o!==x+2&&(a[x][1].end=a[o-1][1].end,a.splice(x+2,o-x-2),o=x+2),x=void 0);return e?e(a,i):a}}function PF(e,r){let a=0;for(;++a<=e.length;)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){const i=e[a-1][1],o=r.sliceStream(i);let x=o.length,u=-1,c=0,f;for(;x--;){const h=o[x];if(typeof h=="string"){for(u=h.length;h.charCodeAt(u-1)===32;)c++,u--;if(u)break;u=-1}else if(h===-2)f=!0,c++;else if(h!==-1){x++;break}}if(r._contentTypeTextTrailing&&a===e.length&&(c=0),c){const h={type:a===e.length||f||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:x?u:i.start._bufferIndex+u,_index:i.start._index+x,line:i.end.line,column:i.end.column-c,offset:i.end.offset-c},end:{...i.end}};i.end={...h.start},i.start.offset===i.end.offset?Object.assign(i,h):(e.splice(a,0,["enter",h,r],["exit",h,r]),a+=2)}a++}return e}const UF={42:Kt,43:Kt,45:Kt,48:Kt,49:Kt,50:Kt,51:Kt,52:Kt,53:Kt,54:Kt,55:Kt,56:Kt,57:Kt,62:Up},HF={91:Vk},qF={[-2]:ku,[-1]:ku,32:ku},IF={35:Zk,42:Ao,45:[m8,Ao],60:tF,61:m8,95:Ao,96:h8,126:h8},$F={38:qp,92:Hp},VF={[-5]:Fu,[-4]:Fu,[-3]:Fu,33:CF,38:qp,42:ic,60:[Bk,sF],91:BF,92:[Xk,Hp],93:Vc,95:ic,96:jk},GF={null:[ic,RF]},QF={null:[42,95]},YF={null:[]},XF=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:QF,contentInitial:HF,disable:YF,document:UF,flow:IF,flowInitial:qF,insideSpan:GF,string:$F,text:VF},Symbol.toStringTag,{value:"Module"}));function KF(e,r,a){let i={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0};const o={},x=[];let u=[],c=[];const f={attempt:_(O),check:_(F),consume:L,enter:w,exit:j,interrupt:_(F,{interrupt:!0})},h={code:null,containerState:{},defineSkip:b,events:[],now:A,parser:e,previous:null,sliceSerialize:y,sliceStream:C,write:p};let E=r.tokenize.call(h,f);return r.resolveAll&&x.push(r),h;function p(G){return u=Dn(u,G),v(),u[u.length-1]!==null?[]:(z(r,0),h.events=Vo(x,h.events,h),h.events)}function y(G,K){return JF(C(G),K)}function C(G){return ZF(u,G)}function A(){const{_bufferIndex:G,_index:K,line:se,column:te,offset:I}=i;return{_bufferIndex:G,_index:K,line:se,column:te,offset:I}}function b(G){o[G.line]=G.column,N()}function v(){let G;for(;i._index<u.length;){const K=u[i._index];if(typeof K=="string")for(G=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===G&&i._bufferIndex<K.length;)k(K.charCodeAt(i._bufferIndex));else k(K)}}function k(G){E=E(G)}function L(G){Ae(G)?(i.line++,i.column=1,i.offset+=G===-3?2:1,N()):G!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===u[i._index].length&&(i._bufferIndex=-1,i._index++)),h.previous=G}function w(G,K){const se=K||{};return se.type=G,se.start=A(),h.events.push(["enter",se,h]),c.push(se),se}function j(G){const K=c.pop();return K.end=A(),h.events.push(["exit",K,h]),K}function O(G,K){z(G,K.from)}function F(G,K){K.restore()}function _(G,K){return se;function se(te,I,U){let Y,re,he,S;return Array.isArray(te)?W(te):"tokenize"in te?W([te]):R(te);function R(ue){return H;function H(Ce){const ce=Ce!==null&&ue[Ce],Te=Ce!==null&&ue.null,Ge=[...Array.isArray(ce)?ce:ce?[ce]:[],...Array.isArray(Te)?Te:Te?[Te]:[]];return W(Ge)(Ce)}}function W(ue){return Y=ue,re=0,ue.length===0?U:T(ue[re])}function T(ue){return H;function H(Ce){return S=$(),he=ue,ue.partial||(h.currentConstruct=ue),ue.name&&h.parser.constructs.disable.null.includes(ue.name)?de():ue.tokenize.call(K?Object.assign(Object.create(h),K):h,f,ae,de)(Ce)}}function ae(ue){return G(he,S),I}function de(ue){return S.restore(),++re<Y.length?T(Y[re]):U}}}function z(G,K){G.resolveAll&&!x.includes(G)&&x.push(G),G.resolve&&fn(h.events,K,h.events.length-K,G.resolve(h.events.slice(K),h)),G.resolveTo&&(h.events=G.resolveTo(h.events,h))}function $(){const G=A(),K=h.previous,se=h.currentConstruct,te=h.events.length,I=Array.from(c);return{from:te,restore:U};function U(){i=G,h.previous=K,h.currentConstruct=se,h.events.length=te,c=I,N()}}function N(){i.line in o&&i.column<2&&(i.column=o[i.line],i.offset+=o[i.line]-1)}}function ZF(e,r){const a=r.start._index,i=r.start._bufferIndex,o=r.end._index,x=r.end._bufferIndex;let u;if(a===o)u=[e[a].slice(i,x)];else{if(u=e.slice(a,o),i>-1){const c=u[0];typeof c=="string"?u[0]=c.slice(i):u.shift()}x>0&&u.push(e[o].slice(0,x))}return u}function JF(e,r){let a=-1;const i=[];let o;for(;++a<e.length;){const x=e[a];let u;if(typeof x=="string")u=x;else switch(x){case-5:{u="\r";break}case-4:{u=`
|
|
14
14
|
`;break}case-3:{u=`\r
|
|
@@ -40,5 +40,5 @@ Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}
|
|
|
40
40
|
`))}function f(C,A,b,v){const k=b.enter("tableCell"),L=b.enter("phrasing"),w=b.containerPhrasing(C,{...v,before:x,after:x});return L(),k(),w}function h(C,A){return mM(C,{align:A,alignDelimiters:i,padding:a,stringLength:o})}function E(C,A,b){const v=C.children;let k=-1;const L=[],w=A.enter("table");for(;++k<v.length;)L[k]=p(v[k],A,b);return w(),L}function p(C,A,b){const v=C.children;let k=-1;const L=[],w=A.enter("tableRow");for(;++k<v.length;)L[k]=f(v[k],C,A,b);return w(),L}function y(C,A,b){let v=Bm.inlineCode(C,A,b);return b.stack.includes("tableCell")&&(v=v.replace(/\|/g,"\\$&")),v}}function rN(){return{exit:{taskListCheckValueChecked:P8,taskListCheckValueUnchecked:P8,paragraph:lN}}}function aN(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:iN}}}function P8(e){const r=this.stack[this.stack.length-2];r.type,r.checked=e.type==="taskListCheckValueChecked"}function lN(e){const r=this.stack[this.stack.length-2];if(r&&r.type==="listItem"&&typeof r.checked=="boolean"){const a=this.stack[this.stack.length-1];a.type;const i=a.children[0];if(i&&i.type==="text"){const o=r.children;let x=-1,u;for(;++x<o.length;){const c=o[x];if(c.type==="paragraph"){u=c;break}}u===a&&(i.value=i.value.slice(1),i.value.length===0?a.children.shift():a.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,a.position.start=Object.assign({},i.position.start)))}}this.exit(e)}function iN(e,r,a,i){const o=e.children[0],x=typeof e.checked=="boolean"&&o&&o.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",c=a.createTracker(i);x&&c.move(u);let f=Bm.listItem(e,r,a,{...i,...c.current()});return x&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(E){return E+u}}function oN(){return[PS(),iM(),uM(),KM(),rN()]}function sN(e){return{extensions:[US(),oM(e),cM(),nN(e),aN()]}}const xN={tokenize:pN,partial:!0},Am={tokenize:mN,partial:!0},bm={tokenize:EN,partial:!0},vm={tokenize:gN,partial:!0},uN={tokenize:CN,partial:!0},Dm={name:"wwwAutolink",tokenize:dN,previous:Fm},km={name:"protocolAutolink",tokenize:hN,previous:wm},mr={name:"emailAutolink",tokenize:fN,previous:Sm},Vn={};function cN(){return{text:Vn}}let h0=48;for(;h0<123;)Vn[h0]=mr,h0++,h0===58?h0=65:h0===91&&(h0=97);Vn[43]=mr;Vn[45]=mr;Vn[46]=mr;Vn[95]=mr;Vn[72]=[mr,km];Vn[104]=[mr,km];Vn[87]=[mr,Dm];Vn[119]=[mr,Dm];function fN(e,r,a){const i=this;let o,x;return u;function u(p){return!cc(p)||!Sm.call(i,i.previous)||ef(i.events)?a(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(p))}function c(p){return cc(p)?(e.consume(p),c):p===64?(e.consume(p),f):a(p)}function f(p){return p===46?e.check(uN,E,h)(p):p===45||p===95||_t(p)?(x=!0,e.consume(p),f):E(p)}function h(p){return e.consume(p),o=!0,f}function E(p){return x&&o&&Lt(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),r(p)):a(p)}}function dN(e,r,a){const i=this;return o;function o(u){return u!==87&&u!==119||!Fm.call(i,i.previous)||ef(i.events)?a(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(xN,e.attempt(Am,e.attempt(bm,x),a),a)(u))}function x(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),r(u)}}function hN(e,r,a){const i=this;let o="",x=!1;return u;function u(p){return(p===72||p===104)&&wm.call(i,i.previous)&&!ef(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(p),e.consume(p),c):a(p)}function c(p){if(Lt(p)&&o.length<5)return o+=String.fromCodePoint(p),e.consume(p),c;if(p===58){const y=o.toLowerCase();if(y==="http"||y==="https")return e.consume(p),f}return a(p)}function f(p){return p===47?(e.consume(p),x?h:(x=!0,f)):a(p)}function h(p){return p===null||jo(p)||rt(p)||g0(p)||$o(p)?a(p):e.attempt(Am,e.attempt(bm,E),a)(p)}function E(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),r(p)}}function pN(e,r,a){let i=0;return o;function o(u){return(u===87||u===119)&&i<3?(i++,e.consume(u),o):u===46&&i===3?(e.consume(u),x):a(u)}function x(u){return u===null?a(u):r(u)}}function mN(e,r,a){let i,o,x;return u;function u(h){return h===46||h===95?e.check(vm,f,c)(h):h===null||rt(h)||g0(h)||h!==45&&$o(h)?f(h):(x=!0,e.consume(h),u)}function c(h){return h===95?i=!0:(o=i,i=void 0),e.consume(h),u}function f(h){return o||i||!x?a(h):r(h)}}function EN(e,r){let a=0,i=0;return o;function o(u){return u===40?(a++,e.consume(u),o):u===41&&i<a?x(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(vm,r,x)(u):u===null||rt(u)||g0(u)?r(u):(e.consume(u),o)}function x(u){return u===41&&i++,e.consume(u),o}}function gN(e,r,a){return i;function i(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),i):c===38?(e.consume(c),x):c===93?(e.consume(c),o):c===60||c===null||rt(c)||g0(c)?r(c):a(c)}function o(c){return c===null||c===40||c===91||rt(c)||g0(c)?r(c):i(c)}function x(c){return Lt(c)?u(c):a(c)}function u(c){return c===59?(e.consume(c),i):Lt(c)?(e.consume(c),u):a(c)}}function CN(e,r,a){return i;function i(x){return e.consume(x),o}function o(x){return _t(x)?a(x):r(x)}}function Fm(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||rt(e)}function wm(e){return!Lt(e)}function Sm(e){return!(e===47||cc(e))}function cc(e){return e===43||e===45||e===46||e===95||_t(e)}function ef(e){let r=e.length,a=!1;for(;r--;){const i=e[r][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){a=!0;break}if(i._gfmAutolinkLiteralWalkedInto){a=!1;break}}return e.length>0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const yN={tokenize:wN,partial:!0};function BN(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:DN,continuation:{tokenize:kN},exit:FN}},text:{91:{name:"gfmFootnoteCall",tokenize:vN},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:AN,resolveTo:bN}}}}function AN(e,r,a){const i=this;let o=i.events.length;const x=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let u;for(;o--;){const f=i.events[o][1];if(f.type==="labelImage"){u=f;break}if(f.type==="gfmFootnoteCall"||f.type==="labelLink"||f.type==="label"||f.type==="image"||f.type==="link")break}return c;function c(f){if(!u||!u._balanced)return a(f);const h=jn(i.sliceSerialize({start:u.end,end:i.now()}));return h.codePointAt(0)!==94||!x.includes(h.slice(1))?a(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),r(f))}}function bN(e,r){let a=e.length;for(;a--;)if(e[a][1].type==="labelImage"&&e[a][0]==="enter"){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const x={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},x.start),end:Object.assign({},x.end)},c=[e[a+1],e[a+2],["enter",i,r],e[a+3],e[a+4],["enter",o,r],["exit",o,r],["enter",x,r],["enter",u,r],["exit",u,r],["exit",x,r],e[e.length-2],e[e.length-1],["exit",i,r]];return e.splice(a,e.length-a+1,...c),e}function vN(e,r,a){const i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let x=0,u;return c;function c(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),f}function f(p){return p!==94?a(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(p){if(x>999||p===93&&!u||p===null||p===91||rt(p))return a(p);if(p===93){e.exit("chunkString");const y=e.exit("gfmFootnoteCallString");return o.includes(jn(i.sliceSerialize(y)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),r):a(p)}return rt(p)||(u=!0),x++,e.consume(p),p===92?E:h}function E(p){return p===91||p===92||p===93?(e.consume(p),x++,h):h(p)}}function DN(e,r,a){const i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let x,u=0,c;return f;function f(A){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(A){return A===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",E):a(A)}function E(A){if(u>999||A===93&&!c||A===null||A===91||rt(A))return a(A);if(A===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return x=jn(i.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),y}return rt(A)||(c=!0),u++,e.consume(A),A===92?p:E}function p(A){return A===91||A===92||A===93?(e.consume(A),u++,E):E(A)}function y(A){return A===58?(e.enter("definitionMarker"),e.consume(A),e.exit("definitionMarker"),o.includes(x)||o.push(x),He(e,C,"gfmFootnoteDefinitionWhitespace")):a(A)}function C(A){return r(A)}}function kN(e,r,a){return e.check(Il,r,e.attempt(yN,r,a))}function FN(e){e.exit("gfmFootnoteDefinition")}function wN(e,r,a){const i=this;return He(e,o,"gfmFootnoteDefinitionIndent",5);function o(x){const u=i.events[i.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?r(x):a(x)}}function SN(e){let a=(e||{}).singleTilde;const i={name:"strikethrough",tokenize:x,resolveAll:o};return a==null&&(a=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function o(u,c){let f=-1;for(;++f<u.length;)if(u[f][0]==="enter"&&u[f][1].type==="strikethroughSequenceTemporary"&&u[f][1]._close){let h=f;for(;h--;)if(u[h][0]==="exit"&&u[h][1].type==="strikethroughSequenceTemporary"&&u[h][1]._open&&u[f][1].end.offset-u[f][1].start.offset===u[h][1].end.offset-u[h][1].start.offset){u[f][1].type="strikethroughSequence",u[h][1].type="strikethroughSequence";const E={type:"strikethrough",start:Object.assign({},u[h][1].start),end:Object.assign({},u[f][1].end)},p={type:"strikethroughText",start:Object.assign({},u[h][1].end),end:Object.assign({},u[f][1].start)},y=[["enter",E,c],["enter",u[h][1],c],["exit",u[h][1],c],["enter",p,c]],C=c.parser.constructs.insideSpan.null;C&&fn(y,y.length,0,Vo(C,u.slice(h+1,f),c)),fn(y,y.length,0,[["exit",p,c],["enter",u[f][1],c],["exit",u[f][1],c],["exit",E,c]]),fn(u,h-1,f-h+3,y),f=h+y.length-2;break}}for(f=-1;++f<u.length;)u[f][1].type==="strikethroughSequenceTemporary"&&(u[f][1].type="data");return u}function x(u,c,f){const h=this.previous,E=this.events;let p=0;return y;function y(A){return h===126&&E[E.length-1][1].type!=="characterEscape"?f(A):(u.enter("strikethroughSequenceTemporary"),C(A))}function C(A){const b=fa(h);if(A===126)return p>1?f(A):(u.consume(A),p++,C);if(p<2&&!a)return f(A);const v=u.exit("strikethroughSequenceTemporary"),k=fa(A);return v._open=!k||k===2&&!!b,v._close=!b||b===2&&!!k,c(A)}}}class MN{constructor(){this.map=[]}add(r,a,i){NN(this,r,a,i)}consume(r){if(this.map.sort(function(x,u){return x[0]-u[0]}),this.map.length===0)return;let a=this.map.length;const i=[];for(;a>0;)a-=1,i.push(r.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),r.length=this.map[a][0];i.push(r.slice()),r.length=0;let o=i.pop();for(;o;){for(const x of o)r.push(x);o=i.pop()}this.map.length=0}}function NN(e,r,a,i){let o=0;if(!(a===0&&i.length===0)){for(;o<e.map.length;){if(e.map[o][0]===r){e.map[o][1]+=a,e.map[o][2].push(...i);return}o+=1}e.map.push([r,a,i])}}function TN(e,r){let a=!1;const i=[];for(;r<e.length;){const o=e[r];if(a){if(o[0]==="enter")o[1].type==="tableContent"&&i.push(e[r+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(e[r-1][1].type==="tableDelimiterMarker"){const x=i.length-1;i[x]=i[x]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(a=!0);r+=1}return i}function _N(){return{flow:{null:{name:"table",tokenize:jN,resolveAll:zN}}}}function jN(e,r,a){const i=this;let o=0,x=0,u;return c;function c(N){let G=i.events.length-1;for(;G>-1;){const te=i.events[G][1].type;if(te==="lineEnding"||te==="linePrefix")G--;else break}const K=G>-1?i.events[G][1].type:null,se=K==="tableHead"||K==="tableRow"?F:f;return se===F&&i.parser.lazy[i.now().line]?a(N):se(N)}function f(N){return e.enter("tableHead"),e.enter("tableRow"),h(N)}function h(N){return N===124||(u=!0,x+=1),E(N)}function E(N){return N===null?a(N):Ae(N)?x>1?(x=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),C):a(N):Re(N)?He(e,E,"whitespace")(N):(x+=1,u&&(u=!1,o+=1),N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),u=!0,E):(e.enter("data"),p(N)))}function p(N){return N===null||N===124||rt(N)?(e.exit("data"),E(N)):(e.consume(N),N===92?y:p)}function y(N){return N===92||N===124?(e.consume(N),p):p(N)}function C(N){return i.interrupt=!1,i.parser.lazy[i.now().line]?a(N):(e.enter("tableDelimiterRow"),u=!1,Re(N)?He(e,A,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):A(N))}function A(N){return N===45||N===58?v(N):N===124?(u=!0,e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),b):O(N)}function b(N){return Re(N)?He(e,v,"whitespace")(N):v(N)}function v(N){return N===58?(x+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),k):N===45?(x+=1,k(N)):N===null||Ae(N)?j(N):O(N)}function k(N){return N===45?(e.enter("tableDelimiterFiller"),L(N)):O(N)}function L(N){return N===45?(e.consume(N),L):N===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(N))}function w(N){return Re(N)?He(e,j,"whitespace")(N):j(N)}function j(N){return N===124?A(N):N===null||Ae(N)?!u||o!==x?O(N):(e.exit("tableDelimiterRow"),e.exit("tableHead"),r(N)):O(N)}function O(N){return a(N)}function F(N){return e.enter("tableRow"),_(N)}function _(N){return N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),_):N===null||Ae(N)?(e.exit("tableRow"),r(N)):Re(N)?He(e,_,"whitespace")(N):(e.enter("data"),z(N))}function z(N){return N===null||N===124||rt(N)?(e.exit("data"),_(N)):(e.consume(N),N===92?$:z)}function $(N){return N===92||N===124?(e.consume(N),z):z(N)}}function zN(e,r){let a=-1,i=!0,o=0,x=[0,0,0,0],u=[0,0,0,0],c=!1,f=0,h,E,p;const y=new MN;for(;++a<e.length;){const C=e[a],A=C[1];C[0]==="enter"?A.type==="tableHead"?(c=!1,f!==0&&(U8(y,r,f,h,E),E=void 0,f=0),h={type:"table",start:Object.assign({},A.start),end:Object.assign({},A.end)},y.add(a,0,[["enter",h,r]])):A.type==="tableRow"||A.type==="tableDelimiterRow"?(i=!0,p=void 0,x=[0,0,0,0],u=[0,a+1,0,0],c&&(c=!1,E={type:"tableBody",start:Object.assign({},A.start),end:Object.assign({},A.end)},y.add(a,0,[["enter",E,r]])),o=A.type==="tableDelimiterRow"?2:E?3:1):o&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")?(i=!1,u[2]===0&&(x[1]!==0&&(u[0]=u[1],p=mo(y,r,x,o,void 0,p),x=[0,0,0,0]),u[2]=a)):A.type==="tableCellDivider"&&(i?i=!1:(x[1]!==0&&(u[0]=u[1],p=mo(y,r,x,o,void 0,p)),x=u,u=[x[1],a,0,0])):A.type==="tableHead"?(c=!0,f=a):A.type==="tableRow"||A.type==="tableDelimiterRow"?(f=a,x[1]!==0?(u[0]=u[1],p=mo(y,r,x,o,a,p)):u[1]!==0&&(p=mo(y,r,u,o,a,p)),o=0):o&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")&&(u[3]=a)}for(f!==0&&U8(y,r,f,h,E),y.consume(r.events),a=-1;++a<r.events.length;){const C=r.events[a];C[0]==="enter"&&C[1].type==="table"&&(C[1]._align=TN(r.events,a))}return e}function mo(e,r,a,i,o,x){const u=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",c="tableContent";a[0]!==0&&(x.end=Object.assign({},ua(r.events,a[0])),e.add(a[0],0,[["exit",x,r]]));const f=ua(r.events,a[1]);if(x={type:u,start:Object.assign({},f),end:Object.assign({},f)},e.add(a[1],0,[["enter",x,r]]),a[2]!==0){const h=ua(r.events,a[2]),E=ua(r.events,a[3]),p={type:c,start:Object.assign({},h),end:Object.assign({},E)};if(e.add(a[2],0,[["enter",p,r]]),i!==2){const y=r.events[a[2]],C=r.events[a[3]];if(y[1].end=Object.assign({},C[1].end),y[1].type="chunkText",y[1].contentType="text",a[3]>a[2]+1){const A=a[2]+1,b=a[3]-a[2]-1;e.add(A,b,[])}}e.add(a[3]+1,0,[["exit",p,r]])}return o!==void 0&&(x.end=Object.assign({},ua(r.events,o)),e.add(o,0,[["exit",x,r]]),x=void 0),x}function U8(e,r,a,i,o){const x=[],u=ua(r.events,a);o&&(o.end=Object.assign({},u),x.push(["exit",o,r])),i.end=Object.assign({},u),x.push(["exit",i,r]),e.add(a+1,0,x)}function ua(e,r){const a=e[r],i=a[0]==="enter"?"start":"end";return a[1][i]}const RN={name:"tasklistCheck",tokenize:LN};function ON(){return{text:{91:RN}}}function LN(e,r,a){const i=this;return o;function o(f){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?a(f):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),x)}function x(f){return rt(f)?(e.enter("taskListCheckValueUnchecked"),e.consume(f),e.exit("taskListCheckValueUnchecked"),u):f===88||f===120?(e.enter("taskListCheckValueChecked"),e.consume(f),e.exit("taskListCheckValueChecked"),u):a(f)}function u(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):a(f)}function c(f){return Ae(f)?r(f):Re(f)?e.check({tokenize:PN},r,a)(f):a(f)}}function PN(e,r,a){return He(e,i,"whitespace");function i(o){return o===null?a(o):r(o)}}function UN(e){return Lp([cN(),BN(),SN(e),_N(),ON()])}const HN={};function qN(e){const r=this,a=e||HN,i=r.data(),o=i.micromarkExtensions||(i.micromarkExtensions=[]),x=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),u=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);o.push(UN(a)),x.push(oN()),u.push(sN(a))}const IN=[qN,LS],$N="/tmp/",Mm="conductor-attachment.invalid";function VN(e){const r=Pb(e);if(!r.length)return e;let a="",i=0;for(const o of r){const x=o.name.replace(/[\\`*_[\]<>]/g,"\\$&");a+=`${e.slice(i,o.start)}[${x}](https://${Mm}/?path=${encodeURIComponent(o.path)})`,i=o.end}return a+e.slice(i)}function GN(e){if(!e)return null;try{const r=new URL(e);return r.hostname===Mm?r.searchParams.get("path"):null}catch{return null}}function QN({src:e,alt:r,...a}){const i=typeof e=="string"&&e.startsWith($N)?e:null,[o,x]=M.useState(null);return M.useEffect(()=>{if(!i)return;let u=!1;return Oe.localImage(i).then(c=>{u||x(c)}),()=>{u=!0}},[i]),i?o?g.jsx("img",{src:o,alt:r??"",...a}):null:g.jsx("img",{src:e,alt:r??"",...a})}function YN(e){return e?.startsWith("/")&&/:[1-9]\d*(?::\d+)?$/.test(e)?e:null}function XN({href:e,children:r,onClick:a,...i}){const o=GN(e),x=YN(e),[u,c]=M.useState(!1);return o?g.jsxs("span",{title:o,className:"inline-flex max-w-full items-center gap-1 rounded-md bg-surface-2 px-1.5 py-0.5 align-baseline text-[0.9em] font-medium text-muted",children:[g.jsx(Io,{size:12,className:"shrink-0"}),g.jsx("span",{className:"truncate",children:r})]}):g.jsxs(g.Fragment,{children:[g.jsx("a",{href:e,...i,onClick:f=>{a?.(f),!(!x||f.defaultPrevented||f.button!==0||f.metaKey||f.ctrlKey||f.shiftKey||f.altKey)&&(f.preventDefault(),c(!0))},children:r}),x&&u?g.jsx(KN,{reference:x,onClose:()=>c(!1)}):null]})}function KN({reference:e,onClose:r}){const[a,i]=M.useState(null),[o,x]=M.useState(null),u=M.useRef(null);return M.useEffect(()=>{let c=!1;return i(null),x(null),Oe.filePreview(e).then(f=>{c||i(f)},f=>{c||x(f instanceof Error?f.message:"Could not read source file")}),()=>{c=!0}},[e]),M.useEffect(()=>{a?.line&&u.current?.scrollIntoView({block:"center"})},[a?.line]),M.useEffect(()=>{const c=f=>{f.key==="Escape"&&r()};return window.addEventListener("keydown",c),()=>window.removeEventListener("keydown",c)},[r]),Hl.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-[60] bg-black/60",onClick:r,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Source file",className:"fade-in pt-safe pb-safe fixed inset-0 z-[60] mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[g.jsxs("header",{className:"flex items-center gap-3 border-b border-border-soft px-4 py-3",children:[g.jsxs("div",{className:"min-w-0 flex-1",children:[g.jsx("h2",{className:"text-base font-semibold",children:"Source"}),g.jsx("p",{className:"truncate font-mono text-xs text-muted",children:a?.path??e})]}),g.jsx("button",{type:"button",onClick:r,"aria-label":"Close source preview",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx($n,{size:18})})]}),g.jsxs("div",{className:"min-h-0 flex-1 overflow-auto",children:[!a&&!o?g.jsx(B0,{label:"Reading source…"}):null,o?g.jsx("p",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:o}):null,a?g.jsx(ZN,{preview:a,lineRef:u}):null]})]})]}),document.body)}function ZN({preview:e,lineRef:r}){const a=e.content.split(`
|
|
41
41
|
`);return g.jsxs(g.Fragment,{children:[g.jsx("pre",{className:"min-w-max p-3 font-mono text-[11.5px] leading-[1.5] text-muted",children:a.map((i,o)=>{const x=e.lineStart+o,u=x===e.line;return g.jsxs("div",{ref:u?r:void 0,className:Be("grid grid-cols-[auto_1fr] gap-3 whitespace-pre",u&&"rounded bg-accent-soft text-text"),children:[g.jsx("span",{className:"select-none text-right text-faint",children:x}),g.jsx("code",{children:i||" "})]},x)})}),e.truncated?g.jsxs("p",{className:"border-t border-border-soft px-4 py-2 text-xs text-faint",children:["Showing lines ",e.lineStart,"–",e.lineEnd," of ",e.totalLines,"."]}):null]})}const JN={a:XN,img:QN},ca=M.memo(function({children:r}){return g.jsx("div",{className:"md",children:g.jsx(FS,{remarkPlugins:IN,components:JN,children:VN(r)})})}),WN=2500,Nm=12,eT=2,tT=Nm+8,nT=2,rT=1.1,aT=200,lT=420,iT=.6,Tm=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,Uu=(e,r,a)=>Math.min(a,Math.max(r,e)),oT=e=>e.scrollHeight-e.clientHeight-e.scrollTop<=nT?e.scrollTop+e.clientHeight:e.scrollTop+tT,sT=(e,r)=>e.length===r.length&&e.every((a,i)=>a.top===r[i].top&&a.preview===r[i].preview);function xT(e,r,a){const i=Uu(r,0,e.scrollHeight-e.clientHeight);if(Tm())return e.scrollTop=i,a(),()=>{};const o=e.clientHeight*rT;Math.abs(i-e.scrollTop)>o&&(e.scrollTop=Uu(i+Math.sign(e.scrollTop-i)*o,0,e.scrollHeight-e.clientHeight));const x=e.scrollTop,u=i-x;if(!u)return a(),()=>{};const c=Uu(Math.abs(u)*iT,aT,lT),f=performance.now();let h=0,E=!1;const p=()=>{E||(E=!0,cancelAnimationFrame(h),e.removeEventListener("touchstart",p),e.removeEventListener("wheel",p))};e.addEventListener("touchstart",p,{passive:!0}),e.addEventListener("wheel",p,{passive:!0});const y=C=>{const A=Math.min(1,(C-f)/c);if(e.scrollTop=x+u*(1-(1-A)**5),A<1){h=requestAnimationFrame(y);return}p(),a()};return h=requestAnimationFrame(y),p}function uT({scroller:e}){const[r,a]=M.useState([]),[i,o]=M.useState(0),[x,u]=M.useState(!1),[c,f]=M.useState(!1),h=M.useRef([]),E=M.useRef(!1),p=M.useRef(!1),y=M.useRef(0),C=M.useRef(0),A=M.useRef(()=>{}),b=M.useCallback(()=>{E.current=!0,u(!0),clearTimeout(y.current),y.current=window.setTimeout(()=>{p.current||(E.current=!1,u(!1))},WN)},[]),v=M.useCallback(()=>{const z=e.current;if(!z)return;const $=z.getBoundingClientRect().top-z.scrollTop,N=Array.from(z.querySelectorAll("[data-user-msg]"),G=>({top:G.getBoundingClientRect().top-$,preview:G.dataset.userMsg??"",ts:G.dataset.msgTs??null,state:G.dataset.msgState??null,node:G}));h.current=sT(h.current,N)?h.current:N,a(h.current),o(oT(z))},[e]),k=M.useCallback(()=>{C.current||(C.current=requestAnimationFrame(()=>{C.current=0,v()}))},[v]);M.useEffect(()=>{const z=e.current;if(!z)return;const $=()=>{b(),k()},N=()=>{E.current&&(b(),k())};z.addEventListener("touchmove",$,{passive:!0}),z.addEventListener("wheel",$,{passive:!0}),z.addEventListener("scroll",N,{passive:!0});const G=()=>{E.current&&k()},K=new ResizeObserver(G);K.observe(z);const se=new MutationObserver(G);return se.observe(z,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["open"]}),()=>{z.removeEventListener("touchmove",$),z.removeEventListener("wheel",$),z.removeEventListener("scroll",N),K.disconnect(),se.disconnect(),A.current(),C.current&&cancelAnimationFrame(C.current),clearTimeout(y.current)}},[e,b,k]);const L=z=>{const $=e.current,N=h.current[z];$&&N&&(A.current(),A.current=xT($,N.top-Nm,()=>{Tm()||N.node.firstElementChild?.animate([{boxShadow:"0 0 0 2px var(--color-accent)"},{boxShadow:"0 0 0 2px transparent"}],{duration:700,easing:"ease-out"})}),b())},w=M.useCallback(()=>{p.current=!1,f(!1),b()},[b]);if(r.length<eT)return null;let j=-1;for(let z=0;z<r.length;z++)r[z].top<=i&&(j=z);const O=j>0?j-1:null,F=j+1<r.length?j+1:null,_=x||c;return g.jsxs(g.Fragment,{children:[g.jsx("div",{className:Be("pointer-events-none absolute inset-x-0 bottom-0 z-20 flex justify-center pb-3 transition duration-200 ease-out motion-reduce:transition-none",_?"translate-y-0 opacity-100":"translate-y-3 opacity-0"),children:g.jsxs("nav",{"aria-label":"Jump to your messages",onFocus:b,className:Be("flex h-12 items-stretch overflow-hidden rounded-full border border-border bg-surface-2 shadow-lg shadow-black/60",_?"pointer-events-auto":"pointer-events-none"),children:[g.jsx(H8,{dir:"up",onClick:()=>O!==null&&L(O),disabled:O===null}),g.jsxs("button",{type:"button",onClick:()=>{v(),p.current=!0,f(!0),b()},"aria-haspopup":"dialog","aria-expanded":c,"aria-label":`Your messages — ${r.length} in this chat`,className:"flex items-center gap-1.5 border-border-soft border-x px-3.5 text-muted transition active:bg-surface active:text-text focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:[g.jsx(cy,{size:16,className:"shrink-0"}),g.jsxs("span",{className:"font-mono text-[13px] tabular-nums",children:[g.jsx("span",{className:"text-text",children:j+1||"–"}),g.jsxs("span",{className:"text-muted",children:["/",r.length]})]})]}),g.jsx(H8,{dir:"down",onClick:()=>F!==null&&L(F),disabled:F===null})]})}),c?g.jsx(fT,{marks:r,current:j,onPick:z=>{w(),L(z)},onClose:w}):null]})}function cT({mark:e}){if(e.state==="failed")return g.jsx("span",{className:"shrink-0 text-[11px] text-del",children:"didn’t send"});const r=e.state==="sending"?"sending…":e.state==="queued"?"queued":e.ts&&Rc(e.ts);return r?g.jsx("span",{className:"shrink-0 text-[11px] text-muted tabular-nums",children:r}):null}function H8({dir:e,onClick:r,disabled:a}){const i=e==="up"?og:ma;return g.jsx("button",{type:"button",onClick:r,disabled:a,"aria-label":e==="up"?"Jump to your previous message":"Jump to your next message",className:"flex w-12 items-center justify-center text-muted transition active:bg-surface active:text-text disabled:text-faint/40 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:g.jsx(i,{size:19})})}function fT({marks:e,current:r,onPick:a,onClose:i}){const o=M.useRef(null),x=M.useRef(null);return M.useEffect(()=>{o.current?.focus({preventScroll:!0}),x.current?.scrollIntoView({block:"center"})},[]),g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:i,"aria-hidden":!0}),g.jsxs("div",{ref:o,role:"dialog","aria-modal":"true","aria-label":"Your messages",tabIndex:-1,onKeyDown:u=>u.key==="Escape"&&i(),className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[70%] max-w-md flex-col rounded-t-3xl border border-border-soft bg-surface shadow-xl outline-none md:mb-6 md:rounded-3xl",children:[g.jsxs("header",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-2.5",children:[g.jsx("h2",{className:"flex-1 text-[15px] font-semibold",children:"Your messages"}),g.jsx("span",{className:"font-mono text-[12px] text-faint tabular-nums",children:e.length}),g.jsx("button",{type:"button",onClick:i,"aria-label":"Close",className:"-mr-2 flex size-11 items-center justify-center rounded-full text-muted transition active:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:g.jsx($n,{size:19})})]}),g.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain py-1",children:e.map((u,c)=>g.jsxs("button",{ref:c===r?x:void 0,type:"button",onClick:()=>a(c),"aria-current":c===r?"true":void 0,className:Be("flex min-h-14 w-full items-center gap-3 px-4 py-2.5 text-left transition active:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",c===r&&"bg-surface-2/60"),children:[g.jsx("span",{className:Be("w-5 shrink-0 text-right font-mono text-[11px] tabular-nums",c===r?"text-accent":"text-muted"),children:c+1}),g.jsx("span",{className:"line-clamp-2 min-w-0 flex-1 text-[13.5px] leading-snug text-text [overflow-wrap:anywhere]",children:u.preview||"Empty message"}),g.jsx(cT,{mark:u})]},u.top))})]})]})}function _m({sessionId:e,workspaceId:r,working:a,workingSince:i,queued:o,poll:x,onFork:u}){const{entries:c,loading:f,error:h}=nv(e,x??!0),E=De(N=>N.pending),p=De(N=>N.removePending),y=ap(),C=Gr(),A=M.useRef(null),b=M.useRef(!0),v=M.useMemo(()=>hT(c),[c]),k=M.useMemo(()=>{for(let N=c.length-1;N>=0;N--){const G=c[N];if(!(G.role==="tool"||G.role==="thinking"))return G.role==="assistant"?kl(G):null}return null},[c]),L=async N=>{await(N.sessionId?Oe.dismissParked(N.sessionId):Oe.dismissPrompt(N.workspaceId)).catch(()=>{}),C.invalidateQueries({queryKey:["state"]})},w=new Set(c.filter(N=>N.role==="user").map(N=>N.text.trim())),j=E.filter(N=>N.sessionId===e),O=j.filter(N=>!(N.status==="sending"&&w.has(N.text.trim()))),F=o?.text.trim()||null,_=F&&!w.has(F)&&!j.some(N=>N.text.trim()===F)?o:null;M.useEffect(()=>{const N=new Set(c.filter(G=>G.role==="user").map(G=>G.text.trim()));for(const G of E)G.sessionId===e&&G.status==="sending"&&N.has(G.text.trim())&&p(G.id)},[c,E,e,p]);const z=()=>{const N=A.current;N&&(b.current=N.scrollHeight-N.scrollTop-N.clientHeight<120)};if(M.useLayoutEffect(()=>{const N=A.current;N&&b.current&&(N.scrollTop=N.scrollHeight)},[c,O.length,a]),M.useEffect(()=>{b.current=!0},[e]),M.useEffect(()=>{const N=A.current;if(!N)return;const G=new ResizeObserver(()=>{b.current&&(N.scrollTop=N.scrollHeight)});return G.observe(N),()=>G.disconnect()},[]),!e&&!_)return g.jsx(Pt,{children:"No active session in this workspace."});const $=c.length===0&&O.length===0&&!_;return g.jsxs("div",{className:"relative flex min-h-0 min-w-0 flex-1",children:[g.jsx("div",{ref:A,onScroll:z,className:"min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:f&&$?g.jsx(B0,{label:"Loading transcript…"}):h&&$?g.jsx(Pt,{children:h}):$&&!a?g.jsx(Pt,{children:"No messages yet."}):g.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[v.map(N=>N.kind==="steps"?g.jsx(pT,{entries:N.entries},N.key):g.jsx(jm,{e:N.e,showChatActions:N.key===k,onFork:N.key===k?u:void 0},N.key)),O.map(N=>g.jsx(gT,{p:N,onRetry:()=>y({id:N.id,sessionId:N.sessionId,workspaceId:N.workspaceId,text:N.text,queue:N.queue}),onDismiss:()=>p(N.id)},N.id)),_?g.jsx(mT,{queued:_,onRetry:e?()=>y({id:`queued:${_.sessionId??_.workspaceId}:${_.createdAt}`,sessionId:e,workspaceId:r,text:_.text}):void 0,onDismiss:()=>L(_)}):null,a?g.jsx(BT,{since:i}):null]})}),g.jsx(uT,{scroller:A})]})}const kl=e=>`${e.rowid}-${e.id}`,dT=(e,r)=>e.entries.length===r.entries.length&&e.entries.every((a,i)=>a===r.entries[i]);function hT(e){const r=[];let a=[];const i=()=>{if(a.length>1)r.push({kind:"steps",key:`steps-${kl(a[0])}`,entries:a});else for(const o of a)r.push({kind:"entry",key:kl(o),e:o});a=[]};for(const o of e){if(o.role==="tool"||o.role==="thinking"){a.push(o);continue}i(),r.push({kind:"entry",key:kl(o),e:o})}return i(),r}const pT=M.memo(function({entries:r}){const a=r.filter(x=>x.error).length,i=r[r.length-1],o=i.role==="thinking"?"Thinking":i.text;return g.jsxs("details",{className:"group/steps min-w-0 overflow-hidden rounded-xl border border-border-soft bg-surface/40",children:[g.jsxs("summary",{className:"flex cursor-pointer select-none list-none items-baseline gap-2 overflow-hidden whitespace-nowrap px-3 py-1.5 [&::-webkit-details-marker]:hidden",children:[g.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/steps:rotate-90",children:"▸"}),g.jsxs("span",{className:"shrink-0 text-[12.5px] text-muted",children:[r.length," steps"]}),g.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] text-faint group-open/steps:invisible",children:o}),a?g.jsxs("span",{className:"shrink-0 text-[11px] text-del",children:[a," failed"]}):null]}),g.jsx("div",{className:"flex min-w-0 flex-col gap-2.5 border-t border-border-soft px-2 py-2.5",children:r.map(x=>g.jsx(jm,{e:x},kl(x)))})]})},dT);function mT({queued:e,onRetry:r,onDismiss:a}){const i=e.status==="failed",o=!i&&e.sessionId?ET():null;return g.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":Mo(e.text),"data-msg-state":"queued",children:[g.jsx(zl,{className:Be("max-w-[85%] bg-accent-soft text-text opacity-60",i&&"border border-del/40"),children:g.jsx(ca,{children:e.text})}),i?g.jsxs("div",{className:"flex items-center gap-2 pr-1 text-[11px] text-del",children:[g.jsx(wc,{size:11,className:"shrink-0"}),g.jsx("span",{className:"max-w-[55vw] truncate",children:e.error||"Didn’t send"}),r?g.jsx("button",{type:"button",onClick:r,className:"font-semibold underline underline-offset-2",children:"Retry"}):null,g.jsx("button",{type:"button",onClick:a,className:"text-faint underline underline-offset-2",children:"Dismiss"})]}):g.jsxs("span",{className:"flex items-center gap-1 pr-1 text-[11px] text-faint",children:[g.jsx(Ea,{size:11,className:"animate-spin"}),e.reason??"The relay is sending this",o?g.jsx("a",{href:o,className:"ml-1 font-semibold text-accent underline underline-offset-2",children:"Unlock the Mac"}):null]})]})}function ET(){const e=location.hostname;return!e||e==="localhost"||e.startsWith("127.")?null:`vnc://${e}`}function gT({p:e,onRetry:r,onDismiss:a}){return e.status==="error"?g.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":Mo(e.text),"data-msg-state":"failed",children:[g.jsx(zl,{className:"max-w-[85%] border border-del/40 bg-accent-soft text-text",children:g.jsx(ca,{children:e.text})}),g.jsxs("div",{className:"flex items-center gap-2 pr-1 text-[11px] text-del",children:[g.jsx(wc,{size:11,className:"shrink-0"}),g.jsx("span",{className:"max-w-[55vw] truncate",children:e.error||"Didn’t send"}),g.jsx("button",{type:"button",onClick:r,className:"font-semibold underline underline-offset-2",children:"Retry"}),g.jsx("button",{type:"button",onClick:a,className:"text-faint underline underline-offset-2",children:"Dismiss"})]})]}):g.jsxs("div",{className:"flex flex-col items-end gap-1","data-user-msg":Mo(e.text),"data-msg-state":"sending",children:[g.jsx(zl,{className:"max-w-[85%] bg-accent-soft text-text opacity-60",children:g.jsx(ca,{children:e.text})}),g.jsxs("span",{className:"flex items-center gap-1 pr-1 text-[11px] text-faint",children:[g.jsx(Ea,{size:11,className:"animate-spin"}),"Sending…"]})]})}const jm=M.memo(function({e:r,showChatActions:a=!1,onFork:i}){return r.role==="user"?g.jsxs("div",{className:"flex flex-col items-end gap-0.5","data-user-msg":Mo(r.text),"data-msg-ts":r.ts,children:[g.jsxs(zl,{className:Be("max-w-[85%] bg-accent-soft text-text",r.queued&&"opacity-60"),children:[r.queued?g.jsx(AT,{children:"queued"}):null,g.jsx(ca,{children:r.text})]}),g.jsx("span",{className:"pr-1 text-[11px] text-faint",children:xD(r.ts)})]}):r.role==="tool"?r.error?g.jsx("div",{className:"overflow-hidden rounded-xl border border-del/30 bg-del/5 px-3 py-2",children:g.jsx("pre",{className:"line-clamp-4 whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed text-del/80 [overflow-wrap:anywhere]",children:r.text})}):g.jsxs("div",{className:"flex min-w-0 items-baseline gap-2 overflow-hidden whitespace-nowrap rounded-xl border border-border-soft bg-surface/60 px-3 py-1.5",children:[g.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint",children:"▸"}),g.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:r.text}),r.detail?g.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] text-faint",children:r.detail}):null]}):r.role==="thinking"?g.jsxs("details",{className:"group/think px-1",children:[g.jsxs("summary",{className:"cursor-pointer select-none list-none text-[11px] font-semibold uppercase tracking-wide text-faint [&::-webkit-details-marker]:hidden",children:[g.jsx("span",{className:"mr-1 inline-block transition-transform group-open/think:rotate-90",children:"▸"}),"Thinking"]}),g.jsx("div",{className:"mt-1 border-l-2 border-border-soft pl-3 text-[13px] italic leading-relaxed text-muted",children:g.jsx(ca,{children:r.text})})]}):r.role==="system"?g.jsx("div",{className:"px-2 text-center text-[11px] text-faint",children:r.text}):g.jsxs("div",{className:"flex flex-col items-start",children:[g.jsx(zl,{className:"max-w-[92%] px-0.5",children:g.jsx(ca,{children:r.text})}),a?g.jsx(CT,{text:r.text,onFork:i}):null]})});function CT({text:e,onFork:r}){const[a,i]=M.useState(!1),[o,x]=M.useState(!1),[u,c]=M.useState(!1),[f,h]=M.useState(null),E=async()=>{try{await yT(e),i(!0),window.setTimeout(()=>i(!1),1800)}catch{i(!1)}},p=async y=>{if(!(!r||u)){c(!0),h(null),x(!1);try{await r(y)}catch(C){h(C instanceof Error?C.message:"Could not fork this chat")}finally{c(!1)}}};return g.jsxs("div",{className:"mt-1.5 flex max-w-full flex-col items-start gap-1",children:[g.jsx("div",{className:"flex items-center gap-3",children:g.jsxs("div",{className:"relative",children:[g.jsxs("div",{className:"flex items-center overflow-hidden rounded-lg border border-border-soft bg-surface/70 text-muted",children:[g.jsx("button",{type:"button",onClick:()=>{E()},"aria-label":a?"Copied response":"Copy response",className:"flex size-7 items-center justify-center transition active:bg-surface-2",children:a?g.jsx(hr,{size:14,className:"text-accent"}):g.jsx(kc,{size:14})}),r?g.jsxs(g.Fragment,{children:[g.jsx("span",{className:"h-4 w-px bg-border-soft","aria-hidden":!0}),g.jsxs("button",{type:"button",onClick:()=>{p({thinking:!0,tools:!1})},disabled:u,"aria-label":"Fork chat with reasoning",className:"flex h-7 items-center gap-1 px-2 text-[11px] font-medium transition active:bg-surface-2 disabled:opacity-50",children:[u?g.jsx(Ea,{size:13,className:"animate-spin"}):g.jsx(vC,{size:13}),"Fork"]}),g.jsx("button",{type:"button",onClick:()=>x(y=>!y),disabled:u,"aria-label":"Choose fork transcript type","aria-haspopup":"menu","aria-expanded":o,className:"flex size-7 items-center justify-center border-l border-border-soft transition active:bg-surface-2 disabled:opacity-50",children:g.jsx(ma,{size:14,className:Be("transition-transform",o&&"rotate-180")})})]}):null]}),o?g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-20",onClick:()=>x(!1),"aria-hidden":!0}),g.jsxs("div",{role:"menu","aria-label":"Fork transcript type",className:"absolute bottom-full left-0 z-30 mb-1 w-60 overflow-hidden rounded-xl border border-border bg-surface py-1 shadow-xl",children:[g.jsx(Hu,{label:"Concise",detail:"Messages only",onClick:()=>{p({thinking:!1,tools:!1})}}),g.jsx(Hu,{label:"With reasoning",detail:"Messages and reasoning",onClick:()=>{p({thinking:!0,tools:!1})}}),g.jsx(Hu,{label:"Full transcript",detail:"Messages, reasoning, and tools",onClick:()=>{p({thinking:!0,tools:!0})}})]})]}):null]})}),f?g.jsx("span",{className:"max-w-[85vw] text-[11px] text-del",children:f}):null]})}function Hu({label:e,detail:r,onClick:a}){return g.jsxs("button",{type:"button",role:"menuitem",onClick:a,className:"flex w-full flex-col px-3 py-2 text-left active:bg-surface-2",children:[g.jsx("span",{className:"text-[12px] font-medium text-text",children:e}),g.jsx("span",{className:"text-[11px] text-faint",children:r})]})}async function yT(e){if(navigator.clipboard?.writeText)return navigator.clipboard.writeText(e);const r=document.createElement("textarea");r.value=e,r.setAttribute("readonly",""),r.style.cssText="position:fixed;opacity:0",document.body.append(r),r.select();const a=document.execCommand("copy");if(r.remove(),!a)throw new Error("Clipboard unavailable")}function BT({since:e}){const[r,a]=M.useState(()=>Date.now());return M.useEffect(()=>{if(!e)return;a(Date.now());const i=setInterval(()=>a(Date.now()),1e3);return()=>clearInterval(i)},[e]),g.jsxs("div",{className:"fade-in flex items-center justify-start gap-2",children:[g.jsxs("div",{className:"flex items-center gap-1 px-0.5 py-3",children:[g.jsx("span",{className:"typing-dot"}),g.jsx("span",{className:"typing-dot"}),g.jsx("span",{className:"typing-dot"})]}),e?g.jsx("span",{className:"text-[11px] tabular-nums text-faint",children:sD(r-e)}):null]})}function zl({children:e,className:r}){return g.jsx("div",{className:Be("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",r),children:e})}function AT({children:e}){return g.jsx("div",{className:"mb-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:e})}function bT({workspace:e}){const[r,a]=N2(),i=r.get("session"),{data:o,isLoading:x}=np(e.id,!1),u=o?.sessions??[],c=(i&&u.some(h=>h.id===i)?i:null)??u[0]?.id??null,f=[e.repo_name,e.branch].filter(Boolean).join(" · ");return g.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[g.jsx(_o,{title:In(e),subtitle:f,menu:!0,right:g.jsxs("span",{className:"flex shrink-0 items-center gap-1 rounded-md bg-surface-2 px-2 py-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:[g.jsx(Y7,{size:12}),"Archived"]})}),u.length>1?g.jsx("nav",{className:"flex shrink-0 items-center gap-1 overflow-x-auto border-b border-border-soft bg-bg px-3 py-2",children:u.map(h=>g.jsx("button",{type:"button",onClick:()=>a({session:h.id},{replace:!0}),className:Be("pill shrink-0",h.id===c&&"pill-active"),children:g.jsx("span",{className:"max-w-36 truncate",children:h.title||"Untitled"})},h.id))}):null,!x&&!c?g.jsx(Pt,{children:"This workspace was archived with no chat in it."}):g.jsx(_m,{sessionId:c,workspaceId:e.id,poll:!1}),g.jsx("div",{className:"pb-safe shrink-0 border-t border-border-soft px-4 py-3 text-center text-xs text-faint",children:"Read-only — unarchive it in Conductor to reply."})]})}const zm={low:"Low",medium:"Medium",high:"High",xhigh:"Extra high",max:"Max",ultracode:"Ultracode"},qu=Object.keys(zm),vT={};function Eo(e,r){return e===r?void 0:e}function DT(e){const r=zc(e.model);return r?r.includes(":")?r.split("/").pop()??r:r:"Model"}function kT({session:e,workspaceId:r}){const[a,i]=M.useState(!1),o=De(w=>w.agentDrafts[e.id])??vT,x=De(w=>w.stageAgent),u=De(w=>w.pending.some(j=>j.sessionId===e.id&&j.status==="sending")),{data:c,isFetching:f,isError:h}=tv(e,r,a),E=w=>x(e.id,w),p=e.claude_effort_level??void 0,y=e.permission_mode==="plan",C=!!e.fast_mode,A=o.effort??p,b=o.plan??y,v=o.fast??C,k=Object.keys(o).length>0,L=()=>qu[(qu.indexOf(A??"")+1)%qu.length];return g.jsxs("div",{className:"min-w-0 flex-1",children:[g.jsxs("div",{className:"flex flex-wrap items-center gap-0.5",children:[g.jsxs("div",{className:"relative",children:[g.jsxs("button",{type:"button",onClick:()=>i(w=>!w),className:Be("ctl flex max-w-40 items-center gap-1",o.model&&"ctl-staged"),children:[g.jsx("span",{className:"truncate",children:o.model??DT(e)}),g.jsx(ma,{size:13,className:"shrink-0"})]}),a?g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button","aria-label":"Close model picker",onClick:()=>i(!1),className:"fixed inset-0 z-30 cursor-default"}),g.jsxs("div",{className:"absolute bottom-full left-0 z-40 mb-2 max-h-64 w-56 overflow-y-auto rounded-xl border border-border bg-surface-2 py-1 shadow-xl shadow-black/40",children:[g.jsxs("div",{className:"flex items-center gap-1.5 px-3 py-1 text-[11px] text-faint",children:["Model",f?g.jsx(Fc,{size:10,className:"animate-spin"}):null]}),c?.length?c.map(w=>g.jsxs("button",{type:"button",onClick:()=>{i(!1),E({model:Eo(w,o.model)})},className:"flex w-full items-center gap-2 px-3 py-2 text-left text-sm active:bg-surface",children:[g.jsx("span",{className:"min-w-0 flex-1 truncate",children:w}),g.jsx(hr,{size:13,className:Be("shrink-0 text-accent",o.model!==w&&"invisible")})]},w)):g.jsx("div",{className:"px-3 py-2 text-sm text-muted",children:h?"Couldn’t read the model list.":"Reading Conductor’s model list…"}),h&&c?.length?g.jsx("div",{className:"px-3 py-1.5 text-[11px] text-del",children:"Couldn’t refresh — showing the last list."}):null]})]}):null]}),A?g.jsx("button",{type:"button",onClick:()=>E({effort:Eo(L(),p)}),className:Be("ctl",o.effort&&"ctl-staged"),children:zm[A]}):null,g.jsx("button",{type:"button",onClick:()=>E({plan:Eo(!b,y)}),className:Be("ctl",b&&"ctl-on",o.plan!==void 0&&"ctl-staged"),children:"Plan"}),g.jsxs("button",{type:"button",onClick:()=>E({fast:Eo(!v,C)}),className:Be("ctl flex items-center gap-1",v&&"ctl-on",o.fast!==void 0&&"ctl-staged"),children:[g.jsx(U2,{size:13}),"Fast"]})]}),k?g.jsx("div",{className:"px-2 pt-0.5 text-[11px] text-faint",children:u?"Applying…":"Applies when you send"}):null]})}function FT({session:e,sessionId:r,workspaceId:a,working:i,actuator:o}){const x=r??a,u=De(H=>H.drafts[x]??""),c=De(H=>H.setDraft),f=De(H=>H.moveDraft),h=De(H=>H.online),E=De(H=>H.clearWorking),p=ap(),y=Gr(),[C,A]=M.useState(!1),[b,v]=M.useState(null),k=M.useRef(null),L=M.useRef(null),w=M.useRef(new Set),j=M.useRef(0),[O,F]=M.useState([]),[_,z]=M.useState(!1),$=O.filter(H=>H.sessionId===r),N=$.filter(H=>H.status==="ready"),G=$.some(H=>H.status==="uploading");M.useEffect(()=>{r&&f(a,r)},[a,r,f]);const K=()=>{const H=k.current;H&&(H.style.height="auto",H.style.height=`${Math.min(H.scrollHeight,160)}px`)};M.useEffect(K,[u]);const se=(H=!1)=>{const Ce=[...N.map(ce=>ce.token),u.trim()].filter(Boolean).join(`
|
|
42
42
|
`);!Ce||G||!r||!h||(p({sessionId:r,workspaceId:a,text:Ce,queue:H}),c(x,""),F(ce=>ce.filter(Te=>Te.sessionId!==r)))},te=H=>{w.current.add(H),F(Ce=>Ce.filter(ce=>ce.id!==H))},I=async H=>{if(!(!r||!h))for(const Ce of Array.from(H)){const ce=crypto.randomUUID();F(Te=>[...Te,{id:ce,sessionId:r,name:Ce.name||"attachment",path:"",bytes:Ce.size,token:"",status:"uploading"}]);try{const Te=await Oe.uploadAttachment(r,a,Ce);if(w.current.delete(ce))continue;F(Ge=>Ge.map(Ke=>Ke.id===ce?{...Ke,...Te.attachment,status:"ready"}:Ke))}catch(Te){if(w.current.delete(ce))continue;F(Ge=>Ge.map(Ke=>Ke.id===ce?{...Ke,status:"error",error:Te instanceof Error?Te.message:"Upload failed"}:Ke))}}},U=H=>{H?.length&&I(H)},Y=H=>Array.from(H.dataTransfer.types).includes("Files"),re=H=>{Y(H)&&(H.preventDefault(),j.current+=1,z(!0))},he=H=>{Y(H)&&(j.current-=1,j.current<=0&&(j.current=0,z(!1)))},S=H=>{Y(H)&&(H.preventDefault(),H.dataTransfer.dropEffect="copy")},R=H=>{Y(H)&&(H.preventDefault(),j.current=0,z(!1),U(H.dataTransfer.files))},W=async()=>{if(!(!r||C||!h)){A(!0),v(null);try{const H=await Oe.stop(r,a);H.ok?(E(r),await y.invalidateQueries({queryKey:["sessions",a]}),y.invalidateQueries({queryKey:["state"]})):v(H.error||"Stop failed")}catch(H){v(H instanceof Error?H.message:"Stop failed")}finally{A(!1)}}},T=!r,ae=o?.precise&&o.available,de=i&&!!r,ue=(!!u.trim()||N.length>0)&&!G;return g.jsxs("div",{className:"pb-safe border-t border-border-soft bg-bg px-3 pt-2",children:[h?!ae&&g.jsxs("div",{className:"mb-1.5 flex items-center gap-1.5 px-1 text-[11px] text-faint",children:[g.jsx(XC,{size:12}),o?.caveat||"Sends to the focused session"]}):g.jsxs("div",{className:"mb-2 flex items-center gap-1.5 rounded-lg bg-del/10 px-3 py-1.5 text-xs text-del",children:[g.jsx(Sc,{size:12}),"Offline — drafts are saved, sending resumes when the relay is back"]}),b?g.jsx("button",{type:"button",onClick:()=>v(null),className:"mb-2 block w-full rounded-lg border border-del/40 bg-del/10 px-3 py-1.5 text-left text-xs text-del",children:b}):null,g.jsxs("fieldset",{"aria-label":"Message composer",onDragEnter:re,onDragLeave:he,onDragOver:S,onDrop:R,className:`m-0 min-w-0 rounded-2xl border border-border bg-surface p-2 has-[textarea:focus]:border-accent/60 ${_?"border-accent bg-accent-soft":""}`,children:[g.jsx("input",{ref:L,type:"file",multiple:!0,className:"hidden",onChange:H=>{U(H.target.files),H.target.value=""}}),$.length?g.jsx("div",{className:"flex flex-wrap gap-1 px-2 pb-1",children:$.map(H=>g.jsxs("div",{title:H.error??H.name,className:"flex max-w-full items-center gap-1 rounded-lg bg-surface-2 py-1 pl-2 pr-1 text-xs text-muted",children:[H.status==="uploading"?g.jsx(Ea,{size:12,className:"shrink-0 animate-spin"}):null,g.jsx("span",{className:"truncate",children:H.status==="error"?`${H.name}: ${H.error}`:H.name}),g.jsx("button",{type:"button",onClick:()=>te(H.id),"aria-label":`Remove ${H.name}`,className:"flex size-5 shrink-0 items-center justify-center rounded active:bg-surface",children:g.jsx($n,{size:13})})]},H.id))}):null,_?g.jsx("div",{className:"pointer-events-none absolute inset-1 z-10 flex items-center justify-center rounded-xl border border-dashed border-accent bg-accent-soft/90 text-sm font-medium text-accent",children:"Drop files to attach"}):null,g.jsx("textarea",{ref:k,rows:1,value:u,disabled:T,placeholder:T?"No active session":"Send a prompt…",className:"block max-h-40 w-full resize-none bg-transparent px-2 py-1 text-base outline-none placeholder:text-faint disabled:opacity-50",onChange:H=>c(x,H.target.value),onPaste:H=>{const Ce=H.clipboardData.files;Ce.length&&(H.preventDefault(),U(Ce))},onKeyDown:H=>{H.key==="Enter"&&!H.shiftKey&&!H.nativeEvent.isComposing&&(H.preventDefault(),se(H.metaKey||H.ctrlKey))}}),g.jsxs("div",{className:"mt-1 flex items-end gap-2",children:[g.jsx("button",{type:"button",onClick:()=>L.current?.click(),disabled:T||!h,"aria-label":"Attach files",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:scale-90 disabled:text-faint",children:g.jsx(Io,{size:18})}),e?g.jsx(kT,{session:e,workspaceId:a}):g.jsx("span",{className:"flex-1"}),de?g.jsx("button",{type:"button",onClick:W,disabled:C||!h,"aria-label":"Stop the agent",className:"flex size-9 shrink-0 items-center justify-center rounded-full border border-border text-text transition active:scale-90 disabled:text-faint",children:C?g.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-text"}):g.jsx(xA,{size:15,fill:"currentColor"})}):null,de&&!ue?null:g.jsx("button",{type:"button",onClick:()=>se(),disabled:T||!ue||!h,"aria-label":"Send",className:"flex size-9 shrink-0 items-center justify-center rounded-full bg-accent text-white transition active:scale-90 disabled:bg-surface-2 disabled:text-faint",children:g.jsx(J7,{size:19})})]})]})]})}function wT(e,r){if(e.pr_status==="merged")return"merged";if(r&&(r.dirty||r.unpushed))return"push";switch(e.pr_status){case"conflicts":return"resolve";case"mergeable":return"merge";case"draft":return"draft";default:return null}}const ST={push:{label:"Uncommitted changes",tone:"text-working",icon:g.jsx(pg,{size:14})},resolve:{label:"Merge conflicts",tone:"text-muted",icon:g.jsx(wc,{size:14})},merge:{label:"Ready to merge",tone:"text-add"},draft:{label:"Draft",tone:"text-muted"},merged:{label:"Merged",tone:"text-pr-merged",icon:g.jsx(j2,{size:14})}},MT={push:"Commit all outstanding changes with a clear message and push the branch to the remote.",resolve:"This branch has merge conflicts with its base branch. Merge the base branch in, resolve the conflicts, then commit and push."};function NT({ws:e,local:r}){const a=Gr(),[i,o]=M.useState(!1),[x,u]=M.useState(!1),[c,f]=M.useState(null);if(c?.ok&&e.pr_status!=="merged")return g.jsxs(q8,{children:[g.jsx(hr,{size:15,className:"shrink-0 text-add"}),g.jsx("span",{className:"truncate font-medium text-add",children:c.msg})]});const h=wT(e,r);if(!h)return null;const{label:E,tone:p,icon:y}=ST[h],C=async()=>{u(!0),f(null);try{const b=await Oe.merge(e.id);b.ok?(f({ok:!0,msg:`Merged${b.method?` (${b.method})`:""}`}),a.invalidateQueries({queryKey:["state"]}),a.invalidateQueries({queryKey:["diff",e.id]})):(f({ok:!1,msg:b.error||"Merge failed"}),o(!1))}catch(b){f({ok:!1,msg:b instanceof Error?b.message:String(b)}),o(!1)}finally{u(!1)}},A=async b=>{if(!e.active_session_id)return f({ok:!1,msg:"No active session to message"});u(!0),f(null);try{const v=await Oe.sendPrompt(e.active_session_id,MT[b],e.id);f(v.ok?{ok:!0,msg:"Asked the agent"}:{ok:!1,msg:v.error||"Send failed"})}catch(v){f({ok:!1,msg:v instanceof Error?v.message:String(v)})}finally{u(!1)}};return g.jsxs(q8,{tint:h==="merge"?"add":h==="merged"?"merged":void 0,children:[e.pr_number?g.jsxs("a",{href:e.pr_url??void 0,target:"_blank",rel:"noreferrer",className:Be("flex shrink-0 items-center gap-0.5 rounded-md px-1.5 py-0.5 font-mono text-[11px] active:bg-surface",h==="merged"?"bg-pr-merged/15 text-pr-merged":"bg-surface-2 text-muted"),children:["#",e.pr_number,g.jsx(K7,{size:12})]}):null,g.jsxs("span",{className:Be("flex items-center gap-1 truncate font-medium",p),children:[y,E]}),g.jsxs("div",{className:"ml-auto flex shrink-0 items-center gap-2",children:[c&&!c.ok?g.jsx("span",{className:"max-w-36 truncate text-[11px] text-del",children:c.msg}):null,h==="draft"||h==="merged"?null:h==="merge"?i?g.jsxs(g.Fragment,{children:[g.jsx(TT,{onClick:()=>o(!1)}),g.jsx(go,{onClick:C,busy:x,className:"bg-add text-black",children:"Confirm"})]}):g.jsxs(go,{onClick:()=>o(!0),className:"bg-add text-black",children:[g.jsx(j2,{size:13}),"Merge"]}):h==="push"?g.jsx(go,{onClick:()=>A("push"),busy:x,className:"bg-working text-black",children:"Commit & push"}):g.jsx(go,{onClick:()=>A("resolve"),busy:x,className:"border border-border bg-surface-2 text-text",children:"Resolve"})]})]})}function go({onClick:e,busy:r,className:a,children:i}){return g.jsxs("button",{type:"button",onClick:e,disabled:r,className:Be("flex items-center gap-1.5 rounded-lg px-2.5 py-1 text-xs font-semibold transition active:scale-95 disabled:opacity-60",a),children:[r?g.jsx(Ea,{size:13,className:"animate-spin"}):null,i]})}function TT({onClick:e}){return g.jsx("button",{type:"button",onClick:e,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Cancel"})}const _T={add:"bg-add/10",merged:"bg-pr-merged/10"};function q8({tint:e,children:r}){return g.jsx("div",{className:Be("sticky top-0 z-10 flex items-center gap-2 border-b border-border-soft px-3 py-2 backdrop-blur",e?_T[e]:"bg-surface/95"),children:r})}function jT({workspaceId:e}){const{data:r}=Nc(),a=r?.workspaces.find(x=>x.id===e),{data:i}=rp(e),o=i?{dirty:i.dirty,unpushed:i.unpushed}:void 0;return g.jsxs("div",{className:"pb-safe flex flex-1 flex-col overflow-y-auto",children:[a?g.jsx(NT,{ws:a,local:o}):null,g.jsx(zT,{workspaceId:e})]})}function zT({workspaceId:e}){const{data:r,isLoading:a,isError:i,error:o}=rp(e);return a&&!r?g.jsx(B0,{label:"Computing diff…"}):i?g.jsx(Pt,{children:o?.message}):r?r.files.length===0?g.jsxs(Pt,{children:["No changes vs ",g.jsx("span",{className:"font-mono",children:r.base}),"."]}):g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:"border-b border-border-soft px-3 py-2 text-xs text-muted",children:["vs ",g.jsx("span",{className:"font-mono text-faint",children:r.base})," · ",r.files.length," file",r.files.length===1?"":"s"]}),g.jsx("ul",{className:"flex flex-col gap-1 px-3 py-3",children:r.files.map(x=>g.jsxs("li",{className:"flex items-center gap-2 font-mono text-[12px]",children:[g.jsx("span",{className:"truncate text-muted",children:x.path}),g.jsxs("span",{className:"ml-auto shrink-0 text-add",children:["+",x.added]}),g.jsxs("span",{className:"shrink-0 text-del",children:["−",x.removed]})]},x.path))}),g.jsx(RT,{patch:r.patch,truncated:r.truncated})]}):g.jsx(Pt,{children:"No diff."})}function RT({patch:e,truncated:r}){const a=M.useMemo(()=>e.split(`
|
|
43
|
-
`),[e]);return g.jsxs("pre",{className:"overflow-x-auto border-t border-border-soft px-3 py-3 font-mono text-[11.5px] leading-[1.5]",children:[a.map((i,o)=>g.jsx("div",{className:Be("whitespace-pre",OT(i)),children:i||" "},o)),r?g.jsx("div",{className:"mt-2 text-faint",children:"… diff truncated …"}):null]})}function OT(e){return e.startsWith("+")&&!e.startsWith("+++")?"text-add":e.startsWith("-")&&!e.startsWith("---")?"text-del":e.startsWith("@@")?"text-accent":e.startsWith("diff ")||e.startsWith("index ")||e.startsWith("+++")||e.startsWith("---")?"text-faint":"text-muted"}function LT({workspace:e}){const[r,a]=M.useState(!1),[i,o]=M.useState(null),[x,u]=M.useState(null),c=De(C=>C.online),f=Gr(),h=Ap(e),E=async C=>{if(!i&&(a(!1),C!==h)){o(C),u(null);try{const A=await Oe.setStatus(e.id,C);A.ok||u(A.error??"status change failed"),await f.invalidateQueries({queryKey:["workspaces"]})}catch(A){u(A instanceof Error?A.message:"status change failed")}finally{o(null)}}},y=i??null??h;return g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button",onClick:()=>a(C=>!C),disabled:!c||i!==null,"aria-label":`Workspace status: ${ec(h)}`,"aria-expanded":r,className:Be("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",r&&"bg-surface-2 text-text"),children:i?g.jsx("span",{className:"dot-spinner size-4",style:{"--spin-color":PT(y)}}):g.jsx(I8,{status:y})}),r?g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button","aria-label":"Close status menu",className:"fixed inset-0 z-20 cursor-default",onClick:()=>a(!1)}),g.jsx("div",{className:"fade-in absolute right-2 top-full z-30 w-44 overflow-hidden rounded-xl border border-border bg-surface shadow-xl",children:aD.map(C=>g.jsxs("button",{type:"button",onClick:()=>E(C),className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[g.jsx(I8,{status:C}),g.jsx("span",{className:"flex-1",children:ec(C)}),C===h?g.jsx(hr,{size:15,className:"text-accent"}):null]},C))})]}):null,x?g.jsx("button",{type:"button",onClick:()=>u(null),className:"absolute right-2 top-full z-30 max-w-64 rounded-lg border border-del/40 bg-surface px-3 py-2 text-left text-xs text-del shadow-xl",children:x}):null]})}function PT(e){return jc[e]??"var(--color-faint)"}function I8({status:e}){const r=jc[e];return r?g.jsx("span",{className:"dot size-2.5",style:{background:r}}):g.jsx("span",{className:"dot size-2.5 border border-faint bg-transparent"})}function UT(){const{workspaceId:e}=_4(),[r,a]=N2(),i=r.get("session"),o=re=>a({session:re},{replace:!0}),[x,u]=M.useState(!1),[c,f]=M.useState(!1),h=Gr(),{data:E,isLoading:p}=Nc(),y=E?.workspaces.find(re=>re.id===e),C=!!E&&!y,{data:A}=np(e,!C),b=De(re=>re.workingHints),v=De(re=>re.readMarks),k=De(re=>re.markRead),L=De(re=>re.setDraft),w=y,j=E?.actuator,{data:O,isLoading:F}=Zb(e,C),_=A?.sessions??[],z=(i&&_.some(re=>re.id===i)?i:null)??w?.active_session_id??_[0]?.id??null,$=_.find(re=>re.id===z),N=$?.updated_at;if(M.useEffect(()=>{w&&z&&N&&document.visibilityState==="visible"&&k(z,N)},[w,z,N,k]),!w)return O?g.jsx(bT,{workspace:O.workspace}):g.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[g.jsx(_o,{title:"Session",menu:!0}),p||C&&F?g.jsx(B0,{}):g.jsx("div",{className:"p-6 text-center text-sm text-muted",children:"Workspace not found."})]});const G=z?b[z]:void 0,K=$?.status==="working"||G!==void 0&&Date.now()-G<15e3,se=$?.turn_started_at?Date.parse($.turn_started_at):null,te=($?.status==="working"?se??G:G??se)??null,I=[w.repo_name,w.branch,zc(w.model)].filter(Boolean).join(" · "),U=async()=>{if(!c){f(!0);try{const re=await Oe.newChat(w.id);re.ok&&(await h.invalidateQueries({queryKey:["sessions",w.id]}),re.sessionId&&o(re.sessionId))}finally{f(!1)}}},Y=async({thinking:re,tools:he})=>{if(!z)return;const S=await Oe.splitChat(z,w.id,re,he);if(!S.ok)throw new Error(S.error??"Could not fork this chat");if(!S.sessionId)throw new Error("The new chat opened, but its id was not available");L(S.sessionId,S.text),await h.invalidateQueries({queryKey:["sessions",w.id]}),o(S.sessionId)};return g.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[g.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[g.jsx(_o,{title:In(w),subtitle:I,menu:!0,right:g.jsxs(g.Fragment,{children:[g.jsx(LT,{workspace:w}),g.jsx("button",{type:"button",onClick:()=>u(re=>!re),"aria-label":"Toggle diff panel","aria-pressed":x,className:Be("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",x&&"bg-surface-2 text-text"),children:g.jsx(eC,{size:19})})]})}),_.length>0?g.jsx(HT,{sessions:_,activeId:z,readMarks:v,onSelect:o,onNewChat:U,creating:c}):null,g.jsx(_m,{sessionId:z,workspaceId:w.id,working:K,workingSince:te,queued:w.parked_prompts?.find(re=>re.sessionId===z)??w.pending_prompt,onFork:Y}),g.jsx(FT,{session:$,sessionId:z,workspaceId:w.id,working:K,actuator:j},w.id)]}),x?g.jsx(IT,{workspaceId:w.id,onClose:()=>u(!1)}):null]})}function HT({sessions:e,activeId:r,readMarks:a,onSelect:i,onNewChat:o,creating:x}){const u=M.useRef(null);return M.useLayoutEffect(()=>{r&&u.current?.scrollIntoView({block:"nearest",inline:"nearest"})},[r]),g.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[g.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:e.map(c=>g.jsxs("button",{type:"button",ref:c.id===r?u:void 0,onClick:()=>i(c.id),className:Be("pill flex shrink-0 items-center gap-1.5",c.id===r&&"pill-active"),children:[c.status==="working"?g.jsx("span",{className:"dot-spinner size-3"}):null,g.jsx("span",{className:"max-w-36 truncate",children:c.title||"Untitled"}),g.jsx(qT,{used:c.context_used_percent}),kb(c,a)?g.jsx("span",{className:"dot size-1.5 bg-accent"}):null]},c.id))}),g.jsx("button",{type:"button",onClick:o,disabled:x,"aria-label":"New chat, same files",className:"flex size-7 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",children:g.jsx(z2,{size:18})})]})}function qT({used:e}){return typeof e!="number"||e<=0?null:g.jsxs("span",{className:Be("shrink-0 text-[11px] tabular-nums",e>=80?"text-working":"text-faint"),children:[Math.round(e),"%"]})}function IT({workspaceId:e,onClose:r}){return g.jsxs("aside",{className:"fixed inset-0 z-40 flex flex-col bg-bg lg:static lg:z-auto lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[g.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[g.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Diff"}),g.jsx("button",{type:"button",onClick:r,"aria-label":"Close diff panel",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx($n,{size:20})})]}),g.jsx(jT,{workspaceId:e})]})}var bo={exports:{}},$T=bo.exports,$8;function VT(){return $8||($8=1,(function(e,r){(function(i,o){e.exports=o()})(typeof self<"u"?self:$T,function(){return(function(a){var i={};function o(x){if(i[x])return i[x].exports;var u=i[x]={i:x,l:!1,exports:{}};return a[x].call(u.exports,u,u.exports,o),u.l=!0,u.exports}return o.m=a,o.c=i,o.d=function(x,u,c){o.o(x,u)||Object.defineProperty(x,u,{configurable:!1,enumerable:!0,get:c})},o.n=function(x){var u=x&&x.__esModule?function(){return x.default}:function(){return x};return o.d(u,"a",u),u},o.o=function(x,u){return Object.prototype.hasOwnProperty.call(x,u)},o.p="",o(o.s=3)})([(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=(function(){function u(c,f){this.width=f,this.height=c.length/f,this.data=c}return u.createEmpty=function(c,f){return new u(new Uint8ClampedArray(c*f),c)},u.prototype.get=function(c,f){return c<0||c>=this.width||f<0||f>=this.height?!1:!!this.data[f*this.width+c]},u.prototype.set=function(c,f,h){this.data[f*this.width+c]=h?1:0},u.prototype.setRegion=function(c,f,h,E,p){for(var y=f;y<f+E;y++)for(var C=c;C<c+h;C++)this.set(C,y,!!p)},u})();i.BitMatrix=x}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(2);function u(f,h){return f^h}i.addOrSubtractGF=u;var c=(function(){function f(h,E,p){this.primitive=h,this.size=E,this.generatorBase=p,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var y=1,C=0;C<this.size;C++)this.expTable[C]=y,y=y*2,y>=this.size&&(y=(y^this.primitive)&this.size-1);for(var C=0;C<this.size-1;C++)this.logTable[this.expTable[C]]=C;this.zero=new x.default(this,Uint8ClampedArray.from([0])),this.one=new x.default(this,Uint8ClampedArray.from([1]))}return f.prototype.multiply=function(h,E){return h===0||E===0?0:this.expTable[(this.logTable[h]+this.logTable[E])%(this.size-1)]},f.prototype.inverse=function(h){if(h===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[h]-1]},f.prototype.buildMonomial=function(h,E){if(h<0)throw new Error("Invalid monomial degree less than 0");if(E===0)return this.zero;var p=new Uint8ClampedArray(h+1);return p[0]=E,new x.default(this,p)},f.prototype.log=function(h){if(h===0)throw new Error("Can't take log(0)");return this.logTable[h]},f.prototype.exp=function(h){return this.expTable[h]},f})();i.default=c}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(1),u=(function(){function c(f,h){if(h.length===0)throw new Error("No coefficients.");this.field=f;var E=h.length;if(E>1&&h[0]===0){for(var p=1;p<E&&h[p]===0;)p++;if(p===E)this.coefficients=f.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(E-p);for(var y=0;y<this.coefficients.length;y++)this.coefficients[y]=h[p+y]}}else this.coefficients=h}return c.prototype.degree=function(){return this.coefficients.length-1},c.prototype.isZero=function(){return this.coefficients[0]===0},c.prototype.getCoefficient=function(f){return this.coefficients[this.coefficients.length-1-f]},c.prototype.addOrSubtract=function(f){var h;if(this.isZero())return f;if(f.isZero())return this;var E=this.coefficients,p=f.coefficients;E.length>p.length&&(h=[p,E],E=h[0],p=h[1]);for(var y=new Uint8ClampedArray(p.length),C=p.length-E.length,A=0;A<C;A++)y[A]=p[A];for(var A=C;A<p.length;A++)y[A]=x.addOrSubtractGF(E[A-C],p[A]);return new c(this.field,y)},c.prototype.multiply=function(f){if(f===0)return this.field.zero;if(f===1)return this;for(var h=this.coefficients.length,E=new Uint8ClampedArray(h),p=0;p<h;p++)E[p]=this.field.multiply(this.coefficients[p],f);return new c(this.field,E)},c.prototype.multiplyPoly=function(f){if(this.isZero()||f.isZero())return this.field.zero;for(var h=this.coefficients,E=h.length,p=f.coefficients,y=p.length,C=new Uint8ClampedArray(E+y-1),A=0;A<E;A++)for(var b=h[A],v=0;v<y;v++)C[A+v]=x.addOrSubtractGF(C[A+v],this.field.multiply(b,p[v]));return new c(this.field,C)},c.prototype.multiplyByMonomial=function(f,h){if(f<0)throw new Error("Invalid degree less than 0");if(h===0)return this.field.zero;for(var E=this.coefficients.length,p=new Uint8ClampedArray(E+f),y=0;y<E;y++)p[y]=this.field.multiply(this.coefficients[y],h);return new c(this.field,p)},c.prototype.evaluateAt=function(f){var h=0;if(f===0)return this.getCoefficient(0);var E=this.coefficients.length;if(f===1)return this.coefficients.forEach(function(y){h=x.addOrSubtractGF(h,y)}),h;h=this.coefficients[0];for(var p=1;p<E;p++)h=x.addOrSubtractGF(this.field.multiply(f,h),this.coefficients[p]);return h},c})();i.default=u}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(4),u=o(5),c=o(11),f=o(12);function h(y){var C=f.locate(y);if(!C)return null;for(var A=0,b=C;A<b.length;A++){var v=b[A],k=c.extract(y,v),L=u.decode(k.matrix);if(L)return{binaryData:L.bytes,data:L.text,chunks:L.chunks,version:L.version,location:{topRightCorner:k.mappingFunction(v.dimension,0),topLeftCorner:k.mappingFunction(0,0),bottomRightCorner:k.mappingFunction(v.dimension,v.dimension),bottomLeftCorner:k.mappingFunction(0,v.dimension),topRightFinderPattern:v.topRight,topLeftFinderPattern:v.topLeft,bottomLeftFinderPattern:v.bottomLeft,bottomRightAlignmentPattern:v.alignmentPattern}}}return null}var E={inversionAttempts:"attemptBoth"};function p(y,C,A,b){b===void 0&&(b={});var v=E;Object.keys(v||{}).forEach(function(_){v[_]=b[_]||v[_]});var k=v.inversionAttempts==="attemptBoth"||v.inversionAttempts==="invertFirst",L=v.inversionAttempts==="onlyInvert"||v.inversionAttempts==="invertFirst",w=x.binarize(y,C,A,k),j=w.binarized,O=w.inverted,F=h(L?O:j);return!F&&(v.inversionAttempts==="attemptBoth"||v.inversionAttempts==="invertFirst")&&(F=h(L?j:O)),F}p.default=p,i.default=p}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(0),u=8,c=24;function f(p,y,C){return p<y?y:p>C?C:p}var h=(function(){function p(y,C){this.width=y,this.data=new Uint8ClampedArray(y*C)}return p.prototype.get=function(y,C){return this.data[C*this.width+y]},p.prototype.set=function(y,C,A){this.data[C*this.width+y]=A},p})();function E(p,y,C,A){if(p.length!==y*C*4)throw new Error("Malformed data passed to binarizer.");for(var b=new h(y,C),v=0;v<y;v++)for(var k=0;k<C;k++){var L=p[(k*y+v)*4+0],w=p[(k*y+v)*4+1],j=p[(k*y+v)*4+2];b.set(v,k,.2126*L+.7152*w+.0722*j)}for(var O=Math.ceil(y/u),F=Math.ceil(C/u),_=new h(O,F),z=0;z<F;z++)for(var $=0;$<O;$++){for(var N=0,G=1/0,K=0,k=0;k<u;k++)for(var v=0;v<u;v++){var se=b.get($*u+v,z*u+k);N+=se,G=Math.min(G,se),K=Math.max(K,se)}var te=N/Math.pow(u,2);if(K-G<=c&&(te=G/2,z>0&&$>0)){var I=(_.get($,z-1)+2*_.get($-1,z)+_.get($-1,z-1))/4;G<I&&(te=I)}_.set($,z,te)}var U=x.BitMatrix.createEmpty(y,C),Y=null;A&&(Y=x.BitMatrix.createEmpty(y,C));for(var z=0;z<F;z++)for(var $=0;$<O;$++){for(var re=f($,2,O-3),he=f(z,2,F-3),N=0,S=-2;S<=2;S++)for(var R=-2;R<=2;R++)N+=_.get(re+S,he+R);for(var W=N/25,S=0;S<u;S++)for(var R=0;R<u;R++){var v=$*u+S,k=z*u+R,T=b.get(v,k);U.set(v,k,T<=W),A&&Y.set(v,k,!(T<=W))}}return A?{binarized:U,inverted:Y}:{binarized:U}}i.binarize=E}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(0),u=o(6),c=o(9),f=o(10);function h(j,O){for(var F=j^O,_=0;F;)_++,F&=F-1;return _}function E(j,O){return O<<1|j}var p=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],y=[function(j){return(j.y+j.x)%2===0},function(j){return j.y%2===0},function(j){return j.x%3===0},function(j){return(j.y+j.x)%3===0},function(j){return(Math.floor(j.y/2)+Math.floor(j.x/3))%2===0},function(j){return j.x*j.y%2+j.x*j.y%3===0},function(j){return(j.y*j.x%2+j.y*j.x%3)%2===0},function(j){return((j.y+j.x)%2+j.y*j.x%3)%2===0}];function C(j){var O=17+4*j.versionNumber,F=x.BitMatrix.createEmpty(O,O);F.setRegion(0,0,9,9,!0),F.setRegion(O-8,0,8,9,!0),F.setRegion(0,O-8,9,8,!0);for(var _=0,z=j.alignmentPatternCenters;_<z.length;_++)for(var $=z[_],N=0,G=j.alignmentPatternCenters;N<G.length;N++){var K=G[N];$===6&&K===6||$===6&&K===O-7||$===O-7&&K===6||F.setRegion($-2,K-2,5,5,!0)}return F.setRegion(6,9,1,O-17,!0),F.setRegion(9,6,O-17,1,!0),j.versionNumber>6&&(F.setRegion(O-11,0,3,6,!0),F.setRegion(0,O-11,6,3,!0)),F}function A(j,O,F){for(var _=y[F.dataMask],z=j.height,$=C(O),N=[],G=0,K=0,se=!0,te=z-1;te>0;te-=2){te===6&&te--;for(var I=0;I<z;I++)for(var U=se?z-1-I:I,Y=0;Y<2;Y++){var re=te-Y;if(!$.get(re,U)){K++;var he=j.get(re,U);_({y:U,x:re})&&(he=!he),G=E(he,G),K===8&&(N.push(G),K=0,G=0)}}se=!se}return N}function b(j){var O=j.height,F=Math.floor((O-17)/4);if(F<=6)return f.VERSIONS[F-1];for(var _=0,z=5;z>=0;z--)for(var $=O-9;$>=O-11;$--)_=E(j.get($,z),_);for(var N=0,$=5;$>=0;$--)for(var z=O-9;z>=O-11;z--)N=E(j.get($,z),N);for(var G=1/0,K,se=0,te=f.VERSIONS;se<te.length;se++){var I=te[se];if(I.infoBits===_||I.infoBits===N)return I;var U=h(_,I.infoBits);U<G&&(K=I,G=U),U=h(N,I.infoBits),U<G&&(K=I,G=U)}if(G<=3)return K}function v(j){for(var O=0,F=0;F<=8;F++)F!==6&&(O=E(j.get(F,8),O));for(var _=7;_>=0;_--)_!==6&&(O=E(j.get(8,_),O));for(var z=j.height,$=0,_=z-1;_>=z-7;_--)$=E(j.get(8,_),$);for(var F=z-8;F<z;F++)$=E(j.get(F,8),$);for(var N=1/0,G=null,K=0,se=p;K<se.length;K++){var te=se[K],I=te.bits,U=te.formatInfo;if(I===O||I===$)return U;var Y=h(O,I);Y<N&&(G=U,N=Y),O!==$&&(Y=h($,I),Y<N&&(G=U,N=Y))}return N<=3?G:null}function k(j,O,F){var _=O.errorCorrectionLevels[F],z=[],$=0;if(_.ecBlocks.forEach(function(he){for(var S=0;S<he.numBlocks;S++)z.push({numDataCodewords:he.dataCodewordsPerBlock,codewords:[]}),$+=he.dataCodewordsPerBlock+_.ecCodewordsPerBlock}),j.length<$)return null;j=j.slice(0,$);for(var N=_.ecBlocks[0].dataCodewordsPerBlock,G=0;G<N;G++)for(var K=0,se=z;K<se.length;K++){var te=se[K];te.codewords.push(j.shift())}if(_.ecBlocks.length>1)for(var I=_.ecBlocks[0].numBlocks,U=_.ecBlocks[1].numBlocks,G=0;G<U;G++)z[I+G].codewords.push(j.shift());for(;j.length>0;)for(var Y=0,re=z;Y<re.length;Y++){var te=re[Y];te.codewords.push(j.shift())}return z}function L(j){var O=b(j);if(!O)return null;var F=v(j);if(!F)return null;var _=A(j,O,F),z=k(_,O,F.errorCorrectionLevel);if(!z)return null;for(var $=z.reduce(function(Y,re){return Y+re.numDataCodewords},0),N=new Uint8ClampedArray($),G=0,K=0,se=z;K<se.length;K++){var te=se[K],I=c.decode(te.codewords,te.codewords.length-te.numDataCodewords);if(!I)return null;for(var U=0;U<te.numDataCodewords;U++)N[G++]=I[U]}try{return u.decode(N,O.versionNumber)}catch{return null}}function w(j){if(j==null)return null;var O=L(j);if(O)return O;for(var F=0;F<j.width;F++)for(var _=F+1;_<j.height;_++)j.get(F,_)!==j.get(_,F)&&(j.set(F,_,!j.get(F,_)),j.set(_,F,!j.get(_,F)));return L(j)}i.decode=w}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(7),u=o(8),c;(function(b){b.Numeric="numeric",b.Alphanumeric="alphanumeric",b.Byte="byte",b.Kanji="kanji",b.ECI="eci"})(c=i.Mode||(i.Mode={}));var f;(function(b){b[b.Terminator=0]="Terminator",b[b.Numeric=1]="Numeric",b[b.Alphanumeric=2]="Alphanumeric",b[b.Byte=4]="Byte",b[b.Kanji=8]="Kanji",b[b.ECI=7]="ECI"})(f||(f={}));function h(b,v){for(var k=[],L="",w=[10,12,14][v],j=b.readBits(w);j>=3;){var O=b.readBits(10);if(O>=1e3)throw new Error("Invalid numeric value above 999");var F=Math.floor(O/100),_=Math.floor(O/10)%10,z=O%10;k.push(48+F,48+_,48+z),L+=F.toString()+_.toString()+z.toString(),j-=3}if(j===2){var O=b.readBits(7);if(O>=100)throw new Error("Invalid numeric value above 99");var F=Math.floor(O/10),_=O%10;k.push(48+F,48+_),L+=F.toString()+_.toString()}else if(j===1){var O=b.readBits(4);if(O>=10)throw new Error("Invalid numeric value above 9");k.push(48+O),L+=O.toString()}return{bytes:k,text:L}}var E=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function p(b,v){for(var k=[],L="",w=[9,11,13][v],j=b.readBits(w);j>=2;){var O=b.readBits(11),F=Math.floor(O/45),_=O%45;k.push(E[F].charCodeAt(0),E[_].charCodeAt(0)),L+=E[F]+E[_],j-=2}if(j===1){var F=b.readBits(6);k.push(E[F].charCodeAt(0)),L+=E[F]}return{bytes:k,text:L}}function y(b,v){for(var k=[],L="",w=[8,16,16][v],j=b.readBits(w),O=0;O<j;O++){var F=b.readBits(8);k.push(F)}try{L+=decodeURIComponent(k.map(function(_){return"%"+("0"+_.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:k,text:L}}function C(b,v){for(var k=[],L="",w=[8,10,12][v],j=b.readBits(w),O=0;O<j;O++){var F=b.readBits(13),_=Math.floor(F/192)<<8|F%192;_<7936?_+=33088:_+=49472,k.push(_>>8,_&255),L+=String.fromCharCode(u.shiftJISTable[_])}return{bytes:k,text:L}}function A(b,v){for(var k,L,w,j,O=new x.BitStream(b),F=v<=9?0:v<=26?1:2,_={text:"",bytes:[],chunks:[],version:v};O.available()>=4;){var z=O.readBits(4);if(z===f.Terminator)return _;if(z===f.ECI)O.readBits(1)===0?_.chunks.push({type:c.ECI,assignmentNumber:O.readBits(7)}):O.readBits(1)===0?_.chunks.push({type:c.ECI,assignmentNumber:O.readBits(14)}):O.readBits(1)===0?_.chunks.push({type:c.ECI,assignmentNumber:O.readBits(21)}):_.chunks.push({type:c.ECI,assignmentNumber:-1});else if(z===f.Numeric){var $=h(O,F);_.text+=$.text,(k=_.bytes).push.apply(k,$.bytes),_.chunks.push({type:c.Numeric,text:$.text})}else if(z===f.Alphanumeric){var N=p(O,F);_.text+=N.text,(L=_.bytes).push.apply(L,N.bytes),_.chunks.push({type:c.Alphanumeric,text:N.text})}else if(z===f.Byte){var G=y(O,F);_.text+=G.text,(w=_.bytes).push.apply(w,G.bytes),_.chunks.push({type:c.Byte,bytes:G.bytes,text:G.text})}else if(z===f.Kanji){var K=C(O,F);_.text+=K.text,(j=_.bytes).push.apply(j,K.bytes),_.chunks.push({type:c.Kanji,bytes:K.bytes,text:K.text})}}if(O.available()===0||O.readBits(O.available())===0)return _}i.decode=A}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=(function(){function u(c){this.byteOffset=0,this.bitOffset=0,this.bytes=c}return u.prototype.readBits=function(c){if(c<1||c>32||c>this.available())throw new Error("Cannot read "+c.toString()+" bits");var f=0;if(this.bitOffset>0){var h=8-this.bitOffset,E=c<h?c:h,p=h-E,y=255>>8-E<<p;f=(this.bytes[this.byteOffset]&y)>>p,c-=E,this.bitOffset+=E,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(c>0){for(;c>=8;)f=f<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,c-=8;if(c>0){var p=8-c,y=255>>p<<p;f=f<<c|(this.bytes[this.byteOffset]&y)>>p,this.bitOffset+=c}}return f},u.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},u})();i.BitStream=x}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0}),i.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(1),u=o(2);function c(p,y,C,A){var b;y.degree()<C.degree()&&(b=[C,y],y=b[0],C=b[1]);for(var v=y,k=C,L=p.zero,w=p.one;k.degree()>=A/2;){var j=v,O=L;if(v=k,L=w,v.isZero())return null;k=j;for(var F=p.zero,_=v.getCoefficient(v.degree()),z=p.inverse(_);k.degree()>=v.degree()&&!k.isZero();){var $=k.degree()-v.degree(),N=p.multiply(k.getCoefficient(k.degree()),z);F=F.addOrSubtract(p.buildMonomial($,N)),k=k.addOrSubtract(v.multiplyByMonomial($,N))}if(w=F.multiplyPoly(L).addOrSubtract(O),k.degree()>=v.degree())return null}var G=w.getCoefficient(0);if(G===0)return null;var K=p.inverse(G);return[w.multiply(K),k.multiply(K)]}function f(p,y){var C=y.degree();if(C===1)return[y.getCoefficient(1)];for(var A=new Array(C),b=0,v=1;v<p.size&&b<C;v++)y.evaluateAt(v)===0&&(A[b]=p.inverse(v),b++);return b!==C?null:A}function h(p,y,C){for(var A=C.length,b=new Array(A),v=0;v<A;v++){for(var k=p.inverse(C[v]),L=1,w=0;w<A;w++)v!==w&&(L=p.multiply(L,x.addOrSubtractGF(1,p.multiply(C[w],k))));b[v]=p.multiply(y.evaluateAt(k),p.inverse(L)),p.generatorBase!==0&&(b[v]=p.multiply(b[v],k))}return b}function E(p,y){var C=new Uint8ClampedArray(p.length);C.set(p);for(var A=new x.default(285,256,0),b=new u.default(A,C),v=new Uint8ClampedArray(y),k=!1,L=0;L<y;L++){var w=b.evaluateAt(A.exp(L+A.generatorBase));v[v.length-1-L]=w,w!==0&&(k=!0)}if(!k)return C;var j=new u.default(A,v),O=c(A,A.buildMonomial(y,1),j,y);if(O===null)return null;var F=f(A,O[0]);if(F==null)return null;for(var _=h(A,O[1],F),z=0;z<F.length;z++){var $=C.length-1-A.log(F[z]);if($<0)return null;C[$]=x.addOrSubtractGF(C[$],_[z])}return C}i.decode=E}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0}),i.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(0);function u(E,p,y,C){var A=E.x-p.x+y.x-C.x,b=E.y-p.y+y.y-C.y;if(A===0&&b===0)return{a11:p.x-E.x,a12:p.y-E.y,a13:0,a21:y.x-p.x,a22:y.y-p.y,a23:0,a31:E.x,a32:E.y,a33:1};var v=p.x-y.x,k=C.x-y.x,L=p.y-y.y,w=C.y-y.y,j=v*w-k*L,O=(A*w-k*b)/j,F=(v*b-A*L)/j;return{a11:p.x-E.x+O*p.x,a12:p.y-E.y+O*p.y,a13:O,a21:C.x-E.x+F*C.x,a22:C.y-E.y+F*C.y,a23:F,a31:E.x,a32:E.y,a33:1}}function c(E,p,y,C){var A=u(E,p,y,C);return{a11:A.a22*A.a33-A.a23*A.a32,a12:A.a13*A.a32-A.a12*A.a33,a13:A.a12*A.a23-A.a13*A.a22,a21:A.a23*A.a31-A.a21*A.a33,a22:A.a11*A.a33-A.a13*A.a31,a23:A.a13*A.a21-A.a11*A.a23,a31:A.a21*A.a32-A.a22*A.a31,a32:A.a12*A.a31-A.a11*A.a32,a33:A.a11*A.a22-A.a12*A.a21}}function f(E,p){return{a11:E.a11*p.a11+E.a21*p.a12+E.a31*p.a13,a12:E.a12*p.a11+E.a22*p.a12+E.a32*p.a13,a13:E.a13*p.a11+E.a23*p.a12+E.a33*p.a13,a21:E.a11*p.a21+E.a21*p.a22+E.a31*p.a23,a22:E.a12*p.a21+E.a22*p.a22+E.a32*p.a23,a23:E.a13*p.a21+E.a23*p.a22+E.a33*p.a23,a31:E.a11*p.a31+E.a21*p.a32+E.a31*p.a33,a32:E.a12*p.a31+E.a22*p.a32+E.a32*p.a33,a33:E.a13*p.a31+E.a23*p.a32+E.a33*p.a33}}function h(E,p){for(var y=c({x:3.5,y:3.5},{x:p.dimension-3.5,y:3.5},{x:p.dimension-6.5,y:p.dimension-6.5},{x:3.5,y:p.dimension-3.5}),C=u(p.topLeft,p.topRight,p.alignmentPattern,p.bottomLeft),A=f(C,y),b=x.BitMatrix.createEmpty(p.dimension,p.dimension),v=function(F,_){var z=A.a13*F+A.a23*_+A.a33;return{x:(A.a11*F+A.a21*_+A.a31)/z,y:(A.a12*F+A.a22*_+A.a32)/z}},k=0;k<p.dimension;k++)for(var L=0;L<p.dimension;L++){var w=L+.5,j=k+.5,O=v(w,j);b.set(L,k,E.get(Math.floor(O.x),Math.floor(O.y)))}return{matrix:b,mappingFunction:v}}i.extract=h}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=4,u=.5,c=1.5,f=function(w,j){return Math.sqrt(Math.pow(j.x-w.x,2)+Math.pow(j.y-w.y,2))};function h(w){return w.reduce(function(j,O){return j+O})}function E(w,j,O){var F,_,z,$,N=f(w,j),G=f(j,O),K=f(w,O),se,te,I;return G>=N&&G>=K?(F=[j,w,O],se=F[0],te=F[1],I=F[2]):K>=G&&K>=N?(_=[w,j,O],se=_[0],te=_[1],I=_[2]):(z=[w,O,j],se=z[0],te=z[1],I=z[2]),(I.x-te.x)*(se.y-te.y)-(I.y-te.y)*(se.x-te.x)<0&&($=[I,se],se=$[0],I=$[1]),{bottomLeft:se,topLeft:te,topRight:I}}function p(w,j,O,F){var _=(h(C(w,O,F,5))/7+h(C(w,j,F,5))/7+h(C(O,w,F,5))/7+h(C(j,w,F,5))/7)/4;if(_<1)throw new Error("Invalid module size");var z=Math.round(f(w,j)/_),$=Math.round(f(w,O)/_),N=Math.floor((z+$)/2)+7;switch(N%4){case 0:N++;break;case 2:N--;break}return{dimension:N,moduleSize:_}}function y(w,j,O,F){var _=[{x:Math.floor(w.x),y:Math.floor(w.y)}],z=Math.abs(j.y-w.y)>Math.abs(j.x-w.x),$,N,G,K;z?($=Math.floor(w.y),N=Math.floor(w.x),G=Math.floor(j.y),K=Math.floor(j.x)):($=Math.floor(w.x),N=Math.floor(w.y),G=Math.floor(j.x),K=Math.floor(j.y));for(var se=Math.abs(G-$),te=Math.abs(K-N),I=Math.floor(-se/2),U=$<G?1:-1,Y=N<K?1:-1,re=!0,he=$,S=N;he!==G+U;he+=U){var R=z?S:he,W=z?he:S;if(O.get(R,W)!==re&&(re=!re,_.push({x:R,y:W}),_.length===F+1))break;if(I+=te,I>0){if(S===K)break;S+=Y,I-=se}}for(var T=[],ae=0;ae<F;ae++)_[ae]&&_[ae+1]?T.push(f(_[ae],_[ae+1])):T.push(0);return T}function C(w,j,O,F){var _,z=j.y-w.y,$=j.x-w.x,N=y(w,j,O,Math.ceil(F/2)),G=y(w,{x:w.x-$,y:w.y-z},O,Math.ceil(F/2)),K=N.shift()+G.shift()-1;return(_=G.concat(K)).concat.apply(_,N)}function A(w,j){var O=h(w)/h(j),F=0;return j.forEach(function(_,z){F+=Math.pow(w[z]-_*O,2)}),{averageSize:O,error:F}}function b(w,j,O){try{var F=C(w,{x:-1,y:w.y},O,j.length),_=C(w,{x:w.x,y:-1},O,j.length),z={x:Math.max(0,w.x-w.y)-1,y:Math.max(0,w.y-w.x)-1},$=C(w,z,O,j.length),N={x:Math.min(O.width,w.x+w.y)+1,y:Math.min(O.height,w.y+w.x)+1},G=C(w,N,O,j.length),K=A(F,j),se=A(_,j),te=A($,j),I=A(G,j),U=Math.sqrt(K.error*K.error+se.error*se.error+te.error*te.error+I.error*I.error),Y=(K.averageSize+se.averageSize+te.averageSize+I.averageSize)/4,re=(Math.pow(K.averageSize-Y,2)+Math.pow(se.averageSize-Y,2)+Math.pow(te.averageSize-Y,2)+Math.pow(I.averageSize-Y,2))/Y;return U+re}catch{return 1/0}}function v(w,j){for(var O=Math.round(j.x);w.get(O,Math.round(j.y));)O--;for(var F=Math.round(j.x);w.get(F,Math.round(j.y));)F++;for(var _=(O+F)/2,z=Math.round(j.y);w.get(Math.round(_),z);)z--;for(var $=Math.round(j.y);w.get(Math.round(_),$);)$++;var N=(z+$)/2;return{x:_,y:N}}function k(w){for(var j=[],O=[],F=[],_=[],z=function(R){for(var W=0,T=!1,ae=[0,0,0,0,0],de=function(H){var Ce=w.get(H,R);if(Ce===T)W++;else{ae=[ae[1],ae[2],ae[3],ae[4],W],W=1,T=Ce;var ce=h(ae)/7,Te=Math.abs(ae[0]-ce)<ce&&Math.abs(ae[1]-ce)<ce&&Math.abs(ae[2]-3*ce)<3*ce&&Math.abs(ae[3]-ce)<ce&&Math.abs(ae[4]-ce)<ce&&!Ce,Ge=h(ae.slice(-3))/3,Ke=Math.abs(ae[2]-Ge)<Ge&&Math.abs(ae[3]-Ge)<Ge&&Math.abs(ae[4]-Ge)<Ge&&Ce;if(Te){var Wt=H-ae[3]-ae[4],ft=Wt-ae[2],Ut={startX:ft,endX:Wt,y:R},hn=O.filter(function(vt){return ft>=vt.bottom.startX&&ft<=vt.bottom.endX||Wt>=vt.bottom.startX&&ft<=vt.bottom.endX||ft<=vt.bottom.startX&&Wt>=vt.bottom.endX&&ae[2]/(vt.bottom.endX-vt.bottom.startX)<c&&ae[2]/(vt.bottom.endX-vt.bottom.startX)>u});hn.length>0?hn[0].bottom=Ut:O.push({top:Ut,bottom:Ut})}if(Ke){var Gn=H-ae[4],Rn=Gn-ae[3],Ut={startX:Rn,y:R,endX:Gn},hn=_.filter(function(Nt){return Rn>=Nt.bottom.startX&&Rn<=Nt.bottom.endX||Gn>=Nt.bottom.startX&&Rn<=Nt.bottom.endX||Rn<=Nt.bottom.startX&&Gn>=Nt.bottom.endX&&ae[2]/(Nt.bottom.endX-Nt.bottom.startX)<c&&ae[2]/(Nt.bottom.endX-Nt.bottom.startX)>u});hn.length>0?hn[0].bottom=Ut:_.push({top:Ut,bottom:Ut})}}},ue=-1;ue<=w.width;ue++)de(ue);j.push.apply(j,O.filter(function(H){return H.bottom.y!==R&&H.bottom.y-H.top.y>=2})),O=O.filter(function(H){return H.bottom.y===R}),F.push.apply(F,_.filter(function(H){return H.bottom.y!==R})),_=_.filter(function(H){return H.bottom.y===R})},$=0;$<=w.height;$++)z($);j.push.apply(j,O.filter(function(R){return R.bottom.y-R.top.y>=2})),F.push.apply(F,_);var N=j.filter(function(R){return R.bottom.y-R.top.y>=2}).map(function(R){var W=(R.top.startX+R.top.endX+R.bottom.startX+R.bottom.endX)/4,T=(R.top.y+R.bottom.y+1)/2;if(w.get(Math.round(W),Math.round(T))){var ae=[R.top.endX-R.top.startX,R.bottom.endX-R.bottom.startX,R.bottom.y-R.top.y+1],de=h(ae)/ae.length,ue=b({x:Math.round(W),y:Math.round(T)},[1,1,3,1,1],w);return{score:ue,x:W,y:T,size:de}}}).filter(function(R){return!!R}).sort(function(R,W){return R.score-W.score}).map(function(R,W,T){if(W>x)return null;var ae=T.filter(function(ue,H){return W!==H}).map(function(ue){return{x:ue.x,y:ue.y,score:ue.score+Math.pow(ue.size-R.size,2)/R.size,size:ue.size}}).sort(function(ue,H){return ue.score-H.score});if(ae.length<2)return null;var de=R.score+ae[0].score+ae[1].score;return{points:[R].concat(ae.slice(0,2)),score:de}}).filter(function(R){return!!R}).sort(function(R,W){return R.score-W.score});if(N.length===0)return null;var G=E(N[0].points[0],N[0].points[1],N[0].points[2]),K=G.topRight,se=G.topLeft,te=G.bottomLeft,I=L(w,F,K,se,te),U=[];I&&U.push({alignmentPattern:{x:I.alignmentPattern.x,y:I.alignmentPattern.y},bottomLeft:{x:te.x,y:te.y},dimension:I.dimension,topLeft:{x:se.x,y:se.y},topRight:{x:K.x,y:K.y}});var Y=v(w,K),re=v(w,se),he=v(w,te),S=L(w,F,Y,re,he);return S&&U.push({alignmentPattern:{x:S.alignmentPattern.x,y:S.alignmentPattern.y},bottomLeft:{x:he.x,y:he.y},topLeft:{x:re.x,y:re.y},topRight:{x:Y.x,y:Y.y},dimension:S.dimension}),U.length===0?null:U}i.locate=k;function L(w,j,O,F,_){var z,$,N;try{z=p(F,O,_,w),$=z.dimension,N=z.moduleSize}catch{return null}var G={x:O.x-F.x+_.x,y:O.y-F.y+_.y},K=(f(F,_)+f(F,O))/2/N,se=1-3/K,te={x:F.x+se*(G.x-F.x),y:F.y+se*(G.y-F.y)},I=j.map(function(Y){var re=(Y.top.startX+Y.top.endX+Y.bottom.startX+Y.bottom.endX)/4,he=(Y.top.y+Y.bottom.y+1)/2;if(w.get(Math.floor(re),Math.floor(he))){var S=[Y.top.endX-Y.top.startX,Y.bottom.endX-Y.bottom.startX,Y.bottom.y-Y.top.y+1];h(S)/S.length;var R=b({x:Math.floor(re),y:Math.floor(he)},[1,1,1],w),W=R+f({x:re,y:he},te);return{x:re,y:he,score:W}}}).filter(function(Y){return!!Y}).sort(function(Y,re){return Y.score-re.score}),U=K>=15&&I.length?I[0]:te;return{alignmentPattern:U,dimension:$}}})]).default})})(bo)),bo.exports}var GT=VT();const QT=Lo(GT);function YT({onResult:e,onClose:r}){const a=M.useRef(null),[i,o]=M.useState(null);return M.useEffect(()=>{let x=null,u=0,c=!1;const f=document.createElement("canvas"),h=f.getContext("2d",{willReadFrequently:!0}),E=()=>{const p=a.current;if(!(c||!p||!h)){if(p.readyState>=p.HAVE_ENOUGH_DATA&&p.videoWidth){f.width=p.videoWidth,f.height=p.videoHeight,h.drawImage(p,0,0,f.width,f.height);const{data:y,width:C,height:A}=h.getImageData(0,0,f.width,f.height),b=QT(y,C,A,{inversionAttempts:"dontInvert"});if(b?.data){c=!0,e(b.data);return}}u=requestAnimationFrame(E)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(p=>{if(c){for(const C of p.getTracks())C.stop();return}x=p;const y=a.current;y&&(y.srcObject=p,y.play(),u=requestAnimationFrame(E))}).catch(p=>o(XT(p))),()=>{if(c=!0,cancelAnimationFrame(u),x)for(const p of x.getTracks())p.stop()}},[e]),g.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[g.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),g.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:g.jsx("div",{className:"size-60 max-w-[70vw] rounded-3xl border-2 border-white/80 shadow-[0_0_0_100vmax_rgba(0,0,0,0.5)]"})}),g.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[g.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),g.jsx("button",{type:"button",onClick:r,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:g.jsx($n,{size:20})})]}),i?g.jsx("div",{className:"pb-safe absolute inset-x-0 bottom-0 bg-black/75 p-4 text-center text-sm leading-relaxed text-white",children:i}):null]})}function XT(e){const r=e instanceof DOMException?e.name:"";return r==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":r==="NotFoundError"||r==="OverconstrainedError"?"No camera found — paste the token instead.":window.isSecureContext?`Camera unavailable (${e instanceof Error?e.message:String(e)}). Paste the token instead.`:"The camera needs HTTPS. Open the relay’s https:// URL, or paste the token."}function KT(){const e=De(h=>h.setToken),[r,a]=M.useState(""),[i,o]=M.useState(!1),[x,u]=M.useState(!1),c=h=>{const E=fb(h);u(!1),E?e(E):o(!0)},f=h=>{h.preventDefault(),c(r)};return x?g.jsx(YT,{onResult:c,onClose:()=>u(!1)}):g.jsxs("div",{className:"pt-safe pb-safe flex h-full flex-col items-center justify-center gap-5 overflow-y-auto px-8 text-center",children:[g.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),g.jsxs("div",{children:[g.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),g.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),g.jsxs("p",{className:"max-w-xs text-sm leading-relaxed text-muted",children:["Open the URL the relay printed on startup — it carries your access token (",g.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",g.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),g.jsxs("form",{onSubmit:f,className:"flex w-full max-w-xs flex-col gap-2",children:[g.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:r,onChange:h=>{a(h.target.value),o(!1)},placeholder:"Paste token or URL","aria-label":"Access token or URL",className:"rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-center font-mono text-base text-text placeholder:font-sans placeholder:text-faint"}),g.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),g.jsxs("button",{type:"button",onClick:()=>{o(!1),u(!0)},className:"pill justify-center gap-2 py-2.5",children:[g.jsx(R2,{size:16}),"Scan QR"]}),i?g.jsx("p",{className:"text-xs",style:{color:"var(--color-del)"},children:"Couldn’t find a token in that — paste the token or the full URL, or scan the QR."}):null]}),g.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",g.jsx("span",{className:"font-mono",children:"yarn service status"})," on your Mac to reprint the QR, then scan it above — no need to retype anything."]})]})}const Rl=new Uint8Array(512),fc=new Uint8Array(256);let yl=1;for(let e=0;e<255;e++)Rl[e]=yl,fc[yl]=e,yl<<=1,yl&256&&(yl^=285);for(let e=255;e<512;e++)Rl[e]=Rl[e-255];function Rm(e,r){return e===0||r===0?0:Rl[fc[e]+fc[r]]}function ZT(e){let r=[1];for(let a=0;a<e;a++){const i=new Array(r.length+1).fill(0);for(let o=0;o<r.length;o++)i[o]^=r[o],i[o+1]^=Rm(r[o],Rl[a]);r=i}return r}function JT(e,r){const a=ZT(r),i=new Array(r).fill(0);for(const o of e){const x=o^i[0];if(i.shift(),i.push(0),x!==0)for(let u=0;u<r;u++)i[u]^=Rm(a[u+1],x)}return i}const tf={1:{align:[],ec:10,groups:[[1,16]]},2:{align:[6,18],ec:16,groups:[[1,28]]},3:{align:[6,22],ec:26,groups:[[1,44]]},4:{align:[6,26],ec:18,groups:[[2,32]]},5:{align:[6,30],ec:24,groups:[[2,43]]},6:{align:[6,34],ec:16,groups:[[4,27]]},7:{align:[6,22,38],ec:18,groups:[[4,31]]},8:{align:[6,24,42],ec:22,groups:[[2,38],[2,39]]},9:{align:[6,26,46],ec:22,groups:[[3,36],[2,37]]},10:{align:[6,28,50],ec:26,groups:[[4,43],[1,44]]}};function V8(e){return tf[e].groups.reduce((r,[a,i])=>r+a*i,0)}function G8(e){return e<=9?8:16}function Bl(e,r,a){for(let i=a-1;i>=0;i--)e.push(r>>i&1)}function WT(e){const r=Array.from(new TextEncoder().encode(e));let a=0;for(let A=1;A<=10;A++)if(4+G8(A)+8*r.length<=V8(A)*8){a=A;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${r.length} bytes)`);const i=V8(a)*8,o=[];Bl(o,4,4),Bl(o,r.length,G8(a));for(const A of r)Bl(o,A,8);for(let A=0,b=Math.min(4,i-o.length);A<b;A++)o.push(0);for(;o.length%8!==0;)o.push(0);const x=[236,17];for(let A=0;o.length<i;A++)Bl(o,x[A%2],8);const u=[];for(let A=0;A<o.length;A+=8){let b=0;for(let v=0;v<8;v++)b=b<<1|o[A+v];u.push(b)}const{ec:c,groups:f}=tf[a],h=[];let E=0;for(const[A,b]of f)for(let v=0;v<A;v++){const k=u.slice(E,E+b);E+=b,h.push({data:k,ec:JT(k,c)})}const p=[],y=Math.max(...h.map(A=>A.data.length));for(let A=0;A<y;A++)for(const b of h)A<b.data.length&&p.push(b.data[A]);for(let A=0;A<c;A++)for(const b of h)p.push(b.ec[A]);const C=[];for(const A of p)Bl(C,A,8);return{version:a,bits:C}}function e_(e,r){const a=e*4+17,i=Array.from({length:a},()=>new Array(a).fill(!1)),o=Array.from({length:a},()=>new Array(a).fill(!1)),x=(p,y)=>{for(let C=-1;C<=7;C++)for(let A=-1;A<=7;A++){const b=p+C,v=y+A;if(b<0||b>=a||v<0||v>=a)continue;const k=C>=0&&C<=6&&(A===0||A===6)||A>=0&&A<=6&&(C===0||C===6),L=C>=2&&C<=4&&A>=2&&A<=4;i[b][v]=k||L,o[b][v]=!0}};x(0,0),x(0,a-7),x(a-7,0);for(let p=8;p<a-8;p++){const y=p%2===0;o[6][p]||(i[6][p]=y,o[6][p]=!0),o[p][6]||(i[p][6]=y,o[p][6]=!0)}const u=tf[e].align;for(let p=0;p<u.length;p++)for(let y=0;y<u.length;y++){if(p===0&&y===0||p===0&&y===u.length-1||p===u.length-1&&y===0)continue;const A=u[p],b=u[y];for(let v=-2;v<=2;v++)for(let k=-2;k<=2;k++)i[A+v][b+k]=Math.max(Math.abs(v),Math.abs(k))!==1,o[A+v][b+k]=!0}for(let p=0;p<=8;p++)p!==6&&(o[8][p]=!0,o[p][8]=!0);for(let p=0;p<8;p++)o[8][a-1-p]=!0,o[a-1-p][8]=!0;if(o[a-8][8]=!0,e>=7)for(let p=0;p<18;p++){const y=a-11+p%3,C=Math.floor(p/3);o[C][y]=!0,o[y][C]=!0}let c=0,f=!0;for(let p=a-1;p>0;p-=2){p===6&&p--;for(let y=0;y<a;y++){const C=f?a-1-y:y;for(let A=0;A<2;A++){const b=p-A;o[C][b]||(i[C][b]=c<r.length?r[c]===1:!1,c++)}}f=!f}e>=7&&r_(i,e,a);let h=null,E=Number.POSITIVE_INFINITY;for(let p=0;p<8;p++){const y=i.map(A=>A.slice());for(let A=0;A<a;A++)for(let b=0;b<a;b++)!o[A][b]&&t_(p,A,b)&&(y[A][b]=!y[A][b]);n_(y,p,a);const C=a_(y);C<E&&(E=C,h=y)}return h}function t_(e,r,a){switch(e){case 0:return(r+a)%2===0;case 1:return r%2===0;case 2:return a%3===0;case 3:return(r+a)%3===0;case 4:return(Math.floor(r/2)+Math.floor(a/3))%2===0;case 5:return r*a%2+r*a%3===0;case 6:return(r*a%2+r*a%3)%2===0;default:return((r+a)%2+r*a%3)%2===0}}function n_(e,r,a){const i=0|r;let o=i;for(let c=0;c<10;c++)o=o<<1^(o>>9&1?1335:0);const x=((i<<10|o&1023)^21522)&32767,u=c=>(x>>c&1)===1;for(let c=0;c<=5;c++)e[c][8]=u(c);e[7][8]=u(6),e[8][8]=u(7),e[8][7]=u(8);for(let c=9;c<15;c++)e[8][14-c]=u(c);for(let c=0;c<8;c++)e[8][a-1-c]=u(c);for(let c=8;c<15;c++)e[a-15+c][8]=u(c);e[a-8][8]=!0}function r_(e,r,a){let i=r;for(let x=0;x<12;x++)i=i<<1^(i>>11&1?7973:0);const o=r<<12|i&4095;for(let x=0;x<18;x++){const u=(o>>x&1)===1,c=a-11+x%3,f=Math.floor(x/3);e[f][c]=u,e[c][f]=u}}function a_(e){const r=e.length;let a=0;const i=f=>{let h=f(0),E=1;for(let p=1;p<r;p++)f(p)===h?E++:(E>=5&&(a+=E-2),h=f(p),E=1);E>=5&&(a+=E-2)};for(let f=0;f<r;f++)i(h=>e[f][h]);for(let f=0;f<r;f++)i(h=>e[h][f]);for(let f=0;f<r-1;f++)for(let h=0;h<r-1;h++){const E=e[f][h];E===e[f][h+1]&&E===e[f+1][h]&&E===e[f+1][h+1]&&(a+=3)}const o=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],x=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],u=(f,h,E)=>{for(let p=0;p<11;p++)if(f(h+p)!==E[p])return!1;return!0};for(let f=0;f<r;f++)for(let h=0;h<=r-11;h++)(u(E=>e[f][E],h,o)||u(E=>e[f][E],h,x))&&(a+=40);for(let f=0;f<r;f++)for(let h=0;h<=r-11;h++)(u(E=>e[E][f],h,o)||u(E=>e[E][f],h,x))&&(a+=40);let c=0;for(let f=0;f<r;f++)for(let h=0;h<r;h++)e[f][h]&&c++;return a+=Math.floor(Math.abs(c/(r*r)*100-50)/5)*10,a}function l_(e){const{version:r,bits:a}=WT(e);return e_(r,a)}function i_({text:e,size:r=220,className:a}){const i=l_(e),o=i.length,x=4,u=o+x*2;let c="";for(let f=0;f<o;f++)for(let h=0;h<o;h++)i[f][h]&&(c+=`M${h+x} ${f+x}h1v1h-1z`);return g.jsxs("svg",{width:r,height:r,viewBox:`0 0 ${u} ${u}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[g.jsx("title",{children:"QR code"}),g.jsx("rect",{width:u,height:u,fill:"#fff"}),g.jsx("path",{d:c,fill:"#000"})]})}function o_({version:e,onLogs:r,onClose:a}){const i=De(y=>y.token),o=De(y=>y.setToken),[x,u]=M.useState(!1),[c,f]=M.useState(!1),h=i?`${location.origin}/#token=${i}`:location.origin,E=!!e&&e!=="1.53.0",p=async()=>{try{await navigator.clipboard.writeText(h),u(!0),setTimeout(()=>u(!1),1500)}catch{}};return Hl.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Connect a device",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[85dvh] max-w-sm flex-col items-center gap-4 rounded-t-3xl border border-border-soft bg-surface p-5 shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[g.jsxs("div",{className:"flex w-full shrink-0 items-center justify-between",children:[g.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),g.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[g.jsx("button",{type:"button",onClick:()=>f(y=>!y),"aria-label":"Disconnect","aria-expanded":c,title:"Disconnect",className:Be("flex size-8 items-center justify-center rounded-full active:bg-surface-2",c?"bg-del/15 text-del":"text-del/80"),children:g.jsx(my,{size:17})}),g.jsx("button",{type:"button",onClick:a,"aria-label":"Close",className:"flex size-8 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx($n,{size:18})})]})]}),c?g.jsxs("div",{className:"fade-in w-full shrink-0 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[g.jsx("p",{className:"text-sm font-medium",children:"Disconnect this device?"}),g.jsx("p",{className:"mt-1 text-xs text-muted",children:"This forgets your access token. To get back in you’ll need the link or QR from the Mac running the relay — this screen can’t show it to you again."}),g.jsxs("div",{className:"mt-2.5 flex gap-2",children:[g.jsx("button",{type:"button",onClick:()=>f(!1),className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),g.jsx("button",{type:"button",onClick:()=>o(null),className:"flex-1 rounded-lg bg-del px-3 py-2 text-sm font-semibold text-black active:opacity-80",children:"Disconnect"})]})]}):null,g.jsxs("div",{className:"flex w-full min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto overscroll-contain",children:[g.jsx("p",{className:"text-center text-sm text-muted",children:"Scan on another phone, or re-add this to your home screen. The link carries your access token."}),g.jsx("div",{className:"shrink-0 rounded-2xl bg-white p-3",children:g.jsx(i_,{text:h,size:216})}),g.jsxs("button",{type:"button",onClick:p,className:"flex w-full shrink-0 items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-sm active:bg-surface",children:[x?g.jsx(hr,{size:16}):g.jsx(kc,{size:16}),x?"Copied":"Copy link"]}),g.jsx(s_,{}),g.jsx(u_,{}),g.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[g.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",g.jsxs("span",{className:E?"text-working":void 0,children:["app v","1.53.0"]}),E?" · update pending":""]}),g.jsx("button",{type:"button",onClick:r,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]})]}),document.body)}function s_(){const e=av(),r=e.permission==="denied",a=e.support!=="ok"||e.relayDisabled,i=e.relayDisabled?"Turned off on the relay (PUSH_NOTIFY=off).":e.support==="needs-install"?"Add this to your Home Screen first — iOS only allows notifications for installed apps.":e.support==="insecure"?"Needs a secure connection — open the app on its https:// Tailscale URL.":e.support==="unsupported"?"This browser can’t receive push notifications.":r?"Blocked for this app — allow notifications in your device settings, then come back.":e.enabled?`On for this device${e.devices>1?` · ${e.devices} devices subscribed`:""}.`:"Get a ping when an agent finishes its turn or hits an error.";return g.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(_2,{size:16,className:Be("shrink-0",e.enabled?"text-accent":"text-muted")}),g.jsx("span",{children:"Notifications"})]}),g.jsx("button",{type:"button",role:"switch","aria-checked":e.enabled,"aria-label":"Notifications on this device",disabled:a||r||e.busy,onClick:()=>{e.enabled?e.disable():e.enable()},className:Be("relative h-6 w-11 shrink-0 rounded-full transition-colors",e.enabled?"bg-accent":"border border-border bg-surface",(a||r||e.busy)&&"opacity-40"),children:g.jsx("span",{className:Be("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",e.enabled?"translate-x-5":"translate-x-0")})})]}),g.jsx("p",{className:"mt-1 text-xs text-muted",children:i}),e.error?g.jsx("p",{className:"mt-1 text-xs text-del",children:e.error}):null,e.enabled?g.jsx("button",{type:"button",onClick:()=>{e.test()},disabled:e.busy,className:"mt-1.5 text-xs text-muted underline-offset-2 hover:underline disabled:opacity-50",children:"Send a test notification"}):null]})}const x_=[{label:"1h",seconds:3600},{label:"4h",seconds:4*3600,className:"hidden min-[400px]:block"},{label:"8h",seconds:8*3600},{label:"16h",seconds:16*3600}];function Q8(e){if(!e)return"until you turn it off";const r=new Date(e),a=r.toDateString()===new Date().toDateString(),i=r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return a?`until ${i}`:`until ${r.toLocaleDateString([],{weekday:"short"})} ${i}`}function u_(){const[e,r]=M.useState(null),[a,i]=M.useState(!1),[o,x]=M.useState(null),[u,c]=M.useState(!1),f=M.useCallback(async()=>{try{r(await Oe.settings()),x(null)}catch(C){x(C instanceof Error?C.message:String(C))}},[]);M.useEffect(()=>{f()},[f]);const h=async C=>{i(!0),x(null);try{await C(),await f()}catch(A){x(A instanceof Error?A.message:String(A))}finally{i(!1)}},E=e?.nosleep,p=e?.wifi.known??[],y=e?.settings.fallbackSsids[0]??"";return g.jsxs("div",{className:"flex w-full shrink-0 flex-col gap-2.5 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(L2,{size:16,className:Be("shrink-0",E?.armed?"text-accent":"text-muted")}),g.jsx("span",{children:"Keep the Mac awake"})]}),E?.armed?g.jsx("button",{type:"button",disabled:a,onClick:()=>{h(async()=>{const C=await Oe.disarmNoSleep();c(C.willSleep===!0)})},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Let it sleep"}):g.jsx("div",{className:"flex shrink-0 gap-1",children:x_.map(C=>g.jsx("button",{type:"button",disabled:a||!E?.available,onClick:()=>{h(()=>(c(!1),Oe.armNoSleep(C.seconds)))},className:Be("rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-40",C.className),children:C.label},C.seconds))})]}),g.jsx("p",{className:"text-xs text-muted",children:e?E?.available?E.armed?E.preventsScreenLock?`Awake ${Q8(E.until)}, lid closed. Automatic screen lock is off; anyone at the Mac can use it.`:`Awake ${Q8(E.until)}, lid closed. Sends park if macOS locks.`:u?"The lid is shut, so the Mac is going to sleep now — this app will be unreachable until you wake it.":"Stops system sleep. Screen-lock behavior follows the Mac CLI configuration.":"Run `conductor-remote nosleep setup` on the Mac to install or refresh the helper.":"Checking…"}),g.jsxs("div",{className:"border-t border-border pt-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(P2,{size:16,className:Be("shrink-0",e?.settings.autoRejoin?"text-accent":"text-muted")}),g.jsx("span",{children:"Fallback network"})]}),y?g.jsx("button",{type:"button",disabled:a,onClick:()=>{h(()=>Oe.patchSettings({fallbackSsids:[],autoRejoin:!1}))},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Turn off"}):null]}),y?g.jsxs("p",{className:"mt-1 text-xs text-muted",children:["If the Mac loses its connection it joins ",g.jsx("span",{className:"text-fg",children:y})," and re-registers."]}):g.jsx(c_,{known:p,hotspots:e?.wifi.likelyHotspots??[],busy:a,onPick:C=>{h(()=>Oe.patchSettings({fallbackSsids:[C],autoRejoin:!0}))}}),e?.wifi.autoJoinHotspot==="Never"?g.jsx("p",{className:"mt-1 text-xs text-faint",children:"Auto-join Hotspot is off on this Mac (System Settings ▸ Wi-Fi). Your hotspot has to be on and broadcasting before the Mac can join it."}):null]}),o?g.jsx("p",{className:"text-xs text-del",children:o}):null]})}function c_({known:e,hotspots:r,busy:a,onPick:i}){const[o,x]=M.useState("");if(e.length===0)return g.jsx("p",{className:"mt-1 text-xs text-muted",children:"No saved Wi-Fi networks to offer."});const u=new Set(r),c=o.trim().toLowerCase(),f=e.filter(p=>!c||p.toLowerCase().includes(c)),h=f.find(p=>u.has(p)),E=(h?[h,...f.filter(p=>p!==h)]:f).slice(0,6);return g.jsxs(g.Fragment,{children:[g.jsx("p",{className:"mt-1 text-xs text-muted",children:"Turn your hotspot on before you leave, and the Mac can move to it if the office Wi-Fi drops."}),g.jsx("input",{type:"search",value:o,disabled:a,onChange:p=>x(p.target.value),placeholder:`Search ${e.length} saved networks`,className:"mt-2 w-full rounded-lg border border-border bg-surface px-2 py-1.5 text-xs disabled:opacity-40"}),g.jsxs("div",{className:"mt-1.5 flex flex-col gap-1",children:[E.map(p=>g.jsxs("button",{type:"button",disabled:a,onClick:()=>i(p),className:"flex items-center justify-between gap-2 rounded-lg border border-border px-2.5 py-1.5 text-left text-xs active:bg-surface disabled:opacity-50",children:[g.jsx("span",{className:"truncate",children:p}),u.has(p)?g.jsx("span",{className:"shrink-0 text-faint",children:"likely hotspot"}):null]},p)),E.length===0?g.jsxs("p",{className:"text-xs text-faint",children:["Nothing matches “",o,"”."]}):null]}),!c&&e.length>E.length?g.jsxs("p",{className:"mt-1 text-xs text-faint",children:["Most recently joined. Search to reach the other ",e.length-E.length,"."]}):null]})}const f_={info:"text-muted",warn:"text-working",error:"text-del"};function $r(e){return String(e).padStart(2,"0")}function d_(e){if(e==null)return"·";const r=new Date(e);return`${$r(r.getHours())}:${$r(r.getMinutes())}:${$r(r.getSeconds())}`}function Y8(e){if(e==null)return" ";const r=new Date(e);return`${r.getFullYear()}-${$r(r.getMonth()+1)}-${$r(r.getDate())} ${$r(r.getHours())}:${$r(r.getMinutes())}:${$r(r.getSeconds())}`}function h_(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function X8(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s ago`;const a=Math.round(r/60);if(a<60)return`${a}m ago`;const i=Math.round(a/60);return i<48?`${i}h ago`:`${Math.round(i/24)}d ago`}function p_({onClose:e}){const[r,a]=M.useState(null),[i,o]=M.useState(!1),[x,u]=M.useState(null),{data:c,isLoading:f,isError:h,error:E}=Wb(r,!0),p=M.useRef(null),y=M.useRef(!0),C=M.useMemo(()=>(c?.entries??[]).filter(v=>!i||v.level!=="info"),[c,i]);M.useEffect(()=>{const v=p.current;v&&y.current&&C.length&&(v.scrollTop=v.scrollHeight)},[C]);const A=async()=>{const v=`# conductor-remote ${r??"live"} log · app v1.53.0 · copied ${Y8(Date.now())}`,k=C.map(L=>`${Y8(L.t)} ${L.level==="info"?"":L.level.toUpperCase()} ${L.text}`);try{await navigator.clipboard.writeText([v,...k].join(`
|
|
43
|
+
`),[e]);return g.jsxs("pre",{className:"overflow-x-auto border-t border-border-soft px-3 py-3 font-mono text-[11.5px] leading-[1.5]",children:[a.map((i,o)=>g.jsx("div",{className:Be("whitespace-pre",OT(i)),children:i||" "},o)),r?g.jsx("div",{className:"mt-2 text-faint",children:"… diff truncated …"}):null]})}function OT(e){return e.startsWith("+")&&!e.startsWith("+++")?"text-add":e.startsWith("-")&&!e.startsWith("---")?"text-del":e.startsWith("@@")?"text-accent":e.startsWith("diff ")||e.startsWith("index ")||e.startsWith("+++")||e.startsWith("---")?"text-faint":"text-muted"}function LT({workspace:e}){const[r,a]=M.useState(!1),[i,o]=M.useState(null),[x,u]=M.useState(null),c=De(C=>C.online),f=Gr(),h=Ap(e),E=async C=>{if(!i&&(a(!1),C!==h)){o(C),u(null);try{const A=await Oe.setStatus(e.id,C);A.ok||u(A.error??"status change failed"),await f.invalidateQueries({queryKey:["workspaces"]})}catch(A){u(A instanceof Error?A.message:"status change failed")}finally{o(null)}}},y=i??null??h;return g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button",onClick:()=>a(C=>!C),disabled:!c||i!==null,"aria-label":`Workspace status: ${ec(h)}`,"aria-expanded":r,className:Be("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",r&&"bg-surface-2 text-text"),children:i?g.jsx("span",{className:"dot-spinner size-4",style:{"--spin-color":PT(y)}}):g.jsx(I8,{status:y})}),r?g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button","aria-label":"Close status menu",className:"fixed inset-0 z-20 cursor-default",onClick:()=>a(!1)}),g.jsx("div",{className:"fade-in absolute right-2 top-full z-30 w-44 overflow-hidden rounded-xl border border-border bg-surface shadow-xl",children:aD.map(C=>g.jsxs("button",{type:"button",onClick:()=>E(C),className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[g.jsx(I8,{status:C}),g.jsx("span",{className:"flex-1",children:ec(C)}),C===h?g.jsx(hr,{size:15,className:"text-accent"}):null]},C))})]}):null,x?g.jsx("button",{type:"button",onClick:()=>u(null),className:"absolute right-2 top-full z-30 max-w-64 rounded-lg border border-del/40 bg-surface px-3 py-2 text-left text-xs text-del shadow-xl",children:x}):null]})}function PT(e){return jc[e]??"var(--color-faint)"}function I8({status:e}){const r=jc[e];return r?g.jsx("span",{className:"dot size-2.5",style:{background:r}}):g.jsx("span",{className:"dot size-2.5 border border-faint bg-transparent"})}function UT(){const{workspaceId:e}=_4(),[r,a]=N2(),i=r.get("session"),o=re=>a({session:re},{replace:!0}),[x,u]=M.useState(!1),[c,f]=M.useState(!1),h=Gr(),{data:E,isLoading:p}=Nc(),y=E?.workspaces.find(re=>re.id===e),C=!!E&&!y,{data:A}=np(e,!C),b=De(re=>re.workingHints),v=De(re=>re.readMarks),k=De(re=>re.markRead),L=De(re=>re.setDraft),w=y,j=E?.actuator,{data:O,isLoading:F}=Zb(e,C),_=A?.sessions??[],z=(i&&_.some(re=>re.id===i)?i:null)??w?.active_session_id??_[0]?.id??null,$=_.find(re=>re.id===z),N=$?.updated_at;if(M.useEffect(()=>{w&&z&&N&&document.visibilityState==="visible"&&k(z,N)},[w,z,N,k]),!w)return O?g.jsx(bT,{workspace:O.workspace}):g.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[g.jsx(_o,{title:"Session",menu:!0}),p||C&&F?g.jsx(B0,{}):g.jsx("div",{className:"p-6 text-center text-sm text-muted",children:"Workspace not found."})]});const G=z?b[z]:void 0,K=$?.status==="working"||G!==void 0&&Date.now()-G<15e3,se=$?.turn_started_at?Date.parse($.turn_started_at):null,te=($?.status==="working"?se??G:G??se)??null,I=[w.repo_name,w.branch,zc(w.model)].filter(Boolean).join(" · "),U=async()=>{if(!c){f(!0);try{const re=await Oe.newChat(w.id);re.ok&&(await h.invalidateQueries({queryKey:["sessions",w.id]}),re.sessionId&&o(re.sessionId))}finally{f(!1)}}},Y=async({thinking:re,tools:he})=>{if(!z)return;const S=await Oe.splitChat(z,w.id,re,he);if(!S.ok)throw new Error(S.error??"Could not fork this chat");if(!S.sessionId)throw new Error("The new chat opened, but its id was not available");L(S.sessionId,S.text),await h.invalidateQueries({queryKey:["sessions",w.id]}),o(S.sessionId)};return g.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[g.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[g.jsx(_o,{title:In(w),subtitle:I,menu:!0,right:g.jsxs(g.Fragment,{children:[g.jsx(LT,{workspace:w}),g.jsx("button",{type:"button",onClick:()=>u(re=>!re),"aria-label":"Toggle diff panel","aria-pressed":x,className:Be("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",x&&"bg-surface-2 text-text"),children:g.jsx(eC,{size:19})})]})}),_.length>0?g.jsx(HT,{sessions:_,activeId:z,readMarks:v,onSelect:o,onNewChat:U,creating:c}):null,g.jsx(_m,{sessionId:z,workspaceId:w.id,working:K,workingSince:te,queued:w.parked_prompts?.find(re=>re.sessionId===z)??w.pending_prompt,onFork:Y}),g.jsx(FT,{session:$,sessionId:z,workspaceId:w.id,working:K,actuator:j},w.id)]}),x?g.jsx(IT,{workspaceId:w.id,onClose:()=>u(!1)}):null]})}function HT({sessions:e,activeId:r,readMarks:a,onSelect:i,onNewChat:o,creating:x}){const u=M.useRef(null);return M.useLayoutEffect(()=>{r&&u.current?.scrollIntoView({block:"nearest",inline:"nearest"})},[r]),g.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[g.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:e.map(c=>g.jsxs("button",{type:"button",ref:c.id===r?u:void 0,onClick:()=>i(c.id),className:Be("pill flex shrink-0 items-center gap-1.5",c.id===r&&"pill-active"),children:[c.status==="working"?g.jsx("span",{className:"dot-spinner size-3"}):null,g.jsx("span",{className:"max-w-36 truncate",children:c.title||"Untitled"}),g.jsx(qT,{used:c.context_used_percent}),kb(c,a)?g.jsx("span",{className:"dot size-1.5 bg-accent"}):null]},c.id))}),g.jsx("button",{type:"button",onClick:o,disabled:x,"aria-label":"New chat, same files",className:"flex size-7 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",children:g.jsx(z2,{size:18})})]})}function qT({used:e}){return typeof e!="number"||e<=0?null:g.jsxs("span",{className:Be("shrink-0 text-[11px] tabular-nums",e>=80?"text-working":"text-faint"),children:[Math.round(e),"%"]})}function IT({workspaceId:e,onClose:r}){return g.jsxs("aside",{className:"fixed inset-0 z-40 flex flex-col bg-bg lg:static lg:z-auto lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[g.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[g.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Diff"}),g.jsx("button",{type:"button",onClick:r,"aria-label":"Close diff panel",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx($n,{size:20})})]}),g.jsx(jT,{workspaceId:e})]})}var bo={exports:{}},$T=bo.exports,$8;function VT(){return $8||($8=1,(function(e,r){(function(i,o){e.exports=o()})(typeof self<"u"?self:$T,function(){return(function(a){var i={};function o(x){if(i[x])return i[x].exports;var u=i[x]={i:x,l:!1,exports:{}};return a[x].call(u.exports,u,u.exports,o),u.l=!0,u.exports}return o.m=a,o.c=i,o.d=function(x,u,c){o.o(x,u)||Object.defineProperty(x,u,{configurable:!1,enumerable:!0,get:c})},o.n=function(x){var u=x&&x.__esModule?function(){return x.default}:function(){return x};return o.d(u,"a",u),u},o.o=function(x,u){return Object.prototype.hasOwnProperty.call(x,u)},o.p="",o(o.s=3)})([(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=(function(){function u(c,f){this.width=f,this.height=c.length/f,this.data=c}return u.createEmpty=function(c,f){return new u(new Uint8ClampedArray(c*f),c)},u.prototype.get=function(c,f){return c<0||c>=this.width||f<0||f>=this.height?!1:!!this.data[f*this.width+c]},u.prototype.set=function(c,f,h){this.data[f*this.width+c]=h?1:0},u.prototype.setRegion=function(c,f,h,E,p){for(var y=f;y<f+E;y++)for(var C=c;C<c+h;C++)this.set(C,y,!!p)},u})();i.BitMatrix=x}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(2);function u(f,h){return f^h}i.addOrSubtractGF=u;var c=(function(){function f(h,E,p){this.primitive=h,this.size=E,this.generatorBase=p,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var y=1,C=0;C<this.size;C++)this.expTable[C]=y,y=y*2,y>=this.size&&(y=(y^this.primitive)&this.size-1);for(var C=0;C<this.size-1;C++)this.logTable[this.expTable[C]]=C;this.zero=new x.default(this,Uint8ClampedArray.from([0])),this.one=new x.default(this,Uint8ClampedArray.from([1]))}return f.prototype.multiply=function(h,E){return h===0||E===0?0:this.expTable[(this.logTable[h]+this.logTable[E])%(this.size-1)]},f.prototype.inverse=function(h){if(h===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[h]-1]},f.prototype.buildMonomial=function(h,E){if(h<0)throw new Error("Invalid monomial degree less than 0");if(E===0)return this.zero;var p=new Uint8ClampedArray(h+1);return p[0]=E,new x.default(this,p)},f.prototype.log=function(h){if(h===0)throw new Error("Can't take log(0)");return this.logTable[h]},f.prototype.exp=function(h){return this.expTable[h]},f})();i.default=c}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(1),u=(function(){function c(f,h){if(h.length===0)throw new Error("No coefficients.");this.field=f;var E=h.length;if(E>1&&h[0]===0){for(var p=1;p<E&&h[p]===0;)p++;if(p===E)this.coefficients=f.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(E-p);for(var y=0;y<this.coefficients.length;y++)this.coefficients[y]=h[p+y]}}else this.coefficients=h}return c.prototype.degree=function(){return this.coefficients.length-1},c.prototype.isZero=function(){return this.coefficients[0]===0},c.prototype.getCoefficient=function(f){return this.coefficients[this.coefficients.length-1-f]},c.prototype.addOrSubtract=function(f){var h;if(this.isZero())return f;if(f.isZero())return this;var E=this.coefficients,p=f.coefficients;E.length>p.length&&(h=[p,E],E=h[0],p=h[1]);for(var y=new Uint8ClampedArray(p.length),C=p.length-E.length,A=0;A<C;A++)y[A]=p[A];for(var A=C;A<p.length;A++)y[A]=x.addOrSubtractGF(E[A-C],p[A]);return new c(this.field,y)},c.prototype.multiply=function(f){if(f===0)return this.field.zero;if(f===1)return this;for(var h=this.coefficients.length,E=new Uint8ClampedArray(h),p=0;p<h;p++)E[p]=this.field.multiply(this.coefficients[p],f);return new c(this.field,E)},c.prototype.multiplyPoly=function(f){if(this.isZero()||f.isZero())return this.field.zero;for(var h=this.coefficients,E=h.length,p=f.coefficients,y=p.length,C=new Uint8ClampedArray(E+y-1),A=0;A<E;A++)for(var b=h[A],v=0;v<y;v++)C[A+v]=x.addOrSubtractGF(C[A+v],this.field.multiply(b,p[v]));return new c(this.field,C)},c.prototype.multiplyByMonomial=function(f,h){if(f<0)throw new Error("Invalid degree less than 0");if(h===0)return this.field.zero;for(var E=this.coefficients.length,p=new Uint8ClampedArray(E+f),y=0;y<E;y++)p[y]=this.field.multiply(this.coefficients[y],h);return new c(this.field,p)},c.prototype.evaluateAt=function(f){var h=0;if(f===0)return this.getCoefficient(0);var E=this.coefficients.length;if(f===1)return this.coefficients.forEach(function(y){h=x.addOrSubtractGF(h,y)}),h;h=this.coefficients[0];for(var p=1;p<E;p++)h=x.addOrSubtractGF(this.field.multiply(f,h),this.coefficients[p]);return h},c})();i.default=u}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(4),u=o(5),c=o(11),f=o(12);function h(y){var C=f.locate(y);if(!C)return null;for(var A=0,b=C;A<b.length;A++){var v=b[A],k=c.extract(y,v),L=u.decode(k.matrix);if(L)return{binaryData:L.bytes,data:L.text,chunks:L.chunks,version:L.version,location:{topRightCorner:k.mappingFunction(v.dimension,0),topLeftCorner:k.mappingFunction(0,0),bottomRightCorner:k.mappingFunction(v.dimension,v.dimension),bottomLeftCorner:k.mappingFunction(0,v.dimension),topRightFinderPattern:v.topRight,topLeftFinderPattern:v.topLeft,bottomLeftFinderPattern:v.bottomLeft,bottomRightAlignmentPattern:v.alignmentPattern}}}return null}var E={inversionAttempts:"attemptBoth"};function p(y,C,A,b){b===void 0&&(b={});var v=E;Object.keys(v||{}).forEach(function(_){v[_]=b[_]||v[_]});var k=v.inversionAttempts==="attemptBoth"||v.inversionAttempts==="invertFirst",L=v.inversionAttempts==="onlyInvert"||v.inversionAttempts==="invertFirst",w=x.binarize(y,C,A,k),j=w.binarized,O=w.inverted,F=h(L?O:j);return!F&&(v.inversionAttempts==="attemptBoth"||v.inversionAttempts==="invertFirst")&&(F=h(L?j:O)),F}p.default=p,i.default=p}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(0),u=8,c=24;function f(p,y,C){return p<y?y:p>C?C:p}var h=(function(){function p(y,C){this.width=y,this.data=new Uint8ClampedArray(y*C)}return p.prototype.get=function(y,C){return this.data[C*this.width+y]},p.prototype.set=function(y,C,A){this.data[C*this.width+y]=A},p})();function E(p,y,C,A){if(p.length!==y*C*4)throw new Error("Malformed data passed to binarizer.");for(var b=new h(y,C),v=0;v<y;v++)for(var k=0;k<C;k++){var L=p[(k*y+v)*4+0],w=p[(k*y+v)*4+1],j=p[(k*y+v)*4+2];b.set(v,k,.2126*L+.7152*w+.0722*j)}for(var O=Math.ceil(y/u),F=Math.ceil(C/u),_=new h(O,F),z=0;z<F;z++)for(var $=0;$<O;$++){for(var N=0,G=1/0,K=0,k=0;k<u;k++)for(var v=0;v<u;v++){var se=b.get($*u+v,z*u+k);N+=se,G=Math.min(G,se),K=Math.max(K,se)}var te=N/Math.pow(u,2);if(K-G<=c&&(te=G/2,z>0&&$>0)){var I=(_.get($,z-1)+2*_.get($-1,z)+_.get($-1,z-1))/4;G<I&&(te=I)}_.set($,z,te)}var U=x.BitMatrix.createEmpty(y,C),Y=null;A&&(Y=x.BitMatrix.createEmpty(y,C));for(var z=0;z<F;z++)for(var $=0;$<O;$++){for(var re=f($,2,O-3),he=f(z,2,F-3),N=0,S=-2;S<=2;S++)for(var R=-2;R<=2;R++)N+=_.get(re+S,he+R);for(var W=N/25,S=0;S<u;S++)for(var R=0;R<u;R++){var v=$*u+S,k=z*u+R,T=b.get(v,k);U.set(v,k,T<=W),A&&Y.set(v,k,!(T<=W))}}return A?{binarized:U,inverted:Y}:{binarized:U}}i.binarize=E}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(0),u=o(6),c=o(9),f=o(10);function h(j,O){for(var F=j^O,_=0;F;)_++,F&=F-1;return _}function E(j,O){return O<<1|j}var p=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],y=[function(j){return(j.y+j.x)%2===0},function(j){return j.y%2===0},function(j){return j.x%3===0},function(j){return(j.y+j.x)%3===0},function(j){return(Math.floor(j.y/2)+Math.floor(j.x/3))%2===0},function(j){return j.x*j.y%2+j.x*j.y%3===0},function(j){return(j.y*j.x%2+j.y*j.x%3)%2===0},function(j){return((j.y+j.x)%2+j.y*j.x%3)%2===0}];function C(j){var O=17+4*j.versionNumber,F=x.BitMatrix.createEmpty(O,O);F.setRegion(0,0,9,9,!0),F.setRegion(O-8,0,8,9,!0),F.setRegion(0,O-8,9,8,!0);for(var _=0,z=j.alignmentPatternCenters;_<z.length;_++)for(var $=z[_],N=0,G=j.alignmentPatternCenters;N<G.length;N++){var K=G[N];$===6&&K===6||$===6&&K===O-7||$===O-7&&K===6||F.setRegion($-2,K-2,5,5,!0)}return F.setRegion(6,9,1,O-17,!0),F.setRegion(9,6,O-17,1,!0),j.versionNumber>6&&(F.setRegion(O-11,0,3,6,!0),F.setRegion(0,O-11,6,3,!0)),F}function A(j,O,F){for(var _=y[F.dataMask],z=j.height,$=C(O),N=[],G=0,K=0,se=!0,te=z-1;te>0;te-=2){te===6&&te--;for(var I=0;I<z;I++)for(var U=se?z-1-I:I,Y=0;Y<2;Y++){var re=te-Y;if(!$.get(re,U)){K++;var he=j.get(re,U);_({y:U,x:re})&&(he=!he),G=E(he,G),K===8&&(N.push(G),K=0,G=0)}}se=!se}return N}function b(j){var O=j.height,F=Math.floor((O-17)/4);if(F<=6)return f.VERSIONS[F-1];for(var _=0,z=5;z>=0;z--)for(var $=O-9;$>=O-11;$--)_=E(j.get($,z),_);for(var N=0,$=5;$>=0;$--)for(var z=O-9;z>=O-11;z--)N=E(j.get($,z),N);for(var G=1/0,K,se=0,te=f.VERSIONS;se<te.length;se++){var I=te[se];if(I.infoBits===_||I.infoBits===N)return I;var U=h(_,I.infoBits);U<G&&(K=I,G=U),U=h(N,I.infoBits),U<G&&(K=I,G=U)}if(G<=3)return K}function v(j){for(var O=0,F=0;F<=8;F++)F!==6&&(O=E(j.get(F,8),O));for(var _=7;_>=0;_--)_!==6&&(O=E(j.get(8,_),O));for(var z=j.height,$=0,_=z-1;_>=z-7;_--)$=E(j.get(8,_),$);for(var F=z-8;F<z;F++)$=E(j.get(F,8),$);for(var N=1/0,G=null,K=0,se=p;K<se.length;K++){var te=se[K],I=te.bits,U=te.formatInfo;if(I===O||I===$)return U;var Y=h(O,I);Y<N&&(G=U,N=Y),O!==$&&(Y=h($,I),Y<N&&(G=U,N=Y))}return N<=3?G:null}function k(j,O,F){var _=O.errorCorrectionLevels[F],z=[],$=0;if(_.ecBlocks.forEach(function(he){for(var S=0;S<he.numBlocks;S++)z.push({numDataCodewords:he.dataCodewordsPerBlock,codewords:[]}),$+=he.dataCodewordsPerBlock+_.ecCodewordsPerBlock}),j.length<$)return null;j=j.slice(0,$);for(var N=_.ecBlocks[0].dataCodewordsPerBlock,G=0;G<N;G++)for(var K=0,se=z;K<se.length;K++){var te=se[K];te.codewords.push(j.shift())}if(_.ecBlocks.length>1)for(var I=_.ecBlocks[0].numBlocks,U=_.ecBlocks[1].numBlocks,G=0;G<U;G++)z[I+G].codewords.push(j.shift());for(;j.length>0;)for(var Y=0,re=z;Y<re.length;Y++){var te=re[Y];te.codewords.push(j.shift())}return z}function L(j){var O=b(j);if(!O)return null;var F=v(j);if(!F)return null;var _=A(j,O,F),z=k(_,O,F.errorCorrectionLevel);if(!z)return null;for(var $=z.reduce(function(Y,re){return Y+re.numDataCodewords},0),N=new Uint8ClampedArray($),G=0,K=0,se=z;K<se.length;K++){var te=se[K],I=c.decode(te.codewords,te.codewords.length-te.numDataCodewords);if(!I)return null;for(var U=0;U<te.numDataCodewords;U++)N[G++]=I[U]}try{return u.decode(N,O.versionNumber)}catch{return null}}function w(j){if(j==null)return null;var O=L(j);if(O)return O;for(var F=0;F<j.width;F++)for(var _=F+1;_<j.height;_++)j.get(F,_)!==j.get(_,F)&&(j.set(F,_,!j.get(F,_)),j.set(_,F,!j.get(_,F)));return L(j)}i.decode=w}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(7),u=o(8),c;(function(b){b.Numeric="numeric",b.Alphanumeric="alphanumeric",b.Byte="byte",b.Kanji="kanji",b.ECI="eci"})(c=i.Mode||(i.Mode={}));var f;(function(b){b[b.Terminator=0]="Terminator",b[b.Numeric=1]="Numeric",b[b.Alphanumeric=2]="Alphanumeric",b[b.Byte=4]="Byte",b[b.Kanji=8]="Kanji",b[b.ECI=7]="ECI"})(f||(f={}));function h(b,v){for(var k=[],L="",w=[10,12,14][v],j=b.readBits(w);j>=3;){var O=b.readBits(10);if(O>=1e3)throw new Error("Invalid numeric value above 999");var F=Math.floor(O/100),_=Math.floor(O/10)%10,z=O%10;k.push(48+F,48+_,48+z),L+=F.toString()+_.toString()+z.toString(),j-=3}if(j===2){var O=b.readBits(7);if(O>=100)throw new Error("Invalid numeric value above 99");var F=Math.floor(O/10),_=O%10;k.push(48+F,48+_),L+=F.toString()+_.toString()}else if(j===1){var O=b.readBits(4);if(O>=10)throw new Error("Invalid numeric value above 9");k.push(48+O),L+=O.toString()}return{bytes:k,text:L}}var E=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function p(b,v){for(var k=[],L="",w=[9,11,13][v],j=b.readBits(w);j>=2;){var O=b.readBits(11),F=Math.floor(O/45),_=O%45;k.push(E[F].charCodeAt(0),E[_].charCodeAt(0)),L+=E[F]+E[_],j-=2}if(j===1){var F=b.readBits(6);k.push(E[F].charCodeAt(0)),L+=E[F]}return{bytes:k,text:L}}function y(b,v){for(var k=[],L="",w=[8,16,16][v],j=b.readBits(w),O=0;O<j;O++){var F=b.readBits(8);k.push(F)}try{L+=decodeURIComponent(k.map(function(_){return"%"+("0"+_.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:k,text:L}}function C(b,v){for(var k=[],L="",w=[8,10,12][v],j=b.readBits(w),O=0;O<j;O++){var F=b.readBits(13),_=Math.floor(F/192)<<8|F%192;_<7936?_+=33088:_+=49472,k.push(_>>8,_&255),L+=String.fromCharCode(u.shiftJISTable[_])}return{bytes:k,text:L}}function A(b,v){for(var k,L,w,j,O=new x.BitStream(b),F=v<=9?0:v<=26?1:2,_={text:"",bytes:[],chunks:[],version:v};O.available()>=4;){var z=O.readBits(4);if(z===f.Terminator)return _;if(z===f.ECI)O.readBits(1)===0?_.chunks.push({type:c.ECI,assignmentNumber:O.readBits(7)}):O.readBits(1)===0?_.chunks.push({type:c.ECI,assignmentNumber:O.readBits(14)}):O.readBits(1)===0?_.chunks.push({type:c.ECI,assignmentNumber:O.readBits(21)}):_.chunks.push({type:c.ECI,assignmentNumber:-1});else if(z===f.Numeric){var $=h(O,F);_.text+=$.text,(k=_.bytes).push.apply(k,$.bytes),_.chunks.push({type:c.Numeric,text:$.text})}else if(z===f.Alphanumeric){var N=p(O,F);_.text+=N.text,(L=_.bytes).push.apply(L,N.bytes),_.chunks.push({type:c.Alphanumeric,text:N.text})}else if(z===f.Byte){var G=y(O,F);_.text+=G.text,(w=_.bytes).push.apply(w,G.bytes),_.chunks.push({type:c.Byte,bytes:G.bytes,text:G.text})}else if(z===f.Kanji){var K=C(O,F);_.text+=K.text,(j=_.bytes).push.apply(j,K.bytes),_.chunks.push({type:c.Kanji,bytes:K.bytes,text:K.text})}}if(O.available()===0||O.readBits(O.available())===0)return _}i.decode=A}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=(function(){function u(c){this.byteOffset=0,this.bitOffset=0,this.bytes=c}return u.prototype.readBits=function(c){if(c<1||c>32||c>this.available())throw new Error("Cannot read "+c.toString()+" bits");var f=0;if(this.bitOffset>0){var h=8-this.bitOffset,E=c<h?c:h,p=h-E,y=255>>8-E<<p;f=(this.bytes[this.byteOffset]&y)>>p,c-=E,this.bitOffset+=E,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(c>0){for(;c>=8;)f=f<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,c-=8;if(c>0){var p=8-c,y=255>>p<<p;f=f<<c|(this.bytes[this.byteOffset]&y)>>p,this.bitOffset+=c}}return f},u.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},u})();i.BitStream=x}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0}),i.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(1),u=o(2);function c(p,y,C,A){var b;y.degree()<C.degree()&&(b=[C,y],y=b[0],C=b[1]);for(var v=y,k=C,L=p.zero,w=p.one;k.degree()>=A/2;){var j=v,O=L;if(v=k,L=w,v.isZero())return null;k=j;for(var F=p.zero,_=v.getCoefficient(v.degree()),z=p.inverse(_);k.degree()>=v.degree()&&!k.isZero();){var $=k.degree()-v.degree(),N=p.multiply(k.getCoefficient(k.degree()),z);F=F.addOrSubtract(p.buildMonomial($,N)),k=k.addOrSubtract(v.multiplyByMonomial($,N))}if(w=F.multiplyPoly(L).addOrSubtract(O),k.degree()>=v.degree())return null}var G=w.getCoefficient(0);if(G===0)return null;var K=p.inverse(G);return[w.multiply(K),k.multiply(K)]}function f(p,y){var C=y.degree();if(C===1)return[y.getCoefficient(1)];for(var A=new Array(C),b=0,v=1;v<p.size&&b<C;v++)y.evaluateAt(v)===0&&(A[b]=p.inverse(v),b++);return b!==C?null:A}function h(p,y,C){for(var A=C.length,b=new Array(A),v=0;v<A;v++){for(var k=p.inverse(C[v]),L=1,w=0;w<A;w++)v!==w&&(L=p.multiply(L,x.addOrSubtractGF(1,p.multiply(C[w],k))));b[v]=p.multiply(y.evaluateAt(k),p.inverse(L)),p.generatorBase!==0&&(b[v]=p.multiply(b[v],k))}return b}function E(p,y){var C=new Uint8ClampedArray(p.length);C.set(p);for(var A=new x.default(285,256,0),b=new u.default(A,C),v=new Uint8ClampedArray(y),k=!1,L=0;L<y;L++){var w=b.evaluateAt(A.exp(L+A.generatorBase));v[v.length-1-L]=w,w!==0&&(k=!0)}if(!k)return C;var j=new u.default(A,v),O=c(A,A.buildMonomial(y,1),j,y);if(O===null)return null;var F=f(A,O[0]);if(F==null)return null;for(var _=h(A,O[1],F),z=0;z<F.length;z++){var $=C.length-1-A.log(F[z]);if($<0)return null;C[$]=x.addOrSubtractGF(C[$],_[z])}return C}i.decode=E}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0}),i.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=o(0);function u(E,p,y,C){var A=E.x-p.x+y.x-C.x,b=E.y-p.y+y.y-C.y;if(A===0&&b===0)return{a11:p.x-E.x,a12:p.y-E.y,a13:0,a21:y.x-p.x,a22:y.y-p.y,a23:0,a31:E.x,a32:E.y,a33:1};var v=p.x-y.x,k=C.x-y.x,L=p.y-y.y,w=C.y-y.y,j=v*w-k*L,O=(A*w-k*b)/j,F=(v*b-A*L)/j;return{a11:p.x-E.x+O*p.x,a12:p.y-E.y+O*p.y,a13:O,a21:C.x-E.x+F*C.x,a22:C.y-E.y+F*C.y,a23:F,a31:E.x,a32:E.y,a33:1}}function c(E,p,y,C){var A=u(E,p,y,C);return{a11:A.a22*A.a33-A.a23*A.a32,a12:A.a13*A.a32-A.a12*A.a33,a13:A.a12*A.a23-A.a13*A.a22,a21:A.a23*A.a31-A.a21*A.a33,a22:A.a11*A.a33-A.a13*A.a31,a23:A.a13*A.a21-A.a11*A.a23,a31:A.a21*A.a32-A.a22*A.a31,a32:A.a12*A.a31-A.a11*A.a32,a33:A.a11*A.a22-A.a12*A.a21}}function f(E,p){return{a11:E.a11*p.a11+E.a21*p.a12+E.a31*p.a13,a12:E.a12*p.a11+E.a22*p.a12+E.a32*p.a13,a13:E.a13*p.a11+E.a23*p.a12+E.a33*p.a13,a21:E.a11*p.a21+E.a21*p.a22+E.a31*p.a23,a22:E.a12*p.a21+E.a22*p.a22+E.a32*p.a23,a23:E.a13*p.a21+E.a23*p.a22+E.a33*p.a23,a31:E.a11*p.a31+E.a21*p.a32+E.a31*p.a33,a32:E.a12*p.a31+E.a22*p.a32+E.a32*p.a33,a33:E.a13*p.a31+E.a23*p.a32+E.a33*p.a33}}function h(E,p){for(var y=c({x:3.5,y:3.5},{x:p.dimension-3.5,y:3.5},{x:p.dimension-6.5,y:p.dimension-6.5},{x:3.5,y:p.dimension-3.5}),C=u(p.topLeft,p.topRight,p.alignmentPattern,p.bottomLeft),A=f(C,y),b=x.BitMatrix.createEmpty(p.dimension,p.dimension),v=function(F,_){var z=A.a13*F+A.a23*_+A.a33;return{x:(A.a11*F+A.a21*_+A.a31)/z,y:(A.a12*F+A.a22*_+A.a32)/z}},k=0;k<p.dimension;k++)for(var L=0;L<p.dimension;L++){var w=L+.5,j=k+.5,O=v(w,j);b.set(L,k,E.get(Math.floor(O.x),Math.floor(O.y)))}return{matrix:b,mappingFunction:v}}i.extract=h}),(function(a,i,o){Object.defineProperty(i,"__esModule",{value:!0});var x=4,u=.5,c=1.5,f=function(w,j){return Math.sqrt(Math.pow(j.x-w.x,2)+Math.pow(j.y-w.y,2))};function h(w){return w.reduce(function(j,O){return j+O})}function E(w,j,O){var F,_,z,$,N=f(w,j),G=f(j,O),K=f(w,O),se,te,I;return G>=N&&G>=K?(F=[j,w,O],se=F[0],te=F[1],I=F[2]):K>=G&&K>=N?(_=[w,j,O],se=_[0],te=_[1],I=_[2]):(z=[w,O,j],se=z[0],te=z[1],I=z[2]),(I.x-te.x)*(se.y-te.y)-(I.y-te.y)*(se.x-te.x)<0&&($=[I,se],se=$[0],I=$[1]),{bottomLeft:se,topLeft:te,topRight:I}}function p(w,j,O,F){var _=(h(C(w,O,F,5))/7+h(C(w,j,F,5))/7+h(C(O,w,F,5))/7+h(C(j,w,F,5))/7)/4;if(_<1)throw new Error("Invalid module size");var z=Math.round(f(w,j)/_),$=Math.round(f(w,O)/_),N=Math.floor((z+$)/2)+7;switch(N%4){case 0:N++;break;case 2:N--;break}return{dimension:N,moduleSize:_}}function y(w,j,O,F){var _=[{x:Math.floor(w.x),y:Math.floor(w.y)}],z=Math.abs(j.y-w.y)>Math.abs(j.x-w.x),$,N,G,K;z?($=Math.floor(w.y),N=Math.floor(w.x),G=Math.floor(j.y),K=Math.floor(j.x)):($=Math.floor(w.x),N=Math.floor(w.y),G=Math.floor(j.x),K=Math.floor(j.y));for(var se=Math.abs(G-$),te=Math.abs(K-N),I=Math.floor(-se/2),U=$<G?1:-1,Y=N<K?1:-1,re=!0,he=$,S=N;he!==G+U;he+=U){var R=z?S:he,W=z?he:S;if(O.get(R,W)!==re&&(re=!re,_.push({x:R,y:W}),_.length===F+1))break;if(I+=te,I>0){if(S===K)break;S+=Y,I-=se}}for(var T=[],ae=0;ae<F;ae++)_[ae]&&_[ae+1]?T.push(f(_[ae],_[ae+1])):T.push(0);return T}function C(w,j,O,F){var _,z=j.y-w.y,$=j.x-w.x,N=y(w,j,O,Math.ceil(F/2)),G=y(w,{x:w.x-$,y:w.y-z},O,Math.ceil(F/2)),K=N.shift()+G.shift()-1;return(_=G.concat(K)).concat.apply(_,N)}function A(w,j){var O=h(w)/h(j),F=0;return j.forEach(function(_,z){F+=Math.pow(w[z]-_*O,2)}),{averageSize:O,error:F}}function b(w,j,O){try{var F=C(w,{x:-1,y:w.y},O,j.length),_=C(w,{x:w.x,y:-1},O,j.length),z={x:Math.max(0,w.x-w.y)-1,y:Math.max(0,w.y-w.x)-1},$=C(w,z,O,j.length),N={x:Math.min(O.width,w.x+w.y)+1,y:Math.min(O.height,w.y+w.x)+1},G=C(w,N,O,j.length),K=A(F,j),se=A(_,j),te=A($,j),I=A(G,j),U=Math.sqrt(K.error*K.error+se.error*se.error+te.error*te.error+I.error*I.error),Y=(K.averageSize+se.averageSize+te.averageSize+I.averageSize)/4,re=(Math.pow(K.averageSize-Y,2)+Math.pow(se.averageSize-Y,2)+Math.pow(te.averageSize-Y,2)+Math.pow(I.averageSize-Y,2))/Y;return U+re}catch{return 1/0}}function v(w,j){for(var O=Math.round(j.x);w.get(O,Math.round(j.y));)O--;for(var F=Math.round(j.x);w.get(F,Math.round(j.y));)F++;for(var _=(O+F)/2,z=Math.round(j.y);w.get(Math.round(_),z);)z--;for(var $=Math.round(j.y);w.get(Math.round(_),$);)$++;var N=(z+$)/2;return{x:_,y:N}}function k(w){for(var j=[],O=[],F=[],_=[],z=function(R){for(var W=0,T=!1,ae=[0,0,0,0,0],de=function(H){var Ce=w.get(H,R);if(Ce===T)W++;else{ae=[ae[1],ae[2],ae[3],ae[4],W],W=1,T=Ce;var ce=h(ae)/7,Te=Math.abs(ae[0]-ce)<ce&&Math.abs(ae[1]-ce)<ce&&Math.abs(ae[2]-3*ce)<3*ce&&Math.abs(ae[3]-ce)<ce&&Math.abs(ae[4]-ce)<ce&&!Ce,Ge=h(ae.slice(-3))/3,Ke=Math.abs(ae[2]-Ge)<Ge&&Math.abs(ae[3]-Ge)<Ge&&Math.abs(ae[4]-Ge)<Ge&&Ce;if(Te){var Wt=H-ae[3]-ae[4],ft=Wt-ae[2],Ut={startX:ft,endX:Wt,y:R},hn=O.filter(function(vt){return ft>=vt.bottom.startX&&ft<=vt.bottom.endX||Wt>=vt.bottom.startX&&ft<=vt.bottom.endX||ft<=vt.bottom.startX&&Wt>=vt.bottom.endX&&ae[2]/(vt.bottom.endX-vt.bottom.startX)<c&&ae[2]/(vt.bottom.endX-vt.bottom.startX)>u});hn.length>0?hn[0].bottom=Ut:O.push({top:Ut,bottom:Ut})}if(Ke){var Gn=H-ae[4],Rn=Gn-ae[3],Ut={startX:Rn,y:R,endX:Gn},hn=_.filter(function(Nt){return Rn>=Nt.bottom.startX&&Rn<=Nt.bottom.endX||Gn>=Nt.bottom.startX&&Rn<=Nt.bottom.endX||Rn<=Nt.bottom.startX&&Gn>=Nt.bottom.endX&&ae[2]/(Nt.bottom.endX-Nt.bottom.startX)<c&&ae[2]/(Nt.bottom.endX-Nt.bottom.startX)>u});hn.length>0?hn[0].bottom=Ut:_.push({top:Ut,bottom:Ut})}}},ue=-1;ue<=w.width;ue++)de(ue);j.push.apply(j,O.filter(function(H){return H.bottom.y!==R&&H.bottom.y-H.top.y>=2})),O=O.filter(function(H){return H.bottom.y===R}),F.push.apply(F,_.filter(function(H){return H.bottom.y!==R})),_=_.filter(function(H){return H.bottom.y===R})},$=0;$<=w.height;$++)z($);j.push.apply(j,O.filter(function(R){return R.bottom.y-R.top.y>=2})),F.push.apply(F,_);var N=j.filter(function(R){return R.bottom.y-R.top.y>=2}).map(function(R){var W=(R.top.startX+R.top.endX+R.bottom.startX+R.bottom.endX)/4,T=(R.top.y+R.bottom.y+1)/2;if(w.get(Math.round(W),Math.round(T))){var ae=[R.top.endX-R.top.startX,R.bottom.endX-R.bottom.startX,R.bottom.y-R.top.y+1],de=h(ae)/ae.length,ue=b({x:Math.round(W),y:Math.round(T)},[1,1,3,1,1],w);return{score:ue,x:W,y:T,size:de}}}).filter(function(R){return!!R}).sort(function(R,W){return R.score-W.score}).map(function(R,W,T){if(W>x)return null;var ae=T.filter(function(ue,H){return W!==H}).map(function(ue){return{x:ue.x,y:ue.y,score:ue.score+Math.pow(ue.size-R.size,2)/R.size,size:ue.size}}).sort(function(ue,H){return ue.score-H.score});if(ae.length<2)return null;var de=R.score+ae[0].score+ae[1].score;return{points:[R].concat(ae.slice(0,2)),score:de}}).filter(function(R){return!!R}).sort(function(R,W){return R.score-W.score});if(N.length===0)return null;var G=E(N[0].points[0],N[0].points[1],N[0].points[2]),K=G.topRight,se=G.topLeft,te=G.bottomLeft,I=L(w,F,K,se,te),U=[];I&&U.push({alignmentPattern:{x:I.alignmentPattern.x,y:I.alignmentPattern.y},bottomLeft:{x:te.x,y:te.y},dimension:I.dimension,topLeft:{x:se.x,y:se.y},topRight:{x:K.x,y:K.y}});var Y=v(w,K),re=v(w,se),he=v(w,te),S=L(w,F,Y,re,he);return S&&U.push({alignmentPattern:{x:S.alignmentPattern.x,y:S.alignmentPattern.y},bottomLeft:{x:he.x,y:he.y},topLeft:{x:re.x,y:re.y},topRight:{x:Y.x,y:Y.y},dimension:S.dimension}),U.length===0?null:U}i.locate=k;function L(w,j,O,F,_){var z,$,N;try{z=p(F,O,_,w),$=z.dimension,N=z.moduleSize}catch{return null}var G={x:O.x-F.x+_.x,y:O.y-F.y+_.y},K=(f(F,_)+f(F,O))/2/N,se=1-3/K,te={x:F.x+se*(G.x-F.x),y:F.y+se*(G.y-F.y)},I=j.map(function(Y){var re=(Y.top.startX+Y.top.endX+Y.bottom.startX+Y.bottom.endX)/4,he=(Y.top.y+Y.bottom.y+1)/2;if(w.get(Math.floor(re),Math.floor(he))){var S=[Y.top.endX-Y.top.startX,Y.bottom.endX-Y.bottom.startX,Y.bottom.y-Y.top.y+1];h(S)/S.length;var R=b({x:Math.floor(re),y:Math.floor(he)},[1,1,1],w),W=R+f({x:re,y:he},te);return{x:re,y:he,score:W}}}).filter(function(Y){return!!Y}).sort(function(Y,re){return Y.score-re.score}),U=K>=15&&I.length?I[0]:te;return{alignmentPattern:U,dimension:$}}})]).default})})(bo)),bo.exports}var GT=VT();const QT=Lo(GT);function YT({onResult:e,onClose:r}){const a=M.useRef(null),[i,o]=M.useState(null);return M.useEffect(()=>{let x=null,u=0,c=!1;const f=document.createElement("canvas"),h=f.getContext("2d",{willReadFrequently:!0}),E=()=>{const p=a.current;if(!(c||!p||!h)){if(p.readyState>=p.HAVE_ENOUGH_DATA&&p.videoWidth){f.width=p.videoWidth,f.height=p.videoHeight,h.drawImage(p,0,0,f.width,f.height);const{data:y,width:C,height:A}=h.getImageData(0,0,f.width,f.height),b=QT(y,C,A,{inversionAttempts:"dontInvert"});if(b?.data){c=!0,e(b.data);return}}u=requestAnimationFrame(E)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(p=>{if(c){for(const C of p.getTracks())C.stop();return}x=p;const y=a.current;y&&(y.srcObject=p,y.play(),u=requestAnimationFrame(E))}).catch(p=>o(XT(p))),()=>{if(c=!0,cancelAnimationFrame(u),x)for(const p of x.getTracks())p.stop()}},[e]),g.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[g.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),g.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:g.jsx("div",{className:"size-60 max-w-[70vw] rounded-3xl border-2 border-white/80 shadow-[0_0_0_100vmax_rgba(0,0,0,0.5)]"})}),g.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[g.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),g.jsx("button",{type:"button",onClick:r,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:g.jsx($n,{size:20})})]}),i?g.jsx("div",{className:"pb-safe absolute inset-x-0 bottom-0 bg-black/75 p-4 text-center text-sm leading-relaxed text-white",children:i}):null]})}function XT(e){const r=e instanceof DOMException?e.name:"";return r==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":r==="NotFoundError"||r==="OverconstrainedError"?"No camera found — paste the token instead.":window.isSecureContext?`Camera unavailable (${e instanceof Error?e.message:String(e)}). Paste the token instead.`:"The camera needs HTTPS. Open the relay’s https:// URL, or paste the token."}function KT(){const e=De(h=>h.setToken),[r,a]=M.useState(""),[i,o]=M.useState(!1),[x,u]=M.useState(!1),c=h=>{const E=fb(h);u(!1),E?e(E):o(!0)},f=h=>{h.preventDefault(),c(r)};return x?g.jsx(YT,{onResult:c,onClose:()=>u(!1)}):g.jsxs("div",{className:"pt-safe pb-safe flex h-full flex-col items-center justify-center gap-5 overflow-y-auto px-8 text-center",children:[g.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),g.jsxs("div",{children:[g.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),g.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),g.jsxs("p",{className:"max-w-xs text-sm leading-relaxed text-muted",children:["Open the URL the relay printed on startup — it carries your access token (",g.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",g.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),g.jsxs("form",{onSubmit:f,className:"flex w-full max-w-xs flex-col gap-2",children:[g.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:r,onChange:h=>{a(h.target.value),o(!1)},placeholder:"Paste token or URL","aria-label":"Access token or URL",className:"rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-center font-mono text-base text-text placeholder:font-sans placeholder:text-faint"}),g.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),g.jsxs("button",{type:"button",onClick:()=>{o(!1),u(!0)},className:"pill justify-center gap-2 py-2.5",children:[g.jsx(R2,{size:16}),"Scan QR"]}),i?g.jsx("p",{className:"text-xs",style:{color:"var(--color-del)"},children:"Couldn’t find a token in that — paste the token or the full URL, or scan the QR."}):null]}),g.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",g.jsx("span",{className:"font-mono",children:"yarn service status"})," on your Mac to reprint the QR, then scan it above — no need to retype anything."]})]})}const Rl=new Uint8Array(512),fc=new Uint8Array(256);let yl=1;for(let e=0;e<255;e++)Rl[e]=yl,fc[yl]=e,yl<<=1,yl&256&&(yl^=285);for(let e=255;e<512;e++)Rl[e]=Rl[e-255];function Rm(e,r){return e===0||r===0?0:Rl[fc[e]+fc[r]]}function ZT(e){let r=[1];for(let a=0;a<e;a++){const i=new Array(r.length+1).fill(0);for(let o=0;o<r.length;o++)i[o]^=r[o],i[o+1]^=Rm(r[o],Rl[a]);r=i}return r}function JT(e,r){const a=ZT(r),i=new Array(r).fill(0);for(const o of e){const x=o^i[0];if(i.shift(),i.push(0),x!==0)for(let u=0;u<r;u++)i[u]^=Rm(a[u+1],x)}return i}const tf={1:{align:[],ec:10,groups:[[1,16]]},2:{align:[6,18],ec:16,groups:[[1,28]]},3:{align:[6,22],ec:26,groups:[[1,44]]},4:{align:[6,26],ec:18,groups:[[2,32]]},5:{align:[6,30],ec:24,groups:[[2,43]]},6:{align:[6,34],ec:16,groups:[[4,27]]},7:{align:[6,22,38],ec:18,groups:[[4,31]]},8:{align:[6,24,42],ec:22,groups:[[2,38],[2,39]]},9:{align:[6,26,46],ec:22,groups:[[3,36],[2,37]]},10:{align:[6,28,50],ec:26,groups:[[4,43],[1,44]]}};function V8(e){return tf[e].groups.reduce((r,[a,i])=>r+a*i,0)}function G8(e){return e<=9?8:16}function Bl(e,r,a){for(let i=a-1;i>=0;i--)e.push(r>>i&1)}function WT(e){const r=Array.from(new TextEncoder().encode(e));let a=0;for(let A=1;A<=10;A++)if(4+G8(A)+8*r.length<=V8(A)*8){a=A;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${r.length} bytes)`);const i=V8(a)*8,o=[];Bl(o,4,4),Bl(o,r.length,G8(a));for(const A of r)Bl(o,A,8);for(let A=0,b=Math.min(4,i-o.length);A<b;A++)o.push(0);for(;o.length%8!==0;)o.push(0);const x=[236,17];for(let A=0;o.length<i;A++)Bl(o,x[A%2],8);const u=[];for(let A=0;A<o.length;A+=8){let b=0;for(let v=0;v<8;v++)b=b<<1|o[A+v];u.push(b)}const{ec:c,groups:f}=tf[a],h=[];let E=0;for(const[A,b]of f)for(let v=0;v<A;v++){const k=u.slice(E,E+b);E+=b,h.push({data:k,ec:JT(k,c)})}const p=[],y=Math.max(...h.map(A=>A.data.length));for(let A=0;A<y;A++)for(const b of h)A<b.data.length&&p.push(b.data[A]);for(let A=0;A<c;A++)for(const b of h)p.push(b.ec[A]);const C=[];for(const A of p)Bl(C,A,8);return{version:a,bits:C}}function e_(e,r){const a=e*4+17,i=Array.from({length:a},()=>new Array(a).fill(!1)),o=Array.from({length:a},()=>new Array(a).fill(!1)),x=(p,y)=>{for(let C=-1;C<=7;C++)for(let A=-1;A<=7;A++){const b=p+C,v=y+A;if(b<0||b>=a||v<0||v>=a)continue;const k=C>=0&&C<=6&&(A===0||A===6)||A>=0&&A<=6&&(C===0||C===6),L=C>=2&&C<=4&&A>=2&&A<=4;i[b][v]=k||L,o[b][v]=!0}};x(0,0),x(0,a-7),x(a-7,0);for(let p=8;p<a-8;p++){const y=p%2===0;o[6][p]||(i[6][p]=y,o[6][p]=!0),o[p][6]||(i[p][6]=y,o[p][6]=!0)}const u=tf[e].align;for(let p=0;p<u.length;p++)for(let y=0;y<u.length;y++){if(p===0&&y===0||p===0&&y===u.length-1||p===u.length-1&&y===0)continue;const A=u[p],b=u[y];for(let v=-2;v<=2;v++)for(let k=-2;k<=2;k++)i[A+v][b+k]=Math.max(Math.abs(v),Math.abs(k))!==1,o[A+v][b+k]=!0}for(let p=0;p<=8;p++)p!==6&&(o[8][p]=!0,o[p][8]=!0);for(let p=0;p<8;p++)o[8][a-1-p]=!0,o[a-1-p][8]=!0;if(o[a-8][8]=!0,e>=7)for(let p=0;p<18;p++){const y=a-11+p%3,C=Math.floor(p/3);o[C][y]=!0,o[y][C]=!0}let c=0,f=!0;for(let p=a-1;p>0;p-=2){p===6&&p--;for(let y=0;y<a;y++){const C=f?a-1-y:y;for(let A=0;A<2;A++){const b=p-A;o[C][b]||(i[C][b]=c<r.length?r[c]===1:!1,c++)}}f=!f}e>=7&&r_(i,e,a);let h=null,E=Number.POSITIVE_INFINITY;for(let p=0;p<8;p++){const y=i.map(A=>A.slice());for(let A=0;A<a;A++)for(let b=0;b<a;b++)!o[A][b]&&t_(p,A,b)&&(y[A][b]=!y[A][b]);n_(y,p,a);const C=a_(y);C<E&&(E=C,h=y)}return h}function t_(e,r,a){switch(e){case 0:return(r+a)%2===0;case 1:return r%2===0;case 2:return a%3===0;case 3:return(r+a)%3===0;case 4:return(Math.floor(r/2)+Math.floor(a/3))%2===0;case 5:return r*a%2+r*a%3===0;case 6:return(r*a%2+r*a%3)%2===0;default:return((r+a)%2+r*a%3)%2===0}}function n_(e,r,a){const i=0|r;let o=i;for(let c=0;c<10;c++)o=o<<1^(o>>9&1?1335:0);const x=((i<<10|o&1023)^21522)&32767,u=c=>(x>>c&1)===1;for(let c=0;c<=5;c++)e[c][8]=u(c);e[7][8]=u(6),e[8][8]=u(7),e[8][7]=u(8);for(let c=9;c<15;c++)e[8][14-c]=u(c);for(let c=0;c<8;c++)e[8][a-1-c]=u(c);for(let c=8;c<15;c++)e[a-15+c][8]=u(c);e[a-8][8]=!0}function r_(e,r,a){let i=r;for(let x=0;x<12;x++)i=i<<1^(i>>11&1?7973:0);const o=r<<12|i&4095;for(let x=0;x<18;x++){const u=(o>>x&1)===1,c=a-11+x%3,f=Math.floor(x/3);e[f][c]=u,e[c][f]=u}}function a_(e){const r=e.length;let a=0;const i=f=>{let h=f(0),E=1;for(let p=1;p<r;p++)f(p)===h?E++:(E>=5&&(a+=E-2),h=f(p),E=1);E>=5&&(a+=E-2)};for(let f=0;f<r;f++)i(h=>e[f][h]);for(let f=0;f<r;f++)i(h=>e[h][f]);for(let f=0;f<r-1;f++)for(let h=0;h<r-1;h++){const E=e[f][h];E===e[f][h+1]&&E===e[f+1][h]&&E===e[f+1][h+1]&&(a+=3)}const o=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],x=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],u=(f,h,E)=>{for(let p=0;p<11;p++)if(f(h+p)!==E[p])return!1;return!0};for(let f=0;f<r;f++)for(let h=0;h<=r-11;h++)(u(E=>e[f][E],h,o)||u(E=>e[f][E],h,x))&&(a+=40);for(let f=0;f<r;f++)for(let h=0;h<=r-11;h++)(u(E=>e[E][f],h,o)||u(E=>e[E][f],h,x))&&(a+=40);let c=0;for(let f=0;f<r;f++)for(let h=0;h<r;h++)e[f][h]&&c++;return a+=Math.floor(Math.abs(c/(r*r)*100-50)/5)*10,a}function l_(e){const{version:r,bits:a}=WT(e);return e_(r,a)}function i_({text:e,size:r=220,className:a}){const i=l_(e),o=i.length,x=4,u=o+x*2;let c="";for(let f=0;f<o;f++)for(let h=0;h<o;h++)i[f][h]&&(c+=`M${h+x} ${f+x}h1v1h-1z`);return g.jsxs("svg",{width:r,height:r,viewBox:`0 0 ${u} ${u}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[g.jsx("title",{children:"QR code"}),g.jsx("rect",{width:u,height:u,fill:"#fff"}),g.jsx("path",{d:c,fill:"#000"})]})}function o_({version:e,onLogs:r,onClose:a}){const i=De(y=>y.token),o=De(y=>y.setToken),[x,u]=M.useState(!1),[c,f]=M.useState(!1),h=i?`${location.origin}/#token=${i}`:location.origin,E=!!e&&e!=="1.53.2",p=async()=>{try{await navigator.clipboard.writeText(h),u(!0),setTimeout(()=>u(!1),1500)}catch{}};return Hl.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Connect a device",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[85dvh] max-w-sm flex-col items-center gap-4 rounded-t-3xl border border-border-soft bg-surface p-5 shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[g.jsxs("div",{className:"flex w-full shrink-0 items-center justify-between",children:[g.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),g.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[g.jsx("button",{type:"button",onClick:()=>f(y=>!y),"aria-label":"Disconnect","aria-expanded":c,title:"Disconnect",className:Be("flex size-8 items-center justify-center rounded-full active:bg-surface-2",c?"bg-del/15 text-del":"text-del/80"),children:g.jsx(my,{size:17})}),g.jsx("button",{type:"button",onClick:a,"aria-label":"Close",className:"flex size-8 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx($n,{size:18})})]})]}),c?g.jsxs("div",{className:"fade-in w-full shrink-0 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[g.jsx("p",{className:"text-sm font-medium",children:"Disconnect this device?"}),g.jsx("p",{className:"mt-1 text-xs text-muted",children:"This forgets your access token. To get back in you’ll need the link or QR from the Mac running the relay — this screen can’t show it to you again."}),g.jsxs("div",{className:"mt-2.5 flex gap-2",children:[g.jsx("button",{type:"button",onClick:()=>f(!1),className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),g.jsx("button",{type:"button",onClick:()=>o(null),className:"flex-1 rounded-lg bg-del px-3 py-2 text-sm font-semibold text-black active:opacity-80",children:"Disconnect"})]})]}):null,g.jsxs("div",{className:"flex w-full min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto overscroll-contain",children:[g.jsx("p",{className:"text-center text-sm text-muted",children:"Scan on another phone, or re-add this to your home screen. The link carries your access token."}),g.jsx("div",{className:"shrink-0 rounded-2xl bg-white p-3",children:g.jsx(i_,{text:h,size:216})}),g.jsxs("button",{type:"button",onClick:p,className:"flex w-full shrink-0 items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-sm active:bg-surface",children:[x?g.jsx(hr,{size:16}):g.jsx(kc,{size:16}),x?"Copied":"Copy link"]}),g.jsx(s_,{}),g.jsx(u_,{}),g.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[g.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",g.jsxs("span",{className:E?"text-working":void 0,children:["app v","1.53.2"]}),E?" · update pending":""]}),g.jsx("button",{type:"button",onClick:r,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]})]}),document.body)}function s_(){const e=av(),r=e.permission==="denied",a=e.support!=="ok"||e.relayDisabled,i=e.relayDisabled?"Turned off on the relay (PUSH_NOTIFY=off).":e.support==="needs-install"?"Add this to your Home Screen first — iOS only allows notifications for installed apps.":e.support==="insecure"?"Needs a secure connection — open the app on its https:// Tailscale URL.":e.support==="unsupported"?"This browser can’t receive push notifications.":r?"Blocked for this app — allow notifications in your device settings, then come back.":e.enabled?`On for this device${e.devices>1?` · ${e.devices} devices subscribed`:""}.`:"Get a ping when an agent finishes its turn or hits an error.";return g.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(_2,{size:16,className:Be("shrink-0",e.enabled?"text-accent":"text-muted")}),g.jsx("span",{children:"Notifications"})]}),g.jsx("button",{type:"button",role:"switch","aria-checked":e.enabled,"aria-label":"Notifications on this device",disabled:a||r||e.busy,onClick:()=>{e.enabled?e.disable():e.enable()},className:Be("relative h-6 w-11 shrink-0 rounded-full transition-colors",e.enabled?"bg-accent":"border border-border bg-surface",(a||r||e.busy)&&"opacity-40"),children:g.jsx("span",{className:Be("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",e.enabled?"translate-x-5":"translate-x-0")})})]}),g.jsx("p",{className:"mt-1 text-xs text-muted",children:i}),e.error?g.jsx("p",{className:"mt-1 text-xs text-del",children:e.error}):null,e.enabled?g.jsx("button",{type:"button",onClick:()=>{e.test()},disabled:e.busy,className:"mt-1.5 text-xs text-muted underline-offset-2 hover:underline disabled:opacity-50",children:"Send a test notification"}):null]})}const x_=[{label:"1h",seconds:3600},{label:"4h",seconds:4*3600,className:"hidden min-[400px]:block"},{label:"8h",seconds:8*3600},{label:"16h",seconds:16*3600}];function Q8(e){if(!e)return"until you turn it off";const r=new Date(e),a=r.toDateString()===new Date().toDateString(),i=r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return a?`until ${i}`:`until ${r.toLocaleDateString([],{weekday:"short"})} ${i}`}function u_(){const[e,r]=M.useState(null),[a,i]=M.useState(!1),[o,x]=M.useState(null),[u,c]=M.useState(!1),f=M.useCallback(async()=>{try{r(await Oe.settings()),x(null)}catch(C){x(C instanceof Error?C.message:String(C))}},[]);M.useEffect(()=>{f()},[f]);const h=async C=>{i(!0),x(null);try{await C(),await f()}catch(A){x(A instanceof Error?A.message:String(A))}finally{i(!1)}},E=e?.nosleep,p=e?.wifi.known??[],y=e?.settings.fallbackSsids[0]??"";return g.jsxs("div",{className:"flex w-full shrink-0 flex-col gap-2.5 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(L2,{size:16,className:Be("shrink-0",E?.armed?"text-accent":"text-muted")}),g.jsx("span",{children:"Keep the Mac awake"})]}),E?.armed?g.jsx("button",{type:"button",disabled:a,onClick:()=>{h(async()=>{const C=await Oe.disarmNoSleep();c(C.willSleep===!0)})},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Let it sleep"}):g.jsx("div",{className:"flex shrink-0 gap-1",children:x_.map(C=>g.jsx("button",{type:"button",disabled:a||!E?.available,onClick:()=>{h(()=>(c(!1),Oe.armNoSleep(C.seconds)))},className:Be("rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-40",C.className),children:C.label},C.seconds))})]}),g.jsx("p",{className:"text-xs text-muted",children:e?E?.available?E.armed?E.preventsScreenLock?`Awake ${Q8(E.until)}, lid closed. Automatic screen lock is off; anyone at the Mac can use it.`:`Awake ${Q8(E.until)}, lid closed. Sends park if macOS locks.`:u?"The lid is shut, so the Mac is going to sleep now — this app will be unreachable until you wake it.":"Stops system sleep. Screen-lock behavior follows the Mac CLI configuration.":"Run `conductor-remote nosleep setup` on the Mac to install or refresh the helper.":"Checking…"}),g.jsxs("div",{className:"border-t border-border pt-2.5",children:[g.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[g.jsx(P2,{size:16,className:Be("shrink-0",e?.settings.autoRejoin?"text-accent":"text-muted")}),g.jsx("span",{children:"Fallback network"})]}),y?g.jsx("button",{type:"button",disabled:a,onClick:()=>{h(()=>Oe.patchSettings({fallbackSsids:[],autoRejoin:!1}))},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Turn off"}):null]}),y?g.jsxs("p",{className:"mt-1 text-xs text-muted",children:["If the Mac loses its connection it joins ",g.jsx("span",{className:"text-fg",children:y})," and re-registers."]}):g.jsx(c_,{known:p,hotspots:e?.wifi.likelyHotspots??[],busy:a,onPick:C=>{h(()=>Oe.patchSettings({fallbackSsids:[C],autoRejoin:!0}))}}),e?.wifi.autoJoinHotspot==="Never"?g.jsx("p",{className:"mt-1 text-xs text-faint",children:"Auto-join Hotspot is off on this Mac (System Settings ▸ Wi-Fi). Your hotspot has to be on and broadcasting before the Mac can join it."}):null]}),o?g.jsx("p",{className:"text-xs text-del",children:o}):null]})}function c_({known:e,hotspots:r,busy:a,onPick:i}){const[o,x]=M.useState("");if(e.length===0)return g.jsx("p",{className:"mt-1 text-xs text-muted",children:"No saved Wi-Fi networks to offer."});const u=new Set(r),c=o.trim().toLowerCase(),f=e.filter(p=>!c||p.toLowerCase().includes(c)),h=f.find(p=>u.has(p)),E=(h?[h,...f.filter(p=>p!==h)]:f).slice(0,6);return g.jsxs(g.Fragment,{children:[g.jsx("p",{className:"mt-1 text-xs text-muted",children:"Turn your hotspot on before you leave, and the Mac can move to it if the office Wi-Fi drops."}),g.jsx("input",{type:"search",value:o,disabled:a,onChange:p=>x(p.target.value),placeholder:`Search ${e.length} saved networks`,className:"mt-2 w-full rounded-lg border border-border bg-surface px-2 py-1.5 text-xs disabled:opacity-40"}),g.jsxs("div",{className:"mt-1.5 flex flex-col gap-1",children:[E.map(p=>g.jsxs("button",{type:"button",disabled:a,onClick:()=>i(p),className:"flex items-center justify-between gap-2 rounded-lg border border-border px-2.5 py-1.5 text-left text-xs active:bg-surface disabled:opacity-50",children:[g.jsx("span",{className:"truncate",children:p}),u.has(p)?g.jsx("span",{className:"shrink-0 text-faint",children:"likely hotspot"}):null]},p)),E.length===0?g.jsxs("p",{className:"text-xs text-faint",children:["Nothing matches “",o,"”."]}):null]}),!c&&e.length>E.length?g.jsxs("p",{className:"mt-1 text-xs text-faint",children:["Most recently joined. Search to reach the other ",e.length-E.length,"."]}):null]})}const f_={info:"text-muted",warn:"text-working",error:"text-del"};function $r(e){return String(e).padStart(2,"0")}function d_(e){if(e==null)return"·";const r=new Date(e);return`${$r(r.getHours())}:${$r(r.getMinutes())}:${$r(r.getSeconds())}`}function Y8(e){if(e==null)return" ";const r=new Date(e);return`${r.getFullYear()}-${$r(r.getMonth()+1)}-${$r(r.getDate())} ${$r(r.getHours())}:${$r(r.getMinutes())}:${$r(r.getSeconds())}`}function h_(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function X8(e){const r=Math.max(0,Math.round(e/1e3));if(r<90)return`${r}s ago`;const a=Math.round(r/60);if(a<60)return`${a}m ago`;const i=Math.round(a/60);return i<48?`${i}h ago`:`${Math.round(i/24)}d ago`}function p_({onClose:e}){const[r,a]=M.useState(null),[i,o]=M.useState(!1),[x,u]=M.useState(null),{data:c,isLoading:f,isError:h,error:E}=Wb(r,!0),p=M.useRef(null),y=M.useRef(!0),C=M.useMemo(()=>(c?.entries??[]).filter(v=>!i||v.level!=="info"),[c,i]);M.useEffect(()=>{const v=p.current;v&&y.current&&C.length&&(v.scrollTop=v.scrollHeight)},[C]);const A=async()=>{const v=`# conductor-remote ${r??"live"} log · app v1.53.2 · copied ${Y8(Date.now())}`,k=C.map(L=>`${Y8(L.t)} ${L.level==="info"?"":L.level.toUpperCase()} ${L.text}`);try{await navigator.clipboard.writeText([v,...k].join(`
|
|
44
44
|
`)),u("ok")}catch{u("failed")}setTimeout(()=>u(null),2e3)},b=[{key:null,label:"Live",hint:c?`since ${X8(c.now-c.startedAt)}`:void 0},...(c?.files??[]).map(v=>({key:v.name,label:v.name,hint:h_(v.size)}))];return Hl.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:e,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Relay logs",className:"fade-in pt-safe pb-safe fixed inset-0 z-50 mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[g.jsxs("div",{className:"flex items-center justify-between gap-2 border-b border-border-soft px-4 py-3",children:[g.jsxs("div",{className:"min-w-0",children:[g.jsx("h2",{className:"text-base font-semibold",children:"Relay logs"}),g.jsx("p",{className:"truncate text-xs text-muted",children:c?`${C.length} line${C.length===1?"":"s"} · relay started ${X8(c.now-c.startedAt)}`:"Loading…"})]}),g.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx($n,{size:18})})]}),g.jsx("div",{className:"flex gap-1.5 overflow-x-auto border-b border-border-soft px-3 py-2",children:b.map(v=>g.jsxs("button",{type:"button",onClick:()=>{y.current=!0,a(v.key)},className:Be("pill shrink-0 whitespace-nowrap",v.key===r&&"pill-active"),children:[v.label,v.hint?g.jsx("span",{className:"ml-1.5 text-[11px] text-faint",children:v.hint}):null]},v.key??"live"))}),r&&c&&!c.managed?g.jsx("p",{className:"border-b border-border-soft bg-working/10 px-4 py-2 text-xs text-working",children:"This file belongs to the installed daemon — this relay isn’t the one writing it. Its own output is under Live."}):null,g.jsx("div",{ref:p,onScroll:v=>{const k=v.currentTarget;y.current=k.scrollHeight-k.scrollTop-k.clientHeight<40},className:"min-h-0 flex-1 overflow-y-auto px-3 py-2 font-mono text-[11px] leading-relaxed",children:f&&!c?g.jsx(B0,{label:"Reading logs…"}):h?g.jsx(Pt,{children:E?.message}):C.length===0?g.jsx(Pt,{children:i?"No warnings or errors logged.":"Nothing logged yet — the relay has been quiet."}):C.map((v,k)=>g.jsxs("div",{className:"flex gap-2 whitespace-pre-wrap break-words py-px",children:[g.jsx("span",{className:"shrink-0 text-faint",children:d_(v.t)}),g.jsx("span",{className:Be("min-w-0 flex-1",f_[v.level]),children:v.text})]},k))}),g.jsxs("div",{className:"flex items-center gap-2 border-t border-border-soft px-3 py-2.5",children:[g.jsx("button",{type:"button",onClick:()=>o(v=>!v),className:Be("pill shrink-0",i&&"pill-active"),children:"Problems only"}),g.jsxs("button",{type:"button",onClick:A,className:"ml-auto flex items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-4 py-2.5 text-sm active:bg-surface",children:[x==="ok"?g.jsx(hr,{size:16}):g.jsx(kc,{size:16}),x==="ok"?"Copied":x==="failed"?"Copy blocked — select by hand":"Copy"]})]})]})]}),document.body)}const Om="conductor-remote-send-immediately";function m_(){try{return localStorage.getItem(Om)!=="off"}catch{return!0}}function E_(e){try{localStorage.setItem(Om,e?"on":"off")}catch{}}function g_({onClose:e}){const{data:r}=Yb(),a=De(H=>H.lastNewWorkspaceRepo),i=De(H=>H.setLastNewWorkspaceRepo),[o,x]=M.useState(a),[u,c]=M.useState(""),[f,h]=M.useState(!1),[E,p]=M.useState(m_),[y,C]=M.useState(!1),[A,b]=M.useState(null),v=M.useRef(null),k=M.useRef(new Set),L=M.useRef(0),[w,j]=M.useState([]),[O,F]=M.useState(!1),_=pa(),z=Gr(),$=De(H=>H.online),N=r?.repos??[],G=N.find(H=>H.name===o);M.useEffect(()=>{N.length&&!N.some(H=>H.name===o)&&x(N[0].name)},[o,N]);const K=w.filter(H=>H.status==="ready"&&H.stageId),se=w.some(H=>H.status==="uploading"),te=w.some(H=>H.status==="error"),I=!!u.trim()||K.length>0,U=H=>{H&&Oe.discardStagedAttachment(H).catch(()=>{})},Y=H=>{const Ce=w.find(ce=>ce.id===H);k.current.add(H),U(Ce?.stageId),j(ce=>ce.filter(Te=>Te.id!==H))},re=async H=>{if($)for(const Ce of Array.from(H)){const ce=crypto.randomUUID();j(Te=>[...Te,{id:ce,name:Ce.name||"attachment",status:"uploading"}]);try{const Te=await Oe.stageAttachment(Ce);if(k.current.delete(ce)){U(Te.attachment.stageId);continue}j(Ge=>Ge.map(Ke=>Ke.id===ce?{...Ke,name:Te.attachment.name,stageId:Te.attachment.stageId,status:"ready"}:Ke))}catch(Te){if(k.current.delete(ce))continue;j(Ge=>Ge.map(Ke=>Ke.id===ce?{...Ke,status:"error",error:Te instanceof Error?Te.message:"Upload failed"}:Ke))}}},he=H=>{H?.length&&re(H)},S=H=>Array.from(H.dataTransfer.types).includes("Files"),R=H=>{S(H)&&(H.preventDefault(),L.current+=1,F(!0))},W=H=>{S(H)&&(L.current-=1,L.current<=0&&(L.current=0,F(!1)))},T=H=>{S(H)&&(H.preventDefault(),H.dataTransfer.dropEffect="copy")},ae=H=>{S(H)&&(H.preventDefault(),L.current=0,F(!1),he(H.dataTransfer.files))},de=()=>{for(const H of w)k.current.add(H.id),U(H.stageId);e()},ue=async()=>{const H=u.trim();if(!(!o||y||se||te||!$)){C(!0),b(null);try{const Ce=await Oe.createWorkspace(o,H,E,K.flatMap(ce=>ce.stageId?[ce.stageId]:[]));if(!Ce.ok||!Ce.workspaceId){b(Ce.error??"could not create the workspace");return}await z.invalidateQueries({queryKey:["state"]}),e(),_(`/w/${Ce.workspaceId}`)}catch(Ce){b(Ce instanceof Error?Ce.message:"could not create the workspace")}finally{C(!1)}}};return Hl.createPortal(g.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col bg-bg",children:[g.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[g.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"New workspace"}),g.jsx("button",{type:"button",onClick:de,"aria-label":"Close",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx($n,{size:20})})]}),g.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto p-3",children:[g.jsxs("div",{className:"relative",children:[g.jsxs("button",{type:"button",onClick:()=>h(H=>!H),"aria-haspopup":"menu","aria-expanded":f,className:"flex w-full items-center gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 text-left transition active:bg-surface-2",children:[G?g.jsx(To,{icon:G.icon,name:G.name}):null,g.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px] font-medium",children:G?.name??"Choose a repo"}),g.jsx(ma,{size:18,className:Be("shrink-0 text-muted transition",f&&"rotate-180")})]}),f?g.jsx("ul",{className:"absolute inset-x-0 top-full z-10 mt-1 max-h-72 overflow-y-auto rounded-2xl border border-border bg-surface py-1 shadow-xl",children:N.map(H=>g.jsx("li",{children:g.jsxs("button",{type:"button",onClick:()=>{x(H.name),i(H.name),h(!1)},className:"flex w-full items-center gap-3 px-3 py-2 text-left active:bg-surface-2",children:[g.jsx(To,{icon:H.icon,name:H.name}),g.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px]",children:H.name}),H.name===o?g.jsx(hr,{size:16,className:"shrink-0 text-accent"}):null]})},H.name))}):null]}),g.jsxs("fieldset",{"aria-label":"First message",onDragEnter:R,onDragLeave:W,onDragOver:T,onDrop:ae,className:Be("relative m-0 min-w-0 rounded-2xl border border-border bg-surface p-2 has-[textarea:focus]:border-accent/60",O&&"border-accent bg-accent-soft"),children:[g.jsx("input",{ref:v,type:"file",multiple:!0,className:"hidden",onChange:H=>{he(H.target.files),H.target.value=""}}),w.length?g.jsx("div",{className:"flex flex-wrap gap-1 px-2 pb-1",children:w.map(H=>g.jsxs("div",{title:H.error??H.name,className:"flex max-w-full items-center gap-1 rounded-lg bg-surface-2 py-1 pl-2 pr-1 text-xs text-muted",children:[H.status==="uploading"?g.jsx(Ea,{size:12,className:"shrink-0 animate-spin"}):null,g.jsx("span",{className:"truncate",children:H.status==="error"?`${H.name}: ${H.error}`:H.name}),g.jsx("button",{type:"button",onClick:()=>Y(H.id),"aria-label":`Remove ${H.name}`,className:"flex size-5 shrink-0 items-center justify-center rounded active:bg-surface",children:g.jsx($n,{size:13})})]},H.id))}):null,g.jsx("textarea",{value:u,onChange:H=>c(H.target.value),placeholder:"What should the agent do? (optional)",rows:6,autoFocus:!0,className:"block w-full resize-none bg-transparent px-2 py-1 text-base outline-none placeholder:text-faint",onPaste:H=>{const Ce=H.clipboardData.files;Ce.length&&(H.preventDefault(),he(Ce))}}),g.jsxs("div",{className:"flex items-center px-1 pt-1",children:[g.jsxs("button",{type:"button",onClick:()=>v.current?.click(),disabled:!$,className:"flex h-8 items-center gap-1.5 rounded-lg px-2 text-xs text-muted transition active:bg-surface-2 disabled:text-faint",children:[g.jsx(Io,{size:15}),"Attach files"]}),g.jsx("span",{className:"ml-auto pr-1 text-[11px] text-faint",children:"Drop files here"})]}),O?g.jsx("div",{className:"pointer-events-none absolute inset-1 z-10 flex items-center justify-center rounded-xl border border-dashed border-accent bg-accent-soft/90 text-sm font-medium text-accent",children:"Drop files to attach"}):null]}),g.jsxs("label",{className:Be("flex items-start gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 transition active:bg-surface-2",!I&&"opacity-40"),children:[g.jsx("input",{type:"checkbox",checked:E,disabled:!I,onChange:H=>{p(H.target.checked),E_(H.target.checked)},className:"sr-only"}),g.jsx("span",{className:Be("mt-0.5 flex size-[18px] shrink-0 items-center justify-center rounded-md border transition",E?"border-accent bg-accent text-bg":"border-border"),children:E?g.jsx(hr,{size:13,strokeWidth:3}):null}),g.jsxs("span",{className:"min-w-0 flex-1",children:[g.jsx("span",{className:"block text-[15px] font-medium",children:"Send immediately"}),g.jsx("span",{className:"block text-xs text-muted",children:E?"The prompt goes as soon as the chat and attached files are ready, without waiting for setup.":"The prompt waits until the worktree has finished setting up."})]})]}),A?g.jsx("div",{className:"text-xs text-del",children:A}):null]}),g.jsx("div",{className:"pb-safe border-t border-border-soft p-3",children:g.jsx("button",{type:"button",onClick:ue,disabled:!o||y||se||te||!$,className:"w-full rounded-2xl bg-accent px-4 py-3 text-[15px] font-semibold text-bg transition active:scale-[0.985] disabled:opacity-40",children:y?"Creating…":I?"Create & start":"Create empty workspace"})})]}),document.body)}function C_({query:e,live:r,selectedId:a,onOpen:i}){const o=Xb(e.trim(),250),{data:x,isError:u,error:c,isFetching:f}=Kb(o),h=M.useMemo(()=>zb(e),[e]),E=M.useMemo(()=>{const y=new Map;if(h.length)for(const C of r){const A=[In(C),C.branch,C.repo_name,C.directory_name,C.session_title].filter(Boolean).join(" ").toLowerCase();h.every(b=>A.includes(b))&&y.set(C.id,{workspace:C,archived:!1,sessionId:null,snippets:[],hits:0})}for(const C of x?.results??[]){const A=y.get(C.workspace.id);if(A){A.sessionId=C.sessionId,A.snippets=C.snippets,A.hits=C.hits;continue}y.set(C.workspace.id,{workspace:C.workspace,archived:C.workspace.archived,sessionId:C.sessionId,snippets:C.snippets,hits:C.hits})}return[...y.values()]},[r,x,h]),p=x?.index;return g.jsxs(g.Fragment,{children:[p&&!p.ready?g.jsxs("p",{className:"px-1 pb-2 text-xs text-faint",children:["Indexing chats… ",Math.round(p.progress*100),"% — older conversations aren’t searchable yet."]}):null,p?.error?g.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat index unavailable (",p.error,") — searching names only."]}):null,u?g.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat search unavailable (",c?.message,") — showing name matches only."]}):null,E.length===0?f||o!==e.trim()?g.jsx(B0,{}):u?null:g.jsxs(Pt,{children:["Nothing matches “",e.trim(),"”."]}):g.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:E.map(y=>g.jsx("li",{className:"fade-in",children:g.jsx(B_,{row:y,tokens:h,selected:y.workspace.id===a,onOpen:i})},y.workspace.id))})]})}const y_="card w-full flex-col items-stretch gap-0";function B_({row:e,tokens:r,selected:a,onOpen:i}){const o=e.workspace,x=o.directory_name?.toLowerCase(),u=`${In(o)} ${o.branch??""} ${o.repo_name??""}`.toLowerCase(),c=!!x&&r.some(h=>x.includes(h)&&!u.includes(h)),f=g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:"flex items-start gap-3",children:[g.jsx(To,{icon:o.icon,name:o.repo_name||In(o)}),g.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("span",{className:"min-w-0 flex-1 truncate font-medium text-text",children:In(o)}),e.archived?g.jsx("span",{className:"shrink-0 rounded-md bg-surface-2 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-faint",children:"Archived"}):null]}),g.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[o.repo_name?g.jsx("span",{className:"shrink-0 font-mono text-faint",children:o.repo_name}):null,o.branch?g.jsx(No,{className:"min-w-0 flex-1 truncate",children:o.branch}):null,c?g.jsxs(No,{className:"shrink-0 text-faint",children:["dir ",o.directory_name]}):null,g.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:Rc(o.updated_at)})]})]})]}),e.snippets.length?g.jsxs("div",{className:"mt-2 flex flex-col gap-1.5 border-l-2 border-border-soft pl-2.5",children:[e.snippets.map(h=>g.jsx(b_,{snippet:h},`${h.sessionId}:${h.at}:${h.text.slice(0,24)}`)),e.hits>e.snippets.length?g.jsxs("span",{className:"text-[11px] text-faint",children:["+",e.hits-e.snippets.length," more messages"]}):null]}):null]});return g.jsx("button",{type:"button",className:Be(y_,a&&"border-accent/50 bg-surface-2"),onClick:()=>i(o.id,e.sessionId),children:f})}const A_={user:"you",assistant:"agent",thinking:"thought"};function b_({snippet:e}){return g.jsxs("p",{className:"line-clamp-2 text-left text-xs leading-snug text-muted",children:[g.jsx("span",{className:`mr-1.5 text-[10px] uppercase tracking-wide ${e.role==="thinking"?"text-faint italic":"text-faint"}`,children:A_[e.role]}),eD(e.text).map((r,a)=>r.hit?g.jsx("mark",{className:"rounded bg-accent/25 px-0.5 text-text",children:r.text},a):g.jsx("span",{children:r.text},a))]})}function v_({live:e,selectedId:r,onOpen:a,onClose:i}){const[o,x]=M.useState(""),u=M.useRef(null);return M.useEffect(()=>u.current?.focus(),[]),M.useEffect(()=>{const c=f=>{f.key==="Escape"&&i()};return window.addEventListener("keydown",c),()=>window.removeEventListener("keydown",c)},[i]),Hl.createPortal(g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-50 bg-black/50",onClick:i,"aria-hidden":!0}),g.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Search workspaces and chats",className:"app-height fade-in pt-safe fixed inset-x-0 top-0 z-50 flex flex-col bg-bg md:inset-x-auto md:left-1/2 md:top-16 md:max-h-[70vh] md:w-[36rem] md:max-w-[92vw] md:-translate-x-1/2 md:rounded-2xl md:border md:border-border md:shadow-2xl",children:[g.jsxs("div",{className:"flex items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[g.jsxs("div",{className:"relative min-w-0 flex-1",children:[g.jsx(O2,{size:15,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-faint"}),g.jsx("input",{ref:u,type:"text",inputMode:"search",enterKeyHint:"search",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:o,onChange:c=>x(c.target.value),placeholder:"Search workspaces and chats","aria-label":"Search workspaces and chats",className:"w-full rounded-xl border border-border bg-surface py-2 pl-8 pr-9 text-sm text-text placeholder:text-faint focus:border-accent/50 focus:outline-none"}),o?g.jsx("button",{type:"button",onClick:()=>{x(""),u.current?.focus()},"aria-label":"Clear search",className:"absolute right-1 top-1/2 flex size-7 -translate-y-1/2 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx($n,{size:15})}):null]}),g.jsx("button",{type:"button",onClick:i,className:"shrink-0 rounded-full px-2 py-1.5 text-sm text-muted active:bg-surface-2",children:"Cancel"})]}),g.jsx("div",{className:"pb-safe min-h-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:o.trim()?g.jsx(C_,{query:o,live:e,selectedId:r,onOpen:a}):g.jsx(Pt,{children:"Every workspace on this Mac, archived included — by name, or by something said in the chat."})})]})]}),document.body)}function D_(e,r){return[...e].sort((a,i)=>{const o=+!!i.pinned_at-+!!a.pinned_at;return o||(r==="name"?In(a).localeCompare(In(i)):r==="created"?i.created_at.localeCompare(a.created_at):i.updated_at.localeCompare(a.updated_at))})}function k_(e,r){return r==="status"?Ap(e):r==="recent"?oD(e.updated_at):e.repo_name??""}function F_(e,r){if(r==="none")return[{key:"all",label:"",items:e}];const a=new Map;for(const i of e){const o=k_(i,r),x=a.get(o);x?x.push(i):a.set(o,[i])}return r==="status"?[...Kh,...[...a.keys()].filter(o=>!Kh.includes(o))].filter(o=>a.has(o)).map(o=>({key:`status:${o}`,label:ec(o),status:o,items:a.get(o)??[]})):r==="recent"?lD.filter(i=>a.has(i)).map(i=>({key:`recent:${i}`,label:iD(i),items:a.get(i)??[]})):[...a.keys()].sort((i,o)=>i.localeCompare(o)).map(i=>({key:`repo:${i}`,label:i||"No repo",items:a.get(i)??[]}))}function w_({selectedId:e}){const r=pa(),a=De(I=>I.setSidebarOpen),i=De(I=>I.view),o=De(I=>I.readMarks),x=De(I=>I.toggleGroup),[u,c]=M.useState(!1),[f,h]=M.useState(!1),[E,p]=M.useState(!1),[y,C]=M.useState(!1),[A,b]=M.useState(!1),{data:v,isLoading:k,isError:L,error:w}=Nc(),j=v?.workspaces??[],O=[...new Set([...j.map(I=>I.repo_name).filter(I=>!!I),...i.repos])].sort(),F=i.repos.length?j.filter(I=>!!I.repo_name&&i.repos.includes(I.repo_name)):j,_=i.hideMerged?F.filter(I=>!rD(I)||I.id===e):F,z=F.length-_.length,$=F_(D_(_,i.sortBy),i.groupBy),N=(I,U=null)=>{r(U?`/w/${I}?session=${encodeURIComponent(U)}`:`/w/${I}`),a(!1)},G=i.repos.length>0||i.hideMerged,K=i.repos.length>0||z>0,se=i.repos.length===1?i.repos[0]:`${i.repos.length} repos`,te=j.length?K?[`${_.length} of ${j.length}`,i.repos.length?se:null,z?`${z} merged hidden`:null].filter(Boolean).join(" · "):`${j.length} active`:void 0;return g.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[g.jsxs("div",{className:"relative",children:[g.jsx(_o,{title:"Workspaces",subtitle:te,right:g.jsxs(g.Fragment,{children:[g.jsx("button",{type:"button",onClick:()=>b(!0),"aria-label":"Search workspaces and chats",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(O2,{size:18})}),g.jsxs("button",{type:"button",onClick:()=>c(I=>!I),"aria-label":"View options",className:"relative flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:[g.jsx(ZB,{size:18}),G?g.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent"}):null]}),g.jsx("button",{type:"button",onClick:()=>h(!0),"aria-label":"Connect a device",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:g.jsx(R2,{size:18})}),g.jsx("button",{type:"button",onClick:()=>p(!0),"aria-label":"New workspace",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-text active:bg-surface-2",children:g.jsx(z2,{size:20})})]})}),u?g.jsx(M_,{repos:O,view:i,onClose:()=>c(!1)}):null]}),g.jsx("nav",{className:"pb-safe min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:k&&!v?g.jsx(B0,{label:"Loading workspaces…"}):L?g.jsx(pD,{error:w}):j.length===0?g.jsx(Pt,{children:"No active workspaces. Start one in Conductor and it’ll appear here."}):_.length===0?g.jsxs(Pt,{children:[i.repos.length?`No workspaces in ${se}`:"No workspaces",z?` — ${z} merged ${z===1?"one is":"ones are"} hidden.`:"."]}):$.map(I=>{const U=!!I.label&&i.collapsed.includes(I.key);return g.jsxs("section",{children:[I.label?g.jsxs("button",{type:"button",onClick:()=>x(I.key),className:"flex w-full items-center gap-2 px-1 py-2 text-sm font-semibold",children:[g.jsx(S_,{status:I.status}),g.jsx("span",{className:"truncate",children:I.label}),U?g.jsx("span",{className:"font-normal text-muted text-xs",children:I.items.length}):null,g.jsx(ma,{size:14,className:Be("ml-auto shrink-0 text-faint transition-transform",U&&"-rotate-90")})]}):null,U?null:g.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:I.items.map(Y=>{const re=Db(Y,o);return g.jsx("li",{className:"fade-in",children:g.jsx("button",{type:"button",className:Be("card w-full",Y.id===e?"border-accent/50 bg-surface-2":re&&"border-l-accent"),onClick:()=>N(Y.id),children:g.jsx(__,{w:Y,unread:re,selected:Y.id===e})})},Y.id)})})]},I.key)})}),f?g.jsx(o_,{version:v?.version,onLogs:()=>{h(!1),C(!0)},onClose:()=>h(!1)}):null,E?g.jsx(g_,{onClose:()=>p(!1)}):null,A?g.jsx(v_,{live:j,selectedId:e,onOpen:(I,U)=>{b(!1),N(I,U)},onClose:()=>b(!1)}):null,y?g.jsx(p_,{onClose:()=>C(!1)}):null]})}function S_({status:e}){if(!e)return null;const r=jc[e];return r?g.jsx("span",{className:"dot size-2",style:{background:r}}):g.jsx("span",{className:"dot size-2 border border-faint bg-transparent"})}function M_({repos:e,view:r,onClose:a}){const i=De(o=>o.setView);return g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 z-20",onClick:a,"aria-hidden":!0}),g.jsxs("div",{className:"fade-in absolute right-2 top-full z-30 mt-1 flex w-64 flex-col gap-2.5 rounded-2xl border border-border bg-surface p-3 shadow-xl",children:[g.jsx(vo,{id:"view-group",label:"Group by",children:g.jsx(Z8,{id:"view-group",value:r.groupBy,onChange:o=>i({groupBy:o}),options:[["status","Status"],["recent","Recent"],["repo","Repo"],["none","None"]]})}),g.jsx(N_,{repos:e,selected:r.repos,onChange:o=>i({repos:o})}),g.jsx(vo,{id:"view-sort",label:"Sort by",children:g.jsx(Z8,{id:"view-sort",value:r.sortBy,onChange:o=>i({sortBy:o}),options:[["updated","Updated"],["created","Created"],["name","Name"]]})}),g.jsx(vo,{id:"view-hide-merged",label:"Hide merged",children:g.jsx(T_,{id:"view-hide-merged",checked:r.hideMerged,label:"Hide workspaces whose PR has merged",onChange:o=>i({hideMerged:o})})}),g.jsx("p",{className:"-mt-1 text-faint text-xs",children:"By the PR on GitHub, which can trail a merge by up to a minute — not by Conductor’s status."})]})]})}function N_({repos:e,selected:r,onChange:a}){const[i,o]=M.useState(!1),x=r.length===0,u=x?"All repos":r.length===1?r[0]:`${r.length} repos`,c=f=>a(r.includes(f)?r.filter(h=>h!==f):[...r,f]);return g.jsxs("div",{className:"flex flex-col gap-2",children:[g.jsx(vo,{id:"view-repo",label:"Repo",children:g.jsxs("button",{id:"view-repo",type:"button",onClick:()=>o(f=>!f),"aria-expanded":i,"aria-controls":"view-repo-options",className:"flex max-w-36 items-center gap-1 rounded-lg border border-border bg-surface-2 px-2 py-1.5 text-sm text-text",children:[g.jsx("span",{className:"truncate",children:u}),g.jsx(ma,{size:14,className:Be("shrink-0 text-faint transition-transform",i&&"rotate-180")})]})}),i?g.jsxs("div",{id:"view-repo-options",className:"flex max-h-48 flex-col overflow-y-auto rounded-lg border border-border bg-surface-2 p-1",children:[g.jsx(K8,{checked:x,label:"All repos",onChange:()=>a([])}),e.map(f=>g.jsx(K8,{checked:r.includes(f),label:f,onChange:()=>c(f)},f))]}):null]})}function K8({checked:e,label:r,onChange:a}){return g.jsxs("label",{className:"flex min-w-0 cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-left text-sm text-text active:bg-surface",children:[g.jsx("input",{type:"checkbox",checked:e,onChange:a,className:"peer sr-only"}),g.jsx("span",{className:Be("flex size-4 shrink-0 items-center justify-center rounded border peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-accent",e?"border-accent bg-accent text-white":"border-faint bg-surface"),children:e?g.jsx(hr,{size:12,strokeWidth:3}):null}),g.jsx("span",{className:"truncate",children:r})]})}function T_({id:e,checked:r,label:a,onChange:i}){return g.jsx("button",{id:e,type:"button",role:"switch","aria-checked":r,"aria-label":a,onClick:()=>i(!r),className:Be("relative h-6 w-11 shrink-0 rounded-full transition-colors",r?"bg-accent":"border border-border bg-surface-2"),children:g.jsx("span",{className:Be("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",r?"translate-x-5":"translate-x-0")})})}function vo({id:e,label:r,children:a}){return g.jsxs("div",{className:"flex items-center justify-between gap-3 text-sm text-muted",children:[g.jsx("label",{htmlFor:e,children:r}),a]})}function Z8({id:e,value:r,options:a,onChange:i}){return g.jsx("select",{id:e,value:r,onChange:o=>i(o.target.value),className:"max-w-36 truncate rounded-lg border border-border bg-surface-2 px-2 py-1.5 text-sm text-text [color-scheme:dark]",children:a.map(([o,x])=>g.jsx("option",{value:o,children:x},o))})}function __({w:e,unread:r,selected:a}){const i=zc(e.model);return g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:"relative shrink-0 self-start",children:[g.jsx(To,{icon:e.icon,name:e.repo_name||In(e)}),g.jsx(cD,{w:e,className:"absolute -right-0.5 -bottom-0.5 bg-surface ring-2 ring-surface"})]}),g.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("span",{className:Be("min-w-0 flex-1 truncate",r?"font-bold":"font-medium",r||a?"text-text":"text-muted"),children:In(e)}),e.pinned_at?g.jsx("span",{className:"shrink-0 text-xs text-faint",children:"📌"}):null,r>1?g.jsx(hD,{children:r}):r?g.jsx("span",{className:"dot size-2 bg-accent"}):null]}),g.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[e.repo_name?g.jsx("span",{className:"shrink-0 font-mono text-faint",children:e.repo_name}):null,e.branch?g.jsx(No,{className:"min-w-0 flex-1 truncate",children:e.branch}):null]}),g.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[i?g.jsx(No,{children:i}):null,g.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:Rc(e.updated_at)})]})]})]})}function j_(){Qb();const e=De(r=>r.token);return g.jsxs(g.Fragment,{children:[g.jsx(_b,{}),e?g.jsxs(K4,{children:[g.jsxs(Al,{element:g.jsx(z_,{}),children:[g.jsx(Al,{index:!0,element:g.jsx(R_,{})}),g.jsx(Al,{path:"/w/:workspaceId",element:g.jsx(UT,{})})]}),g.jsx(Al,{path:"*",element:g.jsx(Q4,{to:"/",replace:!0})})]}):g.jsx(KT,{})]})}function z_(){const e=S4("/w/:workspaceId"),r=De(o=>o.sidebarOpen),a=De(o=>o.setSidebarOpen),i=M.useRef(null);return Gb(i),ov(),rv(),g.jsxs("div",{className:"flex h-full overflow-hidden",children:[r?g.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>a(!1),"aria-hidden":!0}):null,g.jsx("aside",{ref:i,className:Be("fixed inset-y-0 left-0 z-50 flex w-[85%] max-w-80 flex-col border-r border-border-soft bg-bg transition-transform duration-200 ease-out","md:static md:z-auto md:w-72 md:max-w-none md:shrink-0 md:translate-x-0 md:transition-none lg:w-80",r?"translate-x-0":"-translate-x-full"),children:g.jsx(w_,{selectedId:e?.params.workspaceId})}),g.jsx("main",{className:"flex min-w-0 flex-1 flex-col",children:g.jsx(Y4,{})})]})}function R_(){const e=De(r=>r.setSidebarOpen);return g.jsxs("div",{className:"grid h-full place-items-center",children:[g.jsx("button",{type:"button",onClick:()=>e(!0),className:"pill pill-active md:hidden",children:"Browse workspaces"}),g.jsx("span",{className:"hidden text-sm text-muted md:block",children:"Select a workspace"})]})}navigator.storage?.persist&&navigator.storage.persist().catch(()=>{});const O_=new F6({defaultOptions:{queries:{staleTime:1e3,retry:1,refetchOnWindowFocus:!0}}}),Lm=document.getElementById("root");if(!Lm)throw new Error("#root missing");G6.createRoot(Lm).render(g.jsx(M.StrictMode,{children:g.jsx(S6,{client:O_,children:g.jsx(B7,{children:g.jsx(j_,{})})})}));
|