(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2323,e=>{"use strict";e.s(["adminInputCls",0,"w-full rounded-lg border border-[#d9e2f7] bg-white px-3.5 py-2.5 text-sm text-[#132b87] placeholder:text-[#a5b0cc] focus:outline-none focus:border-[#1f3fb8] focus:ring-2 focus:ring-[#1f3fb8]/15 transition","adminLabelCls",0,"block text-xs font-medium text-[#5a688d] mb-1.5"])},95187,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={callServer:function(){return i.callServer},createServerReference:function(){return l.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var a in s)Object.defineProperty(t,a,{enumerable:!0,get:s[a]});let i=e.r(32120),n=e.r(92245),l=e.r(35326)},70656,e=>{"use strict";var r=e.i(43476),t=e.i(71645),s=e.i(95187);let a=(0,s.createServerReference)("60837149110230b418f10ce3206e4f15aabc97415d",s.callServer,void 0,s.findSourceMapURL,"login");var i=e.i(2323);let n={};e.s(["default",0,function(){let[e,s,l]=(0,t.useActionState)(a,n),[o,c]=(0,t.useState)(!1);return(0,r.jsxs)("form",{action:s,className:"space-y-5",children:[(0,r.jsxs)("label",{className:"block",children:[(0,r.jsx)("span",{className:"mb-1.5 block text-xs font-medium text-[#5a688d]",children:"Email"}),(0,r.jsx)("input",{type:"email",name:"email",required:!0,autoComplete:"username",className:i.adminInputCls}),e?.errors?.email?.[0]&&(0,r.jsx)("span",{className:"mt-1 block text-xs text-red-600",children:e.errors.email[0]})]}),(0,r.jsxs)("div",{className:"block",children:[(0,r.jsx)("label",{htmlFor:"admin-password",className:"mb-1.5 block text-xs font-medium text-[#5a688d]",children:"Password"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{id:"admin-password",type:o?"text":"password",name:"password",required:!0,autoComplete:"current-password",className:`${i.adminInputCls} pr-11`}),(0,r.jsx)("button",{type:"button",onClick:()=>c(e=>!e),className:"absolute inset-y-0 right-0 flex w-11 items-center justify-center text-[#7a88ad] hover:text-[#1f3fb8]","aria-label":o?"Hide password":"Show password","aria-pressed":o,children:o?(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",className:"h-5 w-5","aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 3l18 18M10.6 10.7a2 2 0 002.7 2.7M9.9 4.2A10.8 10.8 0 0112 4c5.2 0 8.7 4.6 9.7 6.2a3.2 3.2 0 010 3.6 16.1 16.1 0 01-2.4 3M6.6 6.6a16.2 16.2 0 00-4.3 5.6 3.2 3.2 0 000 3.6C3.3 17.4 6.8 22 12 22a10.8 10.8 0 005.4-1.4"})}):(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",className:"h-5 w-5","aria-hidden":"true",children:[(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.3 10.2a3.2 3.2 0 000 3.6C3.3 15.4 6.8 20 12 20s8.7-4.6 9.7-6.2a3.2 3.2 0 000-3.6C20.7 8.6 17.2 4 12 4S3.3 8.6 2.3 10.2z"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})})]}),e?.errors?.password?.[0]&&(0,r.jsx)("span",{className:"mt-1 block text-xs text-red-600",children:e.errors.password[0]})]}),e?.message&&(0,r.jsx)("p",{className:"text-sm text-red-600",role:"alert",children:e.message}),(0,r.jsx)("button",{type:"submit",disabled:l,className:"w-full rounded-full bg-[#1f3fb8] px-6 py-3 text-sm font-semibold text-white transition hover:bg-[#18339a] disabled:opacity-60",children:l?"Signing in...":"Sign in"})]})}],70656)}]);