PageSourceSearch

https://j2proxy.vn/_next/static/chunks/27540.b4bccbd6e29399a2.js

js j2proxy.vn collected 2026-10-02 02:17:24 UTC 24,355 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[27540],{5917:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(71847).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},11647:(e,t,a)=>{a.d(t,{E:()=>d});var l=a(95155);a(12115);var s=a(32467),r=a(83101),n=a(64269);let i=(0,r.F)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none 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 transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",Cancelled:"bg-[#FFEDDB] text-[#F37A00] border-none",Completed:"bg-[#D8FFD9] text-[#00B507] border-none",AwaitingPayment:"bg-[#E9F0FF] text-[#0053F3] border-none"}},defaultVariants:{variant:"default"}});function d(e){let{className:t,variant:a,asChild:r=!1,...d}=e,o=r?s.DX:"span";return(0,l.jsx)(o,{"data-slot":"badge",className:(0,n.cn)(i({variant:a}),t),...d})}},22640:(e,t,a)=>{a.d(t,{h:()=>n});var l=a(13744),s=a(96199),r=a(85400);function n(e,t){var a,n,i;let{data:d,status:o}=(0,s.wV)(),{data:c,isLoading:u}=(0,r.Ay)("authenticated"===o?["/api/v1/orders",e]:null,e=>{let[t,a]=e;return l.A.fetchApi(t+a,null==d?void 0:d.accessToken).then(e=>null!=e?e:{}).catch(()=>({}))},{suspense:null!=(a=null==t?void 0:t.suspense)&&a,revalidateOnFocus:!1});return{orders:null!=(n=null==c?void 0:c.data)?n:[],total:null!=(i=null==c?void 0:c.total)?i:0,isLoading:u,status:o}}},22968:(e,t,a)=>{a.d(t,{Cf:()=>c,LC:()=>o,ZJ:()=>d,lG:()=>i});var l=a(95155),s=a(89511);a(12115);var r=a(64269),n=a(10051);function i(e){let{...t}=e;return(0,l.jsx)(s.bL,{"data-slot":"dialog",...t})}function d(e){let{...t}=e;return(0,l.jsx)(s.ZL,{"data-slot":"dialog-portal",...t})}function o(e){let{className:t,...a}=e;return(0,l.jsx)(s.hJ,{"data-slot":"dialog-overlay",className:(0,r.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",t),...a})}function c(e){let{className:t,children:a,showCloseButton:i=!0,title:c,titleClassName:m="",headerClassName:p="",closeClassName:h="",...f}=e;return(0,l.jsxs)(d,{"data-slot":"dialog-portal",children:[(0,l.jsx)(o,{}),(0,l.jsxs)(s.UC,{"data-slot":"dialog-content",className:(0,r.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 flex w-auto max-w-[583px] translate-x-[-50%] translate-y-[-50%] flex-col rounded-[24px] border-none shadow-[0_2px_4px_0_var(--shadow-modal)] duration-200 sm:max-w-[886px]",t),...f,children:[(0,l.jsxs)(u,{className:p,children:[(0,l.jsx)(x,{className:c?"text-text-normal-template-3 h-full align-middle text-[20px] leading-[22px] font-semibold ".concat(m," "):"hidden",children:c}),i&&(0,l.jsxs)(s.bm,{"data-slot":"dialog-close",className:(0,r.cn)("sticky-0 focus:ring-primary-hover data-[state=open]:bg-accent data-[state=open]:text-muted-foreground right-0 z-[60] rounded-full bg-black/50 transition-opacity hover:cursor-pointer 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",h),children:[(0,l.jsx)(n.F.CloseIcon,{className:"!h-6 !w-6 !text-white"}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]}),a]})]})}function u(e){let{className:t,...a}=e;return(0,l.jsx)("div",{"data-slot":"dialog-header",className:(0,r.cn)("sticky top-0 z-50 flex h-14 w-auto flex-row items-center justify-between gap-24 rounded-t-2xl bg-[#F3EAE2] px-8 py-4 text-center sm:text-left",t),...a})}function x(e){let{className:t,...a}=e;return(0,l.jsx)(s.hE,{"data-slot":"dialog-title",className:(0,r.cn)("text-normal text-base leading-none font-semibold",t),...a})}},27540:(e,t,a)=>{a.r(t),a.d(t,{default:()=>z});var l=a(95155),s=a(11647),r=a(46767),n=a(13744),i=a(10051);a(48636),a(22968);var d=a(88566),o=a(26467),c=a(73730),u=a(70682),x=a(12115);let m=[{value:"3",label:d.S5[3]},{value:"6",label:d.S5[6]},{value:"7",label:d.S5[7]}];var p=a(15239),h=a(73323);let f={viettel:"/images/images-template-7/viettel.png",fpt:"/images/images-template-10/fpt.svg",vnpt:"/images/images-template-10/vnpt.svg",us:"/images/images-template-7/usa.png",usa:"/images/images-template-7/usa.png",cmc:"/images/images-template-7/vn.png"},g=[{id:"select",header:e=>{let{table:t}=e;return(0,l.jsx)("div",{className:"flex items-center justify-center pl-2",children:(0,l.jsx)(h.S,{checked:t.getIsAllPageRowsSelected(),onCheckedChange:e=>t.toggleAllPageRowsSelected(!!e),"aria-label":"Select all",className:"data-[state=checked]:bg-primary data-[state=checked]:border-primary border-black"})})},cell:e=>{let{row:t}=e;return(0,l.jsx)("div",{className:"flex items-center justify-center pl-2",children:(0,l.jsx)(h.S,{checked:t.getIsSelected(),onCheckedChange:e=>t.toggleSelected(!!e),"aria-label":"Select row",className:"data-[state=checked]:bg-primary data-[state=checked]:border-primary border-black"})})},size:50,enableSorting:!1,enableHiding:!1},{id:"code",accessorKey:"code",header:()=>(0,l.jsx)("div",{className:"text-primary flex w-full items-center justify-center text-[13px] font-bold whitespace-nowrap",children:"M\xe3 đơn h\xe0ng"}),meta:{label:"M\xe3 đơn h\xe0ng",variant:"text",placeholder:"Nhập m\xe3 đơn h\xe0ng"},size:110,enableColumnFilter:!0,cell:e=>{let{cell:t}=e;return(0,l.jsx)("div",{className:"flex w-full items-center justify-center text-[13px] font-bold text-black",children:t.getValue()})}},{id:"user",accessorKey:"user",header:()=>(0,l.jsx)("div",{className:"text-primary flex w-full items-center justify-center text-[13px] font-bold",children:"T\xe0i khoản"}),meta:{label:"T\xe0i khoản"},minSize:150,cell:e=>{let{cell:t}=e,a=t.getValue();return(0,l.jsx)("div",{className:"flex w-full items-center justify-center text-[13px] font-bold text-black",children:"+84"+a.phone.toString().substring(3,6)+a.phone.toString().substring(6,9)+a.phone.toString().substring(9,12)})}},{accessorKey:"amount",header:()=>(0,l.jsx)("div",{className:"text-primary flex w-full items-center justify-center text-[13px] font-bold",children:"Số tiền"}),meta:{label:"Số tiền"},cell:e=>{let{cell:t}=e;return(0,l.jsx)("div",{className:"flex w-full items-center justify-center text-[13px] font-bold text-black",children:(0,l.jsx)("span",{className:"block text-[13px] font-bold text-black",children:n.A.formatNum2(t.getValue())+" đ"})})},minSize:150},{header:()=>(0,l.jsx)("div",{className:"text-primary flex w-full items-center justify-center text-center text-[13px] font-bold whitespace-nowrap",children:"Nh\xe0 mạng"}),id:"provider",accessorKey:"products",meta:{label:"Nh\xe0 mạng"},cell:e=>{var t,a,s,r;let{cell:n}=e,d=null==(r=n.getValue())||null==(s=r[0])||null==(a=s.product)||null==(t=a.provider)?void 0:t.toLowerCase(),o="homeproxy"===d,c=d?f[d]:null;return(0,l.jsx)("div",{className:"flex w-full items-center justify-center gap-2",children:o?(0,l.jsx)(i.F.Providers3Icon,{className:"size-16 shrink-0"}):c?(0,l.jsx)(p.default,{src:c,alt:d||"Provider",width:48,height:19,className:"w-auto ".concat((null==d?void 0:d.toLowerCase())==="viettel"?"h-4":"h-6"," object-contain")}):null})},size:120,maxSize:120,minSize:120},{id:"status.id",header:()=>(0,l.jsx)("div",{className:"text-primary flex w-full items-center justify-center text-[13px] font-bold whitespace-nowrap",children:"Trạng th\xe1i"}),accessorKey:"status",size:100,cell:e=>{let{cell:t}=e,a=t.getValue();return(0,l.jsx)("div",{className:"flex w-full items-center justify-center",children:(0,l.jsx)(s.E,{variant:null==a?void 0:a.name,className:"gap-2.5 rounded-[100px] border-none 
1!bg-transparent px-3 py-1",children:(0,l.jsx)("div",{className:"flex w-full items-center gap-2",children:(0,l.jsx)("span",{className:"block rounded-full px-2 py-[2px] text-[14px] font-normal ".concat(6===Number(null==a?void 0:a.id)?"bg-[#00A600]/20 text-[#00C600]":3===Number(null==a?void 0:a.id)?"bg-[#FF8000]/20 text-[#E75800]":"bg-[#A60000]/20 text-[#FF0000]"),children:d.S5[Number(null==a?void 0:a.id)]})})})})},meta:{label:"Trạng th\xe1i",variant:"select",options:m},enableColumnFilter:!0},{accessorKey:"description",meta:{label:"M\xf4 tả"},header:()=>(0,l.jsx)("div",{className:"text-primary flex w-full items-center justify-center text-[13px] font-bold whitespace-nowrap",children:"M\xf4 tả"}),cell:e=>{var t;let{cell:a}=e;return(0,l.jsx)("div",{className:"flex w-full items-center justify-center",children:a.getValue()?(0,l.jsxs)(r.m_,{children:[(0,l.jsx)(r.k$,{asChild:!0,children:(0,l.jsx)("div",{className:"flex gap-2",children:(0,l.jsx)("p",{className:"my-auto w-48 overflow-hidden text-center text-ellipsis whitespace-nowrap text-black",children:null!=(t=a.getValue())?t:"-"})})}),(0,l.jsx)(r.ZI,{side:"top",align:"center",children:a.getValue()})]}):(0,l.jsx)("p",{className:"my-auto w-48 overflow-hidden text-center text-ellipsis whitespace-nowrap text-black",children:"-"})})},maxSize:200,size:200},{accessorKey:"createdAt",header:()=>(0,l.jsx)("div",{className:"text-primary flex w-full items-center justify-center text-[13px] font-bold whitespace-nowrap",children:"Ng\xe0y tạo"}),meta:{label:"Ng\xe0y tạo"},size:100,cell:e=>{let{cell:t}=e,a=t.getValue(),s=(0,u.L_)((0,o.H)(a),"UTC"),r=(0,c.GP)(s,"dd/MM/yyyy HH:mm");return(0,l.jsx)("div",{className:"flex w-full items-center justify-center text-[13px] font-bold whitespace-nowrap text-black",children:r})}},{id:"expiryDate",header:()=>(0,l.jsx)("div",{className:"text-primary flex w-full items-center justify-center text-[13px] font-bold whitespace-nowrap",children:"Hết hạn"}),accessorKey:"expired",size:100,cell:e=>{var t;let{row:a}=e,s=a.original,r=null==(t=s.products)?void 0:t[0],n=(null==r?void 0:r.dayOfUse)||1,i=new Date((0,u.L_)((0,o.H)(s.createdAt),"UTC"));i.setDate(i.getDate()+n);let d=(0,c.GP)(i,"dd/MM/yyyy");return(0,l.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-1",children:[(0,l.jsx)("span",{className:"text-primary text-[13px] leading-4 font-bold whitespace-nowrap",children:n>=1?"".concat(n," ng\xe0y"):"".concat(Math.round(24*n)," tiếng")}),(0,l.jsx)("span",{className:"text-[11px] font-bold whitespace-nowrap text-[#989898]",children:d})]})}}];var b=a(71320),v=a(17527),w=a(63862),y=a(97453),j=a(65829);function N(e){let{data:t,totalItems:a,columns:s}=e,[r]=(0,y.ZA)("limit",y.GJ.withDefault(50)),n=Math.ceil(a/r),{table:i}=(0,v.u)({data:t,columns:s,pageCount:n,shallow:!1,debounceMs:500,initialState:{columnVisibility:{id:!0,description:!1,createdAt:!1}}}),d=(0,x.useCallback)(e=>{var t;return"s"===e.columnDef.id||(null==(t=e.columnDef.meta)?void 0:t.variant)==="text"},[]),o=(0,x.useMemo)(()=>i.getAllColumns().filter(e=>e.getCanFilter()),[i]).filter(e=>!d(e)).map(e=>{var t;let a=e.columnDef.meta;return(0,l.jsx)(w.A,{column:e,options:null!=(t=null==a?void 0:a.options)?t:[],multiple:(null==a?void 0:a.variant)==="multiSelect"},e.id)});return(0,l.jsxs)("div",{className:"flex flex-1 flex-col gap-3 sm:gap-4",children:[(0,l.jsx)("div",{className:"w-full sm:max-w-[530px] lg:max-w-[560px]",children:(0,l.jsx)(j.A,{table:i,inlineActions:!0})}),(0,l.jsx)(b.b,{table:i,scrollMode:!1,children:(0,l.jsx)("div",{className:"w-full sm:flex-1",children:o})})]})}var k=a(21383);function _(){return(0,l.jsxs)("div",{className:"flex h-full w-full flex-1 flex-col gap-4",children:[(0,l.jsxs)("div",{className:"flex w-full min-w-0 flex-col items-start justify-between gap-3 sm:gap-4 xl:flex-row xl:items-center xl:gap-4",children:[(0,l.jsxs)("div",{className:"flex w-full min-w-0 flex-nowrap items-center gap-2 overflow-x-auto",children:[(0,l.jsx)("div",{className:"h-9 w-[72px] shrink-0 animate-pulse rounded-lg bg-gray-200 sm:w-[100px]"}),(0,l.jsx)("div",{className:"h-9 min-w-0 flex-1 animate-pulse rounded-lg bg-gray-200"}),(0,l.jsx)("div",{className:"h-9 w-9 shrink-0 animate-pulse rounded-lg bg-gray-200"})]}
1),(0,l.jsx)("div",{className:"flex min-w-0 w-full flex-wrap items-center justify-center gap-2 sm:flex-1 xl:justify-end",children:[1,2,3,4].map(e=>(0,l.jsx)("div",{className:"h-10 w-[100px] animate-pulse rounded-lg bg-gray-200"},e))})]}),(0,l.jsxs)("div",{className:"flex h-full w-full flex-col gap-2",children:[(0,l.jsx)("div",{className:"mx-auto flex h-full min-h-[450px] w-full flex-col",children:(0,l.jsx)("div",{className:"flex h-full w-full flex-1 rounded-2xl",children:(0,l.jsx)("div",{className:"flex h-full w-full flex-col px-0 pt-1",children:(0,l.jsx)("div",{className:"relative flex h-full w-full flex-1",children:(0,l.jsx)("div",{className:"flex h-full w-full overflow-hidden rounded-[20px] bg-white shadow-[0_0_8px_rgba(0,0,0,0.05)]",children:(0,l.jsx)("div",{className:"h-full w-full",children:(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("div",{className:"bg-primary sticky top-0 z-10 flex h-14 w-full items-center rounded-lg px-4",children:(0,l.jsxs)("div",{className:"flex h-full w-full items-center gap-4",children:[(0,l.jsx)("div",{className:"h-5 w-24 animate-pulse rounded bg-white/30"}),(0,l.jsx)("div",{className:"h-5 w-20 animate-pulse rounded bg-white/30"}),(0,l.jsx)("div",{className:"h-5 w-16 animate-pulse rounded bg-white/30"}),(0,l.jsx)("div",{className:"h-5 w-20 animate-pulse rounded bg-white/30"}),(0,l.jsx)("div",{className:"h-5 w-24 animate-pulse rounded bg-white/30"}),(0,l.jsx)("div",{className:"h-5 w-16 animate-pulse rounded bg-white/30"}),(0,l.jsx)("div",{className:"ml-auto h-5 w-20 animate-pulse rounded bg-white/30"})]})}),(0,l.jsx)("div",{className:"h-2"}),(0,l.jsx)("div",{className:"flex w-full flex-col gap-2",children:[...Array(8)].map((e,t)=>(0,l.jsxs)("div",{className:"border-primary/20 flex h-[72px] w-full items-center gap-4 roun
1ded-lg border bg-white px-4",children:[(0,l.jsx)("div",{className:"h-5 w-24 animate-pulse rounded bg-gray-200"}),(0,l.jsx)("div",{className:"h-5 w-20 animate-pulse rounded bg-gray-200"}),(0,l.jsx)("div",{className:"h-5 w-16 animate-pulse rounded bg-gray-200"}),(0,l.jsx)("div",{className:"h-5 w-20 animate-pulse rounded bg-gray-200"}),(0,l.jsx)("div",{className:"h-6 w-20 animate-pulse rounded-full bg-gray-200"}),(0,l.jsx)("div",{className:"h-5 w-32 animate-pulse rounded bg-gray-200"}),(0,l.jsx)("div",{className:"ml-auto h-8 w-16 animate-pulse rounded-lg bg-gray-200"})]},t))})]})})})})})})}),(0,l.jsx)("div",{className:"flex flex-col gap-2.5",children:(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("div",{className:"h-5 w-24 animate-pulse rounded bg-gray-200"}),(0,l.jsx)("div",{className:"h-10 w-20 animate-pulse rounded-lg bg-gray-200"})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("div",{className:"h-5 w-32 animate-pulse rounded bg-gray-200"}),(0,l.jsx)("div",{className:"h-10 w-10 animate-pulse rounded-lg bg-gray-200"}),(0,l.jsx)("div",{className:"h-10 w-10 animate-pulse rounded-lg bg-gray-200"}),(0,l.jsx)("div",{className:"h-10 w-10 animate-pulse rounded-lg bg-gray-200"}),(0,l.jsx)("div",{className:"h-10 w-10 animate-pulse rounded-lg bg-gray-200"})]})]})})]})]})}var C=a(96950),S=a(22640);function z(e){let{params:t}=e,{orders:a,total:s,isLoading:r,status:n}=(0,S.h)(t);return(0,l.jsx)(k.A,{scrollable:!1,className:"over-table",openMarqueeTop:!0,children:(0,l.jsxs)("div",{className:"flex w-full flex-1 flex-col gap-4",children:[(0,l.jsx)(C.D,{title:"Lịch sử đơn h\xe0ng"}),r||"loading"===n?(0,l.jsx)(_,{}):(0,l.jsx)(N,{data:a,totalItems:s,columns:g})]})})}},38162:(e,t,a)=>{a.d(t,{C1:()=>_,bL:()=>k});var l=a(12115),s=a(94446),r=a(3468),n=a(92556),i=a(23558),d=a(78108),o=a(84288),c=a(76842),u=a(97602),x=a(95155),m="Checkbox",[p,h]=(0,r.A)(m),[f,g]=p(m),b=l.forwardRef((e,t)=>{let{__scopeCheckbox:a,name:r,checked:d,defaultChecked:o,required:c,disabled:p,value:h="on",onCheckedChange:g,form:b,...v}=e,[w,k]=l.useState(null),_=(0,s.s)(t,e=>k(e)),C=l.useRef(!1),S=!w||b||!!w.closest("form"),[z,A]=(0,i.i)({prop:d,defaultProp:null!=o&&o,onChange:g,caller:m}),F=l.useRef(z);return l.useEffect(()=>{let e=null==w?void 0:w.form;if(e){let t=()=>A(F.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[w,A]),(0,x.jsxs)(f,{scope:a,state:z,disabled:p,children:[(0,x.jsx)(u.sG.button,{type:"button",role:"checkbox","aria-checked":j(z)?"mixed":z,"aria-required":c,"data-state":N(z),"data-disabled":p?"":void 0,disabled:p,value:h,...v,ref:_,onKeyDown:(0,n.m)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,n.m)(e.onClick,e=>{A(e=>!!j(e)||!e),S&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())})}),S&&(0,x.jsx)(y,{control:w,bubbles:!C.current,name:r,value:h,checked:z,required:c,disabled:p,form:b,style:{transform:"translateX(-100%)"},defaultChecked:!j(o)&&o})]})});b.displayName=m;var v="CheckboxIndicator",w=l.forwardRef((e,t)=>{let{__scopeCheckbox:a,forceMount:l,...s}=e,r=g(v,a);return(0,x.jsx)(c.C,{present:l||j(r.state)||!0===r.state,children:(0,x.jsx)(u.sG.span,{"data-state":N(r.state),"data-disabled":r.disabled?"":void 0,...s,ref:t,style:{pointerEvents:"none",...e.style}})})});w.displayName=v;var y=l.forwardRef((e,t)=>{let{__scopeCheckbox:a,control:r,checked:n,bubbles:i=!0,defaultChecked:c,...m}=e,p=l.useRef(null),h=(0,s.s)(p,t),f=(0,d.Z)(n),g=(0,o.X)(r);l.useEffect(()=>{let e=p.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==n&&t){let a=new Event("click",{bubbles:i});e.indeterminate=j(n),t.call(e,!j(n)&&n),e.dispatchEvent(a)}},[f,n,i]);let b=l.useRef(!j(n)&&n);return(0,x.jsx)(u.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:null!=c?c:b.current,...m,tabIndex:-1,ref:h,style:{...m.style,...g,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function j(e){return"indeterminate"===e}function N(e){return j(e)?"indeterminate":e?"checked":"unchecked"}y.displayName="CheckboxBubbleInput";var k=b,_=w},46767:(e,t,a)=>{a.d(t,{Bc:()=>n,ZI:()=>o,k$:()=>d,m_:()=>i});var l=a(95155);a(12115);var s=a(47520),r=a(64269);function n(e){let{delayDuration:t=0,...a}=e;return(0,l.jsx)(s.Kq,{"data-slot":"tooltip-provider",delayDuration:t,...a})}function i(e){let{...t}=e;return(0,l.jsx)(n,{children:(0,l.jsx)(s.bL,{"data-slot":"tooltip",...t})})}function d(e){let{...t}=e;return(0,l.jsx)(s.l9,{"data-slot":"tooltip-trigger",...t})}function o(e){let{className:t,sideOffset:a=0,hideArrow:n=!1,children:i,...d}=e;return(0,l.jsx)(s.ZL,{children:(0,l.jsxs)(s.UC,{"data-slot":"tooltip-content",sideOffset:a,className:(0,r.cn)("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",t),...d,children:[i,n?null:(0,l.jsx)(s.i3,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}},63862:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(95155),s=a(12115);let r=e=>{let{isSelected:t,onClick:a,label:s}=e;return(0,l.jsx)("button",{onClick:a,className:"flex shrink-0 cursor-pointer flex-row items-center justify-center rounded-[999px] px-2 py-1 transition-all duration-300 sm:px-4 sm:py-2 ".concat(t?"bg-[rgb(from_var(--primary)_calc(r_-_21)_calc(g_-_9)_calc(b_-_71))] shadow-[0px_5px_6px_rgb(from_var(--primary)_calc(r_-_27)_calc(g_-_46)_calc(b_-_16)_/_0.2)]":"bg-transparent"),children:(0,l.jsx)("span",{className:"font-mulish text-xs leading-4 font-bold whitespace-nowrap sm:text-sm sm:leading-[18px] ".concat(t?"text-white":"text-[rgb(from_var(--primary)_calc(r_+_82)_calc(g_+_96)_calc(b_+_77))] hover:text-[rgb(from_var(--primary)_calc(r_+_52)_calc(g_+_65)_calc(b_+_55))]"),children:s})})};function n(e){let{column:t,options:a}=e,n=null==t?void 0:t.getFilterValue(),i=s.useMemo(()=>new Set(Array.isArray(n)?n:[]),[n]),d=s.useCallback((e,a)=>{t&&t.setFilterValue(a?void 0:[e.value])},[t]),o=s.useCallback(e=>{null==e||e.stopPropagation(),null==t||t.setFilterValue(void 0)},[t]);return(0,l.jsx)("div",{className:"w-full overflow-x-auto",children:(0,l.jsxs)("div",{className:"mx-auto flex w-fit flex-row items-center gap-1 rounded-[999px] border border-white/10 bg-[rgb(from_var(--primary)_calc(r_+_173)_calc(g_+_193)_calc(b_+_111))] px-3 py-1.5 sm:gap-3 sm:px-4 sm:py-2",children:[(0,l.jsx)(r,{isSelected:0===i.size,onClick:()=>o(),label:"Tất cả"}),null==a?void 0:a.map(e=>{let t=i.has(e.value);return(0,l.jsx)(r,{isSelected:t,onClick:()=>d(e,t),label:e.label},e.value)})]})})}},73323:(e,t,a)=>{a.d(t,{S:()=>d,_:()=>o});var l=a(95155),s=a(12115),r=a(38162),n=a(5917),i=a(64269);let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,l.jsx)(r.bL,{ref:t,className:(0,i.cn)("peer data-[state=checked]:border-primary data-[state=checked]:text-primary hover:border-checkbox-blur hover:ring-primary/40 h-[18px] w-[18px] shrink-0 cursor-pointer rounded-[2px] border-2 border-[#616766] shadow-none hover:ring-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-transparent",a),...s,children:(0,l.jsx)(r.C1,{className:(0,i.cn)("text-primary flex items-center justify-center"),children:(0,l.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-3 w-3",children:(0,l.jsx)("path",{d:"M1.875 5.3125L4.375 7.8125L8.125 2.1875",stroke:"var(--primary)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})})});d.displayName=r.bL.displayName;let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,l.jsx)(r.bL,{ref:t,className:(0,i.cn)("peer focus-visible:ring-primary/10 data-[state=checked]:border-primary data-[state=checked]:text-primary hover:border-checkbox-blur hover:ring-primary/50 h-[18px] w-[18px] shrink-0 border-2 border-[#989898] shadow-none hover:cursor-pointer hover:ring-1 focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-transparent",a),...s,children:(0,l.jsx)(r.C1,{className:(0,i.cn)("flex items-center justify-center text-current"),children:(0,l.jsx)(n.A,{className:"h-4 w-4 stroke-[3]"})})})});o.displayName=r.bL.displayName},88566:(e,t,a)=>{a.d(t,{Iw:()=>s,S5:()=>l,Wx:()=>r});let l={1:"Đang hoạt động",2:"Kh\xf4ng hoạt động",3:"Đang chờ xử l\xfd",4:"Chờ lấy h\xe0ng",5:"Chờ tạo đơn",6:"Ho\xe0n th\xe0nh",7:"Đ\xe3 hủy",8:"Hết hạn",9:"Chờ thanh to\xe1n",10:"Tạo thất bại",11:"Cập nhật thất bại",12:"Chờ cập nhật"},s={1:{label:"Kh\xf4ng c\xf3 fingerprint",color:"bg-yellow-100 text-yellow-800"},2:{label:"Fingerprint kh\xf4ng tin cậy",color:"bg-orange-100 text-orange-800"},3:{label:"Click tr\xf9ng lặp",color:"bg-red-100 text-red-800"},4:{label:"VPN/Proxy",color:"bg-purple-100 text-purple-800"},5:{label:"Bot",color:"bg-gray-100 text-gray-800"},6:{label:"Vượt giới hạn",color:"bg-pink-100 text-pink-800"}},r={PENDING:3,SUCCESS:6,FAILED:10}},96950:(e,t,a)=>{a.d(t,{D:()=>s});var l=a(95155);let s=e=>{let{title:t,description:a,showDiscountBadge:s=!1,discountBadgeText:r}=e;return(0,l.jsx)("div",{className:"mx-auto flex w-full items-center justify-between",children:(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"font-mulish text-primary max-h-[20px] text-base leading-5 font-bold",children:t}),s&&r?(0,l.jsx)("span",{className:"font-mulish rounded-full bg-[#FE0000] px-2 py-1 font-bold text-white",children:r}):null]})})}}}]);

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.