@momo-webplatform/mobase 0.2.48 → 0.2.49
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/cjs/index.cjs +12 -12
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +41 -7
- package/dist/esm/index.d.ts +41 -7
- package/dist/esm/index.js +12 -12
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -3
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as Pt from"react";import*as re from"@radix-ui/react-accordion";import{ChevronDownIcon as jn}from"@heroicons/react/20/solid";import*as Gn from"react";import{twMerge as $n}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 Sa={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 Nt=[{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"}],Do=[{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 $={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 $n(e)}import{jsx as dt,jsxs as Un}from"react/jsx-runtime";var Xe=Pt.forwardRef(({className:e,...t},o)=>dt(re.Root,{ref:o,...t}));Xe.displayName="AccordionRoot";var qe=Pt.forwardRef(({className:e,...t},o)=>dt(re.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));qe.displayName="AccordionItem";var Ze=Pt.forwardRef(({className:e,children:t,...o},a)=>dt(re.Header,{className:"flex",children:Un(re.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,dt(jn,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));Ze.displayName=re.Trigger.displayName;var Ke=Pt.forwardRef(({className:e,children:t,...o},a)=>dt(re.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:dt("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));Ke.displayName=re.Content.displayName;import*as Da from"react";import{Slot as qn}from"@radix-ui/react-slot";import{cva as Zn}from"class-variance-authority";import{jsx as ne,jsxs as Xn}from"react/jsx-runtime";var Qn=({className:e})=>Xn("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"})]}),Xt=Qn;import{Fragment as Yn,jsx as Mo,jsxs as Kn}from"react/jsx-runtime";var xe=Zn("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"}}),se=Da.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isLoading:i=!1,isDisabled:n=!1,...s},l)=>{let f=a?qn:"button",p=r(xe({variant:t,size:o,className:e}),{"cursor-wait":i});return Mo(Yn,{children:a?Mo(f,{className:p,type:"button",disabled:n,ref:l,...s,children:s.children}):Kn(f,{className:p,type:"button",disabled:n,ref:l,...s,children:[i&&Mo(Xt,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),s.children]})})});se.displayName="Button";import*as Ct from"react";import*as A from"@radix-ui/react-dialog";import{XMarkIcon as Jn}from"@heroicons/react/16/solid";import{jsx as Se,jsxs as Io}from"react/jsx-runtime";var Ye=A.Root,Ao=A.Trigger,Ma=A.Portal,es=A.Close,Lo=Ct.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}));Lo.displayName=A.Overlay.displayName;var _e=Ct.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:a="md",position:i="center",height:n="auto",isFull:s=!1,children:l,...f},p)=>{let c={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"},g={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},v={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},S=[c.base,c[i],g[a],v[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 Io(Ma,{children:[Se(Lo,{}),Io(A.Content,{ref:p,className:r(...S),...f,children:[l,!o&&Io(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(Jn,{className:"h-5 w-5 text-gray-700"}),Se("span",{className:"sr-only",children:"Close"})]})]})]})});_e.displayName=A.Content.displayName;var Ia=({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});Ia.displayName="DialogHeader";var qt=({className:e,isCondensed:t=!1,...o})=>Se("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});qt.displayName="DialogBody";var Aa=({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});Aa.displayName="DialogFooter";var La=Ct.forwardRef(({className:e,...t},o)=>Se(A.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));La.displayName=A.Title.displayName;var Ea=Ct.forwardRef(({className:e,...t},o)=>Se(A.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));Ea.displayName=A.Description.displayName;import{QRCodeSVG as ts}from"qrcode.react";import{Fragment as Eo,jsx as h,jsxs as j}from"react/jsx-runtime";var os=({img:e="",children:t,isQrForAll:o})=>j(Eo,{children:[h("div",{className:"qrcode__scan__container",children:j("div",{className:"qrcode__scan",children:[h("div",{className:"qrcode__gradient",children:h("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),h("div",{className:"qrcode__border",children:h("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),h("div",{className:"qrcode__image p-4",children:e?h("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),h("div",{className:"mt-4 text-sm text-white",children:o?j(Eo,{children:[h("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),h("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"})]}):j(Eo,{children:[h("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:h("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",h("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),h("style",{children:`
|
|
1
|
+
import*as Rt from"react";import*as re from"@radix-ui/react-accordion";import{ChevronDownIcon as qn}from"@heroicons/react/20/solid";import*as Qn from"react";import{twMerge as Xn}from"tailwind-merge";var Se={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 Ma={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"}],Mo=[{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 Xn(e)}import{jsx as ft,jsxs as Zn}from"react/jsx-runtime";var Ze=Rt.forwardRef(({className:e,...t},o)=>ft(re.Root,{ref:o,...t}));Ze.displayName="AccordionRoot";var Ke=Rt.forwardRef(({className:e,...t},o)=>ft(re.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));Ke.displayName="AccordionItem";var Ye=Rt.forwardRef(({className:e,children:t,...o},a)=>ft(re.Header,{className:"flex",children:Zn(re.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,ft(qn,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));Ye.displayName=re.Trigger.displayName;var Je=Rt.forwardRef(({className:e,children:t,...o},a)=>ft(re.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:ft("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));Je.displayName=re.Content.displayName;import*as Ia from"react";import{Slot as Jn}from"@radix-ui/react-slot";import{cva as es}from"class-variance-authority";import{jsx as ne,jsxs as Yn}from"react/jsx-runtime";var Kn=({className:e})=>Yn("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"}),ne("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"})]}),Zt=Kn;import{Fragment as os,jsx as Io,jsxs as ts}from"react/jsx-runtime";var he=es("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"}}),se=Ia.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isLoading:i=!1,isDisabled:n=!1,...s},l)=>{let f=a?Jn:"button",p=r(he({variant:t,size:o,className:e}),{"cursor-wait":i});return Io(os,{children:a?Io(f,{className:p,type:"button",disabled:n,ref:l,...s,children:s.children}):ts(f,{className:p,type:"button",disabled:n,ref:l,...s,children:[i&&Io(Zt,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),s.children]})})});se.displayName="Button";import*as Tt from"react";import*as A from"@radix-ui/react-dialog";import{XMarkIcon as as}from"@heroicons/react/16/solid";import{jsx as De,jsxs as Ao}from"react/jsx-runtime";var et=A.Root,Lo=A.Trigger,Aa=A.Portal,is=A.Close,Eo=Tt.forwardRef(({className:e,...t},o)=>De(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}));Eo.displayName=A.Overlay.displayName;var ze=Tt.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:a="md",position:i="center",height:n="auto",isFull:s=!1,children:l,...f},p)=>{let c={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"},g={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},v={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},S=[c.base,c[i],g[a],v[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 Ao(Aa,{children:[De(Eo,{}),Ao(A.Content,{ref:p,className:r(...S),...f,children:[l,!o&&Ao(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:[De(as,{className:"h-5 w-5 text-gray-700"}),De("span",{className:"sr-only",children:"Close"})]})]})]})});ze.displayName=A.Content.displayName;var La=({className:e,...t})=>De("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});La.displayName="DialogHeader";var Kt=({className:e,isCondensed:t=!1,...o})=>De("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});Kt.displayName="DialogBody";var Ea=({className:e,isDivider:t=!0,...o})=>De("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});Ea.displayName="DialogFooter";var Ha=Tt.forwardRef(({className:e,...t},o)=>De(A.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));Ha.displayName=A.Title.displayName;var Fa=Tt.forwardRef(({className:e,...t},o)=>De(A.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));Fa.displayName=A.Description.displayName;import{QRCodeSVG as rs}from"qrcode.react";import{Fragment as Ho,jsx as h,jsxs as U}from"react/jsx-runtime";var ns=({img:e="",children:t,isQrForAll:o})=>U(Ho,{children:[h("div",{className:"qrcode__scan__container",children:U("div",{className:"qrcode__scan",children:[h("div",{className:"qrcode__gradient",children:h("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),h("div",{className:"qrcode__border",children:h("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),h("div",{className:"qrcode__image p-4",children:e?h("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),h("div",{className:"mt-4 text-sm text-white",children:o?U(Ho,{children:[h("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),h("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(Ho,{children:[h("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:h("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",h("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),h("style",{children:`
|
|
2
2
|
.qrcode__scan__container {
|
|
3
3
|
padding: 15px;
|
|
4
4
|
background-color: white;
|
|
@@ -67,7 +67,7 @@ import*as Pt from"react";import*as re from"@radix-ui/react-accordion";import{Che
|
|
|
67
67
|
transform: translate3d(0, 30%, 0);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
`})]}),Je=({className:e,children:t,title:o,shortTitle:a,qrImage:i,qrLink:n,logoQr:s,isQrForAll:l=!1,...f})=>h(Ye,{...f,children:h(_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:h(qt,{className:"p-0",children:j("div",{className:"flex flex-row flex-wrap",children:[h("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||j("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[j("div",{className:"flex flex-nowrap items-center",children:[h("div",{className:"flex-none",children:h("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),j("div",{className:"flex-1 pl-4",children:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),h("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"})]})]}),j("div",{className:"flex flex-nowrap items-center",children:[h("div",{className:"flex-none",children:h("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),j("div",{className:"flex-1 pl-4",children:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),h("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),j("div",{className:"flex flex-nowrap items-center",children:[h("div",{className:"flex-none",children:h("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),j("div",{className:"flex-1 pl-4",children:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),j("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"]})]})]})]})}),h("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:j("div",{className:"px-5 py-10 text-center",children:[o&&h("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),j("div",{className:"relative",children:[l&&h("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:h("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),h(os,{img:i,isQrForAll:l,children:n&&h(ts,{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 ms}from"react";import{useEffect as as,useLayoutEffect as is,useState as rs}from"react";import ns from"ua-parser-js";var ss=()=>ns().device.type==="mobile",ls=typeof window<"u"?is:as,Ha=()=>{let[e,t]=rs(!1);return ls(()=>{t(ss())},[]),e};import{Fragment as cs,jsx as Zt,jsxs as ds}from"react/jsx-runtime";var Rt=({action:e,newTab:t,offset:o,dialogQrProps:a,className:i,children:n,...s})=>{let[l,f]=ms(!1),p=Ha(),c=!!a?.qrLink,g=()=>{let B=c?a?.qrLink:e;return typeof B=="string"?B.trim():""},v=()=>{let B=g();!B&&typeof e!="function"||(typeof e=="function"?e():window.open(B,t?"_blank":"_self"))},S=(B,V=0)=>{let H=document.querySelector(B);if(!H)return;let So=H.getBoundingClientRect().top+window.scrollY-V;window.scrollTo({top:So,behavior:"smooth"})},E=()=>{typeof e=="string"&&e.startsWith("#")?S(e,o):v()},G=()=>ds(cs,{children:[Zt(se,{...s,className:i,onClick:()=>f(!0),"data-name":"button-action-with-qr",children:n}),Zt(Je,{...a,open:l,onOpenChange:()=>f(!1),qrLink:a?.qrLink||""})]});return c?p?a?.isQrForAll?G():Zt(se,{...s,className:i,onClick:v,"data-name":"button-action-with-qr",children:n}):G():Zt(se,{...s,onClick:E,className:r("cursor-pointer",i),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};import*as pt from"react";import{ChevronRightIcon as ps,DotsHorizontalIcon as fs}from"@radix-ui/react-icons";import{Slot as gs}from"@radix-ui/react-slot";import{jsx as De,jsxs as us}from"react/jsx-runtime";var Fa=pt.forwardRef(({className:e,...t},o)=>De("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));Fa.displayName="Breadcrumb";var _a=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}));_a.displayName="BreadcrumbList";var za=pt.forwardRef(({className:e,...t},o)=>De("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));za.displayName="BreadcrumbItem";var Ba=pt.forwardRef(({asChild:e,className:t,...o},a)=>De(e?gs:"a",{ref:a,className:r("transition-colors hover:text-foreground",t),...o}));Ba.displayName="BreadcrumbLink";var Va=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}));Va.displayName="BreadcrumbPage";var Oa=({children:e,className:t,...o})=>De("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??De(ps,{className:"w-2 h-2"})});Oa.displayName="BreadcrumbSeparator";var Wa=({className:e,...t})=>us("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[De(fs,{className:"w-4 h-4 text-gray-900"}),De("span",{className:"sr-only",children:"More"})]});Wa.displayName="BreadcrumbElipssis";import*as Yt from"react";import{enUS as hs,vi as ys}from"date-fns/locale";import{DayPicker as ws}from"react-day-picker";import{ChevronLeft as Ns,ChevronRight as Ps}from"lucide-react";import Cs from"lunisolar";import*as Ga from"react";import*as Tt from"@radix-ui/react-checkbox";import{CheckIcon as vs}from"@heroicons/react/16/solid";import{cva as $a}from"class-variance-authority";import{jsx as Ho}from"react/jsx-runtime";var bs=$a("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"}}),xs=$a("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Kt=Ga.forwardRef(({className:e,size:t,...o},a)=>Ho(Tt.Root,{ref:a,className:r(bs({size:t}),e),...o,children:Ho(Tt.Indicator,{className:r("flex items-center justify-center text-current"),children:Ho(vs,{className:r(xs({size:t}))})})}));Kt.displayName=Tt.Root.displayName;import{Fragment as Ds,jsx as he,jsxs as Fo}from"react/jsx-runtime";var Rs=({date:e,cusContent:t})=>{let o=null;return o=Cs(e).lunar,Fo(Ds,{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})]})},Ts={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 ks({isShow:e,setIsShow:t,lang:o}){let a=Yt.useId();return he("div",{className:"w-full p-3 pt-0",children:Fo("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[he(Kt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:i=>{typeof i=="boolean"&&t(i)}}),he("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 Ss=e=>e.getDay()===0||e.getDay()===6;function Jt({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:a=!1,lang:i="vi",cusContentDay:n,...s}){let[l,f]=Yt.useState(!0);return he(ws,{locale:i==="vi"?ys:hs,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",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(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",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:Ss},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>he(Ns,{className:"h-6 w-6"}),IconRight:()=>he(Ps,{className:"h-6 w-6"}),DayContent:p=>he(Rs,{date:p.date,cusContent:n}),Months:({children:p})=>Fo("div",{className:"w-full",children:[he("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:p}),a&&he(ks,{isShow:l,setIsShow:f,lang:i})]})},formatters:i==="vi"?Ts:{},...s})}Jt.displayName="Calendar";import*as L from"react";import Ls from"embla-carousel-react";import{ChevronLeftIcon as Es,ChevronRightIcon as Hs}from"@heroicons/react/16/solid";import*as ja from"react";import{Slot as Ms}from"@radix-ui/react-slot";import{cva as Is}from"class-variance-authority";import{jsx as As}from"react/jsx-runtime";var et=Is("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"}}),ge=ja.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let l=a?Ms:"button",f=r(et({variant:t,size:o,className:e}));return As(l,{className:f,disabled:i,ref:s,...n,children:n.children})});ge.displayName="IconButton";import{jsx as Me,jsxs as Qa}from"react/jsx-runtime";var Ua=L.createContext(null);function eo(){let e=L.useContext(Ua);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}var to=L.forwardRef(({orientation:e="horizontal",opts:t,setApi:o,plugins:a,className:i,children:n,...s},l)=>{let[f,p]=Ls({...t,axis:e==="horizontal"?"x":"y"},a),[c,g]=L.useState(!1),[v,S]=L.useState(!1),E=L.useCallback(V=>{V&&(g(V.canScrollPrev()),S(V.canScrollNext()))},[]),G=L.useCallback(()=>{p?.scrollPrev()},[p]),D=L.useCallback(()=>{p?.scrollNext()},[p]),B=L.useCallback(V=>{V.key==="ArrowLeft"?(V.preventDefault(),G()):V.key==="ArrowRight"&&(V.preventDefault(),D())},[G,D]);return L.useEffect(()=>{!p||!o||o(p)},[p,o]),L.useEffect(()=>{if(p)return E(p),p.on("reInit",E),p.on("select",E),()=>{p?.off("select",E)}},[p,E]),Me(Ua.Provider,{value:{carouselRef:f,api:p,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:G,scrollNext:D,canScrollPrev:c,canScrollNext:v},children:Me("div",{ref:l,onKeyDownCapture:B,className:r("relative",i),role:"region","aria-roledescription":"carousel",...s,children:n})})});to.displayName="Carousel";var oo=L.forwardRef(({className:e,...t},o)=>{let{carouselRef:a,orientation:i}=eo();return Me("div",{ref:a,className:"overflow-hidden",children:Me("div",{ref:o,className:r("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});oo.displayName="CarouselContent";var ao=L.forwardRef(({className:e,...t},o)=>{let{orientation:a}=eo();return Me("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})});ao.displayName="CarouselItem";var io=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollPrev:s,canScrollPrev:l}=eo();return Qa(ge,{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:[Me(Es,{className:"h-6 w-6"}),Me("span",{className:"sr-only",children:"Previous slide"})]})});io.displayName="CarouselPrevious";var ro=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollNext:s,canScrollNext:l}=eo();return Qa(ge,{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:[Me(Hs,{className:"h-6 w-6"}),Me("span",{className:"sr-only",children:"Next slide"})]})});ro.displayName="CarouselNext";import*as qa from"react";import*as Ie from"@radix-ui/react-popover";import{jsx as Xa}from"react/jsx-runtime";var kt=Ie.Root,St=Ie.Trigger,ft=qa.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>Xa(Ie.Portal,{children:Xa(Ie.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-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),...a})}));ft.displayName=Ie.Content.displayName;import{format as no}from"date-fns";import{Calendar as Fs}from"lucide-react";import{QuestionMarkCircleIcon as _s,XCircleIcon as zs}from"@heroicons/react/16/solid";import{Fragment as Za,jsx as te,jsxs as Dt}from"react/jsx-runtime";var Bs=({label:e,placeholder:t="Select a value",size:o=1,message:a,isError:i,disabled:n,dateFormat:s="dd/MM/yyyy",buttonProps:l,popoverProps:f,calendarProps:p})=>{let c=p?.selected||null;return Dt("div",{children:[Dt(kt,{...f,children:[te(St,{asChild:!0,children:Dt(se,{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",(!c||!(c instanceof Date)&&typeof c=="object"&&(!("from"in c)||!c.from))&&"text-gray-500",i&&"border-red-500 ring-red-500 ring-1"),disabled:n,...l,children:[te("div",{className:"line-clamp-1 flex-1",children:c instanceof Date?no(c,s):c&&typeof c=="object"&&"from"in c&&"to"in c?te(Za,{children:c.from?c.to?Dt(Za,{children:[te("span",{className:"date-from",children:no(c.from,s)})," ",te("span",{className:"date-separator",children:"-"}),te("span",{className:"date-to",children:no(c.to,s)})]}):no(c.from,s):t}):t}),e&&te("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}),te(Fs,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),te(ft,{className:"w-auto !p-0 border-none",children:te(Jt,{...p})})]}),a&&Dt("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[i?te(zs,{width:16,height:16,className:"text-red-500"}):te(_s,{width:16,height:16,className:"text-gray-500"}),te("span",{className:r(i?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:a})]})]})};import*as tt from"react";import*as C from"@radix-ui/react-alert-dialog";import{jsx as Ae,jsxs as Ws}from"react/jsx-runtime";var Vs=C.Root,Os=C.Trigger,Ka=C.Portal,_o=tt.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}));_o.displayName=C.Overlay.displayName;var Ya=tt.forwardRef(({className:e,...t},o)=>Ws(Ka,{children:[Ae(_o,{}),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})]}));Ya.displayName=C.Content.displayName;var Ja=({className:e,...t})=>Ae("div",{className:r("flex flex-col space-y-2 text-left",e),...t});Ja.displayName="AlertDialogHeader";var ei=({className:e,...t})=>Ae("div",{className:r("flex flex-row justify-end space-x-4",e),...t});ei.displayName="AlertDialogFooter";var ti=tt.forwardRef(({className:e,...t},o)=>Ae(C.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));ti.displayName=C.Title.displayName;var oi=tt.forwardRef(({className:e,...t},o)=>Ae(C.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));oi.displayName=C.Description.displayName;var ai=tt.forwardRef(({className:e,...t},o)=>Ae(C.Action,{ref:o,className:r(xe({variant:"primary"}),"",e),...t}));ai.displayName=C.Action.displayName;var ii=tt.forwardRef(({className:e,...t},o)=>Ae(C.Cancel,{ref:o,className:r(xe({variant:"secondary"}),e),...t}));ii.displayName=C.Cancel.displayName;import{createContext as Gs,useContext as ri}from"react";import{jsx as Mt}from"react/jsx-runtime";var zo=Gs({align:"center"}),Bo=({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})},Vo=({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"},f={small:"lg:text-3xl text-2xl",large:"lg:text-4xl md:text-3xl text-2xl"},{align:p}=ri(zo);return Mt(s,{className:r("font-bold max-w-4xl",p==="center"?"mx-auto":p==="right"?"ml-auto":"",l[o],f[t],a&&"truncate","text-balance md:text-wrap",i),children:n})},Oo=({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"},f={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:p}=ri(zo);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],f[o],a&&"truncate",i),children:n})},Wo=({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(zo.Provider,{value:{align:t},children:o})});import{ChevronLeft as $s,ChevronRight as js}from"lucide-react";import{Fragment as Us,jsx as le,jsxs as ni}from"react/jsx-runtime";function si({current:e,total:t,onChange:o}){let a=i=>le("li",{children:le("button",{className:r(et({variant:e===i?"outline":"secondary",size:"sm"})),onClick:()=>o(i),children:i})},i);return le("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:ni("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&le("li",{children:le("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:le($s,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((i,n)=>a(n+1)):ni(Us,{children:[a(1),e===1&&[a(2),a(3)],e>3&&le("li",{children:le("button",{className:r(et({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&&le("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),a(t)]}),t>1&&le("li",{children:le("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:le(js,{className:"h-4 w-4"})})})]})})}import*as so from"react";import*as ue from"@radix-ui/react-tabs";import{jsx as Go}from"react/jsx-runtime";var It=ue.Root,gt=so.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...a},i)=>Go(ue.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}));gt.displayName=ue.List.displayName;var ut=so.forwardRef(({className:e,...t},o)=>Go(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=so.forwardRef(({className:e,...t},o)=>Go(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 Qs}from"react";import{QuestionMarkCircleIcon as Xs}from"@heroicons/react/24/outline";import{XCircleIcon as qs}from"@heroicons/react/24/solid";import{jsx as bt,jsxs as li}from"react/jsx-runtime";var Zs=Qs(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,size:s,rows:l=3,...f},p)=>li("div",{className:r("relative",i,t&&"mobase-text-area-error"),children:[a&&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:a}),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,...f}),o&&li("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?bt(qs,{width:16,height:16,className:"text-red-500"}):bt(Xs,{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:`
|
|
70
|
+
`})]}),tt=({className:e,children:t,title:o,shortTitle:a,qrImage:i,qrLink:n,logoQr:s,isQrForAll:l=!1,...f})=>h(et,{...f,children:h(ze,{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:h(Kt,{className:"p-0",children:U("div",{className:"flex flex-row flex-wrap",children:[h("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:[h("div",{className:"flex-none",children:h("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:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),h("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:[h("div",{className:"flex-none",children:h("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:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),h("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:[h("div",{className:"flex-none",children:h("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:[h("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"," ",a||"Truy c\u1EADp ngay"]})]})]})]})}),h("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&&h("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),U("div",{className:"relative",children:[l&&h("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:h("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),h(ns,{img:i,isQrForAll:l,children:n&&h(rs,{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 fs}from"react";import{useEffect as ss,useLayoutEffect as ls,useState as ms}from"react";import cs from"ua-parser-js";var ds=()=>cs().device.type==="mobile",ps=typeof window<"u"?ls:ss,_a=()=>{let[e,t]=ms(!1);return ps(()=>{t(ds())},[]),e};import{Fragment as gs,jsx as Yt,jsxs as us}from"react/jsx-runtime";var kt=({action:e,newTab:t,offset:o,dialogQrProps:a,className:i,children:n,...s})=>{let[l,f]=fs(!1),p=_a(),c=!!a?.qrLink,g=()=>{let B=c?a?.qrLink:e;return typeof B=="string"?B.trim():""},v=()=>{let B=g();!B&&typeof e!="function"||(typeof e=="function"?e():window.open(B,t?"_blank":"_self"))},S=(B,V=0)=>{let F=document.querySelector(B);if(!F)return;let Do=F.getBoundingClientRect().top+window.scrollY-V;window.scrollTo({top:Do,behavior:"smooth"})},H=()=>{typeof e=="string"&&e.startsWith("#")?S(e,o):v()},G=()=>us(gs,{children:[Yt(se,{...s,className:i,onClick:()=>f(!0),"data-name":"button-action-with-qr",children:n}),Yt(tt,{...a,open:l,onOpenChange:()=>f(!1),qrLink:a?.qrLink||""})]});return c?p?a?.isQrForAll?G():Yt(se,{...s,className:i,onClick:v,"data-name":"button-action-with-qr",children:n}):G():Yt(se,{...s,onClick:H,className:r("cursor-pointer",i),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};import*as gt from"react";import{ChevronRightIcon as vs,DotsHorizontalIcon as bs}from"@radix-ui/react-icons";import{Slot as xs}from"@radix-ui/react-slot";import{jsx as Me,jsxs as hs}from"react/jsx-runtime";var za=gt.forwardRef(({className:e,...t},o)=>Me("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));za.displayName="Breadcrumb";var Ba=gt.forwardRef(({className:e,...t},o)=>Me("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}));Ba.displayName="BreadcrumbList";var Va=gt.forwardRef(({className:e,...t},o)=>Me("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));Va.displayName="BreadcrumbItem";var Oa=gt.forwardRef(({asChild:e,className:t,...o},a)=>Me(e?xs:"a",{ref:a,className:r("transition-colors hover:text-foreground",t),...o}));Oa.displayName="BreadcrumbLink";var Wa=gt.forwardRef(({className:e,...t},o)=>Me("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:r("text-sm text-gray-500",e),...t}));Wa.displayName="BreadcrumbPage";var $a=({children:e,className:t,...o})=>Me("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??Me(vs,{className:"w-2 h-2"})});$a.displayName="BreadcrumbSeparator";var Ga=({className:e,...t})=>hs("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[Me(bs,{className:"w-4 h-4 text-gray-900"}),Me("span",{className:"sr-only",children:"More"})]});Ga.displayName="BreadcrumbElipssis";import*as eo from"react";import{enUS as Ps,vi as Cs}from"date-fns/locale";import{DayPicker as Rs}from"react-day-picker";import{ChevronLeft as Ts,ChevronRight as ks}from"lucide-react";import Ss from"lunisolar";import*as ja from"react";import*as St from"@radix-ui/react-checkbox";import{CheckIcon as ys}from"@heroicons/react/16/solid";import{cva as Ua}from"class-variance-authority";import{jsx as Fo}from"react/jsx-runtime";var ws=Ua("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"}}),Ns=Ua("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Jt=ja.forwardRef(({className:e,size:t,...o},a)=>Fo(St.Root,{ref:a,className:r(ws({size:t}),e),...o,children:Fo(St.Indicator,{className:r("flex items-center justify-center text-current"),children:Fo(ys,{className:r(Ns({size:t}))})})}));Jt.displayName=St.Root.displayName;import{Fragment as Ls,jsx as ye,jsxs as _o}from"react/jsx-runtime";var Ds=({date:e,cusContent:t})=>{let o=null;return o=Ss(e).lunar,_o(Ls,{children:[t?t(e):e.getDate(),o&&ye("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none luna-date hidden group-[.show-luna]:block",children:o.day})]})},Ms={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 Is({isShow:e,setIsShow:t,lang:o}){let a=eo.useId();return ye("div",{className:"w-full p-3 pt-0",children:_o("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[ye(Jt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:i=>{typeof i=="boolean"&&t(i)}}),ye("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 As=e=>e.getDay()===0||e.getDay()===6;function to({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:a=!1,lang:i="vi",cusContentDay:n,...s}){let[l,f]=eo.useState(!0);return ye(Rs,{locale:i==="vi"?Cs:Ps,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(he({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(he({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:As},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>ye(Ts,{className:"h-6 w-6"}),IconRight:()=>ye(ks,{className:"h-6 w-6"}),DayContent:p=>ye(Ds,{date:p.date,cusContent:n}),Months:({children:p})=>_o("div",{className:"w-full",children:[ye("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:p}),a&&ye(Is,{isShow:l,setIsShow:f,lang:i})]})},formatters:i==="vi"?Ms:{},...s})}to.displayName="Calendar";import*as L from"react";import _s from"embla-carousel-react";import{ChevronLeftIcon as zs,ChevronRightIcon as Bs}from"@heroicons/react/16/solid";import*as Qa from"react";import{Slot as Es}from"@radix-ui/react-slot";import{cva as Hs}from"class-variance-authority";import{jsx as Fs}from"react/jsx-runtime";var ot=Hs("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"}}),ue=Qa.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let l=a?Es:"button",f=r(ot({variant:t,size:o,className:e}));return Fs(l,{className:f,disabled:i,ref:s,...n,children:n.children})});ue.displayName="IconButton";import{jsx as Ie,jsxs as qa}from"react/jsx-runtime";var Xa=L.createContext(null);function oo(){let e=L.useContext(Xa);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:a,className:i,children:n,...s},l)=>{let[f,p]=_s({...t,axis:e==="horizontal"?"x":"y"},a),[c,g]=L.useState(!1),[v,S]=L.useState(!1),H=L.useCallback(V=>{V&&(g(V.canScrollPrev()),S(V.canScrollNext()))},[]),G=L.useCallback(()=>{p?.scrollPrev()},[p]),D=L.useCallback(()=>{p?.scrollNext()},[p]),B=L.useCallback(V=>{V.key==="ArrowLeft"?(V.preventDefault(),G()):V.key==="ArrowRight"&&(V.preventDefault(),D())},[G,D]);return L.useEffect(()=>{!p||!o||o(p)},[p,o]),L.useEffect(()=>{if(p)return H(p),p.on("reInit",H),p.on("select",H),()=>{p?.off("select",H)}},[p,H]),Ie(Xa.Provider,{value:{carouselRef:f,api:p,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:G,scrollNext:D,canScrollPrev:c,canScrollNext:v},children:Ie("div",{ref:l,onKeyDownCapture:B,className:r("relative",i),role:"region","aria-roledescription":"carousel",...s,children:n})})});ao.displayName="Carousel";var io=L.forwardRef(({className:e,...t},o)=>{let{carouselRef:a,orientation:i}=oo();return Ie("div",{ref:a,className:"overflow-hidden",children:Ie("div",{ref:o,className:r("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});io.displayName="CarouselContent";var ro=L.forwardRef(({className:e,...t},o)=>{let{orientation:a}=oo();return Ie("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})});ro.displayName="CarouselItem";var no=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollPrev:s,canScrollPrev:l}=oo();return qa(ue,{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:[Ie(zs,{className:"h-6 w-6"}),Ie("span",{className:"sr-only",children:"Previous slide"})]})});no.displayName="CarouselPrevious";var so=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollNext:s,canScrollNext:l}=oo();return qa(ue,{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:[Ie(Bs,{className:"h-6 w-6"}),Ie("span",{className:"sr-only",children:"Next slide"})]})});so.displayName="CarouselNext";import*as Ka from"react";import*as Ae from"@radix-ui/react-popover";import{jsx as Za}from"react/jsx-runtime";var Dt=Ae.Root,Mt=Ae.Trigger,ut=Ka.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>Za(Ae.Portal,{children:Za(Ae.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-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),...a})}));ut.displayName=Ae.Content.displayName;import{format as lo}from"date-fns";import{Calendar as Vs}from"lucide-react";import{QuestionMarkCircleIcon as Os,XCircleIcon as Ws}from"@heroicons/react/16/solid";import{Fragment as Ya,jsx as te,jsxs as It}from"react/jsx-runtime";var $s=({label:e,placeholder:t="Select a value",size:o=1,message:a,isError:i,disabled:n,dateFormat:s="dd/MM/yyyy",buttonProps:l,popoverProps:f,calendarProps:p})=>{let c=p?.selected||null;return It("div",{children:[It(Dt,{...f,children:[te(Mt,{asChild:!0,children:It(se,{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",(!c||!(c instanceof Date)&&typeof c=="object"&&(!("from"in c)||!c.from))&&"text-gray-500",i&&"border-red-500 ring-red-500 ring-1"),disabled:n,...l,children:[te("div",{className:"line-clamp-1 flex-1",children:c instanceof Date?lo(c,s):c&&typeof c=="object"&&"from"in c&&"to"in c?te(Ya,{children:c.from?c.to?It(Ya,{children:[te("span",{className:"date-from",children:lo(c.from,s)})," ",te("span",{className:"date-separator",children:"-"}),te("span",{className:"date-to",children:lo(c.to,s)})]}):lo(c.from,s):t}):t}),e&&te("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}),te(Vs,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),te(ut,{className:"w-auto !p-0 border-none",children:te(to,{...p})})]}),a&&It("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[i?te(Ws,{width:16,height:16,className:"text-red-500"}):te(Os,{width:16,height:16,className:"text-gray-500"}),te("span",{className:r(i?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:a})]})]})};import*as at from"react";import*as R from"@radix-ui/react-alert-dialog";import{jsx as Le,jsxs as Us}from"react/jsx-runtime";var Gs=R.Root,js=R.Trigger,Ja=R.Portal,zo=at.forwardRef(({className:e,...t},o)=>Le(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}));zo.displayName=R.Overlay.displayName;var ei=at.forwardRef(({className:e,...t},o)=>Us(Ja,{children:[Le(zo,{}),Le(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})]}));ei.displayName=R.Content.displayName;var ti=({className:e,...t})=>Le("div",{className:r("flex flex-col space-y-2 text-left",e),...t});ti.displayName="AlertDialogHeader";var oi=({className:e,...t})=>Le("div",{className:r("flex flex-row justify-end space-x-4",e),...t});oi.displayName="AlertDialogFooter";var ai=at.forwardRef(({className:e,...t},o)=>Le(R.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));ai.displayName=R.Title.displayName;var ii=at.forwardRef(({className:e,...t},o)=>Le(R.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));ii.displayName=R.Description.displayName;var ri=at.forwardRef(({className:e,...t},o)=>Le(R.Action,{ref:o,className:r(he({variant:"primary"}),"",e),...t}));ri.displayName=R.Action.displayName;var ni=at.forwardRef(({className:e,...t},o)=>Le(R.Cancel,{ref:o,className:r(he({variant:"secondary"}),e),...t}));ni.displayName=R.Cancel.displayName;import{createContext as Qs,useContext as si}from"react";import{jsx as At}from"react/jsx-runtime";var Bo=Qs({align:"center"}),Vo=({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 At("div",{className:r("mb-1 font-semibold",n[e],s[t],o&&"truncate",a),children:i})},Oo=({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"},f={small:"lg:text-3xl text-2xl",large:"lg:text-4xl md:text-3xl text-2xl"},{align:p}=si(Bo);return At(s,{className:r("font-bold max-w-4xl",p==="center"?"mx-auto":p==="right"?"ml-auto":"",l[o],f[t],a&&"truncate","text-balance md:text-wrap",i),children:n})},Wo=({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"},f={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:p}=si(Bo);return At("div",{className:r(p==="center"?"mx-auto max-w-2xl":p==="right"?"max-w-4xl ml-auto":"max-w-4xl",s[e],l[t],f[o],a&&"truncate",i),children:n})},$o=({className:e,align:t="center",children:o})=>At("div",{className:r("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:At(Bo.Provider,{value:{align:t},children:o})});import{ChevronLeft as Xs,ChevronRight as qs}from"lucide-react";import{Fragment as Zs,jsx as le,jsxs as li}from"react/jsx-runtime";function mi({current:e,total:t,onChange:o}){let a=i=>le("li",{children:le("button",{className:r(ot({variant:e===i?"outline":"secondary",size:"sm"})),onClick:()=>o(i),children:i})},i);return le("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:li("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&le("li",{children:le("button",{className:r(ot({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:le(Xs,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((i,n)=>a(n+1)):li(Zs,{children:[a(1),e===1&&[a(2),a(3)],e>3&&le("li",{children:le("button",{className:r(ot({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&&le("button",{className:r(ot({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),a(t)]}),t>1&&le("li",{children:le("button",{className:r(ot({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:le(qs,{className:"h-4 w-4"})})})]})})}import*as mo from"react";import*as ve from"@radix-ui/react-tabs";import{jsx as Go}from"react/jsx-runtime";var Lt=ve.Root,vt=mo.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...a},i)=>Go(ve.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}));vt.displayName=ve.List.displayName;var bt=mo.forwardRef(({className:e,...t},o)=>Go(ve.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}));bt.displayName=ve.Trigger.displayName;var xt=mo.forwardRef(({className:e,...t},o)=>Go(ve.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}));xt.displayName=ve.Content.displayName;import{forwardRef as Ks}from"react";import{QuestionMarkCircleIcon as Ys}from"@heroicons/react/24/outline";import{XCircleIcon as Js}from"@heroicons/react/24/solid";import{jsx as ht,jsxs as ci}from"react/jsx-runtime";var el=Ks(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,size:s,rows:l=3,...f},p)=>ci("div",{className:r("relative",i,t&&"mobase-text-area-error"),children:[a&&ht("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}),ht("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,...f}),o&&ci("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?ht(Js,{width:16,height:16,className:"text-red-500"}):ht(Ys,{width:16,height:16,className:"text-gray-500"}),ht("span",{className:r("text-gray-500 ",s===2?"text-sm":"text-xs"),children:o})]}),ht("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 Pt from"react";import*as re from"@radix-ui/react-accordion";import{Che
|
|
|
94
94
|
color: rgb(var(--mobase-red-500) / 1);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`})]}));import*as
|
|
97
|
+
`})]}));import*as fo from"react";var tl=1,ol=1e6;var jo=0;function al(){return jo=(jo+1)%Number.MAX_SAFE_INTEGER,jo.toString()}var Uo=new Map,di=e=>{if(Uo.has(e))return;let t=setTimeout(()=>{Uo.delete(e),Et({type:"REMOVE_TOAST",toastId:e})},ol);Uo.set(e,t)},il=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,tl)};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?di(o):e.toasts.forEach(a=>{di(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}},co=[],po={toasts:[]};function Et(e){po=il(po,e),co.forEach(t=>{t(po)})}function pi({...e}){let t=al(),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 Qo(){let[e,t]=fo.useState(po);return fo.useEffect(()=>(co.push(t),()=>{let o=co.indexOf(t);o>-1&&co.splice(o,1)}),[e]),{...e,toast:pi,dismiss:o=>Et({type:"DISMISS_TOAST",toastId:o})}}import*as it from"react";import*as _ from"@radix-ui/react-toast";import{cva as rl}from"class-variance-authority";import{XMarkIcon as nl,CheckCircleIcon as sl,ExclamationTriangleIcon as ll,InformationCircleIcon as ml}from"@heroicons/react/20/solid";import{jsx as Ee,jsxs as fi}from"react/jsx-runtime";var gi=_.Provider,Xo=it.forwardRef(({className:e,...t},o)=>Ee(_.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}));Xo.displayName=_.Viewport.displayName;var cl=rl("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=it.forwardRef(({className:e,variant:t="sucess",children:o,...a},i)=>fi(_.Root,{ref:i,className:r(cl({variant:t}),e),...a,children:[fi("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&Ee(sl,{className:"w-5 h-5 text-green-500"}),t==="warning"&&Ee(ll,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&Ee(ml,{className:"w-5 h-5 text-red-500"})]}),o]}));qo.displayName=_.Root.displayName;var ui=it.forwardRef(({className:e,...t},o)=>Ee(_.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}));ui.displayName=_.Action.displayName;var Zo=it.forwardRef(({className:e,...t},o)=>Ee(_.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:Ee(nl,{className:"h-5 w-5"})}));Zo.displayName=_.Close.displayName;var Ko=it.forwardRef(({className:e,...t},o)=>Ee(_.Title,{ref:o,className:r("text-base font-semibold leading-tight",e),...t}));Ko.displayName=_.Title.displayName;var Yo=it.forwardRef(({className:e,...t},o)=>Ee(_.Description,{ref:o,className:r("text-sm opacity-90",e),...t}));Yo.displayName=_.Description.displayName;import{jsx as go,jsxs as Jo}from"react/jsx-runtime";function dl(){let{toasts:e}=Qo();return Jo(gi,{children:[e.map(function({id:t,title:o,description:a,action:i,...n}){return Jo(qo,{...n,children:[Jo("div",{className:"grid gap-2",children:[o&&go(Ko,{children:o}),a&&go(Yo,{children:a})]}),i,go(Zo,{})]},t)}),go(Xo,{})]})}import*as vi from"react";import{Slot as pl}from"@radix-ui/react-slot";import{cva as fl}from"class-variance-authority";import{jsx as gl}from"react/jsx-runtime";var bi=fl("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"}}),Be=vi.forwardRef(({className:e,variant:t="default",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let l=a?pl:"button",f=r(bi({variant:t,size:o,className:e}));return gl(l,{className:f,disabled:i,ref:s,...n,children:n.children})});Be.displayName="TextButton";import*as ea from"react";import*as me from"@radix-ui/react-tooltip";import{jsx as yi}from"react/jsx-runtime";var ul=me.Provider,vl=me.Root,bl=me.Trigger,xi=ea.forwardRef((e,t)=>yi(me.Arrow,{ref:t,className:r("drop-shadow-md",e.className),...e}));xi.displayName=me.Arrow.displayName;var hi=ea.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...a},i)=>yi(me.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}));hi.displayName=me.Content.displayName;import{forwardRef as xl,useEffect as hl,useRef as yl,useState as wl}from"react";import{QuestionMarkCircleIcon as Nl,XCircleIcon as Pl,XCircleIcon as Cl}from"@heroicons/react/16/solid";import{jsx as Ve,jsxs as ta}from"react/jsx-runtime";var Rl=xl(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,withClearButton:s,size:l,onChange:f,onFocus:p,onClickClear:c,value:g,defaultValue:v,type:S="text",...H},G)=>{let[D,B]=wl(!1),V=yl(null),F=ee=>{ee&&!D&&B(!0),!ee&&D&&B(!1)},Da=ee=>{s&&F(ee.target.value),f?.(ee)},Do=ee=>{s&&F(ee.target.value),p?.(ee)},Un=()=>{let ee=V.current?.querySelector("input");ee&&(c?.(ee.value),ee.value="",ee.focus(),B(!1))};return hl(()=>{F(v||g)},[g,v]),ta("div",{className:r(i,t&&"mobase-text-input-error"),ref:V,children:[ta("div",{className:"relative",children:[a&&Ve("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}),Ve("input",{disabled:e,type:S,ref:G,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:Da,onFocus:Do,value:g,defaultValue:v,...H}),s&&D&&Ve("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:Un,children:Ve(Pl,{strokeWidth:2,width:20,height:20})})]}),o&&ta("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?Ve(Cl,{width:16,height:16,className:"text-red-500"}):Ve(Nl,{width:16,height:16,className:"text-gray-500"}),Ve("span",{className:r("text-gray-500 ",l===2?"text-sm":"text-xs"),children:o})]}),Ve("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 Pt from"react";import*as re from"@radix-ui/react-accordion";import{Che
|
|
|
117
117
|
color: rgb(var(--mobase-red-500) / 1);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
`})]})});import{MinusCircleIcon as Nl,PlusCircleIcon as Pl}from"@heroicons/react/24/outline";import{forwardRef as Cl,useState as Rl}from"react";import{jsx as Lt,jsxs as ta}from"react/jsx-runtime";var hi=Cl(({className:e,min:t=0,max:o=10,step:a=1,defaultValue:i=0,onChangeValue:n,onDecrease:s,onIncrease:l,disabled:f=!1,...p},c)=>{let[g,v]=Rl(i),S=()=>{let D=Math.min(g+a,o);v(D),n?.(D),l?.(D)},E=()=>{let D=Math.max(g-a,t);v(D),n?.(D),s?.(D)},G=D=>{let B=parseFloat(D.target.value);if(!isNaN(B)){let V=Math.max(Math.min(B,o),t);v(V),n?.(V)}};return ta("div",{ref:c,className:r("flex items-center ",e),children:[ta(ge,{className:r(" text-pink-500 cursor-pointer w-9 h-9",f&&"text-gray-400 cursor-default"),variant:"transparent",onClick:E,disabled:f||g<=t,children:[Lt(Nl,{className:"w-7 h-7 "}),Lt("span",{className:"sr-only",children:"Decrease value"})]}),Lt("input",{type:"number",value:g,onChange:G,className:"flex text-center min-w-8 w-8 h-8 border-0 bg-white text-base text-gray-900 ring-offset-none placeholder:text-gray-500 font-medium focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 shadow-none disabled:cursor-not-allowed disabled:opacity-50 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",min:t,max:o,step:a,disabled:f,...p}),ta(ge,{className:r(" text-pink-500 cursor-pointer w-9 h-9",f&&"text-gray-400 cursor-default"),variant:"transparent",onClick:S,disabled:f||g>=o,children:[Lt(Pl,{className:"w-7 h-7 "}),Lt("span",{className:"sr-only",children:"Increase value"})]})]})});hi.displayName="Stepper";import*as ye from"react";import{ChevronDownIcon as yi,ChevronUpIcon as Tl,CheckIcon as kl,XCircleIcon as Sl}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as Dl}from"@heroicons/react/24/outline";import*as x from"@radix-ui/react-select";import{jsx as k,jsxs as Et}from"react/jsx-runtime";var Ml=ye.forwardRef(({className:e,children:t,label:o,message:a,size:i,isError:n,disabled:s,...l},f)=>Et("div",{ref:f,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&&k("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}),k(x.Root,{disabled:s,...l,children:t}),a&&Et("div",{className:r("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?k(Sl,{width:16,height:16}):k(Dl,{width:16,height:16}),k("span",{className:r(i===2?"text-sm":"text-xs"),children:a})]})]})),Il=x.Value,wi=ye.forwardRef(({className:e,children:t,...o},a)=>Et(x.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:[k("div",{className:"line-clamp-1 text-left",children:t}),k(x.Icon,{asChild:!0,children:k(yi,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));wi.displayName=x.Trigger.displayName;var oa=ye.forwardRef(({className:e,...t},o)=>k(x.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:k(Tl,{className:"h-5 w-5"})}));oa.displayName=x.ScrollUpButton.displayName;var aa=ye.forwardRef(({className:e,...t},o)=>k(x.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:k(yi,{className:"h-5 w-5"})}));aa.displayName=x.ScrollDownButton.displayName;var Ni=ye.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>k(x.Portal,{children:Et(x.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-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,...a,children:[k(oa,{}),k(x.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),k(aa,{})]})}));Ni.displayName=x.Content.displayName;var Al=ye.forwardRef(({className:e,children:t,...o},a)=>k(x.Group,{ref:a,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),Pi=ye.forwardRef(({className:e,...t},o)=>k(x.Label,{ref:o,className:r("pr-2 pl-7 py-1.5 text-sm font-semibold z-[1]",e),...t}));Pi.displayName=x.Label.displayName;var Ll=ye.forwardRef(({className:e,children:t,...o},a)=>Et(x.Item,{ref:a,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:[k("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:k(x.ItemIndicator,{children:k(kl,{className:"h-4 w-4 text-pink-500"})})}),k(x.ItemText,{children:t})]})),Ci=ye.forwardRef(({className:e,...t},o)=>k(x.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));Ci.displayName=x.Separator.displayName;import*as ve from"react";import*as M from"@radix-ui/react-navigation-menu";import{cva as El}from"class-variance-authority";import{ChevronDownIcon as Hl}from"@heroicons/react/16/solid";import{jsx as we,jsxs as Vl}from"react/jsx-runtime";var Ri=ve.createContext(null),Fl=({value:e,children:t})=>we(Ri.Provider,{value:e,children:t}),_l=()=>{let e=ve.useContext(Ri);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},fo=ve.forwardRef(({className:e,children:t,alignDropdown:o="left",...a},i)=>we(Fl,{value:{alignDropdown:o},children:we(M.Root,{ref:i,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:t})}));fo.displayName=M.Root.displayName;var go=ve.forwardRef(({className:e,...t},o)=>we(M.List,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));go.displayName=M.List.displayName;var uo=M.Item,vo=El(xe({variant:"transparent",size:"sm"})),bo=ve.forwardRef(({className:e,children:t,...o},a)=>Vl(M.Trigger,{ref:a,className:r(vo(),"group px-2",e),...o,children:[t," ",we(Hl,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));bo.displayName=M.Trigger.displayName;var xo=ve.forwardRef(({className:e,...t},o)=>{let{alignDropdown:a}=_l();return we(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",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})});xo.displayName=M.Content.displayName;var Ht=M.Link,zl=ve.forwardRef(({className:e,...t},o)=>we("div",{className:r("absolute left-0 top-full flex justify-center"),children:we(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})}));zl.displayName=M.Viewport.displayName;var Bl=ve.forwardRef(({className:e,...t},o)=>we(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:we("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Bl.displayName=M.Indicator.displayName;import*as ki from"react";import*as Ft from"@radix-ui/react-switch";import{jsx as Ti}from"react/jsx-runtime";var Si=ki.forwardRef(({className:e,...t},o)=>Ti(Ft.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:Ti(Ft.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")})}));Si.displayName=Ft.Root.displayName;import*as at from"react";import*as Ve from"@radix-ui/react-radio-group";import{Circle as Ol}from"lucide-react";import{cva as Di}from"class-variance-authority";import{jsx as _t}from"react/jsx-runtime";var Wl=Di("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"}}),Gl=Di("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),Mi=at.createContext({size:"medium"});function $l(){let e=at.useContext(Mi);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Ii=at.forwardRef(({className:e,size:t,...o},a)=>_t(Mi.Provider,{value:{size:t},children:_t(Ve.Root,{className:r("grid gap-2",e),...o,ref:a})}));Ii.displayName=Ve.Root.displayName;var Ai=at.forwardRef(({className:e,...t},o)=>{let a=$l(),{size:i}=a??{};return _t(Ve.Item,{ref:o,className:r(Wl({size:i}),e),...t,children:_t(Ve.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:_t(Ol,{className:r(Gl({size:i}))})})})});Ai.displayName=Ve.Item.displayName;import{jsx as xt,jsxs as Li}from"react/jsx-runtime";var jl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return xt("li",{className:"",children:xt(Ht,{asChild:!0,children:Li("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&&xt("div",{className:"w-7 h-7 shrink-0 mt-1",children:xt("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),Li("div",{className:" ",children:[xt("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),a&&xt("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},Ei=jl;import{jsx as Oe,jsxs as Ql}from"react/jsx-runtime";var Ul=({data:e,alignDropdown:t})=>Oe(fo,{alignDropdown:t,children:Oe(go,{children:e.map(o=>{let a=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?Ql(uo,{className:"relative",children:[Oe(bo,{children:o.title}),Oe(xo,{children:Oe("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=>Oe(Ei,{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):Oe(uo,{className:"relative",children:Oe(Ht,{href:o.url,className:vo(),...a,children:o.title})},o.id)})})}),Hi=Ul;import{useEffect as Jl,useState as em}from"react";var ho=[.24,.25,.05,1];import{useKey as tm}from"react-use";import Bi from"next/router";import{jsx as zt,jsxs as Fi}from"react/jsx-runtime";var Xl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return zt("li",{className:"min-h-8",children:Fi("a",{className:r(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:i,...s,children:[t&&zt("div",{className:"w-6 h-6 shrink-0",children:zt("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),Fi("div",{className:" ",children:[zt("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),a&&zt("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},_i=Xl;import{motion as ql}from"framer-motion";import{jsx as it,jsxs as Yl}from"react/jsx-runtime";var Zl={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:ho}},exit:{opacity:0,transition:{duration:.05}}},Kl=({data:e})=>it(Xe,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return it(ql.div,{variants:Zl,children:t.hasDropdown?Yl(qe,{value:t.id,children:[it(Ze,{className:"py-3",children:t.title}),it(Ke,{children:it("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(a=>it(_i,{title:a.title,href:a.url,newTab:a.newTab,icon:t.dropDownCompact===!0?a.icon:"",children:t.dropDownCompact===!0?a.description:""},a.title))})})]}):it("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)})}),zi=Kl;import{motion as ia,AnimatePresence as om,LazyMotion as am,domAnimation as im}from"framer-motion";import{jsx as y,jsxs as U}from"react/jsx-runtime";var rm=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,nm=({data:e,className:t})=>{let[o,a]=em(!1);tm("Escape",()=>a(!1)),Jl(()=>{if(!o)return;let s=rm();function l(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Bi.events.on("routeChangeComplete",l),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:s||0,behavior:"instant"}),Bi.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:ho}},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:[y("span",{className:"sr-only",children:"Navigation"}),y(ia.div,{animate:o?"hidden":"visible",variants:i,children:y("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:y("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),y(ia.div,{animate:o?"visible":"hidden",variants:i,children:y("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:y("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),y(am,{features:im,children:y(om,{mode:"wait",children:o&&U(ia.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:[y(zi,{data:e}),U("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[y("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:[y("div",{className:"flex-initial",children:y("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:y("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),y("div",{className:"ml-3 flex-initial",children:y("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:y("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),y("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",y("a",{href:`tel:${ke.Support.Hotline}`,className:"text-gray-600",children:ke.Support.Hotline_Format})]}),U("li",{className:"mb-1",children:["Email :\xA0",y("a",{href:`mailto:${ke.Support.Email}`,className:"text-gray-600",children:ke.Support.Email})]})]}),y("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:[y("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:y("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:U("g",{children:[y("title",{children:"Asset 1"}),y("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 Tl,PlusCircleIcon as kl}from"@heroicons/react/24/outline";import{forwardRef as Sl,useState as Dl}from"react";import{jsx as Ht,jsxs as oa}from"react/jsx-runtime";var wi=Sl(({className:e,min:t=0,max:o=10,step:a=1,defaultValue:i=0,onChangeValue:n,onDecrease:s,onIncrease:l,disabled:f=!1,...p},c)=>{let[g,v]=Dl(i),S=()=>{let D=Math.min(g+a,o);v(D),n?.(D),l?.(D)},H=()=>{let D=Math.max(g-a,t);v(D),n?.(D),s?.(D)},G=D=>{let B=parseFloat(D.target.value);if(!isNaN(B)){let V=Math.max(Math.min(B,o),t);v(V),n?.(V)}};return oa("div",{ref:c,className:r("flex items-center ",e),children:[oa(ue,{className:r(" text-pink-500 cursor-pointer w-9 h-9",f&&"text-gray-400 cursor-default"),variant:"transparent",onClick:H,disabled:f||g<=t,children:[Ht(Tl,{className:"w-7 h-7 "}),Ht("span",{className:"sr-only",children:"Decrease value"})]}),Ht("input",{type:"number",value:g,onChange:G,className:"flex text-center min-w-8 w-8 h-8 border-0 bg-white text-base text-gray-900 ring-offset-none placeholder:text-gray-500 font-medium focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 shadow-none disabled:cursor-not-allowed disabled:opacity-50 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",min:t,max:o,step:a,disabled:f,...p}),oa(ue,{className:r(" text-pink-500 cursor-pointer w-9 h-9",f&&"text-gray-400 cursor-default"),variant:"transparent",onClick:S,disabled:f||g>=o,children:[Ht(kl,{className:"w-7 h-7 "}),Ht("span",{className:"sr-only",children:"Increase value"})]})]})});wi.displayName="Stepper";import*as we from"react";import{ChevronDownIcon as Ni,ChevronUpIcon as Ml,CheckIcon as Il,XCircleIcon as Al}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as Ll}from"@heroicons/react/24/outline";import*as x from"@radix-ui/react-select";import{jsx as k,jsxs as Ft}from"react/jsx-runtime";var El=we.forwardRef(({className:e,children:t,label:o,message:a,size:i,isError:n,disabled:s,...l},f)=>Ft("div",{ref:f,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&&k("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}),k(x.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?k(Al,{width:16,height:16}):k(Ll,{width:16,height:16}),k("span",{className:r(i===2?"text-sm":"text-xs"),children:a})]})]})),Hl=x.Value,Pi=we.forwardRef(({className:e,children:t,...o},a)=>Ft(x.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:[k("div",{className:"line-clamp-1 text-left",children:t}),k(x.Icon,{asChild:!0,children:k(Ni,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));Pi.displayName=x.Trigger.displayName;var aa=we.forwardRef(({className:e,...t},o)=>k(x.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:k(Ml,{className:"h-5 w-5"})}));aa.displayName=x.ScrollUpButton.displayName;var ia=we.forwardRef(({className:e,...t},o)=>k(x.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:k(Ni,{className:"h-5 w-5"})}));ia.displayName=x.ScrollDownButton.displayName;var Ci=we.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>k(x.Portal,{children:Ft(x.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-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,...a,children:[k(aa,{}),k(x.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),k(ia,{})]})}));Ci.displayName=x.Content.displayName;var Fl=we.forwardRef(({className:e,children:t,...o},a)=>k(x.Group,{ref:a,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),Ri=we.forwardRef(({className:e,...t},o)=>k(x.Label,{ref:o,className:r("pr-2 pl-7 py-1.5 text-sm font-semibold z-[1]",e),...t}));Ri.displayName=x.Label.displayName;var _l=we.forwardRef(({className:e,children:t,...o},a)=>Ft(x.Item,{ref:a,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:[k("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:k(x.ItemIndicator,{children:k(Il,{className:"h-4 w-4 text-pink-500"})})}),k(x.ItemText,{children:t})]})),Ti=we.forwardRef(({className:e,...t},o)=>k(x.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));Ti.displayName=x.Separator.displayName;import*as be from"react";import*as M from"@radix-ui/react-navigation-menu";import{cva as zl}from"class-variance-authority";import{ChevronDownIcon as Bl}from"@heroicons/react/16/solid";import{jsx as Ne,jsxs as Gl}from"react/jsx-runtime";var ki=be.createContext(null),Vl=({value:e,children:t})=>Ne(ki.Provider,{value:e,children:t}),Ol=()=>{let e=be.useContext(ki);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},uo=be.forwardRef(({className:e,children:t,alignDropdown:o="left",...a},i)=>Ne(Vl,{value:{alignDropdown:o},children:Ne(M.Root,{ref:i,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:t})}));uo.displayName=M.Root.displayName;var vo=be.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}));vo.displayName=M.List.displayName;var bo=M.Item,xo=zl(he({variant:"transparent",size:"sm"})),ho=be.forwardRef(({className:e,children:t,...o},a)=>Gl(M.Trigger,{ref:a,className:r(xo(),"group px-2",e),...o,children:[t," ",Ne(Bl,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));ho.displayName=M.Trigger.displayName;var yo=be.forwardRef(({className:e,...t},o)=>{let{alignDropdown:a}=Ol();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",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})});yo.displayName=M.Content.displayName;var _t=M.Link,Wl=be.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})}));Wl.displayName=M.Viewport.displayName;var $l=be.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"})}));$l.displayName=M.Indicator.displayName;import*as Di from"react";import*as zt from"@radix-ui/react-switch";import{jsx as Si}from"react/jsx-runtime";var Mi=Di.forwardRef(({className:e,...t},o)=>Si(zt.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:Si(zt.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")})}));Mi.displayName=zt.Root.displayName;import*as rt from"react";import*as Oe from"@radix-ui/react-radio-group";import{Circle as jl}from"lucide-react";import{cva as Ii}from"class-variance-authority";import{jsx as Bt}from"react/jsx-runtime";var Ul=Ii("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=Ii("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),Ai=rt.createContext({size:"medium"});function Xl(){let e=rt.useContext(Ai);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Li=rt.forwardRef(({className:e,size:t,...o},a)=>Bt(Ai.Provider,{value:{size:t},children:Bt(Oe.Root,{className:r("grid gap-2",e),...o,ref:a})}));Li.displayName=Oe.Root.displayName;var Ei=rt.forwardRef(({className:e,...t},o)=>{let a=Xl(),{size:i}=a??{};return Bt(Oe.Item,{ref:o,className:r(Ul({size:i}),e),...t,children:Bt(Oe.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Bt(jl,{className:r(Ql({size:i}))})})})});Ei.displayName=Oe.Item.displayName;import{jsx as yt,jsxs as Hi}from"react/jsx-runtime";var ql=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return yt("li",{className:"",children:yt(_t,{asChild:!0,children:Hi("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&&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})}),Hi("div",{className:" ",children:[yt("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),a&&yt("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},Fi=ql;import{jsx as We,jsxs as Kl}from"react/jsx-runtime";var Zl=({data:e,alignDropdown:t})=>We(uo,{alignDropdown:t,children:We(vo,{children:e.map(o=>{let a=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?Kl(bo,{className:"relative",children:[We(ho,{children:o.title}),We(yo,{children:We("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=>We(Fi,{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):We(bo,{className:"relative",children:We(_t,{href:o.url,className:xo(),...a,children:o.title})},o.id)})})}),_i=Zl;import{useEffect as am,useState as im}from"react";var wo=[.24,.25,.05,1];import{useKey as rm}from"react-use";import Oi from"next/router";import{jsx as Vt,jsxs as zi}from"react/jsx-runtime";var Yl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return Vt("li",{className:"min-h-8",children:zi("a",{className:r(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:i,...s,children:[t&&Vt("div",{className:"w-6 h-6 shrink-0",children:Vt("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),zi("div",{className:" ",children:[Vt("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),a&&Vt("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},Bi=Yl;import{motion as Jl}from"framer-motion";import{jsx as nt,jsxs as om}from"react/jsx-runtime";var em={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:wo}},exit:{opacity:0,transition:{duration:.05}}},tm=({data:e})=>nt(Ze,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return nt(Jl.div,{variants:em,children:t.hasDropdown?om(Ke,{value:t.id,children:[nt(Ye,{className:"py-3",children:t.title}),nt(Je,{children:nt("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(a=>nt(Bi,{title:a.title,href:a.url,newTab:a.newTab,icon:t.dropDownCompact===!0?a.icon:"",children:t.dropDownCompact===!0?a.description:""},a.title))})})]}):nt("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)})}),Vi=tm;import{motion as ra,AnimatePresence as nm,LazyMotion as sm,domAnimation as lm}from"framer-motion";import{jsx as y,jsxs as Q}from"react/jsx-runtime";var mm=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,cm=({data:e,className:t})=>{let[o,a]=im(!1);rm("Escape",()=>a(!1)),am(()=>{if(!o)return;let s=mm();function l(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Oi.events.on("routeChangeComplete",l),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:s||0,behavior:"instant"}),Oi.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:wo}},exit:{opacity:0,transition:{duration:.15}}};return Q("div",{className:r(t),children:[Q("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>a(!o),children:[y("span",{className:"sr-only",children:"Navigation"}),y(ra.div,{animate:o?"hidden":"visible",variants:i,children:y("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:y("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),y(ra.div,{animate:o?"visible":"hidden",variants:i,children:y("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:y("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),y(sm,{features:lm,children:y(nm,{mode:"wait",children:o&&Q(ra.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:[y(Vi,{data:e}),Q("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[y("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),Q("div",{className:"flex flex-nowrap",children:[y("div",{className:"flex-initial",children:y("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:y("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),y("div",{className:"ml-3 flex-initial",children:y("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:y("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),y("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),Q("ul",{className:"mb-2 text-sm text-gray-500",children:[Q("li",{className:"mb-1",children:["Hotline :\xA0",y("a",{href:`tel:${Se.Support.Hotline}`,className:"text-gray-600",children:Se.Support.Hotline_Format})]}),Q("li",{className:"mb-1",children:["Email :\xA0",y("a",{href:`mailto:${Se.Support.Email}`,className:"text-gray-600",children:Se.Support.Email})]})]}),y("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:Q("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:[y("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:y("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:Q("g",{children:[y("title",{children:"Asset 1"}),y("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
|
|
121
121
|
V56.3C312,38.2,297.5,23.7,279.4,23.7z M226.8,77.1H86.1c-8.1,0-13.5-5.4-13.5-13.5c0-8.1,5.4-13.5,13.5-13.5h140.8
|
|
122
122
|
c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),y("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`})]})})}),y("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),y("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),y("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),
|
|
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`})]})})}),y("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),y("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),y("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),Q("ul",{className:"mb-2 text-sm text-gray-500",children:[Q("li",{className:"mb-1",children:["Hotline :\xA0",y("a",{className:"text-gray-600",href:`tel:${Se.Business.Phome}`,children:Se.Business.Phome_Format})]}),Q("li",{className:"mb-1",children:["Email :\xA0",Q("a",{href:`mailto:${Se.Business.Email}`,className:"text-gray-600",children:[" ",Se.Business.Email]})]})]}),y("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:Q("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:[y("div",{className:"absolute left-1 top-1 ",children:y("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),y("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),y("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},Wi=cm;import dm from"html-react-parser";import{ArrowDownTrayIcon as pm}from"@heroicons/react/16/solid";import{useState as fm}from"react";import{jsx as xe,jsxs as st}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:f,url:p}=o||{},[c,g]=fm(!1);return st("div",{className:r(e,"z-40 w-full flex-none lg:z-50 ",n?"sticky top-0 ":"relative"),children:[xe("div",{className:r("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),xe("nav",{className:r("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:st("div",{className:"relative flex items-center ",children:[st("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[xe("span",{className:"sr-only",children:"MoMo home page"}),xe("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&st("a",{href:p,title:f,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:[xe("img",{src:l,className:"w-9 h-9",alt:"MoMo"}),xe("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:f&&dm(f)})]}),xe("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:xe(_i,{data:t,alignDropdown:s})}),st("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[i&&i,a&&st("div",{className:" hidden sm:flex",children:[st(se,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>g(!0),children:[" ",xe(pm,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),xe(tt,{open:c,onOpenChange:()=>g(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),xe(Wi,{data:t,className:"lg:hidden "})]})]})})]})};$i.displayName="HeaderNavigation";import{useState as gm}from"react";import{Fragment as vm,jsx as d,jsxs as w}from"react/jsx-runtime";var Gi=({item:e})=>d("div",{className:"mt-3 flex w-full text-sm",children:w("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&&d("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:d("img",{src:e.icon,className:"absolute inset-0"})}),d("span",{className:"block ",children:e.title})]})}),um=({primaryMenu:e,secondaryMenu:t})=>{let[o,a]=gm(null);return w(vm,{children:[d("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:w("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:[w("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[d("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((i,n)=>d(Gi,{item:i},n))]}),w("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[d("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),d("div",{className:"flex flex-wrap",children:t?.lists?.map((i,n)=>d(Gi,{item:i},n))})]}),w("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[w("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[d("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),w("div",{className:"mt-2 text-sm md:mt-3",children:[d("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),d("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:Ma.Address})]}),w("div",{className:"mt-1 text-sm",children:[d("span",{className:"text-white text-opacity-50",children:"Hotline : "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Support.Hotline}`,children:j.Support.Hotline_Format}),w("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),w("div",{className:"mt-1 text-sm",children:[d("span",{className:"text-white text-opacity-50",children:"Email : "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${j.Support.Email}`,children:j.Support.Email})]}),w("div",{className:"mt-1 text-sm",children:[w("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),d("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}),d("span",{className:"text-white text-opacity-60",children:" - "}),d("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}),d("span",{className:"text-white text-opacity-60",children:" - "}),d("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}),d("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),d("div",{className:"mt-3 flex",children:d("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:w("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[d("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:d("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:w("g",{children:[d("title",{children:"Asset 1"}),d("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`}),d("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`})]})})}),d("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),d("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),w("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[d("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),w("div",{className:"mt-2 text-sm md:mt-3",children:[d("span",{className:"text-white text-opacity-50",children:"Hotline : "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Business.Phome}`,children:$.Business.Phome_Format})]}),w("div",{className:"mt-1 text-sm",children:[d("span",{className:"text-white text-opacity-50",children:"Email : "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${$.Business.Email}`,children:$.Business.Email})]}),w("div",{className:"mt-1 text-sm",children:[d("span",{className:"text-white text-opacity-50",children:"Website : "}),d("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"})]}),d("div",{className:"mt-3 flex",children:d("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:w("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[d("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:w("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"})]})}),d("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),d("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),w("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:[w("div",{className:"h-auto",children:[d("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"}),d("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:d("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Nt&&Nt.map((i,n)=>d("li",{className:"inline-block",children:d("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:d("img",{src:i.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),w("div",{className:"h-auto",children:[d("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"}),w("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[d("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:d("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),d("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:Do&&Do.map((i,n)=>w("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${i.Image}) center center / contain no-repeat`},children:[d(se,{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}),d("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),d(Je,{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))}),d("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:d("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Nt&&Nt.map((i,n)=>d("li",{children:d("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:d("img",{alt:i.Name,src:i.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),w("div",{className:"h-auto",children:[d("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"}),w("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[w("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),d("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:d("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),d("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:w("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[w("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[d("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),w("div",{className:"shrink pl-3",children:[d("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"}),d("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"})]})]}),d("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"}),w("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()]})]})}),d("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`})]})})}),d("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),d("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),w("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[d("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),w("div",{className:"mt-2 text-sm md:mt-3",children:[d("span",{className:"text-white text-opacity-50",children:"Hotline : "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${j.Business.Phome}`,children:j.Business.Phome_Format})]}),w("div",{className:"mt-1 text-sm",children:[d("span",{className:"text-white text-opacity-50",children:"Email : "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${j.Business.Email}`,children:j.Business.Email})]}),w("div",{className:"mt-1 text-sm",children:[d("span",{className:"text-white text-opacity-50",children:"Website : "}),d("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"})]}),d("div",{className:"mt-3 flex",children:d("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:w("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[d("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:w("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"})]})}),d("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),d("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),w("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:[w("div",{className:"h-auto",children:[d("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"}),d("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:d("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Ct&&Ct.map((i,n)=>d("li",{className:"inline-block",children:d("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:d("img",{src:i.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),w("div",{className:"h-auto",children:[d("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"}),w("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[d("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:d("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),d("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:Mo&&Mo.map((i,n)=>w("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${i.Image}) center center / contain no-repeat`},children:[d(se,{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}),d("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),d(tt,{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))}),d("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:d("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Ct&&Ct.map((i,n)=>d("li",{children:d("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:d("img",{alt:i.Name,src:i.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),w("div",{className:"h-auto",children:[d("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"}),w("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[w("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),d("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:d("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),d("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:w("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[w("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[d("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),w("div",{className:"shrink pl-3",children:[d("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"}),d("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"})]})]}),d("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"}),w("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()]})]})}),d("style",{children:`
|
|
129
129
|
footer .button-download {
|
|
130
130
|
max-width: 150px;
|
|
131
131
|
}
|
|
132
|
-
`})]})},
|
|
132
|
+
`})]})},ji=um;import{jsx as Ui}from"react/jsx-runtime";var bm=({className:e,primaryMenu:t,secondaryMenu:o})=>Ui("footer",{className:r("grid grid-cols-1 flex-wrap bg-gray-900",e),children:Ui(ji,{primaryMenu:t,secondaryMenu:o})});import*as lt from"react";import{jsx as wt}from"react/jsx-runtime";var Qi=lt.forwardRef(({className:e,...t},o)=>wt("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Qi.displayName="Card";var Xi=lt.forwardRef(({className:e,...t},o)=>wt("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));Xi.displayName="CardHeader";var qi=lt.forwardRef(({className:e,...t},o)=>wt("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));qi.displayName="CardTitle";var Zi=lt.forwardRef(({className:e,...t},o)=>wt("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Zi.displayName="CardDescription";var Ki=lt.forwardRef(({className:e,...t},o)=>wt("div",{ref:o,className:r("p-6 pt-0",e),...t}));Ki.displayName="CardContent";var Yi=lt.forwardRef(({className:e,...t},o)=>wt("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));Yi.displayName="CardFooter";import*as ce from"react";import{Command as q}from"cmdk";import{XCircleIcon as xm,MagnifyingGlassIcon as hm}from"@heroicons/react/16/solid";import{jsx as oe,jsxs as wm}from"react/jsx-runtime";var na=ce.forwardRef(({className:e,...t},o)=>oe(q,{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}));na.displayName=q.displayName;var ym=({children:e,...t})=>oe(et,{...t,children:oe(ze,{className:"overflow-hidden p-0 shadow-lg",children:oe(na,{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})})}),Ji=ce.forwardRef(({className:e,onClickClear:t,classNameInput:o,...a},i)=>{let n=ce.useRef(null),[s,l]=ce.useState(""),f=()=>{!s||s?.length<=0||(l(""),t?.(s))};return wm("div",{ref:n,className:r("flex items-center border-b px-2",e),"cmdk-input-wrapper":"",children:[oe(hm,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),oe(q.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}),oe(xm,{onClick:f,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")})]})});Ji.displayName=q.Input.displayName;var er=ce.forwardRef(({className:e,...t},o)=>oe(q.List,{ref:o,className:r("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));er.displayName=q.List.displayName;var tr=ce.forwardRef((e,t)=>oe(q.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));tr.displayName=q.Empty.displayName;var or=ce.forwardRef(({className:e,...t},o)=>oe(q.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}));or.displayName=q.Group.displayName;var ar=ce.forwardRef(({className:e,...t},o)=>oe(q.Separator,{ref:o,className:r("-mx-1 text-gray-900 h-px bg-border",e),...t}));ar.displayName=q.Separator.displayName;var ir=ce.forwardRef(({className:e,children:t,...o},a)=>oe(q.Item,{ref:a,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}));ir.displayName=q.Item.displayName;var rr=({className:e,...t})=>oe("span",{className:r("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});rr.displayName="CommandShortcut";import{ChevronDownIcon as Nm}from"@heroicons/react/16/solid";import{jsx as No,jsxs as nr}from"react/jsx-runtime";var Pm=({className:e,value:t,label:o,children:a,placeholder:i,size:n})=>nr("div",{className:"relative",children:[nr(Mt,{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||a||i,No(Nm,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&No("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),Cm=({children:e,className:t})=>No(ut,{className:r("!p-0 border-none",t),children:e}),Rm=({open:e,onOpenChange:t,children:o})=>No(Dt,{open:e,onOpenChange:t,children:o});import{cva as lr}from"class-variance-authority";import{forwardRef as Tm}from"react";import{InformationCircleIcon as km}from"@heroicons/react/24/outline";import{jsx as sa,jsxs as sr}from"react/jsx-runtime";var Sm=lr("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"}}),Dm=lr("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"}}),Mm=Tm(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:a,className:i,disabled:n,actionClassName:s,icon:l,...f},p)=>sr("div",{ref:p,className:r("",i,Sm({typeDiv:e,disabled:n})),...f,children:[sr("div",{className:"flex items-center space-x-2",children:[l||sa(km,{className:r(Dm({typeIcon:e,disabled:n})),width:20,height:20}),t&&sa("div",{children:t})]}),o&&sa(Be,{variant:"primary",onClick:()=>a?.(),className:r("",s),isDisabled:n,children:o})]}));import{forwardRef as Im,useEffect as Am,useRef as Lm,useState as Em}from"react";import{MagnifyingGlassIcon as Hm}from"@heroicons/react/20/solid";import{XCircleIcon as Fm}from"@heroicons/react/24/outline";import{jsx as Nt,jsxs as mr}from"react/jsx-runtime";var _m=Im(({disabled:e,className:t,inputClassName:o,size:a,onChange:i,onFocus:n,onClickClear:s,value:l,defaultValue:f,type:p="text",...c},g)=>{let[v,S]=Em(!1),H=Lm(null),G=F=>{F&&!v&&S(!0),!F&&v&&S(!1)},D=F=>{G(F.target.value),i?.(F)},B=F=>{G(F.target.value),n?.(F)},V=()=>{let F=H.current?.querySelector("input");F&&(s?.(F.value),F.value="",F.focus(),S(!1))};return Am(()=>{G(f||l)},[l,f]),mr("div",{className:r(t),ref:H,children:[mr("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(Hm,{className:"w-4 h-4 text-gray-500"})}),Nt("input",{disabled:e,type:p,ref:g,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:D,onFocus:B,value:l,defaultValue:f,...c}),v&&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 ae from"@radix-ui/react-dialog";import cr,{useContext as Em,useEffect as mr,useState as sa}from"react";import{X as Hm}from"lucide-react";import Fm from"lodash";import*as lr from"@radix-ui/react-aspect-ratio";var de=lr.Root;import{jsx as O,jsxs as Ee}from"react/jsx-runtime";var dr=cr.createContext(void 0);function pr(){let e=Em(dr);if(!e)throw new Error("useLightboxGalleryContext must be used within a LightboxGallery");return e}var la=({children:e,open:t,onOpenChange:o,className:a})=>O(dr.Provider,{value:{open:t,onOpenChange:o},children:O(ae.Root,{open:t,onOpenChange:o,children:O("div",{className:r("lightbox-gallery",a),children:e})})}),_m=({children:e,src:t,alt:o,className:a,classNameImage:i,onClick:n,ratio:s=4/3})=>{let{onOpenChange:l}=pr(),f=()=>{n?.(),l&&l(!0)};return Ee(ae.Trigger,{className:r("",a),onClick:f,children:[e,O(de,{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)})})]})},fr=cr.forwardRef(({className:e,children:t,...o},a)=>{let{onOpenChange:i}=pr(),n=()=>{i&&i(!1)};return Ee(ae.Portal,{children:[O(ae.Overlay,{className:"bg-black fixed inset-0 bg-black/80 z-50"}),Ee(ae.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,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:[O(Hm,{className:"h-4 w-4 mt-0.5"}),O("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]})]})]})});fr.displayName=ae.Content.displayName;var ma=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:a,classNameSubHtmSideBar:i})=>{let[n,s]=sa(""),[l,f]=sa(),[p,c]=sa(0);mr(()=>{l&&(c(l.selectedScrollSnap()+1),l.on("select",()=>{c(l.selectedScrollSnap()+1)}))},[l]);let g=v=>{let S=Fm.filter(e,(G,D)=>D===(v>0?v-1:v)),E=S.length>0?S[0]?.titleImage:"";s(E)};return mr(()=>{g(p)},[p]),Ee(fr,{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(to,{opts:{startIndex:t},setApi:f,className:"w-full h-full relative",children:[O(oo,{className:r("h-screen -ml-3 md:-ml-4",o?"sm:w-[calc(100vw-448px)] w-screen":"w-screen"),children:e.map((v,S)=>O(ao,{className:"pl-6 md:pl-4",children:Ee("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:v.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})})})]})},S))}),O(io,{className:"left-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"}),O(ro,{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 We from"react";import*as Ge from"@radix-ui/react-radio-group";import{Circle as zm}from"lucide-react";import*as Bt from"@radix-ui/react-checkbox";import{CheckIcon as Bm}from"@heroicons/react/16/solid";import{jsx as Ne,jsxs as xr}from"react/jsx-runtime";var gr=We.createContext({hideIndicator:!1});function Vm(){let e=We.useContext(gr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var ur=We.forwardRef(({className:e,hideIndicator:t=!1,...o},a)=>Ne(gr.Provider,{value:{hideIndicator:t},children:Ne(Ge.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:a})}));ur.displayName=Ge.Root.displayName;var vr=We.forwardRef(({className:e,children:t,...o},a)=>{let i=Vm(),{hideIndicator:n}=i??{};return xr(Ge.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(Ge.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Ne(zm,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});vr.displayName=Ge.Item.displayName;var br=We.forwardRef(({className:e,children:t,...o},a)=>xr(Bt.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(Bt.Indicator,{className:r("flex items-center justify-center text-current"),children:Ne(Bm,{className:"h-4 w-4"})})})]}));br.displayName=Bt.Root.displayName;import{cva as Om}from"class-variance-authority";import{jsx as Gm}from"react/jsx-runtime";var hr=Om("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 Wm({className:e,variant:t,...o}){return Gm("div",{className:r(hr({variant:t}),e),...o})}import*as wr from"react";import*as Vt from"@radix-ui/react-progress";import{cva as Nr}from"class-variance-authority";import{jsx as yr}from"react/jsx-runtime";var $m=Nr("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"}}),jm=Nr("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"}}),Pr=wr.forwardRef(({className:e,value:t,variant:o="progress",size:a="medium",disabled:i=!1,...n},s)=>yr(Vt.Root,{ref:s,className:r("",jm({size:a}),e),...n,children:yr(Vt.Indicator,{className:r("",$m({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));Pr.displayName=Vt.Root.displayName;import{jsx as Qm}from"react/jsx-runtime";function Um({className:e,...t}){return Qm("div",{className:r("animate-pulse rounded-md bg-gray-200",e),...t})}import*as Cr from"react";import*as Pe from"@radix-ui/react-slider";import{jsx as wo,jsxs as Xm}from"react/jsx-runtime";var Rr=Cr.forwardRef(({className:e,...t},o)=>Xm(Pe.Root,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[wo(Pe.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:wo(Pe.Range,{className:"absolute h-full bg-pink-500"})}),wo(Pe.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"}),wo(Pe.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"})]}));Rr.displayName=Pe.Root.displayName;import{forwardRef as mc}from"react";import{Fragment as Ym,jsx as pe,jsxs as No}from"react/jsx-runtime";var qm=({author:e=""})=>pe("div",{className:"text-center shrink-0 text-lg font-semibold text-pink-600",children:e?.charAt(0)}),Zm=({author:e,avatar:t})=>pe("div",{className:"w-9 h-9 flex items-center mt-0.5 justify-center rounded-full bg-pink-200 relative overflow-hidden",children:t?pe("img",{src:t,alt:e?.charAt(0),className:"shrink-0 object-cover",width:36,height:36}):pe(qm,{author:e})});function Km({avatar:e="",author:t="",time:o,statusMessage:a,isOutStanding:i}){return pe(Ym,{children:No("div",{className:"flex relative items-center space-x-3",children:[pe(Zm,{avatar:e,author:t}),No("div",{className:"flex flex-col",children:[t&&pe("div",{className:"font-semibold text-gray-900 text-sm",children:t}),No("div",{className:"flex items-center space-x-2 text-xs",children:[o&&pe("div",{className:"text-gray-400",children:o}),a&&No("div",{className:"flex items-center space-x-2",children:[pe("div",{className:"w-1 h-1 mt-0.5 bg-gray-400 rounded-full"}),pe("div",{className:"ml-2 text-pink-500",children:a})]})]})]}),i&&pe("div",{className:"absolute right-1 top-0",children:pe("img",{alt:"",src:"https://homepage.momocdn.net/img/momo-upload-api-230629163313-638236531936463134.png",className:"w-5",loading:"lazy"})})]})})}var Tr=Km;import{useState as Ir}from"react";import{StarIcon as Jm}from"@heroicons/react/20/solid";import{jsx as kr,jsxs as Sr}from"react/jsx-runtime";var ec={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!"},tc={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 oc({point:e,max:t,className:o}){let a=t>5?ec[e||10]:tc[e||5];return Sr("div",{className:r("flex items-center space-x-1",o),children:[kr(Jm,{className:"w-5 h-5 text-yellow-500"}),kr("div",{className:"font-semibold text-gray-900 text-sm",children:`${e}/${t}`}),Sr("span",{className:"font-semibold text-gray-900 text-sm",children:[" ","\xA0\xB7 ",a]})," "]})}var Dr=oc;import{useState as ac}from"react";import Mr from"html-react-parser";import{jsx as ic,jsxs as rc}from"react/jsx-runtime";var ca=({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]=ac(!0),f=()=>{l(!s)},p=(c,g,v=" ")=>c.length<=g?c:c.substring(0,c.lastIndexOf(v,g));return rc("div",{className:r(n),children:[s?Mr(p(e,t)):Mr(e),e.length>t&&ic("span",{onClick:f,className:r("read-or-hide cursor-pointer text-md w-fit pl-1 hover:underline",i),children:s?o:a})]})};import{jsx as st,jsxs as Ar}from"react/jsx-runtime";function nc({content:e,thumbnails:t=[],tags:o=[],commentSideBar:a,rating:i={point:10,max:10},limitContent:n=260}){let[s,l]=Ir(0),[f,p]=Ir(!1),c=g=>{p(!0),l(g)};return Ar("div",{className:"text-gray-700 mt-3 flex flex-col",children:[i.point>0&&st(Dr,{className:"mb-0.5",point:i.point,max:i.max}),e&&st(ca,{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(g=>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:g}))}),t?.length>0&&Ar(la,{open:f,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((g,v)=>st(de,{onClick:()=>c(v),className:"rounded-lg cursor-pointer object-cover",ratio:4/3,children:st("img",{src:g.url,alt:"",className:"w-full h-full rounded-lg object-cover"})},v)),st(ma,{activeSlideIndex:s,images:t?.map((g,v)=>({url:g.url,titleImage:g.titleImage,idx:v})),withSideBar:!!a,subHtmlSideBar:a})]})]})}var Lr=nc;import{jsx as lc}from"react/jsx-runtime";function sc({actions:e=[]}){return lc("div",{className:"flex items-center space-x-4 mt-4 text-gray-700",children:e})}var Er=sc;import{jsx as Po,jsxs as dc}from"react/jsx-runtime";var cc=mc(({avatar:e,author:t,time:o,ratingPoint:a,content:i,tags:n,thumbnails:s,actions:l=[],statusMessage:f,isReply:p,children:c,commentSideBar:g,isOutStanding:v,limitContent:S=260},E)=>dc("div",{ref:E,className:r("",p?"ml-4 py-4":"py-5"),children:[Po(Tr,{avatar:e,author:t,time:o,statusMessage:f,isOutStanding:v}),Po(Lr,{content:i,thumbnails:s,tags:n,rating:a,commentSideBar:g,limitContent:S}),l&&l?.filter(Boolean)?.length>0&&Po(Er,{actions:l.filter(Boolean)}),c&&Po("div",{className:"border-l grid grid-cols-1 divide-y divide-gray-200 ml-2 mt-3 border-l-gray-300 ",children:c})]}));import*as $e from"react";import{cva as pc}from"class-variance-authority";import{CheckIcon as fc}from"@heroicons/react/16/solid";import{XIcon as gc}from"lucide-react";import{jsx as q,jsxs as Co}from"react/jsx-runtime";var uc=pc("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"}}),Hr=$e.createContext("default");function vc(){let e=$e.useContext(Hr);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var bc=$e.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(gc,{className:s}):Co("div",{children:[e==="iconStep"&&q("div",{className:s,children:t}),e==="numberStep"&&q("div",{children:o}),e==="default"&&(n==="completed"?q(fc,{className:s}):q("div",{children:o}))]})}),xc=({step:e,currentStep:t,onValueChangeStep:o,children:a})=>{let i=$e.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})},hc=({step:e,state:t="default",size:o="default",className:a,title:i,description:n,lastStep:s,fristStep:l,icon:f,isError:p,onValueChangeStep:c,...g})=>{let v=vc();return Co("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[Co("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",uc({state:t,size:o}),p&&"bg-red-500 text-white shadow-none",a),...g,children:q(bc,{type:v,icon:f,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")})]}),Co("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})]})]})},yc=({children:e,className:t,type:o="numberStep",...a})=>q(Hr.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 Cc}from"@radix-ui/react-slot";import{Controller as Rc,FormProvider as Tc,useFormContext as kc}from"react-hook-form";import*as Fr from"react";import*as da from"@radix-ui/react-label";import{cva as wc}from"class-variance-authority";import{jsx as Pc}from"react/jsx-runtime";var Nc=wc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Ro=Fr.forwardRef(({className:e,...t},o)=>Pc(da.Root,{ref:o,className:r(Nc(),e),...t}));Ro.displayName=da.Root.displayName;import{jsx as je}from"react/jsx-runtime";var Sc=Tc,_r=Z.createContext({}),Dc=({...e})=>je(_r.Provider,{value:{name:e.name},children:je(Rc,{...e})}),Ot=()=>{let e=Z.useContext(_r),t=Z.useContext(zr),{getFieldState:o,formState:a}=kc(),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}},zr=Z.createContext({}),Br=Z.forwardRef(({className:e,...t},o)=>{let a=Z.useId();return je(zr.Provider,{value:{id:a},children:je("div",{ref:o,className:r("space-y-2",e),...t})})});Br.displayName="FormItem";var Vr=Z.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=Ot();return je(Ro,{ref:o,className:r(a&&"text-red-500","text-gray-700 ",e),htmlFor:i,...t})});Vr.displayName="FormLabel";var Or=Z.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:n}=Ot();return je(Cc,{ref:t,id:a,"aria-describedby":o?`${i} ${n}`:`${i}`,"aria-invalid":!!o,...e})});Or.displayName="FormControl";var Wr=Z.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=Ot();return je("p",{ref:o,id:a,className:r("text-[0.8rem] text-gray-500",e),...t})});Wr.displayName="FormDescription";var Gr=Z.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:n}=Ot(),s=i?String(i?.message):t;return s?je("p",{ref:a,id:n,className:r("text-xs font-medium text-red-500",e),...o,children:s}):null});Gr.displayName="FormMessage";import*as He from"react";import*as b from"@radix-ui/react-dropdown-menu";import{ChevronRight as Mc,Check as Ic}from"lucide-react";import{jsx as Q,jsxs as Wt}from"react/jsx-runtime";var Ac=b.Root,Lc=b.Trigger,Ec=b.Group,Hc=b.Portal,Fc=b.Sub,_c=b.RadioGroup,$r=He.forwardRef(({className:e,inset:t,children:o,...a},i)=>Wt(b.SubTrigger,{ref:i,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),...a,children:[o,Q(Mc,{className:"ml-auto"})]}));$r.displayName=b.SubTrigger.displayName;var jr=He.forwardRef(({className:e,...t},o)=>Q(b.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}));jr.displayName=b.SubContent.displayName;var Ur=He.forwardRef(({className:e,sideOffset:t=4,...o},a)=>Q(b.Portal,{children:Q(b.Content,{ref:a,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})}));Ur.displayName=b.Content.displayName;var Qr=He.forwardRef(({className:e,inset:t,...o},a)=>Q(b.Item,{ref:a,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=b.Item.displayName;var Xr=He.forwardRef(({className:e,children:t,checked:o,...a},i)=>Wt(b.CheckboxItem,{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),checked:o,...a,children:[Wt("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(b.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(Ic,{size:16,strokeWidth:3})})})]}),t]}));Xr.displayName=b.CheckboxItem.displayName;var qr=He.forwardRef(({className:e,children:t,...o},a)=>Wt(b.RadioItem,{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),...o,children:[Wt("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(b.ItemIndicator,{children:Q("div",{className:"size-3.5 rounded-full border-4 border-pink-500 absolute inset-0"})})]}),t]}));qr.displayName=b.RadioItem.displayName;var Zr=He.forwardRef(({className:e,inset:t,...o},a)=>Q(b.Label,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Zr.displayName=b.Label.displayName;var Kr=He.forwardRef(({className:e,...t},o)=>Q(b.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-gray-100",e),...t}));Kr.displayName=b.Separator.displayName;var Yr=({className:e,...t})=>Q("span",{className:r("ml-auto text-xs tracking-widest opacity-60",e),...t});Yr.displayName="DropdownMenuShortcut";import{useRef as zc,useState as Bc,useEffect as Vc,useCallback as Oc,createContext as Wc,useContext as pa}from"react";import{ChevronLeft as Gc,ChevronRight as $c}from"lucide-react";import{Fragment as jc,jsx as Ue,jsxs as Jr}from"react/jsx-runtime";var To=Wc(void 0),fa=({showGradientOverlay:e=!0,gradientOverlayColor:t="255, 255, 255",className:o,children:a})=>{let i=zc(null),[n,s]=Bc({left:!1,right:!1}),l=Oc(()=>{let p=i.current;if(p){let{scrollLeft:c,scrollWidth:g,clientWidth:v}=p;s({left:c>0,right:c+v<g})}},[]);Vc(()=>{let p=i.current;if(p)return l(),window.addEventListener("resize",l),p.addEventListener("scroll",l),()=>{window.removeEventListener("resize",l),p.removeEventListener("scroll",l)}},[l]);let f=p=>{let c=i.current;if(c){let g=c.clientWidth*.7*(p==="left"?-1:1);c.scrollBy({left:g,behavior:"smooth"})}};return Ue(To.Provider,{value:{scrollContainerRef:i,showArrows:n,scroll:f,gradientOverlayColor:t},children:Jr("div",{className:r("relative w-full",o),children:[e&&Jr(jc,{children:[n.left&&Ue("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient( to left, rgba(255, 255, 255, 0),rgb(${t}),rgb(${t}))`}}),n.right&&Ue("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient(to right, rgba(255, 255, 255, 0), rgb(${t}),rgb(${t}))`}})]}),a]})})},ga=({className:e,children:t})=>{let o=pa(To);if(!o)throw new Error("HorizontalContent must be used within a HorizontalScroll");return Ue("div",{ref:o.scrollContainerRef,className:r("overflow-x-auto scrollbar-hide scroll-smooth",e),role:"region","aria-label":"Scrollable content",children:t})},ua=({className:e,children:t,...o})=>{let a=pa(To);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.left?Ue(ge,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute left-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("left"),"aria-label":"Scroll left",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||Ue(Gc,{className:"h-4 w-4"})}):null},va=({className:e,children:t,...o})=>{let a=pa(To);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.right?Ue(ge,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute right-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("right"),"aria-label":"Scroll right",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||Ue($c,{className:"h-4 w-4"})}):null};import{forwardRef as ed}from"react";import{cva as Uc}from"class-variance-authority";import en from"html-react-parser";import{CheckIcon as Qc}from"lucide-react";import{Fragment as qc,jsx as Fe,jsxs as Gt}from"react/jsx-runtime";var Xc=Uc("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}}),tn=({template:e,name:t,description:o,image:a,idx:i,value:n,suffix:s,unit:l})=>Fe(qc,{children:(()=>{switch(e){case 1:case 3:return Gt("li",{className:"flex items-center space-x-4",children:[a?Fe("div",{className:"w-10 h-10 flex justify-center items-center shrink-0",children:Fe("img",{src:a,alt:"",className:"max-w-full"})}):Fe("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:Fe(Qc,{className:"w-4 h-4 text-pink-500"})}),t&&Fe("div",{className:"ml-2 leading-tight",children:en(t)})]});case 2:return Gt("div",{className:r("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-200 md:border-l md:odd:border-l md:odd:pr-0",i>0?"md:pl-4":"md:!border-0"),children:[n&&Gt("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(s||l)&&Gt("span",{children:[s," ",l]})]}),o&&Fe("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:en(o)})]});default:return null}})()}),ko=({dataFeatures:e,template:t=1,dataStats:o})=>Gt("ul",{className:r("",Xc({template:t})),children:[(t===1||t===3)&&e?.map((a,i)=>Fe(tn,{name:a?.name,template:t,image:a?.image,idx:i},i)),t===2&&o?.map((a,i)=>Fe(tn,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:t,description:a?.description,idx:i},i))]});import{Fragment as Kc,jsx as K,jsxs as ba}from"react/jsx-runtime";var on=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,i)=>a/i):e,Zc=({src:e,ratio:t,className:o,youtubeId:a,onClickFC:i=()=>{}})=>ba(de,{className:r(""),ratio:on(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&&ba(Ye,{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:ba("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(_e,{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:""})})]})]}),$t=({type:e=1,src:t,ratio:o,className:a,youtubeId:i,onClickFC:n=()=>{}})=>K(Kc,{children:i?K(Zc,{type:e,src:t,ratio:o,youtubeId:i,onClickFC:n}):K(de,{className:r(""),ratio:on(o),children:K("img",{src:t,className:r("w-full h-full object-cover",a,t?"":"bg-gray-200"),alt:""})})});import xa from"html-react-parser";import{jsx as lt,jsxs as Yc}from"react/jsx-runtime";var Y=({idSection:e,className:t,background:o,children:a})=>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:a})}),P=({align:e="center",tagline:t,title:o,description:a,tagHeading:i="h2",colorScheme:n="pink",sizeHeading:s="small",className:l})=>{let f=n==="black"?"pink":n==="pink"?"regular":"white",p=n==="pink"?"pink":n==="white"?"white":"regular",c=n==="white"?"white":"regular";return Yc(Wo,{align:e,className:l,children:[t&<(Bo,{color:f,children:t}),o&<(Vo,{tagHeading:i,color:p,size:s,children:xa(o)}),a&<(Oo,{color:c,marginTop:s==="large"?"spacing2Xl":"spacingX",children:xa(a)})]})},R=({align:e,isFullInMobile:t=!1,buttons:o,className:a})=>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",a),children:o?.slice(0,2).map((i,n)=>{let{btnName:s,...l}=i;return lt(Rt,{...l,className:r(t&&"w-full md:w-auto",i?.className),children:xa(s)},n)})});import{Fragment as Jc,jsx as W,jsxs as jt}from"react/jsx-runtime";var ha=({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:[W(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className} mb-0 md:mb-0`}),W(ko,{dataFeatures:o,template:a,dataStats:i}),t&&W(R,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),W("div",{className:"col-span-1 md:pl-10",children:s||W($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),an=({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:[W("div",{className:"col-span-1 hidden md:block",children:s||W($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),jt("div",{className:"col-span-1",children:[W(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:e?.className}),W(ko,{dataFeatures:o,template:a,dataStats:i}),W("div",{className:"md:hidden mt-10",children:s||W($t,{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(R,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),rn=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>jt(Jc,{children:[W(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"center",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className||""} mb-0 md:mb-0`}),t&&W(R,{align:"center",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(ko,{dataFeatures:o,template:a,dataStats:i}),s||W($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});import{Fragment as rd,jsx as mt}from"react/jsx-runtime";var td=`var(
|
|
139
|
+
`})]})});import*as ae from"@radix-ui/react-dialog";import pr,{useContext as zm,useEffect as dr,useState as la}from"react";import{X as Bm}from"lucide-react";import Vm from"lodash";import*as cr from"@radix-ui/react-aspect-ratio";var de=cr.Root;import{jsx as O,jsxs as He}from"react/jsx-runtime";var fr=pr.createContext(void 0);function gr(){let e=zm(fr);if(!e)throw new Error("useLightboxGalleryContext must be used within a LightboxGallery");return e}var ma=({children:e,open:t,onOpenChange:o,className:a})=>O(fr.Provider,{value:{open:t,onOpenChange:o},children:O(ae.Root,{open:t,onOpenChange:o,children:O("div",{className:r("lightbox-gallery",a),children:e})})}),Om=({children:e,src:t,alt:o,className:a,classNameImage:i,onClick:n,ratio:s=4/3})=>{let{onOpenChange:l}=gr(),f=()=>{n?.(),l&&l(!0)};return He(ae.Trigger,{className:r("",a),onClick:f,children:[e,O(de,{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)})})]})},ur=pr.forwardRef(({className:e,children:t,...o},a)=>{let{onOpenChange:i}=gr(),n=()=>{i&&i(!1)};return He(ae.Portal,{children:[O(ae.Overlay,{className:"bg-black fixed inset-0 bg-black/80 z-50"}),He(ae.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,He(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:[O(Bm,{className:"h-4 w-4 mt-0.5"}),O("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]})]})]})});ur.displayName=ae.Content.displayName;var ca=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:a,classNameSubHtmSideBar:i})=>{let[n,s]=la(""),[l,f]=la(),[p,c]=la(0);dr(()=>{l&&(c(l.selectedScrollSnap()+1),l.on("select",()=>{c(l.selectedScrollSnap()+1)}))},[l]);let g=v=>{let S=Vm.filter(e,(G,D)=>D===(v>0?v-1:v)),H=S.length>0?S[0]?.titleImage:"";s(H)};return dr(()=>{g(p)},[p]),He(ur,{className:"flex py-0",children:[He("div",{className:" flex-1 relative",children:[He("div",{className:"flex items-center text-sm justify-center absolute top-8 md:top-10 w-full",children:[p||1," / ",e?.length]}),He(ao,{opts:{startIndex:t},setApi:f,className:"w-full h-full relative",children:[O(io,{className:r("h-screen -ml-3 md:-ml-4",o?"sm:w-[calc(100vw-448px)] w-screen":"w-screen"),children:e.map((v,S)=>O(ro,{className:"pl-6 md:pl-4",children:He("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:v.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})})})]})},S))}),O(no,{className:"left-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"}),O(so,{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 $e from"react";import*as Ge from"@radix-ui/react-radio-group";import{Circle as Wm}from"lucide-react";import*as Ot from"@radix-ui/react-checkbox";import{CheckIcon as $m}from"@heroicons/react/16/solid";import{jsx as Pe,jsxs as yr}from"react/jsx-runtime";var vr=$e.createContext({hideIndicator:!1});function Gm(){let e=$e.useContext(vr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var br=$e.forwardRef(({className:e,hideIndicator:t=!1,...o},a)=>Pe(vr.Provider,{value:{hideIndicator:t},children:Pe(Ge.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:a})}));br.displayName=Ge.Root.displayName;var xr=$e.forwardRef(({className:e,children:t,...o},a)=>{let i=Gm(),{hideIndicator:n}=i??{};return yr(Ge.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:[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(Wm,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});xr.displayName=Ge.Item.displayName;var hr=$e.forwardRef(({className:e,children:t,...o},a)=>yr(Ot.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:[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(Ot.Indicator,{className:r("flex items-center justify-center text-current"),children:Pe($m,{className:"h-4 w-4"})})})]}));hr.displayName=Ot.Root.displayName;import{cva as jm}from"class-variance-authority";import{jsx as Qm}from"react/jsx-runtime";var wr=jm("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 Um({className:e,variant:t,...o}){return Qm("div",{className:r(wr({variant:t}),e),...o})}import*as Pr from"react";import*as Wt from"@radix-ui/react-progress";import{cva as Cr}from"class-variance-authority";import{jsx as Nr}from"react/jsx-runtime";var Xm=Cr("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"}}),qm=Cr("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"}}),Rr=Pr.forwardRef(({className:e,value:t,variant:o="progress",size:a="medium",disabled:i=!1,...n},s)=>Nr(Wt.Root,{ref:s,className:r("",qm({size:a}),e),...n,children:Nr(Wt.Indicator,{className:r("",Xm({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));Rr.displayName=Wt.Root.displayName;import{jsx as Km}from"react/jsx-runtime";function Zm({className:e,...t}){return Km("div",{className:r("animate-pulse rounded-md bg-gray-200",e),...t})}import*as Tr from"react";import*as Ce from"@radix-ui/react-slider";import{jsx as je,jsxs as Ym}from"react/jsx-runtime";var kr=Tr.forwardRef(({className:e,showIndicatorValue1:t,showIndicatorValue2:o,...a},i)=>Ym(Ce.Root,{ref:i,className:r("relative flex w-full touch-none select-none items-center",a?.disabled&&"opacity-40",e),...a,children:[je(Ce.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:je(Ce.Range,{className:"absolute h-full bg-pink-500"})}),je(Ce.Thumb,{className:"group relative",children:je("div",{className:"group-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",children:t&&je("div",{className:" duration-300 bottom-3/4 group-hover:opacity-100 opacity-0 absolute bg-black/80 text-xs rounded px-2 py-1 left-1/2 -translate-x-1/2 group-hover:bottom-full mb-1 whitespace-nowrap",children:t})})}),je(Ce.Thumb,{className:"group relative",children:je("div",{className:"group-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",children:o&&je("div",{className:" duration-300 bottom-3/4 group-hover:opacity-100 opacity-0 absolute bg-black/80 text-xs rounded px-2 py-1 left-1/2 -translate-x-1/2 group-hover:bottom-full mb-1 whitespace-nowrap",children:o})})})]}));kr.displayName=Ce.Root.displayName;import{forwardRef as fc}from"react";import{Fragment as oc,jsx as pe,jsxs as Po}from"react/jsx-runtime";var Jm=({author:e=""})=>pe("div",{className:"text-center shrink-0 text-lg font-semibold text-pink-600",children:e?.charAt(0)}),ec=({author:e,avatar:t})=>pe("div",{className:"w-9 h-9 flex items-center mt-0.5 justify-center rounded-full bg-pink-200 relative overflow-hidden",children:t?pe("img",{src:t,alt:e?.charAt(0),className:"shrink-0 object-cover",width:36,height:36}):pe(Jm,{author:e})});function tc({avatar:e="",author:t="",time:o,statusMessage:a,isOutStanding:i}){return pe(oc,{children:Po("div",{className:"flex relative items-center space-x-3",children:[pe(ec,{avatar:e,author:t}),Po("div",{className:"flex flex-col",children:[t&&pe("div",{className:"font-semibold text-gray-900 text-sm",children:t}),Po("div",{className:"flex items-center space-x-2 text-xs",children:[o&&pe("div",{className:"text-gray-400",children:o}),a&&Po("div",{className:"flex items-center space-x-2",children:[pe("div",{className:"w-1 h-1 mt-0.5 bg-gray-400 rounded-full"}),pe("div",{className:"ml-2 text-pink-500",children:a})]})]})]}),i&&pe("div",{className:"absolute right-1 top-0",children:pe("img",{alt:"",src:"https://homepage.momocdn.net/img/momo-upload-api-230629163313-638236531936463134.png",className:"w-5",loading:"lazy"})})]})})}var Sr=tc;import{useState as Lr}from"react";import{StarIcon as ac}from"@heroicons/react/20/solid";import{jsx as Dr,jsxs as Mr}from"react/jsx-runtime";var ic={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!"},rc={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 nc({point:e,max:t,className:o}){let a=t>5?ic[e||10]:rc[e||5];return Mr("div",{className:r("flex items-center space-x-1",o),children:[Dr(ac,{className:"w-5 h-5 text-yellow-500"}),Dr("div",{className:"font-semibold text-gray-900 text-sm",children:`${e}/${t}`}),Mr("span",{className:"font-semibold text-gray-900 text-sm",children:[" ","\xA0\xB7 ",a]})," "]})}var Ir=nc;import{useState as sc}from"react";import Ar from"html-react-parser";import{jsx as lc,jsxs as mc}from"react/jsx-runtime";var da=({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]=sc(!0),f=()=>{l(!s)},p=(c,g,v=" ")=>c.length<=g?c:c.substring(0,c.lastIndexOf(v,g));return mc("div",{className:r(n),children:[s?Ar(p(e,t)):Ar(e),e.length>t&&lc("span",{onClick:f,className:r("read-or-hide cursor-pointer text-md w-fit pl-1 hover:underline",i),children:s?o:a})]})};import{jsx as mt,jsxs as Er}from"react/jsx-runtime";function cc({content:e,thumbnails:t=[],tags:o=[],commentSideBar:a,rating:i={point:10,max:10},limitContent:n=260}){let[s,l]=Lr(0),[f,p]=Lr(!1),c=g=>{p(!0),l(g)};return Er("div",{className:"text-gray-700 mt-3 flex flex-col",children:[i.point>0&&mt(Ir,{className:"mb-0.5",point:i.point,max:i.max}),e&&mt(da,{className:"text-sm",maxChar:n,children:e}),o?.length>0&&mt("div",{className:"w-full oveflow-x-auto flex items-center space-x-2 mt-2.5",children:o?.map(g=>mt("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:g}))}),t?.length>0&&Er(ma,{open:f,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((g,v)=>mt(de,{onClick:()=>c(v),className:"rounded-lg cursor-pointer object-cover",ratio:4/3,children:mt("img",{src:g.url,alt:"",className:"w-full h-full rounded-lg object-cover"})},v)),mt(ca,{activeSlideIndex:s,images:t?.map((g,v)=>({url:g.url,titleImage:g.titleImage,idx:v})),withSideBar:!!a,subHtmlSideBar:a})]})]})}var Hr=cc;import{jsx as pc}from"react/jsx-runtime";function dc({actions:e=[]}){return pc("div",{className:"flex items-center space-x-4 mt-4 text-gray-700",children:e})}var Fr=dc;import{jsx as Co,jsxs as uc}from"react/jsx-runtime";var gc=fc(({avatar:e,author:t,time:o,ratingPoint:a,content:i,tags:n,thumbnails:s,actions:l=[],statusMessage:f,isReply:p,children:c,commentSideBar:g,isOutStanding:v,limitContent:S=260},H)=>uc("div",{ref:H,className:r("",p?"ml-4 py-4":"py-5"),children:[Co(Sr,{avatar:e,author:t,time:o,statusMessage:f,isOutStanding:v}),Co(Hr,{content:i,thumbnails:s,tags:n,rating:a,commentSideBar:g,limitContent:S}),l&&l?.filter(Boolean)?.length>0&&Co(Fr,{actions:l.filter(Boolean)}),c&&Co("div",{className:"border-l grid grid-cols-1 divide-y divide-gray-200 ml-2 mt-3 border-l-gray-300 ",children:c})]}));import*as Ue from"react";import{cva as vc}from"class-variance-authority";import{CheckIcon as bc}from"@heroicons/react/16/solid";import{XIcon as xc}from"lucide-react";import{jsx as Z,jsxs as Ro}from"react/jsx-runtime";var hc=vc("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"}}),_r=Ue.createContext("default");function yc(){let e=Ue.useContext(_r);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var wc=Ue.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?Z(xc,{className:s}):Ro("div",{children:[e==="iconStep"&&Z("div",{className:s,children:t}),e==="numberStep"&&Z("div",{children:o}),e==="default"&&(n==="completed"?Z(bc,{className:s}):Z("div",{children:o}))]})}),Nc=({step:e,currentStep:t,onValueChangeStep:o,children:a})=>{let i=Ue.useCallback(()=>{e!==t&&o(e)},[e,t,o]);return Z("div",{onClick:i,className:"flex w-full flex-col items-center justify-center gap-1 cursor-pointer",children:a})},Pc=({step:e,state:t="default",size:o="default",className:a,title:i,description:n,lastStep:s,fristStep:l,icon:f,isError:p,onValueChangeStep:c,...g})=>{let v=yc();return Ro("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[Ro("div",{className:"flex w-full items-center justify-center gap-2",children:[Z("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")}),Z("div",{className:r("flex h-7 w-7 items-center justify-center rounded-full",hc({state:t,size:o}),p&&"bg-red-500 text-white shadow-none",a),...g,children:Z(wc,{type:v,icon:f,stepNumber:e,size:o,isError:p,state:t})}),Z("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",s&&"opacity-0",t==="completed"&&"bg-pink-300")})]}),Ro("div",{className:"text-center w-full flex flex-col items-center mt-2 px-0.5",children:[i&&Z("div",{className:"text-xs font-bold text-slate-900 ",children:i}),n&&Z("div",{className:"text-xs text-gray-500 ",children:n})]})]})},Cc=({children:e,className:t,type:o="numberStep",...a})=>Z(_r.Provider,{value:o,children:Z("div",{className:r("flex items-start justify-between w-full",t),...a,children:e})});import*as K from"react";import{Slot as Sc}from"@radix-ui/react-slot";import{Controller as Dc,FormProvider as Mc,useFormContext as Ic}from"react-hook-form";import*as zr from"react";import*as pa from"@radix-ui/react-label";import{cva as Rc}from"class-variance-authority";import{jsx as kc}from"react/jsx-runtime";var Tc=Rc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),To=zr.forwardRef(({className:e,...t},o)=>kc(pa.Root,{ref:o,className:r(Tc(),e),...t}));To.displayName=pa.Root.displayName;import{jsx as Qe}from"react/jsx-runtime";var Ac=Mc,Br=K.createContext({}),Lc=({...e})=>Qe(Br.Provider,{value:{name:e.name},children:Qe(Dc,{...e})}),$t=()=>{let e=K.useContext(Br),t=K.useContext(Vr),{getFieldState:o,formState:a}=Ic(),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}},Vr=K.createContext({}),Or=K.forwardRef(({className:e,...t},o)=>{let a=K.useId();return Qe(Vr.Provider,{value:{id:a},children:Qe("div",{ref:o,className:r("space-y-2",e),...t})})});Or.displayName="FormItem";var Wr=K.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=$t();return Qe(To,{ref:o,className:r(a&&"text-red-500","text-gray-700 ",e),htmlFor:i,...t})});Wr.displayName="FormLabel";var $r=K.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:n}=$t();return Qe(Sc,{ref:t,id:a,"aria-describedby":o?`${i} ${n}`:`${i}`,"aria-invalid":!!o,...e})});$r.displayName="FormControl";var Gr=K.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=$t();return Qe("p",{ref:o,id:a,className:r("text-[0.8rem] text-gray-500",e),...t})});Gr.displayName="FormDescription";var jr=K.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:n}=$t(),s=i?String(i?.message):t;return s?Qe("p",{ref:a,id:n,className:r("text-xs font-medium text-red-500",e),...o,children:s}):null});jr.displayName="FormMessage";import*as Fe from"react";import*as b from"@radix-ui/react-dropdown-menu";import{ChevronRight as Ec,Check as Hc}from"lucide-react";import{jsx as X,jsxs as Gt}from"react/jsx-runtime";var Fc=b.Root,_c=b.Trigger,zc=b.Group,Bc=b.Portal,Vc=b.Sub,Oc=b.RadioGroup,Ur=Fe.forwardRef(({className:e,inset:t,children:o,...a},i)=>Gt(b.SubTrigger,{ref:i,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),...a,children:[o,X(Ec,{className:"ml-auto"})]}));Ur.displayName=b.SubTrigger.displayName;var Qr=Fe.forwardRef(({className:e,...t},o)=>X(b.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}));Qr.displayName=b.SubContent.displayName;var Xr=Fe.forwardRef(({className:e,sideOffset:t=4,...o},a)=>X(b.Portal,{children:X(b.Content,{ref:a,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})}));Xr.displayName=b.Content.displayName;var qr=Fe.forwardRef(({className:e,inset:t,...o},a)=>X(b.Item,{ref:a,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=b.Item.displayName;var Zr=Fe.forwardRef(({className:e,children:t,checked:o,...a},i)=>Gt(b.CheckboxItem,{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),checked:o,...a,children:[Gt("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:[o===!1&&X("div",{className:"size-3.5 rounded-sm border border-gray-400 absolute inset-0"}),X(b.ItemIndicator,{children:X("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:X(Hc,{size:16,strokeWidth:3})})})]}),t]}));Zr.displayName=b.CheckboxItem.displayName;var Kr=Fe.forwardRef(({className:e,children:t,...o},a)=>Gt(b.RadioItem,{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),...o,children:[Gt("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:[X("div",{className:"size-3.5 rounded-full border border-gray-400 absolute inset-0"}),X(b.ItemIndicator,{children:X("div",{className:"size-3.5 rounded-full border-4 border-pink-500 absolute inset-0"})})]}),t]}));Kr.displayName=b.RadioItem.displayName;var Yr=Fe.forwardRef(({className:e,inset:t,...o},a)=>X(b.Label,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Yr.displayName=b.Label.displayName;var Jr=Fe.forwardRef(({className:e,...t},o)=>X(b.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-gray-100",e),...t}));Jr.displayName=b.Separator.displayName;var en=({className:e,...t})=>X("span",{className:r("ml-auto text-xs tracking-widest opacity-60",e),...t});en.displayName="DropdownMenuShortcut";import{useRef as Wc,useState as $c,useEffect as Gc,useCallback as jc,createContext as Uc,useContext as fa}from"react";import{ChevronLeft as Qc,ChevronRight as Xc}from"lucide-react";import{Fragment as qc,jsx as Xe,jsxs as tn}from"react/jsx-runtime";var ko=Uc(void 0),ga=({showGradientOverlay:e=!0,gradientOverlayColor:t="255, 255, 255",className:o,children:a})=>{let i=Wc(null),[n,s]=$c({left:!1,right:!1}),l=jc(()=>{let p=i.current;if(p){let{scrollLeft:c,scrollWidth:g,clientWidth:v}=p;s({left:c>0,right:c+v<g})}},[]);Gc(()=>{let p=i.current;if(p)return l(),window.addEventListener("resize",l),p.addEventListener("scroll",l),()=>{window.removeEventListener("resize",l),p.removeEventListener("scroll",l)}},[l]);let f=p=>{let c=i.current;if(c){let g=c.clientWidth*.7*(p==="left"?-1:1);c.scrollBy({left:g,behavior:"smooth"})}};return Xe(ko.Provider,{value:{scrollContainerRef:i,showArrows:n,scroll:f,gradientOverlayColor:t},children:tn("div",{className:r("relative w-full",o),children:[e&&tn(qc,{children:[n.left&&Xe("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient( to left, rgba(255, 255, 255, 0),rgb(${t}),rgb(${t}))`}}),n.right&&Xe("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient(to right, rgba(255, 255, 255, 0), rgb(${t}),rgb(${t}))`}})]}),a]})})},ua=({className:e,children:t})=>{let o=fa(ko);if(!o)throw new Error("HorizontalContent must be used within a HorizontalScroll");return Xe("div",{ref:o.scrollContainerRef,className:r("overflow-x-auto scrollbar-hide scroll-smooth",e),role:"region","aria-label":"Scrollable content",children:t})},va=({className:e,children:t,...o})=>{let a=fa(ko);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.left?Xe(ue,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute left-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("left"),"aria-label":"Scroll left",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||Xe(Qc,{className:"h-4 w-4"})}):null},ba=({className:e,children:t,...o})=>{let a=fa(ko);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.right?Xe(ue,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute right-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("right"),"aria-label":"Scroll right",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||Xe(Xc,{className:"h-4 w-4"})}):null};import xa from"html-react-parser";import{jsx as ct,jsxs as Zc}from"react/jsx-runtime";var $=({idSection:e,className:t,background:o,children:a})=>ct("section",{id:e,className:r("block-section py-8 md:py-10 lg:py-14",t),style:{background:o},children:ct("div",{className:"wrapper relative",children:a})}),P=({align:e="center",tagline:t,title:o,description:a,tagHeading:i="h2",colorScheme:n="pink",sizeHeading:s="small",className:l})=>{let f=n==="black"?"pink":n==="pink"?"regular":"white",p=n==="pink"?"pink":n==="white"?"white":"regular",c=n==="white"?"white":"regular";return Zc($o,{align:e,className:l,children:[t&&ct(Vo,{color:f,children:t}),o&&ct(Oo,{tagHeading:i,color:p,size:s,children:xa(o)}),a&&ct(Wo,{color:c,marginTop:s==="large"?"spacing2Xl":"spacingX",children:xa(a)})]})},C=({align:e,isFullInMobile:t=!1,buttons:o,className:a})=>o?.length===0?null:ct("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 ct(kt,{...l,className:r(t&&"w-full md:w-auto",i?.className),children:xa(s)},n)})});import on from"html-react-parser";import{Fragment as rn,jsx as fe,jsxs as ha}from"react/jsx-runtime";var an=({dataHeading:e,dataHowItWorks:t,dataButtons:o})=>ha(rn,{children:[e&&fe(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&fe("div",{className:"flex flex-row flex-wrap -mx-3.5 gap-y-5",children:t.slice(0,3).map((a,i)=>fe("div",{className:"basis-full md:basis-1/3 px-3.5",children:ha("div",{className:"px-6 md:px-4 lg:px-6 py-8 rounded-lg shadow-lg bg-white text-center border border-gray-100 h-full",children:[fe("div",{className:"w-9 h-9 bg-pink-500 rounded-full flex justify-center items-center text-white text-xl font-bold mx-auto",children:i+1}),ha("div",{className:"w-full mt-6",children:[fe("div",{className:"w-full font-semibold text-xl",children:on(a.title)}),a?.description&&fe("div",{className:"text-base mt-2 text-gray-600",children:on(a.description)})]})]})},i))}),o&&fe(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),Kc=({template:e,dataHeading:t,dataHowItWorks:o,dataButtons:a})=>{switch(e){case 1:return fe(an,{dataHeading:t,dataHowItWorks:o,dataButtons:a});default:return fe(an,{dataHeading:t,dataHowItWorks:o,dataButtons:a})}},Yc=({template:e,dataHeading:t,dataHowItWorks:o,dataButtons:a})=>fe(rn,{children:Kc({template:e,dataHeading:t,dataHowItWorks:o,dataButtons:a})}),Jc=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataHowItWorks:n,dataButtons:s})=>fe($,{className:o,idSection:a,background:t,children:fe(Yc,{template:e,dataHeading:i,dataHowItWorks:n,dataButtons:s})});import{forwardRef as sd}from"react";import{cva as ed}from"class-variance-authority";import nn from"html-react-parser";import{CheckIcon as td}from"lucide-react";import{Fragment as ad,jsx as _e,jsxs as jt}from"react/jsx-runtime";var od=ed("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}}),sn=({template:e,name:t,description:o,image:a,idx:i,value:n,suffix:s,unit:l})=>_e(ad,{children:(()=>{switch(e){case 1:case 3:return jt("li",{className:"flex items-center space-x-4",children:[a?_e("div",{className:"w-10 h-10 flex justify-center items-center shrink-0",children:_e("img",{src:a,alt:"",className:"max-w-full"})}):_e("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:_e(td,{className:"w-4 h-4 text-pink-500"})}),t&&_e("div",{className:"ml-2 leading-tight",children:nn(t)})]});case 2:return jt("div",{className:r("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-200 md:border-l md:odd:border-l md:odd:pr-0",i>0?"md:pl-4":"md:!border-0"),children:[n&&jt("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(s||l)&&jt("span",{children:[s," ",l]})]}),o&&_e("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:nn(o)})]});default:return null}})()}),So=({dataFeatures:e,template:t=1,dataStats:o})=>jt("ul",{className:r("",od({template:t})),children:[(t===1||t===3)&&e?.map((a,i)=>_e(sn,{name:a?.name,template:t,image:a?.image,idx:i},i)),t===2&&o?.map((a,i)=>_e(sn,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:t,description:a?.description,idx:i},i))]});import{Fragment as rd,jsx as Y,jsxs as ya}from"react/jsx-runtime";var ln=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,i)=>a/i):e,id=({src:e,ratio:t,className:o,youtubeId:a,onClickFC:i=()=>{}})=>ya(de,{className:r(""),ratio:ln(t),children:[Y("img",{src:e,className:r("w-full h-full object-cover md:block hidden",o,e?"":"bg-gray-200"),alt:""}),a&&Y("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:Y("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&&ya(et,{children:[Y(Lo,{onClick:i,children:Y("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:Y("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:ya("g",{fill:"none",fillRule:"evenodd",children:[Y("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),Y("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"})]})})})}),Y(ze,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:Y("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:""})})]})]}),Ut=({type:e=1,src:t,ratio:o,className:a,youtubeId:i,onClickFC:n=()=>{}})=>Y(rd,{children:i?Y(id,{type:e,src:t,ratio:o,youtubeId:i,onClickFC:n}):Y(de,{className:r(""),ratio:ln(o),children:Y("img",{src:t,className:r("w-full h-full object-cover",a,t?"":"bg-gray-200"),alt:""})})});import{Fragment as nd,jsx as W,jsxs as Qt}from"react/jsx-runtime";var wa=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,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(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className} mb-0 md:mb-0`}),W(So,{dataFeatures:o,template:a,dataStats:i}),t&&W(C,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),W("div",{className:"col-span-1 md:pl-10",children:s||W(Ut,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),mn=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,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 hidden md:block",children:s||W(Ut,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),Qt("div",{className:"col-span-1",children:[W(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:e?.className}),W(So,{dataFeatures:o,template:a,dataStats:i}),W("div",{className:"md:hidden mt-10",children:s||W(Ut,{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(C,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),cn=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>Qt(nd,{children:[W(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"center",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className||""} mb-0 md:mb-0`}),t&&W(C,{align:"center",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(So,{dataFeatures:o,template:a,dataStats:i}),s||W(Ut,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});import{Fragment as pd,jsx as dt}from"react/jsx-runtime";var ld=`var(
|
|
140
140
|
--gradient-pink-1,
|
|
141
141
|
linear-gradient(
|
|
142
142
|
38deg,
|
|
@@ -158,11 +158,11 @@ import*as Pt from"react";import*as re from"@radix-ui/react-accordion";import{Che
|
|
|
158
158
|
rgba(255, 255, 255, 0) 80%
|
|
159
159
|
),
|
|
160
160
|
#fff
|
|
161
|
-
)`,
|
|
161
|
+
)`,md=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})=>{switch(e){case 1:return dt(wa,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});case 2:return dt(mn,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});case 3:return dt(cn,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});default:return dt(wa,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s})}},cd=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})=>dt(pd,{children:md({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})}),dd=sd(({template:e=1,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,className:s,background:l,advancedComponent:f=null})=>dt($,{className:r(s),background:l??ld,children:dt(cd,{dataButtons:o,template:e,dataHeading:t,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:f})}));import{Fragment as Na,jsx as T,jsxs as pn}from"react/jsx-runtime";var dn=({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 pn(Na,{children:[e&&T(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.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 space-x-5 md:space-x-0 px-5 md:px-0":"flex-wrap justify-center"),children:t?.map((s,l)=>T("div",{className:r("flex justify-center items-center md:px-0 md:basis-auto",i?"snap-center shrink-0 basis-1/3":"basis-1/2 px-2.5"),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(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]})},fd=({dataHeading:e,dataBrands:t,dataButtons:o,isScrollSnap:a})=>pn(Na,{children:[e&&T(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.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 md:px-0 px-5 space-x-5 md:space-x-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 basis-5/12":""),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(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),gd=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>{switch(e){case 1:return T(dn,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n});case 2:return T(fd,{dataHeading:t,dataBrands:o,dataButtons:a,isScrollSnap:n});default:return T(dn,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}},ud=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>T(Na,{children:gd({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}),vd=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataBrands:n,dataButtons:s,spaceX:l="spacingXl",isScrollSnap:f})=>T($,{className:o,idSection:a,background:t,children:T(ud,{template:e,dataHeading:i,dataBrands:n,dataButtons:s,spaceX:l,isScrollSnap:f})});import z from"html-react-parser";import{ChevronRightIcon as bd}from"@heroicons/react/16/solid";import{Fragment as qe,jsx as m,jsxs as u}from"react/jsx-runtime";var Re=({btnLink:e,btnName:t,newTab:o})=>m(Be,{variant:"primary",asChild:!0,children:u("a",{href:e,target:o?"_blank":"_self",rel:"noreferrer",children:[t||"Xem chi ti\u1EBFt",m(bd,{className:"w-4 h-4"})]})}),Pa=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full mt-4 flex-1",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),fn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"}),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
|
-
`})]}),mn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full mt-4 flex-1",children:[u("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(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),cn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[u("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:"left",colorScheme:e?.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"})]}),u("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)=>u("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"})}),u("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[u("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(Ce,{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:"center"})]})]}),dn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[u("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(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),pn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[u("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 text-sm",children:_(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),fn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full 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 text-sm",children:_(a.description)}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),gn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.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)=>u("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[u("div",{className:"w-full flex flex-1 flex-col p-5",children:[u("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(Ce,{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:"center"})]}),un=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:a})=>u("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:u("div",{className:"w-full",children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[u("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(Ce,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,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(de,{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"})})})})]}),vn=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:a})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),m("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&u("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)=>u("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"})}),u("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[u("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",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n)),o&&u("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:"center"})]});import{Fragment as gd,jsx as J}from"react/jsx-runtime";var dd=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>{switch(e){case 1:return J(wa,{dataHeading:t,dataFeatures:o,dataButtons:a});case 2:return J(ln,{dataHeading:t,dataFeatures:o,dataButtons:a});case 3:return J(mn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 4:return J(cn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 5:return J(dn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 6:return J(pn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 7:return J(fn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 8:return J(gn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 9:return J(un,{dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i});case 10:return J(vn,{dataHeading:t,dataFeatures:o,dataBanner:i,dataButtons:a});default:return J(wa,{dataHeading:t,dataFeatures:o,dataButtons:a})}},pd=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>J(gd,{children:dd({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})}),fd=({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(pd,{template:e,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})});import Na from"html-react-parser";import{StarIcon as ud}from"@heroicons/react/24/solid";import{Fragment as hn,jsx as I,jsxs as ct}from"react/jsx-runtime";var bn=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:a})=>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===a?"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:Na(e.position)})]})]}),ct("div",{className:"mt-3",children:[e?.shortTitle&&I("div",{className:"text-sm font-bold text-gray-700",children:Na(e.shortTitle)}),e?.description&&I("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:Na(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},(i,n)=>I(ud,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),xn=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>{let a=t?.length??0,i=a>3;return ct(hn,{children:[e&&I(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"pink",sizeHeading:e.sizeHeading,className:e.className}),a>0&&I("div",{className:r("testimonials-mobase scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",i&&"run-animation"),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((n,s)=>I(bn,{testimonial:n,index:s,itemCount:a},`main-${s}`)),i&&t?.map((n,s)=>I(bn,{testimonial:n,isHiddenOnMobile:!0},`duplicate-${s}`))]})}),o&&I(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"}),i&&I("style",{children:`
|
|
165
|
+
`})]}),gn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full mt-4 flex-1",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),un=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[u("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:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r("lg:mb-0",e?.className)}),o&&m(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`hidden lg:flex ${o?.className}`,align:"left"})]}),u("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)=>u("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"})}),u("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`flex lg:hidden ${o?.className}`,align:"center"})]})]}),vn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),bn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&m("div",{className:"text-gray-500 mt-2 text-sm",children:z(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),xn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&m("div",{className:"text-gray-500 mt-2 text-sm",children:z(a.description)}),a?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),hn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.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)=>u("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[u("div",{className:"w-full flex flex-1 flex-col p-5",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:z(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:z(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Re,{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(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),yn=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:a})=>u("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:u("div",{className:"w-full",children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.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)=>u("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"})}),u("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:z(i.name)}),i?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:z(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n))}),o&&m(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,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(de,{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"})})})})]}),wn=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:a})=>u(qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),m("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&u("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)=>u("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"})}),u("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:z(i.name)}),i?.description&&m("div",{className:"text-gray-500 mt-2",children:z(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Re,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n)),o&&u("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(C,{isFullInMobile:a?.isFullInMobile,buttons:a?.buttons,className:a?.className,align:"center"})]});import{Fragment as wd,jsx as J}from"react/jsx-runtime";var xd=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>{switch(e){case 1:return J(Pa,{dataHeading:t,dataFeatures:o,dataButtons:a});case 2:return J(fn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 3:return J(gn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 4:return J(un,{dataHeading:t,dataFeatures:o,dataButtons:a});case 5:return J(vn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 6:return J(bn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 7:return J(xn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 8:return J(hn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 9:return J(yn,{dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i});case 10:return J(wn,{dataHeading:t,dataFeatures:o,dataBanner:i,dataButtons:a});default:return J(Pa,{dataHeading:t,dataFeatures:o,dataButtons:a})}},hd=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>J(wd,{children:xd({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})}),yd=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})=>J($,{className:o,idSection:a,background:t,children:J(hd,{template:e,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})});import Ca from"html-react-parser";import{StarIcon as Nd}from"@heroicons/react/24/solid";import{Fragment as Cn,jsx as I,jsxs as pt}from"react/jsx-runtime";var Nn=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:a})=>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===a?"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:pt("div",{className:"testimonial-item-width",children:[pt("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})}),pt("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:Ca(e.position)})]})]}),pt("div",{className:"mt-3",children:[e?.shortTitle&&I("div",{className:"text-sm font-bold text-gray-700",children:Ca(e.shortTitle)}),e?.description&&I("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:Ca(e.description)})]}),pt("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},(i,n)=>I(Nd,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),Pn=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>{let a=t?.length??0,i=a>3;return pt(Cn,{children:[e&&I(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"pink",sizeHeading:e.sizeHeading,className:e.className}),a>0&&I("div",{className:r("testimonials-mobase scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",i&&"run-animation"),children:pt("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((n,s)=>I(Nn,{testimonial:n,index:s,itemCount:a},`main-${s}`)),i&&t?.map((n,s)=>I(Nn,{testimonial:n,isHiddenOnMobile:!0},`duplicate-${s}`))]})}),o&&I(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"}),i&&I("style",{children:`
|
|
166
166
|
@media screen and (min-width: 640px) {
|
|
167
167
|
.testimonials-mobase.run-animation {
|
|
168
168
|
--items-count: ${a};
|
|
@@ -186,7 +186,7 @@ import*as Pt from"react";import*as re from"@radix-ui/react-accordion";import{Che
|
|
|
186
186
|
transform: translateX(calc(${a===4?"-476px":"-386px"} * var(--items-count)));
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
`})]})},vd=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>{switch(e){case 1:return I(xn,{dataHeading:t,dataTestimonials:o,dataButtons:a});default:return I(xn,{dataHeading:t,dataTestimonials:o,dataButtons:a})}},bd=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>I(hn,{children:vd({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})}),xd=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataTestimonials:n,dataButtons:s})=>I(Y,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:a,background:t,children:I(bd,{template:e,dataHeading:i,dataTestimonials:n,dataButtons:s})});import hd,{memo as yn}from"react";import wn from"html-react-parser";import{jsx as fe,jsxs as Ut}from"react/jsx-runtime";var Pa=yn(({dataFAQ:e,dataHeading:t})=>Ut("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[t&&fe(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading||"h2",align:"left",colorScheme:t?.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&&fe("div",{className:"col-span-2",children:e[0]?.contents.map((o,a)=>fe(Xe,{type:"single",collapsible:!0,className:"w-full",children:Ut(qe,{value:o.title,children:[fe(Ze,{className:"font-bold",children:o.title}),fe(Ke,{children:wn(o.description)})]})},o.title+a))})]})),Nn=yn(({dataFAQ:e,dataHeading:t})=>Ut(hd.Fragment,{children:[t&&fe(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading,align:"center",colorScheme:t?.colorScheme||"pink",sizeHeading:t?.sizeHeading,className:r(t?.className)}),e&&Ut(It,{defaultValue:e[0]?.title,children:[fe(gt,{className:"flex items-center sm:justify-center",children:e.map((o,a)=>fe(ut,{value:o.title,children:o.title},o.title+a))}),e.map((o,a)=>fe(vt,{className:"max-w-3xl mx-auto",value:o.title,children:o.contents.map((i,n)=>fe(Xe,{type:"single",collapsible:!0,className:"w-full",children:Ut(qe,{value:i.title,children:[fe(Ze,{className:"font-bold",children:i.title}),fe(Ke,{children:wn(i.description)})]})},i.title+n))},o.title+a))]})]}));import{Fragment as Pd,jsx as wt}from"react/jsx-runtime";var yd=({template:e,dataFAQ:t,dataHeading:o})=>{switch(e){case 1:return wt(Pa,{dataFAQ:t,dataHeading:o});case 2:return wt(Nn,{dataFAQ:t,dataHeading:o});default:return wt(Pa,{dataFAQ:t,dataHeading:o})}},wd=({dataHeading:e,dataFAQ:t,template:o})=>wt(Pd,{children:yd({dataHeading:e,dataFAQ:t,template:o})}),Nd=({dataHeading:e,dataFAQ:t=[],className:o="",background:a=""})=>{let i=t&&t?.length>1?2:1;return wt(Y,{className:r(o),background:a,children:wt(wd,{dataHeading:e,dataFAQ:t,template:i})})};import Cd,{memo as Rd}from"react";import Pn from"html-react-parser";import{Fragment as Cn,jsx as z,jsxs as Re}from"react/jsx-runtime";var Td=({news:e})=>{let t=(o,a)=>{o?.preventDefault(),o?.stopPropagation(),window.open(a,"_blank")};return Re(Cn,{children:[z("div",{className:"rounded-md md:rounded-none aspect-1 md:aspect-[77/37] relative overflow-hidden block bg-gray-100",children:Re("picture",{children:[z("source",{media:"(min-width: 640px)",srcSet:e?.thumbnailDesktop}),z("img",{className:"object-cover w-full h-full",src:e?.thumbnailMobile,alt:e?.title})]})}),Re("div",{className:"flex flex-col flex-1 mt-3 md:mt-0 md:p-3",children:[z("div",{className:"text-gray-900 font-medium text-sm group-hover:text-pink-500 flex-1 line-clamp-2 md:line-clamp-none",children:e?.title}),Re("div",{className:"flex items-center space-x-1 mt-2",children:[e?.category&&e?.categoryUrl&&Re(Cn,{children:[z(ze,{variant:"primary",className:"text-xs",onClick:o=>t(o,e?.categoryUrl||""),children:e?.category}),z("span",{className:"flex-none",children:"\xB7"})]}),z("div",{className:"text-gray-500 text-xs flex-none",children:e?.dateTime})]})]})]})},Ca=Rd(({dataHeading:e,dataHorizontalScroll:t,dataNews:o,onClickModal:a,onClickLoadMore:i})=>{let{showGradientOverlay:n=!0,gradientOverlayColor:s,className:l}=t||{},f=(c,g,v)=>{c?.preventDefault(),c?.stopPropagation(),a?a(g):window.open(v,"_blank")},p=(c,g)=>Re("div",{children:[z("div",{className:r("flex flex-row flex-wrap -mx-2 gap-y-5",c?.newsList?.length<4?"justify-center":""),children:c?.newsList?.map((v,S)=>z("div",{className:"px-2 basis-1/2 lg:basis-1/4",children:z("div",{onClick:E=>f(E,v?.id,v?.url),className:r("cursor-pointer group flex flex-col md:h-full md:rounded-md overflow-hidden md:shadow-md md:bg-white",c?.classNameItem),children:z(Td,{news:v})},v?.id)},S))}),c?.isShowBtn&&z("div",{className:"w-full flex items-center justify-center mt-8",children:Re(Rt,{action:i?()=>i?.(g):c?.btnUrl,newTab:c?.isNewTab,variant:"outline",children:[Pn(c.btnName||"Xem th\xEAm"),c?.isloading?z(Xt,{className:"animate-spin-loading ml-2 w-5 h-5"}):Pn(c?.btnIcon||"")]})})]},c?.title||g);return Re(Cd.Fragment,{children:[e&&z(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),o?.length>1?Re(It,{defaultValue:o[0]?.title,children:[Re(fa,{showGradientOverlay:n,gradientOverlayColor:s,className:l,children:[z(ga,{className:"mb-6",children:z(gt,{className:"flex items-center md:justify-center mb-6 overflow-visible w-auto mb-0",children:o.map((c,g)=>z(ut,{value:c.title,children:c.title},c.title+g))})}),z(ua,{}),z(va,{})]}),o.map((c,g)=>z(vt,{value:c.title,children:p(c,g)},c.title+g))]}):o?.length===1&&o[0]&&p(o[0],0)]})});import{Fragment as Md,jsx as Qt}from"react/jsx-runtime";var kd=({template:e,dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n})=>{switch(e){case 1:return Qt(Ca,{dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n});default:return Qt(Ca,{dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n})}},Sd=({dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:a,onClickModal:i,onClickLoadMore:n})=>Qt(Md,{children:kd({dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:a,onClickModal:i,onClickLoadMore:n})}),Dd=({dataHeading:e,dataHorizontalScroll:t,dataNews:o=[],className:a,background:i,template:n=1,onClickModal:s,onClickLoadMore:l})=>Qt(Y,{className:r(a),background:i,children:Qt(Sd,{dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:n,onClickModal:s,onClickLoadMore:l})});import{Fragment as Hd,jsx as ie,jsxs as Ra}from"react/jsx-runtime";var Rn=({dataHeading:e,dataCTA:t,dataButtons:o})=>Ra("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&&ie(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"black",sizeHeading:e.sizeHeading,className:e.className}),o&&ie(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"center"})]}),Id=({dataHeading:e,dataCTA:t,dataButtons:o,dataMedia:a})=>Ra("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:[Ra("div",{className:"md:py-14 flex flex-col justify-center",children:[e&&ie(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"left",colorScheme:e.colorScheme||"white",sizeHeading:e.sizeHeading,className:e.className}),o&&ie(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"left"})]}),ie("div",{className:" max-w-sm mx-auto md:ml-auto md:mr-0 w-full md:pt-10 self-end",children:a&&ie(de,{ratio:4/3,children:ie("img",{src:a.src,alt:a.alt,className:"h-full w-full rounded-md object-contain"})})})]}),Ad=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>{switch(e){case 1:return ie(Rn,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});case 2:return ie(Id,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});default:return ie(Rn,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}},Ld=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>ie(Hd,{children:Ad({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}),Ed=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:l})=>ie(Y,{className:o,idSection:a,background:t,children:ie(Ld,{template:e,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:l})});import zd from"color";import Bd from"tailwindcss/plugin.js";var Te="250ms",Tn={".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 kn={".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 Sn={".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 Dn={...kn,...Tn,...Sn};import{flatten as Fd}from"flat";function _d(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 Mn=e=>_d(Fd(e,{safe:!0,delimiter:"-"}));var In={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var An={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var Ln={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var En={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Hn={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Fn={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var _n={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var zn={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Bn={white:"#ffffff",black:"#000000",blue:In,green:An,pink:Ln,purple:En,red:Hn,yellow:Fn,gray:zn,orange:_n};var Ta={...Bn};var Vn={"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 On={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 Vd=e=>{let t={utilities:{},colors:{}},o=Mn(Ta),a=Vn,i=":root";return t.utilities[i]={},Object.entries(o).forEach(([n,s])=>{if(s)try{let[l,f,p]=zd(s).rgb().array(),c=`--${e}-${n}`;t.utilities[i][c]=`${l} ${f} ${p}`,t.colors[n]=`rgb(var(${c}) / <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(([f,p])=>{let c=`${l}-${f}`;t.utilities[i][c]=p});else{let f=l.includes("opacity")&&typeof s=="number"?s?.toString().replace(/^0\./,"."):s;t.utilities[i][l]=f}}),t},Od=()=>{let e="mobase",t=Vd(e);return Bd(({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({...Dn})},{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:{...Ta,...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)`},...On}}})};import{Fragment as Gd,jsx as N,jsxs as $d}from"react/jsx-runtime";var Wd=$d(Gd,{children:[N("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"}),N("meta",{name:"distribution",content:"Global"}),N("meta",{name:"author",content:"V\xED MoMo"}),N("meta",{property:"fb:app_id",content:"320653355376196"}),N("meta",{property:"fb:pages",content:"138010322921640"}),N("link",{rel:"shortcut icon",href:"/favicon.ico"}),N("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),N("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),N("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),N("meta",{name:"language",content:"vietnamese"}),N("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),N("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),N("meta",{name:"RATING",content:"GENERAL"}),N("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),N("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),N("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),N("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),N("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),N("link",{rel:"dns-prefetch",href:"//facebook.com"}),N("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),N("link",{rel:"dns-prefetch",href:"//www.google.com"}),N("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),N("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),N("link",{rel:"preconnect",href:"//connect.facebook.net"}),N("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),N("link",{rel:"preconnect",href:"//www.google-analytics.com"}),N("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),N("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),N("link",{rel:"preconnect",href:"//www.google.com"}),N("link",{rel:"preconnect",href:"//www.google.com.vn"}),N("link",{rel:"preconnect",href:"//www.googleadservices.com"}),N("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
|
|
189
|
+
`})]})},Pd=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>{switch(e){case 1:return I(Pn,{dataHeading:t,dataTestimonials:o,dataButtons:a});default:return I(Pn,{dataHeading:t,dataTestimonials:o,dataButtons:a})}},Cd=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>I(Cn,{children:Pd({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})}),Rd=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataTestimonials:n,dataButtons:s})=>I($,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:a,background:t,children:I(Cd,{template:e,dataHeading:i,dataTestimonials:n,dataButtons:s})});import Td,{memo as Rn}from"react";import Tn from"html-react-parser";import{jsx as ge,jsxs as Xt}from"react/jsx-runtime";var Ra=Rn(({dataFAQ:e,dataHeading:t})=>Xt("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[t&&ge(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading||"h2",align:"left",colorScheme:t?.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,a)=>ge(Ze,{type:"single",collapsible:!0,className:"w-full",children:Xt(Ke,{value:o.title,children:[ge(Ye,{className:"font-bold",children:o.title}),ge(Je,{children:Tn(o.description)})]})},o.title+a))})]})),kn=Rn(({dataFAQ:e,dataHeading:t})=>Xt(Td.Fragment,{children:[t&&ge(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading,align:"center",colorScheme:t?.colorScheme||"pink",sizeHeading:t?.sizeHeading,className:r(t?.className)}),e&&Xt(Lt,{defaultValue:e[0]?.title,children:[ge(vt,{className:"flex items-center sm:justify-center",children:e.map((o,a)=>ge(bt,{value:o.title,children:o.title},o.title+a))}),e.map((o,a)=>ge(xt,{className:"max-w-3xl mx-auto",value:o.title,children:o.contents.map((i,n)=>ge(Ze,{type:"single",collapsible:!0,className:"w-full",children:Xt(Ke,{value:i.title,children:[ge(Ye,{className:"font-bold",children:i.title}),ge(Je,{children:Tn(i.description)})]})},i.title+n))},o.title+a))]})]}));import{Fragment as Md,jsx as Pt}from"react/jsx-runtime";var kd=({template:e,dataFAQ:t,dataHeading:o})=>{switch(e){case 1:return Pt(Ra,{dataFAQ:t,dataHeading:o});case 2:return Pt(kn,{dataFAQ:t,dataHeading:o});default:return Pt(Ra,{dataFAQ:t,dataHeading:o})}},Sd=({dataHeading:e,dataFAQ:t,template:o})=>Pt(Md,{children:kd({dataHeading:e,dataFAQ:t,template:o})}),Dd=({dataHeading:e,dataFAQ:t=[],className:o="",background:a=""})=>{let i=t&&t?.length>1?2:1;return Pt($,{className:r(o),background:a,children:Pt(Sd,{dataHeading:e,dataFAQ:t,template:i})})};import Id,{memo as Ad}from"react";import Ld from"html-react-parser";import{ArrowDownIcon as Ed}from"@heroicons/react/20/solid";import{Fragment as Sn,jsx as E,jsxs as Te}from"react/jsx-runtime";var Hd=({news:e})=>{let t=(o,a)=>{o?.preventDefault(),o?.stopPropagation(),window.open(a,"_blank")};return Te(Sn,{children:[E("div",{className:"rounded-md md:rounded-none aspect-[1/1] md:aspect-[77/37] relative overflow-hidden block bg-gray-100",children:Te("picture",{children:[E("source",{media:"(min-width: 640px)",srcSet:e?.thumbnailDesktop}),E("img",{className:"object-cover w-full h-full",src:e?.thumbnailMobile,alt:e?.title})]})}),Te("div",{className:"flex flex-col flex-1 mt-3 md:mt-0 md:p-3",children:[E("div",{className:"text-gray-900 font-medium text-sm group-hover:text-pink-500 flex-1 line-clamp-2 md:line-clamp-none",children:e?.title}),Te("div",{className:"flex items-center space-x-1 mt-2",children:[e?.category&&e?.categoryUrl&&Te(Sn,{children:[E(Be,{variant:"primary",className:"text-xs",onClick:o=>t(o,e?.categoryUrl||""),children:e?.category}),E("span",{className:"flex-none",children:"\xB7"})]}),E("div",{className:"text-gray-500 text-xs flex-none",children:e?.dateTime})]})]})]})},Ta=Ad(({dataHeading:e,dataHorizontalScroll:t,dataNews:o,onClickModal:a,onClickLoadMore:i})=>{let{showGradientOverlay:n=!0,gradientOverlayColor:s,className:l}=t||{},f=(c,g,v)=>{c?.preventDefault(),c?.stopPropagation(),a?a(g):window.open(v,"_blank")},p=(c,g)=>Te("div",{children:[E("div",{className:r("flex flex-row flex-wrap -mx-2 gap-y-5",c?.newsList?.length<4?"justify-center":""),children:c?.newsList?.map((v,S)=>E("div",{className:"px-2 basis-1/2 lg:basis-1/4",children:E("div",{onClick:H=>f(H,v?.id,v?.url),className:r("cursor-pointer group flex flex-col md:h-full md:rounded-md overflow-hidden md:shadow-md md:bg-white",c?.classNameItem),children:E(Hd,{news:v})})},S))}),c?.isShowBtn&&E("div",{className:"w-full flex items-center justify-center mt-8",children:Te(kt,{action:c?.btnUrl||i&&(()=>i?.(g)),newTab:c?.isNewTab,variant:"outline",disabled:c?.isLoading,children:[Ld(c.btnName||"Xem th\xEAm"),c?.isLoading?E(Zt,{className:"animate-spin-loading ml-2 w-5 h-5"}):i&&!c?.btnUrl&&E(Ed,{className:"w-5 h-5 animate-bounce ml-2 -mb-1"})]})})]},c?.title||g);return Te(Id.Fragment,{children:[e&&E(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),o?.length>1?Te(Lt,{defaultValue:o[0]?.title,children:[Te(ga,{showGradientOverlay:n,gradientOverlayColor:s,className:l,children:[E(ua,{className:"mb-6 text-center",children:E(vt,{className:"inline-flex mx-auto items-center mb-6 overflow-visible w-auto mb-0",children:o.map((c,g)=>E(bt,{value:c.title,children:c.title},c.title+g))})}),E(va,{}),E(ba,{})]}),o.map((c,g)=>E(xt,{value:c.title,children:p(c,g)},c.title+g))]}):o?.length===1&&o[0]&&p(o[0],0)]})});import{Fragment as Bd,jsx as qt}from"react/jsx-runtime";var Fd=({template:e,dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n})=>{switch(e){case 1:return qt(Ta,{dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n});default:return qt(Ta,{dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n})}},_d=({dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:a,onClickModal:i,onClickLoadMore:n})=>qt(Bd,{children:Fd({dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:a,onClickModal:i,onClickLoadMore:n})}),zd=({dataHeading:e,dataHorizontalScroll:t,dataNews:o=[],className:a,background:i,template:n=1,onClickModal:s,onClickLoadMore:l})=>qt($,{className:r(a),background:i,children:qt(_d,{dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:n,onClickModal:s,onClickLoadMore:l})});import{Fragment as Gd,jsx as ie,jsxs as ka}from"react/jsx-runtime";var Dn=({dataHeading:e,dataCTA:t,dataButtons:o})=>ka("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&&ie(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"black",sizeHeading:e.sizeHeading,className:e.className}),o&&ie(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"center"})]}),Vd=({dataHeading:e,dataCTA:t,dataButtons:o,dataMedia:a})=>ka("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:[ka("div",{className:"md:py-14 flex flex-col justify-center",children:[e&&ie(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"left",colorScheme:e.colorScheme||"white",sizeHeading:e.sizeHeading,className:e.className}),o&&ie(C,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"left"})]}),ie("div",{className:" max-w-sm mx-auto md:ml-auto md:mr-0 w-full md:pt-10 self-end",children:a&&ie(de,{ratio:4/3,children:ie("img",{src:a.src,alt:a.alt,className:"h-full w-full rounded-md object-contain"})})})]}),Od=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>{switch(e){case 1:return ie(Dn,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});case 2:return ie(Vd,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});default:return ie(Dn,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}},Wd=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>ie(Gd,{children:Od({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}),$d=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:l})=>ie($,{className:o,idSection:a,background:t,children:ie(Wd,{template:e,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:l})});import Qd from"color";import Xd from"tailwindcss/plugin.js";var ke="250ms",Mn={".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":ke},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":ke},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":ke},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":ke},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":ke},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":ke},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":ke},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":ke},".transition-transform-colors":{"transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":ke},".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":ke}};var In={".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 An={".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 Ln={...In,...Mn,...An};import{flatten as jd}from"flat";function Ud(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 En=e=>Ud(jd(e,{safe:!0,delimiter:"-"}));var Hn={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var Fn={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var _n={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var zn={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Bn={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Vn={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var On={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var Wn={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var $n={white:"#ffffff",black:"#000000",blue:Hn,green:Fn,pink:_n,purple:zn,red:Bn,yellow:Vn,gray:Wn,orange:On};var Sa={...$n};var Gn={"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 jn={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 qd=e=>{let t={utilities:{},colors:{}},o=En(Sa),a=Gn,i=":root";return t.utilities[i]={},Object.entries(o).forEach(([n,s])=>{if(s)try{let[l,f,p]=Qd(s).rgb().array(),c=`--${e}-${n}`;t.utilities[i][c]=`${l} ${f} ${p}`,t.colors[n]=`rgb(var(${c}) / <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(([f,p])=>{let c=`${l}-${f}`;t.utilities[i][c]=p});else{let f=l.includes("opacity")&&typeof s=="number"?s?.toString().replace(/^0\./,"."):s;t.utilities[i][l]=f}}),t},Zd=()=>{let e="mobase",t=qd(e);return Xd(({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({...Ln})},{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:{...Sa,...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)`},...jn}}})};import{Fragment as Yd,jsx as N,jsxs as Jd}from"react/jsx-runtime";var Kd=Jd(Yd,{children:[N("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"}),N("meta",{name:"distribution",content:"Global"}),N("meta",{name:"author",content:"V\xED MoMo"}),N("meta",{property:"fb:app_id",content:"320653355376196"}),N("meta",{property:"fb:pages",content:"138010322921640"}),N("link",{rel:"shortcut icon",href:"/favicon.ico"}),N("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),N("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),N("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),N("meta",{name:"language",content:"vietnamese"}),N("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),N("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),N("meta",{name:"RATING",content:"GENERAL"}),N("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),N("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),N("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),N("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),N("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),N("link",{rel:"dns-prefetch",href:"//facebook.com"}),N("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),N("link",{rel:"dns-prefetch",href:"//www.google.com"}),N("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),N("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),N("link",{rel:"preconnect",href:"//connect.facebook.net"}),N("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),N("link",{rel:"preconnect",href:"//www.google-analytics.com"}),N("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),N("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),N("link",{rel:"preconnect",href:"//www.google.com"}),N("link",{rel:"preconnect",href:"//www.google.com.vn"}),N("link",{rel:"preconnect",href:"//www.googleadservices.com"}),N("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
|
|
190
190
|
"@context": "https://schema.org/",
|
|
191
191
|
"@type": "WebSite",
|
|
192
192
|
"@id":"https://www.momo.vn/#website",
|
|
@@ -231,5 +231,5 @@ import*as Pt from"react";import*as re from"@radix-ui/react-accordion";import{Che
|
|
|
231
231
|
"https://www.linkedin.com/company/momo-mservice/",
|
|
232
232
|
"https://github.com/momo-wallet"
|
|
233
233
|
]
|
|
234
|
-
}`}})]});export{
|
|
234
|
+
}`}})]});export{Ze as Accordion,Je as AccordionContent,Ke as AccordionItem,Ye as AccordionTrigger,kt as ActionButton,Gs as AlertDialog,ri as AlertDialogAction,ni as AlertDialogCancel,ei as AlertDialogContent,ii as AlertDialogDescription,oi as AlertDialogFooter,ti as AlertDialogHeader,zo as AlertDialogOverlay,Ja as AlertDialogPortal,ai as AlertDialogTitle,js as AlertDialogTrigger,de as AspectRatio,Um as Badge,za as Breadcrumb,Ga as BreadcrumbEllipsis,Va as BreadcrumbItem,Oa as BreadcrumbLink,Ba as BreadcrumbList,Wa as BreadcrumbPage,$a as BreadcrumbSeparator,se as Button,$d as CTASection,to as Calendar,Mm as Callout,Qi as Card,Ki as CardContent,Zi as CardDescription,Yi as CardFooter,Xi as CardHeader,qi as CardTitle,ao as Carousel,io as CarouselContent,ro as CarouselItem,so as CarouselNext,no as CarouselPrevious,Jt as Checkbox,br as ChoiceboxGroup,xr as ChoiceboxGroupItem,hr as ChoiceboxMultiItem,Rm as Combobox,Cm as ComboboxContent,Pm as ComboboxTrigger,na as Command,ym as CommandDialog,tr as CommandEmpty,or as CommandGroup,Ji as CommandInput,ir as CommandItem,er as CommandList,ar as CommandSeparator,rr as CommandShortcut,gc as Comment,$s as DatePicker,et as Dialog,Kt as DialogBody,is as DialogClose,ze as DialogContent,Fa as DialogDescription,Ea as DialogFooter,La as DialogHeader,Eo as DialogOverlay,Aa as DialogPortal,tt as DialogQr,Ha as DialogTitle,Lo as DialogTrigger,Fc as DropdownMenu,Zr as DropdownMenuCheckboxItem,Xr as DropdownMenuContent,zc as DropdownMenuGroup,qr as DropdownMenuItem,Yr as DropdownMenuLabel,Bc as DropdownMenuPortal,Oc as DropdownMenuRadioGroup,Kr as DropdownMenuRadioItem,Jr as DropdownMenuSeparator,en as DropdownMenuShortcut,Vc as DropdownMenuSub,Qr as DropdownMenuSubContent,Ur as DropdownMenuSubTrigger,_c as DropdownMenuTrigger,Dd as FAQSection,yd as FeatureSection,bm as Footer,Ac as Form,$r as FormControl,Gr as FormDescription,Lc as FormField,Or as FormItem,Wr as FormLabel,jr as FormMessage,$i as HeaderNavigation,Oo as Heading,$o as HeadingGroup,Wo as HeadingSub,Vo as HeadingTagline,dd as HeroSection,ua as HorizontalContent,ba as HorizontalNext,va as HorizontalPrevious,ga as HorizontalScroll,Jc as HowItWorksSection,ue as IconButton,ca as LightBoxGalleryContent,ma as LightboxGallery,Om as LightboxThumbnail,uo as NavigationMenu,yo as NavigationMenuContent,bo as NavigationMenuItem,_t as NavigationMenuLink,vo as NavigationMenuList,ho as NavigationMenuTrigger,zd as NewsSection,mi as Pagination,Dt as Popover,ut as PopoverContent,Mt as PopoverTrigger,Cc as ProgressSteps,Pc as ProgressStepsItem,Nc as ProgressStepsItemTrigger,Rr as Progressbar,Li as RadioGroup,Ei as RadioGroupItem,da as ReadMoreLite,_m as SearchBar,El as Select,Ci as SelectContent,Fl as SelectGroup,_l as SelectItem,Ri as SelectLabel,ia as SelectScrollDownButton,aa as SelectScrollUpButton,Ti as SelectSeparator,Pi as SelectTrigger,Hl as SelectValue,Kd as SiteMeta,Zm as Skeleton,kr as Slider,vd as SocialProofSection,wi as Stepper,Mi as Switch,Lt as Tabs,xt as TabsContent,vt as TabsList,bt as TabsTrigger,Rd as TestimonialSection,el as TextArea,Be as TextButton,Rl as TextInput,ui as ToastAction,dl as Toaster,vl as Tooltip,xi as TooltipArrow,hi as TooltipContent,ul as TooltipProvider,bl as TooltipTrigger,wr as badgeVariants,he as buttonVariants,Zd as mobaseTW,xo as navigationMenuTriggerStyle,bi as textButtonVariants,pi as toast,$t as useFormField,Qo as useToast};
|
|
235
235
|
//# sourceMappingURL=index.js.map
|