@momo-webplatform/mobase 0.2.13 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <a href="https://momo.vn/">
2
+ <a href="https://www.momo.vn/">
3
3
  <img width="100%" src="https://homepage.momocdn.net/img/momo-upload-api-240509152105-638508648658180278.jpg" alt="Mobase UI library" />
4
4
  </a>
5
5
  </p>
@@ -1,4 +1,4 @@
1
- "use strict";var tn=Object.create;var kt=Object.defineProperty;var on=Object.getOwnPropertyDescriptor;var an=Object.getOwnPropertyNames;var rn=Object.getPrototypeOf,nn=Object.prototype.hasOwnProperty;var sn=(e,t)=>{for(var o in t)kt(e,o,{get:t[o],enumerable:!0})},xa=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of an(t))!nn.call(e,r)&&r!==o&&kt(e,r,{get:()=>t[r],enumerable:!(i=on(t,r))||i.enumerable});return e};var f=(e,t,o)=>(o=e!=null?tn(rn(e)):{},xa(t||!e||!e.__esModule?kt(o,"default",{value:e,enumerable:!0}):o,e)),ln=e=>xa(kt({},"__esModule",{value:!0}),e);var ls={};sn(ls,{Accordion:()=>et,AccordionContent:()=>at,AccordionItem:()=>tt,AccordionTrigger:()=>ot,AlertDialog:()=>Qa,AlertDialogAction:()=>xo,AlertDialogCancel:()=>yo,AlertDialogContent:()=>go,AlertDialogDescription:()=>bo,AlertDialogFooter:()=>ho,AlertDialogHeader:()=>uo,AlertDialogOverlay:()=>Mt,AlertDialogPortal:()=>fo,AlertDialogTitle:()=>vo,AlertDialogTrigger:()=>Za,AspectRatio:()=>xt,Badge:()=>hr,Breadcrumb:()=>Jt,BreadcrumbEllipsis:()=>ro,BreadcrumbItem:()=>to,BreadcrumbLink:()=>oo,BreadcrumbList:()=>eo,BreadcrumbPage:()=>ao,BreadcrumbSeparator:()=>io,Button:()=>Le,Callout:()=>tr,Card:()=>Jo,CardContent:()=>aa,CardDescription:()=>oa,CardFooter:()=>ia,CardHeader:()=>ea,CardTitle:()=>ta,Checkbox:()=>je,CheckboxIndicator:()=>St,ChoiceboxGroup:()=>gr,ChoiceboxGroupItem:()=>fr,Combobox:()=>Xi,ComboboxContent:()=>Yi,ComboboxTrigger:()=>Ki,Command:()=>Ut,CommandDialog:()=>Qi,CommandEmpty:()=>sa,CommandGroup:()=>la,CommandInput:()=>ra,CommandItem:()=>ca,CommandList:()=>na,CommandSeparator:()=>ma,CommandShortcut:()=>da,Dialog:()=>Ge,DialogBody:()=>nt,DialogClose:()=>Ga,DialogContent:()=>Ee,DialogDescription:()=>po,DialogFooter:()=>mo,DialogHeader:()=>lo,DialogOverlay:()=>At,DialogPortal:()=>so,DialogQr:()=>qa,DialogTitle:()=>co,DialogTrigger:()=>ja,Footer:()=>qi,Header:()=>Yo,HeroSection:()=>Tr,IconButton:()=>he,Indicator:()=>Wa,LightBoxContent:()=>cr,LightboxGallery:()=>dr,LightboxThumbnail:()=>lr,NavigationMenu:()=>ct,NavigationMenuContent:()=>ut,NavigationMenuItem:()=>pt,NavigationMenuLink:()=>qe,NavigationMenuList:()=>dt,NavigationMenuTrigger:()=>gt,Pagination:()=>wo,Popover:()=>Et,PopoverContent:()=>st,PopoverTrigger:()=>It,Progressbar:()=>ha,RadioGroup:()=>qo,RadioGroupItem:()=>Qo,Root:()=>Fa,SearchBar:()=>ir,Select:()=>yi,SelectContent:()=>Fo,SelectGroup:()=>Ni,SelectItem:()=>Pi,SelectLabel:()=>Wo,SelectScrollDownButton:()=>$t,SelectScrollUpButton:()=>Wt,SelectSeparator:()=>$o,SelectTrigger:()=>zo,SelectValue:()=>wi,SiteMeta:()=>Yr,Slider:()=>va,Stepper:()=>bi,Switch:()=>Go,Tabs:()=>ti,TabsContent:()=>Ro,TabsList:()=>Po,TabsTrigger:()=>Co,TextArea:()=>ri,TextButton:()=>mt,TextInput:()=>vi,ToastAction:()=>Mo,Toaster:()=>mi,Tooltip:()=>ui,TooltipArrow:()=>Bo,TooltipContent:()=>Oo,TooltipProvider:()=>gi,TooltipTrigger:()=>hi,badgeVariants:()=>fa,buttonVariants:()=>Ne,createCheckboxScope:()=>Oa,mobaseTW:()=>Kr,navigationMenuTriggerStyle:()=>ft,textButtonVariants:()=>Ho,toast:()=>Do,useToast:()=>zt});module.exports=ln(ls);var Je=f(require("react"),1),K=f(require("@radix-ui/react-accordion"),1),ka=require("lucide-react");var Ca=require("clsx"),Ra=require("tailwind-merge");var ya={heading:"V\u1EC1 ch\xFAng t\xF4i",lists:[{title:"Gi\u1EDBi thi\u1EC7u",url:"/sieu-ung-dung-momo",newTab:!1},{title:"An to\xE0n - B\u1EA3o m\u1EADt",url:"/an-toan-bao-mat",newTab:!1},{title:"\u0110i\u1EC1u kho\u1EA3n \u0111i\u1EC1u l\u1EC7",url:"/dieu-khoan-dieu-le",newTab:!1},{title:"Ch\xEDnh s\xE1ch quy\u1EC1n ri\xEAng t\u01B0",url:"/chinh-sach-quyen-rieng-tu",newTab:!1},{title:"\u0110i\u1EC1u kho\u1EA3n li\xEAn k\u1EBFt Google tr\xEAn \u1EE9ng d\u1EE5ng MoMo",url:"/google-cloud-policy",newTab:!1},{title:"Blog",url:"/blog",newTab:!1},{title:"Li\xEAn h\u1EC7",url:"/lienhe",newTab:!1},{title:"H\u1ECFi \u0111\xE1p",url:"/hoi-dap",newTab:!1}]},ge={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Email:"hotro@momo.vn"}},wa="https://momo.vn/",Na={Address:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, Ph\u01B0\u1EDDng T\xE2n Ph\xFA, Qu\u1EADn 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"};var Xe=[{Name:"Facebook",Image:"https://homepage.momocdn.net/styles/desktop/images/social/facebook.svg",Link:"https://www.facebook.com/vimomo"},{Name:"Linkedin",Image:"https://homepage.momocdn.net/styles/desktop/images/social/linkedin.svg",Link:"https://www.linkedin.com/company/momo-mservice/"},{Name:"Youtube",Image:"https://homepage.momocdn.net/styles/desktop/images/social/youtube.svg",Link:"https://www.youtube.com/channel/UCKHHW-qL2JoZqcSNm1jPlqw"}],Yt=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&amp;utm_medium=download&amp;utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}],Pa=[{Name:"V\xE9 xem phim",Href:"/cinema",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144722.svg"},{Name:"B\u1EA3o hi\u1EC3m \xD4 t\xF4",Href:"/bao-hiem-o-to/vat-chat",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144844.svg"},{Name:"V\xE9 m\xE1y bay",Href:"/ve-may-bay",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-201210145350.svg"},{Name:"Kh\xE1ch s\u1EA1n",Href:"/khach-san-theo-gio",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210315154805.svg"},{Name:"V\xED nh\xE2n \xE1i",Href:"/vi-nhan-ai",Image:"https://homepage.momocdn.net/img/momo-upload-api-231214222240-638381893608141712.png"},{Name:"T\xFAi th\u1EA7n t\xE0i",Href:"/tui-than-tai",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210716153611.svg"},{Name:"V\xED tr\u1EA3 sau",Href:"/vi-tra-sau",Image:"https://homepage.momocdn.net/img/momo-upload-api-230629144414-638236466540028217.png"},{Name:"Vay nhanh",Href:"/vay-nhanh",Image:"https://homepage.momocdn.net/img/momo-upload-api-230418101312-638174095928506551.png"}];var U={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Email:"hotro@momo.vn"}},Xt="nav_footer";function a(...e){return(0,Ra.twMerge)((0,Ca.clsx)(e))}var Ta=({link:e,query:t={}})=>{if(!e)return"";let o=new URL(e,wa||""),i=new URLSearchParams(o.search);return Object.entries(t).forEach(([r,l])=>{l&&i.append(r,l)}),o.search=i.toString(),o.toString()};var ue=require("react/jsx-runtime"),et=Je.forwardRef(({className:e,...t},o)=>(0,ue.jsx)(K.Root,{ref:o,...t}));et.displayName="AccordionRoot";var tt=Je.forwardRef(({className:e,...t},o)=>(0,ue.jsx)(K.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));tt.displayName="AccordionItem";var ot=Je.forwardRef(({className:e,children:t,...o},i)=>(0,ue.jsx)(K.Header,{className:"flex",children:(0,ue.jsxs)(K.Trigger,{ref:i,className:a("flex flex-1 items-center text-left justify-between py-4 font-medium transition-all hover:underline hover:text-pink-600 [&[data-state=open]]:text-pink-600 [&[data-state=open]>svg]:rotate-180 text-gray-900",e),...o,children:[t,(0,ue.jsx)(ka.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200 ml-1"})]})}));ot.displayName=K.Trigger.displayName;var at=Je.forwardRef(({className:e,children:t,...o},i)=>(0,ue.jsx)(K.Content,{ref:i,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:(0,ue.jsx)("div",{className:a("pb-4 pt-0 text-gray-900 prose-sm",e),children:t})}));at.displayName=K.Content.displayName;var We=f(require("react"),1),Dt=require("@radix-ui/react-icons"),Da=require("@radix-ui/react-slot");var Y=require("react/jsx-runtime"),Jt=We.forwardRef(({className:e,...t},o)=>(0,Y.jsx)("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));Jt.displayName="Breadcrumb";var eo=We.forwardRef(({className:e,...t},o)=>(0,Y.jsx)("ol",{ref:o,className:a("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));eo.displayName="BreadcrumbList";var to=We.forwardRef(({className:e,...t},o)=>(0,Y.jsx)("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));to.displayName="BreadcrumbItem";var oo=We.forwardRef(({asChild:e,className:t,...o},i)=>(0,Y.jsx)(e?Da.Slot:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));oo.displayName="BreadcrumbLink";var ao=We.forwardRef(({className:e,...t},o)=>(0,Y.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));ao.displayName="BreadcrumbPage";var io=({children:e,className:t,...o})=>(0,Y.jsx)("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??(0,Y.jsx)(Dt.ChevronRightIcon,{className:"w-2 h-2"})});io.displayName="BreadcrumbSeparator";var ro=({className:e,...t})=>(0,Y.jsxs)("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[(0,Y.jsx)(Dt.DotsHorizontalIcon,{className:"w-4 h-4 text-gray-900"}),(0,Y.jsx)("span",{className:"sr-only",children:"More"})]});ro.displayName="BreadcrumbElipssis";var Aa=f(require("react"),1),Ma=require("@radix-ui/react-slot"),La=require("class-variance-authority");var z=require("react/jsx-runtime"),mn=({className:e})=>(0,z.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[(0,z.jsx)("path",{opacity:"0.9",fillRule:"evenodd",clipRule:"evenodd",d:"M15 9H19C19.55 9 20 9.45 20 10C20 10.55 19.55 11 19 11H15C14.45 11 14 10.55 14 10C14 9.45 14.45 9 15 9Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.8301 11.634L18.2942 13.634C18.7706 13.909 18.9353 14.5237 18.6603 15C18.3853 15.4763 17.7706 15.641 17.2942 15.366L13.8301 13.366C13.3538 13.091 13.1891 12.4763 13.4641 12C13.7391 11.5237 14.3538 11.359 14.8301 11.634Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.25",fillRule:"evenodd",clipRule:"evenodd",d:"M13.366 13.8301L15.366 17.2942C15.641 17.7706 15.4763 18.3853 14.9999 18.6603C14.5236 18.9353 13.9089 18.7706 13.6339 18.2942L11.6339 14.8301C11.3589 14.3538 11.5236 13.7391 11.9999 13.4641C12.4763 13.1891 13.091 13.3538 13.366 13.8301Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.3",fillRule:"evenodd",clipRule:"evenodd",d:"M11 15V19C11 19.55 10.55 20 10 20C9.45 20 9 19.55 9 19V15C9 14.45 9.45 14 10 14C10.55 14 11 14.45 11 15Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.35",fillRule:"evenodd",clipRule:"evenodd",d:"M8.36597 14.8301L6.36597 18.2942C6.09097 18.7706 5.47626 18.9353 4.99994 18.6603C4.52363 18.3853 4.35892 17.7706 4.63392 17.2942L6.63392 13.8301C6.90892 13.3538 7.52363 13.1891 7.99994 13.4641C8.47626 13.7391 8.64097 14.3538 8.36597 14.8301Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.4",fillRule:"evenodd",clipRule:"evenodd",d:"M6.16986 13.366L2.70576 15.366C2.22945 15.641 1.61474 15.4763 1.33974 15C1.06474 14.5237 1.22945 13.909 1.70576 13.634L5.16986 11.634C5.64618 11.359 6.26089 11.5237 6.53589 12C6.81089 12.4763 6.64618 13.091 6.16986 13.366Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.45",fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H1C0.45 11 0 10.55 0 10C0 9.45 0.45 9 1 9H5C5.55 9 6 9.45 6 10C6 10.55 5.55 11 5 11Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.5",fillRule:"evenodd",clipRule:"evenodd",d:"M5.16986 8.36603L1.70576 6.36603C1.22945 6.09103 1.06474 5.47632 1.33974 5C1.61474 4.52369 2.22945 4.35898 2.70576 4.63398L6.16986 6.63398C6.64618 6.90898 6.81089 7.52369 6.53589 8C6.26089 8.47632 5.64618 8.64103 5.16986 8.36603Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.55",fillRule:"evenodd",clipRule:"evenodd",d:"M6.63403 6.16986L4.63403 2.70576C4.35903 2.22945 4.52374 1.61474 5.00006 1.33974C5.47637 1.06474 6.09108 1.22945 6.36608 1.70576L8.36608 5.16986C8.64108 5.64618 8.47637 6.26089 8.00006 6.53589C7.52374 6.81089 6.90903 6.64618 6.63403 6.16986Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.65",fillRule:"evenodd",clipRule:"evenodd",d:"M9 5L9 1C9 0.45 9.45 0 10 0C10.55 0 11 0.45 11 1V5C11 5.55 10.55 6 10 6C9.45 6 9 5.55 9 5Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.75",fillRule:"evenodd",clipRule:"evenodd",d:"M11.634 5.16986L13.634 1.70576C13.909 1.22945 14.5237 1.06474 15.0001 1.33974C15.4764 1.61474 15.6411 2.22945 15.3661 2.70576L13.3661 6.16986C13.0911 6.64618 12.4764 6.81089 12.0001 6.53589C11.5237 6.26089 11.359 5.64618 11.634 5.16986Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.85",fillRule:"evenodd",clipRule:"evenodd",d:"M13.8301 6.63397L17.2942 4.63397C17.7706 4.35897 18.3853 4.52368 18.6603 5C18.9353 5.47631 18.7706 6.09102 18.2942 6.36602L14.8301 8.36602C14.3538 8.64102 13.7391 8.47631 13.4641 8C13.1891 7.52368 13.3538 6.90897 13.8301 6.63397Z",fill:"currentColor"})]}),Sa=mn;var we=require("react/jsx-runtime"),Ne=(0,La.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 px-4",sm:"h-8 px-3 text-sm rounded-md",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),Le=Aa.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:l=!1,...m},c)=>{let g=i?Ma.Slot:"button",y=a(Ne({variant:t,size:o,className:e}),{"cursor-wait":r});return(0,we.jsx)(we.Fragment,{children:i?(0,we.jsx)(g,{className:y,type:"button",disabled:l,ref:c,...m,children:m.children}):(0,we.jsxs)(g,{className:y,type:"button",disabled:l,ref:c,...m,children:[r&&(0,we.jsx)(Sa,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),m.children]})})});Le.displayName="Button";var no=f(require("react"),1),it=f(require("@radix-ui/react-checkbox"),1),Ea=require("lucide-react"),Ia=require("@radix-ui/react-primitive"),Ha=require("@radix-ui/react-context"),_a=require("@radix-ui/react-presence");var $e=require("react/jsx-runtime"),Ba="Checkbox",[cn,Oa]=(0,Ha.createContextScope)(Ba),[Ds,dn]=cn(Ba),Va="CheckboxIndicator";function pn(e){return za(e)?"indeterminate":e?"checked":"unchecked"}var St=no.forwardRef((e,t)=>{let{__scopeCheckbox:o,forceMount:i,...r}=e,l=dn(Va,o);return(0,$e.jsx)(_a.Presence,{present:i||za(l.state)||l.state===!0,children:(0,$e.jsx)(Ia.Primitive.span,{"data-state":pn(l.state),"data-disabled":l.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});function za(e){return e==="indeterminate"}St.displayName=Va;var je=no.forwardRef(({className:e,...t},o)=>(0,$e.jsx)(it.Root,{ref:o,className:a("peer h-4 w-4 shrink-0 rounded-sm border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:opacity-50 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-300 disabled:data-[state=checked]:text-gray-600 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",e),...t,children:(0,$e.jsx)(it.Indicator,{className:a("flex items-center justify-center text-current"),children:(0,$e.jsx)(Ea.Check,{className:"h-3.5 w-3.5"})})}));je.displayName=it.Root.displayName;var Fa=je,Wa=St;var rt=f(require("react"),1),S=f(require("@radix-ui/react-dialog"),1);var $a=require("@heroicons/react/20/solid"),$=require("react/jsx-runtime"),Ge=S.Root,ja=S.Trigger,so=S.Portal,Ga=S.Close,At=rt.forwardRef(({className:e,...t},o)=>(0,$.jsx)(S.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));At.displayName=S.Overlay.displayName;var Ee=rt.forwardRef(({className:e,isRightCloseButton:t,size:o="md",position:i="center",height:r="auto",isFull:l=!1,children:m,...c},g)=>{let y={base:"fixed z-50 flex bg-white shadow-lg sm:rounded-xl bg-white text-gray-900 w-full max-w-[calc(-64px_+_100vw)] max-h-[calc(-64px_+_100vh)] flex-col",center:"left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-xl",bottom:"!duration-300 bottom-0 sm:bottom-1/2 left-1/2 rounded-t-xl sm:translate-y-1/2 data-[state=closed]:animate-out -translate-x-1/2 data-[state=open]:animate-in data-[state=open]:slide-in-from-left-1/2 ease-in-out data-[state=open]:slide-in-from-bottom-2/3 data-[state=closed]:slide-out-to-bottom-2/3 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 max-w-full max-h-[calc(-32px_+_100vh)] sm:max-h-[calc(-64px_+_100vh)] sm:max-w-[calc(-64px_+_100vw)]",left:"!duration-300 max-h-screen !h-full rounded-r-xl sm:rounded-l-none top-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-left data-[state=closed]:animate-out data-[state=closed]:slide-out-to-left ease-in-out",right:"!duration-300 !h-full rounded-l-xl sm:rounded-r-none max-h-screen top-0 right-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-right data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right ease-in-out"},P={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},v={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},D=[y.base,y[i],P[o],v[r],l&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return(0,$.jsxs)(so,{children:[(0,$.jsx)(At,{}),(0,$.jsxs)(S.Content,{ref:g,className:a(...D),...c,children:[m,(0,$.jsxs)(S.Close,{className:a("absolute md:top-4 top-2 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-700 text-gray-900 w-8 h-8 flex justify-center items-center rounded-full before:opacity-0 hover:before:opacity-100 before:transition-opacity before:z-[-1] before:content-[''] before:absolute before:inset-0 before:rounded-full before:select-none before:left-0 before:top-0 before:bg-gray-200 left-3 md:left-auto md:right-4",t&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[(0,$.jsx)($a.XMarkIcon,{className:"h-5 w-5 text-gray-700"}),(0,$.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});Ee.displayName=S.Content.displayName;var lo=({className:e,...t})=>(0,$.jsx)("div",{className:a("dialog-header py-2 md:py-4 h-12 md:h-16 px-10 md:px-12 items-center justify-center flex border-b border-gray-200 w-full shrink-0",e),...t});lo.displayName="DialogHeader";var nt=({className:e,isCondensed:t=!1,...o})=>(0,$.jsx)("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});nt.displayName="DialogBody";var mo=({className:e,isDivider:t=!0,...o})=>(0,$.jsx)("div",{className:a("dialog-footer flex sm:flex-row justify-center [&>*]:basis-1/2 [&>*]:sm:basis-auto sm:justify-end space-x-2 px-6 pb-4 shrink-0",t&&"border-gray-200 border-t py-4",e),...o});mo.displayName="DialogFooter";var co=rt.forwardRef(({className:e,...t},o)=>(0,$.jsx)(S.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));co.displayName=S.Title.displayName;var po=rt.forwardRef(({className:e,...t},o)=>(0,$.jsx)(S.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));po.displayName=S.Description.displayName;var Ua=f(require("qrcode.react"),1);var p=require("react/jsx-runtime"),fn=({img:e="",children:t,isQrForAll:o})=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:"qrcode__scan__container",children:(0,p.jsxs)("div",{className:"qrcode__scan",children:[(0,p.jsx)("div",{className:"qrcode__gradient",children:(0,p.jsx)("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),(0,p.jsx)("div",{className:"qrcode__border",children:(0,p.jsx)("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),(0,p.jsx)("div",{className:"qrcode__image p-4",children:e?(0,p.jsx)("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),(0,p.jsx)("div",{className:"mt-4 text-sm text-white",children:o?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),(0,p.jsx)("div",{className:"mt-3",children:"Nh\u1EADn ti\u1EC1n t\u1EEB m\u1ECDi V\xED \u0110i\u1EC7n T\u1EED v\xE0 Ng\xE2n H\xE0ng"})]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"mr-1 inline h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"})}),"S\u1EED d\u1EE5ng App MoMo ho\u1EB7c",(0,p.jsx)("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),(0,p.jsx)("style",{children:`
1
+ "use strict";var tn=Object.create;var kt=Object.defineProperty;var on=Object.getOwnPropertyDescriptor;var an=Object.getOwnPropertyNames;var rn=Object.getPrototypeOf,nn=Object.prototype.hasOwnProperty;var sn=(e,t)=>{for(var o in t)kt(e,o,{get:t[o],enumerable:!0})},xa=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of an(t))!nn.call(e,r)&&r!==o&&kt(e,r,{get:()=>t[r],enumerable:!(i=on(t,r))||i.enumerable});return e};var f=(e,t,o)=>(o=e!=null?tn(rn(e)):{},xa(t||!e||!e.__esModule?kt(o,"default",{value:e,enumerable:!0}):o,e)),ln=e=>xa(kt({},"__esModule",{value:!0}),e);var ls={};sn(ls,{Accordion:()=>et,AccordionContent:()=>at,AccordionItem:()=>tt,AccordionTrigger:()=>ot,AlertDialog:()=>Qa,AlertDialogAction:()=>xo,AlertDialogCancel:()=>yo,AlertDialogContent:()=>go,AlertDialogDescription:()=>bo,AlertDialogFooter:()=>ho,AlertDialogHeader:()=>uo,AlertDialogOverlay:()=>Mt,AlertDialogPortal:()=>fo,AlertDialogTitle:()=>vo,AlertDialogTrigger:()=>Za,AspectRatio:()=>xt,Badge:()=>hr,Breadcrumb:()=>Jt,BreadcrumbEllipsis:()=>ro,BreadcrumbItem:()=>to,BreadcrumbLink:()=>oo,BreadcrumbList:()=>eo,BreadcrumbPage:()=>ao,BreadcrumbSeparator:()=>io,Button:()=>Le,Callout:()=>tr,Card:()=>Jo,CardContent:()=>aa,CardDescription:()=>oa,CardFooter:()=>ia,CardHeader:()=>ea,CardTitle:()=>ta,Checkbox:()=>je,CheckboxIndicator:()=>St,ChoiceboxGroup:()=>gr,ChoiceboxGroupItem:()=>fr,Combobox:()=>Xi,ComboboxContent:()=>Yi,ComboboxTrigger:()=>Ki,Command:()=>Ut,CommandDialog:()=>Qi,CommandEmpty:()=>sa,CommandGroup:()=>la,CommandInput:()=>ra,CommandItem:()=>ca,CommandList:()=>na,CommandSeparator:()=>ma,CommandShortcut:()=>da,Dialog:()=>Ge,DialogBody:()=>nt,DialogClose:()=>Ga,DialogContent:()=>Ee,DialogDescription:()=>po,DialogFooter:()=>mo,DialogHeader:()=>lo,DialogOverlay:()=>At,DialogPortal:()=>so,DialogQr:()=>qa,DialogTitle:()=>co,DialogTrigger:()=>ja,Footer:()=>qi,Header:()=>Yo,HeroSection:()=>Tr,IconButton:()=>he,Indicator:()=>Wa,LightBoxContent:()=>cr,LightboxGallery:()=>dr,LightboxThumbnail:()=>lr,NavigationMenu:()=>ct,NavigationMenuContent:()=>ut,NavigationMenuItem:()=>pt,NavigationMenuLink:()=>qe,NavigationMenuList:()=>dt,NavigationMenuTrigger:()=>gt,Pagination:()=>wo,Popover:()=>Et,PopoverContent:()=>st,PopoverTrigger:()=>It,Progressbar:()=>ha,RadioGroup:()=>qo,RadioGroupItem:()=>Qo,Root:()=>Fa,SearchBar:()=>ir,Select:()=>yi,SelectContent:()=>Fo,SelectGroup:()=>Ni,SelectItem:()=>Pi,SelectLabel:()=>Wo,SelectScrollDownButton:()=>$t,SelectScrollUpButton:()=>Wt,SelectSeparator:()=>$o,SelectTrigger:()=>zo,SelectValue:()=>wi,SiteMeta:()=>Yr,Slider:()=>va,Stepper:()=>bi,Switch:()=>Go,Tabs:()=>ti,TabsContent:()=>Ro,TabsList:()=>Po,TabsTrigger:()=>Co,TextArea:()=>ri,TextButton:()=>mt,TextInput:()=>vi,ToastAction:()=>Mo,Toaster:()=>mi,Tooltip:()=>ui,TooltipArrow:()=>Bo,TooltipContent:()=>Oo,TooltipProvider:()=>gi,TooltipTrigger:()=>hi,badgeVariants:()=>fa,buttonVariants:()=>Ne,createCheckboxScope:()=>Oa,mobaseTW:()=>Kr,navigationMenuTriggerStyle:()=>ft,textButtonVariants:()=>Ho,toast:()=>Do,useToast:()=>zt});module.exports=ln(ls);var Je=f(require("react"),1),K=f(require("@radix-ui/react-accordion"),1),ka=require("lucide-react");var Ca=require("clsx"),Ra=require("tailwind-merge");var ya={heading:"V\u1EC1 ch\xFAng t\xF4i",lists:[{title:"Gi\u1EDBi thi\u1EC7u",url:"/sieu-ung-dung-momo",newTab:!1},{title:"An to\xE0n - B\u1EA3o m\u1EADt",url:"/an-toan-bao-mat",newTab:!1},{title:"\u0110i\u1EC1u kho\u1EA3n \u0111i\u1EC1u l\u1EC7",url:"/dieu-khoan-dieu-le",newTab:!1},{title:"Ch\xEDnh s\xE1ch quy\u1EC1n ri\xEAng t\u01B0",url:"/chinh-sach-quyen-rieng-tu",newTab:!1},{title:"\u0110i\u1EC1u kho\u1EA3n li\xEAn k\u1EBFt Google tr\xEAn \u1EE9ng d\u1EE5ng MoMo",url:"/google-cloud-policy",newTab:!1},{title:"Blog",url:"/blog",newTab:!1},{title:"Li\xEAn h\u1EC7",url:"/lienhe",newTab:!1},{title:"H\u1ECFi \u0111\xE1p",url:"/hoi-dap",newTab:!1}]},ge={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Email:"hotro@momo.vn"}},wa="https://www.momo.vn/",Na={Address:"L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, Ph\u01B0\u1EDDng T\xE2n Ph\xFA, Qu\u1EADn 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"};var Xe=[{Name:"Facebook",Image:"https://homepage.momocdn.net/styles/desktop/images/social/facebook.svg",Link:"https://www.facebook.com/vimomo"},{Name:"Linkedin",Image:"https://homepage.momocdn.net/styles/desktop/images/social/linkedin.svg",Link:"https://www.linkedin.com/company/momo-mservice/"},{Name:"Youtube",Image:"https://homepage.momocdn.net/styles/desktop/images/social/youtube.svg",Link:"https://www.youtube.com/channel/UCKHHW-qL2JoZqcSNm1jPlqw"}],Yt=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&amp;utm_medium=download&amp;utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}],Pa=[{Name:"V\xE9 xem phim",Href:"/cinema",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144722.svg"},{Name:"B\u1EA3o hi\u1EC3m \xD4 t\xF4",Href:"/bao-hiem-o-to/vat-chat",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144844.svg"},{Name:"V\xE9 m\xE1y bay",Href:"/ve-may-bay",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-201210145350.svg"},{Name:"Kh\xE1ch s\u1EA1n",Href:"/khach-san-theo-gio",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210315154805.svg"},{Name:"V\xED nh\xE2n \xE1i",Href:"/vi-nhan-ai",Image:"https://homepage.momocdn.net/img/momo-upload-api-231214222240-638381893608141712.png"},{Name:"T\xFAi th\u1EA7n t\xE0i",Href:"/tui-than-tai",Image:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210716153611.svg"},{Name:"V\xED tr\u1EA3 sau",Href:"/vi-tra-sau",Image:"https://homepage.momocdn.net/img/momo-upload-api-230629144414-638236466540028217.png"},{Name:"Vay nhanh",Href:"/vay-nhanh",Image:"https://homepage.momocdn.net/img/momo-upload-api-230418101312-638174095928506551.png"}];var U={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Email:"hotro@momo.vn"}},Xt="nav_footer";function a(...e){return(0,Ra.twMerge)((0,Ca.clsx)(e))}var Ta=({link:e,query:t={}})=>{if(!e)return"";let o=new URL(e,wa||""),i=new URLSearchParams(o.search);return Object.entries(t).forEach(([r,l])=>{l&&i.append(r,l)}),o.search=i.toString(),o.toString()};var ue=require("react/jsx-runtime"),et=Je.forwardRef(({className:e,...t},o)=>(0,ue.jsx)(K.Root,{ref:o,...t}));et.displayName="AccordionRoot";var tt=Je.forwardRef(({className:e,...t},o)=>(0,ue.jsx)(K.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));tt.displayName="AccordionItem";var ot=Je.forwardRef(({className:e,children:t,...o},i)=>(0,ue.jsx)(K.Header,{className:"flex",children:(0,ue.jsxs)(K.Trigger,{ref:i,className:a("flex flex-1 items-center text-left justify-between py-4 font-medium transition-all hover:underline hover:text-pink-600 [&[data-state=open]]:text-pink-600 [&[data-state=open]>svg]:rotate-180 text-gray-900",e),...o,children:[t,(0,ue.jsx)(ka.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200 ml-1"})]})}));ot.displayName=K.Trigger.displayName;var at=Je.forwardRef(({className:e,children:t,...o},i)=>(0,ue.jsx)(K.Content,{ref:i,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:(0,ue.jsx)("div",{className:a("pb-4 pt-0 text-gray-900 prose-sm",e),children:t})}));at.displayName=K.Content.displayName;var We=f(require("react"),1),Dt=require("@radix-ui/react-icons"),Da=require("@radix-ui/react-slot");var Y=require("react/jsx-runtime"),Jt=We.forwardRef(({className:e,...t},o)=>(0,Y.jsx)("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));Jt.displayName="Breadcrumb";var eo=We.forwardRef(({className:e,...t},o)=>(0,Y.jsx)("ol",{ref:o,className:a("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));eo.displayName="BreadcrumbList";var to=We.forwardRef(({className:e,...t},o)=>(0,Y.jsx)("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));to.displayName="BreadcrumbItem";var oo=We.forwardRef(({asChild:e,className:t,...o},i)=>(0,Y.jsx)(e?Da.Slot:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));oo.displayName="BreadcrumbLink";var ao=We.forwardRef(({className:e,...t},o)=>(0,Y.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));ao.displayName="BreadcrumbPage";var io=({children:e,className:t,...o})=>(0,Y.jsx)("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??(0,Y.jsx)(Dt.ChevronRightIcon,{className:"w-2 h-2"})});io.displayName="BreadcrumbSeparator";var ro=({className:e,...t})=>(0,Y.jsxs)("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[(0,Y.jsx)(Dt.DotsHorizontalIcon,{className:"w-4 h-4 text-gray-900"}),(0,Y.jsx)("span",{className:"sr-only",children:"More"})]});ro.displayName="BreadcrumbElipssis";var Aa=f(require("react"),1),Ma=require("@radix-ui/react-slot"),La=require("class-variance-authority");var z=require("react/jsx-runtime"),mn=({className:e})=>(0,z.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[(0,z.jsx)("path",{opacity:"0.9",fillRule:"evenodd",clipRule:"evenodd",d:"M15 9H19C19.55 9 20 9.45 20 10C20 10.55 19.55 11 19 11H15C14.45 11 14 10.55 14 10C14 9.45 14.45 9 15 9Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.8301 11.634L18.2942 13.634C18.7706 13.909 18.9353 14.5237 18.6603 15C18.3853 15.4763 17.7706 15.641 17.2942 15.366L13.8301 13.366C13.3538 13.091 13.1891 12.4763 13.4641 12C13.7391 11.5237 14.3538 11.359 14.8301 11.634Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.25",fillRule:"evenodd",clipRule:"evenodd",d:"M13.366 13.8301L15.366 17.2942C15.641 17.7706 15.4763 18.3853 14.9999 18.6603C14.5236 18.9353 13.9089 18.7706 13.6339 18.2942L11.6339 14.8301C11.3589 14.3538 11.5236 13.7391 11.9999 13.4641C12.4763 13.1891 13.091 13.3538 13.366 13.8301Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.3",fillRule:"evenodd",clipRule:"evenodd",d:"M11 15V19C11 19.55 10.55 20 10 20C9.45 20 9 19.55 9 19V15C9 14.45 9.45 14 10 14C10.55 14 11 14.45 11 15Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.35",fillRule:"evenodd",clipRule:"evenodd",d:"M8.36597 14.8301L6.36597 18.2942C6.09097 18.7706 5.47626 18.9353 4.99994 18.6603C4.52363 18.3853 4.35892 17.7706 4.63392 17.2942L6.63392 13.8301C6.90892 13.3538 7.52363 13.1891 7.99994 13.4641C8.47626 13.7391 8.64097 14.3538 8.36597 14.8301Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.4",fillRule:"evenodd",clipRule:"evenodd",d:"M6.16986 13.366L2.70576 15.366C2.22945 15.641 1.61474 15.4763 1.33974 15C1.06474 14.5237 1.22945 13.909 1.70576 13.634L5.16986 11.634C5.64618 11.359 6.26089 11.5237 6.53589 12C6.81089 12.4763 6.64618 13.091 6.16986 13.366Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.45",fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H1C0.45 11 0 10.55 0 10C0 9.45 0.45 9 1 9H5C5.55 9 6 9.45 6 10C6 10.55 5.55 11 5 11Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.5",fillRule:"evenodd",clipRule:"evenodd",d:"M5.16986 8.36603L1.70576 6.36603C1.22945 6.09103 1.06474 5.47632 1.33974 5C1.61474 4.52369 2.22945 4.35898 2.70576 4.63398L6.16986 6.63398C6.64618 6.90898 6.81089 7.52369 6.53589 8C6.26089 8.47632 5.64618 8.64103 5.16986 8.36603Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.55",fillRule:"evenodd",clipRule:"evenodd",d:"M6.63403 6.16986L4.63403 2.70576C4.35903 2.22945 4.52374 1.61474 5.00006 1.33974C5.47637 1.06474 6.09108 1.22945 6.36608 1.70576L8.36608 5.16986C8.64108 5.64618 8.47637 6.26089 8.00006 6.53589C7.52374 6.81089 6.90903 6.64618 6.63403 6.16986Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.65",fillRule:"evenodd",clipRule:"evenodd",d:"M9 5L9 1C9 0.45 9.45 0 10 0C10.55 0 11 0.45 11 1V5C11 5.55 10.55 6 10 6C9.45 6 9 5.55 9 5Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.75",fillRule:"evenodd",clipRule:"evenodd",d:"M11.634 5.16986L13.634 1.70576C13.909 1.22945 14.5237 1.06474 15.0001 1.33974C15.4764 1.61474 15.6411 2.22945 15.3661 2.70576L13.3661 6.16986C13.0911 6.64618 12.4764 6.81089 12.0001 6.53589C11.5237 6.26089 11.359 5.64618 11.634 5.16986Z",fill:"currentColor"}),(0,z.jsx)("path",{opacity:"0.85",fillRule:"evenodd",clipRule:"evenodd",d:"M13.8301 6.63397L17.2942 4.63397C17.7706 4.35897 18.3853 4.52368 18.6603 5C18.9353 5.47631 18.7706 6.09102 18.2942 6.36602L14.8301 8.36602C14.3538 8.64102 13.7391 8.47631 13.4641 8C13.1891 7.52368 13.3538 6.90897 13.8301 6.63397Z",fill:"currentColor"})]}),Sa=mn;var we=require("react/jsx-runtime"),Ne=(0,La.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 px-4",sm:"h-8 px-3 text-sm rounded-md",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),Le=Aa.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:l=!1,...m},c)=>{let g=i?Ma.Slot:"button",y=a(Ne({variant:t,size:o,className:e}),{"cursor-wait":r});return(0,we.jsx)(we.Fragment,{children:i?(0,we.jsx)(g,{className:y,type:"button",disabled:l,ref:c,...m,children:m.children}):(0,we.jsxs)(g,{className:y,type:"button",disabled:l,ref:c,...m,children:[r&&(0,we.jsx)(Sa,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),m.children]})})});Le.displayName="Button";var no=f(require("react"),1),it=f(require("@radix-ui/react-checkbox"),1),Ea=require("lucide-react"),Ia=require("@radix-ui/react-primitive"),Ha=require("@radix-ui/react-context"),_a=require("@radix-ui/react-presence");var $e=require("react/jsx-runtime"),Ba="Checkbox",[cn,Oa]=(0,Ha.createContextScope)(Ba),[Ds,dn]=cn(Ba),Va="CheckboxIndicator";function pn(e){return za(e)?"indeterminate":e?"checked":"unchecked"}var St=no.forwardRef((e,t)=>{let{__scopeCheckbox:o,forceMount:i,...r}=e,l=dn(Va,o);return(0,$e.jsx)(_a.Presence,{present:i||za(l.state)||l.state===!0,children:(0,$e.jsx)(Ia.Primitive.span,{"data-state":pn(l.state),"data-disabled":l.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});function za(e){return e==="indeterminate"}St.displayName=Va;var je=no.forwardRef(({className:e,...t},o)=>(0,$e.jsx)(it.Root,{ref:o,className:a("peer h-4 w-4 shrink-0 rounded-sm border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:opacity-50 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-300 disabled:data-[state=checked]:text-gray-600 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",e),...t,children:(0,$e.jsx)(it.Indicator,{className:a("flex items-center justify-center text-current"),children:(0,$e.jsx)(Ea.Check,{className:"h-3.5 w-3.5"})})}));je.displayName=it.Root.displayName;var Fa=je,Wa=St;var rt=f(require("react"),1),S=f(require("@radix-ui/react-dialog"),1);var $a=require("@heroicons/react/20/solid"),$=require("react/jsx-runtime"),Ge=S.Root,ja=S.Trigger,so=S.Portal,Ga=S.Close,At=rt.forwardRef(({className:e,...t},o)=>(0,$.jsx)(S.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));At.displayName=S.Overlay.displayName;var Ee=rt.forwardRef(({className:e,isRightCloseButton:t,size:o="md",position:i="center",height:r="auto",isFull:l=!1,children:m,...c},g)=>{let y={base:"fixed z-50 flex bg-white shadow-lg sm:rounded-xl bg-white text-gray-900 w-full max-w-[calc(-64px_+_100vw)] max-h-[calc(-64px_+_100vh)] flex-col",center:"left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-xl",bottom:"!duration-300 bottom-0 sm:bottom-1/2 left-1/2 rounded-t-xl sm:translate-y-1/2 data-[state=closed]:animate-out -translate-x-1/2 data-[state=open]:animate-in data-[state=open]:slide-in-from-left-1/2 ease-in-out data-[state=open]:slide-in-from-bottom-2/3 data-[state=closed]:slide-out-to-bottom-2/3 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 max-w-full max-h-[calc(-32px_+_100vh)] sm:max-h-[calc(-64px_+_100vh)] sm:max-w-[calc(-64px_+_100vw)]",left:"!duration-300 max-h-screen !h-full rounded-r-xl sm:rounded-l-none top-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-left data-[state=closed]:animate-out data-[state=closed]:slide-out-to-left ease-in-out",right:"!duration-300 !h-full rounded-l-xl sm:rounded-r-none max-h-screen top-0 right-0 data-[state=open]:animate-in data-[state=open]:slide-in-from-right data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right ease-in-out"},P={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},v={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},D=[y.base,y[i],P[o],v[r],l&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return(0,$.jsxs)(so,{children:[(0,$.jsx)(At,{}),(0,$.jsxs)(S.Content,{ref:g,className:a(...D),...c,children:[m,(0,$.jsxs)(S.Close,{className:a("absolute md:top-4 top-2 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-700 text-gray-900 w-8 h-8 flex justify-center items-center rounded-full before:opacity-0 hover:before:opacity-100 before:transition-opacity before:z-[-1] before:content-[''] before:absolute before:inset-0 before:rounded-full before:select-none before:left-0 before:top-0 before:bg-gray-200 left-3 md:left-auto md:right-4",t&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[(0,$.jsx)($a.XMarkIcon,{className:"h-5 w-5 text-gray-700"}),(0,$.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});Ee.displayName=S.Content.displayName;var lo=({className:e,...t})=>(0,$.jsx)("div",{className:a("dialog-header py-2 md:py-4 h-12 md:h-16 px-10 md:px-12 items-center justify-center flex border-b border-gray-200 w-full shrink-0",e),...t});lo.displayName="DialogHeader";var nt=({className:e,isCondensed:t=!1,...o})=>(0,$.jsx)("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});nt.displayName="DialogBody";var mo=({className:e,isDivider:t=!0,...o})=>(0,$.jsx)("div",{className:a("dialog-footer flex sm:flex-row justify-center [&>*]:basis-1/2 [&>*]:sm:basis-auto sm:justify-end space-x-2 px-6 pb-4 shrink-0",t&&"border-gray-200 border-t py-4",e),...o});mo.displayName="DialogFooter";var co=rt.forwardRef(({className:e,...t},o)=>(0,$.jsx)(S.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));co.displayName=S.Title.displayName;var po=rt.forwardRef(({className:e,...t},o)=>(0,$.jsx)(S.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));po.displayName=S.Description.displayName;var Ua=f(require("qrcode.react"),1);var p=require("react/jsx-runtime"),fn=({img:e="",children:t,isQrForAll:o})=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:"qrcode__scan__container",children:(0,p.jsxs)("div",{className:"qrcode__scan",children:[(0,p.jsx)("div",{className:"qrcode__gradient",children:(0,p.jsx)("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),(0,p.jsx)("div",{className:"qrcode__border",children:(0,p.jsx)("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),(0,p.jsx)("div",{className:"qrcode__image p-4",children:e?(0,p.jsx)("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),(0,p.jsx)("div",{className:"mt-4 text-sm text-white",children:o?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),(0,p.jsx)("div",{className:"mt-3",children:"Nh\u1EADn ti\u1EC1n t\u1EEB m\u1ECDi V\xED \u0110i\u1EC7n T\u1EED v\xE0 Ng\xE2n H\xE0ng"})]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"mr-1 inline h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"})}),"S\u1EED d\u1EE5ng App MoMo ho\u1EB7c",(0,p.jsx)("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),(0,p.jsx)("style",{children:`
2
2
  .qrcode__scan__container {
3
3
  padding: 15px;
4
4
  background-color: white;
@@ -117,11 +117,11 @@
117
117
  color: rgb(var(--mobase-red-500) / 1);
118
118
  }
119
119
  }
120
- `})]})});var Ft=require("@heroicons/react/24/outline");var ee=require("react");var se=require("react/jsx-runtime"),bi=(0,ee.forwardRef)(({value:e=0,min:t=0,max:o=999,disabled:i=!1,disabledInput:r=!1,step:l=1,inputClassName:m="",stepperClassName:c="",className:g="",onChange:y=()=>{},onChangeInputStepper:P,onDecrement:v,onIncrement:D,...B},C)=>{let N=(0,ee.useRef)(null),[O,H]=(0,ee.useState)(!1),[Me,A]=(0,ee.useState)(!1),[Rt,Ke]=(0,ee.useState)(""),Ye=(0,ee.useRef)(null),E=x=>{Number(x)>=o?H(!0):H(!1),Number(x)>t?A(!1):A(!0)},Xr=()=>{if(i||O)return;let x=N?.current?.querySelector("input");if(!x)return;let G=0;G=Math.min(Number(x.value)+l,o),E(G),x.value=String(G),Ke(x.value||""),P?.(x.value),D?.(x.value)},Jr=()=>{if(i||Me)return;let x=N?.current?.querySelector("input");if(!x)return;let G=0;G=Math.max(Number(x.value)-l,0),E(G),x.value=String(G),Ke(x.value||""),P?.(x.value),v?.(x.value)},en=x=>{if(!x)return;let G=x?.target?.value;G?.match(/^[0-9]*$/)||(G=G.replace(/[^0-9]/g,"")),E(G);let Tt=parseInt(G,10);Number.isNaN(Tt)||Tt<t?x.target.value=String(t):Tt>=o?x.target.value=String(o):x.target.value=String(Tt),Ke(x?.target?.value||""),P?.(x.target.value),y?.(x)};return(0,ee.useEffect)(()=>{let x=N?.current?.querySelector("input");x&&E(x?.value)},[]),(0,ee.useEffect)(()=>{let x=N?.current?.querySelector("input");x&&Ye?.current&&(x.style.width=`${Ye.current.offsetWidth+10}px`)},[Rt]),(0,se.jsxs)("div",{ref:N,className:"flex items-center space-x-1",children:[(0,se.jsx)(he,{id:"btn-minus",className:a(!Me&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Jr,children:(0,se.jsx)(Ft.MinusCircleIcon,{className:"w-8 h-8 "})}),(0,se.jsxs)("div",{children:[(0,se.jsx)("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:C,min:t,max:o,onChange:x=>en(x),id:"numberInput",disabled:i||r,autoComplete:"off",...B,className:a("text-gray-800 min-w-7 border-gray-300 border transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 w-7 h-7 rounded-md text-center bg-white",m)}),(0,se.jsx)("span",{ref:Ye,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:Rt||" "})]}),(0,se.jsx)(he,{id:"btn-plus",className:a(!O&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Xr,children:(0,se.jsx)(Ft.PlusCircleIcon,{className:"w-8 h-8 "})})]})});var le=f(require("react"),1),xe=require("@heroicons/react/16/solid"),xi=require("@heroicons/react/24/outline"),h=f(require("@radix-ui/react-select"),1);var w=require("react/jsx-runtime"),yi=le.forwardRef(({className:e,children:t,label:o,message:i,size:r,isError:l,disabled:m,...c})=>(0,w.jsxs)("div",{className:a("select-mobase relative",e,m?"disabled":"",l?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",r===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&(0,w.jsx)("span",{className:a("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",r===2&&"text-sm -top-2.5",l&&"text-red-500"),children:o}),(0,w.jsx)(h.Root,{disabled:m,...c,children:t}),i&&(0,w.jsxs)("div",{className:a("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",l&&"text-red-500"),children:[l?(0,w.jsx)(xe.XCircleIcon,{width:16,height:16}):(0,w.jsx)(xi.QuestionMarkCircleIcon,{width:16,height:16}),(0,w.jsx)("span",{className:a(r===2?"text-sm":"text-xs"),children:i})]})]})),wi=h.Value,zo=le.forwardRef(({className:e,children:t,...o},i)=>(0,w.jsxs)(h.Trigger,{ref:i,className:a("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[(0,w.jsx)("div",{className:"line-clamp-1 text-left",children:t}),(0,w.jsx)(h.Icon,{asChild:!0,children:(0,w.jsx)(xe.ChevronDownIcon,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));zo.displayName=h.Trigger.displayName;var Wt=le.forwardRef(({className:e,...t},o)=>(0,w.jsx)(h.ScrollUpButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1",e),...t,children:(0,w.jsx)(xe.ChevronUpIcon,{className:"h-5 w-5"})}));Wt.displayName=h.ScrollUpButton.displayName;var $t=le.forwardRef(({className:e,...t},o)=>(0,w.jsx)(h.ScrollDownButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:(0,w.jsx)(xe.ChevronDownIcon,{className:"h-5 w-5"})}));$t.displayName=h.ScrollDownButton.displayName;var Fo=le.forwardRef(({className:e,children:t,position:o="popper",...i},r)=>(0,w.jsx)(h.Portal,{children:(0,w.jsxs)(h.Content,{ref:r,className:a("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-lg 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",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...i,children:[(0,w.jsx)(Wt,{}),(0,w.jsx)(h.Viewport,{className:a("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,w.jsx)($t,{})]})}));Fo.displayName=h.Content.displayName;var Ni=le.forwardRef(({className:e,children:t,...o},i)=>(0,w.jsx)(h.Group,{ref:i,className:a("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),Wo=le.forwardRef(({className:e,...t},o)=>(0,w.jsx)(h.Label,{ref:o,className:a("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));Wo.displayName=h.Label.displayName;var Pi=le.forwardRef(({className:e,children:t,...o},i)=>(0,w.jsxs)(h.Item,{ref:i,className:a("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,w.jsx)("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:(0,w.jsx)(h.ItemIndicator,{children:(0,w.jsx)(xe.CheckIcon,{className:"h-4 w-4"})})}),(0,w.jsx)(h.ItemText,{children:t})]})),$o=le.forwardRef(({className:e,...t},o)=>(0,w.jsx)(h.Separator,{ref:o,className:a("-mx-1 my-1 h-px bg-muted",e),...t}));$o.displayName=h.Separator.displayName;var re=f(require("react"),1),Ci=require("@heroicons/react/16/solid"),k=f(require("@radix-ui/react-navigation-menu"),1),Ri=require("class-variance-authority");var T=require("react/jsx-runtime"),Ti=re.createContext(null),xn=({value:e,children:t})=>(0,T.jsx)(Ti.Provider,{value:e,children:t}),yn=()=>{let e=re.useContext(Ti);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},ct=re.forwardRef(({className:e,children:t,alignDropdown:o="left",...i},r)=>(0,T.jsx)(xn,{value:{alignDropdown:o},children:(0,T.jsxs)(k.Root,{ref:r,className:a("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...i,children:[t,(0,T.jsx)(Di,{})]})}));ct.displayName=k.Root.displayName;var dt=re.forwardRef(({className:e,...t},o)=>(0,T.jsx)(k.List,{ref:o,className:a("group flex flex-1 list-none items-center justify-center ",e),...t}));dt.displayName=k.List.displayName;var pt=k.Item,ft=(0,Ri.cva)(Ne({variant:"transparent",size:"sm"})),gt=re.forwardRef(({className:e,children:t,...o},i)=>(0,T.jsxs)(k.Trigger,{ref:i,className:a(ft(),"group",e),...o,children:[t,(0,T.jsx)(Ci.ChevronDownIcon,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));gt.displayName=k.Trigger.displayName;var ut=re.forwardRef(({className:e,...t},o)=>(0,T.jsx)(k.Content,{ref:o,className:a("hidden group-data-[state=open]:block left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",e),...t}));ut.displayName=k.Content.displayName;var qe=k.Link,ki=re.forwardRef(({className:e,...t},o)=>{let{alignDropdown:i}=yn();return(0,T.jsx)("div",{className:a("absolute top-full flex justify-center",i==="left"&&"left-0",i==="right"&&"right-0",i==="center"&&"left-1/2 -translate-x-1/2"),children:(0,T.jsx)(k.Viewport,{className:a("origin-top-center relative mt-3.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-gray-200 bg-white text-gray-900 shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)] group",e),ref:o,...t})})});ki.displayName=k.Viewport.displayName;var Di=re.forwardRef(({className:e,...t},o)=>(0,T.jsxs)("div",{ref:o,children:[(0,T.jsx)(k.Indicator,{ref:o,className:a("top-full z-[1] flex h-4 items-end justify-center overflow-hidden group data-[state=visible]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=visible]:zoom-in-90",e),...t,children:(0,T.jsxs)("svg",{width:"158",height:"46",viewBox:"0 0 158 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"relative w-7 h-7 top-[9px] group-data-[state=visible]:animate-in group-data-[state=closed]:animate-out group-data-[state=closed]:zoom-out-95 group-data-[state=visible]:zoom-in-90",children:[(0,T.jsxs)("g",{"clip-path":"url(#clip0_782_2)",children:[(0,T.jsx)("path",{d:"M70.9519 9.1982L55.1105 25.0396C47.3839 32.7662 43.5206 36.6295 39.0121 39.3923C35.015 41.8418 30.6572 43.6468 26.0987 44.7412C20.9572 45.9756 15.4937 45.9756 4.56665 45.9756H153.132C142.205 45.9756 136.742 45.9756 131.6 44.7412C127.042 43.6468 122.684 41.8418 118.687 39.3923C114.178 36.6295 110.315 32.7662 102.588 25.0396L86.7468 9.1982C82.3852 4.8365 75.3136 4.8365 70.9519 9.1982Z",fill:"white"}),(0,T.jsx)("path",{d:"M153.132 40.3912C141.939 40.3912 137.253 40.3553 132.904 39.3112C128.915 38.3536 125.102 36.7741 121.605 34.6309C117.791 32.2938 114.452 29.0054 106.537 21.0909L90.6957 5.2494C84.1532 -1.293 73.5457 -1.293 67.0033 5.2495L51.1618 21.0909C43.2473 29.0054 39.9082 32.2938 36.0944 34.6309C32.5969 36.7741 28.7838 38.3536 24.7952 39.3112C20.4458 40.3553 15.7596 40.3912 4.56672 40.3912H0.668457V45.9756H4.56672C15.4938 45.9756 20.9573 45.9756 26.0988 44.7412C30.6573 43.6468 35.0151 41.8418 39.0122 39.3923C43.5207 36.6295 47.384 32.7662 55.1106 25.0396L70.952 9.1982C75.3137 4.8365 82.3853 4.8365 86.7469 9.1982L102.588 25.0396C110.315 32.7662 114.178 36.6295 118.687 39.3923C122.684 41.8418 127.042 43.6468 131.6 44.7412C136.742 45.9756 142.205 45.9756 153.132 45.9756H157.03V40.3912H153.132Z",fill:"#E5E5E5"})]}),(0,T.jsx)("defs",{children:(0,T.jsx)("clipPath",{id:"clip0_782_2",children:(0,T.jsx)("rect",{width:"158",height:"46",fill:"white",transform:"matrix(1 0 0 -1 0 46)"})})})]})}),(0,T.jsx)(k.Indicator,{...t,children:(0,T.jsx)(ki,{})})]}));Di.displayName=k.Indicator.displayName;var Si=f(require("react"),1),ht=f(require("@radix-ui/react-switch"),1);var jo=require("react/jsx-runtime"),Go=Si.forwardRef(({className:e,...t},o)=>(0,jo.jsx)(ht.Root,{className:a("peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-default disabled:opacity-20 data-[state=checked]:bg-pink-500 data-[state=unchecked]:bg-gray-400",e),...t,ref:o,children:(0,jo.jsx)(ht.Thumb,{className:a("pointer-events-none relative cik before:content-[''] before:absolute before:w-1.5 before:h-1.5 before:rounded-full before:bg-pink-600 before:-translate-x-1/2 before:translate-y-1 disabled:opacity-20 before:data-[state=unchecked]:bg-gray-400 block h-3.5 w-3.5 bg-white rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5")})}));Go.displayName=ht.Root.displayName;var Uo=f(require("react"),1),Re=f(require("@radix-ui/react-radio-group"),1),Ai=require("lucide-react");var Mi=require("class-variance-authority"),vt=require("react/jsx-runtime"),wn=(0,Mi.cva)("grid cursor-pointer gap-2 text-gray-900 text-sm",{variants:{orientation:{horizontal:"grid-cols-2",vertical:"grid-cols-1"}},defaultVariants:{orientation:"vertical"}}),qo=Uo.forwardRef(({disabled:e,orientation:t,className:o,...i},r)=>(0,vt.jsx)(Re.Root,{className:a("",wn({orientation:t}),o),...i,ref:r}));qo.displayName=Re.Root.displayName;var Qo=Uo.forwardRef(({className:e,...t},o)=>(0,vt.jsx)(Re.Item,{ref:o,className:a("aspect-square h-4 w-4 rounded-full border border-gray-700 disabled:bg-gray-300 disabled:data-[state=checked]:text-gray-500 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-300 data-[state=checked]:bg-pink-500 disabled:border-none data-[state=checked]:border-none text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:opacity-40",e),...t,children:(0,vt.jsx)(Re.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,vt.jsx)(Ai.Circle,{className:"h-2 w-2 fill-current text-current"})})}));Qo.displayName=Re.Item.displayName;var $i=require("react");var Ko=f(require("next/link"),1);var Li=f(require("next/link"),1),me=require("react/jsx-runtime"),Nn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:l=!1})=>{let m=l?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,me.jsx)("li",{className:"",children:(0,me.jsx)(qe,{asChild:!0,children:(0,me.jsxs)(Li.default,{className:a(" select-none space-y-1 rounded-md px-2.5 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 items-center min-h-9",e),href:r,...m,children:[t&&(0,me.jsx)("div",{className:"w-7 h-7 shrink-0",children:(0,me.jsx)("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),(0,me.jsxs)("div",{className:" ",children:[(0,me.jsx)("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),i&&(0,me.jsx)("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})})},Ei=Nn;var Ii=f(require("next/link"),1),te=require("react/jsx-runtime"),Pn=({data:e})=>(0,te.jsx)(ct,{children:(0,te.jsx)(dt,{children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return t.hasDropdown?(0,te.jsxs)(pt,{children:[(0,te.jsx)(gt,{children:t.title}),(0,te.jsx)(ut,{children:(0,te.jsx)("ul",{className:a(t.dropDownCompact===!0?"grid gap-1 p-2.5 w-[540px] md:grid-cols-2 ":"grid w-[250px] gap-1 p-2.5 grid-cols-1"),children:t.subMenu&&t.subMenu.map(i=>(0,te.jsx)(Ei,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]},t.id):(0,te.jsx)(pt,{children:(0,te.jsx)(Ii.default,{href:t.url,legacyBehavior:!0,passHref:!0,children:(0,te.jsx)(qe,{className:ft(),...o,children:t.title})})},t.id)})})}),Hi=Pn;var Gt=require("react");var jt=[.24,.25,.05,1];var Fi=require("react-use"),Zo=f(require("next/router"),1);var _i=f(require("next/link"),1),ye=require("react/jsx-runtime"),Cn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:l=!1})=>{let m=l?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,ye.jsx)("li",{className:"",children:(0,ye.jsxs)(_i.default,{className:a(" select-none py-2 flex flex-nowrap space-x-2 items-center",e),href:r,...m,children:[t&&(0,ye.jsx)("div",{className:"w-7 h-7 shrink-0",children:(0,ye.jsx)("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),(0,ye.jsxs)("div",{className:" ",children:[(0,ye.jsx)("div",{className:"text-sm text-gray-800 leading-none",children:o}),i&&(0,ye.jsx)("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})},Bi=Cn;var Oi=f(require("next/link"),1),Vi=require("framer-motion"),ce=require("react/jsx-runtime"),Rn={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:jt}},exit:{opacity:0,transition:{duration:.05}}},Tn=({data:e})=>(0,ce.jsx)(et,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,ce.jsx)(Vi.motion.div,{variants:Rn,children:t.hasDropdown?(0,ce.jsxs)(tt,{value:t.id,children:[(0,ce.jsx)(ot,{className:"py-3",children:t.title}),(0,ce.jsx)(at,{children:(0,ce.jsx)("ul",{className:a("grid gap-1 grid-cols-1"),children:t.subMenu&&t.subMenu.map(i=>(0,ce.jsx)(Bi,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]}):(0,ce.jsx)(Oi.default,{className:"py-3 flex flex-1 items-center text-left justify-between font-medium transition-all hover:underline text-gray-900 border-b border-gray-200",href:t.url,...o,children:t.title})},t.id)})}),zi=Tn;var Be=f(require("next/link"),1),de=require("framer-motion");var d=require("react/jsx-runtime"),kn=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,Dn=({data:e,className:t})=>{let[o,i]=(0,Gt.useState)(!1);(0,Fi.useKey)("Escape",()=>i(!1)),(0,Gt.useEffect)(()=>{if(!o)return;let m=kn();function c(){i(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Zo.default.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:m||0,behavior:"instant"}),Zo.default.events.off("routeChangeComplete",c)}},[o]);let r={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},l={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:jt}},exit:{opacity:0,transition:{duration:.15}}};return(0,d.jsxs)("div",{className:a(t),children:[(0,d.jsxs)("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>i(!o),children:[(0,d.jsx)("span",{className:"sr-only",children:"Navigation"}),(0,d.jsx)(de.motion.div,{animate:o?"hidden":"visible",variants:r,children:(0,d.jsx)("svg",{className:a("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),(0,d.jsx)(de.motion.div,{animate:o?"visible":"hidden",variants:r,children:(0,d.jsx)("svg",{className:a("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,d.jsx)(de.LazyMotion,{features:de.domAnimation,children:(0,d.jsx)(de.AnimatePresence,{mode:"wait",children:o&&(0,d.jsxs)(de.motion.nav,{variants:l,initial:"hidden",animate:"show",exit:"exit",className:a(t,"fixed block w-full max-w-full z-50 px-5 bg-white left-0 right-0 bottom-0 overflow-y-auto top-[calc(var(--header-height)+1px)] "),children:[(0,d.jsx)(zi,{data:e}),(0,d.jsxs)("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[(0,d.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),(0,d.jsxs)("div",{className:"flex flex-nowrap",children:[(0,d.jsx)("div",{className:"flex-initial",children:(0,d.jsx)(Be.default,{href:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",legacyBehavior:!0,children:(0,d.jsx)("a",{className:"link-white",target:"_blank",children:(0,d.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})}),(0,d.jsx)("div",{className:"ml-3 flex-initial",children:(0,d.jsx)(Be.default,{href:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",legacyBehavior:!0,children:(0,d.jsx)("a",{className:"link-white",target:"_blank",children:(0,d.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})})]}),(0,d.jsx)("h4",{className:"mb-2 mt-5 text-tiny font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),(0,d.jsxs)("ul",{className:"mb-2 text-tiny text-gray-500",children:[(0,d.jsxs)("li",{className:"mb-1",children:["Hotline :",(0,d.jsx)(Be.default,{href:`tel:${ge.Support.Hotline}`,legacyBehavior:!0,children:(0,d.jsx)("a",{className:"text-gray-600",children:ge.Support.Hotline_Format})})]}),(0,d.jsxs)("li",{className:"mb-1",children:["Email:",(0,d.jsx)(Be.default,{href:`mailto:${ge.Support.Email}`,legacyBehavior:!0,children:(0,d.jsx)("a",{className:"text-gray-600",children:ge.Support.Email})})]})]}),(0,d.jsx)("a",{href:"https://momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:(0,d.jsxs)("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-10 pr-2 hover:bg-gray-100",children:[(0,d.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,d.jsx)("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,d.jsxs)("g",{children:[(0,d.jsx)("title",{children:"Asset 1"}),(0,d.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
120
+ `})]})});var Ft=require("@heroicons/react/24/outline");var ee=require("react");var se=require("react/jsx-runtime"),bi=(0,ee.forwardRef)(({value:e=0,min:t=0,max:o=999,disabled:i=!1,disabledInput:r=!1,step:l=1,inputClassName:m="",stepperClassName:c="",className:g="",onChange:y=()=>{},onChangeInputStepper:P,onDecrement:v,onIncrement:D,...B},C)=>{let N=(0,ee.useRef)(null),[O,H]=(0,ee.useState)(!1),[Me,A]=(0,ee.useState)(!1),[Rt,Ke]=(0,ee.useState)(""),Ye=(0,ee.useRef)(null),E=x=>{Number(x)>=o?H(!0):H(!1),Number(x)>t?A(!1):A(!0)},Xr=()=>{if(i||O)return;let x=N?.current?.querySelector("input");if(!x)return;let G=0;G=Math.min(Number(x.value)+l,o),E(G),x.value=String(G),Ke(x.value||""),P?.(x.value),D?.(x.value)},Jr=()=>{if(i||Me)return;let x=N?.current?.querySelector("input");if(!x)return;let G=0;G=Math.max(Number(x.value)-l,0),E(G),x.value=String(G),Ke(x.value||""),P?.(x.value),v?.(x.value)},en=x=>{if(!x)return;let G=x?.target?.value;G?.match(/^[0-9]*$/)||(G=G.replace(/[^0-9]/g,"")),E(G);let Tt=parseInt(G,10);Number.isNaN(Tt)||Tt<t?x.target.value=String(t):Tt>=o?x.target.value=String(o):x.target.value=String(Tt),Ke(x?.target?.value||""),P?.(x.target.value),y?.(x)};return(0,ee.useEffect)(()=>{let x=N?.current?.querySelector("input");x&&E(x?.value)},[]),(0,ee.useEffect)(()=>{let x=N?.current?.querySelector("input");x&&Ye?.current&&(x.style.width=`${Ye.current.offsetWidth+10}px`)},[Rt]),(0,se.jsxs)("div",{ref:N,className:"flex items-center space-x-1",children:[(0,se.jsx)(he,{id:"btn-minus",className:a(!Me&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Jr,children:(0,se.jsx)(Ft.MinusCircleIcon,{className:"w-8 h-8 "})}),(0,se.jsxs)("div",{children:[(0,se.jsx)("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:C,min:t,max:o,onChange:x=>en(x),id:"numberInput",disabled:i||r,autoComplete:"off",...B,className:a("text-gray-800 min-w-7 border-gray-300 border transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 w-7 h-7 rounded-md text-center bg-white",m)}),(0,se.jsx)("span",{ref:Ye,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:Rt||" "})]}),(0,se.jsx)(he,{id:"btn-plus",className:a(!O&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Xr,children:(0,se.jsx)(Ft.PlusCircleIcon,{className:"w-8 h-8 "})})]})});var le=f(require("react"),1),xe=require("@heroicons/react/16/solid"),xi=require("@heroicons/react/24/outline"),h=f(require("@radix-ui/react-select"),1);var w=require("react/jsx-runtime"),yi=le.forwardRef(({className:e,children:t,label:o,message:i,size:r,isError:l,disabled:m,...c})=>(0,w.jsxs)("div",{className:a("select-mobase relative",e,m?"disabled":"",l?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",r===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&(0,w.jsx)("span",{className:a("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",r===2&&"text-sm -top-2.5",l&&"text-red-500"),children:o}),(0,w.jsx)(h.Root,{disabled:m,...c,children:t}),i&&(0,w.jsxs)("div",{className:a("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",l&&"text-red-500"),children:[l?(0,w.jsx)(xe.XCircleIcon,{width:16,height:16}):(0,w.jsx)(xi.QuestionMarkCircleIcon,{width:16,height:16}),(0,w.jsx)("span",{className:a(r===2?"text-sm":"text-xs"),children:i})]})]})),wi=h.Value,zo=le.forwardRef(({className:e,children:t,...o},i)=>(0,w.jsxs)(h.Trigger,{ref:i,className:a("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[(0,w.jsx)("div",{className:"line-clamp-1 text-left",children:t}),(0,w.jsx)(h.Icon,{asChild:!0,children:(0,w.jsx)(xe.ChevronDownIcon,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));zo.displayName=h.Trigger.displayName;var Wt=le.forwardRef(({className:e,...t},o)=>(0,w.jsx)(h.ScrollUpButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1",e),...t,children:(0,w.jsx)(xe.ChevronUpIcon,{className:"h-5 w-5"})}));Wt.displayName=h.ScrollUpButton.displayName;var $t=le.forwardRef(({className:e,...t},o)=>(0,w.jsx)(h.ScrollDownButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:(0,w.jsx)(xe.ChevronDownIcon,{className:"h-5 w-5"})}));$t.displayName=h.ScrollDownButton.displayName;var Fo=le.forwardRef(({className:e,children:t,position:o="popper",...i},r)=>(0,w.jsx)(h.Portal,{children:(0,w.jsxs)(h.Content,{ref:r,className:a("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-lg 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",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...i,children:[(0,w.jsx)(Wt,{}),(0,w.jsx)(h.Viewport,{className:a("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,w.jsx)($t,{})]})}));Fo.displayName=h.Content.displayName;var Ni=le.forwardRef(({className:e,children:t,...o},i)=>(0,w.jsx)(h.Group,{ref:i,className:a("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),Wo=le.forwardRef(({className:e,...t},o)=>(0,w.jsx)(h.Label,{ref:o,className:a("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));Wo.displayName=h.Label.displayName;var Pi=le.forwardRef(({className:e,children:t,...o},i)=>(0,w.jsxs)(h.Item,{ref:i,className:a("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,w.jsx)("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:(0,w.jsx)(h.ItemIndicator,{children:(0,w.jsx)(xe.CheckIcon,{className:"h-4 w-4"})})}),(0,w.jsx)(h.ItemText,{children:t})]})),$o=le.forwardRef(({className:e,...t},o)=>(0,w.jsx)(h.Separator,{ref:o,className:a("-mx-1 my-1 h-px bg-muted",e),...t}));$o.displayName=h.Separator.displayName;var re=f(require("react"),1),Ci=require("@heroicons/react/16/solid"),k=f(require("@radix-ui/react-navigation-menu"),1),Ri=require("class-variance-authority");var T=require("react/jsx-runtime"),Ti=re.createContext(null),xn=({value:e,children:t})=>(0,T.jsx)(Ti.Provider,{value:e,children:t}),yn=()=>{let e=re.useContext(Ti);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},ct=re.forwardRef(({className:e,children:t,alignDropdown:o="left",...i},r)=>(0,T.jsx)(xn,{value:{alignDropdown:o},children:(0,T.jsxs)(k.Root,{ref:r,className:a("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...i,children:[t,(0,T.jsx)(Di,{})]})}));ct.displayName=k.Root.displayName;var dt=re.forwardRef(({className:e,...t},o)=>(0,T.jsx)(k.List,{ref:o,className:a("group flex flex-1 list-none items-center justify-center ",e),...t}));dt.displayName=k.List.displayName;var pt=k.Item,ft=(0,Ri.cva)(Ne({variant:"transparent",size:"sm"})),gt=re.forwardRef(({className:e,children:t,...o},i)=>(0,T.jsxs)(k.Trigger,{ref:i,className:a(ft(),"group",e),...o,children:[t,(0,T.jsx)(Ci.ChevronDownIcon,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));gt.displayName=k.Trigger.displayName;var ut=re.forwardRef(({className:e,...t},o)=>(0,T.jsx)(k.Content,{ref:o,className:a("hidden group-data-[state=open]:block left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",e),...t}));ut.displayName=k.Content.displayName;var qe=k.Link,ki=re.forwardRef(({className:e,...t},o)=>{let{alignDropdown:i}=yn();return(0,T.jsx)("div",{className:a("absolute top-full flex justify-center",i==="left"&&"left-0",i==="right"&&"right-0",i==="center"&&"left-1/2 -translate-x-1/2"),children:(0,T.jsx)(k.Viewport,{className:a("origin-top-center relative mt-3.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-gray-200 bg-white text-gray-900 shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)] group",e),ref:o,...t})})});ki.displayName=k.Viewport.displayName;var Di=re.forwardRef(({className:e,...t},o)=>(0,T.jsxs)("div",{ref:o,children:[(0,T.jsx)(k.Indicator,{ref:o,className:a("top-full z-[1] flex h-4 items-end justify-center overflow-hidden group data-[state=visible]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=visible]:zoom-in-90",e),...t,children:(0,T.jsxs)("svg",{width:"158",height:"46",viewBox:"0 0 158 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"relative w-7 h-7 top-[9px] group-data-[state=visible]:animate-in group-data-[state=closed]:animate-out group-data-[state=closed]:zoom-out-95 group-data-[state=visible]:zoom-in-90",children:[(0,T.jsxs)("g",{"clip-path":"url(#clip0_782_2)",children:[(0,T.jsx)("path",{d:"M70.9519 9.1982L55.1105 25.0396C47.3839 32.7662 43.5206 36.6295 39.0121 39.3923C35.015 41.8418 30.6572 43.6468 26.0987 44.7412C20.9572 45.9756 15.4937 45.9756 4.56665 45.9756H153.132C142.205 45.9756 136.742 45.9756 131.6 44.7412C127.042 43.6468 122.684 41.8418 118.687 39.3923C114.178 36.6295 110.315 32.7662 102.588 25.0396L86.7468 9.1982C82.3852 4.8365 75.3136 4.8365 70.9519 9.1982Z",fill:"white"}),(0,T.jsx)("path",{d:"M153.132 40.3912C141.939 40.3912 137.253 40.3553 132.904 39.3112C128.915 38.3536 125.102 36.7741 121.605 34.6309C117.791 32.2938 114.452 29.0054 106.537 21.0909L90.6957 5.2494C84.1532 -1.293 73.5457 -1.293 67.0033 5.2495L51.1618 21.0909C43.2473 29.0054 39.9082 32.2938 36.0944 34.6309C32.5969 36.7741 28.7838 38.3536 24.7952 39.3112C20.4458 40.3553 15.7596 40.3912 4.56672 40.3912H0.668457V45.9756H4.56672C15.4938 45.9756 20.9573 45.9756 26.0988 44.7412C30.6573 43.6468 35.0151 41.8418 39.0122 39.3923C43.5207 36.6295 47.384 32.7662 55.1106 25.0396L70.952 9.1982C75.3137 4.8365 82.3853 4.8365 86.7469 9.1982L102.588 25.0396C110.315 32.7662 114.178 36.6295 118.687 39.3923C122.684 41.8418 127.042 43.6468 131.6 44.7412C136.742 45.9756 142.205 45.9756 153.132 45.9756H157.03V40.3912H153.132Z",fill:"#E5E5E5"})]}),(0,T.jsx)("defs",{children:(0,T.jsx)("clipPath",{id:"clip0_782_2",children:(0,T.jsx)("rect",{width:"158",height:"46",fill:"white",transform:"matrix(1 0 0 -1 0 46)"})})})]})}),(0,T.jsx)(k.Indicator,{...t,children:(0,T.jsx)(ki,{})})]}));Di.displayName=k.Indicator.displayName;var Si=f(require("react"),1),ht=f(require("@radix-ui/react-switch"),1);var jo=require("react/jsx-runtime"),Go=Si.forwardRef(({className:e,...t},o)=>(0,jo.jsx)(ht.Root,{className:a("peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-default disabled:opacity-20 data-[state=checked]:bg-pink-500 data-[state=unchecked]:bg-gray-400",e),...t,ref:o,children:(0,jo.jsx)(ht.Thumb,{className:a("pointer-events-none relative cik before:content-[''] before:absolute before:w-1.5 before:h-1.5 before:rounded-full before:bg-pink-600 before:-translate-x-1/2 before:translate-y-1 disabled:opacity-20 before:data-[state=unchecked]:bg-gray-400 block h-3.5 w-3.5 bg-white rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5")})}));Go.displayName=ht.Root.displayName;var Uo=f(require("react"),1),Re=f(require("@radix-ui/react-radio-group"),1),Ai=require("lucide-react");var Mi=require("class-variance-authority"),vt=require("react/jsx-runtime"),wn=(0,Mi.cva)("grid cursor-pointer gap-2 text-gray-900 text-sm",{variants:{orientation:{horizontal:"grid-cols-2",vertical:"grid-cols-1"}},defaultVariants:{orientation:"vertical"}}),qo=Uo.forwardRef(({disabled:e,orientation:t,className:o,...i},r)=>(0,vt.jsx)(Re.Root,{className:a("",wn({orientation:t}),o),...i,ref:r}));qo.displayName=Re.Root.displayName;var Qo=Uo.forwardRef(({className:e,...t},o)=>(0,vt.jsx)(Re.Item,{ref:o,className:a("aspect-square h-4 w-4 rounded-full border border-gray-700 disabled:bg-gray-300 disabled:data-[state=checked]:text-gray-500 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-300 data-[state=checked]:bg-pink-500 disabled:border-none data-[state=checked]:border-none text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:opacity-40",e),...t,children:(0,vt.jsx)(Re.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,vt.jsx)(Ai.Circle,{className:"h-2 w-2 fill-current text-current"})})}));Qo.displayName=Re.Item.displayName;var $i=require("react");var Ko=f(require("next/link"),1);var Li=f(require("next/link"),1),me=require("react/jsx-runtime"),Nn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:l=!1})=>{let m=l?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,me.jsx)("li",{className:"",children:(0,me.jsx)(qe,{asChild:!0,children:(0,me.jsxs)(Li.default,{className:a(" select-none space-y-1 rounded-md px-2.5 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 items-center min-h-9",e),href:r,...m,children:[t&&(0,me.jsx)("div",{className:"w-7 h-7 shrink-0",children:(0,me.jsx)("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),(0,me.jsxs)("div",{className:" ",children:[(0,me.jsx)("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),i&&(0,me.jsx)("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})})},Ei=Nn;var Ii=f(require("next/link"),1),te=require("react/jsx-runtime"),Pn=({data:e})=>(0,te.jsx)(ct,{children:(0,te.jsx)(dt,{children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return t.hasDropdown?(0,te.jsxs)(pt,{children:[(0,te.jsx)(gt,{children:t.title}),(0,te.jsx)(ut,{children:(0,te.jsx)("ul",{className:a(t.dropDownCompact===!0?"grid gap-1 p-2.5 w-[540px] md:grid-cols-2 ":"grid w-[250px] gap-1 p-2.5 grid-cols-1"),children:t.subMenu&&t.subMenu.map(i=>(0,te.jsx)(Ei,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]},t.id):(0,te.jsx)(pt,{children:(0,te.jsx)(Ii.default,{href:t.url,legacyBehavior:!0,passHref:!0,children:(0,te.jsx)(qe,{className:ft(),...o,children:t.title})})},t.id)})})}),Hi=Pn;var Gt=require("react");var jt=[.24,.25,.05,1];var Fi=require("react-use"),Zo=f(require("next/router"),1);var _i=f(require("next/link"),1),ye=require("react/jsx-runtime"),Cn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:l=!1})=>{let m=l?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,ye.jsx)("li",{className:"",children:(0,ye.jsxs)(_i.default,{className:a(" select-none py-2 flex flex-nowrap space-x-2 items-center",e),href:r,...m,children:[t&&(0,ye.jsx)("div",{className:"w-7 h-7 shrink-0",children:(0,ye.jsx)("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),(0,ye.jsxs)("div",{className:" ",children:[(0,ye.jsx)("div",{className:"text-sm text-gray-800 leading-none",children:o}),i&&(0,ye.jsx)("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})},Bi=Cn;var Oi=f(require("next/link"),1),Vi=require("framer-motion"),ce=require("react/jsx-runtime"),Rn={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:jt}},exit:{opacity:0,transition:{duration:.05}}},Tn=({data:e})=>(0,ce.jsx)(et,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,ce.jsx)(Vi.motion.div,{variants:Rn,children:t.hasDropdown?(0,ce.jsxs)(tt,{value:t.id,children:[(0,ce.jsx)(ot,{className:"py-3",children:t.title}),(0,ce.jsx)(at,{children:(0,ce.jsx)("ul",{className:a("grid gap-1 grid-cols-1"),children:t.subMenu&&t.subMenu.map(i=>(0,ce.jsx)(Bi,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]}):(0,ce.jsx)(Oi.default,{className:"py-3 flex flex-1 items-center text-left justify-between font-medium transition-all hover:underline text-gray-900 border-b border-gray-200",href:t.url,...o,children:t.title})},t.id)})}),zi=Tn;var Be=f(require("next/link"),1),de=require("framer-motion");var d=require("react/jsx-runtime"),kn=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,Dn=({data:e,className:t})=>{let[o,i]=(0,Gt.useState)(!1);(0,Fi.useKey)("Escape",()=>i(!1)),(0,Gt.useEffect)(()=>{if(!o)return;let m=kn();function c(){i(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Zo.default.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:m||0,behavior:"instant"}),Zo.default.events.off("routeChangeComplete",c)}},[o]);let r={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},l={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:jt}},exit:{opacity:0,transition:{duration:.15}}};return(0,d.jsxs)("div",{className:a(t),children:[(0,d.jsxs)("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>i(!o),children:[(0,d.jsx)("span",{className:"sr-only",children:"Navigation"}),(0,d.jsx)(de.motion.div,{animate:o?"hidden":"visible",variants:r,children:(0,d.jsx)("svg",{className:a("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),(0,d.jsx)(de.motion.div,{animate:o?"visible":"hidden",variants:r,children:(0,d.jsx)("svg",{className:a("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,d.jsx)(de.LazyMotion,{features:de.domAnimation,children:(0,d.jsx)(de.AnimatePresence,{mode:"wait",children:o&&(0,d.jsxs)(de.motion.nav,{variants:l,initial:"hidden",animate:"show",exit:"exit",className:a(t,"fixed block w-full max-w-full z-50 px-5 bg-white left-0 right-0 bottom-0 overflow-y-auto top-[calc(var(--header-height)+1px)] "),children:[(0,d.jsx)(zi,{data:e}),(0,d.jsxs)("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[(0,d.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),(0,d.jsxs)("div",{className:"flex flex-nowrap",children:[(0,d.jsx)("div",{className:"flex-initial",children:(0,d.jsx)(Be.default,{href:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",legacyBehavior:!0,children:(0,d.jsx)("a",{className:"link-white",target:"_blank",children:(0,d.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})}),(0,d.jsx)("div",{className:"ml-3 flex-initial",children:(0,d.jsx)(Be.default,{href:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",legacyBehavior:!0,children:(0,d.jsx)("a",{className:"link-white",target:"_blank",children:(0,d.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})})]}),(0,d.jsx)("h4",{className:"mb-2 mt-5 text-tiny font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),(0,d.jsxs)("ul",{className:"mb-2 text-tiny text-gray-500",children:[(0,d.jsxs)("li",{className:"mb-1",children:["Hotline :",(0,d.jsx)(Be.default,{href:`tel:${ge.Support.Hotline}`,legacyBehavior:!0,children:(0,d.jsx)("a",{className:"text-gray-600",children:ge.Support.Hotline_Format})})]}),(0,d.jsxs)("li",{className:"mb-1",children:["Email:",(0,d.jsx)(Be.default,{href:`mailto:${ge.Support.Email}`,legacyBehavior:!0,children:(0,d.jsx)("a",{className:"text-gray-600",children:ge.Support.Email})})]})]}),(0,d.jsx)("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:(0,d.jsxs)("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-10 pr-2 hover:bg-gray-100",children:[(0,d.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,d.jsx)("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,d.jsxs)("g",{children:[(0,d.jsx)("title",{children:"Asset 1"}),(0,d.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
121
121
  V56.3C312,38.2,297.5,23.7,279.4,23.7z M226.8,77.1H86.1c-8.1,0-13.5-5.4-13.5-13.5c0-8.1,5.4-13.5,13.5-13.5h140.8
122
122
  c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),(0,d.jsx)("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
123
123
  c19.6,48.2,49.8,105.6,82.2,142.7h116.7c41-30.4,74-175,17.3-181.6c-5.2,0-13.5,0.8-17.3,4.3c0-17.3-15.1-21.7-21.6-21.6
124
- c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),(0,d.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,d.jsx)("div",{className:"text-tiny font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),(0,d.jsx)("h4",{className:"mb-2 mt-5 text-tiny font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),(0,d.jsxs)("ul",{className:"mb-2 text-tiny text-gray-500",children:[(0,d.jsxs)("li",{className:"mb-1",children:["Hotline :",(0,d.jsx)(Be.default,{href:`tel:${ge.Business.Phome}`,legacyBehavior:!0,children:(0,d.jsx)("a",{className:"text-gray-600",children:ge.Business.Phome_Format})})]}),(0,d.jsxs)("li",{className:"mb-1",children:["Email :",(0,d.jsx)(Be.default,{href:`mailto:${ge.Business.Email}`,legacyBehavior:!0,children:(0,d.jsxs)("a",{className:"text-gray-600",children:[" ",ge.Business.Email]})})]})]}),(0,d.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,d.jsxs)("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-12 pr-2 hover:bg-gray-100",children:[(0,d.jsx)("div",{className:"absolute left-1 top-1 ",children:(0,d.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),(0,d.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,d.jsx)("div",{className:"text-tiny font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},Wi=Dn;var ji=f(require("html-react-parser"),1),F=require("react/jsx-runtime"),Yo=(0,$i.memo)(({className:e,dataMenu:t,serviceInfo:o})=>{let{logo:i,name:r,url:l}=o;return(0,F.jsxs)("div",{className:a(e,"sticky top-0 z-40 w-full flex-none transition-colors duration-500 lg:z-50 border-b border-gray-900/10 "),children:[(0,F.jsx)("div",{className:a("absolute inset-0 h-full w-full bg-white/95 backdrop-blursupports-backdrop-blur:bg-white/60 ")}),(0,F.jsx)("nav",{className:a("wrapper border-b border-gray-900/10 grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:(0,F.jsxs)("div",{className:"relative flex items-center ",children:[(0,F.jsxs)(Ko.default,{href:"https://momo.vn/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[(0,F.jsx)("span",{className:"sr-only",children:"MoMo home page"}),(0,F.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&(0,F.jsxs)(Ko.default,{href:l,title:r,className:" relative flex space-x-1 pl-2 items-center rounded-none hover:opacity-80 after:absolute after:left-0 after:h-8 after:w-[1px] after:bg-gray-300 after:content-[''] ",children:[(0,F.jsx)("img",{src:i,className:"w-9 h-9",alt:"MoMo"}),(0,F.jsx)("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500",children:r&&(0,ji.default)(r)})]}),(0,F.jsx)("div",{className:"relative hidden lg:flex items-center ml-auto",children:(0,F.jsx)(Hi,{data:t})}),(0,F.jsx)(Wi,{data:t,className:"lg:hidden ml-auto "})]})})]})});Yo.displayName="Header";var Ui=require("react");var s=require("react/jsx-runtime"),Sn=({dataMenu:e})=>{let t=e||ya;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:(0,s.jsxs)("div",{className:"wrapper grid grid-cols-2 gap-5 sm:gap-x-20 sm:gap-y-10 lg:flex lg:flex-nowrap lg:gap-14",children:[(0,s.jsxs)("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),t?.lists?.map((o,i)=>(0,s.jsx)("div",{className:"mt-3 text-sm",children:(0,s.jsx)("a",{className:"text-white text-opacity-50 duration-300 hover:text-opacity-100",href:`${o.url}?fromType=${Xt}`,children:o.title})},i))]}),(0,s.jsxs)("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"D\u1ECBch v\u1EE5 n\u1ED5i b\u1EADt"}),(0,s.jsx)("div",{className:"flex flex-wrap",children:Pa.map((o,i)=>(0,s.jsx)("div",{className:"mt-3 flex w-full text-sm",children:(0,s.jsxs)("a",{href:Ta({link:o.Href,query:{fromType:Xt}}),target:"_blank",rel:"noreferrer",className:"item-center inline-flex text-white text-opacity-50 duration-300 hover:text-opacity-100",children:[(0,s.jsx)("span",{className:"relative aspect-1 h-5 w-5 md:-mt-0.5 md:h-6 md:w-6",children:(0,s.jsx)("img",{src:o.Image,className:"absolute inset-0"})}),(0,s.jsx)("span",{className:"block pl-2",children:o.Name})]})},i))})]}),(0,s.jsxs)("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[(0,s.jsxs)("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),(0,s.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9: "}),(0,s.jsx)("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:Na.Address})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${U.Support.Hotline}`,children:U.Support.Hotline_Format}),(0,s.jsxs)("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${U.Support.Email}`,children:U.Support.Email})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsxs)("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${U.Support.Phone_Ext_1}`,children:U.Support.Phone_Ext_1_Format}),(0,s.jsx)("span",{className:"text-white text-opacity-60",children:" - "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${U.Support.Phone_Ext_2}`,children:U.Support.Phone_Ext_2_Format}),(0,s.jsx)("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),(0,s.jsx)("div",{className:"mt-3 flex",children:(0,s.jsx)("a",{href:"https://momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:(0,s.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[(0,s.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,s.jsx)("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,s.jsxs)("g",{children:[(0,s.jsx)("title",{children:"Asset 1"}),(0,s.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
124
+ c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),(0,d.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,d.jsx)("div",{className:"text-tiny font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),(0,d.jsx)("h4",{className:"mb-2 mt-5 text-tiny font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),(0,d.jsxs)("ul",{className:"mb-2 text-tiny text-gray-500",children:[(0,d.jsxs)("li",{className:"mb-1",children:["Hotline :",(0,d.jsx)(Be.default,{href:`tel:${ge.Business.Phome}`,legacyBehavior:!0,children:(0,d.jsx)("a",{className:"text-gray-600",children:ge.Business.Phome_Format})})]}),(0,d.jsxs)("li",{className:"mb-1",children:["Email :",(0,d.jsx)(Be.default,{href:`mailto:${ge.Business.Email}`,legacyBehavior:!0,children:(0,d.jsxs)("a",{className:"text-gray-600",children:[" ",ge.Business.Email]})})]})]}),(0,d.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,d.jsxs)("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-12 pr-2 hover:bg-gray-100",children:[(0,d.jsx)("div",{className:"absolute left-1 top-1 ",children:(0,d.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),(0,d.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,d.jsx)("div",{className:"text-tiny font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},Wi=Dn;var ji=f(require("html-react-parser"),1),F=require("react/jsx-runtime"),Yo=(0,$i.memo)(({className:e,dataMenu:t,serviceInfo:o})=>{let{logo:i,name:r,url:l}=o;return(0,F.jsxs)("div",{className:a(e,"sticky top-0 z-40 w-full flex-none transition-colors duration-500 lg:z-50 border-b border-gray-900/10 "),children:[(0,F.jsx)("div",{className:a("absolute inset-0 h-full w-full bg-white/95 backdrop-blursupports-backdrop-blur:bg-white/60 ")}),(0,F.jsx)("nav",{className:a("wrapper border-b border-gray-900/10 grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:(0,F.jsxs)("div",{className:"relative flex items-center ",children:[(0,F.jsxs)(Ko.default,{href:"https://www.momo.vn/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[(0,F.jsx)("span",{className:"sr-only",children:"MoMo home page"}),(0,F.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&(0,F.jsxs)(Ko.default,{href:l,title:r,className:" relative flex space-x-1 pl-2 items-center rounded-none hover:opacity-80 after:absolute after:left-0 after:h-8 after:w-[1px] after:bg-gray-300 after:content-[''] ",children:[(0,F.jsx)("img",{src:i,className:"w-9 h-9",alt:"MoMo"}),(0,F.jsx)("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500",children:r&&(0,ji.default)(r)})]}),(0,F.jsx)("div",{className:"relative hidden lg:flex items-center ml-auto",children:(0,F.jsx)(Hi,{data:t})}),(0,F.jsx)(Wi,{data:t,className:"lg:hidden ml-auto "})]})})]})});Yo.displayName="Header";var Ui=require("react");var s=require("react/jsx-runtime"),Sn=({dataMenu:e})=>{let t=e||ya;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:(0,s.jsxs)("div",{className:"wrapper grid grid-cols-2 gap-5 sm:gap-x-20 sm:gap-y-10 lg:flex lg:flex-nowrap lg:gap-14",children:[(0,s.jsxs)("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),t?.lists?.map((o,i)=>(0,s.jsx)("div",{className:"mt-3 text-sm",children:(0,s.jsx)("a",{className:"text-white text-opacity-50 duration-300 hover:text-opacity-100",href:`${o.url}?fromType=${Xt}`,children:o.title})},i))]}),(0,s.jsxs)("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"D\u1ECBch v\u1EE5 n\u1ED5i b\u1EADt"}),(0,s.jsx)("div",{className:"flex flex-wrap",children:Pa.map((o,i)=>(0,s.jsx)("div",{className:"mt-3 flex w-full text-sm",children:(0,s.jsxs)("a",{href:Ta({link:o.Href,query:{fromType:Xt}}),target:"_blank",rel:"noreferrer",className:"item-center inline-flex text-white text-opacity-50 duration-300 hover:text-opacity-100",children:[(0,s.jsx)("span",{className:"relative aspect-1 h-5 w-5 md:-mt-0.5 md:h-6 md:w-6",children:(0,s.jsx)("img",{src:o.Image,className:"absolute inset-0"})}),(0,s.jsx)("span",{className:"block pl-2",children:o.Name})]})},i))})]}),(0,s.jsxs)("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[(0,s.jsxs)("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[(0,s.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),(0,s.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9: "}),(0,s.jsx)("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:Na.Address})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${U.Support.Hotline}`,children:U.Support.Hotline_Format}),(0,s.jsxs)("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${U.Support.Email}`,children:U.Support.Email})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm",children:[(0,s.jsxs)("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${U.Support.Phone_Ext_1}`,children:U.Support.Phone_Ext_1_Format}),(0,s.jsx)("span",{className:"text-white text-opacity-60",children:" - "}),(0,s.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${U.Support.Phone_Ext_2}`,children:U.Support.Phone_Ext_2_Format}),(0,s.jsx)("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),(0,s.jsx)("div",{className:"mt-3 flex",children:(0,s.jsx)("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:(0,s.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[(0,s.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,s.jsx)("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,s.jsxs)("g",{children:[(0,s.jsx)("title",{children:"Asset 1"}),(0,s.jsx)("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
125
125
  V56.3C312,38.2,297.5,23.7,279.4,23.7z M226.8,77.1H86.1c-8.1,0-13.5-5.4-13.5-13.5c0-8.1,5.4-13.5,13.5-13.5h140.8
126
126
  c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),(0,s.jsx)("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
127
127
  c19.6,48.2,49.8,105.6,82.2,142.7h116.7c41-30.4,74-175,17.3-181.6c-5.2,0-13.5,0.8-17.3,4.3c0-17.3-15.1-21.7-21.6-21.6