@momo-webplatform/mobase 0.2.44 → 0.2.45

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 Rt from"react";import*as ie from"@radix-ui/react-accordion";import{ChevronDownIcon as _n}from"@heroicons/react/20/solid";import*as En from"react";import{twMerge as Fn}from"tailwind-merge";var Re={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 ya={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 Ct=[{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"}],ko=[{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 j={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 r(...e){return Fn(e)}import{jsx as lt,jsxs as Hn}from"react/jsx-runtime";var je=Rt.forwardRef(({className:e,...t},o)=>lt(ie.Root,{ref:o,...t}));je.displayName="AccordionRoot";var Qe=Rt.forwardRef(({className:e,...t},o)=>lt(ie.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));Qe.displayName="AccordionItem";var Ue=Rt.forwardRef(({className:e,children:t,...o},a)=>lt(ie.Header,{className:"flex",children:Hn(ie.Trigger,{ref:a,className:r("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,lt(_n,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));Ue.displayName=ie.Trigger.displayName;var Xe=Rt.forwardRef(({className:e,children:t,...o},a)=>lt(ie.Content,{ref:a,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:lt("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));Xe.displayName=ie.Content.displayName;import*as wa from"react";import{Slot as Vn}from"@radix-ui/react-slot";import{cva as On}from"class-variance-authority";import{jsx as re,jsxs as Bn}from"react/jsx-runtime";var zn=({className:e})=>Bn("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"})]}),Na=zn;import{Fragment as $n,jsx as So,jsxs as Gn}from"react/jsx-runtime";var ve=On("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"}}),ne=wa.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isLoading:i=!1,isDisabled:n=!1,...s},l)=>{let d=a?Vn:"button",p=r(ve({variant:t,size:o,className:e}),{"cursor-wait":i});return So($n,{children:a?So(d,{className:p,type:"button",disabled:n,ref:l,...s,children:s.children}):Gn(d,{className:p,type:"button",disabled:n,ref:l,...s,children:[i&&So(Na,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),s.children]})})});ne.displayName="Button";import*as Tt from"react";import*as I from"@radix-ui/react-dialog";import{XMarkIcon as Wn}from"@heroicons/react/16/solid";import{jsx as Te,jsxs as Do}from"react/jsx-runtime";var qe=I.Root,Ao=I.Trigger,Pa=I.Portal,jn=I.Close,Io=Tt.forwardRef(({className:e,...t},o)=>Te(I.Overlay,{ref:o,className:r("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}));Io.displayName=I.Overlay.displayName;var Le=Tt.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:a="md",position:i="center",height:n="auto",isFull:s=!1,children:l,...d},p)=>{let f={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"},x={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},h={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},L=[f.base,f[i],x[a],h[n],s&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return Do(Pa,{children:[Te(Io,{}),Do(I.Content,{ref:p,className:r(...L),...d,children:[l,!o&&Do(I.Close,{className:r("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:[Te(Wn,{className:"h-5 w-5 text-gray-700"}),Te("span",{className:"sr-only",children:"Close"})]})]})]})});Le.displayName=I.Content.displayName;var Ca=({className:e,...t})=>Te("div",{className:r("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});Ca.displayName="DialogHeader";var Xt=({className:e,isCondensed:t=!1,...o})=>Te("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});Xt.displayName="DialogBody";var Ra=({className:e,isDivider:t=!0,...o})=>Te("div",{className:r("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});Ra.displayName="DialogFooter";var Ta=Tt.forwardRef(({className:e,...t},o)=>Te(I.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));Ta.displayName=I.Title.displayName;var ka=Tt.forwardRef(({className:e,...t},o)=>Te(I.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));ka.displayName=I.Description.displayName;import{QRCodeSVG as Qn}from"qrcode.react";import{Fragment as Mo,jsx as v,jsxs as Q}from"react/jsx-runtime";var Un=({img:e="",children:t,isQrForAll:o})=>Q(Mo,{children:[v("div",{className:"qrcode__scan__container",children:Q("div",{className:"qrcode__scan",children:[v("div",{className:"qrcode__gradient",children:v("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),v("div",{className:"qrcode__border",children:v("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),v("div",{className:"qrcode__image p-4",children:e?v("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),v("div",{className:"mt-4 text-sm text-white",children:o?Q(Mo,{children:[v("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),v("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"})]}):Q(Mo,{children:[v("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:v("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",v("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),v("style",{children:`
1
+ import*as St from"react";import*as ne from"@radix-ui/react-accordion";import{ChevronDownIcon as Xn}from"@heroicons/react/20/solid";import*as Qn from"react";import{twMerge as Un}from"tailwind-merge";var ke={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 Ci={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 kt=[{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"}],Io=[{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 Q={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 r(...e){return Un(e)}import{jsx as dt,jsxs as qn}from"react/jsx-runtime";var Xe=St.forwardRef(({className:e,...t},o)=>dt(ne.Root,{ref:o,...t}));Xe.displayName="AccordionRoot";var qe=St.forwardRef(({className:e,...t},o)=>dt(ne.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));qe.displayName="AccordionItem";var Ze=St.forwardRef(({className:e,children:t,...o},i)=>dt(ne.Header,{className:"flex",children:qn(ne.Trigger,{ref:i,className:r("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,dt(Xn,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));Ze.displayName=ne.Trigger.displayName;var Ke=St.forwardRef(({className:e,children:t,...o},i)=>dt(ne.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:dt("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));Ke.displayName=ne.Content.displayName;import*as Ti from"react";import{Slot as Yn}from"@radix-ui/react-slot";import{cva as Jn}from"class-variance-authority";import{jsx as se,jsxs as Kn}from"react/jsx-runtime";var Zn=({className:e})=>Kn("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[se("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"}),se("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"}),se("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"}),se("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"}),se("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"}),se("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"}),se("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"}),se("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"}),se("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"}),se("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"}),se("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"}),se("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"})]}),Ri=Zn;import{Fragment as ts,jsx as Ao,jsxs as es}from"react/jsx-runtime";var xe=Jn("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"}}),le=Ti.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:a=!1,isDisabled:n=!1,...s},l)=>{let d=i?Yn:"button",p=r(xe({variant:t,size:o,className:e}),{"cursor-wait":a});return Ao(ts,{children:i?Ao(d,{className:p,type:"button",disabled:n,ref:l,...s,children:s.children}):es(d,{className:p,type:"button",disabled:n,ref:l,...s,children:[a&&Ao(Ri,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),s.children]})})});le.displayName="Button";import*as Dt from"react";import*as A from"@radix-ui/react-dialog";import{XMarkIcon as os}from"@heroicons/react/16/solid";import{jsx as Se,jsxs as Lo}from"react/jsx-runtime";var Ye=A.Root,Eo=A.Trigger,ki=A.Portal,is=A.Close,Fo=Dt.forwardRef(({className:e,...t},o)=>Se(A.Overlay,{ref:o,className:r("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}));Fo.displayName=A.Overlay.displayName;var _e=Dt.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:i="md",position:a="center",height:n="auto",isFull:s=!1,children:l,...d},p)=>{let f={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"},h={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"},E=[f.base,f[a],h[i],y[n],s&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return Lo(ki,{children:[Se(Fo,{}),Lo(A.Content,{ref:p,className:r(...E),...d,children:[l,!o&&Lo(A.Close,{className:r("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:[Se(os,{className:"h-5 w-5 text-gray-700"}),Se("span",{className:"sr-only",children:"Close"})]})]})]})});_e.displayName=A.Content.displayName;var Si=({className:e,...t})=>Se("div",{className:r("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});Si.displayName="DialogHeader";var Yt=({className:e,isCondensed:t=!1,...o})=>Se("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});Yt.displayName="DialogBody";var Di=({className:e,isDivider:t=!0,...o})=>Se("div",{className:r("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});Di.displayName="DialogFooter";var Mi=Dt.forwardRef(({className:e,...t},o)=>Se(A.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));Mi.displayName=A.Title.displayName;var Ii=Dt.forwardRef(({className:e,...t},o)=>Se(A.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));Ii.displayName=A.Description.displayName;import{QRCodeSVG as as}from"qrcode.react";import{Fragment as _o,jsx as b,jsxs as U}from"react/jsx-runtime";var rs=({img:e="",children:t,isQrForAll:o})=>U(_o,{children:[b("div",{className:"qrcode__scan__container",children:U("div",{className:"qrcode__scan",children:[b("div",{className:"qrcode__gradient",children:b("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),b("div",{className:"qrcode__border",children:b("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),b("div",{className:"qrcode__image p-4",children:e?b("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),b("div",{className:"mt-4 text-sm text-white",children:o?U(_o,{children:[b("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),b("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"})]}):U(_o,{children:[b("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:b("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",b("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),b("style",{children:`
2
2
  .qrcode__scan__container {
3
3
  padding: 15px;
4
4
  background-color: white;
@@ -67,7 +67,7 @@ import*as Rt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
67
67
  transform: translate3d(0, 30%, 0);
68
68
  }
69
69
  }
70
- `})]}),Ze=({className:e,children:t,title:o,shortTitle:a,qrImage:i,qrLink:n,logoQr:s,isQrForAll:l=!1,...d})=>v(qe,{...d,children:v(Le,{className:r("md:max-w-2xl lg:max-w-3xl h-auto md:max-h-screen max-h-screen overflow-hidden [&>button>svg]:text-white border-0",e),size:"xl",positionRightCloseBtn:!0,children:v(Xt,{className:"p-0",children:Q("div",{className:"flex flex-row flex-wrap",children:[v("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||Q("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[Q("div",{className:"flex flex-nowrap items-center",children:[v("div",{className:"flex-none",children:v("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),Q("div",{className:"flex-1 pl-4",children:[v("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),v("div",{className:"mt-1 text-gray-500 ",children:l?"M\u1EDF app MoMo ho\u1EB7c \u1EE9ng d\u1EE5ng ng\xE2n h\xE0ng/v\xED \u0111i\u1EC7n t\u1EED ch\u1EA5p nh\u1EADn m\xE3 v\u1EA1ch t\u1EEB QR \u0110a N\u0103ng":"M\u1EDF \u1EE9ng d\u1EE5ng camera m\u1EB7c \u0111\u1ECBnh ho\u1EB7c \u1EE9ng d\u1EE5ng h\u1ED7 tr\u1EE3 QR code c\u1EE7a b\u1EA1n"})]})]}),Q("div",{className:"flex flex-nowrap items-center",children:[v("div",{className:"flex-none",children:v("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),Q("div",{className:"flex-1 pl-4",children:[v("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),v("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),Q("div",{className:"flex flex-nowrap items-center",children:[v("div",{className:"flex-none",children:v("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),Q("div",{className:"flex-1 pl-4",children:[v("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),Q("div",{className:"mt-1 text-gray-500 ",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c"," ",a||"Truy c\u1EADp ngay"]})]})]})]})}),v("div",{className:"flex w-full items-center justify-center md:w-7/12 h-auto",style:{background:"url(https://homepage.momocdn.net/jk/momo2020/img/intro/qrcode-pattern.png) 10px 10px no-repeat,linear-gradient(to top,#c1177c,#e11b90)"},children:Q("div",{className:"px-5 py-10 text-center",children:[o&&v("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),Q("div",{className:"relative",children:[l&&v("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:v("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),v(Un,{img:i,isQrForAll:l,children:n&&v(Qn,{value:n,size:215,imageSettings:{src:`${s||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import{useState as es}from"react";import{useEffect as Xn,useLayoutEffect as qn,useState as Zn}from"react";import Kn from"ua-parser-js";var Yn=()=>Kn().device.type==="mobile",Jn=typeof window<"u"?qn:Xn,Sa=()=>{let[e,t]=Zn(!1);return Jn(()=>{t(Yn())},[]),e};import{Fragment as ts,jsx as qt,jsxs as os}from"react/jsx-runtime";var kt=({action:e,newTab:t,offset:o,dialogQrProps:a,className:i,children:n,...s})=>{let[l,d]=es(!1),p=Sa(),f=!!a?.qrLink,x=()=>{let z=f?a?.qrLink:e;return typeof z=="string"?z.trim():""},h=()=>{let z=x();!z&&typeof e!="function"||(typeof e=="function"?e():window.open(z,t?"_blank":"_self"))},L=(z,B=0)=>{let k=document.querySelector(z);if(!k)return;let We=k.getBoundingClientRect().top+window.scrollY-B;window.scrollTo({top:We,behavior:"smooth"})},H=()=>{typeof e=="string"&&e.startsWith("#")?L(e,o):h()},_=()=>os(ts,{children:[qt(ne,{...s,className:i,onClick:()=>d(!0),"data-name":"button-action-with-qr",children:n}),qt(Ze,{...a,open:l,onOpenChange:()=>d(!1),qrLink:a?.qrLink||""})]});return f?p?a?.isQrForAll?_():qt(ne,{...s,className:i,onClick:h,"data-name":"button-action-with-qr",children:n}):_():qt(ne,{...s,onClick:H,className:r("cursor-pointer",i),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};import*as mt from"react";import{ChevronRightIcon as as,DotsHorizontalIcon as is}from"@radix-ui/react-icons";import{Slot as rs}from"@radix-ui/react-slot";import{jsx as ke,jsxs as ns}from"react/jsx-runtime";var Da=mt.forwardRef(({className:e,...t},o)=>ke("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));Da.displayName="Breadcrumb";var Aa=mt.forwardRef(({className:e,...t},o)=>ke("ol",{ref:o,className:r("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));Aa.displayName="BreadcrumbList";var Ia=mt.forwardRef(({className:e,...t},o)=>ke("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));Ia.displayName="BreadcrumbItem";var Ma=mt.forwardRef(({asChild:e,className:t,...o},a)=>ke(e?rs:"a",{ref:a,className:r("transition-colors hover:text-foreground",t),...o}));Ma.displayName="BreadcrumbLink";var La=mt.forwardRef(({className:e,...t},o)=>ke("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:r("text-sm text-gray-500",e),...t}));La.displayName="BreadcrumbPage";var Ea=({children:e,className:t,...o})=>ke("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??ke(as,{className:"w-2 h-2"})});Ea.displayName="BreadcrumbSeparator";var Fa=({className:e,...t})=>ns("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[ke(is,{className:"w-4 h-4 text-gray-900"}),ke("span",{className:"sr-only",children:"More"})]});Fa.displayName="BreadcrumbElipssis";import*as Kt from"react";import{enUS as cs,vi as ds}from"date-fns/locale";import{DayPicker as ps}from"react-day-picker";import{ChevronLeft as fs,ChevronRight as gs}from"lucide-react";import us from"lunisolar";import*as _a from"react";import*as St from"@radix-ui/react-checkbox";import{CheckIcon as ss}from"@heroicons/react/16/solid";import{cva as Ha}from"class-variance-authority";import{jsx as Lo}from"react/jsx-runtime";var ls=Ha("peer 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",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),ms=Ha("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Zt=_a.forwardRef(({className:e,size:t,...o},a)=>Lo(St.Root,{ref:a,className:r(ls({size:t}),e),...o,children:Lo(St.Indicator,{className:r("flex items-center justify-center text-current"),children:Lo(ss,{className:r(ms({size:t}))})})}));Zt.displayName=St.Root.displayName;import{Fragment as ys,jsx as be,jsxs as Eo}from"react/jsx-runtime";var vs=({date:e,cusContent:t})=>{let o=null;return o=us(e).lunar,Eo(ys,{children:[t?t(e):e.getDate(),o&&be("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none luna-date hidden group-[.show-luna]:block",children:o.day})]})},bs={formatCaption:e=>`Th\xE1ng ${e.getMonth()+1}/${e.getFullYear()}`,formatWeekdayName:e=>{let t=e.getDay();return["CN","T2","T3","T4","T5","T6","T7"][t]}};function xs({isShow:e,setIsShow:t,lang:o}){let a=Kt.useId();return be("div",{className:"w-full p-3 pt-0",children:Eo("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[be(Zt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:i=>{typeof i=="boolean"&&t(i)}}),be("label",{htmlFor:`check-show-luna-${a}`,className:"text-sm text-gray-900 peer-disabled:text-gray-400 leading-none peer-disabled:cursor-default cursor-pointer",children:o==="vi"?"Hi\u1EC7n ng\xE0y \xE2m l\u1ECBch":"Show lunar date"})]})})}var hs=e=>e.getDay()===0||e.getDay()===6;function Yt({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:a=!1,lang:i="vi",cusContentDay:n,...s}){let[l,d]=Kt.useState(!0);return be(ps,{locale:i==="vi"?ds:cs,showOutsideDays:o,className:r("border border-gray-200 rounded-b-md b bg-white shadow-md w-fit",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-y-0",month:"p-3 pt-0 w-full",caption:"flex justify-center p-3 bg-blue-50 relative items-center -mx-3 mb-3",caption_label:"text-sm font-medium text-gray-900",nav:"space-x-1 flex items-center",nav_button:r(ve({variant:"transparent"}),"h-7 w-7 p-0 text-gray-900 hover:bg-transparent hover:opacity-70"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse",head_row:"flex space-x-0.5",head_cell:r("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:!text-red-600",i==="vi"?"[&:nth-child(6)]:!text-red-600":"[&:nth-child(1)]:!text-red-600"),row:"flex w-full mt-0.5 space-x-0.5",cell:"h-11 w-11 text-center text-sm p-0 relative border-none",day:r(ve({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:[&:not(.day-range-middle)]:bg-pink-500 aria-selected:[&:not(.day-range-middle)]:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",a&&l&&"show-luna"),day_range_end:"day-range-end [&.day-range-end]:rounded-l-none",day_range_start:"day-range-start [&.day-range-start]:rounded-r-none",day_today:"day-today [&:not([aria-selected])]:text-pink-500 [&:not([aria-selected])]:border-gray-200",day_outside:"day-outside opacity-50 aria-selected:bg-accent/50 aria-selected:opacity-30",day_disabled:"opacity-50",day_range_middle:r("text-gray-900 !bg-pink-50 !rounded-none group/mid [&:nth-child(7)]:!text-red-600 day-range-middle",i==="vi"?"[&:nth-child(6)]:!text-red-600":"[&:nth-child(1)]:!text-red-600"),day_hidden:"invisible",...t},modifiers:{weekend:hs},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>be(fs,{className:"h-6 w-6"}),IconRight:()=>be(gs,{className:"h-6 w-6"}),DayContent:p=>be(vs,{date:p.date,cusContent:n}),Months:({children:p})=>Eo("div",{className:"w-full",children:[be("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:p}),a&&be(xs,{isShow:l,setIsShow:d,lang:i})]})},formatters:i==="vi"?bs:{},...s})}Yt.displayName="Calendar";import*as M from"react";import Cs from"embla-carousel-react";import{ChevronLeftIcon as Rs,ChevronRightIcon as Ts}from"@heroicons/react/16/solid";import*as za from"react";import{Slot as Ns}from"@radix-ui/react-slot";import{cva as ws}from"class-variance-authority";import{jsx as Ps}from"react/jsx-runtime";var Ke=ws("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 w-10",sm:"h-8 w-8 text-sm",lg:"h-12 w-12 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),Ee=za.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let l=a?Ns:"button",d=r(Ke({variant:t,size:o,className:e}));return Ps(l,{className:d,disabled:i,ref:s,...n,children:n.children})});Ee.displayName="IconButton";import{jsx as Se,jsxs as Va}from"react/jsx-runtime";var Ba=M.createContext(null);function Jt(){let e=M.useContext(Ba);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}var eo=M.forwardRef(({orientation:e="horizontal",opts:t,setApi:o,plugins:a,className:i,children:n,...s},l)=>{let[d,p]=Cs({...t,axis:e==="horizontal"?"x":"y"},a),[f,x]=M.useState(!1),[h,L]=M.useState(!1),H=M.useCallback(B=>{B&&(x(B.canScrollPrev()),L(B.canScrollNext()))},[]),_=M.useCallback(()=>{p?.scrollPrev()},[p]),W=M.useCallback(()=>{p?.scrollNext()},[p]),z=M.useCallback(B=>{B.key==="ArrowLeft"?(B.preventDefault(),_()):B.key==="ArrowRight"&&(B.preventDefault(),W())},[_,W]);return M.useEffect(()=>{!p||!o||o(p)},[p,o]),M.useEffect(()=>{if(p)return H(p),p.on("reInit",H),p.on("select",H),()=>{p?.off("select",H)}},[p,H]),Se(Ba.Provider,{value:{carouselRef:d,api:p,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:_,scrollNext:W,canScrollPrev:f,canScrollNext:h},children:Se("div",{ref:l,onKeyDownCapture:z,className:r("relative",i),role:"region","aria-roledescription":"carousel",...s,children:n})})});eo.displayName="Carousel";var to=M.forwardRef(({className:e,...t},o)=>{let{carouselRef:a,orientation:i}=Jt();return Se("div",{ref:a,className:"overflow-hidden",children:Se("div",{ref:o,className:r("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});to.displayName="CarouselContent";var oo=M.forwardRef(({className:e,...t},o)=>{let{orientation:a}=Jt();return Se("div",{ref:o,role:"group","aria-roledescription":"slide",className:r("min-w-0 shrink-0 grow-0 basis-full",a==="horizontal"?"pl-4":"pt-4",e),...t})});oo.displayName="CarouselItem";var ao=M.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollPrev:s,canScrollPrev:l}=Jt();return Va(Ee,{ref:i,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:s,...a,children:[Se(Rs,{className:"h-6 w-6"}),Se("span",{className:"sr-only",children:"Previous slide"})]})});ao.displayName="CarouselPrevious";var io=M.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollNext:s,canScrollNext:l}=Jt();return Va(Ee,{ref:i,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:s,...a,children:[Se(Ts,{className:"h-6 w-6"}),Se("span",{className:"sr-only",children:"Next slide"})]})});io.displayName="CarouselNext";import*as Ga from"react";import*as De from"@radix-ui/react-popover";import{jsx as Oa}from"react/jsx-runtime";var Dt=De.Root,At=De.Trigger,ct=Ga.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>Oa(De.Portal,{children:Oa(De.Content,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));ct.displayName=De.Content.displayName;import{format as ro}from"date-fns";import{Calendar as ks}from"lucide-react";import{QuestionMarkCircleIcon as Ss,XCircleIcon as Ds}from"@heroicons/react/16/solid";import{Fragment as $a,jsx as xe,jsxs as It}from"react/jsx-runtime";var As=({label:e,placeholder:t="Select a value",size:o=1,message:a,isError:i,disabled:n,dateFormat:s="dd/MM/yyyy",buttonProps:l,popoverProps:d,calendarProps:p})=>{let f=p?.selected||null;return It("div",{children:[It(Dt,{...d,children:[xe(At,{asChild:!0,children:It(ne,{variant:"secondary",className:r("w-full justify-between text-left text-sm font-normal h-11 text-gray-900 overflow-visible hover:ring-1 focus:ring-1 hover:ring-gray-400 focus:ring-gray-400 [&[data-state=open]]:border-pink-500 [&[data-state=open]]:ring-pink-500 [&[data-state=open]]:ring-1 relative disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none disabled:text-gray-500",o===2&&"h-12 text-base",(!f||!(f instanceof Date)&&typeof f=="object"&&(!("from"in f)||!f.from))&&"text-gray-500",i&&"border-red-500 ring-red-500 ring-1"),disabled:n,...l,children:[xe("span",{className:"line-clamp-1 flex-1",children:f instanceof Date?ro(f,s):f&&typeof f=="object"&&"from"in f&&"to"in f?xe($a,{children:f.from?f.to?It($a,{children:[ro(f.from,s)," -"," ",ro(f.to,s)]}):ro(f.from,s):t}):t}),e&&xe("span",{className:r("absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",o===2&&" -top-2.5 text-sm",i&&"text-red-500"),children:e}),xe(ks,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),xe(ct,{className:"w-auto !p-0 border-none",children:xe(Yt,{...p})})]}),a&&It("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[i?xe(Ds,{width:16,height:16,className:"text-red-500"}):xe(Ss,{width:16,height:16,className:"text-gray-500"}),xe("span",{className:r(i?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:a})]})]})};import*as Ye from"react";import*as C from"@radix-ui/react-alert-dialog";import{jsx as Ae,jsxs as Ls}from"react/jsx-runtime";var Is=C.Root,Ms=C.Trigger,Wa=C.Portal,Fo=Ye.forwardRef(({className:e,...t},o)=>Ae(C.Overlay,{className:r("fixed inset-0 z-50 bg-black/70 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Fo.displayName=C.Overlay.displayName;var ja=Ye.forwardRef(({className:e,...t},o)=>Ls(Wa,{children:[Ae(Fo,{}),Ae(C.Content,{ref:o,className:r("fixed left-[50%] w-[90vw] bg-white text-gray-700 border border-gray-300 top-[50%] z-50 grid w- max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 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%] rounded-xl",e),...t})]}));ja.displayName=C.Content.displayName;var Qa=({className:e,...t})=>Ae("div",{className:r("flex flex-col space-y-2 text-left",e),...t});Qa.displayName="AlertDialogHeader";var Ua=({className:e,...t})=>Ae("div",{className:r("flex flex-row justify-end space-x-4",e),...t});Ua.displayName="AlertDialogFooter";var Xa=Ye.forwardRef(({className:e,...t},o)=>Ae(C.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));Xa.displayName=C.Title.displayName;var qa=Ye.forwardRef(({className:e,...t},o)=>Ae(C.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));qa.displayName=C.Description.displayName;var Za=Ye.forwardRef(({className:e,...t},o)=>Ae(C.Action,{ref:o,className:r(ve({variant:"primary"}),"",e),...t}));Za.displayName=C.Action.displayName;var Ka=Ye.forwardRef(({className:e,...t},o)=>Ae(C.Cancel,{ref:o,className:r(ve({variant:"secondary"}),e),...t}));Ka.displayName=C.Cancel.displayName;import{createContext as Es,useContext as Ya}from"react";import{jsx as Mt}from"react/jsx-runtime";var _o=Es({align:"center"}),Ho=({color:e="pink",size:t="small",isTruncated:o=!1,className:a,children:i})=>{let n={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},s={small:"text-sm",large:"text-lg"};return Mt("div",{className:r("mb-1 font-semibold",n[e],s[t],o&&"truncate",a),children:i})},zo=({tagHeading:e="h2",size:t="small",color:o="pink",isTruncated:a=!1,className:i,children:n})=>{let s=e,l={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},d={small:"lg:text-3xl text-2xl",large:"lg:text-4xl md:text-3xl text-2xl"},{align:p}=Ya(_o);return Mt(s,{className:r("font-bold max-w-4xl",p==="center"?"mx-auto":p==="right"?"ml-auto":"",l[o],d[t],a&&"truncate","text-balance md:text-wrap",i),children:n})},Bo=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:a=!1,className:i,children:n})=>{let s={regular:"text-gray-500",white:"text-white/80"},l={small:"md:text-base text-sm",large:"md:text-lg text-base"},d={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:p}=Ya(_o);return Mt("div",{className:r(p==="center"?"mx-auto max-w-2xl":p==="right"?"max-w-4xl ml-auto":"max-w-4xl",s[e],l[t],d[o],a&&"truncate",i),children:n})},Vo=({className:e,align:t="center",children:o})=>Mt("div",{className:r("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:Mt(_o.Provider,{value:{align:t},children:o})});import{ChevronLeft as Fs,ChevronRight as _s}from"lucide-react";import{Fragment as Hs,jsx as se,jsxs as Ja}from"react/jsx-runtime";function ei({current:e,total:t,onChange:o}){let a=i=>se("li",{children:se("button",{className:r(Ke({variant:e===i?"outline":"secondary",size:"sm"})),onClick:()=>o(i),children:i})},i);return se("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:Ja("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&se("li",{children:se("button",{className:r(Ke({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:se(Fs,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((i,n)=>a(n+1)):Ja(Hs,{children:[a(1),e===1&&[a(2),a(3)],e>3&&se("li",{children:se("button",{className:r(Ke({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&a(e-1),e>1&&e<t&&a(e),e<t-1&&e!==1&&a(e+1),e===t&&[a(t-2),a(t-1)],e<t-2&&e!==t&&se("button",{className:r(Ke({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),a(t)]}),t>1&&se("li",{children:se("button",{className:r(Ke({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:se(_s,{className:"h-4 w-4"})})})]})})}import*as no from"react";import*as fe from"@radix-ui/react-tabs";import{jsx as Oo}from"react/jsx-runtime";var Lt=fe.Root,dt=no.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...a},i)=>Oo(fe.List,{ref:i,className:r("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${t}`,o&&"border-b border-gray-200",e),...a}));dt.displayName=fe.List.displayName;var pt=no.forwardRef(({className:e,...t},o)=>Oo(fe.Trigger,{ref:o,className:r("inline-flex items-center justify-center whitespace-nowrap py-3 font-semibold ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border-b-2 border-transparent data-[state=active]:text-pink-500 data-[state=active]:border-pink-500 text-gray-900 hover:text-pink-500",e),...t}));pt.displayName=fe.Trigger.displayName;var ft=no.forwardRef(({className:e,...t},o)=>Oo(fe.Content,{ref:o,className:r("mt-3 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 text-gray-900",e),...t}));ft.displayName=fe.Content.displayName;import{forwardRef as zs}from"react";import{QuestionMarkCircleIcon as Bs}from"@heroicons/react/24/outline";import{XCircleIcon as Vs}from"@heroicons/react/24/solid";import{jsx as gt,jsxs as ti}from"react/jsx-runtime";var Os=zs(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,size:s,rows:l=3,...d},p)=>ti("div",{className:r("relative",i,t&&"mobase-text-area-error"),children:[a&&gt("span",{className:r("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",s===2&&" -top-2.5 text-sm"),children:a}),gt("textarea",{disabled:e,ref:p,className:r("mobase-text-area-box bg-white w-full text-sm transition-all rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 outline-none block",s===2&&"text-base",n),rows:l,...d}),o&&ti("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?gt(Vs,{width:16,height:16,className:"text-red-500"}):gt(Bs,{width:16,height:16,className:"text-gray-500"}),gt("span",{className:r("text-gray-500 ",s===2?"text-sm":"text-xs"),children:o})]}),gt("style",{children:`
70
+ `})]}),Je=({className:e,children:t,title:o,shortTitle:i,qrImage:a,qrLink:n,logoQr:s,isQrForAll:l=!1,...d})=>b(Ye,{...d,children:b(_e,{className:r("md:max-w-2xl lg:max-w-3xl h-auto md:max-h-screen max-h-screen overflow-hidden [&>button>svg]:text-white border-0",e),size:"xl",positionRightCloseBtn:!0,children:b(Yt,{className:"p-0",children:U("div",{className:"flex flex-row flex-wrap",children:[b("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||U("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[U("div",{className:"flex flex-nowrap items-center",children:[b("div",{className:"flex-none",children:b("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),U("div",{className:"flex-1 pl-4",children:[b("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),b("div",{className:"mt-1 text-gray-500 ",children:l?"M\u1EDF app MoMo ho\u1EB7c \u1EE9ng d\u1EE5ng ng\xE2n h\xE0ng/v\xED \u0111i\u1EC7n t\u1EED ch\u1EA5p nh\u1EADn m\xE3 v\u1EA1ch t\u1EEB QR \u0110a N\u0103ng":"M\u1EDF \u1EE9ng d\u1EE5ng camera m\u1EB7c \u0111\u1ECBnh ho\u1EB7c \u1EE9ng d\u1EE5ng h\u1ED7 tr\u1EE3 QR code c\u1EE7a b\u1EA1n"})]})]}),U("div",{className:"flex flex-nowrap items-center",children:[b("div",{className:"flex-none",children:b("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),U("div",{className:"flex-1 pl-4",children:[b("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),b("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),U("div",{className:"flex flex-nowrap items-center",children:[b("div",{className:"flex-none",children:b("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),U("div",{className:"flex-1 pl-4",children:[b("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),U("div",{className:"mt-1 text-gray-500 ",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c"," ",i||"Truy c\u1EADp ngay"]})]})]})]})}),b("div",{className:"flex w-full items-center justify-center md:w-7/12 h-auto",style:{background:"url(https://homepage.momocdn.net/jk/momo2020/img/intro/qrcode-pattern.png) 10px 10px no-repeat,linear-gradient(to top,#c1177c,#e11b90)"},children:U("div",{className:"px-5 py-10 text-center",children:[o&&b("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),U("div",{className:"relative",children:[l&&b("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:b("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),b(rs,{img:a,isQrForAll:l,children:n&&b(as,{value:n,size:215,imageSettings:{src:`${s||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import{useState as ps}from"react";import{useEffect as ns,useLayoutEffect as ss,useState as ls}from"react";import ms from"ua-parser-js";var cs=()=>ms().device.type==="mobile",ds=typeof window<"u"?ss:ns,Ai=()=>{let[e,t]=ls(!1);return ds(()=>{t(cs())},[]),e};import{Fragment as fs,jsx as Jt,jsxs as gs}from"react/jsx-runtime";var Mt=({action:e,newTab:t,offset:o,dialogQrProps:i,className:a,children:n,...s})=>{let[l,d]=ps(!1),p=Ai(),f=!!i?.qrLink,h=()=>{let B=f?i?.qrLink:e;return typeof B=="string"?B.trim():""},y=()=>{let B=h();!B&&typeof e!="function"||(typeof e=="function"?e():window.open(B,t?"_blank":"_self"))},E=(B,V=0)=>{let S=document.querySelector(B);if(!S)return;let Ue=S.getBoundingClientRect().top+window.scrollY-V;window.scrollTo({top:Ue,behavior:"smooth"})},z=()=>{typeof e=="string"&&e.startsWith("#")?E(e,o):y()},H=()=>gs(fs,{children:[Jt(le,{...s,className:a,onClick:()=>d(!0),"data-name":"button-action-with-qr",children:n}),Jt(Je,{...i,open:l,onOpenChange:()=>d(!1),qrLink:i?.qrLink||""})]});return f?p?i?.isQrForAll?H():Jt(le,{...s,className:a,onClick:y,"data-name":"button-action-with-qr",children:n}):H():Jt(le,{...s,onClick:z,className:r("cursor-pointer",a),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};import*as pt from"react";import{ChevronRightIcon as us,DotsHorizontalIcon as vs}from"@radix-ui/react-icons";import{Slot as bs}from"@radix-ui/react-slot";import{jsx as De,jsxs as xs}from"react/jsx-runtime";var Li=pt.forwardRef(({className:e,...t},o)=>De("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));Li.displayName="Breadcrumb";var Ei=pt.forwardRef(({className:e,...t},o)=>De("ol",{ref:o,className:r("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));Ei.displayName="BreadcrumbList";var Fi=pt.forwardRef(({className:e,...t},o)=>De("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));Fi.displayName="BreadcrumbItem";var _i=pt.forwardRef(({asChild:e,className:t,...o},i)=>De(e?bs:"a",{ref:i,className:r("transition-colors hover:text-foreground",t),...o}));_i.displayName="BreadcrumbLink";var Hi=pt.forwardRef(({className:e,...t},o)=>De("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:r("text-sm text-gray-500",e),...t}));Hi.displayName="BreadcrumbPage";var zi=({children:e,className:t,...o})=>De("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??De(us,{className:"w-2 h-2"})});zi.displayName="BreadcrumbSeparator";var Bi=({className:e,...t})=>xs("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[De(vs,{className:"w-4 h-4 text-gray-900"}),De("span",{className:"sr-only",children:"More"})]});Bi.displayName="BreadcrumbElipssis";import*as to from"react";import{enUS as Ns,vi as Ps}from"date-fns/locale";import{DayPicker as Cs}from"react-day-picker";import{ChevronLeft as Rs,ChevronRight as Ts}from"lucide-react";import ks from"lunisolar";import*as Vi from"react";import*as It from"@radix-ui/react-checkbox";import{CheckIcon as hs}from"@heroicons/react/16/solid";import{cva as Oi}from"class-variance-authority";import{jsx as Ho}from"react/jsx-runtime";var ys=Oi("peer 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",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),ws=Oi("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),eo=Vi.forwardRef(({className:e,size:t,...o},i)=>Ho(It.Root,{ref:i,className:r(ys({size:t}),e),...o,children:Ho(It.Indicator,{className:r("flex items-center justify-center text-current"),children:Ho(hs,{className:r(ws({size:t}))})})}));eo.displayName=It.Root.displayName;import{Fragment as As,jsx as he,jsxs as zo}from"react/jsx-runtime";var Ss=({date:e,cusContent:t})=>{let o=null;return o=ks(e).lunar,zo(As,{children:[t?t(e):e.getDate(),o&&he("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none luna-date hidden group-[.show-luna]:block",children:o.day})]})},Ds={formatCaption:e=>`Th\xE1ng ${e.getMonth()+1}/${e.getFullYear()}`,formatWeekdayName:e=>{let t=e.getDay();return["CN","T2","T3","T4","T5","T6","T7"][t]}};function Ms({isShow:e,setIsShow:t,lang:o}){let i=to.useId();return he("div",{className:"w-full p-3 pt-0",children:zo("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[he(eo,{checked:e,id:`check-show-luna-${i}`,onCheckedChange:a=>{typeof a=="boolean"&&t(a)}}),he("label",{htmlFor:`check-show-luna-${i}`,className:"text-sm text-gray-900 peer-disabled:text-gray-400 leading-none peer-disabled:cursor-default cursor-pointer",children:o==="vi"?"Hi\u1EC7n ng\xE0y \xE2m l\u1ECBch":"Show lunar date"})]})})}var Is=e=>e.getDay()===0||e.getDay()===6;function oo({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:i=!1,lang:a="vi",cusContentDay:n,...s}){let[l,d]=to.useState(!0);return he(Cs,{locale:a==="vi"?Ps:Ns,showOutsideDays:o,className:r("border border-gray-200 rounded-b-md b bg-white shadow-md w-fit",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-y-0",month:"p-3 pt-0 w-full",caption:"flex justify-center p-3 bg-blue-50 relative items-center -mx-3 mb-3",caption_label:"text-sm font-medium text-gray-900",nav:"space-x-1 flex items-center",nav_button:r(xe({variant:"transparent"}),"h-7 w-7 p-0 text-gray-900 hover:bg-transparent hover:opacity-70"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse",head_row:"flex space-x-0.5",head_cell:r("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:!text-red-600",a==="vi"?"[&:nth-child(6)]:!text-red-600":"[&:nth-child(1)]:!text-red-600"),row:"flex w-full mt-0.5 space-x-0.5",cell:"h-11 w-11 text-center text-sm p-0 relative border-none",day:r(xe({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:[&:not(.day-range-middle)]:bg-pink-500 aria-selected:[&:not(.day-range-middle)]:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",i&&l&&"show-luna"),day_range_end:"day-range-end [&.day-range-end]:rounded-l-none",day_range_start:"day-range-start [&.day-range-start]:rounded-r-none",day_today:"day-today [&:not([aria-selected])]:text-pink-500 [&:not([aria-selected])]:border-gray-200",day_outside:"day-outside opacity-50 aria-selected:bg-accent/50 aria-selected:opacity-30",day_disabled:"opacity-50",day_range_middle:r("text-gray-900 !bg-pink-50 !rounded-none group/mid [&:nth-child(7)]:!text-red-600 day-range-middle",a==="vi"?"[&:nth-child(6)]:!text-red-600":"[&:nth-child(1)]:!text-red-600"),day_hidden:"invisible",...t},modifiers:{weekend:Is},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>he(Rs,{className:"h-6 w-6"}),IconRight:()=>he(Ts,{className:"h-6 w-6"}),DayContent:p=>he(Ss,{date:p.date,cusContent:n}),Months:({children:p})=>zo("div",{className:"w-full",children:[he("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:p}),i&&he(Ms,{isShow:l,setIsShow:d,lang:a})]})},formatters:a==="vi"?Ds:{},...s})}oo.displayName="Calendar";import*as L from"react";import _s from"embla-carousel-react";import{ChevronLeftIcon as Hs,ChevronRightIcon as zs}from"@heroicons/react/16/solid";import*as Gi from"react";import{Slot as Ls}from"@radix-ui/react-slot";import{cva as Es}from"class-variance-authority";import{jsx as Fs}from"react/jsx-runtime";var et=Es("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 w-10",sm:"h-8 w-8 text-sm",lg:"h-12 w-12 text-base"}},defaultVariants:{variant:"primary",size:"default"}}),He=Gi.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isDisabled:a=!1,...n},s)=>{let l=i?Ls:"button",d=r(et({variant:t,size:o,className:e}));return Fs(l,{className:d,disabled:a,ref:s,...n,children:n.children})});He.displayName="IconButton";import{jsx as Me,jsxs as $i}from"react/jsx-runtime";var Wi=L.createContext(null);function io(){let e=L.useContext(Wi);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}var ao=L.forwardRef(({orientation:e="horizontal",opts:t,setApi:o,plugins:i,className:a,children:n,...s},l)=>{let[d,p]=_s({...t,axis:e==="horizontal"?"x":"y"},i),[f,h]=L.useState(!1),[y,E]=L.useState(!1),z=L.useCallback(V=>{V&&(h(V.canScrollPrev()),E(V.canScrollNext()))},[]),H=L.useCallback(()=>{p?.scrollPrev()},[p]),j=L.useCallback(()=>{p?.scrollNext()},[p]),B=L.useCallback(V=>{V.key==="ArrowLeft"?(V.preventDefault(),H()):V.key==="ArrowRight"&&(V.preventDefault(),j())},[H,j]);return L.useEffect(()=>{!p||!o||o(p)},[p,o]),L.useEffect(()=>{if(p)return z(p),p.on("reInit",z),p.on("select",z),()=>{p?.off("select",z)}},[p,z]),Me(Wi.Provider,{value:{carouselRef:d,api:p,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:H,scrollNext:j,canScrollPrev:f,canScrollNext:y},children:Me("div",{ref:l,onKeyDownCapture:B,className:r("relative",a),role:"region","aria-roledescription":"carousel",...s,children:n})})});ao.displayName="Carousel";var ro=L.forwardRef(({className:e,...t},o)=>{let{carouselRef:i,orientation:a}=io();return Me("div",{ref:i,className:"overflow-hidden",children:Me("div",{ref:o,className:r("flex",a==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});ro.displayName="CarouselContent";var no=L.forwardRef(({className:e,...t},o)=>{let{orientation:i}=io();return Me("div",{ref:o,role:"group","aria-roledescription":"slide",className:r("min-w-0 shrink-0 grow-0 basis-full",i==="horizontal"?"pl-4":"pt-4",e),...t})});no.displayName="CarouselItem";var so=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...i},a)=>{let{orientation:n,scrollPrev:s,canScrollPrev:l}=io();return $i(He,{ref:a,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:s,...i,children:[Me(Hs,{className:"h-6 w-6"}),Me("span",{className:"sr-only",children:"Previous slide"})]})});so.displayName="CarouselPrevious";var lo=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...i},a)=>{let{orientation:n,scrollNext:s,canScrollNext:l}=io();return $i(He,{ref:a,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:s,...i,children:[Me(zs,{className:"h-6 w-6"}),Me("span",{className:"sr-only",children:"Next slide"})]})});lo.displayName="CarouselNext";import*as Qi from"react";import*as Ie from"@radix-ui/react-popover";import{jsx as ji}from"react/jsx-runtime";var At=Ie.Root,Lt=Ie.Trigger,ft=Qi.forwardRef(({className:e,align:t="center",sideOffset:o=4,...i},a)=>ji(Ie.Portal,{children:ji(Ie.Content,{ref:a,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 shadow-small outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...i})}));ft.displayName=Ie.Content.displayName;import{format as mo}from"date-fns";import{Calendar as Bs}from"lucide-react";import{QuestionMarkCircleIcon as Vs,XCircleIcon as Os}from"@heroicons/react/16/solid";import{Fragment as Ui,jsx as ye,jsxs as Et}from"react/jsx-runtime";var Gs=({label:e,placeholder:t="Select a value",size:o=1,message:i,isError:a,disabled:n,dateFormat:s="dd/MM/yyyy",buttonProps:l,popoverProps:d,calendarProps:p})=>{let f=p?.selected||null;return Et("div",{children:[Et(At,{...d,children:[ye(Lt,{asChild:!0,children:Et(le,{variant:"secondary",className:r("w-full justify-between text-left text-sm font-normal h-11 text-gray-900 overflow-visible hover:ring-1 focus:ring-1 hover:ring-gray-400 focus:ring-gray-400 [&[data-state=open]]:border-pink-500 [&[data-state=open]]:ring-pink-500 [&[data-state=open]]:ring-1 relative disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none disabled:text-gray-500",o===2&&"h-12 text-base",(!f||!(f instanceof Date)&&typeof f=="object"&&(!("from"in f)||!f.from))&&"text-gray-500",a&&"border-red-500 ring-red-500 ring-1"),disabled:n,...l,children:[ye("span",{className:"line-clamp-1 flex-1",children:f instanceof Date?mo(f,s):f&&typeof f=="object"&&"from"in f&&"to"in f?ye(Ui,{children:f.from?f.to?Et(Ui,{children:[mo(f.from,s)," -"," ",mo(f.to,s)]}):mo(f.from,s):t}):t}),e&&ye("span",{className:r("absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",o===2&&" -top-2.5 text-sm",a&&"text-red-500"),children:e}),ye(Bs,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),ye(ft,{className:"w-auto !p-0 border-none",children:ye(oo,{...p})})]}),i&&Et("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[a?ye(Os,{width:16,height:16,className:"text-red-500"}):ye(Vs,{width:16,height:16,className:"text-gray-500"}),ye("span",{className:r(a?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:i})]})]})};import*as tt from"react";import*as R from"@radix-ui/react-alert-dialog";import{jsx as Ae,jsxs as js}from"react/jsx-runtime";var Ws=R.Root,$s=R.Trigger,Xi=R.Portal,Bo=tt.forwardRef(({className:e,...t},o)=>Ae(R.Overlay,{className:r("fixed inset-0 z-50 bg-black/70 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Bo.displayName=R.Overlay.displayName;var qi=tt.forwardRef(({className:e,...t},o)=>js(Xi,{children:[Ae(Bo,{}),Ae(R.Content,{ref:o,className:r("fixed left-[50%] w-[90vw] bg-white text-gray-700 border border-gray-300 top-[50%] z-50 grid w- max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 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%] rounded-xl",e),...t})]}));qi.displayName=R.Content.displayName;var Zi=({className:e,...t})=>Ae("div",{className:r("flex flex-col space-y-2 text-left",e),...t});Zi.displayName="AlertDialogHeader";var Ki=({className:e,...t})=>Ae("div",{className:r("flex flex-row justify-end space-x-4",e),...t});Ki.displayName="AlertDialogFooter";var Yi=tt.forwardRef(({className:e,...t},o)=>Ae(R.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));Yi.displayName=R.Title.displayName;var Ji=tt.forwardRef(({className:e,...t},o)=>Ae(R.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Ji.displayName=R.Description.displayName;var ea=tt.forwardRef(({className:e,...t},o)=>Ae(R.Action,{ref:o,className:r(xe({variant:"primary"}),"",e),...t}));ea.displayName=R.Action.displayName;var ta=tt.forwardRef(({className:e,...t},o)=>Ae(R.Cancel,{ref:o,className:r(xe({variant:"secondary"}),e),...t}));ta.displayName=R.Cancel.displayName;import{createContext as Qs,useContext as oa}from"react";import{jsx as Ft}from"react/jsx-runtime";var Vo=Qs({align:"center"}),Oo=({color:e="pink",size:t="small",isTruncated:o=!1,className:i,children:a})=>{let n={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},s={small:"text-sm",large:"text-lg"};return Ft("div",{className:r("mb-1 font-semibold",n[e],s[t],o&&"truncate",i),children:a})},Go=({tagHeading:e="h2",size:t="small",color:o="pink",isTruncated:i=!1,className:a,children:n})=>{let s=e,l={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},d={small:"lg:text-3xl text-2xl",large:"lg:text-4xl md:text-3xl text-2xl"},{align:p}=oa(Vo);return Ft(s,{className:r("font-bold max-w-4xl",p==="center"?"mx-auto":p==="right"?"ml-auto":"",l[o],d[t],i&&"truncate","text-balance md:text-wrap",a),children:n})},Wo=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:i=!1,className:a,children:n})=>{let s={regular:"text-gray-500",white:"text-white/80"},l={small:"md:text-base text-sm",large:"md:text-lg text-base"},d={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:p}=oa(Vo);return Ft("div",{className:r(p==="center"?"mx-auto max-w-2xl":p==="right"?"max-w-4xl ml-auto":"max-w-4xl",s[e],l[t],d[o],i&&"truncate",a),children:n})},$o=({className:e,align:t="center",children:o})=>Ft("div",{className:r("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:Ft(Vo.Provider,{value:{align:t},children:o})});import{ChevronLeft as Us,ChevronRight as Xs}from"lucide-react";import{Fragment as qs,jsx as me,jsxs as ia}from"react/jsx-runtime";function aa({current:e,total:t,onChange:o}){let i=a=>me("li",{children:me("button",{className:r(et({variant:e===a?"outline":"secondary",size:"sm"})),onClick:()=>o(a),children:a})},a);return me("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:ia("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&me("li",{children:me("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:me(Us,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((a,n)=>i(n+1)):ia(qs,{children:[i(1),e===1&&[i(2),i(3)],e>3&&me("li",{children:me("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&i(e-1),e>1&&e<t&&i(e),e<t-1&&e!==1&&i(e+1),e===t&&[i(t-2),i(t-1)],e<t-2&&e!==t&&me("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),i(t)]}),t>1&&me("li",{children:me("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:me(Xs,{className:"h-4 w-4"})})})]})})}import*as co from"react";import*as ue from"@radix-ui/react-tabs";import{jsx as jo}from"react/jsx-runtime";var _t=ue.Root,gt=co.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...i},a)=>jo(ue.List,{ref:a,className:r("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${t}`,o&&"border-b border-gray-200",e),...i}));gt.displayName=ue.List.displayName;var ut=co.forwardRef(({className:e,...t},o)=>jo(ue.Trigger,{ref:o,className:r("inline-flex items-center justify-center whitespace-nowrap py-3 font-semibold ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border-b-2 border-transparent data-[state=active]:text-pink-500 data-[state=active]:border-pink-500 text-gray-900 hover:text-pink-500",e),...t}));ut.displayName=ue.Trigger.displayName;var vt=co.forwardRef(({className:e,...t},o)=>jo(ue.Content,{ref:o,className:r("mt-3 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 text-gray-900",e),...t}));vt.displayName=ue.Content.displayName;import{forwardRef as Zs}from"react";import{QuestionMarkCircleIcon as Ks}from"@heroicons/react/24/outline";import{XCircleIcon as Ys}from"@heroicons/react/24/solid";import{jsx as bt,jsxs as ra}from"react/jsx-runtime";var Js=Zs(({disabled:e,isError:t,message:o,label:i,className:a,inputClassName:n,size:s,rows:l=3,...d},p)=>ra("div",{className:r("relative",a,t&&"mobase-text-area-error"),children:[i&&bt("span",{className:r("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",s===2&&" -top-2.5 text-sm"),children:i}),bt("textarea",{disabled:e,ref:p,className:r("mobase-text-area-box bg-white w-full text-sm transition-all rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 outline-none block",s===2&&"text-base",n),rows:l,...d}),o&&ra("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?bt(Ys,{width:16,height:16,className:"text-red-500"}):bt(Ks,{width:16,height:16,className:"text-gray-500"}),bt("span",{className:r("text-gray-500 ",s===2?"text-sm":"text-xs"),children:o})]}),bt("style",{children:`
71
71
  .mobase-text-area-box:hover {
72
72
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
73
73
  }
@@ -94,7 +94,7 @@ import*as Rt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
94
94
  color: rgb(var(--mobase-red-500) / 1);
95
95
  }
96
96
  }
97
- `})]}));import*as mo from"react";var Gs=1,$s=1e6;var Go=0;function Ws(){return Go=(Go+1)%Number.MAX_SAFE_INTEGER,Go.toString()}var $o=new Map,oi=e=>{if($o.has(e))return;let t=setTimeout(()=>{$o.delete(e),Et({type:"REMOVE_TOAST",toastId:e})},$s);$o.set(e,t)},js=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Gs)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?oi(o):e.toasts.forEach(a=>{oi(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===o||o===void 0?{...a,open:!1}:a)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};default:return e}},so=[],lo={toasts:[]};function Et(e){lo=js(lo,e),so.forEach(t=>{t(lo)})}function ai({...e}){let t=Ws(),o=i=>Et({type:"UPDATE_TOAST",toast:{...i,id:t}}),a=()=>Et({type:"DISMISS_TOAST",toastId:t});return Et({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||a()}}}),{id:t,dismiss:a,update:o}}function Wo(){let[e,t]=mo.useState(lo);return mo.useEffect(()=>(so.push(t),()=>{let o=so.indexOf(t);o>-1&&so.splice(o,1)}),[e]),{...e,toast:ai,dismiss:o=>Et({type:"DISMISS_TOAST",toastId:o})}}import*as Je from"react";import*as E from"@radix-ui/react-toast";import{cva as Qs}from"class-variance-authority";import{XMarkIcon as Us,CheckCircleIcon as Xs,ExclamationTriangleIcon as qs,InformationCircleIcon as Zs}from"@heroicons/react/20/solid";import{jsx as Ie,jsxs as ii}from"react/jsx-runtime";var ri=E.Provider,jo=Je.forwardRef(({className:e,...t},o)=>Ie(E.Viewport,{ref:o,className:r("fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 left-0 sm:right-0 sm:left-auto sm:top-0 sm:bottom-auto sm:flex-col md:max-w-[420px]",e),...t}));jo.displayName=E.Viewport.displayName;var Ks=Qs("group pointer-events-auto relative w-full overflow-hidden rounded-md border py-4 pr-10 pl-10 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-bottom-full data-[state=open]:sm:slide-in-from-top-full bg-white text-gray-900 border border-gray-200 border-l-4",{variants:{variant:{sucess:"border-l-green-500",warning:"border-l-yellow-500",error:"border-l-red-500"}},defaultVariants:{variant:"sucess"}}),Qo=Je.forwardRef(({className:e,variant:t="sucess",children:o,...a},i)=>ii(E.Root,{ref:i,className:r(Ks({variant:t}),e),...a,children:[ii("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&Ie(Xs,{className:"w-5 h-5 text-green-500"}),t==="warning"&&Ie(qs,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&Ie(Zs,{className:"w-5 h-5 text-red-500"})]}),o]}));Qo.displayName=E.Root.displayName;var ni=Je.forwardRef(({className:e,...t},o)=>Ie(E.Action,{ref:o,className:r("inline-flex shrink-0 items-center justify-center bg-transparent text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-0 focus:ring-ring focus:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 text-blue-600 hover:underline mt-2",e),...t}));ni.displayName=E.Action.displayName;var Uo=Je.forwardRef(({className:e,...t},o)=>Ie(E.Close,{ref:o,className:r("absolute right-2 top-2 rounded-md transition-opacity hover:opacity-70 focus:opacity-100 focus:outline-none focus:ring-2 text-gray-800 w-8 h-8 flex items-center justify-center",e),"toast-close":"",...t,children:Ie(Us,{className:"h-5 w-5"})}));Uo.displayName=E.Close.displayName;var Xo=Je.forwardRef(({className:e,...t},o)=>Ie(E.Title,{ref:o,className:r("text-base font-semibold leading-tight",e),...t}));Xo.displayName=E.Title.displayName;var qo=Je.forwardRef(({className:e,...t},o)=>Ie(E.Description,{ref:o,className:r("text-sm opacity-90",e),...t}));qo.displayName=E.Description.displayName;import{jsx as co,jsxs as Zo}from"react/jsx-runtime";function Ys(){let{toasts:e}=Wo();return Zo(ri,{children:[e.map(function({id:t,title:o,description:a,action:i,...n}){return Zo(Qo,{...n,children:[Zo("div",{className:"grid gap-2",children:[o&&co(Xo,{children:o}),a&&co(qo,{children:a})]}),i,co(Uo,{})]},t)}),co(jo,{})]})}import*as si from"react";import{Slot as Js}from"@radix-ui/react-slot";import{cva as el}from"class-variance-authority";import{jsx as tl}from"react/jsx-runtime";var li=el("inline-flex items-center justify-center whitespace-nowrap font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent flex-nowrap",{variants:{variant:{default:"text-blue-700 hover:underline hover:bg-blue-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline",primary:"text-pink-500 hover:underline hover:bg-pink-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline",secondary:"text-gray-700 hover:underline hover:text-blue-700 hover:bg-blue-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline"},size:{default:"text-sm",lg:"text-base"}},defaultVariants:{variant:"default",size:"default"}}),ut=si.forwardRef(({className:e,variant:t="default",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let l=a?Js:"button",d=r(li({variant:t,size:o,className:e}));return tl(l,{className:d,disabled:i,ref:s,...n,children:n.children})});ut.displayName="TextButton";import*as Ko from"react";import*as le from"@radix-ui/react-tooltip";import{jsx as di}from"react/jsx-runtime";var ol=le.Provider,al=le.Root,il=le.Trigger,mi=Ko.forwardRef((e,t)=>di(le.Arrow,{ref:t,className:r("drop-shadow-md",e.className),...e}));mi.displayName=le.Arrow.displayName;var ci=Ko.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...a},i)=>di(le.Content,{ref:i,sideOffset:o,className:r("z-50 overflow-hidden rounded-md text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 p-1.5 shadow-md",t==="light"?"bg-white text-gray-900 fill-white":"bg-gray-800 fill-gray-800 text-white",e),...a}));ci.displayName=le.Content.displayName;import{forwardRef as rl,useEffect as nl,useRef as sl,useState as ll}from"react";import{QuestionMarkCircleIcon as ml,XCircleIcon as cl,XCircleIcon as dl}from"@heroicons/react/16/solid";import{jsx as Fe,jsxs as Yo}from"react/jsx-runtime";var pl=rl(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,withClearButton:s,size:l,onChange:d,onFocus:p,onClickClear:f,value:x,defaultValue:h,type:L="text",...H},_)=>{let[W,z]=ll(!1),B=sl(null),k=V=>{V&&!W&&z(!0),!V&&W&&z(!1)},wt=V=>{s&&k(V.target.value),d?.(V)},We=V=>{s&&k(V.target.value),p?.(V)},Pt=()=>{let V=B.current?.querySelector("input");V&&(f?.(V.value),V.value="",V.focus(),z(!1))};return nl(()=>{k(h||x)},[x,h]),Yo("div",{className:r(i,t&&"mobase-text-input-error"),ref:B,children:[Yo("div",{className:"relative",children:[a&&Fe("span",{className:r("mobase-text-input-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",l===2&&" -top-2.5 text-sm"),children:a}),Fe("input",{disabled:e,type:L,ref:_,className:r("mobase-text-input-box bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 h-11 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block outline-none",l===2&&"h-12 text-base",n),onChange:wt,onFocus:We,value:x,defaultValue:h,...H}),s&&W&&Fe("button",{"aria-label":"button",type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 shrink-0 cursor-pointer text-gray-500 duration-200 hover:opacity-70 disabled:pointer-events-none",disabled:e,onClick:Pt,children:Fe(cl,{strokeWidth:2,width:20,height:20})})]}),o&&Yo("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?Fe(dl,{width:16,height:16,className:"text-red-500"}):Fe(ml,{width:16,height:16,className:"text-gray-500"}),Fe("span",{className:r("text-gray-500 ",l===2?"text-sm":"text-xs"),children:o})]}),Fe("style",{children:`
97
+ `})]}));import*as go from"react";var el=1,tl=1e6;var Qo=0;function ol(){return Qo=(Qo+1)%Number.MAX_SAFE_INTEGER,Qo.toString()}var Uo=new Map,na=e=>{if(Uo.has(e))return;let t=setTimeout(()=>{Uo.delete(e),Ht({type:"REMOVE_TOAST",toastId:e})},tl);Uo.set(e,t)},il=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,el)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?na(o):e.toasts.forEach(i=>{na(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===o||o===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};default:return e}},po=[],fo={toasts:[]};function Ht(e){fo=il(fo,e),po.forEach(t=>{t(fo)})}function sa({...e}){let t=ol(),o=a=>Ht({type:"UPDATE_TOAST",toast:{...a,id:t}}),i=()=>Ht({type:"DISMISS_TOAST",toastId:t});return Ht({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||i()}}}),{id:t,dismiss:i,update:o}}function Xo(){let[e,t]=go.useState(fo);return go.useEffect(()=>(po.push(t),()=>{let o=po.indexOf(t);o>-1&&po.splice(o,1)}),[e]),{...e,toast:sa,dismiss:o=>Ht({type:"DISMISS_TOAST",toastId:o})}}import*as ot from"react";import*as F from"@radix-ui/react-toast";import{cva as al}from"class-variance-authority";import{XMarkIcon as rl,CheckCircleIcon as nl,ExclamationTriangleIcon as sl,InformationCircleIcon as ll}from"@heroicons/react/20/solid";import{jsx as Le,jsxs as la}from"react/jsx-runtime";var ma=F.Provider,qo=ot.forwardRef(({className:e,...t},o)=>Le(F.Viewport,{ref:o,className:r("fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 left-0 sm:right-0 sm:left-auto sm:top-0 sm:bottom-auto sm:flex-col md:max-w-[420px]",e),...t}));qo.displayName=F.Viewport.displayName;var ml=al("group pointer-events-auto relative w-full overflow-hidden rounded-md border py-4 pr-10 pl-10 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-bottom-full data-[state=open]:sm:slide-in-from-top-full bg-white text-gray-900 border border-gray-200 border-l-4",{variants:{variant:{sucess:"border-l-green-500",warning:"border-l-yellow-500",error:"border-l-red-500"}},defaultVariants:{variant:"sucess"}}),Zo=ot.forwardRef(({className:e,variant:t="sucess",children:o,...i},a)=>la(F.Root,{ref:a,className:r(ml({variant:t}),e),...i,children:[la("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&Le(nl,{className:"w-5 h-5 text-green-500"}),t==="warning"&&Le(sl,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&Le(ll,{className:"w-5 h-5 text-red-500"})]}),o]}));Zo.displayName=F.Root.displayName;var ca=ot.forwardRef(({className:e,...t},o)=>Le(F.Action,{ref:o,className:r("inline-flex shrink-0 items-center justify-center bg-transparent text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-0 focus:ring-ring focus:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 text-blue-600 hover:underline mt-2",e),...t}));ca.displayName=F.Action.displayName;var Ko=ot.forwardRef(({className:e,...t},o)=>Le(F.Close,{ref:o,className:r("absolute right-2 top-2 rounded-md transition-opacity hover:opacity-70 focus:opacity-100 focus:outline-none focus:ring-2 text-gray-800 w-8 h-8 flex items-center justify-center",e),"toast-close":"",...t,children:Le(rl,{className:"h-5 w-5"})}));Ko.displayName=F.Close.displayName;var Yo=ot.forwardRef(({className:e,...t},o)=>Le(F.Title,{ref:o,className:r("text-base font-semibold leading-tight",e),...t}));Yo.displayName=F.Title.displayName;var Jo=ot.forwardRef(({className:e,...t},o)=>Le(F.Description,{ref:o,className:r("text-sm opacity-90",e),...t}));Jo.displayName=F.Description.displayName;import{jsx as uo,jsxs as ei}from"react/jsx-runtime";function cl(){let{toasts:e}=Xo();return ei(ma,{children:[e.map(function({id:t,title:o,description:i,action:a,...n}){return ei(Zo,{...n,children:[ei("div",{className:"grid gap-2",children:[o&&uo(Yo,{children:o}),i&&uo(Jo,{children:i})]}),a,uo(Ko,{})]},t)}),uo(qo,{})]})}import*as da from"react";import{Slot as dl}from"@radix-ui/react-slot";import{cva as pl}from"class-variance-authority";import{jsx as fl}from"react/jsx-runtime";var pa=pl("inline-flex items-center justify-center whitespace-nowrap font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent flex-nowrap",{variants:{variant:{default:"text-blue-700 hover:underline hover:bg-blue-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline",primary:"text-pink-500 hover:underline hover:bg-pink-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline",secondary:"text-gray-700 hover:underline hover:text-blue-700 hover:bg-blue-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline"},size:{default:"text-sm",lg:"text-base"}},defaultVariants:{variant:"default",size:"default"}}),xt=da.forwardRef(({className:e,variant:t="default",size:o="default",asChild:i=!1,isDisabled:a=!1,...n},s)=>{let l=i?dl:"button",d=r(pa({variant:t,size:o,className:e}));return fl(l,{className:d,disabled:a,ref:s,...n,children:n.children})});xt.displayName="TextButton";import*as ti from"react";import*as ce from"@radix-ui/react-tooltip";import{jsx as ua}from"react/jsx-runtime";var gl=ce.Provider,ul=ce.Root,vl=ce.Trigger,fa=ti.forwardRef((e,t)=>ua(ce.Arrow,{ref:t,className:r("drop-shadow-md",e.className),...e}));fa.displayName=ce.Arrow.displayName;var ga=ti.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...i},a)=>ua(ce.Content,{ref:a,sideOffset:o,className:r("z-50 overflow-hidden rounded-md text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 p-1.5 shadow-md",t==="light"?"bg-white text-gray-900 fill-white":"bg-gray-800 fill-gray-800 text-white",e),...i}));ga.displayName=ce.Content.displayName;import{forwardRef as bl,useEffect as xl,useRef as hl,useState as yl}from"react";import{QuestionMarkCircleIcon as wl,XCircleIcon as Nl,XCircleIcon as Pl}from"@heroicons/react/16/solid";import{jsx as ze,jsxs as oi}from"react/jsx-runtime";var Cl=bl(({disabled:e,isError:t,message:o,label:i,className:a,inputClassName:n,withClearButton:s,size:l,onChange:d,onFocus:p,onClickClear:f,value:h,defaultValue:y,type:E="text",...z},H)=>{let[j,B]=yl(!1),V=hl(null),S=O=>{O&&!j&&B(!0),!O&&j&&B(!1)},Rt=O=>{s&&S(O.target.value),d?.(O)},Ue=O=>{s&&S(O.target.value),p?.(O)},Tt=()=>{let O=V.current?.querySelector("input");O&&(f?.(O.value),O.value="",O.focus(),B(!1))};return xl(()=>{S(y||h)},[h,y]),oi("div",{className:r(a,t&&"mobase-text-input-error"),ref:V,children:[oi("div",{className:"relative",children:[i&&ze("span",{className:r("mobase-text-input-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",l===2&&" -top-2.5 text-sm"),children:i}),ze("input",{disabled:e,type:E,ref:H,className:r("mobase-text-input-box bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 h-11 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block outline-none",l===2&&"h-12 text-base",n),onChange:Rt,onFocus:Ue,value:h,defaultValue:y,...z}),s&&j&&ze("button",{"aria-label":"button",type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 shrink-0 cursor-pointer text-gray-500 duration-200 hover:opacity-70 disabled:pointer-events-none",disabled:e,onClick:Tt,children:ze(Nl,{strokeWidth:2,width:20,height:20})})]}),o&&oi("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?ze(Pl,{width:16,height:16,className:"text-red-500"}):ze(wl,{width:16,height:16,className:"text-gray-500"}),ze("span",{className:r("text-gray-500 ",l===2?"text-sm":"text-xs"),children:o})]}),ze("style",{children:`
98
98
  .mobase-text-input-box:hover {
99
99
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
100
100
  }
@@ -117,26 +117,26 @@ import*as Rt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
117
117
  color: rgb(var(--mobase-red-500) / 1);
118
118
  }
119
119
  }
120
- `})]})});import{MinusCircleIcon as fl,PlusCircleIcon as gl}from"@heroicons/react/24/outline";import{useRef as pi,forwardRef as ul,useState as Jo,useEffect as fi}from"react";import{jsx as vt,jsxs as gi}from"react/jsx-runtime";var vl=ul(({value:e=0,min:t=0,max:o=999,disabled:a=!1,disabledInput:i=!1,step:n=1,inputClassName:s="",stepperClassName:l="",className:d="",onChange:p=()=>{},onChangeInputStepper:f,onDecrement:x,onIncrement:h,...L},H)=>{let _=pi(null),[W,z]=Jo(!1),[B,k]=Jo(!1),[wt,We]=Jo(""),Pt=pi(null),V=y=>{Number(y)>=o?z(!0):z(!1),Number(y)>t?k(!1):k(!0)},In=()=>{if(a||W)return;let y=_?.current?.querySelector("input");if(!y)return;let ee=0;ee=Math.min(Number(y.value)+n,o),V(ee),y.value=String(ee),We(y.value||""),f?.(y.value),h?.(y.value)},Mn=()=>{if(a||B)return;let y=_?.current?.querySelector("input");if(!y)return;let ee=0;ee=Math.max(Number(y.value)-n,0),V(ee),y.value=String(ee),We(y.value||""),f?.(y.value),x?.(y.value)},Ln=y=>{if(!y)return;let ee=y?.target?.value;ee?.match(/^[0-9]*$/)||(ee=ee.replace(/[^0-9]/g,"")),V(ee);let Ut=parseInt(ee,10);Number.isNaN(Ut)||Ut<t?y.target.value=String(t):Ut>=o?y.target.value=String(o):y.target.value=String(Ut),We(y?.target?.value||""),f?.(y.target.value),p?.(y)};return fi(()=>{let y=_?.current?.querySelector("input");y&&V(y?.value)},[]),fi(()=>{let y=_?.current?.querySelector("input");y&&Pt?.current&&(y.style.width=`${Pt.current.offsetWidth+10}px`)},[wt]),gi("div",{ref:_,className:"flex items-center",children:[vt(Ee,{id:"btn-minus",className:r(!B&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default ","w-9 h-9",l),variant:"transparent",onClick:Mn,children:vt(fl,{className:"w-7 h-7 "})}),gi("div",{className:"text-center font-semibold",children:[vt("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:H,min:t,max:o,onChange:y=>Ln(y),id:"numberInput",disabled:a||i,autoComplete:"off",...L,className:r("text-gray-800 text-base min-w-8 w-8 h-8 transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 rounded-md text-center bg-white",s)}),vt("span",{ref:Pt,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:wt||" "})]}),vt(Ee,{id:"btn-plus",className:r(!W&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default","w-9 h-9",l),variant:"transparent",onClick:In,children:vt(gl,{className:"w-7 h-7 "})})]})});import*as he from"react";import{ChevronDownIcon as ui,ChevronUpIcon as bl,CheckIcon as xl,XCircleIcon as hl}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as yl}from"@heroicons/react/24/outline";import*as u from"@radix-ui/react-select";import{jsx as S,jsxs as Ft}from"react/jsx-runtime";var Nl=he.forwardRef(({className:e,children:t,label:o,message:a,size:i,isError:n,disabled:s,...l},d)=>Ft("div",{ref:d,className:r("select-mobase relative",e,s?"disabled":"",n?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",i===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&S("span",{className:r("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",i===2&&"text-sm -top-2.5",n&&"text-red-500"),children:o}),S(u.Root,{disabled:s,...l,children:t}),a&&Ft("div",{className:r("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?S(hl,{width:16,height:16}):S(yl,{width:16,height:16}),S("span",{className:r(i===2?"text-sm":"text-xs"),children:a})]})]})),wl=u.Value,vi=he.forwardRef(({className:e,children:t,...o},a)=>Ft(u.Trigger,{ref:a,className:r("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[S("div",{className:"line-clamp-1 text-left",children:t}),S(u.Icon,{asChild:!0,children:S(ui,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));vi.displayName=u.Trigger.displayName;var ea=he.forwardRef(({className:e,...t},o)=>S(u.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:S(bl,{className:"h-5 w-5"})}));ea.displayName=u.ScrollUpButton.displayName;var ta=he.forwardRef(({className:e,...t},o)=>S(u.ScrollDownButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:S(ui,{className:"h-5 w-5"})}));ta.displayName=u.ScrollDownButton.displayName;var bi=he.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>S(u.Portal,{children:Ft(u.Content,{ref:i,className:r("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a,children:[S(ea,{}),S(u.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),S(ta,{})]})}));bi.displayName=u.Content.displayName;var Pl=he.forwardRef(({className:e,children:t,...o},a)=>S(u.Group,{ref:a,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),xi=he.forwardRef(({className:e,...t},o)=>S(u.Label,{ref:o,className:r("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));xi.displayName=u.Label.displayName;var Cl=he.forwardRef(({className:e,children:t,...o},a)=>Ft(u.Item,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[S("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:S(u.ItemIndicator,{children:S(xl,{className:"h-4 w-4"})})}),S(u.ItemText,{children:t})]})),hi=he.forwardRef(({className:e,...t},o)=>S(u.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));hi.displayName=u.Separator.displayName;import*as ge from"react";import*as D from"@radix-ui/react-navigation-menu";import{cva as Rl}from"class-variance-authority";import{ChevronDownIcon as Tl}from"@heroicons/react/16/solid";import{jsx as ye,jsxs as Il}from"react/jsx-runtime";var yi=ge.createContext(null),kl=({value:e,children:t})=>ye(yi.Provider,{value:e,children:t}),Sl=()=>{let e=ge.useContext(yi);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},po=ge.forwardRef(({className:e,children:t,alignDropdown:o="left",...a},i)=>ye(kl,{value:{alignDropdown:o},children:ye(D.Root,{ref:i,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:t})}));po.displayName=D.Root.displayName;var fo=ge.forwardRef(({className:e,...t},o)=>ye(D.List,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));fo.displayName=D.List.displayName;var go=D.Item,uo=Rl(ve({variant:"transparent",size:"sm"})),vo=ge.forwardRef(({className:e,children:t,...o},a)=>Il(D.Trigger,{ref:a,className:r(uo(),"group px-2",e),...o,children:[t," ",ye(Tl,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));vo.displayName=D.Trigger.displayName;var bo=ge.forwardRef(({className:e,...t},o)=>{let{alignDropdown:a}=Sl();return ye(D.Content,{ref:o,className:r("absolute top-full mt-3 rounded-lg bg-white text-gray-900 ring-1 ring-gray-900/5 shadow-[0_10px_32px_rgba(34,42,53,0.15),0_1px_1px_rgba(0,0,0,0.05),0_4px_6px_rgba(34,42,53,0.08),0_1px_1px_rgba(34,42,53,0.1),0_24px_68px_rgba(47,48,55,0.1)]",e,"before:content-[''] before:absolute before:-top-3 before:left-0 before:right-0 before:w-full before:bg-transparent before:opacity-0 before:h-3",a!=="center"&&"data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out ",a==="left"&&"left-0",a==="right"&&"right-0",a==="center"&&" left-1/2 -translate-x-1/2 "),...t})});bo.displayName=D.Content.displayName;var _t=D.Link,Dl=ge.forwardRef(({className:e,...t},o)=>ye("div",{className:r("absolute left-0 top-full flex justify-center"),children:ye(D.Viewport,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:o,...t})}));Dl.displayName=D.Viewport.displayName;var Al=ge.forwardRef(({className:e,...t},o)=>ye(D.Indicator,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:ye("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Al.displayName=D.Indicator.displayName;import*as wi from"react";import*as Ht from"@radix-ui/react-switch";import{jsx as Ni}from"react/jsx-runtime";var Pi=wi.forwardRef(({className:e,...t},o)=>Ni(Ht.Root,{className:r("peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-default disabled:opacity-20 data-[state=checked]:bg-pink-500 data-[state=unchecked]:bg-gray-400",e),...t,ref:o,children:Ni(Ht.Thumb,{className:r("pointer-events-none relative cik before:content-[''] before:absolute before:w-1.5 before:h-1.5 before:rounded-full before:bg-pink-600 before:-translate-x-1/2 before:translate-y-1 disabled:opacity-20 before:data-[state=unchecked]:bg-gray-400 block h-3.5 w-3.5 bg-white rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5")})}));Pi.displayName=Ht.Root.displayName;import*as et from"react";import*as _e from"@radix-ui/react-radio-group";import{Circle as Ml}from"lucide-react";import{cva as Ci}from"class-variance-authority";import{jsx as zt}from"react/jsx-runtime";var Ll=Ci("aspect-square rounded-full border-2 border-gray-300 disabled:bg-gray-100 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-400 data-[state=checked]:bg-pink-500 data-[state=checked]:border-none ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default peer",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),El=Ci("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),Ri=et.createContext({size:"medium"});function Fl(){let e=et.useContext(Ri);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Ti=et.forwardRef(({className:e,size:t,...o},a)=>zt(Ri.Provider,{value:{size:t},children:zt(_e.Root,{className:r("grid gap-2",e),...o,ref:a})}));Ti.displayName=_e.Root.displayName;var ki=et.forwardRef(({className:e,...t},o)=>{let a=Fl(),{size:i}=a??{};return zt(_e.Item,{ref:o,className:r(Ll({size:i}),e),...t,children:zt(_e.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:zt(Ml,{className:r(El({size:i}))})})})});ki.displayName=_e.Item.displayName;import{jsx as bt,jsxs as Si}from"react/jsx-runtime";var _l=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return bt("li",{className:"",children:bt(_t,{asChild:!0,children:Si("a",{className:r(" select-none space-y-1 rounded-md px-2 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 min-h-9 ",e,!t&&"items-center px-3"),href:i,...s,children:[t&&bt("div",{className:"w-7 h-7 shrink-0 mt-1",children:bt("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),Si("div",{className:" ",children:[bt("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),a&&bt("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},Di=_l;import{jsx as He,jsxs as zl}from"react/jsx-runtime";var Hl=({data:e,alignDropdown:t})=>He(po,{alignDropdown:t,children:He(fo,{children:e.map(o=>{let a=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?zl(go,{className:"relative",children:[He(vo,{children:o.title}),He(bo,{children:He("ul",{className:r("grid w-[300px] p-2 grid-cols-1",o.dropDownCompact===!0&&o.subMenu.length>6&&" w-[530px] md:grid-cols-2 ",o.dropDownCompact===!0&&o.subMenu.length>12&&" w-[800px] md:grid-cols-3 "),children:o.subMenu&&o.subMenu.map(i=>He(Di,{title:i.title,href:i.url,newTab:i.newTab,icon:o.dropDownCompact===!0?i.icon:"",children:o.dropDownCompact===!0?i.description:""},i.title))})})]},o.id):He(go,{className:"relative",children:He(_t,{href:o.url,className:uo(),...a,children:o.title})},o.id)})})}),Ai=Hl;import{useEffect as Wl,useState as jl}from"react";var xo=[.24,.25,.05,1];import{useKey as Ql}from"react-use";import Ei from"next/router";import{jsx as Bt,jsxs as Ii}from"react/jsx-runtime";var Bl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return Bt("li",{className:"min-h-8",children:Ii("a",{className:r(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:i,...s,children:[t&&Bt("div",{className:"w-6 h-6 shrink-0",children:Bt("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),Ii("div",{className:" ",children:[Bt("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),a&&Bt("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},Mi=Bl;import{motion as Vl}from"framer-motion";import{jsx as tt,jsxs as $l}from"react/jsx-runtime";var Ol={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:xo}},exit:{opacity:0,transition:{duration:.05}}},Gl=({data:e})=>tt(je,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return tt(Vl.div,{variants:Ol,children:t.hasDropdown?$l(Qe,{value:t.id,children:[tt(Ue,{className:"py-3",children:t.title}),tt(Xe,{children:tt("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(a=>tt(Mi,{title:a.title,href:a.url,newTab:a.newTab,icon:t.dropDownCompact===!0?a.icon:"",children:t.dropDownCompact===!0?a.description:""},a.title))})})]}):tt("a",{className:"py-3 flex flex-1 items-center text-left justify-between font-medium transition-all hover:underline text-gray-900 border-b border-gray-200",href:t.url,...o,children:t.title})},t.id)})}),Li=Gl;import{motion as oa,AnimatePresence as Ul,LazyMotion as Xl,domAnimation as ql}from"framer-motion";import{jsx as b,jsxs as U}from"react/jsx-runtime";var Zl=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,Kl=({data:e,className:t})=>{let[o,a]=jl(!1);Ql("Escape",()=>a(!1)),Wl(()=>{if(!o)return;let s=Zl();function l(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Ei.events.on("routeChangeComplete",l),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:s||0,behavior:"instant"}),Ei.events.off("routeChangeComplete",l)}},[o]);let i={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},n={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:xo}},exit:{opacity:0,transition:{duration:.15}}};return U("div",{className:r(t),children:[U("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>a(!o),children:[b("span",{className:"sr-only",children:"Navigation"}),b(oa.div,{animate:o?"hidden":"visible",variants:i,children:b("svg",{className:r("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),b(oa.div,{animate:o?"visible":"hidden",variants:i,children:b("svg",{className:r("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),b(Xl,{features:ql,children:b(Ul,{mode:"wait",children:o&&U(oa.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:r(t,"fixed block w-full max-w-full z-50 px-5 bg-white left-0 right-0 bottom-0 overflow-y-auto top-[calc(var(--header-height)+1px)] pb-24 "),children:[b(Li,{data:e}),U("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),U("div",{className:"flex flex-nowrap",children:[b("div",{className:"flex-initial",children:b("a",{className:"link-white",target:"_blank",href:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",children:b("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),b("div",{className:"ml-3 flex-initial",children:b("a",{href:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",className:"link-white",target:"_blank",children:b("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),U("ul",{className:"mb-2 text-sm text-gray-500",children:[U("li",{className:"mb-1",children:["Hotline :\xA0",b("a",{href:`tel:${Re.Support.Hotline}`,className:"text-gray-600",children:Re.Support.Hotline_Format})]}),U("li",{className:"mb-1",children:["Email :\xA0",b("a",{href:`mailto:${Re.Support.Email}`,className:"text-gray-600",children:Re.Support.Email})]})]}),b("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:U("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-10 pr-2 hover:bg-gray-100",children:[b("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:b("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:U("g",{children:[b("title",{children:"Asset 1"}),b("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
120
+ `})]})});import{MinusCircleIcon as Rl,PlusCircleIcon as Tl}from"@heroicons/react/24/outline";import{useRef as va,forwardRef as kl,useState as ii,useEffect as ba}from"react";import{jsx as ht,jsxs as xa}from"react/jsx-runtime";var Sl=kl(({value:e=0,min:t=0,max:o=999,disabled:i=!1,disabledInput:a=!1,step:n=1,inputClassName:s="",stepperClassName:l="",className:d="",onChange:p=()=>{},onChangeInputStepper:f,onDecrement:h,onIncrement:y,...E},z)=>{let H=va(null),[j,B]=ii(!1),[V,S]=ii(!1),[Rt,Ue]=ii(""),Tt=va(null),O=w=>{Number(w)>=o?B(!0):B(!1),Number(w)>t?S(!1):S(!0)},Wn=()=>{if(i||j)return;let w=H?.current?.querySelector("input");if(!w)return;let oe=0;oe=Math.min(Number(w.value)+n,o),O(oe),w.value=String(oe),Ue(w.value||""),f?.(w.value),y?.(w.value)},$n=()=>{if(i||V)return;let w=H?.current?.querySelector("input");if(!w)return;let oe=0;oe=Math.max(Number(w.value)-n,0),O(oe),w.value=String(oe),Ue(w.value||""),f?.(w.value),h?.(w.value)},jn=w=>{if(!w)return;let oe=w?.target?.value;oe?.match(/^[0-9]*$/)||(oe=oe.replace(/[^0-9]/g,"")),O(oe);let Kt=parseInt(oe,10);Number.isNaN(Kt)||Kt<t?w.target.value=String(t):Kt>=o?w.target.value=String(o):w.target.value=String(Kt),Ue(w?.target?.value||""),f?.(w.target.value),p?.(w)};return ba(()=>{let w=H?.current?.querySelector("input");w&&O(w?.value)},[]),ba(()=>{let w=H?.current?.querySelector("input");w&&Tt?.current&&(w.style.width=`${Tt.current.offsetWidth+10}px`)},[Rt]),xa("div",{ref:H,className:"flex items-center",children:[ht(He,{id:"btn-minus",className:r(!V&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default ","w-9 h-9",l),variant:"transparent",onClick:$n,children:ht(Rl,{className:"w-7 h-7 "})}),xa("div",{className:"text-center font-semibold",children:[ht("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:z,min:t,max:o,onChange:w=>jn(w),id:"numberInput",disabled:i||a,autoComplete:"off",...E,className:r("text-gray-800 text-base min-w-8 w-8 h-8 transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 rounded-md text-center bg-white",s)}),ht("span",{ref:Tt,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:Rt||" "})]}),ht(He,{id:"btn-plus",className:r(!j&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default","w-9 h-9",l),variant:"transparent",onClick:Wn,children:ht(Tl,{className:"w-7 h-7 "})})]})});import*as we from"react";import{ChevronDownIcon as ha,ChevronUpIcon as Dl,CheckIcon as Ml,XCircleIcon as Il}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as Al}from"@heroicons/react/24/outline";import*as v from"@radix-ui/react-select";import{jsx as D,jsxs as zt}from"react/jsx-runtime";var Ll=we.forwardRef(({className:e,children:t,label:o,message:i,size:a,isError:n,disabled:s,...l},d)=>zt("div",{ref:d,className:r("select-mobase relative",e,s?"disabled":"",n?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",a===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&D("span",{className:r("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",a===2&&"text-sm -top-2.5",n&&"text-red-500"),children:o}),D(v.Root,{disabled:s,...l,children:t}),i&&zt("div",{className:r("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?D(Il,{width:16,height:16}):D(Al,{width:16,height:16}),D("span",{className:r(a===2?"text-sm":"text-xs"),children:i})]})]})),El=v.Value,ya=we.forwardRef(({className:e,children:t,...o},i)=>zt(v.Trigger,{ref:i,className:r("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[D("div",{className:"line-clamp-1 text-left",children:t}),D(v.Icon,{asChild:!0,children:D(ha,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));ya.displayName=v.Trigger.displayName;var ai=we.forwardRef(({className:e,...t},o)=>D(v.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:D(Dl,{className:"h-5 w-5"})}));ai.displayName=v.ScrollUpButton.displayName;var ri=we.forwardRef(({className:e,...t},o)=>D(v.ScrollDownButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:D(ha,{className:"h-5 w-5"})}));ri.displayName=v.ScrollDownButton.displayName;var wa=we.forwardRef(({className:e,children:t,position:o="popper",...i},a)=>D(v.Portal,{children:zt(v.Content,{ref:a,className:r("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-small data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...i,children:[D(ai,{}),D(v.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),D(ri,{})]})}));wa.displayName=v.Content.displayName;var Fl=we.forwardRef(({className:e,children:t,...o},i)=>D(v.Group,{ref:i,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),Na=we.forwardRef(({className:e,...t},o)=>D(v.Label,{ref:o,className:r("pr-2 pl-7 py-1.5 text-sm font-semibold z-[1]",e),...t}));Na.displayName=v.Label.displayName;var _l=we.forwardRef(({className:e,children:t,...o},i)=>zt(v.Item,{ref:i,className:r("relative flex w-full cursor-default select-none items-center rounded-md py-1.5 pl-7 pr-2 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[D("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:D(v.ItemIndicator,{children:D(Ml,{className:"h-4 w-4 text-pink-500"})})}),D(v.ItemText,{children:t})]})),Pa=we.forwardRef(({className:e,...t},o)=>D(v.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));Pa.displayName=v.Separator.displayName;import*as ve from"react";import*as M from"@radix-ui/react-navigation-menu";import{cva as Hl}from"class-variance-authority";import{ChevronDownIcon as zl}from"@heroicons/react/16/solid";import{jsx as Ne,jsxs as Wl}from"react/jsx-runtime";var Ca=ve.createContext(null),Bl=({value:e,children:t})=>Ne(Ca.Provider,{value:e,children:t}),Vl=()=>{let e=ve.useContext(Ca);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},vo=ve.forwardRef(({className:e,children:t,alignDropdown:o="left",...i},a)=>Ne(Bl,{value:{alignDropdown:o},children:Ne(M.Root,{ref:a,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...i,children:t})}));vo.displayName=M.Root.displayName;var bo=ve.forwardRef(({className:e,...t},o)=>Ne(M.List,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));bo.displayName=M.List.displayName;var xo=M.Item,ho=Hl(xe({variant:"transparent",size:"sm"})),yo=ve.forwardRef(({className:e,children:t,...o},i)=>Wl(M.Trigger,{ref:i,className:r(ho(),"group px-2",e),...o,children:[t," ",Ne(zl,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));yo.displayName=M.Trigger.displayName;var wo=ve.forwardRef(({className:e,...t},o)=>{let{alignDropdown:i}=Vl();return Ne(M.Content,{ref:o,className:r("absolute top-full mt-3 rounded-lg bg-white text-gray-900 ring-1 ring-gray-900/5 shadow-[0_10px_32px_rgba(34,42,53,0.15),0_1px_1px_rgba(0,0,0,0.05),0_4px_6px_rgba(34,42,53,0.08),0_1px_1px_rgba(34,42,53,0.1),0_24px_68px_rgba(47,48,55,0.1)]",e,"before:content-[''] before:absolute before:-top-3 before:left-0 before:right-0 before:w-full before:bg-transparent before:opacity-0 before:h-3",i!=="center"&&"data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out ",i==="left"&&"left-0",i==="right"&&"right-0",i==="center"&&" left-1/2 -translate-x-1/2 "),...t})});wo.displayName=M.Content.displayName;var Bt=M.Link,Ol=ve.forwardRef(({className:e,...t},o)=>Ne("div",{className:r("absolute left-0 top-full flex justify-center"),children:Ne(M.Viewport,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:o,...t})}));Ol.displayName=M.Viewport.displayName;var Gl=ve.forwardRef(({className:e,...t},o)=>Ne(M.Indicator,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:Ne("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Gl.displayName=M.Indicator.displayName;import*as Ta from"react";import*as Vt from"@radix-ui/react-switch";import{jsx as Ra}from"react/jsx-runtime";var ka=Ta.forwardRef(({className:e,...t},o)=>Ra(Vt.Root,{className:r("peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-default disabled:opacity-20 data-[state=checked]:bg-pink-500 data-[state=unchecked]:bg-gray-400",e),...t,ref:o,children:Ra(Vt.Thumb,{className:r("pointer-events-none relative cik before:content-[''] before:absolute before:w-1.5 before:h-1.5 before:rounded-full before:bg-pink-600 before:-translate-x-1/2 before:translate-y-1 disabled:opacity-20 before:data-[state=unchecked]:bg-gray-400 block h-3.5 w-3.5 bg-white rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5")})}));ka.displayName=Vt.Root.displayName;import*as it from"react";import*as Be from"@radix-ui/react-radio-group";import{Circle as $l}from"lucide-react";import{cva as Sa}from"class-variance-authority";import{jsx as Ot}from"react/jsx-runtime";var jl=Sa("aspect-square rounded-full border-2 border-gray-300 disabled:bg-gray-100 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-400 data-[state=checked]:bg-pink-500 data-[state=checked]:border-none ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default peer",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Ql=Sa("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),Da=it.createContext({size:"medium"});function Ul(){let e=it.useContext(Da);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Ma=it.forwardRef(({className:e,size:t,...o},i)=>Ot(Da.Provider,{value:{size:t},children:Ot(Be.Root,{className:r("grid gap-2",e),...o,ref:i})}));Ma.displayName=Be.Root.displayName;var Ia=it.forwardRef(({className:e,...t},o)=>{let i=Ul(),{size:a}=i??{};return Ot(Be.Item,{ref:o,className:r(jl({size:a}),e),...t,children:Ot(Be.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Ot($l,{className:r(Ql({size:a}))})})})});Ia.displayName=Be.Item.displayName;import{jsx as yt,jsxs as Aa}from"react/jsx-runtime";var Xl=({className:e="",icon:t="",title:o,children:i="",href:a="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return yt("li",{className:"",children:yt(Bt,{asChild:!0,children:Aa("a",{className:r(" select-none space-y-1 rounded-md px-2 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 min-h-9 ",e,!t&&"items-center px-3"),href:a,...s,children:[t&&yt("div",{className:"w-7 h-7 shrink-0 mt-1",children:yt("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),Aa("div",{className:" ",children:[yt("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),i&&yt("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:i})]})]})})})},La=Xl;import{jsx as Ve,jsxs as Zl}from"react/jsx-runtime";var ql=({data:e,alignDropdown:t})=>Ve(vo,{alignDropdown:t,children:Ve(bo,{children:e.map(o=>{let i=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?Zl(xo,{className:"relative",children:[Ve(yo,{children:o.title}),Ve(wo,{children:Ve("ul",{className:r("grid w-[300px] p-2 grid-cols-1",o.dropDownCompact===!0&&o.subMenu.length>6&&" w-[530px] md:grid-cols-2 ",o.dropDownCompact===!0&&o.subMenu.length>12&&" w-[800px] md:grid-cols-3 "),children:o.subMenu&&o.subMenu.map(a=>Ve(La,{title:a.title,href:a.url,newTab:a.newTab,icon:o.dropDownCompact===!0?a.icon:"",children:o.dropDownCompact===!0?a.description:""},a.title))})})]},o.id):Ve(xo,{className:"relative",children:Ve(Bt,{href:o.url,className:ho(),...i,children:o.title})},o.id)})})}),Ea=ql;import{useEffect as om,useState as im}from"react";var No=[.24,.25,.05,1];import{useKey as am}from"react-use";import za from"next/router";import{jsx as Gt,jsxs as Fa}from"react/jsx-runtime";var Kl=({className:e="",icon:t="",title:o,children:i="",href:a="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return Gt("li",{className:"min-h-8",children:Fa("a",{className:r(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:a,...s,children:[t&&Gt("div",{className:"w-6 h-6 shrink-0",children:Gt("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),Fa("div",{className:" ",children:[Gt("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),i&&Gt("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:i})]})]})})},_a=Kl;import{motion as Yl}from"framer-motion";import{jsx as at,jsxs as tm}from"react/jsx-runtime";var Jl={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:No}},exit:{opacity:0,transition:{duration:.05}}},em=({data:e})=>at(Xe,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return at(Yl.div,{variants:Jl,children:t.hasDropdown?tm(qe,{value:t.id,children:[at(Ze,{className:"py-3",children:t.title}),at(Ke,{children:at("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(i=>at(_a,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]}):at("a",{className:"py-3 flex flex-1 items-center text-left justify-between font-medium transition-all hover:underline text-gray-900 border-b border-gray-200",href:t.url,...o,children:t.title})},t.id)})}),Ha=em;import{motion as ni,AnimatePresence as rm,LazyMotion as nm,domAnimation as sm}from"framer-motion";import{jsx as x,jsxs as X}from"react/jsx-runtime";var lm=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,mm=({data:e,className:t})=>{let[o,i]=im(!1);am("Escape",()=>i(!1)),om(()=>{if(!o)return;let s=lm();function l(){i(!1)}return document.body.style.position="fixed",document.body.style.width="100%",za.events.on("routeChangeComplete",l),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:s||0,behavior:"instant"}),za.events.off("routeChangeComplete",l)}},[o]);let a={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},n={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:No}},exit:{opacity:0,transition:{duration:.15}}};return X("div",{className:r(t),children:[X("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>i(!o),children:[x("span",{className:"sr-only",children:"Navigation"}),x(ni.div,{animate:o?"hidden":"visible",variants:a,children:x("svg",{className:r("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:x("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),x(ni.div,{animate:o?"visible":"hidden",variants:a,children:x("svg",{className:r("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:x("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),x(nm,{features:sm,children:x(rm,{mode:"wait",children:o&&X(ni.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:r(t,"fixed block w-full max-w-full z-50 px-5 bg-white left-0 right-0 bottom-0 overflow-y-auto top-[calc(var(--header-height)+1px)] pb-24 "),children:[x(Ha,{data:e}),X("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[x("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),X("div",{className:"flex flex-nowrap",children:[x("div",{className:"flex-initial",children:x("a",{className:"link-white",target:"_blank",href:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",children:x("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),x("div",{className:"ml-3 flex-initial",children:x("a",{href:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",className:"link-white",target:"_blank",children:x("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),x("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),X("ul",{className:"mb-2 text-sm text-gray-500",children:[X("li",{className:"mb-1",children:["Hotline :\xA0",x("a",{href:`tel:${ke.Support.Hotline}`,className:"text-gray-600",children:ke.Support.Hotline_Format})]}),X("li",{className:"mb-1",children:["Email :\xA0",x("a",{href:`mailto:${ke.Support.Email}`,className:"text-gray-600",children:ke.Support.Email})]})]}),x("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:X("div",{className:"relative inline-block overflow-hidden rounded border border-gray-300 bg-white py-1 pl-10 pr-2 hover:bg-gray-100",children:[x("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:x("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:X("g",{children:[x("title",{children:"Asset 1"}),x("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
121
121
  V56.3C312,38.2,297.5,23.7,279.4,23.7z M226.8,77.1H86.1c-8.1,0-13.5-5.4-13.5-13.5c0-8.1,5.4-13.5,13.5-13.5h140.8
122
- c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),b("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
122
+ c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),x("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`})]})})}),b("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),b("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),U("ul",{className:"mb-2 text-sm text-gray-500",children:[U("li",{className:"mb-1",children:["Hotline :\xA0",b("a",{className:"text-gray-600",href:`tel:${Re.Business.Phome}`,children:Re.Business.Phome_Format})]}),U("li",{className:"mb-1",children:["Email :\xA0",U("a",{href:`mailto:${Re.Business.Email}`,className:"text-gray-600",children:[" ",Re.Business.Email]})]})]}),b("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:U("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:[b("div",{className:"absolute left-1 top-1 ",children:b("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),b("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),b("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},Fi=Kl;import Yl from"html-react-parser";import{ArrowDownTrayIcon as Jl}from"@heroicons/react/16/solid";import{useState as em}from"react";import{jsx as ue,jsxs as ot}from"react/jsx-runtime";var _i=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:a=!1,navigationRight:i,isSticky:n=!0,alignDropdown:s="left"})=>{let{logo:l,name:d,url:p}=o||{},[f,x]=em(!1);return ot("div",{className:r(e,"z-40 w-full flex-none lg:z-50 ",n?"sticky top-0 ":"relative"),children:[ue("div",{className:r("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),ue("nav",{className:r("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:ot("div",{className:"relative flex items-center ",children:[ot("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[ue("span",{className:"sr-only",children:"MoMo home page"}),ue("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&ot("a",{href:p,title:d,className:" relative flex flex-none 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:[ue("img",{src:l,className:"w-9 h-9",alt:"MoMo"}),ue("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:d&&Yl(d)})]}),ue("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:ue(Ai,{data:t,alignDropdown:s})}),ot("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[i&&i,a&&ot("div",{className:" hidden sm:flex",children:[ot(ne,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>x(!0),children:[" ",ue(Jl,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),ue(Ze,{open:f,onOpenChange:()=>x(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),ue(Fi,{data:t,className:"lg:hidden "})]})]})})]})};_i.displayName="HeaderNavigation";import{useState as tm}from"react";import{Fragment as am,jsx as c,jsxs as N}from"react/jsx-runtime";var Hi=({item:e})=>c("div",{className:"mt-3 flex w-full text-sm",children:N("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&&c("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:c("img",{src:e.icon,className:"absolute inset-0"})}),c("span",{className:"block ",children:e.title})]})}),om=({primaryMenu:e,secondaryMenu:t})=>{let[o,a]=tm(null);return N(am,{children:[c("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:N("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:[N("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((i,n)=>c(Hi,{item:i},n))]}),N("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),c("div",{className:"flex flex-wrap",children:t?.lists?.map((i,n)=>c(Hi,{item:i},n))})]}),N("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[N("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),N("div",{className:"mt-2 text-sm md:mt-3",children:[c("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),c("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:ya.Address})]}),N("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Hotline : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Support.Hotline}`,children:j.Support.Hotline_Format}),N("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),N("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Email : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${j.Support.Email}`,children:j.Support.Email})]}),N("div",{className:"mt-1 text-sm",children:[N("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Support.Phone_Ext_1}`,children:j.Support.Phone_Ext_1_Format}),c("span",{className:"text-white text-opacity-60",children:" - "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Support.Phone_Ext_2}`,children:j.Support.Phone_Ext_2_Format}),c("span",{className:"text-white text-opacity-60",children:" - "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Support.Phone_Ext_3}`,children:j.Support.Phone_Ext_3_Format}),c("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),c("div",{className:"mt-3 flex",children:c("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:N("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[c("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:c("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:N("g",{children:[c("title",{children:"Asset 1"}),c("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`})]})})}),x("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),x("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),x("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),X("ul",{className:"mb-2 text-sm text-gray-500",children:[X("li",{className:"mb-1",children:["Hotline :\xA0",x("a",{className:"text-gray-600",href:`tel:${ke.Business.Phome}`,children:ke.Business.Phome_Format})]}),X("li",{className:"mb-1",children:["Email :\xA0",X("a",{href:`mailto:${ke.Business.Email}`,className:"text-gray-600",children:[" ",ke.Business.Email]})]})]}),x("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:X("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:[x("div",{className:"absolute left-1 top-1 ",children:x("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),x("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),x("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},Ba=mm;import cm from"html-react-parser";import{ArrowDownTrayIcon as dm}from"@heroicons/react/16/solid";import{useState as pm}from"react";import{jsx as be,jsxs as rt}from"react/jsx-runtime";var Va=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:i=!1,navigationRight:a,isSticky:n=!0,alignDropdown:s="left"})=>{let{logo:l,name:d,url:p}=o||{},[f,h]=pm(!1);return rt("div",{className:r(e,"z-40 w-full flex-none lg:z-50 ",n?"sticky top-0 ":"relative"),children:[be("div",{className:r("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),be("nav",{className:r("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:rt("div",{className:"relative flex items-center ",children:[rt("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[be("span",{className:"sr-only",children:"MoMo home page"}),be("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&rt("a",{href:p,title:d,className:" relative flex flex-none 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:[be("img",{src:l,className:"w-9 h-9",alt:"MoMo"}),be("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:d&&cm(d)})]}),be("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:be(Ea,{data:t,alignDropdown:s})}),rt("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[a&&a,i&&rt("div",{className:" hidden sm:flex",children:[rt(le,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>h(!0),children:[" ",be(dm,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),be(Je,{open:f,onOpenChange:()=>h(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),be(Ba,{data:t,className:"lg:hidden "})]})]})})]})};Va.displayName="HeaderNavigation";import{useState as fm}from"react";import{Fragment as um,jsx as c,jsxs as N}from"react/jsx-runtime";var Oa=({item:e})=>c("div",{className:"mt-3 flex w-full text-sm",children:N("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&&c("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:c("img",{src:e.icon,className:"absolute inset-0"})}),c("span",{className:"block ",children:e.title})]})}),gm=({primaryMenu:e,secondaryMenu:t})=>{let[o,i]=fm(null);return N(um,{children:[c("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:N("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:[N("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((a,n)=>c(Oa,{item:a},n))]}),N("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),c("div",{className:"flex flex-wrap",children:t?.lists?.map((a,n)=>c(Oa,{item:a},n))})]}),N("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[N("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),N("div",{className:"mt-2 text-sm md:mt-3",children:[c("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),c("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:Ci.Address})]}),N("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Hotline : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${Q.Support.Hotline}`,children:Q.Support.Hotline_Format}),N("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),N("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Email : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${Q.Support.Email}`,children:Q.Support.Email})]}),N("div",{className:"mt-1 text-sm",children:[N("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${Q.Support.Phone_Ext_1}`,children:Q.Support.Phone_Ext_1_Format}),c("span",{className:"text-white text-opacity-60",children:" - "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${Q.Support.Phone_Ext_2}`,children:Q.Support.Phone_Ext_2_Format}),c("span",{className:"text-white text-opacity-60",children:" - "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${Q.Support.Phone_Ext_3}`,children:Q.Support.Phone_Ext_3_Format}),c("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),c("div",{className:"mt-3 flex",children:c("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:N("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[c("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:c("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:N("g",{children:[c("title",{children:"Asset 1"}),c("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`}),c("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
128
- 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`})]})})}),c("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),c("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),N("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),N("div",{className:"mt-2 text-sm md:mt-3",children:[c("span",{className:"text-white text-opacity-50",children:"Hotline : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Business.Phome}`,children:j.Business.Phome_Format})]}),N("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Email : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${j.Business.Email}`,children:j.Business.Email})]}),N("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Website : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:"https://business.momo.vn/","aria-label":"MoMo Business",rel:"noreferrer",target:"_blank",children:"business.momo.vn"})]}),c("div",{className:"mt-3 flex",children:c("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:N("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[c("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:N("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[c("path",{d:"M9.5688 5.21563C8.63815 5.98097 9.08817 8.15453 11.2556 6.84427C11.2556 6.84427 13.9037 5.51871 15.4497 4.6401C15.7864 4.4503 16.0129 4.51152 16.2946 4.83297C16.6038 5.05644 23.6112 12.8813 23.6112 12.8813C23.6112 12.8813 25.7725 11.2404 26.6144 9.51683C26.6144 9.51683 24.6735 5.8677 22.8214 2.24612C22.2857 2.5492 21.8265 2.83696 21.2111 2.66247C20.5744 2.48185 20.0478 1.98285 19.4723 1.64916C18.8171 1.26649 18.26 0.92362 17.5283 0.819534C16.4446 0.663406 15.5935 1.15016 14.6598 1.6859C13.5975 2.29511 12.5689 2.97779 11.5617 3.69414C10.8821 4.17171 10.2178 4.6799 9.5688 5.21563Z",fill:"#fff"}),c("path",{d:"M10.9281 17.4029C10.5638 16.9008 10.6342 16.1538 11.0842 15.7344L13.3068 13.7109C13.7568 13.2884 14.415 13.3527 14.7793 13.8517C15.1436 14.3507 15.0731 15.0977 14.6231 15.5232L12.4006 17.5467C11.9536 17.9631 11.2924 17.9019 10.9281 17.4029Z",fill:"#fff"}),c("path",{d:"M8.87706 15.5385C8.51275 15.0364 8.58317 14.2895 9.03318 13.867L10.7873 12.272C11.2374 11.8496 11.8955 11.9139 12.2598 12.4129C12.6241 12.9149 12.5537 13.6619 12.1037 14.0844L10.3496 15.6824C9.90261 16.1018 9.24136 16.0375 8.87706 15.5385Z",fill:"#fff"}),c("path",{d:"M6.39426 14.014C6.05751 13.4905 6.1616 12.7496 6.62998 12.3547L7.02184 12.0486C7.49022 11.6537 8.14535 11.7608 8.48822 12.2812L8.51271 12.3118C8.85252 12.8353 8.72395 13.5456 8.2525 13.9405L7.86065 14.2466C7.39226 14.6415 6.73407 14.5374 6.39426 14.014Z",fill:"#fff"}),c("path",{d:"M16.2182 16.2671C15.8325 15.7895 15.1712 15.762 14.7396 16.2089L13.7814 17.2039C13.3497 17.6508 13.313 18.4009 13.6987 18.8815C14.0844 19.3621 14.7488 19.3866 15.1773 18.9397L16.1355 17.9447C16.5672 17.4978 16.6039 16.7477 16.2182 16.2671Z",fill:"#fff"}),c("path",{d:"M29.9207 7.86982C30.0799 8.1729 29.9911 8.53108 29.7278 8.66884L28.1145 9.51989C27.8512 9.65459 27.5084 9.51989 27.3522 9.21682L23.5255 1.81447C23.3694 1.5114 23.4551 1.15322 23.7184 1.01546L25.3317 0.167464C25.595 0.0297027 25.9379 0.167463 26.094 0.470537L29.9207 7.86982Z",fill:"#fff"}),c("path",{d:"M2.61348 9.14334C2.49409 9.46479 2.18489 9.6454 1.92467 9.54744L0.299097 8.98415C0.0388821 8.88619 -0.0713265 8.54638 0.0480662 8.228L2.9839 0.430738C3.10329 0.109296 3.41249 -0.0713245 3.67271 0.0266388L5.29828 0.592989C5.5585 0.690952 5.66871 1.03076 5.54931 1.34914L2.61348 9.14334Z",fill:"#fff"}),c("path",{d:"M23.5224 13.8395L23.5163 13.8333C23.4826 14.0109 23.4336 14.1609 23.2989 14.3109C23.0816 14.5528 22.7999 14.6721 22.5152 14.6721C22.2183 14.6721 21.9183 14.5405 21.6887 14.2772L18.9212 11.1393C18.8692 11.0781 18.8049 11.0506 18.7375 11.0506C18.4742 11.0506 18.1804 11.4853 18.4191 11.7363L20.6907 14.2466C21.1223 14.7426 21.1315 15.5079 20.7029 15.9855C20.5039 16.2059 20.259 16.313 20.011 16.313C19.7233 16.313 19.4294 16.1722 19.1967 15.9059L16.5946 13.0037C16.5364 12.9119 16.4629 12.8721 16.3864 12.8721C16.1415 12.8721 15.8843 13.2792 16.1415 13.5731L18.1436 15.8691C18.563 16.3498 18.5293 17.0967 18.1161 17.5621C17.9263 17.7733 17.6936 17.8743 17.4548 17.8743C17.3171 17.8743 17.1762 17.8406 17.0415 17.7733C16.9589 17.9937 16.8364 18.2019 16.6772 18.3856C16.9221 18.5203 17.1885 18.5968 17.4548 18.5968C17.8926 18.5968 18.3059 18.407 18.6181 18.058C18.9426 17.6968 19.111 17.2376 19.1294 16.7753C19.3988 16.9437 19.7049 17.0355 20.011 17.0355C20.4611 17.0355 20.8866 16.8396 21.208 16.4814C21.5295 16.1232 21.6948 15.6579 21.707 15.1895C21.955 15.3242 22.2336 15.3946 22.5152 15.3946C23.005 15.3946 23.4612 15.1834 23.801 14.8038C24.1255 14.4395 24.1837 14.0599 24.2235 13.7844C24.2449 13.6343 24.2173 13.4843 24.1561 13.3527C24.0765 13.417 24.0275 13.4537 24.0153 13.4629L23.5224 13.8395Z",fill:"#fff"}),c("path",{d:"M6.20135 11.7914L6.21053 11.7822L6.21972 11.7731L6.38503 11.6445C5.02579 10.2669 4.19616 9.2505 4.19616 9.2505C5.5003 5.92894 6.97587 1.88183 6.97587 1.88183C6.96363 2.11143 7.73509 2.52166 7.89122 2.58288C8.14837 2.68697 8.42695 2.73595 8.70553 2.73595C8.78513 2.73595 8.86166 2.73289 8.9382 2.7237C9.75252 2.64105 10.5179 2.17266 11.2342 1.7655C11.7179 1.49304 12.3179 1.21446 12.8843 1.21446C13.1537 1.21446 13.4139 1.28487 13.6557 1.441C13.8731 1.30936 14.0874 1.18078 14.2986 1.06139C14.2619 1.01547 14.2221 0.972612 14.1762 0.935876C13.8088 0.641986 13.3741 0.495041 12.8873 0.495041C12.1312 0.495041 11.3965 0.859342 10.9097 1.1318L10.723 1.23895C10.1107 1.58794 9.48006 1.94612 8.87391 2.00735C8.8188 2.01347 8.76064 2.01653 8.70553 2.01653C8.50349 2.01653 8.30756 1.9798 8.13918 1.91245C8.01673 1.8604 7.73815 1.69815 7.60651 1.59407C7.52079 1.38589 7.34323 1.22977 7.11976 1.17772C7.07077 1.16548 7.02179 1.16242 6.97587 1.16242C6.69729 1.16242 6.43707 1.34304 6.33299 1.62774C6.31768 1.66754 4.84517 5.70546 3.5594 8.97804C3.46144 9.22907 3.5043 9.51684 3.67267 9.72195C3.70941 9.76481 4.52985 10.7659 5.87991 12.1374C5.97175 12.0149 6.0789 11.8955 6.20135 11.7914Z",fill:"#fff"})]})}),c("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),c("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),N("div",{className:"col-span-2 gap-8 sm:col-span-1 md:mt-0 md:flex md:flex-col md:flex-wrap md:justify-between ",children:[N("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"K\u1EBFt n\u1ED1i v\u1EDBi ch\xFAng t\xF4i"}),c("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:c("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Ct&&Ct.map((i,n)=>c("li",{className:"inline-block",children:c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:c("img",{src:i.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),N("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"T\u1EA3i \u1EE9ng d\u1EE5ng tr\xEAn \u0111i\u1EC7n tho\u1EA1i"}),N("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[c("div",{className:"relative hidden h-24 w-24 lg:w-20 lg:h-20 grow-0 overflow-hidden rounded-sm bg-white md:block",children:c("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),c("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:ko&&ko.map((i,n)=>N("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${i.Image}) center center / contain no-repeat`},children:[c(ne,{onClick:()=>a(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:i.Name}),c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),c(Ze,{open:o===n,onOpenChange:()=>a(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:i.Link})]},n))}),c("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:c("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Ct&&Ct.map((i,n)=>c("li",{children:c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:c("img",{alt:i.Name,src:i.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),N("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"\u0110\u01B0\u1EE3c ch\u1EE9ng nh\u1EADn b\u1EDFi"}),N("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[N("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),c("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:c("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),c("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:N("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[N("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[c("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),N("div",{className:"shrink pl-3",children:[c("div",{className:"text-sm text-white text-opacity-80 md:mb-1.5 ",children:"C\xD4NG TY C\u1ED4 PH\u1EA6N D\u1ECACH V\u1EE4 DI \u0110\u1ED8NG TR\u1EF0C TUY\u1EBEN"}),c("span",{className:"hidden text-xs text-white text-opacity-50 md:block lg:text-sm lg:leading-none",children:"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, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"})]})]}),c("span",{className:"block text-sm text-white text-opacity-50 md:hidden",children:"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, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"}),N("span",{className:"hidden w-48 flex-none text-right text-sm text-white text-opacity-50 md:block",children:["\xA9Copyright M_Service ",new Date().getFullYear()]})]})}),c("style",{children:`
128
+ 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`})]})})}),c("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),c("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),N("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),N("div",{className:"mt-2 text-sm md:mt-3",children:[c("span",{className:"text-white text-opacity-50",children:"Hotline : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${Q.Business.Phome}`,children:Q.Business.Phome_Format})]}),N("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Email : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${Q.Business.Email}`,children:Q.Business.Email})]}),N("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Website : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:"https://business.momo.vn/","aria-label":"MoMo Business",rel:"noreferrer",target:"_blank",children:"business.momo.vn"})]}),c("div",{className:"mt-3 flex",children:c("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:N("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[c("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:N("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[c("path",{d:"M9.5688 5.21563C8.63815 5.98097 9.08817 8.15453 11.2556 6.84427C11.2556 6.84427 13.9037 5.51871 15.4497 4.6401C15.7864 4.4503 16.0129 4.51152 16.2946 4.83297C16.6038 5.05644 23.6112 12.8813 23.6112 12.8813C23.6112 12.8813 25.7725 11.2404 26.6144 9.51683C26.6144 9.51683 24.6735 5.8677 22.8214 2.24612C22.2857 2.5492 21.8265 2.83696 21.2111 2.66247C20.5744 2.48185 20.0478 1.98285 19.4723 1.64916C18.8171 1.26649 18.26 0.92362 17.5283 0.819534C16.4446 0.663406 15.5935 1.15016 14.6598 1.6859C13.5975 2.29511 12.5689 2.97779 11.5617 3.69414C10.8821 4.17171 10.2178 4.6799 9.5688 5.21563Z",fill:"#fff"}),c("path",{d:"M10.9281 17.4029C10.5638 16.9008 10.6342 16.1538 11.0842 15.7344L13.3068 13.7109C13.7568 13.2884 14.415 13.3527 14.7793 13.8517C15.1436 14.3507 15.0731 15.0977 14.6231 15.5232L12.4006 17.5467C11.9536 17.9631 11.2924 17.9019 10.9281 17.4029Z",fill:"#fff"}),c("path",{d:"M8.87706 15.5385C8.51275 15.0364 8.58317 14.2895 9.03318 13.867L10.7873 12.272C11.2374 11.8496 11.8955 11.9139 12.2598 12.4129C12.6241 12.9149 12.5537 13.6619 12.1037 14.0844L10.3496 15.6824C9.90261 16.1018 9.24136 16.0375 8.87706 15.5385Z",fill:"#fff"}),c("path",{d:"M6.39426 14.014C6.05751 13.4905 6.1616 12.7496 6.62998 12.3547L7.02184 12.0486C7.49022 11.6537 8.14535 11.7608 8.48822 12.2812L8.51271 12.3118C8.85252 12.8353 8.72395 13.5456 8.2525 13.9405L7.86065 14.2466C7.39226 14.6415 6.73407 14.5374 6.39426 14.014Z",fill:"#fff"}),c("path",{d:"M16.2182 16.2671C15.8325 15.7895 15.1712 15.762 14.7396 16.2089L13.7814 17.2039C13.3497 17.6508 13.313 18.4009 13.6987 18.8815C14.0844 19.3621 14.7488 19.3866 15.1773 18.9397L16.1355 17.9447C16.5672 17.4978 16.6039 16.7477 16.2182 16.2671Z",fill:"#fff"}),c("path",{d:"M29.9207 7.86982C30.0799 8.1729 29.9911 8.53108 29.7278 8.66884L28.1145 9.51989C27.8512 9.65459 27.5084 9.51989 27.3522 9.21682L23.5255 1.81447C23.3694 1.5114 23.4551 1.15322 23.7184 1.01546L25.3317 0.167464C25.595 0.0297027 25.9379 0.167463 26.094 0.470537L29.9207 7.86982Z",fill:"#fff"}),c("path",{d:"M2.61348 9.14334C2.49409 9.46479 2.18489 9.6454 1.92467 9.54744L0.299097 8.98415C0.0388821 8.88619 -0.0713265 8.54638 0.0480662 8.228L2.9839 0.430738C3.10329 0.109296 3.41249 -0.0713245 3.67271 0.0266388L5.29828 0.592989C5.5585 0.690952 5.66871 1.03076 5.54931 1.34914L2.61348 9.14334Z",fill:"#fff"}),c("path",{d:"M23.5224 13.8395L23.5163 13.8333C23.4826 14.0109 23.4336 14.1609 23.2989 14.3109C23.0816 14.5528 22.7999 14.6721 22.5152 14.6721C22.2183 14.6721 21.9183 14.5405 21.6887 14.2772L18.9212 11.1393C18.8692 11.0781 18.8049 11.0506 18.7375 11.0506C18.4742 11.0506 18.1804 11.4853 18.4191 11.7363L20.6907 14.2466C21.1223 14.7426 21.1315 15.5079 20.7029 15.9855C20.5039 16.2059 20.259 16.313 20.011 16.313C19.7233 16.313 19.4294 16.1722 19.1967 15.9059L16.5946 13.0037C16.5364 12.9119 16.4629 12.8721 16.3864 12.8721C16.1415 12.8721 15.8843 13.2792 16.1415 13.5731L18.1436 15.8691C18.563 16.3498 18.5293 17.0967 18.1161 17.5621C17.9263 17.7733 17.6936 17.8743 17.4548 17.8743C17.3171 17.8743 17.1762 17.8406 17.0415 17.7733C16.9589 17.9937 16.8364 18.2019 16.6772 18.3856C16.9221 18.5203 17.1885 18.5968 17.4548 18.5968C17.8926 18.5968 18.3059 18.407 18.6181 18.058C18.9426 17.6968 19.111 17.2376 19.1294 16.7753C19.3988 16.9437 19.7049 17.0355 20.011 17.0355C20.4611 17.0355 20.8866 16.8396 21.208 16.4814C21.5295 16.1232 21.6948 15.6579 21.707 15.1895C21.955 15.3242 22.2336 15.3946 22.5152 15.3946C23.005 15.3946 23.4612 15.1834 23.801 14.8038C24.1255 14.4395 24.1837 14.0599 24.2235 13.7844C24.2449 13.6343 24.2173 13.4843 24.1561 13.3527C24.0765 13.417 24.0275 13.4537 24.0153 13.4629L23.5224 13.8395Z",fill:"#fff"}),c("path",{d:"M6.20135 11.7914L6.21053 11.7822L6.21972 11.7731L6.38503 11.6445C5.02579 10.2669 4.19616 9.2505 4.19616 9.2505C5.5003 5.92894 6.97587 1.88183 6.97587 1.88183C6.96363 2.11143 7.73509 2.52166 7.89122 2.58288C8.14837 2.68697 8.42695 2.73595 8.70553 2.73595C8.78513 2.73595 8.86166 2.73289 8.9382 2.7237C9.75252 2.64105 10.5179 2.17266 11.2342 1.7655C11.7179 1.49304 12.3179 1.21446 12.8843 1.21446C13.1537 1.21446 13.4139 1.28487 13.6557 1.441C13.8731 1.30936 14.0874 1.18078 14.2986 1.06139C14.2619 1.01547 14.2221 0.972612 14.1762 0.935876C13.8088 0.641986 13.3741 0.495041 12.8873 0.495041C12.1312 0.495041 11.3965 0.859342 10.9097 1.1318L10.723 1.23895C10.1107 1.58794 9.48006 1.94612 8.87391 2.00735C8.8188 2.01347 8.76064 2.01653 8.70553 2.01653C8.50349 2.01653 8.30756 1.9798 8.13918 1.91245C8.01673 1.8604 7.73815 1.69815 7.60651 1.59407C7.52079 1.38589 7.34323 1.22977 7.11976 1.17772C7.07077 1.16548 7.02179 1.16242 6.97587 1.16242C6.69729 1.16242 6.43707 1.34304 6.33299 1.62774C6.31768 1.66754 4.84517 5.70546 3.5594 8.97804C3.46144 9.22907 3.5043 9.51684 3.67267 9.72195C3.70941 9.76481 4.52985 10.7659 5.87991 12.1374C5.97175 12.0149 6.0789 11.8955 6.20135 11.7914Z",fill:"#fff"})]})}),c("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),c("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),N("div",{className:"col-span-2 gap-8 sm:col-span-1 md:mt-0 md:flex md:flex-col md:flex-wrap md:justify-between ",children:[N("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"K\u1EBFt n\u1ED1i v\u1EDBi ch\xFAng t\xF4i"}),c("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:c("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:kt&&kt.map((a,n)=>c("li",{className:"inline-block",children:c("a",{href:a.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:c("img",{src:a.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),N("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"T\u1EA3i \u1EE9ng d\u1EE5ng tr\xEAn \u0111i\u1EC7n tho\u1EA1i"}),N("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[c("div",{className:"relative hidden h-24 w-24 lg:w-20 lg:h-20 grow-0 overflow-hidden rounded-sm bg-white md:block",children:c("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),c("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:Io&&Io.map((a,n)=>N("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${a.Image}) center center / contain no-repeat`},children:[c(le,{onClick:()=>i(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:a.Name}),c("a",{href:a.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),c(Je,{open:o===n,onOpenChange:()=>i(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:a.Link})]},n))}),c("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:c("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:kt&&kt.map((a,n)=>c("li",{children:c("a",{href:a.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:c("img",{alt:a.Name,src:a.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),N("div",{className:"h-auto",children:[c("div",{className:"hidden whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80 md:block",children:"\u0110\u01B0\u1EE3c ch\u1EE9ng nh\u1EADn b\u1EDFi"}),N("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[N("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),c("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:c("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),c("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:N("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[N("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[c("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),N("div",{className:"shrink pl-3",children:[c("div",{className:"text-sm text-white text-opacity-80 md:mb-1.5 ",children:"C\xD4NG TY C\u1ED4 PH\u1EA6N D\u1ECACH V\u1EE4 DI \u0110\u1ED8NG TR\u1EF0C TUY\u1EBEN"}),c("span",{className:"hidden text-xs text-white text-opacity-50 md:block lg:text-sm lg:leading-none",children:"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, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"})]})]}),c("span",{className:"block text-sm text-white text-opacity-50 md:hidden",children:"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, P. T\xE2n Ph\xFA, Q. 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh"}),N("span",{className:"hidden w-48 flex-none text-right text-sm text-white text-opacity-50 md:block",children:["\xA9Copyright M_Service ",new Date().getFullYear()]})]})}),c("style",{children:`
129
129
  footer .button-download {
130
130
  max-width: 150px;
131
131
  }
132
- `})]})},zi=om;import{jsx as Bi}from"react/jsx-runtime";var im=({className:e,primaryMenu:t,secondaryMenu:o})=>Bi("footer",{className:r("grid grid-cols-1 flex-wrap bg-gray-900",e),children:Bi(zi,{primaryMenu:t,secondaryMenu:o})});import*as at from"react";import{jsx as xt}from"react/jsx-runtime";var Vi=at.forwardRef(({className:e,...t},o)=>xt("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Vi.displayName="Card";var Oi=at.forwardRef(({className:e,...t},o)=>xt("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));Oi.displayName="CardHeader";var Gi=at.forwardRef(({className:e,...t},o)=>xt("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));Gi.displayName="CardTitle";var $i=at.forwardRef(({className:e,...t},o)=>xt("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));$i.displayName="CardDescription";var Wi=at.forwardRef(({className:e,...t},o)=>xt("div",{ref:o,className:r("p-6 pt-0",e),...t}));Wi.displayName="CardContent";var ji=at.forwardRef(({className:e,...t},o)=>xt("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));ji.displayName="CardFooter";import*as me from"react";import{Command as X}from"cmdk";import{XCircleIcon as rm,MagnifyingGlassIcon as nm,CheckIcon as sm}from"@heroicons/react/16/solid";import{jsx as te,jsxs as Ji}from"react/jsx-runtime";var aa=me.forwardRef(({className:e,...t},o)=>te(X,{ref:o,className:r("flex text-gray-900 border border-gray-300 shadow-lg bg-white h-full w-full flex-col overflow-hidden rounded-md",e),...t}));aa.displayName=X.displayName;var lm=({children:e,...t})=>te(qe,{...t,children:te(Le,{className:"overflow-hidden p-0 shadow-lg",children:te(aa,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),Qi=me.forwardRef(({className:e,onClickClear:t,classNameInput:o,...a},i)=>{let n=me.useRef(null),[s,l]=me.useState(""),d=()=>{!s||s?.length<=0||(l(""),t?.(s))};return Ji("div",{ref:n,className:r("flex items-center border-b px-3",e),"cmdk-input-wrapper":"",children:[te(nm,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),te(X.Input,{ref:i,className:r("flex h-10 text-gray-900 w-full rounded-md focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",o),value:s,onValueChange:l,...a}),te(rm,{onClick:d,className:r("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",s?.length>0?"opacity-100":"opacity-0")})]})});Qi.displayName=X.Input.displayName;var Ui=me.forwardRef(({className:e,...t},o)=>te(X.List,{ref:o,className:r("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));Ui.displayName=X.List.displayName;var Xi=me.forwardRef((e,t)=>te(X.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));Xi.displayName=X.Empty.displayName;var qi=me.forwardRef(({className:e,...t},o)=>te(X.Group,{ref:o,className:r("overflow-hidden text-gray-900 p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));qi.displayName=X.Group.displayName;var Zi=me.forwardRef(({className:e,...t},o)=>te(X.Separator,{ref:o,className:r("-mx-1 text-gray-900 h-px bg-border",e),...t}));Zi.displayName=X.Separator.displayName;var Ki=me.forwardRef(({className:e,children:t,isActive:o,...a},i)=>Ji(X.Item,{ref:i,className:r("relative cursor-pointer text-gray-900 flex rounded-md select-none hover:bg-gray-100 aria-selected:bg-gray-100 aria-selected:text-gray-900 items-center px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o?"bg-gray-100":"",e),...a,children:[te(sm,{className:r("h-4 w-4 mr-2",o?"opacity-100":"opacity-0")}),t]}));Ki.displayName=X.Item.displayName;var Yi=({className:e,...t})=>te("span",{className:r("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});Yi.displayName="CommandShortcut";import{ChevronDownIcon as mm}from"@heroicons/react/16/solid";import{jsx as ho,jsxs as er}from"react/jsx-runtime";var cm=({className:e,value:t,label:o,children:a,placeholder:i})=>er("div",{className:"relative",children:[er(At,{className:r("focus-visible:outline-none w-72 focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 select-mobase-button bg-white ring-0 transition-all rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),children:[t||a||i,ho(mm,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&ho("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),dm=({children:e,className:t})=>ho(ct,{className:r("!p-0 border-none",t),children:e}),pm=({open:e,onOpenChange:t,children:o})=>ho(Dt,{open:e,onOpenChange:t,children:o});import{cva as or}from"class-variance-authority";import{forwardRef as fm}from"react";import{InformationCircleIcon as gm}from"@heroicons/react/24/outline";import{jsx as ia,jsxs as tr}from"react/jsx-runtime";var um=or("px-3 py-2 rounded-md border flex items-center space-x-2 text-gray-700 text-sm ",{variants:{typeDiv:{neutral:"bg-gray-50 border-gray-300 ",error:"bg-red-50 border-red-300",success:"bg-green-50 border-green-300",warning:"bg-yellow-50 border-yellow-300",info:"bg-blue-50 border-blue-300"},disabled:{true:"text-gray-400 bg-gray-50 opacity-55 pointer-events-none border-gray-300"}},defaultVariants:{typeDiv:"neutral"}}),vm=or("w-5 h-5 shrink-0 border-none p-0 ",{variants:{typeIcon:{neutral:"text-gray-700",error:"text-red-700",success:"text-green-700",warning:"text-yellow-700",info:"text-blue-700"},disabled:{true:"text-gray-400"}},defaultVariants:{typeIcon:"neutral"}}),bm=fm(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:a,className:i,disabled:n,actionClassName:s,icon:l,...d},p)=>tr("div",{ref:p,className:r("",i,um({typeDiv:e,disabled:n})),...d,children:[tr("div",{className:"flex items-center space-x-2",children:[l||ia(gm,{className:r(vm({typeIcon:e,disabled:n})),width:20,height:20}),t&&ia("div",{children:t})]}),o&&ia(ut,{variant:"primary",onClick:()=>a?.(),className:r("",s),isDisabled:n,children:o})]}));import{forwardRef as xm,useEffect as hm,useRef as ym,useState as Nm}from"react";import{MagnifyingGlassIcon as wm}from"@heroicons/react/20/solid";import{XCircleIcon as Pm}from"@heroicons/react/24/outline";import{jsx as ht,jsxs as ar}from"react/jsx-runtime";var Cm=xm(({disabled:e,className:t,inputClassName:o,size:a,onChange:i,onFocus:n,onClickClear:s,value:l,defaultValue:d,type:p="text",...f},x)=>{let[h,L]=Nm(!1),H=ym(null),_=k=>{k&&!h&&L(!0),!k&&h&&L(!1)},W=k=>{_(k.target.value),i?.(k)},z=k=>{_(k.target.value),n?.(k)},B=()=>{let k=H.current?.querySelector("input");k&&(s?.(k.value),k.value="",k.focus(),L(!1))};return hm(()=>{_(d||l)},[l,d]),ar("div",{className:r(t),ref:H,children:[ar("div",{className:"relative flex items-center",children:[ht("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:ht(wm,{className:"w-4 h-4 text-gray-500"})}),ht("input",{disabled:e,type:p,ref:x,className:r("mobase-text-input-box text-gray-900 h-10 bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 px-9 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block disabled:opacity-50",o),onChange:W,onFocus:z,value:l,defaultValue:d,...f}),h&&ht("button",{"aria-label":"button",type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 shrink-0 cursor-pointer text-gray-500 duration-200 hover:opacity-70 disabled:pointer-events-none",disabled:e,onClick:B,children:ht(Pm,{strokeWidth:2,width:20,height:20})})]}),ht("style",{children:`
132
+ `})]})},Ga=gm;import{jsx as Wa}from"react/jsx-runtime";var vm=({className:e,primaryMenu:t,secondaryMenu:o})=>Wa("footer",{className:r("grid grid-cols-1 flex-wrap bg-gray-900",e),children:Wa(Ga,{primaryMenu:t,secondaryMenu:o})});import*as nt from"react";import{jsx as wt}from"react/jsx-runtime";var $a=nt.forwardRef(({className:e,...t},o)=>wt("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));$a.displayName="Card";var ja=nt.forwardRef(({className:e,...t},o)=>wt("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));ja.displayName="CardHeader";var Qa=nt.forwardRef(({className:e,...t},o)=>wt("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));Qa.displayName="CardTitle";var Ua=nt.forwardRef(({className:e,...t},o)=>wt("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Ua.displayName="CardDescription";var Xa=nt.forwardRef(({className:e,...t},o)=>wt("div",{ref:o,className:r("p-6 pt-0",e),...t}));Xa.displayName="CardContent";var qa=nt.forwardRef(({className:e,...t},o)=>wt("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));qa.displayName="CardFooter";import*as de from"react";import{Command as Z}from"cmdk";import{XCircleIcon as bm,MagnifyingGlassIcon as xm}from"@heroicons/react/16/solid";import{jsx as ie,jsxs as ym}from"react/jsx-runtime";var si=de.forwardRef(({className:e,...t},o)=>ie(Z,{ref:o,className:r("flex text-gray-900 border border-gray-300 shadow-lg bg-white h-full w-full flex-col overflow-hidden rounded-md",e),...t}));si.displayName=Z.displayName;var hm=({children:e,...t})=>ie(Ye,{...t,children:ie(_e,{className:"overflow-hidden p-0 shadow-lg",children:ie(si,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),Za=de.forwardRef(({className:e,onClickClear:t,classNameInput:o,...i},a)=>{let n=de.useRef(null),[s,l]=de.useState(""),d=()=>{!s||s?.length<=0||(l(""),t?.(s))};return ym("div",{ref:n,className:r("flex items-center border-b px-2",e),"cmdk-input-wrapper":"",children:[ie(xm,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),ie(Z.Input,{ref:a,className:r("flex h-10 text-gray-900 w-full rounded-md focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",o),value:s,onValueChange:l,...i}),ie(bm,{onClick:d,className:r("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",s?.length>0?"opacity-100":"opacity-0")})]})});Za.displayName=Z.Input.displayName;var Ka=de.forwardRef(({className:e,...t},o)=>ie(Z.List,{ref:o,className:r("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));Ka.displayName=Z.List.displayName;var Ya=de.forwardRef((e,t)=>ie(Z.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));Ya.displayName=Z.Empty.displayName;var Ja=de.forwardRef(({className:e,...t},o)=>ie(Z.Group,{ref:o,className:r("overflow-hidden text-gray-900 p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));Ja.displayName=Z.Group.displayName;var er=de.forwardRef(({className:e,...t},o)=>ie(Z.Separator,{ref:o,className:r("-mx-1 text-gray-900 h-px bg-border",e),...t}));er.displayName=Z.Separator.displayName;var tr=de.forwardRef(({className:e,children:t,...o},i)=>ie(Z.Item,{ref:i,className:r("relative cursor-pointer text-gray-900 flex rounded-md select-none hover:bg-gray-100 aria-selected:bg-gray-100 aria-selected:text-gray-900 items-center px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:t}));tr.displayName=Z.Item.displayName;var or=({className:e,...t})=>ie("span",{className:r("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});or.displayName="CommandShortcut";import{ChevronDownIcon as wm}from"@heroicons/react/16/solid";import{jsx as Po,jsxs as ir}from"react/jsx-runtime";var Nm=({className:e,value:t,label:o,children:i,placeholder:a,size:n})=>ir("div",{className:"relative",children:[ir(Lt,{className:r("focus-visible:outline-none w-72 focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 select-mobase-button bg-white ring-0 transition-all rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",n===2&&"h-12 text-base",e),children:[t||i||a,Po(wm,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&Po("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),Pm=({children:e,className:t})=>Po(ft,{className:r("!p-0 border-none",t),children:e}),Cm=({open:e,onOpenChange:t,children:o})=>Po(At,{open:e,onOpenChange:t,children:o});import{cva as rr}from"class-variance-authority";import{forwardRef as Rm}from"react";import{InformationCircleIcon as Tm}from"@heroicons/react/24/outline";import{jsx as li,jsxs as ar}from"react/jsx-runtime";var km=rr("px-3 py-2 rounded-md border flex items-center space-x-2 text-gray-700 text-sm ",{variants:{typeDiv:{neutral:"bg-gray-50 border-gray-300 ",error:"bg-red-50 border-red-300",success:"bg-green-50 border-green-300",warning:"bg-yellow-50 border-yellow-300",info:"bg-blue-50 border-blue-300"},disabled:{true:"text-gray-400 bg-gray-50 opacity-55 pointer-events-none border-gray-300"}},defaultVariants:{typeDiv:"neutral"}}),Sm=rr("w-5 h-5 shrink-0 border-none p-0 ",{variants:{typeIcon:{neutral:"text-gray-700",error:"text-red-700",success:"text-green-700",warning:"text-yellow-700",info:"text-blue-700"},disabled:{true:"text-gray-400"}},defaultVariants:{typeIcon:"neutral"}}),Dm=Rm(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:i,className:a,disabled:n,actionClassName:s,icon:l,...d},p)=>ar("div",{ref:p,className:r("",a,km({typeDiv:e,disabled:n})),...d,children:[ar("div",{className:"flex items-center space-x-2",children:[l||li(Tm,{className:r(Sm({typeIcon:e,disabled:n})),width:20,height:20}),t&&li("div",{children:t})]}),o&&li(xt,{variant:"primary",onClick:()=>i?.(),className:r("",s),isDisabled:n,children:o})]}));import{forwardRef as Mm,useEffect as Im,useRef as Am,useState as Lm}from"react";import{MagnifyingGlassIcon as Em}from"@heroicons/react/20/solid";import{XCircleIcon as Fm}from"@heroicons/react/24/outline";import{jsx as Nt,jsxs as nr}from"react/jsx-runtime";var _m=Mm(({disabled:e,className:t,inputClassName:o,size:i,onChange:a,onFocus:n,onClickClear:s,value:l,defaultValue:d,type:p="text",...f},h)=>{let[y,E]=Lm(!1),z=Am(null),H=S=>{S&&!y&&E(!0),!S&&y&&E(!1)},j=S=>{H(S.target.value),a?.(S)},B=S=>{H(S.target.value),n?.(S)},V=()=>{let S=z.current?.querySelector("input");S&&(s?.(S.value),S.value="",S.focus(),E(!1))};return Im(()=>{H(d||l)},[l,d]),nr("div",{className:r(t),ref:z,children:[nr("div",{className:"relative flex items-center",children:[Nt("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:Nt(Em,{className:"w-4 h-4 text-gray-500"})}),Nt("input",{disabled:e,type:p,ref:h,className:r("mobase-text-input-box text-gray-900 h-10 bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 px-9 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block disabled:opacity-50",o),onChange:j,onFocus:B,value:l,defaultValue:d,...f}),y&&Nt("button",{"aria-label":"button",type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 shrink-0 cursor-pointer text-gray-500 duration-200 hover:opacity-70 disabled:pointer-events-none",disabled:e,onClick:V,children:Nt(Fm,{strokeWidth:2,width:20,height:20})})]}),Nt("style",{children:`
133
133
  .mobase-text-input-box:hover {
134
134
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
135
135
  }
136
136
  .mobase-text-input-box:focus {
137
137
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-pink-500) / 1) inset;
138
138
  }
139
- `})]})});import*as oe from"@radix-ui/react-dialog";import nr,{useContext as Rm,useEffect as rr,useState as ra}from"react";import{X as Tm}from"lucide-react";import km from"lodash";import*as ir from"@radix-ui/react-aspect-ratio";var ce=ir.Root;import{jsx as O,jsxs as Me}from"react/jsx-runtime";var sr=nr.createContext(void 0);function lr(){let e=Rm(sr);if(!e)throw new Error("useLightboxGalleryContext must be used within a LightboxGallery");return e}var na=({children:e,open:t,onOpenChange:o,className:a})=>O(sr.Provider,{value:{open:t,onOpenChange:o},children:O(oe.Root,{open:t,onOpenChange:o,children:O("div",{className:r("lightbox-gallery",a),children:e})})}),Sm=({children:e,src:t,alt:o,className:a,classNameImage:i,onClick:n,ratio:s=4/3})=>{let{onOpenChange:l}=lr(),d=()=>{n?.(),l&&l(!0)};return Me(oe.Trigger,{className:r("",a),onClick:d,children:[e,O(ce,{ratio:s,className:"rounded-lg cursor-pointer",children:O("img",{src:t,alt:o,className:r("w-full h-full object-cover rounded-lg",i)})})]})},mr=nr.forwardRef(({className:e,children:t,...o},a)=>{let{onOpenChange:i}=lr(),n=()=>{i&&i(!1)};return Me(oe.Portal,{children:[O(oe.Overlay,{className:"bg-black fixed inset-0 bg-black/80 z-50"}),Me(oe.Content,{ref:a,className:r("fixed z-[999] w-full h-full inset-0 grid w-full mx-auto bg-black duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",e),...o,children:[t,Me(oe.Close,{onClick:n,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:[O(Tm,{className:"h-4 w-4 mt-0.5"}),O("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]})]})]})});mr.displayName=oe.Content.displayName;var sa=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:a,classNameSubHtmSideBar:i})=>{let[n,s]=ra(""),[l,d]=ra(),[p,f]=ra(0);rr(()=>{l&&(f(l.selectedScrollSnap()+1),l.on("select",()=>{f(l.selectedScrollSnap()+1)}))},[l]);let x=h=>{let L=km.filter(e,(_,W)=>W===(h>0?h-1:h)),H=L.length>0?L[0]?.titleImage:"";s(H)};return rr(()=>{x(p)},[p]),Me(mr,{className:"flex py-0",children:[Me("div",{className:" flex-1 relative",children:[Me("div",{className:"flex items-center text-sm justify-center absolute top-8 md:top-10 w-full",children:[p||1," / ",e?.length]}),Me(eo,{opts:{startIndex:t},setApi:d,className:"w-full h-full relative",children:[O(to,{className:r("h-screen -ml-3 md:-ml-4",o?"sm:w-[calc(100vw-448px)] w-screen":"w-screen"),children:e.map((h,L)=>O(oo,{className:"pl-6 md:pl-4",children:Me("div",{className:" w-full h-full relative pt-28 overflow-hidden flex flex-col",children:[O("div",{className:"flex-1 relative",children:O("img",{src:h.url,alt:"",className:"absolute h-full w-full object-contain"})}),O("div",{className:"flex-0",children:O("div",{className:"text-sm px-20 text-center text-white/80 my-4 flex items-center justify-center w-full",children:O("div",{className:"line-clamp-3",children:n})})})]})},L))}),O(ao,{className:"left-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"}),O(io,{className:"right-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"})]})]}),o&&O("div",{className:r("hidden md:block bg-white text-gray-900 p-6 w-full max-w-md",i),children:a})]})};import*as ze from"react";import*as Be from"@radix-ui/react-radio-group";import{Circle as Dm}from"lucide-react";import*as Vt from"@radix-ui/react-checkbox";import{CheckIcon as Am}from"@heroicons/react/16/solid";import{jsx as Ne,jsxs as gr}from"react/jsx-runtime";var cr=ze.createContext({hideIndicator:!1});function Im(){let e=ze.useContext(cr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var dr=ze.forwardRef(({className:e,hideIndicator:t=!1,...o},a)=>Ne(cr.Provider,{value:{hideIndicator:t},children:Ne(Be.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:a})}));dr.displayName=Be.Root.displayName;var pr=ze.forwardRef(({className:e,children:t,...o},a)=>{let i=Im(),{hideIndicator:n}=i??{};return gr(Be.Item,{ref:a,className:r("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[Ne("div",{className:"flex-1 min-w-0",children:t}),!n&&Ne("div",{className:r("flex-none aspect-square h-4 w-4 rounded-full border-2 border-gray-300 group-disabled:bg-gray-200 group-disabled:data-[state=checked]:text-gray-300 group-data-[state=checked]:text-white group-disabled:data-[state=checked]:bg-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:border-none group-disabled:cursor-default has"),children:Ne(Be.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Ne(Dm,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});pr.displayName=Be.Item.displayName;var fr=ze.forwardRef(({className:e,children:t,...o},a)=>gr(Vt.Root,{ref:a,className:r("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[Ne("div",{className:"flex-1 min-w-0",children:t}),Ne("div",{className:"h-4 w-4 shrink-0 rounded border-2 group-disabled:bg-gray-300 border-gray-300 ring-offset-background group-disabled:cursor-default group-disabled:bg-gray-100 group-data-[state=checked]:border-none group-disabled:data-[state=checked]:bg-gray-400 group-disabled:data-[state=checked]:text-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:text-white",children:Ne(Vt.Indicator,{className:r("flex items-center justify-center text-current"),children:Ne(Am,{className:"h-4 w-4"})})})]}));fr.displayName=Vt.Root.displayName;import{cva as Mm}from"class-variance-authority";import{jsx as Em}from"react/jsx-runtime";var ur=Mm("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 Lm({className:e,variant:t,...o}){return Em("div",{className:r(ur({variant:t}),e),...o})}import*as br from"react";import*as Ot from"@radix-ui/react-progress";import{cva as xr}from"class-variance-authority";import{jsx as vr}from"react/jsx-runtime";var Fm=xr("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"}}),_m=xr("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"}}),hr=br.forwardRef(({className:e,value:t,variant:o="progress",size:a="medium",disabled:i=!1,...n},s)=>vr(Ot.Root,{ref:s,className:r("",_m({size:a}),e),...n,children:vr(Ot.Indicator,{className:r("",Fm({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));hr.displayName=Ot.Root.displayName;import*as yr from"react";import*as we from"@radix-ui/react-slider";import{jsx as yo,jsxs as Hm}from"react/jsx-runtime";var Nr=yr.forwardRef(({className:e,...t},o)=>Hm(we.Root,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[yo(we.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:yo(we.Range,{className:"absolute h-full bg-pink-500"})}),yo(we.Thumb,{className:"hover:cursor-grabbing block h-5 w-5 rounded-full border-2 border-pink-500 bg-white ring-offset-bg-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"}),yo(we.Thumb,{className:"hover:cursor-grabbing block h-5 w-5 rounded-full border-2 border-pink-500 bg-white ring-offset-bg-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));Nr.displayName=we.Root.displayName;import{forwardRef as Ym}from"react";import{Fragment as Om,jsx as de,jsxs as No}from"react/jsx-runtime";var zm=({author:e=""})=>de("div",{className:"text-center shrink-0 text-lg font-semibold text-pink-600",children:e?.charAt(0)}),Bm=({author:e,avatar:t})=>de("div",{className:"w-9 h-9 flex items-center mt-0.5 justify-center rounded-full bg-pink-200 relative overflow-hidden",children:t?de("img",{src:t,alt:e?.charAt(0),className:"shrink-0 object-cover",width:36,height:36}):de(zm,{author:e})});function Vm({avatar:e="",author:t="",time:o,statusMessage:a,isOutStanding:i}){return de(Om,{children:No("div",{className:"flex relative items-center space-x-3",children:[de(Bm,{avatar:e,author:t}),No("div",{className:"flex flex-col",children:[t&&de("div",{className:"font-semibold text-gray-900 text-sm",children:t}),No("div",{className:"flex items-center space-x-2 text-xs",children:[o&&de("div",{className:"text-gray-400",children:o}),a&&No("div",{className:"flex items-center space-x-2",children:[de("div",{className:"w-1 h-1 mt-0.5 bg-gray-400 rounded-full"}),de("div",{className:"ml-2 text-pink-500",children:a})]})]})]}),i&&de("div",{className:"absolute right-1 top-0",children:de("img",{alt:"",src:"https://homepage.momocdn.net/img/momo-upload-api-230629163313-638236531936463134.png",className:"w-5",loading:"lazy"})})]})})}var wr=Vm;import{useState as kr}from"react";import{StarIcon as Gm}from"@heroicons/react/20/solid";import{jsx as Pr,jsxs as Cr}from"react/jsx-runtime";var $m={1:"K\xE9n ng\u01B0\u1EDDi m\xEA",2:"K\xE9n ng\u01B0\u1EDDi m\xEA",3:"Ch\u01B0a \u01B0ng l\u1EAFm",4:"Ch\u01B0a \u01B0ng l\u1EAFm",5:"T\u1EA1m \u1ED5n",6:"T\u1EA1m \u1ED5n",7:"\u0110\xE1ng xem",8:"\u0110\xE1ng xem",9:"C\u1EF1c ph\u1EA9m!",10:"C\u1EF1c ph\u1EA9m!"},Wm={1:"Kh\xF4ng h\xE0i l\xF2ng",2:"Ch\u01B0a \u01B0ng l\u1EAFm",3:"T\u1EA1m \u1ED5n",4:"H\xE0i l\xF2ng",5:"R\u1EA5t h\xE0i l\xF2ng"};function jm({point:e,max:t,className:o}){let a=t>5?$m[e||10]:Wm[e||5];return Cr("div",{className:r("flex items-center space-x-1",o),children:[Pr(Gm,{className:"w-5 h-5 text-yellow-500"}),Pr("div",{className:"font-semibold text-gray-900 text-sm",children:`${e}/${t}`}),Cr("span",{className:"font-semibold text-gray-900 text-sm",children:[" ","\xA0\xB7 ",a]})," "]})}var Rr=jm;import{useState as Qm}from"react";import Tr from"html-react-parser";import{jsx as Um,jsxs as Xm}from"react/jsx-runtime";var la=({children:e,maxChar:t=260,textMore:o="...Xem th\xEAm",textLess:a="Thu g\u1ECDn",btnClass:i="text-blue-500",className:n=""})=>{let[s,l]=Qm(!0),d=()=>{l(!s)},p=(f,x,h=" ")=>f.length<=x?f:f.substring(0,f.lastIndexOf(h,x));return Xm("div",{className:r(n),children:[s?Tr(p(e,t)):Tr(e),e.length>t&&Um("span",{onClick:d,className:r("read-or-hide cursor-pointer text-md w-fit pl-1 hover:underline",i),children:s?o:a})]})};import{jsx as it,jsxs as Sr}from"react/jsx-runtime";function qm({content:e,thumbnails:t=[],tags:o=[],commentSideBar:a,rating:i={point:10,max:10},limitContent:n=260}){let[s,l]=kr(0),[d,p]=kr(!1),f=x=>{p(!0),l(x)};return Sr("div",{className:"text-gray-700 mt-3 flex flex-col",children:[i.point>0&&it(Rr,{className:"mb-0.5",point:i.point,max:i.max}),e&&it(la,{className:"text-sm",maxChar:n,children:e}),o?.length>0&&it("div",{className:"w-full oveflow-x-auto flex items-center space-x-2 mt-2.5",children:o?.map(x=>it("div",{className:"w-fit rounded-full shrink-0 bg-gray-100 text-gray-700 text-xs font-semibold py-1 px-2 text-center",children:x}))}),t?.length>0&&Sr(na,{open:d,onOpenChange:p,className:"grid gap-2 mt-4 overflow-hidden rounded-xl md:grid-cols-4 md:gap-2 md:rounded-none grid grid-cols-2 grid-rows-1 overflow-hidden ",children:[t?.map((x,h)=>it(ce,{onClick:()=>f(h),className:"rounded-lg cursor-pointer object-cover",ratio:4/3,children:it("img",{src:x.url,alt:"",className:"w-full h-full rounded-lg object-cover"})},h)),it(sa,{activeSlideIndex:s,images:t?.map((x,h)=>({url:x.url,titleImage:x.titleImage,idx:h})),withSideBar:!!a,subHtmlSideBar:a})]})]})}var Dr=qm;import{jsx as Km}from"react/jsx-runtime";function Zm({actions:e=[]}){return Km("div",{className:"flex items-center space-x-4 mt-4 text-gray-700",children:e})}var Ar=Zm;import{jsx as wo,jsxs as ec}from"react/jsx-runtime";var Jm=Ym(({avatar:e,author:t,time:o,ratingPoint:a,content:i,tags:n,thumbnails:s,actions:l=[],statusMessage:d,isReply:p,children:f,commentSideBar:x,isOutStanding:h,limitContent:L=260},H)=>ec("div",{ref:H,className:r("",p?"ml-4 py-4":"py-5"),children:[wo(wr,{avatar:e,author:t,time:o,statusMessage:d,isOutStanding:h}),wo(Dr,{content:i,thumbnails:s,tags:n,rating:a,commentSideBar:x,limitContent:L}),l&&l?.filter(Boolean)?.length>0&&wo(Ar,{actions:l.filter(Boolean)}),f&&wo("div",{className:"border-l grid grid-cols-1 divide-y divide-gray-200 ml-2 mt-3 border-l-gray-300 ",children:f})]}));import*as Ve from"react";import{cva as tc}from"class-variance-authority";import{CheckIcon as oc}from"@heroicons/react/16/solid";import{XIcon as ac}from"lucide-react";import{jsx as q,jsxs as Po}from"react/jsx-runtime";var ic=tc("flex items-center shrink-0 justify-center rounded-full shrink-0",{variants:{state:{active:"bg-pink-500 text-white shadow-[0_0px_0px_3px_rgb(255,255,255),0_0px_0px_4px_rgb(var(--mobase-pink-500))]",disabled:"bg-gray-400 text-gray-200",default:"text-gray-500 bg-white shadow-[inset_0px_0px_0px_1px_rgb(var(--mobase-gray-300))]",completed:"bg-pink-500 text-white"},size:{default:"h-7 w-7 text-sm",small:"h-6 w-6 text-xs"}},defaultVariants:{state:"default",size:"default"}}),Ir=Ve.createContext("default");function rc(){let e=Ve.useContext(Ir);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var nc=Ve.memo(({type:e,icon:t,stepNumber:o,size:a,isError:i,state:n})=>{let s=a==="small"?"w-3 h-3":"w-4 h-4";return i?q(ac,{className:s}):Po("div",{children:[e==="iconStep"&&q("div",{className:s,children:t}),e==="numberStep"&&q("div",{children:o}),e==="default"&&(n==="completed"?q(oc,{className:s}):q("div",{children:o}))]})}),sc=({step:e,currentStep:t,onValueChangeStep:o,children:a})=>{let i=Ve.useCallback(()=>{e!==t&&o(e)},[e,t,o]);return q("div",{onClick:i,className:"flex w-full flex-col items-center justify-center gap-1 cursor-pointer",children:a})},lc=({step:e,state:t="default",size:o="default",className:a,title:i,description:n,lastStep:s,fristStep:l,icon:d,isError:p,onValueChangeStep:f,...x})=>{let h=rc();return Po("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[Po("div",{className:"flex w-full items-center justify-center gap-2",children:[q("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",l&&"opacity-0",t==="active"&&"bg-pink-300",t==="completed"&&"bg-pink-300")}),q("div",{className:r("flex h-7 w-7 items-center justify-center rounded-full",ic({state:t,size:o}),p&&"bg-red-500 text-white shadow-none",a),...x,children:q(nc,{type:h,icon:d,stepNumber:e,size:o,isError:p,state:t})}),q("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",s&&"opacity-0",t==="completed"&&"bg-pink-300")})]}),Po("div",{className:"text-center w-full flex flex-col items-center mt-2 px-0.5",children:[i&&q("div",{className:"text-xs font-bold text-slate-900 ",children:i}),n&&q("div",{className:"text-xs text-gray-500 ",children:n})]})]})},mc=({children:e,className:t,type:o="numberStep",...a})=>q(Ir.Provider,{value:o,children:q("div",{className:r("flex items-start justify-between w-full",t),...a,children:e})});import*as Z from"react";import{Slot as fc}from"@radix-ui/react-slot";import{Controller as gc,FormProvider as uc,useFormContext as vc}from"react-hook-form";import*as Mr from"react";import*as ma from"@radix-ui/react-label";import{cva as cc}from"class-variance-authority";import{jsx as pc}from"react/jsx-runtime";var dc=cc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Co=Mr.forwardRef(({className:e,...t},o)=>pc(ma.Root,{ref:o,className:r(dc(),e),...t}));Co.displayName=ma.Root.displayName;import{jsx as Oe}from"react/jsx-runtime";var bc=uc,Lr=Z.createContext({}),xc=({...e})=>Oe(Lr.Provider,{value:{name:e.name},children:Oe(gc,{...e})}),Gt=()=>{let e=Z.useContext(Lr),t=Z.useContext(Er),{getFieldState:o,formState:a}=vc(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:n}=t;return{id:n,name:e.name,formItemId:`${n}-form-item`,formDescriptionId:`${n}-form-item-description`,formMessageId:`${n}-form-item-message`,...i}},Er=Z.createContext({}),Fr=Z.forwardRef(({className:e,...t},o)=>{let a=Z.useId();return Oe(Er.Provider,{value:{id:a},children:Oe("div",{ref:o,className:r("space-y-2",e),...t})})});Fr.displayName="FormItem";var _r=Z.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=Gt();return Oe(Co,{ref:o,className:r(a&&"text-red-500","text-gray-700 ",e),htmlFor:i,...t})});_r.displayName="FormLabel";var Hr=Z.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:n}=Gt();return Oe(fc,{ref:t,id:a,"aria-describedby":o?`${i} ${n}`:`${i}`,"aria-invalid":!!o,...e})});Hr.displayName="FormControl";var zr=Z.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=Gt();return Oe("p",{ref:o,id:a,className:r("text-[0.8rem] text-gray-500",e),...t})});zr.displayName="FormDescription";var Br=Z.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:n}=Gt(),s=i?String(i?.message):t;return s?Oe("p",{ref:a,id:n,className:r("text-xs font-medium text-red-500",e),...o,children:s}):null});Br.displayName="FormMessage";import{forwardRef as kc}from"react";import{CheckIcon as hc}from"@heroicons/react/24/outline";import{cva as yc}from"class-variance-authority";import Vr from"html-react-parser";import{Fragment as wc,jsx as Ge,jsxs as $t}from"react/jsx-runtime";var Nc=yc("text-gray-800 list-inside mt-6",{variants:{template:{1:"grid grid-cols-1 gap-y-3 ",2:"grid grid-cols-2 md:grid-cols-4 gap-2 w-full",3:"grid grid-cols-1 md:grid-cols-4 gap-4 md:gap-12 max-w-5xl mx-auto items-center py-8 md:py-12 text-left text-sm font-semibold space-y-1"}},defaultVariants:{template:1}}),Or=({template:e,name:t,description:o,image:a,idx:i,value:n,suffix:s,unit:l})=>Ge(wc,{children:(()=>{switch(e){case 1:case 3:return $t("li",{className:"flex items-center space-x-4",children:[a?Ge("img",{src:a,alt:"",className:"shrink-0"}):Ge("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:Ge(hc,{className:"w-4 h-4 text-pink-500 "})}),t&&Ge("div",{className:"ml-2 leading-tight",children:Vr(t)})]});case 2:return $t("div",{className:r("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-100 md:border-l md:odd:border-l md:odd:pr-0",i>0?"md:pl-4":"md:!border-0"),children:[n&&$t("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(s||l)&&$t("span",{children:[s," ",l]})]}),o&&Ge("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:Vr(o)})]});default:return null}})()}),Ro=({dataFeatures:e,template:t=1,dataStats:o})=>$t("ul",{className:r("",Nc({template:t})),children:[(t===1||t===3)&&e?.map((a,i)=>Ge(Or,{name:a?.name,template:t,image:a?.image,idx:i},i)),t===2&&o?.map((a,i)=>Ge(Or,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:t,description:a?.description,idx:i},i))]});import{Fragment as Cc,jsx as K,jsxs as ca}from"react/jsx-runtime";var Gr=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,i)=>a/i):e,Pc=({src:e,ratio:t,className:o,youtubeId:a,onClickFC:i=()=>{}})=>ca(ce,{className:r(""),ratio:Gr(t),children:[K("img",{src:e,className:r("w-full h-full object-cover md:block hidden",o,e?"":"bg-gray-200"),alt:""}),a&&K("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:K("iframe",{title:a,src:`https://www.youtube.com/embed/${a}?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"})}),a&&ca(qe,{children:[K(Ao,{onClick:i,children:K("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:K("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:ca("g",{fill:"none",fillRule:"evenodd",children:[K("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),K("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"})]})})})}),K(Le,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:K("iframe",{width:738,height:439,title:a,src:`https://www.youtube.com/embed/${a}?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:""})})]})]}),Wt=({type:e=1,src:t,ratio:o,className:a,youtubeId:i,onClickFC:n=()=>{}})=>K(Cc,{children:i?K(Pc,{type:e,src:t,ratio:o,youtubeId:i,onClickFC:n}):K(ce,{className:r(""),ratio:Gr(o),children:K("img",{src:t,className:r("w-full h-full object-cover",a,t?"":"bg-gray-200"),alt:""})})});import da from"html-react-parser";import{jsx as rt,jsxs as Rc}from"react/jsx-runtime";var Y=({idSection:e,className:t,background:o,children:a})=>rt("section",{id:e,className:r("block-section py-8 md:py-10 lg:py-14",t),style:{background:o},children:rt("div",{className:"wrapper relative",children:a})}),P=({align:e="center",tagline:t,title:o,description:a,tagHeading:i="h2",colorScheme:n="regular",sizeHeading:s="small",className:l})=>{let d=n==="regular"?"pink":n==="pink"?"regular":"white",p=n==="pink"?"pink":n==="white"?"white":"regular",f=n==="white"?"white":"regular";return Rc(Vo,{align:e,className:l,children:[t&&rt(Ho,{color:d,children:t}),o&&rt(zo,{tagHeading:i,color:p,size:s,children:da(o)}),a&&rt(Bo,{color:f,marginTop:s==="large"?"spacing2Xl":"spacingX",children:da(a)})]})},R=({align:e,isFullInMobile:t=!1,buttons:o,className:a})=>o?.length===0?null:rt("div",{className:r("buttons-block mt-8 md:mt-10 flex gap-4 w-full",e==="center"&&"justify-center",e==="right"&&"justify-end",t&&"flex-wrap md:flex-nowrap",a),children:o?.slice(0,2).map((i,n)=>{let{btnName:s,...l}=i;return rt(kt,{...l,className:r(t&&"w-full md:w-auto",i?.className),children:da(s)},n)})});import{Fragment as Tc,jsx as G,jsxs as jt}from"react/jsx-runtime";var pa=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>jt("div",{className:r("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[jt("div",{className:"col-span-1 ",children:[G(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:`${e?.className} mb-0 md:mb-0`}),G(Ro,{dataFeatures:o,template:a,dataStats:i}),t&&G(R,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),G("div",{className:"col-span-1 md:pl-10",children:s||G(Wt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),$r=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>jt("div",{className:r("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[G("div",{className:"col-span-1",children:G("div",{className:"hidden md:block",children:s||G(Wt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})}),jt("div",{className:"col-span-1",children:[G(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:e?.className}),G(Ro,{dataFeatures:o,template:a,dataStats:i}),G("div",{className:"md:hidden mt-10",children:s||G(Wt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),t&&G("div",{className:"w-full flex items-center justify-center md:justify-start",children:G(R,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),Wr=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>jt(Tc,{children:[G(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align,sizeHeading:e?.sizeHeading,className:`${e?.className||""} mb-0 md:mb-0`}),t&&G(R,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center"}),G(Ro,{dataFeatures:o,template:a,dataStats:i}),s||G(Wt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});import{Fragment as Mc,jsx as nt}from"react/jsx-runtime";var Sc=`var(
139
+ `})]})});import*as ae from"@radix-ui/react-dialog";import mr,{useContext as Hm,useEffect as lr,useState as mi}from"react";import{X as zm}from"lucide-react";import Bm from"lodash";import*as sr from"@radix-ui/react-aspect-ratio";var pe=sr.Root;import{jsx as G,jsxs as Ee}from"react/jsx-runtime";var cr=mr.createContext(void 0);function dr(){let e=Hm(cr);if(!e)throw new Error("useLightboxGalleryContext must be used within a LightboxGallery");return e}var ci=({children:e,open:t,onOpenChange:o,className:i})=>G(cr.Provider,{value:{open:t,onOpenChange:o},children:G(ae.Root,{open:t,onOpenChange:o,children:G("div",{className:r("lightbox-gallery",i),children:e})})}),Vm=({children:e,src:t,alt:o,className:i,classNameImage:a,onClick:n,ratio:s=4/3})=>{let{onOpenChange:l}=dr(),d=()=>{n?.(),l&&l(!0)};return Ee(ae.Trigger,{className:r("",i),onClick:d,children:[e,G(pe,{ratio:s,className:"rounded-lg cursor-pointer",children:G("img",{src:t,alt:o,className:r("w-full h-full object-cover rounded-lg",a)})})]})},pr=mr.forwardRef(({className:e,children:t,...o},i)=>{let{onOpenChange:a}=dr(),n=()=>{a&&a(!1)};return Ee(ae.Portal,{children:[G(ae.Overlay,{className:"bg-black fixed inset-0 bg-black/80 z-50"}),Ee(ae.Content,{ref:i,className:r("fixed z-[999] w-full h-full inset-0 grid w-full mx-auto bg-black duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",e),...o,children:[t,Ee(ae.Close,{onClick:n,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:[G(zm,{className:"h-4 w-4 mt-0.5"}),G("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]})]})]})});pr.displayName=ae.Content.displayName;var di=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:i,classNameSubHtmSideBar:a})=>{let[n,s]=mi(""),[l,d]=mi(),[p,f]=mi(0);lr(()=>{l&&(f(l.selectedScrollSnap()+1),l.on("select",()=>{f(l.selectedScrollSnap()+1)}))},[l]);let h=y=>{let E=Bm.filter(e,(H,j)=>j===(y>0?y-1:y)),z=E.length>0?E[0]?.titleImage:"";s(z)};return lr(()=>{h(p)},[p]),Ee(pr,{className:"flex py-0",children:[Ee("div",{className:" flex-1 relative",children:[Ee("div",{className:"flex items-center text-sm justify-center absolute top-8 md:top-10 w-full",children:[p||1," / ",e?.length]}),Ee(ao,{opts:{startIndex:t},setApi:d,className:"w-full h-full relative",children:[G(ro,{className:r("h-screen -ml-3 md:-ml-4",o?"sm:w-[calc(100vw-448px)] w-screen":"w-screen"),children:e.map((y,E)=>G(no,{className:"pl-6 md:pl-4",children:Ee("div",{className:" w-full h-full relative pt-28 overflow-hidden flex flex-col",children:[G("div",{className:"flex-1 relative",children:G("img",{src:y.url,alt:"",className:"absolute h-full w-full object-contain"})}),G("div",{className:"flex-0",children:G("div",{className:"text-sm px-20 text-center text-white/80 my-4 flex items-center justify-center w-full",children:G("div",{className:"line-clamp-3",children:n})})})]})},E))}),G(so,{className:"left-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"}),G(lo,{className:"right-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"})]})]}),o&&G("div",{className:r("hidden md:block bg-white text-gray-900 p-6 w-full max-w-md",a),children:i})]})};import*as Oe from"react";import*as Ge from"@radix-ui/react-radio-group";import{Circle as Om}from"lucide-react";import*as Wt from"@radix-ui/react-checkbox";import{CheckIcon as Gm}from"@heroicons/react/16/solid";import{jsx as Pe,jsxs as br}from"react/jsx-runtime";var fr=Oe.createContext({hideIndicator:!1});function Wm(){let e=Oe.useContext(fr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var gr=Oe.forwardRef(({className:e,hideIndicator:t=!1,...o},i)=>Pe(fr.Provider,{value:{hideIndicator:t},children:Pe(Ge.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:i})}));gr.displayName=Ge.Root.displayName;var ur=Oe.forwardRef(({className:e,children:t,...o},i)=>{let a=Wm(),{hideIndicator:n}=a??{};return br(Ge.Item,{ref:i,className:r("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[Pe("div",{className:"flex-1 min-w-0",children:t}),!n&&Pe("div",{className:r("flex-none aspect-square h-4 w-4 rounded-full border-2 border-gray-300 group-disabled:bg-gray-200 group-disabled:data-[state=checked]:text-gray-300 group-data-[state=checked]:text-white group-disabled:data-[state=checked]:bg-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:border-none group-disabled:cursor-default has"),children:Pe(Ge.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Pe(Om,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});ur.displayName=Ge.Item.displayName;var vr=Oe.forwardRef(({className:e,children:t,...o},i)=>br(Wt.Root,{ref:i,className:r("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[Pe("div",{className:"flex-1 min-w-0",children:t}),Pe("div",{className:"h-4 w-4 shrink-0 rounded border-2 group-disabled:bg-gray-300 border-gray-300 ring-offset-background group-disabled:cursor-default group-disabled:bg-gray-100 group-data-[state=checked]:border-none group-disabled:data-[state=checked]:bg-gray-400 group-disabled:data-[state=checked]:text-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:text-white",children:Pe(Wt.Indicator,{className:r("flex items-center justify-center text-current"),children:Pe(Gm,{className:"h-4 w-4"})})})]}));vr.displayName=Wt.Root.displayName;import{cva as $m}from"class-variance-authority";import{jsx as Qm}from"react/jsx-runtime";var xr=$m("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 jm({className:e,variant:t,...o}){return Qm("div",{className:r(xr({variant:t}),e),...o})}import*as yr from"react";import*as $t from"@radix-ui/react-progress";import{cva as wr}from"class-variance-authority";import{jsx as hr}from"react/jsx-runtime";var Um=wr("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"}}),Xm=wr("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"}}),Nr=yr.forwardRef(({className:e,value:t,variant:o="progress",size:i="medium",disabled:a=!1,...n},s)=>hr($t.Root,{ref:s,className:r("",Xm({size:i}),e),...n,children:hr($t.Indicator,{className:r("",Um({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));Nr.displayName=$t.Root.displayName;import*as Pr from"react";import*as Ce from"@radix-ui/react-slider";import{jsx as Co,jsxs as qm}from"react/jsx-runtime";var Cr=Pr.forwardRef(({className:e,...t},o)=>qm(Ce.Root,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[Co(Ce.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:Co(Ce.Range,{className:"absolute h-full bg-pink-500"})}),Co(Ce.Thumb,{className:"hover:cursor-grabbing block h-5 w-5 rounded-full border-2 border-pink-500 bg-white ring-offset-bg-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"}),Co(Ce.Thumb,{className:"hover:cursor-grabbing block h-5 w-5 rounded-full border-2 border-pink-500 bg-white ring-offset-bg-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));Cr.displayName=Ce.Root.displayName;import{forwardRef as cc}from"react";import{Fragment as Jm,jsx as fe,jsxs as Ro}from"react/jsx-runtime";var Zm=({author:e=""})=>fe("div",{className:"text-center shrink-0 text-lg font-semibold text-pink-600",children:e?.charAt(0)}),Km=({author:e,avatar:t})=>fe("div",{className:"w-9 h-9 flex items-center mt-0.5 justify-center rounded-full bg-pink-200 relative overflow-hidden",children:t?fe("img",{src:t,alt:e?.charAt(0),className:"shrink-0 object-cover",width:36,height:36}):fe(Zm,{author:e})});function Ym({avatar:e="",author:t="",time:o,statusMessage:i,isOutStanding:a}){return fe(Jm,{children:Ro("div",{className:"flex relative items-center space-x-3",children:[fe(Km,{avatar:e,author:t}),Ro("div",{className:"flex flex-col",children:[t&&fe("div",{className:"font-semibold text-gray-900 text-sm",children:t}),Ro("div",{className:"flex items-center space-x-2 text-xs",children:[o&&fe("div",{className:"text-gray-400",children:o}),i&&Ro("div",{className:"flex items-center space-x-2",children:[fe("div",{className:"w-1 h-1 mt-0.5 bg-gray-400 rounded-full"}),fe("div",{className:"ml-2 text-pink-500",children:i})]})]})]}),a&&fe("div",{className:"absolute right-1 top-0",children:fe("img",{alt:"",src:"https://homepage.momocdn.net/img/momo-upload-api-230629163313-638236531936463134.png",className:"w-5",loading:"lazy"})})]})})}var Rr=Ym;import{useState as Mr}from"react";import{StarIcon as ec}from"@heroicons/react/20/solid";import{jsx as Tr,jsxs as kr}from"react/jsx-runtime";var tc={1:"K\xE9n ng\u01B0\u1EDDi m\xEA",2:"K\xE9n ng\u01B0\u1EDDi m\xEA",3:"Ch\u01B0a \u01B0ng l\u1EAFm",4:"Ch\u01B0a \u01B0ng l\u1EAFm",5:"T\u1EA1m \u1ED5n",6:"T\u1EA1m \u1ED5n",7:"\u0110\xE1ng xem",8:"\u0110\xE1ng xem",9:"C\u1EF1c ph\u1EA9m!",10:"C\u1EF1c ph\u1EA9m!"},oc={1:"Kh\xF4ng h\xE0i l\xF2ng",2:"Ch\u01B0a \u01B0ng l\u1EAFm",3:"T\u1EA1m \u1ED5n",4:"H\xE0i l\xF2ng",5:"R\u1EA5t h\xE0i l\xF2ng"};function ic({point:e,max:t,className:o}){let i=t>5?tc[e||10]:oc[e||5];return kr("div",{className:r("flex items-center space-x-1",o),children:[Tr(ec,{className:"w-5 h-5 text-yellow-500"}),Tr("div",{className:"font-semibold text-gray-900 text-sm",children:`${e}/${t}`}),kr("span",{className:"font-semibold text-gray-900 text-sm",children:[" ","\xA0\xB7 ",i]})," "]})}var Sr=ic;import{useState as ac}from"react";import Dr from"html-react-parser";import{jsx as rc,jsxs as nc}from"react/jsx-runtime";var pi=({children:e,maxChar:t=260,textMore:o="...Xem th\xEAm",textLess:i="Thu g\u1ECDn",btnClass:a="text-blue-500",className:n=""})=>{let[s,l]=ac(!0),d=()=>{l(!s)},p=(f,h,y=" ")=>f.length<=h?f:f.substring(0,f.lastIndexOf(y,h));return nc("div",{className:r(n),children:[s?Dr(p(e,t)):Dr(e),e.length>t&&rc("span",{onClick:d,className:r("read-or-hide cursor-pointer text-md w-fit pl-1 hover:underline",a),children:s?o:i})]})};import{jsx as st,jsxs as Ir}from"react/jsx-runtime";function sc({content:e,thumbnails:t=[],tags:o=[],commentSideBar:i,rating:a={point:10,max:10},limitContent:n=260}){let[s,l]=Mr(0),[d,p]=Mr(!1),f=h=>{p(!0),l(h)};return Ir("div",{className:"text-gray-700 mt-3 flex flex-col",children:[a.point>0&&st(Sr,{className:"mb-0.5",point:a.point,max:a.max}),e&&st(pi,{className:"text-sm",maxChar:n,children:e}),o?.length>0&&st("div",{className:"w-full oveflow-x-auto flex items-center space-x-2 mt-2.5",children:o?.map(h=>st("div",{className:"w-fit rounded-full shrink-0 bg-gray-100 text-gray-700 text-xs font-semibold py-1 px-2 text-center",children:h}))}),t?.length>0&&Ir(ci,{open:d,onOpenChange:p,className:"grid gap-2 mt-4 overflow-hidden rounded-xl md:grid-cols-4 md:gap-2 md:rounded-none grid grid-cols-2 grid-rows-1 overflow-hidden ",children:[t?.map((h,y)=>st(pe,{onClick:()=>f(y),className:"rounded-lg cursor-pointer object-cover",ratio:4/3,children:st("img",{src:h.url,alt:"",className:"w-full h-full rounded-lg object-cover"})},y)),st(di,{activeSlideIndex:s,images:t?.map((h,y)=>({url:h.url,titleImage:h.titleImage,idx:y})),withSideBar:!!i,subHtmlSideBar:i})]})]})}var Ar=sc;import{jsx as mc}from"react/jsx-runtime";function lc({actions:e=[]}){return mc("div",{className:"flex items-center space-x-4 mt-4 text-gray-700",children:e})}var Lr=lc;import{jsx as To,jsxs as pc}from"react/jsx-runtime";var dc=cc(({avatar:e,author:t,time:o,ratingPoint:i,content:a,tags:n,thumbnails:s,actions:l=[],statusMessage:d,isReply:p,children:f,commentSideBar:h,isOutStanding:y,limitContent:E=260},z)=>pc("div",{ref:z,className:r("",p?"ml-4 py-4":"py-5"),children:[To(Rr,{avatar:e,author:t,time:o,statusMessage:d,isOutStanding:y}),To(Ar,{content:a,thumbnails:s,tags:n,rating:i,commentSideBar:h,limitContent:E}),l&&l?.filter(Boolean)?.length>0&&To(Lr,{actions:l.filter(Boolean)}),f&&To("div",{className:"border-l grid grid-cols-1 divide-y divide-gray-200 ml-2 mt-3 border-l-gray-300 ",children:f})]}));import*as We from"react";import{cva as fc}from"class-variance-authority";import{CheckIcon as gc}from"@heroicons/react/16/solid";import{XIcon as uc}from"lucide-react";import{jsx as K,jsxs as ko}from"react/jsx-runtime";var vc=fc("flex items-center shrink-0 justify-center rounded-full shrink-0",{variants:{state:{active:"bg-pink-500 text-white shadow-[0_0px_0px_3px_rgb(255,255,255),0_0px_0px_4px_rgb(var(--mobase-pink-500))]",disabled:"bg-gray-400 text-gray-200",default:"text-gray-500 bg-white shadow-[inset_0px_0px_0px_1px_rgb(var(--mobase-gray-300))]",completed:"bg-pink-500 text-white"},size:{default:"h-7 w-7 text-sm",small:"h-6 w-6 text-xs"}},defaultVariants:{state:"default",size:"default"}}),Er=We.createContext("default");function bc(){let e=We.useContext(Er);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var xc=We.memo(({type:e,icon:t,stepNumber:o,size:i,isError:a,state:n})=>{let s=i==="small"?"w-3 h-3":"w-4 h-4";return a?K(uc,{className:s}):ko("div",{children:[e==="iconStep"&&K("div",{className:s,children:t}),e==="numberStep"&&K("div",{children:o}),e==="default"&&(n==="completed"?K(gc,{className:s}):K("div",{children:o}))]})}),hc=({step:e,currentStep:t,onValueChangeStep:o,children:i})=>{let a=We.useCallback(()=>{e!==t&&o(e)},[e,t,o]);return K("div",{onClick:a,className:"flex w-full flex-col items-center justify-center gap-1 cursor-pointer",children:i})},yc=({step:e,state:t="default",size:o="default",className:i,title:a,description:n,lastStep:s,fristStep:l,icon:d,isError:p,onValueChangeStep:f,...h})=>{let y=bc();return ko("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[ko("div",{className:"flex w-full items-center justify-center gap-2",children:[K("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",l&&"opacity-0",t==="active"&&"bg-pink-300",t==="completed"&&"bg-pink-300")}),K("div",{className:r("flex h-7 w-7 items-center justify-center rounded-full",vc({state:t,size:o}),p&&"bg-red-500 text-white shadow-none",i),...h,children:K(xc,{type:y,icon:d,stepNumber:e,size:o,isError:p,state:t})}),K("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",s&&"opacity-0",t==="completed"&&"bg-pink-300")})]}),ko("div",{className:"text-center w-full flex flex-col items-center mt-2 px-0.5",children:[a&&K("div",{className:"text-xs font-bold text-slate-900 ",children:a}),n&&K("div",{className:"text-xs text-gray-500 ",children:n})]})]})},wc=({children:e,className:t,type:o="numberStep",...i})=>K(Er.Provider,{value:o,children:K("div",{className:r("flex items-start justify-between w-full",t),...i,children:e})});import*as Y from"react";import{Slot as Rc}from"@radix-ui/react-slot";import{Controller as Tc,FormProvider as kc,useFormContext as Sc}from"react-hook-form";import*as Fr from"react";import*as fi from"@radix-ui/react-label";import{cva as Nc}from"class-variance-authority";import{jsx as Cc}from"react/jsx-runtime";var Pc=Nc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),So=Fr.forwardRef(({className:e,...t},o)=>Cc(fi.Root,{ref:o,className:r(Pc(),e),...t}));So.displayName=fi.Root.displayName;import{jsx as $e}from"react/jsx-runtime";var Dc=kc,_r=Y.createContext({}),Mc=({...e})=>$e(_r.Provider,{value:{name:e.name},children:$e(Tc,{...e})}),jt=()=>{let e=Y.useContext(_r),t=Y.useContext(Hr),{getFieldState:o,formState:i}=Sc(),a=o(e.name,i);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:n}=t;return{id:n,name:e.name,formItemId:`${n}-form-item`,formDescriptionId:`${n}-form-item-description`,formMessageId:`${n}-form-item-message`,...a}},Hr=Y.createContext({}),zr=Y.forwardRef(({className:e,...t},o)=>{let i=Y.useId();return $e(Hr.Provider,{value:{id:i},children:$e("div",{ref:o,className:r("space-y-2",e),...t})})});zr.displayName="FormItem";var Br=Y.forwardRef(({className:e,...t},o)=>{let{error:i,formItemId:a}=jt();return $e(So,{ref:o,className:r(i&&"text-red-500","text-gray-700 ",e),htmlFor:a,...t})});Br.displayName="FormLabel";var Vr=Y.forwardRef(({...e},t)=>{let{error:o,formItemId:i,formDescriptionId:a,formMessageId:n}=jt();return $e(Rc,{ref:t,id:i,"aria-describedby":o?`${a} ${n}`:`${a}`,"aria-invalid":!!o,...e})});Vr.displayName="FormControl";var Or=Y.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:i}=jt();return $e("p",{ref:o,id:i,className:r("text-[0.8rem] text-gray-500",e),...t})});Or.displayName="FormDescription";var Gr=Y.forwardRef(({className:e,children:t,...o},i)=>{let{error:a,formMessageId:n}=jt(),s=a?String(a?.message):t;return s?$e("p",{ref:i,id:n,className:r("text-xs font-medium text-red-500",e),...o,children:s}):null});Gr.displayName="FormMessage";import*as Fe from"react";import*as u from"@radix-ui/react-dropdown-menu";import{ChevronRight as Ic,Check as Ac}from"lucide-react";import{jsx as q,jsxs as Qt}from"react/jsx-runtime";var Lc=u.Root,Ec=u.Trigger,Fc=u.Group,_c=u.Portal,Hc=u.Sub,zc=u.RadioGroup,Wr=Fe.forwardRef(({className:e,inset:t,children:o,...i},a)=>Qt(u.SubTrigger,{ref:a,className:r("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...i,children:[o,q(Ic,{className:"ml-auto"})]}));Wr.displayName=u.SubTrigger.displayName;var $r=Fe.forwardRef(({className:e,...t},o)=>q(u.SubContent,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-gray-900 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-0",e),...t}));$r.displayName=u.SubContent.displayName;var jr=Fe.forwardRef(({className:e,sideOffset:t=4,...o},i)=>q(u.Portal,{children:q(u.Content,{ref:i,sideOffset:t,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white p-1 text-gray-900 shadow-small data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ",e),...o})}));jr.displayName=u.Content.displayName;var Qr=Fe.forwardRef(({className:e,inset:t,...o},i)=>q(u.Item,{ref:i,className:r("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 ",t&&"pl-8",e),...o}));Qr.displayName=u.Item.displayName;var Ur=Fe.forwardRef(({className:e,children:t,checked:o,...i},a)=>Qt(u.CheckboxItem,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ",e),checked:o,...i,children:[Qt("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:[o===!1&&q("div",{className:"size-3.5 rounded-sm border border-gray-400 absolute inset-0"}),q(u.ItemIndicator,{children:q("div",{className:"size-3.5 rounded-sm border border-pink-500 bg-pink-500 flex items-center justify-center text-white absolute inset-0",children:q(Ac,{size:16,strokeWidth:3})})})]}),t]}));Ur.displayName=u.CheckboxItem.displayName;var Xr=Fe.forwardRef(({className:e,children:t,...o},i)=>Qt(u.RadioItem,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ",e),...o,children:[Qt("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:[q("div",{className:"size-3.5 rounded-full border border-gray-400 absolute inset-0"}),q(u.ItemIndicator,{children:q("div",{className:"size-3.5 rounded-full border-4 border-pink-500 absolute inset-0"})})]}),t]}));Xr.displayName=u.RadioItem.displayName;var qr=Fe.forwardRef(({className:e,inset:t,...o},i)=>q(u.Label,{ref:i,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));qr.displayName=u.Label.displayName;var Zr=Fe.forwardRef(({className:e,...t},o)=>q(u.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-gray-100",e),...t}));Zr.displayName=u.Separator.displayName;var Kr=({className:e,...t})=>q("span",{className:r("ml-auto text-xs tracking-widest opacity-60",e),...t});Kr.displayName="DropdownMenuShortcut";import{forwardRef as Uc}from"react";import{CheckIcon as Bc}from"@heroicons/react/24/outline";import{cva as Vc}from"class-variance-authority";import Yr from"html-react-parser";import{Fragment as Gc,jsx as je,jsxs as Ut}from"react/jsx-runtime";var Oc=Vc("text-gray-800 list-inside mt-6",{variants:{template:{1:"grid grid-cols-1 gap-y-3 ",2:"grid grid-cols-2 md:grid-cols-4 gap-2 w-full",3:"grid grid-cols-1 md:grid-cols-4 gap-4 md:gap-12 max-w-5xl mx-auto items-center py-8 md:py-12 text-left text-sm font-semibold space-y-1"}},defaultVariants:{template:1}}),Jr=({template:e,name:t,description:o,image:i,idx:a,value:n,suffix:s,unit:l})=>je(Gc,{children:(()=>{switch(e){case 1:case 3:return Ut("li",{className:"flex items-center space-x-4",children:[i?je("img",{src:i,alt:"",className:"shrink-0"}):je("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:je(Bc,{className:"w-4 h-4 text-pink-500 "})}),t&&je("div",{className:"ml-2 leading-tight",children:Yr(t)})]});case 2:return Ut("div",{className:r("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-100 md:border-l md:odd:border-l md:odd:pr-0",a>0?"md:pl-4":"md:!border-0"),children:[n&&Ut("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(s||l)&&Ut("span",{children:[s," ",l]})]}),o&&je("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:Yr(o)})]});default:return null}})()}),Do=({dataFeatures:e,template:t=1,dataStats:o})=>Ut("ul",{className:r("",Oc({template:t})),children:[(t===1||t===3)&&e?.map((i,a)=>je(Jr,{name:i?.name,template:t,image:i?.image,idx:a},a)),t===2&&o?.map((i,a)=>je(Jr,{value:i?.value,suffix:i?.suffix,unit:i?.unit,template:t,description:i?.description,idx:a},a))]});import{Fragment as $c,jsx as J,jsxs as gi}from"react/jsx-runtime";var en=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((i,a)=>i/a):e,Wc=({src:e,ratio:t,className:o,youtubeId:i,onClickFC:a=()=>{}})=>gi(pe,{className:r(""),ratio:en(t),children:[J("img",{src:e,className:r("w-full h-full object-cover md:block hidden",o,e?"":"bg-gray-200"),alt:""}),i&&J("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:J("iframe",{title:i,src:`https://www.youtube.com/embed/${i}?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"})}),i&&gi(Ye,{children:[J(Eo,{onClick:a,children:J("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:J("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:gi("g",{fill:"none",fillRule:"evenodd",children:[J("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),J("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"})]})})})}),J(_e,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:J("iframe",{width:738,height:439,title:i,src:`https://www.youtube.com/embed/${i}?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:""})})]})]}),Xt=({type:e=1,src:t,ratio:o,className:i,youtubeId:a,onClickFC:n=()=>{}})=>J($c,{children:a?J(Wc,{type:e,src:t,ratio:o,youtubeId:a,onClickFC:n}):J(pe,{className:r(""),ratio:en(o),children:J("img",{src:t,className:r("w-full h-full object-cover",i,t?"":"bg-gray-200"),alt:""})})});import ui from"html-react-parser";import{jsx as lt,jsxs as jc}from"react/jsx-runtime";var ee=({idSection:e,className:t,background:o,children:i})=>lt("section",{id:e,className:r("block-section py-8 md:py-10 lg:py-14",t),style:{background:o},children:lt("div",{className:"wrapper relative",children:i})}),C=({align:e="center",tagline:t,title:o,description:i,tagHeading:a="h2",colorScheme:n="regular",sizeHeading:s="small",className:l})=>{let d=n==="regular"?"pink":n==="pink"?"regular":"white",p=n==="pink"?"pink":n==="white"?"white":"regular",f=n==="white"?"white":"regular";return jc($o,{align:e,className:l,children:[t&&lt(Oo,{color:d,children:t}),o&&lt(Go,{tagHeading:a,color:p,size:s,children:ui(o)}),i&&lt(Wo,{color:f,marginTop:s==="large"?"spacing2Xl":"spacingX",children:ui(i)})]})},T=({align:e,isFullInMobile:t=!1,buttons:o,className:i})=>o?.length===0?null:lt("div",{className:r("buttons-block mt-8 md:mt-10 flex gap-4 w-full",e==="center"&&"justify-center",e==="right"&&"justify-end",t&&"flex-wrap md:flex-nowrap",i),children:o?.slice(0,2).map((a,n)=>{let{btnName:s,...l}=a;return lt(Mt,{...l,className:r(t&&"w-full md:w-auto",a?.className),children:ui(s)},n)})});import{Fragment as Qc,jsx as W,jsxs as qt}from"react/jsx-runtime";var vi=({dataHeading:e,dataButtons:t,dataFeatures:o,template:i,dataStats:a,dataMedia:n,advancedComponent:s})=>qt("div",{className:r("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[qt("div",{className:"col-span-1 ",children:[W(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:`${e?.className} mb-0 md:mb-0`}),W(Do,{dataFeatures:o,template:i,dataStats:a}),t&&W(T,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),W("div",{className:"col-span-1 md:pl-10",children:s||W(Xt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),tn=({dataHeading:e,dataButtons:t,dataFeatures:o,template:i,dataStats:a,dataMedia:n,advancedComponent:s})=>qt("div",{className:r("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[W("div",{className:"col-span-1",children:W("div",{className:"hidden md:block",children:s||W(Xt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})}),qt("div",{className:"col-span-1",children:[W(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:e?.className}),W(Do,{dataFeatures:o,template:i,dataStats:a}),W("div",{className:"md:hidden mt-10",children:s||W(Xt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),t&&W("div",{className:"w-full flex items-center justify-center md:justify-start",children:W(T,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),on=({dataHeading:e,dataButtons:t,dataFeatures:o,template:i,dataStats:a,dataMedia:n,advancedComponent:s})=>qt(Qc,{children:[W(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align,sizeHeading:e?.sizeHeading,className:`${e?.className||""} mb-0 md:mb-0`}),t&&W(T,{align:t?.align,isFullInMobile:t?.isFullInMobile,buttons:t?.buttons,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center"}),W(Do,{dataFeatures:o,template:i,dataStats:a}),s||W(Xt,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});import{Fragment as Yc,jsx as mt}from"react/jsx-runtime";var Xc=`var(
140
140
  --gradient-pink-1,
141
141
  linear-gradient(
142
142
  38deg,
@@ -158,11 +158,11 @@ import*as Rt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
158
158
  rgba(255, 255, 255, 0) 80%
159
159
  ),
160
160
  #fff
161
- )`,Dc=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})=>{switch(e){case 1:return nt(pa,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});case 2:return nt($r,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});case 3:return nt(Wr,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});default:return nt(pa,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s})}},Ac=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})=>nt(Mc,{children:Dc({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})}),Ic=kc(({template:e=1,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,className:s,background:l,advancedComponent:d=null})=>nt(Y,{className:r(s),background:l??Sc,children:nt(Ac,{dataButtons:o,template:e,dataHeading:t,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:d})}));import{Fragment as fa,jsx as T,jsxs as Qr}from"react/jsx-runtime";var jr=({dataHeading:e,dataBrands:t,dataButtons:o,spaceX:a,isScrollSnap:i})=>{let n={spacingX:"md:gap-x-5",spacingM:"md:gap-x-6",spacingL:"md:gap-x-7",spacingXl:"md:gap-x-10",spacing2Xl:"md:gap-x-12"};return Qr(fa,{children:[e&&T(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&T("div",{className:r("list-brands flex flex-row gap-y-6 md:flex-wrap md:justify-center overflow-hidden overflow-x-auto py-2",n[a||"spacingXl"],i?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3":"flex-wrap justify-center"),children:t?.map((s,l)=>T("div",{className:r("flex justify-center items-center md:px-0 px-2.5 md:basis-auto",i?"snap-center shrink-0 first:pl-5 last:pr-5 basis-[28.5%]":"basis-1/2"),children:T("div",{className:"w-auto max-w-36 flex justify-center items-center",children:s?.url?T("a",{href:s?.url,title:s?.name,target:s?.newTab?"_blank":"_self",className:"group",children:T("img",{src:s?.logo,loading:"lazy",alt:s?.name,className:"object-contain transition transform group-hover:scale-105"})}):T("img",{src:s?.logo,loading:"lazy",alt:s?.name,className:"object-contain"})})},l))}),o&&T(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"})]})},Lc=({dataHeading:e,dataBrands:t,dataButtons:o,isScrollSnap:a})=>Qr(fa,{children:[e&&T(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&T("div",{className:r("list-brands md:grid-cols-4 md:gap-y-6 md:gap-x-7",a?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3 flex md:grid overflow-hidden overflow-x-auto md:mx-0":"grid grid-cols-2 gap-x-4 gap-y-6"),children:t?.map((i,n)=>T("div",{className:r("flex justify-center items-center text-center",a?"snap-center shrink-0 first:pl-5 last:pr-5 md:first:pl-0 md:last:pr-0 basis-5/12 px-2 md:px-0":""),children:i?.url?T("a",{href:i?.url,title:i?.name,target:i?.newTab?"_blank":"_self",className:"flex justify-center items-center rounded-md border border-gray-200 duration-300 hover:border-pink-500 w-full h-full p-3",children:T("div",{className:"w-auto max-w-36 flex justify-center items-center",children:T("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})}):T("div",{className:"flex justify-center items-center rounded-md border border-gray-200 w-full h-full p-3",children:T("div",{className:"w-auto max-w-36 flex justify-center items-center",children:T("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})})},n))}),o&&T(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"})]}),Ec=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>{switch(e){case 1:return T(jr,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n});case 2:return T(Lc,{dataHeading:t,dataBrands:o,dataButtons:a,isScrollSnap:n});default:return T(jr,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}},Fc=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>T(fa,{children:Ec({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}),_c=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataBrands:n,dataButtons:s,spaceX:l="spacingXl",isScrollSnap:d})=>T(Y,{className:o,idSection:a,background:t,children:T(Fc,{template:e,dataHeading:i,dataBrands:n,dataButtons:s,spaceX:l,isScrollSnap:d})});import F from"html-react-parser";import{ChevronRightIcon as Hc}from"@heroicons/react/16/solid";import{Fragment as $e,jsx as m,jsxs as g}from"react/jsx-runtime";var Pe=({btnLink:e,btnName:t,newTab:o})=>m(ut,{variant:"primary",asChild:!0,children:g("a",{href:e,target:o?"_blank":"_self",rel:"noreferrer",children:[t||"Xem chi ti\u1EBFt",m(Hc,{className:"w-4 h-4"})]})}),ga=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g($e,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full text-center flex flex-col",children:[m("div",{className:"w-16 h-16 mx-auto",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:F(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:F(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Pe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),Ur=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g($e,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features list-features-2 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:t?.map((a,i)=>g("div",{className:"feature-item p-5 overflow-hidden border border-gray-200 rounded-md relative w-full flex flex-col",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:F(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:F(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Pe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"}),m("style",{children:`
161
+ )`,qc=({template:e,dataHeading:t,dataButtons:o,dataFeatures:i,dataStats:a,dataMedia:n,advancedComponent:s})=>{switch(e){case 1:return mt(vi,{dataHeading:t,dataButtons:o,dataFeatures:i,dataStats:a,template:e,dataMedia:n,advancedComponent:s});case 2:return mt(tn,{dataHeading:t,dataButtons:o,dataFeatures:i,dataStats:a,template:e,dataMedia:n,advancedComponent:s});case 3:return mt(on,{dataHeading:t,dataButtons:o,dataFeatures:i,dataStats:a,template:e,dataMedia:n,advancedComponent:s});default:return mt(vi,{dataHeading:t,dataButtons:o,dataFeatures:i,dataStats:a,template:e,dataMedia:n,advancedComponent:s})}},Zc=({template:e,dataHeading:t,dataButtons:o,dataFeatures:i,dataStats:a,dataMedia:n,advancedComponent:s})=>mt(Yc,{children:qc({template:e,dataHeading:t,dataButtons:o,dataFeatures:i,dataStats:a,dataMedia:n,advancedComponent:s})}),Kc=Uc(({template:e=1,dataHeading:t,dataButtons:o,dataFeatures:i,dataStats:a,dataMedia:n,className:s,background:l,advancedComponent:d=null})=>mt(ee,{className:r(s),background:l??Xc,children:mt(Zc,{dataButtons:o,template:e,dataHeading:t,dataFeatures:i,dataStats:a,dataMedia:n,advancedComponent:d})}));import{Fragment as bi,jsx as k,jsxs as rn}from"react/jsx-runtime";var an=({dataHeading:e,dataBrands:t,dataButtons:o,spaceX:i,isScrollSnap:a})=>{let n={spacingX:"md:gap-x-5",spacingM:"md:gap-x-6",spacingL:"md:gap-x-7",spacingXl:"md:gap-x-10",spacing2Xl:"md:gap-x-12"};return rn(bi,{children:[e&&k(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&k("div",{className:r("list-brands flex flex-row gap-y-6 md:flex-wrap md:justify-center overflow-hidden overflow-x-auto py-2",n[i||"spacingXl"],a?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3":"flex-wrap justify-center"),children:t?.map((s,l)=>k("div",{className:r("flex justify-center items-center md:px-0 px-2.5 md:basis-auto",a?"snap-center shrink-0 first:pl-5 last:pr-5 basis-[28.5%]":"basis-1/2"),children:k("div",{className:"w-auto max-w-36 flex justify-center items-center",children:s?.url?k("a",{href:s?.url,title:s?.name,target:s?.newTab?"_blank":"_self",className:"group",children:k("img",{src:s?.logo,loading:"lazy",alt:s?.name,className:"object-contain transition transform group-hover:scale-105"})}):k("img",{src:s?.logo,loading:"lazy",alt:s?.name,className:"object-contain"})})},l))}),o&&k(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"})]})},Jc=({dataHeading:e,dataBrands:t,dataButtons:o,isScrollSnap:i})=>rn(bi,{children:[e&&k(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&k("div",{className:r("list-brands md:grid-cols-4 md:gap-y-6 md:gap-x-7",i?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3 flex md:grid overflow-hidden overflow-x-auto md:mx-0":"grid grid-cols-2 gap-x-4 gap-y-6"),children:t?.map((a,n)=>k("div",{className:r("flex justify-center items-center text-center",i?"snap-center shrink-0 first:pl-5 last:pr-5 md:first:pl-0 md:last:pr-0 basis-5/12 px-2 md:px-0":""),children:a?.url?k("a",{href:a?.url,title:a?.name,target:a?.newTab?"_blank":"_self",className:"flex justify-center items-center rounded-md border border-gray-200 duration-300 hover:border-pink-500 w-full h-full p-3",children:k("div",{className:"w-auto max-w-36 flex justify-center items-center",children:k("img",{src:a?.logo,loading:"lazy",alt:a?.name,className:"object-contain"})})}):k("div",{className:"flex justify-center items-center rounded-md border border-gray-200 w-full h-full p-3",children:k("div",{className:"w-auto max-w-36 flex justify-center items-center",children:k("img",{src:a?.logo,loading:"lazy",alt:a?.name,className:"object-contain"})})})},n))}),o&&k(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"})]}),ed=({template:e,dataHeading:t,dataBrands:o,dataButtons:i,spaceX:a,isScrollSnap:n})=>{switch(e){case 1:return k(an,{dataHeading:t,dataBrands:o,dataButtons:i,spaceX:a,isScrollSnap:n});case 2:return k(Jc,{dataHeading:t,dataBrands:o,dataButtons:i,isScrollSnap:n});default:return k(an,{dataHeading:t,dataBrands:o,dataButtons:i,spaceX:a,isScrollSnap:n})}},td=({template:e,dataHeading:t,dataBrands:o,dataButtons:i,spaceX:a,isScrollSnap:n})=>k(bi,{children:ed({template:e,dataHeading:t,dataBrands:o,dataButtons:i,spaceX:a,isScrollSnap:n})}),od=({template:e=1,background:t,className:o,idSection:i,dataHeading:a,dataBrands:n,dataButtons:s,spaceX:l="spacingXl",isScrollSnap:d})=>k(ee,{className:o,idSection:i,background:t,children:k(td,{template:e,dataHeading:a,dataBrands:n,dataButtons:s,spaceX:l,isScrollSnap:d})});import _ from"html-react-parser";import{ChevronRightIcon as id}from"@heroicons/react/16/solid";import{Fragment as Qe,jsx as m,jsxs as g}from"react/jsx-runtime";var Re=({btnLink:e,btnName:t,newTab:o})=>m(xt,{variant:"primary",asChild:!0,children:g("a",{href:e,target:o?"_blank":"_self",rel:"noreferrer",children:[t||"Xem chi ti\u1EBFt",m(id,{className:"w-4 h-4"})]})}),xi=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Qe,{children:[e&&m(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((i,a)=>g("div",{className:"feature-item relative w-full text-center flex flex-col",children:[m("div",{className:"w-16 h-16 mx-auto",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},a))}),o&&m(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),nn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Qe,{children:[e&&m(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features list-features-2 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:t?.map((i,a)=>g("div",{className:"feature-item p-5 overflow-hidden border border-gray-200 rounded-md relative w-full flex flex-col",children:[m("div",{className:"w-16 h-16",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},a))}),o&&m(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"}),m("style",{children:`
162
162
  .list-features-2 .feature-item {
163
163
  background: linear-gradient(180deg, #FAFAFA 0%, rgba(255, 255, 255, 1) 91%);
164
164
  }
165
- `})]}),Xr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g($e,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:F(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:F(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Pe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),qr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[g("div",{className:"lg:col-span-4 lg:flex lg:flex-col lg:justify-center",children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:r("lg:mb-0",e?.className)}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`hidden lg:flex ${o?.className}`,align:"left"})]}),g("div",{className:"lg:col-span-6",children:[t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:F(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:F(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Pe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`flex lg:hidden ${o?.className}`,align:o?.align||"left"})]})]}),Zr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g($e,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[m("div",{className:"w-12 h-12 ",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:F(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:F(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Pe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),Kr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g($e,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-7 lg:gap-y-10",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full",children:[m("div",{className:"w-12 h-12",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:F(a.name)}),a?.description&&m("div",{className:"text-gray-500 mt-2 text-sm",children:F(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Pe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),Yr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g($e,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-6 lg:gap-y-8",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex gap-3",children:[m("div",{className:"w-12 h-12",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:F(a.name)}),a?.description&&m("div",{className:"text-gray-500 mt-2 text-sm",children:F(a.description)}),a?.btnLink&&m("div",{className:"mt-4",children:m(Pe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),Jr=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g($e,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[g("div",{className:"w-full flex flex-1 flex-col p-5",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:F(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:F(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Pe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]}),m("div",{className:"w-full",style:{aspectRatio:"347/220"},children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),en=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:a})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[m("div",{className:"lg:col-span-6 flex items-center",children:g("div",{className:"w-full",children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:t?.map((i,n)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[m("div",{className:"w-10 h-10",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:F(i.name)}),i?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:F(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Pe,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]})}),a&&m("div",{className:"lg:col-span-4 flex items-center",children:m("div",{className:"max-w-md mx-auto w-full",children:m(ce,{ratio:a?.ratio||1,className:"w-full",children:m("img",{src:a?.src,alt:a?.alt,loading:"lazy",className:"h-full w-full object-cover"})})})})]}),tn=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:a})=>g($e,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),m("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&g("div",{className:r("list-features grid grid-cols-1 md:grid-cols-2 gap-8",o?"lg:gap-y-16 lg:gap-x-0 lg:flex-wrap lg:flex lg:flex-row":"max-w-4xl mx-auto"),children:[t?.map((i,n)=>g("div",{className:r("feature-item relative w-full",o&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[m("div",{className:"w-12 h-12",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:F(i.name)}),i?.description&&m("div",{className:"text-gray-500 mt-2",children:F(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Pe,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n)),o&&g("div",{className:"absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 hidden lg:flex lg:justify-center lg:items-end xl:p-2 lg:p-1.5 w-72 mx-auto",style:{aspectRatio:"352/721"},children:[m("div",{className:"mockup-bg absolute inset-0 w-full h-full select-none pointer-events-none",style:{background:"url(https://homepage.momocdn.net/img/momo-amazone-s3-api-240809173159-638588215193226459.png) no-repeat bottom center/contain"}}),m("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:m("img",{src:o?.src,alt:o?.alt,className:"w-full h-full object-contain"})})]})]})}),a&&m(R,{isFullInMobile:a?.isFullInMobile,buttons:a?.buttons,className:a?.className,align:a?.align||"left"})]});import{Fragment as Oc,jsx as J}from"react/jsx-runtime";var zc=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>{switch(e){case 1:return J(ga,{dataHeading:t,dataFeatures:o,dataButtons:a});case 2:return J(Ur,{dataHeading:t,dataFeatures:o,dataButtons:a});case 3:return J(Xr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 4:return J(qr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 5:return J(Zr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 6:return J(Kr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 7:return J(Yr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 8:return J(Jr,{dataHeading:t,dataFeatures:o,dataButtons:a});case 9:return J(en,{dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i});case 10:return J(tn,{dataHeading:t,dataFeatures:o,dataBanner:i,dataButtons:a});default:return J(ga,{dataHeading:t,dataFeatures:o,dataButtons:a})}},Bc=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>J(Oc,{children:zc({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})}),Vc=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})=>J(Y,{className:o,idSection:a,background:t,children:J(Bc,{template:e,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})});import ua from"html-react-parser";import{StarIcon as Gc}from"@heroicons/react/24/solid";import{Fragment as rn,jsx as A,jsxs as st}from"react/jsx-runtime";var on=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:a})=>A("div",{className:r("testimonial-item grow sm:px-0 basis-10/12 md:basis-0 px-3 snap-center shrink-0 first:pl-5 md:first:pl-0",t?"hidden sm:block":"",o+1===a?"pr-5":""),children:A("div",{className:"rounded-xl border border-gray-50 bg-white px-5 pt-4 sm:px-5 pb-10 shadow-md relative h-full",children:st("div",{className:"testimonial-item-width",children:[st("div",{className:"flex flex-nowrap items-center space-x-2",children:[A("div",{className:"h-9 w-9 shrink-0 overflow-hidden rounded-full",children:A("img",{src:e?.avatar,loading:"lazy",className:"h-full w-full object-cover",alt:e.name})}),st("div",{className:"min-w-0 flex-1 pl-1",children:[A("div",{className:"overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-gray-700",children:e.name}),e?.position&&A("div",{className:"text-xs font-normal text-pink-500",children:ua(e.position)})]})]}),st("div",{className:"mt-3",children:[e?.shortTitle&&A("div",{className:"text-sm font-bold text-gray-700",children:ua(e.shortTitle)}),e?.description&&A("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:ua(e.description)})]}),st("div",{className:"absolute bottom-0 left-0 right-0 flex items-center justify-between space-x-2 p-4 md:px-5",children:[A("div",{className:"text-xs text-gray-400",children:e.date}),e?.rating&&e?.rating>0&&A("div",{className:"flex flex-nowrap space-x-0.5 text-sm",children:Array.from({length:5},(i,n)=>A(Gc,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),an=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>st(rn,{children:[e&&A(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:e.align,colorScheme:"pink",sizeHeading:e.sizeHeading,className:e.className}),(t?.length??0)>0&&A("div",{className:"testimonials scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",children:st("div",{className:"testimonials-slider sm:space-x-6 flex flex-row overflow-hidden overflow-x-auto sm:overflow-visible sm:pl-6 sm:pr-0 snap-x sm:snap-none snap-mandatory pb-3 sm:pb-0",children:[t?.map((a,i)=>A(on,{testimonial:a,index:i,itemCount:t?.length||0},i)),(t?.length??0)>3&&t?.map((a,i)=>A(on,{testimonial:a,isHiddenOnMobile:!0},i))]})}),o&&A(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"}),A("style",{children:`
165
+ `})]}),sn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Qe,{children:[e&&m(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((i,a)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[m("div",{className:"w-16 h-16",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},a))}),o&&m(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),ln=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[g("div",{className:"lg:col-span-4 lg:flex lg:flex-col lg:justify-center",children:[e&&m(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:r("lg:mb-0",e?.className)}),o&&m(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`hidden lg:flex ${o?.className}`,align:"left"})]}),g("div",{className:"lg:col-span-6",children:[t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5",children:t?.map((i,a)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[m("div",{className:"w-16 h-16",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},a))}),o&&m(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`flex lg:hidden ${o?.className}`,align:o?.align||"left"})]})]}),mn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Qe,{children:[e&&m(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:t?.map((i,a)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[m("div",{className:"w-12 h-12 ",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},a))}),o&&m(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),cn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Qe,{children:[e&&m(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-7 lg:gap-y-10",children:t?.map((i,a)=>g("div",{className:"feature-item relative w-full",children:[m("div",{className:"w-12 h-12",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-500 mt-2 text-sm",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},a))}),o&&m(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),dn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Qe,{children:[e&&m(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-6 lg:gap-y-8",children:t?.map((i,a)=>g("div",{className:"feature-item relative w-full flex gap-3",children:[m("div",{className:"w-12 h-12",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-500 mt-2 text-sm",children:_(i.description)}),i?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},a))}),o&&m(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),pn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(Qe,{children:[e&&m(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:t?.map((i,a)=>g("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[g("div",{className:"w-full flex flex-1 flex-col p-5",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]}),m("div",{className:"w-full",style:{aspectRatio:"347/220"},children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})})]},a))}),o&&m(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]}),fn=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:i})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[m("div",{className:"lg:col-span-6 flex items-center",children:g("div",{className:"w-full",children:[e&&m(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:t?.map((a,n)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[m("div",{className:"w-10 h-10",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},n))}),o&&m(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"left"})]})}),i&&m("div",{className:"lg:col-span-4 flex items-center",children:m("div",{className:"max-w-md mx-auto w-full",children:m(pe,{ratio:i?.ratio||1,className:"w-full",children:m("img",{src:i?.src,alt:i?.alt,loading:"lazy",className:"h-full w-full object-cover"})})})})]}),gn=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:i})=>g(Qe,{children:[e&&m(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),m("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&g("div",{className:r("list-features grid grid-cols-1 md:grid-cols-2 gap-8",o?"lg:gap-y-16 lg:gap-x-0 lg:flex-wrap lg:flex lg:flex-row":"max-w-4xl mx-auto"),children:[t?.map((a,n)=>g("div",{className:r("feature-item relative w-full",o&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[m("div",{className:"w-12 h-12",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(a.name)}),a?.description&&m("div",{className:"text-gray-500 mt-2",children:_(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},n)),o&&g("div",{className:"absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 hidden lg:flex lg:justify-center lg:items-end xl:p-2 lg:p-1.5 w-72 mx-auto",style:{aspectRatio:"352/721"},children:[m("div",{className:"mockup-bg absolute inset-0 w-full h-full select-none pointer-events-none",style:{background:"url(https://homepage.momocdn.net/img/momo-amazone-s3-api-240809173159-638588215193226459.png) no-repeat bottom center/contain"}}),m("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:m("img",{src:o?.src,alt:o?.alt,className:"w-full h-full object-contain"})})]})]})}),i&&m(T,{isFullInMobile:i?.isFullInMobile,buttons:i?.buttons,className:i?.className,align:i?.align||"left"})]});import{Fragment as sd,jsx as te}from"react/jsx-runtime";var ad=({template:e,dataHeading:t,dataFeatures:o,dataButtons:i,dataBanner:a})=>{switch(e){case 1:return te(xi,{dataHeading:t,dataFeatures:o,dataButtons:i});case 2:return te(nn,{dataHeading:t,dataFeatures:o,dataButtons:i});case 3:return te(sn,{dataHeading:t,dataFeatures:o,dataButtons:i});case 4:return te(ln,{dataHeading:t,dataFeatures:o,dataButtons:i});case 5:return te(mn,{dataHeading:t,dataFeatures:o,dataButtons:i});case 6:return te(cn,{dataHeading:t,dataFeatures:o,dataButtons:i});case 7:return te(dn,{dataHeading:t,dataFeatures:o,dataButtons:i});case 8:return te(pn,{dataHeading:t,dataFeatures:o,dataButtons:i});case 9:return te(fn,{dataHeading:t,dataFeatures:o,dataButtons:i,dataBanner:a});case 10:return te(gn,{dataHeading:t,dataFeatures:o,dataBanner:a,dataButtons:i});default:return te(xi,{dataHeading:t,dataFeatures:o,dataButtons:i})}},rd=({template:e,dataHeading:t,dataFeatures:o,dataButtons:i,dataBanner:a})=>te(sd,{children:ad({template:e,dataHeading:t,dataFeatures:o,dataButtons:i,dataBanner:a})}),nd=({template:e=1,background:t,className:o,idSection:i,dataHeading:a,dataFeatures:n,dataButtons:s,dataBanner:l})=>te(ee,{className:o,idSection:i,background:t,children:te(rd,{template:e,dataHeading:a,dataFeatures:n,dataButtons:s,dataBanner:l})});import hi from"html-react-parser";import{StarIcon as ld}from"@heroicons/react/24/solid";import{Fragment as bn,jsx as I,jsxs as ct}from"react/jsx-runtime";var un=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:i})=>I("div",{className:r("testimonial-item grow sm:px-0 basis-10/12 md:basis-0 px-3 snap-center shrink-0 first:pl-5 md:first:pl-0",t?"hidden sm:block":"",o+1===i?"pr-5":""),children:I("div",{className:"rounded-xl border border-gray-50 bg-white px-5 pt-4 sm:px-5 pb-10 shadow-md relative h-full",children:ct("div",{className:"testimonial-item-width",children:[ct("div",{className:"flex flex-nowrap items-center space-x-2",children:[I("div",{className:"h-9 w-9 shrink-0 overflow-hidden rounded-full",children:I("img",{src:e?.avatar,loading:"lazy",className:"h-full w-full object-cover",alt:e.name})}),ct("div",{className:"min-w-0 flex-1 pl-1",children:[I("div",{className:"overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-gray-700",children:e.name}),e?.position&&I("div",{className:"text-xs font-normal text-pink-500",children:hi(e.position)})]})]}),ct("div",{className:"mt-3",children:[e?.shortTitle&&I("div",{className:"text-sm font-bold text-gray-700",children:hi(e.shortTitle)}),e?.description&&I("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:hi(e.description)})]}),ct("div",{className:"absolute bottom-0 left-0 right-0 flex items-center justify-between space-x-2 p-4 md:px-5",children:[I("div",{className:"text-xs text-gray-400",children:e.date}),e?.rating&&e?.rating>0&&I("div",{className:"flex flex-nowrap space-x-0.5 text-sm",children:Array.from({length:5},(a,n)=>I(ld,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),vn=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>ct(bn,{children:[e&&I(C,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:e.align,colorScheme:"pink",sizeHeading:e.sizeHeading,className:e.className}),(t?.length??0)>0&&I("div",{className:"testimonials scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",children:ct("div",{className:"testimonials-slider sm:space-x-6 flex flex-row overflow-hidden overflow-x-auto sm:overflow-visible sm:pl-6 sm:pr-0 snap-x sm:snap-none snap-mandatory pb-3 sm:pb-0",children:[t?.map((i,a)=>I(un,{testimonial:i,index:a,itemCount:t?.length||0},a)),(t?.length??0)>3&&t?.map((i,a)=>I(un,{testimonial:i,isHiddenOnMobile:!0},a))]})}),o&&I(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:o?.align||"center"}),I("style",{children:`
166
166
  ${(t?.length??0)>3&&`
167
167
  @media screen and (min-width: 640px) {
168
168
  .testimonials {
@@ -190,7 +190,7 @@ import*as Rt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
190
190
  }
191
191
  `}
192
192
 
193
- `})]}),$c=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>{switch(e){case 1:return A(an,{dataHeading:t,dataTestimonials:o,dataButtons:a});default:return A(an,{dataHeading:t,dataTestimonials:o,dataButtons:a})}},Wc=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>A(rn,{children:$c({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})}),jc=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataTestimonials:n,dataButtons:s})=>A(Y,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:a,background:t,children:A(Wc,{template:e,dataHeading:i,dataTestimonials:n,dataButtons:s})});import Qc,{memo as nn}from"react";import sn from"html-react-parser";import{jsx as pe,jsxs as Qt}from"react/jsx-runtime";var va=nn(({dataFAQ:e,dataHeading:t})=>Qt("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[t&&pe(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading||"h2",align:"left",colorScheme:"pink",sizeHeading:t?.sizeHeading,className:r("md:mb-0 mb-0 mt-2 col-span-1 text-center md:text-left",t?.className)}),e&&pe("div",{className:"col-span-2",children:e[0]?.contents.map((o,a)=>pe(je,{type:"single",collapsible:!0,className:"w-full",children:Qt(Qe,{value:o.title,children:[pe(Ue,{className:"font-bold",children:o.title}),pe(Xe,{children:sn(o.description)})]})},o.title+a))})]})),ln=nn(({dataFAQ:e,dataHeading:t})=>Qt(Qc.Fragment,{children:[t&&pe(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading,align:"center",colorScheme:"pink",sizeHeading:t?.sizeHeading,className:r(t?.className)}),e&&Qt(Lt,{defaultValue:e[0]?.title,children:[pe(dt,{className:"flex items-center sm:justify-center",children:e.map((o,a)=>pe(pt,{value:o.title,children:o.title},o.title+a))}),e.map((o,a)=>pe(ft,{className:"max-w-3xl mx-auto",value:o.title,children:o.contents.map((i,n)=>pe(je,{type:"single",collapsible:!0,className:"w-full",children:Qt(Qe,{value:i.title,children:[pe(Ue,{className:"font-bold",children:i.title}),pe(Xe,{children:sn(i.description)})]})},i.title+n))},o.title+a))]})]}));import{Fragment as Zc,jsx as yt}from"react/jsx-runtime";var Uc=({template:e,dataFAQ:t,dataHeading:o})=>{switch(e){case 1:return yt(va,{dataFAQ:t,dataHeading:o});case 2:return yt(ln,{dataFAQ:t,dataHeading:o});default:return yt(va,{dataFAQ:t,dataHeading:o})}},Xc=({dataHeading:e,dataFAQ:t,template:o})=>yt(Zc,{children:Uc({dataHeading:e,dataFAQ:t,template:o})}),qc=({dataHeading:e,dataFAQ:t=[],className:o="",background:a=""})=>{let i=t&&t?.length>1?2:1;return yt(Y,{className:r(o),background:a,children:yt(Xc,{dataHeading:e,dataFAQ:t,template:i})})};import mn,{memo as cn}from"react";import{jsx as $,jsxs as To}from"react/jsx-runtime";var Kc=({src:e})=>$("div",{className:"aspect-[77/37] rounded-md relative overflow-hidden hidden md:block mb-3",children:$("img",{className:"",src:e,alt:"news-image-des"})}),Yc=({src:e})=>$("div",{className:"aspect-[1/1] rounded-md relative overflow-hidden md:hidden mb-3",children:$("img",{className:"",src:e,alt:"new-image"})}),dn=({news:e})=>To("div",{className:"group",children:[$(Kc,{src:e?.thumbnails?.thumbnailDesktop}),$(Yc,{src:e?.thumbnails?.thumbnailMobile}),$("div",{className:"mb-3 text-gray-900 font-medium text-sm sm:text-base group-hover:text-pink-500 line-clamp-2 leading-6",children:e?.title}),$("div",{className:"text-gray-500 text-xs",children:e?.dateTime})]}),ba=cn(({dataHeading:e,dataNews:t,cols:o=3,onClickModal:a})=>{let i=(n,s)=>{a&&(n?.preventDefault(),n?.stopPropagation(),a?.(s))};return To(mn.Fragment,{children:[e&&$(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),t&&$("div",{className:`grid gap-4 sm:gap-6 grid-cols-2 sm:grid-cols-${o}`,children:t?.[0]?.contents?.map(n=>$("a",{onClick:s=>i(s,n?.id),href:n.url,target:"_blank",children:$(dn,{news:n})},n?.id))})]})}),pn=cn(({dataHeading:e,dataNews:t,cols:o=3,onClickModal:a})=>{let i=(n,s)=>{a&&(n?.preventDefault(),n?.stopPropagation(),a?.(s))};return To(mn.Fragment,{children:[e&&$(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),t&&To(Lt,{defaultValue:t[0]?.title,children:[$(dt,{className:"flex items-center justify-center mb-6",children:t.map((n,s)=>$(pt,{value:n.title,children:n.title},n.title+s))}),t?.map((n,s)=>$(ft,{value:n.title,className:`grid gap-4 sm:gap-6 mt-0 grid-cols-2 sm:grid-cols-${o}`,children:n?.contents?.map(l=>$("a",{onClick:d=>i(d,l?.id),href:l.url,target:"_blank",children:$(dn,{news:l})},l?.id))},n.title+s))]})]})});import{Fragment as od,jsx as Nt,jsxs as fn}from"react/jsx-runtime";var Jc=({template:e,dataNews:t,dataHeading:o,cols:a,onClickModal:i})=>{switch(e){case 1:return Nt(ba,{cols:a,dataNews:t,dataHeading:o,onClickModal:i});case 2:return Nt(pn,{cols:a,dataNews:t,dataHeading:o,onClickModal:i});default:return Nt(ba,{cols:a,dataNews:t,dataHeading:o,onClickModal:i})}},ed=({dataHeading:e,dataNews:t,template:o,cols:a,onClickModal:i})=>Nt(od,{children:Jc({dataHeading:e,dataNews:t,template:o,cols:a,onClickModal:i})}),td=({dataHeading:e,dataNews:t=[],className:o="",background:a="",buttonLoadMore:i,cols:n,onClickModal:s})=>{let l=t&&t?.length>1?2:1;return fn(Y,{className:r(o),background:a,children:[Nt(ed,{dataHeading:e,dataNews:t,template:l,cols:n,onClickModal:s}),i?.isShow&&Nt("div",{className:"w-full flex items-center justify-center mt-8",children:fn(kt,{action:i?.url,newTab:i?.isNewTab,variant:"outline",children:[i?.content,i?.icon]})})]})};import{Fragment as sd,jsx as ae,jsxs as xa}from"react/jsx-runtime";var gn=({dataHeading:e,dataCTA:t,dataButtons:o})=>xa("div",{className:"rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 md:py-14 md:px-10 bg-pink-50",style:{background:t?.background},children:[e&&ae(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:e.align||"center",colorScheme:e.colorScheme,sizeHeading:e.sizeHeading,className:e.className}),o&&ae(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:o?.align||"center"})]}),ad=({dataHeading:e,dataCTA:t,dataButtons:o,dataMedia:a})=>xa("div",{className:" grid gap-6 grid-cols-1 md:grid-cols-2 rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 pb-0 md:px-10 bg-pink-700 md:pb-0 md:pt-0",style:t?.background?{background:t.background}:{},children:[xa("div",{className:"md:py-14 flex flex-col justify-center",children:[e&&ae(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"left",colorScheme:"white",sizeHeading:e.sizeHeading,className:e.className}),o&&ae(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:o?.align||"center"})]}),ae("div",{className:" max-w-sm mx-auto md:ml-auto md:mr-0 w-full md:pt-10 self-end",children:a&&ae(ce,{ratio:4/3,children:ae("img",{src:a.src,alt:a.alt,className:"h-full w-full rounded-md object-contain"})})})]}),id=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>{switch(e){case 1:return ae(gn,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});case 2:return ae(ad,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});default:return ae(gn,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}},rd=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>ae(sd,{children:id({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}),nd=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:l})=>ae(Y,{className:o,idSection:a,background:t,children:ae(rd,{template:e,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:l})});import cd from"color";import dd from"tailwindcss/plugin.js";var Ce="250ms",un={".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":Ce},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":Ce},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":Ce},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":Ce},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":Ce},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":Ce},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":Ce},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":Ce},".transition-transform-colors":{"transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":Ce},".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":Ce}};var vn={".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"}};var bn={".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 xn={...vn,...un,...bn};import{flatten as ld}from"flat";function md(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 hn=e=>md(ld(e,{safe:!0,delimiter:"-"}));var yn={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var Nn={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var wn={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var Pn={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Cn={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Rn={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Tn={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var kn={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Sn={white:"#ffffff",black:"#000000",blue:yn,green:Nn,pink:wn,purple:Pn,red:Cn,yellow:Rn,gray:kn,orange:Tn};var ha={...Sn};var Dn={"disabled-opacity":.5,"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)"},radius:{none:"0px",sm:"0.125rem",default:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"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"},"line-height":{xxs:"1rem",xs:"1rem",sm:"1.25rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"1","6xl":"1","7xl":"1","8xl":"1","9xl":"1"}};var An={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"}}}};var pd=e=>{let t={utilities:{},colors:{}},o=hn(ha),a=Dn,i=":root";return t.utilities[i]={},Object.entries(o).forEach(([n,s])=>{if(s)try{let[l,d,p]=cd(s).rgb().array(),f=`--${e}-${n}`;t.utilities[i][f]=`${l} ${d} ${p}`,t.colors[n]=`rgb(var(${f}) / <alpha-value>)`}catch(l){console.log("error",l?.message)}}),Object.entries(a).forEach(([n,s])=>{if(!s)return;let l=`--${e}-${n}`;if(typeof s=="object")Object.entries(s).forEach(([d,p])=>{let f=`${l}-${d}`;t.utilities[i][f]=p});else{let d=l.includes("opacity")&&typeof s=="number"?s?.toString().replace(/^0\./,"."):s;t.utilities[i][l]=d}}),t},fd=()=>{let e="mobase",t=pd(e);return dd(({addBase:o,addUtilities:a,addComponents:i})=>{i({".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}),a({...xn})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},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:{...ha,...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)`},borderRadius:{none:`var(--${e}-radius-none)`,sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-default)`,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)`,full:`var(--${e}-radius-full)`},fontSize:{xxs:[`var(--${e}-font-size-xxs)`,`var(--${e}-line-height-xxs)`],xs:[`var(--${e}-font-size-xs)`,`var(--${e}-line-height-xs)`],sm:[`var(--${e}-font-size-sm)`,`var(--${e}-line-height-sm)`],base:[`var(--${e}-font-size-base)`,`var(--${e}-line-height-base)`],lg:[`var(--${e}-font-size-lg)`,`var(--${e}-line-height-lg)`],xl:[`var(--${e}-font-size-xl)`,`var(--${e}-line-height-xl)`],"2xl":[`var(--${e}-font-size-2xl)`,`var(--${e}-line-height-2xl)`],"3xl":[`var(--${e}-font-size-3xl)`,`var(--${e}-line-height-3xl)`],"4xl":[`var(--${e}-font-size-4xl)`,`var(--${e}-line-height-4xl)`],"5xl":[`var(--${e}-font-size-5xl)`,`var(--${e}-line-height-5xl)`],"6xl":[`var(--${e}-font-size-6xl)`,`var(--${e}-line-height-6xl)`],"7xl":[`var(--${e}-font-size-7xl)`,`var(--${e}-line-height-7xl)`],"8xl":[`var(--${e}-font-size-8xl)`,`var(--${e}-line-height-8xl)`],"9xl":[`var(--${e}-font-size-9xl)`,`var(--${e}-line-height-9xl)`]},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)`},...An}}})};import{Fragment as ud,jsx as w,jsxs as vd}from"react/jsx-runtime";var gd=vd(ud,{children:[w("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"}),w("meta",{name:"distribution",content:"Global"}),w("meta",{name:"author",content:"V\xED MoMo"}),w("meta",{property:"fb:app_id",content:"320653355376196"}),w("meta",{property:"fb:pages",content:"138010322921640"}),w("link",{rel:"shortcut icon",href:"/favicon.ico"}),w("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),w("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),w("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),w("meta",{name:"language",content:"vietnamese"}),w("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),w("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),w("meta",{name:"RATING",content:"GENERAL"}),w("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),w("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),w("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),w("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),w("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),w("link",{rel:"dns-prefetch",href:"//facebook.com"}),w("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),w("link",{rel:"dns-prefetch",href:"//www.google.com"}),w("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),w("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),w("link",{rel:"preconnect",href:"//connect.facebook.net"}),w("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),w("link",{rel:"preconnect",href:"//www.google-analytics.com"}),w("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),w("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),w("link",{rel:"preconnect",href:"//www.google.com"}),w("link",{rel:"preconnect",href:"//www.google.com.vn"}),w("link",{rel:"preconnect",href:"//www.googleadservices.com"}),w("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
193
+ `})]}),md=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:i})=>{switch(e){case 1:return I(vn,{dataHeading:t,dataTestimonials:o,dataButtons:i});default:return I(vn,{dataHeading:t,dataTestimonials:o,dataButtons:i})}},cd=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:i})=>I(bn,{children:md({template:e,dataHeading:t,dataTestimonials:o,dataButtons:i})}),dd=({template:e=1,background:t,className:o,idSection:i,dataHeading:a,dataTestimonials:n,dataButtons:s})=>I(ee,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:i,background:t,children:I(cd,{template:e,dataHeading:a,dataTestimonials:n,dataButtons:s})});import pd,{memo as xn}from"react";import hn from"html-react-parser";import{jsx as ge,jsxs as Zt}from"react/jsx-runtime";var yi=xn(({dataFAQ:e,dataHeading:t})=>Zt("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[t&&ge(C,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading||"h2",align:"left",colorScheme:"pink",sizeHeading:t?.sizeHeading,className:r("md:mb-0 mb-0 mt-2 col-span-1 text-center md:text-left",t?.className)}),e&&ge("div",{className:"col-span-2",children:e[0]?.contents.map((o,i)=>ge(Xe,{type:"single",collapsible:!0,className:"w-full",children:Zt(qe,{value:o.title,children:[ge(Ze,{className:"font-bold",children:o.title}),ge(Ke,{children:hn(o.description)})]})},o.title+i))})]})),yn=xn(({dataFAQ:e,dataHeading:t})=>Zt(pd.Fragment,{children:[t&&ge(C,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading,align:"center",colorScheme:"pink",sizeHeading:t?.sizeHeading,className:r(t?.className)}),e&&Zt(_t,{defaultValue:e[0]?.title,children:[ge(gt,{className:"flex items-center sm:justify-center",children:e.map((o,i)=>ge(ut,{value:o.title,children:o.title},o.title+i))}),e.map((o,i)=>ge(vt,{className:"max-w-3xl mx-auto",value:o.title,children:o.contents.map((a,n)=>ge(Xe,{type:"single",collapsible:!0,className:"w-full",children:Zt(qe,{value:a.title,children:[ge(Ze,{className:"font-bold",children:a.title}),ge(Ke,{children:hn(a.description)})]})},a.title+n))},o.title+i))]})]}));import{Fragment as vd,jsx as Pt}from"react/jsx-runtime";var fd=({template:e,dataFAQ:t,dataHeading:o})=>{switch(e){case 1:return Pt(yi,{dataFAQ:t,dataHeading:o});case 2:return Pt(yn,{dataFAQ:t,dataHeading:o});default:return Pt(yi,{dataFAQ:t,dataHeading:o})}},gd=({dataHeading:e,dataFAQ:t,template:o})=>Pt(vd,{children:fd({dataHeading:e,dataFAQ:t,template:o})}),ud=({dataHeading:e,dataFAQ:t=[],className:o="",background:i=""})=>{let a=t&&t?.length>1?2:1;return Pt(ee,{className:r(o),background:i,children:Pt(gd,{dataHeading:e,dataFAQ:t,template:a})})};import wn,{memo as Nn}from"react";import{jsx as $,jsxs as Mo}from"react/jsx-runtime";var bd=({src:e})=>$("div",{className:"aspect-[77/37] rounded-md relative overflow-hidden hidden md:block mb-3",children:$("img",{className:"",src:e,alt:"news-image-des"})}),xd=({src:e})=>$("div",{className:"aspect-[1/1] rounded-md relative overflow-hidden md:hidden mb-3",children:$("img",{className:"",src:e,alt:"new-image"})}),Pn=({news:e})=>Mo("div",{className:"group",children:[$(bd,{src:e?.thumbnails?.thumbnailDesktop}),$(xd,{src:e?.thumbnails?.thumbnailMobile}),$("div",{className:"mb-3 text-gray-900 font-medium text-sm sm:text-base group-hover:text-pink-500 line-clamp-2 leading-6",children:e?.title}),$("div",{className:"text-gray-500 text-xs",children:e?.dateTime})]}),wi=Nn(({dataHeading:e,dataNews:t,cols:o=3,onClickModal:i})=>{let a=(n,s)=>{i&&(n?.preventDefault(),n?.stopPropagation(),i?.(s))};return Mo(wn.Fragment,{children:[e&&$(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),t&&$("div",{className:`grid gap-4 sm:gap-6 grid-cols-2 sm:grid-cols-${o}`,children:t?.[0]?.contents?.map(n=>$("a",{onClick:s=>a(s,n?.id),href:n.url,target:"_blank",children:$(Pn,{news:n})},n?.id))})]})}),Cn=Nn(({dataHeading:e,dataNews:t,cols:o=3,onClickModal:i})=>{let a=(n,s)=>{i&&(n?.preventDefault(),n?.stopPropagation(),i?.(s))};return Mo(wn.Fragment,{children:[e&&$(C,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),t&&Mo(_t,{defaultValue:t[0]?.title,children:[$(gt,{className:"flex items-center justify-center mb-6",children:t.map((n,s)=>$(ut,{value:n.title,children:n.title},n.title+s))}),t?.map((n,s)=>$(vt,{value:n.title,className:`grid gap-4 sm:gap-6 mt-0 grid-cols-2 sm:grid-cols-${o}`,children:n?.contents?.map(l=>$("a",{onClick:d=>a(d,l?.id),href:l.url,target:"_blank",children:$(Pn,{news:l})},l?.id))},n.title+s))]})]})});import{Fragment as Nd,jsx as Ct,jsxs as Rn}from"react/jsx-runtime";var hd=({template:e,dataNews:t,dataHeading:o,cols:i,onClickModal:a})=>{switch(e){case 1:return Ct(wi,{cols:i,dataNews:t,dataHeading:o,onClickModal:a});case 2:return Ct(Cn,{cols:i,dataNews:t,dataHeading:o,onClickModal:a});default:return Ct(wi,{cols:i,dataNews:t,dataHeading:o,onClickModal:a})}},yd=({dataHeading:e,dataNews:t,template:o,cols:i,onClickModal:a})=>Ct(Nd,{children:hd({dataHeading:e,dataNews:t,template:o,cols:i,onClickModal:a})}),wd=({dataHeading:e,dataNews:t=[],className:o="",background:i="",buttonLoadMore:a,cols:n,onClickModal:s})=>{let l=t&&t?.length>1?2:1;return Rn(ee,{className:r(o),background:i,children:[Ct(yd,{dataHeading:e,dataNews:t,template:l,cols:n,onClickModal:s}),a?.isShow&&Ct("div",{className:"w-full flex items-center justify-center mt-8",children:Rn(Mt,{action:a?.url,newTab:a?.isNewTab,variant:"outline",children:[a?.content,a?.icon]})})]})};import{Fragment as kd,jsx as re,jsxs as Ni}from"react/jsx-runtime";var Tn=({dataHeading:e,dataCTA:t,dataButtons:o})=>Ni("div",{className:"rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 md:py-14 md:px-10 bg-pink-50",style:{background:t?.background},children:[e&&re(C,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:e.align||"center",colorScheme:e.colorScheme,sizeHeading:e.sizeHeading,className:e.className}),o&&re(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:o?.align||"center"})]}),Pd=({dataHeading:e,dataCTA:t,dataButtons:o,dataMedia:i})=>Ni("div",{className:" grid gap-6 grid-cols-1 md:grid-cols-2 rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 pb-0 md:px-10 bg-pink-700 md:pb-0 md:pt-0",style:t?.background?{background:t.background}:{},children:[Ni("div",{className:"md:py-14 flex flex-col justify-center",children:[e&&re(C,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"left",colorScheme:"white",sizeHeading:e.sizeHeading,className:e.className}),o&&re(T,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:o?.align||"center"})]}),re("div",{className:" max-w-sm mx-auto md:ml-auto md:mr-0 w-full md:pt-10 self-end",children:i&&re(pe,{ratio:4/3,children:re("img",{src:i.src,alt:i.alt,className:"h-full w-full rounded-md object-contain"})})})]}),Cd=({template:e,dataHeading:t,dataCTA:o,dataButtons:i,dataMedia:a})=>{switch(e){case 1:return re(Tn,{dataHeading:t,dataCTA:o,dataButtons:i,dataMedia:a});case 2:return re(Pd,{dataHeading:t,dataCTA:o,dataButtons:i,dataMedia:a});default:return re(Tn,{dataHeading:t,dataCTA:o,dataButtons:i,dataMedia:a})}},Rd=({template:e,dataHeading:t,dataCTA:o,dataButtons:i,dataMedia:a})=>re(kd,{children:Cd({template:e,dataHeading:t,dataCTA:o,dataButtons:i,dataMedia:a})}),Td=({template:e=1,background:t,className:o,idSection:i,dataHeading:a,dataCTA:n,dataButtons:s,dataMedia:l})=>re(ee,{className:o,idSection:i,background:t,children:re(Rd,{template:e,dataHeading:a,dataCTA:n,dataButtons:s,dataMedia:l})});import Md from"color";import Id from"tailwindcss/plugin.js";var Te="250ms",kn={".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":Te},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":Te},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":Te},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":Te},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":Te},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":Te},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":Te},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":Te},".transition-transform-colors":{"transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":Te},".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":Te}};var Sn={".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"}};var Dn={".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 Mn={...Sn,...kn,...Dn};import{flatten as Sd}from"flat";function Dd(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 In=e=>Dd(Sd(e,{safe:!0,delimiter:"-"}));var An={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var Ln={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var En={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var Fn={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var _n={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Hn={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var zn={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var Bn={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Vn={white:"#ffffff",black:"#000000",blue:An,green:Ln,pink:En,purple:Fn,red:_n,yellow:Hn,gray:Bn,orange:zn};var Pi={...Vn};var On={"disabled-opacity":.5,"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)"},radius:{none:"0px",sm:"0.125rem",default:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"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"},"line-height":{xxs:"1rem",xs:"1rem",sm:"1.25rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"1","6xl":"1","7xl":"1","8xl":"1","9xl":"1"}};var Gn={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"}}}};var Ad=e=>{let t={utilities:{},colors:{}},o=In(Pi),i=On,a=":root";return t.utilities[a]={},Object.entries(o).forEach(([n,s])=>{if(s)try{let[l,d,p]=Md(s).rgb().array(),f=`--${e}-${n}`;t.utilities[a][f]=`${l} ${d} ${p}`,t.colors[n]=`rgb(var(${f}) / <alpha-value>)`}catch(l){console.log("error",l?.message)}}),Object.entries(i).forEach(([n,s])=>{if(!s)return;let l=`--${e}-${n}`;if(typeof s=="object")Object.entries(s).forEach(([d,p])=>{let f=`${l}-${d}`;t.utilities[a][f]=p});else{let d=l.includes("opacity")&&typeof s=="number"?s?.toString().replace(/^0\./,"."):s;t.utilities[a][l]=d}}),t},Ld=()=>{let e="mobase",t=Ad(e);return Id(({addBase:o,addUtilities:i,addComponents:a})=>{a({".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({...Mn})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},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:{...Pi,...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)`},borderRadius:{none:`var(--${e}-radius-none)`,sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-default)`,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)`,full:`var(--${e}-radius-full)`},fontSize:{xxs:[`var(--${e}-font-size-xxs)`,`var(--${e}-line-height-xxs)`],xs:[`var(--${e}-font-size-xs)`,`var(--${e}-line-height-xs)`],sm:[`var(--${e}-font-size-sm)`,`var(--${e}-line-height-sm)`],base:[`var(--${e}-font-size-base)`,`var(--${e}-line-height-base)`],lg:[`var(--${e}-font-size-lg)`,`var(--${e}-line-height-lg)`],xl:[`var(--${e}-font-size-xl)`,`var(--${e}-line-height-xl)`],"2xl":[`var(--${e}-font-size-2xl)`,`var(--${e}-line-height-2xl)`],"3xl":[`var(--${e}-font-size-3xl)`,`var(--${e}-line-height-3xl)`],"4xl":[`var(--${e}-font-size-4xl)`,`var(--${e}-line-height-4xl)`],"5xl":[`var(--${e}-font-size-5xl)`,`var(--${e}-line-height-5xl)`],"6xl":[`var(--${e}-font-size-6xl)`,`var(--${e}-line-height-6xl)`],"7xl":[`var(--${e}-font-size-7xl)`,`var(--${e}-line-height-7xl)`],"8xl":[`var(--${e}-font-size-8xl)`,`var(--${e}-line-height-8xl)`],"9xl":[`var(--${e}-font-size-9xl)`,`var(--${e}-line-height-9xl)`]},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)`},...Gn}}})};import{Fragment as Fd,jsx as P,jsxs as _d}from"react/jsx-runtime";var Ed=_d(Fd,{children:[P("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"}),P("meta",{name:"distribution",content:"Global"}),P("meta",{name:"author",content:"V\xED MoMo"}),P("meta",{property:"fb:app_id",content:"320653355376196"}),P("meta",{property:"fb:pages",content:"138010322921640"}),P("link",{rel:"shortcut icon",href:"/favicon.ico"}),P("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),P("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),P("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),P("meta",{name:"language",content:"vietnamese"}),P("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),P("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),P("meta",{name:"RATING",content:"GENERAL"}),P("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),P("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),P("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),P("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),P("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),P("link",{rel:"dns-prefetch",href:"//facebook.com"}),P("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),P("link",{rel:"dns-prefetch",href:"//www.google.com"}),P("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),P("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),P("link",{rel:"preconnect",href:"//connect.facebook.net"}),P("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),P("link",{rel:"preconnect",href:"//www.google-analytics.com"}),P("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),P("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),P("link",{rel:"preconnect",href:"//www.google.com"}),P("link",{rel:"preconnect",href:"//www.google.com.vn"}),P("link",{rel:"preconnect",href:"//www.googleadservices.com"}),P("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
194
194
  "@context": "https://schema.org/",
195
195
  "@type": "WebSite",
196
196
  "@id":"https://www.momo.vn/#website",
@@ -200,7 +200,7 @@ import*as Rt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
200
200
  "@type": "SearchAction",
201
201
  "target": "https://www.momo.vn/tim-kiem?q={search_term_string}",
202
202
  "query-input": "required name=search_term_string"
203
- }}`}}),w("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
203
+ }}`}}),P("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
204
204
  "@context": "https://schema.org",
205
205
  "@type": "Organization",
206
206
  "name": "Si\xEAu \u1EE9ng d\u1EE5ng MoMo",
@@ -235,5 +235,5 @@ import*as Rt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
235
235
  "https://www.linkedin.com/company/momo-mservice/",
236
236
  "https://github.com/momo-wallet"
237
237
  ]
238
- }`}})]});export{je as Accordion,Xe as AccordionContent,Qe as AccordionItem,Ue as AccordionTrigger,kt as ActionButton,Is as AlertDialog,Za as AlertDialogAction,Ka as AlertDialogCancel,ja as AlertDialogContent,qa as AlertDialogDescription,Ua as AlertDialogFooter,Qa as AlertDialogHeader,Fo as AlertDialogOverlay,Wa as AlertDialogPortal,Xa as AlertDialogTitle,Ms as AlertDialogTrigger,ce as AspectRatio,Lm as Badge,Da as Breadcrumb,Fa as BreadcrumbEllipsis,Ia as BreadcrumbItem,Ma as BreadcrumbLink,Aa as BreadcrumbList,La as BreadcrumbPage,Ea as BreadcrumbSeparator,ne as Button,nd as CTASection,Yt as Calendar,bm as Callout,Vi as Card,Wi as CardContent,$i as CardDescription,ji as CardFooter,Oi as CardHeader,Gi as CardTitle,eo as Carousel,to as CarouselContent,oo as CarouselItem,io as CarouselNext,ao as CarouselPrevious,Zt as Checkbox,dr as ChoiceboxGroup,pr as ChoiceboxGroupItem,fr as ChoiceboxMultiItem,pm as Combobox,dm as ComboboxContent,cm as ComboboxTrigger,aa as Command,lm as CommandDialog,Xi as CommandEmpty,qi as CommandGroup,Qi as CommandInput,Ki as CommandItem,Ui as CommandList,Zi as CommandSeparator,Yi as CommandShortcut,Jm as Comment,As as DatePicker,qe as Dialog,Xt as DialogBody,jn as DialogClose,Le as DialogContent,ka as DialogDescription,Ra as DialogFooter,Ca as DialogHeader,Io as DialogOverlay,Pa as DialogPortal,Ze as DialogQr,Ta as DialogTitle,Ao as DialogTrigger,qc as FAQSection,Vc as FeatureSection,im as Footer,bc as Form,Hr as FormControl,zr as FormDescription,xc as FormField,Fr as FormItem,_r as FormLabel,Br as FormMessage,_i as HeaderNavigation,zo as Heading,Vo as HeadingGroup,Bo as HeadingSub,Ho as HeadingTagline,Ic as HeroSection,Ee as IconButton,sa as LightBoxGalleryContent,na as LightboxGallery,Sm as LightboxThumbnail,po as NavigationMenu,bo as NavigationMenuContent,go as NavigationMenuItem,_t as NavigationMenuLink,fo as NavigationMenuList,vo as NavigationMenuTrigger,td as NewsSection,ei as Pagination,Dt as Popover,ct as PopoverContent,At as PopoverTrigger,mc as ProgressSteps,lc as ProgressStepsItem,sc as ProgressStepsItemTrigger,hr as Progressbar,Ti as RadioGroup,ki as RadioGroupItem,la as ReadMoreLite,Cm as SearchBar,Nl as Select,bi as SelectContent,Pl as SelectGroup,Cl as SelectItem,xi as SelectLabel,ta as SelectScrollDownButton,ea as SelectScrollUpButton,hi as SelectSeparator,vi as SelectTrigger,wl as SelectValue,gd as SiteMeta,Nr as Slider,_c as SocialProofSection,vl as Stepper,Pi as Switch,Lt as Tabs,ft as TabsContent,dt as TabsList,pt as TabsTrigger,jc as TestimonialSection,Os as TextArea,ut as TextButton,pl as TextInput,ni as ToastAction,Ys as Toaster,al as Tooltip,mi as TooltipArrow,ci as TooltipContent,ol as TooltipProvider,il as TooltipTrigger,ur as badgeVariants,ve as buttonVariants,fd as mobaseTW,uo as navigationMenuTriggerStyle,li as textButtonVariants,ai as toast,Gt as useFormField,Wo as useToast};
238
+ }`}})]});export{Xe as Accordion,Ke as AccordionContent,qe as AccordionItem,Ze as AccordionTrigger,Mt as ActionButton,Ws as AlertDialog,ea as AlertDialogAction,ta as AlertDialogCancel,qi as AlertDialogContent,Ji as AlertDialogDescription,Ki as AlertDialogFooter,Zi as AlertDialogHeader,Bo as AlertDialogOverlay,Xi as AlertDialogPortal,Yi as AlertDialogTitle,$s as AlertDialogTrigger,pe as AspectRatio,jm as Badge,Li as Breadcrumb,Bi as BreadcrumbEllipsis,Fi as BreadcrumbItem,_i as BreadcrumbLink,Ei as BreadcrumbList,Hi as BreadcrumbPage,zi as BreadcrumbSeparator,le as Button,Td as CTASection,oo as Calendar,Dm as Callout,$a as Card,Xa as CardContent,Ua as CardDescription,qa as CardFooter,ja as CardHeader,Qa as CardTitle,ao as Carousel,ro as CarouselContent,no as CarouselItem,lo as CarouselNext,so as CarouselPrevious,eo as Checkbox,gr as ChoiceboxGroup,ur as ChoiceboxGroupItem,vr as ChoiceboxMultiItem,Cm as Combobox,Pm as ComboboxContent,Nm as ComboboxTrigger,si as Command,hm as CommandDialog,Ya as CommandEmpty,Ja as CommandGroup,Za as CommandInput,tr as CommandItem,Ka as CommandList,er as CommandSeparator,or as CommandShortcut,dc as Comment,Gs as DatePicker,Ye as Dialog,Yt as DialogBody,is as DialogClose,_e as DialogContent,Ii as DialogDescription,Di as DialogFooter,Si as DialogHeader,Fo as DialogOverlay,ki as DialogPortal,Je as DialogQr,Mi as DialogTitle,Eo as DialogTrigger,Lc as DropdownMenu,Ur as DropdownMenuCheckboxItem,jr as DropdownMenuContent,Fc as DropdownMenuGroup,Qr as DropdownMenuItem,qr as DropdownMenuLabel,_c as DropdownMenuPortal,zc as DropdownMenuRadioGroup,Xr as DropdownMenuRadioItem,Zr as DropdownMenuSeparator,Kr as DropdownMenuShortcut,Hc as DropdownMenuSub,$r as DropdownMenuSubContent,Wr as DropdownMenuSubTrigger,Ec as DropdownMenuTrigger,ud as FAQSection,nd as FeatureSection,vm as Footer,Dc as Form,Vr as FormControl,Or as FormDescription,Mc as FormField,zr as FormItem,Br as FormLabel,Gr as FormMessage,Va as HeaderNavigation,Go as Heading,$o as HeadingGroup,Wo as HeadingSub,Oo as HeadingTagline,Kc as HeroSection,He as IconButton,di as LightBoxGalleryContent,ci as LightboxGallery,Vm as LightboxThumbnail,vo as NavigationMenu,wo as NavigationMenuContent,xo as NavigationMenuItem,Bt as NavigationMenuLink,bo as NavigationMenuList,yo as NavigationMenuTrigger,wd as NewsSection,aa as Pagination,At as Popover,ft as PopoverContent,Lt as PopoverTrigger,wc as ProgressSteps,yc as ProgressStepsItem,hc as ProgressStepsItemTrigger,Nr as Progressbar,Ma as RadioGroup,Ia as RadioGroupItem,pi as ReadMoreLite,_m as SearchBar,Ll as Select,wa as SelectContent,Fl as SelectGroup,_l as SelectItem,Na as SelectLabel,ri as SelectScrollDownButton,ai as SelectScrollUpButton,Pa as SelectSeparator,ya as SelectTrigger,El as SelectValue,Ed as SiteMeta,Cr as Slider,od as SocialProofSection,Sl as Stepper,ka as Switch,_t as Tabs,vt as TabsContent,gt as TabsList,ut as TabsTrigger,dd as TestimonialSection,Js as TextArea,xt as TextButton,Cl as TextInput,ca as ToastAction,cl as Toaster,ul as Tooltip,fa as TooltipArrow,ga as TooltipContent,gl as TooltipProvider,vl as TooltipTrigger,xr as badgeVariants,xe as buttonVariants,Ld as mobaseTW,ho as navigationMenuTriggerStyle,pa as textButtonVariants,sa as toast,jt as useFormField,Xo as useToast};
239
239
  //# sourceMappingURL=index.js.map