git-truck 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/index.js +1 -1
- package/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ You can read more about the features in the [feature overview](https://git-truck
|
|
|
28
28
|
> [!NOTE]
|
|
29
29
|
> To use Git Truck, you will need to have the following programs installed:
|
|
30
30
|
>
|
|
31
|
-
> - [Node.js](https://nodejs.org/en/)
|
|
31
|
+
> - [Node.js](https://nodejs.org/en/) 22.0.0 or newer and npm 10.0 or newer
|
|
32
32
|
> - [git](https://git-scm.com/downloads) 2.29 or newer
|
|
33
33
|
>
|
|
34
34
|
> Check your installed versions using `node --version`, `npm --version` and `git --version`.
|
package/build/index.js
CHANGED
|
@@ -80,7 +80,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80
80
|
@keyframes `.concat(i,` {
|
|
81
81
|
`).concat(r,`
|
|
82
82
|
}
|
|
83
|
-
`);return a&&a.insertRule(s,0),i};Cf.createAnimation=cT1});var a31=_(W0=>{"use strict";var uf=W0&&W0.__assign||function(){return uf=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},uf.apply(this,arguments)},HT1=W0&&W0.__createBinding||(Object.create?function(t,r,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){i===void 0&&(i=n),t[i]=r[n]}),VT1=W0&&W0.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),LT1=W0&&W0.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&HT1(r,t,n);return VT1(r,t),r},mT1=W0&&W0.__rest||function(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&r.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)r.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]]);return n};Object.defineProperty(W0,"__esModule",{value:!0});var fT1=LT1(c1()),o31=n31(),MT1=i31(),pT1=(0,MT1.createAnimation)("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");function hT1(t){var r=t.loading,n=r===void 0?!0:r,i=t.color,o=i===void 0?"#000000":i,a=t.speedMultiplier,s=a===void 0?1:a,l=t.cssOverride,C=l===void 0?{}:l,u=t.size,d=u===void 0?35:u,c=mT1(t,["loading","color","speedMultiplier","cssOverride","size"]),H=uf({background:"transparent !important",width:(0,o31.cssValue)(d),height:(0,o31.cssValue)(d),borderRadius:"100%",border:"2px solid",borderTopColor:o,borderBottomColor:"transparent",borderLeftColor:o,borderRightColor:o,display:"inline-block",animation:"".concat(pT1," ").concat(.75/s,"s 0s infinite linear"),animationFillMode:"both"},C);return n?fT1.createElement("span",uf({style:H},c)):null}W0.default=hT1});var sr1=_(D9=>{"use strict";Object.defineProperty(D9,"__esModule",{value:!0});D9.Detector=D9.Offline=D9.Online=void 0;var kM=function(){function t(r,n){for(var i=0;i<n.length;i++){var o=n[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}return function(r,n,i){return n&&t(r.prototype,n),i&&t(r,i),r}}(),OM=c1(),MB1=Uc(),W7=pB1(MB1);function pB1(t){return t&&t.__esModule?t:{default:t}}function hB1(t){if(Array.isArray(t)){for(var r=0,n=Array(t.length);r<t.length;r++)n[r]=t[r];return n}else return Array.from(t)}function _M(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function ZM(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:t}function RM(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}var nr1=typeof navigator<"u",gB1=/Windows.*Chrome|Windows.*Firefox|Linux.*Chrome/,AB1=function(r){var n=r.url,i=r.timeout;return new Promise(function(o){var a=function(){return o(!0)},s=function(){return o(!1)},l=new XMLHttpRequest;l.onerror=s,l.ontimeout=s,l.onreadystatechange=function(){l.readyState===l.HEADERS_RECEIVED&&(l.status?a():s())},l.open("GET",n),l.timeout=i,l.send()})},EM={children:W7.default.node,onChange:W7.default.func,polling:W7.default.oneOfType([W7.default.shape({url:W7.default.string,interval:W7.default.number,timeout:W7.default.number}),W7.default.bool]),wrapperType:W7.default.string},PM={polling:!0,wrapperType:"span"},rr1={enabled:nr1&&gB1.test(navigator.userAgent),url:"https://httpbin.org/get",timeout:5e3,interval:5e3},Vu=function(t){RM(r,t);function r(){_M(this,r);var n=ZM(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return n.state={online:nr1&&typeof navigator.onLine=="boolean"?navigator.onLine:!0},n.goOnline=n.goOnline.bind(n),n.goOffline=n.goOffline.bind(n),n}return kM(r,[{key:"componentDidMount",value:function(){window.addEventListener("online",this.goOnline),window.addEventListener("offline",this.goOffline),this.getPollingConfig().enabled&&this.startPolling()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("online",this.goOnline),window.removeEventListener("offline",this.goOffline),this.pollingId&&this.stopPolling()}},{key:"renderChildren",value:function(){var i=this.props,o=i.children,a=i.wrapperType;return(0,OM.isValidElement)(o)?o:o?OM.createElement.apply(void 0,[a,{}].concat(hB1(OM.Children.toArray(o)))):null}},{key:"getPollingConfig",value:function(){switch(this.props.polling){case!0:return rr1;case!1:return{enabled:!1};default:return Object.assign({},rr1,this.props.polling)}}},{key:"goOnline",value:function(){this.state.online||(this.callOnChangeHandler(!0),this.setState({online:!0}))}},{key:"goOffline",value:function(){this.state.online&&(this.callOnChangeHandler(!1),this.setState({online:!1}))}},{key:"callOnChangeHandler",value:function(i){this.props.onChange&&this.props.onChange(i)}},{key:"startPolling",value:function(){var i=this,o=this.getPollingConfig(),a=o.interval;this.pollingId=setInterval(function(){var s=i.getPollingConfig(),l=s.url,C=s.timeout;AB1({url:l,timeout:C}).then(function(u){u?i.goOnline():i.goOffline()})},a)}},{key:"stopPolling",value:function(){clearInterval(this.pollingId)}}]),r}(OM.Component);Vu.propTypes=EM;Vu.defaultProps=PM;var ir1=D9.Online=function(t){RM(r,t);function r(){return _M(this,r),ZM(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return kM(r,[{key:"render",value:function(){return this.state.online?this.renderChildren():null}}]),r}(Vu);ir1.propTypes=EM;ir1.defaultProps=PM;var or1=D9.Offline=function(t){RM(r,t);function r(){return _M(this,r),ZM(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return kM(r,[{key:"render",value:function(){return this.state.online?null:this.renderChildren()}}]),r}(Vu);or1.propTypes=EM;or1.defaultProps=PM;var ar1=D9.Detector=function(t){RM(r,t);function r(){return _M(this,r),ZM(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return kM(r,[{key:"render",value:function(){return this.props.render({online:this.state.online})}}]),r}(Vu);ar1.propTypes=Object.assign({},EM,{render:W7.default.func.isRequired});ar1.defaultProps=PM});var JN1={};v0(JN1,{assets:()=>A91,assetsBuildDirectory:()=>$N1,entry:()=>QN1,future:()=>YN1,mode:()=>GN1,publicPath:()=>KN1,routes:()=>XN1});module.exports=i2(JN1);var DA={};v0(DA,{default:()=>Pc1});var pN=require("stream"),hN=J(Ln()),gN=J(l0()),AN=J(VN()),yN=J(K1()),MN=1e7,Pc1=Tc1;function Tc1(t,r,n,i){return new Promise((o,a)=>{let{pipe:s,abort:l}=(0,AN.renderToPipeableStream)((0,yN.jsx)(gN.RemixServer,{context:i,url:t.url,abortDelay:MN}),{onShellReady(){let C=new pN.PassThrough;n.set("Content-Type","text/html"),o(new Response((0,hN.createReadableStreamFromReadable)(C),{headers:n,status:r})),s(C)},onShellError(C){a(C)},onError(C){console.error(C),r=500}});setTimeout(l,MN)})}var Wx={};v0(Wx,{ErrorBoundary:()=>lx1,default:()=>IQ,links:()=>ax1,meta:()=>ox1});var BQ=J(ZN()),V5=J(l0());var RN="/build/_assets/vars-COQCVZEU.css";var EN="/build/_assets/animations-TUO2PXWS.css";var Hl=J(c1()),FV=J(Z5()),n9=J(N5());function TN(t){var r,n,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=TN(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function A5(){for(var t,r,n=0,i="",o=arguments.length;n<o;n++)(t=arguments[n])&&(r=TN(t))&&(i&&(i+=" "),i+=r);return i}var Ke=A5;var Tn="/build/_assets/truck-7F5JWBYT.gif";var BV=J(Js());var N2=J(c1(),1);function pV(){return(pV=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function MU(t,r){if(t==null)return{};var n,i,o={},a=Object.keys(t);for(i=0;i<a.length;i++)r.indexOf(n=a[i])>=0||(o[n]=t[n]);return o}function eS(t){var r=(0,N2.useRef)(t),n=(0,N2.useRef)(function(i){r.current&&r.current(i)});return r.current=t,n.current}var tl=function(t,r,n){return r===void 0&&(r=0),n===void 0&&(n=1),t>n?n:t<r?r:t},el=function(t){return"touches"in t},tS=function(t){return t&&t.ownerDocument.defaultView||self},LU=function(t,r,n){var i=t.getBoundingClientRect(),o=el(r)?function(a,s){for(var l=0;l<a.length;l++)if(a[l].identifier===s)return a[l];return a[0]}(r.touches,n):r;return{left:tl((o.pageX-(i.left+tS(t).pageXOffset))/i.width),top:tl((o.pageY-(i.top+tS(t).pageYOffset))/i.height)}},mU=function(t){!el(t)&&t.preventDefault()},pU=N2.default.memo(function(t){var r=t.onMove,n=t.onKey,i=MU(t,["onMove","onKey"]),o=(0,N2.useRef)(null),a=eS(r),s=eS(n),l=(0,N2.useRef)(null),C=(0,N2.useRef)(!1),u=(0,N2.useMemo)(function(){var V=function(m){mU(m),(el(m)?m.touches.length>0:m.buttons>0)&&o.current?a(LU(o.current,m,l.current)):M(!1)},L=function(){return M(!1)};function M(m){var h=C.current,A=tS(o.current),y=m?A.addEventListener:A.removeEventListener;y(h?"touchmove":"mousemove",V),y(h?"touchend":"mouseup",L)}return[function(m){var h=m.nativeEvent,A=o.current;if(A&&(mU(h),!function(p,b){return b&&!el(p)}(h,C.current)&&A)){if(el(h)){C.current=!0;var y=h.changedTouches||[];y.length&&(l.current=y[0].identifier)}A.focus(),a(LU(A,h,l.current)),M(!0)}},function(m){var h=m.which||m.keyCode;h<37||h>40||(m.preventDefault(),s({left:h===39?.05:h===37?-.05:0,top:h===40?.05:h===38?-.05:0}))},M]},[s,a]),d=u[0],c=u[1],H=u[2];return(0,N2.useEffect)(function(){return H},[H]),N2.default.createElement("div",pV({},i,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:c,tabIndex:0,role:"slider"}))}),iS=function(t){return t.filter(Boolean).join(" ")},hU=function(t){var r=t.color,n=t.left,i=t.top,o=i===void 0?.5:i,a=iS(["react-colorful__pointer",t.className]);return N2.default.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},N2.default.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:r}}))},at=function(t,r,n){return r===void 0&&(r=0),n===void 0&&(n=Math.pow(10,r)),Math.round(n*t)/n},qz1={grad:.9,turn:360,rad:360/(2*Math.PI)},VL1=function(t){return pL1(rS(t))},rS=function(t){return t[0]==="#"&&(t=t.substring(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?at(parseInt(t[3]+t[3],16)/255,2):1}:{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16),a:t.length===8?at(parseInt(t.substring(6,8),16)/255,2):1}};var LL1=function(t){return ML1(fL1(t))},mL1=function(t){var r=t.s,n=t.v,i=t.a,o=(200-r)*n/100;return{h:at(t.h),s:at(o>0&&o<200?r*n/100/(o<=100?o:200-o)*100:0),l:at(o/2),a:at(i,2)}},nS=function(t){var r=mL1(t);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"};var fL1=function(t){var r=t.h,n=t.s,i=t.v,o=t.a;r=r/360*6,n/=100,i/=100;var a=Math.floor(r),s=i*(1-n),l=i*(1-(r-a)*n),C=i*(1-(1-r+a)*n),u=a%6;return{r:at(255*[i,l,s,s,C,i][u]),g:at(255*[C,i,i,l,s,s][u]),b:at(255*[s,s,C,i,i,l][u]),a:at(o,2)}};var MV=function(t){var r=t.toString(16);return r.length<2?"0"+r:r},ML1=function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=o<1?MV(at(255*o)):"";return"#"+MV(r)+MV(n)+MV(i)+a},pL1=function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=Math.max(r,n,i),s=a-Math.min(r,n,i),l=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:at(60*(l<0?l+6:l)),s:at(a?s/a*100:0),v:at(a/255*100),a:o}};var hL1=N2.default.memo(function(t){var r=t.hue,n=t.onChange,i=iS(["react-colorful__hue",t.className]);return N2.default.createElement("div",{className:i},N2.default.createElement(pU,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:tl(r+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":at(r),"aria-valuemax":"360","aria-valuemin":"0"},N2.default.createElement(hU,{className:"react-colorful__hue-pointer",left:r/360,color:nS({h:r,s:100,v:100,a:1})})))}),gL1=N2.default.memo(function(t){var r=t.hsva,n=t.onChange,i={backgroundColor:nS({h:r.h,s:100,v:100,a:1})};return N2.default.createElement("div",{className:"react-colorful__saturation",style:i},N2.default.createElement(pU,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:tl(r.s+100*o.left,0,100),v:tl(r.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+at(r.s)+"%, Brightness "+at(r.v)+"%"},N2.default.createElement(hU,{className:"react-colorful__saturation-pointer",top:1-r.v/100,left:r.s/100,color:nS(r)})))}),gU=function(t,r){if(t===r)return!0;for(var n in t)if(t[n]!==r[n])return!1;return!0};var AL1=function(t,r){return t.toLowerCase()===r.toLowerCase()||gU(rS(t),rS(r))};function yL1(t,r,n){var i=eS(n),o=(0,N2.useState)(function(){return t.toHsva(r)}),a=o[0],s=o[1],l=(0,N2.useRef)({color:r,hsva:a});(0,N2.useEffect)(function(){if(!t.equal(r,l.current.color)){var u=t.toHsva(r);l.current={hsva:u,color:r},s(u)}},[r,t]),(0,N2.useEffect)(function(){var u;gU(a,l.current.hsva)||t.equal(u=t.fromHsva(a),l.current.color)||(l.current={hsva:a,color:u},i(u))},[a,t,i]);var C=(0,N2.useCallback)(function(u){s(function(d){return Object.assign({},d,u)})},[]);return[a,C]}var vL1,SL1=typeof window<"u"?N2.useLayoutEffect:N2.useEffect,bL1=function(){return vL1||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)};var fU=new Map,wL1=function(t){SL1(function(){var r=t.current?t.current.ownerDocument:document;if(r!==void 0&&!fU.has(r)){var n=r.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,fU.set(r,n);var i=bL1();i&&n.setAttribute("nonce",i),r.head.appendChild(n)}},[])},xL1=function(t){var r=t.className,n=t.colorModel,i=t.color,o=i===void 0?n.defaultColor:i,a=t.onChange,s=MU(t,["className","colorModel","color","onChange"]),l=(0,N2.useRef)(null);wL1(l);var C=yL1(n,o,a),u=C[0],d=C[1],c=iS(["react-colorful",r]);return N2.default.createElement("div",pV({},s,{ref:l,className:c}),N2.default.createElement(gL1,{hsva:u,onChange:d}),N2.default.createElement(hL1,{hue:u.h,onChange:d,className:"react-colorful__last-control"}))},OL1={defaultColor:"000",toHsva:VL1,fromHsva:function(t){return LL1({h:t.h,s:t.s,v:t.v,a:1})},equal:AL1},AU=function(t){return N2.default.createElement(xL1,pV({},t,{colorModel:OL1}))};var hV=J(c1()),oS=(0,hV.createContext)(void 0);function xe(){let t=(0,hV.useContext)(oS);if(!t)throw new Error("useData must be used within a DataContext");if(t.repo.status!=="Success")throw new Error(`Repo is not analyzed, it is in status: ${t.repo.status}`);return{...t,repo:t.repo}}var FG=J(l0());var r9=J(vS()),wS=J(wG());function RV(t){return t?new Date(t*1e3).toLocaleString("en-gb",{day:"2-digit",month:"short",year:"numeric"}):"Invalid date"}function _G(t){return t?new Date(t).toLocaleString("en-gb",{month:"long",year:"numeric"}):"Invalid date"}function cl(t){return new Date(t).toLocaleString("en-gb",{day:"2-digit",month:"short",year:"2-digit"})}function yi(t){return new Date(t).toLocaleString("da-dk",{hour:"2-digit",minute:"2-digit",day:"2-digit",month:"short",year:"2-digit"})}function vi(t){let r=Date.now(),n=60*60*1e3,i=24*n,o=r-t*1e3;if(o<0)return"Unknown time ago";if(o>i){let s=Math.floor(o/i);return`${s} day${s>1?"s":""} ago`}let a=Math.floor(o/n);return a>1?`${a} hours ago`:a===1?"1 hour ago":"<1 hour ago"}var ZG=t=>t[t.length-1],RG=t=>t.length<=1?[]:t.slice(0,t.length-1),EG=t=>t.length<=1?[]:t.slice(1);function PG(t){return t.includes("\\")?"\\":"/"}var f0=(t,r)=>[t,encodeURIComponent(r)].join("/"),TG=(t,r)=>{let n=["main","master"];return n.includes(t)?-1:n.includes(r)?1:t.toLowerCase().localeCompare(r.toLowerCase())},EV=(t,r)=>{let n=(0,r9.valid)((0,r9.clean)(t)),i=(0,r9.valid)((0,r9.clean)(r));return!n||!i?n?1:i?-1:t.toLowerCase().localeCompare(r.toLowerCase()):(0,r9.compare)(n,i)},xG=new Map;function DG(t){let r=TM1(t);return Math.sqrt(Math.pow(r[0],2)*.241+Math.pow(r[1],2)*.691+Math.pow(r[2],2)*.068)}var OG=new Map;function TM1(t){let r=OG.get(t);if(r)return r;let n=wS.default.hex.rgb(t);return OG.set(t,n),n}var PV=t=>{if(!/^#([0-9A-F]{3}){1,2}$/i.test(t))return"#000000";let r=xG.get(t);if(r)return r;let i=DG(t)>186?"#000000":"#ffffff";return xG.set(t,i),i},kG=new Map;function TV(t,r,n){let i=`${t}-${r}-${n}`,o=kG.get(i);if(o)return o;let a=`#${wS.default.hsl.hex([t,r,n])}`;return kG.set(i,a),a}function DV(t){return DG(t)/255}var Sr=(t=null)=>t?.type==="tree",G3=(t=null)=>t?.type==="blob";var S5=J(K1()),br=({className:t="",absolute:r=!0,...n})=>(0,S5.jsx)("button",{className:Ke(t,"inline-grid text-lg leading-none hover:opacity-80",{"absolute right-2 top-2 z-10":r}),title:"Close",...n,children:(0,S5.jsx)(FV.Icon,{path:n9.mdiClose,size:1})}),F0=({className:t="",style:r={},dotColor:n,authorColorToChange:i=void 0})=>{let[o,a]=(0,Hl.useState)(!1),[s,l]=(0,Hl.useState)(n),{databaseInfo:C,repo:u}=xe(),d=(0,FG.useSubmit)();if(!i)return(0,S5.jsx)("div",{className:`aspect-square h-4 w-4 rounded-full shadow-sm shadow-black ${t}`,style:{...r,backgroundColor:n}});function c(H,V){let L=new FormData;L.append("authorname",H),L.append("authorcolor",V),d(L,{action:`/${f0(u.name,u.currentHead)}`,method:"post"})}return(0,S5.jsx)(BV.Popover,{isOpen:o,positions:["top","left","bottom","right"],content:({position:H,childRect:V,popoverRect:L})=>(0,S5.jsx)(BV.ArrowContainer,{position:H,childRect:V,popoverRect:L,arrowSize:10,arrowColor:"white",children:(0,S5.jsxs)("div",{className:"card z-20 max-w-lg bg-gray-100/50 pr-10 backdrop-blur dark:bg-gray-800/40",children:[(0,S5.jsx)(AU,{color:s,onChange:l}),(0,S5.jsx)("button",{className:"btn",onClick:()=>c(i,s),children:"Set color"}),C.authorColors[i]?(0,S5.jsx)("button",{className:"btn",onClick:()=>c(i,""),children:"Use default color"}):null,(0,S5.jsx)(br,{absolute:!0,onClick:()=>a(!1)})]})}),onClickOutside:()=>a(!1),children:(0,S5.jsx)("div",{className:`aspect-square h-4 w-4 rounded-full shadow-sm shadow-black ${t} cursor-pointer`,style:{...r,backgroundColor:n},onClick:()=>a(!o)})})},C3=({inline:t=!1,...r})=>(0,S5.jsx)("code",{className:`rounded-md bg-gray-100 p-1 font-mono text-sm text-gray-900 dark:bg-gray-700 dark:text-gray-100 ${t?"inline-block":"block"} whitespace-pre-wrap`,...r});function wr({children:t,checked:r,onChange:n,className:i="",checkedIcon:o=n9.mdiCheckboxOutline,uncheckedIcon:a=n9.mdiCheckboxBlankOutline,...s}){let[l,C]=(0,Hl.useTransition)();return(0,S5.jsxs)("label",{className:`label flex w-full items-center justify-start gap-2 ${i}`,...s,children:[(0,S5.jsxs)("span",{className:"flex grow items-center gap-2",children:[t,l?(0,S5.jsx)("img",{src:Tn,alt:"...",className:"h-5"}):""]}),(0,S5.jsx)(FV.Icon,{className:"place-self-end",path:r?o:a,size:1}),(0,S5.jsx)("input",{type:"checkbox",defaultChecked:r,onChange:u=>C(()=>n(u)),className:"hidden"})]})}var IV=({visible:t,offset:r})=>(0,S5.jsx)("div",{className:Ke("absolute bottom-0 w-min -translate-x-1/2 translate-y-1/2 transition-all",{"opacity-0":!t}),style:{left:`${r<=100?r:-20}%`},children:(0,S5.jsx)(FV.Icon,{path:n9.mdiMenuUp,size:2,className:"stroke-white"})});var BG="/build/_assets/tailwind-LNGO2W4E.css";var ML=J(c1()),EQ=J(Ei());var jx="-";function ww1(t){let r=Ow1(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=t;function o(s){let l=s.split(jx);return l[0]===""&&l.length!==1&&l.shift(),xQ(l,r)||xw1(s)}function a(s,l){let C=n[s]||[];return l&&i[s]?[...C,...i[s]]:C}return{getClassGroupId:o,getConflictingClassGroupIds:a}}function xQ(t,r){if(t.length===0)return r.classGroupId;let n=t[0],i=r.nextPart.get(n),o=i?xQ(t.slice(1),i):void 0;if(o)return o;if(r.validators.length===0)return;let a=t.join(jx);return r.validators.find(({validator:s})=>s(a))?.classGroupId}var bQ=/^\[(.+)\]$/;function xw1(t){if(bQ.test(t)){let r=bQ.exec(t)[1],n=r?.substring(0,r.indexOf(":"));if(n)return"arbitrary.."+n}}function Ow1(t){let{theme:r,prefix:n}=t,i={nextPart:new Map,validators:[]};return _w1(Object.entries(t.classGroups),n).forEach(([a,s])=>{Nx(s,i,a,r)}),i}function Nx(t,r,n,i){t.forEach(o=>{if(typeof o=="string"){let a=o===""?r:wQ(r,o);a.classGroupId=n;return}if(typeof o=="function"){if(kw1(o)){Nx(o(i),r,n,i);return}r.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([a,s])=>{Nx(s,wQ(r,a),n,i)})})}function wQ(t,r){let n=t;return r.split(jx).forEach(i=>{n.nextPart.has(i)||n.nextPart.set(i,{nextPart:new Map,validators:[]}),n=n.nextPart.get(i)}),n}function kw1(t){return t.isThemeGetter}function _w1(t,r){return r?t.map(([n,i])=>{let o=i.map(a=>typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,l])=>[r+s,l])):a);return[n,o]}):t}function Zw1(t){if(t<1)return{get:()=>{},set:()=>{}};let r=0,n=new Map,i=new Map;function o(a,s){n.set(a,s),r++,r>t&&(r=0,i=n,n=new Map)}return{get(a){let s=n.get(a);if(s!==void 0)return s;if((s=i.get(a))!==void 0)return o(a,s),s},set(a,s){n.has(a)?n.set(a,s):o(a,s)}}}var OQ="!";function Rw1(t){let r=t.separator,n=r.length===1,i=r[0],o=r.length;return function(s){let l=[],C=0,u=0,d;for(let M=0;M<s.length;M++){let m=s[M];if(C===0){if(m===i&&(n||s.slice(M,M+o)===r)){l.push(s.slice(u,M)),u=M+o;continue}if(m==="/"){d=M;continue}}m==="["?C++:m==="]"&&C--}let c=l.length===0?s:s.substring(u),H=c.startsWith(OQ),V=H?c.substring(1):c,L=d&&d>u?d-u:void 0;return{modifiers:l,hasImportantModifier:H,baseClassName:V,maybePostfixModifierPosition:L}}}function Ew1(t){if(t.length<=1)return t;let r=[],n=[];return t.forEach(i=>{i[0]==="["?(r.push(...n.sort(),i),n=[]):n.push(i)}),r.push(...n.sort()),r}function Pw1(t){return{cache:Zw1(t.cacheSize),splitModifiers:Rw1(t),...ww1(t)}}var Tw1=/\s+/;function Dw1(t,r){let{splitModifiers:n,getClassGroupId:i,getConflictingClassGroupIds:o}=r,a=new Set;return t.trim().split(Tw1).map(s=>{let{modifiers:l,hasImportantModifier:C,baseClassName:u,maybePostfixModifierPosition:d}=n(s),c=i(d?u.substring(0,d):u),H=Boolean(d);if(!c){if(!d)return{isTailwindClass:!1,originalClassName:s};if(c=i(u),!c)return{isTailwindClass:!1,originalClassName:s};H=!1}let V=Ew1(l).join(":");return{isTailwindClass:!0,modifierId:C?V+OQ:V,classGroupId:c,originalClassName:s,hasPostfixModifier:H}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;let{modifierId:l,classGroupId:C,hasPostfixModifier:u}=s,d=l+C;return a.has(d)?!1:(a.add(d),o(C,u).forEach(c=>a.add(l+c)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function Fw1(){let t=0,r,n,i="";for(;t<arguments.length;)(r=arguments[t++])&&(n=kQ(r))&&(i&&(i+=" "),i+=n);return i}function kQ(t){if(typeof t=="string")return t;let r,n="";for(let i=0;i<t.length;i++)t[i]&&(r=kQ(t[i]))&&(n&&(n+=" "),n+=r);return n}function Bw1(t,...r){let n,i,o,a=s;function s(C){let u=r.reduce((d,c)=>c(d),t());return n=Pw1(u),i=n.cache.get,o=n.cache.set,a=l,l(C)}function l(C){let u=i(C);if(u)return u;let d=Dw1(C,n);return o(C,d),d}return function(){return a(Fw1.apply(null,arguments))}}function ze(t){let r=n=>n[t]||[];return r.isThemeGetter=!0,r}var _Q=/^\[(?:([a-z-]+):)?(.+)\]$/i,Iw1=/^\d+\/\d+$/,Nw1=new Set(["px","full","screen"]),jw1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zw1=/\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$/,Ww1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Uw1=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qw1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function kr(t){return $6(t)||Nw1.has(t)||Iw1.test(t)}function u9(t){return Pi(t,"length",ex1)}function $6(t){return Boolean(t)&&!Number.isNaN(Number(t))}function fL(t){return Pi(t,"number",$6)}function Dl(t){return Boolean(t)&&Number.isInteger(Number(t))}function Gw1(t){return t.endsWith("%")&&$6(t.slice(0,-1))}function _2(t){return _Q.test(t)}function d9(t){return jw1.test(t)}var $w1=new Set(["length","size","percentage"]);function Yw1(t){return Pi(t,$w1,ZQ)}function Kw1(t){return Pi(t,"position",ZQ)}var Qw1=new Set(["image","url"]);function Xw1(t){return Pi(t,Qw1,rx1)}function Jw1(t){return Pi(t,"",tx1)}function Fl(){return!0}function Pi(t,r,n){let i=_Q.exec(t);return i?i[1]?typeof r=="string"?i[1]===r:r.has(i[1]):n(i[2]):!1}function ex1(t){return zw1.test(t)&&!Ww1.test(t)}function ZQ(){return!1}function tx1(t){return Uw1.test(t)}function rx1(t){return qw1.test(t)}function nx1(){let t=ze("colors"),r=ze("spacing"),n=ze("blur"),i=ze("brightness"),o=ze("borderColor"),a=ze("borderRadius"),s=ze("borderSpacing"),l=ze("borderWidth"),C=ze("contrast"),u=ze("grayscale"),d=ze("hueRotate"),c=ze("invert"),H=ze("gap"),V=ze("gradientColorStops"),L=ze("gradientColorStopPositions"),M=ze("inset"),m=ze("margin"),h=ze("opacity"),A=ze("padding"),y=ze("saturate"),p=ze("scale"),b=ze("sepia"),Z=ze("skew"),w=ze("space"),z=ze("translate"),P=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",_2,r],N=()=>[_2,r],d1=()=>["",kr,u9],m1=()=>["auto",$6,_2],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],f1=()=>["solid","dashed","dotted","double","none"],p1=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],S1=()=>["start","end","center","between","around","evenly","stretch"],b1=()=>["","0",_2],U1=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W1=()=>[$6,fL],j1=()=>[$6,_2];return{cacheSize:500,separator:":",theme:{colors:[Fl],spacing:[kr,u9],blur:["none","",d9,_2],brightness:W1(),borderColor:[t],borderRadius:["none","","full",d9,_2],borderSpacing:N(),borderWidth:d1(),contrast:W1(),grayscale:b1(),hueRotate:j1(),invert:b1(),gap:N(),gradientColorStops:[t],gradientColorStopPositions:[Gw1,u9],inset:B(),margin:B(),opacity:W1(),padding:N(),saturate:W1(),scale:W1(),sepia:b1(),skew:j1(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",_2]}],container:["container"],columns:[{columns:[d9]}],"break-after":[{"break-after":U1()}],"break-before":[{"break-before":U1()}],"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"],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:[...$(),_2]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[M]}],"inset-x":[{"inset-x":[M]}],"inset-y":[{"inset-y":[M]}],start:[{start:[M]}],end:[{end:[M]}],top:[{top:[M]}],right:[{right:[M]}],bottom:[{bottom:[M]}],left:[{left:[M]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Dl,_2]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_2]}],grow:[{grow:b1()}],shrink:[{shrink:b1()}],order:[{order:["first","last","none",Dl,_2]}],"grid-cols":[{"grid-cols":[Fl]}],"col-start-end":[{col:["auto",{span:["full",Dl,_2]},_2]}],"col-start":[{"col-start":m1()}],"col-end":[{"col-end":m1()}],"grid-rows":[{"grid-rows":[Fl]}],"row-start-end":[{row:["auto",{span:[Dl,_2]},_2]}],"row-start":[{"row-start":m1()}],"row-end":[{"row-end":m1()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_2]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_2]}],gap:[{gap:[H]}],"gap-x":[{"gap-x":[H]}],"gap-y":[{"gap-y":[H]}],"justify-content":[{justify:["normal",...S1()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...S1(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...S1(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[w]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[w]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",_2,r]}],"min-w":[{"min-w":[_2,r,"min","max","fit"]}],"max-w":[{"max-w":[_2,r,"none","full","min","max","fit","prose",{screen:[d9]},d9]}],h:[{h:[_2,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[_2,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[_2,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[_2,r,"auto","min","max","fit"]}],"font-size":[{text:["base",d9,u9]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fL]}],"font-family":[{font:[Fl]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",_2]}],"line-clamp":[{"line-clamp":["none",$6,fL]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",kr,_2]}],"list-image":[{"list-image":["none",_2]}],"list-style-type":[{list:["none","disc","decimal",_2]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...f1(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",kr,u9]}],"underline-offset":[{"underline-offset":["auto",kr,_2]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_2]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_2]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),Kw1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Yw1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xw1]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[L]}],"gradient-via-pos":[{via:[L]}],"gradient-to-pos":[{to:[L]}],"gradient-from":[{from:[V]}],"gradient-via":[{via:[V]}],"gradient-to":[{to:[V]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...f1(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:f1()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...f1()]}],"outline-offset":[{"outline-offset":[kr,_2]}],"outline-w":[{outline:[kr,u9]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:d1()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[kr,u9]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",d9,Jw1]}],"shadow-color":[{shadow:[Fl]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":p1()}],"bg-blend":[{"bg-blend":p1()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[i]}],contrast:[{contrast:[C]}],"drop-shadow":[{"drop-shadow":["","none",d9,_2]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[y]}],sepia:[{sepia:[b]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[C]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_2]}],duration:[{duration:j1()}],ease:[{ease:["linear","in","out","in-out",_2]}],delay:[{delay:j1()}],animate:[{animate:["none","spin","ping","pulse","bounce",_2]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[p]}],"scale-x":[{"scale-x":[p]}],"scale-y":[{"scale-y":[p]}],rotate:[{rotate:[Dl,_2]}],"translate-x":[{"translate-x":[z]}],"translate-y":[{"translate-y":[z]}],"skew-x":[{"skew-x":[Z]}],"skew-y":[{"skew-y":[Z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_2]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],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",_2]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"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",_2]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[kr,u9,fL]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var RQ=Bw1(nx1);var DQ=J(K1()),d3=(...t)=>RQ(A5(t));var PQ=(0,ML.createContext)(["LIGHT",()=>{throw new Error("ThemeContext not in the tree")}]),zx=()=>(0,ML.useContext)(PQ),TQ=({children:t})=>{let[r,n]=(0,EQ.useLocalStorage)("themeType",void 0);return(0,DQ.jsx)(PQ.Provider,{value:[r===void 0?"LIGHT":r,n],children:t})};function Ti(){let[t]=zx();return t===void 0||t==="LIGHT"}var FQ="/build/_assets/react-datepicker-3YLWDVEY.css";var te=J(K1()),ox1=()=>[{title:"Git Truck"}];function ax1(){return[...[RN,EN,BG,FQ].map(t=>({rel:"stylesheet",href:t})),{rel:"favicon",type:"image/x-icon",href:"favicon.ico"},{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&family=Roboto+Mono:wght@400;700&display=swap"}]}function IQ(){return(0,BQ.useKonami)(()=>window.open("https://fruit-rush.joglr.dev","_self")),(0,te.jsxs)("html",{lang:"en",children:[(0,te.jsxs)("head",{children:[(0,te.jsx)("meta",{charSet:"utf-8"}),(0,te.jsx)("meta",{name:"viewport",content:"width=device-width,initial-scale=1"}),(0,te.jsx)(V5.Meta,{}),(0,te.jsx)(V5.Links,{})]}),(0,te.jsx)(TQ,{children:(0,te.jsxs)(sx1,{children:[(0,te.jsx)(V5.Outlet,{}),(0,te.jsx)(V5.ScrollRestoration,{}),(0,te.jsx)(V5.Scripts,{}),(0,te.jsx)(V5.LiveReload,{})]})})]})}function sx1({children:t}){let r=Ti();return(0,te.jsx)("body",{className:d3("bg-gray-200 text-gray-700 dark:bg-gray-900 dark:text-gray-300",{dark:!r}),children:t})}var lx1=()=>{let t=(0,V5.useRouteError)();return(0,V5.isRouteErrorResponse)(t)?(0,te.jsxs)("html",{lang:"en",children:[(0,te.jsxs)("head",{children:[(0,te.jsx)("title",{children:"Oops! An error wasn't handled"}),(0,te.jsx)(V5.Meta,{}),(0,te.jsx)(V5.Links,{})]}),(0,te.jsxs)("body",{children:[(0,te.jsxs)("h1",{children:["Error: ",t.status]}),(0,te.jsx)(C3,{children:t.data.message}),(0,te.jsx)(V5.Scripts,{})]})]}):t instanceof Error?(0,te.jsxs)("html",{lang:"en",children:[(0,te.jsxs)("head",{children:[(0,te.jsx)("title",{children:"Oops! An error wasn't handled"}),(0,te.jsx)(V5.Meta,{}),(0,te.jsx)(V5.Links,{})]}),(0,te.jsxs)("body",{children:[(0,te.jsx)("h1",{children:t.message}),(0,te.jsx)(C3,{children:t.stack}),(0,te.jsx)(V5.Scripts,{})]})]}):null};var yk={};v0(yk,{loader:()=>wZ1});var q21=J(Ln()),G21=require("node:fs"),$21=require("node:path");var Cx1=!0,Ux="Invariant failed";function U5(t,r){if(!t){if(Cx1)throw new Error(Ux);var n=typeof r=="function"?r():r,i=n?"".concat(Ux,": ").concat(n):Ux;throw new Error(i)}}var UQ=require("util"),AL=require("path");function Y6(t){if(t!==t.toLowerCase()&&t!==t.toUpperCase()||(t=t.toLowerCase()),t.indexOf("-")===-1&&t.indexOf("_")===-1)return t;{let n="",i=!1,o=t.match(/^-+/);for(let a=o?o[0].length:0;a<t.length;a++){let s=t.charAt(a);i&&(i=!1,s=s.toUpperCase()),a!==0&&(s==="-"||s==="_")?i=!0:s!=="-"&&s!=="_"&&(n+=s)}return n}}function pL(t,r){let n=t.toLowerCase();r=r||"-";let i="";for(let o=0;o<t.length;o++){let a=n.charAt(o),s=t.charAt(o);a!==s&&o>0?i+=`${r}${n.charAt(o)}`:i+=s}return i}function hL(t){return t==null?!1:typeof t=="number"||/^0x[0-9a-f]+$/i.test(t)?!0:/^0[^.]/.test(t)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(t)}function NQ(t){if(Array.isArray(t))return t.map(s=>typeof s!="string"?s+"":s);t=t.trim();let r=0,n=null,i=null,o=null,a=[];for(let s=0;s<t.length;s++){if(n=i,i=t.charAt(s),i===" "&&!o){n!==" "&&r++;continue}i===o?o=null:(i==="'"||i==='"')&&!o&&(o=i),a[r]||(a[r]=""),a[r]+=i}return a}var c3;(function(t){t.BOOLEAN="boolean",t.STRING="string",t.NUMBER="number",t.ARRAY="array"})(c3||(c3={}));var _r,gL=class{constructor(r){_r=r}parse(r,n){let i=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},n),o=NQ(r),a=typeof r=="string",s=ux1(Object.assign(Object.create(null),i.alias)),l=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},i.configuration),C=Object.assign(Object.create(null),i.default),u=i.configObjects||[],d=i.envPrefix,c=l["populate--"],H=c?"--":"_",V=Object.create(null),L=Object.create(null),M=i.__||_r.format,m={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},h=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,A=new RegExp("^--"+l["negation-prefix"]+"(.+)");[].concat(i.array||[]).filter(Boolean).forEach(function(E){let D=typeof E=="object"?E.key:E,i1=Object.keys(E).map(function(e1){return{boolean:"bools",string:"strings",number:"numbers"}[e1]}).filter(Boolean).pop();i1&&(m[i1][D]=!0),m.arrays[D]=!0,m.keys.push(D)}),[].concat(i.boolean||[]).filter(Boolean).forEach(function(E){m.bools[E]=!0,m.keys.push(E)}),[].concat(i.string||[]).filter(Boolean).forEach(function(E){m.strings[E]=!0,m.keys.push(E)}),[].concat(i.number||[]).filter(Boolean).forEach(function(E){m.numbers[E]=!0,m.keys.push(E)}),[].concat(i.count||[]).filter(Boolean).forEach(function(E){m.counts[E]=!0,m.keys.push(E)}),[].concat(i.normalize||[]).filter(Boolean).forEach(function(E){m.normalize[E]=!0,m.keys.push(E)}),typeof i.narg=="object"&&Object.entries(i.narg).forEach(([E,D])=>{typeof D=="number"&&(m.nargs[E]=D,m.keys.push(E))}),typeof i.coerce=="object"&&Object.entries(i.coerce).forEach(([E,D])=>{typeof D=="function"&&(m.coercions[E]=D,m.keys.push(E))}),typeof i.config<"u"&&(Array.isArray(i.config)||typeof i.config=="string"?[].concat(i.config).filter(Boolean).forEach(function(E){m.configs[E]=!0}):typeof i.config=="object"&&Object.entries(i.config).forEach(([E,D])=>{(typeof D=="boolean"||typeof D=="function")&&(m.configs[E]=D)})),Y1(i.key,s,i.default,m.arrays),Object.keys(C).forEach(function(E){(m.aliases[E]||[]).forEach(function(D){C[D]=C[E]})});let y=null;h1();let p=[],b=Object.assign(Object.create(null),{_:[]}),Z={};for(let E=0;E<o.length;E++){let D=o[E],i1=D.replace(/^-{3,}/,"---"),e1,Y,V1,A1,w1,R1;if(D!=="--"&&/^-/.test(D)&&L1(D))w(D);else if(i1.match(/^---+(=|$)/)){w(D);continue}else if(D.match(/^--.+=/)||!l["short-option-groups"]&&D.match(/^-.+=/))A1=D.match(/^--?([^=]+)=([\s\S]*)$/),A1!==null&&Array.isArray(A1)&&A1.length>=3&&(Z1(A1[1],m.arrays)?E=P(E,A1[1],o,A1[2]):Z1(A1[1],m.nargs)!==!1?E=z(E,A1[1],o,A1[2]):F(A1[1],A1[2],!0));else if(D.match(A)&&l["boolean-negation"])A1=D.match(A),A1!==null&&Array.isArray(A1)&&A1.length>=2&&(Y=A1[1],F(Y,Z1(Y,m.arrays)?[!1]:!1));else if(D.match(/^--.+/)||!l["short-option-groups"]&&D.match(/^-[^-]+/))A1=D.match(/^--?(.+)/),A1!==null&&Array.isArray(A1)&&A1.length>=2&&(Y=A1[1],Z1(Y,m.arrays)?E=P(E,Y,o):Z1(Y,m.nargs)!==!1?E=z(E,Y,o):(w1=o[E+1],w1!==void 0&&(!w1.match(/^-/)||w1.match(h))&&!Z1(Y,m.bools)&&!Z1(Y,m.counts)||/^(true|false)$/.test(w1)?(F(Y,w1),E++):F(Y,T(Y))));else if(D.match(/^-.\..+=/))A1=D.match(/^-([^=]+)=([\s\S]*)$/),A1!==null&&Array.isArray(A1)&&A1.length>=3&&F(A1[1],A1[2]);else if(D.match(/^-.\..+/)&&!D.match(h))w1=o[E+1],A1=D.match(/^-(.\..+)/),A1!==null&&Array.isArray(A1)&&A1.length>=2&&(Y=A1[1],w1!==void 0&&!w1.match(/^-/)&&!Z1(Y,m.bools)&&!Z1(Y,m.counts)?(F(Y,w1),E++):F(Y,T(Y)));else if(D.match(/^-[^-]+/)&&!D.match(h)){V1=D.slice(1,-1).split(""),e1=!1;for(let E1=0;E1<V1.length;E1++){if(w1=D.slice(E1+2),V1[E1+1]&&V1[E1+1]==="="){R1=D.slice(E1+3),Y=V1[E1],Z1(Y,m.arrays)?E=P(E,Y,o,R1):Z1(Y,m.nargs)!==!1?E=z(E,Y,o,R1):F(Y,R1),e1=!0;break}if(w1==="-"){F(V1[E1],w1);continue}if(/[A-Za-z]/.test(V1[E1])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(w1)&&Z1(w1,m.bools)===!1){F(V1[E1],w1),e1=!0;break}if(V1[E1+1]&&V1[E1+1].match(/\W/)){F(V1[E1],w1),e1=!0;break}else F(V1[E1],T(V1[E1]))}Y=D.slice(-1)[0],!e1&&Y!=="-"&&(Z1(Y,m.arrays)?E=P(E,Y,o):Z1(Y,m.nargs)!==!1?E=z(E,Y,o):(w1=o[E+1],w1!==void 0&&(!/^(-|--)[^-]/.test(w1)||w1.match(h))&&!Z1(Y,m.bools)&&!Z1(Y,m.counts)||/^(true|false)$/.test(w1)?(F(Y,w1),E++):F(Y,T(Y))))}else if(D.match(/^-[0-9]$/)&&D.match(h)&&Z1(D.slice(1),m.bools))Y=D.slice(1),F(Y,T(Y));else if(D==="--"){p=o.slice(E+1);break}else if(l["halt-at-non-option"]){p=o.slice(E);break}else w(D)}p1(b,!0),p1(b,!1),m1(b),f1(),U1(b,m.aliases,C,!0),S1(b),l["set-placeholder-key"]&&b1(b),Object.keys(m.counts).forEach(function(E){W1(b,E.split("."))||F(E,0)}),c&&p.length&&(b[H]=[]),p.forEach(function(E){b[H].push(E)}),l["camel-case-expansion"]&&l["strip-dashed"]&&Object.keys(b).filter(E=>E!=="--"&&E.includes("-")).forEach(E=>{delete b[E]}),l["strip-aliased"]&&[].concat(...Object.keys(s).map(E=>s[E])).forEach(E=>{l["camel-case-expansion"]&&E.includes("-")&&delete b[E.split(".").map(D=>Y6(D)).join(".")],delete b[E]});function w(E){let D=d1("_",E);(typeof D=="string"||typeof D=="number")&&b._.push(D)}function z(E,D,i1,e1){let Y,V1=Z1(D,m.nargs);if(V1=typeof V1!="number"||isNaN(V1)?1:V1,V1===0)return C1(e1)||(y=Error(M("Argument unexpected for: %s",D))),F(D,T(D)),E;let A1=C1(e1)?0:1;if(l["nargs-eats-options"])i1.length-(E+1)+A1<V1&&(y=Error(M("Not enough arguments following: %s",D))),A1=V1;else{for(Y=E+1;Y<i1.length&&(!i1[Y].match(/^-[^0-9]/)||i1[Y].match(h)||L1(i1[Y]));Y++)A1++;A1<V1&&(y=Error(M("Not enough arguments following: %s",D)))}let w1=Math.min(A1,V1);for(!C1(e1)&&w1>0&&(F(D,e1),w1--),Y=E+1;Y<w1+E+1;Y++)F(D,i1[Y]);return E+w1}function P(E,D,i1,e1){let Y=[],V1=e1||i1[E+1],A1=Z1(D,m.nargs);if(Z1(D,m.bools)&&!/^(true|false)$/.test(V1))Y.push(!0);else if(C1(V1)||C1(e1)&&/^-/.test(V1)&&!h.test(V1)&&!L1(V1)){if(C[D]!==void 0){let w1=C[D];Y=Array.isArray(w1)?w1:[w1]}}else{C1(e1)||Y.push(N(D,e1,!0));for(let w1=E+1;w1<i1.length&&!(!l["greedy-arrays"]&&Y.length>0||A1&&typeof A1=="number"&&Y.length>=A1||(V1=i1[w1],/^-/.test(V1)&&!h.test(V1)&&!L1(V1)));w1++)E=w1,Y.push(N(D,V1,a))}return typeof A1=="number"&&(A1&&Y.length<A1||isNaN(A1)&&Y.length===0)&&(y=Error(M("Not enough arguments following: %s",D))),F(D,Y),E}function F(E,D,i1=a){if(/-/.test(E)&&l["camel-case-expansion"]){let V1=E.split(".").map(function(A1){return Y6(A1)}).join(".");B(E,V1)}let e1=N(E,D,i1),Y=E.split(".");j1(b,Y,e1),m.aliases[E]&&m.aliases[E].forEach(function(V1){let A1=V1.split(".");j1(b,A1,e1)}),Y.length>1&&l["dot-notation"]&&(m.aliases[Y[0]]||[]).forEach(function(V1){let A1=V1.split("."),w1=[].concat(Y);w1.shift(),A1=A1.concat(w1),(m.aliases[E]||[]).includes(A1.join("."))||j1(b,A1,e1)}),Z1(E,m.normalize)&&!Z1(E,m.arrays)&&[E].concat(m.aliases[E]||[]).forEach(function(A1){Object.defineProperty(Z,A1,{enumerable:!0,get(){return D},set(w1){D=typeof w1=="string"?_r.normalize(w1):w1}})})}function B(E,D){m.aliases[E]&&m.aliases[E].length||(m.aliases[E]=[D],V[D]=!0),m.aliases[D]&&m.aliases[D].length||B(D,E)}function N(E,D,i1){i1&&(D=dx1(D)),(Z1(E,m.bools)||Z1(E,m.counts))&&typeof D=="string"&&(D=D==="true");let e1=Array.isArray(D)?D.map(function(Y){return d1(E,Y)}):d1(E,D);return Z1(E,m.counts)&&(C1(e1)||typeof e1=="boolean")&&(e1=qx()),Z1(E,m.normalize)&&Z1(E,m.arrays)&&(Array.isArray(D)?e1=D.map(Y=>_r.normalize(Y)):e1=_r.normalize(D)),e1}function d1(E,D){return!l["parse-positional-numbers"]&&E==="_"||!Z1(E,m.strings)&&!Z1(E,m.bools)&&!Array.isArray(D)&&(hL(D)&&l["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${D}`)))||!C1(D)&&Z1(E,m.numbers))&&(D=Number(D)),D}function m1(E){let D=Object.create(null);U1(D,m.aliases,C),Object.keys(m.configs).forEach(function(i1){let e1=E[i1]||D[i1];if(e1)try{let Y=null,V1=_r.resolve(_r.cwd(),e1),A1=m.configs[i1];if(typeof A1=="function"){try{Y=A1(V1)}catch(w1){Y=w1}if(Y instanceof Error){y=Y;return}}else Y=_r.require(V1);$(Y)}catch(Y){Y.name==="PermissionDenied"?y=Y:E[i1]&&(y=Error(M("Invalid JSON config file: %s",e1)))}})}function $(E,D){Object.keys(E).forEach(function(i1){let e1=E[i1],Y=D?D+"."+i1:i1;typeof e1=="object"&&e1!==null&&!Array.isArray(e1)&&l["dot-notation"]?$(e1,Y):(!W1(b,Y.split("."))||Z1(Y,m.arrays)&&l["combine-arrays"])&&F(Y,e1)})}function f1(){typeof u<"u"&&u.forEach(function(E){$(E)})}function p1(E,D){if(typeof d>"u")return;let i1=typeof d=="string"?d:"",e1=_r.env();Object.keys(e1).forEach(function(Y){if(i1===""||Y.lastIndexOf(i1,0)===0){let V1=Y.split("__").map(function(A1,w1){return w1===0&&(A1=A1.substring(i1.length)),Y6(A1)});(D&&m.configs[V1.join(".")]||!D)&&!W1(E,V1)&&F(V1.join("."),e1[Y])}})}function S1(E){let D,i1=new Set;Object.keys(E).forEach(function(e1){if(!i1.has(e1)&&(D=Z1(e1,m.coercions),typeof D=="function"))try{let Y=d1(e1,D(E[e1]));[].concat(m.aliases[e1]||[],e1).forEach(V1=>{i1.add(V1),E[V1]=Y})}catch(Y){y=Y}})}function b1(E){return m.keys.forEach(D=>{~D.indexOf(".")||typeof E[D]>"u"&&(E[D]=void 0)}),E}function U1(E,D,i1,e1=!1){Object.keys(i1).forEach(function(Y){W1(E,Y.split("."))||(j1(E,Y.split("."),i1[Y]),e1&&(L[Y]=!0),(D[Y]||[]).forEach(function(V1){W1(E,V1.split("."))||j1(E,V1.split("."),i1[Y])}))})}function W1(E,D){let i1=E;l["dot-notation"]||(D=[D.join(".")]),D.slice(0,-1).forEach(function(Y){i1=i1[Y]||{}});let e1=D[D.length-1];return typeof i1!="object"?!1:e1 in i1}function j1(E,D,i1){let e1=E;l["dot-notation"]||(D=[D.join(".")]),D.slice(0,-1).forEach(function(R1){R1=jQ(R1),typeof e1=="object"&&e1[R1]===void 0&&(e1[R1]={}),typeof e1[R1]!="object"||Array.isArray(e1[R1])?(Array.isArray(e1[R1])?e1[R1].push({}):e1[R1]=[e1[R1],{}],e1=e1[R1][e1[R1].length-1]):e1=e1[R1]});let Y=jQ(D[D.length-1]),V1=Z1(D.join("."),m.arrays),A1=Array.isArray(i1),w1=l["duplicate-arguments-array"];!w1&&Z1(Y,m.nargs)&&(w1=!0,(!C1(e1[Y])&&m.nargs[Y]===1||Array.isArray(e1[Y])&&e1[Y].length===m.nargs[Y])&&(e1[Y]=void 0)),i1===qx()?e1[Y]=qx(e1[Y]):Array.isArray(e1[Y])?w1&&V1&&A1?e1[Y]=l["flatten-duplicate-arrays"]?e1[Y].concat(i1):(Array.isArray(e1[Y][0])?e1[Y]:[e1[Y]]).concat([i1]):!w1&&Boolean(V1)===Boolean(A1)?e1[Y]=i1:e1[Y]=e1[Y].concat([i1]):e1[Y]===void 0&&V1?e1[Y]=A1?i1:[i1]:w1&&!(e1[Y]===void 0||Z1(Y,m.counts)||Z1(Y,m.bools))?e1[Y]=[e1[Y],i1]:e1[Y]=i1}function Y1(...E){E.forEach(function(D){Object.keys(D||{}).forEach(function(i1){m.aliases[i1]||(m.aliases[i1]=[].concat(s[i1]||[]),m.aliases[i1].concat(i1).forEach(function(e1){if(/-/.test(e1)&&l["camel-case-expansion"]){let Y=Y6(e1);Y!==i1&&m.aliases[i1].indexOf(Y)===-1&&(m.aliases[i1].push(Y),V[Y]=!0)}}),m.aliases[i1].concat(i1).forEach(function(e1){if(e1.length>1&&/[A-Z]/.test(e1)&&l["camel-case-expansion"]){let Y=pL(e1,"-");Y!==i1&&m.aliases[i1].indexOf(Y)===-1&&(m.aliases[i1].push(Y),V[Y]=!0)}}),m.aliases[i1].forEach(function(e1){m.aliases[e1]=[i1].concat(m.aliases[i1].filter(function(Y){return e1!==Y}))}))})})}function Z1(E,D){let i1=[].concat(m.aliases[E]||[],E),e1=Object.keys(D),Y=i1.find(V1=>e1.includes(V1));return Y?D[Y]:!1}function d2(E){let D=Object.keys(m);return[].concat(D.map(e1=>m[e1])).some(function(e1){return Array.isArray(e1)?e1.includes(E):e1[E]})}function b2(E,...D){return[].concat(...D).some(function(e1){let Y=E.match(e1);return Y&&d2(Y[1])})}function L2(E){if(E.match(h)||!E.match(/^-[^-]+/))return!1;let D=!0,i1,e1=E.slice(1).split("");for(let Y=0;Y<e1.length;Y++){if(i1=E.slice(Y+2),!d2(e1[Y])){D=!1;break}if(e1[Y+1]&&e1[Y+1]==="="||i1==="-"||/[A-Za-z]/.test(e1[Y])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(i1)||e1[Y+1]&&e1[Y+1].match(/\W/))break}return D}function L1(E){return l["unknown-options-as-args"]&&k(E)}function k(E){return E=E.replace(/^-{3,}/,"--"),E.match(h)||L2(E)?!1:!b2(E,/^-+([^=]+?)=[\s\S]*$/,A,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function T(E){return!Z1(E,m.bools)&&!Z1(E,m.counts)&&`${E}`in C?C[E]:t1(a1(E))}function t1(E){return{[c3.BOOLEAN]:!0,[c3.STRING]:"",[c3.NUMBER]:void 0,[c3.ARRAY]:[]}[E]}function a1(E){let D=c3.BOOLEAN;return Z1(E,m.strings)?D=c3.STRING:Z1(E,m.numbers)?D=c3.NUMBER:Z1(E,m.bools)?D=c3.BOOLEAN:Z1(E,m.arrays)&&(D=c3.ARRAY),D}function C1(E){return E===void 0}function h1(){Object.keys(m.counts).find(E=>Z1(E,m.arrays)?(y=Error(M("Invalid configuration: %s, opts.count excludes opts.array.",E)),!0):Z1(E,m.nargs)?(y=Error(M("Invalid configuration: %s, opts.count excludes opts.narg.",E)),!0):!1)}return{aliases:Object.assign({},m.aliases),argv:Object.assign(Z,b),configuration:l,defaulted:Object.assign({},L),error:y,newAliases:Object.assign({},V)}}};function ux1(t){let r=[],n=Object.create(null),i=!0;for(Object.keys(t).forEach(function(o){r.push([].concat(t[o],o))});i;){i=!1;for(let o=0;o<r.length;o++)for(let a=o+1;a<r.length;a++)if(r[o].filter(function(l){return r[a].indexOf(l)!==-1}).length){r[o]=r[o].concat(r[a]),r.splice(a,1),i=!0;break}}return r.forEach(function(o){o=o.filter(function(s,l,C){return C.indexOf(s)===l});let a=o.pop();a!==void 0&&typeof a=="string"&&(n[a]=o)}),n}function qx(t){return t!==void 0?t+1:1}function jQ(t){return t==="__proto__"?"___proto___":t}function dx1(t){return typeof t=="string"&&(t[0]==="'"||t[0]==='"')&&t[t.length-1]===t[0]?t.substring(1,t.length-1):t}var qQ=require("fs");var Gx,$x,Yx,zQ=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12,WQ=($x=(Gx=process==null?void 0:process.versions)===null||Gx===void 0?void 0:Gx.node)!==null&&$x!==void 0?$x:(Yx=process==null?void 0:process.version)===null||Yx===void 0?void 0:Yx.slice(1);if(WQ&&Number(WQ.match(/^([^.]+)/)[1])<zQ)throw Error(`yargs parser supports a minimum Node.js version of ${zQ}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var cx1=process?process.env:{},GQ=new gL({cwd:process.cwd,env:()=>cx1,format:UQ.format,normalize:AL.normalize,resolve:AL.resolve,require:t=>{if(typeof require<"u")return require(t);if(t.match(/\.json$/))return JSON.parse((0,qQ.readFileSync)(t,"utf8"));throw Error("only .json config files are supported in ESM")}}),Bl=function(r,n){return GQ.parse(r.slice(),n).argv};Bl.detailed=function(t,r){return GQ.parse(t.slice(),r)};Bl.camelCase=Y6;Bl.decamelize=pL;Bl.looksLikeNumber=hL;var $Q=Bl;var Nl=J(Xx());var eX=(a=>(a.SILENT="",a.ERROR="ERR",a.WARN="WRN",a.INFO="NFO",a.DEBUG="DBG",a))(eX||{}),Mx1={SILENT:0,ERROR:1,WARN:2,INFO:3,DEBUG:4},{ERROR:px1,WARN:hx1,INFO:tX,DEBUG:gx1}=eX;function Ax1(){return typeof process.env.LOG_LEVEL=="string"?(setTimeout(()=>{re.debug(`Setting log level to ${process.env.LOG_LEVEL} from environment variable`)}),Mx1[process.env.LOG_LEVEL.toUpperCase()]):typeof process.env.LOG_LEVEL=="number"?(setTimeout(()=>{re.debug(`Setting log level to ${process.env.LOG_LEVEL} from environment variable`)}),process.env.LOG_LEVEL):null}var B0=Ax1(),Jx=()=>B0;function yx1(...t){B0!==null&&B0>=1&&(process.stderr.write(jl(px1)),console.error(...t))}function vx1(...t){B0!==null&&B0>=2&&(process.stderr.write(jl(hx1)),console.warn(...t))}function Sx1(...t){B0!==null&&B0>=3&&(process.stderr.write(jl(tX)),console.info(...t))}function bx1(t){B0!==null&&B0>=3&&console.time(t)}function wx1(t){B0!==null&&B0>=3&&(process.stderr.write(jl(tX)),console.timeEnd(t))}function xx1(...t){B0!==null&&B0>=4&&(process.stderr.write(jl(gx1)),console.debug(...t))}function jl(t){let r=(n,i=o=>o)=>`${i(` ${new Date().toLocaleTimeString()} ${n} `)} `;if(process.env.COLOR==="0")return`[${t}] `;switch(t){case"ERR":return r("ERR",Nl.default.bgRedBright.black.bold);case"WRN":return r("WRN",Nl.default.bgYellow.black.bold);case"NFO":return r("NFO",Nl.default.bgBlueBright.black.bold);case"DBG":return r("DBG",Nl.default.bgWhite.bold);default:throw Error("Invalid log level")}}var re={error:yx1,warn:vx1,info:Sx1,debug:xx1,time:bx1,timeEnd:wx1};var Cm=require("node:child_process");var D21=J(CX()),p9=require("node:path");var hk=require("node:perf_hooks"),F21=J(Xx());var tO={name:"git-truck",version:"2.0.7",private:!1,description:"Visualizing a Git repository",license:"MIT",main:"./cli.js",bin:"./cli.js",files:["LICENSE","README.md","build/","public/","cli.js"],scripts:{test:"npm run test:e2e && npm run test:unit","test:unit":"jest --coverage","test:e2e":"npx playwright test","test:e2e:headed":"npx playwright test --headed","pretest:e2e":"npm run build","pretest:e2e:headed":"npm run build",build:"remix build && npm run build-cli","build-cli":"tsup --minify --treeshake --out-dir . ./src/cli.ts",dev:"remix dev",watch:"remix watch",start:"npm run build && node .",clean:"rimraf -rf build public/build .cache .temp",typecheck:"tsc","pub-pre":"npm version prerelease && npm publish --tag next","pub-exp":"node ./scripts/publish-experimental.js",prepublishOnly:"npm run clean && npm run build","format:write":"prettier --log-level warn --write src scripts e2e","lint:fix":"eslint --fix --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint src scripts e2e","check:write":"npm run format:write && npm run lint:fix",check:"npm run format:check && npm run lint","format:check":"prettier --check src scripts e2e",lint:"eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint src scripts e2e",prepare:"husky"},devDependencies:{"@mdi/js":"^7.3.67","@mdi/react":"^1.6.1","@playwright/test":"^1.50.1","@remix-run/dev":"2.2.0","@remix-run/eslint-config":"2.2.0","@remix-run/express":"^2.2.0","@remix-run/node":"2.2.0","@remix-run/react":"2.2.0","@remix-run/serve":"2.2.0","@styled-icons/material":"^10.47.0","@styled-icons/material-outlined":"^10.47.0","@styled-icons/octicons":"^10.47.0","@types/byte-size":"^8.1.1","@types/color-convert":"^2.0.2","@types/compression":"^1.7.5","@types/d3":"^7.4.3","@types/d3-hierarchy":"^3.1.5","@types/express":"^4.17.21","@types/jest":"^29.5.7","@types/morgan":"^1.9.9","@types/randomstring":"^1.1.11","@types/react":"^18.2.34","@types/react-detect-offline":"^2.4.5","@types/react-dom":"^18.2.14","@types/semver":"^7.5.4","@types/yargs":"^17.0.29","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.62.0","ansi-colors":"^4.1.3","apache-arrow":"^15.0.2",autoprefixer:"^10.4.16","byte-size":"^8.1.1",clsx:"^2.0.0","color-convert":"^2.0.1",compression:"^1.7.4","cross-env":"^7.0.3",d3:"^7.9.0","d3-hierarchy":"^3.1.2",dotenv:"^16.3.1",eslint:"^8.52.0","eslint-plugin-react":"^7.33.2",express:"^4.18.2","express-serve-static-core":"^0.1.1","get-port":"^6.1.2","gitignore-parser":"^0.0.2",husky:"^8.0.3",ignore:"^5.2.4","is-binary-path":"^2.1.0",jest:"^29.7.0","language-map":"^1.5.0","latest-version":"^7.0.0","lint-staged":"^15.0.2",morgan:"^1.10.0",nanospinner:"^1.1.0",open:"^8.4.2",postcss:"^8.4.31",prettier:"^3.4.2","prettier-plugin-tailwindcss":"^0.5.11",randomstring:"^1.3.0",react:"^18.2.0","react-colorful":"^5.6.1","react-compound-slider":"^3.4.0","react-datepicker":"^8.0.0","react-detect-offline":"^2.4.5","react-device-detect":"^2.2.3","react-dom":"^18.2.0","react-github-btn":"^1.4.0","react-konami-code":"^2.3.0","react-spinners":"^0.13.8","react-tiny-popover":"^8.0.4","react-use":"^17.4.0","react-use-size":"^3.0.2","remix-typedjson":"^0.3.1",rimraf:"^5.0.5",semver:"^7.5.4","tailwind-merge":"^2.2.1",tailwindcss:"^3.4.1","tiny-invariant":"^1.3.1","ts-jest":"^29.1.1",tsup:"^7.2.0",typescript:"^5.2.2",uniqolor:"^1.1.0",yargs:"^17.7.2"},jest:{preset:"ts-jest",testEnvironment:"node",setupFiles:["dotenv/config"],roots:["<rootDir>/src/"]},prettier:{semi:!1,printWidth:120,trailingComma:"none",plugins:["prettier-plugin-tailwindcss"]},"lint-staged":{"{src,scripts}/**/*.{ts,tsx,js,mjs}":["eslint --cache --fix","prettier --write"]},engines:{node:">=18.0.0"},repository:{type:"git",url:"git+https://github.com/git-truck/git-truck.git"},bugs:{url:"https://github.com/git-truck/git-truck/issues"},homepage:"https://github.com/git-truck/git-truck#readme",dependencies:{"@duckdb/node-api":"^1.1.3-alpha.11"}};var Z21=require("node:http"),R21=require("node:https");var uX=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function Ix1(t){return uX.includes(t)}var Nx1=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","WeakRef","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement","NaN",...uX];function jx1(t){return Nx1.includes(t)}var zx1=["null","undefined","string","number","bigint","boolean","symbol"];function Wx1(t){return zx1.includes(t)}function Di(t){return r=>typeof r===t}var{toString:Ux1}=Object.prototype,Wl=t=>{let r=Ux1.call(t).slice(8,-1);if(/HTML\w+Element/.test(r)&&K.domElement(t))return"HTMLElement";if(jx1(r))return r},we=t=>r=>Wl(r)===t;function K(t){if(t===null)return"null";switch(typeof t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(t)?"NaN":"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol";default:}if(K.observable(t))return"Observable";if(K.array(t))return"Array";if(K.buffer(t))return"Buffer";let r=Wl(t);if(r)return r;if(t instanceof String||t instanceof Boolean||t instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}K.undefined=Di("undefined");K.string=Di("string");var qx1=Di("number");K.number=t=>qx1(t)&&!K.nan(t);K.bigint=Di("bigint");K.function_=Di("function");K.null_=t=>t===null;K.class_=t=>K.function_(t)&&t.toString().startsWith("class ");K.boolean=t=>t===!0||t===!1;K.symbol=Di("symbol");K.numericString=t=>K.string(t)&&!K.emptyStringOrWhitespace(t)&&!Number.isNaN(Number(t));K.array=(t,r)=>Array.isArray(t)?K.function_(r)?t.every(n=>r(n)):!0:!1;K.buffer=t=>t?.constructor?.isBuffer?.(t)??!1;K.blob=t=>we("Blob")(t);K.nullOrUndefined=t=>K.null_(t)||K.undefined(t);K.object=t=>!K.null_(t)&&(typeof t=="object"||K.function_(t));K.iterable=t=>K.function_(t?.[Symbol.iterator]);K.asyncIterable=t=>K.function_(t?.[Symbol.asyncIterator]);K.generator=t=>K.iterable(t)&&K.function_(t?.next)&&K.function_(t?.throw);K.asyncGenerator=t=>K.asyncIterable(t)&&K.function_(t.next)&&K.function_(t.throw);K.nativePromise=t=>we("Promise")(t);var Gx1=t=>K.function_(t?.then)&&K.function_(t?.catch);K.promise=t=>K.nativePromise(t)||Gx1(t);K.generatorFunction=we("GeneratorFunction");K.asyncGeneratorFunction=t=>Wl(t)==="AsyncGeneratorFunction";K.asyncFunction=t=>Wl(t)==="AsyncFunction";K.boundFunction=t=>K.function_(t)&&!t.hasOwnProperty("prototype");K.regExp=we("RegExp");K.date=we("Date");K.error=we("Error");K.map=t=>we("Map")(t);K.set=t=>we("Set")(t);K.weakMap=t=>we("WeakMap")(t);K.weakSet=t=>we("WeakSet")(t);K.weakRef=t=>we("WeakRef")(t);K.int8Array=we("Int8Array");K.uint8Array=we("Uint8Array");K.uint8ClampedArray=we("Uint8ClampedArray");K.int16Array=we("Int16Array");K.uint16Array=we("Uint16Array");K.int32Array=we("Int32Array");K.uint32Array=we("Uint32Array");K.float32Array=we("Float32Array");K.float64Array=we("Float64Array");K.bigInt64Array=we("BigInt64Array");K.bigUint64Array=we("BigUint64Array");K.arrayBuffer=we("ArrayBuffer");K.sharedArrayBuffer=we("SharedArrayBuffer");K.dataView=we("DataView");K.enumCase=(t,r)=>Object.values(r).includes(t);K.directInstanceOf=(t,r)=>Object.getPrototypeOf(t)===r.prototype;K.urlInstance=t=>we("URL")(t);K.urlString=t=>{if(!K.string(t))return!1;try{return new URL(t),!0}catch{return!1}};K.truthy=t=>Boolean(t);K.falsy=t=>!t;K.nan=t=>Number.isNaN(t);K.primitive=t=>K.null_(t)||Wx1(typeof t);K.integer=t=>Number.isInteger(t);K.safeInteger=t=>Number.isSafeInteger(t);K.plainObject=t=>{if(typeof t!="object"||t===null)return!1;let r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)};K.typedArray=t=>Ix1(Wl(t));var $x1=t=>K.safeInteger(t)&&t>=0;K.arrayLike=t=>!K.nullOrUndefined(t)&&!K.function_(t)&&$x1(t.length);K.inRange=(t,r)=>{if(K.number(r))return t>=Math.min(0,r)&&t<=Math.max(r,0);if(K.array(r)&&r.length===2)return t>=Math.min(...r)&&t<=Math.max(...r);throw new TypeError(`Invalid range: ${JSON.stringify(r)}`)};var Yx1=1,Kx1=["innerHTML","ownerDocument","style","attributes","nodeValue"];K.domElement=t=>K.object(t)&&t.nodeType===Yx1&&K.string(t.nodeName)&&!K.plainObject(t)&&Kx1.every(r=>r in t);K.observable=t=>t?t===t[Symbol.observable]?.()||t===t["@@observable"]?.():!1;K.nodeStream=t=>K.object(t)&&K.function_(t.pipe)&&!K.observable(t);K.infinite=t=>t===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY;var dX=t=>r=>K.integer(r)&&Math.abs(r%2)===t;K.evenInteger=dX(0);K.oddInteger=dX(1);K.emptyArray=t=>K.array(t)&&t.length===0;K.nonEmptyArray=t=>K.array(t)&&t.length>0;K.emptyString=t=>K.string(t)&&t.length===0;var Qx1=t=>K.string(t)&&!/\S/.test(t);K.emptyStringOrWhitespace=t=>K.emptyString(t)||Qx1(t);K.nonEmptyString=t=>K.string(t)&&t.length>0;K.nonEmptyStringAndNotWhitespace=t=>K.string(t)&&!K.emptyStringOrWhitespace(t);K.emptyObject=t=>K.object(t)&&!K.map(t)&&!K.set(t)&&Object.keys(t).length===0;K.nonEmptyObject=t=>K.object(t)&&!K.map(t)&&!K.set(t)&&Object.keys(t).length>0;K.emptySet=t=>K.set(t)&&t.size===0;K.nonEmptySet=t=>K.set(t)&&t.size>0;K.emptyMap=t=>K.map(t)&&t.size===0;K.nonEmptyMap=t=>K.map(t)&&t.size>0;K.propertyKey=t=>K.any([K.string,K.number,K.symbol],t);K.formData=t=>we("FormData")(t);K.urlSearchParams=t=>we("URLSearchParams")(t);var cX=(t,r,n)=>{if(!K.function_(r))throw new TypeError(`Invalid predicate: ${JSON.stringify(r)}`);if(n.length===0)throw new TypeError("Invalid number of values");return t.call(n,r)};K.any=(t,...r)=>(K.array(t)?t:[t]).some(i=>cX(Array.prototype.some,i,r));K.all=(t,...r)=>cX(Array.prototype.every,t,r);var $1=(t,r,n,i={})=>{if(!t){let{multipleValues:o}=i,a=o?`received values of types ${[...new Set(n.map(s=>`\`${K(s)}\``))].join(", ")}`:`received value of type \`${K(n)}\``;throw new TypeError(`Expected value which is \`${r}\`, ${a}.`)}},F1={undefined:t=>$1(K.undefined(t),"undefined",t),string:t=>$1(K.string(t),"string",t),number:t=>$1(K.number(t),"number",t),bigint:t=>$1(K.bigint(t),"bigint",t),function_:t=>$1(K.function_(t),"Function",t),null_:t=>$1(K.null_(t),"null",t),class_:t=>$1(K.class_(t),"Class",t),boolean:t=>$1(K.boolean(t),"boolean",t),symbol:t=>$1(K.symbol(t),"symbol",t),numericString:t=>$1(K.numericString(t),"string with a number",t),array:(t,r)=>{$1(K.array(t),"Array",t),r&&t.forEach(r)},buffer:t=>$1(K.buffer(t),"Buffer",t),blob:t=>$1(K.blob(t),"Blob",t),nullOrUndefined:t=>$1(K.nullOrUndefined(t),"null or undefined",t),object:t=>$1(K.object(t),"Object",t),iterable:t=>$1(K.iterable(t),"Iterable",t),asyncIterable:t=>$1(K.asyncIterable(t),"AsyncIterable",t),generator:t=>$1(K.generator(t),"Generator",t),asyncGenerator:t=>$1(K.asyncGenerator(t),"AsyncGenerator",t),nativePromise:t=>$1(K.nativePromise(t),"native Promise",t),promise:t=>$1(K.promise(t),"Promise",t),generatorFunction:t=>$1(K.generatorFunction(t),"GeneratorFunction",t),asyncGeneratorFunction:t=>$1(K.asyncGeneratorFunction(t),"AsyncGeneratorFunction",t),asyncFunction:t=>$1(K.asyncFunction(t),"AsyncFunction",t),boundFunction:t=>$1(K.boundFunction(t),"Function",t),regExp:t=>$1(K.regExp(t),"RegExp",t),date:t=>$1(K.date(t),"Date",t),error:t=>$1(K.error(t),"Error",t),map:t=>$1(K.map(t),"Map",t),set:t=>$1(K.set(t),"Set",t),weakMap:t=>$1(K.weakMap(t),"WeakMap",t),weakSet:t=>$1(K.weakSet(t),"WeakSet",t),weakRef:t=>$1(K.weakRef(t),"WeakRef",t),int8Array:t=>$1(K.int8Array(t),"Int8Array",t),uint8Array:t=>$1(K.uint8Array(t),"Uint8Array",t),uint8ClampedArray:t=>$1(K.uint8ClampedArray(t),"Uint8ClampedArray",t),int16Array:t=>$1(K.int16Array(t),"Int16Array",t),uint16Array:t=>$1(K.uint16Array(t),"Uint16Array",t),int32Array:t=>$1(K.int32Array(t),"Int32Array",t),uint32Array:t=>$1(K.uint32Array(t),"Uint32Array",t),float32Array:t=>$1(K.float32Array(t),"Float32Array",t),float64Array:t=>$1(K.float64Array(t),"Float64Array",t),bigInt64Array:t=>$1(K.bigInt64Array(t),"BigInt64Array",t),bigUint64Array:t=>$1(K.bigUint64Array(t),"BigUint64Array",t),arrayBuffer:t=>$1(K.arrayBuffer(t),"ArrayBuffer",t),sharedArrayBuffer:t=>$1(K.sharedArrayBuffer(t),"SharedArrayBuffer",t),dataView:t=>$1(K.dataView(t),"DataView",t),enumCase:(t,r)=>$1(K.enumCase(t,r),"EnumCase",t),urlInstance:t=>$1(K.urlInstance(t),"URL",t),urlString:t=>$1(K.urlString(t),"string with a URL",t),truthy:t=>$1(K.truthy(t),"truthy",t),falsy:t=>$1(K.falsy(t),"falsy",t),nan:t=>$1(K.nan(t),"NaN",t),primitive:t=>$1(K.primitive(t),"primitive",t),integer:t=>$1(K.integer(t),"integer",t),safeInteger:t=>$1(K.safeInteger(t),"integer",t),plainObject:t=>$1(K.plainObject(t),"plain object",t),typedArray:t=>$1(K.typedArray(t),"TypedArray",t),arrayLike:t=>$1(K.arrayLike(t),"array-like",t),domElement:t=>$1(K.domElement(t),"HTMLElement",t),observable:t=>$1(K.observable(t),"Observable",t),nodeStream:t=>$1(K.nodeStream(t),"Node.js Stream",t),infinite:t=>$1(K.infinite(t),"infinite number",t),emptyArray:t=>$1(K.emptyArray(t),"empty array",t),nonEmptyArray:t=>$1(K.nonEmptyArray(t),"non-empty array",t),emptyString:t=>$1(K.emptyString(t),"empty string",t),emptyStringOrWhitespace:t=>$1(K.emptyStringOrWhitespace(t),"empty string or whitespace",t),nonEmptyString:t=>$1(K.nonEmptyString(t),"non-empty string",t),nonEmptyStringAndNotWhitespace:t=>$1(K.nonEmptyStringAndNotWhitespace(t),"non-empty string and not whitespace",t),emptyObject:t=>$1(K.emptyObject(t),"empty object",t),nonEmptyObject:t=>$1(K.nonEmptyObject(t),"non-empty object",t),emptySet:t=>$1(K.emptySet(t),"empty set",t),nonEmptySet:t=>$1(K.nonEmptySet(t),"non-empty set",t),emptyMap:t=>$1(K.emptyMap(t),"empty map",t),nonEmptyMap:t=>$1(K.nonEmptyMap(t),"non-empty map",t),propertyKey:t=>$1(K.propertyKey(t),"PropertyKey",t),formData:t=>$1(K.formData(t),"FormData",t),urlSearchParams:t=>$1(K.urlSearchParams(t),"URLSearchParams",t),evenInteger:t=>$1(K.evenInteger(t),"even integer",t),oddInteger:t=>$1(K.oddInteger(t),"odd integer",t),directInstanceOf:(t,r)=>$1(K.directInstanceOf(t,r),"T",t),inRange:(t,r)=>$1(K.inRange(t,r),"in range",t),any:(t,...r)=>$1(K.any(t,...r),"predicate returns truthy for any value",r,{multipleValues:!0}),all:(t,...r)=>$1(K.all(t,...r),"predicate returns truthy for all values",r,{multipleValues:!0})};Object.defineProperties(K,{class:{value:K.class_},function:{value:K.function_},null:{value:K.null_}});Object.defineProperties(F1,{class:{value:F1.class_},function:{value:F1.function_},null:{value:F1.null_}});var l1=K;var c11=require("node:events");var rO=class extends Error{constructor(r){super(r||"Promise was canceled"),this.name="CancelError"}get isCanceled(){return!0}},c9=class{static fn(r){return(...n)=>new c9((i,o,a)=>{n.push(a),r(...n).then(i,o)})}constructor(r){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((n,i)=>{this._reject=i;let o=l=>{(!this._isCanceled||!s.shouldReject)&&(this._isPending=!1,n(l))},a=l=>{this._isPending=!1,i(l)},s=l=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(l)};Object.defineProperties(s,{shouldReject:{get:()=>this._rejectOnCancel,set:l=>{this._rejectOnCancel=l}}}),r(o,a,s)})}then(r,n){return this._promise.then(r,n)}catch(r){return this._promise.catch(r)}finally(r){return this._promise.finally(r)}cancel(r){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(let n of this._cancelHandlers)n()}catch(n){this._reject(n);return}this._rejectOnCancel&&this._reject(new rO(r))}}get isCanceled(){return this._isCanceled}};Object.setPrototypeOf(c9.prototype,Promise.prototype);function Xx1(t){return l1.object(t)&&"_onResponse"in t}var Je=class extends Error{constructor(r,n,i){if(super(r),Object.defineProperty(this,"input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=n.code??"ERR_GOT_REQUEST_ERROR",this.input=n.input,Xx1(i)?(Object.defineProperty(this,"request",{enumerable:!1,value:i}),Object.defineProperty(this,"response",{enumerable:!1,value:i.response}),this.options=i.options):this.options=i,this.timings=this.request?.timings,l1.string(n.stack)&&l1.string(this.stack)){let o=this.stack.indexOf(this.message)+this.message.length,a=this.stack.slice(o).split(`
|
|
83
|
+
`);return a&&a.insertRule(s,0),i};Cf.createAnimation=cT1});var a31=_(W0=>{"use strict";var uf=W0&&W0.__assign||function(){return uf=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},uf.apply(this,arguments)},HT1=W0&&W0.__createBinding||(Object.create?function(t,r,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){i===void 0&&(i=n),t[i]=r[n]}),VT1=W0&&W0.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),LT1=W0&&W0.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&HT1(r,t,n);return VT1(r,t),r},mT1=W0&&W0.__rest||function(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&r.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)r.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]]);return n};Object.defineProperty(W0,"__esModule",{value:!0});var fT1=LT1(c1()),o31=n31(),MT1=i31(),pT1=(0,MT1.createAnimation)("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");function hT1(t){var r=t.loading,n=r===void 0?!0:r,i=t.color,o=i===void 0?"#000000":i,a=t.speedMultiplier,s=a===void 0?1:a,l=t.cssOverride,C=l===void 0?{}:l,u=t.size,d=u===void 0?35:u,c=mT1(t,["loading","color","speedMultiplier","cssOverride","size"]),H=uf({background:"transparent !important",width:(0,o31.cssValue)(d),height:(0,o31.cssValue)(d),borderRadius:"100%",border:"2px solid",borderTopColor:o,borderBottomColor:"transparent",borderLeftColor:o,borderRightColor:o,display:"inline-block",animation:"".concat(pT1," ").concat(.75/s,"s 0s infinite linear"),animationFillMode:"both"},C);return n?fT1.createElement("span",uf({style:H},c)):null}W0.default=hT1});var sr1=_(D9=>{"use strict";Object.defineProperty(D9,"__esModule",{value:!0});D9.Detector=D9.Offline=D9.Online=void 0;var kM=function(){function t(r,n){for(var i=0;i<n.length;i++){var o=n[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}return function(r,n,i){return n&&t(r.prototype,n),i&&t(r,i),r}}(),OM=c1(),MB1=Uc(),W7=pB1(MB1);function pB1(t){return t&&t.__esModule?t:{default:t}}function hB1(t){if(Array.isArray(t)){for(var r=0,n=Array(t.length);r<t.length;r++)n[r]=t[r];return n}else return Array.from(t)}function _M(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function ZM(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:t}function RM(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}var nr1=typeof navigator<"u",gB1=/Windows.*Chrome|Windows.*Firefox|Linux.*Chrome/,AB1=function(r){var n=r.url,i=r.timeout;return new Promise(function(o){var a=function(){return o(!0)},s=function(){return o(!1)},l=new XMLHttpRequest;l.onerror=s,l.ontimeout=s,l.onreadystatechange=function(){l.readyState===l.HEADERS_RECEIVED&&(l.status?a():s())},l.open("GET",n),l.timeout=i,l.send()})},EM={children:W7.default.node,onChange:W7.default.func,polling:W7.default.oneOfType([W7.default.shape({url:W7.default.string,interval:W7.default.number,timeout:W7.default.number}),W7.default.bool]),wrapperType:W7.default.string},PM={polling:!0,wrapperType:"span"},rr1={enabled:nr1&&gB1.test(navigator.userAgent),url:"https://httpbin.org/get",timeout:5e3,interval:5e3},Vu=function(t){RM(r,t);function r(){_M(this,r);var n=ZM(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return n.state={online:nr1&&typeof navigator.onLine=="boolean"?navigator.onLine:!0},n.goOnline=n.goOnline.bind(n),n.goOffline=n.goOffline.bind(n),n}return kM(r,[{key:"componentDidMount",value:function(){window.addEventListener("online",this.goOnline),window.addEventListener("offline",this.goOffline),this.getPollingConfig().enabled&&this.startPolling()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("online",this.goOnline),window.removeEventListener("offline",this.goOffline),this.pollingId&&this.stopPolling()}},{key:"renderChildren",value:function(){var i=this.props,o=i.children,a=i.wrapperType;return(0,OM.isValidElement)(o)?o:o?OM.createElement.apply(void 0,[a,{}].concat(hB1(OM.Children.toArray(o)))):null}},{key:"getPollingConfig",value:function(){switch(this.props.polling){case!0:return rr1;case!1:return{enabled:!1};default:return Object.assign({},rr1,this.props.polling)}}},{key:"goOnline",value:function(){this.state.online||(this.callOnChangeHandler(!0),this.setState({online:!0}))}},{key:"goOffline",value:function(){this.state.online&&(this.callOnChangeHandler(!1),this.setState({online:!1}))}},{key:"callOnChangeHandler",value:function(i){this.props.onChange&&this.props.onChange(i)}},{key:"startPolling",value:function(){var i=this,o=this.getPollingConfig(),a=o.interval;this.pollingId=setInterval(function(){var s=i.getPollingConfig(),l=s.url,C=s.timeout;AB1({url:l,timeout:C}).then(function(u){u?i.goOnline():i.goOffline()})},a)}},{key:"stopPolling",value:function(){clearInterval(this.pollingId)}}]),r}(OM.Component);Vu.propTypes=EM;Vu.defaultProps=PM;var ir1=D9.Online=function(t){RM(r,t);function r(){return _M(this,r),ZM(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return kM(r,[{key:"render",value:function(){return this.state.online?this.renderChildren():null}}]),r}(Vu);ir1.propTypes=EM;ir1.defaultProps=PM;var or1=D9.Offline=function(t){RM(r,t);function r(){return _M(this,r),ZM(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return kM(r,[{key:"render",value:function(){return this.state.online?null:this.renderChildren()}}]),r}(Vu);or1.propTypes=EM;or1.defaultProps=PM;var ar1=D9.Detector=function(t){RM(r,t);function r(){return _M(this,r),ZM(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return kM(r,[{key:"render",value:function(){return this.props.render({online:this.state.online})}}]),r}(Vu);ar1.propTypes=Object.assign({},EM,{render:W7.default.func.isRequired});ar1.defaultProps=PM});var JN1={};v0(JN1,{assets:()=>A91,assetsBuildDirectory:()=>$N1,entry:()=>QN1,future:()=>YN1,mode:()=>GN1,publicPath:()=>KN1,routes:()=>XN1});module.exports=i2(JN1);var DA={};v0(DA,{default:()=>Pc1});var pN=require("stream"),hN=J(Ln()),gN=J(l0()),AN=J(VN()),yN=J(K1()),MN=1e7,Pc1=Tc1;function Tc1(t,r,n,i){return new Promise((o,a)=>{let{pipe:s,abort:l}=(0,AN.renderToPipeableStream)((0,yN.jsx)(gN.RemixServer,{context:i,url:t.url,abortDelay:MN}),{onShellReady(){let C=new pN.PassThrough;n.set("Content-Type","text/html"),o(new Response((0,hN.createReadableStreamFromReadable)(C),{headers:n,status:r})),s(C)},onShellError(C){a(C)},onError(C){console.error(C),r=500}});setTimeout(l,MN)})}var Wx={};v0(Wx,{ErrorBoundary:()=>lx1,default:()=>IQ,links:()=>ax1,meta:()=>ox1});var BQ=J(ZN()),V5=J(l0());var RN="/build/_assets/vars-COQCVZEU.css";var EN="/build/_assets/animations-TUO2PXWS.css";var Hl=J(c1()),FV=J(Z5()),n9=J(N5());function TN(t){var r,n,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=TN(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function A5(){for(var t,r,n=0,i="",o=arguments.length;n<o;n++)(t=arguments[n])&&(r=TN(t))&&(i&&(i+=" "),i+=r);return i}var Ke=A5;var Tn="/build/_assets/truck-7F5JWBYT.gif";var BV=J(Js());var N2=J(c1(),1);function pV(){return(pV=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function MU(t,r){if(t==null)return{};var n,i,o={},a=Object.keys(t);for(i=0;i<a.length;i++)r.indexOf(n=a[i])>=0||(o[n]=t[n]);return o}function eS(t){var r=(0,N2.useRef)(t),n=(0,N2.useRef)(function(i){r.current&&r.current(i)});return r.current=t,n.current}var tl=function(t,r,n){return r===void 0&&(r=0),n===void 0&&(n=1),t>n?n:t<r?r:t},el=function(t){return"touches"in t},tS=function(t){return t&&t.ownerDocument.defaultView||self},LU=function(t,r,n){var i=t.getBoundingClientRect(),o=el(r)?function(a,s){for(var l=0;l<a.length;l++)if(a[l].identifier===s)return a[l];return a[0]}(r.touches,n):r;return{left:tl((o.pageX-(i.left+tS(t).pageXOffset))/i.width),top:tl((o.pageY-(i.top+tS(t).pageYOffset))/i.height)}},mU=function(t){!el(t)&&t.preventDefault()},pU=N2.default.memo(function(t){var r=t.onMove,n=t.onKey,i=MU(t,["onMove","onKey"]),o=(0,N2.useRef)(null),a=eS(r),s=eS(n),l=(0,N2.useRef)(null),C=(0,N2.useRef)(!1),u=(0,N2.useMemo)(function(){var V=function(m){mU(m),(el(m)?m.touches.length>0:m.buttons>0)&&o.current?a(LU(o.current,m,l.current)):M(!1)},L=function(){return M(!1)};function M(m){var h=C.current,A=tS(o.current),y=m?A.addEventListener:A.removeEventListener;y(h?"touchmove":"mousemove",V),y(h?"touchend":"mouseup",L)}return[function(m){var h=m.nativeEvent,A=o.current;if(A&&(mU(h),!function(p,b){return b&&!el(p)}(h,C.current)&&A)){if(el(h)){C.current=!0;var y=h.changedTouches||[];y.length&&(l.current=y[0].identifier)}A.focus(),a(LU(A,h,l.current)),M(!0)}},function(m){var h=m.which||m.keyCode;h<37||h>40||(m.preventDefault(),s({left:h===39?.05:h===37?-.05:0,top:h===40?.05:h===38?-.05:0}))},M]},[s,a]),d=u[0],c=u[1],H=u[2];return(0,N2.useEffect)(function(){return H},[H]),N2.default.createElement("div",pV({},i,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:c,tabIndex:0,role:"slider"}))}),iS=function(t){return t.filter(Boolean).join(" ")},hU=function(t){var r=t.color,n=t.left,i=t.top,o=i===void 0?.5:i,a=iS(["react-colorful__pointer",t.className]);return N2.default.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},N2.default.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:r}}))},at=function(t,r,n){return r===void 0&&(r=0),n===void 0&&(n=Math.pow(10,r)),Math.round(n*t)/n},qz1={grad:.9,turn:360,rad:360/(2*Math.PI)},VL1=function(t){return pL1(rS(t))},rS=function(t){return t[0]==="#"&&(t=t.substring(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?at(parseInt(t[3]+t[3],16)/255,2):1}:{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16),a:t.length===8?at(parseInt(t.substring(6,8),16)/255,2):1}};var LL1=function(t){return ML1(fL1(t))},mL1=function(t){var r=t.s,n=t.v,i=t.a,o=(200-r)*n/100;return{h:at(t.h),s:at(o>0&&o<200?r*n/100/(o<=100?o:200-o)*100:0),l:at(o/2),a:at(i,2)}},nS=function(t){var r=mL1(t);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"};var fL1=function(t){var r=t.h,n=t.s,i=t.v,o=t.a;r=r/360*6,n/=100,i/=100;var a=Math.floor(r),s=i*(1-n),l=i*(1-(r-a)*n),C=i*(1-(1-r+a)*n),u=a%6;return{r:at(255*[i,l,s,s,C,i][u]),g:at(255*[C,i,i,l,s,s][u]),b:at(255*[s,s,C,i,i,l][u]),a:at(o,2)}};var MV=function(t){var r=t.toString(16);return r.length<2?"0"+r:r},ML1=function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=o<1?MV(at(255*o)):"";return"#"+MV(r)+MV(n)+MV(i)+a},pL1=function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=Math.max(r,n,i),s=a-Math.min(r,n,i),l=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:at(60*(l<0?l+6:l)),s:at(a?s/a*100:0),v:at(a/255*100),a:o}};var hL1=N2.default.memo(function(t){var r=t.hue,n=t.onChange,i=iS(["react-colorful__hue",t.className]);return N2.default.createElement("div",{className:i},N2.default.createElement(pU,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:tl(r+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":at(r),"aria-valuemax":"360","aria-valuemin":"0"},N2.default.createElement(hU,{className:"react-colorful__hue-pointer",left:r/360,color:nS({h:r,s:100,v:100,a:1})})))}),gL1=N2.default.memo(function(t){var r=t.hsva,n=t.onChange,i={backgroundColor:nS({h:r.h,s:100,v:100,a:1})};return N2.default.createElement("div",{className:"react-colorful__saturation",style:i},N2.default.createElement(pU,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:tl(r.s+100*o.left,0,100),v:tl(r.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+at(r.s)+"%, Brightness "+at(r.v)+"%"},N2.default.createElement(hU,{className:"react-colorful__saturation-pointer",top:1-r.v/100,left:r.s/100,color:nS(r)})))}),gU=function(t,r){if(t===r)return!0;for(var n in t)if(t[n]!==r[n])return!1;return!0};var AL1=function(t,r){return t.toLowerCase()===r.toLowerCase()||gU(rS(t),rS(r))};function yL1(t,r,n){var i=eS(n),o=(0,N2.useState)(function(){return t.toHsva(r)}),a=o[0],s=o[1],l=(0,N2.useRef)({color:r,hsva:a});(0,N2.useEffect)(function(){if(!t.equal(r,l.current.color)){var u=t.toHsva(r);l.current={hsva:u,color:r},s(u)}},[r,t]),(0,N2.useEffect)(function(){var u;gU(a,l.current.hsva)||t.equal(u=t.fromHsva(a),l.current.color)||(l.current={hsva:a,color:u},i(u))},[a,t,i]);var C=(0,N2.useCallback)(function(u){s(function(d){return Object.assign({},d,u)})},[]);return[a,C]}var vL1,SL1=typeof window<"u"?N2.useLayoutEffect:N2.useEffect,bL1=function(){return vL1||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)};var fU=new Map,wL1=function(t){SL1(function(){var r=t.current?t.current.ownerDocument:document;if(r!==void 0&&!fU.has(r)){var n=r.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,fU.set(r,n);var i=bL1();i&&n.setAttribute("nonce",i),r.head.appendChild(n)}},[])},xL1=function(t){var r=t.className,n=t.colorModel,i=t.color,o=i===void 0?n.defaultColor:i,a=t.onChange,s=MU(t,["className","colorModel","color","onChange"]),l=(0,N2.useRef)(null);wL1(l);var C=yL1(n,o,a),u=C[0],d=C[1],c=iS(["react-colorful",r]);return N2.default.createElement("div",pV({},s,{ref:l,className:c}),N2.default.createElement(gL1,{hsva:u,onChange:d}),N2.default.createElement(hL1,{hue:u.h,onChange:d,className:"react-colorful__last-control"}))},OL1={defaultColor:"000",toHsva:VL1,fromHsva:function(t){return LL1({h:t.h,s:t.s,v:t.v,a:1})},equal:AL1},AU=function(t){return N2.default.createElement(xL1,pV({},t,{colorModel:OL1}))};var hV=J(c1()),oS=(0,hV.createContext)(void 0);function xe(){let t=(0,hV.useContext)(oS);if(!t)throw new Error("useData must be used within a DataContext");if(t.repo.status!=="Success")throw new Error(`Repo is not analyzed, it is in status: ${t.repo.status}`);return{...t,repo:t.repo}}var FG=J(l0());var r9=J(vS()),wS=J(wG());function RV(t){return t?new Date(t*1e3).toLocaleString("en-gb",{day:"2-digit",month:"short",year:"numeric"}):"Invalid date"}function _G(t){return t?new Date(t).toLocaleString("en-gb",{month:"long",year:"numeric"}):"Invalid date"}function cl(t){return new Date(t).toLocaleString("en-gb",{day:"2-digit",month:"short",year:"2-digit"})}function yi(t){return new Date(t).toLocaleString("da-dk",{hour:"2-digit",minute:"2-digit",day:"2-digit",month:"short",year:"2-digit"})}function vi(t){let r=Date.now(),n=60*60*1e3,i=24*n,o=r-t*1e3;if(o<0)return"Unknown time ago";if(o>i){let s=Math.floor(o/i);return`${s} day${s>1?"s":""} ago`}let a=Math.floor(o/n);return a>1?`${a} hours ago`:a===1?"1 hour ago":"<1 hour ago"}var ZG=t=>t[t.length-1],RG=t=>t.length<=1?[]:t.slice(0,t.length-1),EG=t=>t.length<=1?[]:t.slice(1);function PG(t){return t.includes("\\")?"\\":"/"}var f0=(t,r)=>[t,encodeURIComponent(r)].join("/"),TG=(t,r)=>{let n=["main","master"];return n.includes(t)?-1:n.includes(r)?1:t.toLowerCase().localeCompare(r.toLowerCase())},EV=(t,r)=>{let n=(0,r9.valid)((0,r9.clean)(t)),i=(0,r9.valid)((0,r9.clean)(r));return!n||!i?n?1:i?-1:t.toLowerCase().localeCompare(r.toLowerCase()):(0,r9.compare)(n,i)},xG=new Map;function DG(t){let r=TM1(t);return Math.sqrt(Math.pow(r[0],2)*.241+Math.pow(r[1],2)*.691+Math.pow(r[2],2)*.068)}var OG=new Map;function TM1(t){let r=OG.get(t);if(r)return r;let n=wS.default.hex.rgb(t);return OG.set(t,n),n}var PV=t=>{if(!/^#([0-9A-F]{3}){1,2}$/i.test(t))return"#000000";let r=xG.get(t);if(r)return r;let i=DG(t)>186?"#000000":"#ffffff";return xG.set(t,i),i},kG=new Map;function TV(t,r,n){let i=`${t}-${r}-${n}`,o=kG.get(i);if(o)return o;let a=`#${wS.default.hsl.hex([t,r,n])}`;return kG.set(i,a),a}function DV(t){return DG(t)/255}var Sr=(t=null)=>t?.type==="tree",G3=(t=null)=>t?.type==="blob";var S5=J(K1()),br=({className:t="",absolute:r=!0,...n})=>(0,S5.jsx)("button",{className:Ke(t,"inline-grid text-lg leading-none hover:opacity-80",{"absolute right-2 top-2 z-10":r}),title:"Close",...n,children:(0,S5.jsx)(FV.Icon,{path:n9.mdiClose,size:1})}),F0=({className:t="",style:r={},dotColor:n,authorColorToChange:i=void 0})=>{let[o,a]=(0,Hl.useState)(!1),[s,l]=(0,Hl.useState)(n),{databaseInfo:C,repo:u}=xe(),d=(0,FG.useSubmit)();if(!i)return(0,S5.jsx)("div",{className:`aspect-square h-4 w-4 rounded-full shadow-sm shadow-black ${t}`,style:{...r,backgroundColor:n}});function c(H,V){let L=new FormData;L.append("authorname",H),L.append("authorcolor",V),d(L,{action:`/${f0(u.name,u.currentHead)}`,method:"post"})}return(0,S5.jsx)(BV.Popover,{isOpen:o,positions:["top","left","bottom","right"],content:({position:H,childRect:V,popoverRect:L})=>(0,S5.jsx)(BV.ArrowContainer,{position:H,childRect:V,popoverRect:L,arrowSize:10,arrowColor:"white",children:(0,S5.jsxs)("div",{className:"card z-20 max-w-lg bg-gray-100/50 pr-10 backdrop-blur dark:bg-gray-800/40",children:[(0,S5.jsx)(AU,{color:s,onChange:l}),(0,S5.jsx)("button",{className:"btn",onClick:()=>c(i,s),children:"Set color"}),C.authorColors[i]?(0,S5.jsx)("button",{className:"btn",onClick:()=>c(i,""),children:"Use default color"}):null,(0,S5.jsx)(br,{absolute:!0,onClick:()=>a(!1)})]})}),onClickOutside:()=>a(!1),children:(0,S5.jsx)("div",{className:`aspect-square h-4 w-4 rounded-full shadow-sm shadow-black ${t} cursor-pointer`,style:{...r,backgroundColor:n},onClick:()=>a(!o)})})},C3=({inline:t=!1,...r})=>(0,S5.jsx)("code",{className:`rounded-md bg-gray-100 p-1 font-mono text-sm text-gray-900 dark:bg-gray-700 dark:text-gray-100 ${t?"inline-block":"block"} whitespace-pre-wrap`,...r});function wr({children:t,checked:r,onChange:n,className:i="",checkedIcon:o=n9.mdiCheckboxOutline,uncheckedIcon:a=n9.mdiCheckboxBlankOutline,...s}){let[l,C]=(0,Hl.useTransition)();return(0,S5.jsxs)("label",{className:`label flex w-full items-center justify-start gap-2 ${i}`,...s,children:[(0,S5.jsxs)("span",{className:"flex grow items-center gap-2",children:[t,l?(0,S5.jsx)("img",{src:Tn,alt:"...",className:"h-5"}):""]}),(0,S5.jsx)(FV.Icon,{className:"place-self-end",path:r?o:a,size:1}),(0,S5.jsx)("input",{type:"checkbox",defaultChecked:r,onChange:u=>C(()=>n(u)),className:"hidden"})]})}var IV=({visible:t,offset:r})=>(0,S5.jsx)("div",{className:Ke("absolute bottom-0 w-min -translate-x-1/2 translate-y-1/2 transition-all",{"opacity-0":!t}),style:{left:`${r<=100?r:-20}%`},children:(0,S5.jsx)(FV.Icon,{path:n9.mdiMenuUp,size:2,className:"stroke-white"})});var BG="/build/_assets/tailwind-LNGO2W4E.css";var ML=J(c1()),EQ=J(Ei());var jx="-";function ww1(t){let r=Ow1(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=t;function o(s){let l=s.split(jx);return l[0]===""&&l.length!==1&&l.shift(),xQ(l,r)||xw1(s)}function a(s,l){let C=n[s]||[];return l&&i[s]?[...C,...i[s]]:C}return{getClassGroupId:o,getConflictingClassGroupIds:a}}function xQ(t,r){if(t.length===0)return r.classGroupId;let n=t[0],i=r.nextPart.get(n),o=i?xQ(t.slice(1),i):void 0;if(o)return o;if(r.validators.length===0)return;let a=t.join(jx);return r.validators.find(({validator:s})=>s(a))?.classGroupId}var bQ=/^\[(.+)\]$/;function xw1(t){if(bQ.test(t)){let r=bQ.exec(t)[1],n=r?.substring(0,r.indexOf(":"));if(n)return"arbitrary.."+n}}function Ow1(t){let{theme:r,prefix:n}=t,i={nextPart:new Map,validators:[]};return _w1(Object.entries(t.classGroups),n).forEach(([a,s])=>{Nx(s,i,a,r)}),i}function Nx(t,r,n,i){t.forEach(o=>{if(typeof o=="string"){let a=o===""?r:wQ(r,o);a.classGroupId=n;return}if(typeof o=="function"){if(kw1(o)){Nx(o(i),r,n,i);return}r.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([a,s])=>{Nx(s,wQ(r,a),n,i)})})}function wQ(t,r){let n=t;return r.split(jx).forEach(i=>{n.nextPart.has(i)||n.nextPart.set(i,{nextPart:new Map,validators:[]}),n=n.nextPart.get(i)}),n}function kw1(t){return t.isThemeGetter}function _w1(t,r){return r?t.map(([n,i])=>{let o=i.map(a=>typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,l])=>[r+s,l])):a);return[n,o]}):t}function Zw1(t){if(t<1)return{get:()=>{},set:()=>{}};let r=0,n=new Map,i=new Map;function o(a,s){n.set(a,s),r++,r>t&&(r=0,i=n,n=new Map)}return{get(a){let s=n.get(a);if(s!==void 0)return s;if((s=i.get(a))!==void 0)return o(a,s),s},set(a,s){n.has(a)?n.set(a,s):o(a,s)}}}var OQ="!";function Rw1(t){let r=t.separator,n=r.length===1,i=r[0],o=r.length;return function(s){let l=[],C=0,u=0,d;for(let M=0;M<s.length;M++){let m=s[M];if(C===0){if(m===i&&(n||s.slice(M,M+o)===r)){l.push(s.slice(u,M)),u=M+o;continue}if(m==="/"){d=M;continue}}m==="["?C++:m==="]"&&C--}let c=l.length===0?s:s.substring(u),H=c.startsWith(OQ),V=H?c.substring(1):c,L=d&&d>u?d-u:void 0;return{modifiers:l,hasImportantModifier:H,baseClassName:V,maybePostfixModifierPosition:L}}}function Ew1(t){if(t.length<=1)return t;let r=[],n=[];return t.forEach(i=>{i[0]==="["?(r.push(...n.sort(),i),n=[]):n.push(i)}),r.push(...n.sort()),r}function Pw1(t){return{cache:Zw1(t.cacheSize),splitModifiers:Rw1(t),...ww1(t)}}var Tw1=/\s+/;function Dw1(t,r){let{splitModifiers:n,getClassGroupId:i,getConflictingClassGroupIds:o}=r,a=new Set;return t.trim().split(Tw1).map(s=>{let{modifiers:l,hasImportantModifier:C,baseClassName:u,maybePostfixModifierPosition:d}=n(s),c=i(d?u.substring(0,d):u),H=Boolean(d);if(!c){if(!d)return{isTailwindClass:!1,originalClassName:s};if(c=i(u),!c)return{isTailwindClass:!1,originalClassName:s};H=!1}let V=Ew1(l).join(":");return{isTailwindClass:!0,modifierId:C?V+OQ:V,classGroupId:c,originalClassName:s,hasPostfixModifier:H}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;let{modifierId:l,classGroupId:C,hasPostfixModifier:u}=s,d=l+C;return a.has(d)?!1:(a.add(d),o(C,u).forEach(c=>a.add(l+c)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function Fw1(){let t=0,r,n,i="";for(;t<arguments.length;)(r=arguments[t++])&&(n=kQ(r))&&(i&&(i+=" "),i+=n);return i}function kQ(t){if(typeof t=="string")return t;let r,n="";for(let i=0;i<t.length;i++)t[i]&&(r=kQ(t[i]))&&(n&&(n+=" "),n+=r);return n}function Bw1(t,...r){let n,i,o,a=s;function s(C){let u=r.reduce((d,c)=>c(d),t());return n=Pw1(u),i=n.cache.get,o=n.cache.set,a=l,l(C)}function l(C){let u=i(C);if(u)return u;let d=Dw1(C,n);return o(C,d),d}return function(){return a(Fw1.apply(null,arguments))}}function ze(t){let r=n=>n[t]||[];return r.isThemeGetter=!0,r}var _Q=/^\[(?:([a-z-]+):)?(.+)\]$/i,Iw1=/^\d+\/\d+$/,Nw1=new Set(["px","full","screen"]),jw1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zw1=/\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$/,Ww1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Uw1=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qw1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function kr(t){return $6(t)||Nw1.has(t)||Iw1.test(t)}function u9(t){return Pi(t,"length",ex1)}function $6(t){return Boolean(t)&&!Number.isNaN(Number(t))}function fL(t){return Pi(t,"number",$6)}function Dl(t){return Boolean(t)&&Number.isInteger(Number(t))}function Gw1(t){return t.endsWith("%")&&$6(t.slice(0,-1))}function _2(t){return _Q.test(t)}function d9(t){return jw1.test(t)}var $w1=new Set(["length","size","percentage"]);function Yw1(t){return Pi(t,$w1,ZQ)}function Kw1(t){return Pi(t,"position",ZQ)}var Qw1=new Set(["image","url"]);function Xw1(t){return Pi(t,Qw1,rx1)}function Jw1(t){return Pi(t,"",tx1)}function Fl(){return!0}function Pi(t,r,n){let i=_Q.exec(t);return i?i[1]?typeof r=="string"?i[1]===r:r.has(i[1]):n(i[2]):!1}function ex1(t){return zw1.test(t)&&!Ww1.test(t)}function ZQ(){return!1}function tx1(t){return Uw1.test(t)}function rx1(t){return qw1.test(t)}function nx1(){let t=ze("colors"),r=ze("spacing"),n=ze("blur"),i=ze("brightness"),o=ze("borderColor"),a=ze("borderRadius"),s=ze("borderSpacing"),l=ze("borderWidth"),C=ze("contrast"),u=ze("grayscale"),d=ze("hueRotate"),c=ze("invert"),H=ze("gap"),V=ze("gradientColorStops"),L=ze("gradientColorStopPositions"),M=ze("inset"),m=ze("margin"),h=ze("opacity"),A=ze("padding"),y=ze("saturate"),p=ze("scale"),b=ze("sepia"),Z=ze("skew"),w=ze("space"),z=ze("translate"),P=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",_2,r],N=()=>[_2,r],d1=()=>["",kr,u9],m1=()=>["auto",$6,_2],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],f1=()=>["solid","dashed","dotted","double","none"],p1=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],S1=()=>["start","end","center","between","around","evenly","stretch"],b1=()=>["","0",_2],U1=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W1=()=>[$6,fL],j1=()=>[$6,_2];return{cacheSize:500,separator:":",theme:{colors:[Fl],spacing:[kr,u9],blur:["none","",d9,_2],brightness:W1(),borderColor:[t],borderRadius:["none","","full",d9,_2],borderSpacing:N(),borderWidth:d1(),contrast:W1(),grayscale:b1(),hueRotate:j1(),invert:b1(),gap:N(),gradientColorStops:[t],gradientColorStopPositions:[Gw1,u9],inset:B(),margin:B(),opacity:W1(),padding:N(),saturate:W1(),scale:W1(),sepia:b1(),skew:j1(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",_2]}],container:["container"],columns:[{columns:[d9]}],"break-after":[{"break-after":U1()}],"break-before":[{"break-before":U1()}],"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"],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:[...$(),_2]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[M]}],"inset-x":[{"inset-x":[M]}],"inset-y":[{"inset-y":[M]}],start:[{start:[M]}],end:[{end:[M]}],top:[{top:[M]}],right:[{right:[M]}],bottom:[{bottom:[M]}],left:[{left:[M]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Dl,_2]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_2]}],grow:[{grow:b1()}],shrink:[{shrink:b1()}],order:[{order:["first","last","none",Dl,_2]}],"grid-cols":[{"grid-cols":[Fl]}],"col-start-end":[{col:["auto",{span:["full",Dl,_2]},_2]}],"col-start":[{"col-start":m1()}],"col-end":[{"col-end":m1()}],"grid-rows":[{"grid-rows":[Fl]}],"row-start-end":[{row:["auto",{span:[Dl,_2]},_2]}],"row-start":[{"row-start":m1()}],"row-end":[{"row-end":m1()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_2]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_2]}],gap:[{gap:[H]}],"gap-x":[{"gap-x":[H]}],"gap-y":[{"gap-y":[H]}],"justify-content":[{justify:["normal",...S1()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...S1(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...S1(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[w]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[w]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",_2,r]}],"min-w":[{"min-w":[_2,r,"min","max","fit"]}],"max-w":[{"max-w":[_2,r,"none","full","min","max","fit","prose",{screen:[d9]},d9]}],h:[{h:[_2,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[_2,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[_2,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[_2,r,"auto","min","max","fit"]}],"font-size":[{text:["base",d9,u9]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fL]}],"font-family":[{font:[Fl]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",_2]}],"line-clamp":[{"line-clamp":["none",$6,fL]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",kr,_2]}],"list-image":[{"list-image":["none",_2]}],"list-style-type":[{list:["none","disc","decimal",_2]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...f1(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",kr,u9]}],"underline-offset":[{"underline-offset":["auto",kr,_2]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_2]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_2]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),Kw1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Yw1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xw1]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[L]}],"gradient-via-pos":[{via:[L]}],"gradient-to-pos":[{to:[L]}],"gradient-from":[{from:[V]}],"gradient-via":[{via:[V]}],"gradient-to":[{to:[V]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...f1(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:f1()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...f1()]}],"outline-offset":[{"outline-offset":[kr,_2]}],"outline-w":[{outline:[kr,u9]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:d1()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[kr,u9]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",d9,Jw1]}],"shadow-color":[{shadow:[Fl]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":p1()}],"bg-blend":[{"bg-blend":p1()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[i]}],contrast:[{contrast:[C]}],"drop-shadow":[{"drop-shadow":["","none",d9,_2]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[y]}],sepia:[{sepia:[b]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[C]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_2]}],duration:[{duration:j1()}],ease:[{ease:["linear","in","out","in-out",_2]}],delay:[{delay:j1()}],animate:[{animate:["none","spin","ping","pulse","bounce",_2]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[p]}],"scale-x":[{"scale-x":[p]}],"scale-y":[{"scale-y":[p]}],rotate:[{rotate:[Dl,_2]}],"translate-x":[{"translate-x":[z]}],"translate-y":[{"translate-y":[z]}],"skew-x":[{"skew-x":[Z]}],"skew-y":[{"skew-y":[Z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_2]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],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",_2]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"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",_2]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[kr,u9,fL]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var RQ=Bw1(nx1);var DQ=J(K1()),d3=(...t)=>RQ(A5(t));var PQ=(0,ML.createContext)(["LIGHT",()=>{throw new Error("ThemeContext not in the tree")}]),zx=()=>(0,ML.useContext)(PQ),TQ=({children:t})=>{let[r,n]=(0,EQ.useLocalStorage)("themeType",void 0);return(0,DQ.jsx)(PQ.Provider,{value:[r===void 0?"LIGHT":r,n],children:t})};function Ti(){let[t]=zx();return t===void 0||t==="LIGHT"}var FQ="/build/_assets/react-datepicker-3YLWDVEY.css";var te=J(K1()),ox1=()=>[{title:"Git Truck"}];function ax1(){return[...[RN,EN,BG,FQ].map(t=>({rel:"stylesheet",href:t})),{rel:"favicon",type:"image/x-icon",href:"favicon.ico"},{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&family=Roboto+Mono:wght@400;700&display=swap"}]}function IQ(){return(0,BQ.useKonami)(()=>window.open("https://fruit-rush.joglr.dev","_self")),(0,te.jsxs)("html",{lang:"en",children:[(0,te.jsxs)("head",{children:[(0,te.jsx)("meta",{charSet:"utf-8"}),(0,te.jsx)("meta",{name:"viewport",content:"width=device-width,initial-scale=1"}),(0,te.jsx)(V5.Meta,{}),(0,te.jsx)(V5.Links,{})]}),(0,te.jsx)(TQ,{children:(0,te.jsxs)(sx1,{children:[(0,te.jsx)(V5.Outlet,{}),(0,te.jsx)(V5.ScrollRestoration,{}),(0,te.jsx)(V5.Scripts,{}),(0,te.jsx)(V5.LiveReload,{})]})})]})}function sx1({children:t}){let r=Ti();return(0,te.jsx)("body",{className:d3("bg-gray-200 text-gray-700 dark:bg-gray-900 dark:text-gray-300",{dark:!r}),children:t})}var lx1=()=>{let t=(0,V5.useRouteError)();return(0,V5.isRouteErrorResponse)(t)?(0,te.jsxs)("html",{lang:"en",children:[(0,te.jsxs)("head",{children:[(0,te.jsx)("title",{children:"Oops! An error wasn't handled"}),(0,te.jsx)(V5.Meta,{}),(0,te.jsx)(V5.Links,{})]}),(0,te.jsxs)("body",{children:[(0,te.jsxs)("h1",{children:["Error: ",t.status]}),(0,te.jsx)(C3,{children:t.data.message}),(0,te.jsx)(V5.Scripts,{})]})]}):t instanceof Error?(0,te.jsxs)("html",{lang:"en",children:[(0,te.jsxs)("head",{children:[(0,te.jsx)("title",{children:"Oops! An error wasn't handled"}),(0,te.jsx)(V5.Meta,{}),(0,te.jsx)(V5.Links,{})]}),(0,te.jsxs)("body",{children:[(0,te.jsx)("h1",{children:t.message}),(0,te.jsx)(C3,{children:t.stack}),(0,te.jsx)(V5.Scripts,{})]})]}):null};var yk={};v0(yk,{loader:()=>wZ1});var q21=J(Ln()),G21=require("node:fs"),$21=require("node:path");var Cx1=!0,Ux="Invariant failed";function U5(t,r){if(!t){if(Cx1)throw new Error(Ux);var n=typeof r=="function"?r():r,i=n?"".concat(Ux,": ").concat(n):Ux;throw new Error(i)}}var UQ=require("util"),AL=require("path");function Y6(t){if(t!==t.toLowerCase()&&t!==t.toUpperCase()||(t=t.toLowerCase()),t.indexOf("-")===-1&&t.indexOf("_")===-1)return t;{let n="",i=!1,o=t.match(/^-+/);for(let a=o?o[0].length:0;a<t.length;a++){let s=t.charAt(a);i&&(i=!1,s=s.toUpperCase()),a!==0&&(s==="-"||s==="_")?i=!0:s!=="-"&&s!=="_"&&(n+=s)}return n}}function pL(t,r){let n=t.toLowerCase();r=r||"-";let i="";for(let o=0;o<t.length;o++){let a=n.charAt(o),s=t.charAt(o);a!==s&&o>0?i+=`${r}${n.charAt(o)}`:i+=s}return i}function hL(t){return t==null?!1:typeof t=="number"||/^0x[0-9a-f]+$/i.test(t)?!0:/^0[^.]/.test(t)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(t)}function NQ(t){if(Array.isArray(t))return t.map(s=>typeof s!="string"?s+"":s);t=t.trim();let r=0,n=null,i=null,o=null,a=[];for(let s=0;s<t.length;s++){if(n=i,i=t.charAt(s),i===" "&&!o){n!==" "&&r++;continue}i===o?o=null:(i==="'"||i==='"')&&!o&&(o=i),a[r]||(a[r]=""),a[r]+=i}return a}var c3;(function(t){t.BOOLEAN="boolean",t.STRING="string",t.NUMBER="number",t.ARRAY="array"})(c3||(c3={}));var _r,gL=class{constructor(r){_r=r}parse(r,n){let i=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},n),o=NQ(r),a=typeof r=="string",s=ux1(Object.assign(Object.create(null),i.alias)),l=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},i.configuration),C=Object.assign(Object.create(null),i.default),u=i.configObjects||[],d=i.envPrefix,c=l["populate--"],H=c?"--":"_",V=Object.create(null),L=Object.create(null),M=i.__||_r.format,m={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},h=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,A=new RegExp("^--"+l["negation-prefix"]+"(.+)");[].concat(i.array||[]).filter(Boolean).forEach(function(E){let D=typeof E=="object"?E.key:E,i1=Object.keys(E).map(function(e1){return{boolean:"bools",string:"strings",number:"numbers"}[e1]}).filter(Boolean).pop();i1&&(m[i1][D]=!0),m.arrays[D]=!0,m.keys.push(D)}),[].concat(i.boolean||[]).filter(Boolean).forEach(function(E){m.bools[E]=!0,m.keys.push(E)}),[].concat(i.string||[]).filter(Boolean).forEach(function(E){m.strings[E]=!0,m.keys.push(E)}),[].concat(i.number||[]).filter(Boolean).forEach(function(E){m.numbers[E]=!0,m.keys.push(E)}),[].concat(i.count||[]).filter(Boolean).forEach(function(E){m.counts[E]=!0,m.keys.push(E)}),[].concat(i.normalize||[]).filter(Boolean).forEach(function(E){m.normalize[E]=!0,m.keys.push(E)}),typeof i.narg=="object"&&Object.entries(i.narg).forEach(([E,D])=>{typeof D=="number"&&(m.nargs[E]=D,m.keys.push(E))}),typeof i.coerce=="object"&&Object.entries(i.coerce).forEach(([E,D])=>{typeof D=="function"&&(m.coercions[E]=D,m.keys.push(E))}),typeof i.config<"u"&&(Array.isArray(i.config)||typeof i.config=="string"?[].concat(i.config).filter(Boolean).forEach(function(E){m.configs[E]=!0}):typeof i.config=="object"&&Object.entries(i.config).forEach(([E,D])=>{(typeof D=="boolean"||typeof D=="function")&&(m.configs[E]=D)})),Y1(i.key,s,i.default,m.arrays),Object.keys(C).forEach(function(E){(m.aliases[E]||[]).forEach(function(D){C[D]=C[E]})});let y=null;h1();let p=[],b=Object.assign(Object.create(null),{_:[]}),Z={};for(let E=0;E<o.length;E++){let D=o[E],i1=D.replace(/^-{3,}/,"---"),e1,Y,V1,A1,w1,R1;if(D!=="--"&&/^-/.test(D)&&L1(D))w(D);else if(i1.match(/^---+(=|$)/)){w(D);continue}else if(D.match(/^--.+=/)||!l["short-option-groups"]&&D.match(/^-.+=/))A1=D.match(/^--?([^=]+)=([\s\S]*)$/),A1!==null&&Array.isArray(A1)&&A1.length>=3&&(Z1(A1[1],m.arrays)?E=P(E,A1[1],o,A1[2]):Z1(A1[1],m.nargs)!==!1?E=z(E,A1[1],o,A1[2]):F(A1[1],A1[2],!0));else if(D.match(A)&&l["boolean-negation"])A1=D.match(A),A1!==null&&Array.isArray(A1)&&A1.length>=2&&(Y=A1[1],F(Y,Z1(Y,m.arrays)?[!1]:!1));else if(D.match(/^--.+/)||!l["short-option-groups"]&&D.match(/^-[^-]+/))A1=D.match(/^--?(.+)/),A1!==null&&Array.isArray(A1)&&A1.length>=2&&(Y=A1[1],Z1(Y,m.arrays)?E=P(E,Y,o):Z1(Y,m.nargs)!==!1?E=z(E,Y,o):(w1=o[E+1],w1!==void 0&&(!w1.match(/^-/)||w1.match(h))&&!Z1(Y,m.bools)&&!Z1(Y,m.counts)||/^(true|false)$/.test(w1)?(F(Y,w1),E++):F(Y,T(Y))));else if(D.match(/^-.\..+=/))A1=D.match(/^-([^=]+)=([\s\S]*)$/),A1!==null&&Array.isArray(A1)&&A1.length>=3&&F(A1[1],A1[2]);else if(D.match(/^-.\..+/)&&!D.match(h))w1=o[E+1],A1=D.match(/^-(.\..+)/),A1!==null&&Array.isArray(A1)&&A1.length>=2&&(Y=A1[1],w1!==void 0&&!w1.match(/^-/)&&!Z1(Y,m.bools)&&!Z1(Y,m.counts)?(F(Y,w1),E++):F(Y,T(Y)));else if(D.match(/^-[^-]+/)&&!D.match(h)){V1=D.slice(1,-1).split(""),e1=!1;for(let E1=0;E1<V1.length;E1++){if(w1=D.slice(E1+2),V1[E1+1]&&V1[E1+1]==="="){R1=D.slice(E1+3),Y=V1[E1],Z1(Y,m.arrays)?E=P(E,Y,o,R1):Z1(Y,m.nargs)!==!1?E=z(E,Y,o,R1):F(Y,R1),e1=!0;break}if(w1==="-"){F(V1[E1],w1);continue}if(/[A-Za-z]/.test(V1[E1])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(w1)&&Z1(w1,m.bools)===!1){F(V1[E1],w1),e1=!0;break}if(V1[E1+1]&&V1[E1+1].match(/\W/)){F(V1[E1],w1),e1=!0;break}else F(V1[E1],T(V1[E1]))}Y=D.slice(-1)[0],!e1&&Y!=="-"&&(Z1(Y,m.arrays)?E=P(E,Y,o):Z1(Y,m.nargs)!==!1?E=z(E,Y,o):(w1=o[E+1],w1!==void 0&&(!/^(-|--)[^-]/.test(w1)||w1.match(h))&&!Z1(Y,m.bools)&&!Z1(Y,m.counts)||/^(true|false)$/.test(w1)?(F(Y,w1),E++):F(Y,T(Y))))}else if(D.match(/^-[0-9]$/)&&D.match(h)&&Z1(D.slice(1),m.bools))Y=D.slice(1),F(Y,T(Y));else if(D==="--"){p=o.slice(E+1);break}else if(l["halt-at-non-option"]){p=o.slice(E);break}else w(D)}p1(b,!0),p1(b,!1),m1(b),f1(),U1(b,m.aliases,C,!0),S1(b),l["set-placeholder-key"]&&b1(b),Object.keys(m.counts).forEach(function(E){W1(b,E.split("."))||F(E,0)}),c&&p.length&&(b[H]=[]),p.forEach(function(E){b[H].push(E)}),l["camel-case-expansion"]&&l["strip-dashed"]&&Object.keys(b).filter(E=>E!=="--"&&E.includes("-")).forEach(E=>{delete b[E]}),l["strip-aliased"]&&[].concat(...Object.keys(s).map(E=>s[E])).forEach(E=>{l["camel-case-expansion"]&&E.includes("-")&&delete b[E.split(".").map(D=>Y6(D)).join(".")],delete b[E]});function w(E){let D=d1("_",E);(typeof D=="string"||typeof D=="number")&&b._.push(D)}function z(E,D,i1,e1){let Y,V1=Z1(D,m.nargs);if(V1=typeof V1!="number"||isNaN(V1)?1:V1,V1===0)return C1(e1)||(y=Error(M("Argument unexpected for: %s",D))),F(D,T(D)),E;let A1=C1(e1)?0:1;if(l["nargs-eats-options"])i1.length-(E+1)+A1<V1&&(y=Error(M("Not enough arguments following: %s",D))),A1=V1;else{for(Y=E+1;Y<i1.length&&(!i1[Y].match(/^-[^0-9]/)||i1[Y].match(h)||L1(i1[Y]));Y++)A1++;A1<V1&&(y=Error(M("Not enough arguments following: %s",D)))}let w1=Math.min(A1,V1);for(!C1(e1)&&w1>0&&(F(D,e1),w1--),Y=E+1;Y<w1+E+1;Y++)F(D,i1[Y]);return E+w1}function P(E,D,i1,e1){let Y=[],V1=e1||i1[E+1],A1=Z1(D,m.nargs);if(Z1(D,m.bools)&&!/^(true|false)$/.test(V1))Y.push(!0);else if(C1(V1)||C1(e1)&&/^-/.test(V1)&&!h.test(V1)&&!L1(V1)){if(C[D]!==void 0){let w1=C[D];Y=Array.isArray(w1)?w1:[w1]}}else{C1(e1)||Y.push(N(D,e1,!0));for(let w1=E+1;w1<i1.length&&!(!l["greedy-arrays"]&&Y.length>0||A1&&typeof A1=="number"&&Y.length>=A1||(V1=i1[w1],/^-/.test(V1)&&!h.test(V1)&&!L1(V1)));w1++)E=w1,Y.push(N(D,V1,a))}return typeof A1=="number"&&(A1&&Y.length<A1||isNaN(A1)&&Y.length===0)&&(y=Error(M("Not enough arguments following: %s",D))),F(D,Y),E}function F(E,D,i1=a){if(/-/.test(E)&&l["camel-case-expansion"]){let V1=E.split(".").map(function(A1){return Y6(A1)}).join(".");B(E,V1)}let e1=N(E,D,i1),Y=E.split(".");j1(b,Y,e1),m.aliases[E]&&m.aliases[E].forEach(function(V1){let A1=V1.split(".");j1(b,A1,e1)}),Y.length>1&&l["dot-notation"]&&(m.aliases[Y[0]]||[]).forEach(function(V1){let A1=V1.split("."),w1=[].concat(Y);w1.shift(),A1=A1.concat(w1),(m.aliases[E]||[]).includes(A1.join("."))||j1(b,A1,e1)}),Z1(E,m.normalize)&&!Z1(E,m.arrays)&&[E].concat(m.aliases[E]||[]).forEach(function(A1){Object.defineProperty(Z,A1,{enumerable:!0,get(){return D},set(w1){D=typeof w1=="string"?_r.normalize(w1):w1}})})}function B(E,D){m.aliases[E]&&m.aliases[E].length||(m.aliases[E]=[D],V[D]=!0),m.aliases[D]&&m.aliases[D].length||B(D,E)}function N(E,D,i1){i1&&(D=dx1(D)),(Z1(E,m.bools)||Z1(E,m.counts))&&typeof D=="string"&&(D=D==="true");let e1=Array.isArray(D)?D.map(function(Y){return d1(E,Y)}):d1(E,D);return Z1(E,m.counts)&&(C1(e1)||typeof e1=="boolean")&&(e1=qx()),Z1(E,m.normalize)&&Z1(E,m.arrays)&&(Array.isArray(D)?e1=D.map(Y=>_r.normalize(Y)):e1=_r.normalize(D)),e1}function d1(E,D){return!l["parse-positional-numbers"]&&E==="_"||!Z1(E,m.strings)&&!Z1(E,m.bools)&&!Array.isArray(D)&&(hL(D)&&l["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${D}`)))||!C1(D)&&Z1(E,m.numbers))&&(D=Number(D)),D}function m1(E){let D=Object.create(null);U1(D,m.aliases,C),Object.keys(m.configs).forEach(function(i1){let e1=E[i1]||D[i1];if(e1)try{let Y=null,V1=_r.resolve(_r.cwd(),e1),A1=m.configs[i1];if(typeof A1=="function"){try{Y=A1(V1)}catch(w1){Y=w1}if(Y instanceof Error){y=Y;return}}else Y=_r.require(V1);$(Y)}catch(Y){Y.name==="PermissionDenied"?y=Y:E[i1]&&(y=Error(M("Invalid JSON config file: %s",e1)))}})}function $(E,D){Object.keys(E).forEach(function(i1){let e1=E[i1],Y=D?D+"."+i1:i1;typeof e1=="object"&&e1!==null&&!Array.isArray(e1)&&l["dot-notation"]?$(e1,Y):(!W1(b,Y.split("."))||Z1(Y,m.arrays)&&l["combine-arrays"])&&F(Y,e1)})}function f1(){typeof u<"u"&&u.forEach(function(E){$(E)})}function p1(E,D){if(typeof d>"u")return;let i1=typeof d=="string"?d:"",e1=_r.env();Object.keys(e1).forEach(function(Y){if(i1===""||Y.lastIndexOf(i1,0)===0){let V1=Y.split("__").map(function(A1,w1){return w1===0&&(A1=A1.substring(i1.length)),Y6(A1)});(D&&m.configs[V1.join(".")]||!D)&&!W1(E,V1)&&F(V1.join("."),e1[Y])}})}function S1(E){let D,i1=new Set;Object.keys(E).forEach(function(e1){if(!i1.has(e1)&&(D=Z1(e1,m.coercions),typeof D=="function"))try{let Y=d1(e1,D(E[e1]));[].concat(m.aliases[e1]||[],e1).forEach(V1=>{i1.add(V1),E[V1]=Y})}catch(Y){y=Y}})}function b1(E){return m.keys.forEach(D=>{~D.indexOf(".")||typeof E[D]>"u"&&(E[D]=void 0)}),E}function U1(E,D,i1,e1=!1){Object.keys(i1).forEach(function(Y){W1(E,Y.split("."))||(j1(E,Y.split("."),i1[Y]),e1&&(L[Y]=!0),(D[Y]||[]).forEach(function(V1){W1(E,V1.split("."))||j1(E,V1.split("."),i1[Y])}))})}function W1(E,D){let i1=E;l["dot-notation"]||(D=[D.join(".")]),D.slice(0,-1).forEach(function(Y){i1=i1[Y]||{}});let e1=D[D.length-1];return typeof i1!="object"?!1:e1 in i1}function j1(E,D,i1){let e1=E;l["dot-notation"]||(D=[D.join(".")]),D.slice(0,-1).forEach(function(R1){R1=jQ(R1),typeof e1=="object"&&e1[R1]===void 0&&(e1[R1]={}),typeof e1[R1]!="object"||Array.isArray(e1[R1])?(Array.isArray(e1[R1])?e1[R1].push({}):e1[R1]=[e1[R1],{}],e1=e1[R1][e1[R1].length-1]):e1=e1[R1]});let Y=jQ(D[D.length-1]),V1=Z1(D.join("."),m.arrays),A1=Array.isArray(i1),w1=l["duplicate-arguments-array"];!w1&&Z1(Y,m.nargs)&&(w1=!0,(!C1(e1[Y])&&m.nargs[Y]===1||Array.isArray(e1[Y])&&e1[Y].length===m.nargs[Y])&&(e1[Y]=void 0)),i1===qx()?e1[Y]=qx(e1[Y]):Array.isArray(e1[Y])?w1&&V1&&A1?e1[Y]=l["flatten-duplicate-arrays"]?e1[Y].concat(i1):(Array.isArray(e1[Y][0])?e1[Y]:[e1[Y]]).concat([i1]):!w1&&Boolean(V1)===Boolean(A1)?e1[Y]=i1:e1[Y]=e1[Y].concat([i1]):e1[Y]===void 0&&V1?e1[Y]=A1?i1:[i1]:w1&&!(e1[Y]===void 0||Z1(Y,m.counts)||Z1(Y,m.bools))?e1[Y]=[e1[Y],i1]:e1[Y]=i1}function Y1(...E){E.forEach(function(D){Object.keys(D||{}).forEach(function(i1){m.aliases[i1]||(m.aliases[i1]=[].concat(s[i1]||[]),m.aliases[i1].concat(i1).forEach(function(e1){if(/-/.test(e1)&&l["camel-case-expansion"]){let Y=Y6(e1);Y!==i1&&m.aliases[i1].indexOf(Y)===-1&&(m.aliases[i1].push(Y),V[Y]=!0)}}),m.aliases[i1].concat(i1).forEach(function(e1){if(e1.length>1&&/[A-Z]/.test(e1)&&l["camel-case-expansion"]){let Y=pL(e1,"-");Y!==i1&&m.aliases[i1].indexOf(Y)===-1&&(m.aliases[i1].push(Y),V[Y]=!0)}}),m.aliases[i1].forEach(function(e1){m.aliases[e1]=[i1].concat(m.aliases[i1].filter(function(Y){return e1!==Y}))}))})})}function Z1(E,D){let i1=[].concat(m.aliases[E]||[],E),e1=Object.keys(D),Y=i1.find(V1=>e1.includes(V1));return Y?D[Y]:!1}function d2(E){let D=Object.keys(m);return[].concat(D.map(e1=>m[e1])).some(function(e1){return Array.isArray(e1)?e1.includes(E):e1[E]})}function b2(E,...D){return[].concat(...D).some(function(e1){let Y=E.match(e1);return Y&&d2(Y[1])})}function L2(E){if(E.match(h)||!E.match(/^-[^-]+/))return!1;let D=!0,i1,e1=E.slice(1).split("");for(let Y=0;Y<e1.length;Y++){if(i1=E.slice(Y+2),!d2(e1[Y])){D=!1;break}if(e1[Y+1]&&e1[Y+1]==="="||i1==="-"||/[A-Za-z]/.test(e1[Y])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(i1)||e1[Y+1]&&e1[Y+1].match(/\W/))break}return D}function L1(E){return l["unknown-options-as-args"]&&k(E)}function k(E){return E=E.replace(/^-{3,}/,"--"),E.match(h)||L2(E)?!1:!b2(E,/^-+([^=]+?)=[\s\S]*$/,A,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function T(E){return!Z1(E,m.bools)&&!Z1(E,m.counts)&&`${E}`in C?C[E]:t1(a1(E))}function t1(E){return{[c3.BOOLEAN]:!0,[c3.STRING]:"",[c3.NUMBER]:void 0,[c3.ARRAY]:[]}[E]}function a1(E){let D=c3.BOOLEAN;return Z1(E,m.strings)?D=c3.STRING:Z1(E,m.numbers)?D=c3.NUMBER:Z1(E,m.bools)?D=c3.BOOLEAN:Z1(E,m.arrays)&&(D=c3.ARRAY),D}function C1(E){return E===void 0}function h1(){Object.keys(m.counts).find(E=>Z1(E,m.arrays)?(y=Error(M("Invalid configuration: %s, opts.count excludes opts.array.",E)),!0):Z1(E,m.nargs)?(y=Error(M("Invalid configuration: %s, opts.count excludes opts.narg.",E)),!0):!1)}return{aliases:Object.assign({},m.aliases),argv:Object.assign(Z,b),configuration:l,defaulted:Object.assign({},L),error:y,newAliases:Object.assign({},V)}}};function ux1(t){let r=[],n=Object.create(null),i=!0;for(Object.keys(t).forEach(function(o){r.push([].concat(t[o],o))});i;){i=!1;for(let o=0;o<r.length;o++)for(let a=o+1;a<r.length;a++)if(r[o].filter(function(l){return r[a].indexOf(l)!==-1}).length){r[o]=r[o].concat(r[a]),r.splice(a,1),i=!0;break}}return r.forEach(function(o){o=o.filter(function(s,l,C){return C.indexOf(s)===l});let a=o.pop();a!==void 0&&typeof a=="string"&&(n[a]=o)}),n}function qx(t){return t!==void 0?t+1:1}function jQ(t){return t==="__proto__"?"___proto___":t}function dx1(t){return typeof t=="string"&&(t[0]==="'"||t[0]==='"')&&t[t.length-1]===t[0]?t.substring(1,t.length-1):t}var qQ=require("fs");var Gx,$x,Yx,zQ=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12,WQ=($x=(Gx=process==null?void 0:process.versions)===null||Gx===void 0?void 0:Gx.node)!==null&&$x!==void 0?$x:(Yx=process==null?void 0:process.version)===null||Yx===void 0?void 0:Yx.slice(1);if(WQ&&Number(WQ.match(/^([^.]+)/)[1])<zQ)throw Error(`yargs parser supports a minimum Node.js version of ${zQ}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var cx1=process?process.env:{},GQ=new gL({cwd:process.cwd,env:()=>cx1,format:UQ.format,normalize:AL.normalize,resolve:AL.resolve,require:t=>{if(typeof require<"u")return require(t);if(t.match(/\.json$/))return JSON.parse((0,qQ.readFileSync)(t,"utf8"));throw Error("only .json config files are supported in ESM")}}),Bl=function(r,n){return GQ.parse(r.slice(),n).argv};Bl.detailed=function(t,r){return GQ.parse(t.slice(),r)};Bl.camelCase=Y6;Bl.decamelize=pL;Bl.looksLikeNumber=hL;var $Q=Bl;var Nl=J(Xx());var eX=(a=>(a.SILENT="",a.ERROR="ERR",a.WARN="WRN",a.INFO="NFO",a.DEBUG="DBG",a))(eX||{}),Mx1={SILENT:0,ERROR:1,WARN:2,INFO:3,DEBUG:4},{ERROR:px1,WARN:hx1,INFO:tX,DEBUG:gx1}=eX;function Ax1(){return typeof process.env.LOG_LEVEL=="string"?(setTimeout(()=>{re.debug(`Setting log level to ${process.env.LOG_LEVEL} from environment variable`)}),Mx1[process.env.LOG_LEVEL.toUpperCase()]):typeof process.env.LOG_LEVEL=="number"?(setTimeout(()=>{re.debug(`Setting log level to ${process.env.LOG_LEVEL} from environment variable`)}),process.env.LOG_LEVEL):null}var B0=Ax1(),Jx=()=>B0;function yx1(...t){B0!==null&&B0>=1&&(process.stderr.write(jl(px1)),console.error(...t))}function vx1(...t){B0!==null&&B0>=2&&(process.stderr.write(jl(hx1)),console.warn(...t))}function Sx1(...t){B0!==null&&B0>=3&&(process.stderr.write(jl(tX)),console.info(...t))}function bx1(t){B0!==null&&B0>=3&&console.time(t)}function wx1(t){B0!==null&&B0>=3&&(process.stderr.write(jl(tX)),console.timeEnd(t))}function xx1(...t){B0!==null&&B0>=4&&(process.stderr.write(jl(gx1)),console.debug(...t))}function jl(t){let r=(n,i=o=>o)=>`${i(` ${new Date().toLocaleTimeString()} ${n} `)} `;if(process.env.COLOR==="0")return`[${t}] `;switch(t){case"ERR":return r("ERR",Nl.default.bgRedBright.black.bold);case"WRN":return r("WRN",Nl.default.bgYellow.black.bold);case"NFO":return r("NFO",Nl.default.bgBlueBright.black.bold);case"DBG":return r("DBG",Nl.default.bgWhite.bold);default:throw Error("Invalid log level")}}var re={error:yx1,warn:vx1,info:Sx1,debug:xx1,time:bx1,timeEnd:wx1};var Cm=require("node:child_process");var D21=J(CX()),p9=require("node:path");var hk=require("node:perf_hooks"),F21=J(Xx());var tO={name:"git-truck",version:"2.0.8",private:!1,description:"Visualizing a Git repository",license:"MIT",main:"./cli.js",bin:"./cli.js",files:["LICENSE","README.md","build/","public/","cli.js"],scripts:{test:"npm run test:e2e && npm run test:unit","test:unit":"jest --coverage","test:e2e":"npx playwright test","test:e2e:headed":"npx playwright test --headed","pretest:e2e":"npm run build","pretest:e2e:headed":"npm run build",build:"remix build && npm run build-cli","build-cli":"tsup --minify --treeshake --out-dir . ./src/cli.ts",dev:"remix dev",watch:"remix watch",start:"npm run build && node .",clean:"rimraf -rf build public/build .cache .temp",typecheck:"tsc","pub-pre":"npm version prerelease && npm publish --tag next","pub-exp":"node ./scripts/publish-experimental.js",prepublishOnly:"npm run clean && npm run build","format:write":"prettier --log-level warn --write src scripts e2e","lint:fix":"eslint --fix --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint src scripts e2e","check:write":"npm run format:write && npm run lint:fix",check:"npm run format:check && npm run lint","format:check":"prettier --check src scripts e2e",lint:"eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint src scripts e2e",prepare:"husky"},devDependencies:{"@mdi/js":"^7.3.67","@mdi/react":"^1.6.1","@playwright/test":"^1.50.1","@remix-run/dev":"2.2.0","@remix-run/eslint-config":"2.2.0","@remix-run/express":"^2.2.0","@remix-run/node":"2.2.0","@remix-run/react":"2.2.0","@remix-run/serve":"2.2.0","@styled-icons/material":"^10.47.0","@styled-icons/material-outlined":"^10.47.0","@styled-icons/octicons":"^10.47.0","@types/byte-size":"^8.1.1","@types/color-convert":"^2.0.2","@types/compression":"^1.7.5","@types/d3":"^7.4.3","@types/d3-hierarchy":"^3.1.5","@types/express":"^4.17.21","@types/jest":"^29.5.7","@types/morgan":"^1.9.9","@types/randomstring":"^1.1.11","@types/react":"^18.2.34","@types/react-detect-offline":"^2.4.5","@types/react-dom":"^18.2.14","@types/semver":"^7.5.4","@types/yargs":"^17.0.29","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.62.0","ansi-colors":"^4.1.3","apache-arrow":"^15.0.2",autoprefixer:"^10.4.16","byte-size":"^8.1.1",clsx:"^2.0.0","color-convert":"^2.0.1",compression:"^1.7.4","cross-env":"^7.0.3",d3:"^7.9.0","d3-hierarchy":"^3.1.2",dotenv:"^16.3.1",eslint:"^8.52.0","eslint-plugin-react":"^7.33.2",express:"^4.18.2","express-serve-static-core":"^0.1.1","get-port":"^6.1.2","gitignore-parser":"^0.0.2",husky:"^8.0.3",ignore:"^5.2.4","is-binary-path":"^2.1.0",jest:"^29.7.0","language-map":"^1.5.0","latest-version":"^7.0.0","lint-staged":"^15.0.2",morgan:"^1.10.0",nanospinner:"^1.1.0",open:"^8.4.2",postcss:"^8.4.31",prettier:"^3.4.2","prettier-plugin-tailwindcss":"^0.5.11",randomstring:"^1.3.0",react:"^18.2.0","react-colorful":"^5.6.1","react-compound-slider":"^3.4.0","react-datepicker":"^8.0.0","react-detect-offline":"^2.4.5","react-device-detect":"^2.2.3","react-dom":"^18.2.0","react-github-btn":"^1.4.0","react-konami-code":"^2.3.0","react-spinners":"^0.13.8","react-tiny-popover":"^8.0.4","react-use":"^17.4.0","react-use-size":"^3.0.2","remix-typedjson":"^0.3.1",rimraf:"^5.0.5",semver:"^7.5.4","tailwind-merge":"^2.2.1",tailwindcss:"^3.4.1","tiny-invariant":"^1.3.1","ts-jest":"^29.1.1",tsup:"^7.2.0",typescript:"^5.2.2",uniqolor:"^1.1.0",yargs:"^17.7.2"},jest:{preset:"ts-jest",testEnvironment:"node",setupFiles:["dotenv/config"],roots:["<rootDir>/src/"]},prettier:{semi:!1,printWidth:120,trailingComma:"none",plugins:["prettier-plugin-tailwindcss"]},"lint-staged":{"{src,scripts}/**/*.{ts,tsx,js,mjs}":["eslint --cache --fix","prettier --write"]},engines:{node:">=18.0.0"},repository:{type:"git",url:"git+https://github.com/git-truck/git-truck.git"},bugs:{url:"https://github.com/git-truck/git-truck/issues"},homepage:"https://github.com/git-truck/git-truck#readme",dependencies:{"@duckdb/node-api":"^1.1.3-alpha.11"}};var Z21=require("node:http"),R21=require("node:https");var uX=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function Ix1(t){return uX.includes(t)}var Nx1=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","WeakRef","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement","NaN",...uX];function jx1(t){return Nx1.includes(t)}var zx1=["null","undefined","string","number","bigint","boolean","symbol"];function Wx1(t){return zx1.includes(t)}function Di(t){return r=>typeof r===t}var{toString:Ux1}=Object.prototype,Wl=t=>{let r=Ux1.call(t).slice(8,-1);if(/HTML\w+Element/.test(r)&&K.domElement(t))return"HTMLElement";if(jx1(r))return r},we=t=>r=>Wl(r)===t;function K(t){if(t===null)return"null";switch(typeof t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(t)?"NaN":"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol";default:}if(K.observable(t))return"Observable";if(K.array(t))return"Array";if(K.buffer(t))return"Buffer";let r=Wl(t);if(r)return r;if(t instanceof String||t instanceof Boolean||t instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}K.undefined=Di("undefined");K.string=Di("string");var qx1=Di("number");K.number=t=>qx1(t)&&!K.nan(t);K.bigint=Di("bigint");K.function_=Di("function");K.null_=t=>t===null;K.class_=t=>K.function_(t)&&t.toString().startsWith("class ");K.boolean=t=>t===!0||t===!1;K.symbol=Di("symbol");K.numericString=t=>K.string(t)&&!K.emptyStringOrWhitespace(t)&&!Number.isNaN(Number(t));K.array=(t,r)=>Array.isArray(t)?K.function_(r)?t.every(n=>r(n)):!0:!1;K.buffer=t=>t?.constructor?.isBuffer?.(t)??!1;K.blob=t=>we("Blob")(t);K.nullOrUndefined=t=>K.null_(t)||K.undefined(t);K.object=t=>!K.null_(t)&&(typeof t=="object"||K.function_(t));K.iterable=t=>K.function_(t?.[Symbol.iterator]);K.asyncIterable=t=>K.function_(t?.[Symbol.asyncIterator]);K.generator=t=>K.iterable(t)&&K.function_(t?.next)&&K.function_(t?.throw);K.asyncGenerator=t=>K.asyncIterable(t)&&K.function_(t.next)&&K.function_(t.throw);K.nativePromise=t=>we("Promise")(t);var Gx1=t=>K.function_(t?.then)&&K.function_(t?.catch);K.promise=t=>K.nativePromise(t)||Gx1(t);K.generatorFunction=we("GeneratorFunction");K.asyncGeneratorFunction=t=>Wl(t)==="AsyncGeneratorFunction";K.asyncFunction=t=>Wl(t)==="AsyncFunction";K.boundFunction=t=>K.function_(t)&&!t.hasOwnProperty("prototype");K.regExp=we("RegExp");K.date=we("Date");K.error=we("Error");K.map=t=>we("Map")(t);K.set=t=>we("Set")(t);K.weakMap=t=>we("WeakMap")(t);K.weakSet=t=>we("WeakSet")(t);K.weakRef=t=>we("WeakRef")(t);K.int8Array=we("Int8Array");K.uint8Array=we("Uint8Array");K.uint8ClampedArray=we("Uint8ClampedArray");K.int16Array=we("Int16Array");K.uint16Array=we("Uint16Array");K.int32Array=we("Int32Array");K.uint32Array=we("Uint32Array");K.float32Array=we("Float32Array");K.float64Array=we("Float64Array");K.bigInt64Array=we("BigInt64Array");K.bigUint64Array=we("BigUint64Array");K.arrayBuffer=we("ArrayBuffer");K.sharedArrayBuffer=we("SharedArrayBuffer");K.dataView=we("DataView");K.enumCase=(t,r)=>Object.values(r).includes(t);K.directInstanceOf=(t,r)=>Object.getPrototypeOf(t)===r.prototype;K.urlInstance=t=>we("URL")(t);K.urlString=t=>{if(!K.string(t))return!1;try{return new URL(t),!0}catch{return!1}};K.truthy=t=>Boolean(t);K.falsy=t=>!t;K.nan=t=>Number.isNaN(t);K.primitive=t=>K.null_(t)||Wx1(typeof t);K.integer=t=>Number.isInteger(t);K.safeInteger=t=>Number.isSafeInteger(t);K.plainObject=t=>{if(typeof t!="object"||t===null)return!1;let r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)};K.typedArray=t=>Ix1(Wl(t));var $x1=t=>K.safeInteger(t)&&t>=0;K.arrayLike=t=>!K.nullOrUndefined(t)&&!K.function_(t)&&$x1(t.length);K.inRange=(t,r)=>{if(K.number(r))return t>=Math.min(0,r)&&t<=Math.max(r,0);if(K.array(r)&&r.length===2)return t>=Math.min(...r)&&t<=Math.max(...r);throw new TypeError(`Invalid range: ${JSON.stringify(r)}`)};var Yx1=1,Kx1=["innerHTML","ownerDocument","style","attributes","nodeValue"];K.domElement=t=>K.object(t)&&t.nodeType===Yx1&&K.string(t.nodeName)&&!K.plainObject(t)&&Kx1.every(r=>r in t);K.observable=t=>t?t===t[Symbol.observable]?.()||t===t["@@observable"]?.():!1;K.nodeStream=t=>K.object(t)&&K.function_(t.pipe)&&!K.observable(t);K.infinite=t=>t===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY;var dX=t=>r=>K.integer(r)&&Math.abs(r%2)===t;K.evenInteger=dX(0);K.oddInteger=dX(1);K.emptyArray=t=>K.array(t)&&t.length===0;K.nonEmptyArray=t=>K.array(t)&&t.length>0;K.emptyString=t=>K.string(t)&&t.length===0;var Qx1=t=>K.string(t)&&!/\S/.test(t);K.emptyStringOrWhitespace=t=>K.emptyString(t)||Qx1(t);K.nonEmptyString=t=>K.string(t)&&t.length>0;K.nonEmptyStringAndNotWhitespace=t=>K.string(t)&&!K.emptyStringOrWhitespace(t);K.emptyObject=t=>K.object(t)&&!K.map(t)&&!K.set(t)&&Object.keys(t).length===0;K.nonEmptyObject=t=>K.object(t)&&!K.map(t)&&!K.set(t)&&Object.keys(t).length>0;K.emptySet=t=>K.set(t)&&t.size===0;K.nonEmptySet=t=>K.set(t)&&t.size>0;K.emptyMap=t=>K.map(t)&&t.size===0;K.nonEmptyMap=t=>K.map(t)&&t.size>0;K.propertyKey=t=>K.any([K.string,K.number,K.symbol],t);K.formData=t=>we("FormData")(t);K.urlSearchParams=t=>we("URLSearchParams")(t);var cX=(t,r,n)=>{if(!K.function_(r))throw new TypeError(`Invalid predicate: ${JSON.stringify(r)}`);if(n.length===0)throw new TypeError("Invalid number of values");return t.call(n,r)};K.any=(t,...r)=>(K.array(t)?t:[t]).some(i=>cX(Array.prototype.some,i,r));K.all=(t,...r)=>cX(Array.prototype.every,t,r);var $1=(t,r,n,i={})=>{if(!t){let{multipleValues:o}=i,a=o?`received values of types ${[...new Set(n.map(s=>`\`${K(s)}\``))].join(", ")}`:`received value of type \`${K(n)}\``;throw new TypeError(`Expected value which is \`${r}\`, ${a}.`)}},F1={undefined:t=>$1(K.undefined(t),"undefined",t),string:t=>$1(K.string(t),"string",t),number:t=>$1(K.number(t),"number",t),bigint:t=>$1(K.bigint(t),"bigint",t),function_:t=>$1(K.function_(t),"Function",t),null_:t=>$1(K.null_(t),"null",t),class_:t=>$1(K.class_(t),"Class",t),boolean:t=>$1(K.boolean(t),"boolean",t),symbol:t=>$1(K.symbol(t),"symbol",t),numericString:t=>$1(K.numericString(t),"string with a number",t),array:(t,r)=>{$1(K.array(t),"Array",t),r&&t.forEach(r)},buffer:t=>$1(K.buffer(t),"Buffer",t),blob:t=>$1(K.blob(t),"Blob",t),nullOrUndefined:t=>$1(K.nullOrUndefined(t),"null or undefined",t),object:t=>$1(K.object(t),"Object",t),iterable:t=>$1(K.iterable(t),"Iterable",t),asyncIterable:t=>$1(K.asyncIterable(t),"AsyncIterable",t),generator:t=>$1(K.generator(t),"Generator",t),asyncGenerator:t=>$1(K.asyncGenerator(t),"AsyncGenerator",t),nativePromise:t=>$1(K.nativePromise(t),"native Promise",t),promise:t=>$1(K.promise(t),"Promise",t),generatorFunction:t=>$1(K.generatorFunction(t),"GeneratorFunction",t),asyncGeneratorFunction:t=>$1(K.asyncGeneratorFunction(t),"AsyncGeneratorFunction",t),asyncFunction:t=>$1(K.asyncFunction(t),"AsyncFunction",t),boundFunction:t=>$1(K.boundFunction(t),"Function",t),regExp:t=>$1(K.regExp(t),"RegExp",t),date:t=>$1(K.date(t),"Date",t),error:t=>$1(K.error(t),"Error",t),map:t=>$1(K.map(t),"Map",t),set:t=>$1(K.set(t),"Set",t),weakMap:t=>$1(K.weakMap(t),"WeakMap",t),weakSet:t=>$1(K.weakSet(t),"WeakSet",t),weakRef:t=>$1(K.weakRef(t),"WeakRef",t),int8Array:t=>$1(K.int8Array(t),"Int8Array",t),uint8Array:t=>$1(K.uint8Array(t),"Uint8Array",t),uint8ClampedArray:t=>$1(K.uint8ClampedArray(t),"Uint8ClampedArray",t),int16Array:t=>$1(K.int16Array(t),"Int16Array",t),uint16Array:t=>$1(K.uint16Array(t),"Uint16Array",t),int32Array:t=>$1(K.int32Array(t),"Int32Array",t),uint32Array:t=>$1(K.uint32Array(t),"Uint32Array",t),float32Array:t=>$1(K.float32Array(t),"Float32Array",t),float64Array:t=>$1(K.float64Array(t),"Float64Array",t),bigInt64Array:t=>$1(K.bigInt64Array(t),"BigInt64Array",t),bigUint64Array:t=>$1(K.bigUint64Array(t),"BigUint64Array",t),arrayBuffer:t=>$1(K.arrayBuffer(t),"ArrayBuffer",t),sharedArrayBuffer:t=>$1(K.sharedArrayBuffer(t),"SharedArrayBuffer",t),dataView:t=>$1(K.dataView(t),"DataView",t),enumCase:(t,r)=>$1(K.enumCase(t,r),"EnumCase",t),urlInstance:t=>$1(K.urlInstance(t),"URL",t),urlString:t=>$1(K.urlString(t),"string with a URL",t),truthy:t=>$1(K.truthy(t),"truthy",t),falsy:t=>$1(K.falsy(t),"falsy",t),nan:t=>$1(K.nan(t),"NaN",t),primitive:t=>$1(K.primitive(t),"primitive",t),integer:t=>$1(K.integer(t),"integer",t),safeInteger:t=>$1(K.safeInteger(t),"integer",t),plainObject:t=>$1(K.plainObject(t),"plain object",t),typedArray:t=>$1(K.typedArray(t),"TypedArray",t),arrayLike:t=>$1(K.arrayLike(t),"array-like",t),domElement:t=>$1(K.domElement(t),"HTMLElement",t),observable:t=>$1(K.observable(t),"Observable",t),nodeStream:t=>$1(K.nodeStream(t),"Node.js Stream",t),infinite:t=>$1(K.infinite(t),"infinite number",t),emptyArray:t=>$1(K.emptyArray(t),"empty array",t),nonEmptyArray:t=>$1(K.nonEmptyArray(t),"non-empty array",t),emptyString:t=>$1(K.emptyString(t),"empty string",t),emptyStringOrWhitespace:t=>$1(K.emptyStringOrWhitespace(t),"empty string or whitespace",t),nonEmptyString:t=>$1(K.nonEmptyString(t),"non-empty string",t),nonEmptyStringAndNotWhitespace:t=>$1(K.nonEmptyStringAndNotWhitespace(t),"non-empty string and not whitespace",t),emptyObject:t=>$1(K.emptyObject(t),"empty object",t),nonEmptyObject:t=>$1(K.nonEmptyObject(t),"non-empty object",t),emptySet:t=>$1(K.emptySet(t),"empty set",t),nonEmptySet:t=>$1(K.nonEmptySet(t),"non-empty set",t),emptyMap:t=>$1(K.emptyMap(t),"empty map",t),nonEmptyMap:t=>$1(K.nonEmptyMap(t),"non-empty map",t),propertyKey:t=>$1(K.propertyKey(t),"PropertyKey",t),formData:t=>$1(K.formData(t),"FormData",t),urlSearchParams:t=>$1(K.urlSearchParams(t),"URLSearchParams",t),evenInteger:t=>$1(K.evenInteger(t),"even integer",t),oddInteger:t=>$1(K.oddInteger(t),"odd integer",t),directInstanceOf:(t,r)=>$1(K.directInstanceOf(t,r),"T",t),inRange:(t,r)=>$1(K.inRange(t,r),"in range",t),any:(t,...r)=>$1(K.any(t,...r),"predicate returns truthy for any value",r,{multipleValues:!0}),all:(t,...r)=>$1(K.all(t,...r),"predicate returns truthy for all values",r,{multipleValues:!0})};Object.defineProperties(K,{class:{value:K.class_},function:{value:K.function_},null:{value:K.null_}});Object.defineProperties(F1,{class:{value:F1.class_},function:{value:F1.function_},null:{value:F1.null_}});var l1=K;var c11=require("node:events");var rO=class extends Error{constructor(r){super(r||"Promise was canceled"),this.name="CancelError"}get isCanceled(){return!0}},c9=class{static fn(r){return(...n)=>new c9((i,o,a)=>{n.push(a),r(...n).then(i,o)})}constructor(r){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((n,i)=>{this._reject=i;let o=l=>{(!this._isCanceled||!s.shouldReject)&&(this._isPending=!1,n(l))},a=l=>{this._isPending=!1,i(l)},s=l=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(l)};Object.defineProperties(s,{shouldReject:{get:()=>this._rejectOnCancel,set:l=>{this._rejectOnCancel=l}}}),r(o,a,s)})}then(r,n){return this._promise.then(r,n)}catch(r){return this._promise.catch(r)}finally(r){return this._promise.finally(r)}cancel(r){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(let n of this._cancelHandlers)n()}catch(n){this._reject(n);return}this._rejectOnCancel&&this._reject(new rO(r))}}get isCanceled(){return this._isCanceled}};Object.setPrototypeOf(c9.prototype,Promise.prototype);function Xx1(t){return l1.object(t)&&"_onResponse"in t}var Je=class extends Error{constructor(r,n,i){if(super(r),Object.defineProperty(this,"input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=n.code??"ERR_GOT_REQUEST_ERROR",this.input=n.input,Xx1(i)?(Object.defineProperty(this,"request",{enumerable:!1,value:i}),Object.defineProperty(this,"response",{enumerable:!1,value:i.response}),this.options=i.options):this.options=i,this.timings=this.request?.timings,l1.string(n.stack)&&l1.string(this.stack)){let o=this.stack.indexOf(this.message)+this.message.length,a=this.stack.slice(o).split(`
|
|
84
84
|
`).reverse(),s=n.stack.slice(n.stack.indexOf(n.message)+n.message.length).split(`
|
|
85
85
|
`).reverse();for(;s.length>0&&s[0]===a[0];)a.shift();this.stack=`${this.stack.slice(0,o)}${a.reverse().join(`
|
|
86
86
|
`)}${s.reverse().join(`
|
package/cli.js
CHANGED
|
@@ -129,7 +129,7 @@ GFS4: `),console.error(t);});Ce[Ge]||(hA=global[Ge]||[],vA(Ce,hA),Ce.close=funct
|
|
|
129
129
|
`),l=o.length;for(l>0&&o.includes("unstyle")&&(o=[...new Set(["unstyle",...o])].reverse());l-- >0;)s=r(t.styles[o[l]],s,c);return s},i=(a,o,s)=>{t.styles[a]=e({name:a,codes:o}),(t.keys[s]||(t.keys[s]=[])).push(a),Reflect.defineProperty(t,a,{configurable:!0,enumerable:!0,set(l){t.alias(a,l);},get(){let l=u=>n(u,l.stack);return Reflect.setPrototypeOf(l,t),l.stack=this.stack?this.stack.concat(a):[a],l}});};return i("reset",[0,0],"modifier"),i("bold",[1,22],"modifier"),i("dim",[2,22],"modifier"),i("italic",[3,23],"modifier"),i("underline",[4,24],"modifier"),i("inverse",[7,27],"modifier"),i("hidden",[8,28],"modifier"),i("strikethrough",[9,29],"modifier"),i("black",[30,39],"color"),i("red",[31,39],"color"),i("green",[32,39],"color"),i("yellow",[33,39],"color"),i("blue",[34,39],"color"),i("magenta",[35,39],"color"),i("cyan",[36,39],"color"),i("white",[37,39],"color"),i("gray",[90,39],"color"),i("grey",[90,39],"color"),i("bgBlack",[40,49],"bg"),i("bgRed",[41,49],"bg"),i("bgGreen",[42,49],"bg"),i("bgYellow",[43,49],"bg"),i("bgBlue",[44,49],"bg"),i("bgMagenta",[45,49],"bg"),i("bgCyan",[46,49],"bg"),i("bgWhite",[47,49],"bg"),i("blackBright",[90,39],"bright"),i("redBright",[91,39],"bright"),i("greenBright",[92,39],"bright"),i("yellowBright",[93,39],"bright"),i("blueBright",[94,39],"bright"),i("magentaBright",[95,39],"bright"),i("cyanBright",[96,39],"bright"),i("whiteBright",[97,39],"bright"),i("bgBlackBright",[100,49],"bgBright"),i("bgRedBright",[101,49],"bgBright"),i("bgGreenBright",[102,49],"bgBright"),i("bgYellowBright",[103,49],"bgBright"),i("bgBlueBright",[104,49],"bgBright"),i("bgMagentaBright",[105,49],"bgBright"),i("bgCyanBright",[106,49],"bgBright"),i("bgWhiteBright",[107,49],"bgBright"),t.ansiRegex=CK,t.hasColor=t.hasAnsi=a=>(t.ansiRegex.lastIndex=0,typeof a=="string"&&a!==""&&t.ansiRegex.test(a)),t.alias=(a,o)=>{let s=typeof o=="string"?t[o]:o;if(typeof s!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");s.stack||(Reflect.defineProperty(s,"name",{value:a}),t.styles[a]=s,s.stack=[a]),Reflect.defineProperty(t,a,{configurable:!0,enumerable:!0,set(c){t.alias(a,c);},get(){let c=l=>n(l,c.stack);return Reflect.setPrototypeOf(c,t),c.stack=this.stack?this.stack.concat(s.stack):s.stack,c}});},t.theme=a=>{if(!RK(a))throw new TypeError("Expected theme to be an object");for(let o of Object.keys(a))t.alias(o,a[o]);return t},t.alias("unstyle",a=>typeof a=="string"&&a!==""?(t.ansiRegex.lastIndex=0,a.replace(t.ansiRegex,"")):""),t.alias("noop",a=>a),t.none=t.clear=t.noop,t.stripColor=t.unstyle,t.symbols=iP(),t.define=i,t};Cb.exports=aP();Cb.exports.create=aP;});var fP=v((gse,Ob)=>{var FK=S("tty"),BK=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||FK.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),Se=(t,e,r=t)=>n=>{let i=""+n,a=i.indexOf(e,t.length);return ~a?t+uP(i,e,r,a)+e:t+i+e},uP=(t,e,r,n)=>{let i=t.substring(0,n)+r,a=t.substring(n+e.length),o=a.indexOf(e);return ~o?i+uP(a,e,r,o):i+a},pP=(t=BK)=>({isColorSupported:t,reset:t?e=>`\x1B[0m${e}\x1B[0m`:String,bold:t?Se("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:t?Se("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:t?Se("\x1B[3m","\x1B[23m"):String,underline:t?Se("\x1B[4m","\x1B[24m"):String,inverse:t?Se("\x1B[7m","\x1B[27m"):String,hidden:t?Se("\x1B[8m","\x1B[28m"):String,strikethrough:t?Se("\x1B[9m","\x1B[29m"):String,black:t?Se("\x1B[30m","\x1B[39m"):String,red:t?Se("\x1B[31m","\x1B[39m"):String,green:t?Se("\x1B[32m","\x1B[39m"):String,yellow:t?Se("\x1B[33m","\x1B[39m"):String,blue:t?Se("\x1B[34m","\x1B[39m"):String,magenta:t?Se("\x1B[35m","\x1B[39m"):String,cyan:t?Se("\x1B[36m","\x1B[39m"):String,white:t?Se("\x1B[37m","\x1B[39m"):String,gray:t?Se("\x1B[90m","\x1B[39m"):String,bgBlack:t?Se("\x1B[40m","\x1B[49m"):String,bgRed:t?Se("\x1B[41m","\x1B[49m"):String,bgGreen:t?Se("\x1B[42m","\x1B[49m"):String,bgYellow:t?Se("\x1B[43m","\x1B[49m"):String,bgBlue:t?Se("\x1B[44m","\x1B[49m"):String,bgMagenta:t?Se("\x1B[45m","\x1B[49m"):String,bgCyan:t?Se("\x1B[46m","\x1B[49m"):String,bgWhite:t?Se("\x1B[47m","\x1B[49m"):String});Ob.exports=pP();Ob.exports.createColors=pP;});var hP=v((vse,mP)=>{var MK=S("tty"),zK=process.env.CI||process.env.WT_SESSION||process.env.ConEmuTask==="{cmd::Cmder}"||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty",dP=MK.isatty(1)&&process.env.TERM!=="dumb"&&!("CI"in process.env),Up=process.platform!=="win32"?process.env.TERM!=="linux":zK,$K={frames:dP?Up?["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]:["-","\\","|","/"]:["-"],tick:Up?"\u2714":"\u221A",cross:Up?"\u2716":"\xD7",warn:Up?"\u26A0":"!!"};mP.exports={isTTY:dP,symbols:$K};});var vP=v((bse,gP)=>{var Wp=fP(),{isTTY:sc,symbols:Hp}=hP(),{green:UK,red:HK,yellow:WK}=Wp;function GK(t="",e=80){return t.replace(/\u001b[^m]*?m/g,"").split(`
|
|
130
130
|
`).reduce((r,n)=>r+=Math.max(1,Math.ceil(n.length/e)),0)}function VK(t="",e={}){let r=0,n=e.interval||50,i=e.stream||process.stderr,a=e.frames&&e.frames.length?e.frames:Hp.frames,o=e.color||"yellow",s=0,c,l={reset(){r=0,s=0,c=clearTimeout(c);},clear(){l.write("\x1B[1G");for(let u=0;u<s;u++)u>0&&l.write("\x1B[1A"),l.write("\x1B[2K\x1B[1G");return s=0,l},write(u,p=!1){return p&&sc&&l.clear(),i.write(u),l},render(){let p=`${Wp[o](a[r])} ${t}`;sc?l.write("\x1B[?25l"):p+=`
|
|
131
131
|
`,l.write(p,!0),sc&&(s=GK(p,i.columns));},spin(){return l.render(),r=++r%a.length,l},update(u={}){return t=u.text||t,a=u.frames&&u.frames.length?u.frames:a,n=u.interval||n,o=u.color||o,a.length-1<r&&(r=0),l},loop(){return sc&&(c=setTimeout(()=>l.loop(),n)),l.spin()},start(u={}){return c&&l.reset(),l.update({text:u.text,color:u.color}).loop()},stop(u={}){c=clearTimeout(c);let p=Wp[u.color||o](a[r]),f=u.mark&&u.color?Wp[u.color](u.mark):u.mark;return l.write(`${f||p} ${u.text||t}
|
|
132
|
-
`,!0),sc?l.write("\x1B[?25h"):l},success(u={}){let p=UK(Hp.tick);return l.stop({mark:p,...u})},error(u={}){let p=HK(Hp.cross);return l.stop({mark:p,...u})},warn(u={}){let p=WK(Hp.warn);return l.stop({mark:p,...u})}};return l}gP.exports={createSpinner:VK};});var CP=v((Ase,RP)=>{RP.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};});var Pb=v((Pse,kP)=>{var lc=CP(),TP={};for(let t of Object.keys(lc))TP[lc[t]]=t;var U={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};kP.exports=U;for(let t of Object.keys(U)){if(!("channels"in U[t]))throw new Error("missing channels property: "+t);if(!("labels"in U[t]))throw new Error("missing channel labels property: "+t);if(U[t].labels.length!==U[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:e,labels:r}=U[t];delete U[t].channels,delete U[t].labels,Object.defineProperty(U[t],"channels",{value:e}),Object.defineProperty(U[t],"labels",{value:r});}U.rgb.hsl=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(e,r,n),a=Math.max(e,r,n),o=a-i,s,c;a===i?s=0:e===a?s=(r-n)/o:r===a?s=2+(n-e)/o:n===a&&(s=4+(e-r)/o),s=Math.min(s*60,360),s<0&&(s+=360);let l=(i+a)/2;return a===i?c=0:l<=.5?c=o/(a+i):c=o/(2-a-i),[s,c*100,l*100]};U.rgb.hsv=function(t){let e,r,n,i,a,o=t[0]/255,s=t[1]/255,c=t[2]/255,l=Math.max(o,s,c),u=l-Math.min(o,s,c),p=function(f){return (l-f)/6/u+1/2};return u===0?(i=0,a=0):(a=u/l,e=p(o),r=p(s),n=p(c),o===l?i=n-r:s===l?i=1/3+e-n:c===l&&(i=2/3+r-e),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,l*100]};U.rgb.hwb=function(t){let e=t[0],r=t[1],n=t[2],i=U.rgb.hsl(t)[0],a=1/255*Math.min(e,Math.min(r,n));return n=1-1/255*Math.max(e,Math.max(r,n)),[i,a*100,n*100]};U.rgb.cmyk=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(1-e,1-r,1-n),a=(1-e-i)/(1-i)||0,o=(1-r-i)/(1-i)||0,s=(1-n-i)/(1-i)||0;return [a*100,o*100,s*100,i*100]};function ZK(t,e){return (t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}U.rgb.keyword=function(t){let e=TP[t];if(e)return e;let r=1/0,n;for(let i of Object.keys(lc)){let a=lc[i],o=ZK(t,a);o<r&&(r=o,n=i);}return n};U.keyword.rgb=function(t){return lc[t]};U.rgb.xyz=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let i=e*.4124+r*.3576+n*.1805,a=e*.2126+r*.7152+n*.0722,o=e*.0193+r*.1192+n*.9505;return [i*100,a*100,o*100]};U.rgb.lab=function(t){let e=U.rgb.xyz(t),r=e[0],n=e[1],i=e[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let a=116*n-16,o=500*(r-n),s=200*(n-i);return [a,o,s]};U.hsl.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100,i,a,o;if(r===0)return o=n*255,[o,o,o];n<.5?i=n*(1+r):i=n+r-n*r;let s=2*n-i,c=[0,0,0];for(let l=0;l<3;l++)a=e+1/3*-(l-1),a<0&&a++,a>1&&a--,6*a<1?o=s+(i-s)*6*a:2*a<1?o=i:3*a<2?o=s+(i-s)*(2/3-a)*6:o=s,c[l]=o*255;return c};U.hsl.hsv=function(t){let e=t[0],r=t[1]/100,n=t[2]/100,i=r,a=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=a<=1?a:2-a;let o=(n+r)/2,s=n===0?2*i/(a+i):2*r/(n+r);return [e,s*100,o*100]};U.hsv.rgb=function(t){let e=t[0]/60,r=t[1]/100,n=t[2]/100,i=Math.floor(e)%6,a=e-Math.floor(e),o=255*n*(1-r),s=255*n*(1-r*a),c=255*n*(1-r*(1-a));switch(n*=255,i){case 0:return [n,c,o];case 1:return [s,n,o];case 2:return [o,n,c];case 3:return [o,s,n];case 4:return [c,o,n];case 5:return [n,o,s]}};U.hsv.hsl=function(t){let e=t[0],r=t[1]/100,n=t[2]/100,i=Math.max(n,.01),a,o;o=(2-r)*n;let s=(2-r)*i;return a=r*i,a/=s<=1?s:2-s,a=a||0,o/=2,[e,a*100,o*100]};U.hwb.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100,i=r+n,a;i>1&&(r/=i,n/=i);let o=Math.floor(6*e),s=1-n;a=6*e-o,o&1&&(a=1-a);let c=r+a*(s-r),l,u,p;switch(o){default:case 6:case 0:l=s,u=c,p=r;break;case 1:l=c,u=s,p=r;break;case 2:l=r,u=s,p=c;break;case 3:l=r,u=c,p=s;break;case 4:l=c,u=r,p=s;break;case 5:l=s,u=r,p=c;break}return [l*255,u*255,p*255]};U.cmyk.rgb=function(t){let e=t[0]/100,r=t[1]/100,n=t[2]/100,i=t[3]/100,a=1-Math.min(1,e*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),s=1-Math.min(1,n*(1-i)+i);return [a*255,o*255,s*255]};U.xyz.rgb=function(t){let e=t[0]/100,r=t[1]/100,n=t[2]/100,i,a,o;return i=e*3.2406+r*-1.5372+n*-.4986,a=e*-.9689+r*1.8758+n*.0415,o=e*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[i*255,a*255,o*255]};U.xyz.lab=function(t){let e=t[0],r=t[1],n=t[2];e/=95.047,r/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let i=116*r-16,a=500*(e-r),o=200*(r-n);return [i,a,o]};U.lab.xyz=function(t){let e=t[0],r=t[1],n=t[2],i,a,o;a=(e+16)/116,i=r/500+a,o=a-n/200;let s=a**3,c=i**3,l=o**3;return a=s>.008856?s:(a-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,a*=100,o*=108.883,[i,a,o]};U.lab.lch=function(t){let e=t[0],r=t[1],n=t[2],i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);let o=Math.sqrt(r*r+n*n);return [e,o,i]};U.lch.lab=function(t){let e=t[0],r=t[1],i=t[2]/360*2*Math.PI,a=r*Math.cos(i),o=r*Math.sin(i);return [e,a,o]};U.rgb.ansi16=function(t,e=null){let[r,n,i]=t,a=e===null?U.rgb.hsv(t)[2]:e;if(a=Math.round(a/50),a===0)return 30;let o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return a===2&&(o+=60),o};U.hsv.ansi16=function(t){return U.rgb.ansi16(U.hsv.rgb(t),t[2])};U.rgb.ansi256=function(t){let e=t[0],r=t[1],n=t[2];return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};U.ansi16.rgb=function(t){let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let r=(~~(t>50)+1)*.5,n=(e&1)*r*255,i=(e>>1&1)*r*255,a=(e>>2&1)*r*255;return [n,i,a]};U.ansi256.rgb=function(t){if(t>=232){let a=(t-232)*10+8;return [a,a,a]}t-=16;let e,r=Math.floor(t/36)/5*255,n=Math.floor((e=t%36)/6)/5*255,i=e%6/5*255;return [r,n,i]};U.rgb.hex=function(t){let r=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return "000000".substring(r.length)+r};U.hex.rgb=function(t){let e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return [0,0,0];let r=e[0];e[0].length===3&&(r=r.split("").map(s=>s+s).join(""));let n=parseInt(r,16),i=n>>16&255,a=n>>8&255,o=n&255;return [i,a,o]};U.rgb.hcg=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.max(Math.max(e,r),n),a=Math.min(Math.min(e,r),n),o=i-a,s,c;return o<1?s=a/(1-o):s=0,o<=0?c=0:i===e?c=(r-n)/o%6:i===r?c=2+(n-e)/o:c=4+(e-r)/o,c/=6,c%=1,[c*360,o*100,s*100]};U.hsl.hcg=function(t){let e=t[1]/100,r=t[2]/100,n=r<.5?2*e*r:2*e*(1-r),i=0;return n<1&&(i=(r-.5*n)/(1-n)),[t[0],n*100,i*100]};U.hsv.hcg=function(t){let e=t[1]/100,r=t[2]/100,n=e*r,i=0;return n<1&&(i=(r-n)/(1-n)),[t[0],n*100,i*100]};U.hcg.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100;if(r===0)return [n*255,n*255,n*255];let i=[0,0,0],a=e%1*6,o=a%1,s=1-o,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s;}return c=(1-r)*n,[(r*i[0]+c)*255,(r*i[1]+c)*255,(r*i[2]+c)*255]};U.hcg.hsv=function(t){let e=t[1]/100,r=t[2]/100,n=e+r*(1-e),i=0;return n>0&&(i=e/n),[t[0],i*100,n*100]};U.hcg.hsl=function(t){let e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],i*100,n*100]};U.hcg.hwb=function(t){let e=t[1]/100,r=t[2]/100,n=e+r*(1-e);return [t[0],(n-e)*100,(1-n)*100]};U.hwb.hcg=function(t){let e=t[1]/100,n=1-t[2]/100,i=n-e,a=0;return i<1&&(a=(n-i)/(1-i)),[t[0],i*100,a*100]};U.apple.rgb=function(t){return [t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};U.rgb.apple=function(t){return [t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};U.gray.rgb=function(t){return [t[0]/100*255,t[0]/100*255,t[0]/100*255]};U.gray.hsl=function(t){return [0,0,t[0]]};U.gray.hsv=U.gray.hsl;U.gray.hwb=function(t){return [0,100,t[0]]};U.gray.cmyk=function(t){return [0,0,0,t[0]]};U.gray.lab=function(t){return [t[0],0,0]};U.gray.hex=function(t){let e=Math.round(t[0]/100*255)&255,n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return "000000".substring(n.length)+n};U.rgb.gray=function(t){return [(t[0]+t[1]+t[2])/3/255*100]};});var AP=v((jse,OP)=>{var Vp=Pb();function eQ(){let t={},e=Object.keys(Vp);for(let r=e.length,n=0;n<r;n++)t[e[n]]={distance:-1,parent:null};return t}function tQ(t){let e=eQ(),r=[t];for(e[t].distance=0;r.length;){let n=r.pop(),i=Object.keys(Vp[n]);for(let a=i.length,o=0;o<a;o++){let s=i[o],c=e[s];c.distance===-1&&(c.distance=e[n].distance+1,c.parent=n,r.unshift(s));}}return e}function rQ(t,e){return function(r){return e(t(r))}}function nQ(t,e){let r=[e[t].parent,t],n=Vp[e[t].parent][t],i=e[t].parent;for(;e[i].parent;)r.unshift(e[i].parent),n=rQ(Vp[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}OP.exports=function(t){let e=tQ(t),r={},n=Object.keys(e);for(let i=n.length,a=0;a<i;a++){let o=n[a];e[o].parent!==null&&(r[o]=nQ(o,e));}return r};});var jP=v((qse,PP)=>{var jb=Pb(),iQ=AP(),Ra={},aQ=Object.keys(jb);function oQ(t){let e=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),t(r))};return "conversion"in t&&(e.conversion=t.conversion),e}function sQ(t){let e=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let i=t(r);if(typeof i=="object")for(let a=i.length,o=0;o<a;o++)i[o]=Math.round(i[o]);return i};return "conversion"in t&&(e.conversion=t.conversion),e}aQ.forEach(t=>{Ra[t]={},Object.defineProperty(Ra[t],"channels",{value:jb[t].channels}),Object.defineProperty(Ra[t],"labels",{value:jb[t].labels});let e=iQ(t);Object.keys(e).forEach(n=>{let i=e[n];Ra[t][n]=sQ(i),Ra[t][n].raw=oQ(i);});});PP.exports=Ra;});var t5={};af(t5,{default:()=>e5,portNumbers:()=>AQ});async function e5(t){let e,r=new Set;if(t&&(t.port&&(e=typeof t.port=="number"?[t.port]:t.port),t.exclude)){let i=t.exclude;if(typeof i[Symbol.iterator]!="function")throw new TypeError("The `exclude` option must be an iterable.");for(let a of i){if(typeof a!="number")throw new TypeError("Each item in the `exclude` option must be a number corresponding to the port you want excluded.");if(!Number.isSafeInteger(a))throw new TypeError(`Number ${a} in the exclude option is not a safe integer and can't be used`)}r=new Set(i);}ef===void 0&&(ef=setInterval(()=>{Ca.old=Ca.young,Ca.young=new Set;},TQ),ef.unref&&ef.unref());let n=kQ();for(let i of OQ(e))try{if(r.has(i))continue;let a=await ZP({...t,port:i},n);for(;Ca.old.has(a)||Ca.young.has(a);){if(i!==0)throw new tf(i);a=await ZP({...t,port:i},n);}return Ca.young.add(a),a}catch(a){if(!["EADDRINUSE","EACCES"].includes(a.code)&&!(a instanceof tf))throw a}throw new Error("No available ports found")}function AQ(t,e){if(!Number.isInteger(t)||!Number.isInteger(e))throw new TypeError("`from` and `to` must be integer numbers");if(t<Qp||t>Zp)throw new RangeError(`'from' must be between ${Qp} and ${Zp}`);if(e<Qp||e>Zp)throw new RangeError(`'to' must be between ${Qp} and ${Zp}`);if(t>e)throw new RangeError("`to` must be greater than or equal to `from`");return function*(n,i){for(let a=n;a<=i;a++)yield a;}(t,e)}var tf,Ca,TQ,Qp,Zp,ef,kQ,QP,ZP,OQ,r5=de(()=>{tf=class extends Error{constructor(e){super(`${e} is locked`);}},Ca={old:new Set,young:new Set},TQ=1e3*15,Qp=1024,Zp=65535,kQ=()=>{let t=HP__default.default.networkInterfaces(),e=new Set([void 0,"0.0.0.0"]);for(let r of Object.values(t))for(let n of r)e.add(n.address);return e},QP=t=>new Promise((e,r)=>{let n=RQ__default.default.createServer();n.unref(),n.on("error",r),n.listen(t,()=>{let{port:i}=n.address();n.close(()=>{e(i);});});}),ZP=async(t,e)=>{if(t.host||t.port===0)return QP(t);for(let r of e)try{await QP({port:t.port,host:r});}catch(n){if(!["EADDRNOTAVAIL","EINVAL"].includes(n.code))throw n}return t.port},OQ=function*(t){t&&(yield*t),yield 0;};});var rf=Oe(j_()),n5=Oe(rS()),i5=Oe(wS()),a5=Oe(kT());var Gu={name:"git-truck",version:"2.0.7",private:!1,description:"Visualizing a Git repository",license:"MIT",main:"./cli.js",bin:"./cli.js",files:["LICENSE","README.md","build/","public/","cli.js"],scripts:{test:"npm run test:e2e && npm run test:unit","test:unit":"jest --coverage","test:e2e":"npx playwright test","test:e2e:headed":"npx playwright test --headed","pretest:e2e":"npm run build","pretest:e2e:headed":"npm run build",build:"remix build && npm run build-cli","build-cli":"tsup --minify --treeshake --out-dir . ./src/cli.ts",dev:"remix dev",watch:"remix watch",start:"npm run build && node .",clean:"rimraf -rf build public/build .cache .temp",typecheck:"tsc","pub-pre":"npm version prerelease && npm publish --tag next","pub-exp":"node ./scripts/publish-experimental.js",prepublishOnly:"npm run clean && npm run build","format:write":"prettier --log-level warn --write src scripts e2e","lint:fix":"eslint --fix --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint src scripts e2e","check:write":"npm run format:write && npm run lint:fix",check:"npm run format:check && npm run lint","format:check":"prettier --check src scripts e2e",lint:"eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint src scripts e2e",prepare:"husky"},devDependencies:{"@mdi/js":"^7.3.67","@mdi/react":"^1.6.1","@playwright/test":"^1.50.1","@remix-run/dev":"2.2.0","@remix-run/eslint-config":"2.2.0","@remix-run/express":"^2.2.0","@remix-run/node":"2.2.0","@remix-run/react":"2.2.0","@remix-run/serve":"2.2.0","@styled-icons/material":"^10.47.0","@styled-icons/material-outlined":"^10.47.0","@styled-icons/octicons":"^10.47.0","@types/byte-size":"^8.1.1","@types/color-convert":"^2.0.2","@types/compression":"^1.7.5","@types/d3":"^7.4.3","@types/d3-hierarchy":"^3.1.5","@types/express":"^4.17.21","@types/jest":"^29.5.7","@types/morgan":"^1.9.9","@types/randomstring":"^1.1.11","@types/react":"^18.2.34","@types/react-detect-offline":"^2.4.5","@types/react-dom":"^18.2.14","@types/semver":"^7.5.4","@types/yargs":"^17.0.29","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.62.0","ansi-colors":"^4.1.3","apache-arrow":"^15.0.2",autoprefixer:"^10.4.16","byte-size":"^8.1.1",clsx:"^2.0.0","color-convert":"^2.0.1",compression:"^1.7.4","cross-env":"^7.0.3",d3:"^7.9.0","d3-hierarchy":"^3.1.2",dotenv:"^16.3.1",eslint:"^8.52.0","eslint-plugin-react":"^7.33.2",express:"^4.18.2","express-serve-static-core":"^0.1.1","get-port":"^6.1.2","gitignore-parser":"^0.0.2",husky:"^8.0.3",ignore:"^5.2.4","is-binary-path":"^2.1.0",jest:"^29.7.0","language-map":"^1.5.0","latest-version":"^7.0.0","lint-staged":"^15.0.2",morgan:"^1.10.0",nanospinner:"^1.1.0",open:"^8.4.2",postcss:"^8.4.31",prettier:"^3.4.2","prettier-plugin-tailwindcss":"^0.5.11",randomstring:"^1.3.0",react:"^18.2.0","react-colorful":"^5.6.1","react-compound-slider":"^3.4.0","react-datepicker":"^8.0.0","react-detect-offline":"^2.4.5","react-device-detect":"^2.2.3","react-dom":"^18.2.0","react-github-btn":"^1.4.0","react-konami-code":"^2.3.0","react-spinners":"^0.13.8","react-tiny-popover":"^8.0.4","react-use":"^17.4.0","react-use-size":"^3.0.2","remix-typedjson":"^0.3.1",rimraf:"^5.0.5",semver:"^7.5.4","tailwind-merge":"^2.2.1",tailwindcss:"^3.4.1","tiny-invariant":"^1.3.1","ts-jest":"^29.1.1",tsup:"^7.2.0",typescript:"^5.2.2",uniqolor:"^1.1.0",yargs:"^17.7.2"},jest:{preset:"ts-jest",testEnvironment:"node",setupFiles:["dotenv/config"],roots:["<rootDir>/src/"]},prettier:{semi:!1,printWidth:120,trailingComma:"none",plugins:["prettier-plugin-tailwindcss"]},"lint-staged":{"{src,scripts}/**/*.{ts,tsx,js,mjs}":["eslint --cache --fix","prettier --write"]},engines:{node:">=18.0.0"},repository:{type:"git",url:"git+https://github.com/git-truck/git-truck.git"},bugs:{url:"https://github.com/git-truck/git-truck/issues"},homepage:"https://github.com/git-truck/git-truck#readme",dependencies:{"@duckdb/node-api":"^1.1.3-alpha.11"}};var o5=Oe($T());var UT=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function b7(t){return UT.includes(t)}var y7=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","WeakRef","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement","NaN",...UT];function x7(t){return y7.includes(t)}var w7=["null","undefined","string","number","bigint","boolean","symbol"];function E7(t){return w7.includes(t)}function aa(t){return e=>typeof e===t}var{toString:_7}=Object.prototype,ws=t=>{let e=_7.call(t).slice(8,-1);if(/HTML\w+Element/.test(e)&&b.domElement(t))return "HTMLElement";if(x7(e))return e},ge=t=>e=>ws(e)===t;function b(t){if(t===null)return "null";switch(typeof t){case"undefined":return "undefined";case"string":return "string";case"number":return Number.isNaN(t)?"NaN":"number";case"boolean":return "boolean";case"function":return "Function";case"bigint":return "bigint";case"symbol":return "symbol";}if(b.observable(t))return "Observable";if(b.array(t))return "Array";if(b.buffer(t))return "Buffer";let e=ws(t);if(e)return e;if(t instanceof String||t instanceof Boolean||t instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return "Object"}b.undefined=aa("undefined");b.string=aa("string");var S7=aa("number");b.number=t=>S7(t)&&!b.nan(t);b.bigint=aa("bigint");b.function_=aa("function");b.null_=t=>t===null;b.class_=t=>b.function_(t)&&t.toString().startsWith("class ");b.boolean=t=>t===!0||t===!1;b.symbol=aa("symbol");b.numericString=t=>b.string(t)&&!b.emptyStringOrWhitespace(t)&&!Number.isNaN(Number(t));b.array=(t,e)=>Array.isArray(t)?b.function_(e)?t.every(r=>e(r)):!0:!1;b.buffer=t=>{var e,r,n;return (n=(r=(e=t==null?void 0:t.constructor)==null?void 0:e.isBuffer)==null?void 0:r.call(e,t))!=null?n:!1};b.blob=t=>ge("Blob")(t);b.nullOrUndefined=t=>b.null_(t)||b.undefined(t);b.object=t=>!b.null_(t)&&(typeof t=="object"||b.function_(t));b.iterable=t=>b.function_(t==null?void 0:t[Symbol.iterator]);b.asyncIterable=t=>b.function_(t==null?void 0:t[Symbol.asyncIterator]);b.generator=t=>b.iterable(t)&&b.function_(t==null?void 0:t.next)&&b.function_(t==null?void 0:t.throw);b.asyncGenerator=t=>b.asyncIterable(t)&&b.function_(t.next)&&b.function_(t.throw);b.nativePromise=t=>ge("Promise")(t);var R7=t=>b.function_(t==null?void 0:t.then)&&b.function_(t==null?void 0:t.catch);b.promise=t=>b.nativePromise(t)||R7(t);b.generatorFunction=ge("GeneratorFunction");b.asyncGeneratorFunction=t=>ws(t)==="AsyncGeneratorFunction";b.asyncFunction=t=>ws(t)==="AsyncFunction";b.boundFunction=t=>b.function_(t)&&!t.hasOwnProperty("prototype");b.regExp=ge("RegExp");b.date=ge("Date");b.error=ge("Error");b.map=t=>ge("Map")(t);b.set=t=>ge("Set")(t);b.weakMap=t=>ge("WeakMap")(t);b.weakSet=t=>ge("WeakSet")(t);b.weakRef=t=>ge("WeakRef")(t);b.int8Array=ge("Int8Array");b.uint8Array=ge("Uint8Array");b.uint8ClampedArray=ge("Uint8ClampedArray");b.int16Array=ge("Int16Array");b.uint16Array=ge("Uint16Array");b.int32Array=ge("Int32Array");b.uint32Array=ge("Uint32Array");b.float32Array=ge("Float32Array");b.float64Array=ge("Float64Array");b.bigInt64Array=ge("BigInt64Array");b.bigUint64Array=ge("BigUint64Array");b.arrayBuffer=ge("ArrayBuffer");b.sharedArrayBuffer=ge("SharedArrayBuffer");b.dataView=ge("DataView");b.enumCase=(t,e)=>Object.values(e).includes(t);b.directInstanceOf=(t,e)=>Object.getPrototypeOf(t)===e.prototype;b.urlInstance=t=>ge("URL")(t);b.urlString=t=>{if(!b.string(t))return !1;try{return new URL(t),!0}catch{return !1}};b.truthy=t=>!!t;b.falsy=t=>!t;b.nan=t=>Number.isNaN(t);b.primitive=t=>b.null_(t)||E7(typeof t);b.integer=t=>Number.isInteger(t);b.safeInteger=t=>Number.isSafeInteger(t);b.plainObject=t=>{if(typeof t!="object"||t===null)return !1;let e=Object.getPrototypeOf(t);return (e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)};b.typedArray=t=>b7(ws(t));var C7=t=>b.safeInteger(t)&&t>=0;b.arrayLike=t=>!b.nullOrUndefined(t)&&!b.function_(t)&&C7(t.length);b.inRange=(t,e)=>{if(b.number(e))return t>=Math.min(0,e)&&t<=Math.max(e,0);if(b.array(e)&&e.length===2)return t>=Math.min(...e)&&t<=Math.max(...e);throw new TypeError(`Invalid range: ${JSON.stringify(e)}`)};var T7=1,k7=["innerHTML","ownerDocument","style","attributes","nodeValue"];b.domElement=t=>b.object(t)&&t.nodeType===T7&&b.string(t.nodeName)&&!b.plainObject(t)&&k7.every(e=>e in t);b.observable=t=>{var e,r;return t?t===((e=t[Symbol.observable])==null?void 0:e.call(t))||t===((r=t["@@observable"])==null?void 0:r.call(t)):!1};b.nodeStream=t=>b.object(t)&&b.function_(t.pipe)&&!b.observable(t);b.infinite=t=>t===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY;var HT=t=>e=>b.integer(e)&&Math.abs(e%2)===t;b.evenInteger=HT(0);b.oddInteger=HT(1);b.emptyArray=t=>b.array(t)&&t.length===0;b.nonEmptyArray=t=>b.array(t)&&t.length>0;b.emptyString=t=>b.string(t)&&t.length===0;var O7=t=>b.string(t)&&!/\S/.test(t);b.emptyStringOrWhitespace=t=>b.emptyString(t)||O7(t);b.nonEmptyString=t=>b.string(t)&&t.length>0;b.nonEmptyStringAndNotWhitespace=t=>b.string(t)&&!b.emptyStringOrWhitespace(t);b.emptyObject=t=>b.object(t)&&!b.map(t)&&!b.set(t)&&Object.keys(t).length===0;b.nonEmptyObject=t=>b.object(t)&&!b.map(t)&&!b.set(t)&&Object.keys(t).length>0;b.emptySet=t=>b.set(t)&&t.size===0;b.nonEmptySet=t=>b.set(t)&&t.size>0;b.emptyMap=t=>b.map(t)&&t.size===0;b.nonEmptyMap=t=>b.map(t)&&t.size>0;b.propertyKey=t=>b.any([b.string,b.number,b.symbol],t);b.formData=t=>ge("FormData")(t);b.urlSearchParams=t=>ge("URLSearchParams")(t);var WT=(t,e,r)=>{if(!b.function_(e))throw new TypeError(`Invalid predicate: ${JSON.stringify(e)}`);if(r.length===0)throw new TypeError("Invalid number of values");return t.call(r,e)};b.any=(t,...e)=>(b.array(t)?t:[t]).some(n=>WT(Array.prototype.some,n,e));b.all=(t,...e)=>WT(Array.prototype.every,t,e);var I=(t,e,r,n={})=>{if(!t){let{multipleValues:i}=n,a=i?`received values of types ${[...new Set(r.map(o=>`\`${b(o)}\``))].join(", ")}`:`received value of type \`${b(r)}\``;throw new TypeError(`Expected value which is \`${e}\`, ${a}.`)}},q={undefined:t=>I(b.undefined(t),"undefined",t),string:t=>I(b.string(t),"string",t),number:t=>I(b.number(t),"number",t),bigint:t=>I(b.bigint(t),"bigint",t),function_:t=>I(b.function_(t),"Function",t),null_:t=>I(b.null_(t),"null",t),class_:t=>I(b.class_(t),"Class",t),boolean:t=>I(b.boolean(t),"boolean",t),symbol:t=>I(b.symbol(t),"symbol",t),numericString:t=>I(b.numericString(t),"string with a number",t),array:(t,e)=>{I(b.array(t),"Array",t),e&&t.forEach(e);},buffer:t=>I(b.buffer(t),"Buffer",t),blob:t=>I(b.blob(t),"Blob",t),nullOrUndefined:t=>I(b.nullOrUndefined(t),"null or undefined",t),object:t=>I(b.object(t),"Object",t),iterable:t=>I(b.iterable(t),"Iterable",t),asyncIterable:t=>I(b.asyncIterable(t),"AsyncIterable",t),generator:t=>I(b.generator(t),"Generator",t),asyncGenerator:t=>I(b.asyncGenerator(t),"AsyncGenerator",t),nativePromise:t=>I(b.nativePromise(t),"native Promise",t),promise:t=>I(b.promise(t),"Promise",t),generatorFunction:t=>I(b.generatorFunction(t),"GeneratorFunction",t),asyncGeneratorFunction:t=>I(b.asyncGeneratorFunction(t),"AsyncGeneratorFunction",t),asyncFunction:t=>I(b.asyncFunction(t),"AsyncFunction",t),boundFunction:t=>I(b.boundFunction(t),"Function",t),regExp:t=>I(b.regExp(t),"RegExp",t),date:t=>I(b.date(t),"Date",t),error:t=>I(b.error(t),"Error",t),map:t=>I(b.map(t),"Map",t),set:t=>I(b.set(t),"Set",t),weakMap:t=>I(b.weakMap(t),"WeakMap",t),weakSet:t=>I(b.weakSet(t),"WeakSet",t),weakRef:t=>I(b.weakRef(t),"WeakRef",t),int8Array:t=>I(b.int8Array(t),"Int8Array",t),uint8Array:t=>I(b.uint8Array(t),"Uint8Array",t),uint8ClampedArray:t=>I(b.uint8ClampedArray(t),"Uint8ClampedArray",t),int16Array:t=>I(b.int16Array(t),"Int16Array",t),uint16Array:t=>I(b.uint16Array(t),"Uint16Array",t),int32Array:t=>I(b.int32Array(t),"Int32Array",t),uint32Array:t=>I(b.uint32Array(t),"Uint32Array",t),float32Array:t=>I(b.float32Array(t),"Float32Array",t),float64Array:t=>I(b.float64Array(t),"Float64Array",t),bigInt64Array:t=>I(b.bigInt64Array(t),"BigInt64Array",t),bigUint64Array:t=>I(b.bigUint64Array(t),"BigUint64Array",t),arrayBuffer:t=>I(b.arrayBuffer(t),"ArrayBuffer",t),sharedArrayBuffer:t=>I(b.sharedArrayBuffer(t),"SharedArrayBuffer",t),dataView:t=>I(b.dataView(t),"DataView",t),enumCase:(t,e)=>I(b.enumCase(t,e),"EnumCase",t),urlInstance:t=>I(b.urlInstance(t),"URL",t),urlString:t=>I(b.urlString(t),"string with a URL",t),truthy:t=>I(b.truthy(t),"truthy",t),falsy:t=>I(b.falsy(t),"falsy",t),nan:t=>I(b.nan(t),"NaN",t),primitive:t=>I(b.primitive(t),"primitive",t),integer:t=>I(b.integer(t),"integer",t),safeInteger:t=>I(b.safeInteger(t),"integer",t),plainObject:t=>I(b.plainObject(t),"plain object",t),typedArray:t=>I(b.typedArray(t),"TypedArray",t),arrayLike:t=>I(b.arrayLike(t),"array-like",t),domElement:t=>I(b.domElement(t),"HTMLElement",t),observable:t=>I(b.observable(t),"Observable",t),nodeStream:t=>I(b.nodeStream(t),"Node.js Stream",t),infinite:t=>I(b.infinite(t),"infinite number",t),emptyArray:t=>I(b.emptyArray(t),"empty array",t),nonEmptyArray:t=>I(b.nonEmptyArray(t),"non-empty array",t),emptyString:t=>I(b.emptyString(t),"empty string",t),emptyStringOrWhitespace:t=>I(b.emptyStringOrWhitespace(t),"empty string or whitespace",t),nonEmptyString:t=>I(b.nonEmptyString(t),"non-empty string",t),nonEmptyStringAndNotWhitespace:t=>I(b.nonEmptyStringAndNotWhitespace(t),"non-empty string and not whitespace",t),emptyObject:t=>I(b.emptyObject(t),"empty object",t),nonEmptyObject:t=>I(b.nonEmptyObject(t),"non-empty object",t),emptySet:t=>I(b.emptySet(t),"empty set",t),nonEmptySet:t=>I(b.nonEmptySet(t),"non-empty set",t),emptyMap:t=>I(b.emptyMap(t),"empty map",t),nonEmptyMap:t=>I(b.nonEmptyMap(t),"non-empty map",t),propertyKey:t=>I(b.propertyKey(t),"PropertyKey",t),formData:t=>I(b.formData(t),"FormData",t),urlSearchParams:t=>I(b.urlSearchParams(t),"URLSearchParams",t),evenInteger:t=>I(b.evenInteger(t),"even integer",t),oddInteger:t=>I(b.oddInteger(t),"odd integer",t),directInstanceOf:(t,e)=>I(b.directInstanceOf(t,e),"T",t),inRange:(t,e)=>I(b.inRange(t,e),"in range",t),any:(t,...e)=>I(b.any(t,...e),"predicate returns truthy for any value",e,{multipleValues:!0}),all:(t,...e)=>I(b.all(t,...e),"predicate returns truthy for all values",e,{multipleValues:!0})};Object.defineProperties(b,{class:{value:b.class_},function:{value:b.function_},null:{value:b.null_}});Object.defineProperties(q,{class:{value:q.class_},function:{value:q.function_},null:{value:q.null_}});var w=b;var Bg=class extends Error{constructor(e){super(e||"Promise was canceled"),this.name="CancelError";}get isCanceled(){return !0}},oa=class t{static fn(e){return (...r)=>new t((n,i,a)=>{r.push(a),e(...r).then(n,i);})}constructor(e){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((r,n)=>{this._reject=n;let i=s=>{(!this._isCanceled||!o.shouldReject)&&(this._isPending=!1,r(s));},a=s=>{this._isPending=!1,n(s);},o=s=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(s);};Object.defineProperties(o,{shouldReject:{get:()=>this._rejectOnCancel,set:s=>{this._rejectOnCancel=s;}}}),e(i,a,o);});}then(e,r){return this._promise.then(e,r)}catch(e){return this._promise.catch(e)}finally(e){return this._promise.finally(e)}cancel(e){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(let r of this._cancelHandlers)r();}catch(r){this._reject(r);return}this._rejectOnCancel&&this._reject(new Bg(e));}}get isCanceled(){return this._isCanceled}};Object.setPrototypeOf(oa.prototype,Promise.prototype);function A7(t){return w.object(t)&&"_onResponse"in t}var _e=class extends Error{constructor(e,r,n){var i,a;if(super(e),Object.defineProperty(this,"input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=(i=r.code)!=null?i:"ERR_GOT_REQUEST_ERROR",this.input=r.input,A7(n)?(Object.defineProperty(this,"request",{enumerable:!1,value:n}),Object.defineProperty(this,"response",{enumerable:!1,value:n.response}),this.options=n.options):this.options=n,this.timings=(a=this.request)==null?void 0:a.timings,w.string(r.stack)&&w.string(this.stack)){let o=this.stack.indexOf(this.message)+this.message.length,s=this.stack.slice(o).split(`
|
|
132
|
+
`,!0),sc?l.write("\x1B[?25h"):l},success(u={}){let p=UK(Hp.tick);return l.stop({mark:p,...u})},error(u={}){let p=HK(Hp.cross);return l.stop({mark:p,...u})},warn(u={}){let p=WK(Hp.warn);return l.stop({mark:p,...u})}};return l}gP.exports={createSpinner:VK};});var CP=v((Ase,RP)=>{RP.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};});var Pb=v((Pse,kP)=>{var lc=CP(),TP={};for(let t of Object.keys(lc))TP[lc[t]]=t;var U={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};kP.exports=U;for(let t of Object.keys(U)){if(!("channels"in U[t]))throw new Error("missing channels property: "+t);if(!("labels"in U[t]))throw new Error("missing channel labels property: "+t);if(U[t].labels.length!==U[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:e,labels:r}=U[t];delete U[t].channels,delete U[t].labels,Object.defineProperty(U[t],"channels",{value:e}),Object.defineProperty(U[t],"labels",{value:r});}U.rgb.hsl=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(e,r,n),a=Math.max(e,r,n),o=a-i,s,c;a===i?s=0:e===a?s=(r-n)/o:r===a?s=2+(n-e)/o:n===a&&(s=4+(e-r)/o),s=Math.min(s*60,360),s<0&&(s+=360);let l=(i+a)/2;return a===i?c=0:l<=.5?c=o/(a+i):c=o/(2-a-i),[s,c*100,l*100]};U.rgb.hsv=function(t){let e,r,n,i,a,o=t[0]/255,s=t[1]/255,c=t[2]/255,l=Math.max(o,s,c),u=l-Math.min(o,s,c),p=function(f){return (l-f)/6/u+1/2};return u===0?(i=0,a=0):(a=u/l,e=p(o),r=p(s),n=p(c),o===l?i=n-r:s===l?i=1/3+e-n:c===l&&(i=2/3+r-e),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,l*100]};U.rgb.hwb=function(t){let e=t[0],r=t[1],n=t[2],i=U.rgb.hsl(t)[0],a=1/255*Math.min(e,Math.min(r,n));return n=1-1/255*Math.max(e,Math.max(r,n)),[i,a*100,n*100]};U.rgb.cmyk=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(1-e,1-r,1-n),a=(1-e-i)/(1-i)||0,o=(1-r-i)/(1-i)||0,s=(1-n-i)/(1-i)||0;return [a*100,o*100,s*100,i*100]};function ZK(t,e){return (t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}U.rgb.keyword=function(t){let e=TP[t];if(e)return e;let r=1/0,n;for(let i of Object.keys(lc)){let a=lc[i],o=ZK(t,a);o<r&&(r=o,n=i);}return n};U.keyword.rgb=function(t){return lc[t]};U.rgb.xyz=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let i=e*.4124+r*.3576+n*.1805,a=e*.2126+r*.7152+n*.0722,o=e*.0193+r*.1192+n*.9505;return [i*100,a*100,o*100]};U.rgb.lab=function(t){let e=U.rgb.xyz(t),r=e[0],n=e[1],i=e[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let a=116*n-16,o=500*(r-n),s=200*(n-i);return [a,o,s]};U.hsl.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100,i,a,o;if(r===0)return o=n*255,[o,o,o];n<.5?i=n*(1+r):i=n+r-n*r;let s=2*n-i,c=[0,0,0];for(let l=0;l<3;l++)a=e+1/3*-(l-1),a<0&&a++,a>1&&a--,6*a<1?o=s+(i-s)*6*a:2*a<1?o=i:3*a<2?o=s+(i-s)*(2/3-a)*6:o=s,c[l]=o*255;return c};U.hsl.hsv=function(t){let e=t[0],r=t[1]/100,n=t[2]/100,i=r,a=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=a<=1?a:2-a;let o=(n+r)/2,s=n===0?2*i/(a+i):2*r/(n+r);return [e,s*100,o*100]};U.hsv.rgb=function(t){let e=t[0]/60,r=t[1]/100,n=t[2]/100,i=Math.floor(e)%6,a=e-Math.floor(e),o=255*n*(1-r),s=255*n*(1-r*a),c=255*n*(1-r*(1-a));switch(n*=255,i){case 0:return [n,c,o];case 1:return [s,n,o];case 2:return [o,n,c];case 3:return [o,s,n];case 4:return [c,o,n];case 5:return [n,o,s]}};U.hsv.hsl=function(t){let e=t[0],r=t[1]/100,n=t[2]/100,i=Math.max(n,.01),a,o;o=(2-r)*n;let s=(2-r)*i;return a=r*i,a/=s<=1?s:2-s,a=a||0,o/=2,[e,a*100,o*100]};U.hwb.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100,i=r+n,a;i>1&&(r/=i,n/=i);let o=Math.floor(6*e),s=1-n;a=6*e-o,o&1&&(a=1-a);let c=r+a*(s-r),l,u,p;switch(o){default:case 6:case 0:l=s,u=c,p=r;break;case 1:l=c,u=s,p=r;break;case 2:l=r,u=s,p=c;break;case 3:l=r,u=c,p=s;break;case 4:l=c,u=r,p=s;break;case 5:l=s,u=r,p=c;break}return [l*255,u*255,p*255]};U.cmyk.rgb=function(t){let e=t[0]/100,r=t[1]/100,n=t[2]/100,i=t[3]/100,a=1-Math.min(1,e*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),s=1-Math.min(1,n*(1-i)+i);return [a*255,o*255,s*255]};U.xyz.rgb=function(t){let e=t[0]/100,r=t[1]/100,n=t[2]/100,i,a,o;return i=e*3.2406+r*-1.5372+n*-.4986,a=e*-.9689+r*1.8758+n*.0415,o=e*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[i*255,a*255,o*255]};U.xyz.lab=function(t){let e=t[0],r=t[1],n=t[2];e/=95.047,r/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let i=116*r-16,a=500*(e-r),o=200*(r-n);return [i,a,o]};U.lab.xyz=function(t){let e=t[0],r=t[1],n=t[2],i,a,o;a=(e+16)/116,i=r/500+a,o=a-n/200;let s=a**3,c=i**3,l=o**3;return a=s>.008856?s:(a-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,a*=100,o*=108.883,[i,a,o]};U.lab.lch=function(t){let e=t[0],r=t[1],n=t[2],i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);let o=Math.sqrt(r*r+n*n);return [e,o,i]};U.lch.lab=function(t){let e=t[0],r=t[1],i=t[2]/360*2*Math.PI,a=r*Math.cos(i),o=r*Math.sin(i);return [e,a,o]};U.rgb.ansi16=function(t,e=null){let[r,n,i]=t,a=e===null?U.rgb.hsv(t)[2]:e;if(a=Math.round(a/50),a===0)return 30;let o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return a===2&&(o+=60),o};U.hsv.ansi16=function(t){return U.rgb.ansi16(U.hsv.rgb(t),t[2])};U.rgb.ansi256=function(t){let e=t[0],r=t[1],n=t[2];return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};U.ansi16.rgb=function(t){let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let r=(~~(t>50)+1)*.5,n=(e&1)*r*255,i=(e>>1&1)*r*255,a=(e>>2&1)*r*255;return [n,i,a]};U.ansi256.rgb=function(t){if(t>=232){let a=(t-232)*10+8;return [a,a,a]}t-=16;let e,r=Math.floor(t/36)/5*255,n=Math.floor((e=t%36)/6)/5*255,i=e%6/5*255;return [r,n,i]};U.rgb.hex=function(t){let r=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return "000000".substring(r.length)+r};U.hex.rgb=function(t){let e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return [0,0,0];let r=e[0];e[0].length===3&&(r=r.split("").map(s=>s+s).join(""));let n=parseInt(r,16),i=n>>16&255,a=n>>8&255,o=n&255;return [i,a,o]};U.rgb.hcg=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.max(Math.max(e,r),n),a=Math.min(Math.min(e,r),n),o=i-a,s,c;return o<1?s=a/(1-o):s=0,o<=0?c=0:i===e?c=(r-n)/o%6:i===r?c=2+(n-e)/o:c=4+(e-r)/o,c/=6,c%=1,[c*360,o*100,s*100]};U.hsl.hcg=function(t){let e=t[1]/100,r=t[2]/100,n=r<.5?2*e*r:2*e*(1-r),i=0;return n<1&&(i=(r-.5*n)/(1-n)),[t[0],n*100,i*100]};U.hsv.hcg=function(t){let e=t[1]/100,r=t[2]/100,n=e*r,i=0;return n<1&&(i=(r-n)/(1-n)),[t[0],n*100,i*100]};U.hcg.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100;if(r===0)return [n*255,n*255,n*255];let i=[0,0,0],a=e%1*6,o=a%1,s=1-o,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s;}return c=(1-r)*n,[(r*i[0]+c)*255,(r*i[1]+c)*255,(r*i[2]+c)*255]};U.hcg.hsv=function(t){let e=t[1]/100,r=t[2]/100,n=e+r*(1-e),i=0;return n>0&&(i=e/n),[t[0],i*100,n*100]};U.hcg.hsl=function(t){let e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],i*100,n*100]};U.hcg.hwb=function(t){let e=t[1]/100,r=t[2]/100,n=e+r*(1-e);return [t[0],(n-e)*100,(1-n)*100]};U.hwb.hcg=function(t){let e=t[1]/100,n=1-t[2]/100,i=n-e,a=0;return i<1&&(a=(n-i)/(1-i)),[t[0],i*100,a*100]};U.apple.rgb=function(t){return [t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};U.rgb.apple=function(t){return [t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};U.gray.rgb=function(t){return [t[0]/100*255,t[0]/100*255,t[0]/100*255]};U.gray.hsl=function(t){return [0,0,t[0]]};U.gray.hsv=U.gray.hsl;U.gray.hwb=function(t){return [0,100,t[0]]};U.gray.cmyk=function(t){return [0,0,0,t[0]]};U.gray.lab=function(t){return [t[0],0,0]};U.gray.hex=function(t){let e=Math.round(t[0]/100*255)&255,n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return "000000".substring(n.length)+n};U.rgb.gray=function(t){return [(t[0]+t[1]+t[2])/3/255*100]};});var AP=v((jse,OP)=>{var Vp=Pb();function eQ(){let t={},e=Object.keys(Vp);for(let r=e.length,n=0;n<r;n++)t[e[n]]={distance:-1,parent:null};return t}function tQ(t){let e=eQ(),r=[t];for(e[t].distance=0;r.length;){let n=r.pop(),i=Object.keys(Vp[n]);for(let a=i.length,o=0;o<a;o++){let s=i[o],c=e[s];c.distance===-1&&(c.distance=e[n].distance+1,c.parent=n,r.unshift(s));}}return e}function rQ(t,e){return function(r){return e(t(r))}}function nQ(t,e){let r=[e[t].parent,t],n=Vp[e[t].parent][t],i=e[t].parent;for(;e[i].parent;)r.unshift(e[i].parent),n=rQ(Vp[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}OP.exports=function(t){let e=tQ(t),r={},n=Object.keys(e);for(let i=n.length,a=0;a<i;a++){let o=n[a];e[o].parent!==null&&(r[o]=nQ(o,e));}return r};});var jP=v((qse,PP)=>{var jb=Pb(),iQ=AP(),Ra={},aQ=Object.keys(jb);function oQ(t){let e=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),t(r))};return "conversion"in t&&(e.conversion=t.conversion),e}function sQ(t){let e=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let i=t(r);if(typeof i=="object")for(let a=i.length,o=0;o<a;o++)i[o]=Math.round(i[o]);return i};return "conversion"in t&&(e.conversion=t.conversion),e}aQ.forEach(t=>{Ra[t]={},Object.defineProperty(Ra[t],"channels",{value:jb[t].channels}),Object.defineProperty(Ra[t],"labels",{value:jb[t].labels});let e=iQ(t);Object.keys(e).forEach(n=>{let i=e[n];Ra[t][n]=sQ(i),Ra[t][n].raw=oQ(i);});});PP.exports=Ra;});var t5={};af(t5,{default:()=>e5,portNumbers:()=>AQ});async function e5(t){let e,r=new Set;if(t&&(t.port&&(e=typeof t.port=="number"?[t.port]:t.port),t.exclude)){let i=t.exclude;if(typeof i[Symbol.iterator]!="function")throw new TypeError("The `exclude` option must be an iterable.");for(let a of i){if(typeof a!="number")throw new TypeError("Each item in the `exclude` option must be a number corresponding to the port you want excluded.");if(!Number.isSafeInteger(a))throw new TypeError(`Number ${a} in the exclude option is not a safe integer and can't be used`)}r=new Set(i);}ef===void 0&&(ef=setInterval(()=>{Ca.old=Ca.young,Ca.young=new Set;},TQ),ef.unref&&ef.unref());let n=kQ();for(let i of OQ(e))try{if(r.has(i))continue;let a=await ZP({...t,port:i},n);for(;Ca.old.has(a)||Ca.young.has(a);){if(i!==0)throw new tf(i);a=await ZP({...t,port:i},n);}return Ca.young.add(a),a}catch(a){if(!["EADDRINUSE","EACCES"].includes(a.code)&&!(a instanceof tf))throw a}throw new Error("No available ports found")}function AQ(t,e){if(!Number.isInteger(t)||!Number.isInteger(e))throw new TypeError("`from` and `to` must be integer numbers");if(t<Qp||t>Zp)throw new RangeError(`'from' must be between ${Qp} and ${Zp}`);if(e<Qp||e>Zp)throw new RangeError(`'to' must be between ${Qp} and ${Zp}`);if(t>e)throw new RangeError("`to` must be greater than or equal to `from`");return function*(n,i){for(let a=n;a<=i;a++)yield a;}(t,e)}var tf,Ca,TQ,Qp,Zp,ef,kQ,QP,ZP,OQ,r5=de(()=>{tf=class extends Error{constructor(e){super(`${e} is locked`);}},Ca={old:new Set,young:new Set},TQ=1e3*15,Qp=1024,Zp=65535,kQ=()=>{let t=HP__default.default.networkInterfaces(),e=new Set([void 0,"0.0.0.0"]);for(let r of Object.values(t))for(let n of r)e.add(n.address);return e},QP=t=>new Promise((e,r)=>{let n=RQ__default.default.createServer();n.unref(),n.on("error",r),n.listen(t,()=>{let{port:i}=n.address();n.close(()=>{e(i);});});}),ZP=async(t,e)=>{if(t.host||t.port===0)return QP(t);for(let r of e)try{await QP({port:t.port,host:r});}catch(n){if(!["EADDRNOTAVAIL","EINVAL"].includes(n.code))throw n}return t.port},OQ=function*(t){t&&(yield*t),yield 0;};});var rf=Oe(j_()),n5=Oe(rS()),i5=Oe(wS()),a5=Oe(kT());var Gu={name:"git-truck",version:"2.0.8",private:!1,description:"Visualizing a Git repository",license:"MIT",main:"./cli.js",bin:"./cli.js",files:["LICENSE","README.md","build/","public/","cli.js"],scripts:{test:"npm run test:e2e && npm run test:unit","test:unit":"jest --coverage","test:e2e":"npx playwright test","test:e2e:headed":"npx playwright test --headed","pretest:e2e":"npm run build","pretest:e2e:headed":"npm run build",build:"remix build && npm run build-cli","build-cli":"tsup --minify --treeshake --out-dir . ./src/cli.ts",dev:"remix dev",watch:"remix watch",start:"npm run build && node .",clean:"rimraf -rf build public/build .cache .temp",typecheck:"tsc","pub-pre":"npm version prerelease && npm publish --tag next","pub-exp":"node ./scripts/publish-experimental.js",prepublishOnly:"npm run clean && npm run build","format:write":"prettier --log-level warn --write src scripts e2e","lint:fix":"eslint --fix --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint src scripts e2e","check:write":"npm run format:write && npm run lint:fix",check:"npm run format:check && npm run lint","format:check":"prettier --check src scripts e2e",lint:"eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint src scripts e2e",prepare:"husky"},devDependencies:{"@mdi/js":"^7.3.67","@mdi/react":"^1.6.1","@playwright/test":"^1.50.1","@remix-run/dev":"2.2.0","@remix-run/eslint-config":"2.2.0","@remix-run/express":"^2.2.0","@remix-run/node":"2.2.0","@remix-run/react":"2.2.0","@remix-run/serve":"2.2.0","@styled-icons/material":"^10.47.0","@styled-icons/material-outlined":"^10.47.0","@styled-icons/octicons":"^10.47.0","@types/byte-size":"^8.1.1","@types/color-convert":"^2.0.2","@types/compression":"^1.7.5","@types/d3":"^7.4.3","@types/d3-hierarchy":"^3.1.5","@types/express":"^4.17.21","@types/jest":"^29.5.7","@types/morgan":"^1.9.9","@types/randomstring":"^1.1.11","@types/react":"^18.2.34","@types/react-detect-offline":"^2.4.5","@types/react-dom":"^18.2.14","@types/semver":"^7.5.4","@types/yargs":"^17.0.29","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.62.0","ansi-colors":"^4.1.3","apache-arrow":"^15.0.2",autoprefixer:"^10.4.16","byte-size":"^8.1.1",clsx:"^2.0.0","color-convert":"^2.0.1",compression:"^1.7.4","cross-env":"^7.0.3",d3:"^7.9.0","d3-hierarchy":"^3.1.2",dotenv:"^16.3.1",eslint:"^8.52.0","eslint-plugin-react":"^7.33.2",express:"^4.18.2","express-serve-static-core":"^0.1.1","get-port":"^6.1.2","gitignore-parser":"^0.0.2",husky:"^8.0.3",ignore:"^5.2.4","is-binary-path":"^2.1.0",jest:"^29.7.0","language-map":"^1.5.0","latest-version":"^7.0.0","lint-staged":"^15.0.2",morgan:"^1.10.0",nanospinner:"^1.1.0",open:"^8.4.2",postcss:"^8.4.31",prettier:"^3.4.2","prettier-plugin-tailwindcss":"^0.5.11",randomstring:"^1.3.0",react:"^18.2.0","react-colorful":"^5.6.1","react-compound-slider":"^3.4.0","react-datepicker":"^8.0.0","react-detect-offline":"^2.4.5","react-device-detect":"^2.2.3","react-dom":"^18.2.0","react-github-btn":"^1.4.0","react-konami-code":"^2.3.0","react-spinners":"^0.13.8","react-tiny-popover":"^8.0.4","react-use":"^17.4.0","react-use-size":"^3.0.2","remix-typedjson":"^0.3.1",rimraf:"^5.0.5",semver:"^7.5.4","tailwind-merge":"^2.2.1",tailwindcss:"^3.4.1","tiny-invariant":"^1.3.1","ts-jest":"^29.1.1",tsup:"^7.2.0",typescript:"^5.2.2",uniqolor:"^1.1.0",yargs:"^17.7.2"},jest:{preset:"ts-jest",testEnvironment:"node",setupFiles:["dotenv/config"],roots:["<rootDir>/src/"]},prettier:{semi:!1,printWidth:120,trailingComma:"none",plugins:["prettier-plugin-tailwindcss"]},"lint-staged":{"{src,scripts}/**/*.{ts,tsx,js,mjs}":["eslint --cache --fix","prettier --write"]},engines:{node:">=18.0.0"},repository:{type:"git",url:"git+https://github.com/git-truck/git-truck.git"},bugs:{url:"https://github.com/git-truck/git-truck/issues"},homepage:"https://github.com/git-truck/git-truck#readme",dependencies:{"@duckdb/node-api":"^1.1.3-alpha.11"}};var o5=Oe($T());var UT=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function b7(t){return UT.includes(t)}var y7=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","WeakRef","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement","NaN",...UT];function x7(t){return y7.includes(t)}var w7=["null","undefined","string","number","bigint","boolean","symbol"];function E7(t){return w7.includes(t)}function aa(t){return e=>typeof e===t}var{toString:_7}=Object.prototype,ws=t=>{let e=_7.call(t).slice(8,-1);if(/HTML\w+Element/.test(e)&&b.domElement(t))return "HTMLElement";if(x7(e))return e},ge=t=>e=>ws(e)===t;function b(t){if(t===null)return "null";switch(typeof t){case"undefined":return "undefined";case"string":return "string";case"number":return Number.isNaN(t)?"NaN":"number";case"boolean":return "boolean";case"function":return "Function";case"bigint":return "bigint";case"symbol":return "symbol";}if(b.observable(t))return "Observable";if(b.array(t))return "Array";if(b.buffer(t))return "Buffer";let e=ws(t);if(e)return e;if(t instanceof String||t instanceof Boolean||t instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return "Object"}b.undefined=aa("undefined");b.string=aa("string");var S7=aa("number");b.number=t=>S7(t)&&!b.nan(t);b.bigint=aa("bigint");b.function_=aa("function");b.null_=t=>t===null;b.class_=t=>b.function_(t)&&t.toString().startsWith("class ");b.boolean=t=>t===!0||t===!1;b.symbol=aa("symbol");b.numericString=t=>b.string(t)&&!b.emptyStringOrWhitespace(t)&&!Number.isNaN(Number(t));b.array=(t,e)=>Array.isArray(t)?b.function_(e)?t.every(r=>e(r)):!0:!1;b.buffer=t=>{var e,r,n;return (n=(r=(e=t==null?void 0:t.constructor)==null?void 0:e.isBuffer)==null?void 0:r.call(e,t))!=null?n:!1};b.blob=t=>ge("Blob")(t);b.nullOrUndefined=t=>b.null_(t)||b.undefined(t);b.object=t=>!b.null_(t)&&(typeof t=="object"||b.function_(t));b.iterable=t=>b.function_(t==null?void 0:t[Symbol.iterator]);b.asyncIterable=t=>b.function_(t==null?void 0:t[Symbol.asyncIterator]);b.generator=t=>b.iterable(t)&&b.function_(t==null?void 0:t.next)&&b.function_(t==null?void 0:t.throw);b.asyncGenerator=t=>b.asyncIterable(t)&&b.function_(t.next)&&b.function_(t.throw);b.nativePromise=t=>ge("Promise")(t);var R7=t=>b.function_(t==null?void 0:t.then)&&b.function_(t==null?void 0:t.catch);b.promise=t=>b.nativePromise(t)||R7(t);b.generatorFunction=ge("GeneratorFunction");b.asyncGeneratorFunction=t=>ws(t)==="AsyncGeneratorFunction";b.asyncFunction=t=>ws(t)==="AsyncFunction";b.boundFunction=t=>b.function_(t)&&!t.hasOwnProperty("prototype");b.regExp=ge("RegExp");b.date=ge("Date");b.error=ge("Error");b.map=t=>ge("Map")(t);b.set=t=>ge("Set")(t);b.weakMap=t=>ge("WeakMap")(t);b.weakSet=t=>ge("WeakSet")(t);b.weakRef=t=>ge("WeakRef")(t);b.int8Array=ge("Int8Array");b.uint8Array=ge("Uint8Array");b.uint8ClampedArray=ge("Uint8ClampedArray");b.int16Array=ge("Int16Array");b.uint16Array=ge("Uint16Array");b.int32Array=ge("Int32Array");b.uint32Array=ge("Uint32Array");b.float32Array=ge("Float32Array");b.float64Array=ge("Float64Array");b.bigInt64Array=ge("BigInt64Array");b.bigUint64Array=ge("BigUint64Array");b.arrayBuffer=ge("ArrayBuffer");b.sharedArrayBuffer=ge("SharedArrayBuffer");b.dataView=ge("DataView");b.enumCase=(t,e)=>Object.values(e).includes(t);b.directInstanceOf=(t,e)=>Object.getPrototypeOf(t)===e.prototype;b.urlInstance=t=>ge("URL")(t);b.urlString=t=>{if(!b.string(t))return !1;try{return new URL(t),!0}catch{return !1}};b.truthy=t=>!!t;b.falsy=t=>!t;b.nan=t=>Number.isNaN(t);b.primitive=t=>b.null_(t)||E7(typeof t);b.integer=t=>Number.isInteger(t);b.safeInteger=t=>Number.isSafeInteger(t);b.plainObject=t=>{if(typeof t!="object"||t===null)return !1;let e=Object.getPrototypeOf(t);return (e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)};b.typedArray=t=>b7(ws(t));var C7=t=>b.safeInteger(t)&&t>=0;b.arrayLike=t=>!b.nullOrUndefined(t)&&!b.function_(t)&&C7(t.length);b.inRange=(t,e)=>{if(b.number(e))return t>=Math.min(0,e)&&t<=Math.max(e,0);if(b.array(e)&&e.length===2)return t>=Math.min(...e)&&t<=Math.max(...e);throw new TypeError(`Invalid range: ${JSON.stringify(e)}`)};var T7=1,k7=["innerHTML","ownerDocument","style","attributes","nodeValue"];b.domElement=t=>b.object(t)&&t.nodeType===T7&&b.string(t.nodeName)&&!b.plainObject(t)&&k7.every(e=>e in t);b.observable=t=>{var e,r;return t?t===((e=t[Symbol.observable])==null?void 0:e.call(t))||t===((r=t["@@observable"])==null?void 0:r.call(t)):!1};b.nodeStream=t=>b.object(t)&&b.function_(t.pipe)&&!b.observable(t);b.infinite=t=>t===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY;var HT=t=>e=>b.integer(e)&&Math.abs(e%2)===t;b.evenInteger=HT(0);b.oddInteger=HT(1);b.emptyArray=t=>b.array(t)&&t.length===0;b.nonEmptyArray=t=>b.array(t)&&t.length>0;b.emptyString=t=>b.string(t)&&t.length===0;var O7=t=>b.string(t)&&!/\S/.test(t);b.emptyStringOrWhitespace=t=>b.emptyString(t)||O7(t);b.nonEmptyString=t=>b.string(t)&&t.length>0;b.nonEmptyStringAndNotWhitespace=t=>b.string(t)&&!b.emptyStringOrWhitespace(t);b.emptyObject=t=>b.object(t)&&!b.map(t)&&!b.set(t)&&Object.keys(t).length===0;b.nonEmptyObject=t=>b.object(t)&&!b.map(t)&&!b.set(t)&&Object.keys(t).length>0;b.emptySet=t=>b.set(t)&&t.size===0;b.nonEmptySet=t=>b.set(t)&&t.size>0;b.emptyMap=t=>b.map(t)&&t.size===0;b.nonEmptyMap=t=>b.map(t)&&t.size>0;b.propertyKey=t=>b.any([b.string,b.number,b.symbol],t);b.formData=t=>ge("FormData")(t);b.urlSearchParams=t=>ge("URLSearchParams")(t);var WT=(t,e,r)=>{if(!b.function_(e))throw new TypeError(`Invalid predicate: ${JSON.stringify(e)}`);if(r.length===0)throw new TypeError("Invalid number of values");return t.call(r,e)};b.any=(t,...e)=>(b.array(t)?t:[t]).some(n=>WT(Array.prototype.some,n,e));b.all=(t,...e)=>WT(Array.prototype.every,t,e);var I=(t,e,r,n={})=>{if(!t){let{multipleValues:i}=n,a=i?`received values of types ${[...new Set(r.map(o=>`\`${b(o)}\``))].join(", ")}`:`received value of type \`${b(r)}\``;throw new TypeError(`Expected value which is \`${e}\`, ${a}.`)}},q={undefined:t=>I(b.undefined(t),"undefined",t),string:t=>I(b.string(t),"string",t),number:t=>I(b.number(t),"number",t),bigint:t=>I(b.bigint(t),"bigint",t),function_:t=>I(b.function_(t),"Function",t),null_:t=>I(b.null_(t),"null",t),class_:t=>I(b.class_(t),"Class",t),boolean:t=>I(b.boolean(t),"boolean",t),symbol:t=>I(b.symbol(t),"symbol",t),numericString:t=>I(b.numericString(t),"string with a number",t),array:(t,e)=>{I(b.array(t),"Array",t),e&&t.forEach(e);},buffer:t=>I(b.buffer(t),"Buffer",t),blob:t=>I(b.blob(t),"Blob",t),nullOrUndefined:t=>I(b.nullOrUndefined(t),"null or undefined",t),object:t=>I(b.object(t),"Object",t),iterable:t=>I(b.iterable(t),"Iterable",t),asyncIterable:t=>I(b.asyncIterable(t),"AsyncIterable",t),generator:t=>I(b.generator(t),"Generator",t),asyncGenerator:t=>I(b.asyncGenerator(t),"AsyncGenerator",t),nativePromise:t=>I(b.nativePromise(t),"native Promise",t),promise:t=>I(b.promise(t),"Promise",t),generatorFunction:t=>I(b.generatorFunction(t),"GeneratorFunction",t),asyncGeneratorFunction:t=>I(b.asyncGeneratorFunction(t),"AsyncGeneratorFunction",t),asyncFunction:t=>I(b.asyncFunction(t),"AsyncFunction",t),boundFunction:t=>I(b.boundFunction(t),"Function",t),regExp:t=>I(b.regExp(t),"RegExp",t),date:t=>I(b.date(t),"Date",t),error:t=>I(b.error(t),"Error",t),map:t=>I(b.map(t),"Map",t),set:t=>I(b.set(t),"Set",t),weakMap:t=>I(b.weakMap(t),"WeakMap",t),weakSet:t=>I(b.weakSet(t),"WeakSet",t),weakRef:t=>I(b.weakRef(t),"WeakRef",t),int8Array:t=>I(b.int8Array(t),"Int8Array",t),uint8Array:t=>I(b.uint8Array(t),"Uint8Array",t),uint8ClampedArray:t=>I(b.uint8ClampedArray(t),"Uint8ClampedArray",t),int16Array:t=>I(b.int16Array(t),"Int16Array",t),uint16Array:t=>I(b.uint16Array(t),"Uint16Array",t),int32Array:t=>I(b.int32Array(t),"Int32Array",t),uint32Array:t=>I(b.uint32Array(t),"Uint32Array",t),float32Array:t=>I(b.float32Array(t),"Float32Array",t),float64Array:t=>I(b.float64Array(t),"Float64Array",t),bigInt64Array:t=>I(b.bigInt64Array(t),"BigInt64Array",t),bigUint64Array:t=>I(b.bigUint64Array(t),"BigUint64Array",t),arrayBuffer:t=>I(b.arrayBuffer(t),"ArrayBuffer",t),sharedArrayBuffer:t=>I(b.sharedArrayBuffer(t),"SharedArrayBuffer",t),dataView:t=>I(b.dataView(t),"DataView",t),enumCase:(t,e)=>I(b.enumCase(t,e),"EnumCase",t),urlInstance:t=>I(b.urlInstance(t),"URL",t),urlString:t=>I(b.urlString(t),"string with a URL",t),truthy:t=>I(b.truthy(t),"truthy",t),falsy:t=>I(b.falsy(t),"falsy",t),nan:t=>I(b.nan(t),"NaN",t),primitive:t=>I(b.primitive(t),"primitive",t),integer:t=>I(b.integer(t),"integer",t),safeInteger:t=>I(b.safeInteger(t),"integer",t),plainObject:t=>I(b.plainObject(t),"plain object",t),typedArray:t=>I(b.typedArray(t),"TypedArray",t),arrayLike:t=>I(b.arrayLike(t),"array-like",t),domElement:t=>I(b.domElement(t),"HTMLElement",t),observable:t=>I(b.observable(t),"Observable",t),nodeStream:t=>I(b.nodeStream(t),"Node.js Stream",t),infinite:t=>I(b.infinite(t),"infinite number",t),emptyArray:t=>I(b.emptyArray(t),"empty array",t),nonEmptyArray:t=>I(b.nonEmptyArray(t),"non-empty array",t),emptyString:t=>I(b.emptyString(t),"empty string",t),emptyStringOrWhitespace:t=>I(b.emptyStringOrWhitespace(t),"empty string or whitespace",t),nonEmptyString:t=>I(b.nonEmptyString(t),"non-empty string",t),nonEmptyStringAndNotWhitespace:t=>I(b.nonEmptyStringAndNotWhitespace(t),"non-empty string and not whitespace",t),emptyObject:t=>I(b.emptyObject(t),"empty object",t),nonEmptyObject:t=>I(b.nonEmptyObject(t),"non-empty object",t),emptySet:t=>I(b.emptySet(t),"empty set",t),nonEmptySet:t=>I(b.nonEmptySet(t),"non-empty set",t),emptyMap:t=>I(b.emptyMap(t),"empty map",t),nonEmptyMap:t=>I(b.nonEmptyMap(t),"non-empty map",t),propertyKey:t=>I(b.propertyKey(t),"PropertyKey",t),formData:t=>I(b.formData(t),"FormData",t),urlSearchParams:t=>I(b.urlSearchParams(t),"URLSearchParams",t),evenInteger:t=>I(b.evenInteger(t),"even integer",t),oddInteger:t=>I(b.oddInteger(t),"odd integer",t),directInstanceOf:(t,e)=>I(b.directInstanceOf(t,e),"T",t),inRange:(t,e)=>I(b.inRange(t,e),"in range",t),any:(t,...e)=>I(b.any(t,...e),"predicate returns truthy for any value",e,{multipleValues:!0}),all:(t,...e)=>I(b.all(t,...e),"predicate returns truthy for all values",e,{multipleValues:!0})};Object.defineProperties(b,{class:{value:b.class_},function:{value:b.function_},null:{value:b.null_}});Object.defineProperties(q,{class:{value:q.class_},function:{value:q.function_},null:{value:q.null_}});var w=b;var Bg=class extends Error{constructor(e){super(e||"Promise was canceled"),this.name="CancelError";}get isCanceled(){return !0}},oa=class t{static fn(e){return (...r)=>new t((n,i,a)=>{r.push(a),e(...r).then(n,i);})}constructor(e){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((r,n)=>{this._reject=n;let i=s=>{(!this._isCanceled||!o.shouldReject)&&(this._isPending=!1,r(s));},a=s=>{this._isPending=!1,n(s);},o=s=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(s);};Object.defineProperties(o,{shouldReject:{get:()=>this._rejectOnCancel,set:s=>{this._rejectOnCancel=s;}}}),e(i,a,o);});}then(e,r){return this._promise.then(e,r)}catch(e){return this._promise.catch(e)}finally(e){return this._promise.finally(e)}cancel(e){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(let r of this._cancelHandlers)r();}catch(r){this._reject(r);return}this._rejectOnCancel&&this._reject(new Bg(e));}}get isCanceled(){return this._isCanceled}};Object.setPrototypeOf(oa.prototype,Promise.prototype);function A7(t){return w.object(t)&&"_onResponse"in t}var _e=class extends Error{constructor(e,r,n){var i,a;if(super(e),Object.defineProperty(this,"input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=(i=r.code)!=null?i:"ERR_GOT_REQUEST_ERROR",this.input=r.input,A7(n)?(Object.defineProperty(this,"request",{enumerable:!1,value:n}),Object.defineProperty(this,"response",{enumerable:!1,value:n.response}),this.options=n.options):this.options=n,this.timings=(a=this.request)==null?void 0:a.timings,w.string(r.stack)&&w.string(this.stack)){let o=this.stack.indexOf(this.message)+this.message.length,s=this.stack.slice(o).split(`
|
|
133
133
|
`).reverse(),c=r.stack.slice(r.stack.indexOf(r.message)+r.message.length).split(`
|
|
134
134
|
`).reverse();for(;c.length>0&&c[0]===s[0];)s.shift();this.stack=`${this.stack.slice(0,o)}${s.reverse().join(`
|
|
135
135
|
`)}${c.reverse().join(`
|