1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,3812,e=>{"use strict";e.s(["Input",()=>n]);var t=e.i(51574),a=e.i(78543),s=e.i(49838);let n=(0,a.forwardRef)(function(e,n){let{label:r,error:c,optional:l,iconLeft:i,suffix:d,className:o,id:h,...x}=e,u=(0,a.useId)(),p=null!=h?h:u;return(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[r&&(0,t.jsxs)("label",{htmlFor:p,className:"font-display text-xs font-semibold uppercase tracking-wide text-pewter",children:[r,l&&(0,t.jsx)("span",{className:"ml-1 normal-case text-muted",children:"(không bắt buá»c)"})]}),(0,t.jsxs)("div",{className:(0,s.cn)("flex items-center gap-2 rounded-sharp border border-border bg-input px-3 transition-all duration-150 ease-out","focus-within:border-accent focus-within:shadow-tron",c&&"border-error"),children:[i&&(0,t.jsx)(i,{className:"size-4 shrink-0 text-muted","aria-hidden":!0}),(0,t.jsx)("input",{id:p,ref:n,className:(0,s.cn)("h-10 w-full bg-transparent text-sm text-body outline-none focus:outline-none placeholder:text-muted",o),"aria-invalid":!!c,...x}),d&&(0,t.jsx)("div",{className:"shrink-0",children:d})]}),c&&(0,t.jsx)("p",{className:"text-xs text-error-text",children:c})]})})},64015,e=>{"use strict";e.s(["Check",()=>t],64015);let t=(0,e.i(44133).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},96359,e=>{"use strict";e.s(["Checkbox",()=>r]);var t=e.i(51574),a=e.i(78543),s=e.i(64015),n=e.i(49838);let r=(0,a.forwardRef)(function(e,r){let{label:c,className:l,id:i,...d}=e,o=(0,a.useId)(),h=null!=i?i:o;return(0,t.jsxs)("label",{htmlFor:h,className:(0,n.cn)("inline-flex select-none items-center gap-2",l),children:[(0,t.jsxs)("span",{className:"relative inline-flex size-4 shrink-0 items-center justify-center",children:[(0,t.jsx)("input",{id:h,ref:r,type:"checkbox",className:"peer absolute inset-0 size-4 cursor-pointer appearance-none rounded-sharp border border-border bg-input transition-all duration-150 ease-out checked:border-accent checked:bg-accent",...d}),(0,t.jsx)(s.Check,{className:"pointer-events-none relative size-3 text-page opacity-0 peer-checked:opacity-100","aria-hidden":!0})]}),c&&(0,t.jsx)("span",{className:"text-sm text-body",children:c})]})})},80567,e=>{"use strict";e.s(["Eye",()=>t],80567);let t=(0,e.i(44133).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"}]])},97635,e=>{"use strict";e.s(["EyeOff",()=>t],97635);let t=(0,e.i(44133).default)("eye-off",[["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"}]])},49537,e=>{"use strict";e.s(["Truck",()=>t],49537);let t=(0,e.i(44133).default)("truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]])},33245,e=>{"use strict";e.s(["Star",()=>t],33245);let t=(0,e.i(44133).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},70192,e=>{"use strict";e.s(["Cpu",()=>t],70192);let t=(0,e.i(44133).default)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}
1],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]])},6772,e=>{"use strict";e.s(["ShieldCheck",()=>t],6772);let t=(0,e.i(44133).default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},75810,e=>{"use strict";e.s(["AuthShell",()=>i],75810);var t=e.i(51574),a=e.i(70192),s=e.i(6772),n=e.i(33245);let r=[{icon:e.i(49537).Truck,label:"Theo dõi ÄÆ¡n hà ng & váºn chuyá»n realtime"},{icon:a.Cpu,label:"Lưu & chá»nh sá»a cấu hình PC Builder"},{icon:s.ShieldCheck,label:"Quản lý thiết bá» & bảo hà nh Äiá»n tá»"},{icon:n.Star,label:"TÃch Äiá»m thưá»ng & ưu Äãi thà nh viên"}],c=[{value:"120K+",label:"Khách hà ng"},{value:"4.9â
",label:"Äánh giá"},{value:"24/7",label:"Há» trợ"}];var l=e.i(49838);function i(e){let{heroTitle:a,heroSub:s,children:n}=e;return(0,t.jsxs)("div",{className:"mx-auto grid w-full max-w-[980px] grid-cols-1 overflow-hidden rounded border border-border bg-surface-2 shadow-pop md:grid-cols-2",children:[(0,t.jsxs)("div",{className:"atmos-glow hex-texture relative hidden min-h-[600px] flex-col justify-between overflow-hidden border-r border-border-soft bg-gradient-to-b from-surface-2 to-page p-11 md:flex",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("p",{className:"font-display text-xs font-bold uppercase tracking-[0.3em] text-accent",children:"TP Lab · Account"}),(0,t.jsx)("h2",{className:"mt-5 font-display text-[40px] font-bold uppercase leading-[1.05] tracking-wide text-heading",children:a}),(0,t.jsx)("p",{className:"mt-3.5 max-w-[300px] text-sm leading-relaxed text-pewter",children:s})]}),(0,t.jsx)("div",{className:"relative my-6 flex flex-col gap-3.5",children:r.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{className:"flex size-[26px] shrink-0 items-center justify-center rounded-sharp border border-accent text-accent shadow-tron",children:(0,t.jsx)(e.icon,{className:"size-3.5","aria-hidden":!0})}),(0,t.jsx)("span",{className:"text-[13.5px] text-body",children:e.label})]},e.label))}),(0,t.jsx)("div",{className:"relative flex gap-6 border-t border-border-soft pt-5",children:c.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"tnum font-display text-2xl font-bold text-accent",children:e.value}),(0,t.jsx)("div",{className:"mt-0.5 text-[11px] uppercase tracking-wide text-muted",children:e.label})]},e.label))})]}),(0,t.jsx)("div",{className:(0,l.cn)("p-8 md:p-11"),children:n})]})}},40321,e=>{"use strict";e.s(["AuthTabs",()=>n]);var t=e.i(51574),a=e.i(87645),s=e.i(49838);function n(e){let{active:n,redirect:r}=e,c=r?"?redirect=".concat(encodeURIComponent(r)):"";return(0,t.jsxs)("div",{className:"mb-7 grid grid-cols-2 overflow-hidden rounded-sharp border border-border",children:[(0,t.jsx)(a.default,{href:"/account/login".concat(c),className:(0,s.cn)("border-r border-border py-3.5 text-center font-display text-[13px] font-bold uppercase tracking-[0.2em] transition-colors","login"===n?"bg-accent-wash text-accent":"text-pewter hover:text-body"),children:"ÄÄng nháºp"}),(0,t.jsx)(a.default,{href:"/account/register".concat(c),className:(0,s.cn)("py-3.5 text-center font-display text-[13px] font-bold uppercase tracking-[0.2em] transition-colors","register"===n?"bg-accent-wash text-accent":"text-pewter hover:text-body"),children:"ÄÄng ký"})]})}},49297,e=>{"use strict";e.s(["LoginForm",()=>p]);var t=e.i(51574),a=e.i(78543),s=e.i(87645),n=e.i(55642),r=e.i(80567),c=e.i(97635),l=e.i(33477),i=e.i(79323),d=e.i(75810),o=e.i(40321),h=e.i(59544),x=e.i(96359),u=e.i(3812);
1function p(){let e=(0,n.useRouter)(),p=(0,n.useSearchParams)().get("redirect"),m=(0,l.useAuthStore)(e=>e.login),f=(0,i.useUiStore)(e=>e.toast),[g,b]=(0,a.useState)(""),[y,k]=(0,a.useState)(""),[v,j]=(0,a.useState)(!1),[N,w]=(0,a.useState)(!0),[C,M]=(0,a.useState)(""),[S,T]=(0,a.useState)(!1);async function z(){if(!g.trim()||!y)return void M("Vui lòng nháºp email và máºt khẩu.");M(""),T(!0);try{var t,a;await m(g.trim(),y,N);let s=null!=(a=null==(t=l.useAuthStore.getState().user)?void 0:t.name)?a:g;f("success","ÄÄng nháºp thà nh công","Chà o mừng trá» lại, ".concat(s,".")),e.push(p||"/account")}catch(e){M(e instanceof Error?e.message:"Äã xảy ra lá»i không xác Äá»nh. Vui lòng thá» lại.")}finally{T(!1)}}return(0,t.jsxs)(d.AuthShell,{heroTitle:"Defy The Limits",heroSub:"ÄÄng nháºp Äá» truy cáºp ÄÆ¡n hà ng, cấu hình Äã lưu và Äặc quyá»n thà nh viên TP Lab.",children:[(0,t.jsx)(o.AuthTabs,{active:"login",redirect:p}),(0,t.jsx)("h1",{className:"font-display text-xl font-bold uppercase tracking-wide text-heading",children:"Chà o mừng trá» lại"}),(0,t.jsx)("p",{className:"mt-1 text-[13px] text-pewter",children:"ÄÄng nháºp Äá» theo dõi ÄÆ¡n hà ng & cấu hình cá»§a bạn."}),(0,t.jsxs)("form",{className:"mt-6 flex flex-col gap-4",onSubmit:e=>{e.preventDefault(),z()},children:[(0,t.jsx)(u.Input,{label:"Email hoặc SÄT",type:"text",placeholder:"[email protected]",autoComplete:"username",value:g,onChange:e=>{b(e.target.value),M("")}}),(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("label",{className:"font-display text-xs font-semibold uppercase tracking-wide text-pewter",children:"Máºt khẩu"}),(0,t.jsx)(s.default,{href:"/account/forgot-password".concat(p?"?redirect=".concat(encodeURIComponent(p)):""),className:"text-[11px] text-accent hover:underline",children:"Quên máºt khẩu?"})]}),(0,t.jsx)(u.Input,{type:v?"text":"password",placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",autoComplete:"current-password",value:y,onChange:e=>{k(e.target.value),M("")},suffix:(0,t.jsx)("button",{type:"button","aria-label":v?"Ẩn máºt khẩu":"Hiá»n máºt khẩu",onClick:()=>j(e=>!e),className:"text-muted hover:text-accent",children:v?(0,t.jsx)(c.EyeOff,{className:"size-4"}):(0,t.jsx)(r.Eye,{className:"size-4"})})})]}),C&&(0,t.jsxs)("p",{className:"flex items-center gap-1.5 text-[12.5px] text-error-text",children:[(0,t.jsx)("span",{"aria-hidden":!0,children:"â "}),C]}),(0,t.jsx)(x.Checkbox,{label:"Ghi nhá» ÄÄng nháºp",checked:N,onChange:e=>w(e.target.checked)}),(0,t.jsx)(h.Button,{type:"submit",variant:"solid",size:"lg",fullWidth:!0,loading:S,children:"ÄÄng nháºp"})]}),(0,t.jsxs)("div",{className:"my-6 flex items-center gap-3.5",children:[(0,t.jsx)("span",{className:"h-px flex-1 bg-border"}),(0,t.jsx)("span",{className:"text-[11px] uppercase tracking-wide text-muted",children:"hoặc"}),(0,t.jsx)("span",{className:"h-px flex-1 bg-border"})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,t.jsxs)(h.Button,{type:"button",variant:"dark",onClick:()=>f("info","ÄÄng nháºp mạng xã há»i","TÃnh nÄng demo â vui lòng dùng email."),children:[(0,t.jsx)("span",{className:"font-bold text-accent",children:"G"})," Google"]}),(0,t.jsxs)(h.Button,{type:"button",variant:"dark",onClick:()=>f("info","ÄÄng nháºp mạng xã há»i","TÃnh nÄng demo â vui lòng dùng email."),children:[(0,t.jsx)("span",{className:"font-bold text-accent",children:"f"})," Facebook"]})]}),(0,t.jsxs)("p",{className:"mt-6 text-center text-[13px] text-pewter",children:["Chưa có tà i khoản?"," ",(0,t.jsx)(s.default,{href:"/account/register".concat(p?"?redirect=".concat(encodeURIComponent(p)):""),className:"font-semibold text-accent hover:underline",children:"ÄÄng ký ngay"})]})]})}}]);
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.