@momo-webplatform/mobase 0.2.21 → 0.2.23

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/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import*as Be from"react";import*as U from"@radix-ui/react-accordion";import{ChevronDownIcon as Hi}from"@heroicons/react/20/solid";import{clsx as Ii}from"clsx";import{twMerge as Li}from"tailwind-merge";var ae={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"}};var mo={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 _e=[{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"}],At=[{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"}];var V={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",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}};function a(...e){return Li(Ii(e))}import{jsx as Te,jsxs as _i}from"react/jsx-runtime";var it=Be.forwardRef(({className:e,...t},o)=>Te(U.Root,{ref:o,...t}));it.displayName="AccordionRoot";var rt=Be.forwardRef(({className:e,...t},o)=>Te(U.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));rt.displayName="AccordionItem";var nt=Be.forwardRef(({className:e,children:t,...o},i)=>Te(U.Header,{className:"flex",children:_i(U.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,Te(Hi,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));nt.displayName=U.Trigger.displayName;var st=Be.forwardRef(({className:e,children:t,...o},i)=>Te(U.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:Te("div",{className:a("pb-4 pt-0 text-gray-900 ",e),children:t})}));st.displayName=U.Content.displayName;import*as ke from"react";import{ChevronRightIcon as Bi,DotsHorizontalIcon as Vi}from"@radix-ui/react-icons";import{Slot as zi}from"@radix-ui/react-slot";import{jsx as ie,jsxs as Fi}from"react/jsx-runtime";var co=ke.forwardRef(({className:e,...t},o)=>ie("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));co.displayName="Breadcrumb";var po=ke.forwardRef(({className:e,...t},o)=>ie("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}));po.displayName="BreadcrumbList";var go=ke.forwardRef(({className:e,...t},o)=>ie("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));go.displayName="BreadcrumbItem";var fo=ke.forwardRef(({asChild:e,className:t,...o},i)=>ie(e?zi:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));fo.displayName="BreadcrumbLink";var uo=ke.forwardRef(({className:e,...t},o)=>ie("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));uo.displayName="BreadcrumbPage";var ho=({children:e,className:t,...o})=>ie("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??ie(Bi,{className:"w-2 h-2"})});ho.displayName="BreadcrumbSeparator";var vo=({className:e,...t})=>Fi("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[ie(Vi,{className:"w-4 h-4 text-gray-900"}),ie("span",{className:"sr-only",children:"More"})]});vo.displayName="BreadcrumbElipssis";import*as xo from"react";import{Slot as $i}from"@radix-ui/react-slot";import{cva as Gi}from"class-variance-authority";import{jsx as j,jsxs as Wi}from"react/jsx-runtime";var Oi=({className:e})=>Wi("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"})]}),bo=Oi;import{Fragment as ji,jsx as Mt,jsxs as Ui}from"react/jsx-runtime";var re=Gi("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-bold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 px-4",sm:"h-8 px-3 text-sm rounded-md",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),ee=xo.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:n=!1,...l},c)=>{let d=i?$i:"button",b=a(re({variant:t,size:o,className:e}),{"cursor-wait":r});return Mt(ji,{children:i?Mt(d,{className:b,type:"button",disabled:n,ref:c,...l,children:l.children}):Ui(d,{className:b,type:"button",disabled:n,ref:c,...l,children:[r&&Mt(bo,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),l.children]})})});ee.displayName="Button";import*as Et from"react";import*as ze from"@radix-ui/react-checkbox";import{Check as qi}from"lucide-react";import{Primitive as Qi}from"@radix-ui/react-primitive";import{createContextScope as Zi}from"@radix-ui/react-context";import{Presence as Xi}from"@radix-ui/react-presence";import{jsx as Ve}from"react/jsx-runtime";var yo="Checkbox",[Yi,Ki]=Zi(yo),[Ul,Ji]=Yi(yo),wo="CheckboxIndicator";function er(e){return No(e)?"indeterminate":e?"checked":"unchecked"}var It=Et.forwardRef((e,t)=>{let{__scopeCheckbox:o,forceMount:i,...r}=e,n=Ji(wo,o);return Ve(Xi,{present:i||No(n.state)||n.state===!0,children:Ve(Qi.span,{"data-state":er(n.state),"data-disabled":n.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});function No(e){return e==="indeterminate"}It.displayName=wo;var Fe=Et.forwardRef(({className:e,...t},o)=>Ve(ze.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:Ve(ze.Indicator,{className:a("flex items-center justify-center text-current"),children:Ve(qi,{className:"h-3.5 w-3.5"})})}));Fe.displayName=ze.Root.displayName;var tr=Fe,or=It;import*as Oe from"react";import*as D from"@radix-ui/react-dialog";import{XMarkIcon as ar}from"@heroicons/react/20/solid";import{jsx as ne,jsxs as Lt}from"react/jsx-runtime";var We=D.Root,ir=D.Trigger,Po=D.Portal,rr=D.Close,Ht=Oe.forwardRef(({className:e,...t},o)=>ne(D.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}));Ht.displayName=D.Overlay.displayName;var De=Oe.forwardRef(({className:e,isRightCloseButton:t,size:o="md",position:i="center",height:r="auto",isFull:n=!1,children:l,...c},d)=>{let b={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"},N={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},x={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},E=[b.base,b[i],N[o],x[r],n&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return Lt(Po,{children:[ne(Ht,{}),Lt(D.Content,{ref:d,className:a(...E),...c,children:[l,Lt(D.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:[ne(ar,{className:"h-5 w-5 text-gray-700"}),ne("span",{className:"sr-only",children:"Close"})]})]})]})});De.displayName=D.Content.displayName;var Co=({className:e,...t})=>ne("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});Co.displayName="DialogHeader";var lt=({className:e,isCondensed:t=!1,...o})=>ne("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});lt.displayName="DialogBody";var Ro=({className:e,isDivider:t=!0,...o})=>ne("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});Ro.displayName="DialogFooter";var To=Oe.forwardRef(({className:e,...t},o)=>ne(D.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));To.displayName=D.Title.displayName;var ko=Oe.forwardRef(({className:e,...t},o)=>ne(D.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));ko.displayName=D.Description.displayName;import{QRCodeSVG as nr}from"qrcode.react";import{Fragment as _t,jsx as f,jsxs as z}from"react/jsx-runtime";var sr=({img:e="",children:t,isQrForAll:o})=>z(_t,{children:[f("div",{className:"qrcode__scan__container",children:z("div",{className:"qrcode__scan",children:[f("div",{className:"qrcode__gradient",children:f("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),f("div",{className:"qrcode__border",children:f("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),f("div",{className:"qrcode__image p-4",children:e?f("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),f("div",{className:"mt-4 text-sm text-white",children:o?z(_t,{children:[f("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),f("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"})]}):z(_t,{children:[f("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:f("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",f("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),f("style",{children:`
1
+ import*as Be from"react";import*as U from"@radix-ui/react-accordion";import{ChevronDownIcon as Hi}from"@heroicons/react/20/solid";import{clsx as Ii}from"clsx";import{twMerge as Li}from"tailwind-merge";var ae={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"}};var mo={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 _e=[{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"}],At=[{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"}];var V={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",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}};function a(...e){return Li(Ii(e))}import{jsx as Te,jsxs as _i}from"react/jsx-runtime";var it=Be.forwardRef(({className:e,...t},o)=>Te(U.Root,{ref:o,...t}));it.displayName="AccordionRoot";var rt=Be.forwardRef(({className:e,...t},o)=>Te(U.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));rt.displayName="AccordionItem";var nt=Be.forwardRef(({className:e,children:t,...o},i)=>Te(U.Header,{className:"flex",children:_i(U.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,Te(Hi,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));nt.displayName=U.Trigger.displayName;var st=Be.forwardRef(({className:e,children:t,...o},i)=>Te(U.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:Te("div",{className:a("pb-4 pt-0 text-gray-900 ",e),children:t})}));st.displayName=U.Content.displayName;import*as ke from"react";import{ChevronRightIcon as Bi,DotsHorizontalIcon as Vi}from"@radix-ui/react-icons";import{Slot as zi}from"@radix-ui/react-slot";import{jsx as ie,jsxs as Fi}from"react/jsx-runtime";var co=ke.forwardRef(({className:e,...t},o)=>ie("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));co.displayName="Breadcrumb";var po=ke.forwardRef(({className:e,...t},o)=>ie("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}));po.displayName="BreadcrumbList";var go=ke.forwardRef(({className:e,...t},o)=>ie("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));go.displayName="BreadcrumbItem";var fo=ke.forwardRef(({asChild:e,className:t,...o},i)=>ie(e?zi:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));fo.displayName="BreadcrumbLink";var uo=ke.forwardRef(({className:e,...t},o)=>ie("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));uo.displayName="BreadcrumbPage";var ho=({children:e,className:t,...o})=>ie("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??ie(Bi,{className:"w-2 h-2"})});ho.displayName="BreadcrumbSeparator";var vo=({className:e,...t})=>Fi("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[ie(Vi,{className:"w-4 h-4 text-gray-900"}),ie("span",{className:"sr-only",children:"More"})]});vo.displayName="BreadcrumbElipssis";import*as xo from"react";import{Slot as $i}from"@radix-ui/react-slot";import{cva as Gi}from"class-variance-authority";import{jsx as j,jsxs as Wi}from"react/jsx-runtime";var Oi=({className:e})=>Wi("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"}),j("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"})]}),bo=Oi;import{Fragment as ji,jsx as Mt,jsxs as Ui}from"react/jsx-runtime";var re=Gi("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-bold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent",{variants:{variant:{primary:"bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",secondary:"bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",outline:"border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",tonal:"bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",danger:"bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",transparent:"text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent"},size:{default:"text-sm h-10 px-4",sm:"h-8 px-3 text-sm rounded-md",lg:"h-12 px-4 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),ee=xo.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:n=!1,...l},c)=>{let d=i?$i:"button",b=a(re({variant:t,size:o,className:e}),{"cursor-wait":r});return Mt(ji,{children:i?Mt(d,{className:b,type:"button",disabled:n,ref:c,...l,children:l.children}):Ui(d,{className:b,type:"button",disabled:n,ref:c,...l,children:[r&&Mt(bo,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),l.children]})})});ee.displayName="Button";import*as Et from"react";import*as ze from"@radix-ui/react-checkbox";import{CheckIcon as qi}from"@heroicons/react/16/solid";import{Primitive as Qi}from"@radix-ui/react-primitive";import{createContextScope as Zi}from"@radix-ui/react-context";import{Presence as Xi}from"@radix-ui/react-presence";import{jsx as Ve}from"react/jsx-runtime";var yo="Checkbox",[Yi,Ki]=Zi(yo),[Ul,Ji]=Yi(yo),wo="CheckboxIndicator";function er(e){return No(e)?"indeterminate":e?"checked":"unchecked"}var It=Et.forwardRef((e,t)=>{let{__scopeCheckbox:o,forceMount:i,...r}=e,n=Ji(wo,o);return Ve(Xi,{present:i||No(n.state)||n.state===!0,children:Ve(Qi.span,{"data-state":er(n.state),"data-disabled":n.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});function No(e){return e==="indeterminate"}It.displayName=wo;var Fe=Et.forwardRef(({className:e,...t},o)=>Ve(ze.Root,{ref:o,className:a("peer h-4 w-4 shrink-0 rounded 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:bg-gray-100 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-400 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",e),...t,children:Ve(ze.Indicator,{className:a("flex items-center justify-center text-current"),children:Ve(qi,{className:"h-4 w-4"})})}));Fe.displayName=ze.Root.displayName;var tr=Fe,or=It;import*as Oe from"react";import*as D from"@radix-ui/react-dialog";import{XMarkIcon as ar}from"@heroicons/react/20/solid";import{jsx as ne,jsxs as Lt}from"react/jsx-runtime";var We=D.Root,ir=D.Trigger,Po=D.Portal,rr=D.Close,Ht=Oe.forwardRef(({className:e,...t},o)=>ne(D.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}));Ht.displayName=D.Overlay.displayName;var De=Oe.forwardRef(({className:e,isRightCloseButton:t,size:o="md",position:i="center",height:r="auto",isFull:n=!1,children:l,...c},d)=>{let b={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"},N={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},x={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},E=[b.base,b[i],N[o],x[r],n&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return Lt(Po,{children:[ne(Ht,{}),Lt(D.Content,{ref:d,className:a(...E),...c,children:[l,Lt(D.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:[ne(ar,{className:"h-5 w-5 text-gray-700"}),ne("span",{className:"sr-only",children:"Close"})]})]})]})});De.displayName=D.Content.displayName;var Co=({className:e,...t})=>ne("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});Co.displayName="DialogHeader";var lt=({className:e,isCondensed:t=!1,...o})=>ne("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});lt.displayName="DialogBody";var Ro=({className:e,isDivider:t=!0,...o})=>ne("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});Ro.displayName="DialogFooter";var To=Oe.forwardRef(({className:e,...t},o)=>ne(D.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));To.displayName=D.Title.displayName;var ko=Oe.forwardRef(({className:e,...t},o)=>ne(D.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));ko.displayName=D.Description.displayName;import{QRCodeSVG as nr}from"qrcode.react";import{Fragment as _t,jsx as f,jsxs as z}from"react/jsx-runtime";var sr=({img:e="",children:t,isQrForAll:o})=>z(_t,{children:[f("div",{className:"qrcode__scan__container",children:z("div",{className:"qrcode__scan",children:[f("div",{className:"qrcode__gradient",children:f("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),f("div",{className:"qrcode__border",children:f("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),f("div",{className:"qrcode__image p-4",children:e?f("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),f("div",{className:"mt-4 text-sm text-white",children:o?z(_t,{children:[f("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),f("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"})]}):z(_t,{children:[f("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:f("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",f("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),f("style",{children:`
2
2
  .qrcode__scan__container {
3
3
  padding: 15px;
4
4
  background-color: white;
@@ -121,7 +121,7 @@ import*as Be from"react";import*as U from"@radix-ui/react-accordion";import{Chev
121
121
  V56.3C312,38.2,297.5,23.7,279.4,23.7z M226.8,77.1H86.1c-8.1,0-13.5-5.4-13.5-13.5c0-8.1,5.4-13.5,13.5-13.5h140.8
122
122
  c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),p("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
123
123
  c19.6,48.2,49.8,105.6,82.2,142.7h116.7c41-30.4,74-175,17.3-181.6c-5.2,0-13.5,0.8-17.3,4.3c0-17.3-15.1-21.7-21.6-21.6
124
- c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),p("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),p("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),p("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),_("ul",{className:"mb-2 text-sm text-gray-500",children:[_("li",{className:"mb-1",children:["Hotline :\xA0",p("a",{className:"text-gray-600",href:`tel:${ae.Business.Phome}`,children:ae.Business.Phome_Format})]}),_("li",{className:"mb-1",children:["Email :\xA0",_("a",{href:`mailto:${ae.Business.Email}`,className:"text-gray-600",children:[" ",ae.Business.Email]})]})]}),p("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:_("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-12 pr-2 hover:bg-gray-100",children:[p("div",{className:"absolute left-1 top-1 ",children:p("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),p("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),p("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]}),p("div",{className:"fixed inset-x-0 bottom-0 grid grid-cols-1 gap-x-5 px-4 py-6 bg-white",children:_("a",{className:a("w-full tracking-cta-header",re({variant:"primary",size:"lg"})),target:"_blank",href:"http://momo.vn/download",children:[p(Sn,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]})})]})})})]})},Ra=Ln;import Hn from"html-react-parser";import{ArrowDownTrayIcon as _n}from"@heroicons/react/16/solid";import{useState as Bn}from"react";import{jsx as J,jsxs as Pe}from"react/jsx-runtime";var Ta=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:i=!0,navigationRight:r})=>{let{logo:n,name:l,url:c}=o,[d,b]=Bn(!1);return Pe("div",{className:a(e,"sticky top-0 z-40 w-full flex-none lg:z-50 "),children:[J("div",{className:a("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),J("nav",{className:a("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:Pe("div",{className:"relative flex items-center ",children:[Pe("a",{href:"https://www.momo.vn/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[J("span",{className:"sr-only",children:"MoMo home page"}),J("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&Pe("a",{href:c,title:l,className:" relative flex space-x-1 pl-2 items-center rounded-none hover:opacity-80 after:absolute after:left-0 after:h-8 after:w-[1px] after:bg-gray-300 after:content-[''] ",children:[J("img",{src:n,className:"w-9 h-9",alt:"MoMo"}),J("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:l&&Hn(l)})]}),J("div",{className:"relative lg:ml-10 xl:ml-16 hidden lg:flex items-center ",children:J(ya,{data:t})}),Pe("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[r&&r,i&&Pe("div",{className:" hidden sm:flex",children:[Pe(ee,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>b(!0),children:[" ",J(_n,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),J($e,{open:d,onOpenChange:()=>b(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),J(Ra,{data:t,className:"lg:hidden "})]})]})})]})};Ta.displayName="HeaderNavigation";import{useState as Vn}from"react";import{Fragment as Fn,jsx as m,jsxs as h}from"react/jsx-runtime";var ka=({item:e})=>m("div",{className:"mt-3 flex w-full text-sm",children:h("a",{href:e.url,target:e.newTab?"_blank":"_self",rel:"noreferrer",className:"flex items-center space-x-2 text-white text-opacity-50 duration-300 hover:text-opacity-100",children:[e.icon&&m("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:m("img",{src:e.icon,className:"absolute inset-0"})}),m("span",{className:"block ",children:e.title})]})}),zn=({primaryMenu:e,secondaryMenu:t})=>{let[o,i]=Vn(null);return h(Fn,{children:[m("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:h("div",{className:"wrapper grid grid-cols-2 gap-5 sm:gap-x-20 sm:gap-y-10 lg:flex lg:flex-nowrap lg:gap-14",children:[h("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((r,n)=>m(ka,{item:r},n))]}),h("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),m("div",{className:"flex flex-wrap",children:t?.lists?.map((r,n)=>m(ka,{item:r},n))})]}),h("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[h("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),h("div",{className:"mt-2 text-sm md:mt-3",children:[m("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),m("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:mo.Address})]}),h("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Hotline : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Hotline}`,children:V.Support.Hotline_Format}),h("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),h("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Email : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${V.Support.Email}`,children:V.Support.Email})]}),h("div",{className:"mt-1 text-sm",children:[h("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_1}`,children:V.Support.Phone_Ext_1_Format}),m("span",{className:"text-white text-opacity-60",children:" - "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_2}`,children:V.Support.Phone_Ext_2_Format}),m("span",{className:"text-white text-opacity-60",children:" - "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_3}`,children:V.Support.Phone_Ext_3_Format}),m("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),m("div",{className:"mt-3 flex",children:m("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:h("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[m("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:m("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:h("g",{children:[m("title",{children:"Asset 1"}),m("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
124
+ c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),p("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),p("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),p("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),_("ul",{className:"mb-2 text-sm text-gray-500",children:[_("li",{className:"mb-1",children:["Hotline :\xA0",p("a",{className:"text-gray-600",href:`tel:${ae.Business.Phome}`,children:ae.Business.Phome_Format})]}),_("li",{className:"mb-1",children:["Email :\xA0",_("a",{href:`mailto:${ae.Business.Email}`,className:"text-gray-600",children:[" ",ae.Business.Email]})]})]}),p("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:_("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-12 pr-2 hover:bg-gray-100",children:[p("div",{className:"absolute left-1 top-1 ",children:p("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),p("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),p("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]}),p("div",{className:"fixed inset-x-0 bottom-0 grid grid-cols-1 gap-x-5 px-4 py-6 bg-white",children:_("a",{className:a("w-full tracking-cta-header",re({variant:"primary",size:"lg"})),target:"_blank",href:"http://momo.vn/download",children:[p(Sn,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]})})]})})})]})},Ra=Ln;import Hn from"html-react-parser";import{ArrowDownTrayIcon as _n}from"@heroicons/react/16/solid";import{useState as Bn}from"react";import{jsx as J,jsxs as Pe}from"react/jsx-runtime";var Ta=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:i=!0,navigationRight:r})=>{let{logo:n,name:l,url:c}=o,[d,b]=Bn(!1);return Pe("div",{className:a(e,"sticky top-0 z-40 w-full flex-none lg:z-50 "),children:[J("div",{className:a("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),J("nav",{className:a("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:Pe("div",{className:"relative flex items-center ",children:[Pe("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[J("span",{className:"sr-only",children:"MoMo home page"}),J("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&Pe("a",{href:c,title:l,className:" relative flex space-x-1 pl-2 items-center rounded-none hover:opacity-80 after:absolute after:left-0 after:h-8 after:w-[1px] after:bg-gray-300 after:content-[''] ",children:[J("img",{src:n,className:"w-9 h-9",alt:"MoMo"}),J("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:l&&Hn(l)})]}),J("div",{className:"relative lg:ml-10 xl:ml-16 hidden lg:flex items-center ",children:J(ya,{data:t})}),Pe("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[r&&r,i&&Pe("div",{className:" hidden sm:flex",children:[Pe(ee,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>b(!0),children:[" ",J(_n,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),J($e,{open:d,onOpenChange:()=>b(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),J(Ra,{data:t,className:"lg:hidden "})]})]})})]})};Ta.displayName="HeaderNavigation";import{useState as Vn}from"react";import{Fragment as Fn,jsx as m,jsxs as h}from"react/jsx-runtime";var ka=({item:e})=>m("div",{className:"mt-3 flex w-full text-sm",children:h("a",{href:e.url,target:e.newTab?"_blank":"_self",rel:"noreferrer",className:"flex items-center space-x-2 text-white text-opacity-50 duration-300 hover:text-opacity-100",children:[e.icon&&m("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:m("img",{src:e.icon,className:"absolute inset-0"})}),m("span",{className:"block ",children:e.title})]})}),zn=({primaryMenu:e,secondaryMenu:t})=>{let[o,i]=Vn(null);return h(Fn,{children:[m("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:h("div",{className:"wrapper grid grid-cols-2 gap-5 sm:gap-x-20 sm:gap-y-10 lg:flex lg:flex-nowrap lg:gap-14",children:[h("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((r,n)=>m(ka,{item:r},n))]}),h("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),m("div",{className:"flex flex-wrap",children:t?.lists?.map((r,n)=>m(ka,{item:r},n))})]}),h("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[h("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),h("div",{className:"mt-2 text-sm md:mt-3",children:[m("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),m("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:mo.Address})]}),h("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Hotline : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Hotline}`,children:V.Support.Hotline_Format}),h("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),h("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Email : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${V.Support.Email}`,children:V.Support.Email})]}),h("div",{className:"mt-1 text-sm",children:[h("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_1}`,children:V.Support.Phone_Ext_1_Format}),m("span",{className:"text-white text-opacity-60",children:" - "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_2}`,children:V.Support.Phone_Ext_2_Format}),m("span",{className:"text-white text-opacity-60",children:" - "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_3}`,children:V.Support.Phone_Ext_3_Format}),m("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),m("div",{className:"mt-3 flex",children:m("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:h("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[m("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:m("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:h("g",{children:[m("title",{children:"Asset 1"}),m("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
125
125
  V56.3C312,38.2,297.5,23.7,279.4,23.7z M226.8,77.1H86.1c-8.1,0-13.5-5.4-13.5-13.5c0-8.1,5.4-13.5,13.5-13.5h140.8
126
126
  c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),m("path",{d:`M189.4,200.7c-14.4,0-25.9,11.6-25.9,25.9v155.7l-17.3-34.6c-14.2-26.3-28.1-23.6-38.9-17.3c-12.5,8.3-17.2,17-8.6,38.9
127
127
  c19.6,48.2,49.8,105.6,82.2,142.7h116.7c41-30.4,74-175,17.3-181.6c-5.2,0-13.5,0.8-17.3,4.3c0-17.3-15.1-21.7-21.6-21.6