PageSourceSearch

https://j2proxy.vn/_next/static/chunks/1268.7396a68d170416c8.js

js j2proxy.vn collected 2026-09-24 15:16:03 UTC 21,642 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1268,63030],{5359:(e,t,r)=>{r.d(t,{i:()=>l});var i=r(20063),n=r(12115);let a={"/dashboard":[{title:"Dashboard",link:"/dashboard"}],"/proxy-tinh":[{title:"Overview",link:"/"},{title:"Proxy Tĩnh",link:"/proxy-tinh"}],"/proxy-xoay":[{title:"Overview",link:"/"},{title:"Proxy Xoay",link:"/proxy-xoay"}],"/key-xoay":[{title:"Overview",link:"/"},{title:"Key Xoay",link:"/key-xoay"}],"/proxy-datacenter":[{title:"Overview",link:"/"},{title:"Proxy Datacenter",link:"/proxy-datacenter"}],"/combo-proxy":[{title:"Overview",link:"/"},{title:"Combo proxy",link:"/combo-proxy"}],"/proxy-marketplace":[{title:"Overview",link:"/"},{title:"Proxy Marketplace",link:"/proxy-marketplace"}],"/lich-su":[{title:"Lịch sử",link:"/lich-su"}],"/proxies":[{title:"Danh s\xe1ch proxy",link:"/proxies"}],"/proxies-datacenter":[{title:"Danh s\xe1ch proxy Datacenter",link:"/proxies-datacenter"}],"/proxies-xoay":[{title:"Danh s\xe1ch proxy xoay",link:"/proxies-xoay"}],"/keys-xoay":[{title:"Danh s\xe1ch key xoay",link:"/keys-xoay"}],"/don-hang":[{title:"Lịch sử mua h\xe0ng",link:"/don-hang"}],"/lich-su-doi-proxy":[{title:"Lịch sử đổi proxy",link:"/lich-su-doi-proxy"}],"/check-proxy":[{title:"Check proxy",link:"/check-proxy"}],"/ho-tro":[{title:"Hỗ trợ",link:"/ho-tro"}],"/huong-dan":[{title:"Hướng dẫn",link:"/huong-dan"}],"/tai-lieu-api":[{title:"T\xe0i liệu API",link:"/tai-lieu-api"}],"/doi-tac":[{title:"Đối t\xe1c",link:"/doi-tac"}],"/chinh-sach":[{title:"Ch\xednh s\xe1ch",link:"/chinh-sach"}],"/dieu-khoan-su-dung":[{title:"Điều khoản sử dụng",link:"/dieu-khoan-su-dung"}]};function l(){let e=(0,i.usePathname)();return(0,n.useMemo)(()=>{if(a[e])return a[e];let t=e.split("/").filter(Boolean);return t.map((e,r)=>{let i="/".concat(t.slice(0,r+1).join("/"));return{title:e.charAt(0).toUpperCase()+e.slice(1),link:i}})},[e])}},6259:(e,t,r)=>{r.d(t,{SQ:()=>s,_2:()=>c,lp:()=>u,mB:()=>d,rI:()=>l,ty:()=>o});var i=r(95155);r(12115);var n=r(47971),a=r(64269);function l(e){let{...t}=e;return(0,i.jsx)(n.bL,{"data-slot":"dropdown-menu",...t})}function o(e){let{...t}=e;return(0,i.jsx)(n.l9,{"data-slot":"dropdown-menu-trigger",...t})}function s(e){let{className:t,sideOffset:r=4,...l}=e;return(0,i.jsx)(n.ZL,{children:(0,i.jsx)(n.UC,{"data-slot":"dropdown-menu-content",sideOffset:r,className:(0,a.cn)("bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),...l})})}function c(e){let{className:t,inset:r,variant:l="default",...o}=e;return(0,i.jsx)(n.q7,{"data-slot":"dropdown-menu-item","data-inset":r,"data-variant":l,className:(0,a.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...o})}function u(e){let{className:t,inset:r,...l}=e;return(0,i.jsx)(n.JU,{"data-slot":"dropdown-menu-label","data-inset":r,className:(0,a.cn)("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t),...l})}function d(e){let{className:t,...r}=e;return(0,i.jsx)(n.wv,{"data-slot":"dropdown-menu-separator",className:(0,a.cn)("bg-border -mx-1 my-1 h-px",t),...r})}},20865:(e,t,r)=>{r.d(t,{CI:()=>u,IL:()=>s,Jv:()=>c,LN:()=>o,mD:()=>l});var i=r(96199),n=r(75746),a=r(69715);function l(){return window.location.host}function o(){let e="true"===sessionStorage.getItem("preview_mode")?new URLSearchParams(window.location.search).get("previewTemplate"):null;return e?"/?previewTemplate=".concat(e):"/"}function s(){return"true"===sessionStorage.getItem("preview_mode")}function c(e,t){return s()?(n.k.getState().setUser(a._o),Promise.resolve({code:null,error:null})):(0,i.Jv)(e,t)}function u(e){return s()?(n.k.getState().clearUser(),Promise.resolve(void 0)):(0,i.CI)(e)}},25087:(e,t,r)=>{r.r(t),r.d(t,{default:()=>N});var i=r(95155),n=r(3998),a=r(38867),l=r(81003),o=r(12115),s=r(20063),c=r(5359),u=r(63548);let d={"/":"Tổng quan","/users/me":"Th\xf4ng tin c\xe1 nh\xe2n"};function m(){let e=(0,s.useRouter)(),t=(0,s.usePathname)(),r=(0,s.use
1SearchParams)(),n=(0,c.i)(),a=(()=>{let e=function(e,t){for(let i of u.C){var r;let n=i.url.split("?")[0],a=null!=(r=i.items)?r:[];if(0===a.length){if(n!==e)continue;return"/"===n?[{label:i.title,href:"/"}]:[{label:"Tổng quan",href:"/"},{label:i.title,href:n}]}let l=a.filter(t=>t.url.split("?")[0]===e);if(0===l.length)continue;let o=l.find(e=>{var r;let i=new URLSearchParams(null!=(r=e.url.split("?")[1])?r:"").get("tab");return i?i===t:!t}),s=null!=o?o:l[0];return[{label:i.title,href:n},{label:s.title,href:s.url}]}return null}(t,r.get("tab"));if(e)return e;if("/"===t)return[{label:"Tổng quan",href:"/"}];let i=[{label:"Tổng quan",href:"/"}];if(d[t])return i.push({label:d[t],href:t}),i;let a=t.split("/").filter(Boolean),l="";return a.forEach(e=>{if(l+="/".concat(e),!Object.keys(d).some(e=>e.startsWith(l+"/")&&t.startsWith(e)))if(d[l])i.push({label:d[l],href:l});else{let t=n.find(e=>e.link===l);t?i.push({label:t.title,href:t.link}):i.push({label:e.charAt(0).toUpperCase()+e.slice(1),href:l})}}),i})();return(0,i.jsx)("div",{className:"flex h-[18px] max-w-full min-w-0 flex-wrap items-center gap-x-2 gap-y-1 text-sm md:flex-nowrap",children:a.map((t,r)=>(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)("button",{onClick:()=>e.push(t.href),className:"text-sm leading-[18px] font-normal transition-colors hover:cursor-pointer hover:text-[#0F62FE] ".concat(0===r?"shrink-0 text-[#0F62FE]":"truncate text-[#161616]"),children:t.label}),r<a.length-1&&(0,i.jsx)("span",{className:"shrink-0 text-[#161616]",children:"/"})]},r))})}var h=r(72264);function x(){let[e,t]=(0,o.useState)([{id:1,title:"Đơn h\xe0ng mới",time:"1 ph\xfat trước",message:"Bạn đ\xe3 tạo đơn h\xe0ng mới c\xe1ch đ\xe2y 1 ph\xfat, vui l\xf2ng check đơn h\xe0ng",read:!1},{id:2,title:"Thay đổi mật khẩu",time:"1 ng\xe0y trước",message:"Bạn đ\xe3 thay đổi mật khẩu mới, vui l\xf2ng kiểm tra lại th\xf4ng tin đầy đủ.",read:!1},{id:3,title:"Thay đổi mật khẩu",time:"1 ng\xe0y trước",message:"Bạn đ\xe3 thay đổi mật khẩu mới, vui l\xf2ng kiểm tra lại th\xf4ng tin đầy đủ.",read:!1},{id:4,title:"Thay đổi mật khẩu",time:"1 ng\xe0y trước",message:"Bạn đ\xe3 thay đổi mật khẩu mới, vui l\xf2ng kiểm tra lại th\xf4ng tin đầy đủ.",read:!1},{id:5,title:"Thay đổi mật khẩu",time:"1 ng\xe0y trước",message:"Bạn đ\xe3 thay đổi mật khẩu mới, vui l\xf2ng kiểm tra lại th\xf4ng tin đầy đủ.",read:!1},{id:6,title:"Thay đổi mật khẩu",time:"1 ng\xe0y trước",message:"Bạn đ\xe3 thay đổi mật khẩu mới, vui l\xf2ng kiểm tra lại th\xf4ng tin đầy đủ.",read:!1},{id:7,title:"Thay đổi mật khẩu",time:"1 ng\xe0y trước",message:"Bạn đ\xe3 thay đổi mật khẩu mới, vui l\xf2ng kiểm tra lại th\xf4ng tin đầy đủ.",read:!1},{id:8,title:"Thay đổi mật khẩu",time:"1 ng\xe0y trước",message:"Bạn đ\xe3 thay đổi mật khẩu mới, vui l\xf2ng kiểm tra lại th\xf4ng tin đầy đủ.",read:!1},{id:9,title:"Thay đổi mật khẩu",time:"1 ng\xe0y trước",message:"Bạn đ\xe3 thay đổi mật khẩu mới, vui l\xf2ng kiểm tra lại th\xf4ng tin đầy đủ.",read:!1}]);return(0,i.jsxs)("div",{className:"relative flex h-10 w-10 shrink-0 items-center justify-center overflow-visible rounded-[100px] 2xl:h-[38px] 2xl:w-[38px]",children:[(0,i.jsx)(h.F.NotifyIcon,{className:"text-icon-template-3 h-[26px] w-[26px]"}),e.some(e=>!e.read)&&(0,i.jsx)("div",{className:"bg-number-noti/20 absolute -top-0.5 -right-1 flex h-[18px] w-[18px] items-center justify-center rounded-full",children:(0,i.jsx)("span",{className:"bg-number-noti flex h-[14.55px] w-[14.55px] items-center justify-center rounded-full text-xs font-bold text-white",children:e.filter(e=>!e.read).length})})]})}var p=r(6259),f=r(75746),g=r(63590),y=r(20865),v=r(64269),k=r(52619),w=r.n(k),b=r(15239);let j="rounded-[12px] px-1.5 py-1 text-sm font-normal text-[#18181B] focus:bg-[#F4F4F5] cursor-pointer";function _(){let e=(0,f.k)(e=>e.user),t=(0,s.usePathname)(),r=null==t?void 0:t.startsWith("/admin"),[n,a]=o.use
1State(!1),[l,c]=o.useState(!1);if(e){var u;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(p.rI,{children:[(0,i.jsx)(p.ty,{asChild:!0,children:(0,i.jsxs)("div",{className:(0,v.cn)("group flex max-w-[min(100%,200px)] min-w-0 shrink-0 flex-row items-center justify-center gap-2 rounded-full border border-[#FCE3C5] bg-[#FEF5EC] px-3 py-2 hover:cursor-pointer sm:max-w-[240px] lg:max-w-[280px]","data-[state=open]:border-[#DF3B30] data-[state=open]:shadow-[0px_1px_2px_rgba(0,0,0,0.05),0px_0px_0px_4px_#FFEBEB]"),children:[(0,i.jsxs)("div",{className:"flex min-w-0 items-center gap-1",children:[(0,i.jsx)(b.default,{src:"/images/images-Template3/user.svg",alt:"user",width:22,height:22,className:"h-[22px] w-[22px] shrink-0 rounded-full"}),(0,i.jsx)("span",{className:"min-w-0 truncate text-sm font-medium text-[#18181B]",children:((null==e?void 0:e.firstName)+" "+(null==e?void 0:e.lastName)).trim()})]}),(0,i.jsx)("div",{className:"flex h-[18px] w-[18px] shrink-0 items-center justify-center transition-transform group-data-[state=open]:rotate-180",children:(0,i.jsx)(h.F.ChevronsDownSolidIcon,{className:"text-icon-template-3 h-[14px] w-[14px]"})})]})}),(0,i.jsxs)(p.SQ,{className:"w-[var(--radix-dropdown-menu-trigger-width)] min-w-[164px] rounded-[16px] border-[#E4E4E7] p-2 shadow-[0_0_4px_rgba(0,0,0,0.05)]",align:"end",sideOffset:10,forceMount:!0,children:[(null==e||null==(u=e.role)?void 0:u.id)=="2"&&(0,i.jsx)(p._2,{asChild:!0,className:j,children:(0,i.jsx)(w(),{href:r?"/":"/admin/merchants",children:r?"Trang đại l\xfd":"Trang quản trị"})}),(0,i.jsx)(p._2,{asChild:!0,className:j,children:(0,i.jsx)(w(),{href:"/users/me",children:"Th\xf4ng tin c\xe1 nh\xe2n"})}),(0,i.jsx)(p._2,{className:j,onClick:()=>(0,y.CI)({callbackUrl:new URL("/",window.location.href).href,redirect:!0}),children:"Đăng xuất"})]})]}),l&&(0,i.jsx)(g.A,{initFormType:"updateProfile",onCallBack:()=>c(!1)})]})}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{onClick:()=>a(!0),className:"bg-background text-text-normal-template-3 flex flex-row items-center gap-2 rounded-[100px] px-3 py-2 hover:cursor-pointer",children:[(0,i.jsx)(h.F.UserIcon,{className:"!h-8 !w-8"}),(0,i.jsx)("span",{className:"text-text-normal-template-3 flex h-[22px] items-center text-base font-medium",children:"Đăng nhập"}),(0,i.jsx)("div",{className:"flex h-[18px] w-[18px] items-center justify-center",children:(0,i.jsx)(h.F.ChevronsDownSolidIcon,{className:"text-icon-template-3 h-[14px] w-[14px]"})})]}),n&&(0,i.jsx)(g.A,{onCallBack:()=>a(!1)})]})}function N(){let[e,t]=(0,o.useState)(!1),{toggleSidebar:r}=(0,l.cL)();return(0,i.jsx)("div",{className:"mx-auto w-full max-w-full min-w-0 shrink-0 overflow-x-hidden border-b border-[#D1D1D6] bg-white px-4 sm:px-6 lg:px-8 2xl:border-b-0 2xl:shadow-[inset_0_-1px_0_0_#D1D1D6]",children:(0,i.jsxs)("header",{className:"mx-auto flex h-auto min-h-[56px] w-full max-w-full min-w-0 flex-row items-center justify-between gap-2 overflow-x-hidden bg-transparent py-3 2xl:h-[62px] 2xl:min-h-0",children:[(0,i.jsx)("div",{className:"min-w-0 flex-1 overflow-hidden",children:(0,i.jsx)(m,{})}),(0,i.jsxs)("div",{className:"flex h-10 min-w-0 shrink-0 items-center justify-end gap-2 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-10 2xl:h-[38px]",suppressHydrationWarning:!0,children:[(0,i.jsxs)("div",{className:"flex h-full min-w-0 shrink-0 items-center justify-end gap-3 2xl:gap-6",children:[(0,i.jsx)(x,{}),(0,i.jsx)("div",{className:"hidden md:block",children:(0,i.jsx)(_,{})}),(0,i.jsx)(n.$,{variant:"ghost",className:"relative h-[28px] cursor-pointer hover:bg-inherit md:hidden",onClick:e=>{e.preventDefault(),r()},children:(0,i.jsx)(h.F.MenuIcon,{className:"text-menu-icon !h-[24px] !w-[24px]"})})]}),e&&(0,i.jsx)(a.A,{open:e,onClose:()=>t(!1)})]})]})})}},35652:(e,t,r)=>{r.d(t,{E:()=>m,default:()=>d});var i=r(12115),n=r(20063),a=r(72378),l=r(13744),o=r(96199),s=r(20865);let c="__hp_utm",u=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"];function d(){let e=(0,n.useSearchParams)(),{status:t}=(0,o.wV)();return(0,i.useEffect)(()=>
1{if("authenticated"===t)return;let r=e.get("utm_source"),i=e.get("utm_type"),n=a.A.get(c);if(r&&"mkt"===i&&!n){let t={};for(let r of u){let i=e.get(r);i&&(t[r]=i)}if(!t.utm_source)return;let r=window.location.pathname,i=r&&"/"!==r?"".concat(window.location.host).concat(r):window.location.host,n=(0,s.mD)();l.A.postApi("/api/v1/utms/utm-visit",{utmSource:t.utm_source,utmMedium:t.utm_medium,utmCampaign:t.utm_campaign,utmContent:t.utm_content,utmTerm:t.utm_term,domain:i,...n&&{domainSource:n}}).then(e=>{(null==e?void 0:e.valid)&&a.A.set(c,JSON.stringify(t),{expires:30,path:"/",sameSite:"lax"})}).catch(()=>{})}},[e,t]),null}function m(){a.A.remove(c,{path:"/"})}},41052:(e,t,r)=>{r.d(t,{C5:()=>y,MJ:()=>f,Rr:()=>g,eI:()=>x,lR:()=>p,lV:()=>c,zB:()=>d});var i=r(95155),n=r(12115),a=r(32467),l=r(22544),o=r(64269),s=r(76444);let c=l.Op,u=n.createContext({}),d=e=>{let{...t}=e;return(0,i.jsx)(u.Provider,{value:{name:t.name},children:(0,i.jsx)(l.xI,{...t})})},m=()=>{let e=n.useContext(u),t=n.useContext(h),{getFieldState:r}=(0,l.xW)(),i=(0,l.lN)({name:e.name}),a=r(e.name,i);if(!e)throw Error("useFormField should be used within <FormField>");let{id:o}=t;return{id:o,name:e.name,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...a}},h=n.createContext({});function x(e){let{className:t,...r}=e,a=n.useId();return(0,i.jsx)(h.Provider,{value:{id:a},children:(0,i.jsx)("div",{"data-slot":"form-item",className:(0,o.cn)("grid gap-2",t),...r})})}function p(e){let{className:t,...r}=e,{error:n,formItemId:a}=m();return(0,i.jsx)(s.J,{"data-slot":"form-label","data-error":!!n,className:(0,o.cn)("data-[error=true]:text-destructive",t),htmlFor:a,...r})}function f(e){let{...t}=e,{error:r,formItemId:n,formDescriptionId:l,formMessageId:o}=m();return(0,i.jsx)(a.DX,{"data-slot":"form-control",id:n,"aria-describedby":r?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!r,...t})}function g(e){let{className:t,...r}=e,{formDescriptionId:n}=m();return(0,i.jsx)("p",{"data-slot":"form-description",id:n,className:(0,o.cn)("text-muted-foreground text-sm",t),...r})}function y(e){var t;let{className:r,...n}=e,{error:a,formMessageId:l}=m(),s=a?String(null!=(t=null==a?void 0:a.message)?t:""):n.children;return s?(0,i.jsx)("p",{"data-slot":"form-message",id:l,className:(0,o.cn)("text-destructive text-sm",r),...n,children:s}):null}},63548:(e,t,r)=>{r.d(t,{C:()=>i});let i=[{title:"Tổng quan",url:"/",icon:"OverViewIcon",isActive:!0,shortcut:["o","o"],items:[{title:"Proxy Tĩnh",url:"/proxy-tinh",shortcut:["s","s"]},{title:"Proxy Xoay",url:"/proxy-xoay",shortcut:["r","r"]},{title:"Key Xoay",url:"/key-xoay",shortcut:["r","r"]},{title:"Proxy Datacenter",url:"/proxy-datacenter",shortcut:["s","s"]}],url_other:"/"},{title:"G\xf3i combo",url:"/combo-proxy",icon:"BoxIcon",shortcut:["s","s"],isActive:!1,items:[{title:"Proxy Tĩnh",url:"/combo-proxy?tab=static",shortcut:["s","s"]},{title:"Proxy Datacenter VN",url:"/combo-proxy?tab=datacenter-vn",shortcut:["s","s"]},{title:"Proxy Datacenter US",url:"/combo-proxy?tab=datacenter-us",shortcut:["s","s"]}]},{title:"Đơn h\xe0ng",url:"/proxies",icon:"ShoppingCardIcon",shortcut:["o","o"],isActive:!1,items:[{title:"Proxy Tĩnh",url:"/proxies",shortcut:["s","s"]},{title:"Proxy xoay",url:"/proxies-xoay",shortcut:["s","s"]},{title:"Key xoay",url:"/keys-xoay",shortcut:["r","r"]},{title:"Datacenter",url:"/proxies-datacenter",shortcut:["s","s"]}]},{title:"Lịch sử",url:"/don-hang",icon:"OrderHistoryIcon",shortcut:["h","h"],isActive:!1,items:[{title:"Lịch sử mua h\xe0ng",url:"/don-hang",shortcut:["h","h"]},{title:"Lịch sử giao dịch",url:"/lich-su",shortcut:["o","o"]},{title:"Lịch sử đổi Proxy",url:"/lich-su-doi-proxy",shortcut:["p","p"]}]},{title:"Check proxy",url:"/check-proxy",icon:"CheckProxyIcon",shortcut:["c","c"],isActive:!1,items:[]},{title:"Tool proxy",url:"/tool-proxy",icon:"ToolProxyIcon",shortcut:["t","t"],isActive:!1,items:[]},{title:"Blog",url:"/blogs",icon:"BlogIcon",shortcut:["g","g"],isActive:!1,items:[]},{title:"T\xe0i liệu API",url:"/tai-lieu-api",icon:"apiDocument",isActive:!1,items:[]}
1,{title:"Affiliate",url:"/affiliates",icon:"AffiliatesIcon",shortcut:["a","f"]},{title:"Hướng dẫn",url:"/huong-dan",icon:"GuildIcon",shortcut:["g","g"],isActive:!1,items:[]},{title:"Hỗ trợ",url:"/ho-tro",icon:"SupportIcon",shortcut:["g","g"],isActive:!1,items:[]}]},66654:(e,t,r)=>{r.d(t,{$w:()=>l,KA:()=>a,fV:()=>s,rK:()=>o,tM:()=>c});var i=r(15653);let n=/^0[1-9]\d{8}$/,a=i.z.preprocess(e=>"string"==typeof e?e.trim().replace(/[^\d+]/g,"").replace(/^(\+?84)/,"0"):e,i.z.string().nonempty("Số điện thoại l\xe0 bắt buộc").refine(e=>n.test(e),{message:"Số điện thoại kh\xf4ng hợp lệ"})),l=i.z.string().nonempty("Mật khẩu l\xe0 bắt buộc").regex(/^[a-zA-Z0-9@#$%^&*()_+!\-=.?]*$/,"Mật khẩu chứa k\xfd tự kh\xf4ng hợp lệ").min(6,"Mật khẩu tối thiểu 6 k\xed tự");i.z.preprocess(e=>{if("string"!=typeof e)return e;let t=e.trim();return""===t?void 0:t},i.z.string().email("Email kh\xf4ng hợp lệ").optional().transform(e=>"string"==typeof e?e.toLowerCase():e));let o=i.z.preprocess(e=>"string"==typeof e?e.trim():e,i.z.string().nonempty("Email l\xe0 bắt buộc").email("Email kh\xf4ng hợp lệ").transform(e=>e.toLowerCase())),s=i.z.string().min(1,"Họ l\xe0 bắt buộc").max(50,"Tối đa 50 k\xfd tự"),c=i.z.string().min(1,"T\xean l\xe0 bắt buộc").max(50,"Tối đa 50 k\xfd tự")},75746:(e,t,r)=>{r.d(t,{k:()=>i});let i=(0,r(25959).v)()(e=>({user:null,setUser:t=>e({user:t}),updateCoin:t=>e(e=>({user:e.user?{...e.user,coin:Number(e.user.coin)+t}:null})),clearUser:()=>e({user:null})}))},76444:(e,t,r)=>{r.d(t,{J:()=>l});var i=r(95155);r(12115);var n=r(10489),a=r(64269);function l(e){let{className:t,...r}=e;return(0,i.jsx)(n.b,{"data-slot":"label",className:(0,a.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",t),...r})}},95307:(e,t,r)=>{r.d(t,{p7:()=>f,default:()=>h,G2:()=>p,Yk:()=>x});var i=r(12115),n=r(20063),a=r(72378),l=r(1474);let o=null,s=null;var c=r(39180),u=r(13744);let d="ref_data",m="ref_click_id";function h(){let e=(0,n.useSearchParams)(),{fingerprint:t,getFingerprint:r}=function(){let[e,t]=(0,i.useState)(o),[r,n]=(0,i.useState)(!o),[a,c]=(0,i.useState)(null),u=(0,i.useCallback)(async()=>{if(o)return o;try{s||(s=l.Ay.load());let e=await s,r=await e.get(),i={visitorId:r.visitorId,confidence:r.confidence.score};return o=i,t(i),i}catch(t){let e=t instanceof Error?t:Error("Failed to get fingerprint");return c(e),console.error("Fingerprint error:",e),null}},[]);return(0,i.useEffect)(()=>{o||(n(!0),u().finally(()=>n(!1)))},[u]),{fingerprint:e,isLoading:r,error:a,getFingerprint:u}}(),h=(0,c.r)(e=>e.config),x=null==h?void 0:h.merchantId,p=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{(async()=>{let i=e.get("ref");if(!i||!x||p.current)return;let n=e.get("cid");if(!n){let e=a.A.get(d);if(e)try{if(JSON.parse(e).referralCode===i)return}catch(e){}}p.current=!0;let l=t;l||(l=await r());let o={referralCode:i,landingUrl:window.location.href,referer:document.referrer||void 0,utmSource:e.get("utm_source")||void 0,utmMedium:e.get("utm_medium")||void 0,utmCampaign:e.get("utm_campaign")||void 0};n&&(o.cid=n),l&&(o.fingerprint=l.visitorId,o.fingerprintConfidence=l.confidence);try{let e=await u.A.postApi("/api/v1/clicks/track",o,"",{headers:{"x-merchant-id":x}});if(null==e?void 0:e.valid){let t=e.cookieMaxAge||2592e3,r=new Date(Date.now()+1e3*t),i={referralCode:e.referralCode,affiliateId:e.affiliateId,programId:e.programId,clickId:e.clickId,trackedAt:new Date().toISOString()};a.A.set(d,JSON.stringify(i),{expires:r,path:"/",sameSite:"lax"}),e.clickId&&a.A.set(m,e.clickId,{expires:r,path:"/",sameSite:"lax"}),console.log("[ReferralTracker] Tracked successfully:",e)}else console.warn("[ReferralTracker] Invalid referral:",null==e?void 0:e.error)}catch(e){console.error("[ReferralTracker] Track error:",e),p.current=!1}})()},[e,t,r,x]),null}function x(){let e=a.A.get(d);if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}function p(){return a.A.get(m)}function f(){a.A.remove(d,{path:"/"}),a.A.remove(m,{path:"/"})}}}]);

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.