"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7],{51833:function(t,e,r){r.d(e,{Z:function(){return l}});var n=r(85893),a=r(41664),i=r.n(a),o=r(67294);function l(){let t=(0,o.useId)(),e=(0,o.useId)();return(0,n.jsxs)(i(),{href:"/","aria-label":"TurboCI home",className:"inline-flex items-center gap-3",children:[(0,n.jsxs)("svg",{viewBox:"0 0 48 48","aria-hidden":"true",className:"h-10 w-10 shrink-0",children:[(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:t,x1:"9",y1:"9",x2:"31",y2:"34",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:"#9cf0c0"}),(0,n.jsx)("stop",{offset:"100%",stopColor:"#42d392"})]}),(0,n.jsxs)("linearGradient",{id:e,x1:"22",y1:"22",x2:"36",y2:"40",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:"#2bc67e"}),(0,n.jsx)("stop",{offset:"100%",stopColor:"#1f8458"})]})]}),(0,n.jsx)("path",{d:"M35 6H23.6c-2 0-3.8 1-4.8 2.7L7.5 28.3c-1.4 2.5.4 5.7 3.2 5.7h9.1c2 0 3.8-1 4.8-2.7l11.2-19.6C39.6 9.2 37.8 6 35 6Z",fill:"url(#".concat(t,")")}),(0,n.jsx)("path",{d:"M23.9 24h13.4c2.8 0 4.6 3.1 3.2 5.6l-4.1 7.1c-1 1.7-2.8 2.7-4.8 2.7H18.2c-2.8 0-4.6-3.1-3.2-5.6l4.1-7.1c1-1.7 2.8-2.7 4.8-2.7Z",fill:"url(#".concat(e,")")})]}),(0,n.jsx)("span",{className:"font-display text-[1.02rem] font-semibold tracking-tight text-foreground",children:"TurboCI"})]})}},59123:function(t,e,r){r.d(e,{Z:function(){return o}});var n=r(85893),a=r(67294),i=r(98388);function o(t){let e,r,{contentWrapperProps:o,targetWrapperProps:l,hoverOpen:s,above:u,debounce:c=200,openDebounce:d=200,target:f,position:m="center",topOffset:h,externalSetOpen:p,keepOpen:g,disableClickActions:b,externalOpen:w,...x}=t,[v,y]=a.useState(w),k=a.useRef(null),j=a.useRef(null),C=a.useCallback(t=>{let e=t.target.closest(".twui-dropdown-wrapper");if(!e||e&&e!==k.current)return null==p||p(!1),y(!1)},[]);return a.useEffect(()=>{if(!g)return document.addEventListener("click",C),()=>{document.removeEventListener("click",C)}},[]),a.useEffect(()=>{y(w)},[w]),(0,n.jsxs)("div",{...x,className:(0,i.m6)("flex flex-col items-center relative","twui-dropdown-wrapper",x.className),onMouseEnter:()=>{s&&(window.clearTimeout(e),window.clearTimeout(r),r=setTimeout(()=>{null==p||p(!0),y(!0)},d))},onMouseLeave:t=>{s&&(window.clearTimeout(r),e=setTimeout(()=>{null==p||p(!1),y(!1)},c))},onBlur:()=>{window.clearTimeout(e)},ref:k,children:[(0,n.jsx)("div",{onClick:t=>{var e;let r=t.target;(null==r||null===(e=r.closest)||void 0===e||!e.call(r,".cancel-link"))&&(b||(null==p||p(!v),y(!v)))},className:(0,i.m6)("cursor-pointer","twui-dropdown-target",null==l?void 0:l.className),children:f}),(0,n.jsx)("div",{...o,className:(0,i.m6)("absolute z-10 mt-1","left"==m?"left-[100%] top-[50%] -translate-y-[50%]":"right"==m?"right-[100%] top-[50%] -translate-y-[50%]":"bottom-left"==m?"left-0 top-[100%]":"bottom-right"==m?"right-0 top-[100%]":"center"==m?"left-[50%] -translate-x-[50%] top-[100%]":"top"==m?"left-[50%] -translate-x-[50%] bottom-[100%]":"top-[100%]",u?"-translate-y-[120%]":"",v?"flex":"hidden","twui-dropdown-content",null==o?void 0:o.className),onMouseEnter:()=>{s&&window.clearTimeout(e)},onBlur:()=>{s&&window.clearTimeout(e)},style:{...null==o?void 0:o.style},ref:j,children:x.children})]})}},76242:function(t,e,r){r.d(e,{Z:function(){return i}});var n=r(85893),a=r(98388);function i(t){let{size:e,svgClassName:r,...i}=t,o=(()=>{switch(e){case"smaller":return"w-4 h-4";case"small":return"w-5 h-5";case"normal":default:return"w-6 h-6";case"large":return"w-7 h-7"}})();return(0,n.jsx)("div",{role:"status",...i,className:(0,a.m6)("twui-loading",i.className),children:(0,n.jsxs)("svg",{"aria-hidden":"true",className:(0,a.m6)("text-gray animate-spin dark:text-gray-dark fill-primary","dark:fill-white twui-loading",o,r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})}},84681:function(t,e,r){r.d(e,{Z:function(){return i}});var n=r(85893);r(67294);var a=r(98388);function i(t){let{variant:e,linkProps:r,componentRef:i,...o}=t;return(0,n.jsx)("div",{...o,ref:i,className:(0,a.m6)("flex flex-col items-start p-4 rounded bg-background-light dark:bg-background-dark gap-4","border border-slate-200 dark:border-white/10 border-solid w-full","relative","twui-paper",o.className),children:o.children})}},36969:function(t,e,r){r.d(e,{Z:function(){return i}});var n=r(85893),a=r(13181);function i(t){let{name:e,...r}=t,i=a[e];return i?(0,n.jsx)(i,{...r}):(console.warn('Lucide icon "'.concat(e,'" not found')),null)}r(67294)},94495:function(t,e,r){r.d(e,{Z:function(){return l}});var n=r(85893);r(67294);var a=r(98388),i=r(76242),o=r(36969);function l(t){let{href:e,target:r,variant:l,color:s,size:u,buttonContentProps:c,linkProps:d,beforeIcon:f,afterIcon:m,loading:h,loadingIconSize:p,loadingProps:g,...b}=t,w=(()=>{if("normal"!=l&&l){if("outlined"==l){if("primary"==s||!s)return(0,a.m6)("bg-transparent outline outline-1 outline-primary","text-primary-text dark:text-primary-dark-text dark:outline-primary-dark-outline","twui-button-primary-outlined");if("secondary"==s)return(0,a.m6)("bg-transparent outline outline-1 outline-secondary","text-secondary","twui-button-secondary-outlined");if("accent"==s)return(0,a.m6)("bg-transparent outline outline-1 outline-accent","text-accent","twui-button-accent-outlined");if("gray"==s)return(0,a.m6)("bg-transparent outline outline-1 outline-slate-300","text-slate-600 dark:text-white/60 dark:outline-white/30","twui-button-gray-outlined");if("white"==s)return(0,a.m6)("bg-transparent outline outline-1 outline-white/50","text-white","twui-button-white-outlined");if("error"==s)return(0,a.m6)("bg-transparent outline outline-1 outline-error text-error","dark:outline-error dark:text-error-dark","twui-button-error-outlined")}else if("ghost"==l){if("primary"==s||!s)return(0,a.m6)("bg-transparent dark:bg-transparent outline-none p-2","text-primary-text dark:text-primary-dark-text hover:bg-transparent dark:hover:bg-transparent","twui-button-primary-ghost");if("secondary"==s)return(0,a.m6)("bg-transparent dark:bg-transparent outline-none p-2","text-secondary hover:bg-transparent dark:hover:bg-transparent","twui-button-secondary-ghost");if("text"==s)return(0,a.m6)("bg-transparent dark:bg-transparent outline-none p-2 dark:text-foreground-dark","text-foreground-light hover:bg-transparent dark:hover:bg-transparent","twui-button-secondary-ghost");if("accent"==s)return(0,a.m6)("bg-transparent dark:bg-transparent outline-none p-2","text-accent hover:bg-transparent dark:hover:bg-transparent","twui-button-accent-ghost");if("gray"==s)return(0,a.m6)("bg-transparent dark:bg-transparent outline-none p-2 hover:bg-transparent dark:hover:bg-transparent","text-slate-600 dark:text-white/70 hover:opacity-80","twui-button-gray-ghost");if("error"==s)return(0,a.m6)("bg-transparent outline-none p-2","text-red-600 dark:text-red-400","twui-button-error-ghost");if("warning"==s)return(0,a.m6)("bg-transparent outline-none p-2","text-yellow-600","twui-button-warning-ghost");if("success"==s)return(0,a.m6)("bg-transparent outline-none p-2","text-success","twui-button-success-ghost");if("white"==s)return(0,a.m6)("bg-transparent outline-none p-2","text-white","twui-button-white-ghost")}}else{if("primary"==s||!s)return(0,a.m6)("bg-primary hover:bg-primary-hover text-white","dark:bg-primary-dark hover:dark:bg-primary-dark-hover text-white","twui-button-primary");if("secondary"==s)return(0,a.m6)("bg-secondary hover:bg-secondary-hover text-white","twui-button-secondary");if("white"==s)return(0,a.m6)("!bg-white hover:!bg-slate-200 !text-slate-800","twui-button-white");if("accent"==s)return(0,a.m6)("bg-accent hover:bg-accent-hover text-white","twui-button-accent");if("gray"==s)return(0,a.m6)("bg-gray hover:bg-gray-hover text-foreground-light","dark:bg-gray-dark hover:dark:bg-gray-dark-hover dark:text-foreground-dark","twui-button-gray");if("success"==s)return(0,a.m6)("bg-success hover:bg-success-hover text-white","dark:bg-success hover:dark:bg-success-hover text-white","twui-button-success");if("error"==s)return(0,a.m6)("bg-error hover:bg-error-hover text-white","dark:bg-error hover:dark:bg-error-hover text-white","twui-button-error")}return""})(),x=(0,n.jsxs)("button",{...b,className:(0,a.m6)("bg-primary text-white font-medium px-4 py-2 rounded-default","flex items-center justify-center relative transition-all cursor-pointer",b.disabled?"opacity-40 cursor-not-allowed":"","twui-button-general","small"==u?"px-3 py-1.5 twui-button-small text-sm":"smaller"==u?"px-2 py-1 text-xs twui-button-smaller":"large"==u?"text-lg twui-button-large":"larger"==u?"px-5 py-3 text-xl twui-button-larger":"twui-button-base",w,h?"pointer-events-none opacity-80":"",b.className),"aria-label":b.title,children:[(0,n.jsxs)("div",{...c,className:(0,a.m6)("flex flex-row items-center gap-2 whitespace-nowrap",h?"opacity-0":"","twui-button-content-wrapper",null==c?void 0:c.className),children:[f?"string"==typeof f?(0,n.jsx)(o.Z,{name:f}):f:null,b.children,m?"string"==typeof m?(0,n.jsx)(o.Z,{name:m}):m:null]}),h&&(0,n.jsx)(i.Z,{size:(()=>{if(p)return p;switch(u){case"small":return"small";case"smaller":return"smaller";default:return"normal"}})(),...g,className:(0,a.m6)("absolute",null==g?void 0:g.className)})]});return e?(0,n.jsx)("a",{...d,href:e,target:r,title:b.title,"aria-label":b.title,children:x}):x}},60705:function(t,e,r){r.d(e,{Z:function(){return i}});var n=r(85893),a=r(98388);function i(t){let{vertical:e,dashed:r,...i}=t;return(0,n.jsx)("div",{...i,className:(0,a.m6)("border-slate-200 dark:border-white/10",e?"border-0 border-l h-full min-h-5":"border-0 border-t w-full","twui-divider",e?"twui-divider-vertical":"twui-divider-horizontal",r?"border-dashed":"border-solid",i.className)})}},80600:function(t,e,r){r.d(e,{Z:function(){return i}});var n=r(85893),a=r(98388);function i(t){let{...e}=t;return(0,n.jsx)("main",{...e,className:(0,a.m6)("flex flex-col items-center w-full","twui-main",e.className),children:e.children})}},94655:function(t,e,r){r.d(e,{Z:function(){return i}});var n=r(85893),a=r(98388);function i(t){let{noWrap:e,itemsStart:r,...i}=t;return(0,n.jsx)("div",{...i,className:(0,a.m6)("flex flex-row gap-2",e?"xl:flex-nowrap":"flex-wrap",r?"items-start":"items-center","twui-row",i.className),children:i.children})}},60:function(t,e,r){r.d(e,{Z:function(){return l}});var n=r(85893),a=r(96486),i=r.n(a),o=r(98388);function l(t){let{gap:e,componentRef:r,...a}=t,l=i().omit(a,"center");return(0,n.jsx)("div",{...l,className:(0,o.m6)("flex flex-col items-start gap-4",a.center&&"items-center",e?"string"==typeof e?"gap-[".concat(e,"]"):"gap-".concat(e):"","twui-stack",a.className),ref:r,children:a.children})}}}]);