1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,999682,e=>{"use strict";var t=e.i(271645);function r(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}e.s(["usePrevious",()=>r])},88653,e=>{"use strict";e.i(247167);var t=e.i(843476),r=e.i(271645),a=e.i(231178),i=e.i(947414),n=e.i(674008),s=e.i(821476),o=e.i(772846),l=r,d=e.i(737806);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class u extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,o.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,o.isHTMLElement)(e)&&e.offsetWidth||0,a=(0,o.isHTMLElement)(e)&&e.offsetHeight||0,i=getComputedStyle(t),n=this.props.sizeRef.current;n.height=parseFloat(i.height),n.width=parseFloat(i.width),n.top=t.offsetTop,n.left=t.offsetLeft,n.right=r-n.width-n.left,n.bottom=a-n.height-n.top}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:a,anchorX:i,anchorY:n,root:s,pop:o}){let p=(0,l.useId)(),f=(0,l.useRef)(null),m=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:x}=(0,l.useContext)(d.MotionConfigContext),g=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,a=e.map(e=>{let a=c(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():c(e[t],null)}}}}(...e),e)}(f,e.props?.ref??e?.ref);return(0,l.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:l,right:d,bottom:c}=m.current;if(a||!1===o||!f.current||!e||!t)return;let u="left"===i?`left: ${l}`:`right: ${d}`,g="bottom"===n?`bottom: ${c}`:`top: ${r}`;f.current.dataset.motionPopId=p;let h=document.createElement("style");x&&(h.nonce=x);let v=s??document.head;return v.appendChild(h),h.sheet&&h.sheet.insertRule(` 2 [data-motion-pop-id="${p}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${u}px !important; 7 ${g}px !important; 8 } 9 `),()=>{f.current?.removeAttribute("data-motion-pop-id"),v.contains(h)&&v.removeChild(h)}},[a]),(0,t.jsx)(u,{isPresent:a,childRef:f,sizeRef:m,pop:o,children:!1===o?e:l.cloneElement(e,{ref:g})})}let f=({children:e,initial:a,isPresent:n,onExitComplete:o,custom:l,presenceAffectsLayout:d,mode:c,anchorX:u,anchorY:f,root:x})=>{let g=(0,i.useConstant)(m),h=(0,r.useId)(),v=!0,b=(0,r.useMemo)(()=>(v=!1,{id:h,initial:a,isPresent:n,custom:l,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;o&&o()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[n,g,o]);return d&&v&&(b={...b}),(0,r.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[n]),r.useEffect(()=>{n||g.size||!o||o()},[n]),e=(0,t.jsx)(p,{pop:"popLayout"===c,isPresent:n,anchorX:u,anchorY:f,root:x,children:e}),(0,t.jsx)(s.PresenceContext.Provider,{value:b,children:e})};function m(){return new Map}var x=e.i(464978);let g=e=>e.key||"";function h(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}let v=({children:e,custom:s,initial:o=!0,onExitComplete:l,presenceAffectsLayout:d=!0,mode:c="sync",propagate:u=!1,anchorX:p="left",anchorY:m="top",root:v})=>{let[b,j]=(0,x.usePresence)(u),w=(0,r.useMemo)(()=>h(e),[e]),y=u&&!b?[]:w.map(g),k=(0,r.useRef)(!0),N=(0,r.useRef)(w),C=(0,i.useConstant)(()=>new Map),S=(0,r.useRef)(new Set),[L,_]=(0,r.useState)(w),[R,E]=(0,r.useState)(w);(0,n.useIsomorphicLayoutEffect)(()=>{k.current=!1,N.current=w;for(let e=0;e<R.length;e++){let t=g(R[e]);y.includes(t)?(C.delete(t),S.current.delete(t)):!0!==C.get(t)&&C.set(t,!1)}},[R,y.length,y.join("-")]);let P=[];if(w!==L){let e=[...w];for(let t=0;t<R.length;t++){let r=R[t],a=g(r);y.includes(a)||(e.splice(t,0,r),P.push(r))}return"wait"===c&&P.length&&(e=P),E(h(e)),_(w),null}let{forceRender:M}=(0,r.useContext)(a.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:R.map(e=>{let r=g(e),a=(!u||!!b)&&(w===R||y.includes(r));return(0,t.jsx)(f,{isPresent:a,initial:(!k.current||!!o)&&void 0,custom:s,presenceAffectsLayout:d,mode:c,root:v,onExitComplete:a?void 0:()=>
9{if(S.current.has(r)||!C.has(r))return;S.current.add(r),C.set(r,!0);let e=!0;C.forEach(t=>{t||(e=!1)}),e&&(M?.(),E(N.current),u&&j?.(),l&&l())},anchorX:p,anchorY:m,children:e},r)})})};e.s(["AnimatePresence",()=>v],88653)},772436,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(248425),i="horizontal",n=["horizontal","vertical"],s=r.forwardRef((e,r)=>{var s;let{decorative:o,orientation:l=i,...d}=e,c=(s=l,n.includes(s))?l:i;return(0,t.jsx)(a.Primitive.div,{"data-orientation":c,...o?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...d,ref:r})});s.displayName="Separator",e.s(["Root",()=>s,"Separator",()=>s],886392);var o=e.i(886392),o=o,l=e.i(975157);function d({className:e,orientation:r="horizontal",decorative:a=!0,...i}){return(0,t.jsx)(o.Root,{"data-slot":"separator",decorative:a,orientation:r,className:(0,l.cn)("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...i})}e.s(["Separator",()=>d],772436)},793479,e=>{"use strict";var t=e.i(843476),r=e.i(975157);function a({className:e,type:a,...i}){return(0,t.jsx)("input",{type:a,"data-slot":"input",className:(0,r.cn)("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30","focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50","aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",e),...i})}e.s(["Input",()=>a])},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(248425),i=r.forwardRef((e,r)=>(0,t.jsx)(a.Primitive.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label",e.s(["Label",()=>i,"Root",()=>i],973741);var n=e.i(973741),n=n,s=e.i(975157);function o({className:e,...r}){return(0,t.jsx)(n.Root,{"data-slot":"label",className:(0,s.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}e.s(["Label",()=>o],110204)},542450,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(225913),i=e.i(975157),n=e.i(110204),s=e.i(772436);function o({className:e,...r}){return(0,t.jsx)("fieldset",{"data-slot":"field-set",className:(0,i.cn)("flex flex-col gap-6","has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",e),...r})}function l({className:e,variant:r="legend",...a}){return(0,t.jsx)("legend",{"data-slot":"field-legend","data-variant":r,className:(0,i.cn)("mb-3 font-medium","data-[variant=legend]:text-base","data-[variant=label]:text-sm",e),...a})}function d({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"field-group",className:(0,i.cn)("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4",e),...r})}let c=(0,a.cva)("group/field flex w-full gap-3 data-[invalid=true]:text-destructive",{variants:{orientation:{vertical:["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],horizontal:["flex-row items-center","[&>[data-slot=field-label]]:flex-auto","has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"],responsive:["flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto","@md/field-group:[&>[data-slot=field-label]]:flex-auto","@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"]}},defaultVariants:{orientation:"vertical"}});function u({className:e,orientation:r="vertical",...a}){return(0,t.jsx)("div",{role:"group","data-slot":"field","data-orientation":r,className:(0,i.cn)(c({orientation:r}),e),...a})}function p({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"field-content",className:(0,i.cn)("group/field-content flex flex-1 flex-col gap-1.5 leading-snug",e),...r})}function f({className:e,...r}){return(0,t.jsx)(n.Label,{"data-slot":"field-label",className:(0,i.cn)("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4","has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10",e),...r})}function m({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"field-label",className:(0,i.cn)("flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50",e),...r})}function x({className:e,...r}){return(0,t.jsx)("p",{"data-slot":"field-description",className:(0,i.cn)("text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5","[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",e),...r})}function g({children:e,className:r,...a}){return(0,t.jsxs)("div",{"data-slot":"field-separator","data-content":!!e,className:(0,i.cn)("relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",r),...a,children:[(0,t.jsx)(s.Separator,{className:"absolute inset-0 top-1/2"}),e&&(0,t.jsx)("span",{className:"bg-background text-muted-foreground relative mx-auto block w-fit px-2","data-slot":"field-separator-content",children:e})]})}function h({className:e,children:a,errors:n,...s}){let o=(0,r.useMemo)(()=>
9{if(a)return a;if(!n?.length)return null;let e=[...new Map(n.map(e=>[e?.message,e])).values()];return e?.length==1?e[0]?.message:(0,t.jsx)("ul",{className:"ml-4 flex list-disc flex-col gap-1",children:e.map((e,r)=>e?.message&&(0,t.jsx)("li",{children:e.message},r))})},[a,n]);return o?(0,t.jsx)("div",{role:"alert","data-slot":"field-error",className:(0,i.cn)("text-destructive text-sm font-normal",e),...s,children:o}):null}e.s(["Field",()=>u,"FieldContent",()=>p,"FieldDescription",()=>x,"FieldError",()=>h,"FieldGroup",()=>d,"FieldLabel",()=>f,"FieldLegend",()=>l,"FieldSeparator",()=>g,"FieldSet",()=>o,"FieldTitle",()=>m])},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={callServer:function(){return n.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(132120),s=e.r(92245),o=e.r(235326)},659653,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(88653),i=e.i(846932),n=e.i(975157);function s({children:e}){return(0,t.jsx)(i.motion.div,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1,originY:0},exit:{scale:0,opacity:0},transition:{type:"spring",stiffness:350,damping:40},layout:!0,className:"mx-auto w-full",children:e})}let o=r.default.memo(({children:e,className:i,delay:o=1e3,loop:l=!1,...d})=>{let[c,u]=(0,r.useState)(2),p=(0,r.useMemo)(()=>r.default.Children.toArray(e),[e]);(0,r.useEffect)(()=>{let e=setTimeout(()=>{u(e=>l?e+1:(e+1)%p.length)},o);return()=>clearTimeout(e)},[c,o,l,p.length]);let f=(0,r.useMemo)(()=>l?Array.from({length:Math.min(c+1,p.length)},(e,t)=>{let r=c-t;return{key:r,node:p[r%p.length]}}):p.slice(0,c+1).reverse(),[c,p,l]);return(0,t.jsx)("div",{className:(0,n.cn)("flex flex-col items-center gap-4",i),...d,children:(0,t.jsx)(a.AnimatePresence,{children:l?f.map(({key:e,node:r})=>(0,t.jsx)(s,{children:r},e)):f.map(e=>(0,t.jsx)(s,{children:e},e.key))})})});o.displayName="AnimatedList",e.s(["AnimatedList",0,o])},257428,e=>{"use strict";var t=e.i(843476),r=e.i(678784),a=e.i(271645),i=e.i(820783),n=e.i(30030),s=e.i(981140),o=e.i(369340),l=e.i(999682),d=e.i(635804),c=e.i(296626),u=e.i(248425),p="Checkbox",[f,m]=(0,n.createContextScope)(p),[x,g]=f(p);function h(e){let{__scopeCheckbox:r,checked:i,children:n,defaultChecked:s,disabled:l,form:d,name:c,onCheckedChange:u,required:f,value:m="on",internal_do_not_use_render:g}=e,[h,v]=(0,o.useControllableState)({prop:i,defaultProp:s??!1,onChange:u,caller:p}),[b,j]=a.useState(null),[w,y]=a.useState(null),k=a.useRef(!1),N=!b||!!d||!!b.closest("form"),S={checked:h,disabled:l,setChecked:v,control:b,setControl:j,name:c,form:d,value:m,hasConsumerStoppedPropagationRef:k,required:f,defaultChecked:!C(s)&&s,isFormControl:N,bubbleInput:w,setBubbleInput:y};return(0,t.jsx)(x,{scope:r,...S,children:"function"==typeof g?g(S):n})}var v="CheckboxTrigger",b=a.forwardRef(({__scopeCheckbox:e,onKeyDown:r,onClick:n,...o},l)=>{let{control:d,value:c,disabled:p,checked:f,required:m,setControl:x,setChecked:h,hasConsumerStoppedPropagationRef:b,isFormControl:j,bubbleInput:w}=g(v,e),y=(0,i.useComposedRefs)(l,x),k=a.useRef(f);return a.useEffect(()=>{let e=d?.form;if(e){let t=()=>h(k.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,h]),(0,t.jsx)(u.Primitive.button,{type:"button",role:"checkbox","aria-checked":C(f)?"mixed":f,"aria-required":m,"data-state":S(f),"data-disabled":p?"":void 0,disabled:p,value:c,...o,ref:y,onKeyDown:(0,s.composeEventHandlers)(r,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,s.composeEventHandlers)(n,e=>{h(e=>!!C(e)||!e),w&&j&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})})});b.displayName=v;var j=a.forwardRef((e,r)=>{let{__scopeCheckbox:a,name:i,checked:n,defaultChecked:s,required:o,disabled:l,value:d,onCheckedChange:c,form:u,...p}=e;return(0,t.jsx)(h,{__scopeCheckbox:a,checked:n,defaultChecked:s,disabled:l,required:o,onCheckedChange:c,name:i,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b,{...p,ref:r,__scopeCheckbox:a}),e&&(0,t.jsx)(N,{__scopeCheckbox:a})]})})});j.displayName=p;var w="CheckboxIndicator",y=a.forwardRef((e,r)=>{let{__scopeCheckbox:a,forceMount:i,...n}=e,s=g(w,a);return(0,t.jsx)(c.Presence,{present:i||C(s.checked)||!0===s.checked,children:(0,t.jsx)(u.Primitive.span,{"data-state":S(s.checked),"data-disabled":s.disabled?"":void 0,...n,ref:r,
9style:{pointerEvents:"none",...e.style}})})});y.displayName=w;var k="CheckboxBubbleInput",N=a.forwardRef(({__scopeCheckbox:e,...r},n)=>{let{control:s,hasConsumerStoppedPropagationRef:o,checked:c,defaultChecked:p,required:f,disabled:m,name:x,value:h,form:v,bubbleInput:b,setBubbleInput:j}=g(k,e),w=(0,i.useComposedRefs)(n,j),y=(0,l.usePrevious)(c),N=(0,d.useSize)(s);a.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!o.current;if(y!==c&&e){let r=new Event("click",{bubbles:t});b.indeterminate=C(c),e.call(b,!C(c)&&c),b.dispatchEvent(r)}},[b,y,c,o]);let S=a.useRef(!C(c)&&c);return(0,t.jsx)(u.Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:p??S.current,required:f,disabled:m,name:x,value:h,form:v,...r,tabIndex:-1,ref:w,style:{...r.style,...N,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function C(e){return"indeterminate"===e}function S(e){return C(e)?"indeterminate":e?"checked":"unchecked"}N.displayName=k,e.s(["Checkbox",()=>j,"CheckboxIndicator",()=>y,"Indicator",()=>y,"Root",()=>j,"createCheckboxScope",()=>m,"unstable_BubbleInput",()=>N,"unstable_CheckboxBubbleInput",()=>N,"unstable_CheckboxProvider",()=>h,"unstable_CheckboxTrigger",()=>b,"unstable_Provider",()=>h,"unstable_Trigger",()=>b],388474);var L=e.i(388474),L=L,_=e.i(975157);function R({className:e,...a}){return(0,t.jsx)(L.Root,{"data-slot":"checkbox",className:(0,_.cn)("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...a,children:(0,t.jsx)(L.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:(0,t.jsx)(r.CheckIcon,{className:"size-3.5"})})})}e.s(["Checkbox",()=>R],257428)},890761,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(522016),i=e.i(846696),n=e.i(975157),s=e.i(519455),o=e.i(542450),l=e.i(793479),d=e.i(257428);let c=(0,e.i(225913).cva)("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"}},defaultVariants:{variant:"default"}});function u({className:e,variant:r,...a}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,n.cn)(c({variant:r}),e),...a})}function p({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,n.cn)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",e),...r})}var f=e.i(95187);let m=(0,f.createServerReference)("607234386fa8929782c8ff33fee1c9016115d4fdda",f.callServer,void 0,f.findSourceMapURL,"login"),x={errors:{},message:""},g="cleyo_login_email";function h({className:e,resetSuccess:c=!1,verifyState:f,...h}){let[v,b,j]=(0,r.useActionState)(m,x),w=(0,r.useRef)(""),[y,k]=(0,r.useState)(""),[N,C]=(0,r.useState)(""),[S,L]=(0,r.useState)(!1),[_,R]=(0,r.useState)(!1);(0,r.useEffect)(()=>{try{let e=localStorage.getItem(g);e&&(k(e),R(!0))}catch{}},[]),(0,r.useEffect)(()=>{v.message&&v.message!==w.current&&(i.toast.error(v.message),w.current=v.message)},[v.message]);let E=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{f&&!E.current&&(E.current=!0,"confirmed"===f?i.toast.success("Email verified. Log in to continue."):i.toast.error("That confirmation link is no longer valid."))},[f]),(0,t.jsx)("div",{className:(0,n.cn)("flex flex-col gap-6",e),...h,children:(0,t.jsx)("form",{action:b,onSubmit:()=>{try{_&&y?localStorage.setItem(g,y):localStorage.removeItem(g)}catch{}},children:(0,t.jsxs)(o.FieldGroup,{children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("div",{className:"flex h-7 items-center",children:(0,t.jsx)("img",{src:"/cleyo_logo.svg",alt:"Cleyo",className:"h-5 w-auto dark:invert"})}),(0,t.jsx)("h1",{className:"text-xl font-bold",children:"Login to your account"}),(0,t.jsxs)(o.FieldDescription,{children:["Don't have an account?"," ",(0,t.jsx)(a.default,{href:"/demo",children:"Book a demo"})]})]}),c&&(0,t.jsx)(u,{children:(0,t.jsx)(p,{children:"Your password has been updated. Log in with your new password."})}),"confirmed"===f&&(0,t.jsx)(u,{children:(0,t.jsx)(p,{children:"Your email is verified. Log in to finish setting up your account."})}),"expired"===f&&(0,t.jsx)(u,{variant:"destructive",children:(0,t.jsxs)(p,{children:["That confirmation link has expired or was already used."," ",(0,t.jsx)(a.default,{href:"/signup",children:"Sign up again"})," to get a fresh one."]})}),(0,t.jsxs)(o.Field,{children:[(0,t.jsx)(o.FieldLabel,{htmlFor:"email",children:"Email"}),(0,t.jsx)(l.Input,{id:"email",name:"email",type:"email",placeholder:"[email protected]",autoComplete:"email",required:!0,value:y,onChange:e=>k(e.target.value)}),v.errors.email&&(0,t.jsx)(o.FieldError,{children:v.errors.email})]}),(0,t.jsxs)(o.Field,{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(o.FieldLabel,{htmlFor:"password",children:"Password"}),(0,t.jsx)(a.default,{href:"/forgot-password",className:"text-xs text-muted-foreground underline-offset-4 hover:text-foreground hover:underline",children:"Forgot password?"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(l.Input,{id:"password",name:"password",type:S?"text":"password",autoComplete:"current-password",required:!0,value:N,onChange:e=>C(e.target.value),className:"pr-10"}),(0,t.jsx)("button",{type:"button",onClick:()=>L(e=>
9!e),"aria-label":S?"Hide password":"Show password",tabIndex:-1,className:"absolute inset-y-0 right-0 flex items-center justify-center w-10 text-muted-foreground hover:text-foreground transition-colors",children:S?(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-4",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.494 7.494L21 21m-3.628-3.628-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"})}):(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-4",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})]})})]}),v.errors.password&&(0,t.jsx)(o.FieldError,{children:v.errors.password})]}),(0,t.jsx)(o.Field,{children:(0,t.jsxs)("label",{className:"flex w-fit cursor-pointer items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(d.Checkbox,{checked:_,onCheckedChange:e=>R(!0===e)}),"Remember me"]})}),(0,t.jsx)(o.Field,{children:(0,t.jsx)(s.Button,{type:"submit",className:"w-full",disabled:j,children:j?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"size-4 animate-spin",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",className:"opacity-25"}),(0,t.jsx)("path",{d:"M4 12a8 8 0 0 1 8-8",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round"})]}),"Logging in..."]}):"Log in"})})]})})})}e.s(["LoginForm",()=>h],890761)},724313,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(657688),i=e.i(975157),n=e.i(659653);let s="bg-gradient-to-b from-red-50 to-red-100 text-red-800 ring-1 ring-inset ring-red-600/20 shadow-[inset_0_1px_0_rgba(255,255,255,0.9)]",o="bg-gradient-to-b from-amber-50 to-amber-100 text-amber-900 ring-1 ring-inset ring-amber-600/25 shadow-[inset_0_1px_0_rgba(255,255,255,0.9)]",l=[{company:"Stripe",role:"CRM Manager",logo:"/images-landing/logos/stripe.png",time:"today",pressure:{emoji:"ð¥",score:88,pill:s},funding:"Series H"},{company:"Shopify",role:"Head of Sales",logo:"/images-landing/logos/shopify.png",time:"today",pressure:{emoji:"ð¥",score:79,pill:s}},{company:"Notion",role:"Senior Account Executive",logo:"/images-landing/logos/notion.png",time:"yesterday",pressure:{emoji:"ð¤ï¸",score:61,pill:o},funding:"Series C"},{company:"HubSpot",role:"VP of Revenue",logo:"/images-landing/logos/hubspot.png",time:"yesterday",pressure:{emoji:"ð¥",score:72,pill:s}},{company:"Vercel",role:"Enterprise Sales Lead",logo:"/images-landing/logos/vercel.png",time:"2 days ago",pressure:{emoji:"ð¥",score:83,pill:s},funding:"Series E"},{company:"Slack",role:"Business Development Rep",logo:"/images-landing/logos/slack.png",time:"3 days ago",pressure:{emoji:"ð¤ï¸",score:58,pill:o}},{company:"Atlassian",role:"Recruiting Manager",logo:"/images-landing/logos/atlassian.png",time:"4 days ago",pressure:{emoji:"ð¥",score:69,pill:s}},{company:"Intercom",role:"Growth Lead",logo:"/images-landing/logos/intercom.png",time:"5 days ago",pressure:{emoji:"ð¤ï¸",score:64,pill:o},funding:"Series D"}];function d({emoji:e,score:r,pill:a}){return(0,t.jsxs)("span",{className:`inline-flex h-5 shrink-0 items-center gap-1 rounded-full px-1.5 text-[10px] font-semibold tabular-nums ${a}`,children:[(0,t.jsx)("span",{className:"text-[11px] leading-none",children:e}),r,"%"]})}function c({label:e}){return(0,t.jsxs)("span",{className:"inline-flex h-5 shrink-0 items-center gap-1 rounded-full bg-gradient-to-b from-emerald-50 to-emerald-100 px-1.5 text-[10px] font-semibold tabular-nums text-emerald-800 shadow-[inset_0_1px_0_rgba(255,255,255,0.9)] ring-1 ring-inset ring-emerald-600/20",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.25,strokeLinecap:"round",strokeLinejoin:"round",className:"size-2.5 text-emerald-600/80",children:[(0,t.jsx)("line",{x1:"12",x2:"12",y1:"2",y2:"22"}),(0,t.jsx)("path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"})]}),e]})}l=Array.from({length:4},()=>l).flat();let u=({company:e,role:r,logo:n,time:s,pressure:o,funding:l,badges:u})=>(0,t.jsx)("figure",{className:(0,i.cn)("relative mx-auto min-h-fit w-full max-w-[440px] cursor-pointer overflow-hidden rounded-xl bg-white p-3 shadow-[0_4px_12px_-2px_rgba(15,30,90,0.06),0_1px_3px_-1px_rgba(15,30,90,0.04)]","transition-all duration-200 ease-in-out hover:scale-[103%]","border border-black/[0.06]"),children:(0,t.jsxs)("div",{className:"flex flex-row items-center gap-3",children:[(0,t.jsx)(a.default,{src:n,alt:e,width:36,height:36,loading:"lazy",quality:75,className:"size-9 rounded-lg object-contain bg-white border border-black/5 p-0.5"}),(0,t.jsxs)("div",{className:(0,i.cn)("flex flex-col overflow-hidden",u&&"min-w-0 flex-1"),children:[(0,t.jsxs)("figcaption",{className:(0,i.cn)("flex flex-row items-center whitespace-pre",u&&"gap-2"),children:[(0,t.jsx)("span",{className:(0,i.cn)("text-sm font-semibold text-black",u&&"truncate"),children:e}),u?(o||l)&&(0,t.jsxs)("span",{className:"ml-auto flex shrink-0 items-center gap-1.5",children:[o&&(0,t.jsx)(d,{...o}),l&&(0,t.jsx)(c,{label:l})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"mx-1 text-black/20",children:"·"}),(0,t.jsx)("span",{className:"text-xs text-black/40",children:s})]})]}),(0,t.jsx)("p",{className:(0,i.cn)("text-xs text-black/50",u&&"truncate"),children:u?(0,t.jsx)("span",{className:"font-medium text-black/70",children:r}):(0,t.jsxs)(t.Fragment,{children:["posted ",(0,t.jsx)("span",{className:"font-medium text-black/70",children:r})]})})]})]})});function p({className:e,loop:a=!1,badges:s=!1}){return(0,t.jsx)("div",{className:(0,i.cn)("relative flex h-[280px] w-full max-w-[440px] flex-col overflow-hidden",e),children:(0,t.jsx)(n.AnimatedList,{delay:2e3,loop:a,children:l.map((e,t)=>(0,r.createElement)(u,{...e,badges:s,key:t}))})})}function f({className:e}){return(0,t.jsx)("div",{className:e,"aria-hidden":"true",children:(0,t.jsx)("div",{className:"relative flex aspect-square w-full items-center justify-center",children:(0,t.jsx)("div",{className:"w-[300px] max-w-full [mask-image:linear-gradient(to_bottom,#000_60%,transparent_96%)] [-webkit-mask-image:linear-gradient(to_bottom,#000_60%,transparent_96%)]",children:(0,t.jsx)(p,{badges:!0})})})})}e.s(["LoginWorkspaceVisual",()=>f],724313)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.