1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,233525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},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])},23750,e=>{"use strict";var t=e.i(843476),r=e.i(647163);function a({className:e,type:a,...n}){return(0,t.jsx)("input",{type:a,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...n})}e.s(["Input",()=>a])},10708,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(248425),n=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())}}));n.displayName="Label";var s=e.i(647163);function i({className:e,...r}){return(0,t.jsx)(n,{"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",()=>i],10708)},326999,e=>{"use strict";var t=e.i(271645),r=e.i(981140),a=e.i(820783),n=e.i(30030),s=e.i(610772),i=e.i(369340),o=e.i(726330),l=e.i(765491),c=e.i(774606),d=e.i(296626),u=e.i(248425),p=e.i(303536),f=e.i(985369),m=e.i(186312),g=e.i(991918),h=e.i(843476),v="Dialog",[x,b]=(0,n.createContextScope)(v),[y,j]=x(v),w=e=>{let{__scopeDialog:r,children:a,open:n,defaultOpen:o,onOpenChange:l,modal:c=!0}=e,d=t.useRef(null),u=t.useRef(null),[p=!1,f]=(0,i.useControllableState)({prop:n,defaultProp:o,onChange:l});return(0,h.jsx)(y,{scope:r,triggerRef:d,contentRef:u,contentId:(0,s.useId)(),titleId:(0,s.useId)(),descriptionId:(0,s.useId)(),open:p,onOpenChange:f,onOpenToggle:t.useCallback(()=>f(e=>!e),[f]),modal:c,children:a})};w.displayName=v;var C="DialogTrigger",S=t.forwardRef((e,t)=>{let{__scopeDialog:n,...s}=e,i=j(C,n),o=(0,a.useComposedRefs)(t,i.triggerRef);return(0,h.jsx)(u.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":$(i.open),...s,ref:o,onClick:(0,r.composeEventHandlers)(e.onClick,i.onOpenToggle)})});S.displayName=C;var k="DialogPortal",[N,E]=x(k,{forceMount:void 0}),D=e=>{let{__scopeDialog:r,forceMount:a,children:n,container:s}=e,i=j(k,r);return(0,h.jsx)(N,{scope:r,forceMount:a,children:t.Children.map(n,e=>(0,h.jsx)(d.Presence,{present:a||i.open,children:(0,h.jsx)(c.Portal,{asChild:!0,container:s,children:e})}))})};D.displayName=k;var P="DialogOverlay",T=t.forwardRef((e,t)=>{let r=E(P,e.__scopeDialog),{forceMount:a=r.forceMount,...n}=e,s=j(P,e.__scopeDialog);return s.modal?(0,h.jsx)(d.Presence,{present:a||s.open,children:(0,h.jsx)(R,{...n,ref:t})}):null});T.displayName=P;var R=t.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,n=j(P,r);return(0,h.jsx)(f.RemoveScroll,{as:g.Slot,allowPinchZoom:!0,shards:[n.contentRef],children:(0,h.jsx)(u.Primitive.div,{"data-state":$(n.open),...a,ref:t,style:{pointerEvents:"auto",...a.style}})})}),O="DialogContent",M=t.forwardRef((e,t)=>{let r=E(O,e.__scopeDialog),{forceMount:a=r.forceMount,...n}=e,s=j(O,e.__scopeDialog);return(0,h.jsx)(d.Presence,{present:a||s.open,children:s.modal?(0,h.jsx)(I,{...n,ref:t}):(0,h.jsx)(_,{...n,ref:t})})});M.displayName=O;
1var I=t.forwardRef((e,n)=>{let s=j(O,e.__scopeDialog),i=t.useRef(null),o=(0,a.useComposedRefs)(n,s.contentRef,i);return t.useEffect(()=>{let e=i.current;if(e)return(0,m.hideOthers)(e)},[]),(0,h.jsx)(A,{...e,ref:o,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),s.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),_=t.forwardRef((e,r)=>{let a=j(O,e.__scopeDialog),n=t.useRef(!1),s=t.useRef(!1);return(0,h.jsx)(A,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||a.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,s.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(s.current=!0));let r=t.target;a.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&s.current&&t.preventDefault()}})}),A=t.forwardRef((e,r)=>{let{__scopeDialog:n,trapFocus:s,onOpenAutoFocus:i,onCloseAutoFocus:c,...d}=e,u=j(O,n),f=t.useRef(null),m=(0,a.useComposedRefs)(r,f);return(0,p.useFocusGuards)(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:i,onUnmountAutoFocus:c,children:(0,h.jsx)(o.DismissableLayer,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":$(u.open),...d,ref:m,onDismiss:()=>u.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(U,{titleId:u.titleId}),(0,h.jsx)(K,{contentRef:f,descriptionId:u.descriptionId})]})]})}),F="DialogTitle",L=t.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,n=j(F,r);return(0,h.jsx)(u.Primitive.h2,{id:n.titleId,...a,ref:t})});L.displayName=F;var B="DialogDescription",H=t.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,n=j(B,r);return(0,h.jsx)(u.Primitive.p,{id:n.descriptionId,...a,ref:t})});H.displayName=B;var W="DialogClose",z=t.forwardRef((e,t)=>{let{__scopeDialog:a,...n}=e,s=j(W,a);return(0,h.jsx)(u.Primitive.button,{type:"button",...n,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,()=>s.onOpenChange(!1))})});function $(e){return e?"open":"closed"}z.displayName=W;var V="DialogTitleWarning",[q,G]=(0,n.createContext)(V,{contentName:O,titleName:F,docsSlug:"dialog"}),U=({titleId:e})=>{let r=G(V),a=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},K=({contentRef:e,descriptionId:r})=>{let a=G("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${a.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");r&&t&&(document.getElementById(r)||console.warn(n))},[n,e,r]),null};e.s(["Close",()=>z,"Content",()=>M,"Description",()=>H,"Overlay",()=>T,"Portal",()=>D,"Root",()=>w,"Title",()=>L,"Trigger",()=>S,"WarningProvider",()=>q,"createDialogScope",()=>b])},630374,e=>{"use strict";var t=e.i(843476),r=e.i(326999),a=e.i(841947),a=a,n=e.i(647163);function s({...e}){return(0,t.jsx)(r.Root,{"data-slot":"dialog",...e})}function i({...e}){return(0,t.jsx)(r.Trigger,{"data-slot":"dialog-trigger",...e})}function o({...e}){return(0,t.jsx)(r.Portal,{"data-slot":"dialog-portal",...e})}function l({className:e,...a}){return(0,t.jsx)(r.Overlay,{"data-slot":"dialog-overlay",className:(0,n.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...a})}function c({className:e,children:s,showCloseButton:i=!0,...c}){return(0,t.jsxs)(o,{"data-slot":"dialog-portal",children:[(0,t.jsx)(l,{}),(0,t.jsxs)(r.Content,{"data-slot":"dialog-content",className:(0,n.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
5ded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...c,children:[s,i&&(0,t.jsxs)(r.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,t.jsx)(a.default,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function d({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,n.cn)("flex flex-col gap-2 text-center sm:text-left",e),...r})}function u({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,n.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...r})}function p({className:e,...a}){return(0,t.jsx)(r.Title,{"data-slot":"dialog-title",className:(0,n.cn)("text-lg leading-none font-semibold",e),...a})}function f({className:e,...a}){return(0,t.jsx)(r.Description,{"data-slot":"dialog-description",className:(0,n.cn)("text-muted-foreground text-sm",e),...a})}e.s(["Dialog",()=>s,"DialogContent",()=>c,"DialogDescription",()=>f,"DialogFooter",()=>u,"DialogHeader",()=>d,"DialogTitle",()=>p,"DialogTrigger",()=>i],630374)},531278,e=>{"use strict";let t=(0,e.i(475254).default)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],531278)},174117,e=>{"use strict";var t=e.i(271645);let r=0,a=new Map,n=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),o({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,t)},s=[],i={toasts:[]};function o(e){i=((e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?n(r):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}})(i,e),s.forEach(e=>{e(i)})}function l({...e}){let t=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>o({type:"DISMISS_TOAST",toastId:t});return o({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:e=>{e||a()}}}),{id:t,dismiss:a,update:e=>o({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function c(){let[e,r]=t.useState(i);return t.useEffect(()=>(s.push(r),()=>{let e=s.indexOf(r);e>-1&&s.splice(e,1)}),[e]),{...e,toast:l,dismiss:e=>o({type:"DISMISS_TOAST",toastId:e})}}e.s(["useToast",()=>c])},970065,e=>{"use strict";var t=e.i(843476),r=e.i(647163);function a({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,r.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...a})}function n({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...a})}function s({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("leading-none font-semibold",e),...a})}function i({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-muted-foreground text-sm",e),...a})}function o({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-6",e),...a})}function l({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center px-6 [.border-t]:pt-6",e),...a})}e.s(["Card",()=>a,"CardContent",()=>o,"CardDescription",()=>i,"CardFooter",()=>l,"CardHeader",()=>n,"CardTitle",()=>s])},63209,e=>{"use strict";let t=(0,e.i(475254).default)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["AlertCircle",()=>t],63209)},286536,e=>{"use strict";let t=(0,e.i(475254).default)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",()=>t],286536)},16715,e=>{"use strict";let t=(0,e.i(475254).default)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",()=>
5t],16715)},625959,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(820783),n=e.i(30030),s=e.i(981140),i=e.i(369340),o=e.i(999682),l=e.i(635804),c=e.i(296626),d=e.i(248425),u="Checkbox",[p,f]=(0,n.createContextScope)(u),[m,g]=p(u),h=r.forwardRef((e,n)=>{let{__scopeCheckbox:o,name:l,checked:c,defaultChecked:u,required:p,disabled:f,value:g="on",onCheckedChange:h,form:v,...x}=e,[w,C]=r.useState(null),S=(0,a.useComposedRefs)(n,e=>C(e)),k=r.useRef(!1),N=!w||v||!!w.closest("form"),[E=!1,D]=(0,i.useControllableState)({prop:c,defaultProp:u,onChange:h}),P=r.useRef(E);return r.useEffect(()=>{let e=w?.form;if(e){let t=()=>D(P.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[w,D]),(0,t.jsxs)(m,{scope:o,state:E,disabled:f,children:[(0,t.jsx)(d.Primitive.button,{type:"button",role:"checkbox","aria-checked":y(E)?"mixed":E,"aria-required":p,"data-state":j(E),"data-disabled":f?"":void 0,disabled:f,value:g,...x,ref:S,onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,s.composeEventHandlers)(e.onClick,e=>{D(e=>!!y(e)||!e),N&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),N&&(0,t.jsx)(b,{control:w,bubbles:!k.current,name:l,value:g,checked:E,required:p,disabled:f,form:v,style:{transform:"translateX(-100%)"},defaultChecked:!y(u)&&u})]})});h.displayName=u;var v="CheckboxIndicator",x=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,forceMount:n,...s}=e,i=g(v,a);return(0,t.jsx)(c.Presence,{present:n||y(i.state)||!0===i.state,children:(0,t.jsx)(d.Primitive.span,{"data-state":j(i.state),"data-disabled":i.disabled?"":void 0,...s,ref:r,style:{pointerEvents:"none",...e.style}})})});x.displayName=v;var b=e=>{let{control:a,checked:n,bubbles:s=!0,defaultChecked:i,...c}=e,d=r.useRef(null),u=(0,o.usePrevious)(n),p=(0,l.useSize)(a);r.useEffect(()=>{let e=d.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(u!==n&&t){let r=new Event("click",{bubbles:s});e.indeterminate=y(n),t.call(e,!y(n)&&n),e.dispatchEvent(r)}},[u,n,s]);let f=r.useRef(!y(n)&&n);return(0,t.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:i??f.current,...c,tabIndex:-1,ref:d,style:{...e.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function y(e){return"indeterminate"===e}function j(e){return y(e)?"indeterminate":e?"checked":"unchecked"}var w=e.i(678784),C=e.i(647163);function S({className:e,...r}){return(0,t.jsx)(h,{"data-slot":"checkbox",className:(0,C.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),...r,children:(0,t.jsx)(x,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:(0,t.jsx)(w.CheckIcon,{className:"size-3.5"})})})}e.s(["Checkbox",()=>S],625959)},781947,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(647163);let n=(0,r.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 s({className:e,variant:r,...s}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,a.cn)(n({variant:r}),e),...s})}function i({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,a.cn)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",e),...r})}e.s(["Alert",()=>s,"AlertDescription",()=>i])},77705,e=>{"use strict";let t=(0,e.i(475254).default)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);e.s(["EyeOff",()=>t],77705)},642310,e=>{"use strict";let t=(0,e.i(475254).default)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);e.s(["default",()=>t])},412203,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(630374),n=Object.defineProperty,s=Object.defineProperties,i=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=r.createContext({}),p=r.forwardRef((e,t)=>
vendor: 5,225 bytes, line 5
5{let a;var n,p,g,h,v,{value:x,onChange:b,maxLength:y,textAlign:j="left",pattern:w,placeholder:C,inputMode:S="numeric",onComplete:k,pushPasswordManagerStrategy:N="increase-width",pasteTransformer:E,containerClassName:D,noScriptCSSFallback:P=m,render:T,children:R}=e,O=((e,t)=>{var r={};for(var a in e)l.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&o)for(var a of o(e))0>t.indexOf(a)&&c.call(e,a)&&(r[a]=e[a]);return r})(e,["value","onChange","maxLength","textAlign","pattern","placeholder","inputMode","onComplete","pushPasswordManagerStrategy","pasteTransformer","containerClassName","noScriptCSSFallback","render","children"]);let[M,I]=r.useState("string"==typeof O.defaultValue?O.defaultValue:""),_=null!=x?x:M,A=(a=r.useRef(),r.useEffect(()=>{a.current=_}),a.current),F=r.useCallback(e=>{null==b||b(e),I(e)},[b]),L=r.useMemo(()=>w?"string"==typeof w?new RegExp(w):w:null,[w]),B=r.useRef(null),H=r.useRef(null),W=r.useRef({value:_,onChange:F,isIOS:"undefined"!=typeof window&&(null==(p=null==(n=null==window?void 0:window.CSS)?void 0:n.supports)?void 0:p.call(n,"-webkit-touch-callout","none"))}),z=r.useRef({prev:[null==(g=B.current)?void 0:g.selectionStart,null==(h=B.current)?void 0:h.selectionEnd,null==(v=B.current)?void 0:v.selectionDirection]});r.useImperativeHandle(t,()=>B.current,[]),r.useEffect(()=>{let e=B.current,t=H.current;if(!e||!t)return;function r(){if(document.activeElement!==e){K(null),Z(null);return}let t=e.selectionStart,r=e.selectionEnd,a=e.selectionDirection,n=e.maxLength,s=e.value,i=z.current.prev,o=-1,l=-1,c;if(0!==s.length&&null!==t&&null!==r){let e=t===r,a=t===s.length&&s.length<n;if(e&&!a){if(0===t)o=0,l=1,c="forward";else if(t===n)o=t-1,l=t,c="backward";else if(n>1&&s.length>1){let e=0;if(null!==i[0]&&null!==i[1]){c=t<i[1]?"backward":"forward";let r=i[0]===i[1]&&i[0]<n;"backward"!==c||r||(e=-1)}o=e+t,l=e+t+1}}-1!==o&&-1!==l&&o!==l&&B.current.setSelectionRange(o,l,c)}let d=-1!==o?o:t,u=-1!==l?l:r,p=null!=c?c:a;K(d),Z(u),z.current.prev=[d,u,p]}if(W.current.value!==e.value&&W.current.onChange(e.value),z.current.prev=[e.selectionStart,e.selectionEnd,e.selectionDirection],document.addEventListener("selectionchange",r,{capture:!0}),r(),document.activeElement===e&&G(!0),!document.getElementById("input-otp-style")){let e=document.createElement("style");if(e.id="input-otp-style",document.head.appendChild(e),e.sheet){let t="background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";f(e.sheet,"[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"),f(e.sheet,`[data-input-otp]:autofill { ${t} }`),f(e.sheet,`[data-input-otp]:-webkit-autofill { ${t} }`),f(e.sheet,"@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"),f(e.sheet,"[data-input-otp] + * { pointer-events: all !important; }")}}let a=()=>{t&&t.style.setProperty("--root-height",`${e.clientHeight}px`)};a();let n=new ResizeObserver(a);return n.observe(e),()=>{document.removeEventListener("selectionchange",r,{capture:!0}),n.disconnect()}},[]);let[$,V]=r.useState(!1),[q,G]=r.useState(!1),[U,K]=r.useState(null),[X,Z]=r.useState(null);r.useEffect(()=>{var e;setTimeout(e=()=>{var e,t,r,a;null==(e=B.current)||e.dispatchEvent(new Event("input"));let n=null==(t=B.current)?void 0:t.selectionStart,s=null==(r=B.current)?void 0:r.selectionEnd,i=null==(a=B.current)?void 0:a.selectionDirection;null!==n&&null!==s&&(K(n),Z(s),z.current.prev=[n,s,i])},0),setTimeout(e,10),setTimeout(e,50)},[_,q]),r.useEffect(()=>{void 0!==A&&_!==A&&A.length<y&&_.length===y&&(null==k||k(_))},[y,k,A,_]);let J=function({containerRef:e,inputRef:t,pushPasswordManagerStrategy:a,isFocused:n}){let[s,i]=r.useState(!1),[o,l]=r.useState(!1),[c,d]=r.useState(!1),u=r.useMemo(()=>"none"!==a&&("increase-width"===a||"experimental-no-flickering"===a)&&s&&o,[s,o,a]),p=r.useCallback(()=>{let r=e.current,n=t.current;if(!r||!n||c||"none"===a)return;let s=r.getBoundingClientRect().left+r.offsetWidth,o=r.getBoundingClientRect().top+r.offsetHeight/2;0===document.querySelectorAll('[data-lastpass-icon-root],com-1password-button,[data-dashlanecreated],[style$="2147483647 !important;"]').length&&document.elementFromPoint(s-18,o)===r||(i(!0),d(!0))},[e,t,c,a]);return r.useEffect(()=>{let t=e.current;if(!t||"none"===a)return;function r(){l(window.innerWidth-t.getBoundingClientRect().right>=40)}r();let n=setInterval(r,1e3);return()=>{clearInterval(n)}},[e,a]),r.useEffect(()=>{let e=n||document.activeElement===t.current;if("none"===a||!e)return;let r=setTimeout(p,0),s=setTimeout(p,2e3),i=setTimeout(p,5e3),o=setTimeout(()=>{d(!0)},6e3);return()=>{clearTimeout(r),clearTimeout(s),clearTimeout(i),clearTimeout(o)}},[t,n,a,p]),{hasPWMBadge:s,willPushPWMBadge:u,PWM_BADGE_SPACE_WIDTH:"40px"}}({containerRef:H,inputRef:B,pushPasswordManagerStrategy:N,isFocused:q}),Q=r.useCallback(e=>{let t=e.currentTarget.value.slice(0,y);t.length>
50&&L&&!L.test(t)?e.preventDefault():("string"==typeof A&&t.length<A.length&&document.dispatchEvent(new Event("selectionchange")),F(t))},[y,F,A,L]),Y=r.useCallback(()=>{var e;if(B.current){let t=Math.min(B.current.value.length,y-1),r=B.current.value.length;null==(e=B.current)||e.setSelectionRange(t,r),K(t),Z(r)}G(!0)},[y]),ee=r.useCallback(e=>{var t,r;let a=B.current;if(!E&&(!W.current.isIOS||!e.clipboardData||!a))return;let n=e.clipboardData.getData("text/plain"),s=E?E(n):n;console.log({_content:n,content:s}),e.preventDefault();let i=null==(t=B.current)?void 0:t.selectionStart,o=null==(r=B.current)?void 0:r.selectionEnd,l=(i!==o?_.slice(0,i)+s+_.slice(o):_.slice(0,i)+s+_.slice(i)).slice(0,y);if(l.length>0&&L&&!L.test(l))return;a.value=l,F(l);let c=Math.min(l.length,y-1),d=l.length;a.setSelectionRange(c,d),K(c),Z(d)},[y,F,L,_]),et=r.useMemo(()=>({position:"relative",cursor:O.disabled?"default":"text",userSelect:"none",WebkitUserSelect:"none",pointerEvents:"none"}),[O.disabled]),er=r.useMemo(()=>({position:"absolute",inset:0,width:J.willPushPWMBadge?`calc(100% + ${J.PWM_BADGE_SPACE_WIDTH})`:"100%",clipPath:J.willPushPWMBadge?`inset(0 ${J.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:"100%",display:"flex",textAlign:j,opacity:"1",color:"transparent",pointerEvents:"all",background:"transparent",caretColor:"transparent",border:"0 solid transparent",outline:"0 solid transparent",boxShadow:"none",lineHeight:"1",letterSpacing:"-.5em",fontSize:"var(--root-height)",fontFamily:"monospace",fontVariantNumeric:"tabular-nums"}),[J.PWM_BADGE_SPACE_WIDTH,J.willPushPWMBadge,j]),ea=r.useMemo(()=>r.createElement("input",s(((e,t)=>{for(var r in t||(t={}))l.call(t,r)&&d(e,r,t[r]);if(o)for(var r of o(t))c.call(t,r)&&d(e,r,t[r]);return e})({autoComplete:O.autoComplete||"one-time-code"},O),i({"data-input-otp":!0,"data-input-otp-placeholder-shown":0===_.length||void 0,"data-input-otp-mss":U,"data-input-otp-mse":X,inputMode:S,pattern:null==L?void 0:L.source,"aria-placeholder":C,style:er,maxLength:y,value:_,ref:B,onPaste:e=>{var t;ee(e),null==(t=O.onPaste)||t.call(O,e)},onChange:Q,onMouseOver:e=>{var t;V(!0),null==(t=O.onMouseOver)||t.call(O,e)},onMouseLeave:e=>{var t;V(!1),null==(t=O.onMouseLeave)||t.call(O,e)},onFocus:e=>{var t;Y(),null==(t=O.onFocus)||t.call(O,e)},onBlur:e=>{var t;G(!1),null==(t=O.onBlur)||t.call(O,e)}}))),[Q,Y,ee,S,er,y,X,U,O,null==L?void 0:L.source,_]),en=r.useMemo(()=>({slots:Array.from({length:y}).map((e,t)=>{var r;let a=q&&null!==U&&null!==X&&(U===X&&t===U||t>=U&&t<X),n=void 0!==_[t]?_[t]:null;return{char:n,placeholderChar:void 0!==_[0]?null:null!=(r=null==C?void 0:C[t])?r:null,isActive:a,hasFakeCaret:a&&null===n}}),isFocused:q,isHovering:!O.disabled&&$}),[q,$,y,X,U,O.disabled,_]),es=r.useMemo(()=>T?T(en):r.createElement(u.Provider,{value:en},R),[R,en,T]);return r.createElement(r.Fragment,null,null!==P&&r.createElement("noscript",null,r.createElement("style",null,P)),r.createElement("div",{ref:H,"data-input-otp-container":!0,style:et,className:D},es,r.createElement("div",{style:{position:"absolute",inset:0,pointerEvents:"none"}},ea)))});function f(e,t){try{e.insertRule(t)}catch(e){console.error("input-otp could not insert CSS rule:",t)}}p.displayName="Input";var m=` 6[data-input-otp] { 7 --nojs-bg: white !important; 8 --nojs-fg: black !important; 9 10 background-color: var(--nojs-bg) !important; 11 color: var(--nojs-fg) !important; 12 caret-color: var(--nojs-fg) !important; 13 letter-spacing: .25em !important; 14 text-align: center !important; 15 border: 1px solid var(--nojs-fg) !important; 16 border-radius: 4px !important; 17 width: 100% !important; 18} 19@media (prefers-color-scheme: dark) { 20 [data-input-otp] { 21 --nojs-bg: black !important; 22 --nojs-fg: white !important; 23 } 24}`,g=(e.i(642310),e.i(647163));function h({className:e,containerClassName:r,...a}){return(0,t.jsx)(p,{"data-slot":"input-otp",containerClassName:(0,g.cn)("flex items-center gap-2 has-disabled:opacity-50",r),className:(0,g.cn)("disabled:cursor-not-allowed",e),...a})}function v({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"input-otp-group",className:(0,g.cn)("flex items-center",e),...r})}function x({index:e,className:a,...n}){let s=r.useContext(u),{char:i,hasFakeCaret:o,isActive:l}=s?.slots[e]??{};return(0,t.jsxs)("div",{"data-slot":"input-otp-slot","data-active":l,className:(0,g.cn)("data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]",a),...n,children:[i,o&&(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"animate-caret-blink bg-foreground h-4 w-px duration-1000"})})]})}var b=e.i(167881),y=e.i(531278),j=e.i(16715),w=e.i(920755),C=e.i(174117),S=e.i(618566);function k({email:e,isOpen:n,onOpenChange:s,onSuccess:i}){let[o,l]=(0,r.useState)(""),[c,d]=(0,r.useState)(!1),[u,p]=(0,r.useState)(!1),{toast:f}=(0,C.useToast)();(0,S.useRouter)();let m=(0,w.createClient)(),g=async()=>
24{if(6===o.length){d(!0);try{let t=e.trim().toLowerCase(),{error:r}=await m.auth.verifyOtp({email:t,token:o,type:"signup"});if(r&&(403===r.status||r.message.toLowerCase().includes("forbidden"))&&(console.log("Signup type failed, trying email type..."),r=(await m.auth.verifyOtp({email:t,token:o,type:"email"})).error),r){console.error("OTP Verification Error:",r);let e="Token has expired or is invalid"===r.message?"à¦à§à¦² à¦
থবা মà§à§à¦¾à¦¦à§à¦¤à§à¦¤à§à¦°à§à¦£ à¦à§à¦¡à¥¤ à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ সঠিঠà¦à§à¦¡à¦à¦¿ দিন।":r.message;(403===r.status||r.message.toLowerCase().includes("forbidden"))&&(e='সারà§à¦à¦¾à¦° থà§à¦à§ à¦
নà§à¦®à¦¤à¦¿ পাà¦à§à¦¾ যাà¦à§à¦à§ না। à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ নিশà§à¦à¦¿à¦¤ à¦à¦°à§à¦¨ যৠSupabase ডà§à¦¯à¦¾à¦¶à¦¬à§à¦°à§à¦¡à§ "Email OTP" সà§à¦¬à¦¿à¦§à¦¾à¦à¦¿ à¦à¦¾à¦²à§ à¦à¦à§à¥¤'),f({title:"à¦à§à¦°à¦¿à¦«à¦¿à¦à§à¦¶à¦¨ বà§à¦¯à¦°à§à¦¥",description:e,variant:"destructive"})}else f({title:"সফলà¦à¦¾à¦¬à§ à¦à§à¦°à¦¿à¦«à¦¾à¦ à¦à¦°à¦¾ হয়à§à¦à§!",description:"à¦à¦ªà¦¨à¦¾à¦° à¦
à§à¦¯à¦¾à¦à¦¾à¦à¦¨à§à¦ à¦à¦à¦¨ সà¦à§à¦°à¦¿à¦¯à¦¼à¥¤ à¦à¦ªà¦¨à¦¾à¦à§ ডà§à¦¯à¦¾à¦¶à¦¬à§à¦°à§à¦¡à§ নিয়ৠযাà¦à¦¯à¦¼à¦¾ হà¦à§à¦à§..."}),s(!1),setTimeout(()=>{window.location.href="/dashboard"},1e3)}catch(e){f({title:"তà§à¦°à§à¦à¦¿",description:"à¦à¦à¦à¦¿ à¦
পà§à¦°à¦¤à§à¦¯à¦¾à¦¶à¦¿à¦¤ তà§à¦°à§à¦à¦¿ à¦à¦à§à¦à§",variant:"destructive"})}finally{d(!1)}}},k=async()=>{p(!0);try{let{error:t}=await m.auth.resend({type:"signup",email:e});t?f({title:"à¦à§à¦¡ পাঠাতৠবà§à¦¯à¦°à§à¦¥",description:t.message,variant:"destructive"}):f({title:"নতà§à¦¨ à¦à§à¦¡ পাঠানৠহয়à§à¦à§",description:"à¦à¦ªà¦¨à¦¾à¦° à¦à¦®à§à¦à¦² à¦à¦¨à¦¬à¦à§à¦¸ à¦à§à¦ à¦à¦°à§à¦¨à¥¤"})}catch(e){f({title:"তà§à¦°à§à¦à¦¿",description:"à¦à§à¦¡ পà§à¦¨à¦°à¦¾à¦¯à¦¼ পাঠাতৠসমসà§à¦¯à¦¾ হয়à§à¦à§",variant:"destructive"})}finally{setTimeout(()=>p(!1),3e4)}};return(0,t.jsx)(a.Dialog,{open:n,onOpenChange:s,children:(0,t.jsxs)(a.DialogContent,{className:"sm:max-w-[450px]",children:[(0,t.jsxs)(a.DialogHeader,{children:[(0,t.jsx)(a.DialogTitle,{className:"text-xl font-bold text-center",children:"à¦à¦®à§à¦à¦² à¦à§à¦°à¦¿à¦«à¦¿à¦à§à¦¶à¦¨"}),(0,t.jsxs)(a.DialogDescription,{className:"text-center",children:["à¦à¦®à¦°à¦¾ ",(0,t.jsx)("span",{className:"font-semibold text-foreground",children:e})," ঠিà¦à¦¾à¦¨à¦¾à¦¯à¦¼ à¦à¦à¦à¦¿ à¦à§à¦°à¦¿à¦«à¦¿à¦à§à¦¶à¦¨ à¦à¦®à§à¦à¦² পাঠিয়à§à¦à¦¿à¥¤ à¦à¦ªà¦¨à¦¿ à¦à¦®à§à¦à¦²à§à¦° ",(0,t.jsx)("span",{className:"font-semibold text-foreground",children:"লিà¦à§à¦à§ à¦à§à¦²à¦¿à¦ à¦à¦°à§"})," à¦
থবা নিà¦à§à¦° ",(0,t.jsx)("span",{className:"font-semibold text-foreground",children:"৬-সà¦à¦à§à¦¯à¦¾à¦° à¦à§à¦¡à¦à¦¿"})," দিয়ৠà¦à§à¦°à¦¿à¦«à¦¾à¦ à¦à¦°à¦¤à§ পারà§à¦¨à¥¤"]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-6 py-4",children:[(0,t.jsxs)(h,{maxLength:6,value:o,onChange:l,disabled:c,children:[(0,t.jsxs)(v,{children:[(0,t.jsx)(x,{index:0}),(0,t.jsx)(x,{index:1}),(0,t.jsx)(x,{index:2})]}),(0,t.jsx)("div",{className:"w-2"}),(0,t.jsxs)(v,{children:[(0,t.jsx)(x,{index:3}),(0,t.jsx)(x,{index:4}),(0,t.jsx)(x,{index:5})]})]}),(0,t.jsx)(b.Button,{className:"w-full h-11 text-lg font-bold",disabled:6!==o.length||c,onClick:g,children:c?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.Loader2,{className:"mr-2 h-4 w-4 animate-spin"}),"যাà¦à¦¾à¦ à¦à¦°à¦¾ হà¦à§à¦à§..."]}):"à¦à§à¦°à¦¿à¦«à¦¾à¦ à¦à¦°à§à¦¨"})]}),(0,t.jsx)(a.DialogFooter,{className:"sm:justify-center border-t pt-4",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground mb-2",children:"à¦à§à¦¡ পাননি?"}),(0,t.jsx)(b.Button,{variant:"ghost",size:"sm",className:"text-primary hover:text-primary/80",onClick:k,disabled:u,children:u?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.RefreshCw,{className:"mr-2 h-3 w-3 animate-spin"}),"নতà§à¦¨ à¦à§à¦¡à§à¦° à¦à¦¨à§à¦¯ à¦
পà§à¦à§à¦·à¦¾ à¦à¦°à§à¦¨ (৩০সà§)"]}):"à¦à¦¬à¦¾à¦° à¦à§à¦¡ পাঠান"})]})})]})})}e.s(["OTPVerificationModal",()=>
24k],412203)},87942,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(618566),n=e.i(522016),s=e.i(920755),i=e.i(167881),o=e.i(23750),l=e.i(10708),c=e.i(970065),d=e.i(63209),u=e.i(286536),p=e.i(77705),f=e.i(781947),m=e.i(625959),g=e.i(412203);function h(){let[e,h]=(0,r.useState)(""),[v,x]=(0,r.useState)(""),[b,y]=(0,r.useState)(!1),[j,w]=(0,r.useState)(!0),[C,S]=(0,r.useState)(!1),[k,N]=(0,r.useState)(null),[E,D]=(0,r.useState)(!1),[P,T]=(0,r.useState)(""),R=(0,a.useRouter)();r.default.useEffect(()=>{(async()=>{let e=(0,s.createClient)(),{data:{session:t}}=await e.auth.getSession();t&&R.push("/dashboard")})()},[R]);let O=async t=>{t.preventDefault(),S(!0),N(null);try{let t=(0,s.createClient)();document.cookie=`remember-me=${j}; path=/; max-age=31536000; SameSite=Lax`;let{error:r}=await t.auth.signInWithPassword({email:e,password:v});if(r)return void("Email not confirmed"===r.message?(T(e),N("à¦à¦ªà¦¨à¦¾à¦° à¦à¦®à§à¦à¦² à¦à§à¦°à¦¿à¦«à¦¾à¦ à¦à¦°à¦¾ হয়নি। à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ à¦à¦®à§à¦à¦² à¦à§à¦°à¦¿à¦«à¦¾à¦ à¦à¦°à§à¦¨à¥¤")):"Invalid login credentials"===r.message?N("à¦à§à¦² à¦à¦®à§à¦à¦² à¦
থবা পাসà¦à¦¯à¦¼à¦¾à¦°à§à¦¡à¥¤"):N(r.message));window.location.href="/dashboard"}catch(e){N("à¦à¦à¦à¦¿ à¦
পà§à¦°à¦¤à§à¦¯à¦¾à¦¶à¦¿à¦¤ তà§à¦°à§à¦à¦¿ à¦à¦à§à¦à§")}finally{S(!1)}};return(0,t.jsxs)("div",{className:"flex min-h-screen items-center justify-center bg-muted/30 p-4",children:[(0,t.jsxs)(c.Card,{className:"w-full max-w-md",children:[(0,t.jsxs)(c.CardHeader,{className:"space-y-1",children:[(0,t.jsx)("div",{className:"flex justify-center mb-4",children:(0,t.jsx)("img",{src:"/logo.png",alt:"Nex IT Solution",className:"h-12 w-auto"})}),(0,t.jsx)(c.CardTitle,{className:"text-2xl font-bold text-center",children:"সà§à¦¬à¦¾à¦à¦¤à¦® ফিরৠà¦à¦¸à§à¦à§à¦¨"}),(0,t.jsx)(c.CardDescription,{className:"text-center",children:"à¦à¦ªà¦¨à¦¾à¦° Nex IT Solution à¦
à§à¦¯à¦¾à¦à¦¾à¦à¦¨à§à¦à§ সাà¦à¦¨ à¦à¦¨ à¦à¦°à§à¦¨"})]}),(0,t.jsx)(c.CardContent,{children:(0,t.jsxs)("form",{onSubmit:O,className:"space-y-4",children:[k&&(0,t.jsxs)(f.Alert,{variant:"destructive",children:[(0,t.jsx)(d.AlertCircle,{className:"h-4 w-4"}),(0,t.jsxs)(f.AlertDescription,{className:"flex items-center justify-between gap-4",children:[(0,t.jsx)("span",{children:k}),P&&(0,t.jsx)(i.Button,{variant:"link",className:"p-0 h-auto text-destructive underline font-bold",onClick:()=>D(!0),children:"à¦à§à¦°à¦¿à¦«à¦¾à¦ à¦à¦°à§à¦¨"})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(l.Label,{htmlFor:"email",children:"à¦à¦®à§à¦à¦²"}),(0,t.jsx)(o.Input,{id:"email",type:"email",placeholder:"à¦à¦ªà¦¨à¦¾à¦° à¦à¦®à§à¦à¦²",value:e,onChange:e=>h(e.target.value),required:!0,disabled:C})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(l.Label,{htmlFor:"password",children:"পাসà¦à¦¯à¦¼à¦¾à¦°à§à¦¡"}),(0,t.jsx)(n.default,{href:"/auth/forgot-password",className:"text-sm text-primary hover:underline font-medium",children:"পাসà¦à¦¯à¦¼à¦¾à¦°à§à¦¡ à¦à§à¦²à§ à¦à§à¦à§à¦¨?"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.Input,{id:"password",type:b?"text":"password",placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",value:v,onChange:e=>x(e.target.value),required:!0,disabled:C,className:"pr-10"}),(0,t.jsx)("button",{type:"button",onClick:()=>y(!b),className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground focus:outline-none",tabIndex:-1,children:b?(0,t.jsx)(p.EyeOff,{className:"h-4 w-4"}):(0,t.jsx)(u.Eye,{className:"h-4 w-4"})})]})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2 py-2",children:[(0,t.jsx)(m.Checkbox,{id:"remember",checked:j,onCheckedChange:e=>w(!!e),disabled:C}),(0,t.jsx)(l.Label,{htmlFor:"remember",className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer",children:"à¦à¦®à¦¾à¦à§ মনৠরাà¦à§à¦¨"})]}),(0,t.jsx)(i.Button,{type:"submit",className:"w-full h-11 text-lg font-bold",disabled:C,children:C?"পà§à¦°à¦¬à§à¦¶ à¦à¦°à¦¾ হà¦à§à¦à§...":"পà§à¦°à¦¬à§à¦¶ à¦à¦°à§à¦¨"})]})}),(0,t.jsx)(c.CardFooter,{className:"flex flex-col space-y-2",children:(0,t.jsxs)("div",{className:"text-sm text-muted-foreground text-center",children:["à¦
à§à¦¯à¦¾à¦à¦¾à¦à¦¨à§à¦ নà§à¦? ",(0,t.jsx)(n.default,{href:"/auth/sign-up",className:"text-primary hover:underline font-medium",children:"à¦
à§à¦¯à¦¾à¦à¦¾à¦à¦¨à§à¦ তà§à¦°à¦¿ à¦à¦°à§à¦¨"})]})})]}),(0,t.jsx)(g.OTPVerificationModal,{email:P,isOpen:E,onOpenChange:D,onSuccess:()=>{}})]})}e.s(["default",()=>h])}]);
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.