@momo-webplatform/mobase 0.2.6 → 0.2.7

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
@@ -53,6 +53,16 @@ Add Tailwind CSS to a CSS file:
53
53
  @tailwind utilities;
54
54
  ```
55
55
 
56
+ Automatically transpile and bundle dependencies, update your `next.config.js` file to add the necessary configuration for Mobase:
57
+
58
+ ```js filename="next.config.js"
59
+ /** @type {import('next').NextConfig} */
60
+ const nextConfig = {
61
+ transpilePackages: ["@momo-webplatform/mobase"],
62
+ ...
63
+ }
64
+ export default nextConfig;
65
+ ```
56
66
  ### Install Mobase React
57
67
 
58
68
  1. Run the following command to install `@momo-webplatform/mobase`:
@@ -1,4 +1,4 @@
1
- "use strict";var Zr=Object.create;var Tt=Object.defineProperty;var Yr=Object.getOwnPropertyDescriptor;var Kr=Object.getOwnPropertyNames;var Xr=Object.getPrototypeOf,Jr=Object.prototype.hasOwnProperty;var en=(e,t)=>{for(var o in t)Tt(e,o,{get:t[o],enumerable:!0})},ba=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Kr(t))!Jr.call(e,r)&&r!==o&&Tt(e,r,{get:()=>t[r],enumerable:!(i=Yr(t,r))||i.enumerable});return e};var f=(e,t,o)=>(o=e!=null?Zr(Xr(e)):{},ba(t||!e||!e.__esModule?Tt(o,"default",{value:e,enumerable:!0}):o,e)),tn=e=>ba(Tt({},"__esModule",{value:!0}),e);var Xn={};en(Xn,{Accordion:()=>Xe,AccordionContent:()=>tt,AccordionItem:()=>Je,AccordionTrigger:()=>et,AlertDialog:()=>qa,AlertDialogAction:()=>xo,AlertDialogCancel:()=>yo,AlertDialogContent:()=>go,AlertDialogDescription:()=>bo,AlertDialogFooter:()=>ho,AlertDialogHeader:()=>uo,AlertDialogOverlay:()=>At,AlertDialogPortal:()=>fo,AlertDialogTitle:()=>vo,AlertDialogTrigger:()=>Qa,AspectRatio:()=>bt,Badge:()=>dr,Breadcrumb:()=>Jt,BreadcrumbEllipsis:()=>ro,BreadcrumbItem:()=>to,BreadcrumbLink:()=>oo,BreadcrumbList:()=>eo,BreadcrumbPage:()=>ao,BreadcrumbSeparator:()=>io,Button:()=>Ae,Callout:()=>Yi,Card:()=>Jo,CardContent:()=>aa,CardDescription:()=>oa,CardFooter:()=>ia,CardHeader:()=>ea,CardTitle:()=>ta,Checkbox:()=>We,CheckboxIndicator:()=>Dt,ChoiceboxGroup:()=>mr,ChoiceboxGroupItem:()=>lr,Combobox:()=>qi,ComboboxContent:()=>ji,ComboboxTrigger:()=>Ui,Command:()=>jt,CommandDialog:()=>$i,CommandEmpty:()=>sa,CommandGroup:()=>la,CommandInput:()=>ra,CommandItem:()=>ca,CommandList:()=>na,CommandSeparator:()=>ma,CommandShortcut:()=>da,Dialog:()=>$e,DialogBody:()=>it,DialogClose:()=>Ga,DialogContent:()=>Me,DialogDescription:()=>po,DialogFooter:()=>mo,DialogHeader:()=>lo,DialogOverlay:()=>St,DialogPortal:()=>so,DialogQr:()=>ja,DialogTitle:()=>co,DialogTrigger:()=>$a,Footer:()=>Wi,Header:()=>Ko,HeroSection:()=>wr,IconButton:()=>ge,Indicator:()=>Oa,LightBoxContent:()=>rr,LightboxGallery:()=>nr,LightboxThumbnail:()=>ar,NavigationMenu:()=>lt,NavigationMenuContent:()=>ft,NavigationMenuIndicator:()=>gt,NavigationMenuItem:()=>ct,NavigationMenuLink:()=>Ue,NavigationMenuList:()=>mt,NavigationMenuTrigger:()=>pt,NavigationMenuViewport:()=>$t,Pagination:()=>wo,Popover:()=>It,PopoverContent:()=>rt,PopoverTrigger:()=>Lt,Progressbar:()=>ha,RadioGroup:()=>qo,RadioGroupItem:()=>Qo,Root:()=>za,SearchBar:()=>Ji,Select:()=>xi,SelectContent:()=>Oo,SelectGroup:()=>wi,SelectItem:()=>Ni,SelectLabel:()=>Wo,SelectScrollDownButton:()=>Wt,SelectScrollUpButton:()=>Ot,SelectSeparator:()=>$o,SelectTrigger:()=>zo,SelectValue:()=>yi,SiteMeta:()=>Ur,Stepper:()=>vi,Switch:()=>Uo,Tabs:()=>ei,TabsContent:()=>Ro,TabsList:()=>Po,TabsTrigger:()=>Co,TextArea:()=>ii,TextButton:()=>st,TextInput:()=>hi,ToastAction:()=>Mo,Toaster:()=>li,Tooltip:()=>gi,TooltipArrow:()=>Bo,TooltipContent:()=>Vo,TooltipProvider:()=>fi,TooltipTrigger:()=>ui,badgeVariants:()=>fa,buttonVariants:()=>ye,createCheckboxScope:()=>Ba,mobaseTW:()=>Gr,navigationMenuTriggerStyle:()=>dt,textButtonVariants:()=>Ho,toast:()=>Do,useToast:()=>Ft});module.exports=tn(Xn);var Ke=f(require("react"),1),Y=f(require("@radix-ui/react-accordion"),1),Ta=require("lucide-react");var Pa=require("clsx"),Ca=require("tailwind-merge");var xa={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}]},pe={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"}},ya="https://momo.vn/",wa={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 Ye=[{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"}],Kt=[{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&utm_medium=download&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"}],Na=[{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,Ca.twMerge)((0,Pa.clsx)(e))}var Ra=({link:e,query:t={}})=>{if(!e)return"";let o=new URL(e,ya||""),i=new URLSearchParams(o.search);return Object.entries(t).forEach(([r,l])=>{l&&i.append(r,l)}),o.search=i.toString(),o.toString()};var fe=require("react/jsx-runtime"),Xe=Ke.forwardRef(({className:e,...t},o)=>(0,fe.jsx)(Y.Root,{ref:o,...t}));Xe.displayName="AccordionRoot";var Je=Ke.forwardRef(({className:e,...t},o)=>(0,fe.jsx)(Y.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));Je.displayName="AccordionItem";var et=Ke.forwardRef(({className:e,children:t,...o},i)=>(0,fe.jsx)(Y.Header,{className:"flex",children:(0,fe.jsxs)(Y.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,fe.jsx)(Ta.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200 ml-1"})]})}));et.displayName=Y.Trigger.displayName;var tt=Ke.forwardRef(({className:e,children:t,...o},i)=>(0,fe.jsx)(Y.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,fe.jsx)("div",{className:a("pb-4 pt-0 text-gray-900 prose-sm",e),children:t})}));tt.displayName=Y.Content.displayName;var ze=f(require("react"),1),kt=require("@radix-ui/react-icons"),ka=require("@radix-ui/react-slot");var K=require("react/jsx-runtime"),Jt=ze.forwardRef(({className:e,...t},o)=>(0,K.jsx)("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));Jt.displayName="Breadcrumb";var eo=ze.forwardRef(({className:e,...t},o)=>(0,K.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=ze.forwardRef(({className:e,...t},o)=>(0,K.jsx)("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));to.displayName="BreadcrumbItem";var oo=ze.forwardRef(({asChild:e,className:t,...o},i)=>(0,K.jsx)(e?ka.Slot:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));oo.displayName="BreadcrumbLink";var ao=ze.forwardRef(({className:e,...t},o)=>(0,K.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,K.jsx)("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??(0,K.jsx)(kt.ChevronRightIcon,{className:"w-2 h-2"})});io.displayName="BreadcrumbSeparator";var ro=({className:e,...t})=>(0,K.jsxs)("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[(0,K.jsx)(kt.DotsHorizontalIcon,{className:"w-4 h-4 text-gray-900"}),(0,K.jsx)("span",{className:"sr-only",children:"More"})]});ro.displayName="BreadcrumbElipssis";var Sa=f(require("react"),1),Aa=require("@radix-ui/react-slot"),Ma=require("class-variance-authority");var B=require("react/jsx-runtime"),on=({className:e})=>(0,B.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[(0,B.jsx)("path",{opacity:"0.9","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.2","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.25","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.3","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.35","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.4","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.45","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.5","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.55","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.65","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.75","fill-rule":"evenodd","clip-rule":"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,B.jsx)("path",{opacity:"0.85","fill-rule":"evenodd","clip-rule":"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"})]}),Da=on;var xe=require("react/jsx-runtime"),ye=(0,Ma.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md 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",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),Ae=Sa.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:l=!1,...m},p)=>{let g=i?Aa.Slot:"button",N=a(ye({variant:t,size:o,className:e}),{"cursor-wait":r});return(0,xe.jsx)(xe.Fragment,{children:i?(0,xe.jsx)(g,{className:N,type:"button",disabled:l,ref:p,...m,children:m.children}):(0,xe.jsxs)(g,{className:N,type:"button",disabled:l,ref:p,...m,children:[r&&(0,xe.jsx)(Da,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),m.children]})})});Ae.displayName="Button";var no=f(require("react"),1),ot=f(require("@radix-ui/react-checkbox"),1),Ia=require("lucide-react"),La=require("@radix-ui/react-primitive"),Ea=require("@radix-ui/react-context"),Ha=require("@radix-ui/react-presence");var Oe=require("react/jsx-runtime"),_a="Checkbox",[an,Ba]=(0,Ea.createContextScope)(_a),[bs,rn]=an(_a),Va="CheckboxIndicator";function nn(e){return Fa(e)?"indeterminate":e?"checked":"unchecked"}var Dt=no.forwardRef((e,t)=>{let{__scopeCheckbox:o,forceMount:i,...r}=e,l=rn(Va,o);return(0,Oe.jsx)(Ha.Presence,{present:i||Fa(l.state)||l.state===!0,children:(0,Oe.jsx)(La.Primitive.span,{"data-state":nn(l.state),"data-disabled":l.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});function Fa(e){return e==="indeterminate"}Dt.displayName=Va;var We=no.forwardRef(({className:e,...t},o)=>(0,Oe.jsx)(ot.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,Oe.jsx)(ot.Indicator,{className:a("flex items-center justify-center text-current"),children:(0,Oe.jsx)(Ia.Check,{className:"h-3.5 w-3.5"})})}));We.displayName=ot.Root.displayName;var za=We,Oa=Dt;var at=f(require("react"),1),k=f(require("@radix-ui/react-dialog"),1);var Wa=require("@heroicons/react/20/solid"),z=require("react/jsx-runtime"),$e=k.Root,$a=k.Trigger,so=k.Portal,Ga=k.Close,St=at.forwardRef(({className:e,...t},o)=>(0,z.jsx)(k.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}));St.displayName=k.Overlay.displayName;var Me=at.forwardRef(({className:e,isRightCloseButton:t,size:o="md",position:i="center",height:r="auto",isFull:l=!1,children:m,...p},g)=>{let N={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"},C={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},y={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},M=[N.base,N[i],C[o],y[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,z.jsxs)(so,{children:[(0,z.jsx)(St,{}),(0,z.jsxs)(k.Content,{ref:g,className:a(...M),...p,children:[m,(0,z.jsxs)(k.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,z.jsx)(Wa.XMarkIcon,{className:"h-5 w-5 text-gray-700"}),(0,z.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});Me.displayName=k.Content.displayName;var lo=({className:e,...t})=>(0,z.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 it=({className:e,isCondensed:t=!1,...o})=>(0,z.jsx)("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});it.displayName="DialogBody";var mo=({className:e,isDivider:t=!0,...o})=>(0,z.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=at.forwardRef(({className:e,...t},o)=>(0,z.jsx)(k.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));co.displayName=k.Title.displayName;var po=at.forwardRef(({className:e,...t},o)=>(0,z.jsx)(k.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));po.displayName=k.Description.displayName;var Ua=f(require("qrcode.react"),1);var d=require("react/jsx-runtime"),sn=({img:e="",children:t,isQrForAll:o})=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"qrcode__scan__container",children:(0,d.jsxs)("div",{className:"qrcode__scan",children:[(0,d.jsx)("div",{className:"qrcode__gradient",children:(0,d.jsx)("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),(0,d.jsx)("div",{className:"qrcode__border",children:(0,d.jsx)("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),(0,d.jsx)("div",{className:"qrcode__image p-4",children:e?(0,d.jsx)("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),(0,d.jsx)("div",{className:"mt-4 text-sm text-white",children:o?(0,d.jsxs)(d.Fragment,{children:[(0,d.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,d.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,d.jsxs)(d.Fragment,{children:[(0,d.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,d.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,d.jsx)("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),(0,d.jsx)("style",{children:`
1
+ "use strict";var Zr=Object.create;var Tt=Object.defineProperty;var Yr=Object.getOwnPropertyDescriptor;var Kr=Object.getOwnPropertyNames;var Xr=Object.getPrototypeOf,Jr=Object.prototype.hasOwnProperty;var en=(e,t)=>{for(var o in t)Tt(e,o,{get:t[o],enumerable:!0})},ba=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Kr(t))!Jr.call(e,r)&&r!==o&&Tt(e,r,{get:()=>t[r],enumerable:!(i=Yr(t,r))||i.enumerable});return e};var f=(e,t,o)=>(o=e!=null?Zr(Xr(e)):{},ba(t||!e||!e.__esModule?Tt(o,"default",{value:e,enumerable:!0}):o,e)),tn=e=>ba(Tt({},"__esModule",{value:!0}),e);var Xn={};en(Xn,{Accordion:()=>Xe,AccordionContent:()=>tt,AccordionItem:()=>Je,AccordionTrigger:()=>et,AlertDialog:()=>qa,AlertDialogAction:()=>xo,AlertDialogCancel:()=>yo,AlertDialogContent:()=>go,AlertDialogDescription:()=>bo,AlertDialogFooter:()=>ho,AlertDialogHeader:()=>uo,AlertDialogOverlay:()=>At,AlertDialogPortal:()=>fo,AlertDialogTitle:()=>vo,AlertDialogTrigger:()=>Qa,AspectRatio:()=>bt,Badge:()=>dr,Breadcrumb:()=>Jt,BreadcrumbEllipsis:()=>ro,BreadcrumbItem:()=>to,BreadcrumbLink:()=>oo,BreadcrumbList:()=>eo,BreadcrumbPage:()=>ao,BreadcrumbSeparator:()=>io,Button:()=>Ae,Callout:()=>Yi,Card:()=>Jo,CardContent:()=>aa,CardDescription:()=>oa,CardFooter:()=>ia,CardHeader:()=>ea,CardTitle:()=>ta,Checkbox:()=>We,CheckboxIndicator:()=>Dt,ChoiceboxGroup:()=>mr,ChoiceboxGroupItem:()=>lr,Combobox:()=>qi,ComboboxContent:()=>ji,ComboboxTrigger:()=>Ui,Command:()=>jt,CommandDialog:()=>$i,CommandEmpty:()=>sa,CommandGroup:()=>la,CommandInput:()=>ra,CommandItem:()=>ca,CommandList:()=>na,CommandSeparator:()=>ma,CommandShortcut:()=>da,Dialog:()=>$e,DialogBody:()=>it,DialogClose:()=>Ga,DialogContent:()=>Me,DialogDescription:()=>po,DialogFooter:()=>mo,DialogHeader:()=>lo,DialogOverlay:()=>St,DialogPortal:()=>so,DialogQr:()=>ja,DialogTitle:()=>co,DialogTrigger:()=>$a,Footer:()=>Wi,Header:()=>Ko,HeroSection:()=>wr,IconButton:()=>ge,Indicator:()=>Oa,LightBoxContent:()=>rr,LightboxGallery:()=>nr,LightboxThumbnail:()=>ar,NavigationMenu:()=>lt,NavigationMenuContent:()=>ft,NavigationMenuIndicator:()=>gt,NavigationMenuItem:()=>ct,NavigationMenuLink:()=>Ue,NavigationMenuList:()=>mt,NavigationMenuTrigger:()=>pt,NavigationMenuViewport:()=>$t,Pagination:()=>wo,Popover:()=>It,PopoverContent:()=>rt,PopoverTrigger:()=>Lt,Progressbar:()=>ha,RadioGroup:()=>qo,RadioGroupItem:()=>Qo,Root:()=>za,SearchBar:()=>Ji,Select:()=>xi,SelectContent:()=>Oo,SelectGroup:()=>wi,SelectItem:()=>Ni,SelectLabel:()=>Wo,SelectScrollDownButton:()=>Wt,SelectScrollUpButton:()=>Ot,SelectSeparator:()=>$o,SelectTrigger:()=>zo,SelectValue:()=>yi,SiteMeta:()=>Ur,Stepper:()=>vi,Switch:()=>Uo,Tabs:()=>ei,TabsContent:()=>Ro,TabsList:()=>Po,TabsTrigger:()=>Co,TextArea:()=>ii,TextButton:()=>st,TextInput:()=>hi,ToastAction:()=>Mo,Toaster:()=>li,Tooltip:()=>gi,TooltipArrow:()=>Bo,TooltipContent:()=>Vo,TooltipProvider:()=>fi,TooltipTrigger:()=>ui,badgeVariants:()=>fa,buttonVariants:()=>ye,createCheckboxScope:()=>Ba,mobaseTW:()=>Gr,navigationMenuTriggerStyle:()=>dt,textButtonVariants:()=>Ho,toast:()=>Do,useToast:()=>Ft});module.exports=tn(Xn);var Ke=f(require("react"),1),Y=f(require("@radix-ui/react-accordion"),1),Ta=require("lucide-react");var Pa=require("clsx"),Ca=require("tailwind-merge");var xa={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}]},pe={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"}},ya="https://momo.vn/",wa={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 Ye=[{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"}],Kt=[{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&utm_medium=download&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"}],Na=[{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,Ca.twMerge)((0,Pa.clsx)(e))}var Ra=({link:e,query:t={}})=>{if(!e)return"";let o=new URL(e,ya||""),i=new URLSearchParams(o.search);return Object.entries(t).forEach(([r,l])=>{l&&i.append(r,l)}),o.search=i.toString(),o.toString()};var fe=require("react/jsx-runtime"),Xe=Ke.forwardRef(({className:e,...t},o)=>(0,fe.jsx)(Y.Root,{ref:o,...t}));Xe.displayName="AccordionRoot";var Je=Ke.forwardRef(({className:e,...t},o)=>(0,fe.jsx)(Y.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));Je.displayName="AccordionItem";var et=Ke.forwardRef(({className:e,children:t,...o},i)=>(0,fe.jsx)(Y.Header,{className:"flex",children:(0,fe.jsxs)(Y.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,fe.jsx)(Ta.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200 ml-1"})]})}));et.displayName=Y.Trigger.displayName;var tt=Ke.forwardRef(({className:e,children:t,...o},i)=>(0,fe.jsx)(Y.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,fe.jsx)("div",{className:a("pb-4 pt-0 text-gray-900 prose-sm",e),children:t})}));tt.displayName=Y.Content.displayName;var ze=f(require("react"),1),kt=require("@radix-ui/react-icons"),ka=require("@radix-ui/react-slot");var K=require("react/jsx-runtime"),Jt=ze.forwardRef(({className:e,...t},o)=>(0,K.jsx)("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));Jt.displayName="Breadcrumb";var eo=ze.forwardRef(({className:e,...t},o)=>(0,K.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=ze.forwardRef(({className:e,...t},o)=>(0,K.jsx)("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));to.displayName="BreadcrumbItem";var oo=ze.forwardRef(({asChild:e,className:t,...o},i)=>(0,K.jsx)(e?ka.Slot:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));oo.displayName="BreadcrumbLink";var ao=ze.forwardRef(({className:e,...t},o)=>(0,K.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,K.jsx)("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??(0,K.jsx)(kt.ChevronRightIcon,{className:"w-2 h-2"})});io.displayName="BreadcrumbSeparator";var ro=({className:e,...t})=>(0,K.jsxs)("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[(0,K.jsx)(kt.DotsHorizontalIcon,{className:"w-4 h-4 text-gray-900"}),(0,K.jsx)("span",{className:"sr-only",children:"More"})]});ro.displayName="BreadcrumbElipssis";var Sa=f(require("react"),1),Aa=require("@radix-ui/react-slot"),Ma=require("class-variance-authority");var B=require("react/jsx-runtime"),on=({className:e})=>(0,B.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[(0,B.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,B.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,B.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,B.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,B.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,B.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,B.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,B.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,B.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,B.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,B.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,B.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"})]}),Da=on;var xe=require("react/jsx-runtime"),ye=(0,Ma.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md 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",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),Ae=Sa.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:l=!1,...m},p)=>{let g=i?Aa.Slot:"button",N=a(ye({variant:t,size:o,className:e}),{"cursor-wait":r});return(0,xe.jsx)(xe.Fragment,{children:i?(0,xe.jsx)(g,{className:N,type:"button",disabled:l,ref:p,...m,children:m.children}):(0,xe.jsxs)(g,{className:N,type:"button",disabled:l,ref:p,...m,children:[r&&(0,xe.jsx)(Da,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),m.children]})})});Ae.displayName="Button";var no=f(require("react"),1),ot=f(require("@radix-ui/react-checkbox"),1),Ia=require("lucide-react"),La=require("@radix-ui/react-primitive"),Ea=require("@radix-ui/react-context"),Ha=require("@radix-ui/react-presence");var Oe=require("react/jsx-runtime"),_a="Checkbox",[an,Ba]=(0,Ea.createContextScope)(_a),[bs,rn]=an(_a),Va="CheckboxIndicator";function nn(e){return Fa(e)?"indeterminate":e?"checked":"unchecked"}var Dt=no.forwardRef((e,t)=>{let{__scopeCheckbox:o,forceMount:i,...r}=e,l=rn(Va,o);return(0,Oe.jsx)(Ha.Presence,{present:i||Fa(l.state)||l.state===!0,children:(0,Oe.jsx)(La.Primitive.span,{"data-state":nn(l.state),"data-disabled":l.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});function Fa(e){return e==="indeterminate"}Dt.displayName=Va;var We=no.forwardRef(({className:e,...t},o)=>(0,Oe.jsx)(ot.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,Oe.jsx)(ot.Indicator,{className:a("flex items-center justify-center text-current"),children:(0,Oe.jsx)(Ia.Check,{className:"h-3.5 w-3.5"})})}));We.displayName=ot.Root.displayName;var za=We,Oa=Dt;var at=f(require("react"),1),k=f(require("@radix-ui/react-dialog"),1);var Wa=require("@heroicons/react/20/solid"),z=require("react/jsx-runtime"),$e=k.Root,$a=k.Trigger,so=k.Portal,Ga=k.Close,St=at.forwardRef(({className:e,...t},o)=>(0,z.jsx)(k.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}));St.displayName=k.Overlay.displayName;var Me=at.forwardRef(({className:e,isRightCloseButton:t,size:o="md",position:i="center",height:r="auto",isFull:l=!1,children:m,...p},g)=>{let N={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"},C={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},y={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},M=[N.base,N[i],C[o],y[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,z.jsxs)(so,{children:[(0,z.jsx)(St,{}),(0,z.jsxs)(k.Content,{ref:g,className:a(...M),...p,children:[m,(0,z.jsxs)(k.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,z.jsx)(Wa.XMarkIcon,{className:"h-5 w-5 text-gray-700"}),(0,z.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});Me.displayName=k.Content.displayName;var lo=({className:e,...t})=>(0,z.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 it=({className:e,isCondensed:t=!1,...o})=>(0,z.jsx)("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});it.displayName="DialogBody";var mo=({className:e,isDivider:t=!0,...o})=>(0,z.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=at.forwardRef(({className:e,...t},o)=>(0,z.jsx)(k.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));co.displayName=k.Title.displayName;var po=at.forwardRef(({className:e,...t},o)=>(0,z.jsx)(k.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));po.displayName=k.Description.displayName;var Ua=f(require("qrcode.react"),1);var d=require("react/jsx-runtime"),sn=({img:e="",children:t,isQrForAll:o})=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"qrcode__scan__container",children:(0,d.jsxs)("div",{className:"qrcode__scan",children:[(0,d.jsx)("div",{className:"qrcode__gradient",children:(0,d.jsx)("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),(0,d.jsx)("div",{className:"qrcode__border",children:(0,d.jsx)("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),(0,d.jsx)("div",{className:"qrcode__image p-4",children:e?(0,d.jsx)("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),(0,d.jsx)("div",{className:"mt-4 text-sm text-white",children:o?(0,d.jsxs)(d.Fragment,{children:[(0,d.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,d.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,d.jsxs)(d.Fragment,{children:[(0,d.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,d.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,d.jsx)("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),(0,d.jsx)("style",{children:`
2
2
  .qrcode__scan__container {
3
3
  padding: 15px;
4
4
  background-color: white;
@@ -229,7 +229,7 @@
229
229
  .mobase-focus {
230
230
  box-shadow: 0px 0px 0px 2px rgb(var(--mobase-pink-500) / 1) inset;
231
231
  }
232
- `})]})},mr=({direction:e="row",label:t,type:o,value:i,children:r,disabled:l,hiddenInput:m,onChange:p,className:g,...N})=>{let C=`choicebox-group-${t?.replace(/\s+/g,"-").toLowerCase()}`;return(0,O.jsxs)("div",{...N,children:[(0,O.jsx)("label",{children:t}),(0,O.jsx)("ul",{className:a("",g,e?"flex md:flex-row md:space-y-0 md:space-x-4 flex-col space-y-4":"block"),children:qe.default.Children?.map(r,y=>{if(qe.default.isValidElement(y)){let M={disabled:y.props.disabled??l,type:o,name:C,checked:y.props.value===i,hiddenInput:m,className:y.props.className,classNameTitle:y.props.classNameTitle,classNameDescription:y.props.classNameDescription,onChange:p},W=Object.keys(M).reduce((R,w)=>(M[w]!==void 0&&(R[w]=M[w]),R),{});return qe.default.cloneElement(y,W)}return null})})]})};var cr=require("class-variance-authority");var pr=require("react/jsx-runtime"),fa=(0,cr.cva)("inline-flex items-center rounded-md border border-gray-300 px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-semibold",{variants:{variant:{default:"border-transparent bg-pink-500 text-white/90 shadow hover:bg-pink-500/80",secondary:"border-transparent bg-gray-200 text-gray-900 hover:bg-gray-200/80",outline:"text-gray-900",danger:"border-transparent bg-red-500 text-white/90 shadow hover:bg-red-500/80"}},defaultVariants:{variant:"default"}});function dr({className:e,variant:t,...o}){return(0,pr.jsx)("div",{className:a(fa({variant:t}),e),...o})}var fr=f(require("react"),1),vt=f(require("@radix-ui/react-progress"),1),ua=require("class-variance-authority");var ga=require("react/jsx-runtime"),Mn=(0,ua.cva)("h-full w-full rounded-full flex-1 transition-all",{variants:{variant:{progress:"bg-pink-500",success:"bg-green-600",disabled:"bg-gray-400",empty:"bg-gray-200"}},defaultVariants:{variant:"progress"}}),In=(0,ua.cva)("relative h-4 w-full overflow-hidden rounded-full bg-gray-200",{variants:{size:{small:"h-[6px]",medium:"h-2",large:"h-[10px]"}},defaultVariants:{size:"medium"}}),ha=fr.forwardRef(({className:e,value:t,variant:o="progress",size:i="medium",disabled:r=!1,...l},m)=>(0,ga.jsx)(vt.Root,{ref:m,className:a("",In({size:i}),e),...l,children:(0,ga.jsx)(vt.Indicator,{className:a("",Mn({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));ha.displayName=vt.Root.displayName;var xt=f(require("react"),1);var Zt=1;var gr={tagName:"DUMMY TAG",title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. ",description:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maxime minima amet porro.nam asperiores omnis labore doloribus excepturi?",media:{type:1,src:"https://homepage.momocdn.net/img/momo-upload-api-240522112100-638519736605993862.jpg",ratioImg:1/1}},ur=[{variant:"primary",content:"Button Primary",url:""},{variant:"transparent",content:"Button Text",url:""}],hr={type:"col",contents:[{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""}]};var br=require("@heroicons/react/24/outline");var vr=f(require("@radix-ui/react-aspect-ratio"),1),bt=vr.Root;var xr=require("class-variance-authority"),ae=f(require("@radix-ui/react-dialog"),1),yr=require("lucide-react"),n=require("react/jsx-runtime"),Ln=ae.Portal,En=xt.default.forwardRef(({className:e,...t},o)=>(0,n.jsx)(ae.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t})),Hn=ae.Root,_n=()=>(0,n.jsxs)(ae.Close,{className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[(0,n.jsx)(yr.X,{className:"h-4 w-4 mt-0.5"}),(0,n.jsx)("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),Bn=xt.default.forwardRef(({className:e,children:t,...o},i)=>(0,n.jsxs)(Ln,{children:[(0,n.jsx)(En,{className:"bg-black"}),(0,n.jsxs)(ae.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed left-[50%] top-[50%] grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg 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%] ",e),...o,children:[t,(0,n.jsx)(_n,{})]})]})),Vn=(0,xr.cva)("max-w-md space-y-1 text-gray-800 font-semibold list-inside ",{variants:{template:{col:" flex-col flex mt-5",row:"grid grid-cols-3 items-center divide-x gap-2 mt-5 ",customize:"grid grid-cols-2 md:grid-cols-4 gap-12 max-w-5xl mx-auto font-semibold items-center py-12 text-left text-sm"}},defaultVariants:{template:"col"}}),yt=({title:e,className:t})=>(0,n.jsx)("h1",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-3xl md:text-4xl font-bold py-3 text-gray-900",t)}),wt=({tagName:e,className:t})=>(0,n.jsx)("div",{className:a("text-pink-500 font-bold text-sm tracking-wider ",t),children:e}),Nt=({description:e,className:t})=>(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-lg text-gray-700 pb-2",t)}),ke=({dataCtas:e,className:t})=>{let o=(r,l)=>{r.preventDefault(),r.stopPropagation(),l?.()},i=({cta:r,index:l})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Ae,{onClick:m=>r?.onClickCTA?.()&&o(m,r?.onClickCTA?.()),variant:r?.variant,className:a("md:block hidden",r?.variant!=="primary"&&"text-pink-500 hidden "),children:r?.content},l),(0,n.jsx)(Ae,{variant:r?.variant,className:a("md:hidden",r?.variant!=="primary"&&"text-pink-500"),children:(0,n.jsx)("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},l)]});return(0,n.jsx)("div",{className:a("flex items-center mt-10",t,e?.length>1?"space-x-6":""),children:e?.map((r,l)=>r?.isQRCode?(0,n.jsx)(i,{cta:r,index:l}):(0,n.jsx)(Ae,{onClick:m=>{r?.url||(m.stopPropagation(),m.preventDefault())},variant:r?.variant,className:a("",r?.variant!=="primary"&&"text-pink-500"),children:(0,n.jsx)("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},l))})},Fn=({template:e,title:t,label:o,icon:i,idx:r})=>(0,n.jsx)(n.Fragment,{children:(()=>{switch(e){case"col":return(0,n.jsxs)("li",{className:"flex items-center pb-3",children:[(0,n.jsx)("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:(0,n.jsx)(br.CheckIcon,{className:"w-4 h-4 text-pink-500 "})}),(0,n.jsx)("div",{className:"ml-2",children:t})]});case"row":return(0,n.jsxs)("div",{className:a("",r>0?"pl-4":""),children:[(0,n.jsx)("div",{className:"font-bold text-gray-900",children:t}),(0,n.jsx)("div",{className:"text-sm mt-1 text-gray-500",children:o})]});case"customize":return(0,n.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,n.jsx)("img",{src:i,alt:"",className:"shrink-0"}),(0,n.jsx)("div",{className:"text-gray-900 text-left",children:t})]});default:return null}})()}),Pt=({dataFeatures:e})=>(0,n.jsx)("ul",{className:a("",Vn({template:e?.type})),children:e?.contents?.map((t,o)=>(0,n.jsx)(Fn,{title:t?.title,template:e?.type,label:t?.label,icon:t?.icon,idx:o},o))}),zn=({type:e=1,src:t,ratioImg:o,className:i,video:r,onClickFC:l=()=>{}})=>(0,n.jsxs)(bt,{className:a(""),ratio:o,children:[(0,n.jsx)("img",{src:t,className:a("w-full h-full object-cover md:block hidden",i,t?"":"bg-gray-200"),alt:""}),e!==Zt&&r?.codeVideo&&(0,n.jsx)("div",{className:"aspect-[16/9] realtive overflow-hidden w-full",children:(0,n.jsx)("iframe",{title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?controls=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full object-cover md:hidden"})}),e!==Zt&&r?.codeVideo&&(0,n.jsxs)(Hn,{children:[(0,n.jsx)(ae.Trigger,{onClick:l,children:(0,n.jsx)("div",{className:"w-full hidden md:flex h-full cursor-pointer transition-transform group-hover:scale-105 top-0 absolute z-10 items-center justify-center",children:(0,n.jsx)("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,n.jsx)("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),(0,n.jsx)("path",{d:"M34.667 24.335c0 .515-.529.885-.529.885l-14.84 9.133c-1.08.704-1.965.182-1.965-1.153V15.467c0-1.338.884-1.856 1.968-1.153L34.14 23.45c-.002 0 .527.37.527.885Z",fill:"#FFF",fillRule:"nonzero"})]})})})}),(0,n.jsx)(Bn,{className:"w-full h-full flex items-center justify-center bg-gray-900 p-0",children:(0,n.jsx)("iframe",{width:738,height:439,title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?autoplay=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:""})})]})]}),De=({type:e=1,url:t="",src:o,ratioImg:i,className:r,video:l,onClickFC:m=()=>{}})=>(0,n.jsx)("div",{children:e===Zt&&!l?.codeVideo?(0,n.jsx)(bt,{className:a(""),ratio:i,children:(0,n.jsx)("img",{src:o,className:a("w-full h-full object-cover",r,o?"":"bg-gray-200"),alt:""})}):(0,n.jsx)(zn,{type:e,url:t,src:o,ratioImg:i,video:l,onClickFC:m})}),On=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 md:gap-16 gap-4 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(wt,{tagName:e?.tagName}),(0,n.jsx)(yt,{title:e?.title}),(0,n.jsx)(Nt,{description:e?.description}),(0,n.jsx)(Pt,{dataFeatures:o}),(0,n.jsx)("div",{className:"md:block hidden",children:(0,n.jsx)(ke,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,video:e?.media?.video}),(0,n.jsx)("div",{className:"block md:hidden flex items-center justify-center",children:(0,n.jsx)(ke,{dataCtas:t})})]})]}),Wn=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsx)("div",{className:"col-span-1",children:(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})})}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(wt,{tagName:e?.tagName}),(0,n.jsx)(yt,{title:e?.title}),(0,n.jsx)(Nt,{description:e?.description}),(0,n.jsx)(Pt,{dataFeatures:o}),(0,n.jsx)("div",{className:"md:hidden mt-10",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"w-full flex items-center justify-center md:justify-start",children:(0,n.jsx)(ke,{dataCtas:t})})]})]}),$n=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(wt,{tagName:e?.tagName}),(0,n.jsx)(yt,{title:e?.title}),(0,n.jsx)(Nt,{description:e?.description}),(0,n.jsx)(Pt,{dataFeatures:o}),(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(ke,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden block w-full flex items-center justify-center",children:(0,n.jsx)(ke,{dataCtas:t})})]})]}),Gn=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(wt,{tagName:e?.tagName}),(0,n.jsx)(yt,{title:e?.title}),(0,n.jsx)(Nt,{description:e?.description}),(0,n.jsx)(Pt,{dataFeatures:o}),(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(ke,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"relative overflow-hidden -bottom-20"})}),(0,n.jsx)("div",{className:"md:hidden",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden block w-full flex items-center justify-center",children:(0,n.jsx)(ke,{dataCtas:t})})]})]}),Un=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{children:[(0,n.jsx)(wt,{tagName:e?.tagName,className:"max-w-4xl mx-auto text-center text-base leading-7 text-pink-500 font-bold"}),(0,n.jsx)(yt,{title:e?.title,className:"max-w-4xl mx-auto text-center font-manrope font-bold text-2xl text-gray-900 mb-5 md:text-4xl lg:text-5xl"}),(0,n.jsx)(Nt,{description:e?.description,className:"max-w-4xl mx-auto text-center text-base md:text-lg lg:text-xl font-normal leading-7 text-gray-700"}),(0,n.jsx)(ke,{dataCtas:t,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center "}),(0,n.jsx)(Pt,{dataFeatures:o}),(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"rounded-lg"})]}),jn=({template:e,data:t,dataCtas:o,dataFeatures:i})=>{switch(e){case 1:return(0,n.jsx)(On,{data:t,dataCtas:o,dataFeatures:i});case 2:return(0,n.jsx)(Wn,{data:t,dataCtas:o,dataFeatures:i});case 3:return(0,n.jsx)($n,{data:t,dataCtas:o,dataFeatures:i});case 4:return(0,n.jsx)(Gn,{data:t,dataCtas:o,dataFeatures:i});case 5:return(0,n.jsx)(Un,{data:t,dataCtas:o,dataFeatures:i});default:return null}},qn=({template:e,data:t,dataCtas:o,dataFeatures:i})=>(0,n.jsx)(n.Fragment,{children:jn({template:e,data:t,dataCtas:o,dataFeatures:i})}),wr=(0,xt.forwardRef)(({template:e=1,className:t,data:o,dataCtas:i,dataFeatures:r},l)=>(0,n.jsxs)("div",{ref:l,className:a(" bg-section-hero overflow-hidden py-20",t),children:[(0,n.jsx)("div",{className:"wrapper relative",children:(0,n.jsx)(qn,{dataCtas:i||ur,template:e,data:o||gr,dataFeatures:r||hr})}),(0,n.jsx)("style",{children:`
232
+ `})]})},mr=({direction:e="row",label:t,type:o,value:i,children:r,disabled:l,hiddenInput:m,onChange:p,className:g,...N})=>{let C=`choicebox-group-${t?.replace(/\s+/g,"-").toLowerCase()}`;return(0,O.jsxs)("div",{...N,children:[(0,O.jsx)("label",{children:t}),(0,O.jsx)("ul",{className:a("",g,e?"flex md:flex-row md:space-y-0 md:space-x-4 flex-col space-y-4":"block"),children:qe.default.Children?.map(r,y=>{if(qe.default.isValidElement(y)){let M={disabled:y.props.disabled??l,type:o,name:C,checked:y.props.value===i,hiddenInput:m,className:y.props.className,classNameTitle:y.props.classNameTitle,classNameDescription:y.props.classNameDescription,onChange:p},W=Object.keys(M).reduce((R,w)=>(M[w]!==void 0&&(R[w]=M[w]),R),{});return qe.default.cloneElement(y,W)}return null})})]})};var cr=require("class-variance-authority");var pr=require("react/jsx-runtime"),fa=(0,cr.cva)("inline-flex items-center rounded-md border border-gray-300 px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-semibold",{variants:{variant:{default:"border-transparent bg-pink-500 text-white/90 shadow hover:bg-pink-500/80",secondary:"border-transparent bg-gray-200 text-gray-900 hover:bg-gray-200/80",outline:"text-gray-900",danger:"border-transparent bg-red-500 text-white/90 shadow hover:bg-red-500/80"}},defaultVariants:{variant:"default"}});function dr({className:e,variant:t,...o}){return(0,pr.jsx)("div",{className:a(fa({variant:t}),e),...o})}var fr=f(require("react"),1),vt=f(require("@radix-ui/react-progress"),1),ua=require("class-variance-authority");var ga=require("react/jsx-runtime"),Mn=(0,ua.cva)("h-full w-full rounded-full flex-1 transition-all",{variants:{variant:{progress:"bg-pink-500",success:"bg-green-600",disabled:"bg-gray-400",empty:"bg-gray-200"}},defaultVariants:{variant:"progress"}}),In=(0,ua.cva)("relative h-4 w-full overflow-hidden rounded-full bg-gray-200",{variants:{size:{small:"h-[6px]",medium:"h-2",large:"h-[10px]"}},defaultVariants:{size:"medium"}}),ha=fr.forwardRef(({className:e,value:t,variant:o="progress",size:i="medium",disabled:r=!1,...l},m)=>(0,ga.jsx)(vt.Root,{ref:m,className:a("",In({size:i}),e),...l,children:(0,ga.jsx)(vt.Indicator,{className:a("",Mn({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));ha.displayName=vt.Root.displayName;var xt=f(require("react"),1);var Zt=1;var gr={tagName:"DUMMY TAG",title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. ",description:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maxime minima amet porro.nam asperiores omnis labore doloribus excepturi?",media:{type:1,src:"https://homepage.momocdn.net/img/momo-upload-api-240522112100-638519736605993862.jpg",ratioImg:1/1}},ur=[{variant:"primary",content:"Button Primary",url:""},{variant:"transparent",content:"Button Text",url:""}],hr={type:"col",contents:[{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""}]};var br=require("@heroicons/react/24/outline");var vr=f(require("@radix-ui/react-aspect-ratio"),1),bt=vr.Root;var xr=require("class-variance-authority"),ae=f(require("@radix-ui/react-dialog"),1),yr=require("lucide-react"),n=require("react/jsx-runtime"),Ln=ae.Portal,En=xt.default.forwardRef(({className:e,...t},o)=>(0,n.jsx)(ae.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t})),Hn=ae.Root,_n=()=>(0,n.jsxs)(ae.Close,{className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[(0,n.jsx)(yr.X,{className:"h-4 w-4 mt-0.5"}),(0,n.jsx)("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),Bn=xt.default.forwardRef(({className:e,children:t,...o},i)=>(0,n.jsxs)(Ln,{children:[(0,n.jsx)(En,{className:"bg-black"}),(0,n.jsxs)(ae.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed left-[50%] top-[50%] grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg 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%] ",e),...o,children:[t,(0,n.jsx)(_n,{})]})]})),Vn=(0,xr.cva)("max-w-md space-y-1 text-gray-800 font-semibold list-inside ",{variants:{template:{col:" flex-col flex mt-5",row:"grid grid-cols-3 items-center divide-x gap-2 mt-5 ",customize:"grid grid-cols-2 md:grid-cols-4 gap-12 max-w-5xl mx-auto font-semibold items-center py-12 text-left text-sm"}},defaultVariants:{template:"col"}}),yt=({title:e,className:t})=>(0,n.jsx)("h1",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-3xl md:text-4xl font-bold py-3 text-gray-900",t)}),wt=({tagName:e,className:t})=>(0,n.jsx)("div",{className:a("text-pink-500 font-bold text-sm tracking-wider ",t),children:e}),Nt=({description:e,className:t})=>(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-lg text-gray-700 pb-2",t)}),ke=({dataCtas:e,className:t})=>{let o=(r,l)=>{r.preventDefault(),r.stopPropagation(),l?.()},i=({cta:r,index:l})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Ae,{onClick:m=>r?.onClickCTA?.()&&o(m,r?.onClickCTA?.()),variant:r?.variant,className:a("md:block hidden",r?.variant!=="primary"&&"text-pink-500 hidden "),children:r?.content},l),(0,n.jsx)(Ae,{variant:r?.variant,className:a("md:hidden",r?.variant!=="primary"&&"text-pink-500"),children:(0,n.jsx)("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},l)]});return(0,n.jsx)("div",{className:a("flex items-center mt-10",t,e?.length>1?"space-x-6":""),children:e?.map((r,l)=>r?.isQRCode?(0,n.jsx)(i,{cta:r,index:l},l):(0,n.jsx)(Ae,{onClick:m=>{r?.url||(m.stopPropagation(),m.preventDefault())},variant:r?.variant,className:a("",r?.variant!=="primary"&&"text-pink-500"),children:(0,n.jsx)("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},l))})},Fn=({template:e,title:t,label:o,icon:i,idx:r})=>(0,n.jsx)(n.Fragment,{children:(()=>{switch(e){case"col":return(0,n.jsxs)("li",{className:"flex items-center pb-3",children:[(0,n.jsx)("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:(0,n.jsx)(br.CheckIcon,{className:"w-4 h-4 text-pink-500 "})}),(0,n.jsx)("div",{className:"ml-2",children:t})]});case"row":return(0,n.jsxs)("div",{className:a("",r>0?"pl-4":""),children:[(0,n.jsx)("div",{className:"font-bold text-gray-900",children:t}),(0,n.jsx)("div",{className:"text-sm mt-1 text-gray-500",children:o})]});case"customize":return(0,n.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,n.jsx)("img",{src:i,alt:"",className:"shrink-0"}),(0,n.jsx)("div",{className:"text-gray-900 text-left",children:t})]});default:return null}})()}),Pt=({dataFeatures:e})=>(0,n.jsx)("ul",{className:a("",Vn({template:e?.type})),children:e?.contents?.map((t,o)=>(0,n.jsx)(Fn,{title:t?.title,template:e?.type,label:t?.label,icon:t?.icon,idx:o},o))}),zn=({type:e=1,src:t,ratioImg:o,className:i,video:r,onClickFC:l=()=>{}})=>(0,n.jsxs)(bt,{className:a(""),ratio:o,children:[(0,n.jsx)("img",{src:t,className:a("w-full h-full object-cover md:block hidden",i,t?"":"bg-gray-200"),alt:""}),e!==Zt&&r?.codeVideo&&(0,n.jsx)("div",{className:"aspect-[16/9] realtive overflow-hidden w-full",children:(0,n.jsx)("iframe",{title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?controls=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full object-cover md:hidden"})}),e!==Zt&&r?.codeVideo&&(0,n.jsxs)(Hn,{children:[(0,n.jsx)(ae.Trigger,{onClick:l,children:(0,n.jsx)("div",{className:"w-full hidden md:flex h-full cursor-pointer transition-transform group-hover:scale-105 top-0 absolute z-10 items-center justify-center",children:(0,n.jsx)("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,n.jsx)("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),(0,n.jsx)("path",{d:"M34.667 24.335c0 .515-.529.885-.529.885l-14.84 9.133c-1.08.704-1.965.182-1.965-1.153V15.467c0-1.338.884-1.856 1.968-1.153L34.14 23.45c-.002 0 .527.37.527.885Z",fill:"#FFF",fillRule:"nonzero"})]})})})}),(0,n.jsx)(Bn,{className:"w-full h-full flex items-center justify-center bg-gray-900 p-0",children:(0,n.jsx)("iframe",{width:738,height:439,title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?autoplay=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:""})})]})]}),De=({type:e=1,url:t="",src:o,ratioImg:i,className:r,video:l,onClickFC:m=()=>{}})=>(0,n.jsx)("div",{children:e===Zt&&!l?.codeVideo?(0,n.jsx)(bt,{className:a(""),ratio:i,children:(0,n.jsx)("img",{src:o,className:a("w-full h-full object-cover",r,o?"":"bg-gray-200"),alt:""})}):(0,n.jsx)(zn,{type:e,url:t,src:o,ratioImg:i,video:l,onClickFC:m})}),On=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 md:gap-16 gap-4 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(wt,{tagName:e?.tagName}),(0,n.jsx)(yt,{title:e?.title}),(0,n.jsx)(Nt,{description:e?.description}),(0,n.jsx)(Pt,{dataFeatures:o}),(0,n.jsx)("div",{className:"md:block hidden",children:(0,n.jsx)(ke,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,video:e?.media?.video}),(0,n.jsx)("div",{className:"block md:hidden flex items-center justify-center",children:(0,n.jsx)(ke,{dataCtas:t})})]})]}),Wn=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsx)("div",{className:"col-span-1",children:(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})})}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(wt,{tagName:e?.tagName}),(0,n.jsx)(yt,{title:e?.title}),(0,n.jsx)(Nt,{description:e?.description}),(0,n.jsx)(Pt,{dataFeatures:o}),(0,n.jsx)("div",{className:"md:hidden mt-10",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"w-full flex items-center justify-center md:justify-start",children:(0,n.jsx)(ke,{dataCtas:t})})]})]}),$n=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(wt,{tagName:e?.tagName}),(0,n.jsx)(yt,{title:e?.title}),(0,n.jsx)(Nt,{description:e?.description}),(0,n.jsx)(Pt,{dataFeatures:o}),(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(ke,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden block w-full flex items-center justify-center",children:(0,n.jsx)(ke,{dataCtas:t})})]})]}),Gn=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)(wt,{tagName:e?.tagName}),(0,n.jsx)(yt,{title:e?.title}),(0,n.jsx)(Nt,{description:e?.description}),(0,n.jsx)(Pt,{dataFeatures:o}),(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(ke,{dataCtas:t})})]}),(0,n.jsxs)("div",{className:"col-span-1",children:[(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"relative overflow-hidden -bottom-20"})}),(0,n.jsx)("div",{className:"md:hidden",children:(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),(0,n.jsx)("div",{className:"md:hidden block w-full flex items-center justify-center",children:(0,n.jsx)(ke,{dataCtas:t})})]})]}),Un=({data:e,dataCtas:t,dataFeatures:o})=>(0,n.jsxs)("div",{children:[(0,n.jsx)(wt,{tagName:e?.tagName,className:"max-w-4xl mx-auto text-center text-base leading-7 text-pink-500 font-bold"}),(0,n.jsx)(yt,{title:e?.title,className:"max-w-4xl mx-auto text-center font-manrope font-bold text-2xl text-gray-900 mb-5 md:text-4xl lg:text-5xl"}),(0,n.jsx)(Nt,{description:e?.description,className:"max-w-4xl mx-auto text-center text-base md:text-lg lg:text-xl font-normal leading-7 text-gray-700"}),(0,n.jsx)(ke,{dataCtas:t,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center "}),(0,n.jsx)(Pt,{dataFeatures:o}),(0,n.jsx)(De,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"rounded-lg"})]}),jn=({template:e,data:t,dataCtas:o,dataFeatures:i})=>{switch(e){case 1:return(0,n.jsx)(On,{data:t,dataCtas:o,dataFeatures:i});case 2:return(0,n.jsx)(Wn,{data:t,dataCtas:o,dataFeatures:i});case 3:return(0,n.jsx)($n,{data:t,dataCtas:o,dataFeatures:i});case 4:return(0,n.jsx)(Gn,{data:t,dataCtas:o,dataFeatures:i});case 5:return(0,n.jsx)(Un,{data:t,dataCtas:o,dataFeatures:i});default:return null}},qn=({template:e,data:t,dataCtas:o,dataFeatures:i})=>(0,n.jsx)(n.Fragment,{children:jn({template:e,data:t,dataCtas:o,dataFeatures:i})}),wr=(0,xt.forwardRef)(({template:e=1,className:t,data:o,dataCtas:i,dataFeatures:r},l)=>(0,n.jsxs)("div",{ref:l,className:a(" bg-section-hero overflow-hidden py-20",t),children:[(0,n.jsx)("div",{className:"wrapper relative",children:(0,n.jsx)(qn,{dataCtas:i||ur,template:e,data:o||gr,dataFeatures:r||hr})}),(0,n.jsx)("style",{children:`
233
233
  .bg-section-hero {
234
234
  background: var(
235
235
  --gradient-pink-1,
@@ -255,7 +255,7 @@
255
255
  #fff
256
256
  );
257
257
  }
258
- `})]}));var Wr=f(require("color"),1),$r=f(require("tailwindcss/plugin.js"),1);var _="250ms",Nr={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":_},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":_},".transition":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-timing-function":"ease","transition-duration":_},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":_},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":_},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":_},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":_},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":_},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":_},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":_},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":_},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":_},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":_},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":_},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":_},".transition-transform-colors-opacity":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":_}};var Pr={".leading-inherit":{"line-height":"inherit"},".bg-img-inherit":{"background-image":"inherit"},".bg-clip-inherit":{"background-clip":"inherit"},".text-fill-inherit":{"-webkit-text-fill-color":"inherit"},".tap-highlight-transparent":{"-webkit-tap-highlight-color":"transparent"},"*":{"border-color":"rgb(var(--mobase-gray-300))"}};var Cr={".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}};var Rr={...Pr,...Nr,...Cr};var Tr=require("flat");function Qn(e){let t={};for(let o in e){if(o.endsWith("-DEFAULT")){t[o.replace("-DEFAULT","")]=e[o];continue}t[o]=e[o]}return t}var kr=e=>Qn((0,Tr.flatten)(e,{safe:!0,delimiter:"-"}));var Yt=16,Zn=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],Yn=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],Dr=e=>{let t={xs:2,sm:3,md:4,lg:5.5,xl:9,"2xl":12,"3xl":20,"4xl":30,"5xl":56,"6xl":72,"7xl":96,"8xl":128,"9xl":160},o={0:"0px"};return Object.entries(t).forEach(([i,r])=>{o[i]=r?`${e*r/Yt}rem`:`${e/Yt}rem`}),Zn.forEach(i=>{let r=`${i}`;if(r.includes(".")){let[l,m]=r.split(".");r=`${l}_${m}`}o[r]=`${e*i/Yt}rem`}),Yn.forEach(i=>{let r=`${i}`;o[r]=`${e*i/Yt}rem`}),o};var Sr={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var Ar={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var Mr={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var Ir={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Lr={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Er={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Hr={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var _r={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Br={white:"#ffffff",black:"#000000",blue:Sr,green:Ar,pink:Mr,purple:Ir,red:Lr,yellow:Er,gray:_r,orange:Hr};var va={...Br};var Vr={"spacing-unit":4,"disabled-opacity":.5,"font-size":{xxs:"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},radius:{sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"box-shadow":{small:"0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",medium:"0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",large:"0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"}};var Fr={animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","spin-loading":"spin 1s steps(12, end) infinite","fade-in":"fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"fade-in":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}};function zr(e){return{xxs:[`var(--${e}-font-size-xxs)`,{lineHeight:"1rem"}],xs:[`var(--${e}-font-size-xs)`,{lineHeight:"1rem"}],sm:[`var(--${e}-font-size-sm)`,{lineHeight:"1.25rem"}],base:[`var(--${e}-font-size-base)`,{lineHeight:"1.5rem"}],lg:[`var(--${e}-font-size-lg)`,{lineHeight:"1.75rem"}],xl:[`var(--${e}-font-size-xl)`,{lineHeight:"1.75rem"}],"2xl":[`var(--${e}-font-size-2xl)`,{lineHeight:"2rem"}],"3xl":[`var(--${e}-font-size-3xl)`,{lineHeight:"2.25rem"}],"4xl":[`var(--${e}-font-size-4xl)`,{lineHeight:"2.5rem"}],"5xl":[`var(--${e}-font-size-5xl)`,{lineHeight:"3.5rem",letterSpacing:"-0.075rem"}],"6xl":[`var(--${e}-font-size-6xl)`,{lineHeight:"4.5rem",letterSpacing:"-0.09375rem"}],"7xl":[`var(--${e}-font-size-7xl)`,{lineHeight:"5rem",letterSpacing:"-0.1125rem"}],"8xl":[`var(--${e}-font-size-8xl)`,{lineHeight:"6.5rem",letterSpacing:"-0.15rem"}],"9xl":[`var(--${e}-font-size-9xl)`,{lineHeight:"8rem",letterSpacing:"-0.2rem"}]}}function Or(e){return{sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-base)`,md:`var(--${e}-radius-md)`,lg:`var(--${e}-radius-lg)`,xl:`var(--${e}-radius-xl)`,"2xl":`var(--${e}-radius-2xl)`,"3xl":`var(--${e}-radius-3xl)`}}var Kn=e=>{let t={utilities:{},colors:{}},o=kr(va),i=Vr,r=":root";return t.utilities[r]={},Object.entries(o).forEach(([l,m])=>{if(m)try{let[p,g,N]=(0,Wr.default)(m).rgb().array(),C=`--${e}-${l}`;t.utilities[r][C]=`${p} ${g} ${N}`,t.colors[l]=`rgb(var(${C}) / <alpha-value>)`}catch(p){console.log("error",p?.message)}}),Object.entries(i).forEach(([l,m])=>{if(!m)return;let p=`--${e}-${l}`;if(typeof m=="object")Object.entries(m).forEach(([g,N])=>{let C=`${p}-${g}`;t.utilities[r][C]=N});else if(l==="spacing-unit"){t.utilities[r][p]=m;let g=Dr(Number(m));Object.entries(g).forEach(([N,C])=>{let y=`${p}-${N}`;t.utilities[r][y]=C})}else{let g=p.includes("opacity")&&typeof m=="number"?m.toString().replace(/^0\./,"."):m;t.utilities[r][p]=g}}),t},Gr=()=>{let e="mobase",t=Kn(e);return(0,$r.default)(({addBase:o,addUtilities:i,addComponents:r})=>{r({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),o({":root":{"font-smooth--webkit":"antialiased"},...t?.utilities}),i({...Rr})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},extend:{fontFamily:{sans:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],mono:["SFMono-Regular","Consolas","Liberation Mono","Menlo","monospace"]},colors:{...va,...t?.colors,border:"rgba(var(--border))"},boxShadow:{small:`var(--${e}-box-shadow-small)`,medium:`var(--${e}-box-shadow-medium)`,large:`var(--${e}-box-shadow-large)`},zIndex:{negative:`var(--${e}-z-index-negative)`,workbench:`var(--${e}-z-index-workbench)`,default:`var(--${e}-z-index-default)`,"workbench-header":`var(--${e}-z-index-workbench-header)`,modal:`var(--${e}-z-index-modal)`,"modal-content":`var(--${e}-z-index-modal-content)`,dropdown:`var(--${e}-z-index-dropdown)`,tooltip:`var(--${e}-z-index-tooltip)`,notification:`var(--${e}-z-index-notification)`},borderRadius:{...Or(e)},fontSize:{...zr(e)},...Fr}}})};var u=require("react/jsx-runtime"),Ur=()=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1"}),(0,u.jsx)("meta",{name:"abstract",content:"V\xED \u0111i\u1EC7n t\u1EED MoMo - Si\xEAu \u1EE9ng d\u1EE5ng thanh to\xE1n s\u1ED1 1 Vi\u1EC7t Nam"}),(0,u.jsx)("meta",{name:"distribution",content:"Global"}),(0,u.jsx)("meta",{name:"author",content:"V\xED MoMo"}),(0,u.jsx)("meta",{property:"fb:app_id",content:"320653355376196"}),(0,u.jsx)("meta",{property:"fb:pages",content:"138010322921640"}),(0,u.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,u.jsx)("link",{href:"/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),(0,u.jsx)("link",{href:"/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),(0,u.jsx)("link",{href:"/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),(0,u.jsx)("meta",{name:"language",content:"vietnamese"}),(0,u.jsx)("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),(0,u.jsx)("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),(0,u.jsx)("meta",{name:"RATING",content:"GENERAL"}),(0,u.jsx)("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//facebook.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//connect.facebook.net"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.google-analytics.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),(0,u.jsx)("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.google.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.google.com.vn"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.googleadservices.com"}),(0,u.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
258
+ `})]}));var Wr=f(require("color"),1),$r=f(require("tailwindcss/plugin.js"),1);var _="250ms",Nr={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":_},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":_},".transition":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-timing-function":"ease","transition-duration":_},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":_},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":_},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":_},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":_},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":_},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":_},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":_},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":_},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":_},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":_},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":_},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":_},".transition-transform-colors-opacity":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":_}};var Pr={".leading-inherit":{"line-height":"inherit"},".bg-img-inherit":{"background-image":"inherit"},".bg-clip-inherit":{"background-clip":"inherit"},".text-fill-inherit":{"-webkit-text-fill-color":"inherit"},".tap-highlight-transparent":{"-webkit-tap-highlight-color":"transparent"},"*":{"border-color":"rgb(var(--mobase-gray-300))"}};var Cr={".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}};var Rr={...Pr,...Nr,...Cr};var Tr=f(require("lodash-es"),1);function Qn(e){let t={};for(let o in e){if(o.endsWith("-DEFAULT")){t[o.replace("-DEFAULT","")]=e[o];continue}t[o]=e[o]}return t}var kr=e=>Qn(Tr.default.flattenDeep(e,{delimiter:"-"}));var Yt=16,Zn=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],Yn=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],Dr=e=>{let t={xs:2,sm:3,md:4,lg:5.5,xl:9,"2xl":12,"3xl":20,"4xl":30,"5xl":56,"6xl":72,"7xl":96,"8xl":128,"9xl":160},o={0:"0px"};return Object.entries(t).forEach(([i,r])=>{o[i]=r?`${e*r/Yt}rem`:`${e/Yt}rem`}),Zn.forEach(i=>{let r=`${i}`;if(r.includes(".")){let[l,m]=r.split(".");r=`${l}_${m}`}o[r]=`${e*i/Yt}rem`}),Yn.forEach(i=>{let r=`${i}`;o[r]=`${e*i/Yt}rem`}),o};var Sr={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var Ar={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var Mr={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var Ir={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Lr={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Er={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Hr={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var _r={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Br={white:"#ffffff",black:"#000000",blue:Sr,green:Ar,pink:Mr,purple:Ir,red:Lr,yellow:Er,gray:_r,orange:Hr};var va={...Br};var Vr={"spacing-unit":4,"disabled-opacity":.5,"font-size":{xxs:"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},radius:{sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"box-shadow":{small:"0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",medium:"0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",large:"0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"}};var Fr={animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","spin-loading":"spin 1s steps(12, end) infinite","fade-in":"fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"fade-in":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}};function zr(e){return{xxs:[`var(--${e}-font-size-xxs)`,{lineHeight:"1rem"}],xs:[`var(--${e}-font-size-xs)`,{lineHeight:"1rem"}],sm:[`var(--${e}-font-size-sm)`,{lineHeight:"1.25rem"}],base:[`var(--${e}-font-size-base)`,{lineHeight:"1.5rem"}],lg:[`var(--${e}-font-size-lg)`,{lineHeight:"1.75rem"}],xl:[`var(--${e}-font-size-xl)`,{lineHeight:"1.75rem"}],"2xl":[`var(--${e}-font-size-2xl)`,{lineHeight:"2rem"}],"3xl":[`var(--${e}-font-size-3xl)`,{lineHeight:"2.25rem"}],"4xl":[`var(--${e}-font-size-4xl)`,{lineHeight:"2.5rem"}],"5xl":[`var(--${e}-font-size-5xl)`,{lineHeight:"3.5rem",letterSpacing:"-0.075rem"}],"6xl":[`var(--${e}-font-size-6xl)`,{lineHeight:"4.5rem",letterSpacing:"-0.09375rem"}],"7xl":[`var(--${e}-font-size-7xl)`,{lineHeight:"5rem",letterSpacing:"-0.1125rem"}],"8xl":[`var(--${e}-font-size-8xl)`,{lineHeight:"6.5rem",letterSpacing:"-0.15rem"}],"9xl":[`var(--${e}-font-size-9xl)`,{lineHeight:"8rem",letterSpacing:"-0.2rem"}]}}function Or(e){return{sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-base)`,md:`var(--${e}-radius-md)`,lg:`var(--${e}-radius-lg)`,xl:`var(--${e}-radius-xl)`,"2xl":`var(--${e}-radius-2xl)`,"3xl":`var(--${e}-radius-3xl)`}}var Kn=e=>{let t={utilities:{},colors:{}},o=kr(va),i=Vr,r=":root";return t.utilities[r]={},Object.entries(o).forEach(([l,m])=>{if(m)try{let[p,g,N]=(0,Wr.default)(m).rgb().array(),C=`--${e}-${l}`;t.utilities[r][C]=`${p} ${g} ${N}`,t.colors[l]=`rgb(var(${C}) / <alpha-value>)`}catch(p){console.log("error",p?.message)}}),Object.entries(i).forEach(([l,m])=>{if(!m)return;let p=`--${e}-${l}`;if(typeof m=="object")Object.entries(m).forEach(([g,N])=>{let C=`${p}-${g}`;t.utilities[r][C]=N});else if(l==="spacing-unit"){t.utilities[r][p]=m;let g=Dr(Number(m));Object.entries(g).forEach(([N,C])=>{let y=`${p}-${N}`;t.utilities[r][y]=C})}else{let g=p.includes("opacity")&&typeof m=="number"?m.toString().replace(/^0\./,"."):m;t.utilities[r][p]=g}}),t},Gr=()=>{let e="mobase",t=Kn(e);return(0,$r.default)(({addBase:o,addUtilities:i,addComponents:r})=>{r({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),o({":root":{"font-smooth--webkit":"antialiased"},...t?.utilities}),i({...Rr})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},extend:{fontFamily:{sans:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],mono:["SFMono-Regular","Consolas","Liberation Mono","Menlo","monospace"]},colors:{...va,...t?.colors,border:"rgba(var(--border))"},boxShadow:{small:`var(--${e}-box-shadow-small)`,medium:`var(--${e}-box-shadow-medium)`,large:`var(--${e}-box-shadow-large)`},zIndex:{negative:`var(--${e}-z-index-negative)`,workbench:`var(--${e}-z-index-workbench)`,default:`var(--${e}-z-index-default)`,"workbench-header":`var(--${e}-z-index-workbench-header)`,modal:`var(--${e}-z-index-modal)`,"modal-content":`var(--${e}-z-index-modal-content)`,dropdown:`var(--${e}-z-index-dropdown)`,tooltip:`var(--${e}-z-index-tooltip)`,notification:`var(--${e}-z-index-notification)`},borderRadius:{...Or(e)},fontSize:{...zr(e)},...Fr}}})};var u=require("react/jsx-runtime"),Ur=()=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1"}),(0,u.jsx)("meta",{name:"abstract",content:"V\xED \u0111i\u1EC7n t\u1EED MoMo - Si\xEAu \u1EE9ng d\u1EE5ng thanh to\xE1n s\u1ED1 1 Vi\u1EC7t Nam"}),(0,u.jsx)("meta",{name:"distribution",content:"Global"}),(0,u.jsx)("meta",{name:"author",content:"V\xED MoMo"}),(0,u.jsx)("meta",{property:"fb:app_id",content:"320653355376196"}),(0,u.jsx)("meta",{property:"fb:pages",content:"138010322921640"}),(0,u.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,u.jsx)("link",{href:"/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),(0,u.jsx)("link",{href:"/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),(0,u.jsx)("link",{href:"/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),(0,u.jsx)("meta",{name:"language",content:"vietnamese"}),(0,u.jsx)("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),(0,u.jsx)("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),(0,u.jsx)("meta",{name:"RATING",content:"GENERAL"}),(0,u.jsx)("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//facebook.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),(0,u.jsx)("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//connect.facebook.net"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.google-analytics.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),(0,u.jsx)("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.google.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.google.com.vn"}),(0,u.jsx)("link",{rel:"preconnect",href:"//www.googleadservices.com"}),(0,u.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
259
259
  "@context": "https://schema.org/",
260
260
  "@type": "WebSite",
261
261
  "@id":"https://momo.vn/#website",